@arcgis/map-components 5.0.0-next.162 → 5.0.0-next.163

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 (91) hide show
  1. package/dist/cdn/55TRWAT7.js +2 -0
  2. package/dist/cdn/H7O5I4IF.js +2 -0
  3. package/dist/cdn/{K6ZTEDKX.js → INYYRLED.js} +1 -1
  4. package/dist/cdn/L6YZXUBB.js +2 -0
  5. package/dist/cdn/URUFNID2.js +2 -0
  6. package/dist/cdn/X7QWBVC2.js +2 -0
  7. package/dist/cdn/assets/elevation-profile/t9n/messages.fr.json +1 -1
  8. package/dist/cdn/index.js +1 -1
  9. package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +3 -3
  10. package/dist/components/arcgis-basemap-gallery/customElement.d.ts +1 -1
  11. package/dist/components/arcgis-basemap-layer-list/customElement.d.ts +5 -7
  12. package/dist/components/arcgis-basemap-toggle/customElement.d.ts +3 -3
  13. package/dist/components/arcgis-bookmarks/customElement.d.ts +2 -2
  14. package/dist/components/arcgis-bookmarks/types.d.ts +1 -1
  15. package/dist/components/arcgis-catalog-layer-list/customElement.d.ts +4 -6
  16. package/dist/components/arcgis-clipboard/customElement.d.ts +2 -2
  17. package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +3 -3
  18. package/dist/components/arcgis-daylight/customElement.d.ts +1 -1
  19. package/dist/components/arcgis-directions/customElement.d.ts +4 -5
  20. package/dist/components/arcgis-editor/customElement.d.ts +2 -3
  21. package/dist/components/arcgis-elevation-profile/customElement.d.ts +1 -1
  22. package/dist/components/arcgis-feature-form/customElement.d.ts +1 -2
  23. package/dist/components/arcgis-feature-image/customElement.d.ts +5 -5
  24. package/dist/components/arcgis-feature-table/customElement.d.ts +16 -23
  25. package/dist/components/arcgis-feature-templates/customElement.d.ts +4 -6
  26. package/dist/components/arcgis-feature-title/customElement.d.ts +3 -3
  27. package/dist/components/arcgis-features/customElement.d.ts +6 -8
  28. package/dist/components/arcgis-features/customElement.js +48 -42
  29. package/dist/components/arcgis-floor-filter/customElement.d.ts +2 -2
  30. package/dist/components/arcgis-histogram-range-slider/customElement.d.ts +1 -1
  31. package/dist/components/arcgis-home/customElement.d.ts +2 -2
  32. package/dist/components/arcgis-layer-list/customElement.d.ts +9 -11
  33. package/dist/components/arcgis-legend/customElement.d.ts +3 -3
  34. package/dist/components/arcgis-legend-classic-element/customElement.js +22 -24
  35. package/dist/components/arcgis-link-chart/customElement.d.ts +16 -18
  36. package/dist/components/arcgis-link-chart-nonspatial-visibility-toggle/customElement.d.ts +1 -1
  37. package/dist/components/arcgis-map/customElement.d.ts +17 -19
  38. package/dist/components/arcgis-multi-feature-form/customElement.d.ts +7 -9
  39. package/dist/components/arcgis-navigation-toggle/customElement.d.ts +1 -1
  40. package/dist/components/arcgis-paste/ClipboardMove.d.ts +3 -3
  41. package/dist/components/arcgis-paste/PasteViewModel.d.ts +9 -9
  42. package/dist/components/arcgis-paste/commands/PasteCommand.d.ts +3 -3
  43. package/dist/components/arcgis-paste/commands/PasteCustomCommand.d.ts +2 -2
  44. package/dist/components/arcgis-paste/customElement.d.ts +4 -4
  45. package/dist/components/arcgis-popup/customElement.d.ts +8 -10
  46. package/dist/components/arcgis-popup/customElement.js +50 -55
  47. package/dist/components/arcgis-popup/types.d.ts +1 -1
  48. package/dist/components/arcgis-presentation/PresentationViewModel.d.ts +2 -2
  49. package/dist/components/arcgis-presentation/customElement.d.ts +1 -1
  50. package/dist/components/arcgis-print/customElement.d.ts +6 -7
  51. package/dist/components/arcgis-reverse-geocode-list/customElement.d.ts +1 -1
  52. package/dist/components/arcgis-scale-bar/customElement.d.ts +1 -1
  53. package/dist/components/arcgis-scene/customElement.d.ts +22 -24
  54. package/dist/components/arcgis-search/customElement.d.ts +7 -9
  55. package/dist/components/arcgis-search/customElement.js +8 -9
  56. package/dist/components/arcgis-shadow-cast/customElement.d.ts +3 -3
  57. package/dist/components/arcgis-sketch/customElement.d.ts +3 -4
  58. package/dist/components/arcgis-slice/types.d.ts +2 -2
  59. package/dist/components/arcgis-slider-binary-color-size-legacy/customElement.d.ts +5 -5
  60. package/dist/components/arcgis-slider-classed-color-legacy/customElement.d.ts +5 -5
  61. package/dist/components/arcgis-slider-classed-size-legacy/customElement.d.ts +5 -5
  62. package/dist/components/arcgis-slider-color-legacy/customElement.d.ts +4 -4
  63. package/dist/components/arcgis-slider-color-size-legacy/customElement.d.ts +4 -4
  64. package/dist/components/arcgis-slider-heatmap-legacy/customElement.d.ts +2 -2
  65. package/dist/components/arcgis-slider-opacity-legacy/customElement.d.ts +4 -4
  66. package/dist/components/arcgis-slider-size-legacy/customElement.d.ts +5 -5
  67. package/dist/components/arcgis-table-list/customElement.d.ts +7 -8
  68. package/dist/components/arcgis-time-slider/customElement.d.ts +3 -3
  69. package/dist/components/arcgis-time-zone-label/customElement.d.ts +1 -1
  70. package/dist/components/arcgis-utility-network-aggregated-geometry/customElement.d.ts +2 -2
  71. package/dist/components/arcgis-utility-network-trace/customElement.d.ts +1 -2
  72. package/dist/components/arcgis-utility-network-trace-analysis/customElement.d.ts +6 -9
  73. package/dist/components/arcgis-utility-network-trace-inputs/customElement.d.ts +4 -4
  74. package/dist/components/arcgis-utility-network-trace-inputs/customElement.js +28 -26
  75. package/dist/components/arcgis-utility-network-trace-location/customElement.d.ts +3 -3
  76. package/dist/components/arcgis-utility-network-trace-results/customElement.d.ts +1 -1
  77. package/dist/components/arcgis-utility-network-trace-results/customElement.js +44 -44
  78. package/dist/components/arcgis-value-picker-legacy/customElement.d.ts +2 -3
  79. package/dist/components/arcgis-version-management/customElement.d.ts +3 -4
  80. package/dist/components/arcgis-volume-measurement/customElement.d.ts +3 -3
  81. package/dist/components/types.d.ts +3 -3
  82. package/dist/docs/api.json +1 -1
  83. package/dist/docs/docs.json +1 -1
  84. package/dist/docs/vscode.html-custom-data.json +1 -1
  85. package/dist/docs/web-types.json +1 -1
  86. package/package.json +4 -4
  87. package/dist/cdn/2LQLX6UN.js +0 -2
  88. package/dist/cdn/IWY2NPAG.js +0 -2
  89. package/dist/cdn/O4RXVEMK.js +0 -2
  90. package/dist/cdn/QZPDQ6B7.js +0 -2
  91. package/dist/cdn/W53OMY3O.js +0 -2
@@ -2,43 +2,43 @@
2
2
  import { c as E } from "../../chunks/runtime.js";
3
3
  import { css as P, html as u } from "lit";
4
4
  import { keyed as F } from "lit/directives/keyed.js";
5
- import N from "@arcgis/core/widgets/Features/FeaturesViewModel.js";
6
- import { u as $ } from "../../chunks/useT9n.js";
5
+ import $ from "@arcgis/core/widgets/Features/FeaturesViewModel.js";
6
+ import { u as N } from "../../chunks/useT9n.js";
7
7
  import { usePropertyChange as O } from "@arcgis/lumina/controllers";
8
8
  import { m as L } from "../../chunks/useViewModel.js";
9
- import { LitElement as T, createEvent as w, safeStyleMap as S, safeClassMap as _ } from "@arcgis/lumina";
10
- import { stripHTML as B } from "@arcgis/core/applications/Components/stringUtils.js";
11
- import { unsafeGetElementDirection as x, classes as y } from "@arcgis/toolkit/dom";
9
+ import { LitElement as S, createEvent as w, safeStyleMap as T, safeClassMap as _ } from "@arcgis/lumina";
10
+ import { stripHTML as V } from "@arcgis/core/applications/Components/stringUtils.js";
11
+ import { unsafeGetElementDirection as C, classes as y } from "@arcgis/toolkit/dom";
12
12
  import { createRef as g, ref as m } from "lit/directives/ref.js";
13
13
  import { watch as l } from "@arcgis/core/core/reactiveUtils.js";
