@arcgis/map-components 6.0.0-next.21 → 6.0.0-next.23

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 (134) hide show
  1. package/dist/cdn/{G56N6RF4.js → 2S6RQ6Q4.js} +1 -1
  2. package/dist/cdn/{WUWF6ZDM.js → 2Z36ICJZ.js} +1 -1
  3. package/dist/cdn/{2NM6UWC4.js → 47CFYOUT.js} +1 -1
  4. package/dist/cdn/4N4XDCDQ.js +2 -0
  5. package/dist/cdn/{7ZWBGSCM.js → 4NG7CALI.js} +1 -1
  6. package/dist/cdn/{UFK7DHVC.js → 4WZ7Y57Q.js} +1 -1
  7. package/dist/cdn/{NTHSQXKG.js → 5DEJDR4W.js} +1 -1
  8. package/dist/cdn/{LUW2PXWZ.js → 5PPYHS6V.js} +1 -1
  9. package/dist/cdn/{M5OK7RKI.js → 66GRDX36.js} +1 -1
  10. package/dist/cdn/{SAQ5BNZJ.js → 6CKQPMJB.js} +1 -1
  11. package/dist/cdn/6GGKA7MT.js +2 -0
  12. package/dist/cdn/{XPBFBRSY.js → 6K4IASNK.js} +1 -1
  13. package/dist/cdn/{7LO6ACC7.js → 6VV5SX76.js} +1 -1
  14. package/dist/cdn/{Y3E2FJPQ.js → 74WM2EIB.js} +1 -1
  15. package/dist/cdn/{3GN3DAON.js → A7YFCO3R.js} +1 -1
  16. package/dist/cdn/{FDESUDJ5.js → AIF4MCBB.js} +1 -1
  17. package/dist/cdn/{3SXQLU4S.js → APFZ2FVO.js} +1 -1
  18. package/dist/cdn/{VLHURRRU.js → BM3FQ4OG.js} +1 -1
  19. package/dist/cdn/{LWVYNWD5.js → CGE6E3O3.js} +1 -1
  20. package/dist/cdn/{JUYPQUPQ.js → E5CGORXN.js} +1 -1
  21. package/dist/cdn/EJVFK7JX.js +2 -0
  22. package/dist/cdn/{SDLZ4BNM.js → EVWWTIEQ.js} +1 -1
  23. package/dist/cdn/{BUH3AQ7E.js → FTLNYN3G.js} +1 -1
  24. package/dist/cdn/{BJ35LPCU.js → G7BWEBJH.js} +1 -1
  25. package/dist/cdn/GIQT67VT.js +2 -0
  26. package/dist/cdn/{AOGDXJ2J.js → H66E4VOY.js} +1 -1
  27. package/dist/cdn/{BDZHLGVT.js → HL6WL2YA.js} +1 -1
  28. package/dist/cdn/{GQQTIX2X.js → HQXC5XLE.js} +1 -1
  29. package/dist/cdn/HTONXZBP.js +2 -0
  30. package/dist/cdn/{F2DTKJTK.js → HUWIY53T.js} +1 -1
  31. package/dist/cdn/{UE6EBLH3.js → IKVGZFZ6.js} +1 -1
  32. package/dist/cdn/{NKFAPBY3.js → JRO4IBJP.js} +1 -1
  33. package/dist/cdn/KXDLX4RE.js +2 -0
  34. package/dist/cdn/{4I6F64B2.js → LKKCTKMQ.js} +1 -1
  35. package/dist/cdn/MW27GSDX.js +2 -0
  36. package/dist/cdn/{LXJURAXP.js → NLG5U5ZN.js} +1 -1
  37. package/dist/cdn/{4LNXCEM5.js → NORQIOSX.js} +1 -1
  38. package/dist/cdn/{BLYXYNGB.js → PPGKQRNY.js} +1 -1
  39. package/dist/cdn/{DS6EUOYE.js → PW3QCZXY.js} +1 -1
  40. package/dist/cdn/{7EIN5VCY.js → Q2GYNZYQ.js} +1 -1
  41. package/dist/cdn/{SJGQALDG.js → Q2ZQOGM2.js} +1 -1
  42. package/dist/cdn/{NHMHVWNB.js → QKNHYZYS.js} +1 -1
  43. package/dist/cdn/{ZC5YVHZ3.js → QQLN6RWA.js} +1 -1
  44. package/dist/cdn/{BJJZGYBG.js → R6ARQKAY.js} +1 -1
  45. package/dist/cdn/RFO3M46K.js +2 -0
  46. package/dist/cdn/{YBXCTOS7.js → RQPOCDJS.js} +1 -1
  47. package/dist/cdn/SLWZHNVT.js +2 -0
  48. package/dist/cdn/TKIWKCDA.js +2 -0
  49. package/dist/cdn/{WTAAQHO3.js → TM4FFRX5.js} +1 -1
  50. package/dist/cdn/{SKAZPI3A.js → TTERKXN5.js} +1 -1
  51. package/dist/cdn/{LKGURYDH.js → TTWQ7RNF.js} +1 -1
  52. package/dist/cdn/{VHZM25YV.js → UB6BQW3G.js} +1 -1
  53. package/dist/cdn/{DGSTI5DI.js → UJURQACP.js} +1 -1
  54. package/dist/cdn/V3J5GQHD.js +2 -0
  55. package/dist/cdn/{UHDJ2SI5.js → VW35MSDL.js} +1 -1
  56. package/dist/cdn/{3B4VHD67.js → XN3MG6YU.js} +1 -1
  57. package/dist/cdn/XWBR6FXI.js +2 -0
  58. package/dist/cdn/{B2TICPHR.js → Y5ZZCA3R.js} +1 -1
  59. package/dist/cdn/{4IG6WUCI.js → YTZZRJ7Z.js} +1 -1
  60. package/dist/cdn/{OQ6SYZBT.js → YXIJXXTK.js} +1 -1
  61. package/dist/cdn/{L6FLCEH6.js → Z3674FMT.js} +1 -1
  62. package/dist/cdn/ZF7NUFAT.js +2 -0
  63. package/dist/cdn/assets/video-player/t9n/messages.en.json +1 -1
  64. package/dist/cdn/index.js +1 -1
  65. package/dist/cdn/main.css +1 -1
  66. package/dist/chunks/useArcgisViewReadyError.js +155 -151
  67. package/dist/chunks/useViewModel.js +7 -7
  68. package/dist/components/arcgis-basemap-layer-list-next/customElement.js +88 -86
  69. package/dist/components/arcgis-daylight/customElement.js +2 -1
  70. package/dist/components/arcgis-feature-attachments/customElement.js +18 -18
  71. package/dist/components/arcgis-feature-next/customElement.d.ts +1 -1
  72. package/dist/components/arcgis-features-next/customElement.js +14 -15
  73. package/dist/components/arcgis-layer-list-item-indicator/customElement.js +2 -2
  74. package/dist/components/arcgis-layer-list-item-panel/customElement.js +9 -9
  75. package/dist/components/arcgis-layer-list-next/customElement.js +97 -95
  76. package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +5 -5
  77. package/dist/components/arcgis-search/customElement.d.ts +12 -0
  78. package/dist/components/arcgis-search/customElement.js +3 -0
  79. package/dist/components/arcgis-sketch/customElement.d.ts +308 -30
  80. package/dist/components/arcgis-sketch/customElement.js +48 -21
  81. package/dist/components/arcgis-swipe/customElement.d.ts +0 -22
  82. package/dist/components/arcgis-swipe/customElement.js +45 -63
  83. package/dist/components/arcgis-table-list-next/customElement.js +55 -54
  84. package/dist/components/arcgis-time-bar/customElement.d.ts +484 -409
  85. package/dist/components/arcgis-time-bar/types.d.ts +36 -15
  86. package/dist/components/arcgis-time-bar-slider/customElement.d.ts +179 -162
  87. package/dist/components/arcgis-time-slider/customElement.d.ts +2 -2
  88. package/dist/components/arcgis-track/customElement.d.ts +12 -3
  89. package/dist/components/arcgis-utility-network-trace-analysis/customElement.d.ts +42 -2
  90. package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +20 -17
  91. package/dist/components/arcgis-utility-network-trace-results/customElement.d.ts +2 -70
  92. package/dist/components/arcgis-utility-network-trace-results-pane/customElement.d.ts +161 -2
  93. package/dist/components/arcgis-video-player/customElement.d.ts +18 -0
  94. package/dist/components/arcgis-video-player/customElement.js +72 -72
  95. package/dist/components/arcgis-video-player/index.js +4 -4
  96. package/dist/components/arcgis-video-player-action-bar/customElement.js +1 -1
  97. package/dist/components/arcgis-video-player-previews/customElement.js +159 -0
  98. package/dist/components/arcgis-video-player-settings/customElement.js +17 -16
  99. package/dist/components/arcgis-video-player-slider/customElement.js +23 -12
  100. package/dist/components/arcgis-video-player-slider/index.js +1 -0
  101. package/dist/docs/api.json +1 -1
  102. package/dist/docs/docs.json +1 -1
  103. package/dist/docs/vscode.html-custom-data.json +1 -1
  104. package/dist/docs/web-types.json +1 -1
  105. package/dist/index.d.ts +0 -20
  106. package/dist/loader.js +4 -5
  107. package/dist/types/lumina.d.ts +3 -24
  108. package/dist/types/preact.d.ts +3 -26
  109. package/dist/types/react.d.ts +3 -28
  110. package/dist/types/stencil.d.ts +3 -24
  111. package/package.json +6 -6
  112. package/dist/cdn/COSETVX4.js +0 -2
  113. package/dist/cdn/ED2T4ASN.js +0 -2
  114. package/dist/cdn/F74YQZ2X.js +0 -2
  115. package/dist/cdn/KXD4VEKE.js +0 -2
  116. package/dist/cdn/MBLS5ES4.js +0 -2
  117. package/dist/cdn/OJJSIN3V.js +0 -2
  118. package/dist/cdn/P3565WG3.js +0 -2
  119. package/dist/cdn/PHVKEWZ7.js +0 -2
  120. package/dist/cdn/QAOT2TJ6.js +0 -2
  121. package/dist/cdn/QKGJVGXJ.js +0 -2
  122. package/dist/cdn/QVJ2FUNW.js +0 -2
  123. package/dist/cdn/UI4IEVSV.js +0 -2
  124. package/dist/cdn/UPCWZNTA.js +0 -2
  125. package/dist/cdn/VEV3AAVP.js +0 -2
  126. package/dist/components/arcgis-scale-range-slider/customElement.d.ts +0 -158
  127. package/dist/components/arcgis-scale-range-slider/customElement.js +0 -26
  128. package/dist/components/arcgis-scale-range-slider/index.d.ts +0 -1
  129. package/dist/components/arcgis-time-bar/TimeBarViewModel.d.ts +0 -73
  130. package/dist/components/arcgis-value-picker-legacy/customElement.d.ts +0 -642
  131. package/dist/components/arcgis-value-picker-legacy/customElement.js +0 -39
  132. package/dist/components/arcgis-value-picker-legacy/index.d.ts +0 -1
  133. package/dist/components/arcgis-value-picker-legacy/index.js +0 -1
  134. /package/dist/components/{arcgis-scale-range-slider → arcgis-video-player-previews}/index.js +0 -0
