@arcgis/map-components 5.1.0-next.11 → 5.1.0-next.13

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 (119) hide show
  1. package/dist/cdn/24A3PRKY.js +2 -0
  2. package/dist/cdn/{VU3SJK5Z.js → 2KDBYYCF.js} +1 -1
  3. package/dist/cdn/{63P5VYGP.js → 4QKKEYOT.js} +1 -1
  4. package/dist/cdn/{6CGPJGIB.js → 57NR3THC.js} +1 -1
  5. package/dist/cdn/{HB3W3CO5.js → 5TQ4ESJT.js} +1 -1
  6. package/dist/cdn/{KY2UAUNI.js → 7MD3GFV6.js} +1 -1
  7. package/dist/cdn/BQRJK2MF.js +2 -0
  8. package/dist/cdn/D73JFV2R.js +2 -0
  9. package/dist/cdn/DDFVZ5WZ.js +2 -0
  10. package/dist/cdn/{2MTWUJIA.js → DEJGWX76.js} +1 -1
  11. package/dist/cdn/LIEE5WCD.js +2 -0
  12. package/dist/cdn/{NRBM3YR6.js → P6UY3ICC.js} +1 -1
  13. package/dist/cdn/{KHM3S4Q6.js → RP2MWWN5.js} +1 -1
  14. package/dist/cdn/RWQYK5BX.js +2 -0
  15. package/dist/cdn/SXS6AFSU.js +2 -0
  16. package/dist/cdn/{VNOZYJLP.js → SYMDMOKL.js} +1 -1
  17. package/dist/cdn/{FB6YQKF2.js → U37ZXVJO.js} +1 -1
  18. package/dist/cdn/XFDR4YDM.js +2 -0
  19. package/dist/cdn/XOPJ7VX2.js +2 -0
  20. package/dist/cdn/index.js +1 -1
  21. package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +3 -3
  22. package/dist/components/arcgis-basemap-gallery/customElement.d.ts +1 -1
  23. package/dist/components/arcgis-basemap-layer-list/customElement.d.ts +5 -7
  24. package/dist/components/arcgis-basemap-toggle/customElement.d.ts +4 -4
  25. package/dist/components/arcgis-bookmarks/customElement.d.ts +3 -3
  26. package/dist/components/arcgis-bookmarks/types.d.ts +1 -1
  27. package/dist/components/arcgis-building-explorer/customElement.d.ts +3 -3
  28. package/dist/components/arcgis-catalog-layer-list/customElement.d.ts +4 -6
  29. package/dist/components/arcgis-clipboard/customElement.d.ts +2 -2
  30. package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +4 -4
  31. package/dist/components/arcgis-daylight/customElement.d.ts +1 -1
  32. package/dist/components/arcgis-directions/customElement.d.ts +4 -5
  33. package/dist/components/arcgis-directions/customElement.js +5 -5
  34. package/dist/components/arcgis-editor/customElement.d.ts +2 -3
  35. package/dist/components/arcgis-elevation-profile/customElement.d.ts +1 -1
  36. package/dist/components/arcgis-feature/customElement.d.ts +7 -7
  37. package/dist/components/arcgis-feature/customElement.js +6 -6
  38. package/dist/components/arcgis-feature-form/customElement.d.ts +3 -4
  39. package/dist/components/arcgis-feature-image/customElement.d.ts +5 -5
  40. package/dist/components/arcgis-feature-table/customElement.d.ts +72 -24
  41. package/dist/components/arcgis-feature-table/customElement.js +28 -13
  42. package/dist/components/arcgis-feature-templates/customElement.d.ts +4 -6
  43. package/dist/components/arcgis-feature-title/customElement.d.ts +3 -3
  44. package/dist/components/arcgis-feature-utility-network-association-list/customElement.js +60 -60
  45. package/dist/components/arcgis-feature-utility-network-associations/customElement.js +55 -55
  46. package/dist/components/arcgis-features/customElement.d.ts +13 -15
  47. package/dist/components/arcgis-features/customElement.js +16 -16
  48. package/dist/components/arcgis-floor-filter/customElement.d.ts +5 -5
  49. package/dist/components/arcgis-grid-controls/customElement.d.ts +8 -8
  50. package/dist/components/arcgis-histogram-range-slider/customElement.d.ts +1 -1
  51. package/dist/components/arcgis-home/customElement.d.ts +2 -2
  52. package/dist/components/arcgis-layer-list/customElement.d.ts +9 -11
  53. package/dist/components/arcgis-legend/customElement.d.ts +3 -3
  54. package/dist/components/arcgis-legend-classic-element/customElement.js +22 -24
  55. package/dist/components/arcgis-link-chart/customElement.d.ts +20 -22
  56. package/dist/components/arcgis-link-chart/customElement.js +10 -15
  57. package/dist/components/arcgis-link-chart-nonspatial-visibility-toggle/customElement.d.ts +1 -1
  58. package/dist/components/arcgis-locate/customElement.d.ts +1 -1
  59. package/dist/components/arcgis-map/customElement.d.ts +54 -56
  60. package/dist/components/arcgis-map/customElement.js +1 -6
  61. package/dist/components/arcgis-multi-feature-form/customElement.d.ts +8 -10
  62. package/dist/components/arcgis-navigation-toggle/customElement.d.ts +1 -1
  63. package/dist/components/arcgis-paste/ClipboardMove.d.ts +3 -3
  64. package/dist/components/arcgis-paste/PasteViewModel.d.ts +9 -9
  65. package/dist/components/arcgis-paste/commands/PasteCommand.d.ts +3 -3
  66. package/dist/components/arcgis-paste/commands/PasteCustomCommand.d.ts +2 -2
  67. package/dist/components/arcgis-paste/customElement.d.ts +4 -4
  68. package/dist/components/arcgis-popup/customElement.d.ts +16 -18
  69. package/dist/components/arcgis-popup/customElement.js +47 -52
  70. package/dist/components/arcgis-popup/types.d.ts +1 -1
  71. package/dist/components/arcgis-print/customElement.d.ts +22 -13
  72. package/dist/components/arcgis-print/customElement.js +7 -7
  73. package/dist/components/arcgis-print-layout-advanced-options/customElement.js +12 -12
  74. package/dist/components/arcgis-print-layout-panel/customElement.js +6 -6
  75. package/dist/components/arcgis-print-main-panel/customElement.js +7 -7
  76. package/dist/components/arcgis-scene/customElement.d.ts +52 -54
  77. package/dist/components/arcgis-scene/customElement.js +8 -13
  78. package/dist/components/arcgis-search/customElement.d.ts +20 -22
  79. package/dist/components/arcgis-search/customElement.js +8 -9
  80. package/dist/components/arcgis-shadow-cast/customElement.d.ts +19 -19
  81. package/dist/components/arcgis-slice/customElement.d.ts +8 -8
  82. package/dist/components/arcgis-slider-binary-color-size-legacy/customElement.d.ts +11 -11
  83. package/dist/components/arcgis-slider-classed-color-legacy/customElement.d.ts +9 -9
  84. package/dist/components/arcgis-slider-classed-size-legacy/customElement.d.ts +10 -10
  85. package/dist/components/arcgis-slider-color-legacy/customElement.d.ts +13 -13
  86. package/dist/components/arcgis-slider-color-size-legacy/customElement.d.ts +20 -20
  87. package/dist/components/arcgis-slider-heatmap-legacy/customElement.d.ts +3 -3
  88. package/dist/components/arcgis-slider-opacity-legacy/customElement.d.ts +9 -9
  89. package/dist/components/arcgis-slider-size-legacy/customElement.d.ts +14 -14
  90. package/dist/components/arcgis-swipe/customElement.d.ts +5 -5
  91. package/dist/components/arcgis-time-zone-label/customElement.d.ts +1 -1
  92. package/dist/components/arcgis-utility-network-trace-analysis/customElement.d.ts +6 -9
  93. package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +1 -1
  94. package/dist/components/arcgis-utility-network-trace-inputs/customElement.d.ts +4 -4
  95. package/dist/components/arcgis-utility-network-trace-inputs/customElement.js +28 -26
  96. package/dist/components/arcgis-utility-network-trace-location/customElement.d.ts +3 -3
  97. package/dist/components/arcgis-utility-network-trace-results/customElement.d.ts +1 -1
  98. package/dist/components/arcgis-utility-network-trace-results/customElement.js +44 -44
  99. package/dist/components/arcgis-value-picker-legacy/customElement.d.ts +7 -8
  100. package/dist/components/arcgis-volume-measurement/customElement.d.ts +10 -10
  101. package/dist/docs/api.json +1 -1
  102. package/dist/docs/docs.json +1 -1
  103. package/dist/docs/vscode.html-custom-data.json +1 -1
  104. package/dist/docs/web-types.json +1 -1
  105. package/dist/loader.js +7 -7
  106. package/dist/types/lumina.d.ts +1 -1
  107. package/dist/types/preact.d.ts +1 -1
  108. package/dist/types/react.d.ts +1 -1
  109. package/dist/types/stencil.d.ts +1 -1
  110. package/package.json +4 -4
  111. package/dist/cdn/22EPKDUJ.js +0 -2
  112. package/dist/cdn/B3ANLEZW.js +0 -2
  113. package/dist/cdn/IDDSHZVB.js +0 -2
  114. package/dist/cdn/LHEP4QSS.js +0 -2
  115. package/dist/cdn/RSSYGNJQ.js +0 -2
  116. package/dist/cdn/S6G6XXTM.js +0 -2
  117. package/dist/cdn/TM5C2P2F.js +0 -2
  118. package/dist/cdn/XCAWRUM6.js +0 -2
  119. package/dist/cdn/Z4F6DHBB.js +0 -2
