@arcgis/map-components 5.2.1 → 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/{VNPZ24X5.js → 2FCMPHIV.js} +1 -1
- package/dist/cdn/{U3MVTXWF.js → 2SQVQIG7.js} +1 -1
- package/dist/cdn/{CJ5NT4YN.js → 2TJY73QP.js} +1 -1
- package/dist/cdn/{BYE5ZLTX.js → 2YI63CXS.js} +1 -1
- package/dist/cdn/{ZB34KGZB.js → 34PRWOGS.js} +1 -1
- package/dist/cdn/{W6INQNST.js → 3ADNBTSI.js} +1 -1
- package/dist/cdn/{45JYMWYH.js → 3F4MY34S.js} +1 -1
- package/dist/cdn/{W5GQ2NNA.js → 3G6CVDYC.js} +1 -1
- package/dist/cdn/{KG4UNLN5.js → 3I7AVT75.js} +1 -1
- package/dist/cdn/{ECXE4F53.js → 3LM4ESUS.js} +1 -1
- package/dist/cdn/{4TYS3KMW.js → 3OIWXTS4.js} +1 -1
- package/dist/cdn/{QEYGFICX.js → 3UOKCRDF.js} +1 -1
- package/dist/cdn/{Z7AHDCJX.js → 3X3AUEIS.js} +1 -1
- package/dist/cdn/{BVRYPIEV.js → 3XLTK34U.js} +1 -1
- package/dist/cdn/{3DNJW34H.js → 3YN6FULD.js} +1 -1
- package/dist/cdn/{OHNHBIX3.js → 43PKM6NL.js} +1 -1
- package/dist/cdn/{5NIUVC2G.js → 45D5YJFW.js} +1 -1
- package/dist/cdn/{SXFHWD6X.js → 4AL5KW4G.js} +1 -1
- package/dist/cdn/{BNYNM6AS.js → 4BJKGWD5.js} +1 -1
- package/dist/cdn/{6K57LXHE.js → 4BJTNOWZ.js} +1 -1
- package/dist/cdn/{VUWQS77U.js → 4H2YEHN6.js} +1 -1
- package/dist/cdn/{UXOIUYNX.js → 4ILCZIEH.js} +1 -1
- package/dist/cdn/{PTR4HV5R.js → 4KGT4QGH.js} +1 -1
- package/dist/cdn/{S4ZZAL7Y.js → 4PH524HZ.js} +1 -1
- package/dist/cdn/{6JFDD4W5.js → 4TXBFCMS.js} +1 -1
- package/dist/cdn/{RZA6CIF5.js → 4WPFWNYA.js} +1 -1
- package/dist/cdn/{G5KYVJPX.js → 5CMLVLMU.js} +1 -1
- package/dist/cdn/{67ONODLW.js → 5LF6KZXA.js} +1 -1
- package/dist/cdn/{WD4OXDBG.js → 5O6GSNCK.js} +1 -1
- package/dist/cdn/{ZALR5MU6.js → 5XE5OG5Q.js} +1 -1
- package/dist/cdn/{O3LU7Z6Q.js → 5ZJSIMLN.js} +1 -1
- package/dist/cdn/{MYDOAT4O.js → 64DIERHZ.js} +1 -1
- package/dist/cdn/{R4GHHBGK.js → 677YZFAY.js} +1 -1
- package/dist/cdn/{6YQXO5JT.js → 67UBKYMA.js} +1 -1
- package/dist/cdn/{5UJ6NGQR.js → 6HHQ4CFD.js} +1 -1
- package/dist/cdn/{CAU5WQ5Y.js → 6IGMUESG.js} +1 -1
- package/dist/cdn/{IZ5LYYPH.js → 6MADTJ5B.js} +1 -1
- package/dist/cdn/{KTBY7426.js → 6ZSHYAME.js} +1 -1
- package/dist/cdn/{FDGTNPJ4.js → 72BVXXSX.js} +1 -1
- package/dist/cdn/{4RK7TSGR.js → 76FDRVF3.js} +1 -1
- package/dist/cdn/{MU3XLCSC.js → 77QGG4FQ.js} +1 -1
- package/dist/cdn/{D7VBUGLG.js → 7BMTWCL6.js} +1 -1
- package/dist/cdn/{2B5ZBCBC.js → 7CL3VLND.js} +1 -1
- package/dist/cdn/{37DWQSFX.js → 7DSMTEXR.js} +1 -1
- package/dist/cdn/{QJTN5KIW.js → 7II4FFRT.js} +1 -1
- package/dist/cdn/{GPLQXKBE.js → 7MTTC2SX.js} +1 -1
- package/dist/cdn/{BKD2PONE.js → 7PGITVAW.js} +1 -1
- package/dist/cdn/{IB7FSBDN.js → 7VYELPGF.js} +1 -1
- package/dist/cdn/{T5K37OJA.js → 7Z5SLK5U.js} +1 -1
- package/dist/cdn/{E4ZALCBH.js → A4ETODAW.js} +1 -1
- package/dist/cdn/{KUTHLFNA.js → A4XPYXJM.js} +1 -1
- package/dist/cdn/{XNSALZ6K.js → A53KFJWF.js} +1 -1
- package/dist/cdn/{7PJ33BSP.js → A7DMJC2C.js} +1 -1
- package/dist/cdn/{EN6BUAOX.js → ABDYYC4G.js} +1 -1
- package/dist/cdn/{ALMJB3TW.js → AMGD63S2.js} +1 -1
- package/dist/cdn/{742BZS7E.js → AUH73G2E.js} +1 -1
- package/dist/cdn/{CQB5QU43.js → AZ6LETNU.js} +1 -1
- package/dist/cdn/{OIWYATWW.js → B4ANWLUG.js} +1 -1
- package/dist/cdn/{GZKUP5OO.js → B5KCLDL2.js} +1 -1
- package/dist/cdn/{TRONHGHB.js → BAMWA7RI.js} +1 -1
- package/dist/cdn/{QF3JOJK5.js → BCR3DL6X.js} +1 -1
- package/dist/cdn/{BGOZEIAZ.js → BIJG7CA2.js} +1 -1
- package/dist/cdn/{D6BFF3WQ.js → BKPJLEFJ.js} +1 -1
- package/dist/cdn/{FGCPSLYU.js → BZKYNLB5.js} +1 -1
- package/dist/cdn/{UNQGNCXT.js → C6H43UKX.js} +1 -1
- package/dist/cdn/{EQDORETE.js → CF4BHYKQ.js} +1 -1
- package/dist/cdn/{F5XGFR6J.js → CGBP4F2A.js} +1 -1
- package/dist/cdn/{6GRQHBXZ.js → CJQEVGBT.js} +1 -1
- package/dist/cdn/{UJPBFQ55.js → CPE5UEEG.js} +1 -1
- package/dist/cdn/CURWXMSM.js +2 -0
- package/dist/cdn/{GTOKBUPI.js → D4OH3MOT.js} +1 -1
- package/dist/cdn/{XTF5GXPS.js → D5CBRPXF.js} +1 -1
- package/dist/cdn/{LFFSHJEY.js → DCOHAZCB.js} +1 -1
- package/dist/cdn/{4MIFGQ34.js → DFKGG6CC.js} +1 -1
- package/dist/cdn/{JWCMN7W4.js → DQAB64IE.js} +1 -1
- package/dist/cdn/{N6YOZSOI.js → DUFFHSYV.js} +1 -1
- package/dist/cdn/{X7U3U43Q.js → E2OMV72V.js} +1 -1
- package/dist/cdn/{LNULIDWQ.js → EBUQ2QQ6.js} +1 -1
- package/dist/cdn/{E5IFMAIR.js → EDSLT3RM.js} +1 -1
- package/dist/cdn/{7Y2HNRED.js → EH6OQIL2.js} +1 -1
- package/dist/cdn/{AJPFPKE7.js → EIBP4JXR.js} +1 -1
- package/dist/cdn/EMHCIHGZ.js +2 -0
- package/dist/cdn/{BMMF6MDA.js → ERBLBUY7.js} +1 -1
- package/dist/cdn/{WLSLYAYJ.js → F34ACIPU.js} +1 -1
- package/dist/cdn/{WQBUNNV2.js → FBIUGRMU.js} +1 -1
- package/dist/cdn/{BN6FTTMP.js → FGVGDIUL.js} +1 -1
- package/dist/cdn/{VKL25ZPM.js → FLYTWINI.js} +1 -1
- package/dist/cdn/{LF4TKQFV.js → FY5SWE5F.js} +1 -1
- package/dist/cdn/{QY4D7IWN.js → G2S47RXQ.js} +1 -1
- package/dist/cdn/{7UGAH42Q.js → G75FOUJX.js} +1 -1
- package/dist/cdn/{T3AQ655Q.js → G7GTRWK2.js} +1 -1
- package/dist/cdn/{ASG4VT6J.js → GIXMNA27.js} +1 -1
- package/dist/cdn/{Q7D3QQQK.js → GMASIKUY.js} +1 -1
- package/dist/cdn/{QQBJOQ4C.js → GMM3Z4SJ.js} +1 -1
- package/dist/cdn/{7BB4VTIR.js → GT5JQWQE.js} +1 -1
- package/dist/cdn/{UJFGERFD.js → GTZOF37L.js} +1 -1
- package/dist/cdn/{5PEEEZQP.js → GWZWO4LC.js} +1 -1
- package/dist/cdn/{EKH4R6RV.js → H3VTLC2Y.js} +1 -1
- package/dist/cdn/{YLKK7K7Z.js → H47DOETO.js} +1 -1
- package/dist/cdn/{NWFNAH3U.js → HHFXG766.js} +1 -1
- package/dist/cdn/{A5CIX2NO.js → HJZBT7NX.js} +1 -1
- package/dist/cdn/{MJTCNAUG.js → HPDCIP3F.js} +1 -1
- package/dist/cdn/{4IQ3DDJS.js → HQ6OLV6V.js} +1 -1
- package/dist/cdn/HR7EZURW.js +2 -0
- package/dist/cdn/{PA2KEA2J.js → HXJAY46L.js} +1 -1
- package/dist/cdn/{Y3WE7JUP.js → I2CJHX5K.js} +1 -1
- package/dist/cdn/{BENRXHTP.js → IDSAETEG.js} +1 -1
- package/dist/cdn/{YOAXX65E.js → IIM6K4VX.js} +1 -1
- package/dist/cdn/IOPM2S4V.js +2 -0
- package/dist/cdn/{AIZDJ3PB.js → IQH5ND2K.js} +1 -1
- package/dist/cdn/{DWO4K6TH.js → ISJ3UPVI.js} +1 -1
- package/dist/cdn/{UGQZADTV.js → IUBVMQSL.js} +1 -1
- package/dist/cdn/{APP6ZSE2.js → IYWVRTSX.js} +1 -1
- package/dist/cdn/{EW6WSDQY.js → J4Q43AFY.js} +1 -1
- package/dist/cdn/{ESPEFWYB.js → J6CDGAVU.js} +1 -1
- package/dist/cdn/{QBQCKDWH.js → J6ID2I4A.js} +1 -1
- package/dist/cdn/{DD2GM5SZ.js → JBWSRGMR.js} +1 -1
- package/dist/cdn/{RSA3N5QR.js → JCC2QPPZ.js} +1 -1
- package/dist/cdn/{IJLRHJS3.js → JIEPWKVD.js} +1 -1
- package/dist/cdn/{FGVIEQ6S.js → JKZVN7QJ.js} +1 -1
- package/dist/cdn/{523ZIMBT.js → JL4XV7YA.js} +1 -1
- package/dist/cdn/{55R53CJL.js → KUAN6RDC.js} +1 -1
- package/dist/cdn/{SESDEAIX.js → KXCHF52S.js} +1 -1
- package/dist/cdn/{BKY2NEXO.js → KZ22PZP5.js} +1 -1
- package/dist/cdn/{YYBZV3ZS.js → L46QKGPR.js} +1 -1
- package/dist/cdn/{GTXUKJKD.js → L5KBFYKE.js} +1 -1
- package/dist/cdn/{6TXZ5J72.js → L5WMCQAT.js} +1 -1
- package/dist/cdn/{2U7CCJ2S.js → L6BKLWNP.js} +1 -1
- package/dist/cdn/{WQSPATLU.js → L7Q33QUO.js} +1 -1
- package/dist/cdn/{XXJRFTYU.js → LB4WUEVK.js} +1 -1
- package/dist/cdn/{OBSVSEU5.js → LFA7KSTK.js} +1 -1
- package/dist/cdn/{RJY2ENZF.js → LMFFBMUA.js} +1 -1
- package/dist/cdn/{RPCMN5TC.js → LOV5JASH.js} +1 -1
- package/dist/cdn/M2EUTH2E.js +2 -0
- package/dist/cdn/{5SZ3EIHM.js → M2MCR45P.js} +1 -1
- package/dist/cdn/{JJUP6Q6X.js → M4KNYIY2.js} +1 -1
- package/dist/cdn/{C23V3HGO.js → M4UDSVMA.js} +1 -1
- package/dist/cdn/{DDHYBKQS.js → MC47DGQC.js} +1 -1
- package/dist/cdn/{WCEBYECC.js → MCRNJHMD.js} +1 -1
- package/dist/cdn/{YJSXFTU3.js → MES6GCTQ.js} +1 -1
- package/dist/cdn/MJ45WNQO.js +2 -0
- package/dist/cdn/{5SZXH5TL.js → MQHRXVWL.js} +1 -1
- package/dist/cdn/{3J2FOF6Y.js → MRCUO54F.js} +1 -1
- package/dist/cdn/{CRDMASYG.js → MWC4YSVX.js} +1 -1
- package/dist/cdn/{ZVZCFZ3D.js → MWTSHQZA.js} +1 -1
- package/dist/cdn/{KFIB2GNP.js → NBGGAXEB.js} +1 -1
- package/dist/cdn/{6HDFIN53.js → NDPGBXPQ.js} +1 -1
- package/dist/cdn/{FNDE5YWY.js → NQGBYAXK.js} +1 -1
- package/dist/cdn/{AX3HHG3R.js → NXUTBSZG.js} +1 -1
- package/dist/cdn/{RIFU4S3Q.js → O77BFSO7.js} +1 -1
- package/dist/cdn/{2UK33Z5B.js → OGY4BYTB.js} +1 -1
- package/dist/cdn/{EN3E2Y53.js → OH5COBJU.js} +1 -1
- package/dist/cdn/{T3KOU37O.js → OK4XTRUT.js} +1 -1
- package/dist/cdn/{ZKENNZPL.js → OTM5BTIJ.js} +1 -1
- package/dist/cdn/{PNWXZKNY.js → PBVUXCDX.js} +1 -1
- package/dist/cdn/{UZ2OW6YW.js → PEF3ESWF.js} +1 -1
- package/dist/cdn/{DXVRQ6X2.js → PJ2RMW7S.js} +1 -1
- package/dist/cdn/{M2IIP36L.js → PMALMG3A.js} +1 -1
- package/dist/cdn/PQ57LJKN.js +2 -0
- package/dist/cdn/{D4RUXOUS.js → PQK6LD63.js} +1 -1
- package/dist/cdn/{Z5UWQQ7J.js → PSUBS3WC.js} +1 -1
- package/dist/cdn/{TEJMZYGH.js → Q6CFZMRO.js} +1 -1
- package/dist/cdn/{FJHOQJES.js → Q6RSMXZ7.js} +1 -1
- package/dist/cdn/{JDPHCRFB.js → QA5JI6CV.js} +1 -1
- package/dist/cdn/{74QAKLIH.js → QBNW46F3.js} +1 -1
- package/dist/cdn/{ZHB5LGHD.js → QKJVXHUY.js} +1 -1
- package/dist/cdn/{UQEH3MNE.js → R5V7DFPM.js} +1 -1
- package/dist/cdn/{T2VESPJF.js → RAVJZLD3.js} +1 -1
- package/dist/cdn/{I5AHZ5AN.js → RDCMYSI5.js} +1 -1
- package/dist/cdn/{6RWCQ7PV.js → REVRAHWM.js} +1 -1
- package/dist/cdn/{SBWLULEJ.js → REZCL6Y6.js} +1 -1
- package/dist/cdn/{YZI2UCMD.js → RFNV54G2.js} +1 -1
- package/dist/cdn/{5JEZ6WBC.js → ROQ2U72G.js} +1 -1
- package/dist/cdn/{OPYV65WE.js → RQLZQA4H.js} +1 -1
- package/dist/cdn/{LPLAOXPN.js → RRLW4AO6.js} +1 -1
- package/dist/cdn/RYUJN6UA.js +2 -0
- package/dist/cdn/{74GDAMZC.js → S2DVV6PT.js} +1 -1
- package/dist/cdn/{XOCJEYJ5.js → S2YHWXRS.js} +1 -1
- package/dist/cdn/{JHVH2SNH.js → S3IZTKQ4.js} +1 -1
- package/dist/cdn/{WZBOYXN3.js → S3J3Q6MQ.js} +1 -1
- package/dist/cdn/{TGTJMTNM.js → SASXBRXK.js} +1 -1
- package/dist/cdn/{BM7VNBTJ.js → SBQQHWIY.js} +1 -1
- package/dist/cdn/{V4SZH6Z2.js → SGLVXUV2.js} +1 -1
- package/dist/cdn/{JXPVXD5G.js → SKORUMVX.js} +1 -1
- package/dist/cdn/{T3ZR36FX.js → SL7Y6R57.js} +1 -1
- package/dist/cdn/{J75ODQCA.js → SLGN45ZM.js} +1 -1
- package/dist/cdn/{7ISW465B.js → SPIYEJYW.js} +1 -1
- package/dist/cdn/{VOKFRAQB.js → SQJFCWUA.js} +1 -1
- package/dist/cdn/{GCRO7OXP.js → SW2SC7JP.js} +1 -1
- package/dist/cdn/{HR5GNDNP.js → SYMS2IGT.js} +1 -1
- package/dist/cdn/{2UMWGOD6.js → T252WQYH.js} +1 -1
- package/dist/cdn/{7TKFOCUV.js → T46K52WE.js} +1 -1
- package/dist/cdn/{DIRRL7PQ.js → T5Q3U77V.js} +1 -1
- package/dist/cdn/{3D7NKMRY.js → TB5FSNLA.js} +1 -1
- package/dist/cdn/{VKZGLB6T.js → TM5ZBTEF.js} +1 -1
- package/dist/cdn/{JF2JOBBT.js → U4UIUKCI.js} +1 -1
- package/dist/cdn/{52EXLNF3.js → UBSVUJ2E.js} +1 -1
- package/dist/cdn/{SZT6UTQV.js → UCSXTGJF.js} +1 -1
- package/dist/cdn/{KVR2OGME.js → UTEXQUJR.js} +1 -1
- package/dist/cdn/{7P764RQK.js → UY7K4GFV.js} +1 -1
- package/dist/cdn/{E5RVL5XY.js → UZX4NJCQ.js} +1 -1
- package/dist/cdn/{4ACLFX6R.js → VGA54DMA.js} +1 -1
- package/dist/cdn/{QMAHST77.js → VH5DC7KP.js} +1 -1
- package/dist/cdn/{WL25ML3J.js → VMEERD7A.js} +1 -1
- package/dist/cdn/{HG6DJZBS.js → VPWT7LXO.js} +1 -1
- package/dist/cdn/{YXF2NYTT.js → VRHXD3MX.js} +1 -1
- package/dist/cdn/{WG4G6OC4.js → VUFBGJ3R.js} +1 -1
- package/dist/cdn/{2BIVUQUJ.js → VW4PUD6O.js} +1 -1
- package/dist/cdn/{DKHSXRHW.js → VXJD4PIA.js} +1 -1
- package/dist/cdn/W5CCKBJL.js +2 -0
- package/dist/cdn/{YIULHL63.js → WAUWJNMK.js} +1 -1
- package/dist/cdn/{D5ZX6F36.js → WEIJICCE.js} +1 -1
- package/dist/cdn/{PXZOPLQK.js → WH36EQGF.js} +1 -1
- package/dist/cdn/{OY7NJO32.js → WHBMBC25.js} +1 -1
- package/dist/cdn/WOVRTZTU.js +2 -0
- package/dist/cdn/{3DCNXWMF.js → WPAAK5DC.js} +1 -1
- package/dist/cdn/{36QNBIUL.js → X2GXRC7L.js} +1 -1
- package/dist/cdn/{3NEHUVQJ.js → XAYRZHLG.js} +1 -1
- package/dist/cdn/{VTC6DO4Z.js → XEKVXJYE.js} +1 -1
- package/dist/cdn/{YRSZBP3D.js → XMGRJM25.js} +1 -1
- package/dist/cdn/{OSDSL2BD.js → XMMRAUML.js} +1 -1
- package/dist/cdn/{QU6522UD.js → XONQXZNS.js} +1 -1
- package/dist/cdn/{A5KWD6K6.js → XVOODXRO.js} +1 -1
- package/dist/cdn/{HIAOM7YK.js → XWQTEMQH.js} +1 -1
- package/dist/cdn/{CZJBFQY3.js → XZANZZNP.js} +1 -1
- package/dist/cdn/{RK5LPZSC.js → Y3W37FDA.js} +1 -1
- package/dist/cdn/{Q7MQ2DFI.js → Y3YGBLU7.js} +1 -1
- package/dist/cdn/{ZLMH5LHT.js → Y6CLLI7E.js} +1 -1
- package/dist/cdn/{CTDDFF2G.js → YNQP4KN4.js} +1 -1
- package/dist/cdn/{3AIJ2HNH.js → YOFHS2J5.js} +1 -1
- package/dist/cdn/{3E6R53RM.js → YXSBMHD6.js} +1 -1
- package/dist/cdn/{K5J4F3S7.js → Z3PIOWGR.js} +1 -1
- package/dist/cdn/{W5MHYOEM.js → Z6RI5IMB.js} +1 -1
- package/dist/cdn/{ZBY6MML3.js → ZAQCWDXZ.js} +1 -1
- package/dist/cdn/{BT4EZELN.js → ZFHQB7YJ.js} +1 -1
- package/dist/cdn/{WKWHTZ5I.js → ZGB353GM.js} +1 -1
- package/dist/cdn/{B4IKDLO5.js → ZJ6YAWLX.js} +1 -1
- package/dist/cdn/{Z33YZHNN.js → ZJUQU3A2.js} +1 -1
- package/dist/cdn/ZLTT354V.js +2 -0
- package/dist/cdn/{G3NMXSN5.js → ZNDZ6WCJ.js} +1 -1
- package/dist/cdn/{CBWNO7ML.js → ZQ6QP7TQ.js} +1 -1
- package/dist/cdn/{W2FEQRXI.js → ZS2EAITQ.js} +1 -1
- package/dist/cdn/{JBUJM5ZR.js → ZVIT7K65.js} +1 -1
- package/dist/cdn/{YD2ZYMPU.js → ZXRYOT7S.js} +1 -1
- package/dist/cdn/{OGSUDIU4.js → ZYI632XM.js} +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/components/arcgis-utility-network-picker/customElement.js +32 -31
- 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 +14 -14
- 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/package.json +7 -7
- package/dist/cdn/5DEDGV3L.js +0 -2
- package/dist/cdn/5YNJEC5H.js +0 -2
- package/dist/cdn/67757SR2.js +0 -2
- package/dist/cdn/AN5DQCC2.js +0 -2
- package/dist/cdn/CKGSCNX4.js +0 -2
- package/dist/cdn/GZDPWT5D.js +0 -2
- package/dist/cdn/HCB4S5VR.js +0 -2
- package/dist/cdn/I7YXUEHB.js +0 -2
- package/dist/cdn/INMPH55C.js +0 -2
- package/dist/cdn/IQLDYLIK.js +0 -2
- package/dist/cdn/QWMOFNS7.js +0 -2
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import { c } from "../../chunks/runtime.js";
|
|
3
|
-
import
|
|
4
|
-
import { watch as
|
|
5
|
-
import { LitElement as
|
|
6
|
-
import { usePropertyChange as
|
|
7
|
-
import { log as
|
|
8
|
-
import { css as
|
|
9
|
-
import { l } from "../../chunks/async-utils.js";
|
|
10
|
-
import { u as
|
|
11
|
-
const
|
|
12
|
-
class u extends
|
|
2
|
+
import { c as h } from "../../chunks/runtime.js";
|
|
3
|
+
import d from "@arcgis/core/core/Collection.js";
|
|
4
|
+
import { watch as n } from "@arcgis/core/core/reactiveUtils.js";
|
|
5
|
+
import { LitElement as m, createEvent as g } from "@arcgis/lumina";
|
|
6
|
+
import { usePropertyChange as w } from "@arcgis/lumina/controllers";
|
|
7
|
+
import { log as l } from "@arcgis/toolkit/log";
|
|
8
|
+
import { css as y, html as o } from "lit";
|
|
9
|
+
import { l as a } from "../../chunks/async-utils.js";
|
|
10
|
+
import { u as k } from "../../chunks/useT9n.js";
|
|
11
|
+
const b = y`:host{height:100%;flex-grow:1}calcite-block{--calcite-block-content-space: 0;--calcite-block-border-color: transparent;margin:0}calcite-block :is(calcite-combobox,calcite-label,calcite-notice){margin:0 var(--calcite-space-md) var(--calcite-space-md)}calcite-block :last-child{margin-bottom:0}calcite-notice{margin:var(--calcite-space-md)}`;
|
|
12
|
+
class u extends m {
|
|
13
13
|
constructor() {
|
|
14
|
-
super(...arguments), this._messages =
|
|
14
|
+
super(...arguments), this._messages = k({ blocking: !0 }), this.hideErrors = !1, this.hideLoader = !1, this.state = "loading", this.arcgisPropertyChange = w()("selectedUtilityNetwork", "state"), this.arcgisError = g();
|
|
15
15
|
}
|
|
16
16
|
static {
|
|
17
17
|
this.properties = { _utilityNetworks: 16, view: 0, messageOverrides: 0, hideErrors: 5, hideLoader: 5, state: 1, error: 1, selectedUtilityNetwork: 0, heading: 1 };
|
|
18
18
|
}
|
|
19
19
|
static {
|
|
20
|
-
this.styles =
|
|
20
|
+
this.styles = b;
|
|
21
21
|
}
|
|
22
22
|
load() {
|
|
23
23
|
this.#e(), this.manager.onLifecycle(() => [
|
|
24
|
-
|
|
24
|
+
n(() => this.view?.map, () => this.#e())
|
|
25
25
|
]);
|
|
26
26
|
}
|
|
27
27
|
willUpdate(t) {
|
|
@@ -35,7 +35,7 @@ class u extends n {
|
|
|
35
35
|
}
|
|
36
36
|
#e() {
|
|
37
37
|
if (this.error = void 0, this.state = "loading", !this.view?.map) {
|
|
38
|
-
|
|
38
|
+
l("error", this, this._messages.errors.noView), this._utilityNetworks = void 0, this.#t(this._messages.errors.noView);
|
|
39
39
|
return;
|
|
40
40
|
}
|
|
41
41
|
const t = this.view.map;
|
|
@@ -43,52 +43,53 @@ class u extends n {
|
|
|
43
43
|
}
|
|
44
44
|
async #r(t) {
|
|
45
45
|
try {
|
|
46
|
-
t.loaded || await t.load();
|
|
46
|
+
t.loaded || await t.load(), this._utilityNetworks = t.utilityNetworks || new d();
|
|
47
47
|
} catch (e) {
|
|
48
|
-
this.#t(this._messages.errors.mapLoadFailed),
|
|
49
|
-
} finally {
|
|
50
|
-
this._utilityNetworks = t.utilityNetworks || new h();
|
|
48
|
+
this.#t(this._messages.errors.mapLoadFailed), a(e, this, this._messages.errors.mapLoadFailed);
|
|
51
49
|
}
|
|
52
50
|
}
|
|
53
51
|
#s() {
|
|
54
52
|
const { selectedUtilityNetwork: t, _utilityNetworks: e } = this;
|
|
55
|
-
e?.length ? (!t || !e.includes(t)) && (this.selectedUtilityNetwork = e.at(0), this.arcgisPropertyChange.emit({ name: "selectedUtilityNetwork" })) : (this.#t(this._messages.errors.noUtilityNetwork),
|
|
53
|
+
e?.length ? (!t || !e.includes(t)) && (this.selectedUtilityNetwork = e.at(0), this.arcgisPropertyChange.emit({ name: "selectedUtilityNetwork" })) : (this.#t(this._messages.errors.noUtilityNetwork), l("error", this, this._messages.errors.noUtilityNetwork), this.selectedUtilityNetwork = void 0);
|
|
56
54
|
}
|
|
57
55
|
async #o() {
|
|
58
56
|
const { selectedUtilityNetwork: t } = this;
|
|
59
57
|
try {
|
|
60
58
|
t && !t.loaded && (this.state = "loading", await t.load()), this.#i();
|
|
61
59
|
} catch (e) {
|
|
62
|
-
|
|
60
|
+
a(e, this, this._messages.errors.utilityNetworkLoadFailed), this.#t(this._messages.errors.utilityNetworkLoadFailed);
|
|
63
61
|
}
|
|
64
62
|
}
|
|
65
63
|
#l() {
|
|
66
|
-
return this.hideLoader ? null :
|
|
64
|
+
return this.hideLoader ? null : o`<calcite-loader label=loading></calcite-loader>`;
|
|
67
65
|
}
|
|
68
66
|
#a(t, e = !1, i) {
|
|
69
|
-
return this.hideErrors ? null :
|
|
67
|
+
return this.hideErrors ? null : o`<calcite-notice .closable=${e} kind=danger open scale=s width=auto .icon=${i}><div slot=message>${t}</div></calcite-notice>`;
|
|
70
68
|
}
|
|
71
69
|
#c() {
|
|
72
|
-
const t = this._messages.labels.utilityNetwork, e = this._utilityNetworks?.map((i) =>
|
|
73
|
-
return
|
|
70
|
+
const t = this._messages.labels.utilityNetwork, e = this._utilityNetworks?.map((i) => o`<calcite-combobox-item .value=${i.id} .heading=${i.title || i.id} .selected=${i.id === this.selectedUtilityNetwork?.id}></calcite-combobox-item>`);
|
|
71
|
+
return o`<calcite-combobox .label=${t} selection-mode=single-persist @calciteComboboxChange=${({ currentTarget: i }) => {
|
|
74
72
|
const r = i.selectedItems[0]?.value;
|
|
75
|
-
this.selectedUtilityNetwork?.id !== r && (this.selectedUtilityNetwork = this._utilityNetworks?.find((
|
|
73
|
+
this.selectedUtilityNetwork?.id !== r && (this.selectedUtilityNetwork = this._utilityNetworks?.find((s) => s.id === r));
|
|
76
74
|
}}>${e}</calcite-combobox>`;
|
|
77
75
|
}
|
|
78
76
|
#h() {
|
|
79
77
|
const { selectedUtilityNetwork: t } = this;
|
|
80
|
-
return
|
|
78
|
+
return o`<calcite-label>${t?.title}</calcite-label>`;
|
|
81
79
|
}
|
|
82
80
|
#d(t) {
|
|
83
81
|
const e = this._messages.labels.utilityNetwork, i = this.heading || e, r = this._utilityNetworks?.length ? this._utilityNetworks?.length === 1 ? this.#h() : this.#c() : void 0;
|
|
84
|
-
return
|
|
82
|
+
return o`<calcite-block .heading=${i} .label=${e} expanded>${r}${t}</calcite-block>`;
|
|
85
83
|
}
|
|
86
84
|
render() {
|
|
87
|
-
const { error: t, state: e, selectedUtilityNetwork: i } = this,
|
|
88
|
-
|
|
85
|
+
const { error: t, state: e, selectedUtilityNetwork: i, _messages: r } = this, s = e === "error" && t ? this.#a(t, !1, "exclamation-mark-triangle") : void 0;
|
|
86
|
+
if (!s && !i?.loaded && !i?.loadError)
|
|
87
|
+
return this.#l();
|
|
88
|
+
const c = t === r.errors.mapLoadFailed || t === r.errors.noView || t === r.errors.noUtilityNetwork;
|
|
89
|
+
return e === "error" && s && c ? s : this.#d(s);
|
|
89
90
|
}
|
|
90
91
|
}
|
|
91
|
-
|
|
92
|
+
h("arcgis-utility-network-picker", u);
|
|
92
93
|
export {
|
|
93
94
|
u as ArcgisUtilityNetworkPicker
|
|
94
95
|
};
|
package/dist/components/arcgis-utility-network-trace-configuration-picker/customElement.d.ts
CHANGED
|
@@ -16,8 +16,6 @@ import type { T9nMeta } from "@arcgis/lumina/controllers";
|
|
|
16
16
|
* [traceConfigurations](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-utility-network-trace-configuration-picker/#traceConfigurations).
|
|
17
17
|
* The component displays a title for a single configuration or a
|
|
18
18
|
* [combobox](https://developers.arcgis.com/calcite-design-system/components/combobox/) for multiple configurations.
|
|
19
|
-
* Changing the list resets the selection to the first configuration backed by a
|
|
20
|
-
* [UNTraceConfiguration](https://developers.arcgis.com/javascript/latest/references/core/networks/support/UNTraceConfiguration/).
|
|
21
19
|
*
|
|
22
20
|
* Read [selectedNamedTraceConfiguration](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-utility-network-trace-configuration-picker/#selectedNamedTraceConfiguration)
|
|
23
21
|
* for the selection and [traceConfiguration](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-utility-network-trace-configuration-picker/#traceConfiguration)
|
|
@@ -25,6 +23,12 @@ import type { T9nMeta } from "@arcgis/lumina/controllers";
|
|
|
25
23
|
* select a compatible subnetwork. The component also displays available domain network,
|
|
26
24
|
* tier, and target tier names for subnetwork-related trace types. This component does not execute traces.
|
|
27
25
|
*
|
|
26
|
+
* Changing the [traceConfiguration](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-utility-network-trace-configuration-picker/#traceConfiguration)
|
|
27
|
+
* list preserves the [selectedNamedTraceConfiguration](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-utility-network-trace-configuration-picker/#selectedNamedTraceConfiguration)
|
|
28
|
+
* if it is still included in the new list.
|
|
29
|
+
* Otherwise, the component selects the first configuration backed by a
|
|
30
|
+
* [UNTraceConfiguration](https://developers.arcgis.com/javascript/latest/references/core/networks/support/UNTraceConfiguration/).
|
|
31
|
+
*
|
|
28
32
|
* Customize the display with [heading](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-utility-network-trace-configuration-picker/#heading),
|
|
29
33
|
* [hideSubnetworkInfo](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-utility-network-trace-configuration-picker/#hideSubnetworkInfo),
|
|
30
34
|
* [hideErrors](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-utility-network-trace-configuration-picker/#hideErrors), and
|
|
@@ -157,6 +161,7 @@ export abstract class ArcgisUtilityNetworkTraceConfigurationPicker extends LitEl
|
|
|
157
161
|
* [traceConfigurations](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-utility-network-trace-configuration-picker/#traceConfigurations)
|
|
158
162
|
* to select it programmatically. Selecting a configuration creates a new
|
|
159
163
|
* [traceConfiguration](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-utility-network-trace-configuration-picker/#traceConfiguration) clone.
|
|
164
|
+
* An initial selection is preserved when it is included in the available configurations.
|
|
160
165
|
*/
|
|
161
166
|
accessor selectedNamedTraceConfiguration: NamedTraceConfiguration | undefined;
|
|
162
167
|
/**
|
|
@@ -191,9 +196,10 @@ export abstract class ArcgisUtilityNetworkTraceConfigurationPicker extends LitEl
|
|
|
191
196
|
* from the utility network or map. For example, assign the loaded utility network's
|
|
192
197
|
* [sharedNamedTraceConfigurations](https://developers.arcgis.com/javascript/latest/references/core/networks/UtilityNetwork/#sharedNamedTraceConfigurations).
|
|
193
198
|
*
|
|
194
|
-
* Changing this array
|
|
199
|
+
* Changing this array preserves
|
|
195
200
|
* [selectedNamedTraceConfiguration](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-utility-network-trace-configuration-picker/#selectedNamedTraceConfiguration)
|
|
196
|
-
*
|
|
201
|
+
* if it is still included. Otherwise, the first entry backed by a `UNTraceConfiguration` is selected.
|
|
202
|
+
* An empty array clears the selection and displays an error.
|
|
197
203
|
*
|
|
198
204
|
* @required
|
|
199
205
|
* @example
|
|
@@ -7,7 +7,7 @@ import { css as g, html as r } from "lit";
|
|
|
7
7
|
import { log as l } from "@arcgis/toolkit/log";
|
|
8
8
|
import { usePropertyChange as f } from "@arcgis/lumina/controllers";
|
|
9
9
|
import { q as k } from "../../chunks/layer-utils.js";
|
|
10
|
-
const w = g`:host{height:100%;flex-grow:1}.subnetwork-details{border-radius:var(--calcite-border-radius);border:solid 1px var(--calcite-color-border-3)}.key-value-pair{padding:var(--calcite-space-sm)}.key-value-pair__key{font-size:var(--calcite-font-size--2);color:var(--calcite-color-text-3)}.key-value-pair__value{font-size:var(--calcite-font-size--1);color:var(--calcite-color-text-1)}calcite-block{--calcite-block-content-space: 0;--calcite-block-border-color: transparent;margin:0}calcite-block :is(calcite-combobox,calcite-input,calcite-label,calcite-notice){margin:0 var(--calcite-space-md)}calcite-block>:is(calcite-combobox,calcite-input,calcite-notice):not(:last-child){margin-bottom:var(--calcite-space-md)}calcite-block calcite-input-message{padding:var(--calcite-space-sm) var(--calcite-space-md) 0}calcite-notice{margin:var(--calcite-space-md)}#subnetwork-info-block{margin:var(--calcite-space-md) var(--calcite-space-md) 0}.inline-loader{--calcite-loader-spacing: var(--calcite-space-md)}`,
|
|
10
|
+
const w = g`:host{height:100%;flex-grow:1}.subnetwork-details{border-radius:var(--calcite-border-radius);border:solid 1px var(--calcite-color-border-3)}.key-value-pair{padding:var(--calcite-space-sm)}.key-value-pair__key{font-size:var(--calcite-font-size--2);color:var(--calcite-color-text-3)}.key-value-pair__value{font-size:var(--calcite-font-size--1);color:var(--calcite-color-text-1)}calcite-block{--calcite-block-content-space: 0;--calcite-block-border-color: transparent;margin:0}calcite-block :is(calcite-combobox,calcite-input,calcite-label,calcite-notice){margin:0 var(--calcite-space-md)}calcite-block>:is(calcite-combobox,calcite-input,calcite-notice):not(:last-child){margin-bottom:var(--calcite-space-md)}calcite-block calcite-input-message{padding:var(--calcite-space-sm) var(--calcite-space-md) 0}calcite-notice{margin:var(--calcite-space-md)}#subnetwork-info-block{margin:var(--calcite-space-md) var(--calcite-space-md) 0}.inline-loader{--calcite-loader-spacing: var(--calcite-space-md)}`, C = 20, p = /* @__PURE__ */ new Set(["subnetwork", "subnetwork-controller", "upstream", "downstream", "isolation"]);
|
|
11
11
|
class N extends d {
|
|
12
12
|
constructor() {
|
|
13
13
|
super(...arguments), this._messages = b({ blocking: !0 }), this._subnetworkNamesState = "ready", this._compatibleSubnetworkNames = [], this.traceConfigurations = [], this.hideSubnetworkInfo = !1, this.hideErrors = !1, this.state = "ready", this.arcgisPropertyChange = f()("selectedNamedTraceConfiguration", "traceConfiguration"), this.arcgisError = h();
|
|
@@ -29,18 +29,18 @@ class N extends d {
|
|
|
29
29
|
return !!e?.traceConfiguration?.subnetworkName && e?.traceType === "subnetwork";
|
|
30
30
|
}
|
|
31
31
|
willUpdate(e) {
|
|
32
|
-
e.has("utilityNetwork") && this.#u(), e.has("
|
|
32
|
+
e.has("traceConfigurations") && this.#m(), e.has("utilityNetwork") && (this.#u(), !e.has("selectedNamedTraceConfiguration") && this.isSubnetworkNameTraceSelected && this.traceConfiguration && this.#o(this.traceConfiguration)), e.has("selectedNamedTraceConfiguration") && this.#s();
|
|
33
33
|
}
|
|
34
|
-
async #
|
|
34
|
+
async #s() {
|
|
35
35
|
const { selectedNamedTraceConfiguration: e } = this;
|
|
36
36
|
if (!e || !(e.traceConfiguration instanceof c)) {
|
|
37
37
|
this.#t(e ? this._messages.errors.noTraceConfiguration : this._messages.errors.traceConfigurationNotFound), this.traceConfiguration = void 0, this.arcgisPropertyChange.emit({ name: "traceConfiguration" });
|
|
38
38
|
return;
|
|
39
39
|
}
|
|
40
|
-
this.#i(), this.traceConfiguration = e.traceConfiguration.clone(), this.arcgisPropertyChange.emit({ name: "selectedNamedTraceConfiguration" }), this.arcgisPropertyChange.emit({ name: "traceConfiguration" }), this.isSubnetworkNameTraceSelected &&
|
|
40
|
+
this.#i(), this.traceConfiguration = e.traceConfiguration.clone(), this.arcgisPropertyChange.emit({ name: "selectedNamedTraceConfiguration" }), this.arcgisPropertyChange.emit({ name: "traceConfiguration" }), this.isSubnetworkNameTraceSelected && await this.#o(this.traceConfiguration);
|
|
41
41
|
}
|
|
42
|
-
async #
|
|
43
|
-
await this.#n(), await this.#c(), e.subnetworkName && !this._compatibleSubnetworkNames.some((t) => t === e.subnetworkName) && (this.#e = this._compatibleSubnetworkNames.at(0));
|
|
42
|
+
async #o(e) {
|
|
43
|
+
this._subnetworkNamesState = "loading", this.state = "loading", await this.#n(), await this.#c(), e.subnetworkName && !this._compatibleSubnetworkNames.some((t) => t === e.subnetworkName) && (this.#e = this._compatibleSubnetworkNames.at(0)), this._subnetworkNamesState = "ready", this.state = "ready";
|
|
44
44
|
}
|
|
45
45
|
async #n() {
|
|
46
46
|
this._subnetworksTable || (this._subnetworksTable = await this.utilityNetwork?.loadSubnetworksTable());
|
|
@@ -62,7 +62,8 @@ class N extends d {
|
|
|
62
62
|
this.#e = void 0, this._subnetworksTable = void 0, this._compatibleSubnetworkNames = [];
|
|
63
63
|
}
|
|
64
64
|
#m() {
|
|
65
|
-
|
|
65
|
+
const { selectedNamedTraceConfiguration: e } = this;
|
|
66
|
+
this.traceConfigurations.length ? (!e || !this.traceConfigurations.includes(e)) && (this.#i(), this.selectedNamedTraceConfiguration = this.traceConfigurations.find((t) => t.traceConfiguration instanceof c) ?? this.traceConfigurations.at(0)) : (this.traceConfiguration = void 0, this.selectedNamedTraceConfiguration = void 0, this.#t(this._messages.errors.noTraceConfigurations));
|
|
66
67
|
}
|
|
67
68
|
#t(e) {
|
|
68
69
|
l("error", this, e), this.error = e, this.state = "error", this.arcgisError.emit();
|
|
@@ -106,7 +107,7 @@ class N extends d {
|
|
|
106
107
|
}
|
|
107
108
|
#f() {
|
|
108
109
|
const { _messages: e } = this, t = e.labels.subnetworkName;
|
|
109
|
-
return this.isSubnetworkNameTraceSelected ? this._subnetworkNamesState === "loading" ? r`<calcite-loader class="inline-loader" label=loading scale=s></calcite-loader>` : this._compatibleSubnetworkNames.length ? r`<calcite-block .heading=${t} .label=${t} expanded>${this._compatibleSubnetworkNames.length >
|
|
110
|
+
return this.isSubnetworkNameTraceSelected ? this._subnetworkNamesState === "loading" ? r`<calcite-loader class="inline-loader" label=loading scale=s></calcite-loader>` : this._compatibleSubnetworkNames.length ? r`<calcite-block .heading=${t} .label=${t} expanded>${this._compatibleSubnetworkNames.length > C ? this.#k() : this.#w()}</calcite-block>` : this.#r(e.errors.noCompatibleSubnetworks) : null;
|
|
110
111
|
}
|
|
111
112
|
#k() {
|
|
112
113
|
const { _messages: e } = this;
|
|
@@ -119,7 +120,7 @@ class N extends d {
|
|
|
119
120
|
}}>${this._compatibleSubnetworkNames.map((e) => r`<calcite-combobox-item .value=${e} .heading=${e} .selected=${e === this.#e}></calcite-combobox-item>`)}</calcite-combobox>`;
|
|
120
121
|
}
|
|
121
122
|
render() {
|
|
122
|
-
const { selectedNamedTraceConfiguration: e } = this, i = e?.traceType &&
|
|
123
|
+
const { selectedNamedTraceConfiguration: e } = this, i = e?.traceType && p.has(e.traceType) ? r`${this.#g()}${this.#f()}` : null;
|
|
123
124
|
return r`${this.#b()}${i}`;
|
|
124
125
|
}
|
|
125
126
|
}
|
|
@@ -308,6 +308,9 @@ export abstract class ArcgisUtilityNetworkTraceInputs extends LitElement {
|
|
|
308
308
|
* The [named trace configuration](https://doc.esri.com/en/arcgis-pro/latest/help/data/utility-network/about-trace-configurations.html)
|
|
309
309
|
* to use. It determines the trace type and its settings.
|
|
310
310
|
* Users choose one in the component's trace configuration picker.
|
|
311
|
+
* Set this property to one of the selected utility network's shared named trace configurations
|
|
312
|
+
* to select it programmatically, including before the component or utility network finishes loading.
|
|
313
|
+
* The selection is preserved when it is included in the available configurations.
|
|
311
314
|
*/
|
|
312
315
|
accessor selectedNamedTraceConfiguration: NamedTraceConfiguration | undefined;
|
|
313
316
|
/**
|
|
@@ -93,7 +93,7 @@ class L extends y {
|
|
|
93
93
|
#C(e) {
|
|
94
94
|
e.stopPropagation(), this.arcgisTriggerAction.emit(e.detail);
|
|
95
95
|
}
|
|
96
|
-
#
|
|
96
|
+
#N({ detail: e, target: t }) {
|
|
97
97
|
(e.name === "selectedDrillInFeature" || e.name === "selectedFeature") && (this._selectedFeature = t.selectedDrillInFeature ?? t.selectedFeature ?? void 0);
|
|
98
98
|
}
|
|
99
99
|
#b() {
|
|
@@ -102,10 +102,10 @@ class L extends y {
|
|
|
102
102
|
return;
|
|
103
103
|
}
|
|
104
104
|
}
|
|
105
|
-
#
|
|
105
|
+
#S(e) {
|
|
106
106
|
e && (this.#f = e);
|
|
107
107
|
}
|
|
108
|
-
#
|
|
108
|
+
#_(e) {
|
|
109
109
|
e && (this.#y = e);
|
|
110
110
|
}
|
|
111
111
|
#F(e) {
|
|
@@ -144,7 +144,7 @@ class L extends y {
|
|
|
144
144
|
this.#p(this.#i), this.#h ? this.#p(this.#e) : this.#c(this.#e), this.#u ? this.#p(this.#t) : this.#c(this.#t);
|
|
145
145
|
}
|
|
146
146
|
#U() {
|
|
147
|
-
this.
|
|
147
|
+
this._namedTraceConfigurations = this.selectedUtilityNetwork?.sharedNamedTraceConfigurations.filter(Boolean).filter((e) => e.traceType !== "circuit").sort((e, t) => e.title.localeCompare(t.title)) || [], (!this.selectedNamedTraceConfiguration || !this._namedTraceConfigurations.includes(this.selectedNamedTraceConfiguration)) && (this._traceConfiguration = void 0, this.selectedNamedTraceConfiguration = void 0);
|
|
148
148
|
}
|
|
149
149
|
#E() {
|
|
150
150
|
const { selectedUtilityNetwork: e } = this;
|
|
@@ -228,7 +228,7 @@ class L extends y {
|
|
|
228
228
|
}
|
|
229
229
|
#j() {
|
|
230
230
|
const { _namedTraceConfigurations: e, selectedUtilityNetwork: t } = this;
|
|
231
|
-
return r`<arcgis-utility-network-trace-configuration-picker .messageOverrides=${this.messageOverrides} .traceConfigurations=${e} .utilityNetwork=${t} @arcgisPropertyChange=${(i) => {
|
|
231
|
+
return r`<arcgis-utility-network-trace-configuration-picker .messageOverrides=${this.messageOverrides} .selectedNamedTraceConfiguration=${this.selectedNamedTraceConfiguration} .traceConfigurations=${e} .utilityNetwork=${t} @arcgisPropertyChange=${(i) => {
|
|
232
232
|
i.stopPropagation(), i.detail.name === "selectedNamedTraceConfiguration" ? (this.selectedNamedTraceConfiguration = i.target.selectedNamedTraceConfiguration, this.#D()) : i.detail.name === "traceConfiguration" && (this._traceConfiguration = i.target.traceConfiguration);
|
|
233
233
|
}}></arcgis-utility-network-trace-configuration-picker>`;
|
|
234
234
|
}
|
|
@@ -252,7 +252,7 @@ class L extends y {
|
|
|
252
252
|
if (!t.length)
|
|
253
253
|
return this.mode = "default", null;
|
|
254
254
|
const a = e === "starting-point" ? i.labels.addSpatial.startingPoint : e === "barrier" ? i.labels.addSpatial.barrier : i.labels.addSpatial.stoppingPoint, s = t.length === 1 ? "feature" : "list";
|
|
255
|
-
return r`<arcgis-features-next .actions=${this.actions} .autoDestroyDisabled=${this.autoDestroyDisabled} .defaultPopupTemplateEnabled=${this.#n} .features=${this._candidateFeatures} .featureMenuTitle=${a} .hideActionBar=${this.hideActionBar} hide-select-feature .includeDefaultActionsDisabled=${this.includeDefaultActionsDisabled} .initialDisplayMode=${s} .messageOverrides=${this.messageOverrides} @arcgisClose=${() => this.#v()} @arcgisPropertyChange=${this.#
|
|
255
|
+
return r`<arcgis-features-next .actions=${this.actions} .autoDestroyDisabled=${this.autoDestroyDisabled} .defaultPopupTemplateEnabled=${this.#n} .features=${this._candidateFeatures} .featureMenuTitle=${a} .hideActionBar=${this.hideActionBar} hide-select-feature .includeDefaultActionsDisabled=${this.includeDefaultActionsDisabled} .initialDisplayMode=${s} .messageOverrides=${this.messageOverrides} @arcgisClose=${() => this.#v()} @arcgisPropertyChange=${this.#N} @arcgisTriggerAction=${this.#C} open .referenceElement=${this.referenceElement} .view=${this.view} ${h(this.#P)}></arcgis-features-next>`;
|
|
256
256
|
}
|
|
257
257
|
#W() {
|
|
258
258
|
const { mode: e, _messages: t, _selectedFeature: i, selectedUtilityNetwork: a } = this, s = e === "add-spatial-feature" && this._exceedDisplayLimit && !i, o = m(t.warnings.exceededDisplayLimit, {
|
|
@@ -264,7 +264,7 @@ class L extends y {
|
|
|
264
264
|
return r`<arcgis-utility-network-trace-locations .messageOverrides=${this.messageOverrides} .view=${this.view} .traceLocationType=${e} .beforeMapInteraction=${this.beforeMapInteraction} @arcgisTraceLocationSelectStart=${this.#I} @arcgisTraceLocationSelectEnd=${this.#V} .utilityNetwork=${this.selectedUtilityNetwork} .filterLayers=${this.#l} .traceLocations=${t} .afterMapInteraction=${this.#O.bind(this)} .autoDestroyDisabled=${this.autoDestroyDisabled} ${h(i)}></arcgis-utility-network-trace-locations>`;
|
|
265
265
|
}
|
|
266
266
|
#J() {
|
|
267
|
-
const { _messages: e } = this, t = this.#q(), i = this.#j(), a = this.#k ? r`${this.#h ? this.#m("starting-point", this.#e, this.#
|
|
267
|
+
const { _messages: e } = this, t = this.#q(), i = this.#j(), a = this.#k ? r`${this.#h ? this.#m("starting-point", this.#e, this.#S) : null}${this.#u ? this.#m("stopping-point", this.#t, this.#F) : null}${this.#m("barrier", this.#i, this.#_)}` : null, s = this.selectedUtilityNetwork?.loaded ? r`${i}${a}` : null;
|
|
268
268
|
return r`<calcite-block-group .label=${e.labels.traceInputs}>${t}${s}</calcite-block-group>`;
|
|
269
269
|
}
|
|
270
270
|
render() {
|
|
@@ -15,15 +15,15 @@ import v from "@arcgis/core/symbols/SimpleMarkerSymbol.js";
|
|
|
15
15
|
import H from "@arcgis/core/widgets/Sketch/SketchViewModel.js";
|
|
16
16
|
import { LitElement as U, createEvent as $ } from "@arcgis/lumina";
|
|
17
17
|
import { log as p, composeMissingPropertyMessage as k } from "@arcgis/toolkit/log";
|
|
18
|
-
import { u as
|
|
19
|
-
import { a as
|
|
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
20
|
import { css as Q, html as u } from "lit";
|
|
21
21
|
import E from "@arcgis/core/views/interactive/snapping/FeatureSnappingLayerSource.js";
|
|
22
22
|
import { substitute as J } from "@arcgis/core/intl.js";
|
|
23
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
24
|
class I extends U {
|
|
25
25
|
constructor() {
|
|
26
|
-
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 = $();
|
|
27
27
|
}
|
|
28
28
|
static {
|
|
29
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 };
|
|
@@ -51,7 +51,7 @@ class I extends U {
|
|
|
51
51
|
listMode: "hide",
|
|
52
52
|
title: t
|
|
53
53
|
});
|
|
54
|
-
return
|
|
54
|
+
return W(e, i), i;
|
|
55
55
|
}
|
|
56
56
|
return r;
|
|
57
57
|
}
|
|
@@ -61,13 +61,13 @@ class I extends U {
|
|
|
61
61
|
t && e.map.remove(t), this.sketchViewModelMap.delete(e);
|
|
62
62
|
}
|
|
63
63
|
}
|
|
64
|
-
#
|
|
64
|
+
#t;
|
|
65
65
|
get sketchViewModel() {
|
|
66
66
|
return this.view ? I.getSketchViewModel(this.view) : null;
|
|
67
67
|
}
|
|
68
68
|
async destroy() {
|
|
69
69
|
try {
|
|
70
|
-
this.#i();
|
|
70
|
+
this.#t && this.sketchViewModel?.cancel(), this.#i();
|
|
71
71
|
} finally {
|
|
72
72
|
await this.manager.destroy();
|
|
73
73
|
}
|
|
@@ -182,10 +182,10 @@ class I extends U {
|
|
|
182
182
|
this._isSelectWaiting = !1;
|
|
183
183
|
}
|
|
184
184
|
}
|
|
185
|
-
await this.#
|
|
185
|
+
await this.#r(e, t);
|
|
186
186
|
}
|
|
187
|
-
async #
|
|
188
|
-
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"));
|
|
189
189
|
}
|
|
190
190
|
#p(e, t, r) {
|
|
191
191
|
if (e.state === "complete" && e.graphic) {
|
|
@@ -201,24 +201,24 @@ class I extends U {
|
|
|
201
201
|
return;
|
|
202
202
|
}
|
|
203
203
|
if (a?.geometry?.type !== "point") {
|
|
204
|
-
this.#e("warn", this._messages.errors.noHitResult), this.#
|
|
204
|
+
this.#e("warn", this._messages.errors.noHitResult), this.#r(t, r);
|
|
205
205
|
return;
|
|
206
206
|
}
|
|
207
207
|
const s = a.geometry, c = t.toScreen(s);
|
|
208
208
|
if (!c) {
|
|
209
|
-
this.#e("warn", this._messages.errors.noHitResult), this.#
|
|
209
|
+
this.#e("warn", this._messages.errors.noHitResult), this.#r(t, r);
|
|
210
210
|
return;
|
|
211
211
|
}
|
|
212
212
|
const l = (await t.hitTest(c, {
|
|
213
213
|
include: this.filterLayers
|
|
214
214
|
})).results.filter((o) => o.type === "graphic" && o?.layer && o.graphic);
|
|
215
215
|
if (!l.length) {
|
|
216
|
-
this.#e("info", this._messages.errors.noHitResult), this.#
|
|
216
|
+
this.#e("info", this._messages.errors.noHitResult), this.#r(t, r);
|
|
217
217
|
return;
|
|
218
218
|
}
|
|
219
219
|
this.#i();
|
|
220
220
|
try {
|
|
221
|
-
await this.#h(l, s, t) ? this.arcgisTraceLocationSelectEnd.emit() : this.#
|
|
221
|
+
await this.#h(l, s, t) ? this.arcgisTraceLocationSelectEnd.emit() : this.#r(t, r);
|
|
222
222
|
} catch (o) {
|
|
223
223
|
const h = o instanceof Error ? o.message : String(o);
|
|
224
224
|
this.#e("error", h), this.arcgisTraceLocationSelectEnd.emit();
|
|
@@ -230,7 +230,7 @@ class I extends U {
|
|
|
230
230
|
p("error", this, k("view"));
|
|
231
231
|
return;
|
|
232
232
|
}
|
|
233
|
-
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");
|
|
234
234
|
}
|
|
235
235
|
async #h(e, t, r) {
|
|
236
236
|
if (!e.length)
|