@arcgis/map-components 5.1.0-next.6 → 5.1.0-next.61
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/README.md +2 -2
- package/dist/cdn/277YGNPQ.js +2 -0
- package/dist/cdn/2H4TOIDN.js +2 -0
- package/dist/cdn/2OYSX637.js +2 -0
- package/dist/cdn/2QO5XYXC.js +2 -0
- package/dist/cdn/{27HOTQNB.js → 2RITORYK.js} +1 -1
- package/dist/cdn/{X26CF5AU.js → 2TP43ZJT.js} +1 -1
- package/dist/cdn/34N6NVCA.js +2 -0
- package/dist/cdn/{THXN5VZY.js → 3BSS4OJF.js} +1 -1
- package/dist/cdn/3GY55TR6.js +2 -0
- package/dist/cdn/3IMMSP7K.js +2 -0
- package/dist/cdn/{24PK3ZLX.js → 3LHUEYZM.js} +1 -1
- package/dist/cdn/3QUBDSPU.js +2 -0
- package/dist/cdn/{JTEJ2NHE.js → 3RCS4AK2.js} +1 -1
- package/dist/cdn/3TSFQO2E.js +2 -0
- package/dist/cdn/{FQJMTGXO.js → 3VBTMG7C.js} +1 -1
- package/dist/cdn/3WY7V7O6.js +2 -0
- package/dist/cdn/{D6VUTTEH.js → 43C5DIH5.js} +1 -1
- package/dist/cdn/4JJPFWBJ.js +2 -0
- package/dist/cdn/4WXHSJS4.js +2 -0
- package/dist/cdn/{OKXZJQ2B.js → 4Y32ZA4A.js} +1 -1
- package/dist/cdn/54VXNFQ4.js +2 -0
- package/dist/cdn/55JQXQSW.js +2 -0
- package/dist/cdn/{5V7HEV2R.js → 5ABSWG4I.js} +1 -1
- package/dist/cdn/{AFU3S7KW.js → 5EGS3PEJ.js} +1 -1
- package/dist/cdn/5JNFAIJ6.js +2 -0
- package/dist/cdn/5RELUUK7.js +2 -0
- package/dist/cdn/{3OE7JG5I.js → 5VOKWJYK.js} +1 -1
- package/dist/cdn/5VYGY5I2.js +2 -0
- package/dist/cdn/{7IBXOWTT.js → 63G7LUIG.js} +1 -1
- package/dist/cdn/64LRQ74J.js +2 -0
- package/dist/cdn/{B6T4CWYF.js → 6D7YTBW3.js} +1 -1
- package/dist/cdn/{BSRIYDMN.js → 6FU5MMYZ.js} +1 -1
- package/dist/cdn/{YA6FUJR2.js → 6HLZ37OL.js} +1 -1
- package/dist/cdn/{RISVXUI4.js → 6IFFBFYE.js} +1 -1
- package/dist/cdn/{33U3K3P2.js → 6V5OS3F6.js} +1 -1
- package/dist/cdn/{QLPUP6A3.js → 6XPVHLWQ.js} +1 -1
- package/dist/cdn/762NGL33.js +2 -0
- package/dist/cdn/76LZPCRF.js +2 -0
- package/dist/cdn/76MRQR3N.js +2 -0
- package/dist/cdn/{XOP2SCW3.js → 77HK7ZGB.js} +1 -1
- package/dist/cdn/7BWFZ4B2.js +2 -0
- package/dist/cdn/{7357JBTM.js → 7EJRQZ4J.js} +1 -1
- package/dist/cdn/7IOKJUW4.js +2 -0
- package/dist/cdn/{CMWIMRU2.js → 7JI6J4N6.js} +1 -1
- package/dist/cdn/{5UDFTH5U.js → 7KPBI4XT.js} +1 -1
- package/dist/cdn/{W2A4ONZA.js → 7LBICZSN.js} +1 -1
- package/dist/cdn/{SKGRUNAJ.js → 7QLMRDBI.js} +1 -1
- package/dist/cdn/7RXSOZQ7.js +2 -0
- package/dist/cdn/{HOYFIMNJ.js → 7WYC3QVX.js} +1 -1
- package/dist/cdn/7YSD6HNU.js +2 -0
- package/dist/cdn/A2QPYUE5.js +2 -0
- package/dist/cdn/AO4UV75O.js +2 -0
- package/dist/cdn/ASV42UM4.js +2 -0
- package/dist/cdn/{5PJEJPFY.js → B3MJD74A.js} +1 -1
- package/dist/cdn/BA3BDAAS.js +2 -0
- package/dist/cdn/{AJBY2TVM.js → BFIXVV5U.js} +1 -1
- package/dist/cdn/BIJOBOZ4.js +2 -0
- package/dist/cdn/BVQJEN6O.js +2 -0
- package/dist/cdn/{PI6UQWTD.js → C2T4S7R6.js} +1 -1
- package/dist/cdn/C3MEDREM.js +2 -0
- package/dist/cdn/C4TTO7TK.js +2 -0
- package/dist/cdn/CGKNN7O3.js +2 -0
- package/dist/cdn/CRI4IX6X.js +2 -0
- package/dist/cdn/{IFSGM32L.js → CTUMJNVV.js} +1 -1
- package/dist/cdn/CVBW7J23.js +2 -0
- package/dist/cdn/{HY73HOSP.js → CXFTZC4P.js} +1 -1
- package/dist/cdn/{XEYK67J5.js → CYX7ZCTI.js} +1 -1
- package/dist/cdn/CZP57LZN.js +2 -0
- package/dist/cdn/{DUT3D6UH.js → D3ID2M4K.js} +1 -1
- package/dist/cdn/D4WLKVXQ.js +2 -0
- package/dist/cdn/DBZ3TUNH.js +2 -0
- package/dist/cdn/DOAUTR3P.js +2 -0
- package/dist/cdn/DQH27QCF.js +2 -0
- package/dist/cdn/DSN53CZZ.js +2 -0
- package/dist/cdn/DWTMIKGK.js +2 -0
- package/dist/cdn/EIZD6RWP.js +2 -0
- package/dist/cdn/EQ7PMY6V.js +2 -0
- package/dist/cdn/{4YQLL44L.js → EYEWDNE5.js} +1 -1
- package/dist/cdn/F234D4MB.js +2 -0
- package/dist/cdn/F37IC6GS.js +2 -0
- package/dist/cdn/{ENDLVIST.js → F4WUHSSA.js} +1 -1
- package/dist/cdn/FIG6WRQB.js +2 -0
- package/dist/cdn/FPIFCILH.js +2 -0
- package/dist/cdn/FWXI6DGS.js +2 -0
- package/dist/cdn/GCFS62KM.js +2 -0
- package/dist/cdn/{6XJFSJGE.js → GGFRRU24.js} +1 -1
- package/dist/cdn/{GLV3FW3Z.js → GIQWOYCO.js} +1 -1
- package/dist/cdn/GTGN4N7C.js +2 -0
- package/dist/cdn/{RN44YUJM.js → GTL2XK2G.js} +1 -1
- package/dist/cdn/GW3E4WBW.js +2 -0
- package/dist/cdn/{H5UJFKXO.js → GZ7R6ON7.js} +1 -1
- package/dist/cdn/HTWBRXGA.js +2 -0
- package/dist/cdn/HW4WLKS3.js +2 -0
- package/dist/cdn/HX43LUFZ.js +2 -0
- package/dist/cdn/{CQ4QHVEL.js → I5CLFGA4.js} +1 -1
- package/dist/cdn/I76WQDAB.js +2 -0
- package/dist/cdn/{FYYKRDW3.js → I7FUAEVX.js} +1 -1
- package/dist/cdn/J2NNVVQJ.js +2 -0
- package/dist/cdn/{D4BT63BV.js → J2UAHEHR.js} +1 -1
- package/dist/cdn/{TVTQW6GC.js → J6UG5EF7.js} +1 -1
- package/dist/cdn/JEBIHMOV.js +2 -0
- package/dist/cdn/JVFREF7G.js +4 -0
- package/dist/cdn/JYMO2RQW.js +2 -0
- package/dist/cdn/JZZSQAW2.js +2 -0
- package/dist/cdn/K4WPBHLB.js +2 -0
- package/dist/cdn/KMHTPOUS.js +3 -0
- package/dist/cdn/KMPRGO2N.js +2 -0
- package/dist/cdn/KSGWOMMH.js +2 -0
- package/dist/cdn/KVUEQOKK.js +2 -0
- package/dist/cdn/{6RDB26PI.js → KXHRLYKD.js} +1 -1
- package/dist/cdn/{IIPYTUR3.js → LF6Z577I.js} +1 -1
- package/dist/cdn/{HXPCADLA.js → LMRDVTIM.js} +1 -1
- package/dist/cdn/LMYZFAFF.js +2 -0
- package/dist/cdn/LUAKM4MG.js +2 -0
- package/dist/cdn/{MQ6HO6LA.js → M2EZHNOA.js} +1 -1
- package/dist/cdn/{TCG6VGIB.js → M3SO3XES.js} +1 -1
- package/dist/cdn/MDRC374Z.js +4 -0
- package/dist/cdn/{4PWBNKOA.js → MI222VBR.js} +1 -1
- package/dist/cdn/MP4O7I6K.js +2 -0
- package/dist/cdn/{ZATCJZP2.js → MPXHOG6M.js} +1 -1
- package/dist/cdn/MRBYVJ5U.js +2 -0
- package/dist/cdn/MX7NGEWP.js +2 -0
- package/dist/cdn/N3KVIOWL.js +2 -0
- package/dist/cdn/NJWMNFLG.js +2 -0
- package/dist/cdn/{JFDN4YD7.js → NTQDM7T6.js} +1 -1
- package/dist/cdn/ODQ4JQEF.js +2 -0
- package/dist/cdn/OGLMIUHI.js +2 -0
- package/dist/cdn/{3FSARSVN.js → OH3I63ZU.js} +1 -1
- package/dist/cdn/OK7S4W2T.js +2 -0
- package/dist/cdn/OM6N42EA.js +2 -0
- package/dist/cdn/{ZYMCKBTT.js → ORZL7AJK.js} +1 -1
- package/dist/cdn/OY3SJG2A.js +2 -0
- package/dist/cdn/P2ABZVPJ.js +2 -0
- package/dist/cdn/PBTWS5ZO.js +2 -0
- package/dist/cdn/PLPEGT56.js +2 -0
- package/dist/cdn/{LSF66JVY.js → PM4BDQTV.js} +1 -1
- package/dist/cdn/PMSDTN4F.js +2 -0
- package/dist/cdn/{GKW3DDEQ.js → PZD2JLT5.js} +1 -1
- package/dist/cdn/QG6R7I4M.js +2 -0
- package/dist/cdn/QHIBDCFD.js +2 -0
- package/dist/cdn/QPPSIZAB.js +2 -0
- package/dist/cdn/QVKAKMZA.js +2 -0
- package/dist/cdn/{LVSNYSCO.js → QVQPUYUA.js} +1 -1
- package/dist/cdn/QWJMM65P.js +2 -0
- package/dist/cdn/R2ZIHQ6C.js +2 -0
- package/dist/cdn/R3NYK6BO.js +2 -0
- package/dist/cdn/R4GEB2D7.js +2 -0
- package/dist/cdn/{P4PTEXIJ.js → RCWAURXQ.js} +1 -1
- package/dist/cdn/{NWK2WHZF.js → RFFRNLP2.js} +1 -1
- package/dist/cdn/RH62B2NE.js +2 -0
- package/dist/cdn/{5CYQI4SX.js → RRTCHX7D.js} +1 -1
- package/dist/cdn/{34V5UMTY.js → RT4LIRRF.js} +1 -1
- package/dist/cdn/RWKDHERX.js +2 -0
- package/dist/cdn/RWZCNZXX.js +2 -0
- package/dist/cdn/S4I3X6AX.js +2 -0
- package/dist/cdn/S676CANE.js +2 -0
- package/dist/cdn/{WAASVZRG.js → SVM4RWA7.js} +1 -1
- package/dist/cdn/{TTR6UUEQ.js → SYWVHWVX.js} +1 -1
- package/dist/cdn/TBWM3VXL.js +2 -0
- package/dist/cdn/{IZOPV2VQ.js → TCYJRUYQ.js} +1 -1
- package/dist/cdn/{NW44UOKT.js → TE5VBSUT.js} +1 -1
- package/dist/cdn/{2IOCPFSI.js → TFMBO2TF.js} +1 -1
- package/dist/cdn/{H5QDPW5Y.js → TFUFDVQ6.js} +1 -1
- package/dist/cdn/TGSCLA2C.js +2 -0
- package/dist/cdn/TNCVNE6F.js +2 -0
- package/dist/cdn/TWV3S4Z7.js +2 -0
- package/dist/cdn/{7ZAVSDBZ.js → U3OC5CUW.js} +1 -1
- package/dist/cdn/{INS77MCT.js → U4CA3PYG.js} +1 -1
- package/dist/cdn/{BUE7MOVD.js → UO4R7CWA.js} +1 -1
- package/dist/cdn/UOEUBKDF.js +2 -0
- package/dist/cdn/UVO7OQB6.js +2 -0
- package/dist/cdn/UX2LYYGS.js +2 -0
- package/dist/cdn/V3QXCAYX.js +2 -0
- package/dist/cdn/V4KC76CR.js +2 -0
- package/dist/cdn/VEYOGGAN.js +2 -0
- package/dist/cdn/VHLUJNCP.js +2 -0
- package/dist/cdn/VY2CZNYM.js +2 -0
- package/dist/cdn/W3ELN5AQ.js +2 -0
- package/dist/cdn/{KYOYYCFY.js → W3EWLBL6.js} +1 -1
- package/dist/cdn/W73LTDPZ.js +2 -0
- package/dist/cdn/{GHFKQEFW.js → WE5C2IC6.js} +1 -1
- package/dist/cdn/WNDNGPC6.js +2 -0
- package/dist/cdn/WP44MHA5.js +2 -0
- package/dist/cdn/WU4OO2CE.js +2 -0
- package/dist/cdn/{62WRVJ3U.js → X5KTEF4Q.js} +1 -1
- package/dist/cdn/XCN5IIIA.js +2 -0
- package/dist/cdn/{GYTQDFSL.js → XCSLXGGT.js} +1 -1
- package/dist/cdn/XEXCDGSR.js +2 -0
- package/dist/cdn/{4IC3NWKK.js → XIBJIKAX.js} +1 -1
- package/dist/cdn/{L5EGJLC4.js → XKP5ITQT.js} +1 -1
- package/dist/cdn/XPZYTUFI.js +2 -0
- package/dist/cdn/XQW7SSDL.js +2 -0
- package/dist/cdn/XSRRD3ET.js +2 -0
- package/dist/cdn/{ATRTNMMR.js → Y2SCBPL7.js} +1 -1
- package/dist/cdn/Y56BNGW6.js +2 -0
- package/dist/cdn/{SPACZLHW.js → YJJZFGLZ.js} +1 -1
- package/dist/cdn/YM46E2DT.js +2 -0
- package/dist/cdn/YMG6MCNY.js +2 -0
- package/dist/cdn/YWIQ2K5S.js +2 -0
- package/dist/cdn/YXIRQ6K2.js +2 -0
- package/dist/cdn/YXUK3MCB.js +2 -0
- package/dist/cdn/YZLPEORC.js +2 -0
- package/dist/cdn/Z4AZUIMN.js +2 -0
- package/dist/cdn/Z57TNQ4S.js +2 -0
- package/dist/cdn/ZKF65A44.js +2 -0
- package/dist/cdn/ZTERN4BN.js +2 -0
- package/dist/cdn/ZUMTQ5P7.js +2 -0
- package/dist/cdn/assets/fonts/CalciteWebCoreIcons.woff2 +0 -0
- package/dist/cdn/assets/layer-list-new/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.en.json +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/cdn/main.css +1 -1
- package/dist/chunks/AnalysisViewModel.js +106 -99
- package/dist/chunks/action-utils.js +4 -4
- package/dist/chunks/component-utils.js +42 -36
- package/dist/chunks/css.js +25 -0
- package/dist/chunks/esri-main.js +1 -1
- package/dist/chunks/feature-utils.js +10 -12
- package/dist/chunks/globalCss.js +1 -0
- package/dist/chunks/heading.js +2 -2
- package/dist/chunks/layer-list-utils.js +112 -0
- package/dist/chunks/layer-utils.js +44 -28
- package/dist/chunks/measurementUtils.js +12 -12
- package/dist/chunks/slots.js +27 -27
- package/dist/chunks/useArcgisViewReadyError.js +11 -11
- package/dist/chunks/useViewModel.js +5 -5
- package/dist/components/arcgis-area-measurement-2d/customElement.d.ts +19 -11
- package/dist/components/arcgis-area-measurement-2d/customElement.js +97 -100
- package/dist/components/arcgis-area-measurement-2d/types.d.ts +1 -0
- package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +27 -26
- package/dist/components/arcgis-area-measurement-3d/customElement.js +69 -86
- package/dist/components/arcgis-area-measurement-3d/types.d.ts +1 -0
- package/dist/components/arcgis-attachments/customElement.d.ts +4 -5
- package/dist/components/arcgis-basemap-gallery/customElement.d.ts +4 -5
- package/dist/components/arcgis-basemap-gallery-item/customElement.js +16 -16
- package/dist/components/arcgis-basemap-layer-list/customElement.d.ts +126 -99
- package/dist/components/arcgis-basemap-toggle/customElement.d.ts +6 -6
- package/dist/components/arcgis-basemap-toggle/customElement.js +1 -1
- package/dist/components/arcgis-bookmarks/customElement.d.ts +12 -17
- package/dist/components/arcgis-bookmarks/customElement.js +1 -1
- package/dist/components/arcgis-bookmarks/types.d.ts +14 -7
- package/dist/components/arcgis-building-explorer/customElement.d.ts +16 -75
- package/dist/components/arcgis-building-explorer/customElement.js +17 -12
- package/dist/components/arcgis-building-phase-picker/customElement.js +1 -1
- package/dist/components/arcgis-catalog-layer-list/customElement.d.ts +127 -73
- package/dist/components/arcgis-catalog-layer-list/customElement.js +2 -2
- package/dist/components/arcgis-clipboard/customElement.d.ts +3 -3
- package/dist/components/arcgis-compass/customElement.d.ts +2 -3
- package/dist/components/arcgis-compass/customElement.js +1 -1
- package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +14 -16
- package/dist/components/arcgis-coordinate-conversion/customElement.js +23 -22
- package/dist/components/arcgis-daylight/customElement.d.ts +31 -32
- package/dist/components/arcgis-daylight/customElement.js +212 -206
- package/dist/components/arcgis-daylight/types.d.ts +1 -0
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.d.ts +24 -23
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +74 -91
- package/dist/components/arcgis-direct-line-measurement-3d/types.d.ts +1 -0
- package/dist/components/arcgis-directional-pad/customElement.d.ts +2 -4
- package/dist/components/arcgis-directions/customElement.d.ts +60 -14
- package/dist/components/arcgis-directions/customElement.js +31 -9
- package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +23 -11
- package/dist/components/arcgis-distance-measurement-2d/customElement.js +77 -80
- package/dist/components/arcgis-distance-measurement-2d/types.d.ts +1 -0
- package/dist/components/arcgis-editor/customElement.d.ts +79 -18
- package/dist/components/arcgis-editor/customElement.js +23 -14
- package/dist/components/arcgis-elevation-profile/customElement.d.ts +30 -29
- package/dist/components/arcgis-elevation-profile/customElement.js +100 -111
- package/dist/components/arcgis-elevation-profile-settings/customElement.js +22 -22
- package/dist/components/arcgis-elevation-profile-statistics/customElement.js +25 -31
- package/dist/components/arcgis-expand/customElement.d.ts +6 -7
- package/dist/components/arcgis-expand/customElement.js +5 -11
- package/dist/components/arcgis-expand/types.d.ts +1 -0
- package/dist/components/arcgis-feature/customElement.d.ts +38 -39
- package/dist/components/arcgis-feature/customElement.js +39 -39
- package/dist/components/arcgis-feature-attachments/customElement.js +1 -1
- package/dist/components/arcgis-feature-expression/customElement.js +23 -26
- package/dist/components/arcgis-feature-fields/customElement.js +28 -28
- package/dist/components/arcgis-feature-form/customElement.d.ts +19 -15
- package/dist/components/arcgis-feature-image/customElement.d.ts +5 -5
- package/dist/components/arcgis-feature-media/customElement.js +172 -199
- package/dist/components/arcgis-feature-relationship/customElement.js +14 -14
- package/dist/components/arcgis-feature-table/customElement.d.ts +181 -87
- package/dist/components/arcgis-feature-table/customElement.js +46 -30
- package/dist/components/{arcgis-feature-templates → arcgis-feature-templates-legacy}/customElement.d.ts +44 -35
- package/dist/components/{arcgis-feature-templates → arcgis-feature-templates-legacy}/customElement.js +4 -4
- package/dist/components/arcgis-feature-title/customElement.d.ts +3 -3
- package/dist/components/arcgis-feature-utility-network-association-list/customElement.js +25 -21
- package/dist/components/arcgis-feature-utility-network-association-list/index.js +1 -0
- package/dist/components/arcgis-feature-utility-network-associations/customElement.js +84 -93
- package/dist/components/arcgis-features/customElement.d.ts +70 -70
- package/dist/components/arcgis-features/customElement.js +92 -110
- package/dist/components/arcgis-floor-filter/customElement.d.ts +12 -15
- package/dist/components/arcgis-floor-filter/customElement.js +1 -1
- package/dist/components/arcgis-fullscreen/customElement.d.ts +1 -1
- package/dist/components/arcgis-grid-controls/customElement.d.ts +10 -10
- package/dist/components/arcgis-histogram-range-slider/customElement.d.ts +36 -37
- package/dist/components/arcgis-home/customElement.d.ts +8 -10
- package/dist/components/arcgis-home/customElement.js +16 -14
- package/dist/components/arcgis-layer-list/customElement.d.ts +50 -53
- package/dist/components/arcgis-layer-list/customElement.js +15 -15
- package/dist/components/arcgis-layer-list-item-indicator/customElement.js +35 -0
- package/dist/components/arcgis-layer-list-item-indicator/index.js +2 -0
- package/dist/components/arcgis-layer-list-item-panel/customElement.js +74 -0
- package/dist/components/arcgis-layer-list-item-panel/index.js +2 -0
- package/dist/components/arcgis-layer-list-new/customElement.d.ts +302 -0
- package/dist/components/arcgis-layer-list-new/customElement.js +249 -0
- package/dist/components/arcgis-layer-list-new/index.js +10 -0
- package/dist/components/arcgis-layer-list-new/layer-list-item/customElement.js +139 -0
- package/dist/components/{arcgis-layer-list-item → arcgis-layer-list-new/layer-list-item}/index.js +6 -5
- package/dist/components/arcgis-legend/customElement.d.ts +42 -43
- package/dist/components/arcgis-legend-classic-element/customElement.js +22 -24
- package/dist/components/arcgis-line-of-sight/customElement.d.ts +16 -14
- package/dist/components/arcgis-link-chart/customElement.d.ts +76 -68
- package/dist/components/arcgis-link-chart/customElement.js +8 -8
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.d.ts +3 -5
- package/dist/components/arcgis-link-chart-layout-switcher/types.d.ts +1 -0
- package/dist/components/arcgis-link-chart-nonspatial-visibility-toggle/customElement.d.ts +9 -9
- package/dist/components/arcgis-link-chart-nonspatial-visibility-toggle/customElement.js +13 -13
- package/dist/components/arcgis-link-chart-nonspatial-visibility-toggle/types.d.ts +3 -0
- package/dist/components/arcgis-locate/customElement.d.ts +3 -4
- package/dist/components/arcgis-locate/customElement.js +24 -23
- package/dist/components/arcgis-map/customElement.d.ts +189 -181
- package/dist/components/arcgis-map/customElement.js +4 -4
- package/dist/components/arcgis-measurement/customElement.d.ts +4 -5
- package/dist/components/arcgis-measurement-content/customElement.js +18 -14
- package/dist/components/arcgis-multi-feature-form/customElement.d.ts +9 -11
- package/dist/components/arcgis-navigation-toggle/customElement.d.ts +7 -12
- package/dist/components/arcgis-navigation-toggle/customElement.js +9 -6
- package/dist/components/arcgis-navigation-toggle/types.d.ts +1 -0
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.d.ts +10 -3
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +2 -2
- package/dist/components/arcgis-paste/ClipboardMove.d.ts +6 -3
- package/dist/components/arcgis-paste/PasteViewModel.d.ts +28 -16
- package/dist/components/arcgis-paste/commands/PasteCommand.d.ts +267 -123
- package/dist/components/arcgis-paste/commands/PasteCustomCommand.d.ts +117 -116
- package/dist/components/arcgis-paste/customElement.d.ts +5 -5
- package/dist/components/arcgis-paste/customElement.js +92 -74
- package/dist/components/arcgis-paste/index.js +1 -1
- package/dist/components/arcgis-popup/customElement.d.ts +87 -75
- package/dist/components/arcgis-popup/customElement.js +121 -125
- package/dist/components/arcgis-popup/types.d.ts +2 -2
- package/dist/components/arcgis-presentation/PresentationViewModel.d.ts +4 -3
- package/dist/components/arcgis-presentation/customElement.d.ts +1 -1
- package/dist/components/arcgis-presentation/customElement.js +6 -6
- package/dist/components/arcgis-print/customElement.d.ts +51 -31
- package/dist/components/arcgis-print/customElement.js +7 -7
- package/dist/components/arcgis-print-layout-advanced-options/customElement.js +7 -7
- package/dist/components/arcgis-print-layout-panel/customElement.js +6 -6
- package/dist/components/arcgis-print-main-panel/customElement.js +7 -7
- package/dist/components/arcgis-print-out-spatial-reference-input/customElement.js +20 -19
- package/dist/components/arcgis-reverse-geocode-list/customElement.d.ts +3 -2
- package/dist/components/arcgis-reverse-geocode-list/customElement.js +42 -32
- package/dist/components/arcgis-scale-bar/customElement.d.ts +3 -7
- package/dist/components/arcgis-scale-bar/customElement.js +7 -7
- package/dist/components/arcgis-scale-bar/types.d.ts +5 -0
- package/dist/components/arcgis-scale-range-slider/customElement.d.ts +7 -8
- package/dist/components/arcgis-scene/customElement.d.ts +185 -177
- package/dist/components/arcgis-scene/customElement.js +10 -10
- package/dist/components/arcgis-search/customElement.d.ts +55 -59
- package/dist/components/arcgis-search/customElement.js +13 -12
- package/dist/components/arcgis-search/types.d.ts +1 -0
- package/dist/components/arcgis-shadow-cast/customElement.d.ts +84 -40
- package/dist/components/arcgis-shadow-cast/customElement.js +34 -34
- package/dist/components/arcgis-sketch/customElement.d.ts +82 -33
- package/dist/components/arcgis-sketch/customElement.js +14 -14
- package/dist/components/arcgis-slice/customElement.d.ts +26 -26
- package/dist/components/arcgis-slice/customElement.js +11 -10
- package/dist/components/arcgis-slice/types.d.ts +4 -0
- package/dist/components/arcgis-slider-binary-color-size-legacy/customElement.d.ts +128 -97
- package/dist/components/arcgis-slider-binary-color-size-legacy/customElement.js +6 -6
- package/dist/components/arcgis-slider-classed-color-legacy/customElement.d.ts +53 -59
- package/dist/components/arcgis-slider-classed-color-legacy/customElement.js +1 -1
- package/dist/components/arcgis-slider-classed-size-legacy/customElement.d.ts +51 -54
- package/dist/components/arcgis-slider-classed-size-legacy/customElement.js +1 -1
- package/dist/components/arcgis-slider-color-legacy/customElement.d.ts +79 -101
- package/dist/components/arcgis-slider-color-size-legacy/customElement.d.ts +149 -99
- package/dist/components/arcgis-slider-color-size-legacy/customElement.js +6 -6
- package/dist/components/arcgis-slider-heatmap-legacy/customElement.d.ts +13 -14
- package/dist/components/arcgis-slider-heatmap-legacy/customElement.js +1 -1
- package/dist/components/arcgis-slider-opacity-legacy/customElement.d.ts +75 -93
- package/dist/components/arcgis-slider-opacity-legacy/customElement.js +1 -1
- package/dist/components/arcgis-slider-size-legacy/customElement.d.ts +81 -97
- package/dist/components/arcgis-slider-size-legacy/customElement.js +1 -1
- package/dist/components/arcgis-snapping-controls/customElement.d.ts +76 -16
- package/dist/components/arcgis-snapping-controls/customElement.js +3 -3
- package/dist/components/arcgis-swipe/customElement.d.ts +16 -17
- package/dist/components/arcgis-swipe/customElement.js +55 -43
- package/dist/components/arcgis-table-list/customElement.d.ts +122 -80
- package/dist/components/arcgis-table-list/customElement.js +11 -11
- package/dist/components/arcgis-time-of-day-slider/customElement.d.ts +1 -0
- package/dist/components/arcgis-time-of-day-slider/customElement.js +23 -25
- package/dist/components/arcgis-time-slider/customElement.d.ts +23 -26
- package/dist/components/arcgis-time-slider/customElement.js +1 -1
- package/dist/components/arcgis-time-zone-label/customElement.d.ts +10 -34
- package/dist/components/arcgis-time-zone-label/customElement.js +15 -48
- package/dist/components/arcgis-time-zone-label/index.js +1 -1
- package/dist/components/arcgis-time-zone-label/types.d.ts +1 -0
- package/dist/components/arcgis-track/customElement.d.ts +6 -7
- package/dist/components/arcgis-utility-network-aggregated-geometry/customElement.d.ts +18 -10
- package/dist/components/arcgis-utility-network-aggregated-geometry/customElement.js +54 -59
- package/dist/components/arcgis-utility-network-aggregated-geometry/index.js +0 -1
- package/dist/components/arcgis-utility-network-associations/customElement.d.ts +5 -6
- package/dist/components/arcgis-utility-network-trace/customElement.d.ts +11 -8
- package/dist/components/arcgis-utility-network-trace/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace-analysis/customElement.d.ts +95 -29
- package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +76 -60
- package/dist/components/arcgis-utility-network-trace-analysis/index.js +1 -1
- package/dist/components/arcgis-utility-network-trace-analysis/types.d.ts +1 -0
- package/dist/components/arcgis-utility-network-trace-inputs/customElement.d.ts +23 -6
- package/dist/components/arcgis-utility-network-trace-inputs/customElement.js +119 -75
- package/dist/components/arcgis-utility-network-trace-location/customElement.d.ts +17 -5
- package/dist/components/arcgis-utility-network-trace-location/customElement.js +200 -195
- package/dist/components/arcgis-utility-network-trace-location-list/customElement.d.ts +3 -0
- package/dist/components/arcgis-utility-network-trace-location-list/customElement.js +12 -12
- package/dist/components/arcgis-utility-network-trace-results/customElement.d.ts +23 -2
- package/dist/components/arcgis-utility-network-trace-results/customElement.js +120 -98
- package/dist/components/arcgis-utility-network-trace-results/index.js +2 -1
- package/dist/components/arcgis-utility-network-validate-topology/customElement.d.ts +1 -2
- package/dist/components/arcgis-value-picker-legacy/customElement.d.ts +51 -53
- package/dist/components/arcgis-value-picker-legacy/customElement.js +1 -1
- package/dist/components/arcgis-version-management/customElement.d.ts +7 -21
- package/dist/components/arcgis-version-management/customElement.js +1 -1
- package/dist/components/arcgis-version-management/types.d.ts +15 -0
- package/dist/components/arcgis-version-management-version-list/customElement.js +1 -1
- package/dist/components/arcgis-video/customElement.d.ts +13 -11
- package/dist/components/arcgis-video-player/customElement.d.ts +6 -6
- package/dist/components/arcgis-video-player/customElement.js +2 -2
- package/dist/components/arcgis-volume-measurement/customElement.d.ts +46 -41
- package/dist/components/arcgis-volume-measurement/customElement.js +164 -173
- package/dist/components/arcgis-volume-measurement/index.js +1 -1
- package/dist/components/arcgis-volume-measurement/types.d.ts +1 -0
- package/dist/components/arcgis-weather/customElement.d.ts +17 -18
- package/dist/components/arcgis-zoom/customElement.d.ts +8 -7
- package/dist/components/arcgis-zoom/customElement.js +1 -1
- package/dist/components/arcgis-zoom/types.d.ts +3 -0
- package/dist/components/types.d.ts +58 -1
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/vscode.css-custom-data.json +1 -1
- package/dist/docs/vscode.html-custom-data.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/index.d.ts +17 -35
- package/dist/loader.js +38 -36
- package/dist/types/lumina.d.ts +41 -55
- package/dist/types/preact.d.ts +43 -60
- package/dist/types/react.d.ts +45 -65
- package/dist/types/stencil.d.ts +41 -55
- package/dist/utils/action-utils.d.ts +1 -3
- package/dist/utils/layer-list-utils.d.ts +12 -0
- package/package.json +7 -7
- package/dist/cdn/22LNBUKE.js +0 -2
- package/dist/cdn/23UYZVTW.js +0 -2
- package/dist/cdn/2BJHF4JK.js +0 -2
- package/dist/cdn/2K45WUVH.js +0 -2
- package/dist/cdn/3NKCXSOG.js +0 -2
- package/dist/cdn/3WJ4CTLO.js +0 -2
- package/dist/cdn/3WKKQ4VO.js +0 -2
- package/dist/cdn/4TURMTXA.js +0 -2
- package/dist/cdn/4URF7CKU.js +0 -2
- package/dist/cdn/5FZLG5YS.js +0 -2
- package/dist/cdn/5RBOHMMK.js +0 -2
- package/dist/cdn/6NR6EZZI.js +0 -2
- package/dist/cdn/6Q52PYPA.js +0 -2
- package/dist/cdn/6V543DNR.js +0 -2
- package/dist/cdn/6ZNO34O5.js +0 -2
- package/dist/cdn/77ERVO5S.js +0 -2
- package/dist/cdn/7CBBWB77.js +0 -2
- package/dist/cdn/7WLTT4K3.js +0 -2
- package/dist/cdn/7ZCMIKP6.js +0 -2
- package/dist/cdn/B2WEYYED.js +0 -2
- package/dist/cdn/BAPY2HFP.js +0 -2
- package/dist/cdn/BB5CXHDQ.js +0 -2
- package/dist/cdn/BEXRPBHT.js +0 -2
- package/dist/cdn/BGOWWLCQ.js +0 -2
- package/dist/cdn/BM2JTRBY.js +0 -2
- package/dist/cdn/BMR2YFEM.js +0 -2
- package/dist/cdn/BQMLNDT6.js +0 -2
- package/dist/cdn/C2PSJPHR.js +0 -2
- package/dist/cdn/C67HCGCO.js +0 -2
- package/dist/cdn/CCJHB4A2.js +0 -2
- package/dist/cdn/CEJGZMGB.js +0 -2
- package/dist/cdn/CIUAWIL5.js +0 -4
- package/dist/cdn/CKNH5OMJ.js +0 -2
- package/dist/cdn/CNMF4MVD.js +0 -2
- package/dist/cdn/CQ2L75M3.js +0 -2
- package/dist/cdn/CUWONRT5.js +0 -2
- package/dist/cdn/CXOYV56L.js +0 -2
- package/dist/cdn/D7DDJ2QZ.js +0 -3
- package/dist/cdn/DLFGSUYT.js +0 -2
- package/dist/cdn/DWW7KAMQ.js +0 -2
- package/dist/cdn/E4YMNWRJ.js +0 -2
- package/dist/cdn/EJZTSGNS.js +0 -2
- package/dist/cdn/EL62JS5C.js +0 -2
- package/dist/cdn/EPQN4FJS.js +0 -2
- package/dist/cdn/EQKQCYUY.js +0 -2
- package/dist/cdn/ET6YD3C7.js +0 -2
- package/dist/cdn/EVC4MXIZ.js +0 -2
- package/dist/cdn/EYW7YQF6.js +0 -2
- package/dist/cdn/FANKLSAT.js +0 -2
- package/dist/cdn/FEQLUSM2.js +0 -2
- package/dist/cdn/FFDRV5ZO.js +0 -2
- package/dist/cdn/FOMIDTAN.js +0 -2
- package/dist/cdn/FTBTVD7U.js +0 -2
- package/dist/cdn/G4A4VLTL.js +0 -2
- package/dist/cdn/G7PHEWBZ.js +0 -2
- package/dist/cdn/GHA2ANJZ.js +0 -2
- package/dist/cdn/GLNRLEZE.js +0 -2
- package/dist/cdn/GQN4ALIE.js +0 -2
- package/dist/cdn/GS43BIES.js +0 -2
- package/dist/cdn/GUAI5SHN.js +0 -2
- package/dist/cdn/GYDNEXYU.js +0 -2
- package/dist/cdn/HGNP2J3R.js +0 -2
- package/dist/cdn/HVI2FE73.js +0 -2
- package/dist/cdn/I2WEEE2E.js +0 -2
- package/dist/cdn/ILPNFQWH.js +0 -2
- package/dist/cdn/IPNIJANM.js +0 -2
- package/dist/cdn/J7ZNOOZ4.js +0 -2
- package/dist/cdn/JC4DYMKT.js +0 -2
- package/dist/cdn/JCV26SSG.js +0 -2
- package/dist/cdn/JLIZWDU5.js +0 -2
- package/dist/cdn/JMHCIJG4.js +0 -2
- package/dist/cdn/KBY7C6QM.js +0 -2
- package/dist/cdn/KE3XRRXO.js +0 -2
- package/dist/cdn/KEFY4XPI.js +0 -2
- package/dist/cdn/KNJ7PME5.js +0 -2
- package/dist/cdn/KRCRJUYG.js +0 -2
- package/dist/cdn/L6LZYPWJ.js +0 -2
- package/dist/cdn/L7NIKN24.js +0 -2
- package/dist/cdn/LLNNQ2ED.js +0 -2
- package/dist/cdn/LMV6L2OF.js +0 -2
- package/dist/cdn/LVMJAMRO.js +0 -2
- package/dist/cdn/LZ3PMD7Z.js +0 -2
- package/dist/cdn/LZ7PMWXR.js +0 -2
- package/dist/cdn/LZFDWRYI.js +0 -2
- package/dist/cdn/MSMDSEFM.js +0 -2
- package/dist/cdn/MW73TE2N.js +0 -2
- package/dist/cdn/N76CLHYJ.js +0 -2
- package/dist/cdn/OF4IOSNA.js +0 -2
- package/dist/cdn/OJNMPOYD.js +0 -2
- package/dist/cdn/OKZSKR6W.js +0 -2
- package/dist/cdn/OXHLBFME.js +0 -2
- package/dist/cdn/PCQ5PXPF.js +0 -2
- package/dist/cdn/PESPV6VP.js +0 -2
- package/dist/cdn/PFYZ7JRB.js +0 -2
- package/dist/cdn/PNDLNFML.js +0 -2
- package/dist/cdn/POEZXWTT.js +0 -2
- package/dist/cdn/PTWLVTFS.js +0 -4
- package/dist/cdn/QXUY4FOY.js +0 -2
- package/dist/cdn/RVFNEP2J.js +0 -2
- package/dist/cdn/RXFUZXUX.js +0 -2
- package/dist/cdn/S52VES4H.js +0 -2
- package/dist/cdn/SD7FABOK.js +0 -2
- package/dist/cdn/SFM3XWUA.js +0 -2
- package/dist/cdn/SRSYUCVL.js +0 -2
- package/dist/cdn/SSZMOOL6.js +0 -2
- package/dist/cdn/SZNBYDQI.js +0 -2
- package/dist/cdn/TM5C2P2F.js +0 -2
- package/dist/cdn/U5HXLA7K.js +0 -2
- package/dist/cdn/UZ7KLWGC.js +0 -2
- package/dist/cdn/V3M37NHT.js +0 -2
- package/dist/cdn/VGFC3ME5.js +0 -2
- package/dist/cdn/VGTTCLO3.js +0 -2
- package/dist/cdn/VJMMA6UX.js +0 -2
- package/dist/cdn/VPJCFCJU.js +0 -2
- package/dist/cdn/VYHDFNKP.js +0 -2
- package/dist/cdn/WICYZB2Q.js +0 -2
- package/dist/cdn/XWAT4IT2.js +0 -2
- package/dist/cdn/XXDOZQ6Q.js +0 -2
- package/dist/cdn/Y7HDE5NQ.js +0 -2
- package/dist/cdn/YEDAGZUF.js +0 -2
- package/dist/cdn/YHRPRHZA.js +0 -2
- package/dist/cdn/YMDVBOE7.js +0 -2
- package/dist/cdn/YMPJFJHK.js +0 -2
- package/dist/cdn/YSDQ5VNK.js +0 -2
- package/dist/cdn/Z6VVHLCW.js +0 -2
- package/dist/cdn/ZHINQNZ2.js +0 -2
- package/dist/cdn/ZIX3WE2Q.js +0 -2
- package/dist/cdn/ZMLRDNKR.js +0 -2
- package/dist/chunks/layer-list.js +0 -6
- package/dist/components/arcgis-building-discipline-tree/customElement.d.ts +0 -14
- package/dist/components/arcgis-building-explorer/building-filter/BuildingLevel.d.ts +0 -20
- package/dist/components/arcgis-building-explorer/building-filter/BuildingNumericFilterViewModel.d.ts +0 -93
- package/dist/components/arcgis-building-explorer/building-filter/BuildingPhase.d.ts +0 -24
- package/dist/components/arcgis-building-explorer/support/types.d.ts +0 -11
- package/dist/components/arcgis-building-level-item/customElement.d.ts +0 -25
- package/dist/components/arcgis-building-level-picker/customElement.d.ts +0 -20
- package/dist/components/arcgis-building-level-picker/index.d.ts +0 -1
- package/dist/components/arcgis-building-phase-picker/customElement.d.ts +0 -19
- package/dist/components/arcgis-building-phase-picker/index.d.ts +0 -1
- package/dist/components/arcgis-daylight/daylight-utils.d.ts +0 -8
- package/dist/components/arcgis-expand/ExpandViewModel.d.ts +0 -44
- package/dist/components/arcgis-feature-templates/index.d.ts +0 -1
- package/dist/components/arcgis-layer-list-item/customElement.js +0 -287
- package/dist/components/arcgis-slice/SliceViewModel.d.ts +0 -4
- package/dist/components/support/goTo.d.ts +0 -37
- package/dist/controllers/useArcgisLoadError.d.ts +0 -9
- package/dist/support/heading.d.ts +0 -1
- package/dist/support/measurementUtils.d.ts +0 -1
- package/dist/utils/component-utils.d.ts +0 -5
- /package/dist/cdn/{W5B5LTGN.js → 2HXYJZSB.js} +0 -0
- /package/dist/cdn/{W2Q7NWBG.js → 37GJW6KT.js} +0 -0
- /package/dist/cdn/{ORP3ZND2.js → 4IM2FY5W.js} +0 -0
- /package/dist/cdn/{DWZIXPJ4.js → 4MDRPZTG.js} +0 -0
- /package/dist/cdn/{FPD3STSJ.js → 4STAROOM.js} +0 -0
- /package/dist/cdn/{HZTWWEVM.js → 5IMWXYL2.js} +0 -0
- /package/dist/cdn/{LCXF3AKY.js → 5TXE67XV.js} +0 -0
- /package/dist/cdn/{B7IYR676.js → BBQPUWRO.js} +0 -0
- /package/dist/cdn/{PUOWH3YL.js → BND2TJBO.js} +0 -0
- /package/dist/cdn/{UQ7E33T4.js → CJOHGWK6.js} +0 -0
- /package/dist/cdn/{5OB4E5PR.js → D5WXOOS3.js} +0 -0
- /package/dist/cdn/{QAXR4LT6.js → DMDCKD5U.js} +0 -0
- /package/dist/cdn/{DDI363AI.js → EP252O27.js} +0 -0
- /package/dist/cdn/{YP3JKXC4.js → EVHNFE5I.js} +0 -0
- /package/dist/cdn/{7FMJZURP.js → EW6V3NZI.js} +0 -0
- /package/dist/cdn/{ZLIZCBGT.js → F6BQWE5I.js} +0 -0
- /package/dist/cdn/{W5XM52J7.js → FLLSBLLE.js} +0 -0
- /package/dist/cdn/{PHF2XKSK.js → FQZXILRT.js} +0 -0
- /package/dist/cdn/{X5H6ZUFX.js → GHY23IXW.js} +0 -0
- /package/dist/cdn/{RDW2NJPR.js → GIGQIUF5.js} +0 -0
- /package/dist/cdn/{DEOCASGG.js → GS75FRUR.js} +0 -0
- /package/dist/cdn/{JMDNJPNT.js → HGAJ2IEN.js} +0 -0
- /package/dist/cdn/{GB42YXHR.js → JKVKP7AW.js} +0 -0
- /package/dist/cdn/{YDJGMRV3.js → JU3BLGXG.js} +0 -0
- /package/dist/cdn/{76ESM6B2.js → L4TA63M6.js} +0 -0
- /package/dist/cdn/{RCD5UKTW.js → LQVZVGY4.js} +0 -0
- /package/dist/cdn/{E2KWMQKQ.js → MM4KQLRF.js} +0 -0
- /package/dist/cdn/{UVZZX6YP.js → Q3GALNWS.js} +0 -0
- /package/dist/cdn/{ZFFBK3VO.js → QM34BSKE.js} +0 -0
- /package/dist/cdn/{M6TJN2I5.js → QTWRDNXX.js} +0 -0
- /package/dist/cdn/{2ZL4CF6P.js → TC3Q2QUA.js} +0 -0
- /package/dist/cdn/{YHVFARHN.js → TEFALOII.js} +0 -0
- /package/dist/cdn/{JDPQMOEW.js → TP5VEU3D.js} +0 -0
- /package/dist/cdn/{CRR65TKV.js → U35ISUWJ.js} +0 -0
- /package/dist/cdn/{L4WRYSKZ.js → UUC3DBCQ.js} +0 -0
- /package/dist/cdn/{BQIH5T3S.js → UVMLKDJA.js} +0 -0
- /package/dist/cdn/{YMU5IPMP.js → V7DG2KF6.js} +0 -0
- /package/dist/cdn/{OSRAPPNR.js → WHDMC5HB.js} +0 -0
- /package/dist/cdn/{55VMVXRK.js → XJXQC6HM.js} +0 -0
- /package/dist/cdn/{CHDRBZNL.js → YZSLMAVX.js} +0 -0
- /package/dist/cdn/{KAJ3U6DP.js → ZUPEVR3P.js} +0 -0
- /package/dist/components/{arcgis-building-discipline-tree → arcgis-feature-templates-legacy}/index.d.ts +0 -0
- /package/dist/components/{arcgis-feature-templates → arcgis-feature-templates-legacy}/index.js +0 -0
- /package/dist/components/{arcgis-building-level-item → arcgis-layer-list-new}/index.d.ts +0 -0
- /package/dist/components/arcgis-locate/{LocateViewModel.d.ts → types.d.ts} +0 -0
- /package/dist/components/arcgis-weather/{WeatherViewModel.d.ts → types.d.ts} +0 -0
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
2
|
import type Color from "@arcgis/core/Color.js";
|
|
3
|
-
import type AggregatedGeometry from "@arcgis/core/rest/networks/support/AggregatedGeometry";
|
|
4
|
-
import type MapView from "@arcgis/core/views/MapView";
|
|
3
|
+
import type AggregatedGeometry from "@arcgis/core/rest/networks/support/AggregatedGeometry.js";
|
|
4
|
+
import type MapView from "@arcgis/core/views/MapView.js";
|
|
5
5
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
6
6
|
import type { T9nMeta } from "@arcgis/lumina/controllers";
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* This is a sub-component used by the **ArcgisUtilityNetworkTraceAnalysis** component.
|
|
10
10
|
*
|
|
11
|
-
* This sub-component renders the aggregated geometry from a `TraceResult` on a view
|
|
12
|
-
*
|
|
13
|
-
* toggle which
|
|
11
|
+
* This sub-component renders the aggregated geometry from a `TraceResult` on a view.
|
|
12
|
+
* The component does not project the geometry on the client.
|
|
13
|
+
* This sub-component also renders a "Show graphics" toggle which shows or hides the aggregated geometry graphics.
|
|
14
14
|
*
|
|
15
15
|
* The user can specify a color to render the aggregated geometry graphics in.
|
|
16
16
|
*
|
|
@@ -35,6 +35,16 @@ export abstract class ArcgisUtilityNetworkAggregatedGeometry extends LitElement
|
|
|
35
35
|
};
|
|
36
36
|
showGraphics: string;
|
|
37
37
|
}>;
|
|
38
|
+
/**
|
|
39
|
+
* If true, the component will not be destroyed automatically when it is
|
|
40
|
+
* disconnected from the document. This is useful when you want to move the
|
|
41
|
+
* component to a different place on the page, or temporarily hide it. If this
|
|
42
|
+
* is set, make sure to call the [destroy()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-utility-network-aggregated-geometry/#destroy) method when you are done to
|
|
43
|
+
* prevent memory leaks.
|
|
44
|
+
*
|
|
45
|
+
* @default false
|
|
46
|
+
*/
|
|
47
|
+
accessor autoDestroyDisabled: boolean;
|
|
38
48
|
/** @required */
|
|
39
49
|
accessor geometry: AggregatedGeometry | undefined;
|
|
40
50
|
/**
|
|
@@ -44,14 +54,12 @@ export abstract class ArcgisUtilityNetworkAggregatedGeometry extends LitElement
|
|
|
44
54
|
accessor graphicsColor: Color;
|
|
45
55
|
/** @default false */
|
|
46
56
|
accessor hideGraphics: boolean;
|
|
47
|
-
/** @default "ready" */
|
|
48
|
-
accessor state: State;
|
|
49
57
|
/** @required */
|
|
50
58
|
accessor view: MapView | undefined;
|
|
59
|
+
/** Permanently destroy the component. */
|
|
60
|
+
destroy(): Promise<void>;
|
|
51
61
|
readonly arcgisHideGraphicsChange: import("@arcgis/lumina").TargetedEvent<this, boolean>;
|
|
52
62
|
readonly "@eventTypes": {
|
|
53
63
|
arcgisHideGraphicsChange: ArcgisUtilityNetworkAggregatedGeometry["arcgisHideGraphicsChange"]["detail"];
|
|
54
64
|
};
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
export type State = "loading" | "ready";
|
|
65
|
+
}
|
|
@@ -1,111 +1,106 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
2
|
import { c as m } from "../../chunks/runtime.js";
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import d from "@arcgis/core/Graphic.js";
|
|
3
|
+
import p from "@arcgis/core/Color.js";
|
|
4
|
+
import l from "@arcgis/core/Graphic.js";
|
|
6
5
|
import g from "@arcgis/core/layers/GraphicsLayer.js";
|
|
7
6
|
import y from "@arcgis/core/symbols/SimpleFillSymbol.js";
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import { LitElement as
|
|
11
|
-
import { log as
|
|
12
|
-
import { css as
|
|
13
|
-
import { u as
|
|
14
|
-
import {
|
|
15
|
-
const
|
|
16
|
-
class
|
|
7
|
+
import n from "@arcgis/core/symbols/SimpleLineSymbol.js";
|
|
8
|
+
import d from "@arcgis/core/symbols/SimpleMarkerSymbol.js";
|
|
9
|
+
import { LitElement as w, createEvent as _, nothing as f } from "@arcgis/lumina";
|
|
10
|
+
import { log as s, composeMissingPropertyMessage as a } from "@arcgis/toolkit/log";
|
|
11
|
+
import { css as G, html as u } from "lit";
|
|
12
|
+
import { u as L } from "../../chunks/useT9n.js";
|
|
13
|
+
import { a as v, b as o } from "../../chunks/layer-utils.js";
|
|
14
|
+
const b = G`.loader-container{display:flex;justify-content:center;padding-bottom:var(--calcite-spacing-md)}`, h = 12;
|
|
15
|
+
class S extends w {
|
|
17
16
|
constructor() {
|
|
18
|
-
super(...arguments), this._graphicsLayerName =
|
|
19
|
-
const
|
|
20
|
-
this.
|
|
17
|
+
super(...arguments), this._graphicsLayerName = "arcgis-utility-network-aggregated-geometry-graphics", this._messages = L({ blocking: !0 }), this._graphics = [], this._addAggregatedGeometryToView = () => {
|
|
18
|
+
const e = this.geometry, { line: i, multipoint: r, polygon: c } = e;
|
|
19
|
+
this._graphics = [i, r, c].filter((t) => t != null).map((t) => this._makeGraphicFromGeometry(t)), this._graphicsLayer.addMany(this._graphics);
|
|
21
20
|
}, this._createGraphicsLayer = () => {
|
|
22
|
-
const
|
|
23
|
-
if (
|
|
24
|
-
this._graphicsLayer =
|
|
21
|
+
const e = this.view.map, i = this._graphicsLayerName, r = e.findLayerById(i);
|
|
22
|
+
if (r && v(r)) {
|
|
23
|
+
this._graphicsLayer = r;
|
|
25
24
|
return;
|
|
26
25
|
}
|
|
27
26
|
this._graphicsLayer = new g({
|
|
28
|
-
id:
|
|
27
|
+
id: i,
|
|
29
28
|
listMode: "hide",
|
|
30
|
-
title:
|
|
31
|
-
}),
|
|
32
|
-
}, this.hideGraphics = !1, this.graphicsColor = new
|
|
29
|
+
title: i
|
|
30
|
+
}), o(this.view, this._graphicsLayer);
|
|
31
|
+
}, this.hideGraphics = !1, this.graphicsColor = new p([255, 255, 0, 0.6]), this.autoDestroyDisabled = !1, this.arcgisHideGraphicsChange = _();
|
|
33
32
|
}
|
|
34
33
|
static {
|
|
35
|
-
this.properties = { geometry: 0, hideGraphics: 5, graphicsColor: 0,
|
|
34
|
+
this.properties = { geometry: 0, hideGraphics: 5, graphicsColor: 0, view: 0, autoDestroyDisabled: 5 };
|
|
36
35
|
}
|
|
37
36
|
static {
|
|
38
|
-
this.styles =
|
|
37
|
+
this.styles = b;
|
|
38
|
+
}
|
|
39
|
+
async destroy() {
|
|
40
|
+
this.view?.map && this._graphicsLayer && this.view.map.remove(this._graphicsLayer), await this.manager.destroy();
|
|
39
41
|
}
|
|
40
42
|
connectedCallback() {
|
|
41
|
-
super.connectedCallback(), this.view && this._graphicsLayer &&
|
|
43
|
+
super.connectedCallback(), this.view && this._graphicsLayer && o(this.view, this._graphicsLayer);
|
|
42
44
|
}
|
|
43
45
|
load() {
|
|
44
|
-
!this.geometry || !this.view?.map || this.
|
|
45
|
-
}
|
|
46
|
-
loaded() {
|
|
47
|
-
this.geometry || a("error", this, o("geometry")), this.view ? this.view.map || a("error", this, o("The property `view` was provided, but `view.map` is null. Cannot draw aggregated geometry.")) : a("error", this, o("view"));
|
|
46
|
+
!this.geometry || !this.view?.map || this._createGraphicsLayer();
|
|
48
47
|
}
|
|
49
|
-
willUpdate(
|
|
50
|
-
if (
|
|
51
|
-
const
|
|
52
|
-
|
|
48
|
+
willUpdate(e) {
|
|
49
|
+
if (e.has("graphicsColor") && this._updateGraphicSymbols(), e.has("geometry") && (this._graphicsLayer?.removeAll(), this._addAggregatedGeometryToView()), e.has("view")) {
|
|
50
|
+
const i = e.get("view");
|
|
51
|
+
i?.map && this._graphicsLayer && (i.map.remove(this._graphicsLayer), this._createGraphicsLayer(), this._addAggregatedGeometryToView());
|
|
53
52
|
}
|
|
54
53
|
}
|
|
55
|
-
|
|
56
|
-
|
|
54
|
+
loaded() {
|
|
55
|
+
this.geometry || s("error", this, a("geometry")), this.view ? this.view.map || s("error", this, a("The property `view` was provided, but `view.map` is null. Cannot draw aggregated geometry.")) : s("error", this, a("view"));
|
|
57
56
|
}
|
|
58
57
|
_handleShowGraphicsChange() {
|
|
59
|
-
this.hideGraphics = !this.hideGraphics, this.hideGraphics ? this._graphicsLayer?.removeAll() : this._graphicsLayer?.addMany(this.
|
|
60
|
-
}
|
|
61
|
-
async _loadProjectOperator() {
|
|
62
|
-
s.isLoaded() || (this.state = "loading", await s.load(), this.state = "ready");
|
|
58
|
+
this.hideGraphics = !this.hideGraphics, this.hideGraphics ? this._graphicsLayer?.removeAll() : this._graphicsLayer?.addMany(this._graphics), this.arcgisHideGraphicsChange.emit(this.hideGraphics);
|
|
63
59
|
}
|
|
64
|
-
_makeGraphicFromGeometry(
|
|
65
|
-
|
|
66
|
-
return new d({
|
|
60
|
+
_makeGraphicFromGeometry(e) {
|
|
61
|
+
return new l({
|
|
67
62
|
geometry: e,
|
|
68
|
-
symbol: this._makeSymbolForGeometry(
|
|
63
|
+
symbol: this._makeSymbolForGeometry(e)
|
|
69
64
|
});
|
|
70
65
|
}
|
|
71
|
-
_makeSymbolForGeometry(
|
|
72
|
-
const
|
|
73
|
-
switch (
|
|
66
|
+
_makeSymbolForGeometry(e) {
|
|
67
|
+
const i = this.graphicsColor;
|
|
68
|
+
switch (e.type) {
|
|
74
69
|
case "multipoint":
|
|
75
|
-
return new
|
|
76
|
-
color:
|
|
70
|
+
return new d({
|
|
71
|
+
color: i,
|
|
77
72
|
size: h,
|
|
78
73
|
outline: {
|
|
79
|
-
color:
|
|
74
|
+
color: i,
|
|
80
75
|
width: 0
|
|
81
76
|
}
|
|
82
77
|
});
|
|
83
78
|
case "polygon":
|
|
84
79
|
return new y({
|
|
85
|
-
color:
|
|
80
|
+
color: i,
|
|
86
81
|
outline: {
|
|
87
|
-
color:
|
|
82
|
+
color: i,
|
|
88
83
|
width: h
|
|
89
84
|
}
|
|
90
85
|
});
|
|
91
86
|
case "polyline":
|
|
92
|
-
return new
|
|
93
|
-
color:
|
|
87
|
+
return new n({
|
|
88
|
+
color: i,
|
|
94
89
|
width: h
|
|
95
90
|
});
|
|
96
91
|
}
|
|
97
92
|
}
|
|
98
93
|
_updateGraphicSymbols() {
|
|
99
|
-
this._graphicsLayer?.graphics.forEach((
|
|
100
|
-
const
|
|
101
|
-
|
|
94
|
+
this._graphicsLayer?.graphics.forEach((e) => {
|
|
95
|
+
const i = e.geometry;
|
|
96
|
+
e.symbol = this._makeSymbolForGeometry(i);
|
|
102
97
|
});
|
|
103
98
|
}
|
|
104
99
|
render() {
|
|
105
|
-
return
|
|
100
|
+
return u`<calcite-switch .checked=${!this.hideGraphics} .label=${this._messages.labels.showGraphicsToggle} label-text-end=${this._messages.showGraphics ?? f} @calciteSwitchChange=${this._handleShowGraphicsChange}></calcite-switch>`;
|
|
106
101
|
}
|
|
107
102
|
}
|
|
108
|
-
m("arcgis-utility-network-aggregated-geometry",
|
|
103
|
+
m("arcgis-utility-network-aggregated-geometry", S);
|
|
109
104
|
export {
|
|
110
|
-
|
|
105
|
+
S as ArcgisUtilityNetworkAggregatedGeometry
|
|
111
106
|
};
|
|
@@ -3,8 +3,7 @@ import type MapView from "@arcgis/core/views/MapView.js";
|
|
|
3
3
|
import type SimpleLineSymbol from "@arcgis/core/symbols/SimpleLineSymbol.js";
|
|
4
4
|
import type UtilityNetwork from "@arcgis/core/networks/UtilityNetwork.js";
|
|
5
5
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
6
|
-
import type { ArcgisReferenceElement } from "
|
|
7
|
-
import type { IconName } from "../../utils/action-utils.js";
|
|
6
|
+
import type { ArcgisReferenceElement, IconName } from "../types.js";
|
|
8
7
|
import type { Icon } from "@esri/calcite-components/components/calcite-icon";
|
|
9
8
|
|
|
10
9
|
/**
|
|
@@ -34,7 +33,7 @@ export abstract class ArcgisUtilityNetworkAssociations extends LitElement {
|
|
|
34
33
|
*/
|
|
35
34
|
accessor autoRefreshAssociationsDisabled: boolean;
|
|
36
35
|
/**
|
|
37
|
-
* A [SimpleLineSymbol](https://developers.arcgis.com/javascript/latest/
|
|
36
|
+
* A [SimpleLineSymbol](https://developers.arcgis.com/javascript/latest/references/core/symbols/SimpleLineSymbol/) used for representing the polyline geometry that is being
|
|
38
37
|
* drawn for connectivity associations.
|
|
39
38
|
*
|
|
40
39
|
* @since 4.26
|
|
@@ -123,7 +122,7 @@ export abstract class ArcgisUtilityNetworkAssociations extends LitElement {
|
|
|
123
122
|
* The maximum value or upper bound of the Maximum allowable associations slider.
|
|
124
123
|
*
|
|
125
124
|
* If the value in the constructor is less than or equal to the value set for
|
|
126
|
-
* [maxAllowableAssociationsSliderMin](https://developers.arcgis.com/javascript/latest/
|
|
125
|
+
* [maxAllowableAssociationsSliderMin](https://developers.arcgis.com/javascript/latest/references/core/widgets/UtilityNetworkAssociations/#maxAllowableAssociationsSliderMin), the property will be set to a default value (1000).
|
|
127
126
|
*
|
|
128
127
|
* @since 4.26
|
|
129
128
|
*/
|
|
@@ -132,7 +131,7 @@ export abstract class ArcgisUtilityNetworkAssociations extends LitElement {
|
|
|
132
131
|
* The minimum value or lower bound of the Maximum allowable associations slider.
|
|
133
132
|
*
|
|
134
133
|
* If the value in the constructor is less than 0, the property will be set to a default value (250).
|
|
135
|
-
* If the value in the constructor is greater than or equal to [maxAllowableAssociationsSliderMax](https://developers.arcgis.com/javascript/latest/
|
|
134
|
+
* If the value in the constructor is greater than or equal to [maxAllowableAssociationsSliderMax](https://developers.arcgis.com/javascript/latest/references/core/widgets/UtilityNetworkAssociations/#maxAllowableAssociationsSliderMax),
|
|
136
135
|
* the property will be set to a default value (250).
|
|
137
136
|
*
|
|
138
137
|
* @since 4.26
|
|
@@ -208,7 +207,7 @@ export abstract class ArcgisUtilityNetworkAssociations extends LitElement {
|
|
|
208
207
|
*/
|
|
209
208
|
accessor showStructuralAttachmentAssociationsSettingsCapSelect: boolean;
|
|
210
209
|
/**
|
|
211
|
-
* A [SimpleLineSymbol](https://developers.arcgis.com/javascript/latest/
|
|
210
|
+
* A [SimpleLineSymbol](https://developers.arcgis.com/javascript/latest/references/core/symbols/SimpleLineSymbol/) used for representing the polyline geometry that is being drawn for structural attachment associations.
|
|
212
211
|
*
|
|
213
212
|
* @since 4.26
|
|
214
213
|
*/
|
|
@@ -1,20 +1,23 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
2
|
import type MapView from "@arcgis/core/views/MapView.js";
|
|
3
3
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
4
|
-
import type { ArcgisReferenceElement } from "
|
|
5
|
-
import type {
|
|
6
|
-
import type { UtilityNetworkTraceViewModelRemoveResultAreaEvent, UtilityNetworkTraceViewModelAddResultAreaEvent, UtilityNetworkTraceViewModelAddFlagErrorEvent, UtilityNetworkTraceViewModelAddFlagCompleteEvent, UtilityNetworkTraceViewModelAddFlagEvent, TraceResultExtend } from "@arcgis/core/widgets/UtilityNetworkTrace/UtilityNetworkTraceViewModel";
|
|
7
|
-
import type { GraphicColor, FlagProperty, ResultAreaPropertiesExtend, UtilityNetworkTraceViewModelState } from "@arcgis/core/widgets/UtilityNetworkTrace/UtilityNetworkTraceViewModel.js";
|
|
4
|
+
import type { ArcgisReferenceElement, IconName } from "../types.js";
|
|
5
|
+
import type { UtilityNetworkTraceViewModelRemoveResultAreaEvent, UtilityNetworkTraceViewModelAddResultAreaEvent, UtilityNetworkTraceViewModelAddFlagErrorEvent, UtilityNetworkTraceViewModelAddFlagCompleteEvent, UtilityNetworkTraceViewModelAddFlagEvent, TraceResultExtend, GraphicColor, FlagProperty, ResultAreaPropertiesExtend, UtilityNetworkTraceViewModelState } from "@arcgis/core/widgets/UtilityNetworkTrace/UtilityNetworkTraceViewModel.js";
|
|
8
6
|
import type { Icon } from "@esri/calcite-components/components/calcite-icon";
|
|
9
7
|
import type { InputSetting } from "@arcgis/core/widgets/UtilityNetworkTrace.js";
|
|
10
8
|
|
|
11
9
|
/**
|
|
12
|
-
*
|
|
10
|
+
* > [!WARNING]
|
|
11
|
+
* >
|
|
12
|
+
* > This component is **deprecated**. [arcgis-utility-network-trace-analysis](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-utility-network-trace-analysis/) is the preferred component for utility network tracing and should be used for all new development.
|
|
13
|
+
*
|
|
14
|
+
* Utility Network Trace component provides a way to run traces in a Utility Network based on connectivity or traversability from set trace locations. Trace locations (starting points and barriers) can be set by clicking the view.
|
|
13
15
|
*
|
|
14
16
|
* > The Utility Network Trace component does not support proxied feature services or feature services that utilize stored credentials.
|
|
15
17
|
*
|
|
16
18
|
* Note: Sign in to access the data in this sample, U/P: `viewer01`/`I68VGU^nMurF`
|
|
17
19
|
*
|
|
20
|
+
* @deprecated since 5.0, use [arcgis-utility-network-trace-analysis](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-utility-network-trace-analysis/) instead.
|
|
18
21
|
* @since 4.28
|
|
19
22
|
*/
|
|
20
23
|
export abstract class ArcgisUtilityNetworkTrace extends LitElement {
|
|
@@ -42,7 +45,7 @@ export abstract class ArcgisUtilityNetworkTrace extends LitElement {
|
|
|
42
45
|
*/
|
|
43
46
|
accessor defaultGraphicColor: GraphicColor;
|
|
44
47
|
/**
|
|
45
|
-
* When true, the component is visually withdrawn and cannot
|
|
48
|
+
* When true, the component is visually withdrawn and cannot receive user interaction.
|
|
46
49
|
*
|
|
47
50
|
* @default false
|
|
48
51
|
* @since 4.22
|
|
@@ -99,7 +102,7 @@ export abstract class ArcgisUtilityNetworkTrace extends LitElement {
|
|
|
99
102
|
get icon(): Icon["icon"];
|
|
100
103
|
set icon(value: IconName);
|
|
101
104
|
/**
|
|
102
|
-
* Custom labels, descriptions, and symbol for the input [flags](https://developers.arcgis.com/javascript/latest/
|
|
105
|
+
* Custom labels, descriptions, and symbol for the input [flags](https://developers.arcgis.com/javascript/latest/references/core/widgets/UtilityNetworkTrace/#flags).
|
|
103
106
|
*
|
|
104
107
|
* @default []
|
|
105
108
|
* @since 4.23
|
|
@@ -218,7 +221,7 @@ export abstract class ArcgisUtilityNetworkTrace extends LitElement {
|
|
|
218
221
|
readonly arcgisAddFlagError: import("@arcgis/lumina").TargetedEvent<this, UtilityNetworkTraceViewModelAddFlagErrorEvent>;
|
|
219
222
|
readonly arcgisAddResultArea: import("@arcgis/lumina").TargetedEvent<this, UtilityNetworkTraceViewModelAddResultAreaEvent>;
|
|
220
223
|
/** Emitted when the value of a property is changed. Use this to listen to changes to properties. */
|
|
221
|
-
readonly arcgisPropertyChange: import("@arcgis/lumina").TargetedEvent<this, { name: "state"; }>;
|
|
224
|
+
readonly arcgisPropertyChange: import("@arcgis/lumina").TargetedEvent<this, { name: "state" | "traceResults"; }>;
|
|
222
225
|
/** Emitted when the component associated with a map or scene view is ready to be interacted with. */
|
|
223
226
|
readonly arcgisReady: import("@arcgis/lumina").TargetedEvent<this, void>;
|
|
224
227
|
readonly arcgisRemoveResultArea: import("@arcgis/lumina").TargetedEvent<this, UtilityNetworkTraceViewModelRemoveResultAreaEvent>;
|
|
@@ -9,7 +9,7 @@ import { css as n } from "lit";
|
|
|
9
9
|
const l = n`@keyframes esri-basemap-slide{0%{opacity:0;margin-top:0;margin-left:0}75%{opacity:0;margin-top:0;margin-left:0}to{opacity:1;margin-top:5px;margin-left:5px}}@keyframes esri-docking-animation{0%{opacity:0}25%{opacity:0}to{opacity:1}}@keyframes popup-intro-animation-down{0%{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translate(0)}}@keyframes popup-intro-animation-up{0%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translate(0)}}@supports (-ms-ime-align: auto){.esri-slider__anchor:focus{outline:1px dotted #000}}@keyframes esri-spinner--start-animation{0%{opacity:0;transform:scale(0)}to{opacity:1;transform:scale(1)}}@keyframes esri-spinner--finish-animation{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(0)}}@keyframes esri-spinner--rotate-animation{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@media(prefers-reduced-motion){.esri-utility-network-trace__reset-prompt{animation:none!important}}@media(prefers-reduced-motion){.esri-popup--aligned-top-center,.esri-popup--aligned-top-left,.esri-popup--aligned-top-right,.esri-popup--aligned-bottom-center,.esri-popup--aligned-bottom-left,.esri-popup--aligned-bottom-right,.esri-popup--is-docked{animation:none!important}}@media(prefers-reduced-motion:reduce){.esri-fov-overlay{animation:none!important}}@keyframes esri-fade-in-down{0%{opacity:0;transform:translateY(-5px)}25%{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translate(0)}}@keyframes esri-fade-in-up{0%{opacity:0;transform:translateY(5px)}25%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translate(0)}}@keyframes esri-fade-in{0%{opacity:0}25%{opacity:0}to{opacity:1}}@keyframes esri-fade-in-scale{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}@keyframes looping-progresss-bar-ani{0%{width:0;left:0}20%{width:20%;left:0}80%{width:20%;left:80%}to{width:0;left:100%}}@keyframes esri-rotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes panel-advance{0%{opacity:0;transform:translate(50px) scale(.99)}to{opacity:1;transform:translate(0) scale(1)}}@keyframes panel-retreat{0%{opacity:0;transform:translate(-50px) scale(.99)}to{opacity:1;transform:translate(0) scale(1)}}@keyframes panel-advance--rtl{0%{opacity:0;transform:translate(-50px) scale(.99)}to{opacity:1;transform:translate(0) scale(1)}}@keyframes panel-retreat--rtl{0%{opacity:0;transform:translate(50px) scale(.99)}to{opacity:1;transform:translate(0) scale(1)}}.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}.esri-widget{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__heading{word-break:break-word}.esri-widget__header .esri-widget__heading{width:calc(100% - 48px);text-align:initial;color:var(--calcite-color-text-1);align-items:center;margin:0;padding:0;display:flex}.esri-widget__header-button{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);border:none;flex:0 0 48px;justify-content:center;align-self:stretch;align-items:center;width:48px;padding:0;display:flex}.esri-widget__footer{background-color:var(--calcite-color-foreground-1);justify-content:center;align-items:center;width:100%;min-height:48px;display:flex}.esri-widget__footer-pagination{color:var(--calcite-color-text-2);justify-content:space-between;align-items:center;display:flex}.esri-widget__footer-pagination-previous-button,.esri-widget__footer-pagination-next-button{cursor:pointer;background-color:var(--calcite-color-foreground-1);border:0;margin:0 7px;padding:12px 15px;transition:background-color .125s ease-in-out}.esri-widget__footer-pagination-previous-button:hover,.esri-widget__footer-pagination-previous-button:focus,.esri-widget__footer-pagination-next-button:hover,.esri-widget__footer-pagination-next-button:focus{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1)}.esri-menu{visibility:hidden;z-index:1;background-clip:padding;background-color:var(--calcite-color-foreground-1);background-clip:padding-box;width:100%;max-height:0;margin:2px 0 0;padding:0;font-size:var(--calcite-font-size);line-height:var(--calcite-spacing-xl);position:absolute;top:100%;left:0;overflow:hidden;box-shadow:0 1px 2px #0000004d}.esri-menu .esri-menu__header{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-inverse);padding:6px 12px}.esri-menu__list{margin:0;padding:0;list-style:none}.esri-menu__list-item{cursor:pointer;border-top:1px solid #adadad4d;border-left:3px solid #0000;padding:.8em 1em}.esri-menu__list-item [class^=esri-icon-],.esri-menu__list-item [class*=" esri-icon-"]{padding-right:2.8px}.esri-menu__list-item:first-child{border-top:none}.esri-menu__list-item--focus,.esri-menu__list-item:hover,.esri-menu__list-item:focus{background-color:var(--calcite-color-foreground-1)}.esri-menu__list-item:active{background-color:var(--calcite-color-foreground-current)}.esri-menu__list-item--active,.esri-menu__list-item--active:hover,.esri-menu__list-item--active:focus{background-color:var(--calcite-color-foreground-1);border-left-color:var(--calcite-color-brand)}.esri-widget__table{border-collapse:collapse;color:var(--calcite-color-text-1);border:none;width:100%;line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget__table tr:nth-child(odd){background-color:var(--calcite-color-transparent)}.esri-widget__table tr:nth-child(2n){background-color:var(--calcite-color-transparent-press)}.esri-widget__table tr a{color:var(--calcite-color-text-2)}.esri-widget__table tr a:hover,.esri-widget__table tr a:focus{color:var(--calcite-color-text-1)}.esri-widget__table tr td,.esri-widget__table tr th{vertical-align:top;word-break:break-word;padding:.5em .7em;font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular)}.esri-widget__table tr th{text-align:left;border-right:3px solid #0000000d;width:50%}.esri-widget__table tr td{width:50%}.esri-input{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1);border:1px solid #959595;font-size:var(--calcite-font-size)}.esri-input::-ms-clear{display:none}.esri-input::placeholder{opacity:1;color:var(--calcite-color-text-2)}.esri-input:placeholder-shown{text-overflow:ellipsis}.esri-input[type=text],.esri-input[type=password],.esri-input[type=number]{height:32px;padding:0 .5em}calcite-combobox.esri-input{border:none}.esri-widget__content--empty{text-align:center;color:var(--calcite-color-border-input);flex-flow:column wrap;align-items:center;padding:18px 22px;display:flex}.esri-widget__content--empty h1.esri-widget__heading,.esri-widget__content--empty h2.esri-widget__heading,.esri-widget__content--empty h3.esri-widget__heading,.esri-widget__content--empty h4.esri-widget__heading,.esri-widget__content--empty h5.esri-widget__heading{font-weight:var(--calcite-font-weight-regular)}.esri-widget__content-illustration--empty{width:128px;padding:1rem 0}.esri-widget__content-icon--empty{width:32px;padding:.5rem 0}.esri-select{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background:var(--calcite-color-foreground-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -8 32 32' width='32' height='32'%3E%3Cpath d='M8 11.207l-4-4V5.793l4 4 4-4v1.414z' fill='%23adadad' fillrule='nonzero'/%3E%3C/svg%3E") 100% no-repeat;border:1px solid #959595;border-radius:0;width:100%;height:32px;margin:0;padding:0 .5em;font-family:inherit;font-size:.85em;display:block}.esri-select[disabled]{cursor:auto}.esri-select::-ms-expand{display:none}.esri-disabled a,.esri-disabled [role=menu],.esri-disabled [role=checkbox],.esri-disabled [class^=esri-icon-],.esri-disabled [class*=" esri-icon-"]{color:var(--calcite-color-text-3)}.keynav-mode .esri-widget:focus,.keynav-mode .esri-widget :focus{z-index:1;outline-offset:2px;outline:2px solid #adadad}.esri-widget__loader-animation{border:.15em solid #adadad4d;border-top-color:var(--calcite-color-border-input);border-radius:100%;width:1em;height:1em;font-size:var(--calcite-font-size-md);animation:1.25s linear infinite esri-rotate;display:block;transform:translateZ(0)}:dir(rtl) .esri-widget__table th{text-align:right;border-left:3px solid #0000000d;border-right:none}:dir(rtl) .esri-select{background-position:0}:dir(rtl) .esri-menu__list-item{border-left:none;border-right:3px solid #0000}:dir(rtl) .esri-menu__list-item [class^=esri-icon-],:dir(rtl) .esri-menu__list-item [class*=" esri-icon-"]{padding-left:2px;padding-right:0}:dir(rtl) .esri-menu__list-item--active{border-right-color:var(--calcite-color-brand)}.esri-icon-font-fallback-text{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.esri-rotating{animation:1.25s linear infinite esri-rotate;transform:translateZ(0)}.esri-clearfix:before,.esri-clearfix:after{content:" ";display:table}.esri-clearfix:after{clear:both}.esri-interactive{cursor:pointer}.esri-hidden{display:none!important}.esri-invisible{visibility:hidden!important}.esri-offscreen{position:absolute;top:-999em;left:-999em}.esri-match-height{flex-direction:column;flex:auto;display:flex;overflow:hidden}:host{min-width:300px}.esri-utility-network-trace{flex:auto;width:300px}.esri-utility-network-trace calcite-icon{box-sizing:initial}.esri-utility-network-trace calcite-tab{background-color:var(--calcite-color-foreground-2);padding-top:0;padding-bottom:0}.esri-utility-network-trace calcite-tab:not([selected]){flex:0}.esri-utility-network-trace.esri-component.esri-widget--panel{min-height:120px;width:300px}.esri-utility-network-trace__add-button-container{justify-content:center;margin:18px 0 var(--calcite-spacing-md);display:grid}.esri-utility-network-trace__block-container{margin-top:0;height:95%}.esri-utility-network-trace__block-content{border-bottom:none;margin:0}.esri-utility-network-trace__clear-results-block{position:absolute;bottom:0;left:0;margin:0;border-top:3px solid #6e6e6e26;background-color:#f3f3f3}.esri-utility-network-trace__divider{color:inherit;border-color:var(--calcite-color-border-input);border-bottom-style:solid;border-bottom-width:1px;flex:none;margin:0 0 var(--calcite-spacing-md)}.esri-utility-network-trace__double-pad-top{padding-top:10px}.esri-utility-network-trace__feature-content{height:300px}.esri-utility-network-trace__flow{height:100%}.esri-utility-network-trace__list-container{background-color:var(--calcite-color-foreground-1);padding:3px}.esri-utility-network-trace__notice-container{padding:var(--calcite-spacing-xs)}.esri-utility-network-trace__number-input{width:150px}.esri-utility-network-trace__pad-bottom{padding-bottom:5px}.esri-utility-network-trace__pad-top{padding-top:5px}.esri-utility-network-trace__reset-prompt{background-color:var(--calcite-color-background);color:var(--calcite-color-text-2);border-top:3px solid var(--calcite-color-border-input);flex-flow:column;max-height:85%;padding:var(--calcite-spacing-md) 15px;animation:.1s ease-in-out esri-fade-in-up;display:flex;position:absolute;bottom:0;left:0;right:0;box-shadow:0 1px 2px #0000004d}.esri-utility-network-trace__results-container{height:100%}.esri-utility-network-trace__tabs{min-height:250px;position:relative}`, c = s(r);
|
|
10
10
|
class d extends o {
|
|
11
11
|
constructor() {
|
|
12
|
-
super(...arguments), this.widget = c(this), this.viewModel = this.widget.viewModel, this.view = this.widget.view, this.autoDestroyDisabled = !1, this.defaultGraphicColor = this.widget.defaultGraphicColor, this.disabled = this.widget.disabled, this.enableResultArea = this.widget.enableResultArea, this.flags = this.widget.flags, this.icon = this.widget.icon, this.inputSettings = this.widget.inputSettings, this.label = this.widget.label, this.resultAreaProperties = this.widget.resultAreaProperties, this.selectOnCompleteDisabled = this.widget.selectOnComplete, this.selectedTraces = this.widget.selectedTraces, this.showGraphicsOnCompleteDisabled = this.widget.showGraphicsOnComplete, this.showSelectionAttributesDisabled = this.widget.showSelectionAttributes, this.state = this.viewModel.state, this.traceResults = this.widget.traceResults, this.arcgisAddFlag = e(() => this.widget, "add-flag"), this.arcgisAddFlagComplete = e(() => this.widget, "add-flag-complete"), this.arcgisAddFlagError = e(() => this.widget, "add-flag-error"), this.arcgisAddResultArea = e(() => this.widget, "add-result-area"), this.arcgisPropertyChange = i()("state"), this.arcgisReady = a(), this.arcgisRemoveResultArea = e(() => this.widget, "remove-result-area");
|
|
12
|
+
super(...arguments), this.widget = c(this), this.viewModel = this.widget.viewModel, this.view = this.widget.view, this.autoDestroyDisabled = !1, this.defaultGraphicColor = this.widget.defaultGraphicColor, this.disabled = this.widget.disabled, this.enableResultArea = this.widget.enableResultArea, this.flags = this.widget.flags, this.icon = this.widget.icon, this.inputSettings = this.widget.inputSettings, this.label = this.widget.label, this.resultAreaProperties = this.widget.resultAreaProperties, this.selectOnCompleteDisabled = this.widget.selectOnComplete, this.selectedTraces = this.widget.selectedTraces, this.showGraphicsOnCompleteDisabled = this.widget.showGraphicsOnComplete, this.showSelectionAttributesDisabled = this.widget.showSelectionAttributes, this.state = this.viewModel.state, this.traceResults = this.widget.traceResults, this.arcgisAddFlag = e(() => this.widget, "add-flag"), this.arcgisAddFlagComplete = e(() => this.widget, "add-flag-complete"), this.arcgisAddFlagError = e(() => this.widget, "add-flag-error"), this.arcgisAddResultArea = e(() => this.widget, "add-result-area"), this.arcgisPropertyChange = i()("state", "traceResults"), this.arcgisReady = a(), this.arcgisRemoveResultArea = e(() => this.widget, "remove-result-area");
|
|
13
13
|
}
|
|
14
14
|
static {
|
|
15
15
|
this.properties = { view: 0, autoDestroyDisabled: 5, defaultGraphicColor: 0, disabled: 7, enableResultArea: 5, flags: 0, icon: 1, inputSettings: 0, label: 1, referenceElement: 1, resultAreaProperties: 0, selectOnCompleteDisabled: 5, selectedTraces: 0, showGraphicsOnCompleteDisabled: 5, showSelectionAttributesDisabled: 5, state: 32, traceResults: 32 };
|
|
@@ -1,16 +1,74 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
2
|
import type Color from "@arcgis/core/Color.js";
|
|
3
|
-
import type Graphic from "@arcgis/core/Graphic";
|
|
4
|
-
import type
|
|
3
|
+
import type Graphic from "@arcgis/core/Graphic.js";
|
|
4
|
+
import type MapView from "@arcgis/core/views/MapView.js";
|
|
5
5
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
6
|
-
import type { ArcgisReferenceElement } from "
|
|
6
|
+
import type { ArcgisReferenceElement } from "../types.js";
|
|
7
7
|
import type { SelectStartPayload } from "../arcgis-utility-network-trace-location/customElement.js";
|
|
8
8
|
import type { ArcgisUtilityNetworkTraceResults } from "../arcgis-utility-network-trace-results/customElement.js";
|
|
9
9
|
import type { T9nMeta } from "@arcgis/lumina/controllers";
|
|
10
10
|
import type { UtilityNetworkTraceAnalysisState } from "@arcgis/core/networks/UtilityNetworkTraceAnalysis.js";
|
|
11
11
|
|
|
12
|
-
|
|
13
|
-
|
|
12
|
+
/**
|
|
13
|
+
* ## Overview
|
|
14
|
+
*
|
|
15
|
+
* The Utility Network Trace Analysis component allows users to run traces and view trace results in a utility network.
|
|
16
|
+
*
|
|
17
|
+
* - The component supports selecting a utility network and a named trace configuration in that utility network. Both the utility network and trace configuration must be [stored in the map](https://developers.arcgis.com/javascript/latest/references/core/WebMap/#utilityNetworks).
|
|
18
|
+
* - Trace locations (starting points and barriers) are set by selecting features on the view.
|
|
19
|
+
* - When a subnetwork-based trace is selected, the component displays the domain, tier, and target tier specified by the selected named trace configuration.
|
|
20
|
+
* - If the user selects a subnetwork trace with a specified subnetwork name, the component provides an option to choose a subnetwork name instead of starting location(s) to run the trace with.
|
|
21
|
+
*
|
|
22
|
+
* Supported trace types are: `connected`, `upstream`, `downstream`, `shortest-path`, `subnetwork`, `subnetwork-controller`, `loops`, and `isolation`.
|
|
23
|
+
*
|
|
24
|
+
* The component can display the following from a trace result: elements (as [features](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-utility-network-trace-analysis/#traceResultFeatures)), aggregated geometries, and function results.
|
|
25
|
+
* If the trace result includes elements that originate from a [feature layer](https://developers.arcgis.com/javascript/latest/references/core/layers/FeatureLayer/)
|
|
26
|
+
* that is not included in the map, the Results tab displays an `Unknown` layer with a count of those elements.
|
|
27
|
+
* The component's [traceResultFeatures](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-utility-network-trace-analysis/#traceResultFeatures) property also does not include these elements.
|
|
28
|
+
*
|
|
29
|
+
* > [!WARNING]
|
|
30
|
+
* >
|
|
31
|
+
* > The Utility Network Trace Analysis component does not support proxied feature services or feature services that utilize stored credentials.
|
|
32
|
+
* >
|
|
33
|
+
* > This component also does not support `path` and `circuit` trace types or the `paths` and `circuits` result types.
|
|
34
|
+
*
|
|
35
|
+
* ## Working with nonspatial objects
|
|
36
|
+
*
|
|
37
|
+
* The Utility Network Trace Analysis component supports selecting nonspatial objects as trace locations by traversing associations.
|
|
38
|
+
*
|
|
39
|
+
* When selecting a trace location or viewing a trace result feature, information about the feature is displayed according to the
|
|
40
|
+
* [PopupTemplate](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/) of the layer that the feature belongs to.
|
|
41
|
+
* If the feature's layer has no PopupTemplate, a default template is used to display the feature's attributes.
|
|
42
|
+
*
|
|
43
|
+
* To select a nonspatial object as a trace location, first select a spatial feature on the map that is associated with the target nonspatial object.
|
|
44
|
+
* The spatial feature's layer must have a PopupTemplate that includes a [UtilityNetworkAssociationsContent](https://developers.arcgis.com/javascript/latest/references/core/popup/content/UtilityNetworkAssociationsContent/).
|
|
45
|
+
* Navigate through the spatial feature's associations to the target nonspatial object, then add the object as a trace location.
|
|
46
|
+
*
|
|
47
|
+
* ## Examples
|
|
48
|
+
*
|
|
49
|
+
* This component can be used slotted into an [arcgis-map](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/):
|
|
50
|
+
*
|
|
51
|
+
* ```html
|
|
52
|
+
* <arcgis-map item-id="471eb0bf37074b1fbb972b1da70fb310">
|
|
53
|
+
* <arcgis-utility-network-trace-analysis slot="bottom-left"></arcgis-utility-network-trace-analysis>
|
|
54
|
+
* </arcgis-map>
|
|
55
|
+
* ```
|
|
56
|
+
*
|
|
57
|
+
* Alternatively, this component can be used outside of a map by providing a [referenceElement](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-utility-network-trace-analysis/#referenceElement):
|
|
58
|
+
*
|
|
59
|
+
* ```html
|
|
60
|
+
* <calcite-shell>
|
|
61
|
+
* <calcite-shell-panel slot="panel-start" position="start" width-scale="l">
|
|
62
|
+
* <arcgis-utility-network-trace-analysis reference-element="#map-element"></arcgis-utility-network-trace-analysis>
|
|
63
|
+
* </calcite-shell-panel>
|
|
64
|
+
* <arcgis-map id="map-element" item-id="471eb0bf37074b1fbb972b1da70fb310"></arcgis-map>
|
|
65
|
+
* </calcite-shell>
|
|
66
|
+
* ```
|
|
67
|
+
*
|
|
68
|
+
* Note: Sign in to access the data in this demo, U/P: `viewer01`/`I68VGU^nMurF`
|
|
69
|
+
*
|
|
70
|
+
* @since 5.0
|
|
71
|
+
*/
|
|
14
72
|
export abstract class ArcgisUtilityNetworkTraceAnalysis extends LitElement {
|
|
15
73
|
/** @internal */
|
|
16
74
|
protected _messages: {
|
|
@@ -70,15 +128,15 @@ export abstract class ArcgisUtilityNetworkTraceAnalysis extends LitElement {
|
|
|
70
128
|
}>;
|
|
71
129
|
/**
|
|
72
130
|
* The color used to render graphics for aggregated geometries in trace results, specified as a
|
|
73
|
-
* [Color](https://developers.arcgis.com/javascript/latest/
|
|
131
|
+
* [Color](https://developers.arcgis.com/javascript/latest/references/core/Color/) object.
|
|
132
|
+
*
|
|
74
133
|
* Aggregated geometry is only rendered if the trace configuration specifies aggregated geometry as a result type.
|
|
134
|
+
*
|
|
75
135
|
* Default color is #FFFF00.
|
|
76
136
|
*
|
|
77
|
-
* @see [Color constructor](https://developers.arcgis.com/javascript/latest/
|
|
137
|
+
* @see [Color constructor](https://developers.arcgis.com/javascript/latest/references/core/Color/#constructors-summary)
|
|
78
138
|
*/
|
|
79
139
|
accessor aggregatedGeometryGraphicsColor: Color;
|
|
80
|
-
/** @default false */
|
|
81
|
-
accessor allowEditingDisabled: boolean;
|
|
82
140
|
/**
|
|
83
141
|
* If true, the component will not be destroyed automatically when it is
|
|
84
142
|
* disconnected from the document. This is useful when you want to move the
|
|
@@ -92,7 +150,7 @@ export abstract class ArcgisUtilityNetworkTraceAnalysis extends LitElement {
|
|
|
92
150
|
/**
|
|
93
151
|
* A function to run before trace location selection starts.
|
|
94
152
|
*
|
|
95
|
-
* @
|
|
153
|
+
* @internal
|
|
96
154
|
* @example
|
|
97
155
|
* ```js
|
|
98
156
|
* const traceElement = document.querySelector("arcgis-utility-network-trace-analysis");
|
|
@@ -100,11 +158,10 @@ export abstract class ArcgisUtilityNetworkTraceAnalysis extends LitElement {
|
|
|
100
158
|
* ```
|
|
101
159
|
*/
|
|
102
160
|
accessor beforeTraceLocationSelectStart: (() => Promise<void>) | undefined;
|
|
103
|
-
/** @default false */
|
|
104
|
-
accessor closable: boolean;
|
|
105
161
|
/**
|
|
106
162
|
* Whether to disable highlighting trace result features on the map.
|
|
107
|
-
*
|
|
163
|
+
*
|
|
164
|
+
* If true, the features returned by a trace will not be highlighted on the map.
|
|
108
165
|
*
|
|
109
166
|
* @default false
|
|
110
167
|
* @example
|
|
@@ -116,8 +173,18 @@ export abstract class ArcgisUtilityNetworkTraceAnalysis extends LitElement {
|
|
|
116
173
|
* ```
|
|
117
174
|
*/
|
|
118
175
|
accessor disableHighlightFeatureResults: boolean;
|
|
176
|
+
/**
|
|
177
|
+
* Indicates whether to hide the action bar that holds the feature's
|
|
178
|
+
* [actions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features/#actions)
|
|
179
|
+
* when selecting trace locations and viewing trace result features.
|
|
180
|
+
*
|
|
181
|
+
* @default false
|
|
182
|
+
* @internal
|
|
183
|
+
*/
|
|
184
|
+
accessor hideActionBar: boolean;
|
|
119
185
|
/**
|
|
120
186
|
* Whether to hide feature results in the results tab.
|
|
187
|
+
*
|
|
121
188
|
* If true, when features are returned by a trace, they will not be visible in the results tab.
|
|
122
189
|
* A message will be displayed in its place indicating that features were returned by the trace, but are not visible in the results pane.
|
|
123
190
|
* This string can be overridden with the `messageOverrides` property.
|
|
@@ -138,7 +205,7 @@ export abstract class ArcgisUtilityNetworkTraceAnalysis extends LitElement {
|
|
|
138
205
|
* ```
|
|
139
206
|
*/
|
|
140
207
|
accessor hideFeatureResults: boolean;
|
|
141
|
-
|
|
208
|
+
/** The component's default label. */
|
|
142
209
|
accessor label: string | undefined;
|
|
143
210
|
/**
|
|
144
211
|
* Replace localized message strings with your own strings.
|
|
@@ -173,34 +240,35 @@ export abstract class ArcgisUtilityNetworkTraceAnalysis extends LitElement {
|
|
|
173
240
|
resultsTab?: string | undefined;
|
|
174
241
|
} | undefined;
|
|
175
242
|
};
|
|
176
|
-
accessor mode: string | undefined;
|
|
177
243
|
/**
|
|
178
244
|
* 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.
|
|
179
245
|
*
|
|
180
246
|
* @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)
|
|
181
247
|
*/
|
|
182
248
|
accessor referenceElement: ArcgisReferenceElement | string | undefined;
|
|
249
|
+
/** The current state of the component. */
|
|
250
|
+
get state(): UtilityNetworkTraceAnalysisState;
|
|
183
251
|
/**
|
|
184
|
-
*
|
|
252
|
+
* An array of features returned by the trace result.
|
|
185
253
|
*
|
|
186
|
-
*
|
|
254
|
+
* This array is populated if the trace returned [element](https://developers.arcgis.com/javascript/latest/references/core/rest/networks/support/TraceResult/#elements) results.
|
|
255
|
+
*
|
|
256
|
+
* When [@arcgisTraceResultFeaturesReady](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-utility-network-trace-analysis/#event-arcgisTraceResultFeaturesReady) is raised, trace result features are available.
|
|
257
|
+
* When a new trace has been run, or the trace results are cleared, this array is cleared.
|
|
187
258
|
*/
|
|
188
|
-
get state(): UtilityNetworkTraceAnalysisState;
|
|
189
259
|
get traceResultFeatures(): Graphic[];
|
|
190
260
|
/**
|
|
191
|
-
*
|
|
192
|
-
*
|
|
193
|
-
* @since 5.0
|
|
261
|
+
* The view associated with the component.
|
|
262
|
+
* > **Note:** The recommended approach is to fully migrate applications to use map and scene components and avoid using MapView and SceneView directly. However, if you are migrating a large application from widgets to components, you might prefer a more gradual transition. To support this use case, the SDK includes this `view` property which connects a component to a MapView or SceneView. Ultimately, once migration is complete, the arcgis-utility-network-trace-analysis component will be associated with a map or scene component rather than using the `view` property.
|
|
194
263
|
*/
|
|
195
|
-
accessor view:
|
|
264
|
+
accessor view: MapView | null | undefined;
|
|
196
265
|
/** Permanently destroy the component. */
|
|
197
266
|
destroy(): Promise<void>;
|
|
198
267
|
/**
|
|
199
268
|
* Fires when the user toggles displaying aggregated geometry results in the result pane.
|
|
200
269
|
* Event payload contains a boolean representing whether the aggregated geometry graphics are hidden.
|
|
201
|
-
* If true, the
|
|
270
|
+
* If true, the aggregated geometry graphics are hidden on the view.
|
|
202
271
|
*
|
|
203
|
-
* @experimental
|
|
204
272
|
* @example
|
|
205
273
|
* ```js
|
|
206
274
|
* const traceElement = document.querySelector("arcgis-utility-network-trace-analysis");
|
|
@@ -216,7 +284,7 @@ export abstract class ArcgisUtilityNetworkTraceAnalysis extends LitElement {
|
|
|
216
284
|
/**
|
|
217
285
|
* Fires when the user completes the selection of a trace location.
|
|
218
286
|
*
|
|
219
|
-
* @
|
|
287
|
+
* @internal
|
|
220
288
|
* @example
|
|
221
289
|
* ```js
|
|
222
290
|
* const traceElement = document.querySelector("arcgis-utility-network-trace-analysis");
|
|
@@ -231,7 +299,7 @@ export abstract class ArcgisUtilityNetworkTraceAnalysis extends LitElement {
|
|
|
231
299
|
* Event payload contains a callback method `cancelSelect` to cancel a selection in progress.
|
|
232
300
|
* The event can also be prevented with `event.preventDefault()` to stop the selection.
|
|
233
301
|
*
|
|
234
|
-
* @
|
|
302
|
+
* @internal
|
|
235
303
|
* @example
|
|
236
304
|
* ```js
|
|
237
305
|
* const traceElement = document.querySelector("arcgis-utility-network-trace-analysis");
|
|
@@ -256,7 +324,6 @@ export abstract class ArcgisUtilityNetworkTraceAnalysis extends LitElement {
|
|
|
256
324
|
/**
|
|
257
325
|
* Fires when the trace result is cleared from the results tab.
|
|
258
326
|
*
|
|
259
|
-
* @experimental
|
|
260
327
|
* @example
|
|
261
328
|
* ```js
|
|
262
329
|
* const traceElement = document.querySelector("arcgis-utility-network-trace-analysis");
|
|
@@ -268,9 +335,8 @@ export abstract class ArcgisUtilityNetworkTraceAnalysis extends LitElement {
|
|
|
268
335
|
readonly arcgisTraceResultClear: import("@arcgis/lumina").TargetedEvent<this, void>;
|
|
269
336
|
/**
|
|
270
337
|
* Fires when the trace result features are ready.
|
|
271
|
-
* Check property
|
|
338
|
+
* Check property [traceResultFeatures](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-utility-network-trace-analysis/#traceResultFeatures) for the trace result features.
|
|
272
339
|
*
|
|
273
|
-
* @experimental
|
|
274
340
|
* @example
|
|
275
341
|
* ```js
|
|
276
342
|
* const traceElement = document.querySelector("arcgis-utility-network-trace-analysis");
|