@arcgis/map-components 5.1.0-next.103 → 5.1.0-next.104

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 (118) hide show
  1. package/dist/cdn/37PU5RQF.js +2 -0
  2. package/dist/cdn/{FBVHVWJP.js → 4BUXOQ5X.js} +1 -1
  3. package/dist/cdn/7YEXZHW3.js +2 -0
  4. package/dist/cdn/CXPIQET3.js +2 -0
  5. package/dist/cdn/GFXNIWNG.js +2 -0
  6. package/dist/cdn/{M2ECO3EZ.js → LTUURA6B.js} +1 -1
  7. package/dist/cdn/MXXKVA3L.js +2 -0
  8. package/dist/cdn/{6HRKATQQ.js → S36YQI7W.js} +1 -1
  9. package/dist/cdn/assets/slider-time/t9n/messages.ar.json +1 -1
  10. package/dist/cdn/assets/slider-time/t9n/messages.bg.json +1 -1
  11. package/dist/cdn/assets/slider-time/t9n/messages.bs.json +1 -1
  12. package/dist/cdn/assets/slider-time/t9n/messages.ca.json +1 -1
  13. package/dist/cdn/assets/slider-time/t9n/messages.cs.json +1 -1
  14. package/dist/cdn/assets/slider-time/t9n/messages.da.json +1 -1
  15. package/dist/cdn/assets/slider-time/t9n/messages.de.json +1 -1
  16. package/dist/cdn/assets/slider-time/t9n/messages.el.json +1 -1
  17. package/dist/cdn/assets/slider-time/t9n/messages.es.json +1 -1
  18. package/dist/cdn/assets/slider-time/t9n/messages.et.json +1 -1
  19. package/dist/cdn/assets/slider-time/t9n/messages.fi.json +1 -1
  20. package/dist/cdn/assets/slider-time/t9n/messages.fr.json +1 -1
  21. package/dist/cdn/assets/slider-time/t9n/messages.he.json +1 -1
  22. package/dist/cdn/assets/slider-time/t9n/messages.hr.json +1 -1
  23. package/dist/cdn/assets/slider-time/t9n/messages.hu.json +1 -1
  24. package/dist/cdn/assets/slider-time/t9n/messages.id.json +1 -1
  25. package/dist/cdn/assets/slider-time/t9n/messages.it.json +1 -1
  26. package/dist/cdn/assets/slider-time/t9n/messages.ja.json +1 -1
  27. package/dist/cdn/assets/slider-time/t9n/messages.ko.json +1 -1
  28. package/dist/cdn/assets/slider-time/t9n/messages.lt.json +1 -1
  29. package/dist/cdn/assets/slider-time/t9n/messages.lv.json +1 -1
  30. package/dist/cdn/assets/slider-time/t9n/messages.nl.json +1 -1
  31. package/dist/cdn/assets/slider-time/t9n/messages.no.json +1 -1
  32. package/dist/cdn/assets/slider-time/t9n/messages.pl.json +1 -1
  33. package/dist/cdn/assets/slider-time/t9n/messages.pt-BR.json +1 -1
  34. package/dist/cdn/assets/slider-time/t9n/messages.pt-PT.json +1 -1
  35. package/dist/cdn/assets/slider-time/t9n/messages.ro.json +1 -1
  36. package/dist/cdn/assets/slider-time/t9n/messages.ru.json +1 -1
  37. package/dist/cdn/assets/slider-time/t9n/messages.sk.json +1 -1
  38. package/dist/cdn/assets/slider-time/t9n/messages.sl.json +1 -1
  39. package/dist/cdn/assets/slider-time/t9n/messages.sr.json +1 -1
  40. package/dist/cdn/assets/slider-time/t9n/messages.sv.json +1 -1
  41. package/dist/cdn/assets/slider-time/t9n/messages.th.json +1 -1
  42. package/dist/cdn/assets/slider-time/t9n/messages.tr.json +1 -1
  43. package/dist/cdn/assets/slider-time/t9n/messages.uk.json +1 -1
  44. package/dist/cdn/assets/slider-time/t9n/messages.vi.json +1 -1
  45. package/dist/cdn/assets/slider-time/t9n/messages.zh-CN.json +1 -1
  46. package/dist/cdn/assets/slider-time/t9n/messages.zh-HK.json +1 -1
  47. package/dist/cdn/assets/slider-time/t9n/messages.zh-TW.json +1 -1
  48. package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.en.json +1 -1
  49. package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.en.json +1 -1
  50. package/dist/cdn/assets/utility-network-trace-results/t9n/messages.ar.json +1 -1
  51. package/dist/cdn/assets/utility-network-trace-results/t9n/messages.bg.json +1 -1
  52. package/dist/cdn/assets/utility-network-trace-results/t9n/messages.bs.json +1 -1
  53. package/dist/cdn/assets/utility-network-trace-results/t9n/messages.ca.json +1 -1
  54. package/dist/cdn/assets/utility-network-trace-results/t9n/messages.cs.json +1 -1
  55. package/dist/cdn/assets/utility-network-trace-results/t9n/messages.da.json +1 -1
  56. package/dist/cdn/assets/utility-network-trace-results/t9n/messages.de.json +1 -1
  57. package/dist/cdn/assets/utility-network-trace-results/t9n/messages.el.json +1 -1
  58. package/dist/cdn/assets/utility-network-trace-results/t9n/messages.es.json +1 -1
  59. package/dist/cdn/assets/utility-network-trace-results/t9n/messages.et.json +1 -1
  60. package/dist/cdn/assets/utility-network-trace-results/t9n/messages.fi.json +1 -1
  61. package/dist/cdn/assets/utility-network-trace-results/t9n/messages.fr.json +1 -1
  62. package/dist/cdn/assets/utility-network-trace-results/t9n/messages.he.json +1 -1
  63. package/dist/cdn/assets/utility-network-trace-results/t9n/messages.hr.json +1 -1
  64. package/dist/cdn/assets/utility-network-trace-results/t9n/messages.hu.json +1 -1
  65. package/dist/cdn/assets/utility-network-trace-results/t9n/messages.id.json +1 -1
  66. package/dist/cdn/assets/utility-network-trace-results/t9n/messages.it.json +1 -1
  67. package/dist/cdn/assets/utility-network-trace-results/t9n/messages.ja.json +1 -1
  68. package/dist/cdn/assets/utility-network-trace-results/t9n/messages.ko.json +1 -1
  69. package/dist/cdn/assets/utility-network-trace-results/t9n/messages.lt.json +1 -1
  70. package/dist/cdn/assets/utility-network-trace-results/t9n/messages.lv.json +1 -1
  71. package/dist/cdn/assets/utility-network-trace-results/t9n/messages.nl.json +1 -1
  72. package/dist/cdn/assets/utility-network-trace-results/t9n/messages.no.json +1 -1
  73. package/dist/cdn/assets/utility-network-trace-results/t9n/messages.pl.json +1 -1
  74. package/dist/cdn/assets/utility-network-trace-results/t9n/messages.pt-BR.json +1 -1
  75. package/dist/cdn/assets/utility-network-trace-results/t9n/messages.pt-PT.json +1 -1
  76. package/dist/cdn/assets/utility-network-trace-results/t9n/messages.ro.json +1 -1
  77. package/dist/cdn/assets/utility-network-trace-results/t9n/messages.ru.json +1 -1
  78. package/dist/cdn/assets/utility-network-trace-results/t9n/messages.sk.json +1 -1
  79. package/dist/cdn/assets/utility-network-trace-results/t9n/messages.sl.json +1 -1
  80. package/dist/cdn/assets/utility-network-trace-results/t9n/messages.sr.json +1 -1
  81. package/dist/cdn/assets/utility-network-trace-results/t9n/messages.sv.json +1 -1
  82. package/dist/cdn/assets/utility-network-trace-results/t9n/messages.th.json +1 -1
  83. package/dist/cdn/assets/utility-network-trace-results/t9n/messages.tr.json +1 -1
  84. package/dist/cdn/assets/utility-network-trace-results/t9n/messages.uk.json +1 -1
  85. package/dist/cdn/assets/utility-network-trace-results/t9n/messages.vi.json +1 -1
  86. package/dist/cdn/assets/utility-network-trace-results/t9n/messages.zh-CN.json +1 -1
  87. package/dist/cdn/assets/utility-network-trace-results/t9n/messages.zh-HK.json +1 -1
  88. package/dist/cdn/assets/utility-network-trace-results/t9n/messages.zh-TW.json +1 -1
  89. package/dist/cdn/index.js +1 -1
  90. package/dist/chunks/useArcgisViewReadyError.js +115 -56
  91. package/dist/components/arcgis-directions/customElement.js +4 -4
  92. package/dist/components/arcgis-link-chart/customElement.d.ts +1 -0
  93. package/dist/components/arcgis-link-chart/customElement.js +13 -10
  94. package/dist/components/arcgis-map/customElement.d.ts +1 -0
  95. package/dist/components/arcgis-map/customElement.js +13 -10
  96. package/dist/components/arcgis-scene/customElement.d.ts +1 -0
  97. package/dist/components/arcgis-scene/customElement.js +23 -20
  98. package/dist/components/arcgis-search/customElement.js +6 -6
  99. package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +21 -21
  100. package/dist/components/arcgis-utility-network-trace-inputs/customElement.d.ts +4 -4
  101. package/dist/components/arcgis-utility-network-trace-inputs/customElement.js +16 -16
  102. package/dist/components/arcgis-utility-network-validate-network-topology/customElement.d.ts +161 -35
  103. package/dist/components/arcgis-utility-network-validate-topology/customElement.d.ts +5 -1
  104. package/dist/docs/api.json +1 -1
  105. package/dist/docs/docs.json +1 -1
  106. package/dist/docs/vscode.html-custom-data.json +1 -1
  107. package/dist/docs/web-types.json +1 -1
  108. package/dist/loader.js +3 -3
  109. package/dist/types/lumina.d.ts +1 -1
  110. package/dist/types/preact.d.ts +1 -1
  111. package/dist/types/react.d.ts +1 -1
  112. package/dist/types/stencil.d.ts +1 -1
  113. package/package.json +4 -4
  114. package/dist/cdn/4T6TILWS.js +0 -2
  115. package/dist/cdn/FM2ZJK25.js +0 -2
  116. package/dist/cdn/HIYCE253.js +0 -2
  117. package/dist/cdn/HW3D7A2P.js +0 -2
  118. package/dist/cdn/X6BCGFB3.js +0 -2
