@arcgis/map-components 5.1.0-next.3 → 5.1.0-next.31

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 (600) hide show
  1. package/README.md +2 -2
  2. package/dist/cdn/22YBLZZ5.js +2 -0
  3. package/dist/cdn/{ATRTNMMR.js → 23HX6BD2.js} +1 -1
  4. package/dist/cdn/2AYGSNEO.js +2 -0
  5. package/dist/cdn/{5UDFTH5U.js → 2CZVQJFN.js} +1 -1
  6. package/dist/cdn/{XMZSFKKO.js → 2E5U7E4Y.js} +1 -1
  7. package/dist/cdn/{HXPCADLA.js → 2HRXVQNT.js} +1 -1
  8. package/dist/cdn/{GKW3DDEQ.js → 2NW3IA4C.js} +1 -1
  9. package/dist/cdn/2Q4WMDEY.js +2 -0
  10. package/dist/cdn/{B6T4CWYF.js → 34K7KDP3.js} +1 -1
  11. package/dist/cdn/{2IOCPFSI.js → 34Z77QHJ.js} +1 -1
  12. package/dist/cdn/37VDMTVJ.js +2 -0
  13. package/dist/cdn/{GLV3FW3Z.js → 3NTRW2I5.js} +1 -1
  14. package/dist/cdn/3ON5H2G5.js +2 -0
  15. package/dist/cdn/{AJHRJ5EA.js → 3W3MBD25.js} +1 -1
  16. package/dist/cdn/42IKCJ2T.js +2 -0
  17. package/dist/cdn/44APAUMM.js +2 -0
  18. package/dist/cdn/{JBJ5NQTI.js → 4IFAJH4D.js} +1 -1
  19. package/dist/cdn/4J3CK2QK.js +2 -0
  20. package/dist/cdn/{3FSARSVN.js → 4JCY4NHX.js} +1 -1
  21. package/dist/cdn/{NGKNECON.js → 4MNQPYT6.js} +1 -1
  22. package/dist/cdn/{ZYMCKBTT.js → 4YQZ3XVG.js} +1 -1
  23. package/dist/cdn/{CQ4QHVEL.js → 54WDNPKC.js} +1 -1
  24. package/dist/cdn/{ENDLVIST.js → 5KRCPR2U.js} +1 -1
  25. package/dist/cdn/5ZHD4P65.js +2 -0
  26. package/dist/cdn/{EYW7YQF6.js → 63N5ERFL.js} +1 -1
  27. package/dist/cdn/6I4ST6BV.js +2 -0
  28. package/dist/cdn/{AP2IFWYH.js → 6M6VT4H6.js} +1 -1
  29. package/dist/cdn/6OMMETC4.js +2 -0
  30. package/dist/cdn/{BEXRPBHT.js → 6RKD6GFP.js} +1 -1
  31. package/dist/cdn/{C4DJABUI.js → 6UNF7T5E.js} +1 -1
  32. package/dist/cdn/{IFSGM32L.js → 7FS3KABY.js} +1 -1
  33. package/dist/cdn/7LEGZD2O.js +2 -0
  34. package/dist/cdn/{EENOVGOS.js → 7LYFC7SC.js} +1 -1
  35. package/dist/cdn/{THXN5VZY.js → 7RUBJPVS.js} +1 -1
  36. package/dist/cdn/{H5QDPW5Y.js → 7SZFENQP.js} +1 -1
  37. package/dist/cdn/{34V5UMTY.js → 7VRU553O.js} +1 -1
  38. package/dist/cdn/7WKBNAQD.js +2 -0
  39. package/dist/cdn/{KYOYYCFY.js → 7XJ2H56Y.js} +1 -1
  40. package/dist/cdn/{4363SIKC.js → A6SBSKY7.js} +1 -1
  41. package/dist/cdn/{WAASVZRG.js → AA6JMN5J.js} +1 -1
  42. package/dist/cdn/{HO4JUZ6N.js → AH4HKYPE.js} +1 -1
  43. package/dist/cdn/AR47FOKN.js +2 -0
  44. package/dist/cdn/ATBESYRQ.js +2 -0
  45. package/dist/cdn/AZNCJT62.js +2 -0
  46. package/dist/cdn/{TVTQW6GC.js → B2G5OTNZ.js} +1 -1
  47. package/dist/cdn/{FARFUCNU.js → B4GFOGFO.js} +1 -1
  48. package/dist/cdn/BHB3PSCU.js +2 -0
  49. package/dist/cdn/BJEDYTXQ.js +2 -0
  50. package/dist/cdn/CAXI6CJY.js +2 -0
  51. package/dist/cdn/{6ZNO34O5.js → CCKYOWZO.js} +1 -1
  52. package/dist/cdn/CDVHDTSM.js +2 -0
  53. package/dist/cdn/{HY73HOSP.js → CDVPXUWH.js} +1 -1
  54. package/dist/cdn/D27YXH3W.js +2 -0
  55. package/dist/cdn/{3PQT2S7Z.js → D3WZ5UUP.js} +1 -1
  56. package/dist/cdn/DCI5XVB6.js +2 -0
  57. package/dist/cdn/DJMRUJ7O.js +2 -0
  58. package/dist/cdn/DQUREUJ4.js +2 -0
  59. package/dist/cdn/DVMAHZFP.js +2 -0
  60. package/dist/cdn/DW3K3W57.js +2 -0
  61. package/dist/cdn/E3ATQTQG.js +2 -0
  62. package/dist/cdn/{OSPWEZQJ.js → EPII4PE5.js} +1 -1
  63. package/dist/cdn/EQPYSPT5.js +2 -0
  64. package/dist/cdn/{E2JLZZFR.js → ET6WL43W.js} +1 -1
  65. package/dist/cdn/EUFSNMR4.js +2 -0
  66. package/dist/cdn/{UKKUFJLL.js → EY7SYUYY.js} +1 -1
  67. package/dist/cdn/EYX4XXBU.js +2 -0
  68. package/dist/cdn/G3DJLLNR.js +2 -0
  69. package/dist/cdn/G44JDQZ4.js +2 -0
  70. package/dist/cdn/{B5XR4LXQ.js → GIICS6MH.js} +1 -1
  71. package/dist/cdn/{6RDB26PI.js → GKZICLQB.js} +1 -1
  72. package/dist/cdn/{GHFKQEFW.js → GST63XCD.js} +1 -1
  73. package/dist/cdn/{X26CF5AU.js → H337G76Z.js} +1 -1
  74. package/dist/cdn/HA465EKI.js +2 -0
  75. package/dist/cdn/{J7ZNOOZ4.js → HEAH7MYD.js} +1 -1
  76. package/dist/cdn/{QLPUP6A3.js → HHJN3Q6G.js} +1 -1
  77. package/dist/cdn/HIASLYKF.js +2 -0
  78. package/dist/cdn/HSXR7HAG.js +2 -0
  79. package/dist/cdn/{PMQLTMQ4.js → IEC2UOVC.js} +1 -1
  80. package/dist/cdn/{5CYQI4SX.js → IEOFMCCO.js} +1 -1
  81. package/dist/cdn/INULU27Q.js +2 -0
  82. package/dist/cdn/IP6MMWXP.js +2 -0
  83. package/dist/cdn/IQPGSWSL.js +2 -0
  84. package/dist/cdn/ITTHJAUG.js +2 -0
  85. package/dist/cdn/{HOYFIMNJ.js → J5H3B35H.js} +1 -1
  86. package/dist/cdn/J756LIIM.js +2 -0
  87. package/dist/cdn/JF4W5UZ7.js +2 -0
  88. package/dist/cdn/{XOP2SCW3.js → JIZ6BEMO.js} +1 -1
  89. package/dist/cdn/JODAZMW3.js +2 -0
  90. package/dist/cdn/JWTRJAFZ.js +2 -0
  91. package/dist/cdn/{T2ZF4XIZ.js → JYDGMTWJ.js} +1 -1
  92. package/dist/cdn/KEKWNLTW.js +2 -0
  93. package/dist/cdn/{3YA25S2J.js → KUFUPG4B.js} +1 -1
  94. package/dist/cdn/KUFW2OOW.js +2 -0
  95. package/dist/cdn/{27HOTQNB.js → KUUX4Y7X.js} +1 -1
  96. package/dist/cdn/KV2UORZN.js +2 -0
  97. package/dist/cdn/KVIUDTBB.js +2 -0
  98. package/dist/cdn/KX25AEKF.js +2 -0
  99. package/dist/cdn/KX5PBTVM.js +2 -0
  100. package/dist/cdn/{UKNKW6MH.js → KYJD5CQL.js} +1 -1
  101. package/dist/cdn/{556MC5SF.js → L6D5F5SD.js} +1 -1
  102. package/dist/cdn/LB32PLWG.js +2 -0
  103. package/dist/cdn/LGEWMTBM.js +2 -0
  104. package/dist/cdn/{7ZAVSDBZ.js → LGO4NCZM.js} +1 -1
  105. package/dist/cdn/{3OE7JG5I.js → LO6QWIYR.js} +1 -1
  106. package/dist/cdn/{TSPKG2WN.js → LONLK6RH.js} +2 -2
  107. package/dist/cdn/{EQCNO3G4.js → LY5GZCVF.js} +1 -1
  108. package/dist/cdn/M67RIQAG.js +2 -0
  109. package/dist/cdn/{TPOLS4YM.js → M6ZVATVW.js} +1 -1
  110. package/dist/cdn/MD2KA2VE.js +2 -0
  111. package/dist/cdn/{NW44UOKT.js → MFQWNYVF.js} +1 -1
  112. package/dist/cdn/MHVCLFTY.js +2 -0
  113. package/dist/cdn/MJQIWRRC.js +2 -0
  114. package/dist/cdn/{BQMLNDT6.js → MR5JAWKH.js} +1 -1
  115. package/dist/cdn/MX7LKRXI.js +2 -0
  116. package/dist/cdn/{C7YN3AZA.js → MYATZCJP.js} +1 -1
  117. package/dist/cdn/NBA6VGFB.js +2 -0
  118. package/dist/cdn/NQ53C2SG.js +2 -0
  119. package/dist/cdn/NWQEVQPN.js +2 -0
  120. package/dist/cdn/O5TDDX7K.js +2 -0
  121. package/dist/cdn/ODGZ4RGD.js +2 -0
  122. package/dist/cdn/OHUCKLK5.js +2 -0
  123. package/dist/cdn/ONRBFGY5.js +2 -0
  124. package/dist/cdn/{UM2FDZJJ.js → OPATO46Y.js} +1 -1
  125. package/dist/cdn/{IZOPV2VQ.js → OZICG5FF.js} +1 -1
  126. package/dist/cdn/P4DS6L6N.js +2 -0
  127. package/dist/cdn/P4RZQHRD.js +2 -0
  128. package/dist/cdn/P5MTPM2I.js +2 -0
  129. package/dist/cdn/{K27JJT2P.js → P6I2HVEZ.js} +1 -1
  130. package/dist/cdn/PL6H7VTE.js +2 -0
  131. package/dist/cdn/{MQ6HO6LA.js → PPOG4NAA.js} +1 -1
  132. package/dist/cdn/{37TNG76C.js → PUJPVTUS.js} +1 -1
  133. package/dist/cdn/PY4FXGEA.js +2 -0
  134. package/dist/cdn/PZC5TBXA.js +2 -0
  135. package/dist/cdn/Q3NBRWIQ.js +2 -0
  136. package/dist/cdn/QAXSOHDW.js +2 -0
  137. package/dist/cdn/QB7F6BBW.js +2 -0
  138. package/dist/cdn/{ZATCJZP2.js → QCCYKLEL.js} +1 -1
  139. package/dist/cdn/QDHEAX7N.js +2 -0
  140. package/dist/cdn/{D4BT63BV.js → QRIK2V22.js} +1 -1
  141. package/dist/cdn/{KAXJKSFB.js → QUBU7FFY.js} +1 -1
  142. package/dist/cdn/R5KGKAEB.js +4 -0
  143. package/dist/cdn/R7BJHEHH.js +2 -0
  144. package/dist/cdn/{CNMF4MVD.js → R7YMIGPE.js} +1 -1
  145. package/dist/cdn/RB4ZCMX4.js +2 -0
  146. package/dist/cdn/{JFDN4YD7.js → RG3A222F.js} +1 -1
  147. package/dist/cdn/{TCG6VGIB.js → RG4S7JVP.js} +1 -1
  148. package/dist/cdn/{FYYKRDW3.js → RVGCVXBV.js} +1 -1
  149. package/dist/cdn/S4I3X6AX.js +2 -0
  150. package/dist/cdn/{CIUAWIL5.js → S4NUCPRQ.js} +2 -2
  151. package/dist/cdn/{W2A4ONZA.js → SEPRRGUF.js} +1 -1
  152. package/dist/cdn/SJUWADQP.js +2 -0
  153. package/dist/cdn/SKEB63NG.js +2 -0
  154. package/dist/cdn/SMHB2XNO.js +2 -0
  155. package/dist/cdn/SUAJ2D6L.js +2 -0
  156. package/dist/cdn/{JLK664TB.js → T36AHJZT.js} +1 -1
  157. package/dist/cdn/T4WQQ7MP.js +2 -0
  158. package/dist/cdn/T5F57ZKY.js +2 -0
  159. package/dist/cdn/{RN44YUJM.js → TMXAN3O2.js} +1 -1
  160. package/dist/cdn/TTZN7HIT.js +2 -0
  161. package/dist/cdn/{7IBXOWTT.js → TZHRLKZR.js} +1 -1
  162. package/dist/cdn/TZXIPFOD.js +2 -0
  163. package/dist/cdn/U3CQZ6CI.js +2 -0
  164. package/dist/cdn/U557VRFM.js +2 -0
  165. package/dist/cdn/U5PXE2DX.js +2 -0
  166. package/dist/cdn/{YC6JWXOW.js → U7GSOBVS.js} +1 -1
  167. package/dist/cdn/{FC6W37TT.js → UCWDM6D2.js} +1 -1
  168. package/dist/cdn/UEF6TPIT.js +2 -0
  169. package/dist/cdn/UKG6DYFF.js +2 -0
  170. package/dist/cdn/{RP5SO6BA.js → UMYVF65X.js} +1 -1
  171. package/dist/cdn/{BUE7MOVD.js → US4GUOT3.js} +1 -1
  172. package/dist/cdn/UXYBJXLL.js +2 -0
  173. package/dist/cdn/{OKXZJQ2B.js → UZFDHLQM.js} +1 -1
  174. package/dist/cdn/V47NU4HK.js +2 -0
  175. package/dist/cdn/{JTFZMNCO.js → V5FNVAX5.js} +1 -1
  176. package/dist/cdn/{GYTQDFSL.js → V5WAYR44.js} +1 -1
  177. package/dist/cdn/VE5FQNBP.js +2 -0
  178. package/dist/cdn/VGR7AU6K.js +2 -0
  179. package/dist/cdn/VNCC2KP5.js +2 -0
  180. package/dist/cdn/{TUW6NLYY.js → VQ4QWOQY.js} +1 -1
  181. package/dist/cdn/VWHIK5GL.js +2 -0
  182. package/dist/cdn/{NWK2WHZF.js → W5TN3LOU.js} +1 -1
  183. package/dist/cdn/WJ4JHHNJ.js +2 -0
  184. package/dist/cdn/{HK6EWWUB.js → WO76BRRK.js} +1 -1
  185. package/dist/cdn/{H5UJFKXO.js → X7IBOHSI.js} +1 -1
  186. package/dist/cdn/XDDOM7RA.js +2 -0
  187. package/dist/cdn/{32K266S4.js → XIUUCICM.js} +1 -1
  188. package/dist/cdn/XP7ST6TO.js +2 -0
  189. package/dist/cdn/XUESBDWT.js +2 -0
  190. package/dist/cdn/XV2NVNDJ.js +2 -0
  191. package/dist/cdn/{ILPNFQWH.js → XW72RT5D.js} +1 -1
  192. package/dist/cdn/Y2HW37MS.js +2 -0
  193. package/dist/cdn/Y6CUKQ7R.js +2 -0
  194. package/dist/cdn/{ZHINQNZ2.js → Y6IN6NEC.js} +1 -1
  195. package/dist/cdn/YBL2FOGP.js +2 -0
  196. package/dist/cdn/{AFU3S7KW.js → YC5JACID.js} +1 -1
  197. package/dist/cdn/YQMPW2VC.js +2 -0
  198. package/dist/cdn/YRUX64GE.js +2 -0
  199. package/dist/cdn/{WJ5HD2YN.js → YSPFHM7A.js} +1 -1
  200. package/dist/cdn/ZBANIHB3.js +2 -0
  201. package/dist/cdn/ZOAOTITT.js +2 -0
  202. package/dist/cdn/{62WRVJ3U.js → ZW733SWS.js} +1 -1
  203. package/dist/cdn/ZXEQN6RW.js +2 -0
  204. package/dist/cdn/ZZAD2X6F.js +2 -0
  205. package/dist/cdn/assets/elevation-profile/t9n/messages.en.json +1 -1
  206. package/dist/cdn/assets/fonts/CalciteWebCoreIcons.woff2 +0 -0
  207. package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.en.json +1 -1
  208. package/dist/cdn/index.js +1 -1
  209. package/dist/cdn/main.css +1 -1
  210. package/dist/chunks/AnalysisViewModel.js +106 -99
  211. package/dist/chunks/action-utils.js +2 -2
  212. package/dist/chunks/component-utils.js +85 -72
  213. package/dist/chunks/esri-main.js +1 -1
  214. package/dist/chunks/feature-utils.js +73 -73
  215. package/dist/chunks/heading.js +2 -2
  216. package/dist/chunks/layer-utils.js +32 -11
  217. package/dist/chunks/measurementUtils.js +45 -22
  218. package/dist/chunks/slots.js +27 -27
  219. package/dist/chunks/time-utils.js +24 -22
  220. package/dist/chunks/useArcgisViewReadyError.js +7 -7
  221. package/dist/chunks/useViewModel.js +5 -5
  222. package/dist/components/arcgis-area-measurement-2d/customElement.d.ts +19 -11
  223. package/dist/components/arcgis-area-measurement-2d/customElement.js +100 -91
  224. package/dist/components/arcgis-area-measurement-2d/types.d.ts +1 -0
  225. package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +27 -25
  226. package/dist/components/arcgis-area-measurement-3d/customElement.js +73 -94
  227. package/dist/components/arcgis-area-measurement-3d/types.d.ts +1 -0
  228. package/dist/components/arcgis-attachments/customElement.d.ts +5 -6
  229. package/dist/components/arcgis-basemap-gallery/customElement.d.ts +4 -5
  230. package/dist/components/arcgis-basemap-gallery-item/customElement.js +16 -16
  231. package/dist/components/arcgis-basemap-layer-list/customElement.d.ts +127 -100
  232. package/dist/components/arcgis-basemap-toggle/customElement.d.ts +6 -6
  233. package/dist/components/arcgis-basemap-toggle/customElement.js +1 -1
  234. package/dist/components/arcgis-bookmarks/customElement.d.ts +12 -17
  235. package/dist/components/arcgis-bookmarks/types.d.ts +14 -7
  236. package/dist/components/arcgis-building-explorer/customElement.d.ts +16 -75
  237. package/dist/components/arcgis-building-explorer/customElement.js +3 -3
  238. package/dist/components/arcgis-catalog-layer-list/customElement.d.ts +121 -74
  239. package/dist/components/arcgis-clipboard/customElement.d.ts +3 -3
  240. package/dist/components/arcgis-compass/customElement.d.ts +2 -3
  241. package/dist/components/arcgis-compass/customElement.js +1 -1
  242. package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +14 -16
  243. package/dist/components/arcgis-coordinate-conversion/customElement.js +1 -1
  244. package/dist/components/arcgis-daylight/customElement.d.ts +31 -32
  245. package/dist/components/arcgis-daylight/customElement.js +202 -200
  246. package/dist/components/arcgis-daylight/types.d.ts +1 -0
  247. package/dist/components/arcgis-direct-line-measurement-3d/customElement.d.ts +24 -22
  248. package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +79 -100
  249. package/dist/components/arcgis-direct-line-measurement-3d/types.d.ts +1 -0
  250. package/dist/components/arcgis-directional-pad/customElement.d.ts +2 -4
  251. package/dist/components/arcgis-directions/customElement.d.ts +60 -14
  252. package/dist/components/arcgis-directions/customElement.js +31 -9
  253. package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +23 -11
  254. package/dist/components/arcgis-distance-measurement-2d/customElement.js +95 -86
  255. package/dist/components/arcgis-distance-measurement-2d/types.d.ts +1 -0
  256. package/dist/components/arcgis-editor/customElement.d.ts +46 -19
  257. package/dist/components/arcgis-editor/customElement.js +3 -3
  258. package/dist/components/arcgis-elevation-profile/customElement.d.ts +30 -29
  259. package/dist/components/arcgis-elevation-profile/customElement.js +100 -111
  260. package/dist/components/arcgis-elevation-profile-settings/customElement.js +22 -22
  261. package/dist/components/arcgis-elevation-profile-statistics/customElement.js +25 -31
  262. package/dist/components/arcgis-expand/customElement.d.ts +6 -7
  263. package/dist/components/arcgis-expand/types.d.ts +1 -0
  264. package/dist/components/arcgis-feature/customElement.d.ts +38 -39
  265. package/dist/components/arcgis-feature/customElement.js +39 -39
  266. package/dist/components/arcgis-feature-attachments/customElement.js +1 -1
  267. package/dist/components/arcgis-feature-expression/customElement.js +23 -26
  268. package/dist/components/arcgis-feature-fields/customElement.js +28 -27
  269. package/dist/components/arcgis-feature-form/customElement.d.ts +32 -14
  270. package/dist/components/arcgis-feature-form/customElement.js +2 -2
  271. package/dist/components/arcgis-feature-image/customElement.d.ts +5 -5
  272. package/dist/components/arcgis-feature-media/customElement.js +1 -1
  273. package/dist/components/arcgis-feature-relationship/customElement.js +13 -13
  274. package/dist/components/arcgis-feature-table/customElement.d.ts +183 -89
  275. package/dist/components/arcgis-feature-table/customElement.js +46 -30
  276. package/dist/components/arcgis-feature-templates-legacy/customElement.d.ts +126 -0
  277. package/dist/components/{arcgis-feature-templates → arcgis-feature-templates-legacy}/customElement.js +4 -4
  278. package/dist/components/arcgis-feature-title/customElement.d.ts +3 -3
  279. package/dist/components/arcgis-feature-utility-network-association-list/customElement.js +11 -8
  280. package/dist/components/arcgis-feature-utility-network-associations/customElement.js +62 -62
  281. package/dist/components/arcgis-features/customElement.d.ts +70 -70
  282. package/dist/components/arcgis-features/customElement.js +71 -76
  283. package/dist/components/arcgis-floor-filter/customElement.d.ts +12 -15
  284. package/dist/components/arcgis-floor-filter/customElement.js +1 -1
  285. package/dist/components/arcgis-fullscreen/customElement.d.ts +1 -1
  286. package/dist/components/arcgis-grid-controls/customElement.d.ts +10 -10
  287. package/dist/components/arcgis-histogram-range-slider/customElement.d.ts +36 -37
  288. package/dist/components/arcgis-home/customElement.d.ts +8 -10
  289. package/dist/components/arcgis-home/customElement.js +16 -14
  290. package/dist/components/arcgis-layer-list/customElement.d.ts +51 -54
  291. package/dist/components/arcgis-legend/customElement.d.ts +42 -43
  292. package/dist/components/arcgis-legend-classic-element/customElement.js +22 -24
  293. package/dist/components/arcgis-line-of-sight/customElement.d.ts +16 -14
  294. package/dist/components/arcgis-link-chart/customElement.d.ts +75 -85
  295. package/dist/components/arcgis-link-chart/customElement.js +16 -16
  296. package/dist/components/arcgis-link-chart-layout-switcher/customElement.d.ts +3 -5
  297. package/dist/components/arcgis-link-chart-layout-switcher/types.d.ts +1 -0
  298. package/dist/components/arcgis-link-chart-nonspatial-visibility-toggle/customElement.d.ts +9 -9
  299. package/dist/components/arcgis-link-chart-nonspatial-visibility-toggle/customElement.js +13 -13
  300. package/dist/components/arcgis-link-chart-nonspatial-visibility-toggle/types.d.ts +3 -0
  301. package/dist/components/arcgis-locate/customElement.d.ts +3 -4
  302. package/dist/components/arcgis-locate/customElement.js +17 -16
  303. package/dist/components/arcgis-map/customElement.d.ts +188 -198
  304. package/dist/components/arcgis-map/customElement.js +11 -11
  305. package/dist/components/arcgis-measurement/customElement.d.ts +4 -5
  306. package/dist/components/arcgis-multi-feature-form/customElement.d.ts +9 -11
  307. package/dist/components/arcgis-navigation-toggle/customElement.d.ts +7 -12
  308. package/dist/components/arcgis-navigation-toggle/customElement.js +9 -6
  309. package/dist/components/arcgis-navigation-toggle/types.d.ts +1 -0
  310. package/dist/components/arcgis-oriented-imagery-viewer/customElement.d.ts +10 -3
  311. package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +2 -2
  312. package/dist/components/arcgis-paste/ClipboardMove.d.ts +6 -3
  313. package/dist/components/arcgis-paste/PasteViewModel.d.ts +28 -16
  314. package/dist/components/arcgis-paste/commands/PasteCommand.d.ts +267 -123
  315. package/dist/components/arcgis-paste/commands/PasteCustomCommand.d.ts +117 -116
  316. package/dist/components/arcgis-paste/customElement.d.ts +5 -5
  317. package/dist/components/arcgis-paste/customElement.js +59 -54
  318. package/dist/components/arcgis-paste/index.js +1 -1
  319. package/dist/components/arcgis-popup/customElement.d.ts +87 -75
  320. package/dist/components/arcgis-popup/customElement.js +121 -125
  321. package/dist/components/arcgis-popup/types.d.ts +2 -2
  322. package/dist/components/arcgis-presentation/PresentationViewModel.d.ts +4 -3
  323. package/dist/components/arcgis-presentation/customElement.d.ts +1 -1
  324. package/dist/components/arcgis-presentation/customElement.js +6 -6
  325. package/dist/components/arcgis-print/customElement.d.ts +51 -31
  326. package/dist/components/arcgis-print/customElement.js +7 -7
  327. package/dist/components/arcgis-print-layout-advanced-options/customElement.js +7 -7
  328. package/dist/components/arcgis-print-layout-panel/customElement.js +6 -6
  329. package/dist/components/arcgis-print-main-panel/customElement.js +7 -7
  330. package/dist/components/arcgis-print-out-spatial-reference-input/customElement.js +1 -1
  331. package/dist/components/arcgis-reverse-geocode-list/customElement.d.ts +14 -2
  332. package/dist/components/arcgis-reverse-geocode-list/customElement.js +38 -41
  333. package/dist/components/arcgis-scale-bar/customElement.d.ts +3 -7
  334. package/dist/components/arcgis-scale-bar/customElement.js +7 -7
  335. package/dist/components/arcgis-scale-bar/types.d.ts +5 -0
  336. package/dist/components/arcgis-scale-range-slider/customElement.d.ts +7 -8
  337. package/dist/components/arcgis-scene/customElement.d.ts +185 -200
  338. package/dist/components/arcgis-scene/customElement.js +14 -14
  339. package/dist/components/arcgis-search/customElement.d.ts +63 -59
  340. package/dist/components/arcgis-search/customElement.js +19 -18
  341. package/dist/components/arcgis-search/types.d.ts +1 -0
  342. package/dist/components/arcgis-shadow-cast/customElement.d.ts +84 -40
  343. package/dist/components/arcgis-sketch/customElement.d.ts +78 -33
  344. package/dist/components/arcgis-sketch/customElement.js +21 -9
  345. package/dist/components/arcgis-slice/customElement.d.ts +26 -26
  346. package/dist/components/arcgis-slice/customElement.js +6 -6
  347. package/dist/components/arcgis-slice/types.d.ts +4 -0
  348. package/dist/components/arcgis-slider-binary-color-size-legacy/customElement.d.ts +128 -97
  349. package/dist/components/arcgis-slider-binary-color-size-legacy/customElement.js +6 -6
  350. package/dist/components/arcgis-slider-classed-color-legacy/customElement.d.ts +53 -59
  351. package/dist/components/arcgis-slider-classed-color-legacy/customElement.js +1 -1
  352. package/dist/components/arcgis-slider-classed-size-legacy/customElement.d.ts +55 -62
  353. package/dist/components/arcgis-slider-classed-size-legacy/customElement.js +1 -1
  354. package/dist/components/arcgis-slider-color-legacy/customElement.d.ts +112 -100
  355. package/dist/components/arcgis-slider-color-legacy/customElement.js +8 -8
  356. package/dist/components/arcgis-slider-color-size-legacy/customElement.d.ts +154 -99
  357. package/dist/components/arcgis-slider-color-size-legacy/customElement.js +6 -6
  358. package/dist/components/arcgis-slider-heatmap-legacy/customElement.d.ts +14 -17
  359. package/dist/components/arcgis-slider-heatmap-legacy/customElement.js +1 -1
  360. package/dist/components/arcgis-slider-opacity-legacy/customElement.d.ts +75 -93
  361. package/dist/components/arcgis-slider-opacity-legacy/customElement.js +1 -1
  362. package/dist/components/arcgis-slider-size-legacy/customElement.d.ts +85 -104
  363. package/dist/components/arcgis-slider-size-legacy/customElement.js +1 -1
  364. package/dist/components/arcgis-snapping-controls/customElement.d.ts +76 -16
  365. package/dist/components/arcgis-swipe/customElement.d.ts +11 -11
  366. package/dist/components/arcgis-table-list/customElement.d.ts +116 -81
  367. package/dist/components/arcgis-time-of-day-slider/customElement.d.ts +1 -0
  368. package/dist/components/arcgis-time-of-day-slider/customElement.js +11 -11
  369. package/dist/components/arcgis-time-slider/customElement.d.ts +23 -26
  370. package/dist/components/arcgis-time-slider/customElement.js +1 -1
  371. package/dist/components/arcgis-time-zone-label/customElement.d.ts +19 -33
  372. package/dist/components/arcgis-time-zone-label/customElement.js +19 -58
  373. package/dist/components/arcgis-time-zone-label/index.js +0 -1
  374. package/dist/components/arcgis-time-zone-label/types.d.ts +1 -0
  375. package/dist/components/arcgis-track/customElement.d.ts +6 -7
  376. package/dist/components/arcgis-utility-network-aggregated-geometry/customElement.d.ts +18 -10
  377. package/dist/components/arcgis-utility-network-aggregated-geometry/customElement.js +54 -59
  378. package/dist/components/arcgis-utility-network-aggregated-geometry/index.js +0 -1
  379. package/dist/components/arcgis-utility-network-associations/customElement.d.ts +5 -6
  380. package/dist/components/arcgis-utility-network-trace/customElement.d.ts +11 -8
  381. package/dist/components/arcgis-utility-network-trace/customElement.js +1 -1
  382. package/dist/components/arcgis-utility-network-trace-analysis/customElement.d.ts +86 -29
  383. package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +65 -58
  384. package/dist/components/arcgis-utility-network-trace-analysis/index.js +1 -1
  385. package/dist/components/arcgis-utility-network-trace-analysis/types.d.ts +1 -0
  386. package/dist/components/arcgis-utility-network-trace-inputs/customElement.d.ts +18 -6
  387. package/dist/components/arcgis-utility-network-trace-inputs/customElement.js +110 -73
  388. package/dist/components/arcgis-utility-network-trace-location/customElement.d.ts +10 -3
  389. package/dist/components/arcgis-utility-network-trace-location/customElement.js +80 -69
  390. package/dist/components/arcgis-utility-network-trace-location-list/customElement.js +2 -2
  391. package/dist/components/arcgis-utility-network-trace-results/customElement.d.ts +18 -2
  392. package/dist/components/arcgis-utility-network-trace-results/customElement.js +109 -89
  393. package/dist/components/arcgis-utility-network-trace-results/index.js +2 -1
  394. package/dist/components/arcgis-utility-network-validate-topology/customElement.d.ts +1 -2
  395. package/dist/components/arcgis-value-picker-legacy/customElement.d.ts +51 -53
  396. package/dist/components/arcgis-value-picker-legacy/customElement.js +1 -1
  397. package/dist/components/arcgis-version-management/customElement.d.ts +7 -21
  398. package/dist/components/arcgis-version-management/customElement.js +1 -1
  399. package/dist/components/arcgis-version-management/types.d.ts +15 -0
  400. package/dist/components/arcgis-video/customElement.d.ts +12 -12
  401. package/dist/components/arcgis-video-player/customElement.d.ts +6 -6
  402. package/dist/components/arcgis-video-player/customElement.js +2 -2
  403. package/dist/components/arcgis-volume-measurement/customElement.d.ts +46 -41
  404. package/dist/components/arcgis-volume-measurement/customElement.js +171 -171
  405. package/dist/components/arcgis-volume-measurement/index.js +1 -1
  406. package/dist/components/arcgis-volume-measurement/types.d.ts +1 -0
  407. package/dist/components/arcgis-weather/customElement.d.ts +17 -18
  408. package/dist/components/arcgis-zoom/customElement.d.ts +8 -7
  409. package/dist/components/arcgis-zoom/customElement.js +1 -1
  410. package/dist/components/arcgis-zoom/types.d.ts +3 -0
  411. package/dist/components/types.d.ts +58 -1
  412. package/dist/docs/api.json +1 -1
  413. package/dist/docs/docs.json +1 -1
  414. package/dist/docs/vscode.html-custom-data.json +1 -1
  415. package/dist/docs/web-types.json +1 -1
  416. package/dist/index.d.ts +13 -35
  417. package/dist/loader.js +36 -36
  418. package/dist/types/lumina.d.ts +36 -58
  419. package/dist/types/preact.d.ts +37 -63
  420. package/dist/types/react.d.ts +38 -68
  421. package/dist/types/stencil.d.ts +36 -58
  422. package/package.json +6 -6
  423. package/dist/cdn/22LNBUKE.js +0 -2
  424. package/dist/cdn/23UYZVTW.js +0 -2
  425. package/dist/cdn/2EJ4XRH4.js +0 -2
  426. package/dist/cdn/2VC2VUTP.js +0 -2
  427. package/dist/cdn/2XSXH4TM.js +0 -2
  428. package/dist/cdn/3DO7PVNW.js +0 -2
  429. package/dist/cdn/3GZCJE62.js +0 -2
  430. package/dist/cdn/3XMPN66U.js +0 -2
  431. package/dist/cdn/42UR6TXZ.js +0 -2
  432. package/dist/cdn/4EAZ4PIQ.js +0 -2
  433. package/dist/cdn/4TURMTXA.js +0 -2
  434. package/dist/cdn/52GXKBGP.js +0 -2
  435. package/dist/cdn/55QGHI47.js +0 -2
  436. package/dist/cdn/5PRNT4KD.js +0 -2
  437. package/dist/cdn/5RGFRTJS.js +0 -2
  438. package/dist/cdn/63P5VYGP.js +0 -2
  439. package/dist/cdn/64OEHFBZ.js +0 -2
  440. package/dist/cdn/7UR4M6PN.js +0 -2
  441. package/dist/cdn/7YLXQNEC.js +0 -2
  442. package/dist/cdn/A4UJ53JS.js +0 -2
  443. package/dist/cdn/AGYDL2DX.js +0 -2
  444. package/dist/cdn/BGOWWLCQ.js +0 -2
  445. package/dist/cdn/BMR2YFEM.js +0 -2
  446. package/dist/cdn/CC53K2CR.js +0 -2
  447. package/dist/cdn/CKNH5OMJ.js +0 -2
  448. package/dist/cdn/DOLELC6W.js +0 -2
  449. package/dist/cdn/DTVW3MYT.js +0 -2
  450. package/dist/cdn/E7FLH54K.js +0 -2
  451. package/dist/cdn/EL62JS5C.js +0 -2
  452. package/dist/cdn/EVRFMTMV.js +0 -2
  453. package/dist/cdn/EX22SAPL.js +0 -2
  454. package/dist/cdn/EYNKJZG3.js +0 -2
  455. package/dist/cdn/F2TXAMXM.js +0 -2
  456. package/dist/cdn/F4HWT5H3.js +0 -2
  457. package/dist/cdn/FEQLUSM2.js +0 -2
  458. package/dist/cdn/FJJVAOBW.js +0 -2
  459. package/dist/cdn/FQGKKJL7.js +0 -2
  460. package/dist/cdn/GNGZFV2C.js +0 -2
  461. package/dist/cdn/H6ILOF27.js +0 -2
  462. package/dist/cdn/HH6BDERO.js +0 -2
  463. package/dist/cdn/HNHCO4OD.js +0 -2
  464. package/dist/cdn/HR2OOT3F.js +0 -2
  465. package/dist/cdn/I2MQQXVU.js +0 -2
  466. package/dist/cdn/I5QTPPFJ.js +0 -2
  467. package/dist/cdn/IDDSHZVB.js +0 -2
  468. package/dist/cdn/J55YUTPM.js +0 -2
  469. package/dist/cdn/JDZWJLJX.js +0 -2
  470. package/dist/cdn/KECAR2NZ.js +0 -2
  471. package/dist/cdn/KEFY4XPI.js +0 -2
  472. package/dist/cdn/KHM3S4Q6.js +0 -2
  473. package/dist/cdn/KNAUIRT6.js +0 -2
  474. package/dist/cdn/KXF2562U.js +0 -2
  475. package/dist/cdn/KY4FMFIC.js +0 -2
  476. package/dist/cdn/LG4PZVHS.js +0 -2
  477. package/dist/cdn/LHEP4QSS.js +0 -2
  478. package/dist/cdn/LZFDWRYI.js +0 -2
  479. package/dist/cdn/M4L5EDRB.js +0 -2
  480. package/dist/cdn/M65HMJZA.js +0 -2
  481. package/dist/cdn/M7VTEC3S.js +0 -2
  482. package/dist/cdn/MAGJWMWM.js +0 -2
  483. package/dist/cdn/MSMDSEFM.js +0 -2
  484. package/dist/cdn/MW73TE2N.js +0 -2
  485. package/dist/cdn/MWBGBBXT.js +0 -2
  486. package/dist/cdn/NIUIKBRD.js +0 -2
  487. package/dist/cdn/NRV7VFJ7.js +0 -2
  488. package/dist/cdn/NVACRYY6.js +0 -2
  489. package/dist/cdn/NZ5M5SVG.js +0 -2
  490. package/dist/cdn/NZAO2BVV.js +0 -2
  491. package/dist/cdn/OCEXQCFT.js +0 -2
  492. package/dist/cdn/ORH27QWU.js +0 -2
  493. package/dist/cdn/PCQ5PXPF.js +0 -2
  494. package/dist/cdn/PISCYSA5.js +0 -2
  495. package/dist/cdn/PNDLNFML.js +0 -2
  496. package/dist/cdn/PTWLVTFS.js +0 -4
  497. package/dist/cdn/QVMTO5BV.js +0 -2
  498. package/dist/cdn/R4V6HGJH.js +0 -2
  499. package/dist/cdn/RCWZGU5T.js +0 -2
  500. package/dist/cdn/RJ76OXB6.js +0 -2
  501. package/dist/cdn/S4XGBADW.js +0 -2
  502. package/dist/cdn/S6G6XXTM.js +0 -2
  503. package/dist/cdn/SKW7HQZ6.js +0 -2
  504. package/dist/cdn/SRSYUCVL.js +0 -2
  505. package/dist/cdn/SZ5MNKOW.js +0 -2
  506. package/dist/cdn/TM5C2P2F.js +0 -2
  507. package/dist/cdn/U3LH3AZH.js +0 -2
  508. package/dist/cdn/UAO23YMW.js +0 -2
  509. package/dist/cdn/UTH3SGAS.js +0 -2
  510. package/dist/cdn/UVCYUIKZ.js +0 -2
  511. package/dist/cdn/VJMMA6UX.js +0 -2
  512. package/dist/cdn/W2E5L6DS.js +0 -2
  513. package/dist/cdn/WGWNMYUH.js +0 -2
  514. package/dist/cdn/WGXSSEAL.js +0 -2
  515. package/dist/cdn/WOV3LB6K.js +0 -2
  516. package/dist/cdn/WTMMFDEH.js +0 -2
  517. package/dist/cdn/WW6L6XX4.js +0 -2
  518. package/dist/cdn/X6OVNOLQ.js +0 -2
  519. package/dist/cdn/X7YUU7TS.js +0 -2
  520. package/dist/cdn/XO6U6OVM.js +0 -2
  521. package/dist/cdn/XRP25NGI.js +0 -2
  522. package/dist/cdn/Y53D5YAC.js +0 -2
  523. package/dist/cdn/YC423DBS.js +0 -2
  524. package/dist/cdn/YFUI4F5L.js +0 -2
  525. package/dist/cdn/YKTB6AFH.js +0 -2
  526. package/dist/cdn/YWQGP6MB.js +0 -2
  527. package/dist/cdn/YZ5ZVEPC.js +0 -2
  528. package/dist/cdn/ZD25GJYW.js +0 -2
  529. package/dist/cdn/ZMLRDNKR.js +0 -2
  530. package/dist/cdn/ZURN5EZI.js +0 -2
  531. package/dist/cdn/ZUTQE3OX.js +0 -2
  532. package/dist/cdn/ZVTPU2MO.js +0 -2
  533. package/dist/components/arcgis-building-discipline-tree/customElement.d.ts +0 -14
  534. package/dist/components/arcgis-building-explorer/building-filter/BuildingLevel.d.ts +0 -20
  535. package/dist/components/arcgis-building-explorer/building-filter/BuildingNumericFilterViewModel.d.ts +0 -93
  536. package/dist/components/arcgis-building-explorer/building-filter/BuildingPhase.d.ts +0 -24
  537. package/dist/components/arcgis-building-explorer/support/types.d.ts +0 -11
  538. package/dist/components/arcgis-building-level-item/customElement.d.ts +0 -25
  539. package/dist/components/arcgis-building-level-item/index.d.ts +0 -1
  540. package/dist/components/arcgis-building-level-picker/customElement.d.ts +0 -20
  541. package/dist/components/arcgis-building-level-picker/index.d.ts +0 -1
  542. package/dist/components/arcgis-building-phase-picker/customElement.d.ts +0 -19
  543. package/dist/components/arcgis-building-phase-picker/index.d.ts +0 -1
  544. package/dist/components/arcgis-daylight/daylight-utils.d.ts +0 -8
  545. package/dist/components/arcgis-expand/ExpandViewModel.d.ts +0 -44
  546. package/dist/components/arcgis-feature-templates/customElement.d.ts +0 -215
  547. package/dist/components/arcgis-feature-templates/index.d.ts +0 -1
  548. package/dist/components/arcgis-slice/SliceViewModel.d.ts +0 -4
  549. package/dist/components/support/goTo.d.ts +0 -37
  550. package/dist/controllers/useArcgisLoadError.d.ts +0 -9
  551. package/dist/support/heading.d.ts +0 -1
  552. package/dist/support/measurementUtils.d.ts +0 -1
  553. package/dist/utils/action-utils.d.ts +0 -3
  554. package/dist/utils/component-utils.d.ts +0 -5
  555. /package/dist/cdn/{UQ7E33T4.js → 2SQUOXWG.js} +0 -0
  556. /package/dist/cdn/{KAJ3U6DP.js → 3GVHNIXM.js} +0 -0
  557. /package/dist/cdn/{E2KWMQKQ.js → 3NF4UU3S.js} +0 -0
  558. /package/dist/cdn/{PHF2XKSK.js → 43UMYTXQ.js} +0 -0
  559. /package/dist/cdn/{CHDRBZNL.js → 47T624VO.js} +0 -0
  560. /package/dist/cdn/{X5H6ZUFX.js → 4NBXFFTY.js} +0 -0
  561. /package/dist/cdn/{DDI363AI.js → 5IPPKC3M.js} +0 -0
  562. /package/dist/cdn/{LCXF3AKY.js → 6JUTQDKC.js} +0 -0
  563. /package/dist/cdn/{YMU5IPMP.js → 6QPD32WT.js} +0 -0
  564. /package/dist/cdn/{M6TJN2I5.js → 7LEGS7EX.js} +0 -0
  565. /package/dist/cdn/{ORP3ZND2.js → AQG5RIV3.js} +0 -0
  566. /package/dist/cdn/{W5XM52J7.js → B3I4OKDQ.js} +0 -0
  567. /package/dist/cdn/{RCD5UKTW.js → BFHBS4MR.js} +0 -0
  568. /package/dist/cdn/{CRR65TKV.js → D3X7R3GD.js} +0 -0
  569. /package/dist/cdn/{7FMJZURP.js → DYC6OHKG.js} +0 -0
  570. /package/dist/cdn/{5OB4E5PR.js → DZG4EA6U.js} +0 -0
  571. /package/dist/cdn/{W5B5LTGN.js → ELF2SE5K.js} +0 -0
  572. /package/dist/cdn/{UVZZX6YP.js → FHSXSYA6.js} +0 -0
  573. /package/dist/cdn/{BQIH5T3S.js → FRWY77LH.js} +0 -0
  574. /package/dist/cdn/{ZFFBK3VO.js → FYVM32GJ.js} +0 -0
  575. /package/dist/cdn/{B7IYR676.js → GVW4OIR5.js} +0 -0
  576. /package/dist/cdn/{FPD3STSJ.js → H6LWU2FC.js} +0 -0
  577. /package/dist/cdn/{DEOCASGG.js → HEBLEJCT.js} +0 -0
  578. /package/dist/cdn/{OSRAPPNR.js → IDITPQDC.js} +0 -0
  579. /package/dist/cdn/{DWZIXPJ4.js → J3F5FPMC.js} +0 -0
  580. /package/dist/cdn/{YP3JKXC4.js → JMZA4GQB.js} +0 -0
  581. /package/dist/cdn/{JDPQMOEW.js → JPDYVHUZ.js} +0 -0
  582. /package/dist/cdn/{PUOWH3YL.js → KNFAPO3C.js} +0 -0
  583. /package/dist/cdn/{W2Q7NWBG.js → LEC4CIVO.js} +0 -0
  584. /package/dist/cdn/{JMDNJPNT.js → NCTWDKYG.js} +0 -0
  585. /package/dist/cdn/{RDW2NJPR.js → PDCUZMSB.js} +0 -0
  586. /package/dist/cdn/{76ESM6B2.js → RJTABGPK.js} +0 -0
  587. /package/dist/cdn/{2ZL4CF6P.js → SPXZXKMH.js} +0 -0
  588. /package/dist/cdn/{HZTWWEVM.js → TRPYDMNK.js} +0 -0
  589. /package/dist/cdn/{YHVFARHN.js → UYDFCELQ.js} +0 -0
  590. /package/dist/cdn/{55VMVXRK.js → V2D4QTRR.js} +0 -0
  591. /package/dist/cdn/{QAXR4LT6.js → WBZEEY5N.js} +0 -0
  592. /package/dist/cdn/{YDJGMRV3.js → WG5RPCHL.js} +0 -0
  593. /package/dist/cdn/{ZLIZCBGT.js → WL4J6REN.js} +0 -0
  594. /package/dist/cdn/{GB42YXHR.js → XJQRAKJ6.js} +0 -0
  595. /package/dist/cdn/{L4WRYSKZ.js → YGJ7NPDT.js} +0 -0
  596. /package/dist/cdn/{V3M37NHT.js → ZJ36DBTH.js} +0 -0
  597. /package/dist/components/{arcgis-building-discipline-tree → arcgis-feature-templates-legacy}/index.d.ts +0 -0
  598. /package/dist/components/{arcgis-feature-templates → arcgis-feature-templates-legacy}/index.js +0 -0
  599. /package/dist/components/arcgis-locate/{LocateViewModel.d.ts → types.d.ts} +0 -0
  600. /package/dist/components/arcgis-weather/{WeatherViewModel.d.ts → types.d.ts} +0 -0
