@arcgis/map-components 4.32.0-next.57 → 4.32.0-next.59
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/arcgis-map-components/{HX5HJNDC.js → 2I3OWSAJ.js} +2 -2
- package/dist/arcgis-map-components/{SPZOCMC5.js → 3VY5TD3W.js} +1 -1
- package/dist/arcgis-map-components/{LXNM2MEA.js → 4ME43X4G.js} +2 -2
- package/dist/arcgis-map-components/{6PYNCQQT.js → 4PFNGTVV.js} +2 -2
- package/dist/arcgis-map-components/{D5ANZF24.js → 4YBP5V2S.js} +2 -2
- package/dist/arcgis-map-components/{BKUPRBTN.js → 54ZJFNLT.js} +2 -2
- package/dist/arcgis-map-components/5GSX7WFS.js +6 -0
- package/dist/arcgis-map-components/{3OQGOLTN.js → 5X5ZL6GE.js} +2 -2
- package/dist/arcgis-map-components/{HJRLWOMC.js → 7TRUPHAU.js} +2 -2
- package/dist/arcgis-map-components/{FGJGYIY7.js → 7VZEKHNT.js} +2 -2
- package/dist/arcgis-map-components/{7O5NETNJ.js → AJH3SQU4.js} +2 -2
- package/dist/arcgis-map-components/{HUWGNLRA.js → ASBF2EYC.js} +2 -2
- package/dist/arcgis-map-components/B4FHR6RW.js +6 -0
- package/dist/arcgis-map-components/{D7UYSSAN.js → BCGASJHX.js} +2 -2
- package/dist/arcgis-map-components/{FPQQQFRI.js → BPGZGDBO.js} +2 -2
- package/dist/arcgis-map-components/{QOLHJVFZ.js → CJQ43RI7.js} +2 -2
- package/dist/arcgis-map-components/{6ZF5J3I7.js → CMH66Q55.js} +2 -2
- package/dist/arcgis-map-components/{RRNQABFM.js → DKJ64KDF.js} +2 -2
- package/dist/arcgis-map-components/{T7YRCTXS.js → DLPHMOEE.js} +2 -2
- package/dist/arcgis-map-components/{FIUAL5BE.js → DN4WTGMD.js} +2 -2
- package/dist/arcgis-map-components/{NXIKOW2R.js → EHWJ6PUW.js} +2 -2
- package/dist/arcgis-map-components/{ABHDJTYU.js → EM3GGKAC.js} +2 -2
- package/dist/arcgis-map-components/{A5HEBUDH.js → ENE5VUOW.js} +2 -2
- package/dist/arcgis-map-components/{6OQB7WQ4.js → F4ZWFZAW.js} +2 -2
- package/dist/arcgis-map-components/{ZKS4YYJE.js → FWS5B4YJ.js} +3 -3
- package/dist/arcgis-map-components/{GCUTVBKY.js → GAVR2KF7.js} +2 -2
- package/dist/arcgis-map-components/{YGUU4TNS.js → IQJGWNIH.js} +2 -2
- package/dist/arcgis-map-components/{D2PXXCEX.js → IWZYKJWC.js} +2 -2
- package/dist/arcgis-map-components/{ILOOVZNN.js → JR444YDI.js} +1 -1
- package/dist/arcgis-map-components/{GLLDQ2J3.js → KT754ABN.js} +2 -2
- package/dist/arcgis-map-components/{R6TKNGCP.js → KVPXLE47.js} +2 -2
- package/dist/arcgis-map-components/{Y2V5VGMG.js → LYIR3RDI.js} +2 -2
- package/dist/arcgis-map-components/{X6TBRLE6.js → MG544XPR.js} +2 -2
- package/dist/arcgis-map-components/{YES6CSTR.js → N5X7YMWK.js} +2 -2
- package/dist/arcgis-map-components/{MHWDV2KG.js → NBOHVVKB.js} +2 -2
- package/dist/arcgis-map-components/{RADGGFFX.js → NI7VKPIM.js} +2 -2
- package/dist/arcgis-map-components/{UKXBLWCH.js → NIUPVBJ3.js} +2 -2
- package/dist/arcgis-map-components/{R6EWVYKI.js → O2PG2GH6.js} +2 -2
- package/dist/arcgis-map-components/{4MQVEBCS.js → O5NLFJQY.js} +2 -2
- package/dist/arcgis-map-components/{K6PWZWXG.js → P5BVTQBA.js} +2 -2
- package/dist/arcgis-map-components/{QIDQ7Q5F.js → Q2GMAKB7.js} +2 -2
- package/dist/arcgis-map-components/{H22OP5GJ.js → QABXFE2B.js} +2 -2
- package/dist/arcgis-map-components/{G5GHK4VX.js → QG5EM6RZ.js} +2 -2
- package/dist/arcgis-map-components/{WDJDJPLT.js → QGIIJLSE.js} +2 -2
- package/dist/arcgis-map-components/{SCMRWQK5.js → QTVAFV6W.js} +2 -2
- package/dist/arcgis-map-components/{5CXYQAG2.js → R4DIMVG4.js} +2 -2
- package/dist/arcgis-map-components/{SCMEYPKP.js → RAK3QKBP.js} +1 -1
- package/dist/arcgis-map-components/{L4PTPKU6.js → RMB4WPNZ.js} +2 -2
- package/dist/arcgis-map-components/{ICEV3QAV.js → ROWRJ7UR.js} +2 -2
- package/dist/arcgis-map-components/{KKYMY6DT.js → RRSPW45Z.js} +2 -2
- package/dist/arcgis-map-components/{5PUCPPRN.js → RVBBT2OJ.js} +2 -2
- package/dist/arcgis-map-components/{ZVF7AYMF.js → SABCB2ZB.js} +2 -2
- package/dist/arcgis-map-components/{E3DPCAEB.js → SOSQSV3F.js} +2 -2
- package/dist/arcgis-map-components/{LA4M6KQR.js → SY5YFKNM.js} +2 -2
- package/dist/arcgis-map-components/{6ASDW7MF.js → TNHVRMRT.js} +2 -2
- package/dist/arcgis-map-components/{XELMAVFT.js → TRQKDQWS.js} +2 -2
- package/dist/arcgis-map-components/{RTPK3VH4.js → U337BNZD.js} +2 -2
- package/dist/arcgis-map-components/{Z64HLDC4.js → V4RHFEZA.js} +2 -2
- package/dist/arcgis-map-components/{4AKSHN2F.js → VCYFX6L2.js} +2 -2
- package/dist/arcgis-map-components/{2YHU2XWU.js → W6C4PQ55.js} +2 -2
- package/dist/arcgis-map-components/{DMCJJPM2.js → W6C6OBNC.js} +2 -2
- package/dist/arcgis-map-components/{G65KUN7C.js → WXIML6F6.js} +2 -2
- package/dist/arcgis-map-components/{OYRJL42M.js → XJMXFAMM.js} +2 -2
- package/dist/arcgis-map-components/{O2HZGCHO.js → XUYLGILW.js} +2 -2
- package/dist/arcgis-map-components/{JMVFGJBD.js → Y5VZNZCB.js} +2 -2
- package/dist/arcgis-map-components/{6WKV4SUQ.js → YNM6GPND.js} +2 -2
- package/dist/arcgis-map-components/{UZIHBZTH.js → YSHIJ4ZS.js} +2 -2
- package/dist/arcgis-map-components/{RNSQFL4P.js → YU35JGUU.js} +2 -2
- package/dist/arcgis-map-components/{5HXT7Q52.js → YV3FBG3Z.js} +2 -2
- package/dist/arcgis-map-components/{4LXXFNMV.js → Z5Q4QCFO.js} +2 -2
- package/dist/arcgis-map-components/{J6B3SEJ3.js → ZW2GE6XB.js} +2 -2
- package/dist/arcgis-map-components/arcgis-map-components.esm.js +2 -2
- package/dist/chunks/basemap-gallery-item.js +1 -1
- package/dist/chunks/component-utils.js +1 -1
- package/dist/chunks/disconnected.js +1 -1
- package/dist/chunks/globalCss.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/useViewModel.js +1 -1
- package/dist/chunks/useWidget.js +1 -1
- package/dist/components/arcgis-area-measurement-2d/customElement.js +1 -1
- package/dist/components/arcgis-area-measurement-3d/customElement.js +1 -1
- package/dist/components/arcgis-attachments/customElement.js +1 -1
- package/dist/components/arcgis-basemap-gallery/components/basemap-gallery-item/customElement.js +1 -1
- package/dist/components/arcgis-basemap-gallery/customElement.js +1 -1
- package/dist/components/arcgis-basemap-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-basemap-toggle/customElement.js +1 -1
- package/dist/components/arcgis-bookmarks/customElement.js +1 -1
- package/dist/components/arcgis-building-explorer/customElement.js +1 -1
- package/dist/components/arcgis-catalog-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-compass/customElement.js +1 -1
- package/dist/components/arcgis-coordinate-conversion/customElement.js +1 -1
- package/dist/components/arcgis-daylight/customElement.js +1 -1
- package/dist/components/arcgis-directional-pad/customElement.js +1 -1
- package/dist/components/arcgis-directions/customElement.js +1 -1
- package/dist/components/arcgis-directline-measurement-3d/customElement.js +1 -1
- package/dist/components/arcgis-distance-measurement-2d/customElement.js +1 -1
- package/dist/components/arcgis-editor/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile/customElement.js +1 -1
- package/dist/components/arcgis-expand/customElement.js +1 -1
- package/dist/components/arcgis-feature/customElement.js +1 -1
- package/dist/components/arcgis-feature-form/customElement.js +1 -1
- package/dist/components/arcgis-feature-table/customElement.js +1 -1
- package/dist/components/arcgis-feature-templates/customElement.js +1 -1
- package/dist/components/arcgis-features/customElement.js +1 -1
- package/dist/components/arcgis-floor-filter/customElement.js +1 -1
- package/dist/components/arcgis-fullscreen/customElement.js +1 -1
- package/dist/components/arcgis-histogram/customElement.js +1 -1
- package/dist/components/arcgis-histogram-range-slider/customElement.js +1 -1
- package/dist/components/arcgis-home/customElement.js +1 -1
- package/dist/components/arcgis-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-legend/customElement.js +1 -1
- package/dist/components/arcgis-line-of-sight/customElement.js +1 -1
- package/dist/components/arcgis-locate/customElement.js +1 -1
- package/dist/components/arcgis-map/customElement.d.ts +2 -2
- package/dist/components/arcgis-map/customElement.js +1 -1
- package/dist/components/arcgis-measurement/customElement.js +1 -1
- package/dist/components/arcgis-navigation-toggle/customElement.js +1 -1
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +1 -1
- package/dist/components/arcgis-placement/customElement.js +1 -1
- package/dist/components/arcgis-print/customElement.js +1 -1
- package/dist/components/arcgis-scale-bar/customElement.js +36 -33
- package/dist/components/arcgis-scale-range-slider/customElement.js +1 -1
- package/dist/components/arcgis-scene/customElement.d.ts +2 -2
- package/dist/components/arcgis-scene/customElement.js +5 -10
- package/dist/components/arcgis-search/customElement.js +1 -1
- package/dist/components/arcgis-shadow-cast/customElement.js +1 -1
- package/dist/components/arcgis-sketch/customElement.js +5 -5
- package/dist/components/arcgis-slice/customElement.js +1 -1
- package/dist/components/arcgis-slider/customElement.js +1 -1
- package/dist/components/arcgis-swipe/customElement.js +1 -1
- package/dist/components/arcgis-table-list/customElement.js +1 -1
- package/dist/components/arcgis-time-slider/customElement.js +1 -1
- package/dist/components/arcgis-track/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-associations/customElement.js +5 -2
- package/dist/components/arcgis-utility-network-trace/customElement.js +5 -2
- package/dist/components/arcgis-utility-network-validate-topology/customElement.js +7 -4
- package/dist/components/arcgis-value-picker/customElement.js +1 -1
- package/dist/components/arcgis-version-management/customElement.js +1 -1
- package/dist/components/arcgis-version-management-service-item/customElement.js +1 -1
- package/dist/components/arcgis-version-management-version-item/customElement.js +1 -1
- package/dist/components/arcgis-version-management-version-list/customElement.js +1 -1
- package/dist/components/arcgis-version-management-version-properties/customElement.js +1 -1
- package/dist/components/arcgis-weather/customElement.js +1 -1
- package/dist/components/arcgis-zoom/customElement.js +1 -1
- package/dist/docs/api.json +6 -6
- package/dist/docs/docs.json +10 -10
- package/dist/docs/vscode.html-custom-data.json +2 -2
- package/dist/docs/web-types.json +3 -3
- package/dist/index.js +1 -1
- package/dist/loader.js +1 -1
- package/package.json +5 -5
- package/dist/arcgis-map-components/DDRW5HWP.js +0 -6
- package/dist/arcgis-map-components/MNGIGCDO.js +0 -6
package/dist/docs/api.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
|
-
"timestamp": "2024-12-
|
|
2
|
+
"timestamp": "2024-12-24T12:56:45",
|
|
3
3
|
"compiler": {
|
|
4
4
|
"name": "@arcgis/lumina-compiler",
|
|
5
|
-
"version": "4.32.0-next.
|
|
5
|
+
"version": "4.32.0-next.59",
|
|
6
6
|
"typescriptVersion": "5.6.3"
|
|
7
7
|
},
|
|
8
8
|
"schemaVersion": "1.0.0",
|
|
@@ -25953,7 +25953,7 @@
|
|
|
25953
25953
|
]
|
|
25954
25954
|
}
|
|
25955
25955
|
},
|
|
25956
|
-
"signature": "(layer: __esri.Layer | Promise<any>, index?: number
|
|
25956
|
+
"signature": "(layer: __esri.Layer | Promise<any>, index?: number): Promise<void>",
|
|
25957
25957
|
"async": true
|
|
25958
25958
|
},
|
|
25959
25959
|
{
|
|
@@ -26014,7 +26014,7 @@
|
|
|
26014
26014
|
]
|
|
26015
26015
|
}
|
|
26016
26016
|
},
|
|
26017
|
-
"signature": "(layers: __esri.Layer[], index?: number
|
|
26017
|
+
"signature": "(layers: __esri.Layer[], index?: number): Promise<void>",
|
|
26018
26018
|
"async": true
|
|
26019
26019
|
},
|
|
26020
26020
|
{
|
|
@@ -31877,7 +31877,7 @@
|
|
|
31877
31877
|
]
|
|
31878
31878
|
}
|
|
31879
31879
|
},
|
|
31880
|
-
"signature": "(layer: __esri.Layer | Promise<any>, index?: number
|
|
31880
|
+
"signature": "(layer: __esri.Layer | Promise<any>, index?: number): Promise<void>",
|
|
31881
31881
|
"async": true
|
|
31882
31882
|
},
|
|
31883
31883
|
{
|
|
@@ -31938,7 +31938,7 @@
|
|
|
31938
31938
|
]
|
|
31939
31939
|
}
|
|
31940
31940
|
},
|
|
31941
|
-
"signature": "(layers: __esri.Layer[], index?: number
|
|
31941
|
+
"signature": "(layers: __esri.Layer[], index?: number): Promise<void>",
|
|
31942
31942
|
"async": true
|
|
31943
31943
|
},
|
|
31944
31944
|
{
|
package/dist/docs/docs.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
|
-
"timestamp": "2024-12-
|
|
2
|
+
"timestamp": "2024-12-24T12:56:45",
|
|
3
3
|
"compiler": {
|
|
4
4
|
"name": "@arcgis/lumina-compiler",
|
|
5
|
-
"version": "4.32.0-next.
|
|
5
|
+
"version": "4.32.0-next.59",
|
|
6
6
|
"typescriptVersion": "5.6.3"
|
|
7
7
|
},
|
|
8
8
|
"components": [
|
|
@@ -22855,7 +22855,7 @@
|
|
|
22855
22855
|
"docs": ""
|
|
22856
22856
|
},
|
|
22857
22857
|
"complexType": {
|
|
22858
|
-
"signature": "(layer: __esri.Layer | Promise<any>, index?: number
|
|
22858
|
+
"signature": "(layer: __esri.Layer | Promise<any>, index?: number): Promise<void>",
|
|
22859
22859
|
"parameters": [
|
|
22860
22860
|
{
|
|
22861
22861
|
"name": "layer",
|
|
@@ -22882,7 +22882,7 @@
|
|
|
22882
22882
|
}
|
|
22883
22883
|
}
|
|
22884
22884
|
},
|
|
22885
|
-
"signature": "addLayer(layer: __esri.Layer | Promise<any>, index?: number
|
|
22885
|
+
"signature": "addLayer(layer: __esri.Layer | Promise<any>, index?: number): Promise<void>",
|
|
22886
22886
|
"parameters": [
|
|
22887
22887
|
{
|
|
22888
22888
|
"name": "layer",
|
|
@@ -22905,7 +22905,7 @@
|
|
|
22905
22905
|
"docs": ""
|
|
22906
22906
|
},
|
|
22907
22907
|
"complexType": {
|
|
22908
|
-
"signature": "(layers: __esri.Layer[], index?: number
|
|
22908
|
+
"signature": "(layers: __esri.Layer[], index?: number): Promise<void>",
|
|
22909
22909
|
"parameters": [
|
|
22910
22910
|
{
|
|
22911
22911
|
"name": "layers",
|
|
@@ -22937,7 +22937,7 @@
|
|
|
22937
22937
|
}
|
|
22938
22938
|
}
|
|
22939
22939
|
},
|
|
22940
|
-
"signature": "addLayers(layers: __esri.Layer[], index?: number
|
|
22940
|
+
"signature": "addLayers(layers: __esri.Layer[], index?: number): Promise<void>",
|
|
22941
22941
|
"parameters": [
|
|
22942
22942
|
{
|
|
22943
22943
|
"name": "layers",
|
|
@@ -28181,7 +28181,7 @@
|
|
|
28181
28181
|
"docs": ""
|
|
28182
28182
|
},
|
|
28183
28183
|
"complexType": {
|
|
28184
|
-
"signature": "(layer: __esri.Layer | Promise<any>, index?: number
|
|
28184
|
+
"signature": "(layer: __esri.Layer | Promise<any>, index?: number): Promise<void>",
|
|
28185
28185
|
"parameters": [
|
|
28186
28186
|
{
|
|
28187
28187
|
"name": "layer",
|
|
@@ -28208,7 +28208,7 @@
|
|
|
28208
28208
|
}
|
|
28209
28209
|
}
|
|
28210
28210
|
},
|
|
28211
|
-
"signature": "addLayer(layer: __esri.Layer | Promise<any>, index?: number
|
|
28211
|
+
"signature": "addLayer(layer: __esri.Layer | Promise<any>, index?: number): Promise<void>",
|
|
28212
28212
|
"parameters": [
|
|
28213
28213
|
{
|
|
28214
28214
|
"name": "layer",
|
|
@@ -28231,7 +28231,7 @@
|
|
|
28231
28231
|
"docs": ""
|
|
28232
28232
|
},
|
|
28233
28233
|
"complexType": {
|
|
28234
|
-
"signature": "(layers: __esri.Layer[], index?: number
|
|
28234
|
+
"signature": "(layers: __esri.Layer[], index?: number): Promise<void>",
|
|
28235
28235
|
"parameters": [
|
|
28236
28236
|
{
|
|
28237
28237
|
"name": "layers",
|
|
@@ -28263,7 +28263,7 @@
|
|
|
28263
28263
|
}
|
|
28264
28264
|
}
|
|
28265
28265
|
},
|
|
28266
|
-
"signature": "addLayers(layers: __esri.Layer[], index?: number
|
|
28266
|
+
"signature": "addLayers(layers: __esri.Layer[], index?: number): Promise<void>",
|
|
28267
28267
|
"parameters": [
|
|
28268
28268
|
{
|
|
28269
28269
|
"name": "layers",
|
|
@@ -4406,7 +4406,7 @@
|
|
|
4406
4406
|
},
|
|
4407
4407
|
{
|
|
4408
4408
|
"name": "arcgis-map",
|
|
4409
|
-
"description": "Loads a [WebMap](https://developers.arcgis.com/javascript/latest/api-reference/esri-WebMap.html) from [ArcGIS Online](https://www.arcgis.com/home/index.html) or [ArcGIS Enterprise portal](https://enterprise.arcgis.com/en/portal/latest/administer/windows/what-is-portal-for-arcgis-.htm) into a [MapView](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html).\n--\n\n### Events\n- **arcgisViewChange** - This event is for view related property changes: zoom, scale, center, rotation, extent, camera, viewpoint.\nThis event will also emit if stationary toggles from true to false.\n- **arcgisViewClick** - Fires after a user clicks on the view.\n- **arcgisViewDoubleClick** - Fires after double-clicking on the view.\n- **arcgisViewDrag** - Fires during a pointer drag on the view.\n- **arcgisViewHold** - Fires during a pointer drag on the view.\n- **arcgisViewImmediateClick** - Fires right after a user clicks on the view.\n- **arcgisViewImmediateDoubleClick** - Is emitted after two consecutive immediate-click events.\n- **arcgisViewKeyDown** - Fires after a keyboard key is pressed.\n- **arcgisViewKeyUp** - Fires after a keyboard key is pressed.\n- **arcgisViewLayerviewCreate** - Fires after each layer in the map has a corresponding LayerView created and rendered in the view.\n- **arcgisViewLayerviewCreateError** - Fires when an error emits during the creation of a LayerView after a layer has been added to the map.\n- **arcgisViewLayerviewDestroy** - Fires after a LayerView is destroyed and is no longer rendered in the view.\n- **arcgisViewMouseWheel** - Fires when a wheel button of a pointing device (typically a mouse) is scrolled on the view.\n- **arcgisViewPointerDown** - Fires after a mouse button is pressed, or a finger touches the display.\n- **arcgisViewPointerEnter** - Fires after a mouse cursor enters the view, or a display touch begins.\n- **arcgisViewPointerLeave** - Fires after a mouse cursor leaves the view, or a display touch ends.\n- **arcgisViewPointerMove** - Fires after the mouse or a finger on the display moves.\n- **arcgisViewPointerUp** - Fires after a mouse button is released, or a display touch ends.\n- **arcgisViewReadyChange** - This event is for the `ready` property and will be emitted when the view is ready.\nThis event will also emit if the `map` property is changed.\n\n### Methods\n- `addLayer(layer: __esri.Layer | Promise<any>, index?: number
|
|
4409
|
+
"description": "Loads a [WebMap](https://developers.arcgis.com/javascript/latest/api-reference/esri-WebMap.html) from [ArcGIS Online](https://www.arcgis.com/home/index.html) or [ArcGIS Enterprise portal](https://enterprise.arcgis.com/en/portal/latest/administer/windows/what-is-portal-for-arcgis-.htm) into a [MapView](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html).\n--\n\n### Events\n- **arcgisViewChange** - This event is for view related property changes: zoom, scale, center, rotation, extent, camera, viewpoint.\nThis event will also emit if stationary toggles from true to false.\n- **arcgisViewClick** - Fires after a user clicks on the view.\n- **arcgisViewDoubleClick** - Fires after double-clicking on the view.\n- **arcgisViewDrag** - Fires during a pointer drag on the view.\n- **arcgisViewHold** - Fires during a pointer drag on the view.\n- **arcgisViewImmediateClick** - Fires right after a user clicks on the view.\n- **arcgisViewImmediateDoubleClick** - Is emitted after two consecutive immediate-click events.\n- **arcgisViewKeyDown** - Fires after a keyboard key is pressed.\n- **arcgisViewKeyUp** - Fires after a keyboard key is pressed.\n- **arcgisViewLayerviewCreate** - Fires after each layer in the map has a corresponding LayerView created and rendered in the view.\n- **arcgisViewLayerviewCreateError** - Fires when an error emits during the creation of a LayerView after a layer has been added to the map.\n- **arcgisViewLayerviewDestroy** - Fires after a LayerView is destroyed and is no longer rendered in the view.\n- **arcgisViewMouseWheel** - Fires when a wheel button of a pointing device (typically a mouse) is scrolled on the view.\n- **arcgisViewPointerDown** - Fires after a mouse button is pressed, or a finger touches the display.\n- **arcgisViewPointerEnter** - Fires after a mouse cursor enters the view, or a display touch begins.\n- **arcgisViewPointerLeave** - Fires after a mouse cursor leaves the view, or a display touch ends.\n- **arcgisViewPointerMove** - Fires after the mouse or a finger on the display moves.\n- **arcgisViewPointerUp** - Fires after a mouse button is released, or a display touch ends.\n- **arcgisViewReadyChange** - This event is for the `ready` property and will be emitted when the view is ready.\nThis event will also emit if the `map` property is changed.\n\n### Methods\n- `addLayer(layer: __esri.Layer | Promise<any>, index?: number): Promise<void>` - Adds a layer to the map layers collection.\n- `addLayers(layers: __esri.Layer[], index?: number): Promise<void>` - Adds a layer or array of layers to the map layers collection.\n- `closePopup(): Promise<void>` - Closes the popup.\n- `componentOnReady(): Promise<void>` - Create a promise that resolves once component is fully loaded.\n- `destroy(): Promise<void>` - Destroys the view, and any associated resources, including its map, popup, and UI elements.\n- `goTo(target: __esri.GoToTarget2D, options?: __esri.GoToOptions2D): Promise<unknown>` - Sets the view to a given target.\n- `hitTest(screenPoint: __esri.MapViewScreenPoint | MouseEvent, options?: __esri.MapViewHitTestOptions): Promise<__esri.HitTestResult>` - Returns hit test results from each layer that intersects the specified screen coordinates.\n- `openPopup(options?: __esri.PopupViewOpenPopupOptions): Promise<void>` - Opens the popup at the given location with content defined either explicitly with content or driven\nfrom the PopupTemplate of input features.\n- `takeScreenshot(options?: __esri.MapViewTakeScreenshotOptions): Promise<__esri.Screenshot>` - Create a screenshot of the current view.\n- `toMap(screenPoint: __esri.MapViewScreenPoint | MouseEvent): __esri.Point`\n- `toScreen(point: __esri.Point, options?: __esri.ToScreenOptions2D): __esri.MapViewScreenPoint`\n- `tryFatalErrorRecovery(): Promise<void>` - Call this method to clear any fatal errors resulting from a lost WebGL context.\n- `whenLayerView(layer: __esri.Layer): Promise<__esri.LayerView>` - Gets the LayerView created on the view for the given layer.",
|
|
4410
4410
|
"attributes": [
|
|
4411
4411
|
{
|
|
4412
4412
|
"name": "auto-destroy-disabled",
|
|
@@ -5310,7 +5310,7 @@
|
|
|
5310
5310
|
},
|
|
5311
5311
|
{
|
|
5312
5312
|
"name": "arcgis-scene",
|
|
5313
|
-
"description": "The web [scene](https://developers.arcgis.com/javascript/latest/api-reference/esri-WebScene.html) is the core element of 3D mapping across ArcGIS. It defines the content, style, environment, and slides of your scene and it can be shared across multiple ArcGIS web and desktop applications.\n--\n\n### Events\n- **arcgisViewChange** - This event is for view related property changes: zoom, scale, center, rotation, extent, camera, viewpoint.\nThis event will also emit if stationary toggles from true to false.\n- **arcgisViewClick** - Fires after a user clicks on the view.\n- **arcgisViewDoubleClick** - Fires after double-clicking on the view.\n- **arcgisViewDrag** - Fires during a pointer drag on the view.\n- **arcgisViewHold** - Fires during a pointer drag on the view.\n- **arcgisViewImmediateClick** - Fires right after a user clicks on the view.\n- **arcgisViewImmediateDoubleClick** - Is emitted after two consecutive immediate-click events.\n- **arcgisViewKeyDown** - Fires after a keyboard key is pressed.\n- **arcgisViewKeyUp** - Fires after a keyboard key is pressed.\n- **arcgisViewLayerviewCreate** - Fires after each layer in the map has a corresponding LayerView created and rendered in the view.\n- **arcgisViewLayerviewCreateError** - Fires when an error emits during the creation of a LayerView after a layer has been added to the map.\n- **arcgisViewLayerviewDestroy** - Fires after a LayerView is destroyed and is no longer rendered in the view.\n- **arcgisViewMouseWheel** - Fires when a wheel button of a pointing device (typically a mouse) is scrolled on the view.\n- **arcgisViewPointerDown** - Fires after a mouse button is pressed, or a finger touches the display.\n- **arcgisViewPointerEnter** - Fires after a mouse cursor enters the view, or a display touch begins.\n- **arcgisViewPointerLeave** - Fires after a mouse cursor leaves the view, or a display touch ends.\n- **arcgisViewPointerMove** - Fires after the mouse or a finger on the display moves.\n- **arcgisViewPointerUp** - Fires after a mouse button is released, or a display touch ends.\n- **arcgisViewReadyChange** - This event is for the `ready` property and will be emitted when the view is ready.\nThis event will also emit if the `map` property is changed.\n\n### Methods\n- `addLayer(layer: __esri.Layer | Promise<any>, index?: number
|
|
5313
|
+
"description": "The web [scene](https://developers.arcgis.com/javascript/latest/api-reference/esri-WebScene.html) is the core element of 3D mapping across ArcGIS. It defines the content, style, environment, and slides of your scene and it can be shared across multiple ArcGIS web and desktop applications.\n--\n\n### Events\n- **arcgisViewChange** - This event is for view related property changes: zoom, scale, center, rotation, extent, camera, viewpoint.\nThis event will also emit if stationary toggles from true to false.\n- **arcgisViewClick** - Fires after a user clicks on the view.\n- **arcgisViewDoubleClick** - Fires after double-clicking on the view.\n- **arcgisViewDrag** - Fires during a pointer drag on the view.\n- **arcgisViewHold** - Fires during a pointer drag on the view.\n- **arcgisViewImmediateClick** - Fires right after a user clicks on the view.\n- **arcgisViewImmediateDoubleClick** - Is emitted after two consecutive immediate-click events.\n- **arcgisViewKeyDown** - Fires after a keyboard key is pressed.\n- **arcgisViewKeyUp** - Fires after a keyboard key is pressed.\n- **arcgisViewLayerviewCreate** - Fires after each layer in the map has a corresponding LayerView created and rendered in the view.\n- **arcgisViewLayerviewCreateError** - Fires when an error emits during the creation of a LayerView after a layer has been added to the map.\n- **arcgisViewLayerviewDestroy** - Fires after a LayerView is destroyed and is no longer rendered in the view.\n- **arcgisViewMouseWheel** - Fires when a wheel button of a pointing device (typically a mouse) is scrolled on the view.\n- **arcgisViewPointerDown** - Fires after a mouse button is pressed, or a finger touches the display.\n- **arcgisViewPointerEnter** - Fires after a mouse cursor enters the view, or a display touch begins.\n- **arcgisViewPointerLeave** - Fires after a mouse cursor leaves the view, or a display touch ends.\n- **arcgisViewPointerMove** - Fires after the mouse or a finger on the display moves.\n- **arcgisViewPointerUp** - Fires after a mouse button is released, or a display touch ends.\n- **arcgisViewReadyChange** - This event is for the `ready` property and will be emitted when the view is ready.\nThis event will also emit if the `map` property is changed.\n\n### Methods\n- `addLayer(layer: __esri.Layer | Promise<any>, index?: number): Promise<void>` - Adds a layer to the map layers collection.\n- `addLayers(layers: __esri.Layer[], index?: number): Promise<void>` - Adds a layer or array of layers to the map layers collection.\n- `closePopup(): Promise<void>` - Closes the popup.\n- `componentOnReady(): Promise<void>` - Create a promise that resolves once component is fully loaded.\n- `destroy(): Promise<void>` - Destroys the view, and any associated resources, including its map, popup, and UI elements.\n- `goTo(target: __esri.GoToTarget3D, options?: __esri.GoToOptions3D): Promise<unknown>` - Sets the view to a given target.\n- `hitTest(screenPoint: __esri.ScreenPoint, options?: __esri.SceneViewHitTestOptions): Promise<__esri.HitTestResult>` - Returns hit test results from each layer that intersects the specified screen coordinates.\n- `openPopup(options?: __esri.PopupViewOpenPopupOptions): Promise<void>` - Opens the popup at the given location with content defined either explicitly with content or driven\nfrom the PopupTemplate of input features.\n- `takeScreenshot(options?: __esri.SceneViewTakeScreenshotOptions): Promise<__esri.Screenshot>` - Create a screenshot of the current view.\n- `toMap(screenPoint: __esri.SceneViewScreenPoint | MouseEvent, options?: __esri.SceneViewToMapOptions): __esri.Point`\n- `toScreen(point: __esri.Point): __esri.SceneViewScreenPoint`\n- `tryFatalErrorRecovery(): Promise<void>` - Call this method to clear any fatal errors resulting from a lost WebGL context.\n- `whenAnalysisView(analysis: __esri.AreaMeasurementAnalysis | __esri.DimensionAnalysis | __esri.DirectLineMeasurementAnalysis | __esri.LineOfSightAnalysis | __esri.SliceAnalysis | __esri.ViewshedAnalysis): Promise<__esri.AreaMeasurementAnalysisView3D | __esri.DimensionAnalysisView | __esri.DirectLineMeasurementAnalysisView3D | __esri.LineOfSightAnalysisView3D | __esri.SliceAnalysisView3D | __esri.ViewshedAnalysisView3D>`\n- `whenLayerView(layer: __esri.Layer): Promise<__esri.LayerView>` - Gets the LayerView created on the view for the given layer.",
|
|
5314
5314
|
"attributes": [
|
|
5315
5315
|
{
|
|
5316
5316
|
"name": "alpha-compositing-enabled",
|
package/dist/docs/web-types.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
|
|
3
3
|
"name": "@arcgis/map-components",
|
|
4
|
-
"version": "4.32.0-next.
|
|
4
|
+
"version": "4.32.0-next.59",
|
|
5
5
|
"description-markup": "markdown",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|
|
@@ -7860,7 +7860,7 @@
|
|
|
7860
7860
|
},
|
|
7861
7861
|
{
|
|
7862
7862
|
"name": "arcgis-map",
|
|
7863
|
-
"description": "Loads a [WebMap](https://developers.arcgis.com/javascript/latest/api-reference/esri-WebMap.html) from [ArcGIS Online](https://www.arcgis.com/home/index.html) or [ArcGIS Enterprise portal](https://enterprise.arcgis.com/en/portal/latest/administer/windows/what-is-portal-for-arcgis-.htm) into a [MapView](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html).\n--\n\n### Events\n- **arcgisViewChange** - This event is for view related property changes: zoom, scale, center, rotation, extent, camera, viewpoint.\nThis event will also emit if stationary toggles from true to false.\n- **arcgisViewClick** - Fires after a user clicks on the view.\n- **arcgisViewDoubleClick** - Fires after double-clicking on the view.\n- **arcgisViewDrag** - Fires during a pointer drag on the view.\n- **arcgisViewHold** - Fires during a pointer drag on the view.\n- **arcgisViewImmediateClick** - Fires right after a user clicks on the view.\n- **arcgisViewImmediateDoubleClick** - Is emitted after two consecutive immediate-click events.\n- **arcgisViewKeyDown** - Fires after a keyboard key is pressed.\n- **arcgisViewKeyUp** - Fires after a keyboard key is pressed.\n- **arcgisViewLayerviewCreate** - Fires after each layer in the map has a corresponding LayerView created and rendered in the view.\n- **arcgisViewLayerviewCreateError** - Fires when an error emits during the creation of a LayerView after a layer has been added to the map.\n- **arcgisViewLayerviewDestroy** - Fires after a LayerView is destroyed and is no longer rendered in the view.\n- **arcgisViewMouseWheel** - Fires when a wheel button of a pointing device (typically a mouse) is scrolled on the view.\n- **arcgisViewPointerDown** - Fires after a mouse button is pressed, or a finger touches the display.\n- **arcgisViewPointerEnter** - Fires after a mouse cursor enters the view, or a display touch begins.\n- **arcgisViewPointerLeave** - Fires after a mouse cursor leaves the view, or a display touch ends.\n- **arcgisViewPointerMove** - Fires after the mouse or a finger on the display moves.\n- **arcgisViewPointerUp** - Fires after a mouse button is released, or a display touch ends.\n- **arcgisViewReadyChange** - This event is for the `ready` property and will be emitted when the view is ready.\nThis event will also emit if the `map` property is changed.\n\n### Methods\n- `addLayer(layer: __esri.Layer | Promise<any>, index?: number
|
|
7863
|
+
"description": "Loads a [WebMap](https://developers.arcgis.com/javascript/latest/api-reference/esri-WebMap.html) from [ArcGIS Online](https://www.arcgis.com/home/index.html) or [ArcGIS Enterprise portal](https://enterprise.arcgis.com/en/portal/latest/administer/windows/what-is-portal-for-arcgis-.htm) into a [MapView](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html).\n--\n\n### Events\n- **arcgisViewChange** - This event is for view related property changes: zoom, scale, center, rotation, extent, camera, viewpoint.\nThis event will also emit if stationary toggles from true to false.\n- **arcgisViewClick** - Fires after a user clicks on the view.\n- **arcgisViewDoubleClick** - Fires after double-clicking on the view.\n- **arcgisViewDrag** - Fires during a pointer drag on the view.\n- **arcgisViewHold** - Fires during a pointer drag on the view.\n- **arcgisViewImmediateClick** - Fires right after a user clicks on the view.\n- **arcgisViewImmediateDoubleClick** - Is emitted after two consecutive immediate-click events.\n- **arcgisViewKeyDown** - Fires after a keyboard key is pressed.\n- **arcgisViewKeyUp** - Fires after a keyboard key is pressed.\n- **arcgisViewLayerviewCreate** - Fires after each layer in the map has a corresponding LayerView created and rendered in the view.\n- **arcgisViewLayerviewCreateError** - Fires when an error emits during the creation of a LayerView after a layer has been added to the map.\n- **arcgisViewLayerviewDestroy** - Fires after a LayerView is destroyed and is no longer rendered in the view.\n- **arcgisViewMouseWheel** - Fires when a wheel button of a pointing device (typically a mouse) is scrolled on the view.\n- **arcgisViewPointerDown** - Fires after a mouse button is pressed, or a finger touches the display.\n- **arcgisViewPointerEnter** - Fires after a mouse cursor enters the view, or a display touch begins.\n- **arcgisViewPointerLeave** - Fires after a mouse cursor leaves the view, or a display touch ends.\n- **arcgisViewPointerMove** - Fires after the mouse or a finger on the display moves.\n- **arcgisViewPointerUp** - Fires after a mouse button is released, or a display touch ends.\n- **arcgisViewReadyChange** - This event is for the `ready` property and will be emitted when the view is ready.\nThis event will also emit if the `map` property is changed.\n\n### Methods\n- `addLayer(layer: __esri.Layer | Promise<any>, index?: number): Promise<void>` - Adds a layer to the map layers collection.\n- `addLayers(layers: __esri.Layer[], index?: number): Promise<void>` - Adds a layer or array of layers to the map layers collection.\n- `closePopup(): Promise<void>` - Closes the popup.\n- `componentOnReady(): Promise<void>` - Create a promise that resolves once component is fully loaded.\n- `destroy(): Promise<void>` - Destroys the view, and any associated resources, including its map, popup, and UI elements.\n- `goTo(target: __esri.GoToTarget2D, options?: __esri.GoToOptions2D): Promise<unknown>` - Sets the view to a given target.\n- `hitTest(screenPoint: __esri.MapViewScreenPoint | MouseEvent, options?: __esri.MapViewHitTestOptions): Promise<__esri.HitTestResult>` - Returns hit test results from each layer that intersects the specified screen coordinates.\n- `openPopup(options?: __esri.PopupViewOpenPopupOptions): Promise<void>` - Opens the popup at the given location with content defined either explicitly with content or driven\nfrom the PopupTemplate of input features.\n- `takeScreenshot(options?: __esri.MapViewTakeScreenshotOptions): Promise<__esri.Screenshot>` - Create a screenshot of the current view.\n- `toMap(screenPoint: __esri.MapViewScreenPoint | MouseEvent): __esri.Point`\n- `toScreen(point: __esri.Point, options?: __esri.ToScreenOptions2D): __esri.MapViewScreenPoint`\n- `tryFatalErrorRecovery(): Promise<void>` - Call this method to clear any fatal errors resulting from a lost WebGL context.\n- `whenLayerView(layer: __esri.Layer): Promise<__esri.LayerView>` - Gets the LayerView created on the view for the given layer.",
|
|
7864
7864
|
"doc-url": "https://developers.arcgis.com/javascript/latest/components/storybook/?path=/docs/map-components_component-arcgis-map--docs",
|
|
7865
7865
|
"attributes": [
|
|
7866
7866
|
{
|
|
@@ -9595,7 +9595,7 @@
|
|
|
9595
9595
|
},
|
|
9596
9596
|
{
|
|
9597
9597
|
"name": "arcgis-scene",
|
|
9598
|
-
"description": "The web [scene](https://developers.arcgis.com/javascript/latest/api-reference/esri-WebScene.html) is the core element of 3D mapping across ArcGIS. It defines the content, style, environment, and slides of your scene and it can be shared across multiple ArcGIS web and desktop applications.\n--\n\n### Events\n- **arcgisViewChange** - This event is for view related property changes: zoom, scale, center, rotation, extent, camera, viewpoint.\nThis event will also emit if stationary toggles from true to false.\n- **arcgisViewClick** - Fires after a user clicks on the view.\n- **arcgisViewDoubleClick** - Fires after double-clicking on the view.\n- **arcgisViewDrag** - Fires during a pointer drag on the view.\n- **arcgisViewHold** - Fires during a pointer drag on the view.\n- **arcgisViewImmediateClick** - Fires right after a user clicks on the view.\n- **arcgisViewImmediateDoubleClick** - Is emitted after two consecutive immediate-click events.\n- **arcgisViewKeyDown** - Fires after a keyboard key is pressed.\n- **arcgisViewKeyUp** - Fires after a keyboard key is pressed.\n- **arcgisViewLayerviewCreate** - Fires after each layer in the map has a corresponding LayerView created and rendered in the view.\n- **arcgisViewLayerviewCreateError** - Fires when an error emits during the creation of a LayerView after a layer has been added to the map.\n- **arcgisViewLayerviewDestroy** - Fires after a LayerView is destroyed and is no longer rendered in the view.\n- **arcgisViewMouseWheel** - Fires when a wheel button of a pointing device (typically a mouse) is scrolled on the view.\n- **arcgisViewPointerDown** - Fires after a mouse button is pressed, or a finger touches the display.\n- **arcgisViewPointerEnter** - Fires after a mouse cursor enters the view, or a display touch begins.\n- **arcgisViewPointerLeave** - Fires after a mouse cursor leaves the view, or a display touch ends.\n- **arcgisViewPointerMove** - Fires after the mouse or a finger on the display moves.\n- **arcgisViewPointerUp** - Fires after a mouse button is released, or a display touch ends.\n- **arcgisViewReadyChange** - This event is for the `ready` property and will be emitted when the view is ready.\nThis event will also emit if the `map` property is changed.\n\n### Methods\n- `addLayer(layer: __esri.Layer | Promise<any>, index?: number
|
|
9598
|
+
"description": "The web [scene](https://developers.arcgis.com/javascript/latest/api-reference/esri-WebScene.html) is the core element of 3D mapping across ArcGIS. It defines the content, style, environment, and slides of your scene and it can be shared across multiple ArcGIS web and desktop applications.\n--\n\n### Events\n- **arcgisViewChange** - This event is for view related property changes: zoom, scale, center, rotation, extent, camera, viewpoint.\nThis event will also emit if stationary toggles from true to false.\n- **arcgisViewClick** - Fires after a user clicks on the view.\n- **arcgisViewDoubleClick** - Fires after double-clicking on the view.\n- **arcgisViewDrag** - Fires during a pointer drag on the view.\n- **arcgisViewHold** - Fires during a pointer drag on the view.\n- **arcgisViewImmediateClick** - Fires right after a user clicks on the view.\n- **arcgisViewImmediateDoubleClick** - Is emitted after two consecutive immediate-click events.\n- **arcgisViewKeyDown** - Fires after a keyboard key is pressed.\n- **arcgisViewKeyUp** - Fires after a keyboard key is pressed.\n- **arcgisViewLayerviewCreate** - Fires after each layer in the map has a corresponding LayerView created and rendered in the view.\n- **arcgisViewLayerviewCreateError** - Fires when an error emits during the creation of a LayerView after a layer has been added to the map.\n- **arcgisViewLayerviewDestroy** - Fires after a LayerView is destroyed and is no longer rendered in the view.\n- **arcgisViewMouseWheel** - Fires when a wheel button of a pointing device (typically a mouse) is scrolled on the view.\n- **arcgisViewPointerDown** - Fires after a mouse button is pressed, or a finger touches the display.\n- **arcgisViewPointerEnter** - Fires after a mouse cursor enters the view, or a display touch begins.\n- **arcgisViewPointerLeave** - Fires after a mouse cursor leaves the view, or a display touch ends.\n- **arcgisViewPointerMove** - Fires after the mouse or a finger on the display moves.\n- **arcgisViewPointerUp** - Fires after a mouse button is released, or a display touch ends.\n- **arcgisViewReadyChange** - This event is for the `ready` property and will be emitted when the view is ready.\nThis event will also emit if the `map` property is changed.\n\n### Methods\n- `addLayer(layer: __esri.Layer | Promise<any>, index?: number): Promise<void>` - Adds a layer to the map layers collection.\n- `addLayers(layers: __esri.Layer[], index?: number): Promise<void>` - Adds a layer or array of layers to the map layers collection.\n- `closePopup(): Promise<void>` - Closes the popup.\n- `componentOnReady(): Promise<void>` - Create a promise that resolves once component is fully loaded.\n- `destroy(): Promise<void>` - Destroys the view, and any associated resources, including its map, popup, and UI elements.\n- `goTo(target: __esri.GoToTarget3D, options?: __esri.GoToOptions3D): Promise<unknown>` - Sets the view to a given target.\n- `hitTest(screenPoint: __esri.ScreenPoint, options?: __esri.SceneViewHitTestOptions): Promise<__esri.HitTestResult>` - Returns hit test results from each layer that intersects the specified screen coordinates.\n- `openPopup(options?: __esri.PopupViewOpenPopupOptions): Promise<void>` - Opens the popup at the given location with content defined either explicitly with content or driven\nfrom the PopupTemplate of input features.\n- `takeScreenshot(options?: __esri.SceneViewTakeScreenshotOptions): Promise<__esri.Screenshot>` - Create a screenshot of the current view.\n- `toMap(screenPoint: __esri.SceneViewScreenPoint | MouseEvent, options?: __esri.SceneViewToMapOptions): __esri.Point`\n- `toScreen(point: __esri.Point): __esri.SceneViewScreenPoint`\n- `tryFatalErrorRecovery(): Promise<void>` - Call this method to clear any fatal errors resulting from a lost WebGL context.\n- `whenAnalysisView(analysis: __esri.AreaMeasurementAnalysis | __esri.DimensionAnalysis | __esri.DirectLineMeasurementAnalysis | __esri.LineOfSightAnalysis | __esri.SliceAnalysis | __esri.ViewshedAnalysis): Promise<__esri.AreaMeasurementAnalysisView3D | __esri.DimensionAnalysisView | __esri.DirectLineMeasurementAnalysisView3D | __esri.LineOfSightAnalysisView3D | __esri.SliceAnalysisView3D | __esri.ViewshedAnalysisView3D>`\n- `whenLayerView(layer: __esri.Layer): Promise<__esri.LayerView>` - Gets the LayerView created on the view for the given layer.",
|
|
9599
9599
|
"doc-url": "https://developers.arcgis.com/javascript/latest/components/storybook/?path=/docs/map-components_component-arcgis-scene--docs",
|
|
9600
9600
|
"attributes": [
|
|
9601
9601
|
{
|
package/dist/index.js
CHANGED
|
@@ -2,7 +2,7 @@ import { s, g as t } from "./chunks/runtime.js";
|
|
|
2
2
|
/*!
|
|
3
3
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
4
4
|
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
5
|
-
* v4.32.0-next.
|
|
5
|
+
* v4.32.0-next.59
|
|
6
6
|
*/
|
|
7
7
|
const a = s, A = t;
|
|
8
8
|
export {
|
package/dist/loader.js
CHANGED
|
@@ -3,7 +3,7 @@ import { makeDefineCustomElements as t } from "@arcgis/lumina";
|
|
|
3
3
|
/*!
|
|
4
4
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
5
5
|
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
6
|
-
* v4.32.0-next.
|
|
6
|
+
* v4.32.0-next.59
|
|
7
7
|
*/
|
|
8
8
|
const a = t(e, {
|
|
9
9
|
"arcgis-area-measurement-2d": [() => import("./components/arcgis-area-measurement-2d/customElement.js"), "autoDestroyDisabled,icon,label,position,referenceElement,state,unit,unitOptions:;destroy"],
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arcgis/map-components",
|
|
3
|
-
"version": "4.32.0-next.
|
|
3
|
+
"version": "4.32.0-next.59",
|
|
4
4
|
"description": "ArcGIS Map Components",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ArcGIS",
|
|
@@ -40,10 +40,10 @@
|
|
|
40
40
|
],
|
|
41
41
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@arcgis/components-controllers": "4.32.0-next.
|
|
44
|
-
"@arcgis/components-utils": "4.32.0-next.
|
|
45
|
-
"@arcgis/core-adapter": "4.32.0-next.
|
|
46
|
-
"@arcgis/lumina": "4.32.0-next.
|
|
43
|
+
"@arcgis/components-controllers": "4.32.0-next.59",
|
|
44
|
+
"@arcgis/components-utils": "4.32.0-next.59",
|
|
45
|
+
"@arcgis/core-adapter": "4.32.0-next.59",
|
|
46
|
+
"@arcgis/lumina": "4.32.0-next.59",
|
|
47
47
|
"tslib": "^2.7.0"
|
|
48
48
|
},
|
|
49
49
|
"peerDependencies": {
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
4
|
-
* v4.32.0-next.57
|
|
5
|
-
*/
|
|
6
|
-
import{a as r,c as y,d as t}from"./WDJDJPLT.js";import{f as d,h as g,ja as u}from"./SCMEYPKP.js";import{e as h,f as _,g as n,h as o}from"./ILOOVZNN.js";import{A as a,B as v,G as l,f as m,o as w,r as p}from"./ZKS4YYJE.js";var V=p`.arcgis-scene{padding:0;margin:0;height:100%;width:100%}`,f=r(g,{}),b=r(d,{}),c=class extends v{constructor(){super(...arguments),this._map=f(this,{editConstructorProperties:this._editMapProperties}),this.reactiveUtils=w(u),this.view=b(this,{editConstructorProperties:this._editViewProperties}),this.allLayerViews=this.view.allLayerViews,this.alphaCompositingEnabled=this.view.alphaCompositingEnabled,this.analyses=this.view.analyses,this.autoDestroyDisabled=!1,this.basemap=this._map.basemap,this.basemapView=this.view.basemapView,this.clippingArea=this.view.clippingArea,this.constraints=this.view.constraints,this.environment=this.view.environment,this.fatalError=this.view.fatalError,this.floors=this.view.floors,this.graphics=this.view.graphics,this.ground=this._map.ground,this.groundView=this.view.groundView,this.highlights=this.view.highlights,this.highlightOptions=this.view.highlightOptions,this.layerViews=this.view.layerViews,this.magnifier=this.view.magnifier,this.map=this.view.map,this.navigation=this.view.navigation,this.padding=this.view.padding,this.popup=this.view.popup,this.popupDisabled=this.view.popupEnabled,this.qualityProfile=this.view.qualityProfile,this.ready=this.view.ready,this.spatialReference=this.view.spatialReference,this.suspended=this.view.suspended,this.theme=this.view.theme,this.timeExtent=this.view.timeExtent,this.updating=this.view.updating,this.viewingMode=this.view.viewingMode,this.arcgisViewChange=a(),this.arcgisViewClick=t(()=>this.view,"click"),this.arcgisViewDoubleClick=t(()=>this.view,"double-click"),this.arcgisViewDrag=t(()=>this.view,"drag"),this.arcgisViewHold=t(()=>this.view,"hold"),this.arcgisViewImmediateClick=t(()=>this.view,"immediate-click"),this.arcgisViewImmediateDoubleClick=t(()=>this.view,"immediate-double-click"),this.arcgisViewKeyDown=t(()=>this.view,"key-down"),this.arcgisViewKeyUp=t(()=>this.view,"key-up"),this.arcgisViewLayerviewCreate=t(()=>this.view,"layer-view-create"),this.arcgisViewLayerviewCreateError=t(()=>this.view,"layer-view-create-error"),this.arcgisViewLayerviewDestroy=t(()=>this.view,"layer-view-destroy"),this.arcgisViewMouseWheel=t(()=>this.view,"mouse-wheel"),this.arcgisViewPointerDown=t(()=>this.view,"pointer-down"),this.arcgisViewPointerEnter=t(()=>this.view,"pointer-enter"),this.arcgisViewPointerLeave=t(()=>this.view,"pointer-leave"),this.arcgisViewPointerMove=t(()=>this.view,"pointer-move"),this.arcgisViewPointerUp=t(()=>this.view,"pointer-up"),this.arcgisViewReadyChange=a()}static{this.properties={view:32,allLayerViews:0,alphaCompositingEnabled:5,analyses:0,autoDestroyDisabled:5,basemap:1,basemapView:0,camera:0,cameraFov:9,cameraHeading:9,cameraPosition:1,cameraTilt:9,center:1,clippingArea:0,constraints:0,environment:0,extent:0,fatalError:0,floors:0,gamepad:32,graphics:0,ground:0,groundView:0,highlights:0,highlightOptions:0,interacting:32,itemId:3,layerViews:0,magnifier:0,map:0,navigating:32,navigation:0,padding:0,performanceInfo:32,popup:0,popupDisabled:5,qualityProfile:1,ready:0,resolution:32,scale:9,spatialReference:0,stationary:32,suspended:7,theme:0,timeExtent:0,updating:7,viewingMode:1,viewpoint:0,zoom:9}}static{this.shadowRootOptions=m}static{this.styles=V}get camera(){return this.view.camera??this._camera}set camera(e){this._camera=e,this.ready&&!h(this.camera,e)&&(this.view.camera=e)}get cameraFov(){return this.view.camera?.fov??this._cameraFov}set cameraFov(e){this.ready?e!=null&&this._mutateCamera(i=>{i.fov=e}):this._cameraFov=e}get cameraHeading(){return this.view.camera?.heading??this._cameraHeading}set cameraHeading(e){this.ready?e!=null&&this._mutateCamera(i=>{i.heading=e}):this._cameraFov=e}get cameraPosition(){return this.view.camera?.position??this._cameraPosition}set cameraPosition(e){if(this.ready){let i=o(this.view.camera?.position,e);i&&this._mutateCamera(s=>{s.position=i})}else this._cameraPosition=e}get cameraTilt(){return this.view.camera?.tilt??this._cameraTilt}set cameraTilt(e){if(this.ready)e!=null&&this._mutateCamera(i=>{i.tilt=e});else{this._cameraTilt=e;return}}get center(){return this.view.center??this._center}set center(e){let i=n(e,this.ready?this.view:void 0);i&&(this.ready&&(this.view.center=i),this._center=i)}get extent(){return this.view.extent??this._extent}set extent(e){this.view.ready||(this._extent=e),e&&!this.extent?.equals(e)&&(this.view.extent=e)}get gamepad(){return this.ready?this.view.input.gamepad:void 0}get interacting(){return this.view.interacting}get itemId(){return this._map.portalItem?.id??this._itemId}set itemId(e){this._itemId=e,this.ready&&y.reCreate(this._map,this).then(()=>{this.view.map=this._map}).catch(console.error)}get navigating(){return this.view.navigating}get performanceInfo(){return this.view.performanceInfo}get resolution(){return this.view.resolution}get scale(){return this.view.scale??this._scale}set scale(e){this.ready&&(this.view.scale=e),this._scale=e}get stationary(){return this.view.stationary}get viewpoint(){return this.view.viewpoint??this._viewpoint}set viewpoint(e){_(this.viewpoint,e)&&(this.ready&&(this.view.viewpoint=e),this._viewpoint=e)}get zoom(){return this.view.zoom??this._zoom}set zoom(e){this.ready&&(this.view.zoom=e),this._zoom=e}async addLayer(e,i){this.map?.add(e,i)}async addLayers(e,i){this.map?.addMany(e,i)}async closePopup(){this.view?.closePopup()}async destroy(){await this.manager.destroy()}async goTo(e,i){return await this.view?.goTo(e,i)}async hitTest(e,i){return await this.view?.hitTest(e,i)}async openPopup(e){await this.view?.openPopup(e)}async takeScreenshot(e){return await this.view?.takeScreenshot(e)}toMap(e,i){return this.view.toMap(e,i)}toScreen(e){return this.view.toScreen(e)}async tryFatalErrorRecovery(){this.view?.tryFatalErrorRecovery()}async whenAnalysisView(e){return await this.view?.whenAnalysisView(e)}async whenLayerView(e){return await this.view?.whenLayerView(e)}load(){this.el.childElem=document.createElement("div"),this.el.childElem.classList.add("arcgis-scene"),this.el.append(this.el.childElem),this.view.container??=this.el.childElem}loaded(){let{watch:e}=this.reactiveUtils;this.manager.onLifecycle(()=>[e(()=>this.view.stationary,()=>{this.arcgisViewChange.emit()},{initial:!0}),e(()=>this.view.ready,()=>this.arcgisViewReadyChange.emit(),{initial:this.view.ready})])}_editMapProperties(e){this.map&&(this._map=this.map),this.itemId?e.portalItem={id:this.itemId}:this.basemap?this.basemap==="none"&&(e.basemap=void 0,this.basemap=null):e.basemap="topo-vector";let{basemap:i,...s}=e;return i||(e=s),e}async _editViewProperties(e){await this.manager.use(this._map),this.view.ui||(e.ui={components:["attribution"]}),e.map??=this._map;let i=n(this.center,void 0);i&&(e.center=i),this.viewpoint&&(e.viewpoint=this.viewpoint),this.scale!==void 0&&(e.scale=this.scale),this.extent&&(e.extent=this.extent),this.camera&&(e.camera=this.camera);let s=o(void 0,this.cameraPosition);return s&&(e.camera??={},e.camera.position=s),this.cameraHeading!=null&&(e.camera??={},e.camera.heading=this.cameraHeading),this.cameraTilt!=null&&(e.camera??={},e.camera.tilt=this.cameraTilt),this.cameraFov!=null&&(e.camera??={},e.camera.fov=this.cameraFov),this.zoom!==void 0&&(e.zoom=this.zoom),e}_mutateCamera(e){let i=this.view.camera.clone();e(i),h(this.view.camera,i)||(this.view.camera=i)}};l("arcgis-scene",c);export{c as ArcgisScene};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
4
|
-
* v4.32.0-next.57
|
|
5
|
-
*/
|
|
6
|
-
import{b as x}from"./6ZF5J3I7.js";import{a as $}from"./SPZOCMC5.js";import{a as D,b as S}from"./X6TBRLE6.js";import"./WDJDJPLT.js";import{T as B,ja as U,ka as M,ma as R}from"./SCMEYPKP.js";import"./ILOOVZNN.js";import{A as g,B as y,C as a,D as v,G as L,a as d,f as w,o as p,s as c}from"./ZKS4YYJE.js";var r="esri-scale-bar",t={base:r,labelContainer:`${r}__label-container`,rulerLabelContainer:`${r}__label-container--ruler`,lineLabelContainer:`${r}__label-container--line`,topLabelContainer:`${r}__label-container--top`,bottomLabelContainer:`${r}__label-container--bottom`,label:`${r}__label`,line:`${r}__line`,topLine:`${r}__line--top`,bottomLine:`${r}__line--bottom`,ruler:`${r}__ruler`,rulerBlock:`${r}__ruler-block`,barContainer:`${r}__bar-container`,rulerBarContainer:`${r}__bar-container--ruler`,lineBarContainer:`${r}__bar-container--line`};function k(C=0,e=0){return{x:C,y:e}}var O=S(B),f=class extends y{constructor(){super(...arguments),this.intlUtils=p(M),this.messages=D(),this.reactiveUtils=p(U),this._scaleComputedFrom=k(),this.unitUtils=p(R),this.viewModel=O(this),this.autoDestroyDisabled=!1,this.barStyle="line",this.icon="actual-size",this.position="top-left",this.arcgisReady=g()}static{this.properties={autoDestroyDisabled:5,barStyle:1,icon:3,label:1,messageOverrides:0,position:3,referenceElement:1,unit:1}}static{this.shadowRootOptions=w}get unit(){return this._unit??this._defaultUnit}set unit(e){this._unit=e}async destroy(){await this.manager.destroy()}updated(){this._handleRootCreateOrUpdate()}loaded(){this._defaultUnit=this.unitUtils.getDefaultUnitForView(this.viewModel.view),this.manager.onLifecycle(()=>this.reactiveUtils.watch(()=>{let e=this.viewModel.view;return[e?.stationary,e?.center,e?.scale,e?.zoom]},([e])=>{e&&this.requestUpdate()}))}_handleRootCreateOrUpdate(){if(!this.viewModel)return;let e=this._scaleComputedFrom,s=this.el.getBoundingClientRect(),o=s.left+window.pageXOffset,n=s.top+window.pageYOffset,i=k(o,n);(i.x!==e.x||i.y!==e.y)&&(this._scaleComputedFrom=i)}_formatDistance(e,s){return this.intlUtils.formatNumber(e,{style:"unit",unit:s,unitDisplay:"short"})}render(){let e=this.viewModel.state==="disabled",s={[$.disabled]:e},o,n;if(!e){let{unit:i,barStyle:u}=this,b=i==="imperial"||i==="dual",_=i==="metric"||i==="dual",h=100,m=i==="dual"?"line":u;if(b){let l=this.viewModel.getScaleBarProperties(h,"imperial");l&&(n=m==="ruler"?this._renderRuler(l):this._renderLine(l,"bottom"))}if(_){let l=this.viewModel.getScaleBarProperties(h,"metric");l&&(o=m==="ruler"?this._renderRuler(l):this._renderLine(l,"top"))}}return c`<div class=${a(d(t.base,$.widget,s))} ${x(i=>i?this._handleRootCreateOrUpdate():void 0)}>${o}${n}</div>`}_renderRuler(e){let{length:s,unit:o,value:n}=e,i=Math.round(s),u=this._formatDistance(n,o);return c`<div class=${a(d(t.barContainer,t.rulerBarContainer))}><div class=${a(t.ruler)} style=${v({width:`${i}px`})}><div class=${a(t.rulerBlock)}></div><div class=${a(t.rulerBlock)}></div><div class=${a(t.rulerBlock)}></div><div class=${a(t.rulerBlock)}></div></div><div class=${a(d(t.labelContainer,t.rulerLabelContainer))}><div class=${a(t.label)}>0</div><div class=${a(t.label)}>${u}</div></div></div>`}_renderLine(e,s){let{length:o,unit:n,value:i}=e,u=Math.round(o),b=this._formatDistance(i,n),_={[t.topLabelContainer]:s==="top",[t.bottomLabelContainer]:s==="bottom"},h=c`<div class=${a(d(t.labelContainer,t.lineLabelContainer,_))}><div class=${a(t.label)}>${b}</div></div>`,m={[t.topLine]:s==="top",[t.bottomLine]:s==="bottom"},l=c`<div class=${a(d(t.line,m))} style=${v({width:`${u}px`})}></div>`;return c`<div class=${a(d(t.barContainer,t.lineBarContainer))}>${[l,h]}</div>`}};L("arcgis-scale-bar",f);export{f as ArcgisScaleBar};
|