@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,31 +1,32 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
-
import { c as
|
|
3
|
-
import { css as
|
|
4
|
-
import { substitute as
|
|
5
|
-
import { usePropertyChange as
|
|
6
|
-
import { reEmitEvent as
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import { LitElement as
|
|
10
|
-
import { watch as
|
|
11
|
-
import { u as
|
|
12
|
-
import { m as
|
|
13
|
-
import { V as
|
|
14
|
-
import { createRef as
|
|
15
|
-
import
|
|
16
|
-
import { S as
|
|
17
|
-
import { getOrCreateMapValue as
|
|
18
|
-
import { LayoutPriorities as
|
|
19
|
-
import
|
|
20
|
-
import { property as
|
|
21
|
-
import { ignoreAbortErrors as
|
|
22
|
-
import
|
|
23
|
-
import
|
|
24
|
-
import {
|
|
25
|
-
import { AsyncDirective as
|
|
26
|
-
import { directive as
|
|
27
|
-
import { r as
|
|
28
|
-
|
|
2
|
+
import { c as N } from "../../chunks/runtime.js";
|
|
3
|
+
import { css as q, noChange as I, html as y } from "lit";
|
|
4
|
+
import { substitute as j } from "@arcgis/core/intl.js";
|
|
5
|
+
import { GenericController as J, usePropertyChange as Q, useWatchAttributes as X } from "@arcgis/lumina/controllers";
|
|
6
|
+
import { reEmitEvent as S } from "@arcgis/lumina-toolkit/reEmitEvent";
|
|
7
|
+
import Y from "@arcgis/core/layers/GraphicsLayer.js";
|
|
8
|
+
import Z from "@arcgis/core/symbols/TextSymbol.js";
|
|
9
|
+
import { LitElement as ee, createEvent as te, nothing as B } from "@arcgis/lumina";
|
|
10
|
+
import { watch as f, on as ie, whenOnce as oe } from "@arcgis/core/core/reactiveUtils.js";
|
|
11
|
+
import { u as se } from "../../chunks/useT9n.js";
|
|
12
|
+
import { m as ne } from "../../chunks/useViewModel.js";
|
|
13
|
+
import { V as _ } from "../../chunks/visible-element.js";
|
|
14
|
+
import { createRef as O, ref as M } from "lit/directives/ref.js";
|
|
15
|
+
import le from "@arcgis/core/widgets/Sketch/SketchViewModel.js";
|
|
16
|
+
import { S as re } from "../../chunks/resources.js";
|
|
17
|
+
import { getOrCreateMapValue as F, createReactiveMap as ae } from "@arcgis/core/applications/Components/featureUtils.js";
|
|
18
|
+
import { LayoutPriorities as T } from "@arcgis/common-components";
|
|
19
|
+
import ce from "@arcgis/core/core/Accessor.js";
|
|
20
|
+
import { property as p, subclass as he } from "@arcgis/core/core/accessorSupport/decorators.js";
|
|
21
|
+
import { ignoreAbortErrors as w } from "@arcgis/core/core/promiseUtils.js";
|
|
22
|
+
import de from "@arcgis/core/widgets/Sketch/VisibleElements.js";
|
|
23
|
+
import pe from "@arcgis/core/widgets/support/SelectionToolbar/SelectionToolbarViewModel.js";
|
|
24
|
+
import { c as ue } from "../../chunks/loader-utils.js";
|
|
25
|
+
import { AsyncDirective as ge } from "lit/async-directive.js";
|
|
26
|
+
import { directive as me, PartType as ve } from "lit/directive.js";
|
|
27
|
+
import { r as fe } from "../../chunks/async-utils.js";
|
|
28
|
+
import { observeAncestorsMutation as ye } from "@arcgis/toolkit/dom";
|
|
29
|
+
const be = [
|
|
29
30
|
"bottom-end",
|
|
30
31
|
"bottom-start",
|
|
31
32
|
"bottom-left",
|
|
@@ -34,7 +35,7 @@ const ge = [
|
|
|
34
35
|
"top-start",
|
|
35
36
|
"top-left",
|
|
36
37
|
"top-right"
|
|
37
|
-
],
|
|
38
|
+
], Ce = new Set(be);
|
|
38
39
|
function D(i, e) {
|
|
39
40
|
let t = e;
|
|
40
41
|
for (const o of i.split(".")) {
|
|
@@ -44,7 +45,7 @@ function D(i, e) {
|
|
|
44
45
|
}
|
|
45
46
|
return typeof t == "string" ? t : void 0;
|
|
46
47
|
}
|
|
47
|
-
const
|
|
48
|
+
const Se = q`.editing-controls-panel{min-inline-size:100px;max-inline-size:400px;-webkit-user-select:none;user-select:none;pointer-events:initial;padding:var(--calcite-space-sm);arcgis-sketch-tooltip-controls+arcgis-snapping-controls{border-block-start:1px solid var(--calcite-color-border-3)}}:host{pointer-events:none}.toolbar-container{block-size:100%;min-block-size:0;min-inline-size:0}arcgis-toolbar-stack[layout=vertical]{block-size:100cqh;min-block-size:100%;max-block-size:100%}`, Te = {
|
|
48
49
|
point: "pin",
|
|
49
50
|
polyline: "line",
|
|
50
51
|
polygon: "polygon",
|
|
@@ -55,77 +56,48 @@ const ve = H`.editing-controls-panel{min-inline-size:100px;max-inline-size:400px
|
|
|
55
56
|
freehandPolygon: "freehand-area",
|
|
56
57
|
freehandPolyline: "freehand",
|
|
57
58
|
text: "text"
|
|
58
|
-
},
|
|
59
|
+
}, we = {
|
|
59
60
|
selectionTools: {
|
|
60
|
-
defaultPriority:
|
|
61
|
+
defaultPriority: T.Default,
|
|
61
62
|
groupKind: "split-button",
|
|
62
63
|
overflowLabel: "selection"
|
|
63
64
|
},
|
|
64
65
|
selectionSet: {
|
|
65
|
-
defaultPriority:
|
|
66
|
+
defaultPriority: T.High,
|
|
66
67
|
groupKind: "actions"
|
|
67
68
|
},
|
|
68
69
|
createTools: {
|
|
69
|
-
defaultPriority:
|
|
70
|
+
defaultPriority: T.High,
|
|
70
71
|
groupKind: "more-button",
|
|
71
72
|
overflowLabel: "drawing"
|
|
72
73
|
},
|
|
73
74
|
undoRedo: {
|
|
74
|
-
defaultPriority:
|
|
75
|
+
defaultPriority: T.Medium,
|
|
75
76
|
groupKind: "split-button",
|
|
76
|
-
overflowLabel: "action"
|
|
77
|
+
overflowLabel: "action",
|
|
78
|
+
preferEndSlot: !0
|
|
77
79
|
},
|
|
78
80
|
settings: {
|
|
79
|
-
defaultPriority:
|
|
81
|
+
defaultPriority: T.Max,
|
|
80
82
|
groupKind: "more-button",
|
|
81
|
-
overflowLabel: "action"
|
|
83
|
+
overflowLabel: "action",
|
|
84
|
+
preferEndSlot: !0
|
|
82
85
|
},
|
|
83
86
|
geometrySimplification: {
|
|
84
|
-
defaultPriority:
|
|
85
|
-
groupKind: "actions"
|
|
86
|
-
|
|
87
|
-
}, Ce = 500, be = 1e3;
|
|
88
|
-
function Te({
|
|
89
|
-
getLoading: i,
|
|
90
|
-
setEffectiveLoading: e
|
|
91
|
-
}) {
|
|
92
|
-
let t, o;
|
|
93
|
-
function s() {
|
|
94
|
-
clearTimeout(o), o = void 0;
|
|
95
|
-
}
|
|
96
|
-
function r(n) {
|
|
97
|
-
t = n ? Date.now() : void 0, e(n);
|
|
87
|
+
defaultPriority: T.Default,
|
|
88
|
+
groupKind: "actions",
|
|
89
|
+
preferEndSlot: !0
|
|
98
90
|
}
|
|
99
|
-
function h(n, p) {
|
|
100
|
-
if (n <= 0) {
|
|
101
|
-
r(p);
|
|
102
|
-
return;
|
|
103
|
-
}
|
|
104
|
-
o = setTimeout(() => {
|
|
105
|
-
s(), r(p);
|
|
106
|
-
}, n);
|
|
107
|
-
}
|
|
108
|
-
r(i());
|
|
109
|
-
const u = m(
|
|
110
|
-
i,
|
|
111
|
-
(n) => {
|
|
112
|
-
s(), n ? h(Ce, !0) : h(t == null ? 0 : be - (Date.now() - t), !1);
|
|
113
|
-
},
|
|
114
|
-
{ sync: !0 }
|
|
115
|
-
);
|
|
116
|
-
return ce(() => {
|
|
117
|
-
u.remove(), s();
|
|
118
|
-
});
|
|
119
|
-
}
|
|
120
|
-
var we = Object.defineProperty, Se = Object.getOwnPropertyDescriptor, a = (i, e, t, o) => {
|
|
121
|
-
for (var s = o > 1 ? void 0 : o ? Se(e, t) : e, r = i.length - 1, h; r >= 0; r--)
|
|
122
|
-
(h = i[r]) && (s = (o ? h(e, t, s) : h(s)) || s);
|
|
123
|
-
return o && s && we(e, t, s), s;
|
|
124
91
|
};
|
|
125
|
-
|
|
92
|
+
var Ee = Object.defineProperty, _e = Object.getOwnPropertyDescriptor, h = (i, e, t, o) => {
|
|
93
|
+
for (var s = o > 1 ? void 0 : o ? _e(e, t) : e, c = i.length - 1, d; c >= 0; c--)
|
|
94
|
+
(d = i[c]) && (s = (o ? d(e, t, s) : d(s)) || s);
|
|
95
|
+
return o && s && Ee(e, t, s), s;
|
|
96
|
+
};
|
|
97
|
+
let a = class extends ce {
|
|
126
98
|
//#region Lifecycle
|
|
127
99
|
constructor(i) {
|
|
128
|
-
super(i), this._effectiveRenderStateCache = /* @__PURE__ */ new Map(), this._effectiveGeometrySimplificationInProgress = !1, this.visibleElements = new
|
|
100
|
+
super(i), this._effectiveRenderStateCache = /* @__PURE__ */ new Map(), this._effectiveGeometrySimplificationInProgress = !1, this.visibleElements = new de(), this.settingsPopoverOpen = !1, this.availableCreateTools = [
|
|
129
101
|
"point",
|
|
130
102
|
"polyline",
|
|
131
103
|
"freehandPolyline",
|
|
@@ -136,21 +108,21 @@ let l = class extends ne {
|
|
|
136
108
|
];
|
|
137
109
|
}
|
|
138
110
|
initialize() {
|
|
139
|
-
this.selectionViewModel ??= new
|
|
140
|
-
|
|
111
|
+
this.selectionViewModel ??= new pe({ persistSelection: !1 }), this.addHandles([
|
|
112
|
+
f(
|
|
141
113
|
() => this.sketchViewModel,
|
|
142
114
|
(i, e) => {
|
|
143
115
|
i !== e && this._effectiveRenderStateCache.clear();
|
|
144
116
|
},
|
|
145
117
|
{ sync: !0 }
|
|
146
118
|
),
|
|
147
|
-
|
|
119
|
+
ue({
|
|
148
120
|
getLoading: () => this.sketchViewModel?.geometrySimplificationInProgress ?? !1,
|
|
149
121
|
setEffectiveLoading: (i) => {
|
|
150
122
|
this._effectiveGeometrySimplificationInProgress = i;
|
|
151
123
|
}
|
|
152
124
|
}),
|
|
153
|
-
|
|
125
|
+
f(
|
|
154
126
|
() => this.view,
|
|
155
127
|
(i) => {
|
|
156
128
|
this.selectionViewModel.view = i;
|
|
@@ -158,7 +130,7 @@ let l = class extends ne {
|
|
|
158
130
|
{ initial: !0, sync: !0 }
|
|
159
131
|
),
|
|
160
132
|
// Ensure the SelectionViewModel always has the latest layer
|
|
161
|
-
|
|
133
|
+
f(
|
|
162
134
|
() => this.sketchViewModel?.layer,
|
|
163
135
|
(i) => this.selectionViewModel.sources = i ? [i] : [],
|
|
164
136
|
{ initial: !0, sync: !0 }
|
|
@@ -167,21 +139,21 @@ let l = class extends ne {
|
|
|
167
139
|
i.length && this.update(i);
|
|
168
140
|
}),
|
|
169
141
|
// Cancel active tool when selection activates
|
|
170
|
-
|
|
142
|
+
f(
|
|
171
143
|
() => this.selectionViewModel.activeOperation,
|
|
172
144
|
(i) => {
|
|
173
145
|
i && (this.sketchViewModel?.cancel(), this._activeCustomToolOptions = void 0);
|
|
174
146
|
},
|
|
175
147
|
{ sync: !0 }
|
|
176
148
|
),
|
|
177
|
-
|
|
149
|
+
ie(
|
|
178
150
|
() => this.sketchViewModel,
|
|
179
151
|
"create",
|
|
180
152
|
(i) => {
|
|
181
153
|
i.state === "complete" && this.sketchViewModel?.creationMode !== "continuous" && (this._activeCustomToolOptions = void 0);
|
|
182
154
|
}
|
|
183
155
|
),
|
|
184
|
-
|
|
156
|
+
f(
|
|
185
157
|
() => this.visibleElements.settingsMenu,
|
|
186
158
|
(i) => {
|
|
187
159
|
i || (this.settingsPopoverOpen = !1);
|
|
@@ -237,25 +209,25 @@ let l = class extends ne {
|
|
|
237
209
|
const { sketchViewModel: i } = this;
|
|
238
210
|
if (!i)
|
|
239
211
|
return [];
|
|
240
|
-
const e = i.effectiveAvailablePlugins, t = this.state === "disabled", o = this.visibleElements.createTools, s = this.activeTool,
|
|
241
|
-
active:
|
|
212
|
+
const e = i.effectiveAvailablePlugins, t = this.state === "disabled", o = this.visibleElements.createTools, s = this.activeTool, c = this._activeCustomToolOptions, d = c || !i.firstPluginWithSwappableLeaf ? this._customToolOptions : [], r = i.rootPlugins, n = d?.map((l) => ({
|
|
213
|
+
active: l === c,
|
|
242
214
|
disabled: t,
|
|
243
|
-
icon:
|
|
244
|
-
labelKey:
|
|
245
|
-
onClick:
|
|
215
|
+
icon: l.icon,
|
|
216
|
+
labelKey: l.label,
|
|
217
|
+
onClick: l === c ? () => this._cancelActiveOperation() : () => this._activateLegacyDrawTool(l.toolName, l.createOptions, l)
|
|
246
218
|
})) ?? [];
|
|
247
|
-
if (
|
|
248
|
-
return [...this._pluginsToActions(
|
|
219
|
+
if (c && r)
|
|
220
|
+
return [...this._pluginsToActions(r), ...n];
|
|
249
221
|
if (e?.length && this.view?.type !== "3d")
|
|
250
222
|
return [...this._pluginsToActions(e), ...n];
|
|
251
|
-
const
|
|
223
|
+
const u = this.view?.type === "3d";
|
|
252
224
|
return [
|
|
253
|
-
...this.availableCreateTools?.filter((
|
|
254
|
-
active:
|
|
225
|
+
...this.availableCreateTools?.filter((l) => u && l === "multipoint" ? !1 : l === "mesh" ? !0 : o[l])?.map((l) => ({
|
|
226
|
+
active: l === s,
|
|
255
227
|
disabled: t,
|
|
256
|
-
icon:
|
|
257
|
-
labelKey: `draw.${
|
|
258
|
-
onClick:
|
|
228
|
+
icon: Te[l],
|
|
229
|
+
labelKey: `draw.${l}`,
|
|
230
|
+
onClick: l === s ? () => this._cancelActiveOperation() : () => this._activateLegacyDrawTool(l)
|
|
259
231
|
})) ?? [],
|
|
260
232
|
...n
|
|
261
233
|
];
|
|
@@ -305,30 +277,30 @@ let l = class extends ne {
|
|
|
305
277
|
return t === "polygon" && o === "freehand" && e?.includes("freehandPolygon") ? "freehandPolygon" : t === "polyline" && o === "freehand" && e?.includes("freehandPolyline") ? "freehandPolyline" : t ?? void 0;
|
|
306
278
|
}
|
|
307
279
|
get _selectionCommands() {
|
|
308
|
-
const { state: i, visibleElements: e, _activeSelectionTool: t, _customActions: o } = this, s = this.state === "disabled",
|
|
309
|
-
this.sketchViewModel?.updateOnGraphicClick !== !1 &&
|
|
280
|
+
const { state: i, visibleElements: e, _activeSelectionTool: t, _customActions: o } = this, s = this.state === "disabled", c = [];
|
|
281
|
+
this.sketchViewModel?.updateOnGraphicClick !== !1 && c.push({
|
|
310
282
|
active: i === "ready" && this._activeSelectionTool == null,
|
|
311
283
|
disabled: s,
|
|
312
284
|
icon: "cursor",
|
|
313
285
|
labelKey: "selectFeature",
|
|
314
286
|
onClick: () => this._activateDefaultSelectionTool()
|
|
315
287
|
});
|
|
316
|
-
const
|
|
317
|
-
|
|
288
|
+
const d = e.selectionTools;
|
|
289
|
+
d["rectangle-selection"] && c.push({
|
|
318
290
|
active: t === "rectangle-selection",
|
|
319
291
|
disabled: s,
|
|
320
292
|
icon: "cursor-marquee",
|
|
321
293
|
labelKey: "rectangleSelection",
|
|
322
294
|
onClick: () => this._activateSelectionTool("rectangle-selection")
|
|
323
|
-
}),
|
|
295
|
+
}), d["lasso-selection"] && c.push({
|
|
324
296
|
active: t === "lasso-selection",
|
|
325
297
|
disabled: s,
|
|
326
298
|
icon: "lasso-select",
|
|
327
299
|
labelKey: "lassoSelection",
|
|
328
300
|
onClick: () => this._activateSelectionTool("lasso-selection")
|
|
329
301
|
});
|
|
330
|
-
const
|
|
331
|
-
return
|
|
302
|
+
const r = o?.get("selection-toolbar");
|
|
303
|
+
return r && c.push(...this._customActionsToSketchActions(r)), c;
|
|
332
304
|
}
|
|
333
305
|
get _selectionSetActions() {
|
|
334
306
|
const i = this.sketchViewModel?.updateGraphics.length ?? 0;
|
|
@@ -440,7 +412,7 @@ let l = class extends ne {
|
|
|
440
412
|
await this._executeWhenReady(async () => {
|
|
441
413
|
this.cancelAll();
|
|
442
414
|
const t = this.sketchViewModel;
|
|
443
|
-
t && await
|
|
415
|
+
t && await w(t.create(i, e));
|
|
444
416
|
});
|
|
445
417
|
}
|
|
446
418
|
/**
|
|
@@ -451,9 +423,9 @@ let l = class extends ne {
|
|
|
451
423
|
const e = new AbortController();
|
|
452
424
|
this._pendingCommandAbortController = e;
|
|
453
425
|
try {
|
|
454
|
-
await
|
|
426
|
+
await w(
|
|
455
427
|
(async () => {
|
|
456
|
-
this.sketchViewModel?.geometrySimplificationInProgress && await
|
|
428
|
+
this.sketchViewModel?.geometrySimplificationInProgress && await oe(() => !this.sketchViewModel?.geometrySimplificationInProgress, e.signal), e.signal.aborted || await i();
|
|
457
429
|
})()
|
|
458
430
|
);
|
|
459
431
|
} finally {
|
|
@@ -475,7 +447,7 @@ let l = class extends ne {
|
|
|
475
447
|
if (e?.length) {
|
|
476
448
|
const o = /* @__PURE__ */ new Map();
|
|
477
449
|
for (const s of e)
|
|
478
|
-
|
|
450
|
+
F(o, s.position, () => []).push(s);
|
|
479
451
|
this._customActions = o;
|
|
480
452
|
} else
|
|
481
453
|
this._customActions = void 0;
|
|
@@ -492,7 +464,7 @@ let l = class extends ne {
|
|
|
492
464
|
async update(i, e) {
|
|
493
465
|
await this._executeWhenReady(async () => {
|
|
494
466
|
const t = this.sketchViewModel;
|
|
495
|
-
t && await
|
|
467
|
+
t && await w(t.update(i, e));
|
|
496
468
|
});
|
|
497
469
|
}
|
|
498
470
|
// #endregion
|
|
@@ -523,10 +495,10 @@ let l = class extends ne {
|
|
|
523
495
|
const t = this.sketchViewModel;
|
|
524
496
|
if (t) {
|
|
525
497
|
if (e) {
|
|
526
|
-
t.cancel(),
|
|
498
|
+
t.cancel(), w(t.create(i));
|
|
527
499
|
return;
|
|
528
500
|
}
|
|
529
|
-
t.firstPluginWithSwappableLeaf ? (t.replaceLeaf(i), this.view?.focus()) :
|
|
501
|
+
t.firstPluginWithSwappableLeaf ? (t.replaceLeaf(i), this.view?.focus()) : w(t.create(i));
|
|
530
502
|
}
|
|
531
503
|
});
|
|
532
504
|
}
|
|
@@ -534,7 +506,7 @@ let l = class extends ne {
|
|
|
534
506
|
this._executeWhenReady(() => {
|
|
535
507
|
this._cancelSupportingOperations();
|
|
536
508
|
const o = this.sketchViewModel;
|
|
537
|
-
o && (this._activeCustomToolOptions = t,
|
|
509
|
+
o && (this._activeCustomToolOptions = t, w(o.create(i, e)));
|
|
538
510
|
});
|
|
539
511
|
}
|
|
540
512
|
_activateSelectionTool(i) {
|
|
@@ -601,97 +573,97 @@ let l = class extends ne {
|
|
|
601
573
|
}
|
|
602
574
|
// #endregion
|
|
603
575
|
};
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
],
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
],
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
],
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
],
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
],
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
],
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
],
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
],
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
],
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
],
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
],
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
],
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
],
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
],
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
],
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
],
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
],
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
],
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
],
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
],
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
],
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
],
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
],
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
],
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
],
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
],
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
],
|
|
685
|
-
class
|
|
576
|
+
h([
|
|
577
|
+
p()
|
|
578
|
+
], a.prototype, "_isEffectiveRenderStateFrozen", 1);
|
|
579
|
+
h([
|
|
580
|
+
p()
|
|
581
|
+
], a.prototype, "_effectiveGeometrySimplificationInProgress", 2);
|
|
582
|
+
h([
|
|
583
|
+
p()
|
|
584
|
+
], a.prototype, "_state", 1);
|
|
585
|
+
h([
|
|
586
|
+
p()
|
|
587
|
+
], a.prototype, "_customToolOptions", 2);
|
|
588
|
+
h([
|
|
589
|
+
p()
|
|
590
|
+
], a.prototype, "_activeCustomToolOptions", 2);
|
|
591
|
+
h([
|
|
592
|
+
p()
|
|
593
|
+
], a.prototype, "_customActions", 2);
|
|
594
|
+
h([
|
|
595
|
+
p()
|
|
596
|
+
], a.prototype, "selectionViewModel", 2);
|
|
597
|
+
h([
|
|
598
|
+
p()
|
|
599
|
+
], a.prototype, "_activeSelectionTool", 1);
|
|
600
|
+
h([
|
|
601
|
+
p()
|
|
602
|
+
], a.prototype, "_activePluginUniqueIds", 1);
|
|
603
|
+
h([
|
|
604
|
+
p()
|
|
605
|
+
], a.prototype, "_createToolActions", 1);
|
|
606
|
+
h([
|
|
607
|
+
p()
|
|
608
|
+
], a.prototype, "_shouldShowBackButton", 1);
|
|
609
|
+
h([
|
|
610
|
+
p()
|
|
611
|
+
], a.prototype, "_selectionToolActions", 1);
|
|
612
|
+
h([
|
|
613
|
+
p()
|
|
614
|
+
], a.prototype, "_settingsActions", 1);
|
|
615
|
+
h([
|
|
616
|
+
p()
|
|
617
|
+
], a.prototype, "_activeTool", 1);
|
|
618
|
+
h([
|
|
619
|
+
p()
|
|
620
|
+
], a.prototype, "_selectionCommands", 1);
|
|
621
|
+
h([
|
|
622
|
+
p()
|
|
623
|
+
], a.prototype, "_selectionSetActions", 1);
|
|
624
|
+
h([
|
|
625
|
+
p()
|
|
626
|
+
], a.prototype, "_undoRedoActions", 1);
|
|
627
|
+
h([
|
|
628
|
+
p()
|
|
629
|
+
], a.prototype, "sketchViewModel", 2);
|
|
630
|
+
h([
|
|
631
|
+
p()
|
|
632
|
+
], a.prototype, "visibleElements", 2);
|
|
633
|
+
h([
|
|
634
|
+
p()
|
|
635
|
+
], a.prototype, "view", 2);
|
|
636
|
+
h([
|
|
637
|
+
p()
|
|
638
|
+
], a.prototype, "settingsPopoverOpen", 2);
|
|
639
|
+
h([
|
|
640
|
+
p()
|
|
641
|
+
], a.prototype, "availableCreateTools", 2);
|
|
642
|
+
h([
|
|
643
|
+
p()
|
|
644
|
+
], a.prototype, "state", 1);
|
|
645
|
+
h([
|
|
646
|
+
p()
|
|
647
|
+
], a.prototype, "activeTool", 1);
|
|
648
|
+
h([
|
|
649
|
+
p()
|
|
650
|
+
], a.prototype, "activePluginIds", 1);
|
|
651
|
+
h([
|
|
652
|
+
p()
|
|
653
|
+
], a.prototype, "groupedActions", 1);
|
|
654
|
+
a = h([
|
|
655
|
+
he("components.sketch.SketchComponentViewModel")
|
|
656
|
+
], a);
|
|
657
|
+
class Me extends ge {
|
|
686
658
|
#t;
|
|
687
659
|
#e = !1;
|
|
688
660
|
#i;
|
|
689
661
|
constructor(e) {
|
|
690
|
-
if (super(e), e.type !==
|
|
662
|
+
if (super(e), e.type !== ve.ELEMENT)
|
|
691
663
|
throw new Error("nodeHooks() can only be used on elements");
|
|
692
664
|
}
|
|
693
665
|
render(e) {
|
|
694
|
-
return
|
|
666
|
+
return I;
|
|
695
667
|
}
|
|
696
668
|
update(e, [t]) {
|
|
697
669
|
const o = e.element;
|
|
@@ -700,43 +672,228 @@ class _e extends de {
|
|
|
700
672
|
const s = this.#e ? t.afterUpdate : t.afterCreate;
|
|
701
673
|
return this.#t = o, this.#e = !0, this.#i = t, queueMicrotask(() => {
|
|
702
674
|
o.isConnected && s?.(o);
|
|
703
|
-
}),
|
|
675
|
+
}), I;
|
|
704
676
|
}
|
|
705
677
|
disconnected() {
|
|
706
678
|
const e = this.#t, t = this.#i?.afterRemoved;
|
|
707
679
|
!e || !t || queueMicrotask(() => {
|
|
708
|
-
e.isConnected ||
|
|
680
|
+
e.isConnected || fe(() => t(e), { timeout: 16 });
|
|
709
681
|
});
|
|
710
682
|
}
|
|
711
683
|
}
|
|
712
|
-
const
|
|
684
|
+
const W = me(Me), Pe = /* @__PURE__ */ new Set(["arcgis-map", "arcgis-scene"]), ke = 8;
|
|
685
|
+
class Ae extends J {
|
|
686
|
+
constructor(e) {
|
|
687
|
+
super(e), this.#t = new MutationObserver(() => this.#c()), this.#e = new ResizeObserver(() => this.#v()), this.#i = new ResizeObserver(([t]) => {
|
|
688
|
+
if (!t)
|
|
689
|
+
return;
|
|
690
|
+
const o = this.component.layout === "horizontal" ? t.contentRect.height : t.contentRect.width;
|
|
691
|
+
o !== this.#s && (this.#s = o, this.#v());
|
|
692
|
+
}), this.#h = [], this.ref = (t) => {
|
|
693
|
+
this.#o !== t && (this.#o = t, this.#r = void 0, this.#a = void 0, this.#c());
|
|
694
|
+
}, this.#u = () => this.#c(), this.exports = void 0, this.onConnected(() => this.#m()), this.onUpdated(() => {
|
|
695
|
+
this.#d !== this.component.layout && this.#c();
|
|
696
|
+
}), this.onDisconnected(() => this.#b()), this.onLifecycle(
|
|
697
|
+
() => f(
|
|
698
|
+
() => this.component.view?.attributionHeight,
|
|
699
|
+
() => {
|
|
700
|
+
this.#m();
|
|
701
|
+
},
|
|
702
|
+
{ initial: !0 }
|
|
703
|
+
)
|
|
704
|
+
);
|
|
705
|
+
}
|
|
706
|
+
#t;
|
|
707
|
+
#e;
|
|
708
|
+
#i;
|
|
709
|
+
/** Same as #toolbarStack, but specifically used to track resize observations. */
|
|
710
|
+
#l;
|
|
711
|
+
/** Last observed height for horizontal layout, or width for vertical layout. */
|
|
712
|
+
#s;
|
|
713
|
+
#n;
|
|
714
|
+
#h;
|
|
715
|
+
#g;
|
|
716
|
+
#o;
|
|
717
|
+
/** Last style-write inputs, used to avoid repeating equivalent writes from observer notifications. */
|
|
718
|
+
#r;
|
|
719
|
+
#a;
|
|
720
|
+
/** Layout for which the current context was synchronized; distinct from the last applied style layout. */
|
|
721
|
+
#d;
|
|
722
|
+
/** Re-uses the same direction observation helper as useDirection; that API has onLifecycle-based cleanup API. */
|
|
723
|
+
#p;
|
|
724
|
+
#m() {
|
|
725
|
+
queueMicrotask(() => {
|
|
726
|
+
this.component.el.isConnected && this.#c();
|
|
727
|
+
});
|
|
728
|
+
}
|
|
729
|
+
#c() {
|
|
730
|
+
const e = this.#f();
|
|
731
|
+
if (!e) {
|
|
732
|
+
this.#y(), this.#b();
|
|
733
|
+
return;
|
|
734
|
+
}
|
|
735
|
+
this.#C(e.toolbar), this.#S(e), this.#T(e), this.#v(e);
|
|
736
|
+
}
|
|
737
|
+
#f() {
|
|
738
|
+
const e = this.component.el, t = e.parentElement, o = this.#o, s = e.assignedSlot;
|
|
739
|
+
if (!t || !Pe.has(t.localName) || !o || !s?.parentElement)
|
|
740
|
+
return;
|
|
741
|
+
const c = getComputedStyle(t).direction === "rtl" ? "rtl" : "ltr", d = K(e.slot, c);
|
|
742
|
+
if (!d)
|
|
743
|
+
return;
|
|
744
|
+
const r = Array.from(t.children).filter(
|
|
745
|
+
(n) => n instanceof HTMLElement && n.localName !== "arcgis-sketch"
|
|
746
|
+
);
|
|
747
|
+
return {
|
|
748
|
+
assignedSlot: s,
|
|
749
|
+
content: r,
|
|
750
|
+
direction: c,
|
|
751
|
+
parent: t,
|
|
752
|
+
position: d,
|
|
753
|
+
toolbar: o
|
|
754
|
+
};
|
|
755
|
+
}
|
|
756
|
+
#u;
|
|
757
|
+
/**
|
|
758
|
+
* Keep track of the cross-axis size changes to ensure layout solution remains up-to-date.
|
|
759
|
+
*/
|
|
760
|
+
#C(e) {
|
|
761
|
+
this.#d !== this.component.layout && (this.#s = void 0, this.#d = this.component.layout), this.#l !== e && (this.#i.disconnect(), this.#l = e, this.#s = void 0, this.#i.observe(e));
|
|
762
|
+
}
|
|
763
|
+
#S(e) {
|
|
764
|
+
const t = e.assignedSlot;
|
|
765
|
+
this.#n !== t && (this.#n?.removeEventListener("slotchange", this.#u), this.#n = t, t.addEventListener("slotchange", this.#u)), this.#g !== e.parent && (this.#t.disconnect(), this.#p?.(), this.#g = e.parent, this.#p = ye(e.parent, ["dir"], () => {
|
|
766
|
+
this.#m();
|
|
767
|
+
}), this.#t.observe(e.parent, {
|
|
768
|
+
childList: !0,
|
|
769
|
+
subtree: !1
|
|
770
|
+
}));
|
|
771
|
+
}
|
|
772
|
+
#T(e) {
|
|
773
|
+
const t = [e.parent, ...e.content];
|
|
774
|
+
Ge(this.#h, t) || (this.#e.disconnect(), t.forEach((o) => this.#e.observe(o)), this.#h = t);
|
|
775
|
+
}
|
|
776
|
+
#v(e = this.#f()) {
|
|
777
|
+
if (!e) {
|
|
778
|
+
this.#y();
|
|
779
|
+
return;
|
|
780
|
+
}
|
|
781
|
+
const t = this.component.layout, o = Oe({
|
|
782
|
+
content: Le(e),
|
|
783
|
+
gap: ke,
|
|
784
|
+
layout: t,
|
|
785
|
+
position: e.position,
|
|
786
|
+
sameSlotReserve: $e(
|
|
787
|
+
e.assignedSlot,
|
|
788
|
+
this.component.el,
|
|
789
|
+
t,
|
|
790
|
+
e.assignedSlot.parentElement
|
|
791
|
+
),
|
|
792
|
+
toolbarBounds: e.toolbar.getBoundingClientRect(),
|
|
793
|
+
viewBounds: e.parent.getBoundingClientRect()
|
|
794
|
+
});
|
|
795
|
+
this.#w(e.toolbar, t, o);
|
|
796
|
+
}
|
|
797
|
+
#w(e, t, o) {
|
|
798
|
+
o === this.#r && t === this.#a || (this.#r = o, this.#a = t, e.style.setProperty("--arcgis-internal-toolbar-available-length", `${o}px`), t === "horizontal" ? (e.style.height = "", e.style.maxHeight = "", e.style.maxWidth = `${o}px`, e.style.width = "fit-content") : (e.style.height = "fit-content", e.style.maxHeight = `${o}px`, e.style.maxWidth = "", e.style.width = ""));
|
|
799
|
+
}
|
|
800
|
+
/** Remove controller-owned inline sizing when the stack leaves a supported view slot. */
|
|
801
|
+
#y() {
|
|
802
|
+
this.#o && (this.#o.style.maxHeight = "", this.#o.style.maxWidth = "", this.#o.style.height = "", this.#o.style.width = "", this.#o.style.removeProperty("--arcgis-internal-toolbar-available-length"), this.#r = void 0, this.#a = void 0);
|
|
803
|
+
}
|
|
804
|
+
/** Release subscriptions and cached measurements before disconnecting or entering a new context. */
|
|
805
|
+
#b() {
|
|
806
|
+
this.#t.disconnect(), this.#p?.(), this.#p = void 0, this.#e.disconnect(), this.#i.disconnect(), this.#l = void 0, this.#s = void 0, this.#h = [], this.#n?.removeEventListener("slotchange", this.#u), this.#n = void 0, this.#r = void 0, this.#a = void 0, this.#d = void 0, this.#g = void 0;
|
|
807
|
+
}
|
|
808
|
+
}
|
|
809
|
+
function Oe({
|
|
810
|
+
content: i,
|
|
811
|
+
gap: e,
|
|
812
|
+
layout: t,
|
|
813
|
+
position: o,
|
|
814
|
+
sameSlotReserve: s,
|
|
815
|
+
toolbarBounds: c,
|
|
816
|
+
viewBounds: d
|
|
817
|
+
}) {
|
|
818
|
+
const r = L(d, t), n = L(c, t), u = z(o, t), g = u ? n.start - r.start : r.end - n.end;
|
|
819
|
+
let l = 0, v = !1;
|
|
820
|
+
for (const b of i) {
|
|
821
|
+
if (z(b.position, t) === u)
|
|
822
|
+
continue;
|
|
823
|
+
const C = L(b.bounds, t);
|
|
824
|
+
if (!(C.crossStart < n.crossEnd && C.crossEnd > n.crossStart))
|
|
825
|
+
continue;
|
|
826
|
+
const E = u ? r.end - C.start : C.end - r.start;
|
|
827
|
+
l = Math.max(l, E), v = !0;
|
|
828
|
+
}
|
|
829
|
+
const m = v ? e : 0;
|
|
830
|
+
return Math.max(0, r.length - Math.max(0, g) - s - l - m);
|
|
831
|
+
}
|
|
832
|
+
function L(i, e) {
|
|
833
|
+
return e === "horizontal" ? { start: i.left, end: i.right, length: i.width, crossStart: i.top, crossEnd: i.bottom } : { start: i.top, end: i.bottom, length: i.height, crossStart: i.left, crossEnd: i.right };
|
|
834
|
+
}
|
|
835
|
+
function z(i, e) {
|
|
836
|
+
return e === "horizontal" ? i.endsWith("left") : i.startsWith("top");
|
|
837
|
+
}
|
|
838
|
+
function Le(i) {
|
|
839
|
+
return i.content.flatMap((e) => {
|
|
840
|
+
if (e.assignedSlot === i.assignedSlot)
|
|
841
|
+
return [];
|
|
842
|
+
const t = K(e.slot, i.direction);
|
|
843
|
+
return t ? [{ bounds: e.getBoundingClientRect(), position: t }] : [];
|
|
844
|
+
});
|
|
845
|
+
}
|
|
846
|
+
function Ge(i, e) {
|
|
847
|
+
return i.length === e.length && i.every((t, o) => t === e[o]);
|
|
848
|
+
}
|
|
849
|
+
function $e(i, e, t, o) {
|
|
850
|
+
const s = getComputedStyle(o).flexDirection;
|
|
851
|
+
if (!(t === "horizontal" ? s.startsWith("row") : s.startsWith("column")))
|
|
852
|
+
return 0;
|
|
853
|
+
const d = i.assignedElements().filter((g) => g instanceof HTMLElement), r = d.indexOf(e);
|
|
854
|
+
if (r < 0)
|
|
855
|
+
return 0;
|
|
856
|
+
const n = getComputedStyle(e), u = s === "row" ? Number.parseFloat(n.marginRight) : s === "row-reverse" ? Number.parseFloat(n.marginLeft) : s === "column" ? Number.parseFloat(n.marginBottom) : Number.parseFloat(n.marginTop);
|
|
857
|
+
return d.slice(r + 1).reduce((g, l) => {
|
|
858
|
+
const v = l.getBoundingClientRect(), m = getComputedStyle(l), b = t === "horizontal" ? v.width + Number.parseFloat(m.marginLeft) + Number.parseFloat(m.marginRight) : v.height + Number.parseFloat(m.marginTop) + Number.parseFloat(m.marginBottom);
|
|
859
|
+
return g + b;
|
|
860
|
+
}, u);
|
|
861
|
+
}
|
|
862
|
+
function K(i, e) {
|
|
863
|
+
const [t, o] = i.split("-");
|
|
864
|
+
if (t !== "bottom" && t !== "top")
|
|
865
|
+
return;
|
|
866
|
+
const s = o === "start" ? e === "ltr" ? "left" : "right" : o === "end" ? e === "ltr" ? "right" : "left" : o;
|
|
867
|
+
return s === "left" || s === "right" ? `${t}-${s}` : void 0;
|
|
868
|
+
}
|
|
869
|
+
const Re = ne((i) => new le({
|
|
713
870
|
...i,
|
|
714
871
|
cancelUpdateOnClickAway: !0,
|
|
715
872
|
creationMode: "continuous",
|
|
716
|
-
textSymbol: new
|
|
873
|
+
textSymbol: new Z({ text: "hello world" }),
|
|
717
874
|
useLegacyCreateTools: !1
|
|
718
875
|
}));
|
|
719
|
-
class
|
|
876
|
+
class Ve extends ee {
|
|
720
877
|
constructor() {
|
|
721
|
-
super(), this.#t = new
|
|
878
|
+
super(), this.#t = new a(), this.#l = O(), this.#s = new Ae(this), this.#n = O(), this._defaultGraphicsLayer = null, this._messages = se(), this.test = {
|
|
722
879
|
componentViewModel: this.#t
|
|
723
|
-
}, this._groupLayoutPriorityOverrides = /* @__PURE__ */ new Map(), this._contextualToolLocation = "separate", this._refMap =
|
|
880
|
+
}, this._groupLayoutPriorityOverrides = /* @__PURE__ */ new Map(), this._contextualToolLocation = "separate", this._refMap = ae(), this.viewModel = Re(this), this.view = this.viewModel.view, this.autoDestroyDisabled = !1, this.createGraphic = this.viewModel.createGraphic, this.creationMode = this.viewModel.creationMode, this.defaultCreateOptions = this.viewModel.defaultCreateOptions, this.defaultGraphicsLayerDisabled = !1, this.defaultUpdateOptions = this.viewModel.defaultUpdateOptions, this.geometrySimplificationInProgress = this.viewModel.geometrySimplificationInProgress, this.icon = "pencil", this.label = this._messages?.componentLabel, this.labelOptions = this.viewModel.labelOptions, this.layer = this.viewModel.layer, this.layout = "horizontal", this.pointSymbol = this.viewModel.pointSymbol, this.polygonSymbol = this.viewModel.polygonSymbol, this.polylineSymbol = this.viewModel.polylineSymbol, this.visualScale = "m", this.snappingOptions = this.viewModel.snappingOptions, this.textSymbol = this.viewModel.textSymbol, this.toolbarKind = "floating", this.tooltipOptions = this.viewModel.tooltipOptions, this.useViewOptions = this.viewModel.useViewOptions, this.valueOptions = this.viewModel.valueOptions, this.useLegacyCreateTools = this.viewModel.useLegacyCreateTools, this.updateOnGraphicClickDisabled = this.viewModel.updateOnGraphicClick, this.updateGraphics = this.viewModel.updateGraphics, this.arcgisCreate = S(() => this.viewModel, "create"), this.arcgisDelete = S(() => this.viewModel, "delete"), this.arcgisDuplicate = S(() => this.viewModel, "duplicate"), this.arcgisPropertyChange = Q()("activeTool", "geometrySimplificationInProgress", "state"), this.arcgisReady = te(), this.arcgisRedo = S(() => this.viewModel, "redo"), this.arcgisUndo = S(() => this.viewModel, "undo"), this.arcgisUpdate = S(() => this.viewModel, "update"), X(["slot"], () => {
|
|
724
881
|
this.requestUpdate();
|
|
725
882
|
}), this.manager.onLifecycle(() => [
|
|
726
|
-
|
|
883
|
+
f(() => this.el.view?.map, (e, t) => {
|
|
727
884
|
const o = this._defaultGraphicsLayer;
|
|
728
885
|
o && (t?.allLayers.includes(o) && t.remove(o), o && !e?.allLayers.includes(o) && e?.add(o));
|
|
729
886
|
}),
|
|
730
|
-
|
|
887
|
+
f(() => this.el.view, (e) => {
|
|
731
888
|
this.viewModel.view = e, this.#t.view = e ?? void 0;
|
|
732
889
|
}, { initial: !0 }),
|
|
733
|
-
|
|
890
|
+
f(() => this.viewModel, (e) => {
|
|
734
891
|
this.#t.sketchViewModel = e, this.viewModel.pluginManager.sketch = this;
|
|
735
892
|
}, { initial: !0 }),
|
|
736
|
-
|
|
893
|
+
f(() => this.#t.state, (e, t) => {
|
|
737
894
|
this.requestUpdate("state", t);
|
|
738
895
|
}, { initial: !0 }),
|
|
739
|
-
|
|
896
|
+
f(() => this.#t.activeTool, () => this.arcgisPropertyChange.emit({ name: "activeTool" }), { sync: !0 })
|
|
740
897
|
]), this.manager.onDestroy(() => {
|
|
741
898
|
this._defaultGraphicsLayer && this.el.view?.map?.allLayers.includes(this._defaultGraphicsLayer) && this.el.view?.map?.remove(this._defaultGraphicsLayer), this._defaultGraphicsLayer?.destroy(), this._defaultGraphicsLayer = null, this.#t.destroy();
|
|
742
899
|
});
|
|
@@ -745,15 +902,16 @@ class Me extends Q {
|
|
|
745
902
|
this.properties = { _groupLayoutPriorityOverrides: 16, _contextualToolLocation: 16, _refMap: 16, viewModel: 0, view: 0, activeTool: 32, autoDestroyDisabled: 5, visibleElements: 0, availableCreateTools: 0, createGraphic: 32, creationMode: 1, defaultCreateOptions: 0, defaultGraphicsLayerDisabled: 5, defaultUpdateOptions: 0, geometrySimplificationInProgress: 36, hideCreateToolsCircle: 5, hideCreateToolsMultipoint: 5, hideCreateToolsPoint: 5, hideCreateToolsPolygon: 5, hideCreateToolsPolyline: 5, hideCreateToolsRectangle: 5, hideDuplicateButton: 5, hideDeleteButton: 5, hideSelectionCountLabel: 5, hideLabelsToggle: 5, hideSelectionToolsLassoSelection: 5, hideSelectionToolsRectangleSelection: 5, hideSettingsMenu: 5, hideSinglePluginBackButton: 5, hideSnappingControls: 5, hideSnappingControlsElementsEnabledToggle: 5, hideSnappingControlsElementsFeatureEnabledToggle: 5, hideSnappingControlsElementsLayerList: 5, hideSnappingControlsElementsSelfEnabledToggle: 5, hideSnappingControlsElementsGridEnabledToggle: 5, hideSnappingControlsElementsGridControls: 5, hideSnappingControlsElementsGridControlsElementsColorSelection: 5, hideSnappingControlsElementsGridControlsElementsDynamicScaleToggle: 5, hideSnappingControlsElementsGridControlsElementsLineIntervalInput: 5, hideSnappingControlsElementsGridControlsElementsNumericInputs: 5, hideSnappingControlsElementsGridControlsElementsOutOfScaleWarning: 5, hideSnappingControlsElementsGridControlsElementsPlacementButtons: 5, hideSnappingControlsElementsGridControlsElementsRotateWithMapToggle: 5, hideTooltipsToggle: 5, hideUndoRedoMenu: 5, icon: 1, label: 1, labelOptions: 0, layer: 0, layout: 1, pointSymbol: 0, polygonSymbol: 0, polylineSymbol: 0, referenceElement: 1, relativePosition: 1, scale: 1, visualScale: 1, showSnappingControlsElementsHeader: 5, showCreateToolsFreehandPolygon: 5, showCreateToolsFreehandPolyline: 5, showCreateToolsText: 5, hideGeometrySimplificationActivityIndicator: 5, snappingOptions: 0, state: 32, textSymbol: 0, toolbarKind: 1, tooltipOptions: 0, useViewOptions: 5, valueOptions: 0, useLegacyCreateTools: 5, updateOnGraphicClickDisabled: 5, cancelUpdateOnClickAwayDisabled: 5, updateGraphics: 32 };
|
|
746
903
|
}
|
|
747
904
|
static {
|
|
748
|
-
this.styles =
|
|
905
|
+
this.styles = Se;
|
|
749
906
|
}
|
|
750
907
|
#t;
|
|
751
908
|
get #e() {
|
|
752
909
|
return this.#t.visibleElements;
|
|
753
910
|
}
|
|
754
911
|
#i;
|
|
755
|
-
#
|
|
912
|
+
#l;
|
|
756
913
|
#s;
|
|
914
|
+
#n;
|
|
757
915
|
get activeTool() {
|
|
758
916
|
return this.#t.activeTool;
|
|
759
917
|
}
|
|
@@ -951,7 +1109,7 @@ class Me extends Q {
|
|
|
951
1109
|
}
|
|
952
1110
|
get relativePosition() {
|
|
953
1111
|
const e = this.el.slot;
|
|
954
|
-
return this.#i ?? (
|
|
1112
|
+
return this.#i ?? (Ce.has(e) ? e : re.topRight);
|
|
955
1113
|
}
|
|
956
1114
|
set relativePosition(e) {
|
|
957
1115
|
this.#i = e;
|
|
@@ -1041,52 +1199,52 @@ class Me extends Q {
|
|
|
1041
1199
|
this.#t.sketchViewModel?.undo();
|
|
1042
1200
|
}
|
|
1043
1201
|
connectedCallback() {
|
|
1044
|
-
super.connectedCallback(), this.defaultGraphicsLayerDisabled || (this._defaultGraphicsLayer?.destroyed && (this._defaultGraphicsLayer = null), this._defaultGraphicsLayer ??= new
|
|
1202
|
+
super.connectedCallback(), this.defaultGraphicsLayerDisabled || (this._defaultGraphicsLayer?.destroyed && (this._defaultGraphicsLayer = null), this._defaultGraphicsLayer ??= new Y({ title: "Sketch Layer" }), this.layer = this._defaultGraphicsLayer, this.view?.map?.add(this.layer), this.viewModel.layer = this._defaultGraphicsLayer);
|
|
1045
1203
|
}
|
|
1046
1204
|
disconnectedCallback() {
|
|
1047
1205
|
this._defaultGraphicsLayer && this.view?.map?.allLayers.includes(this._defaultGraphicsLayer) && this.view?.map?.remove(this._defaultGraphicsLayer), super.disconnectedCallback();
|
|
1048
1206
|
}
|
|
1049
1207
|
render() {
|
|
1050
|
-
const e = this._refMap.get("settings")?.value?.actionElement, t = this.#t.groupedActions, { visualScale: o, layout: s, toolbarKind:
|
|
1051
|
-
return
|
|
1208
|
+
const e = this._refMap.get("settings")?.value?.actionElement, t = this.#t.groupedActions, { visualScale: o, layout: s, toolbarKind: c, relativePosition: d, _contextualToolLocation: r } = this, n = t.find(({ name: g }) => g === "selectionSet"), u = t.filter(({ name: g }) => g !== "selectionSet");
|
|
1209
|
+
return y`<div class="toolbar-container"><arcgis-toolbar-stack .layout=${s} .toolbarKind=${c} .relativePosition=${d} .scale=${o} tooltip-appearance=calcite ${M(this.#s.ref)}><arcgis-toolbar ${M(this.#l)}>${_({ hidden: !n?.visible || r !== "inline", children: this._renderActionGroup(n) })}${u.map((g) => this._renderActionGroup(g))}${_({ hidden: !n?.visible || r !== "inline-end", children: this._renderActionGroup(n) })}</arcgis-toolbar>${_({ hidden: !n?.visible || r !== "separate", children: y`<arcgis-toolbar>${this._renderActionGroup(n)}</arcgis-toolbar>` })}</arcgis-toolbar-stack></div>${_({ hidden: this.hideSettingsMenu, children: y`<arcgis-view-popover .open=${this.#t.settingsPopoverOpen} closable .heading=${this._messages.settings?.heading} .label=${this._messages.settings?.heading} .anchorElement=${e} .visualScale=${o} .actionBarElement=${this.#l.value?.barElement} @arcgisPropertyChange=${(g) => this.#t.settingsPopoverOpen = g.target.open ?? !1} .view=${this.view ?? void 0}>${this._renderSettings()}</arcgis-view-popover>` })}`;
|
|
1052
1210
|
}
|
|
1053
1211
|
_renderSettings() {
|
|
1054
|
-
const { autoDestroyDisabled: e, hideLabelsToggle: t, hideSnappingControls: o, hideTooltipsToggle: s, showSnappingControlsElementsHeader:
|
|
1055
|
-
return
|
|
1056
|
-
|
|
1057
|
-
const { labelsEnabled: g, tooltipsEnabled:
|
|
1058
|
-
switch (
|
|
1212
|
+
const { autoDestroyDisabled: e, hideLabelsToggle: t, hideSnappingControls: o, hideTooltipsToggle: s, showSnappingControlsElementsHeader: c, useViewOptions: d, view: r, viewModel: n } = this;
|
|
1213
|
+
return y`<div class="editing-controls-panel"><arcgis-sketch-tooltip-controls .hideLabelsToggle=${t} .hideTooltipsToggle=${d || s} .directionMode=${n.valueOptions.directionMode} .labelsEnabled=${n.labelOptions.enabled} .tooltipsEnabled=${n.tooltipOptions.enabled} @arcgisPropertyChange=${(u) => {
|
|
1214
|
+
u.stopPropagation();
|
|
1215
|
+
const { labelsEnabled: g, tooltipsEnabled: l, directionMode: v } = u.currentTarget, m = this.viewModel;
|
|
1216
|
+
switch (u.detail.name) {
|
|
1059
1217
|
case "labelsEnabled":
|
|
1060
|
-
|
|
1218
|
+
m.labelOptions.enabled = g;
|
|
1061
1219
|
break;
|
|
1062
1220
|
case "directionMode":
|
|
1063
|
-
|
|
1221
|
+
m.valueOptions.directionMode = v;
|
|
1064
1222
|
break;
|
|
1065
1223
|
case "tooltipsEnabled":
|
|
1066
|
-
|
|
1224
|
+
m.tooltipOptions.enabled = l;
|
|
1067
1225
|
break;
|
|
1068
1226
|
}
|
|
1069
|
-
}}></arcgis-sketch-tooltip-controls>${!
|
|
1227
|
+
}}></arcgis-sketch-tooltip-controls>${!d && !o ? y`<arcgis-snapping-controls .autoDestroyDisabled=${e} .view=${r} .visibleElements=${this.#e.snappingControlsElements} .snappingOptions=${n.snappingOptions} .showHeader=${c} @arcgisPropertyChange=${(u) => u.stopPropagation()}></arcgis-snapping-controls>` : void 0}</div>`;
|
|
1070
1228
|
}
|
|
1071
1229
|
_renderActionGroup({ visible: e, commands: t, name: o }) {
|
|
1072
1230
|
if (!e || !t.length)
|
|
1073
1231
|
return;
|
|
1074
|
-
const { defaultPriority: s, groupKind:
|
|
1075
|
-
switch (
|
|
1232
|
+
const { defaultPriority: s, groupKind: c, overflowLabel: d, preferEndSlot: r } = we[o], u = (o === "geometrySimplification" ? void 0 : this._groupLayoutPriorityOverrides.get(o)) ?? s, g = t.map((v) => this._renderCommand(v)), l = D(`more.${d}`, this._messages);
|
|
1233
|
+
switch (c) {
|
|
1076
1234
|
case "more-button":
|
|
1077
|
-
return
|
|
1235
|
+
return y`<arcgis-toolbar-group .priority=${u} .preferEndSlot=${r}><arcgis-toolbar-more-button .overflowActionLabel=${l} .priority=${u}>${g}</arcgis-toolbar-more-button></arcgis-toolbar-group>`;
|
|
1078
1236
|
case "split-button":
|
|
1079
|
-
return
|
|
1237
|
+
return y`<arcgis-toolbar-group .priority=${u} .preferEndSlot=${r}><arcgis-toolbar-split-button .overflowActionLabel=${l} .priority=${u}>${g}</arcgis-toolbar-split-button></arcgis-toolbar-group>`;
|
|
1080
1238
|
case "actions":
|
|
1081
|
-
return
|
|
1239
|
+
return y`<arcgis-toolbar-group .priority=${u} .preferEndSlot=${r}>${g}</arcgis-toolbar-group>`;
|
|
1082
1240
|
}
|
|
1083
1241
|
}
|
|
1084
|
-
_renderCommand({ active: e, afterCreate: t, afterRemoved: o, afterUpdate: s, appearance:
|
|
1085
|
-
const { _messages:
|
|
1086
|
-
return
|
|
1242
|
+
_renderCommand({ active: e, afterCreate: t, afterRemoved: o, afterUpdate: s, appearance: c, icon: d, disabled: r, id: n, kind: u, labelKey: g, labelParameters: l, loading: v, tooltipKey: m, iconFlipRTL: b, onClick: C, refKey: P, textEnabled: E, renderAsAction: U }) {
|
|
1243
|
+
const { _messages: G, _refMap: H, layout: $ } = this, k = D(g, G), A = k === void 0 ? g : l ? j(k, l) : k, R = G?.[m] ?? A, V = P ? F(H, P, O) : this.#n, x = { afterCreate: t, afterRemoved: o, afterUpdate: s };
|
|
1244
|
+
return U ? y`<arcgis-toolbar-action .active=${e} .appearance=${c} .disabled=${r} .icon=${d} .iconFlipRtl=${b} id=${n ?? B} .kind=${u} .loading=${v} .labelText=${$ === "horizontal" ? A : ""} .textEnabled=${E} .tooltipText=${$ === "horizontal" && E ? "" : R} @arcgisToolbarItemSelected=${C} ${W(x)} ${M(V)}></arcgis-toolbar-action>` : y`<arcgis-toolbar-item .active=${e} .disabled=${r} .icon=${d} id=${n ?? B} .iconFlipRtl=${b} .labelText=${A} .tooltipText=${R} @arcgisItemSelected=${C} ${W(x)} ${M(V)}></arcgis-toolbar-item>`;
|
|
1087
1245
|
}
|
|
1088
1246
|
}
|
|
1089
|
-
|
|
1247
|
+
N("arcgis-sketch", Ve);
|
|
1090
1248
|
export {
|
|
1091
|
-
|
|
1249
|
+
Ve as ArcgisSketch
|
|
1092
1250
|
};
|