@@ -1,16 +1,13 @@
1
1
  /// <reference path="../../index.d.ts" />
2
- import type ListItem from "@arcgis/core/widgets/LayerList/ListItem";
3
- import type ActionToggle from "@arcgis/core/support/actions/ActionToggle";
4
- import type ActionButton from "@arcgis/core/support/actions/ActionButton";
5
- import type TableList from "@arcgis/core/widgets/TableList";
6
- import type Collection from "@arcgis/core/core/Collection";
7
- import type CatalogLayerList from "@arcgis/core/widgets/CatalogLayerList";
8
- import type Collection2 from "@arcgis/core/core/Collection.js";
9
- import type ListItem2 from "@arcgis/core/widgets/LayerList/ListItem.js";
2
+ import type ListItem from "@arcgis/core/widgets/LayerList/ListItem.js";
3
+ import type ActionToggle from "@arcgis/core/support/actions/ActionToggle.js";
4
+ import type ActionButton from "@arcgis/core/support/actions/ActionButton.js";
5
+ import type TableList from "@arcgis/core/widgets/TableList.js";
6
+ import type Collection from "@arcgis/core/core/Collection.js";
7
+ import type CatalogLayerList from "@arcgis/core/widgets/CatalogLayerList.js";
10
8
  import type { PublicLitElement as LitElement } from "@arcgis/lumina";
