@esri/calcite-components 3.2.0-next.2 → 3.2.0-next.3
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/calcite/254R4CXG.js +4 -0
- package/dist/calcite/254R4CXG.js.LEGAL.txt +3 -0
- package/dist/calcite/273XPE3C.js +4 -0
- package/dist/calcite/273XPE3C.js.LEGAL.txt +3 -0
- package/dist/calcite/2A5NKXER.js +4 -0
- package/dist/calcite/2A5NKXER.js.LEGAL.txt +3 -0
- package/dist/calcite/2BRDJ4VD.js +4 -0
- package/dist/calcite/2BRDJ4VD.js.LEGAL.txt +3 -0
- package/dist/calcite/2GHDOQUX.js +4 -0
- package/dist/calcite/2GHDOQUX.js.LEGAL.txt +3 -0
- package/dist/calcite/2HJNGA4M.js +4 -0
- package/dist/calcite/2HJNGA4M.js.LEGAL.txt +3 -0
- package/dist/calcite/2HL3XLMA.js +4 -0
- package/dist/calcite/2HL3XLMA.js.LEGAL.txt +3 -0
- package/dist/calcite/2KJS5QGQ.js +4 -0
- package/dist/calcite/2KJS5QGQ.js.LEGAL.txt +3 -0
- package/dist/calcite/2KO5DXGJ.js +5 -0
- package/dist/calcite/2KO5DXGJ.js.LEGAL.txt +17 -0
- package/dist/calcite/2RXKSLXC.js +4 -0
- package/dist/calcite/2RXKSLXC.js.LEGAL.txt +3 -0
- package/dist/calcite/2XPOYEEB.js +4 -0
- package/dist/calcite/2XPOYEEB.js.LEGAL.txt +3 -0
- package/dist/calcite/323TOFVM.js +4 -0
- package/dist/calcite/323TOFVM.js.LEGAL.txt +3 -0
- package/dist/calcite/32UR453I.js +4 -0
- package/dist/calcite/334FE43D.js +4 -0
- package/dist/calcite/334FE43D.js.LEGAL.txt +3 -0
- package/dist/calcite/36MC7ZU5.js +4 -0
- package/dist/calcite/36MC7ZU5.js.LEGAL.txt +3 -0
- package/dist/calcite/3JPVZNMN.js +4 -0
- package/dist/calcite/3JPVZNMN.js.LEGAL.txt +3 -0
- package/dist/calcite/475455ES.js +4 -0
- package/dist/calcite/4DHQMIKL.js +4 -0
- package/dist/calcite/4DHQMIKL.js.LEGAL.txt +3 -0
- package/dist/calcite/4INL7WE7.js +4 -0
- package/dist/calcite/4INL7WE7.js.LEGAL.txt +3 -0
- package/dist/calcite/4IUJG32P.js +4 -0
- package/dist/calcite/4IUJG32P.js.LEGAL.txt +7 -0
- package/dist/calcite/4J2J55SX.js +4 -0
- package/dist/calcite/4J2J55SX.js.LEGAL.txt +3 -0
- package/dist/calcite/4LVHG53I.js +4 -0
- package/dist/calcite/4LVHG53I.js.LEGAL.txt +3 -0
- package/dist/calcite/4MCBTQZT.js +4 -0
- package/dist/calcite/4MCBTQZT.js.LEGAL.txt +3 -0
- package/dist/calcite/4XTTMWQH.js +4 -0
- package/dist/calcite/4XTTMWQH.js.LEGAL.txt +3 -0
- package/dist/calcite/4ZM3HP5U.js +4 -0
- package/dist/calcite/4ZM3HP5U.js.LEGAL.txt +3 -0
- package/dist/calcite/53AXK5DM.js +4 -0
- package/dist/calcite/53AXK5DM.js.LEGAL.txt +3 -0
- package/dist/calcite/5A2CKNA7.js +4 -0
- package/dist/calcite/5AQEIZBY.js +4 -0
- package/dist/calcite/5AQEIZBY.js.LEGAL.txt +3 -0
- package/dist/calcite/5JITGPIN.js +4 -0
- package/dist/calcite/5OCPU3DC.js +4 -0
- package/dist/calcite/5OCPU3DC.js.LEGAL.txt +3 -0
- package/dist/calcite/63GHKBH4.js +4 -0
- package/dist/calcite/64PDALZJ.js +4 -0
- package/dist/calcite/67HH7U3E.js +4 -0
- package/dist/calcite/67HH7U3E.js.LEGAL.txt +3 -0
- package/dist/calcite/6F3WW6SY.js +4 -0
- package/dist/calcite/6F3WW6SY.js.LEGAL.txt +3 -0
- package/dist/calcite/6NXQ6UDD.js +4 -0
- package/dist/calcite/6RUWC4EG.js +4 -0
- package/dist/calcite/6S7NUKIC.js +4 -0
- package/dist/calcite/6S7NUKIC.js.LEGAL.txt +3 -0
- package/dist/calcite/6V4RKJGM.js +4 -0
- package/dist/calcite/6V4RKJGM.js.LEGAL.txt +3 -0
- package/dist/calcite/6VGPEB6F.js +4 -0
- package/dist/calcite/6VGPEB6F.js.LEGAL.txt +3 -0
- package/dist/calcite/6YA4QKN6.js +4 -0
- package/dist/calcite/6YA4QKN6.js.LEGAL.txt +3 -0
- package/dist/calcite/7B7LVPMT.js +4 -0
- package/dist/calcite/7ESP6OOL.js +4 -0
- package/dist/calcite/7ESP6OOL.js.LEGAL.txt +3 -0
- package/dist/calcite/7I4KYMJJ.js +4 -0
- package/dist/calcite/7JV3OECY.js +4 -0
- package/dist/calcite/7JV3OECY.js.LEGAL.txt +3 -0
- package/dist/calcite/7NKIUYHY.js +4 -0
- package/dist/calcite/7SQLR3QY.js +4 -0
- package/dist/calcite/7SRHR3J5.js +4 -0
- package/dist/calcite/7U7VRHFY.js +4 -0
- package/dist/calcite/7U7VRHFY.js.LEGAL.txt +3 -0
- package/dist/calcite/AAVYVFIC.js +4 -0
- package/dist/calcite/AHE7JTT3.js +4 -0
- package/dist/calcite/AHE7JTT3.js.LEGAL.txt +3 -0
- package/dist/calcite/B6TSJB4N.js +4 -0
- package/dist/calcite/BEHNPVSG.js +4 -0
- package/dist/calcite/BEHNPVSG.js.LEGAL.txt +3 -0
- package/dist/calcite/BGIKMNPH.js +4 -0
- package/dist/calcite/BGIKMNPH.js.LEGAL.txt +3 -0
- package/dist/calcite/BHFTI4VD.js +4 -0
- package/dist/calcite/C72O5LIN.js +4 -0
- package/dist/calcite/C7OHG3JO.js +4 -0
- package/dist/calcite/C7OHG3JO.js.LEGAL.txt +3 -0
- package/dist/calcite/CS2QJFNS.js +4 -0
- package/dist/calcite/CS2QJFNS.js.LEGAL.txt +3 -0
- package/dist/calcite/CZUK3CJY.js +5 -0
- package/dist/calcite/D3OIN5T7.js +5 -0
- package/dist/calcite/D4HNMGPH.js +4 -0
- package/dist/calcite/D4HNMGPH.js.LEGAL.txt +3 -0
- package/dist/calcite/D6XYEJVM.js +4 -0
- package/dist/calcite/DA6IT5JV.js +4 -0
- package/dist/calcite/DA6IT5JV.js.LEGAL.txt +3 -0
- package/dist/calcite/DDZ4X2UC.js +4 -0
- package/dist/calcite/DDZ4X2UC.js.LEGAL.txt +3 -0
- package/dist/calcite/DEIYP4MP.js +4 -0
- package/dist/calcite/DHW4K6M2.js +4 -0
- package/dist/calcite/DHW4K6M2.js.LEGAL.txt +3 -0
- package/dist/calcite/DIONY3EO.js +4 -0
- package/dist/calcite/DIONY3EO.js.LEGAL.txt +3 -0
- package/dist/calcite/DL5DW3QR.js +4 -0
- package/dist/calcite/DUCM64SO.js +22 -0
- package/dist/calcite/DUCM64SO.js.LEGAL.txt +3 -0
- package/dist/calcite/DUIM6UGI.js +4 -0
- package/dist/calcite/DUIM6UGI.js.LEGAL.txt +3 -0
- package/dist/calcite/DZXI6LPH.js +4 -0
- package/dist/calcite/DZXI6LPH.js.LEGAL.txt +3 -0
- package/dist/calcite/E6BJ2GTF.js +4 -0
- package/dist/calcite/E6BJ2GTF.js.LEGAL.txt +3 -0
- package/dist/calcite/ELDEFOWM.js +4 -0
- package/dist/calcite/EMYP2GDS.js +4 -0
- package/dist/calcite/EMYP2GDS.js.LEGAL.txt +3 -0
- package/dist/calcite/ENHTVBZ3.js +4 -0
- package/dist/calcite/EONWLGV2.js +4 -0
- package/dist/calcite/EONWLGV2.js.LEGAL.txt +3 -0
- package/dist/calcite/EQETSNTO.js +4 -0
- package/dist/calcite/EW4BLOBM.js +4 -0
- package/dist/calcite/EW4BLOBM.js.LEGAL.txt +3 -0
- package/dist/calcite/EYUDLCVG.js +4 -0
- package/dist/calcite/EYUDLCVG.js.LEGAL.txt +3 -0
- package/dist/calcite/EZKXGHR2.js +4 -0
- package/dist/calcite/F52UUUES.js +4 -0
- package/dist/calcite/F52UUUES.js.LEGAL.txt +3 -0
- package/dist/calcite/FC3F5BHG.js +4 -0
- package/dist/calcite/FC3F5BHG.js.LEGAL.txt +3 -0
- package/dist/calcite/FD3PLEG3.js +4 -0
- package/dist/calcite/FD3PLEG3.js.LEGAL.txt +3 -0
- package/dist/calcite/FDGPGEXX.js +4 -0
- package/dist/calcite/FDGPGEXX.js.LEGAL.txt +3 -0
- package/dist/calcite/FIDBKPRY.js +4 -0
- package/dist/calcite/FVA62GLJ.js +4 -0
- package/dist/calcite/FVA62GLJ.js.LEGAL.txt +3 -0
- package/dist/calcite/GHDEJX5N.js +4 -0
- package/dist/calcite/GNKR3MUK.js +4 -0
- package/dist/calcite/GRKJBDZC.js +4 -0
- package/dist/calcite/GRKJBDZC.js.LEGAL.txt +3 -0
- package/dist/calcite/GVOGBLG6.js +4 -0
- package/dist/calcite/GVOGBLG6.js.LEGAL.txt +3 -0
- package/dist/calcite/GWOPYLO7.js +4 -0
- package/dist/calcite/GWOPYLO7.js.LEGAL.txt +3 -0
- package/dist/calcite/H75NTUTC.js +4 -0
- package/dist/calcite/HBHWU3H5.js +4 -0
- package/dist/calcite/HGP4FN3K.js +4 -0
- package/dist/calcite/HHFEDEHA.js +4 -0
- package/dist/calcite/HHFEDEHA.js.LEGAL.txt +3 -0
- package/dist/calcite/HQURUZNW.js +4 -0
- package/dist/calcite/HWIMB7WQ.js +4 -0
- package/dist/calcite/HWIMB7WQ.js.LEGAL.txt +3 -0
- package/dist/calcite/HWUL2TSK.js +4 -0
- package/dist/calcite/HWUL2TSK.js.LEGAL.txt +3 -0
- package/dist/calcite/HY2PGKF4.js +4 -0
- package/dist/calcite/HY2PGKF4.js.LEGAL.txt +3 -0
- package/dist/calcite/IADQWEXC.js +4 -0
- package/dist/calcite/IIGTNS6E.js +4 -0
- package/dist/calcite/IIGTNS6E.js.LEGAL.txt +3 -0
- package/dist/calcite/J3JNKOKR.js +4 -0
- package/dist/calcite/J3JNKOKR.js.LEGAL.txt +3 -0
- package/dist/calcite/J3SBCJHZ.js +4 -0
- package/dist/calcite/J3SBCJHZ.js.LEGAL.txt +3 -0
- package/dist/calcite/J7NUHYT3.js +4 -0
- package/dist/calcite/J7NUHYT3.js.LEGAL.txt +3 -0
- package/dist/calcite/JAU5FX5T.js +4 -0
- package/dist/calcite/JLDUCZNY.js +4 -0
- package/dist/calcite/JLDUCZNY.js.LEGAL.txt +3 -0
- package/dist/calcite/JN42MEKB.js +4 -0
- package/dist/calcite/JN42MEKB.js.LEGAL.txt +3 -0
- package/dist/calcite/JOKMKZBB.js +4 -0
- package/dist/calcite/JQDD6K2U.js +4 -0
- package/dist/calcite/JQDD6K2U.js.LEGAL.txt +3 -0
- package/dist/calcite/JXZ2XPLI.js +4 -0
- package/dist/calcite/JYUOKIN4.js +4 -0
- package/dist/calcite/JYUOKIN4.js.LEGAL.txt +13 -0
- package/dist/calcite/KB3OL666.js +4 -0
- package/dist/calcite/KB3OL666.js.LEGAL.txt +3 -0
- package/dist/calcite/KBMAWT2M.js +4 -0
- package/dist/calcite/KBMAWT2M.js.LEGAL.txt +3 -0
- package/dist/calcite/KGFAWBDU.js +4 -0
- package/dist/calcite/KMNVFH55.js +4 -0
- package/dist/calcite/KMNVFH55.js.LEGAL.txt +3 -0
- package/dist/calcite/KOCBGEZV.js +4 -0
- package/dist/calcite/KOCBGEZV.js.LEGAL.txt +3 -0
- package/dist/calcite/KS4BQTXL.js +4 -0
- package/dist/calcite/KS4BQTXL.js.LEGAL.txt +3 -0
- package/dist/calcite/KZB27CUO.js +4 -0
- package/dist/calcite/KZB27CUO.js.LEGAL.txt +3 -0
- package/dist/calcite/L6IMZZAB.js +4 -0
- package/dist/calcite/L6KXW43D.js +4 -0
- package/dist/calcite/L6KXW43D.js.LEGAL.txt +3 -0
- package/dist/calcite/LAN4HH7O.js +4 -0
- package/dist/calcite/LAN4HH7O.js.LEGAL.txt +3 -0
- package/dist/calcite/LCSIHQ3V.js +4 -0
- package/dist/calcite/LCSIHQ3V.js.LEGAL.txt +3 -0
- package/dist/calcite/LFCMK2LO.js +4 -0
- package/dist/calcite/LFCMK2LO.js.LEGAL.txt +3 -0
- package/dist/calcite/METBU7KA.js +6 -0
- package/dist/calcite/METBU7KA.js.LEGAL.txt +145 -0
- package/dist/calcite/MFN5YBDG.js +4 -0
- package/dist/calcite/MH52L2MD.js +4 -0
- package/dist/calcite/MH52L2MD.js.LEGAL.txt +3 -0
- package/dist/calcite/MME3GXNM.js +4 -0
- package/dist/calcite/MME3GXNM.js.LEGAL.txt +3 -0
- package/dist/calcite/MMZOYWTO.js +4 -0
- package/dist/calcite/MMZOYWTO.js.LEGAL.txt +3 -0
- package/dist/calcite/MT2XNPI4.js +4 -0
- package/dist/calcite/MT2XNPI4.js.LEGAL.txt +3 -0
- package/dist/calcite/MVJPQKKA.js +4 -0
- package/dist/calcite/N2OODGNM.js +4 -0
- package/dist/calcite/N33CKL6T.js +4 -0
- package/dist/calcite/N6BCZPJF.js +4 -0
- package/dist/calcite/N7RJXKZC.js +4 -0
- package/dist/calcite/N7RJXKZC.js.LEGAL.txt +3 -0
- package/dist/calcite/NE6UM2IF.js +4 -0
- package/dist/calcite/NE6UM2IF.js.LEGAL.txt +3 -0
- package/dist/calcite/NEZMAPTK.js +4 -0
- package/dist/calcite/NEZMAPTK.js.LEGAL.txt +3 -0
- package/dist/calcite/NHKZIA4T.js +4 -0
- package/dist/calcite/NHKZIA4T.js.LEGAL.txt +3 -0
- package/dist/calcite/NMRDQ7OF.js +4 -0
- package/dist/calcite/NMWEN372.js +4 -0
- package/dist/calcite/NNWYJLAI.js +4 -0
- package/dist/calcite/NSSKOFQH.js +4 -0
- package/dist/calcite/NSSKOFQH.js.LEGAL.txt +3 -0
- package/dist/calcite/NWP4Y2I7.js +4 -0
- package/dist/calcite/NWP4Y2I7.js.LEGAL.txt +3 -0
- package/dist/calcite/NZ6AZZSS.js +4 -0
- package/dist/calcite/NZ6AZZSS.js.LEGAL.txt +3 -0
- package/dist/calcite/O25RG25S.js +4 -0
- package/dist/calcite/O25RG25S.js.LEGAL.txt +3 -0
- package/dist/calcite/OBKTGH7V.js +4 -0
- package/dist/calcite/OBKTGH7V.js.LEGAL.txt +3 -0
- package/dist/calcite/OGXN2NIG.js +4 -0
- package/dist/calcite/OHEAKQST.js +4 -0
- package/dist/calcite/OHEAKQST.js.LEGAL.txt +3 -0
- package/dist/calcite/OHMYYGER.js +4 -0
- package/dist/calcite/OHMYYGER.js.LEGAL.txt +3 -0
- package/dist/calcite/OJRGM2RH.js +4 -0
- package/dist/calcite/OJRGM2RH.js.LEGAL.txt +3 -0
- package/dist/calcite/OKMS4UTD.js +4 -0
- package/dist/calcite/OKMS4UTD.js.LEGAL.txt +3 -0
- package/dist/calcite/OUYR53ZJ.js +4 -0
- package/dist/calcite/OUYR53ZJ.js.LEGAL.txt +3 -0
- package/dist/calcite/OX6JI6KG.js +4 -0
- package/dist/calcite/OX6JI6KG.js.LEGAL.txt +3 -0
- package/dist/calcite/P6O33ZSK.js +4 -0
- package/dist/calcite/P6O33ZSK.js.LEGAL.txt +3 -0
- package/dist/calcite/PLGUEFDM.js +4 -0
- package/dist/calcite/PLGUEFDM.js.LEGAL.txt +3 -0
- package/dist/calcite/PPEST4DH.js +4 -0
- package/dist/calcite/PPEST4DH.js.LEGAL.txt +3 -0
- package/dist/calcite/PUUZX6XT.js +4 -0
- package/dist/calcite/PUUZX6XT.js.LEGAL.txt +3 -0
- package/dist/calcite/PYUWRNCX.js +4 -0
- package/dist/calcite/PYUWRNCX.js.LEGAL.txt +3 -0
- package/dist/calcite/Q3MYO6TY.js +4 -0
- package/dist/calcite/Q3MYO6TY.js.LEGAL.txt +3 -0
- package/dist/calcite/Q65WDY5Y.js +4 -0
- package/dist/calcite/Q65WDY5Y.js.LEGAL.txt +3 -0
- package/dist/calcite/Q6LY6RV3.js +4 -0
- package/dist/calcite/Q6LY6RV3.js.LEGAL.txt +3 -0
- package/dist/calcite/QBOOXOFY.js +4 -0
- package/dist/calcite/QBOOXOFY.js.LEGAL.txt +3 -0
- package/dist/calcite/QJR2GUD7.js +4 -0
- package/dist/calcite/QJR2GUD7.js.LEGAL.txt +3 -0
- package/dist/calcite/QKGCMG5S.js +4 -0
- package/dist/calcite/QKGCMG5S.js.LEGAL.txt +3 -0
- package/dist/calcite/QQKITGRY.js +4 -0
- package/dist/calcite/QQKITGRY.js.LEGAL.txt +3 -0
- package/dist/calcite/QU6K3ZL2.js +4 -0
- package/dist/calcite/QV5BVUYM.js +4 -0
- package/dist/calcite/QWIXWC6Z.js +4 -0
- package/dist/calcite/QWIXWC6Z.js.LEGAL.txt +3 -0
- package/dist/calcite/QYX2ZL6X.js +5 -0
- package/dist/calcite/QYX2ZL6X.js.LEGAL.txt +3 -0
- package/dist/calcite/QZ4H2XQD.js +4 -0
- package/dist/calcite/R66ZESTD.js +4 -0
- package/dist/calcite/R66ZESTD.js.LEGAL.txt +3 -0
- package/dist/calcite/R7ZX64LQ.js +4 -0
- package/dist/calcite/R7ZX64LQ.js.LEGAL.txt +3 -0
- package/dist/calcite/RMQSDCHV.js +4 -0
- package/dist/calcite/RMQSDCHV.js.LEGAL.txt +3 -0
- package/dist/calcite/RPVEMVK7.js +4 -0
- package/dist/calcite/RPVEMVK7.js.LEGAL.txt +3 -0
- package/dist/calcite/RWIYU4EN.js +4 -0
- package/dist/calcite/RXHNKSYE.js +4 -0
- package/dist/calcite/RXHNKSYE.js.LEGAL.txt +3 -0
- package/dist/calcite/RZAB77P4.js +28 -0
- package/dist/calcite/RZAB77P4.js.LEGAL.txt +3 -0
- package/dist/calcite/SIYQ3QS3.js +4 -0
- package/dist/calcite/SKSGHNWW.js +4 -0
- package/dist/calcite/SKSGHNWW.js.LEGAL.txt +3 -0
- package/dist/calcite/SKZM45XV.js +4 -0
- package/dist/calcite/SMTRHHGQ.js +4 -0
- package/dist/calcite/TH2GPZFC.js +4 -0
- package/dist/calcite/TH2GPZFC.js.LEGAL.txt +3 -0
- package/dist/calcite/TI3QSO7H.js +4 -0
- package/dist/calcite/TI3QSO7H.js.LEGAL.txt +3 -0
- package/dist/calcite/TIAPQUFZ.js +4 -0
- package/dist/calcite/TNRX3XEG.js +4 -0
- package/dist/calcite/TNRX3XEG.js.LEGAL.txt +3 -0
- package/dist/calcite/TSRWFF2G.js +4 -0
- package/dist/calcite/TSRWFF2G.js.LEGAL.txt +3 -0
- package/dist/calcite/TUWCFRNV.js +4 -0
- package/dist/calcite/TUWCFRNV.js.LEGAL.txt +3 -0
- package/dist/calcite/TY4U3NBJ.js +4 -0
- package/dist/calcite/U73Q35JL.js +4 -0
- package/dist/calcite/U73Q35JL.js.LEGAL.txt +3 -0
- package/dist/calcite/UI5VIPAW.js +4 -0
- package/dist/calcite/UI5VIPAW.js.LEGAL.txt +3 -0
- package/dist/calcite/UXILBU2G.js +4 -0
- package/dist/calcite/UXILBU2G.js.LEGAL.txt +3 -0
- package/dist/calcite/V2ODW6K2.js +4 -0
- package/dist/calcite/VDXRRBZL.js +4 -0
- package/dist/calcite/VFF5B6AA.js +4 -0
- package/dist/calcite/VFF5B6AA.js.LEGAL.txt +3 -0
- package/dist/calcite/VTDOUOC7.js +4 -0
- package/dist/calcite/VTDOUOC7.js.LEGAL.txt +3 -0
- package/dist/calcite/W42WY5IV.js +4 -0
- package/dist/calcite/W42WY5IV.js.LEGAL.txt +3 -0
- package/dist/calcite/W6D4EKR5.js +4 -0
- package/dist/calcite/WABWJDXS.js +4 -0
- package/dist/calcite/WABWJDXS.js.LEGAL.txt +3 -0
- package/dist/calcite/WACP4ODR.js +4 -0
- package/dist/calcite/WACP4ODR.js.LEGAL.txt +3 -0
- package/dist/calcite/WM7LJWSE.js +4 -0
- package/dist/calcite/WO3LPDXJ.js +4 -0
- package/dist/calcite/WPZ4K2NG.js +4 -0
- package/dist/calcite/WPZ4K2NG.js.LEGAL.txt +3 -0
- package/dist/calcite/WQNMJ2OO.js +4 -0
- package/dist/calcite/WTRJFAWO.js +4 -0
- package/dist/calcite/WTRJFAWO.js.LEGAL.txt +3 -0
- package/dist/calcite/WXCQ6325.js +4 -0
- package/dist/calcite/WXCQ6325.js.LEGAL.txt +3 -0
- package/dist/calcite/WYWPNJD7.js +4 -0
- package/dist/calcite/WYWPNJD7.js.LEGAL.txt +3 -0
- package/dist/calcite/X2U725DA.js +4 -0
- package/dist/calcite/X2U725DA.js.LEGAL.txt +3 -0
- package/dist/calcite/XEGKLO6G.js +4 -0
- package/dist/calcite/XEGKLO6G.js.LEGAL.txt +3 -0
- package/dist/calcite/XIQKOQBB.js +4 -0
- package/dist/calcite/XIQKOQBB.js.LEGAL.txt +3 -0
- package/dist/calcite/XODYG2HN.js +4 -0
- package/dist/calcite/XODYG2HN.js.LEGAL.txt +3 -0
- package/dist/calcite/XYWT4AOM.js +4 -0
- package/dist/calcite/XYWT4AOM.js.LEGAL.txt +3 -0
- package/dist/calcite/Y4QJC5BK.js +4 -0
- package/dist/calcite/Y4QJC5BK.js.LEGAL.txt +3 -0
- package/dist/calcite/Y6SE3RPS.js +4 -0
- package/dist/calcite/Y6SE3RPS.js.LEGAL.txt +3 -0
- package/dist/calcite/YAP42YJO.js +4 -0
- package/dist/calcite/YAP42YJO.js.LEGAL.txt +3 -0
- package/dist/calcite/YUD6RNTG.js +4 -0
- package/dist/calcite/YUD6RNTG.js.LEGAL.txt +3 -0
- package/dist/calcite/YYUMSVRP.js +4 -0
- package/dist/calcite/YYUMSVRP.js.LEGAL.txt +3 -0
- package/dist/calcite/YZGP7SHF.js +4 -0
- package/dist/calcite/Z3BSQMME.js +4 -0
- package/dist/calcite/ZBOF63PN.js +4 -0
- package/dist/calcite/ZBOF63PN.js.LEGAL.txt +3 -0
- package/dist/calcite/ZIAJHQWN.js +4 -0
- package/dist/calcite/ZNNO6UZF.js +4 -0
- package/dist/calcite/ZNNO6UZF.js.LEGAL.txt +3 -0
- package/dist/calcite/ZQH3KM47.js +4 -0
- package/dist/calcite/ZQH3KM47.js.LEGAL.txt +3 -0
- package/dist/calcite/ZW7QX3UF.js +4 -0
- package/dist/calcite/calcite.css +1 -1
- package/dist/calcite/calcite.esm.js +2 -2
- package/dist/calcite/calcite.esm.js.LEGAL.txt +1 -1
- package/dist/chunks/ExpandToggle.js +1 -1
- package/dist/chunks/FloatingArrow.js +1 -1
- package/dist/chunks/Heading.js +1 -1
- package/dist/chunks/Validation.js +1 -1
- package/dist/chunks/array.js +1 -1
- package/dist/chunks/component.js +1 -1
- package/dist/chunks/core.js +1 -1
- package/dist/chunks/date.js +1 -1
- package/dist/chunks/dom.js +1 -1
- package/dist/chunks/dynamicClasses.js +1 -1
- package/dist/chunks/filter.js +1 -1
- package/dist/chunks/floating-ui.js +1 -1
- package/dist/chunks/form.js +1 -1
- package/dist/chunks/global.js +1 -1
- package/dist/chunks/guid.js +1 -1
- package/dist/chunks/input.js +1 -1
- package/dist/chunks/interact.min.js +1 -1
- package/dist/chunks/interactive.js +1 -1
- package/dist/chunks/key.js +1 -1
- package/dist/chunks/label.js +1 -1
- package/dist/chunks/locale.js +1 -1
- package/dist/chunks/logger.js +1 -1
- package/dist/chunks/math.js +1 -1
- package/dist/chunks/observers.js +1 -1
- package/dist/chunks/openCloseComponent.js +1 -1
- package/dist/chunks/resources.js +1 -1
- package/dist/chunks/resources2.js +1 -1
- package/dist/chunks/resources3.js +1 -1
- package/dist/chunks/resources4.js +1 -1
- package/dist/chunks/resources5.js +1 -1
- package/dist/chunks/resources6.js +1 -1
- package/dist/chunks/resources7.js +1 -1
- package/dist/chunks/responsive.js +1 -1
- package/dist/chunks/runtime.js +6 -6
- package/dist/chunks/sortableComponent.js +1 -1
- package/dist/chunks/text.js +1 -1
- package/dist/chunks/time.js +1 -1
- package/dist/chunks/useFocusTrap.js +1 -1
- package/dist/chunks/useT9n.js +1 -1
- package/dist/chunks/utils.js +1 -1
- package/dist/chunks/utils2.js +1 -1
- package/dist/chunks/utils3.js +1 -1
- package/dist/chunks/utils4.js +1 -1
- package/dist/components/calcite-accordion/customElement.js +1 -1
- package/dist/components/calcite-accordion-item/customElement.js +1 -1
- package/dist/components/calcite-action/customElement.js +1 -1
- package/dist/components/calcite-action-bar/customElement.js +1 -1
- package/dist/components/calcite-action-group/customElement.js +1 -1
- package/dist/components/calcite-action-menu/customElement.js +1 -1
- package/dist/components/calcite-action-pad/customElement.js +1 -1
- package/dist/components/calcite-alert/customElement.js +1 -1
- package/dist/components/calcite-autocomplete/customElement.js +1 -1
- package/dist/components/calcite-autocomplete-item/customElement.js +1 -1
- package/dist/components/calcite-autocomplete-item-group/customElement.js +1 -1
- package/dist/components/calcite-avatar/customElement.js +1 -1
- package/dist/components/calcite-block/customElement.js +20 -20
- package/dist/components/calcite-block-group/customElement.js +1 -1
- package/dist/components/calcite-block-section/customElement.js +1 -1
- package/dist/components/calcite-button/customElement.js +1 -1
- package/dist/components/calcite-card/customElement.js +1 -1
- package/dist/components/calcite-card-group/customElement.js +1 -1
- package/dist/components/calcite-carousel/customElement.js +1 -1
- package/dist/components/calcite-carousel-item/customElement.js +1 -1
- package/dist/components/calcite-checkbox/customElement.js +1 -1
- package/dist/components/calcite-chip/customElement.js +1 -1
- package/dist/components/calcite-chip-group/customElement.js +1 -1
- package/dist/components/calcite-color-picker/customElement.js +1 -1
- package/dist/components/calcite-color-picker-hex-input/customElement.js +1 -1
- package/dist/components/calcite-color-picker-swatch/customElement.js +1 -1
- package/dist/components/calcite-combobox/customElement.js +1 -1
- package/dist/components/calcite-combobox-item/customElement.js +1 -1
- package/dist/components/calcite-combobox-item-group/customElement.js +1 -1
- package/dist/components/calcite-date-picker/customElement.js +1 -1
- package/dist/components/calcite-date-picker-day/customElement.js +1 -1
- package/dist/components/calcite-date-picker-month/customElement.js +1 -1
- package/dist/components/calcite-date-picker-month-header/customElement.js +1 -1
- package/dist/components/calcite-dialog/customElement.js +1 -1
- package/dist/components/calcite-dropdown/customElement.js +1 -1
- package/dist/components/calcite-dropdown-group/customElement.js +1 -1
- package/dist/components/calcite-dropdown-item/customElement.js +10 -10
- package/dist/components/calcite-fab/customElement.js +1 -1
- package/dist/components/calcite-filter/customElement.js +1 -1
- package/dist/components/calcite-flow/customElement.js +1 -1
- package/dist/components/calcite-flow-item/customElement.js +1 -1
- package/dist/components/calcite-graph/customElement.js +1 -1
- package/dist/components/calcite-handle/customElement.js +1 -1
- package/dist/components/calcite-icon/customElement.js +1 -1
- package/dist/components/calcite-inline-editable/customElement.js +1 -1
- package/dist/components/calcite-input/customElement.js +1 -1
- package/dist/components/calcite-input-date-picker/customElement.js +1 -1
- package/dist/components/calcite-input-message/customElement.js +1 -1
- package/dist/components/calcite-input-number/customElement.js +1 -1
- package/dist/components/calcite-input-text/customElement.js +1 -1
- package/dist/components/calcite-input-time-picker/customElement.js +1 -1
- package/dist/components/calcite-input-time-zone/customElement.js +1 -1
- package/dist/components/calcite-label/customElement.js +1 -1
- package/dist/components/calcite-link/customElement.js +1 -1
- package/dist/components/calcite-list/customElement.js +1 -1
- package/dist/components/calcite-list-item/customElement.js +1 -1
- package/dist/components/calcite-list-item-group/customElement.js +1 -1
- package/dist/components/calcite-loader/customElement.js +1 -1
- package/dist/components/calcite-menu/customElement.js +1 -1
- package/dist/components/calcite-menu-item/customElement.js +1 -1
- package/dist/components/calcite-meter/customElement.js +1 -1
- package/dist/components/calcite-modal/customElement.js +1 -1
- package/dist/components/calcite-navigation/customElement.js +1 -1
- package/dist/components/calcite-navigation-logo/customElement.js +1 -1
- package/dist/components/calcite-navigation-user/customElement.js +1 -1
- package/dist/components/calcite-notice/customElement.js +1 -1
- package/dist/components/calcite-option/customElement.js +1 -1
- package/dist/components/calcite-option-group/customElement.js +1 -1
- package/dist/components/calcite-pagination/customElement.js +1 -1
- package/dist/components/calcite-panel/customElement.js +1 -1
- package/dist/components/calcite-popover/customElement.js +1 -1
- package/dist/components/calcite-progress/customElement.js +1 -1
- package/dist/components/calcite-radio-button/customElement.js +1 -1
- package/dist/components/calcite-radio-button-group/customElement.js +1 -1
- package/dist/components/calcite-rating/customElement.js +1 -1
- package/dist/components/calcite-scrim/customElement.js +1 -1
- package/dist/components/calcite-segmented-control/customElement.js +1 -1
- package/dist/components/calcite-segmented-control-item/customElement.js +1 -1
- package/dist/components/calcite-select/customElement.js +1 -1
- package/dist/components/calcite-sheet/customElement.js +1 -1
- package/dist/components/calcite-shell/customElement.js +1 -1
- package/dist/components/calcite-shell-center-row/customElement.js +1 -1
- package/dist/components/calcite-shell-panel/customElement.js +1 -1
- package/dist/components/calcite-slider/customElement.js +1 -1
- package/dist/components/calcite-sort-handle/customElement.js +1 -1
- package/dist/components/calcite-sortable-list/customElement.js +1 -1
- package/dist/components/calcite-split-button/customElement.js +1 -1
- package/dist/components/calcite-stack/customElement.js +1 -1
- package/dist/components/calcite-stepper/customElement.js +1 -1
- package/dist/components/calcite-stepper-item/customElement.js +1 -1
- package/dist/components/calcite-switch/customElement.js +1 -1
- package/dist/components/calcite-tab/customElement.js +1 -1
- package/dist/components/calcite-tab/interfaces.d.ts +1 -0
- package/dist/components/calcite-tab-nav/customElement.js +7 -10
- package/dist/components/calcite-tab-title/customElement.js +2 -2
- package/dist/components/calcite-table/customElement.js +1 -1
- package/dist/components/calcite-table-cell/customElement.js +1 -1
- package/dist/components/calcite-table-header/customElement.js +1 -1
- package/dist/components/calcite-table-row/customElement.js +1 -1
- package/dist/components/calcite-tabs/customElement.js +1 -1
- package/dist/components/calcite-text-area/customElement.js +1 -1
- package/dist/components/calcite-tile/customElement.js +1 -1
- package/dist/components/calcite-tile-group/customElement.js +1 -1
- package/dist/components/calcite-tile-select/customElement.js +1 -1
- package/dist/components/calcite-tile-select-group/customElement.js +1 -1
- package/dist/components/calcite-time-picker/customElement.js +1 -1
- package/dist/components/calcite-tip/customElement.js +1 -1
- package/dist/components/calcite-tip-group/customElement.js +1 -1
- package/dist/components/calcite-tip-manager/customElement.js +1 -1
- package/dist/components/calcite-tooltip/customElement.js +1 -1
- package/dist/components/calcite-tree/customElement.js +1 -1
- package/dist/components/calcite-tree-item/customElement.js +1 -1
- package/dist/docs/api.json +6 -2
- package/dist/docs/docs.json +7 -2
- package/dist/docs/supported-browsers.json +1 -1
- package/dist/docs/vscode.css-custom-data.json +5 -1
- package/dist/docs/vscode.html-custom-data.json +2 -2
- package/dist/docs/web-types.json +8 -4
- package/dist/extras/vscode-data.json +2 -2
- package/dist/index.js +1 -1
- package/dist/loader.js +1 -1
- package/package.json +5 -5
- package/dist/calcite/25B36DUR.js +0 -4
- package/dist/calcite/25B36DUR.js.LEGAL.txt +0 -3
- package/dist/calcite/2K472ALM.js +0 -4
- package/dist/calcite/2K472ALM.js.LEGAL.txt +0 -3
- package/dist/calcite/2Q3GAA7Y.js +0 -4
- package/dist/calcite/2Q3GAA7Y.js.LEGAL.txt +0 -3
- package/dist/calcite/2T5CLPIC.js +0 -4
- package/dist/calcite/2T5CLPIC.js.LEGAL.txt +0 -3
- package/dist/calcite/3737KCZI.js +0 -4
- package/dist/calcite/3RIZLWGF.js +0 -4
- package/dist/calcite/3RIZLWGF.js.LEGAL.txt +0 -3
- package/dist/calcite/4MY4SOKO.js +0 -4
- package/dist/calcite/4O2WPJV4.js +0 -4
- package/dist/calcite/4O2WPJV4.js.LEGAL.txt +0 -3
- package/dist/calcite/4ODFGVV3.js +0 -4
- package/dist/calcite/4ODFGVV3.js.LEGAL.txt +0 -3
- package/dist/calcite/4SKX3C7S.js +0 -4
- package/dist/calcite/4WAVXCW5.js +0 -4
- package/dist/calcite/4WAVXCW5.js.LEGAL.txt +0 -3
- package/dist/calcite/4XIGZ5XA.js +0 -4
- package/dist/calcite/4XIGZ5XA.js.LEGAL.txt +0 -3
- package/dist/calcite/5AMAQ7UL.js +0 -4
- package/dist/calcite/5AMAQ7UL.js.LEGAL.txt +0 -3
- package/dist/calcite/5LCXGLXO.js +0 -4
- package/dist/calcite/5QODUDYP.js +0 -4
- package/dist/calcite/5QWH7TX3.js +0 -4
- package/dist/calcite/5QWH7TX3.js.LEGAL.txt +0 -3
- package/dist/calcite/5XGO5GGF.js +0 -4
- package/dist/calcite/5YRUTAL2.js +0 -4
- package/dist/calcite/5YRUTAL2.js.LEGAL.txt +0 -3
- package/dist/calcite/6D5SLQV2.js +0 -4
- package/dist/calcite/6IKIBGKO.js +0 -4
- package/dist/calcite/6IKIBGKO.js.LEGAL.txt +0 -3
- package/dist/calcite/6RLWADNM.js +0 -4
- package/dist/calcite/6RLWADNM.js.LEGAL.txt +0 -3
- package/dist/calcite/6SDZM4RQ.js +0 -4
- package/dist/calcite/6SDZM4RQ.js.LEGAL.txt +0 -3
- package/dist/calcite/6ZU43OEB.js +0 -4
- package/dist/calcite/6ZU43OEB.js.LEGAL.txt +0 -3
- package/dist/calcite/76LHZFBO.js +0 -4
- package/dist/calcite/7AJSMMGB.js +0 -4
- package/dist/calcite/7AJSMMGB.js.LEGAL.txt +0 -3
- package/dist/calcite/7EF4KWS5.js +0 -4
- package/dist/calcite/7I5CXVXK.js +0 -4
- package/dist/calcite/7I5CXVXK.js.LEGAL.txt +0 -3
- package/dist/calcite/7IQX5GB3.js +0 -4
- package/dist/calcite/7IQX5GB3.js.LEGAL.txt +0 -3
- package/dist/calcite/7R3KSX4I.js +0 -4
- package/dist/calcite/A2PVMIAU.js +0 -4
- package/dist/calcite/A2PVMIAU.js.LEGAL.txt +0 -3
- package/dist/calcite/AC3EK3A4.js +0 -4
- package/dist/calcite/AC3EK3A4.js.LEGAL.txt +0 -3
- package/dist/calcite/AC4KY3FW.js +0 -4
- package/dist/calcite/ACQSAM54.js +0 -4
- package/dist/calcite/ACQSAM54.js.LEGAL.txt +0 -3
- package/dist/calcite/ACZV7GST.js +0 -4
- package/dist/calcite/ACZV7GST.js.LEGAL.txt +0 -3
- package/dist/calcite/AHVFL4MT.js +0 -5
- package/dist/calcite/ARYMIQHZ.js +0 -4
- package/dist/calcite/ASUYUXPL.js +0 -4
- package/dist/calcite/ASUYUXPL.js.LEGAL.txt +0 -3
- package/dist/calcite/AXU6PN2G.js +0 -4
- package/dist/calcite/AXZE2YSW.js +0 -4
- package/dist/calcite/AXZE2YSW.js.LEGAL.txt +0 -3
- package/dist/calcite/B3GOH65X.js +0 -4
- package/dist/calcite/B4YXA3WW.js +0 -4
- package/dist/calcite/B4YXA3WW.js.LEGAL.txt +0 -3
- package/dist/calcite/B5CECWV5.js +0 -4
- package/dist/calcite/B5CECWV5.js.LEGAL.txt +0 -3
- package/dist/calcite/B63ZWYKF.js +0 -4
- package/dist/calcite/B6BMOBAU.js +0 -4
- package/dist/calcite/B6BMOBAU.js.LEGAL.txt +0 -3
- package/dist/calcite/BEKRENQ2.js +0 -4
- package/dist/calcite/BEKRENQ2.js.LEGAL.txt +0 -3
- package/dist/calcite/BEZ5KBVP.js +0 -4
- package/dist/calcite/BEZ5KBVP.js.LEGAL.txt +0 -3
- package/dist/calcite/BFMMRJ7N.js +0 -4
- package/dist/calcite/C4IM6ZFR.js +0 -4
- package/dist/calcite/C4IM6ZFR.js.LEGAL.txt +0 -13
- package/dist/calcite/C75MHAT7.js +0 -4
- package/dist/calcite/C75MHAT7.js.LEGAL.txt +0 -3
- package/dist/calcite/CEI626MO.js +0 -4
- package/dist/calcite/CGU6HN4V.js +0 -4
- package/dist/calcite/CGU6HN4V.js.LEGAL.txt +0 -3
- package/dist/calcite/CR6SQD4U.js +0 -4
- package/dist/calcite/CR6SQD4U.js.LEGAL.txt +0 -3
- package/dist/calcite/CSRE2EV7.js +0 -4
- package/dist/calcite/CSRE2EV7.js.LEGAL.txt +0 -3
- package/dist/calcite/CVFVLAIN.js +0 -4
- package/dist/calcite/CVFVLAIN.js.LEGAL.txt +0 -3
- package/dist/calcite/CVOJTDQV.js +0 -6
- package/dist/calcite/CVOJTDQV.js.LEGAL.txt +0 -145
- package/dist/calcite/D6SW3PT3.js +0 -4
- package/dist/calcite/D6SW3PT3.js.LEGAL.txt +0 -3
- package/dist/calcite/D77OBA47.js +0 -4
- package/dist/calcite/DNJZX2DO.js +0 -4
- package/dist/calcite/DNJZX2DO.js.LEGAL.txt +0 -3
- package/dist/calcite/DSVX7ERM.js +0 -4
- package/dist/calcite/DSVX7ERM.js.LEGAL.txt +0 -3
- package/dist/calcite/DUABW4AD.js +0 -5
- package/dist/calcite/DUABW4AD.js.LEGAL.txt +0 -3
- package/dist/calcite/DYG2GIRX.js +0 -4
- package/dist/calcite/ECBK7YW2.js +0 -4
- package/dist/calcite/ED2FHWFD.js +0 -4
- package/dist/calcite/ED2FHWFD.js.LEGAL.txt +0 -3
- package/dist/calcite/EF23ERZE.js +0 -4
- package/dist/calcite/EF23ERZE.js.LEGAL.txt +0 -3
- package/dist/calcite/EG2KFYQV.js +0 -4
- package/dist/calcite/EG2KFYQV.js.LEGAL.txt +0 -3
- package/dist/calcite/EL2MSQG4.js +0 -4
- package/dist/calcite/EL2MSQG4.js.LEGAL.txt +0 -3
- package/dist/calcite/ELZ6TXFQ.js +0 -4
- package/dist/calcite/ELZ6TXFQ.js.LEGAL.txt +0 -3
- package/dist/calcite/EXW2QP5X.js +0 -4
- package/dist/calcite/EZPHWLUO.js +0 -4
- package/dist/calcite/EZPHWLUO.js.LEGAL.txt +0 -3
- package/dist/calcite/F4OEA3NQ.js +0 -4
- package/dist/calcite/F6WZSWHT.js +0 -4
- package/dist/calcite/F6WZSWHT.js.LEGAL.txt +0 -3
- package/dist/calcite/FJFTUZED.js +0 -4
- package/dist/calcite/FJFTUZED.js.LEGAL.txt +0 -3
- package/dist/calcite/FTN3HQEY.js +0 -4
- package/dist/calcite/FXPHB743.js +0 -4
- package/dist/calcite/G4JUK4LA.js +0 -4
- package/dist/calcite/G7BCEEHI.js +0 -4
- package/dist/calcite/G7BCEEHI.js.LEGAL.txt +0 -3
- package/dist/calcite/GBO53SG7.js +0 -4
- package/dist/calcite/GBO53SG7.js.LEGAL.txt +0 -3
- package/dist/calcite/GCUJOJSS.js +0 -4
- package/dist/calcite/GCUJOJSS.js.LEGAL.txt +0 -3
- package/dist/calcite/GEWNUEES.js +0 -4
- package/dist/calcite/GEWNUEES.js.LEGAL.txt +0 -3
- package/dist/calcite/GFFIUI63.js +0 -4
- package/dist/calcite/GFFIUI63.js.LEGAL.txt +0 -3
- package/dist/calcite/GGWZLDL4.js +0 -4
- package/dist/calcite/GGWZLDL4.js.LEGAL.txt +0 -3
- package/dist/calcite/GLKT4JWE.js +0 -4
- package/dist/calcite/GNXSDZU5.js +0 -4
- package/dist/calcite/GNXSDZU5.js.LEGAL.txt +0 -3
- package/dist/calcite/GP3OJSI4.js +0 -4
- package/dist/calcite/GP3OJSI4.js.LEGAL.txt +0 -3
- package/dist/calcite/GQOEZE7Y.js +0 -4
- package/dist/calcite/GQOEZE7Y.js.LEGAL.txt +0 -3
- package/dist/calcite/GZDPJ7HY.js +0 -4
- package/dist/calcite/GZDPJ7HY.js.LEGAL.txt +0 -3
- package/dist/calcite/GZF76UGH.js +0 -4
- package/dist/calcite/H2XD6LFC.js +0 -4
- package/dist/calcite/HCZDNQZO.js +0 -4
- package/dist/calcite/HGSBQVX6.js +0 -4
- package/dist/calcite/HJESQKUD.js +0 -4
- package/dist/calcite/HJI5C2I3.js +0 -4
- package/dist/calcite/HONSW7QI.js +0 -4
- package/dist/calcite/HONSW7QI.js.LEGAL.txt +0 -3
- package/dist/calcite/HRCDWOFD.js +0 -4
- package/dist/calcite/I2FWZOFT.js +0 -4
- package/dist/calcite/ICYA4C2Z.js +0 -4
- package/dist/calcite/IDT53ZAV.js +0 -4
- package/dist/calcite/IDT53ZAV.js.LEGAL.txt +0 -3
- package/dist/calcite/IF2T4UDU.js +0 -4
- package/dist/calcite/IF2T4UDU.js.LEGAL.txt +0 -3
- package/dist/calcite/INOEUKVN.js +0 -4
- package/dist/calcite/INOEUKVN.js.LEGAL.txt +0 -7
- package/dist/calcite/IRNIDDHV.js +0 -4
- package/dist/calcite/IRNIDDHV.js.LEGAL.txt +0 -3
- package/dist/calcite/IXIZSNYO.js +0 -4
- package/dist/calcite/IXIZSNYO.js.LEGAL.txt +0 -3
- package/dist/calcite/J57A6WT7.js +0 -4
- package/dist/calcite/J57A6WT7.js.LEGAL.txt +0 -3
- package/dist/calcite/JAET6MZB.js +0 -4
- package/dist/calcite/JAET6MZB.js.LEGAL.txt +0 -3
- package/dist/calcite/JAHT4CGU.js +0 -4
- package/dist/calcite/JASZOMWA.js +0 -4
- package/dist/calcite/JASZOMWA.js.LEGAL.txt +0 -3
- package/dist/calcite/JBHV4APV.js +0 -4
- package/dist/calcite/JOB2JIVS.js +0 -4
- package/dist/calcite/JOB2JIVS.js.LEGAL.txt +0 -3
- package/dist/calcite/JXC27DK3.js +0 -5
- package/dist/calcite/JXC27DK3.js.LEGAL.txt +0 -17
- package/dist/calcite/K5XGZKUV.js +0 -4
- package/dist/calcite/K5XGZKUV.js.LEGAL.txt +0 -3
- package/dist/calcite/KC4IHHLD.js +0 -4
- package/dist/calcite/KC4IHHLD.js.LEGAL.txt +0 -3
- package/dist/calcite/KUYOCA47.js +0 -4
- package/dist/calcite/KUYOCA47.js.LEGAL.txt +0 -3
- package/dist/calcite/KWWY5VFF.js +0 -4
- package/dist/calcite/KXYZ26OR.js +0 -4
- package/dist/calcite/KZQVUXZ3.js +0 -4
- package/dist/calcite/KZQVUXZ3.js.LEGAL.txt +0 -3
- package/dist/calcite/L7D5TDBK.js +0 -4
- package/dist/calcite/L7D5TDBK.js.LEGAL.txt +0 -3
- package/dist/calcite/LHKSSJ4E.js +0 -4
- package/dist/calcite/LHKSSJ4E.js.LEGAL.txt +0 -3
- package/dist/calcite/LHOKP64N.js +0 -4
- package/dist/calcite/LXLSH5ZY.js +0 -4
- package/dist/calcite/LXLSH5ZY.js.LEGAL.txt +0 -3
- package/dist/calcite/LYQKY3OI.js +0 -4
- package/dist/calcite/M7P2SX36.js +0 -4
- package/dist/calcite/M7P2SX36.js.LEGAL.txt +0 -3
- package/dist/calcite/MC44NNFI.js +0 -4
- package/dist/calcite/MC44NNFI.js.LEGAL.txt +0 -3
- package/dist/calcite/MS7IMHPW.js +0 -4
- package/dist/calcite/MS7IMHPW.js.LEGAL.txt +0 -3
- package/dist/calcite/MSFKDDGM.js +0 -4
- package/dist/calcite/MSFKDDGM.js.LEGAL.txt +0 -3
- package/dist/calcite/N3WI6ASZ.js +0 -4
- package/dist/calcite/N3WI6ASZ.js.LEGAL.txt +0 -3
- package/dist/calcite/NELXDIPK.js +0 -4
- package/dist/calcite/NELXDIPK.js.LEGAL.txt +0 -3
- package/dist/calcite/NGW6DTVZ.js +0 -4
- package/dist/calcite/NHEGKIUG.js +0 -4
- package/dist/calcite/NHEGKIUG.js.LEGAL.txt +0 -3
- package/dist/calcite/NHKGGZXS.js +0 -4
- package/dist/calcite/NHKGGZXS.js.LEGAL.txt +0 -3
- package/dist/calcite/NWZ5HI5D.js +0 -4
- package/dist/calcite/OA2TFV7I.js +0 -4
- package/dist/calcite/OA2TFV7I.js.LEGAL.txt +0 -3
- package/dist/calcite/OAAGCS5D.js +0 -4
- package/dist/calcite/OEH24ZCN.js +0 -4
- package/dist/calcite/OEH24ZCN.js.LEGAL.txt +0 -3
- package/dist/calcite/OKMJNU5C.js +0 -4
- package/dist/calcite/OLEMHBOK.js +0 -4
- package/dist/calcite/OLEMHBOK.js.LEGAL.txt +0 -3
- package/dist/calcite/OLTXOIGY.js +0 -4
- package/dist/calcite/OLTXOIGY.js.LEGAL.txt +0 -3
- package/dist/calcite/OYWYHLD5.js +0 -4
- package/dist/calcite/OYWYHLD5.js.LEGAL.txt +0 -3
- package/dist/calcite/OZ4EREII.js +0 -4
- package/dist/calcite/P7AN2BHB.js +0 -4
- package/dist/calcite/P7AN2BHB.js.LEGAL.txt +0 -3
- package/dist/calcite/PFZ7MZ2Q.js +0 -4
- package/dist/calcite/PFZ7MZ2Q.js.LEGAL.txt +0 -3
- package/dist/calcite/PHVFWQUH.js +0 -4
- package/dist/calcite/PHVFWQUH.js.LEGAL.txt +0 -3
- package/dist/calcite/PKO4ULUU.js +0 -4
- package/dist/calcite/PZUDP6HH.js +0 -4
- package/dist/calcite/Q3PEXRS3.js +0 -4
- package/dist/calcite/Q3PEXRS3.js.LEGAL.txt +0 -3
- package/dist/calcite/Q4AENYCE.js +0 -5
- package/dist/calcite/Q746FJBZ.js +0 -4
- package/dist/calcite/Q746FJBZ.js.LEGAL.txt +0 -3
- package/dist/calcite/QDTFQEJL.js +0 -4
- package/dist/calcite/QTVZYCT4.js +0 -4
- package/dist/calcite/QTVZYCT4.js.LEGAL.txt +0 -3
- package/dist/calcite/R47SNCOR.js +0 -4
- package/dist/calcite/R47SNCOR.js.LEGAL.txt +0 -3
- package/dist/calcite/R4DQ4KS7.js +0 -4
- package/dist/calcite/R5MU6SUC.js +0 -4
- package/dist/calcite/R5MU6SUC.js.LEGAL.txt +0 -3
- package/dist/calcite/RCLFZ2RF.js +0 -4
- package/dist/calcite/RCLFZ2RF.js.LEGAL.txt +0 -3
- package/dist/calcite/RJYCLLEU.js +0 -4
- package/dist/calcite/RJYCLLEU.js.LEGAL.txt +0 -3
- package/dist/calcite/RLCLGWKH.js +0 -4
- package/dist/calcite/RMANYV5X.js +0 -4
- package/dist/calcite/RRZOKIVX.js +0 -4
- package/dist/calcite/RRZOKIVX.js.LEGAL.txt +0 -3
- package/dist/calcite/RXRCG342.js +0 -4
- package/dist/calcite/RXRCG342.js.LEGAL.txt +0 -3
- package/dist/calcite/S5EGWFHM.js +0 -4
- package/dist/calcite/S5EGWFHM.js.LEGAL.txt +0 -3
- package/dist/calcite/S5SYISFY.js +0 -4
- package/dist/calcite/SCJCNOGJ.js +0 -28
- package/dist/calcite/SCJCNOGJ.js.LEGAL.txt +0 -3
- package/dist/calcite/SJNOWEBQ.js +0 -4
- package/dist/calcite/SL4OUIWL.js +0 -4
- package/dist/calcite/SL4OUIWL.js.LEGAL.txt +0 -3
- package/dist/calcite/SNJ3ESA3.js +0 -4
- package/dist/calcite/SNJ3ESA3.js.LEGAL.txt +0 -3
- package/dist/calcite/T5CBKFTQ.js +0 -4
- package/dist/calcite/T5CBKFTQ.js.LEGAL.txt +0 -3
- package/dist/calcite/T5MYOS6L.js +0 -4
- package/dist/calcite/T5MYOS6L.js.LEGAL.txt +0 -3
- package/dist/calcite/T7AROHSD.js +0 -4
- package/dist/calcite/T7AROHSD.js.LEGAL.txt +0 -3
- package/dist/calcite/TC5S2H7J.js +0 -4
- package/dist/calcite/TC5S2H7J.js.LEGAL.txt +0 -3
- package/dist/calcite/TCGVLMTL.js +0 -4
- package/dist/calcite/TCGVLMTL.js.LEGAL.txt +0 -3
- package/dist/calcite/TIFS7GPJ.js +0 -4
- package/dist/calcite/TIFS7GPJ.js.LEGAL.txt +0 -3
- package/dist/calcite/TLABGYZV.js +0 -4
- package/dist/calcite/TLABGYZV.js.LEGAL.txt +0 -3
- package/dist/calcite/TQBHLIEQ.js +0 -4
- package/dist/calcite/TQBHLIEQ.js.LEGAL.txt +0 -3
- package/dist/calcite/TRY3AP2J.js +0 -4
- package/dist/calcite/TRY3AP2J.js.LEGAL.txt +0 -3
- package/dist/calcite/TURPI27E.js +0 -4
- package/dist/calcite/TURPI27E.js.LEGAL.txt +0 -3
- package/dist/calcite/TWALHZEK.js +0 -4
- package/dist/calcite/TWALHZEK.js.LEGAL.txt +0 -3
- package/dist/calcite/U3RYUHE2.js +0 -4
- package/dist/calcite/U3RYUHE2.js.LEGAL.txt +0 -3
- package/dist/calcite/U566SMR4.js +0 -4
- package/dist/calcite/U566SMR4.js.LEGAL.txt +0 -3
- package/dist/calcite/UAFKGGNM.js +0 -4
- package/dist/calcite/UBUB52GB.js +0 -4
- package/dist/calcite/UMCOPJYV.js +0 -4
- package/dist/calcite/UMCOPJYV.js.LEGAL.txt +0 -3
- package/dist/calcite/V4LSTLY2.js +0 -4
- package/dist/calcite/V4LSTLY2.js.LEGAL.txt +0 -3
- package/dist/calcite/VD6Y37CN.js +0 -4
- package/dist/calcite/VD6Y37CN.js.LEGAL.txt +0 -3
- package/dist/calcite/VGBYSIPS.js +0 -4
- package/dist/calcite/VGBYSIPS.js.LEGAL.txt +0 -3
- package/dist/calcite/VLS2LKYV.js +0 -4
- package/dist/calcite/VLS2LKYV.js.LEGAL.txt +0 -3
- package/dist/calcite/VNA3LUOI.js +0 -4
- package/dist/calcite/VS3S2HAG.js +0 -4
- package/dist/calcite/VS3S2HAG.js.LEGAL.txt +0 -3
- package/dist/calcite/VZRLUIMN.js +0 -4
- package/dist/calcite/VZRLUIMN.js.LEGAL.txt +0 -3
- package/dist/calcite/WA67BMZ5.js +0 -4
- package/dist/calcite/WA67BMZ5.js.LEGAL.txt +0 -3
- package/dist/calcite/WAHFPFKQ.js +0 -4
- package/dist/calcite/WAHFPFKQ.js.LEGAL.txt +0 -3
- package/dist/calcite/WAJ7RETH.js +0 -4
- package/dist/calcite/WI5DGSD4.js +0 -4
- package/dist/calcite/WI5DGSD4.js.LEGAL.txt +0 -3
- package/dist/calcite/WIB7LL6E.js +0 -4
- package/dist/calcite/WJGD5X7W.js +0 -4
- package/dist/calcite/WJGD5X7W.js.LEGAL.txt +0 -3
- package/dist/calcite/WLEC6AR3.js +0 -4
- package/dist/calcite/WLEC6AR3.js.LEGAL.txt +0 -3
- package/dist/calcite/WLP55OFV.js +0 -4
- package/dist/calcite/WLP55OFV.js.LEGAL.txt +0 -3
- package/dist/calcite/WPB74A4Z.js +0 -4
- package/dist/calcite/WPB74A4Z.js.LEGAL.txt +0 -3
- package/dist/calcite/WW4CRGTS.js +0 -4
- package/dist/calcite/WW4CRGTS.js.LEGAL.txt +0 -3
- package/dist/calcite/WXZUPF3M.js +0 -4
- package/dist/calcite/WYCLYFFA.js +0 -4
- package/dist/calcite/WYCLYFFA.js.LEGAL.txt +0 -3
- package/dist/calcite/X7MJXWNB.js +0 -4
- package/dist/calcite/X7MJXWNB.js.LEGAL.txt +0 -3
- package/dist/calcite/XBWBLFVG.js +0 -4
- package/dist/calcite/XBWBLFVG.js.LEGAL.txt +0 -3
- package/dist/calcite/XFIX6T6C.js +0 -4
- package/dist/calcite/XFJ6YGFI.js +0 -4
- package/dist/calcite/XFJ6YGFI.js.LEGAL.txt +0 -3
- package/dist/calcite/XKF5HPNZ.js +0 -4
- package/dist/calcite/XKF5HPNZ.js.LEGAL.txt +0 -3
- package/dist/calcite/XNFUFEO3.js +0 -4
- package/dist/calcite/XNFUFEO3.js.LEGAL.txt +0 -3
- package/dist/calcite/XS22463L.js +0 -4
- package/dist/calcite/XS22463L.js.LEGAL.txt +0 -3
- package/dist/calcite/XTFWU7OX.js +0 -4
- package/dist/calcite/XU3WYGRW.js +0 -4
- package/dist/calcite/XU3WYGRW.js.LEGAL.txt +0 -3
- package/dist/calcite/XVPPR4MH.js +0 -4
- package/dist/calcite/XVPPR4MH.js.LEGAL.txt +0 -3
- package/dist/calcite/XXL67GBW.js +0 -4
- package/dist/calcite/XXL67GBW.js.LEGAL.txt +0 -3
- package/dist/calcite/Y3QD6MXY.js +0 -4
- package/dist/calcite/Y3QD6MXY.js.LEGAL.txt +0 -3
- package/dist/calcite/Y7FIZ27I.js +0 -4
- package/dist/calcite/Y7FIZ27I.js.LEGAL.txt +0 -3
- package/dist/calcite/YDNFCG45.js +0 -4
- package/dist/calcite/YDNFCG45.js.LEGAL.txt +0 -3
- package/dist/calcite/YG4O7PMQ.js +0 -4
- package/dist/calcite/YHKWWXEY.js +0 -4
- package/dist/calcite/YHKWWXEY.js.LEGAL.txt +0 -3
- package/dist/calcite/YPE353ZT.js +0 -4
- package/dist/calcite/YPHEP2MO.js +0 -4
- package/dist/calcite/YPHEP2MO.js.LEGAL.txt +0 -3
- package/dist/calcite/YZ6XRAZJ.js +0 -4
- package/dist/calcite/YZ6XRAZJ.js.LEGAL.txt +0 -3
- package/dist/calcite/ZMLVMGAA.js +0 -4
- package/dist/calcite/ZMLVMGAA.js.LEGAL.txt +0 -3
- package/dist/calcite/ZP5MRQPY.js +0 -4
- package/dist/calcite/ZPPNMNJE.js +0 -4
- package/dist/calcite/ZPPNMNJE.js.LEGAL.txt +0 -3
- package/dist/calcite/ZQ2E7AQY.js +0 -22
- package/dist/calcite/ZQ2E7AQY.js.LEGAL.txt +0 -3
- package/dist/calcite/ZZPERYRL.js +0 -4
- package/dist/calcite/ZZPERYRL.js.LEGAL.txt +0 -3
- /package/dist/calcite/{3737KCZI.js.LEGAL.txt → 32UR453I.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{4MY4SOKO.js.LEGAL.txt → 475455ES.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{4SKX3C7S.js.LEGAL.txt → 5A2CKNA7.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{5LCXGLXO.js.LEGAL.txt → 5JITGPIN.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{5XGO5GGF.js.LEGAL.txt → 63GHKBH4.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{PZUDP6HH.js.LEGAL.txt → 64PDALZJ.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{6D5SLQV2.js.LEGAL.txt → 6NXQ6UDD.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{76LHZFBO.js.LEGAL.txt → 6RUWC4EG.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{7EF4KWS5.js.LEGAL.txt → 7B7LVPMT.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{7R3KSX4I.js.LEGAL.txt → 7I4KYMJJ.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{AC4KY3FW.js.LEGAL.txt → 7NKIUYHY.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{ARYMIQHZ.js.LEGAL.txt → 7SQLR3QY.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{AXU6PN2G.js.LEGAL.txt → 7SRHR3J5.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{B3GOH65X.js.LEGAL.txt → AAVYVFIC.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{B63ZWYKF.js.LEGAL.txt → B6TSJB4N.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{BFMMRJ7N.js.LEGAL.txt → BHFTI4VD.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{CEI626MO.js.LEGAL.txt → C72O5LIN.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{AHVFL4MT.js.LEGAL.txt → CZUK3CJY.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{D77OBA47.js.LEGAL.txt → D3OIN5T7.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{DYG2GIRX.js.LEGAL.txt → D6XYEJVM.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{EXW2QP5X.js.LEGAL.txt → DEIYP4MP.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{F4OEA3NQ.js.LEGAL.txt → DL5DW3QR.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{5QODUDYP.js.LEGAL.txt → ELDEFOWM.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{FTN3HQEY.js.LEGAL.txt → ENHTVBZ3.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{FXPHB743.js.LEGAL.txt → EQETSNTO.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{G4JUK4LA.js.LEGAL.txt → EZKXGHR2.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{GLKT4JWE.js.LEGAL.txt → FIDBKPRY.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{ECBK7YW2.js.LEGAL.txt → GHDEJX5N.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{GZF76UGH.js.LEGAL.txt → GNKR3MUK.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{H2XD6LFC.js.LEGAL.txt → H75NTUTC.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{HCZDNQZO.js.LEGAL.txt → HBHWU3H5.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{HGSBQVX6.js.LEGAL.txt → HGP4FN3K.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{HJESQKUD.js.LEGAL.txt → HQURUZNW.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{HJI5C2I3.js.LEGAL.txt → IADQWEXC.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{HRCDWOFD.js.LEGAL.txt → JAU5FX5T.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{I2FWZOFT.js.LEGAL.txt → JOKMKZBB.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{ICYA4C2Z.js.LEGAL.txt → JXZ2XPLI.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{JAHT4CGU.js.LEGAL.txt → KGFAWBDU.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{JBHV4APV.js.LEGAL.txt → L6IMZZAB.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{KWWY5VFF.js.LEGAL.txt → MFN5YBDG.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{KXYZ26OR.js.LEGAL.txt → MVJPQKKA.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{LHOKP64N.js.LEGAL.txt → N2OODGNM.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{LYQKY3OI.js.LEGAL.txt → N33CKL6T.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{NGW6DTVZ.js.LEGAL.txt → N6BCZPJF.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{NWZ5HI5D.js.LEGAL.txt → NMRDQ7OF.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{OAAGCS5D.js.LEGAL.txt → NMWEN372.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{OKMJNU5C.js.LEGAL.txt → NNWYJLAI.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{OZ4EREII.js.LEGAL.txt → OGXN2NIG.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{PKO4ULUU.js.LEGAL.txt → QU6K3ZL2.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{Q4AENYCE.js.LEGAL.txt → QV5BVUYM.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{QDTFQEJL.js.LEGAL.txt → QZ4H2XQD.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{R4DQ4KS7.js.LEGAL.txt → RWIYU4EN.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{RLCLGWKH.js.LEGAL.txt → SIYQ3QS3.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{RMANYV5X.js.LEGAL.txt → SKZM45XV.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{S5SYISFY.js.LEGAL.txt → SMTRHHGQ.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{SJNOWEBQ.js.LEGAL.txt → TIAPQUFZ.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{UAFKGGNM.js.LEGAL.txt → TY4U3NBJ.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{UBUB52GB.js.LEGAL.txt → V2ODW6K2.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{VNA3LUOI.js.LEGAL.txt → VDXRRBZL.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{WAJ7RETH.js.LEGAL.txt → W6D4EKR5.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{WIB7LL6E.js.LEGAL.txt → WM7LJWSE.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{ZP5MRQPY.js.LEGAL.txt → WO3LPDXJ.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{WXZUPF3M.js.LEGAL.txt → WQNMJ2OO.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{XFIX6T6C.js.LEGAL.txt → YZGP7SHF.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{XTFWU7OX.js.LEGAL.txt → Z3BSQMME.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{YG4O7PMQ.js.LEGAL.txt → ZIAJHQWN.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{YPE353ZT.js.LEGAL.txt → ZW7QX3UF.js.LEGAL.txt} +0 -0
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
+
v3.2.0-next.3 */
|
|
4
|
+
import{a as t,b as S,c as f,d as r}from"./TH2GPZFC.js";import{b as O}from"./2A5NKXER.js";import"./CZUK3CJY.js";import{b as j}from"./LAN4HH7O.js";import"./5JITGPIN.js";import{a as P,b as T}from"./NSSKOFQH.js";import{a as d}from"./WO3LPDXJ.js";import"./GHDEJX5N.js";import{a as F}from"./QQKITGRY.js";import{a as M}from"./FDGPGEXX.js";import{b as C}from"./64PDALZJ.js";import{b as I}from"./RMQSDCHV.js";import{n as E,u as s,v as x}from"./4IUJG32P.js";import{d as B}from"./PPEST4DH.js";import"./2RXKSLXC.js";import"./RXHNKSYE.js";import{H as w,e as z,f as a,j as $,v,w as H,x as i}from"./METBU7KA.js";var D=z`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{position:relative;box-sizing:border-box;display:flex;block-size:100%;inline-size:100%;flex:1 1 auto;overflow:hidden;--calcite-min-header-height: calc(var(--calcite-icon-size) * 3);border-radius:var(--calcite-panel-corner-radius, var(--calcite-corner-radius-sharp))}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}.header{margin:0;display:flex;align-content:space-between;align-items:center;fill:var(--calcite-color-text-2);color:var(--calcite-color-text-2)}.heading{margin:0;padding:0;font-weight:var(--calcite-font-weight-medium)}.header .heading{flex:1 1 auto;padding:.5rem}:host([scale=s]){--calcite-internal-panel-default-space: var(--calcite-spacing-sm);--calcite-internal-panel-header-vertical-padding: var(--calcite-spacing-sm-plus)}:host([scale=s]) .header-content .heading{font-size:var(--calcite-font-size--1)}:host([scale=s]) .header-content .description{font-size:var(--calcite-font-size--2)}:host([scale=m]){--calcite-internal-panel-default-space: var(--calcite-spacing-md);--calcite-internal-panel-header-vertical-padding: var(--calcite-spacing-md-plus)}:host([scale=m]) .header-content .heading{font-size:var(--calcite-font-size-0)}:host([scale=m]) .header-content .description{font-size:var(--calcite-font-size--1)}:host([scale=l]){--calcite-internal-panel-default-space: var(--calcite-spacing-lg);--calcite-internal-panel-header-vertical-padding: var(--calcite-spacing-xl)}:host([scale=l]) .header-content .heading{font-size:var(--calcite-font-size-1)}:host([scale=l]) .header-content .description{font-size:var(--calcite-font-size-0)}.content-top,.content-bottom{display:flex;align-items:flex-start;align-self:stretch;padding:var(--calcite-internal-panel-default-space);border-block-start:1px solid var(--calcite-panel-border-color, var(--calcite-color-border-3));background-color:var(--calcite-panel-background-color, var(--calcite-color-foreground-1))}.container{position:relative;margin:0;display:flex;inline-size:100%;flex:1 1 auto;flex-direction:column;align-items:stretch;overflow:hidden;background-color:var(--calcite-color-background);padding:0;color:var(--calcite-color-text-2);transition:max-block-size var(--calcite-animation-timing),inline-size var(--calcite-animation-timing);box-sizing:border-box;font-size:var(--calcite-font-size--1)}.container *{box-sizing:border-box}.container[hidden]{display:none}.header{z-index:var(--calcite-z-index-header);display:flex;flex-direction:column;background-color:var(--calcite-panel-header-background-color, var(--calcite-color-foreground-1));border-block-end:1px solid var(--calcite-panel-border-color, var(--calcite-panel-header-border-block-end, var(--calcite-color-border-3)))}.header-container{display:flex;inline-size:100%;flex-direction:row;align-items:stretch;justify-content:flex-start;flex:0 0 auto}.header-container--border-end{border-block-end:1px solid var(--calcite-panel-border-color, var(--calcite-color-border-3))}.action-bar-container{inline-size:100%}.action-bar-container ::slotted(calcite-action-bar){inline-size:100%}.header-content{display:flex;flex-direction:column;overflow:hidden;padding-inline:.75rem;padding-block:.875rem;margin-inline-end:auto;justify-content:center}.header-content .heading,.header-content .description{display:block;flex:none;overflow-wrap:break-word;padding:0;line-height:var(--calcite-font-line-height-relative-snug)}.header-content .heading{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-panel-heading-text-color, var(--calcite-color-text-1))}.header-content .heading:only-child{margin-block-end:0px}.header-content .description{color:var(--calcite-panel-description-text-color, var(--calcite-color-text-2))}#close,#collapse,.back-button,calcite-action-menu{--calcite-action-background-color: var(--calcite-panel-header-action-background-color);--calcite-action-background-color-hover: var(--calcite-panel-header-action-background-color-hover);--calcite-action-background-color-press: var(--calcite-panel-header-action-background-color-press);--calcite-action-text-color: var(--calcite-panel-header-action-text-color);--calcite-action-text-color-pressed: var(--calcite-panel-header-action-text-color-pressed)}.back-button{border-width:0px;border-style:solid;border-inline-end-width:1px;border-color:var(--calcite-panel-border-color, var(--calcite-color-border-3))}.header-actions{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:stretch}.header-actions--end{margin-inline-start:auto}.content-wrapper{position:relative;display:flex;block-size:100%;flex:1 1 auto;flex-direction:column;flex-wrap:nowrap;align-items:stretch;overflow:auto;color:var(--calcite-color-text-2);outline-color:transparent;padding:var(--calcite-panel-space, var(--calcite-panel-content-space, 0));background:var(--calcite-panel-background-color, var(--calcite-color-background))}.content-wrapper:focus-visible{outline:2px solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(-2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}.header-content{flex:1 1 auto;justify-content:center;padding-block:var(--calcite-internal-panel-header-vertical-padding);padding-inline:var(--calcite-internal-panel-default-space)}.header-content.header-slotted-content{padding:var(--calcite-panel-header-content-space, var(--calcite-internal-panel-header-vertical-padding) var(--calcite-internal-panel-default-space))}.footer{margin-block-start:auto;display:flex;flex-direction:row;align-content:space-between;align-items:center;justify-content:center;font-size:var(--calcite-font-size--2);line-height:1.375;border-block-start:1px solid var(--calcite-panel-border-color, var(--calcite-color-border-3));padding:var(--calcite-panel-footer-space, var(--calcite-panel-footer-padding, var(--calcite-internal-panel-default-space)));background-color:var(--calcite-panel-footer-background-color, var(--calcite-color-foreground-1))}.footer-content{display:flex;flex:1 1 0%;flex-direction:row;align-items:center;justify-content:center}.footer-actions{display:flex;flex:1 1 0%;flex-direction:row;align-items:center;justify-content:space-evenly;gap:var(--calcite-internal-panel-default-space)}.footer-start{display:flex;flex:1 1 0%;flex-direction:row;align-items:center;justify-content:flex-start;margin-inline-end:auto;gap:var(--calcite-internal-panel-default-space)}.footer-end{display:flex;flex:1 1 0%;flex-direction:row;align-items:center;justify-content:flex-end;margin-inline-start:auto;gap:var(--calcite-internal-panel-default-space)}.fab-container{position:sticky;inset-block-end:0px;z-index:var(--calcite-z-index-sticky);margin-block:0px;margin-inline:auto;display:block;padding:.5rem;inset-inline:0;inline-size:fit-content}:host([hidden]){display:none}[hidden]{display:none}`,y=class extends H{constructor(){super(),this.resizeObserver=F("resize",()=>this.resizeHandler()),this.hasActionBar=!1,this.hasContentBottom=!1,this.hasContentTop=!1,this.hasEndActions=!1,this.hasFab=!1,this.hasFooterActions=!1,this.hasFooterContent=!1,this.hasFooterEndContent=!1,this.hasFooterStartContent=!1,this.hasHeaderContent=!1,this.hasMenuItems=!1,this.hasStartActions=!1,this.isClosed=!1,this.showHeaderContent=!1,this.closable=!1,this.closed=!1,this.collapseDirection="down",this.collapsed=!1,this.collapsible=!1,this.disabled=!1,this.loading=!1,this.menuOpen=!1,this.menuPlacement=j,this.messages=M(),this.overlayPositioning="absolute",this.scale="m",this.calcitePanelClose=v({cancelable:!1}),this.calcitePanelScroll=v({cancelable:!1}),this.calcitePanelToggle=v({cancelable:!1}),this.listen("keydown",this.panelKeyDownHandler)}static{this.properties={hasActionBar:16,hasContentBottom:16,hasContentTop:16,hasEndActions:16,hasFab:16,hasFooterActions:16,hasFooterContent:16,hasFooterEndContent:16,hasFooterStartContent:16,hasHeaderContent:16,hasMenuItems:16,hasStartActions:16,isClosed:16,showHeaderContent:16,beforeClose:0,closable:7,closed:7,collapseDirection:1,collapsed:7,collapsible:7,description:1,disabled:7,heading:1,headingLevel:11,loading:7,menuFlipPlacements:0,menuOpen:7,menuPlacement:3,messageOverrides:0,overlayPositioning:3,scale:3}}static{this.styles=D}async scrollContentTo(e){this.panelScrollEl?.scrollTo(e)}async setFocus(){await B(this),E(this.containerEl)}async load(){this.isClosed=this.closed}willUpdate(e){e.has("closed")&&this.hasUpdated&&(this.closed?this.close():this.open())}updated(){P(this)}disconnectedCallback(){super.disconnectedCallback(),this.resizeObserver?.disconnect()}resizeHandler(){let{panelScrollEl:e}=this;!e||typeof e.scrollHeight!="number"||typeof e.offsetHeight!="number"||(e.scrollHeight>e.offsetHeight?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex"))}setContainerRef(e){this.containerEl=e}panelKeyDownHandler(e){this.closable&&e.key==="Escape"&&!e.defaultPrevented&&(this.handleUserClose(),e.preventDefault())}handleUserClose(){this.closed=!0,this.calcitePanelClose.emit()}open(){this.isClosed=!1}async close(){let e=this.beforeClose??(()=>Promise.resolve());try{await e()}catch{requestAnimationFrame(()=>{this.closed=!1});return}this.isClosed=!0}collapse(){this.collapsed=!this.collapsed,this.calcitePanelToggle.emit()}panelScrollHandler(){this.calcitePanelScroll.emit()}handleHeaderActionsStartSlotChange(e){this.hasStartActions=s(e)}handleHeaderActionsEndSlotChange(e){this.hasEndActions=s(e)}handleHeaderMenuActionsSlotChange(e){this.hasMenuItems=s(e)}handleActionBarSlotChange(e){let n=x(e).filter(o=>o?.matches("calcite-action-bar"));n.forEach(o=>o.layout="horizontal"),this.hasActionBar=!!n.length}handleHeaderContentSlotChange(e){this.hasHeaderContent=s(e)}handleFabSlotChange(e){this.hasFab=s(e)}handleFooterActionsSlotChange(e){this.hasFooterActions=s(e)}handleFooterEndSlotChange(e){this.hasFooterEndContent=s(e)}handleFooterStartSlotChange(e){this.hasFooterStartContent=s(e)}handleFooterSlotChange(e){this.hasFooterContent=s(e)}contentBottomSlotChangeHandler(e){this.hasContentBottom=s(e)}contentTopSlotChangeHandler(e){this.hasContentTop=s(e)}setPanelScrollEl(e){this.panelScrollEl=e,this.resizeObserver?.disconnect(),e&&(this.resizeObserver?.observe(e),this.resizeHandler())}handleAlertsSlotChange(e){x(e)?.map(n=>{n.nodeName==="CALCITE-ALERT"&&(n.embedded=!0)})}renderHeaderContent(){let{heading:e,headingLevel:n,description:o,hasHeaderContent:l}=this,c=e?O({class:t.heading,level:n,children:e}):null,h=o?a`<span class=${i(t.description)}>${o}</span>`:null;return!l&&(c||h)?d("header-content",a`<div class=${i(t.headerContent)}>${c}${h}</div>`):null}renderActionBar(){return a`<div class=${i(t.actionBarContainer)} .hidden=${!this.hasActionBar}><slot name=${r.actionBar} @slotchange=${this.handleActionBarSlotChange}></slot></div>`}renderHeaderSlottedContent(){return d("slotted-header-content",a`<div class=${i({[t.headerContent]:!0,[t.headerSlottedContent]:!0})} .hidden=${!this.hasHeaderContent}><slot name=${r.headerContent} @slotchange=${this.handleHeaderContentSlotChange}></slot></div>`)}renderHeaderStartActions(){let{hasStartActions:e}=this;return d("header-actions-start",a`<div class=${i({[t.headerActionsStart]:!0,[t.headerActions]:!0})} .hidden=${!e}><slot name=${r.headerActionsStart} @slotchange=${this.handleHeaderActionsStartSlotChange}></slot></div>`)}renderHeaderActionsEnd(){let{hasEndActions:e,messages:n,closable:o,collapsed:l,collapseDirection:c,collapsible:h,hasMenuItems:m}=this,{collapse:p,expand:g,close:u}=n,b=[f.expand,f.collapse];c==="up"&&b.reverse();let A=h?a`<calcite-action .ariaExpanded=${!l} .ariaLabel=${p} .icon=${l?b[0]:b[1]} id=${S.collapse} @click=${this.collapse} .scale=${this.scale} .text=${p} title=${(l?g:p)??$}></calcite-action>`:null,k=o?a`<calcite-action .ariaLabel=${u} .icon=${f.close} id=${S.close} @click=${this.handleUserClose} .scale=${this.scale} .text=${u} title=${u??$}></calcite-action>`:null,L=a`<slot name=${r.headerActionsEnd} @slotchange=${this.handleHeaderActionsEndSlotChange}></slot>`,N=e||A||k||m;return d("header-actions-end",a`<div class=${i({[t.headerActionsEnd]:!0,[t.headerActions]:!0})} .hidden=${!N}>${L}${this.renderMenu()}${A}${k}</div>`)}renderMenu(){let{hasMenuItems:e,messages:n,menuOpen:o,menuFlipPlacements:l,menuPlacement:c}=this;return d("menu",a`<calcite-action-menu .flipPlacements=${l??["top","bottom"]} .hidden=${!e} .label=${n.options} .open=${o} .overlayPositioning=${this.overlayPositioning} .placement=${c}><calcite-action .icon=${f.menu} .scale=${this.scale} slot=${I.trigger} .text=${n.options}></calcite-action><slot name=${r.headerMenuActions} @slotchange=${this.handleHeaderMenuActionsSlotChange}></slot></calcite-action-menu>`)}renderHeaderNode(){let{hasHeaderContent:e,hasStartActions:n,hasEndActions:o,closable:l,collapsible:c,hasMenuItems:h,hasActionBar:m}=this,p=this.renderHeaderContent(),g=e||!!p||n||o||c||l||h;return this.showHeaderContent=g,a`<header class=${i(t.header)} .hidden=${!(g||m)}><div class=${i({[t.headerContainer]:!0,[t.headerContainerBorderEnd]:m})} .hidden=${!g}>${this.renderHeaderStartActions()}${this.renderHeaderSlottedContent()}${p}${this.renderHeaderActionsEnd()}</div>${this.renderActionBar()}${this.renderContentTop()}</header>`}renderFooterNode(){let{hasFooterEndContent:e,hasFooterStartContent:n,hasFooterContent:o,hasFooterActions:l}=this,c=n||e||o||l;return a`<footer class=${i(t.footer)} .hidden=${!c}><div class=${i(t.footerContent)} .hidden=${!o}><slot name=${r.footer} @slotchange=${this.handleFooterSlotChange}></slot></div><div class=${i(t.footerStart)} .hidden=${o||!n}><slot name=${r.footerStart} @slotchange=${this.handleFooterStartSlotChange}></slot></div><div class=${i(t.footerEnd)} .hidden=${o||!e}><slot name=${r.footerEnd} @slotchange=${this.handleFooterEndSlotChange}></slot></div><div class=${i(t.footerActions)} .hidden=${o||!l}>${d("footer-actions-slot",a`<slot name=${r.footerActions} @slotchange=${this.handleFooterActionsSlotChange}></slot>`)}</div></footer>`}renderContent(){return a`<div class=${i(t.contentWrapper)} .hidden=${this.collapsible&&this.collapsed} @scroll=${this.panelScrollHandler} ${C(this.setPanelScrollEl)}><slot></slot>${this.renderFab()}</div>`}renderContentBottom(){return a`<div class=${i(t.contentBottom)} .hidden=${!this.hasContentBottom}><slot name=${r.contentBottom} @slotchange=${this.contentBottomSlotChangeHandler}></slot></div>`}renderContentTop(){return a`<div class=${i(t.contentTop)} .hidden=${!this.hasContentTop}><slot name=${r.contentTop} @slotchange=${this.contentTopSlotChangeHandler}></slot></div>`}renderFab(){return a`<div class=${i(t.fabContainer)} .hidden=${!this.hasFab}><slot name=${r.fab} @slotchange=${this.handleFabSlotChange}></slot></div>`}render(){let{disabled:e,loading:n,isClosed:o}=this,l=a`<article .ariaBusy=${n} class=${i(t.container)} .hidden=${o} ${C(this.setContainerRef)}>${this.renderHeaderNode()}${this.renderContent()}${this.renderContentBottom()}${this.renderFooterNode()}${d("alerts",a`<slot name=${r.alerts} @slotchange=${this.handleAlertsSlotChange}></slot>`)}</article>`;return T({disabled:e,children:a`${n?a`<calcite-scrim .loading=${n}></calcite-scrim>`:null}${l}`})}};w("calcite-panel",y);export{y as Panel};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
+
v3.2.0-next.3 */
|
|
4
|
+
import{a as p}from"./NWP4Y2I7.js";import{k as b}from"./LFCMK2LO.js";import"./DHW4K6M2.js";import{a as d}from"./WO3LPDXJ.js";import"./EONWLGV2.js";import{a as X}from"./QQKITGRY.js";import{a as L}from"./FDGPGEXX.js";import{a as u,d as E}from"./PPEST4DH.js";import"./2RXKSLXC.js";import{H as w,e as y,f as h,j as f,v as C,w as P,x as l}from"./METBU7KA.js";var s={list:"list",listItem:"list-item",hiddenItem:"hidden-item",page:"page",selected:"selected",chevron:"chevron",disabled:"disabled",ellipsis:"ellipsis"},I={next:"chevron-right",previous:"chevron-left",first:"chevron-start",last:"chevron-end"},T=y`:host{display:flex;writing-mode:horizontal-tb}.list{margin:0;display:flex;list-style-type:none;padding:0;column-gap:var(--calcite-spacing-base)}.list-item{margin:0;display:flex;padding:0}.hidden-item{display:none}:host([scale=s]) .chevron,:host([scale=s]) .page,:host([scale=s]) .ellipsis{block-size:1.5rem;padding-inline:.25rem;font-size:var(--calcite-font-size--2);line-height:1rem;min-inline-size:1.5rem}:host([scale=m]) .chevron,:host([scale=m]) .page,:host([scale=m]) .ellipsis{block-size:2rem;padding-inline:.5rem;font-size:var(--calcite-font-size--1);line-height:1rem;min-inline-size:2rem}:host([scale=l]) .chevron,:host([scale=l]) .page,:host([scale=l]) .ellipsis{block-size:2.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;min-inline-size:2.75rem}:host([scale=l]) .chevron{padding-inline:.625rem}:host([scale=l]) .page,:host([scale=l]) .ellipsis{padding-inline:.75rem}:host button{outline-color:transparent}:host button:focus{outline:2px solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(-2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}.chevron,.page,.ellipsis{margin:0;box-sizing:border-box;display:flex;align-items:center;justify-content:center;border-style:none;--tw-border-opacity: 0;background-color:transparent;padding:0;vertical-align:baseline;font-family:inherit;font-size:var(--calcite-font-size-0);line-height:1.25rem;color:var(--calcite-pagination-color, var(--calcite-color-text-3))}.chevron,.page{cursor:pointer;border-block:2px solid transparent}.chevron:hover,.page:hover{transition-property:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start,inset-size,opacity,outline-color,transform;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out;color:var(--calcite-pagination-color-hover, var(--calcite-color-text-1))}.chevron:active,.page:active{color:var(--calcite-pagination-color-hover, var(--calcite-color-text-1))}.page:hover{border-block-end-color:var(--calcite-pagination-color-border-hover, var(--calcite-color-border-2))}.page:active{background-color:var(--calcite-pagination-background-color, var(--calcite-color-foreground-3))}.page.selected{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-pagination-color-hover, var(--calcite-color-text-1));border-block-end-color:var(--calcite-pagination-color-border-active, var(--calcite-color-brand))}.page.selected:focus{border-block-end-width:var(--calcite-spacing-xxs);padding-block-start:var(--calcite-spacing-base)}.chevron:hover{background-color:var(--calcite-pagination-icon-color-background-hover, var(--calcite-color-foreground-2))}.chevron:active{background-color:var(--calcite-pagination-background-color, var(--calcite-color-foreground-3))}.chevron.disabled{pointer-events:none;background-color:transparent}.chevron.disabled>calcite-icon{opacity:var(--calcite-opacity-disabled)}:host([hidden]){display:none}[hidden]{display:none}`,x=2,U=2,m={large:11,medium:9,small:7,xsmall:5,xxsmall:1},S=class extends P{constructor(){super(...arguments),this.resizeHandler=({contentRect:{width:t}})=>this.setMaxItemsToBreakpoint(t),this.resizeObserver=X("resize",t=>t.forEach(this.resizeHandler)),this.maxItems=m.xxsmall,this.groupSeparator=!1,this.messages=L(),this.pageSize=20,this.scale="m",this.startItem=1,this.totalItems=0,this.calcitePaginationChange=C({cancelable:!1})}static{this.properties={isXXSmall:16,lastStartItem:16,maxItems:16,totalPages:16,groupSeparator:7,messageOverrides:0,numberingSystem:1,pageSize:11,scale:3,startItem:11,totalItems:11}}static{this.shadowRootOptions={mode:"open",delegatesFocus:!0}}static{this.styles=T}async goTo(t){switch(t){case"start":this.startItem=1;break;case"end":this.startItem=this.lastStartItem;break;default:t>=Math.ceil(this.totalPages)?this.startItem=this.lastStartItem:t<=0?this.startItem=1:this.startItem=(t-1)*this.pageSize+1}}async nextPage(){this.startItem=Math.min(this.lastStartItem,this.startItem+this.pageSize)}async previousPage(){this.startItem=Math.max(1,this.startItem-this.pageSize)}async setFocus(){await E(this),this.el.focus()}connectedCallback(){super.connectedCallback(),this.resizeObserver?.observe(this.el)}async load(){this.handleTotalPages(),this.handleLastStartItemChange(),this.handleIsXXSmall()}willUpdate(t){(t.has("totalItems")&&(this.hasUpdated||this.totalItems!==0)||t.has("pageSize")&&(this.hasUpdated||this.pageSize!==20))&&this.handleTotalPages(),(t.has("totalItems")&&(this.hasUpdated||this.totalItems!==0)||t.has("pageSize")&&(this.hasUpdated||this.pageSize!==20)||t.has("totalPages"))&&this.handleLastStartItemChange(),t.has("maxItems")&&(this.hasUpdated||this.maxItems!==m.xxsmall)&&this.handleIsXXSmall(),t.has("messages")&&this.effectiveLocaleChange()}loaded(){this.setMaxItemsToBreakpoint(this.el.clientWidth)}disconnectedCallback(){super.disconnectedCallback(),this.resizeObserver?.disconnect()}handleTotalPages(){this.pageSize<1&&(this.pageSize=1),this.totalPages=this.totalItems/this.pageSize}effectiveLocaleChange(){b.numberFormatOptions={locale:this.messages._lang,numberingSystem:this.numberingSystem,useGrouping:this.groupSeparator}}handleLastStartItemChange(){let{totalItems:t,pageSize:e,totalPages:a}=this;this.lastStartItem=(t%e===0?t-e:Math.floor(a)*e)+1}handleIsXXSmall(){this.isXXSmall=this.maxItems===m.xxsmall}setMaxItemsToBreakpoint(t){if(!(!p||!t)){if(t>=p.width.medium){this.maxItems=m.large;return}if(t>=p.width.small){this.maxItems=m.medium;return}if(t>=p.width.xsmall){this.maxItems=m.small;return}if(t>=p.width.xxsmall){this.maxItems=m.xsmall;return}this.maxItems=m.xxsmall}}firstClicked(){this.startItem=1,this.emitUpdate()}lastClicked(){this.startItem=this.lastStartItem,this.emitUpdate()}async previousClicked(){await this.previousPage(),this.emitUpdate()}async nextClicked(){await this.nextPage(),this.emitUpdate()}showStartEllipsis(){return this.totalPages>this.maxItems&&Math.floor(this.startItem/this.pageSize)>this.maxItems-x-U}showEndEllipsis(){return this.totalPages>this.maxItems&&(this.totalItems-this.startItem)/this.pageSize>this.maxItems-x-(U-1)}emitUpdate(){this.calcitePaginationChange.emit()}handlePageClick(t){let e=t.target;this.startItem=parseInt(e.value),this.emitUpdate()}renderEllipsis(t){return d(t,h`<span class=${l(s.ellipsis)} data-test-ellipsis=${t??f}>…</span>`)}renderItems(){let{totalItems:t,pageSize:e,startItem:a,maxItems:i,totalPages:r,lastStartItem:v,isXXSmall:M}=this,o=[];if(M)return o.push(this.renderPage(a)),o;let F=t>e,k=this.showStartEllipsis(),z=this.showEndEllipsis();F&&o.push(this.renderPage(1)),k&&o.push(this.renderEllipsis("start"));let n=i-x-(z?1:0)-(k?1:0),g,c;r-1<=n?(c=1+e,g=v-e):a/e<n?(c=1+e,g=1+n*e):a+n*e>=t?(c=v-n*e,g=v-e):(c=a-e*((n-1)/2),g=a+e*((n-1)/2));for(let $=0;$<n&&c<=g;$++)o.push(this.renderPage(c)),c=c+e;return z&&o.push(this.renderEllipsis("end")),o.push(this.renderPage(v)),o}renderPage(t){let{pageSize:e}=this,a=Math.floor(t/e)+(e===1?0:1);b.numberFormatOptions={locale:this.messages._lang,numberingSystem:this.numberingSystem,useGrouping:this.groupSeparator};let i=b.localize(a.toString()),r=t===this.startItem;return h`<li class=${l(s.listItem)}><button .ariaCurrent=${r?"page":"false"} class=${l({[s.page]:!0,[s.selected]:r})} @click=${this.handlePageClick} value=${t??f}>${i}</button></li>`}renderPreviousChevron(){let{pageSize:t,startItem:e,messages:a}=this,i=t===1?e<=t:e<t;return d("previous",h`<button .ariaLabel=${a.previous} class=${l({[s.chevron]:!0,[s.disabled]:i})} data-test-chevron=previous .disabled=${i} @click=${this.previousClicked}><calcite-icon flip-rtl .icon=${I.previous} .scale=${u(this.scale)}></calcite-icon></button>`)}renderNextChevron(){let{totalItems:t,pageSize:e,startItem:a,messages:i}=this,r=a+e>t;return d("next-button",h`<button .ariaLabel=${i.next} class=${l({[s.chevron]:!0,[s.disabled]:r})} data-test-chevron=next .disabled=${r} @click=${this.nextClicked}><calcite-icon flip-rtl .icon=${I.next} .scale=${u(this.scale)}></calcite-icon></button>`)}renderFirstChevron(){let{messages:t,startItem:e,isXXSmall:a}=this,i=e===1;return a?d("first-button",h`<button .ariaLabel=${t.first} class=${l({[s.chevron]:!0,[s.disabled]:i})} .disabled=${i} @click=${this.firstClicked}><calcite-icon flip-rtl .icon=${I.first} .scale=${u(this.scale)}></calcite-icon></button>`):null}renderLastChevron(){let{messages:t,startItem:e,isXXSmall:a,lastStartItem:i}=this,r=e===i;return a?d("last-button",h`<button .ariaLabel=${t.last} class=${l({[s.chevron]:!0,[s.disabled]:r})} .disabled=${r} @click=${this.lastClicked}><calcite-icon flip-rtl .icon=${I.last} .scale=${u(this.scale)}></calcite-icon></button>`):null}render(){let t=this.renderFirstChevron(),e=this.renderLastChevron();return h`<ul class=${l(s.list)}><li class=${l({[s.listItem]:!0,[s.hiddenItem]:!t})}>${t}</li><li class=${l(s.listItem)}>${this.renderPreviousChevron()}</li>${this.renderItems()}<li class=${l(s.listItem)}>${this.renderNextChevron()}</li><li class=${l({[s.listItem]:!0,[s.hiddenItem]:!e})}>${e}</li></ul>`}};w("calcite-pagination",S);export{S as Pagination};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
+
v3.2.0-next.3 */
|
|
4
|
+
import{a as r,b as i,c}from"./CZUK3CJY.js";import{a as l}from"./WO3LPDXJ.js";import{x as e}from"./METBU7KA.js";function f(t){return Math.min(Math.max(Math.ceil(t),1),6)}var h=({children:t,...s})=>{let a=s.level?r(`h${s.level}`):i`div`;return l(s.key,c`<${a} class=${e(s.class)}>${t}</${a}>`)};export{f as a,h as b};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
+
v3.2.0-next.3 */
|
|
4
|
+
import{a as T}from"./LAN4HH7O.js";import"./5JITGPIN.js";import{a as f,b as S}from"./NSSKOFQH.js";import{a as r}from"./WO3LPDXJ.js";import"./GHDEJX5N.js";import{a as v}from"./FDGPGEXX.js";import{b as w}from"./64PDALZJ.js";import"./4IUJG32P.js";import{d as $}from"./PPEST4DH.js";import"./2RXKSLXC.js";import"./RXHNKSYE.js";import{H as g,e as u,f as a,j as l,v as i,w as b,x as c}from"./METBU7KA.js";var D={handle:"handle",dropdown:"dropdown"},I={drag:"drag",blank:"blank"},p={label:"{label}",position:"{position}",total:"{total}"},P=["top","up","down","bottom"],B=u`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:flex}.dropdown{block-size:100%}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([hidden]){display:none}[hidden]{display:none}`,h=class extends b{constructor(){super(...arguments),this.disabled=!1,this.messages=v({blocking:!0}),this.moveToItems=[],this.open=!1,this.overlayPositioning="absolute",this.placement=T,this.scale="m",this.calciteSortHandleBeforeClose=i({cancelable:!1}),this.calciteSortHandleBeforeOpen=i({cancelable:!1}),this.calciteSortHandleClose=i({cancelable:!1}),this.calciteSortHandleMove=i({cancelable:!1}),this.calciteSortHandleOpen=i({cancelable:!1}),this.calciteSortHandleReorder=i({cancelable:!1})}static{this.properties={hasSetInfo:16,isSetDisabled:16,disabled:7,flipPlacements:0,label:1,messageOverrides:0,messages:0,moveToItems:0,open:7,overlayPositioning:3,placement:3,scale:3,setPosition:9,setSize:9,widthScale:3}}static{this.styles=B}get hasSetInfo(){return typeof this.setPosition=="number"&&typeof this.setSize=="number"}get isSetDisabled(){let{setPosition:e,setSize:t,moveToItems:o}=this;return this.hasSetInfo?e<1||t<1||t<2&&o.length<1:!1}async setFocus(){await $(this),this.dropdownEl?.setFocus()}willUpdate(e){e.has("open")&&(this.hasUpdated||this.open!==!1)&&this.openHandler()}updated(){f(this)}openHandler(){if(this.disabled){this.open=!1;return}this.dropdownEl&&(this.dropdownEl.open=this.open)}setDropdownEl(e){e&&(this.dropdownEl=e,this.openHandler())}getLabel(){let{label:e,messages:t,setPosition:o,setSize:s}=this;if(!this.hasSetInfo)return e??"";let n=e?t.repositionLabel.replace(p.label,e):t.reposition;return n=n.replace(p.position,o?o.toString():""),n.replace(p.total,s?s.toString():"")}handleBeforeOpen(e){e.stopPropagation(),this.calciteSortHandleBeforeOpen.emit()}handleOpen(e){e.stopPropagation(),this.calciteSortHandleOpen.emit(),this.open=!0}handleBeforeClose(e){e.stopPropagation(),this.calciteSortHandleBeforeClose.emit()}handleClose(e){e.stopPropagation(),this.calciteSortHandleClose.emit(),this.open=!1}handleReorder(e){this.calciteSortHandleReorder.emit({reorder:e.target.dataset.value})}handleMoveTo(e){let t=e.target.dataset.id,o=this.moveToItems.find(s=>s.id===t);this.calciteSortHandleMove.emit({moveTo:o})}render(){let{disabled:e,flipPlacements:t,open:o,overlayPositioning:s,placement:n,scale:m,widthScale:y}=this,d=this.getLabel(),H=e||this.isSetDisabled;return S({disabled:e,children:a`<calcite-dropdown class=${c(D.dropdown)} .disabled=${H} .flipPlacements=${t} @calciteDropdownBeforeClose=${this.handleBeforeClose} @calciteDropdownBeforeOpen=${this.handleBeforeOpen} @calciteDropdownClose=${this.handleClose} @calciteDropdownOpen=${this.handleOpen} .overlayPositioning=${s} .placement=${n} .scale=${m} .widthScale=${y} ${w(this.setDropdownEl)}><calcite-action .active=${o} appearance=transparent class=${c(D.handle)} .dragHandle=${!0} .icon=${e?I.blank:I.drag} .label=${d} .scale=${m} slot=trigger .text=${d} title=${d??l}></calcite-action>${this.renderGroup()}${this.renderMoveToGroup()}</calcite-dropdown>`})}renderMoveToItem(e){return r(e.id,a`<calcite-dropdown-item data-id=${e.id??l} .label=${e.label} @calciteDropdownItemSelect=${this.handleMoveTo}>${e.label}</calcite-dropdown-item>`)}renderGroup(){return this.hasSetInfo?r("reorder",a`<calcite-dropdown-group .groupTitle=${this.messages.reorder} .scale=${this.scale} selection-mode=none>${this.renderTop()}${this.renderUp()}${this.renderDown()}${this.renderBottom()}</calcite-dropdown-group>`):null}renderMoveToGroup(){let{messages:e,moveToItems:t,scale:o}=this;return t.length?r("move-to-items",a`<calcite-dropdown-group .groupTitle=${e.moveTo} .scale=${o} selection-mode=none>${t.map(s=>this.renderMoveToItem(s))}</calcite-dropdown-group>`):null}renderDropdownItem(e,t){return r(P[e],a`<calcite-dropdown-item data-value=${P[e]??l} .label=${t} @calciteDropdownItemSelect=${this.handleReorder}>${t}</calcite-dropdown-item>`)}renderTop(){let{setPosition:e}=this;return e!==1&&e!==2?this.renderDropdownItem(0,this.messages.moveToTop):null}renderUp(){return this.setPosition!==1?this.renderDropdownItem(1,this.messages.moveUp):null}renderDown(){return this.setPosition!==this.setSize?this.renderDropdownItem(2,this.messages.moveDown):null}renderBottom(){let{setPosition:e,setSize:t}=this;return e!==t&&e!==t-1?this.renderDropdownItem(3,this.messages.moveToBottom):null}};g("calcite-sort-handle",h);export{h as SortHandle};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
+
v3.2.0-next.3 */
|
|
4
|
+
import{b as P}from"./2A5NKXER.js";import"./CZUK3CJY.js";import{b as O}from"./LAN4HH7O.js";import"./5JITGPIN.js";import{a as E}from"./UXILBU2G.js";import{a as y,b as B}from"./NSSKOFQH.js";import{a as s}from"./WO3LPDXJ.js";import"./GHDEJX5N.js";import{a as w}from"./FDGPGEXX.js";import{b as S}from"./64PDALZJ.js";import{n as H,u as d}from"./4IUJG32P.js";import{d as C}from"./PPEST4DH.js";import{a as b}from"./2RXKSLXC.js";import"./RXHNKSYE.js";import{H as k,e as $,f as i,j as u,v as c,w as x,x as a}from"./METBU7KA.js";var l={content:"content",toggle:"toggle",header:"header"},t={actionsEnd:"actions-end",container:"container",content:"content",contentStart:"content-start",controlContainer:"control-container",description:"description",header:"header",headerContainer:"header-container",headerHasText:"header--has-text",heading:"heading",icon:"icon",iconStart:"icon--start",iconEnd:"icon--end",iconEndContainer:"icon-end-container",invalid:"invalid",statusIcon:"status-icon",title:"title",toggle:"toggle",toggleIcon:"toggle-icon",valid:"valid"},h={actionsEnd:"actions-end",contentStart:"content-start",control:"control",headerMenuActions:"header-menu-actions",icon:"icon"},v={expanded:"chevron-up",collapsed:"chevron-down",valid:"check-circle",invalid:"exclamation-mark-triangle"},U=$`:host{box-sizing:border-box;background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:host{--calcite-icon-size: 1rem;--calcite-spacing-eighth: .125rem;--calcite-spacing-quarter: .25rem;--calcite-spacing-half: .5rem;--calcite-spacing-three-quarters: .75rem;--calcite-spacing: 1rem;--calcite-spacing-plus-quarter: 1.25rem;--calcite-spacing-plus-half: 1.5rem;--calcite-spacing-double: 2rem;--calcite-menu-min-width: 10rem;--calcite-header-min-height: 3rem;--calcite-footer-min-height: 3rem}:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:flex;flex-shrink:0;flex-grow:0;flex-direction:column;border-width:0px;border-block-end-width:1px;border-style:solid;padding:0;transition-property:margin;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s;transition-timing-function:cubic-bezier(.215,.44,.42,.88);flex-basis:auto;transition-duration:var(--calcite-animation-timing);border-color:var(--calcite-block-border-color, var(--calcite-color-border-3))}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}.header{margin:0;display:flex;align-content:space-between;align-items:center;fill:var(--calcite-color-text-2);color:var(--calcite-color-text-2)}.heading{margin:0;padding:0;font-weight:var(--calcite-font-weight-medium)}.header .heading{flex:1 1 auto;padding:.5rem}.header{justify-content:flex-start}.header--has-text{padding:var(--calcite-spacing-md)}.header,.toggle{grid-area:header}.header-container{display:grid;align-items:stretch;grid-template:auto/auto 1fr auto auto;grid-template-areas:"handle header control menu actions-end";grid-column:header-start/actions-end;grid-row:1/2}.content-start,.icon,.icon--start,.icon--end{margin-inline-end:var(--calcite-spacing-md)}.icon calcite-loader{margin-inline-end:var(--calcite-spacing-xxxs)}.icon--start,.icon--end{color:var(--calcite-block-text-color, var(--calcite-color-text-3))}.actions-end{grid-area:actions-end}.toggle{margin:0;display:flex;cursor:pointer;flex-wrap:nowrap;align-items:center;justify-content:space-between;border-style:none;padding:0;font-family:var(--calcite-font-family);outline-color:transparent;text-align:initial;background-color:var(--calcite-block-header-background-color, transparent)}.toggle:hover{background-color:var(--calcite-block-header-background-color-hover, var(--calcite-color-foreground-2))}.toggle:focus{outline:2px solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(-2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}.toggle:active{background-color:var(--calcite-block-header-background-color-press, var(--calcite-color-foreground-3))}calcite-loader[inline]{grid-area:control;align-self:center}calcite-handle{grid-area:handle}.title{margin:0}.header .title .heading{padding:0;font-size:var(--calcite-font-size--1);font-weight:var(--calcite-font-weight-medium);line-height:1.25;transition-property:color;transition-duration:.15s;transition-timing-function:cubic-bezier(.4,0,.2,1);word-wrap:break-word;word-break:break-word;color:var(--calcite-block-heading-text-color, var(--calcite-color-text-2))}.description{margin-block-start:.125rem;padding:0;font-size:var(--calcite-font-size--2);line-height:1.375;word-wrap:break-word;word-break:break-word;color:var(--calcite-block-text-color, var(--calcite-color-text-3))}.icon{display:flex}.status-icon.valid{color:var(--calcite-color-status-success)}.status-icon.invalid{color:var(--calcite-color-status-danger)}@keyframes spin{0%{transform:rotate(0)}50%{transform:rotate(180deg)}to{transform:rotate(360deg)}}.icon-end-container{display:flex;align-items:center;margin-inline-start:auto}.toggle-icon{align-self:center;justify-self:end;transition-property:color;transition-duration:.15s;transition-timing-function:cubic-bezier(.4,0,.2,1);margin-inline-end:var(--calcite-spacing-md);color:var(--calcite-block-text-color, var(--calcite-color-text-3))}.toggle:hover .toggle-icon{color:var(--calcite-block-heading-text-color-press, var(--calcite-color-text-1))}.container{position:relative;display:flex;block-size:100%;flex-direction:column}.content{position:relative;min-block-size:0px;flex:1 1 0%}@keyframes in{0%{opacity:0}to{opacity:1}}.content{animation:in var(--calcite-internal-animation-timing-slow) ease-in-out;padding-block:var(--calcite-block-padding, var(--calcite-spacing-sm));padding-inline:var(--calcite-block-padding, var(--calcite-spacing-md))}.content-start{display:flex;align-items:center;color:var(--calcite-block-text-color, var(--calcite-color-text-3))}.control-container{margin:0;display:flex;grid-area:control}calcite-action-menu{grid-area:menu}.actions-end{display:flex;align-items:stretch}:host([expanded]){margin-block:.5rem}:host([expanded]) .header .title .heading{color:var(--calcite-block-heading-text-color-press, var(--calcite-color-text-1))}:host([expanded]) .description{color:var(--calcite-block-text-color, var(--calcite-color-text-2))}:host([expanded]) .icon--start,:host([expanded]) .icon--end{color:var(--calcite-block-text-color, var(--calcite-color-text-1))}:host([hidden]){display:none}[hidden]{display:none}`,f=class extends x{constructor(){super(...arguments),this.transitionProp="margin-top",this.hasContentStart=!1,this.hasControl=!1,this.hasEndActions=!1,this.hasIcon=!1,this.hasMenuActions=!1,this.collapsible=!1,this.disabled=!1,this.dragDisabled=!1,this.dragHandle=!1,this.expanded=!1,this.loading=!1,this.menuPlacement=O,this.messages=w(),this.moveToItems=[],this.overlayPositioning="absolute",this.setPosition=null,this.setSize=null,this.sortHandleOpen=!1,this.calciteBlockBeforeClose=c({cancelable:!1}),this.calciteBlockBeforeOpen=c({cancelable:!1}),this.calciteBlockClose=c({cancelable:!1}),this.calciteBlockOpen=c({cancelable:!1}),this.calciteBlockSortHandleBeforeClose=c({cancelable:!1}),this.calciteBlockSortHandleBeforeOpen=c({cancelable:!1}),this.calciteBlockSortHandleClose=c({cancelable:!1}),this.calciteBlockSortHandleOpen=c({cancelable:!1}),this.calciteBlockToggle=c({cancelable:!1})}static{this.properties={hasContentStart:16,hasControl:16,hasEndActions:16,hasIcon:16,hasMenuActions:16,collapsible:7,description:1,disabled:7,dragDisabled:7,dragHandle:7,expanded:7,heading:1,headingLevel:11,iconEnd:3,iconFlipRtl:3,iconStart:3,loading:7,label:1,menuFlipPlacements:0,menuPlacement:3,messageOverrides:0,moveToItems:0,open:7,overlayPositioning:3,setPosition:9,setSize:9,sortHandleOpen:7,status:3}}static{this.styles=U}get open(){return this.expanded}set open(e){b.deprecated("property",{name:"open",removalVersion:4,suggested:"expanded"}),this.expanded=e}async setFocus(){await C(this),H(this.el)}connectedCallback(){super.connectedCallback(),this.transitionEl=this.el}load(){!this.heading&&!this.label&&b.warn(`${this.el.tagName} is missing both heading & label. Please provide a heading or label for the component to be accessible.`)}willUpdate(e){e.has("expanded")&&(this.hasUpdated||this.expanded!==!1)&&E(this),e.has("sortHandleOpen")&&(this.hasUpdated||this.sortHandleOpen!==!1)&&this.sortHandleOpenHandler()}updated(){y(this)}onBeforeOpen(){this.calciteBlockBeforeOpen.emit()}onOpen(){this.calciteBlockOpen.emit()}onBeforeClose(){this.calciteBlockBeforeClose.emit()}onClose(){this.calciteBlockClose.emit()}sortHandleOpenHandler(){this.sortHandleEl&&(this.sortHandleEl.open=this.sortHandleOpen)}setSortHandleEl(e){this.sortHandleEl=e,this.sortHandleOpenHandler()}handleSortHandleBeforeOpen(e){e.stopPropagation(),this.calciteBlockSortHandleBeforeOpen.emit()}handleSortHandleBeforeClose(e){e.stopPropagation(),this.calciteBlockSortHandleBeforeClose.emit()}handleSortHandleClose(e){e.stopPropagation(),this.sortHandleOpen=!1,this.calciteBlockSortHandleClose.emit()}handleSortHandleOpen(e){e.stopPropagation(),this.sortHandleOpen=!0,this.calciteBlockSortHandleOpen.emit()}onHeaderClick(){this.expanded=!this.expanded,this.calciteBlockToggle.emit()}controlSlotChangeHandler(e){this.hasControl=d(e)}menuActionsSlotChangeHandler(e){this.hasMenuActions=d(e)}iconSlotChangeHandler(e){this.hasIcon=d(e)}actionsEndSlotChangeHandler(e){this.hasEndActions=d(e)}handleContentStartSlotChange(e){this.hasContentStart=d(e)}renderScrim(){let{loading:e}=this,n=i`<slot></slot>`;return[e?i`<calcite-scrim .loading=${e}></calcite-scrim>`:null,n]}renderLoaderStatusIcon(){let{loading:e,messages:n,status:o}=this;return e?s("loader",i`<div class=${a(t.icon)}><calcite-loader inline .label=${n.loading}></calcite-loader></div>`):o?s("status-icon",i`<div class=${a(t.icon)}><calcite-icon class=${a({[t.statusIcon]:!0,[t.valid]:o=="valid",[t.invalid]:o=="invalid"})} .icon=${v[o]} scale=s></calcite-icon></div>`):s("icon-slot",i`<div class=${a(t.icon)} .hidden=${!this.hasIcon}>${s("icon-slot",i`<slot name=${h.icon} @slotchange=${this.iconSlotChangeHandler}></slot>`)}</div>`)}renderActionsEnd(){return i`<div class=${a(t.actionsEnd)} .hidden=${!this.hasEndActions}><slot name=${h.actionsEnd} @slotchange=${this.actionsEndSlotChangeHandler}></slot></div>`}renderContentStart(){return i`<div class=${a(t.contentStart)} .hidden=${!this.hasContentStart}><slot name=${h.contentStart} @slotchange=${this.handleContentStartSlotChange}></slot></div>`}renderTitle(){let{heading:e,headingLevel:n,description:o}=this;return e||o?i`<div class=${a(t.title)}>${P({class:t.heading,level:n,children:e})}${o?i`<div class=${a(t.description)}>${o}</div>`:null}</div>`:null}renderIcon(e){let{iconFlipRtl:n}=this,o=n==="both"||e==="start"?n==="start":n==="end",r=e==="start"?this.iconStart:this.iconEnd,g=e==="start"?t.iconStart:t.iconEnd;if(r)return s(r,i`<calcite-icon class=${a(g)} .flipRtl=${o} .icon=${r} scale=s></calcite-icon>`)}render(){let{collapsible:e,loading:n,expanded:o,label:r,heading:g,messages:p,description:z,menuFlipPlacements:I,menuPlacement:A,moveToItems:T,setPosition:M,setSize:F,dragDisabled:L}=this,j=o?p.collapse:p.expand,m=i`<header class=${a({[t.header]:!0,[t.headerHasText]:!!(g||z)})} id=${l.header}>${this.renderIcon("start")}${this.renderContentStart()}${this.renderLoaderStatusIcon()}${this.renderTitle()}</header>`,D=o?v.expanded:v.collapsed,R=i`<div class=${a(t.headerContainer)}>${this.dragHandle?i`<calcite-sort-handle .disabled=${L} .label=${g||r} .moveToItems=${T} @calciteSortHandleBeforeClose=${this.handleSortHandleBeforeClose} @calciteSortHandleBeforeOpen=${this.handleSortHandleBeforeOpen} @calciteSortHandleClose=${this.handleSortHandleClose} @calciteSortHandleOpen=${this.handleSortHandleOpen} overlay-positioning=fixed .setPosition=${M} .setSize=${F} ${S(this.setSortHandleEl)}></calcite-sort-handle>`:null}${e?i`<button aria-controls=${l.content} aria-describedby=${l.header} .ariaExpanded=${e?o:null} class=${a(t.toggle)} id=${l.toggle} @click=${this.onHeaderClick} title=${j??u}>${m}<div class=${a(t.iconEndContainer)}>${this.renderIcon("end")}<calcite-icon class=${a(t.toggleIcon)} .icon=${D} scale=s></calcite-icon></div></button>`:this.iconEnd?i`<div>${m}<div class=${a(t.iconEndContainer)}>${this.renderIcon("end")}</div></div>`:m}<div aria-labelledby=${l.header} class=${a(t.controlContainer)} .hidden=${!this.hasControl}><slot name=${h.control} @slotchange=${this.controlSlotChangeHandler}></slot></div><calcite-action-menu .flipPlacements=${I??["top","bottom"]} .hidden=${!this.hasMenuActions} .label=${p.options} .overlayPositioning=${this.overlayPositioning} .placement=${A}><slot name=${h.headerMenuActions} @slotchange=${this.menuActionsSlotChangeHandler}></slot></calcite-action-menu>${this.renderActionsEnd()}</div>`;return B({disabled:this.disabled,children:i`<article aria-label=${r??u} .ariaBusy=${n} class=${a({[t.container]:!0})}>${R}<section aria-labelledby=${l.toggle} class=${a(t.content)} .hidden=${!o} id=${l.content}>${this.renderScrim()}</section></article>`})}};k("calcite-block",f);export{f as Block};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
+
v3.2.0-next.3 */
|
|
4
|
+
import{a,b as x,d as m,e as I}from"./CS2QJFNS.js";import{a as R,e as F,g as G}from"./4INL7WE7.js";import{a as P,b as T}from"./NSSKOFQH.js";import{a as d}from"./WO3LPDXJ.js";import{a as U}from"./FDGPGEXX.js";import{a as b,b as f}from"./64PDALZJ.js";import{e as B,m as M,u as C}from"./4IUJG32P.js";import{a as $,d as O}from"./PPEST4DH.js";import{a as D}from"./2RXKSLXC.js";import"./RXHNKSYE.js";import{H as z,e as H,f as l,j as k,v as r,w as A,x as i}from"./METBU7KA.js";var Q=H`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:flex;flex-direction:column}:host([filter-hidden]),:host([closed]){display:none}.wrapper--bordered{border-block-end:1px solid var(--calcite-list-border-color, var(--calcite-color-border-3))}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}.container{box-sizing:border-box;display:flex;flex:1 1 0%;overflow:hidden;background-color:var(--calcite-list-background-color, var(--calcite-color-foreground-1))}.container *{box-sizing:border-box}.container--hover:hover{cursor:pointer;background-color:var(--calcite-list-background-color-hover, var(--calcite-color-foreground-2))}.container:active{background-color:var(--calcite-list-background-color-press, var(--calcite-color-foreground-3))}.container--border{position:relative}.container--border:before{position:absolute;inline-size:var(--calcite-border-width-lg);inset-block:0;inset-inline-start:0;background-color:transparent;content:""}.container--border-selected:before{background-color:var(--calcite-list-selection-border-color, var(--calcite-color-brand))}.nested-container{display:none;flex-direction:column;border-width:0px;border-style:solid;border-color:1px solid var(--calcite-list-border-color, var(--calcite-color-border-3));margin-inline-start:var(--calcite-list-spacing-indent, 1.5rem)}.nested-container--expanded{display:flex}.selection-container{display:flex;padding-block:0px;color:var(--calcite-list-icon-color, var(--calcite-color-border-input))}:host(:not([disabled]):not([selected])) .container:hover .selection-container--single{color:var(--calcite-list-icon-color, var(--calcite-color-border-input))}:host([selected]:hover) .selection-container,:host([selected]:hover) .selection-container--single,:host([selected]) .selection-container{color:var(--calcite-list-icon-color, var(--calcite-color-brand))}.content-container-wrapper{display:flex;flex:1 1 auto}.content-container-wrapper--bordered{border-block-end:1px solid var(--calcite-list-border-color, var(--calcite-color-border-3))}.content-container{display:flex;flex:1 1 auto;-webkit-user-select:none;user-select:none;align-items:stretch;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-list-content-text-color, var(--calcite-color-text-2))}.content-container--unavailable{opacity:var(--calcite-opacity-disabled)}.row,.grid-cell{outline-color:transparent}.row{position:relative}.row:focus,.grid-cell:focus{outline:2px solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(-2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}.content,.custom-content{display:flex;flex:1 1 auto;flex-direction:column;justify-content:center;line-height:var(--calcite-font-line-height-relative-snug)}.label{color:var(--calcite-list-label-text-color, var(--calcite-color-text-1))}.description{color:var(--calcite-list-description-text-color, var(--calcite-color-text-3))}.icon{align-self:center;color:var(--calcite-list-icon-color, var(--calcite-color-text-3))}.icon:hover,.icon:active{color:var(--calcite-color-text-1)}:host([display-mode=flat][drag-handle]:is([selection-mode=none],[selection-appearance=border])) .drag-container{padding-inline-end:var(--calcite-spacing-xxs)}:host([scale=s]) .actions-start{padding-inline-end:var(--calcite-spacing-sm)}:host([scale=s]) .content-container{gap:var(--calcite-spacing-sm);min-block-size:32px;padding-block:var(--calcite-spacing-xxs);padding-inline-end:var(--calcite-spacing-sm)}:host([scale=s]) .content,:host([scale=s]) .custom-content,:host([scale=s]) .label{font-size:var(--calcite-font-size--2)}:host([scale=s]) .description{font-size:var(--calcite-font-size--3)}:host([scale=s][display-mode=flat]:not([drag-handle])) .container{padding-inline-start:var(--calcite-spacing-sm)}:host([scale=s][display-mode=flat]:not([drag-handle])) .selection-container{padding-inline-end:var(--calcite-spacing-sm)}:host([scale=s][display-mode=flat][drag-handle]) .selection-container{padding-inline:var(--calcite-spacing-xxs) var(--calcite-spacing-sm)}:host([scale=s][display-mode=nested]) .selection-container{padding-inline-end:var(--calcite-spacing-xxs)}:host([scale=s][display-mode=nested][selection-appearance=icon]:not([selection-mode=none]):not([drag-handle])) .container{padding-inline-start:var(--calcite-spacing-sm)}:host([scale=s][display-mode=nested][selection-appearance=icon]:not([selection-mode=none]):not([drag-handle])) .selection-container{padding-inline-end:var(--calcite-spacing-xxs)}:host([scale=s][display-mode=nested][drag-handle]) .selection-container{padding-inline:var(--calcite-spacing-xxs)}:host([scale=m]) .actions-start{padding-inline-end:var(--calcite-spacing-sm)}:host([scale=m]) .content-container{gap:var(--calcite-spacing-sm);min-block-size:40px;padding-block:var(--calcite-spacing-sm);padding-inline-end:var(--calcite-spacing-md)}:host([scale=m]) .content,:host([scale=m]) .custom-content{font-size:var(--calcite-font-size--2)}:host([scale=m]) .label{font-size:var(--calcite-font-size--1)}:host([scale=m]) .description{font-size:var(--calcite-font-size--2)}:host([scale=m][display-mode=flat]) .container{padding-inline-start:var(--calcite-spacing-md)}:host([scale=m][display-mode=flat]) .selection-container{padding-inline-end:var(--calcite-spacing-sm)}:host([scale=m][display-mode=flat][drag-handle]) .container{padding-inline-start:0}:host([scale=m][display-mode=flat][drag-handle]) .selection-container{padding-inline:var(--calcite-spacing-xxs) var(--calcite-spacing-sm)}:host([scale=m][display-mode=nested]) .container{padding-inline-start:var(--calcite-spacing-xxs)}:host([scale=m][display-mode=nested]) .selection-container{padding-inline-end:var(--calcite-spacing-xxs)}:host([scale=m][display-mode=nested][selection-appearance=icon]:not([selection-mode=none]):not([drag-handle])) .container{padding-inline-start:var(--calcite-spacing-md)}:host([scale=m][display-mode=nested][drag-handle]) .container{padding-inline-start:0}:host([scale=m][display-mode=nested][drag-handle]) .selection-container{padding-inline:var(--calcite-spacing-xxs)}:host([scale=l]) .actions-start{padding-inline-end:var(--calcite-spacing-md)}:host([scale=l]) .content-container{gap:var(--calcite-spacing-md);min-block-size:56px;padding-block:.625rem;padding-inline-end:var(--calcite-spacing-lg)}:host([scale=l]) .content,:host([scale=l]) .custom-content,:host([scale=l]) .label{font-size:var(--calcite-font-size-0)}:host([scale=l]) .description{font-size:var(--calcite-font-size--1)}:host([scale=l]) .nested-container{margin-inline-start:1.75rem}:host([scale=l][display-mode=flat]) .container{padding-inline-start:var(--calcite-spacing-lg)}:host([scale=l][display-mode=flat]) .selection-container{padding-inline-end:var(--calcite-spacing-md)}:host([scale=l][display-mode=flat][drag-handle]) .container{padding-inline-start:0}:host([scale=l][display-mode=flat][drag-handle]) .selection-container{padding-inline-end:var(--calcite-spacing-md)}:host([scale=l][display-mode=nested]) .container{padding-inline-start:var(--calcite-spacing-xxs)}:host([scale=l][display-mode=nested][drag-handle]) .container{padding-inline-start:0}:host([scale=l][display-mode=nested][selection-appearance=icon]:not([selection-mode=none]):not([drag-handle])) .container{padding-inline-start:var(--calcite-spacing-lg)}.label,.description,.content-bottom{font-family:var(--calcite-font-family);font-weight:var(--calcite-font-weight-normal);word-wrap:break-word;word-break:break-word}:host([selected]) .label{font-weight:var(--calcite-font-weight-medium)}:host([selected]) .icon{color:var(--calcite-list-icon-color, var(--calcite-color-text-1))}:host([selected]) .description{color:var(--calcite-list-description-text-color, var(--calcite-color-text-2))}.content-start{justify-content:flex-start}.content-end{justify-content:flex-end}.content-start,.content-end{flex:1 1 auto}.content-start ::slotted(calcite-icon),.content-end ::slotted(calcite-icon){align-self:center}.content-bottom{display:flex;flex-direction:column}.content-container--has-center-content .content-start,.content-container--has-center-content .content-end{flex:0 1 auto}.expanded-container{color:var(--calcite-list-icon-color, var(--calcite-color-text-3));padding-inline:var(--calcite-spacing-xxs)}:host(:not([disabled])) .expanded-container:hover{color:var(--calcite-list-icon-color, var(--calcite-color-text-1))}.actions-start,.actions-end,.content-start,.content-end,.selection-container,.drag-container,.expanded-container{display:flex;align-items:center}.actions-start calcite-action,.actions-start calcite-sort-handle,.actions-end calcite-action,.actions-end calcite-sort-handle,.content-start calcite-action,.content-start calcite-sort-handle,.content-end calcite-action,.content-end calcite-sort-handle,.selection-container calcite-action,.selection-container calcite-sort-handle,.drag-container calcite-action,.drag-container calcite-sort-handle,.expanded-container calcite-action,.expanded-container calcite-sort-handle{align-self:stretch}.expanded-container,.selection-container{cursor:pointer}.actions-start,.actions-end{position:relative;padding:0}.actions-start ::slotted(calcite-action),.actions-start ::slotted(calcite-action-menu),.actions-start ::slotted(calcite-sort-handle),.actions-start ::slotted(calcite-dropdown),.actions-end ::slotted(calcite-action),.actions-end ::slotted(calcite-action-menu),.actions-end ::slotted(calcite-sort-handle),.actions-end ::slotted(calcite-dropdown){align-self:stretch;color:inherit}.row:focus .actions-start,.row:focus .actions-end{inset-block:.125rem}.row:focus .actions-start .close,.row:focus .actions-start ::slotted(calcite-action),.row:focus .actions-start ::slotted(calcite-action-menu),.row:focus .actions-start ::slotted(calcite-sort-handle),.row:focus .actions-start ::slotted(calcite-dropdown),.row:focus .actions-end .close,.row:focus .actions-end ::slotted(calcite-action),.row:focus .actions-end ::slotted(calcite-action-menu),.row:focus .actions-end ::slotted(calcite-sort-handle),.row:focus .actions-end ::slotted(calcite-dropdown){block-size:calc(100% - .25rem)}.row:focus:after,.row:focus:before{position:absolute;content:"";inline-size:.125rem;z-index:var(--calcite-z-index-header);background-color:var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));inset-block:0}.row:focus:before{inset-inline-start:0}.row:focus:after{inset-inline-end:0}.container--border:focus:before{display:none}::slotted(calcite-list:empty){border-block-start-width:0px}:host([hidden]){display:none}[hidden]{display:none}`,E=new Map,y=class extends A{constructor(){super(),this.actionsEndEl=b(),this.actionsStartEl=b(),this.containerEl=b(),this.contentEl=b(),this.defaultSlotEl=b(),this.handleGridEl=b(),this.hasActionsEnd=!1,this.hasActionsStart=!1,this.hasContentBottom=!1,this.hasContentEnd=!1,this.hasContentStart=!1,this.hasCustomContent=!1,this.level=null,this.expandable=!1,this.active=!1,this.bordered=!1,this.closable=!1,this.closed=!1,this.disabled=!1,this.dragDisabled=!1,this.dragHandle=!1,this.expanded=!1,this.filterHidden=!1,this.interactionMode=null,this.messages=U(),this.displayMode="flat",this.moveToItems=[],this.scale="m",this.selected=!1,this.selectionAppearance=null,this.selectionMode=null,this.setPosition=null,this.setSize=null,this.sortHandleOpen=!1,this.unavailable=!1,this.calciteInternalFocusPreviousItem=r({cancelable:!1}),this.calciteInternalListItemActive=r({cancelable:!1}),this.calciteInternalListItemChange=r({cancelable:!1}),this.calciteInternalListItemSelect=r({cancelable:!1}),this.calciteInternalListItemSelectMultiple=r({cancelable:!1}),this.calciteInternalListItemToggle=r({cancelable:!1}),this.calciteListItemClose=r({cancelable:!1}),this.calciteListItemSelect=r({cancelable:!1}),this.calciteListItemSortHandleBeforeClose=r({cancelable:!1}),this.calciteListItemSortHandleBeforeOpen=r({cancelable:!1}),this.calciteListItemSortHandleClose=r({cancelable:!1}),this.calciteListItemSortHandleOpen=r({cancelable:!1}),this.calciteListItemToggle=r({cancelable:!1}),this.listen("calciteInternalListItemGroupDefaultSlotChange",this.handleCalciteInternalListDefaultSlotChanges),this.listen("calciteInternalListDefaultSlotChange",this.handleCalciteInternalListDefaultSlotChanges)}static{this.properties={hasActionsEnd:16,hasActionsStart:16,hasContentBottom:16,hasContentEnd:16,hasContentStart:16,hasCustomContent:16,level:16,expandable:16,parentListEl:16,active:5,bordered:5,closable:7,closed:7,description:1,disabled:7,dragDisabled:7,dragHandle:7,expanded:7,filterHidden:7,interactionMode:1,label:1,messageOverrides:0,metadata:0,displayMode:3,moveToItems:0,open:7,scale:3,selected:7,selectionAppearance:3,selectionMode:3,setPosition:9,setSize:9,sortHandleOpen:7,unavailable:7,value:1,iconStart:3,iconEnd:3,iconFlipRtl:3}}static{this.styles=Q}get open(){return this.expanded}set open(e){D.deprecated("property",{name:"open",removalVersion:4,suggested:"expanded"}),this.expanded=e}async setFocus(){await O(this);let{containerEl:{value:e},parentListEl:t}=this,n=E.get(t);if(typeof n=="number"){let o=this.getGridCells();o[n]?this.focusCell(o[n]):e?.focus();return}e?.focus()}connectedCallback(){super.connectedCallback();let{el:e}=this;this.parentListEl=e.closest(R),this.level=G(e)+1,this.setSelectionDefaults()}willUpdate(e){e.has("active")&&(this.hasUpdated||this.active!==!1)&&this.activeHandler(this.active),e.has("closed")&&(this.hasUpdated||this.closed!==!1)&&this.handleClosedChange(),e.has("disabled")&&(this.hasUpdated||this.disabled!==!1)&&this.handleDisabledChange(),e.has("expanded")&&(this.hasUpdated||this.expanded!==!1)&&this.handleExpandedChange(),e.has("selected")&&(this.hasUpdated||this.selected!==!1)&&this.handleSelectedChange(),e.has("sortHandleOpen")&&(this.hasUpdated||this.sortHandleOpen!==!1)&&this.sortHandleOpenHandler(),e.has("displayMode")&&this.hasUpdated&&this.handleExpandableChange(this.defaultSlotEl.value)}updated(){P(this)}activeHandler(e){e||this.focusCell(null,!1)}handleClosedChange(){this.emitCalciteInternalListItemChange()}handleDisabledChange(){this.emitCalciteInternalListItemChange()}handleExpandedChange(){this.emitCalciteInternalListItemToggle()}handleSelectedChange(){this.calciteInternalListItemSelect.emit()}sortHandleOpenHandler(){this.sortHandleEl&&(this.sortHandleEl.open=this.sortHandleOpen)}handleCalciteInternalListDefaultSlotChanges(e){e.stopPropagation(),this.handleExpandableChange(this.defaultSlotEl.value)}setSortHandleEl(e){this.sortHandleEl=e,this.sortHandleOpenHandler()}handleSortHandleBeforeOpen(e){e.stopPropagation(),this.calciteListItemSortHandleBeforeOpen.emit()}handleSortHandleBeforeClose(e){e.stopPropagation(),this.calciteListItemSortHandleBeforeClose.emit()}handleSortHandleClose(e){e.stopPropagation(),this.sortHandleOpen=!1,this.calciteListItemSortHandleClose.emit()}handleSortHandleOpen(e){e.stopPropagation(),this.sortHandleOpen=!0,this.calciteListItemSortHandleOpen.emit()}emitInternalListItemActive(){this.calciteInternalListItemActive.emit()}emitCalciteInternalListItemToggle(){this.calciteInternalListItemToggle.emit()}emitCalciteInternalListItemChange(){this.calciteInternalListItemChange.emit()}handleCloseClick(){this.closed=!0,this.calciteListItemClose.emit()}handleContentSlotChange(e){this.hasCustomContent=C(e)}handleActionsStartSlotChange(e){this.hasActionsStart=C(e)}handleActionsEndSlotChange(e){this.hasActionsEnd=C(e)}handleContentStartSlotChange(e){this.hasContentStart=C(e)}handleContentEndSlotChange(e){this.hasContentEnd=C(e)}handleContentBottomSlotChange(e){this.hasContentBottom=C(e)}setSelectionDefaults(){let{parentListEl:e,selectionMode:t,selectionAppearance:n}=this;e&&(t||(this.selectionMode=e.selectionMode),n||(this.selectionAppearance=e.selectionAppearance))}handleExpandableChange(e){if(!e)return;let t=F(e);t.lists.forEach(n=>{n.displayMode=this.displayMode}),this.expandable=this.displayMode==="nested"&&(t.lists.length>0||t.items.length>0)}handleDefaultSlotChange(e){this.handleExpandableChange(e.target)}handleToggleClick(){this.toggle()}toggle(e=!this.expanded){this.expanded=e,this.calciteListItemToggle.emit()}handleItemClick(e){e.defaultPrevented||this.toggleSelected(e.shiftKey)}async toggleSelected(e){let{selectionMode:t,selected:n}=this;this.disabled||(t==="multiple"||t==="single"?this.selected=!n:t==="single-persist"&&(this.selected=!0),this.calciteInternalListItemSelectMultiple.emit({selectMultiple:e&&t==="multiple"}),await this.updateComplete,this.calciteListItemSelect.emit())}getGridCells(){return[this.handleGridEl.value,this.actionsStartEl.value,this.contentEl.value,this.actionsEndEl.value].filter(e=>e&&!e.hidden)}handleItemKeyDown(e){if(e.defaultPrevented)return;let{key:t}=e,n=e.composedPath(),{containerEl:{value:o},actionsStartEl:{value:h},actionsEndEl:{value:s},expanded:u,expandable:v}=this,c=this.getGridCells(),p=c.findIndex(g=>n.includes(g));if(t==="Enter"&&!n.includes(h)&&!n.includes(s))e.preventDefault(),this.toggleSelected(e.shiftKey);else if(t==="ArrowRight"){e.preventDefault();let g=p+1;p===-1?!u&&v?(this.toggle(!0),this.focusCell(null)):c[0]&&this.focusCell(c[0]):c[p]&&c[g]&&this.focusCell(c[g])}else if(t==="ArrowLeft"){e.preventDefault();let g=p-1;p===-1?(this.focusCell(null),u&&v?this.toggle(!1):this.calciteInternalFocusPreviousItem.emit()):p===0?(this.focusCell(null),o.focus()):c[p]&&c[g]&&this.focusCell(c[g])}}focusCellNull(){this.focusCell(null)}setFocusCell(e,t,n){let{parentListEl:o}=this;n&&E.set(o,null);let h=this.getGridCells();h.forEach(s=>{s.removeAttribute("tabindex"),s.removeAttribute(I)}),e&&(e===t?e.tabIndex=0:e.removeAttribute("tabindex"),e.setAttribute(I,""),n&&E.set(o,h.indexOf(e)))}focusCell(e,t=!0){let n=M(e);this.setFocusCell(e,n,t),n?.focus()}renderSelected(){let{selected:e,selectionMode:t,selectionAppearance:n}=this;return t==="none"||n==="border"?null:d("selection-container",l`<div class=${i({[a.selectionContainer]:!0,[a.selectionContainerSingle]:t==="single"||t==="single-persist"})} @click=${this.handleItemClick}><calcite-icon .icon=${e?t==="multiple"?m.selectedMultiple:m.selectedSingle:t==="multiple"?m.unselectedMultiple:m.unselectedSingle} .scale=${$(this.scale)}></calcite-icon></div>`)}renderDragHandle(){let{label:e,dragHandle:t,dragDisabled:n,setPosition:o,setSize:h,moveToItems:s}=this;return t?d("drag-handle-container",l`<div .ariaLabel=${e} class=${i({[a.dragContainer]:!0,[a.gridCell]:!0})} role=gridcell ${f(this.handleGridEl)}><calcite-sort-handle .disabled=${n} .label=${e} .moveToItems=${s} @calciteSortHandleBeforeClose=${this.handleSortHandleBeforeClose} @calciteSortHandleBeforeOpen=${this.handleSortHandleBeforeOpen} @calciteSortHandleClose=${this.handleSortHandleClose} @calciteSortHandleOpen=${this.handleSortHandleOpen} overlay-positioning=fixed .scale=${this.scale} .setPosition=${o} .setSize=${h} ${f(this.setSortHandleEl)}></calcite-sort-handle></div>`):null}renderExpanded(){let{el:e,expanded:t,expandable:n,messages:o,displayMode:h,scale:s}=this;if(h!=="nested")return null;let u=B(e),v=n?t?m.open:u==="rtl"?m.collapsedRTL:m.collapsedLTR:m.blank,c=$(s),p=n?t?o.collapse:o.expand:void 0,g=n?this.handleToggleClick:void 0;return d("expanded-container",l`<div class=${i(a.expandedContainer)} @click=${g} title=${p??k}>${d(v,l`<calcite-icon .icon=${v} .scale=${c}></calcite-icon>`)}</div>`)}renderActionsStart(){let{label:e,hasActionsStart:t}=this;return d("actions-start-container",l`<div .ariaLabel=${e} class=${i({[a.actionsStart]:!0,[a.gridCell]:!0})} .hidden=${!t} role=gridcell ${f(this.actionsStartEl)}><slot name=${x.actionsStart} @slotchange=${this.handleActionsStartSlotChange}></slot></div>`)}renderActionsEnd(){let{label:e,hasActionsEnd:t,closable:n,messages:o}=this;return d("actions-end-container",l`<div .ariaLabel=${e} class=${i({[a.actionsEnd]:!0,[a.gridCell]:!0})} .hidden=${!(t||n)} role=gridcell ${f(this.actionsEndEl)}><slot name=${x.actionsEnd} @slotchange=${this.handleActionsEndSlotChange}></slot>${n?d("close-action",l`<calcite-action appearance=transparent class=${i(a.close)} .icon=${m.close} .label=${o.close} @click=${this.handleCloseClick} .scale=${this.scale} .text=${o.close}></calcite-action>`):null}</div>`)}renderContentStart(){let{hasContentStart:e}=this;return l`<div class=${i(a.contentStart)} .hidden=${!e}><slot name=${x.contentStart} @slotchange=${this.handleContentStartSlotChange}></slot></div>`}renderCustomContent(){let{hasCustomContent:e}=this;return l`<div class=${i(a.customContent)} .hidden=${!e}><slot name=${x.content} @slotchange=${this.handleContentSlotChange}></slot></div>`}renderIconStart(){let{iconStart:e,iconFlipRtl:t,scale:n}=this;return e?d("icon-start",l`<calcite-icon class=${i(a.icon)} .flipRtl=${t==="both"||t==="start"} .icon=${e} .scale=${$(n)}></calcite-icon>`):null}renderIconEnd(){let{iconEnd:e,iconFlipRtl:t,scale:n}=this;return e?d("icon-end",l`<calcite-icon class=${i(a.icon)} .flipRtl=${t==="both"||t==="end"} .icon=${e} .scale=${$(n)}></calcite-icon>`):null}renderContentEnd(){let{hasContentEnd:e}=this;return l`<div class=${i(a.contentEnd)} .hidden=${!e}><slot name=${x.contentEnd} @slotchange=${this.handleContentEndSlotChange}></slot></div>`}renderContentBottom(){let{hasContentBottom:e}=this;return l`<div class=${i(a.contentBottom)} .hidden=${!e}><slot name=${x.contentBottom} @slotchange=${this.handleContentBottomSlotChange}></slot></div>`}renderDefaultContainer(){return l`<div class=${i({[a.nestedContainer]:!0,[a.nestedContainerExpanded]:this.expandable&&this.expanded})}><slot @slotchange=${this.handleDefaultSlotChange} ${f(this.defaultSlotEl)}></slot></div>`}renderContentProperties(){let{label:e,description:t,hasCustomContent:n}=this;return!n&&(e||t)?d("content",l`<div class=${i(a.content)}>${e?d("label",l`<div class=${i(a.label)}>${e}</div>`):null}${t?d("description",l`<div class=${i(a.description)}>${t}</div>`):null}</div>`):null}renderContentContainer(){let{description:e,label:t,selectionMode:n,hasCustomContent:o,unavailable:h}=this,s=o||!!t||!!e,u=[this.renderContentStart(),this.renderCustomContent(),this.renderIconStart(),this.renderContentProperties(),this.renderIconEnd(),this.renderContentEnd()];return d("content-container",l`<div .ariaLabel=${t} class=${i({[a.gridCell]:!0,[a.contentContainer]:!0,[a.contentContainerUnavailable]:h,[a.contentContainerSelectable]:n!=="none",[a.contentContainerHasCenterContent]:s})} @click=${this.handleItemClick} role=gridcell ${f(this.contentEl)}>${u}</div>`)}render(){let{expandable:e,expanded:t,level:n,active:o,label:h,selected:s,selectionAppearance:u,selectionMode:v,interactionMode:c,closed:p,filterHidden:g,bordered:w,disabled:K,hasContentBottom:L}=this,j=w&&L,N=w&&!L,S=v!=="none"&&u==="border",W=S&&s,V=S&&!s,q=c==="interactive"||c==="static"&&v!=="none"&&u==="border";return T({disabled:K,children:l`<div class=${i({[a.wrapper]:!0,[a.wrapperBordered]:j})}><div .ariaExpanded=${e?t:null} .ariaLabel=${h} .ariaLevel=${n} .ariaSelected=${s} class=${i({[a.row]:!0,[a.container]:!0,[a.containerHover]:q,[a.containerBorder]:S,[a.containerBorderSelected]:W,[a.containerBorderUnselected]:V})} .hidden=${p||g} @focus=${this.focusCellNull} @focusin=${this.emitInternalListItemActive} @keydown=${this.handleItemKeyDown} role=row .tabIndex=${o?0:-1} ${f(this.containerEl)}>${this.renderDragHandle()}${this.renderSelected()}${this.renderExpanded()}<div class=${i({[a.contentContainerWrapper]:!0,[a.contentContainerWrapperBordered]:N})}>${this.renderActionsStart()}${this.renderContentContainer()}${this.renderActionsEnd()}</div></div>${this.renderContentBottom()}</div>${this.renderDefaultContainer()}`})}};z("calcite-list-item",y);export{y as ListItem};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
+
v3.2.0-next.3 */
|
|
4
|
+
import{b as p}from"./64PDALZJ.js";import{v as m,w as u}from"./4IUJG32P.js";import"./RXHNKSYE.js";import{H as b,e as c,f as n,w as h}from"./METBU7KA.js";var f={titleGroup:"title-group"},g=c`:host{display:flex;flex-direction:column}:host([bordered]){box-shadow:inset 0 1px 0 var(--calcite-color-border-1);background-color:var(--calcite-color-foreground-1)}:host([bordered]) section{border-width:1px;border-style:solid;border-color:var(--calcite-color-border-1)}:host([bordered][position=bottom]){box-shadow:inset 0 1px 0 var(--calcite-color-border-1),inset 0 -1px 0 var(--calcite-color-border-1)}:host([bordered]:not([position=bottom])) ::slotted(calcite-tab-nav){margin-block-end:-1px}:host([bordered][scale=s]) section{padding:.75rem}:host([bordered][scale=m]) section{padding:.5rem}:host([bordered][scale=l]) section{padding:1rem}:host([position=bottom]){flex-direction:column-reverse}section{display:flex;flex-grow:1;overflow:hidden;border-block-start-width:1px;border-block-start-color:var(--calcite-color-border-1);border-block-start-style:solid}:host([position=bottom]) section{flex-direction:column-reverse;border-block-start-width:0px;border-block-end-width:1px;border-block-end-color:var(--calcite-color-border-1)}:host([position=bottom]:not([bordered])) section{border-block-end-style:solid}@media (forced-colors: active){:host([bordered]) section{border-block-start-width:0px;border-block-end-width:1px}:host([position=bottom][bordered]) section{border-block-start-width:1px;border-block-end-width:0px}}:host([hidden]){display:none}[hidden]{display:none}`,d=class extends h{constructor(){super(),this.tabs=[],this.titles=[],this.bordered=!1,this.layout="inline",this.position="top",this.scale="m",this.listen("calciteInternalTabNavSlotChange",this.calciteInternalTabNavSlotChangeHandler)}static{this.properties={tabs:16,titles:16,bordered:5,layout:3,position:3,scale:3}}static{this.styles=g}connectedCallback(){super.connectedCallback(),this.updateItems()}load(){this.updateItems()}willUpdate(e){(e.has("position")&&(this.hasUpdated||this.position!=="top")||e.has("scale")&&(this.hasUpdated||this.scale!=="m"))&&this.updateItems(),(e.has("titles")||e.has("tabs"))&&this.hasUpdated&&this.titles?.length>0&&this.tabs?.length>0&&(this.updateAriaSettings(),this.updateItems())}calciteInternalTabNavSlotChangeHandler(e){e.stopPropagation(),e.detail.length!==this.titles.length&&(this.titles=e.detail)}defaultSlotChangeHandler(e){this.tabs=m(e,"calcite-tab")}async updateAriaSettings(){await this.componentOnReady();let e,i,o=u(this.slotEl,"calcite-tab");if(o.some(t=>t.tab)||this.titles.some(t=>t.tab))e=o.sort((t,a)=>t.tab.localeCompare(a.tab)).map(t=>t.id),i=this.titles.sort((t,a)=>t.tab.localeCompare(a.tab)).map(t=>t.id);else{let t=await Promise.all(o.map(s=>s.getTabIndex())),a=await Promise.all(this.titles.map(s=>s.getTabIndex()));e=t.reduce((s,r,l)=>(s[r]=o[l].id,s),[]),i=a.reduce((s,r,l)=>(s[r]=this.titles[l].id,s),[])}o.forEach(t=>t._updateAriaInfo(e,i)),this.titles.forEach(t=>t._updateAriaInfo(e,i))}updateItems(){let{position:e,scale:i}=this,o=this.el.querySelector("calcite-tab-nav");o&&(o.position=e,o.scale=i),Array.from(this.el.querySelectorAll("calcite-tab")).forEach(t=>{t.parentElement===this.el&&(t.scale=i)}),Array.from(this.el.querySelectorAll("calcite-tab-nav > calcite-tab-title")).forEach(t=>{t.position=e,t.scale=i})}setDefaultSlotRef(e){this.slotEl=e}render(){return n`<slot name=${f.titleGroup}></slot><section><slot @slotchange=${this.defaultSlotChangeHandler} ${p(this.setDefaultSlotRef)}></slot></section>`}};b("calcite-tabs",d);export{d as Tabs};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
+
v3.2.0-next.3 */
|
|
4
|
+
import{a as X}from"./ZBOF63PN.js";import{a as T,b as v,c as W,d as A,e as U,k as o}from"./LFCMK2LO.js";import{a as Q}from"./DZXI6LPH.js";import{a as R,c as q,e as G,g as z,h as J}from"./Q65WDY5Y.js";import{c as L,d as K,e as _}from"./MT2XNPI4.js";import{a as D,b as j}from"./NSSKOFQH.js";import{a as S}from"./WO3LPDXJ.js";import{b as M}from"./EONWLGV2.js";import{a as P}from"./FDGPGEXX.js";import{a as k,b as y}from"./64PDALZJ.js";import{e as C,p as w,x as I}from"./4IUJG32P.js";import{a as f,d as F}from"./PPEST4DH.js";import"./2RXKSLXC.js";import"./RXHNKSYE.js";import{B as x,C as B,H as O,c as $,e as V,f as l,j as b,u as E,v as g,w as H,x as a}from"./METBU7KA.js";var r={loader:"loader",clearButton:"clear-button",inputIcon:"icon",prefix:"prefix",suffix:"suffix",numberButtonWrapper:"number-button-wrapper",buttonItemHorizontal:"number-button-item--horizontal",wrapper:"element-wrapper",inputWrapper:"wrapper",actionWrapper:"action-wrapper",numberButtonItem:"number-button-item"},Y={validationMessage:"inputNumberValidationMessage"},ee={action:"action"},te=V`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:block}:host([scale=s]) input,:host([scale=s]) .prefix,:host([scale=s]) .suffix{block-size:1.5rem;padding-inline:.5rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=s]) .number-button-wrapper,:host([scale=s]) .action-wrapper calcite-button,:host([scale=s]) .action-wrapper calcite-button button{block-size:1.5rem}:host([scale=s]) .clear-button{min-block-size:1.5rem;min-inline-size:1.5rem}:host([scale=m]) input,:host([scale=m]) .prefix,:host([scale=m]) .suffix{block-size:2rem;padding-inline:.75rem;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=m]) .number-button-wrapper,:host([scale=m]) .action-wrapper calcite-button,:host([scale=m]) .action-wrapper calcite-button button{block-size:2rem}:host([scale=m]) .clear-button{min-block-size:2rem;min-inline-size:2rem}:host([scale=l]) input,:host([scale=l]) .prefix,:host([scale=l]) .suffix{block-size:2.75rem;padding-inline:1rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([scale=l]) .number-button-wrapper,:host([scale=l]) .action-wrapper calcite-button,:host([scale=l]) .action-wrapper calcite-button button{block-size:2.75rem}:host([scale=l]) .clear-button{min-block-size:2.75rem;min-inline-size:2.75rem}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}input{transition:var(--calcite-animation-timing),block-size 0,outline-offset 0s;-webkit-appearance:none;position:relative;margin:0;box-sizing:border-box;display:flex;max-block-size:100%;inline-size:100%;max-inline-size:100%;flex:1 1 0%;text-overflow:ellipsis;border-radius:0;background-color:var(--calcite-color-foreground-1);font-family:inherit;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-color-text-1)}input:placeholder-shown{text-overflow:ellipsis}input{border-width:1px;border-style:solid;border-color:var(--calcite-color-border-input);color:var(--calcite-color-text-1)}input::placeholder,input:-ms-input-placeholder,input::-ms-input-placeholder{font-weight:var(--calcite-font-weight-normal);color:var(--calcite-color-text-3)}input:focus{border-color:var(--calcite-color-brand);color:var(--calcite-color-text-1)}input[readonly]{background-color:var(--calcite-color-background);font-weight:var(--calcite-font-weight-medium)}input[readonly]:focus{color:var(--calcite-color-text-1)}calcite-icon{color:var(--calcite-color-text-3)}input{outline-color:transparent}input:focus{outline:2px solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(-2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}:host([status=invalid]) input{border-color:var(--calcite-color-status-danger)}:host([status=invalid]) input:focus{outline:2px solid var(--calcite-color-status-danger);outline-offset:calc(-2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}:host([scale=s]) .icon{inset-inline-start:.5rem}:host([scale=m]) .icon{inset-inline-start:.75rem}:host([scale=l]) .icon{inset-inline-start:1rem}:host([icon][scale=s]) input{padding-inline-start:2rem}:host([icon][scale=m]) input{padding-inline-start:2.5rem}:host([icon][scale=l]) input{padding-inline-start:3.5rem}.element-wrapper{position:relative;order:3;display:inline-flex;flex:1 1 0%;align-items:center}.icon{pointer-events:none;position:absolute;z-index:var(--calcite-z-index);display:block;transition-property:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start,inset-size,opacity,outline-color,transform;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out}.clear-button{pointer-events:initial;order:4;margin:0;box-sizing:border-box;display:flex;min-block-size:100%;cursor:pointer;align-items:center;justify-content:center;align-self:stretch;border-width:1px;border-style:solid;border-color:var(--calcite-color-border-input);background-color:var(--calcite-color-foreground-1);outline-color:transparent;border-inline-start-width:0px}.clear-button:hover{background-color:var(--calcite-color-foreground-2);transition-property:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start,inset-size,opacity,outline-color,transform;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out}.clear-button:hover calcite-icon{color:var(--calcite-color-text-1);transition-property:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start,inset-size,opacity,outline-color,transform;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out}.clear-button:active{background-color:var(--calcite-color-foreground-3)}.clear-button:active calcite-icon{color:var(--calcite-color-text-1)}.clear-button:focus{outline:2px solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(-2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}.clear-button:disabled{opacity:var(--calcite-opacity-disabled)}.loader{inset-block-start:1px;inset-inline:1px;pointer-events:none;position:absolute;display:block}.action-wrapper{order:7;display:flex}.prefix,.suffix{box-sizing:border-box;display:flex;block-size:auto;min-block-size:100%;-webkit-user-select:none;user-select:none;align-content:center;align-items:center;overflow-wrap:break-word;border-width:1px;border-style:solid;border-color:var(--calcite-color-border-input);background-color:var(--calcite-color-background);font-weight:var(--calcite-font-weight-medium);line-height:1;color:var(--calcite-color-text-2)}.prefix{order:2;border-inline-end-width:0px;inline-size:var(--calcite-input-prefix-size, auto)}.suffix{order:5;border-inline-start-width:0px;inline-size:var(--calcite-input-suffix-size, auto)}:host([alignment=start]) input{text-align:start}:host([alignment=end]) input{text-align:end}.number-button-wrapper{pointer-events:none;order:6;box-sizing:border-box;display:flex;flex-direction:column;transition-property:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start,inset-size,opacity,outline-color,transform;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out}:host([number-button-type=vertical]) .wrapper{flex-direction:row;display:flex}:host([number-button-type=vertical]) input{order:2}:host([number-button-type=horizontal]) .calcite--rtl .number-button-item[data-adjustment=down] calcite-icon{transform:rotate(-90deg)}:host([number-button-type=horizontal]) .calcite--rtl .number-button-item[data-adjustment=up] calcite-icon{transform:rotate(-90deg)}.number-button-item.number-button-item--horizontal[data-adjustment=down],.number-button-item.number-button-item--horizontal[data-adjustment=up]{order:1;max-block-size:100%;min-block-size:100%;align-self:stretch}.number-button-item.number-button-item--horizontal[data-adjustment=down] calcite-icon,.number-button-item.number-button-item--horizontal[data-adjustment=up] calcite-icon{transform:rotate(90deg)}.number-button-item.number-button-item--horizontal[data-adjustment=down]{border-width:1px;border-style:solid;border-color:var(--calcite-color-border-input);border-inline-end-width:0px}.number-button-item.number-button-item--horizontal[data-adjustment=down]:hover{background-color:var(--calcite-color-foreground-2)}.number-button-item.number-button-item--horizontal[data-adjustment=down]:hover calcite-icon{color:var(--calcite-color-text-1)}.number-button-item.number-button-item--horizontal[data-adjustment=up]{order:5}.number-button-item.number-button-item--horizontal[data-adjustment=up]:hover{background-color:var(--calcite-color-foreground-2)}.number-button-item.number-button-item--horizontal[data-adjustment=up]:hover calcite-icon{color:var(--calcite-color-text-1)}:host([number-button-type=vertical]) .number-button-item[data-adjustment=down]:hover{background-color:var(--calcite-color-foreground-2)}:host([number-button-type=vertical]) .number-button-item[data-adjustment=down]:hover calcite-icon{color:var(--calcite-color-text-1)}:host([number-button-type=vertical]) .number-button-item[data-adjustment=up]:hover{background-color:var(--calcite-color-foreground-2)}:host([number-button-type=vertical]) .number-button-item[data-adjustment=up]:hover calcite-icon{color:var(--calcite-color-text-1)}:host([number-button-type=vertical]) .number-button-item[data-adjustment=down]{border-block-start-width:0px}.number-button-item{max-block-size:50%;min-block-size:50%;pointer-events:initial;margin:0;box-sizing:border-box;display:flex;cursor:pointer;align-items:center;align-self:center;border-width:1px;border-style:solid;border-color:var(--calcite-color-border-input);background-color:var(--calcite-color-foreground-1);padding-block:0px;padding-inline:.5rem;transition-property:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start,inset-size,opacity,outline-color,transform;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out;border-inline-start-width:0px}.number-button-item calcite-icon{pointer-events:none;transition-property:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start,inset-size,opacity,outline-color,transform;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out}.number-button-item:focus{background-color:var(--calcite-color-foreground-2)}.number-button-item:focus calcite-icon{color:var(--calcite-color-text-1)}.number-button-item:active{background-color:var(--calcite-color-foreground-3)}.number-button-item:disabled{pointer-events:none}.wrapper{position:relative;display:flex;flex-direction:row;align-items:center}:host(.no-bottom-border) input{border-block-end-width:0px}:host(.border-top-color-one) input{border-block-start-color:var(--calcite-color-border-1)}input.inline-child{background-color:transparent;transition-property:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start,inset-size,opacity,outline-color,transform;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out}input.inline-child .editing-enabled{background-color:inherit}input.inline-child:not(.editing-enabled){display:flex;cursor:pointer;text-overflow:ellipsis;border-color:transparent;padding-inline-start:0}.validation-container{display:flex;flex-direction:column;align-items:flex-start;align-self:stretch}:host([scale=m]) .validation-container,:host([scale=l]) .validation-container{padding-block-start:.5rem}:host([scale=s]) .validation-container{padding-block-start:.25rem}::slotted(input[slot=hidden-form-input]){margin:0!important;opacity:0!important;outline:none!important;padding:0!important;position:absolute!important;inset:0!important;transform:none!important;-webkit-appearance:none!important;z-index:-1!important}:host([hidden]){display:none}[hidden]{display:none}`,N=class extends H{constructor(){super(),this.actionWrapperEl=k(),this.attributeWatch=$(["autofocus","enterkeyhint","inputmode"],this.handleGlobalAttributesChanged),this.inputWrapperEl=k(),this.onHiddenFormInputInput=e=>{e.target.name===this.name&&this.setNumberValue({value:e.target.value,origin:"direct"}),this.setFocus(),e.stopPropagation()},this.previousValueOrigin="initial",this.userChangedValue=!1,this._value="",this.slottedActionElDisabledInternally=!1,this.alignment="start",this.clearable=!1,this.disabled=!1,this.editingEnabled=!1,this.groupSeparator=!1,this.iconFlipRtl=!1,this.integer=!1,this.loading=!1,this.localeFormat=!1,this.messages=P(),this.numberButtonType="vertical",this.readOnly=!1,this.required=!1,this.scale="m",this.status="idle",this.validity={valid:!1,badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valueMissing:!1},this.calciteInputNumberChange=g({cancelable:!1}),this.calciteInputNumberInput=g(),this.calciteInternalInputNumberBlur=g({cancelable:!1}),this.calciteInternalInputNumberFocus=g({cancelable:!1}),this.listen("click",this.clickHandler),this.listen("keydown",this.keyDownHandler)}static{this.properties={displayedValue:16,slottedActionElDisabledInternally:16,alignment:3,autocomplete:0,clearable:7,disabled:7,editingEnabled:7,form:3,groupSeparator:7,icon:[3,{converter:x}],iconFlipRtl:7,integer:5,label:1,loading:7,localeFormat:5,max:11,maxLength:11,messageOverrides:0,min:11,minLength:11,name:3,numberButtonType:3,numberingSystem:3,placeholder:1,prefixText:1,readOnly:7,required:7,scale:3,status:3,step:3,suffixText:1,validationIcon:[3,{converter:x}],validationMessage:1,validity:0,value:1}}static{this.styles=te}get isClearable(){return this.clearable&&this.value.length>0}get value(){return this._value}set value(e){let t=this._value;e!==t&&(this._value=e,this.valueWatcher(e,t),e&&this._value===""&&this.setNumberValue({origin:"reset",value:t}))}async selectText(){this.childNumberEl?.select()}async setFocus(){await F(this),this.childNumberEl?.focus()}connectedCallback(){super.connectedCallback(),this.inlineEditableEl=this.el.closest("calcite-inline-editable"),this.inlineEditableEl&&(this.editingEnabled=this.inlineEditableEl.editingEnabled||!1),L(this),q(this),this.el.addEventListener(z,this.onHiddenFormInputInput)}async load(){this.maxString=this.max?.toString(),this.minString=this.min?.toString(),this.requestedIcon=w({},this.icon,"number"),this.setPreviousEmittedNumberValue(this.value),this.setPreviousNumberValue(this.value),this.warnAboutInvalidNumberValue(this.value),this.value==="Infinity"||this.value==="-Infinity"?(this.displayedValue=this.value,this.previousEmittedNumberValue=this.value):this.setNumberValue({origin:"connected",value:v(this.value)?this.value:""})}willUpdate(e){e.has("max")&&(this.maxString=this.max?.toString()||null),e.has("min")&&(this.minString=this.min?.toString()||null),e.has("icon")&&(this.requestedIcon=w({},this.icon,"number")),e.has("messages")&&(o.numberFormatOptions={locale:this.messages._lang,numberingSystem:this.numberingSystem,useGrouping:!1})}updated(){D(this)}disconnectedCallback(){super.disconnectedCallback(),K(this),G(this),this.el.removeEventListener(z,this.onHiddenFormInputInput)}handleGlobalAttributesChanged(){this.requestUpdate()}valueWatcher(e,t){if(!this.userChangedValue){if(e==="Infinity"||e==="-Infinity"){this.displayedValue=e,this.previousEmittedNumberValue=e;return}this.setNumberValue({origin:"direct",previousValue:t,value:e==null||e==""?"":v(e)?e:this.previousValue||""}),this.warnAboutInvalidNumberValue(e)}this.userChangedValue=!1}keyDownHandler(e){this.readOnly||this.disabled||e.defaultPrevented||(this.isClearable&&e.key==="Escape"&&(this.clearInputValue(e),e.preventDefault()),e.key==="Enter"&&R(this)&&e.preventDefault())}onLabelClick(){this.setFocus()}incrementOrDecrementNumberValue(e,t,i,m){let{value:n}=this;if(n==="Infinity"||n==="-Infinity")return;let s=e==="up"?1:-1,u=this.integer&&this.step!=="any"?Math.round(this.step):this.step,p=u==="any"?1:Math.abs(u||1),h=new T(n!==""?n:"0").add(`${p*s}`),d=()=>typeof i=="number"&&!isNaN(i)&&h.subtract(`${i}`).isNegative,c=()=>typeof t=="number"&&!isNaN(t)&&!h.subtract(`${t}`).isNegative,Z=d()?`${i}`:c()?`${t}`:h.toString();this.setNumberValue({committing:!0,nativeEvent:m,origin:"user",value:Z})}clearInputValue(e){this.setNumberValue({committing:!0,nativeEvent:e,origin:"user",value:""})}emitChangeIfUserModified(){this.previousValueOrigin==="user"&&this.value!==this.previousEmittedNumberValue&&(this.calciteInputNumberChange.emit(),this.setPreviousEmittedNumberValue(this.value))}inputNumberBlurHandler(){window.clearInterval(this.nudgeNumberValueIntervalId),this.calciteInternalInputNumberBlur.emit(),this.emitChangeIfUserModified()}clickHandler(e){if(this.disabled)return;let t=e.composedPath();!t.includes(this.inputWrapperEl.value)||t.includes(this.actionWrapperEl.value)||this.setFocus()}inputNumberFocusHandler(){this.calciteInternalInputNumberFocus.emit()}inputNumberInputHandler(e){if(this.disabled||this.readOnly||this.value==="Infinity"||this.value==="-Infinity")return;let t=e.target.value;o.numberFormatOptions={locale:this.messages._lang,numberingSystem:this.numberingSystem,useGrouping:this.groupSeparator};let i=o.delocalize(t);e.inputType==="insertFromPaste"?((!v(i)||this.integer&&(i.includes("e")||i.includes(".")))&&e.preventDefault(),this.setNumberValue({nativeEvent:e,origin:"user",value:W(i)}),this.childNumberEl.value=this.displayedValue):this.setNumberValue({nativeEvent:e,origin:"user",value:i})}inputNumberKeyDownHandler(e){if(this.disabled||this.readOnly)return;if(this.value==="Infinity"||this.value==="-Infinity"){e.preventDefault(),(e.key==="Backspace"||e.key==="Delete")&&this.clearInputValue(e);return}if(e.key==="ArrowUp"){e.preventDefault(),this.nudgeNumberValue("up",e);return}if(e.key==="ArrowDown"){this.nudgeNumberValue("down",e);return}let t=[...M,"ArrowLeft","ArrowRight","Backspace","Delete","Enter","Escape","Tab"];if(e.altKey||e.ctrlKey||e.metaKey)return;let i=e.shiftKey&&e.key==="Tab";if(t.includes(e.key)||i){e.key==="Enter"&&this.emitChangeIfUserModified();return}o.numberFormatOptions={locale:this.messages._lang,numberingSystem:this.numberingSystem,useGrouping:this.groupSeparator},!(e.key===o.decimal&&!this.integer&&(!this.value&&!this.childNumberEl.value||this.value&&this.childNumberEl.value.indexOf(o.decimal)===-1))&&(/[eE]/.test(e.key)&&!this.integer&&(!this.value&&!this.childNumberEl.value||this.value&&!/[eE]/.test(this.childNumberEl.value))||e.key==="-"&&(!this.value&&!this.childNumberEl.value||this.value&&this.childNumberEl.value.split("-").length<=2)||e.preventDefault())}nudgeNumberValue(e,t){if(t instanceof KeyboardEvent&&t.repeat)return;let i=this.maxString?parseFloat(this.maxString):null,m=this.minString?parseFloat(this.minString):null,n=150;this.incrementOrDecrementNumberValue(e,i,m,t),this.nudgeNumberValueIntervalId&&window.clearInterval(this.nudgeNumberValueIntervalId);let s=!0;this.nudgeNumberValueIntervalId=window.setInterval(()=>{if(s){s=!1;return}this.incrementOrDecrementNumberValue(e,i,m,t)},n)}nudgeButtonPointerUpHandler(e){I(e)&&window.clearInterval(this.nudgeNumberValueIntervalId)}nudgeButtonPointerOutHandler(){window.clearInterval(this.nudgeNumberValueIntervalId)}nudgeButtonPointerDownHandler(e){if(!I(e))return;e.preventDefault();let t=e.target.dataset.adjustment;this.disabled||this.nudgeNumberValue(t,e)}syncHiddenFormInput(e){X("number",this,e)}setChildNumberElRef(e){this.childNumberEl=e}setInputNumberValue(e){this.childNumberEl&&(this.childNumberEl.value=e)}setPreviousEmittedNumberValue(e){this.previousEmittedNumberValue=this.normalizeValue(e)}normalizeValue(e){return v(e)?e:""}setPreviousNumberValue(e){this.previousValue=this.normalizeValue(e)}setNumberValue({committing:e=!1,nativeEvent:t,origin:i,previousValue:m,value:n}){o.numberFormatOptions={locale:this.messages._lang,numberingSystem:this.numberingSystem,useGrouping:this.groupSeparator};let s=this.previousValue?.length>n.length||this.value?.length>n.length,u=this.integer?n.replace(/[e.]/g,""):n,p=u.charAt(u.length-1)===".",h=p&&s?u:A(u),d=n&&!h?v(this.previousValue)?this.previousValue:"":h,c=o.localize(d);i!=="connected"&&!p&&(c=U(c,d,o)),this.displayedValue=p&&s?`${c}${o.decimal}`:c,this.setPreviousNumberValue(m??this.value),this.previousValueOrigin=i,this.userChangedValue=i==="user"&&this.value!==d,this.value=["-","."].includes(d)?"":d,i==="direct"&&(this.setInputNumberValue(c),this.setPreviousEmittedNumberValue(c)),t&&(this.calciteInputNumberInput.emit().defaultPrevented?(this.value=this.previousValue,this.displayedValue=o.localize(this.previousValue)):e&&this.emitChangeIfUserModified())}inputNumberKeyUpHandler(){window.clearInterval(this.nudgeNumberValueIntervalId)}warnAboutInvalidNumberValue(e){e&&!v(e)&&console.warn(`The specified value "${e}" cannot be parsed, or is out of range.`)}render(){let e=C(this.el),t=l`<div class=${a(r.loader)}><calcite-progress .label=${this.messages.loading} type=indeterminate></calcite-progress></div>`,i=l`<button .ariaLabel=${this.messages.clear} class=${a(r.clearButton)} .disabled=${this.disabled||this.readOnly} @click=${this.clearInputValue} tabindex=-1 type=button><calcite-icon icon=x .scale=${f(this.scale)}></calcite-icon></button>`,m=l`<calcite-icon class=${a(r.inputIcon)} .flipRtl=${this.iconFlipRtl} .icon=${this.requestedIcon} .scale=${f(this.scale)}></calcite-icon>`,n=this.numberButtonType==="horizontal",s=l`<button aria-hidden=true class=${a({[r.numberButtonItem]:!0,[r.buttonItemHorizontal]:n})} data-adjustment=up .disabled=${this.disabled||this.readOnly} @pointerdown=${this.nudgeButtonPointerDownHandler} @pointerout=${this.nudgeButtonPointerOutHandler} @pointerup=${this.nudgeButtonPointerUpHandler} tabindex=-1 type=button><calcite-icon icon=chevron-up .scale=${f(this.scale)}></calcite-icon></button>`,u=l`<button aria-hidden=true class=${a({[r.numberButtonItem]:!0,[r.buttonItemHorizontal]:n})} data-adjustment=down .disabled=${this.disabled||this.readOnly} @pointerdown=${this.nudgeButtonPointerDownHandler} @pointerout=${this.nudgeButtonPointerOutHandler} @pointerup=${this.nudgeButtonPointerUpHandler} tabindex=-1 type=button><calcite-icon icon=chevron-down .scale=${f(this.scale)}></calcite-icon></button>`,p=l`<div class=${a(r.numberButtonWrapper)}>${s}${u}</div>`,h=l`<div class=${a(r.prefix)}>${this.prefixText}</div>`,d=l`<div class=${a(r.suffix)}>${this.suffixText}</div>`,c=S("localized-input",l`<input aria-errormessage=${Y.validationMessage} .ariaInvalid=${this.status==="invalid"} .ariaLabel=${_(this)} autocomplete=${this.autocomplete??b} .autofocus=${this.el.autofocus} value=${this.defaultValue??b} .disabled=${this.disabled} enterkeyhint=${this.el.enterKeyHint??b} inputmode=${this.el.inputMode||"decimal"} maxlength=${this.maxLength??b} minlength=${this.minLength??b} name=${b} @blur=${this.inputNumberBlurHandler} @focus=${this.inputNumberFocusHandler} @input=${this.inputNumberInputHandler} @keydown=${this.inputNumberKeyDownHandler} @keyup=${this.inputNumberKeyUpHandler} placeholder=${(this.placeholder||"")??b} .readOnly=${this.readOnly} type=text .value=${E(this.displayedValue??"")} ${y(this.setChildNumberElRef)}>`);return j({disabled:this.disabled,children:l`<div class=${a({[r.inputWrapper]:!0,[B.rtl]:e==="rtl"})} ${y(this.inputWrapperEl)}>${this.numberButtonType==="horizontal"&&!this.readOnly?u:null}${this.prefixText?h:null}<div class=${a(r.wrapper)}>${c}${this.isClearable?i:null}${this.requestedIcon?m:null}${this.loading?t:null}</div><div class=${a(r.actionWrapper)} ${y(this.actionWrapperEl)}><slot name=${ee.action}></slot></div>${this.numberButtonType==="vertical"&&!this.readOnly?p:null}${this.suffixText?d:null}${this.numberButtonType==="horizontal"&&!this.readOnly?s:null}${J({component:this})}</div>${this.validationMessage&&this.status==="invalid"?Q({icon:this.validationIcon,id:Y.validationMessage,message:this.validationMessage,scale:this.scale,status:this.status}):null}`})}};O("calcite-input-number",N);export{N as InputNumber};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
+
v3.2.0-next.3 */
|
|
4
|
+
import{a as ne,l as ie}from"./4IUJG32P.js";import{E as re,b as ae}from"./METBU7KA.js";var oe=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"],B=oe.join(","),se=typeof Element>"u",D=se?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,K=!se&&Element.prototype.getRootNode?function(r){var e;return r==null||(e=r.getRootNode)===null||e===void 0?void 0:e.call(r)}:function(r){return r?.ownerDocument},j=function r(e,t){var a;t===void 0&&(t=!0);var o=e==null||(a=e.getAttribute)===null||a===void 0?void 0:a.call(e,"inert"),s=o===""||o==="true",n=s||t&&e&&r(e.parentNode);return n},Ee=function(e){var t,a=e==null||(t=e.getAttribute)===null||t===void 0?void 0:t.call(e,"contenteditable");return a===""||a==="true"},ce=function(e,t,a){if(j(e))return[];var o=Array.prototype.slice.apply(e.querySelectorAll(B));return t&&D.call(e,B)&&o.unshift(e),o=o.filter(a),o},le=function r(e,t,a){for(var o=[],s=Array.from(e);s.length;){var n=s.shift();if(!j(n,!1))if(n.tagName==="SLOT"){var d=n.assignedElements(),l=d.length?d:n.children,y=r(l,!0,a);a.flatten?o.push.apply(o,y):o.push({scopeParent:n,candidates:y})}else{var T=D.call(n,B);T&&a.filter(n)&&(t||!e.includes(n))&&o.push(n);var w=n.shadowRoot||typeof a.getShadowRoot=="function"&&a.getShadowRoot(n),S=!j(w,!1)&&(!a.shadowRootFilter||a.shadowRootFilter(n));if(w&&S){var O=r(w===!0?n.children:w.children,!0,a);a.flatten?o.push.apply(o,O):o.push({scopeParent:n,candidates:O})}else s.unshift.apply(s,n.children)}}return o},fe=function(e){return!isNaN(parseInt(e.getAttribute("tabindex"),10))},E=function(e){if(!e)throw new Error("No node provided");return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||Ee(e))&&!fe(e)?0:e.tabIndex},Se=function(e,t){var a=E(e);return a<0&&t&&!fe(e)?0:a},ke=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},de=function(e){return e.tagName==="INPUT"},De=function(e){return de(e)&&e.type==="hidden"},Ce=function(e){var t=e.tagName==="DETAILS"&&Array.prototype.slice.apply(e.children).some(function(a){return a.tagName==="SUMMARY"});return t},Oe=function(e,t){for(var a=0;a<e.length;a++)if(e[a].checked&&e[a].form===t)return e[a]},Re=function(e){if(!e.name)return!0;var t=e.form||K(e),a=function(d){return t.querySelectorAll('input[type="radio"][name="'+d+'"]')},o;if(typeof window<"u"&&typeof window.CSS<"u"&&typeof window.CSS.escape=="function")o=a(window.CSS.escape(e.name));else try{o=a(e.name)}catch(n){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",n.message),!1}var s=Oe(o,e.form);return!s||s===e},Ae=function(e){return de(e)&&e.type==="radio"},Ie=function(e){return Ae(e)&&!Re(e)},Pe=function(e){var t,a=e&&K(e),o=(t=a)===null||t===void 0?void 0:t.host,s=!1;if(a&&a!==e){var n,d,l;for(s=!!((n=o)!==null&&n!==void 0&&(d=n.ownerDocument)!==null&&d!==void 0&&d.contains(o)||e!=null&&(l=e.ownerDocument)!==null&&l!==void 0&&l.contains(e));!s&&o;){var y,T,w;a=K(o),o=(y=a)===null||y===void 0?void 0:y.host,s=!!((T=o)!==null&&T!==void 0&&(w=T.ownerDocument)!==null&&w!==void 0&&w.contains(o))}}return s},ue=function(e){var t=e.getBoundingClientRect(),a=t.width,o=t.height;return a===0&&o===0},xe=function(e,t){var a=t.displayCheck,o=t.getShadowRoot;if(getComputedStyle(e).visibility==="hidden")return!0;var s=D.call(e,"details>summary:first-of-type"),n=s?e.parentElement:e;if(D.call(n,"details:not([open]) *"))return!0;if(!a||a==="full"||a==="legacy-full"){if(typeof o=="function"){for(var d=e;e;){var l=e.parentElement,y=K(e);if(l&&!l.shadowRoot&&o(l)===!0)return ue(e);e.assignedSlot?e=e.assignedSlot:!l&&y!==e.ownerDocument?e=y.host:e=l}e=d}if(Pe(e))return!e.getClientRects().length;if(a!=="legacy-full")return!0}else if(a==="non-zero-area")return ue(e);return!1},Le=function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if(t.tagName==="FIELDSET"&&t.disabled){for(var a=0;a<t.children.length;a++){var o=t.children.item(a);if(o.tagName==="LEGEND")return D.call(t,"fieldset[disabled] *")?!0:!o.contains(e)}return!0}t=t.parentElement}return!1},M=function(e,t){return!(t.disabled||j(t)||De(t)||xe(t,e)||Ce(t)||Le(t))},$=function(e,t){return!(Ie(t)||E(t)<0||!M(e,t))},Be=function(e){var t=parseInt(e.getAttribute("tabindex"),10);return!!(isNaN(t)||t>=0)},Ke=function r(e){var t=[],a=[];return e.forEach(function(o,s){var n=!!o.scopeParent,d=n?o.scopeParent:o,l=Se(d,n),y=n?r(o.candidates):d;l===0?n?t.push.apply(t,y):t.push(d):a.push({documentOrder:s,tabIndex:l,item:o,isScope:n,content:y})}),a.sort(ke).reduce(function(o,s){return s.isScope?o.push.apply(o,s.content):o.push(s.content),o},[]).concat(t)},ve=function(e,t){t=t||{};var a;return t.getShadowRoot?a=le([e],t.includeContainer,{filter:$.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:Be}):a=ce(e,t.includeContainer,$.bind(null,t)),Ke(a)},be=function(e,t){t=t||{};var a;return t.getShadowRoot?a=le([e],t.includeContainer,{filter:M.bind(null,t),flatten:!0,getShadowRoot:t.getShadowRoot}):a=ce(e,t.includeContainer,M.bind(null,t)),a},C=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return D.call(e,B)===!1?!1:$(t,e)},je=oe.concat("iframe").join(","),G=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return D.call(e,je)===!1?!1:M(t,e)};function W(r,e){(e==null||e>r.length)&&(e=r.length);for(var t=0,a=Array(e);t<e;t++)a[t]=r[t];return a}function Me(r){if(Array.isArray(r))return W(r)}function Ge(r,e,t){return(e=$e(e))in r?Object.defineProperty(r,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):r[e]=t,r}function qe(r){if(typeof Symbol<"u"&&r[Symbol.iterator]!=null||r["@@iterator"]!=null)return Array.from(r)}function Ue(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
5
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function he(r,e){var t=Object.keys(r);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(r);e&&(a=a.filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable})),t.push.apply(t,a)}return t}function pe(r){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?he(Object(t),!0).forEach(function(a){Ge(r,a,t[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(t)):he(Object(t)).forEach(function(a){Object.defineProperty(r,a,Object.getOwnPropertyDescriptor(t,a))})}return r}function Ve(r){return Me(r)||qe(r)||We(r)||Ue()}function _e(r,e){if(typeof r!="object"||!r)return r;var t=r[Symbol.toPrimitive];if(t!==void 0){var a=t.call(r,e||"default");if(typeof a!="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(r)}function $e(r){var e=_e(r,"string");return typeof e=="symbol"?e:e+""}function We(r,e){if(r){if(typeof r=="string")return W(r,e);var t={}.toString.call(r).slice(8,-1);return t==="Object"&&r.constructor&&(t=r.constructor.name),t==="Map"||t==="Set"?Array.from(r):t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?W(r,e):void 0}}var ye={activateTrap:function(e,t){if(e.length>0){var a=e[e.length-1];a!==t&&a._setPausedState(!0)}var o=e.indexOf(t);o===-1||e.splice(o,1),e.push(t)},deactivateTrap:function(e,t){var a=e.indexOf(t);a!==-1&&e.splice(a,1),e.length>0&&!e[e.length-1]._isManuallyPaused()&&e[e.length-1]._setPausedState(!1)}},Ye=function(e){return e.tagName&&e.tagName.toLowerCase()==="input"&&typeof e.select=="function"},Ze=function(e){return e?.key==="Escape"||e?.key==="Esc"||e?.keyCode===27},x=function(e){return e?.key==="Tab"||e?.keyCode===9},ze=function(e){return x(e)&&!e.shiftKey},Xe=function(e){return x(e)&&e.shiftKey},me=function(e){return setTimeout(e,0)},P=function(e){for(var t=arguments.length,a=new Array(t>1?t-1:0),o=1;o<t;o++)a[o-1]=arguments[o];return typeof e=="function"?e.apply(void 0,a):e},q=function(e){return e.target.shadowRoot&&typeof e.composedPath=="function"?e.composedPath()[0]:e.target},He=[],ge=function(e,t){var a=t?.document||document,o=t?.trapStack||He,s=pe({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,isKeyForward:ze,isKeyBackward:Xe},t),n={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,manuallyPaused:!1,delayInitialFocusTimer:void 0,recentNavEvent:void 0},d,l=function(i,u,c){return i&&i[u]!==void 0?i[u]:s[c||u]},y=function(i,u){var c=typeof u?.composedPath=="function"?u.composedPath():void 0;return n.containerGroups.findIndex(function(v){var b=v.container,p=v.tabbableNodes;return b.contains(i)||c?.includes(b)||p.find(function(f){return f===i})})},T=function(i){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},c=u.hasFallback,v=c===void 0?!1:c,b=u.params,p=b===void 0?[]:b,f=s[i];if(typeof f=="function"&&(f=f.apply(void 0,Ve(p))),f===!0&&(f=void 0),!f){if(f===void 0||f===!1)return f;throw new Error("`".concat(i,"` was specified but was not a node, or did not return a node"))}var m=f;if(typeof f=="string"){try{m=a.querySelector(f)}catch(g){throw new Error("`".concat(i,'` appears to be an invalid selector; error="').concat(g.message,'"'))}if(!m&&!v)throw new Error("`".concat(i,"` as selector refers to no known node"))}return m},w=function(){var i=T("initialFocus",{hasFallback:!0});if(i===!1)return!1;if(i===void 0||i&&!G(i,s.tabbableOptions))if(y(a.activeElement)>=0)i=a.activeElement;else{var u=n.tabbableGroups[0],c=u&&u.firstTabbableNode;i=c||T("fallbackFocus")}else i===null&&(i=T("fallbackFocus"));if(!i)throw new Error("Your focus-trap needs to have at least one focusable element");return i},S=function(){if(n.containerGroups=n.containers.map(function(i){var u=ve(i,s.tabbableOptions),c=be(i,s.tabbableOptions),v=u.length>0?u[0]:void 0,b=u.length>0?u[u.length-1]:void 0,p=c.find(function(g){return C(g)}),f=c.slice().reverse().find(function(g){return C(g)}),m=!!u.find(function(g){return E(g)>0});return{container:i,tabbableNodes:u,focusableNodes:c,posTabIndexesFound:m,firstTabbableNode:v,lastTabbableNode:b,firstDomTabbableNode:p,lastDomTabbableNode:f,nextTabbableNode:function(k){var A=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,F=u.indexOf(k);return F<0?A?c.slice(c.indexOf(k)+1).find(function(I){return C(I)}):c.slice(0,c.indexOf(k)).reverse().find(function(I){return C(I)}):u[F+(A?1:-1)]}}}),n.tabbableGroups=n.containerGroups.filter(function(i){return i.tabbableNodes.length>0}),n.tabbableGroups.length<=0&&!T("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");if(n.containerGroups.find(function(i){return i.posTabIndexesFound})&&n.containerGroups.length>1)throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.")},O=function(i){var u=i.activeElement;if(u)return u.shadowRoot&&u.shadowRoot.activeElement!==null?O(u.shadowRoot):u},N=function(i){if(i!==!1&&i!==O(document)){if(!i||!i.focus){N(w());return}i.focus({preventScroll:!!s.preventScroll}),n.mostRecentlyFocusedNode=i,Ye(i)&&i.select()}},Y=function(i){var u=T("setReturnFocus",{params:[i]});return u||(u===!1?!1:i)},Z=function(i){var u=i.target,c=i.event,v=i.isBackward,b=v===void 0?!1:v;u=u||q(c),S();var p=null;if(n.tabbableGroups.length>0){var f=y(u,c),m=f>=0?n.containerGroups[f]:void 0;if(f<0)b?p=n.tabbableGroups[n.tabbableGroups.length-1].lastTabbableNode:p=n.tabbableGroups[0].firstTabbableNode;else if(b){var g=n.tabbableGroups.findIndex(function(V){var _=V.firstTabbableNode;return u===_});if(g<0&&(m.container===u||G(u,s.tabbableOptions)&&!C(u,s.tabbableOptions)&&!m.nextTabbableNode(u,!1))&&(g=f),g>=0){var k=g===0?n.tabbableGroups.length-1:g-1,A=n.tabbableGroups[k];p=E(u)>=0?A.lastTabbableNode:A.lastDomTabbableNode}else x(c)||(p=m.nextTabbableNode(u,!1))}else{var F=n.tabbableGroups.findIndex(function(V){var _=V.lastTabbableNode;return u===_});if(F<0&&(m.container===u||G(u,s.tabbableOptions)&&!C(u,s.tabbableOptions)&&!m.nextTabbableNode(u))&&(F=f),F>=0){var I=F===n.tabbableGroups.length-1?0:F+1,te=n.tabbableGroups[I];p=E(u)>=0?te.firstTabbableNode:te.firstDomTabbableNode}else x(c)||(p=m.nextTabbableNode(u))}}else p=T("fallbackFocus");return p},L=function(i){var u=q(i);if(!(y(u,i)>=0)){if(P(s.clickOutsideDeactivates,i)){d.deactivate({returnFocus:s.returnFocusOnDeactivate});return}P(s.allowOutsideClick,i)||i.preventDefault()}},z=function(i){var u=q(i),c=y(u,i)>=0;if(c||u instanceof Document)c&&(n.mostRecentlyFocusedNode=u);else{i.stopImmediatePropagation();var v,b=!0;if(n.mostRecentlyFocusedNode)if(E(n.mostRecentlyFocusedNode)>0){var p=y(n.mostRecentlyFocusedNode),f=n.containerGroups[p].tabbableNodes;if(f.length>0){var m=f.findIndex(function(g){return g===n.mostRecentlyFocusedNode});m>=0&&(s.isKeyForward(n.recentNavEvent)?m+1<f.length&&(v=f[m+1],b=!1):m-1>=0&&(v=f[m-1],b=!1))}}else n.containerGroups.some(function(g){return g.tabbableNodes.some(function(k){return E(k)>0})})||(b=!1);else b=!1;b&&(v=Z({target:n.mostRecentlyFocusedNode,isBackward:s.isKeyBackward(n.recentNavEvent)})),N(v||n.mostRecentlyFocusedNode||w())}n.recentNavEvent=void 0},Ne=function(i){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;n.recentNavEvent=i;var c=Z({event:i,isBackward:u});c&&(x(i)&&i.preventDefault(),N(c))},X=function(i){(s.isKeyForward(i)||s.isKeyBackward(i))&&Ne(i,s.isKeyBackward(i))},H=function(i){Ze(i)&&P(s.escapeDeactivates,i)!==!1&&(i.preventDefault(),d.deactivate())},J=function(i){var u=q(i);y(u,i)>=0||P(s.clickOutsideDeactivates,i)||P(s.allowOutsideClick,i)||(i.preventDefault(),i.stopImmediatePropagation())},Q=function(){if(n.active)return ye.activateTrap(o,d),n.delayInitialFocusTimer=s.delayInitialFocus?me(function(){N(w())}):N(w()),a.addEventListener("focusin",z,!0),a.addEventListener("mousedown",L,{capture:!0,passive:!1}),a.addEventListener("touchstart",L,{capture:!0,passive:!1}),a.addEventListener("click",J,{capture:!0,passive:!1}),a.addEventListener("keydown",X,{capture:!0,passive:!1}),a.addEventListener("keydown",H),d},ee=function(){if(n.active)return a.removeEventListener("focusin",z,!0),a.removeEventListener("mousedown",L,!0),a.removeEventListener("touchstart",L,!0),a.removeEventListener("click",J,!0),a.removeEventListener("keydown",X,!0),a.removeEventListener("keydown",H),d},Fe=function(i){var u=i.some(function(c){var v=Array.from(c.removedNodes);return v.some(function(b){return b===n.mostRecentlyFocusedNode})});u&&N(w())},U=typeof window<"u"&&"MutationObserver"in window?new MutationObserver(Fe):void 0,R=function(){U&&(U.disconnect(),n.active&&!n.paused&&n.containers.map(function(i){U.observe(i,{subtree:!0,childList:!0})}))};return d={get active(){return n.active},get paused(){return n.paused},activate:function(i){if(n.active)return this;var u=l(i,"onActivate"),c=l(i,"onPostActivate"),v=l(i,"checkCanFocusTrap");v||S(),n.active=!0,n.paused=!1,n.nodeFocusedBeforeActivation=a.activeElement,u?.();var b=function(){v&&S(),Q(),R(),c?.()};return v?(v(n.containers.concat()).then(b,b),this):(b(),this)},deactivate:function(i){if(!n.active)return this;var u=pe({onDeactivate:s.onDeactivate,onPostDeactivate:s.onPostDeactivate,checkCanReturnFocus:s.checkCanReturnFocus},i);clearTimeout(n.delayInitialFocusTimer),n.delayInitialFocusTimer=void 0,ee(),n.active=!1,n.paused=!1,R(),ye.deactivateTrap(o,d);var c=l(u,"onDeactivate"),v=l(u,"onPostDeactivate"),b=l(u,"checkCanReturnFocus"),p=l(u,"returnFocus","returnFocusOnDeactivate");c?.();var f=function(){me(function(){p&&N(Y(n.nodeFocusedBeforeActivation)),v?.()})};return p&&b?(b(Y(n.nodeFocusedBeforeActivation)).then(f,f),this):(f(),this)},pause:function(i){return n.active?(n.manuallyPaused=!0,this._setPausedState(!0,i)):this},unpause:function(i){return n.active?(n.manuallyPaused=!1,o[o.length-1]!==this?this:this._setPausedState(!1,i)):this},updateContainerElements:function(i){var u=[].concat(i).filter(Boolean);return n.containers=u.map(function(c){return typeof c=="string"?a.querySelector(c):c}),n.active&&S(),R(),this}},Object.defineProperties(d,{_isManuallyPaused:{value:function(){return n.manuallyPaused}},_setPausedState:{value:function(i,u){if(n.paused===i)return this;if(n.paused=i,i){var c=l(u,"onPause"),v=l(u,"onPostPause");c?.(),ee(),R(),v?.()}else{var b=l(u,"onUnpause"),p=l(u,"onPostUnpause");b?.(),S(),Q(),R(),p?.()}return this}}}),d.updateContainerElements(e),d};function Je(r,e){return{clickOutsideDeactivates:!0,fallbackFocus:e?.fallbackFocus||r,setReturnFocus:t=>(ie(t),!1),...e,document:r.ownerDocument,tabbableOptions:ne,trapStack:re}}function we(r,{focusTrapOptions:e},t){return!e?.extraContainers&&!t?r:[r,...Te(e?.extraContainers),...Te(t)]}function Te(r=[]){return Array.isArray(r)?r:[r]}var ut=r=>ae((e,t)=>{let a,o,s,n=r.focusTrapOptions;t.onConnected(()=>{e[r.triggerProp]&&a&&d.activate()}),t.onUpdate(l=>{e.hasUpdated&&l.has("focusTrapDisabled")&&(e.focusTrapDisabled?d.deactivate():d.activate())}),t.onDisconnected(()=>d.deactivate());let d={activate:()=>{let l=o||e.el;if(l.isConnected){if(!a){let y={...n,...e.focusTrapOptions};s||=we(l,e),a=ge(s,Je(l,y))}(typeof e.focusTrapDisabledOverride=="function"?!e.focusTrapDisabledOverride():!e.focusTrapDisabled)&&a.activate()}},deactivate:()=>a?.deactivate(),overrideFocusTrapEl:l=>{if(a)throw new Error("Focus trap already created");o=l},setExtraContainers:l=>{let y=o||e.el;s=we(y,e,l)},updateContainerElements:()=>a?.updateContainerElements(s)};return d});export{ut as a};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
+
v3.2.0-next.3 */
|
|
4
|
+
|
|
5
|
+
Bundled license information:
|
|
6
|
+
|
|
7
|
+
tabbable/dist/index.esm.js:
|
|
8
|
+
/*!
|
|
9
|
+
* tabbable 6.2.0
|
|
10
|
+
* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
focus-trap/dist/focus-trap.esm.js:
|
|
14
|
+
/*!
|
|
15
|
+
* focus-trap 7.6.4
|
|
16
|
+
* @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE
|
|
17
|
+
*/
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
+
v3.2.0-next.3 */
|
|
4
|
+
import{F as d}from"./METBU7KA.js";var f=new Set,u={trace:0,debug:1,info:2,warn:4,error:8,off:10};function $(r){return u[r]>=u[d]}function e(r,...t){$(r)&&console[r].call(this,"%ccalcite","background: #007AC2; color: #fff; border-radius: 4px; padding: 2px 4px;",...t)}var o,w={debug:r=>e("debug",r),info:r=>e("info",r),warn:r=>e("warn",r),error:r=>e("error",r),trace:r=>e("trace",r),deprecated:m};function m(r,{component:t,name:a,suggested:n,removalVersion:c}){let s=`${r}:${r==="component"?"":t}${a}`;if(f.has(s))return;f.add(s);let i=Array.isArray(n);i&&!o&&(o=new Intl.ListFormat("en",{style:"long",type:"disjunction"}));let l=`[${a}] ${r} is deprecated and will be removed in ${c==="future"?"a future version":`v${c}`}.${n?` Use ${i?o.format(n.map(p=>`"${p}"`)):`"${n}"`} instead.`:""}`;e("warn",l)}export{w as a};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
+
v3.2.0-next.3 */
|
|
4
|
+
import{e as c}from"./4IUJG32P.js";import"./RXHNKSYE.js";import{C as n,H as l,e as r,f as t,w as a,x as s,y as o}from"./METBU7KA.js";var p=r`:host{position:relative;display:block;inline-size:100%}.track,.bar{position:absolute;inset-block-start:0px;block-size:2px}.track{z-index:var(--calcite-z-index);inline-size:100%;overflow:hidden;background-color:var(--calcite-progress-background-color, var(--calcite-color-border-3))}.bar{z-index:var(--calcite-z-index);background-color:var(--calcite-progress-fill-color, var(--calcite-color-brand))}@media (forced-colors: active){.track{background-color:highlightText}.bar{background-color:linkText}}.indeterminate{inline-size:20%;animation:looping-progress-bar-ani calc(var(--calcite-internal-animation-timing-medium) / var(--calcite-internal-duration-factor) * 11 / var(--calcite-internal-duration-factor)) linear infinite}.indeterminate.calcite--rtl{animation-name:looping-progress-bar-ani-rtl}.reversed{animation-direction:reverse}.text{padding-inline:0px;padding-block:1rem 0px;text-align:center;font-size:var(--calcite-font-size--2);line-height:1rem;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-progress-text-color, var(--calcite-color-text-2))}@keyframes looping-progress-bar-ani{0%{transform:translate3d(-100%,0,0)}50%{inline-size:40%}to{transform:translate3d(600%,0,0)}}@keyframes looping-progress-bar-ani-rtl{0%{transform:translate3d(100%,0,0)}50%{inline-size:40%}to{transform:translate3d(-600%,0,0)}}:host([hidden]){display:none}[hidden]{display:none}`,i=class extends a{constructor(){super(...arguments),this.reversed=!1,this.type="determinate",this.value=0}static{this.properties={label:1,reversed:7,text:1,type:3,value:9}}static{this.styles=p}render(){let e=this.type==="determinate",d=e?{width:`${this.value}%`}:{},m=c(this.el);return t`<div .ariaLabel=${this.label||this.text} .ariaValueMax=${e?"100":void 0} .ariaValueMin=${e?"0":void 0} .ariaValueNow=${e?this.value:void 0} role=progressbar><div class="track"><div class=${s({bar:!0,indeterminate:this.type==="indeterminate",[n.rtl]:m==="rtl",reversed:this.reversed})} style=${o(d)}></div></div>${this.text?t`<div class="text">${this.text}</div>`:null}</div>`}};l("calcite-progress",i);export{i as Progress};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
+
v3.2.0-next.3 */
|
|
4
|
+
import{h as g}from"./WPZ4K2NG.js";import{k as o}from"./LFCMK2LO.js";import{a as p,b as y}from"./NSSKOFQH.js";import{a as f}from"./EONWLGV2.js";import{k as h,r as v}from"./4IUJG32P.js";import{d as u}from"./PPEST4DH.js";import"./2RXKSLXC.js";import"./RXHNKSYE.js";import{A as a,H as d,e as l,f as s,v as t,w as n}from"./METBU7KA.js";var k=l`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{position:relative;display:flex;cursor:pointer;outline:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}.day-wrapper{position:relative;display:flex;inline-size:100%;flex-direction:column;align-items:center;justify-content:center}.day{position:relative;display:flex;inline-size:100%;align-items:center;justify-content:center;font-size:var(--calcite-font-size--2);line-height:1rem;line-height:1;transition-property:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start,inset-size,opacity,outline-color,transform;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out;line-height:var(--calcite-font-line-height-fixed-base);block-size:var(--calcite-internal-day-size);outline-color:var(--calcite-color-transparent);background-color:var(--calcite-date-picker-day-background-color);color:var(--calcite-date-picker-day-text-color, var(--calcite-color-text-3))}.text{margin-block:1px 0px;margin-inline-start:0px}:host([scale=s]){--calcite-internal-day-size: 32px}:host([scale=s]) .day{font-size:var(--calcite-font-size--2)}:host([scale=m]){--calcite-internal-day-size: 40px}:host([scale=m]) .day{font-size:var(--calcite-font-size--1)}:host([scale=l]){--calcite-internal-day-size: 44px}:host([scale=l]) .day{font-size:var(--calcite-font-size-0)}:host(:not([current-month])) .day{opacity:var(--calcite-opacity-disabled)}:host(:hover:not([disabled]):not([selected])) .day{background-color:var(--calcite-date-picker-day-background-color-hover, var(--calcite-color-foreground-2));color:var(--calcite-date-picker-day-text-color-hover, var(--calcite-color-text-1))}:host(:not([range]):not([selected]).current-day) .day{color:var(--calcite-date-picker-current-day-text-color, var(--calcite-color-text-1));font-weight:var(--calcite-font-weight-medium)}:host(:focus[selected]) .day{z-index:var(--calcite-z-index);outline:2px solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))));box-shadow:0 0 0 2px var(--calcite-color-foreground-1)}:host(:focus:not([disabled]):not([selected])) .day{outline:2px solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(-2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}:host(:hover:not([disabled]):not([selected])) .day{outline:2px solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(-2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}:host([selected]) .day{font-weight:var(--calcite-font-weight-medium);background-color:var(--calcite-date-picker-day-background-color-selected, var(--calcite-color-brand));color:var(--calcite-date-picker-day-text-color-selected, var(--calcite-color-foreground-1))}:host([range-hover]:not([selected])) .day{background-color:var(--calcite-date-picker-day-outside-range-background-color-hover, var(--calcite-color-foreground-2));color:var(--calcite-date-picker-day-outside-range-text-color-hover, var(--calcite-color-text-1))}:host([highlighted]:not([selected])) .day,:host(:hover[highlighted]:not([selected])) .day{color:var(--calcite-date-picker-day-range-text-color, var(--calcite-color-brand));background-color:var(--calcite-date-picker-day-range-background-color, var(--calcite-color-foreground-current))}@media (forced-colors: active){.day{border-radius:0}:host([selected]){outline:2px solid canvasText}:host(:hover:not([selected])) .day{border-radius:50%}:host([range][selected]) .day,:host([highlighted]) .day,:host([range-hover]:not([selected])) .day{background-color:highlight}:host([range-hover]) .day,:host([range][selected][start-of-range]) .day,:host([range][selected][end-of-range]) .day{background-color:canvas}}:host([hidden]){display:none}[hidden]{display:none}`,i=class extends n{constructor(){super(),this.active=!1,this.currentMonth=!1,this.disabled=!1,this.endOfRange=!1,this.highlighted=!1,this.range=!1,this.rangeHover=!1,this.selected=!1,this.startOfRange=!1,this.calciteInternalDayHover=t({cancelable:!1}),this.calciteInternalDaySelect=t({cancelable:!1}),this.listen("pointerover",this.pointerOverHandler),this.listen("click",this.onClick),this.listen("keydown",this.keyDownHandler)}static{this.properties={active:7,currentMonth:7,dateTimeFormat:0,day:9,disabled:7,endOfRange:7,highlighted:7,range:7,rangeEdge:3,rangeHover:7,scale:3,selected:7,startOfRange:7,value:0}}static{this.styles=k}async setFocus(){await u(this),this.el.focus()}load(){this.parentDatePickerEl=h(this.el,"calcite-date-picker")}updated(){p(this)}onClick(){this.disabled||this.calciteInternalDaySelect.emit()}keyDownHandler(e){f(e.key)&&(this.disabled||this.calciteInternalDaySelect.emit(),e.preventDefault())}pointerOverHandler(){this.disabled||this.calciteInternalDayHover.emit()}render(){let e=g(this.value).replaceAll("-","");if(this.parentDatePickerEl){let{numberingSystem:c,lang:r}=this.parentDatePickerEl;o.numberFormatOptions={useGrouping:!1,...c&&{numberingSystem:c},...r&&{locale:r}}}let b=o.localize(String(this.day)),m=this.dateTimeFormat.format(this.value);return this.el.ariaLabel=m,this.el.ariaSelected=v(this.active),a(this.el,"id",e),this.el.role="button",a(this.el,"tabIndex",this.active&&!this.disabled?0:-1),y({disabled:this.disabled,children:s`<div aria-hidden=true class="day-wrapper"><span class="day"><span class="text">${b}</span></span></div>`})}};d("calcite-date-picker-day",i);export{i as DatePickerDay};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
+
v3.2.0-next.3 */
|
|
4
|
+
import{b as e}from"./MVJPQKKA.js";import"./C72O5LIN.js";var _={name:"es",monthsShort:"ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),weekdays:"domingo_lunes_martes_mi\xE9rcoles_jueves_viernes_s\xE1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xE9._jue._vie._s\xE1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xE1".split("_"),months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),weekStart:1,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xEDa",dd:"%d d\xEDas",M:"un mes",MM:"%d meses",y:"un a\xF1o",yy:"%d a\xF1os"},ordinal:function(o){return o+"\xBA"}};e.locale(_,null,!0);var a=_;export{a as default};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
+
v3.2.0-next.3 */
|
|
4
|
+
import{a as s}from"./7ESP6OOL.js";import{b as m}from"./64PDALZJ.js";import{b as x}from"./RMQSDCHV.js";import{e as f}from"./4IUJG32P.js";import{f as d,j as g}from"./METBU7KA.js";var S=2,E=e=>e.reduce((t,o)=>t+o,0)/e.length,B=e=>{let t=e.filter(n=>n.slot!==s.menuActions),o=t?.length;return{actionWidth:o?E(t.map(n=>n.clientWidth||0)):0,actionHeight:o?E(t.map(n=>n.clientHeight||0)):0}},W=({width:e,actionWidth:t,layout:o,height:n,actionHeight:i,groupCount:r})=>{let l=o==="horizontal"?e:n,a=o==="horizontal"?t:i;return Math.floor((l-r*S)/a)},D=({layout:e,actionCount:t,actionWidth:o,width:n,actionHeight:i,height:r,groupCount:l})=>Math.max(t-W({width:n,actionWidth:o,layout:e,height:r,actionHeight:i,groupCount:l}),0),b=e=>Array.from(e.querySelectorAll("calcite-action")).filter(t=>t.closest("calcite-action-menu")?t.slot===x.trigger:!0),I=({actionGroups:e,expanded:t,overflowCount:o})=>{let n=o;e.reverse().forEach(i=>{let r=0,l=b(i).reverse();l.forEach(a=>{a.slot===s.menuActions&&(a.removeAttribute("slot"),a.textEnabled=t)}),n>0&&l.some(a=>(l.filter(h=>!h.slot).length>1&&l.length>2&&!a.closest("calcite-action-menu")&&(a.textEnabled=!0,a.setAttribute("slot",s.menuActions),r++,r>1&&n--),n<1)),i.manager.component.requestUpdate()})},v={chevronsLeft:"chevrons-left",chevronsRight:"chevrons-right"};function w(e,t){return e||t.closest("calcite-shell-panel")?.position||"start"}function N({el:e,expanded:t}){b(e).filter(o=>o.slot!==s.menuActions).forEach(o=>o.textEnabled=t),e.querySelectorAll("calcite-action-group, calcite-action-menu").forEach(o=>o.expanded=t)}var T=({tooltip:e,referenceElement:t,expanded:o,ref:n})=>(e&&(e.referenceElement=!o&&t?t:null),n&&n(t),t),O=({expanded:e,expandText:t,collapseText:o,expandLabel:n,collapseLabel:i,toggle:r,el:l,position:a,tooltip:h,ref:A,scale:$})=>{let y=f(l)==="rtl",p=e?o:t,C=e?i:n,c=[v.chevronsLeft,v.chevronsRight];y&&c.reverse();let u=w(a,l)==="end",H=u?c[1]:c[0],q=u?c[0]:c[1];return d`<calcite-action .icon=${e?H:q} id=expand-toggle .label=${C} @click=${r} .scale=${$} .text=${p} .textEnabled=${e} title=${(!e&&!h?p:null)??g} ${m(L=>T({tooltip:h,referenceElement:L,expanded:e,ref:A}))}></calcite-action>`};export{B as a,D as b,b as c,I as d,N as e,O as f};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
+
v3.2.0-next.3 */
|
|
4
|
+
import{c as a,l as S,r as T,v as C}from"./4IUJG32P.js";import"./RXHNKSYE.js";import{A as M,H as b,e as y,f as E,v as A,w as I}from"./METBU7KA.js";function v(h){return h?.tagName==="CALCITE-TREE-ITEM"}function w(h){return Array.from(h.querySelectorAll("calcite-tree-item:not([disabled])")).filter(e=>{let t=e;for(;t!==h&&t!==void 0;){let l=t.parentElement;if(!(!v(l)||!l.hasChildren||l.expanded))return!1;t=t.parentElement}return!0})}var D=y`:host{display:block}:host(:focus){outline:2px solid transparent;outline-offset:2px}:host([hidden]){display:none}[hidden]{display:none}`,x=class extends I{constructor(){super(),this.items=[],this.lines=!1,this.parentExpanded=!1,this.scale="m",this.selectedItems=[],this.selectionMode="single",this.calciteTreeSelect=A({cancelable:!1}),this.listen("focus",this.onFocus),this.listen("focusin",this.onFocusIn),this.listen("focusout",this.onFocusOut),this.listen("calciteInternalTreeItemSelect",this.onInternalTreeItemSelect),this.listen("keydown",this.keyDownHandler)}static{this.properties={child:7,lines:7,parentExpanded:5,scale:3,selectedItems:0,selectionMode:3}}static{this.styles=D}willUpdate(e){e.has("parentExpanded")&&(this.hasUpdated||this.parentExpanded!==!1)&&this.updateItems();let t=this.el.parentElement?.closest("calcite-tree");this.lines=t?t.lines:this.lines,this.scale=t?t.scale:this.scale,this.selectionMode=t?t.selectionMode:this.selectionMode,this.child=!!t}onFocus(){if(!this.child){let e=this.el.querySelector("calcite-tree-item[selected]:not([disabled])")||this.el.querySelector("calcite-tree-item:not([disabled])");S(e)}}onFocusIn(e){(e.relatedTarget===this.el||!this.el.contains(e.relatedTarget))&&this.el.removeAttribute("tabindex")}onFocusOut(e){!this.el.contains(e.relatedTarget)&&(this.el.tabIndex=this.getRootTabIndex())}onInternalTreeItemSelect(e){if(this.child)return;let t=e.target,l=a(t.querySelectorAll("calcite-tree-item"));if(e.preventDefault(),e.stopPropagation(),this.selectionMode==="ancestors"){this.updateAncestorTree(e);return}let r=this.selectionMode==="none",n=this.selectionMode!==null&&(!t.hasChildren||t.hasChildren&&(this.selectionMode==="children"||this.selectionMode==="multichildren")),s=this.selectionMode==="multichildren"&&t.hasChildren,u=!r&&e.detail.modifyCurrentSelection&&(this.selectionMode==="multiple"||this.selectionMode==="multichildren"),g=!u&&((this.selectionMode==="single"||this.selectionMode==="multiple")&&l.length<=0||this.selectionMode==="children"||this.selectionMode==="multichildren"||this.selectionMode==="single-persist"&&!t.hasChildren),d=["multiple","none","single","single-persist"].includes(this.selectionMode)&&t.hasChildren,c=[];n&&c.push(t),g&&a(this.el.querySelectorAll("calcite-tree-item[selected]")).forEach(i=>{c.includes(i)||(i.selected=!1)}),d&&["multiple","none","single","single-persist"].includes(this.selectionMode)&&(t.expanded=!t.expanded),s&&l.forEach(i=>{i.selected=!1,i.hasChildren&&(i.expanded=!1)}),u&&window.getSelection().removeAllRanges(),u&&t.selected?c.forEach(i=>{i.disabled||(i.selected=!1)}):r||c.forEach(i=>{i.disabled||(i.selected=this.selectionMode!=="single"||!i.selected)}),this.selectedItems=r?[]:a(this.el.querySelectorAll("calcite-tree-item")).filter(i=>i.selected),this.calciteTreeSelect.emit(),e.stopPropagation()}keyDownHandler(e){if(this.child)return;let t=this.el,l=e.target,r=["ArrowRight","ArrowDown","ArrowLeft","ArrowUp","Home","End","Tab"];if(!(v(l)&&this.el.contains(l))||!r.includes(e.key))return;let n=w(t);if(e.key==="Tab"){n.forEach(s=>s.tabIndex=-1);return}if(e.key==="ArrowDown"){let s=n.indexOf(l);n[s+1]?.focus(),e.preventDefault();return}if(e.key==="ArrowUp"){let s=n.indexOf(l);n[s-1]?.focus(),e.preventDefault();return}if(e.key==="ArrowLeft"){if(l.hasChildren&&l.expanded){l.expanded=!1,e.preventDefault();return}n.slice(0,n.indexOf(l)).reverse().find(s=>s.depth===l.depth-1)?.focus(),e.preventDefault();return}if(e.key==="ArrowRight"){if(!l.disabled&&l.hasChildren)if(!l.expanded)l.expanded=!0,e.preventDefault();else{let s=n.indexOf(l);n[s+1]?.focus(),e.preventDefault()}return}if(e.key==="Home"){let s=n.shift();s&&(s.focus(),e.preventDefault());return}if(e.key==="End"){let s=n.pop();s&&(s.focus(),e.preventDefault());return}}updateAncestorTree(e){let t=e.target,l=e.detail.updateItem;if(t.disabled||t.indeterminate&&!l)return;let r=[],n=t.parentElement.closest("calcite-tree-item");for(;n;)r.push(n),n=n.parentElement.closest("calcite-tree-item");let s=Array.from(t.querySelectorAll("calcite-tree-item:not([disabled])")),u=s.filter(i=>!i.hasChildren),g=s.filter(i=>i.hasChildren),d;l?d=t.hasChildren?!(t.selected||t.indeterminate):!t.selected:d=t.selected,u.forEach(i=>{i.selected=d,i.indeterminate=!1});function c(i,o){let f=i.filter(p=>p.selected),m=i.filter(p=>!p.selected);o.selected=f.length===i.length,o.indeterminate=f.length>0&&m.length>0}g.reverse().forEach(i=>{let o=Array.from(i.querySelectorAll(":scope > calcite-tree > calcite-tree-item"));c(o,i)}),l&&(t.hasChildren?c(s,t):(t.selected=d,t.indeterminate=!1)),r.forEach(i=>{let o=a(i.querySelectorAll("calcite-tree-item")),f=o.filter(p=>p.selected);if(f.length===0){i.selected=!1,i.indeterminate=!1;return}let m=f.length<o.length;i.indeterminate=m,i.selected=!m}),this.selectedItems=a(this.el.querySelectorAll("calcite-tree-item")).filter(i=>i.selected),l&&this.calciteTreeSelect.emit()}updateItems(){this.items.forEach(e=>e.parentExpanded=this.parentExpanded)}handleDefaultSlotChange(e){let t=C(e).filter(l=>l.matches("calcite-tree-item"));this.items=t,this.updateItems()}getRootTabIndex(){return this.child?-1:0}render(){return this.el.ariaMultiSelectable=this.child?void 0:T(this.selectionMode==="multiple"||this.selectionMode==="multichildren"),this.el.role=this.child?void 0:"tree",M(this.el,"tabIndex",this.getRootTabIndex()),E`<slot @slotchange=${this.handleDefaultSlotChange}></slot>`}};b("calcite-tree",x);export{x as Tree};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
+
v3.2.0-next.3 */
|
|
4
|
+
import{a as s}from"./QYX2ZL6X.js";import{a as f,b}from"./NSSKOFQH.js";import{a as g}from"./GHDEJX5N.js";import{a as v}from"./FDGPGEXX.js";import{a as p,b as u}from"./64PDALZJ.js";import{d as m}from"./PPEST4DH.js";import"./2RXKSLXC.js";import{D as d,H as h,e as l,f as r,v as n,w as c,x as o}from"./METBU7KA.js";var y={container:"container"},x={search:"search"},F=l`:host{box-sizing:border-box;background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:flex;inline-size:100%}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}.container{display:flex;inline-size:100%}:host([scale=s]) .container{padding:var(--calcite-spacing-sm)}:host([scale=m]) .container{padding:var(--calcite-spacing-md)}:host([scale=l]) .container{padding:var(--calcite-spacing-lg)}label{position:relative;margin-block:0px;display:flex;inline-size:100%;align-items:center;overflow:hidden}calcite-input{inline-size:100%}:host([hidden]){display:none}[hidden]{display:none}`,a=class extends c{constructor(){super(...arguments),this.filterDebounced=g((e,t=!1,i)=>this.updateFiltered(s(this.items??[],e,this.filterProps),t,i),d.filter),this.textInput=p(),this._value="",this.disabled=!1,this.filteredItems=[],this.items=[],this.messages=v(),this.scale="m",this.calciteFilterChange=n({cancelable:!1})}static{this.properties={disabled:7,filterProps:0,filteredItems:0,items:0,label:1,messageOverrides:0,placeholder:1,scale:3,value:1}}static{this.shadowRootOptions={mode:"open",delegatesFocus:!0}}static{this.styles=F}get value(){return this._value}set value(e){let t=this._value;e!==t&&(this._value=e,this.valueHandler(e))}async filter(e=this.value){return new Promise(t=>{this.value=e,this.updateFiltered(s(this.items??[],e,this.filterProps),!1,t)})}async setFocus(){return await m(this),this.textInput.value?.setFocus()}async load(){this.updateFiltered(s(this.items??[],this.value,this.filterProps))}willUpdate(e){(e.has("items")&&(this.hasUpdated||this.items?.length>0)||e.has("filterProps"))&&this.filterDebounced(this.value)}updated(){f(this)}disconnectedCallback(){super.disconnectedCallback(),this.filterDebounced.cancel()}valueHandler(e){this.filterDebounced(e)}inputHandler(e){let t=e.target;this.value=t.value,this.filterDebounced(t.value,!0)}keyDownHandler(e){e.defaultPrevented||(e.key==="Escape"&&(this.clear(),e.preventDefault()),e.key==="Enter"&&e.preventDefault())}clear(){this.value="",this.filterDebounced("",!0),this.setFocus()}updateFiltered(e,t=!1,i){this.filteredItems=e,t&&this.calciteFilterChange.emit(),i?.()}render(){let{disabled:e,scale:t}=this;return b({disabled:e,children:r`<div class=${o(y.container)}><label><calcite-input clearable .disabled=${e} .icon=${x.search} .label=${this.label??this.messages.label} .messageOverrides=${{clear:this.messages.clear}} @keydown=${this.keyDownHandler} @calciteInputInput=${this.inputHandler} .placeholder=${this.placeholder} .scale=${t} type=text .value=${this.value} ${u(this.textInput)}></calcite-input></label></div>`})}};h("calcite-filter",a);export{a as Filter};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
+
v3.2.0-next.3 */
|
|
4
|
+
import{b as e}from"./MVJPQKKA.js";import"./C72O5LIN.js";var _={name:"it",weekdays:"domenica_luned\xEC_marted\xEC_mercoled\xEC_gioved\xEC_venerd\xEC_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),weekStart:1,monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"tra %s",past:"%s fa",s:"qualche secondo",m:"un minuto",mm:"%d minuti",h:"un' ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},ordinal:function(o){return o+"\xBA"}};e.locale(_,null,!0);var n=_;export{n as default};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
+
v3.2.0-next.3 */
|
|
4
|
+
import{a as y}from"./FDGPGEXX.js";import{a as x}from"./RXHNKSYE.js";import{A as u,H as k,e as g,f as r,g as h,j as p,w as z,x as l,y as f}from"./METBU7KA.js";var t={percentage:"percentage",progressRing:"ring--progress",ring:"ring",rings:"rings",text:"text",trackRing:"ring--track"},$=g`:host{position:relative;margin-inline:auto;display:flex;align-items:center;justify-content:center;opacity:1;flex-direction:column;min-block-size:var(--calcite-loader-size);font-size:var(--calcite-loader-font-size);stroke-width:var(--calcite-internal-stroke-width);fill:none;transform:scale(1);padding-block:var(--calcite-loader-spacing, 4rem)}:host([scale=s]){--calcite-internal-stroke-width: 3;--calcite-internal-text-offset: var(--calcite-spacing-xxs);--calcite-internal-loader-font-size: var(--calcite-font-size--3);--calcite-internal-loader-size: 2rem;--calcite-internal-loader-size-inline: .75rem;--calcite-internal-loader-value-line-height: .625rem}:host([scale=m]){--calcite-internal-stroke-width: 6;--calcite-internal-text-offset: var(--calcite-spacing-sm);--calcite-internal-loader-font-size: var(--calcite-font-size-0);--calcite-internal-loader-size: 4rem;--calcite-internal-loader-size-inline: 1rem;--calcite-internal-loader-value-line-height: 1.375rem}:host([scale=l]){--calcite-internal-stroke-width: 8;--calcite-internal-text-offset: var(--calcite-spacing-md);--calcite-internal-loader-font-size: var(--calcite-font-size-2);--calcite-internal-loader-size: 6rem;--calcite-internal-loader-size-inline: 1.5rem;--calcite-internal-loader-value-line-height: 1.71875rem}.text{display:block;text-align:center;font-size:var(--calcite-font-size--2);line-height:1rem;margin-block-start:var(--calcite-loader-text-spacing, var(--calcite-internal-text-offset));font-weight:var(--calcite-loader-text-weight, var(--calcite-font-weight-normal));color:var(--calcite-loader-text-color, var(--calcite-color-text-1))}.percentage{display:block;text-align:center;font-size:var(--calcite-loader-font-size);inline-size:var(--calcite-loader-size, var(--calcite-internal-loader-size));line-height:var(--calcite-internal-loader-value-line-height);align-self:center;color:var(--calcite-loader-text-color, var(--calcite-color-text-1))}.rings{position:relative;display:flex;overflow:visible;opacity:1;inline-size:var(--calcite-loader-size, var(--calcite-internal-loader-size));block-size:var(--calcite-loader-size, var(--calcite-internal-loader-size))}.ring{position:absolute;inset-block-start:0px;transform-origin:center;overflow:visible;inset-inline-start:0;inline-size:var(--calcite-loader-size, var(--calcite-internal-loader-size));block-size:var(--calcite-loader-size, var(--calcite-internal-loader-size))}.ring--track{stroke:var(--calcite-loader-track-color, var(--calcite-color-transparent-press))}.ring--progress{stroke:var(--calcite-loader-progress-color, var(--calcite-color-brand));transform:rotate(-90deg);transition:all var(--calcite-internal-animation-timing-fast) linear}:host([type=indeterminate]) .ring--progress{animation:loader-clockwise calc(var(--calcite-internal-animation-timing-slow) / var(--calcite-internal-duration-factor) * 2 / var(--calcite-internal-duration-factor)) linear infinite}:host([inline]){--calcite-internal-stroke-width: 2;position:relative;margin:0;stroke:currentColor;stroke-width:2;padding-block:0px;block-size:var(--calcite-loader-size, var(--calcite-loader-size-inline, var(--calcite-internal-loader-size-inline)));min-block-size:var(--calcite-loader-size, var(--calcite-loader-size-inline, var(--calcite-internal-loader-size-inline)));inline-size:var(--calcite-loader-size, var(--calcite-loader-size-inline, var(--calcite-internal-loader-size-inline)));vertical-align:calc(var(--calcite-loader-size, var(--calcite-loader-size-inline, var(--calcite-internal-loader-size-inline))) * -1 * .2)}:host([inline]) .rings{inset-block-start:0px;margin:0;inset-inline-start:0;inline-size:var(--calcite-loader-size, var(--calcite-loader-size-inline, var(--calcite-internal-loader-size-inline)));block-size:var(--calcite-loader-size, var(--calcite-loader-size-inline, var(--calcite-internal-loader-size-inline)))}:host([inline]) .ring{inline-size:var(--calcite-loader-size, var(--calcite-loader-size-inline, var(--calcite-internal-loader-size-inline)));block-size:var(--calcite-loader-size, var(--calcite-loader-size-inline, var(--calcite-internal-loader-size-inline)))}:host([inline]) .ring--progress{stroke:var(--calcite-loader-progress-color-inline, currentColor)}:host([complete]){opacity:0;transform:scale(.75);transform-origin:center;transition:opacity var(--calcite-internal-animation-timing-medium) linear 1s,transform var(--calcite-internal-animation-timing-medium) linear 1s}:host([complete]) .rings{opacity:0;transform:scale(.75);transform-origin:center;transition:opacity calc(.18s * var(--calcite-internal-duration-factor)) linear .8s,transform calc(.18s * var(--calcite-internal-duration-factor)) linear .8s}:host([complete]) .percentage{color:var(--calcite-color-brand);transform:scale(1.05);transform-origin:center;transition:color var(--calcite-internal-animation-timing-medium) linear,transform var(--calcite-internal-animation-timing-medium) linear}@keyframes loader-clockwise{0%{transform:rotate(0)}to{transform:rotate(360deg)}}:host([hidden]){display:none}[hidden]{display:none}`,m=class extends z{constructor(){super(...arguments),this.messages=y({name:null}),this.complete=!1,this.inline=!1,this.scale="m",this.text="",this.type="indeterminate",this.value=0}static{this.properties={complete:7,inline:7,label:1,scale:3,text:1,type:3,value:9}}static{this.styles=$}connectedCallback(){super.connectedCallback(),this.updateFormatter()}load(){requestAnimationFrame(()=>this.valueChangeHandler())}willUpdate(e){e.has("value")&&(this.hasUpdated||this.value!==0)&&this.valueChangeHandler(),(e.has("type")&&(this.hasUpdated||this.type!=="indeterminate")||e.has("messages"))&&this.updateFormatter()}valueChangeHandler(){this.complete=this.type.startsWith("determinate")&&this.value===100}formatValue(){return this.type!=="determinate-value"?`${this.value}`:this.formatter.format(this.value/100)}getSize(e){return{s:32,m:64,l:96}[e]}getInlineSize(e){return{s:12,m:16,l:24}[e]}updateFormatter(){this.type!=="determinate-value"||this.formatter?.resolvedOptions().locale===this.messages._lang||(this.formatter=new Intl.NumberFormat(this.messages._lang,{style:"percent"}))}render(){let{el:e,inline:n,label:s,text:c,type:i,value:o}=this,d=e.id||x(),a=i!=="indeterminate",v=Math.floor(o);return this.el.ariaLabel=s,this.el.ariaValueMax=a?"100":void 0,this.el.ariaValueMin=a?"0":void 0,this.el.ariaValueNow=a?v.toString():void 0,u(this.el,"id",d),this.el.role="progressbar",r`<div class=${l(t.rings)}>${this.renderRing("track")}${this.renderRing("progress")}${!n&&a&&r`<div class=${l(t.percentage)}>${this.formatValue()}</div>`||""}</div>${!n&&c&&r`<div class=${l(t.text)}>${c}</div>`||""}`}renderRing(e){let{inline:n,scale:s,value:c}=this,i=n?this.getInlineSize(s):this.getSize(s),o=i*.45,d;if(e==="progress"){let a=2*o*Math.PI,v=(this.type.startsWith("determinate")?c:24)/100*a,b=a-v;d={"stroke-dasharray":`${v} ${b}`}}return r`<svg aria-hidden=true class=${l({[t.ring]:!0,[t.trackRing]:e==="track",[t.progressRing]:e==="progress"})} style=${f(d)} viewBox=${`0 0 ${i} ${i}`}>${h`<circle cx=${i/2} cy=${i/2} r=${o??p} />`}</svg>`}};k("calcite-loader",m);export{m as Loader};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
+
v3.2.0-next.3 */
|
|
4
|
+
var l="calcite-list",r="calcite-list-item-group",n="calcite-list-item";function o(e){let t=e.parentElement?.closest(n);t&&(t.open=!0,o(t))}function f(e){let t=e.assignedElements({flatten:!0}),s=t.filter(a=>a?.matches(r)).map(a=>Array.from(a.querySelectorAll(n))).flat(),i=t.filter(a=>a?.matches(n));return{lists:t.filter(a=>a?.matches(l)),items:s.concat(i)}}function u(e){let t=e.assignedElements({flatten:!0}).filter(s=>s.matches(n));t.forEach(s=>{s.setPosition=t.indexOf(s)+1,s.setSize=t.length})}function h(e,t=!1){if(!1)return 0;let s=t?"ancestor::calcite-list-item | ancestor::calcite-list-item-group":"ancestor::calcite-list-item";return document.evaluate(s,e,null,XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE,null).snapshotLength}function E(e){return e.tagName==="CALCITE-LIST-ITEM"}export{l as a,r as b,n as c,o as d,f as e,u as f,h as g,E as h};
|