@arcgis/map-components 5.1.0-next.5 → 5.1.0-next.50
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/{JTFZMNCO.js → 2CHYBLOC.js} +1 -1
- package/dist/cdn/2G3HODZY.js +2 -0
- package/dist/cdn/2H4TOIDN.js +2 -0
- package/dist/cdn/{27HOTQNB.js → 2RITORYK.js} +1 -1
- package/dist/cdn/{FQJMTGXO.js → 2SQ2T6UO.js} +1 -1
- package/dist/cdn/{GYTQDFSL.js → 2VAAAVLC.js} +1 -1
- package/dist/cdn/{THXN5VZY.js → 3BSS4OJF.js} +1 -1
- package/dist/cdn/{KYOYYCFY.js → 3D475OQN.js} +1 -1
- package/dist/cdn/3GY55TR6.js +2 -0
- package/dist/cdn/{INS77MCT.js → 3JMJAUSY.js} +1 -1
- package/dist/cdn/3KOWS73L.js +2 -0
- package/dist/cdn/3KZ42JDF.js +2 -0
- package/dist/cdn/3L2UM4VM.js +2 -0
- package/dist/cdn/{SPACZLHW.js → 3MQK2MOH.js} +1 -1
- package/dist/cdn/3SDSU2FD.js +2 -0
- package/dist/cdn/442445AM.js +2 -0
- package/dist/cdn/47EM5634.js +2 -0
- package/dist/cdn/4BF7JJHX.js +2 -0
- package/dist/cdn/4EJULFOT.js +2 -0
- package/dist/cdn/4J5MWUWB.js +2 -0
- package/dist/cdn/4Q6KP7JZ.js +2 -0
- package/dist/cdn/{62WRVJ3U.js → 4XLVCJ6P.js} +1 -1
- package/dist/cdn/53A4TVFJ.js +2 -0
- package/dist/cdn/55IJQTCC.js +2 -0
- package/dist/cdn/5CJ44XUV.js +2 -0
- package/dist/cdn/{YA6FUJR2.js → 5DCBCU6G.js} +1 -1
- package/dist/cdn/5E64VGZ5.js +2 -0
- package/dist/cdn/{AFU3S7KW.js → 5EGS3PEJ.js} +1 -1
- package/dist/cdn/5HJXFPDL.js +2 -0
- package/dist/cdn/{3OE7JG5I.js → 5VOKWJYK.js} +1 -1
- package/dist/cdn/{7IBXOWTT.js → 63G7LUIG.js} +1 -1
- package/dist/cdn/63VDVNOO.js +2 -0
- package/dist/cdn/64RBSCIU.js +2 -0
- package/dist/cdn/6CMVUTDU.js +2 -0
- package/dist/cdn/{B6T4CWYF.js → 6D7YTBW3.js} +1 -1
- package/dist/cdn/{5V7HEV2R.js → 6DE54WXK.js} +1 -1
- package/dist/cdn/6K7HT6IF.js +2 -0
- package/dist/cdn/{OKXZJQ2B.js → 6ORHT4GS.js} +1 -1
- package/dist/cdn/6OUYTR22.js +2 -0
- package/dist/cdn/{QLPUP6A3.js → 6XPVHLWQ.js} +1 -1
- package/dist/cdn/6ZLSCYL5.js +2 -0
- package/dist/cdn/73W64JNK.js +2 -0
- package/dist/cdn/{XOP2SCW3.js → 77HK7ZGB.js} +1 -1
- package/dist/cdn/{NWK2WHZF.js → 7DOI3267.js} +1 -1
- package/dist/cdn/7JGUTIGF.js +2 -0
- package/dist/cdn/{5UDFTH5U.js → 7KPBI4XT.js} +1 -1
- package/dist/cdn/{W2A4ONZA.js → 7LBICZSN.js} +1 -1
- package/dist/cdn/{TTR6UUEQ.js → 7P2RN5VN.js} +1 -1
- package/dist/cdn/{XEYK67J5.js → 7RAC6JLJ.js} +1 -1
- package/dist/cdn/{HOYFIMNJ.js → 7WYC3QVX.js} +1 -1
- package/dist/cdn/A2QPYUE5.js +2 -0
- package/dist/cdn/AE3QS3U2.js +2 -0
- package/dist/cdn/{GKW3DDEQ.js → AE6R5TA3.js} +1 -1
- package/dist/cdn/AHYA2UI7.js +2 -0
- package/dist/cdn/AJVS7BWH.js +2 -0
- package/dist/cdn/AK5ROHZH.js +2 -0
- package/dist/cdn/AMDRLSC6.js +2 -0
- package/dist/cdn/ANBLWVAY.js +2 -0
- package/dist/cdn/{JTEJ2NHE.js → BBCKCE5B.js} +1 -1
- package/dist/cdn/BHOFCE2A.js +2 -0
- package/dist/cdn/{LSF66JVY.js → CK5FRYUH.js} +1 -1
- package/dist/cdn/{IFSGM32L.js → CTUMJNVV.js} +1 -1
- package/dist/cdn/{HY73HOSP.js → CXFTZC4P.js} +1 -1
- package/dist/cdn/DE5AA22M.js +2 -0
- package/dist/cdn/DEUTYZQD.js +2 -0
- package/dist/cdn/{LVSNYSCO.js → DL5FSQTT.js} +1 -1
- package/dist/cdn/DQH27QCF.js +2 -0
- package/dist/cdn/DQJMLG55.js +2 -0
- package/dist/cdn/DRJGVD7E.js +2 -0
- package/dist/cdn/{4YQLL44L.js → DXG3NX4D.js} +1 -1
- package/dist/cdn/DYI5GSBP.js +2 -0
- package/dist/cdn/{5PJEJPFY.js → EDKX67YT.js} +1 -1
- package/dist/cdn/EHZW6UXL.js +2 -0
- package/dist/cdn/EJ3K6UKQ.js +2 -0
- package/dist/cdn/EU2LDM45.js +2 -0
- package/dist/cdn/{CMWIMRU2.js → F2MDJ3QQ.js} +1 -1
- package/dist/cdn/{ENDLVIST.js → F4WUHSSA.js} +1 -1
- package/dist/cdn/FIG6WRQB.js +2 -0
- package/dist/cdn/FL3CDOKT.js +2 -0
- package/dist/cdn/FWXI6DGS.js +2 -0
- package/dist/cdn/FZUR5QCD.js +2 -0
- package/dist/cdn/G2QS2EES.js +2 -0
- package/dist/cdn/{GLV3FW3Z.js → GIQWOYCO.js} +1 -1
- package/dist/cdn/GLFXKTJG.js +2 -0
- package/dist/cdn/{RN44YUJM.js → GTL2XK2G.js} +1 -1
- package/dist/cdn/GV445FXS.js +2 -0
- package/dist/cdn/{H5UJFKXO.js → GZ7R6ON7.js} +1 -1
- package/dist/cdn/{6XJFSJGE.js → H35H7V4U.js} +1 -1
- package/dist/cdn/H3W4AVNX.js +2 -0
- package/dist/cdn/{JFDN4YD7.js → H5TVMXUR.js} +1 -1
- package/dist/cdn/HBJXWV7A.js +2 -0
- package/dist/cdn/HIHI4JJ3.js +2 -0
- package/dist/cdn/HJDWKPKG.js +2 -0
- package/dist/cdn/HRPEPALP.js +2 -0
- package/dist/cdn/I3ZAURHF.js +2 -0
- package/dist/cdn/{CQ4QHVEL.js → I5CLFGA4.js} +1 -1
- package/dist/cdn/{FYYKRDW3.js → I7FUAEVX.js} +1 -1
- package/dist/cdn/I7NY2VAH.js +2 -0
- package/dist/cdn/IUL5Z7VB.js +2 -0
- package/dist/cdn/IXP3RVNX.js +2 -0
- package/dist/cdn/{D4BT63BV.js → J2UAHEHR.js} +1 -1
- package/dist/cdn/{4IC3NWKK.js → J5DZU2LD.js} +1 -1
- package/dist/cdn/{TVTQW6GC.js → J6UG5EF7.js} +1 -1
- package/dist/cdn/{33U3K3P2.js → JNUEXFDM.js} +1 -1
- package/dist/cdn/JO2YQJCG.js +2 -0
- package/dist/cdn/{SKGRUNAJ.js → JS63ZT7D.js} +1 -1
- package/dist/cdn/{D6VUTTEH.js → JSTCLI7D.js} +1 -1
- package/dist/cdn/JVFREF7G.js +4 -0
- package/dist/cdn/KMFIAOC5.js +2 -0
- package/dist/cdn/KOLU46FC.js +2 -0
- package/dist/cdn/KQE4KBPO.js +2 -0
- package/dist/cdn/{6RDB26PI.js → KXHRLYKD.js} +1 -1
- package/dist/cdn/{GHFKQEFW.js → L4P6QUAJ.js} +1 -1
- package/dist/cdn/LCWJCL4W.js +2 -0
- package/dist/cdn/LF3ACEGB.js +2 -0
- package/dist/cdn/{HXPCADLA.js → LMRDVTIM.js} +1 -1
- package/dist/cdn/LYUX5DD5.js +2 -0
- package/dist/cdn/MDRC374Z.js +4 -0
- package/dist/cdn/{AJBY2TVM.js → MFITF23R.js} +1 -1
- package/dist/cdn/MN6VPZBF.js +2 -0
- package/dist/cdn/{ZATCJZP2.js → MPXHOG6M.js} +1 -1
- package/dist/cdn/MSYERWRZ.js +2 -0
- package/dist/cdn/{IIPYTUR3.js → N6P3CYCE.js} +1 -1
- package/dist/cdn/{BSRIYDMN.js → NDK2KLBE.js} +1 -1
- package/dist/cdn/NRDGJWVQ.js +2 -0
- package/dist/cdn/O5TDDX7K.js +2 -0
- package/dist/cdn/OCGWSO54.js +2 -0
- 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/OKKVTQV5.js +2 -0
- package/dist/cdn/{ZYMCKBTT.js → ORZL7AJK.js} +1 -1
- package/dist/cdn/{MQ6HO6LA.js → OSSSLPDH.js} +1 -1
- package/dist/cdn/OSYS3QIX.js +2 -0
- package/dist/cdn/OWIJFPEZ.js +2 -0
- package/dist/cdn/OY3SJG2A.js +2 -0
- package/dist/cdn/P2ABZVPJ.js +2 -0
- package/dist/cdn/P4KEOVAP.js +2 -0
- package/dist/cdn/{7357JBTM.js → PESOHUKZ.js} +1 -1
- package/dist/cdn/{DUT3D6UH.js → PIRNCGNB.js} +1 -1
- package/dist/cdn/PZRX6DU7.js +2 -0
- package/dist/cdn/{X26CF5AU.js → Q33VTX4M.js} +1 -1
- package/dist/cdn/QFXQQ57I.js +2 -0
- package/dist/cdn/QUXKTXGS.js +2 -0
- package/dist/cdn/{7ZAVSDBZ.js → QZFSCUU6.js} +1 -1
- package/dist/cdn/{JBJ5NQTI.js → RBTA7SDX.js} +1 -1
- package/dist/cdn/RERHZ7N6.js +2 -0
- package/dist/cdn/RH62B2NE.js +2 -0
- package/dist/cdn/RO4TU5R3.js +2 -0
- package/dist/cdn/RRK4SIGU.js +2 -0
- package/dist/cdn/{5CYQI4SX.js → RRTCHX7D.js} +1 -1
- package/dist/cdn/{34V5UMTY.js → RT4LIRRF.js} +1 -1
- package/dist/cdn/{KBY7C6QM.js → RT7W2L3G.js} +1 -1
- package/dist/cdn/RWKDHERX.js +2 -0
- package/dist/cdn/{4PWBNKOA.js → RZCSCSZX.js} +1 -1
- package/dist/cdn/S32MGHWV.js +2 -0
- package/dist/cdn/S4I3X6AX.js +2 -0
- package/dist/cdn/S676CANE.js +2 -0
- package/dist/cdn/SHA36V36.js +2 -0
- package/dist/cdn/SI3YNLBT.js +2 -0
- package/dist/cdn/{DU2TFEP3.js → SUCLDKGU.js} +2 -2
- package/dist/cdn/SUWCCBWL.js +2 -0
- package/dist/cdn/{WAASVZRG.js → SVM4RWA7.js} +1 -1
- package/dist/cdn/{24PK3ZLX.js → SVVJHTPA.js} +1 -1
- package/dist/cdn/{RISVXUI4.js → T3IOQA35.js} +1 -1
- package/dist/cdn/TBWM3VXL.js +2 -0
- package/dist/cdn/TCFMT5ET.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/{HK6EWWUB.js → TPLNBIOY.js} +1 -1
- package/dist/cdn/TRD7HG5P.js +2 -0
- package/dist/cdn/TVLLHHUA.js +2 -0
- package/dist/cdn/{TCG6VGIB.js → UCJK3GTY.js} +1 -1
- package/dist/cdn/UDSVK25W.js +2 -0
- package/dist/cdn/UFMWUZE3.js +2 -0
- package/dist/cdn/URMIFMUJ.js +2 -0
- package/dist/cdn/V46EJSBT.js +2 -0
- package/dist/cdn/VCLHE53D.js +2 -0
- package/dist/cdn/VDXT7AXJ.js +2 -0
- package/dist/cdn/VEYOGGAN.js +2 -0
- package/dist/cdn/VG6AAARR.js +2 -0
- package/dist/cdn/VLRZCW6D.js +2 -0
- package/dist/cdn/{BQMLNDT6.js → VQLAZAPA.js} +1 -1
- package/dist/cdn/W73LTDPZ.js +2 -0
- package/dist/cdn/WDAYQZKY.js +2 -0
- package/dist/cdn/WH7FEIAX.js +2 -0
- package/dist/cdn/{JLK664TB.js → WR3AVKYZ.js} +1 -1
- package/dist/cdn/{4363SIKC.js → WUWAJE6E.js} +1 -1
- package/dist/cdn/XEXCDGSR.js +2 -0
- package/dist/cdn/{L5EGJLC4.js → XKP5ITQT.js} +1 -1
- package/dist/cdn/XPZYTUFI.js +2 -0
- package/dist/cdn/{ATRTNMMR.js → Y2SCBPL7.js} +1 -1
- package/dist/cdn/{P4PTEXIJ.js → YIIQACF6.js} +1 -1
- package/dist/cdn/YSJ2M36J.js +2 -0
- package/dist/cdn/YXUK3MCB.js +2 -0
- package/dist/cdn/Z2WO7B65.js +2 -0
- package/dist/cdn/Z5NISON6.js +2 -0
- package/dist/cdn/ZBPKNJD3.js +2 -0
- package/dist/cdn/ZD4Y4HRX.js +2 -0
- package/dist/cdn/{BUE7MOVD.js → ZOCF3BGK.js} +1 -1
- package/dist/cdn/ZYCOEJDE.js +2 -0
- package/dist/cdn/assets/fonts/CalciteWebCoreIcons.woff2 +0 -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 +2 -2
- package/dist/chunks/component-utils.js +85 -72
- package/dist/chunks/esri-main.js +1 -1
- package/dist/chunks/feature-utils.js +73 -73
- package/dist/chunks/heading.js +2 -2
- package/dist/chunks/layer-utils.js +38 -12
- 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 +120 -73
- 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/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 +23 -22
- package/dist/components/arcgis-feature-form/customElement.d.ts +32 -14
- package/dist/components/arcgis-feature-form/customElement.js +2 -2
- package/dist/components/arcgis-feature-image/customElement.d.ts +5 -5
- package/dist/components/arcgis-feature-media/customElement.js +1 -1
- package/dist/components/arcgis-feature-relationship/customElement.js +13 -13
- 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-legacy/customElement.d.ts +126 -0
- 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 +34 -40
- package/dist/components/arcgis-features/customElement.d.ts +70 -70
- package/dist/components/arcgis-features/customElement.js +74 -79
- 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-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 +59 -54
- 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 +14 -2
- package/dist/components/arcgis-reverse-geocode-list/customElement.js +38 -41
- 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 +78 -33
- package/dist/components/arcgis-sketch/customElement.js +31 -19
- 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 +115 -80
- 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 +116 -73
- package/dist/components/arcgis-utility-network-trace-location/customElement.d.ts +17 -5
- package/dist/components/arcgis-utility-network-trace-location/customElement.js +214 -209
- 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 +113 -92
- 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 +13 -35
- package/dist/loader.js +35 -35
- package/dist/types/lumina.d.ts +32 -54
- package/dist/types/preact.d.ts +33 -59
- package/dist/types/react.d.ts +34 -64
- package/dist/types/stencil.d.ts +32 -54
- 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/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/5NUK7GUG.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/7ZCMIKP6.js +0 -2
- package/dist/cdn/AVVMBZTY.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/BMR2YFEM.js +0 -2
- package/dist/cdn/C2PSJPHR.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/DJYDBSLW.js +0 -2
- package/dist/cdn/DLFGSUYT.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/EYW7YQF6.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/GLNRLEZE.js +0 -2
- package/dist/cdn/GQN4ALIE.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/I6DTC6TX.js +0 -2
- package/dist/cdn/ILPNFQWH.js +0 -2
- package/dist/cdn/J7ZNOOZ4.js +0 -2
- package/dist/cdn/JCV26SSG.js +0 -2
- package/dist/cdn/JDZWJLJX.js +0 -2
- package/dist/cdn/JLIZWDU5.js +0 -2
- package/dist/cdn/JMHCIJG4.js +0 -2
- package/dist/cdn/KE3XRRXO.js +0 -2
- package/dist/cdn/KECAR2NZ.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/KS2LPB5B.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/NJJEL5BK.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/RTSTVBQI.js +0 -2
- package/dist/cdn/RXFUZXUX.js +0 -2
- package/dist/cdn/S52VES4H.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/UTH3SGAS.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/XGJPCRX3.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/YSDQ5VNK.js +0 -2
- package/dist/cdn/Z3OV6UKM.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/cdn/ZPEH2TRN.js +0 -2
- 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-item/index.d.ts +0 -1
- 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/customElement.d.ts +0 -215
- package/dist/components/arcgis-feature-templates/index.d.ts +0 -1
- 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/action-utils.d.ts +0 -3
- 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-locate/{LocateViewModel.d.ts → types.d.ts} +0 -0
- /package/dist/components/arcgis-weather/{WeatherViewModel.d.ts → types.d.ts} +0 -0
|
@@ -1,285 +1,290 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
-
import { c as
|
|
3
|
-
import { css as
|
|
4
|
-
import * as
|
|
5
|
-
import * as
|
|
6
|
-
import * as
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import { LitElement as A, createEvent as
|
|
13
|
-
import { log as
|
|
14
|
-
import { u as
|
|
15
|
-
|
|
16
|
-
|
|
2
|
+
import { c as k } from "../../chunks/runtime.js";
|
|
3
|
+
import { css as _, html as f } from "lit";
|
|
4
|
+
import * as x from "@arcgis/core/geometry/operators/cutOperator.js";
|
|
5
|
+
import * as y from "@arcgis/core/geometry/operators/lengthOperator.js";
|
|
6
|
+
import * as m from "@arcgis/core/geometry/operators/projectOperator.js";
|
|
7
|
+
import C from "@arcgis/core/geometry/Polyline.js";
|
|
8
|
+
import I from "@arcgis/core/geometry/SpatialReference.js";
|
|
9
|
+
import F from "@arcgis/core/Graphic.js";
|
|
10
|
+
import b from "@arcgis/core/rest/networks/support/TraceLocation.js";
|
|
11
|
+
import w from "@arcgis/core/symbols/SimpleMarkerSymbol.js";
|
|
12
|
+
import { LitElement as A, createEvent as T } from "@arcgis/lumina";
|
|
13
|
+
import { log as u, composeMissingPropertyMessage as g } from "@arcgis/toolkit/log";
|
|
14
|
+
import { u as G } from "../../chunks/useT9n.js";
|
|
15
|
+
import { d as S, i as v } from "../../chunks/layer-utils.js";
|
|
16
|
+
const P = _`calcite-block{--calcite-block-content-space: 0;--calcite-block-border-color: transparent;margin:0}.add-location-button{--calcite-button-border-color: var(--calcite-color-border-1);--calcite-button-icon-color: var(--calcite-color-text-1);--calcite-button-text-color: var(--calcite-color-text-1)}.button-container{justify-content:center;display:grid}.clear-button{--calcite-button-border-color: transparent}`;
|
|
17
|
+
class N extends A {
|
|
17
18
|
constructor() {
|
|
18
|
-
super(...arguments), this.messages =
|
|
19
|
+
super(...arguments), this.messages = G({ blocking: !0 }), this.isSelectWaiting = !1, this.traceLocationType = "starting-point", this.spatialTolerance = 0.05, this.autoDestroyDisabled = !1, this.arcgisTraceLocationChange = T(), this.arcgisTraceLocationSelectEnd = T(), this.arcgisTraceLocationSelectStart = T();
|
|
19
20
|
}
|
|
20
21
|
static {
|
|
21
|
-
this.properties = { isSelectWaiting: 16, beforeTraceLocationSelectStart: 0, afterHitTest: 0, view: 0, traceLocationType: 1, traceLocations: 0, filterLayers: 0, sketchViewModel: 0,
|
|
22
|
+
this.properties = { isSelectWaiting: 16, beforeTraceLocationSelectStart: 0, afterHitTest: 0, view: 0, traceLocationType: 1, traceLocations: 0, filterLayers: 0, sketchViewModel: 0, spatialTolerance: 9, autoDestroyDisabled: 5, utilityNetwork: 0 };
|
|
22
23
|
}
|
|
23
24
|
static {
|
|
24
|
-
this.styles =
|
|
25
|
+
this.styles = P;
|
|
26
|
+
}
|
|
27
|
+
async destroy() {
|
|
28
|
+
this._resetCursor(), await this.manager.destroy();
|
|
25
29
|
}
|
|
26
30
|
async load() {
|
|
27
|
-
|
|
31
|
+
m.isLoaded() || await m.load();
|
|
28
32
|
}
|
|
29
|
-
_createPolyline(
|
|
30
|
-
return new
|
|
33
|
+
_createPolyline(t, e) {
|
|
34
|
+
return new C({
|
|
31
35
|
hasZ: !1,
|
|
32
36
|
hasM: !0,
|
|
33
|
-
paths:
|
|
34
|
-
spatialReference: new
|
|
37
|
+
paths: t,
|
|
38
|
+
spatialReference: new I({ wkid: e })
|
|
35
39
|
});
|
|
36
40
|
}
|
|
37
|
-
_calculatePercentAlong(
|
|
38
|
-
const r =
|
|
41
|
+
_calculatePercentAlong(t, e) {
|
|
42
|
+
const r = t.spatialReference, s = this._createPolyline(t.paths, r.wkid), o = e.x - 0.5, i = e.x + 0.5, c = e.y - 0.5, a = e.y + 0.5, n = [
|
|
39
43
|
[
|
|
40
|
-
[
|
|
41
|
-
[
|
|
44
|
+
[o, c],
|
|
45
|
+
[i, a]
|
|
42
46
|
]
|
|
43
|
-
],
|
|
44
|
-
if (!
|
|
45
|
-
return
|
|
46
|
-
const
|
|
47
|
-
if (
|
|
48
|
-
const
|
|
49
|
-
let
|
|
50
|
-
return
|
|
47
|
+
], l = this._createPolyline(n, e.spatialReference.wkid), p = m.execute(l, r);
|
|
48
|
+
if (!p)
|
|
49
|
+
return u("error", this, "Unable to project flag geometry to source geometry spatial reference."), 0.5;
|
|
50
|
+
const d = x.execute(s, p);
|
|
51
|
+
if (d.length > 0) {
|
|
52
|
+
const L = y.execute(s, { unit: "feet" });
|
|
53
|
+
let h;
|
|
54
|
+
return d[0].paths[0][0][0] === s.paths[0][0][0] ? h = y.execute(d[0], { unit: "feet" }) : d.length > 1 ? h = y.execute(d[1], { unit: "feet" }) : h = 0, h / L;
|
|
51
55
|
}
|
|
52
|
-
return
|
|
56
|
+
return u("warn", this, "Unable to cut the source geometry with the flag geometry."), 0.5;
|
|
53
57
|
}
|
|
54
|
-
|
|
55
|
-
const t =
|
|
56
|
-
|
|
57
|
-
return e;
|
|
58
|
-
const h = t.createQuery();
|
|
59
|
-
return h.objectIds = [i], (await t.queryFeatures(h))?.features[0] || null;
|
|
58
|
+
get _edgeSourceLayerIds() {
|
|
59
|
+
const t = this.utilityNetwork?.dataElement?.domainNetworks;
|
|
60
|
+
return t ? t.flatMap((e) => e.edgeSources).map((e) => e.layerId).filter(Boolean) : [];
|
|
60
61
|
}
|
|
61
|
-
async
|
|
62
|
-
const { view:
|
|
63
|
-
if (!
|
|
64
|
-
|
|
62
|
+
async _handleAddButtonClick() {
|
|
63
|
+
const { view: t, sketchViewModel: e } = this;
|
|
64
|
+
if (!(t && e)) {
|
|
65
|
+
u("error", this, "Cannot add trace location."), e || u("error", this, g("sketchViewModel")), t || u("error", this, g("view"));
|
|
65
66
|
return;
|
|
66
67
|
}
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
68
|
+
if (this.beforeTraceLocationSelectStart) {
|
|
69
|
+
this.isSelectWaiting = !0;
|
|
70
|
+
try {
|
|
71
|
+
await this.beforeTraceLocationSelectStart();
|
|
72
|
+
} finally {
|
|
73
|
+
this.isSelectWaiting = !1;
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
this.arcgisTraceLocationSelectStart.emit({ cancelSelect: () => e.cancel() }).defaultPrevented || await this._startSketch(t, e);
|
|
77
|
+
}
|
|
78
|
+
async _startSketch(t, e) {
|
|
79
|
+
this._clickHandler?.remove(), this._clickHandler = e.on("create", (r) => this._handleSketchComplete(r, t, e)), "acquireCursor" in t && t.acquireCursor("crosshair"), this.sketchViewModel?.create("point");
|
|
80
|
+
}
|
|
81
|
+
_handleSketchComplete(t, e, r) {
|
|
82
|
+
if (t.state === "complete" && t.graphic) {
|
|
83
|
+
r.layer.remove(t.graphic), this._performHitTest(t, e, r);
|
|
84
|
+
return;
|
|
85
|
+
}
|
|
86
|
+
t.state === "cancel" && (this._resetCursor(), this.arcgisTraceLocationSelectEnd.emit());
|
|
87
|
+
}
|
|
88
|
+
async _performHitTest(t, e, r) {
|
|
89
|
+
const { utilityNetwork: s } = this;
|
|
71
90
|
if (!s) {
|
|
72
|
-
|
|
91
|
+
u("error", this, g("utilityNetwork")), this._resetCursor(), this.arcgisTraceLocationSelectEnd.emit();
|
|
73
92
|
return;
|
|
74
93
|
}
|
|
75
|
-
const o =
|
|
76
|
-
if (!
|
|
77
|
-
|
|
94
|
+
const o = t.graphic?.geometry, i = e.toScreen(o);
|
|
95
|
+
if (!i) {
|
|
96
|
+
u("warn", this, "No screen point available for hit test."), this._startSketch(e, r);
|
|
78
97
|
return;
|
|
79
98
|
}
|
|
80
|
-
await
|
|
99
|
+
const a = (await e.hitTest(i, {
|
|
100
|
+
include: this.filterLayers
|
|
101
|
+
})).results.filter((n) => n.type === "graphic" && n?.layer && n.graphic);
|
|
102
|
+
if (a.length === 0) {
|
|
103
|
+
u("info", this, "No usable hit test results found."), this._startSketch(e, r);
|
|
104
|
+
return;
|
|
105
|
+
}
|
|
106
|
+
this._resetCursor(), await this._processHitTestResults(a, o, e), this.arcgisTraceLocationSelectEnd.emit();
|
|
81
107
|
}
|
|
82
|
-
|
|
83
|
-
const {
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
color: t,
|
|
90
|
-
width: 2
|
|
91
|
-
}
|
|
92
|
-
}) : e === "barrier" ? new b({
|
|
93
|
-
color: t,
|
|
94
|
-
style: "square",
|
|
95
|
-
size: 12,
|
|
96
|
-
outline: {
|
|
97
|
-
color: t,
|
|
98
|
-
width: 0
|
|
99
|
-
}
|
|
100
|
-
}) : new b({
|
|
101
|
-
color: r,
|
|
102
|
-
style: "circle",
|
|
103
|
-
size: 12,
|
|
104
|
-
outline: {
|
|
105
|
-
color: r,
|
|
106
|
-
width: 0
|
|
107
|
-
}
|
|
108
|
-
});
|
|
108
|
+
_resetCursor() {
|
|
109
|
+
const { view: t } = this;
|
|
110
|
+
if (!t) {
|
|
111
|
+
u("error", this, g("view"));
|
|
112
|
+
return;
|
|
113
|
+
}
|
|
114
|
+
this._clickHandler?.remove(), this._clickHandler = void 0, "acquireCursor" in t && t.acquireCursor("default");
|
|
109
115
|
}
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
return
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
116
|
+
async _processHitTestResults(t, e, r) {
|
|
117
|
+
if (t.length === 0) {
|
|
118
|
+
u("error", this, "There are no hit test results to process.");
|
|
119
|
+
return;
|
|
120
|
+
}
|
|
121
|
+
const s = t[0], o = t.map((a) => {
|
|
122
|
+
const n = a, l = n.graphic;
|
|
123
|
+
return l.origin = n.layer, l.sourceLayer = n.layer, l;
|
|
124
|
+
}), i = this.afterHitTest ? await this.afterHitTest(o).catch(() => (
|
|
125
|
+
// if the callback is rejected treat it as a cancellation of the selection process, and do not add a trace location
|
|
126
|
+
null
|
|
127
|
+
)) : s.graphic;
|
|
128
|
+
if (!i) {
|
|
129
|
+
u("error", this, "No graphic available from hit test results."), this.arcgisTraceLocationSelectEnd.emit();
|
|
130
|
+
return;
|
|
131
|
+
}
|
|
132
|
+
const c = await this._ensureNecessaryAttributes(i);
|
|
133
|
+
if (!c) {
|
|
134
|
+
u("error", this, "Unable to ensure necessary attributes on the selected graphic."), this.arcgisTraceLocationSelectEnd.emit();
|
|
135
|
+
return;
|
|
136
|
+
}
|
|
137
|
+
await this._generateTraceLocation(c, e, r);
|
|
138
|
+
}
|
|
139
|
+
async _ensureNecessaryAttributes(t) {
|
|
140
|
+
const e = (S(t.layer), t.layer), r = e.fieldsIndex?.get("assetgroup") ?? !1, s = e.fieldsIndex?.get("assetgroup")?.name ?? "assetgroup", o = e.fieldsIndex?.get("assettype") ?? !1, i = e.fieldsIndex?.get("assettype")?.name ?? "assettype", c = t.getGlobalId(), a = t.getObjectId(), n = r ? !!t.getAttribute(s) : !0, l = o ? !!t.getAttribute(i) : !0;
|
|
141
|
+
if (c && a && n && l)
|
|
142
|
+
return t;
|
|
143
|
+
const p = e.createQuery();
|
|
144
|
+
return p.objectIds = [a], (await e.queryFeatures(p))?.features[0] || null;
|
|
123
145
|
}
|
|
124
|
-
async
|
|
125
|
-
const {
|
|
126
|
-
|
|
146
|
+
async _generateTraceLocation(t, e, r) {
|
|
147
|
+
const { traceLocations: s } = this, o = t.getGlobalId() ?? "", i = t.geometry?.type, c = await this._generateFlagInfo(t, e);
|
|
148
|
+
if (!c) {
|
|
149
|
+
u("error", this, "Unable to generate flag info for trace location.");
|
|
150
|
+
return;
|
|
151
|
+
}
|
|
152
|
+
const a = s?.filter((l) => l.spatialProperties.mapGraphic?.getGlobalId() === o) ?? [];
|
|
153
|
+
if (a.length > 0) {
|
|
154
|
+
if (i !== "polyline") {
|
|
155
|
+
u("warn", this, "A flag with the same globalId already exists.");
|
|
156
|
+
return;
|
|
157
|
+
} else if (a.some((l) => Math.abs(l.traceLocation.percentAlong - c.traceLocation.percentAlong) <= this.spatialTolerance)) {
|
|
158
|
+
u("warn", this, "A flag with the same globalId already exists within tolerance.");
|
|
159
|
+
return;
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
const n = this._addFlagGraphic(t, e, r);
|
|
163
|
+
if (!n) {
|
|
164
|
+
u("warn", this, "Unable to add flag graphic.");
|
|
165
|
+
return;
|
|
166
|
+
}
|
|
167
|
+
c.spatialProperties.flagGraphic = n, s?.add(c);
|
|
127
168
|
}
|
|
128
|
-
async _generateFlagInfo(
|
|
129
|
-
const { traceLocationType: r, utilityNetwork:
|
|
130
|
-
if (
|
|
131
|
-
const
|
|
169
|
+
async _generateFlagInfo(t, e) {
|
|
170
|
+
const { traceLocationType: r, utilityNetwork: s } = this, o = t.getGlobalId() ?? "", i = t.geometry?.type, c = await this._generateItemTitle(t);
|
|
171
|
+
if (i === "point" || i === "polygon") {
|
|
172
|
+
const a = s?.getTerminalConfiguration(t), n = a ? a.terminals[0].id : 1;
|
|
132
173
|
return {
|
|
133
|
-
traceLocation: new
|
|
174
|
+
traceLocation: new b({
|
|
134
175
|
type: r,
|
|
135
176
|
isFilterBarrier: !1,
|
|
136
|
-
globalId:
|
|
137
|
-
terminalId:
|
|
177
|
+
globalId: o,
|
|
178
|
+
terminalId: n
|
|
138
179
|
}),
|
|
139
180
|
flagProperties: {
|
|
140
|
-
title:
|
|
181
|
+
title: c,
|
|
141
182
|
expanded: !1,
|
|
142
|
-
terminalConfiguration:
|
|
143
|
-
selectedTerminals:
|
|
183
|
+
terminalConfiguration: a ?? void 0,
|
|
184
|
+
selectedTerminals: a ? /* @__PURE__ */ new Set([n]) : void 0
|
|
144
185
|
},
|
|
145
186
|
spatialProperties: {
|
|
146
|
-
mapPoint:
|
|
147
|
-
mapGraphic:
|
|
187
|
+
mapPoint: e,
|
|
188
|
+
mapGraphic: t
|
|
148
189
|
}
|
|
149
190
|
};
|
|
150
|
-
} else if (
|
|
151
|
-
const
|
|
191
|
+
} else if (i === "polyline") {
|
|
192
|
+
const a = this._calculatePercentAlong(t.geometry, e);
|
|
152
193
|
return {
|
|
153
|
-
traceLocation: new
|
|
194
|
+
traceLocation: new b({
|
|
154
195
|
type: r,
|
|
155
196
|
isFilterBarrier: !1,
|
|
156
|
-
globalId:
|
|
157
|
-
percentAlong:
|
|
197
|
+
globalId: o,
|
|
198
|
+
percentAlong: a
|
|
158
199
|
}),
|
|
159
200
|
flagProperties: {
|
|
160
|
-
title:
|
|
201
|
+
title: c,
|
|
161
202
|
expanded: !1
|
|
162
203
|
},
|
|
163
204
|
spatialProperties: {
|
|
164
|
-
mapPoint:
|
|
165
|
-
mapGraphic:
|
|
205
|
+
mapPoint: e,
|
|
206
|
+
mapGraphic: t
|
|
166
207
|
}
|
|
167
208
|
};
|
|
168
|
-
} else if (!
|
|
169
|
-
const
|
|
209
|
+
} else if (!i) {
|
|
210
|
+
const a = v(t.layer) ? t.layer.parent : t.layer, n = a && this._edgeSourceLayerIds.includes(a.layerId), l = s?.getTerminalConfiguration(t), p = l ? l.terminals[0].id : n ? -1 : 1, d = n ? 0.5 : -1;
|
|
170
211
|
return {
|
|
171
|
-
traceLocation: new
|
|
212
|
+
traceLocation: new b({
|
|
172
213
|
type: r,
|
|
173
214
|
isFilterBarrier: !1,
|
|
174
|
-
globalId:
|
|
175
|
-
terminalId:
|
|
215
|
+
globalId: o,
|
|
216
|
+
terminalId: p,
|
|
217
|
+
percentAlong: d
|
|
176
218
|
}),
|
|
177
219
|
flagProperties: {
|
|
178
|
-
title:
|
|
220
|
+
title: c,
|
|
179
221
|
expanded: !1,
|
|
180
|
-
terminalConfiguration:
|
|
181
|
-
selectedTerminals:
|
|
222
|
+
terminalConfiguration: l ?? void 0,
|
|
223
|
+
selectedTerminals: l ? /* @__PURE__ */ new Set([p]) : void 0
|
|
182
224
|
},
|
|
183
225
|
spatialProperties: {
|
|
184
|
-
mapPoint:
|
|
226
|
+
mapPoint: e,
|
|
227
|
+
mapGraphic: t
|
|
185
228
|
}
|
|
186
229
|
};
|
|
187
230
|
}
|
|
188
231
|
return null;
|
|
189
232
|
}
|
|
190
|
-
async
|
|
191
|
-
const {
|
|
192
|
-
|
|
193
|
-
l("error", this, "Unable to generate flag info for trace location.");
|
|
194
|
-
return;
|
|
195
|
-
}
|
|
196
|
-
const o = r?.filter((i) => i.spatialProperties.mapGraphic?.getGlobalId() === a) ?? [];
|
|
197
|
-
if (o.length === 0 || n === "polyline") {
|
|
198
|
-
if (n === "polyline" && o.length > 0 && o.some((c) => Math.abs(c.traceLocation.percentAlong - s.traceLocation.percentAlong) <= this.spatialTolerance)) {
|
|
199
|
-
l("warn", this, "A flag with the same globalId already exists within tolerance.");
|
|
200
|
-
return;
|
|
201
|
-
}
|
|
202
|
-
const i = this._addFlagGraphic(a, e, t);
|
|
203
|
-
if (!i) {
|
|
204
|
-
l("warn", this, "Unable to add flag graphic.");
|
|
205
|
-
return;
|
|
206
|
-
}
|
|
207
|
-
s.spatialProperties.flagGraphic = i, r?.add(s);
|
|
208
|
-
return;
|
|
209
|
-
}
|
|
210
|
-
l("warn", this, "A flag with the same globalId already exists.");
|
|
211
|
-
}
|
|
212
|
-
async _hitTest(e) {
|
|
213
|
-
const { view: t, utilityNetwork: r } = this;
|
|
214
|
-
if (!t || !r) {
|
|
215
|
-
l("error", this, "Either `utilityNetwork` or `view` is unavailable for hit test.");
|
|
216
|
-
return;
|
|
217
|
-
}
|
|
218
|
-
const a = e.graphic?.geometry, n = this.view?.toScreen(a);
|
|
219
|
-
if (!n) {
|
|
220
|
-
l("warn", this, "No screen point available for hit test.");
|
|
221
|
-
return;
|
|
222
|
-
}
|
|
223
|
-
const o = (await t.hitTest(n, {
|
|
224
|
-
include: this.filterLayers
|
|
225
|
-
})).results.filter((i) => i.type === "graphic" && i?.layer && i.graphic);
|
|
226
|
-
if (o.length === 0) {
|
|
227
|
-
l("info", this, "No usable hit test results found.");
|
|
228
|
-
return;
|
|
229
|
-
}
|
|
230
|
-
await this._ensureNecessaryAttributesAndGenerateTraceLocation(o, a), this._resetAfterSketch(!0);
|
|
231
|
-
}
|
|
232
|
-
_resetAfterSketch(e = !1) {
|
|
233
|
-
const { view: t } = this;
|
|
234
|
-
if (!t) {
|
|
235
|
-
l("error", this, "View is not available to reset after sketch.");
|
|
236
|
-
return;
|
|
237
|
-
}
|
|
238
|
-
this._clickHandler?.remove(), this._clickHandler = void 0, "acquireCursor" in t && t.acquireCursor("default"), e && this.arcgisTraceLocationSelectEnd.emit();
|
|
233
|
+
async _generateItemTitle(t) {
|
|
234
|
+
const { messages: e } = this, r = (S(t.layer), t.layer);
|
|
235
|
+
return ("getFeatureTitle" in r ? await r.getFeatureTitle(t) : null) || t?.getObjectId()?.toString() || e.labels.unknown;
|
|
239
236
|
}
|
|
240
|
-
|
|
241
|
-
const
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
}
|
|
246
|
-
|
|
247
|
-
t.layer.remove(e.graphic), this._hitTest(e), this._resetAfterSketch();
|
|
248
|
-
return;
|
|
249
|
-
}
|
|
250
|
-
e.state === "cancel" && this._resetAfterSketch(!0);
|
|
237
|
+
_addFlagGraphic(t, e, r) {
|
|
238
|
+
const s = t.geometry?.type === "point" ? t.geometry : e, o = this._createFlagSymbol(), i = new F({
|
|
239
|
+
geometry: s,
|
|
240
|
+
symbol: o,
|
|
241
|
+
attributes: t.attributes
|
|
242
|
+
});
|
|
243
|
+
return r.graphics.add(i), i;
|
|
251
244
|
}
|
|
252
|
-
|
|
253
|
-
const {
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
await this.beforeTraceLocationSelectStart();
|
|
262
|
-
} finally {
|
|
263
|
-
this.isSelectWaiting = !1;
|
|
245
|
+
_createFlagSymbol() {
|
|
246
|
+
const { traceLocationType: t } = this, e = [244, 21, 21, 0.6], r = [21, 244, 21, 0.6];
|
|
247
|
+
return t === "stopping-point" ? new w({
|
|
248
|
+
color: e,
|
|
249
|
+
style: "x",
|
|
250
|
+
size: 12,
|
|
251
|
+
outline: {
|
|
252
|
+
color: e,
|
|
253
|
+
width: 2
|
|
264
254
|
}
|
|
265
|
-
}
|
|
266
|
-
|
|
255
|
+
}) : t === "barrier" ? new w({
|
|
256
|
+
color: e,
|
|
257
|
+
style: "square",
|
|
258
|
+
size: 12,
|
|
259
|
+
outline: {
|
|
260
|
+
color: e,
|
|
261
|
+
width: 0
|
|
262
|
+
}
|
|
263
|
+
}) : new w({
|
|
264
|
+
color: r,
|
|
265
|
+
style: "circle",
|
|
266
|
+
size: 12,
|
|
267
|
+
outline: {
|
|
268
|
+
color: r,
|
|
269
|
+
width: 0
|
|
270
|
+
}
|
|
271
|
+
});
|
|
267
272
|
}
|
|
268
273
|
_handleClearButtonClick() {
|
|
269
|
-
const {
|
|
270
|
-
|
|
271
|
-
r.spatialProperties.flagGraphic &&
|
|
272
|
-
}),
|
|
274
|
+
const { view: t, traceLocations: e } = this;
|
|
275
|
+
e?.forEach((r) => {
|
|
276
|
+
r.spatialProperties.flagGraphic && t && t.graphics.remove(r.spatialProperties.flagGraphic);
|
|
277
|
+
}), e?.removeAll();
|
|
273
278
|
}
|
|
274
279
|
renderAddLocationBlock() {
|
|
275
|
-
const { traceLocationType:
|
|
276
|
-
return f`<calcite-block .heading=${
|
|
280
|
+
const { traceLocationType: t, messages: e, traceLocations: r, view: s } = this, o = t === "starting-point" ? e.types.startingPoint : t === "barrier" ? e.types.barrier : e.types.stoppingPoint, i = o.heading, c = o.description, a = o.buttonText;
|
|
281
|
+
return f`<calcite-block .heading=${i} .label=${i} expanded .description=${c}>${r?.length ? f`<calcite-button class="clear-button" slot=actions-end appearance=transparent .label=${e.buttons.clear} @click=${() => this._handleClearButtonClick()}>${e.buttons.clear}</calcite-button>` : null}<arcgis-utility-network-trace-location-list .traceLocations=${r} .traceLocationType=${t} .view=${s}></arcgis-utility-network-trace-location-list><div class="button-container"><calcite-button .loading=${this.isSelectWaiting} class="add-location-button" icon-start=select appearance=outline .label=${a} @click=${() => this._handleAddButtonClick()}>${a}</calcite-button></div></calcite-block>`;
|
|
277
282
|
}
|
|
278
283
|
render() {
|
|
279
284
|
return f`<div class="root">${this.renderAddLocationBlock()}</div>`;
|
|
280
285
|
}
|
|
281
286
|
}
|
|
282
|
-
|
|
287
|
+
k("arcgis-utility-network-trace-location", N);
|
|
283
288
|
export {
|
|
284
|
-
|
|
289
|
+
N as ArcgisUtilityNetworkTraceLocation
|
|
285
290
|
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
2
|
import type Collection from "@arcgis/core/core/Collection.js";
|
|
3
|
+
import type MapView from "@arcgis/core/views/MapView.js";
|
|
3
4
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
4
5
|
import type { FlagInfo, TraceLocationType } from "../arcgis-utility-network-trace-location/customElement.js";
|
|
5
6
|
import type { T9nMeta } from "@arcgis/lumina/controllers";
|
|
@@ -35,4 +36,6 @@ export abstract class ArcgisUtilityNetworkTraceLocationList extends LitElement {
|
|
|
35
36
|
accessor traceLocations: Collection<FlagInfo>;
|
|
36
37
|
/** @default "starting-point" */
|
|
37
38
|
accessor traceLocationType: TraceLocationType;
|
|
39
|
+
/** @required */
|
|
40
|
+
accessor view: MapView | undefined;
|
|
38
41
|
}
|
|
@@ -4,22 +4,22 @@ import { css as h, html as n } from "lit";
|
|
|
4
4
|
import u from "@arcgis/core/core/Collection.js";
|
|
5
5
|
import { substitute as g } from "@arcgis/core/intl.js";
|
|
6
6
|
import { LitElement as b } from "@arcgis/lumina";
|
|
7
|
-
import { u as
|
|
8
|
-
import { log as s, composeEmptyPropertyMessage as
|
|
9
|
-
const
|
|
10
|
-
class
|
|
7
|
+
import { u as v } from "../../chunks/useT9n.js";
|
|
8
|
+
import { log as s, composeEmptyPropertyMessage as f } from "@arcgis/toolkit/log";
|
|
9
|
+
const w = h`:host{margin-block-start:0;padding:0 var(--calcite-spacing-sm) var(--calcite-spacing-sm) var(--calcite-spacing-sm);background-color:var(--calcite-color-foreground-1)}calcite-list{border:solid 1px var(--calcite-color-border-3);border-radius:var(--calcite-corner-radius-sm);overflow:hidden}calcite-list-item [slot=content-bottom]{background-color:transparent;display:none}calcite-list-item[expanded] [slot=content-bottom]{display:unset}.warning{color:var(--calcite-color-status-danger)}.terminals{padding-block:var(--calcite-spacing-sm);padding-inline-start:var(--calcite-spacing-xl);padding-inline-end:var(--calcite-spacing-sm);display:flex;flex-direction:column}.filter-barrier-container{display:flex;width:100%;calcite-label{width:100%}}.filter-barrier{display:flex;justify-content:space-between;align-items:center;width:100%}`;
|
|
10
|
+
class y extends b {
|
|
11
11
|
constructor() {
|
|
12
|
-
super(...arguments), this._messages =
|
|
12
|
+
super(...arguments), this._messages = v({ blocking: !0 }), this.traceLocations = new u(), this.traceLocationType = "starting-point";
|
|
13
13
|
}
|
|
14
14
|
static {
|
|
15
|
-
this.properties = { traceLocations: 0, traceLocationType: 1 };
|
|
15
|
+
this.properties = { traceLocations: 0, traceLocationType: 1, view: 0 };
|
|
16
16
|
}
|
|
17
17
|
static {
|
|
18
|
-
this.styles =
|
|
18
|
+
this.styles = w;
|
|
19
19
|
}
|
|
20
20
|
_handleTraceLocationItemRemoved(e) {
|
|
21
|
-
const
|
|
22
|
-
e.spatialProperties.flagGraphic &&
|
|
21
|
+
const { traceLocations: i, view: t } = this;
|
|
22
|
+
e.spatialProperties.flagGraphic && t && t.graphics.remove(e.spatialProperties.flagGraphic), i?.remove(e);
|
|
23
23
|
}
|
|
24
24
|
_renderTerminal(e, i) {
|
|
25
25
|
const { flagProperties: t } = e, { selectedTerminals: r } = t;
|
|
@@ -59,10 +59,10 @@ class $ extends b {
|
|
|
59
59
|
}
|
|
60
60
|
render() {
|
|
61
61
|
const { _messages: e, traceLocationType: i } = this, t = g(e.labels.list, { traceLocationType: i }), r = this.traceLocations?.map((c) => this._renderListItem(c)).toArray() ?? [];
|
|
62
|
-
return r.length === 0 ? (s("warn", this,
|
|
62
|
+
return r.length === 0 ? (s("warn", this, f("traceLocations")), null) : n`<div><calcite-list interaction-mode=static selection-mode=none .label=${t}>${r}</calcite-list></div>`;
|
|
63
63
|
}
|
|
64
64
|
}
|
|
65
|
-
p("arcgis-utility-network-trace-location-list",
|
|
65
|
+
p("arcgis-utility-network-trace-location-list", y);
|
|
66
66
|
export {
|
|
67
|
-
|
|
67
|
+
y as ArcgisUtilityNetworkTraceLocationList
|
|
68
68
|
};
|
|
@@ -7,9 +7,9 @@ import type Layer from "@arcgis/core/layers/Layer.js";
|
|
|
7
7
|
import type SubtypeSublayer from "@arcgis/core/layers/support/SubtypeSublayer.js";
|
|
8
8
|
import type UtilityNetwork from "@arcgis/core/networks/UtilityNetwork.js";
|
|
9
9
|
import type TraceResult from "@arcgis/core/rest/networks/support/TraceResult.js";
|
|
10
|
-
import type MapView from "@arcgis/core/views/MapView";
|
|
10
|
+
import type MapView from "@arcgis/core/views/MapView.js";
|
|
11
11
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
12
|
-
import type { ArcgisReferenceElement } from "
|
|
12
|
+
import type { ArcgisReferenceElement } from "../types.js";
|
|
13
13
|
import type { T9nMeta } from "@arcgis/lumina/controllers";
|
|
14
14
|
|
|
15
15
|
/**
|
|
@@ -87,7 +87,22 @@ export abstract class ArcgisUtilityNetworkTraceResults extends LitElement {
|
|
|
87
87
|
unknown: string;
|
|
88
88
|
}>;
|
|
89
89
|
accessor aggregatedGeometryGraphicsColor: Color;
|
|
90
|
+
/**
|
|
91
|
+
* If true, the component will not be destroyed automatically when it is
|
|
92
|
+
* disconnected from the document. This is useful when you want to move the
|
|
93
|
+
* component to a different place on the page, or temporarily hide it. If this
|
|
94
|
+
* is set, make sure to call the [destroy()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-utility-network-trace-results/#destroy) method when you are done to
|
|
95
|
+
* prevent memory leaks.
|
|
96
|
+
*
|
|
97
|
+
* @default false
|
|
98
|
+
*/
|
|
99
|
+
accessor autoDestroyDisabled: boolean;
|
|
90
100
|
get featuresFromSelectedLayer(): Graphic[];
|
|
101
|
+
/**
|
|
102
|
+
* @default false
|
|
103
|
+
* @internal
|
|
104
|
+
*/
|
|
105
|
+
accessor hideActionBar: boolean;
|
|
91
106
|
/** @default false */
|
|
92
107
|
accessor hideFeatureResults: boolean;
|
|
93
108
|
/** @default false */
|
|
@@ -125,6 +140,7 @@ export abstract class ArcgisUtilityNetworkTraceResults extends LitElement {
|
|
|
125
140
|
traceFailedHeading?: string | undefined;
|
|
126
141
|
unknown?: string | undefined;
|
|
127
142
|
};
|
|
143
|
+
get numResults(): number;
|
|
128
144
|
/**
|
|
129
145
|
* 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.
|
|
130
146
|
*
|
|
@@ -141,6 +157,9 @@ export abstract class ArcgisUtilityNetworkTraceResults extends LitElement {
|
|
|
141
157
|
accessor traceResultFeatures: Graphic[];
|
|
142
158
|
accessor utilityNetwork: UtilityNetwork | undefined;
|
|
143
159
|
accessor view: MapView | undefined;
|
|
160
|
+
clearAggregatedGeometryGraphics(): void;
|
|
161
|
+
/** Permanently destroy the component. */
|
|
162
|
+
destroy(): Promise<void>;
|
|
144
163
|
readonly arcgisAggregatedGeometryGraphicsColorChange: import("@arcgis/lumina").TargetedEvent<this, string>;
|
|
145
164
|
readonly arcgisHideGraphicsChange: import("@arcgis/lumina").TargetedEvent<this, boolean>;
|
|
146
165
|
readonly arcgisSelectedLayerChange: import("@arcgis/lumina").TargetedEvent<this, void>;
|
|
@@ -155,8 +174,10 @@ export abstract class ArcgisUtilityNetworkTraceResults extends LitElement {
|
|
|
155
174
|
};
|
|
156
175
|
}
|
|
157
176
|
|
|
177
|
+
/** @internal */
|
|
158
178
|
export type State = "loading" | "ready";
|
|
159
179
|
|
|
180
|
+
/** @internal */
|
|
160
181
|
export interface TraceErrorDetails {
|
|
161
182
|
url?: string;
|
|
162
183
|
raw?: {
|