@arcgis/map-components 4.34.0-next.120 → 4.34.0-next.122

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 (566) hide show
  1. package/dist/cdn/{B72JD5TO.js → 24QOAYDK.js} +2 -2
  2. package/dist/cdn/{FKUDUOEH.js → 25COAISL.js} +2 -2
  3. package/dist/cdn/{KCWL6UV4.js → 2I7LO3UT.js} +2 -2
  4. package/dist/cdn/{2HE2Z5NV.js → 2SGQ2L6N.js} +2 -2
  5. package/dist/cdn/2TJX62X4.js +4 -0
  6. package/dist/cdn/2UJ5F23Z.js +4 -0
  7. package/dist/cdn/{7TT4U7QY.js → 2YEIGOPG.js} +1 -1
  8. package/dist/cdn/{MN7CAQNX.js → 3LE5WXLU.js} +2 -2
  9. package/dist/cdn/{NOOBN67X.js → 3OERPG4C.js} +2 -2
  10. package/dist/cdn/44CVJOQC.js +4 -0
  11. package/dist/cdn/{LFZLQDDG.js → 4BPA3JA6.js} +2 -2
  12. package/dist/cdn/4EFZS352.js +4 -0
  13. package/dist/cdn/{FZI3AKTY.js → 4F5UOHKP.js} +1 -1
  14. package/dist/cdn/4TEKR2PV.js +4 -0
  15. package/dist/cdn/{COKDS53J.js → 4WCD3MYU.js} +2 -2
  16. package/dist/cdn/{5Y6Z6AU2.js → 4WVNABYU.js} +2 -2
  17. package/dist/cdn/4XIYZWSF.js +4 -0
  18. package/dist/cdn/4YXPME7B.js +4 -0
  19. package/dist/cdn/{EJ4Y7VTU.js → 54XEJ3QW.js} +2 -2
  20. package/dist/cdn/{I5VTUAC2.js → 5GCMPBWU.js} +2 -2
  21. package/dist/cdn/{YTOJP56H.js → 5MVNKBCG.js} +2 -2
  22. package/dist/cdn/5UTFAHXX.js +4 -0
  23. package/dist/cdn/5XPHCAAJ.js +4 -0
  24. package/dist/cdn/{I76USMBY.js → 65OX3CUB.js} +2 -2
  25. package/dist/cdn/{PKQNTFVZ.js → 6KYIR5C7.js} +2 -2
  26. package/dist/cdn/{G5MXZ3RB.js → 6SDHFX6T.js} +1 -1
  27. package/dist/cdn/6YHBEZX3.js +4 -0
  28. package/dist/cdn/6ZGP33QR.js +4 -0
  29. package/dist/cdn/{IMZUUJPE.js → 7774ECRP.js} +2 -2
  30. package/dist/cdn/{WUW4ZK2I.js → 7ACNO2AB.js} +2 -2
  31. package/dist/cdn/{VB3ERSMR.js → 7MMERZAD.js} +2 -2
  32. package/dist/cdn/{XW7I2P5P.js → 7N5SW52Y.js} +2 -2
  33. package/dist/cdn/{PLHQIKNT.js → A2PS7D5T.js} +2 -2
  34. package/dist/cdn/{IYY5KGSN.js → A3FCIDC7.js} +2 -2
  35. package/dist/cdn/{5PEK6KXY.js → AGFMEIVQ.js} +2 -2
  36. package/dist/cdn/{6AHLLAZO.js → AGMAIUGT.js} +2 -2
  37. package/dist/cdn/{WC7XPTBO.js → AHCYCHKH.js} +2 -2
  38. package/dist/cdn/{VTV2KINX.js → AIKOCYSZ.js} +2 -2
  39. package/dist/cdn/{UKNIOOAM.js → ARA5XXOM.js} +2 -2
  40. package/dist/cdn/{WN7VB3T5.js → AS62J7GQ.js} +2 -2
  41. package/dist/cdn/ATITHW4Y.js +4 -0
  42. package/dist/cdn/AV2LGRVP.js +4 -0
  43. package/dist/cdn/AZXZU6UG.js +4 -0
  44. package/dist/cdn/{ST4EJC3A.js → B2RFCJ5G.js} +2 -2
  45. package/dist/cdn/BDIWKUSR.js +4 -0
  46. package/dist/cdn/{UYR2Z7HF.js → BGXF3VHP.js} +2 -2
  47. package/dist/cdn/BKVJXKKC.js +4 -0
  48. package/dist/cdn/{BQGF3TJR.js → BSKX6IMQ.js} +2 -2
  49. package/dist/cdn/{P6HS5PC7.js → BSRYOSKX.js} +1 -1
  50. package/dist/cdn/BUJPO5XU.js +4 -0
  51. package/dist/cdn/{OC6TPBNB.js → BWTZVHWG.js} +2 -2
  52. package/dist/cdn/C2JARRH3.js +4 -0
  53. package/dist/cdn/CKKCUJ2J.js +4 -0
  54. package/dist/cdn/CRBFWZG7.js +4 -0
  55. package/dist/cdn/{P3B3P7L4.js → CXWWYBCL.js} +2 -2
  56. package/dist/cdn/{33OF3ZBL.js → DEZRR733.js} +2 -2
  57. package/dist/cdn/{YMLJJXLE.js → DGBRG7Q6.js} +2 -2
  58. package/dist/cdn/{SM6XPVPD.js → DNV7ARLA.js} +2 -2
  59. package/dist/cdn/{BHXMZU2O.js → DPMMLJIC.js} +2 -2
  60. package/dist/cdn/{YLIV52HA.js → DRKFPB5P.js} +2 -2
  61. package/dist/cdn/DX3UA6YF.js +4 -0
  62. package/dist/cdn/DZZIDIEA.js +4 -0
  63. package/dist/cdn/EIA3233Z.js +4 -0
  64. package/dist/cdn/{EX5SJOG7.js → EXZ32TSQ.js} +2 -2
  65. package/dist/cdn/F2I6TAH6.js +4 -0
  66. package/dist/cdn/F3Z6MV7Q.js +4 -0
  67. package/dist/cdn/{6U67NGEC.js → F4DI54E4.js} +2 -2
  68. package/dist/cdn/FG6G3JX2.js +4 -0
  69. package/dist/cdn/FGZ7KZN6.js +4 -0
  70. package/dist/cdn/FSXZTYYJ.js +4 -0
  71. package/dist/cdn/{LGUSMSGI.js → G4L6W6YB.js} +2 -2
  72. package/dist/cdn/{25ZDGUMM.js → G4VNBAI3.js} +1 -1
  73. package/dist/cdn/G6SJVKV7.js +4 -0
  74. package/dist/cdn/GI3LH46M.js +4 -0
  75. package/dist/cdn/GJDE5YRP.js +4 -0
  76. package/dist/cdn/GLETJSDS.js +4 -0
  77. package/dist/cdn/H73EBIUQ.js +4 -0
  78. package/dist/cdn/HCYRVFBP.js +4 -0
  79. package/dist/cdn/{Q5YQK2S3.js → HET3QDPM.js} +2 -2
  80. package/dist/cdn/HFG3YICH.js +4 -0
  81. package/dist/cdn/HKCSOE7A.js +4 -0
  82. package/dist/cdn/{R7M5WN2E.js → HMFSKCUA.js} +2 -2
  83. package/dist/cdn/{TCWVCV45.js → HMPF4F6A.js} +2 -2
  84. package/dist/cdn/HVX4YZLV.js +4 -0
  85. package/dist/cdn/{AWVU24JV.js → ICHIVOO2.js} +2 -2
  86. package/dist/cdn/{MIXSCPX5.js → IFL2SG6G.js} +2 -2
  87. package/dist/cdn/IMDAIDHE.js +4 -0
  88. package/dist/cdn/INH6VSM6.js +4 -0
  89. package/dist/cdn/J4G7ZYDV.js +4 -0
  90. package/dist/cdn/{N622KPPP.js → JABGY3LS.js} +2 -2
  91. package/dist/cdn/{IMBF7SKO.js → JCPR5IDI.js} +2 -2
  92. package/dist/cdn/JE2C5YST.js +4 -0
  93. package/dist/cdn/{6PHSJ3A3.js → JEMSZWRF.js} +2 -2
  94. package/dist/cdn/{ICP3J2N2.js → JN5QU22C.js} +2 -2
  95. package/dist/cdn/{CVTGNNNT.js → JO3624W2.js} +1 -1
  96. package/dist/cdn/{EGQJWIJU.js → JQG2EYDV.js} +2 -2
  97. package/dist/cdn/JVLSGQNX.js +4 -0
  98. package/dist/cdn/{ARQIMOEK.js → KINAHUEA.js} +2 -2
  99. package/dist/cdn/{2CXHMQTJ.js → KPW26ICE.js} +2 -2
  100. package/dist/cdn/{RQXFAZND.js → KQD6WAOZ.js} +2 -2
  101. package/dist/cdn/{ZKXGN63L.js → KT6NGDLY.js} +2 -2
  102. package/dist/cdn/KWAD7U3K.js +4 -0
  103. package/dist/cdn/KXK6YPVN.js +4 -0
  104. package/dist/cdn/{MYQDZZBV.js → KXPWLYMR.js} +2 -2
  105. package/dist/cdn/L2DK7UOF.js +4 -0
  106. package/dist/cdn/{AP3CYFMQ.js → LABTSTGZ.js} +2 -2
  107. package/dist/cdn/{HWPWUKY6.js → LMJMWYY7.js} +1 -1
  108. package/dist/cdn/{MZ6IXKKM.js → LVALMGZY.js} +2 -2
  109. package/dist/cdn/MAPN3WRY.js +4 -0
  110. package/dist/cdn/{HNLDTV7N.js → MAUD5CXT.js} +2 -2
  111. package/dist/cdn/{3KUOKMM6.js → MDS4ATRT.js} +2 -2
  112. package/dist/cdn/MKLBWVTY.js +4 -0
  113. package/dist/cdn/MSB52RLX.js +7 -0
  114. package/dist/cdn/MSQUWGCM.js +4 -0
  115. package/dist/cdn/MTJOF4UU.js +4 -0
  116. package/dist/cdn/{QRC7ZBBC.js → MX272IGS.js} +2 -2
  117. package/dist/cdn/{MGVKUYDH.js → N35ZFO2Q.js} +2 -2
  118. package/dist/cdn/N6Q54SM7.js +4 -0
  119. package/dist/cdn/N7K7DWZP.js +4 -0
  120. package/dist/cdn/{SNNTEXLH.js → NDWCMWQR.js} +2 -2
  121. package/dist/cdn/NF5J5DVG.js +4 -0
  122. package/dist/cdn/NKAQA6AI.js +4 -0
  123. package/dist/cdn/{MH7KAJHO.js → NLPVUUAQ.js} +2 -2
  124. package/dist/cdn/NNZBJTIY.js +4 -0
  125. package/dist/cdn/NRQMOT2P.js +4 -0
  126. package/dist/cdn/{W34GBMIV.js → NUQ4J6FO.js} +2 -2
  127. package/dist/cdn/{CE6ML33U.js → NV5HISV3.js} +2 -2
  128. package/dist/cdn/OBNSVR7V.js +4 -0
  129. package/dist/cdn/OBWQQOL4.js +4 -0
  130. package/dist/cdn/OECDVZPL.js +5 -0
  131. package/dist/cdn/{7HIZTTHU.js → OGU2N6GE.js} +2 -2
  132. package/dist/cdn/ONLMT3TZ.js +4 -0
  133. package/dist/cdn/{QWAMBTBH.js → OO7WKSG4.js} +2 -2
  134. package/dist/cdn/{6HHUN5YQ.js → OOTRZD4Y.js} +2 -2
  135. package/dist/cdn/OVLYJ3XL.js +4 -0
  136. package/dist/cdn/OXV66ZKC.js +4 -0
  137. package/dist/cdn/{BBPNY7E3.js → OY7SSMV5.js} +2 -2
  138. package/dist/cdn/OYDECWUP.js +4 -0
  139. package/dist/cdn/P3OQZJQ2.js +4 -0
  140. package/dist/cdn/{UCRV2PDT.js → P5FRRAQ5.js} +2 -2
  141. package/dist/cdn/PF7FY4Q5.js +4 -0
  142. package/dist/cdn/{QJI26PMM.js → PGAXHYX2.js} +2 -2
  143. package/dist/cdn/PKZ6YN4Y.js +4 -0
  144. package/dist/cdn/{6WA73KKR.js → PLKC7G54.js} +2 -2
  145. package/dist/cdn/{HQSZHIDX.js → Q4E2CJHA.js} +2 -2
  146. package/dist/cdn/QETLJS3F.js +4 -0
  147. package/dist/cdn/QEZKQQ6G.js +4 -0
  148. package/dist/cdn/{RMNCEUXY.js → QPBAASBC.js} +2 -2
  149. package/dist/cdn/QQHYLBKY.js +4 -0
  150. package/dist/cdn/{IND5WNZM.js → QQYRB2MI.js} +2 -2
  151. package/dist/cdn/{ZNIHPOQW.js → QVXJSNPF.js} +2 -2
  152. package/dist/cdn/{FSQ2KHIG.js → QYXPLOPV.js} +2 -2
  153. package/dist/cdn/{2UNBJPHV.js → QZ5YN2IE.js} +2 -2
  154. package/dist/cdn/R3MWXHYP.js +4 -0
  155. package/dist/cdn/RAD6YB43.js +4 -0
  156. package/dist/cdn/{DORZHLU3.js → RCPEJBJV.js} +2 -2
  157. package/dist/cdn/RETN56X2.js +4 -0
  158. package/dist/cdn/{6IWPGZTN.js → RTGFBXZU.js} +2 -2
  159. package/dist/cdn/{IRN5BQBL.js → RUX6YBCW.js} +2 -2
  160. package/dist/cdn/RXJJVEAO.js +4 -0
  161. package/dist/cdn/RXQR233O.js +4 -0
  162. package/dist/cdn/{JUSWF2RY.js → SA5MHOMT.js} +2 -2
  163. package/dist/cdn/{OIU3HXT4.js → SF5ZQKZZ.js} +2 -2
  164. package/dist/cdn/{UCRJMK5C.js → SG2GF3S4.js} +2 -2
  165. package/dist/cdn/{P7BNZYTQ.js → SHY42MBP.js} +2 -2
  166. package/dist/cdn/{QJVND6MN.js → SPOBXGFM.js} +2 -2
  167. package/dist/cdn/{QH6W2HS7.js → STPULIEM.js} +2 -2
  168. package/dist/cdn/TDZSW25R.js +4 -0
  169. package/dist/cdn/TF3YNFCX.js +4 -0
  170. package/dist/cdn/TL2KJ5MU.js +4 -0
  171. package/dist/cdn/{F6TOJFSA.js → TPSKQNRN.js} +2 -2
  172. package/dist/cdn/{KQBSK57H.js → TUOK2I25.js} +2 -2
  173. package/dist/cdn/{L22HLZL6.js → UBUJQZ6M.js} +2 -2
  174. package/dist/cdn/UCQQ3RAK.js +4 -0
  175. package/dist/cdn/UKW3YDPS.js +4 -0
  176. package/dist/cdn/{X22GYTEA.js → UNQIZA3J.js} +2 -2
  177. package/dist/cdn/UQUW34FW.js +4 -0
  178. package/dist/cdn/{FI7OZYLW.js → UU33CEJA.js} +1 -1
  179. package/dist/cdn/{SLVLT2UD.js → UZ22CGIZ.js} +2 -2
  180. package/dist/cdn/{67U6QXEY.js → V423GXVP.js} +2 -2
  181. package/dist/cdn/VFUIF6HI.js +4 -0
  182. package/dist/cdn/VG2SKJBB.js +4 -0
  183. package/dist/cdn/{5ZBM65DS.js → VLHYCVAB.js} +2 -2
  184. package/dist/cdn/{S3FSU7B3.js → VMKAOCEL.js} +2 -2
  185. package/dist/cdn/VMTAPSI4.js +4 -0
  186. package/dist/cdn/VN7GQJIU.js +4 -0
  187. package/dist/cdn/{JOTCO7VO.js → VZRVTLEP.js} +1 -1
  188. package/dist/cdn/W5XYA67A.js +4 -0
  189. package/dist/cdn/WAVVOV33.js +4 -0
  190. package/dist/cdn/{A27SKK6E.js → WDVEG3W3.js} +2 -2
  191. package/dist/cdn/{43EBEKFG.js → WKMOR2AQ.js} +1 -1
  192. package/dist/cdn/{3XJQU7UU.js → WL3YFJW6.js} +2 -2
  193. package/dist/cdn/WSNBUUE5.js +4 -0
  194. package/dist/cdn/{HI2SLBFX.js → WZ6KB7RD.js} +2 -2
  195. package/dist/cdn/{SKVXEDLE.js → WZHJKPHU.js} +2 -2
  196. package/dist/cdn/XDNNFU74.js +4 -0
  197. package/dist/cdn/{7RNIBDPL.js → XHSCS5I5.js} +2 -2
  198. package/dist/cdn/{CHS6E4Q2.js → XIY5EH66.js} +2 -2
  199. package/dist/cdn/{G5DQIZEV.js → XXSR4C2B.js} +2 -2
  200. package/dist/cdn/YEQ7YVBQ.js +4 -0
  201. package/dist/cdn/{2ORRNOGA.js → YOTFRMLD.js} +2 -2
  202. package/dist/cdn/YZS6Z6OU.js +4 -0
  203. package/dist/cdn/Z5IJGWWJ.js +4 -0
  204. package/dist/cdn/Z5NO34M7.js +4 -0
  205. package/dist/cdn/ZEUTCKEM.js +4 -0
  206. package/dist/cdn/{RKPME3GV.js → ZJ6RSOQH.js} +2 -2
  207. package/dist/cdn/{TANBMCPE.js → ZK7B4WHB.js} +2 -2
  208. package/dist/cdn/{VB2WGZSI.js → ZKQZDG2S.js} +1 -1
  209. package/dist/cdn/ZTAOHOCV.js +4 -0
  210. package/dist/cdn/{XWT7UESZ.js → ZTS2WJGQ.js} +2 -2
  211. package/dist/cdn/{ZLDXXV53.js → ZWTVKUE3.js} +2 -2
  212. package/dist/cdn/assets/legend/t9n/messages.ar.json +1 -0
  213. package/dist/cdn/assets/legend/t9n/messages.bg.json +1 -0
  214. package/dist/cdn/assets/legend/t9n/messages.bs.json +1 -0
  215. package/dist/cdn/assets/legend/t9n/messages.ca.json +1 -0
  216. package/dist/cdn/assets/legend/t9n/messages.cs.json +1 -0
  217. package/dist/cdn/assets/legend/t9n/messages.da.json +1 -0
  218. package/dist/cdn/assets/legend/t9n/messages.de.json +1 -0
  219. package/dist/cdn/assets/legend/t9n/messages.el.json +1 -0
  220. package/dist/cdn/assets/legend/t9n/messages.en.json +1 -0
  221. package/dist/cdn/assets/legend/t9n/messages.es.json +1 -0
  222. package/dist/cdn/assets/legend/t9n/messages.et.json +1 -0
  223. package/dist/cdn/assets/legend/t9n/messages.fi.json +1 -0
  224. package/dist/cdn/assets/legend/t9n/messages.fr.json +1 -0
  225. package/dist/cdn/assets/legend/t9n/messages.he.json +1 -0
  226. package/dist/cdn/assets/legend/t9n/messages.hr.json +1 -0
  227. package/dist/cdn/assets/legend/t9n/messages.hu.json +1 -0
  228. package/dist/cdn/assets/legend/t9n/messages.id.json +1 -0
  229. package/dist/cdn/assets/legend/t9n/messages.it.json +1 -0
  230. package/dist/cdn/assets/legend/t9n/messages.ja.json +1 -0
  231. package/dist/cdn/assets/legend/t9n/messages.ko.json +1 -0
  232. package/dist/cdn/assets/legend/t9n/messages.lt.json +1 -0
  233. package/dist/cdn/assets/legend/t9n/messages.lv.json +1 -0
  234. package/dist/cdn/assets/legend/t9n/messages.nl.json +1 -0
  235. package/dist/cdn/assets/legend/t9n/messages.no.json +1 -0
  236. package/dist/cdn/assets/legend/t9n/messages.pl.json +1 -0
  237. package/dist/cdn/assets/legend/t9n/messages.pt-BR.json +1 -0
  238. package/dist/cdn/assets/legend/t9n/messages.pt-PT.json +1 -0
  239. package/dist/cdn/assets/legend/t9n/messages.ro.json +1 -0
  240. package/dist/cdn/assets/legend/t9n/messages.ru.json +1 -0
  241. package/dist/cdn/assets/legend/t9n/messages.sk.json +1 -0
  242. package/dist/cdn/assets/legend/t9n/messages.sl.json +1 -0
  243. package/dist/cdn/assets/legend/t9n/messages.sr.json +1 -0
  244. package/dist/cdn/assets/legend/t9n/messages.sv.json +1 -0
  245. package/dist/cdn/assets/legend/t9n/messages.th.json +1 -0
  246. package/dist/cdn/assets/legend/t9n/messages.tr.json +1 -0
  247. package/dist/cdn/assets/legend/t9n/messages.uk.json +1 -0
  248. package/dist/cdn/assets/legend/t9n/messages.vi.json +1 -0
  249. package/dist/cdn/assets/legend/t9n/messages.zh-CN.json +1 -0
  250. package/dist/cdn/assets/legend/t9n/messages.zh-HK.json +1 -0
  251. package/dist/cdn/assets/legend/t9n/messages.zh-TW.json +1 -0
  252. package/dist/cdn/assets/result-feature-list/t9n/messages.en.json +1 -0
  253. package/dist/cdn/index.js +2 -2
  254. package/dist/cdn/main.css +1 -1
  255. package/dist/chunks/AnalysisViewModel.js +1 -1
  256. package/dist/chunks/action-utils.js +1 -1
  257. package/dist/chunks/async-utils.js +1 -1
  258. package/dist/chunks/basemap-gallery-resources.js +1 -1
  259. package/dist/chunks/chart-utils.js +1 -1
  260. package/dist/chunks/chartCommon.js +1 -1
  261. package/dist/chunks/component-utils.js +1 -1
  262. package/dist/chunks/createCloseEvent.js +1 -1
  263. package/dist/chunks/feature-utils.js +1 -1
  264. package/dist/chunks/globalCss.js +1 -1
  265. package/dist/chunks/heading.js +1 -1
  266. package/dist/chunks/layer-list.js +2 -2
  267. package/dist/chunks/legacyIcon.js +1 -1
  268. package/dist/chunks/maybe.js +1 -1
  269. package/dist/chunks/measurementUtils.js +1 -1
  270. package/dist/chunks/runtime.js +1 -1
  271. package/dist/chunks/slots.js +1 -1
  272. package/dist/chunks/slots2.js +2 -2
  273. package/dist/chunks/svgUtils.js +229 -0
  274. package/dist/chunks/titleUtils.js +42 -0
  275. package/dist/chunks/univariateUtils.js +101 -0
  276. package/dist/chunks/useHandles.js +1 -1
  277. package/dist/chunks/useT9n.js +1 -1
  278. package/dist/chunks/useView.js +1 -1
  279. package/dist/chunks/useViewModel.js +1 -1
  280. package/dist/chunks/useWidget.js +1 -1
  281. package/dist/chunks/utils.js +1 -1
  282. package/dist/chunks/utils2.js +45 -0
  283. package/dist/components/arcgis-area-measurement-2d/customElement.js +1 -1
  284. package/dist/components/arcgis-area-measurement-3d/customElement.js +1 -1
  285. package/dist/components/arcgis-attachments/customElement.js +1 -1
  286. package/dist/components/arcgis-basemap-gallery/customElement.js +1 -1
  287. package/dist/components/arcgis-basemap-gallery-item/customElement.js +1 -1
  288. package/dist/components/arcgis-basemap-layer-list/customElement.d.ts +1 -1
  289. package/dist/components/arcgis-basemap-layer-list/customElement.js +1 -1
  290. package/dist/components/arcgis-basemap-toggle/customElement.js +1 -1
  291. package/dist/components/arcgis-bookmarks/customElement.js +1 -1
  292. package/dist/components/arcgis-building-explorer/customElement.js +1 -1
  293. package/dist/components/arcgis-catalog-layer-list/customElement.d.ts +1 -1
  294. package/dist/components/arcgis-catalog-layer-list/customElement.js +1 -1
  295. package/dist/components/arcgis-compass/customElement.js +1 -1
  296. package/dist/components/arcgis-coordinate-conversion/customElement.js +1 -1
  297. package/dist/components/arcgis-daylight/customElement.js +1 -1
  298. package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +1 -1
  299. package/dist/components/arcgis-directional-pad/customElement.js +1 -1
  300. package/dist/components/arcgis-directions/customElement.js +1 -1
  301. package/dist/components/arcgis-distance-measurement-2d/customElement.js +1 -1
  302. package/dist/components/arcgis-editor/customElement.js +1 -1
  303. package/dist/components/arcgis-elevation-profile/customElement.js +1 -1
  304. package/dist/components/arcgis-elevation-profile-legend/customElement.js +1 -1
  305. package/dist/components/arcgis-elevation-profile-legend-item/customElement.js +1 -1
  306. package/dist/components/arcgis-elevation-profile-next/customElement.js +1 -1
  307. package/dist/components/arcgis-elevation-profile-settings/customElement.js +1 -1
  308. package/dist/components/arcgis-elevation-profile-statistics/customElement.js +1 -1
  309. package/dist/components/arcgis-expand/customElement.js +1 -1
  310. package/dist/components/arcgis-feature/customElement.js +1 -1
  311. package/dist/components/arcgis-feature-attachments/customElement.js +1 -1
  312. package/dist/components/arcgis-feature-content/customElement.js +1 -1
  313. package/dist/components/arcgis-feature-element-info/customElement.js +1 -1
  314. package/dist/components/arcgis-feature-expression/customElement.js +1 -1
  315. package/dist/components/arcgis-feature-fields/customElement.js +1 -1
  316. package/dist/components/arcgis-feature-form/customElement.js +1 -1
  317. package/dist/components/arcgis-feature-media/customElement.js +1 -1
  318. package/dist/components/arcgis-feature-relationship/customElement.js +1 -1
  319. package/dist/components/arcgis-feature-table/customElement.d.ts +1 -1
  320. package/dist/components/arcgis-feature-table/customElement.js +1 -1
  321. package/dist/components/arcgis-feature-templates/customElement.js +1 -1
  322. package/dist/components/arcgis-features/customElement.js +93 -119
  323. package/dist/components/arcgis-features/index.d.ts +2 -1
  324. package/dist/components/arcgis-features/index.js +2 -1
  325. package/dist/components/arcgis-floor-filter/customElement.js +1 -1
  326. package/dist/components/arcgis-fullscreen/customElement.js +1 -1
  327. package/dist/components/arcgis-grid-controls/customElement.js +1 -1
  328. package/dist/components/arcgis-histogram-range-slider/customElement.d.ts +1 -1
  329. package/dist/components/arcgis-histogram-range-slider/customElement.js +1 -1
  330. package/dist/components/arcgis-home/customElement.js +1 -1
  331. package/dist/components/arcgis-labeled-switch/customElement.js +1 -1
  332. package/dist/components/arcgis-layer-list/customElement.d.ts +1 -1
  333. package/dist/components/arcgis-layer-list/customElement.js +1 -1
  334. package/dist/components/arcgis-layer-list-item/customElement.js +1 -1
  335. package/dist/components/arcgis-legend/customElement.d.ts +136 -82
  336. package/dist/components/arcgis-legend/customElement.js +48 -14
  337. package/dist/components/arcgis-legend/index.d.ts +2 -0
  338. package/dist/components/arcgis-legend/index.js +2 -0
  339. package/dist/components/arcgis-legend/support/svgGlobalState.d.ts +7 -0
  340. package/dist/components/arcgis-legend/support/svgUtils.d.ts +173 -0
  341. package/dist/components/arcgis-legend/support/titleUtils.d.ts +6 -0
  342. package/dist/components/arcgis-legend/support/univariateUtils.d.ts +32 -0
  343. package/dist/components/arcgis-legend/support/utils.d.ts +8 -0
  344. package/dist/components/arcgis-legend/types.d.ts +0 -0
  345. package/dist/components/arcgis-legend-card-color-ramp/customElement.d.ts +13 -0
  346. package/dist/components/arcgis-legend-card-color-ramp/customElement.js +91 -0
  347. package/dist/components/arcgis-legend-card-color-ramp/index.d.ts +1 -0
  348. package/dist/components/arcgis-legend-card-color-ramp/index.js +1 -0
  349. package/dist/components/arcgis-legend-card-element/customElement.d.ts +18 -0
  350. package/dist/components/arcgis-legend-card-element/customElement.js +131 -0
  351. package/dist/components/arcgis-legend-card-element/index.d.ts +7 -0
  352. package/dist/components/arcgis-legend-card-element/index.js +7 -0
  353. package/dist/components/arcgis-legend-card-size-ramp/customElement.d.ts +14 -0
  354. package/dist/components/arcgis-legend-card-size-ramp/customElement.js +97 -0
  355. package/dist/components/arcgis-legend-card-size-ramp/index.d.ts +2 -0
  356. package/dist/components/arcgis-legend-card-size-ramp/index.js +2 -0
  357. package/dist/components/arcgis-legend-card-univariate-above-and-below-ramp/customElement.d.ts +13 -0
  358. package/dist/components/arcgis-legend-card-univariate-above-and-below-ramp/customElement.js +64 -0
  359. package/dist/components/arcgis-legend-card-univariate-above-and-below-ramp/index.d.ts +1 -0
  360. package/dist/components/arcgis-legend-card-univariate-above-and-below-ramp/index.js +1 -0
  361. package/dist/components/arcgis-legend-card-univariate-color-size-ramp/customElement.d.ts +13 -0
  362. package/dist/components/arcgis-legend-card-univariate-color-size-ramp/customElement.js +62 -0
  363. package/dist/components/arcgis-legend-card-univariate-color-size-ramp/index.d.ts +1 -0
  364. package/dist/components/arcgis-legend-card-univariate-color-size-ramp/index.js +1 -0
  365. package/dist/components/arcgis-legend-card-view/customElement.d.ts +23 -0
  366. package/dist/components/arcgis-legend-card-view/customElement.js +90 -0
  367. package/dist/components/arcgis-legend-card-view/index.d.ts +4 -0
  368. package/dist/components/arcgis-legend-card-view/index.js +4 -0
  369. package/dist/components/arcgis-legend-classic-color-ramp/customElement.d.ts +12 -0
  370. package/dist/components/arcgis-legend-classic-color-ramp/customElement.js +49 -0
  371. package/dist/components/arcgis-legend-classic-color-ramp/index.d.ts +1 -0
  372. package/dist/components/arcgis-legend-classic-color-ramp/index.js +1 -0
  373. package/dist/components/arcgis-legend-classic-element/customElement.d.ts +12 -0
  374. package/dist/components/arcgis-legend-classic-element/customElement.js +92 -0
  375. package/dist/components/arcgis-legend-classic-element/index.d.ts +7 -0
  376. package/dist/components/arcgis-legend-classic-element/index.js +7 -0
  377. package/dist/components/arcgis-legend-classic-size-ramp/customElement.d.ts +10 -0
  378. package/dist/components/arcgis-legend-classic-size-ramp/customElement.js +38 -0
  379. package/dist/components/arcgis-legend-classic-size-ramp/index.d.ts +2 -0
  380. package/dist/components/arcgis-legend-classic-size-ramp/index.js +2 -0
  381. package/dist/components/arcgis-legend-classic-univariate-above-and-below-ramp/customElement.d.ts +13 -0
  382. package/dist/components/arcgis-legend-classic-univariate-above-and-below-ramp/customElement.js +55 -0
  383. package/dist/components/arcgis-legend-classic-univariate-above-and-below-ramp/index.d.ts +1 -0
  384. package/dist/components/arcgis-legend-classic-univariate-above-and-below-ramp/index.js +1 -0
  385. package/dist/components/arcgis-legend-classic-univariate-color-size-ramp/customElement.d.ts +13 -0
  386. package/dist/components/arcgis-legend-classic-univariate-color-size-ramp/customElement.js +48 -0
  387. package/dist/components/arcgis-legend-classic-univariate-color-size-ramp/index.d.ts +1 -0
  388. package/dist/components/arcgis-legend-classic-univariate-color-size-ramp/index.js +1 -0
  389. package/dist/components/arcgis-legend-classic-view/customElement.d.ts +15 -0
  390. package/dist/components/arcgis-legend-classic-view/customElement.js +53 -0
  391. package/dist/components/arcgis-legend-classic-view/index.d.ts +2 -0
  392. package/dist/components/arcgis-legend-classic-view/index.js +2 -0
  393. package/dist/components/arcgis-legend-relationship-ramp/customElement.d.ts +12 -0
  394. package/dist/components/arcgis-legend-relationship-ramp/customElement.js +94 -0
  395. package/dist/components/arcgis-legend-relationship-ramp/index.d.ts +1 -0
  396. package/dist/components/arcgis-legend-relationship-ramp/index.js +1 -0
  397. package/dist/components/arcgis-legend-spike-ramp/customElement.d.ts +10 -0
  398. package/dist/components/arcgis-legend-spike-ramp/customElement.js +68 -0
  399. package/dist/components/arcgis-legend-spike-ramp/index.d.ts +1 -0
  400. package/dist/components/arcgis-legend-spike-ramp/index.js +1 -0
  401. package/dist/components/arcgis-line-of-sight/customElement.js +1 -1
  402. package/dist/components/arcgis-link-chart/customElement.d.ts +2 -2
  403. package/dist/components/arcgis-link-chart/customElement.js +1 -1
  404. package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +1 -1
  405. package/dist/components/arcgis-locate/customElement.js +1 -1
  406. package/dist/components/arcgis-map/customElement.d.ts +17 -7
  407. package/dist/components/arcgis-map/customElement.js +15 -14
  408. package/dist/components/arcgis-measurement/customElement.d.ts +1 -1
  409. package/dist/components/arcgis-measurement/customElement.js +1 -1
  410. package/dist/components/arcgis-measurement-content/customElement.js +1 -1
  411. package/dist/components/arcgis-navigation-toggle/customElement.js +1 -1
  412. package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +1 -1
  413. package/dist/components/arcgis-placement/customElement.js +1 -1
  414. package/dist/components/arcgis-print/customElement.js +1 -1
  415. package/dist/components/arcgis-print-custom-text-elements/customElement.js +1 -1
  416. package/dist/components/arcgis-print-dpi-input/customElement.js +1 -1
  417. package/dist/components/arcgis-print-export-button/customElement.js +1 -1
  418. package/dist/components/arcgis-print-exported-link/customElement.js +1 -1
  419. package/dist/components/arcgis-print-exports-panel/customElement.js +1 -1
  420. package/dist/components/arcgis-print-format-select/customElement.js +1 -1
  421. package/dist/components/arcgis-print-layout-advanced-options/customElement.js +1 -1
  422. package/dist/components/arcgis-print-layout-panel/customElement.js +1 -1
  423. package/dist/components/arcgis-print-main-panel/customElement.js +1 -1
  424. package/dist/components/arcgis-print-map-only-advanced-options/customElement.js +1 -1
  425. package/dist/components/arcgis-print-map-only-panel/customElement.js +1 -1
  426. package/dist/components/arcgis-print-out-spatial-reference-input/customElement.js +1 -1
  427. package/dist/components/arcgis-print-preview-input/customElement.js +1 -1
  428. package/dist/components/arcgis-print-scale-section/customElement.js +1 -1
  429. package/dist/components/arcgis-print-template-select/customElement.js +1 -1
  430. package/dist/components/arcgis-print-template-selector/customElement.js +1 -1
  431. package/dist/components/arcgis-result-feature-list/customElement.d.ts +34 -0
  432. package/dist/components/arcgis-result-feature-list/customElement.js +61 -0
  433. package/dist/components/arcgis-result-feature-list/index.d.ts +5 -0
  434. package/dist/components/arcgis-result-feature-list/index.js +5 -0
  435. package/dist/components/arcgis-scale-bar/customElement.js +1 -1
  436. package/dist/components/arcgis-scale-range-slider/customElement.js +1 -1
  437. package/dist/components/arcgis-scene/customElement.d.ts +1 -1
  438. package/dist/components/arcgis-scene/customElement.js +1 -1
  439. package/dist/components/arcgis-search/customElement.js +1 -1
  440. package/dist/components/arcgis-search-result-renderer/customElement.js +1 -1
  441. package/dist/components/arcgis-shadow-cast/customElement.js +1 -1
  442. package/dist/components/arcgis-sketch/customElement.d.ts +4 -4
  443. package/dist/components/arcgis-sketch/customElement.js +1 -1
  444. package/dist/components/arcgis-slice/customElement.js +1 -1
  445. package/dist/components/arcgis-spinner/customElement.d.ts +17 -0
  446. package/dist/components/arcgis-spinner/customElement.js +66 -0
  447. package/dist/components/arcgis-spinner/index.d.ts +2 -0
  448. package/dist/components/arcgis-spinner/index.js +2 -0
  449. package/dist/components/arcgis-swipe/customElement.d.ts +1 -1
  450. package/dist/components/arcgis-swipe/customElement.js +1 -1
  451. package/dist/components/arcgis-table-list/customElement.d.ts +1 -1
  452. package/dist/components/arcgis-table-list/customElement.js +1 -1
  453. package/dist/components/arcgis-time-slider/customElement.d.ts +1 -1
  454. package/dist/components/arcgis-time-slider/customElement.js +1 -1
  455. package/dist/components/arcgis-time-zone-label/customElement.js +1 -1
  456. package/dist/components/arcgis-track/customElement.js +1 -1
  457. package/dist/components/arcgis-unit-select/customElement.js +1 -1
  458. package/dist/components/arcgis-utility-network-associations/customElement.js +1 -1
  459. package/dist/components/arcgis-utility-network-trace/customElement.js +1 -1
  460. package/dist/components/arcgis-utility-network-validate-topology/customElement.js +1 -1
  461. package/dist/components/arcgis-value-picker/customElement.d.ts +1 -1
  462. package/dist/components/arcgis-value-picker/customElement.js +1 -1
  463. package/dist/components/arcgis-version-management/customElement.js +1 -1
  464. package/dist/components/arcgis-version-management-service-item/customElement.js +1 -1
  465. package/dist/components/arcgis-version-management-version-item/customElement.js +1 -1
  466. package/dist/components/arcgis-version-management-version-list/customElement.js +1 -1
  467. package/dist/components/arcgis-version-management-version-properties/customElement.js +1 -1
  468. package/dist/components/arcgis-video/customElement.js +1 -1
  469. package/dist/components/arcgis-video-player/customElement.js +1 -1
  470. package/dist/components/arcgis-video-player-action-bar/customElement.js +19 -27
  471. package/dist/components/arcgis-video-player-actions-group/customElement.js +1 -1
  472. package/dist/components/arcgis-video-player-controls-group/customElement.js +1 -1
  473. package/dist/components/arcgis-video-player-metadata/customElement.js +1 -1
  474. package/dist/components/arcgis-video-player-settings/customElement.js +1 -1
  475. package/dist/components/arcgis-video-player-slider/customElement.js +1 -1
  476. package/dist/components/arcgis-weather/customElement.js +1 -1
  477. package/dist/components/arcgis-zoom/customElement.js +1 -1
  478. package/dist/docs/api.json +2960 -142
  479. package/dist/docs/docs.json +2739 -101
  480. package/dist/docs/vscode.html-custom-data.json +393 -15
  481. package/dist/docs/web-types.json +702 -40
  482. package/dist/index.d.ts +89 -0
  483. package/dist/index.js +1 -1
  484. package/dist/loader.js +21 -5
  485. package/dist/types/lumina.d.ts +78 -2
  486. package/dist/types/preact.d.ts +93 -2
  487. package/dist/types/react.d.ts +108 -2
  488. package/dist/types/stencil.d.ts +78 -2
  489. package/dist/utils/feature-form-utils.d.ts +2 -2
  490. package/package.json +4 -4
  491. package/dist/cdn/2HEAELDI.js +0 -4
  492. package/dist/cdn/36DABHYU.js +0 -4
  493. package/dist/cdn/4BRSXGDS.js +0 -4
  494. package/dist/cdn/5DUT2NR5.js +0 -4
  495. package/dist/cdn/5LYELUE4.js +0 -4
  496. package/dist/cdn/62OJ3TIR.js +0 -4
  497. package/dist/cdn/6E7XQLEO.js +0 -4
  498. package/dist/cdn/6KGIVKH4.js +0 -4
  499. package/dist/cdn/6TLE3FA7.js +0 -4
  500. package/dist/cdn/73ZURSDZ.js +0 -4
  501. package/dist/cdn/A47F55P3.js +0 -4
  502. package/dist/cdn/AD3ZURIR.js +0 -4
  503. package/dist/cdn/AKMDQAKK.js +0 -4
  504. package/dist/cdn/BX7RZDWX.js +0 -4
  505. package/dist/cdn/C3EGFMXI.js +0 -4
  506. package/dist/cdn/CSCY5BGQ.js +0 -4
  507. package/dist/cdn/DQAIINQI.js +0 -4
  508. package/dist/cdn/DSTWWXJ6.js +0 -4
  509. package/dist/cdn/EF4QVWNW.js +0 -4
  510. package/dist/cdn/EM34EP4Z.js +0 -4
  511. package/dist/cdn/EOOCRKS4.js +0 -4
  512. package/dist/cdn/FVAWWC65.js +0 -4
  513. package/dist/cdn/G4LBRTF4.js +0 -4
  514. package/dist/cdn/GCD4OD4U.js +0 -4
  515. package/dist/cdn/GKOFQM3H.js +0 -4
  516. package/dist/cdn/GVCPEM5I.js +0 -4
  517. package/dist/cdn/HBBVF6YP.js +0 -4
  518. package/dist/cdn/HD3MAW7N.js +0 -4
  519. package/dist/cdn/HHSZDHZG.js +0 -4
  520. package/dist/cdn/HKFM677E.js +0 -4
  521. package/dist/cdn/HVF3EZPU.js +0 -4
  522. package/dist/cdn/HZYHFZJV.js +0 -4
  523. package/dist/cdn/IDLHRY2H.js +0 -4
  524. package/dist/cdn/IJQOX3B2.js +0 -4
  525. package/dist/cdn/JCDQWAKQ.js +0 -4
  526. package/dist/cdn/JF2BPJEU.js +0 -4
  527. package/dist/cdn/JWB2OR3K.js +0 -4
  528. package/dist/cdn/K2QTC7O3.js +0 -4
  529. package/dist/cdn/K4IBGATC.js +0 -4
  530. package/dist/cdn/KAYMDWRG.js +0 -4
  531. package/dist/cdn/KTA3WCSN.js +0 -4
  532. package/dist/cdn/KZ6QYVM2.js +0 -4
  533. package/dist/cdn/L2PJBJYL.js +0 -4
  534. package/dist/cdn/L3MY4UQA.js +0 -4
  535. package/dist/cdn/L63SLUFS.js +0 -4
  536. package/dist/cdn/LLNOEFSY.js +0 -4
  537. package/dist/cdn/N3UHN63O.js +0 -4
  538. package/dist/cdn/NJIGADGX.js +0 -4
  539. package/dist/cdn/O2GQQ6TH.js +0 -4
  540. package/dist/cdn/O6A7CJF5.js +0 -4
  541. package/dist/cdn/OQKVLYO2.js +0 -4
  542. package/dist/cdn/OW4MVTU6.js +0 -4
  543. package/dist/cdn/PJOEPYWW.js +0 -4
  544. package/dist/cdn/PS2YINJK.js +0 -4
  545. package/dist/cdn/RNNWYTAK.js +0 -4
  546. package/dist/cdn/S7FUMVTD.js +0 -4
  547. package/dist/cdn/SVDLWPF2.js +0 -4
  548. package/dist/cdn/TARXJU2K.js +0 -4
  549. package/dist/cdn/TOCMF6TL.js +0 -4
  550. package/dist/cdn/U4NN24DZ.js +0 -4
  551. package/dist/cdn/UCY4LBO3.js +0 -4
  552. package/dist/cdn/UJIOALHT.js +0 -4
  553. package/dist/cdn/UNJNH3FF.js +0 -4
  554. package/dist/cdn/VASLNT5J.js +0 -4
  555. package/dist/cdn/VLSZ6K4N.js +0 -4
  556. package/dist/cdn/VMKYQFS5.js +0 -4
  557. package/dist/cdn/VSHCOOT3.js +0 -4
  558. package/dist/cdn/W2ERNWIA.js +0 -4
  559. package/dist/cdn/W42SCU72.js +0 -4
  560. package/dist/cdn/WBAEF3ZT.js +0 -4
  561. package/dist/cdn/WSRYRM56.js +0 -4
  562. package/dist/cdn/XVRPAQQS.js +0 -4
  563. package/dist/cdn/YEB3EV3Y.js +0 -5
  564. package/dist/cdn/YUD7XBVU.js +0 -4
  565. package/dist/cdn/ZGT3GAKW.js +0 -4
  566. package/dist/cdn/ZKGSYKZU.js +0 -4
