@arcgis/map-components 6.0.0-next.15 → 6.0.0-next.17

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 (111) hide show
  1. package/dist/cdn/{NWCS3WJE.js → 35YLXOQ5.js} +1 -1
  2. package/dist/cdn/4XEZYOW7.js +2 -0
  3. package/dist/cdn/{OL5Z5MUQ.js → 54252KWO.js} +1 -1
  4. package/dist/cdn/{IZ3VMFW6.js → 5VXEMMLV.js} +1 -1
  5. package/dist/cdn/{3QTYVBA3.js → 5Y45LLBY.js} +1 -1
  6. package/dist/cdn/{OS3TKP63.js → AQ4GVWNJ.js} +1 -1
  7. package/dist/cdn/AWB7XOHF.js +2 -0
  8. package/dist/cdn/DSIYRWN2.js +2 -0
  9. package/dist/cdn/DUKK2PHD.js +2 -0
  10. package/dist/cdn/{I2VQOWJL.js → ECYWLMDD.js} +1 -1
  11. package/dist/cdn/FFVPO4JB.js +2 -0
  12. package/dist/cdn/{OS736MCE.js → FUJYJKDU.js} +1 -1
  13. package/dist/cdn/{SWWJXGPV.js → GFYLYX2V.js} +1 -1
  14. package/dist/cdn/HWRPCOVE.js +2 -0
  15. package/dist/cdn/{CDCI4EQR.js → HZDWPWBH.js} +1 -1
  16. package/dist/cdn/JB6WQEFJ.js +2 -0
  17. package/dist/cdn/{KJNU4Q25.js → JVC5XNYJ.js} +1 -1
  18. package/dist/cdn/LYYBCY4N.js +2 -0
  19. package/dist/cdn/{TMQVC4YN.js → NMGC3KRM.js} +1 -1
  20. package/dist/cdn/{B2UZB5MB.js → NUZBBPNE.js} +2 -2
  21. package/dist/cdn/O7ZXS622.js +2 -0
  22. package/dist/cdn/{JC24VBLE.js → ODSZ7JZM.js} +1 -1
  23. package/dist/cdn/{VWEJ2XSC.js → P3AEIHWE.js} +1 -1
  24. package/dist/cdn/QCYQNVPL.js +2 -0
  25. package/dist/cdn/{ARHQMHUP.js → SAIBFBPE.js} +1 -1
  26. package/dist/cdn/TIUFHDP2.js +2 -0
  27. package/dist/cdn/VYM3TR3Q.js +2 -0
  28. package/dist/cdn/WC2N2XG6.js +2 -0
  29. package/dist/cdn/{Y56CR5OU.js → ZS5IADYN.js} +1 -1
  30. package/dist/cdn/index.js +1 -1
  31. package/dist/chunks/loader-utils.js +43 -0
  32. package/dist/chunks/resources.js +10 -4
  33. package/dist/chunks/slots.js +3 -3
  34. package/dist/chunks/useArcgisViewReadyError.js +179 -130
  35. package/dist/components/arcgis-editor/customElement.d.ts +9 -17
  36. package/dist/components/arcgis-editor/customElement.js +18 -16
  37. package/dist/components/arcgis-feature-next/customElement.js +21 -14
  38. package/dist/components/arcgis-features/customElement.js +12 -11
  39. package/dist/components/arcgis-features-next/customElement.d.ts +8 -2
  40. package/dist/components/arcgis-features-next/customElement.js +161 -141
  41. package/dist/components/arcgis-fullscreen/customElement.js +4 -4
  42. package/dist/components/arcgis-line-of-sight/customElement.d.ts +15 -6
  43. package/dist/components/arcgis-link-chart/customElement.js +24 -24
  44. package/dist/components/arcgis-map/customElement.js +16 -16
  45. package/dist/components/arcgis-popup/customElement.d.ts +8 -2
  46. package/dist/components/arcgis-scene/customElement.js +21 -21
  47. package/dist/components/arcgis-sketch/customElement.js +146 -178
  48. package/dist/components/arcgis-track/customElement.d.ts +2 -2
  49. package/dist/components/arcgis-track/types.d.ts +1 -1
  50. package/dist/components/arcgis-utility-network-trace-results/customElement.d.ts +237 -32
  51. package/dist/docs/api.json +1 -1
  52. package/dist/docs/docs.json +1 -1
  53. package/dist/docs/vscode.html-custom-data.json +1 -1
  54. package/dist/docs/web-types.json +1 -1
  55. package/dist/loader.js +1 -1
  56. package/package.json +8 -8
  57. package/dist/cdn/6RE5RWYP.js +0 -2
  58. package/dist/cdn/7JZU7XI4.js +0 -2
  59. package/dist/cdn/AL3PLZEE.js +0 -2
  60. package/dist/cdn/AT4PSRCX.js +0 -2
  61. package/dist/cdn/FINGRYZY.js +0 -2
  62. package/dist/cdn/JR3EXG25.js +0 -2
  63. package/dist/cdn/LISDXDCI.js +0 -2
  64. package/dist/cdn/LQNQSRG2.js +0 -2
  65. package/dist/cdn/LXLLMRNZ.js +0 -2
  66. package/dist/cdn/QAZ4W6K3.js +0 -2
  67. package/dist/cdn/QPR3KBLU.js +0 -2
  68. package/dist/cdn/YAPPIXWJ.js +0 -2
  69. /package/dist/cdn/{MGDY6SA3.js → 2JLC2JV7.js} +0 -0
  70. /package/dist/cdn/{ITSWOLPG.js → 37Z3E4ZM.js} +0 -0
  71. /package/dist/cdn/{SMCQ5457.js → 53PKFG2U.js} +0 -0
  72. /package/dist/cdn/{YZ23NKH4.js → 5ZLCMYZU.js} +0 -0
  73. /package/dist/cdn/{DXD3FSIB.js → 6MRDTILE.js} +0 -0
  74. /package/dist/cdn/{TTGAGK6Y.js → 72FJMPJ2.js} +0 -0
  75. /package/dist/cdn/{CIVCCENA.js → 7P23WI52.js} +0 -0
  76. /package/dist/cdn/{DU7MQDXJ.js → 7QUHJ4F6.js} +0 -0
  77. /package/dist/cdn/{PLRW457V.js → 7YXE3BUX.js} +0 -0
  78. /package/dist/cdn/{IYTA36WK.js → AE26KT54.js} +0 -0
  79. /package/dist/cdn/{OY2F5AX3.js → C4EAONGF.js} +0 -0
  80. /package/dist/cdn/{7RG4ZQP7.js → CTVCZ2FU.js} +0 -0
  81. /package/dist/cdn/{DVVXBWDN.js → EIQ3BKQI.js} +0 -0
  82. /package/dist/cdn/{J5PYSABF.js → EULM4L53.js} +0 -0
  83. /package/dist/cdn/{VHCJJ5FD.js → EVCKANRW.js} +0 -0
  84. /package/dist/cdn/{4U7C2G4R.js → GXIGMIXV.js} +0 -0
  85. /package/dist/cdn/{UAVE6R7W.js → JZSRPSRH.js} +0 -0
  86. /package/dist/cdn/{FSKKSFCQ.js → KDO2EJA3.js} +0 -0
  87. /package/dist/cdn/{B42Z3IQW.js → LCTJF3NT.js} +0 -0
  88. /package/dist/cdn/{LH3HGDD3.js → LGPNRKDT.js} +0 -0
  89. /package/dist/cdn/{5QBYMSV7.js → LNZRHKHG.js} +0 -0
  90. /package/dist/cdn/{SN3LTQAO.js → MM4N6C4V.js} +0 -0
  91. /package/dist/cdn/{A7G5RNN7.js → MQL4JTYG.js} +0 -0
  92. /package/dist/cdn/{4JRBTFMB.js → NUCXXE6V.js} +0 -0
  93. /package/dist/cdn/{XELSV7WY.js → O2VAKVIY.js} +0 -0
  94. /package/dist/cdn/{DYUSQ3OG.js → OLEIOWZX.js} +0 -0
  95. /package/dist/cdn/{3E6IBNWF.js → ORS7OWLJ.js} +0 -0
  96. /package/dist/cdn/{IHQ2C6NE.js → P3BAHG4Q.js} +0 -0
  97. /package/dist/cdn/{IPLEI5W5.js → QYMZT7OC.js} +0 -0
  98. /package/dist/cdn/{43JS3JXR.js → RENVCO3U.js} +0 -0
  99. /package/dist/cdn/{CJZCG74B.js → RGECACLD.js} +0 -0
  100. /package/dist/cdn/{HI7Y3XH5.js → SYIOPNRF.js} +0 -0
  101. /package/dist/cdn/{F2JEYWUA.js → T62G5MRK.js} +0 -0
  102. /package/dist/cdn/{AS55LGS3.js → TS32SDVT.js} +0 -0
  103. /package/dist/cdn/{W5QAG2HP.js → UCHDAO3V.js} +0 -0
  104. /package/dist/cdn/{HSYCQNEN.js → VNY7TNRC.js} +0 -0
  105. /package/dist/cdn/{KVN6NUH4.js → XJIILB3W.js} +0 -0
  106. /package/dist/cdn/{OHIZP5N4.js → Y4D3Q4G7.js} +0 -0
  107. /package/dist/cdn/{EMFLPMFZ.js → Y7KMV2PI.js} +0 -0
  108. /package/dist/cdn/{IBTIGEEQ.js → YASANB6O.js} +0 -0
  109. /package/dist/cdn/{L5L2SWJG.js → YMN2Q7CW.js} +0 -0
  110. /package/dist/cdn/{ZHP63EHR.js → YN6VG7UO.js} +0 -0
  111. /package/dist/cdn/{T6V5HDYH.js → YRYYWFPY.js} +0 -0
