@esri/calcite-components 3.2.0-next.10 → 3.2.0-next.11
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/2255TMWN.js +4 -0
- package/dist/calcite/2BNHEVOO.js +4 -0
- package/dist/calcite/2EFRZSYA.js +4 -0
- package/dist/calcite/2EFRZSYA.js.LEGAL.txt +3 -0
- package/dist/calcite/2IAH6J4H.js +4 -0
- package/dist/calcite/2JOOKYN3.js +4 -0
- package/dist/calcite/2JOOKYN3.js.LEGAL.txt +3 -0
- package/dist/calcite/2O77VKWX.js +4 -0
- package/dist/calcite/2O77VKWX.js.LEGAL.txt +3 -0
- package/dist/calcite/2QYO3TAW.js +4 -0
- package/dist/calcite/2QYO3TAW.js.LEGAL.txt +3 -0
- package/dist/calcite/2ZRW3XP2.js +4 -0
- package/dist/calcite/2ZRW3XP2.js.LEGAL.txt +3 -0
- package/dist/calcite/33BEEDL5.js +4 -0
- package/dist/calcite/33BEEDL5.js.LEGAL.txt +3 -0
- package/dist/calcite/35GJ6GK4.js +4 -0
- package/dist/calcite/3GKIOBGO.js +4 -0
- package/dist/calcite/3GKIOBGO.js.LEGAL.txt +3 -0
- package/dist/calcite/3IPWWZLZ.js +4 -0
- package/dist/calcite/3ZNOTRLM.js +4 -0
- package/dist/calcite/3ZNOTRLM.js.LEGAL.txt +3 -0
- package/dist/calcite/4M3WZWF3.js +4 -0
- package/dist/calcite/4M3WZWF3.js.LEGAL.txt +3 -0
- package/dist/calcite/4VSGSRVA.js +4 -0
- package/dist/calcite/53L6Z4HY.js +4 -0
- package/dist/calcite/53L6Z4HY.js.LEGAL.txt +3 -0
- package/dist/calcite/53ZHTUV4.js +4 -0
- package/dist/calcite/53ZHTUV4.js.LEGAL.txt +3 -0
- package/dist/calcite/5BO3DHC6.js +4 -0
- package/dist/calcite/5BO3DHC6.js.LEGAL.txt +3 -0
- package/dist/calcite/5RXBDODH.js +4 -0
- package/dist/calcite/5RXBDODH.js.LEGAL.txt +3 -0
- package/dist/calcite/5VJKERCO.js +4 -0
- package/dist/calcite/5W42LIJ7.js +4 -0
- package/dist/calcite/5W42LIJ7.js.LEGAL.txt +3 -0
- package/dist/calcite/5YRZN5RV.js +4 -0
- package/dist/calcite/5YRZN5RV.js.LEGAL.txt +3 -0
- package/dist/calcite/6425AZDG.js +4 -0
- package/dist/calcite/6425AZDG.js.LEGAL.txt +3 -0
- package/dist/calcite/6FKIS4HH.js +4 -0
- package/dist/calcite/6FKIS4HH.js.LEGAL.txt +3 -0
- package/dist/calcite/6FTSPRLU.js +4 -0
- package/dist/calcite/6FTSPRLU.js.LEGAL.txt +3 -0
- package/dist/calcite/6HQTWQGJ.js +4 -0
- package/dist/calcite/6JILAXSE.js +4 -0
- package/dist/calcite/75SJWBXF.js +4 -0
- package/dist/calcite/7D3PCICR.js +4 -0
- package/dist/calcite/7D3PCICR.js.LEGAL.txt +7 -0
- package/dist/calcite/7G3PHMJJ.js +4 -0
- package/dist/calcite/7G3PHMJJ.js.LEGAL.txt +3 -0
- package/dist/calcite/7I5H6BYF.js +4 -0
- package/dist/calcite/7KGGFEVT.js +4 -0
- package/dist/calcite/7KGGFEVT.js.LEGAL.txt +3 -0
- package/dist/calcite/7LAOUCKJ.js +4 -0
- package/dist/calcite/7LAOUCKJ.js.LEGAL.txt +3 -0
- package/dist/calcite/7MV3ISNU.js +4 -0
- package/dist/calcite/A7PUCYOQ.js +4 -0
- package/dist/calcite/A7PUCYOQ.js.LEGAL.txt +3 -0
- package/dist/calcite/AAIPJA5O.js +4 -0
- package/dist/calcite/AAIPJA5O.js.LEGAL.txt +3 -0
- package/dist/calcite/AGLGUDIH.js +4 -0
- package/dist/calcite/AIL7VLRX.js +4 -0
- package/dist/calcite/ATFKKK2M.js +4 -0
- package/dist/calcite/ATFKKK2M.js.LEGAL.txt +3 -0
- package/dist/calcite/AVM2MAYU.js +4 -0
- package/dist/calcite/AVM2MAYU.js.LEGAL.txt +3 -0
- package/dist/calcite/B2NMYMCP.js +4 -0
- package/dist/calcite/B6EGSDTC.js +4 -0
- package/dist/calcite/B6EGSDTC.js.LEGAL.txt +3 -0
- package/dist/calcite/B7ELRDBV.js +4 -0
- package/dist/calcite/BBYM6DNQ.js +4 -0
- package/dist/calcite/BBYM6DNQ.js.LEGAL.txt +3 -0
- package/dist/calcite/BE7IWQBN.js +4 -0
- package/dist/calcite/BE7IWQBN.js.LEGAL.txt +3 -0
- package/dist/calcite/BJKIJFBX.js +4 -0
- package/dist/calcite/BJKIJFBX.js.LEGAL.txt +3 -0
- package/dist/calcite/BT4BUJEQ.js +4 -0
- package/dist/calcite/BT4BUJEQ.js.LEGAL.txt +3 -0
- package/dist/calcite/BUBHNRSB.js +4 -0
- package/dist/calcite/C4SFWPN7.js +4 -0
- package/dist/calcite/C4SFWPN7.js.LEGAL.txt +3 -0
- package/dist/calcite/C67WDIGA.js +4 -0
- package/dist/calcite/C67WDIGA.js.LEGAL.txt +3 -0
- package/dist/calcite/CCXES442.js +4 -0
- package/dist/calcite/CCXES442.js.LEGAL.txt +3 -0
- package/dist/calcite/CF5E5YPL.js +4 -0
- package/dist/calcite/CF5E5YPL.js.LEGAL.txt +3 -0
- package/dist/calcite/CFESXKMO.js +4 -0
- package/dist/calcite/CFESXKMO.js.LEGAL.txt +3 -0
- package/dist/calcite/CJO5TNFK.js +4 -0
- package/dist/calcite/CR3V2EST.js +4 -0
- package/dist/calcite/CYI5JHHD.js +4 -0
- package/dist/calcite/D3PQFTLG.js +4 -0
- package/dist/calcite/D3PQFTLG.js.LEGAL.txt +3 -0
- package/dist/calcite/D4TI4XXM.js +4 -0
- package/dist/calcite/D4TI4XXM.js.LEGAL.txt +3 -0
- package/dist/calcite/DDNVR6VC.js +4 -0
- package/dist/calcite/DDT5NW5X.js +4 -0
- package/dist/calcite/DDT5NW5X.js.LEGAL.txt +3 -0
- package/dist/calcite/DEQ67VWV.js +4 -0
- package/dist/calcite/DEQ67VWV.js.LEGAL.txt +3 -0
- package/dist/calcite/DLC7HETS.js +5 -0
- package/dist/calcite/DLPGTMVZ.js +5 -0
- package/dist/calcite/DLPGTMVZ.js.LEGAL.txt +3 -0
- package/dist/calcite/DNU3OS4P.js +4 -0
- package/dist/calcite/DTS5ZV4I.js +22 -0
- package/dist/calcite/DTS5ZV4I.js.LEGAL.txt +3 -0
- package/dist/calcite/DVNK4LLH.js +4 -0
- package/dist/calcite/DVNK4LLH.js.LEGAL.txt +3 -0
- package/dist/calcite/E4PKBIFT.js +4 -0
- package/dist/calcite/E4PKBIFT.js.LEGAL.txt +3 -0
- package/dist/calcite/EESLF5ML.js +4 -0
- package/dist/calcite/EFVWCFXL.js +4 -0
- package/dist/calcite/EFVWCFXL.js.LEGAL.txt +3 -0
- package/dist/calcite/EM3SBYLB.js +4 -0
- package/dist/calcite/EM6ILCDV.js +4 -0
- package/dist/calcite/EM6ILCDV.js.LEGAL.txt +3 -0
- package/dist/calcite/EN2ZEEOG.js +4 -0
- package/dist/calcite/EN2ZEEOG.js.LEGAL.txt +13 -0
- package/dist/calcite/EVD2JOE2.js +4 -0
- package/dist/calcite/FF5GN4TU.js +4 -0
- package/dist/calcite/FI3R72Q5.js +4 -0
- package/dist/calcite/FMZA75K7.js +4 -0
- package/dist/calcite/FMZA75K7.js.LEGAL.txt +3 -0
- package/dist/calcite/FQRWUTFE.js +4 -0
- package/dist/calcite/FQRWUTFE.js.LEGAL.txt +3 -0
- package/dist/calcite/FRU5HNHB.js +4 -0
- package/dist/calcite/FRU5HNHB.js.LEGAL.txt +3 -0
- package/dist/calcite/FXQTFFBG.js +4 -0
- package/dist/calcite/FXQTFFBG.js.LEGAL.txt +3 -0
- package/dist/calcite/G2LIGHM7.js +4 -0
- package/dist/calcite/G2LIGHM7.js.LEGAL.txt +3 -0
- package/dist/calcite/G7QUIWLA.js +4 -0
- package/dist/calcite/G7QUIWLA.js.LEGAL.txt +3 -0
- package/dist/calcite/GET5SAGV.js +4 -0
- package/dist/calcite/GFD3XSOE.js +4 -0
- package/dist/calcite/GFD3XSOE.js.LEGAL.txt +3 -0
- package/dist/calcite/GMZBGOV6.js +4 -0
- package/dist/calcite/GMZBGOV6.js.LEGAL.txt +3 -0
- package/dist/calcite/GRAYGQKU.js +4 -0
- package/dist/calcite/GRAYGQKU.js.LEGAL.txt +3 -0
- package/dist/calcite/GRPP24ZW.js +5 -0
- package/dist/calcite/GWULPU7M.js +4 -0
- package/dist/calcite/GWULPU7M.js.LEGAL.txt +3 -0
- package/dist/calcite/GZTWALXK.js +4 -0
- package/dist/calcite/GZTWALXK.js.LEGAL.txt +3 -0
- package/dist/calcite/H2J73SIZ.js +4 -0
- package/dist/calcite/H2J73SIZ.js.LEGAL.txt +3 -0
- package/dist/calcite/H4QKU62S.js +4 -0
- package/dist/calcite/H4QKU62S.js.LEGAL.txt +3 -0
- package/dist/calcite/H5NJC5JZ.js +4 -0
- package/dist/calcite/H5NJC5JZ.js.LEGAL.txt +3 -0
- package/dist/calcite/H7EQQRJH.js +4 -0
- package/dist/calcite/H7EQQRJH.js.LEGAL.txt +3 -0
- package/dist/calcite/HDTJIGKH.js +4 -0
- package/dist/calcite/HDTJIGKH.js.LEGAL.txt +3 -0
- package/dist/calcite/HMHM5GND.js +4 -0
- package/dist/calcite/HNEMZZ4P.js +4 -0
- package/dist/calcite/HNEMZZ4P.js.LEGAL.txt +3 -0
- package/dist/calcite/HPGEJ67J.js +4 -0
- package/dist/calcite/HPGEJ67J.js.LEGAL.txt +3 -0
- package/dist/calcite/HR6HHFTJ.js +4 -0
- package/dist/calcite/HR6HHFTJ.js.LEGAL.txt +3 -0
- package/dist/calcite/HWVFP3MI.js +4 -0
- package/dist/calcite/HWVFP3MI.js.LEGAL.txt +3 -0
- package/dist/calcite/I3JH2SHU.js +4 -0
- package/dist/calcite/I3JH2SHU.js.LEGAL.txt +3 -0
- package/dist/calcite/IJYAIQLX.js +4 -0
- package/dist/calcite/IJYAIQLX.js.LEGAL.txt +3 -0
- package/dist/calcite/ILNRYSU4.js +4 -0
- package/dist/calcite/IRTZWTE6.js +4 -0
- package/dist/calcite/IRTZWTE6.js.LEGAL.txt +3 -0
- package/dist/calcite/IUKKSMKZ.js +4 -0
- package/dist/calcite/IUKKSMKZ.js.LEGAL.txt +3 -0
- package/dist/calcite/IURA6TNS.js +4 -0
- package/dist/calcite/IXVKEFXR.js +4 -0
- package/dist/calcite/IXVKEFXR.js.LEGAL.txt +3 -0
- package/dist/calcite/IZZ7FRBR.js +4 -0
- package/dist/calcite/J3HXJV4Z.js +4 -0
- package/dist/calcite/J3HXJV4Z.js.LEGAL.txt +3 -0
- package/dist/calcite/J4LJZSDY.js +4 -0
- package/dist/calcite/J4LJZSDY.js.LEGAL.txt +3 -0
- package/dist/calcite/JAXHJNDF.js +4 -0
- package/dist/calcite/JF7CRPEG.js +4 -0
- package/dist/calcite/JF7CRPEG.js.LEGAL.txt +3 -0
- package/dist/calcite/JOBXA3HC.js +4 -0
- package/dist/calcite/JVXCJ6CB.js +4 -0
- package/dist/calcite/JVXCJ6CB.js.LEGAL.txt +3 -0
- package/dist/calcite/K4OFX44J.js +4 -0
- package/dist/calcite/K4OFX44J.js.LEGAL.txt +3 -0
- package/dist/calcite/K63D7MM4.js +4 -0
- package/dist/calcite/K63D7MM4.js.LEGAL.txt +3 -0
- package/dist/calcite/K73Y3KXM.js +4 -0
- package/dist/calcite/KAHL4ERS.js +4 -0
- package/dist/calcite/KG3XFUT3.js +4 -0
- package/dist/calcite/KG3XFUT3.js.LEGAL.txt +3 -0
- package/dist/calcite/KLDC2OHI.js +4 -0
- package/dist/calcite/KLDC2OHI.js.LEGAL.txt +3 -0
- package/dist/calcite/KMS4S2QZ.js +4 -0
- package/dist/calcite/KMS4S2QZ.js.LEGAL.txt +3 -0
- package/dist/calcite/KUUZ4HAK.js +28 -0
- package/dist/calcite/KUUZ4HAK.js.LEGAL.txt +3 -0
- package/dist/calcite/KYHMJQBN.js +4 -0
- package/dist/calcite/KYHMJQBN.js.LEGAL.txt +3 -0
- package/dist/calcite/L2BHEYJM.js +4 -0
- package/dist/calcite/L2BHEYJM.js.LEGAL.txt +3 -0
- package/dist/calcite/LB7EBG36.js +4 -0
- package/dist/calcite/LPCIK7O3.js +4 -0
- package/dist/calcite/LPLFJOZU.js +4 -0
- package/dist/calcite/LPLFJOZU.js.LEGAL.txt +3 -0
- package/dist/calcite/LVAKGILP.js +6 -0
- package/dist/calcite/LVAKGILP.js.LEGAL.txt +145 -0
- package/dist/calcite/LWUN7FGT.js +4 -0
- package/dist/calcite/LWUN7FGT.js.LEGAL.txt +3 -0
- package/dist/calcite/M2SDK2FC.js +4 -0
- package/dist/calcite/M4Y6GKKV.js +4 -0
- package/dist/calcite/M5BFDFKY.js +4 -0
- package/dist/calcite/M5BFDFKY.js.LEGAL.txt +3 -0
- package/dist/calcite/M6VY4ALM.js +4 -0
- package/dist/calcite/M6VY4ALM.js.LEGAL.txt +3 -0
- package/dist/calcite/MEMDLVEK.js +4 -0
- package/dist/calcite/MEMDLVEK.js.LEGAL.txt +3 -0
- package/dist/calcite/MMFLXALJ.js +4 -0
- package/dist/calcite/MMFLXALJ.js.LEGAL.txt +3 -0
- package/dist/calcite/MNUQIOTY.js +4 -0
- package/dist/calcite/MNUQIOTY.js.LEGAL.txt +3 -0
- package/dist/calcite/MS7IW5PJ.js +4 -0
- package/dist/calcite/MTT6FEVL.js +4 -0
- package/dist/calcite/N37MOIO6.js +4 -0
- package/dist/calcite/N3S55KYK.js +4 -0
- package/dist/calcite/N5Q65QII.js +4 -0
- package/dist/calcite/N5Q65QII.js.LEGAL.txt +3 -0
- package/dist/calcite/N66SPPKF.js +4 -0
- package/dist/calcite/N66SPPKF.js.LEGAL.txt +3 -0
- package/dist/calcite/NGRJBOFO.js +4 -0
- package/dist/calcite/NGRJBOFO.js.LEGAL.txt +3 -0
- package/dist/calcite/NHDH7DX4.js +4 -0
- package/dist/calcite/NHDH7DX4.js.LEGAL.txt +3 -0
- package/dist/calcite/NO4SXGR5.js +5 -0
- package/dist/calcite/NO4SXGR5.js.LEGAL.txt +17 -0
- package/dist/calcite/NQYCHIPB.js +4 -0
- package/dist/calcite/NQYCHIPB.js.LEGAL.txt +3 -0
- package/dist/calcite/NSGNLADF.js +4 -0
- package/dist/calcite/NSGNLADF.js.LEGAL.txt +3 -0
- package/dist/calcite/O2U47ED6.js +4 -0
- package/dist/calcite/OC44XFR3.js +4 -0
- package/dist/calcite/OC44XFR3.js.LEGAL.txt +3 -0
- package/dist/calcite/OEKKIQW2.js +4 -0
- package/dist/calcite/OEKKIQW2.js.LEGAL.txt +3 -0
- package/dist/calcite/OEUHOV6D.js +4 -0
- package/dist/calcite/OEUHOV6D.js.LEGAL.txt +3 -0
- package/dist/calcite/OFAJNUTN.js +4 -0
- package/dist/calcite/OJ53VQYL.js +4 -0
- package/dist/calcite/OJ53VQYL.js.LEGAL.txt +3 -0
- package/dist/calcite/P5BQBZUP.js +4 -0
- package/dist/calcite/P5ENODNO.js +4 -0
- package/dist/calcite/P5ENODNO.js.LEGAL.txt +3 -0
- package/dist/calcite/P5OGE27X.js +4 -0
- package/dist/calcite/P5OGE27X.js.LEGAL.txt +3 -0
- package/dist/calcite/PAH2C5LV.js +4 -0
- package/dist/calcite/PAH2C5LV.js.LEGAL.txt +3 -0
- package/dist/calcite/PIIG5TIP.js +4 -0
- package/dist/calcite/PKNCEI3L.js +4 -0
- package/dist/calcite/PKNCEI3L.js.LEGAL.txt +3 -0
- package/dist/calcite/PMAVSZUK.js +4 -0
- package/dist/calcite/Q2IRC4BD.js +4 -0
- package/dist/calcite/QAHQKYE3.js +4 -0
- package/dist/calcite/QE5GJQN3.js +4 -0
- package/dist/calcite/QE5GJQN3.js.LEGAL.txt +3 -0
- package/dist/calcite/QEBGB76O.js +4 -0
- package/dist/calcite/QJLPKTVF.js +4 -0
- package/dist/calcite/QJLPKTVF.js.LEGAL.txt +3 -0
- package/dist/calcite/QOFMAIC4.js +4 -0
- package/dist/calcite/QOFMAIC4.js.LEGAL.txt +3 -0
- package/dist/calcite/QUCHZF4F.js +4 -0
- package/dist/calcite/QUCHZF4F.js.LEGAL.txt +3 -0
- package/dist/calcite/R5K5XYTG.js +4 -0
- package/dist/calcite/R5K5XYTG.js.LEGAL.txt +3 -0
- package/dist/calcite/RPQR2ATM.js +4 -0
- package/dist/calcite/RPQR2ATM.js.LEGAL.txt +3 -0
- package/dist/calcite/RWQVG3D4.js +4 -0
- package/dist/calcite/RWQVG3D4.js.LEGAL.txt +3 -0
- package/dist/calcite/RYDHXV6T.js +4 -0
- package/dist/calcite/RYDHXV6T.js.LEGAL.txt +3 -0
- package/dist/calcite/S3QVZMJ3.js +4 -0
- package/dist/calcite/S3QVZMJ3.js.LEGAL.txt +3 -0
- package/dist/calcite/SJAXHDKP.js +4 -0
- package/dist/calcite/SJAXHDKP.js.LEGAL.txt +3 -0
- package/dist/calcite/SRB73D6B.js +4 -0
- package/dist/calcite/SRB73D6B.js.LEGAL.txt +3 -0
- package/dist/calcite/T2QCUIZG.js +4 -0
- package/dist/calcite/T2QCUIZG.js.LEGAL.txt +3 -0
- package/dist/calcite/TBN2OA57.js +4 -0
- package/dist/calcite/TBN2OA57.js.LEGAL.txt +3 -0
- package/dist/calcite/TEVJSTIR.js +4 -0
- package/dist/calcite/TI3HVEWA.js +4 -0
- package/dist/calcite/TI3HVEWA.js.LEGAL.txt +3 -0
- package/dist/calcite/TKAIFGAA.js +4 -0
- package/dist/calcite/TKAIFGAA.js.LEGAL.txt +3 -0
- package/dist/calcite/TOXOBK2C.js +4 -0
- package/dist/calcite/TOXOBK2C.js.LEGAL.txt +3 -0
- package/dist/calcite/TQAFUNEC.js +4 -0
- package/dist/calcite/TQAFUNEC.js.LEGAL.txt +3 -0
- package/dist/calcite/TVSACQWL.js +4 -0
- package/dist/calcite/TVSACQWL.js.LEGAL.txt +3 -0
- package/dist/calcite/TXBXE7U4.js +4 -0
- package/dist/calcite/TXBXE7U4.js.LEGAL.txt +3 -0
- package/dist/calcite/TZCW4KJT.js +4 -0
- package/dist/calcite/TZCW4KJT.js.LEGAL.txt +3 -0
- package/dist/calcite/UFGG3PYX.js +4 -0
- package/dist/calcite/USAPUDT2.js +4 -0
- package/dist/calcite/USAPUDT2.js.LEGAL.txt +3 -0
- package/dist/calcite/UVGQ237V.js +4 -0
- package/dist/calcite/UVGQ237V.js.LEGAL.txt +3 -0
- package/dist/calcite/V5WA7T5N.js +4 -0
- package/dist/calcite/V5WA7T5N.js.LEGAL.txt +3 -0
- package/dist/calcite/V6X3VRQN.js +4 -0
- package/dist/calcite/V6X3VRQN.js.LEGAL.txt +3 -0
- package/dist/calcite/VBHP4SGX.js +4 -0
- package/dist/calcite/VEDXE3UR.js +4 -0
- package/dist/calcite/VEMUNLGT.js +4 -0
- package/dist/calcite/VEMUNLGT.js.LEGAL.txt +3 -0
- package/dist/calcite/VGDHF2EX.js +4 -0
- package/dist/calcite/VGDHF2EX.js.LEGAL.txt +3 -0
- package/dist/calcite/VLWLEIXW.js +4 -0
- package/dist/calcite/VLWLEIXW.js.LEGAL.txt +3 -0
- package/dist/calcite/VNPSR3PB.js +4 -0
- package/dist/calcite/VQ7SDOFL.js +4 -0
- package/dist/calcite/VQ7SDOFL.js.LEGAL.txt +3 -0
- package/dist/calcite/VW5XHG2C.js +4 -0
- package/dist/calcite/VW5XHG2C.js.LEGAL.txt +3 -0
- package/dist/calcite/W56FSLAZ.js +4 -0
- package/dist/calcite/W56FSLAZ.js.LEGAL.txt +3 -0
- package/dist/calcite/WDTXCZ6Z.js +4 -0
- package/dist/calcite/WT73TU63.js +4 -0
- package/dist/calcite/WT73TU63.js.LEGAL.txt +3 -0
- package/dist/calcite/WUJGYSTP.js +4 -0
- package/dist/calcite/WXT5IZ4G.js +4 -0
- package/dist/calcite/WXT5IZ4G.js.LEGAL.txt +3 -0
- package/dist/calcite/WY62HMBD.js +4 -0
- package/dist/calcite/X4VBS7PS.js +4 -0
- package/dist/calcite/X4VBS7PS.js.LEGAL.txt +3 -0
- package/dist/calcite/XJ2IYXJL.js +4 -0
- package/dist/calcite/XJ2IYXJL.js.LEGAL.txt +3 -0
- package/dist/calcite/XJSO7JQN.js +4 -0
- package/dist/calcite/XJSO7JQN.js.LEGAL.txt +3 -0
- package/dist/calcite/XMHAEH65.js +4 -0
- package/dist/calcite/XMHAEH65.js.LEGAL.txt +3 -0
- package/dist/calcite/XRTJUNBY.js +4 -0
- package/dist/calcite/Y55U7ZDV.js +4 -0
- package/dist/calcite/Y7H6ORGF.js +4 -0
- package/dist/calcite/Y7H6ORGF.js.LEGAL.txt +3 -0
- package/dist/calcite/Y7ZG6KR2.js +4 -0
- package/dist/calcite/Y7ZG6KR2.js.LEGAL.txt +3 -0
- package/dist/calcite/YDEHB3W5.js +4 -0
- package/dist/calcite/YDEHB3W5.js.LEGAL.txt +3 -0
- package/dist/calcite/YEEWPQ3Q.js +4 -0
- package/dist/calcite/YHPGTL6E.js +4 -0
- package/dist/calcite/YHPGTL6E.js.LEGAL.txt +3 -0
- package/dist/calcite/YIS754VE.js +4 -0
- package/dist/calcite/YLKTLV3S.js +4 -0
- package/dist/calcite/YOORXK6H.js +4 -0
- package/dist/calcite/YOORXK6H.js.LEGAL.txt +3 -0
- package/dist/calcite/YSA7B455.js +4 -0
- package/dist/calcite/YSA7B455.js.LEGAL.txt +3 -0
- package/dist/calcite/YZL2SJ5Z.js +4 -0
- package/dist/calcite/YZL2SJ5Z.js.LEGAL.txt +3 -0
- package/dist/calcite/Z7N5D4UD.js +4 -0
- package/dist/calcite/Z7N5D4UD.js.LEGAL.txt +3 -0
- package/dist/calcite/ZOXZ6A64.js +4 -0
- package/dist/calcite/ZOXZ6A64.js.LEGAL.txt +3 -0
- package/dist/calcite/ZPIAXZEG.js +4 -0
- package/dist/calcite/ZPIAXZEG.js.LEGAL.txt +3 -0
- package/dist/calcite/ZS3PTEQQ.js +4 -0
- package/dist/calcite/ZS3PTEQQ.js.LEGAL.txt +3 -0
- package/dist/calcite/ZVIEVEGR.js +4 -0
- package/dist/calcite/ZVIEVEGR.js.LEGAL.txt +3 -0
- 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/XButton.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 +5 -5
- 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 +1 -1
- 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 +1 -1
- 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 +10 -2
- 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-nav/customElement.js +1 -1
- package/dist/components/calcite-tab-title/customElement.js +1 -1
- 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 +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/index.js +1 -1
- package/dist/loader.js +1 -1
- package/package.json +3 -3
- package/dist/calcite/22LLGNAM.js +0 -4
- package/dist/calcite/27AVUMUR.js +0 -5
- package/dist/calcite/27AVUMUR.js.LEGAL.txt +0 -3
- package/dist/calcite/2FPRF7XD.js +0 -4
- package/dist/calcite/2GGUTQLG.js +0 -4
- package/dist/calcite/2GGUTQLG.js.LEGAL.txt +0 -3
- package/dist/calcite/2KC7H7YG.js +0 -4
- package/dist/calcite/2KC7H7YG.js.LEGAL.txt +0 -3
- package/dist/calcite/2OW5M4T6.js +0 -4
- package/dist/calcite/2OWHUPHV.js +0 -4
- package/dist/calcite/2OWHUPHV.js.LEGAL.txt +0 -3
- package/dist/calcite/2RZM5CUZ.js +0 -4
- package/dist/calcite/32X7BTW4.js +0 -4
- package/dist/calcite/32X7BTW4.js.LEGAL.txt +0 -3
- package/dist/calcite/3J37C674.js +0 -4
- package/dist/calcite/3KPJ4J37.js +0 -4
- package/dist/calcite/3KPJ4J37.js.LEGAL.txt +0 -3
- package/dist/calcite/3M5XH6DH.js +0 -4
- package/dist/calcite/3Q24U2M5.js +0 -4
- package/dist/calcite/3Q24U2M5.js.LEGAL.txt +0 -3
- package/dist/calcite/43ZDFXAH.js +0 -4
- package/dist/calcite/43ZDFXAH.js.LEGAL.txt +0 -3
- package/dist/calcite/4FIWXWE4.js +0 -4
- package/dist/calcite/4FIWXWE4.js.LEGAL.txt +0 -3
- package/dist/calcite/4QGLGVR5.js +0 -4
- package/dist/calcite/4QGLGVR5.js.LEGAL.txt +0 -3
- package/dist/calcite/4UT4E6D5.js +0 -4
- package/dist/calcite/4UT4E6D5.js.LEGAL.txt +0 -3
- package/dist/calcite/4ZIIKETG.js +0 -4
- package/dist/calcite/5AWJJYSE.js +0 -4
- package/dist/calcite/5AWJJYSE.js.LEGAL.txt +0 -3
- package/dist/calcite/5LIVVDTV.js +0 -4
- package/dist/calcite/5LO5MYLQ.js +0 -4
- package/dist/calcite/5LO5MYLQ.js.LEGAL.txt +0 -3
- package/dist/calcite/5XJCYD62.js +0 -4
- package/dist/calcite/5XJCYD62.js.LEGAL.txt +0 -3
- package/dist/calcite/5Y2V3KI3.js +0 -4
- package/dist/calcite/5Y2V3KI3.js.LEGAL.txt +0 -3
- package/dist/calcite/5YPJRO6K.js +0 -4
- package/dist/calcite/5YPJRO6K.js.LEGAL.txt +0 -3
- package/dist/calcite/5ZDEXUEM.js +0 -4
- package/dist/calcite/5ZDEXUEM.js.LEGAL.txt +0 -3
- package/dist/calcite/5ZRLNF4C.js +0 -4
- package/dist/calcite/5ZRLNF4C.js.LEGAL.txt +0 -3
- package/dist/calcite/62YXMQUH.js +0 -4
- package/dist/calcite/6HCB67VX.js +0 -4
- package/dist/calcite/6HCB67VX.js.LEGAL.txt +0 -3
- package/dist/calcite/6LNRGKPF.js +0 -4
- package/dist/calcite/6NKNX3CQ.js +0 -4
- package/dist/calcite/6SLCCT6C.js +0 -4
- package/dist/calcite/6SLCCT6C.js.LEGAL.txt +0 -3
- package/dist/calcite/72UBMNAK.js +0 -5
- package/dist/calcite/72UBMNAK.js.LEGAL.txt +0 -17
- package/dist/calcite/7F7GN7N4.js +0 -4
- package/dist/calcite/7O47N4O2.js +0 -4
- package/dist/calcite/7O47N4O2.js.LEGAL.txt +0 -3
- package/dist/calcite/7YDZO33T.js +0 -4
- package/dist/calcite/7YDZO33T.js.LEGAL.txt +0 -3
- package/dist/calcite/AALRGG3U.js +0 -4
- package/dist/calcite/AALRGG3U.js.LEGAL.txt +0 -3
- package/dist/calcite/AI4MSBRX.js +0 -4
- package/dist/calcite/AI4MSBRX.js.LEGAL.txt +0 -3
- package/dist/calcite/AK3LSJCP.js +0 -4
- package/dist/calcite/AKM2SK4V.js +0 -4
- package/dist/calcite/AKM2SK4V.js.LEGAL.txt +0 -3
- package/dist/calcite/AN4WGPYC.js +0 -4
- package/dist/calcite/AN4WGPYC.js.LEGAL.txt +0 -3
- package/dist/calcite/AQ34Y3RU.js +0 -4
- package/dist/calcite/AVHBFH5T.js +0 -4
- package/dist/calcite/AVHBFH5T.js.LEGAL.txt +0 -3
- package/dist/calcite/AWVI36GE.js +0 -4
- package/dist/calcite/BBEJA4FT.js +0 -4
- package/dist/calcite/BBEJA4FT.js.LEGAL.txt +0 -3
- package/dist/calcite/BMDUXIPY.js +0 -4
- package/dist/calcite/BMDUXIPY.js.LEGAL.txt +0 -3
- package/dist/calcite/BY7UKXA7.js +0 -4
- package/dist/calcite/BY7UKXA7.js.LEGAL.txt +0 -3
- package/dist/calcite/C7UPLDHC.js +0 -4
- package/dist/calcite/C7UPLDHC.js.LEGAL.txt +0 -3
- package/dist/calcite/CGZNJVA2.js +0 -4
- package/dist/calcite/CGZNJVA2.js.LEGAL.txt +0 -3
- package/dist/calcite/CHCZPJI2.js +0 -4
- package/dist/calcite/CHCZPJI2.js.LEGAL.txt +0 -3
- package/dist/calcite/D4HSHJFJ.js +0 -4
- package/dist/calcite/DAMVVEUK.js +0 -4
- package/dist/calcite/DAMVVEUK.js.LEGAL.txt +0 -3
- package/dist/calcite/DD7SMB7T.js +0 -4
- package/dist/calcite/DEWQZO2M.js +0 -4
- package/dist/calcite/DEWQZO2M.js.LEGAL.txt +0 -3
- package/dist/calcite/DHH46NT5.js +0 -4
- package/dist/calcite/DHH46NT5.js.LEGAL.txt +0 -3
- package/dist/calcite/DHH6WV52.js +0 -4
- package/dist/calcite/DLXP2YN4.js +0 -4
- package/dist/calcite/DLXP2YN4.js.LEGAL.txt +0 -3
- package/dist/calcite/DMZKBJUV.js +0 -4
- package/dist/calcite/DVNXQGN7.js +0 -4
- package/dist/calcite/DVNXQGN7.js.LEGAL.txt +0 -3
- package/dist/calcite/DWM2W7NM.js +0 -4
- package/dist/calcite/DWM2W7NM.js.LEGAL.txt +0 -3
- package/dist/calcite/E47V3IBR.js +0 -4
- package/dist/calcite/E47V3IBR.js.LEGAL.txt +0 -3
- package/dist/calcite/EA5IEAEX.js +0 -4
- package/dist/calcite/EA5IEAEX.js.LEGAL.txt +0 -3
- package/dist/calcite/ECGC7GOK.js +0 -4
- package/dist/calcite/ECGC7GOK.js.LEGAL.txt +0 -3
- package/dist/calcite/EE7MNI26.js +0 -4
- package/dist/calcite/ERGVVY4J.js +0 -4
- package/dist/calcite/ERGVVY4J.js.LEGAL.txt +0 -3
- package/dist/calcite/EUL5YAHY.js +0 -4
- package/dist/calcite/EUL5YAHY.js.LEGAL.txt +0 -3
- package/dist/calcite/EWXSEH7A.js +0 -4
- package/dist/calcite/EYJHPONL.js +0 -4
- package/dist/calcite/FCAWMMFN.js +0 -4
- package/dist/calcite/FCAWMMFN.js.LEGAL.txt +0 -3
- package/dist/calcite/FLQ3UQFI.js +0 -4
- package/dist/calcite/FLQ3UQFI.js.LEGAL.txt +0 -3
- package/dist/calcite/FNOIF47C.js +0 -4
- package/dist/calcite/FNOIF47C.js.LEGAL.txt +0 -3
- package/dist/calcite/FNPLDIH7.js +0 -4
- package/dist/calcite/FNPLDIH7.js.LEGAL.txt +0 -3
- package/dist/calcite/FTCCSXZV.js +0 -4
- package/dist/calcite/FTCCSXZV.js.LEGAL.txt +0 -3
- package/dist/calcite/FYPRD2M5.js +0 -4
- package/dist/calcite/G6WS6OF2.js +0 -4
- package/dist/calcite/G6WS6OF2.js.LEGAL.txt +0 -3
- package/dist/calcite/GBPZUFQX.js +0 -4
- package/dist/calcite/GBPZUFQX.js.LEGAL.txt +0 -3
- package/dist/calcite/GFM5NV26.js +0 -4
- package/dist/calcite/GFM5NV26.js.LEGAL.txt +0 -3
- package/dist/calcite/GFXZMZH3.js +0 -4
- package/dist/calcite/GFXZMZH3.js.LEGAL.txt +0 -3
- package/dist/calcite/GN6AXCK4.js +0 -4
- package/dist/calcite/GN6AXCK4.js.LEGAL.txt +0 -3
- package/dist/calcite/GYQ7LZEG.js +0 -4
- package/dist/calcite/GYQ7LZEG.js.LEGAL.txt +0 -3
- package/dist/calcite/H2QBDOEK.js +0 -4
- package/dist/calcite/H2QBDOEK.js.LEGAL.txt +0 -3
- package/dist/calcite/H2XTFB4D.js +0 -4
- package/dist/calcite/H2XTFB4D.js.LEGAL.txt +0 -3
- package/dist/calcite/HDKRHH37.js +0 -4
- package/dist/calcite/HMUY2RIY.js +0 -4
- package/dist/calcite/HNLGZBV4.js +0 -4
- package/dist/calcite/HNLGZBV4.js.LEGAL.txt +0 -3
- package/dist/calcite/HOXSWZSQ.js +0 -4
- package/dist/calcite/HOXSWZSQ.js.LEGAL.txt +0 -3
- package/dist/calcite/IALCDP35.js +0 -4
- package/dist/calcite/IALCDP35.js.LEGAL.txt +0 -3
- package/dist/calcite/IDBQYA52.js +0 -4
- package/dist/calcite/IEHNFABZ.js +0 -4
- package/dist/calcite/IFDWUREV.js +0 -4
- package/dist/calcite/IFDWUREV.js.LEGAL.txt +0 -3
- package/dist/calcite/IFV23AL2.js +0 -4
- package/dist/calcite/IFV23AL2.js.LEGAL.txt +0 -3
- package/dist/calcite/IJC7R2QL.js +0 -4
- package/dist/calcite/IOP3GJU3.js +0 -4
- package/dist/calcite/IOP3GJU3.js.LEGAL.txt +0 -3
- package/dist/calcite/IQ3U3WWT.js +0 -4
- package/dist/calcite/IQ3U3WWT.js.LEGAL.txt +0 -3
- package/dist/calcite/IR45ATSY.js +0 -4
- package/dist/calcite/IR45ATSY.js.LEGAL.txt +0 -3
- package/dist/calcite/IRH3NPS5.js +0 -6
- package/dist/calcite/IRH3NPS5.js.LEGAL.txt +0 -145
- package/dist/calcite/IWCLBLSO.js +0 -4
- package/dist/calcite/IWCLBLSO.js.LEGAL.txt +0 -3
- package/dist/calcite/IZEPWRGH.js +0 -4
- package/dist/calcite/IZEPWRGH.js.LEGAL.txt +0 -3
- package/dist/calcite/J6DMQDAY.js +0 -4
- package/dist/calcite/J6DMQDAY.js.LEGAL.txt +0 -3
- package/dist/calcite/JE56S7BC.js +0 -4
- package/dist/calcite/JHHLVIIK.js +0 -4
- package/dist/calcite/JHHLVIIK.js.LEGAL.txt +0 -3
- package/dist/calcite/JOTXHPH6.js +0 -4
- package/dist/calcite/JOTXHPH6.js.LEGAL.txt +0 -3
- package/dist/calcite/JSOIQA7S.js +0 -4
- package/dist/calcite/JSOIQA7S.js.LEGAL.txt +0 -3
- package/dist/calcite/JTFK7VOE.js +0 -4
- package/dist/calcite/JZAHEJ6N.js +0 -4
- package/dist/calcite/JZAHEJ6N.js.LEGAL.txt +0 -3
- package/dist/calcite/K2RJNUWP.js +0 -4
- package/dist/calcite/K2RJNUWP.js.LEGAL.txt +0 -3
- package/dist/calcite/KAWB2KK4.js +0 -4
- package/dist/calcite/KAWB2KK4.js.LEGAL.txt +0 -3
- package/dist/calcite/KAYQVQ36.js +0 -4
- package/dist/calcite/KFNO3WPP.js +0 -4
- package/dist/calcite/KFNO3WPP.js.LEGAL.txt +0 -3
- package/dist/calcite/KHKGITHD.js +0 -4
- package/dist/calcite/KKZJENLW.js +0 -5
- package/dist/calcite/KNWPRMX3.js +0 -4
- package/dist/calcite/KNWPRMX3.js.LEGAL.txt +0 -3
- package/dist/calcite/KOCCP45M.js +0 -4
- package/dist/calcite/KOCCP45M.js.LEGAL.txt +0 -3
- package/dist/calcite/KOFHYQTY.js +0 -4
- package/dist/calcite/KOFHYQTY.js.LEGAL.txt +0 -3
- package/dist/calcite/L4LLKETU.js +0 -4
- package/dist/calcite/L4LLKETU.js.LEGAL.txt +0 -3
- package/dist/calcite/LBUWM4IN.js +0 -4
- package/dist/calcite/LBUWM4IN.js.LEGAL.txt +0 -3
- package/dist/calcite/LEM2DW77.js +0 -4
- package/dist/calcite/LEM2DW77.js.LEGAL.txt +0 -3
- package/dist/calcite/LK7XMROR.js +0 -4
- package/dist/calcite/LL6VY2LN.js +0 -4
- package/dist/calcite/LL6VY2LN.js.LEGAL.txt +0 -7
- package/dist/calcite/LLYFHAZM.js +0 -4
- package/dist/calcite/LNMAJO24.js +0 -5
- package/dist/calcite/LQDP7F5E.js +0 -4
- package/dist/calcite/LTGRX55L.js +0 -4
- package/dist/calcite/LTGRX55L.js.LEGAL.txt +0 -3
- package/dist/calcite/LUONMSW2.js +0 -4
- package/dist/calcite/LUONMSW2.js.LEGAL.txt +0 -3
- package/dist/calcite/MFGM4YSN.js +0 -4
- package/dist/calcite/MFGM4YSN.js.LEGAL.txt +0 -3
- package/dist/calcite/MJKCOZB7.js +0 -4
- package/dist/calcite/MJKCOZB7.js.LEGAL.txt +0 -3
- package/dist/calcite/MWMEPSDG.js +0 -4
- package/dist/calcite/NO7RUAEV.js +0 -4
- package/dist/calcite/NO7RUAEV.js.LEGAL.txt +0 -3
- package/dist/calcite/NUNBHW74.js +0 -4
- package/dist/calcite/NUNBHW74.js.LEGAL.txt +0 -3
- package/dist/calcite/NWURZ6LG.js +0 -4
- package/dist/calcite/NWURZ6LG.js.LEGAL.txt +0 -3
- package/dist/calcite/O3A64AT4.js +0 -4
- package/dist/calcite/O3A64AT4.js.LEGAL.txt +0 -3
- package/dist/calcite/O5YVFLRZ.js +0 -4
- package/dist/calcite/OAGLIALU.js +0 -4
- package/dist/calcite/OAPLC3XB.js +0 -4
- package/dist/calcite/OAPLC3XB.js.LEGAL.txt +0 -3
- package/dist/calcite/OBRIBQT4.js +0 -4
- package/dist/calcite/OFFT3FDL.js +0 -4
- package/dist/calcite/OFFT3FDL.js.LEGAL.txt +0 -3
- package/dist/calcite/ON3BPUYP.js +0 -4
- package/dist/calcite/ON3BPUYP.js.LEGAL.txt +0 -3
- package/dist/calcite/ONYK6BWJ.js +0 -4
- package/dist/calcite/ONYK6BWJ.js.LEGAL.txt +0 -3
- package/dist/calcite/OTCXYSO4.js +0 -4
- package/dist/calcite/OTCXYSO4.js.LEGAL.txt +0 -3
- package/dist/calcite/OY6NYVA5.js +0 -4
- package/dist/calcite/OY6NYVA5.js.LEGAL.txt +0 -3
- package/dist/calcite/OZBXOS2D.js +0 -4
- package/dist/calcite/OZBXOS2D.js.LEGAL.txt +0 -3
- package/dist/calcite/P2ECTW6N.js +0 -4
- package/dist/calcite/P2ECTW6N.js.LEGAL.txt +0 -3
- package/dist/calcite/P66ZRMJQ.js +0 -4
- package/dist/calcite/P66ZRMJQ.js.LEGAL.txt +0 -3
- package/dist/calcite/PBGEFKEJ.js +0 -4
- package/dist/calcite/PD3M63BL.js +0 -4
- package/dist/calcite/PD3M63BL.js.LEGAL.txt +0 -3
- package/dist/calcite/PH2CDS2D.js +0 -4
- package/dist/calcite/PHGTXVRT.js +0 -4
- package/dist/calcite/PNE22ZMX.js +0 -4
- package/dist/calcite/PODBP5R3.js +0 -4
- package/dist/calcite/PODBP5R3.js.LEGAL.txt +0 -3
- package/dist/calcite/PQTIMESB.js +0 -4
- package/dist/calcite/PTTU5HHJ.js +0 -4
- package/dist/calcite/Q3NZZJN5.js +0 -4
- package/dist/calcite/Q3NZZJN5.js.LEGAL.txt +0 -3
- package/dist/calcite/QAJU6PQK.js +0 -4
- package/dist/calcite/QCKDQYG5.js +0 -4
- package/dist/calcite/QCKDQYG5.js.LEGAL.txt +0 -3
- package/dist/calcite/QGWPF55X.js +0 -4
- package/dist/calcite/QGWPF55X.js.LEGAL.txt +0 -3
- package/dist/calcite/QWUJUI5K.js +0 -4
- package/dist/calcite/QWUJUI5K.js.LEGAL.txt +0 -3
- package/dist/calcite/QXYRPXO6.js +0 -4
- package/dist/calcite/REJ7CZEK.js +0 -4
- package/dist/calcite/RMQGEKZG.js +0 -4
- package/dist/calcite/RNEC7B75.js +0 -4
- package/dist/calcite/RNEC7B75.js.LEGAL.txt +0 -3
- package/dist/calcite/RQCMMWPL.js +0 -4
- package/dist/calcite/RQCMMWPL.js.LEGAL.txt +0 -3
- package/dist/calcite/RRTZX7LP.js +0 -4
- package/dist/calcite/RUP7IO6P.js +0 -4
- package/dist/calcite/RUP7IO6P.js.LEGAL.txt +0 -3
- package/dist/calcite/RWJTCEPV.js +0 -4
- package/dist/calcite/RX7YGACJ.js +0 -4
- package/dist/calcite/RX7YGACJ.js.LEGAL.txt +0 -3
- package/dist/calcite/S26A5PDR.js +0 -4
- package/dist/calcite/S7BXODDD.js +0 -4
- package/dist/calcite/SANXRJA2.js +0 -4
- package/dist/calcite/SANXRJA2.js.LEGAL.txt +0 -3
- package/dist/calcite/SUWTR7TF.js +0 -4
- package/dist/calcite/SVHJAFRI.js +0 -4
- package/dist/calcite/SVHJAFRI.js.LEGAL.txt +0 -3
- package/dist/calcite/T4JIOHQB.js +0 -4
- package/dist/calcite/T4JIOHQB.js.LEGAL.txt +0 -3
- package/dist/calcite/T5YZ54FO.js +0 -4
- package/dist/calcite/T5YZ54FO.js.LEGAL.txt +0 -3
- package/dist/calcite/TF4LTM6N.js +0 -22
- package/dist/calcite/TF4LTM6N.js.LEGAL.txt +0 -3
- package/dist/calcite/TGVYQ4IR.js +0 -4
- package/dist/calcite/TGVYQ4IR.js.LEGAL.txt +0 -3
- package/dist/calcite/TLL46X27.js +0 -4
- package/dist/calcite/TNCCUHQ3.js +0 -4
- package/dist/calcite/TNCCUHQ3.js.LEGAL.txt +0 -3
- package/dist/calcite/TS5UHLN7.js +0 -4
- package/dist/calcite/TSSA7MBA.js +0 -4
- package/dist/calcite/U36MJWFO.js +0 -4
- package/dist/calcite/U36MJWFO.js.LEGAL.txt +0 -3
- package/dist/calcite/U6QFGUQB.js +0 -4
- package/dist/calcite/U6QFGUQB.js.LEGAL.txt +0 -3
- package/dist/calcite/UBXX2VCU.js +0 -4
- package/dist/calcite/UBXX2VCU.js.LEGAL.txt +0 -3
- package/dist/calcite/UIM2DZVV.js +0 -4
- package/dist/calcite/UIM2DZVV.js.LEGAL.txt +0 -3
- package/dist/calcite/UJQ2IDUY.js +0 -4
- package/dist/calcite/UJQ2IDUY.js.LEGAL.txt +0 -3
- package/dist/calcite/UO7WH6MP.js +0 -4
- package/dist/calcite/UO7WH6MP.js.LEGAL.txt +0 -3
- package/dist/calcite/UOC4HKIH.js +0 -4
- package/dist/calcite/UOC4HKIH.js.LEGAL.txt +0 -3
- package/dist/calcite/UP3YEEAZ.js +0 -4
- package/dist/calcite/UP3YEEAZ.js.LEGAL.txt +0 -3
- package/dist/calcite/UQS3DCP5.js +0 -4
- package/dist/calcite/URKTZX2K.js +0 -4
- package/dist/calcite/URKTZX2K.js.LEGAL.txt +0 -3
- package/dist/calcite/UUXPF2P2.js +0 -4
- package/dist/calcite/UUXPF2P2.js.LEGAL.txt +0 -3
- package/dist/calcite/V6IS5DBH.js +0 -4
- package/dist/calcite/V6IS5DBH.js.LEGAL.txt +0 -3
- package/dist/calcite/VIFFQRFP.js +0 -4
- package/dist/calcite/VIFFQRFP.js.LEGAL.txt +0 -3
- package/dist/calcite/VIHN5AN7.js +0 -4
- package/dist/calcite/VIHN5AN7.js.LEGAL.txt +0 -3
- package/dist/calcite/VLMRRBYH.js +0 -4
- package/dist/calcite/VLMRRBYH.js.LEGAL.txt +0 -3
- package/dist/calcite/VS64RTMO.js +0 -4
- package/dist/calcite/VWTP7DHF.js +0 -4
- package/dist/calcite/VWTP7DHF.js.LEGAL.txt +0 -3
- package/dist/calcite/W57CH5W7.js +0 -4
- package/dist/calcite/W57CH5W7.js.LEGAL.txt +0 -3
- package/dist/calcite/W74S2HNP.js +0 -4
- package/dist/calcite/W74S2HNP.js.LEGAL.txt +0 -3
- package/dist/calcite/W7M3VDHV.js +0 -4
- package/dist/calcite/W7M3VDHV.js.LEGAL.txt +0 -3
- package/dist/calcite/WDVB6AKG.js +0 -4
- package/dist/calcite/WDVB6AKG.js.LEGAL.txt +0 -3
- package/dist/calcite/WFUFRUCK.js +0 -4
- package/dist/calcite/WFUFRUCK.js.LEGAL.txt +0 -3
- package/dist/calcite/WMKVISBS.js +0 -4
- package/dist/calcite/WMKVISBS.js.LEGAL.txt +0 -3
- package/dist/calcite/WRQNBDAJ.js +0 -4
- package/dist/calcite/WRQNBDAJ.js.LEGAL.txt +0 -3
- package/dist/calcite/WSQIRAFR.js +0 -4
- package/dist/calcite/WSQIRAFR.js.LEGAL.txt +0 -13
- package/dist/calcite/WUBGGZCY.js +0 -4
- package/dist/calcite/WUBGGZCY.js.LEGAL.txt +0 -3
- package/dist/calcite/WXRUJ65X.js +0 -4
- package/dist/calcite/WXRUJ65X.js.LEGAL.txt +0 -3
- package/dist/calcite/X3GXGDXG.js +0 -4
- package/dist/calcite/X4WNYO4E.js +0 -4
- package/dist/calcite/X4WNYO4E.js.LEGAL.txt +0 -3
- package/dist/calcite/XBADQVN7.js +0 -4
- package/dist/calcite/XBADQVN7.js.LEGAL.txt +0 -3
- package/dist/calcite/XC6WQBSE.js +0 -4
- package/dist/calcite/XC6WQBSE.js.LEGAL.txt +0 -3
- package/dist/calcite/XIMUS24E.js +0 -4
- package/dist/calcite/XIMUS24E.js.LEGAL.txt +0 -3
- package/dist/calcite/XRAQORRD.js +0 -4
- package/dist/calcite/XRAQORRD.js.LEGAL.txt +0 -3
- package/dist/calcite/XSQYXCUF.js +0 -4
- package/dist/calcite/XVA4O274.js +0 -4
- package/dist/calcite/XVA4O274.js.LEGAL.txt +0 -3
- package/dist/calcite/Y2XOVF5F.js +0 -4
- package/dist/calcite/Y4447HQ4.js +0 -4
- package/dist/calcite/Y4447HQ4.js.LEGAL.txt +0 -3
- package/dist/calcite/YBZCDG67.js +0 -4
- package/dist/calcite/YBZCDG67.js.LEGAL.txt +0 -3
- package/dist/calcite/YFUXSWQ7.js +0 -4
- package/dist/calcite/YFUXSWQ7.js.LEGAL.txt +0 -3
- package/dist/calcite/YTLLKT2K.js +0 -28
- package/dist/calcite/YTLLKT2K.js.LEGAL.txt +0 -3
- package/dist/calcite/YXHUH5OR.js +0 -4
- package/dist/calcite/YXHUH5OR.js.LEGAL.txt +0 -3
- package/dist/calcite/Z3TKM2DG.js +0 -4
- package/dist/calcite/ZIX5V35W.js +0 -4
- package/dist/calcite/ZIX5V35W.js.LEGAL.txt +0 -3
- package/dist/calcite/ZLOMJPJQ.js +0 -4
- package/dist/calcite/ZXU4AI6S.js +0 -4
- /package/dist/calcite/{22LLGNAM.js.LEGAL.txt → 2255TMWN.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{2FPRF7XD.js.LEGAL.txt → 2BNHEVOO.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{2OW5M4T6.js.LEGAL.txt → 2IAH6J4H.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{2RZM5CUZ.js.LEGAL.txt → 35GJ6GK4.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{6LNRGKPF.js.LEGAL.txt → 3IPWWZLZ.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{3J37C674.js.LEGAL.txt → 4VSGSRVA.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{3M5XH6DH.js.LEGAL.txt → 5VJKERCO.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{4ZIIKETG.js.LEGAL.txt → 6HQTWQGJ.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{5LIVVDTV.js.LEGAL.txt → 6JILAXSE.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{62YXMQUH.js.LEGAL.txt → 75SJWBXF.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{6NKNX3CQ.js.LEGAL.txt → 7I5H6BYF.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{7F7GN7N4.js.LEGAL.txt → 7MV3ISNU.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{AK3LSJCP.js.LEGAL.txt → AGLGUDIH.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{AQ34Y3RU.js.LEGAL.txt → AIL7VLRX.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{AWVI36GE.js.LEGAL.txt → B2NMYMCP.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{D4HSHJFJ.js.LEGAL.txt → B7ELRDBV.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{DD7SMB7T.js.LEGAL.txt → BUBHNRSB.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{DHH6WV52.js.LEGAL.txt → CJO5TNFK.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{DMZKBJUV.js.LEGAL.txt → CR3V2EST.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{EE7MNI26.js.LEGAL.txt → CYI5JHHD.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{EWXSEH7A.js.LEGAL.txt → DDNVR6VC.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{KKZJENLW.js.LEGAL.txt → DLC7HETS.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{EYJHPONL.js.LEGAL.txt → DNU3OS4P.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{FYPRD2M5.js.LEGAL.txt → EESLF5ML.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{HDKRHH37.js.LEGAL.txt → EM3SBYLB.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{REJ7CZEK.js.LEGAL.txt → EVD2JOE2.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{HMUY2RIY.js.LEGAL.txt → FF5GN4TU.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{IDBQYA52.js.LEGAL.txt → FI3R72Q5.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{IEHNFABZ.js.LEGAL.txt → GET5SAGV.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{IJC7R2QL.js.LEGAL.txt → GRPP24ZW.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{JE56S7BC.js.LEGAL.txt → HMHM5GND.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{JTFK7VOE.js.LEGAL.txt → ILNRYSU4.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{KAYQVQ36.js.LEGAL.txt → IURA6TNS.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{MWMEPSDG.js.LEGAL.txt → IZZ7FRBR.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{KHKGITHD.js.LEGAL.txt → JAXHJNDF.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{PBGEFKEJ.js.LEGAL.txt → JOBXA3HC.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{LK7XMROR.js.LEGAL.txt → K73Y3KXM.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{LLYFHAZM.js.LEGAL.txt → KAHL4ERS.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{LNMAJO24.js.LEGAL.txt → LB7EBG36.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{LQDP7F5E.js.LEGAL.txt → LPCIK7O3.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{O5YVFLRZ.js.LEGAL.txt → M2SDK2FC.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{OAGLIALU.js.LEGAL.txt → M4Y6GKKV.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{OBRIBQT4.js.LEGAL.txt → MS7IW5PJ.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{PH2CDS2D.js.LEGAL.txt → MTT6FEVL.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{PHGTXVRT.js.LEGAL.txt → N37MOIO6.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{PNE22ZMX.js.LEGAL.txt → N3S55KYK.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{PQTIMESB.js.LEGAL.txt → O2U47ED6.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{PTTU5HHJ.js.LEGAL.txt → OFAJNUTN.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{QAJU6PQK.js.LEGAL.txt → P5BQBZUP.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{QXYRPXO6.js.LEGAL.txt → PIIG5TIP.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{RMQGEKZG.js.LEGAL.txt → PMAVSZUK.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{RRTZX7LP.js.LEGAL.txt → Q2IRC4BD.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{RWJTCEPV.js.LEGAL.txt → QAHQKYE3.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{S26A5PDR.js.LEGAL.txt → QEBGB76O.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{S7BXODDD.js.LEGAL.txt → TEVJSTIR.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{SUWTR7TF.js.LEGAL.txt → UFGG3PYX.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{TLL46X27.js.LEGAL.txt → VBHP4SGX.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{TS5UHLN7.js.LEGAL.txt → VEDXE3UR.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{TSSA7MBA.js.LEGAL.txt → VNPSR3PB.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{UQS3DCP5.js.LEGAL.txt → WDTXCZ6Z.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{VS64RTMO.js.LEGAL.txt → WUJGYSTP.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{X3GXGDXG.js.LEGAL.txt → WY62HMBD.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{XSQYXCUF.js.LEGAL.txt → XRTJUNBY.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{Y2XOVF5F.js.LEGAL.txt → Y55U7ZDV.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{Z3TKM2DG.js.LEGAL.txt → YEEWPQ3Q.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{ZLOMJPJQ.js.LEGAL.txt → YIS754VE.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{ZXU4AI6S.js.LEGAL.txt → YLKTLV3S.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.11 */
|
|
4
|
+
function c(){return typeof window<"u"}function s(n){return p(n)?(n.nodeName||"").toLowerCase():"#document"}function i(n){var t;return(n==null||(t=n.ownerDocument)==null?void 0:t.defaultView)||window}function E(n){var t;return(t=(p(n)?n.ownerDocument:n.document)||window.document)==null?void 0:t.documentElement}function p(n){return c()?n instanceof Node||n instanceof i(n).Node:!1}function m(n){return c()?n instanceof Element||n instanceof i(n).Element:!1}function w(n){return c()?n instanceof HTMLElement||n instanceof i(n).HTMLElement:!1}function a(n){return!c()||typeof ShadowRoot>"u"?!1:n instanceof ShadowRoot||n instanceof i(n).ShadowRoot}function y(n){let{overflow:t,overflowX:e,overflowY:o,display:r}=b(n);return/auto|scroll|overlay|hidden|clip/.test(t+o+e)&&!["inline","contents"].includes(r)}function D(n){return["table","td","th"].includes(s(n))}function N(n){return[":popover-open",":modal"].some(t=>{try{return n.matches(t)}catch{return!1}})}function T(n){let t=L(),e=m(n)?b(n):n;return["transform","translate","scale","rotate","perspective"].some(o=>e[o]?e[o]!=="none":!1)||(e.containerType?e.containerType!=="normal":!1)||!t&&(e.backdropFilter?e.backdropFilter!=="none":!1)||!t&&(e.filter?e.filter!=="none":!1)||["transform","translate","scale","rotate","perspective","filter"].some(o=>(e.willChange||"").includes(o))||["paint","layout","strict","content"].some(o=>(e.contain||"").includes(o))}function k(n){let t=u(n);for(;w(t)&&!g(t);){if(T(t))return t;if(N(t))return null;t=u(t)}return null}function L(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function g(n){return["html","body","#document"].includes(s(n))}function b(n){return i(n).getComputedStyle(n)}function C(n){return m(n)?{scrollLeft:n.scrollLeft,scrollTop:n.scrollTop}:{scrollLeft:n.scrollX,scrollTop:n.scrollY}}function u(n){if(s(n)==="html")return n;let t=n.assignedSlot||n.parentNode||a(n)&&n.host||E(n);return a(t)?t.host:t}function h(n){let t=u(n);return g(t)?n.ownerDocument?n.ownerDocument.body:n.body:w(t)&&y(t)?t:h(t)}function d(n,t,e){var o;t===void 0&&(t=[]),e===void 0&&(e=!0);let r=h(n),S=r===((o=n.ownerDocument)==null?void 0:o.body),l=i(r);if(S){let f=v(l);return t.concat(l,l.visualViewport||[],y(r)?r:[],f&&e?d(f):[])}return t.concat(r,d(r,[],e))}function v(n){return n.parent&&Object.getPrototypeOf(n.parent)?n.frameElement:null}export{s as a,i as b,E as c,m as d,w as e,y as f,D as g,N as h,T as i,k as j,L as k,g as l,b as m,C as n,u as o,h as p,d as q,v as r};
|
|
@@ -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.11 */
|
|
4
|
+
import{b as e}from"./P5BQBZUP.js";import"./HMHM5GND.js";var a={name:"en-au",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),weekStart:1,weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),ordinal:function(_){return _},formats:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"}};e.locale(a,null,!0);var t=a;export{t 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.11 */
|
|
4
|
+
import{k as s}from"./LPLFJOZU.js";import{a as g,b as f}from"./ZOXZ6A64.js";import"./IUKKSMKZ.js";import{a as v}from"./7G3PHMJJ.js";import{a as h,b as m}from"./JOBXA3HC.js";import{c as u,d as b}from"./KYHMJQBN.js";import"./TOXOBK2C.js";import{A as d,H as p,e as l,f as o,j as n,v as r,w as c,x as t}from"./LVAKGILP.js";var i={container:"container",stepperItemContent:"stepper-item-content",stepperItemDescription:"stepper-item-description",stepperItemHeader:"stepper-item-header",stepperItemHeading:"stepper-item-heading",stepperItemHeaderText:"stepper-item-header-text",stepperItemNumber:"stepper-item-number",visuallyHidden:"visually-hidden"},z=l`:host([layout=horizontal][disabled]) .stepper-item-header,:host([layout=horizontal-single][disabled]) .stepper-item-header,:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([layout=horizontal][disabled]) .stepper-item-header *,:host([layout=horizontal-single][disabled]) .stepper-item-header *,:host([disabled]) *,:host([layout=horizontal][disabled]) .stepper-item-header ::slotted(*),:host([layout=horizontal-single][disabled]) .stepper-item-header ::slotted(*),:host([disabled]) ::slotted(*){pointer-events:none}:host([scale=s]){--calcite-stepper-item-spacing-unit-s: .25rem;--calcite-stepper-item-spacing-unit-m: .75rem;--calcite-stepper-item-spacing-unit-l: 1rem;--calcite-internal-stepper-action-inline-size: 2rem;font-size:var(--calcite-font-size--1);line-height:1rem;margin-inline-end:.25rem}:host([scale=s]) .stepper-item-description{font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=m]){--calcite-stepper-item-spacing-unit-s: .5rem;--calcite-stepper-item-spacing-unit-m: 1rem;--calcite-stepper-item-spacing-unit-l: 1.25rem;--calcite-internal-stepper-action-inline-size: 2.5rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;margin-inline-end:.5rem}:host([scale=m]) .stepper-item-description{font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=l]){--calcite-stepper-item-spacing-unit-s: .75rem;--calcite-stepper-item-spacing-unit-m: 1.25rem;--calcite-stepper-item-spacing-unit-l: 1.5rem;--calcite-internal-stepper-action-inline-size: 3rem;font-size:var(--calcite-font-size-1);line-height:1.5rem;margin-inline-end:.75rem}:host([scale=l]) .stepper-item-description{font-size:var(--calcite-font-size-0);line-height:1.25rem}:host{position:relative;display:flex;flex-grow:1;flex-direction:column;align-self:flex-start;margin-block-end:var(--calcite-stepper-item-spacing-unit-s)}:host .container{position:relative;display:flex;flex-grow:1;cursor:pointer;flex-direction:column;border-width:0px;border-block-start-width:2px;border-style:solid;border-color:var(--calcite-color-border-3);color:var(--calcite-color-text-3);text-decoration-line:none;outline:2px solid transparent;outline-offset:2px}:host .container:active{background-color:var(--calcite-color-foreground-3)}:host{outline-color:transparent}:host(: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 .stepper-item-header{display:flex;cursor:pointer;align-items:flex-start}:host .stepper-item-header:active{background-color:var(--calcite-color-foreground-3)}:host .stepper-item-content,:host .stepper-item-header{padding-block:var(--calcite-stepper-item-spacing-unit-l);padding-inline-end:var(--calcite-stepper-item-spacing-unit-m);text-align:start}:host .stepper-item-header *{display:inline-flex;align-items:center}:host .stepper-item-content{display:none;inline-size:100%;flex-direction:column;font-size:var(--calcite-font-size--2);line-height:1.375}:host .stepper-item-icon{margin-inline-end:var(--calcite-stepper-item-spacing-unit-m);margin-block-start:1px;display:inline-flex;block-size:.75rem;flex-shrink:0;align-self:flex-start;color:var(--calcite-color-text-3);opacity:var(--calcite-opacity-disabled)}:host .stepper-item-header-text{flex-direction:column;text-align:initial;margin-inline-end:auto}:host .stepper-item-heading,:host .stepper-item-description{display:flex;inline-size:100%}:host .stepper-item-heading{margin-block-end:.25rem;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-2)}:host .stepper-item-description{color:var(--calcite-color-text-3)}:host .stepper-item-number{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-3);margin-inline-end:var(--calcite-stepper-item-spacing-unit-m)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([complete]) .container{border-color:#007ac280}:host([complete]) .container .stepper-item-icon{color:var(--calcite-color-brand)}:host([error]) .container{border-block-start-color:var(--calcite-color-status-danger)}:host([error]) .container .stepper-item-number{color:var(--calcite-color-status-danger)}:host([error]) .container .stepper-item-icon{opacity:1;color:var(--calcite-color-status-danger)}:host(:hover:not([disabled]):not([selected])) .container,:host(:focus:not([disabled]):not([selected])) .container{border-block-start-color:var(--calcite-color-brand)}:host(:hover:not([disabled]):not([selected])) .container .stepper-item-heading,:host(:focus:not([disabled]):not([selected])) .container .stepper-item-heading{color:var(--calcite-color-text-1)}:host(:hover:not([disabled]):not([selected])) .container .stepper-item-description,:host(:focus:not([disabled]):not([selected])) .container .stepper-item-description{color:var(--calcite-color-text-2)}:host([error]:hover:not([disabled]):not([selected])) .container,:host([error]:focus:not([disabled]):not([selected])) .container{border-block-start-color:var(--calcite-color-status-danger-hover)}:host([selected]) .container{border-block-start-color:var(--calcite-color-brand)}:host([selected]) .container .stepper-item-heading{color:var(--calcite-color-text-1)}:host([selected]) .container .stepper-item-description{color:var(--calcite-color-text-2)}:host([selected]) .container .stepper-item-number{color:var(--calcite-color-brand)}:host([selected]) .container .stepper-item-icon{color:var(--calcite-color-brand);opacity:1}:host([selected]) .container .stepper-item-content{display:flex}:host([layout=vertical]){inline-size:100%}:host([layout=vertical]) .container{margin-inline:0px;margin-block-start:0px;flex:1 1 auto;border-block-start-width:0px;border-style:solid;border-color:var(--calcite-color-border-3);padding-block:0px;border-inline-start-width:2px;padding-inline-start:var(--calcite-stepper-item-spacing-unit-l)}:host([layout=vertical]) .container .stepper-item-icon{order:3;margin-block:1px 0px;padding-inline-start:var(--calcite-stepper-item-spacing-unit-s);margin-inline-start:auto}:host([layout=vertical]) .container .stepper-item-header{padding-inline-end:0px}:host([layout=vertical]) .container .stepper-item-content{padding:0}:host([layout=vertical][complete]) .container{border-color:#007ac280}:host([layout=vertical][complete]:hover:not([disabled]):not([selected])) .container,:host([layout=vertical][complete]:focus:not([disabled]):not([selected])) .container{border-color:var(--calcite-color-brand)}:host([layout=vertical][error]) .container{border-color:var(--calcite-color-status-danger)}:host([layout=vertical][selected]) .container{border-color:var(--calcite-color-brand)}:host([layout=vertical][selected]) .container .stepper-item-content:not(:empty){margin-block-end:var(--calcite-stepper-item-spacing-unit-l)}:host([layout=vertical]:hover:not([disabled]):not([selected])) .container,:host([layout=vertical]:focus:not([disabled]):not([selected])) .container{border-color:#007ac280}:host([layout=vertical][error]:hover:not([disabled]):not([selected])) .container,:host([layout=vertical][error]:focus:not([disabled]):not([selected])) .container{border-color:var(--calcite-color-status-danger-hover)}:host([layout=horizontal]),:host([layout=horizontal-single]){display:contents}:host([layout=horizontal]) .container,:host([layout=horizontal-single]) .container{display:contents}:host([layout=horizontal]) .stepper-item-header,:host([layout=horizontal-single]) .stepper-item-header{border-width:0px;border-block-start-width:2px;border-style:solid;border-color:var(--calcite-color-border-3);outline-color:transparent;grid-row:items}:host([layout=horizontal]) .stepper-item-header:focus,:host([layout=horizontal-single]) .stepper-item-header:focus{transition-duration:0s;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([layout=horizontal]) .stepper-item-content,:host([layout=horizontal-single]) .stepper-item-content{cursor:auto;transition-duration:.15s;transition-timing-function:cubic-bezier(.4,0,.2,1);padding-block:0;padding-inline-end:var(--calcite-stepper-item-spacing-unit-m);text-align:start}:host([layout=horizontal-single]) .stepper-item-header{grid-area:1/1/1/-1}:host([layout=horizontal]) .stepper-item-content,:host([layout=horizontal-single]) .stepper-item-content{grid-area:2/1/2/-1}:host([layout=horizontal][complete]) .stepper-item-header,:host([layout=horizontal-single][complete]) .stepper-item-header{border-color:#007ac280}:host([layout=horizontal][complete]:hover:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal][complete]:focus:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal-single][complete]:hover:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal-single][complete]:focus:not([disabled]):not([selected])) .stepper-item-header{border-color:var(--calcite-color-brand)}:host([layout=horizontal][error]) .stepper-item-header,:host([layout=horizontal-single][error]) .stepper-item-header{border-color:var(--calcite-color-status-danger)}:host([layout=horizontal][selected]) .stepper-item-header,:host([layout=horizontal-single][selected]) .stepper-item-header{border-color:var(--calcite-color-brand)}:host([layout=horizontal]:hover:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal]:focus:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal-single]:hover:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal-single]:focus:not([disabled]):not([selected])) .stepper-item-header{border-color:#007ac280}:host([layout=horizontal][error]:hover:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal][error]:focus:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal-single][error]:hover:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal-single][error]:focus:not([disabled]):not([selected])) .stepper-item-header{border-color:var(--calcite-color-status-danger-hover)}@media (forced-colors: active){:host .container{outline-width:0;outline-offset:0}:host(:focus),:host(:focus-visible){outline-color:canvasText}:host([selected]) .container{border-block-start-color:highlight}:host([selected]) .container .stepper-item-number{color:highlight}:host([selected]) .container .stepper-item-icon{color:highlight}:host([layout=vertical][selected]) .container{border-color:highlight}}:host([layout=horizontal-single]) .stepper-item-header{margin-inline-end:0px;box-sizing:border-box;border-style:none;inline-size:100%;padding-inline:calc(var(--calcite-internal-stepper-action-inline-size) + .5rem)}:host([layout=horizontal-single][error]) .container .stepper-item-number{color:var(--calcite-color-status-danger)}:host([layout=horizontal-single][error]) .container .stepper-item-icon{opacity:1;color:var(--calcite-color-status-danger)}:host([layout=horizontal-single][error][selected]),:host([layout=horizontal-single][complete][selected]) .container{color:var(--calcite-color-text-3)}:host([layout=horizontal-single][error][selected]) .stepper-item-heading,:host([layout=horizontal-single][complete][selected]) .container .stepper-item-heading{color:var(--calcite-color-text-2)}:host([layout=horizontal-single][complete][selected]) .container .stepper-item-icon{opacity:var(--calcite-opacity-disabled)}:host([layout=horizontal-single][complete][selected]) .container .stepper-item-number{color:var(--calcite-color-text-3)}.visually-hidden{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}:host([hidden]){display:none}[hidden]{display:none}:host([item-hidden]){display:none}`,a=class extends c{constructor(){super(),this.headerEl=h(),this.complete=!1,this.disabled=!1,this.error=!1,this.icon=!1,this.iconFlipRtl=!1,this.itemHidden=!1,this.messages=v(),this.numbered=!1,this.scale="m",this.selected=!1,this.calciteInternalStepperItemKeyEvent=r({cancelable:!1}),this.calciteInternalStepperItemRegister=r({cancelable:!1}),this.calciteInternalStepperItemSelect=r({cancelable:!1}),this.calciteStepperItemSelect=r({cancelable:!1}),this.listenOn(document.body,"calciteInternalStepperItemChange",this.updateActiveItemOnChange),this.listen("click",this.handleItemClick),this.listen("keydown",this.keyDownHandler)}static{this.properties={complete:[7,{reflect:!0,type:Boolean}],description:1,disabled:[7,{reflect:!0,type:Boolean}],error:[7,{reflect:!0,type:Boolean}],heading:1,icon:[5,{type:Boolean}],iconFlipRtl:[7,{reflect:!0,type:Boolean}],itemHidden:[7,{reflect:!0,type:Boolean}],layout:[3,{reflect:!0}],messageOverrides:[0,{attribute:!1}],numbered:[5,{type:Boolean}],numberingSystem:1,scale:[3,{reflect:!0}],selected:[7,{reflect:!0,type:Boolean}]}}static{this.styles=z}async setFocus(){await b(this),(this.layout==="vertical"?this.el:this.headerEl.value)?.focus()}async load(){this.parentStepperEl=this.el.parentElement,this.itemPosition=this.getItemPosition(),this.registerStepperItem(),this.selected&&this.emitRequestedItem()}willUpdate(e){e.has("selected")&&(this.hasUpdated||this.selected!==!1)&&this.selectedHandler(),e.has("disabled")&&(this.hasUpdated||this.disabled!==!1)&&this.registerStepperItem(),e.has("messages")&&this.effectiveLocaleWatcher(this.messages._lang)}updated(){g(this),d(this.el,"tabindex",this.disabled||this.layout==="horizontal"?null:0)}selectedHandler(){this.selected&&this.emitRequestedItem()}effectiveLocaleWatcher(e){s.numberFormatOptions={locale:e,numberingSystem:this.numberingSystem,useGrouping:!1}}updateActiveItemOnChange(e){(e.target===this.parentStepperEl||e.composedPath().includes(this.parentStepperEl))&&(this.selectedPosition=e.detail.position,this.determineSelectedItem())}keyDownHandler(e){if(!this.disabled&&e.target===this.el)switch(e.key){case" ":case"Enter":this.emitUserRequestedItem(),e.preventDefault();break;case"ArrowUp":case"ArrowDown":case"ArrowLeft":case"ArrowRight":case"Home":case"End":this.calciteInternalStepperItemKeyEvent.emit({item:e}),e.preventDefault();break}}determineSelectedItem(){this.selected=!this.disabled&&this.itemPosition===this.selectedPosition}registerStepperItem(){this.calciteInternalStepperItemRegister.emit({position:this.itemPosition})}handleItemClick(e){this.disabled||u(this.el)||this.layout==="horizontal"&&e.composedPath().some(y=>y.classList?.contains("stepper-item-content"))||this.emitUserRequestedItem()}emitUserRequestedItem(){this.emitRequestedItem(),this.disabled||this.calciteStepperItemSelect.emit()}emitRequestedItem(){if(!this.disabled){let e=this.itemPosition;this.calciteInternalStepperItemSelect.emit({position:e})}}getItemPosition(){return Array.from(this.parentStepperEl?.querySelectorAll("calcite-stepper-item:not([hidden]):not([item-hidden])")).indexOf(this.el)}render(){this.el.ariaCurrent=this.selected?"step":"false";let e=this.layout==="horizontal"&&!this.disabled?0:null;return f({disabled:this.disabled,children:o`<div class=${t(i.container)}>${this.complete&&o`<span aria-live=polite class=${t(i.visuallyHidden)}>${this.messages.complete}</span>`||""}<div class=${t(i.stepperItemHeader)} tabindex=${e??n} ${m(this.headerEl)}>${this.icon?this.renderIcon():null}${this.numbered?o`<div class=${t(i.stepperItemNumber)}>${this.renderNumbers()}.</div>`:null}<div class=${t(i.stepperItemHeaderText)}><span class=${t(i.stepperItemHeading)}>${this.heading}</span><span class=${t(i.stepperItemDescription)}>${this.description}</span></div></div><div class=${t(i.stepperItemContent)}><slot></slot></div></div>`})}renderIcon(){let e="circle";return this.selected&&(this.layout!=="horizontal-single"||!this.error&&!this.complete)?e="circleF":this.error?e="exclamationMarkCircleF":this.complete&&(e="checkCircleF"),o`<calcite-icon class="stepper-item-icon" .flipRtl=${this.iconFlipRtl} .icon=${e} scale=s></calcite-icon>`}renderNumbers(){return s.numberFormatOptions={locale:this.messages._lang,numberingSystem:this.numberingSystem,useGrouping:!1},s.numberFormatter.format(this.itemPosition+1)}};p("calcite-stepper-item",a);export{a as StepperItem};
|
|
@@ -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.11 */
|
|
4
|
+
import{b as r}from"./P5BQBZUP.js";import"./HMHM5GND.js";var t={name:"en-gb",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekStart:1,yearStart:4,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},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"},ordinal:function(e){var a=["th","st","nd","rd"],_=e%100;return"["+e+(a[(_-20)%10]||a[_]||a[0])+"]"}};r.locale(t,null,!0);var u=t;export{u 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.11 */
|
|
4
|
+
var t={container:"container",actionsStart:"actions-start",contentStart:"content-start",content:"content",contentEnd:"content-end",actionsEnd:"actions-end"},n={actionsStart:"actions-start",contentStart:"content-start",contentEnd:"content-end",actionsEnd:"actions-end"};export{t as a,n 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.11 */
|
|
4
|
+
import{h as g}from"./TVSACQWL.js";import{k as o}from"./LPLFJOZU.js";import{a as p,b as y}from"./ZOXZ6A64.js";import{a as v}from"./IUKKSMKZ.js";import{k as h,r as u}from"./7D3PCICR.js";import{d as f}from"./KYHMJQBN.js";import"./TOXOBK2C.js";import"./YZL2SJ5Z.js";import{A as a,H as d,e as l,f as s,v as t,w as n}from"./LVAKGILP.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}`,r=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,{reflect:!0,type:Boolean}],currentMonth:[7,{reflect:!0,type:Boolean}],dateTimeFormat:[0,{attribute:!1}],day:[9,{type:Number}],disabled:[7,{reflect:!0,type:Boolean}],endOfRange:[7,{reflect:!0,type:Boolean}],highlighted:[7,{reflect:!0,type:Boolean}],range:[7,{reflect:!0,type:Boolean}],rangeEdge:[3,{reflect:!0}],rangeHover:[7,{reflect:!0,type:Boolean}],scale:[3,{reflect:!0}],selected:[7,{reflect:!0,type:Boolean}],startOfRange:[7,{reflect:!0,type:Boolean}],value:[0,{attribute:!1}]}}static{this.styles=k}async setFocus(){await f(this),this.el.focus()}load(){this.parentDatePickerEl=h(this.el,"calcite-date-picker")}updated(){p(this)}onClick(){this.disabled||this.calciteInternalDaySelect.emit()}keyDownHandler(e){v(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:i,lang:c}=this.parentDatePickerEl;o.numberFormatOptions={useGrouping:!1,...i&&{numberingSystem:i},...c&&{locale:c}}}let b=o.localize(String(this.day)),m=this.dateTimeFormat.format(this.value);return this.el.ariaLabel=m,this.el.ariaSelected=u(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",r);export{r 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.11 */
|
|
4
|
+
import{a as R}from"./YOORXK6H.js";import{c as E,e as O,h as z}from"./USAPUDT2.js";import{c as C,d as M}from"./N66SPPKF.js";import{a as L,b as I}from"./ZOXZ6A64.js";import{a as F}from"./7G3PHMJJ.js";import"./JOBXA3HC.js";import{n as x}from"./7D3PCICR.js";import{d as V}from"./KYHMJQBN.js";import"./TOXOBK2C.js";import{a as w}from"./YZL2SJ5Z.js";import{B as $,H as k,e as g,f as s,u as m,v as b,w as f,x as u,y,z as r}from"./LVAKGILP.js";var D=({full:v,scale:e,partial:t})=>s`<calcite-icon class=${u(t?void 0:"icon")} .icon=${v?"star-f":"star"} .scale=${e}></calcite-icon>`,K={validationMessage:"validationMessage"},P=g`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([read-only]) *,:host([disabled]) *,:host([read-only]) ::slotted(*),:host([disabled]) ::slotted(*){pointer-events:none}:host{position:relative;display:flex;align-items:center;inline-size:fit-content}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([scale=s]){block-size:1.5rem;--calcite-internal-rating-spacing: .25rem}:host([scale=m]){block-size:2rem;--calcite-internal-rating-spacing: .5rem}:host([scale=l]){block-size:2.75rem;--calcite-internal-rating-spacing: .75rem}.fieldset{margin:0;display:flex;border-width:0;padding:0;align-items:center;gap:var(--calcite-rating-spacing, var(--calcite-internal-rating-spacing))}.wrapper{display:inline-block}.star{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;position:relative;display:flex;flex-direction:column;cursor:pointer;color:var(--calcite-rating-color, var(--calcite-color-border-input))}.star:hover{color:var(--calcite-rating-color-hover, var(--calcite-color-brand-hover))}.star:active{color:var(--calcite-rating-color-press, var(--calcite-color-brand-press))}.star: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))))}.average,.fraction{color:var(--calcite-rating-average-color, var(--calcite-color-status-warning))}.hovered,.selected{color:var(--calcite-rating-color, var(--calcite-color-brand))}.fraction{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;position:absolute;pointer-events:none;inset-block-start:0;overflow:hidden;inset-inline-start:0}calcite-chip{pointer-events:none;cursor:default}.number--average{font-weight:700;color:var(--calcite-rating-average-text-color)}.number--count{color:var(--calcite-rating-count-text-color, var(--calcite-color-text-2));font-style:italic}.number--count:not(:first-child){margin-inline-start:var(--calcite-rating-spacing, var(--calcite-internal-rating-spacing))}.visually-hidden{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width: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}`,p=class extends f{constructor(){super(),this.emit=!1,this.guid=`calcite-ratings-${w()}`,this.isKeyboardInteraction=!0,this.labelElements=[],this.max=5,this._value=0,this.disabled=!1,this.messages=F({blocking:!0}),this.readOnly=!1,this.required=!1,this.scale="m",this.showChip=!1,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.calciteRatingChange=b({cancelable:!1}),this.listen("keydown",this.handleHostKeyDown),this.listen("pointerout",this.handleRatingPointerOut),this.listen("pointerover",this.handleRatingPointerOver)}static{this.properties={hoverValue:[16,{state:!0}],average:[11,{reflect:!0,type:Number}],count:[11,{reflect:!0,type:Number}],disabled:[7,{reflect:!0,type:Boolean}],form:[3,{reflect:!0}],messageOverrides:[0,{attribute:!1}],name:[3,{reflect:!0}],readOnly:[7,{reflect:!0,type:Boolean}],required:[7,{reflect:!0,type:Boolean}],scale:[3,{reflect:!0}],showChip:[7,{reflect:!0,type:Boolean}],status:[3,{reflect:!0}],validationIcon:[3,{reflect:!0,converter:$}],validationMessage:1,validity:[0,{attribute:!1}],value:[11,{reflect:!0,type:Number}]}}static{this.styles=P}get value(){return this._value}set value(e){let t=this._value;e!==t&&(this._value=e,this.hasUpdated&&this.handleValueUpdate(e))}async setFocus(){await V(this),x(this.el)}connectedCallback(){super.connectedCallback(),C(this),E(this)}async load(){this.requestUpdate("value")}willUpdate(){this.starsMap=Array.from({length:this.max},(e,t)=>{let a=t+1,i=!this.hoverValue&&this.average&&!this.value&&a<=this.average,c=a===this.value,n=this.average&&this.average+1-a,l=a<=this.hoverValue,h=`${this.guid}-${a}`,o=!this.hoverValue&&!this.value&&!l&&n>0&&n<1,d=this.value>=a,N=this.getTabIndex(a);return{average:i,checked:c,fraction:n,hovered:l,id:h,partial:o,selected:d,value:a,tabIndex:N}})}updated(){L(this)}loaded(){this.labelElements=Array.from(this.renderRoot.querySelectorAll("label"))}disconnectedCallback(){super.disconnectedCallback(),M(this),O(this)}handleValueUpdate(e){this.hoverValue=e,this.emit&&this.calciteRatingChange.emit(),this.emit=!1}onLabelClick(){this.setFocus()}handleRatingPointerOver(){this.isKeyboardInteraction=!1}handleRatingPointerOut(){this.isKeyboardInteraction=!0,this.hoverValue=null}handleHostKeyDown(){this.isKeyboardInteraction=!0}handleLabelKeyDown(e){let t=this.getValueFromLabelEvent(e),a=e.key,i=a==" "?void 0:Number(a);if(this.emit=!0,isNaN(i))switch(a){case"Enter":case" ":this.value=!this.required&&this.value===t?0:t;break;case"ArrowLeft":this.value=this.getPreviousRatingValue(t),this.updateFocus(),e.preventDefault();break;case"ArrowRight":this.value=this.getNextRatingValue(t),this.updateFocus(),e.preventDefault();break;case"Tab":this.hoverValue=null;break}else!this.required&&i>=0&&i<=this.max?this.value=i:this.required&&i>0&&i<=this.max&&(this.value=i),this.updateFocus()}handleInputChange(e){if(this.isKeyboardInteraction===!0){let t=Number(e.target.value);this.hoverValue=t,this.value=t}}handleLabelPointerOver(e){this.hoverValue=this.getValueFromLabelEvent(e)}handleLabelPointerDown(e){let t=e.currentTarget,a=this.getValueFromLabelEvent(e);this.hoverValue=a,this.emit=!0,this.value=!this.required&&this.value===a?0:a,t.focus()}handleLabelClick(e){e.preventDefault()}handleLabelFocus(e){let t=this.getValueFromLabelEvent(e);this.hoverValue=t}updateFocus(){this.hoverValue=this.value,this.labelElements[this.value-1].focus()}getTabIndex(e){return this.readOnly||this.value!==e&&(this.value||e!==1)?-1:0}getValueFromLabelEvent(e){let t=e.currentTarget;return Number(t.getAttribute("data-value"))}getNextRatingValue(e){return e===5?1:e+1}getPreviousRatingValue(e){return e===1?5:e-1}render(){let e=this.count?.toString();return I({disabled:this.disabled,children:s`<span class="wrapper"><fieldset class="fieldset" .disabled=${this.disabled}><legend class="visually-hidden">${this.messages.rating}</legend>${this.starsMap.map(({average:t,checked:a,fraction:i,hovered:c,id:n,partial:l,selected:h,value:o,tabIndex:d})=>s`<label class=${u({star:!0,selected:h,hovered:c,average:t,partial:l})} data-value=${o??r} for=${n??r} @click=${this.handleLabelClick} @focus=${this.handleLabelFocus} @keydown=${this.handleLabelKeyDown} @pointerdown=${this.handleLabelPointerDown} @pointerover=${this.handleLabelPointerOver} tabindex=${d??r}><input aria-errormessage=${K.validationMessage} .ariaInvalid=${this.status==="invalid"} .checked=${a} class="visually-hidden" .disabled=${this.disabled||this.readOnly} id=${n??r} name=${this.guid??r} @change=${this.handleInputChange} tabindex=-1 type=radio .value=${m(o??"")}>${D({full:h||t||c,scale:this.scale})}${l&&s`<div class="fraction" style=${y({width:`${i*100}%`})}>${D({full:!0,partial:!0,scale:this.scale})}</div>`||""}<span class="visually-hidden">${this.messages.stars.replace("{num}",`${o}`)}</span></label>`)}${(this.count||this.average)&&this.showChip?s`<calcite-chip .label=${e} .scale=${this.scale} .value=${e}>${!!this.average&&s`<span class="number--average">${this.average.toString()}</span>`||""}${!!this.count&&s`<span class="number--count">(${e})</span>`||""}</calcite-chip>`:null}</fieldset>${z({component:this})}${this.validationMessage&&this.status==="invalid"?R({icon:this.validationIcon,id:K.validationMessage,message:this.validationMessage,scale:this.scale,status:this.status}):null}</span>`})}};k("calcite-rating",p);export{p as Rating};
|
|
@@ -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.11 */
|
|
4
|
+
import{a as P}from"./V6X3VRQN.js";import{a as W}from"./YOORXK6H.js";import{a as M,c as L,e as B,g as m,h as O}from"./USAPUDT2.js";import{c as C,d as H,e as F}from"./N66SPPKF.js";import{a as z,b as T}from"./ZOXZ6A64.js";import{a as V}from"./7G3PHMJJ.js";import{a as p,b as c}from"./JOBXA3HC.js";import{e as E,p as h}from"./7D3PCICR.js";import{a as f,d as $}from"./KYHMJQBN.js";import"./TOXOBK2C.js";import"./YZL2SJ5Z.js";import{B as u,C as I,H as w,c as g,e as x,f as l,j as t,u as y,v as r,w as k,x as n}from"./LVAKGILP.js";var a={loader:"loader",clearButton:"clear-button",editingEnabled:"editing-enabled",inlineChild:"inline-child",inputIcon:"icon",prefix:"prefix",suffix:"suffix",wrapper:"element-wrapper",inputWrapper:"wrapper",actionWrapper:"action-wrapper"},q={validationMessage:"inputTextValidationMessage"},S={action:"action"},R=x`: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{padding-inline-start:.5rem;padding-inline-end:var(--calcite-internal-input-text-input-padding-inline-end, .5rem)}:host([scale=s]) input,:host([scale=s]) .prefix,:host([scale=s]) .suffix{block-size:1.5rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=s]) .prefix,:host([scale=s]) .suffix{padding-inline:.5rem}: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{padding-inline-start:.75rem;padding-inline-end:var(--calcite-internal-input-text-input-padding-inline-end, .75rem)}:host([scale=m]) input,:host([scale=m]) .prefix,:host([scale=m]) .suffix{block-size:2rem;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=m]) .prefix,:host([scale=m]) .suffix{padding-inline:.75rem}: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{padding-inline-start:1rem;padding-inline-end:var(--calcite-internal-input-text-input-padding-inline-end, 1rem)}:host([scale=l]) input,:host([scale=l]) .prefix,:host([scale=l]) .suffix{block-size:2.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([scale=l]) .prefix,:host([scale=l]) .suffix{padding-inline:1rem}: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}input[type=text]::-ms-clear,input[type=text]::-ms-reveal{display:none;block-size:0px;inline-size:0px}.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}.wrapper{position:relative;display:flex;flex-direction:row;align-items:center}:host(.input--no-bottom-border) input{border-block-end-width:0px}:host(.input--no-top-border) input{border-block-start-width:0px}:host(.input--no-right-border) input{border-inline-end:0}:host(.input--no-left-border) input{border-inline-start:0}: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}`,b=class extends k{constructor(){super(),this.actionWrapperEl=p(),this.attributeWatch=g(["autofocus","enterkeyhint","inputmode","spellcheck"],this.handleGlobalAttributesChanged),this.inputWrapperEl=p(),this.onHiddenFormInputInput=e=>{e.target.name===this.name&&this.setValue({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.iconFlipRtl=!1,this.loading=!1,this.messages=V(),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.calciteInputTextChange=r(),this.calciteInputTextInput=r(),this.calciteInternalInputTextBlur=r(),this.calciteInternalInputTextFocus=r(),this.listen("click",this.clickHandler),this.listen("keydown",this.keyDownHandler)}static{this.properties={slottedActionElDisabledInternally:[16,{state:!0}],alignment:[3,{reflect:!0}],autocomplete:[0,{attribute:!1}],clearable:[7,{reflect:!0,type:Boolean}],disabled:[7,{reflect:!0,type:Boolean}],editingEnabled:[7,{reflect:!0,type:Boolean}],form:[3,{reflect:!0}],icon:[3,{reflect:!0,converter:u}],iconFlipRtl:[7,{reflect:!0,type:Boolean}],label:1,loading:[7,{reflect:!0,type:Boolean}],maxLength:[11,{reflect:!0,type:Number}],messageOverrides:[0,{attribute:!1}],minLength:[11,{reflect:!0,type:Number}],name:[3,{reflect:!0}],pattern:1,placeholder:1,prefixText:1,readOnly:[7,{reflect:!0,type:Boolean}],required:[7,{reflect:!0,type:Boolean}],scale:[3,{reflect:!0}],status:[3,{reflect:!0}],suffixText:1,validationIcon:[3,{reflect:!0,converter:u}],validationMessage:1,validity:[0,{attribute:!1}],value:1}}static{this.styles=R}get isClearable(){return this.clearable&&this.value.length>0}get value(){return this._value}set value(e){let i=this._value;e!==i&&(this._value=e,this.valueWatcher(e,i))}async selectText(){this.childEl?.select()}async setFocus(){await $(this),this.childEl?.focus()}connectedCallback(){super.connectedCallback(),this.inlineEditableEl=this.el.closest("calcite-inline-editable"),this.inlineEditableEl&&(this.editingEnabled=this.inlineEditableEl.editingEnabled||!1),C(this),L(this),this.el.addEventListener(m,this.onHiddenFormInputInput)}async load(){this.requestedIcon=h({},this.icon,"text"),this.setPreviousEmittedValue(this.value),this.setPreviousValue(this.value)}willUpdate(e){e.has("icon")&&(this.requestedIcon=h({},this.icon,"text"))}updated(){z(this)}disconnectedCallback(){super.disconnectedCallback(),H(this),B(this),this.el.removeEventListener(m,this.onHiddenFormInputInput)}handleGlobalAttributesChanged(){this.requestUpdate()}valueWatcher(e,i){this.userChangedValue||this.setValue({origin:"direct",previousValue:i,value:e||""}),this.userChangedValue=!1}keyDownHandler(e){this.readOnly||this.disabled||e.defaultPrevented||(this.isClearable&&e.key==="Escape"&&(this.clearInputTextValue(e),e.preventDefault()),e.key==="Enter"&&M(this)&&e.preventDefault())}onLabelClick(){this.setFocus()}clearInputTextValue(e){this.setValue({committing:!0,nativeEvent:e,origin:"user",value:""})}emitChangeIfUserModified(){this.previousValueOrigin==="user"&&this.value!==this.previousEmittedValue&&(this.calciteInputTextChange.emit(),this.setPreviousEmittedValue(this.value))}inputTextBlurHandler(){this.calciteInternalInputTextBlur.emit({element:this.childEl,value:this.value}),this.emitChangeIfUserModified()}clickHandler(e){if(this.disabled)return;let i=e.composedPath();!i.includes(this.inputWrapperEl.value)||i.includes(this.actionWrapperEl.value)||this.setFocus()}inputTextFocusHandler(){this.calciteInternalInputTextFocus.emit({element:this.childEl,value:this.value})}inputTextInputHandler(e){this.disabled||this.readOnly||this.setValue({nativeEvent:e,origin:"user",value:e.target.value})}inputTextKeyDownHandler(e){this.disabled||this.readOnly||e.key==="Enter"&&this.emitChangeIfUserModified()}syncHiddenFormInput(e){P("text",this,e)}setChildElRef(e){this.childEl=e}setInputValue(e){this.childEl&&(this.childEl.value=e)}setPreviousEmittedValue(e){this.previousEmittedValue=e}setPreviousValue(e){this.previousValue=e}setValue({committing:e=!1,nativeEvent:i,origin:o,previousValue:d,value:s}){this.setPreviousValue(d??this.value),this.previousValueOrigin=o,this.userChangedValue=o==="user"&&s!==this.value,this.value=s,o==="direct"&&(this.setInputValue(s),this.setPreviousEmittedValue(s)),i&&(this.calciteInputTextInput.emit().defaultPrevented?this.value=this.previousValue:e&&this.emitChangeIfUserModified())}render(){let e=E(this.el),i=l`<div class=${n(a.loader)}><calcite-progress .label=${this.messages.loading} type=indeterminate></calcite-progress></div>`,o=l`<button .ariaLabel=${this.messages.clear} class=${n(a.clearButton)} .disabled=${this.disabled||this.readOnly} @click=${this.clearInputTextValue} tabindex=-1 type=button><calcite-icon icon=x .scale=${f(this.scale)}></calcite-icon></button>`,d=l`<calcite-icon class=${n(a.inputIcon)} .flipRtl=${this.iconFlipRtl} .icon=${this.requestedIcon} .scale=${f(this.scale)}></calcite-icon>`,s=l`<div class=${n(a.prefix)}>${this.prefixText}</div>`,v=l`<div class=${n(a.suffix)}>${this.suffixText}</div>`,D=l`<input aria-errormessage=${q.validationMessage} .ariaInvalid=${this.status==="invalid"} .ariaLabel=${F(this)} autocomplete=${this.autocomplete??t} .autofocus=${this.el.autofocus} class=${n({[a.editingEnabled]:this.editingEnabled,[a.inlineChild]:!!this.inlineEditableEl})} value=${this.defaultValue??t} .disabled=${this.disabled?!0:null} enterkeyhint=${this.el.enterKeyHint??t} inputmode=${this.el.inputMode??t} maxlength=${this.maxLength??t} minlength=${this.minLength??t} name=${this.name??t} @blur=${this.inputTextBlurHandler} @focus=${this.inputTextFocusHandler} @input=${this.inputTextInputHandler} @keydown=${this.inputTextKeyDownHandler} pattern=${this.pattern??t} placeholder=${(this.placeholder||"")??t} .readOnly=${this.readOnly} .required=${this.required?!0:null} spellcheck=${this.el.spellcheck??t} tabindex=${(this.disabled||this.inlineEditableEl&&!this.editingEnabled?-1:null)??t} type=text .value=${y(this.value??"")} ${c(this.setChildElRef)}>`;return T({disabled:this.disabled,children:l`<div class=${n({[a.inputWrapper]:!0,[I.rtl]:e==="rtl"})} ${c(this.inputWrapperEl)}>${this.prefixText?s:null}<div class=${n(a.wrapper)}>${D}${this.isClearable?o:null}${this.requestedIcon?d:null}${this.loading?i:null}</div><div class=${n(a.actionWrapper)} ${c(this.actionWrapperEl)}><slot name=${S.action}></slot></div>${this.suffixText?v:null}${O({component:this})}</div>${this.validationMessage&&this.status==="invalid"?W({icon:this.validationIcon,id:q.validationMessage,message:this.validationMessage,scale:this.scale,status:this.status}):null}`})}};w("calcite-input-text",b);export{b as InputText};
|
|
@@ -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.11 */
|
|
4
|
+
import{e as m,i as d}from"./UVGQ237V.js";import"./7D3PCICR.js";import{a as n}from"./YZL2SJ5Z.js";import{H as r,e as l,f as a,w as s,x as e,y as c,z as t}from"./LVAKGILP.js";var i={list:"list",label:"label",title:"title"},g=l`.scale--s{font-size:var(--calcite-font-size--2);line-height:1rem;--calcite-combobox-item-spacing-unit: .5rem}.scale--m{font-size:var(--calcite-font-size--1);line-height:1rem;--calcite-combobox-item-spacing-unit: .75rem}.scale--l{font-size:var(--calcite-font-size-0);line-height:1.25rem;--calcite-combobox-item-spacing-unit: 1rem}:host,.list{margin:0;display:flex;flex-direction:column;padding:0}:host(:focus),.list:focus{outline:2px solid transparent;outline-offset:2px}.label{box-sizing:border-box;display:flex;inline-size:100%;min-inline-size:0px;max-inline-size:100%}.title{--calcite-combobox-item-indent-value: calc( var(--calcite-combobox-item-spacing-unit) * var(--calcite-combobox-item-spacing-indent-multiplier) );border:0 solid;display:block;flex:1 1 0%;border-block-end-width:1px;font-weight:var(--calcite-font-weight-bold);word-wrap:break-word;word-break:break-word;padding:var(--calcite-combobox-item-spacing-unit);margin-inline-start:var(--calcite-combobox-item-indent-value);color:var(--calcite-combobox-item-group-text-color, var(--calcite-color-text-2));border-block-end-color:var(--calcite-combobox-item-group-border-color, var(--calcite-color-border-3))}::slotted(calcite-combobox-item-group:not([after-empty-group])){padding-block-start:var(--calcite-combobox-item-spacing-unit)}:host([hidden]){display:none}[hidden]{display:none}:host([item-hidden]){display:none}`,o=class extends s{constructor(){super(...arguments),this.guid=n(),this.afterEmptyGroup=!1,this.scale="m",this.itemHidden=!1}static{this.properties={afterEmptyGroup:[7,{reflect:!0,type:Boolean}],ancestors:[0,{attribute:!1}],label:1,scale:1,itemHidden:[7,{reflect:!0,type:Boolean}]}}static{this.styles=g}connectedCallback(){super.connectedCallback(),this.ancestors=m(this.el)}render(){let{el:p,scale:b}=this,u=d(p);return a`<ul aria-labelledby=${this.guid??t} class=${e({[i.list]:!0,[`scale--${b}`]:!0})} role=group><li class=${e({[i.label]:!0})} id=${this.guid??t} role=presentation style=${c({"--calcite-combobox-item-spacing-indent-multiplier":`${u}`})}><span class=${e(i.title)}>${this.label}</span></li><slot></slot></ul>`}};r("calcite-combobox-item-group",o);export{o as ComboboxItemGroup};
|
|
@@ -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.11 */
|
|
4
|
+
import{b as _}from"./P5BQBZUP.js";import"./HMHM5GND.js";var a="\u064A\u0646\u0627\u064A\u0631_\u0641\u0628\u0631\u0627\u064A\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064A\u0644_\u0645\u0627\u064A\u0648_\u064A\u0648\u0646\u064A\u0648_\u064A\u0648\u0644\u064A\u0648_\u0623\u063A\u0633\u0637\u0633_\u0633\u0628\u062A\u0645\u0628\u0631_\u0623\u0643\u062A\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062F\u064A\u0633\u0645\u0628\u0631".split("_"),n={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},o={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"},m={name:"ar",weekdays:"\u0627\u0644\u0623\u062D\u062F_\u0627\u0644\u0625\u062B\u0646\u064A\u0646_\u0627\u0644\u062B\u0644\u0627\u062B\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062E\u0645\u064A\u0633_\u0627\u0644\u062C\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062A".split("_"),weekdaysShort:"\u0623\u062D\u062F_\u0625\u062B\u0646\u064A\u0646_\u062B\u0644\u0627\u062B\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062E\u0645\u064A\u0633_\u062C\u0645\u0639\u0629_\u0633\u0628\u062A".split("_"),weekdaysMin:"\u062D_\u0646_\u062B_\u0631_\u062E_\u062C_\u0633".split("_"),months:a,monthsShort:a,weekStart:6,meridiem:function(r){return r>12?"\u0645":"\u0635"},relativeTime:{future:"\u0628\u0639\u062F %s",past:"\u0645\u0646\u0630 %s",s:"\u062B\u0627\u0646\u064A\u0629 \u0648\u0627\u062D\u062F\u0629",m:"\u062F\u0642\u064A\u0642\u0629 \u0648\u0627\u062D\u062F\u0629",mm:"%d \u062F\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629 \u0648\u0627\u062D\u062F\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062A",d:"\u064A\u0648\u0645 \u0648\u0627\u062D\u062F",dd:"%d \u0623\u064A\u0627\u0645",M:"\u0634\u0647\u0631 \u0648\u0627\u062D\u062F",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0639\u0627\u0645 \u0648\u0627\u062D\u062F",yy:"%d \u0623\u0639\u0648\u0627\u0645"},preparse:function(r){return r.replace(/[١٢٣٤٥٦٧٨٩٠]/g,function(t){return o[t]}).replace(/،/g,",")},postformat:function(r){return r.replace(/\d/g,function(t){return n[t]}).replace(/,/g,"\u060C")},ordinal:function(r){return r},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200FM/\u200FYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"}};_.locale(m,null,!0);var d=m;export{d 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.11 */
|
|
4
|
+
import{k as m}from"./LPLFJOZU.js";import"./IUKKSMKZ.js";import{a as I}from"./7G3PHMJJ.js";import{a as u,b as h}from"./JOBXA3HC.js";import{c as g}from"./KYHMJQBN.js";import"./TOXOBK2C.js";import{H as E,e as z,f as o,j as x,k as T,v as b,w as A,x as c}from"./LVAKGILP.js";function L(){return navigator.userAgentData}function U(){if(!1)return"";let f=L();return f?.brands?f.brands.map(({brand:e,version:i})=>`${e}/${i}`).join(" "):navigator.userAgent}var n={bordered:"bordered",striped:"striped",selectionArea:"selection-area",paginationArea:"pagination-area",container:"container",tableContainer:"table-container",tableFixed:"table--fixed",assistiveText:"assistive-text",selectionActions:"selection-actions"},S={selectionActions:"selection-actions",tableHeader:"table-header",tableFooter:"table-footer"},D=z`@charset "UTF-8";:host([scale=s]){--calcite-internal-table-cell-padding: .25rem;--calcite-internal-table-cell-font-size: var(--calcite-font-size--2);--calcite-internal-table-cell-font-size-secondary: var(--calcite-font-size--3)}:host([scale=m]){--calcite-internal-table-cell-padding: .5rem;--calcite-internal-table-cell-font-size: var(--calcite-font-size--1);--calcite-internal-table-cell-font-size-secondary: var(--calcite-font-size--2)}:host([scale=l]){--calcite-internal-table-cell-padding: 1rem;--calcite-internal-table-cell-font-size: var(--calcite-font-size-0);--calcite-internal-table-cell-font-size-secondary: var(--calcite-font-size--1)}:host{display:flex}.container{display:flex;block-size:100%;inline-size:100%;flex-direction:column}.table-container{overflow:auto;white-space:nowrap;border:1px solid var(--calcite-color-border-3)}.assistive-text{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}table{inline-size:100%;border-collapse:collapse;overflow-x:scroll}@-moz-document url-prefix(){table{border-collapse:separate;border-spacing:0}}.table--fixed{table-layout:fixed}.bordered ::slotted(calcite-table-row){--calcite-table-row-border-color: var(--calcite-color-border-3)}.striped ::slotted(calcite-table-row:nth-child(2n+1)){--calcite-table-row-background: var(--calcite-color-foreground-2)}.selection-actions{display:flex;flex-direction:row;margin-inline-start:auto}.selection-area{display:flex;flex-direction:row;align-items:center;padding-block:var(--calcite-internal-table-cell-padding)}.selection-area calcite-chip:last-of-type{margin-inline-end:.5rem}.selection-area calcite-chip:last-of-type:not(:first-of-type){margin-inline-start:.5rem}.selection-area calcite-button{margin-inline-end:1rem}.pagination-area{display:flex;inline-size:100%;flex-direction:row;justify-content:center;padding-block:var(--calcite-internal-table-cell-padding)}calcite-pagination{flex:1;justify-content:center}:host([hidden]){display:none}[hidden]{display:none}`,w=class extends A{constructor(){super(),this.paginationEl=u(),this.tableBodySlotEl=u(),this.tableFootSlotEl=u(),this.tableHeadSlotEl=u(),this.colCount=0,this.pageStartRow=1,this.selectedCount=0,this.bordered=!1,this.groupSeparator=!1,this.interactionMode="interactive",this.layout="auto",this.messages=I({blocking:!0}),this.numbered=!1,this.pageSize=0,this.scale="m",this._selectedItems=[],this.selectionDisplay="top",this.selectionMode="none",this.striped=!1,this.calciteInternalTableRowFocusChange=b({cancelable:!1}),this.calciteTablePageChange=b({cancelable:!1}),this.calciteTableSelect=b({cancelable:!1}),this.listen("calciteTableRowSelect",this.calciteTableRowSelectListener),this.listen("calciteInternalTableRowSelect",this.calciteInternalTableRowSelectListener),this.listen("calciteInternalTableRowFocusRequest",this.calciteInternalTableRowFocusEvent)}static{this.properties={colCount:[16,{state:!0}],pageStartRow:[16,{state:!0}],readCellContentsToAT:[16,{state:!0}],selectedCount:[16,{state:!0}],bordered:[7,{reflect:!0,type:Boolean}],caption:1,groupSeparator:[7,{reflect:!0,type:Boolean}],interactionMode:[3,{reflect:!0}],layout:[3,{reflect:!0}],messageOverrides:[0,{attribute:!1}],numbered:[7,{reflect:!0,type:Boolean}],numberingSystem:[3,{reflect:!0}],pageSize:[11,{reflect:!0,type:Number}],scale:[3,{reflect:!0}],selectedItems:[32,{attribute:!1,readOnly:!0}],_selectedItems:[16,{state:!0}],selectionDisplay:[3,{reflect:!0}],selectionMode:[3,{reflect:!0}],striped:[7,{reflect:!0,type:Boolean}]}}static{this.styles=D}get selectedItems(){return this._selectedItems}async load(){this.readCellContentsToAT=/safari/i.test(U()),this.listenOn(this.el.shadowRoot,"slotchange",this.handleSlotChange)}willUpdate(e){(e.has("groupSeparator")&&(this.hasUpdated||this.groupSeparator!==!1)||e.has("interactionMode")&&(this.hasUpdated||this.interactionMode!=="interactive")||e.has("numbered")&&(this.hasUpdated||this.numbered!==!1)||e.has("numberingSystem")||e.has("pageSize")&&(this.hasUpdated||this.pageSize!==0)||e.has("scale")&&(this.hasUpdated||this.scale!=="m")||e.has("selectionMode")&&(this.hasUpdated||this.selectionMode!=="none"))&&this.updateRows()}handleSlotChange(){this.updateRows()}calciteTableRowSelectListener(e){e.composedPath().includes(this.el)&&this.setSelectedItems(e.target)}calciteInternalTableRowSelectListener(e){e.composedPath().includes(this.el)&&this.updateSelectedItems(!1)}calciteInternalTableRowFocusEvent(e){let i=e.detail.cellPosition,s=e.detail.rowPosition,l=e.detail.destination,r=e.detail.lastCell,t=this.bodyRows?.filter(p=>!g(p)),a=this.allRows?.filter(p=>!g(p)),R=this.headRows[this.headRows.length-1]?.positionAll,y=t[0]?.positionAll,$=t[t.length-1]?.positionAll,C=this.footRows[0]?.positionAll,F=a[a.length-1]?.positionAll,M=l==="next"&&s===R,P=l==="previous"&&s===C,O=l==="previous"&&s===y,k=l==="next"&&s===$,d;switch(l){case"first":d=0;break;case"last":d=F;break;case"next":d=M?y:k?C:s+1;break;case"previous":d=P?$:O?R:s-1;break}let v=this.allRows?.find(p=>p.positionAll===d)?.cellCount,B=i>v?v:i;d!==void 0&&this.calciteInternalTableRowFocusChange.emit({cellPosition:B,rowPosition:d,destination:l,lastCell:r})}getSlottedRows(e){return e?.assignedElements({flatten:!0})?.filter(i=>i?.matches("calcite-table-row"))}updateRows(){let e=this.getSlottedRows(this.tableHeadSlotEl.value)||[],i=this.getSlottedRows(this.tableBodySlotEl.value)||[],s=this.getSlottedRows(this.tableFootSlotEl.value)||[],l=[...e,...i,...s];e?.forEach(t=>{let a=e?.indexOf(t);t.rowType="head",t.positionSection=a,t.positionSectionLocalized=this.localizeNumber((a+1).toString())}),i?.forEach(t=>{let a=i?.indexOf(t);t.rowType="body",t.positionSection=a,t.positionSectionLocalized=this.localizeNumber((a+1).toString())}),s?.forEach(t=>{let a=s?.indexOf(t);t.rowType="foot",t.positionSection=a,t.positionSectionLocalized=this.localizeNumber((a+1).toString())}),l?.forEach(t=>{t.interactionMode=this.interactionMode,t.selectionMode=this.selectionMode,t.bodyRowCount=i?.length,t.positionAll=l?.indexOf(t),t.numbered=this.numbered,t.scale=this.scale,t.readCellContentsToAT=this.readCellContentsToAT,t.lastVisibleRow=l?.indexOf(t)===l.length-1});let r=e[0]?.cellCount||e[0]?.querySelectorAll("calcite-table-header")?.length;this.colCount=r,this.headRows=e,this.bodyRows=i,this.footRows=s,this.allRows=l,this.updateSelectedItems(),this.paginateRows()}handlePaginationChange(){let e=this.paginationEl.value?.startItem;this.pageStartRow=e||1,this.calciteTablePageChange.emit(),this.updateRows()}paginateRows(){this.bodyRows?.forEach(e=>{let i=e.positionSection+1,s=i>=this.pageStartRow&&i<this.pageStartRow+this.pageSize;e.itemHidden=this.pageSize>0&&!s&&!this.footRows.includes(e),e.lastVisibleRow=i===this.pageStartRow+this.pageSize-1||i===this.bodyRows.length})}updateSelectedItems(e){let i=this.bodyRows?.filter(s=>s.selected);this._selectedItems=i,this.selectedCount=i?.length,this.allRows?.forEach(s=>{s.selectedRowCount=this.selectedCount,s.selectedRowCountLocalized=this.localizeNumber(this.selectedCount)}),e&&this.calciteTableSelect.emit()}handleDeselectAllRows(){this.bodyRows?.forEach(e=>{e.selected=!1}),this.updateSelectedItems(!0)}setSelectedItems(e){this.bodyRows?.forEach(i=>{e?.rowType==="head"?i.selected=this.selectedCount!==this.bodyRows?.length:i.selected=e===i?!i.selected:this.selectionMode==="multiple"?i.selected:!1}),this.updateSelectedItems(!0)}localizeNumber(e){return m.numberFormatOptions={locale:this.messages._lang,numberingSystem:this.numberingSystem,useGrouping:this.groupSeparator},m.localize(e.toString())}renderSelectionArea(){let e=this._selectedItems?.filter(t=>g(t))?.length,i=this.localizeNumber(e?.toString()),l=`${this.localizeNumber(this.selectedCount?.toString())} ${this.messages.selected}`,r=`${i} ${this.messages.hiddenSelected}`;return o`<div class=${c(n.selectionArea)}><calcite-chip .kind=${this.selectedCount>0?"brand":"neutral"} .label=${l} .scale=${this.scale} .value=${l}>${l}</calcite-chip>${e>0&&o`<calcite-chip icon=hide-empty .label=${r} .scale=${this.scale} title=${r??x} .value=${r}>${i}</calcite-chip>`||""}${this.selectedCount>0&&o`<calcite-button icon-start=x kind=neutral @click=${this.handleDeselectAllRows} round .scale=${this.scale} .title=${`${this.messages.clear} ${l} ${this.messages.row}`}>${this.messages.clear}</calcite-button>`||""}<div class=${c(n.selectionActions)}><slot name=${S.selectionActions}></slot></div></div>`}renderPaginationArea(){return o`<div class=${c(n.paginationArea)}><calcite-pagination .groupSeparator=${this.groupSeparator} .numberingSystem=${this.numberingSystem} @calcitePaginationChange=${this.handlePaginationChange} .pageSize=${this.pageSize} .scale=${this.scale} start-item=1 .totalItems=${this.bodyRows?.length} ${h(this.paginationEl)}></calcite-pagination></div>`}renderTHead(){return o`<thead><slot name=${S.tableHeader} ${h(this.tableHeadSlotEl)}></slot></thead>`}renderTBody(){return o`<tbody><slot ${h(this.tableBodySlotEl)}></slot></tbody>`}renderTFoot(){return o`<tfoot><slot name=${S.tableFooter} ${h(this.tableFootSlotEl)}></slot></tfoot>`}render(){return o`<div class=${c(n.container)}>${this.selectionMode!=="none"&&this.selectionDisplay!=="none"&&this.renderSelectionArea()||""}<div class=${c({[n.bordered]:this.bordered,[n.striped]:this.striped,[n.tableContainer]:!0})}><table .ariaColCount=${this.colCount} .ariaMultiSelectable=${this.selectionMode==="multiple"?"true":null} .ariaRowCount=${this.allRows?.length} class=${c({[n.tableFixed]:this.layout==="fixed"})} .role=${this.interactionMode==="interactive"?"grid":"table"} ${h(e=>{e&&T(o`<caption class=${c(n.assistiveText)}>${this.caption}</caption>${this.renderTHead()}${this.renderTBody()}${this.renderTFoot()}`,e)})}></table></div>${this.pageSize>0&&this.renderPaginationArea()||""}</div>`}};E("calcite-table",w);export{w as Table};
|
|
@@ -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.11 */
|
|
4
|
+
function we(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var n=we;var We=typeof global=="object"&&global&&global.Object===Object&&global,A=We;var Re=typeof self=="object"&&self&&self.Object===Object&&self,Le=A||Re||Function("return this")(),g=Le;var ke=function(){return g.Date.now()},O=ke;var Fe=/\s/;function Pe(e){for(var t=e.length;t--&&Fe.test(e.charAt(t)););return t}var D=Pe;var Me=/^\s+/;function Ne(e){return e&&e.slice(0,D(e)+1).replace(Me,"")}var q=Ne;var Ce=g.Symbol,i=Ce;var G=Object.prototype,Ue=G.hasOwnProperty,De=G.toString,T=i?i.toStringTag:void 0;function qe(e){var t=Ue.call(e,T),r=e[T];try{e[T]=void 0;var o=!0}catch{}var f=De.call(e);return o&&(t?e[T]=r:delete e[T]),f}var z=qe;var Ge=Object.prototype,ze=Ge.toString;function Ke(e){return ze.call(e)}var K=Ke;var _e="[object Null]",$e="[object Undefined]",_=i?i.toStringTag:void 0;function Ve(e){return e==null?e===void 0?$e:_e:_&&_ in Object(e)?z(e):K(e)}var c=Ve;function Xe(e){return e!=null&&typeof e=="object"}var y=Xe;var He="[object Symbol]";function Je(e){return typeof e=="symbol"||y(e)&&c(e)==He}var v=Je;var $=NaN,Ye=/^[-+]0x[0-9a-f]+$/i,Qe=/^0b[01]+$/i,Ze=/^0o[0-7]+$/i,et=parseInt;function tt(e){if(typeof e=="number")return e;if(v(e))return $;if(n(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=n(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=q(e);var r=Qe.test(e);return r||Ze.test(e)?et(e.slice(2),r?2:8):Ye.test(e)?$:+e}var R=tt;var rt="Expected a function",ot=Math.max,at=Math.min;function ft(e,t,r){var o,f,d,m,s,l,u=0,M=!1,b=!1,B=!0;if(typeof e!="function")throw new TypeError(rt);t=R(t)||0,n(r)&&(M=!!r.leading,b="maxWait"in r,d=b?ot(R(r.maxWait)||0,t):d,B="trailing"in r?!!r.trailing:B);function w(p){var x=o,h=f;return o=f=void 0,u=p,m=e.apply(h,x),m}function ve(p){return u=p,s=setTimeout(I,t),M?w(p):m}function Se(p){var x=p-l,h=p-u,U=t-x;return b?at(U,d-h):U}function N(p){var x=p-l,h=p-u;return l===void 0||x>=t||x<0||b&&h>=d}function I(){var p=O();if(N(p))return C(p);s=setTimeout(I,Se(p))}function C(p){return s=void 0,B&&o?w(p):(o=f=void 0,m)}function Ee(){s!==void 0&&clearTimeout(s),u=0,o=l=f=s=void 0}function Be(){return s===void 0?m:C(O())}function W(){var p=O(),x=N(p);if(o=arguments,f=this,l=p,x){if(s===void 0)return ve(l);if(b)return clearTimeout(s),s=setTimeout(I,t),w(l)}return s===void 0&&(s=setTimeout(I,t)),m}return W.cancel=Ee,W.flush=Be,W}var L=ft;function st(e,t){for(var r=-1,o=e==null?0:e.length,f=Array(o);++r<o;)f[r]=t(e[r],r,e);return f}var V=st;var pt=Array.isArray,S=pt;var ut=1/0,X=i?i.prototype:void 0,H=X?X.toString:void 0;function J(e){if(typeof e=="string")return e;if(S(e))return V(e,J)+"";if(v(e))return H?H.call(e):"";var t=e+"";return t=="0"&&1/e==-ut?"-0":t}var Y=J;function mt(e){return e==null?"":Y(e)}var Q=mt;var Z=/[\\^$.*+?()[\]{}|]/g,lt=RegExp(Z.source);function dt(e){return e=Q(e),e&<.test(e)?e.replace(Z,"\\$&"):e}var nt=dt;var it="Expected a function";function xt(e,t,r){var o=!0,f=!0;if(typeof e!="function")throw new TypeError(it);return n(r)&&(o="leading"in r?!!r.leading:o,f="trailing"in r?!!r.trailing:f),L(e,t,{leading:o,maxWait:t,trailing:f})}var ct=xt;function yt(e){return e}var ee=yt;var gt="[object AsyncFunction]",bt="[object Function]",ht="[object GeneratorFunction]",Tt="[object Proxy]";function jt(e){if(!n(e))return!1;var t=c(e);return t==bt||t==ht||t==gt||t==Tt}var te=jt;var It=9007199254740991,At=/^(?:0|[1-9]\d*)$/;function Ot(e,t){var r=typeof e;return t=t??It,!!t&&(r=="number"||r!="symbol"&&At.test(e))&&e>-1&&e%1==0&&e<t}var re=Ot;var vt=9007199254740991;function St(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=vt}var E=St;function Et(e){return e!=null&&E(e.length)&&!te(e)}var oe=Et;var Bt=Object.prototype;function wt(e){var t=e&&e.constructor,r=typeof t=="function"&&t.prototype||Bt;return e===r}var ae=wt;function Wt(e,t){for(var r=-1,o=Array(e);++r<e;)o[r]=t(r);return o}var fe=Wt;var Rt="[object Arguments]";function Lt(e){return y(e)&&c(e)==Rt}var k=Lt;var se=Object.prototype,kt=se.hasOwnProperty,Ft=se.propertyIsEnumerable,Pt=k(function(){return arguments}())?k:function(e){return y(e)&&kt.call(e,"callee")&&!Ft.call(e,"callee")},pe=Pt;function Mt(){return!1}var ue=Mt;var de=typeof exports=="object"&&exports&&!exports.nodeType&&exports,me=de&&typeof module=="object"&&module&&!module.nodeType&&module,Nt=me&&me.exports===de,le=Nt?g.Buffer:void 0,Ct=le?le.isBuffer:void 0,Ut=Ct||ue,ne=Ut;var Dt="[object Arguments]",qt="[object Array]",Gt="[object Boolean]",zt="[object Date]",Kt="[object Error]",_t="[object Function]",$t="[object Map]",Vt="[object Number]",Xt="[object Object]",Ht="[object RegExp]",Jt="[object Set]",Yt="[object String]",Qt="[object WeakMap]",Zt="[object ArrayBuffer]",er="[object DataView]",tr="[object Float32Array]",rr="[object Float64Array]",or="[object Int8Array]",ar="[object Int16Array]",fr="[object Int32Array]",sr="[object Uint8Array]",pr="[object Uint8ClampedArray]",ur="[object Uint16Array]",mr="[object Uint32Array]",a={};a[tr]=a[rr]=a[or]=a[ar]=a[fr]=a[sr]=a[pr]=a[ur]=a[mr]=!0;a[Dt]=a[qt]=a[Zt]=a[Gt]=a[er]=a[zt]=a[Kt]=a[_t]=a[$t]=a[Vt]=a[Xt]=a[Ht]=a[Jt]=a[Yt]=a[Qt]=!1;function lr(e){return y(e)&&E(e.length)&&!!a[c(e)]}var ie=lr;function dr(e){return function(t){return e(t)}}var xe=dr;var ce=typeof exports=="object"&&exports&&!exports.nodeType&&exports,j=ce&&typeof module=="object"&&module&&!module.nodeType&&module,nr=j&&j.exports===ce,F=nr&&A.process,ir=function(){try{var e=j&&j.require&&j.require("util").types;return e||F&&F.binding&&F.binding("util")}catch{}}(),P=ir;var ye=P&&P.isTypedArray,xr=ye?xe(ye):ie,ge=xr;var cr=Object.prototype,yr=cr.hasOwnProperty;function gr(e,t){var r=S(e),o=!r&&pe(e),f=!r&&!o&&ne(e),d=!r&&!o&&!f&&ge(e),m=r||o||f||d,s=m?fe(e.length,String):[],l=s.length;for(var u in e)(t||yr.call(e,u))&&!(m&&(u=="length"||f&&(u=="offset"||u=="parent")||d&&(u=="buffer"||u=="byteLength"||u=="byteOffset")||re(u,l)))&&s.push(u);return s}var be=gr;function br(e){var t=[];if(e!=null)for(var r in Object(e))t.push(r);return t}var he=br;var hr=Object.prototype,Tr=hr.hasOwnProperty;function jr(e){if(!n(e))return he(e);var t=ae(e),r=[];for(var o in e)o=="constructor"&&(t||!Tr.call(e,o))||r.push(o);return r}var Te=jr;function Ir(e){return oe(e)?be(e,!0):Te(e)}var je=Ir;function Ar(e){return function(t,r,o){for(var f=-1,d=Object(t),m=o(t),s=m.length;s--;){var l=m[e?s:++f];if(r(d[l],l,d)===!1)break}return t}}var Ie=Ar;var Or=Ie(),Ae=Or;function vr(e){return typeof e=="function"?e:ee}var Oe=vr;function Sr(e,t){return e==null?e:Ae(e,Oe(t),je)}var Er=Sr;export{L as a,nt as b,Er as c,ct as d};
|
|
@@ -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.11 */
|
|
4
|
+
import{a as f,b as v}from"./ZOXZ6A64.js";import{a as k}from"./IUKKSMKZ.js";import{a as x}from"./7G3PHMJJ.js";import{a as b,b as m}from"./JOBXA3HC.js";import{u as o}from"./7D3PCICR.js";import{d as g}from"./KYHMJQBN.js";import"./TOXOBK2C.js";import"./YZL2SJ5Z.js";import{H as u,e as h,f as i,v as s,w as p,x as t}from"./LVAKGILP.js";var a={container:"container",contentWrapper:"content-wrapper",header:"header",footer:"footer",checkboxWrapper:"checkbox-wrapper",checkboxWrapperDeprecated:"checkbox-wrapper-deprecated",thumbnailWrapper:"thumbnail-wrapper",headerTextContainer:"header-text-container",cardContent:"card-content",hasSlottedContent:"has-slotted-content"},c={thumbnail:"thumbnail",heading:"heading",description:"description",footerStart:"footer-start",footerEnd:"footer-end",title:"title",subtitle:"subtitle"},n={selected:"check-square-f",unselected:"square",selectedSingle:"circle-f",unselectedSingle:"circle"},w=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:block;max-inline-size:100%}.content-wrapper{position:relative;display:flex;block-size:100%;flex-direction:column;justify-content:space-between;overflow:hidden;border:var(--calcite-border-width-sm) solid var(--calcite-card-border-color, var(--calcite-color-border-3));border-radius:var(--calcite-card-corner-radius, var(--calcite-corner-radius-sharp));background-color:var(--calcite-card-background-color, var(--calcite-color-foreground-1));box-shadow:var(--calcite-card-shadow, var(--calcite-shadow-none));pointer-events:none}::slotted(*){pointer-events:auto}:host(:not([selectable])) .content-wrapper:not(.non-interactive){outline-color:transparent}:host(:not([selectable])) .content-wrapper:not(.non-interactive):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))))}.container{position:relative;display:flex;flex:1 1 auto;flex-direction:column}:host([loading]) .content-wrapper *:not(calcite-loader):not(.calcite-card-loader-container){pointer-events:none;opacity:0}:host([loading]) .calcite-card-loader-container{position:absolute;inset:0;display:flex;align-items:center}.header{display:flex;flex-direction:row;align-items:flex-start}.footer{margin-block-start:auto;display:flex;flex-direction:row;align-content:space-between;justify-content:space-between;padding-inline:var(--calcite-spacing-md);padding-block-start:var(--calcite-spacing-xxs);padding-block-end:var(--calcite-spacing-md)}.header-text-container{display:flex;inline-size:100%;flex-direction:column;justify-content:center;padding-inline:.75rem;padding-block:.5rem}.header-text-container:not(:only-child){padding-inline-end:.125rem}.footer{margin-block-start:auto;flex-direction:row;align-content:space-between;justify-content:space-between;padding-inline:.75rem;padding-block:.25rem .75rem}.card-content{block-size:auto;font-size:var(--calcite-font-size--2);line-height:1.375}.has-slotted-content{padding:.75rem}:host([selected]) .content-wrapper{box-shadow:inset 0 -4px 0 0 var(--calcite-card-accent-color-selected, var(--calcite-color-brand))}:host([selectable]) .header{padding-inline-end:var(--calcite-spacing-xxxl)}slot[name=title]::slotted(*),*::slotted([slot=title]){margin:0;font-size:var(--calcite-font-size--1);line-height:1.375;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-1)}slot[name=subtitle]::slotted(*),*::slotted([slot=subtitle]){margin:0;margin-block-start:.125rem;font-size:var(--calcite-font-size--2);line-height:1.375;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-color-text-2)}slot[name=heading]::slotted(*),*::slotted([slot=heading]){margin:0;font-size:var(--calcite-font-size--1);line-height:1.375;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-1)}slot[name=description]::slotted(*),*::slotted([slot=description]){margin:0;margin-block-start:.125rem;font-size:var(--calcite-font-size--2);line-height:1.375;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-color-text-2)}slot[name=thumbnail]::slotted(img),img::slotted([slot=thumbnail]){min-inline-size:100%;max-inline-size:100%}slot[name=footer-start]::slotted(*),*::slotted([slot=footer-start]){align-self:center;font-size:var(--calcite-font-size--2);line-height:1.375;margin-inline-end:auto}slot[name=footer-end]::slotted(*),*::slotted([slot=footer-end]){align-self:center;font-size:var(--calcite-font-size--2);line-height:1.375}.checkbox-wrapper-deprecated{pointer-events:auto;position:absolute;inset-block-start:var(--calcite-spacing-sm);inset-inline-end:var(--calcite-spacing-sm);margin:0;padding:0;color:var(--calcite-card-selection-color, var(--calcite-color-text-3))}.checkbox-wrapper-deprecated:hover{background-color:var(--calcite-card-selection-background-color-hover, var(--calcite-color-foreground-2));color:var(--calcite-card-selection-color-hover, var(--calcite-card-selection-icon-color-hover, var(--calcite-color-text-2)))}.checkbox-wrapper-deprecated:active{background-color:var(--calcite-card-selection-background-color-press, var(--calcite-color-transparent-press))}.checkbox-wrapper{pointer-events:auto;margin:.5rem;cursor:pointer;padding:.5rem;outline-color:transparent;display:flex;align-items:center;justify-items:center;color:var(--calcite-card-selection-color, var(--calcite-color-text-3))}.checkbox-wrapper:hover{background-color:var(--calcite-card-selection-background-color-hover, var(--calcite-color-foreground-2));color:var(--calcite-card-selection-color-hover, var(--calcite-card-selection-icon-color-hover, var(--calcite-color-text-2)))}.checkbox-wrapper:active{background-color:var(--calcite-card-selection-background-color-press, var(--calcite-color-transparent-press))}.checkbox-wrapper calcite-icon{pointer-events:none}:host([selected]) .checkbox-wrapper-deprecated,:host([selected]) .checkbox-wrapper{color:var(--calcite-card-accent-color-selected, var(--calcite-card-selection-icon-color-selected, var(--calcite-color-brand)))}:host(:not([selectable])) .content-wrapper:not(.non-interactive):focus .checkbox-wrapper-deprecated,:host(:not([selectable])) .content-wrapper:not(.non-interactive):focus .checkbox-wrapper{background-color:var(--calcite-card-selection-background-color-hover, var(--calcite-color-foreground-2));color:var(--calcite-card-selection-color-hover, var(--calcite-card-selection-icon-color-hover, var(--calcite-color-text-2)))}:host([selected]:not([selectable])) .content-wrapper:not(.non-interactive):focus .checkbox-wrapper-deprecated,:host([selected]:not([selectable])) .content-wrapper:not(.non-interactive):focus .checkbox-wrapper{background-color:var(--calcite-card-selection-background-color-press, var(--calcite-color-transparent-press));color:var(--calcite-card-accent-color-selected, var(--calcite-card-selection-icon-color-selected, var(--calcite-color-brand)))}.thumbnail-wrapper{display:flex}.content-wrapper.inline{flex-direction:row}.content-wrapper.inline>.container{inline-size:60%}.content-wrapper.inline>.thumbnail-wrapper{inline-size:40%;align-items:flex-start}.content-wrapper.inline slot[name=thumbnail]::slotted(img),.content-wrapper.inline img::slotted([slot=thumbnail]){inline-size:100%}slot[name=footer-start]::slotted(*),slot[name=footer-end]::slotted(*){display:flex;gap:.25rem}:host([hidden]){display:none}[hidden]{display:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}`,d=class extends p{constructor(){super(...arguments),this.containerEl=b(),this.hasContent=!1,this.hasDescription=!1,this.hasFooterEnd=!1,this.hasFooterStart=!1,this.hasHeading=!1,this.hasSubtitle=!1,this.hasThumbnail=!1,this.hasTitle=!1,this.disabled=!1,this.loading=!1,this.messages=x(),this.selectable=!1,this.selected=!1,this.selectionMode="none",this.thumbnailPosition="block-start",this.calciteCardSelect=s({cancelable:!1}),this.calciteInternalCardKeyEvent=s({cancelable:!1})}static{this.properties={hasContent:[16,{state:!0}],hasDescription:[16,{state:!0}],hasFooterEnd:[16,{state:!0}],hasFooterStart:[16,{state:!0}],hasHeading:[16,{state:!0}],hasSubtitle:[16,{state:!0}],hasThumbnail:[16,{state:!0}],hasTitle:[16,{state:!0}],disabled:[7,{reflect:!0,type:Boolean}],label:1,loading:[7,{reflect:!0,type:Boolean}],messageOverrides:[0,{attribute:!1}],selectable:[7,{reflect:!0,type:Boolean}],selected:[7,{reflect:!0,type:Boolean}],selectionMode:1,thumbnailPosition:[3,{reflect:!0}]}}static{this.styles=w}async setFocus(){await g(this),this.disabled||this.containerEl.value?.focus()}updated(){f(this)}handleThumbnailSlotChange(e){this.hasThumbnail=o(e)}handleHeadingSlotChange(e){this.hasHeading=o(e)}handleDescriptionSlotChange(e){this.hasDescription=o(e)}handleTitleSlotChange(e){this.hasTitle=o(e)}handleSubtitleSlotChange(e){this.hasSubtitle=o(e)}handleFooterStartSlotChange(e){this.hasFooterStart=o(e)}handleFooterEndSlotChange(e){this.hasFooterEnd=o(e)}handleDefaultSlotChange(e){this.hasContent=o(e)}keyDownHandler(e){if(e.target===this.containerEl.value&&!this.selectable&&!this.disabled)if(k(e.key)&&this.selectionMode!=="none")this.calciteCardSelect.emit(),e.preventDefault();else switch(e.key){case"ArrowRight":case"ArrowLeft":case"Home":case"End":this.calciteInternalCardKeyEvent.emit(e),e.preventDefault();break}}cardBodyClickHandler(e){e.target===this.containerEl.value&&!this.selectable&&!this.disabled&&this.selectionMode!=="none"&&this.calciteCardSelect.emit()}selectCardDeprecated(e){this.selected=e.currentTarget.checked,this.calciteCardSelect.emit()}cardSelectClick(e){this.disabled||(e.preventDefault(),this.calciteCardSelect.emit(),this.setFocus())}renderCheckboxDeprecated(){return i`<calcite-label class=${t(a.checkboxWrapperDeprecated)}><calcite-checkbox .checked=${this.selected} .label=${this.messages.select} @calciteCheckboxChange=${this.selectCardDeprecated}></calcite-checkbox></calcite-label>`}renderThumbnail(){return i`<section class=${t(a.thumbnailWrapper)} .hidden=${!this.hasThumbnail}><slot name=${c.thumbnail} @slotchange=${this.handleThumbnailSlotChange}></slot></section>`}renderSelectionIcon(){let e=this.selectionMode==="multiple"&&this.selected?n.selected:this.selectionMode==="multiple"?n.unselected:this.selected?n.selectedSingle:n.unselectedSingle;return i`<div class=${t(a.checkboxWrapper)} @pointerdown=${this.cardSelectClick} tabindex=-1><calcite-icon .icon=${e} scale=s></calcite-icon></div>`}renderHeader(){let e=this.hasHeading||this.hasDescription,r=this.hasSubtitle||this.hasTitle,l=e||r;return i`<header class=${t(a.header)} .hidden=${!l}>${this.selectable?this.renderCheckboxDeprecated():null}<div class=${t(a.headerTextContainer)}><slot name=${c.heading} @slotchange=${this.handleHeadingSlotChange}></slot><slot name=${c.description} @slotchange=${this.handleDescriptionSlotChange}></slot><slot name=${c.title} @slotchange=${this.handleTitleSlotChange}></slot><slot name=${c.subtitle} @slotchange=${this.handleSubtitleSlotChange}></slot></div>${this.selectionMode!=="none"&&this.renderSelectionIcon()||""}</header>`}renderFooter(){let e=this.hasFooterStart||this.hasFooterEnd;return i`<footer class=${t(a.footer)} .hidden=${!e}><slot name=${c.footerStart} @slotchange=${this.handleFooterStartSlotChange}></slot><slot name=${c.footerEnd} @slotchange=${this.handleFooterEndSlotChange}></slot></footer>`}render(){let e=this.thumbnailPosition.startsWith("inline"),r=this.thumbnailPosition.endsWith("start"),l=this.selectionMode==="multiple"?"checkbox":this.selectionMode!=="none"?"radio":void 0;return v({disabled:this.disabled,children:i`<div .ariaChecked=${this.selectionMode!=="none"?this.selected:void 0} .ariaLabel=${this.label} class=${t({[a.contentWrapper]:!0,inline:e})} @click=${this.cardBodyClickHandler} @keydown=${this.keyDownHandler} .role=${l} .tabIndex=${!this.selectable||this.disabled?0:-1} ${m(this.containerEl)}>${this.loading?i`<div aria-live=polite class="calcite-card-loader-container"><calcite-loader .label=${this.messages.loading}></calcite-loader></div>`:null}${r&&this.renderThumbnail()||""}<section .ariaBusy=${this.loading} class=${t({[a.container]:!0})}>${this.renderHeader()}<div class=${t({[a.cardContent]:!0,[a.hasSlottedContent]:this.hasContent})}><slot @slotchange=${this.handleDefaultSlotChange}></slot></div>${this.renderFooter()}</section>${!r&&this.renderThumbnail()||""}</div>`})}};u("calcite-card",d);export{d as Card};
|
|
@@ -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.11 */
|
|
4
|
+
import{a as b}from"./7G3PHMJJ.js";import{a as x}from"./YZL2SJ5Z.js";import{A as k,H as y,e as h,f as r,g as p,j as f,w as u,x as l,y as z}from"./LVAKGILP.js";var a={percentage:"percentage",progressRing:"ring--progress",ring:"ring",rings:"rings",text:"text",trackRing:"ring--track"},w=h`: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 u{constructor(){super(...arguments),this.messages=b({name:null}),this.complete=!1,this.inline=!1,this.scale="m",this.text="",this.type="indeterminate",this.value=0}static{this.properties={complete:[7,{reflect:!0,type:Boolean}],inline:[7,{reflect:!0,type:Boolean}],label:1,scale:[3,{reflect:!0}],text:1,type:[3,{reflect:!0}],value:[9,{type:Number}]}}static{this.styles=w}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:v}=this,o=e.id||x(),t=i!=="indeterminate",d=Math.floor(v);return this.el.ariaLabel=s,this.el.ariaValueMax=t?"100":void 0,this.el.ariaValueMin=t?"0":void 0,this.el.ariaValueNow=t?d.toString():void 0,k(this.el,"id",o),this.el.role="progressbar",r`<div class=${l(a.rings)}>${this.renderRing("track")}${this.renderRing("progress")}${!n&&t&&r`<div class=${l(a.percentage)}>${this.formatValue()}</div>`||""}</div>${!n&&c&&r`<div class=${l(a.text)}>${c}</div>`||""}`}renderRing(e){let{inline:n,scale:s,value:c}=this,i=n?this.getInlineSize(s):this.getSize(s),o=i*.45,t;if(e==="progress"){let d=2*o*Math.PI,g=(this.type.startsWith("determinate")?c:24)/100*d,$=d-g;t={"stroke-dasharray":`${g} ${$}`}}return r`<svg aria-hidden=true class=${l({[a.ring]:!0,[a.trackRing]:e==="track",[a.progressRing]:e==="progress"})} style=${z(t)} viewBox=${`0 0 ${i} ${i}`}>${p`<circle cx=${i/2} cy=${i/2} r=${o??f} />`}</svg>`}};y("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.11 */
|
|
4
|
+
import{b as e}from"./P5BQBZUP.js";import"./HMHM5GND.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.11 */
|
|
4
|
+
import{a as o}from"./EVD2JOE2.js";import{u as l,v as r}from"./7D3PCICR.js";import"./YZL2SJ5Z.js";import{H as w,e as g,f as t,w as u,x as i}from"./LVAKGILP.js";var b=g`: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{position:absolute;inset:0;display:flex;block-size:100%;inline-size:100%;flex-direction:column;overflow:hidden}.main{position:relative;display:flex;block-size:100%;inline-size:100%;flex:1 1 auto;flex-direction:row;justify-content:space-between;overflow:hidden}.content{display:flex;block-size:100%;inline-size:100%;flex-direction:column;flex-wrap:nowrap;overflow:auto;justify-content:space-between}.content ::slotted(calcite-shell-center-row),.content ::slotted(calcite-panel),.content ::slotted(calcite-flow){flex:1 1 auto;align-self:stretch;max-block-size:unset}.content--behind{position:absolute;inset:0;border-width:0px;z-index:calc(var(--calcite-z-index) - 1);display:initial}.content--non-interactive{pointer-events:none;display:flex;block-size:100%;inline-size:100%;flex-direction:column;flex-wrap:nowrap}::slotted(calcite-shell-center-row){inline-size:unset}::slotted(.header .heading){font-size:var(--calcite-font-size--2);line-height:1.375;font-weight:var(--calcite-font-weight-normal)}slot[name=panel-start]::slotted(calcite-shell-panel),slot[name=panel-end]::slotted(calcite-shell-panel){position:relative;z-index:calc(var(--calcite-z-index) + 1)}slot[name=panel-end]::slotted(calcite-shell-panel){margin-inline-start:auto}::slotted(calcite-panel),::slotted(calcite-flow){border-width:var(--calcite-border-width-sm);border-color:var(--calcite-shell-border-color, var(--calcite-color-border-3));border-inline-start-width:var(--calcite-border-width-none);border-inline-end-width:var(--calcite-border-width-none);border-style:solid}slot[name=center-row]::slotted(calcite-shell-center-row:not([detached])),slot[name=panel-top]::slotted(calcite-shell-center-row:not([detached])),slot[name=panel-bottom]::slotted(calcite-shell-center-row:not([detached])){border-color:var(--calcite-shell-border-color, var(--calcite-color-border-3));border-inline-start-width:var(--calcite-border-width-sm);border-inline-end-width:var(--calcite-border-width-sm)}.center-content{display:flex;flex-direction:column;justify-content:space-between;block-size:100%;inline-size:100%;min-inline-size:0}.content-bottom{justify-content:flex-end}::slotted(calcite-shell-center-row){flex:none;align-self:stretch}::slotted(calcite-tip-manager){position:absolute;z-index:var(--calcite-z-index-toast);box-sizing:border-box}@keyframes in-up{0%{opacity:0;transform:translate3D(0,5px,0)}to{opacity:1;transform:translateZ(0)}}::slotted(calcite-tip-manager){animation:in-up var(--calcite-internal-animation-timing-slow) ease-in-out;border-radius:.25rem;--tw-shadow: 0 6px 20px -4px rgba(0, 0, 0, .1), 0 4px 12px -2px rgba(0, 0, 0, .08);--tw-shadow-colored: 0 6px 20px -4px var(--tw-shadow-color), 0 4px 12px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);inset-block-end:.5rem;inset-inline:var(--calcite-shell-tip-spacing, 26vw)}slot[name=center-row]::slotted(calcite-shell-center-row),slot[name=panel-bottom]::slotted(calcite-shell-center-row){margin-block-start:auto}slot[name=panel-top]::slotted(calcite-shell-center-row){margin-block-end:auto}.position-wrapper{position:absolute;pointer-events:none;inset:0}slot[name=modals]::slotted(calcite-modal){position:absolute}:host([hidden]){display:none}[hidden]{display:none}`,s={main:"main",content:"content",contentBehind:"content--behind",contentBottom:"content-bottom",contentNonInteractive:"content--non-interactive",footer:"footer",positionedSlotWrapper:"positioned-slot-wrapper",contentBehindCenterContent:"center-content"},a={centerRow:"center-row",panelStart:"panel-start",panelEnd:"panel-end",panelTop:"panel-top",panelBottom:"panel-bottom",header:"header",footer:"footer",alerts:"alerts",sheets:"sheets",modals:"modals",dialogs:"dialogs"},d=class extends u{constructor(){super(),this.hasAlerts=!1,this.hasDialogs=!1,this.hasFooter=!1,this.hasHeader=!1,this.hasModals=!1,this.hasOnlyPanelBottom=!1,this.hasPanelBottom=!1,this.hasPanelTop=!1,this.hasSheets=!1,this.panelIsResizing=!1,this.contentBehind=!1,this.listen("calciteInternalShellPanelResizeStart",this.handleCalciteInternalShellPanelResizeStart),this.listen("calciteInternalShellPanelResizeEnd",this.handleCalciteInternalShellPanelResizeEnd)}static{this.properties={hasAlerts:[16,{state:!0}],hasDialogs:[16,{state:!0}],hasFooter:[16,{state:!0}],hasHeader:[16,{state:!0}],hasModals:[16,{state:!0}],hasOnlyPanelBottom:[16,{state:!0}],hasPanelBottom:[16,{state:!0}],hasPanelTop:[16,{state:!0}],hasSheets:[16,{state:!0}],panelIsResizing:[16,{state:!0}],contentBehind:[7,{reflect:!0,type:Boolean}]}}static{this.styles=b}willUpdate(e){(e.has("hasPanelTop")&&(this.hasUpdated||this.hasPanelTop!==!1)||e.has("hasPanelBottom")&&(this.hasUpdated||this.hasPanelBottom!==!1))&&(this.hasOnlyPanelBottom=!this.hasPanelTop&&this.hasPanelBottom)}handleCalciteInternalShellPanelResizeStart(e){this.panelIsResizing=!0,e.stopPropagation()}handleCalciteInternalShellPanelResizeEnd(e){this.panelIsResizing=!1,e.stopPropagation()}handleHeaderSlotChange(e){this.hasHeader=!!l(e)}handleFooterSlotChange(e){this.hasFooter=!!l(e)}handleAlertsSlotChange(e){this.hasAlerts=!!l(e),r(e)?.map(n=>{n.tagName==="CALCITE-ALERT"&&(n.embedded=!0)})}handleSheetsSlotChange(e){this.hasSheets=!!l(e),r(e)?.map(n=>{n.tagName==="CALCITE-SHEET"&&(n.embedded=!0)})}handleModalsSlotChange(e){this.hasModals=!!l(e)}handlePanelTopChange(e){this.hasPanelTop=l(e)}handlePanelBottomChange(e){this.hasPanelBottom=l(e)}handleDialogsSlotChange(e){this.hasDialogs=!!l(e),r(e)?.map(n=>{n.tagName==="CALCITE-DIALOG"&&(n.embedded=!0)})}renderHeader(){return t`<div .hidden=${!this.hasHeader}>${o("header",t`<slot name=${a.header} @slotchange=${this.handleHeaderSlotChange}></slot>`)}</div>`}renderFooter(){return o("footer",t`<div class=${i(s.footer)} .hidden=${!this.hasFooter}><slot name=${a.footer} @slotchange=${this.handleFooterSlotChange}></slot></div>`)}renderAlerts(){return t`<div .hidden=${!this.hasAlerts}>${o("alerts",t`<slot name=${a.alerts} @slotchange=${this.handleAlertsSlotChange}></slot>`)}</div>`}renderSheets(){return t`<div .hidden=${!this.hasSheets}>${o("sheets",t`<slot name=${a.sheets} @slotchange=${this.handleSheetsSlotChange}></slot>`)}</div>`}renderModals(){return t`<div .hidden=${!this.hasModals}>${o("modals",t`<slot name=${a.modals} @slotchange=${this.handleModalsSlotChange}></slot>`)}</div>`}renderDialogs(){return t`<div .hidden=${!this.hasDialogs}>${o("dialogs",t`<slot name=${a.dialogs} @slotchange=${this.handleDialogsSlotChange}></slot>`)}</div>`}renderContent(){let{panelIsResizing:e}=this,n=o("default-slot",t`<slot></slot>`),h=e?t`<div class=${i(s.contentNonInteractive)}>${n}</div>`:n,c=o("center-row-slot",t`<slot name=${a.centerRow}></slot>`),p=o("panel-bottom-slot",t`<slot name=${a.panelBottom} @slotchange=${this.handlePanelBottomChange}></slot>`),m=o("panel-top-slot",t`<slot name=${a.panelTop} @slotchange=${this.handlePanelTopChange}></slot>`),f="content-container";return this.contentBehind?[o(f,t`<div class=${i({[s.content]:!0,[s.contentBehind]:!0})}>${h}</div>`),t`<div class=${i({[s.contentBehindCenterContent]:!0,[s.contentBottom]:this.hasOnlyPanelBottom})}>${m}${p}${c}</div>`]:[o(f,t`<div class=${i({[s.content]:!0,[s.contentBottom]:this.hasOnlyPanelBottom})}>${m}${h}${p}${c}</div>`)]}renderMain(){return t`<div class=${i(s.main)}><slot name=${a.panelStart}></slot>${this.renderContent()}<slot name=${a.panelEnd}></slot></div>`}renderPositionedSlots(){return t`<div class=${i(s.positionedSlotWrapper)}>${this.renderAlerts()}${this.renderModals()}${this.renderDialogs()}${this.renderSheets()}</div>`}render(){return t`${this.renderHeader()}${this.renderMain()}${this.renderFooter()}${this.renderPositionedSlots()}`}};w("calcite-shell",d);export{d as Shell};
|
|
@@ -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.11 */
|
|
4
|
+
var n={container:"container",containerNone:"container--none-selection",icon:"dropdown-item-icon",iconEnd:"dropdown-item-icon--end",iconStart:"dropdown-item-icon--start",itemContent:"dropdown-item-content",link:"dropdown-link"};export{n 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.11 */
|
|
4
|
+
import{a as pe,d as B,e as ue}from"./OEUHOV6D.js";import{a as le}from"./IZZ7FRBR.js";import{A as ce,B as N,C as he,D as de,a as S,b as n,c as g,d as T,e as x,f as p,g as E,h as b,i as A,j as K,l as I,m as H,q as O,r as y,t as ne,u as re,w as U,x as j,y as W,z as D}from"./K4OFX44J.js";import"./LWUN7FGT.js";import{a as ie,b as oe}from"./ZOXZ6A64.js";import{a as F}from"./EVD2JOE2.js";import{d as L}from"./3IPWWZLZ.js";import{a as se}from"./IUKKSMKZ.js";import{a as Z}from"./W56FSLAZ.js";import{a as ae}from"./7G3PHMJJ.js";import{b as v}from"./JOBXA3HC.js";import{e as Q,n as ee,x as z}from"./7D3PCICR.js";import{d as te}from"./KYHMJQBN.js";import"./TOXOBK2C.js";import"./YZL2SJ5Z.js";import{H as J,e as G,f as u,j as w,v as M,w as Y,x as c,y as $}from"./LVAKGILP.js";var Ae=G`: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:inline-block;font-size:var(--calcite-font-size--2);line-height:1rem;font-weight:var(--calcite-font-weight-normal);inline-size:var(--calcite-internal-color-picker-min-width);min-inline-size:var(--calcite-internal-color-picker-min-width)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([scale=s]){--calcite-internal-color-picker-min-width: 200px;--calcite-color-picker-spacing: 8px}:host([scale=s]) .saved-colors{gap:.25rem;grid-template-columns:repeat(auto-fill,20px)}:host([scale=m]){--calcite-internal-color-picker-min-width: 240px;--calcite-color-picker-spacing: 12px}:host([scale=l]){--calcite-internal-color-picker-min-width: 304px;--calcite-color-picker-spacing: 16px;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=l]) .section:first-of-type{padding-block-start:var(--calcite-color-picker-spacing)}:host([scale=l]) .saved-colors{grid-template-columns:repeat(auto-fill,32px)}:host([scale=l]) .control-section{display:flex;flex-direction:column;flex-wrap:wrap;align-items:baseline}:host([scale=l]) .color-hex-options{inline-size:100%;display:flex;flex-shrink:1;flex-direction:column;justify-content:space-around}:host([scale=l]) .color-mode-container{flex-shrink:3}.container{background-color:var(--calcite-color-foreground-1);display:flex;flex-direction:column;block-size:min-content;border:1px solid var(--calcite-color-border-1)}.control-and-scope{position:relative;display:flex;cursor:pointer;touch-action:none}.color-field,.control-and-scope{-webkit-user-select:none;user-select:none}.scope{pointer-events:none;position:absolute;z-index:var(--calcite-z-index);block-size:1px;inline-size:1px;border-radius:9999px;background-color:transparent;font-size:var(--calcite-font-size--1);outline-color:transparent}.scope: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))));outline-offset:6px}.hex-and-channels-group{display:flex;inline-size:100%;flex-direction:column;flex-wrap:wrap}.section{padding-block:0 var(--calcite-color-picker-spacing);padding-inline:var(--calcite-color-picker-spacing)}.section:first-of-type{padding-block-start:var(--calcite-color-picker-spacing)}.sliders{display:flex;flex-direction:column;justify-content:space-between;margin-inline-start:var(--calcite-color-picker-spacing);gap:var(--calcite-spacing-xxs)}.preview-and-sliders{display:flex;align-items:center;padding:var(--calcite-color-picker-spacing)}.color-hex-options,.section--split{flex-grow:1}.header{display:flex;align-items:center;justify-content:space-between;color:var(--calcite-color-text-1)}.color-mode-container{padding-block-start:var(--calcite-color-picker-spacing)}.channels{display:flex}.channel{flex-grow:1}.channel[data-channel-index="3"]{margin-inline-start:-1px;min-inline-size:81px}:host([scale=s]) .channel[data-channel-index="3"]{min-inline-size:68px}:host([scale=l]) .channel[data-channel-index="3"]{min-inline-size:88px}.saved-colors{display:grid;gap:.5rem;padding-block-start:var(--calcite-color-picker-spacing);grid-template-columns:repeat(auto-fill,24px)}.saved-colors-buttons{display:flex}.saved-color{outline-offset:0;outline-color:transparent;cursor:pointer}.saved-color:focus{outline:2px solid var(--calcite-color-brand);outline-offset:2px}.saved-color:hover{transition:outline-color var(--calcite-internal-animation-timing-fast) ease-in-out;outline:2px solid var(--calcite-color-border-2);outline-offset:2px}:host([hidden]){display:none}[hidden]{display:none}`,Ce=16,_=class extends Y{constructor(){super(),this._color=g,this.internalColorUpdateContext=null,this.isActiveChannelInputEmpty=!1,this.mode=U.HEX,this.resizeObserver=Z("resize",e=>this.resizeCanvas(e)),this.shiftKeyChannelAdjustment=0,this.upOrDownArrowKeyTracker=null,this._valueWasSet=!1,this.channelMode="rgb",this.channels=this.toChannels(g),this.staticDimensions=A.m,this.savedColors=[],this.allowEmpty=!1,this.alphaChannel=!1,this.channelsDisabled=!1,this.clearable=!1,this.disabled=!1,this.format="auto",this.hexDisabled=!1,this.messages=ae({blocking:!0}),this.savedDisabled=!1,this.scale="m",this.calciteColorPickerChange=M({cancelable:!1}),this.calciteColorPickerInput=M({cancelable:!1}),this.captureColorFieldColor=(e,t,i=!0)=>{let{width:o,height:a}=this.dynamicDimensions.colorField,s=Math.round(p.s/o*e),l=Math.round(p.v/a*(a-t));this.internalColorSet(this.baseColorFieldColor.hsv().saturationv(s).value(l),i)},this.drawColorControls=L((e="all")=>{(e==="all"||e==="color-field")&&this.colorFieldRenderingContext&&this.drawColorField(),(e==="all"||e==="hue-slider")&&this.hueSliderRenderingContext&&this.drawHueSlider(),this.alphaChannel&&(e==="all"||e==="opacity-slider")&&this.opacitySliderRenderingContext&&this.drawOpacitySlider()},Ce),this.globalPointerMoveHandler=e=>{let{activeCanvasInfo:t,el:i}=this;if(!i.isConnected||!t)return;let{context:o,bounds:a}=t,s,l,{clientX:r,clientY:h}=e;o.canvas.matches(":hover")?(s=r-a.x,l=h-a.y):(r<a.x+a.width&&r>a.x?s=r-a.x:r<a.x?s=0:s=a.width,h<a.y+a.height&&h>a.y?l=h-a.y:h<a.y?l=0:l=a.height),o===this.colorFieldRenderingContext?this.captureColorFieldColor(s,l,!1):o===this.hueSliderRenderingContext?this.captureHueSliderColor(s):o===this.opacitySliderRenderingContext&&this.captureOpacitySliderValue(s)},this.globalPointerUpHandler=e=>{if(!z(e))return;let t=this.activeCanvasInfo;this.activeCanvasInfo=null,this.drawColorControls(),t&&this.calciteColorPickerChange.emit()},this.resizeCanvas=L(e=>{if(!this.hasUpdated)return;let[t]=e,i=Math.floor(t.contentBoxSize[0].inlineSize);this.dynamicDimensions.colorField.width!==i&&(this.updateDynamicDimensions(i),this.updateCanvasSize(),this.drawColorControls())},Ce),this.updateDynamicDimensions=e=>{let t={width:he(e,this.staticDimensions,this.alphaChannel),height:this.staticDimensions.slider.height};this.dynamicDimensions={colorField:de(e),slider:t}},this.listen("keydown",this.handleChannelKeyUpOrDown,{capture:!0}),this.listen("keyup",this.handleChannelKeyUpOrDown,{capture:!0})}static{this.properties={channelMode:[16,{state:!0}],channels:[16,{state:!0}],colorFieldScopeLeft:[16,{state:!0}],colorFieldScopeTop:[16,{state:!0}],staticDimensions:[16,{state:!0}],hueScopeLeft:[16,{state:!0}],opacityScopeLeft:[16,{state:!0}],savedColors:[16,{state:!0}],scopeOrientation:[16,{state:!0}],allowEmpty:[7,{reflect:!0,type:Boolean}],alphaChannel:[5,{type:Boolean}],channelsDisabled:[5,{type:Boolean}],clearable:[7,{reflect:!0,type:Boolean}],color:[0,{attribute:!1}],disabled:[7,{reflect:!0,type:Boolean}],format:[3,{reflect:!0}],hexDisabled:[5,{type:Boolean}],messageOverrides:[0,{attribute:!1}],numberingSystem:[3,{reflect:!0}],savedDisabled:[7,{reflect:!0,type:Boolean}],scale:[3,{reflect:!0}],storageId:[3,{reflect:!0}],value:1}}static{this.styles=Ae}get baseColorFieldColor(){return this.color||this.previousColor||g}get effectiveSliderWidth(){return this.dynamicDimensions.slider.width}get color(){return this._color}set color(e){let t=this._color;this._color=e,this.handleColorChange(e,t)}get value(){return this._value}set value(e){let t=this._value;this._value=e,this.handleValueChange(e,t),this._valueWasSet=!0}async setFocus(){await te(this),ee(this.el)}connectedCallback(){super.connectedCallback(),this.observeResize()}async load(){this._valueWasSet||(this._value??=O(y(g,this.alphaChannel))),this.handleAllowEmptyOrClearableChange();let{isClearable:e,color:t,format:i,value:o}=this,a=e&&!o,s=j(o),l=a||i==="auto"&&s||i===s,r=a?null:l?S(o):t;l||this.showIncompatibleColorWarning(o,i),this.setMode(i,!1),this.internalColorSet(r,!1,"initial"),this.updateStaticDimensions(this.scale),this.updateDynamicDimensions(A[this.scale].minWidth);let h=`${T}${this.storageId}`;this.storageId&&localStorage.getItem(h)&&(this.savedColors=JSON.parse(localStorage.getItem(h)))}willUpdate(e){(e.has("allowEmpty")&&(this.hasUpdated||this.allowEmpty!==!1)||e.has("clearable")&&(this.hasUpdated||this.clearable!==!1))&&this.handleAllowEmptyOrClearableChange(),e.has("alphaChannel")&&(this.hasUpdated||this.alphaChannel!==!1)&&this.handleAlphaChannelChange(this.alphaChannel),this.hasUpdated&&(e.has("alphaChannel")&&this.alphaChannel!==!1||e.has("staticDimensions")&&this.staticDimensions!==A.m)&&this.handleAlphaChannelDimensionsChange(),(e.has("alphaChannel")&&(this.hasUpdated||this.alphaChannel!==!1)||e.has("format")&&(this.hasUpdated||this.format!=="auto"))&&this.handleFormatOrAlphaChannelChange(),e.has("scale")&&(this.hasUpdated||this.scale!=="m")&&this.handleScaleChange(this.scale)}updated(){ie(this)}loaded(){this.handleAlphaChannelDimensionsChange()}disconnectedCallback(){super.disconnectedCallback(),window.removeEventListener("pointermove",this.globalPointerMoveHandler),window.removeEventListener("pointerup",this.globalPointerUpHandler),this.resizeObserver?.disconnect()}observeResize(){this.resizeObserver?.observe(this.el)}handleAllowEmptyOrClearableChange(){this.isClearable=this.clearable||this.allowEmpty}handleAlphaChannelChange(e){let{format:t}=this;e&&t!=="auto"&&!D(t)&&(console.warn(`ignoring alphaChannel as the current format (${t}) does not support alpha`),this.alphaChannel=!1)}handleAlphaChannelDimensionsChange(){this.drawColorControls()}handleColorChange(e,t){this.drawColorControls(),this.updateChannelsFromColor(e),this.previousColor=t}handleFormatOrAlphaChannelChange(){this.setMode(this.format),this.internalColorSet(this.color,!1,"internal")}handleScaleChange(e="m"){this.updateStaticDimensions(e),this.updateCanvasSize(),this.drawColorControls()}handleValueChange(e,t){let{isClearable:i,format:o}=this,a=!i||e,s=!1;if(a){let d=j(e);if(!d||o!=="auto"&&d!==o){this.showIncompatibleColorWarning(e,o),this._value=t;return}s=this.mode!==d,this.setMode(d,this.internalColorUpdateContext===null)}let l=this.activeCanvasInfo;if(this.internalColorUpdateContext==="initial")return;if(this.internalColorUpdateContext==="user-interaction"){this.calciteColorPickerInput.emit(),l||this.calciteColorPickerChange.emit();return}let r=i&&!e?null:S(e!=null&&typeof e=="object"&&D(this.mode)?re(e):e),h=!W(r,this.color);(s||h)&&this.internalColorSet(r,this.alphaChannel&&!(this.mode.endsWith("a")||this.mode.endsWith("a-css"))||this.internalColorUpdateContext==="internal","internal")}handleTabActivate(e){this.channelMode=e.currentTarget.getAttribute("data-color-mode"),this.updateChannelsFromColor(this.color)}handleColorFieldScopeKeyDown(e){let{key:t}=e,i={ArrowUp:{x:0,y:-10},ArrowRight:{x:10,y:0},ArrowDown:{x:0,y:10},ArrowLeft:{x:-10,y:0}};i[t]&&(e.preventDefault(),this.scopeOrientation=t==="ArrowDown"||t==="ArrowUp"?"vertical":"horizontal",this.captureColorFieldColor(this.colorFieldScopeLeft+i[t].x||0,this.colorFieldScopeTop+i[t].y||0,!1))}handleHueScopeKeyDown(e){let t=e.shiftKey?10:1,{key:i}=e,o={ArrowUp:1,ArrowRight:1,ArrowDown:-1,ArrowLeft:-1};if(o[i]){e.preventDefault();let a=o[i]*t,s=this.baseColorFieldColor.hue(),l=this.baseColorFieldColor.hue(s+a);this.internalColorSet(l,!1)}}handleHexInputChange(e){e.stopPropagation();let{isClearable:t,color:i}=this,a=e.target.value;if(t&&!a){this.internalColorSet(null);return}let s=i&&O(y(i,D(this.mode)));a!==s&&this.internalColorSet(S(a))}handleSavedColorSelect(e){let t=e.currentTarget;this.internalColorSet(S(t.color))}handleChannelInput(e){let t=e.currentTarget,i=Number(t.getAttribute("data-channel-index")),a=i===3?b.max:this.channelMode==="rgb"?x[Object.keys(x)[i]]:p[Object.keys(p)[i]],s;if(!t.value)s="",this.isActiveChannelInputEmpty=!0,this.upOrDownArrowKeyTracker=null;else{let r=Number(t.value)+this.shiftKeyChannelAdjustment;s=pe(r,0,a).toString()}t.value=s,s!==""&&this.shiftKeyChannelAdjustment!==0?this.handleChannelChange(e):s!==""&&this.handleChannelChange(e)}handleChannelBlur(e){let t=e.currentTarget,i=Number(t.getAttribute("data-channel-index")),o=[...this.channels];!t.value&&!this.isClearable&&(t.value=o[i]?.toString())}handleChannelFocus(e){e.currentTarget.selectText()}handleChannelKeyUpOrDown(e){this.shiftKeyChannelAdjustment=0;let{key:t}=e;if(t!=="ArrowUp"&&t!=="ArrowDown"||!e.composedPath().some(a=>a.classList?.contains(n.channel)))return;let{shiftKey:i}=e;if(e.preventDefault(),!this.color){this.internalColorSet(this.previousColor),e.stopPropagation();return}let o=9;this.shiftKeyChannelAdjustment=t==="ArrowUp"&&i?o:t==="ArrowDown"&&i?-9:0,t==="ArrowUp"&&(this.upOrDownArrowKeyTracker="up"),t==="ArrowDown"&&(this.upOrDownArrowKeyTracker="down")}getChannelInputLimit(e){return this.channelMode==="rgb"?x[Object.keys(x)[e]]:p[Object.keys(p)[e]]}handleChannelChange(e){let t=e.currentTarget,i=Number(t.getAttribute("data-channel-index")),o=[...this.channels];if(this.isClearable&&!t.value){this.channels=[null,null,null,null],this.internalColorSet(null);return}let s=i===3;this.isActiveChannelInputEmpty&&this.upOrDownArrowKeyTracker&&(t.value=this.upOrDownArrowKeyTracker==="up"?(o[i]+1<=this.getChannelInputLimit(i)?o[i]+1:this.getChannelInputLimit(i)).toString():(o[i]-1>=0?o[i]-1:0).toString(),this.isActiveChannelInputEmpty=!1,this.upOrDownArrowKeyTracker=null);let l=t.value?Number(t.value):o[i];o[i]=s?H(l):l,this.updateColorFromChannels(o)}handleSavedColorKeyDown(e){se(e.key)&&(e.preventDefault(),this.handleSavedColorSelect(e))}handleColorFieldPointerDown(e){this.handleCanvasControlPointerDown(e,this.colorFieldRenderingContext,this.captureColorFieldColor,this.colorFieldScopeNode)}focusScope(e){requestAnimationFrame(()=>{e.focus()})}handleHueSliderPointerDown(e){this.handleCanvasControlPointerDown(e,this.hueSliderRenderingContext,this.captureHueSliderColor,this.hueScopeNode)}handleOpacitySliderPointerDown(e){this.handleCanvasControlPointerDown(e,this.opacitySliderRenderingContext,this.captureOpacitySliderValue,this.opacityScopeNode)}handleCanvasControlPointerDown(e,t,i,o){z(e)&&(window.addEventListener("pointermove",this.globalPointerMoveHandler),window.addEventListener("pointerup",this.globalPointerUpHandler,{once:!0}),this.activeCanvasInfo={context:t,bounds:t.canvas.getBoundingClientRect()},i.call(this,e.offsetX,e.offsetY),this.focusScope(o))}storeColorFieldScope(e){this.colorFieldScopeNode=e}storeHueScope(e){this.hueScopeNode=e}handleKeyDown(e){e.key==="Enter"&&e.preventDefault()}showIncompatibleColorWarning(e,t){console.warn(`ignoring color value (${e}) as it is not compatible with the current format (${t})`)}setMode(e,t=!0){let i=e==="auto"?this.mode:e;this.mode=this.ensureCompatibleMode(i,t)}ensureCompatibleMode(e,t){let{alphaChannel:i}=this,o=D(e);if(i&&!o){let a=ce(e);return t&&console.warn(`setting format to (${a}) as the provided one (${e}) does not support alpha`),a}if(!i&&o){let a=N(e);return t&&console.warn(`setting format to (${a}) as the provided one (${e}) does not support alpha`),a}return e}captureHueSliderColor(e){let t=E/this.effectiveSliderWidth*e;this.internalColorSet(this.baseColorFieldColor.hue(t),!1)}captureOpacitySliderValue(e){let t=H(b.max/this.effectiveSliderWidth*e);this.internalColorSet(this.baseColorFieldColor.alpha(t),!1)}internalColorSet(e,t=!0,i="user-interaction"){t&&W(e,this.color)||(this.internalColorUpdateContext=i,this.color=e,this.value=this.toValue(e),this.internalColorUpdateContext=null)}toValue(e,t=this.mode){if(!e)return null;if(t.includes("hex")){let a=t===U.HEXA;return O(y(e.round(),a),a)}if(t.includes("-css")){let a=e[t.replace("-css","").replace("a","")]().round().string();if((t.endsWith("a")||t.endsWith("a-css"))&&e.alpha()===1){let l=a.slice(0,3),r=a.slice(4,-1);return`${l}a(${r}, ${e.alpha()})`}return a}let o=e[N(t)]().round().object();return t.endsWith("a")?ne(o):o}getSliderCapSpacing(){let{staticDimensions:{slider:{height:e},thumb:{radius:t}}}=this;return t*2-e}updateStaticDimensions(e="m"){this.staticDimensions=A[e]}deleteColor(){let e=y(this.color,this.alphaChannel);if(!(this.savedColors.indexOf(e)>-1))return;let i=this.savedColors.filter(a=>a!==e);this.savedColors=i;let o=`${T}${this.storageId}`;this.storageId&&localStorage.setItem(o,JSON.stringify(i))}saveColor(){let e=y(this.color,this.alphaChannel);if(this.savedColors.indexOf(e)>-1)return;let i=[...this.savedColors,e];this.savedColors=i;let o=`${T}${this.storageId}`;this.storageId&&localStorage.setItem(o,JSON.stringify(i))}drawColorField(){let e=this.colorFieldRenderingContext,{width:t,height:i}=this.dynamicDimensions.colorField;e.fillStyle=this.baseColorFieldColor.hsv().saturationv(100).value(100).alpha(1).string(),e.fillRect(0,0,t,i);let o=e.createLinearGradient(0,0,t,0);o.addColorStop(0,"rgba(255,255,255,1)"),o.addColorStop(1,"rgba(255,255,255,0)"),e.fillStyle=o,e.fillRect(0,0,t,i);let a=e.createLinearGradient(0,0,0,i);a.addColorStop(0,"rgba(0,0,0,0)"),a.addColorStop(1,"rgba(0,0,0,1)"),e.fillStyle=a,e.fillRect(0,0,t,i),this.drawActiveColorFieldColor()}setCanvasContextSize(e,{height:t,width:i}){if(!e)return;let o=window.devicePixelRatio||1;e.width=i*o,e.height=t*o,e.style.height=`${t}px`,e.style.width=`${i}px`,e.getContext("2d").scale(o,o)}initColorField(e){e&&(this.colorFieldRenderingContext=e.getContext("2d"),this.updateCanvasSize("color-field"),this.drawColorControls())}initHueSlider(e){e&&(this.hueSliderRenderingContext=e.getContext("2d"),this.updateCanvasSize("hue-slider"),this.drawHueSlider())}initOpacitySlider(e){e&&(this.opacitySliderRenderingContext=e.getContext("2d"),this.updateCanvasSize("opacity-slider"),this.drawOpacitySlider())}updateCanvasSize(e="all"){let{dynamicDimensions:t,staticDimensions:i}=this;(e==="all"||e==="color-field")&&this.setCanvasContextSize(this.colorFieldRenderingContext?.canvas,t.colorField);let o={width:this.effectiveSliderWidth,height:i.slider.height+(i.thumb.radius-t.slider.height/2)*2};(e==="all"||e==="hue-slider")&&this.setCanvasContextSize(this.hueSliderRenderingContext?.canvas,o),(e==="all"||e==="opacity-slider")&&this.setCanvasContextSize(this.opacitySliderRenderingContext?.canvas,o)}drawActiveColorFieldColor(){let{color:e}=this;if(!e)return;let t=e.hsv(),{staticDimensions:{thumb:{radius:i}}}=this,{width:o,height:a}=this.dynamicDimensions.colorField,s=t.saturationv()/(p.s/o),l=a-t.value()/(p.v/a);requestAnimationFrame(()=>{this.colorFieldScopeLeft=s,this.colorFieldScopeTop=l}),this.drawThumb(this.colorFieldRenderingContext,i,s,l,t,!1)}drawThumb(e,t,i,o,a,s){let r=2*Math.PI,h=1;if(e.beginPath(),e.arc(i,o,t,0,r),e.fillStyle="#fff",e.fill(),e.strokeStyle="rgba(0,0,0,0.3)",e.lineWidth=h,e.stroke(),s&&a.alpha()<1){let C=e.createPattern(this.getCheckeredBackgroundPattern(),"repeat");e.beginPath(),e.arc(i,o,t-3,0,r),e.fillStyle=C,e.fill()}e.globalCompositeOperation="source-atop",e.beginPath(),e.arc(i,o,t-3,0,r);let d=s?a.alpha():1;e.fillStyle=a.rgb().alpha(d).string(),e.fill(),e.globalCompositeOperation="source-over"}drawActiveHueSliderColor(){let{color:e}=this;if(!e)return;let t=e.hsv().saturationv(100).value(100),{staticDimensions:{thumb:{radius:i}}}=this,o=this.effectiveSliderWidth,a=t.hue()/(E/o),s=i,l=this.getSliderBoundX(a,o,i);requestAnimationFrame(()=>{this.hueScopeLeft=l}),this.drawThumb(this.hueSliderRenderingContext,i,l,s,t,!1)}drawHueSlider(){let e=this.hueSliderRenderingContext,{staticDimensions:{slider:{height:t},thumb:{radius:i}}}=this,o=0,a=i-t/2,s=this.effectiveSliderWidth,l=e.createLinearGradient(0,0,s,0),r=["red","yellow","lime","cyan","blue","magenta","#ff0004"],h=1/(r.length-1),d=0;r.forEach(C=>{l.addColorStop(d,S(C).string()),d+=h}),e.clearRect(0,0,s,t+this.getSliderCapSpacing()*2),this.drawSliderPath(e,t,s,o,a),e.fillStyle=l,e.fill(),e.strokeStyle="rgba(0,0,0,0.3)",e.lineWidth=1,e.stroke(),this.drawActiveHueSliderColor()}drawOpacitySlider(){let e=this.opacitySliderRenderingContext,{baseColorFieldColor:t,staticDimensions:{slider:{height:i},thumb:{radius:o}}}=this,a=0,s=o-i/2,l=this.effectiveSliderWidth;e.clearRect(0,0,l,i+this.getSliderCapSpacing()*2);let r=e.createLinearGradient(0,s,l,0),h=t.rgb().alpha(0),d=t.rgb().alpha(.5),C=t.rgb().alpha(1);r.addColorStop(0,h.string()),r.addColorStop(.5,d.string()),r.addColorStop(1,C.string()),this.drawSliderPath(e,i,l,a,s);let f=e.createPattern(this.getCheckeredBackgroundPattern(),"repeat");e.fillStyle=f,e.fill(),e.fillStyle=r,e.fill(),e.strokeStyle="rgba(0,0,0,0.3)",e.lineWidth=1,e.stroke(),this.drawActiveOpacitySliderColor()}drawSliderPath(e,t,i,o,a){let s=t/2+1;e.beginPath(),e.moveTo(o+s,a),e.lineTo(o+i-s,a),e.quadraticCurveTo(o+i,a,o+i,a+s),e.lineTo(o+i,a+t-s),e.quadraticCurveTo(o+i,a+t,o+i-s,a+t),e.lineTo(o+s,a+t),e.quadraticCurveTo(o,a+t,o,a+t-s),e.lineTo(o,a+s),e.quadraticCurveTo(o,a,o+s,a),e.closePath()}getCheckeredBackgroundPattern(){if(this.checkerPattern)return this.checkerPattern;let e=document.createElement("canvas");e.width=10,e.height=10;let t=e.getContext("2d");return t.fillStyle="#ccc",t.fillRect(0,0,10,10),t.fillStyle="#fff",t.fillRect(0,0,5,5),t.fillRect(5,5,5,5),this.checkerPattern=e,e}drawActiveOpacitySliderColor(){let{color:e}=this;if(!e)return;let t=e,{staticDimensions:{thumb:{radius:i}}}=this,o=this.effectiveSliderWidth,a=I(t.alpha())/(b.max/o),s=i,l=this.getSliderBoundX(a,o,i);requestAnimationFrame(()=>{this.opacityScopeLeft=l}),this.drawThumb(this.opacitySliderRenderingContext,i,l,s,t,!0)}getSliderBoundX(e,t,i){let o=ue(e,t,i);return o===0?e:o===-1?B(e,0,t,i,i*2):B(e,0,t,t-i*2,t-i)}storeOpacityScope(e){this.opacityScopeNode=e}handleOpacityScopeKeyDown(e){let t=e.shiftKey?10:1,{key:i}=e,o={ArrowUp:.01,ArrowRight:.01,ArrowDown:-.01,ArrowLeft:-.01};if(o[i]){e.preventDefault();let a=o[i]*t,s=this.baseColorFieldColor.alpha(),l=this.baseColorFieldColor.alpha(s+a);this.internalColorSet(l,!1)}}updateColorFromChannels(e){this.internalColorSet(S(e,this.channelMode))}updateChannelsFromColor(e){this.channels=e?this.toChannels(e):[null,null,null,null]}toChannels(e){let{channelMode:t}=this,i=e[t]().array().map((o,a)=>a===3?o:Math.floor(o));return i.length===3&&i.push(1),i}getAdjustedScopePosition(e,t){return[e-K/2,t-K/2]}render(){let{channelsDisabled:e,color:t,colorFieldScopeLeft:i,colorFieldScopeTop:o,staticDimensions:{thumb:{radius:a}},hexDisabled:s,hueScopeLeft:l,messages:r,alphaChannel:h,opacityScopeLeft:d,savedColors:C,savedDisabled:f,scale:m,scopeOrientation:k}=this,V=this.effectiveSliderWidth,X=t?y(t,h):null,fe=a,me=l??V*g.hue()/p.h,ge=a,ve=d??V*I(g.alpha())/b.max,q=t===void 0,P=k==="vertical",[Se,be]=this.getAdjustedScopePosition(i,o),[ye,we]=this.getAdjustedScopePosition(me,fe),[$e,xe]=this.getAdjustedScopePosition(ve,ge);return oe({disabled:this.disabled,children:u`<div class=${c(n.container)}><div class=${c(n.controlAndScope)}><canvas class=${c(n.colorField)} @pointerdown=${this.handleColorFieldPointerDown} ${v(this.initColorField)}></canvas><div .ariaLabel=${P?r.value:r.saturation} .ariaValueMax=${P?p.v:p.s} aria-valuemin=0 .ariaValueNow=${(P?t?.saturationv():t?.value())||"0"} class=${c({[n.scope]:!0,[n.colorFieldScope]:!0})} @keydown=${this.handleColorFieldScopeKeyDown} role=slider style=${$({top:`${be||0}px`,left:`${Se||0}px`})} tabindex=0 ${v(this.storeColorFieldScope)}></div></div><div class=${c(n.previewAndSliders)}><calcite-color-picker-swatch class=${c(n.preview)} .color=${X} .scale=${this.alphaChannel?"l":this.scale}></calcite-color-picker-swatch><div class=${c(n.sliders)}><div class=${c(n.controlAndScope)}><canvas class=${c({[n.slider]:!0,[n.hueSlider]:!0})} @pointerdown=${this.handleHueSliderPointerDown} ${v(this.initHueSlider)}></canvas><div .ariaLabel=${r.hue} .ariaValueMax=${p.h} aria-valuemin=0 .ariaValueNow=${t?.round().hue()||g.round().hue()} class=${c({[n.scope]:!0,[n.hueScope]:!0})} @keydown=${this.handleHueScopeKeyDown} role=slider style=${$({top:`${we}px`,left:`${ye}px`})} tabindex=0 ${v(this.storeHueScope)}></div></div>${h?u`<div class=${c(n.controlAndScope)}><canvas class=${c({[n.slider]:!0,[n.opacitySlider]:!0})} @pointerdown=${this.handleOpacitySliderPointerDown} ${v(this.initOpacitySlider)}></canvas><div .ariaLabel=${r.opacity} .ariaValueMax=${b.max} .ariaValueMin=${b.min} .ariaValueNow=${(t||g).round().alpha()} class=${c({[n.scope]:!0,[n.opacityScope]:!0})} @keydown=${this.handleOpacityScopeKeyDown} role=slider style=${$({top:`${xe}px`,left:`${$e}px`})} tabindex=0 ${v(this.storeOpacityScope)}></div></div>`:null}</div></div>${s&&e?null:u`<div class=${c({[n.controlSection]:!0,[n.section]:!0})}><div class=${c(n.hexAndChannelsGroup)}>${s?null:u`<div class=${c(n.hexOptions)}><calcite-color-picker-hex-input .allowEmpty=${this.isClearable} .alphaChannel=${h} class=${c(n.control)} .messages=${r} .numberingSystem=${this.numberingSystem} @calciteColorPickerHexInputChange=${this.handleHexInputChange} .scale=${m} .value=${X}></calcite-color-picker-hex-input></div>`}${e?null:u`<calcite-tabs class=${c({[n.colorModeContainer]:!0,[n.splitSection]:!0})} .scale=${m==="l"?"m":"s"}><calcite-tab-nav slot=title-group>${this.renderChannelsTabTitle("rgb")}${this.renderChannelsTabTitle("hsv")}</calcite-tab-nav>${this.renderChannelsTab("rgb")}${this.renderChannelsTab("hsv")}</calcite-tabs>`}</div></div>`}${f?null:u`<div class=${c({[n.savedColorsSection]:!0,[n.section]:!0})}><div class=${c(n.header)}><label>${r.saved}</label><div class=${c(n.savedColorsButtons)}><calcite-button appearance=transparent class=${c(n.deleteColor)} .disabled=${q} icon-start=minus kind=neutral .label=${r.deleteColor} @click=${this.deleteColor} .scale=${m} type=button></calcite-button><calcite-button appearance=transparent class=${c(n.saveColor)} .disabled=${q} icon-start=plus kind=neutral .label=${r.saveColor} @click=${this.saveColor} .scale=${m} type=button></calcite-button></div></div>${C.length>0?u`<div class=${c(n.savedColors)}>${le(C,R=>R,R=>u`<calcite-color-picker-swatch class=${c(n.savedColor)} .color=${R} @click=${this.handleSavedColorSelect} @keydown=${this.handleSavedColorKeyDown} .scale=${m} tabindex=0></calcite-color-picker-swatch>`)}</div>`:null}</div>`}</div>`})}renderChannelsTabTitle(e){let{channelMode:t,messages:i}=this,o=e===t,a=e==="rgb"?i.rgb:i.hsv;return F(e,u`<calcite-tab-title class=${c(n.colorMode)} data-color-mode=${e??w} @calciteTabsActivate=${this.handleTabActivate} .selected=${o}>${a}</calcite-tab-title>`)}renderChannelsTab(e){let{isClearable:t,channelMode:i,channels:o,messages:a,alphaChannel:s}=this,l=e===i,h=e==="rgb"?[a.red,a.green,a.blue]:[a.hue,a.saturation,a.value],d=Q(this.el),C=s?o:o.slice(0,3);return F(e,u`<calcite-tab class=${c(n.control)} .selected=${l}><div class=${c(n.channels)} dir=ltr>${C.map((f,m)=>{let k=m===3;return k&&(f=t&&!f?f:I(f)),this.renderChannel(f,m,h[m],d,k?"%":"")})}</div></calcite-tab>`)}renderChannel(e,t,i,o,a){return F(t,u`<calcite-input-number class=${c(n.channel)} data-channel-index=${t??w} dir=${o??w} .label=${i} lang=${this.messages._lang??w} number-button-type=none .numberingSystem=${this.numberingSystem} @keydown=${this.handleKeyDown} @calciteInputNumberChange=${this.handleChannelChange} @calciteInputNumberInput=${this.handleChannelInput} @calciteInternalInputNumberBlur=${this.handleChannelBlur} @calciteInternalInputNumberFocus=${this.handleChannelFocus} .scale=${this.scale==="l"?"m":"s"} style=${$({marginLeft:t>0&&!(this.scale==="s"&&this.alphaChannel&&t===3)?"-1px":""})} .suffixText=${a} .value=${e?.toString()}></calcite-input-number>`)}};J("calcite-color-picker",_);export{_ as ColorPicker};
|
|
@@ -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.11 */
|
|
4
|
+
import{b as $}from"./M6VY4ALM.js";import"./DLC7HETS.js";import{a as x}from"./EVD2JOE2.js";import{a as v}from"./W56FSLAZ.js";import{a as T}from"./7G3PHMJJ.js";import{b}from"./JOBXA3HC.js";import{e as y}from"./7D3PCICR.js";import{a as k}from"./TOXOBK2C.js";import"./YZL2SJ5Z.js";import{H as f,e as g,f as r,v as u,w as m,x as a}from"./LVAKGILP.js";var i={header:"header",heading:"heading",close:"close",container:"container",tipContainer:"tip-container",tipContainerAdvancing:"tip-container--advancing",tipContainerRetreating:"tip-container--retreating",pagination:"pagination",pagePosition:"page-position",pageNext:"page-next",pagePrevious:"page-previous"},s={chevronLeft:"chevron-left",chevronRight:"chevron-right",close:"x"},C=g`:host{box-sizing:border-box;display:block;background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-color-text-2);--calcite-tip-manager-height: 19vh}:host *{box-sizing:border-box}:host([closed]){display:none}.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{border-width:0px;border-block-end-width:1px;border-style:solid;border-color:var(--calcite-color-border-3);padding-block:0px;padding-inline-end:0px;padding-inline-start:1rem}.header .heading{padding:0;font-size:var(--calcite-font-size-1);line-height:1.5rem;font-weight:var(--calcite-font-weight-bold);color:var(--calcite-color-text-1)}.container{position:relative;overflow:hidden;outline-color:transparent;min-block-size:150px}.container: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))))}.tip-container{margin-block-start:1px;display:flex;align-items:flex-start;justify-content:center;overflow:auto;padding:1rem;outline-color:transparent;animation-name:none;animation-duration:var(--calcite-animation-timing);block-size:var(--calcite-tip-manager-height)}.tip-container: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))))}::slotted(calcite-tip){margin:0;border-style:none;max-inline-size:var(--calcite-tip-max-width)}.tip-container--advancing{animation-name:tip-advance}.tip-container--retreating{animation-name:tip-retreat}.pagination{display:flex;align-items:center;justify-content:center;padding-inline:0px;padding-block:.75rem .5rem}.page-position{margin-block:0px;margin-inline:.5rem;font-size:var(--calcite-font-size--2);line-height:1rem}@keyframes tip-advance{0%{opacity:0;transform:translate3d(50px,0,0) scale(.99)}to{opacity:1;transform:translateZ(0) scale(1)}}@keyframes tip-retreat{0%{opacity:0;transform:translate3d(-50px,0,0) scale(.99)}to{opacity:1;transform:translateZ(0) scale(1)}}:host([hidden]){display:none}[hidden]{display:none}`,h=class extends m{constructor(){super(...arguments),this.messages=T(),this.mutationObserver=v("mutation",()=>this.setUpTips()),this.closed=!1,this.calciteTipManagerClose=u({cancelable:!1})}static{this.properties={direction:[16,{state:!0}],groupTitle:[16,{state:!0}],selectedIndex:[16,{state:!0}],tips:[16,{state:!0}],total:[16,{state:!0}],closed:[7,{reflect:!0,type:Boolean}],headingLevel:[11,{type:Number,reflect:!0}],messageOverrides:[0,{attribute:!1}]}}static{this.styles=C}async nextTip(){this.direction="advancing";let e=this.selectedIndex+1;this.selectedIndex=(e+this.total)%this.total}async previousTip(){this.direction="retreating";let e=this.selectedIndex-1;this.selectedIndex=(e+this.total)%this.total}connectedCallback(){super.connectedCallback(),this.setUpTips(),this.mutationObserver?.observe(this.el,{childList:!0,subtree:!0})}async load(){k.deprecated("component",{name:"tip-manager",removalVersion:4,suggested:"carousel"})}willUpdate(e){e.has("closed")&&(this.hasUpdated||this.closed!==!1)&&(this.direction=null),e.has("selectedIndex")&&this.selectedChangeHandler(),e.has("messages")&&this.updateGroupTitle()}loaded(){this.updateGroupTitle()}disconnectedCallback(){super.disconnectedCallback(),this.mutationObserver?.disconnect()}selectedChangeHandler(){this.showSelectedTip(),this.updateGroupTitle()}setUpTips(){let e=Array.from(this.el.querySelectorAll("calcite-tip"));if(this.total=e.length,this.total===0)return;let t=this.el.querySelector("calcite-tip[selected]");this.tips=e,this.selectedIndex=t?e.indexOf(t):0,e.forEach(n=>{n.closeDisabled=!0}),this.showSelectedTip()}hideTipManager(){this.closed=!0,this.calciteTipManagerClose.emit()}showSelectedTip(){this.tips.forEach((e,t)=>{let n=this.selectedIndex===t;e.selected=n,e.hidden=!n})}updateGroupTitle(){if(this.tips){let t=this.tips[this.selectedIndex].closest("calcite-tip-group");this.groupTitle=t?.groupTitle||this.messages?.defaultGroupTitle}}previousClicked(){this.previousTip()}nextClicked(){this.nextTip()}tipManagerKeyDownHandler(e){if(e.target===this.container)switch(e.key){case"ArrowRight":e.preventDefault(),this.nextTip();break;case"ArrowLeft":e.preventDefault(),this.previousTip();break;case"Home":e.preventDefault(),this.selectedIndex=0;break;case"End":e.preventDefault(),this.selectedIndex=this.total-1;break}}storeContainerRef(e){this.container=e}renderPagination(){let e=y(this.el),{selectedIndex:t,tips:n,total:c,messages:o}=this,l=o.next,d=o.previous,p=o.defaultPaginationLabel;return n.length>1?r`<footer class=${a(i.pagination)}><calcite-action class=${a(i.pagePrevious)} .icon=${e==="ltr"?s.chevronLeft:s.chevronRight} @click=${this.previousClicked} scale=m .text=${d}></calcite-action><span class=${a(i.pagePosition)}>${`${p} ${t+1}/${c}`}</span><calcite-action class=${a(i.pageNext)} .icon=${e==="ltr"?s.chevronRight:s.chevronLeft} @click=${this.nextClicked} scale=m .text=${l}></calcite-action></footer>`:null}render(){let{closed:e,direction:t,headingLevel:n,groupTitle:c,selectedIndex:o,messages:l,total:d}=this,p=l.close;return d===0?null:r`<section .ariaHidden=${e} class=${a(i.container)} .hidden=${e} @keydown=${this.tipManagerKeyDownHandler} tabindex=0 ${b(this.storeContainerRef)}><header class=${a(i.header)}>${$({class:i.heading,level:n,children:c})}<calcite-action class=${a(i.close)} @click=${this.hideTipManager} scale=m .text=${p}><calcite-icon .icon=${s.close} scale=m></calcite-icon></calcite-action></header>${x(o,r`<div class=${a({[i.tipContainer]:!0,[i.tipContainerAdvancing]:!e&&t==="advancing",[i.tipContainerRetreating]:!e&&t==="retreating"})} tabindex=0><slot></slot></div>`)}${this.renderPagination()}</section>`}};f("calcite-tip-manager",h);export{h as TipManager};
|
|
@@ -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.11 */
|
|
4
|
+
import{b as t}from"./P5BQBZUP.js";import"./HMHM5GND.js";var e="sije\u010Dnja_velja\u010De_o\u017Eujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca".split("_"),s="sije\u010Danj_velja\u010Da_o\u017Eujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac".split("_"),i=/D[oD]?(\[[^[\]]*\]|\s)+MMMM?/,_=function(a,r){return i.test(r)?e[a.month()]:s[a.month()]};_.s=s;_.f=e;var n={name:"hr",weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010Detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010Det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010De_pe_su".split("_"),months:_,monthsShort:"sij._velj._o\u017Eu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.".split("_"),weekStart:1,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},relativeTime:{future:"za %s",past:"prije %s",s:"sekunda",m:"minuta",mm:"%d minuta",h:"sat",hh:"%d sati",d:"dan",dd:"%d dana",M:"mjesec",MM:"%d mjeseci",y:"godina",yy:"%d godine"},ordinal:function(a){return a+"."}};t.locale(n,null,!0);var l=n;export{l 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.11 */
|
|
4
|
+
import{l as G}from"./LPLFJOZU.js";import{a as x}from"./IZZ7FRBR.js";import{c as W,e as j,f as A,h as K}from"./USAPUDT2.js";import{c as H,d as q}from"./N66SPPKF.js";import{a as _,b as U}from"./ZOXZ6A64.js";import{a as R}from"./EVD2JOE2.js";import"./IUKKSMKZ.js";import{a as N}from"./7G3PHMJJ.js";import{b as k}from"./JOBXA3HC.js";import"./7D3PCICR.js";import{d as V}from"./KYHMJQBN.js";import"./TOXOBK2C.js";import"./YZL2SJ5Z.js";import{B as E,H as M,e as D,f as I,j as v,v as b,w as P,x as z}from"./LVAKGILP.js";var te={offset:"offset"},oe=60;function $(t){return t.replace(":15",".25").replace(":30",".5").replace(":45",".75").replace("\u2212","-")}function se(t,e){let o=w(t,"en-US",e).replace("GMT","");return o===""?0:Number($(o))*oe}function ae(){return new Date().getTimezoneOffset()*-1}function ie(){return new Intl.DateTimeFormat().resolvedOptions().timeZone}async function ne(t){if(t==="offset")return o=>o;let{normalize:e}=await import("./75SJWBXF.js");return e}async function le(t,e,o,s,n){if(o==="name"){let{groupByName:a}=await import("./KAHL4ERS.js");return(await a()).map(({label:i})=>({label:i,value:i,metadata:{filterValue:i}})).filter(i=>!!i).sort()}let r=n==="user"?t:n==="utc"?"fr":"en-GB",d=s.getTime();if(o==="region"){let[{groupByRegion:a},{getCountry:c,global:i}]=await Promise.all([import("./N37MOIO6.js"),import("./GET5SAGV.js")]);return(await a()).map(({label:m,tzs:u})=>(u.sort((h,f)=>{let y=T(h,e),Z=T(f,e),p="Etc/GMT";if(h.startsWith(p)&&f.startsWith(p)){let g=h.substring(p.length),L=f.substring(p.length),ee=g===""?0:parseInt(g);return(L===""?0:parseInt(L))-ee}return y.localeCompare(Z)}),{label:O(e,m),items:u.map(h=>{let f=$(w(h,r,d)),y=T(h,e),Z=m===i?`${T(i,e)} Etc`:J(h),p=c(h),g=O(e,p);return{label:y,value:h,metadata:{country:g===y?void 0:g,filterValue:Z,offset:f}}})})).sort((m,u)=>m.label===i?-1:u.label===i?1:m.label.localeCompare(u.label))}let[{groupByOffset:C},{DateEngine:X}]=await Promise.all([import("./AGLGUDIH.js"),import("./PIIG5TIP.js")]),F=await C({dateEngine:new X,groupDateRange:1,startDate:new Date(d).toISOString()}),Y=new Intl.ListFormat(t,{style:"long",type:"conjunction"}),B=["Factory","Etc/UTC"];return F.forEach(a=>{let c=[],i=0;a.tzs.forEach((l,m)=>{B.includes(l)&&i++,c[m]=i}),a.tzs=a.tzs.filter(l=>!B.includes(l)),a.labelTzIdx=a.labelTzIdx.map(l=>l-c[l]).filter(l=>l>=0&&l<a.tzs.length)}),F.map(({labelTzIdx:a,tzs:c})=>{let i=c[0],l=$(w(i,r,d)),m=se(i,d),u=a.map(f=>T(c[f],e));return{label:me(e,l,Y.format(u)),value:m,metadata:{filterValue:c.map(f=>J(f))}}}).filter(a=>!!a).sort((a,c)=>a.value-c.value)}function T(t,e){return e[t]||ce(t)}function re(t,e,o){return o.timeZoneRegionLabel.replace("{city}",t).replace("{country}",O(o,e))}function O(t,e){return t[e]||e}function ce(t){return t.split("/").pop()}function J(t){return t.replace(/_/g," ")}function me(t,e,o){return t.timeZoneLabel.replace("{offset}",e).replace("{cities}",o)}function w(t,e,o=Date.now()){return t==="Factory"&&(t="Etc/GMT"),G(e,{timeZone:t,timeZoneName:"shortOffset"}).formatToParts(o).find(({type:r})=>r==="timeZoneName").value}function he(t){return t.items!==void 0}function fe(t){return he(t[0])?t.flatMap(e=>e.items):t}function Q(t,e,o){return o==null?null:fe(t).find(s=>s[e]==o)}var de=D`: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}.offset{white-space:nowrap}:host([hidden]){display:none}[hidden]{display:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}::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}`,S=class extends P{constructor(){super(...arguments),this.clearable=!1,this.disabled=!1,this.maxItems=0,this.messages=N({blocking:!0}),this.mode="offset",this.offsetStyle="user",this.open=!1,this.overlayPositioning="absolute",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.calciteInputTimeZoneBeforeClose=b({cancelable:!1}),this.calciteInputTimeZoneBeforeOpen=b({cancelable:!1}),this.calciteInputTimeZoneChange=b({cancelable:!1}),this.calciteInputTimeZoneClose=b({cancelable:!1}),this.calciteInputTimeZoneOpen=b({cancelable:!1})}static{this.properties={clearable:[7,{reflect:!0,type:Boolean}],disabled:[7,{reflect:!0,type:Boolean}],form:[3,{reflect:!0}],maxItems:[11,{reflect:!0,type:Number}],messageOverrides:[0,{attribute:!1}],mode:[3,{reflect:!0}],name:[3,{reflect:!0}],offsetStyle:[3,{reflect:!0}],open:[7,{reflect:!0,type:Boolean}],overlayPositioning:[3,{reflect:!0}],readOnly:[7,{reflect:!0,type:Boolean}],referenceDate:1,required:[7,{reflect:!0,type:Boolean}],scale:[3,{reflect:!0}],status:[3,{reflect:!0}],validationIcon:[3,{reflect:!0,converter:E}],validationMessage:1,validity:[0,{attribute:!1}],value:1}}static{this.shadowRootOptions={mode:"open",delegatesFocus:!0}}static{this.styles=de}get value(){return this._value}set value(e){this._value=e}async setFocus(){await V(this),await this.comboboxEl.setFocus()}connectedCallback(){super.connectedCallback(),W(this),H(this)}async load(){this.normalizer=await ne(this.mode),await this.updateTimeZoneItems();let e=this.value,o=this.normalizeValue(e);this.value=o||(e===""?o:void 0),this.updateTimeZoneSelection();let s=this.selectedTimeZoneItem?`${this.selectedTimeZoneItem.value}`:"";A(this,s),this.value=s}willUpdate(e){e.has("value")&&this.hasUpdated&&this.handleValueChange(this.value,e.get("value")),(e.has("messages")||e.has("mode")&&(this.hasUpdated||this.mode!=="offset")||e.has("referenceDate"))&&this.handleTimeZoneItemPropsChange(),e.has("open")&&(this.hasUpdated||this.open!==!1)&&this.openChanged()}updated(){_(this)}loaded(){this.overrideSelectedLabelForRegion(this.open),this.openChanged()}disconnectedCallback(){super.disconnectedCallback(),j(this),q(this)}async handleTimeZoneItemPropsChange(){!this.timeZoneItems||!this.hasUpdated||(await this.updateTimeZoneItems(),this.updateTimeZoneSelection())}openChanged(){this.comboboxEl&&(this.comboboxEl.open=this.open)}async handleValueChange(e,o){let s=this.normalizeValue(e);if(!s){if(this.clearable){this._value=s,this.selectedTimeZoneItem=null;return}this._value=o,this.selectedTimeZoneItem=this.findTimeZoneItem(o);return}let n=this.findTimeZoneItem(s);if(!n){this._value=o;return}this._value=s,this.selectedTimeZoneItem=n,s!==e&&(await this.updateComplete,this.overrideSelectedLabelForRegion(this.open))}onLabelClick(){this.setFocus()}setComboboxRef(e){this.comboboxEl=e}overrideSelectedLabelForRegion(e){if(this.mode!=="region"||!this.selectedTimeZoneItem)return;let{label:o,metadata:s}=this.selectedTimeZoneItem;this.comboboxEl.selectedItems[0].textLabel=!s.country||e?o:re(o,s.country,this.messages)}onComboboxBeforeClose(e){e.stopPropagation(),this.overrideSelectedLabelForRegion(!1),this.calciteInputTimeZoneBeforeClose.emit()}onComboboxBeforeOpen(e){e.stopPropagation(),this.overrideSelectedLabelForRegion(!0),this.calciteInputTimeZoneBeforeOpen.emit()}onComboboxChange(e){e.stopPropagation();let s=e.target.selectedItems[0];if(!s){this._value="",this.selectedTimeZoneItem=null,this.calciteInputTimeZoneChange.emit();return}let n=this.findTimeZoneItemByLabel(s.getAttribute("data-label")),r=`${n.value}`;this.value===r&&n.label===this.selectedTimeZoneItem.label||(this._value=r,this.selectedTimeZoneItem=n,this.calciteInputTimeZoneChange.emit())}onComboboxClose(e){e.stopPropagation(),this.open=!1,this.calciteInputTimeZoneClose.emit()}onComboboxOpen(e){this.open=!0,e.stopPropagation(),this.calciteInputTimeZoneOpen.emit()}findTimeZoneItem(e){return Q(this.timeZoneItems,"value",e)}findTimeZoneItemByLabel(e){return Q(this.timeZoneItems,"label",e)}async updateTimeZoneItems(){this.timeZoneItems=await this.createTimeZoneItems()}updateTimeZoneSelection(){if(this.value===""&&this.clearable){this.selectedTimeZoneItem=null;return}let e=this.mode==="offset"?ae():ie(),o=this.value===""||!this.value?e:this.value;this.selectedTimeZoneItem=this.findTimeZoneItem(o)||this.findTimeZoneItem(e)}async createTimeZoneItems(){return!this.messages._lang||!this.messages?[]:le(this.messages._lang,this.messages,this.mode,this.referenceDate instanceof Date?this.referenceDate:new Date(this.referenceDate??Date.now()),this.offsetStyle)}normalizeValue(e){return e=e===void 0?"":e,e&&this.normalizer(e)}render(){return U({disabled:this.disabled,children:I`<calcite-combobox .clearDisabled=${!this.clearable} .disabled=${this.disabled} .label=${this.messages.chooseTimeZone} lang=${this.messages._lang??v} .maxItems=${this.maxItems} @calciteComboboxBeforeClose=${this.onComboboxBeforeClose} @calciteComboboxBeforeOpen=${this.onComboboxBeforeOpen} @calciteComboboxChange=${this.onComboboxChange} @calciteComboboxClose=${this.onComboboxClose} @calciteComboboxOpen=${this.onComboboxOpen} .overlayPositioning=${this.overlayPositioning} .placeholder=${this.mode==="name"?this.messages.namePlaceholder:this.mode==="offset"?this.messages.offsetPlaceholder:this.messages.regionPlaceholder} placeholder-icon=search .readOnly=${this.readOnly} .scale=${this.scale} .selectionMode=${this.clearable?"single":"single-persist"} .status=${this.status} .validationIcon=${this.validationIcon} .validationMessage=${this.validationMessage} ${k(this.setComboboxRef)}>${this.renderItems()}</calcite-combobox>${K({component:this})}`})}renderItems(){return this.mode==="region"?this.renderRegionItems():x(this.timeZoneItems,({label:e})=>e,e=>{let o=this.selectedTimeZoneItem===e,{label:s,metadata:n,value:r}=e;return I`<calcite-combobox-item data-label=${s??v} .metadata=${n} .selected=${o} .textLabel=${s} .value=${r}></calcite-combobox-item>`})}renderRegionItems(){return this.timeZoneItems.flatMap(({label:e,items:o})=>R(e,I`<calcite-combobox-item-group .label=${e}>${x(o,({label:s})=>s,s=>{let n=this.selectedTimeZoneItem===s,{label:r,metadata:d,value:C}=s;return I`<calcite-combobox-item data-label=${r??v} .description=${d.country} .metadata=${d} .selected=${n} .textLabel=${r} .value=${C}><span class=${z(te.offset)} slot=content-end>${d.offset}</span></calcite-combobox-item>`})}</calcite-combobox-item-group>`))}};M("calcite-input-time-zone",S);export{S as InputTimeZone};
|