@@ -8,7 +8,7 @@ import { s as d } from "../../chunks/layer-list.js";
8
8
  import { c as n } from "../../chunks/createCloseEvent.js";
9
9
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
10
10
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
11
- v4.34.0-next.120 */
11
+ v4.34.0-next.122 */
12
12
  const g = h(r);
13
13
  class c extends o {
14
14
  constructor() {
@@ -10,7 +10,7 @@ import { s as E } from "../../chunks/layer-list.js";
10
10
  import { u as x } from "../../chunks/useT9n.js";
11
11
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
12
12
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
13
- v4.34.0-next.120 */
13
+ v4.34.0-next.122 */
14
14
  const D = {
15
15
  hideChildren: "hide-children"
16
16
  };
@@ -1,125 +1,178 @@
1
1
  /// <reference types="@arcgis/core/interfaces.d.ts" />
2
2
  /// <reference path="../../index.d.ts" />
3
+ import { default as LegendViewModel } from '@arcgis/core/widgets/Legend/LegendViewModel.js';
4
+ import { JsxNode, ToElement, PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
3
5
  import { Use } from '@arcgis/lumina/controllers';
4
- import { default as Legend } from '@arcgis/core/widgets/Legend.js';
5
- import { PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
6
+ import { HeadingLevel } from '../../support/heading';
6
7
  import { ArcgisReferenceElement } from '../../utils/component-utils';
7
8
 
8
- declare const useLegendWidget: (component: LitElement & Pick<Legend, "icon" | "label" | "viewModel" | "headingLevel" | "activeLayerInfos" | "basemapLegendVisible" | "hideLayersNotInCurrentView" | "layerInfos" | "respectLayerDefinitionExpression"> & {
9
- state?: unknown;
10
- viewModel?: __esri.LegendViewModel | undefined;
11
- closed?: boolean;
12
- icon: import('@arcgis/toolkit/type').nil | string;
13
- label: import('@arcgis/toolkit/type').nil | string;
9
+ declare const useLegendViewModel: (component: LitElement & Pick<LegendViewModel, never> & import('../../controllers/useViewModel').ViewModelControllerUses<LegendViewModel>) => LegendViewModel;
10
+ /** [Read more...](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-legend/) */
11
+ export declare class ArcgisLegend extends LitElement {
12
+ /**
13
+ * By assigning the `id` attribute of the Map or Scene component to this property, you can position a child component anywhere in the DOM while still maintaining a connection to the Map or Scene.
14
+ *
15
+ * @see [Associate components with a Map or Scene component](https://developers.arcgis.com/javascript/latest/programming-patterns/#associate-components-with-a-map-or-scene-component)
16
+ */
14
17
  referenceElement?: ArcgisReferenceElement | string;
18
+ /** @deprecated since 4.34, use [`slot`](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/slot) instead. */
15
19
  position?: __esri.UIPosition;
16
- arcgisReady: import('@arcgis/lumina').EventEmitter;
17
- arcgisPropertyChange: import('@arcgis/lumina').EventEmitter<{
18
- name: string;
19
- }> | undefined;
20
- el: HTMLElement & {
21
- childElem?: HTMLElement & {
22
- ownedBy?: HTMLElement;
23
- };
24
- view?: __esri.LinkChartView | __esri.MapView | __esri.SceneView;
25
- };
26
- autoDestroyDisabled: boolean;
27
- destroy: () => Promise<void>;
28
- }) => Legend;
29
- /**
30
- * The Legend component describes the symbols used to represent layers in a map.
31
- *
32
- * [Read more...](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-legend/)
33
- */
34
- export declare class ArcgisLegend extends LitElement {
35
20
  /**
36
- * Collection of [ActiveLayerInfo](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Legend-support-ActiveLayerInfo.html) objects used by the legend view to
37
- * display data in the legend.
21
+ * Icon which represents the component.
22
+ * Typically used when the component is controlled by another component (e.g. by the Expand component).
38
23
  *
39
- * [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Legend.html#activeLayerInfos)
24
+ * @see [Calcite Icons](https://developers.arcgis.com/calcite-design-system/icons/)
25
+ * @default "icon"
40
26
  */
41
- activeLayerInfos: __esri.Collection<__esri.ActiveLayerInfo>;
27
+ icon?: string;
42
28
  /**
43
- * If true, the component will not be destroyed automatically when it is
44
- * disconnected from the document. This is useful when you want to move the
45
- * component to a different place on the page, or temporarily hide it. If this
46
- * is set, make sure to call the [destroy](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-legend/#destroy) method when you are done to
47
- * prevent memory leaks.
29
+ * Collection of [ActiveLayerInfo](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Legend-support-ActiveLayerInfo.html) objects used by the legend view to
30
+ * display data in the legend. The legend widget watches this property to hide or display the layer's legend when
31
+ * an [ActiveLayerInfo](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Legend-support-ActiveLayerInfo.html) is removed from or added to this collection.
48
32
  *
49
- * @default false
33
+ * @autocast { "value": "Object[]", "typedCollection": true }
50
34
  */
51
- autoDestroyDisabled: boolean;
35
+ activeLayerInfos: __esri.Collection<__esri.ActiveLayerInfo>;
52
36
  /**
53
- * Indicates whether to show the [Basemap](https://developers.arcgis.com/javascript/latest/api-reference/esri-Basemap.html) layers in the Legend.
37
+ * 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
38
+ * `true` and specify [layerInfos](#layerInfos), the basemap layers you want included in the legend must also be
39
+ * specified in `layerInfos`.
54
40
  *
41
+ * @example legend.basemapLegendVisible = true;
55
42
  * @default false
56
43
  */
57
44
  basemapLegendVisible: boolean;
58
45
  /**
59
- * Indicates the heading level to use for the legend title.
60
- *
46
+ * Indicates the heading level to use for the legend title. By default, legend titles
47
+ * are rendered as level 3 headings (e.g. `<h3>Legend title</h3>`). Depending on the legend placement
48
+ * in your app, you may need to adjust this heading for proper semantics. This is
49
+ * important for meeting accessibility standards.
50
+ *
51
+ * @since 4.20
52
+ * @see [Heading Elements](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Heading_Elements)
53
+ * @example
54
+ * // legend title will render as an <h2>
55
+ * legend.headingLevel = 2;
61
56
  * @default 3
62
57
  */
63
- headingLevel: number;
58
+ headingLevel: HeadingLevel;
64
59
  /**
65
60
  * When `true`, layers will only be shown in the legend if
66
- * they are visible in the view's extent.
67
- *
61
+ * they are visible in the view's extent. When data from a layer
62
+ * is not visible in the view, the layer's legend information
63
+ * will be hidden. Only layers that implement the `createQuery()`
64
+ * and `queryFeatureCount()` methods are supported by `hideLayersNotInCurrentView`.
65
+ *
66
+ * To hide layers completely
67
+ * from the legend, you should set the `legendEnabled` property of
68
+ * the layer to `false`.
69
+ *
70
+ * @since 4.21
71
+ * @see [respectLayerVisibility](#respectLayerVisibility)
72
+ * @example
73
+ * // layers not displayed in the view
74
+ * // will not be shown in the legend
75
+ * legend.hideLayersNotInCurrentView = true;
68
76
  * @default false
69
77
  */
70
78
  hideLayersNotInCurrentView: boolean;
71
79
  /**
72
- * Icon which represents the widget.
80
+ * If a layer uses a unique value render, only features that satisfy the layer's
81
+ * [definition](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#definitionExpression)
82
+ * will be displayed in the legend when set to true.
73
83
  *
74
- * @see [Calcite Icons](https://developers.arcgis.com/calcite-design-system/icons/)
75
- * @default "legend"
84
+ * @since 4.30
85
+ * @see [definitionExpression](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#definitionExpression)
86
+ * @default false
76
87
  */
77
- icon: string;
88
+ respectLayerDefinitionExpression: boolean;
78
89
  /**
79
- * The widget's default label.
80
- *
81
- * [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Legend.html#label)
90
+ * Determines whether to respect the properties of the layers in the map that
91
+ * control the legend's visibility (`minScale`, `maxScale`, `legendEnabled`).
92
+ * By default, a layer's legend elements **will
93
+ * not render** in the legend given the following conditions:
94
+ *
95
+ * - The layer's [legendEnabled](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#legendEnabled) property
96
+ * is set to `false`.
97
+ * - If the view's scale is outside the visibility range
98
+ * defined by the layer's [minScale](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#minScale) and
99
+ * [maxScale](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#maxScale) properties.
100
+ *
101
+ * When the `respectLayerVisibility` property of the legend is set to `false`, the legend elements for each
102
+ * layer in the map will always display, thus disregarding the `minScale`, `maxScale`,
103
+ * and `legendEnabled` properties for each layer in the map.
104
+ *
105
+ * @since 4.13
106
+ * @see [hideLayersNotInCurrentView](#hideLayersNotInCurrentView)
107
+ * @example
108
+ * // Always displays legend elements for the map's layers
109
+ * // regardless of their minScale, maxScale, and legendEnabled properties
110
+ * legend.respectLayerVisibility = false;
111
+ * @default true
82
112
  */
83
- label: string;
113
+ ignoreLayerVisibility: boolean;
84
114
  /**
85
- * Specifies a subset of the layers to display in the legend.
86
- *
87
- * [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Legend.html#layerInfos)
115
+ * Specifies a subset of the layers to display in the legend. This includes any [basemap layers](#basemapLegendVisible)
116
+ * you want to be visible in the legend.
117
+ * If this property is not set, all layers in the map will display in the legend, including
118
+ * basemap layers if [basemapLegendVisible](#basemapLegendVisible) is `true`.
119
+ * Objects in this array are defined with the properties listed below.
120
+ *
121
+ * @example
122
+ * const subtypeGroupLayer = webmap.layers.getItemAt(0);
123
+ * const subtypeSubLayer = subtypeGroupLayer.sublayers.getItemAt(1);
124
+ * const subtypeSublayerId = parseInt(subtypeSubLayer.subtypeCode);
125
+ * const legend = new Legend({
126
+ * view: view,
127
+ * layerInfos: [
128
+ * {
129
+ * layer: subtypeGroupLayer,
130
+ * sublayerIds: [subtypeSublayerId]
131
+ * }
132
+ * ]
133
+ * });
88
134
  */
89
- layerInfos: __esri.LegendLayerInfos[];
135
+ layerInfos: __esri.LegendViewModelLayerInfos[];
136
+ cardStyleLayout?: "auto" | "side-by-side" | "stack";
90
137
  /**
91
- * Indicates the style of the legend.
92
- *
93
- * [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Legend.html#style)
94
- *
138
+ * Indicates the style of the legend. The style determines the legend's layout and behavior.
139
+ * You can either specify a string or an object to indicate the style. The known string values are the same values listed in
140
+ * the table within the `type` property.
141
+ *
142
+ * @since 4.7
143
+ * @example
144
+ * // renders the legend in the card style with a "stack" layout
145
+ * legend.legendStyle = "card";
146
+ * @example
147
+ * // renders the legend in the card style with a responsive
148
+ * // layout that toggles between "stack" and "side-by-side"
149
+ * legend.legendStyle = {
150
+ * type: "card",
151
+ * layout: "auto"
152
+ * };
153
+ * @example
154
+ * // renders the legend in the classic layout
155
+ * legend.legendStyle = "classic";
95
156
  * @default "classic"
96
157
  */
97
- legendStyle: string | __esri.LegendStyle;
98
- /** @deprecated since 4.34, use [`slot`](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/slot) instead. */
99
- position?: __esri.UIPosition;
100
- /**
101
- * By assigning the `id` attribute of the Map or Scene component to this property, you can position a child component anywhere in the DOM while still maintaining a connection to the Map or Scene.
102
- *
103
- * @see [Associate components with a Map or Scene component](https://developers.arcgis.com/javascript/latest/programming-patterns/#associate-components-with-a-map-or-scene-component)
104
- */
105
- referenceElement?: ArcgisReferenceElement | string;
106
- /**
107
- * If a layer uses a unique value render, only features that satisfy the layer's
108
- * [definition expression](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#definitionExpression)
109
- * will be displayed in the legend when set to true.
110
- *
111
- * @default false
112
- */
113
- respectLayerDefinitionExpression: boolean;
158
+ legendStyle: "card" | "classic" | {
159
+ type: "card" | "classic";
160
+ layout?: "auto" | "side-by-side" | "stack";
161
+ };
114
162
  /**
115
- * Determines whether to respect the properties of the layers in the map that
116
- * control the legend's visibility (`minScale`, `maxScale`, `legendEnabled`).
117
- *
118
- * [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Legend.html#respectLayerVisibility)
163
+ * If true, the component will not be destroyed automatically when it is
164
+ * disconnected from the document. This is useful when you want to move the
165
+ * component to a different place on the page, or temporarily hide it. If this
166
+ * is set, make sure to call the [destroy](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-legend/#destroy) method when you are done to
167
+ * prevent memory leaks.
119
168
  *
120
169
  * @default false
121
170
  */
122
- respectLayerVisibilityDisabled: boolean;
171
+ autoDestroyDisabled: boolean;
172
+ /** Overwrite localized strings for this component */
173
+ messageOverrides?: typeof this.messages._overrides;
174
+ /** The component's default label. */
175
+ label?: string;
123
176
  /**
124
177
  * The view model's state.
125
178
  *
@@ -136,5 +189,6 @@ export declare class ArcgisLegend extends LitElement {
136
189
  }>;
137
190
  /** Emitted when the component associated with a map or scene view is ready to be interacted with. */
138
191
  readonly arcgisReady: TargetedEvent<this, void>;
192
+ private messages;
139
193
  }
140
194
  export {};
@@ -1,28 +1,62 @@
1
- import { c as e } from "../../chunks/runtime.js";
2
- import { usePropertyChange as i } from "@arcgis/lumina/controllers";
3
- import r from "@arcgis/core/widgets/Legend.js";
4
- import { LitElement as t, createEvent as a } from "@arcgis/lumina";
5
- import { m as l } from "../../chunks/useWidget.js";
6
- import { css as o } from "lit";
1
+ import { c as l } from "../../chunks/runtime.js";
2
+ import { css as d, html as r } from "lit";
3
+ import { on as o, watch as a } from "@arcgis/core/core/reactiveUtils.js";
4
+ import c from "@arcgis/core/widgets/Legend/LegendViewModel.js";
5
+ import { LitElement as g, createEvent as h, safeClassMap as p } from "@arcgis/lumina";
6
+ import { usePropertyChange as f } from "@arcgis/lumina/controllers";
7
+ import { classes as m } from "@arcgis/toolkit/dom";
8
+ import { u as _ } from "../../chunks/useHandles.js";
9
+ import { u } from "../../chunks/useT9n.js";
10
+ import { m as w } from "../../chunks/useViewModel.js";
11
+ import { g as s } from "../../chunks/globalCss.js";
7
12
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
8
13
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
9
- v4.34.0-next.120 */
10
- const d = o`.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}.esri-widget{--esri-widget-padding-x: 15px;--esri-widget-padding-y: var(--calcite-spacing-md);--esri-widget-padding: var(--esri-widget-padding-y) var(--esri-widget-padding-x);box-sizing:border-box;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);line-height:1.3em}.esri-widget *,.esri-widget :before,.esri-widget :after{box-sizing:inherit}.esri-widget.esri-widget--disabled>*{opacity:.4;pointer-events:none}.esri-widget.esri-widget--compact{--esri-widget-padding-y: 0;--esri-widget-padding-x: 0}.esri-widget__anchor{color:var(--calcite-color-text-2)}.esri-widget__anchor:hover{color:var(--calcite-color-text-3)}.esri-widget__anchor:hover,.esri-widget__anchor:focus{text-decoration:underline}.esri-widget__anchor--disabled{opacity:.4;pointer-events:none}.esri-widget__header{background-color:var(--calcite-color-foreground-1);flex:1 0 100%;justify-content:space-between;align-items:center;width:100%;min-height:48px;padding:12px 0 12px 15px;display:flex}.esri-widget__header .esri-widget__heading{width:calc(100% - 48px);text-align:initial;color:var(--calcite-color-text-1);align-items:center;margin:0;padding:0;display:flex}.esri-widget__header-button{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);border:none;flex:0 0 48px;justify-content:center;align-self:stretch;align-items:center;width:48px;padding:0;display:flex}.esri-widget__footer{background-color:var(--calcite-color-foreground-1);justify-content:center;align-items:center;width:100%;min-height:48px;display:flex}.esri-widget__footer-pagination{color:var(--calcite-color-text-2);justify-content:space-between;align-items:center;display:flex}.esri-widget__footer-pagination-previous-button,.esri-widget__footer-pagination-next-button{cursor:pointer;background-color:var(--calcite-color-foreground-1);border:0;margin:0 7px;padding:12px 15px;transition:background-color .125s ease-in-out}.esri-widget__footer-pagination-previous-button:hover,.esri-widget__footer-pagination-previous-button:focus,.esri-widget__footer-pagination-next-button:hover,.esri-widget__footer-pagination-next-button:focus{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1)}.esri-menu{visibility:hidden;z-index:1;background-clip:padding;background-color:var(--calcite-color-foreground-1);background-clip:padding-box;width:100%;max-height:0;margin:2px 0 0;padding:0;font-size:var(--calcite-font-size);line-height:var(--calcite-spacing-xl);position:absolute;top:100%;left:0;overflow:hidden;box-shadow:0 1px 2px #0000004d}.esri-menu .esri-menu__header{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-inverse);padding:6px 12px}.esri-menu__list{margin:0;padding:0;list-style:none}.esri-menu__list-item{cursor:pointer;border-top:1px solid #adadad4d;border-left:3px solid #0000;padding:.8em 1em}.esri-menu__list-item [class^=esri-icon-],.esri-menu__list-item [class*=" esri-icon-"]{padding-right:2.8px}.esri-menu__list-item:first-child{border-top:none}.esri-menu__list-item--focus,.esri-menu__list-item:hover,.esri-menu__list-item:focus{background-color:#303030}.esri-menu__list-item:active{background-color:#000}.esri-menu__list-item--active,.esri-menu__list-item--active:hover,.esri-menu__list-item--active:focus{background-color:var(--calcite-color-foreground-1);border-left-color:#2493f2}.esri-widget__table{border-collapse:collapse;color:var(--calcite-color-text-1);border:none;width:100%;line-height:1.3em}.esri-widget__table tr:nth-child(odd){background-color:var(--calcite-color-transparent)}.esri-widget__table tr:nth-child(2n){background-color:var(--calcite-color-transparent-press)}.esri-widget__table tr a{color:var(--calcite-color-text-2)}.esri-widget__table tr a:hover,.esri-widget__table tr a:focus{color:var(--calcite-color-text-1)}.esri-widget__table tr td,.esri-widget__table tr th{vertical-align:top;word-break:break-word;padding:.5em .7em;font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular)}.esri-widget__table tr th{text-align:left;border-right:3px solid #0000000d;width:50%}.esri-widget__table tr td{width:50%}.esri-input{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1);border:1px solid #959595;font-size:var(--calcite-font-size)}.esri-input::-ms-clear{display:none}.esri-input::placeholder{opacity:1;color:var(--calcite-color-text-2)}.esri-input:placeholder-shown{text-overflow:ellipsis}.esri-input[type=text],.esri-input[type=password],.esri-input[type=number]{height:32px;padding:0 .5em}calcite-combobox.esri-input{border:none}.esri-widget__content--empty{text-align:center;color:var(--calcite-color-border-input);flex-flow:column wrap;align-items:center;padding:18px 22px;display:flex}.esri-widget__content--empty h1.esri-widget__heading,.esri-widget__content--empty h2.esri-widget__heading,.esri-widget__content--empty h3.esri-widget__heading,.esri-widget__content--empty h4.esri-widget__heading,.esri-widget__content--empty h5.esri-widget__heading{font-weight:var(--calcite-font-weight-regular)}.esri-widget__content-illustration--empty{width:128px;padding:1rem 0}.esri-widget__content-icon--empty{width:32px;padding:.5rem 0}.esri-select{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background:var(--calcite-color-foreground-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -8 32 32' width='32' height='32'%3E%3Cpath d='M8 11.207l-4-4V5.793l4 4 4-4v1.414z' fill='%23adadad' fillrule='nonzero'/%3E%3C/svg%3E") 100% no-repeat;border:1px solid #959595;border-radius:0;width:100%;height:32px;margin:0;padding:0 .5em;font-family:inherit;font-size:.85em;display:block}.esri-select[disabled]{cursor:auto}.esri-select::-ms-expand{display:none}.esri-disabled a,.esri-disabled [role=menu],.esri-disabled [role=checkbox],.esri-disabled [class^=esri-icon-],.esri-disabled [class*=" esri-icon-"]{color:var(--calcite-color-text-3)}.keynav-mode .esri-widget:focus,.keynav-mode .esri-widget :focus{z-index:1;outline-offset:2px;outline:2px solid #adadad}.esri-widget__loader-animation{border:.15em solid #adadad4d;border-top-color:var(--calcite-color-border-input);border-radius:100%;width:1em;height:1em;font-size:var(--calcite-font-size-md);animation:1.25s linear infinite esri-rotate;display:block;transform:translateZ(0)}:dir(rtl) .esri-widget__table th{text-align:right;border-left:3px solid #0000000d;border-right:none}:dir(rtl) .esri-select{background-position:0}:dir(rtl) .esri-menu__list-item{border-left:none;border-right:3px solid #0000}:dir(rtl) .esri-menu__list-item [class^=esri-icon-],:dir(rtl) .esri-menu__list-item [class*=" esri-icon-"]{padding-left:2px;padding-right:0}:dir(rtl) .esri-menu__list-item--active{border-right-color:var(--calcite-color-brand)}.esri-icon-font-fallback-text{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.esri-rotating{animation:1.25s linear infinite esri-rotate;transform:translateZ(0)}.esri-clearfix:before,.esri-clearfix:after{content:" ";display:table}.esri-clearfix:after{clear:both}.esri-interactive{cursor:pointer}.esri-hidden{display:none!important}.esri-invisible{visibility:hidden!important}.esri-offscreen{position:absolute;top:-999em;left:-999em}.esri-match-height{flex-direction:column;flex:auto;display:flex;overflow:hidden}:host{display:flex}.esri-legend{width:100%;overflow:hidden auto}.esri-legend__message{padding:.5em 1em}.esri-legend__service{padding:var(--esri-widget-padding);word-wrap:break-word;border-bottom:var(--calcite-border-width-sm) solid var(--calcite-color-border-2)}.esri-legend__service:last-child{border-bottom:none}.esri-legend__layer{margin-left:var(--calcite-spacing-sm);overflow:auto}.esri-legend__group-layer-child{margin-left:var(--calcite-spacing-sm);padding-left:0;padding-right:0}.esri-legend__layer-table{flex-flow:column;width:100%;margin-bottom:var(--calcite-spacing-md);display:flex}.esri-legend__layer-child-table{border-collapse:collapse;width:100%;margin-bottom:var(--calcite-spacing-md);display:table}.esri-legend__layer-body{margin-left:var(--calcite-spacing-sm)}.esri-legend__layer-row{display:flex}.esri-legend__layer-cell{vertical-align:middle;word-break:break-word;min-width:100px;padding:var(--calcite-spacing-xxs) 0}.esri-legend__layer-cell--symbols{text-align:center;min-width:10px}.esri-legend--card__color-ramp-container{justify-content:center}.esri-legend__layer-table--size-ramp{display:table}.esri-legend__layer-table--size-ramp .esri-legend__layer-row{display:table-row}.esri-legend__layer-table--size-ramp .esri-legend__layer-cell{display:table-cell}.esri-legend__size-ramp~.esri-legend__layer-cell--info{width:80%;max-width:80%}.esri-legend__layer-cell--info{word-break:normal;word-wrap:normal;max-width:250px;padding-left:var(--calcite-spacing-sm);padding-right:var(--calcite-spacing-sm);font-size:var(--calcite-spacing-md)}.esri-legend__imagery-layer-image--stretched{margin-bottom:-2px;display:block}.esri-legend__imagery-layer-cell--stretched{vertical-align:top;padding:0;line-height:1}.esri-legend__imagery-layer-info--stretched{vertical-align:top;padding:0 2px}.esri-legend__symbol{justify-content:center;display:flex}.esri-legend__layer-caption{word-break:break-word;padding:6px 0;display:table-caption}.esri-legend__ramp-labels{flex-flow:column;justify-content:space-between;display:flex}.esri-legend__ramps{margin-left:3px}.esri-legend__color-ramp{width:2var (--calcite-spacing-xxs)}.esri-legend__opacity-ramp{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAIAAABLbSncAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA2hpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYxIDY0LjE0MDk0OSwgMjAxMC8xMi8wNy0xMDo1NzowMSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDowMTgwMTE3NDA3MjA2ODExODcxRkM3N0RBQzA4QkVDRSIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDpEOTY4RkNFNjM1MzYxMUU0ODlDMUFFQ0M2REU5QzFCNCIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDpEOTY4RkNFNTM1MzYxMUU0ODlDMUFFQ0M2REU5QzFCNCIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ1M1LjEgTWFjaW50b3NoIj4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6MDE4MDExNzQwNzIwNjgxMTg3MUZDNzdEQUMwOEJFQ0UiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6MDE4MDExNzQwNzIwNjgxMTg3MUZDNzdEQUMwOEJFQ0UiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz6SLS5VAAAAKElEQVR42mI8c+YMAwwYGxvD2UwMOADpEoz///+Hc86ePUsLOwACDABC1ghwV8TLOQAAAABJRU5ErkJggg==)}.esri-legend__ramp-tick{border-top:var(--calcite-border-width-sm) solid var(--calcite-color-border-2);width:var(--calcite-spacing-xxs);line-height:0;position:absolute;left:auto;right:var(--calcite-border-width-sm)}.esri-legend__ramp-label{white-space:nowrap;padding:0 var(--calcite-spacing-sm);font-size:var(--calcite-spacing-md);line-height:1em;position:relative}.esri-legend__ramp-label:before{content:"";border:3px solid var(--calcite-color-transparent);border-left-width:0;border-right:4px solid var(--calcite-color-inverse);width:0;height:0;display:block;position:absolute;top:.25em;right:100%}.esri-legend__ramp-label:first-child{margin-top:-var(--calcite-spacing-xxs)}.esri-legend__ramp-label:last-child{bottom:-3px}.esri-legend-layer-caption{padding:6px 0;display:table-caption}:dir(rtl) .esri-legend__ramp-label:before{border-width:3px 0 3px var(--calcite-spacing-xxs);border-color:var(--calcite-color-border-2) var(--calcite-color-border-2) var(--calcite-color-border-2) var(--calcite-color-border-2);left:100%;right:auto}:dir(rtl) .esri-legend__layer,:dir(rtl) .esri-legend__group-layer-child,:dir(rtl) .esri-legend__layer-body{margin-left:0;margin-right:var(--calcite-spacing-sm);overflow:auto}:dir(rtl) .esri-legend__ramps{margin-left:auto;margin-right:3px}.esri-legend--card{background:var(--calcite-color-foreground-1);transition:max-width .25s ease-in-out;display:flex;position:relative;overflow-x:auto}.esri-legend--card__section{white-space:pre-wrap;word-break:break-word;word-wrap:break-word;border-left:var(--calcite-border-width-sm) solid var(--calcite-color-border-2);min-width:300px;padding:var(--calcite-spacing-md) 15px;font-size:var(--calcite-spacing-md);overflow:auto}.esri-legend--card__section:first-child{border-left:none}.esri-legend--card__message{padding:.5em 1em}.esri-legend--card__service-caption-container{border-bottom:var(--calcite-border-width-sm) solid var(--calcite-color-border-2);height:45px;padding:var(--calcite-spacing-md) 15px;font-weight:600}.esri-legend--card__service-caption-text{margin:0;padding-bottom:20px;overflow:auto}.esri-legend--card__layer-caption{margin-bottom:var(--calcite-spacing-md);padding:6px 0;font-weight:400}.esri-legend--card__service-content{height:calc(100% - 45px);display:flex}.esri-legend--card__label-container{flex-wrap:wrap;display:flex}.esri-legend--card__relationship-label-container{flex-direction:column;display:flex}.esri-legend--card__relationship-label-container .esri-legend--card__layer-row{padding-bottom:.5em}.esri-legend--card__relationship-label-container .esri-legend--card__layer-row:last-child{padding-bottom:0}.esri-legend--card__relationship-section{border:none}.esri-legend--card__label-element{text-align:center;min-width:4em;min-height:2.7em;margin:.1em;padding:.5em 1em}.esri-legend--card__image-label{padding-left:var(--calcite-spacing-sm);padding-right:var(--calcite-spacing-sm)}.esri-legend--card__layer-row,.esri-legend--card__size-ramp-container{align-items:center;display:flex}.esri-legend--card__size-ramp-preview{display:flex}.esri-legend--card__ramp-label{white-space:nowrap;margin:0 .5em}.esri-legend--card__pie-chart-ramp-preview{justify-content:center;display:flex}.esri-legend--card__interval-separator{text-align:center;font-size:.5em}.esri-legend--card__imagery-layer-image--stretched{margin-bottom:-2px;display:block}.esri-legend--card__symbol-container{position:relative}.esri-legend--card__interval-separators-container{position:absolute;top:50px;left:50%;transform:translate(-50%,-50%)}.esri-legend--card__carousel-title{margin:0}.esri-legend--card__service{border-left:var(--calcite-border-width-sm) solid var(--calcite-color-border-2);min-width:fit-content}.esri-legend--card__symbol{margin:auto;display:block}.esri-legend--stacked{flex-direction:column;min-width:300px;display:flex}.esri-legend--stacked .esri-legend--card__carousel{width:300px;max-height:420px}.esri-legend--stacked .esri-legend--card__carousel-item{max-height:388px}.esri-legend--stacked calcite-carousel-item[selected]{flex:1}.esri-legend--stacked .esri-legend--card__section{box-sizing:border-box;width:100%;min-width:unset;border:none;height:auto;overflow:auto}.esri-legend--stacked .esri-legend--card__size-ramp-row{flex-direction:column}.esri-legend--stacked .esri-legend--card__symbol-row{width:100%;margin:5px 0;display:table-row}.esri-legend--stacked .esri-legend--card__label-cell{vertical-align:middle;display:table-cell}.esri-legend--stacked .esri-legend--card__symbol-cell{vertical-align:middle;text-align:center;display:table-cell}.esri-legend--stacked .esri-legend--card__carousel-indicator-container{justify-content:center;width:300px;height:32px;display:flex;overflow:auto;box-shadow:0 -var(--calcite-border-width-sm) var(--calcite-color-border-2)}.esri-legend--stacked .esri-legend--card__carousel-indicator{cursor:pointer;justify-content:center;align-items:center;width:16px;height:auto;display:flex}.esri-legend--stacked .esri-legend--card__carousel-indicator:before{content:"";background-color:var(--calcite-color-border-2);border-radius:50%;width:10px;height:10px;transition:background-color .125s ease-in-out;display:block;box-shadow:0 0 0 var(--calcite-border-width-sm) var(--calcite-color-border-2)}.esri-legend--stacked .esri-legend--card__carousel-indicator:hover:before,.esri-legend--stacked .esri-legend--card__carousel-indicator--activated:before,.esri-legend--stacked .esri-legend--card__carousel-indicator--activated:hover:before{background-color:var(--calcite-color-border-2)}.esri-ui-corner .esri-legend--card{max-height:420px}:dir(rtl) .esri-view-width-greater-than-small .esri-legend--card__section{border-left:0;border-right:var(--calcite-border-width-sm) solid var(--calcite-color-border-2)}:dir(rtl) .esri-view-width-greater-than-small .esri-legend--card__section:first-child{border-right:none}.esri-relationship-ramp--diamond__container{font-size:var(--calcite-spacing-md);display:flex}.esri-relationship-ramp--diamond__left-column{text-align:right;align-self:center;max-width:85px;padding-right:5px}.esri-relationship-ramp--diamond__right-column{text-align:left;align-self:center;max-width:85px;padding-left:5px}.esri-relationship-ramp--diamond__middle-column{text-align:center;flex-direction:column;display:flex}.esri-relationship-ramp--diamond__middle-column--label{align-self:center;max-width:85px}.esri-relationship-ramp--diamond__middle-column--ramp{width:85px;height:85px}.esri-relationship-ramp--square__table{font-size:var(--calcite-spacing-md);display:table}.esri-relationship-ramp--square__table-row{display:table-row}.esri-relationship-ramp--square__table-cell{display:table-cell}.esri-relationship-ramp--square__table-label{max-width:95px}.esri-relationship-ramp--square__table-label--left-bottom{vertical-align:bottom;text-align:left}.esri-relationship-ramp--square__table-label--right-bottom{vertical-align:bottom;text-align:right}.esri-relationship-ramp--square__table-label--left-top{vertical-align:top;text-align:left}.esri-relationship-ramp--square__table-label--right-top{vertical-align:top;text-align:right}.esri-univariate-above-and-below-ramp__symbol{justify-content:center;align-items:center;display:flex}.esri-univariate-above-and-below-ramp__label{white-space:nowrap;margin-left:var(--calcite-spacing-sm);font-size:var(--calcite-spacing-md);line-height:1em;position:relative}.esri-univariate-above-and-below-ramp__label:before{content:"";border-style:solid;border-width:var(--calcite-border-width-sm) 0 0;width:1var (--calcite-spacing-xxs);height:0;display:block;position:absolute;top:.45em;left:-19px}.esri-univariate-above-and-below-ramp__label:first-child{top:-6px}.esri-univariate-above-and-below-ramp__label:last-child{bottom:-6px}.esri-univariate-above-and-below-ramp__color--card{position:relative}.esri-univariate-above-and-below-ramp__color--card:before{content:"";border-left:var(--calcite-border-width-sm) solid var(--calcite-color-background);border-right:var(--calcite-border-width-sm) solid var(--calcite-color-background);width:100%;height:15px;display:block;position:absolute;top:var(--calcite-border-width-sm)}:dir(rtl) .esri-univariate-above-and-below-ramp__label{margin-left:auto;margin-right:var(--calcite-spacing-sm)}:dir(rtl) .esri-univariate-above-and-below-ramp__label:before{left:auto;right:-19px}`, n = l(r);
11
- class s extends t {
14
+ v4.34.0-next.122 */
15
+ const v = d`:host{--arcgis-internal-color-black-30: color-mix(in srgb, #000000 30.2%, transparent);--arcgis-internal-box-shadow: var(--calcite-spacing-none) var(--calcite-spacing-px) var(--calcite-spacing-base) var(--arcgis-internal-color-black-30);--arcgis-internal-panel-width: 300px;--arcgis-internal-panel-height: 100%;--arcgis-internal-panel-height-sm: 240px;--arcgis-internal-panel-height-md: 420px;--arcgis-internal-panel-height-lg: 540px;--arcgis-internal-panel-height-xl: 680px;--arcgis-internal-basemap-gallery-width-lg: 450px;--arcgis-expand-max-height: var(--calcite-spacing-xxxl);--arcgis-collapse-icon-flip: scaleX(1);--arcgis-row-direction: row;--arcgis-legend-internal-width: 300px}.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}.esri-widget{--esri-widget-padding-x: 15px;--esri-widget-padding-y: var(--calcite-spacing-md);--esri-widget-padding: var(--esri-widget-padding-y) var(--esri-widget-padding-x);box-sizing:border-box;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);line-height:1.3em}.esri-widget *,.esri-widget :before,.esri-widget :after{box-sizing:inherit}.esri-widget.esri-widget--disabled>*{opacity:.4;pointer-events:none}.esri-widget.esri-widget--compact{--esri-widget-padding-y: 0;--esri-widget-padding-x: 0}.esri-widget__anchor{color:var(--calcite-color-text-2)}.esri-widget__anchor:hover{color:var(--calcite-color-text-3)}.esri-widget__anchor:hover,.esri-widget__anchor:focus{text-decoration:underline}.esri-widget__anchor--disabled{opacity:.4;pointer-events:none}.esri-widget__header{background-color:var(--calcite-color-foreground-1);flex:1 0 100%;justify-content:space-between;align-items:center;width:100%;min-height:48px;padding:12px 0 12px 15px;display:flex}.esri-widget__header .esri-widget__heading{width:calc(100% - 48px);text-align:initial;color:var(--calcite-color-text-1);align-items:center;margin:0;padding:0;display:flex}.esri-widget__header-button{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);border:none;flex:0 0 48px;justify-content:center;align-self:stretch;align-items:center;width:48px;padding:0;display:flex}.esri-widget__footer{background-color:var(--calcite-color-foreground-1);justify-content:center;align-items:center;width:100%;min-height:48px;display:flex}.esri-widget__footer-pagination{color:var(--calcite-color-text-2);justify-content:space-between;align-items:center;display:flex}.esri-widget__footer-pagination-previous-button,.esri-widget__footer-pagination-next-button{cursor:pointer;background-color:var(--calcite-color-foreground-1);border:0;margin:0 7px;padding:12px 15px;transition:background-color .125s ease-in-out}.esri-widget__footer-pagination-previous-button:hover,.esri-widget__footer-pagination-previous-button:focus,.esri-widget__footer-pagination-next-button:hover,.esri-widget__footer-pagination-next-button:focus{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1)}.esri-menu{visibility:hidden;z-index:1;background-clip:padding;background-color:var(--calcite-color-foreground-1);background-clip:padding-box;width:100%;max-height:0;margin:2px 0 0;padding:0;font-size:var(--calcite-font-size);line-height:var(--calcite-spacing-xl);position:absolute;top:100%;left:0;overflow:hidden;box-shadow:0 1px 2px #0000004d}.esri-menu .esri-menu__header{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-inverse);padding:6px 12px}.esri-menu__list{margin:0;padding:0;list-style:none}.esri-menu__list-item{cursor:pointer;border-top:1px solid #adadad4d;border-left:3px solid #0000;padding:.8em 1em}.esri-menu__list-item [class^=esri-icon-],.esri-menu__list-item [class*=" esri-icon-"]{padding-right:2.8px}.esri-menu__list-item:first-child{border-top:none}.esri-menu__list-item--focus,.esri-menu__list-item:hover,.esri-menu__list-item:focus{background-color:#303030}.esri-menu__list-item:active{background-color:#000}.esri-menu__list-item--active,.esri-menu__list-item--active:hover,.esri-menu__list-item--active:focus{background-color:var(--calcite-color-foreground-1);border-left-color:#2493f2}.esri-widget__table{border-collapse:collapse;color:var(--calcite-color-text-1);border:none;width:100%;line-height:1.3em}.esri-widget__table tr:nth-child(odd){background-color:var(--calcite-color-transparent)}.esri-widget__table tr:nth-child(2n){background-color:var(--calcite-color-transparent-press)}.esri-widget__table tr a{color:var(--calcite-color-text-2)}.esri-widget__table tr a:hover,.esri-widget__table tr a:focus{color:var(--calcite-color-text-1)}.esri-widget__table tr td,.esri-widget__table tr th{vertical-align:top;word-break:break-word;padding:.5em .7em;font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular)}.esri-widget__table tr th{text-align:left;border-right:3px solid #0000000d;width:50%}.esri-widget__table tr td{width:50%}.esri-input{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1);border:1px solid #959595;font-size:var(--calcite-font-size)}.esri-input::-ms-clear{display:none}.esri-input::placeholder{opacity:1;color:var(--calcite-color-text-2)}.esri-input:placeholder-shown{text-overflow:ellipsis}.esri-input[type=text],.esri-input[type=password],.esri-input[type=number]{height:32px;padding:0 .5em}calcite-combobox.esri-input{border:none}.esri-widget__content--empty{text-align:center;color:var(--calcite-color-border-input);flex-flow:column wrap;align-items:center;padding:18px 22px;display:flex}.esri-widget__content--empty h1.esri-widget__heading,.esri-widget__content--empty h2.esri-widget__heading,.esri-widget__content--empty h3.esri-widget__heading,.esri-widget__content--empty h4.esri-widget__heading,.esri-widget__content--empty h5.esri-widget__heading{font-weight:var(--calcite-font-weight-regular)}.esri-widget__content-illustration--empty{width:128px;padding:1rem 0}.esri-widget__content-icon--empty{width:32px;padding:.5rem 0}.esri-select{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background:var(--calcite-color-foreground-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -8 32 32' width='32' height='32'%3E%3Cpath d='M8 11.207l-4-4V5.793l4 4 4-4v1.414z' fill='%23adadad' fillrule='nonzero'/%3E%3C/svg%3E") 100% no-repeat;border:1px solid #959595;border-radius:0;width:100%;height:32px;margin:0;padding:0 .5em;font-family:inherit;font-size:.85em;display:block}.esri-select[disabled]{cursor:auto}.esri-select::-ms-expand{display:none}.esri-disabled a,.esri-disabled [role=menu],.esri-disabled [role=checkbox],.esri-disabled [class^=esri-icon-],.esri-disabled [class*=" esri-icon-"]{color:var(--calcite-color-text-3)}.keynav-mode .esri-widget:focus,.keynav-mode .esri-widget :focus{z-index:1;outline-offset:2px;outline:2px solid #adadad}.esri-widget__loader-animation{border:.15em solid #adadad4d;border-top-color:var(--calcite-color-border-input);border-radius:100%;width:1em;height:1em;font-size:var(--calcite-font-size-md);animation:1.25s linear infinite esri-rotate;display:block;transform:translateZ(0)}:dir(rtl) .esri-widget__table th{text-align:right;border-left:3px solid #0000000d;border-right:none}:dir(rtl) .esri-select{background-position:0}:dir(rtl) .esri-menu__list-item{border-left:none;border-right:3px solid #0000}:dir(rtl) .esri-menu__list-item [class^=esri-icon-],:dir(rtl) .esri-menu__list-item [class*=" esri-icon-"]{padding-left:2px;padding-right:0}:dir(rtl) .esri-menu__list-item--active{border-right-color:var(--calcite-color-brand)}.esri-icon-font-fallback-text{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.esri-rotating{animation:1.25s linear infinite esri-rotate;transform:translateZ(0)}.esri-clearfix:before,.esri-clearfix:after{content:" ";display:table}.esri-clearfix:after{clear:both}.esri-interactive{cursor:pointer}.esri-hidden{display:none!important}.esri-invisible{visibility:hidden!important}.esri-offscreen{position:absolute;top:-999em;left:-999em}.esri-match-height{flex-direction:column;flex:auto;display:flex;overflow:hidden}:host{display:block;overflow:auto;width:var(--arcgis-legend-internal-width)}:host([card-style-layout="side-by-side"]){--arcgis-legend-internal-width: auto}`, b = w(c);
16
+ class y extends g {
12
17
  constructor() {
13
- super(...arguments), this.widget = n(this), this.viewModel = this.widget.viewModel, this.activeLayerInfos = this.widget.activeLayerInfos, this.autoDestroyDisabled = !1, this.basemapLegendVisible = this.widget.basemapLegendVisible, this.headingLevel = this.widget.headingLevel, this.hideLayersNotInCurrentView = this.widget.hideLayersNotInCurrentView, this.icon = this.widget.icon, this.label = this.widget.label, this.layerInfos = this.widget.layerInfos, this.legendStyle = this.widget.style, this.respectLayerDefinitionExpression = this.widget.respectLayerDefinitionExpression, this.respectLayerVisibilityDisabled = this.widget.respectLayerVisibility, this.state = this.viewModel.state, this.arcgisPropertyChange = i()("state"), this.arcgisReady = a();
18
+ super(...arguments), this.messages = u({}), this.final = _("destroy"), this.viewModel = b(this), this._isCardStyle = !1, this.icon = "icon", this.activeLayerInfos = this.viewModel.activeLayerInfos, this.basemapLegendVisible = this.viewModel.basemapLegendVisible, this.headingLevel = 3, this.hideLayersNotInCurrentView = this.viewModel.hideLayersNotInCurrentView, this.respectLayerDefinitionExpression = this.viewModel.respectLayerDefinitionExpression, this.ignoreLayerVisibility = !this.viewModel.respectLayerVisibility, this.layerInfos = this.viewModel.layerInfos, this.legendStyle = "classic", this.autoDestroyDisabled = !1, this.state = this.viewModel.state, this.arcgisPropertyChange = f()("state"), this.arcgisReady = h();
14
19
  }
15
20
  static {
16
- this.properties = { activeLayerInfos: 0, autoDestroyDisabled: 5, basemapLegendVisible: 5, headingLevel: 9, hideLayersNotInCurrentView: 5, icon: 1, label: 1, layerInfos: 0, legendStyle: 1, position: 1, referenceElement: 1, respectLayerDefinitionExpression: 5, respectLayerVisibilityDisabled: 5, state: 3 };
21
+ this.properties = { _isCardStyle: 16, referenceElement: 1, position: 1, icon: 1, activeLayerInfos: 0, basemapLegendVisible: 5, headingLevel: 9, hideLayersNotInCurrentView: 5, respectLayerDefinitionExpression: 5, ignoreLayerVisibility: 5, layerInfos: 0, cardStyleLayout: 3, legendStyle: 1, autoDestroyDisabled: 5, messageOverrides: 0, label: 1, state: 3 };
17
22
  }
18
23
  static {
19
- this.styles = d;
24
+ this.styles = v;
20
25
  }
21
26
  async destroy() {
22
27
  await this.manager.destroy();
23
28
  }
29
+ loaded() {
30
+ this.manager.onLifecycle(() => [
31
+ o(() => this.el.view, "resize", () => this.requestUpdate()),
32
+ o(() => this.activeLayerInfos, "change", () => this._refreshActiveLayerInfos(this.activeLayerInfos)),
33
+ a(() => [
34
+ this.cardStyleLayout,
35
+ this.legendStyle,
36
+ typeof this.legendStyle == "object" ? this.legendStyle.type : void 0,
37
+ typeof this.legendStyle == "object" ? this.legendStyle.layout : void 0
38
+ ], () => {
39
+ const e = this.legendStyle, i = typeof e == "object" ? e : { type: e };
40
+ this._isCardStyle = i.type === "card", this._isCardStyle && (i.layout = this.cardStyleLayout || i.layout || "auto"), this.cardStyleLayout = this._isCardStyle ? i.layout : void 0;
41
+ }, { initial: !0 })
42
+ ]);
43
+ }
44
+ _refreshActiveLayerInfos(e) {
45
+ e.forEach((i) => {
46
+ this.final.removeHandles(`version_${i.layer.uid}`), this._renderOnActiveLayerInfoChange(i);
47
+ }), this.requestUpdate();
48
+ }
49
+ render() {
50
+ return r`<div class=${p(m(s.widget, { [s.panel]: !this._isCardStyle }))}>${this._isCardStyle ? r`<arcgis-legend-card-view .activeLayerInfos=${this.activeLayerInfos} .headingLevel=${this.headingLevel} .messages=${this.messages} .layout=${this.cardStyleLayout} .view=${this.el.view}></arcgis-legend-card-view>` : r`<arcgis-legend-classic-view .activeLayerInfos=${this.activeLayerInfos} .headingLevel=${this.headingLevel} .messages=${this.messages}></arcgis-legend-classic-view>`}</div>`;
51
+ }
52
+ _renderOnActiveLayerInfoChange(e) {
53
+ const i = a(() => e.version, () => this.requestUpdate());
54
+ this.final.addHandles(i, `version_${e.layer.uid}`);
55
+ const n = o(() => e.children, "change", () => e.children.forEach((t) => this._renderOnActiveLayerInfoChange(t)));
56
+ this.final.addHandles(n, `version_${e.layer.uid}`), e.children.forEach((t) => this._renderOnActiveLayerInfoChange(t));
57
+ }
24
58
  }
25
- e("arcgis-legend", s);
59
+ l("arcgis-legend", y);
26
60
  export {
27
- s as ArcgisLegend
61
+ y as ArcgisLegend
28
62
  };
@@ -1 +1,3 @@
1
+ import "../arcgis-legend-card-view/index.js";
2
+ import "../arcgis-legend-classic-view/index.js";
1
3
  export * from "./customElement.js";
@@ -1 +1,3 @@
1
+ import "../arcgis-legend-card-view/index.js";
2
+ import "../arcgis-legend-classic-view/index.js";
1
3
  export * from "./customElement.js";
@@ -0,0 +1,7 @@
1
+ export declare function nextPatternId(): number;
2
+ export declare function resetPatternId(value?: number): void;
3
+ export declare function nextLinearGradientId(): number;
4
+ export declare function resetLinearGradientId(value?: number): void;
5
+ export declare function nextBloomId(): number;
6
+ export declare function resetBloomId(value?: number): void;
7
+ export declare function resetSVGGlobalState(): void;
@@ -0,0 +1,173 @@
1
+ import { default as Color } from '@arcgis/core/Color.js';
2
+ import { JsxNode } from '@arcgis/lumina';
3
+ import { nil } from '@arcgis/toolkit/type';
4
+ export interface Descriptor {
5
+ shape: ShapeDescriptor;
6
+ fill?: FillDescriptor | null;
7
+ stroke?: StrokeDescriptor | null;
8
+ font?: FontDescriptor | null;
9
+ offset?: [number, number] | null;
10
+ }
11
+ export type ShapeDescriptor = CircleDescriptor | EllipseDescriptor | ImageDescriptor | PathDescriptor | RectDescriptor | TextDescriptor;
12
+ export interface PathDescriptor {
13
+ type: "path";
14
+ path: CommandObject[] | string;
15
+ }
16
+ export interface CircleDescriptor {
17
+ type: "circle";
18
+ cx: number;
19
+ cy: number;
20
+ r: number;
21
+ }
22
+ export interface EllipseDescriptor {
23
+ type: "ellipse";
24
+ cx: number;
25
+ cy: number;
26
+ rx: number;
27
+ ry: number;
28
+ }
29
+ export interface RectDescriptor {
30
+ type: "rect";
31
+ x: number;
32
+ y: number;
33
+ width: number;
34
+ height: number;
35
+ }
36
+ export interface ImageDescriptor {
37
+ type: "image";
38
+ x: number;
39
+ y: number;
40
+ width: number;
41
+ height: number;
42
+ src: string;
43
+ }
44
+ export interface TextDescriptor {
45
+ type: "text";
46
+ text: string;
47
+ x: number;
48
+ y: number;
49
+ align: string;
50
+ alignBaseline?: string;
51
+ decoration: string;
52
+ rotated: boolean;
53
+ kerning: boolean;
54
+ }
55
+ export interface CommandObject {
56
+ command: string;
57
+ values: number[];
58
+ }
59
+ export type FillDescriptor = Color | GradientDescriptor | [number, number, number, number] | [number, number, number];
60
+ export type GradientDescriptor = LinearDescriptor | PatternDescriptor;
61
+ export interface LinearDescriptor {
62
+ type: "linear";
63
+ x1: number;
64
+ y1: number;
65
+ x2: number;
66
+ y2: number;
67
+ colors: {
68
+ color: Color | number[];
69
+ offset: number;
70
+ opacity?: number;
71
+ }[];
72
+ }
73
+ export interface PatternDescriptor {
74
+ type: "pattern";
75
+ src: string;
76
+ width: number;
77
+ height: number;
78
+ x?: number | null;
79
+ y?: number | null;
80
+ }
81
+ export interface StrokeDescriptor {
82
+ color?: Color | string | [number, number, number, number] | [number, number, number] | null;
83
+ style?: string | null;
84
+ width?: number | null;
85
+ cap?: string | null;
86
+ join?: number | string | null;
87
+ dashArray?: string | null;
88
+ dashoffset?: string | null;
89
+ }
90
+ interface FontDescriptor {
91
+ size: number;
92
+ style: string;
93
+ decoration: string;
94
+ weight: string;
95
+ family: string;
96
+ variant?: string | null;
97
+ }
98
+ export interface FillAttributes {
99
+ fill: string;
100
+ pattern: {
101
+ id: string;
102
+ x: nil | number;
103
+ y: nil | number;
104
+ width: number;
105
+ height: number;
106
+ image: {
107
+ x: number;
108
+ y: number;
109
+ width: number;
110
+ height: number;
111
+ href: string;
112
+ };
113
+ };
114
+ linearGradient: {
115
+ id: string;
116
+ x1: number;
117
+ y1: number;
118
+ x2: number;
119
+ y2: number;
120
+ stops: {
121
+ offset: number;
122
+ color: string;
123
+ }[];
124
+ };
125
+ }
126
+ export interface StrokeAttributes {
127
+ color: string;
128
+ width: number;
129
+ cap: string;
130
+ join: string;
131
+ dashArray: nil | string;
132
+ dashOffset: nil | string;
133
+ }
134
+ export interface TextAttributes {
135
+ align: string;
136
+ dominantBaseline?: string;
137
+ decoration: string;
138
+ kerning: string;
139
+ rotate: string;
140
+ font: {
141
+ style: string;
142
+ variant: string;
143
+ weight: string;
144
+ size: string;
145
+ family: string;
146
+ };
147
+ }
148
+ interface RenderOptions {
149
+ node?: HTMLElement | null;
150
+ scale?: boolean | null;
151
+ opacity?: number | null;
152
+ rotations?: (number | null)[];
153
+ useRotationSize?: boolean | null;
154
+ cssEffectFilter?: string | null;
155
+ ignoreStrokeWidth?: boolean | null;
156
+ masking?: Descriptor[][] | null;
157
+ ariaLabel?: nil | string;
158
+ clipBloomEffect?: boolean | null;
159
+ }
160
+ export interface BBox {
161
+ x: number;
162
+ y: number;
163
+ width: number;
164
+ height: number;
165
+ }
166
+ export declare function renderDef(attrs: FillAttributes): JsxNode | null;
167
+ export declare function generateFillAttributes(fill: FillDescriptor | nil): FillAttributes;
168
+ export declare function generateStrokeAttributes(stroke: nil | StrokeDescriptor): StrokeAttributes;
169
+ export declare function getDashArray(stroke: StrokeDescriptor | null): number[];
170
+ export declare function renderShape(shape: ShapeDescriptor, fill: string, stroke: StrokeAttributes, textAttrs: nil | TextAttributes, ariaLabel?: nil | string): JsxNode | null;
171
+ export declare function generateTextAttributes(text: nil | TextDescriptor, font: FontDescriptor | nil): TextAttributes;
172
+ export declare function renderSVG(swatch: Descriptor[][], width: number, height: number, options?: RenderOptions): JsxNode;
173
+ export {};
@@ -0,0 +1,6 @@
1
+ /// <reference types="@arcgis/core/interfaces.d.ts" />
2
+ import { nil } from '@arcgis/toolkit/type';
3
+ import { ArcgisLegend } from '../customElement.js';
4
+ export declare function getTitle(messages: ArcgisLegend["messages"], titleInfo: __esri.ClusterTitle | __esri.DotDensityTitle | __esri.RampTitle | __esri.RendererTitle | __esri.StretchMultibandTitle | nil | string, isRamp: boolean): string | undefined;
5
+ export declare function isRendererTitle(_titleInfo: unknown, isRamp: boolean): _titleInfo is __esri.RendererTitle;
6
+ export declare function getLegendElementTitle(legendElement: __esri.LegendElement, messages: ArcgisLegend["messages"]): nil | string;