11
- import type { ArcgisReferenceElement } from "../../utils/component-utils.js";
12
- import type { IconName } from "../../utils/action-utils.js";
13
- import type { LayerListViewModelTriggerActionEvent } from "@arcgis/core/widgets/LayerList/LayerListViewModel";
9
+ import type { ArcgisReferenceElement, IconName } from "../types.js";
10
+ import type { LayerListViewModelTriggerActionEvent } from "@arcgis/core/widgets/LayerList/LayerListViewModel.js";
14
11
  import type { MapViewOrSceneView } from "@arcgis/core/views/MapViewOrSceneView.js";
15
12
  import type { CatalogLayerListProperties } from "@arcgis/core/widgets/CatalogLayerList.js";
16
13
  import type { FilterPredicate, ListItemModifier, State, VisibilityAppearance } from "@arcgis/core/widgets/LayerList/types.js";
@@ -21,15 +18,15 @@ import type { FlowLayer } from "@arcgis/core/widgets/LayerList.js";
21
18
 
22
19
  /**
23
20
  * The Layer List provides a way to display a list of layers and switch on/off their visibility.
24
- * The [listItemCreatedFunction](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-layer-list/#listItemCreatedFunction) and the [ListItem](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-LayerList-ListItem.html) API provides access to each layer's properties, allows
21
+ * The [listItemCreatedFunction](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-layer-list/#listItemCreatedFunction) and the [ListItem](https://developers.arcgis.com/javascript/latest/references/core/widgets/LayerList/ListItem/) API provides access to each layer's properties, allows
25
22
  * the developer to configure actions related to the layer, and allows the developer to add content to the item related to the layer.
26
23
  *
27
24
  * > **Notes**
28
25
  * >
29
- * > - The Layer List does not emit an event when the visibility of a layer changes. To respond to layer visibility changes, watch the [visible](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-Layer.html#visible) property of layers in the [allLayers](https://developers.arcgis.com/javascript/latest/api-reference/esri-Map.html#allLayers) property with [reactiveUtils](https://developers.arcgis.com/javascript/latest/api-reference/esri-core-reactiveUtils.html).
30
- * > - To hide layers in the map from the Layer List, you must set the [listMode](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-Layer.html#listMode) property on the desired layers to `hide`.
31
- * > - When a [KnowledgeGraphLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-KnowledgeGraphLayer.html) is present in the map, the Layer List will display the [tables](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-KnowledgeGraphLayer.html#tables) as a [tableList](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-layer-list/#tableList) ListItem.
32
- * > - When a [CatalogLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-CatalogLayer.html) is present in the map, the Layer List will display the [dynamicGroupLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-CatalogLayer.html#dynamicGroupLayer) in a [catalogLayerList](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-layer-list/#catalogLayerList) ListItem.
26
+ * > - The Layer List does not emit an event when the visibility of a layer changes. To respond to layer visibility changes, watch the [visible](https://developers.arcgis.com/javascript/latest/references/core/layers/Layer/#visible) property of layers in the [allLayers](https://developers.arcgis.com/javascript/latest/references/core/Map/#allLayers) property with [reactiveUtils](https://developers.arcgis.com/javascript/latest/references/core/core/reactiveUtils/).
27
+ * > - To hide layers in the map from the Layer List, you must set the [listMode](https://developers.arcgis.com/javascript/latest/references/core/layers/Layer/#listMode) property on the desired layers to `hide`.
28
+ * > - When a [KnowledgeGraphLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/KnowledgeGraphLayer/) is present in the map, the Layer List will display the [tables](https://developers.arcgis.com/javascript/latest/references/core/layers/KnowledgeGraphLayer/#tables) as a [tableList](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-layer-list/#tableList) ListItem.
29
+ * > - When a [CatalogLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/CatalogLayer/) is present in the map, the Layer List will display the [dynamicGroupLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/CatalogLayer/#dynamicGroupLayer) in a [catalogLayerList](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-layer-list/#catalogLayerList) ListItem.
33
30
  *
34
31
  * > **Keyboard Navigation**
35
32
  * >
@@ -51,13 +48,13 @@ export abstract class ArcgisLayerList extends LitElement {
51
48
  /** The CatalogLayerList that displays a catalog layer's dynamic group layer. */
