@arcgis/map-components 5.0.0-next.91 → 5.0.0-next.93
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/{OYGGYFM4.js → 2EYPXTFF.js} +2 -2
- package/dist/cdn/2K74GELP.js +4 -0
- package/dist/cdn/{QJTGBD6X.js → 2MFHV2FO.js} +2 -2
- package/dist/cdn/{CT57DBRY.js → 2SYLV43C.js} +2 -2
- package/dist/cdn/{SSK2N7WW.js → 2WH47QS4.js} +2 -2
- package/dist/cdn/{6FNU7LLK.js → 2X52Y4DY.js} +1 -1
- package/dist/cdn/{6BKQVMG2.js → 32MTZMAK.js} +2 -2
- package/dist/cdn/{5U7C6G2W.js → 34CMKCGC.js} +2 -2
- package/dist/cdn/{NL6T7BPU.js → 35GBBPCC.js} +2 -2
- package/dist/cdn/3CMXOQKR.js +4 -0
- package/dist/cdn/{HVI4HJHE.js → 3GSCALYO.js} +2 -2
- package/dist/cdn/{6HYJO5OG.js → 3I4WU4YC.js} +2 -2
- package/dist/cdn/{CERGZ6NT.js → 3ZJYJKT4.js} +1 -1
- package/dist/cdn/{RDHECM5U.js → 4CBRPUWP.js} +2 -2
- package/dist/cdn/{DXJI63DK.js → 4CS2VL3M.js} +1 -1
- package/dist/cdn/{5Z4WDZ7N.js → 4OME7L5U.js} +2 -2
- package/dist/cdn/{KQWBRXMA.js → 4QKW66H5.js} +2 -2
- package/dist/cdn/{55KFO5CX.js → 4SMNBNGK.js} +2 -2
- package/dist/cdn/{CWMPJEKA.js → 52BXF3C7.js} +2 -2
- package/dist/cdn/{GNXABHKT.js → 54V2IFLH.js} +2 -2
- package/dist/cdn/{53KK4WBP.js → 57QYO2SZ.js} +2 -2
- package/dist/cdn/{V6P4B3WO.js → 5AZGJJBB.js} +2 -2
- package/dist/cdn/{RK2QPRRK.js → 5BNYLJUH.js} +2 -2
- package/dist/cdn/{IUD3QJYC.js → 5CRZIWKK.js} +2 -2
- package/dist/cdn/{WG4DXJ4T.js → 5DYLDR23.js} +1 -1
- package/dist/cdn/5OPBLLLV.js +4 -0
- package/dist/cdn/{4BOXQI4C.js → 5RMRGBB6.js} +2 -2
- package/dist/cdn/{7HY7X6MN.js → 5TRI5LVW.js} +2 -2
- package/dist/cdn/{DR7SVRJF.js → 5W4G4PNT.js} +2 -2
- package/dist/cdn/{OZZ2C7NU.js → 5X7I5S7U.js} +1 -1
- package/dist/cdn/62PN6GJT.js +4 -0
- package/dist/cdn/{KESCDVE4.js → 6DR2R4FP.js} +2 -2
- package/dist/cdn/{AMZEOKDR.js → 6FNWDXZ7.js} +2 -2
- package/dist/cdn/{XG7GUCKZ.js → 6PJ27SYB.js} +2 -2
- package/dist/cdn/{NUM4I2XN.js → 6TUT4EAX.js} +2 -2
- package/dist/cdn/{DFRT6XXV.js → 7CIDOHVU.js} +2 -2
- package/dist/cdn/{TKLFLDXV.js → 7WYEZ3Z3.js} +2 -2
- package/dist/cdn/{RK7PFFA5.js → 7ZQ2L277.js} +2 -2
- package/dist/cdn/{IMXL54YJ.js → A2BLKHQ2.js} +2 -2
- package/dist/cdn/{CPIHPBMX.js → AAMNBOQU.js} +2 -2
- package/dist/cdn/{UFGQXXVJ.js → AGQVEZYR.js} +2 -2
- package/dist/cdn/{CJKCLZTV.js → APEJ2ZG4.js} +2 -2
- package/dist/cdn/{FVDWM3UW.js → ATVD3FQ5.js} +2 -2
- package/dist/cdn/{ZARBNZSI.js → B53ZEH7P.js} +2 -2
- package/dist/cdn/{CXMUDHE2.js → BC3MKGHQ.js} +2 -2
- package/dist/cdn/{DYGVURCV.js → BDUP5B7P.js} +2 -2
- package/dist/cdn/{5QC4FGZU.js → BEPXBBSX.js} +2 -2
- package/dist/cdn/{LTBTGHGQ.js → BIESEO2T.js} +2 -2
- package/dist/cdn/{U7LVYYBG.js → BJ4X4HTB.js} +2 -2
- package/dist/cdn/{S2ALDXOC.js → BJIJTBTP.js} +2 -2
- package/dist/cdn/{LDFYBTG7.js → BML7RRFR.js} +2 -2
- package/dist/cdn/{WW3WGDJ3.js → BV4QE6GM.js} +1 -1
- package/dist/cdn/{QVBN7TCB.js → BXSJVOYL.js} +2 -2
- package/dist/cdn/{VS36V4IF.js → C52USQZY.js} +2 -2
- package/dist/cdn/{MKGWOZ5O.js → CAG5LQXB.js} +2 -2
- package/dist/cdn/{DNUFN6KO.js → CHY3F7MV.js} +2 -2
- package/dist/cdn/{I4HUVWOM.js → CSH7OOTY.js} +2 -2
- package/dist/cdn/{4C6RF2QY.js → CZFKF7LP.js} +2 -2
- package/dist/cdn/{NZO5C44C.js → D3IOFFLC.js} +2 -2
- package/dist/cdn/{6DXSMQGD.js → D4VAL7CE.js} +2 -2
- package/dist/cdn/{WYJQICAY.js → DCS6TDWA.js} +2 -2
- package/dist/cdn/DDV75YFQ.js +4 -0
- package/dist/cdn/{2HW3HWPX.js → DFNYQ5GZ.js} +2 -2
- package/dist/cdn/{SIKPDBZG.js → DH5N3EYA.js} +2 -2
- package/dist/cdn/{BWFY2GNX.js → DJCU27HU.js} +2 -2
- package/dist/cdn/{5WP6EICH.js → DSDVOPJK.js} +2 -2
- package/dist/cdn/{NALRCLE3.js → DUV6P2BW.js} +2 -2
- package/dist/cdn/{XDSREGSM.js → DXNK2ST2.js} +2 -2
- package/dist/cdn/{BP4XKVZD.js → DY2OV6SZ.js} +2 -2
- package/dist/cdn/{ASZXOZIM.js → E7KEDQNU.js} +2 -2
- package/dist/cdn/{CGQPEAK3.js → EBUGK35V.js} +2 -2
- package/dist/cdn/{HTAUNEEY.js → ECR6L3R2.js} +2 -2
- package/dist/cdn/{KOSWM4OY.js → ED3BHEDS.js} +2 -2
- package/dist/cdn/{O4GE5B7N.js → EMVSZXV7.js} +2 -2
- package/dist/cdn/{2MXOM52G.js → EYU24CV4.js} +2 -2
- package/dist/cdn/{R6DFAVBI.js → FCRLQNLN.js} +2 -2
- package/dist/cdn/{LCKWUZW6.js → FH6Z5IXS.js} +2 -2
- package/dist/cdn/{BS73JHFW.js → FM3QTS3C.js} +2 -2
- package/dist/cdn/{HLY2LX7U.js → FMCNJXL6.js} +2 -2
- package/dist/cdn/FMJLLGYF.js +4 -0
- package/dist/cdn/{YOMXSFFA.js → FOVSEOSY.js} +2 -2
- package/dist/cdn/{VPUD34CZ.js → FPAYDY37.js} +2 -2
- package/dist/cdn/{KCMNURTM.js → FRR2JOHO.js} +2 -2
- package/dist/cdn/FRUXL4XG.js +4 -0
- package/dist/cdn/FYLJCJ44.js +4 -0
- package/dist/cdn/{KXWMHEUU.js → G2DLQJ7Y.js} +2 -2
- package/dist/cdn/{KFWSPWIO.js → GBRRLZHP.js} +2 -2
- package/dist/cdn/{JN3WVXZT.js → GEDZJZUA.js} +2 -2
- package/dist/cdn/GGC2FX5Z.js +4 -0
- package/dist/cdn/{YBFSKJWO.js → GHKQYCOR.js} +2 -2
- package/dist/cdn/{JVTH36NL.js → GIN554OU.js} +2 -2
- package/dist/cdn/{VXEPNA4U.js → GJ6HSQQ4.js} +2 -2
- package/dist/cdn/{F4HPN42L.js → GXUPEC6W.js} +2 -2
- package/dist/cdn/{7S6SFLC5.js → GYMFVTHG.js} +2 -2
- package/dist/cdn/{J6Q5MRI7.js → H6VQWOFY.js} +2 -2
- package/dist/cdn/{HMDB77XX.js → H7OJS4LM.js} +2 -2
- package/dist/cdn/{ILGHVUYY.js → HF7CWC2S.js} +2 -2
- package/dist/cdn/{J62SKED4.js → HXVTT6O6.js} +2 -2
- package/dist/cdn/{QRG7NKLV.js → HYBN7ELI.js} +2 -2
- package/dist/cdn/{GXSHQ2G5.js → I5CTO7YJ.js} +2 -2
- package/dist/cdn/{ZLBE77BX.js → I7JCDSDM.js} +1 -1
- package/dist/cdn/{JAKS5FXB.js → IEEHHP3U.js} +2 -2
- package/dist/cdn/{TZRRRPXW.js → IJ5BRIGD.js} +2 -2
- package/dist/cdn/{N3BAMOML.js → IKNWZBGW.js} +1 -1
- package/dist/cdn/{O7RSYCM5.js → IPBMELVN.js} +2 -2
- package/dist/cdn/{GGAK5PXP.js → IPHW34NC.js} +2 -2
- package/dist/cdn/{X7GEX3I2.js → J2EF2ZWX.js} +2 -2
- package/dist/cdn/{DLAHXKSD.js → JFECILAK.js} +2 -2
- package/dist/cdn/{5JZNEBUB.js → JHFFVOHO.js} +2 -2
- package/dist/cdn/{CVPOVGAH.js → JLID32C6.js} +2 -2
- package/dist/cdn/{54MQDNAV.js → JMC23YQA.js} +2 -2
- package/dist/cdn/{B3VEO32T.js → JOSZK26L.js} +2 -2
- package/dist/cdn/{63T3WESR.js → JP2GTDWK.js} +2 -2
- package/dist/cdn/{QIIKVQJZ.js → JU7BX5YV.js} +2 -2
- package/dist/cdn/{Y2RGYX3T.js → K2XL3QAA.js} +2 -2
- package/dist/cdn/{SKELVPOX.js → KA77ECLW.js} +2 -2
- package/dist/cdn/{LNASNNFB.js → KF3KYUW7.js} +2 -2
- package/dist/cdn/KHH2SII2.js +4 -0
- package/dist/cdn/{U35XJALI.js → KJ2BZIKS.js} +2 -2
- package/dist/cdn/{E3WSMIS6.js → KK4KQV3W.js} +2 -2
- package/dist/cdn/{EIS5AMJG.js → KME3B73D.js} +2 -2
- package/dist/cdn/{RUKJ4DFS.js → KPIKIXNF.js} +2 -2
- package/dist/cdn/{4CGZDAGZ.js → KVNZ7JCO.js} +2 -2
- package/dist/cdn/{6G2ZCH63.js → L33TUHSN.js} +2 -2
- package/dist/cdn/{4W2LGKEX.js → L47HCJ6Z.js} +2 -2
- package/dist/cdn/{Y2U6LLTH.js → LFBLDB44.js} +2 -2
- package/dist/cdn/{UICEULDX.js → LJE4Y7BY.js} +2 -2
- package/dist/cdn/{EPBI7M76.js → LSE6FZBG.js} +2 -2
- package/dist/cdn/{5SCGZBII.js → LTGS7O3N.js} +2 -2
- package/dist/cdn/{S2QURR2A.js → M3D2NYN3.js} +1 -1
- package/dist/cdn/{L24BTNVL.js → MEYRGFBH.js} +2 -2
- package/dist/cdn/{DCXTXB7R.js → MT2GC6YZ.js} +2 -2
- package/dist/cdn/{BG3DVYGP.js → MZ56KGFA.js} +2 -2
- package/dist/cdn/{SLC4YGY2.js → NE7YXC43.js} +2 -2
- package/dist/cdn/NMDU3UET.js +4 -0
- package/dist/cdn/{Z5NXVC7O.js → NMF2M4P3.js} +1 -1
- package/dist/cdn/{72USJ2W5.js → NMGGHZL2.js} +2 -2
- package/dist/cdn/{K4IPIMJB.js → NTFEZJBT.js} +2 -2
- package/dist/cdn/{ZAWY2BH6.js → NZWVCVZW.js} +2 -2
- package/dist/cdn/{AKTTWR3Z.js → OADUNXKK.js} +2 -2
- package/dist/cdn/{IZWC7Q25.js → OEPP6CY5.js} +2 -2
- package/dist/cdn/{WZAWZYUW.js → OGC3V7MA.js} +2 -2
- package/dist/cdn/{OETKUDN7.js → OIXKJYZO.js} +2 -2
- package/dist/cdn/{RGFC2BOI.js → OP47YISE.js} +2 -2
- package/dist/cdn/{SVAAUL7E.js → OW7J5X2Q.js} +2 -2
- package/dist/cdn/{7S5ZZYU5.js → OZMRRK2Y.js} +1 -1
- package/dist/cdn/{H7MM3AI6.js → PBU27SUZ.js} +2 -2
- package/dist/cdn/{TXOH5L5P.js → PJ77LCUF.js} +2 -2
- package/dist/cdn/{TQMLSC2M.js → PKHDNANW.js} +2 -2
- package/dist/cdn/{GCPNUMA4.js → PL6CQKLM.js} +2 -2
- package/dist/cdn/{ZSGBT2YM.js → PORSXLRL.js} +2 -2
- package/dist/cdn/{TAPETWFK.js → PSKZO72G.js} +2 -2
- package/dist/cdn/{GFFMXW3J.js → PV3TETKY.js} +2 -2
- package/dist/cdn/{QKRVR6Y4.js → PYZFQI5C.js} +2 -2
- package/dist/cdn/{3HH3MDZU.js → PZK7B2TL.js} +1 -1
- package/dist/cdn/{TQLIUPFP.js → Q35KRAVX.js} +2 -2
- package/dist/cdn/{V4M2VHJ7.js → QC53WM4B.js} +2 -2
- package/dist/cdn/{YFRK5OD4.js → QMZBTERZ.js} +2 -2
- package/dist/cdn/{ZFYMVQF2.js → QO6QN3IQ.js} +1 -1
- package/dist/cdn/{EJVLZACM.js → QPVKKBNQ.js} +2 -2
- package/dist/cdn/{XKZFAZSK.js → QRPTMJFT.js} +2 -2
- package/dist/cdn/{KQITRKYV.js → QTPE6SDR.js} +2 -2
- package/dist/cdn/R53VENXY.js +4 -0
- package/dist/cdn/{7VFICZ76.js → R5BNVR66.js} +2 -2
- package/dist/cdn/{FTFQKFO7.js → RDVX7SAC.js} +2 -2
- package/dist/cdn/{6WIN4KZX.js → RECGDWS6.js} +2 -2
- package/dist/cdn/{JDGRNN6T.js → RFSWEQ3H.js} +2 -2
- package/dist/cdn/{OBWV5SDX.js → RHLKZA34.js} +2 -2
- package/dist/cdn/{IM3N4UBA.js → RMFHLF4D.js} +2 -2
- package/dist/cdn/{3VC3OOFY.js → RMXLEHFL.js} +1 -1
- package/dist/cdn/{WVFZX26G.js → RN65F4EU.js} +1 -1
- package/dist/cdn/{Y75VOSOY.js → ROUSH4OT.js} +1 -1
- package/dist/cdn/{7YCHDWAG.js → RPXF2UPY.js} +2 -2
- package/dist/cdn/{JW3W2BCF.js → RUGXQBMX.js} +2 -2
- package/dist/cdn/{RBDFESOB.js → RVDVMDEI.js} +2 -2
- package/dist/cdn/{WVXX3CEJ.js → RZVTUV5J.js} +2 -2
- package/dist/cdn/S2V2W4SB.js +4 -0
- package/dist/cdn/{FDXSLXQR.js → S2WAX7GH.js} +2 -2
- package/dist/cdn/{SNKGZTEH.js → S37WFNKC.js} +2 -2
- package/dist/cdn/{3THL4ZH2.js → SGCY6SLE.js} +2 -2
- package/dist/cdn/{TJWR6SQK.js → SGSYHTAS.js} +2 -2
- package/dist/cdn/{VAIV5W6J.js → SHWLBIX6.js} +2 -2
- package/dist/cdn/{5TLIIGGG.js → SIHNLNEA.js} +2 -2
- package/dist/cdn/{JDCEOU7Q.js → SK6QCPID.js} +2 -2
- package/dist/cdn/{W3OL2PFI.js → SLSJQU47.js} +2 -2
- package/dist/cdn/{IQZISAAD.js → SMIJSUYR.js} +2 -2
- package/dist/cdn/{RBLWRHGF.js → SSIAIKDQ.js} +2 -2
- package/dist/cdn/{V4YWEUA2.js → STOXIMCR.js} +2 -2
- package/dist/cdn/{ZMVIVW5N.js → SU2VWWCB.js} +2 -2
- package/dist/cdn/{2K5ZLEWY.js → SVUYFYTV.js} +2 -2
- package/dist/cdn/T6V4IFOB.js +4 -0
- package/dist/cdn/{BNYMZR4K.js → TC6ZBBSA.js} +2 -2
- package/dist/cdn/{TCVBYSLJ.js → TEDENAD4.js} +2 -2
- package/dist/cdn/{7GJ4XR5C.js → TFMLH5Y7.js} +2 -2
- package/dist/cdn/{JSAKKAFL.js → TMDOKN2X.js} +2 -2
- package/dist/cdn/{JUA2Y7YN.js → TP7S47WJ.js} +2 -2
- package/dist/cdn/TVL5HYIC.js +4 -0
- package/dist/cdn/{LHS3JGZW.js → TVX53RNP.js} +3 -3
- package/dist/cdn/{NGO3EPZO.js → TXOHBSWG.js} +2 -2
- package/dist/cdn/{MG5SAVQE.js → TYQXL7A4.js} +2 -2
- package/dist/cdn/{KGJKY5MO.js → UJSWN5OK.js} +2 -2
- package/dist/cdn/{CSVOFHDL.js → UO3ICPPO.js} +2 -2
- package/dist/cdn/{DWDF4NAR.js → USUYE22F.js} +1 -1
- package/dist/cdn/{32HA2CTR.js → VIXVEUAB.js} +2 -2
- package/dist/cdn/{EHQQEL2S.js → VKTDHEVF.js} +2 -2
- package/dist/cdn/{SLQKQBYP.js → VVPVLBUG.js} +2 -2
- package/dist/cdn/{ILJBHHS6.js → VZM35ZQQ.js} +2 -2
- package/dist/cdn/{ZXE4TQ4F.js → VZUX5GLE.js} +2 -2
- package/dist/cdn/{CJK4TQOK.js → W2OTNRWP.js} +2 -2
- package/dist/cdn/{6OQ2QUJV.js → WDRS2XCE.js} +2 -2
- package/dist/cdn/{Q5PE24UY.js → WHAFO4LN.js} +2 -2
- package/dist/cdn/{BXMBSMDA.js → WIKGAJKR.js} +2 -2
- package/dist/cdn/{KLMPU2PE.js → WIXVZBFB.js} +2 -2
- package/dist/cdn/{UVNKYQA2.js → WJAYVKAD.js} +2 -2
- package/dist/cdn/{4WSQLHYR.js → WQ3225KQ.js} +2 -2
- package/dist/cdn/{BSPHRPTQ.js → WQF4MTVK.js} +2 -2
- package/dist/cdn/{PFW7TBZ2.js → WWIXIXO7.js} +2 -2
- package/dist/cdn/{BZXKK73B.js → WXEYFVOL.js} +2 -2
- package/dist/cdn/{TBP4FOF4.js → XL77TBYE.js} +2 -2
- package/dist/cdn/{C6JWR527.js → XXW2QC25.js} +2 -2
- package/dist/cdn/{QKAQGLWX.js → XY2ASQQU.js} +2 -2
- package/dist/cdn/Y5MTNOE5.js +4 -0
- package/dist/cdn/{XEXK7AAA.js → Y7FLQZHJ.js} +2 -2
- package/dist/cdn/{DIVB3TZ2.js → YL37TWFC.js} +2 -2
- package/dist/cdn/{CFF2GEPZ.js → YUBAO2CT.js} +2 -2
- package/dist/cdn/{3C23QDX5.js → YXWMLFTR.js} +2 -2
- package/dist/cdn/{SW5JVGGO.js → YXXO76V2.js} +2 -2
- package/dist/cdn/{R4X2JOMK.js → YYFPAH2X.js} +2 -2
- package/dist/cdn/{RPJBJSJJ.js → YYSU3XOB.js} +2 -2
- package/dist/cdn/{DQBRIL3M.js → ZC72KBRO.js} +2 -2
- package/dist/cdn/{IZ3GKZZA.js → ZJ33DUZU.js} +2 -2
- package/dist/cdn/{T7MEIMOR.js → ZQ7REL2H.js} +2 -2
- package/dist/cdn/{UBRXGCEA.js → ZTXTDD7V.js} +2 -2
- package/dist/cdn/index.js +2 -2
- package/dist/chunks/AnalysisViewModel.js +77 -80
- 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.js +1 -1
- package/dist/components/arcgis-area-measurement-3d/customElement.js +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.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.js +1 -1
- 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.js +1 -1
- 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.js +1 -1
- package/dist/components/arcgis-directional-pad/customElement.js +1 -1
- package/dist/components/arcgis-directions/customElement.js +1 -1
- package/dist/components/arcgis-distance-measurement-2d/customElement.js +1 -1
- package/dist/components/arcgis-editor/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile/ElevationProfileViewModel.d.ts +1 -1
- package/dist/components/arcgis-elevation-profile/customElement.d.ts +5 -4
- package/dist/components/arcgis-elevation-profile/customElement.js +15 -15
- 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.js +1 -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.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.js +1 -1
- package/dist/components/arcgis-feature-templates/customElement.d.ts +1 -1
- 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.js +1 -1
- package/dist/components/arcgis-floor-filter/customElement.js +1 -1
- package/dist/components/arcgis-fullscreen/customElement.js +1 -1
- package/dist/components/arcgis-grid-controls/customElement.js +1 -1
- package/dist/components/arcgis-histogram-range-slider/customElement.js +1 -1
- package/dist/components/arcgis-home/customElement.js +1 -1
- package/dist/components/arcgis-labeled-switch/customElement.js +1 -1
- 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.js +1 -1
- package/dist/components/arcgis-link-chart/customElement.js +1 -1
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +1 -1
- package/dist/components/arcgis-locate/customElement.js +1 -1
- 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.js +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.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-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.js +1 -1
- 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 +1 -3
- package/dist/components/arcgis-shadow-cast/customElement.js +36 -43
- 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.js +1 -1
- package/dist/components/arcgis-slice/customElement.js +1 -1
- 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.js +1 -1
- package/dist/components/arcgis-time-slider/customElement.js +1 -1
- package/dist/components/arcgis-time-zone-label/customElement.js +1 -1
- package/dist/components/arcgis-track/customElement.js +1 -1
- 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.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.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.js +1 -1
- package/dist/components/arcgis-video-player/customElement.d.ts +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.js +1 -1
- package/dist/components/arcgis-weather/customElement.js +1 -1
- package/dist/components/arcgis-zoom/customElement.js +1 -1
- package/dist/docs/api.json +179 -31
- package/dist/docs/docs.json +208 -46
- package/dist/docs/vscode.html-custom-data.json +3 -3
- package/dist/docs/web-types.json +63 -24
- package/dist/index.d.ts +2 -0
- package/dist/index.js +1 -1
- package/dist/loader.js +5 -5
- package/dist/support/AnalysisViewModel.d.ts +2 -2
- package/dist/types/lumina.d.ts +5 -3
- package/dist/types/preact.d.ts +5 -3
- package/dist/types/preact10.d.ts +5 -3
- package/dist/types/react.d.ts +5 -3
- package/dist/types/stencil.d.ts +5 -3
- package/package.json +4 -4
- package/dist/cdn/3WT7E7DL.js +0 -4
- package/dist/cdn/4NNTVXLQ.js +0 -4
- package/dist/cdn/CX5H4WMP.js +0 -4
- package/dist/cdn/DN6IWTEQ.js +0 -4
- package/dist/cdn/FZW5VW6V.js +0 -4
- package/dist/cdn/LKPXPXIZ.js +0 -4
- package/dist/cdn/LQ2GUHKY.js +0 -4
- package/dist/cdn/N2YRIWOV.js +0 -4
- package/dist/cdn/NGN2RFPG.js +0 -4
- package/dist/cdn/NL3UKWVQ.js +0 -4
- package/dist/cdn/PJLXJX24.js +0 -4
- package/dist/cdn/RERS3NAR.js +0 -4
- package/dist/cdn/TEGQM2RE.js +0 -4
- package/dist/cdn/U2XWLW3W.js +0 -4
- package/dist/cdn/UCPD6TOE.js +0 -4
- package/dist/cdn/UHFX2KPF.js +0 -4
|
@@ -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.93 */
|
|
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.93 */
|
|
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.93 */
|
|
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
|
};
|
|
@@ -25,6 +25,9 @@ export interface FlagInfo {
|
|
|
25
25
|
};
|
|
26
26
|
}
|
|
27
27
|
export type TraceLocationType = "barrier" | "starting-point" | "stopping-point";
|
|
28
|
+
export interface SelectStartPayload {
|
|
29
|
+
cancelSelect: () => void;
|
|
30
|
+
}
|
|
28
31
|
|
|
29
32
|
/**
|
|
30
33
|
* This is a sub-component used by the **ArcgisUtilityNetworkTraceAnalysis** component.
|
|
@@ -38,6 +41,12 @@ export type TraceLocationType = "barrier" | "starting-point" | "stopping-point";
|
|
|
38
41
|
* @internal
|
|
39
42
|
*/
|
|
40
43
|
export declare class ArcgisUtilityNetworkTraceLocation extends LitElement {
|
|
44
|
+
/**
|
|
45
|
+
* A function to run before trace location selection starts.
|
|
46
|
+
*
|
|
47
|
+
* @experimental
|
|
48
|
+
*/
|
|
49
|
+
beforeTraceLocationSelectStart?: () => Promise<void>;
|
|
41
50
|
/** @required */
|
|
42
51
|
view?: MapView;
|
|
43
52
|
/** @default "starting-point" */
|
|
@@ -51,6 +60,17 @@ export declare class ArcgisUtilityNetworkTraceLocation extends LitElement {
|
|
|
51
60
|
/** @required The utility network to perform the trace on. */
|
|
52
61
|
utilityNetwork?: UtilityNetwork;
|
|
53
62
|
readonly arcgisTraceLocationChange: TargetedEvent<this, void>;
|
|
63
|
+
/**
|
|
64
|
+
* Fires when the user completes the selection of a trace location.
|
|
65
|
+
*
|
|
66
|
+
* @experimental
|
|
67
|
+
*/
|
|
54
68
|
readonly arcgisTraceLocationSelectEnd: TargetedEvent<this, void>;
|
|
55
|
-
|
|
69
|
+
/**
|
|
70
|
+
* Fires when the user begins selection of a trace location.
|
|
71
|
+
* Can be prevented to stop the selection.
|
|
72
|
+
*
|
|
73
|
+
* @experimental
|
|
74
|
+
*/
|
|
75
|
+
readonly arcgisTraceLocationSelectStart: TargetedEvent<this, SelectStartPayload>;
|
|
56
76
|
}
|