@arcgis/map-components 6.0.0-next.2 → 6.0.0-next.21
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/22RLIDCP.js +2 -0
- package/dist/cdn/{5TKSFDKY.js → 27TSPXYV.js} +1 -1
- package/dist/cdn/{3ONY25MG.js → 2GPVEWYM.js} +1 -1
- package/dist/cdn/2IBL2HKQ.js +2 -0
- package/dist/cdn/2NM6UWC4.js +2 -0
- package/dist/cdn/{DSD2SY73.js → 2P5AJORF.js} +1 -1
- package/dist/cdn/2PLAZVGP.js +2 -0
- package/dist/cdn/2RQGZLOJ.js +2 -0
- package/dist/cdn/2SQGIY7T.js +2 -0
- package/dist/cdn/2UAH624K.js +2 -0
- package/dist/cdn/2WJ53TNR.js +2 -0
- package/dist/cdn/{2SO5S66J.js → 2YXWKKNB.js} +1 -1
- package/dist/cdn/{65MI3MW2.js → 32526XJ7.js} +1 -1
- package/dist/cdn/34XDXFK6.js +2 -0
- package/dist/cdn/3B4VHD67.js +2 -0
- package/dist/cdn/3EXEL7AM.js +2 -0
- package/dist/cdn/3GN3DAON.js +2 -0
- package/dist/cdn/{HI7BF3DL.js → 3MWXYWKR.js} +1 -1
- package/dist/cdn/3SXQLU4S.js +2 -0
- package/dist/cdn/{3C6FN5WT.js → 3W7KESW7.js} +1 -1
- package/dist/cdn/43IGD6V3.js +2 -0
- package/dist/cdn/4DPAOAMZ.js +2 -0
- package/dist/cdn/4FFEPX2D.js +2 -0
- package/dist/cdn/{ZHSESERJ.js → 4H2REMNG.js} +1 -1
- package/dist/cdn/4I6F64B2.js +2 -0
- package/dist/cdn/4IG6WUCI.js +2 -0
- package/dist/cdn/4LNXCEM5.js +2 -0
- package/dist/cdn/4LO7PNX7.js +2 -0
- package/dist/cdn/{UUHCMLK6.js → 4LWSF6AI.js} +1 -1
- package/dist/cdn/{FHHVGI4H.js → 4P4NKBQC.js} +1 -1
- package/dist/cdn/{QEPANMVK.js → 4PDZTEB2.js} +1 -1
- package/dist/cdn/4WZZZTT5.js +2 -0
- package/dist/cdn/55VX76T5.js +2 -0
- package/dist/cdn/57LPG3BE.js +2 -0
- package/dist/cdn/5A7LDBDR.js +2 -0
- package/dist/cdn/5DN4ONEW.js +2 -0
- package/dist/cdn/{RRSU6QD4.js → 5FBHHKRV.js} +1 -1
- package/dist/cdn/{PIDNZKSJ.js → 5GFPOTOB.js} +1 -1
- package/dist/cdn/{VLPNB2Z3.js → 5GGAWGSN.js} +1 -1
- package/dist/cdn/{R5TXJ5FN.js → 5GTPIPN7.js} +1 -1
- package/dist/cdn/5V6BNJ5O.js +2 -0
- package/dist/cdn/{FPPWXIBA.js → 5V6K43GW.js} +1 -1
- package/dist/cdn/{HTC4LCZQ.js → 5XZKVLHC.js} +1 -1
- package/dist/cdn/{AO6ONNIJ.js → 62HMPABL.js} +1 -1
- package/dist/cdn/62OAO327.js +2 -0
- package/dist/cdn/6DRXFSTW.js +2 -0
- package/dist/cdn/{WS46QSWM.js → 6G5QADEG.js} +1 -1
- package/dist/cdn/6HDYZ7WW.js +2 -0
- package/dist/cdn/6KYZMT4A.js +2 -0
- package/dist/cdn/6QWLMG5M.js +2 -0
- package/dist/cdn/6SL7YNKF.js +2 -0
- package/dist/cdn/6WFVZM5S.js +2 -0
- package/dist/cdn/6Y7Q7GRB.js +2 -0
- package/dist/cdn/74PUSJU5.js +2 -0
- package/dist/cdn/7EIN5VCY.js +2 -0
- package/dist/cdn/7EKBNXGL.js +2 -0
- package/dist/cdn/7ILT5PDJ.js +2 -0
- package/dist/cdn/7JK4JGPG.js +2 -0
- package/dist/cdn/7JPHMESH.js +2 -0
- package/dist/cdn/7LO6ACC7.js +2 -0
- package/dist/cdn/{N3DTZRST.js → 7V7LQ35Q.js} +1 -1
- package/dist/cdn/{SIFBGT4D.js → 7Y4SF2NT.js} +1 -1
- package/dist/cdn/7Y6PADB5.js +2 -0
- package/dist/cdn/{RVIHQZ44.js → 7YT5W57B.js} +1 -1
- package/dist/cdn/7ZWBGSCM.js +2 -0
- package/dist/cdn/A5IFDSOU.js +2 -0
- package/dist/cdn/{PPAFKBPN.js → AHWBCZBO.js} +1 -1
- package/dist/cdn/AKGUTL2V.js +2 -0
- package/dist/cdn/{PCOXR45L.js → AKTIOEYM.js} +1 -1
- package/dist/cdn/AMRGLUBB.js +2 -0
- package/dist/cdn/AOGDXJ2J.js +2 -0
- package/dist/cdn/ARN5ZKLI.js +2 -0
- package/dist/cdn/{KBA5OIES.js → AUP633OS.js} +1 -1
- package/dist/cdn/{HY2JY2TT.js → AYQJ2LTV.js} +1 -1
- package/dist/cdn/B2TICPHR.js +2 -0
- package/dist/cdn/BDZHLGVT.js +2 -0
- package/dist/cdn/{Z2UUXST4.js → BFYJTV6Q.js} +1 -1
- package/dist/cdn/BJ35LPCU.js +2 -0
- package/dist/cdn/BJI5DVB5.js +2 -0
- package/dist/cdn/BJJZGYBG.js +2 -0
- package/dist/cdn/BLYXYNGB.js +2 -0
- package/dist/cdn/{RUYAWRPV.js → BOPNSNUT.js} +1 -1
- package/dist/cdn/BUH3AQ7E.js +2 -0
- package/dist/cdn/{QT7GRA34.js → BVRQWRKX.js} +1 -1
- package/dist/cdn/C6K7TZ27.js +2 -0
- package/dist/cdn/{JS3IKVKM.js → CHMBPPHS.js} +1 -1
- package/dist/cdn/CLICUS2A.js +2 -0
- package/dist/cdn/COSETVX4.js +2 -0
- package/dist/cdn/{XP74F2F6.js → CWCVAPXD.js} +1 -1
- package/dist/cdn/CXXBV6RJ.js +2 -0
- package/dist/cdn/DCO26B7J.js +2 -0
- package/dist/cdn/DDGUDJJZ.js +2 -0
- package/dist/cdn/DEW5IWND.js +2 -0
- package/dist/cdn/DFNH6YRR.js +2 -0
- package/dist/cdn/DFTYQJWJ.js +2 -0
- package/dist/cdn/DFZ22GLY.js +2 -0
- package/dist/cdn/DGSTI5DI.js +2 -0
- package/dist/cdn/{B32GNMHD.js → DLUFAV4S.js} +1 -1
- package/dist/cdn/{J6HOUEVT.js → DPEWQQEB.js} +1 -1
- package/dist/cdn/DS6EUOYE.js +2 -0
- package/dist/cdn/DSIYRWN2.js +2 -0
- package/dist/cdn/DWPXOIRF.js +2 -0
- package/dist/cdn/{S6BPBG7D.js → DZIJPJS3.js} +1 -1
- package/dist/cdn/E6ZXXC74.js +2 -0
- package/dist/cdn/{PWHXRRFU.js → EB4V6SPF.js} +1 -1
- package/dist/cdn/{UVJWDKLK.js → ECA47Z37.js} +1 -1
- package/dist/cdn/ECUVJOIW.js +2 -0
- package/dist/cdn/ED2T4ASN.js +2 -0
- package/dist/cdn/EP27GLNL.js +2 -0
- package/dist/cdn/{EK7Y6JBZ.js → EXB4CY2Y.js} +1 -1
- package/dist/cdn/{SAOLD6MH.js → EZHYSI6R.js} +1 -1
- package/dist/cdn/F2DTKJTK.js +2 -0
- package/dist/cdn/F74YQZ2X.js +2 -0
- package/dist/cdn/{VUAYNF3K.js → FDESUDJ5.js} +1 -1
- package/dist/cdn/FGU7NUST.js +2 -0
- package/dist/cdn/{M6YVO33A.js → FH6Q5A5L.js} +1 -1
- package/dist/cdn/{EPAR65ZP.js → FJMXBIN5.js} +1 -1
- package/dist/cdn/FMLDKHWP.js +3 -0
- package/dist/cdn/FOKE5ILO.js +2 -0
- package/dist/cdn/{ZIBQTNB6.js → FQ3ZJA4Q.js} +1 -1
- package/dist/cdn/{MA7GBKLW.js → FZGMIIBX.js} +1 -1
- package/dist/cdn/G2ACNJGG.js +2 -0
- package/dist/cdn/G2PLGAUY.js +2 -0
- package/dist/cdn/{2BUURGFL.js → G4IKO2R6.js} +1 -1
- package/dist/cdn/G56N6RF4.js +2 -0
- package/dist/cdn/{M7AFSV3C.js → GCPR7XFU.js} +1 -1
- package/dist/cdn/{WBBTZNZU.js → GEOME3IC.js} +1 -1
- package/dist/cdn/{PZZU36OG.js → GFC6LS4L.js} +1 -1
- package/dist/cdn/GKNGEZCO.js +2 -0
- package/dist/cdn/{MICLX7QW.js → GPYZM5CC.js} +1 -1
- package/dist/cdn/GQQTIX2X.js +2 -0
- package/dist/cdn/H4BTVLCG.js +2 -0
- package/dist/cdn/{FQSHLYKX.js → HLOH2QPV.js} +1 -1
- package/dist/cdn/I52P5EXK.js +2 -0
- package/dist/cdn/{CAC3OOFR.js → IAYL44LK.js} +1 -1
- package/dist/cdn/IFLDLAK4.js +2 -0
- package/dist/cdn/IN7TMVRK.js +2 -0
- package/dist/cdn/IOUO7KBT.js +2 -0
- package/dist/cdn/{YQV2OMBS.js → IRFIHD5X.js} +1 -1
- package/dist/cdn/{MYLIX42T.js → IZFEOYED.js} +1 -1
- package/dist/cdn/JB6WQEFJ.js +2 -0
- package/dist/cdn/{YZJKSAQ5.js → JBD7Q5YD.js} +1 -1
- package/dist/cdn/JN6RVFAM.js +2 -0
- package/dist/cdn/JUOOKKZJ.js +2 -0
- package/dist/cdn/JUYPQUPQ.js +2 -0
- package/dist/cdn/KAG4QZ7K.js +2 -0
- package/dist/cdn/KE2ER3F7.js +2 -0
- package/dist/cdn/KIHYSYOL.js +2 -0
- package/dist/cdn/{QKZ552KI.js → KIWV2RIN.js} +1 -1
- package/dist/cdn/{A6H4JIO7.js → KOMTNQPT.js} +1 -1
- package/dist/cdn/{TKILR2SM.js → KXD4VEKE.js} +1 -1
- package/dist/cdn/{DY2EOHFD.js → L4WLEN3C.js} +1 -1
- package/dist/cdn/{OUC5HWPQ.js → L5XC4FXT.js} +1 -1
- package/dist/cdn/L6FLCEH6.js +2 -0
- package/dist/cdn/LILX2DJE.js +2 -0
- package/dist/cdn/LKGURYDH.js +2 -0
- package/dist/cdn/LRH4FKHU.js +2 -0
- package/dist/cdn/{HKVIWCPL.js → LS4U4GD5.js} +1 -1
- package/dist/cdn/{OAYNZFL2.js → LSLTIN2Q.js} +1 -1
- package/dist/cdn/LTFGTX7S.js +2 -0
- package/dist/cdn/LUW2PXWZ.js +2 -0
- package/dist/cdn/{7DM32WQP.js → LVIYMA67.js} +1 -1
- package/dist/cdn/LWVYNWD5.js +2 -0
- package/dist/cdn/LXHZGIW5.js +2 -0
- package/dist/cdn/LXJURAXP.js +2 -0
- package/dist/cdn/LXME6MU5.js +2 -0
- package/dist/cdn/M37TWKYP.js +2 -0
- package/dist/cdn/M3CIFZFR.js +2 -0
- package/dist/cdn/M5OK7RKI.js +2 -0
- package/dist/cdn/M7MRLBZA.js +2 -0
- package/dist/cdn/MA2DWIGR.js +2 -0
- package/dist/cdn/MBLS5ES4.js +2 -0
- package/dist/cdn/{PBHNO4J7.js → MDS3NVWM.js} +1 -1
- package/dist/cdn/{LYT35TNY.js → MEISDI2H.js} +1 -1
- package/dist/cdn/MGH6EHT7.js +2 -0
- package/dist/cdn/MNL7ONFB.js +2 -0
- package/dist/cdn/{6MCDOI5M.js → N2YWWQOS.js} +1 -1
- package/dist/cdn/N4D5I6Y4.js +2 -0
- package/dist/cdn/NHMHVWNB.js +2 -0
- package/dist/cdn/NKFAPBY3.js +2 -0
- package/dist/cdn/NQ3COROI.js +2 -0
- package/dist/cdn/NTHSQXKG.js +2 -0
- package/dist/cdn/NTT5IV4A.js +2 -0
- package/dist/cdn/{SQEKT3GV.js → NVKOZL7X.js} +1 -1
- package/dist/cdn/{SMVLPJDD.js → NVN2CATF.js} +1 -1
- package/dist/cdn/{EMXGW73P.js → NZQLQGTQ.js} +1 -1
- package/dist/cdn/{3GHQZCMV.js → O46PVNMT.js} +1 -1
- package/dist/cdn/O5HQ5YZK.js +2 -0
- package/dist/cdn/{XDU23V37.js → OFBWNR54.js} +1 -1
- package/dist/cdn/OJJSIN3V.js +2 -0
- package/dist/cdn/{JRCEICO2.js → OLSESBZ7.js} +1 -1
- package/dist/cdn/{HPWF3IQV.js → OLY5EME5.js} +1 -1
- package/dist/cdn/{FSBLGH6E.js → ONYCZO7Y.js} +1 -1
- package/dist/cdn/OQ6SYZBT.js +2 -0
- package/dist/cdn/{H7NR6B6S.js → ORVSAF3Z.js} +1 -1
- package/dist/cdn/{FZAQZSRA.js → OZF64H7N.js} +1 -1
- package/dist/cdn/P3565WG3.js +2 -0
- package/dist/cdn/P65FMRMP.js +2 -0
- package/dist/cdn/{ESOCZAMZ.js → PCXDOSKQ.js} +1 -1
- package/dist/cdn/PFSIUSDJ.js +2 -0
- package/dist/cdn/PHVKEWZ7.js +2 -0
- package/dist/cdn/PKYYNRBS.js +2 -0
- package/dist/cdn/PQ7NUE5C.js +4 -0
- package/dist/cdn/{5DY7GHBN.js → PRUHLC54.js} +1 -1
- package/dist/cdn/{ZDMSSGIM.js → PWZHB6VD.js} +1 -1
- package/dist/cdn/PXDX3LCI.js +2 -0
- package/dist/cdn/PYBUTNHM.js +2 -0
- package/dist/cdn/Q6RSVQNE.js +2 -0
- package/dist/cdn/Q7GF26CL.js +2 -0
- package/dist/cdn/QAOT2TJ6.js +2 -0
- package/dist/cdn/QET5SVDO.js +2 -0
- package/dist/cdn/QKGJVGXJ.js +2 -0
- package/dist/cdn/QUPDTNAC.js +2 -0
- package/dist/cdn/{BQBWXR6P.js → QVJ2FUNW.js} +1 -1
- package/dist/cdn/{Z2WYULU3.js → QWMDZDQA.js} +1 -1
- package/dist/cdn/{OAMA6SL3.js → QZVF23GH.js} +1 -1
- package/dist/cdn/{OAMPGCZF.js → RBRDUDEY.js} +1 -1
- package/dist/cdn/{ZSPYPXBY.js → REB4CHAK.js} +1 -1
- package/dist/cdn/RINX3CTL.js +2 -0
- package/dist/cdn/ROHGHCK6.js +2 -0
- package/dist/cdn/{OJIYHIGC.js → RTDY3HLR.js} +1 -1
- package/dist/cdn/S4L4V6FJ.js +2 -0
- package/dist/cdn/SAQ5BNZJ.js +2 -0
- package/dist/cdn/{53OXTCE6.js → SDLZ4BNM.js} +1 -1
- package/dist/cdn/{WNWTWPV6.js → SFDCS6A2.js} +1 -1
- package/dist/cdn/SI2DEXWH.js +2 -0
- package/dist/cdn/{VDEMMP33.js → SIT5NBLS.js} +1 -1
- package/dist/cdn/SJGQALDG.js +2 -0
- package/dist/cdn/SJGWHUCR.js +2 -0
- package/dist/cdn/SKAZPI3A.js +2 -0
- package/dist/cdn/{4IU5R6VO.js → SLNXNVPI.js} +1 -1
- package/dist/cdn/{2DAGREZP.js → SLQPDAGN.js} +1 -1
- package/dist/cdn/SU2SAOBL.js +2 -0
- package/dist/cdn/{VTCE3YQW.js → SXW4GFL3.js} +1 -1
- package/dist/cdn/{DN2EFA4T.js → T34W3GKP.js} +1 -1
- package/dist/cdn/T3MDSQ3T.js +2 -0
- package/dist/cdn/T4Z2B3T7.js +2 -0
- package/dist/cdn/TDYIVFVF.js +2 -0
- package/dist/cdn/{5RAIBYCT.js → TKD5T5DW.js} +1 -1
- package/dist/cdn/{IQEEQOMD.js → TP2KQRW6.js} +1 -1
- package/dist/cdn/U77WHUC6.js +2 -0
- package/dist/cdn/{TDZIH5OK.js → UE6EBLH3.js} +1 -1
- package/dist/cdn/UFDB6U6V.js +2 -0
- package/dist/cdn/UFK7DHVC.js +2 -0
- package/dist/cdn/UHDJ2SI5.js +2 -0
- package/dist/cdn/UI4IEVSV.js +2 -0
- package/dist/cdn/UKIVMO7H.js +2 -0
- package/dist/cdn/UPCWZNTA.js +2 -0
- package/dist/cdn/{E54VGGFM.js → UR3Z5YHW.js} +1 -1
- package/dist/cdn/{P2I63WVL.js → UVAUYBWF.js} +1 -1
- package/dist/cdn/{52CUDGKY.js → UVPQKV5P.js} +1 -1
- package/dist/cdn/{YDZZPLVB.js → UYAOMCP7.js} +1 -1
- package/dist/cdn/UYDXI4AK.js +4 -0
- package/dist/cdn/V4AT7ENI.js +2 -0
- package/dist/cdn/V4JCZIP5.js +2 -0
- package/dist/cdn/{GNSNEUMI.js → V7DMA5ZO.js} +1 -1
- package/dist/cdn/VEV3AAVP.js +2 -0
- package/dist/cdn/VHZM25YV.js +2 -0
- package/dist/cdn/{HQWUQFN5.js → VKO3CVBS.js} +1 -1
- package/dist/cdn/VLHURRRU.js +2 -0
- package/dist/cdn/VM5QVCMC.js +2 -0
- package/dist/cdn/VPDDFGYQ.js +2 -0
- package/dist/cdn/VWUH2VUY.js +2 -0
- package/dist/cdn/VWW5GBIK.js +2 -0
- package/dist/cdn/{ZAUG5MSY.js → W4GNRGIN.js} +1 -1
- package/dist/cdn/{ZO7TUIUE.js → WG5PHRPT.js} +1 -1
- package/dist/cdn/WKI4XW7G.js +2 -0
- package/dist/cdn/WTAAQHO3.js +2 -0
- package/dist/cdn/WUWF6ZDM.js +2 -0
- package/dist/cdn/{DUMHDAYP.js → WVKMYNN7.js} +1 -1
- package/dist/cdn/{2UKSCGYU.js → WW7YOPDY.js} +1 -1
- package/dist/cdn/{HBWEW6R7.js → XCSF7KJK.js} +1 -1
- package/dist/cdn/{MTFIK3F4.js → XGWYQ7FU.js} +1 -1
- package/dist/cdn/XLB473BN.js +2 -0
- package/dist/cdn/XLZB6JMZ.js +2 -0
- package/dist/cdn/{CKS5ACAB.js → XO7X6L4B.js} +1 -1
- package/dist/cdn/XPBFBRSY.js +2 -0
- package/dist/cdn/{2ZMXUAQZ.js → XQ2WXTW7.js} +1 -1
- package/dist/cdn/XTCYIS4Z.js +2 -0
- package/dist/cdn/{EV7IIQBP.js → XYAJT7LP.js} +1 -1
- package/dist/cdn/Y3E2FJPQ.js +2 -0
- package/dist/cdn/Y4C7JJCJ.js +2 -0
- package/dist/cdn/{J3FRSWZD.js → Y6NC7ML3.js} +1 -1
- package/dist/cdn/Y6WTYXVP.js +2 -0
- package/dist/cdn/{WSHG4LV7.js → Y7IM3OFU.js} +1 -1
- package/dist/cdn/Y7XSHXVA.js +2 -0
- package/dist/cdn/YAWLVMV6.js +2 -0
- package/dist/cdn/{PGUZODKZ.js → YBJ6ZAPO.js} +1 -1
- package/dist/cdn/YBSEIOQX.js +2 -0
- package/dist/cdn/YBXCTOS7.js +2 -0
- package/dist/cdn/{Z6AVJWLP.js → YC7VLNKI.js} +1 -1
- package/dist/cdn/YDILFOHE.js +2 -0
- package/dist/cdn/YEKQVWF5.js +2 -0
- package/dist/cdn/{W3TSTSES.js → YJROHURO.js} +1 -1
- package/dist/cdn/YYCTSS52.js +2 -0
- package/dist/cdn/Z42MH42I.js +2 -0
- package/dist/cdn/Z6NHKWWS.js +2 -0
- package/dist/cdn/ZC5YVHZ3.js +2 -0
- package/dist/cdn/{D7FBQECJ.js → ZCL4XHIZ.js} +1 -1
- package/dist/cdn/{IAWXCNTX.js → ZE4UHSTB.js} +1 -1
- package/dist/cdn/{26URLKXD.js → ZH3MW6H3.js} +1 -1
- package/dist/cdn/{Q4L65YE5.js → ZHYXFOYU.js} +1 -1
- package/dist/cdn/{6VO7G2UX.js → ZJPYW3TN.js} +1 -1
- package/dist/cdn/{F5IHFPKA.js → ZKKZQVJT.js} +1 -1
- package/dist/cdn/{FACY5XHG.js → ZNIMZP5R.js} +1 -1
- package/dist/cdn/{V2YPYCU6.js → ZNV3M5P2.js} +1 -1
- package/dist/cdn/ZPA5JUPD.js +2 -0
- package/dist/cdn/{M3FI4K44.js → ZSKO7HLH.js} +1 -1
- package/dist/cdn/assets/bookmarks/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/feature-form-next/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/feature-next/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/features-next/t9n/messages.en.json +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/cdn/main.css +1 -1
- package/dist/chunks/attachment-utils.js +5 -5
- package/dist/chunks/dateUtils.js +1 -1
- package/dist/chunks/esri-main.js +1 -1
- package/dist/chunks/loader-utils.js +43 -0
- package/dist/chunks/resources.js +10 -4
- package/dist/chunks/slots.js +3 -3
- package/dist/chunks/useArcgisViewReadyError.js +224 -158
- package/dist/components/arcgis-add-attachment-view/customElement.d.ts +42 -9
- package/dist/components/arcgis-area-measurement-2d/customElement.d.ts +8 -3
- package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +8 -3
- package/dist/components/arcgis-attachment-detail-view/customElement.d.ts +200 -0
- package/dist/components/arcgis-attachment-detail-view/customElement.js +126 -0
- package/dist/components/arcgis-attachment-detail-view/index.d.ts +1 -0
- package/dist/components/arcgis-attachment-detail-view/index.js +8 -0
- package/dist/components/arcgis-attachment-preview/customElement.d.ts +47 -9
- package/dist/components/arcgis-attachment-preview/customElement.js +12 -10
- package/dist/components/arcgis-attachment-thumbnail/customElement.d.ts +42 -9
- package/dist/components/arcgis-attachment-validation-view/customElement.d.ts +42 -9
- package/dist/components/arcgis-basemap-gallery/customElement.d.ts +4 -4
- package/dist/components/arcgis-basemap-gallery/customElement.js +10 -10
- package/dist/components/arcgis-building-level-item/customElement.js +1 -1
- package/dist/components/arcgis-catalog-layer-list-next/customElement.d.ts +3 -3
- package/dist/components/arcgis-coordinate-conversion-next/customElement.js +29 -29
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.d.ts +8 -3
- package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +8 -3
- package/dist/components/arcgis-editor/customElement.d.ts +26 -21
- package/dist/components/arcgis-editor/customElement.js +19 -14
- package/dist/components/arcgis-elevation-profile/customElement.d.ts +15 -7
- package/dist/components/arcgis-elevation-profile/customElement.js +100 -102
- package/dist/components/arcgis-exploratory-analysis/customElement.d.ts +7 -0
- package/dist/components/arcgis-exploratory-analysis/customElement.js +51 -51
- package/dist/components/arcgis-feature-fields/customElement.js +20 -20
- package/dist/components/arcgis-feature-form-field/customElement.d.ts +42 -9
- package/dist/components/arcgis-feature-next/customElement.js +21 -14
- package/dist/components/arcgis-feature-table/customElement.d.ts +58 -39
- package/dist/components/arcgis-features/customElement.d.ts +1 -1
- package/dist/components/arcgis-features/customElement.js +12 -11
- package/dist/components/arcgis-features-next/customElement.d.ts +10 -4
- package/dist/components/arcgis-features-next/customElement.js +174 -137
- 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-fullscreen/customElement.js +4 -4
- package/dist/components/arcgis-layer-list-next/customElement.d.ts +1 -1
- package/dist/components/arcgis-legend/customElement.d.ts +2 -0
- package/dist/components/arcgis-line-of-sight/customElement.d.ts +15 -3
- package/dist/components/arcgis-line-of-sight/customElement.js +1 -1
- package/dist/components/arcgis-link-chart/customElement.d.ts +27 -20
- package/dist/components/arcgis-link-chart/customElement.js +28 -28
- package/dist/components/arcgis-locate/customElement.js +6 -6
- package/dist/components/arcgis-map/customElement.d.ts +44 -36
- package/dist/components/arcgis-map/customElement.js +21 -21
- package/dist/components/arcgis-measurement-content/customElement.js +6 -6
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.d.ts +10 -2
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +8 -5
- package/dist/components/arcgis-popup/customElement.d.ts +10 -4
- package/dist/components/arcgis-popup/customElement.js +32 -28
- package/dist/components/arcgis-print-datum-transformation-input/customElement.js +17 -17
- package/dist/components/arcgis-scene/customElement.d.ts +27 -20
- package/dist/components/arcgis-scene/customElement.js +19 -19
- package/dist/components/arcgis-search/customElement.d.ts +1 -2
- package/dist/components/arcgis-selection-list/customElement.js +1 -1
- package/dist/components/arcgis-sketch/customElement.d.ts +19 -10
- package/dist/components/arcgis-sketch/customElement.js +393 -235
- package/dist/components/arcgis-sketch/toolbar-sizing-controller.d.ts +96 -0
- package/dist/components/arcgis-slice/customElement.js +24 -24
- package/dist/components/arcgis-slider-scale-range/customElement.d.ts +12 -4
- package/dist/components/arcgis-slider-scale-range/customElement.js +5 -5
- package/dist/components/arcgis-slider-scale-range/spriteSheetsUtils.d.ts +8 -3
- package/dist/components/arcgis-swipe/customElement.d.ts +10 -9
- package/dist/components/arcgis-swipe/customElement.js +246 -46
- package/dist/components/arcgis-swipe/types.d.ts +3 -0
- package/dist/components/arcgis-table-list-next/customElement.d.ts +1 -1
- package/dist/components/arcgis-time-bar/TimeBarViewModel.d.ts +2 -4
- package/dist/components/arcgis-time-bar/customElement.js +122 -120
- package/dist/components/arcgis-time-bar-date/customElement.js +10 -10
- package/dist/components/arcgis-time-bar-extent/customElement.js +9 -9
- package/dist/components/arcgis-time-bar-slider/customElement.d.ts +8 -0
- package/dist/components/arcgis-time-bar-slider/customElement.js +57 -62
- package/dist/components/arcgis-track/customElement.d.ts +3 -3
- package/dist/components/arcgis-track/types.d.ts +1 -1
- package/dist/components/arcgis-utility-network-trace-aggregated-geometry-result-item/customElement.d.ts +100 -20
- package/dist/components/arcgis-utility-network-trace-analysis/customElement.d.ts +9 -5
- package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +61 -68
- package/dist/components/arcgis-utility-network-trace-elements-result-item/customElement.d.ts +117 -29
- package/dist/components/arcgis-utility-network-trace-elements-result-item/customElement.js +10 -10
- package/dist/components/arcgis-utility-network-trace-functions-result-item/customElement.d.ts +56 -9
- package/dist/components/arcgis-utility-network-trace-inputs/customElement.d.ts +26 -3
- package/dist/components/arcgis-utility-network-trace-inputs/customElement.js +53 -50
- package/dist/components/arcgis-utility-network-trace-results/customElement.d.ts +237 -33
- package/dist/components/arcgis-utility-network-validate-network-topology/customElement.js +1 -1
- package/dist/components/arcgis-version-management/customElement.js +37 -37
- package/dist/components/arcgis-video/customElement.js +6 -6
- package/dist/components/arcgis-video-player/VideoPlayerViewModel.d.ts +2 -1
- package/dist/components/arcgis-video-player/customElement.d.ts +2 -6
- package/dist/components/arcgis-video-player/types.d.ts +6 -0
- package/dist/components/arcgis-volume-measurement/customElement.d.ts +30 -10
- package/dist/components/arcgis-volume-measurement/customElement.js +62 -62
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/vscode.css-custom-data.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 +22 -0
- package/dist/loader.js +9 -8
- package/dist/types/lumina.d.ts +17 -6
- package/dist/types/preact.d.ts +18 -6
- package/dist/types/react.d.ts +19 -6
- package/dist/types/stencil.d.ts +17 -6
- package/package.json +9 -9
- package/dist/cdn/2BGZVOT3.js +0 -2
- package/dist/cdn/2F4IGA4W.js +0 -2
- package/dist/cdn/2KPCMM7D.js +0 -2
- package/dist/cdn/2S7DLLA7.js +0 -2
- package/dist/cdn/2TY3T3GH.js +0 -2
- package/dist/cdn/2U3VASQT.js +0 -2
- package/dist/cdn/3N5MWYUQ.js +0 -2
- package/dist/cdn/3UMLR76Y.js +0 -4
- package/dist/cdn/3VCGDZEU.js +0 -2
- package/dist/cdn/4432P7Z5.js +0 -2
- package/dist/cdn/44CQCIZB.js +0 -2
- package/dist/cdn/4B2TLORL.js +0 -2
- package/dist/cdn/4IWYFG2G.js +0 -2
- package/dist/cdn/4KQA2GRX.js +0 -2
- package/dist/cdn/4O3HLHQQ.js +0 -2
- package/dist/cdn/4PI54LJH.js +0 -2
- package/dist/cdn/4WKWYFIH.js +0 -2
- package/dist/cdn/4XJ6RYYC.js +0 -2
- package/dist/cdn/4ZLIA5OM.js +0 -2
- package/dist/cdn/5AMF6NZN.js +0 -2
- package/dist/cdn/5ESNA4SF.js +0 -2
- package/dist/cdn/62IE7RFR.js +0 -2
- package/dist/cdn/67PT3A4A.js +0 -2
- package/dist/cdn/6A2OF3TO.js +0 -2
- package/dist/cdn/6QH2NH2Z.js +0 -2
- package/dist/cdn/6UYEO5Q7.js +0 -2
- package/dist/cdn/77U2VO5P.js +0 -2
- package/dist/cdn/7DFCYS72.js +0 -2
- package/dist/cdn/7FCZLFJD.js +0 -2
- package/dist/cdn/7FFBCPVE.js +0 -2
- package/dist/cdn/7TULU5QF.js +0 -2
- package/dist/cdn/7VDBR3SK.js +0 -2
- package/dist/cdn/7VJQVX42.js +0 -2
- package/dist/cdn/A3DPMZWE.js +0 -2
- package/dist/cdn/A4VK42OW.js +0 -2
- package/dist/cdn/A7RLC6ZT.js +0 -2
- package/dist/cdn/AL3PLZEE.js +0 -2
- package/dist/cdn/ALVAGE57.js +0 -2
- package/dist/cdn/AS4FG6IT.js +0 -2
- package/dist/cdn/BI2SI2HK.js +0 -2
- package/dist/cdn/BLOQ2AJ5.js +0 -2
- package/dist/cdn/BM4TS2RT.js +0 -2
- package/dist/cdn/BQGY4YCS.js +0 -2
- package/dist/cdn/BTVNXUZQ.js +0 -2
- package/dist/cdn/BVTEQMDF.js +0 -2
- package/dist/cdn/CBVICP6P.js +0 -2
- package/dist/cdn/CHL5VZJQ.js +0 -3
- package/dist/cdn/CNYZSE22.js +0 -2
- package/dist/cdn/COCGWEUR.js +0 -2
- package/dist/cdn/CP5JALYQ.js +0 -2
- package/dist/cdn/CPYVZPJ7.js +0 -2
- package/dist/cdn/CR6PVUCT.js +0 -2
- package/dist/cdn/DDSIQO4G.js +0 -2
- package/dist/cdn/DK7HXJSX.js +0 -2
- package/dist/cdn/DLWQZHNA.js +0 -2
- package/dist/cdn/DTORO2OE.js +0 -2
- package/dist/cdn/DYUCS5QP.js +0 -2
- package/dist/cdn/DYWCAORU.js +0 -2
- package/dist/cdn/E5L3MOIC.js +0 -2
- package/dist/cdn/EHEWQ23K.js +0 -2
- package/dist/cdn/EOAVDNBZ.js +0 -2
- package/dist/cdn/EPH5BN6X.js +0 -2
- package/dist/cdn/EZCHUWDK.js +0 -2
- package/dist/cdn/F34QQ4DO.js +0 -2
- package/dist/cdn/FDJGQHUA.js +0 -2
- package/dist/cdn/FF7BSRYW.js +0 -2
- package/dist/cdn/FIZMK7GS.js +0 -1
- package/dist/cdn/G26V76WA.js +0 -2
- package/dist/cdn/GCEBFEZ5.js +0 -2
- package/dist/cdn/GFNCEZSN.js +0 -2
- package/dist/cdn/GHVT7W4O.js +0 -2
- package/dist/cdn/GII4POXM.js +0 -2
- package/dist/cdn/GIIYVCKT.js +0 -2
- package/dist/cdn/GJKFDTVX.js +0 -2
- package/dist/cdn/GK47522P.js +0 -2
- package/dist/cdn/GS2HJTMU.js +0 -2
- package/dist/cdn/GUHSWQMF.js +0 -2
- package/dist/cdn/GUZYCRYS.js +0 -2
- package/dist/cdn/HDHWPKJ4.js +0 -2
- package/dist/cdn/HKLBQ7JD.js +0 -2
- package/dist/cdn/HQSY7TKA.js +0 -2
- package/dist/cdn/IDIAWXUO.js +0 -2
- package/dist/cdn/IFR4IYSI.js +0 -2
- package/dist/cdn/IITDAOGZ.js +0 -2
- package/dist/cdn/ILQDA7LL.js +0 -2
- package/dist/cdn/IQOQTYRR.js +0 -2
- package/dist/cdn/JBK5HTJ2.js +0 -2
- package/dist/cdn/JF7VJGL4.js +0 -2
- package/dist/cdn/K23R26AN.js +0 -2
- package/dist/cdn/K7ELALW4.js +0 -2
- package/dist/cdn/K7XSWKZ2.js +0 -2
- package/dist/cdn/KCLVDXWB.js +0 -2
- package/dist/cdn/KFTFKI6A.js +0 -2
- package/dist/cdn/KGUALNRF.js +0 -4
- package/dist/cdn/KLVBRTYU.js +0 -2
- package/dist/cdn/KPUEQZ7O.js +0 -2
- package/dist/cdn/KVYBIOH5.js +0 -2
- package/dist/cdn/L2F4HQYY.js +0 -2
- package/dist/cdn/L46JLXJT.js +0 -2
- package/dist/cdn/LC37F7HF.js +0 -2
- package/dist/cdn/LKAJVIS2.js +0 -2
- package/dist/cdn/M2LKA37F.js +0 -2
- package/dist/cdn/M42QFFPZ.js +0 -2
- package/dist/cdn/M5KYBYZT.js +0 -2
- package/dist/cdn/MA2GVVQJ.js +0 -2
- package/dist/cdn/MCMACXJV.js +0 -2
- package/dist/cdn/MDWBYUFG.js +0 -2
- package/dist/cdn/MFWSWLBW.js +0 -2
- package/dist/cdn/MMYODAC2.js +0 -2
- package/dist/cdn/MQYTZX24.js +0 -2
- package/dist/cdn/MUNSXJ5X.js +0 -2
- package/dist/cdn/MWIDHMQZ.js +0 -2
- package/dist/cdn/NFCFPU7K.js +0 -2
- package/dist/cdn/NJPPZJ3L.js +0 -2
- package/dist/cdn/NQOS7L2J.js +0 -2
- package/dist/cdn/NY7RHFLZ.js +0 -2
- package/dist/cdn/O5YJPUFM.js +0 -2
- package/dist/cdn/O6HYZKBU.js +0 -2
- package/dist/cdn/OPNJGHML.js +0 -2
- package/dist/cdn/OSDGWHZZ.js +0 -2
- package/dist/cdn/P3PXDT5V.js +0 -2
- package/dist/cdn/PBYHBRG7.js +0 -2
- package/dist/cdn/PDH2DA3L.js +0 -2
- package/dist/cdn/PGK2ZJCX.js +0 -2
- package/dist/cdn/PGSBUAGV.js +0 -2
- package/dist/cdn/PGXNWDD3.js +0 -2
- package/dist/cdn/PJ5OUPGO.js +0 -2
- package/dist/cdn/PMRI66RQ.js +0 -2
- package/dist/cdn/PZSKFFTG.js +0 -2
- package/dist/cdn/PZUVKZGQ.js +0 -2
- package/dist/cdn/QOIURU47.js +0 -2
- package/dist/cdn/QPSAD5DG.js +0 -2
- package/dist/cdn/QTB5YKHB.js +0 -2
- package/dist/cdn/QWIDIEXY.js +0 -2
- package/dist/cdn/R5QMO5FY.js +0 -2
- package/dist/cdn/R5TCWJ6V.js +0 -2
- package/dist/cdn/R5YW65AI.js +0 -2
- package/dist/cdn/R67ZOCIR.js +0 -2
- package/dist/cdn/RGTUSH6U.js +0 -2
- package/dist/cdn/RVEUCXT4.js +0 -2
- package/dist/cdn/RZGWZ2FJ.js +0 -2
- package/dist/cdn/S7ORGB5E.js +0 -2
- package/dist/cdn/SEY3WDK2.js +0 -2
- package/dist/cdn/SG55TVJ5.js +0 -2
- package/dist/cdn/SHU4AE2X.js +0 -2
- package/dist/cdn/SIZZ3BQA.js +0 -2
- package/dist/cdn/SK5CTCTZ.js +0 -2
- package/dist/cdn/SLAFIIZU.js +0 -2
- package/dist/cdn/SLSGW7B6.js +0 -2
- package/dist/cdn/SNNAV3AS.js +0 -2
- package/dist/cdn/SR4V2CUQ.js +0 -2
- package/dist/cdn/TA723HWT.js +0 -2
- package/dist/cdn/THJMCEEO.js +0 -2
- package/dist/cdn/TIBX6CCV.js +0 -2
- package/dist/cdn/TJQ3GP5V.js +0 -2
- package/dist/cdn/TO6SOEDF.js +0 -2
- package/dist/cdn/TPVHN6P2.js +0 -2
- package/dist/cdn/TSNUOFL7.js +0 -2
- package/dist/cdn/U5DIWFPP.js +0 -2
- package/dist/cdn/UTV2A7J4.js +0 -2
- package/dist/cdn/UUNHAVGJ.js +0 -2
- package/dist/cdn/VDKEQI3H.js +0 -2
- package/dist/cdn/VZ6UFS6H.js +0 -2
- package/dist/cdn/W6PA72LV.js +0 -2
- package/dist/cdn/WK4TNKKC.js +0 -2
- package/dist/cdn/WO26ZR5Z.js +0 -2
- package/dist/cdn/WQI5PKS4.js +0 -2
- package/dist/cdn/WUTCKBNC.js +0 -2
- package/dist/cdn/X7BOBKIH.js +0 -2
- package/dist/cdn/XCTPKDKL.js +0 -2
- package/dist/cdn/XYF36P2O.js +0 -2
- package/dist/cdn/Y42K6IOP.js +0 -2
- package/dist/cdn/YCHVPSSP.js +0 -2
- package/dist/cdn/YFTQR2WS.js +0 -2
- package/dist/cdn/YTLRTUMD.js +0 -2
- package/dist/cdn/YZUSPKNF.js +0 -2
- package/dist/cdn/Z2ABUIL3.js +0 -2
- package/dist/cdn/Z3W7LQ5M.js +0 -2
- package/dist/cdn/Z7H4V2JZ.js +0 -2
- package/dist/cdn/ZF4DFDLT.js +0 -2
- package/dist/cdn/ZFO3PVZQ.js +0 -2
- package/dist/cdn/ZGOAZB5L.js +0 -2
- package/dist/cdn/ZKWI43WZ.js +0 -2
- /package/dist/cdn/{ND3V4Z4F.js → UDXDE3LW.js} +0 -0
|
@@ -1,265 +1,331 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
-
import { html as
|
|
3
|
-
import { initializeProjection as
|
|
4
|
-
import { signal as
|
|
5
|
-
import {
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import { GenericController as
|
|
2
|
+
import { html as R } from "lit";
|
|
3
|
+
import { initializeProjection as O } from "@arcgis/core/applications/Components/featureUtils.js";
|
|
4
|
+
import { signal as L } from "@arcgis/core/applications/Components/reactiveUtils.js";
|
|
5
|
+
import { watch as f, when as x } from "@arcgis/core/core/reactiveUtils.js";
|
|
6
|
+
import C from "@arcgis/core/geometry/Point.js";
|
|
7
|
+
import A from "@arcgis/core/Graphic.js";
|
|
8
|
+
import { GenericController as F, useDirection as M, makeController as G, makeGenericController as P } from "@arcgis/lumina/controllers";
|
|
9
9
|
import { getSlotAssignedElements as D } from "@arcgis/toolkit/dom/slots";
|
|
10
|
-
import { whenOrAbort as
|
|
11
|
-
import { createRef as
|
|
12
|
-
import { c as
|
|
13
|
-
import { i as
|
|
14
|
-
import { observeAncestorsMutation as
|
|
15
|
-
import { createEvent as
|
|
16
|
-
async function*
|
|
17
|
-
for (const
|
|
18
|
-
const
|
|
10
|
+
import { whenOrAbort as S } from "@arcgis/toolkit/promise";
|
|
11
|
+
import { createRef as _ } from "lit/directives/ref.js";
|
|
12
|
+
import { c as V, S as k } from "./slots.js";
|
|
13
|
+
import { i as U, t as z } from "./async-utils.js";
|
|
14
|
+
import { observeAncestorsMutation as T, unsafeGetCalciteModeName as W } from "@arcgis/toolkit/dom";
|
|
15
|
+
import { createEvent as y } from "@arcgis/lumina";
|
|
16
|
+
async function* H(r, e) {
|
|
17
|
+
for (const t of r) {
|
|
18
|
+
const i = await S(t, e).catch(() => {
|
|
19
19
|
});
|
|
20
|
-
if (
|
|
20
|
+
if (e.aborted)
|
|
21
21
|
return;
|
|
22
|
-
yield* Array.isArray(
|
|
22
|
+
yield* Array.isArray(i) ? i.filter((o) => o instanceof A) : [];
|
|
23
23
|
}
|
|
24
24
|
}
|
|
25
|
-
async function*
|
|
25
|
+
async function* w() {
|
|
26
26
|
yield* [];
|
|
27
27
|
}
|
|
28
|
-
async function*
|
|
29
|
-
await
|
|
28
|
+
async function* j(r, e) {
|
|
29
|
+
await S(r, e).catch(() => {
|
|
30
30
|
});
|
|
31
31
|
}
|
|
32
|
-
async function
|
|
33
|
-
let
|
|
34
|
-
if (
|
|
35
|
-
return
|
|
36
|
-
const n = Promise.withResolvers(),
|
|
37
|
-
...
|
|
38
|
-
defaultPopupTemplateEnabled:
|
|
32
|
+
async function B(r, e, t, i) {
|
|
33
|
+
let o;
|
|
34
|
+
if (t instanceof C ? (await O(t.spatialReference, r.spatialReference), z(i.signal), o = r.toScreen(t)) : o = t, !o)
|
|
35
|
+
return w();
|
|
36
|
+
const n = Promise.withResolvers(), s = r.fetchPopupFeatures(o, {
|
|
37
|
+
...i,
|
|
38
|
+
defaultPopupTemplateEnabled: e.defaultPopupTemplateEnabled,
|
|
39
39
|
hitTestResolver: n
|
|
40
|
-
}) ??
|
|
41
|
-
return await n.promise,
|
|
40
|
+
}) ?? w();
|
|
41
|
+
return await n.promise, s;
|
|
42
42
|
}
|
|
43
|
-
function
|
|
44
|
-
if (
|
|
45
|
-
return
|
|
46
|
-
const
|
|
47
|
-
return
|
|
43
|
+
function g(r, e) {
|
|
44
|
+
if (e instanceof C)
|
|
45
|
+
return e;
|
|
46
|
+
const t = "width" in e ? { x: e.x + e.width / 2, y: e.y + e.height / 2 } : e;
|
|
47
|
+
return r.toMap(t) ?? void 0;
|
|
48
48
|
}
|
|
49
|
-
async function $(
|
|
50
|
-
const
|
|
49
|
+
async function $(r, e, t, i) {
|
|
50
|
+
const o = {};
|
|
51
51
|
return {
|
|
52
|
-
diagnostics:
|
|
53
|
-
featureStream: await
|
|
54
|
-
diagnostics:
|
|
55
|
-
signal:
|
|
52
|
+
diagnostics: o,
|
|
53
|
+
featureStream: await B(r, e, t, {
|
|
54
|
+
diagnostics: o,
|
|
55
|
+
signal: i
|
|
56
56
|
}),
|
|
57
|
-
location:
|
|
57
|
+
location: g(r, t)
|
|
58
58
|
};
|
|
59
59
|
}
|
|
60
|
-
class
|
|
60
|
+
class re extends F {
|
|
61
61
|
//#endregion
|
|
62
62
|
//#region Lifecycle
|
|
63
|
-
constructor(
|
|
64
|
-
super(
|
|
65
|
-
const
|
|
66
|
-
if (
|
|
67
|
-
const { name:
|
|
68
|
-
this.webGLError = { name:
|
|
63
|
+
constructor(e) {
|
|
64
|
+
super(e), this.direction = M(), this.popupRef = _(), this.uiContainerRef = _(), this._popupElement = L(void 0), this._popupAbortController = null, this._popupClickOpenCount = 0, this.slotGroupRefs = V(), this.attributionHeight = 0, this.#e = null, this.component.listenOn(globalThis, "unhandledrejection", (t) => {
|
|
65
|
+
const i = t.reason;
|
|
66
|
+
if (i?.name === "webgl:required") {
|
|
67
|
+
const { name: o } = i;
|
|
68
|
+
this.webGLError = { name: o };
|
|
69
69
|
}
|
|
70
70
|
});
|
|
71
71
|
}
|
|
72
|
+
get _focusRegionSelectionSupported() {
|
|
73
|
+
return !this.component.popupDisabled && (this.component.popupComponentEnabled || !!this.popupElement && this.popupElement !== this._defaultPopupElement);
|
|
74
|
+
}
|
|
72
75
|
get popupElement() {
|
|
73
76
|
return this._popupElement.value;
|
|
74
77
|
}
|
|
75
|
-
set popupElement(
|
|
76
|
-
this._popupElement.value =
|
|
78
|
+
set popupElement(e) {
|
|
79
|
+
this._popupElement.value = e;
|
|
77
80
|
}
|
|
81
|
+
#e;
|
|
78
82
|
//#endregion
|
|
79
83
|
//#region Private Methods
|
|
80
84
|
hostLifecycle() {
|
|
85
|
+
const { view: e } = this.component, t = e.focusRegionShortcutEnabled;
|
|
81
86
|
return [
|
|
82
|
-
|
|
83
|
-
this.
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
(
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
() => this.component.
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
(
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
87
|
+
...[
|
|
88
|
+
f(() => this.component.focusRegionShortcutEnabled ?? this._focusRegionSelectionSupported, (o) => {
|
|
89
|
+
this.component.view.focusRegionShortcutEnabled = o;
|
|
90
|
+
}, { initial: !0, sync: !0 }),
|
|
91
|
+
x(() => this.component.view.ready, () => {
|
|
92
|
+
this._assignDefaultPopup();
|
|
93
|
+
}),
|
|
94
|
+
f(() => this.component.view.popup?.visible, (o, n) => {
|
|
95
|
+
(o || n) && this._cancelPopupOperation(), o && this.popupElement?.open && (this.popupElement.open = !1);
|
|
96
|
+
}, { initial: !0 }),
|
|
97
|
+
f(
|
|
98
|
+
() => this.component.popupElement?.open,
|
|
99
|
+
(o, n) => {
|
|
100
|
+
n && !o && this._cancelPopupOperation();
|
|
101
|
+
},
|
|
102
|
+
// Using sync to preemptively prevent a close notification from canceling a replacement operation.
|
|
103
|
+
{ initial: !0, sync: !0 }
|
|
104
|
+
),
|
|
105
|
+
this.component.view.on("focus-region-select", (o) => this._handleFocusRegionSelect(o)),
|
|
106
|
+
this.component.view.on(
|
|
107
|
+
"click",
|
|
108
|
+
[],
|
|
109
|
+
(o) => {
|
|
110
|
+
const n = o.native;
|
|
111
|
+
o.button !== 0 || n?.ctrlKey || n?.metaKey || this._handleOpenPopup(o).catch(() => {
|
|
112
|
+
});
|
|
113
|
+
},
|
|
114
|
+
// @ts-ignore: Core supports a click listener priority argument, needed for Popup click
|
|
115
|
+
-2
|
|
116
|
+
)
|
|
117
|
+
],
|
|
118
|
+
{
|
|
119
|
+
remove: () => {
|
|
120
|
+
e.focusRegionShortcutEnabled = t;
|
|
121
|
+
}
|
|
122
|
+
}
|
|
108
123
|
];
|
|
109
124
|
}
|
|
125
|
+
hostConnected() {
|
|
126
|
+
this._observeCenterSlotElements();
|
|
127
|
+
}
|
|
128
|
+
hostUpdated() {
|
|
129
|
+
this.component.el.isConnected && this._observeCenterSlotElements(), this.component.popupComponentEnabled ? this._assignDefaultPopup() : (this.popupElement === this._defaultPopupElement && (this._cancelPopupOperation(), this._maybeResetViewPopup(), this.popupElement = void 0), this._defaultPopupElement = void 0);
|
|
130
|
+
}
|
|
110
131
|
hostDestroy() {
|
|
111
|
-
this._cancelPopupOperation();
|
|
132
|
+
this._cancelPopupOperation(), this._disconnectCenterSlotResizeObserver();
|
|
112
133
|
}
|
|
113
|
-
|
|
134
|
+
hostDisconnected() {
|
|
135
|
+
this._disconnectCenterSlotResizeObserver();
|
|
136
|
+
}
|
|
137
|
+
async openPopup(e = {}) {
|
|
114
138
|
this._assignDefaultPopup();
|
|
115
|
-
const
|
|
116
|
-
|
|
139
|
+
const t = this.popupElement, i = e.location ?? t?.location, o = !!t && !e.featureStream && !e.promises?.length && !!e.fetchFeatures && !!i;
|
|
140
|
+
this._cancelPopupOperation();
|
|
117
141
|
const n = new AbortController();
|
|
118
|
-
if (this._popupAbortController = n,
|
|
119
|
-
const { fetchFeatures:
|
|
120
|
-
|
|
121
|
-
}),
|
|
142
|
+
if (this._popupAbortController = n, t) {
|
|
143
|
+
const { fetchFeatures: s, shouldFocus: p, title: a, featureStream: c, promises: m, location: u, ...E } = e, d = u ? g(this.component.view, u) : void 0, v = u ?? i, l = o && v ? $(this.component.view, t, v, n.signal) : null, b = l ? Promise.withResolvers() : null;
|
|
144
|
+
l && b && (l.catch(() => {
|
|
145
|
+
}), t.featureStream = j(b.promise, n.signal));
|
|
122
146
|
try {
|
|
123
|
-
await
|
|
124
|
-
} catch (
|
|
125
|
-
throw
|
|
147
|
+
await t.componentOnReady();
|
|
148
|
+
} catch (h) {
|
|
149
|
+
throw l && this._isCurrentPopupOperation(n) && (n.abort(), t.open = !1, await t.clear()), h;
|
|
126
150
|
}
|
|
127
151
|
if (!this._isCurrentPopupOperation(n))
|
|
128
152
|
return;
|
|
129
|
-
if (
|
|
153
|
+
if (l)
|
|
130
154
|
try {
|
|
131
|
-
const
|
|
155
|
+
const h = await l;
|
|
132
156
|
if (!this._isCurrentPopupOperation(n))
|
|
133
157
|
return;
|
|
134
|
-
Object.assign(
|
|
135
|
-
} catch (
|
|
136
|
-
if (!
|
|
137
|
-
throw this._isCurrentPopupOperation(n) && (
|
|
158
|
+
Object.assign(t, E), a !== void 0 && (t.heading = a), await t.openFeatureStream(h);
|
|
159
|
+
} catch (h) {
|
|
160
|
+
if (!U(h))
|
|
161
|
+
throw this._isCurrentPopupOperation(n) && (t.open = !1, await t.clear()), h;
|
|
138
162
|
return;
|
|
139
163
|
} finally {
|
|
140
|
-
|
|
164
|
+
b?.resolve();
|
|
141
165
|
}
|
|
142
166
|
else
|
|
143
|
-
Object.assign(
|
|
144
|
-
featureStream:
|
|
145
|
-
location:
|
|
146
|
-
}) : (
|
|
147
|
-
|
|
167
|
+
Object.assign(t, E), a !== void 0 && (t.heading = a), c ? await t.openFeatureStream({ featureStream: c, location: d }) : m?.length ? await t.openFeatureStream({
|
|
168
|
+
featureStream: H(m, n.signal),
|
|
169
|
+
location: d
|
|
170
|
+
}) : (t.featureStream = null, u !== void 0 && (t.location = d), t.open = !0);
|
|
171
|
+
p && this._isCurrentPopupOperation(n) && await t.setFocus();
|
|
148
172
|
} else {
|
|
149
|
-
const { location:
|
|
173
|
+
const { location: s, ...p } = e;
|
|
150
174
|
await this.component.view.openPopup({
|
|
151
|
-
...
|
|
152
|
-
location:
|
|
175
|
+
...p,
|
|
176
|
+
location: s ? g(this.component.view, s) : void 0
|
|
153
177
|
});
|
|
154
178
|
}
|
|
155
179
|
}
|
|
156
180
|
closePopup() {
|
|
157
|
-
this._cancelPopupOperation(), this.popupElement
|
|
181
|
+
this._cancelPopupOperation(), this.popupElement ? (this.popupElement.open = !1, this.popupElement.clear()) : this.component.view.closePopup();
|
|
158
182
|
}
|
|
159
183
|
_cancelPopupOperation() {
|
|
160
184
|
this._popupAbortController?.abort(), this._popupAbortController = null;
|
|
161
185
|
}
|
|
162
|
-
_isCurrentPopupOperation(
|
|
163
|
-
return this._popupAbortController ===
|
|
186
|
+
_isCurrentPopupOperation(e) {
|
|
187
|
+
return this._popupAbortController === e && !e.signal.aborted;
|
|
164
188
|
}
|
|
165
189
|
_assignDefaultPopup() {
|
|
166
|
-
this.popupRef.value && !this.popupElement && (this.popupElement = this.popupRef.value, this.popupElement.referenceElement = this.component.el, this.popupElement.view = this.component.view);
|
|
190
|
+
this.component.popupComponentEnabled && this.popupRef.value && !this.popupElement && (this._defaultPopupElement = this.popupRef.value, this.popupElement = this.popupRef.value, this.popupElement.referenceElement = this.component.el, this.popupElement.view = this.component.view);
|
|
167
191
|
}
|
|
168
|
-
handleAttributionHeightChange(
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
this.
|
|
192
|
+
handleAttributionHeightChange(e) {
|
|
193
|
+
this.attributionHeight !== e && (this.attributionHeight = e, this._getUiContainer()?.style.setProperty("--arcgis-internal-attribution-space-top", `${this.attributionHeight}px`));
|
|
194
|
+
}
|
|
195
|
+
_observeCenterSlotElements() {
|
|
196
|
+
const e = this._getUiContainer(), { topLeft: t, topRight: i, bottomLeft: o, bottomRight: n } = this.slotGroupRefs, s = [t.value, i.value, o.value, n.value];
|
|
197
|
+
if (e) {
|
|
198
|
+
this.#e ??= new ResizeObserver(() => this._updateCenterSlotMaxWidths()), this.#e.disconnect(), this.#e.observe(e);
|
|
199
|
+
for (const p of s)
|
|
200
|
+
p && this.#e.observe(p, { box: "border-box" });
|
|
201
|
+
this._updateCenterSlotMaxWidths();
|
|
175
202
|
}
|
|
176
203
|
}
|
|
204
|
+
_updateCenterSlotMaxWidths() {
|
|
205
|
+
const e = this._getUiContainer(), { topLeft: t, topRight: i, bottomLeft: o, bottomRight: n } = this.slotGroupRefs;
|
|
206
|
+
if (!(e && t.value && i.value && o.value && n.value))
|
|
207
|
+
return;
|
|
208
|
+
const s = e.getBoundingClientRect(), p = this._getCenterSlotLayout(s, t.value, i.value), a = this._getCenterSlotLayout(s, o.value, n.value);
|
|
209
|
+
this._setCenterSlotProperty(e, "--arcgis-internal-top-center-max-width", p.maxWidth), this._setCenterSlotProperty(e, "--arcgis-internal-top-center-position", p.position), this._setCenterSlotProperty(e, "--arcgis-internal-bottom-center-max-width", a.maxWidth), this._setCenterSlotProperty(e, "--arcgis-internal-bottom-center-position", a.position);
|
|
210
|
+
}
|
|
211
|
+
_setCenterSlotProperty(e, t, i) {
|
|
212
|
+
const o = `${i}px`;
|
|
213
|
+
e.style.getPropertyValue(t) !== o && e.style.setProperty(t, o);
|
|
214
|
+
}
|
|
215
|
+
/*
|
|
216
|
+
* Both sides occupied: reserve the larger extent on both sides so the center
|
|
217
|
+
* remains aligned with the container midpoint.
|
|
218
|
+
*
|
|
219
|
+
* |<------ side reserve ------>|<------ max width ------>|<------ side reserve ------>|
|
|
220
|
+
* | left extent | unused space | center | unused space | right extent |
|
|
221
|
+
* ^ container midpoint
|
|
222
|
+
*
|
|
223
|
+
* One side empty: use the space between the actual extents and reposition
|
|
224
|
+
* the center within it.
|
|
225
|
+
*
|
|
226
|
+
* |<-- left extent -->|<---------------- max width ---------------->|<-- right extent -->|
|
|
227
|
+
* | center |
|
|
228
|
+
* ^ position
|
|
229
|
+
*/
|
|
230
|
+
_getCenterSlotLayout(e, t, i) {
|
|
231
|
+
const o = t.getBoundingClientRect(), n = i.getBoundingClientRect(), s = o.width > 0, p = n.width > 0, a = o.right - e.left, c = e.right - n.left, m = s && p, u = m ? Math.max(0, e.width - 2 * Math.max(a, c)) : Math.max(0, e.width - a - c);
|
|
232
|
+
return {
|
|
233
|
+
maxWidth: u,
|
|
234
|
+
position: m ? e.width / 2 : a + u / 2
|
|
235
|
+
};
|
|
236
|
+
}
|
|
237
|
+
_disconnectCenterSlotResizeObserver() {
|
|
238
|
+
this.#e?.disconnect(), this.#e = null;
|
|
239
|
+
}
|
|
240
|
+
_getUiContainer() {
|
|
241
|
+
return this.uiContainerRef.value;
|
|
242
|
+
}
|
|
177
243
|
_maybeDisableViewPopup() {
|
|
178
244
|
this.component.view && (this.component.popupComponentEnabled || this.popupElement) && (this.previousViewPopupEnabled ??= this.component.view.popupEnabled, this.component.view.popupEnabled = !1);
|
|
179
245
|
}
|
|
180
246
|
_maybeResetViewPopup() {
|
|
181
247
|
this.component.view && this.previousViewPopupEnabled !== void 0 && (this.component.view.popupEnabled = this.previousViewPopupEnabled, this.previousViewPopupEnabled = void 0);
|
|
182
248
|
}
|
|
183
|
-
async _handleOpenPopup(
|
|
249
|
+
async _handleOpenPopup(e) {
|
|
184
250
|
if (this._assignDefaultPopup(), !this.component.popupDisabled) {
|
|
185
251
|
this._popupClickOpenCount++, this._maybeDisableViewPopup();
|
|
186
252
|
try {
|
|
187
253
|
this.popupElement && await this.openPopup({
|
|
188
254
|
fetchFeatures: !0,
|
|
189
|
-
location: { x:
|
|
255
|
+
location: { x: e.x, y: e.y }
|
|
190
256
|
});
|
|
191
257
|
} finally {
|
|
192
258
|
this._popupClickOpenCount--, this._popupClickOpenCount || this._maybeResetViewPopup();
|
|
193
259
|
}
|
|
194
260
|
}
|
|
195
261
|
}
|
|
196
|
-
_handleFocusRegionSelect(
|
|
197
|
-
this._assignDefaultPopup(), this.popupElement && queueMicrotask(() => {
|
|
198
|
-
const { focusRegion:
|
|
199
|
-
!
|
|
262
|
+
_handleFocusRegionSelect(e) {
|
|
263
|
+
this._assignDefaultPopup(), !(!this._focusRegionSelectionSupported || !this.popupElement) && queueMicrotask(() => {
|
|
264
|
+
const { focusRegion: t } = this.component.view;
|
|
265
|
+
!e.defaultPrevented && t && this.openPopup({ fetchFeatures: !0, location: t }).catch(() => {
|
|
200
266
|
});
|
|
201
267
|
});
|
|
202
268
|
}
|
|
203
|
-
_handlePopupSlotChange(
|
|
204
|
-
const
|
|
205
|
-
|
|
269
|
+
_handlePopupSlotChange(e) {
|
|
270
|
+
const t = D(e.target, "arcgis-popup")[0];
|
|
271
|
+
t ? this.popupElement = t : this.popupElement !== this._defaultPopupElement && (this.popupElement = void 0, this._assignDefaultPopup());
|
|
206
272
|
}
|
|
207
273
|
_webGLErrorAlert() {
|
|
208
|
-
return this.webGLError ?
|
|
274
|
+
return this.webGLError ? R`<arcgis-webgl-error .errorName=${this.webGLError.name}></arcgis-webgl-error>` : null;
|
|
209
275
|
}
|
|
210
276
|
//#endregion
|
|
211
277
|
//#region Rendering
|
|
212
278
|
render() {
|
|
213
|
-
return
|
|
279
|
+
return k({ direction: this.direction, popupComponentEnabled: this.component.popupComponentEnabled, slotGroupRefs: this.slotGroupRefs, handlePopupSlotChange: (e) => this._handlePopupSlotChange(e), webGLErrorElement: this._webGLErrorAlert(), popupElement: this.popupRef });
|
|
214
280
|
}
|
|
215
281
|
}
|
|
216
|
-
function
|
|
217
|
-
|
|
218
|
-
const
|
|
219
|
-
if (
|
|
282
|
+
function se(r) {
|
|
283
|
+
G((e, t) => {
|
|
284
|
+
const i = () => {
|
|
285
|
+
if (r.attributionMode !== "auto")
|
|
220
286
|
return;
|
|
221
|
-
const
|
|
222
|
-
|
|
287
|
+
const o = W(r.el);
|
|
288
|
+
r.view.attributionMode !== o && (r.view.attributionMode = o);
|
|
223
289
|
};
|
|
224
|
-
|
|
225
|
-
|
|
290
|
+
t.onLifecycle(() => (i(), T(r.el, ["class"], i))), t.onUpdate((o) => {
|
|
291
|
+
o.has("attributionMode") && r.attributionMode === "auto" && i();
|
|
226
292
|
});
|
|
227
293
|
});
|
|
228
294
|
}
|
|
229
|
-
const
|
|
230
|
-
const
|
|
231
|
-
return
|
|
232
|
-
() =>
|
|
295
|
+
const pe = P((r, e) => {
|
|
296
|
+
const t = y();
|
|
297
|
+
return e.onLifecycle(
|
|
298
|
+
() => f(
|
|
233
299
|
() => {
|
|
234
|
-
const { map:
|
|
235
|
-
if (!
|
|
300
|
+
const { map: i } = r;
|
|
301
|
+
if (!i || i.destroyed)
|
|
236
302
|
return [];
|
|
237
|
-
const
|
|
238
|
-
return
|
|
239
|
-
n.loadError &&
|
|
240
|
-
}),
|
|
303
|
+
const o = [];
|
|
304
|
+
return i.loadError && o.push(i), i.basemap?.loadError && o.push(i.basemap), i.ground.loadError && o.push(i.ground), [...i.allLayers, ...i.allTables].forEach((n) => {
|
|
305
|
+
n.loadError && o.push(n);
|
|
306
|
+
}), o;
|
|
241
307
|
},
|
|
242
|
-
(
|
|
243
|
-
|
|
308
|
+
(i) => {
|
|
309
|
+
i.length && (r.loadErrorSources = i, t.emit());
|
|
244
310
|
}
|
|
245
311
|
)
|
|
246
|
-
),
|
|
247
|
-
}), ae =
|
|
248
|
-
(
|
|
249
|
-
const
|
|
250
|
-
return
|
|
251
|
-
() =>
|
|
252
|
-
() =>
|
|
253
|
-
(
|
|
254
|
-
(
|
|
312
|
+
), t;
|
|
313
|
+
}), ae = P(
|
|
314
|
+
(r, e) => {
|
|
315
|
+
const t = y();
|
|
316
|
+
return e.onLifecycle(
|
|
317
|
+
() => f(
|
|
318
|
+
() => r.view?.readyState,
|
|
319
|
+
(i) => {
|
|
320
|
+
(i === "map-content-error" || i === "rendering-error") && t.emit();
|
|
255
321
|
}
|
|
256
322
|
)
|
|
257
|
-
),
|
|
323
|
+
), t;
|
|
258
324
|
}
|
|
259
325
|
);
|
|
260
326
|
export {
|
|
261
|
-
|
|
327
|
+
re as U,
|
|
262
328
|
ae as a,
|
|
263
|
-
|
|
264
|
-
|
|
329
|
+
se as b,
|
|
330
|
+
pe as u
|
|
265
331
|
};
|
|
@@ -31,21 +31,32 @@ export abstract class ArcgisAddAttachmentView extends LitElement {
|
|
|
31
31
|
heading: string;
|
|
32
32
|
};
|
|
33
33
|
"attachment-preview": { noPreview: string; };
|
|
34
|
+
"attachment-detail-view": {
|
|
35
|
+
maximize: string;
|
|
36
|
+
download: string;
|
|
37
|
+
replace: string;
|
|
38
|
+
fileName: string;
|
|
39
|
+
nameCannotBeNull: string;
|
|
40
|
+
size: string;
|
|
41
|
+
type: string;
|
|
42
|
+
reset: string;
|
|
43
|
+
imageDescription: string;
|
|
44
|
+
};
|
|
34
45
|
thumbnail: { fileTypes: {
|
|
35
46
|
"file-cad": string;
|
|
36
47
|
"file-code": string;
|
|
37
48
|
"file-csv": string;
|
|
38
49
|
"file-excel": string;
|
|
39
50
|
"file-gpx": string;
|
|
40
|
-
"file-image": string;
|
|
41
51
|
"file-pdf": string;
|
|
42
52
|
"file-ppt": string;
|
|
43
|
-
"file-sound": string;
|
|
44
53
|
"file-text": string;
|
|
45
|
-
"file-video": string;
|
|
46
54
|
"file-word": string;
|
|
47
55
|
"file-zip": string;
|
|
48
56
|
file: string;
|
|
57
|
+
image: string;
|
|
58
|
+
sound: string;
|
|
59
|
+
video: string;
|
|
49
60
|
}; };
|
|
50
61
|
}; };
|
|
51
62
|
units: { bytes: {
|
|
@@ -75,21 +86,32 @@ export abstract class ArcgisAddAttachmentView extends LitElement {
|
|
|
75
86
|
heading: string;
|
|
76
87
|
};
|
|
77
88
|
"attachment-preview": { noPreview: string; };
|
|
89
|
+
"attachment-detail-view": {
|
|
90
|
+
maximize: string;
|
|
91
|
+
download: string;
|
|
92
|
+
replace: string;
|
|
93
|
+
fileName: string;
|
|
94
|
+
nameCannotBeNull: string;
|
|
95
|
+
size: string;
|
|
96
|
+
type: string;
|
|
97
|
+
reset: string;
|
|
98
|
+
imageDescription: string;
|
|
99
|
+
};
|
|
78
100
|
thumbnail: { fileTypes: {
|
|
79
101
|
"file-cad": string;
|
|
80
102
|
"file-code": string;
|
|
81
103
|
"file-csv": string;
|
|
82
104
|
"file-excel": string;
|
|
83
105
|
"file-gpx": string;
|
|
84
|
-
"file-image": string;
|
|
85
106
|
"file-pdf": string;
|
|
86
107
|
"file-ppt": string;
|
|
87
|
-
"file-sound": string;
|
|
88
108
|
"file-text": string;
|
|
89
|
-
"file-video": string;
|
|
90
109
|
"file-word": string;
|
|
91
110
|
"file-zip": string;
|
|
92
111
|
file: string;
|
|
112
|
+
image: string;
|
|
113
|
+
sound: string;
|
|
114
|
+
video: string;
|
|
93
115
|
}; };
|
|
94
116
|
}; };
|
|
95
117
|
units: { bytes: {
|
|
@@ -129,21 +151,32 @@ export abstract class ArcgisAddAttachmentView extends LitElement {
|
|
|
129
151
|
heading?: string | undefined;
|
|
130
152
|
} | undefined;
|
|
131
153
|
"attachment-preview"?: { noPreview?: string | undefined; } | undefined;
|
|
154
|
+
"attachment-detail-view"?: {
|
|
155
|
+
maximize?: string | undefined;
|
|
156
|
+
download?: string | undefined;
|
|
157
|
+
replace?: string | undefined;
|
|
158
|
+
fileName?: string | undefined;
|
|
159
|
+
nameCannotBeNull?: string | undefined;
|
|
160
|
+
size?: string | undefined;
|
|
161
|
+
type?: string | undefined;
|
|
162
|
+
reset?: string | undefined;
|
|
163
|
+
imageDescription?: string | undefined;
|
|
164
|
+
} | undefined;
|
|
132
165
|
thumbnail?: { fileTypes?: {
|
|
133
166
|
"file-cad"?: string | undefined;
|
|
134
167
|
"file-code"?: string | undefined;
|
|
135
168
|
"file-csv"?: string | undefined;
|
|
136
169
|
"file-excel"?: string | undefined;
|
|
137
170
|
"file-gpx"?: string | undefined;
|
|
138
|
-
"file-image"?: string | undefined;
|
|
139
171
|
"file-pdf"?: string | undefined;
|
|
140
172
|
"file-ppt"?: string | undefined;
|
|
141
|
-
"file-sound"?: string | undefined;
|
|
142
173
|
"file-text"?: string | undefined;
|
|
143
|
-
"file-video"?: string | undefined;
|
|
144
174
|
"file-word"?: string | undefined;
|
|
145
175
|
"file-zip"?: string | undefined;
|
|
146
176
|
file?: string | undefined;
|
|
177
|
+
image?: string | undefined;
|
|
178
|
+
sound?: string | undefined;
|
|
179
|
+
video?: string | undefined;
|
|
147
180
|
} | undefined; } | undefined;
|
|
148
181
|
} | undefined; } | undefined;
|
|
149
182
|
units?: { bytes?: {
|
|
@@ -106,7 +106,9 @@ export abstract class ArcgisAreaMeasurement2d extends LitElement {
|
|
|
106
106
|
*/
|
|
107
107
|
accessor autoDestroyDisabled: boolean;
|
|
108
108
|
/**
|
|
109
|
-
* If true, all unit-reset buttons
|
|
109
|
+
* If true, hides all unit-reset buttons. Unit-selection dropdowns remain available.
|
|
110
|
+
*
|
|
111
|
+
* Resetting a unit clears the corresponding overrides on the component and its analysis. The component then uses the corresponding value from [ViewOptions.displayUnits](https://developers.arcgis.com/javascript/latest/references/core/views/interactive/options/ViewOptions/#displayUnits), or [ViewOptions.inputUnits](https://developers.arcgis.com/javascript/latest/references/core/views/interactive/options/ViewOptions/#inputUnits) for input units, when that option is set and its resolved unit is included in the component's available units. Otherwise, it uses its default unit if available, or the first available unit.
|
|
110
112
|
*
|
|
111
113
|
* @default false
|
|
112
114
|
* @since 5.2
|
|
@@ -240,15 +242,18 @@ export abstract class ArcgisAreaMeasurement2d extends LitElement {
|
|
|
240
242
|
*
|
|
241
243
|
* When no unit is explicitly set on the component or its analysis, this property uses the area unit configured in the view through
|
|
242
244
|
* [view.options.displayUnits.area](https://developers.arcgis.com/javascript/latest/references/core/views/interactive/options/ViewOptions/#displayUnits).
|
|
245
|
+
* If that option is unset or unavailable in [unitOptions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-area-measurement-2d/#unitOptions),
|
|
246
|
+
* the component uses its default unit if available, or the first available unit.
|
|
243
247
|
* This property overrides the area unit on this component's analysis without changing the units configured in the view.
|
|
248
|
+
* The reset button clears both overrides and resumes this inheritance and fallback behavior.
|
|
244
249
|
*/
|
|
245
250
|
accessor unit: SystemOrAreaUnit;
|
|
246
251
|
/**
|
|
247
252
|
* List of available units and unit systems (imperial, metric) that are shown in the component's dropdown.
|
|
248
253
|
* By default, the following units are included: `metric`, `imperial`, `square-inches`, `square-feet`, `square-us-feet`, `square-yards`, `square-miles`, `square-meters`, `square-kilometers`, `acres`, `ares`, `hectares`.
|
|
249
|
-
*
|
|
254
|
+
* When neither the component nor its analysis has an explicit unit, the unit inherited from
|
|
250
255
|
* [view.options.displayUnits.area](https://developers.arcgis.com/javascript/latest/references/core/views/interactive/options/ViewOptions/#displayUnits)
|
|
251
|
-
* is
|
|
256
|
+
* is used if listed in [unitOptions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-area-measurement-2d/#unitOptions). Otherwise, the component checks whether its default unit is listed there.
|
|
252
257
|
* If it is, the component uses that default. If neither unit is listed, it uses the first entry in
|
|
253
258
|
* [unitOptions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-area-measurement-2d/#unitOptions).
|
|
254
259
|
*/
|