@arcgis/map-components 5.2.0 → 5.2.1
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/{NFM3C6NI.js → 2B5ZBCBC.js} +1 -1
- package/dist/cdn/{77XQAHVN.js → 2BIVUQUJ.js} +1 -1
- package/dist/cdn/{T35GLNJC.js → 2U7CCJ2S.js} +1 -1
- package/dist/cdn/{JN5G6BEG.js → 2UK33Z5B.js} +1 -1
- package/dist/cdn/{IVUMKXQU.js → 2UMWGOD6.js} +1 -1
- package/dist/cdn/{7O6J4X7O.js → 36QNBIUL.js} +1 -1
- package/dist/cdn/{UWD3ONTH.js → 37DWQSFX.js} +1 -1
- package/dist/cdn/{XU47BEOW.js → 3AIJ2HNH.js} +1 -1
- package/dist/cdn/{74BV2UR2.js → 3D7NKMRY.js} +1 -1
- package/dist/cdn/{EX5MOEMN.js → 3DCNXWMF.js} +1 -1
- package/dist/cdn/{POWWSXNT.js → 3DNJW34H.js} +1 -1
- package/dist/cdn/{DYWNTGLO.js → 3E6R53RM.js} +1 -1
- package/dist/cdn/{PFAH4PTA.js → 3J2FOF6Y.js} +1 -1
- package/dist/cdn/{U5PTELUQ.js → 3NEHUVQJ.js} +1 -1
- package/dist/cdn/{YPWE3ZCH.js → 45JYMWYH.js} +1 -1
- package/dist/cdn/{Z2BR42XY.js → 4ACLFX6R.js} +1 -1
- package/dist/cdn/{C6VOZSIN.js → 4IQ3DDJS.js} +1 -1
- package/dist/cdn/{NRUPNXT4.js → 4MIFGQ34.js} +1 -1
- package/dist/cdn/{3SRUPOXP.js → 4RK7TSGR.js} +1 -1
- package/dist/cdn/{IP2FUUWH.js → 4TYS3KMW.js} +1 -1
- package/dist/cdn/{L7O6F2YJ.js → 523ZIMBT.js} +1 -1
- package/dist/cdn/{ZZKQ74HL.js → 52EXLNF3.js} +1 -1
- package/dist/cdn/{TYLCXOYA.js → 55R53CJL.js} +1 -1
- package/dist/cdn/5DEDGV3L.js +2 -0
- package/dist/cdn/{I53T7OAX.js → 5JEZ6WBC.js} +1 -1
- package/dist/cdn/{V2ACQ7VV.js → 5NIUVC2G.js} +1 -1
- package/dist/cdn/{P4JSASDL.js → 5PEEEZQP.js} +1 -1
- package/dist/cdn/{YOQMIKSF.js → 5SZ3EIHM.js} +1 -1
- package/dist/cdn/{YJJL5Z2Q.js → 5SZXH5TL.js} +1 -1
- package/dist/cdn/{4G6TVRCP.js → 5UJ6NGQR.js} +1 -1
- package/dist/cdn/5YNJEC5H.js +2 -0
- package/dist/cdn/67757SR2.js +2 -0
- package/dist/cdn/{6ILJDG3P.js → 67ONODLW.js} +1 -1
- package/dist/cdn/{HX3UNRCF.js → 6GRQHBXZ.js} +1 -1
- package/dist/cdn/{L7TEKVZH.js → 6HDFIN53.js} +1 -1
- package/dist/cdn/{BJCFTXR6.js → 6JFDD4W5.js} +1 -1
- package/dist/cdn/6K57LXHE.js +2 -0
- package/dist/cdn/{FBNWHWXH.js → 6RWCQ7PV.js} +1 -1
- package/dist/cdn/{3XINZ5UM.js → 6TXZ5J72.js} +1 -1
- package/dist/cdn/{ZZ75DOT6.js → 6YQXO5JT.js} +1 -1
- package/dist/cdn/{7UVJE6U5.js → 742BZS7E.js} +1 -1
- package/dist/cdn/{UHLA5H3N.js → 74GDAMZC.js} +1 -1
- package/dist/cdn/{TQM3VDGS.js → 74QAKLIH.js} +1 -1
- package/dist/cdn/{5QUTCNMJ.js → 7BB4VTIR.js} +1 -1
- package/dist/cdn/{LCT3F7GZ.js → 7ISW465B.js} +1 -1
- package/dist/cdn/{5OOBWPUF.js → 7P764RQK.js} +1 -1
- package/dist/cdn/{QJIYQN5J.js → 7PJ33BSP.js} +1 -1
- package/dist/cdn/{5K7D3NYX.js → 7TKFOCUV.js} +1 -1
- package/dist/cdn/{TJVFYBBR.js → 7UGAH42Q.js} +1 -1
- package/dist/cdn/{GHQTI3WE.js → 7Y2HNRED.js} +1 -1
- package/dist/cdn/{52MBSJME.js → A5CIX2NO.js} +1 -1
- package/dist/cdn/{VAODARUF.js → A5KWD6K6.js} +1 -1
- package/dist/cdn/{UG54GLP5.js → AIZDJ3PB.js} +1 -1
- package/dist/cdn/{D7HRVLNR.js → AJPFPKE7.js} +1 -1
- package/dist/cdn/{UDR5EDW6.js → ALMJB3TW.js} +1 -1
- package/dist/cdn/AN5DQCC2.js +2 -0
- package/dist/cdn/{H5OSJBGC.js → APP6ZSE2.js} +1 -1
- package/dist/cdn/{SUPGZ5FT.js → ASG4VT6J.js} +1 -1
- package/dist/cdn/{7OLUMTPU.js → AX3HHG3R.js} +1 -1
- package/dist/cdn/{YMSIBAGL.js → B4IKDLO5.js} +1 -1
- package/dist/cdn/{4IYTM3UE.js → BENRXHTP.js} +1 -1
- package/dist/cdn/{FWXD4CAA.js → BGOZEIAZ.js} +1 -1
- package/dist/cdn/{6J7G33BJ.js → BKD2PONE.js} +1 -1
- package/dist/cdn/{ECNWV7TN.js → BKY2NEXO.js} +1 -1
- package/dist/cdn/{4CXG6JXU.js → BM7VNBTJ.js} +1 -1
- package/dist/cdn/{KBMIXCB5.js → BMMF6MDA.js} +1 -1
- package/dist/cdn/{LTKY3GWH.js → BN6FTTMP.js} +1 -1
- package/dist/cdn/{FLNBBKNT.js → BNYNM6AS.js} +1 -1
- package/dist/cdn/{7S7WALCQ.js → BT4EZELN.js} +1 -1
- package/dist/cdn/{ZSJ2EBUQ.js → BVRYPIEV.js} +1 -1
- package/dist/cdn/{43AJEL4U.js → BYE5ZLTX.js} +1 -1
- package/dist/cdn/{FIVRSSG3.js → C23V3HGO.js} +1 -1
- package/dist/cdn/{S74ZRTKO.js → CAU5WQ5Y.js} +1 -1
- package/dist/cdn/{DSMAJT37.js → CBWNO7ML.js} +1 -1
- package/dist/cdn/{FGQBQOSC.js → CJ5NT4YN.js} +1 -1
- package/dist/cdn/CKGSCNX4.js +2 -0
- package/dist/cdn/{EY5JAMPL.js → CQB5QU43.js} +1 -1
- package/dist/cdn/{VCZGRW7Z.js → CRDMASYG.js} +1 -1
- package/dist/cdn/{C6O2VNAE.js → CTDDFF2G.js} +1 -1
- package/dist/cdn/{BQX6LWCS.js → CZJBFQY3.js} +1 -1
- package/dist/cdn/{Q6W3BX6Z.js → D4RUXOUS.js} +1 -1
- package/dist/cdn/{LXVKKWBF.js → D5ZX6F36.js} +1 -1
- package/dist/cdn/{6N76KI6B.js → D6BFF3WQ.js} +1 -1
- package/dist/cdn/{KFZKNGIN.js → D7VBUGLG.js} +1 -1
- package/dist/cdn/{PEBIRCQ6.js → DD2GM5SZ.js} +1 -1
- package/dist/cdn/{Q4Y4VV2K.js → DDHYBKQS.js} +1 -1
- package/dist/cdn/{ULVNML47.js → DIRRL7PQ.js} +1 -1
- package/dist/cdn/{3RLZEU77.js → DKHSXRHW.js} +1 -1
- package/dist/cdn/{KHBMCVWB.js → DWO4K6TH.js} +1 -1
- package/dist/cdn/{GOCVJEYD.js → DXVRQ6X2.js} +1 -1
- package/dist/cdn/{4K5KABJN.js → E4ZALCBH.js} +1 -1
- package/dist/cdn/{KOVYOFWR.js → E5IFMAIR.js} +1 -1
- package/dist/cdn/{UXNWNOKM.js → E5RVL5XY.js} +1 -1
- package/dist/cdn/{HYT3UPTO.js → ECXE4F53.js} +1 -1
- package/dist/cdn/{BWFAI6H2.js → EKH4R6RV.js} +1 -1
- package/dist/cdn/{3CATVA2O.js → EN3E2Y53.js} +1 -1
- package/dist/cdn/{WCOLD2O3.js → EN6BUAOX.js} +1 -1
- package/dist/cdn/{EKGMCVLS.js → EQDORETE.js} +1 -1
- package/dist/cdn/{EWO5PCIV.js → ESPEFWYB.js} +1 -1
- package/dist/cdn/{ZKNW2KW6.js → EW6WSDQY.js} +1 -1
- package/dist/cdn/{OUQ5UXAI.js → F5XGFR6J.js} +1 -1
- package/dist/cdn/{DDCVZ3TR.js → FDGTNPJ4.js} +1 -1
- package/dist/cdn/{VD6KWEWO.js → FGCPSLYU.js} +1 -1
- package/dist/cdn/{QCTY2P3U.js → FGVIEQ6S.js} +1 -1
- package/dist/cdn/{YVUS5Z33.js → FJHOQJES.js} +1 -1
- package/dist/cdn/{CG6DG47E.js → FNDE5YWY.js} +1 -1
- package/dist/cdn/{NUVHZA5W.js → G3NMXSN5.js} +1 -1
- package/dist/cdn/{XNLAXPWQ.js → G5KYVJPX.js} +1 -1
- package/dist/cdn/{OJSWOLIM.js → GCRO7OXP.js} +1 -1
- package/dist/cdn/{OJBZVPY6.js → GPLQXKBE.js} +1 -1
- package/dist/cdn/{IVITPRT5.js → GTOKBUPI.js} +1 -1
- package/dist/cdn/{TYMJFNRW.js → GTXUKJKD.js} +1 -1
- package/dist/cdn/GZDPWT5D.js +2 -0
- package/dist/cdn/{UCDMSAHY.js → GZKUP5OO.js} +1 -1
- package/dist/cdn/{S7HMLOW4.js → HCB4S5VR.js} +1 -1
- package/dist/cdn/{7LV3QIZJ.js → HG6DJZBS.js} +1 -1
- package/dist/cdn/{BEHE3J5Z.js → HIAOM7YK.js} +1 -1
- package/dist/cdn/{DNU4TU5L.js → HR5GNDNP.js} +1 -1
- package/dist/cdn/{7JE67CVJ.js → I5AHZ5AN.js} +1 -1
- package/dist/cdn/{7YZKCPR4.js → I7YXUEHB.js} +1 -1
- package/dist/cdn/{SZGZ5WGC.js → IB7FSBDN.js} +1 -1
- package/dist/cdn/{YD6RLPWT.js → IJLRHJS3.js} +1 -1
- package/dist/cdn/INMPH55C.js +2 -0
- package/dist/cdn/IQLDYLIK.js +2 -0
- package/dist/cdn/{OYDPICFN.js → IZ5LYYPH.js} +1 -1
- package/dist/cdn/{WEM6Y2HL.js → J75ODQCA.js} +1 -1
- package/dist/cdn/{A7QS6WHB.js → JBUJM5ZR.js} +1 -1
- package/dist/cdn/{CRVQR53S.js → JDPHCRFB.js} +1 -1
- package/dist/cdn/{M4VLJBQY.js → JF2JOBBT.js} +1 -1
- package/dist/cdn/{V3D5CKWL.js → JHVH2SNH.js} +1 -1
- package/dist/cdn/{G7L2YHQQ.js → JJUP6Q6X.js} +1 -1
- package/dist/cdn/{AUJMMALE.js → JWCMN7W4.js} +1 -1
- package/dist/cdn/{IAFR26VJ.js → JXPVXD5G.js} +1 -1
- package/dist/cdn/{42GZQRBT.js → K5J4F3S7.js} +1 -1
- package/dist/cdn/{QR43PYML.js → KFIB2GNP.js} +1 -1
- package/dist/cdn/{OJCIHEHE.js → KG4UNLN5.js} +1 -1
- package/dist/cdn/{IZ45CVO5.js → KTBY7426.js} +1 -1
- package/dist/cdn/{7MPCFWQO.js → KUTHLFNA.js} +1 -1
- package/dist/cdn/{H3NQ3JZQ.js → KVR2OGME.js} +1 -1
- package/dist/cdn/{TJUCGGUA.js → LF4TKQFV.js} +1 -1
- package/dist/cdn/{2SSOEJFI.js → LFFSHJEY.js} +1 -1
- package/dist/cdn/{DKY3FJ2L.js → LNULIDWQ.js} +1 -1
- package/dist/cdn/{HEQB2GHT.js → LPLAOXPN.js} +1 -1
- package/dist/cdn/{XWBX5I72.js → M2IIP36L.js} +1 -1
- package/dist/cdn/{S2FTBRV5.js → MJTCNAUG.js} +1 -1
- package/dist/cdn/{4GJFYHTJ.js → MU3XLCSC.js} +1 -1
- package/dist/cdn/{VEDHMG42.js → MYDOAT4O.js} +1 -1
- package/dist/cdn/{X7ZBJ4EV.js → N6YOZSOI.js} +1 -1
- package/dist/cdn/{YEOZIO4K.js → NWFNAH3U.js} +1 -1
- package/dist/cdn/{J2KUPLYF.js → O3LU7Z6Q.js} +1 -1
- package/dist/cdn/{A7W456AI.js → OBSVSEU5.js} +1 -1
- package/dist/cdn/{RKZHXOHI.js → OGSUDIU4.js} +1 -1
- package/dist/cdn/{KHO2GTRP.js → OHNHBIX3.js} +1 -1
- package/dist/cdn/{XTT36USG.js → OIWYATWW.js} +1 -1
- package/dist/cdn/{WLK6APNW.js → OPYV65WE.js} +1 -1
- package/dist/cdn/{GEZIDSYU.js → OSDSL2BD.js} +1 -1
- package/dist/cdn/{ME46MUVR.js → OY7NJO32.js} +1 -1
- package/dist/cdn/{7TGORQ2Y.js → PA2KEA2J.js} +1 -1
- package/dist/cdn/{VN5W3HPP.js → PNWXZKNY.js} +1 -1
- package/dist/cdn/{JRGLKWWK.js → PTR4HV5R.js} +1 -1
- package/dist/cdn/{2EUIZFG5.js → PXZOPLQK.js} +1 -1
- package/dist/cdn/{HIXTGR4X.js → Q7D3QQQK.js} +1 -1
- package/dist/cdn/{JOGGARMB.js → Q7MQ2DFI.js} +1 -1
- package/dist/cdn/{KLA4R4EG.js → QBQCKDWH.js} +1 -1
- package/dist/cdn/{C2J6S4Z2.js → QEYGFICX.js} +1 -1
- package/dist/cdn/{SA3FDVCF.js → QF3JOJK5.js} +1 -1
- package/dist/cdn/{5RSL2L45.js → QJTN5KIW.js} +1 -1
- package/dist/cdn/{MM2KKNTQ.js → QMAHST77.js} +1 -1
- package/dist/cdn/{ZRKBSIEK.js → QQBJOQ4C.js} +1 -1
- package/dist/cdn/{LKW5X4ZS.js → QU6522UD.js} +1 -1
- package/dist/cdn/{YL36JTMT.js → QWMOFNS7.js} +1 -1
- package/dist/cdn/{LXT673ON.js → QY4D7IWN.js} +1 -1
- package/dist/cdn/{M6RLO4DB.js → R4GHHBGK.js} +1 -1
- package/dist/cdn/{QRGIRHNW.js → RIFU4S3Q.js} +1 -1
- package/dist/cdn/{3BY3C6N6.js → RJY2ENZF.js} +1 -1
- package/dist/cdn/{4RK27XKR.js → RK5LPZSC.js} +1 -1
- package/dist/cdn/{CACN544U.js → RPCMN5TC.js} +1 -1
- package/dist/cdn/{AI5XYR3T.js → RSA3N5QR.js} +1 -1
- package/dist/cdn/{7DV5IVJT.js → RZA6CIF5.js} +1 -1
- package/dist/cdn/{X6OT67Y6.js → S4ZZAL7Y.js} +1 -1
- package/dist/cdn/{5RYIR2ON.js → SBWLULEJ.js} +1 -1
- package/dist/cdn/{2CEIEEYI.js → SESDEAIX.js} +1 -1
- package/dist/cdn/{WJLZSKQQ.js → SXFHWD6X.js} +1 -1
- package/dist/cdn/{JCIVO6PO.js → SZT6UTQV.js} +1 -1
- package/dist/cdn/{H3ZRCWWA.js → T2VESPJF.js} +1 -1
- package/dist/cdn/{WWRXQGB7.js → T3AQ655Q.js} +1 -1
- package/dist/cdn/{PCIOLOVZ.js → T3KOU37O.js} +1 -1
- package/dist/cdn/{NW52Y4ZG.js → T3ZR36FX.js} +1 -1
- package/dist/cdn/{RXIVAN2Z.js → T5K37OJA.js} +1 -1
- package/dist/cdn/{JRD6OT5Q.js → TEJMZYGH.js} +1 -1
- package/dist/cdn/{ONHLJM2G.js → TGTJMTNM.js} +1 -1
- package/dist/cdn/{3P2EA4FW.js → TRONHGHB.js} +1 -1
- package/dist/cdn/U3MVTXWF.js +2 -0
- package/dist/cdn/{M3637WEM.js → UGQZADTV.js} +1 -1
- package/dist/cdn/{42NI7MKM.js → UJFGERFD.js} +1 -1
- package/dist/cdn/{ZG67BSBM.js → UJPBFQ55.js} +1 -1
- package/dist/cdn/{OTVUOSDW.js → UNQGNCXT.js} +1 -1
- package/dist/cdn/{ZTKNT7ER.js → UQEH3MNE.js} +1 -1
- package/dist/cdn/{WRNOW2UH.js → UXOIUYNX.js} +1 -1
- package/dist/cdn/{544JD47Y.js → UZ2OW6YW.js} +1 -1
- package/dist/cdn/{JFM6XVOA.js → V4SZH6Z2.js} +1 -1
- package/dist/cdn/{V5QSVEJ6.js → VKL25ZPM.js} +1 -1
- package/dist/cdn/{CKCOZURU.js → VKZGLB6T.js} +1 -1
- package/dist/cdn/{2XVIXLFC.js → VNPZ24X5.js} +1 -1
- package/dist/cdn/{UQZKHDXL.js → VOKFRAQB.js} +1 -1
- package/dist/cdn/{Z62HXRNX.js → VTC6DO4Z.js} +1 -1
- package/dist/cdn/{635ILZB3.js → VUWQS77U.js} +1 -1
- package/dist/cdn/{N5DJYKIT.js → W2FEQRXI.js} +1 -1
- package/dist/cdn/{ABVDDPFU.js → W5GQ2NNA.js} +1 -1
- package/dist/cdn/{BYLDEVXF.js → W5MHYOEM.js} +1 -1
- package/dist/cdn/{47Y2IWSQ.js → W6INQNST.js} +1 -1
- package/dist/cdn/{ABBDUUM4.js → WCEBYECC.js} +1 -1
- package/dist/cdn/{355UQVMW.js → WD4OXDBG.js} +1 -1
- package/dist/cdn/{J2AURZ7G.js → WG4G6OC4.js} +1 -1
- package/dist/cdn/{QF5Z6LVC.js → WKWHTZ5I.js} +1 -1
- package/dist/cdn/WL25ML3J.js +2 -0
- package/dist/cdn/{NKL7OBTB.js → WLSLYAYJ.js} +1 -1
- package/dist/cdn/{LJE2TVXC.js → WQBUNNV2.js} +1 -1
- package/dist/cdn/{ZYLH4A35.js → WQSPATLU.js} +1 -1
- package/dist/cdn/{VKPN7XJZ.js → WZBOYXN3.js} +1 -1
- package/dist/cdn/{ERMYIPIW.js → X7U3U43Q.js} +1 -1
- package/dist/cdn/{ELUP4NED.js → XNSALZ6K.js} +1 -1
- package/dist/cdn/{H5LZNFXN.js → XOCJEYJ5.js} +1 -1
- package/dist/cdn/{J7XWWII7.js → XTF5GXPS.js} +1 -1
- package/dist/cdn/{75OQZ34G.js → XXJRFTYU.js} +1 -1
- package/dist/cdn/{F65FT4ZZ.js → Y3WE7JUP.js} +1 -1
- package/dist/cdn/{KSZYCJWG.js → YD2ZYMPU.js} +1 -1
- package/dist/cdn/{NHNKGCBI.js → YIULHL63.js} +1 -1
- package/dist/cdn/{D2DEAMTQ.js → YJSXFTU3.js} +1 -1
- package/dist/cdn/{NA7NW5A3.js → YLKK7K7Z.js} +1 -1
- package/dist/cdn/{QA5Y5IKK.js → YOAXX65E.js} +1 -1
- package/dist/cdn/{THUPX2LZ.js → YRSZBP3D.js} +1 -1
- package/dist/cdn/{2VGI6PON.js → YXF2NYTT.js} +1 -1
- package/dist/cdn/{YYTPIABA.js → YYBZV3ZS.js} +1 -1
- package/dist/cdn/{CROQUSJO.js → YZI2UCMD.js} +1 -1
- package/dist/cdn/{KDDEM52B.js → Z33YZHNN.js} +1 -1
- package/dist/cdn/{OXS3TM7H.js → Z5UWQQ7J.js} +1 -1
- package/dist/cdn/{ANEM6VG4.js → Z7AHDCJX.js} +1 -1
- package/dist/cdn/{4NSXW6XY.js → ZALR5MU6.js} +1 -1
- package/dist/cdn/{IYA4JZ27.js → ZB34KGZB.js} +1 -1
- package/dist/cdn/{NC2GQGJT.js → ZBY6MML3.js} +1 -1
- package/dist/cdn/{5P47MB6K.js → ZHB5LGHD.js} +1 -1
- package/dist/cdn/{EPSO4NIM.js → ZKENNZPL.js} +1 -1
- package/dist/cdn/{7OVOYRDL.js → ZLMH5LHT.js} +1 -1
- package/dist/cdn/{GMAVCAO3.js → ZVZCFZ3D.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-trace-analysis/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace-configuration-picker/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace-locations/customElement.js +139 -109
- 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 +6 -6
- package/dist/cdn/3NO7L32R.js +0 -2
- package/dist/cdn/5AERV4OR.js +0 -2
- package/dist/cdn/6VHWWOP2.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/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/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
|
@@ -232,7 +232,7 @@ class _ extends C {
|
|
|
232
232
|
const { state: e } = this;
|
|
233
233
|
if (this._mode !== "default")
|
|
234
234
|
return null;
|
|
235
|
-
const t = e
|
|
235
|
+
const t = e !== "ready" || !this.#t?.traceConfiguration;
|
|
236
236
|
return a`<calcite-button appearance=solid width=full @click=${this.#v} slot=footer .disabled=${t}>${this._messages.buttons.getResults}</calcite-button>`;
|
|
237
237
|
}
|
|
238
238
|
render() {
|
|
@@ -29,7 +29,7 @@ class N extends d {
|
|
|
29
29
|
return !!e?.traceConfiguration?.subnetworkName && e?.traceType === "subnetwork";
|
|
30
30
|
}
|
|
31
31
|
willUpdate(e) {
|
|
32
|
-
e.has("
|
|
32
|
+
e.has("utilityNetwork") && this.#u(), e.has("traceConfigurations") && this.#m(), e.has("selectedNamedTraceConfiguration") && this.#o();
|
|
33
33
|
}
|
|
34
34
|
async #o() {
|
|
35
35
|
const { selectedNamedTraceConfiguration: e } = this;
|
|
@@ -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 W } from "../../chunks/useT9n.js";
|
|
19
|
+
import { a as V, 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 = W({ 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,24 +46,24 @@ 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 V(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
|
#r;
|
|
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 {
|
|
@@ -71,10 +73,10 @@ class S extends q {
|
|
|
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) {
|
|
@@ -159,15 +189,15 @@ class S extends q {
|
|
|
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") {
|
|
@@ -181,35 +211,35 @@ class S extends q {
|
|
|
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
216
|
this.#e("info", this._messages.errors.noHitResult), this.#t(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.#t(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
233
|
t && (t.snappingOptions.enabled = !1), this.#r?.remove(), this.#r = 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
|
};
|