@synergy-design-system/components 2.45.1 → 2.46.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.HIJUMXP4.js → chunk.23VRSHVV.js} +6 -6
- package/dist/chunks/{chunk.XYTP4HII.js → chunk.24SRZBBX.js} +6 -6
- package/dist/chunks/{chunk.H7FTAZDC.js → chunk.2BPIJI67.js} +2 -2
- package/dist/chunks/{chunk.GBHDS2IR.js → chunk.2MMV32NH.js} +2 -2
- package/dist/chunks/{chunk.VN2PSQ4U.js → chunk.2NIFD3YE.js} +7 -6
- package/dist/chunks/chunk.2NIFD3YE.js.map +7 -0
- package/dist/chunks/{chunk.BHRS27UA.js → chunk.32OFRTVL.js} +2 -2
- package/dist/chunks/{chunk.ZC3WZ4HD.js → chunk.3CIWKBTC.js} +7 -7
- package/dist/chunks/{chunk.P7ET37O6.js → chunk.3D5JYV3S.js} +2 -2
- package/dist/chunks/{chunk.PBYEKOOF.js → chunk.4ONQSQWY.js} +2 -2
- package/dist/chunks/{chunk.PHIRFXRF.js → chunk.4RDGXLUO.js} +6 -6
- package/dist/chunks/{chunk.FA6V2WD6.js → chunk.57RV2JXO.js} +1 -4
- package/dist/chunks/chunk.57RV2JXO.js.map +7 -0
- package/dist/chunks/{chunk.WQ5WXIL6.js → chunk.5C44JOXD.js} +17 -9
- package/dist/chunks/chunk.5C44JOXD.js.map +7 -0
- package/dist/chunks/{chunk.5MJ6U3ZD.js → chunk.63CI7YLN.js} +2 -2
- package/dist/chunks/{chunk.C6UWNTFC.js → chunk.6C2VOQNT.js} +2 -2
- package/dist/chunks/{chunk.JLARVA4R.js → chunk.6GVMJEC4.js} +2 -2
- package/dist/chunks/{chunk.JUON2HSD.js → chunk.6I6HQGH4.js} +2 -2
- package/dist/chunks/{chunk.QLUFRXHK.js → chunk.6MR7BVV5.js} +8 -8
- package/dist/chunks/{chunk.GMYIVXWP.js → chunk.A2B7C3N2.js} +2 -2
- package/dist/chunks/{chunk.7FW3LXOS.js → chunk.A4HL3BIH.js} +12 -12
- package/dist/chunks/{chunk.TTKLTIKP.js → chunk.BWSRCH7T.js} +2 -2
- package/dist/chunks/{chunk.4E6YKCXO.js → chunk.CNXJ4AUG.js} +6 -6
- package/dist/chunks/{chunk.KDYONRAA.js → chunk.CZ7FEHUZ.js} +2 -2
- package/dist/chunks/{chunk.KX43XLOR.js → chunk.DFK2PRNS.js} +2 -2
- package/dist/chunks/chunk.DFK2PRNS.js.map +7 -0
- package/dist/chunks/{chunk.MJSQXS35.js → chunk.DVZP7JU3.js} +5 -5
- package/dist/chunks/{chunk.NJXXQYZX.js → chunk.E5U2FHTA.js} +2 -2
- package/dist/chunks/{chunk.F6QEUBK3.js → chunk.EGURWFSB.js} +3 -3
- package/dist/chunks/{chunk.C6TYP6DS.js → chunk.EIZLOSHH.js} +2 -2
- package/dist/chunks/{chunk.J4AQWKAH.js → chunk.EPSBD2E6.js} +2 -2
- package/dist/chunks/{chunk.6WGVJKL6.js → chunk.FDLAEOEF.js} +2 -2
- package/dist/chunks/{chunk.ME6NYHXY.js → chunk.FWBTDW6R.js} +2 -2
- package/dist/chunks/{chunk.TVIGWT6Z.js → chunk.FWTCHF66.js} +2 -2
- package/dist/chunks/{chunk.UUOIHYGE.js → chunk.FYREWFTF.js} +3 -3
- package/dist/chunks/{chunk.ROS6G7F5.js → chunk.G4ZT554K.js} +2 -2
- package/dist/chunks/{chunk.245S7GWI.js → chunk.G6KYSOVZ.js} +7 -7
- package/dist/chunks/{chunk.NEOUHIDX.js → chunk.GHW5MFTH.js} +2 -2
- package/dist/chunks/{chunk.HANB33UT.js → chunk.GMVNHU5Q.js} +2 -2
- package/dist/chunks/{chunk.CTIV3PDX.js → chunk.GPTWHLC2.js} +15 -7
- package/dist/chunks/chunk.GPTWHLC2.js.map +7 -0
- package/dist/chunks/{chunk.PBILQMHE.js → chunk.HNGYX2XS.js} +2 -2
- package/dist/chunks/{chunk.UUKF7HEE.js → chunk.HSKSME2B.js} +3 -1
- package/dist/chunks/chunk.HSKSME2B.js.map +7 -0
- package/dist/chunks/{chunk.3GR65RWU.js → chunk.HXHXOCAN.js} +6 -6
- package/dist/chunks/{chunk.BXBQK3TB.js → chunk.I5SXKW7U.js} +8 -8
- package/dist/chunks/{chunk.GCRXP6BG.js → chunk.IEGVIV7L.js} +5 -5
- package/dist/chunks/{chunk.RHKI2RSX.js → chunk.IIHE22EW.js} +6 -6
- package/dist/chunks/{chunk.Z4KPGJ4M.js → chunk.IKNWSMF2.js} +2 -2
- package/dist/chunks/{chunk.ATBW2OIF.js → chunk.ILO46EOQ.js} +2 -2
- package/dist/chunks/{chunk.HC77F5GA.js → chunk.IMDEWLAX.js} +2 -2
- package/dist/chunks/{chunk.7C42R3TS.js → chunk.IQ4IN3TD.js} +2 -2
- package/dist/chunks/{chunk.7C42R3TS.js.map → chunk.IQ4IN3TD.js.map} +1 -1
- package/dist/chunks/{chunk.YCOTL24V.js → chunk.IUYRRS5J.js} +6 -6
- package/dist/chunks/{chunk.2YJPFMPZ.js → chunk.JE4SNKTK.js} +2 -2
- package/dist/chunks/{chunk.CADFUJEC.js → chunk.K262NS64.js} +7 -7
- package/dist/chunks/{chunk.JVY2KNFK.js → chunk.K2ZLVFCP.js} +2 -2
- package/dist/chunks/{chunk.DVUFNZNA.js → chunk.KFKQ3W6V.js} +2 -2
- package/dist/chunks/{chunk.RZKOGDMT.js → chunk.LMSCYNAW.js} +8 -8
- package/dist/chunks/{chunk.UBCXGNY7.js → chunk.LOOQDMQL.js} +3 -1
- package/dist/chunks/chunk.LOOQDMQL.js.map +7 -0
- package/dist/chunks/{chunk.ZUHAUFNE.js → chunk.MW7HPGRL.js} +2 -2
- package/dist/chunks/{chunk.JE7DIAFP.js → chunk.NCRBZGL4.js} +2 -2
- package/dist/chunks/{chunk.3GKI2SN6.js → chunk.NI7DHHFY.js} +3 -3
- package/dist/chunks/{chunk.RCRHMX5J.js → chunk.NQBP2SWN.js} +2 -2
- package/dist/chunks/{chunk.LX6MQEJV.js → chunk.O32ZC2KV.js} +2 -2
- package/dist/chunks/{chunk.KSCYTDDN.js → chunk.OIZYIGAV.js} +2 -2
- package/dist/chunks/{chunk.FMX3E6SS.js → chunk.ONGOE6ER.js} +7 -7
- package/dist/chunks/{chunk.KVGLARVX.js → chunk.OUB2FMOU.js} +3 -3
- package/dist/chunks/{chunk.5M5HOQHE.js → chunk.P5XGIJWS.js} +6 -6
- package/dist/chunks/{chunk.5RXKCWCZ.js → chunk.PARACD3O.js} +2 -2
- package/dist/chunks/{chunk.WH653LKD.js → chunk.PJXJAPHZ.js} +2 -2
- package/dist/chunks/{chunk.G4XRAVPS.js → chunk.PLTOYKRN.js} +9 -9
- package/dist/chunks/{chunk.CRNTLHHO.js → chunk.Q2T5DCFZ.js} +6 -6
- package/dist/chunks/{chunk.LGYTX653.js → chunk.QSWGIFIY.js} +6 -6
- package/dist/chunks/{chunk.YNYJD6XX.js → chunk.R2GYT6JI.js} +2 -2
- package/dist/chunks/{chunk.ERRWQS7Y.js → chunk.RPDSB3J2.js} +2 -2
- package/dist/chunks/{chunk.6I4PJUUF.js → chunk.RROVEHIL.js} +2 -2
- package/dist/chunks/{chunk.ANA4XLX5.js → chunk.RSW3Y2GJ.js} +2 -2
- package/dist/chunks/{chunk.AAI3YT4E.js → chunk.S4A6UOQP.js} +2 -2
- package/dist/chunks/{chunk.CFPUCJM4.js → chunk.SCP6RLX6.js} +4 -4
- package/dist/chunks/{chunk.GFJ5QZBK.js → chunk.SD2GWOCP.js} +6 -6
- package/dist/chunks/{chunk.HVUYGACL.js → chunk.SWI5UBDN.js} +2 -2
- package/dist/chunks/{chunk.5IZZU7YZ.js → chunk.T2TALM4R.js} +8 -8
- package/dist/chunks/{chunk.TMIYLOAZ.js → chunk.TEF2Q62M.js} +2 -2
- package/dist/chunks/{chunk.TLOBRCJ7.js → chunk.TI3ZCBPE.js} +2 -2
- package/dist/chunks/{chunk.YBI7X2BA.js → chunk.TKJ4LQUN.js} +2 -2
- package/dist/chunks/{chunk.RDRWZE6I.js → chunk.TM3WJQ4I.js} +2 -2
- package/dist/chunks/{chunk.66X6L2S6.js → chunk.TPA42B34.js} +3 -3
- package/dist/chunks/{chunk.NMQAMCTH.js → chunk.TQLPO53Q.js} +3 -3
- package/dist/chunks/{chunk.VMO643NZ.js → chunk.TS47MMJD.js} +2 -2
- package/dist/chunks/{chunk.BDVEGRSM.js → chunk.UA4FJIW7.js} +2 -2
- package/dist/chunks/{chunk.DXU26VPN.js → chunk.UC7M2DXH.js} +4 -4
- package/dist/chunks/{chunk.NJV5WZBN.js → chunk.UCO5W3GF.js} +2 -2
- package/dist/chunks/{chunk.HN5M2E74.js → chunk.UFGMLMQT.js} +2 -2
- package/dist/chunks/{chunk.ZNBA6PHQ.js → chunk.VAFK2X26.js} +2 -2
- package/dist/chunks/{chunk.L6GZTHH2.js → chunk.VHCKZLOU.js} +2 -2
- package/dist/chunks/{chunk.6UFMDQHA.js → chunk.VUBC2ZG3.js} +2 -2
- package/dist/chunks/{chunk.RAHUTBPN.js → chunk.WARYSDI4.js} +2 -2
- package/dist/chunks/{chunk.XLWYE4TZ.js → chunk.WG5YK43A.js} +2 -2
- package/dist/chunks/{chunk.TAHGMS7X.js → chunk.WJXSE46S.js} +3 -3
- package/dist/chunks/{chunk.Q3LUZOD3.js → chunk.WNWP7RS3.js} +2 -2
- package/dist/chunks/{chunk.NDXRKDL3.js → chunk.WSI6742A.js} +5 -5
- package/dist/chunks/{chunk.2ZILCVCN.js → chunk.XFFIE6E7.js} +2 -2
- package/dist/chunks/{chunk.VPLFHUPG.js → chunk.XOLLUQPC.js} +5 -5
- package/dist/chunks/{chunk.HB7DPOMI.js → chunk.YXHAGEYM.js} +2 -2
- package/dist/chunks/{chunk.YS5HAVJH.js → chunk.Z2CIZBMC.js} +2 -2
- package/dist/chunks/{chunk.MBRJXK3O.js → chunk.ZTMSCQCP.js} +2 -2
- package/dist/chunks/{chunk.DQDMEFGY.js → chunk.ZXSNBDGX.js} +9 -9
- package/dist/chunks/{chunk.DQDMEFGY.js.map → chunk.ZXSNBDGX.js.map} +2 -2
- package/dist/components/accordion/accordion.component.js +3 -3
- package/dist/components/accordion/accordion.js +4 -4
- package/dist/components/alert/alert.component.js +12 -12
- package/dist/components/alert/alert.js +13 -13
- package/dist/components/badge/badge.component.js +4 -4
- package/dist/components/badge/badge.js +5 -5
- package/dist/components/breadcrumb/breadcrumb.component.js +11 -11
- package/dist/components/breadcrumb/breadcrumb.js +12 -12
- 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 +10 -10
- package/dist/components/button/button.js +11 -11
- 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 +8 -8
- package/dist/components/checkbox/checkbox.js +9 -9
- package/dist/components/combobox/combobox.component.js +11 -11
- package/dist/components/combobox/combobox.js +12 -12
- package/dist/components/details/details.component.d.ts +2 -0
- package/dist/components/details/details.component.js +10 -10
- package/dist/components/details/details.custom.styles.js +1 -1
- package/dist/components/details/details.js +11 -11
- package/dist/components/dialog/dialog.component.js +10 -10
- package/dist/components/dialog/dialog.js +11 -11
- package/dist/components/divider/divider.component.js +3 -3
- package/dist/components/divider/divider.custom.styles.js +1 -1
- package/dist/components/divider/divider.js +4 -4
- package/dist/components/drawer/drawer.component.js +10 -10
- package/dist/components/drawer/drawer.js +11 -11
- package/dist/components/dropdown/dropdown.component.js +4 -4
- package/dist/components/dropdown/dropdown.js +5 -5
- package/dist/components/file/file.component.js +11 -11
- package/dist/components/file/file.js +12 -12
- package/dist/components/header/header.component.js +10 -10
- package/dist/components/header/header.js +11 -11
- package/dist/components/icon/icon.component.js +6 -6
- package/dist/components/icon/icon.js +7 -7
- package/dist/components/icon/library.js +4 -4
- package/dist/components/icon/library.system.js +3 -3
- package/dist/components/icon/sick2018-system-icons.d.ts +2 -0
- package/dist/components/icon/sick2018-system-icons.js +1 -1
- package/dist/components/icon/sick2025-system-icons.d.ts +2 -0
- package/dist/components/icon/sick2025-system-icons.js +1 -1
- package/dist/components/icon-button/icon-button.component.js +8 -8
- package/dist/components/icon-button/icon-button.js +9 -9
- package/dist/components/input/input.component.d.ts +1 -1
- package/dist/components/input/input.component.js +11 -11
- package/dist/components/input/input.js +12 -12
- 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 +11 -11
- package/dist/components/menu-item/menu-item.js +12 -12
- package/dist/components/menu-label/menu-label.component.js +4 -4
- package/dist/components/menu-label/menu-label.js +5 -5
- package/dist/components/nav-item/nav-item.component.js +9 -9
- package/dist/components/nav-item/nav-item.js +10 -10
- package/dist/components/optgroup/optgroup.component.js +4 -4
- package/dist/components/optgroup/optgroup.js +5 -5
- package/dist/components/option/option.component.js +9 -9
- package/dist/components/option/option.js +10 -10
- 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 +15 -15
- package/dist/components/prio-nav/prio-nav.js +16 -16
- 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 +8 -8
- package/dist/components/radio/radio.js +9 -9
- package/dist/components/radio-button/radio-button.component.js +3 -3
- package/dist/components/radio-button/radio-button.js +4 -4
- package/dist/components/radio-group/radio-group.component.js +4 -4
- package/dist/components/radio-group/radio-group.js +5 -5
- package/dist/components/range/range.component.js +5 -5
- package/dist/components/range/range.js +6 -6
- 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 +13 -13
- package/dist/components/select/select.js +14 -14
- package/dist/components/side-nav/side-nav.component.js +14 -14
- package/dist/components/side-nav/side-nav.js +15 -15
- 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 +10 -10
- package/dist/components/tab/tab.js +11 -11
- package/dist/components/tab-group/tab-group.component.js +11 -11
- package/dist/components/tab-group/tab-group.js +12 -12
- 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 +11 -11
- package/dist/components/tag/tag.custom.styles.js +1 -1
- package/dist/components/tag/tag.js +12 -12
- package/dist/components/textarea/textarea.component.d.ts +1 -1
- 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 +14 -14
- package/dist/components/validate/validate.js +15 -15
- package/dist/custom-elements.json +92 -84
- package/dist/styles/index.css +1 -1
- package/dist/synergy.js +115 -115
- package/dist/utilities/icon-library.js +4 -4
- package/dist/vscode.html-custom-data.json +25 -25
- package/package.json +5 -5
- package/dist/chunks/chunk.CTIV3PDX.js.map +0 -7
- package/dist/chunks/chunk.FA6V2WD6.js.map +0 -7
- package/dist/chunks/chunk.KX43XLOR.js.map +0 -7
- package/dist/chunks/chunk.UBCXGNY7.js.map +0 -7
- package/dist/chunks/chunk.UUKF7HEE.js.map +0 -7
- package/dist/chunks/chunk.VN2PSQ4U.js.map +0 -7
- package/dist/chunks/chunk.WQ5WXIL6.js.map +0 -7
- /package/dist/chunks/{chunk.HIJUMXP4.js.map → chunk.23VRSHVV.js.map} +0 -0
- /package/dist/chunks/{chunk.XYTP4HII.js.map → chunk.24SRZBBX.js.map} +0 -0
- /package/dist/chunks/{chunk.H7FTAZDC.js.map → chunk.2BPIJI67.js.map} +0 -0
- /package/dist/chunks/{chunk.GBHDS2IR.js.map → chunk.2MMV32NH.js.map} +0 -0
- /package/dist/chunks/{chunk.BHRS27UA.js.map → chunk.32OFRTVL.js.map} +0 -0
- /package/dist/chunks/{chunk.ZC3WZ4HD.js.map → chunk.3CIWKBTC.js.map} +0 -0
- /package/dist/chunks/{chunk.P7ET37O6.js.map → chunk.3D5JYV3S.js.map} +0 -0
- /package/dist/chunks/{chunk.PBYEKOOF.js.map → chunk.4ONQSQWY.js.map} +0 -0
- /package/dist/chunks/{chunk.PHIRFXRF.js.map → chunk.4RDGXLUO.js.map} +0 -0
- /package/dist/chunks/{chunk.5MJ6U3ZD.js.map → chunk.63CI7YLN.js.map} +0 -0
- /package/dist/chunks/{chunk.C6UWNTFC.js.map → chunk.6C2VOQNT.js.map} +0 -0
- /package/dist/chunks/{chunk.JLARVA4R.js.map → chunk.6GVMJEC4.js.map} +0 -0
- /package/dist/chunks/{chunk.JUON2HSD.js.map → chunk.6I6HQGH4.js.map} +0 -0
- /package/dist/chunks/{chunk.QLUFRXHK.js.map → chunk.6MR7BVV5.js.map} +0 -0
- /package/dist/chunks/{chunk.GMYIVXWP.js.map → chunk.A2B7C3N2.js.map} +0 -0
- /package/dist/chunks/{chunk.7FW3LXOS.js.map → chunk.A4HL3BIH.js.map} +0 -0
- /package/dist/chunks/{chunk.TTKLTIKP.js.map → chunk.BWSRCH7T.js.map} +0 -0
- /package/dist/chunks/{chunk.4E6YKCXO.js.map → chunk.CNXJ4AUG.js.map} +0 -0
- /package/dist/chunks/{chunk.KDYONRAA.js.map → chunk.CZ7FEHUZ.js.map} +0 -0
- /package/dist/chunks/{chunk.MJSQXS35.js.map → chunk.DVZP7JU3.js.map} +0 -0
- /package/dist/chunks/{chunk.NJXXQYZX.js.map → chunk.E5U2FHTA.js.map} +0 -0
- /package/dist/chunks/{chunk.F6QEUBK3.js.map → chunk.EGURWFSB.js.map} +0 -0
- /package/dist/chunks/{chunk.C6TYP6DS.js.map → chunk.EIZLOSHH.js.map} +0 -0
- /package/dist/chunks/{chunk.J4AQWKAH.js.map → chunk.EPSBD2E6.js.map} +0 -0
- /package/dist/chunks/{chunk.6WGVJKL6.js.map → chunk.FDLAEOEF.js.map} +0 -0
- /package/dist/chunks/{chunk.ME6NYHXY.js.map → chunk.FWBTDW6R.js.map} +0 -0
- /package/dist/chunks/{chunk.TVIGWT6Z.js.map → chunk.FWTCHF66.js.map} +0 -0
- /package/dist/chunks/{chunk.UUOIHYGE.js.map → chunk.FYREWFTF.js.map} +0 -0
- /package/dist/chunks/{chunk.ROS6G7F5.js.map → chunk.G4ZT554K.js.map} +0 -0
- /package/dist/chunks/{chunk.245S7GWI.js.map → chunk.G6KYSOVZ.js.map} +0 -0
- /package/dist/chunks/{chunk.NEOUHIDX.js.map → chunk.GHW5MFTH.js.map} +0 -0
- /package/dist/chunks/{chunk.HANB33UT.js.map → chunk.GMVNHU5Q.js.map} +0 -0
- /package/dist/chunks/{chunk.PBILQMHE.js.map → chunk.HNGYX2XS.js.map} +0 -0
- /package/dist/chunks/{chunk.3GR65RWU.js.map → chunk.HXHXOCAN.js.map} +0 -0
- /package/dist/chunks/{chunk.BXBQK3TB.js.map → chunk.I5SXKW7U.js.map} +0 -0
- /package/dist/chunks/{chunk.GCRXP6BG.js.map → chunk.IEGVIV7L.js.map} +0 -0
- /package/dist/chunks/{chunk.RHKI2RSX.js.map → chunk.IIHE22EW.js.map} +0 -0
- /package/dist/chunks/{chunk.Z4KPGJ4M.js.map → chunk.IKNWSMF2.js.map} +0 -0
- /package/dist/chunks/{chunk.ATBW2OIF.js.map → chunk.ILO46EOQ.js.map} +0 -0
- /package/dist/chunks/{chunk.HC77F5GA.js.map → chunk.IMDEWLAX.js.map} +0 -0
- /package/dist/chunks/{chunk.YCOTL24V.js.map → chunk.IUYRRS5J.js.map} +0 -0
- /package/dist/chunks/{chunk.2YJPFMPZ.js.map → chunk.JE4SNKTK.js.map} +0 -0
- /package/dist/chunks/{chunk.CADFUJEC.js.map → chunk.K262NS64.js.map} +0 -0
- /package/dist/chunks/{chunk.JVY2KNFK.js.map → chunk.K2ZLVFCP.js.map} +0 -0
- /package/dist/chunks/{chunk.DVUFNZNA.js.map → chunk.KFKQ3W6V.js.map} +0 -0
- /package/dist/chunks/{chunk.RZKOGDMT.js.map → chunk.LMSCYNAW.js.map} +0 -0
- /package/dist/chunks/{chunk.ZUHAUFNE.js.map → chunk.MW7HPGRL.js.map} +0 -0
- /package/dist/chunks/{chunk.JE7DIAFP.js.map → chunk.NCRBZGL4.js.map} +0 -0
- /package/dist/chunks/{chunk.3GKI2SN6.js.map → chunk.NI7DHHFY.js.map} +0 -0
- /package/dist/chunks/{chunk.RCRHMX5J.js.map → chunk.NQBP2SWN.js.map} +0 -0
- /package/dist/chunks/{chunk.LX6MQEJV.js.map → chunk.O32ZC2KV.js.map} +0 -0
- /package/dist/chunks/{chunk.KSCYTDDN.js.map → chunk.OIZYIGAV.js.map} +0 -0
- /package/dist/chunks/{chunk.FMX3E6SS.js.map → chunk.ONGOE6ER.js.map} +0 -0
- /package/dist/chunks/{chunk.KVGLARVX.js.map → chunk.OUB2FMOU.js.map} +0 -0
- /package/dist/chunks/{chunk.5M5HOQHE.js.map → chunk.P5XGIJWS.js.map} +0 -0
- /package/dist/chunks/{chunk.5RXKCWCZ.js.map → chunk.PARACD3O.js.map} +0 -0
- /package/dist/chunks/{chunk.WH653LKD.js.map → chunk.PJXJAPHZ.js.map} +0 -0
- /package/dist/chunks/{chunk.G4XRAVPS.js.map → chunk.PLTOYKRN.js.map} +0 -0
- /package/dist/chunks/{chunk.CRNTLHHO.js.map → chunk.Q2T5DCFZ.js.map} +0 -0
- /package/dist/chunks/{chunk.LGYTX653.js.map → chunk.QSWGIFIY.js.map} +0 -0
- /package/dist/chunks/{chunk.YNYJD6XX.js.map → chunk.R2GYT6JI.js.map} +0 -0
- /package/dist/chunks/{chunk.ERRWQS7Y.js.map → chunk.RPDSB3J2.js.map} +0 -0
- /package/dist/chunks/{chunk.6I4PJUUF.js.map → chunk.RROVEHIL.js.map} +0 -0
- /package/dist/chunks/{chunk.ANA4XLX5.js.map → chunk.RSW3Y2GJ.js.map} +0 -0
- /package/dist/chunks/{chunk.AAI3YT4E.js.map → chunk.S4A6UOQP.js.map} +0 -0
- /package/dist/chunks/{chunk.CFPUCJM4.js.map → chunk.SCP6RLX6.js.map} +0 -0
- /package/dist/chunks/{chunk.GFJ5QZBK.js.map → chunk.SD2GWOCP.js.map} +0 -0
- /package/dist/chunks/{chunk.HVUYGACL.js.map → chunk.SWI5UBDN.js.map} +0 -0
- /package/dist/chunks/{chunk.5IZZU7YZ.js.map → chunk.T2TALM4R.js.map} +0 -0
- /package/dist/chunks/{chunk.TMIYLOAZ.js.map → chunk.TEF2Q62M.js.map} +0 -0
- /package/dist/chunks/{chunk.TLOBRCJ7.js.map → chunk.TI3ZCBPE.js.map} +0 -0
- /package/dist/chunks/{chunk.YBI7X2BA.js.map → chunk.TKJ4LQUN.js.map} +0 -0
- /package/dist/chunks/{chunk.RDRWZE6I.js.map → chunk.TM3WJQ4I.js.map} +0 -0
- /package/dist/chunks/{chunk.66X6L2S6.js.map → chunk.TPA42B34.js.map} +0 -0
- /package/dist/chunks/{chunk.NMQAMCTH.js.map → chunk.TQLPO53Q.js.map} +0 -0
- /package/dist/chunks/{chunk.VMO643NZ.js.map → chunk.TS47MMJD.js.map} +0 -0
- /package/dist/chunks/{chunk.BDVEGRSM.js.map → chunk.UA4FJIW7.js.map} +0 -0
- /package/dist/chunks/{chunk.DXU26VPN.js.map → chunk.UC7M2DXH.js.map} +0 -0
- /package/dist/chunks/{chunk.NJV5WZBN.js.map → chunk.UCO5W3GF.js.map} +0 -0
- /package/dist/chunks/{chunk.HN5M2E74.js.map → chunk.UFGMLMQT.js.map} +0 -0
- /package/dist/chunks/{chunk.ZNBA6PHQ.js.map → chunk.VAFK2X26.js.map} +0 -0
- /package/dist/chunks/{chunk.L6GZTHH2.js.map → chunk.VHCKZLOU.js.map} +0 -0
- /package/dist/chunks/{chunk.6UFMDQHA.js.map → chunk.VUBC2ZG3.js.map} +0 -0
- /package/dist/chunks/{chunk.RAHUTBPN.js.map → chunk.WARYSDI4.js.map} +0 -0
- /package/dist/chunks/{chunk.XLWYE4TZ.js.map → chunk.WG5YK43A.js.map} +0 -0
- /package/dist/chunks/{chunk.TAHGMS7X.js.map → chunk.WJXSE46S.js.map} +0 -0
- /package/dist/chunks/{chunk.Q3LUZOD3.js.map → chunk.WNWP7RS3.js.map} +0 -0
- /package/dist/chunks/{chunk.NDXRKDL3.js.map → chunk.WSI6742A.js.map} +0 -0
- /package/dist/chunks/{chunk.2ZILCVCN.js.map → chunk.XFFIE6E7.js.map} +0 -0
- /package/dist/chunks/{chunk.VPLFHUPG.js.map → chunk.XOLLUQPC.js.map} +0 -0
- /package/dist/chunks/{chunk.HB7DPOMI.js.map → chunk.YXHAGEYM.js.map} +0 -0
- /package/dist/chunks/{chunk.YS5HAVJH.js.map → chunk.Z2CIZBMC.js.map} +0 -0
- /package/dist/chunks/{chunk.MBRJXK3O.js.map → chunk.ZTMSCQCP.js.map} +0 -0
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../src/components/textarea/textarea.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 { defaultValue } from '../../internal/default-value.js';\nimport { FormControlController } from '../../internal/form.js';\nimport { HasSlotController } from '../../internal/slot.js';\nimport { html } from 'lit';\nimport { ifDefined } from 'lit/directives/if-defined.js';\nimport { live } from 'lit/directives/live.js';\nimport { property, query, state } from 'lit/decorators.js';\nimport { watch } from '../../internal/watch.js';\nimport componentStyles from '../../styles/component.styles.js';\nimport formControlStyles from '../../styles/form-control.styles.js';\nimport formControlCustomStyles from '../../styles/form-control.custom.styles.js';\nimport SynergyElement from '../../internal/synergy-element.js';\nimport styles from './textarea.styles.js';\nimport customStyles from './textarea.custom.styles.js';\nimport type { CSSResultGroup } from 'lit';\nimport type { SynergyFormControl } from '../../internal/synergy-element.js';\nimport { enableDefaultSettings } from '../../utilities/defaultSettings/decorator.js';\n\n/**\n * @summary Textareas collect data from the user and allow multiple lines of text.\n * @documentation https://synergy-design-system.github.io/?path=/docs/components-syn-textarea--docs\n * @status stable\n * @since 2.0\n *\n * @slot label - The textarea's label. Alternatively, you can use the `label` attribute.\n * @slot help-text - Text that describes how to use the input. Alternatively, you can use the `help-text` attribute.\n *\n * @event syn-blur - Emitted when the control loses focus.\n * @event syn-change - Emitted when an alteration to the control's value is committed by the user.\n * @event syn-focus - Emitted when the control gains focus.\n * @event syn-input - Emitted when the control receives input.\n * @event syn-invalid - Emitted when the form control has been checked for validity and its constraints aren't satisfied.\n *\n * @csspart form-control - The form control that wraps the label, input, and help text.\n * @csspart form-control-label - The label's wrapper.\n * @csspart form-control-input - The input's wrapper.\n * @csspart form-control-help-text - The help text's wrapper.\n * @csspart base - The component's base wrapper.\n * @csspart textarea - The internal `<textarea>` control.\n */\n@enableDefaultSettings('SynTextarea')\nexport default class SynTextarea extends SynergyElement implements SynergyFormControl {\n static styles: CSSResultGroup = [componentStyles, formControlStyles, styles, formControlCustomStyles, customStyles];\n\n private readonly formControlController = new FormControlController(this, {\n assumeInteractionOn: ['syn-blur', 'syn-input']\n });\n private readonly hasSlotController = new HasSlotController(this, 'help-text', 'label');\n private resizeObserver: ResizeObserver;\n\n @query('.textarea__control') input: HTMLTextAreaElement;\n @query('.textarea__size-adjuster') sizeAdjuster: HTMLTextAreaElement;\n\n @state() private hasFocus = false;\n @property({ reflect: true }) title = ''; // make reactive to pass through\n\n /** The name of the textarea, submitted as a name/value pair with form data. */\n @property() name = '';\n\n /** The current value of the textarea, submitted as a name/value pair with form data. */\n @property() value = '';\n\n /** The textarea's size. */\n @property({ reflect: true }) size: 'small' | 'medium' | 'large' = 'medium';\n\n /** The textarea's label. If you need to display HTML, use the `label` slot instead. */\n @property() label = '';\n\n /** The textarea's help text. If you need to display HTML, use the `help-text` slot instead. */\n @property({ attribute: 'help-text' }) helpText = '';\n\n /** Placeholder text to show as a hint when the input is empty. */\n @property() placeholder = '';\n\n /** The number of rows to display by default. */\n @property({ type: Number }) rows = 4;\n\n /** Controls how the textarea can be resized. */\n @property() resize: 'none' | 'vertical' | 'auto' = 'vertical';\n\n /** Disables the textarea. */\n @property({ type: Boolean, reflect: true }) disabled = false;\n\n /** Makes the textarea readonly. */\n @property({ type: Boolean, reflect: true }) readonly = false;\n\n /**\n * By default, form controls are associated with the nearest containing `<form>` element. This attribute allows you\n * to place the form control outside of a form and associate it with the form that has this `id`. The form must be in\n * the same document or shadow root for this to work.\n */\n @property({ reflect: true }) form = '';\n\n /** Makes the textarea a required field. */\n @property({ type: Boolean, reflect: true }) required = false;\n\n /** The minimum length of input that will be considered valid. */\n @property({ type: Number }) minlength: number;\n\n /** The maximum length of input that will be considered valid. */\n @property({ type: Number }) maxlength: number;\n\n /** Controls whether and how text input is automatically capitalized as it is entered by the user. */\n @property() autocapitalize: 'off' | 'none' | 'on' | 'sentences' | 'words' | 'characters';\n\n /** Indicates whether the browser's autocorrect feature is on or off. */\n @property() autocorrect: string;\n\n /**\n * Specifies what permission the browser has to provide assistance in filling out form field values. Refer to\n * [this page on MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete) for available values.\n */\n @property() autocomplete: string;\n\n /** Indicates that the input should receive focus on page load. */\n @property({ type: Boolean }) autofocus: boolean;\n\n /** Used to customize the label or icon of the Enter key on virtual keyboards. */\n @property() enterkeyhint: 'enter' | 'done' | 'go' | 'next' | 'previous' | 'search' | 'send';\n\n /** Enables spell checking on the textarea. */\n @property({\n type: Boolean,\n converter: {\n // Allow \"true|false\" attribute values but keep the property boolean\n fromAttribute: value => (!value || value === 'false' ? false : true),\n toAttribute: value => (value ? 'true' : 'false')\n }\n })\n spellcheck = true;\n\n /**\n * Tells the browser what type of data will be entered by the user, allowing it to display the appropriate virtual\n * keyboard on supportive devices.\n */\n @property() inputmode: 'none' | 'text' | 'decimal' | 'numeric' | 'tel' | 'search' | 'email' | 'url';\n\n /** The default value of the form control. Primarily used for resetting the form control. */\n @defaultValue() defaultValue = '';\n\n /** Gets the validity state object */\n get validity() {\n return this.input.validity;\n }\n\n /** Gets the validation message */\n get validationMessage() {\n return this.input.validationMessage;\n }\n\n connectedCallback() {\n super.connectedCallback();\n this.resizeObserver = new ResizeObserver(() => this.setTextareaHeight());\n\n this.updateComplete.then(() => {\n this.setTextareaHeight();\n this.resizeObserver.observe(this.input);\n });\n }\n\n firstUpdated() {\n this.formControlController.updateValidity();\n }\n\n disconnectedCallback() {\n super.disconnectedCallback();\n if (this.input) {\n this.resizeObserver?.unobserve(this.input);\n }\n }\n\n private handleBlur() {\n this.hasFocus = false;\n this.emit('syn-blur');\n }\n\n private handleChange() {\n this.value = this.input.value;\n this.setTextareaHeight();\n this.emit('syn-change');\n }\n\n private handleFocus() {\n this.hasFocus = true;\n this.emit('syn-focus');\n }\n\n private handleInput() {\n this.value = this.input.value;\n this.emit('syn-input');\n }\n\n private handleInvalid(event: Event) {\n this.formControlController.setValidity(false);\n this.formControlController.emitInvalidEvent(event);\n }\n\n private setTextareaHeight() {\n if (this.resize === 'auto') {\n // This prevents layout shifts. We use `clientHeight` instead of `scrollHeight` to account for if the `<textarea>` has a max-height set on it. In my tests, this has worked fine. Im not aware of any edge cases. [Konnor]\n this.sizeAdjuster.style.height = `${this.input.clientHeight}px`;\n this.input.style.height = 'auto';\n this.input.style.height = `${this.input.scrollHeight}px`;\n } else {\n this.input.style.height = '';\n }\n }\n\n @watch('disabled', { waitUntilFirstUpdate: true })\n handleDisabledChange() {\n // Disabled form controls are always valid\n this.formControlController.setValidity(this.disabled);\n }\n\n @watch('rows', { waitUntilFirstUpdate: true })\n handleRowsChange() {\n this.setTextareaHeight();\n }\n\n @watch('value', { waitUntilFirstUpdate: true })\n async handleValueChange() {\n await this.updateComplete;\n this.formControlController.updateValidity();\n this.setTextareaHeight();\n }\n\n /** Sets focus on the textarea. */\n focus(options?: FocusOptions) {\n this.input.focus(options);\n }\n\n /** Removes focus from the textarea. */\n blur() {\n this.input.blur();\n }\n\n /** Selects all the text in the textarea. */\n select() {\n this.input.select();\n }\n\n /** Gets or sets the textarea's scroll position. */\n scrollPosition(position?: { top?: number; left?: number }): { top: number; left: number } | undefined {\n if (position) {\n if (typeof position.top === 'number') this.input.scrollTop = position.top;\n if (typeof position.left === 'number') this.input.scrollLeft = position.left;\n return undefined;\n }\n\n return {\n top: this.input.scrollTop,\n left: this.input.scrollTop\n };\n }\n\n /** Sets the start and end positions of the text selection (0-based). */\n setSelectionRange(\n selectionStart: number,\n selectionEnd: number,\n selectionDirection: 'forward' | 'backward' | 'none' = 'none'\n ) {\n this.input.setSelectionRange(selectionStart, selectionEnd, selectionDirection);\n }\n\n /** Replaces a range of text with a new string. */\n setRangeText(\n replacement: string,\n start?: number,\n end?: number,\n selectMode: 'select' | 'start' | 'end' | 'preserve' = 'preserve'\n ) {\n const selectionStart = start ?? this.input.selectionStart;\n const selectionEnd = end ?? this.input.selectionEnd;\n\n this.input.setRangeText(replacement, selectionStart, selectionEnd, selectMode);\n\n if (this.value !== this.input.value) {\n this.value = this.input.value;\n this.setTextareaHeight();\n }\n }\n\n /** Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid. */\n checkValidity() {\n return this.input.checkValidity();\n }\n\n /** Gets the associated form, if one exists. */\n getForm(): HTMLFormElement | null {\n return this.formControlController.getForm();\n }\n\n /** Checks for validity and shows the browser's validation message if the control is invalid. */\n reportValidity() {\n return this.input.reportValidity();\n }\n\n /** Sets a custom validation message. Pass an empty string to restore validity. */\n setCustomValidity(message: string) {\n this.input.setCustomValidity(message);\n this.formControlController.updateValidity();\n }\n\n render() {\n const hasLabelSlot = this.hasSlotController.test('label');\n const hasHelpTextSlot = this.hasSlotController.test('help-text');\n const hasLabel = this.label ? true : !!hasLabelSlot;\n const hasHelpText = this.helpText ? true : !!hasHelpTextSlot;\n\n return html`\n <div\n part=\"form-control\"\n class=${classMap({\n 'form-control': true,\n 'form-control--small': this.size === 'small',\n 'form-control--medium': this.size === 'medium',\n 'form-control--large': this.size === 'large',\n 'form-control--has-label': hasLabel,\n 'form-control--has-help-text': hasHelpText\n })}\n >\n <label\n part=\"form-control-label\"\n class=\"form-control__label\"\n for=\"input\"\n aria-hidden=${hasLabel ? 'false' : 'true'}\n >\n <slot name=\"label\">${this.label}</slot>\n </label>\n\n <div part=\"form-control-input\" class=\"form-control-input\">\n <div\n part=\"base\"\n class=${classMap({\n textarea: true,\n 'textarea--small': this.size === 'small',\n 'textarea--medium': this.size === 'medium',\n 'textarea--large': this.size === 'large',\n 'textarea--standard': !this.readonly,\n 'textarea--readonly': this.readonly,\n 'textarea--disabled': this.disabled,\n 'textarea--focused': this.hasFocus,\n 'textarea--empty': !this.value,\n 'textarea--resize-none': this.resize === 'none',\n 'textarea--resize-vertical': this.resize === 'vertical',\n 'textarea--resize-auto': this.resize === 'auto'\n })}\n >\n <textarea\n part=\"textarea\"\n id=\"input\"\n class=\"textarea__control\"\n title=${this.title /* An empty title prevents browser validation tooltips from appearing on hover */}\n name=${ifDefined(this.name)}\n .value=${live(this.value)}\n ?disabled=${this.disabled}\n ?readonly=${this.readonly}\n ?required=${this.required}\n placeholder=${ifDefined(this.placeholder)}\n rows=${ifDefined(this.rows)}\n minlength=${ifDefined(this.minlength)}\n maxlength=${ifDefined(this.maxlength)}\n autocapitalize=${ifDefined(this.autocapitalize)}\n autocorrect=${ifDefined(this.autocorrect)}\n ?autofocus=${this.autofocus}\n spellcheck=${ifDefined(this.spellcheck)}\n enterkeyhint=${ifDefined(this.enterkeyhint)}\n inputmode=${ifDefined(this.inputmode)}\n aria-describedby=\"help-text\"\n @change=${this.handleChange}\n @input=${this.handleInput}\n @invalid=${this.handleInvalid}\n @focus=${this.handleFocus}\n @blur=${this.handleBlur}\n ></textarea>\n <!-- This \"adjuster\" exists to prevent layout shifting. https://github.com/shoelace-style/shoelace/issues/2180 -->\n <div part=\"textarea-adjuster\" class=\"textarea__size-adjuster\" ?hidden=${this.resize !== 'auto'}></div>\n </div>\n </div>\n\n <div\n part=\"form-control-help-text\"\n id=\"help-text\"\n class=\"form-control__help-text\"\n aria-hidden=${hasHelpText ? 'false' : 'true'}\n >\n <slot name=\"help-text\">${this.helpText}</slot>\n </div>\n </div>\n `;\n }\n}\n"],
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAQA,SAAS,gBAAgB;AAIzB,SAAS,YAAY;AACrB,SAAS,iBAAiB;AAC1B,SAAS,YAAY;AACrB,SAAS,UAAU,OAAO,aAAa;AAmCvC,IAAqB,cAArB,cAAyC,eAA6C;AAAA,EAAtF;AAAA;AAGE,SAAiB,wBAAwB,IAAI,sBAAsB,MAAM;AAAA,MACvE,qBAAqB,CAAC,YAAY,WAAW;AAAA,IAC/C,CAAC;AACD,SAAiB,oBAAoB,IAAI,kBAAkB,MAAM,aAAa,OAAO;AAM5E,SAAQ,WAAW;AACC,iBAAQ;AAGzB,gBAAO;AAGP,iBAAQ;AAGS,gBAAqC;AAGtD,iBAAQ;AAGkB,oBAAW;AAGrC,uBAAc;AAGE,gBAAO;AAGvB,kBAAuC;AAGP,oBAAW;AAGX,oBAAW;AAO1B,gBAAO;AAGQ,oBAAW;AAmCvD,sBAAa;AASG,wBAAe;AAAA;AAAA;AAAA,EAG/B,IAAI,WAAW;AACb,WAAO,KAAK,MAAM;AAAA,EACpB;AAAA;AAAA,EAGA,IAAI,oBAAoB;AACtB,WAAO,KAAK,MAAM;AAAA,EACpB;AAAA,EAEA,oBAAoB;AAClB,UAAM,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AAK,CAAC;AAAA,GAvK9B,YAwKnB;AAMA;AAAA,EADC,MAAM,QAAQ,EAAE,sBAAsB,KAAK,CAAC;AAAA,GA7K1B,YA8KnB;AAKM;AAAA,EADL,MAAM,SAAS,EAAE,sBAAsB,KAAK,CAAC;AAAA,GAlL3B,YAmLb;AAnLa,cAArB;AAAA,EADC,sBAAsB,aAAa;AAAA,GACf;",
|
|
6
|
-
"names": []
|
|
7
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../src/components/divider/divider.custom.styles.ts"],
|
|
4
|
-
"sourcesContent": ["import { css } from 'lit';\n\nexport default css`\n /* Write custom CSS here */\n :host {\n --color: var(--syn-color-neutral-400);\n }\n`;\n"],
|
|
5
|
-
"mappings": ";AAAA,SAAS,WAAW;AAEpB,IAAO,gCAAQ;AAAA;AAAA;AAAA;AAAA;AAAA;",
|
|
6
|
-
"names": []
|
|
7
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../src/components/details/details.custom.styles.ts"],
|
|
4
|
-
"sourcesContent": ["import { css } from 'lit';\n\nexport default css`\n .details {\n background-color: unset;\n border-color: var(--syn-panel-border-color);\n border-radius: var(--syn-border-radius-none);\n border-width: 0 0 var(--syn-border-width-small);\n }\n\n /** #429: Use token for opacity */\n .details--disabled {\n opacity: var(--syn-opacity-50);\n }\n\n .details__summary-icon {\n align-self: flex-start;\n color: var(--syn-color-neutral-950);\n font-size: var(--syn-spacing-large);\n\n /**\n * As we are using an alignment of \"start\" instead of \"center\" make sure\n * the arrow starts on the same visual line as the first line of headline text\n */\n position: relative;\n top: 2px;\n }\n\n .details .details__summary {\n color: var(--syn-typography-color-text);\n }\n\n .details__header {\n gap: var(--syn-spacing-medium);\n }\n\n /**\n * As we are using top/down arrows for the details element,\n * we have to adjust the rotation of the icon when the details is open.\n */\n .details--open .details__summary-icon {\n rotate: -180deg;\n }\n\n /**\n * Adjustments for medium variant\n */\n .details--size-medium .details__header {\n padding: var(--syn-spacing-medium-large) 0;\n }\n\n .details--size-medium .details__content {\n font-size: var(--syn-font-size-small);\n line-height: var(--syn-line-height-normal);\n padding: var(--syn-spacing-medium) 0 var(--syn-spacing-large);\n }\n\n .details--size-medium .details__summary {\n font: var(--syn-body-medium-regular);\n }\n\n .details--size-medium .details__summary::slotted(syn-icon) {\n /* Avoid shrinking of the icon, if the text content of the summary is very long and multi line */\n flex-shrink: 0;\n font-size: var(--syn-spacing-large);\n margin-right: var(--syn-spacing-small);\n }\n\n /**\n * Adjustment for large variant\n */\n .details--size-large .details__header {\n padding: var(--syn-spacing-large) 0;\n }\n\n .details--size-large .details__content {\n font-size: var(--syn-font-size-medium);\n line-height: var(--syn-line-height-normal);\n padding: var(--syn-spacing-medium-large) 0 var(--syn-spacing-large);\n }\n\n .details--size-large .details__summary {\n font: var(--syn-body-large-regular);\n }\n\n .details--size-large .details__summary-icon {\n font-size: var(--syn-spacing-x-large);\n }\n\n .details--size-large .details__summary::slotted(syn-icon) {\n /* Avoid shrinking of the icon, if the text content of the summary is very long and multi line */\n flex-shrink: 0;\n font-size: var(--syn-spacing-x-large);\n margin-right: var(--syn-spacing-small);\n }\n\n /**\n * Mark the details as open by adjusting its label\n */\n .details--open .details__summary {\n font-weight: var(--syn-font-weight-bold);\n }\n\n /**\n * Add a visually visible hover effect to the summary element\n */\n .details:not(.details--disabled) .details__header:hover .details__summary,\n .details:not(.details--disabled) .details__header:hover .details__summary-icon {\n color: var(--syn-color-primary-700);\n }\n\n /**\n * Contained style\n */\n .details--contained {\n background-color: var(--syn-panel-background-color);\n border-radius: var(--syn-border-radius-medium);\n border-width: var(--syn-panel-border-width);\n }\n\n .details--contained .details__header:focus-visible {\n border-radius: var(--syn-border-radius-medium);\n }\n\n .details--size-medium.details--contained .details__header {\n padding: var(--syn-spacing-medium-large) var(--syn-spacing-large);\n }\n\n .details--size-medium.details--contained .details__content {\n padding: var(--syn-spacing-medium) var(--syn-spacing-large) var(--syn-spacing-large);\n }\n\n .details--size-large.details--contained .details__header {\n padding: var(--syn-spacing-large);\n }\n\n .details--size-large.details--contained .details__content {\n padding: var(--syn-spacing-medium-large) var(--syn-spacing-large) var(--syn-spacing-large);\n }\n`;\n"],
|
|
5
|
-
"mappings": ";AAAA,SAAS,WAAW;AAEpB,IAAO,gCAAQ;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;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;AAAA;AAAA;AAAA;AAAA;AAAA;",
|
|
6
|
-
"names": []
|
|
7
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../src/components/icon/sick2018-system-icons.ts"],
|
|
4
|
-
"sourcesContent": ["/* eslint-disable */\nexport const icons = {\n \"add\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 24 24\\\" fill='currentColor'><path d=\\\"M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6z\\\"/></svg>\",\n \"caret\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 24 24\\\" fill='currentColor'><path d=\\\"M16.59 8.295 12 12.875l-4.59-4.58L6 9.705l6 6 6-6z\\\"/></svg>\",\n \"check\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 24 24\\\" fill='currentColor'><path d=\\\"m8.795 15.875-4.17-4.17-1.42 1.41 5.59 5.59 12-12-1.41-1.41z\\\"/></svg>\",\n \"chevron-down\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 24 24\\\" fill='currentColor'><path d=\\\"M16.59 8.295 12 12.875l-4.59-4.58L6 9.705l6 6 6-6z\\\"/></svg>\",\n \"chevron-right\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 24 24\\\" fill='currentColor'><path d=\\\"m9.705 6-1.41 1.41 4.58 4.59-4.58 4.59L9.705 18l6-6z\\\"/></svg>\",\n \"error\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 24 24\\\" fill='currentColor'><path d=\\\"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m1 15h-2v-2h2zm0-4h-2V7h2z\\\"/></svg>\",\n \"eye\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 24 24\\\" fill='currentColor'><path d=\\\"M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5M12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5m0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3\\\"/></svg>\",\n \"eye-slash\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 24 24\\\" fill='currentColor'><path d=\\\"M12.005 6.5c2.76 0 5 2.24 5 5 0 .65-.13 1.26-.36 1.83l2.92 2.92c1.51-1.26 2.7-2.89 3.43-4.75-1.73-4.39-6-7.5-11-7.5-1.4 0-2.74.25-3.98.7l2.16 2.16c.57-.23 1.18-.36 1.83-.36m-10-2.73 2.74 2.74a11.8 11.8 0 0 0-3.74 4.99c1.73 4.39 6 7.5 11 7.5 1.55 0 3.03-.3 4.38-.84l.42.42 2.93 2.92 1.27-1.27L3.275 2.5zm5.53 5.53 1.55 1.55c-.05.21-.08.43-.08.65 0 1.66 1.34 3 3 3 .22 0 .44-.03.65-.08l1.55 1.55c-.67.33-1.41.53-2.2.53-2.76 0-5-2.24-5-5 0-.79.2-1.53.53-2.2m4.31-.78 3.15 3.15.02-.16c0-1.66-1.34-3-3-3z\\\"/></svg>\",\n \"indeterminate\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 24 24\\\" fill='currentColor'><path d=\\\"M19 13H5v-2h14z\\\"/></svg>\",\n \"logo-color\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"295\\\" height=\\\"94\\\" viewBox=\\\"0 0 295 94\\\" fill='currentColor'><g clip-path=\\\"url(#a)\\\"><path d=\\\"M166.804 0c17.635 0 32.971 9.893 40.87 24.488l-19.073 10.294c-4.267-7.863-12.513-13.106-21.797-13.106-13.541 0-24.871 11.138-24.872 25.315 0 14.178 11.331 25.317 24.872 25.317 9.475 0 17.923-5.453 22.103-13.595l19.054 10.346c-7.829 14.83-23.348 24.924-41.157 24.924-25.707 0-46.547-21.04-46.547-46.992S141.097 0 166.804 0M57.284 1.672c12.541 0 21.494 9.388 21.494 21.293H26.875c-6.976.993-7.42 11.696 0 12.906h27.64c15.162.41 27.258 12.48 27.258 27.763 0 14.081-11.947 28.233-27.187 28.233H26.082c-12.131 0-25.49-6.549-25.49-21.754.156 0 46.595 0 54.003.008 7.898-1.576 7.018-11.538 0-12.914h-27.72c-14.752 0-26.43-12.593-26.43-27.598 0-14.43 10.79-27.937 26.43-27.937zm53.794 90.195h-21.3V1.663h21.3zM237.535 1.663V37.84h8.291l22.398-36.176h26.492L264.192 47.34l30.079 44.527h-26.5L245.103 56.92h-7.568v34.948H215.99V1.663z\\\"/></g><defs><clipPath id=\\\"a\\\"><path d=\\\"M0 0h295v94H0z\\\"/></clipPath></defs></svg>\",\n \"menu\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 24 24\\\" fill='currentColor'><path d=\\\"M3 18h18v-2H3zm0-5h18v-2H3zm0-7v2h18V6z\\\"/></svg>\",\n \"more\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 24 24\\\" fill='currentColor'><path d=\\\"M6 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2m12 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2m-6 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2\\\"/></svg>\",\n \"more-vert\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 24 24\\\" fill='currentColor'><path d=\\\"M12 8c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2m0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2m0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2\\\"/></svg>\",\n \"placeholder\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 24 24\\\" fill='currentColor'><path d=\\\"M4 4h7V2H4c-1.1 0-2 .9-2 2v7h2zm6 9-4 5h12l-3-4-2.03 2.71zm7-4.5c0-.83-.67-1.5-1.5-1.5S14 7.67 14 8.5s.67 1.5 1.5 1.5S17 9.33 17 8.5M20 2h-7v2h7v7h2V4c0-1.1-.9-2-2-2m0 18h-7v2h7c1.1 0 2-.9 2-2v-7h-2zM4 13H2v7c0 1.1.9 2 2 2h7v-2H4z\\\"/></svg>\",\n \"radio\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"12\\\" height=\\\"12\\\" viewBox=\\\"0 0 12 12\\\" fill='currentColor'><path d=\\\"M6 1C3.235 1 1 3.235 1 6s2.235 5 5 5 5-2.235 5-5-2.235-5-5-5\\\"/></svg>\",\n \"sticky_sidebar\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 24 24\\\" fill='currentColor'><path d=\\\"M5 21q-.824 0-1.412-.587A1.93 1.93 0 0 1 3 19V5q0-.824.587-1.412A1.93 1.93 0 0 1 5 3h14q.824 0 1.413.587Q21 4.176 21 5v14q0 .824-.587 1.413A1.93 1.93 0 0 1 19 21zm5-2h9V5h-9z\\\"/></svg>\",\n \"upload-file\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 24 24\\\" fill='currentColor'><path d=\\\"M14 2H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8zm4 18H6V4h7v5h5zM8 15.01l1.41 1.41L11 14.84V19h2v-4.16l1.59 1.59L16 15.01 12.01 11z\\\"/></svg>\",\n \"x-circle-fill\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 24 24\\\" fill='currentColor'><path d=\\\"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2m5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12z\\\"/></svg>\",\n \"x-lg\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 24 24\\\" fill='currentColor'><path d=\\\"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z\\\"/></svg>\"\n};\n"],
|
|
5
|
-
"mappings": ";AACO,IAAM,QAAQ;AAAA,EACnB,OAAO;AAAA,EACP,SAAS;AAAA,EACT,SAAS;AAAA,EACT,gBAAgB;AAAA,EAChB,iBAAiB;AAAA,EACjB,SAAS;AAAA,EACT,OAAO;AAAA,EACP,aAAa;AAAA,EACb,iBAAiB;AAAA,EACjB,cAAc;AAAA,EACd,QAAQ;AAAA,EACR,QAAQ;AAAA,EACR,aAAa;AAAA,EACb,eAAe;AAAA,EACf,SAAS;AAAA,EACT,kBAAkB;AAAA,EAClB,eAAe;AAAA,EACf,iBAAiB;AAAA,EACjB,QAAQ;AACV;",
|
|
6
|
-
"names": []
|
|
7
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../src/components/icon/sick2025-system-icons.ts"],
|
|
4
|
-
"sourcesContent": ["/* eslint-disable */\nexport const icons = {\n \"add\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 24 24\\\" fill='currentColor'><path d=\\\"M11.25 12.75H5.5v-1.5h5.75V5.5h1.5v5.75h5.75v1.5h-5.75v5.75h-1.5z\\\"/></svg>\",\n \"caret\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 24 24\\\" fill='currentColor'><path d=\\\"M12 15.039 6.346 9.384 7.4 8.331l4.6 4.6 4.6-4.6 1.054 1.053z\\\"/></svg>\",\n \"check\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 24 24\\\" fill='currentColor'><path d=\\\"m9.55 17.654-5.334-5.335 1.069-1.069 4.265 4.265 9.166-9.165 1.069 1.07z\\\"/></svg>\",\n \"chevron-down\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 24 24\\\" fill='currentColor'><path d=\\\"M12 15.039 6.346 9.384 7.4 8.331l4.6 4.6 4.6-4.6 1.054 1.053z\\\"/></svg>\",\n \"chevron-right\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 24 24\\\" fill='currentColor'><path d=\\\"m12.946 12-4.6-4.6L9.4 6.346 15.054 12 9.4 17.654 8.346 16.6z\\\"/></svg>\",\n \"error\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 24 24\\\" fill='currentColor'><path d=\\\"M12 16.73q.343 0 .575-.232a.78.78 0 0 0 .233-.575.78.78 0 0 0-.232-.575.78.78 0 0 0-.576-.232.78.78 0 0 0-.575.232.78.78 0 0 0-.233.575q0 .343.232.575a.78.78 0 0 0 .576.233m-.75-3.653h1.5v-6h-1.5zm.752 8.423a9.3 9.3 0 0 1-3.706-.748 9.6 9.6 0 0 1-3.016-2.03 9.6 9.6 0 0 1-2.032-3.016 9.25 9.25 0 0 1-.748-3.704q0-1.972.748-3.706a9.6 9.6 0 0 1 2.03-3.016 9.6 9.6 0 0 1 3.016-2.032 9.25 9.25 0 0 1 3.704-.748q1.972 0 3.706.748a9.6 9.6 0 0 1 3.017 2.03 9.6 9.6 0 0 1 2.03 3.016 9.25 9.25 0 0 1 .749 3.704q0 1.972-.748 3.706a9.6 9.6 0 0 1-2.03 3.017 9.6 9.6 0 0 1-3.016 2.03 9.25 9.25 0 0 1-3.704.749\\\"/></svg>\",\n \"eye\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 24 24\\\" fill='currentColor'><path d=\\\"M12.002 15.577q1.7 0 2.888-1.19t1.187-2.89-1.19-2.886-2.89-1.188-2.886 1.19-1.188 2.89 1.19 2.887 2.89 1.187M12 14.2q-1.125 0-1.912-.787A2.6 2.6 0 0 1 9.3 11.5q0-1.125.788-1.912A2.6 2.6 0 0 1 12 8.8q1.125 0 1.913.787.787.788.787 1.913t-.787 1.912A2.6 2.6 0 0 1 12 14.2m.001 4.3q-3.45 0-6.285-1.903-2.837-1.904-4.177-5.097 1.34-3.194 4.175-5.097T12 4.5t6.286 1.903q2.836 1.904 4.177 5.097-1.341 3.195-4.176 5.097T12.001 18.5\\\"/></svg>\",\n \"eye-slash\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 24 24\\\" fill='currentColor'><path d=\\\"m19.762 21.87-4.046-4.016q-.77.285-1.705.465-.936.18-2.01.181-3.525 0-6.341-1.939-2.815-1.938-4.121-5.061.554-1.325 1.43-2.472A11.4 11.4 0 0 1 4.9 7.038l-2.77-2.8 1.055-1.053 17.63 17.63zM12 15.576q.314 0 .642-.054.33-.053.585-.158l-5.092-5.092q-.104.275-.158.599a4 4 0 0 0-.054.628q0 1.702 1.188 2.89 1.186 1.187 2.89 1.187m6.954.507-3.137-3.111q.118-.32.189-.684.07-.366.071-.789 0-1.702-1.187-2.89Q13.702 7.424 12 7.424q-.422 0-.779.076-.355.076-.684.228L8.035 5.235a10 10 0 0 1 1.936-.556q.99-.18 2.03-.179 3.514 0 6.34 1.939 2.824 1.938 4.12 5.061-.555 1.34-1.435 2.502a11 11 0 0 1-2.072 2.082m-4.27-4.234-3.009-3q.661-.124 1.25.098.586.223 1.012.663.435.44.636 1.033.202.593.112 1.206\\\"/></svg>\",\n \"indeterminate\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 24 24\\\" fill='currentColor'><path d=\\\"M5.5 12.75v-1.5h13v1.5z\\\"/></svg>\",\n \"logo-color\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"295\\\" height=\\\"94\\\" viewBox=\\\"0 0 295 94\\\" fill='currentColor'><g clip-path=\\\"url(#a)\\\"><path d=\\\"M166.39 0c17.638 0 32.976 9.895 40.876 24.493L188.19 34.788c-4.268-7.865-12.516-13.108-21.8-13.108-13.545 0-24.876 11.14-24.876 25.32s11.331 25.32 24.876 25.32c9.476 0 17.925-5.452 22.106-13.596l19.058 10.347C199.723 83.905 184.202 94 166.39 94c-25.713 0-46.556-21.044-46.556-47S140.677 0 166.39 0M56.85 1.673c12.543 0 21.498 9.389 21.498 21.296H26.436c-6.977.993-7.421 11.697 0 12.908H54.08c15.164.41 27.263 12.481 27.263 27.768 0 14.084-11.95 28.238-27.194 28.238H25.643c-12.134 0-25.495-6.55-25.495-21.758.151 0 46.601 0 54.011.009 7.9-1.577 7.02-11.541 0-12.917H26.436C11.68 57.217 0 44.622 0 29.614 0 15.182 10.792 1.673 26.436 1.673zm53.803 90.21H89.349V1.664h21.304zm126.48-90.219v36.182h8.292l22.402-36.182h26.497L263.795 47.35l30.085 44.534h-26.505L244.702 56.93h-7.569v34.953h-21.549V1.664z\\\"/></g><defs><clipPath id=\\\"a\\\"><path d=\\\"M0 0h295v94H0z\\\"/></clipPath></defs></svg>\",\n \"menu\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 24 24\\\" fill='currentColor'><path d=\\\"M3.5 17.635v-1.5h17v1.5zm0-4.885v-1.5h17v1.5zm0-4.885v-1.5h17v1.5z\\\"/></svg>\",\n \"more\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 24 24\\\" fill='currentColor'><path d=\\\"M6.23 13.5q-.618 0-1.059-.44a1.44 1.44 0 0 1-.44-1.06q0-.619.44-1.06.44-.44 1.06-.44.618 0 1.06.44.44.442.44 1.06t-.44 1.06q-.442.44-1.06.44m5.77 0q-.619 0-1.06-.44A1.44 1.44 0 0 1 10.5 12q0-.619.44-1.06.441-.44 1.06-.44.618 0 1.06.44.44.442.44 1.06t-.44 1.06q-.442.44-1.06.44m5.77 0q-.62 0-1.06-.44a1.44 1.44 0 0 1-.44-1.06q0-.619.44-1.06.44-.44 1.06-.44.618 0 1.058.44.441.442.441 1.06t-.44 1.06q-.44.44-1.06.44\\\"/></svg>\",\n \"more-vert\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 24 24\\\" fill='currentColor'><path d=\\\"M12 19.27q-.619 0-1.06-.442a1.44 1.44 0 0 1-.44-1.059q0-.618.44-1.06.442-.44 1.06-.44t1.06.44q.44.442.44 1.06 0 .62-.44 1.06-.442.44-1.06.44m0-5.77q-.619 0-1.06-.44A1.44 1.44 0 0 1 10.5 12q0-.619.44-1.06.442-.44 1.06-.44t1.06.44q.44.441.44 1.06t-.44 1.06-1.06.44m0-5.77q-.619 0-1.06-.44a1.44 1.44 0 0 1-.44-1.06q0-.618.44-1.059.442-.44 1.06-.44t1.06.44q.44.44.44 1.06 0 .618-.44 1.06-.442.44-1.06.44\\\"/></svg>\",\n \"placeholder\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 24 24\\\" fill='currentColor'><path d=\\\"M3.5 20.5V13H5v6h6v1.5zm9.5 0V19h6v-6h1.5v7.5zm-6.25-3.75 2.48-3.289 2 2.558 2.809-3.653 3.288 4.384zM3.5 11V3.5H11V5H5v6zM19 11V5h-6V3.5h7.5V11zm-3.594-1.096q-.566 0-.938-.37a1.26 1.26 0 0 1-.372-.936q0-.566.37-.938t.936-.372.938.37q.371.37.372.936 0 .566-.37.938a1.26 1.26 0 0 1-.936.372\\\"/></svg>\",\n \"radio\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"12\\\" height=\\\"12\\\" viewBox=\\\"0 0 12 12\\\" fill='currentColor'><path d=\\\"M6 10.75a4.6 4.6 0 0 1-1.852-.374A4.8 4.8 0 0 1 2.64 9.361a4.8 4.8 0 0 1-1.016-1.508 4.6 4.6 0 0 1-.374-1.852q0-.986.374-1.853.375-.866 1.015-1.508.641-.641 1.508-1.016a4.6 4.6 0 0 1 1.852-.374q.986 0 1.853.374.867.375 1.508 1.015.642.641 1.016 1.508t.374 1.852-.374 1.853A4.8 4.8 0 0 1 9.361 9.36q-.642.642-1.508 1.016a4.6 4.6 0 0 1-1.852.374\\\"/></svg>\",\n \"sticky_sidebar\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 24 24\\\" fill='currentColor'><path d=\\\"M9.5 19H19V5H9.5zm-6 1.5v-17h17v17z\\\"/></svg>\",\n \"upload-file\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 24 24\\\" fill='currentColor'><path d=\\\"M11.25 18.385h1.5V13.95l1.85 1.85 1.054-1.07L12 11.078l-3.654 3.654 1.07 1.053 1.834-1.834zM4.5 21.5v-19h9.75l5.25 5.25V21.5zm9-13V4H6v16h12V8.5z\\\"/></svg>\",\n \"x-circle-fill\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 24 24\\\" fill='currentColor'><path d=\\\"m8.4 16.654 3.6-3.6 3.6 3.6 1.054-1.054-3.6-3.6 3.6-3.6L15.6 7.346l-3.6 3.6-3.6-3.6L7.346 8.4l3.6 3.6-3.6 3.6zm3.602 4.846a9.3 9.3 0 0 1-3.706-.748 9.6 9.6 0 0 1-3.016-2.03 9.6 9.6 0 0 1-2.032-3.016 9.25 9.25 0 0 1-.748-3.704q0-1.972.748-3.706a9.6 9.6 0 0 1 2.03-3.016 9.6 9.6 0 0 1 3.016-2.032 9.25 9.25 0 0 1 3.704-.748q1.972 0 3.706.748a9.6 9.6 0 0 1 3.017 2.03 9.6 9.6 0 0 1 2.03 3.016 9.25 9.25 0 0 1 .749 3.704q0 1.972-.748 3.706a9.6 9.6 0 0 1-2.03 3.017 9.6 9.6 0 0 1-3.016 2.03 9.25 9.25 0 0 1-3.704.749\\\"/></svg>\",\n \"x-lg\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 24 24\\\" fill='currentColor'><path d=\\\"M6.4 18.654 5.346 17.6l5.6-5.6-5.6-5.6L6.4 5.346l5.6 5.6 5.6-5.6L18.654 6.4l-5.6 5.6 5.6 5.6-1.054 1.054-5.6-5.6z\\\"/></svg>\"\n};\n"],
|
|
5
|
-
"mappings": ";AACO,IAAM,QAAQ;AAAA,EACnB,OAAO;AAAA,EACP,SAAS;AAAA,EACT,SAAS;AAAA,EACT,gBAAgB;AAAA,EAChB,iBAAiB;AAAA,EACjB,SAAS;AAAA,EACT,OAAO;AAAA,EACP,aAAa;AAAA,EACb,iBAAiB;AAAA,EACjB,cAAc;AAAA,EACd,QAAQ;AAAA,EACR,QAAQ;AAAA,EACR,aAAa;AAAA,EACb,eAAe;AAAA,EACf,SAAS;AAAA,EACT,kBAAkB;AAAA,EAClB,eAAe;AAAA,EACf,iBAAiB;AAAA,EACjB,QAAQ;AACV;",
|
|
6
|
-
"names": []
|
|
7
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../src/components/tag/tag.custom.styles.ts"],
|
|
4
|
-
"sourcesContent": ["import { css } from 'lit';\n\nexport default css`\n :host {\n /*\n * #850: This is needed for position adjustments when using the tags in syn-select[multiple].\n * It will get adjusted in the syn-select component.\n */\n --syn-tag-position-adjustment: 0px;\n }\n\n .tag {\n background-color: var(--syn-color-neutral-0);\n border-color: var(--syn-color-neutral-400);\n border-radius: var(--syn-border-radius-small);\n color: var(--syn-input-color);\n }\n\n .tag .tag__remove {\n color: var(--syn-color-neutral-500);\n }\n\n\n /* Size small */\n .tag--small {\n font-size: var(--syn-font-size-x-small);\n height: var(--syn-font-size-x-large);\n line-height: calc(var(--syn-font-size-x-large) - var(--syn-input-border-width) * 2);\n }\n\n .tag--small.tag--removable {\n padding-inline-end: var(--syn-spacing-2x-small);\n }\n\n\n /* Size medium */\n .tag--medium {\n font-size: var(--syn-font-size-small);\n height: var(--syn-font-size-2x-large);\n line-height: calc(var(--syn-font-size-2x-large) - var(--syn-input-border-width) * 2);\n }\n\n .tag--medium.tag--removable {\n padding-inline-end: var(--syn-spacing-x-small);\n }\n\n .tag--medium .tag__remove {\n margin-inline-start: var(--syn-spacing-small);\n }\n\n\n /* Size large */\n .tag--large {\n font-size: var(--syn-font-size-medium);\n height: var(--syn-font-size-3x-large);\n line-height: calc(var(--syn-font-size-3x-large) - var(--syn-input-border-width) * 2);\n }\n\n .tag--large .tag__remove {\n margin-inline-start: var(--syn-spacing-medium);\n }\n\n .tag--large.tag--removable {\n padding-inline-end: var(--syn-spacing-small);\n }\n\n\n /* Hover */\n .tag.tag--removable:hover {\n background-color: var(--syn-color-neutral-100);\n }\n \n .tag .tag__remove:hover {\n color: var(--syn-color-neutral-950);\n }\n\n\n /* Focus \n ! Focus styling is currently not working because shoelace does not support to focus icon-button \n */\n .tag.tag--removable:focus ~ .tag__remove {\n border: solid 1px var(--syn-color-primary-500);\n }\n\n\n /* Slotted icon style */\n .tag ::slotted(syn-icon) {\n position: relative;\n top: var(--syn-tag-position-adjustment);\n }\n\n .tag--small ::slotted(syn-icon) {\n font-size: var(--syn-font-size-small);\n margin-inline-end: var(--syn-spacing-2x-small);\n }\n\n .tag--medium ::slotted(syn-icon) {\n font-size: var(--syn-font-size-medium);\n margin-inline-end: var(--syn-spacing-x-small);\n }\n\n .tag--large ::slotted(syn-icon) {\n font-size: var(--syn-font-size-large);\n margin-inline-end: var(--syn-spacing-x-small);\n }\n\n\n /* Remove icon-button style */\n .tag--small .tag__remove::part(base){\n font-size: var(--syn-font-size-medium);\n }\n\n .tag--medium .tag__remove::part(base){\n font-size: var(--syn-font-size-x-large);\n }\n\n .tag--large .tag__remove::part(base){\n font-size: var(--syn-font-size-2x-large);\n }\n`;\n"],
|
|
5
|
-
"mappings": ";AAAA,SAAS,WAAW;AAEpB,IAAO,4BAAQ;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;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
|
-
"names": []
|
|
7
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../src/components/input/input.component.ts", "../../src/internal/longpress.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 { defaultValue } from '../../internal/default-value.js';\nimport { FormControlController } from '../../internal/form.js';\nimport { HasSlotController } from '../../internal/slot.js';\nimport { html } from 'lit';\nimport { ifDefined } from 'lit/directives/if-defined.js';\nimport { live } from 'lit/directives/live.js';\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 formControlStyles from '../../styles/form-control.styles.js';\nimport formControlCustomStyles from '../../styles/form-control.custom.styles.js';\nimport SynergyElement from '../../internal/synergy-element.js';\nimport SynIcon from '../icon/icon.component.js';\nimport SynDivider from '../divider/divider.component.js';\nimport { longPress } from '../../internal/longpress.js';\nimport styles from './input.styles.js';\nimport customStyles from './input.custom.styles.js';\nimport type { CSSResultGroup } from 'lit';\nimport type { SynergyFormControl } from '../../internal/synergy-element.js';\nimport {\n type NumericStrategy,\n createNumericStrategy,\n nativeNumericStrategy,\n modernNumericStrategy,\n} from './strategies.js';\nimport { formatNumber } from './formatter.js';\nimport type { SynClampDetails } from '../../events/syn-clamp.js';\nimport { enableDefaultSettings } from '../../utilities/defaultSettings/decorator.js';\n\n/**\n * @summary Inputs collect data from the user.\n * @documentation https://synergy-design-system.github.io/?path=/docs/components-syn-input--docs\n * @status stable\n * @since 2.0\n *\n * @dependency syn-icon\n * @dependency syn-divider\n *\n * @slot label - The input's label. Alternatively, you can use the `label` attribute.\n * @slot prefix - Used to prepend a presentational icon or similar element to the input.\n * @slot suffix - Used to append a presentational icon or similar element to the input.\n * @slot clear-icon - An icon to use in lieu of the default clear icon.\n * @slot show-password-icon - An icon to use in lieu of the default show password icon.\n * @slot hide-password-icon - An icon to use in lieu of the default hide password icon.\n * @slot help-text - Text that describes how to use the input. Alternatively, you can use the `help-text` attribute.\n * @slot increment-number-stepper - An icon to use in lieu of the default increment number stepper icon.\n * @slot decrement-number-stepper - An icon to use in lieu of the default decrement number stepper icon.\n *\n * @event syn-blur - Emitted when the control loses focus.\n * @event syn-change - Emitted when an alteration to the control's value is committed by the user.\n * @event syn-clear - Emitted when the clear button is activated.\n * @event syn-focus - Emitted when the control gains focus.\n * @event syn-input - Emitted when the control receives input.\n * @event syn-invalid - Emitted when the form control has been checked for validity and its constraints aren't satisfied.\n * @event syn-clamp - Emitted if the numeric strategy allows autoClamp and the value is clamped to the min or max attribute.\n *\n * @csspart form-control - The form control that wraps the label, input, and help text.\n * @csspart form-control-label - The label's wrapper.\n * @csspart form-control-input - The input's wrapper.\n * @csspart form-control-help-text - The help text's wrapper.\n * @csspart base - The component's base wrapper.\n * @csspart input - The internal `<input>` control.\n * @csspart prefix - The container that wraps the prefix.\n * @csspart clear-button - The clear button.\n * @csspart password-toggle-button - The password toggle button.\n * @csspart suffix - The container that wraps the suffix.\n * @csspart stepper - The container that wraps the number stepper.\n * @csspart decrement-number-stepper - The decrement number stepper button.\n * @csspart increment-number-stepper - The increment number stepper button.\n * @csspart divider - The divider between the increment and decrement number stepper buttons.\n *\n * @cssproperty --syn-input-autofill-shadow - The shadow to apply when the input is autofilled.\n * @cssproperty --syn-input-autofill-readonly-shadow - The shadow to apply when the input is readonly and autofilled.\n * @cssproperty --syn-input-autofill-text-fill-color - The text fill color to apply when the input is autofilled.\n * @cssproperty --syn-input-autofill-caret-color - The caret color to apply when the input is autofilled.\n */\n@enableDefaultSettings('SynInput')\nexport default class SynInput extends SynergyElement implements SynergyFormControl {\n static styles: CSSResultGroup = [componentStyles, formControlStyles, styles, formControlCustomStyles, customStyles];\n static dependencies = {\n\t\t'syn-icon': SynIcon,\n\t\t'syn-divider': SynDivider\n\t};\n\n private readonly formControlController = new FormControlController(this, {\n assumeInteractionOn: ['syn-blur', 'syn-input']\n });\n private readonly hasSlotController = new HasSlotController(this, 'help-text', 'label', 'prefix', 'suffix');\n private readonly localize = new LocalizeController(this);\n\n @query('.input__control') input: HTMLInputElement;\n\n @state() private hasFocus = false;\n @property({ reflect: true }) title = ''; // make reactive to pass through\n\n private __numberInput = Object.assign(document.createElement('input'), { type: 'number' });\n private __dateInput = Object.assign(document.createElement('input'), { type: 'date' });\n\n /**\n * The type of input. Works the same as a native `<input>` element, but only a subset of types are supported. Defaults\n * to `text`.\n */\n @property({ reflect: true }) type:\n | 'date'\n | 'datetime-local'\n | 'email'\n | 'number'\n | 'password'\n | 'search'\n | 'tel'\n | 'text'\n | 'time'\n | 'url' = 'text';\n\n /** The name of the input, submitted as a name/value pair with form data. */\n @property() name = '';\n\n /** The current value of the input, submitted as a name/value pair with form data. */\n @property() value = '';\n\n /** The default value of the form control. Primarily used for resetting the form control. */\n @defaultValue() defaultValue = '';\n\n /** The input's size. */\n @property({ reflect: true }) size: 'small' | 'medium' | 'large' = 'medium';\n\n /** The input's label. If you need to display HTML, use the `label` slot instead. */\n @property() label = '';\n\n /** The input's help text. If you need to display HTML, use the `help-text` slot instead. */\n @property({ attribute: 'help-text' }) helpText = '';\n\n /** Adds a clear button when the input is not empty. */\n @property({ type: Boolean }) clearable = false;\n\n /** Disables the input. */\n @property({ type: Boolean, reflect: true }) disabled = false;\n\n /** Placeholder text to show as a hint when the input is empty. */\n @property() placeholder = '';\n\n /** Makes the input readonly. */\n @property({ type: Boolean, reflect: true }) readonly = false;\n\n /** Adds a button to toggle the password's visibility. Only applies to password types. */\n @property({ attribute: 'password-toggle', type: Boolean }) passwordToggle = false;\n\n /** Determines whether or not the password is currently visible. Only applies to password input types. */\n @property({ attribute: 'password-visible', type: Boolean }) passwordVisible = false;\n\n /** Hides the increment/decrement spin buttons for number inputs. */\n @property({ attribute: 'no-spin-buttons', type: Boolean }) noSpinButtons = false;\n\n /**\n * By default, form controls are associated with the nearest containing `<form>` element. This attribute allows you\n * to place the form control outside of a form and associate it with the form that has this `id`. The form must be in\n * the same document or shadow root for this to work.\n */\n @property({ reflect: true }) form = '';\n\n /** Makes the input a required field. */\n @property({ type: Boolean, reflect: true }) required = false;\n\n /** A regular expression pattern to validate input against. */\n @property() pattern: string;\n\n /** The minimum length of input that will be considered valid. */\n @property({ type: Number }) minlength: number;\n\n /** The maximum length of input that will be considered valid. */\n @property({ type: Number }) maxlength: number;\n\n /** The input's minimum value. Only applies to date and number input types. */\n @property() min: number | string;\n\n /** The input's maximum value. Only applies to date and number input types. */\n @property() max: number | string;\n\n /**\n * Specifies the granularity that the value must adhere to, or the special value `any` which means no stepping is\n * implied, allowing any numeric value. Only applies to date and number input types.\n */\n @property() step: number | 'any';\n\n /** Controls whether and how text input is automatically capitalized as it is entered by the user. */\n @property() autocapitalize: 'off' | 'none' | 'on' | 'sentences' | 'words' | 'characters';\n\n /** Indicates whether the browser's autocorrect feature is on or off. */\n @property() autocorrect: 'off' | 'on';\n\n /**\n * Specifies what permission the browser has to provide assistance in filling out form field values. Refer to\n * [this page on MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete) for available values.\n */\n @property() autocomplete: string;\n\n /** Indicates that the input should receive focus on page load. */\n @property({ type: Boolean }) autofocus: boolean;\n\n /** Used to customize the label or icon of the Enter key on virtual keyboards. */\n @property() enterkeyhint: 'enter' | 'done' | 'go' | 'next' | 'previous' | 'search' | 'send';\n\n /** Enables spell checking on the input. */\n @property({\n type: Boolean,\n converter: {\n // Allow \"true|false\" attribute values but keep the property boolean\n fromAttribute: value => (!value || value === 'false' ? false : true),\n toAttribute: value => (value ? 'true' : 'false')\n }\n })\n spellcheck = true;\n\n /**\n * Tells the browser what type of data will be entered by the user, allowing it to display the appropriate virtual\n * keyboard on supportive devices.\n */\n @property() inputmode: 'none' | 'text' | 'decimal' | 'numeric' | 'tel' | 'search' | 'email' | 'url';\n\n /**\n * Optional options that should be passed to the `NumberFormatter` when formatting the value.\n * This is used to format the number when the input type is `number`.\n * Note this can only be set via `property`, not as an `attribute`!\n */\n @property({\n attribute: false,\n reflect: false,\n type: Object,\n }) numberFormatterOptions: Intl.NumberFormatOptions;\n\n /**\n * The minimal amount of fraction digits to use for numeric values.\n * Used to format the number when the input type is `number`.\n */\n @property({\n attribute: 'min-fraction-digits',\n type: Number,\n }) minFractionDigits: number;\n\n /**\n * The maximal amount of fraction digits to use for numeric values.\n * Used to format the number when the input type is `number`.\n */\n @property({\n attribute: 'max-fraction-digits',\n type: Number,\n }) maxFractionDigits: number;\n\n #numericStrategy: NumericStrategy = nativeNumericStrategy;\n\n /**\n * Defines the strategy for handling numbers in the numeric input.\n * This is used to determine how the input behaves when the user interacts with it.\n *\n * Includes the following configuration options:\n *\n * - **autoClamp**: If true, the input will clamp the value to the min and max attributes.\n * - **noStepAlign**: If true, the input will not align the value to the step attribute.\n * - **noStepValidation**: If true, the input will not validate the value against the step attribute.\n * \n * You may provide this as one of the following values:\n *\n * - 'native': Uses the native browser implementation.\n * - 'modern': Uses a more intuitive implementation:\n * - Values are clamped to the nearest min or max value.\n * - Stepping is inclusive to the provided min and max values.\n * - Provided stepping is no longer used in validation.\n * - An object that matches the `NumericStrategy` type. Note this can only be set via `property`, not as an `attribute`!\n */\n @property({\n attribute: 'numeric-strategy',\n converter: {\n fromAttribute: (value) => {\n return value === 'modern'\n ? modernNumericStrategy\n : nativeNumericStrategy;\n },\n },\n type: Object,\n })\n set numericStrategy(value: 'native' | 'modern' | Partial<NumericStrategy>) {\n switch (typeof value) {\n case 'string': this.#numericStrategy = value === 'modern' ? modernNumericStrategy : nativeNumericStrategy; break;\n case 'object': this.#numericStrategy = createNumericStrategy(value); break;\n default: this.#numericStrategy = nativeNumericStrategy;\n }\n }\n\n /**\n * @default nativeNumericStrategy\n * @todo: This must be changed to \"modern\" in Synergy@3\n */\n get numericStrategy(): 'native' | 'modern' | Partial<NumericStrategy> {\n return this.#numericStrategy;\n }\n\n //\n // NOTE: We use an in-memory input for these getters/setters instead of the one in the template because the properties\n // can be set before the component is rendered.\n //\n\n /**\n * Gets or sets the current value as a `Date` object. Returns `null` if the value can't be converted. This will use the native `<input type=\"{{type}}\">` implementation and may result in an error.\n */\n get valueAsDate() {\n this.__dateInput.type = this.type;\n this.__dateInput.value = this.value;\n return this.input?.valueAsDate || this.__dateInput.valueAsDate;\n }\n\n set valueAsDate(newValue: Date | null) {\n this.__dateInput.type = this.type;\n this.__dateInput.valueAsDate = newValue;\n this.value = this.__dateInput.value;\n }\n\n /** Gets or sets the current value as a number. Returns `NaN` if the value can't be converted. */\n get valueAsNumber() {\n this.__numberInput.value = this.value;\n return this.input?.valueAsNumber || this.__numberInput.valueAsNumber;\n }\n\n set valueAsNumber(newValue: number) {\n this.__numberInput.valueAsNumber = newValue;\n this.value = this.__numberInput.value;\n }\n\n /** Gets the validity state object */\n get validity() {\n return this.input.validity;\n }\n\n /** Gets the validation message */\n get validationMessage() {\n return this.input.validationMessage;\n }\n\n firstUpdated() {\n this.formControlController.updateValidity();\n }\n\n private handleBlur() {\n this.hasFocus = false;\n this.emit('syn-blur');\n }\n\n private handleStep(){\n this.handleInput();\n this.input.focus();\n }\n\n private handleStepUp() {\n this.stepUp();\n this.handleStep();\n }\n\n private handleStepDown() {\n this.stepDown();\n this.handleStep();\n }\n \n private isDecrementDisabled() {\n if(this.disabled || this.readonly) {\n return true;\n }\n\n if (this.min === undefined || this.min === null) {\n return false;\n }\n\n const min = typeof this.min === 'string' ? parseFloat(this.min) : this.min;\n\n // #872: Use value instead of valueAsNumber as valueAsNumber is drawn from the hidden input\n // that is not yet updated in the current render cycle.\n return parseFloat(this.value) <= min;\n }\n\n private isIncrementDisabled() {\n if(this.disabled || this.readonly) {\n return true;\n }\n\n if (this.max === undefined || this.max === null) {\n return false;\n }\n\n const max = typeof this.max === 'string' ? parseFloat(this.max) : this.max;\n\n // #872: Use value instead of valueAsNumber as valueAsNumber is drawn from the hidden input\n // that is not yet updated in the current render cycle.\n return parseFloat(this.value) >= max;\n }\n\n \n private handleNumericStrategyAutoClamp() {\n const {\n valueAsNumber,\n max: initialMax,\n min: initialMin,\n } = this;\n\n // Exit early if there should be no clamping\n if (!this.#numericStrategy.autoClamp) {\n return {\n eventObj: null,\n shouldClamp: false,\n nextValue: valueAsNumber,\n }\n }\n\n const min = typeof initialMin === 'string' ? parseFloat(initialMin) : initialMin;\n const max = typeof initialMax === 'string' ? parseFloat(initialMax) : initialMax;\n\n let nextValue = valueAsNumber;\n let clampEvent = '';\n if (nextValue < min) {\n nextValue = min;\n clampEvent = 'min';\n } else if (nextValue > max) {\n nextValue = max;\n clampEvent = 'max';\n }\n\n const eventObj = clampEvent ? {\n detail: {\n clampedTo: clampEvent as SynClampDetails['clampedTo'],\n lastUserValue: valueAsNumber,\n },\n } : null;\n\n return {\n eventObj,\n shouldClamp: !!eventObj,\n nextValue,\n };\n }\n\n private handleChange() {\n if (this.type === 'number' && (this.#isNumberFormattingEnabled() || this.#numericStrategy.autoClamp)) {\n const { eventObj, shouldClamp, nextValue } = this.handleNumericStrategyAutoClamp();\n let initialNextValue = this.#numericStrategy.autoClamp ? nextValue : this.valueAsNumber;\n\n // Make sure to flag non numeric values as invalid\n if (isNaN(initialNextValue)) {\n // Make sure to set the value to the min or max value if the input is empty\n // If neither min nor max are set, we set the value to 0\n const { max, min } = this;\n\n if (max !== undefined && max !== null) {\n initialNextValue = typeof max === 'string' ? parseFloat(max) : +max;\n } else if (min !== undefined && min !== null) {\n initialNextValue = typeof min === 'string' ? parseFloat(min) : +min;\n } else {\n initialNextValue = 0;\n }\n }\n\n this.value = this.#isNumberFormattingEnabled()\n ? this.#formatNumber(initialNextValue)\n : initialNextValue.toString();\n\n // Make sure to wait for the updateComplete to be done before updating the validity\n // and firing events. This is needed because valueAsNumber is not updated yet when the event is fired\n this.updateComplete.then(() => {\n\n if (shouldClamp && eventObj) {\n this.emit('syn-clamp', eventObj);\n }\n\n this.formControlController.updateValidity();\n this.emit('syn-change');\n });\n return;\n }\n this.value = this.input.value;\n this.emit('syn-change');\n }\n\n private handleClearClick(event: MouseEvent) {\n event.preventDefault();\n\n if (this.value !== '') {\n this.value = '';\n this.emit('syn-clear');\n this.emit('syn-input');\n this.emit('syn-change');\n }\n\n this.input.focus();\n }\n\n private handleFocus() {\n this.hasFocus = true;\n this.emit('syn-focus');\n }\n\n private handleInput() {\n this.value = this.input.value;\n this.formControlController.updateValidity();\n this.emit('syn-input');\n }\n\n private handleInvalid(event: Event) {\n this.formControlController.setValidity(false);\n this.formControlController.emitInvalidEvent(event);\n }\n\n private handleKeyDown(event: KeyboardEvent) {\n if (this.#numericStrategy.noStepAlign && this.type === 'number') {\n const { key } = event;\n if (key === 'ArrowUp' || key === 'ArrowDown') {\n event.preventDefault();\n event.stopPropagation();\n\n if (key === 'ArrowUp') {\n this.handleStepUp();\n } else if (key === 'ArrowDown') {\n this.handleStepDown();\n }\n this.handleChange();\n return;\n }\n }\n const hasModifier = event.metaKey || event.ctrlKey || event.shiftKey || event.altKey;\n\n // Pressing enter when focused on an input should submit the form like a native input, but we wait a tick before\n // submitting to allow users to cancel the keydown event if they need to\n if (event.key === 'Enter' && !hasModifier) {\n setTimeout(() => {\n //\n // When using an Input Method Editor (IME), pressing enter will cause the form to submit unexpectedly. One way\n // to check for this is to look at event.isComposing, which will be true when the IME is open.\n //\n // See https://github.com/shoelace-style/shoelace/pull/988\n //\n if (!event.defaultPrevented && !event.isComposing) {\n this.formControlController.submit();\n }\n });\n }\n }\n\n private handlePasswordToggle() {\n this.passwordVisible = !this.passwordVisible;\n }\n\n @watch('disabled', { waitUntilFirstUpdate: true })\n handleDisabledChange() {\n // Disabled form controls are always valid\n this.formControlController.setValidity(this.disabled);\n }\n\n @watch('step', { waitUntilFirstUpdate: true })\n handleStepChange() {\n // If the numericStrategy has noStepValidation set, skip this as the inputs step will always set to \"any\".\n if (this.#numericStrategy.noStepValidation) {\n return;\n }\n // If step changes, the value may become invalid so we need to recheck after the update. We set the new step\n // imperatively so we don't have to wait for the next render to report the updated validity.\n this.input.step = String(this.step);\n this.formControlController.updateValidity();\n }\n\n @watch('value', { waitUntilFirstUpdate: true })\n async handleValueChange() {\n await this.updateComplete;\n this.formControlController.updateValidity();\n }\n\n /** Sets focus on the input. */\n focus(options?: FocusOptions) {\n this.input.focus(options);\n }\n\n /** Removes focus from the input. */\n blur() {\n this.input.blur();\n }\n\n /** Selects all the text in the input. */\n select() {\n this.input.select();\n }\n\n /** Sets the start and end positions of the text selection (0-based). */\n setSelectionRange(\n selectionStart: number,\n selectionEnd: number,\n selectionDirection: 'forward' | 'backward' | 'none' = 'none'\n ) {\n this.input.setSelectionRange(selectionStart, selectionEnd, selectionDirection);\n }\n\n /** Replaces a range of text with a new string. */\n setRangeText(\n replacement: string,\n start?: number,\n end?: number,\n selectMode: 'select' | 'start' | 'end' | 'preserve' = 'preserve'\n ) {\n const selectionStart = start ?? this.input.selectionStart!;\n const selectionEnd = end ?? this.input.selectionEnd!;\n\n this.input.setRangeText(replacement, selectionStart, selectionEnd, selectMode);\n\n if (this.value !== this.input.value) {\n this.value = this.input.value;\n }\n }\n\n /** Displays the browser picker for an input element (only works if the browser supports it for the input type). */\n showPicker() {\n if ('showPicker' in HTMLInputElement.prototype) {\n this.input.showPicker();\n }\n }\n\n /** Increments the value of a numeric input type by the value of the step attribute. */\n stepUp() {\n if (this.#numericStrategy.noStepAlign) {\n const { max, step, valueAsNumber } = this;\n\n // Needed because the input could be empty. In this case, valueAsNumber is NaN\n const usedInitialValue = Number.isNaN(valueAsNumber) ? 0 : valueAsNumber;\n const usedMin = typeof this.min === 'string' ? parseFloat(this.min) : this.min;\n const usedMax = typeof max === 'string' ? parseFloat(max) : max;\n const usedStep = (typeof step === 'undefined' || step === null || step === 'any') ? 1 : typeof step === 'number' ? step : parseFloat(step);\n\n let wantedNextValue = usedInitialValue + usedStep;\n\n if (typeof usedMax === 'number' && usedMax < wantedNextValue) {\n wantedNextValue = usedMax;\n } else if (typeof usedMin === 'number' && usedMin > wantedNextValue) {\n wantedNextValue = usedMin;\n }\n\n const finalStringValue = this.#isNumberFormattingEnabled()\n ? this.#formatNumber(wantedNextValue)\n : wantedNextValue.toString();\n\n this.input.value = finalStringValue;\n\n if (this.value !== this.input.value) {\n this.value = this.input.value;\n }\n return;\n }\n this.input.stepUp();\n if (this.value !== this.input.value) {\n this.value = this.input.value;\n }\n }\n\n /** Decrements the value of a numeric input type by the value of the step attribute. */\n stepDown() {\n if (this.#numericStrategy.noStepAlign) {\n const { min, max, step, valueAsNumber } = this;\n\n // Needed because the input could be empty. In this case, valueAsNumber is NaN\n const usedInitialValue = Number.isNaN(valueAsNumber) ? 0 : valueAsNumber;\n const usedMin = typeof min === 'string' ? parseFloat(min) : min;\n const usedMax = typeof max === 'string' ? parseFloat(max) : max;\n const usedStep = (typeof step === 'undefined' || step === null || step === 'any') ? 1 : typeof step === 'number' ? step : parseFloat(step);\n\n let wantedNextValue = usedInitialValue - usedStep;\n \n if (typeof usedMin === 'number' && usedMin > wantedNextValue) {\n wantedNextValue = usedMin;\n } else if (typeof usedMax === 'number' && usedMax < wantedNextValue) {\n wantedNextValue = usedMax;\n }\n\n const finalStringValue = this.#isNumberFormattingEnabled()\n ? this.#formatNumber(wantedNextValue)\n : wantedNextValue.toString();\n\n this.input.value = finalStringValue;\n\n if (this.value !== this.input.value) {\n this.value = this.input.value;\n }\n return;\n }\n this.input.stepDown();\n if (this.value !== this.input.value) {\n this.value = this.input.value;\n }\n }\n\n /** Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid. */\n checkValidity() {\n return this.input.checkValidity();\n }\n\n /** Gets the associated form, if one exists. */\n getForm(): HTMLFormElement | null {\n return this.formControlController.getForm();\n }\n\n /** Checks for validity and shows the browser's validation message if the control is invalid. */\n reportValidity() {\n return this.input.reportValidity();\n }\n\n /** Sets a custom validation message. Pass an empty string to restore validity. */\n setCustomValidity(message: string) {\n this.input.setCustomValidity(message);\n this.formControlController.updateValidity();\n }\n\n #formatNumber(value: number) {\n return formatNumber(value, this.step, {\n maximumFractionDigits: this.maxFractionDigits,\n minimumFractionDigits: this.minFractionDigits,\n ...this.numberFormatterOptions,\n });\n }\n\n #isNumberFormattingEnabled() {\n const {\n numberFormatterOptions,\n maxFractionDigits,\n minFractionDigits,\n step,\n } = this;\n\n const hasMaxFractionDigits = typeof maxFractionDigits !== 'undefined' && !Number.isNaN(maxFractionDigits);\n const hasMinFractionDigits = typeof minFractionDigits !== 'undefined' && !Number.isNaN(minFractionDigits);\n\n // Easy checks first: If we have a min or max fraction digit, proceed\n if (hasMaxFractionDigits || hasMinFractionDigits) {\n return true;\n }\n \n // Check if there are any options that where provided via formatter options\n if (typeof numberFormatterOptions === 'object') {\n return true;\n }\n\n // As a last fallback, see if the step has a decimal value\n // If it has, we should format according to the steps amount of fraction digits\n const stepToUse = step === 'any' || !step ? 1 : +step;\n const stepFractionDigits = stepToUse.toString().split('.')[1]?.length || 0;\n\n return stepFractionDigits > 0;\n }\n\n render() {\n const hasLabelSlot = this.hasSlotController.test('label');\n const hasHelpTextSlot = this.hasSlotController.test('help-text');\n const hasPrefixSlot = this.hasSlotController.test('prefix');\n const hasSuffixSlot = this.hasSlotController.test('suffix');\n const hasLabel = this.label ? true : !!hasLabelSlot;\n const hasHelpText = this.helpText ? true : !!hasHelpTextSlot;\n const hasClearIcon = this.clearable && !this.disabled && !this.readonly;\n const isClearIconVisible = hasClearIcon && (typeof this.value === 'number' || this.value.length > 0);\n\n return html`\n <div\n part=\"form-control\"\n class=${classMap({\n 'form-control': true,\n 'form-control--small': this.size === 'small',\n 'form-control--medium': this.size === 'medium',\n 'form-control--large': this.size === 'large',\n 'form-control--has-label': hasLabel,\n 'form-control--has-help-text': hasHelpText,\n 'form-control--has-prefix': hasPrefixSlot,\n 'form-control--has-suffix': hasSuffixSlot\n })}\n >\n <label\n part=\"form-control-label\"\n class=\"form-control__label\"\n for=\"input\"\n aria-hidden=${hasLabel ? 'false' : 'true'}\n >\n <slot name=\"label\">${this.label}</slot>\n </label>\n\n <div part=\"form-control-input\" class=\"form-control-input\">\n <div\n part=\"base\"\n class=${classMap({\n input: true,\n\n // Sizes\n 'input--small': this.size === 'small',\n 'input--medium': this.size === 'medium',\n 'input--large': this.size === 'large',\n\n // States\n 'input--standard': !this.readonly,\n 'input--readonly': this.readonly,\n 'input--disabled': this.disabled,\n 'input--focused': this.hasFocus,\n 'input--empty': !this.value,\n 'input--no-spin-buttons': this.noSpinButtons\n })}\n >\n <span part=\"prefix\" class=\"input__prefix\">\n <slot name=\"prefix\"></slot>\n </span>\n\n <input\n part=\"input\"\n id=\"input\"\n class=\"input__control\"\n type=${this.type === 'password' && this.passwordVisible ? 'text' : this.type}\n title=${this.title /* An empty title prevents browser validation tooltips from appearing on hover */}\n name=${ifDefined(this.name)}\n ?disabled=${this.disabled}\n ?readonly=${this.readonly}\n ?required=${this.required}\n placeholder=${ifDefined(this.placeholder)}\n minlength=${ifDefined(this.minlength)}\n maxlength=${ifDefined(this.maxlength)}\n min=${ifDefined(this.min)}\n max=${ifDefined(this.max)}\n step=${ifDefined(!this.#numericStrategy.noStepValidation ? this.step as number : 'any')}\n .value=${live(this.value)}\n autocapitalize=${ifDefined(this.autocapitalize)}\n autocomplete=${ifDefined(this.autocomplete)}\n autocorrect=${ifDefined(this.autocorrect)}\n ?autofocus=${this.autofocus}\n spellcheck=${this.spellcheck}\n pattern=${ifDefined(this.pattern)}\n enterkeyhint=${ifDefined(this.enterkeyhint)}\n inputmode=${ifDefined(this.inputmode)}\n aria-describedby=\"help-text\"\n @change=${this.handleChange}\n @input=${this.handleInput}\n @invalid=${this.handleInvalid}\n @keydown=${this.handleKeyDown}\n @focus=${this.handleFocus}\n @blur=${this.handleBlur}\n />\n\n ${isClearIconVisible\n ? html`\n <button\n part=\"clear-button\"\n class=\"input__clear\"\n type=\"button\"\n aria-label=${this.localize.term('clearEntry')}\n @click=${this.handleClearClick}\n tabindex=\"-1\"\n >\n <slot name=\"clear-icon\">\n <syn-icon name=\"x-circle-fill\" library=\"system\"></syn-icon>\n </slot>\n </button>\n `\n : ''}\n ${this.passwordToggle && !this.disabled\n ? html`\n <button\n part=\"password-toggle-button\"\n class=\"input__password-toggle\"\n type=\"button\"\n aria-label=${this.localize.term(this.passwordVisible ? 'hidePassword' : 'showPassword')}\n @click=${this.handlePasswordToggle}\n tabindex=\"-1\"\n >\n ${this.passwordVisible\n ? html`\n <slot name=\"show-password-icon\">\n <syn-icon name=\"eye-slash\" library=\"system\"></syn-icon>\n </slot>\n `\n : html`\n <slot name=\"hide-password-icon\">\n <syn-icon name=\"eye\" library=\"system\"></syn-icon>\n </slot>\n `}\n </button>\n `\n : ''}\n\n <span part=\"suffix\" class=\"input__suffix\">\n <slot name=\"suffix\"></slot>\n </span>\n\n ${this.type === 'number' && !this.noSpinButtons\n ? html`\n <div part=\"stepper\" class=\"input__number-stepper\">\n <button\n part=\"decrement-number-stepper\"\n class=\"input__number-stepper-button\"\n type=\"button\"\n ?disabled=${this.isDecrementDisabled()}\n aria-hidden=\"true\"\n ${longPress({ start: () => this.handleStepDown(), end: () => this.handleChange()})}\n tabindex=\"-1\"\n >\n <slot name=\"decrement-number-stepper\">\n <syn-icon name=\"indeterminate\" library=\"system\"></syn-icon>\n </slot>\n </button>\n <syn-divider class=\"input__number-divider\" part=\"divider\" vertical></syn-divider>\n <button\n part=\"increment-number-stepper\"\n class=\"input__number-stepper-button\"\n type=\"button\"\n ?disabled=${this.isIncrementDisabled()}\n aria-hidden=\"true\"\n ${longPress({ start: () => this.handleStepUp(), end: () => this.handleChange()})}\n tabindex=\"-1\"\n >\n <slot name=\"increment-number-stepper\">\n <syn-icon name=\"add\" library=\"system\"></syn-icon>\n </slot>\n </button>\n </div>\n `\n : ''}\n </div>\n </div>\n\n <div\n part=\"form-control-help-text\"\n id=\"help-text\"\n class=\"form-control__help-text\"\n aria-hidden=${hasHelpText ? 'false' : 'true'}\n >\n <slot name=\"help-text\">${this.helpText}</slot>\n </div>\n </div>\n `;\n }\n}\n", "import { type ElementPart, noChange, nothing } from 'lit';\nimport {\n AsyncDirective,\n type DirectiveParameters,\n type Part,\n PartType,\n directive,\n} from 'lit/async-directive.js';\n\ntype Callbacks = {\n start: () => void;\n end: () => void;\n};\n\n/**\n * A directive that determines,if a HTMLButtonElement is long pressed or only clicked.\n * Depending on the state it executes the callback once or repeating.\n *\n * Usage:\n *\n * <button\n * ${longPress({ start: () => this.handleStepUp(), end: () => this.handleChange()})}\n * >\n * my button\n * </button>\n */\nclass LongPressDirective extends AsyncDirective {\n host: HTMLButtonElement;\n\n observer: MutationObserver;\n\n callbacks: Callbacks;\n\n interval: NodeJS.Timeout;\n\n timeout: NodeJS.Timeout;\n\n constructor(part: Part) {\n super(part);\n if (part.type !== PartType.ELEMENT || !(part.element instanceof HTMLButtonElement)) {\n throw new Error('The `longPress` directive must be used on an HTMLButtonElement.');\n }\n }\n\n // eslint-disable-next-line @typescript-eslint/no-unused-vars, class-methods-use-this\n render(_callback: Callbacks): typeof nothing {\n return nothing;\n }\n\n update(part: ElementPart, [callbacks]: DirectiveParameters<this>): typeof noChange {\n // initial call\n if (this.callbacks === undefined && this.host === undefined) {\n this.host = part.element as HTMLButtonElement;\n this.callbacks = { ...callbacks };\n this.host.addEventListener('pointerdown', this.handlePointerDown);\n }\n\n return noChange;\n }\n\n reconnected(): void {\n this.host.addEventListener('pointerdown', this.handlePointerDown);\n }\n\n protected disconnected(): void {\n this.stopSpinningAndCleanUp();\n this.host.removeEventListener('pointerdown', this.handlePointerDown);\n document.removeEventListener('pointerup', this.handlePointerUp);\n }\n\n private handlePointerDown = (event: PointerEvent) => {\n // do nothing if the click was not done from the left mouse button or if the button is disabled\n if (event.button !== 0 || this.host.disabled) {\n return;\n }\n this.spinOnLongPressCallback(event);\n };\n\n /**\n * Start spinning on long press clicks otherwise handle as single click event\n */\n private spinOnLongPressCallback(event: PointerEvent) {\n event.preventDefault();\n event.stopPropagation();\n\n // Start spinning only on long press\n this.timeout = setTimeout(() => {\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // @ts-ignore\n this.timeout = undefined;\n this.interval = setInterval(() => {\n this.callbacks.start();\n }, 50);\n }, 500);\n\n document.addEventListener('pointerup', this.handlePointerUp);\n\n // when buttons becoming disabled during long-press\n this.observer?.disconnect();\n this.observer = new MutationObserver((mutations) => {\n mutations.forEach((mutation) => {\n if (mutation.attributeName === 'disabled') {\n this.stopSpinningAndCleanUp();\n }\n });\n });\n this.observer.observe(this.host, { attributes: true });\n }\n\n private handlePointerUp = (pointerUp?: PointerEvent) => {\n pointerUp?.preventDefault();\n pointerUp?.stopPropagation();\n\n // we did not start to spin\n if (this.timeout) {\n this.callbacks.start();\n }\n\n this.stopSpinningAndCleanUp();\n\n this.callbacks.end();\n document.removeEventListener('pointerup', this.handlePointerUp);\n };\n\n /**\n * Stop the spinning and clean up all timer and observer\n */\n private stopSpinningAndCleanUp() {\n // stop spinning\n clearInterval(this.interval);\n\n clearTimeout(this.timeout);\n this.observer?.disconnect();\n }\n}\n\nexport const longPress = directive(LongPressDirective);\n\nexport type { LongPressDirective };\n"],
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAQA,SAAS,gBAAgB;AAIzB,SAAS,YAAY;AACrB,SAAS,iBAAiB;AAC1B,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AYM;AAAA,EADL,MAAM,SAAS,EAAE,sBAAsB,KAAK,CAAC;AAAA,GAve3B,SAweb;AAxea,WAArB;AAAA,EADC,sBAAsB,UAAU;AAAA,GACZ;",
|
|
6
|
-
"names": []
|
|
7
|
-
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|