@esri/calcite-components 3.2.0-next.39 → 3.2.0-next.40
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/{VGUJWIE3.js → 2AURSSBW.js} +2 -2
- package/dist/calcite/{3RVJJX2U.js.LEGAL.txt → 2AURSSBW.js.LEGAL.txt} +1 -1
- package/dist/calcite/{QJMY6HK4.js → 2BKMHEEV.js} +2 -2
- package/dist/calcite/{24OTRUCC.js.LEGAL.txt → 2BKMHEEV.js.LEGAL.txt} +1 -1
- package/dist/calcite/{ZMFN7VKF.js → 2O44LJYG.js} +2 -2
- package/dist/calcite/{372T7EBW.js.LEGAL.txt → 2O44LJYG.js.LEGAL.txt} +1 -1
- package/dist/calcite/{372T7EBW.js → 2OKWW5QW.js} +2 -2
- package/dist/calcite/{2DKPKQXG.js.LEGAL.txt → 2OKWW5QW.js.LEGAL.txt} +1 -1
- package/dist/calcite/{RN6G4AJW.js → 33VZVMEQ.js} +2 -2
- package/dist/calcite/33VZVMEQ.js.LEGAL.txt +3 -0
- package/dist/calcite/{G77XQIMX.js → 34H6VHCP.js} +2 -2
- package/dist/calcite/34H6VHCP.js.LEGAL.txt +3 -0
- package/dist/calcite/{RLN7DR35.js → 3BX3JALR.js} +2 -2
- package/dist/calcite/3BX3JALR.js.LEGAL.txt +3 -0
- package/dist/calcite/{3RVJJX2U.js → 3KAKFW27.js} +2 -2
- package/dist/calcite/3KAKFW27.js.LEGAL.txt +3 -0
- package/dist/calcite/{P2XP2NHT.js → 3NKYZGOY.js} +2 -2
- package/dist/calcite/3NKYZGOY.js.LEGAL.txt +3 -0
- package/dist/calcite/{TYKK4ZDP.js → 3OLDLPGW.js} +2 -2
- package/dist/calcite/3OLDLPGW.js.LEGAL.txt +3 -0
- package/dist/calcite/{IRUMOVZZ.js → 3ZC35IU6.js} +2 -2
- package/dist/calcite/3ZC35IU6.js.LEGAL.txt +3 -0
- package/dist/calcite/{GS3X5VRZ.js → 3ZHVUAGO.js} +2 -2
- package/dist/calcite/3ZHVUAGO.js.LEGAL.txt +3 -0
- package/dist/calcite/{NYCLULH3.js → 3ZI3PBLD.js} +2 -2
- package/dist/calcite/3ZI3PBLD.js.LEGAL.txt +3 -0
- package/dist/calcite/{MR5UPVPG.js → 47SZGRLH.js} +2 -2
- package/dist/calcite/47SZGRLH.js.LEGAL.txt +3 -0
- package/dist/calcite/{LLN5DNPL.js → 4JEZM6VX.js} +2 -2
- package/dist/calcite/{LLN5DNPL.js.LEGAL.txt → 4JEZM6VX.js.LEGAL.txt} +1 -1
- package/dist/calcite/{3VLVDWSS.js → 4KFIUD2B.js} +2 -2
- package/dist/calcite/4KFIUD2B.js.LEGAL.txt +3 -0
- package/dist/calcite/4MQEUWEH.js +4 -0
- package/dist/calcite/4MQEUWEH.js.LEGAL.txt +3 -0
- package/dist/calcite/{P6C3W6FL.js → 4PDCFLEI.js} +2 -2
- package/dist/calcite/4PDCFLEI.js.LEGAL.txt +3 -0
- package/dist/calcite/{NCWK6WJU.js → 4S5MMRKY.js} +2 -2
- package/dist/calcite/4S5MMRKY.js.LEGAL.txt +3 -0
- package/dist/calcite/{62GP7Q7R.js → 4YKPRILU.js} +2 -2
- package/dist/calcite/4YKPRILU.js.LEGAL.txt +3 -0
- package/dist/calcite/{I4FISWDK.js → 5K3GZOWW.js} +2 -2
- package/dist/calcite/5K3GZOWW.js.LEGAL.txt +3 -0
- package/dist/calcite/{W7YWLFKG.js → 5NQUZRDM.js} +2 -2
- package/dist/calcite/{5T2FJWUW.js → 5SSKMKFV.js} +2 -2
- package/dist/calcite/5SSKMKFV.js.LEGAL.txt +3 -0
- package/dist/calcite/{F4S6EXX6.js → 5ZKH6XNV.js} +2 -2
- package/dist/calcite/5ZKH6XNV.js.LEGAL.txt +3 -0
- package/dist/calcite/{R7U5O4YW.js → 64F6FSTF.js} +2 -2
- package/dist/calcite/64F6FSTF.js.LEGAL.txt +3 -0
- package/dist/calcite/{PYM6655A.js → 67QAOXDX.js} +1 -1
- package/dist/calcite/67QAOXDX.js.LEGAL.txt +3 -0
- package/dist/calcite/{CVQXSZEH.js → 6AW4GRQ4.js} +2 -2
- package/dist/calcite/6AW4GRQ4.js.LEGAL.txt +3 -0
- package/dist/calcite/{R3CUJDU2.js → 6DCGXB5R.js} +1 -1
- package/dist/calcite/6DCGXB5R.js.LEGAL.txt +3 -0
- package/dist/calcite/{A4XLCDLZ.js → 6GM27GBO.js} +2 -2
- package/dist/calcite/{SQNNHAAG.js → 6HPPO7XW.js} +2 -2
- package/dist/calcite/6HPPO7XW.js.LEGAL.txt +3 -0
- package/dist/calcite/{HBU463EW.js → 6JABLZT7.js} +2 -2
- package/dist/calcite/6JABLZT7.js.LEGAL.txt +3 -0
- package/dist/calcite/{U2YGN4RT.js → 6P5PSH65.js} +2 -2
- package/dist/calcite/{AXBOTO3S.js → 6RISBQOV.js} +2 -2
- package/dist/calcite/6RISBQOV.js.LEGAL.txt +3 -0
- package/dist/calcite/{XQSZJ5CG.js → 6Z2B5YPT.js} +1 -1
- package/dist/calcite/6Z2B5YPT.js.LEGAL.txt +3 -0
- package/dist/calcite/{24OTRUCC.js → 7EKOSZOZ.js} +2 -2
- package/dist/calcite/7EKOSZOZ.js.LEGAL.txt +3 -0
- package/dist/calcite/{Y5A3EQS4.js → A7N7QSFD.js} +2 -2
- package/dist/calcite/A7N7QSFD.js.LEGAL.txt +3 -0
- package/dist/calcite/{PENLWMB3.js → AB6ORITE.js} +2 -2
- package/dist/calcite/AB6ORITE.js.LEGAL.txt +3 -0
- package/dist/calcite/{NDM46TRI.js → AECWOUVE.js} +2 -2
- package/dist/calcite/AECWOUVE.js.LEGAL.txt +3 -0
- package/dist/calcite/{TGV7EMNU.js → AFEKH67J.js} +2 -2
- package/dist/calcite/AFEKH67J.js.LEGAL.txt +3 -0
- package/dist/calcite/{H3WIGFJO.js → ALA3CMPJ.js} +2 -2
- package/dist/calcite/ALA3CMPJ.js.LEGAL.txt +3 -0
- package/dist/calcite/{MUFGKP4E.js → AZTNUW5Z.js} +2 -2
- package/dist/calcite/AZTNUW5Z.js.LEGAL.txt +3 -0
- package/dist/calcite/C5B5QVOZ.js +4 -0
- package/dist/calcite/C5B5QVOZ.js.LEGAL.txt +3 -0
- package/dist/calcite/{6M254VM3.js → CFP3CIBH.js} +2 -2
- package/dist/calcite/CFP3CIBH.js.LEGAL.txt +3 -0
- package/dist/calcite/{LWUNC2OP.js → CY4HMEXM.js} +2 -2
- package/dist/calcite/CY4HMEXM.js.LEGAL.txt +3 -0
- package/dist/calcite/{BXNTEQDG.js → D33THSDQ.js} +2 -2
- package/dist/calcite/D33THSDQ.js.LEGAL.txt +3 -0
- package/dist/calcite/{4M5YF4UK.js → D5ORTJBP.js} +2 -2
- package/dist/calcite/D5ORTJBP.js.LEGAL.txt +3 -0
- package/dist/calcite/{BXRLVWOE.js → D5WOJOBP.js} +2 -2
- package/dist/calcite/D5WOJOBP.js.LEGAL.txt +3 -0
- package/dist/calcite/{4PC2H3SA.js → DCCICHLE.js} +2 -2
- package/dist/calcite/DCCICHLE.js.LEGAL.txt +3 -0
- package/dist/calcite/{DACMF6M4.js → DJIDW3PH.js} +2 -2
- package/dist/calcite/DJIDW3PH.js.LEGAL.txt +3 -0
- package/dist/calcite/{2VN3YIDH.js → DNYNDPB5.js} +2 -2
- package/dist/calcite/{V6MACRDH.js → DXEUZNXM.js} +2 -2
- package/dist/calcite/DXEUZNXM.js.LEGAL.txt +3 -0
- package/dist/calcite/{MG5IOFW7.js → DYBMPADA.js} +2 -2
- package/dist/calcite/DYBMPADA.js.LEGAL.txt +3 -0
- package/dist/calcite/{5UJXO6ER.js → EQDBU7RM.js} +2 -2
- package/dist/calcite/EQDBU7RM.js.LEGAL.txt +3 -0
- package/dist/calcite/{MZMZSY5A.js → EYWRTO2E.js} +2 -2
- package/dist/calcite/{MZMZSY5A.js.LEGAL.txt → EYWRTO2E.js.LEGAL.txt} +1 -1
- package/dist/calcite/{JFS56TST.js → FCJNAEP5.js} +2 -2
- package/dist/calcite/FCJNAEP5.js.LEGAL.txt +3 -0
- package/dist/calcite/{Y2E6XYEE.js → FEMPCZLV.js} +1 -1
- package/dist/calcite/FEMPCZLV.js.LEGAL.txt +3 -0
- package/dist/calcite/{N63BZNBM.js → FFH3PE7I.js} +2 -2
- package/dist/calcite/FFH3PE7I.js.LEGAL.txt +3 -0
- package/dist/calcite/{4SZ573RT.js → FNJ5UP55.js} +2 -2
- package/dist/calcite/FNJ5UP55.js.LEGAL.txt +3 -0
- package/dist/calcite/{7T7MTXSU.js → FR4VAYJC.js} +2 -2
- package/dist/calcite/FR4VAYJC.js.LEGAL.txt +3 -0
- package/dist/calcite/{QRBR6VUO.js → G2KZHOPC.js} +2 -2
- package/dist/calcite/G2KZHOPC.js.LEGAL.txt +3 -0
- package/dist/calcite/{6VI66GV4.js → GC3D3FA4.js} +2 -2
- package/dist/calcite/GC3D3FA4.js.LEGAL.txt +3 -0
- package/dist/calcite/{LZ3V33XC.js → HNVOQW5F.js} +1 -1
- package/dist/calcite/HNVOQW5F.js.LEGAL.txt +3 -0
- package/dist/calcite/{RFI4KO6W.js → HPNQQK6A.js} +1 -1
- package/dist/calcite/{5Z4FPF7F.js → HVDZCSXZ.js} +2 -2
- package/dist/calcite/HVDZCSXZ.js.LEGAL.txt +3 -0
- package/dist/calcite/{NODTVZ24.js → IFSUY6OL.js} +2 -2
- package/dist/calcite/IFSUY6OL.js.LEGAL.txt +3 -0
- package/dist/calcite/{SEHADNF3.js → IS2XQRWJ.js} +2 -2
- package/dist/calcite/IS2XQRWJ.js.LEGAL.txt +3 -0
- package/dist/calcite/{HOEPFXY4.js → IYSVUD2W.js} +2 -2
- package/dist/calcite/IYSVUD2W.js.LEGAL.txt +3 -0
- package/dist/calcite/{TH2HXM2T.js → J6ZU5TTP.js} +1 -1
- package/dist/calcite/J6ZU5TTP.js.LEGAL.txt +3 -0
- package/dist/calcite/{XLQJWLJR.js → JGJKOHCP.js} +1 -1
- package/dist/calcite/JGJKOHCP.js.LEGAL.txt +3 -0
- package/dist/calcite/{JATMHESF.js → JQMONEIC.js} +1 -1
- package/dist/calcite/JQMONEIC.js.LEGAL.txt +3 -0
- package/dist/calcite/{QFOJGUH4.js → JSKDQQHO.js} +2 -2
- package/dist/calcite/JSKDQQHO.js.LEGAL.txt +3 -0
- package/dist/calcite/{R5NIHVIX.js → JTSQHJX5.js} +2 -2
- package/dist/calcite/JTSQHJX5.js.LEGAL.txt +3 -0
- package/dist/calcite/{C2KRQ7VY.js → K3HQETKI.js} +2 -2
- package/dist/calcite/K3HQETKI.js.LEGAL.txt +3 -0
- package/dist/calcite/{CLRL273B.js → K3RGRXZK.js} +2 -2
- package/dist/calcite/{AFFK5WSZ.js → K6GY2Q5E.js} +2 -2
- package/dist/calcite/K6GY2Q5E.js.LEGAL.txt +3 -0
- package/dist/calcite/{IWDYFFAM.js → KDX22TPR.js} +2 -2
- package/dist/calcite/{LAKJK7HL.js → KJQNKFEY.js} +2 -2
- package/dist/calcite/KJQNKFEY.js.LEGAL.txt +3 -0
- package/dist/calcite/{T3TLDID7.js → KKVVDKZZ.js} +2 -2
- package/dist/calcite/KKVVDKZZ.js.LEGAL.txt +3 -0
- package/dist/calcite/{4JL2EBN2.js → KMI5ODOO.js} +2 -2
- package/dist/calcite/KMI5ODOO.js.LEGAL.txt +3 -0
- package/dist/calcite/{DTAEBKT4.js → KOH7CJJ2.js} +2 -2
- package/dist/calcite/KOH7CJJ2.js.LEGAL.txt +3 -0
- package/dist/calcite/{HZH7HHAH.js → KTZK563F.js} +2 -2
- package/dist/calcite/{HZH7HHAH.js.LEGAL.txt → KTZK563F.js.LEGAL.txt} +1 -1
- package/dist/calcite/{DIWK757P.js → KV75A5OZ.js} +2 -2
- package/dist/calcite/KV75A5OZ.js.LEGAL.txt +3 -0
- package/dist/calcite/{ZS2B2AF5.js → LJFEVAGO.js} +2 -2
- package/dist/calcite/LJFEVAGO.js.LEGAL.txt +3 -0
- package/dist/calcite/{J5XEWZHE.js → LUAE2BNR.js} +2 -2
- package/dist/calcite/LUAE2BNR.js.LEGAL.txt +3 -0
- package/dist/calcite/{Z646UZFI.js → LWBS4ZDT.js} +1 -1
- package/dist/calcite/LWBS4ZDT.js.LEGAL.txt +3 -0
- package/dist/calcite/{HJQMJ3O5.js → M34FQPFC.js} +2 -2
- package/dist/calcite/M34FQPFC.js.LEGAL.txt +3 -0
- package/dist/calcite/{DIYHPDDJ.js → MEJBDF2X.js} +2 -2
- package/dist/calcite/MEJBDF2X.js.LEGAL.txt +3 -0
- package/dist/calcite/{46GRM4CE.js → MG6JYBW5.js} +2 -2
- package/dist/calcite/MG6JYBW5.js.LEGAL.txt +3 -0
- package/dist/calcite/{JDWLRXMB.js → MJ3BP4EF.js} +2 -2
- package/dist/calcite/MJ3BP4EF.js.LEGAL.txt +3 -0
- package/dist/calcite/{P2CTJE5E.js → MTSBROZ4.js} +2 -2
- package/dist/calcite/MTSBROZ4.js.LEGAL.txt +3 -0
- package/dist/calcite/{7QECW2E2.js → N73L76SJ.js} +2 -2
- package/dist/calcite/N73L76SJ.js.LEGAL.txt +3 -0
- package/dist/calcite/{D2KGWKKE.js → NA2X3DPJ.js} +2 -2
- package/dist/calcite/NA2X3DPJ.js.LEGAL.txt +3 -0
- package/dist/calcite/{CK2727PE.js → NAEQOQHY.js} +2 -2
- package/dist/calcite/NAEQOQHY.js.LEGAL.txt +3 -0
- package/dist/calcite/{UGDRDJPA.js → NNTVWBBP.js} +2 -2
- package/dist/calcite/{FQPVAT5F.js → NP2WVDB5.js} +2 -2
- package/dist/calcite/NP2WVDB5.js.LEGAL.txt +3 -0
- package/dist/calcite/{2DKPKQXG.js → NR2X3T5D.js} +2 -2
- package/dist/calcite/NR2X3T5D.js.LEGAL.txt +3 -0
- package/dist/calcite/{LIPUTT6N.js → NYF6T3OI.js} +2 -2
- package/dist/calcite/NYF6T3OI.js.LEGAL.txt +3 -0
- package/dist/calcite/{KFEMDYAO.js → O26R4TSO.js} +2 -2
- package/dist/calcite/{GL7DMV4S.js → O55ZI7N2.js} +2 -2
- package/dist/calcite/O55ZI7N2.js.LEGAL.txt +3 -0
- package/dist/calcite/{NH2FREQY.js → OKGB77L2.js} +2 -2
- package/dist/calcite/OKGB77L2.js.LEGAL.txt +3 -0
- package/dist/calcite/{Z6VHOIAN.js → ORK223LB.js} +2 -2
- package/dist/calcite/ORK223LB.js.LEGAL.txt +3 -0
- package/dist/calcite/{QJN3Y7KP.js → PB3OJ43M.js} +2 -2
- package/dist/calcite/PB3OJ43M.js.LEGAL.txt +3 -0
- package/dist/calcite/{EHEE5FVV.js → PHWXS446.js} +2 -2
- package/dist/calcite/PHWXS446.js.LEGAL.txt +3 -0
- package/dist/calcite/{MXQCR7YF.js → PIHPNMID.js} +2 -2
- package/dist/calcite/PIHPNMID.js.LEGAL.txt +3 -0
- package/dist/calcite/{KPX237YH.js → PIMY4FDR.js} +2 -2
- package/dist/calcite/PIMY4FDR.js.LEGAL.txt +3 -0
- package/dist/calcite/{GZUOSY5I.js → PNGIMH3C.js} +2 -2
- package/dist/calcite/{QVKJQIOF.js → PNO3AQXX.js} +1 -1
- package/dist/calcite/PNO3AQXX.js.LEGAL.txt +3 -0
- package/dist/calcite/{LI2EINF7.js → PP4TWNBJ.js} +2 -2
- package/dist/calcite/PP4TWNBJ.js.LEGAL.txt +3 -0
- package/dist/calcite/{7QNG2EF7.js → PQCLGIYQ.js} +2 -2
- package/dist/calcite/PQCLGIYQ.js.LEGAL.txt +3 -0
- package/dist/calcite/{Z7EIB7KP.js → PWPO7D4Y.js} +2 -2
- package/dist/calcite/PWPO7D4Y.js.LEGAL.txt +3 -0
- package/dist/calcite/{OPWA55SD.js → PXCK2RZB.js} +2 -2
- package/dist/calcite/PXCK2RZB.js.LEGAL.txt +3 -0
- package/dist/calcite/{HAEAO4QM.js → Q2FGVAYP.js} +2 -2
- package/dist/calcite/Q2FGVAYP.js.LEGAL.txt +3 -0
- package/dist/calcite/{PLJALAVQ.js → Q732AZTP.js} +2 -2
- package/dist/calcite/Q732AZTP.js.LEGAL.txt +3 -0
- package/dist/calcite/{WL7KPPYH.js → QB7JK7LO.js} +2 -2
- package/dist/calcite/QB7JK7LO.js.LEGAL.txt +3 -0
- package/dist/calcite/{FYK4XJBH.js → QCW5FCIU.js} +1 -1
- package/dist/calcite/QCW5FCIU.js.LEGAL.txt +3 -0
- package/dist/calcite/{GTIGGEIV.js → QH2DDIL6.js} +2 -2
- package/dist/calcite/QH2DDIL6.js.LEGAL.txt +3 -0
- package/dist/calcite/{GFFE55DG.js → QHBI2BZU.js} +2 -2
- package/dist/calcite/QHBI2BZU.js.LEGAL.txt +3 -0
- package/dist/calcite/QS2IO2B6.js +4 -0
- package/dist/calcite/QS2IO2B6.js.LEGAL.txt +3 -0
- package/dist/calcite/{MFXMCYAU.js → QWS3K5HU.js} +2 -2
- package/dist/calcite/{NLQEJQ5J.js → QWUSZRIE.js} +2 -2
- package/dist/calcite/QWUSZRIE.js.LEGAL.txt +3 -0
- package/dist/calcite/{5CFQYPD6.js → R6YNQ2V6.js} +2 -2
- package/dist/calcite/R6YNQ2V6.js.LEGAL.txt +3 -0
- package/dist/calcite/{76ZLZZXT.js → RCZOIN3S.js} +2 -2
- package/dist/calcite/RCZOIN3S.js.LEGAL.txt +3 -0
- package/dist/calcite/{WIUS56JI.js → RGO4YDKF.js} +1 -1
- package/dist/calcite/{SKKGAAMO.js → RWJNVFXT.js} +2 -2
- package/dist/calcite/RWJNVFXT.js.LEGAL.txt +3 -0
- package/dist/calcite/{BIXOQRWX.js → RZQCIIVR.js} +1 -1
- package/dist/calcite/RZQCIIVR.js.LEGAL.txt +3 -0
- package/dist/calcite/{4CRXZ63L.js → SBQ2IBIF.js} +2 -2
- package/dist/calcite/SBQ2IBIF.js.LEGAL.txt +3 -0
- package/dist/calcite/{IQQJKKQR.js → SFHB45KR.js} +2 -2
- package/dist/calcite/SFHB45KR.js.LEGAL.txt +3 -0
- package/dist/calcite/{JDNJDXBT.js → SH3BT3E4.js} +2 -2
- package/dist/calcite/SH3BT3E4.js.LEGAL.txt +3 -0
- package/dist/calcite/{5JJMIROF.js → SLJ7H27X.js} +2 -2
- package/dist/calcite/SLJ7H27X.js.LEGAL.txt +3 -0
- package/dist/calcite/{MN5ZMGDP.js → SR7MDDWB.js} +2 -2
- package/dist/calcite/SR7MDDWB.js.LEGAL.txt +3 -0
- package/dist/calcite/{3VMC2CMT.js → SWKCCOCK.js} +1 -1
- package/dist/calcite/{3VMC2CMT.js.LEGAL.txt → SWKCCOCK.js.LEGAL.txt} +1 -1
- package/dist/calcite/{T4ISGVVX.js → T2IMUI4L.js} +2 -2
- package/dist/calcite/T2IMUI4L.js.LEGAL.txt +3 -0
- package/dist/calcite/{M3UZ4E5H.js → T6ZWPJ3H.js} +2 -2
- package/dist/calcite/T6ZWPJ3H.js.LEGAL.txt +3 -0
- package/dist/calcite/{Z2N3ZD66.js → TGPFQVI3.js} +1 -1
- package/dist/calcite/TGPFQVI3.js.LEGAL.txt +3 -0
- package/dist/calcite/{MBN54URU.js → TIGA7CAS.js} +2 -2
- package/dist/calcite/TIGA7CAS.js.LEGAL.txt +3 -0
- package/dist/calcite/{MZDX2RGO.js → TK7HEAKQ.js} +2 -2
- package/dist/calcite/TK7HEAKQ.js.LEGAL.txt +3 -0
- package/dist/calcite/{YPHDMEZE.js → TRCUXJQP.js} +2 -2
- package/dist/calcite/TRCUXJQP.js.LEGAL.txt +3 -0
- package/dist/calcite/{JBY373VQ.js → TXROGSB2.js} +2 -2
- package/dist/calcite/TXROGSB2.js.LEGAL.txt +3 -0
- package/dist/calcite/{KO2HPSDS.js → U4AGMMNR.js} +2 -2
- package/dist/calcite/U4AGMMNR.js.LEGAL.txt +3 -0
- package/dist/calcite/{XCW4TOV5.js → U52EKICH.js} +2 -2
- package/dist/calcite/{I7DZAQ33.js → UBPEEJ47.js} +2 -2
- package/dist/calcite/UBPEEJ47.js.LEGAL.txt +3 -0
- package/dist/calcite/{LEGWZZ3C.js → UCUYESPO.js} +2 -2
- package/dist/calcite/UCUYESPO.js.LEGAL.txt +3 -0
- package/dist/calcite/{THZPNFDC.js → UJ3DVBBB.js} +2 -2
- package/dist/calcite/UJ3DVBBB.js.LEGAL.txt +3 -0
- package/dist/calcite/{7JTQUIIG.js → UTHT52HY.js} +1 -1
- package/dist/calcite/UTHT52HY.js.LEGAL.txt +3 -0
- package/dist/calcite/{GSA4PGT2.js → VAAG5IJE.js} +2 -2
- package/dist/calcite/VAAG5IJE.js.LEGAL.txt +3 -0
- package/dist/calcite/{55R7FS3U.js → VCIESHSA.js} +2 -2
- package/dist/calcite/VCIESHSA.js.LEGAL.txt +3 -0
- package/dist/calcite/{GTUVAAAD.js → VIJYQUPS.js} +1 -1
- package/dist/calcite/VIJYQUPS.js.LEGAL.txt +3 -0
- package/dist/calcite/{JAL66H3J.js → VKH366XK.js} +2 -2
- package/dist/calcite/VKH366XK.js.LEGAL.txt +3 -0
- package/dist/calcite/{POGNNNSN.js → VOMFC6A5.js} +2 -2
- package/dist/calcite/VOMFC6A5.js.LEGAL.txt +3 -0
- package/dist/calcite/{YBIDORYE.js → VWXTUWMC.js} +2 -2
- package/dist/calcite/VWXTUWMC.js.LEGAL.txt +3 -0
- package/dist/calcite/{DX4BEDZ3.js → VYNVOZVL.js} +1 -1
- package/dist/calcite/VYNVOZVL.js.LEGAL.txt +3 -0
- package/dist/calcite/{VUEY5X5A.js → W6MHPGER.js} +2 -2
- package/dist/calcite/W6MHPGER.js.LEGAL.txt +3 -0
- package/dist/calcite/{5Q54AMGC.js → WIA2UZRQ.js} +2 -2
- package/dist/calcite/WIA2UZRQ.js.LEGAL.txt +3 -0
- package/dist/calcite/{OQGS3D3N.js → WLID72PZ.js} +2 -2
- package/dist/calcite/WLID72PZ.js.LEGAL.txt +3 -0
- package/dist/calcite/{7PKWMEQD.js → WQ2CWXYT.js} +2 -2
- package/dist/calcite/WQ2CWXYT.js.LEGAL.txt +3 -0
- package/dist/calcite/{M4H4WLVH.js → WVA5MSI4.js} +2 -2
- package/dist/calcite/WVA5MSI4.js.LEGAL.txt +3 -0
- package/dist/calcite/{VHLIF5DY.js → WXNB4546.js} +2 -2
- package/dist/calcite/WXNB4546.js.LEGAL.txt +3 -0
- package/dist/calcite/{MSCFVCHB.js → X3Y745O5.js} +2 -2
- package/dist/calcite/X3Y745O5.js.LEGAL.txt +3 -0
- package/dist/calcite/{PW6UBKVH.js → X5NLUQDA.js} +2 -2
- package/dist/calcite/X5NLUQDA.js.LEGAL.txt +3 -0
- package/dist/calcite/{XVSPBUCP.js → XJUNWEHJ.js} +1 -1
- package/dist/calcite/XJUNWEHJ.js.LEGAL.txt +3 -0
- package/dist/calcite/{RI5ZWQGD.js → XUZICRV7.js} +2 -2
- package/dist/calcite/XUZICRV7.js.LEGAL.txt +3 -0
- package/dist/calcite/{7CQ233AJ.js → XZK2I4C2.js} +2 -2
- package/dist/calcite/XZK2I4C2.js.LEGAL.txt +3 -0
- package/dist/calcite/{7FB33YBD.js → Y6MVE6DC.js} +2 -2
- package/dist/calcite/Y6MVE6DC.js.LEGAL.txt +3 -0
- package/dist/calcite/{6NUAVTSM.js → YCAEPRM6.js} +2 -2
- package/dist/calcite/YCAEPRM6.js.LEGAL.txt +3 -0
- package/dist/calcite/{GRLBXAFF.js → YD2UXF4G.js} +1 -1
- package/dist/calcite/{GFONJVVJ.js → YQDHA3IR.js} +2 -2
- package/dist/calcite/YQDHA3IR.js.LEGAL.txt +3 -0
- package/dist/calcite/{OSZVSWGU.js → Z3OQGPN5.js} +2 -2
- package/dist/calcite/Z3OQGPN5.js.LEGAL.txt +3 -0
- package/dist/calcite/{TSHHVAZ7.js → Z53Z6H75.js} +2 -2
- package/dist/calcite/Z53Z6H75.js.LEGAL.txt +3 -0
- package/dist/calcite/{HNERZLDY.js → ZTSRFYI5.js} +2 -2
- package/dist/calcite/ZTSRFYI5.js.LEGAL.txt +3 -0
- package/dist/calcite/{VYRPNOIH.js → ZXGONEDG.js} +1 -1
- package/dist/calcite/ZXGONEDG.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/usePreventDocumentScroll.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 +6 -8
- package/dist/components/calcite-dropdown/customElement.js +3 -10
- 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 +1 -1
- package/dist/components/calcite-input-text/customElement.js +1 -1
- package/dist/components/calcite-input-time-picker/customElement.js +1 -1
- package/dist/components/calcite-input-time-zone/customElement.js +1 -1
- package/dist/components/calcite-label/customElement.js +1 -1
- package/dist/components/calcite-link/customElement.js +1 -1
- package/dist/components/calcite-list/customElement.js +1 -1
- package/dist/components/calcite-list-item/customElement.js +1 -1
- package/dist/components/calcite-list-item-group/customElement.js +1 -1
- package/dist/components/calcite-loader/customElement.js +1 -1
- package/dist/components/calcite-menu/customElement.js +1 -1
- package/dist/components/calcite-menu-item/customElement.js +1 -1
- package/dist/components/calcite-meter/customElement.js +1 -1
- package/dist/components/calcite-modal/customElement.js +5 -7
- 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 +5 -7
- 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 +2 -2
- package/dist/calcite/3VLVDWSS.js.LEGAL.txt +0 -3
- package/dist/calcite/46GRM4CE.js.LEGAL.txt +0 -3
- package/dist/calcite/4CRXZ63L.js.LEGAL.txt +0 -3
- package/dist/calcite/4JL2EBN2.js.LEGAL.txt +0 -3
- package/dist/calcite/4M5YF4UK.js.LEGAL.txt +0 -3
- package/dist/calcite/4PC2H3SA.js.LEGAL.txt +0 -3
- package/dist/calcite/4SZ573RT.js.LEGAL.txt +0 -3
- package/dist/calcite/55R7FS3U.js.LEGAL.txt +0 -3
- package/dist/calcite/5CFQYPD6.js.LEGAL.txt +0 -3
- package/dist/calcite/5JJMIROF.js.LEGAL.txt +0 -3
- package/dist/calcite/5Q54AMGC.js.LEGAL.txt +0 -3
- package/dist/calcite/5T2FJWUW.js.LEGAL.txt +0 -3
- package/dist/calcite/5UJXO6ER.js.LEGAL.txt +0 -3
- package/dist/calcite/5Z4FPF7F.js.LEGAL.txt +0 -3
- package/dist/calcite/62GP7Q7R.js.LEGAL.txt +0 -3
- package/dist/calcite/6M254VM3.js.LEGAL.txt +0 -3
- package/dist/calcite/6NUAVTSM.js.LEGAL.txt +0 -3
- package/dist/calcite/6VI66GV4.js.LEGAL.txt +0 -3
- package/dist/calcite/76ZLZZXT.js.LEGAL.txt +0 -3
- package/dist/calcite/7CQ233AJ.js.LEGAL.txt +0 -3
- package/dist/calcite/7FB33YBD.js.LEGAL.txt +0 -3
- package/dist/calcite/7JTQUIIG.js.LEGAL.txt +0 -3
- package/dist/calcite/7PKWMEQD.js.LEGAL.txt +0 -3
- package/dist/calcite/7QECW2E2.js.LEGAL.txt +0 -3
- package/dist/calcite/7QNG2EF7.js.LEGAL.txt +0 -3
- package/dist/calcite/7T7MTXSU.js.LEGAL.txt +0 -3
- package/dist/calcite/A2YB5LXN.js +0 -4
- package/dist/calcite/A2YB5LXN.js.LEGAL.txt +0 -3
- package/dist/calcite/AFFK5WSZ.js.LEGAL.txt +0 -3
- package/dist/calcite/AXBOTO3S.js.LEGAL.txt +0 -3
- package/dist/calcite/BIXOQRWX.js.LEGAL.txt +0 -3
- package/dist/calcite/BXNTEQDG.js.LEGAL.txt +0 -3
- package/dist/calcite/BXRLVWOE.js.LEGAL.txt +0 -3
- package/dist/calcite/C2KRQ7VY.js.LEGAL.txt +0 -3
- package/dist/calcite/CK2727PE.js.LEGAL.txt +0 -3
- package/dist/calcite/CVQXSZEH.js.LEGAL.txt +0 -3
- package/dist/calcite/D2KGWKKE.js.LEGAL.txt +0 -3
- package/dist/calcite/DACMF6M4.js.LEGAL.txt +0 -3
- package/dist/calcite/DIWK757P.js.LEGAL.txt +0 -3
- package/dist/calcite/DIYHPDDJ.js.LEGAL.txt +0 -3
- package/dist/calcite/DTAEBKT4.js.LEGAL.txt +0 -3
- package/dist/calcite/DX4BEDZ3.js.LEGAL.txt +0 -3
- package/dist/calcite/EHEE5FVV.js.LEGAL.txt +0 -3
- package/dist/calcite/F4S6EXX6.js.LEGAL.txt +0 -3
- package/dist/calcite/FQPVAT5F.js.LEGAL.txt +0 -3
- package/dist/calcite/FYK4XJBH.js.LEGAL.txt +0 -3
- package/dist/calcite/G77XQIMX.js.LEGAL.txt +0 -3
- package/dist/calcite/GFFE55DG.js.LEGAL.txt +0 -3
- package/dist/calcite/GFONJVVJ.js.LEGAL.txt +0 -3
- package/dist/calcite/GL7DMV4S.js.LEGAL.txt +0 -3
- package/dist/calcite/GS3X5VRZ.js.LEGAL.txt +0 -3
- package/dist/calcite/GSA4PGT2.js.LEGAL.txt +0 -3
- package/dist/calcite/GTIGGEIV.js.LEGAL.txt +0 -3
- package/dist/calcite/GTUVAAAD.js.LEGAL.txt +0 -3
- package/dist/calcite/H3WIGFJO.js.LEGAL.txt +0 -3
- package/dist/calcite/HAEAO4QM.js.LEGAL.txt +0 -3
- package/dist/calcite/HBU463EW.js.LEGAL.txt +0 -3
- package/dist/calcite/HJQMJ3O5.js.LEGAL.txt +0 -3
- package/dist/calcite/HNERZLDY.js.LEGAL.txt +0 -3
- package/dist/calcite/HOEPFXY4.js.LEGAL.txt +0 -3
- package/dist/calcite/I4FISWDK.js.LEGAL.txt +0 -3
- package/dist/calcite/I7DZAQ33.js.LEGAL.txt +0 -3
- package/dist/calcite/IQQJKKQR.js.LEGAL.txt +0 -3
- package/dist/calcite/IRUMOVZZ.js.LEGAL.txt +0 -3
- package/dist/calcite/J5XEWZHE.js.LEGAL.txt +0 -3
- package/dist/calcite/JAL66H3J.js.LEGAL.txt +0 -3
- package/dist/calcite/JATMHESF.js.LEGAL.txt +0 -3
- package/dist/calcite/JBY373VQ.js.LEGAL.txt +0 -3
- package/dist/calcite/JDNJDXBT.js.LEGAL.txt +0 -3
- package/dist/calcite/JDWLRXMB.js.LEGAL.txt +0 -3
- package/dist/calcite/JFS56TST.js.LEGAL.txt +0 -3
- package/dist/calcite/KO2HPSDS.js.LEGAL.txt +0 -3
- package/dist/calcite/KPX237YH.js.LEGAL.txt +0 -3
- package/dist/calcite/LAKJK7HL.js.LEGAL.txt +0 -3
- package/dist/calcite/LEGWZZ3C.js.LEGAL.txt +0 -3
- package/dist/calcite/LI2EINF7.js.LEGAL.txt +0 -3
- package/dist/calcite/LIPUTT6N.js.LEGAL.txt +0 -3
- package/dist/calcite/LWUNC2OP.js.LEGAL.txt +0 -3
- package/dist/calcite/LZ3V33XC.js.LEGAL.txt +0 -3
- package/dist/calcite/M3UZ4E5H.js.LEGAL.txt +0 -3
- package/dist/calcite/M4H4WLVH.js.LEGAL.txt +0 -3
- package/dist/calcite/MBN54URU.js.LEGAL.txt +0 -3
- package/dist/calcite/MG5IOFW7.js.LEGAL.txt +0 -3
- package/dist/calcite/MN5ZMGDP.js.LEGAL.txt +0 -3
- package/dist/calcite/MR5UPVPG.js.LEGAL.txt +0 -3
- package/dist/calcite/MSCFVCHB.js.LEGAL.txt +0 -3
- package/dist/calcite/MUFGKP4E.js.LEGAL.txt +0 -3
- package/dist/calcite/MXQCR7YF.js.LEGAL.txt +0 -3
- package/dist/calcite/MZDX2RGO.js.LEGAL.txt +0 -3
- package/dist/calcite/N63BZNBM.js.LEGAL.txt +0 -3
- package/dist/calcite/NCWK6WJU.js.LEGAL.txt +0 -3
- package/dist/calcite/NDM46TRI.js.LEGAL.txt +0 -3
- package/dist/calcite/NH2FREQY.js.LEGAL.txt +0 -3
- package/dist/calcite/NLQEJQ5J.js.LEGAL.txt +0 -3
- package/dist/calcite/NODTVZ24.js.LEGAL.txt +0 -3
- package/dist/calcite/NYCLULH3.js.LEGAL.txt +0 -3
- package/dist/calcite/OPWA55SD.js.LEGAL.txt +0 -3
- package/dist/calcite/OQGS3D3N.js.LEGAL.txt +0 -3
- package/dist/calcite/OSZVSWGU.js.LEGAL.txt +0 -3
- package/dist/calcite/P2CTJE5E.js.LEGAL.txt +0 -3
- package/dist/calcite/P2XP2NHT.js.LEGAL.txt +0 -3
- package/dist/calcite/P3RLUM2B.js +0 -4
- package/dist/calcite/P3RLUM2B.js.LEGAL.txt +0 -3
- package/dist/calcite/P6C3W6FL.js.LEGAL.txt +0 -3
- package/dist/calcite/PENLWMB3.js.LEGAL.txt +0 -3
- package/dist/calcite/PLJALAVQ.js.LEGAL.txt +0 -3
- package/dist/calcite/POGNNNSN.js.LEGAL.txt +0 -3
- package/dist/calcite/PW6UBKVH.js.LEGAL.txt +0 -3
- package/dist/calcite/PYM6655A.js.LEGAL.txt +0 -3
- package/dist/calcite/QFOJGUH4.js.LEGAL.txt +0 -3
- package/dist/calcite/QJMY6HK4.js.LEGAL.txt +0 -3
- package/dist/calcite/QJN3Y7KP.js.LEGAL.txt +0 -3
- package/dist/calcite/QRBR6VUO.js.LEGAL.txt +0 -3
- package/dist/calcite/QVKJQIOF.js.LEGAL.txt +0 -3
- package/dist/calcite/R3CUJDU2.js.LEGAL.txt +0 -3
- package/dist/calcite/R5NIHVIX.js.LEGAL.txt +0 -3
- package/dist/calcite/R7U5O4YW.js.LEGAL.txt +0 -3
- package/dist/calcite/RI5ZWQGD.js.LEGAL.txt +0 -3
- package/dist/calcite/RLN7DR35.js.LEGAL.txt +0 -3
- package/dist/calcite/RN6G4AJW.js.LEGAL.txt +0 -3
- package/dist/calcite/SEHADNF3.js.LEGAL.txt +0 -3
- package/dist/calcite/SKKGAAMO.js.LEGAL.txt +0 -3
- package/dist/calcite/SQNNHAAG.js.LEGAL.txt +0 -3
- package/dist/calcite/T3TLDID7.js.LEGAL.txt +0 -3
- package/dist/calcite/T4ISGVVX.js.LEGAL.txt +0 -3
- package/dist/calcite/TGV7EMNU.js.LEGAL.txt +0 -3
- package/dist/calcite/TH2HXM2T.js.LEGAL.txt +0 -3
- package/dist/calcite/THZPNFDC.js.LEGAL.txt +0 -3
- package/dist/calcite/TSHHVAZ7.js.LEGAL.txt +0 -3
- package/dist/calcite/TYKK4ZDP.js.LEGAL.txt +0 -3
- package/dist/calcite/V6MACRDH.js.LEGAL.txt +0 -3
- package/dist/calcite/VGUJWIE3.js.LEGAL.txt +0 -3
- package/dist/calcite/VHLIF5DY.js.LEGAL.txt +0 -3
- package/dist/calcite/VUEY5X5A.js.LEGAL.txt +0 -3
- package/dist/calcite/VYRPNOIH.js.LEGAL.txt +0 -3
- package/dist/calcite/WL7KPPYH.js.LEGAL.txt +0 -3
- package/dist/calcite/WN6CJLMD.js +0 -4
- package/dist/calcite/WN6CJLMD.js.LEGAL.txt +0 -3
- package/dist/calcite/XLQJWLJR.js.LEGAL.txt +0 -3
- package/dist/calcite/XQSZJ5CG.js.LEGAL.txt +0 -3
- package/dist/calcite/XVSPBUCP.js.LEGAL.txt +0 -3
- package/dist/calcite/Y2E6XYEE.js.LEGAL.txt +0 -3
- package/dist/calcite/Y5A3EQS4.js.LEGAL.txt +0 -3
- package/dist/calcite/YBIDORYE.js.LEGAL.txt +0 -3
- package/dist/calcite/YPHDMEZE.js.LEGAL.txt +0 -3
- package/dist/calcite/Z2N3ZD66.js.LEGAL.txt +0 -3
- package/dist/calcite/Z646UZFI.js.LEGAL.txt +0 -3
- package/dist/calcite/Z6VHOIAN.js.LEGAL.txt +0 -3
- package/dist/calcite/Z7EIB7KP.js.LEGAL.txt +0 -3
- package/dist/calcite/ZMFN7VKF.js.LEGAL.txt +0 -3
- package/dist/calcite/ZS2B2AF5.js.LEGAL.txt +0 -3
- /package/dist/calcite/{W7YWLFKG.js.LEGAL.txt → 5NQUZRDM.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{A4XLCDLZ.js.LEGAL.txt → 6GM27GBO.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{U2YGN4RT.js.LEGAL.txt → 6P5PSH65.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{2VN3YIDH.js.LEGAL.txt → DNYNDPB5.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{RFI4KO6W.js.LEGAL.txt → HPNQQK6A.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{CLRL273B.js.LEGAL.txt → K3RGRXZK.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{GRLBXAFF.js.LEGAL.txt → KDX22TPR.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{IWDYFFAM.js.LEGAL.txt → NNTVWBBP.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{KFEMDYAO.js.LEGAL.txt → O26R4TSO.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{GZUOSY5I.js.LEGAL.txt → PNGIMH3C.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{MFXMCYAU.js.LEGAL.txt → QWS3K5HU.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{UGDRDJPA.js.LEGAL.txt → RGO4YDKF.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{WIUS56JI.js.LEGAL.txt → U52EKICH.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{XCW4TOV5.js.LEGAL.txt → YD2UXF4G.js.LEGAL.txt} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v3.2.0-next.
|
|
4
|
-
import{a as t,b as S,c as u,d as s}from"./XQSZJ5CG.js";import{b as O}from"./YBIDORYE.js";import"./2VN3YIDH.js";import{b as M}from"./5Q54AMGC.js";import{a as P,b as T}from"./DTAEBKT4.js";import{a as d}from"./GZUOSY5I.js";import"./RFI4KO6W.js";import{a as F}from"./DX4BEDZ3.js";import{a as N}from"./24OTRUCC.js";import{b as C}from"./U2YGN4RT.js";import{b as I}from"./XVSPBUCP.js";import{n as E,u as r,v as x}from"./LLN5DNPL.js";import{d as B}from"./POGNNNSN.js";import"./QJN3Y7KP.js";import"./R3CUJDU2.js";import{K as w,e as k,g as n,k as $,w as m,x as z,y as i}from"./MZMZSY5A.js";var D=k`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{position:relative;box-sizing:border-box;display:flex;block-size:100%;inline-size:100%;flex:1 1 auto;overflow:hidden;--calcite-min-header-height: calc(var(--calcite-icon-size) * 3);border-radius:var(--calcite-panel-corner-radius, var(--calcite-corner-radius-sharp))}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}.header{margin:0;display:flex;align-content:space-between;align-items:center;fill:var(--calcite-color-text-2);color:var(--calcite-color-text-2)}.heading{margin:0;padding:0;font-weight:var(--calcite-font-weight-medium)}.header .heading{flex:1 1 auto;padding:.5rem}:host([scale=s]){--calcite-internal-panel-default-space: var(--calcite-spacing-sm);--calcite-internal-panel-header-vertical-padding: var(--calcite-spacing-sm-plus)}:host([scale=s]) .header-content .heading{font-size:var(--calcite-font-size--1)}:host([scale=s]) .header-content .description{font-size:var(--calcite-font-size--2)}:host([scale=m]){--calcite-internal-panel-default-space: var(--calcite-spacing-md);--calcite-internal-panel-header-vertical-padding: var(--calcite-spacing-md-plus)}:host([scale=m]) .header-content .heading{font-size:var(--calcite-font-size-0)}:host([scale=m]) .header-content .description{font-size:var(--calcite-font-size--1)}:host([scale=l]){--calcite-internal-panel-default-space: var(--calcite-spacing-lg);--calcite-internal-panel-header-vertical-padding: var(--calcite-spacing-xl)}:host([scale=l]) .header-content .heading{font-size:var(--calcite-font-size-1)}:host([scale=l]) .header-content .description{font-size:var(--calcite-font-size-0)}.content-top,.content-bottom{display:flex;align-items:flex-start;align-self:stretch;padding:var(--calcite-internal-panel-default-space);border-block-start:1px solid var(--calcite-panel-border-color, var(--calcite-color-border-3));background-color:var(--calcite-panel-background-color, var(--calcite-color-foreground-1))}.container{position:relative;margin:0;display:flex;inline-size:100%;flex:1 1 auto;flex-direction:column;align-items:stretch;overflow:hidden;background-color:var(--calcite-color-background);padding:0;color:var(--calcite-color-text-2);transition:max-block-size var(--calcite-animation-timing),inline-size var(--calcite-animation-timing);box-sizing:border-box;font-size:var(--calcite-font-size--1)}.container *{box-sizing:border-box}.container[hidden]{display:none}.header{z-index:var(--calcite-z-index-header);display:flex;flex-direction:column;background-color:var(--calcite-panel-header-background-color, var(--calcite-color-foreground-1));border-block-end:1px solid var(--calcite-panel-border-color, var(--calcite-panel-header-border-block-end, var(--calcite-color-border-3)))}.header-container{display:flex;inline-size:100%;flex-direction:row;align-items:stretch;justify-content:flex-start;flex:0 0 auto}.header-container--border-end{border-block-end:1px solid var(--calcite-panel-border-color, var(--calcite-color-border-3))}.action-bar-container{inline-size:100%}.action-bar-container ::slotted(calcite-action-bar){inline-size:100%}.header-content{display:flex;flex-direction:column;overflow:hidden;padding-inline:.75rem;padding-block:.875rem;margin-inline-end:auto;justify-content:center}.header-content .heading,.header-content .description{display:block;flex:none;overflow-wrap:break-word;padding:0;line-height:var(--calcite-font-line-height-relative-snug)}.header-content .heading{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-panel-heading-text-color, var(--calcite-color-text-1))}.header-content .heading:only-child{margin-block-end:0px}.header-content .description{color:var(--calcite-panel-description-text-color, var(--calcite-color-text-2))}#close,#collapse,.back-button,calcite-action-menu{--calcite-action-background-color: var(--calcite-panel-header-action-background-color);--calcite-action-background-color-hover: var(--calcite-panel-header-action-background-color-hover);--calcite-action-background-color-press: var(--calcite-panel-header-action-background-color-press);--calcite-action-text-color: var(--calcite-panel-header-action-text-color);--calcite-action-text-color-pressed: var(--calcite-panel-header-action-text-color-pressed)}.back-button{border-width:0px;border-style:solid;border-inline-end-width:1px;border-color:var(--calcite-panel-border-color, var(--calcite-color-border-3))}.header-actions{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:stretch}.header-actions--end{margin-inline-start:auto}.content-wrapper{position:relative;display:flex;block-size:100%;flex:1 1 auto;flex-direction:column;flex-wrap:nowrap;align-items:stretch;overflow:auto;color:var(--calcite-color-text-2);outline-color:transparent;padding:var(--calcite-panel-space, var(--calcite-panel-content-space, 0));background:var(--calcite-panel-background-color, var(--calcite-color-background))}.content-wrapper:focus-visible{outline:2px solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(-2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}.header-content{flex:1 1 auto;justify-content:center;padding-block:var(--calcite-internal-panel-header-vertical-padding);padding-inline:var(--calcite-internal-panel-default-space)}.header-content.header-slotted-content{padding:var(--calcite-panel-header-content-space, var(--calcite-internal-panel-header-vertical-padding) var(--calcite-internal-panel-default-space))}.footer{margin-block-start:auto;display:flex;flex-direction:row;align-content:space-between;align-items:center;justify-content:center;font-size:var(--calcite-font-size--2);line-height:1.375;border-block-start:1px solid var(--calcite-panel-border-color, var(--calcite-color-border-3));padding:var(--calcite-panel-footer-space, var(--calcite-panel-footer-padding, var(--calcite-internal-panel-default-space)));background-color:var(--calcite-panel-footer-background-color, var(--calcite-color-foreground-1))}.footer-content{display:flex;flex:1 1 0%;flex-direction:row;align-items:center;justify-content:center}.footer-actions{display:flex;flex:1 1 0%;flex-direction:row;align-items:center;justify-content:space-evenly;gap:var(--calcite-internal-panel-default-space)}.footer-start{display:flex;flex:1 1 0%;flex-direction:row;align-items:center;justify-content:flex-start;margin-inline-end:auto;gap:var(--calcite-internal-panel-default-space)}.footer-end{display:flex;flex:1 1 0%;flex-direction:row;align-items:center;justify-content:flex-end;margin-inline-start:auto;gap:var(--calcite-internal-panel-default-space)}.fab-container{position:sticky;inset-block-end:0px;z-index:var(--calcite-z-index-sticky);margin-block:0px;margin-inline:auto;display:block;padding:.5rem;inset-inline:0;inline-size:fit-content}:host([hidden]){display:none}[hidden]{display:none}`,y=class extends z{constructor(){super(),this.resizeObserver=F("resize",()=>this.resizeHandler()),this.hasActionBar=!1,this.hasContentBottom=!1,this.hasContentTop=!1,this.hasEndActions=!1,this.hasFab=!1,this.hasFooterActions=!1,this.hasFooterContent=!1,this.hasFooterEndContent=!1,this.hasFooterStartContent=!1,this.hasHeaderContent=!1,this.hasMenuItems=!1,this.hasStartActions=!1,this.isClosed=!1,this.showHeaderContent=!1,this.closable=!1,this.closed=!1,this.collapseDirection="down",this.collapsed=!1,this.collapsible=!1,this.disabled=!1,this.loading=!1,this.menuOpen=!1,this.menuPlacement=M,this.messages=N(),this.overlayPositioning="absolute",this.scale="m",this.calcitePanelClose=m({cancelable:!1}),this.calcitePanelScroll=m({cancelable:!1}),this.calcitePanelToggle=m({cancelable:!1}),this.listen("keydown",this.panelKeyDownHandler)}static{this.properties={hasActionBar:[16,{state:!0}],hasContentBottom:[16,{state:!0}],hasContentTop:[16,{state:!0}],hasEndActions:[16,{state:!0}],hasFab:[16,{state:!0}],hasFooterActions:[16,{state:!0}],hasFooterContent:[16,{state:!0}],hasFooterEndContent:[16,{state:!0}],hasFooterStartContent:[16,{state:!0}],hasHeaderContent:[16,{state:!0}],hasMenuItems:[16,{state:!0}],hasStartActions:[16,{state:!0}],isClosed:[16,{state:!0}],showHeaderContent:[16,{state:!0}],beforeClose:[0,{attribute:!1}],closable:[7,{reflect:!0,type:Boolean}],closed:[7,{reflect:!0,type:Boolean}],collapseDirection:1,collapsed:[7,{reflect:!0,type:Boolean}],collapsible:[7,{reflect:!0,type:Boolean}],description:1,disabled:[7,{reflect:!0,type:Boolean}],heading:1,headingLevel:[11,{type:Number,reflect:!0}],loading:[7,{reflect:!0,type:Boolean}],menuFlipPlacements:[0,{attribute:!1}],menuOpen:[7,{reflect:!0,type:Boolean}],menuPlacement:[3,{reflect:!0}],messageOverrides:[0,{attribute:!1}],overlayPositioning:[3,{reflect:!0}],scale:[3,{reflect:!0}]}}static{this.styles=D}async scrollContentTo(e){this.panelScrollEl?.scrollTo(e)}async setFocus(){await B(this),E(this.containerEl)}async load(){this.isClosed=this.closed}willUpdate(e){e.has("closed")&&this.hasUpdated&&(this.closed?this.close():this.open())}updated(){P(this)}disconnectedCallback(){super.disconnectedCallback(),this.resizeObserver?.disconnect()}resizeHandler(){let{panelScrollEl:e}=this;if(!e||typeof e.scrollHeight!="number"||typeof e.offsetHeight!="number")return;e.scrollHeight>e.offsetHeight?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex")}setContainerRef(e){this.containerEl=e}panelKeyDownHandler(e){this.closable&&e.key==="Escape"&&!e.defaultPrevented&&(this.handleUserClose(),e.preventDefault())}handleUserClose(){this.closed=!0,this.calcitePanelClose.emit()}open(){this.isClosed=!1}async close(){let e=this.beforeClose??(()=>Promise.resolve());try{await e()}catch{requestAnimationFrame(()=>{this.closed=!1});return}this.isClosed=!0}collapse(){this.collapsed=!this.collapsed,this.calcitePanelToggle.emit()}panelScrollHandler(){this.calcitePanelScroll.emit()}handleHeaderActionsStartSlotChange(e){this.hasStartActions=r(e)}handleHeaderActionsEndSlotChange(e){this.hasEndActions=r(e)}handleHeaderMenuActionsSlotChange(e){this.hasMenuItems=r(e)}handleActionBarSlotChange(e){let a=x(e).filter(o=>o?.matches("calcite-action-bar"));a.forEach(o=>o.layout="horizontal"),this.hasActionBar=!!a.length}handleHeaderContentSlotChange(e){this.hasHeaderContent=r(e)}handleFabSlotChange(e){this.hasFab=r(e)}handleFooterActionsSlotChange(e){this.hasFooterActions=r(e)}handleFooterEndSlotChange(e){this.hasFooterEndContent=r(e)}handleFooterStartSlotChange(e){this.hasFooterStartContent=r(e)}handleFooterSlotChange(e){this.hasFooterContent=r(e)}contentBottomSlotChangeHandler(e){this.hasContentBottom=r(e)}contentTopSlotChangeHandler(e){this.hasContentTop=r(e)}setPanelScrollEl(e){this.panelScrollEl=e,this.resizeObserver?.disconnect(),e&&(this.resizeObserver?.observe(e),this.resizeHandler())}handleAlertsSlotChange(e){x(e)?.map(a=>{a.nodeName==="CALCITE-ALERT"&&(a.embedded=!0)})}renderHeaderContent(){let{heading:e,headingLevel:a,description:o,hasHeaderContent:l}=this,c=e?O({class:t.heading,level:a,children:e}):null,h=o?n`<span class=${i(t.description)}>${o}</span>`:null;return!l&&(c||h)?d("header-content",n`<div class=${i(t.headerContent)}>${c}${h}</div>`):null}renderActionBar(){return n`<div class=${i(t.actionBarContainer)} .hidden=${!this.hasActionBar}><slot name=${s.actionBar} @slotchange=${this.handleActionBarSlotChange}></slot></div>`}renderHeaderSlottedContent(){return d("slotted-header-content",n`<div class=${i({[t.headerContent]:!0,[t.headerSlottedContent]:!0})} .hidden=${!this.hasHeaderContent}><slot name=${s.headerContent} @slotchange=${this.handleHeaderContentSlotChange}></slot></div>`)}renderHeaderStartActions(){let{hasStartActions:e}=this;return d("header-actions-start",n`<div class=${i({[t.headerActionsStart]:!0,[t.headerActions]:!0})} .hidden=${!e}><slot name=${s.headerActionsStart} @slotchange=${this.handleHeaderActionsStartSlotChange}></slot></div>`)}renderHeaderActionsEnd(){let{hasEndActions:e,messages:a,closable:o,collapsed:l,collapseDirection:c,collapsible:h,hasMenuItems:g}=this,{collapse:p,expand:f,close:b}=a,v=[u.expand,u.collapse];c==="up"&&v.reverse();let A=h?n`<calcite-action .ariaExpanded=${!l} .ariaLabel=${p} .icon=${l?v[0]:v[1]} id=${S.collapse} @click=${this.collapse} .scale=${this.scale} .text=${p} title=${(l?f:p)??$}></calcite-action>`:null,H=o?n`<calcite-action .ariaLabel=${b} .icon=${u.close} id=${S.close} @click=${this.handleUserClose} .scale=${this.scale} .text=${b} title=${b??$}></calcite-action>`:null,L=n`<slot name=${s.headerActionsEnd} @slotchange=${this.handleHeaderActionsEndSlotChange}></slot>`,j=e||A||H||g;return d("header-actions-end",n`<div class=${i({[t.headerActionsEnd]:!0,[t.headerActions]:!0})} .hidden=${!j}>${L}${this.renderMenu()}${A}${H}</div>`)}renderMenu(){let{hasMenuItems:e,messages:a,menuOpen:o,menuFlipPlacements:l,menuPlacement:c}=this;return d("menu",n`<calcite-action-menu .flipPlacements=${l??["top","bottom"]} .hidden=${!e} .label=${a.options} .open=${o} .overlayPositioning=${this.overlayPositioning} .placement=${c}><calcite-action .icon=${u.menu} .scale=${this.scale} slot=${I.trigger} .text=${a.options}></calcite-action><slot name=${s.headerMenuActions} @slotchange=${this.handleHeaderMenuActionsSlotChange}></slot></calcite-action-menu>`)}renderHeaderNode(){let{hasHeaderContent:e,hasStartActions:a,hasEndActions:o,closable:l,collapsible:c,hasMenuItems:h,hasActionBar:g}=this,p=this.renderHeaderContent(),f=e||!!p||a||o||c||l||h;return this.showHeaderContent=f,n`<header class=${i(t.header)} .hidden=${!(f||g)}><div class=${i({[t.headerContainer]:!0,[t.headerContainerBorderEnd]:g})} .hidden=${!f}>${this.renderHeaderStartActions()}${this.renderHeaderSlottedContent()}${p}${this.renderHeaderActionsEnd()}</div>${this.renderActionBar()}${this.renderContentTop()}</header>`}renderFooterNode(){let{hasFooterEndContent:e,hasFooterStartContent:a,hasFooterContent:o,hasFooterActions:l}=this,c=a||e||o||l;return n`<footer class=${i(t.footer)} .hidden=${!c}><div class=${i(t.footerContent)} .hidden=${!o}><slot name=${s.footer} @slotchange=${this.handleFooterSlotChange}></slot></div><div class=${i(t.footerStart)} .hidden=${o||!a}><slot name=${s.footerStart} @slotchange=${this.handleFooterStartSlotChange}></slot></div><div class=${i(t.footerEnd)} .hidden=${o||!e}><slot name=${s.footerEnd} @slotchange=${this.handleFooterEndSlotChange}></slot></div><div class=${i(t.footerActions)} .hidden=${o||!l}>${d("footer-actions-slot",n`<slot name=${s.footerActions} @slotchange=${this.handleFooterActionsSlotChange}></slot>`)}</div></footer>`}renderContent(){return n`<div class=${i(t.contentWrapper)} .hidden=${this.collapsible&&this.collapsed} @scroll=${this.panelScrollHandler} ${C(this.setPanelScrollEl)}><slot></slot>${this.renderFab()}</div>`}renderContentBottom(){return n`<div class=${i(t.contentBottom)} .hidden=${!this.hasContentBottom}><slot name=${s.contentBottom} @slotchange=${this.contentBottomSlotChangeHandler}></slot></div>`}renderContentTop(){return n`<div class=${i(t.contentTop)} .hidden=${!this.hasContentTop}><slot name=${s.contentTop} @slotchange=${this.contentTopSlotChangeHandler}></slot></div>`}renderFab(){return n`<div class=${i(t.fabContainer)} .hidden=${!this.hasFab}><slot name=${s.fab} @slotchange=${this.handleFabSlotChange}></slot></div>`}render(){let{disabled:e,loading:a,isClosed:o}=this,l=n`<article .ariaBusy=${a} class=${i(t.container)} .hidden=${o} ${C(this.setContainerRef)}>${this.renderHeaderNode()}${this.renderContent()}${this.renderContentBottom()}${this.renderFooterNode()}${d("alerts",n`<slot name=${s.alerts} @slotchange=${this.handleAlertsSlotChange}></slot>`)}</article>`;return T({disabled:e,children:n`${a?n`<calcite-scrim .loading=${a}></calcite-scrim>`:null}${l}`})}};w("calcite-panel",y);export{y as Panel};
|
|
3
|
+
v3.2.0-next.40 */
|
|
4
|
+
import{a as t,b as S,c as u,d as s}from"./6Z2B5YPT.js";import{b as O}from"./VWXTUWMC.js";import"./DNYNDPB5.js";import{b as M}from"./WIA2UZRQ.js";import{a as P,b as T}from"./KOH7CJJ2.js";import{a as d}from"./PNGIMH3C.js";import"./HPNQQK6A.js";import{a as F}from"./VYNVOZVL.js";import{a as N}from"./7EKOSZOZ.js";import{b as C}from"./6P5PSH65.js";import{b as I}from"./XJUNWEHJ.js";import{n as E,u as r,v as x}from"./4JEZM6VX.js";import{d as B}from"./VOMFC6A5.js";import"./PB3OJ43M.js";import"./6DCGXB5R.js";import{K as w,e as k,g as n,k as $,w as m,x as z,y as i}from"./EYWRTO2E.js";var D=k`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{position:relative;box-sizing:border-box;display:flex;block-size:100%;inline-size:100%;flex:1 1 auto;overflow:hidden;--calcite-min-header-height: calc(var(--calcite-icon-size) * 3);border-radius:var(--calcite-panel-corner-radius, var(--calcite-corner-radius-sharp))}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}.header{margin:0;display:flex;align-content:space-between;align-items:center;fill:var(--calcite-color-text-2);color:var(--calcite-color-text-2)}.heading{margin:0;padding:0;font-weight:var(--calcite-font-weight-medium)}.header .heading{flex:1 1 auto;padding:.5rem}:host([scale=s]){--calcite-internal-panel-default-space: var(--calcite-spacing-sm);--calcite-internal-panel-header-vertical-padding: var(--calcite-spacing-sm-plus)}:host([scale=s]) .header-content .heading{font-size:var(--calcite-font-size--1)}:host([scale=s]) .header-content .description{font-size:var(--calcite-font-size--2)}:host([scale=m]){--calcite-internal-panel-default-space: var(--calcite-spacing-md);--calcite-internal-panel-header-vertical-padding: var(--calcite-spacing-md-plus)}:host([scale=m]) .header-content .heading{font-size:var(--calcite-font-size-0)}:host([scale=m]) .header-content .description{font-size:var(--calcite-font-size--1)}:host([scale=l]){--calcite-internal-panel-default-space: var(--calcite-spacing-lg);--calcite-internal-panel-header-vertical-padding: var(--calcite-spacing-xl)}:host([scale=l]) .header-content .heading{font-size:var(--calcite-font-size-1)}:host([scale=l]) .header-content .description{font-size:var(--calcite-font-size-0)}.content-top,.content-bottom{display:flex;align-items:flex-start;align-self:stretch;padding:var(--calcite-internal-panel-default-space);border-block-start:1px solid var(--calcite-panel-border-color, var(--calcite-color-border-3));background-color:var(--calcite-panel-background-color, var(--calcite-color-foreground-1))}.container{position:relative;margin:0;display:flex;inline-size:100%;flex:1 1 auto;flex-direction:column;align-items:stretch;overflow:hidden;background-color:var(--calcite-color-background);padding:0;color:var(--calcite-color-text-2);transition:max-block-size var(--calcite-animation-timing),inline-size var(--calcite-animation-timing);box-sizing:border-box;font-size:var(--calcite-font-size--1)}.container *{box-sizing:border-box}.container[hidden]{display:none}.header{z-index:var(--calcite-z-index-header);display:flex;flex-direction:column;background-color:var(--calcite-panel-header-background-color, var(--calcite-color-foreground-1));border-block-end:1px solid var(--calcite-panel-border-color, var(--calcite-panel-header-border-block-end, var(--calcite-color-border-3)))}.header-container{display:flex;inline-size:100%;flex-direction:row;align-items:stretch;justify-content:flex-start;flex:0 0 auto}.header-container--border-end{border-block-end:1px solid var(--calcite-panel-border-color, var(--calcite-color-border-3))}.action-bar-container{inline-size:100%}.action-bar-container ::slotted(calcite-action-bar){inline-size:100%}.header-content{display:flex;flex-direction:column;overflow:hidden;padding-inline:.75rem;padding-block:.875rem;margin-inline-end:auto;justify-content:center}.header-content .heading,.header-content .description{display:block;flex:none;overflow-wrap:break-word;padding:0;line-height:var(--calcite-font-line-height-relative-snug)}.header-content .heading{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-panel-heading-text-color, var(--calcite-color-text-1))}.header-content .heading:only-child{margin-block-end:0px}.header-content .description{color:var(--calcite-panel-description-text-color, var(--calcite-color-text-2))}#close,#collapse,.back-button,calcite-action-menu{--calcite-action-background-color: var(--calcite-panel-header-action-background-color);--calcite-action-background-color-hover: var(--calcite-panel-header-action-background-color-hover);--calcite-action-background-color-press: var(--calcite-panel-header-action-background-color-press);--calcite-action-text-color: var(--calcite-panel-header-action-text-color);--calcite-action-text-color-pressed: var(--calcite-panel-header-action-text-color-pressed)}.back-button{border-width:0px;border-style:solid;border-inline-end-width:1px;border-color:var(--calcite-panel-border-color, var(--calcite-color-border-3))}.header-actions{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:stretch}.header-actions--end{margin-inline-start:auto}.content-wrapper{position:relative;display:flex;block-size:100%;flex:1 1 auto;flex-direction:column;flex-wrap:nowrap;align-items:stretch;overflow:auto;color:var(--calcite-color-text-2);outline-color:transparent;padding:var(--calcite-panel-space, var(--calcite-panel-content-space, 0));background:var(--calcite-panel-background-color, var(--calcite-color-background))}.content-wrapper:focus-visible{outline:2px solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(-2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}.header-content{flex:1 1 auto;justify-content:center;padding-block:var(--calcite-internal-panel-header-vertical-padding);padding-inline:var(--calcite-internal-panel-default-space)}.header-content.header-slotted-content{padding:var(--calcite-panel-header-content-space, var(--calcite-internal-panel-header-vertical-padding) var(--calcite-internal-panel-default-space))}.footer{margin-block-start:auto;display:flex;flex-direction:row;align-content:space-between;align-items:center;justify-content:center;font-size:var(--calcite-font-size--2);line-height:1.375;border-block-start:1px solid var(--calcite-panel-border-color, var(--calcite-color-border-3));padding:var(--calcite-panel-footer-space, var(--calcite-panel-footer-padding, var(--calcite-internal-panel-default-space)));background-color:var(--calcite-panel-footer-background-color, var(--calcite-color-foreground-1))}.footer-content{display:flex;flex:1 1 0%;flex-direction:row;align-items:center;justify-content:center}.footer-actions{display:flex;flex:1 1 0%;flex-direction:row;align-items:center;justify-content:space-evenly;gap:var(--calcite-internal-panel-default-space)}.footer-start{display:flex;flex:1 1 0%;flex-direction:row;align-items:center;justify-content:flex-start;margin-inline-end:auto;gap:var(--calcite-internal-panel-default-space)}.footer-end{display:flex;flex:1 1 0%;flex-direction:row;align-items:center;justify-content:flex-end;margin-inline-start:auto;gap:var(--calcite-internal-panel-default-space)}.fab-container{position:sticky;inset-block-end:0px;z-index:var(--calcite-z-index-sticky);margin-block:0px;margin-inline:auto;display:block;padding:.5rem;inset-inline:0;inline-size:fit-content}:host([hidden]){display:none}[hidden]{display:none}`,y=class extends z{constructor(){super(),this.resizeObserver=F("resize",()=>this.resizeHandler()),this.hasActionBar=!1,this.hasContentBottom=!1,this.hasContentTop=!1,this.hasEndActions=!1,this.hasFab=!1,this.hasFooterActions=!1,this.hasFooterContent=!1,this.hasFooterEndContent=!1,this.hasFooterStartContent=!1,this.hasHeaderContent=!1,this.hasMenuItems=!1,this.hasStartActions=!1,this.isClosed=!1,this.showHeaderContent=!1,this.closable=!1,this.closed=!1,this.collapseDirection="down",this.collapsed=!1,this.collapsible=!1,this.disabled=!1,this.loading=!1,this.menuOpen=!1,this.menuPlacement=M,this.messages=N(),this.overlayPositioning="absolute",this.scale="m",this.calcitePanelClose=m({cancelable:!1}),this.calcitePanelScroll=m({cancelable:!1}),this.calcitePanelToggle=m({cancelable:!1}),this.listen("keydown",this.panelKeyDownHandler)}static{this.properties={hasActionBar:[16,{state:!0}],hasContentBottom:[16,{state:!0}],hasContentTop:[16,{state:!0}],hasEndActions:[16,{state:!0}],hasFab:[16,{state:!0}],hasFooterActions:[16,{state:!0}],hasFooterContent:[16,{state:!0}],hasFooterEndContent:[16,{state:!0}],hasFooterStartContent:[16,{state:!0}],hasHeaderContent:[16,{state:!0}],hasMenuItems:[16,{state:!0}],hasStartActions:[16,{state:!0}],isClosed:[16,{state:!0}],showHeaderContent:[16,{state:!0}],beforeClose:[0,{attribute:!1}],closable:[7,{reflect:!0,type:Boolean}],closed:[7,{reflect:!0,type:Boolean}],collapseDirection:1,collapsed:[7,{reflect:!0,type:Boolean}],collapsible:[7,{reflect:!0,type:Boolean}],description:1,disabled:[7,{reflect:!0,type:Boolean}],heading:1,headingLevel:[11,{type:Number,reflect:!0}],loading:[7,{reflect:!0,type:Boolean}],menuFlipPlacements:[0,{attribute:!1}],menuOpen:[7,{reflect:!0,type:Boolean}],menuPlacement:[3,{reflect:!0}],messageOverrides:[0,{attribute:!1}],overlayPositioning:[3,{reflect:!0}],scale:[3,{reflect:!0}]}}static{this.styles=D}async scrollContentTo(e){this.panelScrollEl?.scrollTo(e)}async setFocus(){await B(this),E(this.containerEl)}async load(){this.isClosed=this.closed}willUpdate(e){e.has("closed")&&this.hasUpdated&&(this.closed?this.close():this.open())}updated(){P(this)}disconnectedCallback(){super.disconnectedCallback(),this.resizeObserver?.disconnect()}resizeHandler(){let{panelScrollEl:e}=this;if(!e||typeof e.scrollHeight!="number"||typeof e.offsetHeight!="number")return;e.scrollHeight>e.offsetHeight?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex")}setContainerRef(e){this.containerEl=e}panelKeyDownHandler(e){this.closable&&e.key==="Escape"&&!e.defaultPrevented&&(this.handleUserClose(),e.preventDefault())}handleUserClose(){this.closed=!0,this.calcitePanelClose.emit()}open(){this.isClosed=!1}async close(){let e=this.beforeClose??(()=>Promise.resolve());try{await e()}catch{requestAnimationFrame(()=>{this.closed=!1});return}this.isClosed=!0}collapse(){this.collapsed=!this.collapsed,this.calcitePanelToggle.emit()}panelScrollHandler(){this.calcitePanelScroll.emit()}handleHeaderActionsStartSlotChange(e){this.hasStartActions=r(e)}handleHeaderActionsEndSlotChange(e){this.hasEndActions=r(e)}handleHeaderMenuActionsSlotChange(e){this.hasMenuItems=r(e)}handleActionBarSlotChange(e){let a=x(e).filter(o=>o?.matches("calcite-action-bar"));a.forEach(o=>o.layout="horizontal"),this.hasActionBar=!!a.length}handleHeaderContentSlotChange(e){this.hasHeaderContent=r(e)}handleFabSlotChange(e){this.hasFab=r(e)}handleFooterActionsSlotChange(e){this.hasFooterActions=r(e)}handleFooterEndSlotChange(e){this.hasFooterEndContent=r(e)}handleFooterStartSlotChange(e){this.hasFooterStartContent=r(e)}handleFooterSlotChange(e){this.hasFooterContent=r(e)}contentBottomSlotChangeHandler(e){this.hasContentBottom=r(e)}contentTopSlotChangeHandler(e){this.hasContentTop=r(e)}setPanelScrollEl(e){this.panelScrollEl=e,this.resizeObserver?.disconnect(),e&&(this.resizeObserver?.observe(e),this.resizeHandler())}handleAlertsSlotChange(e){x(e)?.map(a=>{a.nodeName==="CALCITE-ALERT"&&(a.embedded=!0)})}renderHeaderContent(){let{heading:e,headingLevel:a,description:o,hasHeaderContent:l}=this,c=e?O({class:t.heading,level:a,children:e}):null,h=o?n`<span class=${i(t.description)}>${o}</span>`:null;return!l&&(c||h)?d("header-content",n`<div class=${i(t.headerContent)}>${c}${h}</div>`):null}renderActionBar(){return n`<div class=${i(t.actionBarContainer)} .hidden=${!this.hasActionBar}><slot name=${s.actionBar} @slotchange=${this.handleActionBarSlotChange}></slot></div>`}renderHeaderSlottedContent(){return d("slotted-header-content",n`<div class=${i({[t.headerContent]:!0,[t.headerSlottedContent]:!0})} .hidden=${!this.hasHeaderContent}><slot name=${s.headerContent} @slotchange=${this.handleHeaderContentSlotChange}></slot></div>`)}renderHeaderStartActions(){let{hasStartActions:e}=this;return d("header-actions-start",n`<div class=${i({[t.headerActionsStart]:!0,[t.headerActions]:!0})} .hidden=${!e}><slot name=${s.headerActionsStart} @slotchange=${this.handleHeaderActionsStartSlotChange}></slot></div>`)}renderHeaderActionsEnd(){let{hasEndActions:e,messages:a,closable:o,collapsed:l,collapseDirection:c,collapsible:h,hasMenuItems:g}=this,{collapse:p,expand:f,close:b}=a,v=[u.expand,u.collapse];c==="up"&&v.reverse();let A=h?n`<calcite-action .ariaExpanded=${!l} .ariaLabel=${p} .icon=${l?v[0]:v[1]} id=${S.collapse} @click=${this.collapse} .scale=${this.scale} .text=${p} title=${(l?f:p)??$}></calcite-action>`:null,H=o?n`<calcite-action .ariaLabel=${b} .icon=${u.close} id=${S.close} @click=${this.handleUserClose} .scale=${this.scale} .text=${b} title=${b??$}></calcite-action>`:null,L=n`<slot name=${s.headerActionsEnd} @slotchange=${this.handleHeaderActionsEndSlotChange}></slot>`,j=e||A||H||g;return d("header-actions-end",n`<div class=${i({[t.headerActionsEnd]:!0,[t.headerActions]:!0})} .hidden=${!j}>${L}${this.renderMenu()}${A}${H}</div>`)}renderMenu(){let{hasMenuItems:e,messages:a,menuOpen:o,menuFlipPlacements:l,menuPlacement:c}=this;return d("menu",n`<calcite-action-menu .flipPlacements=${l??["top","bottom"]} .hidden=${!e} .label=${a.options} .open=${o} .overlayPositioning=${this.overlayPositioning} .placement=${c}><calcite-action .icon=${u.menu} .scale=${this.scale} slot=${I.trigger} .text=${a.options}></calcite-action><slot name=${s.headerMenuActions} @slotchange=${this.handleHeaderMenuActionsSlotChange}></slot></calcite-action-menu>`)}renderHeaderNode(){let{hasHeaderContent:e,hasStartActions:a,hasEndActions:o,closable:l,collapsible:c,hasMenuItems:h,hasActionBar:g}=this,p=this.renderHeaderContent(),f=e||!!p||a||o||c||l||h;return this.showHeaderContent=f,n`<header class=${i(t.header)} .hidden=${!(f||g)}><div class=${i({[t.headerContainer]:!0,[t.headerContainerBorderEnd]:g})} .hidden=${!f}>${this.renderHeaderStartActions()}${this.renderHeaderSlottedContent()}${p}${this.renderHeaderActionsEnd()}</div>${this.renderActionBar()}${this.renderContentTop()}</header>`}renderFooterNode(){let{hasFooterEndContent:e,hasFooterStartContent:a,hasFooterContent:o,hasFooterActions:l}=this,c=a||e||o||l;return n`<footer class=${i(t.footer)} .hidden=${!c}><div class=${i(t.footerContent)} .hidden=${!o}><slot name=${s.footer} @slotchange=${this.handleFooterSlotChange}></slot></div><div class=${i(t.footerStart)} .hidden=${o||!a}><slot name=${s.footerStart} @slotchange=${this.handleFooterStartSlotChange}></slot></div><div class=${i(t.footerEnd)} .hidden=${o||!e}><slot name=${s.footerEnd} @slotchange=${this.handleFooterEndSlotChange}></slot></div><div class=${i(t.footerActions)} .hidden=${o||!l}>${d("footer-actions-slot",n`<slot name=${s.footerActions} @slotchange=${this.handleFooterActionsSlotChange}></slot>`)}</div></footer>`}renderContent(){return n`<div class=${i(t.contentWrapper)} .hidden=${this.collapsible&&this.collapsed} @scroll=${this.panelScrollHandler} ${C(this.setPanelScrollEl)}><slot></slot>${this.renderFab()}</div>`}renderContentBottom(){return n`<div class=${i(t.contentBottom)} .hidden=${!this.hasContentBottom}><slot name=${s.contentBottom} @slotchange=${this.contentBottomSlotChangeHandler}></slot></div>`}renderContentTop(){return n`<div class=${i(t.contentTop)} .hidden=${!this.hasContentTop}><slot name=${s.contentTop} @slotchange=${this.contentTopSlotChangeHandler}></slot></div>`}renderFab(){return n`<div class=${i(t.fabContainer)} .hidden=${!this.hasFab}><slot name=${s.fab} @slotchange=${this.handleFabSlotChange}></slot></div>`}render(){let{disabled:e,loading:a,isClosed:o}=this,l=n`<article .ariaBusy=${a} class=${i(t.container)} .hidden=${o} ${C(this.setContainerRef)}>${this.renderHeaderNode()}${this.renderContent()}${this.renderContentBottom()}${this.renderFooterNode()}${d("alerts",n`<slot name=${s.alerts} @slotchange=${this.handleAlertsSlotChange}></slot>`)}</article>`;return T({disabled:e,children:n`${a?n`<calcite-scrim .loading=${a}></calcite-scrim>`:null}${l}`})}};w("calcite-panel",y);export{y as Panel};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v3.2.0-next.
|
|
4
|
-
import{a as k}from"./
|
|
3
|
+
v3.2.0-next.40 */
|
|
4
|
+
import{a as k}from"./5K3GZOWW.js";import{c as N,e as z,f as S,h as O}from"./4KFIUD2B.js";import{c as C,d as y,e as I}from"./FR4VAYJC.js";import{a as w,b as x}from"./KOH7CJJ2.js";import{a as f}from"./VYNVOZVL.js";import{b as v}from"./6P5PSH65.js";import{l as g}from"./4JEZM6VX.js";import{a as b,d as E}from"./VOMFC6A5.js";import"./PB3OJ43M.js";import"./6DCGXB5R.js";import{C as u,K as m,e as d,g as o,w as h,x as p,y as l}from"./EYWRTO2E.js";var $=d`:host{--calcite-icon-size: 1rem;--calcite-spacing-eighth: .125rem;--calcite-spacing-quarter: .25rem;--calcite-spacing-half: .5rem;--calcite-spacing-three-quarters: .75rem;--calcite-spacing: 1rem;--calcite-spacing-plus-quarter: 1.25rem;--calcite-spacing-plus-half: 1.5rem;--calcite-spacing-double: 2rem;--calcite-menu-min-width: 10rem;--calcite-header-min-height: 3rem;--calcite-footer-min-height: 3rem}:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:flex;flex-direction:column;font-size:var(--calcite-select-font-size);font-weight:var(--calcite-internal-select-font-weight, var(--calcite-font-weight-regular))}.wrapper{position:relative;display:flex;align-items:stretch;inline-size:var(--select-width);block-size:var(--calcite-internal-select-block-size, 32px)}.wrapper:focus-within .icon,.wrapper:active .icon,.wrapper:hover .icon{color:var(--calcite-select-icon-color-hover, var(--calcite-color-text-1))}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([scale=s]){--calcite-internal-select-font-size: var(--calcite-font-size--2);--calcite-select-spacing-inline: .5rem 2rem;--calcite-internal-select-icon-container-padding-inline: var(--calcite-spacing-sm);--calcite-internal-select-block-size: 24px}:host([scale=m]){--calcite-internal-select-font-size: var(--calcite-font-size--1);--calcite-select-spacing-inline: .75rem 2.5rem;--calcite-internal-select-icon-container-padding-inline: var(--calcite-spacing-md)}:host([scale=l]){--calcite-internal-select-font-size: var(--calcite-font-size-0);--calcite-select-spacing-inline: 1rem 3rem;--calcite-internal-select-icon-container-padding-inline: var(--calcite-spacing-lg);--calcite-internal-select-block-size: 44px}:host([width=auto]){inline-size:auto}:host([width=half]){inline-size:50%}:host([width=full]){inline-size:100%}.select{margin:0;box-sizing:border-box;inline-size:100%;cursor:pointer;appearance:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border-radius:0;border-style:solid;background-color:var(--calcite-color-foreground-1);font-family:inherit;outline-color:transparent;font-weight:inherit;font-size:var(--calcite-select-font-size, var(--calcite-internal-select-font-size));color:var(--calcite-select-text-color, var(--calcite-color-text-2));border-color:var(--calcite-select-border-color, var(--calcite-color-border-input));border-width:var(--calcite-select-internal-border-width, var(--calcite-border-width-sm));padding-inline:var(--calcite-select-spacing-inline);padding-block:var(--calcite-internal-select-spacing-block);border-inline-end-width:0;line-height:var(--calcite-internal-select-line-height, normal)}.select: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))))}select:disabled{border-color:var(--calcite-color-border-input);--tw-bg-opacity: 1}.icon-container{pointer-events:none;position:absolute;inset-block:0px;display:flex;align-items:center;border-width:0px;border-style:solid;border-color:var(--calcite-color-border-input);background-color:transparent;color:var(--calcite-color-text-2);inset-inline-end:0px;border-color:var(--calcite-select-border-color, var(--calcite-color-border-input));border-inline-width:0px var(--calcite-select-internal-icon-border-inline-end-width, 1px);padding-inline:var(--calcite-internal-select-icon-container-padding-inline)}.icon-container .icon{color:var(--calcite-select-icon-color, var(--calcite-color-text-3))}:host([status=invalid]) select,:host([status=invalid]) .icon-container{border-color:var(--calcite-color-status-danger)}:host([status=invalid]) select:focus,:host([status=invalid]) .icon-container:focus{outline:2px solid var(--calcite-color-status-danger);outline-offset:calc(-2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}.select:focus~.icon-container{border-color:transparent}.validation-container{display:flex;flex-direction:column;align-items:flex-start;align-self:stretch}:host([scale=m]) .validation-container,:host([scale=l]) .validation-container{padding-block-start:.5rem}:host([scale=s]) .validation-container{padding-block-start:.25rem}::slotted(input[slot=hidden-form-input]){margin:0!important;opacity:0!important;outline:none!important;padding:0!important;position:absolute!important;inset:0!important;transform:none!important;-webkit-appearance:none!important;z-index:-1!important}:host([hidden]){display:none}[hidden]{display:none}`,n={icon:"icon",iconContainer:"icon-container",select:"select",wrapper:"wrapper"},T={validationMessage:"selectValidationMessage"};function s(c){return c.tagName==="CALCITE-OPTION"}function A(c){return c.tagName==="CALCITE-OPTION-GROUP"}var r=class extends p{constructor(){super(),this.componentToNativeEl=new Map,this.mutationObserver=f("mutation",()=>this.populateInternalSelect()),this.disabled=!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.value=null,this.width="auto",this.calciteSelectChange=h({cancelable:!1}),this.listen("calciteInternalOptionChange",this.handleOptionOrGroupChange),this.listen("calciteInternalOptionGroupChange",this.handleOptionOrGroupChange)}static{this.properties={disabled:[7,{reflect:!0,type:Boolean}],form:[3,{reflect:!0}],label:1,name:[3,{reflect:!0}],required:[7,{reflect:!0,type:Boolean}],scale:[3,{reflect:!0}],selectedOption:[0,{attribute:!1}],status:[3,{reflect:!0}],validationIcon:[3,{reflect:!0,converter:u}],validationMessage:1,validity:[0,{attribute:!1}],value:1,width:[3,{reflect:!0}]}}static{this.styles=$}async setFocus(){await E(this),g(this.selectEl)}connectedCallback(){super.connectedCallback();let{el:e}=this;this.mutationObserver?.observe(e,{subtree:!0,childList:!0}),C(this),N(this)}willUpdate(e){e.has("value")&&(this.hasUpdated||this.value!==null)&&this.updateItemsFromValue(this.value),e.has("selectedOption")&&(this.value=this.selectedOption?.value)}updated(){w(this)}loaded(){typeof this.value=="string"&&this.updateItemsFromValue(this.value),this.populateInternalSelect();let e=this.selectEl.selectedOptions[0];this.selectFromNativeOption(e),S(this,this.selectedOption?.value??"")}disconnectedCallback(){super.disconnectedCallback(),this.mutationObserver?.disconnect(),y(this),z(this)}handleInternalSelectChange(){let e=this.selectEl.selectedOptions[0];this.selectFromNativeOption(e),requestAnimationFrame(()=>this.emitChangeEvent())}handleOptionOrGroupChange(e){e.stopPropagation();let t=e.target,i=this.componentToNativeEl.get(t);i&&(this.updateNativeElement(t,i),s(t)&&t.selected&&(this.deselectAllExcept(t),this.selectedOption=t))}onLabelClick(){this.setFocus()}updateItemsFromValue(e){this.el.querySelectorAll("calcite-option").forEach(t=>t.selected=t.value===e)}updateNativeElement(e,t){if(t.disabled=e.disabled,t.label=e.label,s(e)){let i=t;i.selected=e.selected,i.value=e.value,i.innerText=e.label}}populateInternalSelect(){let e=Array.from(this.el.children).filter(t=>t.tagName==="CALCITE-OPTION"||t.tagName==="CALCITE-OPTION-GROUP");this.clearInternalSelect(),e.forEach(t=>this.selectEl?.append(this.toNativeElement(t)))}clearInternalSelect(){this.componentToNativeEl.forEach(e=>e.remove()),this.componentToNativeEl.clear()}storeSelectRef(e){e&&(this.selectEl=e)}selectFromNativeOption(e){if(!e)return;let t;this.componentToNativeEl.forEach((i,a)=>{s(a)&&i===e&&(a.selected=!0,t=a,this.deselectAllExcept(a))}),t&&(this.selectedOption=t)}toNativeElement(e){if(s(e)){let t=document.createElement("option");return this.updateNativeElement(e,t),this.componentToNativeEl.set(e,t),t}if(A(e)){let t=document.createElement("optgroup");return this.updateNativeElement(e,t),Array.from(e.children).forEach(i=>{let a=this.toNativeElement(i);t.append(a),this.componentToNativeEl.set(e,a)}),this.componentToNativeEl.set(e,t),t}throw new Error("unsupported element child provided")}deselectAllExcept(e){this.el.querySelectorAll("calcite-option").forEach(t=>{t!==e&&(t.selected=!1)})}emitChangeEvent(){this.calciteSelectChange.emit()}renderChevron(){return o`<div class=${l(n.iconContainer)}><calcite-icon class=${l(n.icon)} icon=chevron-down .scale=${b(this.scale)}></calcite-icon></div>`}render(){let{disabled:e}=this;return x({disabled:e,children:o`<div class=${l(n.wrapper)}><select aria-errormessage=${T.validationMessage} .ariaInvalid=${this.status==="invalid"} .ariaLabel=${I(this)} class=${l(n.select)} .disabled=${e} @change=${this.handleInternalSelectChange} ${v(this.storeSelectRef)}><slot></slot></select>${this.renderChevron()}${O({component:this})}</div>${this.validationMessage&&this.status==="invalid"?k({icon:this.validationIcon,id:T.validationMessage,message:this.validationMessage,scale:this.scale,status:this.status}):null}`})}};m("calcite-select",r);export{r as Select};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v3.2.0-next.
|
|
4
|
-
import{b as o,c as r}from"./
|
|
3
|
+
v3.2.0-next.40 */
|
|
4
|
+
import{b as o,c as r}from"./YD2UXF4G.js";var t="Global";function i(n){return o(n).countries.length===0}function a(n){if(i(n))return t;let e=n.indexOf("/");return e===-1?n:n.slice(0,e)}function c(n){return r(n)?.id??n}export{t as a,a as b,c};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v3.2.0-next.
|
|
4
|
-
import{e as k,i as S,j as I}from"./
|
|
3
|
+
v3.2.0-next.40 */
|
|
4
|
+
import{e as k,i as S,j as I}from"./LUAE2BNR.js";import{b as a}from"./NYF6T3OI.js";import{a as y,b as z}from"./KOH7CJJ2.js";import{a as c}from"./PNGIMH3C.js";import{s as $}from"./4JEZM6VX.js";import{a as d,b as w}from"./VOMFC6A5.js";import"./PB3OJ43M.js";import{a as C}from"./6DCGXB5R.js";import{K as v,e as p,g as o,k as f,w as r,x as g,y as i,z as x}from"./EYWRTO2E.js";var t={active:"label--active",centerContent:"center-content",container:"container",iconCustom:"icon--custom",description:"description",icon:"icon",label:"label",scale:m=>`scale--${m}`,shortText:"short-text",single:"label--single",textContainer:"text-container",heading:"heading"},H={contentEnd:"content-end",contentStart:"content-start"},P=p`: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([hidden]){display:none}[hidden]{display:none}.scale--s{font-size:var(--calcite-font-size--2);line-height:1rem;--calcite-internal-combobox-item-spacing-unit-s: .25rem;--calcite-internal-combobox-item-spacing-unit-l: .5rem;--calcite-combobox-item-selector-icon-size: 1rem;--calcite-internal-combobox-item-description-font-size: var(--calcite-font-size-xs)}.scale--m{font-size:var(--calcite-font-size--1);line-height:1rem;--calcite-internal-combobox-item-spacing-unit-s: .375rem;--calcite-internal-combobox-item-spacing-unit-l: .75rem;--calcite-combobox-item-selector-icon-size: 1rem;--calcite-internal-combobox-item-description-font-size: var(--calcite-font-size-sm)}.scale--l{font-size:var(--calcite-font-size-0);line-height:1.25rem;--calcite-internal-combobox-item-spacing-unit-s: .625rem;--calcite-internal-combobox-item-spacing-unit-l: 1rem;--calcite-combobox-item-selector-icon-size: 1.5rem;--calcite-internal-combobox-item-description-font-size: var(--calcite-font-size)}.container{--calcite-combobox-item-indent-value: calc( var(--calcite-internal-combobox-item-spacing-unit-l) * var(--calcite-combobox-item-spacing-indent-multiplier) )}:host(:focus){--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host,ul{margin:0;display:flex;flex-direction:column;padding:0}:host(:focus),ul:focus{outline:2px solid transparent;outline-offset:2px}.label{position:relative;box-sizing:border-box;display:flex;inline-size:100%;min-inline-size:100%;cursor:pointer;align-items:center;text-decoration-line:none;transition-timing-function:cubic-bezier(.4,0,.2,1);outline-color:transparent;word-wrap:break-word;word-break:break-word;justify-content:space-around;gap:var(--calcite-internal-combobox-item-spacing-unit-l);padding-block:var(--calcite-internal-combobox-item-spacing-unit-s);padding-inline-end:var(--calcite-internal-combobox-item-spacing-unit-l);padding-inline-start:var(--calcite-combobox-item-indent-value);color:var(--calcite-combobox-text-color, var(--calcite-color-text-3));transition-duration:var(--calcite-animation-timing)}:host([disabled]) .label{cursor:default}.label--active{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))))}.label:hover{background-color:var(--calcite-combobox-item-background-color-hover, var(--calcite-color-foreground-2));color:var(--calcite-combobox-text-color-hover, var(--calcite-color-text-1))}.label:active{background-color:var(--calcite-combobox-item-background-color-active, var(--calcite-color-foreground-3))}:host([selected]) .label,.label:active{color:var(--calcite-combobox-text-color-hover, var(--calcite-color-text-1))}:host([selected]) .label .description,:host([selected]) .label .short-text,.label:active .description,.label:active .short-text{color:var(--calcite-combobox-description-text-color-press, var(--calcite-color-text-2))}.icon{display:inline-flex;transition-duration:.15s;transition-timing-function:cubic-bezier(.4,0,.2,1);color:var(--calcite-color-border-input)}:host([selected]) .icon{color:var(--calcite-combobox-selected-icon-color, var(--calcite-color-brand))}.icon--custom{margin-block-start:-1px}.center-content{display:flex;flex-direction:column;flex-grow:1;padding-block:0}.description{font-size:var(--calcite-internal-combobox-item-description-font-size)}.short-text{white-space:nowrap}.heading{color:var(--calcite-combobox-heading-text-color, var(--calcite-color-text-1))}.description,.short-text{color:var(--calcite-combobox-description-text-color, var(--calcite-color-text-3))}:host([selected]) .heading{font-weight:var(--calcite-font-weight-medium)}.heading,.description,.short-text{line-height:var(--calcite-font-line-height-relative-snug)}:host([item-hidden]){display:none}.text-match{background-color:transparent;color:inherit;font-weight:var(--calcite-font-weight-bold)}`,h=class extends g{constructor(){super(...arguments),this.hasContent=!1,this._selected=!1,this.active=!1,this.disabled=!1,this.guid=C(),this.iconFlipRtl=!1,this.scale="m",this.selectionMode="multiple",this.itemHidden=!1,this.calciteComboboxItemChange=r({cancelable:!1}),this.calciteInternalComboboxItemChange=r({cancelable:!1})}static{this.properties={hasContent:[16,{state:!0}],active:[7,{reflect:!0,type:Boolean}],ancestors:[0,{attribute:!1}],description:1,disabled:[7,{reflect:!0,type:Boolean}],filterDisabled:[7,{reflect:!0,type:Boolean}],filterTextMatchPattern:[2,{reflect:!0,attribute:!1}],guid:[3,{reflect:!0}],heading:1,icon:[3,{reflect:!0}],iconFlipRtl:[7,{reflect:!0,type:Boolean}],label:1,metadata:[0,{attribute:!1}],scale:1,selected:[7,{reflect:!0,type:Boolean}],selectionMode:[3,{reflect:!0}],shortHeading:1,textLabel:[3,{reflect:!0}],value:1,itemHidden:[7,{reflect:!0,type:Boolean}]}}static{this.styles=P}get selected(){return this._selected}set selected(e){let l=this._selected;e!==l&&(this._selected=e,this.emitItemChange())}connectedCallback(){super.connectedCallback(),this.ancestors=k(this.el)}load(){w(this,"value","textLabel")}willUpdate(e){this.hasUpdated&&(e.has("disabled")||e.has("heading")||e.has("label")||e.has("textLabel"))&&this.emitItemChange()}updated(){y(this)}emitItemChange(){this.calciteInternalComboboxItemChange.emit()}handleDefaultSlotChange(e){this.hasContent=$(e)}toggleSelected(){let e=this.selectionMode==="single-persist";this.disabled||e&&this.selected||(this.selected=!this.selected,this.calciteComboboxItemChange.emit())}itemClickHandler(){this.toggleSelected()}renderIcon(e){return this.icon?c("icon",o`<calcite-icon class=${i({[t.iconCustom]:!!this.icon})} .flipRtl=${this.iconFlipRtl} .icon=${this.icon||e} .scale=${d(this.scale)}></calcite-icon>`):null}renderSelectIndicator(e){return c("indicator",o`<calcite-icon class=${i({[t.icon]:!0})} .flipRtl=${this.iconFlipRtl} .icon=${e} .scale=${d(this.scale)}></calcite-icon>`)}renderChildren(){return c("default-slot-container",o`<ul .hidden=${!this.hasContent}><slot @slotchange=${this.handleDefaultSlotChange}></slot></ul>`)}render(){let{disabled:e,heading:l,label:L,textLabel:M,value:R,filterTextMatchPattern:n,description:b,shortHeading:u}=this,s=I(this.selectionMode),T=e||s?void 0:"check-square-f",B=s?this.selected?"circle-inset-large":"circle":this.selected?"check-square-f":"square",E=l||M,q=L||R,D={[t.label]:!0,[t.active]:this.active,[t.single]:s},F=S(this.el);return this.el.ariaHidden="true",this.el.ariaLabel=q,z({disabled:e,children:o`<div class=${i({[t.container]:!0,[t.scale(this.scale)]:!0})} style=${x({"--calcite-combobox-item-spacing-indent-multiplier":`${F}`})}><li class=${i(D)} id=${this.guid??f} @click=${this.itemClickHandler}>${this.renderSelectIndicator(B)}<slot name=${H.contentStart}></slot>${this.renderIcon(T)}<div class=${i(t.centerContent)}><div class=${i(t.heading)}>${a({text:E,pattern:n})}</div>${b?o`<div class=${i(t.description)}>${a({text:b,pattern:n})}</div>`:null}</div>${u?o`<div class=${i(t.shortText)}>${a({text:u,pattern:n})}</div>`:null}<slot name=${H.contentEnd}></slot></li>${this.renderChildren()}</div>`})}};v("calcite-combobox-item",h);export{h as ComboboxItem};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v3.2.0-next.
|
|
4
|
-
import{a,b}from"./
|
|
3
|
+
v3.2.0-next.40 */
|
|
4
|
+
import{a,b}from"./QWS3K5HU.js";import"./YD2UXF4G.js";export{b as normalize,a as timeZones};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v3.2.0-next.
|
|
4
|
-
import{b as p}from"./
|
|
3
|
+
v3.2.0-next.40 */
|
|
4
|
+
import{b as p}from"./JGJKOHCP.js";import{b as S,f as T,g as F,k as g,l as A}from"./XZK2I4C2.js";var H=5;function x({locale:e,numberingSystem:t,includeSeconds:n=!0,fractionalSecondDigits:i,hour12:r}){let o={hour:"2-digit",minute:"2-digit",timeZone:"UTC",numberingSystem:F(t)};return typeof r=="boolean"&&(o.hour12=r),n&&(o.second="2-digit",i&&(o.fractionalSecondDigits=i)),A(e,o)}function D(e,t){return parseFloat(`0.${e}`).toFixed(p(t)).replace("0.","")}function h(e,t){if(e==null)return;let n=e.toString(),i=p(e);if(e<1&&i>0&&i<4){let r=n.replace("0.","");return!t||r.length===t?r:r.length<t?r.padEnd(t,"0"):r}if(e>=0&&e<10)return n.padStart(2,"0");if(e>=10)return n}function y(e){return parseInt((parseFloat(`0.${e}`)/.001).toFixed(3))}function N(e){let t={locale:e};return e==="mk"?t.hour12=!1:e.toLowerCase()==="es-mx"&&(t.hour12=!0),x(t).formatToParts(new Date(Date.UTC(0,0,0,0,0,0))).find(({type:r})=>r==="dayPeriod")?.value?"12":"24"}function b({locale:e,meridiem:t,parts:n}){let i=["he","bs","mk"],r;if(n){if(r=n.find(({type:o})=>o==="dayPeriod")?.value||null,e&&i.includes(e)){let o=T.get(e);r==="PM"&&(r=o.pm),r==="AM"&&(r=o.am)}}else if(t)if(i.includes(e)){let o=T.get(e);r=t==="PM"?o.pm:o.am}else{let o=x({locale:e,hour12:!0}),a=6,s=18,d=new Date(Date.UTC(0,0,0,t==="AM"?a:s,0));r=o.formatToParts(d).find(({type:u})=>u==="dayPeriod")?.value||null}return r}function M(e,t){return g.numberFormatOptions={locale:e,numberingSystem:t},g.localize("1.1").split("")[1]}function U(e,t,n="latn"){let r=x({locale:t,numberingSystem:n}).formatToParts(new Date(Date.UTC(0,0,0,0,0,0)));return c(`${e}Suffix`,r)}function c(e,t,n="en"){if(!e||!t)return null;if(e==="hourSuffix"){let i=t.indexOf(t.find(({type:a})=>a==="hour")),r=t.indexOf(t.find(({type:a})=>a==="minute")),o=t[i+1];return o&&o.type==="literal"&&r-i===2&&o.value?.trim()||null}if(e==="minuteSuffix"){let i=t.indexOf(t.find(({type:a})=>a==="minute")),r=t.indexOf(t.find(({type:a})=>a==="second")),o=t[i+1];return o&&o.type==="literal"&&r-i===2&&o.value?.trim()||null}if(e==="secondSuffix"){let i,r=t.indexOf(t.find(({type:o})=>o==="fractionalSecond"));if(r)i=t[r+1];else{let o=t.indexOf(t.find(({type:a})=>a==="second"));i=t[o+1]}return i&&i.type==="literal"&&i.value?.trim()||null}return e==="meridiem"&&(t.find(({type:r})=>r==="dayPeriod")?.value||null)?b({locale:n,parts:t}):t.find(({type:i})=>i===e)?.value||null}function V(e){if(!S(e))return null;let t=parseInt(e);return t>=0&&t<=11?"AM":"PM"}function B(e){return new Intl.DateTimeFormat(e,{hour:"2-digit",hour12:!0,minute:"2-digit",timeZone:"UTC"}).formatToParts(new Date(Date.UTC(0,0,0,0,0))).findIndex(i=>i.type==="dayPeriod")}function z(e){if(!e||typeof e=="string"&&(e.startsWith(":")||e.endsWith(":"))||typeof e!="string"&&(!e.hour||!e.minute))return!1;let t,n,i;if(typeof e=="string"?[t,n,i]=e.split(":"):{hour:t,minute:n,second:i}=e,!t||!n)return!1;let r=parseInt(t),o=parseInt(n),a=parseInt(i),s=S(t)&&r>=0&&r<24,d=S(n)&&o>=0&&o<60,m=S(i)&&a>=0&&a<60;return!!(s&&d&&!i||s&&d&&m)}function w(e,t){if(t==="meridiem")return e==="AM"||e==="PM";if(!S(e))return!1;let n=Number(e);return t==="hour"?n>=0&&n<24:t==="fractionalSecond"?n>=0&&n<=999:n>=0&&n<60}function L({value:e,part:t,locale:n,numberingSystem:i="latn",hour12:r}){if(!w(e,t))return;if(t==="fractionalSecond"){let m=M(n,i),u=null;if(e){g.numberFormatOptions={locale:n,numberingSystem:i};let l=g.localize("0");parseInt(e)===0?u="".padStart(e.length,l):(u=g.localize(`0.${e}`).replace(`${l}${m}`,""),u.length<e.length&&(u=u.padEnd(e.length,l)))}return u}let o=parseInt(e),a=new Date(Date.UTC(0,0,0,t==="hour"?o:t==="meridiem"?e==="AM"?0:12:0,t==="minute"?o:0,t==="second"?o:0));if(!a)return;let d=x({hour12:r,locale:n,numberingSystem:i}).formatToParts(a);return c(t,d,n)}function W({hour12:e,includeSeconds:t=!0,locale:n,numberingSystem:i="latn",parts:r=!1,step:o,value:a}){if(!z(a))return null;let{hour:s,minute:d,second:m="0",fractionalSecond:u}=$(a,o),l=new Date(Date.UTC(0,0,0,parseInt(s),parseInt(d),parseInt(m),u&&y(u))),P=x({fractionalSecondDigits:p(o),hour12:e,includeSeconds:t,locale:n,numberingSystem:i});if(r){let f=P.formatToParts(l);return{localizedHour:c("hour",f),localizedHourSuffix:c("hourSuffix",f),localizedMinute:c("minute",f),localizedMinuteSuffix:c("minuteSuffix",f),localizedSecond:c("second",f),localizedDecimalSeparator:M(n,i),localizedFractionalSecond:c("fractionalSecond",f),localizedSecondSuffix:n!=="bg"&&c("secondSuffix",f),localizedMeridiem:c("meridiem",f,n)}}else{let f=P.format(l)||null;if(!r&&typeof f=="string"&&n==="bg"&&f&&f.includes(" \u0447.")&&(f=f.replaceAll(" \u0447.","")),["he","bs","mk"].includes(n)){let I=T.get(n);f.includes("AM")?f=f.replaceAll("AM",I.am):f.includes("PM")&&(f=f.replaceAll("PM",I.pm)),n!=="he"&&f.indexOf(".")!==f.length-1&&(f=f.replace(".",","))}return f}}function k({hour12:e,locale:t,numberingSystem:n="latn",step:i=60,value:r}){if(!z(r))return null;let{hour:o,minute:a,second:s="0",fractionalSecond:d}=$(r,i),m=new Date(Date.UTC(0,0,0,parseInt(o),parseInt(a),parseInt(s),d&&y(d)));if(m){let l=x({fractionalSecondDigits:p(i),hour12:e,locale:t,numberingSystem:n}).formatToParts(m);return{localizedHour:c("hour",l),localizedHourSuffix:c("hourSuffix",l),localizedMinute:c("minute",l),localizedMinuteSuffix:c("minuteSuffix",l),localizedSecond:c("second",l),localizedDecimalSeparator:M(t,n),localizedFractionalSecond:c("fractionalSecond",l),localizedSecondSuffix:t!=="bg"&&c("secondSuffix",l),localizedMeridiem:c("meridiem",l,t)}}return null}function $(e,t){if(z(e)){let[n,i,r]=e.split(":"),o=r,a=null;return r?.includes(".")&&([o,a]=r.split(".")),t&&(a=D(a,t)),{fractionalSecond:a,hour:n,minute:i,second:o}}return{fractionalSecond:null,hour:null,minute:null,second:null}}function Z(e,t=60){if(!z(e))return null;let n;if(typeof e=="string"){let[i,r,o]=e.split(":"),a=o,s=null;o?.includes(".")&&([a,s]=o.split(".")),n=`${h(parseInt(i))}:${h(parseInt(r))}`,t<60&&(n+=`:${h(parseInt(a||"0"))}`,t<1&&(n+=`.${D(s,t)}`))}else{let{hour:i,minute:r}=e;i&&r?(n=`${h(parseInt(e.hour))}:${h(parseInt(e.minute))}`,t<60&&(n+=`:${h(parseInt(e.second||"0"))}`,t<1&&(n+=`.${D(e.fractionalSecond||"0",t)}`))):n=null}return n}export{H as a,h as b,N as c,b as d,M as e,U as f,V as g,B as h,z as i,L as j,W as k,k as l,$ as m,Z as n};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v3.2.0-next.
|
|
4
|
-
import{a as o,b as f,c as b}from"./
|
|
3
|
+
v3.2.0-next.40 */
|
|
4
|
+
import{a as o,b as f,c as b}from"./LWBS4ZDT.js";import{a as g}from"./7EKOSZOZ.js";import{b as a}from"./XJUNWEHJ.js";import{n as m,u as d}from"./4JEZM6VX.js";import{d as h}from"./VOMFC6A5.js";import"./PB3OJ43M.js";import"./6DCGXB5R.js";import{K as p,e as r,g as t,x as c,y as u}from"./EYWRTO2E.js";var M=r`: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{display:flex;flex-direction:column;padding:0;background-color:transparent;border-color:var(--calcite-action-group-border-color, var(--calcite-color-border-3));border-style:solid;border-width:0}.container{display:flex;flex-grow:1;flex-direction:column}:host([columns="1"]){--calcite-internal-action-group-columns: 1}:host([columns="2"]){--calcite-internal-action-group-columns: 2}:host([columns="3"]){--calcite-internal-action-group-columns: 3}:host([columns="4"]){--calcite-internal-action-group-columns: 4}:host([columns="5"]){--calcite-internal-action-group-columns: 5}:host([columns="6"]){--calcite-internal-action-group-columns: 6}:host(:first-child){padding-block-start:0px}:host([layout=horizontal]),:host([layout=horizontal]) .container{flex-direction:row}:host([layout=grid]){display:grid}:host([layout=grid]) .container{display:grid;place-content:stretch;background-color:transparent;grid-template-columns:repeat(var(--calcite-action-group-columns, var(--calcite-internal-action-group-columns, 3)),auto);gap:var(--calcite-action-group-gap, 1px);padding:var(--calcite-action-group-gap, 1px)}:host([layout=horizontal]) ::slotted(calcite-action-group){border-inline-end:var(--calcite-size-px)}:host([hidden]){display:none}[hidden]{display:none}`,n=class extends c{constructor(){super(...arguments),this.hasMenuActions=!1,this.expanded=!1,this.layout="vertical",this.menuOpen=!1,this.messages=g(),this.overlayPositioning="absolute",this.scale="m"}static{this.properties={hasMenuActions:[16,{state:!0}],columns:[11,{type:Number,reflect:!0}],expanded:[7,{reflect:!0,type:Boolean}],label:1,layout:[3,{reflect:!0}],menuFlipPlacements:[0,{attribute:!1}],menuOpen:[7,{reflect:!0,type:Boolean}],menuPlacement:[3,{reflect:!0}],messageOverrides:[0,{attribute:!1}],overlayPositioning:[3,{reflect:!0}],scale:[3,{reflect:!0}]}}static{this.shadowRootOptions={mode:"open",delegatesFocus:!0}}static{this.styles=M}async setFocus(){await h(this),m(this.el)}willUpdate(e){e.has("expanded")&&(this.hasUpdated||this.expanded!==!1)&&(this.menuOpen=!1)}setMenuOpen(e){this.menuOpen=!!e.currentTarget.open}handleMenuActionsSlotChange(e){this.hasMenuActions=d(e)}renderMenu(){let{expanded:e,menuOpen:x,scale:s,layout:i,messages:l,overlayPositioning:y,hasMenuActions:$,menuFlipPlacements:v,menuPlacement:O}=this;return t`<calcite-action-menu .expanded=${e} .flipPlacements=${v??(i==="horizontal"?["top","bottom"]:["left","right"])} .hidden=${!$} .label=${l.more} @calciteActionMenuOpen=${this.setMenuOpen} .open=${x} .overlayPositioning=${y} .placement=${O??(i==="horizontal"?"bottom-start":"leading-start")} .scale=${s}><calcite-action .icon=${f.menu} .scale=${s} slot=${a.trigger} .text=${l.more} .textEnabled=${e}></calcite-action><slot name=${o.menuActions} @slotchange=${this.handleMenuActionsSlotChange}></slot><slot name=${o.menuTooltip} slot=${a.tooltip}></slot></calcite-action-menu>`}render(){return t`<div .ariaLabel=${this.label} class=${u(b.container)} role=group><slot></slot>${this.renderMenu()}</div>`}};p("calcite-action-group",n);export{n as ActionGroup};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v3.2.0-next.
|
|
4
|
-
import{a as x}from"./BXNTEQDG.js";import{c as h,e as C,f as L,g as O,h as S,i as p}from"./5Q54AMGC.js";import{a as y}from"./HBU463EW.js";import"./GZUOSY5I.js";import"./RFI4KO6W.js";import{b as d}from"./U2YGN4RT.js";import{h as H,j as k}from"./LLN5DNPL.js";import{a as b}from"./R3CUJDU2.js";import{B as E,K as w,e as v,g,w as n,x as T,y as l}from"./MZMZSY5A.js";var R={positionContainer:"position-container",container:"container"},m=300,_=m/3,D=m*1.5,A="aria-describedby";function I(s){let{referenceElement:e}=s;return(typeof e=="string"?k(s,{id:e}):e)||null}var u=class{constructor(){this.registeredElements=new WeakMap,this.registeredShadowRootCounts=new WeakMap,this.hoverOpenTimeout=null,this.hoverCloseTimeout=null,this.activeTooltip=null,this.registeredElementCount=0,this.clickedTooltip=null,this.hoveredTooltip=null,this.queryTooltip=e=>{let{registeredElements:t}=this,i=e.find(o=>t.has(o));return t.get(i)},this.keyDownHandler=e=>{if(e.key==="Escape"&&!e.defaultPrevented){let{activeTooltip:t}=this;if(t?.open){this.clearHoverTimeout(),this.closeActiveTooltip();let i=I(t),o=e.composedPath();(i instanceof Element&&o.includes(i)||o.includes(t))&&e.preventDefault()}}},this.pointerLeaveHandler=()=>{this.clearHoverTimeout(),this.closeHoveredTooltip()},this.pointerMoveHandler=e=>{if(e.defaultPrevented){this.closeHoveredTooltip();return}let t=e.composedPath(),{activeTooltip:i}=this,o=this.queryTooltip(t);if(this.pathHasOpenTooltip(o,t)){this.clearHoverTimeout();return}o!==this.clickedTooltip&&(o!==this.hoveredTooltip&&this.clearHoverOpenTimeout(),this.hoveredTooltip=o,o?this.openHoveredTooltip(o):i?.open&&this.closeHoveredTooltip(),this.clickedTooltip=null)},this.clickHandler=e=>{if(e.defaultPrevented)return;this.clickedTooltip=null;let t=e.composedPath(),i=this.queryTooltip(t);if(this.pathHasOpenTooltip(i,t)){this.clearHoverTimeout();return}if(this.closeActiveTooltip(),!!i){if(this.clearHoverTimeout(),i.closeOnClick){this.clickedTooltip=i,this.toggleTooltip(i,!1);return}this.toggleTooltip(i,!0)}},this.blurHandler=()=>{this.closeActiveTooltip()},this.focusInHandler=e=>{if(e.defaultPrevented)return;let t=e.composedPath(),i=this.queryTooltip(t);if(this.pathHasOpenTooltip(i,t)){this.clearHoverTimeout();return}i!==this.clickedTooltip&&(this.clickedTooltip=null,this.closeTooltipIfNotActive(i),i&&this.toggleFocusedTooltip(i,!0))},this.openHoveredTooltip=e=>{this.hoverOpenTimeout=window.setTimeout(()=>{this.hoverOpenTimeout===null||e!==this.hoveredTooltip||(this.clearHoverCloseTimeout(),this.closeTooltipIfNotActive(e),this.toggleTooltip(e,!0))},this.activeTooltip?.open?_:m)},this.closeHoveredTooltip=()=>{this.hoverCloseTimeout=window.setTimeout(()=>{this.hoverCloseTimeout!==null&&this.closeActiveTooltip()},D)}}registerElement(e,t){this.registeredElementCount++,this.registeredElements.set(e,t);let i=this.getReferenceElShadowRootNode(e);i&&this.registerShadowRoot(i),this.registeredElementCount===1&&this.addListeners()}unregisterElement(e){let t=this.getReferenceElShadowRootNode(e);t&&this.unregisterShadowRoot(t),this.registeredElements.delete(e)&&this.registeredElementCount--,this.registeredElementCount===0&&this.removeListeners()}pathHasOpenTooltip(e,t){let{activeTooltip:i}=this;return i?.open&&t.includes(i)||e?.open&&t.includes(e)}addShadowListeners(e){e.addEventListener("focusin",this.focusInHandler)}removeShadowListeners(e){e.removeEventListener("focusin",this.focusInHandler)}addListeners(){window.addEventListener("keydown",this.keyDownHandler),window.addEventListener("pointermove",this.pointerMoveHandler),window.addEventListener("click",this.clickHandler),window.addEventListener("focusin",this.focusInHandler),window.addEventListener("blur",this.blurHandler),document.addEventListener("pointerleave",this.pointerLeaveHandler)}removeListeners(){window.removeEventListener("keydown",this.keyDownHandler),window.removeEventListener("pointermove",this.pointerMoveHandler),window.removeEventListener("click",this.clickHandler),window.removeEventListener("focusin",this.focusInHandler),window.removeEventListener("blur",this.blurHandler),document.removeEventListener("pointerleave",this.pointerLeaveHandler)}clearHoverOpenTimeout(){window.clearTimeout(this.hoverOpenTimeout),this.hoverOpenTimeout=null}clearHoverCloseTimeout(){window.clearTimeout(this.hoverCloseTimeout),this.hoverCloseTimeout=null}clearHoverTimeout(){this.clearHoverOpenTimeout(),this.clearHoverCloseTimeout()}closeTooltipIfNotActive(e){this.activeTooltip!==e&&this.closeActiveTooltip()}closeActiveTooltip(){let{activeTooltip:e}=this;e?.open&&this.toggleTooltip(e,!1)}toggleFocusedTooltip(e,t){t&&this.clearHoverTimeout(),this.toggleTooltip(e,t)}toggleTooltip(e,t){e.open=t,this.activeTooltip=t?e:null}registerShadowRoot(e){let{registeredShadowRootCounts:t}=this,i=t.get(e),o=Math.min((typeof i=="number"?i:0)+1,1);o===1&&this.addShadowListeners(e),t.set(e,o)}unregisterShadowRoot(e){let{registeredShadowRootCounts:t}=this,i=t.get(e),o=Math.max((typeof i=="number"?i:1)-1,0);o===0&&this.removeShadowListeners(e),t.set(e,o)}getReferenceElShadowRootNode(e){return e instanceof Element?H(e):null}},U=v`:host{display:contents;--calcite-floating-ui-z-index: var(--calcite-tooltip-z-index, var(--calcite-z-index-tooltip))}.position-container{inline-size:max-content;display:none;max-inline-size:100vw;max-block-size:100vh;inset-block-start:0;left:0;z-index:var(--calcite-floating-ui-z-index)}.position-container .calcite-floating-ui-anim{position:relative;transition:var(--calcite-floating-ui-transition);transition-property:inset,left,opacity;opacity:0;box-shadow:0 0 16px #00000029;z-index:var(--calcite-z-index);border-radius:.25rem}.position-container[data-placement^=bottom] .calcite-floating-ui-anim{inset-block-start:-5px}.position-container[data-placement^=top] .calcite-floating-ui-anim{inset-block-start:5px}.position-container[data-placement^=left] .calcite-floating-ui-anim{left:5px}.position-container[data-placement^=right] .calcite-floating-ui-anim{left:-5px}.position-container[data-placement] .calcite-floating-ui-anim--active{opacity:1;inset-block-start:0;left:0}.calcite-floating-ui-arrow{pointer-events:none;position:absolute;z-index:calc(var(--calcite-z-index) * -1);fill:var(--calcite-color-foreground-1)}.calcite-floating-ui-arrow__stroke{stroke:var(--calcite-color-border-3)}.container{position:relative;overflow:hidden;padding:.75rem 1rem;font-size:var(--calcite-font-size--2);line-height:1.375;font-weight:var(--calcite-font-weight-medium);border-radius:var(--calcite-tooltip-corner-radius, var(--calcite-corner-radius-round));color:var(--calcite-tooltip-text-color, var(--calcite-color-text-1));max-inline-size:20rem;max-block-size:20rem;text-align:start}.position-container .calcite-floating-ui-anim{border-width:1px;border-style:solid;background-color:var(--calcite-tooltip-background-color, var(--calcite-color-foreground-1));border-color:var(--calcite-tooltip-border-color, var(--calcite-color-border-3));border-radius:var(--calcite-tooltip-corner-radius, var(--calcite-corner-radius-round))}.calcite-floating-ui-arrow{fill:var(--calcite-tooltip-background-color, var(--calcite-color-foreground-1))}.calcite-floating-ui-arrow__stroke{stroke:var(--calcite-tooltip-border-color, var(--calcite-color-border-3))}:host([hidden]){display:none}[hidden]{display:none}`,P=new u,f=class extends T{constructor(){super(...arguments),this.guid=`calcite-tooltip-${b()}`,this.transitionProp="opacity",this.floatingLayout="vertical",this.closeOnClick=!1,this.offsetDistance=p,this.offsetSkidding=0,this.open=!1,this.overlayPositioning="absolute",this.placement="auto",this.calciteTooltipBeforeClose=n({cancelable:!1}),this.calciteTooltipBeforeOpen=n({cancelable:!1}),this.calciteTooltipClose=n({cancelable:!1}),this.calciteTooltipOpen=n({cancelable:!1})}static{this.properties={floatingLayout:[16,{state:!0}],referenceEl:[16,{state:!0}],closeOnClick:[7,{reflect:!0,type:Boolean}],label:1,offsetDistance:[11,{type:Number,reflect:!0}],offsetSkidding:[11,{reflect:!0,type:Number}],open:[7,{reflect:!0,type:Boolean}],overlayPositioning:[3,{reflect:!0}],placement:[3,{reflect:!0}],referenceElement:1}}static{this.styles=U}async reposition(e=!1){let{referenceEl:t,placement:i,overlayPositioning:o,offsetDistance:r,offsetSkidding:a,arrowEl:c,floatingEl:z}=this;return C(this,{floatingEl:z,referenceEl:t,overlayPositioning:o,placement:i,offsetDistance:r,offsetSkidding:a,arrowEl:c,type:"tooltip"},e)}connectedCallback(){super.connectedCallback(),this.setUpReferenceElement(!0)}willUpdate(e){(e.has("offsetDistance")&&(this.hasUpdated||this.offsetDistance!==p)||e.has("offsetSkidding")&&(this.hasUpdated||this.offsetSkidding!==0)||e.has("overlayPositioning")&&(this.hasUpdated||this.overlayPositioning!=="absolute")||e.has("placement")&&(this.hasUpdated||this.placement!=="auto"))&&this.reposition(!0),e.has("open")&&(this.hasUpdated||this.open!==!1)&&this.openHandler(),e.has("referenceElement")&&this.setUpReferenceElement()}loaded(){this.referenceElement&&!this.referenceEl&&this.setUpReferenceElement()}disconnectedCallback(){super.disconnectedCallback(),this.removeReferences(),S(this)}openHandler(){y(this),this.reposition(!0)}onBeforeOpen(){this.calciteTooltipBeforeOpen.emit()}onOpen(){this.calciteTooltipOpen.emit()}onBeforeClose(){this.calciteTooltipBeforeClose.emit()}onClose(){this.calciteTooltipClose.emit(),L(this)}setFloatingEl(e){this.floatingEl=e,e&&requestAnimationFrame(()=>this.setUpReferenceElement())}setTransitionEl(e){e&&(this.transitionEl=e)}setUpReferenceElement(e=!0){this.removeReferences(),this.referenceEl=I(this.el),O(this);let{el:t,referenceElement:i,referenceEl:o}=this;e&&i&&!o&&console.warn(`${t.tagName}: reference-element id "${i}" was not found.`,{el:t}),this.addReferences()}getId(){return this.el.id||this.guid}addReferences(){let{referenceEl:e}=this;if(!e)return;let t=this.getId();"setAttribute"in e&&e.setAttribute(A,t),P.registerElement(e,this.el)}removeReferences(){let{referenceEl:e}=this;e&&("removeAttribute"in e&&e.removeAttribute(A),P.unregisterElement(e))}render(){let{referenceEl:e,label:t,open:i,floatingLayout:o}=this,r=e&&i,a=!r;return this.el.inert=a,this.el.ariaLabel=t,this.el.ariaLive="polite",E(this.el,"id",this.getId()),this.el.role="tooltip",g`<div class=${l(R.positionContainer)} ${d(this.setFloatingEl)}><div class=${l({[h.animation]:!0,[h.animationActive]:r})} ${d(this.setTransitionEl)}>${x({floatingLayout:o,ref:c=>this.arrowEl=c})}<div class=${l(R.container)}><slot></slot></div></div></div>`}};w("calcite-tooltip",f);export{f as Tooltip};
|
|
3
|
+
v3.2.0-next.40 */
|
|
4
|
+
import{a as x}from"./D33THSDQ.js";import{c as h,e as C,f as L,g as O,h as S,i as p}from"./WIA2UZRQ.js";import{a as y}from"./6JABLZT7.js";import"./PNGIMH3C.js";import"./HPNQQK6A.js";import{b as d}from"./6P5PSH65.js";import{h as H,j as k}from"./4JEZM6VX.js";import{a as b}from"./6DCGXB5R.js";import{B as E,K as w,e as v,g,w as n,x as T,y as l}from"./EYWRTO2E.js";var R={positionContainer:"position-container",container:"container"},m=300,_=m/3,D=m*1.5,A="aria-describedby";function I(s){let{referenceElement:e}=s;return(typeof e=="string"?k(s,{id:e}):e)||null}var u=class{constructor(){this.registeredElements=new WeakMap,this.registeredShadowRootCounts=new WeakMap,this.hoverOpenTimeout=null,this.hoverCloseTimeout=null,this.activeTooltip=null,this.registeredElementCount=0,this.clickedTooltip=null,this.hoveredTooltip=null,this.queryTooltip=e=>{let{registeredElements:t}=this,i=e.find(o=>t.has(o));return t.get(i)},this.keyDownHandler=e=>{if(e.key==="Escape"&&!e.defaultPrevented){let{activeTooltip:t}=this;if(t?.open){this.clearHoverTimeout(),this.closeActiveTooltip();let i=I(t),o=e.composedPath();(i instanceof Element&&o.includes(i)||o.includes(t))&&e.preventDefault()}}},this.pointerLeaveHandler=()=>{this.clearHoverTimeout(),this.closeHoveredTooltip()},this.pointerMoveHandler=e=>{if(e.defaultPrevented){this.closeHoveredTooltip();return}let t=e.composedPath(),{activeTooltip:i}=this,o=this.queryTooltip(t);if(this.pathHasOpenTooltip(o,t)){this.clearHoverTimeout();return}o!==this.clickedTooltip&&(o!==this.hoveredTooltip&&this.clearHoverOpenTimeout(),this.hoveredTooltip=o,o?this.openHoveredTooltip(o):i?.open&&this.closeHoveredTooltip(),this.clickedTooltip=null)},this.clickHandler=e=>{if(e.defaultPrevented)return;this.clickedTooltip=null;let t=e.composedPath(),i=this.queryTooltip(t);if(this.pathHasOpenTooltip(i,t)){this.clearHoverTimeout();return}if(this.closeActiveTooltip(),!!i){if(this.clearHoverTimeout(),i.closeOnClick){this.clickedTooltip=i,this.toggleTooltip(i,!1);return}this.toggleTooltip(i,!0)}},this.blurHandler=()=>{this.closeActiveTooltip()},this.focusInHandler=e=>{if(e.defaultPrevented)return;let t=e.composedPath(),i=this.queryTooltip(t);if(this.pathHasOpenTooltip(i,t)){this.clearHoverTimeout();return}i!==this.clickedTooltip&&(this.clickedTooltip=null,this.closeTooltipIfNotActive(i),i&&this.toggleFocusedTooltip(i,!0))},this.openHoveredTooltip=e=>{this.hoverOpenTimeout=window.setTimeout(()=>{this.hoverOpenTimeout===null||e!==this.hoveredTooltip||(this.clearHoverCloseTimeout(),this.closeTooltipIfNotActive(e),this.toggleTooltip(e,!0))},this.activeTooltip?.open?_:m)},this.closeHoveredTooltip=()=>{this.hoverCloseTimeout=window.setTimeout(()=>{this.hoverCloseTimeout!==null&&this.closeActiveTooltip()},D)}}registerElement(e,t){this.registeredElementCount++,this.registeredElements.set(e,t);let i=this.getReferenceElShadowRootNode(e);i&&this.registerShadowRoot(i),this.registeredElementCount===1&&this.addListeners()}unregisterElement(e){let t=this.getReferenceElShadowRootNode(e);t&&this.unregisterShadowRoot(t),this.registeredElements.delete(e)&&this.registeredElementCount--,this.registeredElementCount===0&&this.removeListeners()}pathHasOpenTooltip(e,t){let{activeTooltip:i}=this;return i?.open&&t.includes(i)||e?.open&&t.includes(e)}addShadowListeners(e){e.addEventListener("focusin",this.focusInHandler)}removeShadowListeners(e){e.removeEventListener("focusin",this.focusInHandler)}addListeners(){window.addEventListener("keydown",this.keyDownHandler),window.addEventListener("pointermove",this.pointerMoveHandler),window.addEventListener("click",this.clickHandler),window.addEventListener("focusin",this.focusInHandler),window.addEventListener("blur",this.blurHandler),document.addEventListener("pointerleave",this.pointerLeaveHandler)}removeListeners(){window.removeEventListener("keydown",this.keyDownHandler),window.removeEventListener("pointermove",this.pointerMoveHandler),window.removeEventListener("click",this.clickHandler),window.removeEventListener("focusin",this.focusInHandler),window.removeEventListener("blur",this.blurHandler),document.removeEventListener("pointerleave",this.pointerLeaveHandler)}clearHoverOpenTimeout(){window.clearTimeout(this.hoverOpenTimeout),this.hoverOpenTimeout=null}clearHoverCloseTimeout(){window.clearTimeout(this.hoverCloseTimeout),this.hoverCloseTimeout=null}clearHoverTimeout(){this.clearHoverOpenTimeout(),this.clearHoverCloseTimeout()}closeTooltipIfNotActive(e){this.activeTooltip!==e&&this.closeActiveTooltip()}closeActiveTooltip(){let{activeTooltip:e}=this;e?.open&&this.toggleTooltip(e,!1)}toggleFocusedTooltip(e,t){t&&this.clearHoverTimeout(),this.toggleTooltip(e,t)}toggleTooltip(e,t){e.open=t,this.activeTooltip=t?e:null}registerShadowRoot(e){let{registeredShadowRootCounts:t}=this,i=t.get(e),o=Math.min((typeof i=="number"?i:0)+1,1);o===1&&this.addShadowListeners(e),t.set(e,o)}unregisterShadowRoot(e){let{registeredShadowRootCounts:t}=this,i=t.get(e),o=Math.max((typeof i=="number"?i:1)-1,0);o===0&&this.removeShadowListeners(e),t.set(e,o)}getReferenceElShadowRootNode(e){return e instanceof Element?H(e):null}},U=v`:host{display:contents;--calcite-floating-ui-z-index: var(--calcite-tooltip-z-index, var(--calcite-z-index-tooltip))}.position-container{inline-size:max-content;display:none;max-inline-size:100vw;max-block-size:100vh;inset-block-start:0;left:0;z-index:var(--calcite-floating-ui-z-index)}.position-container .calcite-floating-ui-anim{position:relative;transition:var(--calcite-floating-ui-transition);transition-property:inset,left,opacity;opacity:0;box-shadow:0 0 16px #00000029;z-index:var(--calcite-z-index);border-radius:.25rem}.position-container[data-placement^=bottom] .calcite-floating-ui-anim{inset-block-start:-5px}.position-container[data-placement^=top] .calcite-floating-ui-anim{inset-block-start:5px}.position-container[data-placement^=left] .calcite-floating-ui-anim{left:5px}.position-container[data-placement^=right] .calcite-floating-ui-anim{left:-5px}.position-container[data-placement] .calcite-floating-ui-anim--active{opacity:1;inset-block-start:0;left:0}.calcite-floating-ui-arrow{pointer-events:none;position:absolute;z-index:calc(var(--calcite-z-index) * -1);fill:var(--calcite-color-foreground-1)}.calcite-floating-ui-arrow__stroke{stroke:var(--calcite-color-border-3)}.container{position:relative;overflow:hidden;padding:.75rem 1rem;font-size:var(--calcite-font-size--2);line-height:1.375;font-weight:var(--calcite-font-weight-medium);border-radius:var(--calcite-tooltip-corner-radius, var(--calcite-corner-radius-round));color:var(--calcite-tooltip-text-color, var(--calcite-color-text-1));max-inline-size:20rem;max-block-size:20rem;text-align:start}.position-container .calcite-floating-ui-anim{border-width:1px;border-style:solid;background-color:var(--calcite-tooltip-background-color, var(--calcite-color-foreground-1));border-color:var(--calcite-tooltip-border-color, var(--calcite-color-border-3));border-radius:var(--calcite-tooltip-corner-radius, var(--calcite-corner-radius-round))}.calcite-floating-ui-arrow{fill:var(--calcite-tooltip-background-color, var(--calcite-color-foreground-1))}.calcite-floating-ui-arrow__stroke{stroke:var(--calcite-tooltip-border-color, var(--calcite-color-border-3))}:host([hidden]){display:none}[hidden]{display:none}`,P=new u,f=class extends T{constructor(){super(...arguments),this.guid=`calcite-tooltip-${b()}`,this.transitionProp="opacity",this.floatingLayout="vertical",this.closeOnClick=!1,this.offsetDistance=p,this.offsetSkidding=0,this.open=!1,this.overlayPositioning="absolute",this.placement="auto",this.calciteTooltipBeforeClose=n({cancelable:!1}),this.calciteTooltipBeforeOpen=n({cancelable:!1}),this.calciteTooltipClose=n({cancelable:!1}),this.calciteTooltipOpen=n({cancelable:!1})}static{this.properties={floatingLayout:[16,{state:!0}],referenceEl:[16,{state:!0}],closeOnClick:[7,{reflect:!0,type:Boolean}],label:1,offsetDistance:[11,{type:Number,reflect:!0}],offsetSkidding:[11,{reflect:!0,type:Number}],open:[7,{reflect:!0,type:Boolean}],overlayPositioning:[3,{reflect:!0}],placement:[3,{reflect:!0}],referenceElement:1}}static{this.styles=U}async reposition(e=!1){let{referenceEl:t,placement:i,overlayPositioning:o,offsetDistance:r,offsetSkidding:a,arrowEl:c,floatingEl:z}=this;return C(this,{floatingEl:z,referenceEl:t,overlayPositioning:o,placement:i,offsetDistance:r,offsetSkidding:a,arrowEl:c,type:"tooltip"},e)}connectedCallback(){super.connectedCallback(),this.setUpReferenceElement(!0)}willUpdate(e){(e.has("offsetDistance")&&(this.hasUpdated||this.offsetDistance!==p)||e.has("offsetSkidding")&&(this.hasUpdated||this.offsetSkidding!==0)||e.has("overlayPositioning")&&(this.hasUpdated||this.overlayPositioning!=="absolute")||e.has("placement")&&(this.hasUpdated||this.placement!=="auto"))&&this.reposition(!0),e.has("open")&&(this.hasUpdated||this.open!==!1)&&this.openHandler(),e.has("referenceElement")&&this.setUpReferenceElement()}loaded(){this.referenceElement&&!this.referenceEl&&this.setUpReferenceElement()}disconnectedCallback(){super.disconnectedCallback(),this.removeReferences(),S(this)}openHandler(){y(this),this.reposition(!0)}onBeforeOpen(){this.calciteTooltipBeforeOpen.emit()}onOpen(){this.calciteTooltipOpen.emit()}onBeforeClose(){this.calciteTooltipBeforeClose.emit()}onClose(){this.calciteTooltipClose.emit(),L(this)}setFloatingEl(e){this.floatingEl=e,e&&requestAnimationFrame(()=>this.setUpReferenceElement())}setTransitionEl(e){e&&(this.transitionEl=e)}setUpReferenceElement(e=!0){this.removeReferences(),this.referenceEl=I(this.el),O(this);let{el:t,referenceElement:i,referenceEl:o}=this;e&&i&&!o&&console.warn(`${t.tagName}: reference-element id "${i}" was not found.`,{el:t}),this.addReferences()}getId(){return this.el.id||this.guid}addReferences(){let{referenceEl:e}=this;if(!e)return;let t=this.getId();"setAttribute"in e&&e.setAttribute(A,t),P.registerElement(e,this.el)}removeReferences(){let{referenceEl:e}=this;e&&("removeAttribute"in e&&e.removeAttribute(A),P.unregisterElement(e))}render(){let{referenceEl:e,label:t,open:i,floatingLayout:o}=this,r=e&&i,a=!r;return this.el.inert=a,this.el.ariaLabel=t,this.el.ariaLive="polite",E(this.el,"id",this.getId()),this.el.role="tooltip",g`<div class=${l(R.positionContainer)} ${d(this.setFloatingEl)}><div class=${l({[h.animation]:!0,[h.animationActive]:r})} ${d(this.setTransitionEl)}>${x({floatingLayout:o,ref:c=>this.arrowEl=c})}<div class=${l(R.container)}><slot></slot></div></div></div>`}};w("calcite-tooltip",f);export{f as Tooltip};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v3.2.0-next.
|
|
4
|
-
import{g as i,y as r}from"./
|
|
3
|
+
v3.2.0-next.40 */
|
|
4
|
+
import{g as i,y as r}from"./EYWRTO2E.js";function s(){let{disabled:e}=this;e||HTMLElement.prototype.click.call(this)}function a(e){e.target.disabled&&e.preventDefault()}var o=["mousedown","mouseup","click"];function c(e){e.target.disabled&&(e.stopImmediatePropagation(),e.preventDefault())}var n={capture:!0};function m(e){if(e.disabled){e.el.setAttribute("aria-disabled","true"),e.el.contains(document.activeElement)&&document.activeElement.blur(),l(e);return}u(e),e.el.removeAttribute("aria-disabled")}function l(e){e.el.click=s,d(e.el)}function d(e){e.addEventListener("pointerdown",a,n),o.forEach(t=>e.addEventListener(t,c,n))}function u(e){delete e.el.click,f(e.el)}function f(e){e.removeEventListener("pointerdown",a,n),o.forEach(t=>e.removeEventListener(t,c,n))}var v={container:"interaction-container"},p=({children:e,disabled:t})=>i`<div class=${r(v.container)} .inert=${t}>${e}</div>`;export{m as a,p as b};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v3.2.0-next.
|
|
4
|
-
import{a as ie,l as ue}from"./
|
|
3
|
+
v3.2.0-next.40 */
|
|
4
|
+
import{a as ie,l as ue}from"./4JEZM6VX.js";import{H as ne,b as re}from"./EYWRTO2E.js";var se=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"],B=se.join(","),ce=typeof Element>"u",D=ce?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,K=!ce&&Element.prototype.getRootNode?function(r){var e;return r==null||(e=r.getRootNode)===null||e===void 0?void 0:e.call(r)}:function(r){return r?.ownerDocument},j=function r(e,t){var a;t===void 0&&(t=!0);var o=e==null||(a=e.getAttribute)===null||a===void 0?void 0:a.call(e,"inert"),s=o===""||o==="true",n=s||t&&e&&r(e.parentNode);return n},Se=function(e){var t,a=e==null||(t=e.getAttribute)===null||t===void 0?void 0:t.call(e,"contenteditable");return a===""||a==="true"},le=function(e,t,a){if(j(e))return[];var o=Array.prototype.slice.apply(e.querySelectorAll(B));return t&&D.call(e,B)&&o.unshift(e),o=o.filter(a),o},fe=function r(e,t,a){for(var o=[],s=Array.from(e);s.length;){var n=s.shift();if(!j(n,!1))if(n.tagName==="SLOT"){var d=n.assignedElements(),l=d.length?d:n.children,y=r(l,!0,a);a.flatten?o.push.apply(o,y):o.push({scopeParent:n,candidates:y})}else{var T=D.call(n,B);T&&a.filter(n)&&(t||!e.includes(n))&&o.push(n);var w=n.shadowRoot||typeof a.getShadowRoot=="function"&&a.getShadowRoot(n),S=!j(w,!1)&&(!a.shadowRootFilter||a.shadowRootFilter(n));if(w&&S){var C=r(w===!0?n.children:w.children,!0,a);a.flatten?o.push.apply(o,C):o.push({scopeParent:n,candidates:C})}else s.unshift.apply(s,n.children)}}return o},de=function(e){return!isNaN(parseInt(e.getAttribute("tabindex"),10))},E=function(e){if(!e)throw new Error("No node provided");return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||Se(e))&&!de(e)?0:e.tabIndex},ke=function(e,t){var a=E(e);return a<0&&t&&!de(e)?0:a},De=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},ve=function(e){return e.tagName==="INPUT"},Oe=function(e){return ve(e)&&e.type==="hidden"},Ce=function(e){var t=e.tagName==="DETAILS"&&Array.prototype.slice.apply(e.children).some(function(a){return a.tagName==="SUMMARY"});return t},Ae=function(e,t){for(var a=0;a<e.length;a++)if(e[a].checked&&e[a].form===t)return e[a]},Re=function(e){if(!e.name)return!0;var t=e.form||K(e),a=function(d){return t.querySelectorAll('input[type="radio"][name="'+d+'"]')},o;if(typeof window<"u"&&typeof window.CSS<"u"&&typeof window.CSS.escape=="function")o=a(window.CSS.escape(e.name));else try{o=a(e.name)}catch(n){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",n.message),!1}var s=Ae(o,e.form);return!s||s===e},Ie=function(e){return ve(e)&&e.type==="radio"},Pe=function(e){return Ie(e)&&!Re(e)},xe=function(e){var t,a=e&&K(e),o=(t=a)===null||t===void 0?void 0:t.host,s=!1;if(a&&a!==e){var n,d,l;for(s=!!((n=o)!==null&&n!==void 0&&(d=n.ownerDocument)!==null&&d!==void 0&&d.contains(o)||e!=null&&(l=e.ownerDocument)!==null&&l!==void 0&&l.contains(e));!s&&o;){var y,T,w;a=K(o),o=(y=a)===null||y===void 0?void 0:y.host,s=!!((T=o)!==null&&T!==void 0&&(w=T.ownerDocument)!==null&&w!==void 0&&w.contains(o))}}return s},oe=function(e){var t=e.getBoundingClientRect(),a=t.width,o=t.height;return a===0&&o===0},Le=function(e,t){var a=t.displayCheck,o=t.getShadowRoot;if(getComputedStyle(e).visibility==="hidden")return!0;var s=D.call(e,"details>summary:first-of-type"),n=s?e.parentElement:e;if(D.call(n,"details:not([open]) *"))return!0;if(!a||a==="full"||a==="legacy-full"){if(typeof o=="function"){for(var d=e;e;){var l=e.parentElement,y=K(e);if(l&&!l.shadowRoot&&o(l)===!0)return oe(e);e.assignedSlot?e=e.assignedSlot:!l&&y!==e.ownerDocument?e=y.host:e=l}e=d}if(xe(e))return!e.getClientRects().length;if(a!=="legacy-full")return!0}else if(a==="non-zero-area")return oe(e);return!1},Be=function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if(t.tagName==="FIELDSET"&&t.disabled){for(var a=0;a<t.children.length;a++){var o=t.children.item(a);if(o.tagName==="LEGEND")return D.call(t,"fieldset[disabled] *")?!0:!o.contains(e)}return!0}t=t.parentElement}return!1},M=function(e,t){return!(t.disabled||j(t)||Oe(t)||Le(t,e)||Ce(t)||Be(t))},$=function(e,t){return!(Pe(t)||E(t)<0||!M(e,t))},Ke=function(e){var t=parseInt(e.getAttribute("tabindex"),10);return!!(isNaN(t)||t>=0)},je=function r(e){var t=[],a=[];return e.forEach(function(o,s){var n=!!o.scopeParent,d=n?o.scopeParent:o,l=ke(d,n),y=n?r(o.candidates):d;l===0?n?t.push.apply(t,y):t.push(d):a.push({documentOrder:s,tabIndex:l,item:o,isScope:n,content:y})}),a.sort(De).reduce(function(o,s){return s.isScope?o.push.apply(o,s.content):o.push(s.content),o},[]).concat(t)},be=function(e,t){t=t||{};var a;return t.getShadowRoot?a=fe([e],t.includeContainer,{filter:$.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:Ke}):a=le(e,t.includeContainer,$.bind(null,t)),je(a)},he=function(e,t){t=t||{};var a;return t.getShadowRoot?a=fe([e],t.includeContainer,{filter:M.bind(null,t),flatten:!0,getShadowRoot:t.getShadowRoot}):a=le(e,t.includeContainer,M.bind(null,t)),a},O=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return D.call(e,B)===!1?!1:$(t,e)},Me=se.concat("iframe").join(","),G=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return D.call(e,Me)===!1?!1:M(t,e)};function Y(r,e){(e==null||e>r.length)&&(e=r.length);for(var t=0,a=Array(e);t<e;t++)a[t]=r[t];return a}function Ge(r){if(Array.isArray(r))return Y(r)}function qe(r,e,t){return(e=$e(e))in r?Object.defineProperty(r,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):r[e]=t,r}function Ue(r){if(typeof Symbol<"u"&&r[Symbol.iterator]!=null||r["@@iterator"]!=null)return Array.from(r)}function Ve(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
5
5
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function pe(r,e){var t=Object.keys(r);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(r);e&&(a=a.filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable})),t.push.apply(t,a)}return t}function ye(r){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?pe(Object(t),!0).forEach(function(a){qe(r,a,t[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(t)):pe(Object(t)).forEach(function(a){Object.defineProperty(r,a,Object.getOwnPropertyDescriptor(t,a))})}return r}function _e(r){return Ge(r)||Ue(r)||Ye(r)||Ve()}function We(r,e){if(typeof r!="object"||!r)return r;var t=r[Symbol.toPrimitive];if(t!==void 0){var a=t.call(r,e||"default");if(typeof a!="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(r)}function $e(r){var e=We(r,"string");return typeof e=="symbol"?e:e+""}function Ye(r,e){if(r){if(typeof r=="string")return Y(r,e);var t={}.toString.call(r).slice(8,-1);return t==="Object"&&r.constructor&&(t=r.constructor.name),t==="Map"||t==="Set"?Array.from(r):t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?Y(r,e):void 0}}var ge={activateTrap:function(e,t){if(e.length>0){var a=e[e.length-1];a!==t&&a._setPausedState(!0)}var o=e.indexOf(t);o===-1||e.splice(o,1),e.push(t)},deactivateTrap:function(e,t){var a=e.indexOf(t);a!==-1&&e.splice(a,1),e.length>0&&!e[e.length-1]._isManuallyPaused()&&e[e.length-1]._setPausedState(!1)}},Ze=function(e){return e.tagName&&e.tagName.toLowerCase()==="input"&&typeof e.select=="function"},ze=function(e){return e?.key==="Escape"||e?.key==="Esc"||e?.keyCode===27},x=function(e){return e?.key==="Tab"||e?.keyCode===9},Xe=function(e){return x(e)&&!e.shiftKey},He=function(e){return x(e)&&e.shiftKey},me=function(e){return setTimeout(e,0)},P=function(e){for(var t=arguments.length,a=new Array(t>1?t-1:0),o=1;o<t;o++)a[o-1]=arguments[o];return typeof e=="function"?e.apply(void 0,a):e},q=function(e){return e.target.shadowRoot&&typeof e.composedPath=="function"?e.composedPath()[0]:e.target},Je=[],we=function(e,t){var a=t?.document||document,o=t?.trapStack||Je,s=ye({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,isKeyForward:Xe,isKeyBackward:He},t),n={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,manuallyPaused:!1,delayInitialFocusTimer:void 0,recentNavEvent:void 0},d,l=function(i,u,c){return i&&i[u]!==void 0?i[u]:s[c||u]},y=function(i,u){var c=typeof u?.composedPath=="function"?u.composedPath():void 0;return n.containerGroups.findIndex(function(v){var b=v.container,p=v.tabbableNodes;return b.contains(i)||c?.includes(b)||p.find(function(f){return f===i})})},T=function(i){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},c=u.hasFallback,v=c===void 0?!1:c,b=u.params,p=b===void 0?[]:b,f=s[i];if(typeof f=="function"&&(f=f.apply(void 0,_e(p))),f===!0&&(f=void 0),!f){if(f===void 0||f===!1)return f;throw new Error("`".concat(i,"` was specified but was not a node, or did not return a node"))}var g=f;if(typeof f=="string"){try{g=a.querySelector(f)}catch(m){throw new Error("`".concat(i,'` appears to be an invalid selector; error="').concat(m.message,'"'))}if(!g&&!v)throw new Error("`".concat(i,"` as selector refers to no known node"))}return g},w=function(){var i=T("initialFocus",{hasFallback:!0});if(i===!1)return!1;if(i===void 0||i&&!G(i,s.tabbableOptions))if(y(a.activeElement)>=0)i=a.activeElement;else{var u=n.tabbableGroups[0],c=u&&u.firstTabbableNode;i=c||T("fallbackFocus")}else i===null&&(i=T("fallbackFocus"));if(!i)throw new Error("Your focus-trap needs to have at least one focusable element");return i},S=function(){if(n.containerGroups=n.containers.map(function(i){var u=be(i,s.tabbableOptions),c=he(i,s.tabbableOptions),v=u.length>0?u[0]:void 0,b=u.length>0?u[u.length-1]:void 0,p=c.find(function(m){return O(m)}),f=c.slice().reverse().find(function(m){return O(m)}),g=!!u.find(function(m){return E(m)>0});return{container:i,tabbableNodes:u,focusableNodes:c,posTabIndexesFound:g,firstTabbableNode:v,lastTabbableNode:b,firstDomTabbableNode:p,lastDomTabbableNode:f,nextTabbableNode:function(k){var R=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,N=u.indexOf(k);return N<0?R?c.slice(c.indexOf(k)+1).find(function(I){return O(I)}):c.slice(0,c.indexOf(k)).reverse().find(function(I){return O(I)}):u[N+(R?1:-1)]}}}),n.tabbableGroups=n.containerGroups.filter(function(i){return i.tabbableNodes.length>0}),n.tabbableGroups.length<=0&&!T("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");if(n.containerGroups.find(function(i){return i.posTabIndexesFound})&&n.containerGroups.length>1)throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.")},C=function(i){var u=i.activeElement;if(u)return u.shadowRoot&&u.shadowRoot.activeElement!==null?C(u.shadowRoot):u},F=function(i){if(i!==!1&&i!==C(document)){if(!i||!i.focus){F(w());return}i.focus({preventScroll:!!s.preventScroll}),n.mostRecentlyFocusedNode=i,Ze(i)&&i.select()}},Z=function(i){var u=T("setReturnFocus",{params:[i]});return u||(u===!1?!1:i)},z=function(i){var u=i.target,c=i.event,v=i.isBackward,b=v===void 0?!1:v;u=u||q(c),S();var p=null;if(n.tabbableGroups.length>0){var f=y(u,c),g=f>=0?n.containerGroups[f]:void 0;if(f<0)b?p=n.tabbableGroups[n.tabbableGroups.length-1].lastTabbableNode:p=n.tabbableGroups[0].firstTabbableNode;else if(b){var m=n.tabbableGroups.findIndex(function(_){var W=_.firstTabbableNode;return u===W});if(m<0&&(g.container===u||G(u,s.tabbableOptions)&&!O(u,s.tabbableOptions)&&!g.nextTabbableNode(u,!1))&&(m=f),m>=0){var k=m===0?n.tabbableGroups.length-1:m-1,R=n.tabbableGroups[k];p=E(u)>=0?R.lastTabbableNode:R.lastDomTabbableNode}else x(c)||(p=g.nextTabbableNode(u,!1))}else{var N=n.tabbableGroups.findIndex(function(_){var W=_.lastTabbableNode;return u===W});if(N<0&&(g.container===u||G(u,s.tabbableOptions)&&!O(u,s.tabbableOptions)&&!g.nextTabbableNode(u))&&(N=f),N>=0){var I=N===n.tabbableGroups.length-1?0:N+1,ae=n.tabbableGroups[I];p=E(u)>=0?ae.firstTabbableNode:ae.firstDomTabbableNode}else x(c)||(p=g.nextTabbableNode(u))}}else p=T("fallbackFocus");return p},L=function(i){var u=q(i);if(!(y(u,i)>=0)){if(P(s.clickOutsideDeactivates,i)){d.deactivate({returnFocus:s.returnFocusOnDeactivate});return}P(s.allowOutsideClick,i)||i.preventDefault()}},X=function(i){var u=q(i),c=y(u,i)>=0;if(c||u instanceof Document)c&&(n.mostRecentlyFocusedNode=u);else{i.stopImmediatePropagation();var v,b=!0;if(n.mostRecentlyFocusedNode)if(E(n.mostRecentlyFocusedNode)>0){var p=y(n.mostRecentlyFocusedNode),f=n.containerGroups[p].tabbableNodes;if(f.length>0){var g=f.findIndex(function(m){return m===n.mostRecentlyFocusedNode});g>=0&&(s.isKeyForward(n.recentNavEvent)?g+1<f.length&&(v=f[g+1],b=!1):g-1>=0&&(v=f[g-1],b=!1))}}else n.containerGroups.some(function(m){return m.tabbableNodes.some(function(k){return E(k)>0})})||(b=!1);else b=!1;b&&(v=z({target:n.mostRecentlyFocusedNode,isBackward:s.isKeyBackward(n.recentNavEvent)})),F(v||n.mostRecentlyFocusedNode||w())}n.recentNavEvent=void 0},Ne=function(i){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;n.recentNavEvent=i;var c=z({event:i,isBackward:u});c&&(x(i)&&i.preventDefault(),F(c))},H=function(i){(s.isKeyForward(i)||s.isKeyBackward(i))&&Ne(i,s.isKeyBackward(i))},J=function(i){ze(i)&&P(s.escapeDeactivates,i)!==!1&&(i.preventDefault(),d.deactivate())},Q=function(i){var u=q(i);y(u,i)>=0||P(s.clickOutsideDeactivates,i)||P(s.allowOutsideClick,i)||(i.preventDefault(),i.stopImmediatePropagation())},ee=function(){if(n.active)return ge.activateTrap(o,d),n.delayInitialFocusTimer=s.delayInitialFocus?me(function(){F(w())}):F(w()),a.addEventListener("focusin",X,!0),a.addEventListener("mousedown",L,{capture:!0,passive:!1}),a.addEventListener("touchstart",L,{capture:!0,passive:!1}),a.addEventListener("click",Q,{capture:!0,passive:!1}),a.addEventListener("keydown",H,{capture:!0,passive:!1}),a.addEventListener("keydown",J),d},te=function(){if(n.active)return a.removeEventListener("focusin",X,!0),a.removeEventListener("mousedown",L,!0),a.removeEventListener("touchstart",L,!0),a.removeEventListener("click",Q,!0),a.removeEventListener("keydown",H,!0),a.removeEventListener("keydown",J),d},Ee=function(i){var u=i.some(function(c){var v=Array.from(c.removedNodes);return v.some(function(b){return b===n.mostRecentlyFocusedNode})});u&&F(w())},V=typeof window<"u"&&"MutationObserver"in window?new MutationObserver(Ee):void 0,A=function(){V&&(V.disconnect(),n.active&&!n.paused&&n.containers.map(function(i){V.observe(i,{subtree:!0,childList:!0})}))};return d={get active(){return n.active},get paused(){return n.paused},activate:function(i){if(n.active)return this;var u=l(i,"onActivate"),c=l(i,"onPostActivate"),v=l(i,"checkCanFocusTrap");v||S(),n.active=!0,n.paused=!1,n.nodeFocusedBeforeActivation=a.activeElement,u?.();var b=function(){v&&S(),ee(),A(),c?.()};return v?(v(n.containers.concat()).then(b,b),this):(b(),this)},deactivate:function(i){if(!n.active)return this;var u=ye({onDeactivate:s.onDeactivate,onPostDeactivate:s.onPostDeactivate,checkCanReturnFocus:s.checkCanReturnFocus},i);clearTimeout(n.delayInitialFocusTimer),n.delayInitialFocusTimer=void 0,te(),n.active=!1,n.paused=!1,A(),ge.deactivateTrap(o,d);var c=l(u,"onDeactivate"),v=l(u,"onPostDeactivate"),b=l(u,"checkCanReturnFocus"),p=l(u,"returnFocus","returnFocusOnDeactivate");c?.();var f=function(){me(function(){p&&F(Z(n.nodeFocusedBeforeActivation)),v?.()})};return p&&b?(b(Z(n.nodeFocusedBeforeActivation)).then(f,f),this):(f(),this)},pause:function(i){return n.active?(n.manuallyPaused=!0,this._setPausedState(!0,i)):this},unpause:function(i){return n.active?(n.manuallyPaused=!1,o[o.length-1]!==this?this:this._setPausedState(!1,i)):this},updateContainerElements:function(i){var u=[].concat(i).filter(Boolean);return n.containers=u.map(function(c){return typeof c=="string"?a.querySelector(c):c}),n.active&&S(),A(),this}},Object.defineProperties(d,{_isManuallyPaused:{value:function(){return n.manuallyPaused}},_setPausedState:{value:function(i,u){if(n.paused===i)return this;if(n.paused=i,i){var c=l(u,"onPause"),v=l(u,"onPostPause");c?.(),te(),A(),v?.()}else{var b=l(u,"onUnpause"),p=l(u,"onPostUnpause");b?.(),S(),ee(),A(),p?.()}return this}}}),d.updateContainerElements(e),d};var U=new WeakSet;function Qe(r,e){let t=e?.fallbackFocus||r,a=e?.clickOutsideDeactivates??!0;return{fallbackFocus:t,setReturnFocus:o=>(U.has(r)||ue(o),!1),...e,document:r.ownerDocument,tabbableOptions:ie,trapStack:ne,clickOutsideDeactivates:o=>(U.has(r)||U.add(r),typeof a=="function"?a(o):a),onPostDeactivate:()=>{U.delete(r)}}}function Te(r,{focusTrapOptions:e},t){return!e?.extraContainers&&!t?r:[r,...Fe(e?.extraContainers),...Fe(t)]}function Fe(r=[]){return Array.isArray(r)?r:[r]}var ot=r=>re((e,t)=>{let a,o,s,n=r.focusTrapOptions;t.onConnected(()=>{e[r.triggerProp]&&a&&d.activate()}),t.onUpdate(l=>{e.hasUpdated&&l.has("focusTrapDisabled")&&(e.focusTrapDisabled?d.deactivate():d.activate())}),t.onDisconnected(()=>d.deactivate());let d={activate:()=>{let l=o||e.el;if(l.isConnected){if(!a){let y={...n,...e.focusTrapOptions};s||=Te(l,e),a=we(s,Qe(l,y))}(typeof e.focusTrapDisabledOverride=="function"?!e.focusTrapDisabledOverride():!e.focusTrapDisabled)&&a.activate()}},deactivate:()=>a?.deactivate(),overrideFocusTrapEl:l=>{if(a)throw new Error("Focus trap already created");o=l},setExtraContainers:l=>{let y=o||e.el;s=Te(y,e,l)},updateContainerElements:()=>a?.updateContainerElements(s)};return d});export{ot as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v3.2.0-next.
|
|
4
|
-
import{a as u,b as f}from"./
|
|
3
|
+
v3.2.0-next.40 */
|
|
4
|
+
import{a as u,b as f}from"./KOH7CJJ2.js";import{a as h,b as m}from"./6P5PSH65.js";import{l as p,z as i}from"./4JEZM6VX.js";import"./6DCGXB5R.js";import{K as n,e as c,g as d,w as o,x as r}from"./EYWRTO2E.js";var b=c`: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}.container{display:flex;flex-wrap:wrap;gap:var(--calcite-card-group-space, var(--calcite-card-group-gap, var(--calcite-spacing-md)))}:host([hidden]){display:none}[hidden]{display:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}`,l=class extends r{constructor(){super(),this.items=[],this.slotRefEl=h(),this.disabled=!1,this.selectedItems=[],this.selectionMode="none",this.calciteCardGroupSelect=o({cancelable:!1}),this.listen("calciteInternalCardKeyEvent",this.calciteInternalCardKeyEventListener),this.listen("calciteCardSelect",this.calciteCardSelectListener)}static{this.properties={disabled:[7,{reflect:!0,type:Boolean}],label:1,selectedItems:[0,{attribute:!1}],selectionMode:[3,{reflect:!0}]}}static{this.styles=b}async setFocus(){await this.componentOnReady(),this.disabled||p(this.items[0])}willUpdate(e){e.has("selectionMode")&&this.hasUpdated&&this.updateItemsOnSelectionModeChange()}updated(){u(this)}loaded(){this.updateSelectedItems()}calciteInternalCardKeyEventListener(e){if(e.composedPath().includes(this.el)){let s=this.items.filter(t=>!t.disabled);switch(e.detail.key){case"ArrowRight":i(s,e.target,"next");break;case"ArrowLeft":i(s,e.target,"previous");break;case"Home":i(s,e.target,"first");break;case"End":i(s,e.target,"last");break}}}calciteCardSelectListener(e){e.composedPath().includes(this.el)&&!e.target.selectable&&this.setSelectedItems(!0,e.target)}updateItemsOnSelectionModeChange(){this.updateSlottedItems(this.slotRefEl.value),this.updateSelectedItems()}updateItemsOnSlotChange(e){this.updateSlottedItems(e.target),this.updateSelectedItems()}updateSlottedItems(e){this.items=e.assignedElements({flatten:!0}).filter(s=>s?.matches("calcite-card"))}updateSelectedItems(){this.items.forEach(e=>{e.selectionMode=this.selectionMode}),this.setSelectedItems(!1)}setSelectedItems(e,s){s&&this.items.forEach(t=>{let a=s===t;switch(this.selectionMode){case"multiple":a&&(t.selected=!t.selected);break;case"single":t.selected=a?!t.selected:!1;break;case"single-persist":t.selected=!!a;break}}),this.selectedItems=this.items.filter(t=>t.selected),e&&this.selectionMode!=="none"&&!this.disabled&&this.calciteCardGroupSelect.emit()}render(){let e=this.selectionMode==="none"||this.selectionMode==="multiple"?"group":"radiogroup";return f({disabled:this.disabled,children:d`<div .ariaLabel=${this.label} class="container" .role=${e}><slot @slotchange=${this.updateItemsOnSlotChange} ${m(this.slotRefEl)}></slot></div>`})}};n("calcite-card-group",l);export{l as CardGroup};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v3.2.0-next.
|
|
4
|
-
import{a as s}from"./
|
|
3
|
+
v3.2.0-next.40 */
|
|
4
|
+
import{a as s}from"./PB3OJ43M.js";import{K as i,e as t,g as o,x as r}from"./EYWRTO2E.js";var l=t`: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)}::slotted(calcite-tip){margin:0;border-style:none;max-inline-size:var(--calcite-tip-max-width)}:host([hidden]){display:none}[hidden]{display:none}`,e=class extends r{static{this.properties={groupTitle:1}}static{this.styles=l}load(){s.deprecated("component",{name:"tip-group",removalVersion:4,suggested:["carousel","carousel-item"]})}render(){return o`<slot></slot>`}};i("calcite-tip-group",e);export{e as TipGroup};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v3.2.0-next.
|
|
4
|
-
import{c as i}from"./
|
|
3
|
+
v3.2.0-next.40 */
|
|
4
|
+
import{c as i}from"./4JEZM6VX.js";var c="CALCITE-COMBOBOX-ITEM",r="CALCITE-COMBOBOX-ITEM-GROUP",s=`${c}, ${r}`,d={input:"input",inputHidden:"input--hidden",chip:"chip",chipInvisible:"chip--invisible",selectionDisplayFit:"selection-display-fit",selectionDisplaySingle:"selection-display-single",listContainer:"list-container",icon:"icon",placeholderIcon:"placeholder-icon",selectedIcon:"selected-icon",floatingUIContainer:"floating-ui-container",screenReadersOnly:"screen-readers-only",wrapper:"wrapper",wrapperSingle:"wrapper--single",wrapperActive:"wrapper--active"},m={validationMessage:"comboboxValidationMessage"};function g(e){let n=e.parentElement?.closest(s),t=n?.parentElement?.closest(s);return[n,t].filter(o=>o)}function b(e){return e.ancestors?.filter(n=>n.nodeName==="CALCITE-COMBOBOX-ITEM")||[]}function f(e){return i(e.querySelectorAll("calcite-combobox-item"))}function h(e){return i(e.querySelectorAll("calcite-combobox-item")).filter(t=>t.selected).length>0}function C(e){if(!1)return 0;let n=document.evaluate("ancestor::calcite-combobox-item | ancestor::calcite-combobox-item-group",e,null,XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE,null),t=n.snapshotLength;if(t>0&&e.nodeName===c){for(let o=0;o<t;o++)if(n.snapshotItem(o).nodeName===r)return t}else if(e.nodeName===r)return t;return t+1}function I(e){return e.includes("single")}function O(e){return e.shortHeading||e.heading||e.textLabel}export{c as a,r as b,d as c,m as d,g as e,b as f,f as g,h,C as i,I as j,O as k};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v3.2.0-next.
|
|
3
|
+
v3.2.0-next.40 */
|
|
4
4
|
var n={menuActions:"menu-actions",menuTooltip:"menu-tooltip"},o={menu:"ellipsis"},t={container:"container"};export{n as a,o as b,t as c};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v3.2.0-next.
|
|
4
|
-
import{a as p,b as u}from"./
|
|
3
|
+
v3.2.0-next.40 */
|
|
4
|
+
import{a as p,b as u}from"./VWXTUWMC.js";import"./DNYNDPB5.js";import{a as h}from"./PNGIMH3C.js";import{a as f}from"./7EKOSZOZ.js";import{u as m}from"./4JEZM6VX.js";import{a as g}from"./PB3OJ43M.js";import"./6DCGXB5R.js";import{K as d,e as l,g as i,w as r,x as c,y as t}from"./EYWRTO2E.js";var e={container:"container",header:"header",heading:"heading",close:"close",imageFrame:"image-frame",content:"content",info:"info",infoNoThumbnail:"info--no-thumbnail"},$={close:"x"},y={thumbnail:"thumbnail"},T=l`:host{position:relative;margin:1rem;box-sizing:border-box;display:flex;flex-direction:row;border-width:1px;border-style:solid;border-color:var(--calcite-color-border-2);background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-color-text-2)}:host *{box-sizing:border-box}.container{inline-size:100%;padding:1rem}:host([closed]),:host([closed]) .container{display:none}:host([selected]) .container{margin:0;border-style:none;padding:0}.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{margin-block-end:.5rem}.header .heading{padding:0;font-size:var(--calcite-font-size-0);line-height:1.25rem;color:var(--calcite-color-text-1)}.container[hidden]{display:none}.content{display:flex}.info{padding-block:0px;padding-inline:1rem;inline-size:70%}.info--no-thumbnail{inline-size:100%;padding-inline:0px}::slotted(p){margin-block-start:0px}::slotted(a){outline-color:transparent;color:var(--calcite-color-brand)}::slotted(a: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))))}.image-frame{inline-size:25%}.image-frame img{max-inline-size:100%}::slotted(img){max-inline-size:100%}:host([hidden]){display:none}[hidden]{display:none}`,o=class extends c{constructor(){super(...arguments),this.hasThumbnail=!1,this.closeDisabled=!1,this.closed=!1,this.messages=f(),this.selected=!1,this.calciteTipDismiss=r({cancelable:!1})}static{this.properties={hasThumbnail:[16,{state:!0}],closeDisabled:[7,{reflect:!0,type:Boolean}],closed:[7,{reflect:!0,type:Boolean}],heading:1,headingLevel:[11,{type:Number,reflect:!0}],messageOverrides:[0,{attribute:!1}],selected:[7,{reflect:!0,type:Boolean}]}}static{this.styles=T}async load(){g.deprecated("component",{name:"tip",removalVersion:4,suggested:["card","notice","panel","tile"]})}hideTip(){this.closed=!0,this.calciteTipDismiss.emit()}handleThumbnailSlotChange(n){this.hasThumbnail=m(n)}renderHeader(){let{heading:n,headingLevel:a,el:b}=this,s=b.closest("calcite-tip-manager")?.headingLevel,v=s?p(s+1):null,x=a||v;return n?i`<header class=${t(e.header)}>${u({class:e.heading,level:x,children:n})}</header>`:null}renderDismissButton(){let{closeDisabled:n,hideTip:a}=this;return n?null:i`<calcite-action class=${t(e.close)} .icon=${$.close} @click=${a} scale=l .text=${this.messages.close}></calcite-action>`}renderImageFrame(){return h("thumbnail",i`<div class=${t(e.imageFrame)} .hidden=${!this.hasThumbnail}><slot name=${y.thumbnail} @slotchange=${this.handleThumbnailSlotChange}></slot></div>`)}renderInfoNode(){return i`<div class=${t({[e.info]:!0,[e.infoNoThumbnail]:!this.hasThumbnail})}><slot></slot></div>`}renderContent(){return i`<div class=${t(e.content)}>${this.renderImageFrame()}${this.renderInfoNode()}</div>`}render(){return i`<article class=${t(e.container)}>${this.renderHeader()}${this.renderContent()}</article>${this.renderDismissButton()}`}};d("calcite-tip",o);export{o as Tip};
|