@arcgis/map-components 6.0.0-next.20 → 6.0.0-next.22
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/cdn/{VQDXE456.js → 22RLIDCP.js} +1 -1
- package/dist/cdn/{CD2XIXN5.js → 27TSPXYV.js} +1 -1
- package/dist/cdn/{THIUS6HZ.js → 2GPVEWYM.js} +1 -1
- package/dist/cdn/{UHP6ZS6H.js → 2IBL2HKQ.js} +1 -1
- package/dist/cdn/{VYM3TR3Q.js → 2NM6UWC4.js} +1 -1
- package/dist/cdn/{CYUO2UNT.js → 2PLAZVGP.js} +1 -1
- package/dist/cdn/{M6COQWFB.js → 2RQGZLOJ.js} +1 -1
- package/dist/cdn/{X5WMEO4X.js → 2S6RQ6Q4.js} +1 -1
- package/dist/cdn/{AD2IA3IS.js → 2SQGIY7T.js} +1 -1
- package/dist/cdn/{R2KMEDRH.js → 2UAH624K.js} +1 -1
- package/dist/cdn/{C2YP473B.js → 2WJ53TNR.js} +1 -1
- package/dist/cdn/{IEZGQ2LC.js → 2YXWKKNB.js} +1 -1
- package/dist/cdn/{VTER7AQ2.js → 32526XJ7.js} +1 -1
- package/dist/cdn/{WQF3SS53.js → 34XDXFK6.js} +1 -1
- package/dist/cdn/3B4VHD67.js +2 -0
- package/dist/cdn/{LKMQHTBY.js → 3EXEL7AM.js} +1 -1
- package/dist/cdn/{MGQA3G43.js → 3GN3DAON.js} +1 -1
- package/dist/cdn/{AI3ETXGZ.js → 3MWXYWKR.js} +1 -1
- package/dist/cdn/{J7VECW7F.js → 3SXQLU4S.js} +1 -1
- package/dist/cdn/{WD4TPDI6.js → 3W7KESW7.js} +1 -1
- package/dist/cdn/{Y3S6WJN2.js → 43IGD6V3.js} +1 -1
- package/dist/cdn/{UKB45JOM.js → 4DPAOAMZ.js} +1 -1
- package/dist/cdn/{YAVRBZ5C.js → 4FFEPX2D.js} +1 -1
- package/dist/cdn/{IZKG2DP3.js → 4H2REMNG.js} +1 -1
- package/dist/cdn/{VHYR3UPY.js → 4I6F64B2.js} +1 -1
- package/dist/cdn/{DUKK2PHD.js → 4IG6WUCI.js} +1 -1
- package/dist/cdn/4LO7PNX7.js +2 -0
- package/dist/cdn/{ALZFPS2D.js → 4P4NKBQC.js} +1 -1
- package/dist/cdn/{SQI6CU3W.js → 4PDZTEB2.js} +1 -1
- package/dist/cdn/{LPXSF4M6.js → 4WZZZTT5.js} +1 -1
- package/dist/cdn/{XSEDC76K.js → 55VX76T5.js} +1 -1
- package/dist/cdn/{UBCDF55B.js → 57LPG3BE.js} +1 -1
- package/dist/cdn/{6BMZP72L.js → 5A7LDBDR.js} +1 -1
- package/dist/cdn/{6NCZTAOF.js → 5DN4ONEW.js} +1 -1
- package/dist/cdn/{YMAEN7NR.js → 5FBHHKRV.js} +1 -1
- package/dist/cdn/{DYUFBVXE.js → 5GFPOTOB.js} +1 -1
- package/dist/cdn/{LL3DXDKE.js → 5V6BNJ5O.js} +1 -1
- package/dist/cdn/{QABRDQFJ.js → 5V6K43GW.js} +1 -1
- package/dist/cdn/{GD4XR5XA.js → 5XZKVLHC.js} +1 -1
- package/dist/cdn/{F2EOAAKS.js → 62OAO327.js} +1 -1
- package/dist/cdn/{3YQDH3QT.js → 6DRXFSTW.js} +1 -1
- package/dist/cdn/{YFYFQWXG.js → 6G5QADEG.js} +1 -1
- package/dist/cdn/{4IJC4V6Z.js → 6HDYZ7WW.js} +1 -1
- package/dist/cdn/6KYZMT4A.js +2 -0
- package/dist/cdn/{XNHTHY3W.js → 6QWLMG5M.js} +1 -1
- package/dist/cdn/{NEQJAZLZ.js → 6WFVZM5S.js} +1 -1
- package/dist/cdn/{HJZRNUBU.js → 6Y7Q7GRB.js} +1 -1
- package/dist/cdn/{D7T33U5Z.js → 74PUSJU5.js} +1 -1
- package/dist/cdn/{H7QBBTTP.js → 7EIN5VCY.js} +1 -1
- package/dist/cdn/{KQZYGYQO.js → 7EKBNXGL.js} +1 -1
- package/dist/cdn/7ILT5PDJ.js +2 -0
- package/dist/cdn/{IU7BOICX.js → 7JK4JGPG.js} +1 -1
- package/dist/cdn/{KRJCOTGC.js → 7JPHMESH.js} +1 -1
- package/dist/cdn/{XCHCC6HT.js → 7LO6ACC7.js} +1 -1
- package/dist/cdn/{P7XX5RSZ.js → 7V7LQ35Q.js} +1 -1
- package/dist/cdn/{27HLXBPP.js → 7Y4SF2NT.js} +1 -1
- package/dist/cdn/{XFPFS6PS.js → 7Y6PADB5.js} +1 -1
- package/dist/cdn/{CYXNSUYF.js → 7ZWBGSCM.js} +1 -1
- package/dist/cdn/{OLEUR4YB.js → A5IFDSOU.js} +1 -1
- package/dist/cdn/{5FA37EZ6.js → AHWBCZBO.js} +1 -1
- package/dist/cdn/{DIXSGC2P.js → AIF4MCBB.js} +1 -1
- package/dist/cdn/{4EGKJPJ2.js → AKGUTL2V.js} +1 -1
- package/dist/cdn/AMRGLUBB.js +2 -0
- package/dist/cdn/{RQ2MM3DQ.js → AOGDXJ2J.js} +1 -1
- package/dist/cdn/ARN5ZKLI.js +2 -0
- package/dist/cdn/{KLY36SOM.js → AUP633OS.js} +1 -1
- package/dist/cdn/{JCCTYIZ2.js → B2TICPHR.js} +1 -1
- package/dist/cdn/{CI6VWQ63.js → BDZHLGVT.js} +1 -1
- package/dist/cdn/{H6SIAY6D.js → BFYJTV6Q.js} +1 -1
- package/dist/cdn/{7NB627L5.js → BJ35LPCU.js} +1 -1
- package/dist/cdn/{66RQ6K6J.js → BJI5DVB5.js} +1 -1
- package/dist/cdn/{5Y45LLBY.js → BJJZGYBG.js} +1 -1
- package/dist/cdn/{EPNWPJZ6.js → BLYXYNGB.js} +1 -1
- package/dist/cdn/{F4AJCUZ6.js → BOPNSNUT.js} +1 -1
- package/dist/cdn/{LMI7MLKS.js → BUH3AQ7E.js} +1 -1
- package/dist/cdn/{Y7ILKQZU.js → BVRQWRKX.js} +1 -1
- package/dist/cdn/{JSHCS4Y6.js → C6K7TZ27.js} +1 -1
- package/dist/cdn/{2ZNQABOI.js → CLICUS2A.js} +1 -1
- package/dist/cdn/CNJSDHZI.js +2 -0
- package/dist/cdn/{2JOUXCA5.js → COSETVX4.js} +1 -1
- package/dist/cdn/{EBQ537XN.js → CWCVAPXD.js} +1 -1
- package/dist/cdn/{YCQWS3JT.js → CXXBV6RJ.js} +1 -1
- package/dist/cdn/{YR4YEJ2N.js → DCO26B7J.js} +1 -1
- package/dist/cdn/{KV5K3ATE.js → DDGUDJJZ.js} +1 -1
- package/dist/cdn/{ASHCHM4V.js → DEW5IWND.js} +1 -1
- package/dist/cdn/{OBQUHPHJ.js → DFNH6YRR.js} +1 -1
- package/dist/cdn/{DE4OSJG5.js → DFTYQJWJ.js} +1 -1
- package/dist/cdn/{ZOLOOVHX.js → DFZ22GLY.js} +1 -1
- package/dist/cdn/{R3VD3PEO.js → DGSTI5DI.js} +1 -1
- package/dist/cdn/{5JRZJANG.js → DS6EUOYE.js} +1 -1
- package/dist/cdn/{ZDLHDQCX.js → DWPXOIRF.js} +1 -1
- package/dist/cdn/{2T3ALADJ.js → DZIJPJS3.js} +1 -1
- package/dist/cdn/{6DDIOOI6.js → E6ZXXC74.js} +1 -1
- package/dist/cdn/{RTZG4WTI.js → EB4V6SPF.js} +1 -1
- package/dist/cdn/{EXSZCSCL.js → ECUVJOIW.js} +1 -1
- package/dist/cdn/{LB52TH7O.js → EP27GLNL.js} +1 -1
- package/dist/cdn/EVWWTIEQ.js +2 -0
- package/dist/cdn/{BE5M3N7T.js → EXB4CY2Y.js} +1 -1
- package/dist/cdn/{QMH2OBF6.js → EZHYSI6R.js} +1 -1
- package/dist/cdn/{RUMWDBIU.js → F2DTKJTK.js} +1 -1
- package/dist/cdn/{NU75HQA2.js → F74YQZ2X.js} +1 -1
- package/dist/cdn/{BWM4ZVN7.js → FGU7NUST.js} +1 -1
- package/dist/cdn/{KQDXSX5Y.js → FH6Q5A5L.js} +1 -1
- package/dist/cdn/{Z24QDG3E.js → FMLDKHWP.js} +2 -2
- package/dist/cdn/{7EIWYGE2.js → FOKE5ILO.js} +1 -1
- package/dist/cdn/{WALR7J3I.js → FQ3ZJA4Q.js} +1 -1
- package/dist/cdn/FRX4ZT35.js +2 -0
- package/dist/cdn/{QYOTQQAL.js → FZGMIIBX.js} +1 -1
- package/dist/cdn/{DQSP4RFL.js → G2ACNJGG.js} +1 -1
- package/dist/cdn/{6S6CZJKN.js → G2PLGAUY.js} +1 -1
- package/dist/cdn/{CESPPRYQ.js → GEOME3IC.js} +1 -1
- package/dist/cdn/{WV2GLDRQ.js → GFC6LS4L.js} +1 -1
- package/dist/cdn/{WNRWNZGL.js → GKNGEZCO.js} +1 -1
- package/dist/cdn/{SW6UOJIE.js → GPYZM5CC.js} +1 -1
- package/dist/cdn/{U7FYQAUZ.js → GQQTIX2X.js} +1 -1
- package/dist/cdn/{KM7PWRG2.js → H4BTVLCG.js} +1 -1
- package/dist/cdn/{M76PF7SP.js → HLOH2QPV.js} +1 -1
- package/dist/cdn/{C6XAWMZK.js → I52P5EXK.js} +1 -1
- package/dist/cdn/{TTGQ4Y7X.js → IFLDLAK4.js} +1 -1
- package/dist/cdn/{XYEUSNMJ.js → IN7TMVRK.js} +1 -1
- package/dist/cdn/{IAIVTB2Q.js → IOUO7KBT.js} +1 -1
- package/dist/cdn/IQGL3AGV.js +2 -0
- package/dist/cdn/{LXLZB2JC.js → IZFEOYED.js} +1 -1
- package/dist/cdn/{L4HKKYNC.js → JBD7Q5YD.js} +1 -1
- package/dist/cdn/{GWXQ6CHV.js → JN6RVFAM.js} +1 -1
- package/dist/cdn/{RYQW6GPV.js → JUOOKKZJ.js} +1 -1
- package/dist/cdn/{NY7PPWFQ.js → JUYPQUPQ.js} +1 -1
- package/dist/cdn/{35EYUDTJ.js → KAG4QZ7K.js} +1 -1
- package/dist/cdn/{OFBCNFBW.js → KE2ER3F7.js} +1 -1
- package/dist/cdn/{AA4RF7H6.js → KIHYSYOL.js} +1 -1
- package/dist/cdn/{IQ4ADF3I.js → KIWV2RIN.js} +1 -1
- package/dist/cdn/{3ZFHZPWM.js → KXD4VEKE.js} +1 -1
- package/dist/cdn/{SDMJGSR7.js → L4WLEN3C.js} +1 -1
- package/dist/cdn/{STOPSNWH.js → L5XC4FXT.js} +1 -1
- package/dist/cdn/{AXJE2SZV.js → L6FLCEH6.js} +1 -1
- package/dist/cdn/{BRGIHQI3.js → LILX2DJE.js} +1 -1
- package/dist/cdn/{ZN52ACGS.js → LKGURYDH.js} +1 -1
- package/dist/cdn/{CEW6QJGT.js → LRH4FKHU.js} +1 -1
- package/dist/cdn/{BNZFCSS2.js → LSLTIN2Q.js} +1 -1
- package/dist/cdn/{BK2UM27Y.js → LTFGTX7S.js} +1 -1
- package/dist/cdn/{T2UN4CJT.js → LUW2PXWZ.js} +1 -1
- package/dist/cdn/{QFWFBHIF.js → LWVYNWD5.js} +1 -1
- package/dist/cdn/{NIMNZJJZ.js → LXHZGIW5.js} +1 -1
- package/dist/cdn/{TJC7VHRZ.js → LXJURAXP.js} +1 -1
- package/dist/cdn/{3XEUTP6J.js → M37TWKYP.js} +1 -1
- package/dist/cdn/{SMRY445Z.js → M3CIFZFR.js} +1 -1
- package/dist/cdn/{5P7WPXOY.js → M5OK7RKI.js} +1 -1
- package/dist/cdn/{RLYKTTAI.js → M7MRLBZA.js} +1 -1
- package/dist/cdn/{QYYYQIAI.js → MA2DWIGR.js} +1 -1
- package/dist/cdn/{EVQL7FMR.js → MDS3NVWM.js} +1 -1
- package/dist/cdn/{K7OB5AHB.js → MGH6EHT7.js} +1 -1
- package/dist/cdn/{OT43XHBV.js → MNL7ONFB.js} +1 -1
- package/dist/cdn/MW27GSDX.js +2 -0
- package/dist/cdn/{FNJBBQT5.js → N4D5I6Y4.js} +1 -1
- package/dist/cdn/{5RCFYMHK.js → NHMHVWNB.js} +1 -1
- package/dist/cdn/{XDQ6UHVN.js → NKFAPBY3.js} +1 -1
- package/dist/cdn/NORQIOSX.js +2 -0
- package/dist/cdn/{LDC5FSWA.js → NQ3COROI.js} +1 -1
- package/dist/cdn/{454VHWQQ.js → NTHSQXKG.js} +1 -1
- package/dist/cdn/{5VXEMMLV.js → NTT5IV4A.js} +1 -1
- package/dist/cdn/{7QA26M4F.js → NZQLQGTQ.js} +1 -1
- package/dist/cdn/{UJLIKFS6.js → O46PVNMT.js} +1 -1
- package/dist/cdn/{AWB7XOHF.js → O5HQ5YZK.js} +1 -1
- package/dist/cdn/{FFVPO4JB.js → OJJSIN3V.js} +1 -1
- package/dist/cdn/{U7WRQCRV.js → OLY5EME5.js} +1 -1
- package/dist/cdn/{D6GJRZJV.js → ONYCZO7Y.js} +1 -1
- package/dist/cdn/{TIUFHDP2.js → OQ6SYZBT.js} +1 -1
- package/dist/cdn/{4EHW2LXW.js → ORVSAF3Z.js} +1 -1
- package/dist/cdn/{AVLV4PPI.js → OZF64H7N.js} +1 -1
- package/dist/cdn/P3565WG3.js +2 -0
- package/dist/cdn/{5EBCPTE5.js → P65FMRMP.js} +1 -1
- package/dist/cdn/{AB74IWXX.js → PCXDOSKQ.js} +1 -1
- package/dist/cdn/PFMWLSWQ.js +2 -0
- package/dist/cdn/{B7D5ZTB2.js → PFSIUSDJ.js} +1 -1
- package/dist/cdn/{XX6G24PV.js → PKYYNRBS.js} +1 -1
- package/dist/cdn/{7IGSTLKW.js → PQ7NUE5C.js} +2 -2
- package/dist/cdn/{M2HYKS62.js → PRUHLC54.js} +1 -1
- package/dist/cdn/{RSNXBYXL.js → PXDX3LCI.js} +1 -1
- package/dist/cdn/PYBUTNHM.js +2 -0
- package/dist/cdn/Q6RSVQNE.js +2 -0
- package/dist/cdn/{GIBXI44G.js → Q7GF26CL.js} +1 -1
- package/dist/cdn/{QPHKPPYM.js → QAOT2TJ6.js} +1 -1
- package/dist/cdn/{MRCZ6R25.js → QET5SVDO.js} +1 -1
- package/dist/cdn/{KIFEVB5D.js → QUPDTNAC.js} +1 -1
- package/dist/cdn/{OISNNHIG.js → QVJ2FUNW.js} +1 -1
- package/dist/cdn/{NR2RFSZB.js → QZVF23GH.js} +1 -1
- package/dist/cdn/{XOOSPWUF.js → RBRDUDEY.js} +1 -1
- package/dist/cdn/{7465ANAR.js → REB4CHAK.js} +1 -1
- package/dist/cdn/{F2QSG3HU.js → RINX3CTL.js} +1 -1
- package/dist/cdn/{YNMIPIKK.js → S4L4V6FJ.js} +1 -1
- package/dist/cdn/{4JL3FLRV.js → SAQ5BNZJ.js} +1 -1
- package/dist/cdn/{SBYVR52H.js → SI2DEXWH.js} +1 -1
- package/dist/cdn/{UQLRFL2S.js → SIT5NBLS.js} +1 -1
- package/dist/cdn/{GCTF7CS7.js → SJGQALDG.js} +1 -1
- package/dist/cdn/{XYQWC4QA.js → SJGWHUCR.js} +1 -1
- package/dist/cdn/{QE7SN2DZ.js → SKAZPI3A.js} +1 -1
- package/dist/cdn/{ZNAOFUAU.js → SU2SAOBL.js} +1 -1
- package/dist/cdn/{CBAI4VLY.js → SXW4GFL3.js} +1 -1
- package/dist/cdn/{IU5QHF6T.js → T3MDSQ3T.js} +1 -1
- package/dist/cdn/T4Z2B3T7.js +2 -0
- package/dist/cdn/{WTRZ6OZV.js → TDYIVFVF.js} +1 -1
- package/dist/cdn/{YECZWYQZ.js → TKD5T5DW.js} +1 -1
- package/dist/cdn/TM4FFRX5.js +2 -0
- package/dist/cdn/{RQT2PVDJ.js → U77WHUC6.js} +1 -1
- package/dist/cdn/{PVAKLYII.js → UE6EBLH3.js} +1 -1
- package/dist/cdn/{UJYW2LBF.js → UFDB6U6V.js} +1 -1
- package/dist/cdn/{2CV4EHYO.js → UFK7DHVC.js} +1 -1
- package/dist/cdn/{SQXGDXHV.js → UHDJ2SI5.js} +1 -1
- package/dist/cdn/{3POODM7N.js → UI4IEVSV.js} +1 -1
- package/dist/cdn/{QCYQNVPL.js → UKIVMO7H.js} +1 -1
- package/dist/cdn/{RVJKTOGT.js → UR3Z5YHW.js} +1 -1
- package/dist/cdn/{DAZLYCHV.js → UVAUYBWF.js} +1 -1
- package/dist/cdn/{VIMOA3H7.js → UVPQKV5P.js} +1 -1
- package/dist/cdn/{3ND2HQVC.js → UYAOMCP7.js} +1 -1
- package/dist/cdn/UYDXI4AK.js +4 -0
- package/dist/cdn/{T2ONRGQX.js → V4AT7ENI.js} +1 -1
- package/dist/cdn/{5UF6YKFN.js → V4JCZIP5.js} +1 -1
- package/dist/cdn/{H22SGLVH.js → V7DMA5ZO.js} +1 -1
- package/dist/cdn/{AFYLXNX3.js → VEV3AAVP.js} +1 -1
- package/dist/cdn/{6IF5KBOJ.js → VHZM25YV.js} +1 -1
- package/dist/cdn/{5T4TPTPA.js → VKO3CVBS.js} +1 -1
- package/dist/cdn/{FUJYJKDU.js → VLHURRRU.js} +1 -1
- package/dist/cdn/{HKB7SRFI.js → VM5QVCMC.js} +1 -1
- package/dist/cdn/{JVC5XNYJ.js → VPDDFGYQ.js} +1 -1
- package/dist/cdn/{3TGVVG6M.js → VWUH2VUY.js} +1 -1
- package/dist/cdn/{3VB6M2GX.js → VWW5GBIK.js} +1 -1
- package/dist/cdn/{3SZ3FE66.js → W4GNRGIN.js} +1 -1
- package/dist/cdn/{ERULVBEV.js → WG5PHRPT.js} +1 -1
- package/dist/cdn/{KWPVYPJ5.js → WKI4XW7G.js} +1 -1
- package/dist/cdn/{BKSKZ6W6.js → WUWF6ZDM.js} +1 -1
- package/dist/cdn/{CYH72IDQ.js → WVKMYNN7.js} +1 -1
- package/dist/cdn/{64TOY3PA.js → WW7YOPDY.js} +1 -1
- package/dist/cdn/{TTDOASDI.js → XLB473BN.js} +1 -1
- package/dist/cdn/XLZB6JMZ.js +2 -0
- package/dist/cdn/{CUFP5Q3Z.js → XO7X6L4B.js} +1 -1
- package/dist/cdn/{JPFLHUNR.js → XPBFBRSY.js} +1 -1
- package/dist/cdn/{MWFZNICV.js → XTCYIS4Z.js} +1 -1
- package/dist/cdn/{BT755NSP.js → XYAJT7LP.js} +1 -1
- package/dist/cdn/{NHGQ7T4H.js → Y3E2FJPQ.js} +1 -1
- package/dist/cdn/Y4C7JJCJ.js +2 -0
- package/dist/cdn/{VLGRGILZ.js → Y6NC7ML3.js} +1 -1
- package/dist/cdn/{4NW2V4RQ.js → Y7IM3OFU.js} +1 -1
- package/dist/cdn/{FTFHL3EA.js → Y7XSHXVA.js} +1 -1
- package/dist/cdn/YAWLVMV6.js +2 -0
- package/dist/cdn/{SNGKRGPF.js → YBJ6ZAPO.js} +1 -1
- package/dist/cdn/{ZMXN6PZS.js → YBSEIOQX.js} +1 -1
- package/dist/cdn/{2C4EHM32.js → YBXCTOS7.js} +1 -1
- package/dist/cdn/{BPNUA7MC.js → YC7VLNKI.js} +1 -1
- package/dist/cdn/{FUSAMFLS.js → YDILFOHE.js} +1 -1
- package/dist/cdn/{7CHCF6IX.js → YEKQVWF5.js} +1 -1
- package/dist/cdn/{H6KJMGY6.js → YJROHURO.js} +1 -1
- package/dist/cdn/{LOF4XAJZ.js → YYCTSS52.js} +1 -1
- package/dist/cdn/{CG7BTPM3.js → Z42MH42I.js} +1 -1
- package/dist/cdn/{ID3UU7QE.js → Z6NHKWWS.js} +1 -1
- package/dist/cdn/{4XEZYOW7.js → ZC5YVHZ3.js} +1 -1
- package/dist/cdn/{SNEMD7IN.js → ZE4UHSTB.js} +1 -1
- package/dist/cdn/{HS2TQPAG.js → ZH3MW6H3.js} +1 -1
- package/dist/cdn/{BSTT6ICQ.js → ZJPYW3TN.js} +1 -1
- package/dist/cdn/{L726CUBZ.js → ZKKZQVJT.js} +1 -1
- package/dist/cdn/{4IQJMQQZ.js → ZNV3M5P2.js} +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/components/arcgis-basemap-layer-list-next/customElement.js +88 -86
- package/dist/components/arcgis-daylight/customElement.js +2 -1
- package/dist/components/arcgis-elevation-profile/customElement.js +14 -20
- package/dist/components/arcgis-features-next/customElement.d.ts +2 -2
- package/dist/components/arcgis-features-next/customElement.js +27 -20
- package/dist/components/arcgis-floor-filter/customElement.d.ts +3 -0
- package/dist/components/arcgis-floor-filter/customElement.js +3 -3
- package/dist/components/arcgis-floor-filter/interfaces.d.ts +72 -0
- package/dist/components/arcgis-layer-list-item-indicator/customElement.js +2 -2
- package/dist/components/arcgis-layer-list-item-panel/customElement.js +9 -9
- package/dist/components/arcgis-layer-list-next/customElement.js +97 -95
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +5 -5
- package/dist/components/arcgis-sketch/customElement.d.ts +308 -30
- package/dist/components/arcgis-sketch/customElement.js +423 -206
- package/dist/components/arcgis-sketch/toolbar-sizing-controller.d.ts +96 -0
- package/dist/components/arcgis-table-list-next/customElement.js +55 -54
- package/dist/components/arcgis-time-bar-slider/customElement.d.ts +8 -0
- package/dist/components/arcgis-time-bar-slider/customElement.js +35 -35
- package/dist/components/arcgis-time-slider/customElement.d.ts +2 -2
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/vscode.html-custom-data.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/index.d.ts +6 -0
- package/dist/loader.js +2 -2
- package/dist/types/lumina.d.ts +4 -2
- package/dist/types/preact.d.ts +4 -2
- package/dist/types/react.d.ts +4 -2
- package/dist/types/stencil.d.ts +4 -2
- package/package.json +7 -7
- package/dist/cdn/3SX4JMXA.js +0 -2
- package/dist/cdn/4CLSMFD2.js +0 -2
- package/dist/cdn/6XODSQWR.js +0 -2
- package/dist/cdn/7FA44B44.js +0 -2
- package/dist/cdn/ATLQSGEK.js +0 -2
- package/dist/cdn/ELAKAKPE.js +0 -2
- package/dist/cdn/EVJFKABL.js +0 -4
- package/dist/cdn/EWM5PERI.js +0 -2
- package/dist/cdn/GBJY4A36.js +0 -2
- package/dist/cdn/HWRPCOVE.js +0 -2
- package/dist/cdn/I3FQUA77.js +0 -2
- package/dist/cdn/M4M3QTI4.js +0 -2
- package/dist/cdn/M6CSJLXC.js +0 -2
- package/dist/cdn/O7ZXS622.js +0 -2
- package/dist/cdn/R5DBF7SZ.js +0 -2
- package/dist/cdn/SIXKHDVJ.js +0 -2
- package/dist/cdn/TFXSKVB7.js +0 -2
- package/dist/cdn/TWPVYHJG.js +0 -2
- package/dist/cdn/VBSWB2VR.js +0 -2
- package/dist/cdn/W472ZYUY.js +0 -2
- package/dist/cdn/YSE67FR2.js +0 -2
- package/dist/cdn/ZIQRARXE.js +0 -2
- /package/dist/cdn/{PBXO27K2.js → 2P5AJORF.js} +0 -0
- /package/dist/cdn/{GGUWUNUA.js → 4LWSF6AI.js} +0 -0
- /package/dist/cdn/{VCJ6M3PX.js → 5GGAWGSN.js} +0 -0
- /package/dist/cdn/{FIYZBOAN.js → 5GTPIPN7.js} +0 -0
- /package/dist/cdn/{BP7H6IBX.js → 62HMPABL.js} +0 -0
- /package/dist/cdn/{KZUUBMYO.js → 6SL7YNKF.js} +0 -0
- /package/dist/cdn/{7SDUVBEL.js → 7YT5W57B.js} +0 -0
- /package/dist/cdn/{X5RVRRKO.js → AKTIOEYM.js} +0 -0
- /package/dist/cdn/{LFSVKJXI.js → AYQJ2LTV.js} +0 -0
- /package/dist/cdn/{S5MD2X3H.js → CHMBPPHS.js} +0 -0
- /package/dist/cdn/{Z66I2FAE.js → DLUFAV4S.js} +0 -0
- /package/dist/cdn/{VWHNYGBM.js → DPEWQQEB.js} +0 -0
- /package/dist/cdn/{PSD74QRS.js → ECA47Z37.js} +0 -0
- /package/dist/cdn/{ZUYPKJYL.js → FJMXBIN5.js} +0 -0
- /package/dist/cdn/{DRD2FAEC.js → G4IKO2R6.js} +0 -0
- /package/dist/cdn/{GE4QV5JC.js → GCPR7XFU.js} +0 -0
- /package/dist/cdn/{DQDUD556.js → IAYL44LK.js} +0 -0
- /package/dist/cdn/{CEVISDMV.js → IRFIHD5X.js} +0 -0
- /package/dist/cdn/{DQRQZK5Y.js → KOMTNQPT.js} +0 -0
- /package/dist/cdn/{MPIIQAQO.js → LS4U4GD5.js} +0 -0
- /package/dist/cdn/{6LUCQLB7.js → LVIYMA67.js} +0 -0
- /package/dist/cdn/{WQIIAMYV.js → MEISDI2H.js} +0 -0
- /package/dist/cdn/{V3HQQ6TJ.js → N2YWWQOS.js} +0 -0
- /package/dist/cdn/{ENHMLZOY.js → NVKOZL7X.js} +0 -0
- /package/dist/cdn/{SIIF27TS.js → NVN2CATF.js} +0 -0
- /package/dist/cdn/{JAH2AKJ5.js → OFBWNR54.js} +0 -0
- /package/dist/cdn/{AKAOYYJ7.js → OLSESBZ7.js} +0 -0
- /package/dist/cdn/{SFMD5PPC.js → PWZHB6VD.js} +0 -0
- /package/dist/cdn/{UN65FKRA.js → QWMDZDQA.js} +0 -0
- /package/dist/cdn/{23L5GSFN.js → RTDY3HLR.js} +0 -0
- /package/dist/cdn/{MGE3J5KE.js → SFDCS6A2.js} +0 -0
- /package/dist/cdn/{ONSMVZAM.js → SLNXNVPI.js} +0 -0
- /package/dist/cdn/{DWQQDLIU.js → SLQPDAGN.js} +0 -0
- /package/dist/cdn/{EGD2CSA7.js → T34W3GKP.js} +0 -0
- /package/dist/cdn/{PST64E7E.js → TP2KQRW6.js} +0 -0
- /package/dist/cdn/{33LESQ6T.js → UDXDE3LW.js} +0 -0
- /package/dist/cdn/{ZQL4CTJK.js → XCSF7KJK.js} +0 -0
- /package/dist/cdn/{V7OBQRSG.js → XGWYQ7FU.js} +0 -0
- /package/dist/cdn/{P3ZJLVKC.js → XQ2WXTW7.js} +0 -0
- /package/dist/cdn/{TT57O767.js → ZCL4XHIZ.js} +0 -0
- /package/dist/cdn/{T5XVILYA.js → ZHYXFOYU.js} +0 -0
- /package/dist/cdn/{ZO5WNVFD.js → ZNIMZP5R.js} +0 -0
- /package/dist/cdn/{ITRBNYSS.js → ZSKO7HLH.js} +0 -0
package/dist/cdn/M4M3QTI4.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
-
import{a as w}from"./Y6WTYXVP.js";import{a as P}from"./FH3WFF5O.js";import h from"./3ND2HQVC.js";import{d as _,k as y}from"./FXUZU52U.js";import f from"./F4AJCUZ6.js";import{a as B}from"./WJQUE4DR.js";import e from"./OISNNHIG.js";import{a as $}from"./7465ANAR.js";import{a as u}from"./L5IRXOCJ.js";import c from"./KRJCOTGC.js";import b from"./U7WRQCRV.js";import{h as D}from"./GIBXI44G.js";import"./RQT2PVDJ.js";import a from"./SBYVR52H.js";import"./LXME6MU5.js";import{Q as U,R as k,T as v,X as g,_ as M,a as C,b as d,x as S}from"./7IGSTLKW.js";import"./TAVTDQ6S.js";export default $arcgis.t(([{createChart:F},{signal:L},{ignoreAbortErrors:b},{watch:m},A,{property:a,subclass:R},,,,z,{b:O,d:f},E])=>{var I=C`.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}.esri-widget{box-sizing:border-box;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget *,.esri-widget :before,.esri-widget :after{box-sizing:inherit}.esri-widget.esri-widget--disabled>*{opacity:.4;pointer-events:none}.esri-widget.esri-widget--compact{--esri-widget-padding-y: 0;--esri-widget-padding-x: 0}.esri-widget__anchor{color:var(--calcite-color-text-2)}.esri-widget__anchor:hover{color:var(--calcite-color-text-3)}.esri-widget__anchor:hover,.esri-widget__anchor:focus{text-decoration:underline}.esri-widget__anchor--disabled{opacity:.4;pointer-events:none}.esri-widget__header{background-color:var(--calcite-color-foreground-1);flex:1 0 100%;justify-content:space-between;align-items:center;width:100%;min-height:48px;padding:12px 0 12px 15px;display:flex}.esri-widget__heading{word-break:break-word}.esri-widget__header .esri-widget__heading{width:calc(100% - 48px);text-align:initial;color:var(--calcite-color-text-1);align-items:center;margin:0;padding:0;display:flex}.esri-widget__header-button{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);border:none;flex:0 0 48px;justify-content:center;align-self:stretch;align-items:center;width:48px;padding:0;display:flex}.esri-widget__footer{background-color:var(--calcite-color-foreground-1);justify-content:center;align-items:center;width:100%;min-height:48px;display:flex}.esri-widget__footer-pagination{color:var(--calcite-color-text-2);justify-content:space-between;align-items:center;display:flex}.esri-widget__footer-pagination-previous-button,.esri-widget__footer-pagination-next-button{cursor:pointer;background-color:var(--calcite-color-foreground-1);border:0;margin:0 7px;padding:12px 15px;transition:background-color .125s ease-in-out}.esri-widget__footer-pagination-previous-button:hover,.esri-widget__footer-pagination-previous-button:focus,.esri-widget__footer-pagination-next-button:hover,.esri-widget__footer-pagination-next-button:focus{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1)}.esri-menu{visibility:hidden;z-index:1;background-clip:padding;background-color:var(--calcite-color-foreground-1);background-clip:padding-box;width:100%;max-height:0;margin:2px 0 0;padding:0;font-size:var(--calcite-font-size);line-height:var(--calcite-spacing-xl);position:absolute;top:100%;left:0;overflow:hidden;box-shadow:0 1px 2px #0000004d}.esri-menu .esri-menu__header{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-inverse);padding:6px 12px}.esri-menu__list{margin:0;padding:0;list-style:none}.esri-menu__list-item{cursor:pointer;border-top:1px solid #adadad4d;border-left:3px solid #0000;padding:.8em 1em}.esri-menu__list-item [class^=esri-icon-],.esri-menu__list-item [class*=" esri-icon-"]{padding-right:2.8px}.esri-menu__list-item:first-child{border-top:none}.esri-menu__list-item--focus,.esri-menu__list-item:hover,.esri-menu__list-item:focus{background-color:var(--calcite-color-foreground-1)}.esri-menu__list-item:active{background-color:var(--calcite-color-foreground-current)}.esri-menu__list-item--active,.esri-menu__list-item--active:hover,.esri-menu__list-item--active:focus{background-color:var(--calcite-color-foreground-1);border-left-color:var(--calcite-color-brand)}.esri-widget__table{border-collapse:collapse;color:var(--calcite-color-text-1);border:none;width:100%;line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget__table tr:nth-child(odd){background-color:var(--calcite-color-transparent)}.esri-widget__table tr:nth-child(2n){background-color:var(--calcite-color-transparent-press)}.esri-widget__table tr a{color:var(--calcite-color-text-2)}.esri-widget__table tr a:hover,.esri-widget__table tr a:focus{color:var(--calcite-color-text-1)}.esri-widget__table tr td,.esri-widget__table tr th{vertical-align:top;word-break:break-word;padding:.5em .7em;font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular)}.esri-widget__table tr th{text-align:left;border-right:3px solid #0000000d;width:50%}.esri-widget__table tr td{width:50%}.esri-input{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1);border:1px solid #959595;font-size:var(--calcite-font-size)}.esri-input::-ms-clear{display:none}.esri-input::placeholder{opacity:1;color:var(--calcite-color-text-2)}.esri-input:placeholder-shown{text-overflow:ellipsis}.esri-input[type=text],.esri-input[type=password],.esri-input[type=number]{height:32px;padding:0 .5em}calcite-combobox.esri-input{border:none}.esri-widget__content--empty{text-align:center;color:var(--calcite-color-border-input);flex-flow:column wrap;align-items:center;padding:18px 22px;display:flex}.esri-widget__content--empty h1.esri-widget__heading,.esri-widget__content--empty h2.esri-widget__heading,.esri-widget__content--empty h3.esri-widget__heading,.esri-widget__content--empty h4.esri-widget__heading,.esri-widget__content--empty h5.esri-widget__heading{font-weight:var(--calcite-font-weight-regular)}.esri-widget__content-illustration--empty{width:128px;padding:1rem 0}.esri-widget__content-icon--empty{width:32px;padding:.5rem 0}.esri-select{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background:var(--calcite-color-foreground-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -8 32 32' width='32' height='32'%3E%3Cpath d='M8 11.207l-4-4V5.793l4 4 4-4v1.414z' fill='%23adadad' fillrule='nonzero'/%3E%3C/svg%3E") 100% no-repeat;border:1px solid #959595;border-radius:0;width:100%;height:32px;margin:0;padding:0 .5em;font-family:inherit;font-size:.85em;display:block}.esri-select[disabled]{cursor:auto}.esri-select::-ms-expand{display:none}.esri-disabled a,.esri-disabled [role=menu],.esri-disabled [role=checkbox],.esri-disabled [class^=esri-icon-],.esri-disabled [class*=" esri-icon-"]{color:var(--calcite-color-text-3)}.keynav-mode .esri-widget:focus,.keynav-mode .esri-widget :focus{z-index:1;outline-offset:2px;outline:2px solid #adadad}.esri-widget__loader-animation{border:.15em solid #adadad4d;border-top-color:var(--calcite-color-border-input);border-radius:100%;width:1em;height:1em;font-size:var(--calcite-font-size-md);animation:1.25s linear infinite esri-rotate;display:block;transform:translateZ(0)}:dir(rtl) .esri-widget__table th{text-align:right;border-left:3px solid #0000000d;border-right:none}:dir(rtl) .esri-select{background-position:0}:dir(rtl) .esri-menu__list-item{border-left:none;border-right:3px solid #0000}:dir(rtl) .esri-menu__list-item [class^=esri-icon-],:dir(rtl) .esri-menu__list-item [class*=" esri-icon-"]{padding-left:2px;padding-right:0}:dir(rtl) .esri-menu__list-item--active{border-right-color:var(--calcite-color-brand)}.esri-icon-font-fallback-text{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.esri-rotating{animation:1.25s linear infinite esri-rotate;transform:translateZ(0)}.esri-clearfix:before,.esri-clearfix:after{content:" ";display:table}.esri-clearfix:after{clear:both}.esri-interactive{cursor:pointer}.esri-hidden{display:none!important}.esri-invisible{visibility:hidden!important}.esri-offscreen{position:absolute;top:-999em;left:-999em}.esri-match-height{flex-direction:column;flex:auto;display:flex;overflow:hidden}.esri-widget--panel{min-width:300px;min-height:32px;padding:var(--arcgis-internal-padding);transition:max-height .25s ease-in-out;overflow-y:auto}:host{--internal-chart-height: 180px;--internal-gap: var(--calcite-spacing-sm-plus);width:550px;isolation:isolate;position:relative;container-type:inline-size}.root{display:flex;flex-direction:column;width:100%;min-width:0;gap:var(--internal-gap)}.header{display:flex;flex-direction:row;align-items:center;justify-content:flex-end;margin-bottom:calc(var(--internal-gap) * -1)}.actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:var(--calcite-spacing-xs)}.action-button{width:auto;min-height:32px}.main-container{display:flex;position:relative;flex-flow:column;width:100%;height:var(--internal-chart-height)}.chart-container{position:relative;width:100%;height:100%}.prompt-container{box-sizing:border-box;display:grid;place-content:center;padding-inline:var(--calcite-spacing-md);height:100%;text-align:center}.prompt-message{margin:0;width:100%}.spinner{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transition:opacity .15s ease-in-out;transition-delay:0;opacity:0;&.visible{transition-delay:50ms;opacity:1}&.small{inset-inline-start:0;inset-block-start:-24px;left:unset;transform:none;color:var(--calcite-color-brand)}}@container (max-width: 400px){.esri-widget--panel{height:auto}.actions{flex-direction:column}.action-button{align-self:stretch}}`;async function T(t,e,i){let n=await H(t,e);return O(i),Z(n)?n.highlight(e):P()}async function H(t,e){let i=e?.layer;if(!(!i||i.type==="subtype-sublayer"||i.type==="sublayer"||i.type==="building-component"))return await t.whenLayerView(i)}function Z(t){return t!=null&&"highlight"in t&&typeof t.highlight=="function"}function j({geometry:t}){return t?.type==="polyline"&&t.paths.length>0&&t.paths.every(e=>e.length>=2)}function G({geometry:t}){return t?.type==="polyline"&&t.paths.reduce((e,i)=>e+i.length,0)>0}function q(t){return t?.samples?.some(e=>e.z!=null)??!1}function J(t){return t?.type==="polyline"}var K=Object.defineProperty,N=Object.getOwnPropertyDescriptor,o=(t,e,i,n)=>{for(var r=n>1?void 0:n?N(e,i):e,l=t.length-1,c;l>=0;l--)(c=t[l])&&(r=(n?c(e,i,r):c(r))||r);return n&&r&&K(e,i,r),r},s=class extends E{constructor(){super(...arguments),this._resettingUnits=!1,this.highlightDisabled=!1,this.uniformChartScaling=!1,this.shouldForceInteractive=!1,this.supportedViewType="both",this.unsupportedErrorMessage=""}get _hasSamples(){let{progress:t}=this;return!!this.analysisView?.results?.some(e=>e.available&&(t<1||q(e)))}get doneButtonAvailable(){if(this.featureIsSelected)return!1;let{geometry:t}=this.analysis;return J(t)&&t.paths.length>0&&t.paths[0].length>2}get effectiveDisplayUnits(){return this.analysisView?.effectiveDisplayUnits}get errorState(){if(!j(this.analysis))return"no-valid-input";let t=this.analysisView?.error;if(t)switch(t.name){case"too-complex":return"too-complex";case"elevation-query-error":return"no-valid-input";default:return"unknown"}return this._hasSamples?"none":"no-available-profiles"}get feature(){return this._selectedFeature}set feature(t){t?t!==this.feature&&(this.analysis.setGeometryFromFeature(t),this._selectedFeature=t):this._selectedFeature=void 0}get featureIsSelected(){return this.feature!=null}get hasVertices(){return G(this.analysis)}get indicatorRelativePosition(){return this.analysisView?.indicatorRelativePosition??void 0}get geometry(){return this.analysis.geometry}set geometry(t){this.analysis.geometry=t}get elevationInfo(){return this.analysis.elevationInfo}set elevationInfo(t){this.analysis.elevationInfo=t}get profiles(){return this.analysis.profiles}set profiles(t){this.analysis.profiles=t}get progress(){return this.analysisView?.progress??0}get results(){return this.analysisView?.results??[]}get selectButtonAvailable(){for(let t of this.view?.map?.allLayers.toArray()??[])if(t.type==="graphics"&&!("internal"in t&&t.internal)&&t.graphics.some(e=>e.geometry?.type==="polyline")||"geometryType"in t&&t.geometryType==="polyline")return!0;return!!this.view?.graphics?.some(t=>t.geometry?.type==="polyline")}get state(){return this.disabled||!this.ready?"disabled":this._selectingPromise?"selecting":this.operationState==="active"?"creating":this.analysis.valid?this.featureIsSelected?"selected":"created":"ready"}get distanceUnit(){return y({userUnit:this._userDistanceUnit,analysisUnit:this.analysis.displayUnits?.distance,options:this.distanceUnitOptions,defaultUnit:this.defaultMeasurementSystem,viewUnit:this.view?.options.displayUnits.length})}set distanceUnit(t){this._userDistanceUnit=t}get distanceUnitOptions(){return V(this._userDistanceUnitOptions)}set distanceUnitOptions(t){this._userDistanceUnitOptions=t}get elevationUnit(){return y({userUnit:this._userElevationUnit,analysisUnit:this.analysis.displayUnits?.elevation,options:this.elevationUnitOptions,defaultUnit:this.defaultMeasurementSystem,viewUnit:this.view?.options.displayUnits.verticalLength})}set elevationUnit(t){this._userElevationUnit=t}get elevationUnitOptions(){return V(this._userElevationUnitOptions)}set elevationUnitOptions(t){this._userElevationUnitOptions=t}get canResetDistanceUnit(){return this._userDistanceUnit!=null||this.analysis.displayUnits.distance!=null}get canResetElevationUnit(){return this._userElevationUnit!=null||this.analysis.displayUnits.elevation!=null}resetUnit(t){this._resettingUnits=!0;try{t==="distance"?this._userDistanceUnit=void 0:this._userElevationUnit=void 0,this.analysis.displayUnits[t]=null}finally{this._resettingUnits=!1}}initialize(){this.addHandles([m(()=>({analysis:this.analysis,unitDistance:this._userDistanceUnit,unitElevation:this._userElevationUnit}),({analysis:t,unitDistance:e,unitElevation:i})=>{this._resettingUnits||(i&&(t.displayUnits.elevation=i),e&&(t.displayUnits.distance=e))},{sync:!0,initial:!0}),m(()=>({selectedFeature:this.feature,profiles:this.analysis.profiles.toArray()}),({selectedFeature:t,profiles:e},i)=>{this._highlightSelectedFeature(this.highlightDisabled?void 0:t),this.analysis.viewOptions.geometryVisualizationVisible=!this.highlightDisabled&&t==null;let n=i?.selectedFeature;e.forEach(r=>{switch(r.type){case"scene":this._excludeSelectedFeatureFromProfile(r,t,n);break;case"input":r.chartOptions.lineVisible=t!=null,r.viewOptions.lineVisible=t!=null;break}})},{initial:!0})])}destroy(){this._removeSelectionHighlight()}async select(){if(this.interactionDisabled)return;let t=this.analysisView;if(!t)return;this.clear();let e=super.start({operation:async i=>{let n=await t.pickFeature(i);i?.signal?.aborted||(t.interactive=!1,this.feature=n.feature)},clear:!1});this._selectingPromise=e;try{await b(e)}finally{this._selectingPromise===e&&(this._selectingPromise=void 0)}}async place(t){await this.analysisView?.place(t)}clearAnalysis(){this.geometry=null,this.elevationInfo=null,this.feature=void 0}constructAnalysis(){return new A}_highlightSelectedFeature(t){this._removeSelectionHighlight();let e=this.view;!e||!t||(this._selectionHighlightTask=f(async i=>await T(e,t,{signal:i})))}_removeSelectionHighlight(){this._selectionHighlightTask?.value?.remove(),this._selectionHighlightTask=B(this._selectionHighlightTask)}_excludeSelectedFeatureFromProfile(t,e,i){let n=new Set(t.exclude??[]);i&&n.delete(i),e&&n.add(e),t.exclude=Array.from(n)}};o([a()],s.prototype,"_userDistanceUnit",2);o([a()],s.prototype,"_userDistanceUnitOptions",2);o([a()],s.prototype,"_userElevationUnit",2);o([a()],s.prototype,"_userElevationUnitOptions",2);o([a()],s.prototype,"_selectingPromise",2);o([a()],s.prototype,"_selectedFeature",2);o([a()],s.prototype,"_selectionHighlightTask",2);o([a()],s.prototype,"_hasSamples",1);o([a()],s.prototype,"doneButtonAvailable",1);o([a({readOnly:!0})],s.prototype,"effectiveDisplayUnits",1);o([a({readOnly:!0})],s.prototype,"errorState",1);o([a()],s.prototype,"feature",1);o([a()],s.prototype,"featureIsSelected",1);o([a({readOnly:!0})],s.prototype,"hasVertices",1);o([a()],s.prototype,"highlightDisabled",2);o([a()],s.prototype,"indicatorRelativePosition",1);o([a()],s.prototype,"geometry",1);o([a()],s.prototype,"elevationInfo",1);o([a()],s.prototype,"profiles",1);o([a({readOnly:!0})],s.prototype,"progress",1);o([a({readOnly:!0})],s.prototype,"results",1);o([a({readOnly:!0})],s.prototype,"selectButtonAvailable",1);o([a({readOnly:!0})],s.prototype,"state",1);o([a()],s.prototype,"uniformChartScaling",2);o([a()],s.prototype,"distanceUnit",1);o([a()],s.prototype,"distanceUnitOptions",1);o([a()],s.prototype,"elevationUnit",1);o([a()],s.prototype,"elevationUnitOptions",1);o([a({readOnly:!0})],s.prototype,"canResetDistanceUnit",1);o([a({readOnly:!0})],s.prototype,"canResetElevationUnit",1);s=o([R("components.elevation-profile.ElevationProfileViewModel")],s);function V(t){let e=t?.filter(i=>_.includes(i));return e&&e.length>0?e:_.slice()}var W=z(s),x=class extends k{constructor(){super(...arguments),this.viewModel=W(this),this._chartInitializationTask=L(void 0),this._messages=$(),this._hideZoomOutButton=!0,this._hasSettingsStartContent=!1,this._hasSettingsEndContent=!1,this.analysis=this.viewModel.analysis,this.view=this.viewModel.view,this.autoDestroyDisabled=!1,this.effectiveDisplayUnits=this.viewModel.effectiveDisplayUnits,this.feature=this.viewModel.feature,this.hideChart=!1,this.hideChartGridLines=!1,this.hideChartAxisLabels=!1,this.hideClearButton=!1,this.hideLegend=!1,this.hideSelectButton=!1,this.hideSettingsButton=!1,this.hideResetUnitsButton=!1,this.hideStartButton=!1,this.hideUniformChartScalingToggle=!1,this.hideDistanceDisplayUnitSelect=!1,this.hideElevationDisplayUnitSelect=!1,this.hideVisualization=this.viewModel.hideVisualization,this.highlightDisabled=this.viewModel.highlightDisabled,this.icon="altitude",this.indicatorRelativePosition=this.viewModel.indicatorRelativePosition,this.interactionDisabled=this.viewModel.interactionDisabled,this.geometry=this.viewModel.geometry,this.elevationInfo=this.viewModel.elevationInfo,this.profiles=this.viewModel.profiles,this.progress=this.viewModel.progress,this.state=this.viewModel.state,this.uniformChartScaling=this.viewModel.uniformChartScaling,this.distanceUnit=this.viewModel.distanceUnit,this.distanceUnitOptions=this.viewModel.distanceUnitOptions,this.elevationUnit=this.viewModel.elevationUnit,this.elevationUnitOptions=this.viewModel.elevationUnitOptions,this.arcgisPropertyChange=D()("analysis","effectiveDisplayUnits","elevationInfo","feature","geometry","indicatorRelativePosition","interactionDisabled","progress","state"),this.arcgisReady=S()}static{this.properties={_messages:16,_hideZoomOutButton:16,_chartContainer:16,_hasSettingsStartContent:16,_hasSettingsEndContent:16,analysis:0,view:0,autoDestroyDisabled:5,effectiveDisplayUnits:32,feature:0,hideChart:5,hideChartGridLines:5,hideChartAxisLabels:5,hideClearButton:5,hideLegend:5,hideSelectButton:5,hideSettingsButton:5,hideResetUnitsButton:5,hideStartButton:5,hideUniformChartScalingToggle:5,hideDistanceDisplayUnitSelect:5,hideElevationDisplayUnitSelect:5,hideVisualization:5,highlightDisabled:5,icon:3,indicatorRelativePosition:40,interactionDisabled:5,geometry:0,elevationInfo:0,label:1,messageOverrides:0,referenceElement:1,profiles:0,progress:40,state:32,uniformChartScaling:5,distanceUnit:1,distanceUnitOptions:0,elevationUnit:1,elevationUnitOptions:0}}static{this.styles=I}get _selectButtonVisible(){return!this.hideSelectButton&&this.viewModel.selectButtonAvailable}get _chart(){return this._chartInitializationTask.value?.value}async clear(){this.viewModel.clear()}async destroy(){await this.manager.destroy()}async select(){b(this.viewModel.select())}async start(){b(this.viewModel.start())}async stop(){this.viewModel.stop()}load(){this.manager.onLifecycle(()=>[m(()=>({container:this._chartContainer,messages:this._messages}),({container:e,messages:i})=>{this._destroyChart(),!(!e||i._loading)&&(this._chartInitializationTask.value=f(async n=>await F({view:this.viewModel.view,analysisView:this.viewModel.analysisView,container:e,messages:i,signal:n,uniformScaling:this.viewModel.uniformChartScaling,onRangeChange:(r,l)=>{this._hideZoomOutButton=r===1&&l===1},onCursorPositionChange:(r,l)=>{let{analysisView:c}=this.viewModel;c&&(c.indicatorRelativePosition=r)}})))},{sync:!0,initial:!0}),m(()=>({chart:this._chart,messages:this._messages,view:this.viewModel.view,analysisView:this.viewModel.analysisView,uniformScaling:this.viewModel.uniformChartScaling,hideGridLines:this.hideChartGridLines,hideLabels:this.hideChartAxisLabels}),({chart:e,messages:i,view:n,analysisView:r,uniformScaling:l})=>{e&&(e.messages=i,e.view=n,e.analysisView=r,e.uniformScaling=l,e.hideGridLines=this.hideChartGridLines,e.hideAxisLabels=this.hideChartAxisLabels)},{sync:!0,initial:!0}),{remove:()=>this._destroyChart()}])}_destroyChart(){let e=this._chart;this._chartInitializationTask.value?.abort(),this._chartInitializationTask.value=void 0,e?.destroy()}_onCancelButtonClick(){this.viewModel.stop(),this.viewModel.clear()}_onDoneButtonClick(){this.viewModel.stop()}_getErrorMessage(){let e=X[this.viewModel.errorState];return e?this._messages?.errors?.[e]:void 0}_onClearButtonClick(){this.viewModel.clear()}_onZoomOutButtonClick(){this._chart?.zoomOut()}_onChartContainerRef(e){this._chartContainer=e}render(){return d`<div aria-label=${this._messages.componentLabel??g} class=${v({root:!0,[u.widget]:!0,[u.widgetDisabled]:this.viewModel.state==="disabled",[u.panel]:!0})} role=presentation>${this._renderContentForState()}</div>`}_renderContentForState(){switch(this.viewModel.state){case"ready":return this._renderContentForReadyState();case"selecting":return this._renderContentForSelectingState();case"creating":return this._renderContentForCreatingState();case"selected":return this._renderContentForSelectedState();case"created":return this._renderContentForCreatedState();case"disabled":return this._renderContentForReadyState()}}_renderContentForReadyState(){let{_messages:e,hideSelectButton:i,hideStartButton:n}=this,{selectButtonAvailable:r}=this.viewModel,l=!i&&r,c;return!n&&l?c=e.readyPrompt:n?l?c=e.readyPromptSelectOnly:c=e.errors?.noProfile:c=e.readyPromptCreateOnly,this._renderContent({prompt:c,chart:!1,actions:p})}_renderContentForSelectingState(){let{view:e}=this.viewModel;if(!e)return;let i=this._messages[`selectingPrompt-${e.type}`];return this._renderContent({prompt:i,chart:!1,actions:[{type:"select-cancel"}]})}_renderContentForCreatingState(){let{viewModel:e}=this,{view:i}=e;if(!i)return;let n=e.hasVertices?[{type:"sketch-cancel"},{type:"sketch-done",disabled:!e.doneButtonAvailable}]:[{type:"select"},{type:"sketch",disabled:!0}];if(e.errorState==="no-valid-input"){let l=this._messages[`creatingPrompt-${i.type}`];return this._renderContent({chart:!1,actions:n,prompt:l})}let r=this._getErrorMessage();return r?this._renderContent({chart:!1,actions:n,prompt:r}):this._renderContent({chart:!0,actions:n})}_renderContentForSelectedState(){let e=this._getErrorMessage();return e?this._renderContent({chart:!1,actions:p,prompt:e}):this._renderContent({chart:!0,actions:p})}_renderContentForCreatedState(){let e=this._getErrorMessage();return e?this._renderContent({chart:!1,actions:p,prompt:e}):this._renderContent({chart:!0,actions:p})}_renderContent(e){let{viewModel:i}=this,n=i.geometry!=null;return d`<header class="header">${h({hidden:this._hideZoomOutButton,children:this._renderZoomOutButton()})}${h({hidden:this.hideClearButton||!n,children:this._renderClearButton()})}${h({hidden:this.hideSettingsButton,children:this._renderSettingsButton()})}</header><div class="main-container">${e.prompt!=null?this._renderPrompt(e.prompt):e.chart?this._renderChart():void 0}</div>${h({hidden:this.hideLegend,children:this._renderLegend()})}${this._renderActions(e)}`}_renderPrompt(e){return[d`<div class="prompt-container"><p class="prompt-message">${e}</p></div>`]}_renderZoomOutButton(){let e=this._messages.zoomOut??"";return d`<calcite-action icon=magnifying-glass-minus @click=${this._onZoomOutButtonClick} .text=${e} title=${e??g}></calcite-action>`}_renderChart(){if(this.hideChart)return;let e=this._chart;return d`${this._renderSpinner({size:e?.chartVisible?"small":"large",visible:e?.spinnerVisible??!1})}<div class="chart-container" ${U(this._onChartContainerRef)}></div>`}_renderSpinner(e){let i=e.size==="small",n=e.visible??!0;return d`<calcite-loader class=${v({spinner:!0,small:i,visible:n})} .inline=${i} label></calcite-loader>`}_renderClearButton(){let e=this._messages.clearProfile??"";return d`<calcite-action icon=trash @click=${this._onClearButtonClick} .text=${e} title=${e??g}></calcite-action>`}_renderLegend(){return d`<arcgis-elevation-profile-legend .effectiveDisplayUnits=${this.viewModel.effectiveDisplayUnits} .featureSelected=${this.viewModel.featureIsSelected} .messages=${this._messages} .profiles=${this.profiles} .results=${this.viewModel.results}></arcgis-elevation-profile-legend>`}_renderSettingsButton(){return d`<arcgis-elevation-profile-settings .hasCustomStartContent=${this._hasSettingsStartContent} .hasCustomEndContent=${this._hasSettingsEndContent} .viewModel=${this.viewModel} .hideUniformChartScalingToggle=${this.hideUniformChartScalingToggle} .hideDistanceDisplayUnitSelect=${this.hideDistanceDisplayUnitSelect} .hideElevationDisplayUnitSelect=${this.hideElevationDisplayUnitSelect} .hideResetUnitsButton=${this.hideResetUnitsButton} .messages=${this._messages} .messageOverrides=${this.messageOverrides} .uniformChartScaling=${this.viewModel.uniformChartScaling} .unitOptionsDistance=${this.viewModel.distanceUnitOptions} .unitOptionsElevation=${this.viewModel.elevationUnitOptions} @arcgisElevationProfileSettingsUniformChartScalingChange=${e=>{this.viewModel.uniformChartScaling=e.detail}}><slot name=settings-start slot=settings-start @slotchange=${e=>{this._hasSettingsStartContent=w(e)}}></slot><slot name=settings-end slot=settings-end @slotchange=${e=>{this._hasSettingsEndContent=w(e)}}></slot></arcgis-elevation-profile-settings>`}_renderActions({actions:e}){let i=this._messages,n=e.map(r=>{switch(r.type){case"sketch":return h({hidden:this.hideStartButton,children:this._renderAction({action:r,label:i.sketchButtonLabel,primary:!0,onClick:()=>{this.start()}})});case"sketch-cancel":return h({hidden:this.hideStartButton,children:this._renderAction({action:r,label:i.cancelButtonLabel,primary:!1,onClick:this._onCancelButtonClick})});case"sketch-done":return h({hidden:this.hideStartButton,children:this._renderAction({action:r,label:i.doneButtonLabel,primary:!0,onClick:this._onDoneButtonClick})});case"select":return h({hidden:!this._selectButtonVisible,children:this._renderAction({action:r,label:i.selectButtonLabel,primary:!1,onClick:()=>{this.select()}})});case"select-cancel":return h({hidden:!this._selectButtonVisible,children:this._renderAction({action:r,label:i.cancelButtonLabel,primary:!1,onClick:this._onCancelButtonClick})});default:return}}).filter(Boolean);return n.length?d`<footer class="actions">${n}</footer>`:void 0}_renderAction({action:e,label:i,onClick:n,primary:r}){return d`<calcite-button .appearance=${r?"solid":"outline-fill"} class="action-button" .disabled=${e.disabled||this.interactionDisabled&&(e.type==="sketch"||e.type==="select")} @click=${n}>${i}</calcite-button>`}};function h(t){return t.hidden?void 0:t.children}var p=[{type:"select"},{type:"sketch"}],X={none:void 0,"no-valid-input":"noProfile","no-available-profiles":"noProfile","too-complex":"tooComplex",unknown:"unknown"};M("arcgis-elevation-profile",x);return x},"applications/Components/analysisUtils","applications/Components/reactiveUtils","core/promiseUtils","core/reactiveUtils","analysis/ElevationProfileAnalysis","core/accessorSupport/decorators",a,b,c,e,f,h)
|
package/dist/cdn/M6CSJLXC.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
-
import t from"./H22SGLVH.js";import"./R5DBF7SZ.js";import{a as Q}from"./4L43F7HU.js";import s from"./DIXSGC2P.js";import r from"./UQLRFL2S.js";import o from"./H6SIAY6D.js";import{a as S,b as U,g as G,h as v,j as H,k as q,m as c,n as $}from"./ZCFWKPXL.js";import{a as N}from"./CYH72IDQ.js";import{a as m}from"./DYUFBVXE.js";import n from"./CESPPRYQ.js";import j from"./HU57LQOA.js";import i from"./F4AJCUZ6.js";import"./WJQUE4DR.js";import h from"./OISNNHIG.js";import{a as O}from"./7465ANAR.js";import{a as L}from"./L5IRXOCJ.js";import{a as k}from"./27HLXBPP.js";import f from"./TWPVYHJG.js";import e from"./KRJCOTGC.js";import b from"./U7WRQCRV.js";import{h as B}from"./GIBXI44G.js";import"./RQT2PVDJ.js";import a from"./SBYVR52H.js";import{a as P}from"./LXME6MU5.js";import{B as M,P as d,Q as g,R,T as p,X as _,Y as w,_ as A,a as C,b as l,x as y}from"./7IGSTLKW.js";import"./TAVTDQ6S.js";export default $arcgis.t(([se,b,{on:ae,watch:re},,,,D,x,,,,,{k:j},,{a:z,b:J,c:K}])=>{var u={...Q,section:"section",editing:"editing",editingForm:"editing-form"},le=C`:host{--arcgis-layer-list-visibility-icon: hidden}.editing-form{display:flex;height:100%;flex:1}.editing{padding-block:var(--calcite-spacing-sm);padding-inline:var(--calcite-spacing-sm)}`,V="nested",oe=".*\\S+.*",W="data-basemap-layer-type",ne=x(se),F=class extends R{constructor(){super(...arguments),this._baseListRef=d(),this._referenceListRef=d(),this._editTitleInputRef=d(),this._layerFlowItemRef=d(),this._panelFlowItemRef=d(),this._rootFlowItemRef=d(),this._editingFlowItemRef=d(),this._lastDragDetail=null,this._selectedDragItemLayerUid=null,this._rootGroupUid=`basemap-${M()}`,this._openedLayersController=null,this._focusRootFlowItem=!1,this._focusPanelFlowItem=!1,this._focusLayerFlowItem=null,this._focusEditingFlowItem=!1,this.messages=O(),this.viewModel=ne(this),this.arcgisClose=k(this),this._canMove=({dragEl:e,fromEl:t,toEl:i},s)=>{let a=s==="pull"?this.listItemCanGiveFunction:this.listItemCanReceiveFunction,o=c(e,this._allItems);if(!o?.sortable)return!1;let r=c(t,this._allItems),n=$(t),h=c(i,this._allItems),f=$(i),I=!!n&&!!f&&n===f,Y={selected:o,from:r,to:h},Z=t.group,ee=i.group,te=r?.layer?.type??"",ie=h?.layer?.type??"",T=new Set(["map-image","catalog","knowledge-graph"]);return Z&&ee&&typeof a=="function"?a(Y):I&&!T.has(te)&&!T.has(ie)&&o.layer?.type!=="sublayer"},this._onTriggerAction=(e,t)=>{this.triggerAction(e,t)},this._onTooltipReferenceChange=(e,t)=>{t?this._tooltipReferenceMap.set(e,t):this._tooltipReferenceMap.delete(e)},this._onTablesOpen=e=>{this.openedLayers.push(e.layer),this._focusLayerFlowItem=e.layer?.uid??null},this._onCatalogOpen=e=>{this.openedLayers.push(e.layer?.parent),this._focusLayerFlowItem=e.layer?.uid??null},this._onPanelOpen=()=>{this._focusPanelFlowItem=!0},this._clearActiveItem=()=>{this._activeItem=null},this._setCurrentActiveItem=e=>{this._activeItem=e},this._setActiveItem=e=>{if(this.visibilityAppearance!=="default")return;let t=Array.from(e.composedPath()).find(i=>i.classList?.contains(u.item));this._activeItem=c(t,this._allItems)??null},this._onSelectedDragItemLayerUidChange=e=>{this._selectedDragItemLayerUid=e},this._toggleEditingTitle=()=>{let e=!this.editingTitle;this.editingTitle=e,e?this._focusEditingFlowItem=!0:this._focusRootFlowItem=!0},this._formSubmit=e=>{e.preventDefault();let t=this._editTitleInputRef.value?.value;t?.trim()&&(this.basemapTitle=t),this._toggleEditingTitle()},this._activeItem=null,this._tooltipReferenceMap=new Map,this._layerListMap=new Map,this.openedLayerLists=new b,this.autoDestroyDisabled=!1,this.baseFilterText="",this.baseItemCreatedFunction=this.viewModel.baseItemCreatedFunction,this.basemapTitle=this.viewModel.basemapTitle,this.closed=!1,this.collapsed=!1,this.dragEnabled=!1,this.editingTitle=!1,this.filterPlaceholder="",this.headingLevel=2,this.hideBaseLayers=!1,this.hideCatalogLayerList=!1,this.hideHeading=!1,this.hideNoFilterResultsNotice=!1,this.hideNoItemsNotice=!1,this.hideReferenceLayers=!1,this.hideStatusIndicators=!1,this.icon="layers",this.layerTablesEnabled=new b(["knowledge-graph"]),this.listModeDisabled=this.viewModel.listModeDisabled,this.minFilterItems=U,this.openedLayers=new b,this.referenceFilterText="",this.referenceItemCreatedFunction=this.viewModel.referenceItemCreatedFunction,this.selectedItems=new b,this.selectionMode="none",this.showCloseButton=!1,this.showCollapseButton=!1,this.showEditTitleButton=!1,this.showErrors=!1,this.showFilter=!1,this.showTemporaryLayerIndicators=!1,this.state=this.viewModel.state,this.view=this.viewModel.view,this.visibilityAppearance="default",this.arcgisBaseFilterChange=y(),this.arcgisOpenedLayersChange=y(),this.arcgisPropertyChange=B()("state"),this.arcgisReady=y(),this.arcgisReferenceFilterChange=y(),this.arcgisTriggerAction=D(()=>this.viewModel,"trigger-action")}static{this.properties={_activeItem:16,_catalogLayerList:16,_tableList:16,_tooltipReferenceMap:16,_layerListMap:16,openedLayerLists:16,_allItems:16,_visibleBaseItems:16,_visibleReferenceItems:16,_openedPanelItems:16,_totalBaseItems:16,_totalReferenceItems:16,_baseFilterEnabled:16,_referenceFilterEnabled:16,_renderedOpenLayerFlowItems:16,autoDestroyDisabled:5,baseFilterPredicate:0,baseFilterText:1,baseItemCreatedFunction:0,baseItems:32,basemapTitle:1,catalogLayerList:32,catalogOptions:0,closed:5,collapsed:7,dragEnabled:5,editingTitle:5,filterPlaceholder:1,headingLevel:9,hideBaseLayers:5,hideCatalogLayerList:5,hideHeading:5,hideNoFilterResultsNotice:5,hideNoItemsNotice:5,hideReferenceLayers:5,hideStatusIndicators:5,icon:1,knowledgeGraphOptions:0,label:1,layerTablesEnabled:0,listItemCanGiveFunction:0,listItemCanReceiveFunction:0,listModeDisabled:5,mapImageOptions:0,messageOverrides:0,minFilterItems:9,openedLayers:32,referenceElement:1,referenceFilterPredicate:0,referenceFilterText:1,referenceItems:32,referenceItemCreatedFunction:0,selectedItems:0,selectionMode:1,showCloseButton:5,showCollapseButton:5,showEditTitleButton:5,showErrors:5,showFilter:5,showTemporaryLayerIndicators:5,state:32,tableList:32,tileOptions:0,view:0,visibilityAppearance:1}}static{this.styles=[K,le,J]}get _allItems(){return this.referenceItems.concat(this.baseItems)}get _visibleBaseItems(){return this.baseItems.filter(e=>!e.hidden&&(this.showErrors||!e.error))}get _visibleReferenceItems(){return this.referenceItems.filter(e=>!e.hidden&&(this.showErrors||!e.error))}get _openedPanelItems(){return this._visibleReferenceItems.concat(this._visibleBaseItems).flatten(e=>e.children).filter(({hidden:e,panel:t})=>!e&&t?.open&&!t.disabled&&t.flowEnabled)}get _totalBaseItems(){return this.viewModel.baseItems.flatten(e=>e.children.filter(t=>t.layer?.type!=="catalog-dynamic-group")).length}get _totalReferenceItems(){return this.viewModel.referenceItems.flatten(e=>e.children.filter(t=>t.layer?.type!=="catalog-dynamic-group")).length}get _baseFilterEnabled(){return this._totalBaseItems>=this.minFilterItems&&this.showFilter}get _referenceFilterEnabled(){return this._totalReferenceItems>=this.minFilterItems&&this.showFilter}get _renderedOpenLayerFlowItems(){return this.openedLayers.toArray().map((e,t)=>this._renderLayerFlowItem(e,t===this.openedLayers.length-1))}get baseItems(){return this.viewModel.baseItems}get catalogLayerList(){return this._catalogLayerList}get referenceItems(){return this.viewModel.referenceItems}get tableList(){return this._tableList}async destroy(){await this.manager.destroy(),this._destroyOpenedLayerLists(),this._tooltipReferenceMap.clear()}loaded(){this.manager.onLifecycle(()=>[ae(()=>this.openedLayers,"change",()=>{this._handleOpenedLayersChange()},{initial:!0}),re(()=>[this.viewModel.referenceItems.toArray(),this.viewModel.baseItems.toArray()],()=>G(this.selectedItems),{initial:!0})])}updated(){v(this._baseListRef.value,this.baseFilterPredicate,this.baseItems),v(this._referenceListRef.value,this.referenceFilterPredicate,this.referenceItems)}triggerAction(e,t){this.viewModel.triggerAction(e,t)}async _createFlowList(e,t){let i=this._layerListMap.get(e);if(i)return i;let s=e.type==="catalog"?await this._createCatalogLayerList(e):await this._createTableList(e);return t.aborted||this._layerListMap.set(e,s),s}async _handleOpenedLayersChange(){let{_layerListMap:e,openedLayers:t,openedLayerLists:i}=this;this._openedLayersController?.abort();let s=new AbortController,{signal:a}=s;this._openedLayersController=s,e.forEach((n,h)=>{t.includes(h)||(n?.destroy?.(),e.delete(h))});let o=await Promise.all(t.map(n=>this._createFlowList(n,a)));if(a.aborted)return;i.removeAll(),i.addMany(o);let r=i.at(-1);r?"catalogLayer"in r?(this._catalogLayerList=r,this._tableList=void 0):(this._catalogLayerList=void 0,this._tableList=r):(this._catalogLayerList=void 0,this._tableList=void 0),this.arcgisOpenedLayersChange.emit()}_destroyOpenedLayerLists(){this.openedLayerLists.destroyAll(),this.openedLayers.removeAll(),this._layerListMap.clear()}async _createCatalogLayerList(e){let{headingLevel:t,catalogOptions:i,filterPlaceholder:s,minFilterItems:a,selectionMode:o,visibilityAppearance:r,layerTablesEnabled:n}=this;return w(l`<arcgis-catalog-layer-list-next .headingLevel=${t} .filterPlaceholder=${i?.filterPlaceholder??s} .listItemCreatedFunction=${i?.listItemCreatedFunction} .minFilterItems=${i?.minFilterItems??a} .selectionMode=${i?.selectionMode??o} .visibilityAppearance=${i?.visibilityAppearance??r} .showErrors=${i?.showErrors??this.showErrors} .showFilter=${i?.showFilter??this.showFilter} .hideStatusIndicators=${i?.hideStatusIndicators??this.hideStatusIndicators} .showTemporaryLayerIndicators=${i?.showTemporaryLayerIndicators??this.showTemporaryLayerIndicators} @arcgisReady=${h=>h.stopPropagation()} .catalogLayer=${e} .layerTablesEnabled=${n} .view=${this.view} .referenceElement=${this.referenceElement} @catalogOpen=${this._onCatalogOpen} @tablesOpen=${this._onTablesOpen}></arcgis-catalog-layer-list-next>`)}_getTableListParams(e){switch(e.type){case"knowledge-graph":return{...this.knowledgeGraphOptions,tables:e.tables};case"map-image":return{...this.mapImageOptions,tables:e.subtables};case"tile":return{...this.tileOptions,tables:e.subtables};default:return null}}async _createTableList(e){let t=this._getTableListParams(e);return w(l`<arcgis-table-list-next .headingLevel=${t?.headingLevel??this.headingLevel} .selectionMode=${t?.selectionMode??this.selectionMode} .dragEnabled=${t?.dragEnabled??this.dragEnabled} .collapsed=${t?.collapsed} .filterPlaceholder=${t?.filterPlaceholder} .filterText=${t?.filterText} .icon=${t?.icon??void 0} .label=${t?.label??void 0} .listItemCreatedFunction=${t?.listItemCreatedFunction} .tables=${t?.tables} .referenceElement=${this.referenceElement} @arcgisReady=${i=>i.stopPropagation()}></arcgis-table-list-next>`)}_handlePanelFlowItemBack(e){e.open=!1,this._focusRootFlowItem=!0}_moveLayerFromChildList({toEl:e,fromEl:t,dragEl:i,newIndex:s}){let a=c(i,this._allItems),o=e.hasAttribute("data-item")?c(e,this._allItems):null,r=t.hasAttribute("data-item")?c(t,this._allItems):null,n=X(t),h=X(e);s==null||!a||!n||!h||(this.viewModel.moveItem({targetItem:a,fromParentItem:r,toParentItem:o,newIndex:s,from:n,to:h}),j(this,a.uid,f=>f.parentElement?.closest("calcite-list")===e))}_handleCalciteListDragEnd(e){let{fromEl:t,toEl:i,dragEl:s,oldIndex:a}=e;if(t!==i){s.remove();return}a==null||!t||!s||t.insertBefore(s,t.children[a])}_onCalciteListOrderChange(e){let{_lastDragDetail:t}=this,{toEl:i,fromEl:s,dragEl:a,newIndex:o}=e,r=t?.newIndex===o&&t?.dragEl===a&&t?.toEl===i&&t?.fromEl===s;if(!s||!i||r)return;this._lastDragDetail=e,this._selectedDragItemLayerUid=a.value.layer?.uid??null;let n=s,h=i;if(n===h){let f=Array.from(s.children).filter(I=>I?.matches("calcite-list-item")).map(I=>I.value.layer?.uid??"");this._sortLayers(n,f);return}this._moveLayerFromChildList({toEl:h,fromEl:n,dragEl:a,newIndex:o})}_sortLayers(e,t){if(e===this._referenceListRef.value||e===this._baseListRef.value){let s=e===this._baseListRef.value?this.view?.map?.basemap?.baseLayers:this.view?.map?.basemap?.referenceLayers;H(s,t);return}let i=c(e,this._allItems);i&&q(i,t)}_handleCalciteListChange(e){if(this.selectionMode==="none")return;let t=e.target.selectedItems.map(i=>c(i,this._allItems)).filter(Boolean);this.selectedItems.removeAll(),this.selectedItems.addMany(t)}_focusFlowItem(e,t){return!t||!e?t:(e.setFocus(),!1)}render(){let e={[L.hidden]:this.state==="loading",[L.disabled]:this.state==="disabled"};return l`<div class=${p(P(L.widget,L.panel,e))}>${this._renderItems()}${this._renderItemTooltips()}</div>`}_renderItemTooltip(e){return e?l`<calcite-tooltip overlay-positioning=fixed .referenceElement=${this._tooltipReferenceMap.get(e.layer?.uid??"")}>${this.messages.layerIncompatibleTooltip}</calcite-tooltip>`:null}_renderItemTooltipNodes(e){if(e.incompatible)return this._renderItemTooltip(e);let t=e.children?.filter(i=>!i.hidden).toArray().map(i=>this._renderItemTooltipNodes(i));return t?.length?t:null}_renderItemTooltips(){return this._visibleReferenceItems.concat(this._visibleBaseItems).toArray().map(e=>this._renderItemTooltipNodes(e))}_renderNoLayersInfoMessage(e){return l`<div slot=message>${e}</div>`}_renderNoLayersInfo(e,t){return this.hideNoItemsNotice?null:l`<div class=${p(u.itemMessage)}>${m(t,l`<calcite-notice icon=information kind=info open width=full>${this._renderNoLayersInfoMessage(e)}</calcite-notice>`)}</div>`}_renderEditingInput(){return l`<div class=${p(u.editing)}><calcite-label>${this.messages.basemapTitle}<calcite-input .label=${this.messages.basemapTitle} name=basemaptitle .pattern=${oe} .placeholder=${this.messages.basemapTitle} required title=${this.messages.basemapTitle??_} type=text .value=${this.viewModel.basemapTitle??void 0} ${g(this._editTitleInputRef)}></calcite-input></calcite-label></div>`}_renderEditingForm(){return this.editingTitle?l`<calcite-flow-item .heading=${this.hideHeading?void 0:this.messages.basemapTitle} .headingLevel=${this.headingLevel} .selected=${!this.openedLayers.length&&!this._openedPanelItems.length} @calciteFlowItemBack=${e=>{e.preventDefault(),this._toggleEditingTitle()}} ${g(this._editingFlowItemRef)}>${this._renderEditingInput()}<calcite-button appearance=outline @click=${this._toggleEditingTitle} slot=footer-actions width=full>${this.messages.cancel}</calcite-button><calcite-button slot=footer-actions type=submit width=full>${this.messages.ok}</calcite-button></calcite-flow-item>`:null}_renderEditTitleButton(){return this.showEditTitleButton&&!this.editingTitle?l`<calcite-action icon=pencil @click=${this._toggleEditingTitle} slot=header-actions-end .text=${this.messages.edit??""} title=${this.messages.edit??_}></calcite-action>`:null}_renderItems(){let e=[m("root-flow-item",l`<calcite-flow-item .closable=${this.showCloseButton} .closed=${this.closed} .collapsed=${this.collapsed} .collapsible=${this.showCollapseButton} .heading=${this.hideHeading?void 0:this.viewModel.basemapTitle??this.messages.componentLabel} .headingLevel=${this.headingLevel} .selected=${!this.editingTitle&&!this.openedLayers.length&&!this._openedPanelItems.length} @calciteFlowItemClose=${()=>{this.closed=!0}} ${g(this._rootFlowItemRef)}>${this._renderEditTitleButton()}${this._renderReferenceSection()}${this._renderBaseSection()}</calcite-flow-item>`),this._renderEditingForm(),this._renderPanelFlowItems(),this._renderedOpenLayerFlowItems];this._focusRootFlowItem=this._focusFlowItem(this._rootFlowItemRef.value,this._focusRootFlowItem),this._focusEditingFlowItem=this._focusFlowItem(this._editingFlowItemRef.value,this._focusEditingFlowItem);let t=m("root-flow",l`<calcite-flow>${e}</calcite-flow>`);return this.closed?null:this.editingTitle?l`<form class=${p(u.editingForm)} @submit=${this._formSubmit}>${t}</form>`:t}_renderPanelFlowItems(){return N(this._openedPanelItems.toArray(),e=>e.uid,(e,t)=>{let{panel:i,title:s}=e,a=()=>this._handlePanelFlowItemBack(i);return this._focusPanelFlowItem=this._focusFlowItem(this._panelFlowItemRef.value,this._focusPanelFlowItem),l`<calcite-flow-item .description=${s} .heading=${i.title} .headingLevel=${this.headingLevel} .selected=${!this.openedLayers.length&&t===this._openedPanelItems.length-1} @calciteFlowItemBack=${o=>{o.preventDefault(),a()}} ${g(this._panelFlowItemRef)}><arcgis-layer-list-item-panel .item=${e} .view=${this.view}></arcgis-layer-list-item-panel><calcite-button appearance=transparent @click=${a} slot=footer-actions width=full>${this.messages.back}</calcite-button></calcite-flow-item>`})}_renderLayerFlowItem(e,t){let i=e.title||this.messages.untitledLayer;return this._focusLayerFlowItem===e.uid&&(this._focusLayerFlowItem=this._focusFlowItem(this._layerFlowItemRef.value,!0)?e.uid:null),m(e.uid,l`<calcite-flow-item data-layer-uid=${e.uid??_} .description=${i} .heading=${this.messages[e.type==="catalog"?"catalogLayers":"tables"]} .headingLevel=${this.headingLevel} .selected=${t} @calciteFlowItemBack=${s=>{s.preventDefault(),this.openedLayers.pop();let a=this.openedLayers.at(-1);a?this._focusLayerFlowItem=a.uid:this._focusRootFlowItem=!0}} ${g(this._layerFlowItemRef)}>${this._layerListMap.get(e)}</calcite-flow-item>`)}_renderList(e,t,i){let s=t==="reference"?this._referenceFilterEnabled:this._baseFilterEnabled,a=t==="reference"?this.referenceFilterText:this.baseFilterText,o=(t==="reference"?this.messages.noReferenceLayers:this.messages.noBaseLayers)??this.messages.noItemsToDisplay??"";return m(`block-${t}`,l`<calcite-block class=${p(u.section)} expandable expanded .heading=${t==="reference"?this.messages.referenceHeading:this.messages.baseHeading} .headingLevel=${this.headingLevel+1}>${e?.length?null:this._renderNoLayersInfo(o,t)}${m(`list-${t}`,l`<calcite-list @focusin=${this._setActiveItem} @focusout=${this._clearActiveItem} .canPull=${r=>this._canMove(r,"pull")} .canPut=${r=>this._canMove(r,"put")} data-basemap-layer-type=${t??_} data-layer-type=${this._rootGroupUid??_} .displayMode=${V} .dragEnabled=${this.dragEnabled} .filterEnabled=${s} .filterPlaceholder=${this.filterPlaceholder} .filterProps=${S} .filterText=${s?a:""} .group=${this._rootGroupUid} .label=${this.messages.componentLabel??""} @mouseleave=${this._clearActiveItem} @mouseover=${this._setActiveItem} selection-appearance=border .selectionMode=${this.selectionMode} @calciteListChange=${this._handleCalciteListChange} @calciteListDragEnd=${r=>this._handleCalciteListDragEnd(r.detail)} @calciteListFilter=${r=>{let n=r.currentTarget?.filterText??"";this[t==="reference"?"referenceFilterText":"baseFilterText"]=n,t==="base"?this.arcgisBaseFilterChange.emit():this.arcgisReferenceFilterChange.emit()}} @calciteListOrderChange=${r=>this._onCalciteListOrderChange(r.detail)} ${g(t==="reference"?this._referenceListRef:this._baseListRef)}>${e?.toArray().map(r=>this._renderItem(r,i))}${s&&!this.hideNoFilterResultsNotice?l`<div class=${p(u.filterNoResults)} slot=filter-no-results><calcite-notice kind=info open width=full>${this._renderNoLayersInfoMessage(o)}</calcite-notice></div>`:null}</calcite-list>`)}</calcite-block>`)}_renderBaseSection(){return this.hideBaseLayers?null:this._renderList(this._visibleBaseItems,"base",this._visibleBaseItems.length===1)}_renderReferenceSection(){return this.hideReferenceLayers?null:this._renderList(this._visibleReferenceItems,"reference",!1)}_renderItem(e,t,i,s){return m(e.uid,z({activeItem:this._activeItem,canMove:this._canMove,css:u,displayMode:V,dragEnabled:this.dragEnabled&&!t,hideCatalogLayerList:this.hideCatalogLayerList,hideStatusIndicators:this.hideStatusIndicators,item:e,layerTablesEnabled:this.layerTablesEnabled,listModeDisabled:this.viewModel.listModeDisabled,messages:this.messages,operationalItems:this._allItems,parent:i,parentTitles:s,rootGroupUid:this._rootGroupUid,selectedDragItemLayerUid:this._selectedDragItemLayerUid,selectedItems:this.selectedItems,selectionMode:this.selectionMode,setCurrentActiveItem:this._setCurrentActiveItem,clearActiveItem:this._clearActiveItem,showErrors:this.showErrors,showTemporaryLayerIndicators:this.showTemporaryLayerIndicators,visibilityAppearance:this.visibilityAppearance,handleAction:this._onTriggerAction,handleCatalogOpen:this._onCatalogOpen,handlePanelOpen:this._onPanelOpen,handleSelectedDragItemLayerUidChange:this._onSelectedDragItemLayerUidChange,handleTablesOpen:this._onTablesOpen,handleTooltipReferenceChange:this._onTooltipReferenceChange,view:this.view}))}};function X(E){let e=E.closest(`[${W}]`)?.getAttribute(W);return e==="base"||e==="reference"?e:null}A("arcgis-basemap-layer-list-next",F);return F},"layerList/BasemapLayerListModel","core/Collection","core/reactiveUtils",a,b,e,f,h,i,j,n,o,r,s,t)
|
package/dist/cdn/O7ZXS622.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
-
import l from"./DSIYRWN2.js";import{a as L}from"./Y6WTYXVP.js";import"./FH3WFF5O.js";import k from"./H6SIAY6D.js";import{a as T}from"./DYUFBVXE.js";import i from"./CESPPRYQ.js";import h from"./HU57LQOA.js";import g from"./F4AJCUZ6.js";import{a as E}from"./WJQUE4DR.js";import{b as Z,c as U,d as j}from"./366GLQ5R.js";import e from"./OISNNHIG.js";import{a as z}from"./7465ANAR.js";import d from"./KRJCOTGC.js";import c from"./U7WRQCRV.js";import{f as H,h as B}from"./GIBXI44G.js";import"./RQT2PVDJ.js";import a from"./SBYVR52H.js";import{a as A}from"./LXME6MU5.js";import{P as f,Q as m,R as O,T as $,X as u,Y as P,_ as N,a as R,b as n,o as x,x as b}from"./7IGSTLKW.js";import"./TAVTDQ6S.js";export default $arcgis.t(([J,q,Q,{initializeProjection:Y},{renderingSanitizer:M},{stripHTML:C},{substitute:g,formatNumber:I},{when:ee,watch:h},{getGraphicOriginTitle:te},,,,V,,,{e:D},{d:W},k])=>{var ie=R`:host{display:flex;overflow:hidden;flex:1 1 auto}.root{--calcite-color-background: var(--calcite-color-foreground-1);display:flex;overflow:hidden;flex:1 1 auto;flex-direction:column}.root img{image-orientation:from-image}.flow-item-collapsed{--calcite-flow-item-header-border-block-end: none}.container{display:flex;flex:1 1 auto;background-color:var(--calcite-color-foreground-1)}.container calcite-list{width:100%}.container:not(:empty,.content-hidden){padding:var(--arcgis-internal-padding-md, var(--calcite-spacing-md))}.root .arcgis-feature,.root .arcgis-feature-relationship,.root .arcgis-feature-utility-network-associations{background-color:transparent}.heading{word-break:break-word;word-wrap:break-word}.header,.footer{display:flex;align-items:center;justify-content:flex-end;background-color:var(--calcite-color-foreground-1)}.footer{flex:1}.pagination-text{padding-inline:var(--calcite-spacing-sm);color:var(--calcite-color-text-3);font-size:var(--calcite-font-size-sm)}.loader{align-self:center;padding-inline:var(--calcite-spacing-lg)}.pagination-action-bar{flex:1}.pagination-menu-button{padding-inline:var(--calcite-spacing-xxs);border-inline-start:var(--calcite-border-width-sm) solid var(--calcite-color-border-3)}.icon{display:inline-block;flex:0 0 var(--calcite-spacing-lg);width:var(--calcite-spacing-lg);height:var(--calcite-spacing-lg)}.action-image{flex:0 0 var(--calcite-spacing-lg);background-position:50% 50%;background-repeat:no-repeat;background-size:contain;width:var(--calcite-spacing-lg);height:var(--calcite-spacing-lg)}.content-feature{--calcite-flow-item-footer-padding: 0;--calcite-flow-header-top-space: 0}.feature-menu-observer{flex:0 0 1px;height:1px;margin-block-start:-1px}.action-exit{transform:scaleX(-1)}.flow-item-drill-in{--calcite-flow-item-footer-padding: 0}.diagnostics-notice{padding:var(--calcite-space-md)}`;function ae(_){return _?.declaredClass.startsWith("esri.layers.")??!1}function se(_){if(!(!_||!("featureReduction"in _)))return _.featureReduction?.type}var ne=V(Q),oe=5,S=class extends O{constructor(){super(...arguments),this._zoomToFeature=new J({icon:"magnifying-glass-plus",id:"zoom-to-feature",title:"{messages.zoom}"}),this._fetchFeaturesController=null,this._featureMenuIntersectionObserverCallback=([e])=>{e?.isIntersecting&&this._loadMoreFeatures()},this._featureMenuIntersectionObserver=new IntersectionObserver(this._featureMenuIntersectionObserverCallback,{root:window.document}),this._featureMenuIntersectionObserverNode=null,this._setFocusAnimationFrameId=null,this._setFocusAnimationFrameResolve=null,this._rootFlowItemNode=f(),this._featureMenuViewportNode=f(),this._actionBarMenuNode=f(),this._flowContainerNode=f(),this._aggregatedFeaturesComponent=f(),this.messages=z(),this._selectedFeatureComponent=f(),this._actionFlowItems=new WeakSet,this._direction=H(),this._cancelOpenRelatedFeature=()=>{this._openRelatedFeatureAbortController=E(this._openRelatedFeatureAbortController)},this._spinnerVisible=!1,this._openRelatedFeatureAbortController=null,this.flowItems=new q,this._aggregatedFeatureCount=0,this._selectedAggregatedFeatureIndex=-1,this._aggregatedFeaturesLoading=!1,this._hasActionsStartSlotContent=!1,this._hasActionsEndSlotContent=!1,this._selectedFeatureLoading=!1,this._lastSettledCollapseEnabled=!1,this._lastSettledHeading="",this.viewModel=ne(this),this.actions=this.viewModel.actions,this.active=this.viewModel.active,this.autoDestroyDisabled=!1,this.focusTrapEnabled=!1,this.collapsed=!1,this.content=this.viewModel.content,this.diagnostics=this.viewModel.diagnostics,this.defaultPopupTemplateEnabled=this.viewModel.defaultPopupTemplateEnabled,this.effectiveHeading=this.viewModel.effectiveHeading,this.featureCount=this.viewModel.featureCount,this.featureMenuOpen=!1,this.featureNavigationTop=!1,this.features=this.viewModel.features,this.featuresPerPage=this.viewModel.featuresPerPage,this.featureItemAbilities=this.viewModel.featureItemAbilities,this.goToOverride=this.viewModel.goToOverride,this.headerActions=new q,this.heading=this.viewModel.heading,this.headingLevel=2,this.hideActionBar=!1,this.hideCloseButton=!1,this.hideFeatureMenuHeading=!1,this.hideFeatureNavigation=!1,this.hideFeatureListLayerTitle=!1,this.hideHeading=!1,this.hideSelectFeature=!1,this.hideSpinner=!1,this.hideContent=!1,this.chartAnimationDisabled=this.viewModel.featureItemAbilities?.chartAnimation,this.hideAttachmentsContent=this.viewModel.featureItemAbilities?.attachmentsContent,this.hideEmptyRelationshipContent=!1,this.hideCustomContent=this.viewModel.featureItemAbilities?.customContent,this.hideExpressionContent=!1,this.hideFieldsContent=this.viewModel.featureItemAbilities?.fieldsContent,this.hideMediaContent=this.viewModel.featureItemAbilities?.mediaContent,this.hideRelationshipContent=this.viewModel.featureItemAbilities?.relationshipContent,this.hideTextContent=this.viewModel.featureItemAbilities?.textContent,this.hideUtilityNetworkContent=this.viewModel.featureItemAbilities?.utilityNetworkAssociationsContent,this.hideLastEditedInfo=!1,this.highlightDisabled=this.viewModel.highlightEnabled,this.includeDefaultActionsDisabled=this.viewModel.includeDefaultActions,this.initialDisplayMode=this.viewModel.initialDisplayMode,this.location=this.viewModel.location,this.map=this.viewModel.map,this.open=this.viewModel.open,this.responsiveActionsEnabled=!1,this.selectedFeature=this.viewModel.selectedFeature,this.selectedFeatureIndex=this.viewModel.selectedFeatureIndex,this.showCollapseButton=!1,this.spatialReference=this.viewModel.spatialReference,this.state=this.viewModel.state,this.timeZone=this.viewModel.timeZone,this.updateLocationEnabled=this.viewModel.updateLocationEnabled,this.view=this.viewModel.view,this.arcgisClose=b(),this.arcgisPropertyChange=B()("active","collapsed","effectiveHeading","featureCount","featureMenuOpen","features","selectedDrillInFeature","selectedFeature","selectedFeatureComponent","selectedFeatureIndex","state","open"),this.arcgisReady=b(),this.arcgisTriggerAction=b()}static{this.properties={_openRelatedFeatureAbortController:16,flowItems:16,_aggregatedFeatureCount:16,_selectedAggregatedFeatureIndex:16,_aggregatedFeaturesLoading:16,_hasActionsStartSlotContent:16,_hasActionsEndSlotContent:16,_selectedFeatureLoading:16,_lastSettledCollapseEnabled:16,_lastSettledHeading:16,_selectedFeatureViewModel:16,_hideActionText:16,_featureNavigationVisible:16,_isCollapsed:16,_collapseEnabled:16,_selectedFeatureHeading:16,_headingLabel:16,_backLabel:16,_selectedFeatureContent:16,_selectedFeaturePending:16,_featureFlowItemSelected:16,viewModel:0,actions:0,active:0,autoDestroyDisabled:5,focusTrapEnabled:5,collapseDirection:1,collapsed:5,content:1,diagnostics:0,defaultPopupTemplateEnabled:5,effectiveHeading:32,featureCount:9,featureMenuOpen:5,featureMenuTitle:1,featureNavigationTop:5,features:0,featuresPerPage:9,featureItemAbilities:0,goToOverride:0,headerActions:0,heading:1,headingLevel:9,hideActionBar:5,hideCloseButton:5,hideFeatureMenuHeading:5,hideFeatureNavigation:5,hideFeatureListLayerTitle:5,hideHeading:5,hideSelectFeature:5,hideSpinner:5,hideContent:5,chartAnimationDisabled:5,hideAttachmentsContent:5,hideEmptyRelationshipContent:5,hideCustomContent:5,hideExpressionContent:5,hideFieldsContent:5,hideMediaContent:5,hideRelationshipContent:5,hideTextContent:5,hideUtilityNetworkContent:5,hideLastEditedInfo:5,highlightDisabled:5,icon:1,includeDefaultActionsDisabled:5,initialDisplayMode:1,label:1,location:0,map:0,messageOverrides:0,open:5,referenceElement:1,responsiveActionsEnabled:5,selectedDrillInFeature:32,selectedFeature:0,selectedFeatureComponent:32,selectedFeatureIndex:9,showCollapseButton:5,spatialReference:0,state:32,timeZone:1,updateLocationEnabled:5,view:0}}static{this.styles=ie}get _hideActionText(){if(!this.responsiveActionsEnabled)return!1;let e=this.viewModel.view?.widthBreakpoint;return e==="xsmall"||e==="small"||e==="medium"}get _featureNavigationVisible(){return this.viewModel.active&&this.viewModel.featureCount>1&&!!this.viewModel.selectedFeature&&!this.hideFeatureNavigation}get _isCollapsed(){return this._collapseEnabled&&this.collapsed}get _collapseEnabled(){return this.showCollapseButton&&(this.initialDisplayMode==="list"||!!(this.heading||this._selectedFeatureHeading)&&!!(this.content||this._selectedFeatureContent)||this._selectedFeaturePending&&this._lastSettledCollapseEnabled)}get _selectedFeatureHeading(){return this.viewModel.selectedFeatureItem?.heading}get _headingLabel(){let e=this._selectedFeatureHeading??this.heading;return e?C(e):void 0}get _backLabel(){let e=this._headingLabel,{messages:t}=this;return e?g(t.backLabel??"",{title:e}):t.back}get _selectedFeatureContent(){return this.viewModel.selectedFeatureItem?.content}get _selectedFeaturePending(){let{selectedFeature:e,selectedFeatureItem:t}=this.viewModel;if(!e)return!1;let i=this._selectedFeatureViewModel,a=i?.state;return t==null||t.waitingForContent||i?.graphic!==e||a!=="ready"&&a!=="error"}get _featureFlowItemSelected(){return this.initialDisplayMode==="list"?!!this.selectedFeature:!this.featureMenuOpen}clear(){this.viewModel.clear()}close(){this.open=!1}async destroy(){await this.manager.destroy(),this._removeSpinner(this.referenceElement),this._cancelOpenRelatedFeature(),this._cancelSetFocusAnimationFrame(),this._removeFlowItems(),this._unobserveFeatureMenuObserver(),this._cancelFetchingFeatures(),this._featureMenuIntersectionObserver?.disconnect()}async fetchFeatures(e,t){this._cancelFetchingFeatures();let{signal:i}=t??{},a=new AbortController,{signal:s}=a,o=i?AbortSignal.any([s,i]):s;this._fetchFeaturesController=a,!e&&this.view&&this.location&&(await Y(this.location.spatialReference,this.view.spatialReference,null,{signal:o}),e=this.view.toScreen(this.location)??void 0),e&&await this.viewModel.fetchFeatures(e,{...t,signal:o})}next(){this.viewModel.next()}previous(){this.viewModel.previous()}async setFocus(){this._cancelSetFocusAnimationFrame(),await new Promise(e=>{this._setFocusAnimationFrameResolve=e,this._setFocusAnimationFrameId=requestAnimationFrame(()=>{this._setFocusAnimationFrameId=null;try{if(!this.isConnected||!this.viewModel?.active)return;this._flowContainerNode.value?.setFocus()}finally{this._resolveSetFocusAnimationFrame()}})})}connectedCallback(){super.connectedCallback(),this._createSpinner()}willUpdate(){let e=this._selectedFeaturePending,{effectiveHeading:t}=this.viewModel;e||(this._lastSettledCollapseEnabled=this._collapseEnabled),(t||!e)&&(this._lastSettledHeading=t??"")}updated(){let e=this._selectedFeatureComponent.value??void 0;this.selectedFeatureComponent!==e&&(this._selectedFeatureViewModel=e?.viewModel,x(()=>this.selectedFeatureComponent=e)),this.componentOnReady().then(()=>{let t=this._featureMenuIntersectionObserverNode;this.isConnected&&t&&(this._featureMenuIntersectionObserver.unobserve(t),this._featureMenuIntersectionObserver.observe(t))})}loaded(){this.manager.onLifecycle(()=>[k({getLoading:()=>this.viewModel.waitingForResult,setEffectiveLoading:e=>{this._spinnerVisible=e,this._createSpinner()},timeout:25,minShownDuration:0}),k({getLoading:()=>this._selectedFeaturePending,setEffectiveLoading:e=>{this._selectedFeatureLoading=e}}),ee(()=>[this.initialDisplayMode==="list"&&!!this.viewModel?.selectedFeature,this.viewModel?.active],()=>{this.setFocus()}),h(()=>[this.flowItems?.length,this.featureMenuOpen],()=>{this.setFocus()}),h(()=>this.viewModel?.selectedFeatureIndex,(e,t)=>this._selectedFeatureIndexUpdated(e,t)),h(()=>this.viewModel?.view?.scale,()=>this._viewScaleChange()),h(()=>this.viewModel?.view,(e,t)=>t&&this._viewChange()),h(()=>this._spinnerEl?.screenLocation,()=>this._closeOpenActionMenu()),h(()=>this.selectedFeatureComponent?.viewModel,(e,t)=>t&&this._removeFlowItems()),h(()=>[this.viewModel?.features.at(0),this.viewModel?.featureCount??0],([e,t],i)=>{let[a,s]=i??[void 0,0];(e!==a||t<s)&&this._featureMenuViewportScrollTop()}),h(()=>[this.featureMenuOpen,this.initialDisplayMode,this.open],()=>{this.viewModel.featureMenuOpen=this.featureMenuOpen,this.open&&(this.featureMenuOpen||this.initialDisplayMode==="list")&&(this.viewModel.featurePage=1)},{initial:!0}),h(()=>this.flowItems.toArray(),()=>this._handleFlowItemsChange(),{initial:!0}),h(()=>this.viewModel.aggregatedFeaturesEnabled,e=>{e||(this._aggregatedFeatureCount=0,this._selectedAggregatedFeatureIndex=-1,this._aggregatedFeaturesLoading=!1,this._removeFlowItems())}),h(()=>this.referenceElement,(e,t)=>{this._removeSpinner(t),this._createSpinner()},{initial:!0}),h(()=>[this.hideSpinner,this.viewModel?.view,this.viewModel?.location,this.viewModel?.pendingLocation,this.viewModel?.open],()=>this._createSpinner(),{initial:!0})])}disconnectedCallback(){super.disconnectedCallback(),this._selectedFeatureLoading=!1,this._spinnerVisible=!1,this._cancelSetFocusAnimationFrame(),this._removeSpinner(this.referenceElement)}_loadMoreFeatures(){let{viewModel:e}=this,{featurePage:t,featuresPerPage:i,features:a}=e;e.open&&(this.initialDisplayMode==="list"||this.featureMenuOpen)&&t!=null&&t*i<a.length&&(e.featurePage=t+1)}_resolveSetFocusAnimationFrame(){let e=this._setFocusAnimationFrameResolve;this._setFocusAnimationFrameResolve=null,e?.()}_cancelSetFocusAnimationFrame(){this._setFocusAnimationFrameId!=null&&(cancelAnimationFrame(this._setFocusAnimationFrameId),this._setFocusAnimationFrameId=null),this._resolveSetFocusAnimationFrame()}_cancelFetchingFeatures(){this._fetchFeaturesController=E(this._fetchFeaturesController)}_handleClose(){this.close(),this.arcgisClose.emit()}_groupResultsByLayer(){let{features:e,featurePage:t,featuresPerPage:i}=this.viewModel,a=new Map,s=Math.min((t??0)*i,e.length);for(let o=0;o<s;o++){let l=e[o],r=D(l),d=ae(r)?r:null,c=a.get(d);c||(c=[],a.set(d,c)),c.push(o)}return a}_handleCollapseToggle(){this.collapsed=!this.collapsed}async _openRelatedFeature(e){this._cancelOpenRelatedFeature();let t=new AbortController;if(this._openRelatedFeatureAbortController=t,await e.updateGeometry(),t.signal.aborted)return;let i=e.graphic,a=i?.geometry;if(a==null||i==null){this._openRelatedFeatureAbortController=null;return}if(this._removeFlowItems(),await this.viewModel.zoomTo({target:a}),t.signal.aborted)return;let{labelPointExecute:s}=await $arcgis.t(m=>m[0],"geometry/operators/labelPointOperator");if(t.signal.aborted)return;let o=s(a);o!=null&&(this.location=o),this.features=[i],this.open=!0,this._openRelatedFeatureAbortController=null}_handlePaginationMenuButton(){this._updateFeatureMenu()}_openFeatureMenu(){this._updateFeatureMenu(!0)}_closeFeatureMenu(){this._updateFeatureMenu(!1)}_updateFeatureMenu(e=!this.featureMenuOpen){this.featureMenuOpen=e}_previousFeature(){this.viewModel.previous()}_nextFeature(){this.viewModel.next()}_handleFeatureBack(){this.initialDisplayMode==="list"?this.selectedFeatureIndex=-1:this._openFeatureMenu()}_handleFeatureMenuBack(){this.initialDisplayMode==="list"?this.selectedFeatureIndex=-1:this.featureMenuOpen&&this._closeFeatureMenu()}_setActiveFeature(e){let{viewModel:t}=this;t.activeFeature=t.features?.[e]||null}_removeActiveFeature(){this.viewModel.activeFeature=null}_selectFeature(e){this.viewModel.selectedFeatureIndex=e,this.initialDisplayMode==="feature"&&this._handleFeatureMenuBack()}_unobserveFeatureMenuObserver(){this._featureMenuIntersectionObserverNode&&this._featureMenuIntersectionObserver.unobserve(this._featureMenuIntersectionObserverNode)}_featureMenuIntersectionObserverCreated(e){e!==this._featureMenuIntersectionObserverNode&&(this._unobserveFeatureMenuObserver(),this._featureMenuIntersectionObserverNode=e??null)}_getActionLabel(e,t){if(e.id!=="zoom-to-feature")return null;let{messages:i}=this,a=t?.heading,s=t?a&&C(a):this._headingLabel;return s?g(i.zoomLabel??"",{messages:i,title:s}):i.zoom??""}_getActionTitle(e,t){let{messages:i}=this,a=t?t.graphic:this.selectedFeature,{id:s}=e,o=a?.attributes,l=e.title??"",r=s==="zoom-to-feature"?g(l,{messages:i}):s==="remove-selected-feature"?g(l,{messages:i}):s==="zoom-to-aggregated-features"?g(l,{messages:i}):s==="browse-aggregated-features"?g(l,{messages:i}):e.title;return r&&o?g(r,o):r??""}_onMainKeydown(e){let{key:t}=e;e.defaultPrevented||Z(e)||(j(t,this._direction,{horizontalOnly:!0})&&(e.preventDefault(),e.stopPropagation(),this._closeFeatureMenu(),this.previous()),U(t,this._direction,{horizontalOnly:!0})&&(e.preventDefault(),e.stopPropagation(),this._closeFeatureMenu(),this.next()))}_featureMenuViewportScrollTop(){this._featureMenuViewportNode.value?.scrollContentTo({top:0})}_selectedFeatureIndexUpdated(e,t){let{featureCount:i,waitingForResult:a}=this.viewModel;a||!i||e===t||e===-1||(this._aggregatedFeatureCount=0,this._selectedAggregatedFeatureIndex=-1,this._removeFlowItems(),this._rootFlowItemNode.value?.scrollContentTo({top:0}))}_triggerAction(e,t=this.flowItems.getItemAt(this.flowItems.length-1)){if(e.disabled)return;e?.type==="toggle"&&(e.value=!e.value);let i=t&&"allActions"in t?t.viewModel:void 0;W(e,this.viewModel,i),this.arcgisTriggerAction.emit({action:e})}_viewScaleChange(){let{selectedFeature:e}=this,t=D(e);!e?.isAggregate||se(t)!=="cluster"||(this.viewModel.aggregatedFeaturesEnabled=!1,this.open=!1,this.clear())}_viewChange(){this.viewModel.clear(),this.open=!1,this._aggregatedFeatureCount=0,this._removeFlowItems()}_handleAggregatedFeaturesPropertyChange({detail:e,target:t}){e.name==="aggregatedFeatureCount"&&(this._aggregatedFeatureCount=t.aggregatedFeatureCount),e.name==="selectedAggregatedFeatureIndex"&&(this._selectedAggregatedFeatureIndex=t.selectedAggregatedFeatureIndex,this._syncSelectedDrillInFeature()),e.name==="loading"&&(this._aggregatedFeaturesLoading=t.loading)}_closeOpenActionMenu(){let{_actionBarMenuNode:e}=this;e.value&&(e.value.menuOpen=!1)}_handleFlowItemsChange(){this._syncSelectedDrillInFeature(),this.flowItems.forEach(e=>{!("allActions"in e)||this._actionFlowItems.has(e)||(this._actionFlowItems.add(e),e.componentOnReady().then(()=>{this.isConnected&&this.flowItems.includes(e)&&this.requestUpdate()}))})}_syncSelectedDrillInFeature(){let e=this.flowItems.getItemAt(this.flowItems.length-1);x(()=>this.selectedDrillInFeature=e?.graphic??void 0)}_removeFlowItems(){this.viewModel.aggregatedFeaturesEnabled=!1,this.flowItems?.destroyAll()}_getDrillInFlowItemDescription(e){switch(e.flowType){case"feature":case"feature-association":case"feature-utility-network-associations":case"feature-utility-network-association-type":return e.description;case"feature-relationship":return e.allItemsDescription}}_handleDrillInBackClick(){this.flowItems?.pop()?.destroy()}_getHeading(){if(this.hideHeading)return"";let{effectiveHeading:e}=this.viewModel;return e||!this._selectedFeaturePending?e??"":this._lastSettledHeading||(this._selectedFeatureLoading?this.messages.loading??"":"")}_handleActionsStartSlotChange(e){this._hasActionsStartSlotContent=L(e)}_handleActionsEndSlotChange(e){this._hasActionsEndSlotContent=L(e)}_removeSpinner(e){e?.manager?.component?.extraContent?.remove(this._spinnerEl),this._spinnerEl=void 0}_createSpinner(){let e=this.referenceElement;e&&(this._removeSpinner(e),this._spinnerEl=P(n`<arcgis-spinner .label=${this.messages.loading??""} .trackLocation=${!this.hideSpinner&&this.viewModel.open&&this._spinnerVisible} .location=${this.viewModel?.pendingLocation??this.viewModel?.location??void 0} .referenceElement=${e} .view=${this.viewModel?.view??void 0}></arcgis-spinner>`),e.manager?.component?.extraContent?.add(this._spinnerEl))}#e(e){let t=e&&"allActions"in e?e:void 0,{selectedFeatureItem:i}=this.viewModel;if(t&&!t.allActions)return[];let a=t?t.isFeatureFromTable:i?.isFeatureFromTable;return(t?.allActions??i?.allActions??(!e&&this.viewModel.includeDefaultActions?this.viewModel.defaultActions.concat(this.viewModel.actions):this.viewModel.actions)).toArray().filter(s=>!(e&&s.id==="browse-aggregated-features")&&!(a&&!this.location&&s.id===this._zoomToFeature.id))}render(){return n`<div class="root">${this._renderContentContainer()}</div>`}_renderFeatureNavigation(){return[this._renderPagination(()=>this._previousFeature(),()=>this._nextFeature()),this.initialDisplayMode==="list"?this._renderFeaturePaginationText(this.viewModel.featureCount,this.viewModel.selectedFeatureIndex):this._renderFeatureMenuButton()]}_renderHeader(){return this.featureNavigationTop&&this._featureNavigationVisible?n`<div slot=header-top class="header">${this._renderFeatureNavigation()}</div>`:null}_renderFooter(){return!this.featureNavigationTop&&this._featureNavigationVisible?n`<div class="footer" slot=footer>${this._renderFeatureNavigation()}</div>`:null}_renderFeaturePaginationText(e,t){let{messages:i}=this;return n`<div class="pagination-text">${g(i.pageText??"",{index:I(t+1),total:I(e)})}</div>`}_renderFeatureMenuButton(){let{messages:e,viewModel:t}=this,{featureCount:i,streamingFeatures:a,selectedFeatureIndex:s}=t;return n`<calcite-action class="pagination-menu-button" icon=list .label=${e.showAllFeatures??""} .loading=${a} @click=${this._handlePaginationMenuButton} .text=${g(e.pageText??"",{index:I(s+1),total:I(i)})} text-enabled title=${e.showAllFeatures??""??u}></calcite-action>`}_renderPagination(e,t){let{previous:i,next:a}=this.messages;return n`<calcite-action-bar class="pagination-action-bar" expand-toggle-disabled layout=horizontal overflow-mode=none scale=s><calcite-action-group scale=s><calcite-action class="pagination-previous" icon=chevron-left icon-flip-rtl .label=${i??""} @click=${e} .text=${i??""} title=${i??""??u}></calcite-action><calcite-action icon=chevron-right icon-flip-rtl .label=${a??""} @click=${t} .text=${a??""} title=${a??""??u}></calcite-action></calcite-action-group></calcite-action-bar>`}_renderFeatureMenuItem(e){let{initialDisplayMode:t}=this,{featureModels:i,selectedFeatureIndex:a}=this.viewModel,s=i[e],o=s?.state==="ready"?s.heading:"",l=e===a;return n`<calcite-list-item @blur=${this._removeActiveFeature} @focus=${()=>this._setActiveFeature(e)} @mouseleave=${this._removeActiveFeature} @mouseover=${()=>this._setActiveFeature(e)} .selected=${l} @calciteListItemSelect=${()=>this._selectFeature(e)}><span .innerHTML=${(M.sanitize(o)||(s?.state==="loading"?this.messages.loading:this.messages.untitled))??""} slot=content></span>${t==="list"?n`<calcite-icon flip-rtl icon=chevron-right scale=s slot=content-end></calcite-icon>`:null}</calcite-list-item>`}_renderFeatureMenu(){let{messages:e,viewModel:t}=this,i=this._groupResultsByLayer(),a=this.initialDisplayMode==="list"?"none":"single";return t.features.length?n`<calcite-list display-mode=flat .label=${e?.featuresList??""} selection-appearance=icon .selectionMode=${a}>${Array.from(i,([s,o])=>{let l=o.map(d=>this._renderFeatureMenuItem(d)),r=s?s.title??this.messages.untitled:null;return!this.hideFeatureListLayerTitle&&r!==null?T(s??"map-graphics",n`<calcite-list-item-group .heading=${r}>${l}</calcite-list-item-group>`):l})}</calcite-list>`:null}_renderHeaderAction(e){let t=e.title||"";return e.visible?n`<calcite-action .active=${e.type==="toggle"?e.value:!1} .disabled=${e.disabled} .icon=${e.icon??void 0} .indicator=${e.active} .loading=${e.active} @click=${()=>this._triggerAction(e)} slot=header-actions-end .text=${t} title=${t??u}></calcite-action>`:null}_renderHeaderActions(){return this.headerActions.map(e=>this._renderHeaderAction(e)).toArray()}_renderContentFeature(e){let{headingLevel:t,hideCloseButton:i,_isCollapsed:a,_collapseEnabled:s,featureNavigationTop:o,initialDisplayMode:l,selectedFeature:r,hideHeading:d}=this,{active:c,selectedFeatureItem:v,content:F}=this.viewModel,p=this._getHeading();if(l==="list"&&!r)return null;let w=!this._selectedFeaturePending&&(v?!v.content:!F);return n`<calcite-flow-item .focusTrapEnabled=${this.focusTrapEnabled} class=${$(A({"content-feature":!0,"flow-item-collapsed":a}))} .closable=${!i} .closed=${!c} .collapsed=${a} .collapseDirection=${this.collapseDirection??(o?"down":"up")} .collapsible=${s} .headingLevel=${t} .selected=${e} .messageOverrides=${{collapse:this.messages.collapse,expand:this.messages.expand}} @calciteFlowItemBack=${this._handleFeatureBack} .loading=${!!this._openRelatedFeatureAbortController||this._selectedFeatureLoading} @calciteFlowItemClose=${this._handleClose} @calciteFlowItemToggle=${this._handleCollapseToggle} @keydown=${this._onMainKeydown} .heading=${!d&&p?C(p):void 0} ${m(this._rootFlowItemNode)}>${this._renderHeader()}${!d&&p?n`<div slot=heading><div .innerHTML=${M.sanitize(p??"")??""}></div></div>`:null}${this._renderHeaderActions()}${this._renderActionBar()}<div class=${$(A("container","content-container",{"content-hidden":w}))}>${this._renderContent()}</div>${this._renderFooter()}</calcite-flow-item>`}_renderDiagnosticsRefineResults(){let{messages:e}=this,{view:t}=this.viewModel;return t!=null&&"effectiveMaxZoom"in t.constraints&&t.constraints.effectiveMaxZoom>=0&&t.zoom>=t.constraints.effectiveMaxZoom?e.maxRecordCountDescriptionRefineResultsMaxZoomLevel:e.maxRecordCountDescriptionRefineResults}_renderDiagnosticsList(e){let{messages:t}=this,i=Array.from(e,a=>te(a)??t.untitled);return i.length?n`<p>${t.maxRecordCountDescriptionWithLayerList}</p><ul>${i.map(a=>n`<li>${a}</li>`)}</ul><p>${this._renderDiagnosticsRefineResults()}</p>`:null}_renderDiagnosticsMultipleLayers(){let{messages:e}=this;return n`<p>${e.maxRecordCountDescriptionMultipleLayers}</p><p>${this._renderDiagnosticsRefineResults()}</p>`}_renderDiagnostics(){let{messages:e}=this,{diagnostics:t}=this.viewModel,i=t?.layerLimitExceeded;return i?.size?n`<calcite-notice class="diagnostics-notice" open kind=info scale=s><span slot=title>${e.maxRecordCountHeading}</span><div slot=message>${i.size<=oe?this._renderDiagnosticsList(i):this._renderDiagnosticsMultipleLayers()}</div></calcite-notice>`:null}_renderFeatureMenuContainer(){let{viewModel:e,hideCloseButton:t,featureMenuTitle:i,messages:a,initialDisplayMode:s,featureMenuOpen:o,_featureFlowItemSelected:l,_collapseEnabled:r,_isCollapsed:d,featureNavigationTop:c,headingLevel:v}=this,{active:F,features:p,streamingFeatures:w}=e,G=i??a.selectFeature,y=this._backLabel;if(s==="feature"&&!o)return null;let K=!l;return n`<calcite-flow-item .focusTrapEnabled=${this.focusTrapEnabled} class=${$(A({"flow-item-collapsed":d}))} .closable=${!t} .closed=${!F} .collapsed=${s==="list"&&d} .collapseDirection=${this.collapseDirection??(c?"down":"up")} .collapsible=${s==="list"&&r} .messageOverrides=${{collapse:this.messages.collapse,expand:this.messages.expand,back:y}} .description=${this.hideFeatureMenuHeading?void 0:g(a.total??"",{total:p.length})} .heading=${this.hideFeatureMenuHeading?void 0:G} .headingLevel=${v} .loading=${e.waitingForResult} .selected=${K} @calciteFlowItemBack=${X=>{X.preventDefault(),this._handleFeatureMenuBack()}} @calciteFlowItemClose=${this._handleClose} @calciteFlowItemToggle=${this._handleCollapseToggle} ${m(this._featureMenuViewportNode)}>${s==="list"?this._renderHeaderActions():null}${w?n`<calcite-loader class="loader" inline .label=${a.loading??""} slot=header-actions-end></calcite-loader>`:null}${this._renderDiagnostics()}<div class="container">${this._renderFeatureMenu()}</div><div class="feature-menu-observer" aria-hidden=true ${m(this._featureMenuIntersectionObserverCreated)}></div>${s==="feature"?n`<calcite-button scale=s appearance=transparent @click=${this._handleFeatureMenuBack} slot=footer-start width=full .label=${y} title=${y??u}>${a.back}</calcite-button>`:null}</calcite-flow-item>`}_renderFlowItem(e,t){let{hideCloseButton:i,active:a,hideHeading:s,hideSelectFeature:o,messages:l}=this,r=l.returnToInitialFeature??"",d=l?.selectFeature,c="showAllEnabled"in e?e.showAllEnabled:!1,v=e.flowType==="feature"||e.flowType==="feature-association"||e.flowType==="feature-relationship"&&!c,F=e.flowType!=="feature"&&v&&"isFeatureFromTable"in e&&!e.isFeatureFromTable&&!o,p=e.flowType==="feature"&&this.viewModel.aggregatedFeaturesEnabled?n`<div class="footer" slot=footer>${this._renderPagination(()=>{this._aggregatedFeaturesComponent.value?.previous()},()=>{this._aggregatedFeaturesComponent.value?.next()})}${this._renderFeaturePaginationText(this._aggregatedFeatureCount,this._selectedAggregatedFeatureIndex)}</div>`:null;return n`<calcite-flow-item .closable=${!i} .closed=${!a} .focusTrapEnabled=${this.focusTrapEnabled} class="flow-item-drill-in" .description=${C(this._getDrillInFlowItemDescription(e)??"")} .heading=${s?void 0:C(e.heading??"")} .selected=${t} @calciteFlowItemBack=${w=>{w.preventDefault(),this._handleDrillInBackClick()}} .loading=${!!this._openRelatedFeatureAbortController} @calciteFlowItemClose=${this._handleClose}>${s?null:n`<div slot=heading><div .innerHTML=${M.sanitize(e.heading??"")??""}></div></div>`}<div slot=description><div .innerHTML=${M.sanitize(this._getDrillInFlowItemDescription(e)??"")??""}></div></div><calcite-action class="action-exit" icon=move-up @click=${this._removeFlowItems} slot=header-actions-start .text=${r??""} title=${r??""??u}></calcite-action>${F?n`<calcite-action icon=zoom-to-object @click=${()=>this._openRelatedFeature(e)} slot=header-actions-end .text=${d??""} title=${d??u}></calcite-action>`:null}${v&&this._renderActionBar(e)||""}<div class="container">${e}</div>${p}</calcite-flow-item>`}_renderContentContainer(){let e=this.flowItems?.toArray(),t=e.length>0,i=this.viewModel.aggregatedFeaturesEnabled&&this.viewModel.selectedFeature?.isAggregate&&!t,a=i&&e.length===0,s=e.length===0&&this._featureFlowItemSelected&&!i,o=e?.map((d,c)=>this._renderFlowItem(d,this._featureFlowItemSelected&&c===e.length-1)),l=this._renderBrowseAggregateContainer(!!a),r=this.initialDisplayMode==="list"?[this._renderFeatureMenuContainer(),this._renderContentFeature(s)]:[this._renderContentFeature(s),this._renderFeatureMenuContainer()];return n`<calcite-flow ${m(this._flowContainerNode)}>${r}${l}${o}</calcite-flow>`}_renderBrowseAggregateContainer(e){let{hideCloseButton:t,active:i,messages:a}=this,{selectedFeature:s}=this.viewModel,o=this.viewModel.aggregatedFeaturesEnabled&&s?.isAggregate,l=this._backLabel;return o?n`<calcite-flow-item .selected=${e} .closable=${!t} .closed=${!i} .focusTrapEnabled=${this.focusTrapEnabled} .description=${this._aggregatedFeatureCount?g(a.total??"",{total:this._aggregatedFeatureCount}):""} .heading=${a.aggregatedFeatures} @calciteFlowItemBack=${r=>{r.preventDefault(),this.viewModel.aggregatedFeaturesEnabled=!1}} .messageOverrides=${{back:l}} .loading=${this._aggregatedFeaturesLoading} @calciteFlowItemClose=${this._handleClose}><arcgis-aggregated-features .autoDestroyDisabled=${this.autoDestroyDisabled} .chartAnimationDisabled=${this.chartAnimationDisabled} .defaultPopupTemplateEnabled=${this.defaultPopupTemplateEnabled} .feature=${s??void 0} .flowItems=${this.flowItems} .headingLevel=${this.headingLevel+1} .hideAttachmentsContent=${this.hideAttachmentsContent} .hideContent=${this.hideContent} .hideCustomContent=${this.hideCustomContent} .hideEmptyRelationshipContent=${this.hideEmptyRelationshipContent} .hideExpressionContent=${this.hideExpressionContent} .hideFieldsContent=${this.hideFieldsContent} hide-heading .hideLastEditedInfo=${this.hideLastEditedInfo} .hideMediaContent=${this.hideMediaContent} .hideTextContent=${this.hideTextContent} .location=${this.location} .map=${this.map??void 0} .messageOverrides=${this.messageOverrides} .messages=${a} @arcgisPropertyChange=${this._handleAggregatedFeaturesPropertyChange} .showRelationshipContent=${!this.hideRelationshipContent} .showUtilityNetworkContent=${!this.hideUtilityNetworkContent} .spatialReference=${this.spatialReference??void 0} .timeZone=${this.timeZone??void 0} .view=${this.view??void 0} ${m(this._aggregatedFeaturesComponent)}></arcgis-aggregated-features><calcite-button appearance=transparent @click=${()=>this.viewModel.aggregatedFeaturesEnabled=!1} slot=footer-start scale=s width=full .label=${l} title=${l??u}>${a.back}</calcite-button></calcite-flow-item>`:null}_renderActionBar(e){let t=this.#e(e),i=!!t.length||this._hasActionsStartSlotContent||this._hasActionsEndSlotContent,a=this._isCollapsed||this.hideActionBar||!i;return n`<calcite-action-bar expand-toggle-disabled .expanded=${!this._hideActionText} scale=s slot=${(a?void 0:"action-bar")??u} .hidden=${a}><slot name=actions-start @slotchange=${this._handleActionsStartSlotChange}></slot><calcite-action-group overlay-positioning=fixed scale=s ${m(this._actionBarMenuNode)}>${this._renderActions(t,e)}</calcite-action-group><slot name=actions-end @slotchange=${this._handleActionsEndSlotChange}></slot></calcite-action-bar>`}_renderActions(e,t){return e.map(i=>{let a=this._getActionTitle(i,t),s=this._getActionLabel(i,t);return n`<calcite-action .active=${i.type==="toggle"?i.value:!1} .disabled=${i.disabled} .icon=${i.icon??void 0} .loading=${i.active} scale=s .textEnabled=${!this._hideActionText} .text=${a??""} .label=${s??a} title=${s??a??u} .hidden=${!i.visible} @click=${()=>this._triggerAction(i,t)}></calcite-action>`})}_renderContent(){let{content:e,selectedFeature:t,includeDefaultActions:i,actions:a}=this.viewModel;return t?n`<arcgis-feature-next .actions=${a} .autoDestroyDisabled=${this.autoDestroyDisabled} .chartAnimationDisabled=${this.chartAnimationDisabled} .defaultPopupTemplateEnabled=${this.defaultPopupTemplateEnabled} .flowItems=${this.flowItems} .graphic=${t} .headingLevel=${this.headingLevel+1} .hideAttachmentsContent=${this.hideAttachmentsContent} .hideContent=${this.hideContent} .hideCustomContent=${this.hideCustomContent} .hideEmptyRelationshipContent=${this.hideEmptyRelationshipContent} .hideExpressionContent=${this.hideExpressionContent} .hideFieldsContent=${this.hideFieldsContent} hide-heading .hideLastEditedInfo=${this.hideLastEditedInfo} .hideMediaContent=${this.hideMediaContent} .hideTextContent=${this.hideTextContent} .includeDefaultActions=${i} .location=${this.location} .map=${this.map} .messageOverrides=${this.messageOverrides} @arcgisPropertyChange=${()=>{this._selectedFeatureViewModel=this._selectedFeatureComponent.value?.viewModel}} .referenceElement=${this.referenceElement} .showRelationshipContent=${!this.hideRelationshipContent} .showUtilityNetworkContent=${!this.hideUtilityNetworkContent} .spatialReference=${this.spatialReference} .timeZone=${this.timeZone} ${m(this._selectedFeatureComponent)}></arcgis-feature-next>`:typeof e=="string"?T(e,n`<div .innerHTML=${M.sanitize(e)??""}></div>`):e??null}};N("arcgis-features-next",S);return S},"support/actions/ActionButton","core/Collection","popup/FeaturesModel","applications/Components/featureUtils","applications/Components/sanitizerUtils","applications/Components/stringUtils","intl","core/reactiveUtils","graphic/getGraphicOriginTitle",a,c,d,e,g,h,i,k,l)
|
package/dist/cdn/R5DBF7SZ.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
-
import{a as i}from"./4L43F7HU.js";import{e as y}from"./ZCFWKPXL.js";import{h as f}from"./GIBXI44G.js";import{a as d}from"./LXME6MU5.js";import{Q as m,R as u,T as p,X as g,_ as h,a as l,b as o}from"./7IGSTLKW.js";var v=l`:host{margin-inline:var(--calcite-space-sm)}.status-indicator{visibility:hidden}.publishing{visibility:visible;color:var(--calcite-color-text-2);transform-origin:var(--calcite-list-item-icon-center) var(--calcite-list-item-icon-center);animation:2s infinite arcgis-layer-list__publishing-anim}.updating{visibility:visible;animation:2s infinite arcgis-layer-list__updating-anim}.connection-status{visibility:visible;color:var(--calcite-color-status-warning);width:var(--calcite-spacing-xl);height:var(--calcite-spacing-xl)}.connection-status--connected{color:var(--calcite-color-status-success)}@keyframes arcgis-layer-list__updating-anim{0%,40%{color:transparent}50%,80%{color:var(--calcite-color-brand)}to{color:transparent}}@keyframes arcgis-layer-list__publishing-anim{0%,20%{transform:rotate(45deg)}80%,to{transform:rotate(135deg)}}`,r=class extends u{constructor(){super(...arguments),this.autoDestroyDisabled=!1,this.arcgisPropertyChange=f()("item","parent")}static{this.properties={_iconEl:16,item:0,parent:0,messages:0,autoDestroyDisabled:5}}static{this.styles=[v]}async destroy(){await this.manager.destroy()}_setIconEl(s){this._iconEl=s}getTooltipText(s,a,n,t){let e=c=>typeof c=="string"?c:"";if(s)return e(t?.publishing);if(a)return e(t?.updating);switch(n){case"connected":return e(t?.connected);case"paused":return e(t?.paused);default:return e(t?.disconnected)}}render(){if(!this.item)return null;let s="publishing"in this.item&&this.item.publishing,a="updating"in this.item&&this.item.updating&&!this.parent,n="connectionStatus"in this.item?this.item.connectionStatus:void 0,t=!!n,e=s||a||t?y({connectionStatus:n,publishing:s}):"blank",{messages:c}=this,b=this.getTooltipText(s,a,n,c);return o`<calcite-icon class=${p(d(i.statusIndicator,{[i.publishing]:s},"updating"in i&&{[i.updating]:a},"connectionStatus"in i&&{[i.connectionStatus]:t},"connectionStatusConnected"in i&&{[i.connectionStatusConnected]:t&&n==="connected"}))} title=${c?.connectionStatus??g} .icon=${e} scale=s ${m(this._setIconEl)}></calcite-icon>${this._iconEl?o`<calcite-tooltip placement=top .referenceElement=${this._iconEl}>${b}</calcite-tooltip>`:null}`}};h("arcgis-layer-list-item-indicator",r);export{r as a};
|
package/dist/cdn/SIXKHDVJ.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
-
import a from"./2T3ALADJ.js";import"./DYUFBVXE.js";import"./7465ANAR.js";import"./GIBXI44G.js";import"./RQT2PVDJ.js";import"./LXME6MU5.js";import"./7IGSTLKW.js";import"./TAVTDQ6S.js";export default $arcgis.t(([a])=>{return a},a)
|