@arcgis/map-components 5.2.0-next.116 → 5.2.0-next.118

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 (184) hide show
  1. package/dist/cdn/{YPLDGIGU.js → 2Y5HBYMR.js} +1 -1
  2. package/dist/cdn/{7YQT4TAV.js → 3IICULHW.js} +1 -1
  3. package/dist/cdn/4X5447LA.js +2 -0
  4. package/dist/cdn/{AYA4YPGJ.js → 5GTE6AB7.js} +1 -1
  5. package/dist/cdn/67VFYB4A.js +2 -0
  6. package/dist/cdn/CXDU7XEL.js +2 -0
  7. package/dist/cdn/{KFZLFT6Z.js → GZQXMBK6.js} +1 -1
  8. package/dist/cdn/{RIVFCEGS.js → H6IR3FJ4.js} +1 -1
  9. package/dist/cdn/{AAMXNZ5S.js → HM37S3XP.js} +1 -1
  10. package/dist/cdn/{L5U6EHCA.js → J2BAJI7A.js} +1 -1
  11. package/dist/cdn/{XUNBAMHK.js → KZUMKDRC.js} +1 -1
  12. package/dist/cdn/{IYZBLJYE.js → LBXIC75T.js} +1 -1
  13. package/dist/cdn/{ZVD5QL4J.js → P5JSHW4U.js} +1 -1
  14. package/dist/cdn/{2IXK6FXU.js → P7G6JCDO.js} +1 -1
  15. package/dist/cdn/PQINPHI6.js +2 -0
  16. package/dist/cdn/QNO6SSDQ.js +2 -0
  17. package/dist/cdn/QYIXFX7A.js +2 -0
  18. package/dist/cdn/RWMU7NT7.js +2 -0
  19. package/dist/cdn/{2ZQLKYCJ.js → S25QU4HS.js} +1 -1
  20. package/dist/cdn/{EBONLIVF.js → S5TTVLIS.js} +1 -1
  21. package/dist/cdn/{MBK37J6O.js → STPGQ6FX.js} +1 -1
  22. package/dist/cdn/{7TRI2EBZ.js → TLNCTHYZ.js} +1 -1
  23. package/dist/cdn/{PV7UBH65.js → TN5QHOVX.js} +1 -1
  24. package/dist/cdn/{F47RXPBG.js → VXKWVXTO.js} +1 -1
  25. package/dist/cdn/X5P6K573.js +2 -0
  26. package/dist/cdn/{3HPTS3JC.js → XJZJWNYP.js} +1 -1
  27. package/dist/cdn/assets/feature/t9n/messages.ar.json +1 -1
  28. package/dist/cdn/assets/feature/t9n/messages.bg.json +1 -1
  29. package/dist/cdn/assets/feature/t9n/messages.bs.json +1 -1
  30. package/dist/cdn/assets/feature/t9n/messages.ca.json +1 -1
  31. package/dist/cdn/assets/feature/t9n/messages.cs.json +1 -1
  32. package/dist/cdn/assets/feature/t9n/messages.da.json +1 -1
  33. package/dist/cdn/assets/feature/t9n/messages.de.json +1 -1
  34. package/dist/cdn/assets/feature/t9n/messages.el.json +1 -1
  35. package/dist/cdn/assets/feature/t9n/messages.es.json +1 -1
  36. package/dist/cdn/assets/feature/t9n/messages.et.json +1 -1
  37. package/dist/cdn/assets/feature/t9n/messages.fi.json +1 -1
  38. package/dist/cdn/assets/feature/t9n/messages.fr.json +1 -1
  39. package/dist/cdn/assets/feature/t9n/messages.he.json +1 -1
  40. package/dist/cdn/assets/feature/t9n/messages.hr.json +1 -1
  41. package/dist/cdn/assets/feature/t9n/messages.hu.json +1 -1
  42. package/dist/cdn/assets/feature/t9n/messages.id.json +1 -1
  43. package/dist/cdn/assets/feature/t9n/messages.it.json +1 -1
  44. package/dist/cdn/assets/feature/t9n/messages.ja.json +1 -1
  45. package/dist/cdn/assets/feature/t9n/messages.ko.json +1 -1
  46. package/dist/cdn/assets/feature/t9n/messages.lt.json +1 -1
  47. package/dist/cdn/assets/feature/t9n/messages.lv.json +1 -1
  48. package/dist/cdn/assets/feature/t9n/messages.nl.json +1 -1
  49. package/dist/cdn/assets/feature/t9n/messages.no.json +1 -1
  50. package/dist/cdn/assets/feature/t9n/messages.pl.json +1 -1
  51. package/dist/cdn/assets/feature/t9n/messages.pt-BR.json +1 -1
  52. package/dist/cdn/assets/feature/t9n/messages.pt-PT.json +1 -1
  53. package/dist/cdn/assets/feature/t9n/messages.ro.json +1 -1
  54. package/dist/cdn/assets/feature/t9n/messages.ru.json +1 -1
  55. package/dist/cdn/assets/feature/t9n/messages.sk.json +1 -1
  56. package/dist/cdn/assets/feature/t9n/messages.sl.json +1 -1
  57. package/dist/cdn/assets/feature/t9n/messages.sr.json +1 -1
  58. package/dist/cdn/assets/feature/t9n/messages.sv.json +1 -1
  59. package/dist/cdn/assets/feature/t9n/messages.th.json +1 -1
  60. package/dist/cdn/assets/feature/t9n/messages.tr.json +1 -1
  61. package/dist/cdn/assets/feature/t9n/messages.uk.json +1 -1
  62. package/dist/cdn/assets/feature/t9n/messages.vi.json +1 -1
  63. package/dist/cdn/assets/feature/t9n/messages.zh-CN.json +1 -1
  64. package/dist/cdn/assets/feature/t9n/messages.zh-HK.json +1 -1
  65. package/dist/cdn/assets/feature/t9n/messages.zh-TW.json +1 -1
  66. package/dist/cdn/assets/file-picker/t9n/messages.ar.json +1 -0
  67. package/dist/cdn/assets/file-picker/t9n/messages.bg.json +1 -0
  68. package/dist/cdn/assets/file-picker/t9n/messages.ca.json +1 -0
  69. package/dist/cdn/assets/file-picker/t9n/messages.cs.json +1 -0
  70. package/dist/cdn/assets/file-picker/t9n/messages.da.json +1 -0
  71. package/dist/cdn/assets/file-picker/t9n/messages.de.json +1 -0
  72. package/dist/cdn/assets/file-picker/t9n/messages.el.json +1 -0
  73. package/dist/cdn/assets/file-picker/t9n/messages.es.json +1 -0
  74. package/dist/cdn/assets/file-picker/t9n/messages.et.json +1 -0
  75. package/dist/cdn/assets/file-picker/t9n/messages.fi.json +1 -0
  76. package/dist/cdn/assets/file-picker/t9n/messages.fr.json +1 -0
  77. package/dist/cdn/assets/file-picker/t9n/messages.he.json +1 -0
  78. package/dist/cdn/assets/file-picker/t9n/messages.hr.json +1 -0
  79. package/dist/cdn/assets/file-picker/t9n/messages.hu.json +1 -0
  80. package/dist/cdn/assets/file-picker/t9n/messages.id.json +1 -0
  81. package/dist/cdn/assets/file-picker/t9n/messages.it.json +1 -0
  82. package/dist/cdn/assets/file-picker/t9n/messages.ja.json +1 -0
  83. package/dist/cdn/assets/file-picker/t9n/messages.ko.json +1 -0
  84. package/dist/cdn/assets/file-picker/t9n/messages.lt.json +1 -0
  85. package/dist/cdn/assets/file-picker/t9n/messages.lv.json +1 -0
  86. package/dist/cdn/assets/file-picker/t9n/messages.nl.json +1 -0
  87. package/dist/cdn/assets/file-picker/t9n/messages.no.json +1 -0
  88. package/dist/cdn/assets/file-picker/t9n/messages.pl.json +1 -0
  89. package/dist/cdn/assets/file-picker/t9n/messages.pt-BR.json +1 -0
  90. package/dist/cdn/assets/file-picker/t9n/messages.pt-PT.json +1 -0
  91. package/dist/cdn/assets/file-picker/t9n/messages.ro.json +1 -0
  92. package/dist/cdn/assets/file-picker/t9n/messages.ru.json +1 -0
  93. package/dist/cdn/assets/file-picker/t9n/messages.sk.json +1 -0
  94. package/dist/cdn/assets/file-picker/t9n/messages.sl.json +1 -0
  95. package/dist/cdn/assets/file-picker/t9n/messages.sr.json +1 -0
  96. package/dist/cdn/assets/file-picker/t9n/messages.sv.json +1 -0
  97. package/dist/cdn/assets/file-picker/t9n/messages.th.json +1 -0
  98. package/dist/cdn/assets/file-picker/t9n/messages.tr.json +1 -0
  99. package/dist/cdn/assets/file-picker/t9n/messages.uk.json +1 -0
  100. package/dist/cdn/assets/file-picker/t9n/messages.vi.json +1 -0
  101. package/dist/cdn/assets/file-picker/t9n/messages.zh-CN.json +1 -0
  102. package/dist/cdn/assets/file-picker/t9n/messages.zh-TW.json +1 -0
  103. package/dist/cdn/assets/volume-measurement/t9n/messages.ar.json +1 -1
  104. package/dist/cdn/assets/volume-measurement/t9n/messages.bg.json +1 -1
  105. package/dist/cdn/assets/volume-measurement/t9n/messages.bs.json +1 -1
  106. package/dist/cdn/assets/volume-measurement/t9n/messages.ca.json +1 -1
  107. package/dist/cdn/assets/volume-measurement/t9n/messages.cs.json +1 -1
  108. package/dist/cdn/assets/volume-measurement/t9n/messages.da.json +1 -1
  109. package/dist/cdn/assets/volume-measurement/t9n/messages.de.json +1 -1
  110. package/dist/cdn/assets/volume-measurement/t9n/messages.el.json +1 -1
  111. package/dist/cdn/assets/volume-measurement/t9n/messages.es.json +1 -1
  112. package/dist/cdn/assets/volume-measurement/t9n/messages.et.json +1 -1
  113. package/dist/cdn/assets/volume-measurement/t9n/messages.fi.json +1 -1
  114. package/dist/cdn/assets/volume-measurement/t9n/messages.fr.json +1 -1
  115. package/dist/cdn/assets/volume-measurement/t9n/messages.he.json +1 -1
  116. package/dist/cdn/assets/volume-measurement/t9n/messages.hr.json +1 -1
  117. package/dist/cdn/assets/volume-measurement/t9n/messages.hu.json +1 -1
  118. package/dist/cdn/assets/volume-measurement/t9n/messages.id.json +1 -1
  119. package/dist/cdn/assets/volume-measurement/t9n/messages.it.json +1 -1
  120. package/dist/cdn/assets/volume-measurement/t9n/messages.ja.json +1 -1
  121. package/dist/cdn/assets/volume-measurement/t9n/messages.ko.json +1 -1
  122. package/dist/cdn/assets/volume-measurement/t9n/messages.lt.json +1 -1
  123. package/dist/cdn/assets/volume-measurement/t9n/messages.lv.json +1 -1
  124. package/dist/cdn/assets/volume-measurement/t9n/messages.nl.json +1 -1
  125. package/dist/cdn/assets/volume-measurement/t9n/messages.no.json +1 -1
  126. package/dist/cdn/assets/volume-measurement/t9n/messages.pl.json +1 -1
  127. package/dist/cdn/assets/volume-measurement/t9n/messages.pt-BR.json +1 -1
  128. package/dist/cdn/assets/volume-measurement/t9n/messages.pt-PT.json +1 -1
  129. package/dist/cdn/assets/volume-measurement/t9n/messages.ro.json +1 -1
  130. package/dist/cdn/assets/volume-measurement/t9n/messages.ru.json +1 -1
  131. package/dist/cdn/assets/volume-measurement/t9n/messages.sk.json +1 -1
  132. package/dist/cdn/assets/volume-measurement/t9n/messages.sl.json +1 -1
  133. package/dist/cdn/assets/volume-measurement/t9n/messages.sr.json +1 -1
  134. package/dist/cdn/assets/volume-measurement/t9n/messages.sv.json +1 -1
  135. package/dist/cdn/assets/volume-measurement/t9n/messages.th.json +1 -1
  136. package/dist/cdn/assets/volume-measurement/t9n/messages.tr.json +1 -1
  137. package/dist/cdn/assets/volume-measurement/t9n/messages.uk.json +1 -1
  138. package/dist/cdn/assets/volume-measurement/t9n/messages.vi.json +1 -1
  139. package/dist/cdn/assets/volume-measurement/t9n/messages.zh-CN.json +1 -1
  140. package/dist/cdn/assets/volume-measurement/t9n/messages.zh-HK.json +1 -1
  141. package/dist/cdn/assets/volume-measurement/t9n/messages.zh-TW.json +1 -1
  142. package/dist/cdn/index.js +1 -1
  143. package/dist/chunks/AnalysisViewModel.js +78 -75
  144. package/dist/chunks/GeolocationPositioning.js +67 -67
  145. package/dist/chunks/screenLocation.js +8 -8
  146. package/dist/chunks/useLayerById.js +13 -12
  147. package/dist/components/arcgis-area-measurement-2d/customElement.d.ts +2 -2
  148. package/dist/components/arcgis-area-measurement-2d/customElement.js +1 -1
  149. package/dist/components/arcgis-basemap-layer-list-next/customElement.d.ts +1 -1
  150. package/dist/components/arcgis-bookmarks/customElement.d.ts +30 -3
  151. package/dist/components/arcgis-building-level-picker/customElement.js +22 -22
  152. package/dist/components/arcgis-catalog-layer-list-next/customElement.d.ts +1 -1
  153. package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +2 -2
  154. package/dist/components/arcgis-distance-measurement-2d/customElement.js +1 -1
  155. package/dist/components/arcgis-editor/customElement.d.ts +4 -4
  156. package/dist/components/arcgis-expand/customElement.js +1 -1
  157. package/dist/components/arcgis-exploratory-analysis/customElement.d.ts +1 -1
  158. package/dist/components/arcgis-features/customElement.js +30 -30
  159. package/dist/components/arcgis-grid-controls/customElement.d.ts +1 -1
  160. package/dist/components/arcgis-layer-list-next/customElement.d.ts +1 -1
  161. package/dist/components/arcgis-paste/customElement.js +30 -25
  162. package/dist/components/arcgis-reverse-geocode-list/customElement.js +30 -30
  163. package/dist/components/arcgis-sketch/customElement.d.ts +4 -4
  164. package/dist/components/arcgis-sketch-tooltip-controls/customElement.d.ts +2 -2
  165. package/dist/components/arcgis-snapping-controls/customElement.d.ts +1 -1
  166. package/dist/components/arcgis-table-list/customElement.d.ts +1 -1
  167. package/dist/components/arcgis-table-list-next/customElement.d.ts +1 -1
  168. package/dist/components/arcgis-value-picker-legacy/customElement.d.ts +2 -1
  169. package/dist/components/arcgis-video-player/VideoPlayerViewModel.d.ts +52 -0
  170. package/dist/components/arcgis-video-player/customElement.d.ts +4 -6
  171. package/dist/components/arcgis-video-player/customElement.js +241 -33
  172. package/dist/docs/api.json +1 -1
  173. package/dist/docs/docs.json +1 -1
  174. package/dist/docs/vscode.html-custom-data.json +1 -1
  175. package/dist/docs/web-types.json +1 -1
  176. package/package.json +5 -5
  177. package/dist/cdn/HC2C4ZYW.js +0 -2
  178. package/dist/cdn/L3V32U4F.js +0 -2
  179. package/dist/cdn/M4BXOW2Q.js +0 -2
  180. package/dist/cdn/NE7E7YHO.js +0 -2
  181. package/dist/cdn/O7UYGS63.js +0 -2
  182. package/dist/cdn/T6NUABZU.js +0 -2
  183. package/dist/cdn/TQOCUWMD.js +0 -2
  184. package/dist/cdn/XMDFKE47.js +0 -2
