@arcgis/map-components 6.0.0-next.22 → 6.0.0-next.24

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 (154) hide show
  1. package/dist/cdn/{WUWF6ZDM.js → 2Z36ICJZ.js} +1 -1
  2. package/dist/cdn/{GQQTIX2X.js → 3HI5IZSQ.js} +1 -1
  3. package/dist/cdn/3KAC2MKA.js +2 -0
  4. package/dist/cdn/{2NM6UWC4.js → 47CFYOUT.js} +1 -1
  5. package/dist/cdn/4N4XDCDQ.js +2 -0
  6. package/dist/cdn/{7ZWBGSCM.js → 4NG7CALI.js} +1 -1
  7. package/dist/cdn/{NTHSQXKG.js → 5DEJDR4W.js} +1 -1
  8. package/dist/cdn/{LUW2PXWZ.js → 5PPYHS6V.js} +1 -1
  9. package/dist/cdn/{M5OK7RKI.js → 66GRDX36.js} +1 -1
  10. package/dist/cdn/{SAQ5BNZJ.js → 6CKQPMJB.js} +1 -1
  11. package/dist/cdn/6GE2WBKV.js +2 -0
  12. package/dist/cdn/6GGKA7MT.js +2 -0
  13. package/dist/cdn/{XPBFBRSY.js → 6K4IASNK.js} +1 -1
  14. package/dist/cdn/{7LO6ACC7.js → 6VV5SX76.js} +1 -1
  15. package/dist/cdn/{Y3E2FJPQ.js → 74WM2EIB.js} +1 -1
  16. package/dist/cdn/{4I6F64B2.js → 7U2V3LDM.js} +1 -1
  17. package/dist/cdn/{3GN3DAON.js → A7YFCO3R.js} +1 -1
  18. package/dist/cdn/{3SXQLU4S.js → APFZ2FVO.js} +1 -1
  19. package/dist/cdn/{VLHURRRU.js → BM3FQ4OG.js} +1 -1
  20. package/dist/cdn/{LWVYNWD5.js → CGE6E3O3.js} +1 -1
  21. package/dist/cdn/CVLOQWUD.js +2 -0
  22. package/dist/cdn/{NORQIOSX.js → DGXTCH6B.js} +1 -1
  23. package/dist/cdn/{JUYPQUPQ.js → E5CGORXN.js} +1 -1
  24. package/dist/cdn/E5X5BYWA.js +2 -0
  25. package/dist/cdn/ECF4B24M.js +2 -0
  26. package/dist/cdn/EJVFK7JX.js +2 -0
  27. package/dist/cdn/{BUH3AQ7E.js → FTLNYN3G.js} +1 -1
  28. package/dist/cdn/{BJ35LPCU.js → G7BWEBJH.js} +1 -1
  29. package/dist/cdn/GIQT67VT.js +2 -0
  30. package/dist/cdn/{V7DMA5ZO.js → GZ6UBR6R.js} +1 -1
  31. package/dist/cdn/{AOGDXJ2J.js → H66E4VOY.js} +1 -1
  32. package/dist/cdn/HADZXZIE.js +2 -0
  33. package/dist/cdn/{BDZHLGVT.js → HL6WL2YA.js} +1 -1
  34. package/dist/cdn/HTCPPGCR.js +2 -0
  35. package/dist/cdn/HTONXZBP.js +2 -0
  36. package/dist/cdn/{F2DTKJTK.js → HUWIY53T.js} +1 -1
  37. package/dist/cdn/{UE6EBLH3.js → IKVGZFZ6.js} +1 -1
  38. package/dist/cdn/{NKFAPBY3.js → JRO4IBJP.js} +1 -1
  39. package/dist/cdn/KXDLX4RE.js +2 -0
  40. package/dist/cdn/LHYI2QBZ.js +2 -0
  41. package/dist/cdn/{LXJURAXP.js → NLG5U5ZN.js} +1 -1
  42. package/dist/cdn/{BLYXYNGB.js → PPGKQRNY.js} +1 -1
  43. package/dist/cdn/{DS6EUOYE.js → PW3QCZXY.js} +1 -1
  44. package/dist/cdn/{7EIN5VCY.js → Q2GYNZYQ.js} +1 -1
  45. package/dist/cdn/{SJGQALDG.js → Q2ZQOGM2.js} +1 -1
  46. package/dist/cdn/{UFK7DHVC.js → QBRGIFBY.js} +1 -1
  47. package/dist/cdn/{ZC5YVHZ3.js → QQLN6RWA.js} +1 -1
  48. package/dist/cdn/QXEOEFF3.js +2 -0
  49. package/dist/cdn/{BJJZGYBG.js → R6ARQKAY.js} +1 -1
  50. package/dist/cdn/RFO3M46K.js +2 -0
  51. package/dist/cdn/{YBXCTOS7.js → RQPOCDJS.js} +1 -1
  52. package/dist/cdn/{CNJSDHZI.js → RT53VCER.js} +1 -1
  53. package/dist/cdn/{AIF4MCBB.js → RXKIZFNQ.js} +1 -1
  54. package/dist/cdn/{SKAZPI3A.js → TTERKXN5.js} +1 -1
  55. package/dist/cdn/{LKGURYDH.js → TTWQ7RNF.js} +1 -1
  56. package/dist/cdn/{VHZM25YV.js → UB6BQW3G.js} +1 -1
  57. package/dist/cdn/{DGSTI5DI.js → UJURQACP.js} +1 -1
  58. package/dist/cdn/{UHDJ2SI5.js → VW35MSDL.js} +1 -1
  59. package/dist/cdn/{IQGL3AGV.js → WU4NDBMC.js} +1 -1
  60. package/dist/cdn/{FRX4ZT35.js → XKGD4N75.js} +1 -1
  61. package/dist/cdn/{3B4VHD67.js → XN3MG6YU.js} +1 -1
  62. package/dist/cdn/{PFMWLSWQ.js → XWBR6FXI.js} +1 -1
  63. package/dist/cdn/{B2TICPHR.js → Y5ZZCA3R.js} +1 -1
  64. package/dist/cdn/YITBBUPR.js +2 -0
  65. package/dist/cdn/{4IG6WUCI.js → YTZZRJ7Z.js} +1 -1
  66. package/dist/cdn/{OQ6SYZBT.js → YXIJXXTK.js} +1 -1
  67. package/dist/cdn/{L6FLCEH6.js → Z3674FMT.js} +1 -1
  68. package/dist/cdn/assets/video-player/t9n/messages.en.json +1 -1
  69. package/dist/cdn/index.js +1 -1
  70. package/dist/cdn/main.css +1 -1
  71. package/dist/chunks/useArcgisViewReadyError.js +155 -151
  72. package/dist/chunks/useViewModel.js +7 -7
  73. package/dist/chunks/utils.js +17 -17
  74. package/dist/chunks/utils5.js +2 -2
  75. package/dist/components/arcgis-basemap-gallery/customElement.js +17 -17
  76. package/dist/components/arcgis-basemap-gallery-item/customElement.js +1 -1
  77. package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +5 -0
  78. package/dist/components/arcgis-coordinate-conversion-next/customElement.d.ts +6 -5
  79. package/dist/components/arcgis-feature-attachments/customElement.js +18 -18
  80. package/dist/components/arcgis-feature-next/customElement.d.ts +1 -1
  81. package/dist/components/arcgis-features-next/customElement.js +14 -15
  82. package/dist/components/arcgis-scale-bar/customElement.js +11 -11
  83. package/dist/components/arcgis-search/customElement.d.ts +12 -0
  84. package/dist/components/arcgis-search/customElement.js +3 -0
  85. package/dist/components/arcgis-sketch/customElement.js +1 -1
  86. package/dist/components/arcgis-swipe/customElement.d.ts +0 -22
  87. package/dist/components/arcgis-swipe/customElement.js +47 -65
  88. package/dist/components/arcgis-time-bar/customElement.d.ts +486 -409
  89. package/dist/components/arcgis-time-bar/types.d.ts +36 -15
  90. package/dist/components/arcgis-time-bar-slider/customElement.d.ts +179 -162
  91. package/dist/components/arcgis-time-slider/customElement.d.ts +1 -0
  92. package/dist/components/arcgis-time-slider/customElement.js +8 -7
  93. package/dist/components/arcgis-track/customElement.d.ts +12 -3
  94. package/dist/components/arcgis-utility-network-trace-aggregated-geometry-result-item/customElement.d.ts +7 -0
  95. package/dist/components/arcgis-utility-network-trace-aggregated-geometry-result-item/customElement.js +8 -5
  96. package/dist/components/arcgis-utility-network-trace-analysis/customElement.d.ts +45 -2
  97. package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +23 -20
  98. package/dist/components/arcgis-utility-network-trace-configuration-picker/customElement.d.ts +125 -12
  99. package/dist/components/arcgis-utility-network-trace-elements-result-item/customElement.d.ts +9 -2
  100. package/dist/components/arcgis-utility-network-trace-elements-result-item/customElement.js +60 -57
  101. package/dist/components/arcgis-utility-network-trace-functions-result-item/customElement.d.ts +7 -0
  102. package/dist/components/arcgis-utility-network-trace-functions-result-item/customElement.js +12 -9
  103. package/dist/components/arcgis-utility-network-trace-inputs/customElement.d.ts +217 -14
  104. package/dist/components/arcgis-utility-network-trace-inputs/customElement.js +119 -108
  105. package/dist/components/arcgis-utility-network-trace-locations/customElement.d.ts +155 -8
  106. package/dist/components/arcgis-utility-network-trace-results/customElement.d.ts +9 -73
  107. package/dist/components/arcgis-utility-network-trace-results/customElement.js +132 -125
  108. package/dist/components/arcgis-utility-network-trace-results-pane/customElement.d.ts +161 -2
  109. package/dist/components/arcgis-video-player/customElement.d.ts +18 -0
  110. package/dist/components/arcgis-video-player/customElement.js +72 -72
  111. package/dist/components/arcgis-video-player/index.js +4 -4
  112. package/dist/components/arcgis-video-player-action-bar/customElement.js +1 -1
  113. package/dist/components/arcgis-video-player-previews/customElement.js +159 -0
  114. package/dist/components/arcgis-video-player-settings/customElement.js +17 -16
  115. package/dist/components/arcgis-video-player-slider/customElement.js +23 -12
  116. package/dist/components/arcgis-video-player-slider/index.js +1 -0
  117. package/dist/docs/api.json +1 -1
  118. package/dist/docs/docs.json +1 -1
  119. package/dist/docs/vscode.html-custom-data.json +1 -1
  120. package/dist/docs/web-types.json +1 -1
  121. package/dist/index.d.ts +0 -20
  122. package/dist/loader.js +6 -7
  123. package/dist/types/lumina.d.ts +2 -23
  124. package/dist/types/preact.d.ts +2 -25
  125. package/dist/types/react.d.ts +2 -27
  126. package/dist/types/stencil.d.ts +2 -23
  127. package/package.json +6 -6
  128. package/dist/cdn/2WJ53TNR.js +0 -2
  129. package/dist/cdn/5A7LDBDR.js +0 -2
  130. package/dist/cdn/COSETVX4.js +0 -2
  131. package/dist/cdn/F74YQZ2X.js +0 -2
  132. package/dist/cdn/H4BTVLCG.js +0 -2
  133. package/dist/cdn/KXD4VEKE.js +0 -2
  134. package/dist/cdn/MNL7ONFB.js +0 -2
  135. package/dist/cdn/NHMHVWNB.js +0 -2
  136. package/dist/cdn/NQ3COROI.js +0 -2
  137. package/dist/cdn/OJJSIN3V.js +0 -2
  138. package/dist/cdn/P3565WG3.js +0 -2
  139. package/dist/cdn/QAOT2TJ6.js +0 -2
  140. package/dist/cdn/QVJ2FUNW.js +0 -2
  141. package/dist/cdn/SIT5NBLS.js +0 -2
  142. package/dist/cdn/SU2SAOBL.js +0 -2
  143. package/dist/cdn/UI4IEVSV.js +0 -2
  144. package/dist/cdn/VEV3AAVP.js +0 -2
  145. package/dist/cdn/YYCTSS52.js +0 -2
  146. package/dist/components/arcgis-scale-range-slider/customElement.d.ts +0 -158
  147. package/dist/components/arcgis-scale-range-slider/customElement.js +0 -26
  148. package/dist/components/arcgis-scale-range-slider/index.d.ts +0 -1
  149. package/dist/components/arcgis-time-bar/TimeBarViewModel.d.ts +0 -73
  150. package/dist/components/arcgis-value-picker-legacy/customElement.d.ts +0 -642
  151. package/dist/components/arcgis-value-picker-legacy/customElement.js +0 -39
  152. package/dist/components/arcgis-value-picker-legacy/index.d.ts +0 -1
  153. package/dist/components/arcgis-value-picker-legacy/index.js +0 -1
  154. /package/dist/components/{arcgis-scale-range-slider → arcgis-video-player-previews}/index.js +0 -0
