@arcgis/map-components 5.1.0-next.5 → 5.1.0-next.51
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,22 +1,22 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
2
|
import { c as N } from "../../chunks/runtime.js";
|
|
3
|
-
import { css as E, html as
|
|
4
|
-
import { keyed as
|
|
5
|
-
import
|
|
6
|
-
import { u as
|
|
3
|
+
import { css as E, html as n } from "lit";
|
|
4
|
+
import { keyed as _ } from "lit/directives/keyed.js";
|
|
5
|
+
import B from "@arcgis/core/widgets/Features/FeaturesViewModel.js";
|
|
6
|
+
import { u as O } from "../../chunks/useT9n.js";
|
|
7
7
|
import { classes as b } from "@arcgis/toolkit/dom";
|
|
8
8
|
import { usePropertyChange as L } from "@arcgis/lumina/controllers";
|
|
9
9
|
import { m as R } from "../../chunks/useViewModel.js";
|
|
10
|
-
import { LitElement as P, createEvent as C, renderElement as
|
|
11
|
-
import { substitute as u, formatNumber as
|
|
10
|
+
import { LitElement as P, createEvent as C, renderElement as S, nothing as d, safeClassMap as $ } from "@arcgis/lumina";
|
|
11
|
+
import { substitute as u, formatNumber as F } from "@arcgis/core/intl.js";
|
|
12
12
|
import { watch as h } from "@arcgis/core/core/reactiveUtils.js";
|
|
13
|
-
import { t as
|
|
13
|
+
import { t as H, z, b as U } from "../../chunks/action-utils.js";
|
|
14
14
|
import { stripHTML as A } from "@arcgis/core/applications/Components/stringUtils.js";
|
|
15
15
|
import x from "@arcgis/core/core/Collection.js";
|
|
16
16
|
import { a as Z } from "../../chunks/feature-utils.js";
|
|
17
17
|
import { renderingSanitizer as y } from "@arcgis/core/applications/Components/sanitizerUtils.js";
|
|
18
18
|
import { initializeProjection as j } from "@arcgis/core/applications/Components/featureUtils.js";
|
|
19
|
-
import { createRef as
|
|
19
|
+
import { createRef as M, ref as v } from "lit/directives/ref.js";
|
|
20
20
|
const G = E`:host{display:flex;overflow:hidden;flex:1 1 auto}.root{--calcite-color-background: var(--calcite-color-foreground-1);display:flex;overflow:hidden;flex:1 1 auto;flex-direction:column}.root img{image-orientation:from-image}.flow-item-collapsed{--calcite-flow-item-header-border-block-end: none}.container{display:flex;flex:1 1 auto;background-color:var(--calcite-color-foreground-1)}.container calcite-list{width:100%}.container:not(:empty){padding:var(--arcgis-internal-padding-md, var(--calcite-spacing-md))}.root .arcgis-feature,.root .arcgis-feature-relationship,.root .arcgis-feature-utility-network-associations{background-color:transparent}.heading{word-break:break-word;word-wrap:break-word}.header,.footer{display:flex;align-items:center;justify-content:flex-end;background-color:var(--calcite-color-foreground-1)}.footer{flex:1}.pagination-text{padding-inline:var(--calcite-spacing-sm);color:var(--calcite-color-text-3);font-size:var(--calcite-font-size-sm)}.loader{align-self:center;padding-inline:var(--calcite-spacing-lg)}.pagination-action-bar{flex:1}.pagination-menu-button{padding-inline:var(--calcite-spacing-xxs);border-inline-start:var(--calcite-border-width-sm) solid var(--calcite-color-border-3)}.icon{display:inline-block;flex:0 0 var(--calcite-spacing-lg);width:var(--calcite-spacing-lg);height:var(--calcite-spacing-lg)}.action-image{flex:0 0 var(--calcite-spacing-lg);background-position:50% 50%;background-repeat:no-repeat;background-size:contain;width:var(--calcite-spacing-lg);height:var(--calcite-spacing-lg)}.header{border-block-end:var(--calcite-border-width-sm) solid var(--calcite-color-border-3)}.content-feature{--calcite-flow-item-footer-padding: 0}.feature-menu-observer{position:relative;bottom:var(--calcite-spacing-xxl);z-index:2;text-align:center}.action-exit{transform:scaleX(-1)}`;
|
|
21
21
|
function K(c) {
|
|
22
22
|
switch (c?.type) {
|
|
@@ -33,21 +33,21 @@ function K(c) {
|
|
|
33
33
|
return null;
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
|
-
const m =
|
|
36
|
+
const m = U.clone();
|
|
37
37
|
function W(c) {
|
|
38
38
|
return c?.declaredClass.startsWith("esri.layers.") ?? !1;
|
|
39
39
|
}
|
|
40
|
-
const X = R(
|
|
40
|
+
const X = R(B);
|
|
41
41
|
class q extends P {
|
|
42
42
|
constructor() {
|
|
43
43
|
super(...arguments), this._fetchFeaturesController = null, this._featureMenuIntersectionObserverCallback = ([e]) => {
|
|
44
44
|
e?.isIntersecting && this.viewModel.featurePage != null && this.viewModel.featurePage++;
|
|
45
45
|
}, this._featureMenuIntersectionObserver = new IntersectionObserver(this._featureMenuIntersectionObserverCallback, {
|
|
46
46
|
root: window.document
|
|
47
|
-
}), this._featureMenuIntersectionObserverNode = null, this._rootFlowItemNode =
|
|
47
|
+
}), this._featureMenuIntersectionObserverNode = null, this._rootFlowItemNode = M(), this._featureMenuViewportNode = M(), this._actionBarMenuNode = M(), this._flowContainerNode = M(), this.messages = O(), this._selectedFeatureComponent = M(), this._cancelOpenRelatedFeature = () => {
|
|
48
48
|
const { _openRelatedFeatureAbortController: e } = this;
|
|
49
49
|
e && e.abort(), this._openRelatedFeatureAbortController = null;
|
|
50
|
-
}, this._openRelatedFeatureAbortController = null, this.flowItems = new x(), this.viewModel = X(this), this.actions = this.viewModel.actions, this.active = this.viewModel.active, this.autoDestroyDisabled = !1, this.collapsed = !1, this.content = this.viewModel.content, this.defaultPopupTemplateEnabled = this.viewModel.defaultPopupTemplateEnabled, this.featureCount = this.viewModel.featureCount, this.featureMenuOpen = this.viewModel.featureMenuOpen, this.featureMenuTitle = this.viewModel.featureMenuTitle, this.featureNavigationTop = !1, this.features = this.viewModel.features, this.featuresPerPage = this.viewModel.featuresPerPage, this.featureViewModelAbilities = this.viewModel.featureViewModelAbilities, this.goToOverride = this.viewModel.goToOverride, this.headerActions = new x(), this.heading = this.viewModel.title, this.headingLevel = 2, this.hideActionBar = !1, this.hideCloseButton = !1, this.hideFeatureMenuHeading = !1, this.hideFeatureNavigation = !1, this.hideFeatureListLayerTitle = !1, this.hideHeading = !1, this.hideSpinner = !1, this.hideContent = !1, this.hideExpressionContent = !1, this.hideLastEditedInfo = !1, this.highlightDisabled = this.viewModel.highlightEnabled, this.includeDefaultActionsDisabled = this.viewModel.includeDefaultActions, this.initialDisplayMode = this.viewModel.initialDisplayMode, this.location = this.viewModel.location, this.map = this.viewModel.map, this.promises = this.viewModel.promises, this.responsiveActionsEnabled = !1, this.selectedFeature = this.viewModel.selectedFeature, this.selectedFeatureIndex = this.viewModel.selectedFeatureIndex, this.showCollapseButton = !1, this.spatialReference = this.viewModel.spatialReference, this.state = this.viewModel.state, this.timeZone = this.viewModel.timeZone, this.updateLocationEnabled = this.viewModel.updateLocationEnabled, this.view = this.viewModel.view, this.arcgisPropertyChange = L()("active", "collapsed", "featureCount", "featureMenuOpen", "features", "promises", "selectedDrillInFeature", "selectedFeature", "selectedFeatureComponent", "selectedFeatureIndex", "state", "open"), this.arcgisReady = C(), this.arcgisClose = C(), this.arcgisTriggerAction = C();
|
|
50
|
+
}, this._openRelatedFeatureAbortController = null, this.flowItems = new x(), this.viewModel = X(this), this.actions = this.viewModel.actions, this.active = this.viewModel.active, this.autoDestroyDisabled = !1, this.collapsed = !1, this.content = this.viewModel.content, this.defaultPopupTemplateEnabled = this.viewModel.defaultPopupTemplateEnabled, this.featureCount = this.viewModel.featureCount, this.featureMenuOpen = this.viewModel.featureMenuOpen, this.featureMenuTitle = this.viewModel.featureMenuTitle, this.featureNavigationTop = !1, this.features = this.viewModel.features, this.featuresPerPage = this.viewModel.featuresPerPage, this.featureViewModelAbilities = this.viewModel.featureViewModelAbilities, this.goToOverride = this.viewModel.goToOverride, this.headerActions = new x(), this.heading = this.viewModel.title, this.headingLevel = 2, this.hideActionBar = !1, this.hideCloseButton = !1, this.hideFeatureMenuHeading = !1, this.hideFeatureNavigation = !1, this.hideFeatureListLayerTitle = !1, this.hideHeading = !1, this.hideSpinner = !1, this.hideContent = !1, this.hideExpressionContent = !1, this.hideLastEditedInfo = !1, this.highlightDisabled = this.viewModel.highlightEnabled, this.includeDefaultActionsDisabled = this.viewModel.includeDefaultActions, this.initialDisplayMode = this.viewModel.initialDisplayMode, this.location = this.viewModel.location, this.map = this.viewModel.map, this.open = this.viewModel.visible, this.promises = this.viewModel.promises, this.responsiveActionsEnabled = !1, this.selectedFeature = this.viewModel.selectedFeature, this.selectedFeatureIndex = this.viewModel.selectedFeatureIndex, this.showCollapseButton = !1, this.spatialReference = this.viewModel.spatialReference, this.state = this.viewModel.state, this.timeZone = this.viewModel.timeZone, this.updateLocationEnabled = this.viewModel.updateLocationEnabled, this.view = this.viewModel.view, this.arcgisPropertyChange = L()("active", "collapsed", "featureCount", "featureMenuOpen", "features", "promises", "selectedDrillInFeature", "selectedFeature", "selectedFeatureComponent", "selectedFeatureIndex", "state", "open"), this.arcgisReady = C(), this.arcgisClose = C(), this.arcgisTriggerAction = C();
|
|
51
51
|
}
|
|
52
52
|
static {
|
|
53
53
|
this.properties = { _openRelatedFeatureAbortController: 16, flowItems: 16, _hideActionText: 16, _featureNavigationVisible: 16, _isCollapsed: 16, _collapseEnabled: 16, viewModel: 0, actions: 0, active: 0, autoDestroyDisabled: 5, collapsed: 5, content: 1, defaultPopupTemplateEnabled: 5, featureCount: 9, featureMenuOpen: 5, featureMenuTitle: 1, featureNavigationTop: 5, features: 0, featuresPerPage: 9, featureViewModelAbilities: 0, goToOverride: 0, headerActions: 0, heading: 1, headingLevel: 9, hideActionBar: 5, hideCloseButton: 5, hideFeatureMenuHeading: 5, hideFeatureNavigation: 5, hideFeatureListLayerTitle: 5, hideHeading: 5, hideSpinner: 5, hideContent: 5, chartAnimationDisabled: 5, hideAttachmentsContent: 5, hideCustomContent: 5, hideExpressionContent: 5, hideFieldsContent: 5, hideMediaContent: 5, hideRelationshipContent: 5, hideTextContent: 5, hideUtilityNetworkContent: 5, hideLastEditedInfo: 5, highlightDisabled: 5, icon: 1, includeDefaultActionsDisabled: 5, initialDisplayMode: 1, label: 1, location: 0, map: 0, messageOverrides: 0, open: 5, referenceElement: 1, promises: 0, responsiveActionsEnabled: 5, selectedDrillInFeature: 32, selectedFeature: 0, selectedFeatureComponent: 32, selectedFeatureIndex: 9, showCollapseButton: 5, spatialReference: 0, state: 32, timeZone: 1, updateLocationEnabled: 5, view: 0 };
|
|
@@ -118,12 +118,6 @@ class q extends P {
|
|
|
118
118
|
set hideUtilityNetworkContent(e) {
|
|
119
119
|
this.viewModel.featureViewModelAbilities ??= {}, this.viewModel.featureViewModelAbilities.utilityNetworkAssociationsContent = !e;
|
|
120
120
|
}
|
|
121
|
-
get open() {
|
|
122
|
-
return this.viewModel.visible;
|
|
123
|
-
}
|
|
124
|
-
set open(e) {
|
|
125
|
-
this.viewModel.visible = e;
|
|
126
|
-
}
|
|
127
121
|
get selectedDrillInFeature() {
|
|
128
122
|
const e = Array.from(this.flowItems).at(-1);
|
|
129
123
|
return e && "graphic" in e ? e.graphic ?? null : null;
|
|
@@ -135,18 +129,18 @@ class q extends P {
|
|
|
135
129
|
return this.viewModel.clear();
|
|
136
130
|
}
|
|
137
131
|
async close() {
|
|
138
|
-
this.
|
|
132
|
+
this.open = !1;
|
|
139
133
|
}
|
|
140
134
|
async destroy() {
|
|
141
135
|
await this.manager.destroy(), await this._destroySpinner(this.referenceElement), this._cancelOpenRelatedFeature(), this._removeFlowItems(), this._unobserveFeatureMenuObserver(), this._cancelFetchingFeatures(), this._featureMenuIntersectionObserver?.disconnect();
|
|
142
136
|
}
|
|
143
137
|
async fetchFeatures(e, t) {
|
|
144
138
|
this._cancelFetchingFeatures();
|
|
145
|
-
const i = new AbortController(), { signal:
|
|
146
|
-
if (this._fetchFeaturesController = i, !e && this.view && this.location && (await j(this.location.spatialReference, this.view.spatialReference, null, { signal:
|
|
139
|
+
const i = new AbortController(), { signal: s } = i;
|
|
140
|
+
if (this._fetchFeaturesController = i, !e && this.view && this.location && (await j(this.location.spatialReference, this.view.spatialReference, null, { signal: s }), e = this.view.toScreen(this.location) ?? void 0), !e)
|
|
147
141
|
return;
|
|
148
|
-
const
|
|
149
|
-
this.location =
|
|
142
|
+
const o = await this.viewModel.fetchFeatures(e, { signal: s, ...t });
|
|
143
|
+
this.location = o.location, this.promises = o.pendingFeatures;
|
|
150
144
|
}
|
|
151
145
|
async next() {
|
|
152
146
|
return this.viewModel.next();
|
|
@@ -159,7 +153,7 @@ class q extends P {
|
|
|
159
153
|
}
|
|
160
154
|
async triggerAction(e) {
|
|
161
155
|
if (!e.disabled)
|
|
162
|
-
return e?.type === "toggle" && (e.value = !e.value), await
|
|
156
|
+
return e?.type === "toggle" && (e.value = !e.value), await H(e, this.viewModel);
|
|
163
157
|
}
|
|
164
158
|
loaded() {
|
|
165
159
|
this.manager.onLifecycle(() => [
|
|
@@ -192,10 +186,10 @@ class q extends P {
|
|
|
192
186
|
_groupResultsByLayer() {
|
|
193
187
|
const { featureViewModels: e } = this.viewModel, t = /* @__PURE__ */ new Map();
|
|
194
188
|
return e.forEach((i) => {
|
|
195
|
-
const
|
|
196
|
-
if (!
|
|
189
|
+
const s = i?.graphic;
|
|
190
|
+
if (!s)
|
|
197
191
|
return;
|
|
198
|
-
const
|
|
192
|
+
const o = Z(s), a = W(o) ? o : null, l = t.get(a) ?? [];
|
|
199
193
|
t.set(a, [...l, i]);
|
|
200
194
|
}), t;
|
|
201
195
|
}
|
|
@@ -206,12 +200,12 @@ class q extends P {
|
|
|
206
200
|
this._cancelOpenRelatedFeature();
|
|
207
201
|
const t = new AbortController();
|
|
208
202
|
this._openRelatedFeatureAbortController = t, await e.updateGeometry();
|
|
209
|
-
const i = e.graphic,
|
|
210
|
-
if (
|
|
203
|
+
const i = e.graphic, s = i?.geometry;
|
|
204
|
+
if (s == null || i == null)
|
|
211
205
|
return;
|
|
212
|
-
this._removeFlowItems(), await this.viewModel.zoomTo({ target:
|
|
213
|
-
const
|
|
214
|
-
|
|
206
|
+
this._removeFlowItems(), await this.viewModel.zoomTo({ target: s });
|
|
207
|
+
const o = K(s);
|
|
208
|
+
o != null && (this.location = o), this.features = [i], this.open = !0, await this.setFocus(), this._openRelatedFeatureAbortController === t && (this._openRelatedFeatureAbortController = null);
|
|
215
209
|
}
|
|
216
210
|
_handlePaginationMenuButton() {
|
|
217
211
|
this._updateFeatureMenu();
|
|
@@ -254,8 +248,8 @@ class q extends P {
|
|
|
254
248
|
this._unobserveFeatureMenuObserver(), e && this._featureMenuIntersectionObserver.observe(e), this._featureMenuIntersectionObserverNode = e;
|
|
255
249
|
}
|
|
256
250
|
_getActionTitle(e) {
|
|
257
|
-
const { messages: t, selectedFeature: i } = this, { id:
|
|
258
|
-
return l &&
|
|
251
|
+
const { messages: t, selectedFeature: i } = this, { id: s } = e, o = i?.attributes, a = e.title ?? "", l = s === "zoom-to-feature" ? u(a, { messages: t }) : s === "remove-selected-feature" ? u(a, { messages: t }) : s === "zoom-to-clustered-features" ? u(a, { messages: t }) : s === "browse-clustered-features" ? u(a, { messages: t }) : e.title;
|
|
252
|
+
return l && o ? u(l, o) : l ?? "";
|
|
259
253
|
}
|
|
260
254
|
_onMainKeydown(e) {
|
|
261
255
|
const { key: t } = e;
|
|
@@ -265,21 +259,21 @@ class q extends P {
|
|
|
265
259
|
this._featureMenuViewportNode && this._featureMenuViewportNode.value?.scrollContentTo({ top: 0 });
|
|
266
260
|
}
|
|
267
261
|
_selectedFeatureIndexUpdated(e, t) {
|
|
268
|
-
const { featureCount: i, waitingForResult:
|
|
269
|
-
|
|
262
|
+
const { featureCount: i, waitingForResult: s } = this.viewModel;
|
|
263
|
+
s || !i || e === t || e === -1 || (this._removeFlowItems(), this._rootFlowItemNode.value?.scrollContentTo({ top: 0 }));
|
|
270
264
|
}
|
|
271
265
|
_triggerAction(e) {
|
|
272
266
|
this.triggerAction(e), this.arcgisTriggerAction.emit({ action: e });
|
|
273
267
|
}
|
|
274
268
|
_viewChange() {
|
|
275
|
-
this.viewModel.clear(), this.
|
|
269
|
+
this.viewModel.clear(), this.open = !1;
|
|
276
270
|
}
|
|
277
271
|
_closeOpenActionMenu() {
|
|
278
272
|
const { _actionBarMenuNode: e } = this;
|
|
279
273
|
e.value && (e.value.menuOpen = !1);
|
|
280
274
|
}
|
|
281
275
|
_removeFlowItems() {
|
|
282
|
-
this.flowItems
|
|
276
|
+
this.flowItems?.destroyAll();
|
|
283
277
|
}
|
|
284
278
|
_getDrillInFlowItemDescription(e) {
|
|
285
279
|
switch (e.flowType) {
|
|
@@ -293,7 +287,7 @@ class q extends P {
|
|
|
293
287
|
}
|
|
294
288
|
}
|
|
295
289
|
_handleDrillInBackClick() {
|
|
296
|
-
this.flowItems?.pop();
|
|
290
|
+
this.flowItems?.pop()?.destroy();
|
|
297
291
|
}
|
|
298
292
|
_getHeading() {
|
|
299
293
|
const { hideHeading: e } = this, { title: t, selectedFeatureViewModel: i } = this.viewModel;
|
|
@@ -304,10 +298,10 @@ class q extends P {
|
|
|
304
298
|
}
|
|
305
299
|
async _createSpinner() {
|
|
306
300
|
const e = this.referenceElement;
|
|
307
|
-
e && (await this._destroySpinner(e), this._spinnerEl =
|
|
301
|
+
e && (await this._destroySpinner(e), this._spinnerEl = S(n`<arcgis-spinner auto-destroy-disabled .label=${this.messages.loading ?? ""} .trackLocation=${!this.hideSpinner && this.viewModel?.waitingForResult} .location=${this.viewModel?.location ?? void 0} .view=${this.viewModel?.view ?? void 0}></arcgis-spinner>`), e.manager?.component?.extraContent?.add(this._spinnerEl));
|
|
308
302
|
}
|
|
309
303
|
render() {
|
|
310
|
-
return
|
|
304
|
+
return n`<div class="root" @keydown=${this._onMainKeydown}>${this._renderHeader()}${this._renderContentContainer()}</div>`;
|
|
311
305
|
}
|
|
312
306
|
_renderFeatureNavigation() {
|
|
313
307
|
return [
|
|
@@ -316,92 +310,93 @@ class q extends P {
|
|
|
316
310
|
];
|
|
317
311
|
}
|
|
318
312
|
_renderHeader() {
|
|
319
|
-
return this.featureNavigationTop && this._featureNavigationVisible ?
|
|
313
|
+
return this.featureNavigationTop && this._featureNavigationVisible ? n`<div class="header">${this._renderFeatureNavigation()}</div>` : null;
|
|
320
314
|
}
|
|
321
315
|
_renderFooter() {
|
|
322
|
-
return !this.featureNavigationTop && this._featureNavigationVisible ?
|
|
316
|
+
return !this.featureNavigationTop && this._featureNavigationVisible ? n`<div class="footer" slot=footer>${this._renderFeatureNavigation()}</div>` : null;
|
|
323
317
|
}
|
|
324
318
|
_renderFeaturePaginationText() {
|
|
325
|
-
const { messages: e, viewModel: t } = this, { featureCount: i, selectedFeatureIndex:
|
|
326
|
-
return
|
|
327
|
-
index:
|
|
328
|
-
total:
|
|
319
|
+
const { messages: e, viewModel: t } = this, { featureCount: i, selectedFeatureIndex: s } = t;
|
|
320
|
+
return n`<div class="pagination-text">${u(e.pageText ?? "", {
|
|
321
|
+
index: F(s + 1),
|
|
322
|
+
total: F(i)
|
|
329
323
|
})}</div>`;
|
|
330
324
|
}
|
|
331
325
|
_renderFeatureMenuButton() {
|
|
332
|
-
const { messages: e, viewModel: t } = this, { featureCount: i, selectedFeatureIndex:
|
|
333
|
-
return
|
|
334
|
-
index:
|
|
335
|
-
total:
|
|
326
|
+
const { messages: e, viewModel: t } = this, { featureCount: i, selectedFeatureIndex: s, pendingPromisesCount: o } = t;
|
|
327
|
+
return n`<calcite-action class="pagination-menu-button" icon=list .label=${e.selectFeature} .loading=${o > 0} @click=${this._handlePaginationMenuButton} .text=${u(e.pageText ?? "", {
|
|
328
|
+
index: F(s + 1),
|
|
329
|
+
total: F(i)
|
|
336
330
|
})} text-enabled title=${e.selectFeature ?? d}></calcite-action>`;
|
|
337
331
|
}
|
|
338
332
|
_renderPagination() {
|
|
339
333
|
const { previous: e, next: t } = this.messages;
|
|
340
|
-
return
|
|
334
|
+
return n`<calcite-action-bar class="pagination-action-bar" expand-disabled layout=horizontal overflow-actions-disabled scale=s><calcite-action-group scale=s><calcite-action class="pagination-previous" icon=chevron-left icon-flip-rtl .label=${e ?? ""} @click=${this._previousFeature} .text=${e ?? ""} title=${e ?? "" ?? d}></calcite-action><calcite-action icon=chevron-right icon-flip-rtl .label=${t ?? ""} @click=${this._nextFeature} .text=${t ?? ""} title=${t ?? "" ?? d}></calcite-action></calcite-action-group></calcite-action-bar>`;
|
|
341
335
|
}
|
|
342
336
|
_renderFeatureMenuItem(e) {
|
|
343
|
-
const { initialDisplayMode: t } = this, { selectedFeatureViewModel: i, featureViewModels:
|
|
344
|
-
return
|
|
337
|
+
const { initialDisplayMode: t } = this, { selectedFeatureViewModel: i, featureViewModels: s } = this.viewModel, o = e === i, a = s.indexOf(e);
|
|
338
|
+
return n`<calcite-list-item @blur=${this._removeActiveFeature} @focus=${() => this._setActiveFeature(a)} @mouseleave=${this._removeActiveFeature} @mouseover=${() => this._setActiveFeature(a)} .selected=${o} @calciteListItemSelect=${() => this._selectFeature(a)}><span .innerHTML=${(y.sanitize(e.title) || this.messages.untitled) ?? ""} slot=content></span>${t === "list" ? n`<calcite-icon flip-rtl icon=chevron-right scale=s slot=content-end></calcite-icon>` : null}</calcite-list-item>`;
|
|
345
339
|
}
|
|
346
340
|
_renderFeatureMenu() {
|
|
347
|
-
const { messages: e, viewModel: t } = this, i = this._groupResultsByLayer(),
|
|
348
|
-
return t.featureViewModels.length ?
|
|
349
|
-
const a = i.get(
|
|
350
|
-
return !this.hideFeatureListLayerTitle && l !== null ?
|
|
341
|
+
const { messages: e, viewModel: t } = this, i = this._groupResultsByLayer(), s = this.initialDisplayMode === "list" ? "none" : "single";
|
|
342
|
+
return t.featureViewModels.length ? n`<calcite-list display-mode=flat .label=${e?.featuresList ?? ""} selection-appearance=icon .selectionMode=${s}>${Array.from(i.keys(), (o) => {
|
|
343
|
+
const a = i.get(o)?.map((r) => this._renderFeatureMenuItem(r)), l = o ? o.title ?? this.messages.untitled : null;
|
|
344
|
+
return !this.hideFeatureListLayerTitle && l !== null ? _(o ?? "map-graphics", n`<calcite-list-item-group .heading=${l}>${a}</calcite-list-item-group>`) : a;
|
|
351
345
|
})}</calcite-list>` : null;
|
|
352
346
|
}
|
|
353
347
|
_renderHeaderAction(e) {
|
|
354
348
|
const t = e.title || "";
|
|
355
|
-
return e.visible ?
|
|
349
|
+
return e.visible ? n`<calcite-action .active=${e.type === "toggle" ? e.value : !1} .disabled=${e.disabled} .icon=${e.icon ?? void 0} .indicator=${e.active} .loading=${e.active} @click=${() => this._triggerAction(e)} slot=header-actions-end .text=${t} title=${t ?? d}></calcite-action>` : null;
|
|
356
350
|
}
|
|
357
351
|
_renderHeaderActions() {
|
|
358
352
|
return this.headerActions.map((e) => this._renderHeaderAction(e)).toArray();
|
|
359
353
|
}
|
|
360
354
|
_renderContentFeature() {
|
|
361
|
-
const { headingLevel: e, hideCloseButton: t, _isCollapsed: i, _collapseEnabled:
|
|
355
|
+
const { headingLevel: e, hideCloseButton: t, _isCollapsed: i, _collapseEnabled: s, featureNavigationTop: o, flowItems: a, initialDisplayMode: l, selectedFeature: r, featureMenuOpen: p } = this, { active: f } = this.viewModel, g = this._getHeading();
|
|
362
356
|
if (l === "list" && !r)
|
|
363
357
|
return null;
|
|
364
|
-
const
|
|
365
|
-
return
|
|
358
|
+
const w = a.length === 0 && (l === "list" ? !!r : !p);
|
|
359
|
+
return n`<calcite-flow-item class=${$(b({
|
|
366
360
|
"content-feature": !0,
|
|
367
361
|
"flow-item-collapsed": i
|
|
368
|
-
}))} .closable=${!t} .closed=${!f} .collapsed=${i} .collapseDirection=${
|
|
362
|
+
}))} .closable=${!t} .closed=${!f} .collapsed=${i} .collapseDirection=${o ? "down" : "up"} .collapsible=${s} .headingLevel=${e} .selected=${w} @calciteFlowItemBack=${this._handleFeatureBack} .loading=${!!this._openRelatedFeatureAbortController} @calciteFlowItemClose=${this._handleClose} @calciteFlowItemToggle=${this._handleCollapseToggle} .heading=${A(g)} ${v(this._rootFlowItemNode)}>${this._renderHeaderActions()}${this._renderActionBar()}<div class=${$(b("container", "content-container"))}>${this._renderContent()}</div>${this._renderFooter()}</calcite-flow-item>`;
|
|
369
363
|
}
|
|
370
364
|
_renderFeatureMenuContainer() {
|
|
371
|
-
const { viewModel: e, hideCloseButton: t, featureMenuTitle: i, messages:
|
|
372
|
-
if (
|
|
365
|
+
const { viewModel: e, hideCloseButton: t, featureMenuTitle: i, messages: s, initialDisplayMode: o, featureMenuOpen: a, selectedFeature: l, _collapseEnabled: r, _isCollapsed: p, featureNavigationTop: f, headingLevel: g } = this, { active: w, featureViewModels: T, pendingPromisesCount: I } = e, k = i ?? s.selectFeature;
|
|
366
|
+
if (o === "feature" && !a)
|
|
373
367
|
return null;
|
|
374
|
-
const V =
|
|
375
|
-
return
|
|
368
|
+
const V = o === "list" ? !l : a;
|
|
369
|
+
return n`<calcite-flow-item class=${$(b({
|
|
376
370
|
"flow-item-collapsed": p
|
|
377
|
-
}))} .closable=${
|
|
378
|
-
total:
|
|
371
|
+
}))} .closable=${o === "list" && !t} .closed=${!w} .collapsed=${o === "list" && p} .collapseDirection=${f ? "down" : "up"} .collapsible=${o === "list" && r} .description=${this.hideFeatureMenuHeading ? void 0 : u(s.total ?? "", {
|
|
372
|
+
total: T.length
|
|
379
373
|
})} .heading=${this.hideFeatureMenuHeading ? void 0 : k} .headingLevel=${g} .loading=${e.waitingForContents} .selected=${V} @calciteFlowItemBack=${(D) => {
|
|
380
374
|
D.preventDefault(), this._handleFeatureMenuBack();
|
|
381
|
-
}} @calciteFlowItemClose=${this._handleClose} @calciteFlowItemToggle=${this._handleCollapseToggle} ${v(this._featureMenuViewportNode)}>${
|
|
375
|
+
}} @calciteFlowItemClose=${this._handleClose} @calciteFlowItemToggle=${this._handleCollapseToggle} ${v(this._featureMenuViewportNode)}>${o === "list" ? this._renderHeaderActions() : null}${I > 0 ? n`<calcite-loader class="loader" inline .label=${s.loading ?? ""} slot=header-actions-end></calcite-loader>` : null}<div class="container">${this._renderFeatureMenu()}</div><div class="feature-menu-observer" ${v(this._featureMenuIntersectionObserverCreated)}></div>${o === "feature" ? n`<calcite-button appearance=transparent @click=${this._handleFeatureMenuBack} slot=footer-start width=full>${s.back}</calcite-button>` : null}</calcite-flow-item>`;
|
|
382
376
|
}
|
|
383
377
|
_renderFlowItem(e, t) {
|
|
384
|
-
const { messages: i, hideCloseButton:
|
|
385
|
-
return
|
|
386
|
-
|
|
387
|
-
}} .loading=${!!this._openRelatedFeatureAbortController} @calciteFlowItemClose=${this._handleClose}><calcite-action class="action-exit" icon=move-up @click=${this._removeFlowItems} slot=header-actions-start .text=${r ?? ""} title=${r ?? "" ?? d}></calcite-action>${a ?
|
|
378
|
+
const { messages: i, hideCloseButton: s, active: o } = this, a = "graphic" in e && "isFeatureFromTable" in e && !e.isFeatureFromTable, l = e.flowType === "feature-association", r = i.returnToInitialFeature ?? "", p = i?.selectFeature, f = this._getActionTitle(m), g = !this.hideActionBar && l && a;
|
|
379
|
+
return n`<calcite-flow-item .closable=${!s} .closed=${!o} .description=${A(this._getDrillInFlowItemDescription(e) ?? "")} .heading=${this.hideHeading ? void 0 : A(e.heading ?? "")} .selected=${t} @calciteFlowItemBack=${(w) => {
|
|
380
|
+
w.preventDefault(), this._handleDrillInBackClick();
|
|
381
|
+
}} .loading=${!!this._openRelatedFeatureAbortController} @calciteFlowItemClose=${this._handleClose}><calcite-action class="action-exit" icon=move-up @click=${this._removeFlowItems} slot=header-actions-start .text=${r ?? ""} title=${r ?? "" ?? d}></calcite-action>${a ? n`<calcite-action icon=zoom-to-object @click=${() => this._openRelatedFeature(e)} slot=header-actions-end .text=${p ?? ""} title=${p ?? d}></calcite-action>` : null}${g ? n`<calcite-action-bar expand-disabled expanded scale=s slot=action-bar><calcite-action-group overlay-positioning=fixed scale=s><calcite-action .disabled=${m.disabled} .icon=${m.icon ?? void 0} .loading=${m.active} scale=s text-enabled .text=${f} title=${f ?? d} @click=${() => z(this.viewModel, e)}></calcite-action></calcite-action-group></calcite-action-bar>` : null}<div class="container">${e}</div></calcite-flow-item>`;
|
|
388
382
|
}
|
|
389
383
|
_renderContentContainer() {
|
|
390
|
-
const e = this.flowItems?.toArray(), t = e?.map((
|
|
391
|
-
return
|
|
384
|
+
const e = this.flowItems?.toArray(), t = e?.map((s, o) => this._renderFlowItem(s, this.initialDisplayMode === "list" || !this.featureMenuOpen && o === e.length - 1)), i = this.initialDisplayMode === "list" ? [this._renderFeatureMenuContainer(), this._renderContentFeature(), t] : [this._renderContentFeature(), t, this._renderFeatureMenuContainer()];
|
|
385
|
+
return n`<calcite-flow ${v(this._flowContainerNode)}>${i}</calcite-flow>`;
|
|
392
386
|
}
|
|
393
387
|
_renderActionBar() {
|
|
394
|
-
|
|
388
|
+
const t = this.viewModel.selectedFeatureViewModel?.isFeatureFromTable && !this.location ? this.viewModel.allActions.filter((i) => i.id !== m.id) : this.viewModel.allActions;
|
|
389
|
+
return !this._isCollapsed && !this.hideActionBar && t.length ? n`<calcite-action-bar expand-disabled .expanded=${!this._hideActionText} scale=s slot=action-bar><calcite-action-group overlay-positioning=fixed scale=s ${v(this._actionBarMenuNode)}>${this._renderActions()}</calcite-action-group></calcite-action-bar>` : null;
|
|
395
390
|
}
|
|
396
391
|
_renderActions() {
|
|
397
392
|
return this.viewModel.allActions.toArray().map((e) => {
|
|
398
393
|
const t = this._getActionTitle(e);
|
|
399
|
-
return
|
|
394
|
+
return n`<calcite-action .active=${e.type === "toggle" ? e.value : !1} .disabled=${e.disabled} .icon=${e.icon ?? void 0} .loading=${e.active} scale=s .textEnabled=${!this._hideActionText} .text=${t ?? ""} title=${t ?? d} .hidden=${!e.visible} @click=${() => this._triggerAction(e)}></calcite-action>`;
|
|
400
395
|
});
|
|
401
396
|
}
|
|
402
397
|
_renderContent() {
|
|
403
398
|
const { content: e, selectedFeatureViewModel: t } = this.viewModel;
|
|
404
|
-
return t ?
|
|
399
|
+
return t ? _(t, n`<arcgis-feature .autoDestroyDisabled=${this.autoDestroyDisabled} .chartAnimationDisabled=${this.chartAnimationDisabled} .defaultPopupTemplateEnabled=${this.defaultPopupTemplateEnabled} .flowItems=${this.flowItems} .graphic=${t.graphic} .headingLevel=${this.headingLevel + 1} .hideAttachmentsContent=${this.hideAttachmentsContent} .hideContent=${this.hideContent} .hideCustomContent=${this.hideCustomContent} .hideExpressionContent=${this.hideExpressionContent} .hideFieldsContent=${this.hideFieldsContent} hide-heading .hideLastEditedInfo=${this.hideLastEditedInfo} .hideMediaContent=${this.hideMediaContent} .hideTextContent=${this.hideTextContent} .location=${this.location} .map=${this.map} .referenceElement=${this.referenceElement} .showRelationshipContent=${!this.hideRelationshipContent} .showUtilityNetworkContent=${!this.hideUtilityNetworkContent} .spatialReference=${this.spatialReference} .timeZone=${this.timeZone} ${v(this._selectedFeatureComponent)}></arcgis-feature>`) : typeof e == "string" ? _(e, n`<div .innerHTML=${y.sanitize(e) ?? ""}></div>`) : e ?? null;
|
|
405
400
|
}
|
|
406
401
|
}
|
|
407
402
|
N("arcgis-features", q);
|
|
@@ -1,11 +1,8 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
|
-
|
|
3
|
-
import type
|
|
4
|
-
import type WebScene from "@arcgis/core/WebScene";
|
|
2
|
+
import type WebMap from "@arcgis/core/WebMap.js";
|
|
3
|
+
import type WebScene from "@arcgis/core/WebScene.js";
|
|
5
4
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
6
|
-
import type { HeadingLevel } from "
|
|
7
|
-
import type { ArcgisReferenceElement } from "../../utils/component-utils.js";
|
|
8
|
-
import type { IconName } from "../../utils/action-utils.js";
|
|
5
|
+
import type { ArcgisReferenceElement, IconName, HeadingLevel } from "../types.js";
|
|
9
6
|
import type { T9nMeta } from "@arcgis/lumina/controllers";
|
|
10
7
|
import type { MapViewOrSceneView } from "@arcgis/core/views/MapViewOrSceneView.js";
|
|
11
8
|
import type { GoToOverride } from "@arcgis/core/widgets/support/types.js";
|
|
@@ -13,18 +10,18 @@ import type { GoToOverride } from "@arcgis/core/widgets/support/types.js";
|
|
|
13
10
|
/**
|
|
14
11
|
* The Floor Filter component simplifies visualization of GIS data for a specific floor of a
|
|
15
12
|
* building in your application. It allows you to filter down the floor plan data displayed in your
|
|
16
|
-
* [arcgis-map](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/) or [arcgis-scene](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/) to a [site](
|
|
17
|
-
* or a [level](
|
|
13
|
+
* [arcgis-map](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/) or [arcgis-scene](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/) to a [site](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-floor-filter/#site), a [facility](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-floor-filter/#facility) in the site,
|
|
14
|
+
* or a [level](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-floor-filter/#level) in the facility.
|
|
18
15
|
*
|
|
19
|
-
* To visualize your data based on [site](
|
|
16
|
+
* To visualize your data based on [site](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-floor-filter/#site), [facility](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-floor-filter/#facility), or [level](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-floor-filter/#level), your map must contain the related
|
|
20
17
|
* floor plan layers, with features linked together in a floor plan hierarchy.
|
|
21
18
|
* Once you define your map as floor-aware in the map properties, the interactive, on-screen
|
|
22
19
|
* Floor Filter component appears and can be used to explore the floor-aware data based on the
|
|
23
20
|
* configured site, facility, and levels layers.
|
|
24
21
|
* The Floor Filter component currently supports
|
|
25
|
-
* [FeatureLayers](https://developers.arcgis.com/javascript/latest/
|
|
26
|
-
* [SceneLayers](https://developers.arcgis.com/javascript/latest/
|
|
27
|
-
* [MapImageLayers](https://developers.arcgis.com/javascript/latest/
|
|
22
|
+
* [FeatureLayers](https://developers.arcgis.com/javascript/latest/references/core/layers/FeatureLayer/),
|
|
23
|
+
* [SceneLayers](https://developers.arcgis.com/javascript/latest/references/core/layers/SceneLayer/) and
|
|
24
|
+
* [MapImageLayers](https://developers.arcgis.com/javascript/latest/references/core/layers/MapImageLayer/) (map services).
|
|
28
25
|
*
|
|
29
26
|
* The component can also be used alongside other filtering functionalities, such as definition queries,
|
|
30
27
|
* selection, range, and time, to further control visualization.
|
|
@@ -60,7 +57,7 @@ export abstract class ArcgisFloorFilter extends LitElement {
|
|
|
60
57
|
/**
|
|
61
58
|
* This function provides the ability to override either the [arcgis-map.goTo()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#goTo) or [arcgis-scene.goTo()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/#goTo) methods.
|
|
62
59
|
*
|
|
63
|
-
* @since
|
|
60
|
+
* @since 5.0
|
|
64
61
|
* @example
|
|
65
62
|
* ```js
|
|
66
63
|
* component.goToOverride = function(view, goToParams) {
|
|
@@ -116,6 +113,8 @@ export abstract class ArcgisFloorFilter extends LitElement {
|
|
|
116
113
|
* Replace localized message strings with your own strings.
|
|
117
114
|
*
|
|
118
115
|
* _**Note**: Individual message keys may change between releases._
|
|
116
|
+
*
|
|
117
|
+
* @since 5.0
|
|
119
118
|
*/
|
|
120
119
|
accessor messageOverrides: {
|
|
121
120
|
all?: string | undefined;
|
|
@@ -183,8 +182,6 @@ export abstract class ArcgisFloorFilter extends LitElement {
|
|
|
183
182
|
};
|
|
184
183
|
noResults: string;
|
|
185
184
|
}>;
|
|
186
|
-
/** @deprecated since 4.34, use [`slot`](https://developers.arcgis.com/javascript/latest/building-your-ui/#slots) instead. */
|
|
187
|
-
accessor position: __esri.UIPosition | undefined;
|
|
188
185
|
/**
|
|
189
186
|
* 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.
|
|
190
187
|
*
|
|
@@ -58,7 +58,7 @@ class D extends T {
|
|
|
58
58
|
}, this._facilitiesListNode = x(), this._levelsListNode = x(), this._sitesListNode = x(), this.view = this.viewModel.view, this.autoDestroyDisabled = !1, this.facility = this.viewModel.facility, this.headingLevel = 2, this.icon = "urban-model", this.level = this.viewModel.level, this.longNames = this.viewModel.longNames, this.goToOverride = this.viewModel.goToOverride, this.site = this.viewModel.site, this.arcgisReady = F();
|
|
59
59
|
}
|
|
60
60
|
static {
|
|
61
|
-
this.properties = { view: 0, autoDestroyDisabled: 5, facility: 3, headingLevel: 11, icon: 1, label: 1, level: 3, longNames: 7, messageOverrides: 0,
|
|
61
|
+
this.properties = { view: 0, autoDestroyDisabled: 5, facility: 3, headingLevel: 11, icon: 1, label: 1, level: 3, longNames: 7, messageOverrides: 0, goToOverride: 0, referenceElement: 1, site: 3 };
|
|
62
62
|
}
|
|
63
63
|
static {
|
|
64
64
|
this.styles = A;
|
|
@@ -3,7 +3,7 @@ import type LinkChartView from "@arcgis/core/views/LinkChartView.js";
|
|
|
3
3
|
import type MapView from "@arcgis/core/views/MapView.js";
|
|
4
4
|
import type SceneView from "@arcgis/core/views/SceneView.js";
|
|
5
5
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
6
|
-
import type { ArcgisReferenceElement } from "
|
|
6
|
+
import type { ArcgisReferenceElement } from "../types.js";
|
|
7
7
|
import type { T9nMeta } from "@arcgis/lumina/controllers";
|
|
8
8
|
import type { Button as Button } from "@esri/calcite-components/components/calcite-button";
|
|
9
9
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import type Color from "@arcgis/core/Color.js";
|
|
3
3
|
import type MapView from "@arcgis/core/views/MapView.js";
|
|
4
4
|
import type SnappingOptions from "@arcgis/core/views/interactive/snapping/SnappingOptions.js";
|
|
5
|
-
import type { ArcgisReferenceElement } from "
|
|
5
|
+
import type { ArcgisReferenceElement } from "../types.js";
|
|
6
6
|
import type { GridTheme } from "./types.js";
|
|
7
7
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
8
8
|
import type { T9nMeta } from "@arcgis/lumina/controllers";
|
|
@@ -102,7 +102,7 @@ export abstract class ArcgisGridControls extends LitElement {
|
|
|
102
102
|
accessor customColor: Color | undefined;
|
|
103
103
|
/**
|
|
104
104
|
* Returns `true` if the grid is enabled for display.
|
|
105
|
-
* Use [trySetDisplayEnabled](
|
|
105
|
+
* Use [trySetDisplayEnabled()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-grid-controls/#trySetDisplayEnabled) to enable or disable grid display.
|
|
106
106
|
*
|
|
107
107
|
* @default false
|
|
108
108
|
*/
|
|
@@ -110,7 +110,7 @@ export abstract class ArcgisGridControls extends LitElement {
|
|
|
110
110
|
/**
|
|
111
111
|
* Returns `true` if the grid is set to scale dynamically. When dynamic scaling is enabled,
|
|
112
112
|
* grid cells are added or removed to ensure that grid cells are a reasonable size on screen as the user zooms.
|
|
113
|
-
* The way additional grid lines are shown is controlled by the [majorLineInterval](
|
|
113
|
+
* The way additional grid lines are shown is controlled by the [majorLineInterval](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-grid-controls/#majorLineInterval) property.
|
|
114
114
|
*
|
|
115
115
|
* @default false
|
|
116
116
|
*/
|
|
@@ -127,7 +127,7 @@ export abstract class ArcgisGridControls extends LitElement {
|
|
|
127
127
|
get gridControlsEnabled(): boolean;
|
|
128
128
|
/**
|
|
129
129
|
* True if the grid is currently not displayed (and therefore also not a valid snap target),
|
|
130
|
-
* because [dynamicScaling](
|
|
130
|
+
* because [dynamicScaling](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-grid-controls/#dynamicScaling) is off and the grid cells are too small
|
|
131
131
|
* to render at the current scale.
|
|
132
132
|
*
|
|
133
133
|
* @default false
|
|
@@ -278,34 +278,34 @@ export abstract class ArcgisGridControls extends LitElement {
|
|
|
278
278
|
/** Rotation of the grid in radians. NOTE: UI controls convert to and from degrees automatically. */
|
|
279
279
|
accessor rotation: number;
|
|
280
280
|
/**
|
|
281
|
-
* Controls snapping behavior if [snappingOptions](
|
|
282
|
-
* If [snappingOptions](
|
|
281
|
+
* Controls snapping behavior if [snappingOptions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-grid-controls/#snappingOptions) has been defined.
|
|
282
|
+
* If [snappingOptions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-grid-controls/#snappingOptions) have been defined, disabling or enabling grid snapping will
|
|
283
283
|
* also disable or enable grid display.
|
|
284
284
|
*
|
|
285
285
|
* @default false
|
|
286
286
|
*/
|
|
287
287
|
accessor snappingEnabled: boolean;
|
|
288
288
|
/**
|
|
289
|
-
* The [SnappingOptions](https://developers.arcgis.com/javascript/latest/
|
|
289
|
+
* The [SnappingOptions](https://developers.arcgis.com/javascript/latest/references/core/views/interactive/snapping/SnappingOptions/)
|
|
290
290
|
* that will be controlled by this component if the snapping toggle is enabled for display.
|
|
291
291
|
* If SnappingOptions are provided, grid display will be automatically enabled or disabled to match snapping state.
|
|
292
292
|
*/
|
|
293
293
|
accessor snappingOptions: SnappingOptions | null | undefined;
|
|
294
294
|
/**
|
|
295
|
-
* Length of a grid cell. Grid cells are always square. Defined in [unit](
|
|
295
|
+
* Length of a grid cell. Grid cells are always square. Defined in [unit](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-grid-controls/#unit).
|
|
296
296
|
*
|
|
297
297
|
* @default 1
|
|
298
298
|
*/
|
|
299
299
|
accessor spacing: number;
|
|
300
300
|
/**
|
|
301
301
|
* The color scheme used to display the grid. This will be light, dark, or custom. When theme is set to custom,
|
|
302
|
-
* the [customColor](
|
|
302
|
+
* the [customColor](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-grid-controls/#customColor) is shown, otherwise a default light or dark theme color is used.
|
|
303
303
|
*
|
|
304
304
|
* @default "dark"
|
|
305
305
|
*/
|
|
306
306
|
accessor theme: GridTheme | null | undefined;
|
|
307
307
|
/**
|
|
308
|
-
* Unit of measure (foot, meter, etc) used when defining the [spacing](
|
|
308
|
+
* Unit of measure (foot, meter, etc) used when defining the [spacing](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-grid-controls/#spacing) grid cell.
|
|
309
309
|
* Note that units are defined relatively to the map's spatial reference length unit,
|
|
310
310
|
* which will not correspond to geographic distance unless using a special-purpose basemap
|
|
311
311
|
* within a supported target area.
|