52
49
  get catalogLayerList(): CatalogLayerList | null | undefined;
53
50
  /**
54
- * [CatalogLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-CatalogLayer.html) specific properties.
55
- * Catalog layers will display their [CatalogLayer#dynamicGroupLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-CatalogLayer.html#dynamicGroupLayer) as an expandable [catalogLayerList](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-LayerList.html#catalogLayerList) in the LayerList component.
51
+ * [CatalogLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/CatalogLayer/) specific properties.
52
+ * Catalog layers will display their [CatalogLayer#dynamicGroupLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/CatalogLayer/#dynamicGroupLayer) as an expandable [catalogLayerList](https://developers.arcgis.com/javascript/latest/references/core/widgets/LayerList/#catalogLayerList) in the LayerList component.
56
53
  * This list item will only be displayed when catalog layers with dynamic group layers are loaded in the map.
57
- * These are the properties that are used to configure the [catalogLayerList](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-LayerList.html#catalogLayerList).
54
+ * These are the properties that are used to configure the [catalogLayerList](https://developers.arcgis.com/javascript/latest/references/core/widgets/LayerList/#catalogLayerList).
58
55
  *
59
56
  * @since 4.30
60
- * @see [catalogLayerList](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-LayerList.html#catalogLayerList)
57
+ * @see [catalogLayerList](https://developers.arcgis.com/javascript/latest/references/core/widgets/LayerList/#catalogLayerList)
61
58
  * @example
62
59
  * ```js
63
60
  * layerListElement.catalogOptions = {
@@ -102,13 +99,13 @@ export abstract class ArcgisLayerList extends LitElement {
102
99
  */
