@arcgis/map-components 6.0.0-next.15 → 6.0.0-next.16

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.
Files changed (106) hide show
  1. package/dist/cdn/33B22YZ5.js +2 -0
  2. package/dist/cdn/{NWCS3WJE.js → 35YLXOQ5.js} +1 -1
  3. package/dist/cdn/4XEZYOW7.js +2 -0
  4. package/dist/cdn/{OL5Z5MUQ.js → 54252KWO.js} +1 -1
  5. package/dist/cdn/{IZ3VMFW6.js → 5VXEMMLV.js} +1 -1
  6. package/dist/cdn/{OS3TKP63.js → AQ4GVWNJ.js} +1 -1
  7. package/dist/cdn/AWB7XOHF.js +2 -0
  8. package/dist/cdn/BYYCKI2P.js +2 -0
  9. package/dist/cdn/DUKK2PHD.js +2 -0
  10. package/dist/cdn/{I2VQOWJL.js → ECYWLMDD.js} +1 -1
  11. package/dist/cdn/FFVPO4JB.js +2 -0
  12. package/dist/cdn/{OS736MCE.js → FUJYJKDU.js} +1 -1
  13. package/dist/cdn/{SWWJXGPV.js → GFYLYX2V.js} +1 -1
  14. package/dist/cdn/GMEXAEOI.js +2 -0
  15. package/dist/cdn/{CDCI4EQR.js → HZDWPWBH.js} +1 -1
  16. package/dist/cdn/JB6WQEFJ.js +2 -0
  17. package/dist/cdn/{KJNU4Q25.js → JVC5XNYJ.js} +1 -1
  18. package/dist/cdn/LYYBCY4N.js +2 -0
  19. package/dist/cdn/{TMQVC4YN.js → NMGC3KRM.js} +1 -1
  20. package/dist/cdn/{B2UZB5MB.js → NUZBBPNE.js} +2 -2
  21. package/dist/cdn/{JC24VBLE.js → ODSZ7JZM.js} +1 -1
  22. package/dist/cdn/{VWEJ2XSC.js → P3AEIHWE.js} +1 -1
  23. package/dist/cdn/QCYQNVPL.js +2 -0
  24. package/dist/cdn/{ARHQMHUP.js → SAIBFBPE.js} +1 -1
  25. package/dist/cdn/U6NHJKIM.js +2 -0
  26. package/dist/cdn/VYM3TR3Q.js +2 -0
  27. package/dist/cdn/WC2N2XG6.js +2 -0
  28. package/dist/cdn/{Y56CR5OU.js → ZS5IADYN.js} +1 -1
  29. package/dist/cdn/index.js +1 -1
  30. package/dist/chunks/loader-utils.js +41 -0
  31. package/dist/chunks/resources.js +10 -4
  32. package/dist/chunks/slots.js +3 -3
  33. package/dist/chunks/useArcgisViewReadyError.js +179 -130
  34. package/dist/components/arcgis-editor/customElement.d.ts +9 -17
  35. package/dist/components/arcgis-editor/customElement.js +18 -16
  36. package/dist/components/arcgis-feature-next/customElement.js +21 -14
  37. package/dist/components/arcgis-features-next/customElement.js +137 -116
  38. package/dist/components/arcgis-fullscreen/customElement.js +4 -4
  39. package/dist/components/arcgis-line-of-sight/customElement.d.ts +15 -6
  40. package/dist/components/arcgis-link-chart/customElement.js +24 -24
  41. package/dist/components/arcgis-map/customElement.js +16 -16
  42. package/dist/components/arcgis-scene/customElement.js +21 -21
  43. package/dist/components/arcgis-sketch/customElement.js +146 -178
  44. package/dist/components/arcgis-track/customElement.d.ts +2 -2
  45. package/dist/components/arcgis-track/types.d.ts +1 -1
  46. package/dist/docs/api.json +1 -1
  47. package/dist/docs/docs.json +1 -1
  48. package/dist/docs/vscode.html-custom-data.json +1 -1
  49. package/dist/docs/web-types.json +1 -1
  50. package/dist/loader.js +1 -1
  51. package/package.json +7 -7
  52. package/dist/cdn/6RE5RWYP.js +0 -2
  53. package/dist/cdn/7JZU7XI4.js +0 -2
  54. package/dist/cdn/AL3PLZEE.js +0 -2
  55. package/dist/cdn/AT4PSRCX.js +0 -2
  56. package/dist/cdn/FINGRYZY.js +0 -2
  57. package/dist/cdn/JR3EXG25.js +0 -2
  58. package/dist/cdn/LISDXDCI.js +0 -2
  59. package/dist/cdn/LQNQSRG2.js +0 -2
  60. package/dist/cdn/LXLLMRNZ.js +0 -2
  61. package/dist/cdn/QAZ4W6K3.js +0 -2
  62. package/dist/cdn/QPR3KBLU.js +0 -2
  63. package/dist/cdn/YAPPIXWJ.js +0 -2
  64. /package/dist/cdn/{MGDY6SA3.js → 2JLC2JV7.js} +0 -0
  65. /package/dist/cdn/{ITSWOLPG.js → 37Z3E4ZM.js} +0 -0
  66. /package/dist/cdn/{SMCQ5457.js → 53PKFG2U.js} +0 -0
  67. /package/dist/cdn/{YZ23NKH4.js → 5ZLCMYZU.js} +0 -0
  68. /package/dist/cdn/{DXD3FSIB.js → 6MRDTILE.js} +0 -0
  69. /package/dist/cdn/{TTGAGK6Y.js → 72FJMPJ2.js} +0 -0
  70. /package/dist/cdn/{CIVCCENA.js → 7P23WI52.js} +0 -0
  71. /package/dist/cdn/{DU7MQDXJ.js → 7QUHJ4F6.js} +0 -0
  72. /package/dist/cdn/{PLRW457V.js → 7YXE3BUX.js} +0 -0
  73. /package/dist/cdn/{IYTA36WK.js → AE26KT54.js} +0 -0
  74. /package/dist/cdn/{OY2F5AX3.js → C4EAONGF.js} +0 -0
  75. /package/dist/cdn/{7RG4ZQP7.js → CTVCZ2FU.js} +0 -0
  76. /package/dist/cdn/{DVVXBWDN.js → EIQ3BKQI.js} +0 -0
  77. /package/dist/cdn/{J5PYSABF.js → EULM4L53.js} +0 -0
  78. /package/dist/cdn/{VHCJJ5FD.js → EVCKANRW.js} +0 -0
  79. /package/dist/cdn/{4U7C2G4R.js → GXIGMIXV.js} +0 -0
  80. /package/dist/cdn/{UAVE6R7W.js → JZSRPSRH.js} +0 -0
  81. /package/dist/cdn/{FSKKSFCQ.js → KDO2EJA3.js} +0 -0
  82. /package/dist/cdn/{B42Z3IQW.js → LCTJF3NT.js} +0 -0
  83. /package/dist/cdn/{LH3HGDD3.js → LGPNRKDT.js} +0 -0
  84. /package/dist/cdn/{5QBYMSV7.js → LNZRHKHG.js} +0 -0
  85. /package/dist/cdn/{SN3LTQAO.js → MM4N6C4V.js} +0 -0
  86. /package/dist/cdn/{A7G5RNN7.js → MQL4JTYG.js} +0 -0
  87. /package/dist/cdn/{4JRBTFMB.js → NUCXXE6V.js} +0 -0
  88. /package/dist/cdn/{XELSV7WY.js → O2VAKVIY.js} +0 -0
  89. /package/dist/cdn/{DYUSQ3OG.js → OLEIOWZX.js} +0 -0
  90. /package/dist/cdn/{3E6IBNWF.js → ORS7OWLJ.js} +0 -0
  91. /package/dist/cdn/{IHQ2C6NE.js → P3BAHG4Q.js} +0 -0
  92. /package/dist/cdn/{IPLEI5W5.js → QYMZT7OC.js} +0 -0
  93. /package/dist/cdn/{43JS3JXR.js → RENVCO3U.js} +0 -0
  94. /package/dist/cdn/{CJZCG74B.js → RGECACLD.js} +0 -0
  95. /package/dist/cdn/{HI7Y3XH5.js → SYIOPNRF.js} +0 -0
  96. /package/dist/cdn/{F2JEYWUA.js → T62G5MRK.js} +0 -0
  97. /package/dist/cdn/{AS55LGS3.js → TS32SDVT.js} +0 -0
  98. /package/dist/cdn/{W5QAG2HP.js → UCHDAO3V.js} +0 -0
  99. /package/dist/cdn/{HSYCQNEN.js → VNY7TNRC.js} +0 -0
  100. /package/dist/cdn/{KVN6NUH4.js → XJIILB3W.js} +0 -0
  101. /package/dist/cdn/{OHIZP5N4.js → Y4D3Q4G7.js} +0 -0
  102. /package/dist/cdn/{EMFLPMFZ.js → Y7KMV2PI.js} +0 -0
  103. /package/dist/cdn/{IBTIGEEQ.js → YASANB6O.js} +0 -0
  104. /package/dist/cdn/{L5L2SWJG.js → YMN2Q7CW.js} +0 -0
  105. /package/dist/cdn/{ZHP63EHR.js → YN6VG7UO.js} +0 -0
  106. /package/dist/cdn/{T6V5HDYH.js → YRYYWFPY.js} +0 -0
