@arcgis/map-components 5.2.0-next.60 → 5.2.0-next.62

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 (162) hide show
  1. package/dist/cdn/2SZEQV37.js +2 -0
  2. package/dist/cdn/3WTBTYMS.js +2 -0
  3. package/dist/cdn/4ZHTGN7K.js +2 -0
  4. package/dist/cdn/55DP6FNP.js +2 -0
  5. package/dist/cdn/{X6K2RSPI.js → 5IYDETJ3.js} +1 -1
  6. package/dist/cdn/{WYZPOKJF.js → 7MH3SB7P.js} +1 -1
  7. package/dist/cdn/A2T36WPR.js +2 -0
  8. package/dist/cdn/AEIJFBBW.js +2 -0
  9. package/dist/cdn/{NRHOAASJ.js → APOCPBJG.js} +1 -1
  10. package/dist/cdn/AZFN3LR3.js +2 -0
  11. package/dist/cdn/{F3VS53GP.js → B4IHQKAA.js} +1 -1
  12. package/dist/cdn/{AFJW3C3J.js → CZ35ZBQO.js} +1 -1
  13. package/dist/cdn/DBA7NSTP.js +2 -0
  14. package/dist/cdn/{KEV6I36K.js → DJ5IUHJS.js} +1 -1
  15. package/dist/cdn/GU3M4JMW.js +2 -0
  16. package/dist/cdn/HFKN54XG.js +2 -0
  17. package/dist/cdn/{2JV5SN44.js → IDKRMHDS.js} +1 -1
  18. package/dist/cdn/{Y3X3K2RU.js → IYLOUQFV.js} +1 -1
  19. package/dist/cdn/{CJS5I43A.js → MZBHKC3U.js} +1 -1
  20. package/dist/cdn/{OMGRHB7H.js → ND6OMAWU.js} +1 -1
  21. package/dist/cdn/{KKBZEDN4.js → OIYQ43VS.js} +1 -1
  22. package/dist/cdn/{UX6QVJG6.js → ORL32J3S.js} +1 -1
  23. package/dist/cdn/{5W6NJGFF.js → QKCBSK73.js} +1 -1
  24. package/dist/cdn/{SCPSWHG4.js → QU6ARDF6.js} +1 -1
  25. package/dist/cdn/{QVOYYXIU.js → RLA7OC3V.js} +1 -1
  26. package/dist/cdn/{ALUQRMZW.js → RUI2QLEM.js} +1 -1
  27. package/dist/cdn/S3XR7KRN.js +2 -0
  28. package/dist/cdn/{T6CKYPI7.js → SADIYG5D.js} +1 -1
  29. package/dist/cdn/SRTPZO5Z.js +2 -0
  30. package/dist/cdn/U4S4I3VD.js +2 -0
  31. package/dist/cdn/{N2KU7FO4.js → UAA66BVA.js} +1 -1
  32. package/dist/cdn/VDTRRLON.js +2 -0
  33. package/dist/cdn/{CFIH5Y4K.js → YAXMVCUT.js} +1 -1
  34. package/dist/cdn/{5F6Q3XF5.js → ZV5BQFVT.js} +1 -1
  35. package/dist/cdn/assets/oriented-imagery-viewer-panoramic-viewer/t9n/messages.en.json +1 -0
  36. package/dist/cdn/index.js +1 -1
  37. package/dist/cdn/main.css +1 -1
  38. package/dist/chunks/action-utils.js +9 -9
  39. package/dist/chunks/graphicsLayerController.js +74 -0
  40. package/dist/chunks/utils3.js +13 -45
  41. package/dist/chunks/utils4.js +51 -0
  42. package/dist/chunks/zoom.js +32 -0
  43. package/dist/components/arcgis-aggregated-features/customElement.js +11 -11
  44. package/dist/components/arcgis-area-measurement-2d/customElement.d.ts +4 -4
  45. package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +2 -2
  46. package/dist/components/arcgis-basemap-gallery/customElement.d.ts +2 -2
  47. package/dist/components/arcgis-basemap-layer-list/customElement.d.ts +2 -2
  48. package/dist/components/arcgis-basemap-layer-list-next/customElement.d.ts +2 -2
  49. package/dist/components/arcgis-basemap-toggle/customElement.d.ts +2 -2
  50. package/dist/components/arcgis-bookmarks/customElement.d.ts +2 -2
  51. package/dist/components/arcgis-building-explorer/customElement.d.ts +2 -2
  52. package/dist/components/arcgis-catalog-layer-list/customElement.d.ts +2 -2
  53. package/dist/components/arcgis-catalog-layer-list-next/customElement.d.ts +23 -18
  54. package/dist/components/arcgis-catalog-layer-list-next/customElement.js +125 -114
  55. package/dist/components/arcgis-clipboard/customElement.d.ts +2 -2
  56. package/dist/components/arcgis-compass/customElement.d.ts +2 -2
  57. package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +2 -2
  58. package/dist/components/arcgis-coordinate-conversion-next/customElement.d.ts +2 -2
  59. package/dist/components/arcgis-daylight/customElement.d.ts +2 -2
  60. package/dist/components/arcgis-direct-line-measurement-3d/customElement.d.ts +2 -2
  61. package/dist/components/arcgis-directional-pad/customElement.d.ts +2 -2
  62. package/dist/components/arcgis-directions/customElement.d.ts +2 -2
  63. package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +2 -2
  64. package/dist/components/arcgis-editor/customElement.d.ts +3 -3
  65. package/dist/components/arcgis-elevation-profile/customElement.d.ts +2 -2
  66. package/dist/components/arcgis-expand/customElement.d.ts +2 -2
  67. package/dist/components/arcgis-feature/customElement.d.ts +2 -2
  68. package/dist/components/arcgis-feature-next/customElement.d.ts +2 -2
  69. package/dist/components/arcgis-feature-next/customElement.js +1 -1
  70. package/dist/components/arcgis-feature-relationship/customElement.js +1 -1
  71. package/dist/components/arcgis-feature-table/customElement.d.ts +2 -2
  72. package/dist/components/arcgis-feature-templates/customElement.d.ts +2 -2
  73. package/dist/components/arcgis-feature-utility-network-associations/customElement.js +1 -1
  74. package/dist/components/arcgis-features-next/customElement.d.ts +1 -1
  75. package/dist/components/arcgis-features-next/customElement.js +1 -1
  76. package/dist/components/arcgis-floor-filter/customElement.d.ts +2 -2
  77. package/dist/components/arcgis-grid-controls/customElement.d.ts +2 -2
  78. package/dist/components/arcgis-home/customElement.d.ts +2 -2
  79. package/dist/components/arcgis-layer-list/customElement.d.ts +2 -2
  80. package/dist/components/arcgis-layer-list-next/customElement.d.ts +2 -2
  81. package/dist/components/arcgis-legend/customElement.d.ts +2 -2
  82. package/dist/components/arcgis-line-of-sight/customElement.d.ts +2 -2
  83. package/dist/components/arcgis-link-chart-layout-switcher/customElement.d.ts +2 -2
  84. package/dist/components/arcgis-link-chart-nonspatial-visibility-toggle/customElement.d.ts +2 -2
  85. package/dist/components/arcgis-locate/customElement.d.ts +2 -2
  86. package/dist/components/arcgis-measurement/customElement.d.ts +2 -2
  87. package/dist/components/arcgis-multi-feature-form/customElement.d.ts +2 -2
  88. package/dist/components/arcgis-navigation-toggle/customElement.d.ts +2 -2
  89. package/dist/components/arcgis-oriented-imagery-viewer/customElement.d.ts +2 -2
  90. package/dist/components/arcgis-oriented-imagery-viewer-image-viewer/customElement.js +64 -132
  91. package/dist/components/arcgis-oriented-imagery-viewer-panoramic-viewer/customElement.d.ts +51 -0
  92. package/dist/components/arcgis-oriented-imagery-viewer-panoramic-viewer/customElement.js +1006 -0
  93. package/dist/components/arcgis-oriented-imagery-viewer-panoramic-viewer/index.d.ts +1 -0
  94. package/dist/components/arcgis-oriented-imagery-viewer-panoramic-viewer/index.js +5 -0
  95. package/dist/components/arcgis-oriented-imagery-viewer-panoramic-viewer/support/PanoramicMedia.d.ts +49 -0
  96. package/dist/components/arcgis-oriented-imagery-viewer-panoramic-viewer/support/PanoramicTilePlanner.d.ts +18 -0
  97. package/dist/components/arcgis-oriented-imagery-viewer-panoramic-viewer/support/PanoramicTileSource.d.ts +36 -0
  98. package/dist/components/arcgis-oriented-imagery-viewer-panoramic-viewer-zoom/customElement.d.ts +91 -0
  99. package/dist/components/arcgis-oriented-imagery-viewer-panoramic-viewer-zoom/customElement.js +93 -0
  100. package/dist/components/arcgis-oriented-imagery-viewer-panoramic-viewer-zoom/index.d.ts +1 -0
  101. package/dist/components/arcgis-oriented-imagery-viewer-panoramic-viewer-zoom/index.js +2 -0
  102. package/dist/components/arcgis-paste/customElement.d.ts +2 -2
  103. package/dist/components/arcgis-popup/customElement.d.ts +3 -3
  104. package/dist/components/arcgis-popup/customElement.js +1 -1
  105. package/dist/components/arcgis-presentation/customElement.d.ts +2 -2
  106. package/dist/components/arcgis-print/customElement.d.ts +2 -2
  107. package/dist/components/arcgis-print-dpi-input/customElement.js +1 -1
  108. package/dist/components/arcgis-print-export-button/customElement.js +1 -1
  109. package/dist/components/arcgis-print-format-select/customElement.js +1 -1
  110. package/dist/components/arcgis-print-main-panel/customElement.js +1 -1
  111. package/dist/components/arcgis-print-template-select/customElement.js +1 -1
  112. package/dist/components/arcgis-print-template-selector/customElement.js +1 -1
  113. package/dist/components/arcgis-scale-bar/customElement.d.ts +2 -2
  114. package/dist/components/arcgis-scale-range-slider/customElement.d.ts +2 -2
  115. package/dist/components/arcgis-search/customElement.d.ts +2 -2
  116. package/dist/components/arcgis-shadow-cast/customElement.d.ts +2 -2
  117. package/dist/components/arcgis-sketch/customElement.d.ts +2 -2
  118. package/dist/components/arcgis-slice/customElement.d.ts +2 -2
  119. package/dist/components/arcgis-slider-scale-range/customElement.d.ts +2 -2
  120. package/dist/components/arcgis-snapping-controls/customElement.d.ts +2 -2
  121. package/dist/components/arcgis-swipe/customElement.d.ts +2 -2
  122. package/dist/components/arcgis-table-list/customElement.d.ts +2 -2
  123. package/dist/components/arcgis-table-list-next/customElement.d.ts +2 -2
  124. package/dist/components/arcgis-time-bar/customElement.d.ts +5 -5
  125. package/dist/components/arcgis-time-bar/customElement.js +1 -1
  126. package/dist/components/arcgis-time-bar-slider/customElement.js +11 -11
  127. package/dist/components/arcgis-time-slider/customElement.d.ts +2 -2
  128. package/dist/components/arcgis-time-zone-label/customElement.d.ts +2 -2
  129. package/dist/components/arcgis-track/customElement.d.ts +2 -2
  130. package/dist/components/arcgis-utility-network-associations/customElement.d.ts +2 -2
  131. package/dist/components/arcgis-utility-network-trace/customElement.d.ts +2 -2
  132. package/dist/components/arcgis-utility-network-trace-analysis/customElement.d.ts +2 -2
  133. package/dist/components/arcgis-utility-network-trace-inputs/customElement.d.ts +2 -2
  134. package/dist/components/arcgis-utility-network-trace-location/customElement.d.ts +2 -2
  135. package/dist/components/arcgis-utility-network-trace-location-list/customElement.d.ts +2 -2
  136. package/dist/components/arcgis-utility-network-trace-results/customElement.d.ts +2 -2
  137. package/dist/components/arcgis-utility-network-validate-topology/customElement.d.ts +2 -2
  138. package/dist/components/arcgis-video-player/customElement.d.ts +2 -2
  139. package/dist/components/arcgis-volume-measurement/customElement.d.ts +2 -2
  140. package/dist/components/arcgis-weather/customElement.d.ts +2 -2
  141. package/dist/components/arcgis-zoom/customElement.d.ts +2 -2
  142. package/dist/components/arcgis-zoom/customElement.js +21 -45
  143. package/dist/controllers/useT9n.d.ts +3 -0
  144. package/dist/docs/api.json +1 -1
  145. package/dist/docs/docs.json +1 -1
  146. package/dist/docs/vscode.html-custom-data.json +1 -1
  147. package/dist/docs/web-types.json +1 -1
  148. package/dist/index.d.ts +14 -0
  149. package/dist/loader.js +3 -1
  150. package/dist/types/lumina.d.ts +13 -0
  151. package/dist/types/preact.d.ts +15 -0
  152. package/dist/types/react.d.ts +17 -0
  153. package/dist/types/stencil.d.ts +13 -0
  154. package/package.json +4 -4
  155. package/dist/cdn/A5XIQWD5.js +0 -2
  156. package/dist/cdn/AK62SYBC.js +0 -2
  157. package/dist/cdn/D7DH54CE.js +0 -2
  158. package/dist/cdn/KBBYF7KD.js +0 -2
  159. package/dist/cdn/M4HY5VMM.js +0 -2
  160. package/dist/cdn/MBRWWICI.js +0 -2
  161. package/dist/cdn/OO6NV5GK.js +0 -2
  162. /package/dist/cdn/{MOJH7XEP.js → 3ZXNGXHC.js} +0 -0
