@synergy-design-system/components 2.22.2 → 2.22.4
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.FY7TEGB6.js → chunk.26B4OMCP.js} +2 -2
- package/dist/chunks/{chunk.YL23TQJD.js → chunk.26NQQ7VE.js} +3 -3
- package/dist/chunks/{chunk.OI4FZSHJ.js → chunk.2WD2T46E.js} +2 -2
- package/dist/chunks/{chunk.O3QG6DMY.js → chunk.33XFC7EO.js} +2 -2
- package/dist/chunks/{chunk.LMZUDZ5U.js → chunk.3755NUDF.js} +2 -2
- package/dist/chunks/{chunk.JLXTLEQ2.js → chunk.3IOKT2FV.js} +2 -2
- package/dist/chunks/{chunk.GX7U6NXX.js → chunk.464PVSU3.js} +2 -2
- package/dist/chunks/{chunk.5YED73MO.js → chunk.4FWVZWL6.js} +2 -2
- package/dist/chunks/{chunk.42SO7SLL.js → chunk.53KWN5FZ.js} +2 -2
- package/dist/chunks/{chunk.SFW6QD24.js → chunk.55EGUUJX.js} +2 -2
- package/dist/chunks/{chunk.7SKY62NS.js → chunk.5TMZH4EH.js} +2 -2
- package/dist/chunks/{chunk.TGVCC5V7.js → chunk.5XRAHVSQ.js} +2 -2
- package/dist/chunks/{chunk.B3YJLMJG.js → chunk.5YCO2XTZ.js} +2 -2
- package/dist/chunks/{chunk.2R4BAKFQ.js → chunk.6BYPQHXV.js} +2 -2
- package/dist/chunks/{chunk.BJVZK37M.js → chunk.6YVGO76D.js} +6 -6
- package/dist/chunks/{chunk.UNKUOZF4.js → chunk.7MNZPEAI.js} +2 -2
- package/dist/chunks/{chunk.NL54TUMD.js → chunk.AATZGIXJ.js} +2 -2
- package/dist/chunks/{chunk.CNJX6IOV.js → chunk.ALD2RXSC.js} +2 -2
- package/dist/chunks/{chunk.VF6BYI74.js → chunk.AMMQXZ5K.js} +3 -3
- package/dist/chunks/{chunk.JJYMYZLU.js → chunk.AWRYYAJP.js} +3 -3
- package/dist/chunks/{chunk.XDAALEJT.js → chunk.BEFLZD5R.js} +2 -2
- package/dist/chunks/{chunk.GL7H53A7.js → chunk.BFUWQAQ4.js} +2 -2
- package/dist/chunks/{chunk.FZZW3EOY.js → chunk.BJGGWWFN.js} +5 -5
- package/dist/chunks/{chunk.73YCT5YP.js → chunk.BLIVQQFJ.js} +3 -3
- package/dist/chunks/{chunk.MX76EUDN.js → chunk.CAQ2ILVH.js} +2 -2
- package/dist/chunks/{chunk.HNAX4UUU.js → chunk.CCRQDJTK.js} +2 -2
- package/dist/chunks/{chunk.RKGPPRBN.js → chunk.CL7ZHAKG.js} +2 -2
- package/dist/chunks/{chunk.FN4PXV26.js → chunk.D4YRTKMJ.js} +2 -2
- package/dist/chunks/{chunk.OLCNUALI.js → chunk.D6U4JHI7.js} +2 -2
- package/dist/chunks/{chunk.DRSMYJXR.js → chunk.DN6FM5BH.js} +2 -2
- package/dist/chunks/{chunk.VXOOJVVK.js → chunk.DNC2LPCF.js} +2 -2
- package/dist/chunks/{chunk.RPWTJBCA.js → chunk.DZ7VT6G3.js} +2 -2
- package/dist/chunks/{chunk.NNYDDABY.js → chunk.EO35J4IB.js} +3 -3
- package/dist/chunks/{chunk.LPOZ7NYH.js → chunk.ESYXVOS2.js} +2 -2
- package/dist/chunks/{chunk.IQ6CXY4E.js → chunk.F7LMOI4B.js} +3 -3
- package/dist/chunks/{chunk.KYSIJQYQ.js → chunk.FWA2X7CU.js} +2 -2
- package/dist/chunks/{chunk.UAYWNEF2.js → chunk.GCNE2HYQ.js} +2 -2
- package/dist/chunks/{chunk.NHLEDAM3.js → chunk.GJDKMXBK.js} +2 -2
- package/dist/chunks/{chunk.YOIRUEK7.js → chunk.GMHRTZ25.js} +7 -3
- package/dist/chunks/chunk.GMHRTZ25.js.map +7 -0
- package/dist/chunks/{chunk.SGDGAE5U.js → chunk.GNEGFYDF.js} +2 -2
- package/dist/chunks/{chunk.E6TFC2XT.js → chunk.GO7XHSWZ.js} +3 -3
- package/dist/chunks/{chunk.N5OXFKWE.js → chunk.GQNOUH5H.js} +2 -2
- package/dist/chunks/{chunk.QOSIFCNH.js → chunk.GRJQQDSM.js} +2 -2
- package/dist/chunks/{chunk.N26NKXSF.js → chunk.GWUZE7E6.js} +7 -3
- package/dist/chunks/chunk.GWUZE7E6.js.map +7 -0
- package/dist/chunks/{chunk.JGDQJLPH.js → chunk.HU7PHPNC.js} +2 -2
- package/dist/chunks/{chunk.5EPRIJZV.js → chunk.KVI6WAZS.js} +4 -4
- package/dist/chunks/{chunk.QUFCECNI.js → chunk.M5PO6KYD.js} +2 -2
- package/dist/chunks/{chunk.YPLU64DI.js → chunk.MJK7QRSD.js} +2 -2
- package/dist/chunks/{chunk.2I4SZAV7.js → chunk.N34SUR53.js} +2 -2
- package/dist/chunks/{chunk.EG3PVRPD.js → chunk.NAD3ONL5.js} +3 -3
- package/dist/chunks/{chunk.UB45VYAM.js → chunk.NN6TFZGN.js} +2 -2
- package/dist/chunks/{chunk.FHVNKHG6.js → chunk.P2HF3T5Q.js} +2 -2
- package/dist/chunks/{chunk.I4K7VGET.js → chunk.P2LVNPXE.js} +2 -2
- package/dist/chunks/{chunk.XR5BS6Z4.js → chunk.P3PG3WBC.js} +2 -2
- package/dist/chunks/{chunk.WDV7LVFR.js → chunk.PG24IPOB.js} +3 -3
- package/dist/chunks/{chunk.63WHEGRU.js → chunk.POOLH7VK.js} +5 -5
- package/dist/chunks/{chunk.NOCZMPAM.js → chunk.PR5RO5RO.js} +2 -2
- package/dist/chunks/{chunk.PE454XRT.js → chunk.PRDSL7DR.js} +2 -2
- package/dist/chunks/{chunk.EMCC5AEY.js → chunk.PTGS3OOA.js} +2 -2
- package/dist/chunks/{chunk.ZEGZSIOB.js → chunk.PTLURDXN.js} +2 -2
- package/dist/chunks/{chunk.ZXMSSI2X.js → chunk.PZ5RG2GH.js} +2 -2
- package/dist/chunks/{chunk.RN7N5PH6.js → chunk.QA55U5RT.js} +2 -2
- package/dist/chunks/{chunk.ENU6QBJY.js → chunk.QDKIYFDP.js} +2 -2
- package/dist/chunks/{chunk.N4UI3LPL.js → chunk.QYLA5OW5.js} +2 -2
- package/dist/chunks/{chunk.DPU6AK42.js → chunk.RED6MKL6.js} +2 -2
- package/dist/chunks/{chunk.SUKTJ7VP.js → chunk.RKUIYKRM.js} +4 -4
- package/dist/chunks/{chunk.Q2ZTFH4U.js → chunk.RNFYJI3F.js} +2 -2
- package/dist/chunks/{chunk.BXH56BLP.js → chunk.RPRS4JLW.js} +4 -4
- package/dist/chunks/{chunk.AVICVCTW.js → chunk.RWV4J767.js} +3 -3
- package/dist/chunks/{chunk.OHFKLQBN.js → chunk.SERRTBJ7.js} +3 -3
- package/dist/chunks/{chunk.H27ON5H7.js → chunk.SHZ55Q2I.js} +2 -2
- package/dist/chunks/{chunk.Z5DGG2SR.js → chunk.SRCZROJA.js} +5 -5
- package/dist/chunks/{chunk.SDTIYJSH.js → chunk.SRILX2YS.js} +2 -2
- package/dist/chunks/{chunk.47XSMRVX.js → chunk.SVR4ZFO5.js} +2 -2
- package/dist/chunks/{chunk.XZ6Z32Y7.js → chunk.TO6UTNTJ.js} +2 -2
- package/dist/chunks/{chunk.DNUXSLRR.js → chunk.TQ2RZSJH.js} +2 -2
- package/dist/chunks/{chunk.56ZXEGTN.js → chunk.TVPREKQK.js} +2 -2
- package/dist/chunks/{chunk.UFLSUYMR.js → chunk.U5OBVAVH.js} +7 -3
- package/dist/chunks/chunk.U5OBVAVH.js.map +7 -0
- package/dist/chunks/{chunk.TQAEON6T.js → chunk.U5TAJYPP.js} +3 -3
- package/dist/chunks/{chunk.7UL2AO5G.js → chunk.USM6N6FB.js} +3 -3
- package/dist/chunks/{chunk.CPYKTV7T.js → chunk.UYCZ6KQT.js} +9 -4
- package/dist/chunks/{chunk.CPYKTV7T.js.map → chunk.UYCZ6KQT.js.map} +2 -2
- package/dist/chunks/{chunk.O2YW2HRB.js → chunk.V3FQSIGQ.js} +2 -2
- package/dist/chunks/{chunk.R3QKOXPD.js → chunk.V7XNA4W6.js} +2 -2
- package/dist/chunks/{chunk.IMSDN6MR.js → chunk.VAD5O2AN.js} +2 -2
- package/dist/chunks/{chunk.Z5NRLDWR.js → chunk.VAP66VKR.js} +21 -19
- package/dist/chunks/chunk.VAP66VKR.js.map +7 -0
- package/dist/chunks/{chunk.ZYFJPZSJ.js → chunk.VLKWA4J3.js} +2 -2
- package/dist/chunks/{chunk.F7J77D2F.js → chunk.WOU4GA5I.js} +3 -3
- package/dist/chunks/chunk.WXVOTRW5.js +13 -0
- package/dist/chunks/chunk.WXVOTRW5.js.map +7 -0
- package/dist/chunks/{chunk.HLWROX3O.js → chunk.X3UXKDXI.js} +3 -3
- package/dist/chunks/{chunk.DSSVPSWK.js → chunk.X5LL6UJI.js} +2 -2
- package/dist/chunks/{chunk.DXLVSIU4.js → chunk.XTMRNGZZ.js} +3 -3
- package/dist/chunks/{chunk.KT4S4ZB6.js → chunk.YMIMO2DN.js} +2 -2
- package/dist/chunks/{chunk.ERRLJKSN.js → chunk.YW255WQ5.js} +2 -2
- package/dist/chunks/{chunk.MWHYXQ3V.js → chunk.Z2XH5OM4.js} +2 -2
- package/dist/chunks/{chunk.MWHYXQ3V.js.map → chunk.Z2XH5OM4.js.map} +1 -1
- package/dist/chunks/{chunk.WGOSSSAH.js → chunk.ZF7JI7YE.js} +2 -2
- package/dist/chunks/{chunk.A5J5X63K.js → chunk.ZPWCS7OO.js} +4 -4
- package/dist/components/accordion/accordion.component.js +2 -2
- package/dist/components/accordion/accordion.js +3 -3
- package/dist/components/alert/alert.component.js +5 -4
- package/dist/components/alert/alert.js +6 -5
- package/dist/components/badge/badge.component.js +2 -2
- package/dist/components/badge/badge.js +3 -3
- package/dist/components/breadcrumb/breadcrumb.component.js +3 -3
- package/dist/components/breadcrumb/breadcrumb.js +4 -4
- package/dist/components/breadcrumb-item/breadcrumb-item.component.js +2 -2
- package/dist/components/breadcrumb-item/breadcrumb-item.js +3 -3
- package/dist/components/button/button.component.js +4 -4
- package/dist/components/button/button.js +5 -5
- 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 +3 -3
- package/dist/components/checkbox/checkbox.js +4 -4
- package/dist/components/combobox/combobox.component.js +5 -5
- package/dist/components/combobox/combobox.js +6 -6
- package/dist/components/details/details.component.js +3 -3
- package/dist/components/details/details.js +4 -4
- package/dist/components/dialog/dialog.component.js +5 -4
- package/dist/components/dialog/dialog.js +6 -5
- package/dist/components/divider/divider.component.js +2 -2
- package/dist/components/divider/divider.js +3 -3
- package/dist/components/drawer/drawer.component.js +5 -4
- package/dist/components/drawer/drawer.js +6 -5
- package/dist/components/dropdown/dropdown.component.js +3 -3
- package/dist/components/dropdown/dropdown.js +4 -4
- package/dist/components/file/file.component.js +5 -5
- package/dist/components/file/file.js +6 -6
- package/dist/components/header/header.component.js +4 -4
- package/dist/components/header/header.js +5 -5
- package/dist/components/icon/icon.component.js +2 -2
- package/dist/components/icon/icon.js +3 -3
- package/dist/components/icon-button/icon-button.component.js +3 -3
- package/dist/components/icon-button/icon-button.js +4 -4
- package/dist/components/input/input.component.js +4 -4
- package/dist/components/input/input.js +5 -5
- package/dist/components/menu/menu.component.js +2 -2
- package/dist/components/menu/menu.js +3 -3
- package/dist/components/menu-item/menu-item.component.js +5 -5
- package/dist/components/menu-item/menu-item.js +6 -6
- package/dist/components/menu-label/menu-label.component.js +3 -3
- package/dist/components/menu-label/menu-label.js +4 -4
- package/dist/components/nav-item/nav-item.component.js +3 -3
- package/dist/components/nav-item/nav-item.js +4 -4
- package/dist/components/optgroup/optgroup.component.js +3 -3
- package/dist/components/optgroup/optgroup.js +4 -4
- package/dist/components/option/option.component.js +3 -3
- package/dist/components/option/option.js +4 -4
- package/dist/components/popup/popup.component.js +2 -2
- package/dist/components/popup/popup.js +3 -3
- package/dist/components/prio-nav/prio-nav.component.js +8 -8
- package/dist/components/prio-nav/prio-nav.js +9 -9
- package/dist/components/progress-bar/progress-bar.component.js +2 -2
- package/dist/components/progress-bar/progress-bar.js +3 -3
- package/dist/components/progress-ring/progress-ring.component.js +2 -2
- package/dist/components/progress-ring/progress-ring.js +3 -3
- package/dist/components/radio/radio.component.js +3 -3
- package/dist/components/radio/radio.js +4 -4
- package/dist/components/radio-button/radio-button.component.js +2 -2
- package/dist/components/radio-button/radio-button.js +3 -3
- package/dist/components/radio-group/radio-group.component.js +3 -3
- package/dist/components/radio-group/radio-group.js +4 -4
- package/dist/components/range/range.component.js +4 -4
- package/dist/components/range/range.js +5 -5
- 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 +6 -6
- package/dist/components/select/select.js +7 -7
- package/dist/components/side-nav/side-nav.component.js +7 -6
- package/dist/components/side-nav/side-nav.js +8 -7
- package/dist/components/spinner/spinner.component.js +2 -2
- package/dist/components/spinner/spinner.js +3 -3
- package/dist/components/switch/switch.component.js +2 -2
- package/dist/components/switch/switch.js +3 -3
- package/dist/components/tab/tab.component.js +4 -4
- package/dist/components/tab/tab.js +5 -5
- package/dist/components/tab-group/tab-group.component.d.ts +1 -0
- package/dist/components/tab-group/tab-group.component.js +5 -5
- package/dist/components/tab-group/tab-group.js +6 -6
- 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 +4 -4
- package/dist/components/tag/tag.js +5 -5
- package/dist/components/textarea/textarea.component.js +2 -2
- package/dist/components/textarea/textarea.js +3 -3
- package/dist/components/tooltip/tooltip.component.js +3 -3
- package/dist/components/tooltip/tooltip.js +4 -4
- package/dist/components/validate/utility.js +2 -2
- package/dist/components/validate/validate.component.js +7 -6
- package/dist/components/validate/validate.js +8 -7
- package/dist/custom-elements.json +13 -1
- package/dist/internal/closeActiveElement.d.ts +7 -0
- package/dist/styles/index.css +1 -1
- package/dist/synergy.js +96 -95
- package/package.json +1 -1
- package/dist/chunks/chunk.N26NKXSF.js.map +0 -7
- package/dist/chunks/chunk.UFLSUYMR.js.map +0 -7
- package/dist/chunks/chunk.YOIRUEK7.js.map +0 -7
- package/dist/chunks/chunk.Z5NRLDWR.js.map +0 -7
- /package/dist/chunks/{chunk.FY7TEGB6.js.map → chunk.26B4OMCP.js.map} +0 -0
- /package/dist/chunks/{chunk.YL23TQJD.js.map → chunk.26NQQ7VE.js.map} +0 -0
- /package/dist/chunks/{chunk.OI4FZSHJ.js.map → chunk.2WD2T46E.js.map} +0 -0
- /package/dist/chunks/{chunk.O3QG6DMY.js.map → chunk.33XFC7EO.js.map} +0 -0
- /package/dist/chunks/{chunk.LMZUDZ5U.js.map → chunk.3755NUDF.js.map} +0 -0
- /package/dist/chunks/{chunk.JLXTLEQ2.js.map → chunk.3IOKT2FV.js.map} +0 -0
- /package/dist/chunks/{chunk.GX7U6NXX.js.map → chunk.464PVSU3.js.map} +0 -0
- /package/dist/chunks/{chunk.5YED73MO.js.map → chunk.4FWVZWL6.js.map} +0 -0
- /package/dist/chunks/{chunk.42SO7SLL.js.map → chunk.53KWN5FZ.js.map} +0 -0
- /package/dist/chunks/{chunk.SFW6QD24.js.map → chunk.55EGUUJX.js.map} +0 -0
- /package/dist/chunks/{chunk.7SKY62NS.js.map → chunk.5TMZH4EH.js.map} +0 -0
- /package/dist/chunks/{chunk.TGVCC5V7.js.map → chunk.5XRAHVSQ.js.map} +0 -0
- /package/dist/chunks/{chunk.B3YJLMJG.js.map → chunk.5YCO2XTZ.js.map} +0 -0
- /package/dist/chunks/{chunk.2R4BAKFQ.js.map → chunk.6BYPQHXV.js.map} +0 -0
- /package/dist/chunks/{chunk.BJVZK37M.js.map → chunk.6YVGO76D.js.map} +0 -0
- /package/dist/chunks/{chunk.UNKUOZF4.js.map → chunk.7MNZPEAI.js.map} +0 -0
- /package/dist/chunks/{chunk.NL54TUMD.js.map → chunk.AATZGIXJ.js.map} +0 -0
- /package/dist/chunks/{chunk.CNJX6IOV.js.map → chunk.ALD2RXSC.js.map} +0 -0
- /package/dist/chunks/{chunk.VF6BYI74.js.map → chunk.AMMQXZ5K.js.map} +0 -0
- /package/dist/chunks/{chunk.JJYMYZLU.js.map → chunk.AWRYYAJP.js.map} +0 -0
- /package/dist/chunks/{chunk.XDAALEJT.js.map → chunk.BEFLZD5R.js.map} +0 -0
- /package/dist/chunks/{chunk.GL7H53A7.js.map → chunk.BFUWQAQ4.js.map} +0 -0
- /package/dist/chunks/{chunk.FZZW3EOY.js.map → chunk.BJGGWWFN.js.map} +0 -0
- /package/dist/chunks/{chunk.73YCT5YP.js.map → chunk.BLIVQQFJ.js.map} +0 -0
- /package/dist/chunks/{chunk.MX76EUDN.js.map → chunk.CAQ2ILVH.js.map} +0 -0
- /package/dist/chunks/{chunk.HNAX4UUU.js.map → chunk.CCRQDJTK.js.map} +0 -0
- /package/dist/chunks/{chunk.RKGPPRBN.js.map → chunk.CL7ZHAKG.js.map} +0 -0
- /package/dist/chunks/{chunk.FN4PXV26.js.map → chunk.D4YRTKMJ.js.map} +0 -0
- /package/dist/chunks/{chunk.OLCNUALI.js.map → chunk.D6U4JHI7.js.map} +0 -0
- /package/dist/chunks/{chunk.DRSMYJXR.js.map → chunk.DN6FM5BH.js.map} +0 -0
- /package/dist/chunks/{chunk.VXOOJVVK.js.map → chunk.DNC2LPCF.js.map} +0 -0
- /package/dist/chunks/{chunk.RPWTJBCA.js.map → chunk.DZ7VT6G3.js.map} +0 -0
- /package/dist/chunks/{chunk.NNYDDABY.js.map → chunk.EO35J4IB.js.map} +0 -0
- /package/dist/chunks/{chunk.LPOZ7NYH.js.map → chunk.ESYXVOS2.js.map} +0 -0
- /package/dist/chunks/{chunk.IQ6CXY4E.js.map → chunk.F7LMOI4B.js.map} +0 -0
- /package/dist/chunks/{chunk.KYSIJQYQ.js.map → chunk.FWA2X7CU.js.map} +0 -0
- /package/dist/chunks/{chunk.UAYWNEF2.js.map → chunk.GCNE2HYQ.js.map} +0 -0
- /package/dist/chunks/{chunk.NHLEDAM3.js.map → chunk.GJDKMXBK.js.map} +0 -0
- /package/dist/chunks/{chunk.SGDGAE5U.js.map → chunk.GNEGFYDF.js.map} +0 -0
- /package/dist/chunks/{chunk.E6TFC2XT.js.map → chunk.GO7XHSWZ.js.map} +0 -0
- /package/dist/chunks/{chunk.N5OXFKWE.js.map → chunk.GQNOUH5H.js.map} +0 -0
- /package/dist/chunks/{chunk.QOSIFCNH.js.map → chunk.GRJQQDSM.js.map} +0 -0
- /package/dist/chunks/{chunk.JGDQJLPH.js.map → chunk.HU7PHPNC.js.map} +0 -0
- /package/dist/chunks/{chunk.5EPRIJZV.js.map → chunk.KVI6WAZS.js.map} +0 -0
- /package/dist/chunks/{chunk.QUFCECNI.js.map → chunk.M5PO6KYD.js.map} +0 -0
- /package/dist/chunks/{chunk.YPLU64DI.js.map → chunk.MJK7QRSD.js.map} +0 -0
- /package/dist/chunks/{chunk.2I4SZAV7.js.map → chunk.N34SUR53.js.map} +0 -0
- /package/dist/chunks/{chunk.EG3PVRPD.js.map → chunk.NAD3ONL5.js.map} +0 -0
- /package/dist/chunks/{chunk.UB45VYAM.js.map → chunk.NN6TFZGN.js.map} +0 -0
- /package/dist/chunks/{chunk.FHVNKHG6.js.map → chunk.P2HF3T5Q.js.map} +0 -0
- /package/dist/chunks/{chunk.I4K7VGET.js.map → chunk.P2LVNPXE.js.map} +0 -0
- /package/dist/chunks/{chunk.XR5BS6Z4.js.map → chunk.P3PG3WBC.js.map} +0 -0
- /package/dist/chunks/{chunk.WDV7LVFR.js.map → chunk.PG24IPOB.js.map} +0 -0
- /package/dist/chunks/{chunk.63WHEGRU.js.map → chunk.POOLH7VK.js.map} +0 -0
- /package/dist/chunks/{chunk.NOCZMPAM.js.map → chunk.PR5RO5RO.js.map} +0 -0
- /package/dist/chunks/{chunk.PE454XRT.js.map → chunk.PRDSL7DR.js.map} +0 -0
- /package/dist/chunks/{chunk.EMCC5AEY.js.map → chunk.PTGS3OOA.js.map} +0 -0
- /package/dist/chunks/{chunk.ZEGZSIOB.js.map → chunk.PTLURDXN.js.map} +0 -0
- /package/dist/chunks/{chunk.ZXMSSI2X.js.map → chunk.PZ5RG2GH.js.map} +0 -0
- /package/dist/chunks/{chunk.RN7N5PH6.js.map → chunk.QA55U5RT.js.map} +0 -0
- /package/dist/chunks/{chunk.ENU6QBJY.js.map → chunk.QDKIYFDP.js.map} +0 -0
- /package/dist/chunks/{chunk.N4UI3LPL.js.map → chunk.QYLA5OW5.js.map} +0 -0
- /package/dist/chunks/{chunk.DPU6AK42.js.map → chunk.RED6MKL6.js.map} +0 -0
- /package/dist/chunks/{chunk.SUKTJ7VP.js.map → chunk.RKUIYKRM.js.map} +0 -0
- /package/dist/chunks/{chunk.Q2ZTFH4U.js.map → chunk.RNFYJI3F.js.map} +0 -0
- /package/dist/chunks/{chunk.BXH56BLP.js.map → chunk.RPRS4JLW.js.map} +0 -0
- /package/dist/chunks/{chunk.AVICVCTW.js.map → chunk.RWV4J767.js.map} +0 -0
- /package/dist/chunks/{chunk.OHFKLQBN.js.map → chunk.SERRTBJ7.js.map} +0 -0
- /package/dist/chunks/{chunk.H27ON5H7.js.map → chunk.SHZ55Q2I.js.map} +0 -0
- /package/dist/chunks/{chunk.Z5DGG2SR.js.map → chunk.SRCZROJA.js.map} +0 -0
- /package/dist/chunks/{chunk.SDTIYJSH.js.map → chunk.SRILX2YS.js.map} +0 -0
- /package/dist/chunks/{chunk.47XSMRVX.js.map → chunk.SVR4ZFO5.js.map} +0 -0
- /package/dist/chunks/{chunk.XZ6Z32Y7.js.map → chunk.TO6UTNTJ.js.map} +0 -0
- /package/dist/chunks/{chunk.DNUXSLRR.js.map → chunk.TQ2RZSJH.js.map} +0 -0
- /package/dist/chunks/{chunk.56ZXEGTN.js.map → chunk.TVPREKQK.js.map} +0 -0
- /package/dist/chunks/{chunk.TQAEON6T.js.map → chunk.U5TAJYPP.js.map} +0 -0
- /package/dist/chunks/{chunk.7UL2AO5G.js.map → chunk.USM6N6FB.js.map} +0 -0
- /package/dist/chunks/{chunk.O2YW2HRB.js.map → chunk.V3FQSIGQ.js.map} +0 -0
- /package/dist/chunks/{chunk.R3QKOXPD.js.map → chunk.V7XNA4W6.js.map} +0 -0
- /package/dist/chunks/{chunk.IMSDN6MR.js.map → chunk.VAD5O2AN.js.map} +0 -0
- /package/dist/chunks/{chunk.ZYFJPZSJ.js.map → chunk.VLKWA4J3.js.map} +0 -0
- /package/dist/chunks/{chunk.F7J77D2F.js.map → chunk.WOU4GA5I.js.map} +0 -0
- /package/dist/chunks/{chunk.HLWROX3O.js.map → chunk.X3UXKDXI.js.map} +0 -0
- /package/dist/chunks/{chunk.DSSVPSWK.js.map → chunk.X5LL6UJI.js.map} +0 -0
- /package/dist/chunks/{chunk.DXLVSIU4.js.map → chunk.XTMRNGZZ.js.map} +0 -0
- /package/dist/chunks/{chunk.KT4S4ZB6.js.map → chunk.YMIMO2DN.js.map} +0 -0
- /package/dist/chunks/{chunk.ERRLJKSN.js.map → chunk.YW255WQ5.js.map} +0 -0
- /package/dist/chunks/{chunk.WGOSSSAH.js.map → chunk.ZF7JI7YE.js.map} +0 -0
- /package/dist/chunks/{chunk.A5J5X63K.js.map → chunk.ZPWCS7OO.js.map} +0 -0
package/dist/synergy.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "./chunks/chunk.RSCUHBW3.js";
|
|
2
2
|
import {
|
|
3
3
|
validate_default
|
|
4
|
-
} from "./chunks/chunk.
|
|
4
|
+
} from "./chunks/chunk.TVPREKQK.js";
|
|
5
5
|
import {
|
|
6
6
|
getFormControls,
|
|
7
7
|
serialize
|
|
@@ -9,214 +9,214 @@ import {
|
|
|
9
9
|
import "./chunks/chunk.NKIYFJN2.js";
|
|
10
10
|
import {
|
|
11
11
|
textarea_default
|
|
12
|
-
} from "./chunks/chunk.
|
|
12
|
+
} from "./chunks/chunk.RNFYJI3F.js";
|
|
13
13
|
import {
|
|
14
14
|
tooltip_default
|
|
15
|
-
} from "./chunks/chunk.
|
|
16
|
-
import "./chunks/chunk.
|
|
17
|
-
import "./chunks/chunk.
|
|
15
|
+
} from "./chunks/chunk.SVR4ZFO5.js";
|
|
16
|
+
import "./chunks/chunk.ZPWCS7OO.js";
|
|
17
|
+
import "./chunks/chunk.YW255WQ5.js";
|
|
18
18
|
import "./chunks/chunk.MVM3NN6Y.js";
|
|
19
19
|
import {
|
|
20
20
|
tab_panel_default
|
|
21
|
-
} from "./chunks/chunk.
|
|
21
|
+
} from "./chunks/chunk.DNC2LPCF.js";
|
|
22
22
|
import {
|
|
23
23
|
tag_default
|
|
24
|
-
} from "./chunks/chunk.
|
|
25
|
-
import "./chunks/chunk.
|
|
24
|
+
} from "./chunks/chunk.PRDSL7DR.js";
|
|
25
|
+
import "./chunks/chunk.DZ7VT6G3.js";
|
|
26
26
|
import "./chunks/chunk.YBIBWRKC.js";
|
|
27
27
|
import "./chunks/chunk.FQWBH6B3.js";
|
|
28
28
|
import {
|
|
29
29
|
tab_default
|
|
30
|
-
} from "./chunks/chunk.
|
|
30
|
+
} from "./chunks/chunk.GCNE2HYQ.js";
|
|
31
31
|
import {
|
|
32
32
|
tab_group_default
|
|
33
|
-
} from "./chunks/chunk.
|
|
34
|
-
import "./chunks/chunk.
|
|
33
|
+
} from "./chunks/chunk.PZ5RG2GH.js";
|
|
34
|
+
import "./chunks/chunk.UYCZ6KQT.js";
|
|
35
35
|
import "./chunks/chunk.XOXVVU5C.js";
|
|
36
36
|
import "./chunks/chunk.PKYC7QF3.js";
|
|
37
|
-
import "./chunks/chunk.
|
|
37
|
+
import "./chunks/chunk.SRILX2YS.js";
|
|
38
38
|
import "./chunks/chunk.XHWYGYMQ.js";
|
|
39
39
|
import "./chunks/chunk.HVXG4JG6.js";
|
|
40
40
|
import {
|
|
41
41
|
spinner_default
|
|
42
|
-
} from "./chunks/chunk.
|
|
42
|
+
} from "./chunks/chunk.AATZGIXJ.js";
|
|
43
43
|
import {
|
|
44
44
|
switch_default
|
|
45
|
-
} from "./chunks/chunk.
|
|
46
|
-
import "./chunks/chunk.
|
|
45
|
+
} from "./chunks/chunk.3755NUDF.js";
|
|
46
|
+
import "./chunks/chunk.ESYXVOS2.js";
|
|
47
47
|
import "./chunks/chunk.W5JK7V7K.js";
|
|
48
48
|
import "./chunks/chunk.4TB35TYG.js";
|
|
49
|
-
import "./chunks/chunk.
|
|
49
|
+
import "./chunks/chunk.XTMRNGZZ.js";
|
|
50
50
|
import "./chunks/chunk.ZW75HBAK.js";
|
|
51
51
|
import "./chunks/chunk.43YNZAWL.js";
|
|
52
52
|
import {
|
|
53
53
|
select_default
|
|
54
|
-
} from "./chunks/chunk.
|
|
54
|
+
} from "./chunks/chunk.D4YRTKMJ.js";
|
|
55
55
|
import {
|
|
56
56
|
side_nav_default
|
|
57
|
-
} from "./chunks/chunk.
|
|
58
|
-
import "./chunks/chunk.
|
|
57
|
+
} from "./chunks/chunk.CAQ2ILVH.js";
|
|
58
|
+
import "./chunks/chunk.VAP66VKR.js";
|
|
59
59
|
import "./chunks/chunk.H3HTSQKK.js";
|
|
60
60
|
import {
|
|
61
61
|
range_tick_default
|
|
62
|
-
} from "./chunks/chunk.
|
|
63
|
-
import "./chunks/chunk.
|
|
62
|
+
} from "./chunks/chunk.QDKIYFDP.js";
|
|
63
|
+
import "./chunks/chunk.TQ2RZSJH.js";
|
|
64
64
|
import "./chunks/chunk.I6YARDHH.js";
|
|
65
|
-
import "./chunks/chunk.
|
|
65
|
+
import "./chunks/chunk.GRJQQDSM.js";
|
|
66
66
|
import "./chunks/chunk.OI3HOOCT.js";
|
|
67
|
-
import "./chunks/chunk.
|
|
68
|
-
import "./chunks/chunk.
|
|
67
|
+
import "./chunks/chunk.BJGGWWFN.js";
|
|
68
|
+
import "./chunks/chunk.PG24IPOB.js";
|
|
69
69
|
import "./chunks/chunk.B6R3IVGO.js";
|
|
70
70
|
import "./chunks/chunk.6EPU7YUS.js";
|
|
71
71
|
import "./chunks/chunk.XTWO6ZZW.js";
|
|
72
72
|
import "./chunks/chunk.B6HFSIU2.js";
|
|
73
73
|
import {
|
|
74
74
|
radio_button_default
|
|
75
|
-
} from "./chunks/chunk.
|
|
75
|
+
} from "./chunks/chunk.YMIMO2DN.js";
|
|
76
76
|
import {
|
|
77
77
|
radio_group_default
|
|
78
|
-
} from "./chunks/chunk.
|
|
79
|
-
import "./chunks/chunk.
|
|
78
|
+
} from "./chunks/chunk.SHZ55Q2I.js";
|
|
79
|
+
import "./chunks/chunk.AMMQXZ5K.js";
|
|
80
80
|
import "./chunks/chunk.32LFHSM5.js";
|
|
81
81
|
import "./chunks/chunk.K62NPKGN.js";
|
|
82
82
|
import {
|
|
83
83
|
range_default
|
|
84
|
-
} from "./chunks/chunk.
|
|
85
|
-
import "./chunks/chunk.
|
|
86
|
-
import "./chunks/chunk.
|
|
84
|
+
} from "./chunks/chunk.TO6UTNTJ.js";
|
|
85
|
+
import "./chunks/chunk.NAD3ONL5.js";
|
|
86
|
+
import "./chunks/chunk.RWV4J767.js";
|
|
87
87
|
import "./chunks/chunk.4X3HY2V5.js";
|
|
88
88
|
import "./chunks/chunk.O644HRW3.js";
|
|
89
89
|
import "./chunks/chunk.236RSW67.js";
|
|
90
90
|
import "./chunks/chunk.VJ5G35TH.js";
|
|
91
91
|
import {
|
|
92
92
|
progress_ring_default
|
|
93
|
-
} from "./chunks/chunk.
|
|
93
|
+
} from "./chunks/chunk.4FWVZWL6.js";
|
|
94
94
|
import {
|
|
95
95
|
radio_default
|
|
96
|
-
} from "./chunks/chunk.
|
|
97
|
-
import "./chunks/chunk.
|
|
96
|
+
} from "./chunks/chunk.GQNOUH5H.js";
|
|
97
|
+
import "./chunks/chunk.GO7XHSWZ.js";
|
|
98
98
|
import "./chunks/chunk.UUB3PWNM.js";
|
|
99
99
|
import "./chunks/chunk.EHSNF4SS.js";
|
|
100
|
-
import "./chunks/chunk.
|
|
100
|
+
import "./chunks/chunk.P2HF3T5Q.js";
|
|
101
101
|
import "./chunks/chunk.4BRJ5OJE.js";
|
|
102
102
|
import {
|
|
103
103
|
prio_nav_default
|
|
104
|
-
} from "./chunks/chunk.
|
|
104
|
+
} from "./chunks/chunk.P3PG3WBC.js";
|
|
105
105
|
import {
|
|
106
106
|
progress_bar_default
|
|
107
|
-
} from "./chunks/chunk.
|
|
108
|
-
import "./chunks/chunk.
|
|
107
|
+
} from "./chunks/chunk.3IOKT2FV.js";
|
|
108
|
+
import "./chunks/chunk.BEFLZD5R.js";
|
|
109
109
|
import "./chunks/chunk.AMAK44YX.js";
|
|
110
110
|
import "./chunks/chunk.QUM76UHV.js";
|
|
111
|
-
import "./chunks/chunk.
|
|
111
|
+
import "./chunks/chunk.MJK7QRSD.js";
|
|
112
112
|
import "./chunks/chunk.RMIDAEF5.js";
|
|
113
113
|
import "./chunks/chunk.2V3HGTTL.js";
|
|
114
114
|
import {
|
|
115
115
|
option_default
|
|
116
|
-
} from "./chunks/chunk.
|
|
116
|
+
} from "./chunks/chunk.PR5RO5RO.js";
|
|
117
117
|
import {
|
|
118
118
|
popup_default
|
|
119
|
-
} from "./chunks/chunk.
|
|
120
|
-
import "./chunks/chunk.
|
|
119
|
+
} from "./chunks/chunk.DN6FM5BH.js";
|
|
120
|
+
import "./chunks/chunk.6YVGO76D.js";
|
|
121
121
|
import "./chunks/chunk.OJ3N7TWP.js";
|
|
122
122
|
import "./chunks/chunk.74N5WLM5.js";
|
|
123
123
|
import {
|
|
124
124
|
nav_item_default
|
|
125
|
-
} from "./chunks/chunk.
|
|
126
|
-
import "./chunks/chunk.
|
|
125
|
+
} from "./chunks/chunk.CL7ZHAKG.js";
|
|
126
|
+
import "./chunks/chunk.F7LMOI4B.js";
|
|
127
127
|
import "./chunks/chunk.SHCZO4KK.js";
|
|
128
128
|
import {
|
|
129
129
|
optgroup_default
|
|
130
|
-
} from "./chunks/chunk.
|
|
131
|
-
import "./chunks/chunk.
|
|
130
|
+
} from "./chunks/chunk.VLKWA4J3.js";
|
|
131
|
+
import "./chunks/chunk.AWRYYAJP.js";
|
|
132
132
|
import "./chunks/chunk.MJ7R4QQT.js";
|
|
133
133
|
import {
|
|
134
134
|
menu_item_default
|
|
135
|
-
} from "./chunks/chunk.
|
|
135
|
+
} from "./chunks/chunk.2WD2T46E.js";
|
|
136
136
|
import {
|
|
137
137
|
menu_label_default
|
|
138
|
-
} from "./chunks/chunk.
|
|
139
|
-
import "./chunks/chunk.
|
|
138
|
+
} from "./chunks/chunk.N34SUR53.js";
|
|
139
|
+
import "./chunks/chunk.USM6N6FB.js";
|
|
140
140
|
import "./chunks/chunk.X6GR6IA2.js";
|
|
141
141
|
import "./chunks/chunk.RAOPZXJL.js";
|
|
142
142
|
import {
|
|
143
143
|
input_default
|
|
144
|
-
} from "./chunks/chunk.
|
|
144
|
+
} from "./chunks/chunk.6BYPQHXV.js";
|
|
145
145
|
import {
|
|
146
146
|
menu_default
|
|
147
|
-
} from "./chunks/chunk.
|
|
148
|
-
import "./chunks/chunk.
|
|
147
|
+
} from "./chunks/chunk.PTGS3OOA.js";
|
|
148
|
+
import "./chunks/chunk.V7XNA4W6.js";
|
|
149
149
|
import "./chunks/chunk.AVZITCPQ.js";
|
|
150
150
|
import "./chunks/chunk.C2CWYCOU.js";
|
|
151
|
-
import "./chunks/chunk.
|
|
151
|
+
import "./chunks/chunk.POOLH7VK.js";
|
|
152
152
|
import "./chunks/chunk.R24T7WQN.js";
|
|
153
153
|
import "./chunks/chunk.FSWTBNSI.js";
|
|
154
154
|
import "./chunks/chunk.V4HPWQE7.js";
|
|
155
155
|
import {
|
|
156
156
|
icon_button_default
|
|
157
|
-
} from "./chunks/chunk.
|
|
158
|
-
import "./chunks/chunk.
|
|
157
|
+
} from "./chunks/chunk.GNEGFYDF.js";
|
|
158
|
+
import "./chunks/chunk.KVI6WAZS.js";
|
|
159
159
|
import "./chunks/chunk.II2KA3OR.js";
|
|
160
160
|
import "./chunks/chunk.3B22DBSJ.js";
|
|
161
161
|
import {
|
|
162
162
|
file_default
|
|
163
|
-
} from "./chunks/chunk.
|
|
163
|
+
} from "./chunks/chunk.M5PO6KYD.js";
|
|
164
164
|
import {
|
|
165
165
|
header_default
|
|
166
|
-
} from "./chunks/chunk.
|
|
167
|
-
import "./chunks/chunk.
|
|
166
|
+
} from "./chunks/chunk.BFUWQAQ4.js";
|
|
167
|
+
import "./chunks/chunk.X3UXKDXI.js";
|
|
168
168
|
import "./chunks/chunk.5T3OGIGW.js";
|
|
169
169
|
import {
|
|
170
170
|
icon_default
|
|
171
|
-
} from "./chunks/chunk.
|
|
171
|
+
} from "./chunks/chunk.NN6TFZGN.js";
|
|
172
172
|
import {
|
|
173
173
|
drawer_default
|
|
174
|
-
} from "./chunks/chunk.
|
|
174
|
+
} from "./chunks/chunk.55EGUUJX.js";
|
|
175
175
|
import {
|
|
176
176
|
dropdown_default
|
|
177
|
-
} from "./chunks/chunk.
|
|
178
|
-
import "./chunks/chunk.
|
|
177
|
+
} from "./chunks/chunk.CCRQDJTK.js";
|
|
178
|
+
import "./chunks/chunk.BLIVQQFJ.js";
|
|
179
179
|
import "./chunks/chunk.2KYFCKCK.js";
|
|
180
180
|
import "./chunks/chunk.D6IIQDWJ.js";
|
|
181
|
-
import "./chunks/chunk.
|
|
181
|
+
import "./chunks/chunk.RKUIYKRM.js";
|
|
182
182
|
import "./chunks/chunk.IKZOQ7AE.js";
|
|
183
183
|
import {
|
|
184
184
|
dialog_default
|
|
185
|
-
} from "./chunks/chunk.
|
|
185
|
+
} from "./chunks/chunk.ZF7JI7YE.js";
|
|
186
186
|
import {
|
|
187
187
|
divider_default
|
|
188
|
-
} from "./chunks/chunk.
|
|
189
|
-
import "./chunks/chunk.
|
|
188
|
+
} from "./chunks/chunk.QYLA5OW5.js";
|
|
189
|
+
import "./chunks/chunk.PTLURDXN.js";
|
|
190
190
|
import "./chunks/chunk.FA6V2WD6.js";
|
|
191
191
|
import "./chunks/chunk.FSZIE7IO.js";
|
|
192
|
-
import "./chunks/chunk.
|
|
192
|
+
import "./chunks/chunk.U5OBVAVH.js";
|
|
193
193
|
import "./chunks/chunk.N7QJ54ZM.js";
|
|
194
194
|
import "./chunks/chunk.I4FIU7FA.js";
|
|
195
195
|
import {
|
|
196
196
|
details_default
|
|
197
|
-
} from "./chunks/chunk.
|
|
198
|
-
import "./chunks/chunk.
|
|
197
|
+
} from "./chunks/chunk.FWA2X7CU.js";
|
|
198
|
+
import "./chunks/chunk.26NQQ7VE.js";
|
|
199
199
|
import "./chunks/chunk.PU2BDR2W.js";
|
|
200
200
|
import "./chunks/chunk.VA26EAEP.js";
|
|
201
|
-
import "./chunks/chunk.
|
|
201
|
+
import "./chunks/chunk.GMHRTZ25.js";
|
|
202
202
|
import "./chunks/chunk.MU43DZ7W.js";
|
|
203
203
|
import "./chunks/chunk.4WRP75PK.js";
|
|
204
204
|
import "./chunks/chunk.2MDGY2UP.js";
|
|
205
205
|
import "./chunks/chunk.IU3SSJZE.js";
|
|
206
206
|
import {
|
|
207
207
|
checkbox_default
|
|
208
|
-
} from "./chunks/chunk.
|
|
209
|
-
import "./chunks/chunk.
|
|
208
|
+
} from "./chunks/chunk.GJDKMXBK.js";
|
|
209
|
+
import "./chunks/chunk.U5TAJYPP.js";
|
|
210
210
|
import "./chunks/chunk.6IRAPT75.js";
|
|
211
211
|
import "./chunks/chunk.6OX2AX3Z.js";
|
|
212
212
|
import {
|
|
213
213
|
combobox_default
|
|
214
|
-
} from "./chunks/chunk.
|
|
215
|
-
import "./chunks/chunk.
|
|
216
|
-
import "./chunks/chunk.
|
|
214
|
+
} from "./chunks/chunk.464PVSU3.js";
|
|
215
|
+
import "./chunks/chunk.SRCZROJA.js";
|
|
216
|
+
import "./chunks/chunk.EO35J4IB.js";
|
|
217
217
|
import "./chunks/chunk.IJQ7XW3N.js";
|
|
218
218
|
import "./chunks/chunk.IVM3BGRH.js";
|
|
219
|
-
import "./chunks/chunk.
|
|
219
|
+
import "./chunks/chunk.26B4OMCP.js";
|
|
220
220
|
import "./chunks/chunk.AZ3N5IOO.js";
|
|
221
221
|
import {
|
|
222
222
|
defaultOptionRenderer,
|
|
@@ -231,29 +231,29 @@ import "./chunks/chunk.QC7X32ZP.js";
|
|
|
231
231
|
import "./chunks/chunk.V4SIKF4X.js";
|
|
232
232
|
import {
|
|
233
233
|
button_default
|
|
234
|
-
} from "./chunks/chunk.
|
|
234
|
+
} from "./chunks/chunk.QA55U5RT.js";
|
|
235
235
|
import {
|
|
236
236
|
button_group_default
|
|
237
|
-
} from "./chunks/chunk.
|
|
238
|
-
import "./chunks/chunk.
|
|
237
|
+
} from "./chunks/chunk.X5LL6UJI.js";
|
|
238
|
+
import "./chunks/chunk.5YCO2XTZ.js";
|
|
239
239
|
import "./chunks/chunk.GRVNUIP2.js";
|
|
240
240
|
import {
|
|
241
241
|
card_default
|
|
242
|
-
} from "./chunks/chunk.
|
|
243
|
-
import "./chunks/chunk.
|
|
242
|
+
} from "./chunks/chunk.V3FQSIGQ.js";
|
|
243
|
+
import "./chunks/chunk.7MNZPEAI.js";
|
|
244
244
|
import "./chunks/chunk.QMLSKYXR.js";
|
|
245
245
|
import "./chunks/chunk.C4JTZKPZ.js";
|
|
246
246
|
import {
|
|
247
247
|
breadcrumb_default
|
|
248
|
-
} from "./chunks/chunk.
|
|
248
|
+
} from "./chunks/chunk.RED6MKL6.js";
|
|
249
249
|
import {
|
|
250
250
|
breadcrumb_item_default
|
|
251
|
-
} from "./chunks/chunk.
|
|
252
|
-
import "./chunks/chunk.
|
|
251
|
+
} from "./chunks/chunk.5XRAHVSQ.js";
|
|
252
|
+
import "./chunks/chunk.53KWN5FZ.js";
|
|
253
253
|
import "./chunks/chunk.NGIGPLN2.js";
|
|
254
254
|
import "./chunks/chunk.O6ZH6AOI.js";
|
|
255
|
-
import "./chunks/chunk.
|
|
256
|
-
import "./chunks/chunk.
|
|
255
|
+
import "./chunks/chunk.RPRS4JLW.js";
|
|
256
|
+
import "./chunks/chunk.P2LVNPXE.js";
|
|
257
257
|
import "./chunks/chunk.AWJ376R6.js";
|
|
258
258
|
import "./chunks/chunk.JLXCLATV.js";
|
|
259
259
|
import "./chunks/chunk.AMIQC3O7.js";
|
|
@@ -261,30 +261,31 @@ import "./chunks/chunk.UBS3CSG4.js";
|
|
|
261
261
|
import "./chunks/chunk.5SQ7NVBX.js";
|
|
262
262
|
import {
|
|
263
263
|
alert_default
|
|
264
|
-
} from "./chunks/chunk.
|
|
264
|
+
} from "./chunks/chunk.5TMZH4EH.js";
|
|
265
265
|
import {
|
|
266
266
|
badge_default
|
|
267
|
-
} from "./chunks/chunk.
|
|
268
|
-
import "./chunks/chunk.
|
|
267
|
+
} from "./chunks/chunk.HU7PHPNC.js";
|
|
268
|
+
import "./chunks/chunk.D6U4JHI7.js";
|
|
269
269
|
import "./chunks/chunk.J6CGTLVH.js";
|
|
270
270
|
import "./chunks/chunk.Y5TMYX2L.js";
|
|
271
|
-
import "./chunks/chunk.
|
|
271
|
+
import "./chunks/chunk.SERRTBJ7.js";
|
|
272
272
|
import "./chunks/chunk.32CYREEV.js";
|
|
273
273
|
import "./chunks/chunk.S22BO5SF.js";
|
|
274
274
|
import {
|
|
275
275
|
accordion_default
|
|
276
|
-
} from "./chunks/chunk.
|
|
277
|
-
import "./chunks/chunk.
|
|
276
|
+
} from "./chunks/chunk.ALD2RXSC.js";
|
|
277
|
+
import "./chunks/chunk.VAD5O2AN.js";
|
|
278
278
|
import "./chunks/chunk.WNUZ6LH4.js";
|
|
279
|
-
import "./chunks/chunk.
|
|
280
|
-
import "./chunks/chunk.
|
|
279
|
+
import "./chunks/chunk.GWUZE7E6.js";
|
|
280
|
+
import "./chunks/chunk.WXVOTRW5.js";
|
|
281
|
+
import "./chunks/chunk.WOU4GA5I.js";
|
|
281
282
|
import "./chunks/chunk.6QYKWCSO.js";
|
|
282
283
|
import "./chunks/chunk.DZ7YIR5N.js";
|
|
283
284
|
import "./chunks/chunk.C2ENQBPM.js";
|
|
284
285
|
import "./chunks/chunk.A3OYJILJ.js";
|
|
285
286
|
import "./chunks/chunk.HQ6QUSK7.js";
|
|
286
287
|
import "./chunks/chunk.WVVQK5TE.js";
|
|
287
|
-
import "./chunks/chunk.
|
|
288
|
+
import "./chunks/chunk.33XFC7EO.js";
|
|
288
289
|
import {
|
|
289
290
|
registerIconLibrary,
|
|
290
291
|
unregisterIconLibrary
|
|
@@ -311,7 +312,7 @@ import {
|
|
|
311
312
|
import "./chunks/chunk.UPDPVGHT.js";
|
|
312
313
|
import "./chunks/chunk.74IOULXM.js";
|
|
313
314
|
import "./chunks/chunk.NLYVOJGK.js";
|
|
314
|
-
import "./chunks/chunk.
|
|
315
|
+
import "./chunks/chunk.Z2XH5OM4.js";
|
|
315
316
|
import "./chunks/chunk.BUZOBR2J.js";
|
|
316
317
|
import "./chunks/chunk.IFXKIEOU.js";
|
|
317
318
|
import "./chunks/chunk.2GFK6XTO.js";
|
package/package.json
CHANGED
|
@@ -1,7 +0,0 @@
|
|
|
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 { 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.style/components/alert\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 /**\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 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--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": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AASA,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;AAQ9B,SAAQ,gBAAgB,KAAK;AAAA;AAAA,EAtCtC,WAAmB,aAAa;A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AU,KAAK,QAAQ,OAAO;AAC3C,CAAC;",
|
|
6
|
-
"names": []
|
|
7
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../src/components/drawer/drawer.component.ts", "../../src/internal/string.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 { 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 { ifDefined } from 'lit/directives/if-defined.js';\nimport { LocalizeController } from '../../utilities/localize.js';\nimport { lockBodyScrolling, unlockBodyScrolling } from '../../internal/scroll.js';\nimport { property, query } from 'lit/decorators.js';\nimport { uppercaseFirstLetter } from '../../internal/string.js';\nimport { waitForEvent } from '../../internal/event.js';\nimport { watch } from '../../internal/watch.js';\nimport componentStyles from '../../styles/component.styles.js';\nimport Modal from '../../internal/modal.js';\nimport SynergyElement from '../../internal/synergy-element.js';\nimport SynIconButton from '../icon-button/icon-button.component.js';\nimport styles from './drawer.styles.js';\nimport customStyles from './drawer.custom.styles.js';\nimport type { CSSResultGroup } from 'lit';\n\n/**\n * @summary Drawers slide in from a container to expose additional options and information.\n * @documentation https://synergy.style/components/drawer\n * @status stable\n * @since 2.0\n *\n * @dependency syn-icon-button\n *\n * @slot - The drawer's main content.\n * @slot label - The drawer's label. Alternatively, you can use the `label` attribute.\n * @slot header-actions - Optional actions to add to the header. Works best with `<syn-icon-button>`.\n * @slot footer - The drawer's footer, usually one or more buttons representing various options.\n *\n * @event syn-show - Emitted when the drawer opens.\n * @event syn-after-show - Emitted after the drawer opens and all animations are complete.\n * @event syn-hide - Emitted when the drawer closes.\n * @event syn-after-hide - Emitted after the drawer closes and all animations are complete.\n * @event syn-initial-focus - Emitted when the drawer opens and is ready to receive focus. Calling\n * `event.preventDefault()` will prevent focusing and allow you to set it on a different element, such as an input.\n * @event {{ source: 'close-button' | 'keyboard' | 'overlay' }} syn-request-close - Emitted when the user attempts to\n * close the drawer by clicking the close button, clicking the overlay, or pressing escape. Calling\n * `event.preventDefault()` will keep the drawer open. Avoid using this unless closing the drawer will result in\n * destructive behavior such as data loss.\n *\n * @csspart base - The component's base wrapper.\n * @csspart overlay - The overlay that covers the screen behind the drawer.\n * @csspart panel - The drawer's panel (where the drawer and its content are rendered).\n * @csspart header - The drawer's header. This element wraps the title and header actions.\n * @csspart header-actions - Optional actions to add to the header. Works best with `<syn-icon-button>`.\n * @csspart title - The drawer's title.\n * @csspart close-button - The close button, an `<syn-icon-button>`.\n * @csspart close-button__base - The close button's exported `base` part.\n * @csspart body - The drawer's body.\n * @csspart footer - The drawer's footer.\n *\n * @cssproperty --size - The preferred size of the drawer. This will be applied to the drawer's width or height\n * depending on its `placement`. Note that the drawer will shrink to accommodate smaller screens.\n * @cssproperty --header-spacing - The amount of padding to use for the header.\n * @cssproperty --body-spacing - The amount of padding to use for the body.\n * @cssproperty --footer-spacing - The amount of padding to use for the footer.\n *\n * @animation drawer.showTop - The animation to use when showing a drawer with `top` placement.\n * @animation drawer.showEnd - The animation to use when showing a drawer with `end` placement.\n * @animation drawer.showBottom - The animation to use when showing a drawer with `bottom` placement.\n * @animation drawer.showStart - The animation to use when showing a drawer with `start` placement.\n * @animation drawer.hideTop - The animation to use when hiding a drawer with `top` placement.\n * @animation drawer.hideEnd - The animation to use when hiding a drawer with `end` placement.\n * @animation drawer.hideBottom - The animation to use when hiding a drawer with `bottom` placement.\n * @animation drawer.hideStart - The animation to use when hiding a drawer with `start` placement.\n * @animation drawer.denyClose - The animation to use when a request to close the drawer is denied.\n * @animation drawer.overlay.show - The animation to use when showing the drawer's overlay.\n * @animation drawer.overlay.hide - The animation to use when hiding the drawer's overlay.\n *\n * @property modal - Exposes the internal modal utility that controls focus trapping. To temporarily disable focus\n * trapping and allow third-party modals spawned from an active Synergy modal, call `modal.activateExternal()` when\n * the third-party modal opens. Upon closing, call `modal.deactivateExternal()` to restore Synergy's focus trapping.\n */\nexport default class SynDrawer extends SynergyElement {\n static styles: CSSResultGroup = [componentStyles, styles, customStyles];\n static dependencies = { 'syn-icon-button': SynIconButton };\n\n private readonly hasSlotController = new HasSlotController(this, 'footer');\n private readonly localize = new LocalizeController(this);\n private originalTrigger: HTMLElement | null;\n public modal = new Modal(this);\n private closeWatcher: CloseWatcher | null;\n\n @query('.drawer') drawer: HTMLElement;\n @query('.drawer__panel') panel: HTMLElement;\n @query('.drawer__overlay') overlay: HTMLElement;\n\n /**\n * Indicates whether or not the drawer is open. You can toggle this attribute to show and hide the drawer, or you can\n * use the `show()` and `hide()` methods and this attribute will reflect the drawer's open state.\n */\n @property({ type: Boolean, reflect: true }) open = false;\n\n /**\n * The drawer's label as displayed in the header. You should always include a relevant label even when using\n * `no-header`, as it is required for proper accessibility. If you need to display HTML, use the `label` slot instead.\n */\n @property({ reflect: true }) label = '';\n\n /** The direction from which the drawer will open. */\n @property({ reflect: true }) placement: 'top' | 'end' | 'bottom' | 'start' = 'end';\n\n /**\n * By default, the drawer slides out of its containing block (usually the viewport). To make the drawer slide out of\n * its parent element, set this attribute and add `position: relative` to the parent.\n */\n @property({ type: Boolean, reflect: true }) contained = false;\n\n /**\n * Removes the header. This will also remove the default close button, so please ensure you provide an easy,\n * accessible way for users to dismiss the drawer.\n */\n @property({ attribute: 'no-header', type: Boolean, reflect: true }) noHeader = false;\n\n firstUpdated() {\n this.drawer.hidden = !this.open;\n\n if (this.open) {\n this.addOpenListeners();\n\n if (!this.contained) {\n this.modal.activate();\n lockBodyScrolling(this);\n }\n }\n }\n\n disconnectedCallback() {\n super.disconnectedCallback();\n unlockBodyScrolling(this);\n this.removeOpenListeners();\n }\n\n private requestClose(source: 'close-button' | 'keyboard' | 'overlay') {\n const slRequestClose = this.emit('syn-request-close', {\n cancelable: true,\n detail: { source }\n });\n\n if (slRequestClose.defaultPrevented) {\n const animation = getAnimation(this, 'drawer.denyClose', { dir: this.localize.dir() });\n animateTo(this.panel, animation.keyframes, animation.options);\n return;\n }\n\n this.hide();\n }\n\n private addOpenListeners() {\n if ('CloseWatcher' in window) {\n this.closeWatcher?.destroy();\n if (!this.contained) {\n this.closeWatcher = new CloseWatcher();\n this.closeWatcher.onclose = () => this.requestClose('keyboard');\n }\n } else {\n document.addEventListener('keydown', this.handleDocumentKeyDown);\n }\n }\n\n private removeOpenListeners() {\n document.removeEventListener('keydown', this.handleDocumentKeyDown);\n this.closeWatcher?.destroy();\n }\n\n private handleDocumentKeyDown = (event: KeyboardEvent) => {\n // Contained drawers aren't modal and don't response to the escape key\n if (this.contained) {\n return;\n }\n\n if (event.key === 'Escape' && this.modal.isActive() && this.open) {\n event.stopImmediatePropagation();\n this.requestClose('keyboard');\n }\n };\n\n @watch('open', { waitUntilFirstUpdate: true })\n async handleOpenChange() {\n if (this.open) {\n // Show\n this.emit('syn-show');\n this.addOpenListeners();\n this.originalTrigger = document.activeElement as HTMLElement;\n\n // Lock body scrolling only if the drawer isn't contained\n if (!this.contained) {\n this.modal.activate();\n lockBodyScrolling(this);\n }\n\n // When the drawer is shown, Safari will attempt to set focus on whatever element has autofocus. This causes the\n // drawer's animation to jitter, so we'll temporarily remove the attribute, call `focus({ preventScroll: true })`\n // ourselves, and add the attribute back afterwards.\n //\n // Related: https://github.com/synergy-design-system/synergy/issues/693\n //\n const autoFocusTarget = this.querySelector('[autofocus]');\n if (autoFocusTarget) {\n autoFocusTarget.removeAttribute('autofocus');\n }\n\n await Promise.all([stopAnimations(this.drawer), stopAnimations(this.overlay)]);\n this.drawer.hidden = false;\n\n // Set initial focus\n requestAnimationFrame(() => {\n const slInitialFocus = this.emit('syn-initial-focus', { cancelable: true });\n\n if (!slInitialFocus.defaultPrevented) {\n // Set focus to the autofocus target and restore the attribute\n if (autoFocusTarget) {\n (autoFocusTarget as HTMLInputElement).focus({ preventScroll: true });\n } else {\n this.panel.focus({ preventScroll: true });\n }\n }\n\n // Restore the autofocus attribute\n if (autoFocusTarget) {\n autoFocusTarget.setAttribute('autofocus', '');\n }\n });\n\n const panelAnimation = getAnimation(this, `drawer.show${uppercaseFirstLetter(this.placement)}`, {\n dir: this.localize.dir()\n });\n const overlayAnimation = getAnimation(this, 'drawer.overlay.show', { dir: this.localize.dir() });\n await Promise.all([\n animateTo(this.panel, panelAnimation.keyframes, panelAnimation.options),\n animateTo(this.overlay, overlayAnimation.keyframes, overlayAnimation.options)\n ]);\n\n this.emit('syn-after-show');\n } else {\n // Hide\n this.emit('syn-hide');\n this.removeOpenListeners();\n\n if (!this.contained) {\n this.modal.deactivate();\n unlockBodyScrolling(this);\n }\n\n await Promise.all([stopAnimations(this.drawer), stopAnimations(this.overlay)]);\n const panelAnimation = getAnimation(this, `drawer.hide${uppercaseFirstLetter(this.placement)}`, {\n dir: this.localize.dir()\n });\n const overlayAnimation = getAnimation(this, 'drawer.overlay.hide', { dir: this.localize.dir() });\n\n // Animate the overlay and the panel at the same time. Because animation durations might be different, we need to\n // hide each one individually when the animation finishes, otherwise the first one that finishes will reappear\n // unexpectedly. We'll unhide them after all animations have completed.\n await Promise.all([\n animateTo(this.overlay, overlayAnimation.keyframes, overlayAnimation.options).then(() => {\n this.overlay.hidden = true;\n }),\n animateTo(this.panel, panelAnimation.keyframes, panelAnimation.options).then(() => {\n this.panel.hidden = true;\n })\n ]);\n\n this.drawer.hidden = true;\n\n // Now that the dialog is hidden, restore the overlay and panel for next time\n this.overlay.hidden = false;\n this.panel.hidden = false;\n\n // Restore focus to the original trigger\n const trigger = this.originalTrigger;\n if (typeof trigger?.focus === 'function') {\n setTimeout(() => trigger.focus());\n }\n\n this.emit('syn-after-hide');\n }\n }\n\n @watch('contained', { waitUntilFirstUpdate: true })\n handleNoModalChange() {\n if (this.open && !this.contained) {\n this.modal.activate();\n lockBodyScrolling(this);\n }\n\n if (this.open && this.contained) {\n this.modal.deactivate();\n unlockBodyScrolling(this);\n }\n }\n\n /** Shows the drawer. */\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 drawer */\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 render() {\n return html`\n <div\n part=\"base\"\n class=${classMap({\n drawer: true,\n 'drawer--open': this.open,\n 'drawer--top': this.placement === 'top',\n 'drawer--end': this.placement === 'end',\n 'drawer--bottom': this.placement === 'bottom',\n 'drawer--start': this.placement === 'start',\n 'drawer--contained': this.contained,\n 'drawer--fixed': !this.contained,\n 'drawer--rtl': this.localize.dir() === 'rtl',\n 'drawer--has-footer': this.hasSlotController.test('footer')\n })}\n >\n <div part=\"overlay\" class=\"drawer__overlay\" @click=${() => this.requestClose('overlay')} tabindex=\"-1\"></div>\n\n <div\n part=\"panel\"\n class=\"drawer__panel\"\n role=\"dialog\"\n aria-modal=\"true\"\n aria-hidden=${this.open ? 'false' : 'true'}\n aria-label=${ifDefined(this.noHeader ? this.label : undefined)}\n aria-labelledby=${ifDefined(!this.noHeader ? 'title' : undefined)}\n tabindex=\"0\"\n >\n ${!this.noHeader\n ? html`\n <header part=\"header\" class=\"drawer__header\">\n <h2 part=\"title\" class=\"drawer__title\" id=\"title\">\n <!-- If there's no label, use an invisible character to prevent the header from collapsing -->\n <slot name=\"label\"> ${this.label.length > 0 ? this.label : String.fromCharCode(65279)} </slot>\n </h2>\n <div part=\"header-actions\" class=\"drawer__header-actions\">\n <slot name=\"header-actions\"></slot>\n <syn-icon-button\n part=\"close-button\"\n exportparts=\"base:close-button__base\"\n class=\"drawer__close\"\n name=\"x-lg\"\n label=${this.localize.term('close')}\n library=\"system\"\n @click=${() => this.requestClose('close-button')}\n ></syn-icon-button>\n </div>\n </header>\n `\n : ''}\n\n <slot part=\"body\" class=\"drawer__body\"></slot>\n\n <footer part=\"footer\" class=\"drawer__footer\">\n <slot name=\"footer\"></slot>\n </footer>\n </div>\n </div>\n `;\n }\n}\n\n// Top\nsetDefaultAnimation('drawer.showTop', {\n keyframes: [\n { opacity: 0, translate: '0 -100%' },\n { opacity: 1, translate: '0 0' }\n ],\n options: { duration: 250, easing: 'ease' }\n});\n\nsetDefaultAnimation('drawer.hideTop', {\n keyframes: [\n { opacity: 1, translate: '0 0' },\n { opacity: 0, translate: '0 -100%' }\n ],\n options: { duration: 250, easing: 'ease' }\n});\n\n// End\nsetDefaultAnimation('drawer.showEnd', {\n keyframes: [\n { opacity: 0, translate: '100%' },\n { opacity: 1, translate: '0' }\n ],\n rtlKeyframes: [\n { opacity: 0, translate: '-100%' },\n { opacity: 1, translate: '0' }\n ],\n options: { duration: 250, easing: 'ease' }\n});\n\nsetDefaultAnimation('drawer.hideEnd', {\n keyframes: [\n { opacity: 1, translate: '0' },\n { opacity: 0, translate: '100%' }\n ],\n rtlKeyframes: [\n { opacity: 1, translate: '0' },\n { opacity: 0, translate: '-100%' }\n ],\n options: { duration: 250, easing: 'ease' }\n});\n\n// Bottom\nsetDefaultAnimation('drawer.showBottom', {\n keyframes: [\n { opacity: 0, translate: '0 100%' },\n { opacity: 1, translate: '0 0' }\n ],\n options: { duration: 250, easing: 'ease' }\n});\n\nsetDefaultAnimation('drawer.hideBottom', {\n keyframes: [\n { opacity: 1, translate: '0 0' },\n { opacity: 0, translate: '0 100%' }\n ],\n options: { duration: 250, easing: 'ease' }\n});\n\n// Start\nsetDefaultAnimation('drawer.showStart', {\n keyframes: [\n { opacity: 0, translate: '-100%' },\n { opacity: 1, translate: '0' }\n ],\n rtlKeyframes: [\n { opacity: 0, translate: '100%' },\n { opacity: 1, translate: '0' }\n ],\n options: { duration: 250, easing: 'ease' }\n});\n\nsetDefaultAnimation('drawer.hideStart', {\n keyframes: [\n { opacity: 1, translate: '0' },\n { opacity: 0, translate: '-100%' }\n ],\n rtlKeyframes: [\n { opacity: 1, translate: '0' },\n { opacity: 0, translate: '100%' }\n ],\n options: { duration: 250, easing: 'ease' }\n});\n\n// Deny close\nsetDefaultAnimation('drawer.denyClose', {\n keyframes: [{ scale: 1 }, { scale: 1.01 }, { scale: 1 }],\n options: { duration: 250 }\n});\n\n// Overlay\nsetDefaultAnimation('drawer.overlay.show', {\n keyframes: [{ opacity: 0 }, { opacity: 1 }],\n options: { duration: 250 }\n});\n\nsetDefaultAnimation('drawer.overlay.hide', {\n keyframes: [{ opacity: 1 }, { opacity: 0 }],\n options: { duration: 250 }\n});\n", "/**\n * ---------------------------------------------------------------------\n * \uD83D\uDD12 AUTOGENERATED BY VENDORISM\n * Removing this comment will prevent it from being managed by it.\n * ---------------------------------------------------------------------\n */\n\n/* eslint-disable */\n/** Converts the first letter of a string to uppercase */\nexport function uppercaseFirstLetter(string: string) {\n return string.charAt(0).toUpperCase() + string.slice(1);\n}\n"],
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AASA,SAAS,gBAAgB;AAGzB,SAAS,YAAY;AACrB,SAAS,iBAAiB;AAG1B,SAAS,UAAU,aAAa;;;ACPzB,SAAS,qBAAqB,QAAgB;AACnD,SAAO,OAAO,OAAO,CAAC,EAAE,YAAY,IAAI,OAAO,MAAM,CAAC;AACxD;;;AD0EA,IAAqB,YAArB,cAAuC,eAAe;AAAA,EAAtD;AAAA;AAIE,SAAiB,oBAAoB,IAAI,kBAAkB,MAAM,QAAQ;AACzE,SAAiB,WAAW,IAAI,mBAAmB,IAAI;AAEvD,SAAO,QAAQ,IAAI,MAAM,IAAI;AAWe,gBAAO;AAMtB,iBAAQ;AAGR,qBAAgD;AAMjC,qBAAY;AAMY,oBAAW;AAqD/E,SAAQ,wBAAwB,CAAC,UAAyB;AAExD,UAAI,KAAK,WAAW;AAClB;AAAA,MACF;AAEA,UAAI,MAAM,QAAQ,YAAY,KAAK,MAAM,SAAS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EACtC,WAAW;AAAA,IACT,EAAE,SAAS,GAAG,WAAW,IAAI;AAAA,IAC7B,EAAE,SAAS,GAAG,WAAW,QAAQ;AAAA,EACnC;AAAA,EACA,cAAc;AAAA,IACZ,EAAE,SAAS,GAAG,WAAW,IAAI;AAAA,IAC7B,EAAE,SAAS,GAAG,WAAW,OAAO;AAAA,EAClC;AAAA,EACA,SAAS,EAAE,UAAU,KAAK,QAAQ,OAAO;AAC3C,CAAC;AAGD,oBAAoB,oBAAoB;AAAA,EACtC,WAAW,CAAC,EAAE,OAAO,EAAE,GAAG,EAAE,OAAO,KAAK,GAAG,EAAE,OAAO,EAAE,CAAC;AAAA,EACvD,SAAS,EAAE,UAAU,IAAI;AAC3B,CAAC;AAGD,oBAAoB,uBAAuB;AAAA,EACzC,WAAW,CAAC,EAAE,SAAS,EAAE,GAAG,EAAE,SAAS,EAAE,CAAC;AAAA,EAC1C,SAAS,EAAE,UAAU,IAAI;AAC3B,CAAC;AAED,oBAAoB,uBAAuB;AAAA,EACzC,WAAW,CAAC,EAAE,SAAS,EAAE,GAAG,EAAE,SAAS,EAAE,CAAC;AAAA,EAC1C,SAAS,EAAE,UAAU,IAAI;AAC3B,CAAC;",
|
|
6
|
-
"names": []
|
|
7
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../src/components/dialog/dialog.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 { 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 { ifDefined } from 'lit/directives/if-defined.js';\nimport { LocalizeController } from '../../utilities/localize.js';\nimport { lockBodyScrolling, unlockBodyScrolling } from '../../internal/scroll.js';\nimport { property, query } from 'lit/decorators.js';\nimport { waitForEvent } from '../../internal/event.js';\nimport { watch } from '../../internal/watch.js';\nimport componentStyles from '../../styles/component.styles.js';\nimport Modal from '../../internal/modal.js';\nimport SynergyElement from '../../internal/synergy-element.js';\nimport SynIconButton from '../icon-button/icon-button.component.js';\nimport styles from './dialog.styles.js';\nimport customStyles from './dialog.custom.styles.js';\nimport type { CSSResultGroup } from 'lit';\n\n/**\n * @summary Dialogs, sometimes called \"modals\", appear above the page and require the user's immediate attention.\n * @documentation https://synergy.style/components/dialog\n * @status stable\n * @since 2.0\n *\n * @dependency syn-icon-button\n *\n * @slot - The dialog's main content.\n * @slot label - The dialog's label. Alternatively, you can use the `label` attribute.\n * @slot header-actions - Optional actions to add to the header. Works best with `<syn-icon-button>`.\n * @slot footer - The dialog's footer, usually one or more buttons representing various options.\n *\n * @event syn-show - Emitted when the dialog opens.\n * @event syn-after-show - Emitted after the dialog opens and all animations are complete.\n * @event syn-hide - Emitted when the dialog closes.\n * @event syn-after-hide - Emitted after the dialog closes and all animations are complete.\n * @event syn-initial-focus - Emitted when the dialog opens and is ready to receive focus. Calling\n * `event.preventDefault()` will prevent focusing and allow you to set it on a different element, such as an input.\n * @event {{ source: 'close-button' | 'keyboard' | 'overlay' }} syn-request-close - Emitted when the user attempts to\n * close the dialog by clicking the close button, clicking the overlay, or pressing escape. Calling\n * `event.preventDefault()` will keep the dialog open. Avoid using this unless closing the dialog will result in\n * destructive behavior such as data loss.\n *\n * @csspart base - The component's base wrapper.\n * @csspart overlay - The overlay that covers the screen behind the dialog.\n * @csspart panel - The dialog's panel (where the dialog and its content are rendered).\n * @csspart header - The dialog's header. This element wraps the title and header actions.\n * @csspart header-actions - Optional actions to add to the header. Works best with `<syn-icon-button>`.\n * @csspart title - The dialog's title.\n * @csspart close-button - The close button, an `<syn-icon-button>`.\n * @csspart close-button__base - The close button's exported `base` part.\n * @csspart body - The dialog's body.\n * @csspart footer - The dialog's footer.\n *\n * @cssproperty --width - The preferred width of the dialog. Note that the dialog will shrink to accommodate smaller screens.\n * @cssproperty --header-spacing - The amount of padding to use for the header.\n * @cssproperty --body-spacing - The amount of padding to use for the body.\n * @cssproperty --footer-spacing - The amount of padding to use for the footer.\n *\n * @animation dialog.show - The animation to use when showing the dialog.\n * @animation dialog.hide - The animation to use when hiding the dialog.\n * @animation dialog.denyClose - The animation to use when a request to close the dialog is denied.\n * @animation dialog.overlay.show - The animation to use when showing the dialog's overlay.\n * @animation dialog.overlay.hide - The animation to use when hiding the dialog's overlay.\n *\n * @property modal - Exposes the internal modal utility that controls focus trapping. To temporarily disable focus\n * trapping and allow third-party modals spawned from an active Synergy modal, call `modal.activateExternal()` when\n * the third-party modal opens. Upon closing, call `modal.deactivateExternal()` to restore Synergy's focus trapping.\n */\nexport default class SynDialog extends SynergyElement {\n static styles: CSSResultGroup = [componentStyles, styles, customStyles];\n static dependencies = {\n 'syn-icon-button': SynIconButton\n };\n\n private readonly hasSlotController = new HasSlotController(this, 'footer');\n private readonly localize = new LocalizeController(this);\n private originalTrigger: HTMLElement | null;\n public modal = new Modal(this);\n private closeWatcher: CloseWatcher | null;\n\n @query('.dialog') dialog: HTMLElement;\n @query('.dialog__panel') panel: HTMLElement;\n @query('.dialog__overlay') overlay: HTMLElement;\n\n /**\n * Indicates whether or not the dialog is open. You can toggle this attribute to show and hide the dialog, or you can\n * use the `show()` and `hide()` methods and this attribute will reflect the dialog's open state.\n */\n @property({ type: Boolean, reflect: true }) open = false;\n\n /**\n * The dialog's label as displayed in the header. You should always include a relevant label even when using\n * `no-header`, as it is required for proper accessibility. If you need to display HTML, use the `label` slot instead.\n */\n @property({ reflect: true }) label = '';\n\n /**\n * Disables the header. This will also remove the default close button, so please ensure you provide an easy,\n * accessible way for users to dismiss the dialog.\n */\n @property({ attribute: 'no-header', type: Boolean, reflect: true }) noHeader = false;\n\n firstUpdated() {\n this.dialog.hidden = !this.open;\n\n if (this.open) {\n this.addOpenListeners();\n this.modal.activate();\n lockBodyScrolling(this);\n }\n }\n\n disconnectedCallback() {\n super.disconnectedCallback();\n this.modal.deactivate();\n unlockBodyScrolling(this);\n this.removeOpenListeners();\n }\n\n private requestClose(source: 'close-button' | 'keyboard' | 'overlay') {\n const slRequestClose = this.emit('syn-request-close', {\n cancelable: true,\n detail: { source }\n });\n\n if (slRequestClose.defaultPrevented) {\n const animation = getAnimation(this, 'dialog.denyClose', { dir: this.localize.dir() });\n animateTo(this.panel, animation.keyframes, animation.options);\n return;\n }\n\n this.hide();\n }\n\n private addOpenListeners() {\n if ('CloseWatcher' in window) {\n this.closeWatcher?.destroy();\n this.closeWatcher = new CloseWatcher();\n this.closeWatcher.onclose = () => this.requestClose('keyboard');\n } else {\n document.addEventListener('keydown', this.handleDocumentKeyDown);\n }\n }\n\n private removeOpenListeners() {\n this.closeWatcher?.destroy();\n document.removeEventListener('keydown', this.handleDocumentKeyDown);\n }\n\n private handleDocumentKeyDown = (event: KeyboardEvent) => {\n if (event.key === 'Escape' && this.modal.isActive() && this.open) {\n event.stopPropagation();\n this.requestClose('keyboard');\n }\n };\n\n @watch('open', { waitUntilFirstUpdate: true })\n async handleOpenChange() {\n if (this.open) {\n // Show\n this.emit('syn-show');\n this.addOpenListeners();\n this.originalTrigger = document.activeElement as HTMLElement;\n this.modal.activate();\n\n lockBodyScrolling(this);\n\n // When the dialog is shown, Safari will attempt to set focus on whatever element has autofocus. This can cause\n // the dialogs's animation to jitter (if it starts offscreen), so we'll temporarily remove the attribute, call\n // `focus({ preventScroll: true })` ourselves, and add the attribute back afterwards.\n //\n // Related: https://github.com/synergy-design-system/synergy/issues/693\n //\n const autoFocusTarget = this.querySelector('[autofocus]');\n if (autoFocusTarget) {\n autoFocusTarget.removeAttribute('autofocus');\n }\n\n await Promise.all([stopAnimations(this.dialog), stopAnimations(this.overlay)]);\n this.dialog.hidden = false;\n\n // Set initial focus\n requestAnimationFrame(() => {\n const slInitialFocus = this.emit('syn-initial-focus', { cancelable: true });\n\n if (!slInitialFocus.defaultPrevented) {\n // Set focus to the autofocus target and restore the attribute\n if (autoFocusTarget) {\n (autoFocusTarget as HTMLInputElement).focus({ preventScroll: true });\n } else {\n this.panel.focus({ preventScroll: true });\n }\n }\n\n // Restore the autofocus attribute\n if (autoFocusTarget) {\n autoFocusTarget.setAttribute('autofocus', '');\n }\n });\n\n const panelAnimation = getAnimation(this, 'dialog.show', { dir: this.localize.dir() });\n const overlayAnimation = getAnimation(this, 'dialog.overlay.show', { dir: this.localize.dir() });\n await Promise.all([\n animateTo(this.panel, panelAnimation.keyframes, panelAnimation.options),\n animateTo(this.overlay, overlayAnimation.keyframes, overlayAnimation.options)\n ]);\n\n this.emit('syn-after-show');\n } else {\n // Hide\n this.emit('syn-hide');\n this.removeOpenListeners();\n this.modal.deactivate();\n\n await Promise.all([stopAnimations(this.dialog), stopAnimations(this.overlay)]);\n const panelAnimation = getAnimation(this, 'dialog.hide', { dir: this.localize.dir() });\n const overlayAnimation = getAnimation(this, 'dialog.overlay.hide', { dir: this.localize.dir() });\n\n // Animate the overlay and the panel at the same time. Because animation durations might be different, we need to\n // hide each one individually when the animation finishes, otherwise the first one that finishes will reappear\n // unexpectedly. We'll unhide them after all animations have completed.\n await Promise.all([\n animateTo(this.overlay, overlayAnimation.keyframes, overlayAnimation.options).then(() => {\n this.overlay.hidden = true;\n }),\n animateTo(this.panel, panelAnimation.keyframes, panelAnimation.options).then(() => {\n this.panel.hidden = true;\n })\n ]);\n\n this.dialog.hidden = true;\n\n // Now that the dialog is hidden, restore the overlay and panel for next time\n this.overlay.hidden = false;\n this.panel.hidden = false;\n\n unlockBodyScrolling(this);\n\n // Restore focus to the original trigger\n const trigger = this.originalTrigger;\n if (typeof trigger?.focus === 'function') {\n setTimeout(() => trigger.focus());\n }\n\n this.emit('syn-after-hide');\n }\n }\n\n /** Shows the dialog. */\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 dialog */\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 render() {\n return html`\n <div\n part=\"base\"\n class=${classMap({\n dialog: true,\n 'dialog--open': this.open,\n 'dialog--has-footer': this.hasSlotController.test('footer')\n })}\n >\n <div part=\"overlay\" class=\"dialog__overlay\" @click=${() => this.requestClose('overlay')} tabindex=\"-1\"></div>\n\n <div\n part=\"panel\"\n class=\"dialog__panel\"\n role=\"dialog\"\n aria-modal=\"true\"\n aria-hidden=${this.open ? 'false' : 'true'}\n aria-label=${ifDefined(this.noHeader ? this.label : undefined)}\n aria-labelledby=${ifDefined(!this.noHeader ? 'title' : undefined)}\n tabindex=\"-1\"\n >\n ${!this.noHeader\n ? html`\n <header part=\"header\" class=\"dialog__header\">\n <h2 part=\"title\" class=\"dialog__title\" id=\"title\">\n <slot name=\"label\"> ${this.label.length > 0 ? this.label : String.fromCharCode(65279)} </slot>\n </h2>\n <div part=\"header-actions\" class=\"dialog__header-actions\">\n <slot name=\"header-actions\"></slot>\n <syn-icon-button\n part=\"close-button\"\n exportparts=\"base:close-button__base\"\n class=\"dialog__close\"\n name=\"x-lg\"\n label=${this.localize.term('close')}\n library=\"system\"\n @click=\"${() => this.requestClose('close-button')}\"\n ></syn-icon-button>\n </div>\n </header>\n `\n : ''}\n ${\n '' /* The tabindex=\"-1\" is here because the body is technically scrollable if overflowing. However, if there's no focusable elements inside, you won't actually be able to scroll it via keyboard. Previously this was just a <slot>, but tabindex=\"-1\" on the slot causes children to not be focusable. https://github.com/synergy-design-system/synergy/issues/1753#issuecomment-1836803277 */\n }\n <div part=\"body\" class=\"dialog__body\" tabindex=\"-1\"><slot></slot></div>\n\n <footer part=\"footer\" class=\"dialog__footer\">\n <slot name=\"footer\"></slot>\n </footer>\n </div>\n </div>\n `;\n }\n}\n\nsetDefaultAnimation('dialog.show', {\n keyframes: [\n { opacity: 0, scale: 0.8 },\n { opacity: 1, scale: 1 }\n ],\n options: { duration: 250, easing: 'ease' }\n});\n\nsetDefaultAnimation('dialog.hide', {\n keyframes: [\n { opacity: 1, scale: 1 },\n { opacity: 0, scale: 0.8 }\n ],\n options: { duration: 250, easing: 'ease' }\n});\n\nsetDefaultAnimation('dialog.denyClose', {\n keyframes: [{ scale: 1 }, { scale: 1.02 }, { scale: 1 }],\n options: { duration: 250 }\n});\n\nsetDefaultAnimation('dialog.overlay.show', {\n keyframes: [{ opacity: 0 }, { opacity: 1 }],\n options: { duration: 250 }\n});\n\nsetDefaultAnimation('dialog.overlay.hide', {\n keyframes: [{ opacity: 1 }, { opacity: 0 }],\n options: { duration: 250 }\n});\n"],
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AASA,SAAS,gBAAgB;AAGzB,SAAS,YAAY;AACrB,SAAS,iBAAiB;AAG1B,SAAS,UAAU,aAAa;AA6DhC,IAAqB,YAArB,cAAuC,eAAe;AAAA,EAAtD;AAAA;AAME,SAAiB,oBAAoB,IAAI,kBAAkB,MAAM,QAAQ;AACzE,SAAiB,WAAW,IAAI,mBAAmB,IAAI;AAEvD,SAAO,QAAQ,IAAI,MAAM,IAAI;AAWe,gBAAO;AAMtB,iBAAQ;AAM+B,oBAAW;AAiD/E,SAAQ,wBAAwB,CAAC,UAAyB;AACxD,UAAI,MAAM,QAAQ,YAAY,KAAK,MAAM,SAAS,KAAK,KAAK,MAAM;AAChE,cAAM,gBAAgB;AACtB,aAAK,aAAa,UAAU;AAAA,MAC9B;AAAA,IACF;AAAA;AAAA,EApDA,eAAe;AACb,SAAK,OAAO,SAAS,CAAC,KAAK;AAE3B,QAAI,KAAK,MAAM;AACb,WAAK,iBAAiB;AACtB,WAAK,MAAM,SAAS;AACpB,wBAAkB,IAAI;AAAA,IACxB;AAAA,EACF;AAAA,EAEA,uBAAuB;AACrB,UAAM,qBAAqB;AAC3B,SAAK,MAA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