@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,39 +1,48 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
-
import { c as
|
|
3
|
-
import { repeat as
|
|
2
|
+
import { c as _ } from "../../chunks/runtime.js";
|
|
3
|
+
import { repeat as k } from "lit/directives/repeat.js";
|
|
4
|
+
import { ref as d } from "lit/directives/ref.js";
|
|
4
5
|
import { queryAllJSON as g } from "@arcgis/core/applications/Components/featureUtils.js";
|
|
5
6
|
import c from "@arcgis/core/core/Collection.js";
|
|
6
|
-
import {
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
7
|
+
import { watch as S } from "@arcgis/core/core/reactiveUtils.js";
|
|
8
|
+
import { substitute as T } from "@arcgis/core/intl.js";
|
|
9
|
+
import C from "@arcgis/core/layers/GraphicsLayer.js";
|
|
10
|
+
import L from "@arcgis/core/networks/support/UNTraceConfiguration.js";
|
|
11
|
+
import N from "@arcgis/core/rest/networks/support/TraceLocation.js";
|
|
10
12
|
import m from "@arcgis/core/rest/support/FeatureSet.js";
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import { LitElement as
|
|
14
|
-
import { usePropertyChange as
|
|
15
|
-
import { log as
|
|
16
|
-
import { css as
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
class B extends L {
|
|
13
|
+
import f from "@arcgis/core/views/interactive/snapping/FeatureSnappingLayerSource.js";
|
|
14
|
+
import $ from "@arcgis/core/widgets/Sketch/SketchViewModel.js";
|
|
15
|
+
import { LitElement as v, createEvent as l } from "@arcgis/lumina";
|
|
16
|
+
import { usePropertyChange as E } from "@arcgis/lumina/controllers";
|
|
17
|
+
import { log as h, composeMissingPropertyMessage as P, composeEmptyPropertyMessage as F } from "@arcgis/toolkit/log";
|
|
18
|
+
import { css as I, html as s } from "lit";
|
|
19
|
+
import { u as U } from "../../chunks/useT9n.js";
|
|
20
|
+
import { h as w } from "../../chunks/feature-utils.js";
|
|
21
|
+
import { c as A, b as y, a as b, i as D } from "../../chunks/layer-utils.js";
|
|
22
|
+
const M = I`:host{height:100%;flex-grow:1}calcite-flow{min-height:var(--arcgis-internal-panel-height-sm, 240px)}calcite-block-group{flex-grow:1;padding-bottom:var(--calcite-spacing-md);background-color:var(--calcite-color-foreground-1)}calcite-block{--calcite-block-content-space: 0;--calcite-block-border-color: transparent;margin:0}calcite-block calcite-select,calcite-block calcite-input{margin:0 var(--calcite-spacing-md)}calcite-block calcite-input-message{padding:var(--calcite-spacing-sm) var(--calcite-spacing-md) 0 var(--calcite-spacing-md)}calcite-block calcite-label:last-child{--calcite-label-margin-bottom: 0}calcite-notice{margin:var(--calcite-spacing-md)}#subnetwork-info-block{margin:var(--calcite-spacing-md) var(--calcite-spacing-md) 0 var(--calcite-spacing-md)}#results-limited-message{padding:var(--calcite-spacing-sm)}.inline-loader{--calcite-loader-spacing: var(--calcite-spacing-md)}.add-spatial-mode{display:flex;flex-direction:column;gap:var(--calcite-spacing-md);margin:var(--calcite-spacing-md)}.heading{color:var(--calcite-color-text-1);margin:0 0 var(--calcite-spacing-md) 0;font-size:var(--calcite-font-size);font-style:normal;font-weight:var(--calcite-font-weight-medium)}`, u = `utility-network-trace-inputs-sketch-${Date.now()}`, B = 20;
|
|
23
|
+
class x extends v {
|
|
23
24
|
constructor() {
|
|
24
|
-
super(...arguments), this._messages =
|
|
25
|
+
super(...arguments), this._defaultPopupTemplateEnabled = !0, this._messages = U({ blocking: !0 }), this._layerIdToLayer = /* @__PURE__ */ new Map(), this._startingPoints = new c(), this._barriers = new c(), this._stoppingPoints = new c(), this._subnetworkTraceTypes = /* @__PURE__ */ new Set([
|
|
25
26
|
"subnetwork",
|
|
26
27
|
"subnetwork-controller",
|
|
27
28
|
"upstream",
|
|
28
29
|
"downstream",
|
|
29
30
|
"isolation"
|
|
30
|
-
]), this._removeDuplicateSubnetworkNames = (e, t, i) => t === 0 || e.getAttribute("SUBNETWORKNAME") !== i[t - 1].getAttribute("SUBNETWORKNAME"), this._hitTestPromise = null, this._featuresFromHitTest = [], this.
|
|
31
|
+
]), this._removeDuplicateSubnetworkNames = (e, t, i) => t === 0 || e.getAttribute("SUBNETWORKNAME") !== i[t - 1].getAttribute("SUBNETWORKNAME"), this._hitTestPromise = null, this._featuresFromHitTest = [], this._displayLimit = 20, this._traceLocationStartingRefChange = (e) => {
|
|
32
|
+
e && (this._traceLocationStartingElement = e);
|
|
33
|
+
}, this._traceLocationBarrierRefChange = (e) => {
|
|
34
|
+
e && (this._traceLocationBarrierElement = e);
|
|
35
|
+
}, this._traceLocationStoppingRefChange = (e) => {
|
|
36
|
+
e && (this._traceLocationStoppingElement = e);
|
|
37
|
+
}, this._featuresComponentRefChange = (e) => {
|
|
38
|
+
e && (this._featuresComponentElement = e);
|
|
39
|
+
}, this.compatibleSubnetworkNames = [], this.traceConfigurations = [], this._state = "ready", this._exceedDisplayLimit = !1, this.autoDestroyDisabled = !1, this.hideActionBar = !1, this.mode = "default", this.arcgisPropertyChange = E()("mode"), this.arcgisSelectedNamedTraceConfigurationChange = l(), this.arcgisTraceInputsChange = l(), this.arcgisTraceLocationSelectEnd = l(), this.arcgisTraceLocationSelectStart = l(), this.arcgisUtilityNetworkChange = l(), this.renderFeatureListItem = (e) => {
|
|
31
40
|
const { feature: t, label: i } = e;
|
|
32
41
|
return s`<calcite-list-item .label=${i} @calciteListItemSelect=${() => this._handleFeatureSelectChange(t)}><calcite-icon icon=chevron-right slot=content-end></calcite-icon></calcite-list-item>`;
|
|
33
42
|
};
|
|
34
43
|
}
|
|
35
44
|
static {
|
|
36
|
-
this.properties = { compatibleSubnetworkNames: 16, subnetworksTable: 16, traceConfigurations: 16, utilityNetworks: 16, _unTraceConfiguration: 16, _state: 16, _activeTraceLocationType: 16, _selectedFeature: 16, _exceedDisplayLimit: 16, beforeTraceLocationSelectStart: 0, view: 0, selectedUtilityNetwork: 0, selectedNamedTraceConfiguration: 0, unTraceConfiguration: 32, referenceElement: 1, mode:
|
|
45
|
+
this.properties = { compatibleSubnetworkNames: 16, subnetworksTable: 16, traceConfigurations: 16, utilityNetworks: 16, _unTraceConfiguration: 16, _state: 16, _activeTraceLocationType: 16, _selectedFeature: 16, _exceedDisplayLimit: 16, beforeTraceLocationSelectStart: 0, view: 0, selectedUtilityNetwork: 0, selectedNamedTraceConfiguration: 0, autoDestroyDisabled: 5, hideActionBar: 5, unTraceConfiguration: 32, referenceElement: 1, mode: 3, traceLocations: 32 };
|
|
37
46
|
}
|
|
38
47
|
static {
|
|
39
48
|
this.styles = M;
|
|
@@ -52,13 +61,24 @@ class B extends L {
|
|
|
52
61
|
const { view: e } = this;
|
|
53
62
|
return e?.map ? e.map.allLayers.toArray().concat(e.map.allTables.toArray()) : [];
|
|
54
63
|
}
|
|
64
|
+
get showStartingPoints() {
|
|
65
|
+
return !this.isSubnetworkNameTraceSelected;
|
|
66
|
+
}
|
|
67
|
+
get showStoppingPoints() {
|
|
68
|
+
const e = this.selectedNamedTraceConfiguration?.traceType;
|
|
69
|
+
return e === "path" || e === "circuit";
|
|
70
|
+
}
|
|
71
|
+
get _subnetworkLayerIds() {
|
|
72
|
+
const e = this.selectedUtilityNetwork?.dataElement?.domainNetworks;
|
|
73
|
+
return e ? e.map((t) => t.subnetworkLayerId).filter((t) => t != null && t > -1) : [];
|
|
74
|
+
}
|
|
55
75
|
get unTraceConfiguration() {
|
|
56
76
|
return this._unTraceConfiguration;
|
|
57
77
|
}
|
|
58
78
|
get traceLocations() {
|
|
59
79
|
const e = [], t = (i) => {
|
|
60
80
|
i.flagProperties.terminalConfiguration && i.flagProperties.selectedTerminals ? i.flagProperties.selectedTerminals.forEach((r) => {
|
|
61
|
-
e.push(new
|
|
81
|
+
e.push(new N({
|
|
62
82
|
type: i.traceLocation.type,
|
|
63
83
|
isFilterBarrier: i.traceLocation.isFilterBarrier,
|
|
64
84
|
globalId: i.traceLocation.globalId,
|
|
@@ -67,49 +87,69 @@ class B extends L {
|
|
|
67
87
|
}));
|
|
68
88
|
}) : e.push(i.traceLocation);
|
|
69
89
|
};
|
|
70
|
-
return this._startingPoints.forEach((i) => t(i)), this._barriers.forEach((i) => t(i)), this._stoppingPoints.forEach((i) => t(i)), e;
|
|
90
|
+
return this.showStartingPoints && this._startingPoints.forEach((i) => t(i)), this._barriers.forEach((i) => t(i)), this.showStoppingPoints && this._stoppingPoints.forEach((i) => t(i)), e;
|
|
91
|
+
}
|
|
92
|
+
async destroy() {
|
|
93
|
+
this._removeGraphicLayer(u), this._clearTraceLocations(), this._sketchViewModel?.cancel(), this._featuresComponentElement?.destroy(), this._traceLocationStartingElement?.destroy(), this._traceLocationBarrierElement?.destroy(), this._traceLocationStoppingElement?.destroy(), await this.manager.destroy();
|
|
71
94
|
}
|
|
72
95
|
load() {
|
|
73
|
-
this.
|
|
96
|
+
this.manager.onLifecycle(() => [
|
|
97
|
+
S(() => this.view?.map, () => {
|
|
98
|
+
this._setupUtilityNetwork(), this._setupSketchViewModel();
|
|
99
|
+
}, { initial: !0 })
|
|
100
|
+
]);
|
|
74
101
|
}
|
|
75
102
|
willUpdate(e) {
|
|
76
103
|
const { utilityNetworks: t, selectedUtilityNetwork: i } = this;
|
|
77
104
|
(e.has("utilityNetworks") || !t || t.length === 0 || !i || !t?.includes(i)) && this._handleUtilityNetworksChange(), e.has("selectedUtilityNetwork") && (this.arcgisUtilityNetworkChange.emit(), this._handleSelectedUtilityNetworkChange()), e.has("selectedNamedTraceConfiguration") && (this.arcgisTraceInputsChange.emit(), this.arcgisSelectedNamedTraceConfigurationChange.emit(), this._handleTraceConfigChange()), e.has("selectedSubnetworkName") && this.arcgisTraceInputsChange.emit();
|
|
78
105
|
}
|
|
106
|
+
disconnectedCallback() {
|
|
107
|
+
super.disconnectedCallback(), this._layerIdToLayer.clear();
|
|
108
|
+
}
|
|
79
109
|
_clearTraceLocations() {
|
|
80
|
-
this.
|
|
110
|
+
this._startingPoints.forEach((e) => {
|
|
111
|
+
e.spatialProperties.flagGraphic && this.view?.graphics.remove(e.spatialProperties.flagGraphic);
|
|
112
|
+
}), this._startingPoints.removeAll(), this._barriers.forEach((e) => {
|
|
113
|
+
e.spatialProperties.flagGraphic && this.view?.graphics.remove(e.spatialProperties.flagGraphic);
|
|
114
|
+
}), this._barriers.removeAll(), this._stoppingPoints.forEach((e) => {
|
|
115
|
+
e.spatialProperties.flagGraphic && this.view?.graphics.remove(e.spatialProperties.flagGraphic);
|
|
116
|
+
}), this._stoppingPoints.removeAll();
|
|
81
117
|
}
|
|
82
118
|
_createGraphicLayer(e) {
|
|
83
119
|
const { map: t } = this.view;
|
|
84
120
|
if (!t?.findLayerById(e)) {
|
|
85
|
-
const a = new
|
|
121
|
+
const a = new C({
|
|
86
122
|
id: e,
|
|
87
123
|
listMode: "hide",
|
|
88
124
|
title: e
|
|
89
125
|
});
|
|
90
|
-
|
|
126
|
+
A(this.view, a);
|
|
91
127
|
}
|
|
92
128
|
}
|
|
93
129
|
_getGraphicLayer(e) {
|
|
94
130
|
const { map: t } = this.view;
|
|
95
131
|
if (t) {
|
|
96
132
|
const i = t.findLayerById(e);
|
|
97
|
-
if (
|
|
133
|
+
if (y(i))
|
|
98
134
|
return t.reorder(i, t.layers.length - 1), i;
|
|
99
135
|
}
|
|
100
136
|
return null;
|
|
101
137
|
}
|
|
138
|
+
_removeGraphicLayer(e) {
|
|
139
|
+
const { map: t } = this.view, i = t?.findLayerById(e);
|
|
140
|
+
i && y(i) && t?.remove(i);
|
|
141
|
+
}
|
|
102
142
|
_setSnappingOption() {
|
|
103
143
|
const { _sketchViewModel: e, _unLayers: t } = this;
|
|
104
144
|
if (e && t && t.length > 0) {
|
|
105
145
|
const i = new c();
|
|
106
146
|
t.forEach((a) => {
|
|
107
|
-
a
|
|
108
|
-
i.add(new
|
|
147
|
+
b(a) ? a.sublayers.forEach((r) => {
|
|
148
|
+
i.add(new f({
|
|
109
149
|
layer: r,
|
|
110
150
|
enabled: !0
|
|
111
151
|
}));
|
|
112
|
-
}) : i.add(new
|
|
152
|
+
}) : i.add(new f({
|
|
113
153
|
layer: a,
|
|
114
154
|
enabled: !0
|
|
115
155
|
}));
|
|
@@ -121,17 +161,14 @@ class B extends L {
|
|
|
121
161
|
}
|
|
122
162
|
}
|
|
123
163
|
_initializeSketchViewModel() {
|
|
124
|
-
const { view: e
|
|
125
|
-
return
|
|
126
|
-
layer:
|
|
127
|
-
enabled: !0
|
|
128
|
-
}))), new C({
|
|
129
|
-
layer: i,
|
|
164
|
+
const { view: e } = this, t = this._getGraphicLayer(u);
|
|
165
|
+
return new $({
|
|
166
|
+
layer: t,
|
|
130
167
|
view: e
|
|
131
168
|
});
|
|
132
169
|
}
|
|
133
170
|
_setupSketchViewModel() {
|
|
134
|
-
this._createGraphicLayer(
|
|
171
|
+
this._createGraphicLayer(u), this._sketchViewModel = this._initializeSketchViewModel(), this._setSnappingOption();
|
|
135
172
|
}
|
|
136
173
|
_clearSubnetworks() {
|
|
137
174
|
this.selectedSubnetworkName = void 0, this.subnetworksTable = void 0, this.compatibleSubnetworkNames = [];
|
|
@@ -160,15 +197,15 @@ class B extends L {
|
|
|
160
197
|
_selectTraceConfigurationByGuid(e) {
|
|
161
198
|
const t = this.selectedUtilityNetwork?.sharedNamedTraceConfigurations.find((i) => i.globalId === e);
|
|
162
199
|
if (!t) {
|
|
163
|
-
|
|
200
|
+
h("error", this, "`traceConfig` not found in `selectedUtilityNetwork.sharedNamedTraceConfigurations`");
|
|
164
201
|
return;
|
|
165
202
|
}
|
|
166
203
|
this.selectedNamedTraceConfiguration = t;
|
|
167
204
|
}
|
|
168
205
|
_handleTraceConfigChange() {
|
|
169
206
|
const { selectedNamedTraceConfiguration: e } = this;
|
|
170
|
-
if (!(e?.traceConfiguration instanceof
|
|
171
|
-
|
|
207
|
+
if (!(e?.traceConfiguration instanceof L)) {
|
|
208
|
+
h("error", this, P("selectedNamedTraceConfiguration.traceConfiguration")), this._unTraceConfiguration = void 0;
|
|
172
209
|
return;
|
|
173
210
|
}
|
|
174
211
|
switch (this._unTraceConfiguration = e.traceConfiguration.clone(), e.traceType) {
|
|
@@ -181,16 +218,16 @@ class B extends L {
|
|
|
181
218
|
await this.selectedUtilityNetwork?.load(), this._clearSubnetworks(), this._setupTraceConfigurations(), this._filterUnLayers(), this._clearTraceLocations();
|
|
182
219
|
}
|
|
183
220
|
_setupTraceConfigurations() {
|
|
184
|
-
this._unTraceConfiguration = void 0, this.traceConfigurations = this.selectedUtilityNetwork?.sharedNamedTraceConfigurations.filter((e) => e.traceType !== "path" && e.traceType !== "circuit") || [], this.selectedNamedTraceConfiguration = this.traceConfigurations.at(0);
|
|
221
|
+
this._unTraceConfiguration = void 0, this.selectedNamedTraceConfiguration = void 0, this.traceConfigurations = this.selectedUtilityNetwork?.sharedNamedTraceConfigurations.filter(Boolean).filter((e) => e.traceType !== "path" && e.traceType !== "circuit").sort((e, t) => e.title.localeCompare(t.title)) || [], this.selectedNamedTraceConfiguration = this.traceConfigurations.at(0);
|
|
185
222
|
}
|
|
186
223
|
_filterUnLayers() {
|
|
187
224
|
const { selectedUtilityNetwork: e } = this;
|
|
188
|
-
this._unLayers = new c(this._allLayers.filter((t) => e?.isUtilityLayer(t))), this._setSnappingOption();
|
|
225
|
+
this._unLayers = new c(this._allLayers.filter((t) => e?.isUtilityLayer(t) && !this._subnetworkLayerIds.includes(t.layerId))), this._setSnappingOption();
|
|
189
226
|
}
|
|
190
227
|
_handleUtilityNetworksChange() {
|
|
191
228
|
const { utilityNetworks: e } = this;
|
|
192
229
|
if (!e || e.length === 0) {
|
|
193
|
-
this._state = "error",
|
|
230
|
+
this.selectedUtilityNetwork = void 0, this._state = "error", h("error", this, F("utilityNetworks"));
|
|
194
231
|
return;
|
|
195
232
|
}
|
|
196
233
|
(!this.selectedUtilityNetwork || !e.includes(this.selectedUtilityNetwork)) && (this.selectedUtilityNetwork = e.at(0));
|
|
@@ -200,7 +237,7 @@ class B extends L {
|
|
|
200
237
|
const e = this.view.map;
|
|
201
238
|
await e.load(), this.utilityNetworks = e.utilityNetworks || void 0;
|
|
202
239
|
} else
|
|
203
|
-
this._state = "disabled",
|
|
240
|
+
this._state = "disabled", h("error", this, "The property `view.map` is required to load utility networks but is missing.");
|
|
204
241
|
}
|
|
205
242
|
_handleTraceLocationSelectStart(e) {
|
|
206
243
|
if (e.stopPropagation(), this.arcgisTraceLocationSelectStart.emit(e.detail).defaultPrevented) {
|
|
@@ -225,13 +262,15 @@ class B extends L {
|
|
|
225
262
|
i.gdbVersion = this.selectedUtilityNetwork?.gdbVersion, i.objectIds = t.map((r) => r.getObjectId()), i.outFields = ["*"];
|
|
226
263
|
const { features: a } = m.fromJSON(await g(e, i));
|
|
227
264
|
return a.forEach((r) => {
|
|
228
|
-
r.layer = e
|
|
265
|
+
r.layer = b(e) ? e.findSublayerForFeature(r) : e, r.origin = r.layer;
|
|
266
|
+
const o = r.layer;
|
|
267
|
+
r.getEffectivePopupTemplate(this._defaultPopupTemplateEnabled) || (r.popupTemplate = o.createPopupTemplate());
|
|
229
268
|
}), a;
|
|
230
269
|
}
|
|
231
270
|
async _populateFeaturesWithLabel(e) {
|
|
232
271
|
const t = /* @__PURE__ */ new Map();
|
|
233
272
|
e.forEach((a) => {
|
|
234
|
-
const r = a.layer
|
|
273
|
+
const r = D(a.layer) ? a.layer.parent : a.layer;
|
|
235
274
|
if (r) {
|
|
236
275
|
const o = r.layerId, n = this._getLayerByLayerId(o);
|
|
237
276
|
if (n) {
|
|
@@ -247,30 +286,37 @@ class B extends L {
|
|
|
247
286
|
})), await Promise.all(i.map(async (a) => {
|
|
248
287
|
const r = a.layer;
|
|
249
288
|
if (r && "getFeatureTitle" in r) {
|
|
250
|
-
const o = await r.getFeatureTitle(a) ||
|
|
289
|
+
const o = await r.getFeatureTitle(a) || w(a);
|
|
251
290
|
return { feature: a, label: o };
|
|
252
291
|
}
|
|
253
|
-
return { feature: a, label:
|
|
292
|
+
return { feature: a, label: w(a) };
|
|
254
293
|
}));
|
|
255
294
|
}
|
|
256
295
|
async _handleHitTestComplete(e) {
|
|
257
|
-
|
|
296
|
+
if (this._exceedDisplayLimit = e.length > this._displayLimit, this._featuresFromHitTest = await this._populateFeaturesWithLabel(e.slice(0, this._displayLimit)), this._featuresFromHitTest.length === 0)
|
|
297
|
+
return this._handleAddSpatialCancelClick(), await Promise.reject(Error("No features found"));
|
|
298
|
+
if (this._featuresFromHitTest.length === 1) {
|
|
299
|
+
const [{ feature: t }] = this._featuresFromHitTest;
|
|
300
|
+
this._selectedFeature = t, this.mode = "add-spatial-feature";
|
|
301
|
+
} else
|
|
302
|
+
this.mode = "add-spatial-feature-list";
|
|
303
|
+
return this._hitTestPromise?.reject(), this._hitTestPromise = Promise.withResolvers(), await this._hitTestPromise.promise;
|
|
258
304
|
}
|
|
259
305
|
_handleTraceLocationSelectEnd(e) {
|
|
260
306
|
e.stopPropagation(), this.arcgisTraceLocationSelectEnd.emit(), this._activeTraceLocationType = void 0, this.mode = "default", this._handleAddSpatialCancelClick();
|
|
261
307
|
}
|
|
262
308
|
_handleAddSpatialCancelClick(e) {
|
|
263
309
|
e?.stopPropagation();
|
|
264
|
-
const t = this.
|
|
310
|
+
const t = this._featuresComponentElement;
|
|
265
311
|
t && t.clear(), this._selectedFeature = void 0, this.mode = "default", this._sketchViewModel?.cancel(), this._hitTestPromise?.reject(), this._hitTestPromise = null;
|
|
266
312
|
}
|
|
267
313
|
_handleFeaturesClose() {
|
|
268
314
|
this.mode = "add-spatial-feature-list", this._selectedFeature = void 0;
|
|
269
315
|
}
|
|
270
316
|
_handleAddSpatialAddClick() {
|
|
271
|
-
const { _hitTestPromise: e,
|
|
272
|
-
if (e && t
|
|
273
|
-
const i = t
|
|
317
|
+
const { _hitTestPromise: e, _featuresComponentElement: t } = this;
|
|
318
|
+
if (e && t) {
|
|
319
|
+
const i = t, a = i.selectedDrillInFeature ?? i.selectedFeature;
|
|
274
320
|
if (!a)
|
|
275
321
|
return;
|
|
276
322
|
e.resolve(a), this._hitTestPromise = null;
|
|
@@ -288,8 +334,8 @@ class B extends L {
|
|
|
288
334
|
renderTraceSelection() {
|
|
289
335
|
const { _messages: e, traceConfigurations: t } = this, i = e.labels.traceConfiguration;
|
|
290
336
|
if (t.length === 0)
|
|
291
|
-
return this.renderError(e.errors.noTraceConfigurationError
|
|
292
|
-
const a =
|
|
337
|
+
return this.renderError(e.errors.noTraceConfigurationError);
|
|
338
|
+
const a = k(t, (r) => r.globalId, (r) => s`<calcite-option .value=${r.globalId}>${r.title}</calcite-option>`);
|
|
293
339
|
return s`<calcite-block .heading=${i} .label=${i} expanded><calcite-select .label=${i} .value=${this.selectedNamedTraceConfiguration?.globalId || void 0} @calciteSelectChange=${(r) => {
|
|
294
340
|
this._selectTraceConfigurationByGuid(r.target.value);
|
|
295
341
|
}}>${a}</calcite-select></calcite-block>`;
|
|
@@ -309,7 +355,7 @@ class B extends L {
|
|
|
309
355
|
return s`<calcite-flow-item .selected=${i === "add-spatial-instructions"} .heading=${a} @calciteFlowItemBack=${(r) => this._handleAddSpatialCancelClick(r)}><div class="add-spatial-mode"><div><h5 class="heading">${e.instructions.addSpatial.selectFeature.heading}</h5>${e.instructions.addSpatial.selectFeature.subheading}</div><div><h5 class="heading">${e.instructions.addSpatial.selectAssociatedFeature.heading}</h5>${e.instructions.addSpatial.selectAssociatedFeature.subheading}</div></div></calcite-flow-item>`;
|
|
310
356
|
}
|
|
311
357
|
renderFeaturesList(e) {
|
|
312
|
-
return s`<calcite-list
|
|
358
|
+
return s`<calcite-list label="Feature list">${e.map(this.renderFeatureListItem)}</calcite-list>`;
|
|
313
359
|
}
|
|
314
360
|
renderHitTestResults() {
|
|
315
361
|
const { _messages: e, _activeTraceLocationType: t, _featuresFromHitTest: i, mode: a } = this, r = t === "starting-point" ? e.labels.addSpatial.startingPoint : t === "barrier" ? e.labels.addSpatial.barrier : e.labels.addSpatial.stoppingPoint;
|
|
@@ -317,29 +363,26 @@ class B extends L {
|
|
|
317
363
|
}
|
|
318
364
|
renderSelectedFeature() {
|
|
319
365
|
const { _selectedFeature: e } = this;
|
|
320
|
-
|
|
321
|
-
return this.mode = "default", null;
|
|
322
|
-
const t = this._featuresComponentRef.value, i = t?.selectedFeature ? [t.selectedFeature] : [e];
|
|
323
|
-
return s`<arcgis-features id=feature-select .referenceElement=${this.referenceElement} .features=${i} .view=${this.view} open @arcgisClose=${() => this._handleFeaturesClose()} ${U(this._featuresComponentRef)}></arcgis-features>`;
|
|
366
|
+
return e ? s`<arcgis-features .referenceElement=${this.referenceElement} .features=${[e]} .view=${this.view} .defaultPopupTemplateEnabled=${this._defaultPopupTemplateEnabled} .hideActionBar=${this.hideActionBar} open @arcgisClose=${() => this._handleFeaturesClose()} .autoDestroyDisabled=${this.autoDestroyDisabled} ${d(this._featuresComponentRefChange)}></arcgis-features>` : (this.mode = "default", null);
|
|
324
367
|
}
|
|
325
368
|
renderAddSpatialFooter() {
|
|
326
|
-
const { mode: e, _messages: t, selectedUtilityNetwork: i, _selectedFeature: a } = this, r =
|
|
369
|
+
const { mode: e, _messages: t, selectedUtilityNetwork: i, _selectedFeature: a } = this, r = T(t.warnings.exceededDisplayLimit, {
|
|
327
370
|
limit: this._displayLimit.toString()
|
|
328
371
|
}), o = e === "add-spatial-feature-list" && this._exceedDisplayLimit, n = a ? !(i?.isUtilityLayer(a.layer) ?? !0) : !0;
|
|
329
|
-
return s`${o && s`<calcite-input-message icon=exclamation-mark-circle status=idle>${r}</calcite-input-message>` || ""}<calcite-button appearance=outline width=full @click=${() => {
|
|
372
|
+
return s`${o && s`<calcite-input-message id=results-limited-message icon=exclamation-mark-circle status=idle>${r}</calcite-input-message>` || ""}<calcite-button appearance=outline width=full @click=${() => {
|
|
330
373
|
this._handleAddSpatialCancelClick();
|
|
331
374
|
}} slot=footer>${t.buttons.cancel}</calcite-button>${e === "add-spatial-feature" && s`<calcite-button width=full slot=footer appearance=solid @click=${() => {
|
|
332
375
|
this._handleAddSpatialAddClick();
|
|
333
376
|
}} .disabled=${n}>${t.buttons.add}</calcite-button>` || ""}`;
|
|
334
377
|
}
|
|
335
378
|
renderStartingPointSelection() {
|
|
336
|
-
return s`<arcgis-utility-network-trace-location .view=${this.view} trace-location-type=starting-point .beforeTraceLocationSelectStart=${this.beforeTraceLocationSelectStart} @arcgisTraceLocationSelectStart=${this._handleTraceLocationSelectStart} @arcgisTraceLocationSelectEnd=${this._handleTraceLocationSelectEnd} @arcgisTraceLocationChange=${() => this.arcgisTraceInputsChange.emit()} .sketchViewModel=${this._sketchViewModel} .utilityNetwork=${this.selectedUtilityNetwork} .filterLayers=${this._unLayers} .
|
|
379
|
+
return s`<arcgis-utility-network-trace-location .view=${this.view} trace-location-type=starting-point .beforeTraceLocationSelectStart=${this.beforeTraceLocationSelectStart} @arcgisTraceLocationSelectStart=${this._handleTraceLocationSelectStart} @arcgisTraceLocationSelectEnd=${this._handleTraceLocationSelectEnd} @arcgisTraceLocationChange=${() => this.arcgisTraceInputsChange.emit()} .sketchViewModel=${this._sketchViewModel} .utilityNetwork=${this.selectedUtilityNetwork} .filterLayers=${this._unLayers} .traceLocations=${this._startingPoints} .afterHitTest=${this._handleHitTestComplete.bind(this)} .autoDestroyDisabled=${this.autoDestroyDisabled} ${d(this._traceLocationStartingRefChange)}></arcgis-utility-network-trace-location>`;
|
|
337
380
|
}
|
|
338
381
|
renderStoppingPointSelection() {
|
|
339
|
-
return s`<arcgis-utility-network-trace-location .view=${this.view} trace-location-type=stopping-point .beforeTraceLocationSelectStart=${this.beforeTraceLocationSelectStart} @arcgisTraceLocationSelectStart=${this._handleTraceLocationSelectStart} @arcgisTraceLocationSelectEnd=${this._handleTraceLocationSelectEnd} @arcgisTraceLocationChange=${() => this.arcgisTraceInputsChange.emit()} .sketchViewModel=${this._sketchViewModel} .utilityNetwork=${this.selectedUtilityNetwork} .filterLayers=${this._unLayers} .
|
|
382
|
+
return s`<arcgis-utility-network-trace-location .view=${this.view} trace-location-type=stopping-point .beforeTraceLocationSelectStart=${this.beforeTraceLocationSelectStart} @arcgisTraceLocationSelectStart=${this._handleTraceLocationSelectStart} @arcgisTraceLocationSelectEnd=${this._handleTraceLocationSelectEnd} @arcgisTraceLocationChange=${() => this.arcgisTraceInputsChange.emit()} .sketchViewModel=${this._sketchViewModel} .utilityNetwork=${this.selectedUtilityNetwork} .filterLayers=${this._unLayers} .traceLocations=${this._stoppingPoints} .afterHitTest=${this._handleHitTestComplete.bind(this)} .autoDestroyDisabled=${this.autoDestroyDisabled} ${d(this._traceLocationStoppingRefChange)}></arcgis-utility-network-trace-location>`;
|
|
340
383
|
}
|
|
341
384
|
renderBarrierSelection() {
|
|
342
|
-
return s`<arcgis-utility-network-trace-location .view=${this.view} trace-location-type=barrier .beforeTraceLocationSelectStart=${this.beforeTraceLocationSelectStart} @arcgisTraceLocationSelectStart=${this._handleTraceLocationSelectStart} @arcgisTraceLocationSelectEnd=${this._handleTraceLocationSelectEnd} @arcgisTraceLocationChange=${() => this.arcgisTraceInputsChange.emit()} .sketchViewModel=${this._sketchViewModel} .utilityNetwork=${this.selectedUtilityNetwork} .filterLayers=${this._unLayers} .
|
|
385
|
+
return s`<arcgis-utility-network-trace-location .view=${this.view} trace-location-type=barrier .beforeTraceLocationSelectStart=${this.beforeTraceLocationSelectStart} @arcgisTraceLocationSelectStart=${this._handleTraceLocationSelectStart} @arcgisTraceLocationSelectEnd=${this._handleTraceLocationSelectEnd} @arcgisTraceLocationChange=${() => this.arcgisTraceInputsChange.emit()} .sketchViewModel=${this._sketchViewModel} .utilityNetwork=${this.selectedUtilityNetwork} .filterLayers=${this._unLayers} .traceLocations=${this._barriers} .afterHitTest=${this._handleHitTestComplete.bind(this)} .autoDestroyDisabled=${this.autoDestroyDisabled} ${d(this._traceLocationBarrierRefChange)}></arcgis-utility-network-trace-location>`;
|
|
343
386
|
}
|
|
344
387
|
renderSubnetworkNameInput() {
|
|
345
388
|
return s`<calcite-input clearable type=text .placeholder=${this._messages.instructions.enterSubnetworkName} max-length=64 .value=${this.selectedSubnetworkName} @calciteInputInput=${(e) => this.selectedSubnetworkName = e.target.value}></calcite-input><calcite-input-message icon=exclamation-mark-triangle status=idle>${this._messages.labels.tooManySubnetworks}</calcite-input-message>`;
|
|
@@ -349,25 +392,25 @@ class B extends L {
|
|
|
349
392
|
}
|
|
350
393
|
renderSubnetworkSelection() {
|
|
351
394
|
const { compatibleSubnetworkNames: e } = this, t = this._messages.labels.subnetworkName;
|
|
352
|
-
return this.isSubnetworkNameTraceSelected ? this._state === "loading" ? s`<calcite-loader class="inline-loader" label=loading scale=s></calcite-loader>` : e.length ? s`<calcite-block .heading=${t} .label=${t} expanded>${e.length >
|
|
395
|
+
return this.isSubnetworkNameTraceSelected ? this._state === "loading" ? s`<calcite-loader class="inline-loader" label=loading scale=s></calcite-loader>` : e.length ? s`<calcite-block .heading=${t} .label=${t} expanded>${e.length > B ? this.renderSubnetworkNameInput() : this.renderSubnetworkSelectList()}</calcite-block>` : this.renderError(this._messages.errors.noCompatibleSubnetworks, !1, "exclamation-mark-triangle") : null;
|
|
353
396
|
}
|
|
354
397
|
renderSubnetworkInfo() {
|
|
355
398
|
const { _messages: e, selectedNamedTraceConfiguration: t, _unTraceConfiguration: i } = this;
|
|
356
|
-
return i && t?.traceType && this._subnetworkTraceTypes.has(t.traceType) ? s`<calcite-block
|
|
399
|
+
return i && t?.traceType && this._subnetworkTraceTypes.has(t.traceType) ? s`<calcite-block id=subnetwork-info-block expanded .label=${e.labels.subnetworkInfo}><arcgis-utility-network-subnetwork-info .namedTraceConfig=${t}></arcgis-utility-network-subnetwork-info></calcite-block>` : null;
|
|
357
400
|
}
|
|
358
401
|
renderContent() {
|
|
359
402
|
const { utilityNetworks: e } = this, t = this.selectedNamedTraceConfiguration?.traceConfiguration;
|
|
360
403
|
if (!e || e.length === 0)
|
|
361
404
|
return this.renderError(this._messages.errors.noUtilityNetworkError);
|
|
362
|
-
const i = s`${this.renderTraceSelection()}${this.renderSubnetworkInfo()}${this.renderSubnetworkSelection()}`, a =
|
|
363
|
-
return s`<calcite-block-group .label=${this._messages.labels.traceInputs}>${e.length > 1 ? this.renderUtilityNetworkSelection() : null}${this.selectedUtilityNetwork?.loaded ? i : this.renderLoader()}${t ?
|
|
405
|
+
const i = s`${this.renderTraceSelection()}${this.renderSubnetworkInfo()}${this.renderSubnetworkSelection()}`, a = s`${this.showStartingPoints ? this.renderStartingPointSelection() : null}${this.showStoppingPoints ? this.renderStoppingPointSelection() : null}${this.renderBarrierSelection()}`;
|
|
406
|
+
return s`<calcite-block-group .label=${this._messages.labels.traceInputs}>${e.length > 1 ? this.renderUtilityNetworkSelection() : null}${this.selectedUtilityNetwork?.loaded ? i : this.renderLoader()}${t ? a : null}</calcite-block-group>`;
|
|
364
407
|
}
|
|
365
408
|
render() {
|
|
366
409
|
const { mode: e } = this;
|
|
367
|
-
return s`<calcite-panel
|
|
410
|
+
return s`<calcite-panel>${e === "add-spatial-feature" ? this.renderSelectedFeature() : s`<calcite-flow>${this.renderDefaultMode()}${this.renderSpatialSelectInstructions()}${this.renderHitTestResults()}</calcite-flow>`}${e !== "default" ? this.renderAddSpatialFooter() : null}</calcite-panel>`;
|
|
368
411
|
}
|
|
369
412
|
}
|
|
370
|
-
|
|
413
|
+
_("arcgis-utility-network-trace-inputs", x);
|
|
371
414
|
export {
|
|
372
|
-
|
|
415
|
+
x as ArcgisUtilityNetworkTraceInputs
|
|
373
416
|
};
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
import type Collection from "@arcgis/core/core/Collection.js";
|
|
3
3
|
import type Point from "@arcgis/core/geometry/Point.js";
|
|
4
4
|
import type Graphic from "@arcgis/core/Graphic.js";
|
|
5
|
-
import type GraphicsLayer from "@arcgis/core/layers/GraphicsLayer.js";
|
|
6
5
|
import type Layer from "@arcgis/core/layers/Layer.js";
|
|
7
6
|
import type TerminalConfiguration from "@arcgis/core/networks/support/TerminalConfiguration.js";
|
|
8
7
|
import type UtilityNetwork from "@arcgis/core/networks/UtilityNetwork.js";
|
|
@@ -22,15 +21,23 @@ import type { T9nMeta } from "@arcgis/lumina/controllers";
|
|
|
22
21
|
* @internal
|
|
23
22
|
*/
|
|
24
23
|
export abstract class ArcgisUtilityNetworkTraceLocation extends LitElement {
|
|
24
|
+
/**
|
|
25
|
+
* A function to run after a hit test is performed to select a trace location. If left empty, the first graphic from the hit test results will be used as the trace location.
|
|
26
|
+
* This function allows for modification of the selected graphic before it is added as a trace location, such as changing its attributes or geometry.
|
|
27
|
+
* If the promise is rejected, the selection process will be cancelled.
|
|
28
|
+
*
|
|
29
|
+
* @internal
|
|
30
|
+
*/
|
|
25
31
|
accessor afterHitTest: ((graphics: Graphic[]) => Promise<Graphic>) | undefined;
|
|
32
|
+
/** @default false */
|
|
33
|
+
accessor autoDestroyDisabled: boolean;
|
|
26
34
|
/**
|
|
27
35
|
* A function to run before trace location selection starts.
|
|
28
36
|
*
|
|
29
|
-
* @
|
|
37
|
+
* @internal
|
|
30
38
|
*/
|
|
31
39
|
accessor beforeTraceLocationSelectStart: (() => Promise<void>) | undefined;
|
|
32
40
|
accessor filterLayers: Collection<Layer> | undefined;
|
|
33
|
-
accessor flagLayer: GraphicsLayer | undefined;
|
|
34
41
|
/** @internal */
|
|
35
42
|
protected messages: {
|
|
36
43
|
buttons: { clear: string; };
|
|
@@ -99,18 +106,20 @@ export abstract class ArcgisUtilityNetworkTraceLocation extends LitElement {
|
|
|
99
106
|
accessor utilityNetwork: UtilityNetwork | undefined;
|
|
100
107
|
/** @required */
|
|
101
108
|
accessor view: MapView | undefined;
|
|
109
|
+
/** Permanently destroy the component. */
|
|
110
|
+
destroy(): Promise<void>;
|
|
102
111
|
readonly arcgisTraceLocationChange: import("@arcgis/lumina").TargetedEvent<this, void>;
|
|
103
112
|
/**
|
|
104
113
|
* Fires when the user completes the selection of a trace location.
|
|
105
114
|
*
|
|
106
|
-
* @
|
|
115
|
+
* @internal
|
|
107
116
|
*/
|
|
108
117
|
readonly arcgisTraceLocationSelectEnd: import("@arcgis/lumina").TargetedEvent<this, void>;
|
|
109
118
|
/**
|
|
110
119
|
* Fires when the user begins selection of a trace location.
|
|
111
120
|
* Can be prevented to stop the selection.
|
|
112
121
|
*
|
|
113
|
-
* @
|
|
122
|
+
* @internal
|
|
114
123
|
*/
|
|
115
124
|
readonly arcgisTraceLocationSelectStart: import("@arcgis/lumina").TargetedEvent<this, SelectStartPayload>;
|
|
116
125
|
readonly "@eventTypes": {
|
|
@@ -120,6 +129,7 @@ export abstract class ArcgisUtilityNetworkTraceLocation extends LitElement {
|
|
|
120
129
|
};
|
|
121
130
|
}
|
|
122
131
|
|
|
132
|
+
/** @internal */
|
|
123
133
|
export interface FlagInfo {
|
|
124
134
|
traceLocation: TraceLocation;
|
|
125
135
|
flagProperties: {
|
|
@@ -135,8 +145,10 @@ export interface FlagInfo {
|
|
|
135
145
|
};
|
|
136
146
|
}
|
|
137
147
|
|
|
148
|
+
/** @internal */
|
|
138
149
|
export type TraceLocationType = "barrier" | "starting-point" | "stopping-point";
|
|
139
150
|
|
|
151
|
+
/** @internal */
|
|
140
152
|
export interface SelectStartPayload {
|
|
141
153
|
cancelSelect: () => void;
|
|
142
154
|
}
|