@@ -6,24 +6,25 @@ import { u as I } from "../../chunks/useT9n.js";
6
6
  import { classes as M } from "@arcgis/toolkit/dom";
7
7
  import { usePropertyChange as C } from "@arcgis/lumina/controllers";
8
8
  import { m as x } from "../../chunks/useViewModel.js";
9
- import { LitElement as b, createEvent as F, nothing as _, safeClassMap as A } from "@arcgis/lumina";
10
- import { substitute as L } from "@arcgis/core/intl.js";
9
+ import { LitElement as b, createEvent as F, nothing as _, safeClassMap as L } from "@arcgis/lumina";
10
+ import { substitute as A } from "@arcgis/core/intl.js";
11
11
  import { renderingSanitizer as T } from "@arcgis/core/applications/Components/sanitizerUtils.js";
12
12
  import { c as D, g as E, d as R, e as V, b as d, i as k, f as B } from "../../chunks/feature-utils.js";
13
13
  import N from "@arcgis/core/core/Collection.js";
14
14
  import { watch as P } from "@arcgis/core/core/reactiveUtils.js";
15
15
  import { stripHTML as H } from "@arcgis/core/applications/Components/stringUtils.js";
16
16
  import Z from "@arcgis/core/popup/FeatureModel.js";
17
- const z = y`:host{display:flex;flex:1 1 auto;background-color:var(--calcite-color-foreground-1);--calcite-color-background: var(--calcite-color-foreground-1)}.root{flex:1 1 auto}.root calcite-icon{box-sizing:content-box}.loading-container{display:flex;justify-content:center;padding:var(--calcite-spacing-md) 0;width:100%}.content-element{margin-bottom:var(--calcite-spacing-lg);padding:0 var(--calcite-spacing-sm);display:flex;flex-direction:column}.content-element[empty]{display:none}.content-element:not([empty]):only-child,.content-element:not([empty]):last-child{margin-bottom:var(--calcite-spacing-xxs)}.last-edited-info{padding-top:var(--calcite-spacing-xs);font-size:var(--calcite-font-size-sm)}`, U = x(Z);
18
- class O extends b {
17
+ import { c as z } from "../../chunks/loader-utils.js";
18
+ const U = y`:host{display:flex;flex:1 1 auto;background-color:var(--calcite-color-foreground-1);--calcite-color-background: var(--calcite-color-foreground-1)}.root{flex:1 1 auto}.root calcite-icon{box-sizing:content-box}.loading-container{display:flex;justify-content:center;padding:var(--calcite-spacing-md) 0;width:100%}.content-element{margin-bottom:var(--calcite-spacing-lg);padding:0 var(--calcite-spacing-sm);display:flex;flex-direction:column}.content-element[empty]{display:none}.content-element:not([empty]):only-child,.content-element:not([empty]):last-child{margin-bottom:var(--calcite-spacing-xxs)}.last-edited-info{padding-top:var(--calcite-spacing-xs);font-size:var(--calcite-font-size-sm)}`, O = x(Z);
19
+ class G extends b {
19
20
  constructor() {
20
- super(...arguments), this.messages = I(), this._rootFlowNode = null, this.internalFlowItems = new N(), this.flowType = "feature", this.viewModel = U(this), this.actions = this.viewModel.actions, this.includeDefaultActions = this.viewModel.includeDefaultActions, this.focusTrapEnabled = !1, this.view = this.viewModel.view, this.icon = "icon", this.isFeatureFromTable = this.viewModel.isFeatureFromTable, this.graphic = this.viewModel.graphic, this.defaultPopupTemplateEnabled = this.viewModel.defaultPopupTemplateEnabled, this.headingLevel = 2, this.spatialReference = this.viewModel.spatialReference, this.timeZone = this.viewModel.timeZone, this.heading = this.viewModel.heading, this.map = this.viewModel.map, this.chartAnimationDisabled = this.viewModel.abilities.chartAnimation, this.hideHeading = !1, this.hideContent = !1, this.hideAttachmentsContent = !1, this.hideEmptyRelationshipContent = !1, this.hideCustomContent = !1, this.hideExpressionContent = !1, this.hideFieldsContent = !1, this.hideMediaContent = !1, this.showRelationshipContent = !1, this.hideTextContent = !1, this.showUtilityNetworkContent = !1, this.hideLastEditedInfo = !1, this.autoDestroyDisabled = !1, this.location = this.viewModel.location, this.state = this.viewModel.state, this.arcgisPropertyChange = C()("flowItems", "state"), this.arcgisReady = F();
21
+ super(...arguments), this.messages = I(), this._rootFlowNode = null, this._loading = !1, this.internalFlowItems = new N(), this.flowType = "feature", this.viewModel = O(this), this.actions = this.viewModel.actions, this.includeDefaultActions = this.viewModel.includeDefaultActions, this.focusTrapEnabled = !1, this.view = this.viewModel.view, this.icon = "icon", this.isFeatureFromTable = this.viewModel.isFeatureFromTable, this.graphic = this.viewModel.graphic, this.defaultPopupTemplateEnabled = this.viewModel.defaultPopupTemplateEnabled, this.headingLevel = 2, this.spatialReference = this.viewModel.spatialReference, this.timeZone = this.viewModel.timeZone, this.heading = this.viewModel.heading, this.map = this.viewModel.map, this.chartAnimationDisabled = this.viewModel.abilities.chartAnimation, this.hideHeading = !1, this.hideContent = !1, this.hideAttachmentsContent = !1, this.hideEmptyRelationshipContent = !1, this.hideCustomContent = !1, this.hideExpressionContent = !1, this.hideFieldsContent = !1, this.hideMediaContent = !1, this.showRelationshipContent = !1, this.hideTextContent = !1, this.showUtilityNetworkContent = !1, this.hideLastEditedInfo = !1, this.autoDestroyDisabled = !1, this.location = this.viewModel.location, this.state = this.viewModel.state, this.arcgisPropertyChange = C()("flowItems", "state"), this.arcgisReady = F();
21
22
  }
22
23
  static {
23
- this.properties = { popupTemplate: 16, sourceLayer: 16, fieldInfoMap: 16, values: 16, globalValues: 16, internalFlowItems: 16, flowType: 1, viewModel: 0, actions: 0, includeDefaultActions: 5, focusTrapEnabled: 5, view: 0, flowItems: 0, referenceElement: 1, icon: 1, isFeatureFromTable: 36, graphic: 0, allActions: 32, defaultPopupTemplateEnabled: 5, headingLevel: 9, spatialReference: 0, timeZone: 1, heading: 0, map: 0, chartAnimationDisabled: 5, hideHeading: 5, hideContent: 5, hideAttachmentsContent: 5, hideEmptyRelationshipContent: 5, hideCustomContent: 5, hideExpressionContent: 5, hideFieldsContent: 5, hideMediaContent: 5, showRelationshipContent: 5, hideTextContent: 5, showUtilityNetworkContent: 5, hideLastEditedInfo: 5, autoDestroyDisabled: 5, messageOverrides: 0, label: 1, location: 0, state: 32 };
24
+ this.properties = { _loading: 16, popupTemplate: 16, sourceLayer: 16, fieldInfoMap: 16, values: 16, globalValues: 16, internalFlowItems: 16, flowType: 1, viewModel: 0, actions: 0, includeDefaultActions: 5, focusTrapEnabled: 5, view: 0, flowItems: 0, referenceElement: 1, icon: 1, isFeatureFromTable: 36, graphic: 0, allActions: 32, defaultPopupTemplateEnabled: 5, headingLevel: 9, spatialReference: 0, timeZone: 1, heading: 0, map: 0, chartAnimationDisabled: 5, hideHeading: 5, hideContent: 5, hideAttachmentsContent: 5, hideEmptyRelationshipContent: 5, hideCustomContent: 5, hideExpressionContent: 5, hideFieldsContent: 5, hideMediaContent: 5, showRelationshipContent: 5, hideTextContent: 5, showUtilityNetworkContent: 5, hideLastEditedInfo: 5, autoDestroyDisabled: 5, messageOverrides: 0, label: 1, location: 0, state: 32 };
24
25
  }
25
26
  static {
26
- this.styles = z;
27
+ this.styles = U;
27
28
  }
28
29
  get popupTemplate() {
29
30
  return D(this.graphic, this.defaultPopupTemplateEnabled) ?? void 0;
@@ -67,6 +68,12 @@ class O extends b {
67
68
  }
68
69
  loaded() {
69
70
  this.manager.onLifecycle(() => [
71
+ z({
72
+ getLoading: () => !this.flowItems && this.state === "loading",
73
+ setEffectiveLoading: (e) => {
74
+ this._loading = e;
75
+ }
76
+ }),
70
77
  P(() => [this.internalFlowItems?.length], () => this._setFocus())
71
78
  ]);
72
79
  }
@@ -254,23 +261,23 @@ class O extends b {
254
261
  return e instanceof HTMLElement ? e : null;
255
262
  }
256
263
  _renderContentContainer() {
257
- const { flowItems: e, hideContent: t, internalFlowItems: i, headingLevel: a, state: s, messages: o, heading: n, hideHeading: l } = this, c = t ? null : r`<div class="main">${[this._renderContent(), this._renderLastEditInfo()]}</div>`, h = o.returnToInitialFeature ?? "";
258
- return e ? c : r`<calcite-flow ${w(this._storeRootFlowNode)}><calcite-flow-item .focusTrapEnabled=${this.focusTrapEnabled} .loading=${s === "loading"} .headingLevel=${a} .heading=${l ? void 0 : H(n)} .selected=${!i.length}>${!l && n ? r`<div slot=heading><div .innerHTML=${T.sanitize(n ?? "") ?? ""}></div></div>` : null}${c}</calcite-flow-item>${i.toArray().map((p, u) => r`<calcite-flow-item .focusTrapEnabled=${this.focusTrapEnabled} @calciteFlowItemBack=${(f) => {
264
+ const { flowItems: e, hideContent: t, internalFlowItems: i, headingLevel: a, _loading: s, messages: o, heading: n, hideHeading: l } = this, c = t ? null : r`<div class="main">${[this._renderContent(), this._renderLastEditInfo()]}</div>`, h = o.returnToInitialFeature ?? "";
265
+ return e ? c : r`<calcite-flow ${w(this._storeRootFlowNode)}><calcite-flow-item .focusTrapEnabled=${this.focusTrapEnabled} .loading=${s} .headingLevel=${a} .heading=${l ? void 0 : H(n)} .selected=${!i.length}>${!l && n ? r`<div slot=heading><div .innerHTML=${T.sanitize(n ?? "") ?? ""}></div></div>` : null}${c}</calcite-flow-item>${i.toArray().map((p, u) => r`<calcite-flow-item .focusTrapEnabled=${this.focusTrapEnabled} @calciteFlowItemBack=${(f) => {
259
266
  f.preventDefault(), this._handleDrillInBackClick();
260
- }} .loading=${s === "loading"} .headingLevel=${a} .selected=${u === i.length - 1}><calcite-action icon=move-up @click=${this._removeFlowItems} slot=header-actions-start .text=${h} title=${h ?? _}></calcite-action>${p}</calcite-flow-item>`)}</calcite-flow>`;
267
+ }} .loading=${s} .headingLevel=${a} .selected=${u === i.length - 1}><calcite-action icon=move-up @click=${this._removeFlowItems} slot=header-actions-start .text=${h} title=${h ?? _}></calcite-action>${p}</calcite-flow-item>`)}</calcite-flow>`;
261
268
  }
262
269
  _renderLastEditInfo() {
263
270
  const { hideLastEditedInfo: e, messages: t } = this, { lastEditInfo: i } = this.viewModel;
264
271
  if (!i || e)
265
272
  return null;
266
- const { date: a, user: s } = i, o = i.type === "edit" ? s ? t.lastEditedByUser : t.lastEdited : s ? t.lastCreatedByUser : t.lastCreated, n = L(o ?? "", {
273
+ const { date: a, user: s } = i, o = i.type === "edit" ? s ? t.lastEditedByUser : t.lastEdited : s ? t.lastCreatedByUser : t.lastCreated, n = A(o ?? "", {
267
274
  date: a,
268
275
  user: s
269
276
  });
270
- return r`<div class=${A(M("last-edited-info", "content-element"))}>${n}</div>`;
277
+ return r`<div class=${L(M("last-edited-info", "content-element"))}>${n}</div>`;
271
278
  }
272
279
  }
273
- $("arcgis-feature-next", O);
280
+ $("arcgis-feature-next", G);
274
281
  export {
275
- O as ArcgisFeatureNext
282
+ G as ArcgisFeatureNext
276
283
  };
@@ -20,16 +20,17 @@ import { initializeProjection as W } from "@arcgis/core/applications/Components/
20
20
  import X from "@arcgis/core/support/actions/ActionButton.js";
21
21
  import { createRef as b, ref as w } from "lit/directives/ref.js";
22
22
  import { b as J, a as Q, c as Y } from "../../chunks/keyboard-utils.js";
23
- const ee = R`:host{display:flex;overflow:hidden;flex:1 1 auto}.root{--calcite-color-background: var(--calcite-color-foreground-1);display:flex;overflow:hidden;flex:1 1 auto;flex-direction:column}.root img{image-orientation:from-image}.flow-item-collapsed{--calcite-flow-item-header-border-block-end: none}.container{display:flex;flex:1 1 auto;background-color:var(--calcite-color-foreground-1)}.container calcite-list{width:100%}.container:not(:empty,.content-hidden){padding:var(--arcgis-internal-padding-md, var(--calcite-spacing-md))}.root .arcgis-feature,.root .arcgis-feature-relationship,.root .arcgis-feature-utility-network-associations{background-color:transparent}.heading{word-break:break-word;word-wrap:break-word}.header,.footer{display:flex;align-items:center;justify-content:flex-end;background-color:var(--calcite-color-foreground-1)}.footer{flex:1}.pagination-text{padding-inline:var(--calcite-spacing-sm);color:var(--calcite-color-text-3);font-size:var(--calcite-font-size-sm)}.loader{align-self:center;padding-inline:var(--calcite-spacing-lg)}.pagination-action-bar{flex:1}.pagination-menu-button{padding-inline:var(--calcite-spacing-xxs);border-inline-start:var(--calcite-border-width-sm) solid var(--calcite-color-border-3)}.icon{display:inline-block;flex:0 0 var(--calcite-spacing-lg);width:var(--calcite-spacing-lg);height:var(--calcite-spacing-lg)}.action-image{flex:0 0 var(--calcite-spacing-lg);background-position:50% 50%;background-repeat:no-repeat;background-size:contain;width:var(--calcite-spacing-lg);height:var(--calcite-spacing-lg)}.header{border-block-end:var(--calcite-border-width-sm) solid var(--calcite-color-border-3)}.content-feature{--calcite-flow-item-footer-padding: 0}.feature-menu-observer{position:relative;bottom:var(--calcite-spacing-xxl);z-index:2;text-align:center}.action-exit{transform:scaleX(-1)}`, te = new X({
23
+ import { g as ee } from "../../chunks/async-utils.js";
24
+ const te = R`:host{display:flex;overflow:hidden;flex:1 1 auto}.root{--calcite-color-background: var(--calcite-color-foreground-1);display:flex;overflow:hidden;flex:1 1 auto;flex-direction:column}.root img{image-orientation:from-image}.flow-item-collapsed{--calcite-flow-item-header-border-block-end: none}.container{display:flex;flex:1 1 auto;background-color:var(--calcite-color-foreground-1)}.container calcite-list{width:100%}.container:not(:empty,.content-hidden){padding:var(--arcgis-internal-padding-md, var(--calcite-spacing-md))}.root .arcgis-feature,.root .arcgis-feature-relationship,.root .arcgis-feature-utility-network-associations{background-color:transparent}.heading{word-break:break-word;word-wrap:break-word}.header,.footer{display:flex;align-items:center;justify-content:flex-end;background-color:var(--calcite-color-foreground-1)}.footer{flex:1}.pagination-text{padding-inline:var(--calcite-spacing-sm);color:var(--calcite-color-text-3);font-size:var(--calcite-font-size-sm)}.loader{align-self:center;padding-inline:var(--calcite-spacing-lg)}.pagination-action-bar{flex:1}.pagination-menu-button{padding-inline:var(--calcite-spacing-xxs);border-inline-start:var(--calcite-border-width-sm) solid var(--calcite-color-border-3)}.icon{display:inline-block;flex:0 0 var(--calcite-spacing-lg);width:var(--calcite-spacing-lg);height:var(--calcite-spacing-lg)}.action-image{flex:0 0 var(--calcite-spacing-lg);background-position:50% 50%;background-repeat:no-repeat;background-size:contain;width:var(--calcite-spacing-lg);height:var(--calcite-spacing-lg)}.header{border-block-end:var(--calcite-border-width-sm) solid var(--calcite-color-border-3)}.content-feature{--calcite-flow-item-footer-padding: 0}.feature-menu-observer{position:relative;bottom:var(--calcite-spacing-xxl);z-index:2;text-align:center}.action-exit{transform:scaleX(-1)}`, ie = new X({
24
25
  icon: "magnifying-glass-plus",
25
26
  id: "zoom-to-feature",
26
27
  title: "{messages.zoom}"
27
- }), M = te.clone(), ie = 25;
28
- function se(k) {
28
+ }), M = ie.clone(), se = 25;
29
+ function ne(k) {
29
30
  return k?.declaredClass.startsWith("esri.layers.") ?? !1;
30
31
  }
31
- const ne = U(B);
32
- class oe extends Z {
32
+ const oe = U(B);
33
+ class ae extends Z {
33
34
  constructor() {
34
35
  super(...arguments), this._direction = P(), this._fetchFeaturesController = null, this._featureMenuIntersectionObserverCallback = ([e]) => {
35
36
  e?.isIntersecting && this.viewModel.featurePage != null && this.viewModel.featurePage++;
@@ -38,13 +39,13 @@ class oe extends Z {
38
39
  }), this._featureMenuIntersectionObserverNode = null, this._rootFlowItemNode = b(), this._featureMenuViewportNode = b(), this._actionBarMenuNode = b(), this._flowContainerNode = b(), this.messages = H(), this._selectedFeatureComponent = b(), this._cancelOpenRelatedFeature = () => {
39
40
  const { _openRelatedFeatureAbortController: e } = this;
40
41
  e && e.abort(), this._openRelatedFeatureAbortController = null;
41
- }, this._spinnerVisible = !1, this._spinnerVisibilityTimeout = null, this._openRelatedFeatureAbortController = null, this.flowItems = new E(), this.viewModel = ne(this), this.actions = this.viewModel.actions, this.active = this.viewModel.active, this.autoDestroyDisabled = !1, this.collapsed = !1, this.content = this.viewModel.content, this.defaultPopupTemplateEnabled = this.viewModel.defaultPopupTemplateEnabled, this.featureCount = this.viewModel.featureCount, this.featureMenuOpen = this.viewModel.featureMenuOpen, this.featureMenuTitle = this.viewModel.featureMenuTitle, this.featureNavigationTop = !1, this.features = this.viewModel.features, this.featuresPerPage = this.viewModel.featuresPerPage, this.featureViewModelAbilities = this.viewModel.featureViewModelAbilities, this.goToOverride = this.viewModel.goToOverride, this.headerActions = new E(), this.heading = this.viewModel.title, this.headingLevel = 2, this.hideActionBar = !1, this.hideCloseButton = !1, this.hideFeatureMenuHeading = !1, this.hideFeatureNavigation = !1, this.hideFeatureListLayerTitle = !1, this.hideHeading = !1, this.hideSelectFeature = !1, this.hideSpinner = !1, this.hideContent = !1, this.hideExpressionContent = !1, this.hideLastEditedInfo = !1, this.highlightDisabled = this.viewModel.highlightEnabled, this.includeDefaultActionsDisabled = this.viewModel.includeDefaultActions, this.initialDisplayMode = this.viewModel.initialDisplayMode, this.location = this.viewModel.location, this.map = this.viewModel.map, this.open = this.viewModel.visible, this.promises = this.viewModel.promises, this.responsiveActionsEnabled = !1, this.selectedFeature = this.viewModel.selectedFeature, this.selectedFeatureIndex = this.viewModel.selectedFeatureIndex, this.showCollapseButton = !1, this.spatialReference = this.viewModel.spatialReference, this.state = this.viewModel.state, this.timeZone = this.viewModel.timeZone, this.updateLocationEnabled = this.viewModel.updateLocationEnabled, this.view = this.viewModel.view, this.arcgisPropertyChange = z()("active", "collapsed", "effectiveHeading", "featureCount", "featureMenuOpen", "features", "promises", "selectedDrillInFeature", "selectedFeature", "selectedFeatureComponent", "selectedFeatureIndex", "state", "open"), this.arcgisReady = T(), this.arcgisClose = T(), this.arcgisTriggerAction = T();
42
+ }, this._spinnerVisible = !1, this._spinnerVisibilityTimeout = null, this._openRelatedFeatureAbortController = null, this.flowItems = new E(), this.viewModel = oe(this), this.actions = this.viewModel.actions, this.active = this.viewModel.active, this.autoDestroyDisabled = !1, this.collapsed = !1, this.content = this.viewModel.content, this.defaultPopupTemplateEnabled = this.viewModel.defaultPopupTemplateEnabled, this.featureCount = this.viewModel.featureCount, this.featureMenuOpen = this.viewModel.featureMenuOpen, this.featureMenuTitle = this.viewModel.featureMenuTitle, this.featureNavigationTop = !1, this.features = this.viewModel.features, this.featuresPerPage = this.viewModel.featuresPerPage, this.featureViewModelAbilities = this.viewModel.featureViewModelAbilities, this.goToOverride = this.viewModel.goToOverride, this.headerActions = new E(), this.heading = this.viewModel.title, this.headingLevel = 2, this.hideActionBar = !1, this.hideCloseButton = !1, this.hideFeatureMenuHeading = !1, this.hideFeatureNavigation = !1, this.hideFeatureListLayerTitle = !1, this.hideHeading = !1, this.hideSelectFeature = !1, this.hideSpinner = !1, this.hideContent = !1, this.hideExpressionContent = !1, this.hideLastEditedInfo = !1, this.highlightDisabled = this.viewModel.highlightEnabled, this.includeDefaultActionsDisabled = this.viewModel.includeDefaultActions, this.initialDisplayMode = this.viewModel.initialDisplayMode, this.location = this.viewModel.location, this.map = this.viewModel.map, this.open = this.viewModel.visible, this.promises = this.viewModel.promises, this.responsiveActionsEnabled = !1, this.selectedFeature = this.viewModel.selectedFeature, this.selectedFeatureIndex = this.viewModel.selectedFeatureIndex, this.showCollapseButton = !1, this.spatialReference = this.viewModel.spatialReference, this.state = this.viewModel.state, this.timeZone = this.viewModel.timeZone, this.updateLocationEnabled = this.viewModel.updateLocationEnabled, this.view = this.viewModel.view, this.arcgisPropertyChange = z()("active", "collapsed", "effectiveHeading", "featureCount", "featureMenuOpen", "features", "promises", "selectedDrillInFeature", "selectedFeature", "selectedFeatureComponent", "selectedFeatureIndex", "state", "open"), this.arcgisReady = T(), this.arcgisClose = T(), this.arcgisTriggerAction = T();
42
43
  }
43
44
  static {
44
45
  this.properties = { _openRelatedFeatureAbortController: 16, flowItems: 16, _hideActionText: 16, _featureNavigationVisible: 16, _isCollapsed: 16, _collapseEnabled: 16, _featureFlowItemSelected: 16, viewModel: 0, actions: 0, active: 0, autoDestroyDisabled: 5, collapseDirection: 1, collapsed: 5, content: 1, defaultPopupTemplateEnabled: 5, effectiveHeading: 32, featureCount: 9, featureMenuOpen: 5, featureMenuTitle: 1, featureNavigationTop: 5, features: 0, featuresPerPage: 9, featureViewModelAbilities: 0, goToOverride: 0, headerActions: 0, heading: 1, headingLevel: 9, hideActionBar: 5, hideCloseButton: 5, hideFeatureMenuHeading: 5, hideFeatureNavigation: 5, hideFeatureListLayerTitle: 5, hideHeading: 5, hideSelectFeature: 5, hideSpinner: 5, hideContent: 5, chartAnimationDisabled: 5, hideAttachmentsContent: 5, hideCustomContent: 5, hideExpressionContent: 5, hideFieldsContent: 5, hideMediaContent: 5, hideRelationshipContent: 5, hideTextContent: 5, hideUtilityNetworkContent: 5, hideLastEditedInfo: 5, highlightDisabled: 5, icon: 1, includeDefaultActionsDisabled: 5, initialDisplayMode: 1, label: 1, location: 0, map: 0, messageOverrides: 0, open: 5, referenceElement: 1, promises: 0, responsiveActionsEnabled: 5, selectedDrillInFeature: 32, selectedFeature: 0, selectedFeatureComponent: 32, selectedFeatureIndex: 9, showCollapseButton: 5, spatialReference: 0, state: 32, timeZone: 1, updateLocationEnabled: 5, view: 0 };
45
46
  }
46
47
  static {
47
- this.styles = ee;
48
+ this.styles = te;
48
49
  }
49
50
  get _hideActionText() {
50
51
  if (!this.responsiveActionsEnabled)
@@ -207,7 +208,7 @@ class oe extends Z {
207
208
  const i = s?.graphic;
208
209
  if (!i)
209
210
  return;
210
- const n = q(i), o = se(n) ? n : null, l = t.get(o) ?? [];
211
+ const n = q(i), o = ne(n) ? n : null, l = t.get(o) ?? [];
211
212
  t.set(o, [...l, s]);
212
213
  }), t;
213
214
  }
@@ -330,7 +331,7 @@ class oe extends Z {
330
331
  _getSpinnerTrackLocation() {
331
332
  return !this.hideSpinner && this.viewModel.visible && this.viewModel?.waitingForResult ? this._spinnerVisible ? !0 : (this._spinnerVisibilityTimeout ??= setTimeout(() => {
332
333
  this._spinnerVisibilityTimeout = null, this._spinnerVisible = !0, this._createSpinner();
333
- }, ie), !1) : (this._clearSpinnerVisibilityTimeout(), this._spinnerVisible = !1, !1);
334
+ }, ee(se)), !1) : (this._clearSpinnerVisibilityTimeout(), this._spinnerVisible = !1, !1);
334
335
  }
335
336
  _createSpinner() {
336
337
  const e = this.referenceElement;
@@ -437,7 +438,7 @@ class oe extends Z {
437
438
  return t ? a`<arcgis-feature .autoDestroyDisabled=${this.autoDestroyDisabled} .chartAnimationDisabled=${this.chartAnimationDisabled} .defaultPopupTemplateEnabled=${this.defaultPopupTemplateEnabled} .flowItems=${this.flowItems} .graphic=${t.graphic} .headingLevel=${this.headingLevel + 1} .hideAttachmentsContent=${this.hideAttachmentsContent} .hideContent=${this.hideContent} .hideCustomContent=${this.hideCustomContent} .hideExpressionContent=${this.hideExpressionContent} .hideFieldsContent=${this.hideFieldsContent} hide-heading .hideLastEditedInfo=${this.hideLastEditedInfo} .hideMediaContent=${this.hideMediaContent} .hideTextContent=${this.hideTextContent} .location=${this.location} .map=${this.map} .messageOverrides=${this.messageOverrides} .referenceElement=${this.referenceElement} .showRelationshipContent=${!this.hideRelationshipContent} .showUtilityNetworkContent=${!this.hideUtilityNetworkContent} .spatialReference=${this.spatialReference} .timeZone=${this.timeZone} ${w(this._selectedFeatureComponent)}></arcgis-feature>` : typeof e == "string" ? D(e, a`<div .innerHTML=${F.sanitize(e) ?? ""}></div>`) : e ?? null;
438
439
  }
439
440
  }
440
- L("arcgis-features", oe);
441
+ L("arcgis-features", ae);
441
442
  export {
442
- oe as ArcgisFeatures
443
+ ae as ArcgisFeatures
443
444
  };
@@ -38,8 +38,14 @@ import type { MapViewOrSceneView } from "@arcgis/core/views/MapViewOrSceneView.j
38
38
  * The Features (next) component should be used if needing to use the Popup functionality outside of the map or scene component. To show a single feature's content without
39
39
  * actions, related records, clustering configuration, etc., then use the [arcgis-feature-next](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-feature-next/) component.
40
40
  *
41
- * @slot [actions-start] - _Since 5.2._ Slot for adding Calcite [actions](https://developers.arcgis.com/calcite-design-system/components/action/) or [action groups](https://developers.arcgis.com/calcite-design-system/components/action-group/) to the start of the action bar. Multiple actions or action groups can be placed in this slot. Slotted actions remain at the start of the action bar and are not automatically grouped if they exceed the available width. To group actions, place them in a Calcite action group. Actions in this slot remain separate from other actions, including default actions (such as "Zoom to" and "Browse features"), [PopupTemplate actions](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/#actions), and [actions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features-next/#actions).
42
- * @slot [actions-end] - _Since 5.2._ Slot for adding Calcite [actions](https://developers.arcgis.com/calcite-design-system/components/action/) or [action groups](https://developers.arcgis.com/calcite-design-system/components/action-group/) to the end of the action bar. Multiple actions or action groups can be placed in this slot. Slotted actions remain at the end of the action bar and are not automatically grouped if they exceed the available width. To group actions, place them in a Calcite action group. Actions in this slot remain separate from other actions, including default actions (such as "Zoom to" and "Browse features"), [PopupTemplate actions](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/#actions), and [actions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features-next/#actions).
41
+ * @slot
42
+ * [actions-start] - _Since 5.2._ Slot for adding Calcite [actions](https://developers.arcgis.com/calcite-design-system/components/action/) or [action groups](https://developers.arcgis.com/calcite-design-system/components/action-group/) to the start of the action bar. Multiple actions or action groups can be placed in this slot. Slotted actions remain at the start of the action bar and are not automatically grouped if they exceed the available width. To group actions, place them in a Calcite action group. Actions in this slot remain separate from other actions, including default actions (such as "Zoom to" and "Browse features"), [PopupTemplate actions](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/#actions), and [actions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features-next/#actions).
43
+ *
44
+ * To display text on the action, use the `text-enabled` attribute of the Calcite [action](https://developers.arcgis.com/calcite-design-system/components/action/#api-reference-properties-textEnabled).
45
+ * @slot
46
+ * [actions-end] - _Since 5.2._ Slot for adding Calcite [actions](https://developers.arcgis.com/calcite-design-system/components/action/) or [action groups](https://developers.arcgis.com/calcite-design-system/components/action-group/) to the end of the action bar. Multiple actions or action groups can be placed in this slot. Slotted actions remain at the end of the action bar and are not automatically grouped if they exceed the available width. To group actions, place them in a Calcite action group. Actions in this slot remain separate from other actions, including default actions (such as "Zoom to" and "Browse features"), [PopupTemplate actions](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/#actions), and [actions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features-next/#actions).
47
+ *
48
+ * To display text on the action, use the `text-enabled` attribute of the Calcite [action](https://developers.arcgis.com/calcite-design-system/components/action/#api-reference-properties-textEnabled).
43
49
  * @see [PopupTemplate](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/)
44
50
  * @see [arcgis-feature-next](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-feature-next/)
45
51
  * @see [arcgis-popup](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/)