@@ -49,27 +49,27 @@ class h extends p {
49
49
  await this.manager.destroy();
50
50
  }
51
51
  updated() {
52
- this._loadLegend();
52
+ this.#e();
53
53
  }
54
- async _loadLegend() {
55
- this._canCreateLegend && (this._legendElement || (this._legendElement = this._createLegendElement()));
54
+ async #e() {
55
+ this._canCreateLegend && (this._legendElement || (this._legendElement = this.#i()));
56
56
  }
57
- _createLegendElement() {
57
+ #i() {
58
58
  return g(l`<arcgis-legend .view=${this.view} @arcgisReady=${(e) => e.stopPropagation()} .layerInfos=${this._legendLayerInfo ? [this._legendLayerInfo] : []}></arcgis-legend>`);
59
59
  }
60
60
  render() {
61
- return this._renderContents();
61
+ return this.#r();
62
62
  }
63
- _renderContent(e) {
63
+ #t(e) {
64
64
  const { disabled: t } = this;
65
- return !e || t || !this.item?.panel?.open ? null : e === "legend" ? (this._legendElement || this._loadLegend(), this._legendElement) : e instanceof HTMLElement || typeof e == "string" ? e : null;
65
+ return !e || t || !this.item?.panel?.open ? null : e === "legend" ? (this._legendElement || this.#e(), this._legendElement) : e instanceof HTMLElement || typeof e == "string" ? e : null;
66
66
  }
67
- _renderContents() {
67
+ #r() {
68
68
  const { open: e } = this.item?.panel ?? {};
69
69
  if (!e)
70
70
  return null;
71
71
  const t = a(this.item) ? m(this.item.panel.content) : this.item?.panel?.content;
72
- return Array.isArray(t) ? t.map((i) => this._renderContent(i)) : this._renderContent(t);
72
+ return Array.isArray(t) ? t.map((i) => this.#t(i)) : this.#t(t);
73
73
  }
74
74
  }
75
75
  n("arcgis-layer-list-item-panel", h);
@@ -1,17 +1,17 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
- import { c as x } from "../../chunks/runtime.js";
2
+ import { c as N } from "../../chunks/runtime.js";
3
3
  import { html as h } from "lit";
4
- import { keyed as v } from "lit/directives/keyed.js";
5
- import { repeat as B } from "lit/directives/repeat.js";
6
- import k from "@arcgis/core/layerList/LayerListModel.js";
4
+ import { keyed as w } from "lit/directives/keyed.js";
5
+ import { repeat as k } from "lit/directives/repeat.js";
6
+ import B from "@arcgis/core/layerList/LayerListModel.js";
7
7
  import { classes as S } from "@arcgis/toolkit/dom";
8
8
  import { generateGuid as U } from "@arcgis/toolkit/string";
9
- import { createRef as w, ref as b } from "lit/directives/ref.js";
9
+ import { createRef as b, ref as _ } from "lit/directives/ref.js";
10
10
  import { u as G } from "../../chunks/useT9n.js";
11
11
  import { m as H } from "../../chunks/useViewModel.js";
12
12
  import { g as $ } from "../../chunks/globalCss.js";
13
- import { c as f } from "../../chunks/css.js";
14
- import { g as m, a as T, m as V, b as j, r as F, s as q, c as z, d as J, e as K } from "../../chunks/layer-list-utils.js";
13
+ import { c as y } from "../../chunks/css.js";
14
+ import { g as m, a as F, m as V, b as j, r as T, s as q, c as z, d as J, e as K } from "../../chunks/layer-list-utils.js";
15
15
  import p from "@arcgis/core/core/Collection.js";
16
16
  import { on as C, watch as A } from "@arcgis/core/core/reactiveUtils.js";
17
17
  import { LitElement as Q, createEvent as I, renderElement as D, safeClassMap as E, nothing as O } from "@arcgis/lumina";
@@ -22,19 +22,19 @@ import { ArcgisLayerListItem as Z } from "./layer-list-item/customElement.js";
22
22
  import { s as ee, a as te } from "../../chunks/layer-list-next.js";
23
23
  import { i as se, h as ie, r as ae } from "../../chunks/utils.js";
24
24
  import "../arcgis-layer-list-item-indicator/customElement.js";
25
- const P = "nested", re = H(k);
26
- class oe extends Q {
25
+ const P = "nested", le = H(B);
26
+ class re extends Q {
27
27
  constructor() {
28
- super(...arguments), this._lastDragDetail = null, this._rootListRef = w(), this._layerFlowItemRef = w(), this._panelFlowItemRef = w(), this._selectedDragItemLayerUid = null, this._rootGroupUid = `operational-${U()}`, this._openedLayersController = null, this.messages = G(), this._canMove = ({ dragEl: e, fromEl: t, toEl: s }, a) => {
29
- const i = a === "pull" ? this.listItemCanGiveFunction : this.listItemCanReceiveFunction, r = m(e, this.operationalItems);
30
- if (!r?.sortable)
28
+ super(...arguments), this.#s = null, this._rootListRef = b(), this._layerFlowItemRef = b(), this._panelFlowItemRef = b(), this._selectedDragItemLayerUid = null, this._rootGroupUid = `operational-${U()}`, this.#i = null, this.messages = G(), this._canMove = ({ dragEl: e, fromEl: t, toEl: s }, a) => {
29
+ const i = a === "pull" ? this.listItemCanGiveFunction : this.listItemCanReceiveFunction, l = m(e, this.operationalItems);
30
+ if (!l?.sortable)
31
31
  return !1;
32
- const o = this._resolveListContainer(t), l = this._resolveListContainer(s), n = this._getContainerItem(o), d = T(o), g = this._getContainerItem(l), u = T(l), L = !!d && !!u && d === u, y = {
33
- selected: r,
32
+ const r = this.#e(t), o = this.#e(s), n = this.#t(r), d = F(r), g = this.#t(o), u = F(o), L = !!d && !!u && d === u, f = {
33
+ selected: l,
34
34
  from: n,
35
35
  to: g
36
- }, _ = o?.group, c = l?.group, R = n?.layer?.type ?? "", N = g?.layer?.type ?? "", M = /* @__PURE__ */ new Set(["map-image", "catalog", "knowledge-graph"]);
37
- return _ && c && typeof i == "function" ? i(y) : L && !M.has(R) && !M.has(N) && r?.layer?.type !== "sublayer";
36
+ }, v = r?.group, c = o?.group, R = n?.layer?.type ?? "", x = g?.layer?.type ?? "", M = /* @__PURE__ */ new Set(["map-image", "catalog", "knowledge-graph"]);
37
+ return v && c && typeof i == "function" ? i(f) : L && !M.has(R) && !M.has(x) && l?.layer?.type !== "sublayer";
38
38
  }, this._onCatalogOpen = (e) => {
39
39
  this.openedLayers.push(e.layer?.parent);
40
40
  }, this._onTablesOpen = (e) => {
@@ -46,9 +46,9 @@ class oe extends Q {
46
46
  }, this._setActiveItem = (e) => {
47
47
  if (this.visibilityAppearance !== "default")
48
48
  return;
49
- const t = Array.from(e.composedPath()).find((a) => a.classList?.contains(f.item)), s = m(t, this.operationalItems);
49
+ const t = Array.from(e.composedPath()).find((a) => a.classList?.contains(y.item)), s = m(t, this.operationalItems);
50
50
  this._activeItem = s;
51
- }, this.viewModel = re(this), this.arcgisClose = Y(this), this._activeItem = null, this._onTooltipReferenceChange = (e, t) => {
51
+ }, this.viewModel = le(this), this.arcgisClose = Y(this), this._activeItem = null, this._onTooltipReferenceChange = (e, t) => {
52
52
  t ? this._tooltipReferenceMap.set(e, t) : this._tooltipReferenceMap.delete(e);
53
53
  }, this._onSelectedDragItemLayerUidChange = (e) => {
54
54
  this._selectedDragItemLayerUid = e;
@@ -62,6 +62,8 @@ class oe extends Q {
62
62
  static {
63
63
  this.styles = [ee, te];
64
64
  }
65
+ #s;
66
+ #i;
65
67
  get _totalItems() {
66
68
  return this.viewModel.operationalItems.flatten((t) => t.children.filter((s) => s.layer?.type !== "catalog-dynamic-group")).length;
67
69
  }
@@ -79,7 +81,7 @@ class oe extends Q {
79
81
  }
80
82
  get _renderedOpenLayerFlowItems() {
81
83
  const { openedLayers: e } = this;
82
- return e.toArray().map((t, s) => this._renderLayerFlowItem(t, s === e.length - 1));
84
+ return e.toArray().map((t, s) => this.#b(t, s === e.length - 1));
83
85
  }
84
86
  get catalogLayerList() {
85
87
  return this._catalogLayerList;
@@ -88,16 +90,16 @@ class oe extends Q {
88
90
  return this._tableList;
89
91
  }
90
92
  async destroy() {
91
- await this.manager.destroy(), this._destroyOpenedLayerLists(), this._tooltipReferenceMap.clear();
93
+ await this.manager.destroy(), this.#c(), this._tooltipReferenceMap.clear();
92
94
  }
93
95
  loaded() {
94
96
  this.manager.onLifecycle(() => [
95
97
  C(() => this.openedLayers, "change", () => {
96
- this._handleOpenedLayersChange();
98
+ this.#n();
97
99
  }, { initial: !0 }),
98
- C(() => this.viewModel.operationalItems, "change", () => F(this.selectedItems), { initial: !0 }),
100
+ C(() => this.viewModel.operationalItems, "change", () => T(this.selectedItems), { initial: !0 }),
99
101
  A(() => this.operationalItems.flatten((e) => e.children).map((e) => e.uid).join(","), () => {
100
- F(this.selectedItems), this.requestUpdate();
102
+ T(this.selectedItems), this.requestUpdate();
101
103
  }, { initial: !0 }),
102
104
  C(() => this.selectedItems, "change", () => this.arcgisSelectedItemsChange.emit()),
103
105
  A(() => [this.filterPredicate, this._rootListRef.value], () => q(this._rootListRef.value, this.filterPredicate, this.operationalItems))
@@ -106,7 +108,7 @@ class oe extends Q {
106
108
  triggerAction(e, t) {
107
109
  return this.viewModel.triggerAction(e, t);
108
110
  }
109
- _resolveListContainer(e) {
111
+ #e(e) {
110
112
  if (!e)
111
113
  return null;
112
114
  if (e.matches("calcite-list"))
@@ -114,11 +116,11 @@ class oe extends Q {
114
116
  const t = e.closest("calcite-list[data-item]");
115
117
  return t || (this._rootListRef.value?.contains(e) ? this._rootListRef.value : null);
116
118
  }
117
- _getContainerItem(e) {
119
+ #t(e) {
118
120
  const t = e?.getAttribute("data-item");
119
- return t ? this._findItemByUid(t) : null;
121
+ return t ? this.#r(t) : null;
120
122
  }
121
- _findItemByUid(e) {
123
+ #r(e) {
122
124
  const t = this.operationalItems?.toArray() ?? [];
123
125
  for (; t.length; ) {
124
126
  const s = t.shift();
@@ -131,35 +133,35 @@ class oe extends Q {
131
133
  }
132
134
  return null;
133
135
  }
134
- async _createFlowList(e, t) {
136
+ async #o(e, t) {
135
137
  const { _layerListMap: s } = this, a = s.get(e);
136
138
  if (a)
137
139
  return a;
138
- const i = e.type === "catalog" ? await this._createCatalogLayerList(e) : await this._createTableList(e);
140
+ const i = e.type === "catalog" ? await this.#h(e) : await this.#m(e);
139
141
  return t.aborted || s.set(e, i), i;
140
142
  }
141
- async _handleOpenedLayersChange() {
143
+ async #n() {
142
144
  const { _layerListMap: e, openedLayers: t, openedLayerLists: s } = this;
143
- this._openedLayersController?.abort();
145
+ this.#i?.abort();
144
146
  const a = new AbortController(), { signal: i } = a;
145
- this._openedLayersController = a, e.forEach((l, n) => {
146
- t.includes(n) || (l?.destroy?.(), e.delete(n));
147
+ this.#i = a, e.forEach((o, n) => {
148
+ t.includes(n) || (o?.destroy?.(), e.delete(n));
147
149
  });
148
- const r = await Promise.all(t.map((l) => this._createFlowList(l, i)));
150
+ const l = await Promise.all(t.map((o) => this.#o(o, i)));
149
151
  if (i.aborted)
150
152
  return;
151
- s.removeAll(), s.addMany(r);
152
- const o = s.at(-1);
153
- o ? "catalogLayer" in o ? (this._catalogLayerList = o, this._tableList = void 0) : (this._catalogLayerList = void 0, this._tableList = o) : (this._catalogLayerList = void 0, this._tableList = void 0), this.arcgisOpenedLayersChange.emit();
153
+ s.removeAll(), s.addMany(l);
154
+ const r = s.at(-1);
155
+ r ? "catalogLayer" in r ? (this._catalogLayerList = r, this._tableList = void 0) : (this._catalogLayerList = void 0, this._tableList = r) : (this._catalogLayerList = void 0, this._tableList = void 0), this.arcgisOpenedLayersChange.emit();
154
156
  }
155
- _destroyOpenedLayerLists() {
157
+ #c() {
156
158
  this.openedLayerLists.destroyAll(), this.openedLayers.removeAll(), this._layerListMap.clear();
157
159
  }
158
- async _createCatalogLayerList(e) {
159
- const { headingLevel: t, catalogOptions: s, filterPlaceholder: a, listItemCreatedFunction: i, minFilterItems: r, selectionMode: o, visibilityAppearance: l } = this;
160
- return D(h`<arcgis-catalog-layer-list-next .headingLevel=${t} .filterPlaceholder=${s?.filterPlaceholder ?? a} .listItemCreatedFunction=${s?.listItemCreatedFunction ?? i} .minFilterItems=${s?.minFilterItems ?? r} .selectionMode=${s?.selectionMode ?? o} .visibilityAppearance=${s?.visibilityAppearance ?? l} .showErrors=${s?.showErrors ?? this.showErrors} .showFilter=${s?.showFilter ?? this.showFilter} .hideStatusIndicators=${s?.hideStatusIndicators ?? this.hideStatusIndicators} .showTemporaryLayerIndicators=${s?.showTemporaryLayerIndicators ?? this.showTemporaryLayerIndicators} .messageOverrides=${this.messageOverrides} @arcgisReady=${(n) => n.stopPropagation()} .catalogLayer=${e} .view=${this.view} .referenceElement=${this.referenceElement} @catalogOpen=${this._onCatalogOpen} @tablesOpen=${this._onTablesOpen}></arcgis-catalog-layer-list-next>`);
160
+ async #h(e) {
161
+ const { headingLevel: t, catalogOptions: s, filterPlaceholder: a, listItemCreatedFunction: i, minFilterItems: l, selectionMode: r, visibilityAppearance: o } = this;
162
+ return D(h`<arcgis-catalog-layer-list-next .headingLevel=${t} .filterPlaceholder=${s?.filterPlaceholder ?? a} .listItemCreatedFunction=${s?.listItemCreatedFunction ?? i} .minFilterItems=${s?.minFilterItems ?? l} .selectionMode=${s?.selectionMode ?? r} .visibilityAppearance=${s?.visibilityAppearance ?? o} .showErrors=${s?.showErrors ?? this.showErrors} .showFilter=${s?.showFilter ?? this.showFilter} .hideStatusIndicators=${s?.hideStatusIndicators ?? this.hideStatusIndicators} .showTemporaryLayerIndicators=${s?.showTemporaryLayerIndicators ?? this.showTemporaryLayerIndicators} .messageOverrides=${this.messageOverrides} @arcgisReady=${(n) => n.stopPropagation()} .catalogLayer=${e} .view=${this.view} .referenceElement=${this.referenceElement} @catalogOpen=${this._onCatalogOpen} @tablesOpen=${this._onTablesOpen}></arcgis-catalog-layer-list-next>`);
161
163
  }
162
- _getTableListParams(e) {
164
+ #d(e) {
163
165
  switch (e.type) {
164
166
  case "knowledge-graph":
165
167
  return { ...this.knowledgeGraphOptions, tables: e.tables };
@@ -177,23 +179,23 @@ class oe extends Q {
177
179
  return null;
178
180
  }
179
181
  }
180
- async _createTableList(e) {
181
- const { headingLevel: t, selectionMode: s, dragEnabled: a } = this, i = this._getTableListParams(e);
182
- return D(h`<arcgis-table-list-next .headingLevel=${i?.headingLevel ?? t} .selectionMode=${i?.selectionMode ?? s} .dragEnabled=${i?.dragEnabled ?? a} .collapsed=${i?.collapsed} .filterPlaceholder=${i?.filterPlaceholder} .filterText=${i?.filterText} .icon=${i?.icon ?? void 0} .label=${i?.label ?? void 0} .listItemCreatedFunction=${i?.listItemCreatedFunction} .messageOverrides=${this.messageOverrides} .tables=${i?.tables} .referenceElement=${this.referenceElement} @arcgisReady=${(r) => r.stopPropagation()}></arcgis-table-list-next>`);
182
+ async #m(e) {
183
+ const { headingLevel: t, selectionMode: s, dragEnabled: a } = this, i = this.#d(e);
184
+ return D(h`<arcgis-table-list-next .headingLevel=${i?.headingLevel ?? t} .selectionMode=${i?.selectionMode ?? s} .dragEnabled=${i?.dragEnabled ?? a} .collapsed=${i?.collapsed} .filterPlaceholder=${i?.filterPlaceholder} .filterText=${i?.filterText} .icon=${i?.icon ?? void 0} .label=${i?.label ?? void 0} .listItemCreatedFunction=${i?.listItemCreatedFunction} .messageOverrides=${this.messageOverrides} .tables=${i?.tables} .referenceElement=${this.referenceElement} @arcgisReady=${(l) => l.stopPropagation()}></arcgis-table-list-next>`);
183
185
  }
184
- _handlePanelFlowItemBack(e) {
186
+ #p(e) {
185
187
  e.open = !1;
186
188
  }
187
- _moveLayerFromChildList({ toEl: e, fromEl: t, dragEl: s, newIndex: a }) {
188
- const i = this._resolveListContainer(e), r = this._resolveListContainer(t), o = m(s, this.operationalItems), l = this._getContainerItem(i), n = this._getContainerItem(r);
189
- a == null || !o || (this.viewModel.moveItem(o, n, l, a), ae(
189
+ #g({ toEl: e, fromEl: t, dragEl: s, newIndex: a }) {
190
+ const i = this.#e(e), l = this.#e(t), r = m(s, this.operationalItems), o = this.#t(i), n = this.#t(l);
191
+ a == null || !r || (this.viewModel.moveItem(r, n, o, a), ae(
190
192
  this,
191
- o.uid,
193
+ r.uid,
192
194
  // Make sure we have the current node and not a stale one
193
- (d) => d !== s && this._resolveListContainer(d.parentElement) === i
195
+ (d) => d !== s && this.#e(d.parentElement) === i
194
196
  ));
195
197
  }
196
- _onCalciteListDragEnd(e) {
198
+ #u(e) {
197
199
  const { fromEl: t, toEl: s, dragEl: a, oldIndex: i } = e;
198
200
  if (t !== s) {
199
201
  a.remove();
@@ -201,27 +203,27 @@ class oe extends Q {
201
203
  }
202
204
  i == null || !t || !a || t.insertBefore(a, t.children[i]);
203
205
  }
204
- _onCalciteListOrderChange(e) {
205
- const { _lastDragDetail: t } = this, { dragEl: s, newIndex: a } = e, i = this._resolveListContainer(e.fromEl), r = this._resolveListContainer(e.toEl), o = t?.newIndex === a && t?.dragEl === s && t?.toEl === r && t?.fromEl === i;
206
- if (!(!i || !r || o)) {
207
- if (this._lastDragDetail = {
206
+ #f(e) {
207
+ const t = this.#s, { dragEl: s, newIndex: a } = e, i = this.#e(e.fromEl), l = this.#e(e.toEl), r = t?.newIndex === a && t?.dragEl === s && t?.toEl === l && t?.fromEl === i;
208
+ if (!(!i || !l || r)) {
209
+ if (this.#s = {
208
210
  ...e,
209
211
  fromEl: i,
210
- toEl: r
211
- }, this._selectedDragItemLayerUid = s.value, i === r) {
212
- const l = Array.from(i.children).filter((n) => n?.matches("calcite-list-item")).map((n) => n.value.layer?.uid ?? "");
213
- this._sortLayers(i, l);
212
+ toEl: l
213
+ }, this._selectedDragItemLayerUid = s.value, i === l) {
214
+ const o = Array.from(i.children).filter((n) => n?.matches("calcite-list-item")).map((n) => n.value.layer?.uid ?? "");
215
+ this.#y(i, o);
214
216
  return;
215
217
  }
216
- this._moveLayerFromChildList({
217
- toEl: r,
218
+ this.#g({
219
+ toEl: l,
218
220
  fromEl: i,
219
221
  dragEl: s,
220
222
  newIndex: a
221
223
  });
222
224
  }
223
225
  }
224
- _sortLayers(e, t) {
226
+ #y(e, t) {
225
227
  if (e)
226
228
  if (e === this._rootListRef.value)
227
229
  z(this.el.view?.map?.layers, t);
@@ -232,11 +234,11 @@ class oe extends Q {
232
234
  J(s, t);
233
235
  }
234
236
  }
235
- _handleCalciteListChange(e) {
237
+ #I(e) {
236
238
  const { selectionMode: t, selectedItems: s } = this;
237
239
  if (t === "none")
238
240
  return;
239
- const i = e.target.selectedItems.map((r) => m(r, this.operationalItems)).filter(Boolean);
241
+ const i = e.target.selectedItems.map((l) => m(l, this.operationalItems)).filter(Boolean);
240
242
  s.removeAll(), s.addMany(i);
241
243
  }
242
244
  render() {
@@ -244,57 +246,57 @@ class oe extends Q {
244
246
  [$.hidden]: e === "loading",
245
247
  [$.disabled]: e === "disabled"
246
248
  };
247
- return h`<div class=${E(S($.widget, t))}>${this._visibleItems?.length ? this._renderItemTooltips() : null}${this._renderItems()}</div>`;
249
+ return h`<div class=${E(S($.widget, t))}>${this._visibleItems?.length ? this.#v() : null}${this.#$()}</div>`;
248
250
  }
249
- _renderItemTooltip(e) {
251
+ #L(e) {
250
252
  const { _tooltipReferenceMap: t, messages: s } = this;
251
253
  return e ? h`<calcite-tooltip overlay-positioning=fixed .referenceElement=${t.get(e.layer?.uid ?? "")}>${s.layerIncompatibleTooltip}</calcite-tooltip>` : null;
252
254
  }
253
- _renderItemTooltipNodes(e) {
255
+ #a(e) {
254
256
  if (e.incompatible)
255
- return this._renderItemTooltip(e);
256
- const t = e.children?.filter((s) => !s.hidden).toArray().map((s) => this._renderItemTooltipNodes(s)) ?? [];
257
+ return this.#L(e);
258
+ const t = e.children?.filter((s) => !s.hidden).toArray().map((s) => this.#a(s)) ?? [];
257
259
  return t.length ? t : null;
258
260
  }
259
- _renderItemTooltips() {
260
- return this._visibleItems?.toArray().map((t) => this._renderItemTooltipNodes(t));
261
+ #v() {
262
+ return this._visibleItems?.toArray().map((t) => this.#a(t));
261
263
  }
262
- _renderNoItemsMessage() {
264
+ #l() {
263
265
  return h`<div slot=message>${this.messages.noItemsToDisplay}</div>`;
264
266
  }
265
- _renderNoItems() {
266
- return this.hideNoItemsNotice ? null : h`<div class=${E(f.itemMessage)}><calcite-notice icon=information kind=info open width=full>${this._renderNoItemsMessage()}</calcite-notice></div>`;
267
+ #w() {
268
+ return this.hideNoItemsNotice ? null : h`<div class=${E(y.itemMessage)}><calcite-notice icon=information kind=info open width=full>${this.#l()}</calcite-notice></div>`;
267
269
  }
268
- _renderLayerFlowItem(e, t) {
270
+ #b(e, t) {
269
271
  const { messages: s, openedLayers: a } = this, i = e.title || this.messages.untitledLayer;
270
- return v(e?.uid ?? i, h`<calcite-flow-item data-layer-uid=${e?.uid ?? "" ?? O} .description=${i} .heading=${s[e.type === "catalog" ? "catalogLayers" : "tables"]} .headingLevel=${this.headingLevel} .selected=${t} @calciteFlowItemBack=${(r) => {
271
- r.preventDefault(), a.pop(), a.at(-1) && this._layerFlowItemRef.value?.setFocus();
272
- }} ${b(this._layerFlowItemRef)}>${this._layerListMap.get(e)}</calcite-flow-item>`);
272
+ return w(e?.uid ?? i, h`<calcite-flow-item data-layer-uid=${e?.uid ?? "" ?? O} .description=${i} .heading=${s[e.type === "catalog" ? "catalogLayers" : "tables"]} .headingLevel=${this.headingLevel} .selected=${t} @calciteFlowItemBack=${(l) => {
273
+ l.preventDefault(), a.pop(), a.at(-1) && this._layerFlowItemRef.value?.setFocus();
274
+ }} ${_(this._layerFlowItemRef)}>${this._layerListMap.get(e)}</calcite-flow-item>`);
273
275
  }
274
- _renderPanelFlowItems() {
276
+ #_() {
275
277
  const { _openedPanelItems: e, openedLayers: t } = this;
276
- return B(e.toArray(), (a) => a.uid, (a, i) => {
277
- const { panel: r, title: o } = a, l = () => this._handlePanelFlowItemBack(r);
278
- return h`<calcite-flow-item .description=${o} .heading=${r.title} .headingLevel=${this.headingLevel} .selected=${!t.length && i === e.length - 1} @calciteFlowItemBack=${(n) => {
279
- n.preventDefault(), l();
280
- }} ${b(this._panelFlowItemRef)}><arcgis-layer-list-item-panel .item=${a} .view=${this.view}></arcgis-layer-list-item-panel><calcite-button appearance=transparent @click=${l} slot=footer-actions width=full>${this.messages.back}</calcite-button></calcite-flow-item>`;
278
+ return k(e.toArray(), (a) => a.uid, (a, i) => {
279
+ const { panel: l, title: r } = a, o = () => this.#p(l);
280
+ return h`<calcite-flow-item .description=${r} .heading=${l.title} .headingLevel=${this.headingLevel} .selected=${!t.length && i === e.length - 1} @calciteFlowItemBack=${(n) => {
281
+ n.preventDefault(), o();
282
+ }} ${_(this._panelFlowItemRef)}><arcgis-layer-list-item-panel .item=${a} .view=${this.view}></arcgis-layer-list-item-panel><calcite-button appearance=transparent @click=${o} slot=footer-actions width=full>${this.messages.back}</calcite-button></calcite-flow-item>`;
281
283
  });
282
284
  }
283
- _renderItems() {
284
- const { collapsed: e, _visibleItems: t, _openedPanelItems: s, _filterEnabled: a, _rootGroupUid: i, showCloseButton: r, showCollapseButton: o, showHeading: l, _dragEnabled: n, selectionMode: d, filterText: g, openedLayers: u, filterPlaceholder: L, messages: y } = this, _ = [
285
- h`<calcite-flow-item .closable=${r} .closed=${this.closed} .collapsed=${e} .collapsible=${o} .heading=${l ? y.componentLabel : void 0} .headingLevel=${this.headingLevel} .selected=${!u.length && !s.length} @calciteFlowItemClose=${() => this.closed = !1}>${t?.length ? h`<calcite-list @focusin=${this._setActiveItem} @focusout=${this._clearActiveItem} .canPull=${(c) => this._canMove(c, "pull")} .canPut=${(c) => this._canMove(c, "put")} data-layer-type=${i ?? O} .displayMode=${P} .dragEnabled=${n} .filterEnabled=${a} .filterPlaceholder=${L} .filterProps=${K} .filterText=${a ? g : ""} .group=${i} .label=${y.componentLabel} @mouseleave=${this._clearActiveItem} @mouseover=${this._setActiveItem} selection-appearance=highlight .selectionMode=${d} @calciteListChange=${this._handleCalciteListChange} @calciteListFilter=${(c) => {
285
+ #$() {
286
+ const { collapsed: e, _visibleItems: t, _openedPanelItems: s, _filterEnabled: a, _rootGroupUid: i, showCloseButton: l, showCollapseButton: r, showHeading: o, _dragEnabled: n, selectionMode: d, filterText: g, openedLayers: u, filterPlaceholder: L, messages: f } = this, v = [
287
+ h`<calcite-flow-item .closable=${l} .closed=${this.closed} .collapsed=${e} .collapsible=${r} .heading=${o ? f.componentLabel : void 0} .headingLevel=${this.headingLevel} .selected=${!u.length && !s.length} @calciteFlowItemClose=${() => this.closed = !1}>${t?.length ? h`<calcite-list @focusin=${this._setActiveItem} @focusout=${this._clearActiveItem} .canPull=${(c) => this._canMove(c, "pull")} .canPut=${(c) => this._canMove(c, "put")} data-layer-type=${i ?? O} .displayMode=${P} .dragEnabled=${n} .filterEnabled=${a} .filterPlaceholder=${L} .filterProps=${K} .filterText=${a ? g : ""} .group=${i} .label=${f.componentLabel} @mouseleave=${this._clearActiveItem} @mouseover=${this._setActiveItem} selection-appearance=highlight .selectionMode=${d} @calciteListChange=${this.#I} @calciteListFilter=${(c) => {
286
288
  this.filterText = c.currentTarget?.filterText ?? "", this.arcgisFilterChange.emit();
287
- }} @calciteListOrderChange=${(c) => this._onCalciteListOrderChange(c.detail)} @calciteListDragEnd=${(c) => this._onCalciteListDragEnd(c.detail)} ${b(this._rootListRef)}>${t.toArray().map((c) => this._renderItem(c))}${a && !this.hideNoFilterResultsNotice ? h`<div class=${E(f.filterNoResults)} slot=filter-no-results><calcite-notice kind=info open width=full>${this._renderNoItemsMessage()}</calcite-notice></div>` : null}</calcite-list>` : this._renderNoItems()}</calcite-flow-item>`,
288
- this._renderPanelFlowItems(),
289
+ }} @calciteListOrderChange=${(c) => this.#f(c.detail)} @calciteListDragEnd=${(c) => this.#u(c.detail)} ${_(this._rootListRef)}>${t.toArray().map((c) => this.#C(c))}${a && !this.hideNoFilterResultsNotice ? h`<div class=${E(y.filterNoResults)} slot=filter-no-results><calcite-notice kind=info open width=full>${this.#l()}</calcite-notice></div>` : null}</calcite-list>` : this.#w()}</calcite-flow-item>`,
290
+ this.#_(),
289
291
  this._renderedOpenLayerFlowItems
290
292
  ];
291
- return this.closed ? null : v("root-flow", h`<calcite-flow>${_}</calcite-flow>`);
293
+ return this.closed ? null : w("root-flow", h`<calcite-flow>${v}</calcite-flow>`);
292
294
  }
293
- _renderItem(e, t, s) {
294
- return v(e.uid, Z({ activeItem: this._activeItem, canMove: this._canMove, css: f, displayMode: P, dragEnabled: this.dragEnabled, hideStatusIndicators: this.hideStatusIndicators, hideCatalogLayerList: this.hideCatalogLayerList, item: e, messages: this.messages, layerTablesEnabled: this.layerTablesEnabled, listModeDisabled: this.viewModel.listModeDisabled, operationalItems: this.operationalItems, parent: t, parentTitles: s, rootGroupUid: this._rootGroupUid, selectedDragItemLayerUid: this._selectedDragItemLayerUid, selectedItems: this.selectedItems, selectionMode: this.selectionMode, setCurrentActiveItem: this._setCurrentActiveItem, showTemporaryLayerIndicators: this.showTemporaryLayerIndicators, showCloseButton: this.showCloseButton, showCollapseButton: this.showCollapseButton, showErrors: this.showErrors, showHeading: this.showHeading, showFilter: this.showFilter, clearActiveItem: this._clearActiveItem, visibilityAppearance: this.visibilityAppearance, handleAction: this._onTriggerAction, handleCatalogOpen: this._onCatalogOpen, handleSelectedDragItemLayerUidChange: this._onSelectedDragItemLayerUidChange, handleTablesOpen: this._onTablesOpen, handleTooltipReferenceChange: this._onTooltipReferenceChange, view: this.view }));
295
+ #C(e, t, s) {
296
+ return w(e.uid, Z({ activeItem: this._activeItem, canMove: this._canMove, css: y, displayMode: P, dragEnabled: this.dragEnabled, hideStatusIndicators: this.hideStatusIndicators, hideCatalogLayerList: this.hideCatalogLayerList, item: e, messages: this.messages, layerTablesEnabled: this.layerTablesEnabled, listModeDisabled: this.viewModel.listModeDisabled, operationalItems: this.operationalItems, parent: t, parentTitles: s, rootGroupUid: this._rootGroupUid, selectedDragItemLayerUid: this._selectedDragItemLayerUid, selectedItems: this.selectedItems, selectionMode: this.selectionMode, setCurrentActiveItem: this._setCurrentActiveItem, showTemporaryLayerIndicators: this.showTemporaryLayerIndicators, showCloseButton: this.showCloseButton, showCollapseButton: this.showCollapseButton, showErrors: this.showErrors, showHeading: this.showHeading, showFilter: this.showFilter, clearActiveItem: this._clearActiveItem, visibilityAppearance: this.visibilityAppearance, handleAction: this._onTriggerAction, handleCatalogOpen: this._onCatalogOpen, handleSelectedDragItemLayerUidChange: this._onSelectedDragItemLayerUidChange, handleTablesOpen: this._onTablesOpen, handleTooltipReferenceChange: this._onTooltipReferenceChange, view: this.view }));
295
297
  }
296
298
  }
297
- x("arcgis-layer-list-next", oe);
299
+ N("arcgis-layer-list-next", re);
298
300
  export {
299
- oe as ArcgisLayerListNext
301
+ re as ArcgisLayerListNext
300
302
  };
@@ -1,5 +1,5 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
- import { c as r } from "../../chunks/runtime.js";
2
+ import { c as t } from "../../chunks/runtime.js";
3
3
  import { usePropertyChange as o } from "@arcgis/lumina/controllers";
4
4
  import a from "@arcgis/core/layers/OrientedImageryLayer.js";
5
5
  import s from "@arcgis/core/widgets/OrientedImageryViewer.js";
@@ -9,7 +9,7 @@ import { m as g } from "../../chunks/useWidget.js";
9
9
  import { css as c } from "lit";
10
10
  import { s as m } from "../../chunks/esri-main.js";
11
11
  import { u as h } from "../../chunks/useLayerById.js";
12
- const v = c`:host{--esri-oriented-imagery-viewer-min-width: var(--arcgis-oriented-imagery-viewer-min-width, 288px);--esri-oriented-imagery-viewer-min-height: var(--arcgis-oriented-imagery-viewer-min-height, 348px);inline-size:100%;block-size:100%}.esri-image-viewer{width:100%;height:100%}.esri-image-viewer__slider-container{--calcite-block-padding: 0;box-sizing:border-box;box-shadow:none;padding-inline:var(--calcite-spacing-md);background-color:#0000;border:none;width:100%;margin:0;overflow:hidden}.esri-image-viewer__slider-container calcite-slider{width:100%}.esri-oriented-imagery-viewer{--esri-oriented-imagery-viewer-action-icon-size: 8px;--calcite-dialog-size-x: 210px;--calcite-dialog-min-size-y: 90px;--calcite-font-weight-medium: $font-weight;--calcite-font-size-0: $font-size;--calcite-icon-size: var(--esri-oriented-imagery-viewer-action-icon-size);box-sizing:border-box;z-index:1;container-type:size;width:100%;min-width:var(--esri-oriented-imagery-viewer-min-width);height:100%;min-height:var(--esri-oriented-imagery-viewer-min-height);flex-direction:column;align-items:flex-start;display:flex;overflow:hidden}.esri-oriented-imagery-viewer:has(.esri-widget .esri-oriented-imagery-viewer__image-overlays-no-result){--esri-oriented-imagery-viewer-min-height: 420px}.esri-oriented-imagery-viewer__body{flex-direction:column;flex:1 0 auto;order:1;align-self:stretch;height:100%;display:flex}.esri-oriented-imagery-viewer__body-current-coverage{--calcite-icon-color: var(--calcite-color-status-danger)}.esri-oriented-imagery-viewer__body-additional-camera-locations{--calcite-icon-color: var(--calcite-color-brand)}.esri-oriented-imagery-viewer__body-additional-coverage{--calcite-icon-color: var(--calcite-color-status-info)}.esri-oriented-imagery-viewer__body-footprint{--calcite-icon-color: var(--calcite-color-status-success)}.esri-oriented-imagery-viewer__carousel{z-index:1;border:1px solid var(--calcite-color-border-2);align-items:center;width:98%;height:140px;margin:auto 1% 0;position:absolute;bottom:0;box-shadow:0 0 1px #0000004d}.esri-oriented-imagery-viewer__carousel-container{height:auto;display:inline-block;overflow:auto hidden}.esri-oriented-imagery-viewer__carousel header{--calcite-font-weight-medium: $font-weight--light;--calcite-font-size-0: $font-size--tiny}.esri-oriented-imagery-viewer__carousel-item{width:100px;height:70px}.esri-oriented-imagery-viewer__carousel-item-wrapper{box-sizing:border-box;justify-content:center;align-items:center;width:106px;height:78px;margin:auto 10px;display:flex;box-shadow:0 1px 2px #0000004d}.esri-oriented-imagery-viewer__carousel-item-wrapper--selected{box-sizing:border-box;border:2px solid var(--calcite-color-brand);justify-content:center;align-items:center;width:106px;height:78px;margin:auto 10px;display:flex;box-shadow:0 1px 2px #0000004d}.esri-oriented-imagery-viewer__carousel-content{display:flex}.esri-oriented-imagery-viewer__close{background:var(--calcite-color-foreground-1);flex-direction:row;flex-grow:0;order:7;justify-content:center;align-items:center;width:48px;height:59px;display:flex}.esri-oriented-imagery-viewer__image-enhancement-wrapper{z-index:1;border:1px solid var(--calcite-color-border-2);align-items:center;width:98%;height:140px;margin:auto 1% 0;position:absolute;bottom:0;box-shadow:0 0 1px #0000004d}.esri-oriented-imagery-viewer__image-enhancement-tools{display:flex}.esri-oriented-imagery-viewer__image-enhancement-tool-container{width:50%;margin-block:2px;padding-inline:.75rem}.esri-oriented-imagery-viewer__superimpose-tools{box-shadow:none;width:100%;height:auto;margin:0}.esri-oriented-imagery-viewer__superimpose-tools .esri-oriented-imagery-viewer__image-enhancement-tool-container{padding-block:var(--calcite-spacing-sm) var(--calcite-spacing-md);width:100%;margin-block:0}.esri-oriented-imagery-viewer__image-overlays{z-index:1;margin:auto 1% 0;border:1px solid var(--calcite-color-border-2);align-items:center;width:98%;height:140px;position:absolute;bottom:0;overflow-y:auto;box-shadow:0 0 1px #0000004d}.esri-oriented-imagery-viewer__image-overlays-layer-list,.esri-oriented-imagery-viewer__image-overlays-switch{padding:0 var(--calcite-spacing-md)}.esri-oriented-imagery-viewer__image-overlays-container{height:auto;display:flex}.esri-oriented-imagery-viewer__image-overlays-no-result{z-index:1;border:1px solid var(--calcite-color-border-2);align-items:center;width:98%;height:auto;margin:auto 1% 0;position:absolute;bottom:0;overflow-y:auto;box-shadow:0 0 1px #0000004d}.esri-oriented-imagery-viewer__image-overlays-no-result-layer-list,.esri-oriented-imagery-viewer__image-overlays-no-result-switch{padding:0 var(--calcite-spacing-md)}.esri-oriented-imagery-viewer__image-overlays-increased-height{z-index:1;border:1px solid var(--calcite-color-border-2);align-items:center;width:98%;height:200px;margin:auto 1% 0;position:absolute;bottom:0;overflow-y:auto;box-shadow:0 0 1px #0000004d}.esri-oriented-imagery-viewer__image-overlays-increased-height-layer-list,.esri-oriented-imagery-viewer__image-overlays-increased-height-switch{padding:0 var(--calcite-spacing-md)}.esri-oriented-imagery-viewer__measurement-results{width:auto;height:fit-content}.esri-oriented-imagery-viewer__measurements-table{margin-block-start:var(--calcite-spacing-sm)}.esri-oriented-imagery-viewer__measurements-bar{flex-wrap:nowrap;display:flex}.esri-oriented-imagery-viewer__measurements-button{display:flex}.esri-oriented-imagery-viewer__measurement-display{text-align:center;margin-block-end:var(--calcite-spacing-xxs)}.esri-oriented-imagery-viewer__viewer{cursor:url(data:text/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20height%3D%2226%22%20width%3D%2226%22%3E%0A%3Cpath%20stroke%3D%22%23000%22%20stroke-width%3D%221px%22%20fill%3D%22%23fff%22%20d%3D%22m15.3%2020.5s6.38-6.73%204.64-8.24-3.47%201.01-3.47%201.01%203.61-5.72%201.41-6.49c-2.2-0.769-3.33%204.36-3.33%204.36s0.873-5.76-1.06-5.76-1.58%205.39-1.58%205.39-0.574-4.59-2.18-4.12c-1.61%200.468-0.572%205.51-0.572%205.51s-1.58-4.89-2.93-3.79c-1.35%201.11%200.258%205.25%200.572%206.62%200.836%202.43%202.03%202.94%202.17%205.55%22%2F%3E%0A%3C%2Fsvg%3E%0A);flex-grow:1;width:100%;margin:0;display:flex}.esri-oriented-imagery-viewer__viewer--hidden{display:none}.esri-oriented-imagery-viewer__viewer-container{border-top:1px solid var(--calcite-color-border-3);background:var(--calcite-color-foreground-1);flex:1 0 auto;order:1;align-self:stretch;width:100%;height:100%;display:flex}.esri-oriented-imagery-viewer__alert{inset-block-end:var(--calcite-spacing-md);inset-inline:var(--calcite-spacing-md);position:absolute}.esri-oriented-imagery-viewer__alert>[slot=message]{display:block}@container (width <= 386px) or (height <= 348px){.esri-oriented-imagery-viewer__alert>[slot=message]{display:none}}.esri-oriented-imagery-viewer-container-measurement{border-top:var(--calcite-border-width-sm) solid var(--calcite-color-border-3);background:var(--calcite-color-foreground-1);flex:1 0 auto;order:1;align-self:stretch;width:100%;height:50%;display:flex}@keyframes rotateOrientedImageryNavigationTool{0%{transform:rotate(var(--oi-navigation-tool-rotation-from, 0deg))}to{transform:rotate(var(--oi-navigation-tool-rotation-to, 0deg))}}.esri-oriented-imagery-viewer__navigation{transform:rotate(var(--oi-navigation-tool-rotation-to, 0deg))}.esri-oriented-imagery-viewer__navigation-animate{animation:.7s linear forwards rotateOrientedImageryNavigationTool}.esri-oriented-imagery-viewer__navigation-feature{fill:var(--calcite-color-brand);stroke:var(--calcite-color-foreground-1);stroke-width:1px}.esri-oriented-imagery-viewer__navigation-feature.selected{fill:var(--calcite-color-status-danger)}.esri-oriented-imagery-viewer__navigation-feature-path{pointer-events:none}.esri-oriented-imagery-viewer__navigation-feature-path-stop-offset-0{stop-color:var(--calcite-color-status-danger);stop-opacity:.4}.esri-oriented-imagery-viewer__navigation-feature-path-stop-offset-1{stop-color:var(--calcite-color-status-danger);stop-opacity:.2}.esri-oriented-imagery-viewer__navigation-pointer{fill:var(--calcite-color-foreground-1);fill-rule:evenodd;stroke:#0000;stroke-dasharray:none;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-width:0}.esri-oriented-imagery-viewer__navigation-pointer-north{fill:var(--calcite-color-status-danger)}.esri-oriented-imagery-viewer__navigation-wrapper{z-index:1;position:absolute;bottom:0;right:0;overflow:hidden}.esri-oriented-imagery-viewer__navigation-wrapper--video{inset-block-end:calc(var(--calcite-spacing-xxxl) * 3)}.esri-oriented-imagery-viewer__navigation-wrapper--zoomed{transform-origin:100% 100%;transform:scale(1.5)}.esri-oriented-imagery-viewer__navigation-wrapper-boundary{fill:var(--calcite-color-foreground-1);fill-opacity:.25;stroke:var(--calcite-color-border-2)}.esri-oriented-imagery-viewer__navigation-sector{fill:none}.esri-oriented-imagery-viewer__navigation-sector-separator{stroke:var(--calcite-color-border-2);stroke-width:1px}.esri-oriented-imagery-viewer__navigation-sector-cross{stroke:var(--calcite-color-status-danger);stroke-width:1px}.esri-oriented-imagery-viewer__navigation-sector-enabled{fill:var(--calcite-color-foreground-1);stroke:var(--calcite-color-border-2);stroke-width:1px}.esri-oriented-imagery-viewer__navigation-sector-disabled{fill:var(--calcite-color-foreground-3);stroke:var(--calcite-color-border-2);stroke-width:1px}.esri-oriented-imagery-viewer__navigation-sector-outer{fill:var(--calcite-color-foreground-1);fill-opacity:.4;stroke:none}.esri-oriented-imagery-viewer__pro .esri-oriented-imagery-viewer{width:100%;max-width:unset;height:100%;max-height:unset;position:static}.esri-oriented-imagery-viewer__sketch-tools{justify-content:center;align-items:center;width:100%;display:flex;position:absolute;bottom:0}.esri-oriented-imagery-viewer--notice{margin-block:auto}.esri-oriented-imagery-viewer__navigation-ui{box-sizing:border-box;transform-style:preserve-3d;z-index:var(--calcite-z-index-overlay);aspect-ratio:1;pointer-events:none;flex-direction:column;align-items:center;width:50%;max-width:330px;display:flex;position:absolute;inset-block-end:0;inset-inline:50%;overflow:hidden;translate:-50%}.esri-oriented-imagery-viewer__navigation-ui__direction{--esri-oriented-imagery-viewer__navigation-ui-direction-color: wheat;--calcite-icon-color: var(--esri-oriented-imagery-viewer__navigation-ui-direction-color);transform-origin:top;transform-style:preserve-3d;cursor:not-allowed;border:3px solid #bfc5cc;border-radius:50%;width:4.5em;height:4.5em;transition:border-color .15s;position:absolute}.esri-oriented-imagery-viewer__navigation-ui__direction:not([disabled]){cursor:pointer;pointer-events:auto}.esri-oriented-imagery-viewer__navigation-ui__direction:not([disabled]):hover{--calcite-icon-color: var(--calcite-color-brand);border-color:var(--calcite-color-brand)}.esri-oriented-imagery-viewer__navigation-ui__direction-pad{box-sizing:border-box;filter:drop-shadow(0 2px 1px #00000080);width:100%;height:100%;transform:perspective(400px) rotateX(60deg)}.esri-oriented-imagery-viewer__navigation-settings-ui [slot=content-bottom]{padding:.5rem;display:none}.esri-oriented-imagery-viewer__navigation-settings-ui [selected]>[slot=content-bottom]{display:block}.esri-panoramic-viewer{width:100%;height:100%;overflow-x:hidden}.esri-panoramic-viewer__slider-container{--calcite-block-padding: 0;box-sizing:border-box;box-shadow:none;padding-inline:var(--calcite-spacing-md);background-color:#0000;border:none;width:100%;margin:0;overflow:hidden}.esri-panoramic-viewer__slider-container calcite-slider{width:100%}`, w = g(s), p = "map-components:arcgis-oriented-imagery-viewer";
12
+ const v = c`:host{--esri-oriented-imagery-viewer-min-width: var(--arcgis-oriented-imagery-viewer-min-width, 288px);--esri-oriented-imagery-viewer-min-height: var(--arcgis-oriented-imagery-viewer-min-height, 348px);inline-size:100%;block-size:100%}.esri-image-viewer{width:100%;height:100%}.esri-image-viewer__slider-container{--calcite-block-padding: 0;box-sizing:border-box;box-shadow:none;padding-inline:var(--calcite-spacing-md);background-color:#0000;border:none;width:100%;margin:0;overflow:hidden}.esri-image-viewer__slider-container calcite-slider{width:100%}.esri-oriented-imagery-viewer{--esri-oriented-imagery-viewer-action-icon-size: 8px;--calcite-dialog-size-x: 210px;--calcite-dialog-min-size-y: 90px;--calcite-font-weight-medium: $font-weight;--calcite-font-size-0: $font-size;--calcite-icon-size: var(--esri-oriented-imagery-viewer-action-icon-size);box-sizing:border-box;z-index:1;container-type:size;width:100%;min-width:var(--esri-oriented-imagery-viewer-min-width);height:100%;min-height:var(--esri-oriented-imagery-viewer-min-height);flex-direction:column;align-items:flex-start;display:flex;overflow:hidden}.esri-oriented-imagery-viewer:has(.esri-widget .esri-oriented-imagery-viewer__image-overlays-no-result){--esri-oriented-imagery-viewer-min-height: 420px}.esri-oriented-imagery-viewer__body{flex-direction:column;flex:1 0 auto;order:1;align-self:stretch;height:100%;display:flex}.esri-oriented-imagery-viewer__body-current-coverage{--calcite-icon-color: var(--calcite-color-status-danger)}.esri-oriented-imagery-viewer__body-additional-camera-locations{--calcite-icon-color: var(--calcite-color-brand)}.esri-oriented-imagery-viewer__body-additional-coverage{--calcite-icon-color: var(--calcite-color-status-info)}.esri-oriented-imagery-viewer__body-footprint{--calcite-icon-color: var(--calcite-color-status-success)}.esri-oriented-imagery-viewer__carousel{z-index:1;border:1px solid var(--calcite-color-border-2);align-items:center;width:98%;height:140px;margin:auto 1% 0;position:absolute;bottom:0;box-shadow:0 0 1px #0000004d}.esri-oriented-imagery-viewer__carousel-container{height:auto;display:inline-block;overflow:auto hidden}.esri-oriented-imagery-viewer__carousel header{--calcite-font-weight-medium: $font-weight--light;--calcite-font-size-0: $font-size--tiny}.esri-oriented-imagery-viewer__carousel-item{width:100px;height:70px}.esri-oriented-imagery-viewer__carousel-item-wrapper{box-sizing:border-box;justify-content:center;align-items:center;width:106px;height:78px;margin:auto 10px;display:flex;box-shadow:0 1px 2px #0000004d}.esri-oriented-imagery-viewer__carousel-item-wrapper--selected{box-sizing:border-box;border:2px solid var(--calcite-color-brand);justify-content:center;align-items:center;width:106px;height:78px;margin:auto 10px;display:flex;box-shadow:0 1px 2px #0000004d}.esri-oriented-imagery-viewer__carousel-content{display:flex}.esri-oriented-imagery-viewer__close{background:var(--calcite-color-foreground-1);flex-direction:row;flex-grow:0;order:7;justify-content:center;align-items:center;width:48px;height:59px;display:flex}.esri-oriented-imagery-viewer__image-enhancement-wrapper,.esri-oriented-imagery-viewer__submenu{z-index:1;border:1px solid var(--calcite-color-border-2);align-items:center;width:98%;height:140px;margin:auto 1% 0;position:absolute;bottom:0;box-shadow:0 0 1px #0000004d}.esri-oriented-imagery-viewer__image-enhancement-tools{display:flex}.esri-oriented-imagery-viewer__image-enhancement-tool-container{width:50%;margin-block:2px;padding-inline:.75rem}.esri-oriented-imagery-viewer__submenu{height:auto}.esri-oriented-imagery-viewer__superimpose-tools{box-shadow:none;width:100%;height:auto;margin:0}.esri-oriented-imagery-viewer__superimpose-tools .esri-oriented-imagery-viewer__image-enhancement-tool-container{padding-block:var(--calcite-spacing-sm) var(--calcite-spacing-md);width:100%;margin-block:0}.esri-oriented-imagery-viewer__image-overlays{z-index:1;margin:auto 1% 0;border:1px solid var(--calcite-color-border-2);align-items:center;width:98%;height:140px;position:absolute;bottom:0;overflow-y:auto;box-shadow:0 0 1px #0000004d}.esri-oriented-imagery-viewer__image-overlays-layer-list,.esri-oriented-imagery-viewer__image-overlays-switch{padding:0 var(--calcite-spacing-md)}.esri-oriented-imagery-viewer__image-overlays-container{height:auto;display:flex}.esri-oriented-imagery-viewer__image-overlays-no-result{z-index:1;border:1px solid var(--calcite-color-border-2);align-items:center;width:98%;height:auto;margin:auto 1% 0;position:absolute;bottom:0;overflow-y:auto;box-shadow:0 0 1px #0000004d}.esri-oriented-imagery-viewer__image-overlays-no-result-layer-list,.esri-oriented-imagery-viewer__image-overlays-no-result-switch{padding:0 var(--calcite-spacing-md)}.esri-oriented-imagery-viewer__image-overlays-increased-height{z-index:1;border:1px solid var(--calcite-color-border-2);align-items:center;width:98%;height:200px;margin:auto 1% 0;position:absolute;bottom:0;overflow-y:auto;box-shadow:0 0 1px #0000004d}.esri-oriented-imagery-viewer__image-overlays-increased-height-layer-list,.esri-oriented-imagery-viewer__image-overlays-increased-height-switch{padding:0 var(--calcite-spacing-md)}.esri-oriented-imagery-viewer__measurement-results{width:auto;height:fit-content}.esri-oriented-imagery-viewer__measurements-table{margin-block-start:var(--calcite-spacing-sm)}.esri-oriented-imagery-viewer__measurements-bar{flex-wrap:nowrap;display:flex}.esri-oriented-imagery-viewer__measurements-button{display:flex}.esri-oriented-imagery-viewer__measurement-display{text-align:center;margin-block-end:var(--calcite-spacing-xxs)}.esri-oriented-imagery-viewer__viewer{cursor:url(data:text/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20height%3D%2226%22%20width%3D%2226%22%3E%0A%3Cpath%20stroke%3D%22%23000%22%20stroke-width%3D%221px%22%20fill%3D%22%23fff%22%20d%3D%22m15.3%2020.5s6.38-6.73%204.64-8.24-3.47%201.01-3.47%201.01%203.61-5.72%201.41-6.49c-2.2-0.769-3.33%204.36-3.33%204.36s0.873-5.76-1.06-5.76-1.58%205.39-1.58%205.39-0.574-4.59-2.18-4.12c-1.61%200.468-0.572%205.51-0.572%205.51s-1.58-4.89-2.93-3.79c-1.35%201.11%200.258%205.25%200.572%206.62%200.836%202.43%202.03%202.94%202.17%205.55%22%2F%3E%0A%3C%2Fsvg%3E%0A);flex-grow:1;width:100%;margin:0;display:flex}.esri-oriented-imagery-viewer__viewer--hidden{display:none}.esri-oriented-imagery-viewer__viewer-container{border-top:1px solid var(--calcite-color-border-3);background:var(--calcite-color-foreground-1);flex:1 0 auto;order:1;align-self:stretch;width:100%;height:100%;display:flex}.esri-oriented-imagery-viewer__alert{inset-block-end:var(--calcite-spacing-md);inset-inline:var(--calcite-spacing-md);position:absolute}.esri-oriented-imagery-viewer__alert>[slot=message]{display:block}@container (width <= 386px) or (height <= 348px){.esri-oriented-imagery-viewer__alert>[slot=message]{display:none}}.esri-oriented-imagery-viewer-container-measurement{border-top:var(--calcite-border-width-sm) solid var(--calcite-color-border-3);background:var(--calcite-color-foreground-1);flex:1 0 auto;order:1;align-self:stretch;width:100%;height:50%;display:flex}@keyframes rotateOrientedImageryNavigationTool{0%{transform:rotate(var(--oi-navigation-tool-rotation-from, 0deg))}to{transform:rotate(var(--oi-navigation-tool-rotation-to, 0deg))}}.esri-oriented-imagery-viewer__navigation{transform:rotate(var(--oi-navigation-tool-rotation-to, 0deg))}.esri-oriented-imagery-viewer__navigation-animate{animation:.7s linear forwards rotateOrientedImageryNavigationTool}.esri-oriented-imagery-viewer__navigation-feature{fill:var(--calcite-color-brand);stroke:var(--calcite-color-foreground-1);stroke-width:1px}.esri-oriented-imagery-viewer__navigation-feature.selected{fill:var(--calcite-color-status-danger)}.esri-oriented-imagery-viewer__navigation-feature-path{pointer-events:none}.esri-oriented-imagery-viewer__navigation-feature-path-stop-offset-0{stop-color:var(--calcite-color-status-danger);stop-opacity:.4}.esri-oriented-imagery-viewer__navigation-feature-path-stop-offset-1{stop-color:var(--calcite-color-status-danger);stop-opacity:.2}.esri-oriented-imagery-viewer__navigation-pointer{fill:var(--calcite-color-foreground-1);fill-rule:evenodd;stroke:#0000;stroke-dasharray:none;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-width:0}.esri-oriented-imagery-viewer__navigation-pointer-north{fill:var(--calcite-color-status-danger)}.esri-oriented-imagery-viewer__navigation-wrapper{z-index:1;position:absolute;bottom:0;right:0;overflow:hidden}.esri-oriented-imagery-viewer__navigation-wrapper--video{inset-block-end:calc(var(--calcite-spacing-xxxl) * 3)}.esri-oriented-imagery-viewer__navigation-wrapper--zoomed{transform-origin:100% 100%;transform:scale(1.5)}.esri-oriented-imagery-viewer__navigation-wrapper-boundary{fill:var(--calcite-color-foreground-1);fill-opacity:.25;stroke:var(--calcite-color-border-2)}.esri-oriented-imagery-viewer__navigation-sector{fill:none}.esri-oriented-imagery-viewer__navigation-sector-separator{stroke:var(--calcite-color-border-2);stroke-width:1px}.esri-oriented-imagery-viewer__navigation-sector-cross{stroke:var(--calcite-color-status-danger);stroke-width:1px}.esri-oriented-imagery-viewer__navigation-sector-enabled{fill:var(--calcite-color-foreground-1);stroke:var(--calcite-color-border-2);stroke-width:1px}.esri-oriented-imagery-viewer__navigation-sector-disabled{fill:var(--calcite-color-foreground-3);stroke:var(--calcite-color-border-2);stroke-width:1px}.esri-oriented-imagery-viewer__navigation-sector-outer{fill:var(--calcite-color-foreground-1);fill-opacity:.4;stroke:none}.esri-oriented-imagery-viewer__pro .esri-oriented-imagery-viewer{width:100%;max-width:unset;height:100%;max-height:unset;position:static}.esri-oriented-imagery-viewer__sketch-tools{justify-content:center;align-items:center;width:100%;display:flex;position:absolute;bottom:0}.esri-oriented-imagery-viewer--notice{margin-block:auto}.esri-oriented-imagery-viewer__navigation-ui{box-sizing:border-box;transform-style:preserve-3d;z-index:var(--calcite-z-index-overlay);aspect-ratio:1;pointer-events:none;flex-direction:column;align-items:center;width:50%;max-width:330px;display:flex;position:absolute;inset-block-end:0;inset-inline:50%;overflow:hidden;translate:-50%}.esri-oriented-imagery-viewer__navigation-ui__direction{--esri-oriented-imagery-viewer__navigation-ui-direction-color: wheat;--calcite-icon-color: var(--esri-oriented-imagery-viewer__navigation-ui-direction-color);transform-origin:top;transform-style:preserve-3d;cursor:not-allowed;border:3px solid #bfc5cc;border-radius:50%;width:4.5em;height:4.5em;transition:border-color .15s;position:absolute}.esri-oriented-imagery-viewer__navigation-ui__direction:not([disabled]){cursor:pointer;pointer-events:auto}.esri-oriented-imagery-viewer__navigation-ui__direction:not([disabled]):hover{--calcite-icon-color: var(--calcite-color-brand);border-color:var(--calcite-color-brand)}.esri-oriented-imagery-viewer__navigation-ui__direction-pad{box-sizing:border-box;filter:drop-shadow(0 2px 1px #00000080);width:100%;height:100%;transform:perspective(400px) rotateX(60deg)}.esri-oriented-imagery-viewer__navigation-settings-ui [slot=content-bottom]{padding:.5rem;display:none}.esri-oriented-imagery-viewer__navigation-settings-ui [selected]>[slot=content-bottom]{display:block}.esri-panoramic-viewer{width:100%;height:100%;overflow-x:hidden}.esri-panoramic-viewer__slider-container{--calcite-block-padding: 0;box-sizing:border-box;box-shadow:none;padding-inline:var(--calcite-spacing-md);background-color:#0000;border:none;width:100%;margin:0;overflow:hidden}.esri-panoramic-viewer__slider-container calcite-slider{width:100%}`, w = g(s), p = "map-components:arcgis-oriented-imagery-viewer";
13
13
  class y extends n {
14
14
  constructor() {
15
15
  super(...arguments), this.widget = w(this), this._hasOrientedImageryLayerToAdd = !1, this.viewModel = this.widget.viewModel, this.view = this.widget.view, this.autoDestroyDisabled = !1, this.actionBarPosition = this.widget.actionBarPosition, this.currentCoverageVisible = this.widget.currentCoverageVisible, this.dataCaptureEnabled = this.widget.dataCaptureEnabled, this.disabled = this.widget.disabled, this.galleryOpened = this.widget.galleryOpened, this.hideAdditionalCameraLocationsToggle = this.widget.visibleElements.additionalCameraLocationsToggle, this.hideAdditionalFootprintsToggle = this.widget.visibleElements.additionalFootprintToggle, this.hideCurrentFootprintToggle = this.widget.visibleElements.currentFootprintToggle, this.hideDirectionalNavigationToggle = this.widget.visibleElements.directionalNavigation, this.hideEnhancementToolToggle = this.widget.visibleElements.enhancementTool, this.hideExploreImagesToggle = this.widget.visibleElements.exploreImages, this.hideExploreImages3dToggle = this.widget.visibleElements.exploreImages3D, this.hideHeader = this.widget.visibleElements.header, this.hideMenu = this.widget.visibleElements.menu, this.hideImageGalleryToggle = this.widget.visibleElements.imageGallery, this.hideImageNavigationGroup = this.widget.visibleElements.imageNavigationTools, this.hideImageOverlaysToggle = this.widget.visibleElements.imageOverlays, this.hideMapImageLocationToolToggle = this.widget.visibleElements.mapImageConversionTool, this.hideImageMeasurementToolsGroup = this.widget.visibleElements.measurementTools, this.hideNavigationToolToggle = this.widget.visibleElements.navigationTool, this.hideOverlaysGroup = this.widget.visibleElements.overlays, this.hideSearchGroup = this.widget.visibleElements.searchTools, this.hideSequentialNavigationToggle = this.widget.visibleElements.sequentialNavigation, this.hideDisplayImageToggle = this.widget.visibleElements.showSelectedImage, this.hidePopupsAction = this.widget.visibleElements.showPopupsAction, this.hideSuperimposeViewToggle = this.widget.visibleElements.superimpose, this.hideUtilitiesGroup = this.widget.visibleElements.utilityTools, this.icon = this.widget.icon, this.imageEnhancementToolActive = this.widget.imageEnhancementToolActive, this.imageGalleryEnabled = this.widget.imageGalleryEnabled, this.imageOverlaysOpened = this.widget.imageOverlaysOpened, this.isAdditionalCoverageVisible = this.widget.isAdditionalCoverageVisible, this.isAdditionalPointSourcesVisible = this.widget.isAdditionalPointSourcesVisible, this.label = this.widget.label, this.layer = this.widget.layer, this.mapLayerId = h(this, (e) => {
@@ -41,8 +41,8 @@ class y extends n {
41
41
  if (e.has("orientedImageryLayerItemId")) {
42
42
  const i = this.orientedImageryLayerItemId;
43
43
  if (i && this.widget) {
44
- const t = { portalItem: { id: i } };
45
- this.layer = new a(t), this.widget.view ? this.widget.view.map?.add(this.layer) : this._hasOrientedImageryLayerToAdd = !0;
44
+ const r = { portalItem: { id: i } };
45
+ this.layer = new a(r), this.widget.view ? this.widget.view.map?.add(this.layer) : this._hasOrientedImageryLayerToAdd = !0;
46
46
  }
47
47
  }
48
48
  }
@@ -56,7 +56,7 @@ class y extends n {
56
56
  e && (this.widget.view?.map?.add(e), this._hasOrientedImageryLayerToAdd = !1);
57
57
  }
58
58
  }
59
- r("arcgis-oriented-imagery-viewer", y);
59
+ t("arcgis-oriented-imagery-viewer", y);
60
60
  export {
61
61
  y as ArcgisOrientedImageryViewer
62
62
  };
@@ -474,6 +474,18 @@ export abstract class ArcgisSearch extends LitElement {
474
474
  clear(): void;
475
475
  /** Permanently destroy the component. */
476
476
  destroy(): Promise<void>;
477
+ /**
478
+ * Returns a promise that resolves when the Search component has finished updating its default sources.
479
+ *
480
+ * Custom sources assigned through [sources](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-search/#sources) are not loaded by this method.
481
+ * Unavailable layer and table sources are omitted, so the promise may resolve with no default sources.
482
+ *
483
+ * @since 5.2
484
+ * @example
485
+ * const search = document.querySelector("arcgis-search");
486
+ * await search.onSourcesReady();
487
+ */
488
+ onSourcesReady(): Promise<void>;
477
489
  /**
478
490
  * Depending on the sources specified, search() queries the feature layer(s) and/or performs
479
491
  * address matching using any specified [locator(s)](https://developers.arcgis.com/javascript/latest/references/core/rest/locator/) and
@@ -86,6 +86,9 @@ class z extends f {
86
86
  return this._suggestController !== t || (this._suggestController = void 0), null;
87
87
  }
88
88
  }
89
+ async onSourcesReady() {
90
+ await this.viewModel.when();
91
+ }
89
92
  loaded() {
90
93
  this.listen("arcgisSelectResult", this._handleSelectResult), this.manager.onLifecycle(() => [
91
94
  u(() => [this._searchResultRendererEl, this.viewModel?.defaultPopupTemplate], () => {