103
100
  accessor collapsed: boolean;
104
101
  /**
105
- * Indicates whether [list items](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-LayerList-ListItem.html) may be reordered within the list by dragging and dropping.
106
- * MapImageLayer [MapImageLayer#sublayers](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-MapImageLayer.html#sublayers) can be reordered only within their parent MapImageLayer and can not be dragged out as a separate layer.
107
- * Drag won't be enabled until the number of list items is equal to or greater than than the value set set in [minDragEnabledItems](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-LayerList.html#minDragEnabledItems).
102
+ * Indicates whether [list items](https://developers.arcgis.com/javascript/latest/references/core/widgets/LayerList/ListItem/) may be reordered within the list by dragging and dropping.
103
+ * MapImageLayer [MapImageLayer#sublayers](https://developers.arcgis.com/javascript/latest/references/core/layers/MapImageLayer/#sublayers) can be reordered only within their parent MapImageLayer and can not be dragged out as a separate layer.
104
+ * Drag won't be enabled until the number of list items is equal to or greater than than the value set set in [minDragEnabledItems](https://developers.arcgis.com/javascript/latest/references/core/widgets/LayerList/#minDragEnabledItems).
108
105
  *
109
106
  * @default false
110
107
  * @since 4.29
111
- * @see [minDragEnabledItems](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-LayerList.html#minDragEnabledItems)
108
+ * @see [minDragEnabledItems](https://developers.arcgis.com/javascript/latest/references/core/widgets/LayerList/#minDragEnabledItems)
112
109
  * @example
113
110
  * ```js
114
111
  * layerListElement.dragEnabled = true;
@@ -116,7 +113,7 @@ export abstract class ArcgisLayerList extends LitElement {
116
113
  */
117
114
  accessor dragEnabled: boolean;
118
115
  /**
119
- * Placeholder text used in the filter input if [visibleElements.filter](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-LayerList.html#visibleElements) is true.
116
+ * Placeholder text used in the filter input if [visibleElements.filter](https://developers.arcgis.com/javascript/latest/references/core/widgets/LayerList/#visibleElements) is true.
120
117
  *
121
118
  * @default ""
122
119
  * @since 4.29
@@ -128,7 +125,7 @@ export abstract class ArcgisLayerList extends LitElement {
128
125
  */
129
126
  accessor filterPlaceholder: string;
130
127
  /**
131
- * Specifies a function to handle filtering [list items](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-LayerList-ListItem.html).
128
+ * Specifies a function to handle filtering [list items](https://developers.arcgis.com/javascript/latest/references/core/widgets/LayerList/ListItem/).
132
129
  *
133
130
  * @since 4.32
134
131
  * @example
@@ -138,7 +135,7 @@ export abstract class ArcgisLayerList extends LitElement {
138
135
  */
139
136
  accessor filterPredicate: FilterPredicate | null | undefined;
140
137
  /**
141
- * The value of the filter input if [visibleElements.filter](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-LayerList.html#visibleElements) is true.
138
+ * The value of the filter input if [visibleElements.filter](https://developers.arcgis.com/javascript/latest/references/core/widgets/LayerList/#visibleElements) is true.
142
139
  *
143
140
  * @default ""
144
141
  * @since 4.29
@@ -168,7 +165,7 @@ export abstract class ArcgisLayerList extends LitElement {
168
165
  */
169
166
  accessor headingLevel: HeadingLevel;
170
167
  /**
171
- * Indicates whether to display the [LayerList#catalogLayerList](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-LayerList.html#catalogLayerList).
168
+ * Indicates whether to display the [LayerList#catalogLayerList](https://developers.arcgis.com/javascript/latest/references/core/widgets/LayerList/#catalogLayerList).
172
169
  *
173
170
  * @default false
174
171
  * @since 5.0
@@ -192,14 +189,14 @@ export abstract class ArcgisLayerList extends LitElement {
192
189
  get icon(): Icon["icon"];
193
190
  set icon(value: IconName);
194
191
  /**
195
- * [KnowledgeGraphLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-KnowledgeGraphLayer.html) specific properties.
196
- * Knowledge graph layers will display [KnowledgeGraphLayer#tables](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-KnowledgeGraphLayer.html#tables)
197
- * as an expandable [tableList](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-LayerList.html#tableList) in the LayerList component.
192
+ * [KnowledgeGraphLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/KnowledgeGraphLayer/) specific properties.
193
+ * Knowledge graph layers will display [KnowledgeGraphLayer#tables](https://developers.arcgis.com/javascript/latest/references/core/layers/KnowledgeGraphLayer/#tables)
194
+ * as an expandable [tableList](https://developers.arcgis.com/javascript/latest/references/core/widgets/LayerList/#tableList) in the LayerList component.
198
195
  * This tables list item will only be displayed when knowledge graph layers with tables are loaded in the map.
199
- * These are the properties that are used to configure the [tableList](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-LayerList.html#tableList).
196
+ * These are the properties that are used to configure the [tableList](https://developers.arcgis.com/javascript/latest/references/core/widgets/LayerList/#tableList).
200
197
  *
201
198
  * @since 4.30
202
- * @see [tableList](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-LayerList.html#tableList)
199
+ * @see [tableList](https://developers.arcgis.com/javascript/latest/references/core/widgets/LayerList/#tableList)
203
200
  * @example
204
201
  * ```js
205
202
  * layerListElement.knowledgeGraphOptions = {
@@ -238,10 +235,10 @@ export abstract class ArcgisLayerList extends LitElement {
238
235
  */
239
236
  accessor label: string;