@@ -1,11 +1,11 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
- import { proxyExports as r } from "@arcgis/lumina/controllers";
3
- import { AccessorController as i } from "@arcgis/lumina-toolkit/useAccessor";
4
- import { isEsriInternalEnv as n } from "@arcgis/toolkit/error";
2
+ import { proxyExports as s } from "@arcgis/lumina/controllers";
3
+ import { AccessorController as n } from "@arcgis/lumina-toolkit/useAccessor";
4
+ import { isEsriInternalEnv as i } from "@arcgis/toolkit/error";
5
5
  import { V as l } from "./useView.js";
6
6
  import { watch as a } from "@arcgis/core/core/reactiveUtils.js";
7
- const u = (t, e) => (o) => p(o, t);
8
- class s extends i {
7
+ const u = (t, e) => (o) => m(o, t);
8
+ class r extends n {
9
9
  #o = void 0;
10
10
  constructor(e, o) {
11
11
  super(e, o), new l(this.component);
@@ -24,8 +24,8 @@ class s extends i {
24
24
  this.#o?.remove(), super.hostDestroy();
25
25
  }
26
26
  }
27
- process.env.NODE_ENV !== "production" && n() && (s.devOnly$allowedPropNameMismatches = /* @__PURE__ */ new Set(["el", "manager", "open", "swipePosition"]));
28
- const p = r(s);
27
+ process.env.NODE_ENV !== "production" && i() && (r.devOnly$allowedPropNameMismatches = /* @__PURE__ */ new Set(["el", "manager", "open"]));
28
+ const m = s(r);
29
29
  export {
30
30
  u as m
31
31
  };
@@ -1,13 +1,13 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
2
  import { html as c } from "lit";
3
- import { safeClassMap as p, safeStyleMap as m, nothing as a } from "@arcgis/lumina";
3
+ import { safeClassMap as g, safeStyleMap as m, nothing as s } from "@arcgis/lumina";
4
4
  import { classes as y } from "@arcgis/toolkit/dom";
5
5
  import { g as v, a as $ } from "./action-utils.js";
6
6
  import { s as b } from "./component-utils.js";
7
7
  function A(e) {
8
8
  return e && "visibilityMode" in e ? e.visibilityMode : null;
9
9
  }
10
- function x(e, t) {
10
+ function L(e, t) {
11
11
  if (!("visible" in e))
12
12
  return;
13
13
  A(t) === "exclusive" && e.visible || (e.visible = !e.visible);
@@ -15,24 +15,24 @@ function x(e, t) {
15
15
  function P(e, t) {
16
16
  "panel" in e && (e.panel.open = !e.panel.open, e.panel.open && t && t());
17
17
  }
18
- function I(e) {
18
+ function h(e) {
19
19
  return Array.isArray(e) ? e.filter((t) => t !== "legend") : e === "legend" ? null : e;
20
20
  }
21
21
  function T(e) {
22
- const t = I(e.panel?.content);
22
+ const t = h(e.panel?.content);
23
23
  return Array.isArray(t) ? t.length > 0 : !!t;
24
24
  }
25
- function h(e) {
25
+ function I(e) {
26
26
  return !!e && "content" in e && e.content.type === "track-info";
27
27
  }
28
28
  function D(e) {
29
29
  return !!e && "content" in e && e.content.type === "telemetry-display";
30
30
  }
31
31
  function V(e) {
32
- return h(e) || D(e);
32
+ return I(e) || D(e);
33
33
  }
34
34
  function q(e, t, i, n) {
35
- e && i === t.layer?.uid && (b(e), n?.(null));
35
+ !e || !i || i === t.layer?.uid && (b(e), n?.(null));
36
36
  }
37
37
  function M(e, t, i) {
38
38
  i.type === "toggle" && (i.value = !i.value), e(i, t);
@@ -43,11 +43,11 @@ function w(e) {
43
43
  function R(e, t, i) {
44
44
  return e.updateComplete.then(() => {
45
45
  const n = () => {
46
- const r = Array.from(e.el.shadowRoot?.querySelectorAll(`calcite-list-item[data-item="${t}"]`) ?? []);
47
- if (r.length < 2)
46
+ const o = Array.from(e.el.shadowRoot?.querySelectorAll(`calcite-list-item[data-item="${t}"]`) ?? []);
47
+ if (o.length < 2)
48
48
  return;
49
- const l = r.find(i);
50
- l && r.filter((o) => o !== l).forEach((o) => o.remove());
49
+ const l = o.find(i);
50
+ l && o.filter((r) => r !== l).forEach((r) => r.remove());
51
51
  };
52
52
  return n(), e.updateComplete.then(n);
53
53
  });
@@ -57,24 +57,24 @@ function S(e, t) {
57
57
  if (i)
58
58
  return null;
59
59
  const n = "image" in t ? t.image : void 0;
60
- return n ? c`<span aria-hidden=true class=${p(y(e.itemActionIcon, { [e.itemActionImage]: !!n }))} style=${m(v(n))}></span>` : null;
60
+ return n ? c`<span aria-hidden=true class=${g(y(e.itemActionIcon, { [e.itemActionImage]: !!n }))} style=${m(v(n))}></span>` : null;
61
61
  }
62
62
  function j(e, t, i) {
63
- const { item: n, css: r, handleAction: l } = e, { active: o, disabled: u, title: s, type: f, indicator: d } = t, g = $(t);
64
- return c`<calcite-action .active=${f === "toggle" ? t.value : !1} data-action-id=${t.id ?? a} .disabled=${u} .icon=${g ?? void 0} .indicator=${d} .loading=${o} @click=${() => M(l, n, t)} slot=${(i ? void 0 : "actions-end") ?? a} .text=${s ?? ""} .textEnabled=${i} title=${s ?? void 0 ?? a}>${S(r, t)}</calcite-action>`;
63
+ const { item: n, css: o, handleAction: l } = e, { active: r, disabled: u, title: a, type: f, indicator: d } = t, p = $(t);
64
+ return c`<calcite-action .active=${f === "toggle" ? t.value : !1} data-action-id=${t.id ?? s} .disabled=${u} .icon=${p ?? void 0} .indicator=${d} .loading=${r} @click=${() => M(l, n, t)} slot=${(i ? void 0 : "actions-end") ?? s} .text=${a ?? ""} .textEnabled=${i} title=${a ?? void 0 ?? s}>${S(o, t)}</calcite-action>`;
65
65
  }
66
66
  export {
67
67
  S as F,
68
68
  j as L,
69
- h as a,
69
+ I as a,
70
70
  D as b,
71
71
  P as c,
72
72
  w as d,
73
- I as e,
73
+ h as e,
74
74
  q as f,
75
75
  A as g,
76
76
  T as h,
77
77
  V as i,
78
78
  R as r,
79
- x as t
79
+ L as t
80
80
  };
@@ -32,8 +32,8 @@ function y(t) {
32
32
  }
33
33
  export {
34
34
  u as a,
35
- f as b,
36
- e as c,
35
+ e as b,
36
+ f as c,
37
37
  n as d,
38
38
  l as e,
39
39
  o as f,
@@ -11,7 +11,7 @@ import { m as B } from "../../chunks/useViewModel.js";
11
11
  import { H as C } from "../../chunks/heading.js";
12
12
  import { g as l } from "../../chunks/globalCss.js";
13
13
  import { i as L, a as E } from "../../chunks/keyboard-utils.js";
14
- const R = u`@keyframes esri-basemap-slide{0%{opacity:0;margin-top:0;margin-left:0}75%{opacity:0;margin-top:0;margin-left:0}to{opacity:1;margin-top:5px;margin-left:5px}}@keyframes esri-docking-animation{0%{opacity:0}25%{opacity:0}to{opacity:1}}@keyframes popup-intro-animation-down{0%{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translate(0)}}@keyframes popup-intro-animation-up{0%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translate(0)}}@supports (-ms-ime-align: auto){.esri-slider__anchor:focus{outline:1px dotted #000}}@keyframes esri-spinner--start-animation{0%{opacity:0;transform:scale(0)}to{opacity:1;transform:scale(1)}}@keyframes esri-spinner--finish-animation{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(0)}}@keyframes esri-spinner--rotate-animation{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@media(prefers-reduced-motion){.esri-utility-network-trace__reset-prompt{animation:none!important}}@media(prefers-reduced-motion){.esri-popup--aligned-top-center,.esri-popup--aligned-top-left,.esri-popup--aligned-top-right,.esri-popup--aligned-bottom-center,.esri-popup--aligned-bottom-left,.esri-popup--aligned-bottom-right,.esri-popup--is-docked{animation:none!important}}@media(prefers-reduced-motion:reduce){.esri-fov-overlay{animation:none!important}}@keyframes esri-fade-in-down{0%{opacity:0;transform:translateY(-5px)}25%{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translate(0)}}@keyframes esri-fade-in-up{0%{opacity:0;transform:translateY(5px)}25%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translate(0)}}@keyframes esri-fade-in{0%{opacity:0}25%{opacity:0}to{opacity:1}}@keyframes esri-fade-in-scale{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}@keyframes looping-progresss-bar-ani{0%{width:0;left:0}20%{width:20%;left:0}80%{width:20%;left:80%}to{width:0;left:100%}}@keyframes esri-rotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes panel-advance{0%{opacity:0;transform:translate(50px) scale(.99)}to{opacity:1;transform:translate(0) scale(1)}}@keyframes panel-retreat{0%{opacity:0;transform:translate(-50px) scale(.99)}to{opacity:1;transform:translate(0) scale(1)}}@keyframes panel-advance--rtl{0%{opacity:0;transform:translate(-50px) scale(.99)}to{opacity:1;transform:translate(0) scale(1)}}@keyframes panel-retreat--rtl{0%{opacity:0;transform:translate(50px) scale(.99)}to{opacity:1;transform:translate(0) scale(1)}}.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{display:flex;width:var(--arcgis-internal-panel-width, 300px)}:host(:focus-within){z-index:1;outline-offset:var(--calcite-spacing-base);outline:var(--calcite-spacing-base) solid var(--calcite-color-brand)}.root{position:relative;overflow-y:auto;container-type:inline-size;width:100%;min-height:32px;transition:max-height .25s ease-in-out}.root .loader:before,.root .loader:after{opacity:1;content:"";height:var(--calcite-spacing-px);transition:opacity .5s ease-in-out;position:absolute;top:0}.root .loader:before{z-index:0;background-color:var(--calcite-color-foreground-1);width:100%}.root .loader:after{z-index:0;background-color:var(--calcite-color-foreground-3);width:20%;animation:1.5s linear infinite looping-progresss-bar-ani}.esri-disabled arcgis-basemap-gallery-item{opacity:var(--calcite-opacity-light);pointer-events:none;animation:none}.empty-message{padding:12px 15px;animation:.5s ease-in-out esri-fade-in}.loader{width:100%;height:var(--calcite-spacing-base);animation:.5s ease-in-out esri-fade-in;position:absolute;top:0;left:0;right:0}.item-container{flex-flow:column;gap:3px;margin:0;padding-block:3px;padding-inline:3px;list-style:none;transition:opacity .25s ease-in-out;display:flex;position:relative}calcite-popover>.root{width:280px;max-height:80vh}.ui-corner calcite-panel>.root.widget.widget--panel{width:unset}.view-width-greater-than-large calcite-popover>.root,.view-width-greater-than-large .ui-corner>.root{width:450px}@container (width<=200px) or (width>=350px){.root .item-container{grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:var(--calcite-spacing-md) var(--calcite-spacing-lg);padding-block:var(--calcite-spacing-md);padding-inline:var(--calcite-spacing-lg);display:grid}}`, D = B(_);
14
+ const R = u`@keyframes esri-basemap-slide{0%{opacity:0;margin-top:0;margin-left:0}75%{opacity:0;margin-top:0;margin-left:0}to{opacity:1;margin-top:5px;margin-left:5px}}@keyframes esri-docking-animation{0%{opacity:0}25%{opacity:0}to{opacity:1}}@keyframes popup-intro-animation-down{0%{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translate(0)}}@keyframes popup-intro-animation-up{0%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translate(0)}}@supports (-ms-ime-align: auto){.esri-slider__anchor:focus{outline:1px dotted #000}}@keyframes esri-spinner--start-animation{0%{opacity:0;transform:scale(0)}to{opacity:1;transform:scale(1)}}@keyframes esri-spinner--finish-animation{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(0)}}@keyframes esri-spinner--rotate-animation{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@media(prefers-reduced-motion){.esri-utility-network-trace__reset-prompt{animation:none!important}}@media(prefers-reduced-motion){.esri-popup--aligned-top-center,.esri-popup--aligned-top-left,.esri-popup--aligned-top-right,.esri-popup--aligned-bottom-center,.esri-popup--aligned-bottom-left,.esri-popup--aligned-bottom-right,.esri-popup--is-docked{animation:none!important}}@media(prefers-reduced-motion:reduce){.esri-fov-overlay{animation:none!important}}@keyframes esri-fade-in-down{0%{opacity:0;transform:translateY(-5px)}25%{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translate(0)}}@keyframes esri-fade-in-up{0%{opacity:0;transform:translateY(5px)}25%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translate(0)}}@keyframes esri-fade-in{0%{opacity:0}25%{opacity:0}to{opacity:1}}@keyframes esri-fade-in-scale{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}@keyframes looping-progresss-bar-ani{0%{width:0;left:0}20%{width:20%;left:0}80%{width:20%;left:80%}to{width:0;left:100%}}@keyframes esri-rotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes panel-advance{0%{opacity:0;transform:translate(50px) scale(.99)}to{opacity:1;transform:translate(0) scale(1)}}@keyframes panel-retreat{0%{opacity:0;transform:translate(-50px) scale(.99)}to{opacity:1;transform:translate(0) scale(1)}}@keyframes panel-advance--rtl{0%{opacity:0;transform:translate(-50px) scale(.99)}to{opacity:1;transform:translate(0) scale(1)}}@keyframes panel-retreat--rtl{0%{opacity:0;transform:translate(50px) scale(.99)}to{opacity:1;transform:translate(0) scale(1)}}.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{display:flex;width:var(--arcgis-internal-panel-width, 300px)}:host(:focus-within){z-index:1;outline-offset:var(--calcite-space-base);outline:var(--calcite-space-base) solid var(--calcite-color-brand)}.root{position:relative;overflow-y:auto;container-type:inline-size;width:100%;min-height:32px;transition:max-height .25s ease-in-out}.root .loader:before,.root .loader:after{opacity:1;content:"";height:var(--calcite-space-px);transition:opacity .5s ease-in-out;position:absolute;top:0}.root .loader:before{z-index:0;background-color:var(--calcite-color-surface-2);width:100%}.root .loader:after{z-index:0;background-color:var(--calcite-color-surface-4);width:20%;animation:1.5s linear infinite looping-progress-bar-ani}.esri-disabled arcgis-basemap-gallery-item{opacity:var(--calcite-opacity-light);pointer-events:none;animation:none}.empty-message{padding:12px 15px;animation:.5s ease-in-out esri-fade-in}.loader{width:100%;height:var(--calcite-space-base);animation:.5s ease-in-out esri-fade-in;position:absolute;top:0;left:0;right:0}.item-container{flex-flow:column;gap:3px;margin:0;padding-block:3px;padding-inline:3px;list-style:none;transition:opacity .25s ease-in-out;display:flex;position:relative}calcite-popover>.root{width:280px;max-height:80vh}.ui-corner calcite-panel>.root.widget.widget--panel{width:unset}.view-width-greater-than-large calcite-popover>.root,.view-width-greater-than-large .ui-corner>.root{width:450px}@container (width<=200px) or (width>=350px){.root .item-container{grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:var(--calcite-space-md) var(--calcite-space-lg);padding-block:var(--calcite-space-md);padding-inline:var(--calcite-space-lg);display:grid}}`, D = B(_);
15
15
  function I(a) {
16
16
  return a.type === "2d" && "view2dType" in a && a.view2dType === "linkchart" && "inGeographicLayout" in a && a.inGeographicLayout === !1;
17
17
  }
@@ -36,26 +36,26 @@ class Y extends x {
36
36
  this.styles = R;
37
37
  }
38
38
  get state() {
39
- const { view: e, source: i, loading: t, projectionEngineLoading: r } = this.viewModel;
40
- return !e?.ready || !i ? "disabled" : I(e) ? "unsupported" : t || r ? "loading" : "ready";
39
+ const { view: e, source: t, loading: i, projectionEngineLoading: r } = this.viewModel;
40
+ return !e?.ready || !t ? "disabled" : I(e) ? "unsupported" : i || r ? "loading" : "ready";
41
41
  }
42
42
  async destroy() {
43
43
  await this.manager.destroy();
44
44
  }
45
45
  loaded() {
46
46
  this.manager.onLifecycle(() => [
47
- v(() => this.state, (e, i) => {
48
- this.requestUpdate("state", i);
47
+ v(() => this.state, (e, t) => {
48
+ this.requestUpdate("state", t);
49
49
  }, { initial: !0 }),
50
50
  b(() => this.source, () => {
51
51
  this.viewModel.loadSource();
52
52
  }, { sync: !0, initial: !0 }),
53
53
  (() => {
54
- const e = new ResizeObserver((t) => {
55
- for (const r of t)
54
+ const e = new ResizeObserver((i) => {
55
+ for (const r of i)
56
56
  this._width = r.contentRect.width;
57
- }), i = this.el;
58
- return i && e.observe(i), {
57
+ }), t = this.el;
58
+ return t && e.observe(t), {
59
59
  remove() {
60
60
  e?.disconnect();
61
61
  }
@@ -63,24 +63,24 @@ class Y extends x {
63
63
  })()
64
64
  ]);
65
65
  }
66
- _getRoundRobinIndex(e, i) {
67
- return (e + i) % i;
66
+ _getRoundRobinIndex(e, t) {
67
+ return (e + t) % t;
68
68
  }
69
69
  _handleKeyDown(e) {
70
- const { key: i } = e;
71
- if (!L(i))
70
+ const { key: t } = e;
71
+ if (!L(t))
72
72
  return;
73
73
  e.preventDefault();
74
- const { items: t, activeBasemapIndex: r } = this.viewModel, o = E(i, this._direction) ? this._getRoundRobinIndex(Math.max(r - 1, -1), t.length) : this._getRoundRobinIndex(r + 1, t.length), n = t.at(o);
74
+ const { items: i, activeBasemapIndex: r } = this.viewModel, o = E(t, this._direction) ? this._getRoundRobinIndex(Math.max(r - 1, -1), i.length) : this._getRoundRobinIndex(r + 1, i.length), n = i.at(o);
75
75
  n?.state === "ready" && (this.viewModel.activeBasemap = n.basemap);
76
76
  }
77
77
  render() {
78
- const e = this.source.state === "loading", i = this.disabled || this.state === "disabled", t = this.viewModel.items, r = {
78
+ const e = this.source.state === "loading", t = this.disabled || this.state === "disabled", i = this.viewModel.items, r = {
79
79
  "source-loading": e,
80
- [l.disabled]: i
80
+ [l.disabled]: t
81
81
  }, o = this._width;
82
82
  r["layout-grid"] = o >= c.wide || o <= c.small, r["narrow-items"] = o < c.default;
83
- const n = e ? s`<div class="loader"></div>` : null, g = e ? null : t.length > 0 ? s`<div aria-disabled=${this.disabled ?? d} aria-label=${this.label ?? d} class="item-container" @keydown=${this._handleKeyDown} role=radiogroup>${t.map((m, h) => s`<arcgis-basemap-gallery-item .disabled=${i} .item=${m} .itemIndex=${h} .messages=${this.messages} .viewModel=${this.viewModel}></arcgis-basemap-gallery-item>`)}</div>` : s`<div class=${p(l.empty)}>${C({ level: this.headingLevel, children: this.messages.noBasemaps })}</div>`;
83
+ const n = e ? s`<div class="loader"></div>` : null, g = e ? null : i.length > 0 ? s`<div aria-disabled=${this.disabled ?? d} aria-label=${this.label ?? d} class="item-container" @keydown=${this._handleKeyDown} role=radiogroup>${i.map((m, h) => s`<arcgis-basemap-gallery-item .disabled=${t} .item=${m} .itemIndex=${h} .messages=${this.messages} .viewModel=${this.viewModel}></arcgis-basemap-gallery-item>`)}</div>` : s`<div class=${p(l.empty)}>${C({ level: this.headingLevel, children: this.messages.noBasemaps })}</div>`;
84
84
  return s`<div class=${p(w("root", l.widget, l.panel, r))} style=${k({
85
85
  "--esri-basemap-gallery-small": `${c.small}px`
86
86
  })}>${[n, g]}</div>`;
@@ -15,7 +15,7 @@ function _(t) {
15
15
  function C(t) {
16
16
  return !!t?.portalItem?.tags?.some((e) => e.toLowerCase() === "preview") || !!t?.portalItem?.categories?.includes("/Categories/Status/Preview");
17
17
  }
18
- const A = k`@keyframes esri-basemap-slide{0%{opacity:0;margin-top:0;margin-left:0}75%{opacity:0;margin-top:0;margin-left:0}to{opacity:1;margin-top:5px;margin-left:5px}}@keyframes esri-docking-animation{0%{opacity:0}25%{opacity:0}to{opacity:1}}@keyframes popup-intro-animation-down{0%{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translate(0)}}@keyframes popup-intro-animation-up{0%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translate(0)}}@supports (-ms-ime-align: auto){.esri-slider__anchor:focus{outline:1px dotted #000}}@keyframes esri-spinner--start-animation{0%{opacity:0;transform:scale(0)}to{opacity:1;transform:scale(1)}}@keyframes esri-spinner--finish-animation{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(0)}}@keyframes esri-spinner--rotate-animation{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@media(prefers-reduced-motion){.esri-utility-network-trace__reset-prompt{animation:none!important}}@media(prefers-reduced-motion){.esri-popup--aligned-top-center,.esri-popup--aligned-top-left,.esri-popup--aligned-top-right,.esri-popup--aligned-bottom-center,.esri-popup--aligned-bottom-left,.esri-popup--aligned-bottom-right,.esri-popup--is-docked{animation:none!important}}@media(prefers-reduced-motion:reduce){.esri-fov-overlay{animation:none!important}}@keyframes esri-fade-in-down{0%{opacity:0;transform:translateY(-5px)}25%{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translate(0)}}@keyframes esri-fade-in-up{0%{opacity:0;transform:translateY(5px)}25%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translate(0)}}@keyframes esri-fade-in{0%{opacity:0}25%{opacity:0}to{opacity:1}}@keyframes esri-fade-in-scale{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}@keyframes looping-progresss-bar-ani{0%{width:0;left:0}20%{width:20%;left:0}80%{width:20%;left:80%}to{width:0;left:100%}}@keyframes esri-rotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes panel-advance{0%{opacity:0;transform:translate(50px) scale(.99)}to{opacity:1;transform:translate(0) scale(1)}}@keyframes panel-retreat{0%{opacity:0;transform:translate(-50px) scale(.99)}to{opacity:1;transform:translate(0) scale(1)}}@keyframes panel-advance--rtl{0%{opacity:0;transform:translate(-50px) scale(.99)}to{opacity:1;transform:translate(0) scale(1)}}@keyframes panel-retreat--rtl{0%{opacity:0;transform:translate(50px) scale(.99)}to{opacity:1;transform:translate(0) scale(1)}}:host{container-type:inline-size}.empty-message{padding:12px 15px;animation:.5s ease-in-out esri-fade-in}.item{box-sizing:border-box;cursor:pointer;border:1px solid var(--calcite-color-background);flex-direction:row;width:100%;transition:background-color .25s ease-in-out,border-color .25s ease-in-out;animation:.5s ease-in-out esri-fade-in;display:flex;position:relative}.item:hover{background-color:var(--calcite-color-foreground-3);border-color:var(--calcite-color-background-inverse)}.item:hover .item-title{color:var(--calcite-color-text-1)}.item:focus{outline:none}.is-error{opacity:var(--calcite-opacity-light);background-color:var(--calcite-color-transparent)!important;border-color:var(--calcite-color-transparent)!important;cursor:auto}.item-thumbnail{aspect-ratio:1.5;border-inline-end:1px solid var(--calcite-color-border-1);flex-shrink:0;width:120px;min-width:120px;transition:background-color .25s ease-in-out,border-color .25s ease-in-out}.item-title{color:var(--calcite-color-text-3);justify-content:flex-start;align-items:center;width:100%;height:100%;font-size:var(--calcite-font-size-sm);transition:color .25s ease-in-out,font-weight .25s ease-in-out;display:flex}.item-title span{text-align:start;text-overflow:ellipsis;word-wrap:break-word;word-break:break-word;hyphens:auto;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;width:100%;display:-webkit-box;overflow:hidden}.is-selected,.is-selected:hover,.is-selected:focus{cursor:auto;background-color:color-mix(in srgb,var(--calcite-color-brand-underline),70% transparent);border-color:var(--calcite-color-status-info)!important}.is-selected .item-title,.item.is-selected:hover .item-title,.item.is-selected:focus .item-title{color:var(--calcite-color-text-1);font-weight:var(--calcite-font-weight-medium)}.item-content{flex-direction:column;gap:var(--calcite-spacing-md);min-width:0;padding-block:var(--calcite-spacing-base);padding-inline:var(--calcite-spacing-md);display:flex}.item-tags{flex-direction:row;gap:var(--calcite-spacing-base);display:flex}.item-tags calcite-chip{--calcite-font-size--2: var(--calcite-font-size--3);cursor:inherit}@supports (object-fit: cover){.item-thumbnail{object-fit:cover}}@container (width>=200px) and (width <= 300px){.item{align-items:center}.item:not(.is-selected,:hover){border-color:var(--calcite-color-transparent)}}@container (width>=200px) and (width <= 278px){.item-thumbnail{aspect-ratio:1;width:80px;min-width:80px;object-position:left}}@container (width<200px) or (width>=350px){.item{text-align:center;flex-flow:column wrap}.item:not(.is-selected,:hover){border-color:var(--calcite-color-border-1)}.item-thumbnail{border-block-end:1px solid var(--calcite-color-border-1);border-inline-end:none;width:100%;min-width:0;height:auto}.item-content{height:32px;padding-block:var(--calcite-spacing-xxs);padding-inline:var(--calcite-spacing-xs);position:relative}.item-tags{position:absolute;inset-block-end:45px;inset-inline-end:5px}}`;
18
+ const A = k`@keyframes esri-basemap-slide{0%{opacity:0;margin-top:0;margin-left:0}75%{opacity:0;margin-top:0;margin-left:0}to{opacity:1;margin-top:5px;margin-left:5px}}@keyframes esri-docking-animation{0%{opacity:0}25%{opacity:0}to{opacity:1}}@keyframes popup-intro-animation-down{0%{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translate(0)}}@keyframes popup-intro-animation-up{0%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translate(0)}}@supports (-ms-ime-align: auto){.esri-slider__anchor:focus{outline:1px dotted #000}}@keyframes esri-spinner--start-animation{0%{opacity:0;transform:scale(0)}to{opacity:1;transform:scale(1)}}@keyframes esri-spinner--finish-animation{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(0)}}@keyframes esri-spinner--rotate-animation{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@media(prefers-reduced-motion){.esri-utility-network-trace__reset-prompt{animation:none!important}}@media(prefers-reduced-motion){.esri-popup--aligned-top-center,.esri-popup--aligned-top-left,.esri-popup--aligned-top-right,.esri-popup--aligned-bottom-center,.esri-popup--aligned-bottom-left,.esri-popup--aligned-bottom-right,.esri-popup--is-docked{animation:none!important}}@media(prefers-reduced-motion:reduce){.esri-fov-overlay{animation:none!important}}@keyframes esri-fade-in-down{0%{opacity:0;transform:translateY(-5px)}25%{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translate(0)}}@keyframes esri-fade-in-up{0%{opacity:0;transform:translateY(5px)}25%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translate(0)}}@keyframes esri-fade-in{0%{opacity:0}25%{opacity:0}to{opacity:1}}@keyframes esri-fade-in-scale{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}@keyframes looping-progresss-bar-ani{0%{width:0;left:0}20%{width:20%;left:0}80%{width:20%;left:80%}to{width:0;left:100%}}@keyframes esri-rotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes panel-advance{0%{opacity:0;transform:translate(50px) scale(.99)}to{opacity:1;transform:translate(0) scale(1)}}@keyframes panel-retreat{0%{opacity:0;transform:translate(-50px) scale(.99)}to{opacity:1;transform:translate(0) scale(1)}}@keyframes panel-advance--rtl{0%{opacity:0;transform:translate(-50px) scale(.99)}to{opacity:1;transform:translate(0) scale(1)}}@keyframes panel-retreat--rtl{0%{opacity:0;transform:translate(50px) scale(.99)}to{opacity:1;transform:translate(0) scale(1)}}:host{container-type:inline-size}.empty-message{padding:12px 15px;animation:.5s ease-in-out esri-fade-in}.item{box-sizing:border-box;cursor:pointer;border:1px solid var(--calcite-color-surface-1);flex-direction:row;width:100%;transition:background-color .25s ease-in-out,border-color .25s ease-in-out;animation:.5s ease-in-out esri-fade-in;display:flex;position:relative}.item:hover{background-color:var(--calcite-color-surface-4);border-color:var(--calcite-color-background-inverse)}.item:hover .item-title{color:var(--calcite-color-text-1)}.item:focus{outline:none}.is-error{opacity:var(--calcite-opacity-light);background-color:var(--calcite-color-transparent)!important;border-color:var(--calcite-color-transparent)!important;cursor:auto}.item-thumbnail{aspect-ratio:1.5;border-inline-end:1px solid var(--calcite-color-border-1);flex-shrink:0;width:120px;min-width:120px;transition:background-color .25s ease-in-out,border-color .25s ease-in-out}.item-title{color:var(--calcite-color-text-3);justify-content:flex-start;align-items:center;width:100%;height:100%;font-size:var(--calcite-font-size-sm);transition:color .25s ease-in-out,font-weight .25s ease-in-out;display:flex}.item-title span{text-align:start;text-overflow:ellipsis;word-wrap:break-word;word-break:break-word;hyphens:auto;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;width:100%;display:-webkit-box;overflow:hidden}.is-selected,.is-selected:hover,.is-selected:focus{cursor:auto;background-color:color-mix(in srgb,var(--calcite-color-brand-underline),70% transparent);border-color:var(--calcite-color-status-info)!important}.is-selected .item-title,.item.is-selected:hover .item-title,.item.is-selected:focus .item-title{color:var(--calcite-color-text-1);font-weight:var(--calcite-font-weight-medium)}.item-content{flex-direction:column;gap:var(--calcite-space-md);min-width:0;padding-block:var(--calcite-space-base);padding-inline:var(--calcite-space-md);display:flex}.item-tags{flex-direction:row;gap:var(--calcite-space-base);display:flex}.item-tags calcite-chip{--calcite-font-size--2: var(--calcite-font-size--3);cursor:inherit}@supports (object-fit: cover){.item-thumbnail{object-fit:cover}}@container (width>=200px) and (width <= 300px){.item{align-items:center}.item:not(.is-selected,:hover){border-color:var(--calcite-color-transparent)}}@container (width>=200px) and (width <= 278px){.item-thumbnail{aspect-ratio:1;width:80px;min-width:80px;object-position:left}}@container (width<200px) or (width>=350px){.item{text-align:center;flex-flow:column wrap}.item:not(.is-selected,:hover){border-color:var(--calcite-color-border-1)}.item-thumbnail{border-block-end:1px solid var(--calcite-color-border-1);border-inline-end:none;width:100%;min-width:0;height:auto}.item-content{height:32px;padding-block:var(--calcite-space-2xs);padding-inline:var(--calcite-space-xs);position:relative}.item-tags{position:absolute;inset-block-end:45px;inset-inline-end:5px}}`;
19
19
  class S extends w {
20
20
  constructor() {
21
21
  super(...arguments), this._itemState = "loading", this._isActive = !1;
@@ -19,6 +19,11 @@ import type { CoordinateConversionViewModelState } from "@arcgis/core/widgets/Co
19
19
  /**
20
20
  * > [!NOTE]
21
21
  * > In version 6.0, the implementation of [arcgis-coordinate-conversion](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-coordinate-conversion/) will be updated under the hood to that of [arcgis-coordinate-conversion-next](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-coordinate-conversion-next/) , and deprecated properties on this component will be removed. We encourage using the [arcgis-coordinate-conversion-next](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-coordinate-conversion-next/) component and providing feedback.
22
+ * >
23
+ * > The `coordinate-conversion-next` UI was updated and modernized, allowing the new component to match the look and feel of our current offerings.
24
+ * > The configuration was enhanced to allow users to define the format and display for individual coordinate systems in a side panel, as opposed to the previous settings menu that allowed users to toggle between all active coordinate system settings in the current panel.
25
+ * > The Capture mode was simplified with a toggle instead of dropping a pin. The `coordinate-conversion-next` UI can be simplified to take less space in applications.
26
+ * > Lastly, we added support for Elevation in both 2D maps and 3D scenes.
22
27
  *
23
28
  * The Coordinate Conversion component provides a way to display user cursor position either as map coordinates or
24
29
  * as any of several popular coordinate notations. Additionally, the component provides a way to convert
@@ -21,7 +21,10 @@ import type { CoordinateConversionViewModelState } from "@arcgis/core/widgets/Co
21
21
  /**
22
22
  * > [!WARNING]
23
23
  * > The Coordinate Conversion (next) component is the successor to the [arcgis-coordinate-conversion](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-coordinate-conversion/) component, provided to you for early testing and feedback.
24
- * > It provides a more consistent design and improved user experience.
24
+ * > It provides a more consistent design and improved user experience. The UI was updated and modernized, allowing the new component to match the look and feel of our current offerings.
25
+ * > The configuration was enhanced to allow users to define the format and display for individual coordinate systems in a side panel, as opposed to the previous settings menu that allowed users to toggle between all active coordinate system settings in the current panel.
26
+ * > The Capture mode was simplified with a toggle instead of dropping a pin. The coordinate-conversion-next UI can be simplified to take less space in applications. Lastly, we added support for Elevation in both 2D maps and 3D scenes.
27
+ * >
25
28
  * > In version 6.0, the implementation of [arcgis-coordinate-conversion](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-coordinate-conversion/) will be updated under the hood to that of [arcgis-coordinate-conversion-next](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-coordinate-conversion-next/) and this component will be removed.
26
29
  * > To update at version 6.0, simply remove `-next` from the component name.
27
30
  *
@@ -29,7 +32,6 @@ import type { CoordinateConversionViewModelState } from "@arcgis/core/widgets/Co
29
32
  * as any of several popular coordinate notations. Additionally, the component provides a way to convert
30
33
  * user input coordinates into a [point](https://developers.arcgis.com/javascript/latest/references/core/geometry/Point/).
31
34
  *
32
- *
33
35
  * Several common formats are included by default:
34
36
  * * XY - Longitude, Latitude (WGS84)
35
37
  * * MGRS - [Military Grid Reference System](https://earth-info.nga.mil/index.php?dir=coordsys&action=coordsys#mgrs)
@@ -40,15 +42,14 @@ import type { CoordinateConversionViewModelState } from "@arcgis/core/widgets/Co
40
42
  * * Basemap - X, Y in the coordinate system used by the current basemap in the units used by the basemap.
41
43
  * Web Mercator is the standard for Esri-provided basemaps.
42
44
  *
43
- * Additional formats can be created by a developer and made available
44
- * through the component
45
+ * Additional formats can be created by a developer and made available through the component.
45
46
  *
46
47
  * @beta
47
48
  * @since 5.1
48
49
  * @example
49
50
  * ```html
50
51
  * <arcgis-map item-id="45b3b2fb35e94ab09381d0caa0da5946">
51
- * <arcgis-coordinate-conversion slot="bottom-left"></arcgis-coordinate-conversion>
52
+ * <arcgis-coordinate-conversion-next slot="bottom-left"></arcgis-coordinate-conversion-next>
52
53
  * </arcgis-map>
53
54
  * ```
54
55
  */
@@ -3,16 +3,16 @@ import { c as k } from "../../chunks/runtime.js";
3
3
  import { css as I, html as i } from "lit";
4
4
  import _ from "@arcgis/core/rest/query/support/AttachmentInfo.js";
5
5
  import L from "@arcgis/core/rest/support/AttachmentQuery.js";
6
- import T from "@arcgis/core/core/Collection.js";
6
+ import P from "@arcgis/core/core/Collection.js";
7
7
  import y from "@arcgis/core/core/Error.js";
8
- import { LitElement as P, nothing as d, safeClassMap as b, safeStyleMap as A } from "@arcgis/lumina";
8
+ import { LitElement as T, nothing as p, safeClassMap as b, safeStyleMap as A } from "@arcgis/lumina";
9
9
  import { bypassReadOnly as S } from "@arcgis/lumina/controllers";
10
10
  import { classes as $ } from "@arcgis/toolkit/dom";
11
11
  import { g as v, i as w } from "../../chunks/attachment-utils.js";
12
12
  import { g as f } from "../../chunks/feature-utils.js";
13
13
  import { watch as C } from "@arcgis/core/core/reactiveUtils.js";
14
- const x = I`:host([empty]){display:none}.item-link{display:flex;flex-grow:1;color:var(--calcite-color-text-3)}.item-link:visited,.item-link:hover,.item-link:focus-visible,.item-link:active{color:var(--calcite-color-text-1)}.item-link img{max-width:100%;max-height:100%;object-fit:contain}.item-link--list{align-items:center;justify-content:center;width:64px;max-height:64px;overflow:hidden;border-radius:var(--calcite-corner-radius-sm)}.item-link--list img{border-radius:var(--calcite-corner-radius-sm)}.item-link--list-icon{border:var(--calcite-border-width-sm) solid var(--calcite-color-border-3)}.item-link--list calcite-icon{margin:var(--calcite-spacing-lg)}.item-link--preview{align-items:center;justify-content:center}.item-link--preview calcite-icon{margin-block:var(--calcite-spacing-lg)}.item-description{text-align:center;word-wrap:break-word;word-break:break-word}calcite-link{--calcite-link-text-color: var(--calcite-color-text-3);padding-inline:var(--calcite-spacing-sm);word-wrap:break-word;word-break:break-word}calcite-card{width:100%}calcite-card:hover,calcite-card:focus,calcite-card:focus-within{--calcite-card-border-color: var(--calcite-color-text-1)}`, z = T.ofType(_);
15
- class E extends P {
14
+ const x = I`:host([empty]){display:none}.loading-content{min-height:4rem;min-width:4rem}.item-link{display:flex;flex-grow:1;color:var(--calcite-color-text-3)}.item-link:visited,.item-link:hover,.item-link:focus-visible,.item-link:active{color:var(--calcite-color-text-1)}.item-link img{max-width:100%;max-height:100%;object-fit:contain}.item-link--list{align-items:center;justify-content:center;width:64px;max-height:64px;overflow:hidden;border-radius:var(--calcite-corner-radius-sm)}.item-link--list img{border-radius:var(--calcite-corner-radius-sm)}.item-link--list-icon{border:var(--calcite-border-width-sm) solid var(--calcite-color-border-3)}.item-link--list calcite-icon{margin:var(--calcite-spacing-lg)}.item-link--preview{align-items:center;justify-content:center}.item-link--preview calcite-icon{margin-block:var(--calcite-spacing-lg)}.item-description{text-align:center;word-wrap:break-word;word-break:break-word}calcite-link{--calcite-link-text-color: var(--calcite-color-text-3);padding-inline:var(--calcite-spacing-sm);word-wrap:break-word;word-break:break-word}calcite-card{width:100%}calcite-card:hover,calcite-card:focus,calcite-card:focus-within{--calcite-card-border-color: var(--calcite-color-text-1)}`, z = P.ofType(_);
15
+ class E extends T {
16
16
  constructor() {
17
17
  super(...arguments), this._attachmentLayer = null, this._supportsImageOrientation = window?.CSS?.supports("image-orientation", "from-image"), this.hideSection = !1, this._attachmentInfos = new z(), this.headingLevel = 2, this.hidePreviewImageAttachmentName = !1, this.empty = !1;
18
18
  }
@@ -49,22 +49,22 @@ class E extends P {
49
49
  ]);
50
50
  }
51
51
  async getAttachments() {
52
- const { _attachmentLayer: e, _attachmentInfos: t, orderByFields: s, attachmentTypes: n, attachmentKeywords: c, _supportsTypeWildcard: o } = this;
52
+ const { _attachmentLayer: e, _attachmentInfos: t, orderByFields: s, attachmentTypes: r, attachmentKeywords: c, _supportsTypeWildcard: o } = this;
53
53
  if (!e || typeof e.queryAttachments != "function")
54
54
  throw new y("invalid-layer", "getAttachments(): A valid layer is required.");
55
55
  const l = this.graphic?.getObjectId();
56
56
  if (typeof l != "number")
57
57
  throw new y("invalid-object-id", "getAttachments(): Numeric object id is required");
58
- const g = s?.map((a) => `${a.field} ${a.order === "descending" ? "DESC" : "ASC"}`), r = new L({
58
+ const g = s?.map((a) => `${a.field} ${a.order === "descending" ? "DESC" : "ASC"}`), n = new L({
59
59
  objectIds: [l],
60
60
  returnMetadata: !0,
61
61
  orderByFields: g,
62
- attachmentTypes: o ? n?.filter(Boolean).map((a) => `${a}/*`) : void 0,
62
+ attachmentTypes: o ? r?.filter(Boolean).map((a) => `${a}/*`) : void 0,
63
63
  keywords: c
64
- }), m = [], h = e.queryAttachments(r).then((a) => a[l] || m).catch(() => m);
64
+ }), m = [], h = e.queryAttachments(n).then((a) => a[l] || m).catch(() => m);
65
65
  this.getAttachmentsPromise = h, this._setEmpty(!1);
66
- const p = await h;
67
- t.destroyAll(), p.length && t.addMany(p), this.getAttachmentsPromise = null, this._setEmpty(!this._hasContent);
66
+ const d = await h;
67
+ t.destroyAll(), d.length && t.addMany(d), this.getAttachmentsPromise = null, this._setEmpty(!this._hasContent);
68
68
  }
69
69
  _setEmpty(e) {
70
70
  S(() => this.empty = e);
@@ -93,28 +93,28 @@ class E extends P {
93
93
  return this.empty ? null : i`<div class="root"><arcgis-feature-element-info .heading=${this.heading} .description=${this.description} .headingLevel=${this.headingLevel}></arcgis-feature-element-info>${this.renderAttachments()}</div>`;
94
94
  }
95
95
  renderAttachmentsList(e) {
96
- return i`<calcite-list .loading=${!!this.getAttachmentsPromise} .label=${this.messages?.componentLabel ?? ""} interaction-mode=static selection-mode=none>${e.toArray().filter(Boolean).map((t) => this.renderAttachmentListItem(t))}</calcite-list>`;
96
+ return i`<calcite-list .loading=${!!this.getAttachmentsPromise} .label=${this.messages?.componentLabel ?? ""} interaction-mode=static selection-mode=none>${this.getAttachmentsPromise ? i`<div class="loading-content"></div>` : e.toArray().filter(Boolean).map((t) => this.renderAttachmentListItem(t))}</calcite-list>`;
97
97
  }
98
98
  renderAttachmentsPreview(e) {
99
- return i`<calcite-card-group .label=${this.messages?.componentLabel ?? ""}>${this.getAttachmentsPromise ? i`<calcite-card loading></calcite-card>` : e.toArray().filter(Boolean).map((t) => this.renderAttachmentPreviewItem(t))}</calcite-card-group>`;
99
+ return i`<calcite-card-group .label=${this.messages?.componentLabel ?? ""}>${this.getAttachmentsPromise ? i`<calcite-card loading><div class="loading-content"></div></calcite-card>` : e.toArray().filter(Boolean).map((t) => this.renderAttachmentPreviewItem(t))}</calcite-card-group>`;
100
100
  }
101
101
  renderAttachmentsCarousel(e) {
102
102
  const t = e.toArray().filter(Boolean);
103
- return i`<calcite-carousel .paginationDisabled=${t.length < 2} .label=${this.messages?.componentLabel ?? ""} pagination-position=top>${this.getAttachmentsPromise ? i`<calcite-carousel-item .label=${this.messages?.componentLabel ?? ""}><calcite-card loading></calcite-card></calcite-carousel-item>` : t.map((s) => i`<calcite-carousel-item .label=${s.name || this.messages?.noTitle || ""}>${this.renderAttachmentPreviewItem(s, !0)}</calcite-carousel-item>`)}</calcite-carousel>`;
103
+ return i`<calcite-carousel .paginationDisabled=${t.length < 2} .label=${this.messages?.componentLabel ?? ""} pagination-position=top>${this.getAttachmentsPromise ? i`<calcite-carousel-item .label=${this.messages?.componentLabel ?? ""}><calcite-card loading><div class="loading-content"></div></calcite-card></calcite-carousel-item>` : t.map((s) => i`<calcite-carousel-item .label=${s.name || this.messages?.noTitle || ""}>${this.renderAttachmentPreviewItem(s, !0)}</calcite-carousel-item>`)}</calcite-carousel>`;
104
104
  }
105
105
  renderAttachments() {
106
106
  const { effectiveDisplayType: e, _attachmentInfos: t } = this;
107
107
  return e === "carousel" ? this.renderAttachmentsCarousel(t) : e === "preview" ? this.renderAttachmentsPreview(t) : this.renderAttachmentsList(t);
108
108
  }
109
109
  renderAttachmentListItem(e) {
110
- const { supportsResizeAttachments: t } = this, { contentType: s, name: n, url: c, size: o } = e, l = 64, g = n || this.messages?.noTitle, r = v(s), m = this.getCSSTransform(e), h = m ? { transform: m, "image-orientation": "none" } : {}, p = t && w(s), a = i`<a class=${b($("item-link", "item-link--list", {
111
- "item-link--list-icon": !p
112
- }))} slot=content-start href=${c ?? void 0 ?? d} rel=noreferrer target=_blank>${p ? i`<img alt=${n ?? d} src=${`${c}${c?.includes("?") ? "&" : "?"}w=${l}&s=${o}`} style=${A(h)} title=${n ?? d}>` : i`<calcite-icon .icon=${r}></calcite-icon>`}</a>`, u = i`<calcite-link slot=content .href=${c ?? void 0} rel=noreferrer target=_blank>${g}</calcite-link>`;
110
+ const { supportsResizeAttachments: t } = this, { contentType: s, name: r, url: c, size: o } = e, l = 64, g = r || this.messages?.noTitle, n = v(s), m = this.getCSSTransform(e), h = m ? { transform: m, "image-orientation": "none" } : {}, d = t && w(s), a = i`<a class=${b($("item-link", "item-link--list", {
111
+ "item-link--list-icon": !d
112
+ }))} slot=content-start href=${c ?? void 0 ?? p} rel=noreferrer target=_blank>${d ? i`<img alt=${r ?? p} src=${`${c}${c?.includes("?") ? "&" : "?"}w=${l}&s=${o}`} style=${A(h)} title=${r ?? p}>` : i`<calcite-icon .icon=${n}></calcite-icon>`}</a>`, u = i`<calcite-link slot=content .href=${c ?? void 0} rel=noreferrer target=_blank>${g}</calcite-link>`;
113
113
  return i`<calcite-list-item .label=${g}>${a}${u}</calcite-list-item>`;
114
114
  }
115
115
  renderAttachmentPreviewItem(e, t = !1) {
116
- const { supportsResizeAttachments: s } = this, { contentType: n, name: c, url: o, size: l } = e, g = 225, r = c || this.messages?.noTitle, m = v(n), h = this.getCSSTransform(e), p = h ? { transform: h, "image-orientation": "none" } : {}, a = s && w(n), u = i`<a class=${b($("item-link", "item-link--preview"))} slot=thumbnail href=${o ?? void 0 ?? d} rel=noreferrer target=_blank aria-label=${r ?? d} title=${r ?? d}>${a ? i`<img alt=${r ?? d} src=${`${o}${o?.includes("?") ? "&" : "?"}w=${g}&s=${l}`} style=${A(p)}>` : i`<calcite-icon scale=l .icon=${m}></calcite-icon>`}</a>`;
117
- return i`<calcite-card .label=${r}>${u}${(t || this.hidePreviewImageAttachmentName) && a ? null : i`<span class="item-description" slot=description>${r}</span>`}</calcite-card>`;
116
+ const { supportsResizeAttachments: s } = this, { contentType: r, name: c, url: o, size: l } = e, g = 225, n = c || this.messages?.noTitle, m = v(r), h = this.getCSSTransform(e), d = h ? { transform: h, "image-orientation": "none" } : {}, a = s && w(r), u = i`<a class=${b($("item-link", "item-link--preview"))} slot=thumbnail href=${o ?? void 0 ?? p} rel=noreferrer target=_blank aria-label=${n ?? p} title=${n ?? p}>${a ? i`<img alt=${n ?? p} src=${`${o}${o?.includes("?") ? "&" : "?"}w=${g}&s=${l}`} style=${A(d)}>` : i`<calcite-icon scale=l .icon=${m}></calcite-icon>`}</a>`;
117
+ return i`<calcite-card .label=${n}>${u}${(t || this.hidePreviewImageAttachmentName) && a ? null : i`<span class="item-description" slot=description>${n}</span>`}</calcite-card>`;
118
118
  }
119
119
  }
120
120
  k("arcgis-feature-attachments", E);
@@ -13,7 +13,7 @@ import type { State } from "@arcgis/core/popup/types.js";
13
13
 
14
14
  /**
15
15
  * > [!WARNING]
16
- * > The Feature (next) component is the successor to the Feature component, provided to you early for testing and feedback. In version 6.0, the implementation of [arcgis-feature](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-feature/) will be updated under the hood to that of [arcgis-feature-next](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-feature-next/), and this component will be removed. To update at version 6.0, simply remove `-next` from the component name.
16
+ * > The Feature (next) component is the successor to the Feature component, provided to you early for testing and feedback. It uses the new [FeatureModel](https://developers.arcgis.com/javascript/latest/references/core/popup/FeatureModel) to manage feature data and interactions, with action-related properties and improved accessibility features. In version 6.0, the implementation of [arcgis-feature](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-feature/) will be updated under the hood to that of [arcgis-feature-next](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-feature-next/), and this component will be removed. To update at version 6.0, simply remove `-next` from the component name.
17
17
  *
18
18
  * The Feature (next) component displays a graphic according to its [PopupTemplate](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/).
19
19
  * This component is useful in instances where you want to display information about a graphic but without
@@ -14,7 +14,7 @@ import { initializeProjection as K } from "@arcgis/core/applications/Components/
14
14
  import { t as j } from "../../chunks/action-utils.js";
15
15
  import { m as G } from "../../chunks/useViewModel.js";
16
16
  import { renderingSanitizer as w } from "@arcgis/core/applications/Components/sanitizerUtils.js";
17
- import { stripHTML as M } from "@arcgis/core/applications/Components/stringUtils.js";
17
+ import { stripHTML as b } from "@arcgis/core/applications/Components/stringUtils.js";
18
18
  import { substitute as u, formatNumber as C } from "@arcgis/core/intl.js";
19
19
  import { u as W } from "../../chunks/useT9n.js";
20
20
  import { when as X, watch as h } from "@arcgis/core/core/reactiveUtils.js";
@@ -73,7 +73,7 @@ class oe extends V {
73
73
  }
74
74
  get _headingLabel() {
75
75
  const e = this._selectedFeatureHeading ?? this.heading;
76
- return e ? M(e) : void 0;
76
+ return e ? b(e) : void 0;
77
77
  }
78
78
  get _backLabel() {
79
79
  const e = this._headingLabel, { messages: t } = this;
@@ -161,12 +161,8 @@ class oe extends V {
161
161
  this._selectedFeatureLoading = e;
162
162
  }
163
163
  }),
164
- X(() => [this.initialDisplayMode === "list" && !!this.viewModel?.selectedFeature, this.viewModel?.active], () => {
165
- this.setFocus();
166
- }),
167
- h(() => [this.flowItems?.length, this.featureMenuOpen], () => {
168
- this.setFocus();
169
- }),
164
+ X(() => [this.initialDisplayMode === "list" && !!this.viewModel?.selectedFeature, this.viewModel?.active], () => this._setFocusIfTrapEnabled()),
165
+ h(() => [this.flowItems?.length, this.featureMenuOpen], () => this._setFocusIfTrapEnabled()),
170
166
  h(() => this.viewModel?.selectedFeatureIndex, (e, t) => this._selectedFeatureIndexUpdated(e, t)),
171
167
  h(() => this.viewModel?.view?.scale, () => this._viewScaleChange()),
172
168
  h(() => this.viewModel?.view, (e, t) => t && this._viewChange()),
@@ -202,6 +198,9 @@ class oe extends V {
202
198
  const { viewModel: e } = this, { featurePage: t, featuresPerPage: i, features: s } = e;
203
199
  e.open && (this.initialDisplayMode === "list" || this.featureMenuOpen) && t != null && t * i < s.length && (e.featurePage = t + 1);
204
200
  }
201
+ _setFocusIfTrapEnabled() {
202
+ this.focusTrapEnabled && this.setFocus();
203
+ }
205
204
  _resolveSetFocusAnimationFrame() {
206
205
  const e = this._setFocusAnimationFrameResolve;
207
206
  this._setFocusAnimationFrameResolve = null, e?.();
@@ -288,7 +287,7 @@ class oe extends V {
288
287
  _getActionLabel(e, t) {
289
288
  if (e.id !== "zoom-to-feature")
290
289
  return null;
291
- const { messages: i } = this, s = t?.heading, a = t ? s && M(s) : this._headingLabel;
290
+ const { messages: i } = this, s = t?.heading, a = t ? s && b(s) : this._headingLabel;
292
291
  return a ? u(i.zoomLabel ?? "", {
293
292
  messages: i,
294
293
  title: a
@@ -442,14 +441,14 @@ class oe extends V {
442
441
  return this.headerActions.map((e) => this._renderHeaderAction(e)).toArray();
443
442
  }
444
443
  _renderContentFeature(e) {
445
- const { headingLevel: t, hideCloseButton: i, _isCollapsed: s, _collapseEnabled: a, featureNavigationTop: o, initialDisplayMode: r, selectedFeature: l, hideHeading: d } = this, { active: c, selectedFeatureItem: f, content: b } = this.viewModel, p = this._getHeading();
444
+ const { headingLevel: t, hideCloseButton: i, _isCollapsed: s, _collapseEnabled: a, featureNavigationTop: o, initialDisplayMode: r, selectedFeature: l, hideHeading: d } = this, { active: c, selectedFeatureItem: f, content: M } = this.viewModel, p = this._getHeading();
446
445
  if (r === "list" && !l)
447
446
  return null;
448
- const F = !this._selectedFeaturePending && (f ? !f.content : !b);
447
+ const F = !this._selectedFeaturePending && (f ? !f.content : !M);
449
448
  return n`<calcite-flow-item .focusTrapEnabled=${this.focusTrapEnabled} class=${x(I({
450
449
  "content-feature": !0,
451
450
  "flow-item-collapsed": s
452
- }))} .closable=${!i} .closed=${!c} .collapsed=${s} .collapseDirection=${this.collapseDirection ?? (o ? "down" : "up")} .collapsible=${a} .headingLevel=${t} .selected=${e} .messageOverrides=${{ collapse: this.messages.collapse, expand: this.messages.expand }} @calciteFlowItemBack=${this._handleFeatureBack} .loading=${!!this._openRelatedFeatureAbortController || this._selectedFeatureLoading} @calciteFlowItemClose=${this._handleClose} @calciteFlowItemToggle=${this._handleCollapseToggle} @keydown=${this._onMainKeydown} .heading=${!d && p ? M(p) : void 0} ${m(this._rootFlowItemNode)}>${this._renderHeader()}${!d && p ? n`<div slot=heading><div .innerHTML=${w.sanitize(p ?? "") ?? ""}></div></div>` : null}${this._renderHeaderActions()}${this._renderActionBar()}<div class=${x(I("container", "content-container", {
451
+ }))} .closable=${!i} .closed=${!c} .collapsed=${s} .collapseDirection=${this.collapseDirection ?? (o ? "down" : "up")} .collapsible=${a} .headingLevel=${t} .selected=${e} .messageOverrides=${{ collapse: this.messages.collapse, expand: this.messages.expand }} @calciteFlowItemBack=${this._handleFeatureBack} .loading=${!!this._openRelatedFeatureAbortController || this._selectedFeatureLoading} @calciteFlowItemClose=${this._handleClose} @calciteFlowItemToggle=${this._handleCollapseToggle} @keydown=${this._onMainKeydown} .heading=${!d && p ? b(p) : void 0} ${m(this._rootFlowItemNode)}>${this._renderHeader()}${!d && p ? n`<div slot=heading><div .innerHTML=${w.sanitize(p ?? "") ?? ""}></div></div>` : null}${this._renderHeaderActions()}${this._renderActionBar()}<div class=${x(I("container", "content-container", {
453
452
  "content-hidden": F
454
453
  }))}>${this._renderContent()}</div>${this._renderFooter()}</calcite-flow-item>`;
455
454
  }
@@ -470,13 +469,13 @@ class oe extends V {
470
469
  return i?.size ? n`<calcite-notice class="diagnostics-notice" open kind=info scale=s><span slot=title>${e.maxRecordCountHeading}</span><div slot=message>${i.size <= ne ? this._renderDiagnosticsList(i) : this._renderDiagnosticsMultipleLayers()}</div></calcite-notice>` : null;
471
470
  }
472
471
  _renderFeatureMenuContainer() {
473
- const { viewModel: e, hideCloseButton: t, featureMenuTitle: i, messages: s, initialDisplayMode: a, featureMenuOpen: o, _featureFlowItemSelected: r, _collapseEnabled: l, _isCollapsed: d, featureNavigationTop: c, headingLevel: f } = this, { active: b, features: p, streamingFeatures: F } = e, $ = i ?? s.selectFeature, A = this._backLabel;
472
+ const { viewModel: e, hideCloseButton: t, featureMenuTitle: i, messages: s, initialDisplayMode: a, featureMenuOpen: o, _featureFlowItemSelected: r, _collapseEnabled: l, _isCollapsed: d, featureNavigationTop: c, headingLevel: f } = this, { active: M, features: p, streamingFeatures: F } = e, $ = i ?? s.selectFeature, A = this._backLabel;
474
473
  if (a === "feature" && !o)
475
474
  return null;
476
475
  const O = !r;
477
476
  return n`<calcite-flow-item .focusTrapEnabled=${this.focusTrapEnabled} class=${x(I({
478
477
  "flow-item-collapsed": d
479
- }))} .closable=${!t} .closed=${!b} .collapsed=${a === "list" && d} .collapseDirection=${this.collapseDirection ?? (c ? "down" : "up")} .collapsible=${a === "list" && l} .messageOverrides=${{ collapse: this.messages.collapse, expand: this.messages.expand, back: A }} .description=${this.hideFeatureMenuHeading ? void 0 : u(s.total ?? "", {
478
+ }))} .closable=${!t} .closed=${!M} .collapsed=${a === "list" && d} .collapseDirection=${this.collapseDirection ?? (c ? "down" : "up")} .collapsible=${a === "list" && l} .messageOverrides=${{ collapse: this.messages.collapse, expand: this.messages.expand, back: A }} .description=${this.hideFeatureMenuHeading ? void 0 : u(s.total ?? "", {
480
479
  total: p.length
481
480
  })} .heading=${this.hideFeatureMenuHeading ? void 0 : $} .headingLevel=${f} .loading=${e.waitingForResult} .selected=${O} @calciteFlowItemBack=${(N) => {
482
481
  N.preventDefault(), this._handleFeatureMenuBack();
@@ -488,7 +487,7 @@ class oe extends V {
488
487
  }, () => {
489
488
  this._aggregatedFeaturesComponent.value?.next();
490
489
  })}${this._renderFeaturePaginationText(this._aggregatedFeatureCount, this._selectedAggregatedFeatureIndex)}</div>` : null;
491
- return n`<calcite-flow-item .closable=${!i} .closed=${!s} .focusTrapEnabled=${this.focusTrapEnabled} class="flow-item-drill-in" .description=${M(this._getDrillInFlowItemDescription(e) ?? "")} .heading=${a ? void 0 : M(e.heading ?? "")} .selected=${t} @calciteFlowItemBack=${($) => {
490
+ return n`<calcite-flow-item .closable=${!i} .closed=${!s} .focusTrapEnabled=${this.focusTrapEnabled} class="flow-item-drill-in" .description=${b(this._getDrillInFlowItemDescription(e) ?? "")} .heading=${a ? void 0 : b(e.heading ?? "")} .selected=${t} @calciteFlowItemBack=${($) => {
492
491
  $.preventDefault(), this._handleDrillInBackClick();
493
492
  }} .loading=${!!this._openRelatedFeatureAbortController} @calciteFlowItemClose=${this._handleClose}>${a ? null : n`<div slot=heading><div .innerHTML=${w.sanitize(e.heading ?? "") ?? ""}></div></div>`}<div slot=description><div .innerHTML=${w.sanitize(this._getDrillInFlowItemDescription(e) ?? "") ?? ""}></div></div><calcite-action class="action-exit" icon=move-up @click=${this._removeFlowItems} slot=header-actions-start .text=${l ?? ""} title=${l ?? "" ?? g}></calcite-action>${p ? n`<calcite-action icon=zoom-to-object @click=${() => this._openRelatedFeature(e)} slot=header-actions-end .text=${d ?? ""} title=${d ?? g}></calcite-action>` : null}${f && this._renderActionBar(e) || ""}<div class="container">${e}</div>${F}</calcite-flow-item>`;
494
493
  }