@@ -43,7 +43,7 @@ function Se(e, t, i, a, s, r) {
43
43
  const g = r.objectIdField ?? "";
44
44
  return e.forEach((m) => {
45
45
  if (m.name !== g && !h.includes(m.name) && !p.includes(m.name) && !s.includes(m.name) && m.type !== "global-id" && (u === "" || u !== m.name)) {
46
- const f = ke(m, t);
46
+ const f = Oe(m, t);
47
47
  f.match && f.targetField && (l[f.targetField?.name] = i[m.name]);
48
48
  }
49
49
  }), l;
@@ -54,7 +54,7 @@ function Te(e) {
54
54
  function Ge(e) {
55
55
  return e?.type === "subtype-sublayer" && (e = e.parent), e ? _e(e) : [];
56
56
  }
57
- function Oe(e, t) {
57
+ function ke(e, t) {
58
58
  if (e.type === t.type)
59
59
  return t.type === "string" ? e.length <= t.length : !0;
60
60
  switch (e.type) {
@@ -68,10 +68,10 @@ function Oe(e, t) {
68
68
  return !1;
69
69
  }
70
70
  }
71
- function ke(e, t) {
71
+ function Oe(e, t) {
72
72
  const i = { match: !1, sourceField: null, targetField: null };
73
73
  for (const a of t)
74
- if (Oe(e, a)) {
74
+ if (ke(e, a)) {
75
75
  const s = e.name.replace(/\s/gu, "").toLowerCase();
76
76
  if (a.name.replace(/\s/gu, "").toLowerCase() === s)
77
77
  return i.match = !0, i.sourceField = e, i.targetField = a, i;
@@ -390,7 +390,12 @@ let v = class extends U {
390
390
  }
391
391
  async createMergedClipboardGeom() {
392
392
  const e = this.viewModel.clipboardFeatures.map((i) => i.graphic?.geometry).filter((i) => i != null).toArray();
393
- return e.length === 0 ? null : e.length === 1 ? e[0].clone() : (await import("@arcgis/core/geometry/operators/unionOperator.js")).executeMany(e) ?? null;
393
+ if (e.length === 0)
394
+ return null;
395
+ if (e.length === 1)
396
+ return e[0].clone();
397
+ const { unionExecuteMany: t } = await import("@arcgis/core/geometry/operators/unionOperator.js");
398
+ return t(e) ?? null;
394
399
  }
395
400
  removeGraphicIdentifierFields(e, t) {
396
401
  t.objectIdField && delete e.attributes[t.objectIdField], t.globalIdField && delete e.attributes[t.globalIdField];
@@ -497,7 +502,7 @@ let F = class extends v {
497
502
  const e = q();
498
503
  if (e.featureState = K(this.viewModel.view), !this.viewModel.selectedFeature)
499
504
  return { success: !1, failReason: "noSelectedError" };
500
- const [t, i] = await Promise.all([
505
+ const [{ unionExecute: t }, { equalsExecute: i }] = await Promise.all([
501
506
  import("@arcgis/core/geometry/operators/unionOperator.js"),
502
507
  import("@arcgis/core/geometry/operators/equalsOperator.js")
503
508
  ]);
@@ -510,8 +515,8 @@ let F = class extends v {
510
515
  a = l?.graphic?.geometry ?? null, a && (a = a.clone(), s = !0);
511
516
  continue;
512
517
  }
513
- const p = t.execute(a, h);
514
- i.execute(a, p) || (a = p, s = !0);
518
+ const p = t(a, h);
519
+ i(a, p) || (a = p, s = !0);
515
520
  }
516
521
  if (!s)
517
522
  return { success: !1, failReason: "noChangeError" };
@@ -555,7 +560,7 @@ G([
555
560
  F = G([
556
561
  C("components.paste.commands.PasteAppendCommand")
557
562
  ], F);
558
- var Ne = Object.defineProperty, Ue = Object.getOwnPropertyDescriptor, O = (e, t, i, a) => {
563
+ var Ne = Object.defineProperty, Ue = Object.getOwnPropertyDescriptor, k = (e, t, i, a) => {
559
564
  for (var s = a > 1 ? void 0 : a ? Ue(t, i) : t, r = e.length - 1, l; r >= 0; r--)
560
565
  (l = e[r]) && (s = (a ? l(t, i, s) : l(s)) || s);
561
566
  return a && s && Ne(t, i, s), s;
@@ -587,7 +592,7 @@ let _ = class extends v {
587
592
  const e = q();
588
593
  if (e.featureState = K(this.viewModel.view), !this.viewModel.selectedFeature)
589
594
  return { success: !1, failReason: "noSelectedError", applySet: e };
590
- const [t, i] = await Promise.all([
595
+ const [{ differenceExecute: t }, { equalsExecute: i }] = await Promise.all([
591
596
  import("@arcgis/core/geometry/operators/differenceOperator.js"),
592
597
  import("@arcgis/core/geometry/operators/equalsOperator.js")
593
598
  ]);
@@ -599,10 +604,10 @@ let _ = class extends v {
599
604
  const h = l?.graphic?.geometry;
600
605
  if (!h)
601
606
  continue;
602
- const p = t.execute(a, h);
607
+ const p = t(a, h);
603
608
  if (!p)
604
609
  return { success: !1, failReason: "deletesGeometryError", applySet: e };
605
- i.execute(a, p) || (a = p, s = !0);
610
+ i(a, p) || (a = p, s = !0);
606
611
  }
607
612
  if (!s)
608
613
  return { success: !1, failReason: "noChangeError", applySet: e };
@@ -673,25 +678,25 @@ let _ = class extends v {
673
678
  return e.pasteSubtractTitle;
674
679
  }
675
680
  };
676
- O([
681
+ k([
677
682
  o()
678
683
  ], _.prototype, "id", 1);
679
- O([
684
+ k([
680
685
  o()
681
686
  ], _.prototype, "icon", 1);
682
- O([
687
+ k([
683
688
  o()
684
689
  ], _.prototype, "immediate", 1);
685
- O([
690
+ k([
686
691
  o()
687
692
  ], _.prototype, "mustShowOnCommandPage", 1);
688
- O([
693
+ k([
689
694
  o()
690
695
  ], _.prototype, "commandEnabled", 1);
691
- _ = O([
696
+ _ = k([
692
697
  C("components.paste.commands.PasteSubtractCommand")
693
698
  ], _);
694
- var qe = Object.defineProperty, Ke = Object.getOwnPropertyDescriptor, k = (e, t, i, a) => {
699
+ var qe = Object.defineProperty, Ke = Object.getOwnPropertyDescriptor, O = (e, t, i, a) => {
695
700
  for (var s = a > 1 ? void 0 : a ? Ke(t, i) : t, r = e.length - 1, l; r >= 0; r--)
696
701
  (l = e[r]) && (s = (a ? l(t, i, s) : l(s)) || s);
697
702
  return a && s && qe(t, i, s), s;
@@ -731,22 +736,22 @@ let x = class extends v {
731
736
  return e.pasteAsTitle;
732
737
  }
733
738
  };
734
- k([
739
+ O([
735
740
  o()
736
741
  ], x.prototype, "id", 1);
737
- k([
742
+ O([
738
743
  o()
739
744
  ], x.prototype, "icon", 1);
740
- k([
745
+ O([
741
746
  o()
742
747
  ], x.prototype, "immediate", 1);
743
- k([
748
+ O([
744
749
  o()
745
750
  ], x.prototype, "mustShowOnCommandPage", 1);
746
- k([
751
+ O([
747
752
  o()
748
753
  ], x.prototype, "commandEnabled", 1);
749
- x = k([
754
+ x = O([
750
755
  C("components.paste.commands.PasteAsCommand")
751
756
  ], x);
752
757
  var Xe = Object.defineProperty, Ze = Object.getOwnPropertyDescriptor, H = (e, t, i, a) => {
@@ -1,24 +1,24 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import { c as g } from "../../chunks/runtime.js";
3
- import { css as _, html as r } from "lit";
4
- import * as d from "@arcgis/core/geometry/operators/projectOperator.js";
5
- import f from "@arcgis/core/portal/Portal.js";
6
- import b from "@arcgis/core/geometry/SpatialReference.js";
7
- import { LitElement as v, createEvent as m, nothing as C } from "@arcgis/lumina";
8
- import { locationToAddress as y } from "@arcgis/core/rest/locator.js";
9
- import { substitute as $ } from "@arcgis/core/intl.js";
10
- import { u as R } from "../../chunks/useT9n.js";
11
- import { watch as p } from "@arcgis/core/core/reactiveUtils.js";
12
- const x = _`calcite-notice{padding:var(--calcite-space-lg)}calcite-block{padding-inline-end:var(--calcite-spacing-xxs)}calcite-block[expanded]{margin:0}`;
13
- class w extends v {
2
+ import { c as p } from "../../chunks/runtime.js";
3
+ import { css as g, html as r } from "lit";
4
+ import { projectIsLoaded as _, projectLoad as f, projectExecute as b } from "@arcgis/core/geometry/operators/projectOperator.js";
5
+ import v from "@arcgis/core/portal/Portal.js";
6
+ import C from "@arcgis/core/geometry/SpatialReference.js";
7
+ import { LitElement as y, createEvent as h, nothing as $ } from "@arcgis/lumina";
8
+ import { locationToAddress as R } from "@arcgis/core/rest/locator.js";
9
+ import { substitute as x } from "@arcgis/core/intl.js";
10
+ import { u as w } from "../../chunks/useT9n.js";
11
+ import { watch as m } from "@arcgis/core/core/reactiveUtils.js";
12
+ const L = g`calcite-notice{padding:var(--calcite-space-lg)}calcite-block{padding-inline-end:var(--calcite-spacing-xxs)}calcite-block[expanded]{margin:0}`;
13
+ class G extends y {
14
14
  constructor() {
15
- super(...arguments), this.messages = R(), this._abortController = null, this._location = null, this._results = null, this.headingLevel = 3, this.portal = f.getDefault(), this.autoDestroyDisabled = !1, this.hideCoordinates = !1, this.arcgisReverseGeocodeResultsChange = m(), this.arcgisReverseGeocodeCopy = m();
15
+ super(...arguments), this.messages = w(), this._abortController = null, this._location = null, this._results = null, this.headingLevel = 3, this.portal = v.getDefault(), this.autoDestroyDisabled = !1, this.hideCoordinates = !1, this.arcgisReverseGeocodeResultsChange = h(), this.arcgisReverseGeocodeCopy = h();
16
16
  }
17
17
  static {
18
18
  this.properties = { _abortController: 16, _location: 16, _results: 16, headingLevel: 9, portal: 0, location: 0, messageOverrides: 0, autoDestroyDisabled: 5, hideCoordinates: 5, reverseGeocodeResults: 32 };
19
19
  }
20
20
  static {
21
- this.styles = x;
21
+ this.styles = L;
22
22
  }
23
23
  get reverseGeocodeResults() {
24
24
  return this._results;
@@ -28,10 +28,10 @@ class w extends v {
28
28
  }
29
29
  loaded() {
30
30
  this.manager.onLifecycle(() => [
31
- p(() => [this.portal, this.location], () => {
31
+ m(() => [this.portal, this.location], () => {
32
32
  this._update();
33
33
  }, { initial: !0 }),
34
- p(() => this._results, () => {
34
+ m(() => this._results, () => {
35
35
  this.arcgisReverseGeocodeResultsChange.emit();
36
36
  })
37
37
  ]);
@@ -48,23 +48,23 @@ class w extends v {
48
48
  const s = new AbortController(), i = s.signal;
49
49
  this._abortController = s;
50
50
  const o = () => i.aborted || this._abortController !== s;
51
- if (!d.isLoaded() && (await d.load(), o()))
51
+ if (!_() && (await f(), o()))
52
52
  return;
53
- const c = d.execute(e, b.WGS84) ?? e;
53
+ const c = b(e, C.WGS84) ?? e;
54
54
  if (o() || (this._location = c, await this.portal?.load({ signal: i }), o()))
55
55
  return;
56
- const l = this.portal?.helperServices?.geocode?.filter((a) => a.reverseGeocode ?? !0);
56
+ const l = this.portal?.helperServices?.geocode?.filter((n) => n.reverseGeocode ?? !0);
57
57
  if (!l) {
58
58
  if (o())
59
59
  return;
60
60
  this._results = null;
61
61
  return;
62
62
  }
63
- const n = l.map(async (a) => await y(a.url, { location: e }, { signal: i })), u = await Promise.allSettled(n);
64
- o() || (this._abortController = null, this._results = l.map((a, h) => ({
65
- name: a.name ?? t?.untitledService ?? "",
66
- address: (u[h].status === "fulfilled" ? u[h].value.address : null) ?? t?.noResultFound ?? "",
67
- url: a.url
63
+ const a = l.map(async (n) => await R(n.url, { location: e }, { signal: i })), d = await Promise.allSettled(a);
64
+ o() || (this._abortController = null, this._results = l.map((n, u) => ({
65
+ name: n.name ?? t?.untitledService ?? "",
66
+ address: (d[u].status === "fulfilled" ? d[u].value.address : null) ?? t?.noResultFound ?? "",
67
+ url: n.url
68
68
  })));
69
69
  }
70
70
  _copyTextToClipboard(e) {
@@ -72,10 +72,10 @@ class w extends v {
72
72
  }
73
73
  _renderMoreResults(e) {
74
74
  const { messages: t } = this;
75
- return !this._abortController && e?.length ? r`<calcite-block expandable scale=s .headingLevel=${this.headingLevel} .heading=${$(t?.showMoreResults ?? "", { count: e.length })}><calcite-list scale=s display-mode=flat interaction-mode=static selection-mode=none .label=${t?.moreResults ?? ""}>${e?.map((s) => this._renderItem(s))}</calcite-list></calcite-block>` : null;
75
+ return !this._abortController && e?.length ? r`<calcite-block expandable scale=s .headingLevel=${this.headingLevel} .heading=${x(t?.showMoreResults ?? "", { count: e.length })}><calcite-list scale=s display-mode=flat interaction-mode=static selection-mode=none .label=${t?.moreResults ?? ""}>${e?.map((s) => this._renderItem(s))}</calcite-list></calcite-block>` : null;
76
76
  }
77
77
  _renderCopyAction({ text: e, value: t }) {
78
- return r`<calcite-action .text=${e} title=${e ?? C} slot=actions-end icon=copy @click=${() => this._copyTextToClipboard(t)}></calcite-action>`;
78
+ return r`<calcite-action .text=${e} title=${e ?? $} slot=actions-end icon=copy @click=${() => this._copyTextToClipboard(t)}></calcite-action>`;
79
79
  }
80
80
  _renderCoordinatesItem() {
81
81
  const { _location: e, messages: t } = this;
@@ -95,11 +95,11 @@ class w extends v {
95
95
  const { _abortController: e, _location: t, _results: s, messages: i } = this;
96
96
  if (!t)
97
97
  return r`<calcite-notice scale=s open kind=warning icon><div slot=message>${i?.noLocation ?? ""}</div></calcite-notice>`;
98
- const o = s?.[0], c = s && s.length > 1 ? s.slice(1) : void 0, l = this._renderCoordinatesItem(), n = o ? this._renderItem(o) : null;
99
- return !e && !n && !l ? r`<calcite-notice scale=s open kind=info><div slot=message>${i?.noResultFound ?? ""}</div></calcite-notice>` : r`<calcite-list .loading=${!!e} display-mode=flat interaction-mode=static selection-mode=none .label=${i.label ?? ""} scale=s>${l}${n}</calcite-list>${this._renderMoreResults(c)}`;
98
+ const o = s?.[0], c = s && s.length > 1 ? s.slice(1) : void 0, l = this._renderCoordinatesItem(), a = o ? this._renderItem(o) : null;
99
+ return !e && !a && !l ? r`<calcite-notice scale=s open kind=info><div slot=message>${i?.noResultFound ?? ""}</div></calcite-notice>` : r`<calcite-list .loading=${!!e} display-mode=flat interaction-mode=static selection-mode=none .label=${i.label ?? ""} scale=s>${l}${a}</calcite-list>${this._renderMoreResults(c)}`;
100
100
  }
101
101
  }
102
- g("arcgis-reverse-geocode-list", w);
102
+ p("arcgis-reverse-geocode-list", G);
103
103
  export {
104
- w as ArcgisReverseGeocodeList
104
+ G as ArcgisReverseGeocodeList
105
105
  };
@@ -212,7 +212,7 @@ export abstract class ArcgisSketch extends LitElement {
212
212
  accessor hideSnappingControls: boolean;
213
213
  /**
214
214
  * Indicates whether to hide the `enabledToggle` (Enable snapping). This toggles
215
- * the [SnappingOptions#enabled](https://developers.arcgis.com/javascript/latest/references/core/views/interactive/snapping/SnappingOptions/#enabled) property.
215
+ * the [SnappingOptions#enabled](https://developers.arcgis.com/javascript/latest/references/core/views/interactive/options/SnappingOptions/#enabled) property.
216
216
  * > [!WARNING]
217
217
  * >
218
218
  * > **Note**
@@ -226,7 +226,7 @@ export abstract class ArcgisSketch extends LitElement {
226
226
  accessor hideSnappingControlsElementsEnabledToggle: boolean;
227
227
  /**
228
228
  * Indicates whether to hide the `featureEnabledToggle` (Feature to feature). This toggles
229
- * the [SnappingOptions#featureEnabled](https://developers.arcgis.com/javascript/latest/references/core/views/interactive/snapping/SnappingOptions/#featureEnabled) property.
229
+ * the [SnappingOptions#featureEnabled](https://developers.arcgis.com/javascript/latest/references/core/views/interactive/options/SnappingOptions/#featureEnabled) property.
230
230
  *
231
231
  * @default false
232
232
  * @since 5.0
@@ -304,7 +304,7 @@ export abstract class ArcgisSketch extends LitElement {
304
304
  accessor hideSnappingControlsElementsLayerList: boolean;
305
305
  /**
306
306
  * Indicates whether to hide the `selfEnabledToggle` (Geometry guides). This toggles
307
- * the [SnappingOptions#selfEnabled](https://developers.arcgis.com/javascript/latest/references/core/views/interactive/snapping/SnappingOptions/#selfEnabled) property.
307
+ * the [SnappingOptions#selfEnabled](https://developers.arcgis.com/javascript/latest/references/core/views/interactive/options/SnappingOptions/#selfEnabled) property.
308
308
  *
309
309
  * @default false
310
310
  * @since 5.0
@@ -468,7 +468,7 @@ export abstract class ArcgisSketch extends LitElement {
468
468
  * @since 5.0
469
469
  */
470
470
  accessor showSnappingControlsElementsHeader: boolean;
471
- /** The [SnappingOptions](https://developers.arcgis.com/javascript/latest/references/core/views/interactive/snapping/SnappingOptions/) for sketching. It supports [self](https://developers.arcgis.com/javascript/latest/references/core/views/interactive/snapping/SnappingOptions/#selfEnabled) and [feature](https://developers.arcgis.com/javascript/latest/references/core/views/interactive/snapping/SnappingOptions/#featureEnabled) snapping. */
471
+ /** The [SnappingOptions](https://developers.arcgis.com/javascript/latest/references/core/views/interactive/options/SnappingOptions/) for sketching. It supports [self](https://developers.arcgis.com/javascript/latest/references/core/views/interactive/options/SnappingOptions/#selfEnabled) and [feature](https://developers.arcgis.com/javascript/latest/references/core/views/interactive/options/SnappingOptions/#featureEnabled) snapping. */
472
472
  accessor snappingOptions: SnappingOptions;
473
473
  /** The current state of the component. */
474
474
  get state(): State;
@@ -1,6 +1,6 @@
1
1
  /// <reference path="../../index.d.ts" />
2
2
  import type SketchOptions from "@arcgis/core/views/interactive/sketch/SketchOptions.js";
3
- import type { TooltipDirectionMode } from "@arcgis/core/views/interactive/tooltip/types.js";
3
+ import type { DirectionMode } from "@arcgis/core/views/interactive/support/types.js";
4
4
  import type { PublicLitElement as LitElement } from "@arcgis/lumina";
5
5
  import type { T9nMeta } from "@arcgis/lumina/controllers";
6
6
 
@@ -22,7 +22,7 @@ export abstract class ArcgisSketchTooltipControls extends LitElement {
22
22
  * is measured relative to the previous segment or from the main axis of the map
23
23
  * (usually north). See [SketchTooltipOptions](https://developers.arcgis.com/javascript/latest/references/core/views/interactive/sketch/SketchTooltipOptions/) and [SketchValueOptions](https://developers.arcgis.com/javascript/latest/references/core/views/interactive/sketch/SketchValueOptions/#directionMode).
24
24
  */
25
- accessor directionMode: TooltipDirectionMode;
25
+ accessor directionMode: DirectionMode;
26
26
  /**
27
27
  * Controls whether the labels toggle is shown for this component.
28
28
  *
@@ -133,7 +133,7 @@ export abstract class ArcgisSnappingControls extends LitElement {
133
133
  */
134
134
  accessor showHeader: boolean;
135
135
  /**
136
- * The [SnappingOptions](https://developers.arcgis.com/javascript/latest/references/core/views/interactive/snapping/SnappingOptions/)
136
+ * The [SnappingOptions](https://developers.arcgis.com/javascript/latest/references/core/views/interactive/options/SnappingOptions/)
137
137
  * that will be controlled by this component if the snapping toggle is enabled for display.
138
138
  * If SnappingOptions are provided, grid display will be automatically enabled or disabled to match snapping state.
139
139
  */
@@ -287,7 +287,7 @@ export abstract class ArcgisTableList extends LitElement {
287
287
  */
288
288
  accessor selectionMode: "none" | "single-persist" | "multiple" | "single";
289
289
  /**
290
- * This property provides the ability to show or hide the close button.
290
+ * This property provides the ability to show or hide the close button. When the close button is shown, the `ESC` key can be used to close the component via keyboard when the focus is within the component.
291
291
  *
292
292
  * @default false
293
293
  * @example
@@ -369,7 +369,7 @@ export abstract class ArcgisTableListNext extends LitElement {
369
369
  */
370
370
  accessor selectionMode: List["selectionMode"];
371
371
  /**
372
- * This property provides the ability to show or hide the close button.
372
+ * This property provides the ability to show or hide the close button. When the close button is shown, the `ESC` key can be used to close the component via keyboard when the focus is within the component.
373
373
  *
374
374
  * @default false
375
375
  * @example
@@ -10,7 +10,7 @@ import type { Icon } from "@esri/calcite-components/components/calcite-icon";
10
10
  * >
11
11
  * > This is a **legacy component**. It relies on an underlying widget as part of our migration to native web components.
12
12
  * >
13
- * > A fully native replacement for this component is in development. Once it reaches feature parity, the legacy component will be deprecated and no longer maintained. At that point, development should use the native component.
13
+ * > We recommend using the [Value Picker component](https://developers.arcgis.com/javascript/latest/references/common-components/components/arcgis-value-picker/) instead, which provides a native implementation with improved features and accessibility.
14
14
  *
15
15
  * Value Picker is a component that allows users to step or play through a list of values. Value Picker component can be configured
16
16
  * with an optional [collection](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-value-picker-legacy/#from-collection),
@@ -232,6 +232,7 @@ import type { Icon } from "@esri/calcite-components/components/calcite-icon";
232
232
  * valuePickerBasemap.values = ["topo-vector"];
233
233
  * ```
234
234
  *
235
+ * @deprecated since 5.1. Use the [Value Picker component](https://developers.arcgis.com/javascript/latest/references/common-components/components/arcgis-value-picker/) instead.
235
236
  * @since 5.0
236
237
  * @see [ValuePickerCollection](https://developers.arcgis.com/javascript/latest/references/core/widgets/ValuePicker/ValuePickerCollection/)
237
238
  * @see [ValuePickerCombobox](https://developers.arcgis.com/javascript/latest/references/core/widgets/ValuePicker/ValuePickerCombobox/)
@@ -0,0 +1,52 @@
1
+ import type Color from "@arcgis/core/Color.js";
2
+ import type Accessor from "@arcgis/core/core/Accessor.js";
3
+ import type VideoLayer from "@arcgis/core/layers/VideoLayer.js";
4
+ import type MapView from "@arcgis/core/views/MapView.js";
5
+ import type { PreviewsInfo, VideoState } from "@arcgis/core/layers/video/types.js";
6
+
7
+ /** @internal */
8
+ export interface VideoPlayerViewModelProperties extends Partial<Pick<VideoPlayerViewModel, "followingMode" | "layer" | "seekLength" | "view">> {}
9
+
10
+ /** @internal */
11
+ export default class VideoPlayerViewModel extends Accessor {
12
+ constructor(properties?: VideoPlayerViewModelProperties);
13
+ get buffered(): number;
14
+ get currentTime(): number;
15
+ get duration(): number;
16
+ get ended(): boolean;
17
+ /** @default "follow-both" */
18
+ accessor followingMode: "follow-both" | "follow-frame" | "follow-sensor" | "none";
19
+ accessor layer: VideoLayer | undefined;
20
+ get metadata(): {
21
+ missionInfo: Record<string, string>;
22
+ platformInfo: Record<string, string>;
23
+ frameInfo: Record<string, string>;
24
+ } | null;
25
+ get playing(): boolean;
26
+ /** @default 10 */
27
+ accessor seekLength: number;
28
+ get state(): VideoState | "error";
29
+ accessor view: MapView | undefined;
30
+ /** @param color */
31
+ changeGraphicsColor(color: Color): void;
32
+ /** @param speed */
33
+ changePlaybackSpeed(speed: number): void;
34
+ protected initialize(): void;
35
+ pause(): void;
36
+ play(): void;
37
+ previewsInfo(): PreviewsInfo | null;
38
+ seekBackward(): void;
39
+ seekForward(): void;
40
+ /** @param seekToTime */
41
+ seekTo(seekToTime: number): void;
42
+ seekToBeginning(): void;
43
+ seekToEnding(): void;
44
+ toggleFrameCenterDisplay(): void;
45
+ toggleFrameDisplay(): void;
46
+ toggleFrameOutlineDisplay(): void;
47
+ toggleLoopPlayback(): void;
48
+ toggleSensorDisplay(): void;
49
+ toggleSensorPathDisplay(): void;
50
+ toggleSensorSightLineDisplay(): void;
51
+ toggleSensorTrailDisplay(): void;
52
+ }
@@ -1,5 +1,5 @@
1
1
  /// <reference path="../../index.d.ts" />
2
- import type VideoPlayerViewModel from "@arcgis/core/widgets/VideoPlayer/VideoPlayerViewModel.js";
2
+ import type VideoPlayerViewModel from "./VideoPlayerViewModel.js";
3
3
  import type VideoLayer from "@arcgis/core/layers/VideoLayer.js";
4
4
  import type MapView from "@arcgis/core/views/MapView.js";
5
5
  import type { PublicLitElement as LitElement } from "@arcgis/lumina";
@@ -19,14 +19,12 @@ import type { VideoState } from "@arcgis/core/layers/video/types.js";
19
19
  * - Adjustable speed and quality
20
20
  * - Access to frame metadata
21
21
  *
22
- * The [VideoPlayerViewModel](https://developers.arcgis.com/javascript/latest/references/core/widgets/VideoPlayer/VideoPlayerViewModel/) class provides the logic for the Video Player.
23
- *
24
22
  * **Known limitations**
25
23
  *
26
24
  * * Not supported in 3D [arcgis-scene](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/).
27
25
  * * Not supported on macOS and iOS devices.
28
26
  *
29
- * [![](https://developers.arcgis.com/javascript/latest/assets/references/core/widgets/video-player-video-preview.avif)](https://mediaspace.esri.com/media/1_ctc3psfr)
27
+ * [![](https://developers.arcgis.com/javascript/latest/assets/references/components/video-player/video-player-video-preview.avif)](https://mediaspace.esri.com/media/1_ctc3psfr)
30
28
  *
31
29
  * @example
32
30
  * ```html
@@ -119,7 +117,7 @@ export abstract class ArcgisVideoPlayer extends LitElement {
119
117
  * videoPlayer.layer = videoLayer;
120
118
  * ```
121
119
  */
122
- accessor layer: VideoLayer | null | undefined;
120
+ accessor layer: VideoLayer | undefined;
123
121
  /**
124
122
  * Replace localized message strings with your own strings.
125
123
  *
@@ -269,7 +267,7 @@ export abstract class ArcgisVideoPlayer extends LitElement {
269
267
  * // Set the video player view model's view to a map view.
270
268
  * videoPlayerViewModel.view = mapView;
271
269
  */
272
- accessor view: MapView | null | undefined;
270
+ accessor view: MapView | undefined;
273
271
  /** Permanently destroy the component. */
274
272
  destroy(): Promise<void>;
275
273
  /** Emitted when the value of a property is changed. Use this to listen to changes to properties. */