@@ -24,12 +24,21 @@ import type { Icon as Icon } from "@esri/calcite-components/components/calcite-i
24
24
  * and subsequent clicks place the [targets](https://developers.arcgis.com/javascript/latest/references/core/analysis/LineOfSightAnalysisTarget/).
25
25
  * Both the observer and target points can be moved by dragging. Additionally, the target points can be removed with a right click.
26
26
  *
27
- * Snapping, tooltips, display units, and input units are inherited from
28
- * [ViewOptions](https://developers.arcgis.com/javascript/latest/references/core/views/interactive/options/ViewOptions/).
29
- *
30
- * **Known limitation**
27
+ * **Things to consider**
31
28
  *
32
- * Line Of Sight is only supported in a 3D [arcgis-scene](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/) component.
29
+ * * Line Of Sight is only supported in a 3D [arcgis-scene](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/) component.
30
+ * * The results of the tool vary depending on the zoom level, as changes in zoom level affect the level of detail (LOD) of the scene geometry.
31
+ * * Snapping, tooltips, display units, and input units are inherited from
32
+ * [ViewOptions](https://developers.arcgis.com/javascript/latest/references/core/views/interactive/options/ViewOptions/).
33
+ * * Snapping is enabled by default. Holding the `CTRL` key disables it.
34
+ * * Layer types currently supported for snapping are:
35
+ * [FeatureLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/FeatureLayer/),
36
+ * [GraphicsLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/GraphicsLayer/) (except Mesh geometries),
37
+ * [GeoJSONLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/GeoJSONLayer/),
38
+ * [WFSLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/WFSLayer/),
39
+ * [CSVLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/CSVLayer/),
40
+ * [3D Object SceneLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/SceneLayer/),
41
+ * and [BuildingSceneLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/BuildingSceneLayer/).
33
42
  *
34
43
  * **See also**
35
44
  *
@@ -225,7 +234,7 @@ export abstract class ArcgisLineOfSight extends LitElement {
225
234
  * > **Note:** The recommended approach is to fully migrate applications to use map and scene components and avoid using MapView and SceneView directly. However, if you are migrating a large application from widgets to components, you might prefer a more gradual transition. To support this use case, the SDK includes this `view` property which connects a component to a MapView or SceneView. Ultimately, once migration is complete, the arcgis-line-of-sight component will be associated with a map or scene component rather than using the `view` property.
226
235
  */
227
236
  accessor view: SceneView | undefined;
228
- /** Clear the current analysis results. After calling this method, the user can set a new observer and targets. */
237
+ /** Clear the current observer and any targets. After calling this method, the user can set a new observer and targets. */
229
238
  clear(): Promise<void>;
230
239
  /** After [stop()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-line-of-sight/#stop) was called, this method allows to continue the line of sight analysis and add more targets. */
231
240
  continue(): Promise<void>;
@@ -1,25 +1,25 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
- import { c as C } from "../../chunks/runtime.js";
2
+ import { c as f } from "../../chunks/runtime.js";
3
3
  import { watch as h } from "@arcgis/core/core/reactiveUtils.js";
4
- import _ from "@arcgis/core/views/LinkChartView.js";
5
- import b from "@arcgis/core/WebLinkChart.js";
6
- import { LitElement as V, createEvent as p, safeClassMap as w } from "@arcgis/lumina";
4
+ import C from "@arcgis/core/views/LinkChartView.js";
5
+ import y from "@arcgis/core/WebLinkChart.js";
6
+ import { LitElement as _, createEvent as p, safeClassMap as w } from "@arcgis/lumina";
7
7
  import { reEmitEvent as e } from "@arcgis/lumina-toolkit/reEmitEvent";
8
- import { makeAccessorController as f, reCreateAccessor as A } from "@arcgis/lumina-toolkit/useAccessor";
9
- import { createRef as u, ref as v } from "lit/directives/ref.js";
8
+ import { makeAccessorController as b, reCreateAccessor as V } from "@arcgis/lumina-toolkit/useAccessor";
9
+ import { createRef as A, ref as u } from "lit/directives/ref.js";
10
10
  import { s as I } from "../../chunks/esri-main.js";
11
11
  import { s as E } from "../../chunks/slots.js";
12
- import { C as m } from "../../chunks/resources.js";
12
+ import { C as v } from "../../chunks/resources.js";
13
13
  import { b as L, c as R, p as M, i as k } from "../../chunks/component-utils.js";
14
14
  import { U, u as D, a as x, b as Q } from "../../chunks/useArcgisViewReadyError.js";
15
15
  import { fetchKnowledgeGraph as P } from "@arcgis/core/rest/knowledgeGraphService.js";
16
16
  import z from "@arcgis/core/rest/knowledgeGraph/GraphQueryStreaming.js";
17
- import { t as g } from "../../chunks/async-utils.js";
18
- import { isAbortError as d } from "@arcgis/core/core/promiseUtils.js";
19
- import { html as y } from "lit";
17
+ import { t as m } from "../../chunks/async-utils.js";
18
+ import { isAbortError as g } from "@arcgis/core/core/promiseUtils.js";
19
+ import { html as d } from "lit";
20
20
  import Z from "@arcgis/core/layers/LinkChartLayer.js";
21
- const F = f(
22
- b,
21
+ const F = b(
22
+ y,
23
23
  /**
24
24
  * Since omitProps is only needed for typing, not runtime, `{} as { ... }` is
25
25
  * a hack to remove them from the runtime code. This argument is not used at
@@ -29,10 +29,10 @@ const F = f(
29
29
  * in an externalized package.
30
30
  */
31
31
  {}
32
- ), S = f(_, {});
33
- class G extends V {
32
+ ), S = b(C, {});
33
+ class G extends _ {
34
34
  constructor() {
35
- super(), this._attributionMode = null, this._containerRef = u(), this._mapRef = u(), this._uiController = new U(this), this._activeLoadAbortController = null, this.arcgisLoadError = D(this), this.arcgisViewReadyError = x(this), this._map = F(this), this._baseCypherQuery = "", this._serviceUrl = "", this._propItemId = "", this.view = S(this), this.animationsDisabled = this.view.animationsEnabled, this.allLayerViews = this.view.allLayerViews, this.analyses = this.view.analyses, this.autoDestroyDisabled = !1, this.background = this.view.background, this.basemap = this._map.basemap, this.basemapView = this.view.basemapView, this.canZoomIn = this.view.canZoomIn, this.canZoomOut = this.view.canZoomOut, this.constraints = this.view.constraints, this.displayFilterDisabled = this.view.displayFilterEnabled, this.fatalError = this.view.fatalError, this.graphics = this.view.graphics, this.highlights = this.view.highlights, this.layerViews = this.view.layerViews, this.magnifier = this.view.magnifier, this.map = this.view.map, this.navigation = this.view.navigation, this.options = this.view.options, this.padding = this.view.padding, this.popup = this.view.popup, this.popupDisabled = this.view.popupEnabled, this.popupComponentEnabled = !1, this.ready = this.view.ready, this.resizeAlign = this.view.resizeAlign, this.resolution = this.view.resolution, this.rotation = this.view.rotation, this.selectionManager = this.view.selectionManager, this.focusRegionVisible = this.view.focusRegionVisible, this.slotGroupRefs = this._uiController.slotGroupRefs, this.spatialReference = this.view.spatialReference, this.suspended = this.view.suspended, this.theme = this.view.theme, this.timeExtent = this.view.timeExtent, this.timeZone = this.view.timeZone, this.arcgisViewAnalysisViewCreate = e(() => this.view, "analysis-view-create"), this.arcgisViewAnalysisViewCreateError = e(() => this.view, "analysis-view-create-error"), this.arcgisViewAnalysisViewDestroy = e(() => this.view, "analysis-view-destroy"), this.arcgisViewChange = p(), this.arcgisViewClick = e(() => this.view, "click"), this.arcgisViewDoubleClick = e(() => this.view, "double-click"), this.arcgisViewDoubleTapDrag = e(() => this.view, "double-tap-drag"), this.arcgisViewFocusRegionSelect = e(() => this.view, "focus-region-select"), this.arcgisViewDrag = e(() => this.view, "drag"), this.arcgisViewHold = e(() => this.view, "hold"), this.arcgisViewImmediateClick = e(() => this.view, "immediate-click"), this.arcgisViewImmediateDoubleClick = e(() => this.view, "immediate-double-click"), this.arcgisViewKeyDown = e(() => this.view, "key-down"), this.arcgisViewKeyUp = e(() => this.view, "key-up"), this.arcgisViewLayerviewCreate = e(() => this.view, "layerview-create"), this.arcgisViewLayerviewCreateError = e(() => this.view, "layerview-create-error"), this.arcgisViewLayerviewDestroy = e(() => this.view, "layerview-destroy"), this.arcgisViewMouseWheel = e(() => this.view, "mouse-wheel"), this.arcgisViewPointerDown = e(() => this.view, "pointer-down"), this.arcgisViewPointerEnter = e(() => this.view, "pointer-enter"), this.arcgisViewPointerLeave = e(() => this.view, "pointer-leave"), this.arcgisViewPointerMove = e(() => this.view, "pointer-move"), this.arcgisViewPointerUp = e(() => this.view, "pointer-up"), this.arcgisViewReadyChange = p(), this.arcgisViewVerticalTwoFingerDrag = e(() => this.view, "vertical-two-finger-drag"), Q(this), this.view.ui = {
35
+ super(), this._attributionMode = null, this._mapRef = A(), this._uiController = new U(this), this._activeLoadAbortController = null, this.arcgisLoadError = D(this), this.arcgisViewReadyError = x(this), this._map = F(this), this._baseCypherQuery = "", this._serviceUrl = "", this._propItemId = "", this.view = S(this), this.animationsDisabled = this.view.animationsEnabled, this.allLayerViews = this.view.allLayerViews, this.analyses = this.view.analyses, this.autoDestroyDisabled = !1, this.background = this.view.background, this.basemap = this._map.basemap, this.basemapView = this.view.basemapView, this.canZoomIn = this.view.canZoomIn, this.canZoomOut = this.view.canZoomOut, this.constraints = this.view.constraints, this.displayFilterDisabled = this.view.displayFilterEnabled, this.fatalError = this.view.fatalError, this.graphics = this.view.graphics, this.highlights = this.view.highlights, this.layerViews = this.view.layerViews, this.magnifier = this.view.magnifier, this.map = this.view.map, this.navigation = this.view.navigation, this.options = this.view.options, this.padding = this.view.padding, this.popup = this.view.popup, this.popupDisabled = this.view.popupEnabled, this.popupComponentEnabled = !1, this.ready = this.view.ready, this.resizeAlign = this.view.resizeAlign, this.resolution = this.view.resolution, this.rotation = this.view.rotation, this.selectionManager = this.view.selectionManager, this.focusRegionVisible = this.view.focusRegionVisible, this.slotGroupRefs = this._uiController.slotGroupRefs, this.spatialReference = this.view.spatialReference, this.suspended = this.view.suspended, this.theme = this.view.theme, this.timeExtent = this.view.timeExtent, this.timeZone = this.view.timeZone, this.arcgisViewAnalysisViewCreate = e(() => this.view, "analysis-view-create"), this.arcgisViewAnalysisViewCreateError = e(() => this.view, "analysis-view-create-error"), this.arcgisViewAnalysisViewDestroy = e(() => this.view, "analysis-view-destroy"), this.arcgisViewChange = p(), this.arcgisViewClick = e(() => this.view, "click"), this.arcgisViewDoubleClick = e(() => this.view, "double-click"), this.arcgisViewDoubleTapDrag = e(() => this.view, "double-tap-drag"), this.arcgisViewFocusRegionSelect = e(() => this.view, "focus-region-select"), this.arcgisViewDrag = e(() => this.view, "drag"), this.arcgisViewHold = e(() => this.view, "hold"), this.arcgisViewImmediateClick = e(() => this.view, "immediate-click"), this.arcgisViewImmediateDoubleClick = e(() => this.view, "immediate-double-click"), this.arcgisViewKeyDown = e(() => this.view, "key-down"), this.arcgisViewKeyUp = e(() => this.view, "key-up"), this.arcgisViewLayerviewCreate = e(() => this.view, "layerview-create"), this.arcgisViewLayerviewCreateError = e(() => this.view, "layerview-create-error"), this.arcgisViewLayerviewDestroy = e(() => this.view, "layerview-destroy"), this.arcgisViewMouseWheel = e(() => this.view, "mouse-wheel"), this.arcgisViewPointerDown = e(() => this.view, "pointer-down"), this.arcgisViewPointerEnter = e(() => this.view, "pointer-enter"), this.arcgisViewPointerLeave = e(() => this.view, "pointer-leave"), this.arcgisViewPointerMove = e(() => this.view, "pointer-move"), this.arcgisViewPointerUp = e(() => this.view, "pointer-up"), this.arcgisViewReadyChange = p(), this.arcgisViewVerticalTwoFingerDrag = e(() => this.view, "vertical-two-finger-drag"), Q(this), this.view.ui = {
36
36
  components: []
37
37
  };
38
38
  }
@@ -204,9 +204,9 @@ class G extends V {
204
204
  signal: a?.signal
205
205
  });
206
206
  try {
207
- g(a.signal), n.add(o), this._setLinkChartAndZoom(n);
207
+ m(a.signal), n.add(o), this._setLinkChartAndZoom(n);
208
208
  } catch (c) {
209
- if (!d(c))
209
+ if (!g(c))
210
210
  throw c;
211
211
  }
212
212
  });
@@ -219,9 +219,9 @@ class G extends V {
219
219
  signal: a?.signal
220
220
  }).then(async (n) => {
221
221
  try {
222
- g(a.signal), this._setLinkChartAndZoom(n);
222
+ m(a.signal), this._setLinkChartAndZoom(n);
223
223
  } catch (o) {
224
- if (!d(o))
224
+ if (!g(o))
225
225
  throw o;
226
226
  }
227
227
  });
@@ -248,15 +248,15 @@ class G extends V {
248
248
  });
249
249
  }
250
250
  renderMain() {
251
- return y`<div class=${w(m.base)} ${v(this._mapRef)}></div>`;
251
+ return d`<div class=${w(v.base)} ${u(this._mapRef)}></div>`;
252
252
  }
253
253
  render() {
254
- return y`${this.renderMain()}<section class=${w(m.containerUI)} ${v(this._containerRef)}>${this._uiController.render()}</section>`;
254
+ return d`${this.renderMain()}<section class=${w(v.containerUI)} ${u(this._uiController.uiContainerRef)}>${this._uiController.render()}</section>`;
255
255
  }
256
256
  }