@@ -198,8 +198,8 @@ export abstract class ArcgisExpand extends LitElement {
198
198
  */
199
199
  accessor topLayerDisabled: boolean;
200
200
  /**
201
- * The view associated with the component.
202
- * > **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-expand component will be associated with a map or scene component rather than using the `view` property.
201
+ * The view associated with the component.
202
+ * > **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-expand component will be associated with a map or scene component rather than using the `view` property.
203
203
  */
204
204
  accessor view: LinkChartView | MapView | SceneView | null | undefined;
205
205
  /**
@@ -395,8 +395,8 @@ export abstract class ArcgisFeature extends LitElement {
395
395
  */
396
396
  accessor timeZone: string;
397
397
  /**
398
- * The view associated with the component.
399
- * > **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-feature component will be associated with a map or scene component rather than using the `view` property.
398
+ * The view associated with the component.
399
+ * > **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-feature component will be associated with a map or scene component rather than using the `view` property.
400
400
  */
401
401
  accessor view: MapViewOrSceneView | null | undefined;
402
402
  /**
@@ -361,8 +361,8 @@ export abstract class ArcgisFeatureNext extends LitElement {
361
361
  */
362
362
  accessor timeZone: string;
363
363
  /**
364
- * The view associated with the component.
365
- * > **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-feature-next component will be associated with a map or scene component rather than using the `view` property.
364
+ * The view associated with the component.
365
+ * > **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-feature-next component will be associated with a map or scene component rather than using the `view` property.
366
366
  */
367
367
  accessor view: MapViewOrSceneView | null | undefined;
368
368
  /** Permanently destroy the component. */
@@ -13,7 +13,7 @@ import { a as R, g as D, c as V, b as k, s as d, i as E, d as B } from "../../ch
13
13
  import N from "@arcgis/core/core/Collection.js";
14
14
  import { watch as H } from "@arcgis/core/core/reactiveUtils.js";
15
15
  import { stripHTML as P } from "@arcgis/core/applications/Components/stringUtils.js";
16
- import Z from "@arcgis/core/popup/Feature.js";
16
+ import Z from "@arcgis/core/popup/FeatureContent.js";
17
17
  const z = w`:host{display:flex;flex:1 1 auto;background-color:var(--calcite-color-foreground-1);--calcite-color-background: var(--calcite-color-foreground-1)}.root{flex:1 1 auto}.root calcite-icon{box-sizing:content-box}.loading-container{display:flex;justify-content:center;padding:var(--calcite-spacing-md) 0;width:100%}.content-element{margin-bottom:var(--calcite-spacing-lg);padding:0 var(--calcite-spacing-sm);display:flex;flex-direction:column}.content-element:only-child,.content-element:last-child{margin-bottom:var(--calcite-spacing-xxs)}.last-edited-info{padding-top:var(--calcite-spacing-xs);font-size:var(--calcite-font-size-sm)}`, U = C(Z);
18
18
  class S extends b {
19
19
  constructor() {
@@ -14,7 +14,7 @@ import M from "@arcgis/core/rest/support/RelationshipQuery.js";
14
14
  import { ignoreAbortErrors as L } from "@arcgis/core/core/promiseUtils.js";
15
15
  import { classes as S } from "@arcgis/toolkit/dom";
16
16
  import { createRef as J, ref as U } from "lit/directives/ref.js";
17
- import X from "@arcgis/core/popup/Feature.js";
17
+ import X from "@arcgis/core/popup/FeatureContent.js";
18
18
  const Y = H`:host{position:relative;flex:1 1 auto}.list{min-height:var(--calcite-spacing-xxxl)}.list-item-hidden{display:none}.feature-observer{position:relative;bottom:var(--calcite-spacing-xxl);z-index:2;text-align:center}.sticky-loading-container{display:flex;position:sticky;bottom:var(--calcite-spacing-sm);align-items:center;justify-content:center;z-index:2;margin:0;padding:0;height:var(--calcite-spacing-xxxl);pointer-events:none}`, ee = (h) => {
19
19
  const e = [];
20
20
  if (h.formTemplate) {
@@ -1074,8 +1074,8 @@ export abstract class ArcgisFeatureTable extends LitElement {
1074
1074
  */
1075
1075
  accessor timeZone: string | null | undefined;
1076
1076
  /**
1077
- * The view associated with the component.
1078
- * > **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-feature-table component will be associated with a map or scene component rather than using the `view` property.
1077
+ * The view associated with the component.
1078
+ * > **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-feature-table component will be associated with a map or scene component rather than using the `view` property.
1079
1079
  */
1080
1080
  accessor view: LinkChartView | MapViewOrSceneView | null | undefined;
1081
1081
  /**
@@ -243,8 +243,8 @@ export abstract class ArcgisFeatureTemplates extends LitElement {
243
243
  */
244
244
  get updating(): boolean;
245
245
  /**
246
- * The view associated with the component.
247
- * > **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-feature-templates component will be associated with a map or scene component rather than using the `view` property.
246
+ * The view associated with the component.
247
+ * > **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-feature-templates component will be associated with a map or scene component rather than using the `view` property.
248
248
  */
249
249
  accessor view: MapView | SceneView | undefined;
250
250
  /** Permanently destroy the component */
@@ -13,7 +13,7 @@ import P from "@arcgis/core/rest/networks/support/NetworkElement.js";
13
13
  import U from "@arcgis/core/rest/networks/support/QueryAssociationsParameters.js";
14
14
  import { LitElement as Q, renderElement as q } from "@arcgis/lumina";
15
15
  import { debounce as T } from "@arcgis/toolkit/function";
16
- import G from "@arcgis/core/popup/Feature.js";
16
+ import G from "@arcgis/core/popup/FeatureContent.js";
17
17
  const B = M`.list-container{min-height:var(--calcite-spacing-xxxl)}.loading-container{display:flex;justify-content:center;padding:var(--calcite-spacing-md) 0;width:100%}.sticky-loading-container{display:flex;position:sticky;bottom:var(--calcite-spacing-sm);align-items:center;justify-content:center;z-index:2;margin:0;padding:0;height:var(--calcite-spacing-xxxl);pointer-events:none;height:500px}`, L = 100, $ = {
18
18
  assetGroup: "assetgroup",
19
19
  assetType: "assettype"
@@ -54,7 +54,7 @@ export abstract class ArcgisFeaturesNext extends LitElement {
54
54
  */
55
55
  accessor actions: Collection<PopupAction>;
56
56
  /**
57
- * Indicates if the component is active when it is visible and is not [waiting](https://developers.arcgis.com/javascript/latest/references/core/popup/Features/#waitingForResult) for results.
57
+ * Indicates if the component is active when it is visible and is not [waiting](https://developers.arcgis.com/javascript/latest/references/core/popup/FeatureContentCollection/#waitingForResult) for results.
58
58
  *
59
59
  * @default false
60
60
  */
@@ -4,7 +4,7 @@ import { css as O, html as o } from "lit";
4
4
  import { keyed as y } from "lit/directives/keyed.js";
5
5
  import R from "@arcgis/core/support/actions/ActionButton.js";
6
6
  import E from "@arcgis/core/core/Collection.js";
7
- import H from "@arcgis/core/popup/Features.js";
7
+ import H from "@arcgis/core/popup/FeatureContentCollection.js";
8
8
  import { LitElement as P, createEvent as A, renderElement as z, nothing as p, safeClassMap as I } from "@arcgis/lumina";
9
9
  import { useDirection as Z, usePropertyChange as V, bypassReadOnly as k } from "@arcgis/lumina/controllers";
10
10
  import { classes as x } from "@arcgis/toolkit/dom";
@@ -191,8 +191,8 @@ export abstract class ArcgisFloorFilter extends LitElement {
191
191
  /** The currently selected site. */
192
192
  accessor site: string | null | undefined;
193
193
  /**
194
- * The view associated with the component.
195
- * > **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-floor-filter component will be associated with a map or scene component rather than using the `view` property.
194
+ * The view associated with the component.
195
+ * > **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-floor-filter component will be associated with a map or scene component rather than using the `view` property.
196
196
  */
197
197
  accessor view: MapViewOrSceneView | null | undefined;
198
198
  /** Permanently destroy the component. */
@@ -319,8 +319,8 @@ export abstract class ArcgisGridControls extends LitElement {
319
319
  */
320
320
  accessor unit: LengthUnit | undefined;
321
321
  /**
322
- * The view associated with the component.
323
- * > **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-grid-controls component will be associated with a map or scene component rather than using the `view` property.
322
+ * The view associated with the component.
323
+ * > **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-grid-controls component will be associated with a map or scene component rather than using the `view` property.
324
324
  */
325
325
  accessor view: MapView | null | undefined;
326
326
  /** Permanently destroy the component. */
@@ -89,8 +89,8 @@ export abstract class ArcgisHome extends LitElement {
89
89
  /** The current state of the component. */
90
90
  get state(): "disabled" | "going-home" | "ready";
91
91
  /**
92
- * The view associated with the component.
93
- * > **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-home component will be associated with a map or scene component rather than using the `view` property.
92
+ * The view associated with the component.
93
+ * > **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-home component will be associated with a map or scene component rather than using the `view` property.
94
94
  */
95
95
  accessor view: MapView | SceneView | undefined;
96
96
  /**
@@ -403,8 +403,8 @@ export abstract class ArcgisLayerList extends LitElement {
403
403
  /** The TableList that displays the tables associated with a KnowledgeGraphLayer. */
404
404
  get tableList(): TableList | null | undefined;
405
405
  /**
406
- * The view associated with the component.
407
- * > **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-layer-list component will be associated with a map or scene component rather than using the `view` property.
406
+ * The view associated with the component.
407
+ * > **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-layer-list component will be associated with a map or scene component rather than using the `view` property.
408
408
  */
409
409
  accessor view: MapViewOrSceneView | null | undefined;
410
410
  /**
@@ -554,8 +554,8 @@ export abstract class ArcgisLayerListNext extends LitElement {
554
554
  */
555
555
  get tableList(): ArcgisTableListNext | undefined;
556
556
  /**
557
- * The view associated with the component.
558
- * > **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-layer-list-next component will be associated with a map or scene component rather than using the `view` property.
557
+ * The view associated with the component.
558
+ * > **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-layer-list-next component will be associated with a map or scene component rather than using the `view` property.
559
559
  */
560
560
  accessor view: MapViewOrSceneView | null | undefined;
561
561
  /**
@@ -439,8 +439,8 @@ export abstract class ArcgisLegend extends LitElement {
439
439
  */
440
440
  get state(): LegendViewModelState;
441
441
  /**
442
- * The view associated with the component.
443
- * > **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-legend component will be associated with a map or scene component rather than using the `view` property.
442
+ * The view associated with the component.
443
+ * > **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-legend component will be associated with a map or scene component rather than using the `view` property.
444
444
  */
445
445
  accessor view: LinkChartView | MapViewOrSceneView | null | undefined;
446
446
  /** Permanently destroy the component. */
@@ -201,8 +201,8 @@ export abstract class ArcgisLineOfSight extends LitElement {
201
201
  */
202
202
  get state(): "created" | "creating" | "disabled" | "ready";
203
203
  /**
204
- * The view associated with the component.
205
- * > **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.
204
+ * The view associated with the component.
205
+ * > **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.
206
206
  */
207
207
  accessor view: SceneView | undefined;
208
208
  /** Clear the current analysis results. After calling this method, the user can set a new observer and targets. */
@@ -131,8 +131,8 @@ export abstract class ArcgisLinkChartLayoutSwitcher extends LitElement {
131
131
  */
132
132
  get state(): LinkChartLayoutSwitcherViewModelState;
133
133
  /**
134
- * The view associated with the component.
135
- * > **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-link-chart-layout-switcher component will be associated with a map or scene component rather than using the `view` property.
134
+ * The view associated with the component.
135
+ * > **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-link-chart-layout-switcher component will be associated with a map or scene component rather than using the `view` property.
136
136
  */
137
137
  accessor view: LinkChartView | null | undefined;
138
138
  /** Permanently destroy the component. */
@@ -48,8 +48,8 @@ export abstract class ArcgisLinkChartNonspatialVisibilityToggle extends LitEleme
48
48
  */
49
49
  get state(): State;
50
50
  /**
51
- * The view associated with the component.
52
- * > **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-link-chart-nonspatial-visibility-toggle component will be associated with a map or scene component rather than using the `view` property.
51
+ * The view associated with the component.
52
+ * > **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-link-chart-nonspatial-visibility-toggle component will be associated with a map or scene component rather than using the `view` property.
53
53
  */
54
54
  accessor view: LinkChartView | undefined;
55
55
  /**
@@ -145,8 +145,8 @@ export abstract class ArcgisLocate extends LitElement {
145
145
  /** The current state of the component. */
146
146
  get state(): State;
147
147
  /**
148
- * The view associated with the component.
149
- * > **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-locate component will be associated with a map or scene component rather than using the `view` property.
148
+ * The view associated with the component.
149
+ * > **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-locate component will be associated with a map or scene component rather than using the `view` property.
150
150
  */
151
151
  accessor view: MapView | SceneView | undefined;
152
152
  /**
@@ -165,8 +165,8 @@ export abstract class ArcgisMeasurement extends LitElement {
165
165
  */
166
166
  get state(): MeasurementState;
167
167
  /**
168
- * The view associated with the component.
169
- * > **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-measurement component will be associated with a map or scene component rather than using the `view` property.
168
+ * The view associated with the component.
169
+ * > **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-measurement component will be associated with a map or scene component rather than using the `view` property.
170
170
  */
171
171
  accessor view: MapViewOrSceneView | null | undefined;
172
172
  /** Removes all measurement widgets and associated graphics. */
@@ -76,8 +76,8 @@ export abstract class ArcgisMultiFeatureForm extends LitElement {
76
76
  /** @default false */
77
77
  get valid(): boolean;
78
78
  /**
79
- * The view associated with the component.
80
- * > **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-multi-feature-form component will be associated with a map or scene component rather than using the `view` property.
79
+ * The view associated with the component.
80
+ * > **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-multi-feature-form component will be associated with a map or scene component rather than using the `view` property.
81
81
  */
82
82
  accessor view: MapView | SceneView | undefined;
83
83
  /** Permanently destroy the component. */
@@ -84,8 +84,8 @@ export abstract class ArcgisNavigationToggle extends LitElement {
84
84
  /** The current state of the component. */
85
85
  get state(): NavigationToggleState;
86
86
  /**
87
- * The view associated with the component.
88
- * > **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-navigation-toggle component will be associated with a map or scene component rather than using the `view` property.
87
+ * The view associated with the component.
88
+ * > **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-navigation-toggle component will be associated with a map or scene component rather than using the `view` property.
89
89
  */
90
90
  accessor view: SceneView | undefined;
91
91
  /**
@@ -193,8 +193,8 @@ export abstract class ArcgisOrientedImageryViewer extends LitElement {
193
193
  */
194
194
  get referencePoint(): Point | null;
195
195
  /**
196
- * The view associated with the component.
197
- * > **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-oriented-imagery-viewer component will be associated with a map or scene component rather than using the `view` property.
196
+ * The view associated with the component.
197
+ * > **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-oriented-imagery-viewer component will be associated with a map or scene component rather than using the `view` property.
198
198
  *
199
199
  * @since 4.30
200
200
  */
@@ -1,26 +1,25 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import { c as p } from "../../chunks/runtime.js";
3
- import { css as g, html as _ } from "lit";
4
- import { LitElement as y } from "@arcgis/lumina";
5
- import { t as m } from "../../chunks/async-utils.js";
6
- import { property as c, subclass as f } from "@arcgis/core/core/accessorSupport/decorators.js";
7
- import * as u from "@arcgis/toolkit/log";
2
+ import { c as g } from "../../chunks/runtime.js";
3
+ import { css as p, html as _ } from "lit";
4
+ import { LitElement as f } from "@arcgis/lumina";
5
+ import { t as d } from "../../chunks/async-utils.js";
6
+ import { property as c, subclass as u } from "@arcgis/core/core/accessorSupport/decorators.js";
7
+ import * as y from "@arcgis/toolkit/log";
8
8
  import w from "@arcgis/core/core/Accessor.js";
9
9
  import "@arcgis/core/views/MapView.js";
10
- import v from "@arcgis/core/geometry/SpatialReference.js";
11
- import { watch as d } from "@arcgis/core/core/reactiveUtils.js";
12
- import { rotateDimensions as L, registerPanConstraint as C } from "@arcgis/core/applications/Components/OrientedImageryViewer/ImageViewer/utils.js";
13
- import R from "@arcgis/core/layers/support/TileInfo.js";
14
- import { u as M } from "../../chunks/useT9n.js";
10
+ import C from "@arcgis/core/geometry/SpatialReference.js";
11
+ import { watch as m } from "@arcgis/core/core/reactiveUtils.js";
12
+ import { rotateDimensions as R, registerPanConstraint as v } from "@arcgis/core/applications/Components/OrientedImageryViewer/ImageViewer/utils.js";
13
+ import M from "@arcgis/core/layers/support/TileInfo.js";
14
+ import { u as P } from "../../chunks/useT9n.js";
15
15
  import "@arcgis/core/Graphic.js";
16
- import G from "@arcgis/core/layers/GraphicsLayer.js";
17
- import { GenericController as b } from "@arcgis/lumina/controllers";
18
- import { createRef as P, ref as I } from "lit/directives/ref.js";
19
- const x = g`:host{height:100%;--arcgis-view-color-focus: none}`;
20
- var O = Object.defineProperty, z = Object.getOwnPropertyDescriptor, h = (r, e, i, t) => {
21
- for (var a = t > 1 ? void 0 : t ? z(e, i) : e, s = r.length - 1, o; s >= 0; s--)
22
- (o = r[s]) && (a = (t ? o(e, i, a) : o(a)) || a);
23
- return t && a && O(e, i, a), a;
16
+ import { G as b } from "../../chunks/graphicsLayerController.js";
17
+ import { createRef as I, ref as L } from "lit/directives/ref.js";
18
+ const G = p`:host{height:100%;--arcgis-view-color-focus: none}`;
19
+ var x = Object.defineProperty, z = Object.getOwnPropertyDescriptor, h = (t, e, i, r) => {
20
+ for (var a = r > 1 ? void 0 : r ? z(e, i) : e, s = t.length - 1, o; s >= 0; s--)
21
+ (o = t[s]) && (a = (r ? o(e, i, a) : o(a)) || a);
22
+ return r && a && x(e, i, a), a;
24
23
  };
25
24
  let n = class extends w {
26
25
  //--------------------------------------------------------------------------
@@ -28,11 +27,11 @@ let n = class extends w {
28
27
  // Lifecycle
29
28
  //
30
29
  //--------------------------------------------------------------------------
31
- constructor(r) {
32
- super(r), this.autoLoad = !1;
30
+ constructor(t) {
31
+ super(t), this.autoLoad = !1;
33
32
  }
34
- static isNonPanoramicMedia(r) {
35
- return !!r && typeof r == "object" && "declaredClass" in r && typeof r.declaredClass == "string" && r.declaredClass === "components.oriented-imagery-viewer.support.NonPanoramicMedia";
33
+ static isNonPanoramicMedia(t) {
34
+ return !!t && typeof t == "object" && "declaredClass" in t && typeof t.declaredClass == "string" && t.declaredClass === "components.oriented-imagery-viewer.support.NonPanoramicMedia";
36
35
  }
37
36
  destroy() {
38
37
  this._cache?.destroy(), this._cache = void 0;
@@ -43,46 +42,46 @@ let n = class extends w {
43
42
  get size() {
44
43
  if (!this._cache || this._cache.destroyed || this._cache.loadError || !this._cache.serviceRasterInfo)
45
44
  return;
46
- const { serviceRasterInfo: r } = this._cache;
47
- return [r.width, r.height];
45
+ const { serviceRasterInfo: t } = this._cache;
46
+ return [t.width, t.height];
48
47
  }
49
48
  //---------------------------------------------------------------------------
50
49
  //
51
50
  // Public Methods
52
51
  //
53
52
  //---------------------------------------------------------------------------
54
- async load(r) {
53
+ async load(t) {
55
54
  if (this._cache && !this._cache.destroyed)
56
- return await this._cache.load(r), { layer: this._cache, size: this.size };
55
+ return await this._cache.load(t), { layer: this._cache, size: this.size };
57
56
  const { url: e, customParameters: i } = this;
58
- let t = this.datasetFormat;
57
+ let r = this.datasetFormat;
59
58
  if (!e)
60
59
  throw new Error("URL is required to load NonPanoramicMedia.");
61
- if (!t) {
60
+ if (!r) {
62
61
  const o = await import("../../chunks/urlUtils.js");
63
- if (m(r), t = o.guessExtensionFromURI(e), !t) {
62
+ if (d(t), r = o.guessExtensionFromURI(e), !r) {
64
63
  try {
65
- t = await o.getDatasetFormat(e);
64
+ r = await o.getDatasetFormat(e);
66
65
  } catch {
67
- u.log("warn", this, "Failed to determine dataset format from URL or response headers."), t = "UNKNOWN FORMAT";
66
+ y.log("warn", this, "Failed to determine dataset format from URL or response headers."), r = "UNKNOWN FORMAT";
68
67
  }
69
- m(r);
68
+ d(t);
70
69
  }
71
70
  }
72
- this.datasetFormat = t;
71
+ this.datasetFormat = r;
73
72
  const a = (await import("@arcgis/core/layers/ImageryTileLayer.js")).default;
74
- m(r);
73
+ d(t);
75
74
  const s = new a({
76
75
  url: e,
77
76
  // @ts-ignore - datasetFormat is not part of the official ImageryTileLayer properties, but is used in the custom ioConfig for loading the image and is necessary to pass along the format information.
78
77
  ioConfig: {
79
78
  skipExtensions: ["aux.xml", "jgw"],
80
79
  skipMapInfo: !0,
81
- datasetFormat: t
80
+ datasetFormat: r
82
81
  },
83
82
  customParameters: i ?? void 0
84
83
  });
85
- return await s.load(r), m(r), this._cache = s, { layer: this._cache, size: this.size };
84
+ return await s.load(t), d(t), this._cache = s, { layer: this._cache, size: this.size };
86
85
  }
87
86
  };
88
87
  h([
@@ -107,103 +106,36 @@ h([
107
106
  c()
108
107
  ], n.prototype, "size", 1);
109
108
  n = h([
110
- f("components.oriented-imagery-viewer.support.NonPanoramicMedia")
109
+ u("components.oriented-imagery-viewer.support.NonPanoramicMedia")
111
110
  ], n);
112
- function A(r, e, i, t, a) {
113
- const { width: s, height: o } = L(r, e, a);
114
- return Math.max(s / i, o / t);
111
+ function O(t, e, i, r, a) {
112
+ const { width: s, height: o } = R(t, e, a);
113
+ return Math.max(s / i, o / r);
115
114
  }
116
- const F = 96, E = 39.37, l = E * F;
117
- function N(r) {
118
- const e = l * 0.25, i = l * r, t = [];
115
+ const F = 96, A = 39.37, l = A * F;
116
+ function E(t) {
117
+ const e = l * 0.25, i = l * t, r = [];
119
118
  let a = i;
120
119
  for (; a > e; )
121
- t.push(a), a *= 0.5;
122
- t.push(e);
123
- const { lods: s } = R.create({
124
- scales: t
120
+ r.push(a), a *= 0.5;
121
+ r.push(e);
122
+ const { lods: s } = M.create({
123
+ scales: r
125
124
  });
126
125
  return {
127
126
  minScale: i,
128
127
  lods: s
129
128
  };
130
129
  }
131
- class H extends b {
132
- get graphics() {
133
- return this._graphicsLayer?.graphics;
134
- }
135
- _ensureGraphicsLayer() {
136
- (!this._graphicsLayer || this._graphicsLayer.destroyed) && (this._graphicsLayer = new G({
137
- title: "Overlays",
138
- listMode: "hide",
139
- visible: !0,
140
- blendMode: "source-atop"
141
- }));
142
- }
143
- hostLoaded() {
144
- this._ensureGraphicsLayer(), this.component.manager.onLifecycle(() => [
145
- d(
146
- () => this.component?.map,
147
- (e, i) => {
148
- i?.layers.remove(this._graphicsLayer), e && e?.layers.add(this._graphicsLayer);
149
- },
150
- { initial: !0, sync: !0 }
151
- ),
152
- d(
153
- () => this.component?.map?.allLayers.length,
154
- (e) => {
155
- e && this.component?.map?.layers.reorder(this._graphicsLayer, e - 1);
156
- },
157
- { initial: !0, sync: !0 }
158
- )
159
- ]);
160
- }
161
- /**
162
- * Adds a graphic to the graphics layer.
163
- */
164
- addGraphic(e) {
165
- this._graphicsLayer.add(e);
166
- }
167
- /**
168
- * Adds graphics to the graphics layer.
169
- */
170
- addGraphics(e) {
171
- this._graphicsLayer.addMany(e);
172
- }
173
- /**
174
- * Removes a graphic from the graphics layer.
175
- */
176
- removeGraphic(e) {
177
- this._graphicsLayer?.destroyed || this._graphicsLayer.remove(e);
178
- }
179
- /**
180
- * Removes graphics from the graphics layer.
181
- */
182
- removeGraphics(e) {
183
- this._graphicsLayer?.destroyed || this._graphicsLayer.removeMany(e);
184
- }
185
- /**
186
- * Removes all graphics from the graphics layer.
187
- */
188
- clearGraphics() {
189
- this._graphicsLayer?.destroyed || this._graphicsLayer.removeAll();
190
- }
191
- /**
192
- * Destroys the graphics layer.
193
- */
194
- destroy() {
195
- this._graphicsLayer?.destroy();
196
- }
197
- }
198
- class S extends y {
130
+ class N extends f {
199
131
  constructor() {
200
- super(...arguments), this._messages = M(), this._graphicsController = new H(this), this._imageChanged = !1, this._internalMap = P(), this._loading = !1, this.hideHeader = !1, this.hideLoader = !1, this.hideZoomControls = !1, this.rotation = 0;
132
+ super(...arguments), this._messages = P(), this._graphicsController = new b(this), this._imageChanged = !1, this._internalMap = I(), this._loading = !1, this.hideHeader = !1, this.hideLoader = !1, this.hideZoomControls = !1, this.rotation = 0;
201
133
  }
202
134
  static {
203
135
  this.properties = { _imageChanged: 16, _internalMap: 16, _image: 16, _loading: 16, _media: 16, hideHeader: 5, hideLoader: 5, hideZoomControls: 5, messageOverrides: 0, media: 0, rotation: 9 };
204
136
  }
205
137
  static {
206
- this.styles = [x];
138
+ this.styles = [G];
207
139
  }
208
140
  get imageRenderer() {
209
141
  return this._internalMap?.value?.view;
@@ -244,7 +176,7 @@ class S extends y {
244
176
  this._createResizeConstraint(),
245
177
  this._createRotationHandler(),
246
178
  this._createPanConstraint(),
247
- d(() => this._media, (e) => {
179
+ m(() => this._media, (e) => {
248
180
  this._mediaAbortController?.abort(), e && (this._mediaAbortController = new AbortController(), this._mediaPromise = this._loadMediaInternal(e, this._mediaAbortController));
249
181
  }, {
250
182
  initial: !0,
@@ -253,28 +185,28 @@ class S extends y {
253
185
  ]);
254
186
  }
255
187
  _createPanConstraint() {
256
- return d(() => ({ image: this._image, imageRenderer: this.imageRenderer }), ({ image: e, imageRenderer: i }) => {
257
- !e || !i?.ready || C(i, e);
188
+ return m(() => ({ image: this._image, imageRenderer: this.imageRenderer }), ({ image: e, imageRenderer: i }) => {
189
+ !e || !i?.ready || v(i, e);
258
190
  }, { sync: !0, initial: !0 });
259
191
  }
260
192
  _createResizeConstraint() {
261
- return d(() => {
193
+ return m(() => {
262
194
  if (!this.imageRenderer?.ready || !this._image)
263
195
  return;
264
- const { width: e, height: i } = this._image.serviceRasterInfo, { width: t, height: a, rotation: s } = this.imageRenderer;
265
- return A(e, i, t, a, s);
196
+ const { width: e, height: i } = this._image.serviceRasterInfo, { width: r, height: a, rotation: s } = this.imageRenderer;
197
+ return O(e, i, r, a, s);
266
198
  }, (e) => {
267
199
  if (!e || !this.imageRenderer)
268
200
  return;
269
- const { constraints: i, scale: t } = this.imageRenderer, a = i.minScale, { lods: s, minScale: o } = N(e);
201
+ const { constraints: i, scale: r } = this.imageRenderer, a = i.minScale, { lods: s, minScale: o } = E(e);
270
202
  i.set({
271
203
  minScale: o,
272
204
  lods: s
273
- }), this.imageRenderer.scale = this._imageChanged || Math.abs(t - a) <= 1e-6 ? o : t, this._imageChanged = !1;
205
+ }), this.imageRenderer.scale = this._imageChanged || Math.abs(r - a) <= 1e-6 ? o : r, this._imageChanged = !1;
274
206
  }, { sync: !0, initial: !0 });
275
207
  }
276
208
  _createRotationHandler() {
277
- return d(() => this.rotation, (e) => {
209
+ return m(() => this.rotation, (e) => {
278
210
  this.imageRenderer && (this.imageRenderer.constraints.rotationEnabled = !0, this.imageRenderer.rotation = e, this.imageRenderer.constraints.rotationEnabled = !1);
279
211
  }, { sync: !0, initial: !0 });
280
212
  }
@@ -284,16 +216,16 @@ class S extends y {
284
216
  async _loadMediaInternal(e, i) {
285
217
  if (this._loading = !0, this._clearImage(), !e)
286
218
  throw new Error("No media provided");
287
- const { layer: t } = await e.load(i).finally(() => {
219
+ const { layer: r } = await e.load(i).finally(() => {
288
220
  this._loading = !1;
289
221
  });
290
- m(i), this._imageChanged = !0, this._image = t, this.imageRenderer?.map?.layers.add(this._image);
222
+ d(i), this._imageChanged = !0, this._image = r, this.imageRenderer?.map?.layers.add(this._image);
291
223
  }
292
224
  render() {
293
- return _`<calcite-panel .loading=${this.hideLoader ? void 0 : this._loading} .heading=${this.hideHeader ? void 0 : this._messages.title}><arcgis-map hide-attribution .spatialReference=${v.WebMercator} ${I(this._internalMap)}><arcgis-zoom .hidden=${this.hideZoomControls} .messageOverrides=${this.messageOverrides} slot=top-left></arcgis-zoom></arcgis-map></calcite-panel>`;
225
+ return _`<calcite-panel .loading=${this.hideLoader ? void 0 : this._loading} .heading=${this.hideHeader ? void 0 : this._messages.title}><arcgis-map hide-attribution .spatialReference=${C.WebMercator} ${L(this._internalMap)}><arcgis-zoom .hidden=${this.hideZoomControls} .messageOverrides=${this.messageOverrides} slot=top-left></arcgis-zoom></arcgis-map></calcite-panel>`;
294
226
  }
295
227
  }
296
- p("arcgis-oriented-imagery-viewer-image-viewer", S);
228
+ g("arcgis-oriented-imagery-viewer-image-viewer", N);
297
229
  export {
298
- S as ArcgisOrientedImageryViewerImageViewer
230
+ N as ArcgisOrientedImageryViewerImageViewer
299
231
  };