14
- import H from "@arcgis/core/support/actions/ActionButton.js";
15
- import { t as V } from "../../chunks/screenLocation.js";
14
+ import B from "@arcgis/core/support/actions/ActionButton.js";
15
+ import { t as H } from "../../chunks/screenLocation.js";
16
16
  import "../arcgis-search-result-renderer/customElement.js";
17
- const I = P`:host{display:contents;--arcgis-internal-popup-pointer-size: 12px;--arcgis-internal-popup-content-small-size: 280px;--arcgis-internal-popup-content-medium-size: 340px;--arcgis-internal-popup-content-large-size: 400px;--arcgis-internal-popup-content-x-large-size: 460px;--arcgis-internal-popup-content-min-size-y: 48px;--arcgis-internal-popup-pointer-size-half: calc(var(--arcgis-internal-popup-pointer-size) / 2);--arcgis-internal-popup-pointer-size-half-negative: calc(var(--arcgis-internal-popup-pointer-size-half) * -1)}.root{display:flex;position:absolute;flex-flow:column nowrap;z-index:401;pointer-events:none;border:none;overflow:visible;padding:0;width:auto;height:auto;background-color:transparent}.hidden{visibility:hidden}.root:popover-open{display:flex;flex-flow:column nowrap;margin:0}arcgis-features{flex:1;width:100%}.shadow{box-shadow:var(--calcite-shadow-sm)}.aligned-top-center{transform-origin:50% 100%}.aligned-bottom-center{transform-origin:50% -5%}.aligned-top-left,.aligned-bottom-left{transform-origin:100% 50%}.aligned-top-right,.aligned-bottom-right{transform-origin:-5% 50%}.aligned-top-center,.aligned-top-left,.aligned-top-right{animation:popup-intro-animation-down .2s ease-in-out}.aligned-bottom-center,.aligned-bottom-left,.aligned-bottom-right{animation:popup-intro-animation-up .2s ease-in-out}.main-container{display:flex;position:relative;z-index:1;background-color:var(--calcite-color-foreground-1);width:var(--arcgis-internal-popup-content-medium-size);min-height:var(--arcgis-internal-popup-content-min-size-y);max-height:var(--arcgis-internal-popup-content-medium-size);overflow:hidden;pointer-events:auto}.pointer{position:absolute;width:0;height:0}.pointer-direction{position:absolute;width:var(--arcgis-internal-popup-pointer-size);height:var(--arcgis-internal-popup-pointer-size);content:"";background-color:var(--calcite-color-foreground-1)}.aligned-top-center .pointer{top:100%;left:50%;margin:0 0 0 var(--arcgis-internal-popup-pointer-size-half-negative)}.aligned-bottom-center .pointer{bottom:100%;left:50%;margin:0 0 0 var(--arcgis-internal-popup-pointer-size-half-negative)}.aligned-top-left .pointer{right:var(--arcgis-internal-popup-pointer-size-half);bottom:var(--arcgis-internal-popup-pointer-size-half);transform:rotate(-45deg)}.aligned-bottom-left .pointer{top:var(--arcgis-internal-popup-pointer-size-half);right:var(--arcgis-internal-popup-pointer-size-half);transform:rotate(45deg)}.aligned-top-right .pointer{bottom:var(--arcgis-internal-popup-pointer-size-half);left:var(--arcgis-internal-popup-pointer-size-half);transform:rotate(45deg)}.aligned-bottom-right .pointer{top:var(--arcgis-internal-popup-pointer-size-half);left:var(--arcgis-internal-popup-pointer-size-half);transform:rotate(-45deg)}.aligned-top-center .pointer-direction,.aligned-bottom-center .pointer-direction{transform:scale(.75,2) rotate(45deg)}.aligned-top-left .pointer-direction,.aligned-bottom-left .pointer-direction,.aligned-top-right .pointer-direction,.aligned-bottom-right .pointer-direction{top:var(--arcgis-internal-popup-pointer-size-half-negative);left:var(--arcgis-internal-popup-pointer-size-half-negative);transform:scale(.75,2.5) rotate(45deg)}.aligned-top-center .pointer-direction{top:var(--arcgis-internal-popup-pointer-size-half-negative);left:0}.aligned-bottom-center .pointer-direction{bottom:var(--arcgis-internal-popup-pointer-size-half-negative);left:0}.is-xl-width-breakpoint .main-container{width:var(--arcgis-internal-popup-content-x-large-size)}.is-lg-width-breakpoint .main-container{width:var(--arcgis-internal-popup-content-large-size)}.is-md-width-breakpoint .main-container{width:var(--arcgis-internal-popup-content-medium-size)}.is-sm-width-breakpoint .main-container,.is-xs-width-breakpoint .main-container{width:var(--arcgis-internal-popup-content-small-size)}.is-xs-width-breakpoint.is-docked-top-center,.is-xs-width-breakpoint.is-docked-bottom-center{margin:0;width:auto}.is-xs-width-breakpoint.is-docked-top-center .main-container,.is-xs-width-breakpoint.is-docked-bottom-center .main-container{position:absolute;right:0;left:0;width:100%;max-height:75%}.is-xs-width-breakpoint.is-docked-bottom-center .main-container{bottom:0}.is-xs-width-breakpoint.is-docked-top-center .main-container{top:0}.is-xl-height-breakpoint .main-container{max-height:var(--arcgis-internal-popup-content-x-large-size)}.is-lg-height-breakpoint .main-container{max-height:var(--arcgis-internal-popup-content-large-size)}.is-sm-height-breakpoint .main-container,.is-xs-height-breakpoint .main-container{max-height:var(--arcgis-internal-popup-content-small-size)}.is-docked{flex-flow:row nowrap;inset:0;margin:var(--arcgis-layout-overlay-space-top, 0) var(--arcgis-layout-overlay-space-right, 0) var(--arcgis-layout-overlay-space-bottom, 0) var(--arcgis-layout-overlay-space-left, 0);padding:var(--calcite-spacing-lg) var(--calcite-spacing-lg) var(--calcite-spacing-xxxl) var(--calcite-spacing-lg);animation:docking-animation .25s ease-out}.is-docked-top-left,.is-docked-top-center,.is-docked-top-right{align-items:flex-start}.is-docked-bottom-left,.is-docked-bottom-center,.is-docked-bottom-right{align-items:flex-end}.is-docked-top-left,.is-docked-bottom-left{justify-content:flex-start}.is-docked-top-center,.is-docked-bottom-center{justify-content:center}.is-docked-top-right,.is-docked-bottom-right{justify-content:flex-end}.is-docked-top-left .main-container,.is-docked-top-right .main-container,.is-docked-bottom-left .main-container,.is-docked-bottom-right .main-container{max-height:80%}.is-docked-top-center .main-container,.is-docked-bottom-center .main-container{max-height:40%}:dir(rtl) .is-docked-top-left,:dir(rtl) .is-docked-bottom-left{justify-content:flex-end}:dir(rtl) .is-docked-top-right,:dir(rtl) .is-docked-bottom-right{justify-content:flex-start}@media(prefers-reduced-motion){.aligned-top-center,.aligned-top-left,.aligned-top-right,.aligned-bottom-center,.aligned-bottom-left,.aligned-bottom-right{animation:none}}@media(prefers-reduced-motion){.is-docked{animation:none}}@keyframes docking-animation{0%{opacity:0}25%{opacity:0}to{opacity:1}}@keyframes popup-intro-animation-down{0%{transform:translateY(calc(var(--calcite-spacing-xs) * -1));opacity:0}to{transform:translate(0);opacity:1}}@keyframes popup-intro-animation-up{0%{transform:translateY(var(--calcite-spacing-xs));opacity:0}to{transform:translate(0);opacity:1}}`;
17
+ const I = P`:host{display:contents;--arcgis-internal-popup-pointer-size: 12px;--arcgis-internal-popup-content-small-size: 280px;--arcgis-internal-popup-content-medium-size: 340px;--arcgis-internal-popup-content-large-size: 400px;--arcgis-internal-popup-content-x-large-size: 460px;--arcgis-internal-popup-content-min-size-y: 48px;--arcgis-internal-popup-pointer-size-half: calc(var(--arcgis-internal-popup-pointer-size) / 2);--arcgis-internal-popup-pointer-size-half-negative: calc(var(--arcgis-internal-popup-pointer-size-half) * -1)}.root{display:flex;position:absolute;flex-flow:column nowrap;z-index:401;pointer-events:none;border:none;overflow:visible;padding:0;width:auto;height:auto;background-color:transparent}.hidden{visibility:hidden}.root:popover-open{display:flex;position:fixed;flex-flow:column nowrap;margin:0}arcgis-features{flex:1;width:100%}.shadow{box-shadow:var(--calcite-shadow-sm)}.aligned-top-center{transform-origin:50% 100%}.aligned-bottom-center{transform-origin:50% -5%}.aligned-top-left,.aligned-bottom-left{transform-origin:100% 50%}.aligned-top-right,.aligned-bottom-right{transform-origin:-5% 50%}.aligned-top-center,.aligned-top-left,.aligned-top-right{animation:popup-intro-animation-down .2s ease-in-out}.aligned-bottom-center,.aligned-bottom-left,.aligned-bottom-right{animation:popup-intro-animation-up .2s ease-in-out}.main-container{display:flex;position:relative;z-index:1;background-color:var(--calcite-color-foreground-1);width:var(--arcgis-internal-popup-content-medium-size);min-height:var(--arcgis-internal-popup-content-min-size-y);max-height:var(--arcgis-internal-popup-content-medium-size);overflow:hidden;pointer-events:auto}.pointer{position:absolute;width:0;height:0}.pointer-direction{position:absolute;width:var(--arcgis-internal-popup-pointer-size);height:var(--arcgis-internal-popup-pointer-size);content:"";background-color:var(--calcite-color-foreground-1)}.aligned-top-center .pointer{top:100%;left:50%;margin:0 0 0 var(--arcgis-internal-popup-pointer-size-half-negative)}.aligned-bottom-center .pointer{bottom:100%;left:50%;margin:0 0 0 var(--arcgis-internal-popup-pointer-size-half-negative)}.aligned-top-left .pointer{right:var(--arcgis-internal-popup-pointer-size-half);bottom:var(--arcgis-internal-popup-pointer-size-half);transform:rotate(-45deg)}.aligned-bottom-left .pointer{top:var(--arcgis-internal-popup-pointer-size-half);right:var(--arcgis-internal-popup-pointer-size-half);transform:rotate(45deg)}.aligned-top-right .pointer{bottom:var(--arcgis-internal-popup-pointer-size-half);left:var(--arcgis-internal-popup-pointer-size-half);transform:rotate(45deg)}.aligned-bottom-right .pointer{top:var(--arcgis-internal-popup-pointer-size-half);left:var(--arcgis-internal-popup-pointer-size-half);transform:rotate(-45deg)}.aligned-top-center .pointer-direction,.aligned-bottom-center .pointer-direction{transform:scale(.75,2) rotate(45deg)}.aligned-top-left .pointer-direction,.aligned-bottom-left .pointer-direction,.aligned-top-right .pointer-direction,.aligned-bottom-right .pointer-direction{top:var(--arcgis-internal-popup-pointer-size-half-negative);left:var(--arcgis-internal-popup-pointer-size-half-negative);transform:scale(.75,2.5) rotate(45deg)}.aligned-top-center .pointer-direction{top:var(--arcgis-internal-popup-pointer-size-half-negative);left:0}.aligned-bottom-center .pointer-direction{bottom:var(--arcgis-internal-popup-pointer-size-half-negative);left:0}.is-xl-width-breakpoint .main-container{width:var(--arcgis-internal-popup-content-x-large-size)}.is-lg-width-breakpoint .main-container{width:var(--arcgis-internal-popup-content-large-size)}.is-md-width-breakpoint .main-container{width:var(--arcgis-internal-popup-content-medium-size)}.is-sm-width-breakpoint .main-container,.is-xs-width-breakpoint .main-container{width:var(--arcgis-internal-popup-content-small-size)}.is-xs-width-breakpoint.is-docked-top-center,.is-xs-width-breakpoint.is-docked-bottom-center{margin:0;width:auto}.is-xs-width-breakpoint.is-docked-top-center .main-container,.is-xs-width-breakpoint.is-docked-bottom-center .main-container{position:absolute;right:0;left:0;width:100%;max-height:75%}.is-xs-width-breakpoint.is-docked-bottom-center .main-container{bottom:0}.is-xs-width-breakpoint.is-docked-top-center .main-container{top:0}.is-xl-height-breakpoint .main-container{max-height:var(--arcgis-internal-popup-content-x-large-size)}.is-lg-height-breakpoint .main-container{max-height:var(--arcgis-internal-popup-content-large-size)}.is-sm-height-breakpoint .main-container,.is-xs-height-breakpoint .main-container{max-height:var(--arcgis-internal-popup-content-small-size)}.is-docked{flex-flow:row nowrap;inset:0;margin:var(--arcgis-layout-overlay-space-top, 0) var(--arcgis-layout-overlay-space-right, 0) var(--arcgis-layout-overlay-space-bottom, 0) var(--arcgis-layout-overlay-space-left, 0);padding:var(--calcite-spacing-lg) var(--calcite-spacing-lg) var(--calcite-spacing-xxxl) var(--calcite-spacing-lg);animation:docking-animation .25s ease-out}.is-docked-top-left,.is-docked-top-center,.is-docked-top-right{align-items:flex-start}.is-docked-bottom-left,.is-docked-bottom-center,.is-docked-bottom-right{align-items:flex-end}.is-docked-top-left,.is-docked-bottom-left{justify-content:flex-start}.is-docked-top-center,.is-docked-bottom-center{justify-content:center}.is-docked-top-right,.is-docked-bottom-right{justify-content:flex-end}.is-docked-top-left .main-container,.is-docked-top-right .main-container,.is-docked-bottom-left .main-container,.is-docked-bottom-right .main-container{max-height:80%}.is-docked-top-center .main-container,.is-docked-bottom-center .main-container{max-height:40%}:dir(rtl) .is-docked-top-left,:dir(rtl) .is-docked-bottom-left{justify-content:flex-end}:dir(rtl) .is-docked-top-right,:dir(rtl) .is-docked-bottom-right{justify-content:flex-start}@media(prefers-reduced-motion){.aligned-top-center,.aligned-top-left,.aligned-top-right,.aligned-bottom-center,.aligned-bottom-left,.aligned-bottom-right{animation:none}}@media(prefers-reduced-motion){.is-docked{animation:none}}@keyframes docking-animation{0%{opacity:0}25%{opacity:0}to{opacity:1}}@keyframes popup-intro-animation-down{0%{transform:translateY(calc(var(--calcite-spacing-xs) * -1));opacity:0}to{transform:translate(0);opacity:1}}@keyframes popup-intro-animation-up{0%{transform:translateY(var(--calcite-spacing-xs));opacity:0}to{transform:translate(0);opacity:1}}`;
18
18
  function f(b) {
19
19
  return b && Number.parseInt(b.replaceAll(/[^-\d.]/gu, ""), 10) || 0;
20
20
  }
