@arcgis/map-components 4.32.0-next.133 → 4.32.0-next.135
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/{2W4AXYGB.js → 25MUFQJP.js} +2 -2
- package/dist/arcgis-map-components/{PNFKBEC3.js → 2AQLEYXI.js} +2 -2
- package/dist/arcgis-map-components/{5F6RDEUG.js → 2EMAZVTX.js} +2 -2
- package/dist/arcgis-map-components/{CN2KJKYX.js → 3SOKN6CG.js} +2 -2
- package/dist/arcgis-map-components/{XZDJ5AZT.js → 43AMJILG.js} +2 -2
- package/dist/arcgis-map-components/{2DP3M67L.js → 4CUJ75B7.js} +2 -2
- package/dist/arcgis-map-components/{FVLPIAVK.js → 4HFTUOGF.js} +2 -2
- package/dist/arcgis-map-components/{CG53WVXL.js → 5HL2KSAO.js} +2 -2
- package/dist/arcgis-map-components/{EQCL5LEN.js → 5YCBSE6Y.js} +2 -2
- package/dist/arcgis-map-components/{BLPW37JZ.js → 72ZUEQMC.js} +2 -2
- package/dist/arcgis-map-components/{SJLDBVF7.js → 76KE4PBN.js} +2 -2
- package/dist/arcgis-map-components/{EHEAHCIC.js → 7PSGW37G.js} +2 -2
- package/dist/arcgis-map-components/{XO4DALVP.js → 7TPZY36N.js} +2 -2
- package/dist/arcgis-map-components/{KWX5AP5Q.js → 7XK2VYJF.js} +2 -2
- package/dist/arcgis-map-components/{ERZDIUNQ.js → ACV4ARB4.js} +2 -2
- package/dist/arcgis-map-components/{CWOZJWNQ.js → APFTM3MI.js} +2 -2
- package/dist/arcgis-map-components/{BQPMZ2EJ.js → C2DB5KR2.js} +2 -2
- package/dist/arcgis-map-components/{TYGSLTBI.js → CAPWMDZ2.js} +2 -2
- package/dist/arcgis-map-components/{7Q7ERD47.js → CBYIQITZ.js} +2 -2
- package/dist/arcgis-map-components/{6RTTXK6C.js → CDSJEB4R.js} +2 -2
- package/dist/arcgis-map-components/{GXKLSVIO.js → CKKINOJI.js} +2 -2
- package/dist/arcgis-map-components/{JT4KJ52Z.js → CO7O3MIG.js} +2 -2
- package/dist/arcgis-map-components/{RTHAZYPZ.js → CSRUOOI6.js} +2 -2
- package/dist/arcgis-map-components/{O3CO2ZOQ.js → CTXMH3MN.js} +2 -2
- package/dist/arcgis-map-components/{T5JATNEO.js → CV373M6R.js} +2 -2
- package/dist/arcgis-map-components/{33ZTNIBB.js → EJZQCNYT.js} +2 -2
- package/dist/arcgis-map-components/{XP5HDG62.js → ESTVKRXN.js} +2 -2
- package/dist/arcgis-map-components/{MJARMCVM.js → EUP2PG57.js} +2 -2
- package/dist/arcgis-map-components/{NMQG6JXX.js → EYZGZWUW.js} +2 -2
- package/dist/arcgis-map-components/{NIDEGIVZ.js → FHFOTQBB.js} +2 -2
- package/dist/arcgis-map-components/{GLXL3HR2.js → GUSOVVOB.js} +2 -2
- package/dist/arcgis-map-components/{MVKNNYHS.js → GZADEI4Y.js} +2 -2
- package/dist/arcgis-map-components/{JKIWZFND.js → H3QE3XWQ.js} +1 -1
- package/dist/arcgis-map-components/{ZQIRN2Z7.js → HBDMKWSL.js} +2 -2
- package/dist/arcgis-map-components/{DYYI3M53.js → HGW7IDKS.js} +2 -2
- package/dist/arcgis-map-components/{TM7CPEQL.js → HPWALZ5G.js} +2 -2
- package/dist/arcgis-map-components/{CLMESBRK.js → HSZRR6PV.js} +2 -2
- package/dist/arcgis-map-components/{WY3WLFHW.js → I5PHDK7Z.js} +2 -2
- package/dist/arcgis-map-components/{VBLS5VO6.js → JJLDLEA4.js} +2 -2
- package/dist/arcgis-map-components/{SYPP5H34.js → JYLA62ZJ.js} +2 -2
- package/dist/arcgis-map-components/{NT6G46AE.js → KIYWEYCS.js} +1 -1
- package/dist/arcgis-map-components/{EYXZDZKW.js → L2HLOIBE.js} +2 -2
- package/dist/arcgis-map-components/{E7UN3B4U.js → L3CXVBY3.js} +2 -2
- package/dist/arcgis-map-components/L6FIQGAW.js +4 -0
- package/dist/arcgis-map-components/{ACET4DHG.js → LAKAZKMN.js} +2 -2
- package/dist/arcgis-map-components/LJACCJRH.js +4 -0
- package/dist/arcgis-map-components/{VIJTOVSZ.js → LLILCB6N.js} +2 -2
- package/dist/arcgis-map-components/{NU6ZLL6C.js → LRLHQFQL.js} +2 -2
- package/dist/arcgis-map-components/{TR6HRPPJ.js → MMYK7YKX.js} +1 -1
- package/dist/arcgis-map-components/{ELAR7OSK.js → N2EZCJHT.js} +2 -2
- package/dist/arcgis-map-components/{5HI2672F.js → NFHURZSS.js} +2 -2
- package/dist/arcgis-map-components/{VSAKZVHP.js → NZGDVW6V.js} +2 -2
- package/dist/arcgis-map-components/{T436IW3O.js → O674KC5P.js} +2 -2
- package/dist/arcgis-map-components/{6E2TMFV6.js → ONW2BVV2.js} +2 -2
- package/dist/arcgis-map-components/{QY4ASIOO.js → OPMZ7UHP.js} +2 -2
- package/dist/arcgis-map-components/{4BBUCMFE.js → OXA2NWD2.js} +2 -2
- package/dist/arcgis-map-components/{5SCAJALO.js → PC2WCBNY.js} +2 -2
- package/dist/arcgis-map-components/{BM4Z4EYT.js → PLHSUYQZ.js} +2 -2
- package/dist/arcgis-map-components/{NCCTKW5F.js → QSC6IWB6.js} +2 -2
- package/dist/arcgis-map-components/{WG7KZBH7.js → QWTPISVP.js} +2 -2
- package/dist/arcgis-map-components/{ANSY6PJX.js → RCA7EWYU.js} +2 -2
- package/dist/arcgis-map-components/{7FMIG4KP.js → RE7ZPJOA.js} +2 -2
- package/dist/arcgis-map-components/{BN4TJGJR.js → RGYG7JSO.js} +2 -2
- package/dist/arcgis-map-components/{HCZNLZTI.js → SAI5EISX.js} +2 -2
- package/dist/arcgis-map-components/{WANGRLRZ.js → T35LXTK3.js} +2 -2
- package/dist/arcgis-map-components/{JBXJRZLD.js → THENLSMJ.js} +2 -2
- package/dist/arcgis-map-components/{GMVX6MHH.js → TJSPV7VL.js} +2 -2
- package/dist/arcgis-map-components/{ZRJYCKD5.js → WF66HZYQ.js} +2 -2
- package/dist/arcgis-map-components/{TCXPURMS.js → WR5BJAKW.js} +2 -2
- package/dist/arcgis-map-components/{XXIEMRPD.js → XUZ2NQH6.js} +1 -1
- package/dist/arcgis-map-components/{PW7ARUUQ.js → YDR2WDW3.js} +2 -2
- package/dist/arcgis-map-components/{BR5VI5Z3.js → YUMZLLSC.js} +2 -2
- package/dist/arcgis-map-components/{E2BAACLF.js → YXFJWBPU.js} +2 -2
- package/dist/arcgis-map-components/{VTFMDDBS.js → ZCG5LJM6.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/legacyIcon.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/useView.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.d.ts +2 -1
- package/dist/components/arcgis-area-measurement-2d/customElement.js +8 -8
- 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.d.ts +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.d.ts +1 -1
- package/dist/components/arcgis-editor/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile/customElement.d.ts +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.d.ts +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.d.ts +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.d.ts +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-link-chart/customElement.d.ts +5 -0
- package/dist/components/arcgis-link-chart/customElement.js +1 -1
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.d.ts +4 -3
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +1 -1
- package/dist/components/arcgis-locate/customElement.js +1 -1
- 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 +25 -22
- 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.d.ts +1 -1
- package/dist/components/arcgis-scale-bar/customElement.js +1 -1
- package/dist/components/arcgis-scale-range-slider/customElement.js +1 -1
- package/dist/components/arcgis-scene/customElement.js +1 -1
- 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 +1 -1
- 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.d.ts +1 -1
- package/dist/components/arcgis-table-list/customElement.js +1 -1
- package/dist/components/arcgis-time-slider/customElement.d.ts +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.d.ts +1 -1
- package/dist/components/arcgis-utility-network-associations/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-validate-topology/customElement.js +1 -1
- package/dist/components/arcgis-value-picker/customElement.js +1 -1
- package/dist/components/arcgis-version-management/customElement.d.ts +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 +63 -22
- package/dist/docs/docs.json +63 -30
- package/dist/docs/vscode.html-custom-data.json +20 -11
- package/dist/docs/web-types.json +27 -20
- package/dist/index.js +1 -1
- package/dist/loader.js +2 -2
- package/dist/types/lumina.d.ts +1 -1
- package/dist/types/preact.d.ts +1 -1
- package/dist/types/react.d.ts +1 -1
- package/dist/types/stencil.d.ts +1 -1
- package/package.json +5 -5
- package/dist/arcgis-map-components/CUVHDQUU.js +0 -4
- package/dist/arcgis-map-components/S5BFOERP.js +0 -4
|
@@ -1601,7 +1601,7 @@
|
|
|
1601
1601
|
},
|
|
1602
1602
|
{
|
|
1603
1603
|
"name": "arcgis-directional-pad",
|
|
1604
|
-
"description": "A directional pad (D-Pad) component can be used to control the position and\nrotation of the map. The D-Pad provides eight directions of movement, a small\ncompass which indicates the current orientation of the map and a slider for\nrotating the map.\n\nIt is also possible to disable the map's rotation controls or change the size\nof the component.\n\nThe
|
|
1604
|
+
"description": "A directional pad (D-Pad) component can be used to control the position and\nrotation of the map. The D-Pad provides eight directions of movement, a small\ncompass which indicates the current orientation of the map and a slider for\nrotating the map.\n\nIt is also possible to disable the map's rotation controls or change the size\nof the component.\n\nThe Directional Pad component is not supported in 3D.\n--\n\n### Events\n- **arcgisPropertyChange**\n- **arcgisReady**\n\n### Methods\n- `componentOnReady(): Promise<void>` - Create a promise that resolves once component is fully loaded.\n- `destroy(): Promise<void>` - Permanently destroy the component",
|
|
1605
1605
|
"attributes": [
|
|
1606
1606
|
{
|
|
1607
1607
|
"name": "auto-destroy-disabled",
|
|
@@ -2223,6 +2223,15 @@
|
|
|
2223
2223
|
"name": "state",
|
|
2224
2224
|
"description": "The widget's state.\n\n[Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Editor-EditorViewModel.html#state)",
|
|
2225
2225
|
"values": [
|
|
2226
|
+
{
|
|
2227
|
+
"name": "add-association-create-association"
|
|
2228
|
+
},
|
|
2229
|
+
{
|
|
2230
|
+
"name": "add-association-select-feature"
|
|
2231
|
+
},
|
|
2232
|
+
{
|
|
2233
|
+
"name": "add-association-select-layer"
|
|
2234
|
+
},
|
|
2226
2235
|
{
|
|
2227
2236
|
"name": "adding-attachment"
|
|
2228
2237
|
},
|
|
@@ -2275,7 +2284,7 @@
|
|
|
2275
2284
|
},
|
|
2276
2285
|
{
|
|
2277
2286
|
"name": "arcgis-elevation-profile",
|
|
2278
|
-
"description": "The
|
|
2287
|
+
"description": "The Elevation Profile component is used to generate and display an elevation profile from an [input line graphic](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-ElevationProfile.html#input).\n--\n\n### Events\n- **arcgisPropertyChange**\n- **arcgisReady**\n\n### Methods\n- `componentOnReady(): Promise<void>` - Create a promise that resolves once component is fully loaded.\n- `destroy(): Promise<void>` - Permanently destroy the component\n- `start(): Promise<void>`\n- `stop(): Promise<void>`",
|
|
2279
2288
|
"attributes": [
|
|
2280
2289
|
{
|
|
2281
2290
|
"name": "auto-destroy-disabled",
|
|
@@ -2879,7 +2888,7 @@
|
|
|
2879
2888
|
},
|
|
2880
2889
|
{
|
|
2881
2890
|
"name": "arcgis-feature-table",
|
|
2882
|
-
"description": "The
|
|
2891
|
+
"description": "The Feature Table component provides an interactive tabular view of each feature's attributes in a feature layer.\n--\n\n### Events\n- **arcgisCellClick**\n- **arcgisCellKeydown**\n- **arcgisCellPointerout**\n- **arcgisCellPointerover**\n- **arcgisColumnReorder**\n- **arcgisPropertyChange**\n- **arcgisReady**\n- **arcgisSelectionChange**\n\n### Methods\n- `componentOnReady(): Promise<void>` - Create a promise that resolves once component is fully loaded.\n- `deleteSelection(showWarningPrompt?: boolean): Promise<void>`\n- `destroy(): Promise<void>` - Permanently destroy the component\n- `exportSelectionToCSV(includeGeometry?: boolean): Promise<void>`\n- `findColumn(fieldName: string): Promise<__esri.ActionColumn | __esri.AttachmentsColumn | __esri.Column | __esri.GroupColumn | __esri.RelationshipColumn | nullish>`\n- `goToPage(index: number): Promise<void>`\n- `hideColumn(fieldName: string): Promise<void>`\n- `nextPage(): Promise<void>`\n- `previousPage(): Promise<void>`\n- `refresh(): Promise<void>`\n- `scrollToBottom(): Promise<void>`\n- `scrollToIndex(index: number): Promise<void>`\n- `scrollToLeft(): Promise<void>`\n- `scrollToRow(objectId: number): Promise<void>`\n- `scrollToTop(): Promise<void>`\n- `showAllColumns(): Promise<void>`\n- `showColumn(fieldName: string): Promise<void>`\n- `sortColumn(path: string, direction: \"asc\" | \"desc\"): Promise<void>`\n- `zoomToSelection(): Promise<void>`",
|
|
2883
2892
|
"attributes": [
|
|
2884
2893
|
{
|
|
2885
2894
|
"name": "attachments-enabled",
|
|
@@ -3458,7 +3467,7 @@
|
|
|
3458
3467
|
},
|
|
3459
3468
|
{
|
|
3460
3469
|
"name": "arcgis-floor-filter",
|
|
3461
|
-
"description": "The
|
|
3470
|
+
"description": "The Floor Filter component simplifies visualization of GIS data for a specific floor of a building in your application.\n--\n\n### Events\n- **arcgisReady**\n\n### Methods\n- `componentOnReady(): Promise<void>` - Create a promise that resolves once component is fully loaded.\n- `destroy(): Promise<void>` - Permanently destroy the component\n- `updateWebDocument(webMap: __esri.WebMap): Promise<void>`",
|
|
3462
3471
|
"attributes": [
|
|
3463
3472
|
{
|
|
3464
3473
|
"name": "auto-destroy-disabled",
|
|
@@ -3962,7 +3971,7 @@
|
|
|
3962
3971
|
},
|
|
3963
3972
|
{
|
|
3964
3973
|
"name": "arcgis-layer-list",
|
|
3965
|
-
"description": "The
|
|
3974
|
+
"description": "The Layer List component provides a way to display a list of layers, and switch on/off their visibility.\n--\n\n### Events\n- **arcgisPropertyChange**\n- **arcgisReady**\n- **arcgisTriggerAction**\n\n### Methods\n- `componentOnReady(): Promise<void>` - Create a promise that resolves once component is fully loaded.\n- `destroy(): Promise<void>` - Permanently destroy the component\n- `triggerAction(action: __esri.ActionButton | __esri.ActionToggle, item: __esri.ListItem): Promise<void>`",
|
|
3966
3975
|
"attributes": [
|
|
3967
3976
|
{
|
|
3968
3977
|
"name": "auto-destroy-disabled",
|
|
@@ -4339,7 +4348,7 @@
|
|
|
4339
4348
|
},
|
|
4340
4349
|
{
|
|
4341
4350
|
"name": "arcgis-link-chart",
|
|
4342
|
-
"description": "### 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 link chart 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 link chart.\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 layers collection.\n- `addLayers(layers: __esri.Layer[], index?: number): Promise<void>` - Adds a layer or array of layers to the 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- `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- `toMap(screenPoint: __esri.MapViewScreenPoint | MouseEvent): __esri.Point`\n- `toScreen(point: __esri.Point, options?: __esri.ToScreenOptions2D): __esri.MapViewScreenPoint | nullish`\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.",
|
|
4351
|
+
"description": "Loads a [WebLinkChart](https://developers.arcgis.com/javascript/latest/api-reference/esri-WebLinkChart.html) from an [ArcGIS Enterprise portal](https://enterprise.arcgis.com/en/portal/latest/administer/windows/what-is-portal-for-arcgis-.htm) into a [LinkChartView](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-LinkChartView.html).\n\n\nNote: Sign in to access the data in this demo, U/P: `viewer01`/`I68VGU^nMurF`\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 link chart 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 link chart.\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 layers collection.\n- `addLayers(layers: __esri.Layer[], index?: number): Promise<void>` - Adds a layer or array of layers to the 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- `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- `toMap(screenPoint: __esri.MapViewScreenPoint | MouseEvent): __esri.Point`\n- `toScreen(point: __esri.Point, options?: __esri.ToScreenOptions2D): __esri.MapViewScreenPoint | nullish`\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.",
|
|
4343
4352
|
"attributes": [
|
|
4344
4353
|
{
|
|
4345
4354
|
"name": "auto-destroy-disabled",
|
|
@@ -4448,7 +4457,7 @@
|
|
|
4448
4457
|
},
|
|
4449
4458
|
{
|
|
4450
4459
|
"name": "arcgis-link-chart-layout-switcher",
|
|
4451
|
-
"description": "A
|
|
4460
|
+
"description": "A component for use in link charts that allows users to switch between different layouts. See [documentation on layouts](https://enterprise.arcgis.com/en/knowledge/latest/knowledge-studio/change-the-layout-applied-to-a-link-chart.htm) for more details.\n\n\nNote: Sign in to access the data in this demo, U/P: `viewer01`/`I68VGU^nMurF`\n--\n\n### Events\n- **arcgisPropertyChange**\n- **arcgisReady**\n- **arcgisSwitchLayout** - Fires when component has completed the layout switch\n\n### Methods\n- `componentOnReady(): Promise<void>` - Create a promise that resolves once component is fully loaded.\n- `destroy(): Promise<void>` - Permanently destroy the component\n- `switchLayout(newLayout: \"basic-grid\" | \"chronological-mono-timeline\" | \"chronological-multi-timeline\" | \"geographic-organic-standard\" | \"hierarchical-bottom-to-top\" | \"organic-community\" | \"organic-standard\" | \"radial-root-centric\" | \"tree-left-to-right\"): Promise<void>` - Switches the layout of the link chart to the value provided.",
|
|
4452
4461
|
"attributes": [
|
|
4453
4462
|
{
|
|
4454
4463
|
"name": "auto-destroy-disabled",
|
|
@@ -5340,7 +5349,7 @@
|
|
|
5340
5349
|
},
|
|
5341
5350
|
{
|
|
5342
5351
|
"name": "arcgis-scale-bar",
|
|
5343
|
-
"description": "The
|
|
5352
|
+
"description": "The Scale Bar component displays a scale bar on the map or in a specified HTML node.\n--\n\n### Events\n- **arcgisReady**\n\n### Methods\n- `componentOnReady(): Promise<void>` - Create a promise that resolves once component is fully loaded.\n- `destroy(): Promise<void>` - Permanently destroy the component",
|
|
5344
5353
|
"attributes": [
|
|
5345
5354
|
{
|
|
5346
5355
|
"name": "auto-destroy-disabled",
|
|
@@ -6621,7 +6630,7 @@
|
|
|
6621
6630
|
},
|
|
6622
6631
|
{
|
|
6623
6632
|
"name": "state",
|
|
6624
|
-
"description": "The current state of the
|
|
6633
|
+
"description": "The current state of the Swipe.\n\n[Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Swipe-SwipeViewModel.html#state)",
|
|
6625
6634
|
"values": [
|
|
6626
6635
|
{
|
|
6627
6636
|
"name": "disabled"
|
|
@@ -6650,7 +6659,7 @@
|
|
|
6650
6659
|
},
|
|
6651
6660
|
{
|
|
6652
6661
|
"name": "arcgis-table-list",
|
|
6653
|
-
"description": "The
|
|
6662
|
+
"description": "The Table List component provides a way to display a list of tables associated with a [Map](https://developers.arcgis.com/javascript/latest/api-reference/esri-Map.html).\n--\n\n### Events\n- **arcgisPropertyChange**\n- **arcgisReady**\n- **arcgisTriggerAction**\n\n### Methods\n- `componentOnReady(): Promise<void>` - Create a promise that resolves once component is fully loaded.\n- `destroy(): Promise<void>` - Permanently destroy the component",
|
|
6654
6663
|
"attributes": [
|
|
6655
6664
|
{
|
|
6656
6665
|
"name": "auto-destroy-disabled",
|
|
@@ -6812,7 +6821,7 @@
|
|
|
6812
6821
|
},
|
|
6813
6822
|
{
|
|
6814
6823
|
"name": "arcgis-time-slider",
|
|
6815
|
-
"description": "The
|
|
6824
|
+
"description": "The Time Slider component simplifies visualization of temporal data in your application.\n--\n\n### Events\n- **arcgisPropertyChange**\n- **arcgisReady**\n- **arcgisTriggerAction**\n\n### Methods\n- `applyTimeSliderSettings(settings: Pick<__esri.TimeSliderProperties, \"fullTimeExtent\" | \"loop\" | \"stops\">): Promise<void>`\n- `componentOnReady(): Promise<void>` - Create a promise that resolves once component is fully loaded.\n- `destroy(): Promise<void>` - Permanently destroy the component\n- `next(): Promise<void>`\n- `play(): Promise<void>`\n- `previous(): Promise<void>`\n- `stop(): Promise<void>`\n- `updateWebDocument(webmap: __esri.WebMap): Promise<void>`",
|
|
6816
6825
|
"attributes": [
|
|
6817
6826
|
{
|
|
6818
6827
|
"name": "auto-destroy-disabled",
|
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.135",
|
|
5
5
|
"description-markup": "markdown",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|
|
@@ -130,6 +130,11 @@
|
|
|
130
130
|
"name": "referenceElement",
|
|
131
131
|
"type": "ArcgisLinkChart | ArcgisMap | ArcgisScene | string"
|
|
132
132
|
},
|
|
133
|
+
{
|
|
134
|
+
"name": "snappingOptions",
|
|
135
|
+
"description": "The [SnappingOptions](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-interactive-snapping-SnappingOptions.html) for sketching.\n\n[Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-AreaMeasurement2D.html#snappingOptions)",
|
|
136
|
+
"type": "SnappingOptions"
|
|
137
|
+
},
|
|
133
138
|
{
|
|
134
139
|
"name": "state",
|
|
135
140
|
"description": "The ViewModel's state.\n\n[Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-AreaMeasurement2D-AreaMeasurement2DViewModel.html#state)",
|
|
@@ -2763,7 +2768,7 @@
|
|
|
2763
2768
|
},
|
|
2764
2769
|
{
|
|
2765
2770
|
"name": "arcgis-directional-pad",
|
|
2766
|
-
"description": "A directional pad (D-Pad) component can be used to control the position and\nrotation of the map. The D-Pad provides eight directions of movement, a small\ncompass which indicates the current orientation of the map and a slider for\nrotating the map.\n\nIt is also possible to disable the map's rotation controls or change the size\nof the component.\n\nThe
|
|
2771
|
+
"description": "A directional pad (D-Pad) component can be used to control the position and\nrotation of the map. The D-Pad provides eight directions of movement, a small\ncompass which indicates the current orientation of the map and a slider for\nrotating the map.\n\nIt is also possible to disable the map's rotation controls or change the size\nof the component.\n\nThe Directional Pad component is not supported in 3D.\n--\n\n### Events\n- **arcgisPropertyChange**\n- **arcgisReady**\n\n### Methods\n- `componentOnReady(): Promise<void>` - Create a promise that resolves once component is fully loaded.\n- `destroy(): Promise<void>` - Permanently destroy the component",
|
|
2767
2772
|
"doc-url": "https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-directional-pad/",
|
|
2768
2773
|
"attributes": [
|
|
2769
2774
|
{
|
|
@@ -3619,6 +3624,9 @@
|
|
|
3619
3624
|
"description": "The widget's state.\n\n[Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Editor-EditorViewModel.html#state)",
|
|
3620
3625
|
"value": {
|
|
3621
3626
|
"type": [
|
|
3627
|
+
"\"add-association-create-association\"",
|
|
3628
|
+
"\"add-association-select-feature\"",
|
|
3629
|
+
"\"add-association-select-layer\"",
|
|
3622
3630
|
"\"adding-attachment\"",
|
|
3623
3631
|
"\"awaiting-feature-creation-info\"",
|
|
3624
3632
|
"\"awaiting-feature-to-create\"",
|
|
@@ -3734,7 +3742,7 @@
|
|
|
3734
3742
|
{
|
|
3735
3743
|
"name": "state",
|
|
3736
3744
|
"description": "The widget's state.\n\n[Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Editor-EditorViewModel.html#state)",
|
|
3737
|
-
"type": "\"adding-attachment\" | \"awaiting-feature-creation-info\" | \"awaiting-feature-to-create\" | \"awaiting-feature-to-update\" | \"awaiting-update-feature-candidate\" | \"creating-features\" | \"disabled\" | \"editing-attachment\" | \"editing-attributes\" | \"editing-existing-feature\" | \"editing-new-feature\" | \"ready\""
|
|
3745
|
+
"type": "\"add-association-create-association\" | \"add-association-select-feature\" | \"add-association-select-layer\" | \"adding-attachment\" | \"awaiting-feature-creation-info\" | \"awaiting-feature-to-create\" | \"awaiting-feature-to-update\" | \"awaiting-update-feature-candidate\" | \"creating-features\" | \"disabled\" | \"editing-attachment\" | \"editing-attributes\" | \"editing-existing-feature\" | \"editing-new-feature\" | \"ready\""
|
|
3738
3746
|
},
|
|
3739
3747
|
{
|
|
3740
3748
|
"name": "supportingWidgetDefaults",
|
|
@@ -3761,7 +3769,7 @@
|
|
|
3761
3769
|
},
|
|
3762
3770
|
{
|
|
3763
3771
|
"name": "arcgis-elevation-profile",
|
|
3764
|
-
"description": "The
|
|
3772
|
+
"description": "The Elevation Profile component is used to generate and display an elevation profile from an [input line graphic](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-ElevationProfile.html#input).\n--\n\n### Events\n- **arcgisPropertyChange**\n- **arcgisReady**\n\n### Methods\n- `componentOnReady(): Promise<void>` - Create a promise that resolves once component is fully loaded.\n- `destroy(): Promise<void>` - Permanently destroy the component\n- `start(): Promise<void>`\n- `stop(): Promise<void>`",
|
|
3765
3773
|
"doc-url": "https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-elevation-profile/",
|
|
3766
3774
|
"attributes": [
|
|
3767
3775
|
{
|
|
@@ -4759,7 +4767,7 @@
|
|
|
4759
4767
|
},
|
|
4760
4768
|
{
|
|
4761
4769
|
"name": "arcgis-feature-table",
|
|
4762
|
-
"description": "The
|
|
4770
|
+
"description": "The Feature Table component provides an interactive tabular view of each feature's attributes in a feature layer.\n--\n\n### Events\n- **arcgisCellClick**\n- **arcgisCellKeydown**\n- **arcgisCellPointerout**\n- **arcgisCellPointerover**\n- **arcgisColumnReorder**\n- **arcgisPropertyChange**\n- **arcgisReady**\n- **arcgisSelectionChange**\n\n### Methods\n- `componentOnReady(): Promise<void>` - Create a promise that resolves once component is fully loaded.\n- `deleteSelection(showWarningPrompt?: boolean): Promise<void>`\n- `destroy(): Promise<void>` - Permanently destroy the component\n- `exportSelectionToCSV(includeGeometry?: boolean): Promise<void>`\n- `findColumn(fieldName: string): Promise<__esri.ActionColumn | __esri.AttachmentsColumn | __esri.Column | __esri.GroupColumn | __esri.RelationshipColumn | nullish>`\n- `goToPage(index: number): Promise<void>`\n- `hideColumn(fieldName: string): Promise<void>`\n- `nextPage(): Promise<void>`\n- `previousPage(): Promise<void>`\n- `refresh(): Promise<void>`\n- `scrollToBottom(): Promise<void>`\n- `scrollToIndex(index: number): Promise<void>`\n- `scrollToLeft(): Promise<void>`\n- `scrollToRow(objectId: number): Promise<void>`\n- `scrollToTop(): Promise<void>`\n- `showAllColumns(): Promise<void>`\n- `showColumn(fieldName: string): Promise<void>`\n- `sortColumn(path: string, direction: \"asc\" | \"desc\"): Promise<void>`\n- `zoomToSelection(): Promise<void>`",
|
|
4763
4771
|
"doc-url": "https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-feature-table/",
|
|
4764
4772
|
"attributes": [
|
|
4765
4773
|
{
|
|
@@ -6053,7 +6061,7 @@
|
|
|
6053
6061
|
{
|
|
6054
6062
|
"name": "goToOverride",
|
|
6055
6063
|
"description": "This function provides the ability to override either the\n[MapView goTo()](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#goTo) or\n[SceneView goTo()](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#goTo) methods.\n\n[Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Features-FeaturesViewModel.html#goToOverride)",
|
|
6056
|
-
"type": "(((view: MapView | SceneView, goToParameters:
|
|
6064
|
+
"type": "(((view: MapView | SceneView, goToParameters: GoToParameters2D | GoToParameters3D) => void))"
|
|
6057
6065
|
},
|
|
6058
6066
|
{
|
|
6059
6067
|
"name": "headerActions",
|
|
@@ -6179,7 +6187,7 @@
|
|
|
6179
6187
|
},
|
|
6180
6188
|
{
|
|
6181
6189
|
"name": "arcgis-floor-filter",
|
|
6182
|
-
"description": "The
|
|
6190
|
+
"description": "The Floor Filter component simplifies visualization of GIS data for a specific floor of a building in your application.\n--\n\n### Events\n- **arcgisReady**\n\n### Methods\n- `componentOnReady(): Promise<void>` - Create a promise that resolves once component is fully loaded.\n- `destroy(): Promise<void>` - Permanently destroy the component\n- `updateWebDocument(webMap: __esri.WebMap): Promise<void>`",
|
|
6183
6191
|
"doc-url": "https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-floor-filter/",
|
|
6184
6192
|
"attributes": [
|
|
6185
6193
|
{
|
|
@@ -6990,7 +6998,7 @@
|
|
|
6990
6998
|
{
|
|
6991
6999
|
"name": "goToOverride",
|
|
6992
7000
|
"description": "This function provides the ability to override either the\n[MapView goTo()](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#goTo) or\n[SceneView goTo()](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#goTo) methods.\n\n[Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Home-HomeViewModel.html#goToOverride)",
|
|
6993
|
-
"type": "(((view: MapView | SceneView, goToParameters:
|
|
7001
|
+
"type": "(((view: MapView | SceneView, goToParameters: GoToParameters2D | GoToParameters3D) => void))"
|
|
6994
7002
|
},
|
|
6995
7003
|
{
|
|
6996
7004
|
"name": "icon",
|
|
@@ -7045,7 +7053,7 @@
|
|
|
7045
7053
|
},
|
|
7046
7054
|
{
|
|
7047
7055
|
"name": "arcgis-layer-list",
|
|
7048
|
-
"description": "The
|
|
7056
|
+
"description": "The Layer List component provides a way to display a list of layers, and switch on/off their visibility.\n--\n\n### Events\n- **arcgisPropertyChange**\n- **arcgisReady**\n- **arcgisTriggerAction**\n\n### Methods\n- `componentOnReady(): Promise<void>` - Create a promise that resolves once component is fully loaded.\n- `destroy(): Promise<void>` - Permanently destroy the component\n- `triggerAction(action: __esri.ActionButton | __esri.ActionToggle, item: __esri.ListItem): Promise<void>`",
|
|
7049
7057
|
"doc-url": "https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-layer-list/",
|
|
7050
7058
|
"attributes": [
|
|
7051
7059
|
{
|
|
@@ -7766,7 +7774,7 @@
|
|
|
7766
7774
|
},
|
|
7767
7775
|
{
|
|
7768
7776
|
"name": "arcgis-link-chart",
|
|
7769
|
-
"description": "### 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 link chart 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 link chart.\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 layers collection.\n- `addLayers(layers: __esri.Layer[], index?: number): Promise<void>` - Adds a layer or array of layers to the 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- `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- `toMap(screenPoint: __esri.MapViewScreenPoint | MouseEvent): __esri.Point`\n- `toScreen(point: __esri.Point, options?: __esri.ToScreenOptions2D): __esri.MapViewScreenPoint | nullish`\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.",
|
|
7777
|
+
"description": "Loads a [WebLinkChart](https://developers.arcgis.com/javascript/latest/api-reference/esri-WebLinkChart.html) from an [ArcGIS Enterprise portal](https://enterprise.arcgis.com/en/portal/latest/administer/windows/what-is-portal-for-arcgis-.htm) into a [LinkChartView](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-LinkChartView.html).\n\n\nNote: Sign in to access the data in this demo, U/P: `viewer01`/`I68VGU^nMurF`\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 link chart 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 link chart.\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 layers collection.\n- `addLayers(layers: __esri.Layer[], index?: number): Promise<void>` - Adds a layer or array of layers to the 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- `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- `toMap(screenPoint: __esri.MapViewScreenPoint | MouseEvent): __esri.Point`\n- `toScreen(point: __esri.Point, options?: __esri.ToScreenOptions2D): __esri.MapViewScreenPoint | nullish`\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.",
|
|
7770
7778
|
"doc-url": "https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-link-chart/",
|
|
7771
7779
|
"attributes": [
|
|
7772
7780
|
{
|
|
@@ -8265,7 +8273,7 @@
|
|
|
8265
8273
|
},
|
|
8266
8274
|
{
|
|
8267
8275
|
"name": "arcgis-link-chart-layout-switcher",
|
|
8268
|
-
"description": "A
|
|
8276
|
+
"description": "A component for use in link charts that allows users to switch between different layouts. See [documentation on layouts](https://enterprise.arcgis.com/en/knowledge/latest/knowledge-studio/change-the-layout-applied-to-a-link-chart.htm) for more details.\n\n\nNote: Sign in to access the data in this demo, U/P: `viewer01`/`I68VGU^nMurF`\n--\n\n### Events\n- **arcgisPropertyChange**\n- **arcgisReady**\n- **arcgisSwitchLayout** - Fires when component has completed the layout switch\n\n### Methods\n- `componentOnReady(): Promise<void>` - Create a promise that resolves once component is fully loaded.\n- `destroy(): Promise<void>` - Permanently destroy the component\n- `switchLayout(newLayout: \"basic-grid\" | \"chronological-mono-timeline\" | \"chronological-multi-timeline\" | \"geographic-organic-standard\" | \"hierarchical-bottom-to-top\" | \"organic-community\" | \"organic-standard\" | \"radial-root-centric\" | \"tree-left-to-right\"): Promise<void>` - Switches the layout of the link chart to the value provided.",
|
|
8269
8277
|
"doc-url": "https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-link-chart-layout-switcher/",
|
|
8270
8278
|
"attributes": [
|
|
8271
8279
|
{
|
|
@@ -8543,7 +8551,7 @@
|
|
|
8543
8551
|
{
|
|
8544
8552
|
"name": "goToOverride",
|
|
8545
8553
|
"description": "This function provides the ability to override either the\n[MapView goTo()](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#goTo) or\n[SceneView goTo()](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#goTo) methods.\n\n[Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Locate-LocateViewModel.html#goToOverride)",
|
|
8546
|
-
"type": "(((view: MapView | SceneView, goToParameters:
|
|
8554
|
+
"type": "(((view: MapView | SceneView, goToParameters: GoToParameters2D | GoToParameters3D) => void))"
|
|
8547
8555
|
},
|
|
8548
8556
|
{
|
|
8549
8557
|
"name": "graphic",
|
|
@@ -9349,7 +9357,6 @@
|
|
|
9349
9357
|
{
|
|
9350
9358
|
"name": "icon",
|
|
9351
9359
|
"description": "Icon which represents the component. It is typically used when the\ncomponent is controlled by another one (e.g. in the arcgis-expand\ncomponent).",
|
|
9352
|
-
"default": "\"pan\"",
|
|
9353
9360
|
"value": {
|
|
9354
9361
|
"type": "string"
|
|
9355
9362
|
}
|
|
@@ -10007,7 +10014,7 @@
|
|
|
10007
10014
|
},
|
|
10008
10015
|
{
|
|
10009
10016
|
"name": "arcgis-scale-bar",
|
|
10010
|
-
"description": "The
|
|
10017
|
+
"description": "The Scale Bar component displays a scale bar on the map or in a specified HTML node.\n--\n\n### Events\n- **arcgisReady**\n\n### Methods\n- `componentOnReady(): Promise<void>` - Create a promise that resolves once component is fully loaded.\n- `destroy(): Promise<void>` - Permanently destroy the component",
|
|
10011
10018
|
"doc-url": "https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scale-bar/",
|
|
10012
10019
|
"attributes": [
|
|
10013
10020
|
{
|
|
@@ -12898,7 +12905,7 @@
|
|
|
12898
12905
|
},
|
|
12899
12906
|
{
|
|
12900
12907
|
"name": "state",
|
|
12901
|
-
"description": "The current state of the
|
|
12908
|
+
"description": "The current state of the Swipe.\n\n[Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Swipe-SwipeViewModel.html#state)",
|
|
12902
12909
|
"default": "\"disabled\"",
|
|
12903
12910
|
"value": {
|
|
12904
12911
|
"type": [
|
|
@@ -12983,7 +12990,7 @@
|
|
|
12983
12990
|
},
|
|
12984
12991
|
{
|
|
12985
12992
|
"name": "state",
|
|
12986
|
-
"description": "The current state of the
|
|
12993
|
+
"description": "The current state of the Swipe.\n\n[Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Swipe-SwipeViewModel.html#state)",
|
|
12987
12994
|
"type": "\"disabled\" | \"ready\""
|
|
12988
12995
|
},
|
|
12989
12996
|
{
|
|
@@ -13011,7 +13018,7 @@
|
|
|
13011
13018
|
},
|
|
13012
13019
|
{
|
|
13013
13020
|
"name": "arcgis-table-list",
|
|
13014
|
-
"description": "The
|
|
13021
|
+
"description": "The Table List component provides a way to display a list of tables associated with a [Map](https://developers.arcgis.com/javascript/latest/api-reference/esri-Map.html).\n--\n\n### Events\n- **arcgisPropertyChange**\n- **arcgisReady**\n- **arcgisTriggerAction**\n\n### Methods\n- `componentOnReady(): Promise<void>` - Create a promise that resolves once component is fully loaded.\n- `destroy(): Promise<void>` - Permanently destroy the component",
|
|
13015
13022
|
"doc-url": "https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-table-list/",
|
|
13016
13023
|
"attributes": [
|
|
13017
13024
|
{
|
|
@@ -13340,7 +13347,7 @@
|
|
|
13340
13347
|
},
|
|
13341
13348
|
{
|
|
13342
13349
|
"name": "arcgis-time-slider",
|
|
13343
|
-
"description": "The
|
|
13350
|
+
"description": "The Time Slider component simplifies visualization of temporal data in your application.\n--\n\n### Events\n- **arcgisPropertyChange**\n- **arcgisReady**\n- **arcgisTriggerAction**\n\n### Methods\n- `applyTimeSliderSettings(settings: Pick<__esri.TimeSliderProperties, \"fullTimeExtent\" | \"loop\" | \"stops\">): Promise<void>`\n- `componentOnReady(): Promise<void>` - Create a promise that resolves once component is fully loaded.\n- `destroy(): Promise<void>` - Permanently destroy the component\n- `next(): Promise<void>`\n- `play(): Promise<void>`\n- `previous(): Promise<void>`\n- `stop(): Promise<void>`\n- `updateWebDocument(webmap: __esri.WebMap): Promise<void>`",
|
|
13344
13351
|
"doc-url": "https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-time-slider/",
|
|
13345
13352
|
"attributes": [
|
|
13346
13353
|
{
|
|
@@ -13718,7 +13725,7 @@
|
|
|
13718
13725
|
{
|
|
13719
13726
|
"name": "goToOverride",
|
|
13720
13727
|
"description": "This function provides the ability to override either the\n[MapView goTo()](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#goTo) or\n[SceneView goTo()](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#goTo) methods.\n\n[Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Track-TrackViewModel.html#goToOverride)",
|
|
13721
|
-
"type": "(((view: MapView | SceneView, goToParameters:
|
|
13728
|
+
"type": "(((view: MapView | SceneView, goToParameters: GoToParameters2D | GoToParameters3D) => void))"
|
|
13722
13729
|
},
|
|
13723
13730
|
{
|
|
13724
13731
|
"name": "graphic",
|
|
@@ -14960,7 +14967,7 @@
|
|
|
14960
14967
|
},
|
|
14961
14968
|
{
|
|
14962
14969
|
"name": "versioningStates",
|
|
14963
|
-
"description": "This class provides functionality for managing versions in a versioned geodatabase.\nIn the event that the Version Management
|
|
14970
|
+
"description": "This class provides functionality for managing versions in a versioned geodatabase.\nIn the event that the Version Management component is destroyed, the VersioningStates can be utilized to maintain the current state of the Version Management Component.\nThe Version Management Component can be reinitialized using a `Collection<VersioningState>`, or a predefined `Collection<VersioningState>` can be provided during the initial instantiation of the Version Management Component.",
|
|
14964
14971
|
"type": "Collection<VersioningState>"
|
|
14965
14972
|
},
|
|
14966
14973
|
{
|
package/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { s, g as t } from "./chunks/runtime.js";
|
|
2
2
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
4
|
-
v4.32.0-next.
|
|
4
|
+
v4.32.0-next.135 */
|
|
5
5
|
const a = s, A = t;
|
|
6
6
|
export {
|
|
7
7
|
A as getArcgisAssetPath,
|
package/dist/loader.js
CHANGED
|
@@ -2,9 +2,9 @@ import { r as e } from "./chunks/runtime.js";
|
|
|
2
2
|
import { makeDefineCustomElements as t } from "@arcgis/lumina";
|
|
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.135 */
|
|
6
6
|
const a = t(e, {
|
|
7
|
-
"arcgis-area-measurement-2d": [() => import("./components/arcgis-area-measurement-2d/customElement.js"), "autoDestroyDisabled,icon,label,position,referenceElement,state,unit,unitOptions:;destroy"],
|
|
7
|
+
"arcgis-area-measurement-2d": [() => import("./components/arcgis-area-measurement-2d/customElement.js"), "autoDestroyDisabled,icon,label,position,referenceElement,snappingOptions:,state,unit,unitOptions:;destroy"],
|
|
8
8
|
"arcgis-area-measurement-3d": [() => import("./components/arcgis-area-measurement-3d/customElement.js"), "analysis:,autoDestroyDisabled,icon,label,position,referenceElement,state,unit,unitOptions:;clear,destroy,start"],
|
|
9
9
|
"arcgis-attachments": [() => import("./components/arcgis-attachments/customElement.js"), "autoDestroyDisabled,capabilities:,displayType,graphic:,hideAddButton,hideAddSubmitButton,hideCancelAddButton,hideCancelUpdateButton,hideDeleteButton,hideErrorMessage,hideProgressBar,hideUpdateButton,icon,label,position,referenceElement,state,submitting:;destroy"],
|
|
10
10
|
"arcgis-basemap-gallery": [() => import("./components/arcgis-basemap-gallery/customElement.js"), "activeBasemap:,autoDestroyDisabled,disabled,headingLevel,icon,label,position,referenceElement,source:,state;destroy"],
|
package/dist/types/lumina.d.ts
CHANGED
|
@@ -61,7 +61,7 @@ import type { ArcgisWeather } from "../components/arcgis-weather";
|
|
|
61
61
|
import type { ArcgisZoom } from "../components/arcgis-zoom";
|
|
62
62
|
import type { h, EventHandler } from "@arcgis/lumina";
|
|
63
63
|
|
|
64
|
-
interface LuminaArcgisAreaMeasurement2d extends Partial<Pick<ArcgisAreaMeasurement2d, 'autoDestroyDisabled' | 'icon' | 'label' | 'position' | 'referenceElement' | 'unit' | 'unitOptions'>>, h.JSX.HTMLAttributes<HTMLArcgisAreaMeasurement2dElement> {
|
|
64
|
+
interface LuminaArcgisAreaMeasurement2d extends Partial<Pick<ArcgisAreaMeasurement2d, 'autoDestroyDisabled' | 'icon' | 'label' | 'position' | 'referenceElement' | 'snappingOptions' | 'unit' | 'unitOptions'>>, h.JSX.HTMLAttributes<HTMLArcgisAreaMeasurement2dElement> {
|
|
65
65
|
onarcgisPropertyChange?: EventHandler<HTMLArcgisAreaMeasurement2dElement["arcgisPropertyChange"]>;
|
|
66
66
|
onarcgisReady?: EventHandler<HTMLArcgisAreaMeasurement2dElement["arcgisReady"]>;
|
|
67
67
|
}
|
package/dist/types/preact.d.ts
CHANGED
|
@@ -62,7 +62,7 @@ import type { ArcgisZoom } from "../components/arcgis-zoom";
|
|
|
62
62
|
import { JSX as PreactJsx } from "preact";
|
|
63
63
|
import type { EventHandler } from "@arcgis/lumina";
|
|
64
64
|
|
|
65
|
-
interface PreactArcgisAreaMeasurement2d extends Partial<Pick<ArcgisAreaMeasurement2d, 'autoDestroyDisabled' | 'icon' | 'label' | 'position' | 'referenceElement' | 'unit' | 'unitOptions'>>, PreactJsx.HTMLAttributes<HTMLArcgisAreaMeasurement2dElement> {
|
|
65
|
+
interface PreactArcgisAreaMeasurement2d extends Partial<Pick<ArcgisAreaMeasurement2d, 'autoDestroyDisabled' | 'icon' | 'label' | 'position' | 'referenceElement' | 'snappingOptions' | 'unit' | 'unitOptions'>>, PreactJsx.HTMLAttributes<HTMLArcgisAreaMeasurement2dElement> {
|
|
66
66
|
onarcgisPropertyChange?: EventHandler<HTMLArcgisAreaMeasurement2dElement["arcgisPropertyChange"]>;
|
|
67
67
|
onarcgisReady?: EventHandler<HTMLArcgisAreaMeasurement2dElement["arcgisReady"]>;
|
|
68
68
|
}
|
package/dist/types/react.d.ts
CHANGED
|
@@ -62,7 +62,7 @@ import type { ArcgisZoom } from "../components/arcgis-zoom";
|
|
|
62
62
|
import type { HTMLProps } from 'react';
|
|
63
63
|
import type { EventHandler } from "@arcgis/lumina";
|
|
64
64
|
|
|
65
|
-
interface ReactArcgisAreaMeasurement2d extends Partial<Pick<ArcgisAreaMeasurement2d, 'autoDestroyDisabled' | 'icon' | 'label' | 'position' | 'referenceElement' | 'unit' | 'unitOptions'>>, HTMLProps<HTMLArcgisAreaMeasurement2dElement> {
|
|
65
|
+
interface ReactArcgisAreaMeasurement2d extends Partial<Pick<ArcgisAreaMeasurement2d, 'autoDestroyDisabled' | 'icon' | 'label' | 'position' | 'referenceElement' | 'snappingOptions' | 'unit' | 'unitOptions'>>, HTMLProps<HTMLArcgisAreaMeasurement2dElement> {
|
|
66
66
|
onarcgisPropertyChange?: EventHandler<HTMLArcgisAreaMeasurement2dElement["arcgisPropertyChange"]>;
|
|
67
67
|
onarcgisReady?: EventHandler<HTMLArcgisAreaMeasurement2dElement["arcgisReady"]>;
|
|
68
68
|
}
|
package/dist/types/stencil.d.ts
CHANGED
|
@@ -62,7 +62,7 @@ import type { ArcgisZoom } from "../components/arcgis-zoom";
|
|
|
62
62
|
import { JSXBase as StencilJsx } from "@stencil/core/internal";
|
|
63
63
|
import type { EventHandler } from "@arcgis/lumina";
|
|
64
64
|
|
|
65
|
-
interface StencilArcgisAreaMeasurement2d extends Partial<Pick<ArcgisAreaMeasurement2d, 'autoDestroyDisabled' | 'icon' | 'label' | 'position' | 'referenceElement' | 'unit' | 'unitOptions'>>, StencilJsx.HTMLAttributes<HTMLArcgisAreaMeasurement2dElement> {
|
|
65
|
+
interface StencilArcgisAreaMeasurement2d extends Partial<Pick<ArcgisAreaMeasurement2d, 'autoDestroyDisabled' | 'icon' | 'label' | 'position' | 'referenceElement' | 'snappingOptions' | 'unit' | 'unitOptions'>>, StencilJsx.HTMLAttributes<HTMLArcgisAreaMeasurement2dElement> {
|
|
66
66
|
onArcgisPropertyChange?: EventHandler<HTMLArcgisAreaMeasurement2dElement["arcgisPropertyChange"]>;
|
|
67
67
|
onArcgisReady?: EventHandler<HTMLArcgisAreaMeasurement2dElement["arcgisReady"]>;
|
|
68
68
|
}
|
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.135",
|
|
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.135",
|
|
44
|
+
"@arcgis/components-utils": "4.32.0-next.135",
|
|
45
|
+
"@arcgis/core-adapter": "4.32.0-next.135",
|
|
46
|
+
"@arcgis/lumina": "4.32.0-next.135",
|
|
47
47
|
"tslib": "^2.7.0"
|
|
48
48
|
},
|
|
49
49
|
"peerDependencies": {
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
3
|
-
v4.32.0-next.133 */
|
|
4
|
-
import{a as n}from"./NU6ZLL6C.js";import"./PW7ARUUQ.js";import"./XXIEMRPD.js";import{A as a,B as o,G as r,g as s,q as i,r as e}from"./NT6G46AE.js";var h=await $arcgis.l("widgets/AreaMeasurement2D");var m=e`@layer{arcgis-area-measurement-2d{display:block}}`,c=n(h),t=class extends o{constructor(){super(...arguments),this.widget=c(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.icon=this.widget.icon,this.label=this.widget.label,this.position="bottom-left",this.state=this.viewModel.state,this.unit=this.widget.unit,this.unitOptions=this.widget.unitOptions,this.arcgisPropertyChange=i()("state"),this.arcgisReady=a()}static{this.properties={autoDestroyDisabled:5,icon:1,label:1,position:1,referenceElement:1,state:3,unit:1,unitOptions:0}}static{this.shadowRootOptions=s}static{this.styles=m}async destroy(){await this.manager.destroy()}};r("arcgis-area-measurement-2d",t);export{t as ArcgisAreaMeasurement2d};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
3
|
-
v4.32.0-next.133 */
|
|
4
|
-
import{a as u}from"./TR6HRPPJ.js";import{a as y,b}from"./T436IW3O.js";import"./XXIEMRPD.js";import{A as p,B as h,C as v,E as e,G as m,g as r,q as l,r as d,s as g}from"./NT6G46AE.js";var{when:M}=await $arcgis.l("core/reactiveUtils");var $="arcgis-navigation-toggle",w={base:$},_=d`@layer{.arcgis-navigation-toggle{display:flex}}`,s=class extends h{constructor(){super(...arguments),this.view=b(this),this._messages=y(),this.autoDestroyDisabled=!1,this.icon="pan",this.layout="vertical",this.navigationMode="pan",this.position="bottom-left",this.state="disabled",this.arcgisPropertyChange=l()("layout","state"),this.arcgisReady=p()}static{this.properties={autoDestroyDisabled:5,icon:3,label:1,layout:3,navigationMode:3,position:1,referenceElement:1,state:3}}static{this.shadowRootOptions=r}static{this.styles=_}async destroy(){await this.manager.destroy()}async toggle(){this.state!=="disabled"&&(this.navigationMode=this.navigationMode!=="pan"?"pan":"rotate")}load(){this.manager.onLifecycle(()=>[M(()=>this.view?.navigation?.actionMap,()=>this._updateNavigationActionMap()),M(()=>{let{view:a}=this;return a?.ready&&a?.type==="3d"?"ready":"disabled"},a=>{this.state=a},{sync:!0,initial:!0})])}willUpdate(a){a.has("navigationMode")&&this._updateNavigationActionMap()}_onPanClick(){this.navigationMode="pan"}_onRotateClick(){this.navigationMode="rotate"}_updateNavigationActionMap(){let a=this.view?.navigation?.actionMap;if(!a)return;let t=this.navigationMode==="pan";a.dragPrimary=t?"pan":"rotate",a.dragSecondary=t?"rotate":"pan"}render(){let{_messages:a,navigationMode:t,state:f}=this,o=a.pan??"",n=a.rotate??"",i=f==="disabled",c=t==="pan";return g`<calcite-action-bar .ariaLabel=${this.label} class=${v({[w.base]:!0,[u.disabled]:i})} expand-disabled .layout=${this.layout} scale=s><calcite-action .active=${c} appearance=solid data-testid=navigation-toggle-pan .disabled=${i} icon=move @click=${this._onPanClick} scale=s .text=${o} title=${o??e}></calcite-action><calcite-action .active=${!c} appearance=solid data-testid=navigation-toggle-rotate .disabled=${i} icon=rotate @click=${this._onRotateClick} scale=s .text=${n} title=${n??e}></calcite-action></calcite-action-bar>`}};m("arcgis-navigation-toggle",s);export{s as ArcgisNavigationToggle};
|