257
257
  const s = {
258
258
  fetchKnowledgeGraph: async (r) => await P(r),
259
- WebLinkChart: b,
259
+ WebLinkChart: y,
260
260
  LinkChartLayer: Z,
261
261
  setMap: (r, i) => {
262
262
  r.map = i;
@@ -270,9 +270,9 @@ const s = {
270
270
  setPortalItem(r, i) {
271
271
  r.portalItem = { id: i };
272
272
  },
273
- reCreateAccessor: A
273
+ reCreateAccessor: V
274
274
  };
275
- C("arcgis-link-chart", G);
275
+ f("arcgis-link-chart", G);
276
276
  export {
277
277
  G as ArcgisLinkChart,
278
278
  s as exportsForTests
@@ -1,21 +1,21 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
- import { c as p } from "../../chunks/runtime.js";
2
+ import { c } from "../../chunks/runtime.js";
3
3
  import { html as r } from "lit";
4
4
  import { watch as s } from "@arcgis/core/core/reactiveUtils.js";
5
- import l from "@arcgis/core/views/MapView.js";
6
- import u from "@arcgis/core/WebMap.js";
7
- import { LitElement as v, createEvent as a, safeClassMap as o } from "@arcgis/lumina";
5
+ import p from "@arcgis/core/views/MapView.js";
6
+ import l from "@arcgis/core/WebMap.js";
7
+ import { LitElement as u, createEvent as a, safeClassMap as o } from "@arcgis/lumina";
8
8
  import { reEmitEvent as e } from "@arcgis/lumina-toolkit/reEmitEvent";
9
- import { makeAccessorController as c, reCreateAccessor as m } from "@arcgis/lumina-toolkit/useAccessor";
10
- import { createRef as n, ref as h } from "lit/directives/ref.js";
9
+ import { makeAccessorController as w, reCreateAccessor as v } from "@arcgis/lumina-toolkit/useAccessor";
10
+ import { createRef as m, ref as n } from "lit/directives/ref.js";
11
11
  import { U as g, u as d, a as y, b as f } from "../../chunks/useArcgisViewReadyError.js";
12
12
  import { s as b } from "../../chunks/esri-main.js";
13
13
  import { s as V } from "../../chunks/slots.js";
14
- import { C as w } from "../../chunks/resources.js";
14
+ import { C as h } from "../../chunks/resources.js";
15
15
  import { b as C, c as E, p as R, i as _ } from "../../chunks/component-utils.js";
16
16
  import A from "@arcgis/core/core/Collection.js";
17
- const M = c(
18
- u,
17
+ const M = w(
18
+ l,
19
19
  /**
20
20
  * Since omitProps is only needed for typing, not runtime, `{} as { ... }` is
21
21
  * a hack to remove them from the runtime code. This argument is not used at
@@ -25,10 +25,10 @@ const M = c(
25
25
  * in an externalized package.
26
26
  */
27
27
  {}
28
- ), D = c(l, {});
29
- class k extends v {
28
+ ), D = w(p, {});
29
+ class k extends u {
30
30
  constructor() {
31
- super(), this._attributionMode = null, this._containerRef = n(), this._mapRef = n(), this._uiController = new g(this), this.extraContent = new A(), this.arcgisLoadError = d(this), this.arcgisViewReadyError = y(this), this._map = M(this), this.view = D(this), this.animationsDisabled = this.view.animationsEnabled, this.allLayerViews = this.view.allLayerViews, this.analyses = this.view.analyses, this.autoDestroyDisabled = !1, this.background = this.view.background, this.basemap = this._map.basemap, this.basemapView = this.view.basemapView, this.canZoomIn = this.view.canZoomIn, this.canZoomOut = this.view.canZoomOut, this.constraints = this.view.constraints, this.displayFilterDisabled = this.view.displayFilterEnabled, this.fatalError = this.view.fatalError, this.floors = this.view.floors, this.graphics = this.view.graphics, this.ground = this._map.ground, this.highlights = this.view.highlights, this.ipsInfo = this._map.ipsInfo, this.layerViews = this.view.layerViews, this.magnifier = this.view.magnifier, this.map = this.view.map, this.navigation = this.view.navigation, this.options = this.view.options, this.padding = this.view.padding, this.popup = this.view.popup, this.popupDisabled = this.view.popupEnabled, this.popupComponentEnabled = !1, this.ready = this.view.ready, this.resizeAlign = this.view.resizeAlign, this.resolution = this.view.resolution, this.rotation = this.view.rotation, this.selectionManager = this.view.selectionManager, this.focusRegionVisible = this.view.focusRegionVisible, this.slotGroupRefs = this._uiController.slotGroupRefs, this.spatialReference = this.view.spatialReference, this.spatialReferenceLocked = this.view.spatialReferenceLocked, this.suspended = this.view.suspended, this.theme = this.view.theme, this.timeExtent = this.view.timeExtent, this.timeZone = this.view.timeZone, this.visibleArea = this.view.visibleArea, this.arcgisViewAnalysisViewCreate = e(() => this.view, "analysis-view-create"), this.arcgisViewAnalysisViewCreateError = e(() => this.view, "analysis-view-create-error"), this.arcgisViewAnalysisViewDestroy = e(() => this.view, "analysis-view-destroy"), this.arcgisViewChange = a(), this.arcgisViewClick = e(() => this.view, "click"), this.arcgisViewDoubleClick = e(() => this.view, "double-click"), this.arcgisViewDoubleTapDrag = e(() => this.view, "double-tap-drag"), this.arcgisViewFocusRegionSelect = e(() => this.view, "focus-region-select"), this.arcgisViewDrag = e(() => this.view, "drag"), this.arcgisViewHold = e(() => this.view, "hold"), this.arcgisViewImmediateClick = e(() => this.view, "immediate-click"), this.arcgisViewImmediateDoubleClick = e(() => this.view, "immediate-double-click"), this.arcgisViewKeyDown = e(() => this.view, "key-down"), this.arcgisViewKeyUp = e(() => this.view, "key-up"), this.arcgisViewLayerviewCreate = e(() => this.view, "layerview-create"), this.arcgisViewLayerviewCreateError = e(() => this.view, "layerview-create-error"), this.arcgisViewLayerviewDestroy = e(() => this.view, "layerview-destroy"), this.arcgisViewMouseWheel = e(() => this.view, "mouse-wheel"), this.arcgisViewPointerDown = e(() => this.view, "pointer-down"), this.arcgisViewPointerEnter = e(() => this.view, "pointer-enter"), this.arcgisViewPointerLeave = e(() => this.view, "pointer-leave"), this.arcgisViewPointerMove = e(() => this.view, "pointer-move"), this.arcgisViewPointerUp = e(() => this.view, "pointer-up"), this.arcgisViewReadyChange = a(), this.arcgisViewVerticalTwoFingerDrag = e(() => this.view, "vertical-two-finger-drag"), f(this), this.view.ui = {
31
+ super(), this._attributionMode = null, this._mapRef = m(), this._uiController = new g(this), this.extraContent = new A(), this.arcgisLoadError = d(this), this.arcgisViewReadyError = y(this), this._map = M(this), this.view = D(this), this.animationsDisabled = this.view.animationsEnabled, this.allLayerViews = this.view.allLayerViews, this.analyses = this.view.analyses, this.autoDestroyDisabled = !1, this.background = this.view.background, this.basemap = this._map.basemap, this.basemapView = this.view.basemapView, this.canZoomIn = this.view.canZoomIn, this.canZoomOut = this.view.canZoomOut, this.constraints = this.view.constraints, this.displayFilterDisabled = this.view.displayFilterEnabled, this.fatalError = this.view.fatalError, this.floors = this.view.floors, this.graphics = this.view.graphics, this.ground = this._map.ground, this.highlights = this.view.highlights, this.ipsInfo = this._map.ipsInfo, this.layerViews = this.view.layerViews, this.magnifier = this.view.magnifier, this.map = this.view.map, this.navigation = this.view.navigation, this.options = this.view.options, this.padding = this.view.padding, this.popup = this.view.popup, this.popupDisabled = this.view.popupEnabled, this.popupComponentEnabled = !1, this.ready = this.view.ready, this.resizeAlign = this.view.resizeAlign, this.resolution = this.view.resolution, this.rotation = this.view.rotation, this.selectionManager = this.view.selectionManager, this.focusRegionVisible = this.view.focusRegionVisible, this.slotGroupRefs = this._uiController.slotGroupRefs, this.spatialReference = this.view.spatialReference, this.spatialReferenceLocked = this.view.spatialReferenceLocked, this.suspended = this.view.suspended, this.theme = this.view.theme, this.timeExtent = this.view.timeExtent, this.timeZone = this.view.timeZone, this.visibleArea = this.view.visibleArea, this.arcgisViewAnalysisViewCreate = e(() => this.view, "analysis-view-create"), this.arcgisViewAnalysisViewCreateError = e(() => this.view, "analysis-view-create-error"), this.arcgisViewAnalysisViewDestroy = e(() => this.view, "analysis-view-destroy"), this.arcgisViewChange = a(), this.arcgisViewClick = e(() => this.view, "click"), this.arcgisViewDoubleClick = e(() => this.view, "double-click"), this.arcgisViewDoubleTapDrag = e(() => this.view, "double-tap-drag"), this.arcgisViewFocusRegionSelect = e(() => this.view, "focus-region-select"), this.arcgisViewDrag = e(() => this.view, "drag"), this.arcgisViewHold = e(() => this.view, "hold"), this.arcgisViewImmediateClick = e(() => this.view, "immediate-click"), this.arcgisViewImmediateDoubleClick = e(() => this.view, "immediate-double-click"), this.arcgisViewKeyDown = e(() => this.view, "key-down"), this.arcgisViewKeyUp = e(() => this.view, "key-up"), this.arcgisViewLayerviewCreate = e(() => this.view, "layerview-create"), this.arcgisViewLayerviewCreateError = e(() => this.view, "layerview-create-error"), this.arcgisViewLayerviewDestroy = e(() => this.view, "layerview-destroy"), this.arcgisViewMouseWheel = e(() => this.view, "mouse-wheel"), this.arcgisViewPointerDown = e(() => this.view, "pointer-down"), this.arcgisViewPointerEnter = e(() => this.view, "pointer-enter"), this.arcgisViewPointerLeave = e(() => this.view, "pointer-leave"), this.arcgisViewPointerMove = e(() => this.view, "pointer-move"), this.arcgisViewPointerUp = e(() => this.view, "pointer-up"), this.arcgisViewReadyChange = a(), this.arcgisViewVerticalTwoFingerDrag = e(() => this.view, "vertical-two-finger-drag"), f(this), this.view.ui = {
32
32
  components: []
33
33
  };
34
34
  }
@@ -97,7 +97,7 @@ class k extends v {
97
97
  return this._map.portalItem?.id;
98
98
  }
99
99
  set itemId(i) {
100
- m(this._map, this), this._map.portalItem = { id: i }, this.view.map = this._map;
100
+ v(this._map, this), this._map.portalItem = { id: i }, this.view.map = this._map;
101
101
  }
102
102
  get navigating() {
103
103
  return this.view.navigating;
@@ -191,13 +191,13 @@ class k extends v {
191
191
  ]);
192
192
  }
193
193
  renderMain() {
194
- return r`<div class=${o(w.base)} ${h(this._mapRef)}></div>`;
194
+ return r`<div class=${o(h.base)} ${n(this._mapRef)}></div>`;
195
195
  }
196
196
  render() {
197
- return r`${this.renderMain()}<section class=${o(w.containerUI)} ${h(this._containerRef)}>${this._uiController.render()}${this.extraContent}</section>`;
197
+ return r`${this.renderMain()}<section class=${o(h.containerUI)} ${n(this._uiController.uiContainerRef)}>${this._uiController.render()}${this.extraContent}</section>`;
198
198
  }
199
199
  }
200
- p("arcgis-map", k);
200
+ c("arcgis-map", k);
201
201
  export {
202
202
  k as ArcgisMap
203
203
  };
@@ -1,24 +1,24 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
- import { c as l } from "../../chunks/runtime.js";
2
+ import { c as m } from "../../chunks/runtime.js";
3
3
  import { html as a } from "lit";
4
- import p from "@arcgis/core/Camera.js";
4
+ import l from "@arcgis/core/Camera.js";
5
5
  import { watch as s } from "@arcgis/core/core/reactiveUtils.js";
6
- import v from "@arcgis/core/geometry/Point.js";
7
- import u from "@arcgis/core/views/SceneView.js";
8
- import g from "@arcgis/core/WebScene.js";
9
- import { LitElement as d, createEvent as r, safeClassMap as o } from "@arcgis/lumina";
6
+ import p from "@arcgis/core/geometry/Point.js";
7
+ import v from "@arcgis/core/views/SceneView.js";
8
+ import u from "@arcgis/core/WebScene.js";
9
+ import { LitElement as g, createEvent as r, safeClassMap as o } from "@arcgis/lumina";
10
10
  import { reEmitEvent as t } from "@arcgis/lumina-toolkit/reEmitEvent";
11
- import { makeAccessorController as w, reCreateAccessor as f } from "@arcgis/lumina-toolkit/useAccessor";
12
- import { createRef as n, ref as h } from "lit/directives/ref.js";
13
- import { U as y, u as b, a as V, b as C } from "../../chunks/useArcgisViewReadyError.js";
11
+ import { makeAccessorController as c, reCreateAccessor as d } from "@arcgis/lumina-toolkit/useAccessor";
12
+ import { createRef as y, ref as n } from "lit/directives/ref.js";
13
+ import { U as f, u as b, a as V, b as C } from "../../chunks/useArcgisViewReadyError.js";
14
14
  import { s as _ } from "../../chunks/esri-main.js";
15
15
  import { s as E } from "../../chunks/slots.js";
16
- import { C as c } from "../../chunks/resources.js";
16
+ import { C as h } from "../../chunks/resources.js";
17
17
  import { d as R, e as P, b as A, c as M, p as D, i as I } from "../../chunks/component-utils.js";
18
- const S = w(g, {}), k = w(u, {});
19
- class F extends d {
18
+ const S = c(u, {}), k = c(v, {});
19
+ class F extends g {
20
20
  constructor() {
21
- super(), this._attributionMode = null, this._containerRef = n(), this._mapRef = n(), this._uiController = new y(this), this._cameraProperties = {}, this.arcgisLoadError = b(this), this.arcgisViewReadyError = V(this), this._map = S(this), this.view = k(this), this.allLayerViews = this.view.allLayerViews, this.alphaCompositingEnabled = this.view.alphaCompositingEnabled, this.analyses = this.view.analyses, this.animationsDisabled = this.view.animationsEnabled, this.autoDestroyDisabled = !1, this.basemap = this._map.basemap, this.basemapView = this.view.basemapView, this.canZoomIn = this.view.canZoomIn, this.canZoomOut = this.view.canZoomOut, this.clippingArea = this.view.clippingArea, this.constraints = this.view.constraints, this.displayFilterDisabled = this.view.displayFilterEnabled, 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.layerViews = this.view.layerViews, this.magnifier = this.view.magnifier, this.map = this.view.map, this.navigation = this.view.navigation, this.options = this.view.options, this.padding = this.view.padding, this.popup = this.view.popup, this.popupDisabled = this.view.popupEnabled, this.popupComponentEnabled = !1, this.qualityProfile = this.view.qualityProfile, this.ready = this.view.ready, this.selectionManager = this.view.selectionManager, this.focusRegionVisible = this.view.focusRegionVisible, this.slotGroupRefs = this._uiController.slotGroupRefs, this.spatialReference = this.view.spatialReference, this.suspended = this.view.suspended, this.theme = this.view.theme, this.timeExtent = this.view.timeExtent, this.timeZone = this.view.timeZone, this.viewingMode = this.view.viewingMode, this.arcgisViewAnalysisViewCreate = t(() => this.view, "analysis-view-create"), this.arcgisViewAnalysisViewCreateError = t(() => this.view, "analysis-view-create-error"), this.arcgisViewAnalysisViewDestroy = t(() => this.view, "analysis-view-destroy"), this.arcgisViewChange = r(), this.arcgisViewClick = t(() => this.view, "click"), this.arcgisViewDoubleClick = t(() => this.view, "double-click"), this.arcgisViewDoubleTapDrag = t(() => this.view, "double-tap-drag"), this.arcgisViewFocusRegionSelect = t(() => this.view, "focus-region-select"), 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, "layerview-create"), this.arcgisViewLayerviewCreateError = t(() => this.view, "layerview-create-error"), this.arcgisViewLayerviewDestroy = t(() => this.view, "layerview-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 = r(), this.arcgisViewVerticalTwoFingerDrag = t(() => this.view, "vertical-two-finger-drag"), C(this), this.view.ui = {
21
+ super(), this._attributionMode = null, this._mapRef = y(), this._uiController = new f(this), this._cameraProperties = {}, this.arcgisLoadError = b(this), this.arcgisViewReadyError = V(this), this._map = S(this), this.view = k(this), this.allLayerViews = this.view.allLayerViews, this.alphaCompositingEnabled = this.view.alphaCompositingEnabled, this.analyses = this.view.analyses, this.animationsDisabled = this.view.animationsEnabled, this.autoDestroyDisabled = !1, this.basemap = this._map.basemap, this.basemapView = this.view.basemapView, this.canZoomIn = this.view.canZoomIn, this.canZoomOut = this.view.canZoomOut, this.clippingArea = this.view.clippingArea, this.constraints = this.view.constraints, this.displayFilterDisabled = this.view.displayFilterEnabled, 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.layerViews = this.view.layerViews, this.magnifier = this.view.magnifier, this.map = this.view.map, this.navigation = this.view.navigation, this.options = this.view.options, this.padding = this.view.padding, this.popup = this.view.popup, this.popupDisabled = this.view.popupEnabled, this.popupComponentEnabled = !1, this.qualityProfile = this.view.qualityProfile, this.ready = this.view.ready, this.selectionManager = this.view.selectionManager, this.focusRegionVisible = this.view.focusRegionVisible, this.slotGroupRefs = this._uiController.slotGroupRefs, this.spatialReference = this.view.spatialReference, this.suspended = this.view.suspended, this.theme = this.view.theme, this.timeExtent = this.view.timeExtent, this.timeZone = this.view.timeZone, this.viewingMode = this.view.viewingMode, this.arcgisViewAnalysisViewCreate = t(() => this.view, "analysis-view-create"), this.arcgisViewAnalysisViewCreateError = t(() => this.view, "analysis-view-create-error"), this.arcgisViewAnalysisViewDestroy = t(() => this.view, "analysis-view-destroy"), this.arcgisViewChange = r(), this.arcgisViewClick = t(() => this.view, "click"), this.arcgisViewDoubleClick = t(() => this.view, "double-click"), this.arcgisViewDoubleTapDrag = t(() => this.view, "double-tap-drag"), this.arcgisViewFocusRegionSelect = t(() => this.view, "focus-region-select"), 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, "layerview-create"), this.arcgisViewLayerviewCreateError = t(() => this.view, "layerview-create-error"), this.arcgisViewLayerviewDestroy = t(() => this.view, "layerview-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 = r(), this.arcgisViewVerticalTwoFingerDrag = t(() => this.view, "vertical-two-finger-drag"), C(this), this.view.ui = {
22
22
  components: []
23
23
  };
24
24
  }
@@ -75,12 +75,12 @@ class F extends d {
75
75
  if (i.ready)
76
76
  return i.camera?.position;
77
77
  const { position: e } = this._cameraProperties;
78
- return e ? new v(e) : void 0;
78
+ return e ? new p(e) : void 0;
79
79
  }
80
80
  set cameraPosition(i) {
81
81
  const e = P(this.view.camera?.position, i);
82
- e && this._mutateCamera((m) => {
83
- m.position = e;
82
+ e && this._mutateCamera((w) => {
83
+ w.position = e;
84
84
  });
85
85
  }
86
86
  get cameraTilt() {
@@ -133,7 +133,7 @@ class F extends d {
133
133
  return this._map.portalItem?.id;
134
134
  }
135
135
  set itemId(i) {
136
- f(this._map, this), this._map.portalItem = { id: i }, this.view.map = this._map;
136
+ d(this._map, this), this._map.portalItem = { id: i }, this.view.map = this._map;
137
137
  }
138
138
  get navigating() {
139
139
  return this.view.navigating;
@@ -242,17 +242,17 @@ class F extends d {
242
242
  i(this._cameraProperties);
243
243
  return;
244
244
  }
245
- const e = this.view.camera?.clone() ?? new p();
245
+ const e = this.view.camera?.clone() ?? new l();
246
246
  i(e), this.camera = e;
247
247
  }
248
248
  renderMain() {
249
- return a`<div class=${o(c.base)} ${h(this._mapRef)}></div>`;
249
+ return a`<div class=${o(h.base)} ${n(this._mapRef)}></div>`;
250
250
  }
251
251
  render() {
252
- return a`${this.renderMain()}<section class=${o(c.containerUI)} ${h(this._containerRef)}>${this._uiController.render()}</section>`;
252
+ return a`${this.renderMain()}<section class=${o(h.containerUI)} ${n(this._uiController.uiContainerRef)}>${this._uiController.render()}</section>`;
253
253
  }
254
254
  }
255
- l("arcgis-scene", F);
255
+ m("arcgis-scene", F);
256
256
  export {
257
257
  F as ArcgisScene
258
258
  };