21
- const j = L(N), M = {
21
+ const j = L($), x = {
22
22
  buttonEnabled: !0,
23
23
  position: "auto",
24
24
  breakpoint: {
25
25
  width: 544
26
26
  }
27
27
  };
28
- class W extends T {
28
+ class W extends S {
29
29
  constructor() {
30
- super(...arguments), this._featuresComponent = g(), this._dockAction = new H({ id: "popup-dock-action" }), this._mainContainerNode = g(), this._pointerNode = g(), this.messages = $({}), this.viewModel = j(this), this._containerNode = g(), this._popupResizeObserver = new ResizeObserver(() => this._positionContainer()), this._positionContainer = () => {
30
+ super(...arguments), this._featuresComponent = g(), this._dockAction = new B({ id: "popup-dock-action" }), this._mainContainerNode = g(), this._pointerNode = g(), this.messages = N(), this.viewModel = j(this), this._containerNode = g(), this._popupResizeObserver = new ResizeObserver(() => this._positionContainer()), this._positionContainer = () => {
31
31
  this.positionStyle = this._calculatePositionStyle();
32
- }, this.screenLocation = V(this), this.actions = this.viewModel.actions, this.active = this.viewModel.active, this.alignment = "auto", this.autoCloseEnabled = this.viewModel.autoCloseEnabled, this.autoDestroyDisabled = !1, this.collapsed = !1, this.content = this.viewModel.content, this.defaultPopupTemplateEnabled = this.viewModel.defaultPopupTemplateEnabled, this.dockEnabled = !1, this.featureCount = this.viewModel.featureCount, this.featureMenuOpen = this.viewModel.featureMenuOpen, this.featureMenuTitle = this.viewModel.featureMenuTitle, this.features = this.viewModel.features, this.goToOverride = this.viewModel.goToOverride, this.heading = this.viewModel.title, this.headingLevel = 2, this.hideActionBar = !1, this.hideCloseButton = !1, this.hideCollapseButton = !1, this.hideFeatureMenuHeading = !1, this.hideFeatureNavigation = !1, this.hideFeatureListLayerTitle = !1, this.hideHeading = !1, this.hideSpinner = !1, this.highlightDisabled = this.viewModel.highlightEnabled, this.includeDefaultActionsDisabled = this.viewModel.includeDefaultActions, this.initialDisplayMode = this.viewModel.initialDisplayMode, this.location = this.viewModel.location, this.promises = this.viewModel.promises, this.selectedFeature = this.viewModel.selectedFeature, this.selectedFeatureIndex = this.viewModel.selectedFeatureIndex, this.state = this.viewModel.state, this.topLayerDisabled = !1, this.updateLocationEnabled = this.viewModel.updateLocationEnabled, this.view = this.viewModel.view, this.arcgisPropertyChange = O()("active", "collapsed", "currentAlignment", "dockEnabled", "featureCount", "featureMenuOpen", "features", "promises", "selectedDrillInFeature", "selectedFeature", "selectedFeatureComponent", "selectedFeatureIndex", "state", "open"), this.arcgisReady = w(), this.arcgisClose = w(), this.arcgisTriggerAction = w();
32
+ }, this.visible = this.viewModel.visible, this.screenLocation = H(this), this.actions = this.viewModel.actions, this.active = this.viewModel.active, this.alignment = "auto", this.autoCloseEnabled = this.viewModel.autoCloseEnabled, this.autoDestroyDisabled = !1, this.collapsed = !1, this.content = this.viewModel.content, this.defaultPopupTemplateEnabled = this.viewModel.defaultPopupTemplateEnabled, this.dockEnabled = !1, this.featureCount = this.viewModel.featureCount, this.featureMenuOpen = this.viewModel.featureMenuOpen, this.featureMenuTitle = this.viewModel.featureMenuTitle, this.features = this.viewModel.features, this.goToOverride = this.viewModel.goToOverride, this.heading = this.viewModel.title, this.headingLevel = 2, this.hideActionBar = !1, this.hideCloseButton = !1, this.hideCollapseButton = !1, this.hideFeatureMenuHeading = !1, this.hideFeatureNavigation = !1, this.hideFeatureListLayerTitle = !1, this.hideHeading = !1, this.hideSpinner = !1, this.highlightDisabled = this.viewModel.highlightEnabled, this.includeDefaultActionsDisabled = this.viewModel.includeDefaultActions, this.initialDisplayMode = this.viewModel.initialDisplayMode, this.location = this.viewModel.location, this.promises = this.viewModel.promises, this.selectedFeature = this.viewModel.selectedFeature, this.selectedFeatureIndex = this.viewModel.selectedFeatureIndex, this.state = this.viewModel.state, this.topLayerDisabled = !1, this.updateLocationEnabled = this.viewModel.updateLocationEnabled, this.view = this.viewModel.view, this.arcgisPropertyChange = O()("active", "collapsed", "currentAlignment", "dockEnabled", "featureCount", "featureMenuOpen", "features", "promises", "selectedDrillInFeature", "selectedFeature", "selectedFeatureComponent", "selectedFeatureIndex", "state", "open"), this.arcgisReady = w(), this.arcgisClose = w(), this.arcgisTriggerAction = w();
33
33
  }
34
34
  static {
35
- this.properties = { screenLocation: 16, positionStyle: 16, _featureNavigationTop: 16, actions: 0, active: 0, alignment: 1, autoCloseEnabled: 5, autoDestroyDisabled: 5, collapsed: 5, content: 1, currentAlignment: 32, currentDockPosition: 32, defaultPopupTemplateEnabled: 5, dockEnabled: 5, dockOptions: 0, featureCount: 0, featureMenuOpen: 5, featureMenuTitle: 1, features: 0, goToOverride: 0, heading: 1, headingLevel: 9, hideActionBar: 5, hideCloseButton: 5, hideCollapseButton: 5, hideFeatureMenuHeading: 5, hideFeatureNavigation: 5, hideFeatureListLayerTitle: 5, hideHeading: 5, hideSpinner: 5, highlightDisabled: 5, includeDefaultActionsDisabled: 5, initialDisplayMode: 1, label: 1, location: 0, messageOverrides: 0, open: 5, promises: 0, referenceElement: 1, selectedDrillInFeature: 32, selectedFeature: 0, selectedFeatureComponent: 32, selectedFeatureIndex: 9, state: 32, topLayerDisabled: 5, updateLocationEnabled: 5, view: 0 };
35
+ this.properties = { visible: 16, screenLocation: 16, positionStyle: 16, _featureNavigationTop: 16, actions: 0, active: 0, alignment: 1, autoCloseEnabled: 5, autoDestroyDisabled: 5, collapsed: 5, content: 1, currentAlignment: 32, currentDockPosition: 32, defaultPopupTemplateEnabled: 5, dockEnabled: 5, dockOptions: 0, featureCount: 0, featureMenuOpen: 5, featureMenuTitle: 1, features: 0, goToOverride: 0, heading: 1, headingLevel: 9, hideActionBar: 5, hideCloseButton: 5, hideCollapseButton: 5, hideFeatureMenuHeading: 5, hideFeatureNavigation: 5, hideFeatureListLayerTitle: 5, hideHeading: 5, hideSpinner: 5, highlightDisabled: 5, includeDefaultActionsDisabled: 5, initialDisplayMode: 1, label: 1, location: 0, messageOverrides: 0, open: 5, promises: 0, referenceElement: 1, selectedDrillInFeature: 32, selectedFeature: 0, selectedFeatureComponent: 32, selectedFeatureIndex: 9, state: 32, topLayerDisabled: 5, updateLocationEnabled: 5, view: 0 };
36
36
  }
37
37
  static {
38
38
  this.styles = I;
39
39
  }
40
40
  get trackLocation() {
41
- return this.viewModel.active && !this.dockEnabled;
41
+ return this.active && !this.dockEnabled;
42
42
  }
43
43
  get _featureNavigationTop() {
44
44
  const { currentAlignment: t, currentDockPosition: e } = this;
@@ -51,19 +51,19 @@ class W extends T {
51
51
  return this._getCurrentDockPosition();
52
52
  }
53
53
  get dockOptions() {
54
- return this._dockOptions || M;
54
+ return this._dockOptions || x;
55
55
  }
56
56
  set dockOptions(t) {
57
- const e = { ...M }, i = this.viewModel?.view?.breakpoints, o = {};
57
+ const e = { ...x }, i = this.viewModel?.view?.breakpoints, o = {};
58
58
  i && (o.width = i.xsmall, o.height = i.xsmall);
59
59
  const n = { ...e, ...t }, r = { ...e.breakpoint, ...o }, { breakpoint: a } = n;
60
60
  typeof a == "object" ? n.breakpoint = { ...r, ...a } : a && (n.breakpoint = r), this._dockOptions = n;
61
61
  }
62
62
  get open() {
63
- return this.viewModel.visible;
63
+ return this.visible;
64
64
  }
65
65
  set open(t) {
66
- this.viewModel.visible = t;
66
+ this.visible = t;
67
67
  }
68
68
  get selectedDrillInFeature() {
69
69
  return this._featuresComponent.value?.selectedDrillInFeature ?? null;
@@ -99,9 +99,9 @@ class W extends T {
99
99
  this.manager.onLifecycle(() => [
100
100
  l(() => [this.viewModel?.view?.widthBreakpoint, this.dockEnabled], () => this._handleDockIcon(), { initial: !0 }),
101
101
  l(() => [this.dockEnabled, this.messages?.undock, this.messages?.dock], () => this._handleDockEnabled(), { initial: !0 }),
102
- l(() => this.dockOptions, (t) => {
103
- const { _dockAction: e } = this, i = this._featuresComponent.value?.headerActions;
104
- i?.remove(e), t.buttonEnabled && i?.add(e);
102
+ l(() => [this.dockOptions, this._featuresComponent.value], () => {
103
+ const { _dockAction: t, dockOptions: e } = this, i = this._featuresComponent.value?.headerActions;
104
+ i?.remove(t), e.buttonEnabled && i?.add(t);
105
105
  }, { initial: !0 }),
106
106
  l(() => [
107
107
  this._pointerNode.value,
@@ -114,8 +114,8 @@ class W extends T {
114
114
  this.viewModel?.location,
115
115
  this.viewModel?.view?.size
116
116
  ], () => this._positionContainer(), { initial: !0 }),
117
- l(() => this._mainContainerNode.value, (t, e) => {
118
- e && this._popupResizeObserver.unobserve(e), t && this._popupResizeObserver.observe(t);
117
+ l(() => this._mainContainerNode.value, (t) => {
118
+ this._popupResizeObserver.disconnect(), t && this._popupResizeObserver.observe(t);
119
119
  }, { initial: !0 }),
120
120
  l(() => this.viewModel?.view?.size, (t, e) => this._updateDockEnabledForViewSize(t, e)),
121
121
  l(() => this.viewModel?.view?.ready, () => this._setDockEnabledForViewSize(this.dockOptions), { initial: !0 }),
@@ -123,11 +123,11 @@ class W extends T {
123
123
  this.viewModel.map = t;
124
124
  }, { initial: !0 }),
125
125
  l(() => this.screenLocation, (t, e) => this._autoClose(t, e)),
126
- l(() => [this.viewModel.active, this._containerNode.value, this.dockEnabled, this.topLayerDisabled], () => this._togglePopover(), { initial: !0 })
126
+ l(() => [this.active, this._containerNode.value, this.dockEnabled, this.topLayerDisabled], () => this._togglePopover(), { initial: !0 })
127
127
  ]);
128
128
  }
129
129
  _togglePopover() {
130
- this.viewModel.active && !this.dockEnabled && !this.topLayerDisabled ? this._containerNode.value?.showPopover() : this._containerNode.value?.hidePopover();
130
+ this._containerNode.value?.togglePopover(this.active && !this.dockEnabled && !this.topLayerDisabled);
131
131
  }
132
132
  _handleClose(t) {
133
133
  t.stopPropagation(), this.arcgisClose.emit();
@@ -155,7 +155,7 @@ class W extends T {
155
155
  const { _mainContainerNode: e, _popupRect: i, viewModel: o } = this, { view: n } = o, { screenLocation: r } = this;
156
156
  if (r == null || !n || !i || !e.value)
157
157
  return "top-center";
158
- const a = window.getComputedStyle(e.value), d = f(a.maxHeight), s = f(a.height), c = this._getPointerSize(), { height: v, width: C } = i, h = C + c, p = Math.max(v, d, s) + c, z = this._isOutsideView({
158
+ const a = window.getComputedStyle(e.value), c = f(a.maxHeight), s = f(a.height), d = this._getPointerSize(), { height: v, width: M } = i, h = M + d, p = Math.max(v, c, s) + d, z = this._isOutsideView({
159
159
  popupHeight: p,
160
160
  popupWidth: h,
161
161
  screenLocation: r,
@@ -186,11 +186,11 @@ class W extends T {
186
186
  return typeof t == "function" ? t.call(this) : t;
187
187
  }
188
188
  _getCurrentAlignment() {
189
- return this.dockEnabled || !this.viewModel.active || !this._mainContainerNode.value ? null : this._calculatePositionResult(this._calculateAutoAlignment(this._callCurrentAlignment(this.alignment)));
189
+ return this.dockEnabled || !this.active || !this._mainContainerNode.value ? null : this._calculatePositionResult(this._calculateAutoAlignment(this._callCurrentAlignment(this.alignment)));
190
190
  }
191
191
  _calculatePositionResult(t) {
192
192
  const e = ["left", "right"];
193
- return x(this.el) === "rtl" && e.reverse(), t?.replace(/start/giu, e[0]).replace(/end/giu, e[1]);
193
+ return C(this.el) === "rtl" && e.reverse(), t?.replace(/start/giu, e[0]).replace(/end/giu, e[1]);
194
194
  }
195
195
  _callDockPosition(t) {
196
196
  return typeof t == "function" ? t.call(this) : t;
@@ -199,12 +199,12 @@ class W extends T {
199
199
  return this._calculatePositionResult(this._calculateAutoDockPosition(this._callDockPosition(this.dockOptions?.position)));
200
200
  }
201
201
  _getCurrentDockPosition() {
202
- return this.dockEnabled && this.viewModel.active ? this._getDockPosition() : null;
202
+ return this.dockEnabled && this.active ? this._getDockPosition() : null;
203
203
  }
204
204
  _calculateAutoDockPosition(t) {
205
205
  if (t !== "auto")
206
206
  return t;
207
- const e = this.viewModel?.view, i = x(this.el) === "rtl" ? "top-left" : "top-right";
207
+ const e = this.viewModel?.view, i = C(this.el) === "rtl" ? "top-left" : "top-right";
208
208
  if (!e)
209
209
  return i;
210
210
  const { breakpoints: o } = e;
@@ -269,29 +269,24 @@ class W extends T {
269
269
  left: t + i.left + a
270
270
  };
271
271
  }
272
+ _getPositionStyleValue(t) {
273
+ return t != null ? `${t}px` : "auto";
274
+ }
272
275
  _calculatePositionStyle() {
273
- const { screenLocation: t } = this, e = this.view?.container?.getBoundingClientRect(), i = this._mainContainerNode.value?.getBoundingClientRect();
274
- if (this._popupRect = i, this.dockEnabled)
275
- return {
276
- top: "0px",
277
- left: "0px",
278
- bottom: "0px",
279
- right: "0px"
280
- };
276
+ if (this.dockEnabled)
277
+ return;
278
+ const { screenLocation: t } = this;
281
279
  if (t == null)
282
280
  return;
281
+ const e = this.view?.container?.getBoundingClientRect(), i = this._mainContainerNode.value?.getBoundingClientRect();
282
+ this._popupRect = i;
283
283
  const o = this._calculateAlignmentPosition(t.x, t.y, e, i);
284
284
  if (o)
285
- return {
286
- top: o.top !== void 0 ? `${o.top}px` : "auto",
287
- left: o.left !== void 0 ? `${o.left}px` : "auto",
288
- bottom: o.bottom !== void 0 ? `${o.bottom}px` : "auto",
289
- right: o.right !== void 0 ? `${o.right}px` : "auto"
290
- };
285
+ return `inset: ${this._getPositionStyleValue(o.top)} ${this._getPositionStyleValue(o.right)} ${this._getPositionStyleValue(o.bottom)} ${this._getPositionStyleValue(o.left)};`;
291
286
  }
292
287
  _dockingThresholdCrossed(t, e, i) {
293
- const [o, n] = t, [r, a] = e, { width: d = 0, height: s = 0 } = i ?? {};
294
- return o <= d && r > d || o > d && r <= d || n <= s && a > s || n > s && a <= s;
288
+ const [o, n] = t, [r, a] = e, { width: c = 0, height: s = 0 } = i ?? {};
289
+ return o <= c && r > c || o > c && r <= c || n <= s && a > s || n > s && a <= s;
295
290
  }
296
291
  _updateDockEnabledForViewSize(t, e) {
297
292
  if (!t || !e)
@@ -313,7 +308,7 @@ class W extends T {
313
308
  this.viewModel?.view?.ready && typeof t.breakpoint == "object" && (this.dockEnabled = this._shouldDockAtCurrentViewSize(t));
314
309
  }
315
310
  render() {
316
- const { dockEnabled: t, currentAlignment: e, currentDockPosition: i, positionStyle: o } = this, { active: n, view: r } = this.viewModel, a = n && t, d = n && !t, s = r?.widthBreakpoint, c = r?.heightBreakpoint, v = {
311
+ const { dockEnabled: t, currentAlignment: e, currentDockPosition: i, positionStyle: o } = this, { active: n, view: r } = this.viewModel, a = n && t, c = n && !t, s = r?.widthBreakpoint, d = r?.heightBreakpoint, v = {
317
312
  "aligned-top-center": e === "top-center",
318
313
  "aligned-bottom-center": e === "bottom-center",
319
314
  "aligned-top-left": e === "top-left",
@@ -321,7 +316,7 @@ class W extends T {
321
316
  "aligned-top-right": e === "top-right",
322
317
  "aligned-bottom-right": e === "bottom-right",
323
318
  "is-docked": a,
324
- shadow: d,
319
+ shadow: c,
325
320
  "is-docked-top-left": i === "top-left",
326
321
  "is-docked-top-center": i === "top-center",
327
322
  "is-docked-top-right": i === "top-right",
@@ -333,15 +328,15 @@ class W extends T {
333
328
  "is-md-width-breakpoint": s === "medium",
334
329
  "is-sm-width-breakpoint": s === "small",
335
330
  "is-xs-width-breakpoint": s === "xsmall",
336
- "is-xl-height-breakpoint": c === "xlarge",
337
- "is-lg-height-breakpoint": c === "large",
338
- "is-md-height-breakpoint": c === "medium",
339
- "is-sm-height-breakpoint": c === "small",
340
- "is-xs-height-breakpoint": c === "xsmall"
331
+ "is-xl-height-breakpoint": d === "xlarge",
332
+ "is-lg-height-breakpoint": d === "large",
333
+ "is-md-height-breakpoint": d === "medium",
334
+ "is-sm-height-breakpoint": d === "small",
335
+ "is-xs-height-breakpoint": d === "xsmall"
341
336
  };
342
- return u`<div style=${S(this.positionStyle)} class=${_(y("root", v, {
337
+ return u`<div style=${T(o)} class=${_(y("root", v, {
343
338
  hidden: !n || !o && !t
344
- }))} .ariaHidden=${!n} .ariaLabel=${B(this.heading ?? "")} role=dialog popover=manual ${m(this._containerNode)}>${this._renderMainContainer()}${this._renderPointer()}</div>`;
339
+ }))} .ariaHidden=${!n} .ariaLabel=${V(this.heading ?? "")} role=dialog popover=manual ${m(this._containerNode)}>${this._renderMainContainer()}${this._renderPointer()}</div>`;
345
340
  }
346
341
  _renderPointer() {
347
342
  return !this.dockEnabled || !this.active ? u`<div class="pointer" role=presentation><div class=${_(y("pointer-direction", "shadow"))} ${m(this._pointerNode)}></div></div>` : null;
@@ -1,4 +1,4 @@
1
- import type { ClickEvent } from "@arcgis/core/views/input/types";
1
+ import type { ClickEvent } from "@arcgis/core/views/input/types.js";
2
2
 
3
3
  export type PopupPositionResult = "bottom-center" | "bottom-left" | "bottom-right" | "top-center" | "top-left" | "top-right";
4
4
 
@@ -1,7 +1,7 @@
1
1
  import type Accessor from "@arcgis/core/core/Accessor.js";
2
2
  import type Collection from "@arcgis/core/core/Collection.js";
3
- import type SceneView from "@arcgis/core/views/SceneView";
4
- import type Slide from "@arcgis/core/webscene/Slide";
3
+ import type SceneView from "@arcgis/core/views/SceneView.js";
4
+ import type Slide from "@arcgis/core/webscene/Slide.js";
5
5
 
6
6
  /** @internal */
7
7
  export interface PresentationViewModelProperties extends Partial<Pick<PresentationViewModel, "keyboardNavigationEnabled" | "slideId" | "view">> {}
@@ -1,5 +1,5 @@
1
1
  /// <reference path="../../index.d.ts" />
2
- import type SceneView from "@arcgis/core/views/SceneView";
2
+ import type SceneView from "@arcgis/core/views/SceneView.js";
3
3
  import type { PublicLitElement as LitElement } from "@arcgis/lumina";
4
4
  import type { T9nMeta } from "@arcgis/lumina/controllers";
5
5
 
@@ -1,18 +1,17 @@
1
1
  /// <reference path="../../index.d.ts" />
2
- import type FileLink from "@arcgis/core/widgets/Print/FileLink";
3
- import type CustomTemplate from "@arcgis/core/widgets/Print/CustomTemplate";
4
- import type PortalItem from "@arcgis/core/portal/PortalItem";
5
- import type TemplateOptions from "@arcgis/core/widgets/Print/TemplateOptions";
2
+ import type FileLink from "@arcgis/core/widgets/Print/FileLink.js";
3
+ import type CustomTemplate from "@arcgis/core/widgets/Print/CustomTemplate.js";
4
+ import type PortalItem from "@arcgis/core/portal/PortalItem.js";
5
+ import type TemplateOptions from "@arcgis/core/widgets/Print/TemplateOptions.js";
6
6
  import type MapView from "@arcgis/core/views/MapView.js";
7
7
  import type Collection from "@arcgis/core/core/Collection.js";
8
- import type FileLink2 from "@arcgis/core/widgets/Print/FileLink.js";
9
8
  import type SpatialReference from "@arcgis/core/geometry/SpatialReference.js";
10
9
  import type Portal from "@arcgis/core/portal/Portal.js";
11
10
  import type { SubmitEvent, CompleteEvent } from "@arcgis/core/widgets/Print/PrintViewModel.js";
12
11
  import type { PublicLitElement as LitElement } from "@arcgis/lumina";
13
12
  import type { ArcgisReferenceElement, HeadingLevel } from "../types.js";
14
13
  import type { Formats } from "./types.js";
15
- import type { CollectionChangeEvent } from "@arcgis/core/core/Collection";
14
+ import type { CollectionChangeEvent } from "@arcgis/core/core/Collection.js";
16
15
  import type { T9nMeta } from "@arcgis/lumina/controllers";
17
16
  import type { Formats as Formats2, Layouts, TemplateCustomTextElements, State } from "@arcgis/core/widgets/Print/types.js";
18
17
 
@@ -149,7 +148,7 @@ export abstract class ArcgisPrint extends LitElement {
149
148
  *
150
149
  * @since 4.33
151
150
  */
152
- accessor exportedLinks: Collection<FileLink2>;
151
+ accessor exportedLinks: Collection<FileLink>;
153
152
  /**
154
153
  * This option allows passing extra parameters (in addition to [templateOptions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-print/#templateOptions)) to the print (export webmap) requests.
155
154
  *
@@ -1,6 +1,6 @@
1
1
  /// <reference path="../../index.d.ts" />
2
2
  import type Portal from "@arcgis/core/portal/Portal.js";
3
- import type Point from "@arcgis/core/geometry/Point";
3
+ import type Point from "@arcgis/core/geometry/Point.js";
4
4
  import type { HeadingLevel } from "../types.js";
5
5
  import type { PublicLitElement as LitElement } from "@arcgis/lumina";
6
6
  import type { T9nMeta } from "@arcgis/lumina/controllers";
@@ -1,6 +1,6 @@
1
1
  /// <reference path="../../index.d.ts" />
2
2
  import type MapView from "@arcgis/core/views/MapView.js";
3
- import type { MeasurementSystem } from "@arcgis/core/core/units";
3
+ import type { MeasurementSystem } from "@arcgis/core/core/units.js";
4
4
  import type { PublicLitElement as LitElement } from "@arcgis/lumina";
5
5
  import type { ArcgisReferenceElement } from "../types.js";
6
6
  import type { T9nMeta } from "@arcgis/lumina/controllers";
@@ -2,18 +2,17 @@
2
2
  import type Camera from "@arcgis/core/Camera.js";
3
3
  import type Point from "@arcgis/core/geometry/Point.js";
4
4
  import type SceneView from "@arcgis/core/views/SceneView.js";
5
- import type LayerView from "@arcgis/core/views/layers/LayerView";
6
- import type Layer from "@arcgis/core/layers/Layer";
7
- import type Analysis from "@arcgis/core/analysis/Analysis";
8
- import type Viewpoint from "@arcgis/core/Viewpoint";
9
- import type SceneViewPerformanceInfo from "@arcgis/core/views/3d/support/SceneViewPerformanceInfo";
10
- import type Ground from "@arcgis/core/Ground";
11
- import type GamepadSettings from "@arcgis/core/views/input/gamepad/GamepadSettings";
12
- import type FocusAreas from "@arcgis/core/effects/FocusAreas";
13
- import type Basemap from "@arcgis/core/Basemap";
14
- import type LayerView2 from "@arcgis/core/views/layers/LayerView.js";
5
+ import type LayerView from "@arcgis/core/views/layers/LayerView.js";
6
+ import type Layer from "@arcgis/core/layers/Layer.js";
7
+ import type Analysis from "@arcgis/core/analysis/Analysis.js";
8
+ import type Viewpoint from "@arcgis/core/Viewpoint.js";
9
+ import type SceneViewPerformanceInfo from "@arcgis/core/views/3d/support/SceneViewPerformanceInfo.js";
10
+ import type Ground from "@arcgis/core/Ground.js";
11
+ import type GamepadSettings from "@arcgis/core/views/input/gamepad/GamepadSettings.js";
12
+ import type FocusAreas from "@arcgis/core/effects/FocusAreas.js";
13
+ import type Basemap from "@arcgis/core/Basemap.js";
14
+ import type Map from "@arcgis/core/Map.js";
15
15
  import type Collection from "@arcgis/core/core/Collection.js";
16
- import type Analysis2 from "@arcgis/core/analysis/Analysis.js";
17
16
  import type BasemapView from "@arcgis/core/views/BasemapView.js";
18
17
  import type Extent from "@arcgis/core/geometry/Extent.js";
19
18
  import type Constraints from "@arcgis/core/views/3d/constraints/Constraints.js";
@@ -23,7 +22,6 @@ import type Graphic from "@arcgis/core/Graphic.js";
23
22
  import type GroundView from "@arcgis/core/views/GroundView.js";
24
23
  import type HighlightOptions from "@arcgis/core/views/support/HighlightOptions.js";
25
24
  import type Magnifier from "@arcgis/core/views/Magnifier.js";
26
- import type Map2 from "@arcgis/core/Map.js";
27
25
  import type Navigation from "@arcgis/core/views/navigation/Navigation.js";
28
26
  import type Popup from "@arcgis/core/widgets/Popup.js";
29
27
  import type SpatialReference from "@arcgis/core/geometry/SpatialReference.js";
@@ -33,12 +31,12 @@ import type Polygon from "@arcgis/core/geometry/Polygon.js";
33
31
  import type { PublicLitElement as LitElement } from "@arcgis/lumina";
34
32
  import type { LoadErrorSource } from "../types.js";
35
33
  import type { ArcgisPopup } from "../arcgis-popup/customElement.js";
36
- import type { AnalysisView3DFor } from "@arcgis/core/views/3d/analysis/types";
37
- import type { LayerView3DFor } from "@arcgis/core/views/3d/types";
38
- import type { DoubleTapDragEvent, VerticalTwoFingerDragEvent, PointerUpEvent, PointerMoveEvent, PointerLeaveEvent, PointerEnterEvent, PointerDownEvent, ViewMouseWheelEvent, LayerViewDestroyEvent, LayerViewCreateErrorEvent, LayerViewCreateEvent, KeyUpEvent, KeyDownEvent, ImmediateDoubleClickEvent, ImmediateClickEvent, HoldEvent, DragEvent, DoubleClickEvent, ClickEvent } from "@arcgis/core/views/input/types";
39
- import type { AnalysisViewDestroyEvent, AnalysisViewCreateErrorEvent, AnalysisViewCreateEvent, HitTestOptions3D, Screenshot, UserSettings, SceneViewHitTestResult, GoToOptions3D, GoToTarget3D } from "@arcgis/core/views/types";
40
- import type { ScreenPoint } from "@arcgis/core/core/types";
41
- import type { ViewPopupOpenOptions } from "@arcgis/core/views/PopupView";
34
+ import type { AnalysisView3DFor } from "@arcgis/core/views/3d/analysis/types.js";
35
+ import type { LayerView3DFor } from "@arcgis/core/views/3d/types.js";
36
+ import type { DoubleTapDragEvent, VerticalTwoFingerDragEvent, PointerUpEvent, PointerMoveEvent, PointerLeaveEvent, PointerEnterEvent, PointerDownEvent, ViewMouseWheelEvent, LayerViewDestroyEvent, LayerViewCreateErrorEvent, LayerViewCreateEvent, KeyUpEvent, KeyDownEvent, ImmediateDoubleClickEvent, ImmediateClickEvent, HoldEvent, DragEvent, DoubleClickEvent, ClickEvent } from "@arcgis/core/views/input/types.js";
37
+ import type { AnalysisViewDestroyEvent, AnalysisViewCreateErrorEvent, AnalysisViewCreateEvent, HitTestOptions3D, Screenshot, UserSettings, SceneViewHitTestResult, GoToOptions3D, GoToTarget3D } from "@arcgis/core/views/types.js";
38
+ import type { ScreenPoint } from "@arcgis/core/core/types.js";
39
+ import type { ViewPopupOpenOptions } from "@arcgis/core/views/PopupView.js";
42
40
  import type { ReadonlyCollection } from "@arcgis/core/core/Collection.js";
43
41
  import type { ViewPadding } from "@arcgis/core/views/ui/types.js";
44
42
 
@@ -115,7 +113,7 @@ export abstract class ArcgisScene extends LitElement {
115
113
  *
116
114
  * @see [LayerView](https://developers.arcgis.com/javascript/latest/references/core/views/layers/LayerView/)
117
115
  */
118
- get allLayerViews(): ReadonlyCollection<LayerView2>;
116
+ get allLayerViews(): ReadonlyCollection<LayerView>;
119
117
  /**
120
118
  * Allows the view to be partially or fully transparent when composited with the webpage elements behind it.
121
119
  *
@@ -150,7 +148,7 @@ export abstract class ArcgisScene extends LitElement {
150
148
  * // Removes an analysis from the View
151
149
  * view.analyses.remove(lineOfSightAnalysis);
152
150
  */
153
- accessor analyses: Collection<Analysis2>;
151
+ accessor analyses: Collection<Analysis>;
154
152
  /**
155
153
  * Indicates whether animations are disabled in the view. This includes animated symbols (animated
156
154
  * [CIMSymbol](https://developers.arcgis.com/javascript/latest/references/core/symbols/CIMSymbol/),
@@ -212,7 +210,7 @@ export abstract class ArcgisScene extends LitElement {
212
210
  * Represents the [view for a single basemap](https://developers.arcgis.com/javascript/latest/references/core/views/BasemapView/)
213
211
  * after it has been added to the map.
214
212
  */
215
- accessor basemapView: BasemapView<LayerView2>;
213
+ accessor basemapView: BasemapView<LayerView>;
216
214
  /**
217
215
  * The [camera](https://developers.arcgis.com/javascript/latest/references/core/Camera/) allows to set the observation point from which the visible portion (or perspective)
218
216
  * of the view is determined. When set in the constructor, this property overrides the [center](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/#center), [extent](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/#extent), [scale](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/#scale), [viewpoint](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/#viewpoint), and [zoom](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/#zoom) properties.
@@ -572,7 +570,7 @@ export abstract class ArcgisScene extends LitElement {
572
570
  *
573
571
  * @see [LayerView](https://developers.arcgis.com/javascript/latest/references/core/views/layers/LayerView/)
574
572
  */
575
- get layerViews(): Collection<LayerView2>;
573
+ get layerViews(): Collection<LayerView>;
576
574
  /**
577
575
  * An array of objects that encountered an error while loading the component or any of its dependencies (e.g., basemap, ground, layers, tables). You may inspect the errors by accessing each object's `loadError` property.
578
576
  *
@@ -586,7 +584,7 @@ export abstract class ArcgisScene extends LitElement {
586
584
  */
587
585
  get magnifier(): Magnifier;
588
586
  /** An instance of a [Map](https://developers.arcgis.com/javascript/latest/references/core/Map/) object to display in the view. */
589
- accessor map: Map2 | null | undefined;
587
+ accessor map: Map | null | undefined;
590
588
  /**
591
589
  * Indication whether the view is being navigated (for example when panning).
592
590
  *
@@ -997,7 +995,7 @@ export abstract class ArcgisScene extends LitElement {
997
995
  ground?: Ground | string;
998
996
  };
999
997
  /**
1000
- * Fires when a arcgis-scene fails to load or if one of its dependencies fails to load (e.g., basemap, ground, layers).
998
+ * Fires when an arcgis-scene fails to load or if one of its dependencies fails to load (e.g., basemap, ground, layers).
1001
999
  *
1002
1000
  * @since 4.34
1003
1001
  * @see [loadErrorSources](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/#loadErrorSources)
@@ -1,20 +1,18 @@
1
1
  /// <reference path="../../index.d.ts" />
2
- import type Graphic from "@arcgis/core/Graphic";
3
- import type Point from "@arcgis/core/geometry/Point";
4
- import type LocatorSearchSource from "@arcgis/core/widgets/Search/LocatorSearchSource";
5
- import type LayerSearchSource from "@arcgis/core/widgets/Search/LayerSearchSource";
2
+ import type Graphic from "@arcgis/core/Graphic.js";
3
+ import type Point from "@arcgis/core/geometry/Point.js";
4
+ import type LocatorSearchSource from "@arcgis/core/widgets/Search/LocatorSearchSource.js";
5
+ import type LayerSearchSource from "@arcgis/core/widgets/Search/LayerSearchSource.js";
6
6
  import type Collection from "@arcgis/core/core/Collection.js";
7
7
  import type PopupTemplate from "@arcgis/core/PopupTemplate.js";
8
8
  import type Portal from "@arcgis/core/portal/Portal.js";
9
- import type Graphic2 from "@arcgis/core/Graphic.js";
10
9
  import type { SearchViewModelEvents, SearchViewModelSelectResultEvent, SearchViewModelState } from "@arcgis/core/widgets/Search/SearchViewModel.js";
11
10
  import type { ArcgisReferenceElement, IconName } from "../types.js";
12
11
  import type { PublicLitElement as LitElement } from "@arcgis/lumina";
13
- import type { SuggestResult, SearchResponse, SuggestResponse } from "@arcgis/core/widgets/Search/types";
12
+ import type { SuggestResult, SuggestResults, SearchResponse, SuggestResponse, SupportedSearchSource, SourcesHandler, SearchResults, SearchResult } from "@arcgis/core/widgets/Search/types.js";
14
13
  import type { T9nMeta } from "@arcgis/lumina/controllers";
15
14
  import type { MapViewOrSceneView } from "@arcgis/core/views/MapViewOrSceneView.js";
16
15
  import type { GoToOverride } from "@arcgis/core/widgets/support/types.js";
17
- import type { SupportedSearchSource, SourcesHandler, SearchResults, SearchResult, SuggestResults as SuggestResults2 } from "@arcgis/core/widgets/Search/types.js";
18
16
 
19
17
  /**
20
18
  * The Search component provides a way to perform search operations on locator service(s), map/feature service feature layer(s), SceneLayers with an associated feature layer,
@@ -285,7 +283,7 @@ export abstract class ArcgisSearch extends LitElement {
285
283
  * for [layer](https://developers.arcgis.com/javascript/latest/references/core/views/layers/LayerView/)
286
284
  * that do not support the `highlight` method.
287
285
  */
288
- get resultGraphic(): Graphic2 | null | undefined;
286
+ get resultGraphic(): Graphic | null | undefined;
289
287
  /**
290
288
  * If `true`, the [resultGraphic](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-search/#resultGraphic) will not display at the
291
289
  * location of the selected feature.
@@ -420,7 +418,7 @@ export abstract class ArcgisSearch extends LitElement {
420
418
  * loaded](https://developers.arcgis.com/rest/geocode/api-reference/geocoding-suggest.htm) or a
421
419
  * 10.3 or greater feature layer that supports pagination, i.e. `supportsPagination = true`.
422
420
  */
423
- get suggestions(): Array<SuggestResults2> | null | undefined;
421
+ get suggestions(): Array<SuggestResults> | null | undefined;
424
422
  /**
425
423
  * If `true`, disables suggestions for the component.
426
424
  *
@@ -11,16 +11,16 @@ import { g as y } from "../../chunks/globalCss.js";
11
11
  import { isAbortError as C } from "@arcgis/core/core/promiseUtils.js";
12
12
  import { m as $ } from "../../chunks/useViewModel.js";
13
13
  import { substitute as R } from "@arcgis/core/intl.js";
14
- import { usePropertyChange as E } from "@arcgis/lumina/controllers";
15
- import { u as k } from "../../chunks/useT9n.js";
16
- import { watch as d, on as D } from "@arcgis/core/core/reactiveUtils.js";
14
+ import { usePropertyChange as k } from "@arcgis/lumina/controllers";
15
+ import { u as D } from "../../chunks/useT9n.js";
16
+ import { watch as d, on as E } from "@arcgis/core/core/reactiveUtils.js";
17
17
  const T = m`.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-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-hidden{display:none!important}:host{width:240px}.root{--arcgis-internal-search-width: 240px;display:flex;flex-flow:row nowrap;align-items:center;justify-content:center;width:100%}.dropdown{--calcite-color-border-1: var(--calcite-color-border-input);--calcite-dropdown-width: var(--arcgis-internal-search-width);width:31px}.autocomplete{flex:1}.container{display:flex;position:relative;flex:1 0 100%;flex-flow:row nowrap;align-items:stretch}.form{display:flex;flex:1 0;flex-flow:row nowrap;align-items:stretch;margin:0;padding:0}.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)}`, A = $(v);
18
18
  function h(a) {
19
19
  return typeof a == "object" && a !== null && "openPopup" in a && "closePopup" in a;
20
20
  }
21
21
  class L extends w {
22
22
  constructor() {
23
- super(...arguments), this.viewModel = A(this), this._currentLocationValue = "search-use-current-location", this._autocompleteEl = void 0, this._searchResultRendererEl = void 0, this._searchResultRendererContentEl = void 0, this._suggestController = void 0, this._searchController = void 0, this._lastSearchTerm = "", this.messages = k({ blocking: !0 }), this._locateFailed = !1, this._showNoResults = !1, this.view = this.viewModel.view, this.goToOverride = this.viewModel.goToOverride, this.icon = "search", this.activeMenu = "none", this.activeSourceIndex = this.viewModel.activeSourceIndex, this.allPlaceholder = this.viewModel.allPlaceholder, this.allSources = this.viewModel.allSources, this.autoNavigateDisabled = this.viewModel.autoNavigate, this.autoSelectDisabled = this.viewModel.autoSelect, this.defaultSources = this.viewModel.defaultSources, this.disabled = !1, this.includeDefaultSourcesDisabled = this.viewModel.includeDefaultSources, this.locationDisabled = this.viewModel.locationEnabled, this.maxResults = this.viewModel.maxResults, this.maxSuggestions = this.viewModel.maxSuggestions, this.minSuggestCharacters = this.viewModel.minSuggestCharacters, this.popupDisabled = this.viewModel.popupEnabled, this.popupTemplate = this.viewModel.popupTemplate, this.portal = this.viewModel.portal, this.resultGraphic = this.viewModel.resultGraphic, this.resultGraphicDisabled = this.viewModel.resultGraphicEnabled, this.results = this.viewModel.results, this.searchAllDisabled = this.viewModel.searchAllEnabled, this.searchTerm = this.viewModel.searchTerm, this.selectedResult = this.viewModel.selectedResult, this.sources = this.viewModel.sources, this.suggestions = this.viewModel.suggestions, this.suggestionsDisabled = this.viewModel.suggestionsEnabled, this.topLayerDisabled = !1, this.autoDestroyDisabled = !1, this.state = this.viewModel.state, this.arcgisPropertyChange = E()("state"), this.arcgisReady = f(), this.arcgisSearchClear = l(() => this.viewModel, "search-clear"), this.arcgisSearchComplete = l(() => this.viewModel, "search-complete"), this.arcgisSearchStart = l(() => this.viewModel, "search-start"), this.arcgisSelectResult = l(() => this.viewModel, "select-result"), this.arcgisSuggestComplete = l(() => this.viewModel, "suggest-complete"), this.arcgisSuggestStart = l(() => this.viewModel, "suggest-start");
23
+ super(...arguments), this.viewModel = A(this), this._currentLocationValue = "search-use-current-location", this._autocompleteEl = void 0, this._searchResultRendererEl = void 0, this._searchResultRendererContentEl = void 0, this._suggestController = void 0, this._searchController = void 0, this._lastSearchTerm = "", this.messages = D({ blocking: !0 }), this._locateFailed = !1, this._showNoResults = !1, this.view = this.viewModel.view, this.goToOverride = this.viewModel.goToOverride, this.icon = "search", this.activeMenu = "none", this.activeSourceIndex = this.viewModel.activeSourceIndex, this.allPlaceholder = this.viewModel.allPlaceholder, this.allSources = this.viewModel.allSources, this.autoNavigateDisabled = this.viewModel.autoNavigate, this.autoSelectDisabled = this.viewModel.autoSelect, this.defaultSources = this.viewModel.defaultSources, this.disabled = !1, this.includeDefaultSourcesDisabled = this.viewModel.includeDefaultSources, this.locationDisabled = this.viewModel.locationEnabled, this.maxResults = this.viewModel.maxResults, this.maxSuggestions = this.viewModel.maxSuggestions, this.minSuggestCharacters = this.viewModel.minSuggestCharacters, this.popupDisabled = this.viewModel.popupEnabled, this.popupTemplate = this.viewModel.popupTemplate, this.portal = this.viewModel.portal, this.resultGraphic = this.viewModel.resultGraphic, this.resultGraphicDisabled = this.viewModel.resultGraphicEnabled, this.results = this.viewModel.results, this.searchAllDisabled = this.viewModel.searchAllEnabled, this.searchTerm = this.viewModel.searchTerm, this.selectedResult = this.viewModel.selectedResult, this.sources = this.viewModel.sources, this.suggestions = this.viewModel.suggestions, this.suggestionsDisabled = this.viewModel.suggestionsEnabled, this.topLayerDisabled = !1, this.autoDestroyDisabled = !1, this.state = this.viewModel.state, this.arcgisPropertyChange = k()("state"), this.arcgisReady = f(), this.arcgisSearchClear = l(() => this.viewModel, "search-clear"), this.arcgisSearchComplete = l(() => this.viewModel, "search-complete"), this.arcgisSearchStart = l(() => this.viewModel, "search-start"), this.arcgisSelectResult = l(() => this.viewModel, "select-result"), this.arcgisSuggestComplete = l(() => this.viewModel, "suggest-complete"), this.arcgisSuggestStart = l(() => this.viewModel, "suggest-start");
24
24
  }
25
25
  static {
26
26
  this.properties = { _locateFailed: 16, _showNoResults: 16, _isDisabled: 16, _showCurrentLocation: 16, _effectiveActiveMenu: 16, view: 0, referenceElement: 1, goToOverride: 0, icon: 1, activeMenu: 1, activeSource: 32, activeSourceIndex: 9, allPlaceholder: 1, allSources: 0, autoNavigateDisabled: 5, autoSelectDisabled: 5, defaultSources: 0, disabled: 5, includeDefaultSourcesDisabled: 5, locationDisabled: 5, maxResults: 9, maxSuggestions: 9, minSuggestCharacters: 9, popupDisabled: 5, popupTemplate: 0, portal: 0, resultGraphic: 0, resultGraphicDisabled: 5, results: 0, searchAllDisabled: 5, searchTerm: 1, selectedResult: 0, sources: 0, suggestions: 32, suggestionsDisabled: 5, topLayerDisabled: 5, autoDestroyDisabled: 5, messageOverrides: 0, label: 1, state: 32 };
@@ -45,7 +45,7 @@ class L extends w {
45
45
  this._locateFailed = !1, this.viewModel.clear();
46
46
  }
47
47
  async destroy() {
48
- this._cancelQueries(), await this._searchResultRendererEl?.destroy(), await this._searchResultRendererContentEl?.destroy(), await this.manager.destroy();
48
+ this._closePopup(this.viewModel.resultGraphic), this._cancelQueries(), await this._searchResultRendererEl?.destroy(), await this._searchResultRendererContentEl?.destroy(), await this.manager.destroy();
49
49
  }
50
50
  async search(e) {
51
51
  this._cancelQueries();
@@ -86,7 +86,7 @@ class L extends w {
86
86
  }, { initial: !0 }),
87
87
  d(() => this.messages, (e) => this.viewModel.messages = e, { initial: !0 }),
88
88
  d(() => this.viewModel?.resultGraphic, (e, t) => this._closePopup(t)),
89
- D(() => this.viewModel, "select-result", (e) => {
89
+ E(() => this.viewModel, "select-result", (e) => {
90
90
  const { popupEnabled: t } = e;
91
91
  t && this._openPopup();
92
92
  })
@@ -96,9 +96,8 @@ class L extends w {
96
96
  this._searchResultRendererEl = b(o`<arcgis-search-result-renderer auto-destroy-disabled .messages=${this.messages} .viewModel=${this.viewModel}></arcgis-search-result-renderer>`);
97
97
  }
98
98
  _closePopup(e) {
99
- if (!h(this.referenceElement))
100
- return;
101
- (this.referenceElement.popupElement ?? this.referenceElement.popup)?.selectedFeature === e && this.referenceElement?.closePopup();
99
+ const { referenceElement: t, view: i } = this;
100
+ h(t) && t.popupElement?.selectedFeature === e ? t?.closePopup() : i?.popup?.selectedFeature === e && i?.closePopup();
102
101
  }
103
102
  _openPopup() {
104
103
  if (h(this.referenceElement)) {
@@ -1,13 +1,13 @@
1
1
  /// <reference path="../../index.d.ts" />
2
- import type Point from "@arcgis/core/geometry/Point";
2
+ import type Point from "@arcgis/core/geometry/Point.js";
3
3
  import type ShadowCastAnalysis from "@arcgis/core/analysis/ShadowCastAnalysis.js";
4
4
  import type SceneView from "@arcgis/core/views/SceneView.js";
5
5
  import type Color from "@arcgis/core/Color.js";
6
6
  import type { PublicLitElement as LitElement } from "@arcgis/lumina";
7
7
  import type { ArcgisReferenceElement, HeadingLevel } from "../types.js";
8
+ import type { ShadowCastMode, ShadowCastTotalDurationMode } from "@arcgis/core/analysis/ShadowCast/types.js";
8
9
  import type { T9nMeta } from "@arcgis/lumina/controllers";
9
10
  import type { Icon as Icon } from "@esri/calcite-components/components/calcite-icon";
10
- import type { ShadowCastMode as ShadowCastMode2, ShadowCastTotalDurationMode } from "@arcgis/core/analysis/ShadowCast/types.js";
11
11
 
12
12
  /**
13
13
  * The Shadow Cast component displays the cumulative shadows of 3D features in a
@@ -430,7 +430,7 @@ export abstract class ArcgisShadowCast extends LitElement {
430
430
  *
431
431
  * @since 5.0
432
432
  */
433
- accessor mode: ShadowCastMode2;
433
+ accessor mode: ShadowCastMode;
434
434
  /**
435
435
  * By assigning the `id` attribute of the Map or Scene component to this property, you can position a child component anywhere in the DOM while still maintaining a connection to the Map or Scene.
436
436
  *