@everymatrix/cashier-page 1.50.1 → 1.50.111
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/components/CashierCarousel-7AwJ9N9v.js +708 -0
- package/components/CashierCarousel-B6v0xLYF.cjs +1 -0
- package/components/CashierCarousel-B9cSGBbT.cjs +1 -0
- package/components/CashierCarousel-BDml_k6w.js +708 -0
- package/components/CashierCarousel-BVmyFDx4.cjs +1 -0
- package/components/CashierCarousel-Bbppf5AG.js +711 -0
- package/components/CashierCarousel-Bd1AqAVR.cjs +1 -0
- package/components/CashierCarousel-BeapCEtK.cjs +1 -0
- package/components/CashierCarousel-Bugw5tyI.js +708 -0
- package/components/CashierCarousel-C8aKHUKQ.js +711 -0
- package/components/CashierCarousel-CINRCn95.js +708 -0
- package/components/CashierCarousel-COl4VcVY.js +711 -0
- package/components/CashierCarousel-CXUvw0R7.js +711 -0
- package/components/CashierCarousel-ChXQXyGm.js +708 -0
- package/components/CashierCarousel-Cjsz1URy.js +711 -0
- package/components/CashierCarousel-Cpj2-p8x.cjs +1 -0
- package/components/CashierCarousel-CroFG8Xo.js +711 -0
- package/components/CashierCarousel-DPuovopT.js +711 -0
- package/components/CashierCarousel-DfQzq9Go.js +711 -0
- package/components/CashierCarousel-Dtp7hznQ.cjs +1 -0
- package/components/CashierCarousel-T7OpqF6Q.js +708 -0
- package/components/CashierCarousel-U8W7QCwX.cjs +1 -0
- package/components/CashierCarousel-YirC6RJx.js +708 -0
- package/components/CashierCarousel-YzIHQA_U.js +708 -0
- package/components/CashierError-0QYlIMhr.js +849 -0
- package/components/CashierError-823wzpBc.cjs +1 -0
- package/components/CashierError-B5e_-bAw.js +849 -0
- package/components/CashierError-B8DIDaRE.cjs +1 -0
- package/components/CashierError-BDhHDbx7.cjs +1 -0
- package/components/CashierError-BFogL6zj.js +849 -0
- package/components/CashierError-BHhAmoq0.js +849 -0
- package/components/CashierError-BU_nAUO7.cjs +1 -0
- package/components/CashierError-CHox-IiT.js +849 -0
- package/components/CashierError-CZGh6gdW.cjs +1 -0
- package/components/CashierError-CqgvXLi2.js +849 -0
- package/components/CashierError-Cql8hgCS.cjs +1 -0
- package/components/CashierError-Cye53nP1.js +849 -0
- package/components/CashierError-D1XdESJ-.js +849 -0
- package/components/CashierError-DFpXjpnw.js +849 -0
- package/components/CashierError-DHRmAny-.cjs +1 -0
- package/components/CashierError-DNPGd_Qy.js +849 -0
- package/components/CashierError-DSCqTpJI.js +849 -0
- package/components/CashierError-DeSxsrV5.js +849 -0
- package/components/CashierError-DgTrz1Ew.js +849 -0
- package/components/CashierError-DhLbUDdZ.js +849 -0
- package/components/CashierError-E8Pju_fr.cjs +1 -0
- package/components/CashierError-KToqFmcF.js +849 -0
- package/components/CashierError-uh3dtxeS.js +849 -0
- package/components/CashierHeader-B0bhoFUA.js +477 -0
- package/components/CashierHeader-BJUPYAsB.js +477 -0
- package/components/CashierHeader-BL7oYI1S.js +477 -0
- package/components/CashierHeader-BZ2HGD4c.cjs +1 -0
- package/components/CashierHeader-BppY3Whf.js +477 -0
- package/components/CashierHeader-BsoummJc.js +477 -0
- package/components/CashierHeader-BvxI61KF.js +477 -0
- package/components/CashierHeader-C2wxT_qL.cjs +1 -0
- package/components/CashierHeader-C9dfGapP.cjs +1 -0
- package/components/CashierHeader-CErxv1ah.js +477 -0
- package/components/CashierHeader-CHgw-pMp.js +477 -0
- package/components/CashierHeader-CKMyLh-r.cjs +1 -0
- package/components/CashierHeader-Ciphzksz.cjs +1 -0
- package/components/CashierHeader-D6fFga5G.js +477 -0
- package/components/CashierHeader-DAOucGG5.js +477 -0
- package/components/CashierHeader-DFTZEscY.cjs +1 -0
- package/components/CashierHeader-DGQgK3Mi.cjs +1 -0
- package/components/CashierHeader-DGtwYREo.js +477 -0
- package/components/CashierHeader-DKBGjAix.js +477 -0
- package/components/CashierHeader-DXiUgEC4.cjs +1 -0
- package/components/CashierHeader-SwrbI1jW.js +477 -0
- package/components/CashierHeader-UzOTpMJE.js +477 -0
- package/components/CashierHeader-qF4Dp4lm.js +477 -0
- package/components/CashierHeader-yZ18B2kt.js +477 -0
- package/components/CashierIframeRedirect-B0whuD7w.js +387 -0
- package/components/CashierIframeRedirect-BF2MxkzL.cjs +1 -0
- package/components/CashierIframeRedirect-BO-lIZ6W.cjs +1 -0
- package/components/CashierIframeRedirect-BR16-UED.js +387 -0
- package/components/CashierIframeRedirect-BTmvSx_e.js +387 -0
- package/components/CashierIframeRedirect-BX7-YCI8.cjs +1 -0
- package/components/CashierIframeRedirect-BaAtwDvz.js +387 -0
- package/components/CashierIframeRedirect-C2V-UdlY.js +387 -0
- package/components/CashierIframeRedirect-C3Djpk_x.js +387 -0
- package/components/CashierIframeRedirect-C9A70DKI.js +387 -0
- package/components/CashierIframeRedirect-CRt9FN46.js +387 -0
- package/components/CashierIframeRedirect-CUl8MBAi.cjs +1 -0
- package/components/CashierIframeRedirect-CsVyY3cR.js +387 -0
- package/components/CashierIframeRedirect-CwxZ7TXO.js +387 -0
- package/components/CashierIframeRedirect-DTNEJYcp.cjs +1 -0
- package/components/CashierIframeRedirect-DiSU7UbE.cjs +1 -0
- package/components/CashierIframeRedirect-DsTB0VPT.js +387 -0
- package/components/CashierIframeRedirect-DvPoIaeZ.cjs +1 -0
- package/components/CashierIframeRedirect-DwHUOnqx.js +387 -0
- package/components/CashierIframeRedirect-DzZ0ny59.js +387 -0
- package/components/CashierIframeRedirect-QbViIYoi.cjs +1 -0
- package/components/CashierIframeRedirect-g1wVR7rY.js +387 -0
- package/components/CashierIframeRedirect-hv1C3ELi.js +387 -0
- package/components/CashierIframeRedirect-i_bPMl8P.js +387 -0
- package/components/CashierMethodDetails--VgKronF.js +11361 -0
- package/components/CashierMethodDetails-B3pKrQ33.cjs +85 -0
- package/components/CashierMethodDetails-BEHhT8rB.cjs +85 -0
- package/components/CashierMethodDetails-BHs_kXZo.cjs +85 -0
- package/components/CashierMethodDetails-BJzw7HpC.js +11311 -0
- package/components/CashierMethodDetails-Bbh4KSFO.js +11368 -0
- package/components/CashierMethodDetails-BduwgGFf.js +11312 -0
- package/components/CashierMethodDetails-BgNGB-iF.js +11367 -0
- package/components/CashierMethodDetails-C7xYn9x0.js +11318 -0
- package/components/CashierMethodDetails-CFTNshq8.js +11364 -0
- package/components/CashierMethodDetails-CVMU0ibh.js +11236 -0
- package/components/CashierMethodDetails-Cseg3QNa.cjs +85 -0
- package/components/CashierMethodDetails-Cx5hAXMm.js +11319 -0
- package/components/CashierMethodDetails-DLo1yy4k.js +11367 -0
- package/components/CashierMethodDetails-DM9jw46k.cjs +85 -0
- package/components/CashierMethodDetails-DU7kvJBt.js +11315 -0
- package/components/CashierMethodDetails-DVWFrA6C.js +11318 -0
- package/components/CashierMethodDetails-DYrbrr8o.cjs +85 -0
- package/components/CashierMethodDetails-DqHPQoci.js +11360 -0
- package/components/CashierMethodDetails-LuXonXkb.cjs +85 -0
- package/components/CashierMethodDetails-Mf9CjdnH.cjs +85 -0
- package/components/CashierMethodDetails-Ntk5SLL7.js +11319 -0
- package/components/CashierMethodDetails-_pbVQ8Xy.js +11195 -0
- package/components/CashierMethodDetails-wUxBeaoT.js +11368 -0
- package/components/CashierMethodsList-B55npl9w.cjs +1 -0
- package/components/CashierMethodsList-BMixbBDq.js +955 -0
- package/components/CashierMethodsList-BMz6rfQI.js +969 -0
- package/components/CashierMethodsList-B_w3Kuar.js +969 -0
- package/components/CashierMethodsList-Bajk_fN2.cjs +1 -0
- package/components/CashierMethodsList-BmBonjbW.js +955 -0
- package/components/CashierMethodsList-Bmp_KFjq.js +955 -0
- package/components/CashierMethodsList-CFThb76F.js +955 -0
- package/components/CashierMethodsList-CIAxBsTY.cjs +1 -0
- package/components/CashierMethodsList-CZDLiDr_.cjs +1 -0
- package/components/CashierMethodsList-CbAeXlXH.js +955 -0
- package/components/CashierMethodsList-Ch8l-qgA.cjs +1 -0
- package/components/CashierMethodsList-DNKyMqx9.cjs +1 -0
- package/components/CashierMethodsList-DOa_r_IH.js +955 -0
- package/components/CashierMethodsList-Da48wqYP.js +969 -0
- package/components/CashierMethodsList-DhQgHjKv.js +969 -0
- package/components/CashierMethodsList-DikeveqL.js +955 -0
- package/components/CashierMethodsList-Dke9ZfIv.js +969 -0
- package/components/CashierMethodsList-DoZUls2T.js +969 -0
- package/components/CashierMethodsList-TDZO2lgt.cjs +1 -0
- package/components/CashierMethodsList-TezEzLO8.cjs +1 -0
- package/components/CashierMethodsList-_2jprmvV.js +969 -0
- package/components/CashierMethodsList-r6Fl_VHc.js +969 -0
- package/components/CashierMethodsList-vNXo4202.js +955 -0
- package/components/CashierModal-2KqFqz9P.js +402 -0
- package/components/CashierModal-BMWVV0M_.js +386 -0
- package/components/CashierModal-Bf3EyHCi.js +402 -0
- package/components/CashierModal-BjBuHzUT.js +386 -0
- package/components/CashierModal-BjCLh7Ni.cjs +1 -0
- package/components/CashierModal-Bm2VVV9v.js +386 -0
- package/components/CashierModal-C8qnVZJe.cjs +1 -0
- package/components/CashierModal-CD-mRbW-.js +386 -0
- package/components/CashierModal-CO3FRRn7.cjs +1 -0
- package/components/CashierModal-C_TyxyjB.js +402 -0
- package/components/CashierModal-Ci9EsZWx.cjs +1 -0
- package/components/CashierModal-Cnsm5NTo.js +402 -0
- package/components/CashierModal-CoQj_0GG.js +402 -0
- package/components/CashierModal-Cw5qhWK9.cjs +1 -0
- package/components/CashierModal-D3CCFA8n.js +402 -0
- package/components/CashierModal-DJ8tsYTz.cjs +1 -0
- package/components/CashierModal-Dg-s3ob3.cjs +1 -0
- package/components/CashierModal-DhUod5O1.js +386 -0
- package/components/CashierModal-Dm7NJKAM.js +386 -0
- package/components/CashierModal-DyRy8QAM.js +386 -0
- package/components/CashierModal-IjvEDr1e.cjs +1 -0
- package/components/CashierModal-R8gHqWGi.js +402 -0
- package/components/CashierModal-Tx-_I3C5.js +402 -0
- package/components/CashierModal-_6k8SMmv.js +386 -0
- package/components/CashierNotifications-0Wga_Ifp.js +129 -0
- package/components/{CashierNotifications-Dx7SHS2Y.js → CashierNotifications-7d-UqO7I.js} +13 -13
- package/components/CashierNotifications-8gjVa_uU.js +129 -0
- package/components/CashierNotifications-B-ca_1gR.js +129 -0
- package/components/CashierNotifications-B8CttXUW.cjs +1 -0
- package/components/CashierNotifications-Bgr7z6wz.cjs +1 -0
- package/components/CashierNotifications-BwSNv1p7.js +129 -0
- package/components/CashierNotifications-C1ho-Jaz.cjs +1 -0
- package/components/CashierNotifications-C7NLNk3U.cjs +1 -0
- package/components/CashierNotifications-CKOYETVR.js +129 -0
- package/components/CashierNotifications-CL61HFzd.js +129 -0
- package/components/CashierNotifications-CMN-xRMO.cjs +1 -0
- package/components/CashierNotifications-CW1ZTrj2.js +129 -0
- package/components/CashierNotifications-CWKqPpqQ.js +129 -0
- package/components/CashierNotifications-CmiHpcEU.js +129 -0
- package/components/CashierNotifications-CzUMulC-.cjs +1 -0
- package/components/CashierNotifications-DAsniw2X.js +129 -0
- package/components/CashierNotifications-DOl12JQ-.js +129 -0
- package/components/CashierNotifications-DUj6i_0r.js +129 -0
- package/components/CashierNotifications-DpuHjG3p.js +129 -0
- package/components/CashierNotifications-Dwb6PONf.js +129 -0
- package/components/CashierNotifications-Pv9TuEmZ.js +129 -0
- package/components/CashierNotifications-RLUOVh_a.cjs +1 -0
- package/components/CashierNotifications-Y7z6vtD-.cjs +1 -0
- package/components/CashierPage-BQhniGg-.js +10251 -0
- package/components/CashierPage-BaIwIJHa.cjs +23 -0
- package/components/CashierPage-BjvnMi5F.js +10251 -0
- package/components/CashierPage-BuVeTvKW.js +10251 -0
- package/components/CashierPage-CJp9QSIi.cjs +23 -0
- package/components/CashierPage-CMmucxxi.js +10304 -0
- package/components/CashierPage-CcdAHcv6.cjs +23 -0
- package/components/CashierPage-CdLRZC8f.js +10304 -0
- package/components/CashierPage-CefJ-ocg.js +10251 -0
- package/components/CashierPage-CyHsZXmd.js +10304 -0
- package/components/CashierPage-D1htTrxx.js +10304 -0
- package/components/CashierPage-D6vcewAK.cjs +23 -0
- package/components/CashierPage-DA1UIZ8S.js +10304 -0
- package/components/CashierPage-DCzMOs0K.js +10304 -0
- package/components/CashierPage-DDxb0MKa.js +10304 -0
- package/components/CashierPage-DNvx-jj-.js +10286 -0
- package/components/CashierPage-Dav0dith.js +10251 -0
- package/components/CashierPage-Di39LIGk.js +10233 -0
- package/components/CashierPage-Ditk0AIr.cjs +23 -0
- package/components/CashierPage-WcM68RV2.js +10251 -0
- package/components/CashierPage-cphf5eof.js +10251 -0
- package/components/CashierPage-iXK3cQSt.cjs +23 -0
- package/components/CashierPage-oclBPVn6.cjs +23 -0
- package/components/CashierPage-omYJ71qX.cjs +23 -0
- package/components/CashierReceiptPage-B0JUFD2S.cjs +29 -0
- package/components/CashierReceiptPage-B8Z2MIBL.js +2063 -0
- package/components/CashierReceiptPage-BDo3QfsY.js +2063 -0
- package/components/CashierReceiptPage-BFGN9mSN.js +2043 -0
- package/components/CashierReceiptPage-BGZhwQ1L.js +2063 -0
- package/components/CashierReceiptPage-BIUhFAGF.js +2063 -0
- package/components/CashierReceiptPage-BItCN-Ho.js +2043 -0
- package/components/CashierReceiptPage-BRRJnEPY.js +2043 -0
- package/components/CashierReceiptPage-BY5K-pb-.js +2063 -0
- package/components/CashierReceiptPage-Bbk02vgF.cjs +29 -0
- package/components/CashierReceiptPage-BiVOqzbs.js +2063 -0
- package/components/CashierReceiptPage-BsDK9X-8.js +2063 -0
- package/components/CashierReceiptPage-BwxezsZt.js +2043 -0
- package/components/CashierReceiptPage-Bx4goj0R.cjs +29 -0
- package/components/CashierReceiptPage-Bz4-hxws.js +2043 -0
- package/components/CashierReceiptPage-CPYc8rrF.js +2043 -0
- package/components/CashierReceiptPage-Cce54jka.cjs +29 -0
- package/components/CashierReceiptPage-D-ViyLxj.cjs +29 -0
- package/components/CashierReceiptPage-DDY6FfFY.js +2043 -0
- package/components/CashierReceiptPage-DiGNTI5f.cjs +29 -0
- package/components/CashierReceiptPage-DuqtpDdz.js +2043 -0
- package/components/CashierReceiptPage-M-ZC6CP_.js +2063 -0
- package/components/CashierReceiptPage-VraYh2dk.cjs +29 -0
- package/components/CashierReceiptPage-v1DECVU-.cjs +29 -0
- package/components/CashierSessionExpirationModal-7d4uvHtj.cjs +2 -0
- package/components/CashierSessionExpirationModal-89tsT9fO.js +1212 -0
- package/components/CashierSessionExpirationModal-BK2_wm99.cjs +2 -0
- package/components/CashierSessionExpirationModal-BShnnd_h.js +1212 -0
- package/components/CashierSessionExpirationModal-BWNXPWxc.js +1212 -0
- package/components/CashierSessionExpirationModal-BhImBZ1E.cjs +2 -0
- package/components/CashierSessionExpirationModal-Bm1Z6Tyg.cjs +2 -0
- package/components/CashierSessionExpirationModal-ByhAjtaj.js +1212 -0
- package/components/CashierSessionExpirationModal-CLxmnB3R.js +1212 -0
- package/components/CashierSessionExpirationModal-CSMPQDFH.cjs +2 -0
- package/components/CashierSessionExpirationModal-CeEycZWZ.js +1212 -0
- package/components/CashierSessionExpirationModal-Cn0LeDRf.js +1212 -0
- package/components/CashierSessionExpirationModal-Comz8M40.cjs +2 -0
- package/components/CashierSessionExpirationModal-D0BpNBmZ.js +1212 -0
- package/components/CashierSessionExpirationModal-D1pgZ4Hb.js +1212 -0
- package/components/CashierSessionExpirationModal-DFHbCTHm.js +1212 -0
- package/components/CashierSessionExpirationModal-DX5FQwA1.js +1212 -0
- package/components/CashierSessionExpirationModal-DjUO431d.cjs +2 -0
- package/components/CashierSessionExpirationModal-DkT-exzr.cjs +2 -0
- package/components/CashierSessionExpirationModal-DqSIsJxv.js +1212 -0
- package/components/CashierSessionExpirationModal-DukMm7cR.js +1212 -0
- package/components/CashierSessionExpirationModal-NLTDcnxx.js +1212 -0
- package/components/CashierSessionExpirationModal-oBtX4-uP.js +1212 -0
- package/components/CashierSessionExpirationModal-zPJoLxCa.js +1212 -0
- package/components/CashierSpinner-B0ZH80uj.js +79 -0
- package/components/CashierSpinner-BBCHW5vA.js +79 -0
- package/components/CashierSpinner-BJnp0qhe.js +79 -0
- package/components/CashierSpinner-BbF9Pu3y.cjs +1 -0
- package/components/CashierSpinner-Bu2e9efo.cjs +1 -0
- package/components/CashierSpinner-BvrdVMg3.js +79 -0
- package/components/CashierSpinner-BwEdDRlw.js +79 -0
- package/components/CashierSpinner-CPS-fbCS.cjs +1 -0
- package/components/CashierSpinner-CijlQ7Jb.js +79 -0
- package/components/CashierSpinner-CmZOiWOQ.cjs +1 -0
- package/components/CashierSpinner-Cp08TAwN.cjs +1 -0
- package/components/CashierSpinner-CrFft3Sn.cjs +1 -0
- package/components/CashierSpinner-CtI4X8lZ.js +79 -0
- package/components/CashierSpinner-D-uLFs59.js +79 -0
- package/components/CashierSpinner-D6_uiSDw.js +79 -0
- package/components/CashierSpinner-DcR4UeKu.cjs +1 -0
- package/components/CashierSpinner-DsZBr8dd.js +79 -0
- package/components/CashierSpinner-HGOslVca.js +79 -0
- package/components/CashierSpinner-IiM8erW4.js +79 -0
- package/components/CashierSpinner-KtKTNfcB.js +79 -0
- package/components/CashierSpinner-NTyeFxdl.js +79 -0
- package/components/CashierSpinner-XMYJr8O-.js +79 -0
- package/components/CashierSpinner-iQ3LWBE8.js +79 -0
- package/components/CashierSpinner-sn37imTZ.cjs +1 -0
- package/components/CashierStepUp-B-XuRlFJ.js +1161 -0
- package/components/CashierStepUp-B5SFdX4c.js +1161 -0
- package/components/CashierStepUp-B8jEpfpI.cjs +1 -0
- package/components/CashierStepUp-BA1TZFgZ.cjs +1 -0
- package/components/CashierStepUp-BaQ-4ONc.cjs +1 -0
- package/components/CashierStepUp-BbuAT98T.js +1161 -0
- package/components/CashierStepUp-BmUOk2Z5.cjs +1 -0
- package/components/CashierStepUp-Bo2p2Byz.cjs +1 -0
- package/components/CashierStepUp-BrKQHB8z.js +1200 -0
- package/components/CashierStepUp-C1IloUpr.js +1161 -0
- package/components/CashierStepUp-CVldddLQ.js +1200 -0
- package/components/CashierStepUp-CbbhjOm7.js +1200 -0
- package/components/CashierStepUp-CeIXPzTS.js +1200 -0
- package/components/CashierStepUp-Cuw-UFB4.js +1200 -0
- package/components/CashierStepUp-CxYfVJbG.js +1161 -0
- package/components/CashierStepUp-Db-BT4Wt.js +1200 -0
- package/components/CashierStepUp-DgIrjq3H.js +1200 -0
- package/components/CashierStepUp-Di5gYfec.js +1200 -0
- package/components/CashierStepUp-Dmu5H4_4.cjs +1 -0
- package/components/CashierStepUp-Dnu2pCHD.js +1161 -0
- package/components/CashierStepUp-DrhTGMAU.js +1161 -0
- package/components/CashierStepUp-DwDnE54o.cjs +1 -0
- package/components/CashierStepUp-DxaC03Ke.js +1161 -0
- package/components/CashierStepUp-tWxu2yyF.cjs +1 -0
- package/components/CashierTransactionHistory-8Ijjq6-a.cjs +1 -0
- package/components/CashierTransactionHistory-B45rZinx.cjs +1 -0
- package/components/CashierTransactionHistory-B6EZhgfX.js +1415 -0
- package/components/CashierTransactionHistory-BGaRKnAl.js +1415 -0
- package/components/CashierTransactionHistory-BauiDxsc.js +1415 -0
- package/components/CashierTransactionHistory-Bo8JkzOf.js +1415 -0
- package/components/CashierTransactionHistory-Brkk9hj3.cjs +1 -0
- package/components/CashierTransactionHistory-C1n-D4Wb.js +1415 -0
- package/components/CashierTransactionHistory-CGxJcTl5.cjs +1 -0
- package/components/CashierTransactionHistory-CP4jhgjc.js +1415 -0
- package/components/CashierTransactionHistory-Cbst0pmr.cjs +1 -0
- package/components/CashierTransactionHistory-CdC-Ml8p.js +1415 -0
- package/components/CashierTransactionHistory-CjRne0U9.js +1415 -0
- package/components/CashierTransactionHistory-CoNj-hp-.js +1415 -0
- package/components/CashierTransactionHistory-CzZswOtC.js +1415 -0
- package/components/CashierTransactionHistory-D6IaNMgy.js +1415 -0
- package/components/CashierTransactionHistory-DCZpMr4c.js +1415 -0
- package/components/CashierTransactionHistory-DCrCC54K.js +1415 -0
- package/components/CashierTransactionHistory-DQUuorWO.js +1415 -0
- package/components/CashierTransactionHistory-DYKLHPml.cjs +1 -0
- package/components/CashierTransactionHistory-Drekt-Q4.cjs +1 -0
- package/components/CashierTransactionHistory-DtsTfXjZ.js +1415 -0
- package/components/CashierTransactionHistory-OrKNxMub.js +1415 -0
- package/components/CashierTransactionHistory-j-vvWT1T.cjs +1 -0
- package/components/CashierVerifications-B0GT1VIo.js +696 -0
- package/components/CashierVerifications-BDgGTdjX.js +696 -0
- package/components/CashierVerifications-BKoNok_b.js +700 -0
- package/components/CashierVerifications-BRTvf5t4.js +696 -0
- package/components/CashierVerifications-BU-pPwnt.js +696 -0
- package/components/CashierVerifications-BdgCPyvj.cjs +1 -0
- package/components/CashierVerifications-Bu_4fcwt.cjs +1 -0
- package/components/CashierVerifications-C2sK0JMU.cjs +1 -0
- package/components/CashierVerifications-CFO3VH4g.js +696 -0
- package/components/CashierVerifications-CHcdLAGz.cjs +1 -0
- package/components/CashierVerifications-CMynKu53.js +696 -0
- package/components/CashierVerifications-C_sQECJN.js +700 -0
- package/components/CashierVerifications-CpWRC-e0.js +696 -0
- package/components/CashierVerifications-CrLvzaUH.js +700 -0
- package/components/CashierVerifications-DBExgLm0.js +700 -0
- package/components/CashierVerifications-DK1hxqhr.js +700 -0
- package/components/CashierVerifications-DdQtz4pM.js +700 -0
- package/components/CashierVerifications-DjhzGn4T.cjs +1 -0
- package/components/CashierVerifications-DtoCEJ_H.js +700 -0
- package/components/CashierVerifications-DxOErWSd.js +696 -0
- package/components/CashierVerifications-l5VLEVQz.cjs +1 -0
- package/components/CashierVerifications-pOkpOTJi.js +700 -0
- package/components/CashierVerifications-wxZ5UVlI.cjs +1 -0
- package/components/CashierVerifications-xAqEgS63.cjs +1 -0
- package/components/TxnStatusIcon-5dGHqNJj.js +142 -0
- package/components/TxnStatusIcon-B3gjjhUj.js +142 -0
- package/components/TxnStatusIcon-BAWpcB0g.js +142 -0
- package/components/TxnStatusIcon-BBEUA2CA.cjs +1 -0
- package/components/TxnStatusIcon-BeI8BdRm.js +142 -0
- package/components/TxnStatusIcon-C_wcnlk3.cjs +1 -0
- package/components/TxnStatusIcon-CltqIISZ.js +142 -0
- package/components/TxnStatusIcon-D-oJwJ2f.js +142 -0
- package/components/TxnStatusIcon-D-vBlig8.js +142 -0
- package/components/TxnStatusIcon-D1s8pLgN.js +142 -0
- package/components/TxnStatusIcon-D39Ku0g9.cjs +1 -0
- package/components/TxnStatusIcon-D77NSDRc.js +142 -0
- package/components/TxnStatusIcon-D8I6-FUx.js +142 -0
- package/components/TxnStatusIcon-D8rS44nE.cjs +1 -0
- package/components/TxnStatusIcon-DAKwTXZM.js +142 -0
- package/components/TxnStatusIcon-DNTDHFzm.js +142 -0
- package/components/TxnStatusIcon-De9rtFVI.cjs +1 -0
- package/components/TxnStatusIcon-DjfkoPvR.cjs +1 -0
- package/components/TxnStatusIcon-DtGv-DOz.js +142 -0
- package/components/TxnStatusIcon-Jv2ynILA.js +142 -0
- package/components/TxnStatusIcon-KbBHjMVS.js +142 -0
- package/components/TxnStatusIcon-KsibSvGt.cjs +1 -0
- package/components/TxnStatusIcon-WGZKBMbi.cjs +1 -0
- package/components/TxnStatusIcon-gJ_LLQa4.js +142 -0
- package/components/TxnTypeIcons-8JdmtTaZ.cjs +1 -0
- package/components/TxnTypeIcons-B8JYAm1N.js +101 -0
- package/components/TxnTypeIcons-BAu7ZXcx.js +101 -0
- package/components/TxnTypeIcons-BC2MMQk1.cjs +1 -0
- package/components/TxnTypeIcons-BFslZ-JE.cjs +1 -0
- package/components/TxnTypeIcons-BTTcl99h.js +101 -0
- package/components/TxnTypeIcons-BZAxTGzv.js +101 -0
- package/components/TxnTypeIcons-BdOXr2MM.js +101 -0
- package/components/TxnTypeIcons-C-Zv63Oo.js +101 -0
- package/components/TxnTypeIcons-C1PPXlv0.js +101 -0
- package/components/TxnTypeIcons-CAJP2coJ.cjs +1 -0
- package/components/TxnTypeIcons-CQ2NkaXf.cjs +1 -0
- package/components/TxnTypeIcons-CWDH43jc.js +101 -0
- package/components/TxnTypeIcons-Cfp0r5jx.js +101 -0
- package/components/TxnTypeIcons-Cyf4suDM.cjs +1 -0
- package/components/TxnTypeIcons-DBLDYLhO.js +101 -0
- package/components/TxnTypeIcons-DHDq_jkt.cjs +1 -0
- package/components/TxnTypeIcons-DPG0MrzX.js +101 -0
- package/components/TxnTypeIcons-DTVT77x5.js +101 -0
- package/components/TxnTypeIcons-DhNaW2zD.js +101 -0
- package/components/TxnTypeIcons-DsBV_auh.js +101 -0
- package/components/TxnTypeIcons-H_ILduEQ.js +101 -0
- package/components/TxnTypeIcons-OBZcuGyc.cjs +1 -0
- package/components/TxnTypeIcons-jcfxBCN0.js +101 -0
- package/es2015/cashier-page.cjs +1 -1
- package/es2015/cashier-page.js +7 -7
- package/esnext/cashier-page.js +14 -0
- package/package.json +10 -15
- package/stencil/app-globals-0f993ce5-BD-Q0C8R.cjs +1 -0
- package/stencil/app-globals-0f993ce5-Cgk0KVAu.js +7 -0
- package/stencil/index-97d17652-B6BYeRne.js +542 -0
- package/stencil/index-97d17652-BOr4KAqq.js +558 -0
- package/stencil/index-97d17652-zTl06Vn9.cjs +1 -0
- package/stencil/index-b2193545-B5Q7rnAU.cjs +1 -0
- package/stencil/index-b2193545-CF_fVoFe.js +519 -0
- package/stencil/index-b2193545-DfttkCgg.js +503 -0
- package/stencil/ui-image-BsYHwNhO.js +7 -0
- package/stencil/ui-image-CNaRr0ax.js +25 -0
- package/stencil/ui-image-IJc7Zz_R.cjs +1 -0
- package/stencil/ui-image-b7b48fe5-BKRtoUuG.js +39 -0
- package/stencil/ui-image-b7b48fe5-HA45CrsG.js +39 -0
- package/stencil/ui-image-b7b48fe5-MC0x5ZQd.cjs +1 -0
- package/stencil/ui-image_2-CmVho0dS.js +157 -0
- package/stencil/ui-image_2-CyqE6j_W.cjs +55 -0
- package/stencil/ui-image_2-Daq38JGa.js +157 -0
- package/stencil/ui-skeleton-B9YTz-WD.js +29 -0
- package/stencil/ui-skeleton-CQ-FgYMx.js +11 -0
- package/stencil/ui-skeleton-UxIIZ8UD.cjs +1 -0
- package/stencil/ui-skeleton-ed169f8f-BEwquWmd.cjs +55 -0
- package/stencil/ui-skeleton-ed169f8f-BMrkXoR5.js +155 -0
- package/stencil/ui-skeleton-ed169f8f-BNn31z1X.js +155 -0
- package/components/CashierConfirmModal-Bho8FqJK.js +0 -1052
- package/components/CashierConfirmModal-KmRU3Mgr.cjs +0 -4
- package/components/CashierError-B6UnQRtt.js +0 -3766
- package/components/CashierError-Dj9dAyT_.cjs +0 -5
- package/components/CashierHeader-D_5W3qac.js +0 -394
- package/components/CashierHeader-PU4xmDh7.cjs +0 -1
- package/components/CashierIframeRedirect-AfYctO93.js +0 -375
- package/components/CashierIframeRedirect-DPigb3i8.cjs +0 -1
- package/components/CashierMethodDetails-CaayB8Ta.js +0 -8164
- package/components/CashierMethodDetails-DmHFfFH5.cjs +0 -18
- package/components/CashierMethodsList-COmRGzya.js +0 -661
- package/components/CashierMethodsList-jXH4wahr.cjs +0 -1
- package/components/CashierModal-FkJdngyj.cjs +0 -1
- package/components/CashierModal-XEf2DPsH.js +0 -232
- package/components/CashierNotifications-BJzRxOV_.cjs +0 -1
- package/components/CashierPage-9uZbyjKm.js +0 -1979
- package/components/CashierPage-B4HjN4Bk.cjs +0 -1
- package/components/CashierReceiptPage-C5JK2JOI.js +0 -1092
- package/components/CashierReceiptPage-H9Qapwm1.cjs +0 -1
- package/components/CashierSessionExpirationModal-CLyCURw1.js +0 -1174
- package/components/CashierSessionExpirationModal-ToViCtAl.cjs +0 -2
- package/components/CashierSpinner-CQi2Ol7j.js +0 -71
- package/components/CashierSpinner-CySOWnIQ.cjs +0 -1
- package/components/CashierVerifications-B43LfrCs.cjs +0 -1
- package/components/CashierVerifications-B82QHoUu.js +0 -611
- package/components/CashierVideoModal-DlhKKfRC.js +0 -191
- package/components/CashierVideoModal-DyD6vHBh.cjs +0 -1
|
@@ -0,0 +1,157 @@
|
|
|
1
|
+
import { U as m } from "./ui-image-b7b48fe5-HA45CrsG.js";
|
|
2
|
+
import { r as n, h as t, H as r } from "./index-97d17652-BOr4KAqq.js";
|
|
3
|
+
const s = ":host{display:block}.Skeleton{animation:skeleton-loading 1s linear infinite alternate}.SkeletonRectangle{background-color:var(--emw-skeleton-rectangle-background, #c2c2c2);width:var(--emw-skeleton-rectangle-width, 400px);height:var(--emw-skeleton-rectangle-height, 200px);border-radius:var(--emw-skeleton-rectangle-border-radius, 10px)}.SkeletonCircle{background-color:var(--emw-skeleton-circle-background, #c2c2c2);width:var(--emw-skeleton-circle-size, 400px);height:var(--emw-skeleton-circle-size, 400px);border-radius:50%}.SkeletonText{background-color:var(--emw-skeleton-text-background, #c2c2c2);width:var(--emw-skeleton-text-width, 500px);height:var(--emw-skeleton-text-height, 20px);border-radius:var(--emw-skeleton-text-border-radius, 10px);margin-bottom:var(--emw-skeleton-text-margin-bottom, 5px)}.SkeletonText:last-child{width:calc(var(--emw-skeleton-text-width, 400px) - 100px)}.SkeletonTitle{background-color:var(--emw-skeleton-title-background, #c2c2c2);width:var(--emw-skeleton-title-width, 300px);height:var(--emw-skeleton-title-height, 30px);border-radius:var(--emw-skeleton-title-border-radius, 10px);margin-bottom:var(--emw-skeleton-title-margin-bottom, 5px)}.SkeletonImage{background-color:var(--emw-skeleton-image-background, #c2c2c2);width:var(--emw-skeleton-image-width, 100%);height:var(--emw-skeleton-image-height, 100%);border-radius:var(--emw-skeleton-image-border-radius, unset)}.SkeletonLogo{background-color:var(--emw-skeleton-logo-background, #c2c2c2);width:var(--emw-skeleton-logo-width, 120px);height:var(--emw-skeleton-logo-height, 75px);border-radius:var(--emw-skeleton-logo-border-radius, 10px)}@keyframes skeleton-loading{0%{background-color:var(--emw-skeleton-primary-color, #e0e0e0)}100%{background-color:var(--emw-skeleton-secondary-color, #f0f0f0)}}", l = s, a = class {
|
|
4
|
+
constructor(e) {
|
|
5
|
+
n(this, e), this.stylingValue = {
|
|
6
|
+
width: this.handleStylingProps(this.width),
|
|
7
|
+
height: this.handleStylingProps(this.height),
|
|
8
|
+
borderRadius: this.handleStylingProps(this.borderRadius),
|
|
9
|
+
marginBottom: this.handleStylingProps(this.marginBottom),
|
|
10
|
+
marginTop: this.handleStylingProps(this.marginTop),
|
|
11
|
+
marginLeft: this.handleStylingProps(this.marginLeft),
|
|
12
|
+
marginRight: this.handleStylingProps(this.marginRight),
|
|
13
|
+
size: this.handleStylingProps(this.size)
|
|
14
|
+
}, this.structure = void 0, this.width = "unset", this.height = "unset", this.borderRadius = "unset", this.marginBottom = "unset", this.marginTop = "unset", this.marginLeft = "unset", this.marginRight = "unset", this.animation = !0, this.rows = 0, this.size = "100%";
|
|
15
|
+
}
|
|
16
|
+
handleStructureChange(e, i) {
|
|
17
|
+
i !== e && this.handleStructure(e);
|
|
18
|
+
}
|
|
19
|
+
handleStylingProps(e) {
|
|
20
|
+
switch (typeof e) {
|
|
21
|
+
case "number":
|
|
22
|
+
return e === 0 ? 0 : `${e}px`;
|
|
23
|
+
case "undefined":
|
|
24
|
+
return "unset";
|
|
25
|
+
case "string":
|
|
26
|
+
return ["auto", "unset", "none", "inherit", "initial"].includes(e) || e.endsWith("px") || e.endsWith("%") ? e : "unset";
|
|
27
|
+
default:
|
|
28
|
+
return "unset";
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
handleStructure(e) {
|
|
32
|
+
switch (e) {
|
|
33
|
+
case "logo":
|
|
34
|
+
return this.renderLogo();
|
|
35
|
+
case "image":
|
|
36
|
+
return this.renderImage();
|
|
37
|
+
case "title":
|
|
38
|
+
return this.renderTitle();
|
|
39
|
+
case "text":
|
|
40
|
+
return this.renderText();
|
|
41
|
+
case "rectangle":
|
|
42
|
+
return this.renderRectangle();
|
|
43
|
+
case "circle":
|
|
44
|
+
return this.renderCircle();
|
|
45
|
+
default:
|
|
46
|
+
return null;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
renderLogo() {
|
|
50
|
+
return t("div", { class: "SkeletonContainer" }, t("div", { class: "SkeletonLogo " + (this.animation ? "Skeleton" : "") }));
|
|
51
|
+
}
|
|
52
|
+
renderImage() {
|
|
53
|
+
return t("div", { class: "SkeletonImage " + (this.animation ? "Skeleton" : "") });
|
|
54
|
+
}
|
|
55
|
+
renderTitle() {
|
|
56
|
+
return t("div", { class: "SkeletonContainer" }, t("div", { class: "SkeletonTitle " + (this.animation ? "Skeleton" : "") }));
|
|
57
|
+
}
|
|
58
|
+
renderText() {
|
|
59
|
+
return t("div", { class: "SkeletonContainer" }, Array.from({ length: this.rows > 0 ? this.rows : 1 }).map((e, i) => t("div", { key: i, class: "SkeletonText " + (this.animation ? "Skeleton" : "") })));
|
|
60
|
+
}
|
|
61
|
+
renderRectangle() {
|
|
62
|
+
return t("div", { class: "SkeletonContainer" }, t("div", { class: "SkeletonRectangle " + (this.animation ? "Skeleton" : "") }));
|
|
63
|
+
}
|
|
64
|
+
renderCircle() {
|
|
65
|
+
return t("div", { class: "SkeletonContainer" }, t("div", { class: "SkeletonCircle " + (this.animation ? "Skeleton" : "") }));
|
|
66
|
+
}
|
|
67
|
+
render() {
|
|
68
|
+
let e = "";
|
|
69
|
+
switch (this.structure) {
|
|
70
|
+
case "logo":
|
|
71
|
+
e = `
|
|
72
|
+
:host {
|
|
73
|
+
--emw-skeleton-logo-width: ${this.stylingValue.width};
|
|
74
|
+
--emw-skeleton-logo-height: ${this.stylingValue.height};
|
|
75
|
+
--emw-skeleton-logo-border-radius: ${this.stylingValue.borderRadius};
|
|
76
|
+
--emw-skeleton-logo-margin-bottom: ${this.stylingValue.marginBottom};
|
|
77
|
+
--emw-skeleton-logo-margin-top: ${this.stylingValue.marginTop};
|
|
78
|
+
--emw-skeleton-logo-margin-left: ${this.stylingValue.marginLeft};
|
|
79
|
+
--emw-skeleton-logo-margin-right: ${this.stylingValue.marginRight};
|
|
80
|
+
}
|
|
81
|
+
`;
|
|
82
|
+
break;
|
|
83
|
+
case "image":
|
|
84
|
+
e = `
|
|
85
|
+
:host {
|
|
86
|
+
--emw-skeleton-image-width: ${this.stylingValue.width};
|
|
87
|
+
--emw-skeleton-image-height: ${this.stylingValue.height};
|
|
88
|
+
--emw-skeleton-image-border-radius: ${this.stylingValue.borderRadius};
|
|
89
|
+
--emw-skeleton-image-margin-bottom: ${this.stylingValue.marginBottom};
|
|
90
|
+
--emw-skeleton-image-margin-top: ${this.stylingValue.marginTop};
|
|
91
|
+
--emw-skeleton-image-margin-left: ${this.stylingValue.marginLeft};
|
|
92
|
+
--emw-skeleton-image-margin-right: ${this.stylingValue.marginRight};
|
|
93
|
+
}
|
|
94
|
+
`;
|
|
95
|
+
break;
|
|
96
|
+
case "title":
|
|
97
|
+
e = `
|
|
98
|
+
:host {
|
|
99
|
+
--emw-skeleton-title-width: ${this.stylingValue.width};
|
|
100
|
+
--emw-skeleton-title-height: ${this.stylingValue.height};
|
|
101
|
+
--emw-skeleton-title-border-radius: ${this.stylingValue.borderRadius};
|
|
102
|
+
--emw-skeleton-title-margin-bottom: ${this.stylingValue.marginBottom};
|
|
103
|
+
--emw-skeleton-title-margin-top: ${this.stylingValue.marginTop};
|
|
104
|
+
--emw-skeleton-title-margin-left: ${this.stylingValue.marginLeft};
|
|
105
|
+
--emw-skeleton-title-margin-right: ${this.stylingValue.marginRight};
|
|
106
|
+
}
|
|
107
|
+
`;
|
|
108
|
+
break;
|
|
109
|
+
case "text":
|
|
110
|
+
e = `
|
|
111
|
+
:host {
|
|
112
|
+
--emw-skeleton-text-width: ${this.stylingValue.width};
|
|
113
|
+
--emw-skeleton-text-height: ${this.stylingValue.height};
|
|
114
|
+
--emw-skeleton-text-border-radius: ${this.stylingValue.borderRadius};
|
|
115
|
+
--emw-skeleton-text-margin-bottom: ${this.stylingValue.marginBottom};
|
|
116
|
+
--emw-skeleton-text-margin-top: ${this.stylingValue.marginTop};
|
|
117
|
+
--emw-skeleton-text-margin-left: ${this.stylingValue.marginLeft};
|
|
118
|
+
--emw-skeleton-text-margin-right: ${this.stylingValue.marginRight};
|
|
119
|
+
}
|
|
120
|
+
`;
|
|
121
|
+
break;
|
|
122
|
+
case "rectangle":
|
|
123
|
+
e = `
|
|
124
|
+
:host {
|
|
125
|
+
--emw-skeleton-rectangle-width: ${this.stylingValue.width};
|
|
126
|
+
--emw-skeleton-rectangle-height: ${this.stylingValue.height};
|
|
127
|
+
--emw-skeleton-rectangle-border-radius: ${this.stylingValue.borderRadius};
|
|
128
|
+
--emw-skeleton-rectangle-margin-bottom: ${this.stylingValue.marginBottom};
|
|
129
|
+
--emw-skeleton-rectangle-margin-top: ${this.stylingValue.marginTop};
|
|
130
|
+
--emw-skeleton-rectangle-margin-left: ${this.stylingValue.marginLeft};
|
|
131
|
+
--emw-skeleton-rectangle-margin-right: ${this.stylingValue.marginRight};
|
|
132
|
+
}
|
|
133
|
+
`;
|
|
134
|
+
break;
|
|
135
|
+
case "circle":
|
|
136
|
+
e = `
|
|
137
|
+
:host {
|
|
138
|
+
--emw-skeleton-circle-size: ${this.stylingValue.size};
|
|
139
|
+
}
|
|
140
|
+
`;
|
|
141
|
+
break;
|
|
142
|
+
default:
|
|
143
|
+
e = "";
|
|
144
|
+
}
|
|
145
|
+
return t(r, { key: "c2a2650acd416962a2bc4e1a7ee18bc6d8e2def8" }, t("style", { key: "9bd7fc1f9e9ed9f17735a7b72fce6f09696f5e19" }, e), this.handleStructure(this.structure));
|
|
146
|
+
}
|
|
147
|
+
static get watchers() {
|
|
148
|
+
return {
|
|
149
|
+
structure: ["handleStructureChange"]
|
|
150
|
+
};
|
|
151
|
+
}
|
|
152
|
+
};
|
|
153
|
+
a.style = l;
|
|
154
|
+
export {
|
|
155
|
+
m as ui_image,
|
|
156
|
+
a as ui_skeleton
|
|
157
|
+
};
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./ui-image-b7b48fe5-MC0x5ZQd.cjs"),t=require("./index-97d17652-zTl06Vn9.cjs"),s=":host{display:block}.Skeleton{animation:skeleton-loading 1s linear infinite alternate}.SkeletonRectangle{background-color:var(--emw-skeleton-rectangle-background, #c2c2c2);width:var(--emw-skeleton-rectangle-width, 400px);height:var(--emw-skeleton-rectangle-height, 200px);border-radius:var(--emw-skeleton-rectangle-border-radius, 10px)}.SkeletonCircle{background-color:var(--emw-skeleton-circle-background, #c2c2c2);width:var(--emw-skeleton-circle-size, 400px);height:var(--emw-skeleton-circle-size, 400px);border-radius:50%}.SkeletonText{background-color:var(--emw-skeleton-text-background, #c2c2c2);width:var(--emw-skeleton-text-width, 500px);height:var(--emw-skeleton-text-height, 20px);border-radius:var(--emw-skeleton-text-border-radius, 10px);margin-bottom:var(--emw-skeleton-text-margin-bottom, 5px)}.SkeletonText:last-child{width:calc(var(--emw-skeleton-text-width, 400px) - 100px)}.SkeletonTitle{background-color:var(--emw-skeleton-title-background, #c2c2c2);width:var(--emw-skeleton-title-width, 300px);height:var(--emw-skeleton-title-height, 30px);border-radius:var(--emw-skeleton-title-border-radius, 10px);margin-bottom:var(--emw-skeleton-title-margin-bottom, 5px)}.SkeletonImage{background-color:var(--emw-skeleton-image-background, #c2c2c2);width:var(--emw-skeleton-image-width, 100%);height:var(--emw-skeleton-image-height, 100%);border-radius:var(--emw-skeleton-image-border-radius, unset)}.SkeletonLogo{background-color:var(--emw-skeleton-logo-background, #c2c2c2);width:var(--emw-skeleton-logo-width, 120px);height:var(--emw-skeleton-logo-height, 75px);border-radius:var(--emw-skeleton-logo-border-radius, 10px)}@keyframes skeleton-loading{0%{background-color:var(--emw-skeleton-primary-color, #e0e0e0)}100%{background-color:var(--emw-skeleton-secondary-color, #f0f0f0)}}",l=s,n=class{constructor(e){t.registerInstance(this,e),this.stylingValue={width:this.handleStylingProps(this.width),height:this.handleStylingProps(this.height),borderRadius:this.handleStylingProps(this.borderRadius),marginBottom:this.handleStylingProps(this.marginBottom),marginTop:this.handleStylingProps(this.marginTop),marginLeft:this.handleStylingProps(this.marginLeft),marginRight:this.handleStylingProps(this.marginRight),size:this.handleStylingProps(this.size)},this.structure=void 0,this.width="unset",this.height="unset",this.borderRadius="unset",this.marginBottom="unset",this.marginTop="unset",this.marginLeft="unset",this.marginRight="unset",this.animation=!0,this.rows=0,this.size="100%"}handleStructureChange(e,i){i!==e&&this.handleStructure(e)}handleStylingProps(e){switch(typeof e){case"number":return e===0?0:`${e}px`;case"undefined":return"unset";case"string":return["auto","unset","none","inherit","initial"].includes(e)||e.endsWith("px")||e.endsWith("%")?e:"unset";default:return"unset"}}handleStructure(e){switch(e){case"logo":return this.renderLogo();case"image":return this.renderImage();case"title":return this.renderTitle();case"text":return this.renderText();case"rectangle":return this.renderRectangle();case"circle":return this.renderCircle();default:return null}}renderLogo(){return t.h("div",{class:"SkeletonContainer"},t.h("div",{class:"SkeletonLogo "+(this.animation?"Skeleton":"")}))}renderImage(){return t.h("div",{class:"SkeletonImage "+(this.animation?"Skeleton":"")})}renderTitle(){return t.h("div",{class:"SkeletonContainer"},t.h("div",{class:"SkeletonTitle "+(this.animation?"Skeleton":"")}))}renderText(){return t.h("div",{class:"SkeletonContainer"},Array.from({length:this.rows>0?this.rows:1}).map((e,i)=>t.h("div",{key:i,class:"SkeletonText "+(this.animation?"Skeleton":"")})))}renderRectangle(){return t.h("div",{class:"SkeletonContainer"},t.h("div",{class:"SkeletonRectangle "+(this.animation?"Skeleton":"")}))}renderCircle(){return t.h("div",{class:"SkeletonContainer"},t.h("div",{class:"SkeletonCircle "+(this.animation?"Skeleton":"")}))}render(){let e="";switch(this.structure){case"logo":e=`
|
|
2
|
+
:host {
|
|
3
|
+
--emw-skeleton-logo-width: ${this.stylingValue.width};
|
|
4
|
+
--emw-skeleton-logo-height: ${this.stylingValue.height};
|
|
5
|
+
--emw-skeleton-logo-border-radius: ${this.stylingValue.borderRadius};
|
|
6
|
+
--emw-skeleton-logo-margin-bottom: ${this.stylingValue.marginBottom};
|
|
7
|
+
--emw-skeleton-logo-margin-top: ${this.stylingValue.marginTop};
|
|
8
|
+
--emw-skeleton-logo-margin-left: ${this.stylingValue.marginLeft};
|
|
9
|
+
--emw-skeleton-logo-margin-right: ${this.stylingValue.marginRight};
|
|
10
|
+
}
|
|
11
|
+
`;break;case"image":e=`
|
|
12
|
+
:host {
|
|
13
|
+
--emw-skeleton-image-width: ${this.stylingValue.width};
|
|
14
|
+
--emw-skeleton-image-height: ${this.stylingValue.height};
|
|
15
|
+
--emw-skeleton-image-border-radius: ${this.stylingValue.borderRadius};
|
|
16
|
+
--emw-skeleton-image-margin-bottom: ${this.stylingValue.marginBottom};
|
|
17
|
+
--emw-skeleton-image-margin-top: ${this.stylingValue.marginTop};
|
|
18
|
+
--emw-skeleton-image-margin-left: ${this.stylingValue.marginLeft};
|
|
19
|
+
--emw-skeleton-image-margin-right: ${this.stylingValue.marginRight};
|
|
20
|
+
}
|
|
21
|
+
`;break;case"title":e=`
|
|
22
|
+
:host {
|
|
23
|
+
--emw-skeleton-title-width: ${this.stylingValue.width};
|
|
24
|
+
--emw-skeleton-title-height: ${this.stylingValue.height};
|
|
25
|
+
--emw-skeleton-title-border-radius: ${this.stylingValue.borderRadius};
|
|
26
|
+
--emw-skeleton-title-margin-bottom: ${this.stylingValue.marginBottom};
|
|
27
|
+
--emw-skeleton-title-margin-top: ${this.stylingValue.marginTop};
|
|
28
|
+
--emw-skeleton-title-margin-left: ${this.stylingValue.marginLeft};
|
|
29
|
+
--emw-skeleton-title-margin-right: ${this.stylingValue.marginRight};
|
|
30
|
+
}
|
|
31
|
+
`;break;case"text":e=`
|
|
32
|
+
:host {
|
|
33
|
+
--emw-skeleton-text-width: ${this.stylingValue.width};
|
|
34
|
+
--emw-skeleton-text-height: ${this.stylingValue.height};
|
|
35
|
+
--emw-skeleton-text-border-radius: ${this.stylingValue.borderRadius};
|
|
36
|
+
--emw-skeleton-text-margin-bottom: ${this.stylingValue.marginBottom};
|
|
37
|
+
--emw-skeleton-text-margin-top: ${this.stylingValue.marginTop};
|
|
38
|
+
--emw-skeleton-text-margin-left: ${this.stylingValue.marginLeft};
|
|
39
|
+
--emw-skeleton-text-margin-right: ${this.stylingValue.marginRight};
|
|
40
|
+
}
|
|
41
|
+
`;break;case"rectangle":e=`
|
|
42
|
+
:host {
|
|
43
|
+
--emw-skeleton-rectangle-width: ${this.stylingValue.width};
|
|
44
|
+
--emw-skeleton-rectangle-height: ${this.stylingValue.height};
|
|
45
|
+
--emw-skeleton-rectangle-border-radius: ${this.stylingValue.borderRadius};
|
|
46
|
+
--emw-skeleton-rectangle-margin-bottom: ${this.stylingValue.marginBottom};
|
|
47
|
+
--emw-skeleton-rectangle-margin-top: ${this.stylingValue.marginTop};
|
|
48
|
+
--emw-skeleton-rectangle-margin-left: ${this.stylingValue.marginLeft};
|
|
49
|
+
--emw-skeleton-rectangle-margin-right: ${this.stylingValue.marginRight};
|
|
50
|
+
}
|
|
51
|
+
`;break;case"circle":e=`
|
|
52
|
+
:host {
|
|
53
|
+
--emw-skeleton-circle-size: ${this.stylingValue.size};
|
|
54
|
+
}
|
|
55
|
+
`;break;default:e=""}return t.h(t.Host,{key:"c2a2650acd416962a2bc4e1a7ee18bc6d8e2def8"},t.h("style",{key:"9bd7fc1f9e9ed9f17735a7b72fce6f09696f5e19"},e),this.handleStructure(this.structure))}static get watchers(){return{structure:["handleStructureChange"]}}};n.style=l;exports.ui_image=r.UiImage;exports.ui_skeleton=n;
|
|
@@ -0,0 +1,157 @@
|
|
|
1
|
+
import { U as m } from "./ui-image-b7b48fe5-BKRtoUuG.js";
|
|
2
|
+
import { r as n, h as t, H as r } from "./index-97d17652-B6BYeRne.js";
|
|
3
|
+
const s = ":host{display:block}.Skeleton{animation:skeleton-loading 1s linear infinite alternate}.SkeletonRectangle{background-color:var(--emw-skeleton-rectangle-background, #c2c2c2);width:var(--emw-skeleton-rectangle-width, 400px);height:var(--emw-skeleton-rectangle-height, 200px);border-radius:var(--emw-skeleton-rectangle-border-radius, 10px)}.SkeletonCircle{background-color:var(--emw-skeleton-circle-background, #c2c2c2);width:var(--emw-skeleton-circle-size, 400px);height:var(--emw-skeleton-circle-size, 400px);border-radius:50%}.SkeletonText{background-color:var(--emw-skeleton-text-background, #c2c2c2);width:var(--emw-skeleton-text-width, 500px);height:var(--emw-skeleton-text-height, 20px);border-radius:var(--emw-skeleton-text-border-radius, 10px);margin-bottom:var(--emw-skeleton-text-margin-bottom, 5px)}.SkeletonText:last-child{width:calc(var(--emw-skeleton-text-width, 400px) - 100px)}.SkeletonTitle{background-color:var(--emw-skeleton-title-background, #c2c2c2);width:var(--emw-skeleton-title-width, 300px);height:var(--emw-skeleton-title-height, 30px);border-radius:var(--emw-skeleton-title-border-radius, 10px);margin-bottom:var(--emw-skeleton-title-margin-bottom, 5px)}.SkeletonImage{background-color:var(--emw-skeleton-image-background, #c2c2c2);width:var(--emw-skeleton-image-width, 100%);height:var(--emw-skeleton-image-height, 100%);border-radius:var(--emw-skeleton-image-border-radius, unset)}.SkeletonLogo{background-color:var(--emw-skeleton-logo-background, #c2c2c2);width:var(--emw-skeleton-logo-width, 120px);height:var(--emw-skeleton-logo-height, 75px);border-radius:var(--emw-skeleton-logo-border-radius, 10px)}@keyframes skeleton-loading{0%{background-color:var(--emw-skeleton-primary-color, #e0e0e0)}100%{background-color:var(--emw-skeleton-secondary-color, #f0f0f0)}}", l = s, a = class {
|
|
4
|
+
constructor(e) {
|
|
5
|
+
n(this, e), this.stylingValue = {
|
|
6
|
+
width: this.handleStylingProps(this.width),
|
|
7
|
+
height: this.handleStylingProps(this.height),
|
|
8
|
+
borderRadius: this.handleStylingProps(this.borderRadius),
|
|
9
|
+
marginBottom: this.handleStylingProps(this.marginBottom),
|
|
10
|
+
marginTop: this.handleStylingProps(this.marginTop),
|
|
11
|
+
marginLeft: this.handleStylingProps(this.marginLeft),
|
|
12
|
+
marginRight: this.handleStylingProps(this.marginRight),
|
|
13
|
+
size: this.handleStylingProps(this.size)
|
|
14
|
+
}, this.structure = void 0, this.width = "unset", this.height = "unset", this.borderRadius = "unset", this.marginBottom = "unset", this.marginTop = "unset", this.marginLeft = "unset", this.marginRight = "unset", this.animation = !0, this.rows = 0, this.size = "100%";
|
|
15
|
+
}
|
|
16
|
+
handleStructureChange(e, i) {
|
|
17
|
+
i !== e && this.handleStructure(e);
|
|
18
|
+
}
|
|
19
|
+
handleStylingProps(e) {
|
|
20
|
+
switch (typeof e) {
|
|
21
|
+
case "number":
|
|
22
|
+
return e === 0 ? 0 : `${e}px`;
|
|
23
|
+
case "undefined":
|
|
24
|
+
return "unset";
|
|
25
|
+
case "string":
|
|
26
|
+
return ["auto", "unset", "none", "inherit", "initial"].includes(e) || e.endsWith("px") || e.endsWith("%") ? e : "unset";
|
|
27
|
+
default:
|
|
28
|
+
return "unset";
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
handleStructure(e) {
|
|
32
|
+
switch (e) {
|
|
33
|
+
case "logo":
|
|
34
|
+
return this.renderLogo();
|
|
35
|
+
case "image":
|
|
36
|
+
return this.renderImage();
|
|
37
|
+
case "title":
|
|
38
|
+
return this.renderTitle();
|
|
39
|
+
case "text":
|
|
40
|
+
return this.renderText();
|
|
41
|
+
case "rectangle":
|
|
42
|
+
return this.renderRectangle();
|
|
43
|
+
case "circle":
|
|
44
|
+
return this.renderCircle();
|
|
45
|
+
default:
|
|
46
|
+
return null;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
renderLogo() {
|
|
50
|
+
return t("div", { class: "SkeletonContainer" }, t("div", { class: "SkeletonLogo " + (this.animation ? "Skeleton" : "") }));
|
|
51
|
+
}
|
|
52
|
+
renderImage() {
|
|
53
|
+
return t("div", { class: "SkeletonImage " + (this.animation ? "Skeleton" : "") });
|
|
54
|
+
}
|
|
55
|
+
renderTitle() {
|
|
56
|
+
return t("div", { class: "SkeletonContainer" }, t("div", { class: "SkeletonTitle " + (this.animation ? "Skeleton" : "") }));
|
|
57
|
+
}
|
|
58
|
+
renderText() {
|
|
59
|
+
return t("div", { class: "SkeletonContainer" }, Array.from({ length: this.rows > 0 ? this.rows : 1 }).map((e, i) => t("div", { key: i, class: "SkeletonText " + (this.animation ? "Skeleton" : "") })));
|
|
60
|
+
}
|
|
61
|
+
renderRectangle() {
|
|
62
|
+
return t("div", { class: "SkeletonContainer" }, t("div", { class: "SkeletonRectangle " + (this.animation ? "Skeleton" : "") }));
|
|
63
|
+
}
|
|
64
|
+
renderCircle() {
|
|
65
|
+
return t("div", { class: "SkeletonContainer" }, t("div", { class: "SkeletonCircle " + (this.animation ? "Skeleton" : "") }));
|
|
66
|
+
}
|
|
67
|
+
render() {
|
|
68
|
+
let e = "";
|
|
69
|
+
switch (this.structure) {
|
|
70
|
+
case "logo":
|
|
71
|
+
e = `
|
|
72
|
+
:host {
|
|
73
|
+
--emw-skeleton-logo-width: ${this.stylingValue.width};
|
|
74
|
+
--emw-skeleton-logo-height: ${this.stylingValue.height};
|
|
75
|
+
--emw-skeleton-logo-border-radius: ${this.stylingValue.borderRadius};
|
|
76
|
+
--emw-skeleton-logo-margin-bottom: ${this.stylingValue.marginBottom};
|
|
77
|
+
--emw-skeleton-logo-margin-top: ${this.stylingValue.marginTop};
|
|
78
|
+
--emw-skeleton-logo-margin-left: ${this.stylingValue.marginLeft};
|
|
79
|
+
--emw-skeleton-logo-margin-right: ${this.stylingValue.marginRight};
|
|
80
|
+
}
|
|
81
|
+
`;
|
|
82
|
+
break;
|
|
83
|
+
case "image":
|
|
84
|
+
e = `
|
|
85
|
+
:host {
|
|
86
|
+
--emw-skeleton-image-width: ${this.stylingValue.width};
|
|
87
|
+
--emw-skeleton-image-height: ${this.stylingValue.height};
|
|
88
|
+
--emw-skeleton-image-border-radius: ${this.stylingValue.borderRadius};
|
|
89
|
+
--emw-skeleton-image-margin-bottom: ${this.stylingValue.marginBottom};
|
|
90
|
+
--emw-skeleton-image-margin-top: ${this.stylingValue.marginTop};
|
|
91
|
+
--emw-skeleton-image-margin-left: ${this.stylingValue.marginLeft};
|
|
92
|
+
--emw-skeleton-image-margin-right: ${this.stylingValue.marginRight};
|
|
93
|
+
}
|
|
94
|
+
`;
|
|
95
|
+
break;
|
|
96
|
+
case "title":
|
|
97
|
+
e = `
|
|
98
|
+
:host {
|
|
99
|
+
--emw-skeleton-title-width: ${this.stylingValue.width};
|
|
100
|
+
--emw-skeleton-title-height: ${this.stylingValue.height};
|
|
101
|
+
--emw-skeleton-title-border-radius: ${this.stylingValue.borderRadius};
|
|
102
|
+
--emw-skeleton-title-margin-bottom: ${this.stylingValue.marginBottom};
|
|
103
|
+
--emw-skeleton-title-margin-top: ${this.stylingValue.marginTop};
|
|
104
|
+
--emw-skeleton-title-margin-left: ${this.stylingValue.marginLeft};
|
|
105
|
+
--emw-skeleton-title-margin-right: ${this.stylingValue.marginRight};
|
|
106
|
+
}
|
|
107
|
+
`;
|
|
108
|
+
break;
|
|
109
|
+
case "text":
|
|
110
|
+
e = `
|
|
111
|
+
:host {
|
|
112
|
+
--emw-skeleton-text-width: ${this.stylingValue.width};
|
|
113
|
+
--emw-skeleton-text-height: ${this.stylingValue.height};
|
|
114
|
+
--emw-skeleton-text-border-radius: ${this.stylingValue.borderRadius};
|
|
115
|
+
--emw-skeleton-text-margin-bottom: ${this.stylingValue.marginBottom};
|
|
116
|
+
--emw-skeleton-text-margin-top: ${this.stylingValue.marginTop};
|
|
117
|
+
--emw-skeleton-text-margin-left: ${this.stylingValue.marginLeft};
|
|
118
|
+
--emw-skeleton-text-margin-right: ${this.stylingValue.marginRight};
|
|
119
|
+
}
|
|
120
|
+
`;
|
|
121
|
+
break;
|
|
122
|
+
case "rectangle":
|
|
123
|
+
e = `
|
|
124
|
+
:host {
|
|
125
|
+
--emw-skeleton-rectangle-width: ${this.stylingValue.width};
|
|
126
|
+
--emw-skeleton-rectangle-height: ${this.stylingValue.height};
|
|
127
|
+
--emw-skeleton-rectangle-border-radius: ${this.stylingValue.borderRadius};
|
|
128
|
+
--emw-skeleton-rectangle-margin-bottom: ${this.stylingValue.marginBottom};
|
|
129
|
+
--emw-skeleton-rectangle-margin-top: ${this.stylingValue.marginTop};
|
|
130
|
+
--emw-skeleton-rectangle-margin-left: ${this.stylingValue.marginLeft};
|
|
131
|
+
--emw-skeleton-rectangle-margin-right: ${this.stylingValue.marginRight};
|
|
132
|
+
}
|
|
133
|
+
`;
|
|
134
|
+
break;
|
|
135
|
+
case "circle":
|
|
136
|
+
e = `
|
|
137
|
+
:host {
|
|
138
|
+
--emw-skeleton-circle-size: ${this.stylingValue.size};
|
|
139
|
+
}
|
|
140
|
+
`;
|
|
141
|
+
break;
|
|
142
|
+
default:
|
|
143
|
+
e = "";
|
|
144
|
+
}
|
|
145
|
+
return t(r, { key: "c2a2650acd416962a2bc4e1a7ee18bc6d8e2def8" }, t("style", { key: "9bd7fc1f9e9ed9f17735a7b72fce6f09696f5e19" }, e), this.handleStructure(this.structure));
|
|
146
|
+
}
|
|
147
|
+
static get watchers() {
|
|
148
|
+
return {
|
|
149
|
+
structure: ["handleStructureChange"]
|
|
150
|
+
};
|
|
151
|
+
}
|
|
152
|
+
};
|
|
153
|
+
a.style = l;
|
|
154
|
+
export {
|
|
155
|
+
m as ui_image,
|
|
156
|
+
a as ui_skeleton
|
|
157
|
+
};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
var n = (t, e, o) => new Promise((m, s) => {
|
|
2
|
+
var u = (r) => {
|
|
3
|
+
try {
|
|
4
|
+
a(o.next(r));
|
|
5
|
+
} catch (i) {
|
|
6
|
+
s(i);
|
|
7
|
+
}
|
|
8
|
+
}, g = (r) => {
|
|
9
|
+
try {
|
|
10
|
+
a(o.throw(r));
|
|
11
|
+
} catch (i) {
|
|
12
|
+
s(i);
|
|
13
|
+
}
|
|
14
|
+
}, a = (r) => r.done ? m(r.value) : Promise.resolve(r.value).then(u, g);
|
|
15
|
+
a((o = o.apply(t, e)).next());
|
|
16
|
+
});
|
|
17
|
+
import { b as p, p as l } from "./index-b2193545-CF_fVoFe.js";
|
|
18
|
+
import { a as h } from "./app-globals-0f993ce5-Cgk0KVAu.js";
|
|
19
|
+
import { U as k } from "./ui-skeleton-ed169f8f-BNn31z1X.js";
|
|
20
|
+
var c = () => {
|
|
21
|
+
const t = import.meta.url, e = {};
|
|
22
|
+
return t !== "" && (e.resourcesUrl = new URL(".", t).href), l(e);
|
|
23
|
+
};
|
|
24
|
+
c().then((t) => n(void 0, null, function* () {
|
|
25
|
+
return yield h(), p([["ui-skeleton", [[0, "ui-skeleton", { structure: [1], width: [1], height: [1], borderRadius: [8, "border-radius"], marginBottom: [8, "margin-bottom"], marginTop: [8, "margin-top"], marginLeft: [8, "margin-left"], marginRight: [8, "margin-right"], animation: [4], rows: [2], size: [1] }, null, { structure: ["handleStructureChange"] }]]]], t);
|
|
26
|
+
}));
|
|
27
|
+
export {
|
|
28
|
+
k as ui_skeleton
|
|
29
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { b as e, p as o } from "./index-b2193545-DfttkCgg.js";
|
|
2
|
+
import { a } from "./app-globals-0f993ce5-Cgk0KVAu.js";
|
|
3
|
+
import { U as g } from "./ui-skeleton-ed169f8f-BMrkXoR5.js";
|
|
4
|
+
var i = () => {
|
|
5
|
+
const r = import.meta.url, t = {};
|
|
6
|
+
return r !== "" && (t.resourcesUrl = new URL(".", r).href), o(t);
|
|
7
|
+
};
|
|
8
|
+
i().then(async (r) => (await a(), e([["ui-skeleton", [[0, "ui-skeleton", { structure: [1], width: [1], height: [1], borderRadius: [8, "border-radius"], marginBottom: [8, "margin-bottom"], marginTop: [8, "margin-top"], marginLeft: [8, "margin-left"], marginRight: [8, "margin-right"], animation: [4], rows: [2], size: [1] }, null, { structure: ["handleStructureChange"] }]]]], r)));
|
|
9
|
+
export {
|
|
10
|
+
g as ui_skeleton
|
|
11
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var u=(t,r,n)=>new Promise((l,s)=>{var m=e=>{try{i(n.next(e))}catch(o){s(o)}},d=e=>{try{i(n.throw(e))}catch(o){s(o)}},i=e=>e.done?l(e.value):Promise.resolve(e.value).then(m,d);i((n=n.apply(t,r)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("./index-b2193545-B5Q7rnAU.cjs"),p=require("./app-globals-0f993ce5-BD-Q0C8R.cjs"),g=require("./ui-skeleton-ed169f8f-BEwquWmd.cjs");var a=typeof document!="undefined"?document.currentScript:null,f=()=>{const t=typeof document=="undefined"?require("url").pathToFileURL(__filename).href:a&&a.tagName.toUpperCase()==="SCRIPT"&&a.src||new URL("stencil/ui-skeleton-UxIIZ8UD.cjs",document.baseURI).href,r={};return t!==""&&(r.resourcesUrl=new URL(".",t).href),c.promiseResolve(r)};f().then(t=>u(exports,null,function*(){return yield p.globalScripts$1(),c.bootstrapLazy([["ui-skeleton",[[0,"ui-skeleton",{structure:[1],width:[1],height:[1],borderRadius:[8,"border-radius"],marginBottom:[8,"margin-bottom"],marginTop:[8,"margin-top"],marginLeft:[8,"margin-left"],marginRight:[8,"margin-right"],animation:[4],rows:[2],size:[1]},null,{structure:["handleStructureChange"]}]]]],t)}));exports.ui_skeleton=g.UiSkeleton;
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
"use strict";const t=require("./index-b2193545-B5Q7rnAU.cjs"),r=":host{display:block}.Skeleton{animation:skeleton-loading 1s linear infinite alternate}.SkeletonRectangle{background-color:var(--emw-skeleton-rectangle-background, #c2c2c2);width:var(--emw-skeleton-rectangle-width, 400px);height:var(--emw-skeleton-rectangle-height, 200px);border-radius:var(--emw-skeleton-rectangle-border-radius, 10px)}.SkeletonCircle{background-color:var(--emw-skeleton-circle-background, #c2c2c2);width:var(--emw-skeleton-circle-size, 400px);height:var(--emw-skeleton-circle-size, 400px);border-radius:50%}.SkeletonText{background-color:var(--emw-skeleton-text-background, #c2c2c2);width:var(--emw-skeleton-text-width, 500px);height:var(--emw-skeleton-text-height, 20px);border-radius:var(--emw-skeleton-text-border-radius, 10px);margin-bottom:var(--emw-skeleton-text-margin-bottom, 5px)}.SkeletonText:last-child{width:calc(var(--emw-skeleton-text-width, 400px) - 100px)}.SkeletonTitle{background-color:var(--emw-skeleton-title-background, #c2c2c2);width:var(--emw-skeleton-title-width, 300px);height:var(--emw-skeleton-title-height, 30px);border-radius:var(--emw-skeleton-title-border-radius, 10px);margin-bottom:var(--emw-skeleton-title-margin-bottom, 5px)}.SkeletonImage{background-color:var(--emw-skeleton-image-background, #c2c2c2);width:var(--emw-skeleton-image-width, 100%);height:var(--emw-skeleton-image-height, 100%);border-radius:var(--emw-skeleton-image-border-radius, unset)}.SkeletonLogo{background-color:var(--emw-skeleton-logo-background, #c2c2c2);width:var(--emw-skeleton-logo-width, 120px);height:var(--emw-skeleton-logo-height, 75px);border-radius:var(--emw-skeleton-logo-border-radius, 10px)}@keyframes skeleton-loading{0%{background-color:var(--emw-skeleton-primary-color, #e0e0e0)}100%{background-color:var(--emw-skeleton-secondary-color, #f0f0f0)}}",s=r,n=class{constructor(e){t.registerInstance(this,e),this.stylingValue={width:this.handleStylingProps(this.width),height:this.handleStylingProps(this.height),borderRadius:this.handleStylingProps(this.borderRadius),marginBottom:this.handleStylingProps(this.marginBottom),marginTop:this.handleStylingProps(this.marginTop),marginLeft:this.handleStylingProps(this.marginLeft),marginRight:this.handleStylingProps(this.marginRight),size:this.handleStylingProps(this.size)},this.structure=void 0,this.width="unset",this.height="unset",this.borderRadius="unset",this.marginBottom="unset",this.marginTop="unset",this.marginLeft="unset",this.marginRight="unset",this.animation=!0,this.rows=0,this.size="100%"}handleStructureChange(e,i){i!==e&&this.handleStructure(e)}handleStylingProps(e){switch(typeof e){case"number":return e===0?0:`${e}px`;case"undefined":return"unset";case"string":return["auto","unset","none","inherit","initial"].includes(e)||e.endsWith("px")||e.endsWith("%")?e:"unset";default:return"unset"}}handleStructure(e){switch(e){case"logo":return this.renderLogo();case"image":return this.renderImage();case"title":return this.renderTitle();case"text":return this.renderText();case"rectangle":return this.renderRectangle();case"circle":return this.renderCircle();default:return null}}renderLogo(){return t.h("div",{class:"SkeletonContainer"},t.h("div",{class:"SkeletonLogo "+(this.animation?"Skeleton":"")}))}renderImage(){return t.h("div",{class:"SkeletonImage "+(this.animation?"Skeleton":"")})}renderTitle(){return t.h("div",{class:"SkeletonContainer"},t.h("div",{class:"SkeletonTitle "+(this.animation?"Skeleton":"")}))}renderText(){return t.h("div",{class:"SkeletonContainer"},Array.from({length:this.rows>0?this.rows:1}).map((e,i)=>t.h("div",{key:i,class:"SkeletonText "+(this.animation?"Skeleton":"")})))}renderRectangle(){return t.h("div",{class:"SkeletonContainer"},t.h("div",{class:"SkeletonRectangle "+(this.animation?"Skeleton":"")}))}renderCircle(){return t.h("div",{class:"SkeletonContainer"},t.h("div",{class:"SkeletonCircle "+(this.animation?"Skeleton":"")}))}render(){let e="";switch(this.structure){case"logo":e=`
|
|
2
|
+
:host {
|
|
3
|
+
--emw-skeleton-logo-width: ${this.stylingValue.width};
|
|
4
|
+
--emw-skeleton-logo-height: ${this.stylingValue.height};
|
|
5
|
+
--emw-skeleton-logo-border-radius: ${this.stylingValue.borderRadius};
|
|
6
|
+
--emw-skeleton-logo-margin-bottom: ${this.stylingValue.marginBottom};
|
|
7
|
+
--emw-skeleton-logo-margin-top: ${this.stylingValue.marginTop};
|
|
8
|
+
--emw-skeleton-logo-margin-left: ${this.stylingValue.marginLeft};
|
|
9
|
+
--emw-skeleton-logo-margin-right: ${this.stylingValue.marginRight};
|
|
10
|
+
}
|
|
11
|
+
`;break;case"image":e=`
|
|
12
|
+
:host {
|
|
13
|
+
--emw-skeleton-image-width: ${this.stylingValue.width};
|
|
14
|
+
--emw-skeleton-image-height: ${this.stylingValue.height};
|
|
15
|
+
--emw-skeleton-image-border-radius: ${this.stylingValue.borderRadius};
|
|
16
|
+
--emw-skeleton-image-margin-bottom: ${this.stylingValue.marginBottom};
|
|
17
|
+
--emw-skeleton-image-margin-top: ${this.stylingValue.marginTop};
|
|
18
|
+
--emw-skeleton-image-margin-left: ${this.stylingValue.marginLeft};
|
|
19
|
+
--emw-skeleton-image-margin-right: ${this.stylingValue.marginRight};
|
|
20
|
+
}
|
|
21
|
+
`;break;case"title":e=`
|
|
22
|
+
:host {
|
|
23
|
+
--emw-skeleton-title-width: ${this.stylingValue.width};
|
|
24
|
+
--emw-skeleton-title-height: ${this.stylingValue.height};
|
|
25
|
+
--emw-skeleton-title-border-radius: ${this.stylingValue.borderRadius};
|
|
26
|
+
--emw-skeleton-title-margin-bottom: ${this.stylingValue.marginBottom};
|
|
27
|
+
--emw-skeleton-title-margin-top: ${this.stylingValue.marginTop};
|
|
28
|
+
--emw-skeleton-title-margin-left: ${this.stylingValue.marginLeft};
|
|
29
|
+
--emw-skeleton-title-margin-right: ${this.stylingValue.marginRight};
|
|
30
|
+
}
|
|
31
|
+
`;break;case"text":e=`
|
|
32
|
+
:host {
|
|
33
|
+
--emw-skeleton-text-width: ${this.stylingValue.width};
|
|
34
|
+
--emw-skeleton-text-height: ${this.stylingValue.height};
|
|
35
|
+
--emw-skeleton-text-border-radius: ${this.stylingValue.borderRadius};
|
|
36
|
+
--emw-skeleton-text-margin-bottom: ${this.stylingValue.marginBottom};
|
|
37
|
+
--emw-skeleton-text-margin-top: ${this.stylingValue.marginTop};
|
|
38
|
+
--emw-skeleton-text-margin-left: ${this.stylingValue.marginLeft};
|
|
39
|
+
--emw-skeleton-text-margin-right: ${this.stylingValue.marginRight};
|
|
40
|
+
}
|
|
41
|
+
`;break;case"rectangle":e=`
|
|
42
|
+
:host {
|
|
43
|
+
--emw-skeleton-rectangle-width: ${this.stylingValue.width};
|
|
44
|
+
--emw-skeleton-rectangle-height: ${this.stylingValue.height};
|
|
45
|
+
--emw-skeleton-rectangle-border-radius: ${this.stylingValue.borderRadius};
|
|
46
|
+
--emw-skeleton-rectangle-margin-bottom: ${this.stylingValue.marginBottom};
|
|
47
|
+
--emw-skeleton-rectangle-margin-top: ${this.stylingValue.marginTop};
|
|
48
|
+
--emw-skeleton-rectangle-margin-left: ${this.stylingValue.marginLeft};
|
|
49
|
+
--emw-skeleton-rectangle-margin-right: ${this.stylingValue.marginRight};
|
|
50
|
+
}
|
|
51
|
+
`;break;case"circle":e=`
|
|
52
|
+
:host {
|
|
53
|
+
--emw-skeleton-circle-size: ${this.stylingValue.size};
|
|
54
|
+
}
|
|
55
|
+
`;break;default:e=""}return t.h(t.Host,{key:"c2a2650acd416962a2bc4e1a7ee18bc6d8e2def8"},t.h("style",{key:"9bd7fc1f9e9ed9f17735a7b72fce6f09696f5e19"},e),this.handleStructure(this.structure))}static get watchers(){return{structure:["handleStructureChange"]}}};n.style=s;exports.UiSkeleton=n;
|
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
import { r as n, h as t, H as r } from "./index-b2193545-DfttkCgg.js";
|
|
2
|
+
const s = ":host{display:block}.Skeleton{animation:skeleton-loading 1s linear infinite alternate}.SkeletonRectangle{background-color:var(--emw-skeleton-rectangle-background, #c2c2c2);width:var(--emw-skeleton-rectangle-width, 400px);height:var(--emw-skeleton-rectangle-height, 200px);border-radius:var(--emw-skeleton-rectangle-border-radius, 10px)}.SkeletonCircle{background-color:var(--emw-skeleton-circle-background, #c2c2c2);width:var(--emw-skeleton-circle-size, 400px);height:var(--emw-skeleton-circle-size, 400px);border-radius:50%}.SkeletonText{background-color:var(--emw-skeleton-text-background, #c2c2c2);width:var(--emw-skeleton-text-width, 500px);height:var(--emw-skeleton-text-height, 20px);border-radius:var(--emw-skeleton-text-border-radius, 10px);margin-bottom:var(--emw-skeleton-text-margin-bottom, 5px)}.SkeletonText:last-child{width:calc(var(--emw-skeleton-text-width, 400px) - 100px)}.SkeletonTitle{background-color:var(--emw-skeleton-title-background, #c2c2c2);width:var(--emw-skeleton-title-width, 300px);height:var(--emw-skeleton-title-height, 30px);border-radius:var(--emw-skeleton-title-border-radius, 10px);margin-bottom:var(--emw-skeleton-title-margin-bottom, 5px)}.SkeletonImage{background-color:var(--emw-skeleton-image-background, #c2c2c2);width:var(--emw-skeleton-image-width, 100%);height:var(--emw-skeleton-image-height, 100%);border-radius:var(--emw-skeleton-image-border-radius, unset)}.SkeletonLogo{background-color:var(--emw-skeleton-logo-background, #c2c2c2);width:var(--emw-skeleton-logo-width, 120px);height:var(--emw-skeleton-logo-height, 75px);border-radius:var(--emw-skeleton-logo-border-radius, 10px)}@keyframes skeleton-loading{0%{background-color:var(--emw-skeleton-primary-color, #e0e0e0)}100%{background-color:var(--emw-skeleton-secondary-color, #f0f0f0)}}", l = s, a = class {
|
|
3
|
+
constructor(e) {
|
|
4
|
+
n(this, e), this.stylingValue = {
|
|
5
|
+
width: this.handleStylingProps(this.width),
|
|
6
|
+
height: this.handleStylingProps(this.height),
|
|
7
|
+
borderRadius: this.handleStylingProps(this.borderRadius),
|
|
8
|
+
marginBottom: this.handleStylingProps(this.marginBottom),
|
|
9
|
+
marginTop: this.handleStylingProps(this.marginTop),
|
|
10
|
+
marginLeft: this.handleStylingProps(this.marginLeft),
|
|
11
|
+
marginRight: this.handleStylingProps(this.marginRight),
|
|
12
|
+
size: this.handleStylingProps(this.size)
|
|
13
|
+
}, this.structure = void 0, this.width = "unset", this.height = "unset", this.borderRadius = "unset", this.marginBottom = "unset", this.marginTop = "unset", this.marginLeft = "unset", this.marginRight = "unset", this.animation = !0, this.rows = 0, this.size = "100%";
|
|
14
|
+
}
|
|
15
|
+
handleStructureChange(e, i) {
|
|
16
|
+
i !== e && this.handleStructure(e);
|
|
17
|
+
}
|
|
18
|
+
handleStylingProps(e) {
|
|
19
|
+
switch (typeof e) {
|
|
20
|
+
case "number":
|
|
21
|
+
return e === 0 ? 0 : `${e}px`;
|
|
22
|
+
case "undefined":
|
|
23
|
+
return "unset";
|
|
24
|
+
case "string":
|
|
25
|
+
return ["auto", "unset", "none", "inherit", "initial"].includes(e) || e.endsWith("px") || e.endsWith("%") ? e : "unset";
|
|
26
|
+
default:
|
|
27
|
+
return "unset";
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
handleStructure(e) {
|
|
31
|
+
switch (e) {
|
|
32
|
+
case "logo":
|
|
33
|
+
return this.renderLogo();
|
|
34
|
+
case "image":
|
|
35
|
+
return this.renderImage();
|
|
36
|
+
case "title":
|
|
37
|
+
return this.renderTitle();
|
|
38
|
+
case "text":
|
|
39
|
+
return this.renderText();
|
|
40
|
+
case "rectangle":
|
|
41
|
+
return this.renderRectangle();
|
|
42
|
+
case "circle":
|
|
43
|
+
return this.renderCircle();
|
|
44
|
+
default:
|
|
45
|
+
return null;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
renderLogo() {
|
|
49
|
+
return t("div", { class: "SkeletonContainer" }, t("div", { class: "SkeletonLogo " + (this.animation ? "Skeleton" : "") }));
|
|
50
|
+
}
|
|
51
|
+
renderImage() {
|
|
52
|
+
return t("div", { class: "SkeletonImage " + (this.animation ? "Skeleton" : "") });
|
|
53
|
+
}
|
|
54
|
+
renderTitle() {
|
|
55
|
+
return t("div", { class: "SkeletonContainer" }, t("div", { class: "SkeletonTitle " + (this.animation ? "Skeleton" : "") }));
|
|
56
|
+
}
|
|
57
|
+
renderText() {
|
|
58
|
+
return t("div", { class: "SkeletonContainer" }, Array.from({ length: this.rows > 0 ? this.rows : 1 }).map((e, i) => t("div", { key: i, class: "SkeletonText " + (this.animation ? "Skeleton" : "") })));
|
|
59
|
+
}
|
|
60
|
+
renderRectangle() {
|
|
61
|
+
return t("div", { class: "SkeletonContainer" }, t("div", { class: "SkeletonRectangle " + (this.animation ? "Skeleton" : "") }));
|
|
62
|
+
}
|
|
63
|
+
renderCircle() {
|
|
64
|
+
return t("div", { class: "SkeletonContainer" }, t("div", { class: "SkeletonCircle " + (this.animation ? "Skeleton" : "") }));
|
|
65
|
+
}
|
|
66
|
+
render() {
|
|
67
|
+
let e = "";
|
|
68
|
+
switch (this.structure) {
|
|
69
|
+
case "logo":
|
|
70
|
+
e = `
|
|
71
|
+
:host {
|
|
72
|
+
--emw-skeleton-logo-width: ${this.stylingValue.width};
|
|
73
|
+
--emw-skeleton-logo-height: ${this.stylingValue.height};
|
|
74
|
+
--emw-skeleton-logo-border-radius: ${this.stylingValue.borderRadius};
|
|
75
|
+
--emw-skeleton-logo-margin-bottom: ${this.stylingValue.marginBottom};
|
|
76
|
+
--emw-skeleton-logo-margin-top: ${this.stylingValue.marginTop};
|
|
77
|
+
--emw-skeleton-logo-margin-left: ${this.stylingValue.marginLeft};
|
|
78
|
+
--emw-skeleton-logo-margin-right: ${this.stylingValue.marginRight};
|
|
79
|
+
}
|
|
80
|
+
`;
|
|
81
|
+
break;
|
|
82
|
+
case "image":
|
|
83
|
+
e = `
|
|
84
|
+
:host {
|
|
85
|
+
--emw-skeleton-image-width: ${this.stylingValue.width};
|
|
86
|
+
--emw-skeleton-image-height: ${this.stylingValue.height};
|
|
87
|
+
--emw-skeleton-image-border-radius: ${this.stylingValue.borderRadius};
|
|
88
|
+
--emw-skeleton-image-margin-bottom: ${this.stylingValue.marginBottom};
|
|
89
|
+
--emw-skeleton-image-margin-top: ${this.stylingValue.marginTop};
|
|
90
|
+
--emw-skeleton-image-margin-left: ${this.stylingValue.marginLeft};
|
|
91
|
+
--emw-skeleton-image-margin-right: ${this.stylingValue.marginRight};
|
|
92
|
+
}
|
|
93
|
+
`;
|
|
94
|
+
break;
|
|
95
|
+
case "title":
|
|
96
|
+
e = `
|
|
97
|
+
:host {
|
|
98
|
+
--emw-skeleton-title-width: ${this.stylingValue.width};
|
|
99
|
+
--emw-skeleton-title-height: ${this.stylingValue.height};
|
|
100
|
+
--emw-skeleton-title-border-radius: ${this.stylingValue.borderRadius};
|
|
101
|
+
--emw-skeleton-title-margin-bottom: ${this.stylingValue.marginBottom};
|
|
102
|
+
--emw-skeleton-title-margin-top: ${this.stylingValue.marginTop};
|
|
103
|
+
--emw-skeleton-title-margin-left: ${this.stylingValue.marginLeft};
|
|
104
|
+
--emw-skeleton-title-margin-right: ${this.stylingValue.marginRight};
|
|
105
|
+
}
|
|
106
|
+
`;
|
|
107
|
+
break;
|
|
108
|
+
case "text":
|
|
109
|
+
e = `
|
|
110
|
+
:host {
|
|
111
|
+
--emw-skeleton-text-width: ${this.stylingValue.width};
|
|
112
|
+
--emw-skeleton-text-height: ${this.stylingValue.height};
|
|
113
|
+
--emw-skeleton-text-border-radius: ${this.stylingValue.borderRadius};
|
|
114
|
+
--emw-skeleton-text-margin-bottom: ${this.stylingValue.marginBottom};
|
|
115
|
+
--emw-skeleton-text-margin-top: ${this.stylingValue.marginTop};
|
|
116
|
+
--emw-skeleton-text-margin-left: ${this.stylingValue.marginLeft};
|
|
117
|
+
--emw-skeleton-text-margin-right: ${this.stylingValue.marginRight};
|
|
118
|
+
}
|
|
119
|
+
`;
|
|
120
|
+
break;
|
|
121
|
+
case "rectangle":
|
|
122
|
+
e = `
|
|
123
|
+
:host {
|
|
124
|
+
--emw-skeleton-rectangle-width: ${this.stylingValue.width};
|
|
125
|
+
--emw-skeleton-rectangle-height: ${this.stylingValue.height};
|
|
126
|
+
--emw-skeleton-rectangle-border-radius: ${this.stylingValue.borderRadius};
|
|
127
|
+
--emw-skeleton-rectangle-margin-bottom: ${this.stylingValue.marginBottom};
|
|
128
|
+
--emw-skeleton-rectangle-margin-top: ${this.stylingValue.marginTop};
|
|
129
|
+
--emw-skeleton-rectangle-margin-left: ${this.stylingValue.marginLeft};
|
|
130
|
+
--emw-skeleton-rectangle-margin-right: ${this.stylingValue.marginRight};
|
|
131
|
+
}
|
|
132
|
+
`;
|
|
133
|
+
break;
|
|
134
|
+
case "circle":
|
|
135
|
+
e = `
|
|
136
|
+
:host {
|
|
137
|
+
--emw-skeleton-circle-size: ${this.stylingValue.size};
|
|
138
|
+
}
|
|
139
|
+
`;
|
|
140
|
+
break;
|
|
141
|
+
default:
|
|
142
|
+
e = "";
|
|
143
|
+
}
|
|
144
|
+
return t(r, { key: "c2a2650acd416962a2bc4e1a7ee18bc6d8e2def8" }, t("style", { key: "9bd7fc1f9e9ed9f17735a7b72fce6f09696f5e19" }, e), this.handleStructure(this.structure));
|
|
145
|
+
}
|
|
146
|
+
static get watchers() {
|
|
147
|
+
return {
|
|
148
|
+
structure: ["handleStructureChange"]
|
|
149
|
+
};
|
|
150
|
+
}
|
|
151
|
+
};
|
|
152
|
+
a.style = l;
|
|
153
|
+
export {
|
|
154
|
+
a as U
|
|
155
|
+
};
|