@@ -1,21 +1,19 @@
1
1
  /// <reference path="../../index.d.ts" />
2
2
  import type FeaturesViewModel from "@arcgis/core/widgets/Features/FeaturesViewModel.js";
3
3
  import type ActionButton from "@arcgis/core/support/actions/ActionButton.js";
4
- import type ActionToggle from "@arcgis/core/support/actions/ActionToggle";
5
- import type Graphic from "@arcgis/core/Graphic";
4
+ import type ActionToggle from "@arcgis/core/support/actions/ActionToggle.js";
5
+ import type Graphic from "@arcgis/core/Graphic.js";
6
6
  import type Collection from "@arcgis/core/core/Collection.js";
7
7
  import type Widget from "@arcgis/core/widgets/Widget.js";
8
- import type Graphic2 from "@arcgis/core/Graphic.js";
9
8
  import type Point from "@arcgis/core/geometry/Point.js";
10
9
  import type { ArcgisReferenceElement, HeadingLevel } from "../types.js";
11
10
  import type { Alignment, DockOptions, PopupPositionResult, FetchFeaturesOptions } from "./types.js";
12
11
  import type { PublicLitElement as LitElement } from "@arcgis/lumina";
13
12
  import type { ArcgisFeature } from "../arcgis-feature/customElement.js";
