@arcgis/map-components 5.1.0-next.10 → 5.1.0-next.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cdn/2AYGSNEO.js +2 -0
- package/dist/cdn/{YSDQ5VNK.js → 2EJ4XRH4.js} +1 -1
- package/dist/cdn/{FOMIDTAN.js → 2NOL7QIE.js} +1 -1
- package/dist/cdn/{24PK3ZLX.js → 37TNG76C.js} +1 -1
- package/dist/cdn/{GLNRLEZE.js → 3DO7PVNW.js} +1 -1
- package/dist/cdn/{EPQN4FJS.js → 3XMPN66U.js} +1 -1
- package/dist/cdn/{KBY7C6QM.js → 3YA25S2J.js} +1 -1
- package/dist/cdn/{5FZLG5YS.js → 42UR6TXZ.js} +1 -1
- package/dist/cdn/4EAZ4PIQ.js +2 -0
- package/dist/cdn/{3FSARSVN.js → 4JCY4NHX.js} +1 -1
- package/dist/cdn/{JTEJ2NHE.js → 556MC5SF.js} +1 -1
- package/dist/cdn/{7L5TRJUA.js → 5ITF7Q7U.js} +1 -1
- package/dist/cdn/5LBJB4MP.js +2 -0
- package/dist/cdn/{CUWONRT5.js → 5RGFRTJS.js} +1 -1
- package/dist/cdn/{EYW7YQF6.js → 63N5ERFL.js} +1 -1
- package/dist/cdn/{UZ7KLWGC.js → 63P5VYGP.js} +1 -1
- package/dist/cdn/{FTBTVD7U.js → 64OEHFBZ.js} +1 -1
- package/dist/cdn/{2PAAPTW5.js → 6CGPJGIB.js} +1 -1
- package/dist/cdn/{AN2ZNLDK.js → 6F6VOBIA.js} +1 -1
- package/dist/cdn/{BEXRPBHT.js → 6RKD6GFP.js} +1 -1
- package/dist/cdn/{I6ZXIPND.js → 7JQZBAFA.js} +1 -1
- package/dist/cdn/{PESPV6VP.js → 7YLXQNEC.js} +1 -1
- package/dist/cdn/A2JO7DWO.js +2 -0
- package/dist/cdn/{D7DDJ2QZ.js → A44ZCOCX.js} +2 -2
- package/dist/cdn/A4UJ53JS.js +2 -0
- package/dist/cdn/{S52VES4H.js → A7JPWYKR.js} +1 -1
- package/dist/cdn/{GS43BIES.js → AEYZDEAH.js} +1 -1
- package/dist/cdn/{CMWIMRU2.js → AJHRJ5EA.js} +1 -1
- package/dist/cdn/{INS77MCT.js → AP2IFWYH.js} +1 -1
- package/dist/cdn/{OAFAR3NG.js → BUOIT34V.js} +1 -1
- package/dist/cdn/{BNJXI23I.js → C24SOTLL.js} +1 -1
- package/dist/cdn/{LSF66JVY.js → C4DJABUI.js} +1 -1
- package/dist/cdn/{SPACZLHW.js → C7YN3AZA.js} +1 -1
- package/dist/cdn/{CXOYV56L.js → CC53K2CR.js} +1 -1
- package/dist/cdn/{6ZNO34O5.js → CCKYOWZO.js} +1 -1
- package/dist/cdn/{7DTWNSIR.js → CTSWZC3O.js} +1 -1
- package/dist/cdn/{BX7N3KYH.js → CVBNRF34.js} +1 -1
- package/dist/cdn/CWJ5OA5A.js +2 -0
- package/dist/cdn/D27YXH3W.js +2 -0
- package/dist/cdn/D73JFV2R.js +2 -0
- package/dist/cdn/{Y6KRMZWJ.js → DINM6JDS.js} +1 -1
- package/dist/cdn/{CEJGZMGB.js → DTVW3MYT.js} +1 -1
- package/dist/cdn/{TTR6UUEQ.js → EENOVGOS.js} +1 -1
- package/dist/cdn/EGN3YTD6.js +2 -0
- package/dist/cdn/{YZZJQMH4.js → EM7YCHTU.js} +1 -1
- package/dist/cdn/{P4PTEXIJ.js → EQCNO3G4.js} +1 -1
- package/dist/cdn/{7ZCMIKP6.js → EX22SAPL.js} +1 -1
- package/dist/cdn/{SSZMOOL6.js → F4HWT5H3.js} +1 -1
- package/dist/cdn/{ERTOHEVB.js → FB6YQKF2.js} +1 -1
- package/dist/cdn/{ACWGHEWO.js → FYTMMPPG.js} +1 -1
- package/dist/cdn/{POEZXWTT.js → GNGZFV2C.js} +1 -1
- package/dist/cdn/{LCUXPDUW.js → GY5226CJ.js} +1 -1
- package/dist/cdn/{QX27DK37.js → HB3W3CO5.js} +1 -1
- package/dist/cdn/{3A7HYDQP.js → HE6QV4XG.js} +1 -1
- package/dist/cdn/{J7ZNOOZ4.js → HEAH7MYD.js} +1 -1
- package/dist/cdn/{4URF7CKU.js → HH6BDERO.js} +1 -1
- package/dist/cdn/{QLPUP6A3.js → HHJN3Q6G.js} +1 -1
- package/dist/cdn/{FQJMTGXO.js → HO4JUZ6N.js} +1 -1
- package/dist/cdn/{JLIZWDU5.js → I5QTPPFJ.js} +1 -1
- package/dist/cdn/{VGTTCLO3.js → IDDSHZVB.js} +1 -1
- package/dist/cdn/{7CBBWB77.js → J55YUTPM.js} +1 -1
- package/dist/cdn/JRPIJ24K.js +2 -0
- package/dist/cdn/{6XJFSJGE.js → K27JJT2P.js} +1 -1
- package/dist/cdn/{LVSNYSCO.js → KAXJKSFB.js} +1 -1
- package/dist/cdn/{RXFUZXUX.js → KHM3S4Q6.js} +1 -1
- package/dist/cdn/{PFYZ7JRB.js → KNAUIRT6.js} +1 -1
- package/dist/cdn/{IY2G6DLG.js → KY2UAUNI.js} +1 -1
- package/dist/cdn/{JMHCIJG4.js → LG4PZVHS.js} +1 -1
- package/dist/cdn/{XWAT4IT2.js → LHEP4QSS.js} +1 -1
- package/dist/cdn/LIEE5WCD.js +2 -0
- package/dist/cdn/{KQNQ6ITI.js → LZQCXN6A.js} +1 -1
- package/dist/cdn/{JCV26SSG.js → M4L5EDRB.js} +1 -1
- package/dist/cdn/{2K45WUVH.js → M65HMJZA.js} +1 -1
- package/dist/cdn/{U5HXLA7K.js → MAGJWMWM.js} +1 -1
- package/dist/cdn/{XTFD35UI.js → MDCB7SO4.js} +1 -1
- package/dist/cdn/{KLBNUE5Q.js → N3BD4UQD.js} +1 -1
- package/dist/cdn/{7357JBTM.js → NGKNECON.js} +1 -1
- package/dist/cdn/NHMOFXEE.js +2 -0
- package/dist/cdn/{YR3SQWM6.js → NRBM3YR6.js} +1 -1
- package/dist/cdn/{77ERVO5S.js → NRV7VFJ7.js} +1 -1
- package/dist/cdn/{YBJEMNAU.js → NSGDR7V5.js} +1 -1
- package/dist/cdn/{CQ2L75M3.js → NZAO2BVV.js} +1 -1
- package/dist/cdn/{OJNMPOYD.js → OCEXQCFT.js} +1 -1
- package/dist/cdn/{FANKLSAT.js → OD5DHUHZ.js} +1 -1
- package/dist/cdn/{L6LZYPWJ.js → ORH27QWU.js} +1 -1
- package/dist/cdn/{5PJEJPFY.js → OSPWEZQJ.js} +1 -1
- package/dist/cdn/{BB5CXHDQ.js → PISCYSA5.js} +1 -1
- package/dist/cdn/{IIPYTUR3.js → PMQLTMQ4.js} +1 -1
- package/dist/cdn/PZC5TBXA.js +2 -0
- package/dist/cdn/{GHA2ANJZ.js → QJOQNSYB.js} +1 -1
- package/dist/cdn/{LZ3PMD7Z.js → QVMTO5BV.js} +1 -1
- package/dist/cdn/{L7NIKN24.js → R4V6HGJH.js} +1 -1
- package/dist/cdn/R7BJHEHH.js +2 -0
- package/dist/cdn/{4YQLL44L.js → RP5SO6BA.js} +1 -1
- package/dist/cdn/{JC4DYMKT.js → RRXH4CSV.js} +1 -1
- package/dist/cdn/{7S4WE6H3.js → RUB6EORR.js} +1 -1
- package/dist/cdn/{CIUAWIL5.js → S4NUCPRQ.js} +2 -2
- package/dist/cdn/{SFM3XWUA.js → S6G6XXTM.js} +1 -1
- package/dist/cdn/{HVI2FE73.js → SZ5MNKOW.js} +1 -1
- package/dist/cdn/{RISVXUI4.js → T2ZF4XIZ.js} +1 -1
- package/dist/cdn/{U5FUT6DD.js → TP6I2LJO.js} +1 -1
- package/dist/cdn/{4IC3NWKK.js → TPOLS4YM.js} +1 -1
- package/dist/cdn/{5V7HEV2R.js → TUW6NLYY.js} +1 -1
- package/dist/cdn/{KG2M6IQS.js → U4QW6VHU.js} +1 -1
- package/dist/cdn/{SZNBYDQI.js → UAO23YMW.js} +1 -1
- package/dist/cdn/{LY735GHL.js → UHFSSX2G.js} +1 -1
- package/dist/cdn/{33U3K3P2.js → UKKUFJLL.js} +1 -1
- package/dist/cdn/{4PWBNKOA.js → UKNKW6MH.js} +1 -1
- package/dist/cdn/{DUT3D6UH.js → UM2FDZJJ.js} +1 -1
- package/dist/cdn/{DLUXWET4.js → UNX4CKAF.js} +1 -1
- package/dist/cdn/{5LD4AU4Q.js → VNOZYJLP.js} +1 -1
- package/dist/cdn/{OMKVQOUI.js → VU3SJK5Z.js} +1 -1
- package/dist/cdn/{I2WEEE2E.js → WGWNMYUH.js} +1 -1
- package/dist/cdn/{LLNNQ2ED.js → WOV3LB6K.js} +1 -1
- package/dist/cdn/{ZIX3WE2Q.js → WTMMFDEH.js} +1 -1
- package/dist/cdn/{E4YMNWRJ.js → WW6L6XX4.js} +1 -1
- package/dist/cdn/{BAPY2HFP.js → XMSGTOUV.js} +1 -1
- package/dist/cdn/XMZSFKKO.js +2 -0
- package/dist/cdn/{LMV6L2OF.js → XRP25NGI.js} +1 -1
- package/dist/cdn/{ILPNFQWH.js → XW72RT5D.js} +1 -1
- package/dist/cdn/{RWJKQEMK.js → XXZ3CKTX.js} +1 -1
- package/dist/cdn/{ZHINQNZ2.js → Y6IN6NEC.js} +1 -1
- package/dist/cdn/{AFU3S7KW.js → YC5JACID.js} +1 -1
- package/dist/cdn/{SKGRUNAJ.js → YC6JWXOW.js} +1 -1
- package/dist/cdn/{GUAI5SHN.js → YFUI4F5L.js} +1 -1
- package/dist/cdn/{N76CLHYJ.js → ZD25GJYW.js} +1 -1
- package/dist/cdn/{67IVXIOR.js → ZD5FJHIQ.js} +1 -1
- package/dist/cdn/{UDPUTCKL.js → ZM2YXU7Y.js} +1 -1
- package/dist/cdn/{2BJHF4JK.js → ZURN5EZI.js} +1 -1
- package/dist/cdn/{KNJ7PME5.js → ZVTPU2MO.js} +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/chunks/useArcgisViewReadyError.js +7 -7
- package/dist/components/arcgis-area-measurement-2d/customElement.d.ts +5 -5
- package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +7 -7
- package/dist/components/arcgis-basemap-toggle/customElement.d.ts +1 -1
- package/dist/components/arcgis-bookmarks/customElement.d.ts +1 -1
- package/dist/components/arcgis-building-explorer/customElement.d.ts +4 -4
- package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +1 -1
- package/dist/components/arcgis-daylight/customElement.d.ts +13 -13
- package/dist/components/arcgis-daylight/customElement.js +2 -1
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.d.ts +7 -7
- package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +5 -5
- package/dist/components/arcgis-elevation-profile/customElement.d.ts +8 -8
- package/dist/components/arcgis-feature/customElement.d.ts +7 -7
- package/dist/components/arcgis-feature-fields/customElement.js +7 -7
- package/dist/components/arcgis-feature-form/customElement.d.ts +2 -2
- package/dist/components/arcgis-features/customElement.d.ts +41 -43
- package/dist/components/arcgis-features/customElement.js +18 -12
- package/dist/components/arcgis-floor-filter/customElement.d.ts +3 -3
- package/dist/components/arcgis-grid-controls/customElement.d.ts +8 -8
- package/dist/components/arcgis-legend/customElement.d.ts +1 -1
- package/dist/components/arcgis-line-of-sight/customElement.d.ts +5 -5
- package/dist/components/arcgis-link-chart/customElement.d.ts +6 -6
- package/dist/components/arcgis-link-chart-nonspatial-visibility-toggle/customElement.js +13 -13
- package/dist/components/arcgis-locate/customElement.d.ts +1 -1
- package/dist/components/arcgis-map/customElement.d.ts +42 -42
- package/dist/components/arcgis-measurement/customElement.d.ts +3 -3
- package/dist/components/arcgis-multi-feature-form/customElement.d.ts +1 -1
- package/dist/components/arcgis-navigation-toggle/customElement.d.ts +1 -1
- package/dist/components/arcgis-popup/customElement.d.ts +50 -52
- package/dist/components/arcgis-popup/customElement.js +50 -55
- package/dist/components/arcgis-popup/types.d.ts +1 -1
- package/dist/components/arcgis-print/customElement.d.ts +6 -6
- package/dist/components/arcgis-scene/customElement.d.ts +33 -33
- package/dist/components/arcgis-search/customElement.d.ts +11 -11
- package/dist/components/arcgis-shadow-cast/customElement.d.ts +26 -26
- package/dist/components/arcgis-slice/customElement.d.ts +12 -12
- package/dist/components/arcgis-slider-binary-color-size-legacy/customElement.d.ts +66 -85
- package/dist/components/arcgis-slider-classed-color-legacy/customElement.d.ts +33 -38
- package/dist/components/arcgis-slider-classed-size-legacy/customElement.d.ts +32 -34
- package/dist/components/arcgis-slider-color-legacy/customElement.d.ts +63 -84
- package/dist/components/arcgis-slider-color-size-legacy/customElement.d.ts +66 -81
- package/dist/components/arcgis-slider-heatmap-legacy/customElement.d.ts +6 -6
- package/dist/components/arcgis-slider-opacity-legacy/customElement.d.ts +58 -75
- package/dist/components/arcgis-slider-size-legacy/customElement.d.ts +61 -76
- package/dist/components/arcgis-swipe/customElement.d.ts +5 -5
- package/dist/components/arcgis-time-zone-label/customElement.d.ts +6 -29
- 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-track/customElement.d.ts +1 -1
- package/dist/components/arcgis-utility-network-trace-analysis/customElement.d.ts +6 -9
- package/dist/components/arcgis-utility-network-trace-inputs/customElement.d.ts +4 -4
- package/dist/components/arcgis-utility-network-trace-inputs/customElement.js +28 -26
- package/dist/components/arcgis-utility-network-trace-location/customElement.d.ts +3 -3
- package/dist/components/arcgis-utility-network-trace-results/customElement.d.ts +1 -1
- package/dist/components/arcgis-utility-network-trace-results/customElement.js +44 -44
- package/dist/components/arcgis-value-picker-legacy/customElement.d.ts +17 -18
- package/dist/components/arcgis-video-player/customElement.d.ts +1 -1
- package/dist/components/arcgis-volume-measurement/customElement.d.ts +14 -14
- package/dist/components/arcgis-volume-measurement/customElement.js +1 -1
- package/dist/components/arcgis-weather/customElement.d.ts +5 -5
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/vscode.html-custom-data.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/loader.js +1 -1
- package/dist/types/lumina.d.ts +1 -2
- package/dist/types/preact.d.ts +1 -2
- package/dist/types/react.d.ts +1 -2
- package/dist/types/stencil.d.ts +1 -2
- package/package.json +4 -4
- package/dist/cdn/23UYZVTW.js +0 -2
- package/dist/cdn/AIRDJCFV.js +0 -2
- package/dist/cdn/CKBTMA4D.js +0 -2
- package/dist/cdn/CKNH5OMJ.js +0 -2
- package/dist/cdn/CZE43OAC.js +0 -2
- package/dist/cdn/D6YUW72R.js +0 -2
- package/dist/cdn/FEQLUSM2.js +0 -2
- package/dist/cdn/G4A4VLTL.js +0 -2
- package/dist/cdn/GQN4ALIE.js +0 -2
- package/dist/cdn/I3PBMKT5.js +0 -2
- package/dist/cdn/IPNIJANM.js +0 -2
- package/dist/cdn/LVMJAMRO.js +0 -2
- package/dist/cdn/MW73TE2N.js +0 -2
- package/dist/cdn/OKZSKR6W.js +0 -2
- package/dist/cdn/VPJCFCJU.js +0 -2
- /package/dist/cdn/{UQ7E33T4.js → 2SQUOXWG.js} +0 -0
- /package/dist/cdn/{KAJ3U6DP.js → 3GVHNIXM.js} +0 -0
- /package/dist/cdn/{E2KWMQKQ.js → 3NF4UU3S.js} +0 -0
- /package/dist/cdn/{PHF2XKSK.js → 43UMYTXQ.js} +0 -0
- /package/dist/cdn/{CHDRBZNL.js → 47T624VO.js} +0 -0
- /package/dist/cdn/{X5H6ZUFX.js → 4NBXFFTY.js} +0 -0
- /package/dist/cdn/{DDI363AI.js → 5IPPKC3M.js} +0 -0
- /package/dist/cdn/{LCXF3AKY.js → 6JUTQDKC.js} +0 -0
- /package/dist/cdn/{YMU5IPMP.js → 6QPD32WT.js} +0 -0
- /package/dist/cdn/{M6TJN2I5.js → 7LEGS7EX.js} +0 -0
- /package/dist/cdn/{ORP3ZND2.js → AQG5RIV3.js} +0 -0
- /package/dist/cdn/{W5XM52J7.js → B3I4OKDQ.js} +0 -0
- /package/dist/cdn/{RCD5UKTW.js → BFHBS4MR.js} +0 -0
- /package/dist/cdn/{CRR65TKV.js → D3X7R3GD.js} +0 -0
- /package/dist/cdn/{7FMJZURP.js → DYC6OHKG.js} +0 -0
- /package/dist/cdn/{5OB4E5PR.js → DZG4EA6U.js} +0 -0
- /package/dist/cdn/{W5B5LTGN.js → ELF2SE5K.js} +0 -0
- /package/dist/cdn/{UVZZX6YP.js → FHSXSYA6.js} +0 -0
- /package/dist/cdn/{BQIH5T3S.js → FRWY77LH.js} +0 -0
- /package/dist/cdn/{ZFFBK3VO.js → FYVM32GJ.js} +0 -0
- /package/dist/cdn/{B7IYR676.js → GVW4OIR5.js} +0 -0
- /package/dist/cdn/{FPD3STSJ.js → H6LWU2FC.js} +0 -0
- /package/dist/cdn/{DEOCASGG.js → HEBLEJCT.js} +0 -0
- /package/dist/cdn/{OSRAPPNR.js → IDITPQDC.js} +0 -0
- /package/dist/cdn/{DWZIXPJ4.js → J3F5FPMC.js} +0 -0
- /package/dist/cdn/{YP3JKXC4.js → JMZA4GQB.js} +0 -0
- /package/dist/cdn/{JDPQMOEW.js → JPDYVHUZ.js} +0 -0
- /package/dist/cdn/{PUOWH3YL.js → KNFAPO3C.js} +0 -0
- /package/dist/cdn/{W2Q7NWBG.js → LEC4CIVO.js} +0 -0
- /package/dist/cdn/{JMDNJPNT.js → NCTWDKYG.js} +0 -0
- /package/dist/cdn/{RDW2NJPR.js → PDCUZMSB.js} +0 -0
- /package/dist/cdn/{76ESM6B2.js → RJTABGPK.js} +0 -0
- /package/dist/cdn/{2ZL4CF6P.js → SPXZXKMH.js} +0 -0
- /package/dist/cdn/{HZTWWEVM.js → TRPYDMNK.js} +0 -0
- /package/dist/cdn/{YHVFARHN.js → UYDFCELQ.js} +0 -0
- /package/dist/cdn/{55VMVXRK.js → V2D4QTRR.js} +0 -0
- /package/dist/cdn/{QAXR4LT6.js → WBZEEY5N.js} +0 -0
- /package/dist/cdn/{YDJGMRV3.js → WG5RPCHL.js} +0 -0
- /package/dist/cdn/{ZLIZCBGT.js → WL4J6REN.js} +0 -0
- /package/dist/cdn/{GB42YXHR.js → XJQRAKJ6.js} +0 -0
- /package/dist/cdn/{L4WRYSKZ.js → YGJ7NPDT.js} +0 -0
- /package/dist/cdn/{V3M37NHT.js → ZJ36DBTH.js} +0 -0
|
@@ -9,7 +9,7 @@ import type { Icon as Icon } from "@esri/calcite-components/components/calcite-i
|
|
|
9
9
|
import type { SystemOrLengthUnit } from "@arcgis/core/core/units.js";
|
|
10
10
|
|
|
11
11
|
/**
|
|
12
|
-
* The Direct Line Measurement 3D component can be added to
|
|
12
|
+
* The Direct Line Measurement 3D component can be added to an [arcgis-scene](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/)
|
|
13
13
|
* component to calculate and display vertical, horizontal, and direct distances between two points.
|
|
14
14
|
*
|
|
15
15
|
* [](https://developers.arcgis.com/javascript/latest/sample-code/measurement-3d/)
|
|
@@ -37,8 +37,8 @@ import type { SystemOrLengthUnit } from "@arcgis/core/core/units.js";
|
|
|
37
37
|
*
|
|
38
38
|
* **Things to consider**
|
|
39
39
|
*
|
|
40
|
-
* * Direct Line Measurement 3D is designed to work in the Scene component. For measurements in the [
|
|
41
|
-
* component, use [
|
|
40
|
+
* * Direct Line Measurement 3D is designed to work in the Scene component. For measurements in the [arcgis-map](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/)
|
|
41
|
+
* component, use [arcgis-distance-measurement-2d](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-distance-measurement-2d/).
|
|
42
42
|
* * Snapping is enabled by default. This can be temporarily disabled by holding the `CTRL` key.
|
|
43
43
|
* * Layer types currently supported for snapping are:
|
|
44
44
|
* [FeatureLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/FeatureLayer/),
|
|
@@ -63,9 +63,9 @@ export abstract class ArcgisDirectLineMeasurement3d extends LitElement {
|
|
|
63
63
|
* The [DirectLineMeasurementAnalysis](https://developers.arcgis.com/javascript/latest/references/core/analysis/DirectLineMeasurementAnalysis/)
|
|
64
64
|
* created or modified by the component.
|
|
65
65
|
*
|
|
66
|
-
* When connecting the Direct Line Measurement 3D component to
|
|
66
|
+
* When connecting the Direct Line Measurement 3D component to an [arcgis-scene](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/)
|
|
67
67
|
* component, it automatically creates an empty analysis and adds it to the Scene's
|
|
68
|
-
* [analyses](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/#analyses) collection.
|
|
68
|
+
* [arcgis-scene.analyses](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/#analyses) collection.
|
|
69
69
|
* You can then wait for the [DirectLineMeasurementAnalysisView3D](https://developers.arcgis.com/javascript/latest/references/core/views/3d/analysis/DirectLineMeasurementAnalysisView3D/)
|
|
70
70
|
* to be created before accessing the analysis results.
|
|
71
71
|
*
|
|
@@ -208,13 +208,13 @@ export abstract class ArcgisDirectLineMeasurement3d extends LitElement {
|
|
|
208
208
|
get state(): DirectLineMeasurement3DState;
|
|
209
209
|
/**
|
|
210
210
|
* Unit system (imperial, metric) or specific unit used for displaying the distance values. Possible values are listed in
|
|
211
|
-
* [unitOptions](
|
|
211
|
+
* [unitOptions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-direct-line-measurement-3d/#unitOptions).
|
|
212
212
|
*/
|
|
213
213
|
accessor unit: SystemOrLengthUnit;
|
|
214
214
|
/**
|
|
215
215
|
* List of available units and unit systems (imperial, metric) that are shown in the component's dropdown.
|
|
216
216
|
* By default, the following units are included: `metric`, `imperial`, `inches`, `feet`, `us-feet`, `yards`, `miles`, `nautical-miles`, `meters`, `kilometers`.
|
|
217
|
-
* Possible [unit](
|
|
217
|
+
* Possible [unit](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-direct-line-measurement-3d/#unit) values can only be a subset of this list.
|
|
218
218
|
*/
|
|
219
219
|
accessor unitOptions: Array<SystemOrLengthUnit>;
|
|
220
220
|
/**
|
|
@@ -10,7 +10,7 @@ import type { Icon as Icon } from "@esri/calcite-components/components/calcite-i
|
|
|
10
10
|
import type { SystemOrLengthUnit } from "@arcgis/core/core/units.js";
|
|
11
11
|
|
|
12
12
|
/**
|
|
13
|
-
* The Distance Measurement 2D component can be added to
|
|
13
|
+
* The Distance Measurement 2D component can be added to an [arcgis-map](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/)
|
|
14
14
|
* component to calculate and display the length of a polyline.
|
|
15
15
|
*
|
|
16
16
|
* How distances are computed depends on the scene's spatial reference.
|
|
@@ -26,9 +26,9 @@ export abstract class ArcgisDistanceMeasurement2d extends LitElement {
|
|
|
26
26
|
* The [DistanceMeasurementAnalysis](https://developers.arcgis.com/javascript/latest/references/core/analysis/DistanceMeasurementAnalysis/)
|
|
27
27
|
* created or modified by the component.
|
|
28
28
|
*
|
|
29
|
-
* When connecting the Distance Measurement 2D component to the [
|
|
29
|
+
* When connecting the Distance Measurement 2D component to the [arcgis-map](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/)
|
|
30
30
|
* component, it automatically creates an empty analysis and adds it to the Map's
|
|
31
|
-
* [analyses](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#analyses) collection.
|
|
31
|
+
* [arcgis-map.analyses](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#analyses) collection.
|
|
32
32
|
* You can then wait for the [DistanceMeasurementAnalysisView2D](https://developers.arcgis.com/javascript/latest/references/core/views/2d/analysis/DistanceMeasurementAnalysisView2D/)
|
|
33
33
|
* to be created before accessing the analysis results.
|
|
34
34
|
*
|
|
@@ -180,13 +180,13 @@ export abstract class ArcgisDistanceMeasurement2d extends LitElement {
|
|
|
180
180
|
get state(): DistanceMeasurement2DState;
|
|
181
181
|
/**
|
|
182
182
|
* Unit system (imperial, metric) or specific unit used for displaying the distance values. Possible values are listed in
|
|
183
|
-
* [unitOptions](
|
|
183
|
+
* [unitOptions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-distance-measurement-2d/#unitOptions).
|
|
184
184
|
*/
|
|
185
185
|
accessor unit: SystemOrLengthUnit;
|
|
186
186
|
/**
|
|
187
187
|
* List of available units and unit systems (imperial, metric) that are shown in the component's dropdown.
|
|
188
188
|
* By default, the following units are included: `metric`, `imperial`, `inches`, `feet`, `us-feet`, `yards`, `miles`, `nautical-miles`, `meters`, `kilometers`.
|
|
189
|
-
* Possible [unit](
|
|
189
|
+
* Possible [unit](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-distance-measurement-2d/#unit) values can only be a subset of this list.
|
|
190
190
|
*/
|
|
191
191
|
accessor unitOptions: Array<SystemOrLengthUnit>;
|
|
192
192
|
/**
|
|
@@ -20,14 +20,14 @@ import type { SystemOrLengthUnit } from "@arcgis/core/core/units.js";
|
|
|
20
20
|
*
|
|
21
21
|
* [](https://developers.arcgis.com/javascript/latest/sample-code/elevation-profile/)
|
|
22
22
|
*
|
|
23
|
-
* The component can visualize multiple profile lines, depending on whether it is used in
|
|
23
|
+
* The component can visualize multiple profile lines, depending on whether it is used in an [arcgis-map](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/) component or an [arcgis-scene](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/) component and on the available elevation source data:
|
|
24
24
|
*
|
|
25
|
-
* * [**ElevationProfileLineGround**](https://developers.arcgis.com/javascript/latest/references/core/analysis/ElevationProfile/ElevationProfileLineGround/): represents a profile line that uses elevation from [
|
|
25
|
+
* * [**ElevationProfileLineGround**](https://developers.arcgis.com/javascript/latest/references/core/analysis/ElevationProfile/ElevationProfileLineGround/): represents a profile line that uses elevation from [arcgis-map.ground](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#ground) of the connected Map or Scene component. The profile recomputes automatically when ground layers are added, removed, or their visibility changes.
|
|
26
26
|
* * [**ElevationProfileLineInput**](https://developers.arcgis.com/javascript/latest/references/core/analysis/ElevationProfile/ElevationProfileLineInput/): represents a profile line that reads elevation from the analysis geometry itself; typically used for polylines with z values. If the line lacks z values but is displayed with a non-draped elevation mode, a profile is still computed. If `elevationInfo` is set to `on-the-ground`, elevation comes from the Ground (when ground layers are present). An elevation offset can be applied. In a Map this requires client-side graphics that already contain z values.
|
|
27
27
|
* * [**ElevationProfileLineQuery**](https://developers.arcgis.com/javascript/latest/references/core/analysis/ElevationProfile/ElevationProfileLineQuery/): represents a profile line that samples elevation from the elevation source set in the [source](https://developers.arcgis.com/javascript/latest/references/core/analysis/ElevationProfile/ElevationProfileLineQuery/#source) property. The elevation source can be an [ElevationLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/ElevationLayer/) or an object with a method called `queryElevation` that has the same signature as [queryElevation()](https://developers.arcgis.com/javascript/latest/references/core/layers/ElevationLayer/#queryElevation).
|
|
28
28
|
* * [**ElevationProfileLineScene**](https://developers.arcgis.com/javascript/latest/references/core/analysis/ElevationProfile/ElevationProfileLineScene/): represents a profile line that derives elevation from the `Scene` and all its volumetric objects (e.g. SceneLayer, IntegratedMeshLayer).
|
|
29
29
|
*
|
|
30
|
-
* You can choose to display one or several profile lines in the chart, by setting them in the [profiles](
|
|
30
|
+
* You can choose to display one or several profile lines in the chart, by setting them in the [profiles](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-elevation-profile/#profiles) property.
|
|
31
31
|
*
|
|
32
32
|
* Hovering over the chart shows an overlaid tooltip with elevation values of all profiles, and displays colored dot markers at the matching positions.
|
|
33
33
|
*
|
|
@@ -45,7 +45,7 @@ import type { SystemOrLengthUnit } from "@arcgis/core/core/units.js";
|
|
|
45
45
|
* **Known limitations**
|
|
46
46
|
*
|
|
47
47
|
* - [ElevationProfileLineInput](https://developers.arcgis.com/javascript/latest/references/core/analysis/ElevationProfile/ElevationProfileLineInput/) in 2D is only valid when the analysis [geometry](https://developers.arcgis.com/javascript/latest/references/core/analysis/ElevationProfileAnalysis/#geometry) has z values, `hasZ===true` and no [elevationInfo](https://developers.arcgis.com/javascript/latest/references/core/analysis/ElevationProfileAnalysis/#elevationInfo) is set.
|
|
48
|
-
* - [ElevationProfileLineScene](https://developers.arcgis.com/javascript/latest/references/core/analysis/ElevationProfile/ElevationProfileLineScene/) is only supported in a 3D [
|
|
48
|
+
* - [ElevationProfileLineScene](https://developers.arcgis.com/javascript/latest/references/core/analysis/ElevationProfile/ElevationProfileLineScene/) is only supported in a 3D [arcgis-scene](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/) component.
|
|
49
49
|
*
|
|
50
50
|
* **See also**
|
|
51
51
|
*
|
|
@@ -160,11 +160,11 @@ export abstract class ArcgisElevationProfile extends LitElement {
|
|
|
160
160
|
* The [ElevationProfileAnalysis](https://developers.arcgis.com/javascript/latest/references/core/analysis/ElevationProfileAnalysis/)
|
|
161
161
|
* created or modified by the component.
|
|
162
162
|
*
|
|
163
|
-
* When connecting the Elevation Profile component to the [
|
|
164
|
-
* or [
|
|
163
|
+
* When connecting the Elevation Profile component to the [arcgis-map](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/)
|
|
164
|
+
* or [arcgis-scene](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/)
|
|
165
165
|
* components, it automatically creates an empty analysis and adds it to the Map's
|
|
166
|
-
* [analyses](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#analyses) collection or the Scene's
|
|
167
|
-
* [analyses](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/#analyses) collection.
|
|
166
|
+
* [arcgis-map.analyses](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#analyses) collection or the Scene's
|
|
167
|
+
* [arcgis-scene.analyses](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/#analyses) collection.
|
|
168
168
|
* You can then wait for the [ElevationProfileAnalysisView2D](https://developers.arcgis.com/javascript/latest/references/core/views/2d/analysis/ElevationProfileAnalysisView2D/)
|
|
169
169
|
* or [ElevationProfileAnalysisView3D](https://developers.arcgis.com/javascript/latest/references/core/views/3d/analysis/ElevationProfileAnalysisView3D/)
|
|
170
170
|
* to be created (depending on whether you are using a Map or Scene component) before accessing the analysis results.
|
|
@@ -18,7 +18,7 @@ import type { State } from "@arcgis/core/widgets/Feature/types.js";
|
|
|
18
18
|
* If wanting to show a feature's content with [actions](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/#actions), [related](https://developers.arcgis.com/javascript/latest/references/core/popup/content/RelationshipContent/), or [clustering](https://developers.arcgis.com/javascript/latest/references/core/layers/support/FeatureReductionCluster/#popupTemplate), etc., then use the [arcgis-features](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features/) component.
|
|
19
19
|
*
|
|
20
20
|
* When Arcade expressions that use `$map` or [geometry functions](https://developers.arcgis.com/arcade/function-reference/geometry_functions/) are defined in any popup template content or as expression elements,
|
|
21
|
-
* the [map](
|
|
21
|
+
* the [map](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-feature/#map) and [spatialReference](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-feature/#spatialReference) properties need to be defined in the Feature component.
|
|
22
22
|
*
|
|
23
23
|
* @see [Arcade Profiles: Popup](https://developers.arcgis.com/arcade/profiles/popup/)
|
|
24
24
|
* @see [Arcade - expression language](https://developers.arcgis.com/javascript/latest/arcade/)
|
|
@@ -94,16 +94,16 @@ export abstract class ArcgisFeature extends LitElement {
|
|
|
94
94
|
*/
|
|
95
95
|
accessor graphic: Graphic | null | undefined;
|
|
96
96
|
/**
|
|
97
|
-
* The title for the feature. This can be disabled by setting the [
|
|
97
|
+
* The title for the feature. This can be disabled by setting the [hideHeading](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-feature/#hideHeading) property to `true`.
|
|
98
98
|
*
|
|
99
99
|
* @default null
|
|
100
100
|
* @since 4.34
|
|
101
|
-
* @see [headingLevel](
|
|
102
|
-
* @see [hideHeading](
|
|
101
|
+
* @see [headingLevel](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-feature/#headingLevel)
|
|
102
|
+
* @see [hideHeading](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-feature/#hideHeading)
|
|
103
103
|
*/
|
|
104
104
|
get heading(): string;
|
|
105
105
|
/**
|
|
106
|
-
* Indicates the heading level to use for the [heading](
|
|
106
|
+
* Indicates the heading level to use for the [heading](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-feature/#heading) of the component.
|
|
107
107
|
* By default, the title is rendered
|
|
108
108
|
* as a level 2 heading (e.g. `<h2>Title of content</h2>`). Depending on the component's placement
|
|
109
109
|
* in your app, you may need to adjust this heading for proper semantics. This is
|
|
@@ -154,7 +154,7 @@ export abstract class ArcgisFeature extends LitElement {
|
|
|
154
154
|
*/
|
|
155
155
|
accessor hideFieldsContent: boolean;
|
|
156
156
|
/**
|
|
157
|
-
* This property provides the ability to hide or show the component's [heading](
|
|
157
|
+
* This property provides the ability to hide or show the component's [heading](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-feature/#heading).
|
|
158
158
|
*
|
|
159
159
|
* @default false
|
|
160
160
|
* @since 4.34
|
|
@@ -211,7 +211,7 @@ export abstract class ArcgisFeature extends LitElement {
|
|
|
211
211
|
*/
|
|
212
212
|
accessor location: Point | null | undefined;
|
|
213
213
|
/**
|
|
214
|
-
* A map is required when the input [graphic](
|
|
214
|
+
* A map is required when the input [graphic](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-feature/#graphic) has a popupTemplate that contains [Arcade](https://developers.arcgis.com/arcade) expressions in [ExpressionInfo](https://developers.arcgis.com/javascript/latest/references/core/popup/ExpressionInfo/) or [ExpressionContent](https://developers.arcgis.com/javascript/latest/references/core/popup/content/ExpressionContent/) that may use the `$map` profile variable to access data from layers within a map. Without a map, expressions that use `$map` will throw an error.
|
|
215
215
|
*
|
|
216
216
|
* @default null
|
|
217
217
|
* @see [Type system](https://developers.arcgis.com/arcade/guide/types/#featuresetcollection)
|
|
@@ -4,9 +4,9 @@ import { css as f, html as p } from "lit";
|
|
|
4
4
|
import { renderingSanitizer as c } from "@arcgis/core/applications/Components/sanitizerUtils.js";
|
|
5
5
|
import { LitElement as b } from "@arcgis/lumina";
|
|
6
6
|
import { addLtrMark as u } from "@arcgis/toolkit/string";
|
|
7
|
-
import { j as v, k as $, l as
|
|
7
|
+
import { j as v, k as $, l as w } from "../../chunks/feature-utils.js";
|
|
8
8
|
import { replace as g } from "@arcgis/core/applications/Components/stringUtils.js";
|
|
9
|
-
const
|
|
9
|
+
const I = [
|
|
10
10
|
{
|
|
11
11
|
pattern: /^\s*(https?:\/\/([^\s]+))\s*$/iu,
|
|
12
12
|
target: "_blank",
|
|
@@ -78,8 +78,8 @@ const F = [
|
|
|
78
78
|
appName: "Microsoft Power Bi"
|
|
79
79
|
}
|
|
80
80
|
];
|
|
81
|
-
function
|
|
82
|
-
const e =
|
|
81
|
+
function F(d, t) {
|
|
82
|
+
const e = I.find((l) => l.pattern.test(t));
|
|
83
83
|
if (!e)
|
|
84
84
|
return t;
|
|
85
85
|
const i = t.match(e.pattern)?.[2], a = g(
|
|
@@ -91,7 +91,7 @@ function w(d, t) {
|
|
|
91
91
|
appName: e.appName
|
|
92
92
|
}
|
|
93
93
|
), n = e.target ? ` target="${e.target}"` : "", r = e.target === "_blank" ? ' rel="noreferrer"' : "";
|
|
94
|
-
return c.sanitizeUrl(new URL(t, window.location.origin).toString()).replace(e.pattern, `<a${n} href="$1"${r}>${a}</a>`);
|
|
94
|
+
return c.sanitizeUrl(new URL(t, window.location.origin === "null" ? void 0 : window.location.origin).toString()).replace(e.pattern, `<a${n} href="$1"${r}>${a}</a>`);
|
|
95
95
|
}
|
|
96
96
|
const N = f`.table{border:none;width:100%;border-collapse:collapse;color:var(--calcite-color-text-2)}.table caption{clip:rect(0 0 0 0);clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}.table tr:nth-child(odd){background-color:var(--calcite-color-foreground-1)}.table tr:nth-child(2n){background-color:var(--calcite-color-foreground-2)}.table tr a{color:var(--calcite-color-text-link)}.table tr a:hover,.table tr a:focus{color:var(--calcite-color-brand-hover)}.table tr td,.table tr th{padding:var(--calcite-spacing-xs) var(--calcite-spacing-sm);vertical-align:top;word-break:break-word;font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular);line-height:var(--calcite-font-line-height-relative-normal)}.table tr th{border-inline-end:var(--calcite-border-width-md) solid var(--calcite-color-border-3);width:50%;text-align:start}.table tr td{width:50%}`;
|
|
97
97
|
class y extends b {
|
|
@@ -112,7 +112,7 @@ class y extends b {
|
|
|
112
112
|
const o = r.clone();
|
|
113
113
|
o.label = v({ fieldInfo: o, expressionInfos: t, layer: s, graphic: i, isContentFieldInfos: a });
|
|
114
114
|
const m = $({ fieldInfo: r, graphic: i, layer: s });
|
|
115
|
-
m && (o.fieldFormat =
|
|
115
|
+
m && (o.fieldFormat = w({
|
|
116
116
|
configurableFieldsContainer: m,
|
|
117
117
|
fieldInfo: o,
|
|
118
118
|
isContentFieldInfos: a
|
|
@@ -126,7 +126,7 @@ class y extends b {
|
|
|
126
126
|
const { values: e } = this, s = t.fieldName || "", i = t.label || s, a = e ? e[s] == null ? "" : e[s] : "", n = t?.fieldFormat?.type === "date-time", r = {
|
|
127
127
|
openInApp: this.messages?.openInApp ?? "",
|
|
128
128
|
view: this.messages?.view ?? ""
|
|
129
|
-
}, l = typeof a == "number" && !n ? u(`${a}`) : typeof a == "string" ?
|
|
129
|
+
}, l = typeof a == "number" && !n ? u(`${a}`) : typeof a == "string" ? F(r, a) : `${a}`;
|
|
130
130
|
return p`<tr><th .innerHTML=${c.sanitize(i) ?? ""}></th><td .innerHTML=${c.sanitize(l) ?? ""}></td></tr>`;
|
|
131
131
|
}
|
|
132
132
|
_renderFields() {
|
|
@@ -166,7 +166,7 @@ export abstract class ArcgisFeatureForm extends LitElement {
|
|
|
166
166
|
*/
|
|
167
167
|
accessor layer: FeatureFormLayerUnion | null | undefined;
|
|
168
168
|
/**
|
|
169
|
-
* A map is required when the input [
|
|
169
|
+
* A map is required when the input [layer](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-feature-form/#layer) has a popupTemplate that contains [Arcade](https://developers.arcgis.com/arcade) expressions in [ExpressionInfo](https://developers.arcgis.com/javascript/latest/references/core/popup/ExpressionInfo/) or [ExpressionContent](https://developers.arcgis.com/javascript/latest/references/core/popup/content/ExpressionContent/) that may use the `$map` profile variable to access data from layers within a map. Without a map, expressions that use `$map` will throw an error.
|
|
170
170
|
*
|
|
171
171
|
* @default null
|
|
172
172
|
* @see [Type system](https://developers.arcgis.com/arcade/guide/types/#featuresetcollection)
|
|
@@ -210,7 +210,7 @@ export abstract class ArcgisFeatureForm extends LitElement {
|
|
|
210
210
|
readonly arcgisPropertyChange: import("@arcgis/lumina").TargetedEvent<this, { name: "state"; }>;
|
|
211
211
|
/** Emitted when the component associated with a map or scene view is ready to be interacted with. */
|
|
212
212
|
readonly arcgisReady: import("@arcgis/lumina").TargetedEvent<this, void>;
|
|
213
|
-
/** Fires when the [submit()](
|
|
213
|
+
/** Fires when the [submit()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-feature-form/#submit) method is called. */
|
|
214
214
|
readonly arcgisSubmit: import("@arcgis/lumina").TargetedEvent<this, SubmitEvent>;
|
|
215
215
|
/** Fires when a field value is updated. */
|
|
216
216
|
readonly arcgisValueChange: import("@arcgis/lumina").TargetedEvent<this, ValueChangeEvent>;
|
|
@@ -3,25 +3,23 @@ import type FeaturesViewModel from "@arcgis/core/widgets/Features/FeaturesViewMo
|
|
|
3
3
|
import type Collection from "@arcgis/core/core/Collection.js";
|
|
4
4
|
import type ActionButton from "@arcgis/core/support/actions/ActionButton.js";
|
|
5
5
|
import type ActionToggle from "@arcgis/core/support/actions/ActionToggle.js";
|
|
6
|
-
import type Graphic from "@arcgis/core/Graphic";
|
|
6
|
+
import type Graphic from "@arcgis/core/Graphic.js";
|
|
7
7
|
import type Widget from "@arcgis/core/widgets/Widget.js";
|
|
8
|
-
import type Graphic2 from "@arcgis/core/Graphic.js";
|
|
9
8
|
import type Map from "@arcgis/core/Map.js";
|
|
10
9
|
import type SpatialReference from "@arcgis/core/geometry/SpatialReference.js";
|
|
11
10
|
import type { ArcgisReferenceElement, IconName, HeadingLevel } from "../types.js";
|
|
12
11
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
13
12
|
import type { ArcgisFeature } from "../arcgis-feature/customElement.js";
|
|
14
|
-
import type { ActionEvent, FetchFeaturesOptions } from "@arcgis/core/widgets/Popup/types";
|
|
15
|
-
import type { ScreenPoint } from "@arcgis/core/core/types";
|
|
13
|
+
import type { ActionEvent, FetchFeaturesOptions, PopupAction, InitialDisplayOptions, State } from "@arcgis/core/widgets/Popup/types.js";
|
|
14
|
+
import type { ScreenPoint } from "@arcgis/core/core/types.js";
|
|
16
15
|
import type { T9nMeta } from "@arcgis/lumina/controllers";
|
|
17
|
-
import type { PopupAction, InitialDisplayOptions, State } from "@arcgis/core/widgets/Popup/types.js";
|
|
18
16
|
import type { Abilities } from "@arcgis/core/widgets/Feature/types.js";
|
|
19
17
|
import type { GoToOverride } from "@arcgis/core/widgets/support/types.js";
|
|
20
18
|
import type { MapViewOrSceneView } from "@arcgis/core/views/MapViewOrSceneView.js";
|
|
21
19
|
|
|
22
20
|
/**
|
|
23
21
|
* The Features component allows users to view a feature's popupTemplate content such as attributes,
|
|
24
|
-
* actions, related records, etc., without having to be tied to
|
|
22
|
+
* actions, related records, etc., without having to be tied to an [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/) component.
|
|
25
23
|
* This component looks and behaves similarly to the [arcgis-popup](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/) component,
|
|
26
24
|
* however unlike Popup, the Features component can be placed outside of the map or scene component.
|
|
27
25
|
* For example, when features are selected in the [arcgis-map](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/),
|
|
@@ -44,9 +42,9 @@ import type { MapViewOrSceneView } from "@arcgis/core/views/MapViewOrSceneView.j
|
|
|
44
42
|
export abstract class ArcgisFeatures extends LitElement {
|
|
45
43
|
/**
|
|
46
44
|
* A [collection](https://developers.arcgis.com/javascript/latest/references/core/core/Collection/) of [action button](https://developers.arcgis.com/javascript/latest/references/core/support/actions/ActionButton/) or [action toggle](https://developers.arcgis.com/javascript/latest/references/core/support/actions/ActionToggle/) objects. Each action may be executed by clicking the icon or image symbolizing them.
|
|
47
|
-
* There is a default `Zoom To` action styled with a magnifying glass icon to zoom in four LODs and center the map on the selected feature. This default action can be removed by setting [
|
|
45
|
+
* There is a default `Zoom To` action styled with a magnifying glass icon to zoom in four LODs and center the map on the selected feature. This default action can be removed by setting [includeDefaultActionsDisabled](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features/#includeDefaultActionsDisabled) to `true`, or by setting the [`overwriteActions`](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/#overwriteActions) property to `true` in a [PopupTemplate](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/).
|
|
48
46
|
*
|
|
49
|
-
* The order of each action is the order in which they appear in the actions [Collection](https://developers.arcgis.com/javascript/latest/references/core/core/Collection/). The [arcgisTriggerAction](
|
|
47
|
+
* The order of each action is the order in which they appear in the actions [Collection](https://developers.arcgis.com/javascript/latest/references/core/core/Collection/). The [@arcgisTriggerAction](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features/#event-arcgisTriggerAction) event fires each time an action is clicked.
|
|
50
48
|
*
|
|
51
49
|
* @see [@arcgisTriggerAction](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features/#event-arcgisTriggerAction)
|
|
52
50
|
* @see [Popup actions sample](https://developers.arcgis.com/javascript/latest/sample-code/popup-actions/)
|
|
@@ -77,7 +75,7 @@ export abstract class ArcgisFeatures extends LitElement {
|
|
|
77
75
|
accessor chartAnimationDisabled: boolean;
|
|
78
76
|
/**
|
|
79
77
|
* Indicates whether the component displays its content. If `true`, only the header displays.
|
|
80
|
-
* This property is only honored if [
|
|
78
|
+
* This property is only honored if [showCollapseButton](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features/#showCollapseButton) is `true`.
|
|
81
79
|
*
|
|
82
80
|
* @default false
|
|
83
81
|
*/
|
|
@@ -110,7 +108,7 @@ export abstract class ArcgisFeatures extends LitElement {
|
|
|
110
108
|
*/
|
|
111
109
|
accessor featureCount: number;
|
|
112
110
|
/**
|
|
113
|
-
* This property enables multiple features in the component to display in a list rather than displaying the first selected feature. Setting this to `true` allows the user to scroll through the list of features. This value will only be honored if [
|
|
111
|
+
* This property enables multiple features in the component to display in a list rather than displaying the first selected feature. Setting this to `true` allows the user to scroll through the list of features. This value will only be honored if [initialDisplayMode](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features/#initialDisplayMode) is set to "feature".
|
|
114
112
|
*
|
|
115
113
|
* @default false
|
|
116
114
|
* @since 4.34
|
|
@@ -131,9 +129,9 @@ export abstract class ArcgisFeatures extends LitElement {
|
|
|
131
129
|
*/
|
|
132
130
|
accessor featureNavigationTop: boolean;
|
|
133
131
|
/**
|
|
134
|
-
* An array of features associated with the component. Each graphic in this array must have a valid [PopupTemplate](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/) set. They may share the same [PopupTemplate](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/) or have unique [PopupTemplates](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/) depending on their attributes. The [content](
|
|
132
|
+
* An array of features associated with the component. Each graphic in this array must have a valid [PopupTemplate](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/) set. They may share the same [PopupTemplate](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/) or have unique [PopupTemplates](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/) depending on their attributes. The [content](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features/#content) and [heading](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features/#heading) of the component is set based on the `content` and `title` properties of each graphic's respective [PopupTemplate](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/).
|
|
135
133
|
*
|
|
136
|
-
* When more than one graphic exists in this array, the current content of the component is set based on the value of the [
|
|
134
|
+
* When more than one graphic exists in this array, the current content of the component is set based on the value of the [selectedFeature](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features/#selectedFeature)).
|
|
137
135
|
*
|
|
138
136
|
* This value is `null` if no features are associated with the component.
|
|
139
137
|
*
|
|
@@ -153,7 +151,7 @@ export abstract class ArcgisFeatures extends LitElement {
|
|
|
153
151
|
* component.features = graphics;
|
|
154
152
|
* ```
|
|
155
153
|
*/
|
|
156
|
-
accessor features: Array<
|
|
154
|
+
accessor features: Array<Graphic>;
|
|
157
155
|
/**
|
|
158
156
|
* The number of features to fetch at one time.
|
|
159
157
|
*
|
|
@@ -181,11 +179,11 @@ export abstract class ArcgisFeatures extends LitElement {
|
|
|
181
179
|
accessor headerActions: Collection<ActionButton | ActionToggle>;
|
|
182
180
|
/**
|
|
183
181
|
* The title of the Features component. This can be set to any string value no
|
|
184
|
-
* matter the features that are selected. If the [
|
|
182
|
+
* matter the features that are selected. If the [selectedFeature](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features/#selectedFeature)
|
|
185
183
|
* has a [PopupTemplate](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/), then the title set in the
|
|
186
184
|
* corresponding template is used here.
|
|
187
185
|
*
|
|
188
|
-
* @see [headingLevel](
|
|
186
|
+
* @see [headingLevel](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features/#headingLevel)
|
|
189
187
|
* @since 4.34
|
|
190
188
|
* @example
|
|
191
189
|
* ```js
|
|
@@ -196,7 +194,7 @@ export abstract class ArcgisFeatures extends LitElement {
|
|
|
196
194
|
*/
|
|
197
195
|
accessor heading: string | null | undefined;
|
|
198
196
|
/**
|
|
199
|
-
* Indicates the heading level to use for the [heading](
|
|
197
|
+
* Indicates the heading level to use for the [heading](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features/#heading) of the component.
|
|
200
198
|
* By default, the heading is rendered
|
|
201
199
|
* as a level 2 heading (e.g. `<h2>Popup title</h2>`). Depending on the component's placement
|
|
202
200
|
* in your app, you may need to adjust this heading for proper semantics. This is
|
|
@@ -206,7 +204,7 @@ export abstract class ArcgisFeatures extends LitElement {
|
|
|
206
204
|
*/
|
|
207
205
|
accessor headingLevel: HeadingLevel;
|
|
208
206
|
/**
|
|
209
|
-
* Indicates whether to hide the action bar that holds the feature's [actions](
|
|
207
|
+
* Indicates whether to hide the action bar that holds the feature's [actions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features/#actions).
|
|
210
208
|
*
|
|
211
209
|
* @default false
|
|
212
210
|
*/
|
|
@@ -259,7 +257,7 @@ export abstract class ArcgisFeatures extends LitElement {
|
|
|
259
257
|
*/
|
|
260
258
|
accessor hideFeatureMenuHeading: boolean;
|
|
261
259
|
/**
|
|
262
|
-
* Indicates whether to hide the feature navigation in the component. This allows the user to scroll through various [
|
|
260
|
+
* Indicates whether to hide the feature navigation in the component. This allows the user to scroll through various [features](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features/#features) using pagination arrows.
|
|
263
261
|
*
|
|
264
262
|
* @default false
|
|
265
263
|
*/
|
|
@@ -319,7 +317,7 @@ export abstract class ArcgisFeatures extends LitElement {
|
|
|
319
317
|
*/
|
|
320
318
|
accessor hideUtilityNetworkContent: boolean;
|
|
321
319
|
/**
|
|
322
|
-
* Indicates whether to highlight the [
|
|
320
|
+
* Indicates whether to highlight the [selectedFeature](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features/#selectedFeature) in the associated
|
|
323
321
|
* [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/) component.
|
|
324
322
|
*
|
|
325
323
|
* @default false
|
|
@@ -350,9 +348,9 @@ export abstract class ArcgisFeatures extends LitElement {
|
|
|
350
348
|
/** The component's default label. */
|
|
351
349
|
accessor label: string | undefined;
|
|
352
350
|
/**
|
|
353
|
-
* A map is required when the input [features](
|
|
351
|
+
* A map is required when the input [features](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features/#features) have a popupTemplate that contains [Arcade](https://developers.arcgis.com/arcade) expressions in [ExpressionInfo](https://developers.arcgis.com/javascript/latest/references/core/popup/ExpressionInfo/) or [ExpressionContent](https://developers.arcgis.com/javascript/latest/references/core/popup/content/ExpressionContent/) that may use the `$map` profile variable to access data from layers within a map. Without a map, expressions that use `$map` will throw an error.
|
|
354
352
|
*
|
|
355
|
-
* Alternatively, the [view](
|
|
353
|
+
* Alternatively, the [view](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features/#view) property can be used to provide the map instance for this property.
|
|
356
354
|
*
|
|
357
355
|
* @default null
|
|
358
356
|
* @see [Type system](https://developers.arcgis.com/arcade/guide/types/#featuresetcollection)
|
|
@@ -458,9 +456,9 @@ export abstract class ArcgisFeatures extends LitElement {
|
|
|
458
456
|
* An array of pending Promises that have not yet been fulfilled. If there are
|
|
459
457
|
* no pending promises, the value is `null`. When the pending promises are
|
|
460
458
|
* resolved they are removed from this array and the features they return
|
|
461
|
-
* are pushed into the [features](
|
|
459
|
+
* are pushed into the [features](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features/#features) array.
|
|
462
460
|
*/
|
|
463
|
-
accessor promises: Array<Promise<Array<
|
|
461
|
+
accessor promises: Array<Promise<Array<Graphic>>>;
|
|
464
462
|
/**
|
|
465
463
|
* 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.
|
|
466
464
|
*
|
|
@@ -478,7 +476,7 @@ export abstract class ArcgisFeatures extends LitElement {
|
|
|
478
476
|
* The selected feature accessed by the Features component. The content displayed in the component is
|
|
479
477
|
* determined based on the [PopupTemplate](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/) assigned to this feature.
|
|
480
478
|
*/
|
|
481
|
-
get selectedFeature():
|
|
479
|
+
get selectedFeature(): Graphic | null;
|
|
482
480
|
/**
|
|
483
481
|
* Returns a reference to the current [arcgis-feature](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-feature/) component.
|
|
484
482
|
* This is useful if needing to get a reference to the Feature component in order to make any changes to it.
|
|
@@ -487,7 +485,7 @@ export abstract class ArcgisFeatures extends LitElement {
|
|
|
487
485
|
*/
|
|
488
486
|
get selectedFeatureComponent(): ArcgisFeature | null;
|
|
489
487
|
/**
|
|
490
|
-
* Index of the feature that is [
|
|
488
|
+
* Index of the feature that is [selectedFeature](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features/#selectedFeature). When [features](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features/#features) are set,
|
|
491
489
|
* the first index is automatically selected.
|
|
492
490
|
*/
|
|
493
491
|
accessor selectedFeatureIndex: number;
|
|
@@ -501,7 +499,7 @@ export abstract class ArcgisFeatures extends LitElement {
|
|
|
501
499
|
* The spatial reference used for [Arcade](https://developers.arcgis.com/arcade) operations.
|
|
502
500
|
* This property should be set if the Features component executes Arcade expressions that contain [geometry functions](https://developers.arcgis.com/arcade/function-reference/geometry_functions/).
|
|
503
501
|
*
|
|
504
|
-
* Alternatively, the [view](
|
|
502
|
+
* Alternatively, the [view](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features/#view) property can be used to provide the spatial reference instance for this property.
|
|
505
503
|
*
|
|
506
504
|
* @default null
|
|
507
505
|
* @see [Type system](https://developers.arcgis.com/arcade/guide/types/#featuresetcollection)
|
|
@@ -516,7 +514,7 @@ export abstract class ArcgisFeatures extends LitElement {
|
|
|
516
514
|
get state(): State;
|
|
517
515
|
/**
|
|
518
516
|
* Dates and times displayed in the component will be displayed in this time zone. By default this time zone is
|
|
519
|
-
* inherited from [arcgis-map.timeZone](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#timeZone) if the [view](
|
|
517
|
+
* inherited from [arcgis-map.timeZone](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#timeZone) if the [view](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features/#view) property is set. When a MapView is not associated with the component
|
|
520
518
|
* then the property will fallback to the `system` time zone.
|
|
521
519
|
*
|
|
522
520
|
* **Possible Values**
|
|
@@ -528,7 +526,7 @@ export abstract class ArcgisFeatures extends LitElement {
|
|
|
528
526
|
*/
|
|
529
527
|
accessor timeZone: string;
|
|
530
528
|
/**
|
|
531
|
-
* Indicates whether to update the [location](
|
|
529
|
+
* Indicates whether to update the [location](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features/#location) when the [selectedFeatureIndex](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features/#selectedFeatureIndex) changes.
|
|
532
530
|
*
|
|
533
531
|
* @default false
|
|
534
532
|
* @since 5.0
|
|
@@ -537,12 +535,12 @@ export abstract class ArcgisFeatures extends LitElement {
|
|
|
537
535
|
/**
|
|
538
536
|
* A reference to the [MapView](https://developers.arcgis.com/javascript/latest/references/core/views/MapView/) or [SceneView](https://developers.arcgis.com/javascript/latest/references/core/views/SceneView/).
|
|
539
537
|
* The Features component requires a `view` to be set if:
|
|
540
|
-
* - The [features](
|
|
538
|
+
* - The [features](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features/#features) have a popupTemplate containing Arcade expressions in [ExpressionInfo](https://developers.arcgis.com/javascript/latest/references/core/popup/ExpressionInfo/) or [ExpressionContent](https://developers.arcgis.com/javascript/latest/references/core/popup/content/ExpressionContent/) that may use [geometry functions](https://developers.arcgis.com/arcade/function-reference/geometry_functions/) or reference the `$map` profile variable (i.e. access data from layers within a map). Alternatively, set the [map](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features/#map) property.
|
|
541
539
|
* - Content is displayed from the popup template of an [aggregate feature](https://developers.arcgis.com/javascript/latest/references/core/Graphic/#isAggregate) (i.e. a [cluster](https://developers.arcgis.com/javascript/latest/references/core/layers/support/FeatureReductionCluster/) or [bin](https://developers.arcgis.com/javascript/latest/references/core/layers/support/FeatureReductionBinning/)).
|
|
542
540
|
* - Values from `date` and `timestamp-offset` fields should respect the view's [time zone](https://developers.arcgis.com/javascript/latest/references/core/views/View/#timeZone).
|
|
543
|
-
* Alternatively, set the [
|
|
544
|
-
* - Using the [fetchFeatures](
|
|
545
|
-
* - Using the `Zoom to` default action. If the `view` is not specified, set the [includeDefaultActionsDisabled](
|
|
541
|
+
* Alternatively, set the [timeZone](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features/#timeZone) property.
|
|
542
|
+
* - Using the [fetchFeatures()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features/#fetchFeatures) method or the `fetchFeatures` option in the [open](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features/#open) method.
|
|
543
|
+
* - Using the `Zoom to` default action. If the `view` is not specified, set the [includeDefaultActionsDisabled](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features/#includeDefaultActionsDisabled) property to `true` to remove this default action.
|
|
546
544
|
*
|
|
547
545
|
* @since 4.34
|
|
548
546
|
*/
|
|
@@ -550,8 +548,8 @@ export abstract class ArcgisFeatures extends LitElement {
|
|
|
550
548
|
/** @since 4.34 */
|
|
551
549
|
accessor viewModel: FeaturesViewModel;
|
|
552
550
|
/**
|
|
553
|
-
* Removes [promises](
|
|
554
|
-
* [heading](
|
|
551
|
+
* Removes [promises](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features/#promises), [features](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features/#features), [content](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features/#content), and
|
|
552
|
+
* [heading](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features/#heading) from the Features component.
|
|
555
553
|
*/
|
|
556
554
|
clear(): Promise<void>;
|
|
557
555
|
/** A convenience method to close the component. */
|
|
@@ -559,7 +557,7 @@ export abstract class ArcgisFeatures extends LitElement {
|
|
|
559
557
|
/** Permanently destroy the component. */
|
|
560
558
|
destroy(): Promise<void>;
|
|
561
559
|
/**
|
|
562
|
-
* Use this method to return feature(s) at a given screen location. These features are fetched from all of the [LayerViews](https://developers.arcgis.com/javascript/latest/references/core/views/layers/LayerView/) in the [view](https://developers.arcgis.com/javascript/latest/references/core/views/View/). In order to use this, a layer must already have an associated [PopupTemplate](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/) and have its [popupEnabled](https://developers.arcgis.com/javascript/latest/references/core/layers/FeatureLayer/#popupEnabled). This method allows a developer to control how the input location is handled. For example, you may want to fetch features on a `click` event or on a `pointer-move` event. This method automatically sets the [
|
|
560
|
+
* Use this method to return feature(s) at a given screen location. These features are fetched from all of the [LayerViews](https://developers.arcgis.com/javascript/latest/references/core/views/layers/LayerView/) in the [view](https://developers.arcgis.com/javascript/latest/references/core/views/View/). In order to use this, a layer must already have an associated [PopupTemplate](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/) and have its [popupEnabled](https://developers.arcgis.com/javascript/latest/references/core/layers/FeatureLayer/#popupEnabled). This method allows a developer to control how the input location is handled. For example, you may want to fetch features on a `click` event or on a `pointer-move` event. This method automatically sets the [location](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features/#location) based on the input event's screen coordinates.
|
|
563
561
|
*
|
|
564
562
|
* @param screenPoint
|
|
565
563
|
* @param options
|
|
@@ -583,15 +581,15 @@ export abstract class ArcgisFeatures extends LitElement {
|
|
|
583
581
|
*/
|
|
584
582
|
fetchFeatures(screenPoint?: ScreenPoint, options?: FetchFeaturesOptions): Promise<void>;
|
|
585
583
|
/**
|
|
586
|
-
* Selects the feature at the next index in relation to the [
|
|
584
|
+
* Selects the feature at the next index in relation to the [selectedFeature](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features/#selectedFeature).
|
|
587
585
|
*
|
|
588
|
-
* @see [selectedFeatureIndex](
|
|
586
|
+
* @see [selectedFeatureIndex](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features/#selectedFeatureIndex)
|
|
589
587
|
*/
|
|
590
588
|
next(): Promise<FeaturesViewModel>;
|
|
591
589
|
/**
|
|
592
|
-
* Selects the feature at the previous index in relation to the [
|
|
590
|
+
* Selects the feature at the previous index in relation to the [selectedFeature](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features/#selectedFeature).
|
|
593
591
|
*
|
|
594
|
-
* @see [selectedFeatureIndex](
|
|
592
|
+
* @see [selectedFeatureIndex](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features/#selectedFeatureIndex)
|
|
595
593
|
*/
|
|
596
594
|
previous(): Promise<FeaturesViewModel>;
|
|
597
595
|
/**
|
|
@@ -601,8 +599,8 @@ export abstract class ArcgisFeatures extends LitElement {
|
|
|
601
599
|
*/
|
|
602
600
|
setFocus(): Promise<void>;
|
|
603
601
|
/**
|
|
604
|
-
* Triggers the [
|
|
605
|
-
* at the specified index in the [actions](
|
|
602
|
+
* Triggers the [@arcgisTriggerAction](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features/#event-arcgisTriggerAction) event and executes the action
|
|
603
|
+
* at the specified index in the [actions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features/#actions) array.
|
|
606
604
|
*
|
|
607
605
|
* @param action
|
|
608
606
|
*/
|
|
@@ -617,9 +615,9 @@ export abstract class ArcgisFeatures extends LitElement {
|
|
|
617
615
|
* Fires after the user clicks on an action in the component.
|
|
618
616
|
* This event may be used to define a custom function to execute when particular actions are clicked.
|
|
619
617
|
*
|
|
620
|
-
* @see [actions](
|
|
618
|
+
* @see [actions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features/#actions)
|
|
621
619
|
* @see [PopupTemplate.actions](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/#actions)
|
|
622
|
-
* @see [open](
|
|
620
|
+
* @see [open](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features/#open)
|
|
623
621
|
* @example
|
|
624
622
|
* ```js
|
|
625
623
|
* // Fires each time an action is clicked
|