@arcgis/map-components 5.0.7 → 5.0.8

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 (201) hide show
  1. package/dist/cdn/{7NEMEVJJ.js → 2BKO4X64.js} +1 -1
  2. package/dist/cdn/{ILLJPATH.js → 2ERUSYFG.js} +1 -1
  3. package/dist/cdn/{O2BQYNH6.js → 2KLBPWCO.js} +1 -1
  4. package/dist/cdn/{ERRAWU7E.js → 2PSYTKRG.js} +1 -1
  5. package/dist/cdn/{XERAD2KY.js → 2WZ3RMR7.js} +1 -1
  6. package/dist/cdn/{EFAOYXYX.js → 32Q5BYKS.js} +1 -1
  7. package/dist/cdn/{NZMI7J3C.js → 33YWYJ4B.js} +1 -1
  8. package/dist/cdn/{BXHXV662.js → 3AJGQWWJ.js} +1 -1
  9. package/dist/cdn/{RLRWO6KO.js → 3MNBJANP.js} +1 -1
  10. package/dist/cdn/{FISA6CI5.js → 3QMAQRDF.js} +1 -1
  11. package/dist/cdn/{UVPTTSAK.js → 3UQI2KLK.js} +1 -1
  12. package/dist/cdn/{BED2H544.js → 3XA7FNHU.js} +1 -1
  13. package/dist/cdn/{6O4LPB6L.js → 43SFYWBA.js} +1 -1
  14. package/dist/cdn/{Z37E2RJH.js → 452XJTUD.js} +1 -1
  15. package/dist/cdn/{ULNQNRPI.js → 4HIKXNLJ.js} +1 -1
  16. package/dist/cdn/{NVUYQESV.js → 4K34BUTQ.js} +1 -1
  17. package/dist/cdn/{A4PW74TW.js → 4MJ6RR6C.js} +1 -1
  18. package/dist/cdn/{RDZVDEAZ.js → 4QL2L5HG.js} +1 -1
  19. package/dist/cdn/{UPFBAZK5.js → 4QLSHCCH.js} +1 -1
  20. package/dist/cdn/{S22G2XOT.js → 4VANT2H2.js} +1 -1
  21. package/dist/cdn/{2FXARGPS.js → 4Y5ZV64K.js} +1 -1
  22. package/dist/cdn/{3M5UFIEE.js → 5226JY7U.js} +1 -1
  23. package/dist/cdn/{7KRGSOZ3.js → 57QXQ42V.js} +1 -1
  24. package/dist/cdn/{JA76AUK2.js → 5HY425PW.js} +1 -1
  25. package/dist/cdn/{CLGW7DEF.js → 62PPRW5H.js} +1 -1
  26. package/dist/cdn/{DFQRNPYS.js → 64DLLWCT.js} +1 -1
  27. package/dist/cdn/{QDM2SBOB.js → 65GHL7AK.js} +1 -1
  28. package/dist/cdn/{BWXHLMC2.js → 6FKMR33M.js} +1 -1
  29. package/dist/cdn/{TUADI3PU.js → 6KELW6YE.js} +1 -1
  30. package/dist/cdn/{YESGJWW7.js → 6Z5BZD4S.js} +1 -1
  31. package/dist/cdn/{B373IKEJ.js → 7BSE4Y2A.js} +1 -1
  32. package/dist/cdn/{5AP2DWEC.js → 7SBVVOP3.js} +1 -1
  33. package/dist/cdn/7TXQADKX.js +2 -0
  34. package/dist/cdn/{GRVEMZST.js → 7VUB7AFJ.js} +1 -1
  35. package/dist/cdn/{PO4IXXZO.js → A3ZA5MCJ.js} +1 -1
  36. package/dist/cdn/{TJBJRZPF.js → A5GHD7L7.js} +1 -1
  37. package/dist/cdn/{UEUDILMX.js → AGBHCVRA.js} +1 -1
  38. package/dist/cdn/{ZSEMNLLS.js → AJAD4RUP.js} +1 -1
  39. package/dist/cdn/{W552SVC5.js → AKBJKSH3.js} +1 -1
  40. package/dist/cdn/{VQP7GKXZ.js → ARB7ESUF.js} +1 -1
  41. package/dist/cdn/{LVR27TES.js → AWIUYN3W.js} +1 -1
  42. package/dist/cdn/{2OH7UV7K.js → AXFOWKQN.js} +1 -1
  43. package/dist/cdn/{VVEC67KF.js → AYFGP5ZN.js} +1 -1
  44. package/dist/cdn/{343XMMBE.js → BC5B7PGD.js} +1 -1
  45. package/dist/cdn/{KHVD6KQW.js → BGCXNQ5U.js} +1 -1
  46. package/dist/cdn/{K5SF7YJH.js → BLRU43VQ.js} +1 -1
  47. package/dist/cdn/{WMQ4EJ4X.js → BNQQ7JMQ.js} +1 -1
  48. package/dist/cdn/{5LAKSUES.js → BWSEQK6S.js} +1 -1
  49. package/dist/cdn/{XSDJBJCI.js → BXEQ2GR7.js} +1 -1
  50. package/dist/cdn/{BLMHLFEM.js → BXMF7CDZ.js} +1 -1
  51. package/dist/cdn/{7WU3UNUO.js → C4OFSKWZ.js} +1 -1
  52. package/dist/cdn/{KXW7MXVV.js → CQ4OP5KR.js} +1 -1
  53. package/dist/cdn/{OEXF3UP6.js → CVVCPCHQ.js} +1 -1
  54. package/dist/cdn/{5H3PNWWJ.js → CWMCSQSK.js} +1 -1
  55. package/dist/cdn/{WZH57XJM.js → CWTYBVDX.js} +1 -1
  56. package/dist/cdn/{5ZBMDRAE.js → DAXUZZYI.js} +1 -1
  57. package/dist/cdn/{KNZKCSOA.js → DGBQDSJV.js} +1 -1
  58. package/dist/cdn/{2JQF5LVF.js → DJ3SEHH7.js} +1 -1
  59. package/dist/cdn/{DXGGAQ6O.js → DLCRIX3F.js} +1 -1
  60. package/dist/cdn/{AA4AFWMY.js → DZXBV52D.js} +1 -1
  61. package/dist/cdn/{7YTCC5AG.js → E4NS5EP3.js} +1 -1
  62. package/dist/cdn/{LUJNFSIX.js → E52S65JA.js} +1 -1
  63. package/dist/cdn/{VA7IMWYJ.js → EZNR44ZZ.js} +1 -1
  64. package/dist/cdn/{DEUFRQAL.js → F3QMZQEN.js} +1 -1
  65. package/dist/cdn/{7IKCCOOZ.js → FDCGR4B4.js} +1 -1
  66. package/dist/cdn/{EVBZD6PQ.js → FKAXOX2G.js} +1 -1
  67. package/dist/cdn/{TS2KNYK2.js → FRQBH455.js} +1 -1
  68. package/dist/cdn/{PIQ6X2DV.js → FWLGMF7U.js} +1 -1
  69. package/dist/cdn/{GHJPLHYF.js → G5CFCDWX.js} +1 -1
  70. package/dist/cdn/{I5XBORGZ.js → G6Z2GTC7.js} +1 -1
  71. package/dist/cdn/{KZAFUY2M.js → GCJHT65W.js} +1 -1
  72. package/dist/cdn/{EQSKBN2K.js → GEEP3X2Y.js} +1 -1
  73. package/dist/cdn/{32OJSWU4.js → GHNGYP3W.js} +1 -1
  74. package/dist/cdn/{EHQM3QME.js → GNF5NJB7.js} +1 -1
  75. package/dist/cdn/{6TW3TH3F.js → GYOEIXYM.js} +1 -1
  76. package/dist/cdn/{OHRKDYQP.js → H5ZGEYHN.js} +1 -1
  77. package/dist/cdn/{Z4LZIRG5.js → H6NJXUN6.js} +1 -1
  78. package/dist/cdn/{GTNTTWHY.js → HC3MHWTP.js} +1 -1
  79. package/dist/cdn/{JTHDHDFV.js → HEUVUMO7.js} +1 -1
  80. package/dist/cdn/{P3JB5WBB.js → HM67OIIC.js} +1 -1
  81. package/dist/cdn/{JE2GQS3N.js → HX5VKOH7.js} +1 -1
  82. package/dist/cdn/{UFETIEJX.js → I2JJUUZQ.js} +1 -1
  83. package/dist/cdn/{VXWIWALW.js → I3EZXW2U.js} +1 -1
  84. package/dist/cdn/{D6UZ4UT4.js → IB2J54RM.js} +1 -1
  85. package/dist/cdn/{R57GBQHA.js → IE2YLVLQ.js} +1 -1
  86. package/dist/cdn/{EMHIKGTD.js → IENGLEJA.js} +1 -1
  87. package/dist/cdn/{W4VZJMRA.js → IPMDK4MT.js} +1 -1
  88. package/dist/cdn/{F6O3VLJL.js → IPN4LJ7V.js} +1 -1
  89. package/dist/cdn/{T5QX3VTK.js → J3TV3V5W.js} +1 -1
  90. package/dist/cdn/{UNY3OYJL.js → JADRITCD.js} +1 -1
  91. package/dist/cdn/{4VQ35AFF.js → JQA7633S.js} +1 -1
  92. package/dist/cdn/{GB4E5URE.js → JTB4D5Y2.js} +1 -1
  93. package/dist/cdn/{U7VLLQDO.js → JW4IYKZW.js} +1 -1
  94. package/dist/cdn/{LBVOBV74.js → JY37VVM4.js} +1 -1
  95. package/dist/cdn/{MBCRKKH7.js → K6KI46YC.js} +1 -1
  96. package/dist/cdn/{ZSMJPZPF.js → KBXRLSRQ.js} +1 -1
  97. package/dist/cdn/{B3WCIKC7.js → KH3CK4NM.js} +1 -1
  98. package/dist/cdn/{ZEA6VLCU.js → KLUJHBJX.js} +1 -1
  99. package/dist/cdn/{KNI2N2OE.js → KS2NA752.js} +1 -1
  100. package/dist/cdn/{GWH5Z5JM.js → L4TUBH7W.js} +1 -1
  101. package/dist/cdn/{NFZMYCHM.js → L7U7JQYH.js} +1 -1
  102. package/dist/cdn/{SUVF7BKT.js → LDESQMMT.js} +1 -1
  103. package/dist/cdn/{53T63PTP.js → LFH2LJU7.js} +1 -1
  104. package/dist/cdn/{LCEVRYGY.js → LGKCESB4.js} +1 -1
  105. package/dist/cdn/{JTL6JSMF.js → LNKGOWH7.js} +1 -1
  106. package/dist/cdn/{YZ3OIRPH.js → LNKIDH5D.js} +1 -1
  107. package/dist/cdn/{KQNENWKG.js → LTDNG7YS.js} +1 -1
  108. package/dist/cdn/{HCRH3JZS.js → LU6GBARZ.js} +1 -1
  109. package/dist/cdn/{4HF27VJZ.js → M2M7DHX2.js} +1 -1
  110. package/dist/cdn/{RQRVOXT4.js → M2MYLPEX.js} +1 -1
  111. package/dist/cdn/MI2C6GGG.js +2 -0
  112. package/dist/cdn/MPTRSZMX.js +2 -0
  113. package/dist/cdn/{ZXOIPWKI.js → MRRD3ZPK.js} +1 -1
  114. package/dist/cdn/{VPBINWBI.js → MS7JRJ6R.js} +1 -1
  115. package/dist/cdn/{XW3SDFSJ.js → MYPHE7JL.js} +1 -1
  116. package/dist/cdn/{QIXCAWTA.js → N46RUHPV.js} +1 -1
  117. package/dist/cdn/{VG5QA56K.js → N4RWJWIQ.js} +1 -1
  118. package/dist/cdn/{ALCV7USW.js → NIIMT3SS.js} +1 -1
  119. package/dist/cdn/{VGMNRVQO.js → NJBN5VJA.js} +1 -1
  120. package/dist/cdn/{JGHCUMHU.js → NQ7AJXP5.js} +1 -1
  121. package/dist/cdn/{XQUFFAVE.js → NXMSFJ7A.js} +1 -1
  122. package/dist/cdn/{HZ7HCUI7.js → NZEXJWD3.js} +1 -1
  123. package/dist/cdn/{4QYOXNR7.js → O2756ASS.js} +1 -1
  124. package/dist/cdn/{7QQKMJPU.js → O2CHOEOT.js} +1 -1
  125. package/dist/cdn/{XAK5PGRF.js → OEEM2YOU.js} +1 -1
  126. package/dist/cdn/{VG4IR6U7.js → OIPOVOS7.js} +1 -1
  127. package/dist/cdn/{57TOHZCV.js → OIXQVXVX.js} +1 -1
  128. package/dist/cdn/{4ODQ7RZW.js → OJS2HGOV.js} +1 -1
  129. package/dist/cdn/{LN6UH2PS.js → OMUYJPC3.js} +1 -1
  130. package/dist/cdn/{O4GUUBUC.js → P6WTQUAO.js} +1 -1
  131. package/dist/cdn/{A7JT5TOB.js → PAIWJPLK.js} +1 -1
  132. package/dist/cdn/{KHJ5I2PT.js → PF2QXZ63.js} +1 -1
  133. package/dist/cdn/{46BGNUPO.js → PTX37QR4.js} +1 -1
  134. package/dist/cdn/{MVN5REQH.js → QDB572U4.js} +1 -1
  135. package/dist/cdn/{3MRNZYFC.js → QDM5XPXZ.js} +1 -1
  136. package/dist/cdn/{62A7J3S7.js → QITFIJJH.js} +1 -1
  137. package/dist/cdn/{Y6NFUACE.js → QIVD6SID.js} +1 -1
  138. package/dist/cdn/{HYIJVFBU.js → QK23OZPY.js} +1 -1
  139. package/dist/cdn/{772KVFAU.js → QLKVY23N.js} +1 -1
  140. package/dist/cdn/{Y7NACMSX.js → QOYZ3JEZ.js} +1 -1
  141. package/dist/cdn/QT5JEHEL.js +2 -0
  142. package/dist/cdn/{RWDQTF77.js → QUMXEH6O.js} +1 -1
  143. package/dist/cdn/{2PRTG4BU.js → R4BFR6CR.js} +1 -1
  144. package/dist/cdn/{SQOEXIRY.js → RL3YYALU.js} +1 -1
  145. package/dist/cdn/{OEV5YUSX.js → RLGD7QFK.js} +1 -1
  146. package/dist/cdn/{MYKITD46.js → RMXIPB4F.js} +1 -1
  147. package/dist/cdn/{UPQAP5NB.js → RS7XEIXD.js} +1 -1
  148. package/dist/cdn/{Q2GT7UBT.js → RUNR4PHJ.js} +1 -1
  149. package/dist/cdn/{FX37ZZMI.js → SKTGMQNL.js} +1 -1
  150. package/dist/cdn/{OIGWQHT5.js → SQ2BHLMX.js} +1 -1
  151. package/dist/cdn/{VNRYB6YW.js → SUKF2DNP.js} +1 -1
  152. package/dist/cdn/{3HJKBID2.js → THWXFLFI.js} +1 -1
  153. package/dist/cdn/{COEMJ5OB.js → TM62FNIH.js} +1 -1
  154. package/dist/cdn/{CWAXHT5Q.js → TPGQZBGS.js} +1 -1
  155. package/dist/cdn/{YSJPVS5A.js → TX2C55A4.js} +1 -1
  156. package/dist/cdn/{IT3XIGMY.js → U2AWOURC.js} +1 -1
  157. package/dist/cdn/{EVFK6AMJ.js → UPEU3R2L.js} +1 -1
  158. package/dist/cdn/{XW6XB654.js → UPJWDEDA.js} +1 -1
  159. package/dist/cdn/{2YLEEWRD.js → UPP7IN72.js} +1 -1
  160. package/dist/cdn/{F7R5YKHA.js → UQN4KPNM.js} +1 -1
  161. package/dist/cdn/{TJQOWSFH.js → V5KZVJFN.js} +1 -1
  162. package/dist/cdn/V64WJLLP.js +2 -0
  163. package/dist/cdn/{OZBNYWU5.js → V7B4YUMV.js} +1 -1
  164. package/dist/cdn/{BHUY2MZ4.js → VF3Q4EFN.js} +1 -1
  165. package/dist/cdn/{BTH6ICYS.js → VF5OXNNE.js} +1 -1
  166. package/dist/cdn/{MAHJNLQC.js → VRQRANLV.js} +1 -1
  167. package/dist/cdn/{RU4GEDSF.js → VUEBCRTT.js} +1 -1
  168. package/dist/cdn/{KRA6QOT6.js → W5ABTJHB.js} +1 -1
  169. package/dist/cdn/{DSOPKYLA.js → WB6NANDC.js} +1 -1
  170. package/dist/cdn/{652DKGDP.js → WCBA3F5G.js} +1 -1
  171. package/dist/cdn/{JX4IFVUU.js → WH46XXVN.js} +1 -1
  172. package/dist/cdn/{BVVHEV3V.js → WUDIJWPW.js} +1 -1
  173. package/dist/cdn/{XINADPUJ.js → X2MXOMPH.js} +1 -1
  174. package/dist/cdn/{JAY6K5KC.js → XFRWBORH.js} +1 -1
  175. package/dist/cdn/{5S576S4D.js → Y6QLR3JD.js} +1 -1
  176. package/dist/cdn/{ZGWAFQXH.js → YCCZLRZB.js} +1 -1
  177. package/dist/cdn/{26SY6GIW.js → YK2NREJU.js} +1 -1
  178. package/dist/cdn/{NC3XVYVP.js → YLCINN3O.js} +1 -1
  179. package/dist/cdn/{4KVF46EC.js → YRRD6IOX.js} +1 -1
  180. package/dist/cdn/{LHZSABUF.js → ZAXHNBK4.js} +1 -1
  181. package/dist/cdn/{6K4NWP3O.js → ZCZAVJTC.js} +1 -1
  182. package/dist/cdn/{FIHXIVM5.js → ZDMBWQNI.js} +1 -1
  183. package/dist/cdn/{NT4VPWMH.js → ZLYS2U4C.js} +1 -1
  184. package/dist/cdn/{ELE6YHIX.js → ZRR7SK7S.js} +1 -1
  185. package/dist/cdn/{VT42KE7G.js → ZZDZPOW3.js} +1 -1
  186. package/dist/cdn/index.js +1 -1
  187. package/dist/chunks/layer-utils.js +23 -19
  188. package/dist/chunks/runtime.js +1 -1
  189. package/dist/components/arcgis-link-chart/customElement.d.ts +14 -14
  190. package/dist/components/arcgis-map/customElement.d.ts +14 -14
  191. package/dist/components/arcgis-slider-opacity-legacy/customElement.d.ts +1 -1
  192. package/dist/components/arcgis-utility-network-trace-location/customElement.js +11 -10
  193. package/dist/docs/api.json +1 -1
  194. package/dist/docs/docs.json +1 -1
  195. package/dist/docs/web-types.json +1 -1
  196. package/package.json +4 -4
  197. package/dist/cdn/7KIPPN5I.js +0 -2
  198. package/dist/cdn/CPZNU54J.js +0 -2
  199. package/dist/cdn/ECRSRZLK.js +0 -2
  200. package/dist/cdn/IKIJU2MC.js +0 -2
  201. package/dist/cdn/MATFNQVX.js +0 -2
