@arcgis/map-components 5.0.0-next.2 → 5.0.0-next.20
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/{QIHNJACI.js → 22WDHND6.js} +2 -2
- package/dist/cdn/2NWTMEYS.js +4 -0
- package/dist/cdn/{ZSBYVNTF.js → 2RIFKOAN.js} +2 -2
- package/dist/cdn/3BY2NUEG.js +4 -0
- package/dist/cdn/3JR5777J.js +4 -0
- package/dist/cdn/3Q76INXU.js +4 -0
- package/dist/cdn/{D3J6FQND.js → 3T33252B.js} +2 -2
- package/dist/cdn/{WQIHCSIB.js → 3WDLSMCJ.js} +2 -2
- package/dist/cdn/{M4Q6OT7N.js → 3WTH46NU.js} +2 -2
- package/dist/cdn/3Y6L5VWO.js +4 -0
- package/dist/cdn/{S5GZVWZU.js → 467UVORY.js} +2 -2
- package/dist/cdn/{DYE3OMWI.js → 4DQMVAQO.js} +2 -2
- package/dist/cdn/{AG36YWTY.js → 4ITXZHQT.js} +2 -2
- package/dist/cdn/{KINLQCMT.js → 4NREMD5R.js} +2 -2
- package/dist/cdn/{YWABNYKW.js → 4OUSLG6P.js} +2 -2
- package/dist/cdn/{3T7FDPDY.js → 4SFKF2JI.js} +2 -2
- package/dist/cdn/{2FSZ533Q.js → 4YQ6NUH3.js} +2 -2
- package/dist/cdn/57JOQYIM.js +4 -0
- package/dist/cdn/{EVVWYUQ6.js → 5AXLMPFI.js} +2 -2
- package/dist/cdn/5AYJMDGK.js +4 -0
- package/dist/cdn/{QQSTRBG5.js → 5NMFKKWU.js} +2 -2
- package/dist/cdn/{VPXTL3JW.js → 5T3CZNUR.js} +2 -2
- package/dist/cdn/5UDD32HR.js +4 -0
- package/dist/cdn/5X43DH5B.js +4 -0
- package/dist/cdn/{SFPTSDC5.js → 5Z2L6SLD.js} +2 -2
- package/dist/cdn/{7M6KRUMN.js → 65P5XX26.js} +2 -2
- package/dist/cdn/{2ZJAWBCC.js → 6BIHIV65.js} +2 -2
- package/dist/cdn/{4F255Q2I.js → 6KT43CXY.js} +2 -2
- package/dist/cdn/6N75UIBQ.js +4 -0
- package/dist/cdn/{GKWPGMXB.js → 6OSJQBAA.js} +2 -2
- package/dist/cdn/6RWLCX6Q.js +4 -0
- package/dist/cdn/{WGTKEB4I.js → 73K3N57M.js} +2 -2
- package/dist/cdn/{HZSHBIZC.js → 775LL2MB.js} +2 -2
- package/dist/cdn/{BCX44KFS.js → 7FMKPQZM.js} +2 -2
- package/dist/cdn/{T4XPBRWM.js → 7FZB4BL4.js} +2 -2
- package/dist/cdn/7JVKVZME.js +4 -0
- package/dist/cdn/{T7W2MKY4.js → 7ORI7D6O.js} +2 -2
- package/dist/cdn/{IMVOXJ3X.js → 7VISVA4D.js} +2 -2
- package/dist/cdn/7WUK45ZG.js +4 -0
- package/dist/cdn/{KBZ46AZB.js → A4ZEKZ4A.js} +2 -2
- package/dist/cdn/{XWVEOBZY.js → A6FVCGWL.js} +2 -2
- package/dist/cdn/ADMUAEQY.js +4 -0
- package/dist/cdn/AFOGFAIV.js +4 -0
- package/dist/cdn/AG4CIIJW.js +9 -0
- package/dist/cdn/{GWZVUYWG.js → AMKOCW7N.js} +2 -2
- package/dist/cdn/ARMSNP4Q.js +4 -0
- package/dist/cdn/AW5GT6RH.js +4 -0
- package/dist/cdn/B2IC2QXP.js +4 -0
- package/dist/cdn/B5JPQ55Y.js +4 -0
- package/dist/cdn/{K5Q7ZDK6.js → BBXJEFJA.js} +2 -2
- package/dist/cdn/{S57WM3UW.js → BCAIT37C.js} +2 -2
- package/dist/cdn/{JKK3KMTQ.js → BDHD2ICU.js} +2 -2
- package/dist/cdn/{NCV3ZNHB.js → BDPWXJ4D.js} +2 -2
- package/dist/cdn/BGSBVCD4.js +4 -0
- package/dist/cdn/{T77V6MVE.js → BKGUQMSX.js} +2 -2
- package/dist/cdn/{GWEK6NJW.js → BMUKBZNV.js} +2 -2
- package/dist/cdn/{DDX32HNA.js → BMWTQ7ZJ.js} +2 -2
- package/dist/cdn/BNAADXVM.js +4 -0
- package/dist/cdn/{3IKTR6VS.js → BQWBWGWQ.js} +1 -1
- package/dist/cdn/{ID7ZALPM.js → BSLSVJZ6.js} +2 -2
- package/dist/cdn/BU7VU36T.js +4 -0
- package/dist/cdn/BW7MX5NE.js +4 -0
- package/dist/cdn/C7HYOPGE.js +4 -0
- package/dist/cdn/{QUEYDMQM.js → CSVYSYIQ.js} +2 -2
- package/dist/cdn/CV7RDRUN.js +4 -0
- package/dist/cdn/CZ2Z763U.js +4 -0
- package/dist/cdn/D6IXVUGA.js +4 -0
- package/dist/cdn/{IGQM4UBV.js → DASSOD44.js} +2 -2
- package/dist/cdn/DDFF5DRX.js +4 -0
- package/dist/cdn/DIJ4C4PA.js +4 -0
- package/dist/cdn/{KEBAU3JT.js → DJGPKIJ2.js} +2 -2
- package/dist/cdn/{XSCRYZTU.js → DKYQBK25.js} +2 -2
- package/dist/cdn/{M43ZPMYR.js → DQLWGJ56.js} +2 -2
- package/dist/cdn/{MWEAYQ6P.js → DWBSZ7KP.js} +2 -2
- package/dist/cdn/DX6OMRAG.js +4 -0
- package/dist/cdn/E4COUMHQ.js +4 -0
- package/dist/cdn/EGWQEQA4.js +4 -0
- package/dist/cdn/{HRMU6ZLG.js → EI5WAWRV.js} +2 -2
- package/dist/cdn/EM3PKFCT.js +4 -0
- package/dist/cdn/ENOHO5E5.js +4 -0
- package/dist/cdn/{PTWD2CWF.js → EY7U3QWU.js} +2 -2
- package/dist/cdn/FEUABVG6.js +4 -0
- package/dist/cdn/FHBTBRCK.js +4 -0
- package/dist/cdn/FJUEY2XM.js +4 -0
- package/dist/cdn/FVUQJZH4.js +4 -0
- package/dist/cdn/G6OBVLJ3.js +4 -0
- package/dist/cdn/G6QWH3H3.js +4 -0
- package/dist/cdn/G7COATOP.js +4 -0
- package/dist/cdn/{2YFA7MO7.js → GJB4LQ3N.js} +2 -2
- package/dist/cdn/{XKZUF3A3.js → GLAEHKFG.js} +2 -2
- package/dist/cdn/GMPJWAF7.js +4 -0
- package/dist/cdn/{B4TY42RA.js → GNBLUEPN.js} +2 -2
- package/dist/cdn/GO633MWK.js +4 -0
- package/dist/cdn/{V3APUWXR.js → GSPQFRRZ.js} +2 -2
- package/dist/cdn/{NJRBHNFE.js → H5GKQ5RT.js} +2 -2
- package/dist/cdn/H5XNWPQA.js +4 -0
- package/dist/cdn/{LW2KXU4H.js → HAFMCR3P.js} +2 -2
- package/dist/cdn/HDLGOCLJ.js +4 -0
- package/dist/cdn/{OQOY43UX.js → HGUM6T4D.js} +2 -2
- package/dist/cdn/{SOMLC3JY.js → HH2PNDDP.js} +2 -2
- package/dist/cdn/{XIM54QCG.js → HU7UE6TH.js} +2 -2
- package/dist/cdn/{C7RJNWOA.js → HVGS2DG4.js} +1 -1
- package/dist/cdn/{DQLQ6VQI.js → I5NFUC37.js} +2 -2
- package/dist/cdn/{GMXKAB4P.js → IHJIS7XW.js} +1 -1
- package/dist/cdn/{ADZMLGPK.js → IKZS66JU.js} +2 -2
- package/dist/cdn/{3UM5ZMDK.js → INXI7RR3.js} +2 -2
- package/dist/cdn/{EXQRV7AV.js → IPY2L3RX.js} +2 -2
- package/dist/cdn/J33RLNXM.js +4 -0
- package/dist/cdn/{VKB3RDAQ.js → J6UDPT2Y.js} +1 -1
- package/dist/cdn/{YCMFGIA7.js → JDH3VQI5.js} +2 -2
- package/dist/cdn/{DSG63V6Y.js → JFQDPWFY.js} +2 -2
- package/dist/cdn/JLV6XFX5.js +4 -0
- package/dist/cdn/{7BF6TZXK.js → JSQ62FJ7.js} +2 -2
- package/dist/cdn/{7JWW45TB.js → JXDE7L3B.js} +2 -2
- package/dist/cdn/JXSZBQPS.js +4 -0
- package/dist/cdn/K42RGKKB.js +4 -0
- package/dist/cdn/KB4TF4OS.js +4 -0
- package/dist/cdn/KHT5OCKA.js +4 -0
- package/dist/cdn/KKV7S4RI.js +4 -0
- package/dist/cdn/{A7KL6REP.js → KLXCCO2P.js} +2 -2
- package/dist/cdn/{GMRX73WP.js → KRZGZZMA.js} +2 -2
- package/dist/cdn/{MOOKKPWD.js → KUNJMMPY.js} +2 -2
- package/dist/cdn/L34THDK5.js +4 -0
- package/dist/cdn/LKP3SMRC.js +4 -0
- package/dist/cdn/LTBFINQD.js +4 -0
- package/dist/cdn/LWVLNIFG.js +4 -0
- package/dist/cdn/LZOJ6ZJY.js +4 -0
- package/dist/cdn/{FUGPLS6Q.js → M3DBPTBB.js} +2 -2
- package/dist/cdn/{L2VWD5AA.js → M3MGFQTU.js} +2 -2
- package/dist/cdn/MAQHWSLW.js +4 -0
- package/dist/cdn/{FLOAUQJS.js → MGSE5NQG.js} +2 -2
- package/dist/cdn/MI6I7OID.js +4 -0
- package/dist/cdn/{4SNBAULO.js → MKTQ6XG3.js} +2 -2
- package/dist/cdn/MROBISKT.js +4 -0
- package/dist/cdn/MSHWSQV6.js +4 -0
- package/dist/cdn/N2FIU3XG.js +4 -0
- package/dist/cdn/{LJEJWOTO.js → N6LXSKRC.js} +2 -2
- package/dist/cdn/{OKEKQ465.js → NJYDODNT.js} +2 -2
- package/dist/cdn/{HI46JHLQ.js → NK62SOMR.js} +2 -2
- package/dist/cdn/NSU5A4GR.js +4 -0
- package/dist/cdn/{VESDBJJS.js → NYTNXFQM.js} +2 -2
- package/dist/cdn/{U3YH2U3R.js → O42FKS4I.js} +2 -2
- package/dist/cdn/{BZWAV4OI.js → OCRSTQRR.js} +2 -2
- package/dist/cdn/OOWNJQKH.js +4 -0
- package/dist/cdn/{RCUV5H2V.js → OWZ4XPKA.js} +1 -1
- package/dist/cdn/OZMDT3WG.js +4 -0
- package/dist/cdn/{SEPN6RPM.js → PC5HB54U.js} +1 -1
- package/dist/cdn/{ZHBKFF6D.js → PU7TL6AA.js} +2 -2
- package/dist/cdn/PWFQBEIJ.js +4 -0
- package/dist/cdn/{2UUSKOCF.js → Q5VAVW45.js} +2 -2
- package/dist/cdn/{TCN4TY3G.js → Q6TN6CLX.js} +2 -2
- package/dist/cdn/QAP35FTO.js +4 -0
- package/dist/cdn/QC2ZOZYE.js +4 -0
- package/dist/cdn/QCPPNULA.js +4 -0
- package/dist/cdn/QCXSRQ7I.js +4 -0
- package/dist/cdn/{DELMWERE.js → QDJY6OF4.js} +2 -2
- package/dist/cdn/QHZOFYYX.js +4 -0
- package/dist/cdn/QPTJW4W6.js +4 -0
- package/dist/cdn/R6C3V6CT.js +4 -0
- package/dist/cdn/RABO7JHJ.js +4 -0
- package/dist/cdn/RBOWHVEK.js +4 -0
- package/dist/cdn/{EXYDF553.js → RCPGQYPK.js} +1 -1
- package/dist/cdn/RJCUM3FO.js +4 -0
- package/dist/cdn/RVJKKKXV.js +4 -0
- package/dist/cdn/{MS724JQD.js → RXF5NSDX.js} +2 -2
- package/dist/cdn/{7CKYJWVX.js → RXOPFSHS.js} +2 -2
- package/dist/cdn/{JEJFR6MK.js → RXVQ2DKV.js} +2 -2
- package/dist/cdn/S5M4JNOV.js +5 -0
- package/dist/cdn/SATE43NH.js +4 -0
- package/dist/cdn/SCW5PJDH.js +4 -0
- package/dist/cdn/{42QXWX4H.js → SI6ZKIMV.js} +2 -2
- package/dist/cdn/SOCQWZ63.js +4 -0
- package/dist/cdn/SS4EZKFK.js +4 -0
- package/dist/cdn/{OAVOB53K.js → SSQUK45S.js} +2 -2
- package/dist/cdn/SWE7VCR7.js +4 -0
- package/dist/cdn/TDXINZN4.js +4 -0
- package/dist/cdn/{NGCUJMMV.js → TGDPMVTN.js} +2 -2
- package/dist/cdn/{F7PYYQH3.js → THT5R25E.js} +1 -1
- package/dist/cdn/TP2CW6AV.js +4 -0
- package/dist/cdn/{IOTAY2KD.js → TTYIND6L.js} +2 -2
- package/dist/cdn/TU5RGHMP.js +4 -0
- package/dist/cdn/TX5EL3DI.js +4 -0
- package/dist/cdn/TZM5LVRG.js +4 -0
- package/dist/cdn/{4OPRCCEM.js → U23L6G2K.js} +2 -2
- package/dist/cdn/{K3GYNTLH.js → U2NWYA7E.js} +2 -2
- package/dist/cdn/U3RXO3AF.js +4 -0
- package/dist/cdn/{EVUBVCYC.js → U6PZMI5N.js} +2 -2
- package/dist/cdn/UH25J5WF.js +4 -0
- package/dist/cdn/{WMNU6EQE.js → UZY4NDKT.js} +2 -2
- package/dist/cdn/{5ZM27QOF.js → V7CGCDO7.js} +2 -2
- package/dist/cdn/{SFUUC5SB.js → VAWBVNOT.js} +2 -2
- package/dist/cdn/VF22HLA2.js +4 -0
- package/dist/cdn/VNFMYQRM.js +4 -0
- package/dist/cdn/VSGFTRI7.js +4 -0
- package/dist/cdn/W3QH7L7A.js +4 -0
- package/dist/cdn/W7LG52RY.js +4 -0
- package/dist/cdn/W7XPCFFB.js +4 -0
- package/dist/cdn/WF35HF6W.js +4 -0
- package/dist/cdn/WIAZWMVB.js +4 -0
- package/dist/cdn/{2QL4MBR6.js → WSSPJJWI.js} +2 -2
- package/dist/cdn/WVLBYRNT.js +4 -0
- package/dist/cdn/{ZKHGJOMM.js → WYQ7CEHU.js} +2 -2
- package/dist/cdn/X6DNLSOT.js +4 -0
- package/dist/cdn/XG5UMQDO.js +4 -0
- package/dist/cdn/XO7WAX3Z.js +4 -0
- package/dist/cdn/XVILAKUO.js +4 -0
- package/dist/cdn/XWEHNLWM.js +4 -0
- package/dist/cdn/XXRFJH47.js +4 -0
- package/dist/cdn/{CT5WHZRX.js → Y3PZ3VS4.js} +2 -2
- package/dist/cdn/YBYX2MRT.js +4 -0
- package/dist/cdn/{IUNO4GDY.js → YC24QOXO.js} +1 -1
- package/dist/cdn/{DNDRYUZU.js → YDFXO6FV.js} +2 -2
- package/dist/cdn/YILTHN24.js +4 -0
- package/dist/cdn/{SLNGCIFR.js → YN4ORVC2.js} +2 -2
- package/dist/cdn/YOLYANMW.js +4 -0
- package/dist/cdn/{KYNMU5VZ.js → YQPWDJTY.js} +2 -2
- package/dist/cdn/YT4FVBLG.js +4 -0
- package/dist/cdn/{T3BYAPRC.js → YWZBNUOQ.js} +2 -2
- package/dist/cdn/YXYMU3G5.js +4 -0
- package/dist/cdn/Z5WLH6FQ.js +4 -0
- package/dist/cdn/{53EJENRW.js → ZD5UJXZN.js} +1 -1
- package/dist/cdn/ZITUEUAB.js +4 -0
- package/dist/cdn/{SOKL4WDT.js → ZKERGRZT.js} +2 -2
- package/dist/cdn/{EE5HN4P2.js → ZMZZSVEN.js} +2 -2
- package/dist/cdn/assets/elevation-profile-next/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/feature/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/utility-network-subnetwork-info/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/utility-network-trace-location/t9n/messages.en.json +1 -0
- package/dist/cdn/index.js +2 -2
- package/dist/cdn/main.css +1 -1
- package/dist/chunks/AnalysisViewModel.js +40 -36
- package/dist/chunks/action-utils.js +1 -1
- package/dist/chunks/async-utils.js +80 -62
- 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/createCloseEvent.js +1 -1
- package/dist/chunks/esri-main.js +2 -2
- package/dist/chunks/feature-utils.js +152 -107
- package/dist/chunks/globalCss.js +1 -1
- package/dist/chunks/handle.js +14 -0
- 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 +7 -7
- package/dist/chunks/svgUtils.js +1 -1
- package/dist/chunks/univariateUtils.js +1 -1
- package/dist/chunks/useArcgisViewReadyError.js +91 -0
- 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 +11 -16
- package/dist/chunks/utils2.js +1 -1
- package/dist/components/arcgis-area-measurement-2d/customElement.d.ts +3 -3
- package/dist/components/arcgis-area-measurement-2d/customElement.js +1 -1
- package/dist/components/arcgis-area-measurement-3d/AreaMeasurement3dViewModel.d.ts +8 -9
- package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +2 -2
- package/dist/components/arcgis-area-measurement-3d/customElement.js +30 -31
- package/dist/components/arcgis-attachments/customElement.d.ts +5 -5
- package/dist/components/arcgis-attachments/customElement.js +6 -6
- package/dist/components/arcgis-basemap-gallery/customElement.d.ts +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.d.ts +1 -1
- package/dist/components/arcgis-basemap-toggle/customElement.js +1 -1
- package/dist/components/arcgis-bookmarks/customElement.d.ts +3 -1
- package/dist/components/arcgis-bookmarks/customElement.js +57 -55
- package/dist/components/arcgis-building-explorer/customElement.d.ts +2 -2
- package/dist/components/arcgis-building-explorer/customElement.js +6 -6
- 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-compass/customElement.d.ts +1 -1
- package/dist/components/arcgis-compass/customElement.js +6 -6
- package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +42 -43
- package/dist/components/arcgis-coordinate-conversion/customElement.js +91 -82
- package/dist/components/arcgis-daylight/customElement.d.ts +79 -35
- package/dist/components/arcgis-daylight/customElement.js +110 -114
- package/dist/components/arcgis-direct-line-measurement-3d/DirectLineMeasurement3dViewModel.d.ts +9 -10
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.d.ts +2 -12
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +50 -58
- package/dist/components/arcgis-directional-pad/customElement.d.ts +1 -1
- package/dist/components/arcgis-directional-pad/customElement.js +1 -1
- package/dist/components/arcgis-directions/customElement.d.ts +2 -2
- package/dist/components/arcgis-directions/customElement.js +1 -1
- package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +3 -3
- package/dist/components/arcgis-distance-measurement-2d/customElement.js +1 -1
- package/dist/components/arcgis-editor/customElement.d.ts +3 -3
- package/dist/components/arcgis-editor/customElement.js +2 -2
- package/dist/components/arcgis-elevation-profile/customElement.d.ts +5 -5
- package/dist/components/arcgis-elevation-profile/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile-legend/customElement.d.ts +5 -2
- package/dist/components/arcgis-elevation-profile-legend/customElement.js +11 -11
- package/dist/components/arcgis-elevation-profile-legend-item/customElement.d.ts +5 -2
- package/dist/components/arcgis-elevation-profile-legend-item/customElement.js +18 -15
- package/dist/components/arcgis-elevation-profile-next/ElevationProfileViewModel.d.ts +17 -6
- package/dist/components/arcgis-elevation-profile-next/customElement.d.ts +4 -4
- package/dist/components/arcgis-elevation-profile-next/customElement.js +212 -163
- package/dist/components/arcgis-elevation-profile-next/geometryUtils.d.ts +1 -1
- package/dist/components/arcgis-elevation-profile-next/interfaces.d.ts +2 -11
- package/dist/components/arcgis-elevation-profile-settings/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile-statistics/customElement.d.ts +3 -2
- package/dist/components/arcgis-elevation-profile-statistics/customElement.js +6 -6
- package/dist/components/arcgis-expand/customElement.d.ts +6 -8
- package/dist/components/arcgis-expand/customElement.js +29 -35
- package/dist/components/arcgis-feature/customElement.d.ts +6 -5
- package/dist/components/arcgis-feature/customElement.js +90 -77
- package/dist/components/arcgis-feature/index.d.ts +1 -0
- package/dist/components/arcgis-feature/index.js +1 -0
- package/dist/components/arcgis-feature-attachments/customElement.d.ts +2 -0
- package/dist/components/arcgis-feature-attachments/customElement.js +8 -8
- package/dist/components/arcgis-feature-content/customElement.js +2 -2
- 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.d.ts +4 -0
- package/dist/components/arcgis-feature-fields/customElement.js +36 -32
- package/dist/components/arcgis-feature-form/customElement.d.ts +4 -4
- package/dist/components/arcgis-feature-form/customElement.js +1 -1
- package/dist/components/arcgis-feature-media/customElement.d.ts +1 -2
- package/dist/components/arcgis-feature-media/customElement.js +179 -178
- package/dist/components/arcgis-feature-relationship/customElement.js +1 -1
- package/dist/components/arcgis-feature-table/customElement.d.ts +7 -6
- 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.d.ts +23 -0
- package/dist/components/arcgis-feature-utility-network-association-list/customElement.js +123 -0
- package/dist/components/arcgis-feature-utility-network-association-list/index.d.ts +8 -0
- package/dist/components/arcgis-feature-utility-network-association-list/index.js +8 -0
- package/dist/components/arcgis-feature-utility-network-associations/customElement.d.ts +73 -0
- package/dist/components/arcgis-feature-utility-network-associations/customElement.js +506 -0
- package/dist/components/arcgis-feature-utility-network-associations/index.d.ts +8 -0
- package/dist/components/arcgis-feature-utility-network-associations/index.js +8 -0
- package/dist/components/arcgis-features/customElement.d.ts +4 -5
- package/dist/components/arcgis-features/customElement.js +3 -3
- package/dist/components/arcgis-floor-filter/customElement.d.ts +2 -2
- package/dist/components/arcgis-floor-filter/customElement.js +2 -2
- package/dist/components/arcgis-fullscreen/customElement.d.ts +1 -1
- package/dist/components/arcgis-fullscreen/customElement.js +2 -2
- package/dist/components/arcgis-grid-controls/customElement.d.ts +1 -1
- package/dist/components/arcgis-grid-controls/customElement.js +1 -1
- package/dist/components/arcgis-histogram-range-slider/customElement.d.ts +3 -3
- package/dist/components/arcgis-histogram-range-slider/customElement.js +1 -1
- package/dist/components/arcgis-home/customElement.d.ts +2 -2
- package/dist/components/arcgis-home/customElement.js +2 -2
- 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.d.ts +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 +12 -12
- package/dist/components/arcgis-legend-card-univariate-color-size-ramp/customElement.js +9 -9
- package/dist/components/arcgis-legend-card-view/customElement.js +1 -1
- package/dist/components/arcgis-legend-classic-color-ramp/customElement.js +10 -10
- 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 +5 -5
- package/dist/components/arcgis-legend-classic-univariate-color-size-ramp/customElement.js +9 -9
- 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 +4 -4
- package/dist/components/arcgis-line-of-sight/customElement.d.ts +1 -1
- package/dist/components/arcgis-line-of-sight/customElement.js +28 -27
- package/dist/components/arcgis-link-chart/customElement.d.ts +59 -3
- package/dist/components/arcgis-link-chart/customElement.js +20 -22
- package/dist/components/arcgis-link-chart/index.d.ts +2 -0
- package/dist/components/arcgis-link-chart/index.js +2 -0
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.d.ts +1 -1
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +1 -1
- package/dist/components/arcgis-locate/customElement.d.ts +1 -1
- package/dist/components/arcgis-locate/customElement.js +2 -2
- package/dist/components/arcgis-map/customElement.d.ts +95 -34
- package/dist/components/arcgis-map/customElement.js +29 -31
- package/dist/components/arcgis-map/index.d.ts +2 -0
- package/dist/components/arcgis-map/index.js +2 -0
- package/dist/components/arcgis-measurement/customElement.d.ts +5 -5
- 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 +1 -1
- package/dist/components/arcgis-navigation-toggle/customElement.js +5 -5
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.d.ts +3 -3
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +2 -2
- package/dist/components/arcgis-placement/customElement.d.ts +1 -1
- package/dist/components/arcgis-placement/customElement.js +1 -1
- package/dist/components/arcgis-popup/customElement.d.ts +48 -16
- package/dist/components/arcgis-popup/customElement.js +72 -72
- package/dist/components/arcgis-print/customElement.d.ts +1 -1
- package/dist/components/arcgis-print/customElement.js +1 -1
- package/dist/components/arcgis-print/utils.d.ts +1 -2
- 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-exported-link/customElement.js +38 -48
- package/dist/components/arcgis-print-exports-panel/customElement.js +4 -4
- 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 +17 -15
- package/dist/components/arcgis-print-template-selector/customElement.js +1 -1
- package/dist/components/arcgis-scale-bar/customElement.d.ts +1 -1
- package/dist/components/arcgis-scale-bar/customElement.js +1 -1
- package/dist/components/arcgis-scale-range-slider/customElement.d.ts +2 -2
- package/dist/components/arcgis-scale-range-slider/customElement.js +1 -1
- package/dist/components/arcgis-scene/customElement.d.ts +45 -5
- package/dist/components/arcgis-scene/customElement.js +27 -29
- package/dist/components/arcgis-scene/index.d.ts +2 -0
- package/dist/components/arcgis-scene/index.js +2 -0
- package/dist/components/arcgis-search/customElement.d.ts +16 -18
- package/dist/components/arcgis-search/customElement.js +1 -1
- package/dist/components/arcgis-search-result-renderer/customElement.d.ts +2 -0
- package/dist/components/arcgis-search-result-renderer/customElement.js +1 -1
- package/dist/components/arcgis-shadow-cast/customElement.d.ts +3 -3
- package/dist/components/arcgis-shadow-cast/customElement.js +2 -2
- package/dist/components/arcgis-sketch/customElement.d.ts +4 -4
- package/dist/components/arcgis-sketch/customElement.js +2 -2
- package/dist/components/arcgis-slice/customElement.d.ts +1 -1
- package/dist/components/arcgis-slice/customElement.js +14 -15
- package/dist/components/arcgis-spinner/customElement.js +1 -1
- package/dist/components/arcgis-swipe/customElement.d.ts +1 -1
- package/dist/components/arcgis-swipe/customElement.js +1 -1
- package/dist/components/arcgis-table-list/customElement.d.ts +3 -3
- package/dist/components/arcgis-table-list/customElement.js +1 -1
- package/dist/components/arcgis-time-slider/customElement.d.ts +3 -3
- package/dist/components/arcgis-time-slider/customElement.js +2 -2
- package/dist/components/arcgis-time-zone-label/customElement.d.ts +11 -13
- package/dist/components/arcgis-time-zone-label/customElement.js +41 -49
- package/dist/components/arcgis-track/customElement.d.ts +1 -1
- package/dist/components/arcgis-track/customElement.js +2 -2
- package/dist/components/arcgis-unit-select/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-association-list/customElement.d.ts +27 -0
- package/dist/components/arcgis-utility-network-association-list/customElement.js +110 -0
- package/dist/components/arcgis-utility-network-association-list/index.d.ts +4 -0
- package/dist/components/arcgis-utility-network-association-list/index.js +4 -0
- package/dist/components/arcgis-utility-network-association-list/types.d.ts +2 -0
- package/dist/components/arcgis-utility-network-associations/customElement.d.ts +2 -2
- package/dist/components/arcgis-utility-network-associations/customElement.js +2 -2
- package/dist/components/arcgis-utility-network-result-feature-list/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-subnetwork-info/customElement.d.ts +20 -0
- package/dist/components/arcgis-utility-network-subnetwork-info/customElement.js +36 -0
- package/dist/components/arcgis-utility-network-subnetwork-info/index.d.ts +1 -0
- package/dist/components/arcgis-utility-network-subnetwork-info/index.js +1 -0
- package/dist/components/arcgis-utility-network-trace/customElement.d.ts +2 -2
- package/dist/components/arcgis-utility-network-trace/customElement.js +2 -2
- package/dist/components/arcgis-utility-network-trace-analysis/customElement.d.ts +2 -48
- package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +30 -51
- package/dist/components/arcgis-utility-network-trace-inputs/customElement.d.ts +7 -8
- package/dist/components/arcgis-utility-network-trace-inputs/customElement.js +214 -56
- package/dist/components/arcgis-utility-network-trace-inputs/index.d.ts +7 -2
- package/dist/components/arcgis-utility-network-trace-inputs/index.js +7 -2
- package/dist/components/arcgis-utility-network-trace-location/customElement.d.ts +44 -0
- package/dist/components/arcgis-utility-network-trace-location/customElement.js +194 -0
- package/dist/components/arcgis-utility-network-trace-location/index.d.ts +3 -0
- package/dist/components/arcgis-utility-network-trace-location/index.js +3 -0
- package/dist/components/arcgis-utility-network-trace-results/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-validate-topology/customElement.d.ts +2 -2
- package/dist/components/arcgis-utility-network-validate-topology/customElement.js +2 -2
- package/dist/components/arcgis-value-picker/customElement.d.ts +3 -3
- package/dist/components/arcgis-value-picker/customElement.js +1 -1
- package/dist/components/arcgis-version-management/customElement.d.ts +1 -1
- package/dist/components/arcgis-version-management/customElement.js +2 -2
- package/dist/components/arcgis-version-management-service-item/customElement.js +1 -1
- package/dist/components/arcgis-version-management-version-list/customElement.js +42 -27
- package/dist/components/arcgis-version-management-version-list/index.d.ts +2 -1
- package/dist/components/arcgis-version-management-version-list/index.js +2 -1
- package/dist/components/arcgis-version-management-version-properties/customElement.js +1 -1
- package/dist/components/arcgis-video/customElement.d.ts +9 -2
- package/dist/components/arcgis-video/customElement.js +15 -9
- package/dist/components/arcgis-video-player/customElement.d.ts +2 -2
- package/dist/components/arcgis-video-player/customElement.js +4 -4
- package/dist/components/arcgis-video-player-action-bar/customElement.js +18 -18
- 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-weather/customElement.d.ts +1 -1
- package/dist/components/arcgis-weather/customElement.js +1 -1
- package/dist/components/arcgis-zoom/customElement.d.ts +1 -1
- package/dist/components/arcgis-zoom/customElement.js +2 -2
- package/dist/controllers/uiController.d.ts +11 -1
- package/dist/controllers/useArcgisLoadError.d.ts +27 -0
- package/dist/controllers/useArcgisViewReadyError.d.ts +17 -0
- package/dist/docs/api.json +1465 -1189
- package/dist/docs/docs.json +1435 -1037
- package/dist/docs/vscode.css-custom-data.json +16 -16
- package/dist/docs/vscode.html-custom-data.json +166 -231
- package/dist/docs/web-types.json +469 -362
- package/dist/index.d.ts +33 -20
- package/dist/index.js +1 -1
- package/dist/loader.js +22 -19
- package/dist/support/AnalysisViewModel.d.ts +1 -0
- package/dist/support/handle.d.ts +1 -1
- package/dist/support/measurementUtils.d.ts +2 -2
- package/dist/support/slots.d.ts +1 -1
- package/dist/types/lumina.d.ts +28 -15
- package/dist/types/preact.d.ts +30 -16
- package/dist/types/preact10.d.ts +32 -17
- package/dist/types/react.d.ts +32 -17
- package/dist/types/stencil.d.ts +28 -15
- package/dist/utils/async-utils.d.ts +19 -0
- package/dist/utils/feature-utils.d.ts +16 -1
- package/dist/utils/highlight-utils.d.ts +22 -0
- package/dist/utils/layer-utils.d.ts +4 -0
- package/package.json +5 -5
- package/dist/cdn/2ABU443O.js +0 -4
- package/dist/cdn/2LYAFHOG.js +0 -4
- package/dist/cdn/2X42KENH.js +0 -4
- package/dist/cdn/3GOJ3L5A.js +0 -4
- package/dist/cdn/3H4MAGDU.js +0 -4
- package/dist/cdn/3LBGFTG4.js +0 -4
- package/dist/cdn/443UF6ND.js +0 -4
- package/dist/cdn/4EKVN2G7.js +0 -4
- package/dist/cdn/4JGOSQMJ.js +0 -4
- package/dist/cdn/4L4EMIWX.js +0 -4
- package/dist/cdn/4NAR65FM.js +0 -4
- package/dist/cdn/4NZNNIW4.js +0 -4
- package/dist/cdn/4QUI24BM.js +0 -4
- package/dist/cdn/4ZVQXWPU.js +0 -4
- package/dist/cdn/55TYV6SS.js +0 -4
- package/dist/cdn/56CNVNWC.js +0 -9
- package/dist/cdn/5CTVGNOG.js +0 -4
- package/dist/cdn/5S546GEJ.js +0 -4
- package/dist/cdn/6ONVXD3F.js +0 -4
- package/dist/cdn/6VR4KXG4.js +0 -4
- package/dist/cdn/7JWZ6WMI.js +0 -4
- package/dist/cdn/7LQEVAFG.js +0 -4
- package/dist/cdn/7O6BYFZT.js +0 -4
- package/dist/cdn/7VHCUTDX.js +0 -4
- package/dist/cdn/A5PCP4UZ.js +0 -4
- package/dist/cdn/ACOZPFBS.js +0 -4
- package/dist/cdn/AIE6ABFJ.js +0 -4
- package/dist/cdn/ANNCBYQ4.js +0 -4
- package/dist/cdn/B7P75WLO.js +0 -4
- package/dist/cdn/BAG6ZD4C.js +0 -4
- package/dist/cdn/BC26BQJE.js +0 -4
- package/dist/cdn/BKRVU6NB.js +0 -4
- package/dist/cdn/BT3CCAKU.js +0 -4
- package/dist/cdn/BZWMKXFD.js +0 -4
- package/dist/cdn/DDFQHH4T.js +0 -4
- package/dist/cdn/F42WR2KG.js +0 -4
- package/dist/cdn/FLGSSZCA.js +0 -4
- package/dist/cdn/FXAZDV22.js +0 -4
- package/dist/cdn/GVLCW3KB.js +0 -4
- package/dist/cdn/H5LJ4EI5.js +0 -4
- package/dist/cdn/HKDCTJ4N.js +0 -4
- package/dist/cdn/HNQAWGEN.js +0 -4
- package/dist/cdn/HNYGMKKJ.js +0 -4
- package/dist/cdn/HONXVVWS.js +0 -4
- package/dist/cdn/HRNRYC5Q.js +0 -4
- package/dist/cdn/IGQOSGHX.js +0 -4
- package/dist/cdn/IKNRSFWX.js +0 -5
- package/dist/cdn/IMLRCSF7.js +0 -4
- package/dist/cdn/IPGZD2C2.js +0 -4
- package/dist/cdn/IWZF3ZFJ.js +0 -4
- package/dist/cdn/J4EZ2X2C.js +0 -4
- package/dist/cdn/JD7NCLEN.js +0 -4
- package/dist/cdn/JK4B6OM6.js +0 -4
- package/dist/cdn/JRJOS5VN.js +0 -4
- package/dist/cdn/JRU5LK6B.js +0 -4
- package/dist/cdn/JULYEPM5.js +0 -4
- package/dist/cdn/KQ4KIIUY.js +0 -4
- package/dist/cdn/LBZO6H7A.js +0 -4
- package/dist/cdn/LDXGIM6Z.js +0 -4
- package/dist/cdn/LLYWMKR3.js +0 -4
- package/dist/cdn/LUKVX5GF.js +0 -4
- package/dist/cdn/LUQ6NIJV.js +0 -4
- package/dist/cdn/M76STHQT.js +0 -4
- package/dist/cdn/MFCJHVPX.js +0 -4
- package/dist/cdn/MIRZXXAK.js +0 -4
- package/dist/cdn/MS27ZNB6.js +0 -4
- package/dist/cdn/N3J3SWM7.js +0 -4
- package/dist/cdn/N6CFUROA.js +0 -4
- package/dist/cdn/NFSQPAAU.js +0 -4
- package/dist/cdn/NG7P6VOK.js +0 -4
- package/dist/cdn/NHY2PQJJ.js +0 -4
- package/dist/cdn/NJVB7ZLX.js +0 -4
- package/dist/cdn/P34WNOEX.js +0 -4
- package/dist/cdn/PUPUWJBY.js +0 -4
- package/dist/cdn/QNVPUZNY.js +0 -4
- package/dist/cdn/RN5L3ZSL.js +0 -4
- package/dist/cdn/RSGU5OJQ.js +0 -4
- package/dist/cdn/S3LDELWL.js +0 -4
- package/dist/cdn/SHQUFFBF.js +0 -4
- package/dist/cdn/SK64U7Z2.js +0 -4
- package/dist/cdn/SMYTWYGP.js +0 -4
- package/dist/cdn/SOPUMOKS.js +0 -4
- package/dist/cdn/TNWXMQOG.js +0 -4
- package/dist/cdn/TQ7LQYAE.js +0 -4
- package/dist/cdn/TWBTJV4V.js +0 -4
- package/dist/cdn/U7FJT636.js +0 -4
- package/dist/cdn/VTQUONQX.js +0 -4
- package/dist/cdn/WECVZJHB.js +0 -4
- package/dist/cdn/WIYF4ODA.js +0 -4
- package/dist/cdn/WTCGQIMA.js +0 -4
- package/dist/cdn/WVQ3U5YC.js +0 -4
- package/dist/cdn/XCSN24IP.js +0 -4
- package/dist/cdn/XUIMDOP7.js +0 -4
- package/dist/cdn/XXHAZXR7.js +0 -4
- package/dist/cdn/Y23YPB3G.js +0 -4
- package/dist/cdn/YM274DMT.js +0 -4
- package/dist/cdn/YQIWRVI7.js +0 -4
- package/dist/cdn/YXS5KPZR.js +0 -4
- package/dist/cdn/YYELAI4Z.js +0 -4
- package/dist/cdn/Z4Q536P6.js +0 -4
- package/dist/cdn/Z6SQULCL.js +0 -4
- package/dist/cdn/ZA676A7N.js +0 -4
- package/dist/cdn/ZDLPT4R6.js +0 -4
- package/dist/cdn/ZHJWHENF.js +0 -4
- package/dist/cdn/ZJMYDJNR.js +0 -4
- package/dist/cdn/ZRF2VRDP.js +0 -4
- package/dist/chunks/uiController.js +0 -45
- package/dist/components/arcgis-version-management-version-item/customElement.d.ts +0 -22
- package/dist/components/arcgis-version-management-version-item/customElement.js +0 -30
- package/dist/components/arcgis-version-management-version-item/index.d.ts +0 -5
- package/dist/components/arcgis-version-management-version-item/index.js +0 -5
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { c as a } from "../../chunks/runtime.js";
|
|
2
2
|
import { css as d, html as o } from "lit";
|
|
3
|
-
import { keyed as
|
|
3
|
+
import { keyed as r } from "lit/directives/keyed.js";
|
|
4
4
|
import h from "@arcgis/core/widgets/UtilityNetworkTraceAnalysis/UtilityNetworkTraceAnalysisViewModel.js";
|
|
5
5
|
import { LitElement as b, createEvent as f } from "@arcgis/lumina";
|
|
6
|
-
import { createRef as
|
|
6
|
+
import { createRef as n, ref as c } from "lit/directives/ref.js";
|
|
7
7
|
import { u as g } from "../../chunks/useT9n.js";
|
|
8
8
|
import { m as u } from "../../chunks/useViewModel.js";
|
|
9
9
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
10
10
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
11
|
-
v5.0.0-next.
|
|
12
|
-
const p = d`.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{min-width:300px}.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;--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)}`, w = u(h), r = "map-components:utility-network-trace-analysis";
|
|
13
|
-
class
|
|
11
|
+
v5.0.0-next.20 */
|
|
12
|
+
const p = d`.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}.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;--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)}`, m = u(h), s = "map-components:utility-network-trace-analysis";
|
|
13
|
+
class w extends b {
|
|
14
14
|
constructor() {
|
|
15
|
-
super(...arguments), this.
|
|
15
|
+
super(...arguments), this._messages = g({ blocking: !0 }), this._viewModel = m(this), this._traceInputsRef = n(), this._traceResultsRef = n(), this.activeTab = "input", this.allowEditingDisabled = !1, this.autoDestroyDisabled = !1, this.closable = !1, this.state = this._viewModel.state, this.view = this._viewModel.view, this.arcgisReady = f();
|
|
16
16
|
}
|
|
17
17
|
static {
|
|
18
|
-
this.properties = {
|
|
18
|
+
this.properties = { activeTab: 16, traceResult: 16, allowEditingDisabled: 5, autoDestroyDisabled: 5, closable: 7, icon: 1, label: 3, messageOverrides: 0, mode: 1, referenceElement: 1, state: 3, view: 0 };
|
|
19
19
|
}
|
|
20
20
|
static {
|
|
21
21
|
this.styles = p;
|
|
@@ -25,24 +25,24 @@ class m extends b {
|
|
|
25
25
|
return e?.map ? e.map.allLayers.toArray().concat(e.map.allTables.toArray()) : [];
|
|
26
26
|
}
|
|
27
27
|
get _traceResultsExist() {
|
|
28
|
-
const {
|
|
28
|
+
const { traceResult: e } = this;
|
|
29
29
|
return e !== void 0 && this._numTraceResults > 0;
|
|
30
30
|
}
|
|
31
31
|
get _numTraceResults() {
|
|
32
|
-
const {
|
|
32
|
+
const { traceResult: e } = this;
|
|
33
33
|
return e ? e.elements.length + e.globalFunctionResults.length : 0;
|
|
34
34
|
}
|
|
35
35
|
async destroy() {
|
|
36
36
|
await this.manager.destroy();
|
|
37
37
|
}
|
|
38
38
|
_clearTraceResult() {
|
|
39
|
-
this.
|
|
39
|
+
this.traceResult = void 0;
|
|
40
40
|
}
|
|
41
41
|
_switchTab(e) {
|
|
42
|
-
this.
|
|
42
|
+
this.activeTab = e;
|
|
43
43
|
}
|
|
44
44
|
_getLoadError(e) {
|
|
45
|
-
const {
|
|
45
|
+
const { _messages: i } = this;
|
|
46
46
|
switch (e) {
|
|
47
47
|
case "no-user-type-extension":
|
|
48
48
|
return i.loadErrors.noUserTypeExtension;
|
|
@@ -57,74 +57,53 @@ class m extends b {
|
|
|
57
57
|
}
|
|
58
58
|
}
|
|
59
59
|
async _runTrace() {
|
|
60
|
-
const
|
|
61
|
-
if (!
|
|
62
|
-
console.error(`${
|
|
60
|
+
const e = this._traceInputsRef.value?.selectedTraceConfiguration;
|
|
61
|
+
if (!e?.traceConfiguration) {
|
|
62
|
+
console.error(`${s} - Trace configuration not found`);
|
|
63
63
|
return;
|
|
64
64
|
}
|
|
65
|
+
const i = this._traceInputsRef.value?.traceLocations;
|
|
65
66
|
try {
|
|
66
|
-
this.
|
|
67
|
-
namedTraceConfigurationGlobalId:
|
|
67
|
+
this.traceResult = await this._viewModel.executeNamedTraceConfiguration({
|
|
68
|
+
namedTraceConfigurationGlobalId: e.globalId,
|
|
69
|
+
traceLocations: i ?? []
|
|
68
70
|
});
|
|
69
71
|
} catch (t) {
|
|
70
|
-
console.error(`${
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
_handleSubnetworkTraceConfigChange() {
|
|
74
|
-
const { _selectedTraceConfig: e } = this;
|
|
75
|
-
if (!e?.traceConfiguration) {
|
|
76
|
-
console.error(`${r} - Trace configuration not found`);
|
|
77
|
-
return;
|
|
78
|
-
}
|
|
79
|
-
const t = (e.traceConfiguration.subnetworkName ?? "") !== "";
|
|
80
|
-
this._enableRunTraceButton = t;
|
|
81
|
-
}
|
|
82
|
-
_handleTraceConfigChange() {
|
|
83
|
-
if (this._enableRunTraceButton = !1, this._selectedTraceConfig = this._traceInputsRef.value?.selectedTraceConfiguration, !this._selectedTraceConfig) {
|
|
84
|
-
console.error(`${r} - Trace configuration not found`);
|
|
85
|
-
return;
|
|
86
|
-
}
|
|
87
|
-
switch (this._selectedTraceConfig.traceType) {
|
|
88
|
-
case "subnetwork":
|
|
89
|
-
this._handleSubnetworkTraceConfigChange();
|
|
90
|
-
break;
|
|
91
|
-
default:
|
|
92
|
-
console.error(`${r} - Unknown trace configuration type`);
|
|
72
|
+
console.error(`${s} - Error while running trace: `, String(t)), this.traceResult = void 0;
|
|
93
73
|
}
|
|
94
74
|
}
|
|
95
75
|
_handleTraceInputsChange() {
|
|
96
|
-
this._handleTraceConfigChange();
|
|
97
76
|
}
|
|
98
77
|
_handleUtilityNetworkChange() {
|
|
99
|
-
this.
|
|
78
|
+
this._viewModel.utilityNetwork = this._traceInputsRef.value?.selectedUtilityNetwork;
|
|
100
79
|
}
|
|
101
80
|
renderResultsTab() {
|
|
102
|
-
return
|
|
81
|
+
return r(`${this.el.id}__results-tab-item`, o`<calcite-tab .selected=${this.activeTab === "results"}>${this._viewModel.state === "executing" ? o`<calcite-loader .label=${this._messages.runningTrace} .text=${this._messages.runningTrace}></calcite-loader>` : o`<arcgis-utility-network-trace-results .layers=${this._allLayers} .traceConfigTitle=${this._selectedTraceConfig?.title} .traceResult=${this.traceResult} .utilityNetwork=${this._viewModel.utilityNetwork ?? void 0} ${c(this._traceResultsRef)}></arcgis-utility-network-trace-results>`}</calcite-tab>`);
|
|
103
82
|
}
|
|
104
83
|
renderResultsFooter() {
|
|
105
84
|
const { _numTraceResults: e, _traceResultsExist: i } = this;
|
|
106
85
|
return o`<calcite-button appearance=outline width=full @click=${() => {
|
|
107
86
|
this._switchTab("input"), this._clearTraceResult();
|
|
108
|
-
}} .disabled=${!i} slot=footer>${i ? this.
|
|
87
|
+
}} .disabled=${!i} slot=footer>${i ? this._messages.buttons.clearResultsCustom.replace("{number}", e.toString()) : this._messages.buttons.clearResultsGeneric}</calcite-button>`;
|
|
109
88
|
}
|
|
110
89
|
renderInputTab() {
|
|
111
|
-
return
|
|
90
|
+
return r(`${this.el.id}__inputs-tab-item`, o`<calcite-tab .selected=${this.activeTab === "input"}><arcgis-utility-network-trace-inputs .view=${this.view || void 0} @arcgisTraceInputsChange=${this._handleTraceInputsChange} @arcgisUtilityNetworkChange=${this._handleUtilityNetworkChange} ${c(this._traceInputsRef)}></arcgis-utility-network-trace-inputs></calcite-tab>`);
|
|
112
91
|
}
|
|
113
92
|
renderInputFooter() {
|
|
114
93
|
return o`<calcite-button appearance=solid width=full @click=${() => {
|
|
115
94
|
this._switchTab("results"), this._runTrace();
|
|
116
|
-
}}
|
|
95
|
+
}} slot=footer>${this._messages.buttons.getResults}</calcite-button>`;
|
|
117
96
|
}
|
|
118
97
|
render() {
|
|
119
|
-
const {
|
|
98
|
+
const { _messages: e, _viewModel: { loadError: i, state: t } } = this, l = t === "disabled" && i != null && i !== "no-utility-network" ? o`<calcite-notice kind=warning open scale=s slot=content-top width=full><div slot=message>${this._getLoadError(i)}</div></calcite-notice>` : void 0;
|
|
120
99
|
return o`<div class="arcgis-utility-network-trace-analysis"><calcite-panel .loading=${this.view === void 0}><calcite-tabs layout=center position=top><calcite-tab-nav slot=title-group><calcite-tab-title @click=${() => {
|
|
121
100
|
this._switchTab("input");
|
|
122
|
-
}} .selected=${this.
|
|
101
|
+
}} .selected=${this.activeTab === "input"}>${e.tabs.inputTab}</calcite-tab-title><calcite-tab-title @click=${() => {
|
|
123
102
|
this._switchTab("results");
|
|
124
|
-
}} .selected=${this.
|
|
103
|
+
}} .selected=${this.activeTab === "results"}>${e.tabs.resultsTab}</calcite-tab-title></calcite-tab-nav>${this.view !== void 0 ? o`${this.renderInputTab()}${this.renderResultsTab()}` : null}</calcite-tabs>${l}${this.activeTab === "input" ? this.renderInputFooter() : null}${this.activeTab === "results" ? this.renderResultsFooter() : null}</calcite-panel></div>`;
|
|
125
104
|
}
|
|
126
105
|
}
|
|
127
|
-
a("arcgis-utility-network-trace-analysis",
|
|
106
|
+
a("arcgis-utility-network-trace-analysis", w);
|
|
128
107
|
export {
|
|
129
|
-
|
|
108
|
+
w as ArcgisUtilityNetworkTraceAnalysis
|
|
130
109
|
};
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
/// <reference types="@arcgis/core/interfaces.d.ts" />
|
|
2
2
|
/// <reference path="../../index.d.ts" />
|
|
3
|
+
import { default as Collection } from '@arcgis/core/core/Collection.js';
|
|
4
|
+
import { default as FeatureLayer } from '@arcgis/core/layers/FeatureLayer';
|
|
5
|
+
import { default as NamedTraceConfiguration } from '@arcgis/core/networks/support/NamedTraceConfiguration.js';
|
|
3
6
|
import { default as UtilityNetwork } from '@arcgis/core/networks/UtilityNetwork.js';
|
|
7
|
+
import { default as TraceLocation } from '@arcgis/core/rest/networks/support/TraceLocation.js';
|
|
4
8
|
import { JsxNode, PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
5
|
-
import { default as NamedTraceConfiguration } from '@arcgis/core/networks/support/NamedTraceConfiguration.js';
|
|
6
|
-
import { ArcgisReferenceElement } from '../../utils/component-utils';
|
|
7
9
|
import { PropertyValues } from 'lit';
|
|
8
|
-
import {
|
|
10
|
+
import { ArcgisReferenceElement } from '../../utils/component-utils';
|
|
9
11
|
|
|
10
12
|
type State = "disabled" | "error" | "loading" | "ready";
|
|
11
13
|
/**
|
|
@@ -22,14 +24,11 @@ type State = "disabled" | "error" | "loading" | "ready";
|
|
|
22
24
|
export declare class ArcgisUtilityNetworkTraceInputs extends LitElement {
|
|
23
25
|
/** @required */
|
|
24
26
|
view?: __esri.MapView;
|
|
27
|
+
selectedSubnetworkName?: string;
|
|
25
28
|
selectedUtilityNetwork?: UtilityNetwork;
|
|
26
29
|
selectedTraceConfiguration?: NamedTraceConfiguration;
|
|
27
|
-
/**
|
|
28
|
-
* By assigning the `id` attribute of the Map or Scene component to this property, you can position a child component anywhere in the DOM while still maintaining a connection to the Map or Scene.
|
|
29
|
-
*
|
|
30
|
-
* @see [Associate components with a Map or Scene component](https://developers.arcgis.com/javascript/latest/programming-patterns/#associate-components-with-a-map-or-scene-component)
|
|
31
|
-
*/
|
|
32
30
|
referenceElement?: ArcgisReferenceElement | string;
|
|
31
|
+
get traceLocations(): TraceLocation[];
|
|
33
32
|
readonly arcgisTraceInputsChange: TargetedEvent<this, void>;
|
|
34
33
|
readonly arcgisUtilityNetworkChange: TargetedEvent<this, void>;
|
|
35
34
|
}
|
|
@@ -1,103 +1,261 @@
|
|
|
1
|
-
import { c } from "../../chunks/runtime.js";
|
|
2
|
-
import { repeat as
|
|
3
|
-
import {
|
|
4
|
-
import
|
|
5
|
-
import
|
|
1
|
+
import { c as b } from "../../chunks/runtime.js";
|
|
2
|
+
import { repeat as h } from "lit/directives/repeat.js";
|
|
3
|
+
import { queryAllJSON as m } from "@arcgis/core/applications/Components/featureUtils.js";
|
|
4
|
+
import n from "@arcgis/core/core/Collection.js";
|
|
5
|
+
import f from "@arcgis/core/layers/GraphicsLayer.js";
|
|
6
|
+
import d from "@arcgis/core/networks/support/UNTraceConfiguration.js";
|
|
7
|
+
import _ from "@arcgis/core/rest/support/FeatureSet.js";
|
|
8
|
+
import u from "@arcgis/core/views/interactive/snapping/FeatureSnappingLayerSource.js";
|
|
9
|
+
import S from "@arcgis/core/widgets/Sketch/SketchViewModel.js";
|
|
10
|
+
import { LitElement as T, createEvent as g, safeClassMap as p } from "@arcgis/lumina";
|
|
11
|
+
import { css as N, html as s } from "lit";
|
|
12
|
+
import { u as $ } from "../../chunks/useT9n.js";
|
|
6
13
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
7
14
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
8
|
-
v5.0.0-next.
|
|
9
|
-
const
|
|
10
|
-
|
|
15
|
+
v5.0.0-next.20 */
|
|
16
|
+
const L = N`:host{min-width:300px}.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{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;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)}`, w = "arcgis-utility-network-trace-inputs", k = {
|
|
17
|
+
// popup renderer
|
|
18
|
+
base: w,
|
|
19
|
+
// containers and content
|
|
20
|
+
addSpatialMode: `${w}__add-spatial-mode`
|
|
21
|
+
}, c = "map-components:utility-network-trace-inputs", y = `utility-network-trace-inputs-sketch-${Date.now()}`, l = `utility-network-trace-inputs-flags-${Date.now()}`;
|
|
22
|
+
class C extends T {
|
|
11
23
|
constructor() {
|
|
12
|
-
super(...arguments), this.
|
|
24
|
+
super(...arguments), this._messages = $({ blocking: !0 }), this._startingPoints = new n(), this._barriers = new n(), this._stoppingPoints = new n(), this._subnetworkTraceTypes = /* @__PURE__ */ new Set([
|
|
25
|
+
"subnetwork",
|
|
26
|
+
"subnetwork-controller",
|
|
27
|
+
"upstream",
|
|
28
|
+
"downstream",
|
|
29
|
+
"isolation"
|
|
30
|
+
]), 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 = g(), this.arcgisUtilityNetworkChange = g();
|
|
13
31
|
}
|
|
14
32
|
static {
|
|
15
|
-
this.properties = { traceConfigurations: 16, utilityNetworks: 16, _state: 16, view: 0, selectedUtilityNetwork: 0, selectedTraceConfiguration: 0, referenceElement: 1 };
|
|
33
|
+
this.properties = { compatibleSubnetworkNames: 16, subnetworksTable: 16, traceConfigurations: 16, utilityNetworks: 16, _state: 16, _mode: 16, _activeTraceLocationType: 16, view: 0, selectedSubnetworkName: 1, selectedUtilityNetwork: 0, selectedTraceConfiguration: 0, referenceElement: 1, traceLocations: 32 };
|
|
16
34
|
}
|
|
17
35
|
static {
|
|
18
|
-
this.styles =
|
|
36
|
+
this.styles = L;
|
|
37
|
+
}
|
|
38
|
+
get _allLayers() {
|
|
39
|
+
const { view: e } = this;
|
|
40
|
+
return e?.map ? e.map.allLayers.toArray().concat(e.map.allTables.toArray()) : [];
|
|
41
|
+
}
|
|
42
|
+
get traceLocations() {
|
|
43
|
+
const e = this._startingPoints.toArray().map((a) => a.traceLocation), t = this._barriers.toArray().map((a) => a.traceLocation), i = this._stoppingPoints.toArray().map((a) => a.traceLocation);
|
|
44
|
+
return [...e, ...t, ...i];
|
|
19
45
|
}
|
|
20
46
|
load() {
|
|
21
|
-
this._setupUtilityNetwork();
|
|
47
|
+
this._setupUtilityNetwork(), this._setupSketchViewModel();
|
|
22
48
|
}
|
|
23
|
-
willUpdate(
|
|
24
|
-
const { utilityNetworks:
|
|
25
|
-
(
|
|
49
|
+
willUpdate(e) {
|
|
50
|
+
const { utilityNetworks: t, selectedUtilityNetwork: i } = this;
|
|
51
|
+
(e.has("utilityNetworks") || !t || t.length === 0 || !i || !t?.includes(i)) && this._handleUtilityNetworksChange(), e.has("selectedUtilityNetwork") && (this.arcgisUtilityNetworkChange.emit(), this._handleSelectedUtilityNetworkChange()), e.has("selectedTraceConfiguration") && (this.arcgisTraceInputsChange.emit(), this._handleTraceConfigChange()), e.has("selectedSubnetworkName") && this.arcgisTraceInputsChange.emit();
|
|
26
52
|
}
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
53
|
+
_clearTraceLocations() {
|
|
54
|
+
this._getGraphicLayer(l)?.removeAll(), this._startingPoints.removeAll(), this._barriers.removeAll(), this._stoppingPoints.removeAll();
|
|
55
|
+
}
|
|
56
|
+
_addUniqueLayer(e, t, i) {
|
|
57
|
+
if (!t || !e?.map)
|
|
30
58
|
return;
|
|
59
|
+
const { map: a } = e, r = a.layers.find((o) => o === t);
|
|
60
|
+
r || a.add(t, i), r && i != null && a.layers.reorder(r, i);
|
|
61
|
+
}
|
|
62
|
+
_createGraphicLayer(e) {
|
|
63
|
+
const { map: t } = this.view;
|
|
64
|
+
if (!t?.findLayerById(e)) {
|
|
65
|
+
const a = new f({
|
|
66
|
+
id: e,
|
|
67
|
+
listMode: "hide",
|
|
68
|
+
title: e
|
|
69
|
+
});
|
|
70
|
+
this._addUniqueLayer(this.view, a);
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
_getGraphicLayer(e) {
|
|
74
|
+
const { map: t } = this.view;
|
|
75
|
+
if (t) {
|
|
76
|
+
const i = t.findLayerById(e);
|
|
77
|
+
if (i && i.type === "graphics")
|
|
78
|
+
return i;
|
|
79
|
+
}
|
|
80
|
+
return null;
|
|
81
|
+
}
|
|
82
|
+
_setSnappingOption() {
|
|
83
|
+
const { _sketchViewModel: e, _unLayers: t } = this;
|
|
84
|
+
if (e && t && t.length > 0) {
|
|
85
|
+
const i = new n();
|
|
86
|
+
t.forEach((a) => {
|
|
87
|
+
a.type === "subtype-group" ? a.sublayers.forEach((r) => {
|
|
88
|
+
i.add(new u({
|
|
89
|
+
layer: r,
|
|
90
|
+
enabled: !0
|
|
91
|
+
}));
|
|
92
|
+
}) : i.add(new u({
|
|
93
|
+
layer: a,
|
|
94
|
+
enabled: !0
|
|
95
|
+
}));
|
|
96
|
+
}), e.snappingOptions = {
|
|
97
|
+
enabled: !0,
|
|
98
|
+
featureEnabled: !0,
|
|
99
|
+
featureSources: i
|
|
100
|
+
};
|
|
31
101
|
}
|
|
32
102
|
}
|
|
33
|
-
|
|
34
|
-
const e = this.
|
|
35
|
-
|
|
36
|
-
|
|
103
|
+
_initializeSketchViewModel() {
|
|
104
|
+
const { view: e, _unLayers: t } = this, i = this._getGraphicLayer(y), a = new n();
|
|
105
|
+
return t?.forEach((r) => a.add(new u({
|
|
106
|
+
layer: r,
|
|
107
|
+
enabled: !0
|
|
108
|
+
}))), new S({
|
|
109
|
+
layer: i,
|
|
110
|
+
view: e
|
|
111
|
+
});
|
|
112
|
+
}
|
|
113
|
+
_setupSketchViewModel() {
|
|
114
|
+
this._createGraphicLayer(y), this._createGraphicLayer(l), this._sketchViewModel = this._initializeSketchViewModel();
|
|
115
|
+
}
|
|
116
|
+
_clearSubnetworks() {
|
|
117
|
+
this.selectedSubnetworkName = void 0, this.subnetworksTable = void 0, this.compatibleSubnetworkNames = [];
|
|
118
|
+
}
|
|
119
|
+
async _loadSubnetworksTable() {
|
|
120
|
+
this.subnetworksTable || (this.subnetworksTable = await this.selectedUtilityNetwork?.loadSubnetworksTable());
|
|
121
|
+
}
|
|
122
|
+
async _querySubnetworks() {
|
|
123
|
+
const { subnetworksTable: e } = this;
|
|
124
|
+
if (!e)
|
|
125
|
+
return;
|
|
126
|
+
const t = e.createQuery();
|
|
127
|
+
t.gdbVersion = this.selectedUtilityNetwork?.gdbVersion, t.where = this._getSubnetworkQueryWhereClause(), t.outFields = ["SUBNETWORKNAME"], t.orderByFields = ["SUBNETWORKNAME"];
|
|
128
|
+
const i = _.fromJSON(await m(e, t));
|
|
129
|
+
this.compatibleSubnetworkNames = i.features.filter(this._removeDuplicateSubnetworkNames).map((a) => a.getAttribute("SUBNETWORKNAME"));
|
|
130
|
+
}
|
|
131
|
+
_getSubnetworkQueryWhereClause() {
|
|
132
|
+
const e = this.selectedTraceConfiguration?.traceConfiguration, t = `DOMAINNETWORKNAME = '${e.domainNetworkName}'`, i = `TIERNAME = '${e.tierName}'`;
|
|
133
|
+
return [t, i].join(" AND ");
|
|
134
|
+
}
|
|
135
|
+
async _handleSubnetworkTraceConfigChange(e) {
|
|
136
|
+
const { traceConfiguration: t } = e;
|
|
137
|
+
if (!(t instanceof d)) {
|
|
138
|
+
console.error(`${c} - Trace configuration not found`);
|
|
37
139
|
return;
|
|
38
140
|
}
|
|
39
|
-
this.
|
|
141
|
+
await this._loadSubnetworksTable(), await this._querySubnetworks(), this.selectedSubnetworkName = this.compatibleSubnetworkNames.find((i) => i === t.subnetworkName) ?? this.compatibleSubnetworkNames.at(0);
|
|
142
|
+
}
|
|
143
|
+
_selectTraceConfigurationByGuid(e) {
|
|
144
|
+
const t = this.selectedUtilityNetwork?.sharedNamedTraceConfigurations.find((i) => i.globalId === e);
|
|
145
|
+
if (!t) {
|
|
146
|
+
console.error(`${c} - Trace configuration not found`);
|
|
147
|
+
return;
|
|
148
|
+
}
|
|
149
|
+
this.selectedTraceConfiguration = t;
|
|
40
150
|
}
|
|
41
151
|
_handleTraceConfigChange() {
|
|
42
|
-
const { selectedTraceConfiguration:
|
|
43
|
-
if (
|
|
44
|
-
switch (
|
|
152
|
+
const { selectedTraceConfiguration: e } = this;
|
|
153
|
+
if (e)
|
|
154
|
+
switch (e.traceType) {
|
|
45
155
|
case "subnetwork":
|
|
46
|
-
this._handleSubnetworkTraceConfigChange(
|
|
156
|
+
this._handleSubnetworkTraceConfigChange(e);
|
|
47
157
|
break;
|
|
48
158
|
default:
|
|
49
|
-
console.error(`${
|
|
159
|
+
console.error(`${c} - Unknown trace configuration type`);
|
|
50
160
|
}
|
|
51
161
|
}
|
|
52
|
-
async
|
|
53
|
-
await this.selectedUtilityNetwork?.load(), this.
|
|
162
|
+
async _handleSelectedUtilityNetworkChange() {
|
|
163
|
+
await this.selectedUtilityNetwork?.load(), this._clearSubnetworks(), this._setupTraceConfigurations(), this._filterUnLayers(), this._clearTraceLocations();
|
|
164
|
+
}
|
|
165
|
+
_setupTraceConfigurations() {
|
|
166
|
+
this.traceConfigurations = this.selectedUtilityNetwork?.sharedNamedTraceConfigurations || [], this.selectedTraceConfiguration = this.traceConfigurations.at(0);
|
|
167
|
+
}
|
|
168
|
+
_filterUnLayers() {
|
|
169
|
+
const { selectedUtilityNetwork: e } = this;
|
|
170
|
+
this._unLayers = new n(this._allLayers.filter((t) => e?.isUtilityLayer(t))), this._setSnappingOption();
|
|
54
171
|
}
|
|
55
172
|
_handleUtilityNetworksChange() {
|
|
56
|
-
const { utilityNetworks:
|
|
57
|
-
if (!
|
|
58
|
-
this._state = "error", console.error(`${
|
|
173
|
+
const { utilityNetworks: e } = this;
|
|
174
|
+
if (!e || e.length === 0) {
|
|
175
|
+
this._state = "error", console.error(`${c} - No utility networks found in the map`);
|
|
59
176
|
return;
|
|
60
177
|
}
|
|
61
|
-
(!this.selectedUtilityNetwork || !
|
|
178
|
+
(!this.selectedUtilityNetwork || !e.includes(this.selectedUtilityNetwork)) && (this.selectedUtilityNetwork = e.at(0));
|
|
62
179
|
}
|
|
63
180
|
async _setupUtilityNetwork() {
|
|
64
181
|
if (this.view?.map) {
|
|
65
|
-
const
|
|
66
|
-
await
|
|
182
|
+
const e = this.view.map;
|
|
183
|
+
await e.load(), this.utilityNetworks = e.utilityNetworks || void 0;
|
|
67
184
|
} else
|
|
68
|
-
this._state = "disabled", console.error(`${
|
|
185
|
+
this._state = "disabled", console.error(`${c} - No view or map available to load utility networks`);
|
|
69
186
|
}
|
|
70
|
-
|
|
71
|
-
|
|
187
|
+
_handleTraceLocationSelectStart(e) {
|
|
188
|
+
this._activeTraceLocationType = e?.target?.traceLocationType, this._mode = "add-spatial";
|
|
189
|
+
}
|
|
190
|
+
_handleTraceLocationSelectEnd() {
|
|
191
|
+
this._activeTraceLocationType = void 0, this._mode = "default";
|
|
192
|
+
}
|
|
193
|
+
_handleFlowItemBack() {
|
|
194
|
+
this._mode = "default", this._activeTraceLocationType = void 0, this._sketchViewModel?.cancel();
|
|
195
|
+
}
|
|
196
|
+
renderError(e, t = !1, i) {
|
|
197
|
+
return s`<calcite-notice .closable=${t} kind=danger open scale=s width=auto .icon=${i}><div slot=message>${e}</div></calcite-notice>`;
|
|
72
198
|
}
|
|
73
199
|
renderLoader() {
|
|
74
200
|
return s`<calcite-loader label=loading></calcite-loader>`;
|
|
75
201
|
}
|
|
76
202
|
renderTraceSelection() {
|
|
77
|
-
const {
|
|
78
|
-
if (
|
|
79
|
-
return this.renderError(
|
|
80
|
-
const
|
|
81
|
-
return s`<calcite-label
|
|
82
|
-
this._selectTraceConfigurationByGuid(
|
|
83
|
-
}}>${
|
|
203
|
+
const { _messages: e, traceConfigurations: t } = this, i = e.labels.traceConfiguration;
|
|
204
|
+
if (t.length === 0)
|
|
205
|
+
return this.renderError(e.errors.noTraceConfigurationError, !0);
|
|
206
|
+
const a = h(t, (r) => r.globalId, (r) => s`<calcite-option .value=${r.globalId}>${r.title}</calcite-option>`);
|
|
207
|
+
return s`<calcite-block .heading=${i} .label=${i} expanded><calcite-select .label=${i} .value=${this.selectedTraceConfiguration?.globalId || void 0} @calciteSelectChange=${(r) => {
|
|
208
|
+
this._selectTraceConfigurationByGuid(r.target.value);
|
|
209
|
+
}}>${a}</calcite-select></calcite-block>`;
|
|
84
210
|
}
|
|
85
211
|
renderUtilityNetworkSelection() {
|
|
86
|
-
const {
|
|
87
|
-
return s`<calcite-label
|
|
88
|
-
this.selectedUtilityNetwork?.id !==
|
|
89
|
-
}}>${i}</calcite-select></calcite-
|
|
212
|
+
const { _messages: e } = this, t = e.labels.utilityNetwork, i = h(this.utilityNetworks, (a) => a.id, (a) => s`<calcite-option .value=${a.id}>${a.title}</calcite-option>`);
|
|
213
|
+
return s`<calcite-block .heading=${t} .label=${t} expanded><calcite-select .label=${t} .value=${this.selectedUtilityNetwork?.id} @calciteSelectChange=${(a) => {
|
|
214
|
+
this.selectedUtilityNetwork?.id !== a.target.value && (this.selectedUtilityNetwork = this.utilityNetworks?.find((r) => r.id === a.target.value));
|
|
215
|
+
}}>${i}</calcite-select></calcite-block>`;
|
|
216
|
+
}
|
|
217
|
+
renderDefaultMode() {
|
|
218
|
+
const { _messages: e, _state: t, _mode: i } = this;
|
|
219
|
+
return s`<calcite-flow-item .selected=${i === "default"}>${t === "disabled" ? this.renderError(e.errors.noMapError) : this.renderContent()}</calcite-flow-item>`;
|
|
220
|
+
}
|
|
221
|
+
renderAddSpatialMode() {
|
|
222
|
+
const { _messages: e, _activeTraceLocationType: t } = this, i = t === "starting-point" ? e.labels.addSpatial.startingPoint : t === "barrier" ? e.labels.addSpatial.barrier : e.labels.addSpatial.stoppingPoint;
|
|
223
|
+
return s`<calcite-flow-item selected .heading=${i} @calciteFlowItemBack=${() => this._handleFlowItemBack()}><div class=${p(k.addSpatialMode)}><calcite-icon icon=pin-plus scale=l></calcite-icon>${e.instructions.addSpatial}</div></calcite-flow-item>`;
|
|
224
|
+
}
|
|
225
|
+
renderStartingPointSelection() {
|
|
226
|
+
return s`<arcgis-utility-network-trace-location .view=${this.view} trace-location-type=starting-point @arcgisTraceLocationSelectStart=${(e) => this._handleTraceLocationSelectStart(e)} @arcgisTraceLocationSelectEnd=${() => this._handleTraceLocationSelectEnd()} @arcgisTraceLocationChange=${() => this.arcgisTraceInputsChange.emit()} .sketchViewModel=${this._sketchViewModel} .utilityNetwork=${this.selectedUtilityNetwork} .filterLayers=${this._unLayers} .flagLayer=${this._getGraphicLayer(l)} .traceLocations=${this._startingPoints}></arcgis-utility-network-trace-location>`;
|
|
227
|
+
}
|
|
228
|
+
renderStoppingPointSelection() {
|
|
229
|
+
return s`<arcgis-utility-network-trace-location .view=${this.view} trace-location-type=stopping-point @arcgisTraceLocationSelectStart=${(e) => this._handleTraceLocationSelectStart(e)} @arcgisTraceLocationSelectEnd=${() => this._handleTraceLocationSelectEnd()} @arcgisTraceLocationChange=${() => this.arcgisTraceInputsChange.emit()} .sketchViewModel=${this._sketchViewModel} .utilityNetwork=${this.selectedUtilityNetwork} .filterLayers=${this._unLayers} .flagLayer=${this._getGraphicLayer(l)} .traceLocations=${this._stoppingPoints}></arcgis-utility-network-trace-location>`;
|
|
230
|
+
}
|
|
231
|
+
renderBarrierSelection() {
|
|
232
|
+
return s`<arcgis-utility-network-trace-location .view=${this.view} trace-location-type=barrier @arcgisTraceLocationSelectStart=${(e) => this._handleTraceLocationSelectStart(e)} @arcgisTraceLocationSelectEnd=${() => this._handleTraceLocationSelectEnd()} @arcgisTraceLocationChange=${() => this.arcgisTraceInputsChange.emit()} .sketchViewModel=${this._sketchViewModel} .utilityNetwork=${this.selectedUtilityNetwork} .filterLayers=${this._unLayers} .flagLayer=${this._getGraphicLayer(l)} .traceLocations=${this._barriers}></arcgis-utility-network-trace-location>`;
|
|
233
|
+
}
|
|
234
|
+
renderSubnetworkSelectList() {
|
|
235
|
+
const { compatibleSubnetworkNames: e, selectedSubnetworkName: t, _messages: i } = this, a = i.labels.subnetworkName, r = e.map((o) => s`<calcite-option .value=${o}>${o}</calcite-option>`);
|
|
236
|
+
return s`<calcite-block .heading=${a} .label=${a} expanded><calcite-select .label=${a} .value=${t} @calciteSelectChange=${(o) => this.selectedSubnetworkName = o.target.value}>${r}</calcite-select></calcite-block>`;
|
|
237
|
+
}
|
|
238
|
+
renderSubnetworkSelection() {
|
|
239
|
+
const { compatibleSubnetworkNames: e, _messages: t, selectedTraceConfiguration: i } = this;
|
|
240
|
+
return i?.traceConfiguration instanceof d && i.traceType === "subnetwork" && i.traceConfiguration.subnetworkName ? this.subnetworksTable?.loaded ? e.length ? this.renderSubnetworkSelectList() : this.renderError(t.errors.noCompatibleSubnetworks, !1, "exclamation-mark-triangle") : s`<calcite-loader class="inline-loader" label=loading scale=s></calcite-loader>` : null;
|
|
241
|
+
}
|
|
242
|
+
renderSubnetworkInfo() {
|
|
243
|
+
const { _messages: e, selectedTraceConfiguration: t } = this;
|
|
244
|
+
return t?.traceConfiguration instanceof d && t.traceType && this._subnetworkTraceTypes.has(t.traceType) ? s`<calcite-block class="subnetwork-info-block" expanded .label=${e.labels.subnetworkInfo}><arcgis-utility-network-subnetwork-info .namedTraceConfig=${t}></arcgis-utility-network-subnetwork-info></calcite-block>` : null;
|
|
90
245
|
}
|
|
91
246
|
renderContent() {
|
|
92
|
-
const {
|
|
93
|
-
|
|
247
|
+
const { _messages: e, utilityNetworks: t } = this;
|
|
248
|
+
if (!t || t.length === 0)
|
|
249
|
+
return this.renderError(e.errors.noUtilityNetworkError);
|
|
250
|
+
const i = s`${this.renderTraceSelection()}${this.renderSubnetworkInfo()}${this.renderSubnetworkSelection()}`;
|
|
251
|
+
return s`<calcite-block-group .label=${e.labels.traceInputs}>${t.length > 1 ? this.renderUtilityNetworkSelection() : null}${this.selectedUtilityNetwork?.loaded ? i : this.renderLoader()}${this.selectedTraceConfiguration ? this.renderStartingPointSelection() : null}${this.selectedTraceConfiguration ? this.renderStoppingPointSelection() : null}${this.selectedTraceConfiguration ? this.renderBarrierSelection() : null}</calcite-block-group>`;
|
|
94
252
|
}
|
|
95
253
|
render() {
|
|
96
|
-
const {
|
|
97
|
-
return s`<div class
|
|
254
|
+
const { _mode: e } = this;
|
|
255
|
+
return s`<div class=${p(k.base)}><calcite-flow>${this.renderDefaultMode()}${e === "add-spatial" ? this.renderAddSpatialMode() : null}</calcite-flow></div>`;
|
|
98
256
|
}
|
|
99
257
|
}
|
|
100
|
-
|
|
258
|
+
b("arcgis-utility-network-trace-inputs", C);
|
|
101
259
|
export {
|
|
102
|
-
|
|
260
|
+
C as ArcgisUtilityNetworkTraceInputs
|
|
103
261
|
};
|