@arcgis/map-components 5.0.0-next.92 → 5.0.0-next.94
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/{HZDBJ2JH.js → 23NMM4CA.js} +2 -2
- package/dist/cdn/{NVFGMSZH.js → 25NOV3OI.js} +2 -2
- package/dist/cdn/{WU6RMTYJ.js → 2LNH4V6G.js} +1 -1
- package/dist/cdn/{S4YCMSWT.js → 2SOGUYHI.js} +2 -2
- package/dist/cdn/{XYH6VOK7.js → 2VSC537B.js} +2 -2
- package/dist/cdn/{MXH7C6IM.js → 2YZ5BZKX.js} +1 -1
- package/dist/cdn/{2DK7SRP6.js → 36HJJDU6.js} +2 -2
- package/dist/cdn/{5GVY3VJX.js → 3BD5ZO4C.js} +2 -2
- package/dist/cdn/{WZ6NKZZA.js → 3NATULT6.js} +2 -2
- package/dist/cdn/{CNKQ7MZX.js → 3OW4JSCM.js} +2 -2
- package/dist/cdn/{LBUL7H3K.js → 3UFQDU43.js} +2 -2
- package/dist/cdn/{JJ2BMPCB.js → 47Y26B7K.js} +2 -2
- package/dist/cdn/{SVEHL3HT.js → 4AOMFVDD.js} +2 -2
- package/dist/cdn/{P7LX2OK4.js → 4EFEUNIH.js} +2 -2
- package/dist/cdn/{DYQ5UU4K.js → 4EUOCTT6.js} +2 -2
- package/dist/cdn/{JE33CPCE.js → 4PJIG5VN.js} +2 -2
- package/dist/cdn/{AUNPO5WZ.js → 4Q7KG7AQ.js} +2 -2
- package/dist/cdn/{UJZNVEY4.js → 4QVC4F7V.js} +2 -2
- package/dist/cdn/{EBNKZMCI.js → 4WNQWXU5.js} +2 -2
- package/dist/cdn/{IZ6QELCQ.js → 4ZSPPVG3.js} +2 -2
- package/dist/cdn/{FEFDKT3G.js → 53BFFISV.js} +2 -2
- package/dist/cdn/{74QPIFS2.js → 53RZHNGK.js} +2 -2
- package/dist/cdn/{BH6X2ZRD.js → 5BILNS66.js} +2 -2
- package/dist/cdn/{IBN52EOC.js → 5CBISFZS.js} +2 -2
- package/dist/cdn/{5RRFOQBO.js → 5GZ7FAGP.js} +2 -2
- package/dist/cdn/{RPJ7PYJI.js → 5HJEWW54.js} +2 -2
- package/dist/cdn/{RBE574GA.js → 5KUX7YIX.js} +2 -2
- package/dist/cdn/{OY2FNXHE.js → 5MW5YOG7.js} +2 -2
- package/dist/cdn/{HIDXWWXK.js → 5NJV64BC.js} +2 -2
- package/dist/cdn/{UFIIJ5R3.js → 5UZ6XOCR.js} +2 -2
- package/dist/cdn/{XSBBQ2WV.js → 5WGYMHY4.js} +2 -2
- package/dist/cdn/{HNS4AQVJ.js → 5WSICMXU.js} +2 -2
- package/dist/cdn/{D4FAYT3J.js → 62VIAKWR.js} +2 -2
- package/dist/cdn/{FYIUMYGR.js → 64RBWLR2.js} +2 -2
- package/dist/cdn/{X6JS6JOQ.js → 6BSHVKSS.js} +2 -2
- package/dist/cdn/{7A3IV2NK.js → 6C664DPC.js} +2 -2
- package/dist/cdn/{CFAZ3H3S.js → 6CW4ANQH.js} +2 -2
- package/dist/cdn/{YFXERNVQ.js → 6IFE5PSL.js} +2 -2
- package/dist/cdn/{V7TUE55H.js → 6MKZF4K5.js} +2 -2
- package/dist/cdn/{L57LMROR.js → 6QSGLNBO.js} +2 -2
- package/dist/cdn/{SZLHYT5W.js → 6Z2WNVRK.js} +1 -1
- package/dist/cdn/{4Y57U7FU.js → 6ZWSGWRS.js} +2 -2
- package/dist/cdn/{ZE6PIKEL.js → 72JZYWQO.js} +2 -2
- package/dist/cdn/{WXJJ47QG.js → 75LS3PEC.js} +2 -2
- package/dist/cdn/{LIL24PIN.js → 7A43NBWP.js} +2 -2
- package/dist/cdn/{UAWLGRML.js → 7BWYR56J.js} +2 -2
- package/dist/cdn/{6PESQ2ZC.js → 7KP3AOP6.js} +2 -2
- package/dist/cdn/{GPQMTS6R.js → 7NXL4M7N.js} +2 -2
- package/dist/cdn/{MLS3ZO7M.js → 7UWE5XRI.js} +2 -2
- package/dist/cdn/{2E7TZRRV.js → A63SE5AG.js} +2 -2
- package/dist/cdn/{25IZDWSN.js → A7QJIV4D.js} +2 -2
- package/dist/cdn/{VV3CTLMJ.js → ACKCRSRW.js} +2 -2
- package/dist/cdn/{ZILPZPIM.js → ALBKKGJY.js} +2 -2
- package/dist/cdn/{VKH5H6RP.js → AQ2MADPU.js} +2 -2
- package/dist/cdn/{YNYENOUR.js → ASXD2JRK.js} +2 -2
- package/dist/cdn/{VZNLSB2B.js → AU4UXBIC.js} +2 -2
- package/dist/cdn/{QTJDDX33.js → AXZXO66J.js} +2 -2
- package/dist/cdn/{4K3ZXFR5.js → BCETZXMN.js} +2 -2
- package/dist/cdn/{24FZLFOK.js → BD7WG7LB.js} +2 -2
- package/dist/cdn/{JISIG2WA.js → BEMW5DQF.js} +2 -2
- package/dist/cdn/{VDCQFU5K.js → BIBGBLFX.js} +2 -2
- package/dist/cdn/{D7OM7PCI.js → BQ5ZNW33.js} +1 -1
- package/dist/cdn/{YVVQHIGY.js → BVQELKGS.js} +2 -2
- package/dist/cdn/{UTHU6WCL.js → BWIXWB3U.js} +2 -2
- package/dist/cdn/{GNVA4UPJ.js → BZ2WEN2R.js} +2 -2
- package/dist/cdn/{CITIZAZI.js → C7NOBB2N.js} +2 -2
- package/dist/cdn/{JHMIXJME.js → CEEJWBRI.js} +2 -2
- package/dist/cdn/CIBMEYJP.js +4 -0
- package/dist/cdn/{UBB55AI4.js → CNRDCIIJ.js} +2 -2
- package/dist/cdn/{TN4GQ5QN.js → COKWGGLK.js} +2 -2
- package/dist/cdn/CQTC7GCN.js +4 -0
- package/dist/cdn/{NNQHEALB.js → CS3LMJ2N.js} +2 -2
- package/dist/cdn/{MLWJILN6.js → CS4WL2BS.js} +2 -2
- package/dist/cdn/{2LRNI36V.js → CUBEFQB5.js} +2 -2
- package/dist/cdn/{MEJIVYKM.js → DDDP47NH.js} +2 -2
- package/dist/cdn/{G46MJ3MY.js → DGECEXLC.js} +2 -2
- package/dist/cdn/{7S7OOY2G.js → DJUZNSNM.js} +2 -2
- package/dist/cdn/{MMOSYXXD.js → DKIZDFM7.js} +2 -2
- package/dist/cdn/{DYUQ33TG.js → DLF645LP.js} +2 -2
- package/dist/cdn/{NQC5GIKN.js → DOUXYQIK.js} +2 -2
- package/dist/cdn/{MCLOWNAU.js → DUSGLVOY.js} +2 -2
- package/dist/cdn/{MXYKKHXU.js → DUZ7BHIU.js} +2 -2
- package/dist/cdn/E2TW7OIL.js +4 -0
- package/dist/cdn/{6POLNT3T.js → E2WDMMT7.js} +2 -2
- package/dist/cdn/{EXT3ZY7P.js → E5SRUHPA.js} +2 -2
- package/dist/cdn/{2WTZVJD5.js → ED25SVE2.js} +2 -2
- package/dist/cdn/{TQMZD3E7.js → EHNAGQEU.js} +2 -2
- package/dist/cdn/{QINV6BM4.js → EK2GACH3.js} +2 -2
- package/dist/cdn/{K2KINYI4.js → EPVIMN4Q.js} +2 -2
- package/dist/cdn/{BPYMQST7.js → EPZRYRI6.js} +2 -2
- package/dist/cdn/{DEBK2ZK4.js → ER7QSV4R.js} +1 -1
- package/dist/cdn/{KP4CU4J3.js → ERJV67EC.js} +2 -2
- package/dist/cdn/{QFO2IRTT.js → ES7DDOR3.js} +2 -2
- package/dist/cdn/{CFQNKQLP.js → EXAYRFE5.js} +2 -2
- package/dist/cdn/{A7QBL3A2.js → EZFPTCOA.js} +2 -2
- package/dist/cdn/{LWTHPR7G.js → F523PBRN.js} +2 -2
- package/dist/cdn/{COF2YZPH.js → F757OBPV.js} +2 -2
- package/dist/cdn/{HRISCZE4.js → FAP5X6JS.js} +2 -2
- package/dist/cdn/{Z6KIH56L.js → FKZ73ZOT.js} +2 -2
- package/dist/cdn/FN754WK6.js +4 -0
- package/dist/cdn/{CVOYRKZS.js → FQ5O4A2P.js} +2 -2
- package/dist/cdn/{665BJZWA.js → FQAVNSJZ.js} +2 -2
- package/dist/cdn/{RDHXYAFQ.js → FW3EZWIH.js} +2 -2
- package/dist/cdn/{KSTTZXSV.js → FXKTSJR2.js} +2 -2
- package/dist/cdn/{YBNROUXG.js → FYI6CGKM.js} +2 -2
- package/dist/cdn/{5XDWNZXA.js → G57HWBN7.js} +1 -1
- package/dist/cdn/{YOG4QHWC.js → GGUA34Z7.js} +2 -2
- package/dist/cdn/{LWJVEFQ5.js → GLJXWBZU.js} +2 -2
- package/dist/cdn/{ZFVQNIV3.js → GLKWKK5J.js} +2 -2
- package/dist/cdn/{5PWGWHIR.js → GNJUE3VY.js} +2 -2
- package/dist/cdn/{WHIO3FQO.js → H6FE3AIL.js} +2 -2
- package/dist/cdn/{H4UC7K4E.js → HABQTB2X.js} +2 -2
- package/dist/cdn/{QAHMU6RC.js → HDBIEWBY.js} +2 -2
- package/dist/cdn/{TRA7X542.js → HGRHVWKR.js} +2 -2
- package/dist/cdn/{EFHSMHAF.js → I33F74T5.js} +2 -2
- package/dist/cdn/{E5ADEGIT.js → I4RU7Y4O.js} +2 -2
- package/dist/cdn/{55HXIMBO.js → IBEOBGLS.js} +2 -2
- package/dist/cdn/{H7ZXWNKO.js → IJ26UFW4.js} +2 -2
- package/dist/cdn/{LKFOF3K7.js → IXXCUQ2G.js} +2 -2
- package/dist/cdn/{G2PXX25P.js → J6SEJBBZ.js} +2 -2
- package/dist/cdn/JCVT5SXG.js +4 -0
- package/dist/cdn/{PGDEEEHH.js → JE7EIX64.js} +2 -2
- package/dist/cdn/{SLVVWDPK.js → JF4YMOL5.js} +2 -2
- package/dist/cdn/{UYZCSS2V.js → JJGBQZLG.js} +2 -2
- package/dist/cdn/{XNEAKPXB.js → JJZ44QN4.js} +2 -2
- package/dist/cdn/{IIIFNQ7F.js → JMMXJVE2.js} +2 -2
- package/dist/cdn/{ZAQAZNCT.js → JSMIHU7D.js} +2 -2
- package/dist/cdn/{VF254QF2.js → JTGYMPU6.js} +2 -2
- package/dist/cdn/{WV6NMA4J.js → JWKD6UAM.js} +2 -2
- package/dist/cdn/{EDYL7HPP.js → K5FGQMY6.js} +2 -2
- package/dist/cdn/{UWGBB7SJ.js → K7WUPWNZ.js} +2 -2
- package/dist/cdn/KELESZSH.js +4 -0
- package/dist/cdn/{WLFBLXH4.js → KFBF3OI3.js} +2 -2
- package/dist/cdn/{RV362NX4.js → KPKKDVC7.js} +2 -2
- package/dist/cdn/{IYJ77TML.js → L2CJI2M6.js} +2 -2
- package/dist/cdn/{JLVTHJBF.js → LA66FGXH.js} +2 -2
- package/dist/cdn/{T7FM4JD6.js → LEFTNMTC.js} +2 -2
- package/dist/cdn/{VR45PC42.js → LNA3WTDM.js} +2 -2
- package/dist/cdn/{EG242PP3.js → M4EF4E42.js} +2 -2
- package/dist/cdn/{LQQR3AQF.js → M6XDEVOX.js} +2 -2
- package/dist/cdn/{GLSWPO6R.js → MBE6EPJI.js} +2 -2
- package/dist/cdn/{GEPPAFBR.js → MG4LBVDW.js} +2 -2
- package/dist/cdn/{ZXK25NUP.js → MKRXBMC2.js} +1 -1
- package/dist/cdn/MTDLHNDV.js +4 -0
- package/dist/cdn/{6RPQCOWI.js → MURIRK5N.js} +1 -1
- package/dist/cdn/{KSTBGZPT.js → MVRZIRFW.js} +2 -2
- package/dist/cdn/{LCA2TYEZ.js → MXEZNCSB.js} +2 -2
- package/dist/cdn/{JJMEELHM.js → MYVQDGPB.js} +2 -2
- package/dist/cdn/{QQ6B7FB4.js → N6C2ICTA.js} +2 -2
- package/dist/cdn/NPQ643GA.js +4 -0
- package/dist/cdn/{JE2SAKAD.js → O2E2USLJ.js} +2 -2
- package/dist/cdn/OJFCIVFJ.js +4 -0
- package/dist/cdn/{EEG3ZTH7.js → OOCGIQOS.js} +2 -2
- package/dist/cdn/{67LSQGRU.js → OTTAYPX4.js} +2 -2
- package/dist/cdn/OTVIIR6Q.js +4 -0
- package/dist/cdn/{SVNYTZ2E.js → OXF47BYY.js} +2 -2
- package/dist/cdn/{XEWOPYKZ.js → P3I4AP63.js} +2 -2
- package/dist/cdn/{PZIMMOZN.js → P47T7MAD.js} +2 -2
- package/dist/cdn/{BQNWJURN.js → PEB3H656.js} +2 -2
- package/dist/cdn/{ZMACPZ6D.js → PGN435LO.js} +3 -3
- package/dist/cdn/PIZM4KAX.js +4 -0
- package/dist/cdn/{BGPK3K43.js → PN27OQUQ.js} +2 -2
- package/dist/cdn/{5ZNR3CE3.js → PND5INUS.js} +2 -2
- package/dist/cdn/{3V72WFKG.js → PSESYJHZ.js} +2 -2
- package/dist/cdn/{EUZIMXC5.js → Q4AL2FI2.js} +2 -2
- package/dist/cdn/{UCEHEYP3.js → Q4CRFODS.js} +2 -2
- package/dist/cdn/{YSDARCXG.js → Q55NDGAE.js} +2 -2
- package/dist/cdn/Q676ANOA.js +4 -0
- package/dist/cdn/{NJTACGZS.js → Q7TTJI6O.js} +2 -2
- package/dist/cdn/{P3SINDT4.js → QJ63YL2A.js} +2 -2
- package/dist/cdn/{GKAZ2TIK.js → QLJK3Z6A.js} +2 -2
- package/dist/cdn/{H4W6QKJU.js → QSBP5YUL.js} +2 -2
- package/dist/cdn/{IDO6JK4M.js → R56MS6AG.js} +2 -2
- package/dist/cdn/{NEZIL7TY.js → RBO4RPSO.js} +2 -2
- package/dist/cdn/{A33MSS2I.js → RDMJSMOC.js} +2 -2
- package/dist/cdn/{TLIFTU62.js → RER3L5Z2.js} +2 -2
- package/dist/cdn/{SEPEVNES.js → RUCXEN4B.js} +1 -1
- package/dist/cdn/RYLLRGI7.js +4 -0
- package/dist/cdn/{CMXMA5IM.js → RZMEYZJJ.js} +2 -2
- package/dist/cdn/{HZOCJITH.js → SCM6BSJK.js} +1 -1
- package/dist/cdn/{2OV6QYUX.js → SEPYIIBU.js} +2 -2
- package/dist/cdn/{XSHH2JZG.js → SGTNDSIQ.js} +1 -1
- package/dist/cdn/{XLAY7IRE.js → STD2NQXG.js} +1 -1
- package/dist/cdn/{QDBGBNCJ.js → SU7YTPLN.js} +2 -2
- package/dist/cdn/{5NVMXBFF.js → SXGMFAHA.js} +2 -2
- package/dist/cdn/{DT2WRSQY.js → TCE53CWF.js} +2 -2
- package/dist/cdn/{KR6GQLOX.js → TITQYVSI.js} +2 -2
- package/dist/cdn/{4FUAC2GT.js → TOKRRFMO.js} +2 -2
- package/dist/cdn/{7FCONDWZ.js → TS3EACOZ.js} +2 -2
- package/dist/cdn/{S4SXK5KM.js → TTMFJRTP.js} +2 -2
- package/dist/cdn/{HMQOM3V5.js → TVK3UYO2.js} +2 -2
- package/dist/cdn/{COVHNV3T.js → U4LLLLSN.js} +2 -2
- package/dist/cdn/{EMP5JE4T.js → U6WDL7V7.js} +2 -2
- package/dist/cdn/{TFXSKBAP.js → UDONZUBH.js} +2 -2
- package/dist/cdn/{MJSLXMLN.js → UE5RO6JI.js} +2 -2
- package/dist/cdn/{724N2M2P.js → UUCAXGS2.js} +2 -2
- package/dist/cdn/{OJEB6IPM.js → UUMBGMLY.js} +1 -1
- package/dist/cdn/{25X64BXA.js → UUXRKZDN.js} +2 -2
- package/dist/cdn/{DDVIT3TT.js → UVMJBT2F.js} +2 -2
- package/dist/cdn/UX7UGOOT.js +4 -0
- package/dist/cdn/{K5XSAE2D.js → UZAPVU5F.js} +2 -2
- package/dist/cdn/{V2WAZBCQ.js → VKMBX7SY.js} +2 -2
- package/dist/cdn/{2RPF4M2F.js → WAJYLI6N.js} +2 -2
- package/dist/cdn/{ECBC3KB6.js → WDLBQPY3.js} +2 -2
- package/dist/cdn/{ZZVTOYMZ.js → WE5Q5Z4H.js} +2 -2
- package/dist/cdn/{T46NOCI4.js → WFCM3N3G.js} +2 -2
- package/dist/cdn/{7TABBIEO.js → WJSO2DPZ.js} +2 -2
- package/dist/cdn/{CFIV5F2K.js → WLFQV6QS.js} +1 -1
- package/dist/cdn/{XYVICLHW.js → X44GSFEC.js} +2 -2
- package/dist/cdn/{HJAHZKHB.js → X462Z4QP.js} +2 -2
- package/dist/cdn/{SRETHNAO.js → X56K44C6.js} +2 -2
- package/dist/cdn/{UWJVNIFI.js → X5ZFUO2M.js} +2 -2
- package/dist/cdn/{QYQFATN7.js → XCQXSXVV.js} +2 -2
- package/dist/cdn/{CTSLSL6J.js → XPHAPDNZ.js} +2 -2
- package/dist/cdn/{SY62LJ5M.js → XR7N5545.js} +2 -2
- package/dist/cdn/XXUIQGOI.js +4 -0
- package/dist/cdn/{FHR2AZGF.js → XXUJWP5E.js} +2 -2
- package/dist/cdn/{FQONR5NB.js → Y2AXKVUX.js} +2 -2
- package/dist/cdn/{QHBT62WW.js → Y4RASGHA.js} +1 -1
- package/dist/cdn/Y7TXM77C.js +4 -0
- package/dist/cdn/{HLEWL2DQ.js → YF67CHXX.js} +2 -2
- package/dist/cdn/{QE2FS5E5.js → YGMFTUQQ.js} +1 -1
- package/dist/cdn/{SCLAXZDQ.js → YHM2XB34.js} +2 -2
- package/dist/cdn/{ZQUJJC5R.js → YRTC3JMZ.js} +2 -2
- package/dist/cdn/{AOG3QITX.js → YTS2RB6N.js} +2 -2
- package/dist/cdn/{5XGLIHAN.js → YTW6FQW5.js} +2 -2
- package/dist/cdn/YWRNAZTE.js +4 -0
- package/dist/cdn/YZKQ3KIY.js +4 -0
- package/dist/cdn/{47KFNKS5.js → Z46NUVZQ.js} +2 -2
- package/dist/cdn/{ZQLFN5FG.js → ZAFHE7FT.js} +2 -2
- package/dist/cdn/{DJMJ44ZT.js → ZCQ5T2UP.js} +1 -1
- package/dist/cdn/{J37NXPTB.js → ZFQJFQUG.js} +2 -2
- package/dist/cdn/{RWF3FG7R.js → ZS4T7WL2.js} +2 -2
- package/dist/cdn/index.js +2 -2
- package/dist/chunks/AnalysisViewModel.js +148 -137
- package/dist/chunks/action-utils.js +1 -1
- package/dist/chunks/async-utils.js +1 -1
- package/dist/chunks/basemap-gallery-resources.js +1 -1
- package/dist/chunks/chart-utils.js +1 -1
- package/dist/chunks/chartCommon.js +1 -1
- package/dist/chunks/component-utils.js +1 -1
- package/dist/chunks/constants.js +1 -1
- package/dist/chunks/createCloseEvent.js +1 -1
- package/dist/chunks/esri-main.js +1 -1
- package/dist/chunks/feature-utils.js +1 -1
- package/dist/chunks/globalCss.js +1 -1
- package/dist/chunks/handle.js +1 -1
- package/dist/chunks/heading.js +1 -1
- package/dist/chunks/layer-list.js +1 -1
- package/dist/chunks/legacyIcon.js +1 -1
- package/dist/chunks/maybe.js +1 -1
- package/dist/chunks/measurementUtils.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/screenLocation.js +1 -1
- package/dist/chunks/slots.js +1 -1
- package/dist/chunks/svgUtils.js +1 -1
- package/dist/chunks/time-utils.js +1 -1
- package/dist/chunks/univariateUtils.js +1 -1
- package/dist/chunks/useArcgisViewReadyError.js +1 -1
- package/dist/chunks/useHandles.js +1 -1
- package/dist/chunks/useT9n.js +1 -1
- package/dist/chunks/useView.js +1 -1
- package/dist/chunks/useViewModel.js +1 -1
- package/dist/chunks/useWidget.js +1 -1
- package/dist/chunks/utils.js +1 -1
- package/dist/chunks/utils2.js +1 -1
- package/dist/chunks/visible-element.js +1 -1
- package/dist/components/arcgis-area-measurement-2d/customElement.d.ts +6 -0
- package/dist/components/arcgis-area-measurement-2d/customElement.js +41 -41
- package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +6 -0
- package/dist/components/arcgis-area-measurement-3d/customElement.js +15 -15
- package/dist/components/arcgis-attachments/customElement.d.ts +1 -1
- package/dist/components/arcgis-attachments/customElement.js +1 -1
- package/dist/components/arcgis-basemap-gallery/customElement.js +1 -1
- package/dist/components/arcgis-basemap-gallery-item/customElement.js +1 -1
- package/dist/components/arcgis-basemap-layer-list/customElement.d.ts +2 -2
- package/dist/components/arcgis-basemap-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-basemap-toggle/customElement.js +1 -1
- package/dist/components/arcgis-bookmarks/customElement.js +2 -2
- package/dist/components/arcgis-building-explorer/customElement.d.ts +1 -1
- package/dist/components/arcgis-building-explorer/customElement.js +1 -1
- package/dist/components/arcgis-catalog-layer-list/customElement.d.ts +2 -2
- package/dist/components/arcgis-catalog-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-color-select/customElement.js +1 -1
- package/dist/components/arcgis-compass/customElement.d.ts +2 -0
- package/dist/components/arcgis-compass/customElement.js +21 -21
- package/dist/components/arcgis-coordinate-conversion/customElement.js +1 -1
- package/dist/components/arcgis-daylight/customElement.js +1 -1
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.d.ts +6 -0
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +15 -15
- package/dist/components/arcgis-directional-pad/customElement.js +1 -1
- package/dist/components/arcgis-directions/customElement.d.ts +1 -1
- package/dist/components/arcgis-directions/customElement.js +1 -1
- package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +6 -0
- package/dist/components/arcgis-distance-measurement-2d/customElement.js +17 -17
- package/dist/components/arcgis-editor/customElement.d.ts +1 -1
- package/dist/components/arcgis-editor/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile/customElement.d.ts +7 -1
- package/dist/components/arcgis-elevation-profile/customElement.js +14 -12
- package/dist/components/arcgis-elevation-profile-legend/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile-legend-item/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile-settings/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile-statistics/customElement.js +1 -1
- package/dist/components/arcgis-expand/customElement.d.ts +2 -8
- package/dist/components/arcgis-expand/customElement.js +34 -33
- package/dist/components/arcgis-expand/index.d.ts +0 -1
- package/dist/components/arcgis-expand/index.js +0 -1
- package/dist/components/arcgis-feature/customElement.js +1 -1
- package/dist/components/arcgis-feature-attachments/customElement.js +1 -1
- package/dist/components/arcgis-feature-content/customElement.js +1 -1
- package/dist/components/arcgis-feature-element-info/customElement.js +1 -1
- package/dist/components/arcgis-feature-expression/customElement.js +1 -1
- package/dist/components/arcgis-feature-fields/customElement.js +1 -1
- package/dist/components/arcgis-feature-form/customElement.d.ts +2 -2
- package/dist/components/arcgis-feature-form/customElement.js +1 -1
- package/dist/components/arcgis-feature-media/customElement.js +1 -1
- package/dist/components/arcgis-feature-relationship/customElement.js +1 -1
- package/dist/components/arcgis-feature-table/customElement.d.ts +2 -2
- package/dist/components/arcgis-feature-table/customElement.js +1 -1
- package/dist/components/arcgis-feature-templates/customElement.d.ts +2 -2
- package/dist/components/arcgis-feature-templates/customElement.js +1 -1
- package/dist/components/arcgis-feature-utility-network-association-list/customElement.js +1 -1
- package/dist/components/arcgis-feature-utility-network-associations/customElement.js +1 -1
- package/dist/components/arcgis-features/customElement.d.ts +1 -1
- package/dist/components/arcgis-features/customElement.js +1 -1
- package/dist/components/arcgis-floor-filter/customElement.d.ts +1 -1
- package/dist/components/arcgis-floor-filter/customElement.js +1 -1
- package/dist/components/arcgis-fullscreen/customElement.d.ts +2 -0
- package/dist/components/arcgis-fullscreen/customElement.js +19 -19
- package/dist/components/arcgis-grid-controls/customElement.js +1 -1
- package/dist/components/arcgis-histogram-range-slider/customElement.d.ts +1 -1
- package/dist/components/arcgis-histogram-range-slider/customElement.js +1 -1
- package/dist/components/arcgis-home/customElement.d.ts +2 -0
- package/dist/components/arcgis-home/customElement.js +17 -17
- package/dist/components/arcgis-home/index.d.ts +0 -1
- package/dist/components/arcgis-home/index.js +0 -1
- package/dist/components/arcgis-labeled-switch/customElement.js +1 -1
- package/dist/components/arcgis-layer-list/customElement.d.ts +2 -2
- package/dist/components/arcgis-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-layer-list-item/customElement.js +1 -1
- package/dist/components/arcgis-legend/customElement.js +1 -1
- package/dist/components/arcgis-legend-card-color-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-card-element/customElement.js +1 -1
- package/dist/components/arcgis-legend-card-size-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-card-univariate-above-and-below-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-card-univariate-color-size-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-card-view/customElement.js +1 -1
- package/dist/components/arcgis-legend-classic-color-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-classic-element/customElement.js +1 -1
- package/dist/components/arcgis-legend-classic-size-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-classic-univariate-above-and-below-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-classic-univariate-color-size-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-classic-view/customElement.js +1 -1
- package/dist/components/arcgis-legend-relationship-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-spike-ramp/customElement.js +1 -1
- package/dist/components/arcgis-line-of-sight/customElement.d.ts +6 -0
- package/dist/components/arcgis-line-of-sight/customElement.js +11 -11
- package/dist/components/arcgis-link-chart/customElement.d.ts +11 -3
- package/dist/components/arcgis-link-chart/customElement.js +96 -94
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +1 -1
- package/dist/components/arcgis-locate/customElement.d.ts +2 -0
- package/dist/components/arcgis-locate/customElement.js +30 -30
- package/dist/components/arcgis-map/customElement.d.ts +20 -2
- package/dist/components/arcgis-map/customElement.js +1 -1
- package/dist/components/arcgis-measurement/customElement.js +1 -1
- package/dist/components/arcgis-measurement-content/customElement.js +1 -1
- package/dist/components/arcgis-navigation-toggle/customElement.d.ts +2 -0
- package/dist/components/arcgis-navigation-toggle/customElement.js +14 -14
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.d.ts +1 -1
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +1 -1
- package/dist/components/arcgis-placement/customElement.js +1 -1
- package/dist/components/arcgis-popup/customElement.d.ts +1 -1
- package/dist/components/arcgis-popup/customElement.js +1 -1
- package/dist/components/arcgis-presentation/customElement.js +1 -1
- package/dist/components/arcgis-print/customElement.js +1 -1
- package/dist/components/arcgis-print/utils.d.ts +1 -1
- package/dist/components/arcgis-print-custom-text-elements/customElement.js +1 -1
- package/dist/components/arcgis-print-dpi-input/customElement.js +1 -1
- package/dist/components/arcgis-print-export-button/customElement.js +1 -1
- package/dist/components/arcgis-print-exports-panel/customElement.js +1 -1
- package/dist/components/arcgis-print-format-select/customElement.js +1 -1
- package/dist/components/arcgis-print-layout-advanced-options/customElement.js +1 -1
- package/dist/components/arcgis-print-layout-panel/customElement.js +1 -1
- package/dist/components/arcgis-print-main-panel/customElement.js +1 -1
- package/dist/components/arcgis-print-map-only-advanced-options/customElement.js +1 -1
- package/dist/components/arcgis-print-map-only-panel/customElement.js +1 -1
- package/dist/components/arcgis-print-out-spatial-reference-input/customElement.js +1 -1
- package/dist/components/arcgis-print-preview-input/customElement.js +1 -1
- package/dist/components/arcgis-print-scale-section/customElement.js +1 -1
- package/dist/components/arcgis-print-template-select/customElement.js +1 -1
- package/dist/components/arcgis-print-template-selector/customElement.js +1 -1
- package/dist/components/arcgis-scale-bar/customElement.js +1 -1
- package/dist/components/arcgis-scale-range-slider/customElement.d.ts +1 -1
- package/dist/components/arcgis-scale-range-slider/customElement.js +1 -1
- package/dist/components/arcgis-scene/customElement.d.ts +4 -4
- package/dist/components/arcgis-scene/customElement.js +1 -1
- package/dist/components/arcgis-search/customElement.js +1 -1
- package/dist/components/arcgis-search-result-renderer/customElement.js +1 -1
- package/dist/components/arcgis-shadow-cast/ShadowCastViewModel.d.ts +0 -2
- package/dist/components/arcgis-shadow-cast/customElement.d.ts +1 -1
- package/dist/components/arcgis-shadow-cast/customElement.js +5 -14
- package/dist/components/arcgis-shadow-cast-discrete-config/customElement.js +1 -1
- package/dist/components/arcgis-shadow-cast-min-duration-config/customElement.js +1 -1
- package/dist/components/arcgis-shadow-cast-total-duration-config/customElement.js +1 -1
- package/dist/components/arcgis-sketch/customElement.d.ts +1 -1
- package/dist/components/arcgis-sketch/customElement.js +1 -1
- package/dist/components/arcgis-slice/customElement.d.ts +6 -0
- package/dist/components/arcgis-slice/customElement.js +15 -15
- package/dist/components/arcgis-spinner/customElement.js +1 -1
- package/dist/components/arcgis-swipe/customElement.js +1 -1
- package/dist/components/arcgis-table-list/customElement.d.ts +2 -2
- package/dist/components/arcgis-table-list/customElement.js +1 -1
- package/dist/components/arcgis-time-slider/customElement.d.ts +1 -1
- package/dist/components/arcgis-time-slider/customElement.js +1 -1
- package/dist/components/arcgis-time-zone-label/customElement.js +12 -12
- package/dist/components/arcgis-track/customElement.d.ts +2 -0
- package/dist/components/arcgis-track/customElement.js +13 -13
- package/dist/components/arcgis-unit-select/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-association-list/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-associations/customElement.d.ts +1 -1
- package/dist/components/arcgis-utility-network-associations/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-subnetwork-info/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace-analysis/customElement.d.ts +42 -2
- package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +21 -18
- package/dist/components/arcgis-utility-network-trace-inputs/customElement.d.ts +18 -4
- package/dist/components/arcgis-utility-network-trace-inputs/customElement.js +50 -50
- package/dist/components/arcgis-utility-network-trace-location/customElement.d.ts +21 -1
- package/dist/components/arcgis-utility-network-trace-location/customElement.js +71 -65
- package/dist/components/arcgis-utility-network-trace-location-list/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace-results/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-validate-topology/customElement.js +1 -1
- package/dist/components/arcgis-value-picker/customElement.d.ts +1 -1
- package/dist/components/arcgis-value-picker/customElement.js +1 -1
- package/dist/components/arcgis-version-management/customElement.js +1 -1
- package/dist/components/arcgis-version-management-service-item/customElement.js +1 -1
- package/dist/components/arcgis-version-management-version-list/customElement.js +1 -1
- package/dist/components/arcgis-version-management-version-properties/customElement.js +1 -1
- package/dist/components/arcgis-video/customElement.d.ts +1 -1
- package/dist/components/arcgis-video/customElement.js +1 -1
- package/dist/components/arcgis-video-player/customElement.js +1 -1
- package/dist/components/arcgis-video-player-action-bar/customElement.js +1 -1
- package/dist/components/arcgis-video-player-actions-group/customElement.js +1 -1
- package/dist/components/arcgis-video-player-controls-group/customElement.js +1 -1
- package/dist/components/arcgis-video-player-metadata/customElement.js +1 -1
- package/dist/components/arcgis-video-player-settings/customElement.js +1 -1
- package/dist/components/arcgis-video-player-slider/customElement.js +1 -1
- package/dist/components/arcgis-volume-measurement/customElement.d.ts +11 -4
- package/dist/components/arcgis-volume-measurement/customElement.js +17 -17
- package/dist/components/arcgis-weather/customElement.js +1 -1
- package/dist/components/arcgis-zoom/customElement.d.ts +2 -0
- package/dist/components/arcgis-zoom/customElement.js +8 -8
- package/dist/docs/api.json +1028 -318
- package/dist/docs/docs.json +652 -89
- package/dist/docs/vscode.html-custom-data.json +156 -9
- package/dist/docs/web-types.json +294 -44
- package/dist/index.d.ts +2 -0
- package/dist/index.js +1 -1
- package/dist/loader.js +20 -20
- package/dist/support/AnalysisViewModel.d.ts +101 -35
- package/dist/types/lumina.d.ts +21 -19
- package/dist/types/preact.d.ts +21 -19
- package/dist/types/preact10.d.ts +21 -19
- package/dist/types/react.d.ts +21 -19
- package/dist/types/stencil.d.ts +21 -19
- package/package.json +3 -3
- package/dist/cdn/2XZDHGFY.js +0 -4
- package/dist/cdn/3RKITOWL.js +0 -4
- package/dist/cdn/4WWVGZYW.js +0 -4
- package/dist/cdn/6XSSLDAH.js +0 -4
- package/dist/cdn/A447YPEL.js +0 -4
- package/dist/cdn/ARVZDHWN.js +0 -4
- package/dist/cdn/B5Y47WQN.js +0 -4
- package/dist/cdn/BQFCW32I.js +0 -4
- package/dist/cdn/F6EPH7E3.js +0 -4
- package/dist/cdn/GXO3FWW2.js +0 -4
- package/dist/cdn/HIQFUQOV.js +0 -4
- package/dist/cdn/IR2CG6SQ.js +0 -4
- package/dist/cdn/JTSZIJR7.js +0 -4
- package/dist/cdn/KKQAM63L.js +0 -4
- package/dist/cdn/Q5RZYGL5.js +0 -4
- package/dist/cdn/UZLP7W75.js +0 -4
- package/dist/cdn/WJLTANIS.js +0 -4
- package/dist/cdn/Y2IAH2XC.js +0 -4
|
@@ -6,7 +6,7 @@ import { css as g } from "lit";
|
|
|
6
6
|
import { logDeprecatedProperty as p } from "@arcgis/toolkit/log";
|
|
7
7
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
8
8
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
9
|
-
v5.0.0-next.
|
|
9
|
+
v5.0.0-next.94 */
|
|
10
10
|
const h = g`@keyframes esri-basemap-slide{0%{opacity:0;margin-top:0;margin-left:0}75%{opacity:0;margin-top:0;margin-left:0}to{opacity:1;margin-top:5px;margin-left:5px}}@keyframes esri-docking-animation{0%{opacity:0}25%{opacity:0}to{opacity:1}}@keyframes popup-intro-animation-down{0%{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translate(0)}}@keyframes popup-intro-animation-up{0%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translate(0)}}@supports (-ms-ime-align: auto){.esri-slider__anchor:focus{outline:1px dotted #000}}@keyframes esri-spinner--start-animation{0%{opacity:0;transform:scale(0)}to{opacity:1;transform:scale(1)}}@keyframes esri-spinner--finish-animation{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(0)}}@keyframes esri-spinner--rotate-animation{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@media(prefers-reduced-motion){.esri-utility-network-trace__reset-prompt{animation:none!important}}@media(prefers-reduced-motion){.esri-popup--aligned-top-center,.esri-popup--aligned-top-left,.esri-popup--aligned-top-right,.esri-popup--aligned-bottom-center,.esri-popup--aligned-bottom-left,.esri-popup--aligned-bottom-right,.esri-popup--is-docked{animation:none!important}}@media(prefers-reduced-motion:reduce){.esri-fov-overlay{animation:none!important}}@keyframes esri-fade-in-down{0%{opacity:0;transform:translateY(-5px)}25%{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translate(0)}}@keyframes esri-fade-in-up{0%{opacity:0;transform:translateY(5px)}25%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translate(0)}}@keyframes esri-fade-in{0%{opacity:0}25%{opacity:0}to{opacity:1}}@keyframes esri-fade-in-scale{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}@keyframes looping-progresss-bar-ani{0%{width:0;left:0}20%{width:20%;left:0}80%{width:20%;left:80%}to{width:0;left:100%}}@keyframes esri-rotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes panel-advance{0%{opacity:0;transform:translate(50px) scale(.99)}to{opacity:1;transform:translate(0) scale(1)}}@keyframes panel-retreat{0%{opacity:0;transform:translate(-50px) scale(.99)}to{opacity:1;transform:translate(0) scale(1)}}@keyframes panel-advance--rtl{0%{opacity:0;transform:translate(-50px) scale(.99)}to{opacity:1;transform:translate(0) scale(1)}}@keyframes panel-retreat--rtl{0%{opacity:0;transform:translate(50px) scale(.99)}to{opacity:1;transform:translate(0) scale(1)}}.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}.esri-widget{--esri-widget-padding-x: 15px;--esri-widget-padding-y: var(--calcite-spacing-md);--esri-widget-padding: var(--esri-widget-padding-y) var(--esri-widget-padding-x);box-sizing:border-box;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget *,.esri-widget :before,.esri-widget :after{box-sizing:inherit}.esri-widget.esri-widget--disabled>*{opacity:.4;pointer-events:none}.esri-widget.esri-widget--compact{--esri-widget-padding-y: 0;--esri-widget-padding-x: 0}.esri-widget__anchor{color:var(--calcite-color-text-2)}.esri-widget__anchor:hover{color:var(--calcite-color-text-3)}.esri-widget__anchor:hover,.esri-widget__anchor:focus{text-decoration:underline}.esri-widget__anchor--disabled{opacity:.4;pointer-events:none}.esri-widget__header{background-color:var(--calcite-color-foreground-1);flex:1 0 100%;justify-content:space-between;align-items:center;width:100%;min-height:48px;padding:12px 0 12px 15px;display:flex}.esri-widget__header .esri-widget__heading{width:calc(100% - 48px);text-align:initial;color:var(--calcite-color-text-1);align-items:center;margin:0;padding:0;display:flex}.esri-widget__header-button{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);border:none;flex:0 0 48px;justify-content:center;align-self:stretch;align-items:center;width:48px;padding:0;display:flex}.esri-widget__footer{background-color:var(--calcite-color-foreground-1);justify-content:center;align-items:center;width:100%;min-height:48px;display:flex}.esri-widget__footer-pagination{color:var(--calcite-color-text-2);justify-content:space-between;align-items:center;display:flex}.esri-widget__footer-pagination-previous-button,.esri-widget__footer-pagination-next-button{cursor:pointer;background-color:var(--calcite-color-foreground-1);border:0;margin:0 7px;padding:12px 15px;transition:background-color .125s ease-in-out}.esri-widget__footer-pagination-previous-button:hover,.esri-widget__footer-pagination-previous-button:focus,.esri-widget__footer-pagination-next-button:hover,.esri-widget__footer-pagination-next-button:focus{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1)}.esri-menu{visibility:hidden;z-index:1;background-clip:padding;background-color:var(--calcite-color-foreground-1);background-clip:padding-box;width:100%;max-height:0;margin:2px 0 0;padding:0;font-size:var(--calcite-font-size);line-height:var(--calcite-spacing-xl);position:absolute;top:100%;left:0;overflow:hidden;box-shadow:0 1px 2px #0000004d}.esri-menu .esri-menu__header{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-inverse);padding:6px 12px}.esri-menu__list{margin:0;padding:0;list-style:none}.esri-menu__list-item{cursor:pointer;border-top:1px solid #adadad4d;border-left:3px solid #0000;padding:.8em 1em}.esri-menu__list-item [class^=esri-icon-],.esri-menu__list-item [class*=" esri-icon-"]{padding-right:2.8px}.esri-menu__list-item:first-child{border-top:none}.esri-menu__list-item--focus,.esri-menu__list-item:hover,.esri-menu__list-item:focus{background-color:var(--calcite-color-foreground-1)}.esri-menu__list-item:active{background-color:var(--calcite-color-foreground-current)}.esri-menu__list-item--active,.esri-menu__list-item--active:hover,.esri-menu__list-item--active:focus{background-color:var(--calcite-color-foreground-1);border-left-color:var(--calcite-color-brand)}.esri-widget__table{border-collapse:collapse;color:var(--calcite-color-text-1);border:none;width:100%;line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget__table tr:nth-child(odd){background-color:var(--calcite-color-transparent)}.esri-widget__table tr:nth-child(2n){background-color:var(--calcite-color-transparent-press)}.esri-widget__table tr a{color:var(--calcite-color-text-2)}.esri-widget__table tr a:hover,.esri-widget__table tr a:focus{color:var(--calcite-color-text-1)}.esri-widget__table tr td,.esri-widget__table tr th{vertical-align:top;word-break:break-word;padding:.5em .7em;font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular)}.esri-widget__table tr th{text-align:left;border-right:3px solid #0000000d;width:50%}.esri-widget__table tr td{width:50%}.esri-input{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1);border:1px solid #959595;font-size:var(--calcite-font-size)}.esri-input::-ms-clear{display:none}.esri-input::placeholder{opacity:1;color:var(--calcite-color-text-2)}.esri-input:placeholder-shown{text-overflow:ellipsis}.esri-input[type=text],.esri-input[type=password],.esri-input[type=number]{height:32px;padding:0 .5em}calcite-combobox.esri-input{border:none}.esri-widget__content--empty{text-align:center;color:var(--calcite-color-border-input);flex-flow:column wrap;align-items:center;padding:18px 22px;display:flex}.esri-widget__content--empty h1.esri-widget__heading,.esri-widget__content--empty h2.esri-widget__heading,.esri-widget__content--empty h3.esri-widget__heading,.esri-widget__content--empty h4.esri-widget__heading,.esri-widget__content--empty h5.esri-widget__heading{font-weight:var(--calcite-font-weight-regular)}.esri-widget__content-illustration--empty{width:128px;padding:1rem 0}.esri-widget__content-icon--empty{width:32px;padding:.5rem 0}.esri-select{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background:var(--calcite-color-foreground-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -8 32 32' width='32' height='32'%3E%3Cpath d='M8 11.207l-4-4V5.793l4 4 4-4v1.414z' fill='%23adadad' fillrule='nonzero'/%3E%3C/svg%3E") 100% no-repeat;border:1px solid #959595;border-radius:0;width:100%;height:32px;margin:0;padding:0 .5em;font-family:inherit;font-size:.85em;display:block}.esri-select[disabled]{cursor:auto}.esri-select::-ms-expand{display:none}.esri-disabled a,.esri-disabled [role=menu],.esri-disabled [role=checkbox],.esri-disabled [class^=esri-icon-],.esri-disabled [class*=" esri-icon-"]{color:var(--calcite-color-text-3)}.keynav-mode .esri-widget:focus,.keynav-mode .esri-widget :focus{z-index:1;outline-offset:2px;outline:2px solid #adadad}.esri-widget__loader-animation{border:.15em solid #adadad4d;border-top-color:var(--calcite-color-border-input);border-radius:100%;width:1em;height:1em;font-size:var(--calcite-font-size-md);animation:1.25s linear infinite esri-rotate;display:block;transform:translateZ(0)}:dir(rtl) .esri-widget__table th{text-align:right;border-left:3px solid #0000000d;border-right:none}:dir(rtl) .esri-select{background-position:0}:dir(rtl) .esri-menu__list-item{border-left:none;border-right:3px solid #0000}:dir(rtl) .esri-menu__list-item [class^=esri-icon-],:dir(rtl) .esri-menu__list-item [class*=" esri-icon-"]{padding-left:2px;padding-right:0}:dir(rtl) .esri-menu__list-item--active{border-right-color:var(--calcite-color-brand)}.esri-icon-font-fallback-text{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.esri-rotating{animation:1.25s linear infinite esri-rotate;transform:translateZ(0)}.esri-clearfix:before,.esri-clearfix:after{content:" ";display:table}.esri-clearfix:after{clear:both}.esri-interactive{cursor:pointer}.esri-hidden{display:none!important}.esri-invisible{visibility:hidden!important}.esri-offscreen{position:absolute;top:-999em;left:-999em}.esri-match-height{flex-direction:column;flex:auto;display:flex;overflow:hidden}:host{max-width:fit-content}.esri-utility-network-association-list__feature-observer{z-index:2;text-align:center;position:relative;bottom:20px}.esri-utility-network-association-list__filter-container{z-index:1;margin-bottom:var(--calcite-spacing-md);top:var(--calcite-spacing-md)}.esri-utility-network-association-list__limit-notice-container{margin-bottom:var(--calcite-spacing-md)}.esri-utility-network-association-list__loading-container{justify-content:center;width:100%;padding:var(--calcite-spacing-md) 0;display:flex}.esri-un-associations__action{height:48px}.esri-un-associations__action-refresh{--calcite-color-icon-color: var(--calcite-color-brand)}.esri-un-associations__block-content{border-bottom:none;margin:0}.esri-un-associations__block-section-settings{border-style:none;padding:0}.esri-un-associations__combobox,.esri-un-associations__combobox-item{max-width:300px}.esri-un-associations__div-controls-main{background:var(--calcite-color-foreground-1);gap:.5rem;padding:.5rem 0;display:grid}.esri-un-associations__div-controls-symbol-picker{margin-top:.75rem}.esri-un-associations__dropdown{border:1px solid var(--calcite-color-border-input)}.esri-un-associations__dropdown-item-line-cap{background-position:50%;background-repeat:no-repeat;height:10px}.esri-un-associations__dropdown-item-line-pattern{height:3px}.esri-un-associations__dropdown-selected-item-line-cap{background-position:50%;background-repeat:no-repeat;background-size:275px 10px;width:100%;height:10px}.esri-un-associations__dropdown-selected-item-line-pattern{width:100%;height:3px}.esri-un-associations__dropdown-trigger{align-items:center;width:100%;height:24px;margin:0 6px;display:flex}.esri-un-associations__label{height:1rem}.esri-un-associations__label-and-combobox,.esri-un-associations__label-and-slider{flex-direction:column;display:flex}.esri-un-associations__label-and-toggle{width:inherit;flex-direction:row;justify-content:space-between;padding-right:.25rem;display:flex}.esri-un-associations__panel{max-height:calc(100vh - 48px - .5rem)}.esri-un-associations__slider{padding:0 .5rem}.esri-un-associations__status-icon-container{width:48px;height:48px}.esri-un-associations__status-icon-warning{--calcite-color-icon-color: var(--calcite-color-status-warning);padding:16px}.esri-un-associations__switch{align-self:center;padding:.5rem}.esri-un-associations__switch-container{width:48px;height:48px;display:flex}.esri-un-associations__widget-container{border-bottom:none;width:350px;margin:0}`, m = d(a);
|
|
11
11
|
class u extends l {
|
|
12
12
|
constructor() {
|
|
@@ -5,7 +5,7 @@ import { u } from "../../chunks/useT9n.js";
|
|
|
5
5
|
import { log as s, composeMissingPropertyMessage as n } from "@arcgis/toolkit/log";
|
|
6
6
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
7
7
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
8
|
-
v5.0.0-next.
|
|
8
|
+
v5.0.0-next.94 */
|
|
9
9
|
const m = c`.subnetwork-details{border-radius:var(--calcite-border-radius);border:solid 1px var(--calcite-color-border-3)}.key-value-pair{padding:var(--calcite-spacing-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)}`;
|
|
10
10
|
class g extends d {
|
|
11
11
|
constructor() {
|
|
@@ -7,7 +7,7 @@ import { m as s } from "../../chunks/useWidget.js";
|
|
|
7
7
|
import { css as n } from "lit";
|
|
8
8
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
9
9
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
10
|
-
v5.0.0-next.
|
|
10
|
+
v5.0.0-next.94 */
|
|
11
11
|
const l = n`@keyframes esri-basemap-slide{0%{opacity:0;margin-top:0;margin-left:0}75%{opacity:0;margin-top:0;margin-left:0}to{opacity:1;margin-top:5px;margin-left:5px}}@keyframes esri-docking-animation{0%{opacity:0}25%{opacity:0}to{opacity:1}}@keyframes popup-intro-animation-down{0%{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translate(0)}}@keyframes popup-intro-animation-up{0%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translate(0)}}@supports (-ms-ime-align: auto){.esri-slider__anchor:focus{outline:1px dotted #000}}@keyframes esri-spinner--start-animation{0%{opacity:0;transform:scale(0)}to{opacity:1;transform:scale(1)}}@keyframes esri-spinner--finish-animation{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(0)}}@keyframes esri-spinner--rotate-animation{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@media(prefers-reduced-motion){.esri-utility-network-trace__reset-prompt{animation:none!important}}@media(prefers-reduced-motion){.esri-popup--aligned-top-center,.esri-popup--aligned-top-left,.esri-popup--aligned-top-right,.esri-popup--aligned-bottom-center,.esri-popup--aligned-bottom-left,.esri-popup--aligned-bottom-right,.esri-popup--is-docked{animation:none!important}}@media(prefers-reduced-motion:reduce){.esri-fov-overlay{animation:none!important}}@keyframes esri-fade-in-down{0%{opacity:0;transform:translateY(-5px)}25%{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translate(0)}}@keyframes esri-fade-in-up{0%{opacity:0;transform:translateY(5px)}25%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translate(0)}}@keyframes esri-fade-in{0%{opacity:0}25%{opacity:0}to{opacity:1}}@keyframes esri-fade-in-scale{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}@keyframes looping-progresss-bar-ani{0%{width:0;left:0}20%{width:20%;left:0}80%{width:20%;left:80%}to{width:0;left:100%}}@keyframes esri-rotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes panel-advance{0%{opacity:0;transform:translate(50px) scale(.99)}to{opacity:1;transform:translate(0) scale(1)}}@keyframes panel-retreat{0%{opacity:0;transform:translate(-50px) scale(.99)}to{opacity:1;transform:translate(0) scale(1)}}@keyframes panel-advance--rtl{0%{opacity:0;transform:translate(-50px) scale(.99)}to{opacity:1;transform:translate(0) scale(1)}}@keyframes panel-retreat--rtl{0%{opacity:0;transform:translate(50px) scale(.99)}to{opacity:1;transform:translate(0) scale(1)}}.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}.esri-widget{--esri-widget-padding-x: 15px;--esri-widget-padding-y: var(--calcite-spacing-md);--esri-widget-padding: var(--esri-widget-padding-y) var(--esri-widget-padding-x);box-sizing:border-box;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget *,.esri-widget :before,.esri-widget :after{box-sizing:inherit}.esri-widget.esri-widget--disabled>*{opacity:.4;pointer-events:none}.esri-widget.esri-widget--compact{--esri-widget-padding-y: 0;--esri-widget-padding-x: 0}.esri-widget__anchor{color:var(--calcite-color-text-2)}.esri-widget__anchor:hover{color:var(--calcite-color-text-3)}.esri-widget__anchor:hover,.esri-widget__anchor:focus{text-decoration:underline}.esri-widget__anchor--disabled{opacity:.4;pointer-events:none}.esri-widget__header{background-color:var(--calcite-color-foreground-1);flex:1 0 100%;justify-content:space-between;align-items:center;width:100%;min-height:48px;padding:12px 0 12px 15px;display:flex}.esri-widget__header .esri-widget__heading{width:calc(100% - 48px);text-align:initial;color:var(--calcite-color-text-1);align-items:center;margin:0;padding:0;display:flex}.esri-widget__header-button{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);border:none;flex:0 0 48px;justify-content:center;align-self:stretch;align-items:center;width:48px;padding:0;display:flex}.esri-widget__footer{background-color:var(--calcite-color-foreground-1);justify-content:center;align-items:center;width:100%;min-height:48px;display:flex}.esri-widget__footer-pagination{color:var(--calcite-color-text-2);justify-content:space-between;align-items:center;display:flex}.esri-widget__footer-pagination-previous-button,.esri-widget__footer-pagination-next-button{cursor:pointer;background-color:var(--calcite-color-foreground-1);border:0;margin:0 7px;padding:12px 15px;transition:background-color .125s ease-in-out}.esri-widget__footer-pagination-previous-button:hover,.esri-widget__footer-pagination-previous-button:focus,.esri-widget__footer-pagination-next-button:hover,.esri-widget__footer-pagination-next-button:focus{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1)}.esri-menu{visibility:hidden;z-index:1;background-clip:padding;background-color:var(--calcite-color-foreground-1);background-clip:padding-box;width:100%;max-height:0;margin:2px 0 0;padding:0;font-size:var(--calcite-font-size);line-height:var(--calcite-spacing-xl);position:absolute;top:100%;left:0;overflow:hidden;box-shadow:0 1px 2px #0000004d}.esri-menu .esri-menu__header{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-inverse);padding:6px 12px}.esri-menu__list{margin:0;padding:0;list-style:none}.esri-menu__list-item{cursor:pointer;border-top:1px solid #adadad4d;border-left:3px solid #0000;padding:.8em 1em}.esri-menu__list-item [class^=esri-icon-],.esri-menu__list-item [class*=" esri-icon-"]{padding-right:2.8px}.esri-menu__list-item:first-child{border-top:none}.esri-menu__list-item--focus,.esri-menu__list-item:hover,.esri-menu__list-item:focus{background-color:var(--calcite-color-foreground-1)}.esri-menu__list-item:active{background-color:var(--calcite-color-foreground-current)}.esri-menu__list-item--active,.esri-menu__list-item--active:hover,.esri-menu__list-item--active:focus{background-color:var(--calcite-color-foreground-1);border-left-color:var(--calcite-color-brand)}.esri-widget__table{border-collapse:collapse;color:var(--calcite-color-text-1);border:none;width:100%;line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget__table tr:nth-child(odd){background-color:var(--calcite-color-transparent)}.esri-widget__table tr:nth-child(2n){background-color:var(--calcite-color-transparent-press)}.esri-widget__table tr a{color:var(--calcite-color-text-2)}.esri-widget__table tr a:hover,.esri-widget__table tr a:focus{color:var(--calcite-color-text-1)}.esri-widget__table tr td,.esri-widget__table tr th{vertical-align:top;word-break:break-word;padding:.5em .7em;font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular)}.esri-widget__table tr th{text-align:left;border-right:3px solid #0000000d;width:50%}.esri-widget__table tr td{width:50%}.esri-input{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1);border:1px solid #959595;font-size:var(--calcite-font-size)}.esri-input::-ms-clear{display:none}.esri-input::placeholder{opacity:1;color:var(--calcite-color-text-2)}.esri-input:placeholder-shown{text-overflow:ellipsis}.esri-input[type=text],.esri-input[type=password],.esri-input[type=number]{height:32px;padding:0 .5em}calcite-combobox.esri-input{border:none}.esri-widget__content--empty{text-align:center;color:var(--calcite-color-border-input);flex-flow:column wrap;align-items:center;padding:18px 22px;display:flex}.esri-widget__content--empty h1.esri-widget__heading,.esri-widget__content--empty h2.esri-widget__heading,.esri-widget__content--empty h3.esri-widget__heading,.esri-widget__content--empty h4.esri-widget__heading,.esri-widget__content--empty h5.esri-widget__heading{font-weight:var(--calcite-font-weight-regular)}.esri-widget__content-illustration--empty{width:128px;padding:1rem 0}.esri-widget__content-icon--empty{width:32px;padding:.5rem 0}.esri-select{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background:var(--calcite-color-foreground-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -8 32 32' width='32' height='32'%3E%3Cpath d='M8 11.207l-4-4V5.793l4 4 4-4v1.414z' fill='%23adadad' fillrule='nonzero'/%3E%3C/svg%3E") 100% no-repeat;border:1px solid #959595;border-radius:0;width:100%;height:32px;margin:0;padding:0 .5em;font-family:inherit;font-size:.85em;display:block}.esri-select[disabled]{cursor:auto}.esri-select::-ms-expand{display:none}.esri-disabled a,.esri-disabled [role=menu],.esri-disabled [role=checkbox],.esri-disabled [class^=esri-icon-],.esri-disabled [class*=" esri-icon-"]{color:var(--calcite-color-text-3)}.keynav-mode .esri-widget:focus,.keynav-mode .esri-widget :focus{z-index:1;outline-offset:2px;outline:2px solid #adadad}.esri-widget__loader-animation{border:.15em solid #adadad4d;border-top-color:var(--calcite-color-border-input);border-radius:100%;width:1em;height:1em;font-size:var(--calcite-font-size-md);animation:1.25s linear infinite esri-rotate;display:block;transform:translateZ(0)}:dir(rtl) .esri-widget__table th{text-align:right;border-left:3px solid #0000000d;border-right:none}:dir(rtl) .esri-select{background-position:0}:dir(rtl) .esri-menu__list-item{border-left:none;border-right:3px solid #0000}:dir(rtl) .esri-menu__list-item [class^=esri-icon-],:dir(rtl) .esri-menu__list-item [class*=" esri-icon-"]{padding-left:2px;padding-right:0}:dir(rtl) .esri-menu__list-item--active{border-right-color:var(--calcite-color-brand)}.esri-icon-font-fallback-text{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.esri-rotating{animation:1.25s linear infinite esri-rotate;transform:translateZ(0)}.esri-clearfix:before,.esri-clearfix:after{content:" ";display:table}.esri-clearfix:after{clear:both}.esri-interactive{cursor:pointer}.esri-hidden{display:none!important}.esri-invisible{visibility:hidden!important}.esri-offscreen{position:absolute;top:-999em;left:-999em}.esri-match-height{flex-direction:column;flex:auto;display:flex;overflow:hidden}:host{min-width:300px}.esri-utility-network-trace{flex:auto;width:300px}.esri-utility-network-trace calcite-icon{box-sizing:initial}.esri-utility-network-trace calcite-tab{background-color:var(--calcite-color-foreground-2);padding-top:0;padding-bottom:0}.esri-utility-network-trace calcite-tab:not([selected]){flex:0}.esri-utility-network-trace.esri-component.esri-widget--panel{min-height:120px;width:300px}.esri-utility-network-trace__add-button-container{justify-content:center;margin:18px 0 var(--calcite-spacing-md);display:grid}.esri-utility-network-trace__block-container{margin-top:0;height:95%}.esri-utility-network-trace__block-content{border-bottom:none;margin:0}.esri-utility-network-trace__clear-results-block{position:absolute;bottom:0;left:0;margin:0;border-top:3px solid #6e6e6e26;background-color:#f3f3f3}.esri-utility-network-trace__divider{color:inherit;border-color:var(--calcite-color-border-input);border-bottom-style:solid;border-bottom-width:1px;flex:none;margin:0 0 var(--calcite-spacing-md)}.esri-utility-network-trace__double-pad-top{padding-top:10px}.esri-utility-network-trace__feature-content{height:300px}.esri-utility-network-trace__flow{height:100%}.esri-utility-network-trace__list-container{background-color:var(--calcite-color-foreground-1);padding:3px}.esri-utility-network-trace__notice-container{padding:var(--calcite-spacing-xs)}.esri-utility-network-trace__number-input{width:150px}.esri-utility-network-trace__pad-bottom{padding-bottom:5px}.esri-utility-network-trace__pad-top{padding-top:5px}.esri-utility-network-trace__reset-prompt{background-color:var(--calcite-color-background);color:var(--calcite-color-text-2);border-top:3px solid var(--calcite-color-border-input);flex-flow:column;max-height:85%;padding:var(--calcite-spacing-md) 15px;animation:.1s ease-in-out esri-fade-in-up;display:flex;position:absolute;bottom:0;left:0;right:0;box-shadow:0 1px 2px #0000004d}.esri-utility-network-trace__results-container{height:100%}.esri-utility-network-trace__tabs{min-height:250px;position:relative}`, c = s(r);
|
|
12
12
|
class d extends o {
|
|
13
13
|
constructor() {
|
|
@@ -6,6 +6,7 @@ import { default as MapView } from '@arcgis/core/views/MapView';
|
|
|
6
6
|
import { EventEmitter, JsxNode, ToElement, PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
7
7
|
import { Use } from '@arcgis/lumina/controllers';
|
|
8
8
|
import { ArcgisReferenceElement } from '../../utils/component-utils';
|
|
9
|
+
import { SelectStartPayload } from '../arcgis-utility-network-trace-location/customElement.js';
|
|
9
10
|
|
|
10
11
|
declare const useUtilityNetworkTraceAnalysisViewModel: (component: LitElement & Pick<UtilityNetworkTraceAnalysis, never> & import('../../controllers/useViewModel').ViewModelControllerUses<UtilityNetworkTraceAnalysis>) => UtilityNetworkTraceAnalysis;
|
|
11
12
|
/** [Read more...](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-utility-network-trace-analysis/) */
|
|
@@ -22,6 +23,17 @@ export declare class ArcgisUtilityNetworkTraceAnalysis extends LitElement {
|
|
|
22
23
|
* @default false
|
|
23
24
|
*/
|
|
24
25
|
autoDestroyDisabled: boolean;
|
|
26
|
+
/**
|
|
27
|
+
* A function to run before trace location selection starts.
|
|
28
|
+
*
|
|
29
|
+
* @experimental
|
|
30
|
+
* @example
|
|
31
|
+
* ```js
|
|
32
|
+
* const traceElement = document.querySelector("arcgis-utility-network-trace-analysis");
|
|
33
|
+
* traceElement.beforeTraceLocationSelectStart = async () => await doAsyncWork();
|
|
34
|
+
* ```
|
|
35
|
+
*/
|
|
36
|
+
beforeTraceLocationSelectStart?: () => Promise<void>;
|
|
25
37
|
/** @default false */
|
|
26
38
|
closable: boolean;
|
|
27
39
|
icon?: string;
|
|
@@ -48,8 +60,10 @@ export declare class ArcgisUtilityNetworkTraceAnalysis extends LitElement {
|
|
|
48
60
|
destroy(): Promise<void>;
|
|
49
61
|
/**
|
|
50
62
|
* Fires when the user begins selection of a trace location.
|
|
51
|
-
*
|
|
63
|
+
* Event payload contains a callback method `cancelSelect` to cancel a selection in progress.
|
|
64
|
+
* The event can also be prevented with `event.preventDefault()` to stop the selection.
|
|
52
65
|
*
|
|
66
|
+
* @experimental
|
|
53
67
|
* @example
|
|
54
68
|
* ```js
|
|
55
69
|
* const traceElement = document.querySelector("arcgis-utility-network-trace-analysis");
|
|
@@ -57,12 +71,38 @@ export declare class ArcgisUtilityNetworkTraceAnalysis extends LitElement {
|
|
|
57
71
|
* event.preventDefault();
|
|
58
72
|
* });
|
|
59
73
|
* ```
|
|
74
|
+
* @example
|
|
75
|
+
* ```js
|
|
76
|
+
* let cancelSelect;
|
|
77
|
+
* const traceElement = document.querySelector("arcgis-utility-network-trace-analysis");
|
|
78
|
+
* traceElement.addEventListener("arcgisTraceLocationSelectStart", (event) => {
|
|
79
|
+
* cancelSelect = event.detail.cancelSelect;
|
|
80
|
+
* });
|
|
81
|
+
*
|
|
82
|
+
* setTimeout(() => {
|
|
83
|
+
* cancelSelect();
|
|
84
|
+
* }, 3000);*
|
|
85
|
+
* ```
|
|
86
|
+
*/
|
|
87
|
+
readonly arcgisTraceLocationSelectStart: TargetedEvent<this, SelectStartPayload>;
|
|
88
|
+
/**
|
|
89
|
+
* Fires when the user completes the selection of a trace location.
|
|
90
|
+
*
|
|
91
|
+
* @experimental
|
|
92
|
+
* @example
|
|
93
|
+
* ```js
|
|
94
|
+
* const traceElement = document.querySelector("arcgis-utility-network-trace-analysis");
|
|
95
|
+
* traceElement.addEventListener("arcgisTraceLocationSelectEnd", () => {
|
|
96
|
+
* console.log("Selection finished!");
|
|
97
|
+
* });
|
|
98
|
+
* ```
|
|
60
99
|
*/
|
|
61
|
-
readonly
|
|
100
|
+
readonly arcgisTraceLocationSelectEnd: TargetedEvent<this, void>;
|
|
62
101
|
/**
|
|
63
102
|
* Fires when the trace result features are ready.
|
|
64
103
|
* Check property `traceResultFeatures` for the trace result features.
|
|
65
104
|
*
|
|
105
|
+
* @experimental
|
|
66
106
|
* @example
|
|
67
107
|
* ```js
|
|
68
108
|
* const traceElement = document.querySelector("arcgis-utility-network-trace-analysis");
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import { c as p } from "../../chunks/runtime.js";
|
|
2
2
|
import { css as m, html as t } from "lit";
|
|
3
|
-
import { keyed as
|
|
3
|
+
import { keyed as l } from "lit/directives/keyed.js";
|
|
4
4
|
import w from "@arcgis/core/networks/UtilityNetworkTraceAnalysis.js";
|
|
5
5
|
import { LitElement as _, createEvent as n } from "@arcgis/lumina";
|
|
6
|
-
import {
|
|
6
|
+
import { log as h } from "@arcgis/toolkit/log";
|
|
7
|
+
import { createRef as d, ref as f } from "lit/directives/ref.js";
|
|
7
8
|
import { u as v } from "../../chunks/useT9n.js";
|
|
8
9
|
import { m as y } from "../../chunks/useViewModel.js";
|
|
9
|
-
import { log as f } from "@arcgis/toolkit/log";
|
|
10
10
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
11
11
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
12
|
-
v5.0.0-next.
|
|
12
|
+
v5.0.0-next.94 */
|
|
13
13
|
const x = m`.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}.esri-widget{--esri-widget-padding-x: 15px;--esri-widget-padding-y: var(--calcite-spacing-md);--esri-widget-padding: var(--esri-widget-padding-y) var(--esri-widget-padding-x);box-sizing:border-box;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget *,.esri-widget :before,.esri-widget :after{box-sizing:inherit}.esri-widget.esri-widget--disabled>*{opacity:.4;pointer-events:none}.esri-widget.esri-widget--compact{--esri-widget-padding-y: 0;--esri-widget-padding-x: 0}.esri-widget__anchor{color:var(--calcite-color-text-2)}.esri-widget__anchor:hover{color:var(--calcite-color-text-3)}.esri-widget__anchor:hover,.esri-widget__anchor:focus{text-decoration:underline}.esri-widget__anchor--disabled{opacity:.4;pointer-events:none}.esri-widget__header{background-color:var(--calcite-color-foreground-1);flex:1 0 100%;justify-content:space-between;align-items:center;width:100%;min-height:48px;padding:12px 0 12px 15px;display:flex}.esri-widget__header .esri-widget__heading{width:calc(100% - 48px);text-align:initial;color:var(--calcite-color-text-1);align-items:center;margin:0;padding:0;display:flex}.esri-widget__header-button{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);border:none;flex:0 0 48px;justify-content:center;align-self:stretch;align-items:center;width:48px;padding:0;display:flex}.esri-widget__footer{background-color:var(--calcite-color-foreground-1);justify-content:center;align-items:center;width:100%;min-height:48px;display:flex}.esri-widget__footer-pagination{color:var(--calcite-color-text-2);justify-content:space-between;align-items:center;display:flex}.esri-widget__footer-pagination-previous-button,.esri-widget__footer-pagination-next-button{cursor:pointer;background-color:var(--calcite-color-foreground-1);border:0;margin:0 7px;padding:12px 15px;transition:background-color .125s ease-in-out}.esri-widget__footer-pagination-previous-button:hover,.esri-widget__footer-pagination-previous-button:focus,.esri-widget__footer-pagination-next-button:hover,.esri-widget__footer-pagination-next-button:focus{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1)}.esri-menu{visibility:hidden;z-index:1;background-clip:padding;background-color:var(--calcite-color-foreground-1);background-clip:padding-box;width:100%;max-height:0;margin:2px 0 0;padding:0;font-size:var(--calcite-font-size);line-height:var(--calcite-spacing-xl);position:absolute;top:100%;left:0;overflow:hidden;box-shadow:0 1px 2px #0000004d}.esri-menu .esri-menu__header{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-inverse);padding:6px 12px}.esri-menu__list{margin:0;padding:0;list-style:none}.esri-menu__list-item{cursor:pointer;border-top:1px solid #adadad4d;border-left:3px solid #0000;padding:.8em 1em}.esri-menu__list-item [class^=esri-icon-],.esri-menu__list-item [class*=" esri-icon-"]{padding-right:2.8px}.esri-menu__list-item:first-child{border-top:none}.esri-menu__list-item--focus,.esri-menu__list-item:hover,.esri-menu__list-item:focus{background-color:var(--calcite-color-foreground-1)}.esri-menu__list-item:active{background-color:var(--calcite-color-foreground-current)}.esri-menu__list-item--active,.esri-menu__list-item--active:hover,.esri-menu__list-item--active:focus{background-color:var(--calcite-color-foreground-1);border-left-color:var(--calcite-color-brand)}.esri-widget__table{border-collapse:collapse;color:var(--calcite-color-text-1);border:none;width:100%;line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget__table tr:nth-child(odd){background-color:var(--calcite-color-transparent)}.esri-widget__table tr:nth-child(2n){background-color:var(--calcite-color-transparent-press)}.esri-widget__table tr a{color:var(--calcite-color-text-2)}.esri-widget__table tr a:hover,.esri-widget__table tr a:focus{color:var(--calcite-color-text-1)}.esri-widget__table tr td,.esri-widget__table tr th{vertical-align:top;word-break:break-word;padding:.5em .7em;font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular)}.esri-widget__table tr th{text-align:left;border-right:3px solid #0000000d;width:50%}.esri-widget__table tr td{width:50%}.esri-input{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1);border:1px solid #959595;font-size:var(--calcite-font-size)}.esri-input::-ms-clear{display:none}.esri-input::placeholder{opacity:1;color:var(--calcite-color-text-2)}.esri-input:placeholder-shown{text-overflow:ellipsis}.esri-input[type=text],.esri-input[type=password],.esri-input[type=number]{height:32px;padding:0 .5em}calcite-combobox.esri-input{border:none}.esri-widget__content--empty{text-align:center;color:var(--calcite-color-border-input);flex-flow:column wrap;align-items:center;padding:18px 22px;display:flex}.esri-widget__content--empty h1.esri-widget__heading,.esri-widget__content--empty h2.esri-widget__heading,.esri-widget__content--empty h3.esri-widget__heading,.esri-widget__content--empty h4.esri-widget__heading,.esri-widget__content--empty h5.esri-widget__heading{font-weight:var(--calcite-font-weight-regular)}.esri-widget__content-illustration--empty{width:128px;padding:1rem 0}.esri-widget__content-icon--empty{width:32px;padding:.5rem 0}.esri-select{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background:var(--calcite-color-foreground-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -8 32 32' width='32' height='32'%3E%3Cpath d='M8 11.207l-4-4V5.793l4 4 4-4v1.414z' fill='%23adadad' fillrule='nonzero'/%3E%3C/svg%3E") 100% no-repeat;border:1px solid #959595;border-radius:0;width:100%;height:32px;margin:0;padding:0 .5em;font-family:inherit;font-size:.85em;display:block}.esri-select[disabled]{cursor:auto}.esri-select::-ms-expand{display:none}.esri-disabled a,.esri-disabled [role=menu],.esri-disabled [role=checkbox],.esri-disabled [class^=esri-icon-],.esri-disabled [class*=" esri-icon-"]{color:var(--calcite-color-text-3)}.keynav-mode .esri-widget:focus,.keynav-mode .esri-widget :focus{z-index:1;outline-offset:2px;outline:2px solid #adadad}.esri-widget__loader-animation{border:.15em solid #adadad4d;border-top-color:var(--calcite-color-border-input);border-radius:100%;width:1em;height:1em;font-size:var(--calcite-font-size-md);animation:1.25s linear infinite esri-rotate;display:block;transform:translateZ(0)}:dir(rtl) .esri-widget__table th{text-align:right;border-left:3px solid #0000000d;border-right:none}:dir(rtl) .esri-select{background-position:0}:dir(rtl) .esri-menu__list-item{border-left:none;border-right:3px solid #0000}:dir(rtl) .esri-menu__list-item [class^=esri-icon-],:dir(rtl) .esri-menu__list-item [class*=" esri-icon-"]{padding-left:2px;padding-right:0}:dir(rtl) .esri-menu__list-item--active{border-right-color:var(--calcite-color-brand)}.esri-icon-font-fallback-text{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.esri-rotating{animation:1.25s linear infinite esri-rotate;transform:translateZ(0)}.esri-clearfix:before,.esri-clearfix:after{content:" ";display:table}.esri-clearfix:after{clear:both}.esri-interactive{cursor:pointer}.esri-invisible{visibility:hidden!important}.esri-offscreen{position:absolute;top:-999em;left:-999em}.esri-match-height{flex-direction:column;flex:auto;display:flex;overflow:hidden}.esri-hidden{display:none!important}[class^=esri-icon-],[class*=" esri-icon-"]{speak:none;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-style:normal;font-weight:var(--calcite-font-weight-normal);line-height:1;font-family:CalciteWebCoreIcons!important}.esri-icon-close:before{content:"";color:inherit}.esri-icon-drag-horizontal:before{content:"";color:inherit}.esri-icon-drag-vertical:before{content:"";color:inherit}.esri-icon-handle-horizontal:before{content:"";color:inherit}.esri-icon-handle-vertical:before{content:"";color:inherit}.esri-icon-check-mark:before{content:"";color:inherit}.esri-icon-left-triangle-arrow:before{content:"";color:inherit}.esri-icon-right-triangle-arrow:before{content:"";color:inherit}.esri-icon-down-arrow:before{content:"";color:inherit}.esri-icon-up-arrow:before{content:"";color:inherit}.esri-icon-overview-arrow-bottom-left:before{content:"";color:inherit}.esri-icon-overview-arrow-bottom-right:before{content:"";color:inherit}.esri-icon-overview-arrow-top-left:before{content:"";color:inherit}.esri-icon-overview-arrow-top-right:before{content:"";color:inherit}.esri-icon-maximize:before{content:"";color:inherit}.esri-icon-minimize:before{content:"";color:inherit}.esri-icon-checkbox-unchecked:before{content:"";color:inherit}.esri-icon-checkbox-checked:before{content:"";color:inherit}.esri-icon-radio-unchecked:before{content:"";color:inherit}.esri-icon-radio-checked:before{content:"";color:inherit}.esri-icon-up-arrow-circled:before{content:"";color:inherit}.esri-icon-down-arrow-circled:before{content:"";color:inherit}.esri-icon-left-arrow-circled:before{content:"";color:inherit}.esri-icon-right-arrow-circled:before{content:"";color:inherit}.esri-icon-zoom-out-fixed:before{content:"";color:inherit}.esri-icon-zoom-in-fixed:before{content:"";color:inherit}.esri-icon-refresh:before{content:"";color:inherit}.esri-icon-edit:before{content:"";color:inherit}.esri-icon-authorize:before{content:"";color:inherit}.esri-icon-map-pin:before{content:"";color:inherit}.esri-icon-blank-map-pin:before{content:"";color:inherit}.esri-icon-table:before{content:"";color:inherit}.esri-icon-plus:before{content:"+";color:inherit}.esri-icon-minus:before{content:"";color:inherit}.esri-icon-beginning:before{content:"";color:inherit}.esri-icon-reverse:before{content:"";color:inherit}.esri-icon-pause:before{content:"";color:inherit}.esri-icon-play:before{content:"";color:inherit}.esri-icon-forward:before{content:"";color:inherit}.esri-icon-end:before{content:"";color:inherit}.esri-icon-erase:before{content:"";color:inherit}.esri-icon-up-down-arrows:before{content:"";color:inherit}.esri-icon-left:before{content:"";color:inherit}.esri-icon-right:before{content:"";color:inherit}.esri-icon-announcement:before{content:"";color:inherit}.esri-icon-notice-round:before{content:"";color:inherit}.esri-icon-notice-triangle:before{content:"";color:inherit}.esri-icon-home:before{content:"";color:inherit}.esri-icon-locate:before{content:"";color:inherit}.esri-icon-expand:before{content:"";color:inherit}.esri-icon-collapse:before{content:"";color:inherit}.esri-icon-layer-list:before{content:"";color:inherit}.esri-icon-basemap:before{content:"";color:inherit}.esri-icon-globe:before{content:"";color:inherit}.esri-icon-applications:before{content:"";color:inherit}.esri-icon-arrow-up-circled:before{content:"";color:inherit}.esri-icon-arrow-down-circled:before{content:"";color:inherit}.esri-icon-arrow-left-circled:before{content:"";color:inherit}.esri-icon-arrow-right-circled:before{content:"";color:inherit}.esri-icon-minus-circled:before{content:"";color:inherit}.esri-icon-plus-circled:before{content:"";color:inherit}.esri-icon-add-attachment:before{content:"";color:inherit}.esri-icon-attachment:before{content:"";color:inherit}.esri-icon-calendar:before{content:"";color:inherit}.esri-icon-close-circled:before{content:"";color:inherit}.esri-icon-browser:before{content:"";color:inherit}.esri-icon-collection:before{content:"";color:inherit}.esri-icon-comment:before{content:"";color:inherit}.esri-icon-configure-popup:before{content:"";color:inherit}.esri-icon-contact:before{content:"";color:inherit}.esri-icon-dashboard:before{content:"";color:inherit}.esri-icon-deny:before{content:"";color:inherit}.esri-icon-description:before{content:"";color:inherit}.esri-icon-directions:before{content:"";color:inherit}.esri-icon-directions2:before{content:"";color:inherit}.esri-icon-documentation:before{content:"";color:inherit}.esri-icon-duplicate:before{content:"";color:inherit}.esri-icon-review:before{content:"";color:inherit}.esri-icon-environment-settings:before{content:"";color:inherit}.esri-icon-error:before{content:"";color:inherit}.esri-icon-error2:before{content:"";color:inherit}.esri-icon-experimental:before{content:"";color:inherit}.esri-icon-feature-layer:before{content:"";color:inherit}.esri-icon-filter:before{content:"";color:inherit}.esri-icon-grant:before{content:"";color:inherit}.esri-icon-group:before{content:"";color:inherit}.esri-icon-key:before{content:"";color:inherit}.esri-icon-labels:before{content:"";color:inherit}.esri-icon-tag:before{content:"";color:inherit}.esri-icon-layers:before{content:"";color:inherit}.esri-icon-left-arrow:before{content:"";color:inherit}.esri-icon-right-arrow:before{content:"";color:inherit}.esri-icon-link-external:before{content:"";color:inherit}.esri-icon-link:before{content:"";color:inherit}.esri-icon-loading-indicator:before{content:"";color:inherit}.esri-icon-maps:before{content:"";color:inherit}.esri-icon-marketplace:before{content:"";color:inherit}.esri-icon-media:before{content:"";color:inherit}.esri-icon-media2:before{content:"";color:inherit}.esri-icon-menu:before{content:"";color:inherit}.esri-icon-mobile:before{content:"";color:inherit}.esri-icon-phone:before{content:"";color:inherit}.esri-icon-navigation:before{content:"";color:inherit}.esri-icon-pan:before{content:"";color:inherit}.esri-icon-printer:before{content:"";color:inherit}.esri-icon-pie-chart:before{content:"";color:inherit}.esri-icon-chart:before{content:"";color:inherit}.esri-icon-line-chart:before{content:"";color:inherit}.esri-icon-question:before{content:"";color:inherit}.esri-icon-resend-invitation:before{content:"";color:inherit}.esri-icon-rotate:before{content:"";color:inherit}.esri-icon-save:before{content:"";color:inherit}.esri-icon-settings:before{content:"";color:inherit}.esri-icon-settings2:before{content:"";color:inherit}.esri-icon-share:before{content:"";color:inherit}.esri-icon-sign-out:before{content:"";color:inherit}.esri-icon-support:before{content:"";color:inherit}.esri-icon-user:before{content:"";color:inherit}.esri-icon-time-clock:before{content:"";color:inherit}.esri-icon-trash:before{content:"";color:inherit}.esri-icon-upload:before{content:"";color:inherit}.esri-icon-download:before{content:"";color:inherit}.esri-icon-zoom-in-magnifying-glass:before{content:"";color:inherit}.esri-icon-search:before{content:"";color:inherit}.esri-icon-zoom-out-magnifying-glass:before{content:"";color:inherit}.esri-icon-locked:before{content:"";color:inherit}.esri-icon-unlocked:before{content:"";color:inherit}.esri-icon-favorites:before{content:"";color:inherit}.esri-icon-compass:before{content:"";color:inherit}.esri-icon-down:before{content:"";color:inherit}.esri-icon-up:before{content:"";color:inherit}.esri-icon-chat:before{content:"";color:inherit}.esri-icon-dock-bottom:before{content:"";color:inherit}.esri-icon-dock-left:before{content:"";color:inherit}.esri-icon-dock-right:before{content:"";color:inherit}.esri-icon-organization:before{content:"";color:inherit}.esri-icon-north-navigation:before{content:"";color:inherit}.esri-icon-locate-circled:before{content:"";color:inherit}.esri-icon-dial:before{content:"";color:inherit}.esri-icon-polygon:before{content:"";color:inherit}.esri-icon-polyline:before{content:"";color:inherit}.esri-icon-visible:before{content:"";color:inherit}.esri-icon-non-visible:before{content:"";color:inherit}.esri-icon-link-vertical:before{content:"";color:inherit}.esri-icon-unlocked-link-vertical:before{content:"";color:inherit}.esri-icon-link-horizontal:before{content:"";color:inherit}.esri-icon-unlocked-link-horizontal:before{content:"";color:inherit}.esri-icon-swap:before{content:"";color:inherit}.esri-icon-cta-link-external:before{content:"";color:inherit}.esri-icon-reply:before{content:"";color:inherit}.esri-icon-public:before{content:"";color:inherit}.esri-icon-share2:before{content:"";color:inherit}.esri-icon-launch-link-external:before{content:"";color:inherit}.esri-icon-rotate-back:before{content:"";color:inherit}.esri-icon-pan2:before{content:"";color:inherit}.esri-icon-tracking:before{content:"";color:inherit}.esri-icon-expand2:before{content:"";color:inherit}.esri-icon-arrow-down:before{content:"";color:inherit}.esri-icon-arrow-up:before{content:"";color:inherit}.esri-icon-hollow-eye:before{content:"";color:inherit}.esri-icon-play-circled:before{content:"";color:inherit}.esri-icon-volume-off:before{content:"";color:inherit}.esri-icon-volume-on:before{content:"";color:inherit}.esri-icon-bookmark:before{content:"";color:inherit}.esri-icon-lightbulb:before{content:"";color:inherit}.esri-icon-sketch-rectangle:before{content:"";color:inherit}.esri-icon-north-navigation-filled:before{content:"";color:inherit}.esri-icon-default-action:before{content:"";color:inherit}.esri-icon-undo:before{content:"";color:inherit}.esri-icon-redo:before{content:"";color:inherit}.esri-icon-cursor:before{content:"";color:inherit}.esri-icon-cursor-filled:before{content:"";color:inherit}.esri-icon-measure:before{content:"";color:inherit}.esri-icon-measure-line:before{content:"";color:inherit}.esri-icon-measure-area:before{content:"";color:inherit}.esri-icon-legend:before{content:"";color:inherit}.esri-icon-sliders:before{content:"";color:inherit}.esri-icon-sliders-horizontal:before{content:"";color:inherit}.esri-icon-cursor-marquee:before{content:"";color:inherit}.esri-icon-lasso:before{content:"";color:inherit}.esri-icon-elevation-profile:before{content:"";color:inherit}.esri-icon-slice:before{content:"";color:inherit}.esri-icon-line-of-sight:before{content:"";color:inherit}.esri-icon-zoom-to-object:before{content:"";color:inherit}.esri-icon-urban-model:before{content:"";color:inherit}.esri-icon-measure-building-height-shadow:before{content:"";color:inherit}.esri-icon-partly-cloudy:before{content:"";color:inherit}:host{max-width:fit-content;max-height:100%;overflow:auto;arcgis-utility-network-trace-inputs::slotted{overflow-y:auto;max-height:450px}}.arcgis-utility-network-trace-analysis{flex:auto;width:300px}.arcgis-utility-network-trace-analysis calcite-tab{background-color:var(--calcite-color-foreground-1);padding-top:0;padding-bottom:0;min-height:300px;--calcite-tab-content-space-y: 0}.arcgis-utility-network-trace-analysis calcite-tab:not([selected]){flex:0}.arcgis-utility-network-trace-analysis calcite-block{--calcite-block-border-color: transparent;margin:0;background-color:transparent}.arcgis-utility-network-trace-analysis calcite-block calcite-label:last-child{--calcite-label-margin-bottom: 0}.arcgis-utility-network-trace-analysis calcite-notice{padding:var(--calcite-spacing-xs)}`, k = y(w);
|
|
14
|
-
class
|
|
14
|
+
class T extends _ {
|
|
15
15
|
constructor() {
|
|
16
|
-
super(...arguments), this._messages = v({ blocking: !0 }), this._viewModel = k(this), this._traceInputsRef =
|
|
16
|
+
super(...arguments), this._messages = v({ blocking: !0 }), this._viewModel = k(this), this._traceInputsRef = d(), this._traceResultsRef = d(), this._highlightHandles = [], this.activeTab = "input", this._mode = "default", this.allowEditingDisabled = !1, this.autoDestroyDisabled = !1, this.closable = !1, this.state = this._viewModel.state, this.view = this._viewModel.view, this.arcgisTraceLocationSelectStart = n(), this.arcgisTraceLocationSelectEnd = n(), this.arcgisTraceResultFeaturesReady = n(), this.arcgisReady = n();
|
|
17
17
|
}
|
|
18
18
|
static {
|
|
19
|
-
this.properties = { activeTab: 16, traceResult: 16, _mode: 16, allowEditingDisabled: 5, autoDestroyDisabled: 5, closable: 7, icon: 1, label: 3, messageOverrides: 0, mode: 1, traceResultFeatures: 32, referenceElement: 1, state: 3, view: 0 };
|
|
19
|
+
this.properties = { activeTab: 16, traceResult: 16, _mode: 16, allowEditingDisabled: 5, autoDestroyDisabled: 5, beforeTraceLocationSelectStart: 0, closable: 7, icon: 1, label: 3, messageOverrides: 0, mode: 1, traceResultFeatures: 32, referenceElement: 1, state: 3, view: 0 };
|
|
20
20
|
}
|
|
21
21
|
static {
|
|
22
22
|
this.styles = x;
|
|
@@ -69,10 +69,10 @@ class R extends _ {
|
|
|
69
69
|
return;
|
|
70
70
|
o.getObjectIdsFromElements(e.elements).forEach((c) => {
|
|
71
71
|
const s = i.allLayerViews.find((g) => {
|
|
72
|
-
const
|
|
73
|
-
if (o.isUtilityLayer(
|
|
72
|
+
const a = g.layer;
|
|
73
|
+
if (o.isUtilityLayer(a)) {
|
|
74
74
|
const u = Number(c.layerUrl.split("/").pop());
|
|
75
|
-
return
|
|
75
|
+
return a.layerId === u;
|
|
76
76
|
}
|
|
77
77
|
return !1;
|
|
78
78
|
});
|
|
@@ -85,7 +85,7 @@ class R extends _ {
|
|
|
85
85
|
async _runTrace() {
|
|
86
86
|
const e = this._traceInputsRef.value?.selectedNamedTraceConfiguration, i = this._traceInputsRef.value?.unTraceConfiguration;
|
|
87
87
|
if (!(e?.traceType && i)) {
|
|
88
|
-
|
|
88
|
+
h("error", this, "Trace configuration not found");
|
|
89
89
|
return;
|
|
90
90
|
}
|
|
91
91
|
const o = this._traceInputsRef.value?.traceLocations;
|
|
@@ -96,11 +96,14 @@ class R extends _ {
|
|
|
96
96
|
traceLocations: o ?? []
|
|
97
97
|
}), this._highlightResults();
|
|
98
98
|
} catch (r) {
|
|
99
|
-
|
|
99
|
+
h("error", this, `Error while running trace. ${r}`), this.traceResult = void 0;
|
|
100
100
|
}
|
|
101
101
|
}
|
|
102
102
|
_handleTraceLocationSelectStart(e) {
|
|
103
|
-
e.stopPropagation(), this.arcgisTraceLocationSelectStart.emit().defaultPrevented && e.preventDefault();
|
|
103
|
+
e.stopPropagation(), this.arcgisTraceLocationSelectStart.emit(e.detail).defaultPrevented && e.preventDefault();
|
|
104
|
+
}
|
|
105
|
+
_handleTraceLocationSelectEnd(e) {
|
|
106
|
+
e.stopPropagation(), this.arcgisTraceLocationSelectEnd.emit();
|
|
104
107
|
}
|
|
105
108
|
_handleTraceResultFeaturesReady(e) {
|
|
106
109
|
e.stopPropagation(), this.arcgisTraceResultFeaturesReady.emit();
|
|
@@ -111,7 +114,7 @@ class R extends _ {
|
|
|
111
114
|
this._viewModel.utilityNetwork = this._traceInputsRef.value?.selectedUtilityNetwork;
|
|
112
115
|
}
|
|
113
116
|
renderResultsTab() {
|
|
114
|
-
return
|
|
117
|
+
return l(`${this.el.id}__results-tab-item`, t`<calcite-tab .selected=${this.activeTab === "results"}>${this._viewModel.state === "executing" ? t`<calcite-loader .label=${this._messages.runningTrace} .text=${this._messages.runningTrace}></calcite-loader>` : t`<arcgis-utility-network-trace-results .referenceElement=${this.referenceElement} .layers=${this._allLayers} .traceConfigTitle=${this._selectedTraceConfig?.title} .traceResult=${this.traceResult} .utilityNetwork=${this._viewModel.utilityNetwork ?? void 0} .view=${this.view ?? void 0} @arcgisTraceResultFeaturesReady=${this._handleTraceResultFeaturesReady} ${f(this._traceResultsRef)}></arcgis-utility-network-trace-results>`}</calcite-tab>`);
|
|
115
118
|
}
|
|
116
119
|
renderResultsFooter() {
|
|
117
120
|
const { _mode: e } = this;
|
|
@@ -120,9 +123,9 @@ class R extends _ {
|
|
|
120
123
|
}} .disabled=${!this._traceResultsReady} slot=footer>${this._traceResultsReady ? this._messages.buttons.clearResultsCustom.replace("{number}", this.traceResultFeatures.length.toString()) : this._messages.buttons.clearResultsGeneric}</calcite-button>`;
|
|
121
124
|
}
|
|
122
125
|
renderInputTab() {
|
|
123
|
-
return
|
|
126
|
+
return l(`${this.el.id}__inputs-tab-item`, t`<calcite-tab .selected=${this.activeTab === "input"}><arcgis-utility-network-trace-inputs .view=${this.view || void 0} .beforeTraceLocationSelectStart=${this.beforeTraceLocationSelectStart} @arcgisTraceInputsChange=${this._handleTraceInputsChange} @arcgisUtilityNetworkChange=${this._handleUtilityNetworkChange} @arcgisTraceLocationSelectStart=${this._handleTraceLocationSelectStart} @arcgisTraceLocationSelectEnd=${this._handleTraceLocationSelectEnd} @arcgisPropertyChange=${(e) => {
|
|
124
127
|
e.stopPropagation(), e.detail.name === "mode" && (this._mode = e.target.mode);
|
|
125
|
-
}} ${
|
|
128
|
+
}} ${f(this._traceInputsRef)}></arcgis-utility-network-trace-inputs></calcite-tab>`);
|
|
126
129
|
}
|
|
127
130
|
renderInputFooter() {
|
|
128
131
|
const { _mode: e } = this;
|
|
@@ -139,7 +142,7 @@ class R extends _ {
|
|
|
139
142
|
}} .selected=${this.activeTab === "results"}>${e.tabs.resultsTab}</calcite-tab-title></calcite-tab-nav>${this.view ? this.renderInputTab() : null}${this.view && this._viewModel.utilityNetwork ? this.renderResultsTab() : null}</calcite-tabs>${r}${this.activeTab === "input" ? this.renderInputFooter() : null}${this.activeTab === "results" ? this.renderResultsFooter() : null}</calcite-panel></div>`;
|
|
140
143
|
}
|
|
141
144
|
}
|
|
142
|
-
p("arcgis-utility-network-trace-analysis",
|
|
145
|
+
p("arcgis-utility-network-trace-analysis", T);
|
|
143
146
|
export {
|
|
144
|
-
|
|
147
|
+
T as ArcgisUtilityNetworkTraceAnalysis
|
|
145
148
|
};
|
|
@@ -9,6 +9,7 @@ import { default as TraceLocation } from '@arcgis/core/rest/networks/support/Tra
|
|
|
9
9
|
import { JsxNode, PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
10
10
|
import { PropertyValues } from 'lit';
|
|
11
11
|
import { ArcgisReferenceElement } from '../../utils/component-utils';
|
|
12
|
+
import { SelectStartPayload } from '../arcgis-utility-network-trace-location/customElement.js';
|
|
12
13
|
|
|
13
14
|
type State = "disabled" | "error" | "loading" | "ready";
|
|
14
15
|
/**
|
|
@@ -23,6 +24,12 @@ type State = "disabled" | "error" | "loading" | "ready";
|
|
|
23
24
|
* @internal
|
|
24
25
|
*/
|
|
25
26
|
export declare class ArcgisUtilityNetworkTraceInputs extends LitElement {
|
|
27
|
+
/**
|
|
28
|
+
* A function to run before trace location selection starts.
|
|
29
|
+
*
|
|
30
|
+
* @experimental
|
|
31
|
+
*/
|
|
32
|
+
beforeTraceLocationSelectStart?: () => Promise<void>;
|
|
26
33
|
/** @required */
|
|
27
34
|
view?: __esri.MapView;
|
|
28
35
|
selectedUtilityNetwork?: UtilityNetwork;
|
|
@@ -42,11 +49,18 @@ export declare class ArcgisUtilityNetworkTraceInputs extends LitElement {
|
|
|
42
49
|
/** This will be fired less often than above, only when the utility network changes */
|
|
43
50
|
readonly arcgisUtilityNetworkChange: TargetedEvent<this, void>;
|
|
44
51
|
/**
|
|
45
|
-
*
|
|
46
|
-
*
|
|
47
|
-
*
|
|
52
|
+
* Fires when the user begins selection of a trace location.
|
|
53
|
+
* Can be prevented to stop the selection.
|
|
54
|
+
*
|
|
55
|
+
* @experimental
|
|
56
|
+
*/
|
|
57
|
+
readonly arcgisTraceLocationSelectStart: TargetedEvent<this, SelectStartPayload>;
|
|
58
|
+
/**
|
|
59
|
+
* Fires when the user completes the selection of a trace location.
|
|
60
|
+
*
|
|
61
|
+
* @experimental
|
|
48
62
|
*/
|
|
49
|
-
readonly
|
|
63
|
+
readonly arcgisTraceLocationSelectEnd: TargetedEvent<this, void>;
|
|
50
64
|
readonly arcgisPropertyChange: TargetedEvent<this, {
|
|
51
65
|
name: "mode";
|
|
52
66
|
}>;
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import { c as y } from "../../chunks/runtime.js";
|
|
2
2
|
import { repeat as d } from "lit/directives/repeat.js";
|
|
3
3
|
import { queryAllJSON as b } from "@arcgis/core/applications/Components/featureUtils.js";
|
|
4
|
-
import
|
|
4
|
+
import s from "@arcgis/core/core/Collection.js";
|
|
5
5
|
import f from "@arcgis/core/layers/GraphicsLayer.js";
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import { LitElement as L, createEvent as
|
|
12
|
-
import { css as
|
|
13
|
-
import { u as
|
|
6
|
+
import S from "@arcgis/core/networks/support/UNTraceConfiguration.js";
|
|
7
|
+
import _ from "@arcgis/core/rest/networks/support/TraceLocation.js";
|
|
8
|
+
import T from "@arcgis/core/rest/support/FeatureSet.js";
|
|
9
|
+
import u from "@arcgis/core/views/interactive/snapping/FeatureSnappingLayerSource.js";
|
|
10
|
+
import N from "@arcgis/core/widgets/Sketch/SketchViewModel.js";
|
|
11
|
+
import { LitElement as L, createEvent as c, safeClassMap as h } from "@arcgis/lumina";
|
|
12
|
+
import { css as $, html as r } from "lit";
|
|
13
|
+
import { u as C } from "../../chunks/useT9n.js";
|
|
14
14
|
import { usePropertyChange as v } from "@arcgis/lumina/controllers";
|
|
15
|
-
import { log as
|
|
15
|
+
import { log as l, composeMissingPropertyMessage as U, composeEmptyPropertyMessage as E } from "@arcgis/toolkit/log";
|
|
16
16
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
17
17
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
18
|
-
v5.0.0-next.
|
|
19
|
-
const M =
|
|
18
|
+
v5.0.0-next.94 */
|
|
19
|
+
const M = $`:host{width:100%}.arcgis-utility-network-trace-inputs calcite-block{--calcite-block-content-space: 0;--calcite-block-border-color: transparent;margin:0}.arcgis-utility-network-trace-inputs calcite-block-group{padding-bottom:var(--calcite-spacing-md);background-color:var(--calcite-color-foreground-1)}.arcgis-utility-network-trace-inputs calcite-block calcite-select,.arcgis-utility-network-trace-inputs calcite-block calcite-input{padding:0 var(--calcite-spacing-md)}.arcgis-utility-network-trace-inputs calcite-block calcite-label:last-child{--calcite-label-margin-bottom: 0}.arcgis-utility-network-trace-inputs calcite-notice{padding:var(--calcite-spacing-md)}.arcgis-utility-network-trace-inputs .inline-loader{--calcite-loader-spacing: var(--calcite-spacing-md)}.arcgis-utility-network-trace-inputs__add-spatial-mode{display:flex;height:300px;padding:var(--calcite-spacing-xxl) var(--calcite-spacing-sm);flex-direction:column;justify-content:center;align-items:center;gap:var(--calcite-spacing-md);align-self:stretch}.arcgis-utility-network-trace-inputs .subnetwork-info-block{padding-top:var(--calcite-spacing-md);padding-left:var(--calcite-spacing-md);padding-right:var(--calcite-spacing-md)}`, g = "arcgis-utility-network-trace-inputs", p = {
|
|
20
20
|
// popup renderer
|
|
21
21
|
base: g,
|
|
22
22
|
// containers and content
|
|
23
23
|
addSpatialMode: `${g}__add-spatial-mode`
|
|
24
24
|
}, w = `utility-network-trace-inputs-sketch-${Date.now()}`, n = `utility-network-trace-inputs-flags-${Date.now()}`, I = 20;
|
|
25
|
-
class
|
|
25
|
+
class P extends L {
|
|
26
26
|
constructor() {
|
|
27
|
-
super(...arguments), this._messages =
|
|
27
|
+
super(...arguments), this._messages = C({ blocking: !0 }), this._startingPoints = new s(), this._barriers = new s(), this._stoppingPoints = new s(), this._subnetworkTraceTypes = /* @__PURE__ */ new Set([
|
|
28
28
|
"subnetwork",
|
|
29
29
|
"subnetwork-controller",
|
|
30
30
|
"upstream",
|
|
31
31
|
"downstream",
|
|
32
32
|
"isolation"
|
|
33
|
-
]), this._removeDuplicateSubnetworkNames = (e, t, i) => t === 0 || e.getAttribute("SUBNETWORKNAME") !== i[t - 1].getAttribute("SUBNETWORKNAME"), this.compatibleSubnetworkNames = [], this.traceConfigurations = [], this._state = "ready", this.mode = "default", this.arcgisTraceInputsChange =
|
|
33
|
+
]), this._removeDuplicateSubnetworkNames = (e, t, i) => t === 0 || e.getAttribute("SUBNETWORKNAME") !== i[t - 1].getAttribute("SUBNETWORKNAME"), this.compatibleSubnetworkNames = [], this.traceConfigurations = [], this._state = "ready", this.mode = "default", this.arcgisTraceInputsChange = c(), this.arcgisUtilityNetworkChange = c(), this.arcgisTraceLocationSelectStart = c(), this.arcgisTraceLocationSelectEnd = c(), this.arcgisPropertyChange = v()("mode");
|
|
34
34
|
}
|
|
35
35
|
static {
|
|
36
|
-
this.properties = { compatibleSubnetworkNames: 16, subnetworksTable: 16, traceConfigurations: 16, utilityNetworks: 16, _unTraceConfiguration: 16, _state: 16, _activeTraceLocationType: 16, view: 0, selectedUtilityNetwork: 0, selectedNamedTraceConfiguration: 0, unTraceConfiguration: 32, referenceElement: 1, mode: 1, traceLocations: 32 };
|
|
36
|
+
this.properties = { compatibleSubnetworkNames: 16, subnetworksTable: 16, traceConfigurations: 16, utilityNetworks: 16, _unTraceConfiguration: 16, _state: 16, _activeTraceLocationType: 16, beforeTraceLocationSelectStart: 0, view: 0, selectedUtilityNetwork: 0, selectedNamedTraceConfiguration: 0, unTraceConfiguration: 32, referenceElement: 1, mode: 1, traceLocations: 32 };
|
|
37
37
|
}
|
|
38
38
|
static {
|
|
39
39
|
this.styles = M;
|
|
@@ -53,13 +53,13 @@ class A extends L {
|
|
|
53
53
|
}
|
|
54
54
|
get traceLocations() {
|
|
55
55
|
const e = [], t = (i) => {
|
|
56
|
-
i.flagProperties.terminalConfiguration && i.flagProperties.selectedTerminals ? i.flagProperties.selectedTerminals.forEach((
|
|
57
|
-
e.push(new
|
|
56
|
+
i.flagProperties.terminalConfiguration && i.flagProperties.selectedTerminals ? i.flagProperties.selectedTerminals.forEach((o) => {
|
|
57
|
+
e.push(new _({
|
|
58
58
|
type: i.traceLocation.type,
|
|
59
59
|
isFilterBarrier: i.traceLocation.isFilterBarrier,
|
|
60
60
|
globalId: i.traceLocation.globalId,
|
|
61
61
|
percentAlong: i.traceLocation.percentAlong,
|
|
62
|
-
terminalId:
|
|
62
|
+
terminalId: o
|
|
63
63
|
}));
|
|
64
64
|
}) : e.push(i.traceLocation);
|
|
65
65
|
};
|
|
@@ -79,7 +79,7 @@ class A extends L {
|
|
|
79
79
|
if (!t || !e?.map)
|
|
80
80
|
return;
|
|
81
81
|
const { map: i } = e;
|
|
82
|
-
i.layers.find((
|
|
82
|
+
i.layers.find((o) => o === t) || i.add(t), i.reorder(t, i.layers.length - 1);
|
|
83
83
|
}
|
|
84
84
|
_createGraphicLayer(e) {
|
|
85
85
|
const { map: t } = this.view;
|
|
@@ -104,14 +104,14 @@ class A extends L {
|
|
|
104
104
|
_setSnappingOption() {
|
|
105
105
|
const { _sketchViewModel: e, _unLayers: t } = this;
|
|
106
106
|
if (e && t && t.length > 0) {
|
|
107
|
-
const i = new
|
|
107
|
+
const i = new s();
|
|
108
108
|
t.forEach((a) => {
|
|
109
|
-
a.type === "subtype-group" ? a.sublayers.forEach((
|
|
110
|
-
i.add(new
|
|
111
|
-
layer:
|
|
109
|
+
a.type === "subtype-group" ? a.sublayers.forEach((o) => {
|
|
110
|
+
i.add(new u({
|
|
111
|
+
layer: o,
|
|
112
112
|
enabled: !0
|
|
113
113
|
}));
|
|
114
|
-
}) : i.add(new
|
|
114
|
+
}) : i.add(new u({
|
|
115
115
|
layer: a,
|
|
116
116
|
enabled: !0
|
|
117
117
|
}));
|
|
@@ -123,11 +123,11 @@ class A extends L {
|
|
|
123
123
|
}
|
|
124
124
|
}
|
|
125
125
|
_initializeSketchViewModel() {
|
|
126
|
-
const { view: e, _unLayers: t } = this, i = this._getGraphicLayer(w), a = new
|
|
127
|
-
return t?.forEach((
|
|
128
|
-
layer:
|
|
126
|
+
const { view: e, _unLayers: t } = this, i = this._getGraphicLayer(w), a = new s();
|
|
127
|
+
return t?.forEach((o) => a.add(new u({
|
|
128
|
+
layer: o,
|
|
129
129
|
enabled: !0
|
|
130
|
-
}))), new
|
|
130
|
+
}))), new N({
|
|
131
131
|
layer: i,
|
|
132
132
|
view: e
|
|
133
133
|
});
|
|
@@ -147,7 +147,7 @@ class A extends L {
|
|
|
147
147
|
return;
|
|
148
148
|
const t = e.createQuery();
|
|
149
149
|
t.gdbVersion = this.selectedUtilityNetwork?.gdbVersion, t.where = this._getSubnetworkQueryWhereClause(), t.outFields = ["SUBNETWORKNAME"], t.orderByFields = ["SUBNETWORKNAME"];
|
|
150
|
-
const i =
|
|
150
|
+
const i = T.fromJSON(await b(e, t));
|
|
151
151
|
this.compatibleSubnetworkNames = i.features.filter(this._removeDuplicateSubnetworkNames).map((a) => a.getAttribute("SUBNETWORKNAME"));
|
|
152
152
|
}
|
|
153
153
|
_getSubnetworkQueryWhereClause() {
|
|
@@ -162,15 +162,15 @@ class A extends L {
|
|
|
162
162
|
_selectTraceConfigurationByGuid(e) {
|
|
163
163
|
const t = this.selectedUtilityNetwork?.sharedNamedTraceConfigurations.find((i) => i.globalId === e);
|
|
164
164
|
if (!t) {
|
|
165
|
-
|
|
165
|
+
l("error", this, "`traceConfig` not found in `selectedUtilityNetwork.sharedNamedTraceConfigurations`");
|
|
166
166
|
return;
|
|
167
167
|
}
|
|
168
168
|
this.selectedNamedTraceConfiguration = t;
|
|
169
169
|
}
|
|
170
170
|
_handleTraceConfigChange() {
|
|
171
171
|
const { selectedNamedTraceConfiguration: e } = this;
|
|
172
|
-
if (!(e?.traceConfiguration instanceof
|
|
173
|
-
|
|
172
|
+
if (!(e?.traceConfiguration instanceof S)) {
|
|
173
|
+
l("error", this, U("selectedNamedTraceConfiguration.traceConfiguration")), this._unTraceConfiguration = void 0;
|
|
174
174
|
return;
|
|
175
175
|
}
|
|
176
176
|
switch (this._unTraceConfiguration = e.traceConfiguration.clone(), e.traceType) {
|
|
@@ -187,12 +187,12 @@ class A extends L {
|
|
|
187
187
|
}
|
|
188
188
|
_filterUnLayers() {
|
|
189
189
|
const { selectedUtilityNetwork: e } = this;
|
|
190
|
-
this._unLayers = new
|
|
190
|
+
this._unLayers = new s(this._allLayers.filter((t) => e?.isUtilityLayer(t))), this._setSnappingOption();
|
|
191
191
|
}
|
|
192
192
|
_handleUtilityNetworksChange() {
|
|
193
193
|
const { utilityNetworks: e } = this;
|
|
194
194
|
if (!e || e.length === 0) {
|
|
195
|
-
this._state = "error",
|
|
195
|
+
this._state = "error", l("error", this, E("utilityNetworks"));
|
|
196
196
|
return;
|
|
197
197
|
}
|
|
198
198
|
(!this.selectedUtilityNetwork || !e.includes(this.selectedUtilityNetwork)) && (this.selectedUtilityNetwork = e.at(0));
|
|
@@ -202,20 +202,20 @@ class A extends L {
|
|
|
202
202
|
const e = this.view.map;
|
|
203
203
|
await e.load(), this.utilityNetworks = e.utilityNetworks || void 0;
|
|
204
204
|
} else
|
|
205
|
-
this._state = "disabled",
|
|
205
|
+
this._state = "disabled", l("error", this, "The property `view.map` is required to load utility networks but is missing.");
|
|
206
206
|
}
|
|
207
207
|
_handleTraceLocationSelectStart(e) {
|
|
208
|
-
if (e.stopPropagation(), this.arcgisTraceLocationSelectStart.emit().defaultPrevented) {
|
|
208
|
+
if (e.stopPropagation(), this.arcgisTraceLocationSelectStart.emit(e.detail).defaultPrevented) {
|
|
209
209
|
e.preventDefault();
|
|
210
210
|
return;
|
|
211
211
|
}
|
|
212
212
|
this._activeTraceLocationType = e?.target?.traceLocationType, this.mode = "add-spatial";
|
|
213
213
|
}
|
|
214
|
-
_handleTraceLocationSelectEnd() {
|
|
215
|
-
this._activeTraceLocationType = void 0, this.mode = "default";
|
|
214
|
+
_handleTraceLocationSelectEnd(e) {
|
|
215
|
+
e.stopPropagation(), this.arcgisTraceLocationSelectEnd.emit(), this._activeTraceLocationType = void 0, this.mode = "default";
|
|
216
216
|
}
|
|
217
217
|
_handleFlowItemBack() {
|
|
218
|
-
this.
|
|
218
|
+
this._activeTraceLocationType = void 0, this.mode = "default", this._sketchViewModel?.cancel();
|
|
219
219
|
}
|
|
220
220
|
renderError(e, t = !1, i) {
|
|
221
221
|
return r`<calcite-notice .closable=${t} kind=danger open scale=s width=auto .icon=${i}><div slot=message>${e}</div></calcite-notice>`;
|
|
@@ -227,15 +227,15 @@ class A extends L {
|
|
|
227
227
|
const { _messages: e, traceConfigurations: t } = this, i = e.labels.traceConfiguration;
|
|
228
228
|
if (t.length === 0)
|
|
229
229
|
return this.renderError(e.errors.noTraceConfigurationError, !0);
|
|
230
|
-
const a = d(t, (
|
|
231
|
-
return r`<calcite-block .heading=${i} .label=${i} expanded><calcite-select .label=${i} .value=${this.selectedNamedTraceConfiguration?.globalId || void 0} @calciteSelectChange=${(
|
|
232
|
-
this._selectTraceConfigurationByGuid(
|
|
230
|
+
const a = d(t, (o) => o.globalId, (o) => r`<calcite-option .value=${o.globalId}>${o.title}</calcite-option>`);
|
|
231
|
+
return r`<calcite-block .heading=${i} .label=${i} expanded><calcite-select .label=${i} .value=${this.selectedNamedTraceConfiguration?.globalId || void 0} @calciteSelectChange=${(o) => {
|
|
232
|
+
this._selectTraceConfigurationByGuid(o.target.value);
|
|
233
233
|
}}>${a}</calcite-select></calcite-block>`;
|
|
234
234
|
}
|
|
235
235
|
renderUtilityNetworkSelection() {
|
|
236
236
|
const { _messages: e } = this, t = e.labels.utilityNetwork, i = d(this.utilityNetworks, (a) => a.id, (a) => r`<calcite-option .value=${a.id}>${a.title}</calcite-option>`).toArray();
|
|
237
237
|
return r`<calcite-block .heading=${t} .label=${t} expanded><calcite-select .label=${t} .value=${this.selectedUtilityNetwork?.id} @calciteSelectChange=${(a) => {
|
|
238
|
-
this.selectedUtilityNetwork?.id !== a.target.value && (this.selectedUtilityNetwork = this.utilityNetworks?.find((
|
|
238
|
+
this.selectedUtilityNetwork?.id !== a.target.value && (this.selectedUtilityNetwork = this.utilityNetworks?.find((o) => o.id === a.target.value));
|
|
239
239
|
}}>${i}</calcite-select></calcite-block>`;
|
|
240
240
|
}
|
|
241
241
|
renderDefaultMode() {
|
|
@@ -247,13 +247,13 @@ class A extends L {
|
|
|
247
247
|
return r`<calcite-flow-item selected .heading=${i} @calciteFlowItemBack=${() => this._handleFlowItemBack()}><div class=${h(p.addSpatialMode)}><calcite-icon icon=pin-plus scale=l></calcite-icon>${e.instructions.addSpatial}</div></calcite-flow-item>`;
|
|
248
248
|
}
|
|
249
249
|
renderStartingPointSelection() {
|
|
250
|
-
return r`<arcgis-utility-network-trace-location .view=${this.view} trace-location-type=starting-point @arcgisTraceLocationSelectStart=${
|
|
250
|
+
return r`<arcgis-utility-network-trace-location .view=${this.view} trace-location-type=starting-point .beforeTraceLocationSelectStart=${this.beforeTraceLocationSelectStart} @arcgisTraceLocationSelectStart=${this._handleTraceLocationSelectStart} @arcgisTraceLocationSelectEnd=${this._handleTraceLocationSelectEnd} @arcgisTraceLocationChange=${() => this.arcgisTraceInputsChange.emit()} .sketchViewModel=${this._sketchViewModel} .utilityNetwork=${this.selectedUtilityNetwork} .filterLayers=${this._unLayers} .flagLayer=${this._getGraphicLayer(n)} .traceLocations=${this._startingPoints}></arcgis-utility-network-trace-location>`;
|
|
251
251
|
}
|
|
252
252
|
renderStoppingPointSelection() {
|
|
253
|
-
return r`<arcgis-utility-network-trace-location .view=${this.view} trace-location-type=stopping-point @arcgisTraceLocationSelectStart=${
|
|
253
|
+
return r`<arcgis-utility-network-trace-location .view=${this.view} trace-location-type=stopping-point .beforeTraceLocationSelectStart=${this.beforeTraceLocationSelectStart} @arcgisTraceLocationSelectStart=${this._handleTraceLocationSelectStart} @arcgisTraceLocationSelectEnd=${this._handleTraceLocationSelectEnd} @arcgisTraceLocationChange=${() => this.arcgisTraceInputsChange.emit()} .sketchViewModel=${this._sketchViewModel} .utilityNetwork=${this.selectedUtilityNetwork} .filterLayers=${this._unLayers} .flagLayer=${this._getGraphicLayer(n)} .traceLocations=${this._stoppingPoints}></arcgis-utility-network-trace-location>`;
|
|
254
254
|
}
|
|
255
255
|
renderBarrierSelection() {
|
|
256
|
-
return r`<arcgis-utility-network-trace-location .view=${this.view} trace-location-type=barrier @arcgisTraceLocationSelectStart=${
|
|
256
|
+
return r`<arcgis-utility-network-trace-location .view=${this.view} trace-location-type=barrier .beforeTraceLocationSelectStart=${this.beforeTraceLocationSelectStart} @arcgisTraceLocationSelectStart=${this._handleTraceLocationSelectStart} @arcgisTraceLocationSelectEnd=${this._handleTraceLocationSelectEnd} @arcgisTraceLocationChange=${() => this.arcgisTraceInputsChange.emit()} .sketchViewModel=${this._sketchViewModel} .utilityNetwork=${this.selectedUtilityNetwork} .filterLayers=${this._unLayers} .flagLayer=${this._getGraphicLayer(n)} .traceLocations=${this._barriers}></arcgis-utility-network-trace-location>`;
|
|
257
257
|
}
|
|
258
258
|
renderSubnetworkNameInput() {
|
|
259
259
|
return r`<calcite-input clearable type=text .placeholder=${this._messages.instructions.enterSubnetworkName} max-length=64 .value=${this.selectedSubnetworkName} @calciteInputInput=${(e) => this.selectedSubnetworkName = e.target.value}></calcite-input>`;
|
|
@@ -273,7 +273,7 @@ class A extends L {
|
|
|
273
273
|
const { utilityNetworks: e } = this, t = this.selectedNamedTraceConfiguration?.traceConfiguration;
|
|
274
274
|
if (!e || e.length === 0)
|
|
275
275
|
return this.renderError(this._messages.errors.noUtilityNetworkError);
|
|
276
|
-
const i = r`${this.renderTraceSelection()}${this.renderSubnetworkInfo()}${this.renderSubnetworkSelection()}`, a = this.selectedNamedTraceConfiguration?.traceType,
|
|
276
|
+
const i = r`${this.renderTraceSelection()}${this.renderSubnetworkInfo()}${this.renderSubnetworkSelection()}`, a = this.selectedNamedTraceConfiguration?.traceType, o = !(t?.subnetworkName && a === "subnetwork"), m = a === "path" || a === "circuit", k = r`${o ? this.renderStartingPointSelection() : null}${m ? this.renderStoppingPointSelection() : null}${this.renderBarrierSelection()}`;
|
|
277
277
|
return r`<calcite-block-group .label=${this._messages.labels.traceInputs}>${e.length > 1 ? this.renderUtilityNetworkSelection() : null}${this.selectedUtilityNetwork?.loaded ? i : this.renderLoader()}${t ? k : null}</calcite-block-group>`;
|
|
278
278
|
}
|
|
279
279
|
render() {
|
|
@@ -281,7 +281,7 @@ class A extends L {
|
|
|
281
281
|
return r`<div class=${h(p.base)}><calcite-flow>${this.renderDefaultMode()}${e === "add-spatial" ? this.renderAddSpatialMode() : null}</calcite-flow></div>`;
|
|
282
282
|
}
|
|
283
283
|
}
|
|
284
|
-
y("arcgis-utility-network-trace-inputs",
|
|
284
|
+
y("arcgis-utility-network-trace-inputs", P);
|
|
285
285
|
export {
|
|
286
|
-
|
|
286
|
+
P as ArcgisUtilityNetworkTraceInputs
|
|
287
287
|
};
|