@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 te,b as H}from"./XLQJWLJR.js";import{a as j,k as R}from"./7CQ233AJ.js";import{a as ee}from"./I4FISWDK.js";import{c as J,e as Q,f as Y,h as Z}from"./3VLVDWSS.js";import{c as G,d as K,e as W}from"./7T7MTXSU.js";import{a as X,b as U}from"./DTAEBKT4.js";import{a as E}from"./GZUOSY5I.js";import{a as N}from"./GTUVAAAD.js";import{a as q}from"./24OTRUCC.js";import{b as w}from"./U2YGN4RT.js";import{q as T,x as _}from"./LLN5DNPL.js";import{d as I}from"./POGNNNSN.js";import"./QJN3Y7KP.js";import{a as A}from"./R3CUJDU2.js";import{B,C as F,K as O,e as P,g as k,k as z,w as L,x as C,y as g,z as $}from"./MZMZSY5A.js";var l={container:"container",containerRange:"container--range",graph:"graph",handle:"handle",handleExtension:"handle-extension",handleLabel:"handle__label",handleLabelMinValue:"handle__label--minValue",handleLabelValue:"handle__label--value",hyphen:"hyphen",hyphenWrap:"hyphen--wrap",static:"static",thumb:"thumb",thumbActive:"thumb--active",thumbContainer:"thumb-container",thumbMinValue:"thumb--minValue",thumbPrecise:"thumb--precise",thumbValue:"thumb--value",tick:"tick",tickActive:"tick--active",tickLabel:"tick__label",tickMax:"tick__label--max",tickMin:"tick__label--min",ticks:"ticks",track:"track",trackRange:"track__range",transformed:"transformed"},ae={validationMessage:"validationMessage"},ie=250,se=P`@charset "UTF-8";:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}.scale--s{--calcite-slider-handle-size: .625rem;--calcite-slider-handle-extension-height: .4rem;--calcite-slider-container-font-size: var(--calcite-font-size--3)}.scale--s .handle__label,.scale--s .tick__label{line-height:.75rem}.scale--m{--calcite-slider-handle-size: .875rem;--calcite-slider-handle-extension-height: .5rem;--calcite-slider-container-font-size: var(--calcite-font-size--2)}.scale--m .handle__label,.scale--m .tick__label{line-height:1rem}.scale--l{--calcite-slider-handle-size: 1rem;--calcite-slider-handle-extension-height: .65rem;--calcite-slider-container-font-size: var(--calcite-font-size--1)}.scale--l .handle__label,.scale--l .tick__label{line-height:1rem}.handle__label,.tick__label{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-slider-text-color, var(--calcite-color-text-2));font-size:var(--calcite-slider-container-font-size)}:host{display:block}:host .validation-container{padding-block-start:0!important}.container{position:relative;display:block;overflow-wrap:normal;word-break:normal;padding-inline:calc(var(--calcite-slider-handle-size) * .5);padding-block:calc(var(--calcite-slider-handle-size) * .5);margin-block:calc(var(--calcite-slider-handle-size) * .5);margin-inline:0;--calcite-slider-full-handle-height: calc( var(--calcite-slider-handle-size) + var(--calcite-slider-handle-extension-height) );touch-action:none;-webkit-user-select:none;user-select:none}:host([disabled]) .track__range,:host([disabled]) .tick--active{background-color:var(--calcite-color-text-3)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}.scale--s .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset: -.375rem}.scale--m .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset: -.5rem}.scale--l .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset: -.55rem}:host([precise]:not([has-histogram])) .container .thumb--value{--calcite-slider-thumb-y-offset: calc(var(--calcite-slider-full-handle-height) * -1)}.thumb-container{position:relative;max-inline-size:100%}.thumb{--calcite-slider-thumb-x-offset: calc(var(--calcite-slider-handle-size) * .5);position:absolute;margin:0;display:flex;cursor:pointer;flex-direction:column;align-items:center;border-style:none;background-color:transparent;padding:0;font-family:inherit;outline:2px solid transparent;outline-offset:2px;transform:translate(var(--calcite-slider-thumb-x-offset),var(--calcite-slider-thumb-y-offset))}.thumb .handle__label{white-space:nowrap}.thumb .handle__label.static,.thumb .handle__label.transformed{position:absolute;inset-block:0px;opacity:0}.thumb .handle__label.hyphen:after{content:"\u2014";display:inline-block;inline-size:1em}.thumb .handle__label.hyphen--wrap{display:flex}.thumb .handle{box-sizing:border-box;border-radius:9999px;outline-color:transparent;background-color:var(--calcite-slider-handle-fill-color, var(--calcite-color-foreground-1));block-size:var(--calcite-slider-handle-size);inline-size:var(--calcite-slider-handle-size);box-shadow:0 0 0 2px var(--calcite-color-text-3) inset;transition:border var(--calcite-internal-animation-timing-medium) ease,background-color var(--calcite-internal-animation-timing-medium) ease,box-shadow var(--calcite-animation-timing) ease}.thumb .handle-extension{inline-size:.125rem;block-size:var(--calcite-slider-handle-extension-height);background-color:var(--calcite-slider-handle-extension-color, var(--calcite-color-text-3))}.thumb:hover .handle{box-shadow:0 0 0 3px var(--calcite-color-brand) inset}.thumb:hover .handle-extension{background-color:var(--calcite-slider-accent-color, var(--calcite-color-brand))}.thumb:focus .handle{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))))}.thumb:focus .handle-extension{background-color:var(--calcite-slider-accent-color, var(--calcite-color-brand))}.thumb.thumb--minValue{transform:translate(calc(var(--calcite-slider-thumb-x-offset) * -1),var(--calcite-slider-thumb-y-offset))}.thumb.thumb--precise{--calcite-slider-thumb-y-offset: -.125rem}:host([label-handles]) .thumb{--calcite-slider-thumb-x-offset: 50%}:host([label-handles]):host(:not([has-histogram])) .scale--s .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset: -1.4375rem}:host([label-handles]):host(:not([has-histogram])) .scale--m .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset: -1.875rem}:host([label-handles]):host(:not([has-histogram])) .scale--l .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset: -2rem}:host([has-histogram][label-handles]) .handle__label,:host([label-handles]:not([has-histogram])) .thumb--minValue.thumb--precise .handle__label{margin-block-start:.5em}:host(:not([has-histogram]):not([precise])) .handle__label,:host([label-handles]:not([has-histogram])) .thumb--value .handle__label{margin-block-end:.5em}:host([label-handles][precise]):host(:not([has-histogram])) .scale--s .thumb--value{--calcite-slider-thumb-y-offset: -2.075rem}:host([label-handles][precise]):host(:not([has-histogram])) .scale--m .thumb--value{--calcite-slider-thumb-y-offset: -2.75rem}:host([label-handles][precise]):host(:not([has-histogram])) .scale--l .thumb--value{--calcite-slider-thumb-y-offset: -3.0625rem}.thumb:focus .handle,.thumb--active .handle{background-color:var(--calcite-slider-accent-color, var(--calcite-color-brand));box-shadow:0 0 8px #00000029}.thumb:hover.thumb--precise:after,.thumb:focus.thumb--precise:after,.thumb--active.thumb--precise:after{background-color:var(--calcite-slider-accent-color, var(--calcite-color-brand))}.track{position:relative;block-size:.125rem;border-radius:0;background-color:var(--calcite-slider-track-color, var(--calcite-color-border-2));transition:all var(--calcite-internal-animation-timing-medium) ease-in}.track__range{position:absolute;inset-block-start:0px;block-size:.125rem;background-color:var(--calcite-slider-track-fill-color, var(--calcite-color-brand))}.container--range .track__range:hover{cursor:ew-resize}.container--range .track__range:after{position:absolute;inline-size:100%;content:"";inset-block-start:calc(var(--calcite-slider-full-handle-height) * .5 * -1);block-size:calc(var(--calcite-slider-handle-size) + var(--calcite-slider-handle-extension-height))}@media (forced-colors: active){.thumb{outline-width:0;outline-offset:0}.handle{outline:2px solid transparent;outline-offset:2px}.thumb:focus .handle,.thumb .handle-extension,.thumb:hover .handle-extension,.thumb:focus .handle-extension,.thumb:active .handle-extension{background-color:canvasText}.track{background-color:canvasText}.track__range{background-color:highlight}}.tick{position:absolute;block-size:.25rem;inline-size:.125rem;border-width:1px;border-style:solid;background-color:var(--calcite-slider-tick-color, var(--calcite-color-border-input));border-color:var(--calcite-slider-tick-border-color, var(--calcite-color-foreground-1));inset-block-start:-2px;pointer-events:none;margin-inline-start:-.125rem}.tick--active{background-color:var(--calcite-slider-tick-selected-color, var(--calcite-color-brand))}.tick__label{pointer-events:none;margin-block-start:.875rem;display:flex;justify-content:center}.tick__label--min{transition:opacity var(--calcite-animation-timing)}.tick__label--max{transition:opacity var(--calcite-internal-animation-timing-fast)}:host([has-histogram][label-handles]) .tick__label--min,:host([has-histogram][label-handles]) .tick__label--max,:host([has-histogram][precise]) .tick__label--min,:host([has-histogram][precise]) .tick__label--max{font-weight:var(--calcite-font-weight-normal);color:var(--calcite-color-text-3)}.graph{color:var(--calcite-slider-graph-color, var(--calcite-color-foreground-3));block-size:48px}:host([label-ticks][ticks]) .container{padding-block-end:calc(.875rem + var(--calcite-slider-container-font-size))}:host([has-histogram]):host([precise][label-handles]) .container{padding-block-end:calc(var(--calcite-slider-full-handle-height) + 1em)}:host([has-histogram]):host([label-handles]:not([precise])) .container{padding-block-end:calc(var(--calcite-slider-handle-size) * .5 + 1em)}:host([has-histogram]):host([precise]:not([label-handles])) .container{padding-block-end:var(--calcite-slider-full-handle-height)}:host(:not([has-histogram])):host([precise]:not([label-handles])) .container{padding-block-start:var(--calcite-slider-full-handle-height)}:host(:not([has-histogram])):host([precise]:not([label-handles])) .container--range{padding-block-end:var(--calcite-slider-full-handle-height)}:host(:not([has-histogram])):host([label-handles]:not([precise])) .container{padding-block-start:calc(var(--calcite-slider-full-handle-height) + 4px)}:host(:not([has-histogram])):host([label-handles][precise]) .container{padding-block-start:calc(var(--calcite-slider-full-handle-height) + var(--calcite-slider-container-font-size) + 4px)}:host(:not([has-histogram])):host([label-handles][precise]) .container--range{padding-block-end:calc(var(--calcite-slider-full-handle-height) + var(--calcite-slider-container-font-size) + 4px)}.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}`;function p(D){return Array.isArray(D)}var S=class extends C{constructor(){super(),this.activeProp="value",this.dragEnd=e=>{this.disabled||(this.removeDragListeners(),this.focusActiveHandle(e.clientX),this.lastDragPropValue!=this[this.dragProp]&&this.emitChange(),this.dragProp=null,this.lastDragPropValue=null,this.minValueDragRange=null,this.maxValueDragRange=null,this.minMaxValueRange=null)},this.dragUpdate=e=>{if(!this.disabled&&(e.preventDefault(),this.dragProp)){let t=this.mapToRange(e.clientX||e.pageX);if(p(this.value)&&this.dragProp==="minMaxValue")if(this.minValueDragRange&&this.maxValueDragRange&&this.minMaxValueRange){let i=t-this.minValueDragRange,a=t+this.maxValueDragRange;a<=this.max&&i>=this.min&&a-i===this.minMaxValueRange&&this.setValue({minValue:this.clamp(i,"minValue"),maxValue:this.clamp(a,"maxValue")})}else this.minValueDragRange=t-this.minValue,this.maxValueDragRange=this.maxValue-t,this.minMaxValueRange=this.maxValue-this.minValue;else this.setValue({[this.dragProp]:this.clamp(t,this.dragProp)})}},this.formatValue=e=>(R.numberFormatOptions={locale:this.messages._lang,numberingSystem:this.numberingSystem,useGrouping:this.groupSeparator},R.localize(e.toString())),this.guid=`calcite-slider-${A()}`,this.messages=q({name:null}),this.pointerUpDragEnd=e=>{this.disabled||!_(e)||this.dragEnd(e)},this.maxValueDragRange=null,this.minMaxValueRange=null,this.minValueDragRange=null,this.tickValues=[],this.disabled=!1,this.fillPlacement="start",this.groupSeparator=!1,this.hasHistogram=!1,this.labelHandles=!1,this.labelTicks=!1,this.max=100,this.min=0,this.mirrored=!1,this.precise=!1,this.required=!1,this.scale="m",this.snap=!1,this.status="idle",this.step=1,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=0,this.calciteSliderChange=L({cancelable:!1}),this.calciteSliderInput=L({cancelable:!1}),this.listen("pointerdown",this.pointerDownHandler),this.listen("keydown",this.handleKeyDown),this.listen("touchstart",this.handleTouchStart)}static{this.properties={maxValueDragRange:[16,{state:!0}],minMaxValueRange:[16,{state:!0}],minValueDragRange:[16,{state:!0}],tickValues:[16,{state:!0}],disabled:[7,{reflect:!0,type:Boolean}],fillPlacement:[3,{reflect:!0}],form:[3,{reflect:!0}],groupSeparator:[7,{reflect:!0,type:Boolean}],hasHistogram:[7,{reflect:!0,type:Boolean}],histogram:[0,{attribute:!1}],histogramStops:[0,{attribute:!1}],labelFormatter:[0,{attribute:!1}],labelHandles:[7,{reflect:!0,type:Boolean}],labelTicks:[7,{reflect:!0,type:Boolean}],max:[11,{reflect:!0,type:Number}],maxLabel:1,maxValue:[9,{type:Number}],min:[11,{reflect:!0,type:Number}],minLabel:1,minValue:[9,{type:Number}],mirrored:[7,{reflect:!0,type:Boolean}],name:[3,{reflect:!0}],numberingSystem:1,pageStep:[11,{reflect:!0,type:Number}],precise:[7,{reflect:!0,type:Boolean}],required:[7,{reflect:!0,type:Boolean}],scale:[3,{reflect:!0}],snap:[7,{reflect:!0,type:Boolean}],status:[3,{reflect:!0}],step:[11,{reflect:!0,type:Number}],ticks:[11,{reflect:!0,type:Number}],validationIcon:[3,{reflect:!0,converter:F}],validationMessage:1,validity:[0,{attribute:!1}],value:[11,{type:Number,reflect:!0}]}}static{this.shadowRootOptions={mode:"open",delegatesFocus:!0}}static{this.styles=se}async setFocus(){await I(this),(this.minHandle?this.minHandle:this.maxHandle)?.focus()}connectedCallback(){super.connectedCallback(),this.setMinMaxFromValue(),this.setValueFromMinMax(),G(this),J(this)}load(){p(this.value)||(this.value=this.snap?this.getClosestStep(this.value):this.clamp(this.value)),Y(this,this.value)}willUpdate(e){e.has("histogram")&&(this.hasHistogram=!!this.histogram),e.has("ticks")&&(this.tickValues=this.generateTickValues()),e.has("value")&&(this.hasUpdated||this.value!==0)&&this.setMinMaxFromValue(),(e.has("minValue")||e.has("maxValue"))&&this.setValueFromMinMax()}updated(){this.labelHandles&&(this.adjustHostObscuredHandleLabel("value"),p(this.value)&&(this.adjustHostObscuredHandleLabel("minValue"),this.precise&&!this.hasHistogram||this.hyphenateCollidingRangeHandleLabels())),this.hideObscuredBoundingTickLabels(),X(this)}disconnectedCallback(){super.disconnectedCallback(),K(this),Q(this),this.removeDragListeners()}handleKeyDown(e){let t=this.shouldMirror(),{activeProp:i,max:a,min:s,pageStep:n,step:o}=this,r=this[i],{key:c}=e;if(N(c)){e.preventDefault();return}let d;if(c==="ArrowUp"||c==="ArrowRight"?d=r+o*(t&&c==="ArrowRight"?-1:1):c==="ArrowDown"||c==="ArrowLeft"?d=r-o*(t&&c==="ArrowLeft"?-1:1):c==="PageUp"?n&&(d=r+n):c==="PageDown"?n&&(d=r-n):c==="Home"?d=s:c==="End"&&(d=a),isNaN(d))return;e.preventDefault();let u=Number(d.toFixed(H(o)));this.setValue({[i]:this.clamp(u,i)})}pointerDownHandler(e){if(this.disabled||!_(e))return;let t=e.clientX||e.pageX,i=this.mapToRange(t),a="value";p(this.value)&&(i>=this.minValue&&i<=this.maxValue&&this.lastDragProp==="minMaxValue"?a="minMaxValue":a=Math.abs(this.maxValue-i)<Math.abs(this.minValue-i)||i>=this.maxValue?"maxValue":"minValue"),this.lastDragPropValue=this[a],this.dragStart(a),this.el.shadowRoot.querySelector(`.${l.thumb}:active`)||this.setValue({[a]:this.clamp(i,a)}),this.focusActiveHandle(t)}handleTouchStart(e){e.preventDefault()}buildThumbType(e){let t=[e];return this.labelHandles&&t.push("labeled"),this.precise&&t.push("precise"),this.hasHistogram&&t.push("histogram"),t.join("-")}setValueFromMinMax(){let{minValue:e,maxValue:t}=this;typeof e=="number"&&typeof t=="number"&&(this.value=[e,t])}setMinMaxFromValue(){let{value:e}=this;p(e)&&(this.minValue=e[0],this.maxValue=e[1])}onLabelClick(){this.setFocus()}shouldMirror(){return this.mirrored&&!this.hasHistogram}shouldUseMinValue(){return p(this.value)?this.hasHistogram&&this.maxValue===0||!this.hasHistogram&&this.minValue===0:!1}getTickDensity(){let e=(this.max-this.min)/this.ticks/ie;return e<1?1:e}generateTickValues(){let e=this.ticks??0;if(e<=0)return[];let t=[this.min],i=this.getTickDensity(),a=e*i,s=this.min;for(;s<this.max;)s+=a,t.push(Math.min(s,this.max));return t.includes(this.max)||t.push(this.max),t}onThumbBlur(){this.activeProp=null}onThumbFocus(e){let t=e.currentTarget;this.activeProp=t.getAttribute("data-value-prop")}onThumbPointerDown(e){let t=e.currentTarget;this.pointerDownDragStart(e,t.getAttribute("data-value-prop"))}onTrackPointerDown(e){this.pointerDownDragStart(e,"minMaxValue")}pointerDownDragStart(e,t){_(e)&&this.dragStart(t)}dragStart(e){this.dragProp=e,this.lastDragProp=this.dragProp,this.activeProp=e,window.addEventListener("pointermove",this.dragUpdate),window.addEventListener("pointerup",this.pointerUpDragEnd),window.addEventListener("pointercancel",this.dragEnd)}focusActiveHandle(e){this.dragProp==="minValue"?this.minHandle.focus():this.dragProp==="maxValue"||this.dragProp==="value"?this.maxHandle.focus():this.dragProp==="minMaxValue"&&this.getClosestHandle(e).focus()}emitInput(){this.calciteSliderInput.emit()}emitChange(){this.calciteSliderChange.emit()}removeDragListeners(){window.removeEventListener("pointermove",this.dragUpdate),window.removeEventListener("pointerup",this.pointerUpDragEnd),window.removeEventListener("pointercancel",this.dragEnd)}setValue(e){let t;if(Object.keys(e).forEach(a=>{let s=e[a];t||(t=this[a]!==s),this[a]=s}),!t)return;this.dragProp||this.emitChange(),this.emitInput()}storeTrackRef(e){this.trackEl=e}storeThumbRef(e){if(!e)return;e.getAttribute("data-value-prop")==="minValue"?this.minHandle=e:this.maxHandle=e}clamp(e,t){return e=te(e,this.min,this.max),t==="maxValue"&&(e=Math.max(e,this.minValue)),t==="minValue"&&(e=Math.min(e,this.maxValue)),e}mapToRange(e){let t=this.max-this.min,{left:i,width:a}=this.trackEl.getBoundingClientRect(),s=(e-i)/a,n=this.shouldMirror(),o=this.clamp(this.min+t*(n?1-s:s)),r=Number(o.toFixed(H(this.step)));return this.snap&&this.step?this.getClosestStep(r):r}getClosestStep(e){let{max:t,min:i,step:a}=this,s=new j(`${Math.floor((e-i)/a)}`).multiply(`${a}`).add(`${i}`).toString(),n=this.clamp(Number(s));return n>t&&(n-=a),n}getClosestHandle(e){return this.getDistanceX(this.maxHandle,e)>this.getDistanceX(this.minHandle,e)?this.minHandle:this.maxHandle}getDistanceX(e,t){return Math.abs(e.getBoundingClientRect().left-t)}getFontSizeForElement(e){return Number(window.getComputedStyle(e).getPropertyValue("font-size").match(/\d+/)[0])}getUnitInterval(e){e=this.clamp(e);let t=this.max-this.min;return(e-this.min)/t}adjustHostObscuredHandleLabel(e){let t=this.el.shadowRoot.querySelector(`.handle__label--${e}`),i=this.el.shadowRoot.querySelector(`.handle__label--${e}.static`),a=this.el.shadowRoot.querySelector(`.handle__label--${e}.transformed`),s=i.getBoundingClientRect(),n=this.getHostOffset(s.left,s.right);t.style.transform=`translateX(${n}px)`,a.style.transform=`translateX(${n}px)`}hyphenateCollidingRangeHandleLabels(){let{shadowRoot:e}=this.el,t=this.shouldMirror(),i=t?"value":"minValue",a=t?"minValue":"value",s=e.querySelector(`.handle__label--${i}`),n=e.querySelector(`.handle__label--${i}.static`),o=e.querySelector(`.handle__label--${i}.transformed`),r=this.getHostOffset(n.getBoundingClientRect().left,n.getBoundingClientRect().right),c=e.querySelector(`.handle__label--${a}`),d=e.querySelector(`.handle__label--${a}.static`),u=e.querySelector(`.handle__label--${a}.transformed`),m=this.getHostOffset(d.getBoundingClientRect().left,d.getBoundingClientRect().right),v=this.getFontSizeForElement(s),f=this.getRangeLabelOverlap(o,u),x=s,b=v/2;if(f>0){if(x.classList.add(l.hyphen,l.hyphenWrap),m===0&&r===0){let h=f/2-b;h=Math.sign(h)===-1?Math.abs(h):-h;let V=this.getHostOffset(o.getBoundingClientRect().left+h-b,o.getBoundingClientRect().right+h-b),y=f/2,M=this.getHostOffset(u.getBoundingClientRect().left+y,u.getBoundingClientRect().right+y);V!==0&&(h+=V,y+=V),M!==0&&(h+=M,y+=M),s.style.transform=`translateX(${h}px)`,o.style.transform=`translateX(${h-b}px)`,c.style.transform=`translateX(${y}px)`,u.style.transform=`translateX(${y}px)`}else if(r>0||m>0)s.style.transform=`translateX(${r+b}px)`,c.style.transform=`translateX(${f+m}px)`,u.style.transform=`translateX(${f+m}px)`;else if(r<0||m<0){let h=Math.abs(r)+f-b;h=Math.sign(h)===-1?Math.abs(h):-h,s.style.transform=`translateX(${h}px)`,o.style.transform=`translateX(${h-b}px)`}}else x.classList.remove(l.hyphen,l.hyphenWrap),s.style.transform=`translateX(${r}px)`,o.style.transform=`translateX(${r}px)`,c.style.transform=`translateX(${m}px)`,u.style.transform=`translateX(${m}px)`}hideObscuredBoundingTickLabels(){let e=p(this.value);if(!this.hasHistogram&&!e&&!this.labelHandles&&!this.precise||!this.hasHistogram&&!e&&this.labelHandles&&!this.precise||!this.hasHistogram&&!e&&!this.labelHandles&&this.precise||!this.hasHistogram&&!e&&this.labelHandles&&this.precise||!this.hasHistogram&&e&&!this.precise||this.hasHistogram&&!this.precise&&!this.labelHandles)return;let t=this.el.shadowRoot.querySelector(`.${l.thumbMinValue}`),i=this.el.shadowRoot.querySelector(`.${l.thumbValue}`),a=this.el.shadowRoot.querySelector(`.${l.tickMin}`),s=this.el.shadowRoot.querySelector(`.${l.tickMax}`);!t&&i&&a&&s&&(a.style.opacity=this.isMinTickLabelObscured(a,i)?"0":"1",s.style.opacity=this.isMaxTickLabelObscured(s,i)?"0":"1"),t&&i&&a&&s&&(a.style.opacity=this.isMinTickLabelObscured(a,t)||this.isMinTickLabelObscured(a,i)?"0":"1",s.style.opacity=this.isMaxTickLabelObscured(s,t)||this.isMaxTickLabelObscured(s,i)&&this.hasHistogram?"0":"1")}getHostOffset(e,t){let{left:i,right:a}=this.el.getBoundingClientRect();return e<i?i-e:t>a?-(t-a):0}getRangeLabelOverlap(e,t){let i=e.getBoundingClientRect(),a=t.getBoundingClientRect(),s=this.getFontSizeForElement(e),n=i.right+s-a.left;return Math.max(n,0)}isMinTickLabelObscured(e,t){let i=e.getBoundingClientRect(),a=t.getBoundingClientRect();return T(i,a)}isMaxTickLabelObscured(e,t){let i=e.getBoundingClientRect(),a=t.getBoundingClientRect();return T(i,a)}internalLabelFormatter(e,t){let i=this.labelFormatter;if(!i)return this.formatValue(e);let a=i(e,t,this.formatValue);return a??this.formatValue(e)}render(){let e=this.el.id||this.guid,t=p(this.value)?this.maxValue:this.value,i=this.minValue||this.min,a=this.shouldUseMinValue(),s=this.getUnitInterval(a?this.minValue:i)*100,n=this.getUnitInterval(t)*100,o=this.shouldMirror(),r=p(this.value),c=this.buildThumbType("max"),d=this.renderThumb({type:c,thumbPlacement:c.includes("histogram")?"below":"above",maxInterval:n,minInterval:s,mirror:o}),u=this.buildThumbType("min"),m=r?this.renderThumb({type:u,thumbPlacement:u.includes("histogram")||u.includes("precise")?"below":"above",maxInterval:n,minInterval:s,mirror:o}):null,v=r?"start":this.fillPlacement,f=v==="none"?{left:"unset",right:"unset"}:v==="end"?{left:`${o?s:n}%`,right:`${o?n:s}%`}:{left:`${o?100-n:s}%`,right:`${o?s:100-n}%`};return B(this.el,"id",e),U({disabled:this.disabled,children:k`<div aria-errormessage=${ae.validationMessage} .ariaInvalid=${this.status==="invalid"} .ariaLabel=${W(this)} class=${g({[l.container]:!0,[l.containerRange]:r,[`scale--${this.scale}`]:!0})}>${this.renderGraph()}<div class=${g(l.track)} ${w(this.storeTrackRef)}><div class=${g(l.trackRange)} @pointerdown=${this.onTrackPointerDown} style=${$(f)}></div><div class=${g(l.ticks)}>${this.tickValues.map(x=>{let b=`${this.getUnitInterval(x)*100}%`,h=!1;if(v==="start"||v==="end")if(a)h=x>=this.minValue&&x<=this.maxValue;else{let V=v==="start"?i:t,y=v==="start"?t:this.max;h=x>=V&&x<=y}return k`<span class=${g({[l.tick]:!0,[l.tickActive]:h})} style=${$({left:o?"":b,right:o?b:""})}>${this.renderTickLabel(x)}</span>`})}</div></div><div class=${g(l.thumbContainer)}>${m}${d}${Z({component:this})}</div></div>${this.validationMessage&&this.status==="invalid"?ee({icon:this.validationIcon,id:ae.validationMessage,message:this.validationMessage,scale:this.scale,status:this.status}):null}`})}renderThumb({type:e,mirror:t,thumbPlacement:i,minInterval:a,maxInterval:s}){let n=e.includes("labeled"),o=e.includes("precise"),r=e.includes("min"),c=p(this.value),d=r?this.minValue:c?this.maxValue:this.value,u=r?"minValue":c?"maxValue":"value",m=r?this.minLabel:c?this.maxLabel:this.minLabel,v=r?this.minValue:d,f=u==="minValue"?this.internalLabelFormatter(this.minValue,"min"):u==="maxValue"?this.internalLabelFormatter(this.maxValue,"max"):this.internalLabelFormatter(d,"value"),x=r?{left:`${t?100-a:a}%`}:{right:`${t?s:100-s}%`},b=`${l.handleLabel} ${r?l.handleLabelMinValue:l.handleLabelValue}`,V=[...n?[k`<span aria-hidden=true class=${g(b)}>${f}</span>`,k`<span aria-hidden=true class=${`${b} ${l.static}`}>${f}</span>`,k`<span aria-hidden=true class=${`${b} ${l.transformed}`}>${f}</span>`]:[],k`<div class=${g(l.handle)}></div>`,o&&k`<div class=${g(l.handleExtension)}></div>`||""];return i==="below"&&V.reverse(),E(e,k`<div .ariaLabel=${m} aria-orientation=horizontal .ariaValueMax=${this.max} .ariaValueMin=${this.min} .ariaValueNow=${v} class=${g({[l.thumb]:!0,[l.thumbValue]:!r,[l.thumbActive]:this.lastDragProp!=="minMaxValue"&&this.dragProp===u,[l.thumbPrecise]:o,[l.thumbMinValue]:r})} data-value-prop=${u??z} @blur=${this.onThumbBlur} @focus=${this.onThumbFocus} @pointerdown=${this.onThumbPointerDown} role=slider style=${$(x)} tabindex=0 ${w(this.storeThumbRef)}>${V}</div>`)}renderGraph(){return this.histogram?k`<calcite-graph class=${g(l.graph)} .colorStops=${this.histogramStops} .data=${this.histogram} .highlightMax=${p(this.value)?this.maxValue:this.value} .highlightMin=${p(this.value)?this.minValue:this.min} .max=${this.max} .min=${this.min}></calcite-graph>`:null}renderTickLabel(e){let{hasHistogram:t,labelHandles:i,labelTicks:a,max:s,min:n,precise:o,value:r}=this,c=p(r),d=e===n,u=e===s,m=d||u;return a&&(!t&&(m||!o||!c)||t&&(m||!o&&!i))?k`<span class=${g({[l.tickLabel]:!0,[l.tickMin]:d,[l.tickMax]:u})}>${this.internalLabelFormatter(e,"tick")}</span>`:null}};O("calcite-slider",S);export{S as Slider};
|
|
3
|
+
v3.2.0-next.40 */
|
|
4
|
+
import{a as te,b as H}from"./JGJKOHCP.js";import{a as j,k as R}from"./XZK2I4C2.js";import{a as ee}from"./5K3GZOWW.js";import{c as J,e as Q,f as Y,h as Z}from"./4KFIUD2B.js";import{c as G,d as K,e as W}from"./FR4VAYJC.js";import{a as X,b as U}from"./KOH7CJJ2.js";import{a as E}from"./PNGIMH3C.js";import{a as N}from"./VIJYQUPS.js";import{a as q}from"./7EKOSZOZ.js";import{b as w}from"./6P5PSH65.js";import{q as T,x as _}from"./4JEZM6VX.js";import{d as I}from"./VOMFC6A5.js";import"./PB3OJ43M.js";import{a as A}from"./6DCGXB5R.js";import{B,C as F,K as O,e as P,g as k,k as z,w as L,x as C,y as g,z as $}from"./EYWRTO2E.js";var l={container:"container",containerRange:"container--range",graph:"graph",handle:"handle",handleExtension:"handle-extension",handleLabel:"handle__label",handleLabelMinValue:"handle__label--minValue",handleLabelValue:"handle__label--value",hyphen:"hyphen",hyphenWrap:"hyphen--wrap",static:"static",thumb:"thumb",thumbActive:"thumb--active",thumbContainer:"thumb-container",thumbMinValue:"thumb--minValue",thumbPrecise:"thumb--precise",thumbValue:"thumb--value",tick:"tick",tickActive:"tick--active",tickLabel:"tick__label",tickMax:"tick__label--max",tickMin:"tick__label--min",ticks:"ticks",track:"track",trackRange:"track__range",transformed:"transformed"},ae={validationMessage:"validationMessage"},ie=250,se=P`@charset "UTF-8";:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}.scale--s{--calcite-slider-handle-size: .625rem;--calcite-slider-handle-extension-height: .4rem;--calcite-slider-container-font-size: var(--calcite-font-size--3)}.scale--s .handle__label,.scale--s .tick__label{line-height:.75rem}.scale--m{--calcite-slider-handle-size: .875rem;--calcite-slider-handle-extension-height: .5rem;--calcite-slider-container-font-size: var(--calcite-font-size--2)}.scale--m .handle__label,.scale--m .tick__label{line-height:1rem}.scale--l{--calcite-slider-handle-size: 1rem;--calcite-slider-handle-extension-height: .65rem;--calcite-slider-container-font-size: var(--calcite-font-size--1)}.scale--l .handle__label,.scale--l .tick__label{line-height:1rem}.handle__label,.tick__label{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-slider-text-color, var(--calcite-color-text-2));font-size:var(--calcite-slider-container-font-size)}:host{display:block}:host .validation-container{padding-block-start:0!important}.container{position:relative;display:block;overflow-wrap:normal;word-break:normal;padding-inline:calc(var(--calcite-slider-handle-size) * .5);padding-block:calc(var(--calcite-slider-handle-size) * .5);margin-block:calc(var(--calcite-slider-handle-size) * .5);margin-inline:0;--calcite-slider-full-handle-height: calc( var(--calcite-slider-handle-size) + var(--calcite-slider-handle-extension-height) );touch-action:none;-webkit-user-select:none;user-select:none}:host([disabled]) .track__range,:host([disabled]) .tick--active{background-color:var(--calcite-color-text-3)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}.scale--s .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset: -.375rem}.scale--m .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset: -.5rem}.scale--l .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset: -.55rem}:host([precise]:not([has-histogram])) .container .thumb--value{--calcite-slider-thumb-y-offset: calc(var(--calcite-slider-full-handle-height) * -1)}.thumb-container{position:relative;max-inline-size:100%}.thumb{--calcite-slider-thumb-x-offset: calc(var(--calcite-slider-handle-size) * .5);position:absolute;margin:0;display:flex;cursor:pointer;flex-direction:column;align-items:center;border-style:none;background-color:transparent;padding:0;font-family:inherit;outline:2px solid transparent;outline-offset:2px;transform:translate(var(--calcite-slider-thumb-x-offset),var(--calcite-slider-thumb-y-offset))}.thumb .handle__label{white-space:nowrap}.thumb .handle__label.static,.thumb .handle__label.transformed{position:absolute;inset-block:0px;opacity:0}.thumb .handle__label.hyphen:after{content:"\u2014";display:inline-block;inline-size:1em}.thumb .handle__label.hyphen--wrap{display:flex}.thumb .handle{box-sizing:border-box;border-radius:9999px;outline-color:transparent;background-color:var(--calcite-slider-handle-fill-color, var(--calcite-color-foreground-1));block-size:var(--calcite-slider-handle-size);inline-size:var(--calcite-slider-handle-size);box-shadow:0 0 0 2px var(--calcite-color-text-3) inset;transition:border var(--calcite-internal-animation-timing-medium) ease,background-color var(--calcite-internal-animation-timing-medium) ease,box-shadow var(--calcite-animation-timing) ease}.thumb .handle-extension{inline-size:.125rem;block-size:var(--calcite-slider-handle-extension-height);background-color:var(--calcite-slider-handle-extension-color, var(--calcite-color-text-3))}.thumb:hover .handle{box-shadow:0 0 0 3px var(--calcite-color-brand) inset}.thumb:hover .handle-extension{background-color:var(--calcite-slider-accent-color, var(--calcite-color-brand))}.thumb:focus .handle{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))))}.thumb:focus .handle-extension{background-color:var(--calcite-slider-accent-color, var(--calcite-color-brand))}.thumb.thumb--minValue{transform:translate(calc(var(--calcite-slider-thumb-x-offset) * -1),var(--calcite-slider-thumb-y-offset))}.thumb.thumb--precise{--calcite-slider-thumb-y-offset: -.125rem}:host([label-handles]) .thumb{--calcite-slider-thumb-x-offset: 50%}:host([label-handles]):host(:not([has-histogram])) .scale--s .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset: -1.4375rem}:host([label-handles]):host(:not([has-histogram])) .scale--m .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset: -1.875rem}:host([label-handles]):host(:not([has-histogram])) .scale--l .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset: -2rem}:host([has-histogram][label-handles]) .handle__label,:host([label-handles]:not([has-histogram])) .thumb--minValue.thumb--precise .handle__label{margin-block-start:.5em}:host(:not([has-histogram]):not([precise])) .handle__label,:host([label-handles]:not([has-histogram])) .thumb--value .handle__label{margin-block-end:.5em}:host([label-handles][precise]):host(:not([has-histogram])) .scale--s .thumb--value{--calcite-slider-thumb-y-offset: -2.075rem}:host([label-handles][precise]):host(:not([has-histogram])) .scale--m .thumb--value{--calcite-slider-thumb-y-offset: -2.75rem}:host([label-handles][precise]):host(:not([has-histogram])) .scale--l .thumb--value{--calcite-slider-thumb-y-offset: -3.0625rem}.thumb:focus .handle,.thumb--active .handle{background-color:var(--calcite-slider-accent-color, var(--calcite-color-brand));box-shadow:0 0 8px #00000029}.thumb:hover.thumb--precise:after,.thumb:focus.thumb--precise:after,.thumb--active.thumb--precise:after{background-color:var(--calcite-slider-accent-color, var(--calcite-color-brand))}.track{position:relative;block-size:.125rem;border-radius:0;background-color:var(--calcite-slider-track-color, var(--calcite-color-border-2));transition:all var(--calcite-internal-animation-timing-medium) ease-in}.track__range{position:absolute;inset-block-start:0px;block-size:.125rem;background-color:var(--calcite-slider-track-fill-color, var(--calcite-color-brand))}.container--range .track__range:hover{cursor:ew-resize}.container--range .track__range:after{position:absolute;inline-size:100%;content:"";inset-block-start:calc(var(--calcite-slider-full-handle-height) * .5 * -1);block-size:calc(var(--calcite-slider-handle-size) + var(--calcite-slider-handle-extension-height))}@media (forced-colors: active){.thumb{outline-width:0;outline-offset:0}.handle{outline:2px solid transparent;outline-offset:2px}.thumb:focus .handle,.thumb .handle-extension,.thumb:hover .handle-extension,.thumb:focus .handle-extension,.thumb:active .handle-extension{background-color:canvasText}.track{background-color:canvasText}.track__range{background-color:highlight}}.tick{position:absolute;block-size:.25rem;inline-size:.125rem;border-width:1px;border-style:solid;background-color:var(--calcite-slider-tick-color, var(--calcite-color-border-input));border-color:var(--calcite-slider-tick-border-color, var(--calcite-color-foreground-1));inset-block-start:-2px;pointer-events:none;margin-inline-start:-.125rem}.tick--active{background-color:var(--calcite-slider-tick-selected-color, var(--calcite-color-brand))}.tick__label{pointer-events:none;margin-block-start:.875rem;display:flex;justify-content:center}.tick__label--min{transition:opacity var(--calcite-animation-timing)}.tick__label--max{transition:opacity var(--calcite-internal-animation-timing-fast)}:host([has-histogram][label-handles]) .tick__label--min,:host([has-histogram][label-handles]) .tick__label--max,:host([has-histogram][precise]) .tick__label--min,:host([has-histogram][precise]) .tick__label--max{font-weight:var(--calcite-font-weight-normal);color:var(--calcite-color-text-3)}.graph{color:var(--calcite-slider-graph-color, var(--calcite-color-foreground-3));block-size:48px}:host([label-ticks][ticks]) .container{padding-block-end:calc(.875rem + var(--calcite-slider-container-font-size))}:host([has-histogram]):host([precise][label-handles]) .container{padding-block-end:calc(var(--calcite-slider-full-handle-height) + 1em)}:host([has-histogram]):host([label-handles]:not([precise])) .container{padding-block-end:calc(var(--calcite-slider-handle-size) * .5 + 1em)}:host([has-histogram]):host([precise]:not([label-handles])) .container{padding-block-end:var(--calcite-slider-full-handle-height)}:host(:not([has-histogram])):host([precise]:not([label-handles])) .container{padding-block-start:var(--calcite-slider-full-handle-height)}:host(:not([has-histogram])):host([precise]:not([label-handles])) .container--range{padding-block-end:var(--calcite-slider-full-handle-height)}:host(:not([has-histogram])):host([label-handles]:not([precise])) .container{padding-block-start:calc(var(--calcite-slider-full-handle-height) + 4px)}:host(:not([has-histogram])):host([label-handles][precise]) .container{padding-block-start:calc(var(--calcite-slider-full-handle-height) + var(--calcite-slider-container-font-size) + 4px)}:host(:not([has-histogram])):host([label-handles][precise]) .container--range{padding-block-end:calc(var(--calcite-slider-full-handle-height) + var(--calcite-slider-container-font-size) + 4px)}.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}`;function p(D){return Array.isArray(D)}var S=class extends C{constructor(){super(),this.activeProp="value",this.dragEnd=e=>{this.disabled||(this.removeDragListeners(),this.focusActiveHandle(e.clientX),this.lastDragPropValue!=this[this.dragProp]&&this.emitChange(),this.dragProp=null,this.lastDragPropValue=null,this.minValueDragRange=null,this.maxValueDragRange=null,this.minMaxValueRange=null)},this.dragUpdate=e=>{if(!this.disabled&&(e.preventDefault(),this.dragProp)){let t=this.mapToRange(e.clientX||e.pageX);if(p(this.value)&&this.dragProp==="minMaxValue")if(this.minValueDragRange&&this.maxValueDragRange&&this.minMaxValueRange){let i=t-this.minValueDragRange,a=t+this.maxValueDragRange;a<=this.max&&i>=this.min&&a-i===this.minMaxValueRange&&this.setValue({minValue:this.clamp(i,"minValue"),maxValue:this.clamp(a,"maxValue")})}else this.minValueDragRange=t-this.minValue,this.maxValueDragRange=this.maxValue-t,this.minMaxValueRange=this.maxValue-this.minValue;else this.setValue({[this.dragProp]:this.clamp(t,this.dragProp)})}},this.formatValue=e=>(R.numberFormatOptions={locale:this.messages._lang,numberingSystem:this.numberingSystem,useGrouping:this.groupSeparator},R.localize(e.toString())),this.guid=`calcite-slider-${A()}`,this.messages=q({name:null}),this.pointerUpDragEnd=e=>{this.disabled||!_(e)||this.dragEnd(e)},this.maxValueDragRange=null,this.minMaxValueRange=null,this.minValueDragRange=null,this.tickValues=[],this.disabled=!1,this.fillPlacement="start",this.groupSeparator=!1,this.hasHistogram=!1,this.labelHandles=!1,this.labelTicks=!1,this.max=100,this.min=0,this.mirrored=!1,this.precise=!1,this.required=!1,this.scale="m",this.snap=!1,this.status="idle",this.step=1,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=0,this.calciteSliderChange=L({cancelable:!1}),this.calciteSliderInput=L({cancelable:!1}),this.listen("pointerdown",this.pointerDownHandler),this.listen("keydown",this.handleKeyDown),this.listen("touchstart",this.handleTouchStart)}static{this.properties={maxValueDragRange:[16,{state:!0}],minMaxValueRange:[16,{state:!0}],minValueDragRange:[16,{state:!0}],tickValues:[16,{state:!0}],disabled:[7,{reflect:!0,type:Boolean}],fillPlacement:[3,{reflect:!0}],form:[3,{reflect:!0}],groupSeparator:[7,{reflect:!0,type:Boolean}],hasHistogram:[7,{reflect:!0,type:Boolean}],histogram:[0,{attribute:!1}],histogramStops:[0,{attribute:!1}],labelFormatter:[0,{attribute:!1}],labelHandles:[7,{reflect:!0,type:Boolean}],labelTicks:[7,{reflect:!0,type:Boolean}],max:[11,{reflect:!0,type:Number}],maxLabel:1,maxValue:[9,{type:Number}],min:[11,{reflect:!0,type:Number}],minLabel:1,minValue:[9,{type:Number}],mirrored:[7,{reflect:!0,type:Boolean}],name:[3,{reflect:!0}],numberingSystem:1,pageStep:[11,{reflect:!0,type:Number}],precise:[7,{reflect:!0,type:Boolean}],required:[7,{reflect:!0,type:Boolean}],scale:[3,{reflect:!0}],snap:[7,{reflect:!0,type:Boolean}],status:[3,{reflect:!0}],step:[11,{reflect:!0,type:Number}],ticks:[11,{reflect:!0,type:Number}],validationIcon:[3,{reflect:!0,converter:F}],validationMessage:1,validity:[0,{attribute:!1}],value:[11,{type:Number,reflect:!0}]}}static{this.shadowRootOptions={mode:"open",delegatesFocus:!0}}static{this.styles=se}async setFocus(){await I(this),(this.minHandle?this.minHandle:this.maxHandle)?.focus()}connectedCallback(){super.connectedCallback(),this.setMinMaxFromValue(),this.setValueFromMinMax(),G(this),J(this)}load(){p(this.value)||(this.value=this.snap?this.getClosestStep(this.value):this.clamp(this.value)),Y(this,this.value)}willUpdate(e){e.has("histogram")&&(this.hasHistogram=!!this.histogram),e.has("ticks")&&(this.tickValues=this.generateTickValues()),e.has("value")&&(this.hasUpdated||this.value!==0)&&this.setMinMaxFromValue(),(e.has("minValue")||e.has("maxValue"))&&this.setValueFromMinMax()}updated(){this.labelHandles&&(this.adjustHostObscuredHandleLabel("value"),p(this.value)&&(this.adjustHostObscuredHandleLabel("minValue"),this.precise&&!this.hasHistogram||this.hyphenateCollidingRangeHandleLabels())),this.hideObscuredBoundingTickLabels(),X(this)}disconnectedCallback(){super.disconnectedCallback(),K(this),Q(this),this.removeDragListeners()}handleKeyDown(e){let t=this.shouldMirror(),{activeProp:i,max:a,min:s,pageStep:n,step:o}=this,r=this[i],{key:c}=e;if(N(c)){e.preventDefault();return}let d;if(c==="ArrowUp"||c==="ArrowRight"?d=r+o*(t&&c==="ArrowRight"?-1:1):c==="ArrowDown"||c==="ArrowLeft"?d=r-o*(t&&c==="ArrowLeft"?-1:1):c==="PageUp"?n&&(d=r+n):c==="PageDown"?n&&(d=r-n):c==="Home"?d=s:c==="End"&&(d=a),isNaN(d))return;e.preventDefault();let u=Number(d.toFixed(H(o)));this.setValue({[i]:this.clamp(u,i)})}pointerDownHandler(e){if(this.disabled||!_(e))return;let t=e.clientX||e.pageX,i=this.mapToRange(t),a="value";p(this.value)&&(i>=this.minValue&&i<=this.maxValue&&this.lastDragProp==="minMaxValue"?a="minMaxValue":a=Math.abs(this.maxValue-i)<Math.abs(this.minValue-i)||i>=this.maxValue?"maxValue":"minValue"),this.lastDragPropValue=this[a],this.dragStart(a),this.el.shadowRoot.querySelector(`.${l.thumb}:active`)||this.setValue({[a]:this.clamp(i,a)}),this.focusActiveHandle(t)}handleTouchStart(e){e.preventDefault()}buildThumbType(e){let t=[e];return this.labelHandles&&t.push("labeled"),this.precise&&t.push("precise"),this.hasHistogram&&t.push("histogram"),t.join("-")}setValueFromMinMax(){let{minValue:e,maxValue:t}=this;typeof e=="number"&&typeof t=="number"&&(this.value=[e,t])}setMinMaxFromValue(){let{value:e}=this;p(e)&&(this.minValue=e[0],this.maxValue=e[1])}onLabelClick(){this.setFocus()}shouldMirror(){return this.mirrored&&!this.hasHistogram}shouldUseMinValue(){return p(this.value)?this.hasHistogram&&this.maxValue===0||!this.hasHistogram&&this.minValue===0:!1}getTickDensity(){let e=(this.max-this.min)/this.ticks/ie;return e<1?1:e}generateTickValues(){let e=this.ticks??0;if(e<=0)return[];let t=[this.min],i=this.getTickDensity(),a=e*i,s=this.min;for(;s<this.max;)s+=a,t.push(Math.min(s,this.max));return t.includes(this.max)||t.push(this.max),t}onThumbBlur(){this.activeProp=null}onThumbFocus(e){let t=e.currentTarget;this.activeProp=t.getAttribute("data-value-prop")}onThumbPointerDown(e){let t=e.currentTarget;this.pointerDownDragStart(e,t.getAttribute("data-value-prop"))}onTrackPointerDown(e){this.pointerDownDragStart(e,"minMaxValue")}pointerDownDragStart(e,t){_(e)&&this.dragStart(t)}dragStart(e){this.dragProp=e,this.lastDragProp=this.dragProp,this.activeProp=e,window.addEventListener("pointermove",this.dragUpdate),window.addEventListener("pointerup",this.pointerUpDragEnd),window.addEventListener("pointercancel",this.dragEnd)}focusActiveHandle(e){this.dragProp==="minValue"?this.minHandle.focus():this.dragProp==="maxValue"||this.dragProp==="value"?this.maxHandle.focus():this.dragProp==="minMaxValue"&&this.getClosestHandle(e).focus()}emitInput(){this.calciteSliderInput.emit()}emitChange(){this.calciteSliderChange.emit()}removeDragListeners(){window.removeEventListener("pointermove",this.dragUpdate),window.removeEventListener("pointerup",this.pointerUpDragEnd),window.removeEventListener("pointercancel",this.dragEnd)}setValue(e){let t;if(Object.keys(e).forEach(a=>{let s=e[a];t||(t=this[a]!==s),this[a]=s}),!t)return;this.dragProp||this.emitChange(),this.emitInput()}storeTrackRef(e){this.trackEl=e}storeThumbRef(e){if(!e)return;e.getAttribute("data-value-prop")==="minValue"?this.minHandle=e:this.maxHandle=e}clamp(e,t){return e=te(e,this.min,this.max),t==="maxValue"&&(e=Math.max(e,this.minValue)),t==="minValue"&&(e=Math.min(e,this.maxValue)),e}mapToRange(e){let t=this.max-this.min,{left:i,width:a}=this.trackEl.getBoundingClientRect(),s=(e-i)/a,n=this.shouldMirror(),o=this.clamp(this.min+t*(n?1-s:s)),r=Number(o.toFixed(H(this.step)));return this.snap&&this.step?this.getClosestStep(r):r}getClosestStep(e){let{max:t,min:i,step:a}=this,s=new j(`${Math.floor((e-i)/a)}`).multiply(`${a}`).add(`${i}`).toString(),n=this.clamp(Number(s));return n>t&&(n-=a),n}getClosestHandle(e){return this.getDistanceX(this.maxHandle,e)>this.getDistanceX(this.minHandle,e)?this.minHandle:this.maxHandle}getDistanceX(e,t){return Math.abs(e.getBoundingClientRect().left-t)}getFontSizeForElement(e){return Number(window.getComputedStyle(e).getPropertyValue("font-size").match(/\d+/)[0])}getUnitInterval(e){e=this.clamp(e);let t=this.max-this.min;return(e-this.min)/t}adjustHostObscuredHandleLabel(e){let t=this.el.shadowRoot.querySelector(`.handle__label--${e}`),i=this.el.shadowRoot.querySelector(`.handle__label--${e}.static`),a=this.el.shadowRoot.querySelector(`.handle__label--${e}.transformed`),s=i.getBoundingClientRect(),n=this.getHostOffset(s.left,s.right);t.style.transform=`translateX(${n}px)`,a.style.transform=`translateX(${n}px)`}hyphenateCollidingRangeHandleLabels(){let{shadowRoot:e}=this.el,t=this.shouldMirror(),i=t?"value":"minValue",a=t?"minValue":"value",s=e.querySelector(`.handle__label--${i}`),n=e.querySelector(`.handle__label--${i}.static`),o=e.querySelector(`.handle__label--${i}.transformed`),r=this.getHostOffset(n.getBoundingClientRect().left,n.getBoundingClientRect().right),c=e.querySelector(`.handle__label--${a}`),d=e.querySelector(`.handle__label--${a}.static`),u=e.querySelector(`.handle__label--${a}.transformed`),m=this.getHostOffset(d.getBoundingClientRect().left,d.getBoundingClientRect().right),v=this.getFontSizeForElement(s),f=this.getRangeLabelOverlap(o,u),x=s,b=v/2;if(f>0){if(x.classList.add(l.hyphen,l.hyphenWrap),m===0&&r===0){let h=f/2-b;h=Math.sign(h)===-1?Math.abs(h):-h;let V=this.getHostOffset(o.getBoundingClientRect().left+h-b,o.getBoundingClientRect().right+h-b),y=f/2,M=this.getHostOffset(u.getBoundingClientRect().left+y,u.getBoundingClientRect().right+y);V!==0&&(h+=V,y+=V),M!==0&&(h+=M,y+=M),s.style.transform=`translateX(${h}px)`,o.style.transform=`translateX(${h-b}px)`,c.style.transform=`translateX(${y}px)`,u.style.transform=`translateX(${y}px)`}else if(r>0||m>0)s.style.transform=`translateX(${r+b}px)`,c.style.transform=`translateX(${f+m}px)`,u.style.transform=`translateX(${f+m}px)`;else if(r<0||m<0){let h=Math.abs(r)+f-b;h=Math.sign(h)===-1?Math.abs(h):-h,s.style.transform=`translateX(${h}px)`,o.style.transform=`translateX(${h-b}px)`}}else x.classList.remove(l.hyphen,l.hyphenWrap),s.style.transform=`translateX(${r}px)`,o.style.transform=`translateX(${r}px)`,c.style.transform=`translateX(${m}px)`,u.style.transform=`translateX(${m}px)`}hideObscuredBoundingTickLabels(){let e=p(this.value);if(!this.hasHistogram&&!e&&!this.labelHandles&&!this.precise||!this.hasHistogram&&!e&&this.labelHandles&&!this.precise||!this.hasHistogram&&!e&&!this.labelHandles&&this.precise||!this.hasHistogram&&!e&&this.labelHandles&&this.precise||!this.hasHistogram&&e&&!this.precise||this.hasHistogram&&!this.precise&&!this.labelHandles)return;let t=this.el.shadowRoot.querySelector(`.${l.thumbMinValue}`),i=this.el.shadowRoot.querySelector(`.${l.thumbValue}`),a=this.el.shadowRoot.querySelector(`.${l.tickMin}`),s=this.el.shadowRoot.querySelector(`.${l.tickMax}`);!t&&i&&a&&s&&(a.style.opacity=this.isMinTickLabelObscured(a,i)?"0":"1",s.style.opacity=this.isMaxTickLabelObscured(s,i)?"0":"1"),t&&i&&a&&s&&(a.style.opacity=this.isMinTickLabelObscured(a,t)||this.isMinTickLabelObscured(a,i)?"0":"1",s.style.opacity=this.isMaxTickLabelObscured(s,t)||this.isMaxTickLabelObscured(s,i)&&this.hasHistogram?"0":"1")}getHostOffset(e,t){let{left:i,right:a}=this.el.getBoundingClientRect();return e<i?i-e:t>a?-(t-a):0}getRangeLabelOverlap(e,t){let i=e.getBoundingClientRect(),a=t.getBoundingClientRect(),s=this.getFontSizeForElement(e),n=i.right+s-a.left;return Math.max(n,0)}isMinTickLabelObscured(e,t){let i=e.getBoundingClientRect(),a=t.getBoundingClientRect();return T(i,a)}isMaxTickLabelObscured(e,t){let i=e.getBoundingClientRect(),a=t.getBoundingClientRect();return T(i,a)}internalLabelFormatter(e,t){let i=this.labelFormatter;if(!i)return this.formatValue(e);let a=i(e,t,this.formatValue);return a??this.formatValue(e)}render(){let e=this.el.id||this.guid,t=p(this.value)?this.maxValue:this.value,i=this.minValue||this.min,a=this.shouldUseMinValue(),s=this.getUnitInterval(a?this.minValue:i)*100,n=this.getUnitInterval(t)*100,o=this.shouldMirror(),r=p(this.value),c=this.buildThumbType("max"),d=this.renderThumb({type:c,thumbPlacement:c.includes("histogram")?"below":"above",maxInterval:n,minInterval:s,mirror:o}),u=this.buildThumbType("min"),m=r?this.renderThumb({type:u,thumbPlacement:u.includes("histogram")||u.includes("precise")?"below":"above",maxInterval:n,minInterval:s,mirror:o}):null,v=r?"start":this.fillPlacement,f=v==="none"?{left:"unset",right:"unset"}:v==="end"?{left:`${o?s:n}%`,right:`${o?n:s}%`}:{left:`${o?100-n:s}%`,right:`${o?s:100-n}%`};return B(this.el,"id",e),U({disabled:this.disabled,children:k`<div aria-errormessage=${ae.validationMessage} .ariaInvalid=${this.status==="invalid"} .ariaLabel=${W(this)} class=${g({[l.container]:!0,[l.containerRange]:r,[`scale--${this.scale}`]:!0})}>${this.renderGraph()}<div class=${g(l.track)} ${w(this.storeTrackRef)}><div class=${g(l.trackRange)} @pointerdown=${this.onTrackPointerDown} style=${$(f)}></div><div class=${g(l.ticks)}>${this.tickValues.map(x=>{let b=`${this.getUnitInterval(x)*100}%`,h=!1;if(v==="start"||v==="end")if(a)h=x>=this.minValue&&x<=this.maxValue;else{let V=v==="start"?i:t,y=v==="start"?t:this.max;h=x>=V&&x<=y}return k`<span class=${g({[l.tick]:!0,[l.tickActive]:h})} style=${$({left:o?"":b,right:o?b:""})}>${this.renderTickLabel(x)}</span>`})}</div></div><div class=${g(l.thumbContainer)}>${m}${d}${Z({component:this})}</div></div>${this.validationMessage&&this.status==="invalid"?ee({icon:this.validationIcon,id:ae.validationMessage,message:this.validationMessage,scale:this.scale,status:this.status}):null}`})}renderThumb({type:e,mirror:t,thumbPlacement:i,minInterval:a,maxInterval:s}){let n=e.includes("labeled"),o=e.includes("precise"),r=e.includes("min"),c=p(this.value),d=r?this.minValue:c?this.maxValue:this.value,u=r?"minValue":c?"maxValue":"value",m=r?this.minLabel:c?this.maxLabel:this.minLabel,v=r?this.minValue:d,f=u==="minValue"?this.internalLabelFormatter(this.minValue,"min"):u==="maxValue"?this.internalLabelFormatter(this.maxValue,"max"):this.internalLabelFormatter(d,"value"),x=r?{left:`${t?100-a:a}%`}:{right:`${t?s:100-s}%`},b=`${l.handleLabel} ${r?l.handleLabelMinValue:l.handleLabelValue}`,V=[...n?[k`<span aria-hidden=true class=${g(b)}>${f}</span>`,k`<span aria-hidden=true class=${`${b} ${l.static}`}>${f}</span>`,k`<span aria-hidden=true class=${`${b} ${l.transformed}`}>${f}</span>`]:[],k`<div class=${g(l.handle)}></div>`,o&&k`<div class=${g(l.handleExtension)}></div>`||""];return i==="below"&&V.reverse(),E(e,k`<div .ariaLabel=${m} aria-orientation=horizontal .ariaValueMax=${this.max} .ariaValueMin=${this.min} .ariaValueNow=${v} class=${g({[l.thumb]:!0,[l.thumbValue]:!r,[l.thumbActive]:this.lastDragProp!=="minMaxValue"&&this.dragProp===u,[l.thumbPrecise]:o,[l.thumbMinValue]:r})} data-value-prop=${u??z} @blur=${this.onThumbBlur} @focus=${this.onThumbFocus} @pointerdown=${this.onThumbPointerDown} role=slider style=${$(x)} tabindex=0 ${w(this.storeThumbRef)}>${V}</div>`)}renderGraph(){return this.histogram?k`<calcite-graph class=${g(l.graph)} .colorStops=${this.histogramStops} .data=${this.histogram} .highlightMax=${p(this.value)?this.maxValue:this.value} .highlightMin=${p(this.value)?this.minValue:this.min} .max=${this.max} .min=${this.min}></calcite-graph>`:null}renderTickLabel(e){let{hasHistogram:t,labelHandles:i,labelTicks:a,max:s,min:n,precise:o,value:r}=this,c=p(r),d=e===n,u=e===s,m=d||u;return a&&(!t&&(m||!o||!c)||t&&(m||!o&&!i))?k`<span class=${g({[l.tickLabel]:!0,[l.tickMin]:d,[l.tickMax]:u})}>${this.internalLabelFormatter(e,"tick")}</span>`:null}};O("calcite-slider",S);export{S as Slider};
|
|
@@ -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 C,r as m}from"./
|
|
3
|
+
v3.2.0-next.40 */
|
|
4
|
+
import{a as C,r as m}from"./NAEQOQHY.js";import"./UTHT52HY.js";import{a as y}from"./PNGIMH3C.js";import{d as z}from"./4JEZM6VX.js";import"./6DCGXB5R.js";import{K as k,e as f,g as $,h,k as t,x as S,y as a}from"./EYWRTO2E.js";var l={swatch:"swatch",noColorSwatch:"swatch--no-color",checker:"checker"},x={borderLight:"rgba(0, 0, 0, 0.3)",borderDark:"rgba(255, 255, 255, 0.15)"},b=4,i={squareSize:b,size:b*2},q=f`:host{position:relative;display:inline-flex}:host([scale=s]){block-size:1.25rem;inline-size:1.25rem}:host([scale=m]){block-size:1.5rem;inline-size:1.5rem}:host([scale=l]){block-size:2rem;inline-size:2rem}.swatch{overflow:hidden;block-size:inherit;inline-size:inherit}.swatch rect{transition-property:all;transition-duration:.15s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.swatch--no-color rect{fill:var(--calcite-color-foreground-1)}.swatch--no-color line{stroke:var(--calcite-color-status-danger)}.checker{fill:#cacaca}:host([hidden]){display:none}[hidden]{display:none}`,w=class extends S{constructor(){super(...arguments),this.active=!1,this.scale="m"}static{this.properties={active:[7,{reflect:!0,type:Boolean}],color:1,scale:[3,{reflect:!0}]}}static{this.styles=q}load(){this.handleColorChange(this.color)}willUpdate(e){e.has("color")&&this.handleColorChange(this.color)}handleColorChange(e){this.internalColor=e?C(e):null}render(){let e=!this.internalColor,c={[l.swatch]:!0,[l.noColorSwatch]:e};return $`<svg class=${a(c)} xmlns=http://www.w3.org/2000/svg>${this.renderSwatch()}</svg>`}renderSwatch(){let{active:e,el:c,internalColor:s}=this,o=e?"100%":"0",n=z(c)==="light"?x.borderLight:x.borderDark,d=!s,r={height:"100%",rx:o,stroke:n,strokeWidth:"2",width:"100%"};if(d)return h`<clipPath id=shape><rect height=100% rx=${o??t} width=100% /></clipPath>${this.renderSwatchRect({clipPath:`inset(0 round ${o})`,...r})}<line clip-path=url(#shape) stroke-width=3 x1=100% x2=0 y1=0 y2=100% />`;let p=s.alpha(),v=m(s),g=m(s,p<1);return h`<title>${g}</title><defs><pattern height=${i.size} id=checker patternUnits=userSpaceOnUse width=${i.size} x=0 y=0><rect class=${a(l.checker)} height=${i.squareSize} width=${i.squareSize} x=0 y=0 /><rect class=${a(l.checker)} height=${i.squareSize} width=${i.squareSize} x=${i.squareSize} y=${i.squareSize} /></pattern></defs>${this.renderSwatchRect({fill:"url(#checker)",rx:r.rx,height:r.height,width:r.width})}${this.renderSwatchRect({clipPath:p<1?"polygon(100% 0, 0 0, 0 100%)":`inset(0 round ${o})`,fill:v,...r})}${p<1?this.renderSwatchRect({clipPath:"polygon(100% 0, 100% 100%, 0 100%)",fill:g,key:"opacity-fill",...r}):null}`}renderSwatchRect({clipPath:e,fill:c,height:s,key:o,rx:u,stroke:n,strokeWidth:d,width:r}){return y(o,h`<rect clip-path=${e??t} fill=${c??t} height=${s??t} rx=${u??t} stroke=${n??t} stroke-width=${d??t} width=${r??t} />`)}};k("calcite-color-picker-swatch",w);export{w as ColorPickerSwatch};
|
|
@@ -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}from"./
|
|
3
|
+
v3.2.0-next.40 */
|
|
4
|
+
import{a}from"./LWBS4ZDT.js";import{b as A}from"./6P5PSH65.js";import{b as x}from"./XJUNWEHJ.js";import{e as d}from"./4JEZM6VX.js";import{g,k as v}from"./EYWRTO2E.js";var I=2,S=t=>t.reduce((o,e)=>o+e,0)/t.length,D=t=>{let o=t.filter(n=>n.slot!==a.menuActions),e=o?.length;return{actionWidth:e?S(o.map(n=>n.clientWidth||0)):0,actionHeight:e?S(o.map(n=>n.clientHeight||0)):0}},N=({width:t,actionWidth:o,layout:e,height:n,actionHeight:i,groupCount:r})=>{let c=e==="horizontal"?t:n,s=e==="horizontal"?o:i;return Math.floor((c-r*I)/s)},H=({layout:t,actionCount:o,actionWidth:e,width:n,actionHeight:i,height:r,groupCount:c})=>Math.max(o-N({width:n,actionWidth:e,layout:t,height:r,actionHeight:i,groupCount:c}),0),E=t=>Array.from(t.querySelectorAll("calcite-action")).filter(o=>o.closest("calcite-action-menu")?o.slot===x.trigger:!0),k=({actionGroups:t,expanded:o,overflowCount:e})=>{let n=e;t.reverse().forEach(i=>{let r=0,c=E(i).reverse();c.forEach(s=>{s.slot===a.menuActions&&(s.removeAttribute("slot"),s.textEnabled=o)}),n>0&&c.some(s=>(c.filter(u=>!u.slot).length>1&&c.length>2&&!s.closest("calcite-action-menu")&&(s.textEnabled=!0,s.setAttribute("slot",a.menuActions),r++,r>1&&n--),n<1)),i.manager.component.requestUpdate()})},p={chevronsLeft:"chevrons-left",chevronsRight:"chevrons-right"};function O(t,o){return t||o.closest("calcite-shell-panel")?.position||"start"}function B({el:t,expanded:o}){E(t).filter(e=>e.slot!==a.menuActions).forEach(e=>e.textEnabled=o),t.querySelectorAll("calcite-action-group, calcite-action-menu").forEach(e=>e.expanded=o)}var P=({tooltip:t,referenceElement:o,expanded:e,ref:n})=>(t&&(t.referenceElement=!e&&o?o:null),n&&n(o),o),G=({expanded:t,expandText:o,collapseText:e,expandLabel:n,collapseLabel:i,toggle:r,el:c,position:s,tooltip:f,ref:u,scale:$})=>{let b=d(c)==="rtl",h=t?e:o,C=t?i:n,l=[p.chevronsLeft,p.chevronsRight];b&&l.reverse();let m=O(s,c)==="end",T=m?l[1]:l[0],q=m?l[0]:l[1];return g`<calcite-action .icon=${t?T:q} id=expand-toggle .label=${C} @click=${r} .scale=${$} .text=${h} .textEnabled=${t} title=${(!t&&!f?h:null)??v} ${A(L=>P({tooltip:f,referenceElement:L,expanded:t,ref:u}))}></calcite-action>`};export{D as a,H as b,E as c,k as d,B as e,G as f};
|
|
@@ -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{g as m,h as p,i as S}from"./
|
|
3
|
+
v3.2.0-next.40 */
|
|
4
|
+
import{g as m,h as p,i as S}from"./EYWRTO2E.js";var u=Symbol.for(""),d=t=>{if(t?.r===u)return t?._$litStatic$},_=t=>({_$litStatic$:t,r:u}),w=(t,...a)=>({_$litStatic$:a.reduce((l,i,o)=>l+(e=>{if(e._$litStatic$!==void 0)return e._$litStatic$;throw Error(`Value passed to 'literal' function must be a 'literal' result: ${e}. Use 'unsafeStatic' to pass non-literal values, but
|
|
5
5
|
take care to ensure page security.`)})(i)+t[o+1],t[0]),r:u}),v=new Map,c=t=>(a,...l)=>{let i=l.length,o,e,r=[],$=[],n,s=0,f=!1;for(;s<i;){for(n=a[s];s<i&&(e=l[s],(o=d(e))!==void 0);)n+=o+a[++s],f=!0;s!==i&&$.push(e),r.push(n),s++}if(s===i&&r.push(a[i]),f){let h=r.join("$$lit$$");(a=v.get(h))===void 0&&(r.raw=r,v.set(h,a=r)),l=$}return t(a,...l)},b=c(m),y=c(p),j=c(S);export{_ as a,w as b,b 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 x,h as y,k as D,l as v,m as g,n as p,o as d,p as m,q as r,r as c,s as L}from"./
|
|
3
|
+
v3.2.0-next.40 */
|
|
4
|
+
import{a as x,h as y,k as D,l as v,m as g,n as p,o as d,p as m,q as r,r as c,s as L}from"./NAEQOQHY.js";import"./UTHT52HY.js";import{a as F}from"./PNGIMH3C.js";import{b as C}from"./6P5PSH65.js";import{l as T}from"./4JEZM6VX.js";import{d as B}from"./VOMFC6A5.js";import"./PB3OJ43M.js";import"./6DCGXB5R.js";import{K as E,e as N,g as f,w as S,x as O,y as I}from"./EYWRTO2E.js";var b={container:"container",hexInput:"hex-input",opacityInput:"opacity-input"},U=N`:host{display:block}.container{display:flex;inline-size:100%;flex-wrap:nowrap;align-items:center}.hex-input{flex-grow:1;text-transform:uppercase}.opacity-input{inline-size:100px;margin-inline-start:-1px}:host([hidden]){display:none}[hidden]{display:none}`,$=x(),V=class extends O{constructor(){super(...arguments),this.internalColor=$,this.alphaChannel=!1,this.allowEmpty=!1,this.hexLabel="Hex",this.scale="m",this.value=r(c($,this.alphaChannel),this.alphaChannel,!0),this.calciteColorPickerHexInputChange=S({cancelable:!1})}static{this.properties={internalColor:[16,{state:!0}],alphaChannel:[5,{type:Boolean}],allowEmpty:[5,{type:Boolean}],hexLabel:1,messages:[0,{attribute:!1}],numberingSystem:1,scale:[3,{reflect:!0}],value:[3,{reflect:!0}]}}static{this.styles=U}async setFocus(){return await B(this),T(this.hexInputNode)}connectedCallback(){super.connectedCallback(),this.previousNonNullValue=this.value;let{allowEmpty:t,alphaChannel:e,value:a}=this;if(a){let n=r(a,e);p(n,e)&&this.internalSetValue(n,n,!1);return}t&&this.internalSetValue(void 0,void 0,!1)}willUpdate(t){t.has("value")&&(this.hasUpdated||this.value!==r(c($,this.alphaChannel),this.alphaChannel,!0))&&this.internalSetValue(this.value,t.get("value"),!1)}onHexInputBlur(){let t=this.hexInputNode,e=t.value,a=`#${e}`,{allowEmpty:n,internalColor:l}=this,s=n&&!e,i=m(a);(d(a,!0)||d(a,!1))&&this.onHexInputChange(),!(s||p(a)&&i)&&(t.value=n&&!l?"":this.formatHexForInternalInput(L(l.object())))}onOpacityInputBlur(){let t=this.opacityInputNode,e=t.value,{allowEmpty:a,internalColor:n}=this;a&&!e||(t.value=a&&!n?"":this.formatOpacityForInternalInput(n))}onOpacityInputInput(){this.onOpacityInputChange()}onHexInputChange(){let e=this.hexInputNode.value;if(e){let a=r(e,!1);if(p(a)&&this.alphaChannel&&this.internalColor){let l=r(this.internalColor.hexa(),!0).slice(-2);e=`${a+l}`}}this.internalSetValue(e,this.value)}onOpacityInputChange(){let t=this.opacityInputNode,e;if(!t.value)e=t.value;else{let a=g(Number(t.value));e=this.internalColor?.alpha(a).hexa()}this.internalSetValue(e,this.value)}onInputFocus(t){t.type==="calciteInternalInputTextFocus"?this.hexInputNode.selectText():this.opacityInputNode.selectText()}onHexInputInput(){let t=`#${this.hexInputNode.value}`,e=this.value;p(t,this.alphaChannel)&&m(t,this.alphaChannel)&&this.internalSetValue(t,e)}onInputKeyDown(t){let{altKey:e,ctrlKey:a,metaKey:n,shiftKey:l}=t,{alphaChannel:s,hexInputNode:i,internalColor:o,value:h}=this,{key:u}=t,H=t.composedPath();if(u==="Tab"&&d(h,this.alphaChannel)||u==="Enter"){H.includes(i)?this.onHexInputChange():this.onOpacityInputChange(),u==="Enter"&&t.preventDefault();return}let k=u==="ArrowDown"||u==="ArrowUp",w=this.value;if(k){if(!h){this.internalSetValue(this.previousNonNullValue,w),t.preventDefault();return}let z=u==="ArrowUp"?1:-1,P=l?10:1;this.internalSetValue(c(this.nudgeRGBChannels(o,P*z,H.includes(i)?"rgb":"a"),s),w),t.preventDefault();return}let A=e||a||n,R=u.length===1,K=D.test(u);R&&!A&&!K&&t.preventDefault()}onHexInputPaste(t){let e=t.clipboardData.getData("text");p(e,this.alphaChannel)&&m(e,this.alphaChannel)&&(t.preventDefault(),this.hexInputNode.value=e.slice(1),this.internalSetValue(e,this.value))}internalSetValue(t,e,a=!0){if(t){let{alphaChannel:n}=this,l=r(t,n,n);if(p(l,n)){let{internalColor:s}=this,i=x(l),o=r(c(i,n),n),h=!s||o!==r(c(s,n),n);this.internalColor=i,this.previousNonNullValue=o,this.value=o,h&&a&&this.calciteColorPickerHexInputChange.emit();return}}else if(this.allowEmpty){this.internalColor=void 0,this.value=void 0,a&&this.calciteColorPickerHexInputChange.emit();return}this.value=e}storeHexInputRef(t){this.hexInputNode=t}storeOpacityInputRef(t){this.opacityInputNode=t}formatHexForInternalInput(t){return t?t.replace("#","").slice(0,6):""}formatOpacityForInternalInput(t){return t?`${v(t.alpha())}`:""}nudgeRGBChannels(t,e,a){let n,l=t.array(),s=l.slice(0,3);if(a==="rgb")n=[...s.map(o=>o+e),this.alphaChannel?l[3]:void 0];else{let i=g(v(t.alpha())+e);n=[...s,i]}return x(n)}render(){let{alphaChannel:t,hexLabel:e,internalColor:a,messages:n,scale:l,value:s}=this,i=this.formatHexForInternalInput(s),o=this.formatOpacityForInternalInput(a),h=l==="l"?"m":"s";return f`<div class=${I(b.container)}><calcite-input-text class=${I(b.hexInput)} .label=${n?.hex||e} .maxLength=${this.alphaChannel?8:6} @keydown=${this.onInputKeyDown} @paste=${this.onHexInputPaste} @calciteInputTextChange=${this.onHexInputChange} @calciteInputTextInput=${this.onHexInputInput} @calciteInternalInputTextBlur=${this.onHexInputBlur} @calciteInternalInputTextFocus=${this.onInputFocus} prefix-text=# .scale=${h} .value=${i} ${C(this.storeHexInputRef)}></calcite-input-text>${t?F("opacity-input",f`<calcite-input-number class=${I(b.opacityInput)} .label=${n?.opacity} .max=${y.max} max-length=3 .min=${y.min} number-button-type=none .numberingSystem=${this.numberingSystem} @keydown=${this.onInputKeyDown} @calciteInputNumberInput=${this.onOpacityInputInput} @calciteInternalInputNumberBlur=${this.onOpacityInputBlur} @calciteInternalInputNumberFocus=${this.onInputFocus} .scale=${h} suffix-text=% .value=${o} ${C(this.storeOpacityInputRef)}></calcite-input-number>`):null}</div>`}};E("calcite-color-picker-hex-input",V);export{V as ColorPickerHexInput};
|
|
@@ -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}from"./
|
|
3
|
+
v3.2.0-next.40 */
|
|
4
|
+
import{a as t}from"./JQMONEIC.js";import{a as D,b as E}from"./KOH7CJJ2.js";import{a as k,b as I}from"./6P5PSH65.js";import{r as x}from"./4JEZM6VX.js";import{a as r,d as y}from"./VOMFC6A5.js";import"./PB3OJ43M.js";import"./6DCGXB5R.js";import{A as s,B as g,K as v,e as w,g as i,w as c,x as b,y as n}from"./EYWRTO2E.js";var S=w`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{position:relative;display:flex;flex-grow:1;align-items:center;outline-color:transparent}.container{position:relative;display:flex;flex-grow:1;cursor:pointer;align-items:center;text-decoration-line:none;color:var(--calcite-dropdown-item-text-color, var(--calcite-color-text-3));text-align:start;outline-color:transparent}.container a{outline:none;position:relative;display:flex;flex-grow:1;cursor:pointer;align-items:center;text-decoration-line:none;color:var(--calcite-dropdown-item-text-color, var(--calcite-color-text-3))}.dropdown-item-content{flex:1 1 auto;padding-block:.125rem}.dropdown-item-icon{position:relative;opacity:0;transition-duration:.15s;transition-timing-function:cubic-bezier(.4,0,.2,1);transform:scale(.9)}:host([scale=s]) .container{padding-block:.25rem;padding-inline:.5rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=s]) .dropdown-item-icon,:host([scale=s]) .dropdown-item-icon--start{padding-inline-end:var(--calcite-spacing-sm)}:host([scale=s]) .dropdown-item-icon--end{padding-inline-start:var(--calcite-spacing-sm)}:host([scale=m]) .container{padding-block:.5rem;padding-inline:.75rem;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=m]) .dropdown-item-icon,:host([scale=m]) .dropdown-item-icon--start{padding-inline-end:var(--calcite-spacing-md)}:host([scale=m]) .dropdown-item-icon--end{padding-inline-start:var(--calcite-spacing-md)}:host([scale=l]) .container{padding-block:.625rem;padding-inline:1rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([scale=l]) .dropdown-item-icon,:host([scale=l]) .dropdown-item-icon--start{padding-inline-end:var(--calcite-spacing-lg)}:host([scale=l]) .dropdown-item-icon--end{padding-inline-start:var(--calcite-spacing-lg)}:host(:focus) .container{text-decoration-line:none;outline:2px solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(-2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}:host(:hover:not([disabled])) .container{background-color:var(--calcite-dropdown-item-background-color-hover, var(--calcite-color-foreground-2))}:host(:active:not([disabled])) .container{background-color:var(--calcite-dropdown-item-background-color-press, var(--calcite-color-foreground-3))}:host(:hover:not([disabled])) .container,:host(:active:not([disabled])) .container{text-decoration-line:none;color:var(--calcite-dropdown-item-text-color-press, var(--calcite-color-text-1))}:host(:hover:not([disabled])) .dropdown-link,:host(:active:not([disabled])) .dropdown-link{color:var(--calcite-dropdown-item-text-color-press, var(--calcite-color-text-1))}:host([selected]) .container:not(.container--none-selection),:host([selected]) .dropdown-link{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-dropdown-item-text-color-press, var(--calcite-color-text-1))}:host([selected]) .container:not(.container--none-selection) calcite-icon,:host([selected]) .dropdown-link calcite-icon{color:var(--calcite-dropdown-item-icon-color-press, var(--calcite-color-brand))}:host(:hover:not([disabled])) .dropdown-item-icon{color:var(--calcite-dropdown-item-icon-color-hover)}:host([selected]) .dropdown-item-icon{opacity:1}:host([hidden]){display:none}[hidden]{display:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}`,d=class extends b{constructor(){super(),this.childLink=k(),this.disabled=!1,this.scale="m",this.selected=!1,this.selectionMode="single",this.calciteDropdownItemSelect=c({cancelable:!1}),this.calciteInternalDropdownCloseRequest=c({cancelable:!1}),this.calciteInternalDropdownItemKeyEvent=c({cancelable:!1}),this.calciteInternalDropdownItemSelect=c({cancelable:!1}),this.listen("click",this.onClick),this.listen("keydown",this.keyDownHandler),this.listenOn(document.body,"calciteInternalDropdownItemChange",this.updateActiveItemOnChange)}static{this.properties={disabled:[7,{reflect:!0,type:Boolean}],href:[3,{reflect:!0}],iconEnd:[3,{reflect:!0}],iconFlipRtl:[3,{reflect:!0}],iconStart:[3,{reflect:!0}],label:1,rel:[3,{reflect:!0}],scale:[3,{reflect:!0}],selected:[7,{reflect:!0,type:Boolean}],selectionMode:1,target:[3,{reflect:!0}]}}static{this.styles=S}async setFocus(){await y(this),this.el?.focus()}connectedCallback(){super.connectedCallback(),this.initialize()}load(){this.initialize()}updated(){D(this)}onClick(){this.emitRequestedItem()}keyDownHandler(e){switch(e.key){case" ":case"Enter":this.emitRequestedItem(),this.href&&this.childLink.value.click(),e.preventDefault();break;case"Escape":this.calciteInternalDropdownCloseRequest.emit(),e.preventDefault();break;case"Tab":this.calciteInternalDropdownItemKeyEvent.emit({keyboardEvent:e});break;case"ArrowUp":case"ArrowDown":case"Home":case"End":e.preventDefault(),this.calciteInternalDropdownItemKeyEvent.emit({keyboardEvent:e});break}}updateActiveItemOnChange(e){e.composedPath().includes(this.parentDropdownGroupEl)&&(this.requestedDropdownGroup=e.detail.requestedDropdownGroup,this.requestedDropdownItem=e.detail.requestedDropdownItem,this.determineActiveItem()),e.stopPropagation()}initialize(){this.parentDropdownGroupEl=this.el.closest("calcite-dropdown-group"),this.selectionMode==="none"&&(this.selected=!1)}determineActiveItem(){switch(this.selectionMode){case"multiple":this.el===this.requestedDropdownItem&&(this.selected=!this.selected);break;case"single":this.el===this.requestedDropdownItem?this.selected=!0:this.requestedDropdownGroup===this.parentDropdownGroupEl&&(this.selected=!1);break;case"none":this.selected=!1;break}}emitRequestedItem(){this.calciteDropdownItemSelect.emit(),this.calciteInternalDropdownItemSelect.emit({requestedDropdownItem:this.el,requestedDropdownGroup:this.parentDropdownGroupEl})}render(){let{href:e,selectionMode:o,label:p,iconFlipRtl:a}=this,h=i`<calcite-icon class=${n(t.iconStart)} .flipRtl=${a==="start"||a==="both"} .icon=${this.iconStart} .scale=${r(this.scale)}></calcite-icon>`,l=i`<span class=${n(t.itemContent)}><slot></slot></span>`,m=i`<calcite-icon class=${n(t.iconEnd)} .flipRtl=${a==="end"||a==="both"} .icon=${this.iconEnd} .scale=${r(this.scale)}></calcite-icon>`,u=this.iconStart&&this.iconEnd?[h,l,m]:this.iconStart?[h,l]:this.iconEnd?[l,m]:l,$=e?i`<a .ariaLabel=${p} class=${n(t.link)} href=${e??s} rel=${this.rel??s} tabindex=-1 target=${this.target??s} ${I(this.childLink)}>${u}</a>`:u,C=e?null:o==="single"?"menuitemradio":o==="multiple"?"menuitemcheckbox":"menuitem",q=o!=="none"?x(this.selected):null,{disabled:f}=this;return this.el.ariaChecked=q,this.el.ariaLabel=e?"":p,this.el.role=C,g(this.el,"tabIndex",f?-1:0),E({disabled:f,children:i`<div class=${n({[t.container]:!0,[t.containerNone]:o==="none"})}>${o!=="none"?i`<calcite-icon class=${n(t.icon)} .icon=${o==="multiple"?"check":"bullet-point"} .scale=${r(this.scale)}></calcite-icon>`:null}${$}</div>`})}};v("calcite-dropdown-item",d);export{d as DropdownItem};
|
|
@@ -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 D}from"./
|
|
3
|
+
v3.2.0-next.40 */
|
|
4
|
+
import{a as D}from"./HPNQQK6A.js";import{a as O,b as G,c as T,d as H,e as $,f as B}from"./DJIDW3PH.js";import{a as p}from"./VYNVOZVL.js";import"./LWBS4ZDT.js";import{a as C}from"./7EKOSZOZ.js";import"./6P5PSH65.js";import"./XJUNWEHJ.js";import{n as w,u,v as E}from"./4JEZM6VX.js";import{d as z}from"./VOMFC6A5.js";import"./PB3OJ43M.js";import"./6DCGXB5R.js";import{E as A,K as y,e as m,g as h,w as g,x as v,y as x}from"./EYWRTO2E.js";var P={actionGroupEnd:"action-group--end"},f={actionsEnd:"actions-end",bottomActions:"bottom-actions",expandTooltip:"expand-tooltip"},U=m`: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{pointer-events:auto;display:inline-flex;align-self:stretch;gap:var(--calcite-action-bar-items-space, 0)}:host([layout=vertical]){flex-direction:column}:host([layout=vertical]):host([overflow-actions-disabled]){overflow-y:auto}:host([layout=vertical]):host([expanded]){max-inline-size:var(--calcite-action-bar-expanded-max-width, auto)}:host([layout=vertical]) .action-group--end{margin-block-start:auto}:host([layout=vertical]) ::slotted(calcite-action-group:not(:last-of-type)){border-block-end-width:var(--calcite-border-width-sm)}:host([layout=horizontal]){flex-direction:row}:host([layout=horizontal]):host([overflow-actions-disabled]){overflow-x:auto}:host([layout=horizontal]) .action-group--end{margin-inline-start:auto}:host([layout=horizontal]) ::slotted(calcite-action-group:not(:last-of-type)){border-inline-end-width:var(--calcite-border-width-sm)}.action-group--end{justify-content:flex-end}:host([hidden]){display:none}[hidden]{display:none}`,b=class extends v{constructor(){super(),this.mutationObserver=p("mutation",()=>this.mutationObserverHandler()),this.resize=D(({width:t,height:e})=>{let{el:o,expanded:l,expandDisabled:n,layout:i,overflowActionsDisabled:r,actionGroups:s}=this;if(r||i==="vertical"&&!e||i==="horizontal"&&!t)return;let a=T(o),c=n?a.length:a.length+1;this.updateGroups();let d=this.hasActionsEnd||this.hasBottomActions||!n?s.length+1:s.length,{actionHeight:S,actionWidth:L}=O(a),k=G({layout:i,actionCount:c,actionHeight:S,actionWidth:L,height:e,width:t,groupCount:d});H({actionGroups:s,expanded:l,overflowCount:k})},A.resize),this.resizeHandler=t=>{let{width:e,height:o}=t.contentRect;this.resize({width:e,height:o})},this.resizeObserver=p("resize",t=>this.resizeHandlerEntries(t)),this.toggleExpand=()=>{this.expanded=!this.expanded,this.calciteActionBarToggle.emit()},this.hasActionsEnd=!1,this.hasBottomActions=!1,this.expandDisabled=!1,this.expanded=!1,this.layout="vertical",this.messages=C(),this.overflowActionsDisabled=!1,this.overlayPositioning="absolute",this.scale="m",this.calciteActionBarToggle=g({cancelable:!1}),this.listen("calciteActionMenuOpen",this.actionMenuOpenHandler)}static{this.properties={expandTooltip:[16,{state:!0}],hasActionsEnd:[16,{state:!0}],hasBottomActions:[16,{state:!0}],actionsEndGroupLabel:1,expandDisabled:[7,{reflect:!0,type:Boolean}],expanded:[7,{reflect:!0,type:Boolean}],layout:[3,{reflect:!0}],messageOverrides:[0,{attribute:!1}],overflowActionsDisabled:[7,{reflect:!0,type:Boolean}],overlayPositioning:[3,{reflect:!0}],position:[3,{reflect:!0}],scale:[3,{reflect:!0}]}}static{this.styles=U}async overflowActions(){this.resize({width:this.el.clientWidth,height:this.el.clientHeight})}async setFocus(){await z(this),w(this.el)}connectedCallback(){super.connectedCallback(),this.updateGroups(),this.overflowActions(),this.mutationObserver?.observe(this.el,{childList:!0,subtree:!0}),this.overflowActionsDisabledHandler(this.overflowActionsDisabled)}willUpdate(t){t.has("expandDisabled")&&(this.hasUpdated||this.expandDisabled!==!1)&&this.overflowActions(),t.has("expanded")&&this.hasUpdated&&this.expandedHandler(),t.has("layout")&&(this.hasUpdated||this.layout!=="vertical")&&this.updateGroups(),t.has("overflowActionsDisabled")&&(this.hasUpdated||this.overflowActionsDisabled!==!1)&&this.overflowActionsDisabledHandler(this.overflowActionsDisabled)}loaded(){this.overflowActions()}disconnectedCallback(){super.disconnectedCallback(),this.mutationObserver?.disconnect(),this.resizeObserver?.disconnect()}expandedHandler(){let{el:t,expanded:e}=this;$({el:t,expanded:e}),this.overflowActions()}overflowActionsDisabledHandler(t){if(t){this.resizeObserver?.disconnect();return}this.resizeObserver?.observe(this.el),this.overflowActions()}actionMenuOpenHandler(t){if(t.target.menuOpen){let e=t.composedPath();this.actionGroups?.forEach(o=>{e.includes(o)||(o.menuOpen=!1)})}}mutationObserverHandler(){this.updateGroups(),this.overflowActions()}resizeHandlerEntries(t){t.forEach(this.resizeHandler)}updateGroups(){let t=Array.from(this.el.querySelectorAll("calcite-action-group"));this.actionGroups=t,this.setGroupLayout(t)}setGroupLayout(t){t.forEach(e=>e.layout=this.layout)}handleDefaultSlotChange(){this.updateGroups()}handleActionsEndSlotChange(t){this.hasActionsEnd=u(t)}handleBottomActionsSlotChange(t){this.hasBottomActions=u(t)}handleTooltipSlotChange(t){let e=E(t).filter(o=>o?.matches("calcite-tooltip"));this.expandTooltip=e[0]}renderBottomActionGroup(){let{expanded:t,expandDisabled:e,el:o,position:l,toggleExpand:n,scale:i,layout:r,messages:s,actionsEndGroupLabel:a,overlayPositioning:c}=this,d=e?null:B({collapseLabel:s.collapseLabel,collapseText:s.collapse,el:o,expandLabel:s.expandLabel,expandText:s.expand,expanded:t,position:l,scale:i,toggle:n,tooltip:this.expandTooltip});return h`<calcite-action-group class=${x(P.actionGroupEnd)} .hidden=${this.expandDisabled&&!(this.hasActionsEnd||this.hasBottomActions)} .label=${a} .layout=${r} .overlayPositioning=${c} .scale=${i}><slot name=${f.actionsEnd} @slotchange=${this.handleActionsEndSlotChange}></slot><slot name=${f.bottomActions} @slotchange=${this.handleBottomActionsSlotChange}></slot><slot name=${f.expandTooltip} @slotchange=${this.handleTooltipSlotChange}></slot>${d}</calcite-action-group>`}render(){return h`<slot @slotchange=${this.handleDefaultSlotChange}></slot>${this.renderBottomActionGroup()}`}};y("calcite-action-bar",b);export{b as ActionBar};
|
|
@@ -1,6 +1,6 @@
|
|
|
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 g=class{resolve(t){}reject(t){}constructor(){this.promise=new Promise((t,o)=>{this.resolve=t,this.reject=o})}};function oo(e,t){let o=e;for(;o;){if(o===t)return!0;if(!o.parentNode)return!1;o.parentNode instanceof ShadowRoot?o=o.parentNode.host:o=o.parentNode}return!1}function Xt(e,t,o){let{subscribe:s}=so(t);return s(n=>{n.some(i=>oo(e,i.target))&&o()})}var Ct={};function so(e){let t=e.join(","),o=Ct[t];if(o!==void 0)return o;let s=new Set,n=new MutationObserver(i=>s.forEach(a=>a(i)));globalThis.document&&n.observe(document.documentElement,{attributes:!0,attributeFilter:e,subtree:!0});let r={subscribe(i){return s.add(i),()=>{s.delete(i),s.size===0&&(n.disconnect(),Ct[t]=void 0)}}};return Ct[t]=r,r}function no(e,t){let o=e;for(;o;){let s=o.closest?.(t);if(s)return s;let n=o.getRootNode?.();if(n===globalThis.document)return null;o=n.host}return null}function te(e,t,o){return no(e,`[${t}]`)?.getAttribute(t)??o}function u(e,t,...o){try{return e?.call(t,...o)}catch(s){console.error(s,e)}}async function q(e,t,...o){try{let s=e?.call(t,...o);return s instanceof Promise?await s:s}catch(s){console.error(s,e)}}var ro=["ar","bg","bs","ca","cs","da","de","el","en","es","et","fi","fr","he","hr","hu","id","it","ja","ko","lt","lv","nl","nb","no","pl","pt-BR","pt-PT","ro","ru","sk","sl","sr","sv","th","tr","uk","vi","zh-CN","zh-HK","zh-TW"],io=new Set(ro),st="en",ao={pt:"pt-PT",nb:"no",nn:"no",zh:"zh-CN"};async function co(e,t,o=""){let s=`${t}/${o}`,n=`${s}${e}.json`;return $t[n]??($t[n]=ee(e,s)),await $t[n]}var $t={};async function ee(e,t){let o=`${t}${e}.json`;try{let s=await fetch(o);if(s.ok)return await s.json()}catch(s){return console.error(s),{}}return e===st?{}:await ee(st,t)}function wt(e){let t=te(e,"lang",globalThis.navigator?.language||st);return{lang:t,t9nLocale:oe(t)}}function oe(e){let[t,o]=e.split("-"),s=t.toLowerCase(),n=s;return o&&(n=`${s}-${o.toUpperCase()}`),n=ao[n]??n,io.has(n)?n:o?oe(s):st}function se(e,t,o,s){let n,r=()=>void lo(e,t(),s).then(i=>{(n?.lang!==i.lang||n.t9nLocale!==i.t9nLocale||n.t9nStrings!==i.t9nStrings)&&o(i),n=i}).catch(console.error);return queueMicrotask(r),Xt(e,["lang"],r)}async function lo(e,t,o=e.localName.split("-").slice(1).join("-")){let{lang:s,t9nLocale:n}=wt(e),r=`${t}/${o}/t9n`,a=o===null?{}:await co(n,r,"messages.");return{lang:s,t9nLocale:n,t9nStrings:a}}var nt=e=>e.replace(ho,(t,o)=>`${o===0?"":"-"}${t.toLowerCase()}`),ho=/[A-Z]+(?![a-z])|[A-Z]/gu;function ne(e,t){let o=t>uo?po:t/fo,s=0,n=setInterval(()=>{s+=o,s>=t&&(clearInterval(n),e())},o);return n}var uo=4e3,po=2e3,fo=4;function re(e){return e!==void 0}var xt=(e=>(e[e.String=1]="String",e[e.Number=2]="Number",e[e.Boolean=4]="Boolean",e[e.Any=8]="Any",e[e.Unknown=16]="Unknown",e[e.State=32]="State",e[e.Method=64]="Method",e[e.Event=128]="Event",e[e.Element=256]="Element",e[e.ReflectAttr=512]="ReflectAttr",e[e.Mutable=1024]="Mutable",e[e.Prop=31]="Prop",e[e.HasAttribute=15]="HasAttribute",e[e.PropLike=63]="PropLike",e[e.ReadOnly=2048]="ReadOnly",e))(xt||{});function ie(e,t){if(t){let o=e.constructor.elementProperties;e.manager.internals.members=Object.fromEntries(Array.from(o,([s,n])=>n.noAccessor?void 0:[s,[(n.readOnly?2048:0)|(n.state?32:16)]]).filter(re))}else{let o=e.constructor,s=o.__registerControllers?.(e)??void 0;if(o.__registerControllers=void 0,typeof s!="object")throw new Error("Failed to retrieve component meta");e.manager.internals.members=Object.fromEntries(Object.entries(s).filter(([n,[r]])=>(r&63)!==0))}}function ae(e,t=8){return e==null||typeof e=="object"||typeof e=="function"?e:t&4?e==="false"?!1:e===""||!!e:t&2?Number.parseFloat(e):t&1?String(e):e}var ce=(e,t)=>e.manager.internals.members?.[t]?.[0];var at=Symbol.for("controller");var de=e=>typeof e=="object"&&e!==null&&(at in e||"hostConnected"in e||"hostDisconnected"in e||"hostUpdate"in e||"hostUpdated"in e);function ue(e){return typeof e?.then=="function"}var B;function T(e){B!==e&&(B=e,queueMicrotask(()=>{B===e&&(B=void 0)}))}function z(e){return B}var S=[];function Lt(e){if(e===void 0){S=[];return}let t=S.indexOf(e);S=t===-1?[...S,e]:S.slice(0,t+1),queueMicrotask(()=>{S=[]})}function St(){return S}var j;function mo(e){j!==e&&(j=e,queueMicrotask(()=>{j===e&&(j=void 0)}))}function yo(){let e=j;return j=void 0,e}var go=async(e,t)=>{let o=Pt(e);if(o===void 0)return e;if(await o.ready,typeof t=="function"){let s=o.watchExports(n=>t(n,s))}return o.exports},vo=async e=>{let t=Pt(e);return await t.ready,t},Pt=e=>{let o=z().manager.internals.resolveExports(e);if(o!==void 0)return o;if(de(e))return e;let s=yo();if(s!==void 0)return s},F={setter:!1,getter:!1,readOnly:!1},G=new WeakMap,pe;pe=at;var V=class{constructor(t){this._callbacks={hostConnected:[],hostDisconnected:[],hostLoad:[],hostLoaded:[],hostUpdate:[],hostUpdated:[],hostDestroy:[],hostLifecycle:[]},this._ready=new g,this._lifecycleCleanups=[],this.connectedCalled=!1,this._loadCalled=!1,this.loadedCalled=!1,this[pe]=!0,this.ready=this._ready.promise,this._exports=he(this),this._exportWatchers=new Set;let o=t??z(new.target.name);this.component=o,this.component.addController(this),this.component.manager===void 0||(Lt(this),queueMicrotask(()=>this.catchUpLifecycle()))}catchUpLifecycle(){let{manager:t}=this.component;t.connectedCalled&&!this.connectedCalled&&this.triggerConnected(),t._loadCalled&&this.triggerLoad().then(()=>{t.loadedCalled&&this.triggerLoaded()}).catch(console.error)}get exports(){return this._exports}set exports(t){let o=this._exports;o!==t&&(this._exports=t,this._exportWatchers.forEach(u),this.connectedCalled&&this.assignedProperty!==!1&&this.component.requestUpdate(this.assignedProperty,o)),this._ready.resolve(t)}setProvisionalExports(t,o=!0){this._exports=o?he(t):t,this._exportWatchers.forEach(u)}watchExports(t){let o=()=>t(this._exports);return this._exportWatchers.add(o),()=>void this._exportWatchers.delete(o)}get use(){return T(this.component),go}get useRef(){return T(this.component),vo}get useRefSync(){return T(this.component),Pt}controllerRemoved(){this.component.el.isConnected&&this.triggerDisconnected(),this.triggerDestroy()}onConnected(t){this._callbacks.hostConnected.push(t)}onDisconnected(t){this._callbacks.hostDisconnected.push(t)}onLoad(t){this._callbacks.hostLoad.push(t)}onLoaded(t){this._callbacks.hostLoaded.push(t)}onUpdate(t){this._callbacks.hostUpdate.push(t)}onUpdated(t){this._callbacks.hostUpdated.push(t)}onDestroy(t){this._callbacks.hostDestroy.push(t)}onLifecycle(t){this._callbacks.hostLifecycle.push(t),this.connectedCalled&&this.component.el.isConnected&&this._callLifecycle(t)}triggerConnected(){let t=this;t.hostConnected&&u(t.hostConnected,t),this._callbacks.hostConnected.forEach(u),this.triggerLifecycle(),this.connectedCalled=!0}triggerDisconnected(){let t=this;t.hostDisconnected&&u(t.hostDisconnected,t),this._callbacks.hostDisconnected.forEach(u),this._lifecycleCleanups.forEach(u),this._lifecycleCleanups=[]}async triggerLoad(){if(this._loadCalled)return;this._loadCalled=!0;let t=this;t.hostLoad&&await q(t.hostLoad,t),this._callbacks.hostLoad.length>0&&await Promise.allSettled(this._callbacks.hostLoad.map(q)),this._ready.resolve(this._exports)}triggerLoaded(){if(this.loadedCalled)return;let t=this;t.hostLoaded&&u(t.hostLoaded,t),this._callbacks.hostLoaded.forEach(u),this.loadedCalled=!0}triggerUpdate(t){let o=this;o.hostUpdate&&u(o.hostUpdate,o,t),this._callbacks.hostUpdate.forEach(le,t)}triggerUpdated(t){let o=this;o.hostUpdated&&u(o.hostUpdated,o,t),this._callbacks.hostUpdated.forEach(le,t)}triggerDestroy(){let t=this;t.hostDestroy&&u(t.hostDestroy,t),this._callbacks.hostDestroy.forEach(u)}triggerLifecycle(){let t=this;t.hostLifecycle&&this._callLifecycle(()=>t.hostLifecycle()),this._callbacks.hostLifecycle.forEach(this._callLifecycle,this)}_callLifecycle(t){T(this.component);let o=u(t);(Array.isArray(o)?o:[o]).forEach(n=>{typeof n=="function"?this._lifecycleCleanups.push(n):typeof n=="object"&&typeof n.remove=="function"&&this._lifecycleCleanups.push(n.remove)})}};function le(e){u(e,void 0,this)}var fe=V;function he(e){if(typeof e!="object"&&typeof e!="function"||e===null)return e;let t=new Proxy(e,{get(o,s,n){if(!(bo.has(s)&&s in o&&o[s]===t)&&(s in o||s in Promise.prototype||typeof s=="symbol"))return typeof o=="function"?o[s]:Reflect.get(o,s,n)},set:(o,s,n,r)=>Reflect.set(o,s,n,r)});return t}var bo=new Set(["exports","_exports"]);function me(e,t,o){let s=Object.keys(e),n=s.length;P===void 0&&queueMicrotask(K),P??(P=new Map);let r=P.get(e);return r===void 0&&(r={callbacks:[],keyCount:n},P.set(e,r)),r.keyCount!==n&&(r.callbacks.forEach(i=>i(s)),r.callbacks=[],r.keyCount=n),r.callbacks.push(i=>{let a=l=>u(t,null,l),c=i[n];c===void 0?a(void 0):e[c]===o?a(c):a(void 0)}),o}var P;function K(){Array.from(P?.entries()??[]).forEach(([e,{callbacks:t}])=>{let o=Object.keys(e);t.forEach(s=>s(o))}),P=void 0}var it=class{constructor(t){this.enabledWatchers={},this.allWatchers={},this.enableReadonly=()=>{if(this.enableReadonly=void 0,!this.component.manager.isLit)return;let o=this.component.manager.internals;Object.entries(o.members).forEach(([s,[n]])=>{var r;n&xt.ReadOnly&&((r=o.setters)[s]??(r[s]=[]),o.setters[s].push(o.readonlySetter))})},this.trackedValue=Ot,this.keyTrackers=[],this.getters={},this.setters={},this.accessorGetter={},this.accessorSetter={},this._exports=new WeakMap,this.readonlySetter=(o,s,n)=>{if(F.readOnly)return o;throw new Error(`Cannot assign to read-only property "${n}" of ${this.component.el.localName}. Trying to assign "${String(o)}"`)},this.component=t}firePropTrackers(t,o){let s=this.keyTrackers;this.trackedValue=Ot,this.keyTrackers=[],s.forEach(n=>n(t,o))}getSetProxy(t){let o=this.component,s=o.constructor.prototype;if(this._getSetProxy(s,t,"class"),o.manager.isLit)return;let n=o.el.constructor.prototype;s!==n&&this._getSetProxy(n,t,"html")}_getSetProxy(t,o,s){let n=this.component,r=ce(n,o),i;do i=Object.getOwnPropertyDescriptor(t,o);while(!i&&(t=Object.getPrototypeOf(t)));if(!i)return;let a=i.get,c=i.set,l=rt in a,d=rt in c;if(l&&d)return;let h=!l,f=!d,v=h?function(){let b=a.call(this),_=G.get(this);if(F.getter||_===void 0)return b;let I=_.manager.internals;b=I.accessorGetter[o](b,o);let y=I.getters[o]??At;for(let C=0;C<y.length;C++)b=y[C](b,o);return b}:a,L=f?function(b){let _=a.call(this),I=G.get(this);if(I===void 0){c.call(this,b);return}let y=I.manager.isLit?b??void 0:ae(b,r),C=I.manager.internals;if(y===_)c.call(this,y);else{let Qt=F.setter?At:C.setters[o]??At;for(let W=0;W<Qt.length&&(y=Qt[W](y,_,o),y!==_);W++);y=C.accessorSetter[o](y,_,o),c.call(this,y),y!==_&&C.enabledWatchers[o]?.forEach(W=>W(y,_,o))}C.keyTrackers.length>0&&C?.firePropTrackers(o,b)}:c;h&&(v[rt]=!0),f&&(L[rt]=!0),Object.defineProperty(t,o,{...i,get:v,set:L})}markExports(t,o){(typeof o=="object"&&o!==null||typeof o=="function")&&this._exports.set(o,t)}resolveExports(t){if(typeof t=="object"&&t!==null||typeof t=="function")return this._exports.get(t)}},At=[],rt=Symbol(),Ot=Symbol();function ct(e,t,o){var s;let n=t,r=e.manager.internals;(s=r.allWatchers)[n]??(s[n]=[]);let i=r.allWatchers[n],a=o,c=(l,d,h)=>u(a,null,l,d,h);return i.push(c),()=>{let l=i.indexOf(c);l!==-1&&i.splice(l,1)}}function ye(e,t,o){let s=e.manager.internals;return s.trackedValue!==Ot&&s.trackedValue!==o&&s.firePropTrackers(void 0,void 0),s.keyTrackers.length===0&&queueMicrotask(()=>s.firePropTrackers(void 0,void 0)),s.trackedValue=o,s.keyTrackers.push((n,r)=>u(t,void 0,o===r?n:void 0)),o}function lt(e=[z(),...St()],t,o){let s=Array.isArray(e)?e:[e],n=s.length+1,r=a=>{n-=1,a!==void 0&&(n=Math.min(n,0)),n===0&&t(a)};s.forEach(a=>me(a,c=>r(c===void 0?void 0:{key:c,host:a,isReactive:!1}),o));let i=s.find(a=>"manager"in a&&typeof a.manager=="object"&&a.manager.component===a);return i&&ye(i,a=>r(a===void 0?void 0:{key:a,host:i,isReactive:!0}),o),o}function ge(e){F.readOnly=!0;try{return e()}finally{F.readOnly=!1}}var ve=e=>(...t)=>{let o=St(),s=new e(...t),n=s.exports;Lt(o.at(-1));let r=s.component.manager.internals;r.markExports(s,n),s.watchExports(a=>r.markExports(s,a)),mo(s);let i=[s.component,...o].reverse();return lt(i,a=>a===void 0?void 0:Eo(s,a,n),n)};function Eo(e,{host:t,key:o,isReactive:s},n){let r=t,i=r[o]!==e.exports,a=r[o]!==n,c=n!==e.exports;if(i&&!a&&c&&(r[o]=e.exports),t===e.component){if(s){let d=e.component.manager.internals;a&&d.markExports(e,r[o]),ct(e.component,o,h=>{h!==e.exports&&d.markExports(e,h)})}e.assignedProperty=s?void 0:o}e.watchExports(()=>{if(r[o]===e.exports)return;let d=e.component.manager;d.internals.setters[o]?.includes(d.internals.readonlySetter)?ge(()=>{r[o]=e.exports}):r[o]=e.exports})}var Ee=(e,t)=>new Nt(e,t),Nt=class extends fe{constructor(t,o){let s="addController"in t,n=new Set;function r(l){n.add(l),!(at in l)&&t.renderRoot&&t.el.isConnected&&l.hostConnected?.()}function i(l){n.delete(l),l.controllerRemoved?.()}let a=t;if(a.addController=r,a.removeController=i,!s){let l=o??t.constructor.__forceUpdate;a.requestUpdate=()=>l(t)}super(t),this.internals=new it(this.component),this.destroyed=!1,this._updatePromise=new g,this._originalLifecycles={},this.isLit=s,this.component.manager=this,ie(t,s),this._controllers=n,this.exports=void 0,this.hasDestroy=Tt in this.component&&typeof this.component.destroy=="function",this._bindLifecycleMethods();let c=this.internals;Object.keys(c.members).forEach(l=>{c.accessorGetter[l]=be,c.accessorSetter[l]=be,c.getSetProxy(l)}),s?this.internals.enabledWatchers=this.internals.allWatchers:Object.defineProperty(t,"updateComplete",{get:async()=>await this._updatePromise.promise}),queueMicrotask(c.enableReadonly),T(t),G.set(t.el,t),G.set(t,t)}_bindLifecycleMethods(){let t=this.component,o=this.isLit,s=t.el===t;this._originalLifecycles={_connectedCallback:o||s?void 0:t.connectedCallback,_disconnectedCallback:o||s?void 0:t.disconnectedCallback,_load:o?t.load:t.componentWillLoad,_loaded:o?t.loaded:t.componentDidLoad,_willUpdate:o?void 0:t.componentWillUpdate,_updated:o?void 0:t.componentDidUpdate,_destroy:t.destroy};let n=this._connectedCallback.bind(this),r=this._disconnectedCallback.bind(this),i=this._update.bind(this),a=this._updated.bind(this);o?t.constructor.prototype.addController.call(t,{hostConnected:n,hostDisconnected:r,hostUpdate:i,hostUpdated:a}):(t.connectedCallback=n,t.disconnectedCallback=r,t.componentWillLoad=this._load.bind(this),t.componentDidLoad=this._loaded.bind(this),t.componentWillUpdate=i,t.componentDidUpdate=a),this.hasDestroy&&(t.destroy=this.destroy.bind(this))}_connectedCallback(){if(this.destroyed){let o=this.component.el.localName;throw this.component.el.remove(),new Error(`The ${o} component has already been destroyed. It cannot be used again. If you meant to disconnect and reconnect a component without automatic destroy, set the ${Tt} prop.`)}this._autoDestroyTimeout!==void 0&&clearTimeout(this._autoDestroyTimeout);let t=this.internals;t.enabledWatchers=t.allWatchers,K(),t.enableReadonly?.(),this._controllers.forEach(Co),this._originalLifecycles._connectedCallback?.call(this.component)}_disconnectedCallback(){this.destroyed||(this._controllers.forEach($o),this._originalLifecycles._disconnectedCallback?.call(this.component),this.hasDestroy&&this._setAutoDestroyTimeout())}async _load(){await Promise.allSettled(Array.from(this._controllers,wo)),await this._originalLifecycles._load?.call(this.component),this.hasDestroy&&ct(this.component,Tt,()=>this._setAutoDestroyTimeout())}_loaded(){this._controllers.forEach(xo),this._originalLifecycles._loaded?.call(this.component)}_update(){let t=this.component;return this._controllers.forEach(Ao,t.$changes),this._originalLifecycles._willUpdate?.call(this.component)}_updated(){let t=this.component;if(this._controllers.forEach(Oo,t.$changes),this._originalLifecycles._updated?.call(this.component),this.isLit)t.$changes=new Map;else{let o=this._updatePromise;this._updatePromise=new g,o.resolve(!0)}}async destroy(){if(!this.destroyed){if(this.component.el.isConnected){this.hasDestroy=!1;try{this.component.el.remove()}finally{this.hasDestroy=!0}}this._autoDestroyTimeout=void 0,this.destroyed=!0,this._controllers.forEach(Lo),this._controllers.clear(),await this._originalLifecycles._destroy?.call(this.component)}}_setAutoDestroyTimeout(){if(this._autoDestroyTimeout!==void 0&&clearTimeout(this._autoDestroyTimeout),!this.component.el.isConnected&&!this.component.autoDestroyDisabled){let t=()=>void this.destroy().catch(console.error);this._autoDestroyTimeout=ne(t,_o)}}},Tt="autoDestroyDisabled",_o=1e3,be=e=>e;function Co(e){"triggerConnected"in e?e.triggerConnected():u(e.hostConnected,e)}function $o(e){"triggerDisconnected"in e?e.triggerDisconnected():u(e.hostDisconnected,e)}async function wo(e){"triggerLoad"in e?await e.triggerLoad():await q(e.hostLoad,e)}function xo(e){"triggerLoaded"in e?e.triggerLoaded():u(e.hostLoaded,e)}function Ao(e){"triggerUpdate"in e?e.triggerUpdate(this):u(e.hostUpdate,e,this)}function Oo(e){"triggerUpdated"in e?e.triggerUpdated(this):u(e.hostUpdated,e,this)}function Lo(e){"triggerDestroy"in e?e.triggerDestroy():u(e.hostDestroy,e)}var So=e=>_e(void 0,e),As=e=>t=>_e(t,e),kt=class extends V{constructor(t,o){super(t);let s=this.exports;try{T(this.component);let n=o(this.component,this),r=this.exports!==s;if(ue(n)){r||this.setProvisionalExports(n);let i=n.then(a=>{this.exports=a,super.catchUpLifecycle()}).catch(a=>{this._ready.reject(a),console.error(a)});this.onLoad(async()=>await i)}else(!r||n!==void 0)&&(this.exports=n),queueMicrotask(()=>super.catchUpLifecycle())}catch(n){this._ready.reject(n),console.error(n)}}catchUpLifecycle(){}},_e=ve(kt),Os=(e,t)=>new Dt(e,t),Dt=class extends V{constructor(t,o){super(),this._attributes=t,this._callback=o,this._observer=new MutationObserver(s=>{s.forEach(n=>{t.includes(n.attributeName)&&o.call(this.component,this.component.el.getAttribute(n.attributeName),n.oldValue,n.attributeName)})})}hostConnected(){this._attributes.forEach(t=>{this.component.el.hasAttribute(t)&&this._callback.call(this.component,null,this.component.el.getAttribute(t),t)}),this._observer.observe(this.component.el,{attributes:!0,attributeOldValue:!0,attributeFilter:this._attributes})}hostDisconnected(){this._observer.disconnect()}};var Ls=e=>(t={})=>So((o,s)=>{let n=wt(o.el),r={_lang:n.lang,_t9nLocale:n.t9nLocale,_loading:!0},i=o;s.onLifecycle(()=>se(o.el,()=>e("./assets"),({t9nLocale:c,t9nStrings:l,lang:d})=>{let h={...l,_lang:d,_t9nLocale:c,_loading:!1};s.exports=h;let f=l.componentLabel;typeof f=="string"&&"label"in o&&o.label==null&&(o.label??(o.label=f)),a(i.messageOverrides)},t.name));function a(c){let l=s.exports,d=l._original??l,h=Ce(d,c);c&&(h._original=d),s.exports=h}return"messageOverrides"in i&&s.onLifecycle(()=>ct(i,"messageOverrides",a)),t.blocking?(s.setProvisionalExports(r,!1),s.ready):r});function Ce(e,t){if(!t)return e;let o={...e};return Object.entries(t).forEach(([s,n])=>{typeof n=="object"?o[s]=Ce(e[s],n):o[s]=n??e[s]}),o}var ht=globalThis,dt=ht.ShadowRoot&&(ht.ShadyCSS===void 0||ht.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Rt=Symbol(),$e=new WeakMap,Y=class{constructor(t,o,s){if(this._$cssResult$=!0,s!==Rt)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=o}get styleSheet(){let t=this.o,o=this.t;if(dt&&t===void 0){let s=o!==void 0&&o.length===1;s&&(t=$e.get(o)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),s&&$e.set(o,t))}return t}toString(){return this.cssText}},we=e=>new Y(typeof e=="string"?e:e+"",void 0,Rt),Po=(e,...t)=>{let o=e.length===1?e[0]:t.reduce((s,n,r)=>s+(i=>{if(i._$cssResult$===!0)return i.cssText;if(typeof i=="number")return i;throw Error("Value passed to 'css' function must be a 'css' function result: "+i+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(n)+e[r+1],e[0]);return new Y(o,e,Rt)},xe=(e,t)=>{if(dt)e.adoptedStyleSheets=t.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet);else for(let o of t){let s=document.createElement("style"),n=ht.litNonce;n!==void 0&&s.setAttribute("nonce",n),s.textContent=o.cssText,e.appendChild(s)}},Ut=dt?e=>e:e=>e instanceof CSSStyleSheet?(t=>{let o="";for(let s of t.cssRules)o+=s.cssText;return we(o)})(e):e;var It=globalThis,ut=It.trustedTypes,Ae=ut?ut.createPolicy("lit-html",{createHTML:e=>e}):void 0,jt="$lit$",$=`lit$${Math.random().toFixed(9).slice(2)}$`,Vt="?"+$,To=`<${Vt}>`,D=document,Z=()=>D.createComment(""),Q=e=>e===null||typeof e!="object"&&typeof e!="function",zt=Array.isArray,Ne=e=>zt(e)||typeof e?.[Symbol.iterator]=="function",Mt=`[
|
|
5
5
|
\f\r]`,J=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Oe=/-->/g,Le=/>/g,N=RegExp(`>|${Mt}(?:([^\\s"'>=/]+)(${Mt}*=${Mt}*(?:[^
|
|
6
|
-
\f\r"'\`<>=]|("|')|))|$)`,"g"),Se=/'/g,Pe=/"/g,ke=/^(?:script|style|textarea|title)$/i,Ht=e=>(t,...o)=>({_$litType$:e,strings:t,values:o}),Ts=Ht(1),Ns=Ht(2),ks=Ht(3),m=Symbol.for("lit-noChange"),p=Symbol.for("lit-nothing"),Te=new WeakMap,k=D.createTreeWalker(D,129);function De(e,t){if(!zt(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return Ae!==void 0?Ae.createHTML(t):t}var Re=(e,t)=>{let o=e.length-1,s=[],n,r=t===2?"<svg>":t===3?"<math>":"",i=J;for(let a=0;a<o;a++){let c=e[a],l,d,h=-1,f=0;for(;f<c.length&&(i.lastIndex=f,d=i.exec(c),d!==null);)f=i.lastIndex,i===J?d[1]==="!--"?i=Oe:d[1]!==void 0?i=Le:d[2]!==void 0?(ke.test(d[2])&&(n=RegExp("</"+d[2],"g")),i=N):d[3]!==void 0&&(i=N):i===N?d[0]===">"?(i=n??J,h=-1):d[1]===void 0?h=-2:(h=i.lastIndex-d[2].length,l=d[1],i=d[3]===void 0?N:d[3]==='"'?Pe:Se):i===Pe||i===Se?i=N:i===Oe||i===Le?i=J:(i=N,n=void 0);let v=i===N&&e[a+1].startsWith("/>")?" ":"";r+=i===J?c+To:h>=0?(s.push(l),c.slice(0,h)+jt+c.slice(h)+$+v):c+$+(h===-2?a:v)}return[De(e,r+(e[o]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),s]},X=class e{constructor({strings:t,_$litType$:o},s){let n;this.parts=[];let r=0,i=0,a=t.length-1,c=this.parts,[l,d]=Re(t,o);if(this.el=e.createElement(l,s),k.currentNode=this.el.content,o===2||o===3){let h=this.el.content.firstChild;h.replaceWith(...h.childNodes)}for(;(n=k.nextNode())!==null&&c.length<a;){if(n.nodeType===1){if(n.hasAttributes())for(let h of n.getAttributeNames())if(h.endsWith(jt)){let f=d[i++],v=n.getAttribute(h).split($),L=/([.?@])?(.*)/.exec(f);c.push({type:1,index:r,name:L[2],strings:v,ctor:L[1]==="."?ft:L[1]==="?"?mt:L[1]==="@"?yt:U}),n.removeAttribute(h)}else h.startsWith($)&&(c.push({type:6,index:r}),n.removeAttribute(h));if(ke.test(n.tagName)){let h=n.textContent.split($),f=h.length-1;if(f>0){n.textContent=ut?ut.emptyScript:"";for(let v=0;v<f;v++)n.append(h[v],Z()),k.nextNode(),c.push({type:2,index:++r});n.append(h[f],Z())}}}else if(n.nodeType===8)if(n.data===Vt)c.push({type:2,index:r});else{let h=-1;for(;(h=n.data.indexOf($,h+1))!==-1;)c.push({type:7,index:r}),h+=$.length-1}r++}}static createElement(t,o){let s=D.createElement("template");return s.innerHTML=t,s}};function R(e,t,o=e,s){if(t===m)return t;let n=s!==void 0?o._$Co?.[s]:o._$Cl,r=Q(t)?void 0:t._$litDirective$;return n?.constructor!==r&&(n?._$AO?.(!1),r===void 0?n=void 0:(n=new r(e),n._$AT(e,o,s)),s!==void 0?(o._$Co??=[])[s]=n:o._$Cl=n),n!==void 0&&(t=R(e,n._$AS(e,t.values),n,s)),t}var pt=class{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){let{el:{content:o},parts:s}=this._$AD,n=(t?.creationScope??D).importNode(o,!0);k.currentNode=n;let r=k.nextNode(),i=0,a=0,c=s[0];for(;c!==void 0;){if(i===c.index){let l;c.type===2?l=new H(r,r.nextSibling,this,t):c.type===1?l=new c.ctor(r,c.name,c.strings,this,t):c.type===6&&(l=new gt(r,this,t)),this._$AV.push(l),c=s[++a]}i!==c?.index&&(r=k.nextNode(),i++)}return k.currentNode=D,n}p(t){let o=0;for(let s of this._$AV)s!==void 0&&(s.strings!==void 0?(s._$AI(t,s,o),o+=s.strings.length-2):s._$AI(t[o])),o++}},H=class e{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,s,n){this.type=2,this._$AH=p,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=s,this.options=n,this._$Cv=n?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,o=this._$AM;return o!==void 0&&t?.nodeType===11&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=R(this,t,o),Q(t)?t===p||t==null||t===""?(this._$AH!==p&&this._$AR(),this._$AH=p):t!==this._$AH&&t!==m&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):Ne(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==p&&Q(this._$AH)?this._$AA.nextSibling.data=t:this.T(D.createTextNode(t)),this._$AH=t}$(t){let{values:o,_$litType$:s}=t,n=typeof s=="number"?this._$AC(t):(s.el===void 0&&(s.el=X.createElement(De(s.h,s.h[0]),this.options)),s);if(this._$AH?._$AD===n)this._$AH.p(o);else{let r=new pt(n,this),i=r.u(this.options);r.p(o),this.T(i),this._$AH=r}}_$AC(t){let o=Te.get(t.strings);return o===void 0&&Te.set(t.strings,o=new X(t)),o}k(t){zt(this._$AH)||(this._$AH=[],this._$AR());let o=this._$AH,s,n=0;for(let r of t)n===o.length?o.push(s=new e(this.O(Z()),this.O(Z()),this,this.options)):s=o[n],s._$AI(r),n++;n<o.length&&(this._$AR(s&&s._$AB.nextSibling,n),o.length=n)}_$AR(t=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);t&&t!==this._$AB;){let s=t.nextSibling;t.remove(),t=s}}setConnected(t){this._$AM===void 0&&(this._$Cv=t,this._$AP?.(t))}},U=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,s,n,r){this.type=1,this._$AH=p,this._$AN=void 0,this.element=t,this.name=o,this._$AM=n,this.options=r,s.length>2||s[0]!==""||s[1]!==""?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=p}_$AI(t,o=this,s,n){let r=this.strings,i=!1;if(r===void 0)t=R(this,t,o,0),i=!Q(t)||t!==this._$AH&&t!==m,i&&(this._$AH=t);else{let a=t,c,l;for(t=r[0],c=0;c<r.length-1;c++)l=R(this,a[s+c],o,c),l===m&&(l=this._$AH[c]),i||=!Q(l)||l!==this._$AH[c],l===p?t=p:t!==p&&(t+=(l??"")+r[c+1]),this._$AH[c]=l}i&&!n&&this.j(t)}j(t){t===p?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},ft=class extends U{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===p?void 0:t}},mt=class extends U{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==p)}},yt=class extends U{constructor(t,o,s,n,r){super(t,o,s,n,r),this.type=5}_$AI(t,o=this){if((t=R(this,t,o,0)??p)===m)return;let s=this._$AH,n=t===p&&s!==p||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,r=t!==p&&(s===p||n);n&&this.element.removeEventListener(this.name,this,s),r&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},gt=class{constructor(t,o,s){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=s}get _$AU(){return this._$AM._$AU}_$AI(t){R(this,t)}},Ue={M:jt,P:$,A:Vt,C:1,L:Re,R:pt,D:Ne,V:R,I:H,H:U,N:mt,U:yt,B:ft,F:gt},No=It.litHtmlPolyfillSupport;No?.(X,H),(It.litHtmlVersions??=[]).push("3.3.0");var Wt=(e,t,o)=>{let s=o?.renderBefore??t,n=s._$litPart$;if(n===void 0){let r=o?.renderBefore??null;s._$litPart$=n=new H(t.insertBefore(Z(),r),r,void 0,o??{})}return n._$AI(e),n};var{is:ko,defineProperty:Do,getOwnPropertyDescriptor:Ro,getOwnPropertyNames:Uo,getOwnPropertySymbols:Mo,getPrototypeOf:Io}=Object,bt=globalThis,Me=bt.trustedTypes,jo=Me?Me.emptyScript:"",Vo=bt.reactiveElementPolyfillSupport,tt=(e,t)=>e,vt={toAttribute(e,t){switch(t){case Boolean:e=e?jo:null;break;case Object:case Array:e=e==null?e:JSON.stringify(e)}return e},fromAttribute(e,t){let o=e;switch(t){case Boolean:o=e!==null;break;case Number:o=e===null?null:Number(e);break;case Object:case Array:try{o=JSON.parse(e)}catch{o=null}}return o}},qt=(e,t)=>!ko(e,t),Ie={attribute:!0,type:String,converter:vt,reflect:!1,useDefault:!1,hasChanged:qt};Symbol.metadata??=Symbol("metadata"),bt.litPropertyMetadata??=new WeakMap;var w=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,o=Ie){if(o.state&&(o.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(t)&&((o=Object.create(o)).wrapped=!0),this.elementProperties.set(t,o),!o.noAccessor){let s=Symbol(),n=this.getPropertyDescriptor(t,s,o);n!==void 0&&Do(this.prototype,t,n)}}static getPropertyDescriptor(t,o,s){let{get:n,set:r}=Ro(this.prototype,t)??{get(){return this[o]},set(i){this[o]=i}};return{get:n,set(i){let a=n?.call(this);r?.call(this,i),this.requestUpdate(t,a,s)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??Ie}static _$Ei(){if(this.hasOwnProperty(tt("elementProperties")))return;let t=Io(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(tt("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(tt("properties"))){let o=this.properties,s=[...Uo(o),...Mo(o)];for(let n of s)this.createProperty(n,o[n])}let t=this[Symbol.metadata];if(t!==null){let o=litPropertyMetadata.get(t);if(o!==void 0)for(let[s,n]of o)this.elementProperties.set(s,n)}this._$Eh=new Map;for(let[o,s]of this.elementProperties){let n=this._$Eu(o,s);n!==void 0&&this._$Eh.set(n,o)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){let o=[];if(Array.isArray(t)){let s=new Set(t.flat(1/0).reverse());for(let n of s)o.unshift(Ut(n))}else t!==void 0&&o.push(Ut(t));return o}static _$Eu(t,o){let s=o.attribute;return s===!1?void 0:typeof s=="string"?s:typeof t=="string"?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise(t=>this.enableUpdating=t),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach(t=>t(this))}addController(t){(this._$EO??=new Set).add(t),this.renderRoot!==void 0&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$EO?.delete(t)}_$E_(){let t=new Map,o=this.constructor.elementProperties;for(let s of o.keys())this.hasOwnProperty(s)&&(t.set(s,this[s]),delete this[s]);t.size>0&&(this._$Ep=t)}createRenderRoot(){let t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return xe(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach(t=>t.hostConnected?.())}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach(t=>t.hostDisconnected?.())}attributeChangedCallback(t,o,s){this._$AK(t,s)}_$ET(t,o){let s=this.constructor.elementProperties.get(t),n=this.constructor._$Eu(t,s);if(n!==void 0&&s.reflect===!0){let r=(s.converter?.toAttribute!==void 0?s.converter:vt).toAttribute(o,s.type);this._$Em=t,r==null?this.removeAttribute(n):this.setAttribute(n,r),this._$Em=null}}_$AK(t,o){let s=this.constructor,n=s._$Eh.get(t);if(n!==void 0&&this._$Em!==n){let r=s.getPropertyOptions(n),i=typeof r.converter=="function"?{fromAttribute:r.converter}:r.converter?.fromAttribute!==void 0?r.converter:vt;this._$Em=n,this[n]=i.fromAttribute(o,r.type)??this._$Ej?.get(n)??null,this._$Em=null}}requestUpdate(t,o,s){if(t!==void 0){let n=this.constructor,r=this[t];if(s??=n.getPropertyOptions(t),!((s.hasChanged??qt)(r,o)||s.useDefault&&s.reflect&&r===this._$Ej?.get(t)&&!this.hasAttribute(n._$Eu(t,s))))return;this.C(t,o,s)}this.isUpdatePending===!1&&(this._$ES=this._$EP())}C(t,o,{useDefault:s,reflect:n,wrapped:r},i){s&&!(this._$Ej??=new Map).has(t)&&(this._$Ej.set(t,i??o??this[t]),r!==!0||i!==void 0)||(this._$AL.has(t)||(this.hasUpdated||s||(o=void 0),this._$AL.set(t,o)),n===!0&&this._$Em!==t&&(this._$Eq??=new Set).add(t))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}catch(o){Promise.reject(o)}let t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[n,r]of this._$Ep)this[n]=r;this._$Ep=void 0}let s=this.constructor.elementProperties;if(s.size>0)for(let[n,r]of s){let{wrapped:i}=r,a=this[n];i!==!0||this._$AL.has(n)||a===void 0||this.C(n,void 0,r,a)}}let t=!1,o=this._$AL;try{t=this.shouldUpdate(o),t?(this.willUpdate(o),this._$EO?.forEach(s=>s.hostUpdate?.()),this.update(o)):this._$EM()}catch(s){throw t=!1,this._$EM(),s}t&&this._$AE(o)}willUpdate(t){}_$AE(t){this._$EO?.forEach(o=>o.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Eq&&=this._$Eq.forEach(o=>this._$ET(o,this[o])),this._$EM()}updated(t){}firstUpdated(t){}};w.elementStyles=[],w.shadowRootOptions={mode:"open"},w[tt("elementProperties")]=new Map,w[tt("finalized")]=new Map,Vo?.({ReactiveElement:w}),(bt.reactiveElementVersions??=[]).push("2.1.0");var Bt=globalThis,x=class extends w{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){let t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){let o=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=Wt(o,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return m}};x._$litElement$=!0,x.finalized=!0,Bt.litElementHydrateSupport?.({LitElement:x});var zo=Bt.litElementPolyfillSupport;zo?.({LitElement:x});(Bt.litElementVersions??=[]).push("4.2.0");var E={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},M=e=>(...t)=>({_$litDirective$:e,values:t}),A=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,o,s){this._$Ct=t,this._$AM=o,this._$Ci=s}_$AS(t,o){return this.update(t,o)}update(t,o){return this.render(...o)}};var{I:Ho}=Ue;var Ve=e=>e.strings===void 0,je=()=>document.createComment(""),Zs=(e,t,o)=>{let s=e._$AA.parentNode,n=t===void 0?e._$AB:t._$AA;if(o===void 0){let r=s.insertBefore(je(),n),i=s.insertBefore(je(),n);o=new Ho(r,i,e,e.options)}else{let r=o._$AB.nextSibling,i=o._$AM,a=i!==e;if(a){let c;o._$AQ?.(e),o._$AM=e,o._$AP!==void 0&&(c=e._$AU)!==i._$AU&&o._$AP(c)}if(r!==n||a){let c=o._$AA;for(;c!==r;){let l=c.nextSibling;s.insertBefore(c,n),c=l}}}return o},Qs=(e,t,o=e)=>(e._$AI(t,o),e),Wo={},ze=(e,t=Wo)=>e._$AH=t,Xs=e=>e._$AH,tn=e=>{e._$AP?.(!1,!0);let t=e._$AA,o=e._$AB.nextSibling;for(;t!==o;){let s=t.nextSibling;t.remove(),t=s}};var qo=M(class extends A{constructor(e){if(super(e),e.type!==E.PROPERTY&&e.type!==E.ATTRIBUTE&&e.type!==E.BOOLEAN_ATTRIBUTE)throw Error("The `live` directive is not allowed on child or event bindings");if(!Ve(e))throw Error("`live` bindings can only contain a single expression")}render(e){return e}update(e,[t]){if(t===m||t===p)return t;let o=e.element,s=e.name;if(e.type===E.PROPERTY){if(t===o[s])return m}else if(e.type===E.BOOLEAN_ATTRIBUTE){if(!!t===o.hasAttribute(s))return m}else if(e.type===E.ATTRIBUTE&&o.getAttribute(s)===t+"")return m;return ze(e),t}});var qe=";",Et=",",Be=":",O=(e=>(e[e.ATTRIBUTE=1]="ATTRIBUTE",e[e.REFLECT=2]="REFLECT",e[e.BOOLEAN=4]="BOOLEAN",e[e.NUMBER=8]="NUMBER",e[e.STATE=16]="STATE",e[e.READ_ONLY=32]="READ_ONLY",e[e.NO_ACCESSOR=64]="NO_ACCESSOR",e))(O||{});function Kt(e){let t=e;for(;t=t.parentNode??t.host;)if(t?.constructor?.lumina){let o=t;return o.manager?.loadedCalled||o._offspring.push(e),o._postLoad.promise}return!1}var Fo=(e,t)=>function(s,n){if(!globalThis.customElements)return;let i=(n??s??{}).resourcesUrl;i&&e.setAssetPath(i),Object.entries(t).forEach(Go)};function Go([e,[t,o=""]]){if(customElements.get(e))return;let[s,n,r]=o.split(qe),i=s?s?.split(Et).map(Fe):void 0,a=i?.map(([l])=>l),c=class extends Gt{static{this.observedAttributes=i?.map(([,l])=>l).filter(l=>l!=="")}static{this._properties=a}static{this._asyncMethods=n?n?.split(Et):void 0}static{this._syncMethods=r?.split(Et)}static{this._name=e}constructor(){!c._loadPromise&&(c._loadPromise=t(),c._initializePrototype()),super()}};customElements.define(e,c)}var _t=Object.defineProperty;function Fe(e){let t=e.split(Be);return t.length===1?[t[0],nt(t[0])]:t}var Ko=globalThis.HTMLElement??Fe,Gt=class extends Ko{constructor(){super(),this._store={},this._pendingAttributes=[],this._postLoad=new g,this._postLoaded=new g,this._offspring=[],this._saveInstanceProperties();let t=this.constructor;t._LitConstructor?this._initializeComponent({a:t._LitConstructor}):t._loadPromise.then(Zo).then(this._initializeComponent.bind(this)).catch(o=>{this._postLoaded.reject(o),setTimeout(()=>{throw o})})}static{this.lumina=!0}static _initializePrototype(){this._properties?.forEach(this._bindProp,this),this._asyncMethods?.forEach(this._bindAsync,this),this._syncMethods?.forEach(this._bindSync,this)}static _bindProp(t){_t(this.prototype,t,{configurable:!0,enumerable:!0,get(){return this._store[t]},set(o){this._store[t]=o}})}static _bindAsync(t){_t(this.prototype,t,{async value(...o){return this._litElement||await this._postLoaded.promise,await this._litElement[t](...o)},configurable:!0})}static _bindSync(t){_t(this.prototype,t,{value(...o){return this._litElement[t](...o)},configurable:!0})}get manager(){return this._litElement?.manager}_saveInstanceProperties(){let t=this.constructor,o=this;t._properties?.forEach(s=>{Object.hasOwn(this,s)&&(this._store[s]=o[s],delete o[s])})}attributeChangedCallback(t,o,s){this._litElement?.attributeChangedCallback(t,o,s),this._litElement||this._pendingAttributes.push(t)}connectedCallback(){this._litElement?this._litElement.connectedCallback?.():queueMicrotask(()=>{this._ancestorLoad=Kt(this)})}disconnectedCallback(){this._litElement?.disconnectedCallback?.()}async componentOnReady(){return await this._postLoaded.promise,this}_initializeComponent(t){let o=this.constructor,s=o._name,n=this._store,r=Object.values(t).find(h=>h.tagName===s),i=`${s}--lazy`,a=r;for(;a&&!Object.hasOwn(a,"lumina");)a=Object.getPrototypeOf(a);Jo(a),!o._LitConstructor&&(o._LitConstructor=r,customElements.define(i,r)),r.lazy=this;let l=document.createElement(i);r.lazy=void 0,this._litElement=l,this._store=l,this._pendingAttributes.forEach(h=>{let f=this.getAttribute(h);l.attributeChangedCallback(h,null,f)}),Object.entries(n).forEach(Yo,l);let d=this.isConnected;(d||this._ancestorLoad)&&(l.connectedCallback?.(),d||l.disconnectedCallback())}addController(){}requestUpdate(){this._litElement?.requestUpdate()}};function Yo([e,t]){this[e]=t}function Jo(e){let t=e.prototype,o=Element.prototype;Object.hasOwn(t,"isConnected")||(t.setAttribute=function(n,r){o.setAttribute.call(this.el,n,r)},t.removeAttribute=function(n){o.removeAttribute.call(this.el,n)},_t(t,"isConnected",{get(){return Reflect.get(o,"isConnected",this.el)}}))}var Zo=async e=>(await e.$$,e),Yt={};var Ge=M(class extends A{constructor(e){if(super(e),e.type!==E.ATTRIBUTE||e.name!=="class"||e.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(e){return" "+Object.keys(e).filter(t=>e[t]).join(" ")+" "}update(e,[t]){if(this.st===void 0){this.st=new Set,e.strings!==void 0&&(this.nt=new Set(e.strings.join(" ").split(/\s/).filter(s=>s!=="")));for(let s in t)t[s]&&!this.nt?.has(s)&&this.st.add(s);return this.render(t)}let o=e.element.classList;for(let s of this.st)s in t||(o.remove(s),this.st.delete(s));for(let s in t){let n=!!t[s];n===this.st.has(s)||this.nt?.has(s)||(n?(o.add(s),this.st.add(s)):(o.remove(s),this.st.delete(s)))}return m}});var Ke="important",Qo=" !"+Ke,Ye=M(class extends A{constructor(e){if(super(e),e.type!==E.ATTRIBUTE||e.name!=="style"||e.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(e){return Object.keys(e).reduce((t,o)=>{let s=e[o];return s==null?t:t+`${o=o.includes("-")?o:o.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${s};`},"")}update(e,[t]){let{style:o}=e.element;if(this.ft===void 0)return this.ft=new Set(Object.keys(t)),this.render(t);for(let s of this.ft)t[s]==null&&(this.ft.delete(s),s.includes("-")?o.removeProperty(s):o[s]=null);for(let s in t){let n=t[s];if(n!=null){this.ft.add(s);let r=typeof n=="string"&&n.endsWith(Qo);s.includes("-")||r?o.setProperty(s,r?n.slice(0,-11):n,r?Ke:""):o[s]=n}}return m}});var Je=(e="",t={},o=z())=>{let s={emit:n=>{e===""&&K();let r=new CustomEvent(e,{detail:n,cancelable:!0,bubbles:!0,composed:!0,...t});return o.el.dispatchEvent(r),r}};return e===""&<(void 0,n=>{e=n.key},s),s},gr=Je.bind(null,"");var Xo=()=>{},Jt=class e extends x{constructor(){super(),this.el=this.constructor.lazy??this,this.manager=Ee(this),this._postLoad=this.constructor.lazy?._postLoad??new g,this._offspring=this.constructor.lazy?._offspring??[],this._postLoaded=this.constructor.lazy?._postLoaded??new g,this._enableUpdating=this.enableUpdating,this.enableUpdating=Xo;let t=e.prototype.shouldUpdate;this.shouldUpdate!==t&&(this._originalShouldUpdate=this.shouldUpdate,this.shouldUpdate=t),!1}static finalizeStyles(t){let o=super.finalizeStyles(t),s=this.shadowRootOptions===Yt;return this.runtime?.commonStyles===void 0||s?o:[this.runtime.commonStyles,...o]}static createProperty(t,o){let s=typeof o=="number"?o:Array.isArray(o)?o[0]:0,n=Array.isArray(o)?o[1]:void 0;super.createProperty(t,{attribute:s&O.ATTRIBUTE&&typeof t=="string"?nt(t):!1,reflect:!!(s&O.REFLECT),type:s&O.BOOLEAN?Boolean:s&O.NUMBER?Number:void 0,state:!!(s&O.STATE),readOnly:!!(s&O.READ_ONLY),noAccessor:!!(s&O.NO_ACCESSOR),...n})}static{this.lumina=!0}connectedCallback(){if(this.el.hasAttribute("defer-hydration"))return;let t=!this.manager.connectedCalled;super.connectedCallback(),t&&queueMicrotask(()=>this._load().catch(o=>{this._postLoaded.reject(o),setTimeout(()=>{throw o})}))}createRenderRoot(){let t=this.el.shadowRoot,o=this.constructor,s=o.shadowRootOptions,r=t??(s===Yt?this.el:this.el.attachShadow(s));if(t)return x.prototype.createRenderRoot.call(this),t;if(this.isConnected){let i=r.getRootNode();i.adoptedStyleSheets=[...i.adoptedStyleSheets,...o.elementStyles.map(a=>"styleSheet"in a?a.styleSheet:a)]}return r}async _load(){let t=this.el._ancestorLoad??Kt(this.el);t&&await t,await this.manager._load(),this._enableUpdating(!0),this.performUpdate(),this._postLoad.resolve(),await Promise.resolve();let o=this._offspring.filter(s=>!s.manager?.loadedCalled);o.length&&await Promise.allSettled(o.map(async s=>await s.componentOnReady())),this._offspring.length=0,this.el.setAttribute(this.constructor.runtime.hydratedAttribute,""),this.manager._loaded(),this._postLoaded.resolve()}shouldUpdate(t){return this.$changes=t,this._originalShouldUpdate?.(t)??!0}listen(t,o,s){let n=o?.bind(this)??o;this.manager.onLifecycle(()=>(this.el.addEventListener(t,n,s),()=>this.el.removeEventListener(t,n,s)))}listenOn(t,o,s,n){let r=s?.bind(this)??s;this.manager.onLifecycle(()=>(t.addEventListener(o,r,n),()=>t.removeEventListener(o,r,n)))}async componentOnReady(){return await this._postLoaded.promise,this}};Jt.$createEvent=Je;function Ze(e){let t,o=n=>{t=new URL(n,globalThis.location?.href||void 0).href},s={...e,getAssetPath(n){let r=new URL(n,t);return r.origin!==globalThis.location?.origin?r.href:r.pathname},setAssetPath:o,customElement(n,r){r.runtime=s,r.tagName=n,customElements.get(n)||customElements.define(n,r)}};return o(e.defaultAssetPath),s}var vr=e=>typeof e=="object"&&e!=null?Ge(e):e,br=e=>typeof e=="object"&&e!=null?Ye(e):e;var Er=p;function _r(e,t,o){o==null?e.removeAttribute(t):e.setAttribute(t,o)}var Cr={toAttribute:e=>e===!0?"":e===!1?null:e};var to="calcite-mode-auto",eo="calcite-mode-dark",ts="calcite-mode-light",Or={autoMode:to,darkMode:eo,lightMode:ts,rtl:"calcite--rtl",calciteAnimate:"calcite-animate",calciteAnimateInUp:"calcite-animate__in-up",calciteAnimateInDown:"calcite-animate__in-down",calciteAnimateInRight:"calcite-animate__in-right",calciteAnimateInLeft:"calcite-animate__in-left"},Lr={filter:250,nextTick:0,resize:150,reposition:100},Sr=10,Pr=25;function Qe(){let{classList:e}=document.body,t=window.matchMedia("(prefers-color-scheme: dark)").matches,o=()=>e.contains(eo)||e.contains(to)&&t?"dark":"light",s=i=>document.body.dispatchEvent(new CustomEvent("calciteModeChange",{bubbles:!0,detail:{mode:i}})),n=i=>{r!==i&&s(i),r=i},r=o();s(r),window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",i=>n(i.matches?"dark":"light")),new MutationObserver(()=>n(o())).observe(document.body,{attributes:!0,attributeFilter:["class"]})}var et=globalThis.calciteConfig,Tr=et?.focusTrapStack||[],Nr=et?.logLevel||"info",Xe="3.2.0-next.39",es="2025-05-02",os="c09d18542";function ss(){if(et&&et.version)return;console.info(`Using Calcite Components ${Xe} [Date: ${es}, Revision: ${os}]`);let e=et||globalThis.calciteConfig||{};Object.defineProperty(e,"version",{value:Xe,writable:!1}),globalThis.calciteConfig=e}function ns(){document.readyState==="interactive"?Qe():document.addEventListener("DOMContentLoaded",()=>Qe(),{once:!0}),ss()}ns();var rs=Ze({defaultAssetPath:"https://cdn.jsdelivr.net/npm/@esri/calcite-components@3.2.0-next.39/dist/calcite/",hydratedAttribute:"calcite-hydrated"}),{customElement:kr,getAssetPath:Dr,setAssetPath:Rr}=rs;export{fe as a,As as b,Os as c,Ls as d,Po as e,Fo as f,Ts as g,Ns as h,ks as i,m as j,p as k,Wt as l,E as m,M as n,A as o,Ve as p,Zs as q,Qs as r,ze as s,Xs as t,tn as u,qo as v,gr as w,Jt as x,vr as y,br as z,Er as A,_r as B,Cr as C,Or as D,Lr as E,Sr as F,Pr as G,Tr as H,Nr as I,rs as J,kr as K,Dr as L};
|
|
6
|
+
\f\r"'\`<>=]|("|')|))|$)`,"g"),Se=/'/g,Pe=/"/g,ke=/^(?:script|style|textarea|title)$/i,Ht=e=>(t,...o)=>({_$litType$:e,strings:t,values:o}),Ts=Ht(1),Ns=Ht(2),ks=Ht(3),m=Symbol.for("lit-noChange"),p=Symbol.for("lit-nothing"),Te=new WeakMap,k=D.createTreeWalker(D,129);function De(e,t){if(!zt(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return Ae!==void 0?Ae.createHTML(t):t}var Re=(e,t)=>{let o=e.length-1,s=[],n,r=t===2?"<svg>":t===3?"<math>":"",i=J;for(let a=0;a<o;a++){let c=e[a],l,d,h=-1,f=0;for(;f<c.length&&(i.lastIndex=f,d=i.exec(c),d!==null);)f=i.lastIndex,i===J?d[1]==="!--"?i=Oe:d[1]!==void 0?i=Le:d[2]!==void 0?(ke.test(d[2])&&(n=RegExp("</"+d[2],"g")),i=N):d[3]!==void 0&&(i=N):i===N?d[0]===">"?(i=n??J,h=-1):d[1]===void 0?h=-2:(h=i.lastIndex-d[2].length,l=d[1],i=d[3]===void 0?N:d[3]==='"'?Pe:Se):i===Pe||i===Se?i=N:i===Oe||i===Le?i=J:(i=N,n=void 0);let v=i===N&&e[a+1].startsWith("/>")?" ":"";r+=i===J?c+To:h>=0?(s.push(l),c.slice(0,h)+jt+c.slice(h)+$+v):c+$+(h===-2?a:v)}return[De(e,r+(e[o]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),s]},X=class e{constructor({strings:t,_$litType$:o},s){let n;this.parts=[];let r=0,i=0,a=t.length-1,c=this.parts,[l,d]=Re(t,o);if(this.el=e.createElement(l,s),k.currentNode=this.el.content,o===2||o===3){let h=this.el.content.firstChild;h.replaceWith(...h.childNodes)}for(;(n=k.nextNode())!==null&&c.length<a;){if(n.nodeType===1){if(n.hasAttributes())for(let h of n.getAttributeNames())if(h.endsWith(jt)){let f=d[i++],v=n.getAttribute(h).split($),L=/([.?@])?(.*)/.exec(f);c.push({type:1,index:r,name:L[2],strings:v,ctor:L[1]==="."?ft:L[1]==="?"?mt:L[1]==="@"?yt:U}),n.removeAttribute(h)}else h.startsWith($)&&(c.push({type:6,index:r}),n.removeAttribute(h));if(ke.test(n.tagName)){let h=n.textContent.split($),f=h.length-1;if(f>0){n.textContent=ut?ut.emptyScript:"";for(let v=0;v<f;v++)n.append(h[v],Z()),k.nextNode(),c.push({type:2,index:++r});n.append(h[f],Z())}}}else if(n.nodeType===8)if(n.data===Vt)c.push({type:2,index:r});else{let h=-1;for(;(h=n.data.indexOf($,h+1))!==-1;)c.push({type:7,index:r}),h+=$.length-1}r++}}static createElement(t,o){let s=D.createElement("template");return s.innerHTML=t,s}};function R(e,t,o=e,s){if(t===m)return t;let n=s!==void 0?o._$Co?.[s]:o._$Cl,r=Q(t)?void 0:t._$litDirective$;return n?.constructor!==r&&(n?._$AO?.(!1),r===void 0?n=void 0:(n=new r(e),n._$AT(e,o,s)),s!==void 0?(o._$Co??=[])[s]=n:o._$Cl=n),n!==void 0&&(t=R(e,n._$AS(e,t.values),n,s)),t}var pt=class{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){let{el:{content:o},parts:s}=this._$AD,n=(t?.creationScope??D).importNode(o,!0);k.currentNode=n;let r=k.nextNode(),i=0,a=0,c=s[0];for(;c!==void 0;){if(i===c.index){let l;c.type===2?l=new H(r,r.nextSibling,this,t):c.type===1?l=new c.ctor(r,c.name,c.strings,this,t):c.type===6&&(l=new gt(r,this,t)),this._$AV.push(l),c=s[++a]}i!==c?.index&&(r=k.nextNode(),i++)}return k.currentNode=D,n}p(t){let o=0;for(let s of this._$AV)s!==void 0&&(s.strings!==void 0?(s._$AI(t,s,o),o+=s.strings.length-2):s._$AI(t[o])),o++}},H=class e{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,s,n){this.type=2,this._$AH=p,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=s,this.options=n,this._$Cv=n?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,o=this._$AM;return o!==void 0&&t?.nodeType===11&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=R(this,t,o),Q(t)?t===p||t==null||t===""?(this._$AH!==p&&this._$AR(),this._$AH=p):t!==this._$AH&&t!==m&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):Ne(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==p&&Q(this._$AH)?this._$AA.nextSibling.data=t:this.T(D.createTextNode(t)),this._$AH=t}$(t){let{values:o,_$litType$:s}=t,n=typeof s=="number"?this._$AC(t):(s.el===void 0&&(s.el=X.createElement(De(s.h,s.h[0]),this.options)),s);if(this._$AH?._$AD===n)this._$AH.p(o);else{let r=new pt(n,this),i=r.u(this.options);r.p(o),this.T(i),this._$AH=r}}_$AC(t){let o=Te.get(t.strings);return o===void 0&&Te.set(t.strings,o=new X(t)),o}k(t){zt(this._$AH)||(this._$AH=[],this._$AR());let o=this._$AH,s,n=0;for(let r of t)n===o.length?o.push(s=new e(this.O(Z()),this.O(Z()),this,this.options)):s=o[n],s._$AI(r),n++;n<o.length&&(this._$AR(s&&s._$AB.nextSibling,n),o.length=n)}_$AR(t=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);t&&t!==this._$AB;){let s=t.nextSibling;t.remove(),t=s}}setConnected(t){this._$AM===void 0&&(this._$Cv=t,this._$AP?.(t))}},U=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,s,n,r){this.type=1,this._$AH=p,this._$AN=void 0,this.element=t,this.name=o,this._$AM=n,this.options=r,s.length>2||s[0]!==""||s[1]!==""?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=p}_$AI(t,o=this,s,n){let r=this.strings,i=!1;if(r===void 0)t=R(this,t,o,0),i=!Q(t)||t!==this._$AH&&t!==m,i&&(this._$AH=t);else{let a=t,c,l;for(t=r[0],c=0;c<r.length-1;c++)l=R(this,a[s+c],o,c),l===m&&(l=this._$AH[c]),i||=!Q(l)||l!==this._$AH[c],l===p?t=p:t!==p&&(t+=(l??"")+r[c+1]),this._$AH[c]=l}i&&!n&&this.j(t)}j(t){t===p?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},ft=class extends U{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===p?void 0:t}},mt=class extends U{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==p)}},yt=class extends U{constructor(t,o,s,n,r){super(t,o,s,n,r),this.type=5}_$AI(t,o=this){if((t=R(this,t,o,0)??p)===m)return;let s=this._$AH,n=t===p&&s!==p||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,r=t!==p&&(s===p||n);n&&this.element.removeEventListener(this.name,this,s),r&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},gt=class{constructor(t,o,s){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=s}get _$AU(){return this._$AM._$AU}_$AI(t){R(this,t)}},Ue={M:jt,P:$,A:Vt,C:1,L:Re,R:pt,D:Ne,V:R,I:H,H:U,N:mt,U:yt,B:ft,F:gt},No=It.litHtmlPolyfillSupport;No?.(X,H),(It.litHtmlVersions??=[]).push("3.3.0");var Wt=(e,t,o)=>{let s=o?.renderBefore??t,n=s._$litPart$;if(n===void 0){let r=o?.renderBefore??null;s._$litPart$=n=new H(t.insertBefore(Z(),r),r,void 0,o??{})}return n._$AI(e),n};var{is:ko,defineProperty:Do,getOwnPropertyDescriptor:Ro,getOwnPropertyNames:Uo,getOwnPropertySymbols:Mo,getPrototypeOf:Io}=Object,bt=globalThis,Me=bt.trustedTypes,jo=Me?Me.emptyScript:"",Vo=bt.reactiveElementPolyfillSupport,tt=(e,t)=>e,vt={toAttribute(e,t){switch(t){case Boolean:e=e?jo:null;break;case Object:case Array:e=e==null?e:JSON.stringify(e)}return e},fromAttribute(e,t){let o=e;switch(t){case Boolean:o=e!==null;break;case Number:o=e===null?null:Number(e);break;case Object:case Array:try{o=JSON.parse(e)}catch{o=null}}return o}},qt=(e,t)=>!ko(e,t),Ie={attribute:!0,type:String,converter:vt,reflect:!1,useDefault:!1,hasChanged:qt};Symbol.metadata??=Symbol("metadata"),bt.litPropertyMetadata??=new WeakMap;var w=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,o=Ie){if(o.state&&(o.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(t)&&((o=Object.create(o)).wrapped=!0),this.elementProperties.set(t,o),!o.noAccessor){let s=Symbol(),n=this.getPropertyDescriptor(t,s,o);n!==void 0&&Do(this.prototype,t,n)}}static getPropertyDescriptor(t,o,s){let{get:n,set:r}=Ro(this.prototype,t)??{get(){return this[o]},set(i){this[o]=i}};return{get:n,set(i){let a=n?.call(this);r?.call(this,i),this.requestUpdate(t,a,s)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??Ie}static _$Ei(){if(this.hasOwnProperty(tt("elementProperties")))return;let t=Io(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(tt("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(tt("properties"))){let o=this.properties,s=[...Uo(o),...Mo(o)];for(let n of s)this.createProperty(n,o[n])}let t=this[Symbol.metadata];if(t!==null){let o=litPropertyMetadata.get(t);if(o!==void 0)for(let[s,n]of o)this.elementProperties.set(s,n)}this._$Eh=new Map;for(let[o,s]of this.elementProperties){let n=this._$Eu(o,s);n!==void 0&&this._$Eh.set(n,o)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){let o=[];if(Array.isArray(t)){let s=new Set(t.flat(1/0).reverse());for(let n of s)o.unshift(Ut(n))}else t!==void 0&&o.push(Ut(t));return o}static _$Eu(t,o){let s=o.attribute;return s===!1?void 0:typeof s=="string"?s:typeof t=="string"?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise(t=>this.enableUpdating=t),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach(t=>t(this))}addController(t){(this._$EO??=new Set).add(t),this.renderRoot!==void 0&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$EO?.delete(t)}_$E_(){let t=new Map,o=this.constructor.elementProperties;for(let s of o.keys())this.hasOwnProperty(s)&&(t.set(s,this[s]),delete this[s]);t.size>0&&(this._$Ep=t)}createRenderRoot(){let t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return xe(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach(t=>t.hostConnected?.())}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach(t=>t.hostDisconnected?.())}attributeChangedCallback(t,o,s){this._$AK(t,s)}_$ET(t,o){let s=this.constructor.elementProperties.get(t),n=this.constructor._$Eu(t,s);if(n!==void 0&&s.reflect===!0){let r=(s.converter?.toAttribute!==void 0?s.converter:vt).toAttribute(o,s.type);this._$Em=t,r==null?this.removeAttribute(n):this.setAttribute(n,r),this._$Em=null}}_$AK(t,o){let s=this.constructor,n=s._$Eh.get(t);if(n!==void 0&&this._$Em!==n){let r=s.getPropertyOptions(n),i=typeof r.converter=="function"?{fromAttribute:r.converter}:r.converter?.fromAttribute!==void 0?r.converter:vt;this._$Em=n,this[n]=i.fromAttribute(o,r.type)??this._$Ej?.get(n)??null,this._$Em=null}}requestUpdate(t,o,s){if(t!==void 0){let n=this.constructor,r=this[t];if(s??=n.getPropertyOptions(t),!((s.hasChanged??qt)(r,o)||s.useDefault&&s.reflect&&r===this._$Ej?.get(t)&&!this.hasAttribute(n._$Eu(t,s))))return;this.C(t,o,s)}this.isUpdatePending===!1&&(this._$ES=this._$EP())}C(t,o,{useDefault:s,reflect:n,wrapped:r},i){s&&!(this._$Ej??=new Map).has(t)&&(this._$Ej.set(t,i??o??this[t]),r!==!0||i!==void 0)||(this._$AL.has(t)||(this.hasUpdated||s||(o=void 0),this._$AL.set(t,o)),n===!0&&this._$Em!==t&&(this._$Eq??=new Set).add(t))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}catch(o){Promise.reject(o)}let t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[n,r]of this._$Ep)this[n]=r;this._$Ep=void 0}let s=this.constructor.elementProperties;if(s.size>0)for(let[n,r]of s){let{wrapped:i}=r,a=this[n];i!==!0||this._$AL.has(n)||a===void 0||this.C(n,void 0,r,a)}}let t=!1,o=this._$AL;try{t=this.shouldUpdate(o),t?(this.willUpdate(o),this._$EO?.forEach(s=>s.hostUpdate?.()),this.update(o)):this._$EM()}catch(s){throw t=!1,this._$EM(),s}t&&this._$AE(o)}willUpdate(t){}_$AE(t){this._$EO?.forEach(o=>o.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Eq&&=this._$Eq.forEach(o=>this._$ET(o,this[o])),this._$EM()}updated(t){}firstUpdated(t){}};w.elementStyles=[],w.shadowRootOptions={mode:"open"},w[tt("elementProperties")]=new Map,w[tt("finalized")]=new Map,Vo?.({ReactiveElement:w}),(bt.reactiveElementVersions??=[]).push("2.1.0");var Bt=globalThis,x=class extends w{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){let t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){let o=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=Wt(o,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return m}};x._$litElement$=!0,x.finalized=!0,Bt.litElementHydrateSupport?.({LitElement:x});var zo=Bt.litElementPolyfillSupport;zo?.({LitElement:x});(Bt.litElementVersions??=[]).push("4.2.0");var E={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},M=e=>(...t)=>({_$litDirective$:e,values:t}),A=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,o,s){this._$Ct=t,this._$AM=o,this._$Ci=s}_$AS(t,o){return this.update(t,o)}update(t,o){return this.render(...o)}};var{I:Ho}=Ue;var Ve=e=>e.strings===void 0,je=()=>document.createComment(""),Zs=(e,t,o)=>{let s=e._$AA.parentNode,n=t===void 0?e._$AB:t._$AA;if(o===void 0){let r=s.insertBefore(je(),n),i=s.insertBefore(je(),n);o=new Ho(r,i,e,e.options)}else{let r=o._$AB.nextSibling,i=o._$AM,a=i!==e;if(a){let c;o._$AQ?.(e),o._$AM=e,o._$AP!==void 0&&(c=e._$AU)!==i._$AU&&o._$AP(c)}if(r!==n||a){let c=o._$AA;for(;c!==r;){let l=c.nextSibling;s.insertBefore(c,n),c=l}}}return o},Qs=(e,t,o=e)=>(e._$AI(t,o),e),Wo={},ze=(e,t=Wo)=>e._$AH=t,Xs=e=>e._$AH,tn=e=>{e._$AP?.(!1,!0);let t=e._$AA,o=e._$AB.nextSibling;for(;t!==o;){let s=t.nextSibling;t.remove(),t=s}};var qo=M(class extends A{constructor(e){if(super(e),e.type!==E.PROPERTY&&e.type!==E.ATTRIBUTE&&e.type!==E.BOOLEAN_ATTRIBUTE)throw Error("The `live` directive is not allowed on child or event bindings");if(!Ve(e))throw Error("`live` bindings can only contain a single expression")}render(e){return e}update(e,[t]){if(t===m||t===p)return t;let o=e.element,s=e.name;if(e.type===E.PROPERTY){if(t===o[s])return m}else if(e.type===E.BOOLEAN_ATTRIBUTE){if(!!t===o.hasAttribute(s))return m}else if(e.type===E.ATTRIBUTE&&o.getAttribute(s)===t+"")return m;return ze(e),t}});var qe=";",Et=",",Be=":",O=(e=>(e[e.ATTRIBUTE=1]="ATTRIBUTE",e[e.REFLECT=2]="REFLECT",e[e.BOOLEAN=4]="BOOLEAN",e[e.NUMBER=8]="NUMBER",e[e.STATE=16]="STATE",e[e.READ_ONLY=32]="READ_ONLY",e[e.NO_ACCESSOR=64]="NO_ACCESSOR",e))(O||{});function Kt(e){let t=e;for(;t=t.parentNode??t.host;)if(t?.constructor?.lumina){let o=t;return o.manager?.loadedCalled||o._offspring.push(e),o._postLoad.promise}return!1}var Fo=(e,t)=>function(s,n){if(!globalThis.customElements)return;let i=(n??s??{}).resourcesUrl;i&&e.setAssetPath(i),Object.entries(t).forEach(Go)};function Go([e,[t,o=""]]){if(customElements.get(e))return;let[s,n,r]=o.split(qe),i=s?s?.split(Et).map(Fe):void 0,a=i?.map(([l])=>l),c=class extends Gt{static{this.observedAttributes=i?.map(([,l])=>l).filter(l=>l!=="")}static{this._properties=a}static{this._asyncMethods=n?n?.split(Et):void 0}static{this._syncMethods=r?.split(Et)}static{this._name=e}constructor(){!c._loadPromise&&(c._loadPromise=t(),c._initializePrototype()),super()}};customElements.define(e,c)}var _t=Object.defineProperty;function Fe(e){let t=e.split(Be);return t.length===1?[t[0],nt(t[0])]:t}var Ko=globalThis.HTMLElement??Fe,Gt=class extends Ko{constructor(){super(),this._store={},this._pendingAttributes=[],this._postLoad=new g,this._postLoaded=new g,this._offspring=[],this._saveInstanceProperties();let t=this.constructor;t._LitConstructor?this._initializeComponent({a:t._LitConstructor}):t._loadPromise.then(Zo).then(this._initializeComponent.bind(this)).catch(o=>{this._postLoaded.reject(o),setTimeout(()=>{throw o})})}static{this.lumina=!0}static _initializePrototype(){this._properties?.forEach(this._bindProp,this),this._asyncMethods?.forEach(this._bindAsync,this),this._syncMethods?.forEach(this._bindSync,this)}static _bindProp(t){_t(this.prototype,t,{configurable:!0,enumerable:!0,get(){return this._store[t]},set(o){this._store[t]=o}})}static _bindAsync(t){_t(this.prototype,t,{async value(...o){return this._litElement||await this._postLoaded.promise,await this._litElement[t](...o)},configurable:!0})}static _bindSync(t){_t(this.prototype,t,{value(...o){return this._litElement[t](...o)},configurable:!0})}get manager(){return this._litElement?.manager}_saveInstanceProperties(){let t=this.constructor,o=this;t._properties?.forEach(s=>{Object.hasOwn(this,s)&&(this._store[s]=o[s],delete o[s])})}attributeChangedCallback(t,o,s){this._litElement?.attributeChangedCallback(t,o,s),this._litElement||this._pendingAttributes.push(t)}connectedCallback(){this._litElement?this._litElement.connectedCallback?.():queueMicrotask(()=>{this._ancestorLoad=Kt(this)})}disconnectedCallback(){this._litElement?.disconnectedCallback?.()}async componentOnReady(){return await this._postLoaded.promise,this}_initializeComponent(t){let o=this.constructor,s=o._name,n=this._store,r=Object.values(t).find(h=>h.tagName===s),i=`${s}--lazy`,a=r;for(;a&&!Object.hasOwn(a,"lumina");)a=Object.getPrototypeOf(a);Jo(a),!o._LitConstructor&&(o._LitConstructor=r,customElements.define(i,r)),r.lazy=this;let l=document.createElement(i);r.lazy=void 0,this._litElement=l,this._store=l,this._pendingAttributes.forEach(h=>{let f=this.getAttribute(h);l.attributeChangedCallback(h,null,f)}),Object.entries(n).forEach(Yo,l);let d=this.isConnected;(d||this._ancestorLoad)&&(l.connectedCallback?.(),d||l.disconnectedCallback())}addController(){}requestUpdate(){this._litElement?.requestUpdate()}};function Yo([e,t]){this[e]=t}function Jo(e){let t=e.prototype,o=Element.prototype;Object.hasOwn(t,"isConnected")||(t.setAttribute=function(n,r){o.setAttribute.call(this.el,n,r)},t.removeAttribute=function(n){o.removeAttribute.call(this.el,n)},_t(t,"isConnected",{get(){return Reflect.get(o,"isConnected",this.el)}}))}var Zo=async e=>(await e.$$,e),Yt={};var Ge=M(class extends A{constructor(e){if(super(e),e.type!==E.ATTRIBUTE||e.name!=="class"||e.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(e){return" "+Object.keys(e).filter(t=>e[t]).join(" ")+" "}update(e,[t]){if(this.st===void 0){this.st=new Set,e.strings!==void 0&&(this.nt=new Set(e.strings.join(" ").split(/\s/).filter(s=>s!=="")));for(let s in t)t[s]&&!this.nt?.has(s)&&this.st.add(s);return this.render(t)}let o=e.element.classList;for(let s of this.st)s in t||(o.remove(s),this.st.delete(s));for(let s in t){let n=!!t[s];n===this.st.has(s)||this.nt?.has(s)||(n?(o.add(s),this.st.add(s)):(o.remove(s),this.st.delete(s)))}return m}});var Ke="important",Qo=" !"+Ke,Ye=M(class extends A{constructor(e){if(super(e),e.type!==E.ATTRIBUTE||e.name!=="style"||e.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(e){return Object.keys(e).reduce((t,o)=>{let s=e[o];return s==null?t:t+`${o=o.includes("-")?o:o.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${s};`},"")}update(e,[t]){let{style:o}=e.element;if(this.ft===void 0)return this.ft=new Set(Object.keys(t)),this.render(t);for(let s of this.ft)t[s]==null&&(this.ft.delete(s),s.includes("-")?o.removeProperty(s):o[s]=null);for(let s in t){let n=t[s];if(n!=null){this.ft.add(s);let r=typeof n=="string"&&n.endsWith(Qo);s.includes("-")||r?o.setProperty(s,r?n.slice(0,-11):n,r?Ke:""):o[s]=n}}return m}});var Je=(e="",t={},o=z())=>{let s={emit:n=>{e===""&&K();let r=new CustomEvent(e,{detail:n,cancelable:!0,bubbles:!0,composed:!0,...t});return o.el.dispatchEvent(r),r}};return e===""&<(void 0,n=>{e=n.key},s),s},gr=Je.bind(null,"");var Xo=()=>{},Jt=class e extends x{constructor(){super(),this.el=this.constructor.lazy??this,this.manager=Ee(this),this._postLoad=this.constructor.lazy?._postLoad??new g,this._offspring=this.constructor.lazy?._offspring??[],this._postLoaded=this.constructor.lazy?._postLoaded??new g,this._enableUpdating=this.enableUpdating,this.enableUpdating=Xo;let t=e.prototype.shouldUpdate;this.shouldUpdate!==t&&(this._originalShouldUpdate=this.shouldUpdate,this.shouldUpdate=t),!1}static finalizeStyles(t){let o=super.finalizeStyles(t),s=this.shadowRootOptions===Yt;return this.runtime?.commonStyles===void 0||s?o:[this.runtime.commonStyles,...o]}static createProperty(t,o){let s=typeof o=="number"?o:Array.isArray(o)?o[0]:0,n=Array.isArray(o)?o[1]:void 0;super.createProperty(t,{attribute:s&O.ATTRIBUTE&&typeof t=="string"?nt(t):!1,reflect:!!(s&O.REFLECT),type:s&O.BOOLEAN?Boolean:s&O.NUMBER?Number:void 0,state:!!(s&O.STATE),readOnly:!!(s&O.READ_ONLY),noAccessor:!!(s&O.NO_ACCESSOR),...n})}static{this.lumina=!0}connectedCallback(){if(this.el.hasAttribute("defer-hydration"))return;let t=!this.manager.connectedCalled;super.connectedCallback(),t&&queueMicrotask(()=>this._load().catch(o=>{this._postLoaded.reject(o),setTimeout(()=>{throw o})}))}createRenderRoot(){let t=this.el.shadowRoot,o=this.constructor,s=o.shadowRootOptions,r=t??(s===Yt?this.el:this.el.attachShadow(s));if(t)return x.prototype.createRenderRoot.call(this),t;if(this.isConnected){let i=r.getRootNode();i.adoptedStyleSheets=[...i.adoptedStyleSheets,...o.elementStyles.map(a=>"styleSheet"in a?a.styleSheet:a)]}return r}async _load(){let t=this.el._ancestorLoad??Kt(this.el);t&&await t,await this.manager._load(),this._enableUpdating(!0),this.performUpdate(),this._postLoad.resolve(),await Promise.resolve();let o=this._offspring.filter(s=>!s.manager?.loadedCalled);o.length&&await Promise.allSettled(o.map(async s=>await s.componentOnReady())),this._offspring.length=0,this.el.setAttribute(this.constructor.runtime.hydratedAttribute,""),this.manager._loaded(),this._postLoaded.resolve()}shouldUpdate(t){return this.$changes=t,this._originalShouldUpdate?.(t)??!0}listen(t,o,s){let n=o?.bind(this)??o;this.manager.onLifecycle(()=>(this.el.addEventListener(t,n,s),()=>this.el.removeEventListener(t,n,s)))}listenOn(t,o,s,n){let r=s?.bind(this)??s;this.manager.onLifecycle(()=>(t.addEventListener(o,r,n),()=>t.removeEventListener(o,r,n)))}async componentOnReady(){return await this._postLoaded.promise,this}};Jt.$createEvent=Je;function Ze(e){let t,o=n=>{t=new URL(n,globalThis.location?.href||void 0).href},s={...e,getAssetPath(n){let r=new URL(n,t);return r.origin!==globalThis.location?.origin?r.href:r.pathname},setAssetPath:o,customElement(n,r){r.runtime=s,r.tagName=n,customElements.get(n)||customElements.define(n,r)}};return o(e.defaultAssetPath),s}var vr=e=>typeof e=="object"&&e!=null?Ge(e):e,br=e=>typeof e=="object"&&e!=null?Ye(e):e;var Er=p;function _r(e,t,o){o==null?e.removeAttribute(t):e.setAttribute(t,o)}var Cr={toAttribute:e=>e===!0?"":e===!1?null:e};var to="calcite-mode-auto",eo="calcite-mode-dark",ts="calcite-mode-light",Or={autoMode:to,darkMode:eo,lightMode:ts,rtl:"calcite--rtl",calciteAnimate:"calcite-animate",calciteAnimateInUp:"calcite-animate__in-up",calciteAnimateInDown:"calcite-animate__in-down",calciteAnimateInRight:"calcite-animate__in-right",calciteAnimateInLeft:"calcite-animate__in-left"},Lr={filter:250,nextTick:0,resize:150,reposition:100},Sr=10,Pr=25;function Qe(){let{classList:e}=document.body,t=window.matchMedia("(prefers-color-scheme: dark)").matches,o=()=>e.contains(eo)||e.contains(to)&&t?"dark":"light",s=i=>document.body.dispatchEvent(new CustomEvent("calciteModeChange",{bubbles:!0,detail:{mode:i}})),n=i=>{r!==i&&s(i),r=i},r=o();s(r),window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",i=>n(i.matches?"dark":"light")),new MutationObserver(()=>n(o())).observe(document.body,{attributes:!0,attributeFilter:["class"]})}var et=globalThis.calciteConfig,Tr=et?.focusTrapStack||[],Nr=et?.logLevel||"info",Xe="3.2.0-next.40",es="2025-05-03",os="c3d59cfaf";function ss(){if(et&&et.version)return;console.info(`Using Calcite Components ${Xe} [Date: ${es}, Revision: ${os}]`);let e=et||globalThis.calciteConfig||{};Object.defineProperty(e,"version",{value:Xe,writable:!1}),globalThis.calciteConfig=e}function ns(){document.readyState==="interactive"?Qe():document.addEventListener("DOMContentLoaded",()=>Qe(),{once:!0}),ss()}ns();var rs=Ze({defaultAssetPath:"https://cdn.jsdelivr.net/npm/@esri/calcite-components@3.2.0-next.40/dist/calcite/",hydratedAttribute:"calcite-hydrated"}),{customElement:kr,getAssetPath:Dr,setAssetPath:Rr}=rs;export{fe as a,As as b,Os as c,Ls as d,Po as e,Fo as f,Ts as g,Ns as h,ks as i,m as j,p as k,Wt as l,E as m,M as n,A as o,Ve as p,Zs as q,Qs as r,ze as s,Xs as t,tn as u,qo as v,gr as w,Jt as x,vr as y,br as z,Er as A,_r as B,Cr as C,Or as D,Lr as E,Sr as F,Pr as G,Tr as H,Nr as I,rs as J,kr as K,Dr as L};
|
|
@@ -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,b as o}from"./
|
|
3
|
+
v3.2.0-next.40 */
|
|
4
|
+
import{a as s,b as o}from"./ZXGONEDG.js";import{a as i}from"./PNGIMH3C.js";import{u as a}from"./4JEZM6VX.js";import"./6DCGXB5R.js";import{K as d,e as l,g as n,x as r,y as e}from"./EYWRTO2E.js";var h=l`:host([disabled]) .content{cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) .content *,:host([disabled]) .content ::slotted(*){pointer-events:none}:host{display:flex;flex:1 1 0%;flex-direction:column}.container{display:flex;flex:1 1 auto;align-items:stretch;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-color-text-2)}.content{display:flex;flex:1 1 auto;flex-direction:column;justify-content:center;font-size:var(--calcite-font-size--2);line-height:1.375;padding-inline:var(--calcite-stack-padding-inline, .75rem);padding-block:var(--calcite-stack-padding-block, .5rem)}.content-start{justify-content:flex-start}.content-end{justify-content:flex-end}.content-start,.content-end{flex:0 1 auto}.content-start ::slotted(calcite-icon),.content-end ::slotted(calcite-icon){margin-inline:.75rem;align-self:center}.actions-start,.actions-end,.content-start,.content-end{display:flex;align-items:center}.actions-start ::slotted(calcite-action),.actions-start ::slotted(calcite-action-menu),.actions-start ::slotted(calcite-handle),.actions-start ::slotted(calcite-dropdown),.actions-end ::slotted(calcite-action),.actions-end ::slotted(calcite-action-menu),.actions-end ::slotted(calcite-handle),.actions-end ::slotted(calcite-dropdown){align-self:stretch;color:inherit}:host([hidden]){display:none}[hidden]{display:none}`,c=class extends r{constructor(){super(...arguments),this.hasActionsEnd=!1,this.hasActionsStart=!1,this.hasContentEnd=!1,this.hasContentStart=!1,this.disabled=!1}static{this.properties={hasActionsEnd:[16,{state:!0}],hasActionsStart:[16,{state:!0}],hasContentEnd:[16,{state:!0}],hasContentStart:[16,{state:!0}],disabled:[7,{reflect:!0,type:Boolean}]}}static{this.styles=h}handleActionsStartSlotChange(t){this.hasActionsStart=a(t)}handleActionsEndSlotChange(t){this.hasActionsEnd=a(t)}handleContentStartSlotChange(t){this.hasContentStart=a(t)}handleContentEndSlotChange(t){this.hasContentEnd=a(t)}renderActionsStart(){let{hasActionsStart:t}=this;return i("actions-start-container",n`<div class=${e(s.actionsStart)} .hidden=${!t}><slot name=${o.actionsStart} @slotchange=${this.handleActionsStartSlotChange}></slot></div>`)}renderActionsEnd(){let{hasActionsEnd:t}=this;return i("actions-end-container",n`<div class=${e(s.actionsEnd)} .hidden=${!t}><slot name=${o.actionsEnd} @slotchange=${this.handleActionsEndSlotChange}></slot></div>`)}renderContentStart(){let{hasContentStart:t}=this;return n`<div class=${e(s.contentStart)} .hidden=${!t}><slot name=${o.contentStart} @slotchange=${this.handleContentStartSlotChange}></slot></div>`}renderDefaultContent(){return n`<div class=${e(s.content)}><slot></slot></div>`}renderContentEnd(){let{hasContentEnd:t}=this;return n`<div class=${e(s.contentEnd)} .hidden=${!t}><slot name=${o.contentEnd} @slotchange=${this.handleContentEndSlotChange}></slot></div>`}render(){return n`<div class=${e(s.container)}>${this.renderActionsStart()}${this.renderContentStart()}${this.renderDefaultContent()}${this.renderContentEnd()}${this.renderActionsEnd()}</div>`}};d("calcite-stack",c);export{c as Stack};
|
|
@@ -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
|
function r(n,$,o){return $?`${n}-${$}`:o?`${n}-${o}`:`${n}-m`}export{r as a};
|