@arcgis/map-components 5.2.0 → 5.2.2
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/{2XVIXLFC.js → 2FCMPHIV.js} +1 -1
- package/dist/cdn/2SQVQIG7.js +2 -0
- package/dist/cdn/{FGQBQOSC.js → 2TJY73QP.js} +1 -1
- package/dist/cdn/{43AJEL4U.js → 2YI63CXS.js} +1 -1
- package/dist/cdn/{IYA4JZ27.js → 34PRWOGS.js} +1 -1
- package/dist/cdn/{47Y2IWSQ.js → 3ADNBTSI.js} +1 -1
- package/dist/cdn/{YPWE3ZCH.js → 3F4MY34S.js} +1 -1
- package/dist/cdn/{ABVDDPFU.js → 3G6CVDYC.js} +1 -1
- package/dist/cdn/{OJCIHEHE.js → 3I7AVT75.js} +1 -1
- package/dist/cdn/{HYT3UPTO.js → 3LM4ESUS.js} +1 -1
- package/dist/cdn/{IP2FUUWH.js → 3OIWXTS4.js} +1 -1
- package/dist/cdn/{C2J6S4Z2.js → 3UOKCRDF.js} +1 -1
- package/dist/cdn/{ANEM6VG4.js → 3X3AUEIS.js} +1 -1
- package/dist/cdn/{ZSJ2EBUQ.js → 3XLTK34U.js} +1 -1
- package/dist/cdn/{POWWSXNT.js → 3YN6FULD.js} +1 -1
- package/dist/cdn/{KHO2GTRP.js → 43PKM6NL.js} +1 -1
- package/dist/cdn/{V2ACQ7VV.js → 45D5YJFW.js} +1 -1
- package/dist/cdn/{WJLZSKQQ.js → 4AL5KW4G.js} +1 -1
- package/dist/cdn/{FLNBBKNT.js → 4BJKGWD5.js} +1 -1
- package/dist/cdn/4BJTNOWZ.js +2 -0
- package/dist/cdn/{635ILZB3.js → 4H2YEHN6.js} +1 -1
- package/dist/cdn/{WRNOW2UH.js → 4ILCZIEH.js} +1 -1
- package/dist/cdn/{JRGLKWWK.js → 4KGT4QGH.js} +1 -1
- package/dist/cdn/{X6OT67Y6.js → 4PH524HZ.js} +1 -1
- package/dist/cdn/{BJCFTXR6.js → 4TXBFCMS.js} +1 -1
- package/dist/cdn/{7DV5IVJT.js → 4WPFWNYA.js} +1 -1
- package/dist/cdn/{XNLAXPWQ.js → 5CMLVLMU.js} +1 -1
- package/dist/cdn/{6ILJDG3P.js → 5LF6KZXA.js} +1 -1
- package/dist/cdn/{355UQVMW.js → 5O6GSNCK.js} +1 -1
- package/dist/cdn/{4NSXW6XY.js → 5XE5OG5Q.js} +1 -1
- package/dist/cdn/{J2KUPLYF.js → 5ZJSIMLN.js} +1 -1
- package/dist/cdn/{VEDHMG42.js → 64DIERHZ.js} +1 -1
- package/dist/cdn/{M6RLO4DB.js → 677YZFAY.js} +1 -1
- package/dist/cdn/{ZZ75DOT6.js → 67UBKYMA.js} +1 -1
- package/dist/cdn/{4G6TVRCP.js → 6HHQ4CFD.js} +1 -1
- package/dist/cdn/{S74ZRTKO.js → 6IGMUESG.js} +1 -1
- package/dist/cdn/{OYDPICFN.js → 6MADTJ5B.js} +1 -1
- package/dist/cdn/{IZ45CVO5.js → 6ZSHYAME.js} +1 -1
- package/dist/cdn/{DDCVZ3TR.js → 72BVXXSX.js} +1 -1
- package/dist/cdn/{3SRUPOXP.js → 76FDRVF3.js} +1 -1
- package/dist/cdn/{4GJFYHTJ.js → 77QGG4FQ.js} +1 -1
- package/dist/cdn/{KFZKNGIN.js → 7BMTWCL6.js} +1 -1
- package/dist/cdn/{NFM3C6NI.js → 7CL3VLND.js} +1 -1
- package/dist/cdn/{UWD3ONTH.js → 7DSMTEXR.js} +1 -1
- package/dist/cdn/{5RSL2L45.js → 7II4FFRT.js} +1 -1
- package/dist/cdn/{OJBZVPY6.js → 7MTTC2SX.js} +1 -1
- package/dist/cdn/{6J7G33BJ.js → 7PGITVAW.js} +1 -1
- package/dist/cdn/{SZGZ5WGC.js → 7VYELPGF.js} +1 -1
- package/dist/cdn/{RXIVAN2Z.js → 7Z5SLK5U.js} +1 -1
- package/dist/cdn/{4K5KABJN.js → A4ETODAW.js} +1 -1
- package/dist/cdn/{7MPCFWQO.js → A4XPYXJM.js} +1 -1
- package/dist/cdn/{ELUP4NED.js → A53KFJWF.js} +1 -1
- package/dist/cdn/{QJIYQN5J.js → A7DMJC2C.js} +1 -1
- package/dist/cdn/{WCOLD2O3.js → ABDYYC4G.js} +1 -1
- package/dist/cdn/{UDR5EDW6.js → AMGD63S2.js} +1 -1
- package/dist/cdn/{7UVJE6U5.js → AUH73G2E.js} +1 -1
- package/dist/cdn/{EY5JAMPL.js → AZ6LETNU.js} +1 -1
- package/dist/cdn/{XTT36USG.js → B4ANWLUG.js} +1 -1
- package/dist/cdn/{UCDMSAHY.js → B5KCLDL2.js} +1 -1
- package/dist/cdn/{3P2EA4FW.js → BAMWA7RI.js} +1 -1
- package/dist/cdn/{SA3FDVCF.js → BCR3DL6X.js} +1 -1
- package/dist/cdn/{FWXD4CAA.js → BIJG7CA2.js} +1 -1
- package/dist/cdn/{6N76KI6B.js → BKPJLEFJ.js} +1 -1
- package/dist/cdn/{VD6KWEWO.js → BZKYNLB5.js} +1 -1
- package/dist/cdn/{OTVUOSDW.js → C6H43UKX.js} +1 -1
- package/dist/cdn/{EKGMCVLS.js → CF4BHYKQ.js} +1 -1
- package/dist/cdn/{OUQ5UXAI.js → CGBP4F2A.js} +1 -1
- package/dist/cdn/{HX3UNRCF.js → CJQEVGBT.js} +1 -1
- package/dist/cdn/{ZG67BSBM.js → CPE5UEEG.js} +1 -1
- package/dist/cdn/CURWXMSM.js +2 -0
- package/dist/cdn/{IVITPRT5.js → D4OH3MOT.js} +1 -1
- package/dist/cdn/{J7XWWII7.js → D5CBRPXF.js} +1 -1
- package/dist/cdn/{2SSOEJFI.js → DCOHAZCB.js} +1 -1
- package/dist/cdn/{NRUPNXT4.js → DFKGG6CC.js} +1 -1
- package/dist/cdn/{AUJMMALE.js → DQAB64IE.js} +1 -1
- package/dist/cdn/{X7ZBJ4EV.js → DUFFHSYV.js} +1 -1
- package/dist/cdn/{ERMYIPIW.js → E2OMV72V.js} +1 -1
- package/dist/cdn/{DKY3FJ2L.js → EBUQ2QQ6.js} +1 -1
- package/dist/cdn/{KOVYOFWR.js → EDSLT3RM.js} +1 -1
- package/dist/cdn/{GHQTI3WE.js → EH6OQIL2.js} +1 -1
- package/dist/cdn/{D7HRVLNR.js → EIBP4JXR.js} +1 -1
- package/dist/cdn/EMHCIHGZ.js +2 -0
- package/dist/cdn/{KBMIXCB5.js → ERBLBUY7.js} +1 -1
- package/dist/cdn/{NKL7OBTB.js → F34ACIPU.js} +1 -1
- package/dist/cdn/{LJE2TVXC.js → FBIUGRMU.js} +1 -1
- package/dist/cdn/{LTKY3GWH.js → FGVGDIUL.js} +1 -1
- package/dist/cdn/{V5QSVEJ6.js → FLYTWINI.js} +1 -1
- package/dist/cdn/{TJUCGGUA.js → FY5SWE5F.js} +1 -1
- package/dist/cdn/{LXT673ON.js → G2S47RXQ.js} +1 -1
- package/dist/cdn/{TJVFYBBR.js → G75FOUJX.js} +1 -1
- package/dist/cdn/{WWRXQGB7.js → G7GTRWK2.js} +1 -1
- package/dist/cdn/{SUPGZ5FT.js → GIXMNA27.js} +1 -1
- package/dist/cdn/{HIXTGR4X.js → GMASIKUY.js} +1 -1
- package/dist/cdn/{ZRKBSIEK.js → GMM3Z4SJ.js} +1 -1
- package/dist/cdn/{5QUTCNMJ.js → GT5JQWQE.js} +1 -1
- package/dist/cdn/{42NI7MKM.js → GTZOF37L.js} +1 -1
- package/dist/cdn/{P4JSASDL.js → GWZWO4LC.js} +1 -1
- package/dist/cdn/{BWFAI6H2.js → H3VTLC2Y.js} +1 -1
- package/dist/cdn/{NA7NW5A3.js → H47DOETO.js} +1 -1
- package/dist/cdn/{YEOZIO4K.js → HHFXG766.js} +1 -1
- package/dist/cdn/{52MBSJME.js → HJZBT7NX.js} +1 -1
- package/dist/cdn/{S2FTBRV5.js → HPDCIP3F.js} +1 -1
- package/dist/cdn/{C6VOZSIN.js → HQ6OLV6V.js} +1 -1
- package/dist/cdn/HR7EZURW.js +2 -0
- package/dist/cdn/{7TGORQ2Y.js → HXJAY46L.js} +1 -1
- package/dist/cdn/{F65FT4ZZ.js → I2CJHX5K.js} +1 -1
- package/dist/cdn/{4IYTM3UE.js → IDSAETEG.js} +1 -1
- package/dist/cdn/{QA5Y5IKK.js → IIM6K4VX.js} +1 -1
- package/dist/cdn/IOPM2S4V.js +2 -0
- package/dist/cdn/{UG54GLP5.js → IQH5ND2K.js} +1 -1
- package/dist/cdn/{KHBMCVWB.js → ISJ3UPVI.js} +1 -1
- package/dist/cdn/{M3637WEM.js → IUBVMQSL.js} +1 -1
- package/dist/cdn/{H5OSJBGC.js → IYWVRTSX.js} +1 -1
- package/dist/cdn/{ZKNW2KW6.js → J4Q43AFY.js} +1 -1
- package/dist/cdn/{EWO5PCIV.js → J6CDGAVU.js} +1 -1
- package/dist/cdn/{KLA4R4EG.js → J6ID2I4A.js} +1 -1
- package/dist/cdn/{PEBIRCQ6.js → JBWSRGMR.js} +1 -1
- package/dist/cdn/{AI5XYR3T.js → JCC2QPPZ.js} +1 -1
- package/dist/cdn/{YD6RLPWT.js → JIEPWKVD.js} +1 -1
- package/dist/cdn/{QCTY2P3U.js → JKZVN7QJ.js} +1 -1
- package/dist/cdn/{L7O6F2YJ.js → JL4XV7YA.js} +1 -1
- package/dist/cdn/{TYLCXOYA.js → KUAN6RDC.js} +1 -1
- package/dist/cdn/{2CEIEEYI.js → KXCHF52S.js} +1 -1
- package/dist/cdn/{ECNWV7TN.js → KZ22PZP5.js} +1 -1
- package/dist/cdn/{YYTPIABA.js → L46QKGPR.js} +1 -1
- package/dist/cdn/{TYMJFNRW.js → L5KBFYKE.js} +1 -1
- package/dist/cdn/{3XINZ5UM.js → L5WMCQAT.js} +1 -1
- package/dist/cdn/{T35GLNJC.js → L6BKLWNP.js} +1 -1
- package/dist/cdn/{ZYLH4A35.js → L7Q33QUO.js} +1 -1
- package/dist/cdn/{75OQZ34G.js → LB4WUEVK.js} +1 -1
- package/dist/cdn/{A7W456AI.js → LFA7KSTK.js} +1 -1
- package/dist/cdn/{3BY3C6N6.js → LMFFBMUA.js} +1 -1
- package/dist/cdn/{CACN544U.js → LOV5JASH.js} +1 -1
- package/dist/cdn/M2EUTH2E.js +2 -0
- package/dist/cdn/{YOQMIKSF.js → M2MCR45P.js} +1 -1
- package/dist/cdn/{G7L2YHQQ.js → M4KNYIY2.js} +1 -1
- package/dist/cdn/{FIVRSSG3.js → M4UDSVMA.js} +1 -1
- package/dist/cdn/{Q4Y4VV2K.js → MC47DGQC.js} +1 -1
- package/dist/cdn/{ABBDUUM4.js → MCRNJHMD.js} +1 -1
- package/dist/cdn/{D2DEAMTQ.js → MES6GCTQ.js} +1 -1
- package/dist/cdn/MJ45WNQO.js +2 -0
- package/dist/cdn/{YJJL5Z2Q.js → MQHRXVWL.js} +1 -1
- package/dist/cdn/{PFAH4PTA.js → MRCUO54F.js} +1 -1
- package/dist/cdn/{VCZGRW7Z.js → MWC4YSVX.js} +1 -1
- package/dist/cdn/{GMAVCAO3.js → MWTSHQZA.js} +1 -1
- package/dist/cdn/{QR43PYML.js → NBGGAXEB.js} +1 -1
- package/dist/cdn/{L7TEKVZH.js → NDPGBXPQ.js} +1 -1
- package/dist/cdn/{CG6DG47E.js → NQGBYAXK.js} +1 -1
- package/dist/cdn/{7OLUMTPU.js → NXUTBSZG.js} +1 -1
- package/dist/cdn/{QRGIRHNW.js → O77BFSO7.js} +1 -1
- package/dist/cdn/{JN5G6BEG.js → OGY4BYTB.js} +1 -1
- package/dist/cdn/{3CATVA2O.js → OH5COBJU.js} +1 -1
- package/dist/cdn/{PCIOLOVZ.js → OK4XTRUT.js} +1 -1
- package/dist/cdn/{EPSO4NIM.js → OTM5BTIJ.js} +1 -1
- package/dist/cdn/{VN5W3HPP.js → PBVUXCDX.js} +1 -1
- package/dist/cdn/{544JD47Y.js → PEF3ESWF.js} +1 -1
- package/dist/cdn/{GOCVJEYD.js → PJ2RMW7S.js} +1 -1
- package/dist/cdn/{XWBX5I72.js → PMALMG3A.js} +1 -1
- package/dist/cdn/PQ57LJKN.js +2 -0
- package/dist/cdn/{Q6W3BX6Z.js → PQK6LD63.js} +1 -1
- package/dist/cdn/{OXS3TM7H.js → PSUBS3WC.js} +1 -1
- package/dist/cdn/{JRD6OT5Q.js → Q6CFZMRO.js} +1 -1
- package/dist/cdn/{YVUS5Z33.js → Q6RSMXZ7.js} +1 -1
- package/dist/cdn/{CRVQR53S.js → QA5JI6CV.js} +1 -1
- package/dist/cdn/{TQM3VDGS.js → QBNW46F3.js} +1 -1
- package/dist/cdn/{5P47MB6K.js → QKJVXHUY.js} +1 -1
- package/dist/cdn/{ZTKNT7ER.js → R5V7DFPM.js} +1 -1
- package/dist/cdn/{H3ZRCWWA.js → RAVJZLD3.js} +1 -1
- package/dist/cdn/{7JE67CVJ.js → RDCMYSI5.js} +1 -1
- package/dist/cdn/{FBNWHWXH.js → REVRAHWM.js} +1 -1
- package/dist/cdn/{5RYIR2ON.js → REZCL6Y6.js} +1 -1
- package/dist/cdn/{CROQUSJO.js → RFNV54G2.js} +1 -1
- package/dist/cdn/{I53T7OAX.js → ROQ2U72G.js} +1 -1
- package/dist/cdn/{WLK6APNW.js → RQLZQA4H.js} +1 -1
- package/dist/cdn/{HEQB2GHT.js → RRLW4AO6.js} +1 -1
- package/dist/cdn/RYUJN6UA.js +2 -0
- package/dist/cdn/{UHLA5H3N.js → S2DVV6PT.js} +1 -1
- package/dist/cdn/{H5LZNFXN.js → S2YHWXRS.js} +1 -1
- package/dist/cdn/{V3D5CKWL.js → S3IZTKQ4.js} +1 -1
- package/dist/cdn/{VKPN7XJZ.js → S3J3Q6MQ.js} +1 -1
- package/dist/cdn/{ONHLJM2G.js → SASXBRXK.js} +1 -1
- package/dist/cdn/{4CXG6JXU.js → SBQQHWIY.js} +1 -1
- package/dist/cdn/{JFM6XVOA.js → SGLVXUV2.js} +1 -1
- package/dist/cdn/{IAFR26VJ.js → SKORUMVX.js} +1 -1
- package/dist/cdn/{NW52Y4ZG.js → SL7Y6R57.js} +1 -1
- package/dist/cdn/{WEM6Y2HL.js → SLGN45ZM.js} +1 -1
- package/dist/cdn/{LCT3F7GZ.js → SPIYEJYW.js} +1 -1
- package/dist/cdn/{UQZKHDXL.js → SQJFCWUA.js} +1 -1
- package/dist/cdn/{OJSWOLIM.js → SW2SC7JP.js} +1 -1
- package/dist/cdn/{DNU4TU5L.js → SYMS2IGT.js} +1 -1
- package/dist/cdn/{IVUMKXQU.js → T252WQYH.js} +1 -1
- package/dist/cdn/{5K7D3NYX.js → T46K52WE.js} +1 -1
- package/dist/cdn/{ULVNML47.js → T5Q3U77V.js} +1 -1
- package/dist/cdn/{74BV2UR2.js → TB5FSNLA.js} +1 -1
- package/dist/cdn/{CKCOZURU.js → TM5ZBTEF.js} +1 -1
- package/dist/cdn/{M4VLJBQY.js → U4UIUKCI.js} +1 -1
- package/dist/cdn/{ZZKQ74HL.js → UBSVUJ2E.js} +1 -1
- package/dist/cdn/{JCIVO6PO.js → UCSXTGJF.js} +1 -1
- package/dist/cdn/{H3NQ3JZQ.js → UTEXQUJR.js} +1 -1
- package/dist/cdn/{5OOBWPUF.js → UY7K4GFV.js} +1 -1
- package/dist/cdn/{UXNWNOKM.js → UZX4NJCQ.js} +1 -1
- package/dist/cdn/{Z2BR42XY.js → VGA54DMA.js} +1 -1
- package/dist/cdn/{MM2KKNTQ.js → VH5DC7KP.js} +1 -1
- package/dist/cdn/VMEERD7A.js +2 -0
- package/dist/cdn/{7LV3QIZJ.js → VPWT7LXO.js} +1 -1
- package/dist/cdn/{2VGI6PON.js → VRHXD3MX.js} +1 -1
- package/dist/cdn/{J2AURZ7G.js → VUFBGJ3R.js} +1 -1
- package/dist/cdn/{77XQAHVN.js → VW4PUD6O.js} +1 -1
- package/dist/cdn/{3RLZEU77.js → VXJD4PIA.js} +1 -1
- package/dist/cdn/W5CCKBJL.js +2 -0
- package/dist/cdn/{NHNKGCBI.js → WAUWJNMK.js} +1 -1
- package/dist/cdn/{LXVKKWBF.js → WEIJICCE.js} +1 -1
- package/dist/cdn/{2EUIZFG5.js → WH36EQGF.js} +1 -1
- package/dist/cdn/{ME46MUVR.js → WHBMBC25.js} +1 -1
- package/dist/cdn/WOVRTZTU.js +2 -0
- package/dist/cdn/{EX5MOEMN.js → WPAAK5DC.js} +1 -1
- package/dist/cdn/{7O6J4X7O.js → X2GXRC7L.js} +1 -1
- package/dist/cdn/{U5PTELUQ.js → XAYRZHLG.js} +1 -1
- package/dist/cdn/{Z62HXRNX.js → XEKVXJYE.js} +1 -1
- package/dist/cdn/{THUPX2LZ.js → XMGRJM25.js} +1 -1
- package/dist/cdn/{GEZIDSYU.js → XMMRAUML.js} +1 -1
- package/dist/cdn/{LKW5X4ZS.js → XONQXZNS.js} +1 -1
- package/dist/cdn/{VAODARUF.js → XVOODXRO.js} +1 -1
- package/dist/cdn/{BEHE3J5Z.js → XWQTEMQH.js} +1 -1
- package/dist/cdn/{BQX6LWCS.js → XZANZZNP.js} +1 -1
- package/dist/cdn/{4RK27XKR.js → Y3W37FDA.js} +1 -1
- package/dist/cdn/{JOGGARMB.js → Y3YGBLU7.js} +1 -1
- package/dist/cdn/{7OVOYRDL.js → Y6CLLI7E.js} +1 -1
- package/dist/cdn/{C6O2VNAE.js → YNQP4KN4.js} +1 -1
- package/dist/cdn/{XU47BEOW.js → YOFHS2J5.js} +1 -1
- package/dist/cdn/{DYWNTGLO.js → YXSBMHD6.js} +1 -1
- package/dist/cdn/{42GZQRBT.js → Z3PIOWGR.js} +1 -1
- package/dist/cdn/{BYLDEVXF.js → Z6RI5IMB.js} +1 -1
- package/dist/cdn/{NC2GQGJT.js → ZAQCWDXZ.js} +1 -1
- package/dist/cdn/{7S7WALCQ.js → ZFHQB7YJ.js} +1 -1
- package/dist/cdn/{QF5Z6LVC.js → ZGB353GM.js} +1 -1
- package/dist/cdn/{YMSIBAGL.js → ZJ6YAWLX.js} +1 -1
- package/dist/cdn/{KDDEM52B.js → ZJUQU3A2.js} +1 -1
- package/dist/cdn/ZLTT354V.js +2 -0
- package/dist/cdn/{NUVHZA5W.js → ZNDZ6WCJ.js} +1 -1
- package/dist/cdn/{DSMAJT37.js → ZQ6QP7TQ.js} +1 -1
- package/dist/cdn/{N5DJYKIT.js → ZS2EAITQ.js} +1 -1
- package/dist/cdn/{A7QS6WHB.js → ZVIT7K65.js} +1 -1
- package/dist/cdn/{KSZYCJWG.js → ZXRYOT7S.js} +1 -1
- package/dist/cdn/{RKZHXOHI.js → ZYI632XM.js} +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/components/arcgis-expand/customElement.js +5 -5
- package/dist/components/arcgis-sketch/customElement.d.ts +23 -9
- package/dist/components/arcgis-sketch/customElement.js +215 -206
- package/dist/components/arcgis-utility-network-picker/customElement.js +32 -31
- package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace-configuration-picker/customElement.d.ts +10 -4
- package/dist/components/arcgis-utility-network-trace-configuration-picker/customElement.js +10 -9
- package/dist/components/arcgis-utility-network-trace-inputs/customElement.d.ts +3 -0
- package/dist/components/arcgis-utility-network-trace-inputs/customElement.js +7 -7
- package/dist/components/arcgis-utility-network-trace-locations/customElement.js +148 -118
- package/dist/components/arcgis-view-popover/customElement.d.ts +65 -33
- package/dist/components/arcgis-view-popover/customElement.js +196 -108
- package/dist/components/arcgis-view-popover/index.js +1 -1
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/vscode.html-custom-data.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/loader.js +1 -1
- package/dist/types/lumina.d.ts +1 -1
- package/dist/types/preact.d.ts +1 -1
- package/dist/types/react.d.ts +1 -1
- package/dist/types/stencil.d.ts +1 -1
- package/package.json +7 -7
- package/dist/cdn/3NO7L32R.js +0 -2
- package/dist/cdn/5AERV4OR.js +0 -2
- package/dist/cdn/6VHWWOP2.js +0 -2
- package/dist/cdn/7YZKCPR4.js +0 -2
- package/dist/cdn/IMK2NZAE.js +0 -2
- package/dist/cdn/J357FPG4.js +0 -2
- package/dist/cdn/NOXJSP5K.js +0 -2
- package/dist/cdn/S7HMLOW4.js +0 -2
- package/dist/cdn/SYLER3OL.js +0 -2
- package/dist/cdn/UTQYSTJC.js +0 -2
- package/dist/cdn/UWQK6HGY.js +0 -2
- package/dist/cdn/V5C4GMKX.js +0 -2
- package/dist/cdn/W2FVAB6I.js +0 -2
- package/dist/cdn/YL36JTMT.js +0 -2
- package/dist/components/arcgis-sketch/SketchComponentViewModel.d.ts +0 -84
- package/dist/components/arcgis-sketch/configuration.d.ts +0 -33
- package/dist/components/arcgis-sketch/support.d.ts +0 -17
- package/dist/components/arcgis-sketch/toolbar-sizing-controller.d.ts +0 -96
|
@@ -1,41 +1,43 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import { c as
|
|
3
|
-
import
|
|
4
|
-
import { cutExecute as
|
|
5
|
-
import { lengthExecute as
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import
|
|
15
|
-
import
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import
|
|
20
|
-
import {
|
|
21
|
-
|
|
22
|
-
|
|
2
|
+
import { c as A } from "../../chunks/runtime.js";
|
|
3
|
+
import x from "@arcgis/core/core/Collection.js";
|
|
4
|
+
import { cutExecute as F } from "@arcgis/core/geometry/operators/cutOperator.js";
|
|
5
|
+
import { lengthExecute as w } from "@arcgis/core/geometry/operators/lengthOperator.js";
|
|
6
|
+
import { distanceExecute as C } from "@arcgis/core/geometry/operators/distanceOperator.js";
|
|
7
|
+
import { projectIsLoaded as B, projectLoad as D, projectExecute as q } from "@arcgis/core/geometry/operators/projectOperator.js";
|
|
8
|
+
import { proximityGetNearestCoordinate as N } from "@arcgis/core/geometry/operators/proximityOperator.js";
|
|
9
|
+
import M from "@arcgis/core/geometry/Point.js";
|
|
10
|
+
import S from "@arcgis/core/geometry/Polyline.js";
|
|
11
|
+
import j from "@arcgis/core/Graphic.js";
|
|
12
|
+
import O from "@arcgis/core/layers/GraphicsLayer.js";
|
|
13
|
+
import G from "@arcgis/core/rest/networks/support/TraceLocation.js";
|
|
14
|
+
import v from "@arcgis/core/symbols/SimpleMarkerSymbol.js";
|
|
15
|
+
import H from "@arcgis/core/widgets/Sketch/SketchViewModel.js";
|
|
16
|
+
import { LitElement as U, createEvent as $ } from "@arcgis/lumina";
|
|
17
|
+
import { log as p, composeMissingPropertyMessage as k } from "@arcgis/toolkit/log";
|
|
18
|
+
import { u as V } from "../../chunks/useT9n.js";
|
|
19
|
+
import { a as W, d as z, e as R, i as Z } from "../../chunks/layer-utils.js";
|
|
20
|
+
import { css as Q, html as u } from "lit";
|
|
21
|
+
import E from "@arcgis/core/views/interactive/snapping/FeatureSnappingLayerSource.js";
|
|
22
|
+
import { substitute as J } from "@arcgis/core/intl.js";
|
|
23
|
+
const K = Q`calcite-block{--calcite-block-content-space: 0;--calcite-block-border-color: transparent;margin:0}.add-location-button{--calcite-button-border-color: var(--calcite-color-border-1);--calcite-button-icon-color: var(--calcite-color-text-1);--calcite-button-text-color: var(--calcite-color-text-1)}.button-container{display:flex;justify-content:center}calcite-list{margin:0 var(--calcite-space-sm) var(--calcite-space-sm);background-color:var(--calcite-color-surface-2);border:solid 1px var(--calcite-color-border-3);border-radius:var(--calcite-corner-radius-sm);overflow:hidden}calcite-list-item[selected] [slot=content-bottom]{display:block}.warning{color:var(--calcite-color-status-danger)}.terminals{padding:var(--calcite-space-sm) var(--calcite-space-md);display:flex;flex-direction:column}.filter-barrier{display:flex;justify-content:space-between;align-items:center;width:100%}`, P = `utility-network-trace-locations-sketch-${Date.now()}`;
|
|
24
|
+
class I extends U {
|
|
23
25
|
constructor() {
|
|
24
|
-
super(...arguments), this._messages =
|
|
26
|
+
super(...arguments), this._messages = V({ blocking: !0 }), this._isSelectWaiting = !1, this.traceLocationType = "starting-point", this.traceLocations = new x(), this.filterLayers = new x(), this.spatialTolerance = 0.05, this.autoDestroyDisabled = !1, this.arcgisTraceLocationSelectEnd = $(), this.arcgisTraceLocationSelectStart = $(), this.arcgisError = $();
|
|
25
27
|
}
|
|
26
28
|
static {
|
|
27
29
|
this.properties = { _isSelectWaiting: 16, beforeMapInteraction: 0, afterMapInteraction: 0, messageOverrides: 0, view: 0, traceLocationType: 1, traceLocations: 0, filterLayers: 0, spatialTolerance: 9, error: 1, autoDestroyDisabled: 5, utilityNetwork: 0, heading: 1, sketchViewModel: 32 };
|
|
28
30
|
}
|
|
29
31
|
static {
|
|
30
|
-
this.styles =
|
|
32
|
+
this.styles = K;
|
|
31
33
|
}
|
|
32
34
|
static {
|
|
33
35
|
this.sketchViewModelMap = /* @__PURE__ */ new Map();
|
|
34
36
|
}
|
|
35
37
|
static getSketchViewModel(e) {
|
|
36
38
|
if (!this.sketchViewModelMap.has(e)) {
|
|
37
|
-
const t = this.#s(e,
|
|
38
|
-
t && this.sketchViewModelMap.set(e, new
|
|
39
|
+
const t = this.#s(e, P);
|
|
40
|
+
t && this.sketchViewModelMap.set(e, new H({ view: e, layer: t }));
|
|
39
41
|
}
|
|
40
42
|
return this.sketchViewModelMap.get(e) ?? null;
|
|
41
43
|
}
|
|
@@ -44,37 +46,37 @@ class S extends q {
|
|
|
44
46
|
return null;
|
|
45
47
|
const r = e.map.findLayerById(t);
|
|
46
48
|
if (!r) {
|
|
47
|
-
const i = new
|
|
49
|
+
const i = new O({
|
|
48
50
|
id: t,
|
|
49
51
|
listMode: "hide",
|
|
50
52
|
title: t
|
|
51
53
|
});
|
|
52
|
-
return
|
|
54
|
+
return W(e, i), i;
|
|
53
55
|
}
|
|
54
56
|
return r;
|
|
55
57
|
}
|
|
56
58
|
static removeSketchGraphicsLayer(e) {
|
|
57
59
|
if (e?.map) {
|
|
58
|
-
const t = e.map.findLayerById(
|
|
60
|
+
const t = e.map.findLayerById(P);
|
|
59
61
|
t && e.map.remove(t), this.sketchViewModelMap.delete(e);
|
|
60
62
|
}
|
|
61
63
|
}
|
|
62
|
-
#
|
|
64
|
+
#t;
|
|
63
65
|
get sketchViewModel() {
|
|
64
|
-
return this.view ?
|
|
66
|
+
return this.view ? I.getSketchViewModel(this.view) : null;
|
|
65
67
|
}
|
|
66
68
|
async destroy() {
|
|
67
69
|
try {
|
|
68
|
-
this.#i();
|
|
70
|
+
this.#t && this.sketchViewModel?.cancel(), this.#i();
|
|
69
71
|
} finally {
|
|
70
72
|
await this.manager.destroy();
|
|
71
73
|
}
|
|
72
74
|
}
|
|
73
75
|
async load() {
|
|
74
|
-
|
|
76
|
+
B() || await D();
|
|
75
77
|
}
|
|
76
78
|
willUpdate(e) {
|
|
77
|
-
e.has("filterLayers") && this.#
|
|
79
|
+
e.has("filterLayers") && this.#n();
|
|
78
80
|
}
|
|
79
81
|
#e(e, t) {
|
|
80
82
|
this.error = t, p(e, this, t), this.arcgisError.emit();
|
|
@@ -83,17 +85,17 @@ class S extends q {
|
|
|
83
85
|
const { traceLocations: t, view: r } = this;
|
|
84
86
|
e.spatialProperties.flagGraphic && r && r.graphics.remove(e.spatialProperties.flagGraphic), t?.remove(e);
|
|
85
87
|
}
|
|
86
|
-
#
|
|
88
|
+
#n() {
|
|
87
89
|
if (!this.sketchViewModel)
|
|
88
90
|
return;
|
|
89
|
-
const e = new
|
|
91
|
+
const e = new x();
|
|
90
92
|
this.filterLayers?.forEach((t) => {
|
|
91
|
-
|
|
92
|
-
e.add(new
|
|
93
|
+
z(t) ? t.sublayers.forEach((r) => {
|
|
94
|
+
e.add(new E({
|
|
93
95
|
layer: r,
|
|
94
96
|
enabled: !0
|
|
95
97
|
}));
|
|
96
|
-
}) : e.add(new
|
|
98
|
+
}) : e.add(new E({
|
|
97
99
|
layer: t,
|
|
98
100
|
enabled: !0
|
|
99
101
|
}));
|
|
@@ -102,35 +104,63 @@ class S extends q {
|
|
|
102
104
|
featureSources: e
|
|
103
105
|
};
|
|
104
106
|
}
|
|
105
|
-
#
|
|
107
|
+
#o(e, t) {
|
|
106
108
|
const r = e.clone(), i = r.spatialReference, a = t.spatialReference;
|
|
107
109
|
if (!i || !a)
|
|
108
110
|
return p("warn", this, "Unable to calculate percent along because geometry is missing a spatial reference."), -1;
|
|
109
111
|
let s = t;
|
|
110
112
|
if (!i.equals(a)) {
|
|
111
|
-
const
|
|
112
|
-
if (!
|
|
113
|
+
const y = q(t, i);
|
|
114
|
+
if (!y)
|
|
113
115
|
return p("warn", this, "Unable to project flag point to source geometry spatial reference."), -1;
|
|
114
|
-
s =
|
|
116
|
+
s = y;
|
|
115
117
|
}
|
|
116
|
-
const c =
|
|
118
|
+
const c = N(r, s);
|
|
117
119
|
if (c.isEmpty)
|
|
118
120
|
return p("warn", this, "Unable to compute nearest coordinate for polyline flag."), -1;
|
|
119
|
-
const
|
|
121
|
+
const n = c.coordinate, l = n.x - 0.5, o = n.y - 0.5, h = n.x + 0.5, b = n.y + 0.5, L = new S({
|
|
120
122
|
hasZ: !1,
|
|
121
123
|
hasM: !0,
|
|
122
124
|
paths: [
|
|
123
125
|
[
|
|
124
|
-
[l,
|
|
125
|
-
[
|
|
126
|
+
[l, o],
|
|
127
|
+
[h, b]
|
|
126
128
|
]
|
|
127
129
|
],
|
|
128
130
|
spatialReference: r.spatialReference
|
|
129
|
-
}),
|
|
130
|
-
if (
|
|
131
|
-
const
|
|
132
|
-
let
|
|
133
|
-
|
|
131
|
+
}), d = F(r, L);
|
|
132
|
+
if (d.length > 0) {
|
|
133
|
+
const y = w(r, { unit: "feet" });
|
|
134
|
+
let m;
|
|
135
|
+
if (d.length === 1 && d[0].paths.length > 1) {
|
|
136
|
+
const f = d[0], g = r.paths[0][0], T = f.paths[0][0];
|
|
137
|
+
T[0] === g[0] && T[1] === g[1] ? m = w(new S({
|
|
138
|
+
hasZ: !1,
|
|
139
|
+
hasM: !0,
|
|
140
|
+
paths: [f.paths[0]],
|
|
141
|
+
spatialReference: r.spatialReference
|
|
142
|
+
}), { unit: "feet" }) : m = w(new S({
|
|
143
|
+
hasZ: !1,
|
|
144
|
+
hasM: !0,
|
|
145
|
+
paths: [f.paths[1]],
|
|
146
|
+
spatialReference: r.spatialReference
|
|
147
|
+
}), { unit: "feet" });
|
|
148
|
+
} else if (d.length === 1) {
|
|
149
|
+
const f = new M({
|
|
150
|
+
x: r.paths[0][0][0],
|
|
151
|
+
y: r.paths[0][0][1],
|
|
152
|
+
spatialReference: r.spatialReference
|
|
153
|
+
}), g = new M({
|
|
154
|
+
x: r.paths[0][r.paths[0].length - 1][0],
|
|
155
|
+
y: r.paths[0][r.paths[0].length - 1][1],
|
|
156
|
+
spatialReference: r.spatialReference
|
|
157
|
+
}), T = C(f, s), _ = C(g, s);
|
|
158
|
+
T < _ ? m = 0 : m = y;
|
|
159
|
+
} else {
|
|
160
|
+
const f = r.paths[0][0], g = d[0].paths[0][0];
|
|
161
|
+
g[0] === f[0] && g[1] === f[1] ? m = w(d[0], { unit: "feet" }) : m = w(d[1], { unit: "feet" });
|
|
162
|
+
}
|
|
163
|
+
return m / y;
|
|
134
164
|
}
|
|
135
165
|
return p("warn", this, "Unable to cut the source geometry with the flag geometry."), -1;
|
|
136
166
|
}
|
|
@@ -141,7 +171,7 @@ class S extends q {
|
|
|
141
171
|
async #l() {
|
|
142
172
|
const { view: e, sketchViewModel: t } = this;
|
|
143
173
|
if (!(e && t)) {
|
|
144
|
-
p("error", this, "Cannot add trace location."), t || p("error", this,
|
|
174
|
+
p("error", this, "Cannot add trace location."), t || p("error", this, k("sketchViewModel")), e || p("error", this, k("view"));
|
|
145
175
|
return;
|
|
146
176
|
}
|
|
147
177
|
if (this.beforeMapInteraction) {
|
|
@@ -152,64 +182,64 @@ class S extends q {
|
|
|
152
182
|
this._isSelectWaiting = !1;
|
|
153
183
|
}
|
|
154
184
|
}
|
|
155
|
-
await this.#
|
|
185
|
+
await this.#r(e, t);
|
|
156
186
|
}
|
|
157
|
-
async #
|
|
158
|
-
this.arcgisTraceLocationSelectStart.emit({ cancelSelect: () => t.cancel() }).defaultPrevented || (this.#
|
|
187
|
+
async #r(e, t) {
|
|
188
|
+
this.arcgisTraceLocationSelectStart.emit({ cancelSelect: () => t.cancel() }).defaultPrevented || (this.#t?.remove(), this.#t = t.on("create", (i) => this.#p(i, e, t)), "acquireCursor" in e && e.acquireCursor("crosshair"), t.snappingOptions.enabled = !0, t.create("point"));
|
|
159
189
|
}
|
|
160
190
|
#p(e, t, r) {
|
|
161
191
|
if (e.state === "complete" && e.graphic) {
|
|
162
|
-
r.layer.remove(e.graphic), this.#
|
|
192
|
+
r.layer.remove(e.graphic), this.#u(e, t, r);
|
|
163
193
|
return;
|
|
164
194
|
}
|
|
165
195
|
e.state === "cancel" && (this.#i(), this.arcgisTraceLocationSelectEnd.emit());
|
|
166
196
|
}
|
|
167
|
-
async #
|
|
197
|
+
async #u(e, t, r) {
|
|
168
198
|
const { utilityNetwork: i } = this, { graphic: a } = e;
|
|
169
199
|
if (!i) {
|
|
170
|
-
p("error", this,
|
|
200
|
+
p("error", this, k("utilityNetwork")), this.#i(), this.arcgisTraceLocationSelectEnd.emit();
|
|
171
201
|
return;
|
|
172
202
|
}
|
|
173
203
|
if (a?.geometry?.type !== "point") {
|
|
174
|
-
this.#e("warn", this._messages.errors.noHitResult), this.#
|
|
204
|
+
this.#e("warn", this._messages.errors.noHitResult), this.#r(t, r);
|
|
175
205
|
return;
|
|
176
206
|
}
|
|
177
207
|
const s = a.geometry, c = t.toScreen(s);
|
|
178
208
|
if (!c) {
|
|
179
|
-
this.#e("warn", this._messages.errors.noHitResult), this.#
|
|
209
|
+
this.#e("warn", this._messages.errors.noHitResult), this.#r(t, r);
|
|
180
210
|
return;
|
|
181
211
|
}
|
|
182
212
|
const l = (await t.hitTest(c, {
|
|
183
213
|
include: this.filterLayers
|
|
184
|
-
})).results.filter((
|
|
214
|
+
})).results.filter((o) => o.type === "graphic" && o?.layer && o.graphic);
|
|
185
215
|
if (!l.length) {
|
|
186
|
-
this.#e("info", this._messages.errors.noHitResult), this.#
|
|
216
|
+
this.#e("info", this._messages.errors.noHitResult), this.#r(t, r);
|
|
187
217
|
return;
|
|
188
218
|
}
|
|
189
219
|
this.#i();
|
|
190
220
|
try {
|
|
191
|
-
await this.#
|
|
192
|
-
} catch (
|
|
193
|
-
const
|
|
194
|
-
this.#e("error",
|
|
221
|
+
await this.#h(l, s, t) ? this.arcgisTraceLocationSelectEnd.emit() : this.#r(t, r);
|
|
222
|
+
} catch (o) {
|
|
223
|
+
const h = o instanceof Error ? o.message : String(o);
|
|
224
|
+
this.#e("error", h), this.arcgisTraceLocationSelectEnd.emit();
|
|
195
225
|
}
|
|
196
226
|
}
|
|
197
227
|
#i() {
|
|
198
228
|
const { view: e, sketchViewModel: t } = this;
|
|
199
229
|
if (!e) {
|
|
200
|
-
p("error", this,
|
|
230
|
+
p("error", this, k("view"));
|
|
201
231
|
return;
|
|
202
232
|
}
|
|
203
|
-
t && (t.snappingOptions.enabled = !1), this.#
|
|
233
|
+
t && (t.snappingOptions.enabled = !1), this.#t?.remove(), this.#t = void 0, "acquireCursor" in e && e.acquireCursor("default");
|
|
204
234
|
}
|
|
205
|
-
async #
|
|
235
|
+
async #h(e, t, r) {
|
|
206
236
|
if (!e.length)
|
|
207
237
|
return this.#e("error", this._messages.errors.noHitResult), !1;
|
|
208
238
|
let a = e[0].graphic;
|
|
209
239
|
if (this.afterMapInteraction) {
|
|
210
|
-
const c = e.map((
|
|
211
|
-
const l =
|
|
212
|
-
return
|
|
240
|
+
const c = e.map((n) => {
|
|
241
|
+
const l = n, o = l.graphic;
|
|
242
|
+
return o.origin = l.layer, o.sourceLayer = l.layer, o;
|
|
213
243
|
});
|
|
214
244
|
try {
|
|
215
245
|
a = await this.afterMapInteraction(c);
|
|
@@ -219,38 +249,38 @@ class S extends q {
|
|
|
219
249
|
}
|
|
220
250
|
if (!a)
|
|
221
251
|
return !0;
|
|
222
|
-
const s = await this.#
|
|
252
|
+
const s = await this.#d(a);
|
|
223
253
|
if (!s)
|
|
224
254
|
throw new Error(this._messages.errors.missingAttributes);
|
|
225
|
-
return await this.#
|
|
255
|
+
return await this.#f(s, t, r);
|
|
226
256
|
}
|
|
227
|
-
async #
|
|
228
|
-
const t = (
|
|
229
|
-
if (
|
|
257
|
+
async #d(e) {
|
|
258
|
+
const t = (R(e.layer), e.layer), r = t.geometryType === null, i = t.fieldsIndex?.get("assetgroup") ?? !1, a = t.fieldsIndex?.get("assetgroup")?.name ?? "assetgroup", s = t.fieldsIndex?.get("assettype") ?? !1, c = t.fieldsIndex?.get("assettype")?.name ?? "assettype", n = e.getGlobalId(), l = e.getObjectId(), o = i ? !!e.getAttribute(a) : !0, h = s ? !!e.getAttribute(c) : !0, b = !!e.geometry;
|
|
259
|
+
if (n && l && o && h && (b || r))
|
|
230
260
|
return e;
|
|
231
|
-
const
|
|
232
|
-
return
|
|
261
|
+
const L = t.createQuery();
|
|
262
|
+
return L.objectIds = [l], (await t.queryFeatures(L)).features[0] || null;
|
|
233
263
|
}
|
|
234
|
-
async #
|
|
235
|
-
const { traceLocations: i } = this, a = e.getGlobalId() ?? "", s = e.geometry?.type, c = await this.#
|
|
264
|
+
async #f(e, t, r) {
|
|
265
|
+
const { traceLocations: i } = this, a = e.getGlobalId() ?? "", s = e.geometry?.type, c = await this.#m(e, t);
|
|
236
266
|
if (!c)
|
|
237
267
|
return this.#e("error", this._messages.errors.errorGeneratingTraceLocationDetails), !1;
|
|
238
|
-
const
|
|
239
|
-
if (
|
|
268
|
+
const n = i?.filter((o) => o.spatialProperties.mapGraphic?.getGlobalId() === a) ?? [];
|
|
269
|
+
if (n.length > 0) {
|
|
240
270
|
if (s !== "polyline")
|
|
241
271
|
return this.#e("warn", this._messages.errors.duplicateTraceLocationDetails), !1;
|
|
242
|
-
if (
|
|
272
|
+
if (n.some((o) => Math.abs(o.traceLocation.percentAlong - c.traceLocation.percentAlong) <= this.spatialTolerance))
|
|
243
273
|
return this.#e("warn", this._messages.errors.duplicateTraceLocationDetailsWithinTolerance), !1;
|
|
244
274
|
}
|
|
245
275
|
const l = this.#y(e, t, r);
|
|
246
276
|
return l ? (c.spatialProperties.flagGraphic = l, i?.add(c), !0) : (this.#e("warn", this._messages.errors.errorAdding), !1);
|
|
247
277
|
}
|
|
248
|
-
async #
|
|
278
|
+
async #m(e, t) {
|
|
249
279
|
const { traceLocationType: r, utilityNetwork: i } = this, a = e.getGlobalId() ?? "", s = e.geometry?.type, c = await this.#g(e);
|
|
250
280
|
if (s === "point" || s === "polygon") {
|
|
251
|
-
const
|
|
281
|
+
const n = i?.getTerminalConfiguration(e), l = n ? n.terminals[0].id : 1;
|
|
252
282
|
return {
|
|
253
|
-
traceLocation: new
|
|
283
|
+
traceLocation: new G({
|
|
254
284
|
type: r,
|
|
255
285
|
isFilterBarrier: !1,
|
|
256
286
|
globalId: a,
|
|
@@ -259,8 +289,8 @@ class S extends q {
|
|
|
259
289
|
flagProperties: {
|
|
260
290
|
title: c,
|
|
261
291
|
expanded: !1,
|
|
262
|
-
terminalConfiguration:
|
|
263
|
-
selectedTerminals:
|
|
292
|
+
terminalConfiguration: n ?? void 0,
|
|
293
|
+
selectedTerminals: n ? /* @__PURE__ */ new Set([l]) : void 0
|
|
264
294
|
},
|
|
265
295
|
spatialProperties: {
|
|
266
296
|
mapPoint: t,
|
|
@@ -268,13 +298,13 @@ class S extends q {
|
|
|
268
298
|
}
|
|
269
299
|
};
|
|
270
300
|
} else if (s === "polyline") {
|
|
271
|
-
const
|
|
272
|
-
return
|
|
273
|
-
traceLocation: new
|
|
301
|
+
const n = this.#o(e.geometry, t);
|
|
302
|
+
return n < 0 ? (p("warn", this, "Unable to calculate percent along for polyline flag."), null) : {
|
|
303
|
+
traceLocation: new G({
|
|
274
304
|
type: r,
|
|
275
305
|
isFilterBarrier: !1,
|
|
276
306
|
globalId: a,
|
|
277
|
-
percentAlong:
|
|
307
|
+
percentAlong: n
|
|
278
308
|
}),
|
|
279
309
|
flagProperties: {
|
|
280
310
|
title: c,
|
|
@@ -288,20 +318,20 @@ class S extends q {
|
|
|
288
318
|
}
|
|
289
319
|
};
|
|
290
320
|
} else if (!s) {
|
|
291
|
-
const
|
|
321
|
+
const n = Z(e.layer) ? e.layer.parent : e.layer, l = n && this.#c.includes(n.layerId), o = i?.getTerminalConfiguration(e), h = o ? o.terminals[0].id : l ? -1 : 1, b = l ? 0.5 : -1;
|
|
292
322
|
return {
|
|
293
|
-
traceLocation: new
|
|
323
|
+
traceLocation: new G({
|
|
294
324
|
type: r,
|
|
295
325
|
isFilterBarrier: !1,
|
|
296
326
|
globalId: a,
|
|
297
|
-
terminalId:
|
|
298
|
-
percentAlong:
|
|
327
|
+
terminalId: h,
|
|
328
|
+
percentAlong: b
|
|
299
329
|
}),
|
|
300
330
|
flagProperties: {
|
|
301
331
|
title: c,
|
|
302
332
|
expanded: !1,
|
|
303
|
-
terminalConfiguration:
|
|
304
|
-
selectedTerminals:
|
|
333
|
+
terminalConfiguration: o ?? void 0,
|
|
334
|
+
selectedTerminals: o ? /* @__PURE__ */ new Set([h]) : void 0
|
|
305
335
|
},
|
|
306
336
|
spatialProperties: {
|
|
307
337
|
mapPoint: t,
|
|
@@ -312,11 +342,11 @@ class S extends q {
|
|
|
312
342
|
return null;
|
|
313
343
|
}
|
|
314
344
|
async #g(e) {
|
|
315
|
-
const t = (
|
|
345
|
+
const t = (R(e.layer), e.layer);
|
|
316
346
|
return ("getFeatureTitle" in t ? await t.getFeatureTitle(e) : null) || e.getObjectId()?.toString() || this._messages.unknown;
|
|
317
347
|
}
|
|
318
348
|
#y(e, t, r) {
|
|
319
|
-
const i = e.geometry ? e.geometry.type === "point" ? e.geometry : t : null, a = this.#b(), s = new
|
|
349
|
+
const i = e.geometry ? e.geometry.type === "point" ? e.geometry : t : null, a = this.#b(), s = new j({
|
|
320
350
|
geometry: i,
|
|
321
351
|
symbol: a,
|
|
322
352
|
attributes: e.attributes
|
|
@@ -325,7 +355,7 @@ class S extends q {
|
|
|
325
355
|
}
|
|
326
356
|
#b() {
|
|
327
357
|
const { traceLocationType: e } = this, t = [244, 21, 21, 0.6], r = [21, 244, 21, 0.6];
|
|
328
|
-
return e === "stopping-point" ? new
|
|
358
|
+
return e === "stopping-point" ? new v({
|
|
329
359
|
color: t,
|
|
330
360
|
style: "x",
|
|
331
361
|
size: 12,
|
|
@@ -333,7 +363,7 @@ class S extends q {
|
|
|
333
363
|
color: t,
|
|
334
364
|
width: 2
|
|
335
365
|
}
|
|
336
|
-
}) : e === "barrier" ? new
|
|
366
|
+
}) : e === "barrier" ? new v({
|
|
337
367
|
color: t,
|
|
338
368
|
style: "square",
|
|
339
369
|
size: 12,
|
|
@@ -341,7 +371,7 @@ class S extends q {
|
|
|
341
371
|
color: t,
|
|
342
372
|
width: 0
|
|
343
373
|
}
|
|
344
|
-
}) : new
|
|
374
|
+
}) : new v({
|
|
345
375
|
color: r,
|
|
346
376
|
style: "circle",
|
|
347
377
|
size: 12,
|
|
@@ -359,24 +389,24 @@ class S extends q {
|
|
|
359
389
|
}
|
|
360
390
|
#L(e, t) {
|
|
361
391
|
const { flagProperties: r } = e, { selectedTerminals: i } = r, { name: a, id: s } = t, c = i?.has(s) ?? !1;
|
|
362
|
-
return
|
|
363
|
-
|
|
392
|
+
return u`<calcite-label layout=inline><calcite-checkbox .value=${s} .checked=${c} @calciteCheckboxChange=${(n) => {
|
|
393
|
+
n.target.checked ? i?.add(s) : i?.delete(s), this.requestUpdate();
|
|
364
394
|
}}></calcite-checkbox>${a}</calcite-label>`;
|
|
365
395
|
}
|
|
366
396
|
#T() {
|
|
367
|
-
return
|
|
397
|
+
return u`<calcite-notice kind=danger open scale=s width=auto><div slot=message>${this._messages.errors.noTerminalSelected}</div></calcite-notice>`;
|
|
368
398
|
}
|
|
369
399
|
#k(e) {
|
|
370
400
|
const { traceLocation: t } = e;
|
|
371
|
-
return
|
|
401
|
+
return u`<calcite-label layout=inline><div class="filter-barrier">${this._messages.labels.filterBarrier}<calcite-switch .checked=${t.isFilterBarrier} @calciteSwitchChange=${(r) => {
|
|
372
402
|
t.isFilterBarrier = r.target.checked;
|
|
373
403
|
}}></calcite-switch></div></calcite-label>`;
|
|
374
404
|
}
|
|
375
405
|
#x(e) {
|
|
376
406
|
const { flagProperties: t } = e, { terminalConfiguration: r, selectedTerminals: i } = t, a = e.traceLocation.type === "barrier", s = r && r.terminals.length > 0 && i?.size === 0;
|
|
377
|
-
return
|
|
407
|
+
return u`<calcite-action .icon=${t.expanded ? "chevron-up" : "chevron-down"} slot=actions-end scale=s text @click=${() => {
|
|
378
408
|
t.expanded = !t.expanded, this.requestUpdate();
|
|
379
|
-
}}></calcite-action>${s &&
|
|
409
|
+
}}></calcite-action>${s && u`<calcite-icon class="warning" icon=exclamation-mark-triangle scale=s slot=content-start></calcite-icon>` || ""}${t.expanded && u`<div class="terminals" slot=content-bottom>${a && this.#k(e) || ""}${r && this.#S(e) || ""}${s && this.#T() || ""}</div>` || ""}`;
|
|
380
410
|
}
|
|
381
411
|
#S(e) {
|
|
382
412
|
const { flagProperties: t } = e, { terminalConfiguration: r } = t;
|
|
@@ -386,24 +416,24 @@ class S extends q {
|
|
|
386
416
|
return i.length ? i.length === 1 ? [] : i.map((s) => this.#L(e, s)) : (p("warn", this, "`terminalConfiguration.terminals` is required but either missing or empty.`"), []);
|
|
387
417
|
}
|
|
388
418
|
#G(e) {
|
|
389
|
-
const { flagProperties: t } = e, { terminalConfiguration: r, expanded: i, title: a } = t, s = r && r.id !== 0, c = e.traceLocation.type === "barrier",
|
|
390
|
-
return
|
|
419
|
+
const { flagProperties: t } = e, { terminalConfiguration: r, expanded: i, title: a } = t, s = r && r.id !== 0, c = e.traceLocation.type === "barrier", n = s || c, l = r?.name ?? void 0;
|
|
420
|
+
return u`<calcite-list-item .label=${a} .description=${l} .value=${a} .expanded=${i}>${n ? this.#x(e) : u`<div slot=content-bottom></div>`}<calcite-action icon=x slot=actions-end scale=s text @click=${() => this.#a(e)}></calcite-action></calcite-list-item>`;
|
|
391
421
|
}
|
|
392
422
|
#v(e) {
|
|
393
423
|
if (!e.length)
|
|
394
424
|
return null;
|
|
395
|
-
const { traceLocationType: t } = this, r = e.map((a) => this.#G(a)).toArray(), i =
|
|
396
|
-
return
|
|
425
|
+
const { traceLocationType: t } = this, r = e.map((a) => this.#G(a)).toArray(), i = J(this._messages.labels.list, { type: t });
|
|
426
|
+
return u`<div><calcite-list interaction-mode=static selection-mode=none .label=${i}>${r}</calcite-list></div>`;
|
|
397
427
|
}
|
|
398
428
|
#$() {
|
|
399
|
-
const { traceLocationType: e, _messages: t, traceLocations: r, heading: i } = this, a = e === "starting-point" ? t.types.startingPoint : e === "barrier" ? t.types.barrier : t.types.stoppingPoint, s = i ?? a.heading, c = a.description,
|
|
400
|
-
return
|
|
429
|
+
const { traceLocationType: e, _messages: t, traceLocations: r, heading: i } = this, a = e === "starting-point" ? t.types.startingPoint : e === "barrier" ? t.types.barrier : t.types.stoppingPoint, s = i ?? a.heading, c = a.description, n = a.buttonText;
|
|
430
|
+
return u`<calcite-block .heading=${s} .label=${s} expanded .description=${c}>${r?.length ? u`<calcite-button slot=actions-end appearance=transparent .label=${t.buttons.clear} @click=${() => this.#w()}>${t.buttons.clear}</calcite-button>${this.#v(r)}` : null}<div class="button-container"><calcite-button .loading=${this._isSelectWaiting} class="add-location-button" icon-start=select appearance=outline .label=${n} @click=${() => this.#l()}>${n}</calcite-button></div></calcite-block>`;
|
|
401
431
|
}
|
|
402
432
|
render() {
|
|
403
433
|
return this.#$();
|
|
404
434
|
}
|
|
405
435
|
}
|
|
406
|
-
|
|
436
|
+
A("arcgis-utility-network-trace-locations", I);
|
|
407
437
|
export {
|
|
408
|
-
|
|
438
|
+
I as ArcgisUtilityNetworkTraceLocations
|
|
409
439
|
};
|