240
237
  /**
241
- * A function that executes each time a [ListItem](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-LayerList-ListItem.html) is created.
238
+ * A function that executes each time a [ListItem](https://developers.arcgis.com/javascript/latest/references/core/widgets/LayerList/ListItem/) is created.
242
239
  * Use this function to add actions and panels to list items, and to override
243
240
  * the default settings of a list item. Actions can be added to list items
244
- * using the [ListItem#actionsSections](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-LayerList-ListItem.html#actionsSections)
241
+ * using the [ListItem#actionsSections](https://developers.arcgis.com/javascript/latest/references/core/widgets/LayerList/ListItem/#actionsSections)
245
242
  * property of the ListItem.
246
243
  *
247
244
  * @since 4.4
@@ -275,11 +272,11 @@ export abstract class ArcgisLayerList extends LitElement {
275
272
  */
276
273
  accessor listItemCreatedFunction: ListItemModifier | null | undefined;
277
274
  /**
278
- * The minimum number of list items required to enable drag and drop reordering with [dragEnabled](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-LayerList.html#dragEnabled).
275
+ * The minimum number of list items required to enable drag and drop reordering with [dragEnabled](https://developers.arcgis.com/javascript/latest/references/core/widgets/LayerList/#dragEnabled).
279
276
  *
280
277
  * @default 2
281
278
  * @since 4.29
282
- * @see [dragEnabled](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-LayerList.html#dragEnabled)
279
+ * @see [dragEnabled](https://developers.arcgis.com/javascript/latest/references/core/widgets/LayerList/#dragEnabled)
283
280
  * @example
284
281
  * ```js
285
282
  * layerListElement.dragEnabled = true;
@@ -288,7 +285,7 @@ export abstract class ArcgisLayerList extends LitElement {
288
285
  */
289
286
  accessor minDragEnabledItems: number;
290
287
  /**
291
- * The minimum number of list items required to display the [visibleElements.filter](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-LayerList-LayerListVisibleElements.html) input box.
288
+ * The minimum number of list items required to display the [visibleElements.filter](https://developers.arcgis.com/javascript/latest/references/core/widgets/LayerList/LayerListVisibleElements/) input box.
292
289
  *
293
290
  * @default 10
294
291
  * @since 4.29
@@ -301,22 +298,22 @@ export abstract class ArcgisLayerList extends LitElement {
301
298
  */
302
299
  accessor minFilterItems: number;
303
300
  /**
304
- * A collection of [Layer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-Layer.html)s that are opened
305
- * in a [catalogLayerList](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-LayerList.html#catalogLayerList) or [tableList](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-LayerList.html#tableList) flow item.
301
+ * A collection of [Layer](https://developers.arcgis.com/javascript/latest/references/core/layers/Layer/)s that are opened
302
+ * in a [catalogLayerList](https://developers.arcgis.com/javascript/latest/references/core/widgets/LayerList/#catalogLayerList) or [tableList](https://developers.arcgis.com/javascript/latest/references/core/widgets/LayerList/#tableList) flow item.
306
303
  * This property is useful for backing out of the catalog layer list or table list
307
304
  * programmatically to the parent layer list.
308
305
  *
309
306
  * @default []
310
307
  * @since 4.31
311
- * @see [catalogLayerList](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-LayerList.html#catalogLayerList)
312
- * @see [tableList](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-LayerList.html#tableList)
308
+ * @see [catalogLayerList](https://developers.arcgis.com/javascript/latest/references/core/widgets/LayerList/#catalogLayerList)
309
+ * @see [tableList](https://developers.arcgis.com/javascript/latest/references/core/widgets/LayerList/#tableList)
313
310
  * @example
314
311
  * ```js
315
312
  * // back out of the catalog layer list to the main layer list
316
313
  * layerListElement.openedLayers.pop();
317
314
  * ```
318
315
  */
319
- get openedLayers(): Collection2<FlowLayer>;
316
+ get openedLayers(): Collection<FlowLayer>;
320
317
  /** A collection of ListItems representing operational layers. */
321
318
  get operationalItems(): Collection<ListItem>;
322
319
  /**
@@ -326,15 +323,15 @@ export abstract class ArcgisLayerList extends LitElement {
326
323
  */
327
324
  accessor referenceElement: ArcgisReferenceElement | string | undefined;
328
325
  /**
329
- * A collection of selected [ListItem](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-LayerList-ListItem.html)s representing operational layers
326
+ * A collection of selected [ListItem](https://developers.arcgis.com/javascript/latest/references/core/widgets/LayerList/ListItem/)s representing operational layers
330
327
  * selected by the user.
331
328
  *
332
- * @see [selectionMode](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-LayerList.html#selectionMode)
329
+ * @see [selectionMode](https://developers.arcgis.com/javascript/latest/references/core/widgets/LayerList/#selectionMode)
333
330
  */
334
- accessor selectedItems: Collection2<ListItem2>;
331
+ accessor selectedItems: Collection<ListItem>;
335
332
  /**
336
333
  * Specifies the selection mode.
337
- * Selected items are available in the [selectedItems](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-LayerList.html#selectedItems) property.
334
+ * Selected items are available in the [selectedItems](https://developers.arcgis.com/javascript/latest/references/core/widgets/LayerList/#selectedItems) property.
338
335
  *
339
336
  * | Value | Description |
340
337
  * | ----- | ----------- |
@@ -345,13 +342,13 @@ export abstract class ArcgisLayerList extends LitElement {
345
342
  *
346
343
  * @default "none"
347
344
  * @since 4.29
348
- * @see [selectedItems](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-LayerList.html#selectedItems)
345
+ * @see [selectedItems](https://developers.arcgis.com/javascript/latest/references/core/widgets/LayerList/#selectedItems)
349
346
  * @example
350
347
  * ```js
351
348
  * layerListElement.selectionMode = "multiple";
352
349
  * ```
353
350
  */
354
- accessor selectionMode: "none" | "multiple" | "single" | "single-persist";
351
+ accessor selectionMode: "multiple" | "single" | "none" | "single-persist";
355
352
  /**
356
353
  * Indicates whether to display a close button in the header.
357
354
  *
@@ -374,21 +371,21 @@ export abstract class ArcgisLayerList extends LitElement {
374
371
  */
375
372
  accessor showErrors: boolean;
376
373
  /**
377
- * Indicates whether to display a filter input box when then number of list items is equal to or greater than the value set in [LayerList#minFilterItems](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-LayerList.html#minFilterItems), allowing users to filter layers by their title.
374
+ * Indicates whether to display a filter input box when then number of list items is equal to or greater than the value set in [LayerList#minFilterItems](https://developers.arcgis.com/javascript/latest/references/core/widgets/LayerList/#minFilterItems), allowing users to filter layers by their title.
378
375
  *
379
376
  * @default false
380
377
  * @since 5.0
381
378
  */
382
379
  accessor showFilter: boolean;
383
380
  /**
384
- * Indicates whether to display the layer list heading. The heading text is "Layer List". The heading level can be set with the [LayerList#headingLevel](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-LayerList.html#headingLevel).
381
+ * Indicates whether to display the layer list heading. The heading text is "Layer List". The heading level can be set with the [LayerList#headingLevel](https://developers.arcgis.com/javascript/latest/references/core/widgets/LayerList/#headingLevel).
385
382
  *
386
383
  * @default false
387
384
  * @since 5.0
388
385
  */
389
386
  accessor showHeading: boolean;
