@synergy-design-system/components 2.73.0 → 2.74.1
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.FNE4UZQR.js → chunk.23UHYTVZ.js} +4 -4
- package/dist/chunks/{chunk.ES2CV7ME.js → chunk.2CHFE6YR.js} +7 -7
- package/dist/chunks/{chunk.3ZZEUDG5.js → chunk.2RSFWRV3.js} +2 -2
- package/dist/chunks/{chunk.V7POA4NO.js → chunk.2VG4OZMP.js} +6 -6
- package/dist/chunks/{chunk.NJRVG2XC.js → chunk.3CS4Y6SD.js} +2 -2
- package/dist/chunks/{chunk.B6K5ZREQ.js → chunk.44MYYRMX.js} +2 -2
- package/dist/chunks/{chunk.N5B7ROKG.js → chunk.4ELY6CS3.js} +2 -2
- package/dist/chunks/{chunk.MX72UPWV.js → chunk.4GYLPSAW.js} +41 -8
- package/dist/chunks/chunk.4GYLPSAW.js.map +7 -0
- package/dist/chunks/{chunk.3NVB2UCU.js → chunk.4MN5UW37.js} +2 -2
- package/dist/chunks/{chunk.LCOJAAQW.js → chunk.54U2IREI.js} +2 -2
- package/dist/chunks/{chunk.ABZPCJFV.js → chunk.5JAJ6UOP.js} +2 -2
- package/dist/chunks/{chunk.LK4OOOQO.js → chunk.5O2V3PJK.js} +2 -2
- package/dist/chunks/{chunk.EARF7OBF.js → chunk.67K4SB63.js} +2 -2
- package/dist/chunks/{chunk.CUOZ5OIP.js → chunk.7GUGVCIA.js} +3 -3
- package/dist/chunks/{chunk.CZNAV5UR.js → chunk.7MKNPJWH.js} +2 -2
- package/dist/chunks/{chunk.H6HVKYOU.js → chunk.7NSZTEQQ.js} +6 -6
- package/dist/chunks/{chunk.AIF24FJH.js → chunk.7PL6YXRK.js} +2 -2
- package/dist/chunks/{chunk.FR2KY6TI.js → chunk.7SEQCTRE.js} +9 -9
- package/dist/chunks/{chunk.5NDPD5HQ.js → chunk.AHUFCJJ4.js} +6 -6
- package/dist/chunks/{chunk.5KLXRQPC.js → chunk.ARHWVH2H.js} +2 -2
- package/dist/chunks/{chunk.2BKCPCHZ.js → chunk.ASTOBZLW.js} +6 -6
- package/dist/chunks/{chunk.FNST3JTY.js → chunk.AZPS6PFZ.js} +2 -2
- package/dist/chunks/{chunk.GCRQJDMQ.js → chunk.B4BZQ7AA.js} +2 -2
- package/dist/chunks/{chunk.FWZNXMFG.js → chunk.BZS7SBWT.js} +2 -2
- package/dist/chunks/{chunk.GUNTEVBH.js → chunk.C2WNYVCX.js} +6 -6
- package/dist/chunks/{chunk.HC4N72MX.js → chunk.C4JMEKUF.js} +2 -2
- package/dist/chunks/{chunk.RB35XGXK.js → chunk.CEQKJHVR.js} +5 -5
- package/dist/chunks/{chunk.L6SPUHJC.js → chunk.CUX2KT6G.js} +2 -2
- package/dist/chunks/{chunk.5TZKPREU.js → chunk.CVZWZZO4.js} +5 -5
- package/dist/chunks/{chunk.S65UVA3I.js → chunk.DRWNH7CK.js} +8 -8
- package/dist/chunks/{chunk.7U53IPZA.js → chunk.DU3PYL27.js} +9 -9
- package/dist/chunks/{chunk.LRHGJ6L5.js → chunk.EBWQTRRI.js} +6 -6
- package/dist/chunks/{chunk.ZCB6UEMT.js → chunk.EGQVXHZN.js} +2 -2
- package/dist/chunks/{chunk.TQFJ5OZL.js → chunk.EGZ3ITR3.js} +2 -2
- package/dist/chunks/{chunk.FLJJUPTJ.js → chunk.F4Q7QJ2H.js} +5 -5
- package/dist/chunks/{chunk.UVK4DVH3.js → chunk.F5RIEPDV.js} +2 -2
- package/dist/chunks/{chunk.WSRQ5GP4.js → chunk.FA2IOVVT.js} +6 -6
- package/dist/chunks/{chunk.R4YLI5E3.js → chunk.FMWLGI55.js} +6 -6
- package/dist/chunks/{chunk.UC4I66RJ.js → chunk.FNJ4TR7I.js} +6 -6
- package/dist/chunks/{chunk.6V7WE424.js → chunk.FOCVPVRV.js} +6 -6
- package/dist/chunks/{chunk.CKZLY55F.js → chunk.FV32DE62.js} +39 -11
- package/dist/chunks/chunk.FV32DE62.js.map +7 -0
- package/dist/chunks/{chunk.6OZQYFEA.js → chunk.G6UIT5MN.js} +2 -2
- package/dist/chunks/{chunk.AVIIZWKY.js → chunk.GTQVARLT.js} +6 -6
- package/dist/chunks/{chunk.GQTFJIMV.js → chunk.GZFAOJZX.js} +10 -10
- package/dist/chunks/{chunk.KYGDIQ5N.js → chunk.H4BCDC3O.js} +2 -2
- package/dist/chunks/{chunk.AHT6TPFK.js → chunk.HW4CUGNK.js} +2 -2
- package/dist/chunks/{chunk.E5UUNP6E.js → chunk.HYFCK7MM.js} +2 -2
- package/dist/chunks/{chunk.GPT77P4Z.js → chunk.IH4DMLOB.js} +2 -2
- package/dist/chunks/{chunk.UZK44DY3.js → chunk.K2ALUSIU.js} +2 -2
- package/dist/chunks/{chunk.7TAY4YHN.js → chunk.KQLALINS.js} +2 -2
- package/dist/chunks/{chunk.GQ4IRFVL.js → chunk.KVPUKDL2.js} +4 -4
- package/dist/chunks/{chunk.PXNNJTOT.js → chunk.L2ZM5HAU.js} +2 -2
- package/dist/chunks/{chunk.TV4GZH7P.js → chunk.LGURWDRL.js} +2 -2
- package/dist/chunks/{chunk.FCBPZVHF.js → chunk.LH7PWSJJ.js} +20 -13
- package/dist/chunks/chunk.LH7PWSJJ.js.map +7 -0
- package/dist/chunks/{chunk.6IMHOEF7.js → chunk.MADBRX3Q.js} +2 -2
- package/dist/chunks/{chunk.RHHP7G34.js → chunk.MGWZVSDA.js} +2 -2
- package/dist/chunks/{chunk.EB3LQEID.js → chunk.MNRWGZWD.js} +2 -2
- package/dist/chunks/{chunk.S7BMHTCB.js → chunk.NAW4BO5M.js} +2 -2
- package/dist/chunks/{chunk.AWAMMUVW.js → chunk.NCHBG2AH.js} +2 -2
- package/dist/chunks/{chunk.VV75GM3K.js → chunk.NGYRRKFC.js} +2 -2
- package/dist/chunks/{chunk.47OCXPC2.js → chunk.O5PX6RXL.js} +16 -5
- package/dist/chunks/chunk.O5PX6RXL.js.map +7 -0
- package/dist/chunks/{chunk.3ZQI775Q.js → chunk.O64XMQBD.js} +2 -2
- package/dist/chunks/{chunk.CIIVORI3.js → chunk.OILGDI6F.js} +4 -4
- package/dist/chunks/{chunk.YZ4Z63CZ.js → chunk.OIPB4JNU.js} +2 -2
- package/dist/chunks/{chunk.XANL2ZJ5.js → chunk.OJ3CKV3L.js} +2 -2
- package/dist/chunks/{chunk.IEA6FO3D.js → chunk.OL27A5AB.js} +4 -4
- package/dist/chunks/{chunk.J26JMFV5.js → chunk.PVNMN3PX.js} +2 -2
- package/dist/chunks/{chunk.EQE67QRQ.js → chunk.QTBECE3Q.js} +2 -2
- package/dist/chunks/{chunk.W2WK5T3G.js → chunk.R354ZH2W.js} +7 -7
- package/dist/chunks/{chunk.VW5DBFGP.js → chunk.RCJ52OQX.js} +2 -2
- package/dist/chunks/{chunk.UCJBUSYD.js → chunk.RKARPCQT.js} +2 -2
- package/dist/chunks/{chunk.ASDVIXL3.js → chunk.RKJ3Z26U.js} +2 -2
- package/dist/chunks/{chunk.L4FYGO42.js → chunk.SAB4ZA6K.js} +2 -2
- package/dist/chunks/{chunk.LR2Y7UN7.js → chunk.SJ4W3DO5.js} +2 -2
- package/dist/chunks/{chunk.LXTLKNU6.js → chunk.SRI7KTCB.js} +8 -8
- package/dist/chunks/{chunk.FJREQCBR.js → chunk.TPVPME5H.js} +2 -2
- package/dist/chunks/{chunk.FJREQCBR.js.map → chunk.TPVPME5H.js.map} +1 -1
- package/dist/chunks/{chunk.RR6BPVSN.js → chunk.TRR3237I.js} +2 -2
- package/dist/chunks/{chunk.SZEHOV5P.js → chunk.TYYJNNQX.js} +6 -1
- package/dist/chunks/{chunk.SZEHOV5P.js.map → chunk.TYYJNNQX.js.map} +2 -2
- package/dist/chunks/{chunk.Q4YWD2X6.js → chunk.UFWMHXX3.js} +2 -2
- package/dist/chunks/{chunk.3JA6FMKF.js → chunk.UKN3USCK.js} +2 -2
- package/dist/chunks/{chunk.JN4NHGHU.js → chunk.UYJSU27F.js} +5 -5
- package/dist/chunks/{chunk.JT6DR43X.js → chunk.V5JYMNEU.js} +2 -2
- package/dist/chunks/{chunk.5MF3YX5J.js → chunk.VFYX3MLZ.js} +9 -9
- package/dist/chunks/{chunk.TS4WDODQ.js → chunk.VXMGSCJS.js} +2 -2
- package/dist/chunks/{chunk.W2WXZTIU.js → chunk.W4FAANJF.js} +2 -2
- package/dist/chunks/{chunk.RNM5TST3.js → chunk.W5HIE2DW.js} +2 -2
- package/dist/chunks/{chunk.ZEMPBMVZ.js → chunk.W6RGFC5V.js} +2 -2
- package/dist/chunks/{chunk.RNHG6ZUP.js → chunk.WOICKHLW.js} +2 -2
- package/dist/chunks/{chunk.VIUCAESU.js → chunk.XDBJFVSR.js} +6 -6
- package/dist/chunks/{chunk.3OIRWYIG.js → chunk.XEOHS33U.js} +2 -2
- package/dist/chunks/{chunk.IXLV4ZB3.js → chunk.XER7V5WG.js} +8 -8
- package/dist/chunks/{chunk.NMRMJK7Y.js → chunk.XEZITUD5.js} +9 -9
- package/dist/chunks/{chunk.SDI7L5YR.js → chunk.XMSMJWCA.js} +2 -2
- package/dist/chunks/{chunk.4FM4ISDS.js → chunk.XORRG77V.js} +3 -3
- package/dist/chunks/{chunk.7X7O65KW.js → chunk.XUVO6D62.js} +2 -2
- package/dist/chunks/{chunk.6QJYD7WX.js → chunk.YBZFYBWC.js} +3 -1
- package/dist/chunks/chunk.YBZFYBWC.js.map +7 -0
- package/dist/chunks/{chunk.S7B5DBIP.js → chunk.YYYL5AK2.js} +2 -2
- package/dist/chunks/{chunk.CZQX6KFZ.js → chunk.ZC7DAJEX.js} +2 -2
- package/dist/chunks/{chunk.V7PSR7EP.js → chunk.ZRJQZ7AA.js} +2 -2
- package/dist/chunks/{chunk.3JMUCVZH.js → chunk.ZXTLQK2A.js} +2 -2
- package/dist/components/accordion/accordion.component.js +6 -6
- package/dist/components/accordion/accordion.js +7 -7
- package/dist/components/alert/alert.component.d.ts +2 -0
- package/dist/components/alert/alert.component.js +11 -11
- package/dist/components/alert/alert.custom.styles.js +1 -1
- package/dist/components/alert/alert.js +12 -12
- package/dist/components/badge/badge.component.js +7 -7
- package/dist/components/badge/badge.js +8 -8
- package/dist/components/breadcrumb/breadcrumb.component.js +7 -7
- package/dist/components/breadcrumb/breadcrumb.js +8 -8
- package/dist/components/breadcrumb-item/breadcrumb-item.component.js +2 -2
- package/dist/components/breadcrumb-item/breadcrumb-item.js +3 -3
- package/dist/components/button/button.component.js +9 -9
- package/dist/components/button/button.js +10 -10
- package/dist/components/button-group/button-group.component.js +2 -2
- package/dist/components/button-group/button-group.js +3 -3
- package/dist/components/card/card.component.js +2 -2
- package/dist/components/card/card.js +3 -3
- package/dist/components/checkbox/checkbox.component.js +7 -7
- package/dist/components/checkbox/checkbox.js +8 -8
- package/dist/components/combobox/combobox.component.js +10 -10
- package/dist/components/combobox/combobox.js +11 -11
- package/dist/components/details/details.component.js +8 -8
- package/dist/components/details/details.js +9 -9
- package/dist/components/dialog/dialog.component.js +9 -9
- package/dist/components/dialog/dialog.js +10 -10
- package/dist/components/divider/divider.component.js +2 -2
- package/dist/components/divider/divider.js +3 -3
- package/dist/components/drawer/drawer.component.js +9 -9
- package/dist/components/drawer/drawer.js +10 -10
- package/dist/components/dropdown/dropdown.component.js +4 -4
- package/dist/components/dropdown/dropdown.js +5 -5
- package/dist/components/file/file.component.js +10 -10
- package/dist/components/file/file.js +11 -11
- package/dist/components/header/header.component.js +6 -6
- package/dist/components/header/header.js +7 -7
- package/dist/components/icon/icon.component.js +2 -2
- package/dist/components/icon/icon.js +3 -3
- package/dist/components/icon-button/icon-button.component.js +7 -7
- package/dist/components/icon-button/icon-button.js +8 -8
- package/dist/components/input/input.component.js +9 -9
- package/dist/components/input/input.js +10 -10
- package/dist/components/menu/menu.component.js +2 -2
- package/dist/components/menu/menu.js +3 -3
- package/dist/components/menu-item/menu-item.component.js +8 -8
- package/dist/components/menu-item/menu-item.custom.styles.js +1 -1
- package/dist/components/menu-item/menu-item.js +9 -9
- package/dist/components/menu-label/menu-label.component.js +3 -3
- package/dist/components/menu-label/menu-label.js +4 -4
- package/dist/components/nav-item/nav-item.component.js +4 -4
- package/dist/components/nav-item/nav-item.js +5 -5
- package/dist/components/optgroup/optgroup.component.js +3 -3
- package/dist/components/optgroup/optgroup.js +4 -4
- package/dist/components/option/option.component.js +5 -5
- package/dist/components/option/option.js +6 -6
- package/dist/components/popup/popup.component.js +2 -2
- package/dist/components/popup/popup.js +3 -3
- package/dist/components/prio-nav/prio-nav.component.js +10 -10
- package/dist/components/prio-nav/prio-nav.js +11 -11
- package/dist/components/progress-bar/progress-bar.component.js +2 -2
- package/dist/components/progress-bar/progress-bar.js +3 -3
- package/dist/components/progress-ring/progress-ring.component.js +2 -2
- package/dist/components/progress-ring/progress-ring.js +3 -3
- package/dist/components/radio/radio.component.js +7 -7
- package/dist/components/radio/radio.js +8 -8
- package/dist/components/radio-button/radio-button.component.js +6 -6
- package/dist/components/radio-button/radio-button.js +7 -7
- package/dist/components/radio-group/radio-group.component.js +7 -7
- package/dist/components/radio-group/radio-group.js +8 -8
- package/dist/components/range/range.component.js +8 -8
- package/dist/components/range/range.js +9 -9
- 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 +11 -11
- package/dist/components/select/select.js +12 -12
- package/dist/components/side-nav/side-nav.component.js +12 -12
- package/dist/components/side-nav/side-nav.js +13 -13
- package/dist/components/spinner/spinner.component.js +2 -2
- package/dist/components/spinner/spinner.js +3 -3
- package/dist/components/switch/switch.component.js +6 -6
- package/dist/components/switch/switch.js +7 -7
- package/dist/components/tab/tab.component.js +9 -9
- package/dist/components/tab/tab.js +10 -10
- package/dist/components/tab-group/tab-group.component.js +10 -10
- package/dist/components/tab-group/tab-group.js +11 -11
- 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 +9 -9
- package/dist/components/tag/tag.js +10 -10
- package/dist/components/textarea/textarea.component.js +6 -6
- package/dist/components/textarea/textarea.js +7 -7
- package/dist/components/tooltip/tooltip.component.js +4 -4
- package/dist/components/tooltip/tooltip.js +5 -5
- package/dist/components/validate/utility.d.ts +13 -0
- package/dist/components/validate/utility.js +6 -2
- package/dist/components/validate/validate.component.d.ts +4 -0
- package/dist/components/validate/validate.component.js +13 -13
- package/dist/components/validate/validate.js +14 -14
- package/dist/custom-elements.json +116 -77
- package/dist/styles/index.css +1 -1
- package/dist/synergy.js +112 -112
- package/dist/utilities/defaultSettings/base.d.ts +1 -0
- package/dist/utilities/defaultSettings/base.js +1 -1
- package/dist/utilities/defaultSettings/decorator.js +3 -3
- package/dist/utilities/defaultSettings/functions.js +2 -2
- package/dist/utilities/defaultSettings/index.js +3 -3
- package/dist/vscode.html-custom-data.json +30 -21
- package/package.json +3 -3
- package/dist/chunks/chunk.47OCXPC2.js.map +0 -7
- package/dist/chunks/chunk.6QJYD7WX.js.map +0 -7
- package/dist/chunks/chunk.CKZLY55F.js.map +0 -7
- package/dist/chunks/chunk.FCBPZVHF.js.map +0 -7
- package/dist/chunks/chunk.MX72UPWV.js.map +0 -7
- /package/dist/chunks/{chunk.FNE4UZQR.js.map → chunk.23UHYTVZ.js.map} +0 -0
- /package/dist/chunks/{chunk.ES2CV7ME.js.map → chunk.2CHFE6YR.js.map} +0 -0
- /package/dist/chunks/{chunk.3ZZEUDG5.js.map → chunk.2RSFWRV3.js.map} +0 -0
- /package/dist/chunks/{chunk.V7POA4NO.js.map → chunk.2VG4OZMP.js.map} +0 -0
- /package/dist/chunks/{chunk.NJRVG2XC.js.map → chunk.3CS4Y6SD.js.map} +0 -0
- /package/dist/chunks/{chunk.B6K5ZREQ.js.map → chunk.44MYYRMX.js.map} +0 -0
- /package/dist/chunks/{chunk.N5B7ROKG.js.map → chunk.4ELY6CS3.js.map} +0 -0
- /package/dist/chunks/{chunk.3NVB2UCU.js.map → chunk.4MN5UW37.js.map} +0 -0
- /package/dist/chunks/{chunk.LCOJAAQW.js.map → chunk.54U2IREI.js.map} +0 -0
- /package/dist/chunks/{chunk.ABZPCJFV.js.map → chunk.5JAJ6UOP.js.map} +0 -0
- /package/dist/chunks/{chunk.LK4OOOQO.js.map → chunk.5O2V3PJK.js.map} +0 -0
- /package/dist/chunks/{chunk.EARF7OBF.js.map → chunk.67K4SB63.js.map} +0 -0
- /package/dist/chunks/{chunk.CUOZ5OIP.js.map → chunk.7GUGVCIA.js.map} +0 -0
- /package/dist/chunks/{chunk.CZNAV5UR.js.map → chunk.7MKNPJWH.js.map} +0 -0
- /package/dist/chunks/{chunk.H6HVKYOU.js.map → chunk.7NSZTEQQ.js.map} +0 -0
- /package/dist/chunks/{chunk.AIF24FJH.js.map → chunk.7PL6YXRK.js.map} +0 -0
- /package/dist/chunks/{chunk.FR2KY6TI.js.map → chunk.7SEQCTRE.js.map} +0 -0
- /package/dist/chunks/{chunk.5NDPD5HQ.js.map → chunk.AHUFCJJ4.js.map} +0 -0
- /package/dist/chunks/{chunk.5KLXRQPC.js.map → chunk.ARHWVH2H.js.map} +0 -0
- /package/dist/chunks/{chunk.2BKCPCHZ.js.map → chunk.ASTOBZLW.js.map} +0 -0
- /package/dist/chunks/{chunk.FNST3JTY.js.map → chunk.AZPS6PFZ.js.map} +0 -0
- /package/dist/chunks/{chunk.GCRQJDMQ.js.map → chunk.B4BZQ7AA.js.map} +0 -0
- /package/dist/chunks/{chunk.FWZNXMFG.js.map → chunk.BZS7SBWT.js.map} +0 -0
- /package/dist/chunks/{chunk.GUNTEVBH.js.map → chunk.C2WNYVCX.js.map} +0 -0
- /package/dist/chunks/{chunk.HC4N72MX.js.map → chunk.C4JMEKUF.js.map} +0 -0
- /package/dist/chunks/{chunk.RB35XGXK.js.map → chunk.CEQKJHVR.js.map} +0 -0
- /package/dist/chunks/{chunk.L6SPUHJC.js.map → chunk.CUX2KT6G.js.map} +0 -0
- /package/dist/chunks/{chunk.5TZKPREU.js.map → chunk.CVZWZZO4.js.map} +0 -0
- /package/dist/chunks/{chunk.S65UVA3I.js.map → chunk.DRWNH7CK.js.map} +0 -0
- /package/dist/chunks/{chunk.7U53IPZA.js.map → chunk.DU3PYL27.js.map} +0 -0
- /package/dist/chunks/{chunk.LRHGJ6L5.js.map → chunk.EBWQTRRI.js.map} +0 -0
- /package/dist/chunks/{chunk.ZCB6UEMT.js.map → chunk.EGQVXHZN.js.map} +0 -0
- /package/dist/chunks/{chunk.TQFJ5OZL.js.map → chunk.EGZ3ITR3.js.map} +0 -0
- /package/dist/chunks/{chunk.FLJJUPTJ.js.map → chunk.F4Q7QJ2H.js.map} +0 -0
- /package/dist/chunks/{chunk.UVK4DVH3.js.map → chunk.F5RIEPDV.js.map} +0 -0
- /package/dist/chunks/{chunk.WSRQ5GP4.js.map → chunk.FA2IOVVT.js.map} +0 -0
- /package/dist/chunks/{chunk.R4YLI5E3.js.map → chunk.FMWLGI55.js.map} +0 -0
- /package/dist/chunks/{chunk.UC4I66RJ.js.map → chunk.FNJ4TR7I.js.map} +0 -0
- /package/dist/chunks/{chunk.6V7WE424.js.map → chunk.FOCVPVRV.js.map} +0 -0
- /package/dist/chunks/{chunk.6OZQYFEA.js.map → chunk.G6UIT5MN.js.map} +0 -0
- /package/dist/chunks/{chunk.AVIIZWKY.js.map → chunk.GTQVARLT.js.map} +0 -0
- /package/dist/chunks/{chunk.GQTFJIMV.js.map → chunk.GZFAOJZX.js.map} +0 -0
- /package/dist/chunks/{chunk.KYGDIQ5N.js.map → chunk.H4BCDC3O.js.map} +0 -0
- /package/dist/chunks/{chunk.AHT6TPFK.js.map → chunk.HW4CUGNK.js.map} +0 -0
- /package/dist/chunks/{chunk.E5UUNP6E.js.map → chunk.HYFCK7MM.js.map} +0 -0
- /package/dist/chunks/{chunk.GPT77P4Z.js.map → chunk.IH4DMLOB.js.map} +0 -0
- /package/dist/chunks/{chunk.UZK44DY3.js.map → chunk.K2ALUSIU.js.map} +0 -0
- /package/dist/chunks/{chunk.7TAY4YHN.js.map → chunk.KQLALINS.js.map} +0 -0
- /package/dist/chunks/{chunk.GQ4IRFVL.js.map → chunk.KVPUKDL2.js.map} +0 -0
- /package/dist/chunks/{chunk.PXNNJTOT.js.map → chunk.L2ZM5HAU.js.map} +0 -0
- /package/dist/chunks/{chunk.TV4GZH7P.js.map → chunk.LGURWDRL.js.map} +0 -0
- /package/dist/chunks/{chunk.6IMHOEF7.js.map → chunk.MADBRX3Q.js.map} +0 -0
- /package/dist/chunks/{chunk.RHHP7G34.js.map → chunk.MGWZVSDA.js.map} +0 -0
- /package/dist/chunks/{chunk.EB3LQEID.js.map → chunk.MNRWGZWD.js.map} +0 -0
- /package/dist/chunks/{chunk.S7BMHTCB.js.map → chunk.NAW4BO5M.js.map} +0 -0
- /package/dist/chunks/{chunk.AWAMMUVW.js.map → chunk.NCHBG2AH.js.map} +0 -0
- /package/dist/chunks/{chunk.VV75GM3K.js.map → chunk.NGYRRKFC.js.map} +0 -0
- /package/dist/chunks/{chunk.3ZQI775Q.js.map → chunk.O64XMQBD.js.map} +0 -0
- /package/dist/chunks/{chunk.CIIVORI3.js.map → chunk.OILGDI6F.js.map} +0 -0
- /package/dist/chunks/{chunk.YZ4Z63CZ.js.map → chunk.OIPB4JNU.js.map} +0 -0
- /package/dist/chunks/{chunk.XANL2ZJ5.js.map → chunk.OJ3CKV3L.js.map} +0 -0
- /package/dist/chunks/{chunk.IEA6FO3D.js.map → chunk.OL27A5AB.js.map} +0 -0
- /package/dist/chunks/{chunk.J26JMFV5.js.map → chunk.PVNMN3PX.js.map} +0 -0
- /package/dist/chunks/{chunk.EQE67QRQ.js.map → chunk.QTBECE3Q.js.map} +0 -0
- /package/dist/chunks/{chunk.W2WK5T3G.js.map → chunk.R354ZH2W.js.map} +0 -0
- /package/dist/chunks/{chunk.VW5DBFGP.js.map → chunk.RCJ52OQX.js.map} +0 -0
- /package/dist/chunks/{chunk.UCJBUSYD.js.map → chunk.RKARPCQT.js.map} +0 -0
- /package/dist/chunks/{chunk.ASDVIXL3.js.map → chunk.RKJ3Z26U.js.map} +0 -0
- /package/dist/chunks/{chunk.L4FYGO42.js.map → chunk.SAB4ZA6K.js.map} +0 -0
- /package/dist/chunks/{chunk.LR2Y7UN7.js.map → chunk.SJ4W3DO5.js.map} +0 -0
- /package/dist/chunks/{chunk.LXTLKNU6.js.map → chunk.SRI7KTCB.js.map} +0 -0
- /package/dist/chunks/{chunk.RR6BPVSN.js.map → chunk.TRR3237I.js.map} +0 -0
- /package/dist/chunks/{chunk.Q4YWD2X6.js.map → chunk.UFWMHXX3.js.map} +0 -0
- /package/dist/chunks/{chunk.3JA6FMKF.js.map → chunk.UKN3USCK.js.map} +0 -0
- /package/dist/chunks/{chunk.JN4NHGHU.js.map → chunk.UYJSU27F.js.map} +0 -0
- /package/dist/chunks/{chunk.JT6DR43X.js.map → chunk.V5JYMNEU.js.map} +0 -0
- /package/dist/chunks/{chunk.5MF3YX5J.js.map → chunk.VFYX3MLZ.js.map} +0 -0
- /package/dist/chunks/{chunk.TS4WDODQ.js.map → chunk.VXMGSCJS.js.map} +0 -0
- /package/dist/chunks/{chunk.W2WXZTIU.js.map → chunk.W4FAANJF.js.map} +0 -0
- /package/dist/chunks/{chunk.RNM5TST3.js.map → chunk.W5HIE2DW.js.map} +0 -0
- /package/dist/chunks/{chunk.ZEMPBMVZ.js.map → chunk.W6RGFC5V.js.map} +0 -0
- /package/dist/chunks/{chunk.RNHG6ZUP.js.map → chunk.WOICKHLW.js.map} +0 -0
- /package/dist/chunks/{chunk.VIUCAESU.js.map → chunk.XDBJFVSR.js.map} +0 -0
- /package/dist/chunks/{chunk.3OIRWYIG.js.map → chunk.XEOHS33U.js.map} +0 -0
- /package/dist/chunks/{chunk.IXLV4ZB3.js.map → chunk.XER7V5WG.js.map} +0 -0
- /package/dist/chunks/{chunk.NMRMJK7Y.js.map → chunk.XEZITUD5.js.map} +0 -0
- /package/dist/chunks/{chunk.SDI7L5YR.js.map → chunk.XMSMJWCA.js.map} +0 -0
- /package/dist/chunks/{chunk.4FM4ISDS.js.map → chunk.XORRG77V.js.map} +0 -0
- /package/dist/chunks/{chunk.7X7O65KW.js.map → chunk.XUVO6D62.js.map} +0 -0
- /package/dist/chunks/{chunk.S7B5DBIP.js.map → chunk.YYYL5AK2.js.map} +0 -0
- /package/dist/chunks/{chunk.CZQX6KFZ.js.map → chunk.ZC7DAJEX.js.map} +0 -0
- /package/dist/chunks/{chunk.V7PSR7EP.js.map → chunk.ZRJQZ7AA.js.map} +0 -0
- /package/dist/chunks/{chunk.3JMUCVZH.js.map → chunk.ZXTLQK2A.js.map} +0 -0
|
@@ -3,13 +3,13 @@ import {
|
|
|
3
3
|
} from "./chunk.EFSUQWJZ.js";
|
|
4
4
|
import {
|
|
5
5
|
SynNavItem
|
|
6
|
-
} from "./chunk.
|
|
6
|
+
} from "./chunk.OL27A5AB.js";
|
|
7
7
|
import {
|
|
8
8
|
SynDivider
|
|
9
|
-
} from "./chunk.
|
|
9
|
+
} from "./chunk.CUX2KT6G.js";
|
|
10
10
|
import {
|
|
11
11
|
SynDrawer
|
|
12
|
-
} from "./chunk.
|
|
12
|
+
} from "./chunk.EBWQTRRI.js";
|
|
13
13
|
import {
|
|
14
14
|
unlockBodyScrolling
|
|
15
15
|
} from "./chunk.5732DMBC.js";
|
|
@@ -26,22 +26,22 @@ import {
|
|
|
26
26
|
} from "./chunk.WVVQK5TE.js";
|
|
27
27
|
import {
|
|
28
28
|
SynIcon
|
|
29
|
-
} from "./chunk.
|
|
29
|
+
} from "./chunk.UFWMHXX3.js";
|
|
30
|
+
import {
|
|
31
|
+
watch
|
|
32
|
+
} from "./chunk.BVZQ6QSY.js";
|
|
30
33
|
import {
|
|
31
34
|
LocalizeController
|
|
32
35
|
} from "./chunk.OAQRCZOO.js";
|
|
33
36
|
import {
|
|
34
37
|
enableDefaultSettings
|
|
35
|
-
} from "./chunk.
|
|
36
|
-
import {
|
|
37
|
-
watch
|
|
38
|
-
} from "./chunk.BVZQ6QSY.js";
|
|
38
|
+
} from "./chunk.HYFCK7MM.js";
|
|
39
39
|
import {
|
|
40
40
|
component_styles_default
|
|
41
41
|
} from "./chunk.NLYVOJGK.js";
|
|
42
42
|
import {
|
|
43
43
|
SynergyElement
|
|
44
|
-
} from "./chunk.
|
|
44
|
+
} from "./chunk.TPVPME5H.js";
|
|
45
45
|
import {
|
|
46
46
|
__decorateClass
|
|
47
47
|
} from "./chunk.Z4XV3SMG.js";
|
|
@@ -349,4 +349,4 @@ setDefaultAnimation("sideNav.overlay.hide", {
|
|
|
349
349
|
export {
|
|
350
350
|
SynSideNav
|
|
351
351
|
};
|
|
352
|
-
//# sourceMappingURL=chunk.
|
|
352
|
+
//# sourceMappingURL=chunk.GZFAOJZX.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynInput
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.XER7V5WG.js";
|
|
4
4
|
|
|
5
5
|
// src/components/input/input.ts
|
|
6
6
|
var input_default = SynInput;
|
|
@@ -9,4 +9,4 @@ SynInput.define("syn-input");
|
|
|
9
9
|
export {
|
|
10
10
|
input_default
|
|
11
11
|
};
|
|
12
|
-
//# sourceMappingURL=chunk.
|
|
12
|
+
//# sourceMappingURL=chunk.H4BCDC3O.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynTabGroup
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.2CHFE6YR.js";
|
|
4
4
|
|
|
5
5
|
// src/components/tab-group/tab-group.ts
|
|
6
6
|
var tab_group_default = SynTabGroup;
|
|
@@ -9,4 +9,4 @@ SynTabGroup.define("syn-tab-group");
|
|
|
9
9
|
export {
|
|
10
10
|
tab_group_default
|
|
11
11
|
};
|
|
12
|
-
//# sourceMappingURL=chunk.
|
|
12
|
+
//# sourceMappingURL=chunk.HW4CUGNK.js.map
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
addGlobalEventNotification,
|
|
3
3
|
extractDefaultSettingsForElement,
|
|
4
4
|
removeGlobalEventNotification
|
|
5
|
-
} from "./chunk.
|
|
5
|
+
} from "./chunk.C4JMEKUF.js";
|
|
6
6
|
import {
|
|
7
7
|
__privateAdd,
|
|
8
8
|
__privateGet,
|
|
@@ -83,4 +83,4 @@ function enableDefaultSettings(name) {
|
|
|
83
83
|
export {
|
|
84
84
|
enableDefaultSettings
|
|
85
85
|
};
|
|
86
|
-
//# sourceMappingURL=chunk.
|
|
86
|
+
//# sourceMappingURL=chunk.HYFCK7MM.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynMenu
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.ZXTLQK2A.js";
|
|
4
4
|
|
|
5
5
|
// src/components/menu/menu.ts
|
|
6
6
|
var menu_default = SynMenu;
|
|
@@ -9,4 +9,4 @@ SynMenu.define("syn-menu");
|
|
|
9
9
|
export {
|
|
10
10
|
menu_default
|
|
11
11
|
};
|
|
12
|
-
//# sourceMappingURL=chunk.
|
|
12
|
+
//# sourceMappingURL=chunk.IH4DMLOB.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynOption
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.FOCVPVRV.js";
|
|
4
4
|
|
|
5
5
|
// src/components/option/option.ts
|
|
6
6
|
var option_default = SynOption;
|
|
@@ -9,4 +9,4 @@ SynOption.define("syn-option");
|
|
|
9
9
|
export {
|
|
10
10
|
option_default
|
|
11
11
|
};
|
|
12
|
-
//# sourceMappingURL=chunk.
|
|
12
|
+
//# sourceMappingURL=chunk.K2ALUSIU.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynCard
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.RCJ52OQX.js";
|
|
4
4
|
|
|
5
5
|
// src/components/card/card.ts
|
|
6
6
|
var card_default = SynCard;
|
|
@@ -9,4 +9,4 @@ SynCard.define("syn-card");
|
|
|
9
9
|
export {
|
|
10
10
|
card_default
|
|
11
11
|
};
|
|
12
|
-
//# sourceMappingURL=chunk.
|
|
12
|
+
//# sourceMappingURL=chunk.KQLALINS.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynTooltip
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.FA2IOVVT.js";
|
|
4
4
|
import {
|
|
5
5
|
range_styles_default
|
|
6
6
|
} from "./chunk.BXXVSZMC.js";
|
|
@@ -29,13 +29,13 @@ import {
|
|
|
29
29
|
} from "./chunk.OAQRCZOO.js";
|
|
30
30
|
import {
|
|
31
31
|
enableDefaultSettings
|
|
32
|
-
} from "./chunk.
|
|
32
|
+
} from "./chunk.HYFCK7MM.js";
|
|
33
33
|
import {
|
|
34
34
|
component_styles_default
|
|
35
35
|
} from "./chunk.NLYVOJGK.js";
|
|
36
36
|
import {
|
|
37
37
|
SynergyElement
|
|
38
|
-
} from "./chunk.
|
|
38
|
+
} from "./chunk.TPVPME5H.js";
|
|
39
39
|
import {
|
|
40
40
|
__decorateClass,
|
|
41
41
|
__privateAdd,
|
|
@@ -716,4 +716,4 @@ SynRange = __decorateClass([
|
|
|
716
716
|
export {
|
|
717
717
|
SynRange
|
|
718
718
|
};
|
|
719
|
-
//# sourceMappingURL=chunk.
|
|
719
|
+
//# sourceMappingURL=chunk.KVPUKDL2.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynTooltip
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.FA2IOVVT.js";
|
|
4
4
|
|
|
5
5
|
// src/components/tooltip/tooltip.ts
|
|
6
6
|
var tooltip_default = SynTooltip;
|
|
@@ -9,4 +9,4 @@ SynTooltip.define("syn-tooltip");
|
|
|
9
9
|
export {
|
|
10
10
|
tooltip_default
|
|
11
11
|
};
|
|
12
|
-
//# sourceMappingURL=chunk.
|
|
12
|
+
//# sourceMappingURL=chunk.L2ZM5HAU.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynDetails
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.R354ZH2W.js";
|
|
4
4
|
|
|
5
5
|
// src/components/details/details.ts
|
|
6
6
|
var details_default = SynDetails;
|
|
@@ -9,4 +9,4 @@ SynDetails.define("syn-details");
|
|
|
9
9
|
export {
|
|
10
10
|
details_default
|
|
11
11
|
};
|
|
12
|
-
//# sourceMappingURL=chunk.
|
|
12
|
+
//# sourceMappingURL=chunk.LGURWDRL.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk.WXVOTRW5.js";
|
|
4
4
|
import {
|
|
5
5
|
SynIconButton
|
|
6
|
-
} from "./chunk.
|
|
6
|
+
} from "./chunk.23UHYTVZ.js";
|
|
7
7
|
import {
|
|
8
8
|
waitForEvent
|
|
9
9
|
} from "./chunk.C2ENQBPM.js";
|
|
@@ -19,26 +19,26 @@ import {
|
|
|
19
19
|
HasSlotController
|
|
20
20
|
} from "./chunk.WVVQK5TE.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./chunk.
|
|
22
|
+
alert_custom_styles_default
|
|
23
|
+
} from "./chunk.4GYLPSAW.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
} from "./chunk.
|
|
25
|
+
alert_styles_default
|
|
26
|
+
} from "./chunk.BXY667C7.js";
|
|
27
27
|
import {
|
|
28
28
|
watch
|
|
29
29
|
} from "./chunk.BVZQ6QSY.js";
|
|
30
|
+
import {
|
|
31
|
+
LocalizeController
|
|
32
|
+
} from "./chunk.OAQRCZOO.js";
|
|
33
|
+
import {
|
|
34
|
+
enableDefaultSettings
|
|
35
|
+
} from "./chunk.HYFCK7MM.js";
|
|
30
36
|
import {
|
|
31
37
|
component_styles_default
|
|
32
38
|
} from "./chunk.NLYVOJGK.js";
|
|
33
39
|
import {
|
|
34
40
|
SynergyElement
|
|
35
|
-
} from "./chunk.
|
|
36
|
-
import {
|
|
37
|
-
alert_custom_styles_default
|
|
38
|
-
} from "./chunk.MX72UPWV.js";
|
|
39
|
-
import {
|
|
40
|
-
alert_styles_default
|
|
41
|
-
} from "./chunk.BXY667C7.js";
|
|
41
|
+
} from "./chunk.TPVPME5H.js";
|
|
42
42
|
import {
|
|
43
43
|
__decorateClass
|
|
44
44
|
} from "./chunk.Z4XV3SMG.js";
|
|
@@ -56,6 +56,7 @@ var SynAlert = class extends SynergyElement {
|
|
|
56
56
|
this.closable = false;
|
|
57
57
|
this.variant = "primary";
|
|
58
58
|
this.duration = Infinity;
|
|
59
|
+
this.size = "medium";
|
|
59
60
|
this.remainingTime = this.duration;
|
|
60
61
|
}
|
|
61
62
|
static get toastStack() {
|
|
@@ -189,6 +190,9 @@ var SynAlert = class extends SynergyElement {
|
|
|
189
190
|
class=${classMap({
|
|
190
191
|
alert: true,
|
|
191
192
|
"alert--open": this.open,
|
|
193
|
+
"alert--small": this.size === "small",
|
|
194
|
+
"alert--medium": this.size === "medium",
|
|
195
|
+
"alert--large": this.size === "large",
|
|
192
196
|
"alert--closable": this.closable,
|
|
193
197
|
"alert--has-icon": this.hasSlotController.test("icon"),
|
|
194
198
|
"alert--primary": this.variant === "primary",
|
|
@@ -258,6 +262,9 @@ __decorateClass([
|
|
|
258
262
|
__decorateClass([
|
|
259
263
|
property({ type: Number })
|
|
260
264
|
], SynAlert.prototype, "duration", 2);
|
|
265
|
+
__decorateClass([
|
|
266
|
+
property({ reflect: true })
|
|
267
|
+
], SynAlert.prototype, "size", 2);
|
|
261
268
|
__decorateClass([
|
|
262
269
|
state()
|
|
263
270
|
], SynAlert.prototype, "remainingTime", 2);
|
|
@@ -288,4 +295,4 @@ setDefaultAnimation("alert.hide", {
|
|
|
288
295
|
export {
|
|
289
296
|
SynAlert
|
|
290
297
|
};
|
|
291
|
-
//# sourceMappingURL=chunk.
|
|
298
|
+
//# sourceMappingURL=chunk.LH7PWSJJ.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/components/alert/alert.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 { animateTo, stopAnimations } from '../../internal/animate.js';\nimport { blurActiveElement } from '../../internal/closeActiveElement.js';\nimport { classMap } from 'lit/directives/class-map.js';\nimport { getAnimation, setDefaultAnimation } from '../../utilities/animation-registry.js';\nimport { HasSlotController } from '../../internal/slot.js';\nimport { html } from 'lit';\nimport { LocalizeController } from '../../utilities/localize.js';\nimport { property, query, state } from 'lit/decorators.js';\nimport { waitForEvent } from '../../internal/event.js';\nimport { watch } from '../../internal/watch.js';\nimport componentStyles from '../../styles/component.styles.js';\nimport SynergyElement from '../../internal/synergy-element.js';\nimport SynIconButton from '../icon-button/icon-button.component.js';\nimport styles from './alert.styles.js';\nimport customStyles from './alert.custom.styles.js';\nimport type { CSSResultGroup } from 'lit';\nimport { enableDefaultSettings } from '../../utilities/defaultSettings/decorator.js';\n\n/**\n * @summary Alerts are used to display important messages inline or as toast notifications.\n * @documentation https://synergy-design-system.github.io/?path=/docs/components-syn-alert--docs\n * @status stable\n * @since 2.0\n *\n * @dependency syn-icon-button\n *\n * @slot - The alert's main content.\n * @slot icon - An icon to show in the alert. Works best with `<syn-icon>`.\n *\n * @event syn-show - Emitted when the alert opens.\n * @event syn-after-show - Emitted after the alert opens and all animations are complete.\n * @event syn-hide - Emitted when the alert closes.\n * @event syn-after-hide - Emitted after the alert closes and all animations are complete.\n *\n * @csspart base - The component's base wrapper.\n * @csspart icon - The container that wraps the optional icon.\n * @csspart message - The container that wraps the alert's main content.\n * @csspart close-button - The close button, an `<syn-icon-button>`.\n * @csspart close-button__base - The close button's exported `base` part.\n *\n * @animation alert.show - The animation to use when showing the alert.\n * @animation alert.hide - The animation to use when hiding the alert.\n */\n@enableDefaultSettings('SynAlert')\nexport default class SynAlert extends SynergyElement {\n static styles: CSSResultGroup = [componentStyles, styles, customStyles];\n static dependencies = { 'syn-icon-button': SynIconButton };\n\n private autoHideTimeout: number;\n private remainingTimeInterval: number;\n private countdownAnimation?: Animation;\n private readonly hasSlotController = new HasSlotController(this, 'icon', 'suffix');\n private readonly localize = new LocalizeController(this);\n\n private static currentToastStack: HTMLDivElement;\n\n private static get toastStack() {\n if (!this.currentToastStack) {\n this.currentToastStack = Object.assign(document.createElement('div'), {\n className: 'syn-toast-stack'\n });\n }\n return this.currentToastStack;\n }\n\n @query('[part~=\"base\"]') base: HTMLElement;\n\n @query('.alert__countdown-elapsed') countdownElement: HTMLElement;\n\n /**\n * Indicates whether or not the alert is open. You can toggle this attribute to show and hide the alert, or you can\n * use the `show()` and `hide()` methods and this attribute will reflect the alert's open state.\n */\n @property({ type: Boolean, reflect: true }) open = false;\n\n /** Enables a close button that allows the user to dismiss the alert. */\n @property({ type: Boolean, reflect: true }) closable = false;\n\n /** The alert's theme variant. */\n @property({ reflect: true }) variant: 'primary' | 'success' | 'neutral' | 'warning' | 'danger' = 'primary';\n\n /**\n * The length of time, in milliseconds, the alert will show before closing itself. If the user interacts with\n * the alert before it closes (e.g. moves the mouse over it), the timer will restart. Defaults to `Infinity`, meaning\n * the alert will not close on its own.\n */\n @property({ type: Number }) duration = Infinity;\n\n /** The alert's size. */\n @property({ reflect: true }) size: 'small' | 'medium' | 'large' = 'medium';\n\n /**\n * Enables a countdown that indicates the remaining time the alert will be displayed.\n * Typically used to indicate the remaining time before a whole app refresh.\n */\n private countdown? : 'rtl' | 'ltr';\n\n @state() private remainingTime = this.duration;\n\n firstUpdated() {\n this.base.hidden = !this.open;\n }\n\n private restartAutoHide() {\n this.handleCountdownChange();\n clearTimeout(this.autoHideTimeout);\n clearInterval(this.remainingTimeInterval);\n if (this.open && this.duration < Infinity) {\n this.autoHideTimeout = window.setTimeout(() => this.hide(), this.duration);\n this.remainingTime = this.duration;\n this.remainingTimeInterval = window.setInterval(() => {\n this.remainingTime -= 100;\n }, 100);\n }\n }\n\n private pauseAutoHide() {\n this.countdownAnimation?.pause();\n clearTimeout(this.autoHideTimeout);\n clearInterval(this.remainingTimeInterval);\n }\n\n private resumeAutoHide() {\n if (this.duration < Infinity) {\n this.autoHideTimeout = window.setTimeout(() => this.hide(), this.remainingTime);\n this.remainingTimeInterval = window.setInterval(() => {\n this.remainingTime -= 100;\n }, 100);\n this.countdownAnimation?.play();\n }\n }\n\n private handleCountdownChange() {\n if (this.open && this.duration < Infinity && this.countdown) {\n const { countdownElement } = this;\n const start = '100%';\n const end = '0';\n this.countdownAnimation = countdownElement.animate([{ width: start }, { width: end }], {\n duration: this.duration,\n easing: 'linear'\n });\n }\n }\n\n private handleCloseClick() {\n this.hide();\n }\n\n @watch('open', { waitUntilFirstUpdate: true })\n async handleOpenChange() {\n if (this.open) {\n // Show\n this.emit('syn-show');\n\n if (this.duration < Infinity) {\n this.restartAutoHide();\n }\n\n await stopAnimations(this.base);\n this.base.hidden = false;\n const { keyframes, options } = getAnimation(this, 'alert.show', { dir: this.localize.dir() });\n await animateTo(this.base, keyframes, options);\n\n this.emit('syn-after-show');\n } else {\n // Hide\n blurActiveElement(this);\n this.emit('syn-hide');\n\n clearTimeout(this.autoHideTimeout);\n clearInterval(this.remainingTimeInterval);\n\n await stopAnimations(this.base);\n const { keyframes, options } = getAnimation(this, 'alert.hide', { dir: this.localize.dir() });\n await animateTo(this.base, keyframes, options);\n this.base.hidden = true;\n\n this.emit('syn-after-hide');\n }\n }\n\n @watch('duration')\n handleDurationChange() {\n this.restartAutoHide();\n }\n\n /** Shows the alert. */\n async show() {\n if (this.open) {\n return undefined;\n }\n\n this.open = true;\n return waitForEvent(this, 'syn-after-show');\n }\n\n /** Hides the alert */\n async hide() {\n if (!this.open) {\n return undefined;\n }\n\n this.open = false;\n return waitForEvent(this, 'syn-after-hide');\n }\n\n /**\n * Displays the alert as a toast notification. This will move the alert out of its position in the DOM and, when\n * dismissed, it will be removed from the DOM completely. By storing a reference to the alert, you can reuse it by\n * calling this method again. The returned promise will resolve after the alert is hidden.\n */\n async toast() {\n return new Promise<void>(resolve => {\n this.handleCountdownChange();\n if (SynAlert.toastStack.parentElement === null) {\n document.body.append(SynAlert.toastStack);\n }\n\n SynAlert.toastStack.appendChild(this);\n\n // Wait for the toast stack to render\n requestAnimationFrame(() => {\n // eslint-disable-next-line @typescript-eslint/no-unused-expressions -- force a reflow for the initial transition\n this.clientWidth;\n this.show();\n });\n\n this.addEventListener(\n 'syn-after-hide',\n () => {\n SynAlert.toastStack.removeChild(this);\n resolve();\n\n // Remove the toast stack from the DOM when there are no more alerts\n if (SynAlert.toastStack.querySelector('syn-alert') === null) {\n SynAlert.toastStack.remove();\n }\n },\n { once: true }\n );\n });\n }\n\n render() {\n return html`\n <div\n part=\"base\"\n class=${classMap({\n alert: true,\n 'alert--open': this.open,\n 'alert--small': this.size === 'small',\n 'alert--medium': this.size === 'medium',\n 'alert--large': this.size === 'large',\n 'alert--closable': this.closable,\n 'alert--has-icon': this.hasSlotController.test('icon'),\n 'alert--primary': this.variant === 'primary',\n 'alert--success': this.variant === 'success',\n 'alert--neutral': this.variant === 'neutral',\n 'alert--warning': this.variant === 'warning',\n 'alert--danger': this.variant === 'danger'\n })}\n role=\"alert\"\n aria-hidden=${this.open ? 'false' : 'true'}\n @mouseenter=${this.pauseAutoHide}\n @mouseleave=${this.resumeAutoHide}\n >\n <div part=\"icon\" class=\"alert__icon\">\n <slot name=\"icon\"></slot>\n </div>\n\n <div part=\"message\" class=\"alert__message\" aria-live=\"polite\">\n <slot></slot>\n </div>\n\n ${this.closable\n ? html`\n <syn-icon-button\n part=\"close-button\"\n exportparts=\"base:close-button__base\"\n class=\"alert__close-button\"\n name=\"x-lg\"\n library=\"system\"\n label=${this.localize.term('close')}\n @click=${this.handleCloseClick}\n ></syn-icon-button>\n `\n : ''}\n\n <div role=\"timer\" class=\"alert__timer\">${this.remainingTime}</div>\n\n ${this.countdown\n ? html`\n <div\n class=${classMap({\n alert__countdown: true,\n 'alert__countdown--ltr': this.countdown === 'ltr'\n })}\n >\n <div class=\"alert__countdown-elapsed\"></div>\n </div>\n `\n : ''}\n </div>\n `;\n }\n}\n\nsetDefaultAnimation('alert.show', {\n keyframes: [\n { opacity: 0, scale: 0.8 },\n { opacity: 1, scale: 1 }\n ],\n options: { duration: 250, easing: 'ease' }\n});\n\nsetDefaultAnimation('alert.hide', {\n keyframes: [\n { opacity: 1, scale: 1 },\n { opacity: 0, scale: 0.8 }\n ],\n options: { duration: 250, easing: 'ease' }\n});\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAUA,SAAS,gBAAgB;AAGzB,SAAS,YAAY;AAErB,SAAS,UAAU,OAAO,aAAa;AAqCvC,IAAqB,WAArB,cAAsC,eAAe;AAAA,EAArD;AAAA;AAOE,SAAiB,oBAAoB,IAAI,kBAAkB,MAAM,QAAQ,QAAQ;AACjF,SAAiB,WAAW,IAAI,mBAAmB,IAAI;AAqBX,gBAAO;AAGP,oBAAW;AAG1B,mBAAoE;AAOrE,oBAAW;AAGV,gBAAqC;AAQzD,SAAQ,gBAAgB,KAAK;AAAA;AAAA,EAzCtC,WAAmB,aAAa;AAC9B,QAAI,CAAC,KAAK,mBAAmB;AAC3B,WAAK,oBAAoB,OAAO,OAAO,SAAS,cAAc,KAAK,GAAG;AAAA,QACpE,WAAW;AAAA,MACb,CAAC;AAAA,IACH;AACA,WAAO,KAAK;AAAA,EACd;AAAA,EAoCA,eAAe;AACb,SAAK,KAAK,SAAS,CAAC,KAAK;AAAA,EAC3B;AAAA,EAEQ,kBAAkB;AACxB,SAAK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|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
} from "./chunk.NLYVOJGK.js";
|
|
13
13
|
import {
|
|
14
14
|
SynergyElement
|
|
15
|
-
} from "./chunk.
|
|
15
|
+
} from "./chunk.TPVPME5H.js";
|
|
16
16
|
import {
|
|
17
17
|
__decorateClass
|
|
18
18
|
} from "./chunk.Z4XV3SMG.js";
|
|
@@ -76,4 +76,4 @@ __decorateClass([
|
|
|
76
76
|
export {
|
|
77
77
|
SynProgressRing
|
|
78
78
|
};
|
|
79
|
-
//# sourceMappingURL=chunk.
|
|
79
|
+
//# sourceMappingURL=chunk.MADBRX3Q.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynSpinner
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.G6UIT5MN.js";
|
|
4
4
|
|
|
5
5
|
// src/components/spinner/spinner.ts
|
|
6
6
|
var spinner_default = SynSpinner;
|
|
@@ -9,4 +9,4 @@ SynSpinner.define("syn-spinner");
|
|
|
9
9
|
export {
|
|
10
10
|
spinner_default
|
|
11
11
|
};
|
|
12
|
-
//# sourceMappingURL=chunk.
|
|
12
|
+
//# sourceMappingURL=chunk.MGWZVSDA.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynBreadcrumb
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.UYJSU27F.js";
|
|
4
4
|
|
|
5
5
|
// src/components/breadcrumb/breadcrumb.ts
|
|
6
6
|
var breadcrumb_default = SynBreadcrumb;
|
|
@@ -9,4 +9,4 @@ SynBreadcrumb.define("syn-breadcrumb");
|
|
|
9
9
|
export {
|
|
10
10
|
breadcrumb_default
|
|
11
11
|
};
|
|
12
|
-
//# sourceMappingURL=chunk.
|
|
12
|
+
//# sourceMappingURL=chunk.MNRWGZWD.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynRadio
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.AHUFCJJ4.js";
|
|
4
4
|
|
|
5
5
|
// src/components/radio/radio.ts
|
|
6
6
|
var radio_default = SynRadio;
|
|
@@ -9,4 +9,4 @@ SynRadio.define("syn-radio");
|
|
|
9
9
|
export {
|
|
10
10
|
radio_default
|
|
11
11
|
};
|
|
12
|
-
//# sourceMappingURL=chunk.
|
|
12
|
+
//# sourceMappingURL=chunk.NAW4BO5M.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynTextarea
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.F4Q7QJ2H.js";
|
|
4
4
|
|
|
5
5
|
// src/components/textarea/textarea.ts
|
|
6
6
|
var textarea_default = SynTextarea;
|
|
@@ -9,4 +9,4 @@ SynTextarea.define("syn-textarea");
|
|
|
9
9
|
export {
|
|
10
10
|
textarea_default
|
|
11
11
|
};
|
|
12
|
-
//# sourceMappingURL=chunk.
|
|
12
|
+
//# sourceMappingURL=chunk.NCHBG2AH.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynRadioGroup
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.FNJ4TR7I.js";
|
|
4
4
|
|
|
5
5
|
// src/components/radio-group/radio-group.ts
|
|
6
6
|
var radio_group_default = SynRadioGroup;
|
|
@@ -9,4 +9,4 @@ SynRadioGroup.define("syn-radio-group");
|
|
|
9
9
|
export {
|
|
10
10
|
radio_group_default
|
|
11
11
|
};
|
|
12
|
-
//# sourceMappingURL=chunk.
|
|
12
|
+
//# sourceMappingURL=chunk.NGYRRKFC.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynergyElement
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.TPVPME5H.js";
|
|
4
4
|
|
|
5
5
|
// src/components/validate/utility.ts
|
|
6
6
|
var WhitelistedSynergyFormEventNames = [
|
|
@@ -16,21 +16,32 @@ var isEventOfType = (eventName, type) => eventName.includes(type);
|
|
|
16
16
|
var isBlurEvent = (eventName) => isEventOfType(eventName, "blur");
|
|
17
17
|
var isChangeEvent = (eventName) => isEventOfType(eventName, "change");
|
|
18
18
|
var isInvalidEvent = (eventName) => isEventOfType(eventName, "invalid");
|
|
19
|
+
var isSynergyElement = (element) => element instanceof SynergyElement;
|
|
19
20
|
var normalizeEventAttribute = (events = "") => events.split(" ").map((s) => s.trim()).filter(Boolean);
|
|
20
21
|
var getEventNameForElement = (element, eventName) => {
|
|
21
22
|
const sanitizedEventName = eventName.trim();
|
|
22
|
-
const
|
|
23
|
-
if (!
|
|
23
|
+
const elementIsSynergyElement = isSynergyElement(element);
|
|
24
|
+
if (!elementIsSynergyElement) {
|
|
24
25
|
return sanitizedEventName;
|
|
25
26
|
}
|
|
26
27
|
return WhitelistedSynergyFormEventNames.includes(sanitizedEventName) ? `syn-${sanitizedEventName}` : sanitizedEventName;
|
|
27
28
|
};
|
|
29
|
+
var alertSizeForInput = (element) => {
|
|
30
|
+
if (!isSynergyElement(element)) {
|
|
31
|
+
return void 0;
|
|
32
|
+
}
|
|
33
|
+
const { size } = element;
|
|
34
|
+
const hasSize = size !== void 0 && size !== null;
|
|
35
|
+
return hasSize ? size : void 0;
|
|
36
|
+
};
|
|
28
37
|
|
|
29
38
|
export {
|
|
30
39
|
isBlurEvent,
|
|
31
40
|
isChangeEvent,
|
|
32
41
|
isInvalidEvent,
|
|
42
|
+
isSynergyElement,
|
|
33
43
|
normalizeEventAttribute,
|
|
34
|
-
getEventNameForElement
|
|
44
|
+
getEventNameForElement,
|
|
45
|
+
alertSizeForInput
|
|
35
46
|
};
|
|
36
|
-
//# sourceMappingURL=chunk.
|
|
47
|
+
//# sourceMappingURL=chunk.O5PX6RXL.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/components/validate/utility.ts"],
|
|
4
|
+
"sourcesContent": ["import SynergyElement from '../../internal/synergy-element.js';\nimport type SynInput from '../input/input.component.js';\n\n/**\n * @var WhitelistedSynergyFormEventNames A list of all the event names that should be transformed\n * This is needed to allow the automatic transformation of events to synergy events,\n * but only for those synergy needs (e.g. we do not want to transform click to syn-click).\n */\nconst WhitelistedSynergyFormEventNames = [\n 'blur',\n 'change',\n 'clear',\n 'focus',\n 'invalid',\n 'input',\n 'move',\n];\n\n/**\n * Low level interface to check for event type\n * @param eventName The event name to check\n * @param type The type to check\n * @returns True if the event name is of the provided type, false otherwise\n */\nconst isEventOfType = (eventName: string, type: string) => eventName.includes(type);\n\n/**\n * Check if the provided event name is a blur event\n * @param eventName The event name to check\n */\nexport const isBlurEvent = (eventName: string) => isEventOfType(eventName, 'blur');\n\n/**\n * Check if the provided event name is a change event\n * @param eventName The event name to check\n */\nexport const isChangeEvent = (eventName: string) => isEventOfType(eventName, 'change');\n\n/**\n * Check if the provided event is an invalid event\n * @param eventName The event name to check\n */\nexport const isInvalidEvent = (eventName: string) => isEventOfType(eventName, 'invalid');\n\n/**\n * Check if the provided element is a synergy element\n * @param element The element to check for\n * @returns True if the element is a synergy element, false otherwise\n */\nexport const isSynergyElement = (element?: HTMLElement) => element instanceof SynergyElement;\n\n/**\n * Get a list of event names from the provided attribute string\n * @param events The events string\n * @returns an array of events\n */\nexport const normalizeEventAttribute = (events: string = '') => events\n .split(' ')\n .map(s => s.trim())\n .filter(Boolean);\n\n/**\n * Get the event name for the provided element\n * @param element The element to get the event name for\n * @param eventName The event name to get\n */\nexport const getEventNameForElement = (element: HTMLElement, eventName: string) => {\n const sanitizedEventName = eventName.trim();\n const elementIsSynergyElement = isSynergyElement(element);\n\n if (!elementIsSynergyElement) {\n return sanitizedEventName;\n }\n\n return WhitelistedSynergyFormEventNames.includes(sanitizedEventName)\n ? `syn-${sanitizedEventName}`\n : sanitizedEventName;\n};\n\n/**\n * Check the size that the alert should use based on the provided element\n * @param element The html element to check for\n * @returns The size that the alert should use\n */\nexport const alertSizeForInput = (element?: HTMLElement) => {\n // Don\u00B4t set alert size if we are not dealing with a synergy element\n if (!isSynergyElement(element)) {\n return undefined;\n }\n\n const { size } = element as SynInput;\n const hasSize = size !== undefined && size !== null;\n return hasSize ? size : undefined;\n};\n"],
|
|
5
|
+
"mappings": ";;;;;AAQA,IAAM,mCAAmC;AAAA,EACvC;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF;AAQA,IAAM,gBAAgB,CAAC,WAAmB,SAAiB,UAAU,SAAS,IAAI;AAM3E,IAAM,cAAc,CAAC,cAAsB,cAAc,WAAW,MAAM;AAM1E,IAAM,gBAAgB,CAAC,cAAsB,cAAc,WAAW,QAAQ;AAM9E,IAAM,iBAAiB,CAAC,cAAsB,cAAc,WAAW,SAAS;AAOhF,IAAM,mBAAmB,CAAC,YAA0B,mBAAmB;AAOvE,IAAM,0BAA0B,CAAC,SAAiB,OAAO,OAC7D,MAAM,GAAG,EACT,IAAI,OAAK,EAAE,KAAK,CAAC,EACjB,OAAO,OAAO;AAOV,IAAM,yBAAyB,CAAC,SAAsB,cAAsB;AACjF,QAAM,qBAAqB,UAAU,KAAK;AAC1C,QAAM,0BAA0B,iBAAiB,OAAO;AAExD,MAAI,CAAC,yBAAyB;AAC5B,WAAO;AAAA,EACT;AAEA,SAAO,iCAAiC,SAAS,kBAAkB,IAC/D,OAAO,kBAAkB,KACzB;AACN;AAOO,IAAM,oBAAoB,CAAC,YAA0B;AAE1D,MAAI,CAAC,iBAAiB,OAAO,GAAG;AAC9B,WAAO;AAAA,EACT;AAEA,QAAM,EAAE,KAAK,IAAI;AACjB,QAAM,UAAU,SAAS,UAAa,SAAS;AAC/C,SAAO,UAAU,OAAO;AAC1B;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynDialog
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.GTQVARLT.js";
|
|
4
4
|
|
|
5
5
|
// src/components/dialog/dialog.ts
|
|
6
6
|
var dialog_default = SynDialog;
|
|
@@ -9,4 +9,4 @@ SynDialog.define("syn-dialog");
|
|
|
9
9
|
export {
|
|
10
10
|
dialog_default
|
|
11
11
|
};
|
|
12
|
-
//# sourceMappingURL=chunk.
|
|
12
|
+
//# sourceMappingURL=chunk.O64XMQBD.js.map
|
|
@@ -6,19 +6,19 @@ import {
|
|
|
6
6
|
} from "./chunk.6EPU7YUS.js";
|
|
7
7
|
import {
|
|
8
8
|
SynIconButton
|
|
9
|
-
} from "./chunk.
|
|
9
|
+
} from "./chunk.23UHYTVZ.js";
|
|
10
10
|
import {
|
|
11
11
|
LocalizeController
|
|
12
12
|
} from "./chunk.OAQRCZOO.js";
|
|
13
13
|
import {
|
|
14
14
|
enableDefaultSettings
|
|
15
|
-
} from "./chunk.
|
|
15
|
+
} from "./chunk.HYFCK7MM.js";
|
|
16
16
|
import {
|
|
17
17
|
component_styles_default
|
|
18
18
|
} from "./chunk.NLYVOJGK.js";
|
|
19
19
|
import {
|
|
20
20
|
SynergyElement
|
|
21
|
-
} from "./chunk.
|
|
21
|
+
} from "./chunk.TPVPME5H.js";
|
|
22
22
|
import {
|
|
23
23
|
__decorateClass
|
|
24
24
|
} from "./chunk.Z4XV3SMG.js";
|
|
@@ -84,4 +84,4 @@ SynTag = __decorateClass([
|
|
|
84
84
|
export {
|
|
85
85
|
SynTag
|
|
86
86
|
};
|
|
87
|
-
//# sourceMappingURL=chunk.
|
|
87
|
+
//# sourceMappingURL=chunk.OILGDI6F.js.map
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
} from "./chunk.NLYVOJGK.js";
|
|
13
13
|
import {
|
|
14
14
|
SynergyElement
|
|
15
|
-
} from "./chunk.
|
|
15
|
+
} from "./chunk.TPVPME5H.js";
|
|
16
16
|
import {
|
|
17
17
|
__decorateClass
|
|
18
18
|
} from "./chunk.Z4XV3SMG.js";
|
|
@@ -64,4 +64,4 @@ __decorateClass([
|
|
|
64
64
|
export {
|
|
65
65
|
SynTabPanel
|
|
66
66
|
};
|
|
67
|
-
//# sourceMappingURL=chunk.
|
|
67
|
+
//# sourceMappingURL=chunk.OIPB4JNU.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynNavItem
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.OL27A5AB.js";
|
|
4
4
|
|
|
5
5
|
// src/components/nav-item/nav-item.ts
|
|
6
6
|
var nav_item_default = SynNavItem;
|
|
@@ -9,4 +9,4 @@ SynNavItem.define("syn-nav-item");
|
|
|
9
9
|
export {
|
|
10
10
|
nav_item_default
|
|
11
11
|
};
|
|
12
|
-
//# sourceMappingURL=chunk.
|
|
12
|
+
//# sourceMappingURL=chunk.OJ3CKV3L.js.map
|
|
@@ -3,13 +3,13 @@ import {
|
|
|
3
3
|
} from "./chunk.M74YQZ5G.js";
|
|
4
4
|
import {
|
|
5
5
|
SynDivider
|
|
6
|
-
} from "./chunk.
|
|
6
|
+
} from "./chunk.CUX2KT6G.js";
|
|
7
7
|
import {
|
|
8
8
|
HasSlotController
|
|
9
9
|
} from "./chunk.WVVQK5TE.js";
|
|
10
10
|
import {
|
|
11
11
|
SynIcon
|
|
12
|
-
} from "./chunk.
|
|
12
|
+
} from "./chunk.UFWMHXX3.js";
|
|
13
13
|
import {
|
|
14
14
|
watch
|
|
15
15
|
} from "./chunk.BVZQ6QSY.js";
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
} from "./chunk.NLYVOJGK.js";
|
|
19
19
|
import {
|
|
20
20
|
SynergyElement
|
|
21
|
-
} from "./chunk.
|
|
21
|
+
} from "./chunk.TPVPME5H.js";
|
|
22
22
|
import {
|
|
23
23
|
__decorateClass
|
|
24
24
|
} from "./chunk.Z4XV3SMG.js";
|
|
@@ -353,4 +353,4 @@ __decorateClass([
|
|
|
353
353
|
export {
|
|
354
354
|
SynNavItem
|
|
355
355
|
};
|
|
356
|
-
//# sourceMappingURL=chunk.
|
|
356
|
+
//# sourceMappingURL=chunk.OL27A5AB.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynIconButton
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.23UHYTVZ.js";
|
|
4
4
|
|
|
5
5
|
// src/components/icon-button/icon-button.ts
|
|
6
6
|
var icon_button_default = SynIconButton;
|
|
@@ -9,4 +9,4 @@ SynIconButton.define("syn-icon-button");
|
|
|
9
9
|
export {
|
|
10
10
|
icon_button_default
|
|
11
11
|
};
|
|
12
|
-
//# sourceMappingURL=chunk.
|
|
12
|
+
//# sourceMappingURL=chunk.PVNMN3PX.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynBreadcrumbItem
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.F5RIEPDV.js";
|
|
4
4
|
|
|
5
5
|
// src/components/breadcrumb-item/breadcrumb-item.ts
|
|
6
6
|
var breadcrumb_item_default = SynBreadcrumbItem;
|
|
@@ -9,4 +9,4 @@ SynBreadcrumbItem.define("syn-breadcrumb-item");
|
|
|
9
9
|
export {
|
|
10
10
|
breadcrumb_item_default
|
|
11
11
|
};
|
|
12
|
-
//# sourceMappingURL=chunk.
|
|
12
|
+
//# sourceMappingURL=chunk.QTBECE3Q.js.map
|
|
@@ -18,22 +18,22 @@ import {
|
|
|
18
18
|
} from "./chunk.7JGKUB4A.js";
|
|
19
19
|
import {
|
|
20
20
|
SynIcon
|
|
21
|
-
} from "./chunk.
|
|
21
|
+
} from "./chunk.UFWMHXX3.js";
|
|
22
|
+
import {
|
|
23
|
+
watch
|
|
24
|
+
} from "./chunk.BVZQ6QSY.js";
|
|
22
25
|
import {
|
|
23
26
|
LocalizeController
|
|
24
27
|
} from "./chunk.OAQRCZOO.js";
|
|
25
28
|
import {
|
|
26
29
|
enableDefaultSettings
|
|
27
|
-
} from "./chunk.
|
|
28
|
-
import {
|
|
29
|
-
watch
|
|
30
|
-
} from "./chunk.BVZQ6QSY.js";
|
|
30
|
+
} from "./chunk.HYFCK7MM.js";
|
|
31
31
|
import {
|
|
32
32
|
component_styles_default
|
|
33
33
|
} from "./chunk.NLYVOJGK.js";
|
|
34
34
|
import {
|
|
35
35
|
SynergyElement
|
|
36
|
-
} from "./chunk.
|
|
36
|
+
} from "./chunk.TPVPME5H.js";
|
|
37
37
|
import {
|
|
38
38
|
__decorateClass
|
|
39
39
|
} from "./chunk.Z4XV3SMG.js";
|
|
@@ -247,4 +247,4 @@ setDefaultAnimation("details.hide", {
|
|
|
247
247
|
export {
|
|
248
248
|
SynDetails
|
|
249
249
|
};
|
|
250
|
-
//# sourceMappingURL=chunk.
|
|
250
|
+
//# sourceMappingURL=chunk.R354ZH2W.js.map
|