scu-web-components 0.0.21 → 0.0.24
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.24NBMK6U.js +209 -0
- package/dist/chunks/chunk.24NBMK6U.js.map +7 -0
- package/dist/chunks/chunk.2BQ7UODT.js +2 -0
- package/dist/chunks/chunk.2BQ7UODT.js.map +7 -0
- package/dist/chunks/chunk.2ELG5CNM.js +36 -0
- package/dist/chunks/chunk.2ELG5CNM.js.map +7 -0
- package/dist/chunks/chunk.2EWF7YQO.js +2 -0
- package/dist/chunks/chunk.2EWF7YQO.js.map +7 -0
- package/dist/chunks/chunk.2SWJYWHF.js +4 -0
- package/dist/chunks/chunk.2SWJYWHF.js.map +7 -0
- package/dist/chunks/chunk.2WHWWJLN.js +246 -0
- package/dist/chunks/chunk.2WHWWJLN.js.map +7 -0
- package/dist/chunks/chunk.3FBPDSVX.js +246 -0
- package/dist/chunks/chunk.3FBPDSVX.js.map +7 -0
- package/dist/chunks/chunk.3G6ANMKZ.js +2 -0
- package/dist/chunks/chunk.3G6ANMKZ.js.map +7 -0
- package/dist/chunks/chunk.3JE4PL4T.js +2 -0
- package/dist/chunks/chunk.3JE4PL4T.js.map +7 -0
- package/dist/chunks/chunk.3ZF5XE56.js +2 -0
- package/dist/chunks/chunk.3ZF5XE56.js.map +7 -0
- package/dist/chunks/chunk.4J2YYREQ.js +2 -0
- package/dist/chunks/chunk.4J2YYREQ.js.map +7 -0
- package/dist/chunks/chunk.4M3UL46P.js +2 -0
- package/dist/chunks/chunk.4M3UL46P.js.map +7 -0
- package/dist/chunks/chunk.4QKLGLBT.js +17 -0
- package/dist/chunks/chunk.4QKLGLBT.js.map +7 -0
- package/dist/chunks/chunk.4UACPW3F.js +36 -0
- package/dist/chunks/chunk.4UACPW3F.js.map +7 -0
- package/dist/chunks/chunk.55WXL65L.js +2 -0
- package/dist/chunks/chunk.55WXL65L.js.map +7 -0
- package/dist/chunks/chunk.5B2MVQ27.js +2 -0
- package/dist/chunks/chunk.5B2MVQ27.js.map +7 -0
- package/dist/chunks/chunk.5BFTTZIS.js +17 -0
- package/dist/chunks/chunk.5BFTTZIS.js.map +7 -0
- package/dist/chunks/chunk.5I3BUSVW.js +4 -0
- package/dist/chunks/chunk.5I3BUSVW.js.map +7 -0
- package/dist/chunks/chunk.5KRMSIKB.js +2 -0
- package/dist/chunks/chunk.5KRMSIKB.js.map +7 -0
- package/dist/chunks/chunk.5O57EYF4.js +2 -0
- package/dist/chunks/chunk.5O57EYF4.js.map +7 -0
- package/dist/chunks/chunk.5P5RU7GD.js +2 -0
- package/dist/chunks/chunk.5P5RU7GD.js.map +7 -0
- package/dist/chunks/chunk.5SNSWZHO.js +2 -0
- package/dist/chunks/chunk.5SNSWZHO.js.map +7 -0
- package/dist/chunks/chunk.5Y44B36I.js +2 -0
- package/dist/chunks/chunk.5Y44B36I.js.map +7 -0
- package/dist/chunks/chunk.62BSOUMV.js +246 -0
- package/dist/chunks/chunk.62BSOUMV.js.map +7 -0
- package/dist/chunks/chunk.62GWBO3B.js +2 -0
- package/dist/chunks/chunk.62GWBO3B.js.map +7 -0
- package/dist/chunks/chunk.6IOOPRMR.js +246 -0
- package/dist/chunks/chunk.6IOOPRMR.js.map +7 -0
- package/dist/chunks/chunk.6JEOFLOD.js +2 -0
- package/dist/chunks/chunk.6JEOFLOD.js.map +7 -0
- package/dist/chunks/chunk.6JZBSBO7.js +2 -0
- package/dist/chunks/chunk.6JZBSBO7.js.map +7 -0
- package/dist/chunks/chunk.6PZBNKZO.js +2 -0
- package/dist/chunks/chunk.6PZBNKZO.js.map +7 -0
- package/dist/chunks/chunk.6Z3LLVPT.js +2 -0
- package/dist/chunks/chunk.6Z3LLVPT.js.map +7 -0
- package/dist/chunks/chunk.75XREEIK.js +58 -0
- package/dist/chunks/chunk.75XREEIK.js.map +7 -0
- package/dist/chunks/chunk.76QR74HA.js +2 -0
- package/dist/chunks/chunk.76QR74HA.js.map +7 -0
- package/dist/chunks/chunk.76VAIQNL.js +2 -0
- package/dist/chunks/chunk.76VAIQNL.js.map +7 -0
- package/dist/chunks/chunk.7CJJ52HY.js +2 -0
- package/dist/chunks/chunk.7CJJ52HY.js.map +7 -0
- package/dist/chunks/chunk.7I6Z5MNC.js +32 -0
- package/dist/chunks/chunk.7I6Z5MNC.js.map +7 -0
- package/dist/chunks/chunk.7K6STK3D.js +2 -0
- package/dist/chunks/chunk.7K6STK3D.js.map +7 -0
- package/dist/chunks/chunk.7N44TYQ4.js +36 -0
- package/dist/chunks/chunk.7N44TYQ4.js.map +7 -0
- package/dist/chunks/chunk.7RDBE3IG.js +2 -0
- package/dist/chunks/chunk.7RDBE3IG.js.map +7 -0
- package/dist/chunks/chunk.7UYJHKA2.js +2 -0
- package/dist/chunks/chunk.7UYJHKA2.js.map +7 -0
- package/dist/chunks/chunk.7VW267FJ.js +17 -0
- package/dist/chunks/chunk.7VW267FJ.js.map +7 -0
- package/dist/chunks/chunk.7Z2IEKUA.js +17 -0
- package/dist/chunks/chunk.7Z2IEKUA.js.map +7 -0
- package/dist/chunks/chunk.ACJT3GFX.js +17 -0
- package/dist/chunks/chunk.ACJT3GFX.js.map +7 -0
- package/dist/chunks/chunk.AFSROIGE.js +2 -0
- package/dist/chunks/chunk.AFSROIGE.js.map +7 -0
- package/dist/chunks/chunk.AGSOV6KN.js +2 -0
- package/dist/chunks/chunk.AGSOV6KN.js.map +7 -0
- package/dist/chunks/chunk.ALNUWLAA.js +246 -0
- package/dist/chunks/chunk.ALNUWLAA.js.map +7 -0
- package/dist/chunks/chunk.B2K5UEIA.js +4 -0
- package/dist/chunks/chunk.B2K5UEIA.js.map +7 -0
- package/dist/chunks/chunk.B63G34N3.js +2 -0
- package/dist/chunks/chunk.B63G34N3.js.map +7 -0
- package/dist/chunks/chunk.BCRS6BHB.js +2 -0
- package/dist/chunks/chunk.BCRS6BHB.js.map +7 -0
- package/dist/chunks/chunk.BLUL53KO.js +2 -0
- package/dist/chunks/chunk.BLUL53KO.js.map +7 -0
- package/dist/chunks/chunk.BLURUGZZ.js +2 -0
- package/dist/chunks/chunk.BLURUGZZ.js.map +7 -0
- package/dist/chunks/chunk.BQDEQXNF.js +246 -0
- package/dist/chunks/chunk.BQDEQXNF.js.map +7 -0
- package/dist/chunks/chunk.BRZSOG7L.js +17 -0
- package/dist/chunks/chunk.BRZSOG7L.js.map +7 -0
- package/dist/chunks/chunk.BXOGDFND.js +17 -0
- package/dist/chunks/chunk.BXOGDFND.js.map +7 -0
- package/dist/chunks/chunk.C5GIRELG.js +246 -0
- package/dist/chunks/chunk.C5GIRELG.js.map +7 -0
- package/dist/chunks/chunk.C77Z2GOU.js +2 -0
- package/dist/chunks/chunk.C77Z2GOU.js.map +7 -0
- package/dist/chunks/chunk.CJCFUQDV.js +2 -0
- package/dist/chunks/chunk.CJCFUQDV.js.map +7 -0
- package/dist/chunks/chunk.CL4H34X3.js +2 -0
- package/dist/chunks/chunk.CL4H34X3.js.map +7 -0
- package/dist/chunks/chunk.CPPVHUGU.js +58 -0
- package/dist/chunks/chunk.CPPVHUGU.js.map +7 -0
- package/dist/chunks/chunk.CQVODQM5.js +246 -0
- package/dist/chunks/chunk.CQVODQM5.js.map +7 -0
- package/dist/chunks/chunk.CUVIYUQF.js +4 -0
- package/dist/chunks/chunk.CUVIYUQF.js.map +7 -0
- package/dist/chunks/chunk.DCCR6AGA.js +4 -0
- package/dist/chunks/chunk.DCCR6AGA.js.map +7 -0
- package/dist/chunks/chunk.DIGVG2Z4.js +2 -0
- package/dist/chunks/chunk.DIGVG2Z4.js.map +7 -0
- package/dist/chunks/chunk.DMINXQPK.js +2 -0
- package/dist/chunks/chunk.DMINXQPK.js.map +7 -0
- package/dist/chunks/chunk.DSHY3BSF.js +2 -0
- package/dist/chunks/chunk.DSHY3BSF.js.map +7 -0
- package/dist/chunks/chunk.DTU7NHQP.js +2 -0
- package/dist/chunks/chunk.DTU7NHQP.js.map +7 -0
- package/dist/chunks/chunk.DX5NKIGH.js +2 -0
- package/dist/chunks/chunk.DX5NKIGH.js.map +7 -0
- package/dist/chunks/chunk.EFY6AEW3.js +256 -0
- package/dist/chunks/chunk.EFY6AEW3.js.map +7 -0
- package/dist/chunks/chunk.EXCY4PGS.js +2 -0
- package/dist/chunks/chunk.EXCY4PGS.js.map +7 -0
- package/dist/chunks/chunk.EXTERN74.js +246 -0
- package/dist/chunks/chunk.EXTERN74.js.map +7 -0
- package/dist/chunks/chunk.F37ZBJTZ.js +58 -0
- package/dist/chunks/chunk.F37ZBJTZ.js.map +7 -0
- package/dist/chunks/chunk.F7TA5BBQ.js +4 -0
- package/dist/chunks/chunk.F7TA5BBQ.js.map +7 -0
- package/dist/chunks/chunk.FFYRZL5P.js +36 -0
- package/dist/chunks/chunk.FFYRZL5P.js.map +7 -0
- package/dist/chunks/chunk.FGDIFLCG.js +209 -0
- package/dist/chunks/chunk.FGDIFLCG.js.map +7 -0
- package/dist/chunks/chunk.FGYESAKS.js +17 -0
- package/dist/chunks/chunk.FGYESAKS.js.map +7 -0
- package/dist/chunks/chunk.FSDNLIWI.js +246 -0
- package/dist/chunks/chunk.FSDNLIWI.js.map +7 -0
- package/dist/chunks/chunk.FTZRYMGD.js +246 -0
- package/dist/chunks/chunk.FTZRYMGD.js.map +7 -0
- package/dist/chunks/chunk.FXIPPNQF.js +4 -0
- package/dist/chunks/chunk.FXIPPNQF.js.map +7 -0
- package/dist/chunks/chunk.FYX7SUTY.js +2 -0
- package/dist/chunks/chunk.FYX7SUTY.js.map +7 -0
- package/dist/chunks/chunk.GKPHHJ6O.js +2 -0
- package/dist/chunks/chunk.GKPHHJ6O.js.map +7 -0
- package/dist/chunks/chunk.GNYOOVQH.js +2 -0
- package/dist/chunks/chunk.GNYOOVQH.js.map +7 -0
- package/dist/chunks/chunk.GPGNXNQL.js +2 -0
- package/dist/chunks/chunk.GPGNXNQL.js.map +7 -0
- package/dist/chunks/chunk.GZA7MQCC.js +2 -0
- package/dist/chunks/chunk.GZA7MQCC.js.map +7 -0
- package/dist/chunks/chunk.GZS6TA3M.js +2 -0
- package/dist/chunks/chunk.GZS6TA3M.js.map +7 -0
- package/dist/chunks/chunk.H4SWVIDO.js +2 -0
- package/dist/chunks/chunk.H4SWVIDO.js.map +7 -0
- package/dist/chunks/chunk.HLMRJM7V.js +47 -0
- package/dist/chunks/chunk.HLMRJM7V.js.map +7 -0
- package/dist/chunks/chunk.I3OTM2TA.js +58 -0
- package/dist/chunks/chunk.I3OTM2TA.js.map +7 -0
- package/dist/chunks/chunk.IAALPGL2.js +2 -0
- package/dist/chunks/chunk.IAALPGL2.js.map +7 -0
- package/dist/chunks/chunk.IHF2YHH2.js +2 -0
- package/dist/chunks/chunk.IHF2YHH2.js.map +7 -0
- package/dist/chunks/chunk.INKWYFUB.js +4 -0
- package/dist/chunks/chunk.INKWYFUB.js.map +7 -0
- package/dist/chunks/chunk.IP7ASGZ6.js +2 -0
- package/dist/chunks/chunk.IP7ASGZ6.js.map +7 -0
- package/dist/chunks/chunk.J5HZGWVY.js +17 -0
- package/dist/chunks/chunk.J5HZGWVY.js.map +7 -0
- package/dist/chunks/chunk.JJRLXFKE.js +58 -0
- package/dist/chunks/chunk.JJRLXFKE.js.map +7 -0
- package/dist/chunks/chunk.JS4YAO4B.js +29 -0
- package/dist/chunks/chunk.JS4YAO4B.js.map +7 -0
- package/dist/chunks/chunk.KLCHR5KI.js +2 -0
- package/dist/chunks/chunk.KLCHR5KI.js.map +7 -0
- package/dist/chunks/chunk.KLH46EZA.js +2 -0
- package/dist/chunks/chunk.KLH46EZA.js.map +7 -0
- package/dist/chunks/chunk.KT4MZLLK.js +2 -0
- package/dist/chunks/chunk.KT4MZLLK.js.map +7 -0
- package/dist/chunks/chunk.L3ILTO7U.js +2 -0
- package/dist/chunks/chunk.L3ILTO7U.js.map +7 -0
- package/dist/chunks/chunk.L6NJJXH5.js +2 -0
- package/dist/chunks/chunk.L6NJJXH5.js.map +7 -0
- package/dist/chunks/chunk.L7PT5ADQ.js +4 -0
- package/dist/chunks/chunk.L7PT5ADQ.js.map +7 -0
- package/dist/chunks/chunk.LAQTQIRZ.js +2 -0
- package/dist/chunks/chunk.LAQTQIRZ.js.map +7 -0
- package/dist/chunks/chunk.LCOK4GPO.js +2 -0
- package/dist/chunks/chunk.LCOK4GPO.js.map +7 -0
- package/dist/chunks/chunk.LEIF5C3J.js +17 -0
- package/dist/chunks/chunk.LEIF5C3J.js.map +7 -0
- package/dist/chunks/chunk.LPZIEPKJ.js +2 -0
- package/dist/chunks/chunk.LPZIEPKJ.js.map +7 -0
- package/dist/chunks/chunk.LZYJXAXV.js +4 -0
- package/dist/chunks/chunk.LZYJXAXV.js.map +7 -0
- package/dist/chunks/chunk.M3VMHGNE.js +2 -0
- package/dist/chunks/chunk.M3VMHGNE.js.map +7 -0
- package/dist/chunks/chunk.MBVU2OPU.js +4 -0
- package/dist/chunks/chunk.MBVU2OPU.js.map +7 -0
- package/dist/chunks/chunk.MDHIXFBN.js +2 -0
- package/dist/chunks/chunk.MDHIXFBN.js.map +7 -0
- package/dist/chunks/chunk.MGZVQJ3S.js +245 -0
- package/dist/chunks/chunk.MGZVQJ3S.js.map +7 -0
- package/dist/chunks/chunk.MLENW6F3.js +246 -0
- package/dist/chunks/chunk.MLENW6F3.js.map +7 -0
- package/dist/chunks/chunk.MMXBXV6L.js +17 -0
- package/dist/chunks/chunk.MMXBXV6L.js.map +7 -0
- package/dist/chunks/chunk.MTKBF5OZ.js +2 -0
- package/dist/chunks/chunk.MTKBF5OZ.js.map +7 -0
- package/dist/chunks/chunk.MX2YVDL5.js +17 -0
- package/dist/chunks/chunk.MX2YVDL5.js.map +7 -0
- package/dist/chunks/chunk.NDDFSJRX.js +209 -0
- package/dist/chunks/chunk.NDDFSJRX.js.map +7 -0
- package/dist/chunks/chunk.NTUWOJ5D.js +17 -0
- package/dist/chunks/chunk.NTUWOJ5D.js.map +7 -0
- package/dist/chunks/chunk.NZGSYMV4.js +4 -0
- package/dist/chunks/chunk.NZGSYMV4.js.map +7 -0
- package/dist/chunks/chunk.O2YFBNPC.js +2 -0
- package/dist/chunks/chunk.O2YFBNPC.js.map +7 -0
- package/dist/chunks/chunk.O5A7YZKV.js +29 -0
- package/dist/chunks/chunk.O5A7YZKV.js.map +7 -0
- package/dist/chunks/chunk.O5UC6O56.js +32 -0
- package/dist/chunks/chunk.O5UC6O56.js.map +7 -0
- package/dist/chunks/chunk.O6N6AMBN.js +209 -0
- package/dist/chunks/chunk.O6N6AMBN.js.map +7 -0
- package/dist/chunks/chunk.OINL3FAK.js +4 -0
- package/dist/chunks/chunk.OINL3FAK.js.map +7 -0
- package/dist/chunks/chunk.PD4IRPPA.js +2 -0
- package/dist/chunks/chunk.PD4IRPPA.js.map +7 -0
- package/dist/chunks/chunk.PMYMTICS.js +2 -0
- package/dist/chunks/chunk.PMYMTICS.js.map +7 -0
- package/dist/chunks/chunk.PN3RL7XO.js +36 -0
- package/dist/chunks/chunk.PN3RL7XO.js.map +7 -0
- package/dist/chunks/chunk.PXGXIL4I.js +246 -0
- package/dist/chunks/chunk.PXGXIL4I.js.map +7 -0
- package/dist/chunks/chunk.QHUX6JHG.js +36 -0
- package/dist/chunks/chunk.QHUX6JHG.js.map +7 -0
- package/dist/chunks/chunk.QMLRJZZB.js +2 -0
- package/dist/chunks/chunk.QMLRJZZB.js.map +7 -0
- package/dist/chunks/chunk.QST5ZAJK.js +246 -0
- package/dist/chunks/chunk.QST5ZAJK.js.map +7 -0
- package/dist/chunks/chunk.QVUO4ZOA.js +4 -0
- package/dist/chunks/chunk.QVUO4ZOA.js.map +7 -0
- package/dist/chunks/chunk.QXE7UNSK.js +245 -0
- package/dist/chunks/chunk.QXE7UNSK.js.map +7 -0
- package/dist/chunks/chunk.R4YGOT4Y.js +49 -0
- package/dist/chunks/chunk.R4YGOT4Y.js.map +7 -0
- package/dist/chunks/chunk.RBSBLP6E.js +256 -0
- package/dist/chunks/chunk.RBSBLP6E.js.map +7 -0
- package/dist/chunks/chunk.RH7GIGVO.js +17 -0
- package/dist/chunks/chunk.RH7GIGVO.js.map +7 -0
- package/dist/chunks/chunk.RKKGBGBX.js +4 -0
- package/dist/chunks/chunk.RKKGBGBX.js.map +7 -0
- package/dist/chunks/chunk.RMDMYNAU.js +36 -0
- package/dist/chunks/chunk.RMDMYNAU.js.map +7 -0
- package/dist/chunks/chunk.RNTFMTDE.js +17 -0
- package/dist/chunks/chunk.RNTFMTDE.js.map +7 -0
- package/dist/chunks/chunk.RSW5FCED.js +4 -0
- package/dist/chunks/chunk.RSW5FCED.js.map +7 -0
- package/dist/chunks/chunk.RXMGI7HR.js +2 -0
- package/dist/chunks/chunk.RXMGI7HR.js.map +7 -0
- package/dist/chunks/chunk.S4MESEBR.js +32 -0
- package/dist/chunks/chunk.S4MESEBR.js.map +7 -0
- package/dist/chunks/chunk.S5J43BJV.js +2 -0
- package/dist/chunks/chunk.S5J43BJV.js.map +7 -0
- package/dist/chunks/chunk.SHPKVE4P.js +117 -0
- package/dist/chunks/chunk.SHPKVE4P.js.map +7 -0
- package/dist/chunks/chunk.SIJSFRVB.js +2 -0
- package/dist/chunks/chunk.SIJSFRVB.js.map +7 -0
- package/dist/chunks/chunk.SPEZE3RA.js +2 -0
- package/dist/chunks/chunk.SPEZE3RA.js.map +7 -0
- package/dist/chunks/chunk.TJZEAEKS.js +2 -0
- package/dist/chunks/chunk.TJZEAEKS.js.map +7 -0
- package/dist/chunks/chunk.TXOGG2T7.js +2 -0
- package/dist/chunks/chunk.TXOGG2T7.js.map +7 -0
- package/dist/chunks/chunk.UAADPCC6.js +246 -0
- package/dist/chunks/chunk.UAADPCC6.js.map +7 -0
- package/dist/chunks/chunk.UDJE7KH5.js +2 -0
- package/dist/chunks/chunk.UDJE7KH5.js.map +7 -0
- package/dist/chunks/chunk.UFYA7GJU.js +36 -0
- package/dist/chunks/chunk.UFYA7GJU.js.map +7 -0
- package/dist/chunks/chunk.UKX45VM7.js +2 -0
- package/dist/chunks/chunk.UKX45VM7.js.map +7 -0
- package/dist/chunks/chunk.UPR7HWJ5.js +17 -0
- package/dist/chunks/chunk.UPR7HWJ5.js.map +7 -0
- package/dist/chunks/chunk.UVVG6NF4.js +2 -0
- package/dist/chunks/chunk.UVVG6NF4.js.map +7 -0
- package/dist/chunks/chunk.V3LEMJZR.js +256 -0
- package/dist/chunks/chunk.V3LEMJZR.js.map +7 -0
- package/dist/chunks/chunk.V7F4VPXB.js +2 -0
- package/dist/chunks/chunk.V7F4VPXB.js.map +7 -0
- package/dist/chunks/chunk.VFAS7RP6.js +2 -0
- package/dist/chunks/chunk.VFAS7RP6.js.map +7 -0
- package/dist/chunks/chunk.VPDYSMB4.js +58 -0
- package/dist/chunks/chunk.VPDYSMB4.js.map +7 -0
- package/dist/chunks/chunk.VT6GFWJT.js +2 -0
- package/dist/chunks/chunk.VT6GFWJT.js.map +7 -0
- package/dist/chunks/chunk.VT7UXJBE.js +17 -0
- package/dist/chunks/chunk.VT7UXJBE.js.map +7 -0
- package/dist/chunks/chunk.W3ITQHQQ.js +245 -0
- package/dist/chunks/chunk.W3ITQHQQ.js.map +7 -0
- package/dist/chunks/chunk.W6H7G665.js +2 -0
- package/dist/chunks/chunk.W6H7G665.js.map +7 -0
- package/dist/chunks/chunk.WDBRBMRH.js +2 -0
- package/dist/chunks/chunk.WDBRBMRH.js.map +7 -0
- package/dist/chunks/chunk.WJZDCAGA.js +2 -0
- package/dist/chunks/chunk.WJZDCAGA.js.map +7 -0
- package/dist/chunks/chunk.WKZAWGJI.js +2 -0
- package/dist/chunks/chunk.WKZAWGJI.js.map +7 -0
- package/dist/chunks/chunk.WPOS6KBC.js +2 -0
- package/dist/chunks/chunk.WPOS6KBC.js.map +7 -0
- package/dist/chunks/chunk.WQYSOMPH.js +58 -0
- package/dist/chunks/chunk.WQYSOMPH.js.map +7 -0
- package/dist/chunks/chunk.WRAMQCIW.js +2 -0
- package/dist/chunks/chunk.WRAMQCIW.js.map +7 -0
- package/dist/chunks/chunk.WSDDWC5Y.js +47 -0
- package/dist/chunks/chunk.WSDDWC5Y.js.map +7 -0
- package/dist/chunks/chunk.X3WJMHOP.js +36 -0
- package/dist/chunks/chunk.X3WJMHOP.js.map +7 -0
- package/dist/chunks/chunk.XASOWM5Z.js +2 -0
- package/dist/chunks/chunk.XASOWM5Z.js.map +7 -0
- package/dist/chunks/chunk.XNMMKUIO.js +2 -0
- package/dist/chunks/chunk.XNMMKUIO.js.map +7 -0
- package/dist/chunks/chunk.XPT2Z5AB.js +117 -0
- package/dist/chunks/chunk.XPT2Z5AB.js.map +7 -0
- package/dist/chunks/chunk.XQPLZOJP.js +2 -0
- package/dist/chunks/chunk.XQPLZOJP.js.map +7 -0
- package/dist/chunks/chunk.Y53HTV6U.js +2 -0
- package/dist/chunks/chunk.Y53HTV6U.js.map +7 -0
- package/dist/chunks/chunk.YI7XGVNH.js +4 -0
- package/dist/chunks/chunk.YI7XGVNH.js.map +7 -0
- package/dist/chunks/chunk.YPWTNS7G.js +17 -0
- package/dist/chunks/chunk.YPWTNS7G.js.map +7 -0
- package/dist/chunks/chunk.YT6IL43L.js +2 -0
- package/dist/chunks/chunk.YT6IL43L.js.map +7 -0
- package/dist/chunks/chunk.YXBLJ773.js +4 -0
- package/dist/chunks/chunk.YXBLJ773.js.map +7 -0
- package/dist/chunks/chunk.Z2VCNYLY.js +2 -0
- package/dist/chunks/chunk.Z2VCNYLY.js.map +7 -0
- package/dist/chunks/chunk.Z3OBLET2.js +2 -0
- package/dist/chunks/chunk.Z3OBLET2.js.map +7 -0
- package/dist/chunks/chunk.Z7EPKDUX.js +246 -0
- package/dist/chunks/chunk.Z7EPKDUX.js.map +7 -0
- package/dist/chunks/chunk.ZD65JR3R.js +2 -0
- package/dist/chunks/chunk.ZD65JR3R.js.map +7 -0
- package/dist/chunks/chunk.ZDH2SNRY.js +2 -0
- package/dist/chunks/chunk.ZDH2SNRY.js.map +7 -0
- package/dist/chunks/chunk.ZIY3H5FX.js +2 -0
- package/dist/chunks/chunk.ZIY3H5FX.js.map +7 -0
- package/dist/chunks/chunk.ZKGK7XFD.js +117 -0
- package/dist/chunks/chunk.ZKGK7XFD.js.map +7 -0
- package/dist/chunks/chunk.ZKH7NVYV.js +17 -0
- package/dist/chunks/chunk.ZKH7NVYV.js.map +7 -0
- package/dist/chunks/chunk.ZTT4JEQS.js +29 -0
- package/dist/chunks/chunk.ZTT4JEQS.js.map +7 -0
- package/dist/chunks/chunk.ZWJHKP3F.js +4 -0
- package/dist/chunks/chunk.ZWJHKP3F.js.map +7 -0
- package/dist/custom-elements.json +797 -490
- package/dist/docs/components/ScwAlert.json +25 -0
- package/dist/docs/components/ScwButton.json +25 -0
- package/dist/docs/components/ScwCard.json +44 -0
- package/dist/docs/components/ScwHeading.json +25 -0
- package/dist/docs/components/ScwIcon.json +25 -0
- package/dist/docs/components/ScwImage.json +81 -10
- package/dist/docs/components/ScwLink.json +25 -0
- package/dist/docs/components/ScwLinkBase.json +17 -0
- package/dist/docs/components/ScwMenu.json +1 -1
- package/dist/docs/components/ScwMenuItem.json +25 -0
- package/dist/docs/components/ScwPageAlert.json +25 -0
- package/dist/docs/components/manifest.json +57 -57
- package/dist/docs/config.json +1 -1
- package/dist/scw-alert/ScwAlert.js +1 -1
- package/dist/scw-alert/scw-alert.js +1 -1
- package/dist/scw-button/ScwButton.js +1 -1
- package/dist/scw-button/scw-button.js +1 -1
- package/dist/scw-card/ScwCard.js +1 -1
- package/dist/scw-card/scw-card.js +1 -1
- package/dist/scw-components.js +1 -1
- package/dist/scw-form-component/scw-form-component.js +1 -1
- package/dist/scw-heading/ScwHeading.js +1 -1
- package/dist/scw-heading/scw-heading.js +1 -1
- package/dist/scw-icon/ScwIcon.js +1 -1
- package/dist/scw-icon/scw-icon.js +1 -1
- package/dist/scw-image/ScwImage.js +1 -1
- package/dist/scw-image/scw-image-validate.js +1 -1
- package/dist/scw-image/scw-image.js +1 -1
- package/dist/scw-input/scw-input.js +1 -1
- package/dist/scw-link/ScwLink.js +1 -1
- package/dist/scw-link/scw-link.js +1 -1
- package/dist/scw-link-base/ScwLinkBase.js +1 -1
- package/dist/scw-link-base/scw-link-base.js +1 -1
- package/dist/scw-menu/ScwMenu.js +1 -1
- package/dist/scw-menu/keyboard/keyboardElements.js +1 -1
- package/dist/scw-menu/keyboard/scw-menu-keyboard.js +1 -1
- package/dist/scw-menu/scw-menu.js +1 -1
- package/dist/scw-menu-item/ScwMenuItem.js +1 -1
- package/dist/scw-menu-item/scw-menu-item.js +1 -1
- package/dist/scw-page-alert/scw-page-alert.js +1 -1
- package/dist/scw-select/scw-select.js +1 -1
- package/dist/scw-single-input/scw-single-input.js +1 -1
- package/dist/scw-textarea/scw-textarea.js +1 -1
- package/dist/scw.js +1 -1
- package/dist/utils/suffix.js +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,245 @@
|
|
|
1
|
+
import{a as r,b as s}from"./chunk.RGGLFZST.js";import{a as g}from"./chunk.IAALPGL2.js";import{a as n,d as l}from"./chunk.S4MESEBR.js";import{a,b as i,e as c}from"./chunk.HCMPRDIX.js";import{a as d}from"./chunk.Y2P62L7U.js";import{g as e}from"./chunk.5YJY6NT6.js";var p=a`
|
|
2
|
+
:host {
|
|
3
|
+
/* scw element */
|
|
4
|
+
position: relative;
|
|
5
|
+
box-sizing: border-box;
|
|
6
|
+
--margin-right: initial;
|
|
7
|
+
--margin-bottom: initial;
|
|
8
|
+
--gap-h-int: initial;
|
|
9
|
+
--gap-v-int: initial;
|
|
10
|
+
margin-right: var(--margin-right, var(--gap-h-int, initial));
|
|
11
|
+
margin-bottom: var(--margin-bottom, var(--gap-v-int, initial));
|
|
12
|
+
display: block;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
:host([warning]) {
|
|
16
|
+
outline: 2px solid red !important;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
:host([size=medium]) {
|
|
20
|
+
display: block;
|
|
21
|
+
background-color: rgba(0, 0, 0, 0);
|
|
22
|
+
display: flex;
|
|
23
|
+
flex-flow: column nowrap;
|
|
24
|
+
justify-content: flex-start;
|
|
25
|
+
align-items: flex-start;
|
|
26
|
+
padding-left: 0px;
|
|
27
|
+
padding-right: 0px;
|
|
28
|
+
padding-top: 0px;
|
|
29
|
+
padding-bottom: 0px;
|
|
30
|
+
/*.image-box {
|
|
31
|
+
width: 100%;
|
|
32
|
+
padding-bottom: 38.8888888889%;
|
|
33
|
+
position: relative;
|
|
34
|
+
}*/
|
|
35
|
+
/*.image {
|
|
36
|
+
@include size-medium-image-mixins.box;
|
|
37
|
+
|
|
38
|
+
position: absolute;
|
|
39
|
+
inset: 0;
|
|
40
|
+
background-position: center;
|
|
41
|
+
background-size: cover;
|
|
42
|
+
}*/
|
|
43
|
+
/*.action {
|
|
44
|
+
@include size-medium-action-mixins.box;
|
|
45
|
+
@include size-medium-action-mixins.sizing;
|
|
46
|
+
}*/
|
|
47
|
+
}
|
|
48
|
+
:host([size=medium]) > *:not(:last-child) {
|
|
49
|
+
margin-bottom: calc(var(--scw-spacing-1) * 0.8);
|
|
50
|
+
--margin-bottom: calc( var( --scw-spacing-1 ) * 0.8 );
|
|
51
|
+
}
|
|
52
|
+
:host([size=medium]) .image-box {
|
|
53
|
+
height: 161px;
|
|
54
|
+
}
|
|
55
|
+
:host([size=medium]) .description {
|
|
56
|
+
text-align: LEFT;
|
|
57
|
+
font: var(--scw-type-text-font);
|
|
58
|
+
color: var(--scw-color-grey-02);
|
|
59
|
+
align-self: stretch;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
:host([size=small]) {
|
|
63
|
+
display: block;
|
|
64
|
+
background-color: rgba(0, 0, 0, 0);
|
|
65
|
+
display: flex;
|
|
66
|
+
flex-flow: column nowrap;
|
|
67
|
+
justify-content: flex-start;
|
|
68
|
+
align-items: flex-start;
|
|
69
|
+
padding-left: 0px;
|
|
70
|
+
padding-right: 0px;
|
|
71
|
+
padding-top: 0px;
|
|
72
|
+
padding-bottom: 0px;
|
|
73
|
+
/*.image-box {
|
|
74
|
+
width: 100%;
|
|
75
|
+
padding-bottom: 88.9473684211%;
|
|
76
|
+
position: relative;
|
|
77
|
+
}*/
|
|
78
|
+
/*.image {
|
|
79
|
+
@include size-small-image-mixins.box;
|
|
80
|
+
|
|
81
|
+
position: absolute;
|
|
82
|
+
inset: 0;
|
|
83
|
+
background-position: center;
|
|
84
|
+
background-size: cover;
|
|
85
|
+
}*/
|
|
86
|
+
}
|
|
87
|
+
:host([size=small]) > *:not(:last-child) {
|
|
88
|
+
margin-bottom: calc(var(--scw-spacing-1) * 0.8);
|
|
89
|
+
--margin-bottom: calc( var( --scw-spacing-1 ) * 0.8 );
|
|
90
|
+
}
|
|
91
|
+
:host([size=small]) .image-box {
|
|
92
|
+
height: 169px;
|
|
93
|
+
}
|
|
94
|
+
:host([size=small]) .description {
|
|
95
|
+
display: none;
|
|
96
|
+
}
|
|
97
|
+
:host([size=small]) .action {
|
|
98
|
+
display: none;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
:host .super-heading.mortgage {
|
|
102
|
+
text-align: LEFT;
|
|
103
|
+
font: var(--scw-type-text-bold-condensed-font);
|
|
104
|
+
color: var(--scw-color-04, var(--scw-color-mortgage-04));
|
|
105
|
+
align-self: stretch;
|
|
106
|
+
}
|
|
107
|
+
:host .super-heading.savings {
|
|
108
|
+
text-align: LEFT;
|
|
109
|
+
font: var(--scw-type-text-bold-condensed-font);
|
|
110
|
+
color: var(--scw-color-04, var(--scw-color-savings-04));
|
|
111
|
+
align-self: stretch;
|
|
112
|
+
}
|
|
113
|
+
:host .super-heading.student {
|
|
114
|
+
text-align: LEFT;
|
|
115
|
+
font: var(--scw-type-text-bold-condensed-font);
|
|
116
|
+
color: var(--scw-color-04, var(--scw-color-student-04));
|
|
117
|
+
align-self: stretch;
|
|
118
|
+
}
|
|
119
|
+
:host .super-heading.investments {
|
|
120
|
+
text-align: LEFT;
|
|
121
|
+
font: var(--scw-type-text-bold-condensed-font);
|
|
122
|
+
color: var(--scw-color-04, var(--scw-color-investments-04));
|
|
123
|
+
align-self: stretch;
|
|
124
|
+
}
|
|
125
|
+
:host .super-heading.checking {
|
|
126
|
+
text-align: LEFT;
|
|
127
|
+
font: var(--scw-type-text-bold-condensed-font);
|
|
128
|
+
color: var(--scw-color-04, var(--scw-color-checking-04));
|
|
129
|
+
align-self: stretch;
|
|
130
|
+
}
|
|
131
|
+
:host .super-heading.credit-cards {
|
|
132
|
+
text-align: LEFT;
|
|
133
|
+
font: var(--scw-type-text-bold-condensed-font);
|
|
134
|
+
color: var(--scw-color-04, var(--scw-color-credit-cards-04));
|
|
135
|
+
align-self: stretch;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
:host {
|
|
139
|
+
display: block;
|
|
140
|
+
background-color: var(--scw-color, rgba(0, 0, 0, 0));
|
|
141
|
+
display: flex;
|
|
142
|
+
flex-flow: column nowrap;
|
|
143
|
+
justify-content: flex-start;
|
|
144
|
+
align-items: flex-start;
|
|
145
|
+
padding-left: 0px;
|
|
146
|
+
padding-right: 0px;
|
|
147
|
+
padding-top: 0px;
|
|
148
|
+
padding-bottom: 0px;
|
|
149
|
+
/*.image {
|
|
150
|
+
@include default-image-mixins.box;
|
|
151
|
+
|
|
152
|
+
position: absolute;
|
|
153
|
+
inset: 0;
|
|
154
|
+
background-position: center;
|
|
155
|
+
background-size: cover;
|
|
156
|
+
}*/
|
|
157
|
+
}
|
|
158
|
+
:host > *:not(:last-child) {
|
|
159
|
+
margin-bottom: calc(var(--scw-spacing-1) * 0.8);
|
|
160
|
+
--margin-bottom: calc( var( --scw-spacing-1 ) * 0.8 );
|
|
161
|
+
}
|
|
162
|
+
:host .image-box {
|
|
163
|
+
background-color: var(--scw-color-09, var(--scw-color-grey-09));
|
|
164
|
+
border-radius: 10px 10px 10px 10px;
|
|
165
|
+
align-self: stretch;
|
|
166
|
+
flex: 1;
|
|
167
|
+
flex: initial;
|
|
168
|
+
overflow: hidden;
|
|
169
|
+
height: 345px;
|
|
170
|
+
}
|
|
171
|
+
:host .heading {
|
|
172
|
+
background-color: rgba(0, 0, 0, 0);
|
|
173
|
+
align-self: stretch;
|
|
174
|
+
}
|
|
175
|
+
:host .super-heading {
|
|
176
|
+
text-align: LEFT;
|
|
177
|
+
font: var(--scw-type-text-bold-condensed-font);
|
|
178
|
+
color: var(--scw-color-03, var(--scw-color-primary-03));
|
|
179
|
+
align-self: stretch;
|
|
180
|
+
}
|
|
181
|
+
:host .description {
|
|
182
|
+
text-align: LEFT;
|
|
183
|
+
font: var(--scw-type-text-06-font);
|
|
184
|
+
color: var(--scw-color-02, var(--scw-color-grey-02));
|
|
185
|
+
align-self: stretch;
|
|
186
|
+
}
|
|
187
|
+
:host .action {
|
|
188
|
+
width: 83px;
|
|
189
|
+
height: 32px;
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
:host([action=none]) {
|
|
193
|
+
pointer-events: none;
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
:host([action=whole]) {
|
|
197
|
+
pointer-events: all;
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
:host([action=whole]:hover) {
|
|
201
|
+
cursor: pointer;
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
:host([action=whole]:focus-visible) {
|
|
205
|
+
outline: none;
|
|
206
|
+
box-shadow: var(--scw-effect-focus-shadow);
|
|
207
|
+
border-radius: 10px 10px 4px 4px;
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
:host([action=link]) {
|
|
211
|
+
pointer-events: none;
|
|
212
|
+
}
|
|
213
|
+
:host([action=link]) scw-link {
|
|
214
|
+
pointer-events: all;
|
|
215
|
+
}`;var t=class extends l{constructor(){super();this.size="large";this.action="none";this.element="card",this.clickHandler=this.clickHandler.bind(this);let o=g();this.headerNodeName=r(`scw-${"heading"}${o}`),this.imageNodeName=r(`scw-${"image"}${o}`),this.linkNodeName=r(`scw-${"link"}${o}`)}static get styles(){return[super.styles,p]}parseAndValidateLightDom(){d(this),super.parseAndValidateLightDom()}clickHandler(o){o.stopPropagation(),this.click()}warn(o){this.heading=`error: ${o}`,c.prototype.warn.call(this,o)}renderImage(){if((this.src||this.srcset)&&this.alt)return s`
|
|
216
|
+
<scw-image
|
|
217
|
+
class="image-box"
|
|
218
|
+
src="${n(this.src)}"
|
|
219
|
+
srcset="${n(this.srcset)}"
|
|
220
|
+
alt="${this.alt}"
|
|
221
|
+
object-fit="cover">
|
|
222
|
+
</scw-image>
|
|
223
|
+
`}renderButton(){return this.action==="link"?s`
|
|
224
|
+
<scw-link
|
|
225
|
+
aria-label="${this.linkLabel?this.linkLabel:"no label"}"
|
|
226
|
+
@click="${this.clickHandler}">
|
|
227
|
+
</scw-link>`:null}getSizeStringForHeader(){switch(this.size){case"large":return"h1";case"medium":return"h2";case"small":return"h3"}}renderBody(){return s`
|
|
228
|
+
${this.renderImage()}
|
|
229
|
+
${this.superHeading?s`
|
|
230
|
+
<div class="super-heading">
|
|
231
|
+
${this.superHeading}
|
|
232
|
+
</div>`:""}
|
|
233
|
+
<scw-heading
|
|
234
|
+
style="--scw-color-04: var( --scw-color-grey-02 );"
|
|
235
|
+
dynamic class="heading"
|
|
236
|
+
aria-label="${n(this.heading)}"
|
|
237
|
+
size="${this.getSizeStringForHeader()}">
|
|
238
|
+
</scw-heading>
|
|
239
|
+
${this.description?s`
|
|
240
|
+
<div class="description">
|
|
241
|
+
${this.description}
|
|
242
|
+
</div>`:""}`}render(){return this.action==="whole"?this.renderBody():s`
|
|
243
|
+
${this.renderBody()}
|
|
244
|
+
${this.renderButton()}`}};e([i()],t.prototype,"src",2),e([i()],t.prototype,"srcset",2),e([i()],t.prototype,"alt",2),e([i()],t.prototype,"heading",2),e([i()],t.prototype,"superHeading",2),e([i()],t.prototype,"description",2),e([i()],t.prototype,"linkLabel",2),e([i({type:String,reflect:!0})],t.prototype,"size",2),e([i({type:String,reflect:!0})],t.prototype,"action",2);export{t as a};
|
|
245
|
+
//# sourceMappingURL=chunk.MGZVQJ3S.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["sass-plugin-0:/Users/scottrouse/Workspace/scu-design-system-mono/scu-web-components/src/scw-card/scss/scw-card.scss", "../../src/scw-card/ScwCard.ts"],
|
|
4
|
+
"sourcesContent": ["import {css} from \"lit-element/lit-element.js\";\nexport default css`\n:host {\n /* scw element */\n position: relative;\n box-sizing: border-box;\n --margin-right: initial;\n --margin-bottom: initial;\n --gap-h-int: initial;\n --gap-v-int: initial;\n margin-right: var(--margin-right, var(--gap-h-int, initial));\n margin-bottom: var(--margin-bottom, var(--gap-v-int, initial));\n display: block;\n}\n\n:host([warning]) {\n outline: 2px solid red !important;\n}\n\n:host([size=medium]) {\n display: block;\n background-color: rgba(0, 0, 0, 0);\n display: flex;\n flex-flow: column nowrap;\n justify-content: flex-start;\n align-items: flex-start;\n padding-left: 0px;\n padding-right: 0px;\n padding-top: 0px;\n padding-bottom: 0px;\n /*.image-box {\n width: 100%;\n padding-bottom: 38.8888888889%;\n position: relative;\n }*/\n /*.image {\n @include size-medium-image-mixins.box;\n\n position: absolute;\n inset: 0;\n background-position: center;\n background-size: cover;\n }*/\n /*.action {\n @include size-medium-action-mixins.box;\n @include size-medium-action-mixins.sizing;\n }*/\n}\n:host([size=medium]) > *:not(:last-child) {\n margin-bottom: calc(var(--scw-spacing-1) * 0.8);\n --margin-bottom: calc( var( --scw-spacing-1 ) * 0.8 );\n}\n:host([size=medium]) .image-box {\n height: 161px;\n}\n:host([size=medium]) .description {\n text-align: LEFT;\n font: var(--scw-type-text-font);\n color: var(--scw-color-grey-02);\n align-self: stretch;\n}\n\n:host([size=small]) {\n display: block;\n background-color: rgba(0, 0, 0, 0);\n display: flex;\n flex-flow: column nowrap;\n justify-content: flex-start;\n align-items: flex-start;\n padding-left: 0px;\n padding-right: 0px;\n padding-top: 0px;\n padding-bottom: 0px;\n /*.image-box {\n width: 100%;\n padding-bottom: 88.9473684211%;\n position: relative;\n }*/\n /*.image {\n @include size-small-image-mixins.box;\n\n position: absolute;\n inset: 0;\n background-position: center;\n background-size: cover;\n }*/\n}\n:host([size=small]) > *:not(:last-child) {\n margin-bottom: calc(var(--scw-spacing-1) * 0.8);\n --margin-bottom: calc( var( --scw-spacing-1 ) * 0.8 );\n}\n:host([size=small]) .image-box {\n height: 169px;\n}\n:host([size=small]) .description {\n display: none;\n}\n:host([size=small]) .action {\n display: none;\n}\n\n:host .super-heading.mortgage {\n text-align: LEFT;\n font: var(--scw-type-text-bold-condensed-font);\n color: var(--scw-color-04, var(--scw-color-mortgage-04));\n align-self: stretch;\n}\n:host .super-heading.savings {\n text-align: LEFT;\n font: var(--scw-type-text-bold-condensed-font);\n color: var(--scw-color-04, var(--scw-color-savings-04));\n align-self: stretch;\n}\n:host .super-heading.student {\n text-align: LEFT;\n font: var(--scw-type-text-bold-condensed-font);\n color: var(--scw-color-04, var(--scw-color-student-04));\n align-self: stretch;\n}\n:host .super-heading.investments {\n text-align: LEFT;\n font: var(--scw-type-text-bold-condensed-font);\n color: var(--scw-color-04, var(--scw-color-investments-04));\n align-self: stretch;\n}\n:host .super-heading.checking {\n text-align: LEFT;\n font: var(--scw-type-text-bold-condensed-font);\n color: var(--scw-color-04, var(--scw-color-checking-04));\n align-self: stretch;\n}\n:host .super-heading.credit-cards {\n text-align: LEFT;\n font: var(--scw-type-text-bold-condensed-font);\n color: var(--scw-color-04, var(--scw-color-credit-cards-04));\n align-self: stretch;\n}\n\n:host {\n display: block;\n background-color: var(--scw-color, rgba(0, 0, 0, 0));\n display: flex;\n flex-flow: column nowrap;\n justify-content: flex-start;\n align-items: flex-start;\n padding-left: 0px;\n padding-right: 0px;\n padding-top: 0px;\n padding-bottom: 0px;\n /*.image {\n @include default-image-mixins.box;\n\n position: absolute;\n inset: 0;\n background-position: center;\n background-size: cover;\n }*/\n}\n:host > *:not(:last-child) {\n margin-bottom: calc(var(--scw-spacing-1) * 0.8);\n --margin-bottom: calc( var( --scw-spacing-1 ) * 0.8 );\n}\n:host .image-box {\n background-color: var(--scw-color-09, var(--scw-color-grey-09));\n border-radius: 10px 10px 10px 10px;\n align-self: stretch;\n flex: 1;\n flex: initial;\n overflow: hidden;\n height: 345px;\n}\n:host .heading {\n background-color: rgba(0, 0, 0, 0);\n align-self: stretch;\n}\n:host .super-heading {\n text-align: LEFT;\n font: var(--scw-type-text-bold-condensed-font);\n color: var(--scw-color-03, var(--scw-color-primary-03));\n align-self: stretch;\n}\n:host .description {\n text-align: LEFT;\n font: var(--scw-type-text-06-font);\n color: var(--scw-color-02, var(--scw-color-grey-02));\n align-self: stretch;\n}\n:host .action {\n width: 83px;\n height: 32px;\n}\n\n:host([action=none]) {\n pointer-events: none;\n}\n\n:host([action=whole]) {\n pointer-events: all;\n}\n\n:host([action=whole]:hover) {\n cursor: pointer;\n}\n\n:host([action=whole]:focus-visible) {\n outline: none;\n box-shadow: var(--scw-effect-focus-shadow);\n border-radius: 10px 10px 4px 4px;\n}\n\n:host([action=link]) {\n pointer-events: none;\n}\n:host([action=link]) scw-link {\n pointer-events: all;\n}`;\n", "import {property} from 'lit/decorators.js';\nimport {html} from 'lit/static-html.js';// import {html} from 'lit';\nimport {unsafeStatic} from 'lit/static-html.js';// USE DIFFERENT 'html'!!!!\nimport styles from './scss/scw-card.scss';\nimport ScwComponent from '../scw-component/ScwComponent';\nimport {ScwCardSizes, ScwCardActions} from './scw-card-enums';\nimport parseLightDomCard from './scw-card-light-dom';\nimport ScwLinkBase from '../scw-link-base/ScwLinkBase';\nimport {Components} from '../utils/enums/Components';\nimport getSuffix from '../utils/suffix';\nimport {ScwHeadingSizes} from '../scw-heading/scw-heading-enums';\nimport {ifDefined} from 'lit/directives/if-defined.js';\n\n/**\n * ScwCard a first LitElement web component\n * @class\n * @tag scw-card\n *\n * @slot [default=\"<img src alt /><h1, h2, h3 /><sup /><p />\"]\n The parts of scw-card are configured via nested html elements.\n img defines the image, heading the main heading, sup the category heading,\n and p the descriptive text. Only headings is required (with src, srcset,\n and alt attributes).\n * @slot [default=\"<img src alt /><h1, h2, h3 /><sup /><p /><a />\"]\n Adding an anchor will show a link.\n * @slot [default=\"<a><img src alt /><h1, h2, h3 /><sup /><p /></a>\"]\n Wrapping the entire content in an anchor will make it interactive\n */\nexport default class ScwCard extends ScwLinkBase {\n /**\n * styles\n */\n static get styles() {\n return [\n super.styles,\n styles,\n ];\n }\n\n // ============== ScwCard ====================================================\n /** (ScwCard) The src of the image within the card */\n @property() src: string | undefined;\n\n /** (ScwCard) The srcset of the image within the card */\n @property() srcset: string | undefined;\n\n /** (ScwCard) Alternative description of the image. */\n @property() alt: string | undefined;\n\n /** (ScwCard) Main title or header of the card (determined by\n * <h1, h2, h3> content) */\n @property() heading: string | undefined;\n\n /** (ScwCard) Super title, describing a category or area pertaining to title\n * (determined by <sup> content) */\n @property() superHeading: string | undefined;\n\n /** (ScwCard) Fuller description of what the card is about (determined by\n * <p> content) */\n @property() description: string | undefined;\n\n /** (ScwCard) Label on the link */\n @property() linkLabel : string | undefined;\n\n // ----------- END STATES ----------------------------------------------------\n /** (ScwCard) Readonly - Size of the card. This\n * is determined by the nested html content (h1 = large,\n * h2 = medium, h3 = small). */\n @property({type: String, reflect: true})\n size: ScwCardSizes = ScwCardSizes.large;\n\n /** (ScwCard) Readonly - The type of action (whole card, link, or none).\n * This is determined by the use of an anchor tag. */\n @property({type: String, reflect: true})\n action: ScwCardActions = ScwCardActions.none;\n\n /** scw-header with versioning suffix */\n headerNodeName : any;\n\n /** scw-image with versioning suffix */\n imageNodeName : any;\n\n /** scw-link with versioning suffix */\n linkNodeName : any;\n\n /**\n * Constructor\n */\n constructor() {\n super();\n this.element = Components.card;\n this.clickHandler = this.clickHandler.bind(this);\n\n const suffix = getSuffix();\n this.headerNodeName = unsafeStatic(`scw-${Components.heading}${suffix}`);\n this.imageNodeName = unsafeStatic(`scw-${Components.image}${suffix}`);\n this.linkNodeName = unsafeStatic(`scw-${Components.link}${suffix}`);\n }\n\n /** parseAndValidateLightDom, just adding local parsing and validation */\n parseAndValidateLightDom() {\n parseLightDomCard(this);\n super.parseAndValidateLightDom();\n }\n\n /**\n * Handle click event from link so it doesn't trigger twice\n * @param {Event} evt\n */\n clickHandler(evt : Event) {\n evt.stopPropagation();\n this.click();\n }\n\n /**\n * change the main heading to be the error.\n * @param {string} message describing warning\n */\n warn( message: string ) {\n this.heading = `error: ${message}`;\n ScwComponent.prototype.warn.call(this, message );\n }\n\n /**\n * Render image area\n * @return {object} component DOM\n */\n renderImage() {\n if (\n ( this.src || this.srcset ) &&\n this.alt ) {\n return html`\n <scw-image\n class=\"image-box\"\n src=\"${ifDefined(this.src)}\"\n srcset=\"${ifDefined(this.srcset)}\"\n alt=\"${this.alt}\"\n object-fit=\"cover\">\n </scw-image>\n `;\n }\n }\n\n /**\n * Render link area\n * @return {object} component DOM\n */\n renderButton() {\n if ( this.action === ScwCardActions.link) {\n return html`\n <scw-link\n aria-label=\"${this.linkLabel ? this.linkLabel : 'no label'}\" \n @click=\"${this.clickHandler}\">\n </scw-link>`;\n }\n return null;\n }\n\n /**\n * get string to use in the size attribute of scw-header\n * @return {string}\n */\n getSizeStringForHeader() {\n switch (this.size) {\n case ScwCardSizes.large:\n return 'h1';\n case ScwCardSizes.medium:\n return 'h2';\n case ScwCardSizes.small:\n return 'h3';\n }\n }\n\n /**\n * render body\n * @return {object} component DOM\n */\n renderBody() : object {\n return html`\n ${this.renderImage()}\n ${this.superHeading ?\n html`\n <div class=\"super-heading\">\n ${this.superHeading}\n </div>` : ''\n }\n <scw-heading\n style=\"--scw-color-04: var( --scw-color-grey-02 );\"\n dynamic class=\"heading\"\n aria-label=\"${ifDefined(this.heading)}\"\n size=\"${this.getSizeStringForHeader() as ScwHeadingSizes}\">\n </scw-heading>\n ${this.description ?\n html`\n <div class=\"description\">\n ${this.description}\n </div>` : ''\n }`;\n }\n\n /**\n * render\n * @return {object} component DOM\n */\n render() : object {\n if (this.action === ScwCardActions.whole) {\n return this.renderBody();\n } else {\n return html`\n ${this.renderBody()}\n ${this.renderButton()}`;\n };\n }\n}\n"],
|
|
5
|
+
"mappings": "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",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -0,0 +1,246 @@
|
|
|
1
|
+
import{a as r,b as s}from"./chunk.RGGLFZST.js";import{a as g}from"./chunk.5P5RU7GD.js";import{a as n,d as c}from"./chunk.S4MESEBR.js";import{a,b as i,e as l}from"./chunk.HCMPRDIX.js";import{a as d}from"./chunk.Y2P62L7U.js";import{g as e}from"./chunk.5YJY6NT6.js";var p=a`
|
|
2
|
+
:host {
|
|
3
|
+
/* scw element */
|
|
4
|
+
position: relative;
|
|
5
|
+
box-sizing: border-box;
|
|
6
|
+
--margin-right: initial;
|
|
7
|
+
--margin-bottom: initial;
|
|
8
|
+
--gap-h-int: initial;
|
|
9
|
+
--gap-v-int: initial;
|
|
10
|
+
margin-right: var(--margin-right, var(--gap-h-int, initial));
|
|
11
|
+
margin-bottom: var(--margin-bottom, var(--gap-v-int, initial));
|
|
12
|
+
display: block;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
:host([warning]) {
|
|
16
|
+
outline: 2px solid red !important;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
:host([size=medium]) {
|
|
20
|
+
display: block;
|
|
21
|
+
background-color: rgba(0, 0, 0, 0);
|
|
22
|
+
display: flex;
|
|
23
|
+
flex-flow: column nowrap;
|
|
24
|
+
justify-content: flex-start;
|
|
25
|
+
align-items: flex-start;
|
|
26
|
+
padding-left: 0px;
|
|
27
|
+
padding-right: 0px;
|
|
28
|
+
padding-top: 0px;
|
|
29
|
+
padding-bottom: 0px;
|
|
30
|
+
/*.image-box {
|
|
31
|
+
width: 100%;
|
|
32
|
+
padding-bottom: 38.8888888889%;
|
|
33
|
+
position: relative;
|
|
34
|
+
}*/
|
|
35
|
+
/*.image {
|
|
36
|
+
@include size-medium-image-mixins.box;
|
|
37
|
+
|
|
38
|
+
position: absolute;
|
|
39
|
+
inset: 0;
|
|
40
|
+
background-position: center;
|
|
41
|
+
background-size: cover;
|
|
42
|
+
}*/
|
|
43
|
+
/*.action {
|
|
44
|
+
@include size-medium-action-mixins.box;
|
|
45
|
+
@include size-medium-action-mixins.sizing;
|
|
46
|
+
}*/
|
|
47
|
+
}
|
|
48
|
+
:host([size=medium]) > *:not(:last-child) {
|
|
49
|
+
margin-bottom: calc(var(--scw-spacing-1) * 0.8);
|
|
50
|
+
--margin-bottom: calc( var( --scw-spacing-1 ) * 0.8 );
|
|
51
|
+
}
|
|
52
|
+
:host([size=medium]) .image-box {
|
|
53
|
+
height: 161px;
|
|
54
|
+
}
|
|
55
|
+
:host([size=medium]) .description {
|
|
56
|
+
text-align: LEFT;
|
|
57
|
+
font: var(--scw-type-text-font);
|
|
58
|
+
color: var(--scw-color-grey-02);
|
|
59
|
+
align-self: stretch;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
:host([size=small]) {
|
|
63
|
+
display: block;
|
|
64
|
+
background-color: rgba(0, 0, 0, 0);
|
|
65
|
+
display: flex;
|
|
66
|
+
flex-flow: column nowrap;
|
|
67
|
+
justify-content: flex-start;
|
|
68
|
+
align-items: flex-start;
|
|
69
|
+
padding-left: 0px;
|
|
70
|
+
padding-right: 0px;
|
|
71
|
+
padding-top: 0px;
|
|
72
|
+
padding-bottom: 0px;
|
|
73
|
+
/*.image-box {
|
|
74
|
+
width: 100%;
|
|
75
|
+
padding-bottom: 88.9473684211%;
|
|
76
|
+
position: relative;
|
|
77
|
+
}*/
|
|
78
|
+
/*.image {
|
|
79
|
+
@include size-small-image-mixins.box;
|
|
80
|
+
|
|
81
|
+
position: absolute;
|
|
82
|
+
inset: 0;
|
|
83
|
+
background-position: center;
|
|
84
|
+
background-size: cover;
|
|
85
|
+
}*/
|
|
86
|
+
}
|
|
87
|
+
:host([size=small]) > *:not(:last-child) {
|
|
88
|
+
margin-bottom: calc(var(--scw-spacing-1) * 0.8);
|
|
89
|
+
--margin-bottom: calc( var( --scw-spacing-1 ) * 0.8 );
|
|
90
|
+
}
|
|
91
|
+
:host([size=small]) .image-box {
|
|
92
|
+
height: 169px;
|
|
93
|
+
}
|
|
94
|
+
:host([size=small]) .description {
|
|
95
|
+
display: none;
|
|
96
|
+
}
|
|
97
|
+
:host([size=small]) .action {
|
|
98
|
+
display: none;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
:host .super-heading.mortgage {
|
|
102
|
+
text-align: LEFT;
|
|
103
|
+
font: var(--scw-type-text-bold-condensed-font);
|
|
104
|
+
color: var(--scw-color-04, var(--scw-color-mortgage-04));
|
|
105
|
+
align-self: stretch;
|
|
106
|
+
}
|
|
107
|
+
:host .super-heading.savings {
|
|
108
|
+
text-align: LEFT;
|
|
109
|
+
font: var(--scw-type-text-bold-condensed-font);
|
|
110
|
+
color: var(--scw-color-04, var(--scw-color-savings-04));
|
|
111
|
+
align-self: stretch;
|
|
112
|
+
}
|
|
113
|
+
:host .super-heading.student {
|
|
114
|
+
text-align: LEFT;
|
|
115
|
+
font: var(--scw-type-text-bold-condensed-font);
|
|
116
|
+
color: var(--scw-color-04, var(--scw-color-student-04));
|
|
117
|
+
align-self: stretch;
|
|
118
|
+
}
|
|
119
|
+
:host .super-heading.investments {
|
|
120
|
+
text-align: LEFT;
|
|
121
|
+
font: var(--scw-type-text-bold-condensed-font);
|
|
122
|
+
color: var(--scw-color-04, var(--scw-color-investments-04));
|
|
123
|
+
align-self: stretch;
|
|
124
|
+
}
|
|
125
|
+
:host .super-heading.checking {
|
|
126
|
+
text-align: LEFT;
|
|
127
|
+
font: var(--scw-type-text-bold-condensed-font);
|
|
128
|
+
color: var(--scw-color-04, var(--scw-color-checking-04));
|
|
129
|
+
align-self: stretch;
|
|
130
|
+
}
|
|
131
|
+
:host .super-heading.credit-cards {
|
|
132
|
+
text-align: LEFT;
|
|
133
|
+
font: var(--scw-type-text-bold-condensed-font);
|
|
134
|
+
color: var(--scw-color-04, var(--scw-color-credit-cards-04));
|
|
135
|
+
align-self: stretch;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
:host {
|
|
139
|
+
display: block;
|
|
140
|
+
background-color: var(--scw-color, rgba(0, 0, 0, 0));
|
|
141
|
+
display: flex;
|
|
142
|
+
flex-flow: column nowrap;
|
|
143
|
+
justify-content: flex-start;
|
|
144
|
+
align-items: flex-start;
|
|
145
|
+
padding-left: 0px;
|
|
146
|
+
padding-right: 0px;
|
|
147
|
+
padding-top: 0px;
|
|
148
|
+
padding-bottom: 0px;
|
|
149
|
+
/*.image {
|
|
150
|
+
@include default-image-mixins.box;
|
|
151
|
+
|
|
152
|
+
position: absolute;
|
|
153
|
+
inset: 0;
|
|
154
|
+
background-position: center;
|
|
155
|
+
background-size: cover;
|
|
156
|
+
}*/
|
|
157
|
+
}
|
|
158
|
+
:host > *:not(:last-child) {
|
|
159
|
+
margin-bottom: calc(var(--scw-spacing-1) * 0.8);
|
|
160
|
+
--margin-bottom: calc( var( --scw-spacing-1 ) * 0.8 );
|
|
161
|
+
}
|
|
162
|
+
:host .image-box {
|
|
163
|
+
background-color: var(--scw-color-09, var(--scw-color-grey-09));
|
|
164
|
+
border-radius: 10px 10px 10px 10px;
|
|
165
|
+
align-self: stretch;
|
|
166
|
+
flex: 1;
|
|
167
|
+
flex: initial;
|
|
168
|
+
overflow: hidden;
|
|
169
|
+
height: 345px;
|
|
170
|
+
}
|
|
171
|
+
:host .heading {
|
|
172
|
+
background-color: rgba(0, 0, 0, 0);
|
|
173
|
+
align-self: stretch;
|
|
174
|
+
}
|
|
175
|
+
:host .super-heading {
|
|
176
|
+
text-align: LEFT;
|
|
177
|
+
font: var(--scw-type-text-bold-condensed-font);
|
|
178
|
+
color: var(--scw-color-03, var(--scw-color-primary-03));
|
|
179
|
+
align-self: stretch;
|
|
180
|
+
}
|
|
181
|
+
:host .description {
|
|
182
|
+
text-align: LEFT;
|
|
183
|
+
font: var(--scw-type-text-06-font);
|
|
184
|
+
color: var(--scw-color-02, var(--scw-color-grey-02));
|
|
185
|
+
align-self: stretch;
|
|
186
|
+
}
|
|
187
|
+
:host .action {
|
|
188
|
+
width: 83px;
|
|
189
|
+
height: 32px;
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
:host([action=none]) {
|
|
193
|
+
pointer-events: none;
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
:host([action=whole]) {
|
|
197
|
+
pointer-events: all;
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
:host([action=whole]:hover) {
|
|
201
|
+
cursor: pointer;
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
:host([action=whole]:focus-visible) {
|
|
205
|
+
outline: none;
|
|
206
|
+
box-shadow: var(--scw-effect-focus-shadow);
|
|
207
|
+
border-radius: 10px 10px 4px 4px;
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
:host([action=link]) {
|
|
211
|
+
pointer-events: none;
|
|
212
|
+
}
|
|
213
|
+
:host([action=link]) scw-link {
|
|
214
|
+
pointer-events: all;
|
|
215
|
+
}`;var t=class extends c{constructor(){super();this.preload=!1;this.size="large";this.action="none";this.element="card",this.clickHandler=this.clickHandler.bind(this);let o=g();this.headerNodeName=r(`scw-${"heading"}${o}`),this.imageNodeName=r(`scw-${"image"}${o}`),this.linkNodeName=r(`scw-${"link"}${o}`)}static get styles(){return[super.styles,p]}parseAndValidateLightDom(){d(this),super.parseAndValidateLightDom()}clickHandler(o){o.stopPropagation(),this.click()}warn(o){this.heading=`error: ${o}`,l.prototype.warn.call(this,o)}renderImage(){if((this.src||this.srcset)&&this.alt)return s`
|
|
216
|
+
<scw-image
|
|
217
|
+
class="image-box"
|
|
218
|
+
src="${n(this.src)}"
|
|
219
|
+
srcset="${n(this.srcset)}"
|
|
220
|
+
alt="${this.alt}"
|
|
221
|
+
preload="${n(this.preload)}"
|
|
222
|
+
object-fit="cover">
|
|
223
|
+
</scw-image>
|
|
224
|
+
`}renderButton(){return this.action==="link"?s`
|
|
225
|
+
<scw-link
|
|
226
|
+
aria-label="${this.linkLabel?this.linkLabel:"no label"}"
|
|
227
|
+
@click="${this.clickHandler}">
|
|
228
|
+
</scw-link>`:null}getSizeStringForHeader(){switch(this.size){case"large":return"h1";case"medium":return"h2";case"small":return"h3"}}renderBody(){return s`
|
|
229
|
+
${this.renderImage()}
|
|
230
|
+
${this.superHeading?s`
|
|
231
|
+
<div class="super-heading">
|
|
232
|
+
${this.superHeading}
|
|
233
|
+
</div>`:""}
|
|
234
|
+
<scw-heading
|
|
235
|
+
style="--scw-color-04: var( --scw-color-grey-02 );"
|
|
236
|
+
dynamic class="heading"
|
|
237
|
+
aria-label="${n(this.heading)}"
|
|
238
|
+
size="${this.getSizeStringForHeader()}">
|
|
239
|
+
</scw-heading>
|
|
240
|
+
${this.description?s`
|
|
241
|
+
<div class="description">
|
|
242
|
+
${this.description}
|
|
243
|
+
</div>`:""}`}render(){return this.action==="whole"?this.renderBody():s`
|
|
244
|
+
${this.renderBody()}
|
|
245
|
+
${this.renderButton()}`}};e([i()],t.prototype,"src",2),e([i()],t.prototype,"srcset",2),e([i()],t.prototype,"alt",2),e([i()],t.prototype,"heading",2),e([i()],t.prototype,"superHeading",2),e([i()],t.prototype,"description",2),e([i()],t.prototype,"linkLabel",2),e([i({type:Boolean})],t.prototype,"preload",2),e([i({type:String,reflect:!0})],t.prototype,"size",2),e([i({type:String,reflect:!0})],t.prototype,"action",2);export{t as a};
|
|
246
|
+
//# sourceMappingURL=chunk.MLENW6F3.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["sass-plugin-0:/Users/scottrouse/Workspace/scu-design-system-mono/scu-web-components/src/scw-card/scss/scw-card.scss", "../../src/scw-card/ScwCard.ts"],
|
|
4
|
+
"sourcesContent": ["import {css} from \"lit-element/lit-element.js\";\nexport default css`\n:host {\n /* scw element */\n position: relative;\n box-sizing: border-box;\n --margin-right: initial;\n --margin-bottom: initial;\n --gap-h-int: initial;\n --gap-v-int: initial;\n margin-right: var(--margin-right, var(--gap-h-int, initial));\n margin-bottom: var(--margin-bottom, var(--gap-v-int, initial));\n display: block;\n}\n\n:host([warning]) {\n outline: 2px solid red !important;\n}\n\n:host([size=medium]) {\n display: block;\n background-color: rgba(0, 0, 0, 0);\n display: flex;\n flex-flow: column nowrap;\n justify-content: flex-start;\n align-items: flex-start;\n padding-left: 0px;\n padding-right: 0px;\n padding-top: 0px;\n padding-bottom: 0px;\n /*.image-box {\n width: 100%;\n padding-bottom: 38.8888888889%;\n position: relative;\n }*/\n /*.image {\n @include size-medium-image-mixins.box;\n\n position: absolute;\n inset: 0;\n background-position: center;\n background-size: cover;\n }*/\n /*.action {\n @include size-medium-action-mixins.box;\n @include size-medium-action-mixins.sizing;\n }*/\n}\n:host([size=medium]) > *:not(:last-child) {\n margin-bottom: calc(var(--scw-spacing-1) * 0.8);\n --margin-bottom: calc( var( --scw-spacing-1 ) * 0.8 );\n}\n:host([size=medium]) .image-box {\n height: 161px;\n}\n:host([size=medium]) .description {\n text-align: LEFT;\n font: var(--scw-type-text-font);\n color: var(--scw-color-grey-02);\n align-self: stretch;\n}\n\n:host([size=small]) {\n display: block;\n background-color: rgba(0, 0, 0, 0);\n display: flex;\n flex-flow: column nowrap;\n justify-content: flex-start;\n align-items: flex-start;\n padding-left: 0px;\n padding-right: 0px;\n padding-top: 0px;\n padding-bottom: 0px;\n /*.image-box {\n width: 100%;\n padding-bottom: 88.9473684211%;\n position: relative;\n }*/\n /*.image {\n @include size-small-image-mixins.box;\n\n position: absolute;\n inset: 0;\n background-position: center;\n background-size: cover;\n }*/\n}\n:host([size=small]) > *:not(:last-child) {\n margin-bottom: calc(var(--scw-spacing-1) * 0.8);\n --margin-bottom: calc( var( --scw-spacing-1 ) * 0.8 );\n}\n:host([size=small]) .image-box {\n height: 169px;\n}\n:host([size=small]) .description {\n display: none;\n}\n:host([size=small]) .action {\n display: none;\n}\n\n:host .super-heading.mortgage {\n text-align: LEFT;\n font: var(--scw-type-text-bold-condensed-font);\n color: var(--scw-color-04, var(--scw-color-mortgage-04));\n align-self: stretch;\n}\n:host .super-heading.savings {\n text-align: LEFT;\n font: var(--scw-type-text-bold-condensed-font);\n color: var(--scw-color-04, var(--scw-color-savings-04));\n align-self: stretch;\n}\n:host .super-heading.student {\n text-align: LEFT;\n font: var(--scw-type-text-bold-condensed-font);\n color: var(--scw-color-04, var(--scw-color-student-04));\n align-self: stretch;\n}\n:host .super-heading.investments {\n text-align: LEFT;\n font: var(--scw-type-text-bold-condensed-font);\n color: var(--scw-color-04, var(--scw-color-investments-04));\n align-self: stretch;\n}\n:host .super-heading.checking {\n text-align: LEFT;\n font: var(--scw-type-text-bold-condensed-font);\n color: var(--scw-color-04, var(--scw-color-checking-04));\n align-self: stretch;\n}\n:host .super-heading.credit-cards {\n text-align: LEFT;\n font: var(--scw-type-text-bold-condensed-font);\n color: var(--scw-color-04, var(--scw-color-credit-cards-04));\n align-self: stretch;\n}\n\n:host {\n display: block;\n background-color: var(--scw-color, rgba(0, 0, 0, 0));\n display: flex;\n flex-flow: column nowrap;\n justify-content: flex-start;\n align-items: flex-start;\n padding-left: 0px;\n padding-right: 0px;\n padding-top: 0px;\n padding-bottom: 0px;\n /*.image {\n @include default-image-mixins.box;\n\n position: absolute;\n inset: 0;\n background-position: center;\n background-size: cover;\n }*/\n}\n:host > *:not(:last-child) {\n margin-bottom: calc(var(--scw-spacing-1) * 0.8);\n --margin-bottom: calc( var( --scw-spacing-1 ) * 0.8 );\n}\n:host .image-box {\n background-color: var(--scw-color-09, var(--scw-color-grey-09));\n border-radius: 10px 10px 10px 10px;\n align-self: stretch;\n flex: 1;\n flex: initial;\n overflow: hidden;\n height: 345px;\n}\n:host .heading {\n background-color: rgba(0, 0, 0, 0);\n align-self: stretch;\n}\n:host .super-heading {\n text-align: LEFT;\n font: var(--scw-type-text-bold-condensed-font);\n color: var(--scw-color-03, var(--scw-color-primary-03));\n align-self: stretch;\n}\n:host .description {\n text-align: LEFT;\n font: var(--scw-type-text-06-font);\n color: var(--scw-color-02, var(--scw-color-grey-02));\n align-self: stretch;\n}\n:host .action {\n width: 83px;\n height: 32px;\n}\n\n:host([action=none]) {\n pointer-events: none;\n}\n\n:host([action=whole]) {\n pointer-events: all;\n}\n\n:host([action=whole]:hover) {\n cursor: pointer;\n}\n\n:host([action=whole]:focus-visible) {\n outline: none;\n box-shadow: var(--scw-effect-focus-shadow);\n border-radius: 10px 10px 4px 4px;\n}\n\n:host([action=link]) {\n pointer-events: none;\n}\n:host([action=link]) scw-link {\n pointer-events: all;\n}`;\n", "import {property} from 'lit/decorators.js';\nimport {html} from 'lit/static-html.js';// import {html} from 'lit';\nimport {unsafeStatic} from 'lit/static-html.js';// USE DIFFERENT 'html'!!!!\nimport styles from './scss/scw-card.scss';\nimport ScwComponent from '../scw-component/ScwComponent';\nimport {ScwCardSizes, ScwCardActions} from './scw-card-enums';\nimport parseLightDomCard from './scw-card-light-dom';\nimport ScwLinkBase from '../scw-link-base/ScwLinkBase';\nimport {Components} from '../utils/enums/Components';\nimport getSuffix from '../utils/suffix';\nimport {ScwHeadingSizes} from '../scw-heading/scw-heading-enums';\nimport {ifDefined} from 'lit/directives/if-defined.js';\n\n/**\n * ScwCard a first LitElement web component\n * @class\n * @tag scw-card\n *\n * @slot [default=\"<img src alt /><h1, h2, h3 /><sup /><p />\"]\n The parts of scw-card are configured via nested html elements.\n img defines the image, heading the main heading, sup the category heading,\n and p the descriptive text. Only headings is required (with src, srcset,\n and alt attributes).\n * @slot [default=\"<img src alt /><h1, h2, h3 /><sup /><p /><a />\"]\n Adding an anchor will show a link.\n * @slot [default=\"<a><img src alt /><h1, h2, h3 /><sup /><p /></a>\"]\n Wrapping the entire content in an anchor will make it interactive\n */\nexport default class ScwCard extends ScwLinkBase {\n /**\n * styles\n */\n static get styles() {\n return [\n super.styles,\n styles,\n ];\n }\n\n // ============== ScwCard ====================================================\n /** (ScwCard) The src of the image within the card */\n @property() src: string | undefined;\n\n /** (ScwCard) The srcset of the image within the card */\n @property() srcset: string | undefined;\n\n /** (ScwCard) Alternative description of the image. */\n @property() alt: string | undefined;\n\n /** (ScwCard) Main title or header of the card (determined by\n * <h1, h2, h3> content) */\n @property() heading: string | undefined;\n\n /** (ScwCard) Super title, describing a category or area pertaining to title\n * (determined by <sup> content) */\n @property() superHeading: string | undefined;\n\n /** (ScwCard) Fuller description of what the card is about (determined by\n * <p> content) */\n @property() description: string | undefined;\n\n /** (ScwCard) Label on the link */\n @property() linkLabel : string | undefined;\n\n /** (ScwCard) whether to preload image or not */\n @property({type: Boolean}) preload: boolean = false;\n\n // ----------- END STATES ----------------------------------------------------\n /** (ScwCard) Readonly - Size of the card. This\n * is determined by the nested html content (h1 = large,\n * h2 = medium, h3 = small). */\n @property({type: String, reflect: true})\n size: ScwCardSizes = ScwCardSizes.large;\n\n /** (ScwCard) Readonly - The type of action (whole card, link, or none).\n * This is determined by the use of an anchor tag. */\n @property({type: String, reflect: true})\n action: ScwCardActions = ScwCardActions.none;\n\n /** scw-header with versioning suffix */\n headerNodeName : any;\n\n /** scw-image with versioning suffix */\n imageNodeName : any;\n\n /** scw-link with versioning suffix */\n linkNodeName : any;\n\n /**\n * Constructor\n */\n constructor() {\n super();\n this.element = Components.card;\n this.clickHandler = this.clickHandler.bind(this);\n\n const suffix = getSuffix();\n this.headerNodeName = unsafeStatic(`scw-${Components.heading}${suffix}`);\n this.imageNodeName = unsafeStatic(`scw-${Components.image}${suffix}`);\n this.linkNodeName = unsafeStatic(`scw-${Components.link}${suffix}`);\n }\n\n /** parseAndValidateLightDom, just adding local parsing and validation */\n parseAndValidateLightDom() {\n parseLightDomCard(this);\n super.parseAndValidateLightDom();\n }\n\n /**\n * Handle click event from link so it doesn't trigger twice\n * @param {Event} evt\n */\n clickHandler(evt : Event) {\n evt.stopPropagation();\n this.click();\n }\n\n /**\n * change the main heading to be the error.\n * @param {string} message describing warning\n */\n warn( message: string ) {\n this.heading = `error: ${message}`;\n ScwComponent.prototype.warn.call(this, message );\n }\n\n /**\n * Render image area\n * @return {object} component DOM\n */\n renderImage() {\n if (\n ( this.src || this.srcset ) &&\n this.alt ) {\n return html`\n <scw-image\n class=\"image-box\"\n src=\"${ifDefined(this.src)}\"\n srcset=\"${ifDefined(this.srcset)}\"\n alt=\"${this.alt}\"\n preload=\"${ifDefined(this.preload)}\"\n object-fit=\"cover\">\n </scw-image>\n `;\n }\n }\n\n /**\n * Render link area\n * @return {object} component DOM\n */\n renderButton() {\n if ( this.action === ScwCardActions.link) {\n return html`\n <scw-link\n aria-label=\"${this.linkLabel ? this.linkLabel : 'no label'}\" \n @click=\"${this.clickHandler}\">\n </scw-link>`;\n }\n return null;\n }\n\n /**\n * get string to use in the size attribute of scw-header\n * @return {string}\n */\n getSizeStringForHeader() {\n switch (this.size) {\n case ScwCardSizes.large:\n return 'h1';\n case ScwCardSizes.medium:\n return 'h2';\n case ScwCardSizes.small:\n return 'h3';\n }\n }\n\n /**\n * render body\n * @return {object} component DOM\n */\n renderBody() : object {\n return html`\n ${this.renderImage()}\n ${this.superHeading ?\n html`\n <div class=\"super-heading\">\n ${this.superHeading}\n </div>` : ''\n }\n <scw-heading\n style=\"--scw-color-04: var( --scw-color-grey-02 );\"\n dynamic class=\"heading\"\n aria-label=\"${ifDefined(this.heading)}\"\n size=\"${this.getSizeStringForHeader() as ScwHeadingSizes}\">\n </scw-heading>\n ${this.description ?\n html`\n <div class=\"description\">\n ${this.description}\n </div>` : ''\n }`;\n }\n\n /**\n * render\n * @return {object} component DOM\n */\n render() : object {\n if (this.action === ScwCardActions.whole) {\n return this.renderBody();\n } else {\n return html`\n ${this.renderBody()}\n ${this.renderButton()}`;\n };\n }\n}\n"],
|
|
5
|
+
"mappings": "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",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import{a as f}from"./chunk.5HZ4WTGH.js";import{c as w,e as h,f as d}from"./chunk.ZS4C3T6Z.js";var{H:O}=d,v=r=>r===null||typeof r!="object"&&typeof r!="function";var y=(r,a)=>{var i,n;return a===void 0?((i=r)===null||i===void 0?void 0:i._$litType$)!==void 0:((n=r)===null||n===void 0?void 0:n._$litType$)===a};var g=r=>r.strings===void 0;var{R:_,D:P,j:A,H:m,Z:E}=d,$=(r,a,i={})=>{if(a._$litPart$!==void 0)throw Error("container already contains a live render");let n,s,o=[],e=document.createTreeWalker(a,NodeFilter.SHOW_COMMENT,null,!1),t;for(;(t=e.nextNode())!==null;){let l=t.data;if(l.startsWith("lit-part")){if(o.length===0&&n!==void 0)throw Error("there must be only one root part per container");s=T(r,t,o,i),n!=null||(n=s)}else if(l.startsWith("lit-node")){R(t,o,i);let c=t.parentElement;c.hasAttribute("defer-hydration")&&c.removeAttribute("defer-hydration")}else if(l.startsWith("/lit-part")){if(o.length===1&&s!==n)throw Error("internal error");s=C(t,s,o)}}console.assert(n!==void 0,"there should be exactly one root part in a render container"),a._$litPart$=n},T=(r,a,i,n)=>{let s,o;if(i.length===0)o=new m(a,null,void 0,n),s=r;else{let e=i[i.length-1];if(e.type==="template-instance")o=new m(a,null,e.instance,n),e.instance.v.push(o),s=e.result.values[e.instancePartIndex++],e.templatePartIndex++;else if(e.type==="iterable"){o=new m(a,null,e.part,n);let t=e.iterator.next();if(t.done)throw s=void 0,e.done=!0,Error("Unhandled shorter than expected iterable");s=t.value,e.part._$AH.push(o)}else o=new m(a,null,e.part,n)}if(s=A(o,s),s===w)i.push({part:o,type:"leaf"});else if(v(s))i.push({part:o,type:"leaf"}),o._$AH=s;else if(y(s)){let e="lit-part "+H(s);if(a.data!==e)throw Error("Hydration value mismatch: Unexpected TemplateResult rendered to part");{let t=m.prototype._$AC(s),l=new _(t,o);i.push({type:"template-instance",instance:l,part:o,templatePartIndex:0,instancePartIndex:0,result:s}),o._$AH=l}}else P(s)?(i.push({part:o,type:"iterable",value:s,iterator:s[Symbol.iterator](),done:!1}),o._$AH=[]):(i.push({part:o,type:"leaf"}),o._$AH=s==null?"":s);return o},C=(r,a,i)=>{if(a===void 0)throw Error("unbalanced part marker");a._$AB=r;let n=i.pop();if(n.type==="iterable"&&!n.iterator.next().done)throw Error("unexpected longer than expected iterable");if(i.length>0)return i[i.length-1].part},R=(r,a,i)=>{var n;let s=/lit-node (\d+)/.exec(r.data),o=parseInt(s[1]),e=(n=r.previousSibling)!==null&&n!==void 0?n:r.parentElement,t=a[a.length-1];if(t.type!=="template-instance")throw Error("internal error");{let l=t.instance;for(;;){let c=l._$AD.parts[t.templatePartIndex];if(c===void 0||c.type!==f.ATTRIBUTE&&c.type!==f.ELEMENT||c.index!==o)break;if(c.type===f.ATTRIBUTE){let p=new c.ctor(e,c.name,c.strings,t.instance,i),u=g(p)?t.result.values[t.instancePartIndex]:t.result.values,x=!(p.type===f.EVENT||p.type===f.PROPERTY);p._$AI(u,p,t.instancePartIndex,x),t.instancePartIndex+=c.strings.length-1,l.v.push(p)}else{let p=new E(e,t.instance,i);A(p,t.result.values[t.instancePartIndex++]),l.v.push(p)}t.templatePartIndex++}}},H=r=>{let a=new Uint32Array(2).fill(5381);for(let i of r.strings)for(let n=0;n<i.length;n++)a[n%2]=33*a[n%2]^i.charCodeAt(n);return btoa(String.fromCharCode(...new Uint8Array(a.buffer)))};globalThis.litElementHydrateSupport=({LitElement:r})=>{let a=Object.getOwnPropertyDescriptor(Object.getPrototypeOf(r),"observedAttributes").get;Object.defineProperty(r,"observedAttributes",{get(){return[...a.call(this),"defer-hydration"]}});let i=r.prototype.attributeChangedCallback;r.prototype.attributeChangedCallback=function(e,t,l){e==="defer-hydration"&&l===null&&n.call(this),i.call(this,e,t,l)};let n=r.prototype.connectedCallback;r.prototype.connectedCallback=function(){this.hasAttribute("defer-hydration")||n.call(this)};let s=r.prototype.createRenderRoot;r.prototype.createRenderRoot=function(){return this.shadowRoot?(this._$AG=!0,this.shadowRoot):s.call(this)};let o=Object.getPrototypeOf(r.prototype).update;r.prototype.update=function(e){let t=this.render();o.call(this,e),this._$AG?(this._$AG=!1,$(t,this.renderRoot,this.renderOptions)):h(t,this.renderRoot,this.renderOptions)}};var b={},I;async function V(r={}){let{components:a=!1,suffix:i=!1}=r;I={suffix:i};let n=!a,s=i?`-${i}`:"",o=[];function e(l,c){o.push((async()=>{let p=`${l}${s}`;if(!b[p]){b[p]=!0;try{window.customElements.define(p,(await c).default)}catch(u){console.error(p,u)}}})())}function t(l){if(n)return!0;if(Array.isArray(a))return a?a.includes(l):!1}return t("scw-component")&&e("scw-component",import("../scw-component/ScwComponent.js")),t("scw-form-component")&&e("scw-form-component",import("../scw-form-component/scw-form-component.js")),t("scw-card")&&e("scw-card",import("../scw-card/ScwCard.js")),t("scw-input-field")&&e("scw-input-field",import("../scw-input-field/scw-input-field.js")),t("scw-input-layout")&&e("scw-input-layout",import("../scw-input-layout/scw-input-layout.js")),t("scw-link")&&e("scw-link",import("../scw-link/ScwLink.js")),t("scw-button")&&e("scw-button",import("../scw-button/ScwButton.js")),t("scw-menu")&&e("scw-menu",import("../scw-menu/ScwMenu.js")),t("scw-menu-item")&&e("scw-menu-item",import("../scw-menu-item/ScwMenuItem.js")),t("scw-icon")&&e("scw-icon",import("../scw-icon/ScwIcon.js")),t("scw-heading")&&e("scw-heading",import("../scw-heading/ScwHeading.js")),t("scw-image")&&e("scw-image",import("../scw-image/ScwImage.js")),t("scw-input")&&e("scw-input",import("../scw-input/scw-input.js")),t("scw-single-input")&&e("scw-single-input",import("../scw-single-input/scw-single-input.js")),t("scw-single-input-layout")&&e("scw-single-input-layout",import("../scw-single-input-layout/scw-single-input-layout.js")),t("scw-responsive")&&e("scw-responsive",import("../scw-responsive/scw-responsive.js")),t("scw-validation")&&e("scw-validation",import("../scw-validation/scw-validation.js")),t("scw-validate")&&e("scw-validate",import("../scw-validate/scw-validate.js")),t("scw-flex-h-component")&&e("scw-flex-h-component",import("../scw-flex-h-component/scw-flex-h-component.js")),t("scw-flex-v-component")&&e("scw-flex-v-component",import("../scw-flex-v-component/scw-flex-v-component.js")),t("scw-stack-component")&&e("scw-stack-component",import("../scw-stack-component/scw-stack-component.js")),t("scw-layout-component")&&e("scw-layout-component",import("../scw-layout-component/scw-layout-component.js")),t("scw-element-component")&&e("scw-element-component",import("../scw-element-component/scw-element-component.js")),t("scw-center-component")&&e("scw-center-component",import("../scw-center-component/ScwCenterComponent.js")),t("scw-float-component")&&e("scw-float-component",import("../scw-float-component/scw-float-component.js")),t("scw-pane-component")&&e("scw-pane-component",import("../scw-pane-component/scw-pane-component.js")),t("scw-form")&&e("scw-form",import("../scw-form/scw-form.js")),t("scw-page-alert")&&e("scw-page-alert",import("../scw-page-alert/scw-page-alert.js")),t("scw-link-base")&&e("scw-link-base",import("../scw-link-base/ScwLinkBase.js")),t("scw-textarea")&&e("scw-textarea",import("../scw-textarea/scw-textarea.js")),t("scw-select")&&e("scw-select",import("../scw-select/scw-select.js")),t("scw-alert")&&e("scw-alert",import("../scw-alert/ScwAlert.js")),Promise.all(o)}export{g as a,I as b,V as c};
|
|
2
|
+
/**
|
|
3
|
+
* @license
|
|
4
|
+
* Copyright 2017 Google LLC
|
|
5
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
6
|
+
*/
|
|
7
|
+
/**
|
|
8
|
+
* @license
|
|
9
|
+
* Copyright 2019 Google LLC
|
|
10
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* @license
|
|
14
|
+
* Copyright 2020 Google LLC
|
|
15
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
16
|
+
*/
|
|
17
|
+
//# sourceMappingURL=chunk.MMXBXV6L.js.map
|