390
387
  /**
391
- * Indicates whether temporary layer indicators will be displayed for layers with [Layer#persistenceEnabled](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-Layer.html#persistenceEnabled) set to `false`. A [temporary icon](https://developers.arcgis.com/calcite-design-system/icons/?icon=temporary&library=Calcite%20UI&query=temporary) will be displayed on the near side of the layer title.
388
+ * Indicates whether temporary layer indicators will be displayed for layers with [Layer#persistenceEnabled](https://developers.arcgis.com/javascript/latest/references/core/layers/Layer/#persistenceEnabled) set to `false`. A [temporary icon](https://developers.arcgis.com/calcite-design-system/icons/?icon=temporary&library=Calcite%20UI&query=temporary) will be displayed on the near side of the layer title.
392
389
  *
393
390
  * @default false
394
391
  * @since 5.0
@@ -412,8 +409,8 @@ export abstract class ArcgisLayerList extends LitElement {
412
409
  *
413
410
  * | Value | Description | Example |
414
411
  * | ----- | ----------- | ------- |
415
- * | default | Displays view icons on the far side. Icons are hidden except on hover or if they have keyboard focus. See [view-visible](https://developers.arcgis.com/calcite-design-system/icons/?icon=view-visible&library=Calcite%20UI&query=view) and [view-hide](https://developers.arcgis.com/calcite-design-system/icons/?icon=view-hide&library=Calcite%20UI&query=view) calcite icons. | ![visibilityAppearance-default](https://developers.arcgis.com/javascript/latest/assets/img/apiref/widgets/layer-list/visibilityAppearance-default.png) |
416
- * | checkbox | Displays checkbox icons on the near side. See [check-square-f](https://developers.arcgis.com/calcite-design-system/icons/?icon=check-square-f&library=Calcite%20UI&query=check) and [square](https://developers.arcgis.com/calcite-design-system/icons/?icon=square&library=Calcite%20UI&query=square) calcite icons. | ![visibilityAppearance-checkbox](https://developers.arcgis.com/javascript/latest/assets/img/apiref/widgets/layer-list/visibilityAppearance-checkbox.png) |
412
+ * | default | Displays view icons on the far side. Icons are hidden except on hover or if they have keyboard focus. See [view-visible](https://developers.arcgis.com/calcite-design-system/icons/?icon=view-visible&library=Calcite%20UI&query=view) and [view-hide](https://developers.arcgis.com/calcite-design-system/icons/?icon=view-hide&library=Calcite%20UI&query=view) calcite icons. | ![visibilityAppearance-default](https://developers.arcgis.com/javascript/latest/assets/references/core/widgets/layer-list/visibilityAppearance-default.png) |
413
+ * | checkbox | Displays checkbox icons on the near side. See [check-square-f](https://developers.arcgis.com/calcite-design-system/icons/?icon=check-square-f&library=Calcite%20UI&query=check) and [square](https://developers.arcgis.com/calcite-design-system/icons/?icon=square&library=Calcite%20UI&query=square) calcite icons. | ![visibilityAppearance-checkbox](https://developers.arcgis.com/javascript/latest/assets/references/core/widgets/layer-list/visibilityAppearance-checkbox.png) |
417
414
  *
418
415
  * @default "default"
419
416
  * @since 4.29
@@ -1,17 +1,16 @@
1
1
  /// <reference path="../../index.d.ts" />
2
+ import type ActiveLayerInfo from "@arcgis/core/widgets/Legend/support/ActiveLayerInfo.js";
3
+ import type Collection from "@arcgis/core/core/Collection.js";
2
4
  import type LinkChartView from "@arcgis/core/views/LinkChartView.js";
3
- import type Collection2 from "@arcgis/core/core/Collection.js";
4
- import type ActiveLayerInfo2 from "@arcgis/core/widgets/Legend/support/ActiveLayerInfo.js";
5
5
  import type { PublicLitElement as LitElement } from "@arcgis/lumina";
6
- import type { HeadingLevel } from "../../support/heading.js";
7
- import type { ArcgisReferenceElement } from "../../utils/component-utils.js";
6
+ import type { ArcgisReferenceElement, HeadingLevel } from "../types.js";
8
7
  import type { T9nMeta } from "@arcgis/lumina/controllers";
9
8
  import type { MapViewOrSceneView } from "@arcgis/core/views/MapViewOrSceneView.js";
10
9
  import type { LayerInfo } from "@arcgis/core/widgets/types.js";
11
10
  import type { LegendViewModelState } from "@arcgis/core/widgets/Legend/LegendViewModel.js";
12
11
 
13
12
  /**
14
- * The Legend component displays the symbols and labels used to represent layers in a [arcgis-map](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/) or [arcgis-scene](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/).
13
+ * The Legend component displays the symbols and labels used to represent layers in an [arcgis-map](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/) or [arcgis-scene](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/).
15
14
  * Only layers and sublayers visible in the view are shown, unless [ignoreLayerVisibility](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-legend/#ignoreLayerVisibility) is set to `true`.
16
15
  *
17
16
  * The legend automatically updates when:
@@ -23,62 +22,62 @@ import type { LegendViewModelState } from "@arcgis/core/widgets/Legend/LegendVie
23
22
  * ## Known Limitations
24
23
  *
25
24
  * * Currently, the legend component does not support the following layer types:
26
- * [ElevationLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-ElevationLayer.html),
27
- * [GraphicsLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-GraphicsLayer.html),
28
- * [IntegratedMeshLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-IntegratedMeshLayer.html),
29
- * [KMLLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-KMLLayer.html),
30
- * [MapNotesLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-MapNotesLayer.html),
31
- * [OpenStreetMapLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-OpenStreetMapLayer.html),
32
- * [VectorTileLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-VectorTileLayer.html),
33
- * [VideoLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-VideoLayer.html), and
34
- * [WebTileLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-WebTileLayer.html).
35
- * * [Symbol3D](https://developers.arcgis.com/javascript/latest/api-reference/esri-symbols-Symbol3D.html) with more than one
36
- * [symbol](https://developers.arcgis.com/javascript/latest/api-reference/esri-symbols-Symbol3DLayer.html) are not supported.
37
- * * [DictionaryRenderer](https://developers.arcgis.com/javascript/latest/api-reference/esri-renderers-DictionaryRenderer.html) is not supported.
38
- * * [TrackInfo](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-TrackInfo.html) is not supported.
39
- * * CIM Symbol [primitiveOverride](https://developers.arcgis.com/javascript/latest/api-reference/esri-symbols-CIMSymbol.html#PrimitiveOverride) is not supported.
40
- * * RasterStretchRenderer [dynamicRangeAdjustment](https://developers.arcgis.com/javascript/latest/api-reference/esri-renderers-RasterStretchRenderer.html#dynamicRangeAdjustment) is not supported.
25
+ * [ElevationLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/ElevationLayer/),
26
+ * [GraphicsLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/GraphicsLayer/),
27
+ * [IntegratedMeshLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/IntegratedMeshLayer/),
28
+ * [KMLLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/KMLLayer/),
29
+ * [MapNotesLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/MapNotesLayer/),
30
+ * [OpenStreetMapLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/OpenStreetMapLayer/),
31
+ * [VectorTileLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/VectorTileLayer/),
32
+ * [VideoLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/VideoLayer/), and
33
+ * [WebTileLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/WebTileLayer/).
34
+ * * [Symbol3D](https://developers.arcgis.com/javascript/latest/references/core/symbols/Symbol3D/) with more than one
35
+ * [symbol](https://developers.arcgis.com/javascript/latest/references/core/symbols/Symbol3DLayer/) are not supported.
36
+ * * [DictionaryRenderer](https://developers.arcgis.com/javascript/latest/references/core/renderers/DictionaryRenderer/) is not supported.
37
+ * * [TrackInfo](https://developers.arcgis.com/javascript/latest/references/core/layers/support/TrackInfo/) is not supported.
38
+ * * CIM Symbol [primitiveOverride](https://developers.arcgis.com/javascript/latest/references/core/symbols/CIMSymbol/#PrimitiveOverride) is not supported.
39
+ * * RasterStretchRenderer [dynamicRangeAdjustment](https://developers.arcgis.com/javascript/latest/references/core/renderers/RasterStretchRenderer/#dynamicRangeAdjustment) is not supported.
41
40
  *
42
41
  * ## Various examples of legends based on renderer type.
43
42
  *
44
43
  * ### Unique values
45
44
  *
46
- * [![Unique values](https://developers.arcgis.com/javascript/latest/assets/img/apiref/widgets/legend/legend-unique-values.png)](https://developers.arcgis.com/javascript/latest/sample-code/visualization-location-types/)
45
+ * [![Unique values](https://developers.arcgis.com/javascript/latest/assets/references/core/widgets/legend/legend-unique-values.png)](https://developers.arcgis.com/javascript/latest/sample-code/visualization-location-types/)
47
46
  *
48
47
  * ### Continuous color
49
48
  *
50
- * [![Continuous color](https://developers.arcgis.com/javascript/latest/assets/img/apiref/widgets/legend/legend-color-vv.png)](https://developers.arcgis.com/javascript/latest/sample-code/visualization-vv-color/)
49
+ * [![Continuous color](https://developers.arcgis.com/javascript/latest/assets/references/core/widgets/legend/legend-color-vv.png)](https://developers.arcgis.com/javascript/latest/sample-code/visualization-vv-color/)
51
50
  *
52
51
  * ### Classed color
53
52
  *
54
- * [![Classed color](https://developers.arcgis.com/javascript/latest/assets/img/apiref/widgets/legend/legend-class-breaks.png)](https://developers.arcgis.com/javascript/latest/sample-code/visualization-classbreaks/)
53
+ * [![Classed color](https://developers.arcgis.com/javascript/latest/assets/references/core/widgets/legend/legend-class-breaks.png)](https://developers.arcgis.com/javascript/latest/sample-code/visualization-classbreaks/)
55
54
  *
56
55
  * ### Continuous size
57
56
  *
58
- * [![Continuous size](https://developers.arcgis.com/javascript/latest/assets/img/apiref/widgets/legend/legend-size.png)](https://developers.arcgis.com/javascript/latest/sample-code/visualization-sm-size/)
57
+ * [![Continuous size](https://developers.arcgis.com/javascript/latest/assets/references/core/widgets/legend/legend-size.png)](https://developers.arcgis.com/javascript/latest/sample-code/visualization-sm-size/)
59
58
  *
60
59
  * ### Size - above and below
61
60
  *
62
- * [![Size - above and below](https://developers.arcgis.com/javascript/latest/assets/img/apiref/widgets/legend/legend-size-themes.png)](https://developers.arcgis.com/javascript/latest/sample-code/visualization-sm-size-themes/)
61
+ * [![Size - above and below](https://developers.arcgis.com/javascript/latest/assets/references/core/widgets/legend/legend-size-themes.png)](https://developers.arcgis.com/javascript/latest/sample-code/visualization-sm-size-themes/)
63
62
  *
64
63
  * ### Dot density
65
64
  *
66
- * [![Dot density](https://developers.arcgis.com/javascript/latest/assets/img/apiref/widgets/legend/legend-dot-density.png)](https://developers.arcgis.com/javascript/latest/sample-code/visualization-dot-density/)
65
+ * [![Dot density](https://developers.arcgis.com/javascript/latest/assets/references/core/widgets/legend/legend-dot-density.png)](https://developers.arcgis.com/javascript/latest/sample-code/visualization-dot-density/)
67
66
  *
68
67
  * ### Predominance
69
68
  *
70
- * [![Predominance](https://developers.arcgis.com/javascript/latest/assets/img/apiref/widgets/legend/legend-predominance.png)](https://developers.arcgis.com/javascript/latest/sample-code/visualization-arcade/)
69
+ * [![Predominance](https://developers.arcgis.com/javascript/latest/assets/references/core/widgets/legend/legend-predominance.png)](https://developers.arcgis.com/javascript/latest/sample-code/visualization-arcade/)
71
70
  *
72
71
  * ### Relationship
73
72
  *
74
- * [![Relationship](https://developers.arcgis.com/javascript/latest/assets/img/apiref/widgets/legend/legend-relationship.png)](https://developers.arcgis.com/javascript/latest/sample-code/visualization-sm-relationship/)
73
+ * [![Relationship](https://developers.arcgis.com/javascript/latest/assets/references/core/widgets/legend/legend-relationship.png)](https://developers.arcgis.com/javascript/latest/sample-code/visualization-sm-relationship/)
75
74
  *
76
75
  *
77
76
  * ## Legend labels
78
77
  *
79
- * Legend text is directly controlled through the [layer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-Layer.html) and [renderer](https://developers.arcgis.com/javascript/latest/api-reference/esri-renderers-Renderer.html) properties. For example, `layer.title` is directly used by the legend to present a layer's symbology to the end user. To override this text, you can directly update `layer.title`.
78
+ * Legend text is directly controlled through the [layer](https://developers.arcgis.com/javascript/latest/references/core/layers/Layer/) and [renderer](https://developers.arcgis.com/javascript/latest/references/core/renderers/Renderer/) properties. For example, `layer.title` is directly used by the legend to present a layer's symbology to the end user. To override this text, you can directly update `layer.title`.
80
79
  *
81
- * Furthermore, you can control date and number formatting in Legend by using the [FieldConfiguration](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-FieldConfiguration.html) formatting options on the layer. As an alternative to this, you can override Legend text via the renderer's properties. For example, the renderer may have a [legendOptions](https://developers.arcgis.com/javascript/latest/api-reference/esri-renderers-ClassBreaksRenderer.html#legendOptions) property (or a label property in the case of visual variable stops or UniqueValueInfos) that can be used to override default legend text describing the renderer element in question. The [Update legend text sample](https://developers.arcgis.com/javascript/latest/sample-code/legend-update/) provides an example of overriding legend text via the renderer.
80
+ * Furthermore, you can control date and number formatting in Legend by using the [FieldConfiguration](https://developers.arcgis.com/javascript/latest/references/core/layers/support/FieldConfiguration/) formatting options on the layer. As an alternative to this, you can override Legend text via the renderer's properties. For example, the renderer may have a [legendOptions](https://developers.arcgis.com/javascript/latest/references/core/renderers/ClassBreaksRenderer/#legendOptions) property (or a label property in the case of visual variable stops or UniqueValueInfos) that can be used to override default legend text describing the renderer element in question. The [Update legend text sample](https://developers.arcgis.com/javascript/latest/sample-code/legend-update/) provides an example of overriding legend text via the renderer.
82
81
  *
83
82
  * Note that when you override legend text, all formatting and localization that would otherwise be dynamically applied to labels will no longer apply.
84
83
  *
@@ -90,11 +89,11 @@ import type { LegendViewModelState } from "@arcgis/core/widgets/Legend/LegendVie
90
89
  */