@@ -1,9 +1,9 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.0/LICENSE.txt */
2
- function a(e, n) {
2
+ function a(e, t) {
3
3
  if (!e.map)
4
4
  return;
5
- const { map: t } = e;
6
- t.layers.includes(n) || (t.add(n), t.reorder(n, t.layers.length - 1));
5
+ const { map: n } = e;
6
+ n.layers.includes(t) || (n.add(t), n.reorder(t, n.layers.length - 1));
7
7
  }
8
8
  function o(e) {
9
9
  return e != null && typeof e == "object" && "type" in e && e.type === "feature";
@@ -14,36 +14,40 @@ function s(e) {
14
14
  function f(e) {
15
15
  return e != null && typeof e == "object" && "type" in e && e.type === "graphics";
16
16
  }
17
+ function p(e) {
18
+ return e?.type === "subtype-sublayer";
19
+ }
17
20
  function c(e) {
18
21
  return o(e) && s(e);
19
22
  }
20
- function p(e, n) {
21
- const t = n?.type === "subtype-sublayer" ? n.parent : n;
23
+ function d(e, t) {
24
+ const n = t?.type === "subtype-sublayer" ? t.parent : t;
22
25
  return e.allLayerViews.find((r) => {
23
- const i = r.layer;
24
- return i === t || "sublayers" in i && i.sublayers != null && i.sublayers.includes(t);
26
+ const u = r.layer;
27
+ return u === n || "sublayers" in u && u.sublayers != null && u.sublayers.includes(n);
25
28
  });
26
29
  }
27
- function u(e) {
28
- const n = e?.type;
29
- return n === "binning" || n === "cluster";
30
+ function i(e) {
31
+ const t = e?.type;
32
+ return t === "binning" || t === "cluster";
30
33
  }
31
- function d(e, n) {
34
+ function y(e, t) {
32
35
  if (!c(e))
33
36
  return;
34
- const t = n?.graphic, r = e.featureReduction;
35
- if (t) {
36
- if (t.isAggregate) {
37
- const i = t.origin;
38
- return i && "featureReductionProvider" in i && r ? u(r) ? r : null : void 0;
37
+ const n = t?.graphic, r = e.featureReduction;
38
+ if (n) {
39
+ if (n.isAggregate) {
40
+ const u = n.origin;
41
+ return u && "featureReductionProvider" in u && r ? i(r) ? r : null : void 0;
39
42
  }
40
43
  return e;
41
44
  }
42
- return n?.checkFeatureReduction && r ? u(r) ? r : null : e;
45
+ return t?.checkFeatureReduction && r ? i(r) ? r : null : e;
43
46
  }
44
47
  export {
45
48
  a,
46
- p as f,
47
- d as g,
49
+ p as b,
50
+ d as f,
51
+ y as g,
48
52
  f as i
49
53
  };
@@ -3,7 +3,7 @@ import "../cdn/main.css";
3
3
  import { css as t } from "lit";
4
4
  import { makeRuntime as r } from "@arcgis/lumina";
5
5
  import { trackAccess as i, createObservable as a, createTrackingTarget as s, runTracked as n } from "@arcgis/core/applications/Components/reactiveUtils.js";
6
- const o = t`:host{display:block;box-sizing:border-box;*,*:before,*:after{box-sizing:inherit}}:host([hidden]){display:none}:host(:not(arcgis-basemap-gallery-item,arcgis-layer-list-item,arcgis-print-custom-text-elements,arcgis-print-dpi-input,arcgis-print-export-button,arcgis-print-exported-link,arcgis-print-exports-panel,arcgis-print-format-select,arcgis-print-layout-advanced-options,arcgis-print-layout-panel,arcgis-print-main-panel,arcgis-print-map-only-advanced-options,arcgis-print-map-only-panel,arcgis-print-out-spatial-reference-input,arcgis-print-preview-input,arcgis-print-scale-section,arcgis-print-template-select,arcgis-print-template-selector,arcgis-labeled-switch,arcgis-measurement-content,arcgis-version-management-service-item,arcgis-version-management-version-item,arcgis-version-management-version-list,arcgis-version-management-version-properties,arcgis-video-player-action-bar,arcgis-video-player-actions-group,arcgis-video-player-controls-group,arcgis-video-player-metadata,arcgis-video-player-settings,arcgis-video-player-slider)){font-family:var(--calcite-font-family)}`, e = r({ defaultAssetPath: "https://js.arcgis.com/5.0.7/map-components/", hydratedAttribute: "hydrated", commonStyles: o }), { customElement: l, getAssetPath: m, setAssetPath: d } = e;
6
+ const o = t`:host{display:block;box-sizing:border-box;*,*:before,*:after{box-sizing:inherit}}:host([hidden]){display:none}:host(:not(arcgis-basemap-gallery-item,arcgis-layer-list-item,arcgis-print-custom-text-elements,arcgis-print-dpi-input,arcgis-print-export-button,arcgis-print-exported-link,arcgis-print-exports-panel,arcgis-print-format-select,arcgis-print-layout-advanced-options,arcgis-print-layout-panel,arcgis-print-main-panel,arcgis-print-map-only-advanced-options,arcgis-print-map-only-panel,arcgis-print-out-spatial-reference-input,arcgis-print-preview-input,arcgis-print-scale-section,arcgis-print-template-select,arcgis-print-template-selector,arcgis-labeled-switch,arcgis-measurement-content,arcgis-version-management-service-item,arcgis-version-management-version-item,arcgis-version-management-version-list,arcgis-version-management-version-properties,arcgis-video-player-action-bar,arcgis-video-player-actions-group,arcgis-video-player-controls-group,arcgis-video-player-metadata,arcgis-video-player-settings,arcgis-video-player-slider)){font-family:var(--calcite-font-family)}`, e = r({ defaultAssetPath: "https://js.arcgis.com/5.0.8/map-components/", hydratedAttribute: "hydrated", commonStyles: o }), { customElement: l, getAssetPath: m, setAssetPath: d } = e;
7
7
  e.t = i;
8
8
  e.o = a;
9
9
  e.c = s;
@@ -185,12 +185,13 @@ export abstract class ArcgisLinkChart extends LitElement {
185
185
  get center(): LinkChartView["center"];
186
186
  set center(value: LinkChartView["center"] | null | undefined | number[] | string);
187
187
  /**
188
- * Specifies constraints to scale, zoom, and rotation that may be applied to the LinkChartView.
188
+ * Specifies constraints to scale, zoom, and rotation that may be applied to the Link Chart.
189
189
  *
190
+ * @see [MapViewConstraints](https://developers.arcgis.com/javascript/latest/references/core/views/2d/MapViewConstraints/)
190
191
  * @see [TileInfo#create()](https://developers.arcgis.com/javascript/latest/references/core/layers/support/TileInfo/#create)
191
192
  * @see [Zoom and LODs](https://developers.arcgis.com/javascript/latest/references/core/views/View2D/#mapview-lods)
192
193
  * @example
193
- * view.constraints = {
194
+ * view.constraints = new MapViewConstraints({
194
195
  * geometry: { // Constrain lateral movement to Lower Manhattan
195
196
  * type: "extent",
196
197
  * xmin: -74.020,
@@ -201,9 +202,9 @@ export abstract class ArcgisLinkChart extends LitElement {
201
202
  * minScale: 500000, // User cannot zoom out beyond a scale of 1:500,000
202
203
  * maxScale: 0, // User can overzoom tiles
203
204
  * rotationEnabled: false // Disables map rotation
204
- * };
205
+ * });
205
206
  * @example
206
- * // This snippet shows how to set the MapView scale 1:1 while generating additional LODs for the MapView.constraints.
207
+ * // This snippet shows how to set the Link Chart scale 1:1 while generating additional LODs for the constraints.
207
208
  * const spatialReference = new SpatialReference({
208
209
  * wkid: 2154
209
210
  * });
@@ -220,17 +221,16 @@ export abstract class ArcgisLinkChart extends LitElement {
220
221
  * });
221
222
  * const lods = tileInfo.lods;
222
223
  *
223
- * let view = new MapView({
224
- * container: "viewDiv",
225
- * map,
226
- * scale: 1,
227
- * center,
228
- * spatialReference,
229
- * constraints: {
230
- * lods: lods,
231
- * snapToZoom: false
232
- * }
224
+ * const constraints = new MapViewConstraints({
225
+ * snapToZoom: false,
226
+ * lods
233
227
  * });
228
+ *
229
+ * const arcgisLinkChart = document.querySelector("arcgis-link-chart");
230
+ * arcgisLinkChart.spatialReference = spatialReference;
231
+ * arcgisLinkChart.center = center;
232
+ * arcgisLinkChart.scale = 1;
233
+ * arcgisLinkChart.constraints = constraints;
234
234
  */
235
235
  accessor constraints: MapViewConstraints;
236
236
  /**
@@ -297,12 +297,13 @@ export abstract class ArcgisMap extends LitElement {
297
297
  get center(): MapView["center"];
298
298
  set center(value: MapView["center"] | null | undefined | number[] | string);
299
299
  /**
300
- * Specifies constraints to scale, zoom, and rotation that may be applied to the map.
300
+ * Specifies constraints to scale, zoom, and rotation that may be applied to the Map.
301
301
  *
302
+ * @see [MapViewConstraints](https://developers.arcgis.com/javascript/latest/references/core/views/2d/MapViewConstraints/)
302
303
  * @see [TileInfo#create()](https://developers.arcgis.com/javascript/latest/references/core/layers/support/TileInfo/#create)
303
304
  * @see [Zoom and LODs](https://developers.arcgis.com/javascript/latest/references/core/views/View2D/#mapview-lods)
304
305
  * @example
305
- * view.constraints = {
306
+ * view.constraints = new MapViewConstraints({
306
307
  * geometry: { // Constrain lateral movement to Lower Manhattan
307
308
  * type: "extent",
308
309
  * xmin: -74.020,
@@ -313,9 +314,9 @@ export abstract class ArcgisMap extends LitElement {
313
314
  * minScale: 500000, // User cannot zoom out beyond a scale of 1:500,000
314
315
  * maxScale: 0, // User can overzoom tiles
315
316
  * rotationEnabled: false // Disables map rotation
316
- * };
317
+ * });
317
318
  * @example
318
- * // This snippet shows how to set the MapView scale 1:1 while generating additional LODs for the MapView.constraints.
319
+ * // This snippet shows how to set the Map scale 1:1 while generating additional LODs for the constraints.
319
320
  * const spatialReference = new SpatialReference({
320
321
  * wkid: 2154
321
322
  * });
@@ -332,17 +333,16 @@ export abstract class ArcgisMap extends LitElement {
332
333
  * });
333
334
  * const lods = tileInfo.lods;
334
335
  *
335
- * let view = new MapView({
336
- * container: "viewDiv",
337
- * map,
338
- * scale: 1,
339
- * center,
340
- * spatialReference,
341
- * constraints: {
342
- * lods: lods,
343
- * snapToZoom: false
344
- * }
336
+ * const constraints = new MapViewConstraints({
337
+ * snapToZoom: false,
338
+ * lods
345
339
  * });
340
+ *
341
+ * const arcgisMap = document.querySelector("arcgis-map");
342
+ * arcgisMap.spatialReference = spatialReference;
343
+ * arcgisMap.center = center;
344
+ * arcgisMap.scale = 1;
345
+ * arcgisMap.constraints = constraints;
346
346
  */
347
347
  accessor constraints: MapViewConstraints;
348
348
  /**
@@ -263,7 +263,7 @@ export abstract class ArcgisSliderOpacityLegacy extends LitElement {
263
263
  * Defines the color to be used within the slider's track. The renderer assigned to the layer can be used to
264
264
  * match the `trackFillColor` to the current layer symbology.
265
265
  *
266
- * @see [Color](https://developers.arcgis.com/javascript/latest/references/core/esri-Color.html)
266
+ * @see [Color](https://developers.arcgis.com/javascript/latest/references/core/Color/)
267
267
  * @example
268
268
  * ```js
269
269
  * opacitySlider.sliderStyle = {
@@ -12,8 +12,9 @@ import b from "@arcgis/core/symbols/SimpleMarkerSymbol.js";
12
12
  import { LitElement as x, createEvent as w } from "@arcgis/lumina";
13
13
  import { log as l } from "@arcgis/toolkit/log";
14
14
  import { u as I } from "../../chunks/useT9n.js";
15
- const C = L`calcite-block{--calcite-block-content-space: 0;--calcite-block-border-color: transparent;margin:0}.add-location-button{--calcite-button-border-color: var(--calcite-color-border-1);--calcite-button-icon-color: var(--calcite-color-text-1);--calcite-button-text-color: var(--calcite-color-text-1)}.button-container{justify-content:center;display:grid}.clear-button{--calcite-button-border-color: transparent}`;
16
- class F extends x {
15
+ import { b as C } from "../../chunks/layer-utils.js";
16
+ const F = L`calcite-block{--calcite-block-content-space: 0;--calcite-block-border-color: transparent;margin:0}.add-location-button{--calcite-button-border-color: var(--calcite-color-border-1);--calcite-button-icon-color: var(--calcite-color-text-1);--calcite-button-text-color: var(--calcite-color-text-1)}.button-container{justify-content:center;display:grid}.clear-button{--calcite-button-border-color: transparent}`;
17
+ class G extends x {
17
18
  constructor() {
18
19
  super(...arguments), this.messages = I({ blocking: !0 }), this.isSelectWaiting = !1, this.traceLocationType = "starting-point", this.spatialTolerance = 0.05, this.autoDestroyDisabled = !1, this.arcgisTraceLocationChange = w(), this.arcgisTraceLocationSelectEnd = w(), this.arcgisTraceLocationSelectStart = w();
19
20
  }
@@ -21,7 +22,7 @@ class F extends x {
21
22
  this.properties = { isSelectWaiting: 16, beforeTraceLocationSelectStart: 0, afterHitTest: 0, view: 0, traceLocationType: 1, traceLocations: 0, filterLayers: 0, sketchViewModel: 0, flagLayer: 0, spatialTolerance: 9, autoDestroyDisabled: 5, utilityNetwork: 0 };
22
23
  }
23
24
  static {
24
- this.styles = C;
25
+ this.styles = F;
25
26
  }
26
27
  async destroy() {
27
28
  this._resetAfterSketch(!1), await this.manager.destroy();
@@ -173,20 +174,20 @@ class F extends x {
173
174
  }
174
175
  };
175
176
  } else if (!n) {
176
- const i = this._edgeSourceLayerIds.includes(e.layer.layerId), c = a?.getTerminalConfiguration(e), u = c ? c.terminals[0].id : i ? -1 : 1, h = i ? 0.5 : -1;
177
+ const i = C(e.layer) ? e.layer.parent : e.layer, c = i && this._edgeSourceLayerIds.includes(i.layerId), u = a?.getTerminalConfiguration(e), h = u ? u.terminals[0].id : c ? -1 : 1, d = c ? 0.5 : -1;
177
178
  return {
178
179
  traceLocation: new m({
179
180
  type: r,
180
181
  isFilterBarrier: !1,
181
182
  globalId: s,
182
- terminalId: u,
183
- percentAlong: h
183
+ terminalId: h,
184
+ percentAlong: d
184
185
  }),
185
186
  flagProperties: {
186
187
  title: o,
187
188
  expanded: !1,
188
- terminalConfiguration: c ?? void 0,
189
- selectedTerminals: c ? /* @__PURE__ */ new Set([u]) : void 0
189
+ terminalConfiguration: u ?? void 0,
190
+ selectedTerminals: u ? /* @__PURE__ */ new Set([h]) : void 0
190
191
  },
191
192
  spatialProperties: {
192
193
  mapPoint: t
@@ -289,7 +290,7 @@ class F extends x {
289
290
  return p`<div class="root">${this.renderAddLocationBlock()}</div>`;
290
291
  }
291
292
  }
292
- T("arcgis-utility-network-trace-location", F);
293
+ T("arcgis-utility-network-trace-location", G);
293
294
  export {
294
- F as ArcgisUtilityNetworkTraceLocation
295
+ G as ArcgisUtilityNetworkTraceLocation
295
296
  };