@arcgis/map-components 5.0.0-next.161 → 5.0.0-next.163
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/{JAGDFQG6.js → 25HB2UBJ.js} +1 -1
- package/dist/cdn/{VFMEHZZD.js → 2AHY7O7C.js} +1 -1
- package/dist/cdn/{IJ55LHCM.js → 2FTXKTA4.js} +1 -1
- package/dist/cdn/{HRF5IALK.js → 3HYCJV4V.js} +1 -1
- package/dist/cdn/{GQVWDA6I.js → 42WUBROP.js} +1 -1
- package/dist/cdn/{SA36LNKO.js → 4WMWNIPN.js} +1 -1
- package/dist/cdn/522HNMQI.js +2 -0
- package/dist/cdn/55TRWAT7.js +2 -0
- package/dist/cdn/{5ZA7DJQS.js → 5LG4S2WV.js} +1 -1
- package/dist/cdn/{ZUNZDQUR.js → 6424II7L.js} +1 -1
- package/dist/cdn/{W3OOBNAC.js → 67DKLGTW.js} +1 -1
- package/dist/cdn/{YMUDLENL.js → 6IPVLMFQ.js} +1 -1
- package/dist/cdn/6IUQ5UHX.js +2 -0
- package/dist/cdn/{XC73PUXJ.js → 7AGJFQHK.js} +1 -1
- package/dist/cdn/{YK2QFDB6.js → 7NOD6U2Y.js} +1 -1
- package/dist/cdn/{VZERD7WA.js → 7OOAOM5T.js} +1 -1
- package/dist/cdn/{K2WVDLY4.js → AEMKZZZS.js} +1 -1
- package/dist/cdn/{QZPZSZPM.js → AJ64UYFM.js} +1 -1
- package/dist/cdn/{7SLLFJRR.js → AJIZTCGT.js} +1 -1
- package/dist/cdn/{OOUV2QP3.js → ANP7PYGJ.js} +1 -1
- package/dist/cdn/{LS7DJQ5K.js → AX23Q2XH.js} +1 -1
- package/dist/cdn/{IIMYW42S.js → B7SDETM6.js} +1 -1
- package/dist/cdn/{4JVUUWOR.js → BHPXKX47.js} +1 -1
- package/dist/cdn/{S74R5TS2.js → BKYII5LQ.js} +1 -1
- package/dist/cdn/{227PGZWD.js → CEB3VR24.js} +1 -1
- package/dist/cdn/{UUFU74F2.js → CO7UZYM2.js} +1 -1
- package/dist/cdn/{WR7YFN6J.js → CSU7GLED.js} +1 -1
- package/dist/cdn/{ZM4HRRLA.js → CXHSL2Y4.js} +1 -1
- package/dist/cdn/{PFYBNJ7Q.js → D4PJU376.js} +1 -1
- package/dist/cdn/{DNDFQB6M.js → DB2NOQ3D.js} +1 -1
- package/dist/cdn/{GPRLA5XG.js → E5SXPWDJ.js} +1 -1
- package/dist/cdn/{AELXLN3Z.js → EO66UQLI.js} +1 -1
- package/dist/cdn/{JM5UC74N.js → ESNK6MCY.js} +1 -1
- package/dist/cdn/{KLCFGWID.js → F2HPTFLQ.js} +1 -1
- package/dist/cdn/{APTCZIC5.js → F6QNNUIN.js} +1 -1
- package/dist/cdn/{PZEM6N6R.js → FA3Z6QOE.js} +1 -1
- package/dist/cdn/{USU73B2B.js → FD4A66OJ.js} +1 -1
- package/dist/cdn/{OYYIEGIF.js → FKQSJXNW.js} +1 -1
- package/dist/cdn/{7BVN4DHV.js → FRGWWVJK.js} +1 -1
- package/dist/cdn/{ZFIWGLC3.js → G4FP7GXM.js} +1 -1
- package/dist/cdn/{ND443SHN.js → GAH6OGQE.js} +1 -1
- package/dist/cdn/{YIMKE3ZS.js → GCFNRINR.js} +1 -1
- package/dist/cdn/{TWRNR5SM.js → GMR2QJNU.js} +1 -1
- package/dist/cdn/{VPFMRSZ6.js → H5RGMC7S.js} +1 -1
- package/dist/cdn/H7O5I4IF.js +2 -0
- package/dist/cdn/{ND6JN4YZ.js → HKVQWRPL.js} +1 -1
- package/dist/cdn/{ZEJQO6MG.js → HYBTGX3N.js} +1 -1
- package/dist/cdn/{CABYEVH5.js → I5M2Z7WS.js} +1 -1
- package/dist/cdn/{XOMA7SZS.js → IKOLSNGV.js} +1 -1
- package/dist/cdn/{WBIRVQFF.js → IL56ZRDO.js} +1 -1
- package/dist/cdn/{JBDUMA6A.js → ILFME5US.js} +1 -1
- package/dist/cdn/{ECEHRM4F.js → INYYRLED.js} +1 -1
- package/dist/cdn/{COSJIIOV.js → IQ7EVFBF.js} +1 -1
- package/dist/cdn/{HAGRUIX6.js → J4XU75P7.js} +1 -1
- package/dist/cdn/{XX7YW667.js → JCW65STL.js} +1 -1
- package/dist/cdn/{2VP56JYP.js → JUHCPSPF.js} +1 -1
- package/dist/cdn/{3PBCQSML.js → JZXMWXVD.js} +1 -1
- package/dist/cdn/K4PC3ILQ.js +2 -0
- package/dist/cdn/{S2OPU6EB.js → KAZBQ6OA.js} +1 -1
- package/dist/cdn/{TEZDBCLU.js → KGJGLAWM.js} +1 -1
- package/dist/cdn/{VXRHLDSF.js → KRVBBG4M.js} +1 -1
- package/dist/cdn/{FZJKT7BV.js → KWIBK4I5.js} +1 -1
- package/dist/cdn/{CNAGRWBY.js → L5JWLRD3.js} +1 -1
- package/dist/cdn/L6YZXUBB.js +2 -0
- package/dist/cdn/{VWFVE3N5.js → LT5ALQM5.js} +1 -1
- package/dist/cdn/{T6MNZWQJ.js → MAM7YHLA.js} +1 -1
- package/dist/cdn/{S2WF243X.js → MD36SH63.js} +1 -1
- package/dist/cdn/{YGRKF7FM.js → N7QKWBTM.js} +1 -1
- package/dist/cdn/{VU4FTMX6.js → NWXN5M4S.js} +1 -1
- package/dist/cdn/{GSULD3SQ.js → ODGGFBDK.js} +1 -1
- package/dist/cdn/{THO22RHZ.js → OFQNQF6N.js} +1 -1
- package/dist/cdn/{NYXESRIT.js → ONPN5M3Z.js} +1 -1
- package/dist/cdn/{N472QGAH.js → ORVYHFUJ.js} +1 -1
- package/dist/cdn/{CGXCY6GA.js → P76K34HQ.js} +1 -1
- package/dist/cdn/{SGG7SP3T.js → P7PWOUNZ.js} +1 -1
- package/dist/cdn/{6TBMOJWN.js → PQ5PGLJM.js} +1 -1
- package/dist/cdn/{RM2HMUW5.js → PYMUS3H4.js} +1 -1
- package/dist/cdn/{BFJ4VLH7.js → PZ2JPHRS.js} +1 -1
- package/dist/cdn/{FHDRIX57.js → Q4B4MXH4.js} +1 -1
- package/dist/cdn/{XLPNOCX2.js → QF7RABZH.js} +1 -1
- package/dist/cdn/{T3ZQTVDW.js → QKSSTPS3.js} +1 -1
- package/dist/cdn/{CFNAG4UQ.js → QUHJMEBB.js} +1 -1
- package/dist/cdn/{GIIC5RQS.js → R2FIOZIL.js} +1 -1
- package/dist/cdn/{ZA6HMKG3.js → RB7GCEEB.js} +1 -1
- package/dist/cdn/{U7UXBPOB.js → RE2BXNZ3.js} +1 -1
- package/dist/cdn/{OLRMETYO.js → RMFIN5AS.js} +1 -1
- package/dist/cdn/{Z2BF5ON2.js → RN57AN5P.js} +1 -1
- package/dist/cdn/{7DRCEN4I.js → RU5U2DVA.js} +1 -1
- package/dist/cdn/{AR4EHDQE.js → RYKRMJMK.js} +1 -1
- package/dist/cdn/{2WRZHA7I.js → RZ4T32PU.js} +1 -1
- package/dist/cdn/{K5TOSB65.js → SDWQW3ZX.js} +1 -1
- package/dist/cdn/{UBCQ3OXU.js → SK6O74LF.js} +1 -1
- package/dist/cdn/SKIP3GUP.js +2 -0
- package/dist/cdn/{FKFLM37F.js → T3JWZEB6.js} +1 -1
- package/dist/cdn/{WBEN5CWQ.js → TGUIWWDN.js} +1 -1
- package/dist/cdn/TQRR2FH6.js +2 -0
- package/dist/cdn/{W2Z72SWO.js → U3H7EVCU.js} +1 -1
- package/dist/cdn/{Y27IRNJL.js → U4TAMNG3.js} +1 -1
- package/dist/cdn/{OE3W5FEW.js → UBGE4QNR.js} +1 -1
- package/dist/cdn/{RAXYFKPT.js → UELD2T53.js} +1 -1
- package/dist/cdn/{JKBRLNJZ.js → UNLAUFXF.js} +1 -1
- package/dist/cdn/URUFNID2.js +2 -0
- package/dist/cdn/{H6TQCFMC.js → UW3G2BPO.js} +1 -1
- package/dist/cdn/{PTIYROPJ.js → WBGZAAEK.js} +1 -1
- package/dist/cdn/{ZX4R6K46.js → WDTFIXMM.js} +1 -1
- package/dist/cdn/{NS2J3AS6.js → WLNRPTCN.js} +1 -1
- package/dist/cdn/{ETJEFAUU.js → WTTBFFC2.js} +1 -1
- package/dist/cdn/{TRID34Q5.js → WV6XSMZW.js} +1 -1
- package/dist/cdn/X7QWBVC2.js +2 -0
- package/dist/cdn/{KEJZKHZZ.js → XCDPFMHG.js} +1 -1
- package/dist/cdn/{C45HGFAM.js → XIOIZK7A.js} +1 -1
- package/dist/cdn/{A724KY7J.js → Y4RMI55P.js} +1 -1
- package/dist/cdn/YLLIMNEW.js +2 -0
- package/dist/cdn/{DETI55RG.js → YXYCWJFF.js} +1 -1
- package/dist/cdn/{OE46TF5I.js → Z6LXLPK7.js} +1 -1
- package/dist/cdn/{WWASOGVO.js → ZOBY4YF2.js} +1 -1
- package/dist/cdn/{DHY6U2TQ.js → ZVTV4UKT.js} +1 -1
- package/dist/cdn/assets/elevation-profile/t9n/messages.fr.json +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 +10 -10
- package/dist/components/arcgis-basemap-gallery/customElement.d.ts +1 -1
- package/dist/components/arcgis-basemap-layer-list/customElement.d.ts +5 -7
- package/dist/components/arcgis-basemap-toggle/customElement.d.ts +4 -4
- package/dist/components/arcgis-bookmarks/customElement.d.ts +3 -3
- package/dist/components/arcgis-bookmarks/types.d.ts +1 -1
- package/dist/components/arcgis-building-explorer/customElement.d.ts +4 -4
- package/dist/components/arcgis-catalog-layer-list/customElement.d.ts +4 -6
- package/dist/components/arcgis-clipboard/customElement.d.ts +2 -2
- package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +4 -4
- package/dist/components/arcgis-daylight/customElement.d.ts +14 -14
- 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-directions/customElement.d.ts +4 -5
- package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +5 -5
- package/dist/components/arcgis-editor/customElement.d.ts +2 -3
- package/dist/components/arcgis-elevation-profile/customElement.d.ts +9 -9
- 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 +3 -4
- package/dist/components/arcgis-feature-image/customElement.d.ts +5 -5
- package/dist/components/arcgis-feature-table/customElement.d.ts +16 -23
- package/dist/components/arcgis-feature-templates/customElement.d.ts +4 -6
- package/dist/components/arcgis-feature-title/customElement.d.ts +3 -3
- package/dist/components/arcgis-features/customElement.d.ts +41 -43
- package/dist/components/arcgis-features/customElement.js +48 -42
- package/dist/components/arcgis-floor-filter/customElement.d.ts +5 -5
- package/dist/components/arcgis-grid-controls/customElement.d.ts +8 -8
- package/dist/components/arcgis-histogram-range-slider/customElement.d.ts +1 -1
- package/dist/components/arcgis-home/customElement.d.ts +2 -2
- package/dist/components/arcgis-layer-list/customElement.d.ts +9 -11
- package/dist/components/arcgis-legend/customElement.d.ts +4 -4
- package/dist/components/arcgis-legend-classic-element/customElement.js +22 -24
- package/dist/components/arcgis-line-of-sight/customElement.d.ts +5 -5
- package/dist/components/arcgis-link-chart/customElement.d.ts +21 -23
- package/dist/components/arcgis-link-chart-nonspatial-visibility-toggle/customElement.d.ts +1 -1
- package/dist/components/arcgis-locate/customElement.d.ts +1 -1
- package/dist/components/arcgis-map/customElement.d.ts +58 -60
- package/dist/components/arcgis-measurement/customElement.d.ts +3 -3
- package/dist/components/arcgis-multi-feature-form/customElement.d.ts +8 -10
- package/dist/components/arcgis-navigation-toggle/customElement.d.ts +2 -2
- package/dist/components/arcgis-paste/ClipboardMove.d.ts +3 -3
- package/dist/components/arcgis-paste/PasteViewModel.d.ts +9 -9
- package/dist/components/arcgis-paste/commands/PasteCommand.d.ts +3 -3
- package/dist/components/arcgis-paste/commands/PasteCustomCommand.d.ts +2 -2
- package/dist/components/arcgis-paste/customElement.d.ts +4 -4
- 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-presentation/PresentationViewModel.d.ts +2 -2
- package/dist/components/arcgis-presentation/customElement.d.ts +1 -1
- package/dist/components/arcgis-print/customElement.d.ts +12 -13
- package/dist/components/arcgis-reverse-geocode-list/customElement.d.ts +1 -1
- package/dist/components/arcgis-scale-bar/customElement.d.ts +1 -1
- package/dist/components/arcgis-scene/customElement.d.ts +54 -56
- package/dist/components/arcgis-search/customElement.d.ts +18 -20
- package/dist/components/arcgis-search/customElement.js +8 -9
- package/dist/components/arcgis-shadow-cast/customElement.d.ts +29 -29
- package/dist/components/arcgis-sketch/customElement.d.ts +3 -4
- package/dist/components/arcgis-slice/customElement.d.ts +12 -12
- package/dist/components/arcgis-slice/types.d.ts +2 -2
- package/dist/components/arcgis-slider-binary-color-size-legacy/customElement.d.ts +11 -11
- package/dist/components/arcgis-slider-classed-color-legacy/customElement.d.ts +9 -9
- package/dist/components/arcgis-slider-classed-size-legacy/customElement.d.ts +10 -10
- package/dist/components/arcgis-slider-color-legacy/customElement.d.ts +13 -13
- package/dist/components/arcgis-slider-color-size-legacy/customElement.d.ts +20 -20
- package/dist/components/arcgis-slider-heatmap-legacy/customElement.d.ts +3 -3
- package/dist/components/arcgis-slider-opacity-legacy/customElement.d.ts +9 -9
- package/dist/components/arcgis-slider-size-legacy/customElement.d.ts +14 -14
- package/dist/components/arcgis-swipe/customElement.d.ts +5 -5
- package/dist/components/arcgis-table-list/customElement.d.ts +7 -8
- package/dist/components/arcgis-time-slider/customElement.d.ts +3 -3
- package/dist/components/arcgis-time-zone-label/customElement.d.ts +7 -30
- 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-aggregated-geometry/customElement.d.ts +2 -2
- package/dist/components/arcgis-utility-network-trace/customElement.d.ts +1 -2
- 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-version-management/customElement.d.ts +3 -4
- package/dist/components/arcgis-video-player/customElement.d.ts +1 -1
- package/dist/components/arcgis-volume-measurement/customElement.d.ts +17 -17
- package/dist/components/arcgis-volume-measurement/customElement.js +1 -1
- package/dist/components/arcgis-weather/customElement.d.ts +5 -5
- package/dist/components/types.d.ts +3 -3
- 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/2LQLX6UN.js +0 -2
- package/dist/cdn/43GVPQTY.js +0 -2
- package/dist/cdn/BVJCLI2O.js +0 -2
- package/dist/cdn/F6ZBZTSB.js +0 -2
- package/dist/cdn/JWX6Z3ZF.js +0 -2
- package/dist/cdn/LEJDJAPO.js +0 -2
- package/dist/cdn/LT6PKSRL.js +0 -2
- package/dist/cdn/MTTO5ISS.js +0 -2
- package/dist/cdn/QCAKPRXK.js +0 -2
- package/dist/cdn/RHWPLIDI.js +0 -2
- package/dist/cdn/T5J4CTR7.js +0 -2
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import type Accessor from "@arcgis/core/core/Accessor.js";
|
|
2
2
|
import type Graphic from "@arcgis/core/Graphic.js";
|
|
3
|
-
import type Layer from "@arcgis/core/layers/Layer";
|
|
4
|
-
import type SubtypeGroupLayer from "@arcgis/core/layers/SubtypeGroupLayer";
|
|
5
|
-
import type FeatureLayer from "@arcgis/core/layers/FeatureLayer";
|
|
3
|
+
import type Layer from "@arcgis/core/layers/Layer.js";
|
|
4
|
+
import type SubtypeGroupLayer from "@arcgis/core/layers/SubtypeGroupLayer.js";
|
|
5
|
+
import type FeatureLayer from "@arcgis/core/layers/FeatureLayer.js";
|
|
6
6
|
import type GraphicsLayer from "@arcgis/core/layers/GraphicsLayer.js";
|
|
7
7
|
import type Collection from "@arcgis/core/core/Collection.js";
|
|
8
|
-
import type SceneView from "@arcgis/core/views/SceneView";
|
|
9
|
-
import type MapView from "@arcgis/core/views/MapView";
|
|
10
|
-
import type SubtypeSublayer from "@arcgis/core/layers/support/SubtypeSublayer";
|
|
11
|
-
import type TemplateItem from "@arcgis/core/widgets/FeatureTemplates/TemplateItem";
|
|
12
|
-
import type BatchAttributeFormViewModel from "@arcgis/core/widgets/BatchAttributeForm/BatchAttributeFormViewModel";
|
|
8
|
+
import type SceneView from "@arcgis/core/views/SceneView.js";
|
|
9
|
+
import type MapView from "@arcgis/core/views/MapView.js";
|
|
10
|
+
import type SubtypeSublayer from "@arcgis/core/layers/support/SubtypeSublayer.js";
|
|
11
|
+
import type TemplateItem from "@arcgis/core/widgets/FeatureTemplates/TemplateItem.js";
|
|
12
|
+
import type BatchAttributeFormViewModel from "@arcgis/core/widgets/BatchAttributeForm/BatchAttributeFormViewModel.js";
|
|
13
13
|
import type { EsriClipboard, ClipboardItem as EsriClipboardItem } from "@arcgis/core/applications/Components/clipboard.js";
|
|
14
14
|
import type { ApplySet, ApplySetLayerEditResult, ApplySetServiceEditResult } from "@arcgis/core/applications/Components/applySetUtils.js";
|
|
15
15
|
import type { ClipboardMove } from "./ClipboardMove.js";
|
|
16
|
-
import type { ResourceHandle } from "@arcgis/core/core/Handles";
|
|
16
|
+
import type { ResourceHandle } from "@arcgis/core/core/Handles.js";
|
|
17
17
|
import type { PasteCommand, PasteApplyError, PasteCommandApplyParameters } from "./commands/PasteCommand.js";
|
|
18
18
|
import type { CustomPasteCommand } from "./commands/PasteCustomCommand.js";
|
|
19
19
|
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import type Accessor from "@arcgis/core/core/Accessor.js";
|
|
2
2
|
import type PasteViewModel from "../PasteViewModel.js";
|
|
3
3
|
import type Graphic from "@arcgis/core/Graphic.js";
|
|
4
|
-
import type FeatureLayer from "@arcgis/core/layers/FeatureLayer";
|
|
5
|
-
import type SubtypeGroupLayer from "@arcgis/core/layers/SubtypeGroupLayer";
|
|
4
|
+
import type FeatureLayer from "@arcgis/core/layers/FeatureLayer.js";
|
|
5
|
+
import type SubtypeGroupLayer from "@arcgis/core/layers/SubtypeGroupLayer.js";
|
|
6
6
|
import type { Icon } from "@esri/calcite-components/components/calcite-icon";
|
|
7
7
|
import type { ApplySet } from "@arcgis/core/applications/Components/applySetUtils.js";
|
|
8
|
-
import type { GeometryUnion } from "@arcgis/core/geometry/types";
|
|
8
|
+
import type { GeometryUnion } from "@arcgis/core/geometry/types.js";
|
|
9
9
|
|
|
10
10
|
export interface PasteCommandProperties extends Partial<Pick<PasteCommand, "viewModel">> {}
|
|
11
11
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type Graphic from "@arcgis/core/Graphic";
|
|
1
|
+
import type Graphic from "@arcgis/core/Graphic.js";
|
|
2
2
|
import type { Icon } from "@esri/calcite-components/components/calcite-icon";
|
|
3
|
-
import type { EsriClipboard } from "@arcgis/core/applications/Components/clipboard";
|
|
3
|
+
import type { EsriClipboard } from "@arcgis/core/applications/Components/clipboard.js";
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* The definition of a custom paste operation.
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
2
|
import type Graphic from "@arcgis/core/Graphic.js";
|
|
3
|
-
import type FeatureLayer from "@arcgis/core/layers/FeatureLayer";
|
|
4
|
-
import type SubtypeGroupLayer from "@arcgis/core/layers/SubtypeGroupLayer";
|
|
5
|
-
import type MapView from "@arcgis/core/views/MapView";
|
|
6
|
-
import type SceneView from "@arcgis/core/views/SceneView";
|
|
3
|
+
import type FeatureLayer from "@arcgis/core/layers/FeatureLayer.js";
|
|
4
|
+
import type SubtypeGroupLayer from "@arcgis/core/layers/SubtypeGroupLayer.js";
|
|
5
|
+
import type MapView from "@arcgis/core/views/MapView.js";
|
|
6
|
+
import type SceneView from "@arcgis/core/views/SceneView.js";
|
|
7
7
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
8
8
|
import type { SupportedPasteCommand, ActiveFlowPage } from "./PasteViewModel.js";
|
|
9
9
|
import type { EsriClipboard } from "@arcgis/core/applications/Components/clipboard.js";
|
|
@@ -1,21 +1,19 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
2
|
import type FeaturesViewModel from "@arcgis/core/widgets/Features/FeaturesViewModel.js";
|
|
3
3
|
import type ActionButton from "@arcgis/core/support/actions/ActionButton.js";
|
|
4
|
-
import type ActionToggle from "@arcgis/core/support/actions/ActionToggle";
|
|
5
|
-
import type Graphic from "@arcgis/core/Graphic";
|
|
4
|
+
import type ActionToggle from "@arcgis/core/support/actions/ActionToggle.js";
|
|
5
|
+
import type Graphic from "@arcgis/core/Graphic.js";
|
|
6
6
|
import type Collection from "@arcgis/core/core/Collection.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 Point from "@arcgis/core/geometry/Point.js";
|
|
10
9
|
import type { ArcgisReferenceElement, HeadingLevel } from "../types.js";
|
|
11
10
|
import type { Alignment, DockOptions, PopupPositionResult, FetchFeaturesOptions } 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, PopupOpenOptions } from "@arcgis/core/widgets/Popup/types";
|
|
15
|
-
import type { ScreenPoint } from "@arcgis/core/core/types";
|
|
16
|
-
import type { ClickEvent } from "@arcgis/core/views/input/types";
|
|
13
|
+
import type { ActionEvent, PopupOpenOptions, PopupAction, InitialDisplayOptions, State } from "@arcgis/core/widgets/Popup/types.js";
|
|
14
|
+
import type { ScreenPoint } from "@arcgis/core/core/types.js";
|
|
15
|
+
import type { ClickEvent } from "@arcgis/core/views/input/types.js";
|
|
17
16
|
import type { T9nMeta } from "@arcgis/lumina/controllers";
|
|
18
|
-
import type { PopupAction, InitialDisplayOptions, State } from "@arcgis/core/widgets/Popup/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
|
|
|
@@ -32,9 +30,9 @@ import type { MapViewOrSceneView } from "@arcgis/core/views/MapViewOrSceneView.j
|
|
|
32
30
|
* ```
|
|
33
31
|
* > At version 6.0, the Popup component will be used by default and setting the `popup-component-enabled` attribute will no longer be necessary.
|
|
34
32
|
*
|
|
35
|
-
* The Popup component can also be opened manually at a specific location using the [
|
|
33
|
+
* The Popup component can also be opened manually at a specific location using the [open](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#open) property.
|
|
36
34
|
* To prevent the popup from opening automatically when clicking on features within view components, set the `popup-disabled` attribute to `true` and add the Popup component to the [arcgis-map](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/), [arcgis-scene](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/), or [arcgis-link-chart](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-link-chart/) using the `popup` slot.
|
|
37
|
-
* Before setting the `open` property to `true`, you must set the [
|
|
35
|
+
* Before setting the `open` property to `true`, you must set the [location](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#location) property to specify where the popup should open or call the [fetchFeatures()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#fetchFeatures) method to open the popup template for features at a specific screen location.
|
|
38
36
|
*
|
|
39
37
|
* Example of opening the popup at a clicked location with custom content:
|
|
40
38
|
*
|
|
@@ -58,7 +56,7 @@ import type { MapViewOrSceneView } from "@arcgis/core/views/MapViewOrSceneView.j
|
|
|
58
56
|
* </script>
|
|
59
57
|
* ```
|
|
60
58
|
*
|
|
61
|
-
* Alternatively, you can call the [
|
|
59
|
+
* Alternatively, you can call the [fetchFeatures()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#fetchFeatures) method within the view element's click event listener to open the popup with features at the clicked location.
|
|
62
60
|
* ```html
|
|
63
61
|
* <!-- Set popup-disabled and popup-component-enabled attributes -->
|
|
64
62
|
* <arcgis-map id="06ca49d0ddb447e7817cfc343ca30df9" popup-disabled popup-component-enabled>
|
|
@@ -83,37 +81,37 @@ import type { MapViewOrSceneView } from "@arcgis/core/views/MapViewOrSceneView.j
|
|
|
83
81
|
*
|
|
84
82
|
* ## Popup UI
|
|
85
83
|
* The [arcgis-map](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/), [arcgis-scene](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/), or [arcgis-link-chart](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-link-chart/) components contain a default popup.
|
|
86
|
-
* This popup can display generic content, which is set in its [heading](
|
|
87
|
-
* and [content](
|
|
84
|
+
* This popup can display generic content, which is set in its [heading](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#heading)
|
|
85
|
+
* and [content](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#content) properties.
|
|
88
86
|
* When content is set directly on the Popup instance it is not tied to a specific feature or layer.
|
|
89
87
|
*
|
|
90
88
|
* 
|
|
91
89
|
*
|
|
92
|
-
* In the image above, the text "Marriage in Nassau County Census Tract 5177.01" is the popup's [heading](
|
|
93
|
-
* The remaining text is the popup's [content](
|
|
90
|
+
* In the image above, the text "Marriage in Nassau County Census Tract 5177.01" is the popup's [heading](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#heading).
|
|
91
|
+
* The remaining text is the popup's [content](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#content).
|
|
94
92
|
* A dock button is displayed in the top right corner of the popup allowing the user to dock the popup to one of the sides or corners of the view.
|
|
95
|
-
* The options for docking may be set in the [dockOptions](
|
|
93
|
+
* The options for docking may be set in the [dockOptions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#dockOptions) property.
|
|
96
94
|
* The popup may also be collapsed by clicking the collapse button (the down arrow icon) in the top right corner of the popup.
|
|
97
95
|
* When collapsed, only the heading of the popup displays.
|
|
98
96
|
* The popup may be closed by clicking the close button (the "x" icon) in the top right corner of the popup.
|
|
99
97
|
*
|
|
100
|
-
* Popups can also contain [actions](
|
|
98
|
+
* Popups can also contain [actions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#actions) which execute a function defined by the developer when clicked.
|
|
101
99
|
* By default, every popup has a "Zoom to" action (as shown in the image above with the magnifying glass) that allows users to zoom to the selected feature.
|
|
102
|
-
* See the [actions](
|
|
100
|
+
* See the [actions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#actions) property for information about adding custom actions to a popup.
|
|
103
101
|
*
|
|
104
|
-
* The Popup component is tied to
|
|
102
|
+
* The Popup component is tied to an [arcgis-map](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/), [arcgis-scene](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/), or [arcgis-link-chart](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-link-chart/) component, whether it's docked or anchored to the selected feature.
|
|
105
103
|
* If wanting to utilize the Popup functionality outside of [arcgis-map](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/), [arcgis-scene](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/), or [arcgis-link-chart](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-link-chart/), the [arcgis-features](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features/) component can be used to display the same content
|
|
106
104
|
* in its own container.
|
|
107
105
|
*
|
|
108
106
|
* ## Popup and PopupTemplate
|
|
109
107
|
* [PopupTemplates](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/) are closely related to Popup, but are more specific to [layers](https://developers.arcgis.com/javascript/latest/references/core/layers/Layer/)
|
|
110
108
|
* and [graphics](https://developers.arcgis.com/javascript/latest/references/core/Graphic/). Popup templates allow you to define custom titles and content templates based on the source of the
|
|
111
|
-
* [
|
|
109
|
+
* [selectedFeature](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#selectedFeature). When a layer or a graphic has a defined
|
|
112
110
|
* popup template, the popup will display the content defined in the popup template when the feature is clicked.
|
|
113
|
-
* The content may contain field values from the attributes of the [
|
|
111
|
+
* The content may contain field values from the attributes of the [selectedFeature](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#selectedFeature).
|
|
114
112
|
*
|
|
115
113
|
* Custom PopupTemplates may also be assigned directly to a popup by setting [graphics](https://developers.arcgis.com/javascript/latest/references/core/Graphic/) on the
|
|
116
|
-
* [features](
|
|
114
|
+
* [features](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#features) property.
|
|
117
115
|
*
|
|
118
116
|
* @since 4.34
|
|
119
117
|
* @beta
|
|
@@ -122,9 +120,9 @@ import type { MapViewOrSceneView } from "@arcgis/core/views/MapViewOrSceneView.j
|
|
|
122
120
|
export abstract class ArcgisPopup extends LitElement {
|
|
123
121
|
/**
|
|
124
122
|
* 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.
|
|
125
|
-
* 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 [
|
|
123
|
+
* 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-popup/#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/).
|
|
126
124
|
*
|
|
127
|
-
* 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](
|
|
125
|
+
* 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-popup/#event-arcgisTriggerAction) event fires each time an action is clicked.
|
|
128
126
|
*
|
|
129
127
|
* @see [@arcgisTriggerAction](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#event-arcgisTriggerAction)
|
|
130
128
|
* @see [Popup actions sample](https://developers.arcgis.com/javascript/latest/sample-code/popup-actions/)
|
|
@@ -199,10 +197,10 @@ export abstract class ArcgisPopup extends LitElement {
|
|
|
199
197
|
*
|
|
200
198
|
* Docking the popup allows for a better user experience, particularly when opening
|
|
201
199
|
* popups in apps on mobile devices. When a popup is "dockEnabled" it means the popup no
|
|
202
|
-
* longer points to the [
|
|
200
|
+
* longer points to the [selectedFeature](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#selectedFeature) or the [location](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#location)
|
|
203
201
|
* assigned to it. Rather it is attached to a side, the top, or the bottom of the view.
|
|
204
202
|
*
|
|
205
|
-
* See [dockOptions](
|
|
203
|
+
* See [dockOptions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#dockOptions) to override default options related to docking the popup.
|
|
206
204
|
*
|
|
207
205
|
* @default false
|
|
208
206
|
* @example
|
|
@@ -221,7 +219,7 @@ export abstract class ArcgisPopup extends LitElement {
|
|
|
221
219
|
/**
|
|
222
220
|
* Docking the popup allows for a better user experience, particularly when opening
|
|
223
221
|
* popups in apps on mobile devices. When a popup is "dockEnabled" it means the popup no
|
|
224
|
-
* longer points to the [
|
|
222
|
+
* longer points to the [selectedFeature](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#selectedFeature) or the [location](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#location)
|
|
225
223
|
* assigned to it. Rather it is placed in one of the corners of the view or to the top or bottom
|
|
226
224
|
* of it. This property allows the developer to set various options for docking the popup.
|
|
227
225
|
*
|
|
@@ -248,7 +246,7 @@ export abstract class ArcgisPopup extends LitElement {
|
|
|
248
246
|
*/
|
|
249
247
|
get featureCount(): number;
|
|
250
248
|
/**
|
|
251
|
-
* 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 [
|
|
249
|
+
* 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-popup/#initialDisplayMode) is set to "feature".
|
|
252
250
|
*
|
|
253
251
|
* @default false
|
|
254
252
|
*/
|
|
@@ -260,9 +258,9 @@ export abstract class ArcgisPopup extends LitElement {
|
|
|
260
258
|
*/
|
|
261
259
|
accessor featureMenuTitle: string | null | undefined;
|
|
262
260
|
/**
|
|
263
|
-
* 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](
|
|
261
|
+
* 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-popup/#content) and [heading](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#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/).
|
|
264
262
|
*
|
|
265
|
-
* When more than one graphic exists in this array, the current content of the component is set based on the value of the [
|
|
263
|
+
* 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-popup/#selectedFeature)).
|
|
266
264
|
*
|
|
267
265
|
* This value is `null` if no features are associated with the component.
|
|
268
266
|
*
|
|
@@ -282,7 +280,7 @@ export abstract class ArcgisPopup extends LitElement {
|
|
|
282
280
|
* component.features = graphics;
|
|
283
281
|
* ```
|
|
284
282
|
*/
|
|
285
|
-
accessor features: Array<
|
|
283
|
+
accessor features: Array<Graphic>;
|
|
286
284
|
/**
|
|
287
285
|
* 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.
|
|
288
286
|
*
|
|
@@ -300,11 +298,11 @@ export abstract class ArcgisPopup extends LitElement {
|
|
|
300
298
|
accessor goToOverride: GoToOverride | null | undefined;
|
|
301
299
|
/**
|
|
302
300
|
* The title of the popup. This can be set generically on the popup no
|
|
303
|
-
* matter the features that are selected. If the [
|
|
301
|
+
* matter the features that are selected. If the [selectedFeature](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#selectedFeature)
|
|
304
302
|
* has a [PopupTemplate](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/), then the title set in the
|
|
305
303
|
* corresponding template is used here.
|
|
306
304
|
*
|
|
307
|
-
* @see [headingLevel](
|
|
305
|
+
* @see [headingLevel](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#headingLevel)
|
|
308
306
|
* @example
|
|
309
307
|
* ```html
|
|
310
308
|
* <!-- This title will display in the popup unless a selected feature's
|
|
@@ -320,7 +318,7 @@ export abstract class ArcgisPopup extends LitElement {
|
|
|
320
318
|
*/
|
|
321
319
|
accessor heading: string | null | undefined;
|
|
322
320
|
/**
|
|
323
|
-
* Indicates the heading level to use for the [heading](
|
|
321
|
+
* Indicates the heading level to use for the [heading](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#heading) of the popup.
|
|
324
322
|
* By default, the heading is rendered
|
|
325
323
|
* as a level 2 heading (e.g. `<h2>Popup title</h2>`). Depending on the component's placement
|
|
326
324
|
* in your app, you may need to adjust this heading for proper semantics. This is
|
|
@@ -328,7 +326,7 @@ export abstract class ArcgisPopup extends LitElement {
|
|
|
328
326
|
*
|
|
329
327
|
* @default 2
|
|
330
328
|
* @see [Heading Elements](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Heading_Elements)
|
|
331
|
-
* @see [heading](
|
|
329
|
+
* @see [heading](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#heading)
|
|
332
330
|
* @example
|
|
333
331
|
* ```html
|
|
334
332
|
* <!-- Render the popup heading as a level 3 heading -->
|
|
@@ -337,7 +335,7 @@ export abstract class ArcgisPopup extends LitElement {
|
|
|
337
335
|
*/
|
|
338
336
|
accessor headingLevel: HeadingLevel;
|
|
339
337
|
/**
|
|
340
|
-
* Indicates whether to hide the action bar that holds the feature's [actions](
|
|
338
|
+
* Indicates whether to hide the action bar that holds the feature's [actions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#actions).
|
|
341
339
|
*
|
|
342
340
|
* @default false
|
|
343
341
|
*/
|
|
@@ -367,7 +365,7 @@ export abstract class ArcgisPopup extends LitElement {
|
|
|
367
365
|
*/
|
|
368
366
|
accessor hideFeatureMenuHeading: boolean;
|
|
369
367
|
/**
|
|
370
|
-
* Indicates whether to hide the feature navigation in the component. This allows the user to scroll through various [
|
|
368
|
+
* 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-popup/#features) using pagination arrows.
|
|
371
369
|
*
|
|
372
370
|
* @default false
|
|
373
371
|
*/
|
|
@@ -408,9 +406,9 @@ export abstract class ArcgisPopup extends LitElement {
|
|
|
408
406
|
accessor label: string | undefined;
|
|
409
407
|
/**
|
|
410
408
|
* Point used to position the popup. This is automatically set when viewing the
|
|
411
|
-
* popup by selecting a feature or when calling the [
|
|
409
|
+
* popup by selecting a feature or when calling the [fetchFeatures()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#fetchFeatures) method. If using the Popup to display content not related
|
|
412
410
|
* to features in the map, such as the results from a task, then you must set this
|
|
413
|
-
* property before [
|
|
411
|
+
* property before [open](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#open) the popup.
|
|
414
412
|
*
|
|
415
413
|
* @example
|
|
416
414
|
* ```js
|
|
@@ -480,9 +478,9 @@ export abstract class ArcgisPopup extends LitElement {
|
|
|
480
478
|
* An array of pending Promises that have not yet been fulfilled. If there are
|
|
481
479
|
* no pending promises, the value is `null`. When the pending promises are
|
|
482
480
|
* resolved they are removed from this array and the features they return
|
|
483
|
-
* are pushed into the [features](
|
|
481
|
+
* are pushed into the [features](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#features) array.
|
|
484
482
|
*/
|
|
485
|
-
accessor promises: Array<Promise<Array<
|
|
483
|
+
accessor promises: Array<Promise<Array<Graphic>>>;
|
|
486
484
|
/**
|
|
487
485
|
* 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.
|
|
488
486
|
*
|
|
@@ -499,14 +497,14 @@ export abstract class ArcgisPopup extends LitElement {
|
|
|
499
497
|
* determined based on the [PopupTemplate](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/) assigned to
|
|
500
498
|
* this feature.
|
|
501
499
|
*/
|
|
502
|
-
get selectedFeature():
|
|
500
|
+
get selectedFeature(): Graphic | null;
|
|
503
501
|
/**
|
|
504
502
|
* Returns a reference to the current [arcgis-feature](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-feature/) that the Popup is using.
|
|
505
503
|
* This is useful if needing to get a reference to the component in order to make any changes to it.
|
|
506
504
|
*/
|
|
507
505
|
get selectedFeatureComponent(): ArcgisFeature | null;
|
|
508
506
|
/**
|
|
509
|
-
* Index of the feature that is [
|
|
507
|
+
* Index of the feature that is [selectedFeature](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#selectedFeature). When [features](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#features) are set,
|
|
510
508
|
* the first index is automatically selected.
|
|
511
509
|
*/
|
|
512
510
|
accessor selectedFeatureIndex: number;
|
|
@@ -525,7 +523,7 @@ export abstract class ArcgisPopup extends LitElement {
|
|
|
525
523
|
*/
|
|
526
524
|
accessor topLayerDisabled: boolean;
|
|
527
525
|
/**
|
|
528
|
-
* Indicates whether to update the [location](
|
|
526
|
+
* Indicates whether to update the [location](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#location) when the [selectedFeatureIndex](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#selectedFeatureIndex) changes.
|
|
529
527
|
*
|
|
530
528
|
* @default false
|
|
531
529
|
* @since 5.0
|
|
@@ -537,14 +535,14 @@ export abstract class ArcgisPopup extends LitElement {
|
|
|
537
535
|
*/
|
|
538
536
|
accessor view: MapViewOrSceneView | null | undefined;
|
|
539
537
|
/**
|
|
540
|
-
* Removes all [promises](
|
|
541
|
-
* [heading](
|
|
538
|
+
* Removes all [promises](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#promises), [features](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#features), [content](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#content),
|
|
539
|
+
* [heading](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#heading) and [location](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#location) from the Popup.
|
|
542
540
|
*/
|
|
543
541
|
clear(): Promise<void>;
|
|
544
542
|
/** Permanently destroy the component. */
|
|
545
543
|
destroy(): Promise<void>;
|
|
546
544
|
/**
|
|
547
|
-
* 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 [
|
|
545
|
+
* 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-popup/#location) based on the input event's screen coordinates.
|
|
548
546
|
*
|
|
549
547
|
* @param screenPoint
|
|
550
548
|
* @param options
|
|
@@ -575,20 +573,20 @@ export abstract class ArcgisPopup extends LitElement {
|
|
|
575
573
|
/**
|
|
576
574
|
* Selects the feature at the next index in relation to the selected feature.
|
|
577
575
|
*
|
|
578
|
-
* @see [selectedFeatureIndex](
|
|
576
|
+
* @see [selectedFeatureIndex](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#selectedFeatureIndex)
|
|
579
577
|
*/
|
|
580
578
|
next(): Promise<FeaturesViewModel>;
|
|
581
579
|
/**
|
|
582
580
|
* Selects the feature at the previous index in relation to the selected feature.
|
|
583
581
|
*
|
|
584
|
-
* @see [selectedFeatureIndex](
|
|
582
|
+
* @see [selectedFeatureIndex](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#selectedFeatureIndex)
|
|
585
583
|
*/
|
|
586
584
|
previous(): Promise<FeaturesViewModel>;
|
|
587
585
|
/** Use this method to give focus to the component if the component is able to be focused. */
|
|
588
586
|
setFocus(): Promise<void>;
|
|
589
587
|
/**
|
|
590
|
-
* Triggers the [arcgisTriggerAction](
|
|
591
|
-
* at the specified index in the [actions](
|
|
588
|
+
* Triggers the [@arcgisTriggerAction](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#event-arcgisTriggerAction) event and executes the [actions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#actions)
|
|
589
|
+
* at the specified index in the [actions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#actions) array.
|
|
592
590
|
*
|
|
593
591
|
* @param action
|
|
594
592
|
*/
|
|
@@ -602,9 +600,9 @@ export abstract class ArcgisPopup extends LitElement {
|
|
|
602
600
|
* Fires after the user clicks on an action in the Popup component.
|
|
603
601
|
* This event may be used to define a custom function to execute when particular actions are clicked.
|
|
604
602
|
*
|
|
605
|
-
* @see [actions](
|
|
603
|
+
* @see [actions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#actions)
|
|
606
604
|
* @see [PopupTemplate.actions](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/#actions)
|
|
607
|
-
* @see [open
|
|
605
|
+
* @see [open](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#open)
|
|
608
606
|
* @example
|
|
609
607
|
* ```js
|
|
610
608
|
* // Fires each time an action is clicked
|