91
90
  export abstract class ArcgisLegend extends LitElement {
92
91
  /**
93
- * Collection of [ActiveLayerInfo](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Legend-support-ActiveLayerInfo.html) objects used by the legend view to
92
+ * Collection of [ActiveLayerInfo](https://developers.arcgis.com/javascript/latest/references/core/widgets/Legend/support/ActiveLayerInfo/) objects used by the legend view to
94
93
  * display data in the legend. The legend component watches this property to hide or display the layer's legend when
95
- * an [ActiveLayerInfo](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Legend-support-ActiveLayerInfo.html) is removed from or added to this collection.
94
+ * an [ActiveLayerInfo](https://developers.arcgis.com/javascript/latest/references/core/widgets/Legend/support/ActiveLayerInfo/) is removed from or added to this collection.
96
95
  */
97
- accessor activeLayerInfos: Collection2<ActiveLayerInfo2>;
96
+ accessor activeLayerInfos: Collection<ActiveLayerInfo>;
98
97
  /**
99
98
  * If true, the component will not be destroyed automatically when it is
100
99
  * disconnected from the document. This is useful when you want to move the
@@ -106,12 +105,12 @@ export abstract class ArcgisLegend extends LitElement {
106
105
  */
107
106
  accessor autoDestroyDisabled: boolean;
108
107
  /**
109
- * Indicates whether to show the [Basemap](https://developers.arcgis.com/javascript/latest/api-reference/esri-Basemap.html) layers in the Legend. If you set this property to
108
+ * Indicates whether to show the [Basemap](https://developers.arcgis.com/javascript/latest/references/core/Basemap/) layers in the Legend. If you set this property to
110
109
  * `true` and specify [layerInfos](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-legend/#layerInfos) that include the basemap layers, the basemap will be displayed in the legend.
111
110
  *
112
111
  * > **Known limitation:**
113
112
  * >
114
- * > [VectorTileLayers](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-VectorTileLayer.html) in the basemap are not currently supported in the legend.
113
+ * > [VectorTileLayers](https://developers.arcgis.com/javascript/latest/references/core/layers/VectorTileLayer/) in the basemap are not currently supported in the legend.
115
114
  * > This includes most Esri basemaps such as "Streets", "Topographic", "Navigation", and others that use vector tiles.
116
115
  *
117
116
  * @default false
@@ -131,7 +130,7 @@ export abstract class ArcgisLegend extends LitElement {
131
130
  * Indicates the layout of the legend when the [legendStyle](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-legend/#legendStyle) is set to the string value of `"card"`.
132
131
  * The layout determines how the legend's content is arranged.
133
132
  *
134
- * [![card-style-layout](https://developers.arcgis.com/javascript/latest/assets/img/components/legend/card-style-layout.png)](https://developers.arcgis.com/javascript/latest/sample-code/legend-card/)
133
+ * [![card-style-layout](https://developers.arcgis.com/javascript/latest/assets/references/components/legend/card-style-layout.png)](https://developers.arcgis.com/javascript/latest/sample-code/legend-card/)
135
134
  *
136
135
  * @since 4.34
137
136
  * @example
@@ -200,11 +199,11 @@ export abstract class ArcgisLegend extends LitElement {
200
199
  * Determines whether to respect the properties of the layers in the map that control the legend's visibility (`minScale`, `maxScale`, `legendEnabled`).
201
200
  * By default, a layer's legend elements **will not render** in the legend given the following conditions:
202
201
  *
203
- * - The layer's [legendEnabled](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#legendEnabled) property
202
+ * - The layer's [legendEnabled](https://developers.arcgis.com/javascript/latest/references/core/layers/FeatureLayer/#legendEnabled) property
204
203
  * is set to `false`.
205
204
  * - If the view's scale is outside the visibility range
206
- * defined by the layer's [minScale](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#minScale) and
207
- * [maxScale](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#maxScale) properties.
205
+ * defined by the layer's [minScale](https://developers.arcgis.com/javascript/latest/references/core/layers/FeatureLayer/#minScale) and
206
+ * [maxScale](https://developers.arcgis.com/javascript/latest/references/core/layers/FeatureLayer/#maxScale) properties.
208
207
  *
209
208
  * When the `ignoreLayerVisibility` property of the legend is set to `true`, the legend elements for each
210
209
  * layer in the map will always display, thus disregarding the `minScale`, `maxScale`,
@@ -258,7 +257,7 @@ export abstract class ArcgisLegend extends LitElement {
258
257
  * You can either specify a string or an object to indicate the style. The known string values are the same values listed in
259
258
  * the table within the `type` property.
260
259
  *
261
- * [![legend-style](https://developers.arcgis.com/javascript/latest/assets/img/components/legend/legend-style.png)](https://developers.arcgis.com/javascript/latest/sample-code/legend-card/)
260
+ * [![legend-style](https://developers.arcgis.com/javascript/latest/assets/references/components/legend/legend-style.png)](https://developers.arcgis.com/javascript/latest/sample-code/legend-card/)
262
261
  *
263
262
  * @default "classic"
264
263
  * @see [cardStyleLayout](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-legend/#cardStyleLayout)
@@ -415,12 +414,12 @@ export abstract class ArcgisLegend extends LitElement {
415
414
  accessor referenceElement: ArcgisReferenceElement | string | undefined;
416
415
  /**
417
416
  * If a layer uses a unique value render, only features that satisfy the layer's
418
- * [definition](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#definitionExpression)
417
+ * [definition](https://developers.arcgis.com/javascript/latest/references/core/layers/FeatureLayer/#definitionExpression)
419
418
  * will be displayed in the legend when set to true.
420
419
  *
421
420
  * @default false
422
421
  * @since 4.30
423
- * @see [definitionExpression](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#definitionExpression)
422
+ * @see [definitionExpression](https://developers.arcgis.com/javascript/latest/references/core/layers/FeatureLayer/#definitionExpression)
424
423
  * @example
425
424
  * Only display features that satisfy the layer's definitionExpression.
426
425
  *
@@ -443,7 +442,7 @@ export abstract class ArcgisLegend extends LitElement {
443
442
  * The view associated with the component.
444
443
  * > **Note:** The recommended approach is to fully migrate applications to use map and scene components and avoid using MapView and SceneView directly. However, if you are migrating a large application from widgets to components, you might prefer a more gradual transition. To support this use case, the SDK includes this `view` property which connects a component to a MapView or SceneView. Ultimately, once migration is complete, the arcgis-legend component will be associated with a map or scene component rather than using the `view` property.
445
444
  */
446
- accessor view: MapViewOrSceneView | LinkChartView | null | undefined;
445
+ accessor view: LinkChartView | MapViewOrSceneView | null | undefined;
447
446
  /** Permanently destroy the component. */
448
447
  destroy(): Promise<void>;
449
448
  /** Emitted when the value of a property is changed. Use this to listen to changes to properties. */
@@ -1,10 +1,10 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
2
  import { c as v } from "../../chunks/runtime.js";
3
3
  import { css as $, html as s } from "lit";
4
- import { LitElement as u, safeClassMap as c, nothing as n, safeStyleMap as w } from "@arcgis/lumina";
5
- import { classes as d } from "@arcgis/toolkit/dom";
6
- import { b as f, s as p, i as E, c as g, g as y } from "../../chunks/utils.js";
7
- const L = $`.layer-table{display:flex;flex-flow:column;margin-bottom:var(--calcite-spacing-md);width:100%}.layer-table-size-ramp{display:table}.layer-table-size-ramp .layer-cell{display:table-cell}.layer-caption{display:table-caption;padding:var(--calcite-spacing-sm) 0;word-break:break-word}.layer-body{margin-left:var(--calcite-spacing-sm)}:dir(rtl) .layer-body{margin-right:var(--calcite-spacing-sm);margin-left:0;overflow:auto}.layer-row{display:flex}.layer-table-size-ramp .layer-row{display:table-row}.layer-cell{padding:var(--calcite-spacing-xxs) 0;vertical-align:middle;word-break:break-word;display:flex;align-items:center}.layer-cell-info{padding-right:var(--calcite-spacing-sm);padding-left:var(--calcite-spacing-sm);max-width:250px;word-break:normal;word-wrap:normal;font-size:var(--calcite-font-size-sm)}.imagery-layer-stretched-image{display:block;margin-bottom:-2px}.imagery-layer-info-stretched{padding:0 2px;vertical-align:top}.layer-cell-symbols{text-align:center}.symbol{display:flex;justify-content:center}`;
4
+ import { LitElement as u, safeClassMap as n, nothing as c, safeStyleMap as w } from "@arcgis/lumina";
5
+ import { classes as g } from "@arcgis/toolkit/dom";
6
+ import { b as E, s as p, i as f, c as d, g as y } from "../../chunks/utils.js";
7
+ const L = $`.layer-table{display:table;margin-bottom:var(--calcite-spacing-md);width:100%}.layer-caption{display:table-caption;padding:var(--calcite-spacing-sm) 0;word-break:break-word}.layer-body{margin-left:var(--calcite-spacing-sm)}:dir(rtl) .layer-body{margin-right:var(--calcite-spacing-sm);margin-left:0;overflow:auto}.layer-row{display:table-row}.layer-cell{padding:var(--calcite-spacing-xxs) 0;vertical-align:middle;word-break:break-word;display:table-cell}.layer-cell-info{padding-right:var(--calcite-spacing-sm);padding-left:var(--calcite-spacing-sm);max-width:250px;word-break:normal;word-wrap:normal;font-size:var(--calcite-font-size-sm)}.imagery-layer-stretched-image{display:block;margin-bottom:-2px}.imagery-layer-info-stretched{padding:0 2px;vertical-align:top}.layer-cell-symbols{text-align:center}.symbol{display:flex;justify-content:center}`;
8
8
  class x extends u {
9
9
  static {
10
10
  this.properties = { cssEffectFilter: 1, layer: 0, legendElement: 0, messages: 0 };
@@ -13,10 +13,8 @@ class x extends u {
13
13
  this.styles = L;
14
14
  }
15
15
  render() {
16
- const e = this._renderLegendElement(), a = f(this.legendElement, this.messages), l = a ? s`<div class="layer-caption">${a}</div>` : null, i = {
17
- "layer-table-size-ramp": this.legendElement.type === "size-ramp"
18
- };
19
- return s`<section class=${c(d("layer-table", i))}>${l}${e}</section>`;
16
+ const e = this._renderLegendElement(), a = E(this.legendElement, this.messages), i = a ? s`<div class="layer-caption">${a}</div>` : null;
17
+ return s`<section class="layer-table">${i}${e}</section>`;
20
18
  }
21
19
  _renderLegendElement() {
22
20
  switch (this.legendElement.type) {
@@ -44,38 +42,38 @@ class x extends u {
44
42
  }
45
43
  }
46
44
  _renderSymbolTable(e) {
47
- const a = e.infos.map((l) => this._renderElementInfo(l, e.legendType)).filter(Boolean);
45
+ const a = e.infos.map((i) => this._renderElementInfo(i, e.legendType)).filter(Boolean);
48
46
  return a.length ? s`<div class="layer-body">${a}</div>` : null;
49
47
  }
50
48
  _renderElementInfo(e, a) {
51
- const { layer: l } = this, i = "label" in e ? e.label : null;
49
+ const { layer: i } = this, l = "label" in e ? e.label : null;
52
50
  if ("type" in e && e.type)
53
- return e ? s`<arcgis-legend-classic-element .cssEffectFilter=${this.cssEffectFilter} .layer=${l} .legendElement=${e} .messages=${this.messages}></arcgis-legend-classic-element>` : null;
51
+ return e ? s`<arcgis-legend-classic-element .cssEffectFilter=${this.cssEffectFilter} .layer=${i} .legendElement=${e} .messages=${this.messages}></arcgis-legend-classic-element>` : null;
54
52
  if (!("preview" in e && e.preview) && !("src" in e && e.src))
55
53
  return null;
56
- const r = E(l, a), t = {
54
+ const r = f(i, a), t = {
57
55
  "imagery-layer-info-stretched": r
58
56
  };
59
- return s`<div class="layer-row"><div class=${c(d("layer-cell", "layer-cell-symbols", {
57
+ return s`<div class="layer-row"><div class=${n(g("layer-cell", "layer-cell-symbols", {
60
58
  "imagery-layer-info-stretched": r
61
- }))}>${this._renderPreview(e, r)}</div><div class=${c(d("layer-cell", "layer-cell-info", t))}>${g(this.messages, i, !1) || ""}</div></div>`;
59
+ }))}>${this._renderPreview(e, r)}</div><div class=${n(g("layer-cell", "layer-cell-info", t))}>${d(this.messages, l, !1) || ""}</div></div>`;
62
60
  }
63
61
  _renderPreview(e, a) {
64
- const { layer: l } = this;
62
+ const { layer: i } = this;
65
63
  if ("preview" in e && e.preview) {
66
- const { preview: i } = e, r = "previewAriaLabel" in e ? e.previewAriaLabel : null, t = "label" in e ? g(this.messages, e.label, !1) : null;
67
- return p(i, y(this.messages, r || t)), s`<div class="symbol">${i}</div>`;
64
+ const { preview: l } = e, r = "previewAriaLabel" in e ? e.previewAriaLabel : null, t = "label" in e ? d(this.messages, e.label, !1) : null;
65
+ return p(l, y(this.messages, r || t)), s`<div class="symbol">${l}</div>`;
68
66
  }
69
- return "src" in e && e.src ? this._renderImage(e, l, a) : null;
67
+ return "src" in e && e.src ? this._renderImage(e, i, a) : null;
70
68
  }
71
- _renderImage(e, a, l) {
72
- const { previewAriaLabel: i, src: r, opacity: t } = e, m = g(this.messages, e.label, !1), h = {
73
- "imagery-layer-stretched-image": l,
74
- symbol: !l
69
+ _renderImage(e, a, i) {
70
+ const { previewAriaLabel: l, src: r, opacity: t } = e, o = d(this.messages, e.label, !1), h = {
71
+ "imagery-layer-stretched-image": i,
72
+ symbol: !i
75
73
  }, b = {
76
74
  opacity: `${t ?? a.opacity}`
77
- }, o = y(this.messages, i || m);
78
- return s`<img alt=${o ?? n} .ariaLabel=${o} class=${c(d(h))} height=${e.height ?? void 0 ?? n} src=${r ?? n} style=${w(b)} width=${e.width ?? void 0 ?? n}>`;
75
+ }, m = y(this.messages, l || o);
76
+ return s`<img alt=${m ?? c} .ariaLabel=${m} class=${n(g(h))} height=${e.height ?? void 0 ?? c} src=${r ?? c} style=${w(b)} width=${e.width ?? void 0 ?? c}>`;
79
77
  }
80
78
  }
81
79
  v("arcgis-legend-classic-element", x);