14
- import type { ActionEvent, PopupOpenOptions } from "@arcgis/core/widgets/Popup/types";
15
- import type { ScreenPoint } from "@arcgis/core/core/types";
16
- import type { ClickEvent } from "@arcgis/core/views/input/types";
13
+ import type { ActionEvent, PopupOpenOptions, PopupAction, InitialDisplayOptions, State } from "@arcgis/core/widgets/Popup/types.js";
14
+ import type { ScreenPoint } from "@arcgis/core/core/types.js";
15
+ import type { ClickEvent } from "@arcgis/core/views/input/types.js";
17
16
  import type { T9nMeta } from "@arcgis/lumina/controllers";
18
- import type { PopupAction, InitialDisplayOptions, State } from "@arcgis/core/widgets/Popup/types.js";
19
17
  import type { GoToOverride } from "@arcgis/core/widgets/support/types.js";
20
18
  import type { MapViewOrSceneView } from "@arcgis/core/views/MapViewOrSceneView.js";
21
19
 
@@ -122,9 +120,9 @@ import type { MapViewOrSceneView } from "@arcgis/core/views/MapViewOrSceneView.j
122
120
  export abstract class ArcgisPopup extends LitElement {
123
121
  /**
124
122
  * A [collection](https://developers.arcgis.com/javascript/latest/references/core/core/Collection/) of [action button](https://developers.arcgis.com/javascript/latest/references/core/support/actions/ActionButton/) or [action toggle](https://developers.arcgis.com/javascript/latest/references/core/support/actions/ActionToggle/) objects. Each action may be executed by clicking the icon or image symbolizing them.
125
- * There is a default `Zoom To` action styled with a magnifying glass icon to zoom in four LODs and center the map on the selected feature. This default action can be removed by setting [`includeDefaultActionsDisabled`](#includeDefaultActionsDisabled) to `true`, or by setting the [`overwriteActions`](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/#overwriteActions) property to `true` in a [PopupTemplate](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/).
123
+ * There is a default `Zoom To` action styled with a magnifying glass icon to zoom in four LODs and center the map on the selected feature. This default action can be removed by setting [includeDefaultActionsDisabled](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#includeDefaultActionsDisabled) to `true`, or by setting the [`overwriteActions`](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/#overwriteActions) property to `true` in a [PopupTemplate](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/).
126
124
  *
127
- * The order of each action is the order in which they appear in the actions [Collection](https://developers.arcgis.com/javascript/latest/references/core/core/Collection/). The [arcgisTriggerAction](#arcgisTriggerAction) event fires each time an action is clicked.
125
+ * The order of each action is the order in which they appear in the actions [Collection](https://developers.arcgis.com/javascript/latest/references/core/core/Collection/). The [@arcgisTriggerAction](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#event-arcgisTriggerAction) event fires each time an action is clicked.
128
126
  *
129
127
  * @see [@arcgisTriggerAction](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#event-arcgisTriggerAction)
130
128
  * @see [Popup actions sample](https://developers.arcgis.com/javascript/latest/sample-code/popup-actions/)
@@ -248,7 +246,7 @@ export abstract class ArcgisPopup extends LitElement {
248
246
  */
249
247
  get featureCount(): number;
250
248
  /**
251
- * This property enables multiple features in the component to display in a list rather than displaying the first selected feature. Setting this to `true` allows the user to scroll through the list of features. This value will only be honored if [`initialDisplayMode`](#initialDisplayMode) is set to "feature".
249
+ * This property enables multiple features in the component to display in a list rather than displaying the first selected feature. Setting this to `true` allows the user to scroll through the list of features. This value will only be honored if [initialDisplayMode](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#initialDisplayMode) is set to "feature".
252
250
  *
253
251
  * @default false
254
252
  */
@@ -260,9 +258,9 @@ export abstract class ArcgisPopup extends LitElement {
260
258
  */
261
259
  accessor featureMenuTitle: string | null | undefined;
262
260
  /**
263
- * An array of features associated with the component. Each graphic in this array must have a valid [PopupTemplate](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/) set. They may share the same [PopupTemplate](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/) or have unique [PopupTemplates](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/) depending on their attributes. The [content](#content) and [heading](#heading) of the component is set based on the `content` and `title` properties of each graphic's respective [PopupTemplate](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/).
261
+ * An array of features associated with the component. Each graphic in this array must have a valid [PopupTemplate](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/) set. They may share the same [PopupTemplate](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/) or have unique [PopupTemplates](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/) depending on their attributes. The [content](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#content) and [heading](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#heading) of the component is set based on the `content` and `title` properties of each graphic's respective [PopupTemplate](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/).
264
262
  *
265
- * When more than one graphic exists in this array, the current content of the component is set based on the value of the [selected feature](#selectedFeature).
263
+ * When more than one graphic exists in this array, the current content of the component is set based on the value of the [selectedFeature](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#selectedFeature)).
266
264
  *
267
265
  * This value is `null` if no features are associated with the component.
268
266
  *
@@ -282,7 +280,7 @@ export abstract class ArcgisPopup extends LitElement {
282
280
  * component.features = graphics;
283
281
  * ```
284
282
  */
285
- accessor features: Array<Graphic2>;
283
+ accessor features: Array<Graphic>;
286
284
  /**
287
285
  * This function provides the ability to override either the [arcgis-map.goTo()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#goTo) or [arcgis-scene.goTo()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/#goTo) methods.
288
286
  *
@@ -337,7 +335,7 @@ export abstract class ArcgisPopup extends LitElement {
337
335
  */
338
336
  accessor headingLevel: HeadingLevel;
339
337
  /**
340
- * Indicates whether to hide the action bar that holds the feature's [actions](#actions).
338
+ * Indicates whether to hide the action bar that holds the feature's [actions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#actions).
341
339
  *
342
340
  * @default false
343
341
  */
@@ -367,7 +365,7 @@ export abstract class ArcgisPopup extends LitElement {
367
365
  */
368
366
  accessor hideFeatureMenuHeading: boolean;
369
367
  /**
370
- * Indicates whether to hide the feature navigation in the component. This allows the user to scroll through various [selected features](#features) using pagination arrows.
368
+ * Indicates whether to hide the feature navigation in the component. This allows the user to scroll through various [features](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#features) using pagination arrows.
371
369
  *
372
370
  * @default false
373
371
  */
@@ -482,7 +480,7 @@ export abstract class ArcgisPopup extends LitElement {
482
480
  * resolved they are removed from this array and the features they return
483
481
  * are pushed into the [features](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#features) array.
484
482
  */
485
- accessor promises: Array<Promise<Array<Graphic2>>>;
483
+ accessor promises: Array<Promise<Array<Graphic>>>;
486
484
  /**
487
485
  * 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.
488
486
  *
@@ -499,7 +497,7 @@ export abstract class ArcgisPopup extends LitElement {
499
497
  * determined based on the [PopupTemplate](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/) assigned to
500
498
  * this feature.
501
499
  */
502
- get selectedFeature(): Graphic2 | null;
500
+ get selectedFeature(): Graphic | null;
503
501
  /**
504
502
  * Returns a reference to the current [arcgis-feature](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-feature/) that the Popup is using.
505
503
  * This is useful if needing to get a reference to the component in order to make any changes to it.
@@ -544,7 +542,7 @@ export abstract class ArcgisPopup extends LitElement {
544
542
  /** Permanently destroy the component. */
545
543
  destroy(): Promise<void>;
546
544
  /**
547
- * Use this method to return feature(s) at a given screen location. These features are fetched from all of the [LayerViews](https://developers.arcgis.com/javascript/latest/references/core/views/layers/LayerView/) in the [view](https://developers.arcgis.com/javascript/latest/references/core/views/View/). In order to use this, a layer must already have an associated [PopupTemplate](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/) and have its [popupEnabled](https://developers.arcgis.com/javascript/latest/references/core/layers/FeatureLayer/#popupEnabled). This method allows a developer to control how the input location is handled. For example, you may want to fetch features on a `click` event or on a `pointer-move` event. This method automatically sets the [`location`](#location) based on the input event's screen coordinates.
545
+ * Use this method to return feature(s) at a given screen location. These features are fetched from all of the [LayerViews](https://developers.arcgis.com/javascript/latest/references/core/views/layers/LayerView/) in the [view](https://developers.arcgis.com/javascript/latest/references/core/views/View/). In order to use this, a layer must already have an associated [PopupTemplate](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/) and have its [popupEnabled](https://developers.arcgis.com/javascript/latest/references/core/layers/FeatureLayer/#popupEnabled). This method allows a developer to control how the input location is handled. For example, you may want to fetch features on a `click` event or on a `pointer-move` event. This method automatically sets the [location](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#location) based on the input event's screen coordinates.
548
546
  *
549
547
  * @param screenPoint
550
548
  * @param options
@@ -2,34 +2,34 @@
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.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
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 };
@@ -38,7 +38,7 @@ class W extends T {
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,10 +51,10 @@ 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;
@@ -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,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
 
@@ -22,7 +21,7 @@ import type { Formats as Formats2, Layouts, TemplateCustomTextElements, State }
22
21
  * which can be configured with custom layout templates. One is provided that shows the map only, while another provides a layout with legend, etc.
23
22
  * The Print component works with the [print](https://developers.arcgis.com/javascript/latest/references/core/rest/print/) module, which generates a printer-ready version of the map.
24
23
  *
25
- * The Print component uses the ArcGIS Online print service by default, but it can be configured to use a custom print service with the [printServiceUrl](#printServiceUrl) property.
24
+ * The Print component uses the ArcGIS Online print service by default, but it can be configured to use a custom print service with the [printServiceUrl](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-print/#printServiceUrl) property.
26
25
  * The component can preserve map scale or map extent in the printout. By default, the map extent is preserved. Use
27
26
  * [TemplateOptions.scaleEnabled](https://developers.arcgis.com/javascript/latest/references/core/widgets/Print/TemplateOptions/#scaleEnabled) to preserve scale instead.
28
27
  *
@@ -30,7 +29,7 @@ import type { Formats as Formats2, Layouts, TemplateCustomTextElements, State }
30
29
  * except `map-only`. If using a custom print service, then `customTextElements` are supported for each print
31
30
  * template. Values found there will be populated in the Print component under `Advanced options`. These values can
32
31
  * be overwritten in the Print component UI, or programmatically using the
33
- * [templateCustomTextElements](#templateCustomTextElements) property.
32
+ * [templateCustomTextElements](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-print/#templateCustomTextElements) property.
34
33
  *
35
34
  * For more information about printing with the `MAP_ONLY` layout, please see
36
35
  * [exportOptions](https://developers.arcgis.com/javascript/latest/references/core/rest/support/PrintTemplate/#exportOptions).
@@ -126,7 +125,7 @@ export abstract class ArcgisPrint extends LitElement {
126
125
  * Indicates whether to automatically populate the author field in the print layout advanced options
127
126
  * with the username of the current portal user.
128
127
  *
129
- * This only takes effect if there is a portal with a signed-in user assigned to the [portal](#portal) property.
128
+ * This only takes effect if there is a portal with a signed-in user assigned to the [portal](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-print/#portal) property.
130
129
  *
131
130
  * @default false
132
131
  * @since 5.0
@@ -149,9 +148,9 @@ 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
- * This option allows passing extra parameters (in addition to [templateOptions](#templateOptions)) to the print (export webmap) requests.
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
  *
156
155
  * @since 4.20
157
156
  */
@@ -173,12 +172,22 @@ export abstract class ArcgisPrint extends LitElement {
173
172
  * @since 5.0
174
173
  */
175
174
  accessor hideAdvancedOptions: boolean;
175
+ /**
176
+ * @default false
177
+ * @internal
178
+ */
179
+ accessor hideFeatureAttributes: boolean;
176
180
  /**
177
181
  * Indicates whether the component's header is hidden.
178
182
  *
179
183
  * @default false
180
184
  */
181
185
  accessor hideHeader: boolean;
186
+ /**
187
+ * @default false
188
+ * @internal
189
+ */
190
+ accessor hideIncludeTables: boolean;
182
191
  /**
183
192
  * Icon which represents the component.
184
193
  * Typically used when the component is controlled by another component (e.g. by the Expand component).
@@ -460,7 +469,7 @@ export abstract class ArcgisPrint extends LitElement {
460
469
  * Use this property to set this [ArcGIS Portal](https://enterprise.arcgis.com/en/portal/) instance to search.
461
470
  * This is especially helpful when working with a [custom template](https://developers.arcgis.com/javascript/latest/references/core/widgets/Print/CustomTemplate/).
462
471
  *
463
- * If this property is set, it is not necessary to set the [printServiceUrl](#printServiceUrl) property.
472
+ * If this property is set, it is not necessary to set the [printServiceUrl](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-print/#printServiceUrl) property.
464
473
  *
465
474
  * @since 4.18
466
475
  * @see [CustomTemplate](https://developers.arcgis.com/javascript/latest/references/core/widgets/Print/CustomTemplate/)
@@ -469,7 +478,7 @@ export abstract class ArcgisPrint extends LitElement {
469
478
  /**
470
479
  * The URL of the REST endpoint of the Export Web Map Task.
471
480
  * Defaults to the ArcGIS Online print service if this property is not specified.
472
- * If the [portal](#portal) property is set, this property will use the portal's print service URL.
481
+ * If the [portal](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-print/#portal) property is set, this property will use the portal's print service URL.
473
482
  */
474
483
  accessor printServiceUrl: string | null | undefined;
475
484
  /**
@@ -10,18 +10,18 @@ import { u as v } from "../../chunks/useT9n.js";
10
10
  import { m as f } from "../../chunks/useViewModel.js";
11
11
  import { g as n } from "../../chunks/globalCss.js";
12
12
  import { watch as s } from "@arcgis/core/core/reactiveUtils.js";
13
- const _ = 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}:host{--panel-min-height--large: 240px;display:flex;flex-direction:column;flex-grow:1}.root{display:flex;position:relative;flex-grow:1;min-height:var(--panel-min-height--large)}.root section[aria-hidden=true]{display:none}.panel-items-centered{display:flex;align-items:center}.container{display:flex;flex-direction:column;flex-grow:1}.header-title{margin:0 auto 0 0;padding:var(--calcite-spacing-md) var(--calcite-spacing-lg);font-size:var(--calcite-font-size-0);font-weight:var(--calcite-font-weight-bold)}.panel-error{color:var(--calcite-color-status-danger)}`, x = f(p), d = (o) => {
13
+ const _ = 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}:host{--panel-min-height--large: 240px;display:flex;flex-direction:column;flex-grow:1}.root{display:flex;position:relative;flex-grow:1;min-height:var(--panel-min-height--large)}.root section[aria-hidden=true]{display:none}.panel-items-centered{display:flex;align-items:center}.container{display:flex;flex-direction:column;flex-grow:1}.header-title{margin:0 auto 0 0;padding:var(--calcite-spacing-md) var(--calcite-spacing-lg);font-size:var(--calcite-font-size-0);font-weight:var(--calcite-font-weight-bold)}.panel-error{color:var(--calcite-color-status-danger)}`, b = f(p), d = (o) => {
14
14
  if (!o)
15
15
  return "all";
16
16
  const e = typeof o == "string" ? o.split(",").map((t) => t.trim()).filter((t) => t) : [o];
17
17
  return !e.length || e.includes("all") ? "all" : e;
18
18
  };
19
- class b extends m {
19
+ class x extends m {
20
20
  constructor() {
21
- super(...arguments), this.messages = v({ blocking: !0 }), this.viewModel = x(this), this.error = null, this._showTemplates = !1, this.view = this.viewModel.view, this.hideHeader = !1, this.icon = "print", this.hideAdvancedOptions = !1, this.allowedFormats = this.viewModel.allowedFormats, this.allowedLayouts = this.viewModel.allowedLayouts, this.autoPopulateAuthor = !1, this.exportedLinks = this.viewModel.exportedLinks, this.extraParameters = this.viewModel.extraParameters, this.headingLevel = 3, this.excludeDefaultTemplates = !this.viewModel.includeDefaultTemplates, this.excludeOrganizationTemplates = !1, this.outSpatialReference = this.viewModel.outSpatialReference, this.portal = this.viewModel.portal, this.showPrintAreaEnabled = this.viewModel.showPrintAreaEnabled, this.printServiceUrl = this.viewModel.printServiceUrl, this.templateCustomTextElements = this.viewModel.templateCustomTextElements, this.templateOptions = this.viewModel.templateOptions, this.autoDestroyDisabled = !1, this.state = this.viewModel.state, this.arcgisComplete = l(() => this.viewModel, "complete"), this.arcgisPropertyChange = u()("state"), this.arcgisReady = a(), this.arcgisSubmit = l(() => this.viewModel, "submit"), this.arcgisBrowseTemplatesChange = a(), this.arcgisSaveAs = a();
21
+ super(...arguments), this.messages = v({ blocking: !0 }), this.viewModel = b(this), this.error = null, this._showTemplates = !1, this.view = this.viewModel.view, this.hideHeader = !1, this.icon = "print", this.hideAdvancedOptions = !1, this.allowedFormats = this.viewModel.allowedFormats, this.allowedLayouts = this.viewModel.allowedLayouts, this.autoPopulateAuthor = !1, this.exportedLinks = this.viewModel.exportedLinks, this.extraParameters = this.viewModel.extraParameters, this.headingLevel = 3, this.hideFeatureAttributes = !1, this.hideIncludeTables = !1, this.excludeDefaultTemplates = !this.viewModel.includeDefaultTemplates, this.excludeOrganizationTemplates = !1, this.outSpatialReference = this.viewModel.outSpatialReference, this.portal = this.viewModel.portal, this.showPrintAreaEnabled = this.viewModel.showPrintAreaEnabled, this.printServiceUrl = this.viewModel.printServiceUrl, this.templateCustomTextElements = this.viewModel.templateCustomTextElements, this.templateOptions = this.viewModel.templateOptions, this.autoDestroyDisabled = !1, this.state = this.viewModel.state, this.arcgisComplete = l(() => this.viewModel, "complete"), this.arcgisPropertyChange = u()("state"), this.arcgisReady = a(), this.arcgisSubmit = l(() => this.viewModel, "submit"), this.arcgisBrowseTemplatesChange = a(), this.arcgisSaveAs = a();
22
22
  }
23
23
  static {
24
- this.properties = { error: 16, _showTemplates: 16, view: 0, hideHeader: 5, referenceElement: 1, icon: 1, hideAdvancedOptions: 5, allowedFormats: [1, { type: String, converter: d }], allowedLayouts: [1, { type: String, converter: d }], autoPopulateAuthor: 5, allowedFormatsForSaving: 1, exportedLinks: 0, extraParameters: 0, headingLevel: 9, excludeDefaultTemplates: 5, excludeOrganizationTemplates: 5, outSpatialReference: 0, portal: 0, showPrintAreaEnabled: 5, printServiceUrl: 1, showSaveAs: 5, templateCustomTextElements: 0, templateOptions: 0, autoDestroyDisabled: 5, messageOverrides: 0, label: 1, state: 32 };
24
+ this.properties = { error: 16, _showTemplates: 16, view: 0, hideHeader: 5, referenceElement: 1, icon: 1, hideAdvancedOptions: 5, allowedFormats: [1, { type: String, converter: d }], allowedLayouts: [1, { type: String, converter: d }], autoPopulateAuthor: 5, allowedFormatsForSaving: 1, exportedLinks: 0, extraParameters: 0, headingLevel: 9, hideFeatureAttributes: 5, hideIncludeTables: 5, excludeDefaultTemplates: 5, excludeOrganizationTemplates: 5, outSpatialReference: 0, portal: 0, showPrintAreaEnabled: 5, printServiceUrl: 1, showSaveAs: 5, templateCustomTextElements: 0, templateOptions: 0, autoDestroyDisabled: 5, messageOverrides: 0, label: 1, state: 32 };
25
25
  }
26
26
  static {
27
27
  this.styles = _;
@@ -70,10 +70,10 @@ class b extends m {
70
70
  }
71
71
  _renderPanelContent() {
72
72
  const e = this.viewModel.view, t = e?.type !== "2d";
73
- return !!this.error || t ? r`<div class="panel-error">${e ? t ? this.messages.sceneViewError : this.messages.serviceError : this.messages.noViewError}</div>` : r`<arcgis-print-main-panel .messages=${this.messages} .viewModel=${this.viewModel} .showTemplateSelector=${this._showTemplateSelector.bind(this)} .hideAdvancedOptions=${this.hideAdvancedOptions} .allowedFormatsForSaving=${this.allowedFormatsForSaving} .autoPopulateAuthor=${this.autoPopulateAuthor} .showSaveAs=${this.showSaveAs} .arcgisSaveAs=${this.arcgisSaveAs}></arcgis-print-main-panel>`;
73
+ return !!this.error || t ? r`<div class="panel-error">${e ? t ? this.messages.sceneViewError : this.messages.serviceError : this.messages.noViewError}</div>` : r`<arcgis-print-main-panel .messages=${this.messages} .viewModel=${this.viewModel} .showTemplateSelector=${this._showTemplateSelector.bind(this)} .hideAdvancedOptions=${this.hideAdvancedOptions} .hideFeatureAttributes=${this.hideFeatureAttributes} .hideIncludeTables=${this.hideIncludeTables} .allowedFormatsForSaving=${this.allowedFormatsForSaving} .autoPopulateAuthor=${this.autoPopulateAuthor} .showSaveAs=${this.showSaveAs} .arcgisSaveAs=${this.arcgisSaveAs}></arcgis-print-main-panel>`;
74
74
  }
75
75
  }
76
- c("arcgis-print", b);
76
+ c("arcgis-print", x);
77
77
  export {
78
- b as ArcgisPrint
78
+ x as ArcgisPrint
79
79
  };