@@ -1,23 +1,23 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- import { html as u } from "lit";
3
- import { when as p, watch as s } from "@arcgis/core/core/reactiveUtils.js";
4
- import { GenericController as h, useDirection as c, makeGenericController as a } from "@arcgis/lumina/controllers";
5
- import { getSlotAssignedElements as m } from "@arcgis/toolkit/dom";
6
- import { createRef as f } from "lit/directives/ref.js";
7
- import { c as E, S as d } from "./slots.js";
8
- import { createEvent as l } from "@arcgis/lumina";
9
- class _ extends h {
2
+ import { html as c } from "lit";
3
+ import { when as n, watch as r } from "@arcgis/core/core/reactiveUtils.js";
4
+ import { GenericController as u, useDirection as m, makeGenericController as l } from "@arcgis/lumina/controllers";
5
+ import { getSlotAssignedElements as d } from "@arcgis/toolkit/dom";
6
+ import { createRef as E } from "lit/directives/ref.js";
7
+ import { c as f, S as w } from "./slots.js";
8
+ import { createEvent as a } from "@arcgis/lumina";
9
+ class y extends u {
10
10
  //#endregion
11
11
  //#region Lifecycle
12
- constructor(t) {
13
- super(t), this.direction = c(), this.popupRef = f(), this.slotGroupRefs = E(), this.attributionHeight = 0, this._uiContainer = null, this.component.listen("arcgisViewClick", (o) => {
14
- const e = o.detail.native;
15
- o.detail.button !== 0 || e?.ctrlKey || e?.metaKey || this._handleOpenPopup(o.detail);
12
+ constructor(e) {
13
+ super(e), this.direction = m(), this.popupRef = E(), this.slotGroupRefs = f(), this.attributionHeight = 0, this._uiContainer = null, this.component.listen("arcgisViewClick", (o) => {
14
+ const t = o.detail.native;
15
+ o.detail.button !== 0 || t?.ctrlKey || t?.metaKey || this._handleOpenPopup(o.detail);
16
16
  }), this.component.listenOn(globalThis, "unhandledrejection", (o) => {
17
- const e = o.reason;
18
- if (e?.name === "webgl:required") {
19
- const { name: i } = e;
20
- this.webGLError = { name: i };
17
+ const t = o.reason;
18
+ if (t?.name === "webgl:required") {
19
+ const { name: p } = t;
20
+ this.webGLError = { name: p };
21
21
  }
22
22
  });
23
23
  }
@@ -25,22 +25,22 @@ class _ extends h {
25
25
  //#region Private Methods
26
26
  hostLifecycle() {
27
27
  return [
28
- p(() => this.component.view.ready, () => {
28
+ n(() => this.component.view.ready, () => {
29
29
  this._assignDefaultPopup();
30
30
  }),
31
31
  // Close component popup when view popup is opened
32
- p(() => this.component.view.popup?.visible, () => {
32
+ n(() => this.component.view.popup?.visible, () => {
33
33
  this.popupElement?.open && (this.popupElement.open = !1);
34
34
  })
35
35
  ];
36
36
  }
37
- async openPopup(t) {
37
+ async openPopup(e) {
38
38
  if (this._assignDefaultPopup(), this.closePopup(), this.popupElement) {
39
39
  await this.popupElement.componentOnReady(), this.popupElement.open = !0;
40
- const { fetchFeatures: o } = t;
41
- delete t.fetchFeatures, Object.assign(this.popupElement, t), o && this.popupElement.fetchFeatures();
40
+ const { fetchFeatures: o } = e;
41
+ delete e.fetchFeatures, Object.assign(this.popupElement, e), o && this.popupElement.fetchFeatures();
42
42
  } else
43
- await this.component.view.openPopup(t);
43
+ await this.component.view.openPopup(e);
44
44
  }
45
45
  closePopup() {
46
46
  this.popupElement && (this.popupElement.open = !1), this.component.view.closePopup();
@@ -48,68 +48,127 @@ class _ extends h {
48
48
  _assignDefaultPopup() {
49
49
  this.popupRef.value && !this.popupElement && (this.popupElement = this.popupRef.value, this.popupElement.referenceElement = this.component.el, this.popupElement.view = this.component.view);
50
50
  }
51
- handleAttributionHeightChange(t) {
52
- if (!(this.attributionHeight === t || !this.component.el.shadowRoot)) {
53
- if (this.attributionHeight = t, !this._uiContainer) {
51
+ handleAttributionHeightChange(e) {
52
+ if (!(this.attributionHeight === e || !this.component.el.shadowRoot)) {
53
+ if (this.attributionHeight = e, !this._uiContainer) {
54
54
  const o = this.component.el.shadowRoot.querySelector(".arcgis-map-container-ui");
55
55
  this._uiContainer = o;
56
56
  }
57
57
  this._uiContainer?.style.setProperty("--arcgis-internal-attribution-space-top", `${this.attributionHeight}px`);
58
58
  }
59
59
  }
60
- async _handleOpenPopup(t) {
61
- if (this._assignDefaultPopup(), this.popupElement && !this.component.popupDisabled) {
62
- t.stopPropagation();
63
- const { location: o, promises: e } = await this.popupElement.handleViewClick(t);
64
- e?.length ? this.openPopup({ location: o, promises: e }) : this.popupElement.open && this.closePopup();
60
+ _maybeDisableViewPopup() {
61
+ this.component.view && (this.component.popupComponentEnabled || this.popupElement) && (this.previousViewPopupEnabled = this.component.view.popupEnabled, this.component.view.popupEnabled = !1);
62
+ }
63
+ _maybeResetViewPopup() {
64
+ this.component.view && this.previousViewPopupEnabled !== void 0 && (this.component.view.popupEnabled = this.previousViewPopupEnabled, this.previousViewPopupEnabled = void 0);
65
+ }
66
+ async _handleOpenPopup(e) {
67
+ if (this._assignDefaultPopup(), !this.component.popupDisabled) {
68
+ if (this._maybeDisableViewPopup(), this.popupElement) {
69
+ const { location: o, promises: t } = await this.popupElement?.handleViewClick(e) ?? {};
70
+ t?.length ? this.openPopup({ location: o, promises: t }) : this.popupElement?.open && this.closePopup();
71
+ }
72
+ this._maybeResetViewPopup();
65
73
  }
66
74
  }
67
- _handlePopupSlotChange(t) {
68
- const o = m(t.target, "arcgis-popup");
75
+ _handlePopupSlotChange(e) {
76
+ const o = d(e.target, "arcgis-popup");
69
77
  !this.popupElement && o.length ? this.popupElement = o[0] : o.length || (this.popupElement = void 0);
70
78
  }
71
79
  _webGLErrorAlert() {
72
- return this.webGLError ? u`<arcgis-webgl-error .errorName=${this.webGLError.name}></arcgis-webgl-error>` : null;
80
+ return this.webGLError ? c`<arcgis-webgl-error .errorName=${this.webGLError.name}></arcgis-webgl-error>` : null;
73
81
  }
74
82
  //#endregion
75
83
  //#region Rendering
76
84
  render() {
77
- return d({ direction: this.direction, popupComponentEnabled: this.component.popupComponentEnabled, slotGroupRefs: this.slotGroupRefs, handlePopupSlotChange: (t) => this._handlePopupSlotChange(t), webGLErrorElement: this._webGLErrorAlert(), popupElement: this.popupRef });
85
+ return w({ direction: this.direction, popupComponentEnabled: this.component.popupComponentEnabled, slotGroupRefs: this.slotGroupRefs, handlePopupSlotChange: (e) => this._handlePopupSlotChange(e), webGLErrorElement: this._webGLErrorAlert(), popupElement: this.popupRef });
78
86
  }
79
87
  }
80
- const v = a((n, t) => {
81
- const o = l();
82
- return t.onLifecycle(
83
- () => s(
88
+ const V = l((i, e) => {
89
+ const o = a();
90
+ return e.onLifecycle(
91
+ () => r(
84
92
  () => {
85
- const { map: e } = n;
86
- if (!e || e.destroyed)
93
+ const { map: t } = i;
94
+ if (!t || t.destroyed)
87
95
  return [];
88
- const i = [];
89
- return e.loadError && i.push(e), e.basemap?.loadError && i.push(e.basemap), e.ground.loadError && i.push(e.ground), [...e.allLayers, ...e.allTables].forEach((r) => {
90
- r.loadError && i.push(r);
91
- }), i;
96
+ const p = [];
97
+ return t.loadError && p.push(t), t.basemap?.loadError && p.push(t.basemap), t.ground.loadError && p.push(t.ground), [...t.allLayers, ...t.allTables].forEach((s) => {
98
+ s.loadError && p.push(s);
99
+ }), p;
92
100
  },
93
- (e) => {
94
- e.length && (n.loadErrorSources = e, o.emit());
101
+ (t) => {
102
+ t.length && (i.loadErrorSources = t, o.emit());
95
103
  }
96
104
  )
97
105
  ), o;
98
- }), G = a(
99
- (n, t) => {
100
- const o = l();
101
- return t.onLifecycle(
102
- () => s(
103
- () => n.view?.readyState,
104
- (e) => {
105
- (e === "map-content-error" || e === "rendering-error") && o.emit();
106
+ });
107
+ function h(i = document) {
108
+ const e = i.activeElement;
109
+ if (e)
110
+ return e.shadowRoot && e.shadowRoot.activeElement !== null ? h(e.shadowRoot) : e;
111
+ }
112
+ class L extends u {
113
+ #e;
114
+ #t;
115
+ #o;
116
+ focusPopup() {
117
+ const e = h();
118
+ this.#i(), this.component.popupElement && (this.component.popupElement.setFocus(), this.#e = this._watchPopupElementClose(() => {
119
+ this.#e = void 0, this.focusOnReturnFocusElement(e);
120
+ })), this.#o = this._watchViewPopupOpen(() => {
121
+ this.#o = void 0, this._popup?.focus(), this.#t = this._watchViewPopupClose(() => {
122
+ this.#t = void 0, this.focusOnReturnFocusElement(e);
123
+ });
124
+ });
125
+ }
126
+ focusOnReturnFocusElement(e) {
127
+ e && "setFocus" in e ? e.setFocus?.() : e?.focus();
128
+ }
129
+ hostDisconnected() {
130
+ this.#i();
131
+ }
132
+ get _popup() {
133
+ return this.component.popup ?? this.component.view?.popup;
134
+ }
135
+ #i() {
136
+ this.#e?.remove(), this.#t?.remove(), this.#o?.remove(), this.#e = void 0, this.#t = void 0, this.#o = void 0;
137
+ }
138
+ _watchPopupElementClose(e) {
139
+ return this.component.popupElement?.addEventListener("arcgisClose", e, { once: !0 }), {
140
+ remove: () => {
141
+ this.component.popupElement?.removeEventListener("arcgisClose", e);
142
+ }
143
+ };
144
+ }
145
+ _watchViewPopupOpen(e) {
146
+ return n(() => this._popup?.visible, e, { once: !0, initial: !0, sync: !0 });
147
+ }
148
+ _watchViewPopupClose(e) {
149
+ return this._popup?.container?.addEventListener("calciteFlowItemClose", e, { once: !0 }), {
150
+ remove: () => {
151
+ this._popup?.container?.removeEventListener("calciteFlowItemClose", e);
152
+ }
153
+ };
154
+ }
155
+ }
156
+ const G = l(
157
+ (i, e) => {
158
+ const o = a();
159
+ return e.onLifecycle(
160
+ () => r(
161
+ () => i.view?.readyState,
162
+ (t) => {
163
+ (t === "map-content-error" || t === "rendering-error") && o.emit();
106
164
  }
107
165
  )
108
166
  ), o;
109
167
  }
110
168
  );
111
169
  export {
112
- _ as U,
170
+ L as P,
171
+ y as U,
113
172
  G as a,
114
- v as u
173
+ V as u
115
174
  };
@@ -1,15 +1,15 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
2
  import { c as a } from "../../chunks/runtime.js";
3
3
  import { usePropertyChange as s } from "@arcgis/lumina/controllers";
4
- import { watch as n } from "@arcgis/core/core/reactiveUtils.js";
4
+ import { watch as c } from "@arcgis/core/core/reactiveUtils.js";
5
5
  import o from "@arcgis/core/layers/RouteLayer.js";
6
- import c from "@arcgis/core/widgets/Directions.js";
6
+ import n from "@arcgis/core/widgets/Directions.js";
7
7
  import { LitElement as l, createEvent as d } from "@arcgis/lumina";
8
8
  import { m as g } from "../../chunks/useWidget.js";
9
9
  import { d as p } from "../../chunks/component-utils.js";
10
10
  import { css as h } from "lit";
11
11
  import { u as m } from "../../chunks/useLayerById.js";
12
- const f = h`.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}.esri-widget{box-sizing:border-box;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget *,.esri-widget :before,.esri-widget :after{box-sizing:inherit}.esri-widget.esri-widget--disabled>*{opacity:.4;pointer-events:none}.esri-widget.esri-widget--compact{--esri-widget-padding-y: 0;--esri-widget-padding-x: 0}.esri-widget__anchor{color:var(--calcite-color-text-2)}.esri-widget__anchor:hover{color:var(--calcite-color-text-3)}.esri-widget__anchor:hover,.esri-widget__anchor:focus{text-decoration:underline}.esri-widget__anchor--disabled{opacity:.4;pointer-events:none}.esri-widget__header{background-color:var(--calcite-color-foreground-1);flex:1 0 100%;justify-content:space-between;align-items:center;width:100%;min-height:48px;padding:12px 0 12px 15px;display:flex}.esri-widget__heading{word-break:break-word}.esri-widget__header .esri-widget__heading{width:calc(100% - 48px);text-align:initial;color:var(--calcite-color-text-1);align-items:center;margin:0;padding:0;display:flex}.esri-widget__header-button{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);border:none;flex:0 0 48px;justify-content:center;align-self:stretch;align-items:center;width:48px;padding:0;display:flex}.esri-widget__footer{background-color:var(--calcite-color-foreground-1);justify-content:center;align-items:center;width:100%;min-height:48px;display:flex}.esri-widget__footer-pagination{color:var(--calcite-color-text-2);justify-content:space-between;align-items:center;display:flex}.esri-widget__footer-pagination-previous-button,.esri-widget__footer-pagination-next-button{cursor:pointer;background-color:var(--calcite-color-foreground-1);border:0;margin:0 7px;padding:12px 15px;transition:background-color .125s ease-in-out}.esri-widget__footer-pagination-previous-button:hover,.esri-widget__footer-pagination-previous-button:focus,.esri-widget__footer-pagination-next-button:hover,.esri-widget__footer-pagination-next-button:focus{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1)}.esri-menu{visibility:hidden;z-index:1;background-clip:padding;background-color:var(--calcite-color-foreground-1);background-clip:padding-box;width:100%;max-height:0;margin:2px 0 0;padding:0;font-size:var(--calcite-font-size);line-height:var(--calcite-spacing-xl);position:absolute;top:100%;left:0;overflow:hidden;box-shadow:0 1px 2px #0000004d}.esri-menu .esri-menu__header{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-inverse);padding:6px 12px}.esri-menu__list{margin:0;padding:0;list-style:none}.esri-menu__list-item{cursor:pointer;border-top:1px solid #adadad4d;border-left:3px solid #0000;padding:.8em 1em}.esri-menu__list-item [class^=esri-icon-],.esri-menu__list-item [class*=" esri-icon-"]{padding-right:2.8px}.esri-menu__list-item:first-child{border-top:none}.esri-menu__list-item--focus,.esri-menu__list-item:hover,.esri-menu__list-item:focus{background-color:var(--calcite-color-foreground-1)}.esri-menu__list-item:active{background-color:var(--calcite-color-foreground-current)}.esri-menu__list-item--active,.esri-menu__list-item--active:hover,.esri-menu__list-item--active:focus{background-color:var(--calcite-color-foreground-1);border-left-color:var(--calcite-color-brand)}.esri-widget__table{border-collapse:collapse;color:var(--calcite-color-text-1);border:none;width:100%;line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget__table tr:nth-child(odd){background-color:var(--calcite-color-transparent)}.esri-widget__table tr:nth-child(2n){background-color:var(--calcite-color-transparent-press)}.esri-widget__table tr a{color:var(--calcite-color-text-2)}.esri-widget__table tr a:hover,.esri-widget__table tr a:focus{color:var(--calcite-color-text-1)}.esri-widget__table tr td,.esri-widget__table tr th{vertical-align:top;word-break:break-word;padding:.5em .7em;font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular)}.esri-widget__table tr th{text-align:left;border-right:3px solid #0000000d;width:50%}.esri-widget__table tr td{width:50%}.esri-input{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1);border:1px solid #959595;font-size:var(--calcite-font-size)}.esri-input::-ms-clear{display:none}.esri-input::placeholder{opacity:1;color:var(--calcite-color-text-2)}.esri-input:placeholder-shown{text-overflow:ellipsis}.esri-input[type=text],.esri-input[type=password],.esri-input[type=number]{height:32px;padding:0 .5em}calcite-combobox.esri-input{border:none}.esri-widget__content--empty{text-align:center;color:var(--calcite-color-border-input);flex-flow:column wrap;align-items:center;padding:18px 22px;display:flex}.esri-widget__content--empty h1.esri-widget__heading,.esri-widget__content--empty h2.esri-widget__heading,.esri-widget__content--empty h3.esri-widget__heading,.esri-widget__content--empty h4.esri-widget__heading,.esri-widget__content--empty h5.esri-widget__heading{font-weight:var(--calcite-font-weight-regular)}.esri-widget__content-illustration--empty{width:128px;padding:1rem 0}.esri-widget__content-icon--empty{width:32px;padding:.5rem 0}.esri-select{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background:var(--calcite-color-foreground-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -8 32 32' width='32' height='32'%3E%3Cpath d='M8 11.207l-4-4V5.793l4 4 4-4v1.414z' fill='%23adadad' fillrule='nonzero'/%3E%3C/svg%3E") 100% no-repeat;border:1px solid #959595;border-radius:0;width:100%;height:32px;margin:0;padding:0 .5em;font-family:inherit;font-size:.85em;display:block}.esri-select[disabled]{cursor:auto}.esri-select::-ms-expand{display:none}.esri-disabled a,.esri-disabled [role=menu],.esri-disabled [role=checkbox],.esri-disabled [class^=esri-icon-],.esri-disabled [class*=" esri-icon-"]{color:var(--calcite-color-text-3)}.keynav-mode .esri-widget:focus,.keynav-mode .esri-widget :focus{z-index:1;outline-offset:2px;outline:2px solid #adadad}.esri-widget__loader-animation{border:.15em solid #adadad4d;border-top-color:var(--calcite-color-border-input);border-radius:100%;width:1em;height:1em;font-size:var(--calcite-font-size-md);animation:1.25s linear infinite esri-rotate;display:block;transform:translateZ(0)}:dir(rtl) .esri-widget__table th{text-align:right;border-left:3px solid #0000000d;border-right:none}:dir(rtl) .esri-select{background-position:0}:dir(rtl) .esri-menu__list-item{border-left:none;border-right:3px solid #0000}:dir(rtl) .esri-menu__list-item [class^=esri-icon-],:dir(rtl) .esri-menu__list-item [class*=" esri-icon-"]{padding-left:2px;padding-right:0}:dir(rtl) .esri-menu__list-item--active{border-right-color:var(--calcite-color-brand)}.esri-icon-font-fallback-text{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.esri-rotating{animation:1.25s linear infinite esri-rotate;transform:translateZ(0)}.esri-clearfix:before,.esri-clearfix:after{content:" ";display:table}.esri-clearfix:after{clear:both}.esri-interactive{cursor:pointer}.esri-hidden{display:none!important}.esri-invisible{visibility:hidden!important}.esri-offscreen{position:absolute;top:-999em;left:-999em}.esri-match-height{flex-direction:column;flex:auto;display:flex;overflow:hidden}.esri-search{flex-flow:row;justify-content:center;align-items:center;width:240px;display:flex}.esri-search__dropdown{--calcite-color-border-1: var(--calcite-color-border-input);--calcite-dropdown-width: 240px;width:31px}.esri-search__autocomplete{flex:1}.esri-search__container{flex-flow:row;flex:1 0 100%;align-items:stretch;display:flex;position:relative}.esri-search__form{flex-flow:row;flex:1 0;align-items:stretch;margin:0;padding:0;display:flex}.esri-search-result-renderer calcite-block,.esri-search-result-renderer calcite-block[expanded]{margin-block:0;border:0;margin-block-start:var(--calcite-spacing-md)}.esri-search__submit-button{position:absolute;margin:-1px;border-width:0;padding:0;width:1px;height:1px;overflow:hidden;white-space:nowrap;clip:rect(0,0,0,0)}:host{display:flex}.esri-directions{display:flex;flex:1 1 auto;overflow:hidden}.esri-directions calcite-flow-item{--calcite-color-background: var(--calcite-color-foreground-1)}.esri-directions calcite-flow{z-index:1;position:relative}.esri-directions__accordion{--calcite-accordion-border-color: transparent}.esri-directions__stop-container{--calcite-list-border-color: transparent;--calcite-list-background-color-hover: var(--calcite-color-foreground-1);margin-block-start:var(--calcite-spacing-sm);display:flex}.esri-directions__stop-list{flex:auto}.esri-directions__action-container{margin-top:var(--calcite-spacing-sm);margin-inline:var(--calcite-spacing-sm);display:flex}.esri-directions__add-stop-button{margin-inline-end:var(--calcite-spacing-xs)}.esri-directions__departure-time{--calcite-label-margin-bottom: 0}.esri-directions__departure-time-options{margin-bottom:var(--calcite-spacing-sm);display:flex}.esri-directions__departure-time-options calcite-input-date-picker,.esri-directions__departure-time-options calcite-input-time-picker{flex:1}.esri-directions__directions-header{line-height:var(--calcite-font-line-height-relative-snug);color:var(--calcite-color-text-3);font-size:var(--calcite-font-size--2);flex-direction:column;display:flex}.esri-directions__header-stops{gap:var(--calcite-spacing-base) var(--calcite-spacing-xxs);font-size:var(--calcite-font-size--1);grid-template-columns:auto 1fr;margin-block-end:var(--calcite-spacing-base);display:grid}.esri-directions__directions-header-stop-name{text-overflow:ellipsis;color:var(--calcite-color-text-1);font-weight:var(--calcite-font-weight-medium);overflow:hidden}.esri-directions__edit-footer{border-top:var(--calcite-border-width-sm) solid var(--calcite-color-border-3);padding:var(--calcite-spacing-md)}.esri-directions__edit-information-container{border-bottom:var(--calcite-border-width-sm) solid var(--calcite-color-border-3);background-color:var(--calcite-color-surface-1);padding:var(--calcite-spacing-md)}.esri-directions__edit-toolbar-container{margin:var(--calcite-spacing-md);flex-flow:column;align-items:flex-start;display:flex}.esri-directions__edit-toolbar{border-width:var(--calcite-border-width-sm);border-radius:var(--calcite-corner-radius-round);border-style:solid;border-color:var(--calcite-color-foreground-3);flex-flow:row;display:flex;overflow:hidden}.esri-directions__solve-route{border-inline-start:solid var(--calcite-border-width-sm) var(--calcite-color-border-3)}.esri-directions__flex-column{flex-direction:column;display:flex}.esri-directions__flex-row{flex-direction:row;display:flex}.esri-directions__label-emphasize{font-weight:var(--calcite-font-weight-medium)}.esri-directions__label-no-bottom-margin{--calcite-label-margin-bottom: 0}.esri-directions__margin-inline-medium{margin-inline:var(--calcite-spacing-md)}.esri-directions__padding-medium{padding:var(--calcite-spacing-md)}.esri-directions__route-item{margin:var(--calcite-spacing-md);border:var(--calcite-border-width-sm) solid var(--calcite-color-border-3);border-radius:var(--calcite-corner-radius-round);flex:1 0 auto;width:auto;margin-block-start:var(--calcite-spacing-sm);display:flex;overflow:hidden}.esri-directions__route-item-button{background-color:var(--calcite-color-foreground-1);padding:var(--calcite-spacing-sm) var(--calcite-spacing-md);text-align:unset;font-family:var(--calcite-font-family);border:none;flex:1 0 auto;align-items:center;margin:0;padding-inline-end:var(--calcite-spacing-xs);display:flex}.esri-directions__route-item-button:hover{background-color:var(--calcite-color-foreground-2);cursor:pointer}.esri-directions__route-item-button-content{flex-direction:column;flex:1 0 auto;display:flex}.esri-directions__route-item-label{line-height:var(--calcite-font-line-height-relative-snug);color:var(--calcite-color-text-1);font-size:var(--calcite-font-size-md);font-weight:var(--calcite-font-weight-medium)}.esri-directions__route-item-description{line-height:var(--calcite-font-line-height-relative-snug);color:var(--calcite-color-text-3);font-size:var(--calcite-font-size--2);font-weight:var(--calcite-font-weight-regular)}.esri-directions__optimize-section{--calcite-block-section-header-text-color: var(--calcite-color-text-1)}.esri-directions__optimize-switches{cursor:pointer;margin-inline-start:var(--calcite-spacing-md)}.esri-directions__panel-header-action{align-items:center;display:flex}.esri-directions__primary-flow-item{flex-flow:column;flex:auto;justify-content:flex-start;align-items:stretch;display:flex;overflow:visible}.esri-directions__primary-footer{border-top:var(--calcite-border-width-sm) solid var(--calcite-color-border-3);padding:var(--calcite-spacing-md)}.esri-directions__primary-footer-centered{border-top:var(--calcite-border-width-sm) solid var(--calcite-color-border-3);padding:var(--calcite-spacing-md);flex-flow:column wrap;align-items:center;display:flex}.esri-directions__primary-footer-loader{--calcite-loader-spacing: 0;margin-top:var(--calcite-spacing-md);margin-bottom:var(--calcite-spacing-md)}.esri-directions__save-error{flex-direction:column;align-items:center;display:flex}.esri-directions__save-error-icon{margin-top:calc(var(--calcite-spacing-lg) * 3);margin-bottom:var(--calcite-spacing-xxs);color:var(--calcite-color-status-danger)}.esri-directions__save-error-label{margin-inline:var(--calcite-spacing-sm)}.esri-directions__save-process-loader{padding-top:calc(var(--calcite-spacing-lg) * 3);padding-bottom:calc(var(--calcite-spacing-lg) * 2)}.esri-directions__selected-feature-container{margin-inline:var(--calcite-spacing-md);height:100px;overflow-y:auto}.esri-directions__separator{margin:var(--calcite-spacing-md) 0;background-color:var(--calcite-color-border-3);height:var(--calcite-border-width-sm)}.esri-directions__stop-item .esri-search{width:auto}.esri-directions__print-document{box-sizing:border-box;z-index:var(--calcite-z-index-overlay);background-color:var(--calcite-color-foreground-1);width:100%;height:100%;position:fixed;top:0;left:0;overflow-y:scroll}.esri-directions__print-body{padding-inline:var(--calcite-spacing-md);flex-direction:column;display:flex}.esri-directions__print-header{margin-bottom:var(--calcite-spacing-lg);border-block-end:var(--calcite-border-width-sm) solid var(--calcite-color-border-3);align-items:center;display:flex}.esri-directions__print-header-label{padding-block:var(--calcite-spacing-sm);line-height:var(--calcite-font-line-height-relative-snug);color:var(--calcite-color-text-3);font-size:var(--calcite-font-size--2);font-weight:var(--calcite-font-weight-bold);flex-direction:column;flex-grow:1;display:flex}.esri-directions__print-section{margin-top:var(--calcite-spacing-md);flex-direction:column;display:flex}.esri-directions__print-header-buttons{padding-inline-end:var(--calcite-spacing-md);display:flex}.esri-directions__print--avoid-page-break{break-inside:avoid}@media print{body.esri-directions__print-media{margin:0;padding:0}body.esri-directions__print-media>:not(div.esri-directions__print-document){display:none}}@media print{.esri-directions__print-document{height:auto;position:static;overflow:visible}.esri-directions__print--hide-on-print{display:none}}`, u = g(c), t = "map-components:arcgis-directions";
12
+ const f = h`.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}.esri-widget{box-sizing:border-box;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget *,.esri-widget :before,.esri-widget :after{box-sizing:inherit}.esri-widget.esri-widget--disabled>*{opacity:.4;pointer-events:none}.esri-widget.esri-widget--compact{--esri-widget-padding-y: 0;--esri-widget-padding-x: 0}.esri-widget__anchor{color:var(--calcite-color-text-2)}.esri-widget__anchor:hover{color:var(--calcite-color-text-3)}.esri-widget__anchor:hover,.esri-widget__anchor:focus{text-decoration:underline}.esri-widget__anchor--disabled{opacity:.4;pointer-events:none}.esri-widget__header{background-color:var(--calcite-color-foreground-1);flex:1 0 100%;justify-content:space-between;align-items:center;width:100%;min-height:48px;padding:12px 0 12px 15px;display:flex}.esri-widget__heading{word-break:break-word}.esri-widget__header .esri-widget__heading{width:calc(100% - 48px);text-align:initial;color:var(--calcite-color-text-1);align-items:center;margin:0;padding:0;display:flex}.esri-widget__header-button{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);border:none;flex:0 0 48px;justify-content:center;align-self:stretch;align-items:center;width:48px;padding:0;display:flex}.esri-widget__footer{background-color:var(--calcite-color-foreground-1);justify-content:center;align-items:center;width:100%;min-height:48px;display:flex}.esri-widget__footer-pagination{color:var(--calcite-color-text-2);justify-content:space-between;align-items:center;display:flex}.esri-widget__footer-pagination-previous-button,.esri-widget__footer-pagination-next-button{cursor:pointer;background-color:var(--calcite-color-foreground-1);border:0;margin:0 7px;padding:12px 15px;transition:background-color .125s ease-in-out}.esri-widget__footer-pagination-previous-button:hover,.esri-widget__footer-pagination-previous-button:focus,.esri-widget__footer-pagination-next-button:hover,.esri-widget__footer-pagination-next-button:focus{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1)}.esri-menu{visibility:hidden;z-index:1;background-clip:padding;background-color:var(--calcite-color-foreground-1);background-clip:padding-box;width:100%;max-height:0;margin:2px 0 0;padding:0;font-size:var(--calcite-font-size);line-height:var(--calcite-spacing-xl);position:absolute;top:100%;left:0;overflow:hidden;box-shadow:0 1px 2px #0000004d}.esri-menu .esri-menu__header{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-inverse);padding:6px 12px}.esri-menu__list{margin:0;padding:0;list-style:none}.esri-menu__list-item{cursor:pointer;border-top:1px solid #adadad4d;border-left:3px solid #0000;padding:.8em 1em}.esri-menu__list-item [class^=esri-icon-],.esri-menu__list-item [class*=" esri-icon-"]{padding-right:2.8px}.esri-menu__list-item:first-child{border-top:none}.esri-menu__list-item--focus,.esri-menu__list-item:hover,.esri-menu__list-item:focus{background-color:var(--calcite-color-foreground-1)}.esri-menu__list-item:active{background-color:var(--calcite-color-foreground-current)}.esri-menu__list-item--active,.esri-menu__list-item--active:hover,.esri-menu__list-item--active:focus{background-color:var(--calcite-color-foreground-1);border-left-color:var(--calcite-color-brand)}.esri-widget__table{border-collapse:collapse;color:var(--calcite-color-text-1);border:none;width:100%;line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget__table tr:nth-child(odd){background-color:var(--calcite-color-transparent)}.esri-widget__table tr:nth-child(2n){background-color:var(--calcite-color-transparent-press)}.esri-widget__table tr a{color:var(--calcite-color-text-2)}.esri-widget__table tr a:hover,.esri-widget__table tr a:focus{color:var(--calcite-color-text-1)}.esri-widget__table tr td,.esri-widget__table tr th{vertical-align:top;word-break:break-word;padding:.5em .7em;font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular)}.esri-widget__table tr th{text-align:left;border-right:3px solid #0000000d;width:50%}.esri-widget__table tr td{width:50%}.esri-input{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1);border:1px solid #959595;font-size:var(--calcite-font-size)}.esri-input::-ms-clear{display:none}.esri-input::placeholder{opacity:1;color:var(--calcite-color-text-2)}.esri-input:placeholder-shown{text-overflow:ellipsis}.esri-input[type=text],.esri-input[type=password],.esri-input[type=number]{height:32px;padding:0 .5em}calcite-combobox.esri-input{border:none}.esri-widget__content--empty{text-align:center;color:var(--calcite-color-border-input);flex-flow:column wrap;align-items:center;padding:18px 22px;display:flex}.esri-widget__content--empty h1.esri-widget__heading,.esri-widget__content--empty h2.esri-widget__heading,.esri-widget__content--empty h3.esri-widget__heading,.esri-widget__content--empty h4.esri-widget__heading,.esri-widget__content--empty h5.esri-widget__heading{font-weight:var(--calcite-font-weight-regular)}.esri-widget__content-illustration--empty{width:128px;padding:1rem 0}.esri-widget__content-icon--empty{width:32px;padding:.5rem 0}.esri-select{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background:var(--calcite-color-foreground-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -8 32 32' width='32' height='32'%3E%3Cpath d='M8 11.207l-4-4V5.793l4 4 4-4v1.414z' fill='%23adadad' fillrule='nonzero'/%3E%3C/svg%3E") 100% no-repeat;border:1px solid #959595;border-radius:0;width:100%;height:32px;margin:0;padding:0 .5em;font-family:inherit;font-size:.85em;display:block}.esri-select[disabled]{cursor:auto}.esri-select::-ms-expand{display:none}.esri-disabled a,.esri-disabled [role=menu],.esri-disabled [role=checkbox],.esri-disabled [class^=esri-icon-],.esri-disabled [class*=" esri-icon-"]{color:var(--calcite-color-text-3)}.keynav-mode .esri-widget:focus,.keynav-mode .esri-widget :focus{z-index:1;outline-offset:2px;outline:2px solid #adadad}.esri-widget__loader-animation{border:.15em solid #adadad4d;border-top-color:var(--calcite-color-border-input);border-radius:100%;width:1em;height:1em;font-size:var(--calcite-font-size-md);animation:1.25s linear infinite esri-rotate;display:block;transform:translateZ(0)}:dir(rtl) .esri-widget__table th{text-align:right;border-left:3px solid #0000000d;border-right:none}:dir(rtl) .esri-select{background-position:0}:dir(rtl) .esri-menu__list-item{border-left:none;border-right:3px solid #0000}:dir(rtl) .esri-menu__list-item [class^=esri-icon-],:dir(rtl) .esri-menu__list-item [class*=" esri-icon-"]{padding-left:2px;padding-right:0}:dir(rtl) .esri-menu__list-item--active{border-right-color:var(--calcite-color-brand)}.esri-icon-font-fallback-text{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.esri-rotating{animation:1.25s linear infinite esri-rotate;transform:translateZ(0)}.esri-clearfix:before,.esri-clearfix:after{content:" ";display:table}.esri-clearfix:after{clear:both}.esri-interactive{cursor:pointer}.esri-hidden{display:none!important}.esri-invisible{visibility:hidden!important}.esri-offscreen{position:absolute;top:-999em;left:-999em}.esri-match-height{flex-direction:column;flex:auto;display:flex;overflow:hidden}.esri-search{flex-flow:row;justify-content:center;align-items:center;width:240px;display:flex}.esri-search__dropdown{--calcite-color-border-1: var(--calcite-color-border-input);--calcite-dropdown-width: 240px;width:31px}.esri-search__autocomplete{flex:1}.esri-search__container{flex-flow:row;flex:1 0 100%;align-items:stretch;display:flex;position:relative}.esri-search__form{flex-flow:row;flex:1 0;align-items:stretch;margin:0;padding:0;display:flex}.esri-search-result-renderer calcite-block,.esri-search-result-renderer calcite-block[expanded]{margin-block:0;border:0;margin-block-start:var(--calcite-spacing-md)}.esri-search__submit-button{position:absolute;margin:-1px;border-width:0;padding:0;width:1px;height:1px;overflow:hidden;white-space:nowrap;clip:rect(0,0,0,0)}:host{display:flex}.esri-directions{display:flex;flex:1 1 auto;overflow:hidden}.esri-directions calcite-flow-item{--calcite-color-background: var(--calcite-color-foreground-1)}.esri-directions calcite-flow{z-index:1;position:relative}.esri-directions__accordion{--calcite-accordion-border-color: transparent}.esri-directions__stop-container{--calcite-list-border-color: transparent;--calcite-list-background-color-hover: var(--calcite-color-foreground-1);margin-block-start:var(--calcite-spacing-sm);display:flex}.esri-directions__stop-list{flex:auto}.esri-directions__action-container{margin-top:var(--calcite-spacing-sm);margin-inline:var(--calcite-spacing-sm);display:flex}.esri-directions__add-stop-button{margin-inline-end:var(--calcite-spacing-xs)}.esri-directions__departure-time{--calcite-label-margin-bottom: 0}.esri-directions__departure-time-options{margin-bottom:var(--calcite-spacing-sm);display:flex}.esri-directions__departure-time-options calcite-input-date-picker,.esri-directions__departure-time-options calcite-input-time-picker{flex:1}.esri-directions__directions-header{line-height:var(--calcite-font-line-height-relative-snug);color:var(--calcite-color-text-3);font-size:var(--calcite-font-size--2);flex-direction:column;display:flex}.esri-directions__header-stops{gap:var(--calcite-spacing-base) var(--calcite-spacing-xxs);font-size:var(--calcite-font-size--1);grid-template-columns:auto 1fr;margin-block-end:var(--calcite-spacing-base);display:grid}.esri-directions__directions-header-stop-name{text-overflow:ellipsis;color:var(--calcite-color-text-1);font-weight:var(--calcite-font-weight-medium);overflow:hidden}.esri-directions__edit-footer{border-top:var(--calcite-border-width-sm) solid var(--calcite-color-border-3);padding:var(--calcite-spacing-md)}.esri-directions__edit-information-container{border-bottom:var(--calcite-border-width-sm) solid var(--calcite-color-border-3);background-color:var(--calcite-color-surface-1);padding:var(--calcite-spacing-md)}.esri-directions__edit-toolbar-container{margin:var(--calcite-spacing-md);flex-flow:column;align-items:flex-start;display:flex}.esri-directions__edit-toolbar{border-width:var(--calcite-border-width-sm);border-radius:var(--calcite-corner-radius-round);border-style:solid;border-color:var(--calcite-color-foreground-3);flex-flow:row;display:flex;overflow:hidden}.esri-directions__solve-route{border-inline-start:solid var(--calcite-border-width-sm) var(--calcite-color-border-3)}.esri-directions__flex-column{flex-direction:column;display:flex}.esri-directions__flex-row{flex-direction:row;display:flex}.esri-directions__label-emphasize{font-weight:var(--calcite-font-weight-medium)}.esri-directions__label-no-bottom-margin{--calcite-label-margin-bottom: 0}.esri-directions__margin-inline-medium{margin-inline:var(--calcite-spacing-md)}.esri-directions__padding-medium{padding:var(--calcite-spacing-md)}.esri-directions__route-item{margin:var(--calcite-spacing-md);border:var(--calcite-border-width-sm) solid var(--calcite-color-border-3);border-radius:var(--calcite-corner-radius-round);flex:1 0 auto;width:auto;margin-block-start:var(--calcite-spacing-sm);display:flex;overflow:hidden}.esri-directions__route-item-button{background-color:transparent;padding:var(--calcite-spacing-sm) var(--calcite-spacing-md);text-align:unset;font-family:var(--calcite-font-family);border:none;flex:1 0 auto;align-items:center;margin:0;padding-inline-end:var(--calcite-spacing-xs);display:flex;calcite-icon{color:var(--calcite-action-text-color)}}.esri-directions__route-item-button:hover{background-color:var(--calcite-color-foreground-2);cursor:pointer}.esri-directions__route-item-button-content{flex-direction:column;flex:1 0 auto;display:flex}.esri-directions__route-item-label{line-height:var(--calcite-font-line-height-relative-snug);color:var(--calcite-color-text-1);font-size:var(--calcite-font-size-md);font-weight:var(--calcite-font-weight-medium)}.esri-directions__route-item-description{line-height:var(--calcite-font-line-height-relative-snug);color:var(--calcite-color-text-3);font-size:var(--calcite-font-size--2);font-weight:var(--calcite-font-weight-regular)}.esri-directions__optimize-section{--calcite-block-section-header-text-color: var(--calcite-color-text-1)}.esri-directions__optimize-switches{cursor:pointer;margin-inline-start:var(--calcite-spacing-md)}.esri-directions__panel-header-action{align-items:center;display:flex}.esri-directions__primary-flow-item{flex-flow:column;flex:auto;justify-content:flex-start;align-items:stretch;display:flex;overflow:visible}.esri-directions__primary-footer{border-top:var(--calcite-border-width-sm) solid var(--calcite-color-border-3);padding:var(--calcite-spacing-md)}.esri-directions__primary-footer-centered{border-top:var(--calcite-border-width-sm) solid var(--calcite-color-border-3);padding:var(--calcite-spacing-md);flex-flow:column wrap;align-items:center;display:flex}.esri-directions__primary-footer-loader{--calcite-loader-spacing: 0;margin-top:var(--calcite-spacing-md);margin-bottom:var(--calcite-spacing-md)}.esri-directions__save-error{flex-direction:column;align-items:center;display:flex}.esri-directions__save-error-icon{margin-top:calc(var(--calcite-spacing-lg) * 3);margin-bottom:var(--calcite-spacing-xxs);color:var(--calcite-color-status-danger)}.esri-directions__save-error-label{margin-inline:var(--calcite-spacing-sm)}.esri-directions__save-process-loader{padding-top:calc(var(--calcite-spacing-lg) * 3);padding-bottom:calc(var(--calcite-spacing-lg) * 2)}.esri-directions__selected-feature-container{margin-inline:var(--calcite-spacing-md);height:100px;overflow-y:auto}.esri-directions__separator{margin:var(--calcite-spacing-md) 0;background-color:var(--calcite-color-border-3);height:var(--calcite-border-width-sm)}.esri-directions__stop-item .esri-search{width:auto}.esri-directions__print-document{box-sizing:border-box;z-index:var(--calcite-z-index-overlay);background-color:var(--calcite-color-foreground-1);width:100%;height:100%;position:fixed;top:0;left:0;overflow-y:scroll}.esri-directions__print-body{padding-inline:var(--calcite-spacing-md);flex-direction:column;display:flex}.esri-directions__print-header{margin-bottom:var(--calcite-spacing-lg);border-block-end:var(--calcite-border-width-sm) solid var(--calcite-color-border-3);align-items:center;display:flex}.esri-directions__print-header-label{padding-block:var(--calcite-spacing-sm);line-height:var(--calcite-font-line-height-relative-snug);color:var(--calcite-color-text-3);font-size:var(--calcite-font-size--2);font-weight:var(--calcite-font-weight-bold);flex-direction:column;flex-grow:1;display:flex}.esri-directions__print-section{margin-top:var(--calcite-spacing-md);flex-direction:column;display:flex}.esri-directions__print-header-buttons{padding-inline-end:var(--calcite-spacing-md);display:flex}.esri-directions__print--avoid-page-break{break-inside:avoid}@media print{body.esri-directions__print-media{margin:0;padding:0}body.esri-directions__print-media>:not(div.esri-directions__print-document){display:none}}@media print{.esri-directions__print-document{height:auto;position:static;overflow:visible}.esri-directions__print--hide-on-print{display:none}}`, u = g(n), t = "map-components:arcgis-directions";
13
13
  class v extends l {
14
14
  constructor() {
15
15
  super(...arguments), this.widget = u(this), this.viewModel = this.widget.viewModel, this.view = this.widget.view, this.apiKey = this.widget.apiKey, this.autoDestroyDisabled = !1, this.goToOverride = this.widget.goToOverride, this.headingLevel = this.widget.headingLevel, this.hideLayerDetails = this.widget.visibleElements.layerDetails, this.hidePrintButton = this.widget.visibleElements.printButton, this.hideSaveAsButton = this.widget.visibleElements.saveAsButton, this.hideSaveButton = this.widget.visibleElements.saveButton, this.icon = this.widget.icon, this.label = this.widget.label, this.lastRoute = this.widget.lastRoute, this.layer = this.widget.layer, this.layerId = m(this, (i) => {
@@ -82,7 +82,7 @@ class v extends l {
82
82
  this.widget.viewModel.stopEditing();
83
83
  }
84
84
  _setDefaultLayer() {
85
- this.useDefaultRouteLayer && !this.routeLayerItemId && (this.layer = new o(), n(() => this.widget.view, () => this.widget.view?.map?.add(this.layer), { once: !0 }));
85
+ this.useDefaultRouteLayer && !this.routeLayerItemId && (this.layer = new o(), c(() => this.widget.view, () => this.widget.view?.map?.add(this.layer), { once: !0 }));
86
86
  }
87
87
  }
88
88
  a("arcgis-directions", v);
@@ -730,6 +730,7 @@ export abstract class ArcgisLinkChart extends LitElement {
730
730
  closePopup(): Promise<void>;
731
731
  /** Destroys the view, and any associated resources, including its map, popup, and UI elements. */
732
732
  destroy(): Promise<void>;
733
+ focusPopup(): Promise<void>;
733
734
  /**
734
735
  * Sets the view to a given target.
735
736
  *
@@ -3,15 +3,15 @@ import { c as C } from "../../chunks/runtime.js";
3
3
  import { watch as n } from "@arcgis/core/core/reactiveUtils.js";
4
4
  import _ from "@arcgis/core/views/LinkChartView.js";
5
5
  import b from "@arcgis/core/WebLinkChart.js";
6
- import { LitElement as V, createEvent as w, safeClassMap as c } from "@arcgis/lumina";
6
+ import { LitElement as V, createEvent as c, safeClassMap as w } from "@arcgis/lumina";
7
7
  import { reCreateAccessor as A, reEmitEvent as e, makeAccessorController as f } from "@arcgis/lumina/controllers/accessor";
8
8
  import { createRef as v, ref as m } from "lit/directives/ref.js";
9
9
  import { s as I } from "../../chunks/esri-main.js";
10
10
  import { s as E } from "../../chunks/slots.js";
11
11
  import { C as u } from "../../chunks/resources.js";
12
12
  import { p as L, i as k } from "../../chunks/component-utils.js";
13
- import { U as M, u as R, a as U } from "../../chunks/useArcgisViewReadyError.js";
14
- import { fetchKnowledgeGraph as D } from "@arcgis/core/rest/knowledgeGraphService.js";
13
+ import { U as M, P as R, u as U, a as D } from "../../chunks/useArcgisViewReadyError.js";
14
+ import { fetchKnowledgeGraph as P } from "@arcgis/core/rest/knowledgeGraphService.js";
15
15
  import x from "@arcgis/core/rest/knowledgeGraph/GraphQueryStreaming.js";
16
16
  import { t as d } from "../../chunks/async-utils.js";
17
17
  import { isAbortError as g } from "@arcgis/core/core/promiseUtils.js";
@@ -29,9 +29,9 @@ const z = f(
29
29
  */
30
30
  {}
31
31
  ), Z = f(_, {});
32
- class P extends V {
32
+ class F extends V {
33
33
  constructor() {
34
- super(), this._containerRef = v(), this._mapRef = v(), this._uiController = new M(this), this._activeLoadAbortController = null, this.arcgisLoadError = R(this), this.arcgisViewReadyError = U(this), this._map = z(this), this._baseCypherQuery = "", this._serviceUrl = "", this._propItemId = "", this.view = Z(this), this.animationsDisabled = this.view.animationsEnabled, this.allLayerViews = this.view.allLayerViews, this.analyses = this.view.analyses, this.attributionMode = this.view.attributionMode, this.autoDestroyDisabled = !1, this.background = this.view.background, this.basemap = this._map.basemap, this.basemapView = this.view.basemapView, this.canZoomIn = this.view.canZoomIn, this.canZoomOut = this.view.canZoomOut, this.constraints = this.view.constraints, this.displayFilterDisabled = this.view.displayFilterEnabled, this.fatalError = this.view.fatalError, this.graphics = this.view.graphics, this.highlights = this.view.highlights, this.layerViews = this.view.layerViews, this.magnifier = this.view.magnifier, this.map = this.view.map, this.navigation = this.view.navigation, this.padding = this.view.padding, this.popup = this.view.popup, this.popupDisabled = this.view.popupEnabled, this.popupComponentEnabled = !1, this.ready = this.view.ready, this.resizeAlign = this.view.resizeAlign, this.resolution = this.view.resolution, this.rotation = this.view.rotation, this.selectionManager = this.view.selectionManager, this.slotGroupRefs = this._uiController.slotGroupRefs, this.spatialReference = this.view.spatialReference, this.suspended = this.view.suspended, this.theme = this.view.theme, this.timeExtent = this.view.timeExtent, this.timeZone = this.view.timeZone, this.updating = this.view.updating, this.arcgisViewAnalysisViewCreate = e(() => this.view, "analysis-view-create"), this.arcgisViewAnalysisViewCreateError = e(() => this.view, "analysis-view-create-error"), this.arcgisViewAnalysisViewDestroy = e(() => this.view, "analysis-view-destroy"), this.arcgisViewChange = w(), this.arcgisViewClick = e(() => this.view, "click"), this.arcgisViewDoubleClick = e(() => this.view, "double-click"), this.arcgisViewDoubleTapDrag = e(() => this.view, "double-tap-drag"), this.arcgisViewDrag = e(() => this.view, "drag"), this.arcgisViewHold = e(() => this.view, "hold"), this.arcgisViewImmediateClick = e(() => this.view, "immediate-click"), this.arcgisViewImmediateDoubleClick = e(() => this.view, "immediate-double-click"), this.arcgisViewKeyDown = e(() => this.view, "key-down"), this.arcgisViewKeyUp = e(() => this.view, "key-up"), this.arcgisViewLayerviewCreate = e(() => this.view, "layerview-create"), this.arcgisViewLayerviewCreateError = e(() => this.view, "layerview-create-error"), this.arcgisViewLayerviewDestroy = e(() => this.view, "layerview-destroy"), this.arcgisViewMouseWheel = e(() => this.view, "mouse-wheel"), this.arcgisViewPointerDown = e(() => this.view, "pointer-down"), this.arcgisViewPointerEnter = e(() => this.view, "pointer-enter"), this.arcgisViewPointerLeave = e(() => this.view, "pointer-leave"), this.arcgisViewPointerMove = e(() => this.view, "pointer-move"), this.arcgisViewPointerUp = e(() => this.view, "pointer-up"), this.arcgisViewReadyChange = w(), this.arcgisViewVerticalTwoFingerDrag = e(() => this.view, "vertical-two-finger-drag"), this.view.ui = {
34
+ super(), this._containerRef = v(), this._mapRef = v(), this._uiController = new M(this), this._popupFocusController = new R(this), this._activeLoadAbortController = null, this.arcgisLoadError = U(this), this.arcgisViewReadyError = D(this), this._map = z(this), this._baseCypherQuery = "", this._serviceUrl = "", this._propItemId = "", this.view = Z(this), this.animationsDisabled = this.view.animationsEnabled, this.allLayerViews = this.view.allLayerViews, this.analyses = this.view.analyses, this.attributionMode = this.view.attributionMode, this.autoDestroyDisabled = !1, this.background = this.view.background, this.basemap = this._map.basemap, this.basemapView = this.view.basemapView, this.canZoomIn = this.view.canZoomIn, this.canZoomOut = this.view.canZoomOut, this.constraints = this.view.constraints, this.displayFilterDisabled = this.view.displayFilterEnabled, this.fatalError = this.view.fatalError, this.graphics = this.view.graphics, this.highlights = this.view.highlights, this.layerViews = this.view.layerViews, this.magnifier = this.view.magnifier, this.map = this.view.map, this.navigation = this.view.navigation, this.padding = this.view.padding, this.popup = this.view.popup, this.popupDisabled = this.view.popupEnabled, this.popupComponentEnabled = !1, this.ready = this.view.ready, this.resizeAlign = this.view.resizeAlign, this.resolution = this.view.resolution, this.rotation = this.view.rotation, this.selectionManager = this.view.selectionManager, this.slotGroupRefs = this._uiController.slotGroupRefs, this.spatialReference = this.view.spatialReference, this.suspended = this.view.suspended, this.theme = this.view.theme, this.timeExtent = this.view.timeExtent, this.timeZone = this.view.timeZone, this.updating = this.view.updating, this.arcgisViewAnalysisViewCreate = e(() => this.view, "analysis-view-create"), this.arcgisViewAnalysisViewCreateError = e(() => this.view, "analysis-view-create-error"), this.arcgisViewAnalysisViewDestroy = e(() => this.view, "analysis-view-destroy"), this.arcgisViewChange = c(), this.arcgisViewClick = e(() => this.view, "click"), this.arcgisViewDoubleClick = e(() => this.view, "double-click"), this.arcgisViewDoubleTapDrag = e(() => this.view, "double-tap-drag"), this.arcgisViewDrag = e(() => this.view, "drag"), this.arcgisViewHold = e(() => this.view, "hold"), this.arcgisViewImmediateClick = e(() => this.view, "immediate-click"), this.arcgisViewImmediateDoubleClick = e(() => this.view, "immediate-double-click"), this.arcgisViewKeyDown = e(() => this.view, "key-down"), this.arcgisViewKeyUp = e(() => this.view, "key-up"), this.arcgisViewLayerviewCreate = e(() => this.view, "layerview-create"), this.arcgisViewLayerviewCreateError = e(() => this.view, "layerview-create-error"), this.arcgisViewLayerviewDestroy = e(() => this.view, "layerview-destroy"), this.arcgisViewMouseWheel = e(() => this.view, "mouse-wheel"), this.arcgisViewPointerDown = e(() => this.view, "pointer-down"), this.arcgisViewPointerEnter = e(() => this.view, "pointer-enter"), this.arcgisViewPointerLeave = e(() => this.view, "pointer-leave"), this.arcgisViewPointerMove = e(() => this.view, "pointer-move"), this.arcgisViewPointerUp = e(() => this.view, "pointer-up"), this.arcgisViewReadyChange = c(), this.arcgisViewVerticalTwoFingerDrag = e(() => this.view, "vertical-two-finger-drag"), this.view.ui = {
35
35
  components: []
36
36
  };
37
37
  }
@@ -129,6 +129,9 @@ class P extends V {
129
129
  async closePopup() {
130
130
  this._uiController.closePopup();
131
131
  }
132
+ async focusPopup() {
133
+ this._popupFocusController.focusPopup();
134
+ }
132
135
  async destroy() {
133
136
  await this.manager.destroy();
134
137
  }
@@ -226,14 +229,14 @@ class P extends V {
226
229
  });
227
230
  }
228
231
  renderMain() {
229
- return y`<div class=${c(u.base)} ${m(this._mapRef)}></div>`;
232
+ return y`<div class=${w(u.base)} ${m(this._mapRef)}></div>`;
230
233
  }
231
234
  render() {
232
- return y`${this.renderMain()}<section class=${c(u.containerUI)} ${m(this._containerRef)}>${this._uiController.render()}</section>`;
235
+ return y`${this.renderMain()}<section class=${w(u.containerUI)} ${m(this._containerRef)}>${this._uiController.render()}</section>`;
233
236
  }
234
237
  }
235
238
  const s = {
236
- fetchKnowledgeGraph: async (r) => await D(r),
239
+ fetchKnowledgeGraph: async (r) => await P(r),
237
240
  WebLinkChart: b,
238
241
  LinkChartLayer: Q,
239
242
  setMap: (r, i) => {
@@ -250,8 +253,8 @@ const s = {
250
253
  },
251
254
  reCreateAccessor: A
252
255
  };
253
- C("arcgis-link-chart", P);
256
+ C("arcgis-link-chart", F);
254
257
  export {
255
- P as ArcgisLinkChart,
258
+ F as ArcgisLinkChart,
256
259
  s as exportsForTests
257
260
  };
@@ -911,6 +911,7 @@ export abstract class ArcgisMap extends LitElement {
911
911
  closePopup(): Promise<void>;
912
912
  /** Destroys the view, and any associated resources, including its map, popup, and UI elements. */
913
913
  destroy(): Promise<void>;
914
+ focusPopup(): Promise<void>;
914
915
  /**
915
916
  * Sets the view to a given target.
916
917
  *
@@ -1,19 +1,19 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- import { c as p } from "../../chunks/runtime.js";
2
+ import { c as l } from "../../chunks/runtime.js";
3
3
  import { html as a } from "lit";
4
4
  import { watch as s } from "@arcgis/core/core/reactiveUtils.js";
5
5
  import c from "@arcgis/core/views/MapView.js";
6
6
  import v from "@arcgis/core/WebMap.js";
7
7
  import { LitElement as m, createEvent as r, safeClassMap as o } from "@arcgis/lumina";
8
- import { reEmitEvent as e, reCreateAccessor as u, makeAccessorController as l } from "@arcgis/lumina/controllers/accessor";
8
+ import { reEmitEvent as e, reCreateAccessor as u, makeAccessorController as p } from "@arcgis/lumina/controllers/accessor";
9
9
  import { createRef as n, ref as h } from "lit/directives/ref.js";
10
10
  import { s as g } from "../../chunks/esri-main.js";
11
11
  import { s as d } from "../../chunks/slots.js";
12
12
  import { C as w } from "../../chunks/resources.js";
13
13
  import { p as y, i as f } from "../../chunks/component-utils.js";
14
- import { U as b, u as V, a as C } from "../../chunks/useArcgisViewReadyError.js";
15
- import E from "@arcgis/core/core/Collection.js";
16
- const A = l(
14
+ import { U as b, P as V, u as C, a as E } from "../../chunks/useArcgisViewReadyError.js";
15
+ import A from "@arcgis/core/core/Collection.js";
16
+ const _ = p(
17
17
  v,
18
18
  /**
19
19
  * Since omitProps is only needed for typing, not runtime, `{} as { ... }` is
@@ -24,10 +24,10 @@ const A = l(
24
24
  * in an externalized package.
25
25
  */
26
26
  {}
27
- ), R = l(c, {});
28
- class _ extends m {
27
+ ), R = p(c, {});
28
+ class D extends m {
29
29
  constructor() {
30
- super(), this._containerRef = n(), this._mapRef = n(), this._uiController = new b(this), this.extraContent = new E(), this.arcgisLoadError = V(this), this.arcgisViewReadyError = C(this), this._map = A(this), this.view = R(this), this.animationsDisabled = this.view.animationsEnabled, this.allLayerViews = this.view.allLayerViews, this.analyses = this.view.analyses, this.attributionMode = this.view.attributionMode, this.autoDestroyDisabled = !1, this.background = this.view.background, this.basemap = this._map.basemap, this.basemapView = this.view.basemapView, this.canZoomIn = this.view.canZoomIn, this.canZoomOut = this.view.canZoomOut, this.constraints = this.view.constraints, this.displayFilterDisabled = this.view.displayFilterEnabled, this.fatalError = this.view.fatalError, this.floors = this.view.floors, this.graphics = this.view.graphics, this.ground = this._map.ground, this.highlights = this.view.highlights, this.ipsInfo = this._map.ipsInfo, this.layerViews = this.view.layerViews, this.magnifier = this.view.magnifier, this.map = this.view.map, this.navigation = this.view.navigation, this.padding = this.view.padding, this.popup = this.view.popup, this.popupDisabled = this.view.popupEnabled, this.popupComponentEnabled = !1, this.ready = this.view.ready, this.resizeAlign = this.view.resizeAlign, this.resolution = this.view.resolution, this.rotation = this.view.rotation, this.selectionManager = this.view.selectionManager, this.slotGroupRefs = this._uiController.slotGroupRefs, this.spatialReference = this.view.spatialReference, this.spatialReferenceLocked = this.view.spatialReferenceLocked, this.suspended = this.view.suspended, this.theme = this.view.theme, this.timeExtent = this.view.timeExtent, this.timeZone = this.view.timeZone, this.updating = this.view.updating, this.visibleArea = this.view.visibleArea, this.arcgisViewAnalysisViewCreate = e(() => this.view, "analysis-view-create"), this.arcgisViewAnalysisViewCreateError = e(() => this.view, "analysis-view-create-error"), this.arcgisViewAnalysisViewDestroy = e(() => this.view, "analysis-view-destroy"), this.arcgisViewChange = r(), this.arcgisViewClick = e(() => this.view, "click"), this.arcgisViewDoubleClick = e(() => this.view, "double-click"), this.arcgisViewDoubleTapDrag = e(() => this.view, "double-tap-drag"), this.arcgisViewDrag = e(() => this.view, "drag"), this.arcgisViewHold = e(() => this.view, "hold"), this.arcgisViewImmediateClick = e(() => this.view, "immediate-click"), this.arcgisViewImmediateDoubleClick = e(() => this.view, "immediate-double-click"), this.arcgisViewKeyDown = e(() => this.view, "key-down"), this.arcgisViewKeyUp = e(() => this.view, "key-up"), this.arcgisViewLayerviewCreate = e(() => this.view, "layerview-create"), this.arcgisViewLayerviewCreateError = e(() => this.view, "layerview-create-error"), this.arcgisViewLayerviewDestroy = e(() => this.view, "layerview-destroy"), this.arcgisViewMouseWheel = e(() => this.view, "mouse-wheel"), this.arcgisViewPointerDown = e(() => this.view, "pointer-down"), this.arcgisViewPointerEnter = e(() => this.view, "pointer-enter"), this.arcgisViewPointerLeave = e(() => this.view, "pointer-leave"), this.arcgisViewPointerMove = e(() => this.view, "pointer-move"), this.arcgisViewPointerUp = e(() => this.view, "pointer-up"), this.arcgisViewReadyChange = r(), this.arcgisViewVerticalTwoFingerDrag = e(() => this.view, "vertical-two-finger-drag"), this.view.ui = {
30
+ super(), this._containerRef = n(), this._mapRef = n(), this._uiController = new b(this), this._popupFocusController = new V(this), this.extraContent = new A(), this.arcgisLoadError = C(this), this.arcgisViewReadyError = E(this), this._map = _(this), this.view = R(this), this.animationsDisabled = this.view.animationsEnabled, this.allLayerViews = this.view.allLayerViews, this.analyses = this.view.analyses, this.attributionMode = this.view.attributionMode, this.autoDestroyDisabled = !1, this.background = this.view.background, this.basemap = this._map.basemap, this.basemapView = this.view.basemapView, this.canZoomIn = this.view.canZoomIn, this.canZoomOut = this.view.canZoomOut, this.constraints = this.view.constraints, this.displayFilterDisabled = this.view.displayFilterEnabled, this.fatalError = this.view.fatalError, this.floors = this.view.floors, this.graphics = this.view.graphics, this.ground = this._map.ground, this.highlights = this.view.highlights, this.ipsInfo = this._map.ipsInfo, this.layerViews = this.view.layerViews, this.magnifier = this.view.magnifier, this.map = this.view.map, this.navigation = this.view.navigation, this.padding = this.view.padding, this.popup = this.view.popup, this.popupDisabled = this.view.popupEnabled, this.popupComponentEnabled = !1, this.ready = this.view.ready, this.resizeAlign = this.view.resizeAlign, this.resolution = this.view.resolution, this.rotation = this.view.rotation, this.selectionManager = this.view.selectionManager, this.slotGroupRefs = this._uiController.slotGroupRefs, this.spatialReference = this.view.spatialReference, this.spatialReferenceLocked = this.view.spatialReferenceLocked, this.suspended = this.view.suspended, this.theme = this.view.theme, this.timeExtent = this.view.timeExtent, this.timeZone = this.view.timeZone, this.updating = this.view.updating, this.visibleArea = this.view.visibleArea, this.arcgisViewAnalysisViewCreate = e(() => this.view, "analysis-view-create"), this.arcgisViewAnalysisViewCreateError = e(() => this.view, "analysis-view-create-error"), this.arcgisViewAnalysisViewDestroy = e(() => this.view, "analysis-view-destroy"), this.arcgisViewChange = r(), this.arcgisViewClick = e(() => this.view, "click"), this.arcgisViewDoubleClick = e(() => this.view, "double-click"), this.arcgisViewDoubleTapDrag = e(() => this.view, "double-tap-drag"), this.arcgisViewDrag = e(() => this.view, "drag"), this.arcgisViewHold = e(() => this.view, "hold"), this.arcgisViewImmediateClick = e(() => this.view, "immediate-click"), this.arcgisViewImmediateDoubleClick = e(() => this.view, "immediate-double-click"), this.arcgisViewKeyDown = e(() => this.view, "key-down"), this.arcgisViewKeyUp = e(() => this.view, "key-up"), this.arcgisViewLayerviewCreate = e(() => this.view, "layerview-create"), this.arcgisViewLayerviewCreateError = e(() => this.view, "layerview-create-error"), this.arcgisViewLayerviewDestroy = e(() => this.view, "layerview-destroy"), this.arcgisViewMouseWheel = e(() => this.view, "mouse-wheel"), this.arcgisViewPointerDown = e(() => this.view, "pointer-down"), this.arcgisViewPointerEnter = e(() => this.view, "pointer-enter"), this.arcgisViewPointerLeave = e(() => this.view, "pointer-leave"), this.arcgisViewPointerMove = e(() => this.view, "pointer-move"), this.arcgisViewPointerUp = e(() => this.view, "pointer-up"), this.arcgisViewReadyChange = r(), this.arcgisViewVerticalTwoFingerDrag = e(() => this.view, "vertical-two-finger-drag"), this.view.ui = {
31
31
  components: []
32
32
  };
33
33
  }
@@ -116,6 +116,9 @@ class _ extends m {
116
116
  async closePopup() {
117
117
  this._uiController.closePopup();
118
118
  }
119
+ async focusPopup() {
120
+ this._popupFocusController.focusPopup();
121
+ }
119
122
  async destroy() {
120
123
  await this.manager.destroy();
121
124
  }
@@ -175,7 +178,7 @@ class _ extends m {
175
178
  return a`${this.renderMain()}<section class=${o(w.containerUI)} ${h(this._containerRef)}>${this._uiController.render()}${this.extraContent}</section>`;
176
179
  }
177
180
  }
178
- p("arcgis-map", _);
181
+ l("arcgis-map", D);
179
182
  export {
180
- _ as ArcgisMap
183
+ D as ArcgisMap
181
184
  };
@@ -894,6 +894,7 @@ export abstract class ArcgisScene extends LitElement {
894
894
  * and removes components or other UI DOM elements added to it.
895
895
  */
896
896
  destroy(): Promise<void>;
897
+ focusPopup(): Promise<void>;
897
898
  /**
898
899
  * Sets the view to a given target.
899
900
  *