@arcgis/map-components 5.0.0-next.6 → 5.0.0-next.60
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/22SN73CX.js +4 -0
- package/dist/cdn/23XXW3XX.js +4 -0
- package/dist/cdn/{LB5CIPFL.js → 2LCZJ7LM.js} +2 -2
- package/dist/cdn/2RZYFL5R.js +4 -0
- package/dist/cdn/2YZ6QJUD.js +4 -0
- package/dist/cdn/{UAIGXACR.js → 34PPGHFO.js} +2 -2
- package/dist/cdn/{GLODJKMZ.js → 36KYB2VL.js} +2 -2
- package/dist/cdn/3DE7CUJQ.js +4 -0
- package/dist/cdn/3GG7QSTZ.js +4 -0
- package/dist/cdn/{KOTDYNET.js → 3P7BK3SI.js} +2 -2
- package/dist/cdn/{6XWHYYCL.js → 3U5KO5V7.js} +2 -2
- package/dist/cdn/{QMJS7YYV.js → 3XCSQXUA.js} +2 -2
- package/dist/cdn/446JT3P3.js +4 -0
- package/dist/cdn/4F2D2S6T.js +4 -0
- package/dist/cdn/4H2UGOUX.js +4 -0
- package/dist/cdn/{YNUARQV3.js → 4H4N5ESW.js} +2 -2
- package/dist/cdn/4IOQ6ZXK.js +5 -0
- package/dist/cdn/4KNXSISO.js +4 -0
- package/dist/cdn/4R6AY5OZ.js +4 -0
- package/dist/cdn/4RR25Q2F.js +4 -0
- package/dist/cdn/4SI4KP5X.js +4 -0
- package/dist/cdn/4TIY7Z2U.js +4 -0
- package/dist/cdn/{ISU7UB5C.js → 4UN4QCTK.js} +2 -2
- package/dist/cdn/54BPT4FR.js +4 -0
- package/dist/cdn/5OI7JCR6.js +4 -0
- package/dist/cdn/5PBEHLYG.js +4 -0
- package/dist/cdn/5WOQUXW2.js +4 -0
- package/dist/cdn/5XQKT76I.js +4 -0
- package/dist/cdn/{MJ4YBES2.js → 65J5WO42.js} +2 -2
- package/dist/cdn/67FGHI5N.js +4 -0
- package/dist/cdn/6CFEML75.js +4 -0
- package/dist/cdn/6GXTSJZI.js +4 -0
- package/dist/cdn/{BZSTQJWD.js → 6XFOUMMD.js} +2 -2
- package/dist/cdn/6YB6XZCA.js +4 -0
- package/dist/cdn/{GTFTLDMW.js → 6ZXQ5RFE.js} +2 -2
- package/dist/cdn/753444OO.js +4 -0
- package/dist/cdn/7B5YPXQ3.js +4 -0
- package/dist/cdn/{OODU2NAN.js → 7BAAZ3KL.js} +2 -2
- package/dist/cdn/{3MHCWB64.js → 7CUAIADO.js} +2 -2
- package/dist/cdn/7FJK2DG7.js +4 -0
- package/dist/cdn/7JMTQAYT.js +4 -0
- package/dist/cdn/{5S42PJTM.js → 7O5Q2ZMM.js} +2 -2
- package/dist/cdn/7PWX7VTX.js +4 -0
- package/dist/cdn/{B2W4EWK6.js → 7XUMQ3UG.js} +2 -2
- package/dist/cdn/7YSAA3YB.js +4 -0
- package/dist/cdn/{EMMLC2ML.js → 7ZBFKZ2U.js} +2 -2
- package/dist/cdn/A3KFIAIH.js +4 -0
- package/dist/cdn/ATKFU76Z.js +4 -0
- package/dist/cdn/{6AJF75LJ.js → AUF7MVWC.js} +2 -2
- package/dist/cdn/AX5FS5UN.js +4 -0
- package/dist/cdn/{7333ELLT.js → AXKVT7YY.js} +2 -2
- package/dist/cdn/AXSZPPRK.js +4 -0
- package/dist/cdn/BMMMUTRA.js +4 -0
- package/dist/cdn/{XHJW7EJB.js → BV5DN5CR.js} +2 -2
- package/dist/cdn/{PKTRQSJ3.js → BXBF2FTT.js} +2 -2
- package/dist/cdn/{OAVOMLYV.js → BYQ3F7EH.js} +2 -2
- package/dist/cdn/BZR3WPNP.js +4 -0
- package/dist/cdn/CON2DKKW.js +4 -0
- package/dist/cdn/CY6JWEGQ.js +4 -0
- package/dist/cdn/D33GTAOP.js +4 -0
- package/dist/cdn/DAAY2X6G.js +4 -0
- package/dist/cdn/{G6YBBKHU.js → DC7PUH4R.js} +2 -2
- package/dist/cdn/{ZON57F3Z.js → DHAIKYXI.js} +2 -2
- package/dist/cdn/DOPVWON5.js +4 -0
- package/dist/cdn/DWJUCAFA.js +4 -0
- package/dist/cdn/DXLV6TA6.js +4 -0
- package/dist/cdn/{F2RWK5EM.js → E2JQFBJ5.js} +2 -2
- package/dist/cdn/EBHBX3FJ.js +4 -0
- package/dist/cdn/{6L4TZHKU.js → EBRUCS2H.js} +2 -2
- package/dist/cdn/{5ROISKK5.js → EDYFEOMK.js} +2 -2
- package/dist/cdn/EE4URIVE.js +4 -0
- package/dist/cdn/EF76ARPO.js +4 -0
- package/dist/cdn/{SN7O2A3T.js → EFGY3PUV.js} +2 -2
- package/dist/cdn/{IRJJTNFE.js → EMM2YXBZ.js} +2 -2
- package/dist/cdn/ETCPTUTC.js +4 -0
- package/dist/cdn/EUWLQ72X.js +4 -0
- package/dist/cdn/{2ZOE2EB7.js → FDZBJHOZ.js} +2 -2
- package/dist/cdn/{6H5AZ4GE.js → FF6MMPO5.js} +1 -1
- package/dist/cdn/{2QEVKF3M.js → FHX33I6H.js} +2 -2
- package/dist/cdn/FM2M5AD3.js +4 -0
- package/dist/cdn/FPLUROKR.js +4 -0
- package/dist/cdn/{CJGNIR2H.js → G6NT2BMO.js} +2 -2
- package/dist/cdn/G7F24YMX.js +4 -0
- package/dist/cdn/G7ZDX2ND.js +4 -0
- package/dist/cdn/GALIZUYK.js +4 -0
- package/dist/cdn/GFC73ZF7.js +4 -0
- package/dist/cdn/GGVLA2KE.js +4 -0
- package/dist/cdn/GJXJJCQW.js +4 -0
- package/dist/cdn/{MKR5A67F.js → GJZJ5LAZ.js} +2 -2
- package/dist/cdn/GLIG7D5P.js +4 -0
- package/dist/cdn/GMWZTZZP.js +4 -0
- package/dist/cdn/{UK5FKXNT.js → GPODR4DE.js} +2 -2
- package/dist/cdn/GRB6NIG4.js +4 -0
- package/dist/cdn/{C7O5KTPB.js → GT2CQ3HH.js} +2 -2
- package/dist/cdn/{ZNGXUT36.js → GUVB6M62.js} +1 -1
- package/dist/cdn/GYQVWLR6.js +4 -0
- package/dist/cdn/H3XX3LXB.js +4 -0
- package/dist/cdn/H3ZJXIOZ.js +4 -0
- package/dist/cdn/{NNNE2APH.js → H7D6W54Y.js} +2 -2
- package/dist/cdn/{ZXP6O3VA.js → HF3K3BG2.js} +2 -2
- package/dist/cdn/HTVFBEGF.js +4 -0
- package/dist/cdn/{KY4EUKNJ.js → HW7IQPIC.js} +2 -2
- package/dist/cdn/I45RBRX7.js +4 -0
- package/dist/cdn/I54UP3KH.js +4 -0
- package/dist/cdn/I5VUPFSB.js +4 -0
- package/dist/cdn/{ABX2KJWQ.js → I6ZS7ZLU.js} +2 -2
- package/dist/cdn/IBGKR27B.js +4 -0
- package/dist/cdn/{3KXHDPQI.js → IGHJSVOQ.js} +1 -1
- package/dist/cdn/{YLUUTWQL.js → ILCGUE25.js} +1 -1
- package/dist/cdn/ILQSC557.js +4 -0
- package/dist/cdn/{YXLQEOV6.js → IOUWIYUD.js} +2 -2
- package/dist/cdn/{5KTQXHUJ.js → IQ3EZESF.js} +2 -2
- package/dist/cdn/{XE4A4ZAW.js → IRY2CYGW.js} +2 -2
- package/dist/cdn/ITDAKK2T.js +4 -0
- package/dist/cdn/J5LCDVYE.js +4 -0
- package/dist/cdn/{4MWLYDY5.js → J7PVIFUK.js} +2 -2
- package/dist/cdn/JA2ZNYCQ.js +4 -0
- package/dist/cdn/{3UTRV5F5.js → JJRLF2KL.js} +2 -2
- package/dist/cdn/{ISGJWGMP.js → JKSULCOM.js} +2 -2
- package/dist/cdn/JLIIDJLK.js +4 -0
- package/dist/cdn/JMY2LNPO.js +4 -0
- package/dist/cdn/JWMVHAAK.js +4 -0
- package/dist/cdn/JYN3VTF4.js +4 -0
- package/dist/cdn/JZXPF7FZ.js +4 -0
- package/dist/cdn/K6MLJLZ2.js +4 -0
- package/dist/cdn/KBFUDIEE.js +4 -0
- package/dist/cdn/KIJ6BCCW.js +4 -0
- package/dist/cdn/{KK2JJGUK.js → KJUJ7YOG.js} +2 -2
- package/dist/cdn/{QZVSJ65F.js → KKL3WWJ5.js} +2 -2
- package/dist/cdn/KMCYG6KR.js +4 -0
- package/dist/cdn/KPR7IN5X.js +4 -0
- package/dist/cdn/L4ILTEMR.js +4 -0
- package/dist/cdn/LAUSVJJE.js +4 -0
- package/dist/cdn/LCGYWYQ2.js +4 -0
- package/dist/cdn/LCLFRJWL.js +4 -0
- package/dist/cdn/LKBEL3KQ.js +4 -0
- package/dist/cdn/LRTIDLE7.js +4 -0
- package/dist/cdn/{LDRCHRH6.js → LVZFWZQF.js} +2 -2
- package/dist/cdn/LW7J2CWH.js +4 -0
- package/dist/cdn/{GIDT5OTS.js → LXMJ47RA.js} +2 -2
- package/dist/cdn/{Q4MGAVXA.js → M3KAAQUI.js} +1 -1
- package/dist/cdn/{H4FO43TQ.js → M46I3LGU.js} +2 -2
- package/dist/cdn/ME7SVEDG.js +4 -0
- package/dist/cdn/{VRJQ2TUN.js → MWRI3V26.js} +2 -2
- package/dist/cdn/MXV2OMX7.js +4 -0
- package/dist/cdn/{RBW5EUUZ.js → NLFSWDXD.js} +2 -2
- package/dist/cdn/OAEHZO6N.js +4 -0
- package/dist/cdn/OERN3FK6.js +4 -0
- package/dist/cdn/OIEQGEKZ.js +4 -0
- package/dist/cdn/{6JZBRZQZ.js → OLQZP3JM.js} +2 -2
- package/dist/cdn/P7UQSQ3K.js +4 -0
- package/dist/cdn/PBKVAQTX.js +4 -0
- package/dist/cdn/{VVDPWDSN.js → PKG2F5FR.js} +2 -2
- package/dist/cdn/Q2JAGXGW.js +4 -0
- package/dist/cdn/Q2ZP2HGE.js +4 -0
- package/dist/cdn/Q4AQVLLX.js +4 -0
- package/dist/cdn/Q4PA5V34.js +4 -0
- package/dist/cdn/{NINFL2YQ.js → Q5THBP7L.js} +2 -2
- package/dist/cdn/QEQUWJYE.js +4 -0
- package/dist/cdn/{L4NOWY7R.js → QG2D36OH.js} +2 -2
- package/dist/cdn/QHYSFL2X.js +4 -0
- package/dist/cdn/{A3MI5N43.js → QL6XBD3S.js} +2 -2
- package/dist/cdn/QNWRCLOM.js +4 -0
- package/dist/cdn/{PIEJP6YZ.js → QP5LNEZQ.js} +2 -2
- package/dist/cdn/QSAT2XS5.js +4 -0
- package/dist/cdn/QVEQKS5Y.js +4 -0
- package/dist/cdn/{OO6TJIN7.js → QWEWBEK7.js} +2 -2
- package/dist/cdn/QYEIKSTH.js +4 -0
- package/dist/cdn/{G6RKDMGY.js → QZ3WG67T.js} +2 -2
- package/dist/cdn/RFMBSIRG.js +4 -0
- package/dist/cdn/RVC3I2JK.js +4 -0
- package/dist/cdn/{4VC56N4L.js → RY2FOWAL.js} +2 -2
- package/dist/cdn/S5T4SWOR.js +4 -0
- package/dist/cdn/S7YLWISM.js +4 -0
- package/dist/cdn/{K7O52SLI.js → SGBTS435.js} +1 -1
- package/dist/cdn/{3R4HANKL.js → SH55B65A.js} +1 -1
- package/dist/cdn/SLX46C62.js +4 -0
- package/dist/cdn/SSWBFA53.js +4 -0
- package/dist/cdn/SVV34IBA.js +4 -0
- package/dist/cdn/T2K62HCS.js +4 -0
- package/dist/cdn/T35HH7NQ.js +4 -0
- package/dist/cdn/TAWBYGR7.js +4 -0
- package/dist/cdn/{J52AVBWV.js → TIBRXO66.js} +2 -2
- package/dist/cdn/{C56GZNCL.js → TJZYKPRA.js} +2 -2
- package/dist/cdn/TKUZ6ILZ.js +4 -0
- package/dist/cdn/{J5DMYV4L.js → TSY4FGQB.js} +2 -2
- package/dist/cdn/{4LLXQ7MU.js → TYIAMK52.js} +1 -1
- package/dist/cdn/U2474QAL.js +4 -0
- package/dist/cdn/{2PXF3GPF.js → U2WQWPJ2.js} +2 -2
- package/dist/cdn/{DPDBGZUQ.js → U5LUVPZM.js} +2 -2
- package/dist/cdn/UFNMMEG5.js +4 -0
- package/dist/cdn/UJD34VGN.js +9 -0
- package/dist/cdn/{OOARTTCF.js → ULABUSZZ.js} +2 -2
- package/dist/cdn/USB5OTX7.js +4 -0
- package/dist/cdn/{5GGEMLNR.js → UWQUX3B7.js} +1 -1
- package/dist/cdn/UZUPD5HF.js +4 -0
- package/dist/cdn/V5ZUEKRE.js +4 -0
- package/dist/cdn/{DQFSD3BZ.js → V7SZATOE.js} +2 -2
- package/dist/cdn/VDKPLRQY.js +4 -0
- package/dist/cdn/VMCQ7VSM.js +4 -0
- package/dist/cdn/VSUZMEOA.js +4 -0
- package/dist/cdn/{ER5OU65T.js → VTBKKM7F.js} +2 -2
- package/dist/cdn/VTL73CLY.js +6 -0
- package/dist/cdn/W62B73QK.js +4 -0
- package/dist/cdn/{U4PIL5HO.js → W62WBKQ7.js} +1 -1
- package/dist/cdn/WAJLNECL.js +4 -0
- package/dist/cdn/{TELKXVUT.js → WFXHENZG.js} +2 -2
- package/dist/cdn/WG3MVZZJ.js +4 -0
- package/dist/cdn/WMDU32FK.js +4 -0
- package/dist/cdn/{YEZT5OD7.js → WVA4JG3V.js} +2 -2
- package/dist/cdn/WXTJPA67.js +4 -0
- package/dist/cdn/X4RX2SV5.js +4 -0
- package/dist/cdn/{JCYH652U.js → XO33YU52.js} +2 -2
- package/dist/cdn/XVPOAP2G.js +4 -0
- package/dist/cdn/XXWDSFBH.js +4 -0
- package/dist/cdn/XXWRP7TN.js +4 -0
- package/dist/cdn/YAATK2KM.js +4 -0
- package/dist/cdn/YCH22QKU.js +4 -0
- package/dist/cdn/{MGEO265K.js → YONEIJNH.js} +2 -2
- package/dist/cdn/YUSMRESW.js +4 -0
- package/dist/cdn/{Y3TA75KJ.js → YUZNRNKN.js} +2 -2
- package/dist/cdn/{YHSECDVX.js → Z55BQ4T5.js} +2 -2
- package/dist/cdn/Z5UJLPXU.js +4 -0
- package/dist/cdn/ZJIQGAHJ.js +4 -0
- package/dist/cdn/ZU3YVBF4.js +4 -0
- package/dist/cdn/ZZW3SXWK.js +4 -0
- package/dist/cdn/assets/area-measurement-2d/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/color-select/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/elevation-profile/t9n/messages.en.json +1 -0
- 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/assets/utility-network-trace-location-list/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/volume-measurement/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/weather/t9n/messages.en.json +1 -1
- package/dist/cdn/index.js +2 -2
- package/dist/cdn/main.css +1 -1
- package/dist/chunks/AnalysisViewModel.js +42 -38
- package/dist/chunks/action-utils.js +2 -2
- package/dist/chunks/async-utils.js +79 -61
- 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 +2 -2
- package/dist/chunks/legacyIcon.js +1 -1
- package/dist/chunks/maybe.js +1 -1
- package/dist/chunks/measurementUtils.js +24 -10
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/screenLocation.js +1 -1
- package/dist/chunks/slots.js +5 -5
- package/dist/chunks/svgUtils.js +1 -1
- package/dist/chunks/univariateUtils.js +1 -1
- package/dist/chunks/useArcgisViewReadyError.js +44 -38
- 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 +13 -18
- package/dist/chunks/utils2.js +1 -1
- package/dist/chunks/visible-element.js +9 -0
- package/dist/components/arcgis-area-measurement-2d/AreaMeasurement2dViewModel.d.ts +40 -0
- package/dist/components/arcgis-area-measurement-2d/customElement.d.ts +72 -56
- package/dist/components/arcgis-area-measurement-2d/customElement.js +131 -19
- package/dist/components/arcgis-area-measurement-2d/index.d.ts +3 -0
- package/dist/components/arcgis-area-measurement-2d/index.js +3 -0
- package/dist/components/arcgis-area-measurement-3d/AreaMeasurement3dViewModel.d.ts +10 -10
- package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +5 -5
- package/dist/components/arcgis-area-measurement-3d/customElement.js +31 -32
- package/dist/components/arcgis-attachments/customElement.d.ts +3 -3
- package/dist/components/arcgis-attachments/customElement.js +6 -6
- package/dist/components/arcgis-basemap-gallery/customElement.d.ts +5 -5
- package/dist/components/arcgis-basemap-gallery/customElement.js +2 -2
- package/dist/components/arcgis-basemap-gallery-item/customElement.js +4 -4
- package/dist/components/arcgis-basemap-layer-list/customElement.d.ts +6 -6
- package/dist/components/arcgis-basemap-layer-list/customElement.js +2 -2
- package/dist/components/arcgis-basemap-toggle/customElement.d.ts +5 -5
- package/dist/components/arcgis-basemap-toggle/customElement.js +1 -1
- package/dist/components/arcgis-bookmarks/customElement.d.ts +33 -22
- package/dist/components/arcgis-bookmarks/customElement.js +57 -55
- package/dist/components/arcgis-building-explorer/customElement.d.ts +5 -5
- package/dist/components/arcgis-building-explorer/customElement.js +1 -1
- package/dist/components/arcgis-catalog-layer-list/customElement.d.ts +6 -6
- package/dist/components/arcgis-catalog-layer-list/customElement.js +2 -2
- package/dist/components/arcgis-color-select/customElement.d.ts +25 -0
- package/dist/components/arcgis-color-select/customElement.js +59 -0
- package/dist/components/arcgis-color-select/index.d.ts +5 -0
- package/dist/components/arcgis-color-select/index.js +5 -0
- package/dist/components/arcgis-compass/customElement.d.ts +4 -4
- package/dist/components/arcgis-compass/customElement.js +6 -6
- package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +66 -65
- package/dist/components/arcgis-coordinate-conversion/customElement.js +91 -82
- package/dist/components/arcgis-daylight/customElement.d.ts +120 -57
- package/dist/components/arcgis-daylight/customElement.js +158 -160
- package/dist/components/arcgis-daylight/index.d.ts +1 -0
- package/dist/components/arcgis-daylight/index.js +1 -0
- package/dist/components/arcgis-direct-line-measurement-3d/DirectLineMeasurement3dViewModel.d.ts +11 -11
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.d.ts +5 -15
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +43 -51
- package/dist/components/arcgis-directional-pad/customElement.d.ts +4 -4
- package/dist/components/arcgis-directional-pad/customElement.js +2 -2
- package/dist/components/arcgis-directions/customElement.d.ts +9 -5
- package/dist/components/arcgis-directions/customElement.js +1 -1
- package/dist/components/arcgis-distance-measurement-2d/DistanceMeasurement2dViewModel.d.ts +39 -0
- package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +71 -52
- package/dist/components/arcgis-distance-measurement-2d/customElement.js +126 -16
- package/dist/components/arcgis-distance-measurement-2d/index.d.ts +3 -0
- package/dist/components/arcgis-distance-measurement-2d/index.js +3 -0
- package/dist/components/arcgis-editor/customElement.d.ts +33 -8
- package/dist/components/arcgis-editor/customElement.js +4 -4
- package/dist/components/{arcgis-elevation-profile-next → arcgis-elevation-profile}/ElevationProfileViewModel.d.ts +36 -19
- package/dist/components/arcgis-elevation-profile/customElement.d.ts +200 -80
- package/dist/components/arcgis-elevation-profile/customElement.js +585 -16
- package/dist/components/{arcgis-elevation-profile-next → arcgis-elevation-profile}/geometryUtils.d.ts +1 -1
- package/dist/components/arcgis-elevation-profile/index.d.ts +5 -0
- package/dist/components/arcgis-elevation-profile/index.js +5 -0
- package/dist/components/{arcgis-elevation-profile-next → arcgis-elevation-profile}/interfaces.d.ts +2 -11
- 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-settings/customElement.d.ts +1 -1
- 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/ExpandViewModel.d.ts +48 -0
- package/dist/components/arcgis-expand/customElement.d.ts +16 -15
- package/dist/components/arcgis-expand/customElement.js +152 -45
- package/dist/components/arcgis-feature/customElement.d.ts +37 -31
- package/dist/components/arcgis-feature/customElement.js +46 -46
- package/dist/components/arcgis-feature-attachments/customElement.js +1 -1
- 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 +2 -2
- package/dist/components/arcgis-feature-form/customElement.js +2 -2
- package/dist/components/arcgis-feature-media/customElement.d.ts +2 -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 +21 -8
- package/dist/components/arcgis-feature-table/customElement.js +1 -1
- package/dist/components/arcgis-feature-templates/customElement.d.ts +3 -3
- package/dist/components/arcgis-feature-templates/customElement.js +1 -1
- package/dist/components/arcgis-feature-utility-network-association-list/customElement.d.ts +1 -0
- package/dist/components/arcgis-feature-utility-network-association-list/customElement.js +63 -63
- package/dist/components/arcgis-feature-utility-network-associations/customElement.js +8 -8
- package/dist/components/arcgis-features/customElement.d.ts +37 -16
- package/dist/components/arcgis-features/customElement.js +10 -12
- package/dist/components/arcgis-floor-filter/customElement.d.ts +5 -4
- package/dist/components/arcgis-floor-filter/customElement.js +7 -7
- 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 +6 -5
- package/dist/components/arcgis-grid-controls/customElement.js +1 -1
- package/dist/components/arcgis-histogram-range-slider/customElement.d.ts +5 -3
- package/dist/components/arcgis-histogram-range-slider/customElement.js +1 -1
- package/dist/components/arcgis-home/customElement.d.ts +5 -5
- 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 +10 -6
- 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 +29 -14
- 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 +4 -4
- package/dist/components/arcgis-line-of-sight/customElement.js +28 -27
- package/dist/components/arcgis-link-chart/customElement.d.ts +83 -21
- package/dist/components/arcgis-link-chart/customElement.js +17 -22
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.d.ts +12 -8
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +1 -1
- package/dist/components/arcgis-locate/customElement.d.ts +3 -3
- package/dist/components/arcgis-locate/customElement.js +9 -7
- package/dist/components/arcgis-map/customElement.d.ts +525 -74
- package/dist/components/arcgis-map/customElement.js +14 -19
- package/dist/components/arcgis-measurement/customElement.d.ts +7 -7
- package/dist/components/arcgis-measurement/customElement.js +1 -1
- package/dist/components/arcgis-measurement-content/customElement.d.ts +2 -0
- package/dist/components/arcgis-measurement-content/customElement.js +25 -34
- package/dist/components/arcgis-measurement-content/index.d.ts +1 -0
- package/dist/components/arcgis-measurement-content/index.js +1 -0
- package/dist/components/arcgis-navigation-toggle/customElement.d.ts +14 -2
- package/dist/components/arcgis-navigation-toggle/customElement.js +11 -8
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.d.ts +5 -5
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +2 -2
- package/dist/components/arcgis-placement/customElement.d.ts +3 -3
- package/dist/components/arcgis-placement/customElement.js +1 -1
- package/dist/components/arcgis-popup/customElement.d.ts +54 -12
- package/dist/components/arcgis-popup/customElement.js +9 -6
- package/dist/components/arcgis-print/customElement.d.ts +46 -11
- package/dist/components/arcgis-print/customElement.js +34 -25
- 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-exports-panel/customElement.d.ts +5 -3
- package/dist/components/arcgis-print-exports-panel/customElement.js +76 -19
- package/dist/components/arcgis-print-exports-panel/index.d.ts +4 -1
- package/dist/components/arcgis-print-exports-panel/index.js +4 -1
- package/dist/components/arcgis-print-format-select/customElement.js +15 -16
- package/dist/components/arcgis-print-layout-advanced-options/customElement.d.ts +2 -0
- package/dist/components/arcgis-print-layout-advanced-options/customElement.js +22 -20
- package/dist/components/arcgis-print-layout-panel/customElement.d.ts +4 -0
- package/dist/components/arcgis-print-layout-panel/customElement.js +18 -19
- package/dist/components/arcgis-print-main-panel/customElement.d.ts +8 -2
- package/dist/components/arcgis-print-main-panel/customElement.js +8 -8
- package/dist/components/arcgis-print-map-only-advanced-options/customElement.js +1 -1
- package/dist/components/arcgis-print-map-only-panel/customElement.d.ts +2 -0
- package/dist/components/arcgis-print-map-only-panel/customElement.js +23 -21
- package/dist/components/arcgis-print-out-spatial-reference-input/customElement.js +18 -19
- 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 +23 -22
- package/dist/components/arcgis-print-template-selector/customElement.d.ts +0 -1
- package/dist/components/arcgis-print-template-selector/customElement.js +28 -33
- package/dist/components/arcgis-print-template-selector/index.d.ts +1 -1
- package/dist/components/arcgis-print-template-selector/index.js +1 -1
- package/dist/components/arcgis-scale-bar/customElement.d.ts +4 -4
- package/dist/components/arcgis-scale-bar/customElement.js +1 -1
- package/dist/components/arcgis-scale-range-slider/customElement.d.ts +6 -5
- package/dist/components/arcgis-scale-range-slider/customElement.js +1 -1
- package/dist/components/arcgis-scene/customElement.d.ts +129 -22
- package/dist/components/arcgis-scene/customElement.js +15 -20
- package/dist/components/arcgis-search/customElement.d.ts +25 -23
- package/dist/components/arcgis-search/customElement.js +1 -1
- package/dist/components/arcgis-search-result-renderer/customElement.js +1 -1
- package/dist/components/arcgis-shadow-cast/customElement.d.ts +9 -7
- package/dist/components/arcgis-shadow-cast/customElement.js +2 -2
- package/dist/components/arcgis-sketch/customElement.d.ts +49 -18
- package/dist/components/arcgis-sketch/customElement.js +18 -10
- package/dist/components/arcgis-slice/customElement.d.ts +4 -4
- 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 +6 -4
- package/dist/components/arcgis-swipe/customElement.js +2 -2
- package/dist/components/arcgis-table-list/customElement.d.ts +8 -6
- package/dist/components/arcgis-table-list/customElement.js +2 -2
- package/dist/components/arcgis-time-slider/customElement.d.ts +7 -5
- package/dist/components/arcgis-time-slider/customElement.js +2 -2
- package/dist/components/arcgis-time-zone-label/customElement.d.ts +12 -13
- package/dist/components/arcgis-time-zone-label/customElement.js +41 -49
- package/dist/components/arcgis-track/customElement.d.ts +5 -5
- package/dist/components/arcgis-track/customElement.js +2 -2
- package/dist/components/arcgis-unit-select/customElement.d.ts +2 -2
- package/dist/components/arcgis-unit-select/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-association-list/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-associations/customElement.d.ts +70 -26
- package/dist/components/arcgis-utility-network-associations/customElement.js +3 -3
- package/dist/components/arcgis-utility-network-result-feature-list/customElement.d.ts +11 -1
- package/dist/components/arcgis-utility-network-result-feature-list/customElement.js +98 -46
- package/dist/components/arcgis-utility-network-result-feature-list/index.d.ts +0 -1
- package/dist/components/arcgis-utility-network-result-feature-list/index.js +0 -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 +7 -5
- package/dist/components/arcgis-utility-network-trace/customElement.js +2 -2
- package/dist/components/arcgis-utility-network-trace-analysis/customElement.d.ts +4 -50
- package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +72 -63
- package/dist/components/arcgis-utility-network-trace-inputs/customElement.d.ts +17 -7
- package/dist/components/arcgis-utility-network-trace-inputs/customElement.js +241 -62
- 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 +56 -0
- package/dist/components/arcgis-utility-network-trace-location/customElement.js +250 -0
- package/dist/components/arcgis-utility-network-trace-location/index.d.ts +4 -0
- package/dist/components/arcgis-utility-network-trace-location/index.js +4 -0
- package/dist/components/arcgis-utility-network-trace-location-list/customElement.d.ts +21 -0
- package/dist/components/arcgis-utility-network-trace-location-list/customElement.js +75 -0
- package/dist/components/arcgis-utility-network-trace-location-list/index.d.ts +9 -0
- package/dist/components/arcgis-utility-network-trace-location-list/index.js +9 -0
- package/dist/components/arcgis-utility-network-trace-results/customElement.d.ts +6 -3
- package/dist/components/arcgis-utility-network-trace-results/customElement.js +32 -37
- package/dist/components/arcgis-utility-network-trace-results/index.d.ts +2 -1
- package/dist/components/arcgis-utility-network-trace-results/index.js +2 -1
- package/dist/components/arcgis-utility-network-validate-topology/customElement.d.ts +5 -5
- 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 +2 -2
- package/dist/components/arcgis-version-management/customElement.js +1 -1
- package/dist/components/arcgis-version-management-service-item/customElement.js +22 -22
- package/dist/components/arcgis-version-management-version-list/customElement.js +29 -29
- package/dist/components/arcgis-version-management-version-properties/customElement.js +1 -1
- package/dist/components/arcgis-video/customElement.d.ts +13 -13
- package/dist/components/arcgis-video/customElement.js +1 -1
- package/dist/components/arcgis-video-player/customElement.d.ts +6 -6
- 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 +13 -12
- package/dist/components/arcgis-video-player-controls-group/customElement.js +23 -23
- package/dist/components/arcgis-video-player-metadata/customElement.js +1 -1
- package/dist/components/arcgis-video-player-settings/customElement.js +19 -18
- package/dist/components/arcgis-video-player-slider/customElement.js +2 -2
- package/dist/components/arcgis-volume-measurement/VolumeMeasurementViewModel.d.ts +55 -0
- package/dist/components/arcgis-volume-measurement/customElement.d.ts +114 -0
- package/dist/components/arcgis-volume-measurement/customElement.js +236 -0
- package/dist/components/arcgis-volume-measurement/index.d.ts +10 -0
- package/dist/components/arcgis-volume-measurement/index.js +10 -0
- package/dist/components/arcgis-volume-measurement/volume-measurement-test-utils.d.ts +1 -0
- package/dist/components/arcgis-weather/LabeledSlider.d.ts +3 -2
- package/dist/components/arcgis-weather/customElement.d.ts +20 -4
- package/dist/components/arcgis-weather/customElement.js +150 -132
- package/dist/components/arcgis-zoom/customElement.d.ts +3 -3
- package/dist/components/arcgis-zoom/customElement.js +2 -2
- package/dist/components/support/utility-components/component-wrapper.d.ts +1 -1
- package/dist/controllers/uiController.d.ts +5 -0
- package/dist/controllers/useHandles.d.ts +1 -1
- package/dist/controllers/useViewModel.d.ts +1 -1
- package/dist/controllers/useWidget.d.ts +1 -1
- package/dist/docs/api.json +11245 -10237
- package/dist/docs/docs.json +6724 -5601
- package/dist/docs/vscode.css-custom-data.json +16 -16
- package/dist/docs/vscode.html-custom-data.json +603 -511
- package/dist/docs/web-types.json +1416 -1123
- package/dist/index.d.ts +74 -40
- package/dist/index.js +1 -1
- package/dist/loader.js +37 -35
- package/dist/support/AnalysisViewModel.d.ts +2 -1
- package/dist/support/handle.d.ts +1 -1
- package/dist/support/measurementUtils.d.ts +6 -3
- package/dist/types/lumina.d.ts +53 -31
- package/dist/types/preact.d.ts +58 -33
- package/dist/types/preact10.d.ts +63 -35
- package/dist/types/react.d.ts +63 -35
- package/dist/types/stencil.d.ts +53 -31
- 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/24FIOFGL.js +0 -4
- package/dist/cdn/2QAML4P7.js +0 -4
- package/dist/cdn/2TT7JHKU.js +0 -4
- package/dist/cdn/2WK2MSUI.js +0 -4
- package/dist/cdn/36IQDZ3G.js +0 -4
- package/dist/cdn/3ETI3KHD.js +0 -4
- package/dist/cdn/3GLBQK27.js +0 -4
- package/dist/cdn/4P5DFLTX.js +0 -5
- package/dist/cdn/4PNCM4AX.js +0 -4
- package/dist/cdn/4VJ33WZ7.js +0 -4
- package/dist/cdn/4WMRWSKE.js +0 -4
- package/dist/cdn/4XPC3USH.js +0 -4
- package/dist/cdn/5KFUEZNB.js +0 -4
- package/dist/cdn/5NGQ34PO.js +0 -4
- package/dist/cdn/5PLNMTFM.js +0 -4
- package/dist/cdn/5VFO3P34.js +0 -4
- package/dist/cdn/637CWHOC.js +0 -4
- package/dist/cdn/65HNRYB4.js +0 -4
- package/dist/cdn/6AFC4KYA.js +0 -4
- package/dist/cdn/6N5YEI5U.js +0 -4
- package/dist/cdn/7B3GFLM4.js +0 -4
- package/dist/cdn/7BDY3BU7.js +0 -4
- package/dist/cdn/7KMCO32Q.js +0 -4
- package/dist/cdn/7L55KE2V.js +0 -4
- package/dist/cdn/A4AKT4LY.js +0 -4
- package/dist/cdn/A5LDRWTA.js +0 -4
- package/dist/cdn/B2ZFGOXD.js +0 -4
- package/dist/cdn/BD5LNODX.js +0 -4
- package/dist/cdn/BIUV2EW2.js +0 -4
- package/dist/cdn/BL6DFV7R.js +0 -4
- package/dist/cdn/BUFQD3QO.js +0 -4
- package/dist/cdn/CGL4MV5F.js +0 -4
- package/dist/cdn/CHYFQH6P.js +0 -4
- package/dist/cdn/CZZ7Y35Z.js +0 -4
- package/dist/cdn/D2LJXS5O.js +0 -4
- package/dist/cdn/D67SAEXC.js +0 -4
- package/dist/cdn/DRMOWRTY.js +0 -4
- package/dist/cdn/DUZNF3KO.js +0 -4
- package/dist/cdn/DXPNHQ2A.js +0 -4
- package/dist/cdn/E5DTA2QE.js +0 -4
- package/dist/cdn/EDBEJKG4.js +0 -4
- package/dist/cdn/EJLSAJ7Z.js +0 -4
- package/dist/cdn/EMQJDRYZ.js +0 -4
- package/dist/cdn/ENPAUNXX.js +0 -4
- package/dist/cdn/F32DNIAM.js +0 -4
- package/dist/cdn/F75STQIS.js +0 -4
- package/dist/cdn/FEJPBDMX.js +0 -4
- package/dist/cdn/FGRJXTC4.js +0 -4
- package/dist/cdn/FIOK6KKP.js +0 -4
- package/dist/cdn/FQHCN5PI.js +0 -4
- package/dist/cdn/FUNOEGEP.js +0 -4
- package/dist/cdn/FYLKCHLA.js +0 -4
- package/dist/cdn/FYLZIBTR.js +0 -4
- package/dist/cdn/G4KOFHHD.js +0 -4
- package/dist/cdn/GBFC7BDF.js +0 -4
- package/dist/cdn/GHCICMTZ.js +0 -4
- package/dist/cdn/GLWAKTJ6.js +0 -4
- package/dist/cdn/GLZM6JSO.js +0 -4
- package/dist/cdn/GOGBHK5W.js +0 -4
- package/dist/cdn/GPNRFEBQ.js +0 -4
- package/dist/cdn/HAD7DDQH.js +0 -4
- package/dist/cdn/HD7BQXXH.js +0 -4
- package/dist/cdn/HSORIPSD.js +0 -4
- package/dist/cdn/HT5P52JJ.js +0 -4
- package/dist/cdn/HTTTUKFU.js +0 -4
- package/dist/cdn/HXA2FJLS.js +0 -4
- package/dist/cdn/I3NH27UL.js +0 -4
- package/dist/cdn/IBLIJJ2U.js +0 -4
- package/dist/cdn/ILS226ZZ.js +0 -4
- package/dist/cdn/IM3WBCCU.js +0 -4
- package/dist/cdn/IQ2UBST6.js +0 -4
- package/dist/cdn/IXUH65C6.js +0 -4
- package/dist/cdn/J376WYHL.js +0 -4
- package/dist/cdn/JEKQ4FH3.js +0 -4
- package/dist/cdn/JGAMA7FC.js +0 -4
- package/dist/cdn/JO46OYZR.js +0 -4
- package/dist/cdn/JT24YIBS.js +0 -4
- package/dist/cdn/KD63FUE7.js +0 -4
- package/dist/cdn/KKW7L2H6.js +0 -4
- package/dist/cdn/KQBARG67.js +0 -4
- package/dist/cdn/KRJQ47FX.js +0 -4
- package/dist/cdn/KTUEXPGY.js +0 -4
- package/dist/cdn/KUGNRX5I.js +0 -4
- package/dist/cdn/KYK5G6U6.js +0 -4
- package/dist/cdn/LM6HXX6Z.js +0 -4
- package/dist/cdn/LNOGOTUO.js +0 -4
- package/dist/cdn/M35EWG3A.js +0 -4
- package/dist/cdn/M3JCFUWF.js +0 -4
- package/dist/cdn/M6XAZZYO.js +0 -4
- package/dist/cdn/MA6HL7K7.js +0 -4
- package/dist/cdn/MBMAIEIY.js +0 -4
- package/dist/cdn/MSBMMGC7.js +0 -4
- package/dist/cdn/MTOZCJE4.js +0 -4
- package/dist/cdn/N35AGRPR.js +0 -4
- package/dist/cdn/N54JLHJH.js +0 -4
- package/dist/cdn/NHJUZYR7.js +0 -4
- package/dist/cdn/NICHIV22.js +0 -4
- package/dist/cdn/NTGYJRE6.js +0 -4
- package/dist/cdn/NYJGMFYD.js +0 -4
- package/dist/cdn/OAL2DV3H.js +0 -4
- package/dist/cdn/OB7MFKZ2.js +0 -4
- package/dist/cdn/OLAIRBN2.js +0 -4
- package/dist/cdn/OM5T7IMH.js +0 -4
- package/dist/cdn/P7BS2OQL.js +0 -4
- package/dist/cdn/PF2BHU63.js +0 -4
- package/dist/cdn/PKSMBCZG.js +0 -4
- package/dist/cdn/Q4AC6G46.js +0 -4
- package/dist/cdn/Q7E3BJCS.js +0 -4
- package/dist/cdn/Q7RJTSMT.js +0 -4
- package/dist/cdn/QNRNXYW4.js +0 -4
- package/dist/cdn/QQHBOFYP.js +0 -4
- package/dist/cdn/R4KHFOUZ.js +0 -4
- package/dist/cdn/RTELX7UO.js +0 -4
- package/dist/cdn/RYZGV3PB.js +0 -4
- package/dist/cdn/SI3EGWNU.js +0 -4
- package/dist/cdn/SNZU6GQA.js +0 -4
- package/dist/cdn/SQHW7ZPZ.js +0 -4
- package/dist/cdn/SRQV7IAC.js +0 -4
- package/dist/cdn/TDWHOSGC.js +0 -4
- package/dist/cdn/TSL3GRQ7.js +0 -4
- package/dist/cdn/TVDSU7R2.js +0 -4
- package/dist/cdn/U4WWVT6W.js +0 -4
- package/dist/cdn/UKRZFM6L.js +0 -9
- package/dist/cdn/VA6J4CYT.js +0 -6
- package/dist/cdn/VGTBOKKG.js +0 -4
- package/dist/cdn/VN5JPWXN.js +0 -4
- package/dist/cdn/VOZF6LQJ.js +0 -4
- package/dist/cdn/X3OIHTMN.js +0 -4
- package/dist/cdn/XCQMZYFT.js +0 -4
- package/dist/cdn/XOUKYVQ4.js +0 -4
- package/dist/cdn/YGES3DLF.js +0 -4
- package/dist/cdn/YUWKUAFN.js +0 -4
- package/dist/cdn/YWD7ZFOR.js +0 -4
- package/dist/cdn/ZJE52YLT.js +0 -4
- package/dist/cdn/ZNSS52UU.js +0 -4
- package/dist/cdn/ZTB6OSGP.js +0 -4
- package/dist/cdn/ZWJFEUXM.js +0 -4
- package/dist/cdn/assets/elevation-profile-next/t9n/messages.en.json +0 -1
- package/dist/components/arcgis-elevation-profile-next/customElement.d.ts +0 -208
- package/dist/components/arcgis-elevation-profile-next/customElement.js +0 -542
- package/dist/components/arcgis-elevation-profile-next/index.d.ts +0 -6
- package/dist/components/arcgis-elevation-profile-next/index.js +0 -6
- package/dist/components/arcgis-print-exported-link/customElement.d.ts +0 -14
- package/dist/components/arcgis-print-exported-link/customElement.js +0 -100
- package/dist/components/arcgis-print-exported-link/index.d.ts +0 -7
- package/dist/components/arcgis-print-exported-link/index.js +0 -7
- package/dist/utils/mapping-utils.d.ts +0 -2
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.ar.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.bg.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.bs.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.ca.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.cs.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.da.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.de.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.el.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.es.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.et.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.fi.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.fr.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.he.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.hr.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.hu.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.id.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.it.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.ja.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.ko.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.lt.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.lv.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.nl.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.no.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.pl.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.pt-BR.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.pt-PT.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.ro.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.ru.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.sk.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.sl.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.sr.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.sv.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.th.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.tr.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.uk.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.vi.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.zh-CN.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.zh-HK.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.zh-TW.json +0 -0
|
@@ -1,103 +1,282 @@
|
|
|
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 u } from "lit/directives/repeat.js";
|
|
3
|
+
import { queryAllJSON as f } from "@arcgis/core/applications/Components/featureUtils.js";
|
|
4
|
+
import s from "@arcgis/core/core/Collection.js";
|
|
5
|
+
import _ from "@arcgis/core/layers/GraphicsLayer.js";
|
|
6
|
+
import T from "@arcgis/core/networks/support/UNTraceConfiguration.js";
|
|
7
|
+
import S from "@arcgis/core/rest/networks/support/TraceLocation.js";
|
|
8
|
+
import N from "@arcgis/core/rest/support/FeatureSet.js";
|
|
9
|
+
import d from "@arcgis/core/views/interactive/snapping/FeatureSnappingLayerSource.js";
|
|
10
|
+
import $ from "@arcgis/core/widgets/Sketch/SketchViewModel.js";
|
|
11
|
+
import { LitElement as L, createEvent as h, safeClassMap as g } from "@arcgis/lumina";
|
|
12
|
+
import { css as C, html as o } from "lit";
|
|
13
|
+
import { u as v } from "../../chunks/useT9n.js";
|
|
14
|
+
import { usePropertyChange as U } from "@arcgis/lumina/controllers";
|
|
6
15
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
7
16
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
8
|
-
v5.0.0-next.
|
|
9
|
-
const
|
|
10
|
-
|
|
17
|
+
v5.0.0-next.60 */
|
|
18
|
+
const E = C`:host{width:100%}.arcgis-utility-network-trace-inputs calcite-block{--calcite-block-content-space: 0;--calcite-block-border-color: transparent;margin:0}.arcgis-utility-network-trace-inputs calcite-block-group{padding-bottom:var(--calcite-spacing-md);background-color:var(--calcite-color-foreground-1)}.arcgis-utility-network-trace-inputs calcite-block calcite-select{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)}`, p = "arcgis-utility-network-trace-inputs", w = {
|
|
19
|
+
// popup renderer
|
|
20
|
+
base: p,
|
|
21
|
+
// containers and content
|
|
22
|
+
addSpatialMode: `${p}__add-spatial-mode`
|
|
23
|
+
}, c = "map-components:utility-network-trace-inputs", k = `utility-network-trace-inputs-sketch-${Date.now()}`, l = `utility-network-trace-inputs-flags-${Date.now()}`;
|
|
24
|
+
class M extends L {
|
|
11
25
|
constructor() {
|
|
12
|
-
super(...arguments), this.
|
|
26
|
+
super(...arguments), this._messages = v({ blocking: !0 }), this._startingPoints = new s(), this._barriers = new s(), this._stoppingPoints = new s(), this._subnetworkTraceTypes = /* @__PURE__ */ new Set([
|
|
27
|
+
"subnetwork",
|
|
28
|
+
"subnetwork-controller",
|
|
29
|
+
"upstream",
|
|
30
|
+
"downstream",
|
|
31
|
+
"isolation"
|
|
32
|
+
]), 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 = h(), this.arcgisUtilityNetworkChange = h(), this.arcgisPropertyChange = U()("mode");
|
|
13
33
|
}
|
|
14
34
|
static {
|
|
15
|
-
this.properties = { traceConfigurations: 16, utilityNetworks: 16, _state: 16, view: 0, selectedUtilityNetwork: 0,
|
|
35
|
+
this.properties = { compatibleSubnetworkNames: 16, selectedSubnetworkName: 16, subnetworksTable: 16, traceConfigurations: 16, utilityNetworks: 16, _unTraceConfiguration: 16, _state: 16, _activeTraceLocationType: 16, view: 0, selectedUtilityNetwork: 0, selectedNamedTraceConfiguration: 0, unTraceConfiguration: 32, referenceElement: 1, mode: 1, traceLocations: 32 };
|
|
16
36
|
}
|
|
17
37
|
static {
|
|
18
|
-
this.styles =
|
|
38
|
+
this.styles = E;
|
|
39
|
+
}
|
|
40
|
+
get _allLayers() {
|
|
41
|
+
const { view: e } = this;
|
|
42
|
+
return e?.map ? e.map.allLayers.toArray().concat(e.map.allTables.toArray()) : [];
|
|
43
|
+
}
|
|
44
|
+
get selectedSubnetworkName() {
|
|
45
|
+
return this._unTraceConfiguration?.subnetworkName ?? void 0;
|
|
46
|
+
}
|
|
47
|
+
set selectedSubnetworkName(e) {
|
|
48
|
+
this._unTraceConfiguration && (this._unTraceConfiguration.subnetworkName = e);
|
|
49
|
+
}
|
|
50
|
+
get unTraceConfiguration() {
|
|
51
|
+
return this._unTraceConfiguration;
|
|
52
|
+
}
|
|
53
|
+
get traceLocations() {
|
|
54
|
+
const e = [], t = (i) => {
|
|
55
|
+
i.flagProperties.terminalConfiguration && i.flagProperties.selectedTerminals ? i.flagProperties.selectedTerminals.forEach((r) => {
|
|
56
|
+
e.push(new S({
|
|
57
|
+
type: i.traceLocation.type,
|
|
58
|
+
isFilterBarrier: i.traceLocation.isFilterBarrier,
|
|
59
|
+
globalId: i.traceLocation.globalId,
|
|
60
|
+
percentAlong: i.traceLocation.percentAlong,
|
|
61
|
+
terminalId: r
|
|
62
|
+
}));
|
|
63
|
+
}) : e.push(i.traceLocation);
|
|
64
|
+
};
|
|
65
|
+
return this._startingPoints.forEach((i) => t(i)), this._barriers.forEach((i) => t(i)), this._stoppingPoints.forEach((i) => t(i)), e;
|
|
19
66
|
}
|
|
20
67
|
load() {
|
|
21
|
-
this._setupUtilityNetwork();
|
|
68
|
+
this._setupUtilityNetwork(), this._setupSketchViewModel();
|
|
22
69
|
}
|
|
23
|
-
willUpdate(
|
|
24
|
-
const { utilityNetworks:
|
|
25
|
-
(
|
|
70
|
+
willUpdate(e) {
|
|
71
|
+
const { utilityNetworks: t, selectedUtilityNetwork: i } = this;
|
|
72
|
+
(e.has("utilityNetworks") || !t || t.length === 0 || !i || !t?.includes(i)) && this._handleUtilityNetworksChange(), e.has("selectedUtilityNetwork") && (this.arcgisUtilityNetworkChange.emit(), this._handleSelectedUtilityNetworkChange()), e.has("selectedNamedTraceConfiguration") && (this.arcgisTraceInputsChange.emit(), this._handleTraceConfigChange()), e.has("selectedSubnetworkName") && this.arcgisTraceInputsChange.emit();
|
|
26
73
|
}
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
74
|
+
_clearTraceLocations() {
|
|
75
|
+
this._getGraphicLayer(l)?.removeAll(), this._startingPoints.removeAll(), this._barriers.removeAll(), this._stoppingPoints.removeAll();
|
|
76
|
+
}
|
|
77
|
+
_addUniqueLayer(e, t) {
|
|
78
|
+
if (!t || !e?.map)
|
|
30
79
|
return;
|
|
80
|
+
const { map: i } = e;
|
|
81
|
+
i.layers.find((r) => r === t) || i.add(t), i.reorder(t, i.layers.length - 1);
|
|
82
|
+
}
|
|
83
|
+
_createGraphicLayer(e) {
|
|
84
|
+
const { map: t } = this.view;
|
|
85
|
+
if (!t?.findLayerById(e)) {
|
|
86
|
+
const a = new _({
|
|
87
|
+
id: e,
|
|
88
|
+
listMode: "hide",
|
|
89
|
+
title: e
|
|
90
|
+
});
|
|
91
|
+
this._addUniqueLayer(this.view, a);
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
_getGraphicLayer(e) {
|
|
95
|
+
const { map: t } = this.view;
|
|
96
|
+
if (t) {
|
|
97
|
+
const i = t.findLayerById(e);
|
|
98
|
+
if (i && i.type === "graphics")
|
|
99
|
+
return t.reorder(i, t.layers.length - 1), i;
|
|
31
100
|
}
|
|
101
|
+
return null;
|
|
102
|
+
}
|
|
103
|
+
_setSnappingOption() {
|
|
104
|
+
const { _sketchViewModel: e, _unLayers: t } = this;
|
|
105
|
+
if (e && t && t.length > 0) {
|
|
106
|
+
const i = new s();
|
|
107
|
+
t.forEach((a) => {
|
|
108
|
+
a.type === "subtype-group" ? a.sublayers.forEach((r) => {
|
|
109
|
+
i.add(new d({
|
|
110
|
+
layer: r,
|
|
111
|
+
enabled: !0
|
|
112
|
+
}));
|
|
113
|
+
}) : i.add(new d({
|
|
114
|
+
layer: a,
|
|
115
|
+
enabled: !0
|
|
116
|
+
}));
|
|
117
|
+
}), e.snappingOptions = {
|
|
118
|
+
enabled: !0,
|
|
119
|
+
featureEnabled: !0,
|
|
120
|
+
featureSources: i
|
|
121
|
+
};
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
_initializeSketchViewModel() {
|
|
125
|
+
const { view: e, _unLayers: t } = this, i = this._getGraphicLayer(k), a = new s();
|
|
126
|
+
return t?.forEach((r) => a.add(new d({
|
|
127
|
+
layer: r,
|
|
128
|
+
enabled: !0
|
|
129
|
+
}))), new $({
|
|
130
|
+
layer: i,
|
|
131
|
+
view: e
|
|
132
|
+
});
|
|
133
|
+
}
|
|
134
|
+
_setupSketchViewModel() {
|
|
135
|
+
this._createGraphicLayer(k), this._createGraphicLayer(l), this._sketchViewModel = this._initializeSketchViewModel();
|
|
136
|
+
}
|
|
137
|
+
_clearSubnetworks() {
|
|
138
|
+
this.selectedSubnetworkName = void 0, this.subnetworksTable = void 0, this.compatibleSubnetworkNames = [];
|
|
139
|
+
}
|
|
140
|
+
async _loadSubnetworksTable() {
|
|
141
|
+
this.subnetworksTable || (this.subnetworksTable = await this.selectedUtilityNetwork?.loadSubnetworksTable());
|
|
142
|
+
}
|
|
143
|
+
async _querySubnetworks() {
|
|
144
|
+
const { subnetworksTable: e } = this;
|
|
145
|
+
if (!e)
|
|
146
|
+
return;
|
|
147
|
+
const t = e.createQuery();
|
|
148
|
+
t.gdbVersion = this.selectedUtilityNetwork?.gdbVersion, t.where = this._getSubnetworkQueryWhereClause(), t.outFields = ["SUBNETWORKNAME"], t.orderByFields = ["SUBNETWORKNAME"];
|
|
149
|
+
const i = N.fromJSON(await f(e, t));
|
|
150
|
+
this.compatibleSubnetworkNames = i.features.filter(this._removeDuplicateSubnetworkNames).map((a) => a.getAttribute("SUBNETWORKNAME"));
|
|
151
|
+
}
|
|
152
|
+
_getSubnetworkQueryWhereClause() {
|
|
153
|
+
const e = this._unTraceConfiguration, t = `DOMAINNETWORKNAME = '${e.domainNetworkName}'`, i = `TIERNAME = '${e.tierName}'`;
|
|
154
|
+
return [t, i].join(" AND ");
|
|
32
155
|
}
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
156
|
+
async _handleSubnetworkTraceConfigChange(e) {
|
|
157
|
+
await this._loadSubnetworksTable(), await this._querySubnetworks();
|
|
158
|
+
const { compatibleSubnetworkNames: t } = this;
|
|
159
|
+
e.subnetworkName && !t.some((i) => i === e.subnetworkName) && (this.selectedSubnetworkName = t.at(0));
|
|
160
|
+
}
|
|
161
|
+
_selectTraceConfigurationByGuid(e) {
|
|
162
|
+
const t = this.selectedUtilityNetwork?.sharedNamedTraceConfigurations.find((i) => i.globalId === e);
|
|
163
|
+
if (!t) {
|
|
164
|
+
console.error(`${c} - Trace configuration not found`);
|
|
37
165
|
return;
|
|
38
166
|
}
|
|
39
|
-
this.
|
|
167
|
+
this.selectedNamedTraceConfiguration = t;
|
|
40
168
|
}
|
|
41
169
|
_handleTraceConfigChange() {
|
|
42
|
-
const {
|
|
43
|
-
if (
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
170
|
+
const { selectedNamedTraceConfiguration: e } = this;
|
|
171
|
+
if (!(e?.traceConfiguration instanceof T)) {
|
|
172
|
+
console.error(`${c} - Trace configuration not found`), this._unTraceConfiguration = void 0;
|
|
173
|
+
return;
|
|
174
|
+
}
|
|
175
|
+
switch (this._unTraceConfiguration = e.traceConfiguration.clone(), e.traceType) {
|
|
176
|
+
case "subnetwork":
|
|
177
|
+
this._state = "loading", this._handleSubnetworkTraceConfigChange(this._unTraceConfiguration).finally(() => this._state = "ready");
|
|
178
|
+
break;
|
|
179
|
+
default:
|
|
180
|
+
console.error(`${c} - Unknown trace configuration type`);
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
async _handleSelectedUtilityNetworkChange() {
|
|
184
|
+
await this.selectedUtilityNetwork?.load(), this._clearSubnetworks(), this._setupTraceConfigurations(), this._filterUnLayers(), this._clearTraceLocations();
|
|
185
|
+
}
|
|
186
|
+
_setupTraceConfigurations() {
|
|
187
|
+
this._unTraceConfiguration = void 0, this.traceConfigurations = this.selectedUtilityNetwork?.sharedNamedTraceConfigurations.filter((e) => e.traceType !== "path" && e.traceType !== "circuit") || [], this.selectedNamedTraceConfiguration = this.traceConfigurations.at(0);
|
|
188
|
+
}
|
|
189
|
+
_filterUnLayers() {
|
|
190
|
+
const { selectedUtilityNetwork: e } = this;
|
|
191
|
+
this._unLayers = new s(this._allLayers.filter((t) => e?.isUtilityLayer(t))), this._setSnappingOption();
|
|
54
192
|
}
|
|
55
193
|
_handleUtilityNetworksChange() {
|
|
56
|
-
const { utilityNetworks:
|
|
57
|
-
if (!
|
|
58
|
-
this._state = "error", console.error(`${
|
|
194
|
+
const { utilityNetworks: e } = this;
|
|
195
|
+
if (!e || e.length === 0) {
|
|
196
|
+
this._state = "error", console.error(`${c} - No utility networks found in the map`);
|
|
59
197
|
return;
|
|
60
198
|
}
|
|
61
|
-
(!this.selectedUtilityNetwork || !
|
|
199
|
+
(!this.selectedUtilityNetwork || !e.includes(this.selectedUtilityNetwork)) && (this.selectedUtilityNetwork = e.at(0));
|
|
62
200
|
}
|
|
63
201
|
async _setupUtilityNetwork() {
|
|
64
202
|
if (this.view?.map) {
|
|
65
|
-
const
|
|
66
|
-
await
|
|
203
|
+
const e = this.view.map;
|
|
204
|
+
await e.load(), this.utilityNetworks = e.utilityNetworks || void 0;
|
|
67
205
|
} else
|
|
68
|
-
this._state = "disabled", console.error(`${
|
|
206
|
+
this._state = "disabled", console.error(`${c} - No view or map available to load utility networks`);
|
|
207
|
+
}
|
|
208
|
+
_handleTraceLocationSelectStart(e) {
|
|
209
|
+
this._activeTraceLocationType = e?.target?.traceLocationType, this.mode = "add-spatial";
|
|
210
|
+
}
|
|
211
|
+
_handleTraceLocationSelectEnd() {
|
|
212
|
+
this._activeTraceLocationType = void 0, this.mode = "default";
|
|
69
213
|
}
|
|
70
|
-
|
|
71
|
-
|
|
214
|
+
_handleFlowItemBack() {
|
|
215
|
+
this.mode = "default", this._activeTraceLocationType = void 0, this._sketchViewModel?.cancel();
|
|
216
|
+
}
|
|
217
|
+
renderError(e, t = !1, i) {
|
|
218
|
+
return o`<calcite-notice .closable=${t} kind=danger open scale=s width=auto .icon=${i}><div slot=message>${e}</div></calcite-notice>`;
|
|
72
219
|
}
|
|
73
220
|
renderLoader() {
|
|
74
|
-
return
|
|
221
|
+
return o`<calcite-loader label=loading></calcite-loader>`;
|
|
75
222
|
}
|
|
76
223
|
renderTraceSelection() {
|
|
77
|
-
const {
|
|
78
|
-
if (
|
|
79
|
-
return this.renderError(
|
|
80
|
-
const
|
|
81
|
-
return
|
|
82
|
-
this._selectTraceConfigurationByGuid(
|
|
83
|
-
}}>${
|
|
224
|
+
const { _messages: e, traceConfigurations: t } = this, i = e.labels.traceConfiguration;
|
|
225
|
+
if (t.length === 0)
|
|
226
|
+
return this.renderError(e.errors.noTraceConfigurationError, !0);
|
|
227
|
+
const a = u(t, (r) => r.globalId, (r) => o`<calcite-option .value=${r.globalId}>${r.title}</calcite-option>`);
|
|
228
|
+
return o`<calcite-block .heading=${i} .label=${i} expanded><calcite-select .label=${i} .value=${this.selectedNamedTraceConfiguration?.globalId || void 0} @calciteSelectChange=${(r) => {
|
|
229
|
+
this._selectTraceConfigurationByGuid(r.target.value);
|
|
230
|
+
}}>${a}</calcite-select></calcite-block>`;
|
|
84
231
|
}
|
|
85
232
|
renderUtilityNetworkSelection() {
|
|
86
|
-
const {
|
|
87
|
-
return
|
|
88
|
-
this.selectedUtilityNetwork?.id !==
|
|
89
|
-
}}>${i}</calcite-select></calcite-
|
|
233
|
+
const { _messages: e } = this, t = e.labels.utilityNetwork, i = u(this.utilityNetworks, (a) => a.id, (a) => o`<calcite-option .value=${a.id}>${a.title}</calcite-option>`).toArray();
|
|
234
|
+
return o`<calcite-block .heading=${t} .label=${t} expanded><calcite-select .label=${t} .value=${this.selectedUtilityNetwork?.id} @calciteSelectChange=${(a) => {
|
|
235
|
+
this.selectedUtilityNetwork?.id !== a.target.value && (this.selectedUtilityNetwork = this.utilityNetworks?.find((r) => r.id === a.target.value));
|
|
236
|
+
}}>${i}</calcite-select></calcite-block>`;
|
|
237
|
+
}
|
|
238
|
+
renderDefaultMode() {
|
|
239
|
+
const { _messages: e, _state: t, mode: i } = this;
|
|
240
|
+
return o`<calcite-flow-item .selected=${i === "default"}>${t === "disabled" ? this.renderError(e.errors.noMapError) : this.renderContent()}</calcite-flow-item>`;
|
|
241
|
+
}
|
|
242
|
+
renderAddSpatialMode() {
|
|
243
|
+
const { _messages: e, _activeTraceLocationType: t } = this, i = t === "starting-point" ? e.labels.addSpatial.startingPoint : t === "barrier" ? e.labels.addSpatial.barrier : e.labels.addSpatial.stoppingPoint;
|
|
244
|
+
return o`<calcite-flow-item selected .heading=${i} @calciteFlowItemBack=${() => this._handleFlowItemBack()}><div class=${g(w.addSpatialMode)}><calcite-icon icon=pin-plus scale=l></calcite-icon>${e.instructions.addSpatial}</div></calcite-flow-item>`;
|
|
245
|
+
}
|
|
246
|
+
renderStartingPointSelection() {
|
|
247
|
+
return o`<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>`;
|
|
248
|
+
}
|
|
249
|
+
renderStoppingPointSelection() {
|
|
250
|
+
return o`<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>`;
|
|
251
|
+
}
|
|
252
|
+
renderBarrierSelection() {
|
|
253
|
+
return o`<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>`;
|
|
254
|
+
}
|
|
255
|
+
renderSubnetworkSelectList() {
|
|
256
|
+
const { compatibleSubnetworkNames: e, selectedSubnetworkName: t, _messages: i } = this, a = i.labels.subnetworkName, r = e.map((n) => o`<calcite-option .value=${n}>${n}</calcite-option>`);
|
|
257
|
+
return o`<calcite-block .heading=${a} .label=${a} expanded><calcite-select .label=${a} .value=${t} @calciteSelectChange=${(n) => this.selectedSubnetworkName = n.target.value}>${r}</calcite-select></calcite-block>`;
|
|
258
|
+
}
|
|
259
|
+
renderSubnetworkSelection() {
|
|
260
|
+
const { compatibleSubnetworkNames: e, _messages: t, selectedNamedTraceConfiguration: i, _unTraceConfiguration: a } = this;
|
|
261
|
+
return i?.traceType === "subnetwork" && a?.subnetworkName ? this._state === "loading" ? o`<calcite-loader class="inline-loader" label=loading scale=s></calcite-loader>` : e.length ? this.renderSubnetworkSelectList() : this.renderError(t.errors.noCompatibleSubnetworks, !1, "exclamation-mark-triangle") : null;
|
|
262
|
+
}
|
|
263
|
+
renderSubnetworkInfo() {
|
|
264
|
+
const { _messages: e, selectedNamedTraceConfiguration: t, _unTraceConfiguration: i } = this;
|
|
265
|
+
return i && t?.traceType && this._subnetworkTraceTypes.has(t.traceType) ? o`<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
266
|
}
|
|
91
267
|
renderContent() {
|
|
92
|
-
const {
|
|
93
|
-
|
|
268
|
+
const { _messages: e, utilityNetworks: t, _unTraceConfiguration: i } = this;
|
|
269
|
+
if (!t || t.length === 0)
|
|
270
|
+
return this.renderError(e.errors.noUtilityNetworkError);
|
|
271
|
+
const a = o`${this.renderTraceSelection()}${this.renderSubnetworkInfo()}${this.renderSubnetworkSelection()}`, r = this.selectedNamedTraceConfiguration?.traceType, n = !(i?.subnetworkName && r === "subnetwork"), y = r === "path" || r === "circuit", m = o`${n ? this.renderStartingPointSelection() : null}${y ? this.renderStoppingPointSelection() : null}${this.renderBarrierSelection()}`;
|
|
272
|
+
return o`<calcite-block-group .label=${e.labels.traceInputs}>${t.length > 1 ? this.renderUtilityNetworkSelection() : null}${this.selectedUtilityNetwork?.loaded ? a : this.renderLoader()}${i ? m : null}</calcite-block-group>`;
|
|
94
273
|
}
|
|
95
274
|
render() {
|
|
96
|
-
const {
|
|
97
|
-
return
|
|
275
|
+
const { mode: e } = this;
|
|
276
|
+
return o`<div class=${g(w.base)}><calcite-flow>${this.renderDefaultMode()}${e === "add-spatial" ? this.renderAddSpatialMode() : null}</calcite-flow></div>`;
|
|
98
277
|
}
|
|
99
278
|
}
|
|
100
|
-
|
|
279
|
+
b("arcgis-utility-network-trace-inputs", M);
|
|
101
280
|
export {
|
|
102
|
-
|
|
281
|
+
M as ArcgisUtilityNetworkTraceInputs
|
|
103
282
|
};
|
|
@@ -1,7 +1,12 @@
|
|
|
1
1
|
import "@esri/calcite-components/components/calcite-notice";
|
|
2
2
|
import "@esri/calcite-components/components/calcite-loader";
|
|
3
3
|
import "@esri/calcite-components/components/calcite-option";
|
|
4
|
-
import "@esri/calcite-components/components/calcite-label";
|
|
5
|
-
import "@esri/calcite-components/components/calcite-select";
|
|
6
4
|
import "@esri/calcite-components/components/calcite-block";
|
|
5
|
+
import "@esri/calcite-components/components/calcite-select";
|
|
6
|
+
import "@esri/calcite-components/components/calcite-flow-item";
|
|
7
|
+
import "@esri/calcite-components/components/calcite-icon";
|
|
8
|
+
import "../arcgis-utility-network-trace-location/index.js";
|
|
9
|
+
import "../arcgis-utility-network-subnetwork-info/index.js";
|
|
10
|
+
import "@esri/calcite-components/components/calcite-block-group";
|
|
11
|
+
import "@esri/calcite-components/components/calcite-flow";
|
|
7
12
|
export * from "./customElement.js";
|
|
@@ -1,7 +1,12 @@
|
|
|
1
1
|
import "@esri/calcite-components/components/calcite-notice";
|
|
2
2
|
import "@esri/calcite-components/components/calcite-loader";
|
|
3
3
|
import "@esri/calcite-components/components/calcite-option";
|
|
4
|
-
import "@esri/calcite-components/components/calcite-label";
|
|
5
|
-
import "@esri/calcite-components/components/calcite-select";
|
|
6
4
|
import "@esri/calcite-components/components/calcite-block";
|
|
5
|
+
import "@esri/calcite-components/components/calcite-select";
|
|
6
|
+
import "@esri/calcite-components/components/calcite-flow-item";
|
|
7
|
+
import "@esri/calcite-components/components/calcite-icon";
|
|
8
|
+
import "../arcgis-utility-network-trace-location/index.js";
|
|
9
|
+
import "../arcgis-utility-network-subnetwork-info/index.js";
|
|
10
|
+
import "@esri/calcite-components/components/calcite-block-group";
|
|
11
|
+
import "@esri/calcite-components/components/calcite-flow";
|
|
7
12
|
export * from "./customElement.js";
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
/// <reference path="../../index.d.ts" />
|
|
2
|
+
import { default as Collection } from '@arcgis/core/core/Collection.js';
|
|
3
|
+
import { default as GraphicsLayer } from '@arcgis/core/layers/GraphicsLayer.js';
|
|
4
|
+
import { default as Layer } from '@arcgis/core/layers/Layer.js';
|
|
5
|
+
import { default as MapView } from '@arcgis/core/views/MapView.js';
|
|
6
|
+
import { default as SketchViewModel } from '@arcgis/core/widgets/Sketch/SketchViewModel.js';
|
|
7
|
+
import { PublicLitElement as LitElement, TargetedEvent, JsxNode } from '@arcgis/lumina';
|
|
8
|
+
import { default as UtilityNetwork } from '@arcgis/core/networks/UtilityNetwork.js';
|
|
9
|
+
import { default as TraceLocation } from '@arcgis/core/rest/networks/support/TraceLocation.js';
|
|
10
|
+
import { default as Point } from '@arcgis/core/geometry/Point.js';
|
|
11
|
+
import { default as Graphic } from '@arcgis/core/Graphic.js';
|
|
12
|
+
import { default as TerminalConfiguration } from '@arcgis/core/networks/support/TerminalConfiguration.js';
|
|
13
|
+
export interface FlagInfo {
|
|
14
|
+
traceLocation: TraceLocation;
|
|
15
|
+
flagProperties: {
|
|
16
|
+
title: string;
|
|
17
|
+
expanded?: boolean;
|
|
18
|
+
terminalConfiguration?: TerminalConfiguration;
|
|
19
|
+
selectedTerminals?: Set<number>;
|
|
20
|
+
};
|
|
21
|
+
spatialProperties: {
|
|
22
|
+
mapPoint?: Point;
|
|
23
|
+
mapGraphic?: Graphic;
|
|
24
|
+
flagGraphic?: Graphic;
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
export type TraceLocationType = "barrier" | "starting-point" | "stopping-point";
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* This is a sub-component used by the **ArcgisUtilityNetworkTraceAnalysis** component.
|
|
31
|
+
*
|
|
32
|
+
* This sub-component takes a map view as an input.
|
|
33
|
+
* It allows users to select locations on the map to use as trace inputs.
|
|
34
|
+
*
|
|
35
|
+
* [Read more...](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-utility-network-trace-location/)
|
|
36
|
+
*
|
|
37
|
+
* @since 4.34
|
|
38
|
+
* @internal
|
|
39
|
+
*/
|
|
40
|
+
export declare class ArcgisUtilityNetworkTraceLocation extends LitElement {
|
|
41
|
+
/** @required */
|
|
42
|
+
view?: MapView;
|
|
43
|
+
/** @default "starting-point" */
|
|
44
|
+
traceLocationType: TraceLocationType;
|
|
45
|
+
traceLocations?: Collection<FlagInfo>;
|
|
46
|
+
filterLayers?: Collection<Layer>;
|
|
47
|
+
sketchViewModel?: SketchViewModel;
|
|
48
|
+
flagLayer?: GraphicsLayer;
|
|
49
|
+
/** @default 0.05 */
|
|
50
|
+
spatialTolerance: number;
|
|
51
|
+
/** @required The utility network to perform the trace on. */
|
|
52
|
+
utilityNetwork?: UtilityNetwork;
|
|
53
|
+
readonly arcgisTraceLocationChange: TargetedEvent<this, void>;
|
|
54
|
+
readonly arcgisTraceLocationSelectEnd: TargetedEvent<this, void>;
|
|
55
|
+
readonly arcgisTraceLocationSelectStart: TargetedEvent<this, void>;
|
|
56
|
+
}
|