@esri/solutions-components 5.1.0-next.110 → 5.1.0-next.111

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 (515) hide show
  1. package/dist/cdn/2JUKGS2K.js +2 -0
  2. package/dist/cdn/37Z6XQVC.js +2 -0
  3. package/dist/cdn/54AE7WD2.js +2 -0
  4. package/dist/cdn/5CONX4G5.js +2 -0
  5. package/dist/cdn/6F3ZITXR.js +2 -0
  6. package/dist/cdn/6VMC6VU3.js +2 -0
  7. package/dist/cdn/7X32DUXU.js +2 -0
  8. package/dist/cdn/A72KNPDC.js +2 -0
  9. package/dist/cdn/AGQHVMKE.js +2 -0
  10. package/dist/cdn/BYX4GLKL.js +2 -0
  11. package/dist/cdn/DFYZSN43.js +2 -0
  12. package/dist/cdn/DVIDBBJX.js +2 -0
  13. package/dist/cdn/GQSGFD3A.js +2 -0
  14. package/dist/cdn/LMSRZ4U3.js +2 -0
  15. package/dist/cdn/MJTM44UR.js +2 -0
  16. package/dist/cdn/QKVV2HDV.js +2 -0
  17. package/dist/cdn/R4CWTPJM.js +2 -0
  18. package/dist/cdn/{R5EBB32O.js → RF3IQI3Z.js} +118 -118
  19. package/dist/cdn/{LUPN4QGH.js → UV6ETUNG.js} +1 -1
  20. package/dist/cdn/WNWWPP3L.js +2 -0
  21. package/dist/cdn/XFIT6JYM.js +2 -0
  22. package/dist/cdn/YERZQ5GL.js +4 -0
  23. package/dist/cdn/YJMN3BSG.js +2 -0
  24. package/dist/cdn/{ZKWM223Q.js → YN7GO7C7.js} +1 -1
  25. package/dist/cdn/{WDHXTOWG.js → ZUDEZGGC.js} +1 -1
  26. package/dist/cdn/assets/buffer-tools/t9n/messages.ar.json +1 -1
  27. package/dist/cdn/assets/buffer-tools/t9n/messages.bg.json +1 -1
  28. package/dist/cdn/assets/buffer-tools/t9n/messages.bs.json +1 -1
  29. package/dist/cdn/assets/buffer-tools/t9n/messages.ca.json +1 -1
  30. package/dist/cdn/assets/buffer-tools/t9n/messages.cs.json +1 -1
  31. package/dist/cdn/assets/buffer-tools/t9n/messages.da.json +1 -1
  32. package/dist/cdn/assets/buffer-tools/t9n/messages.de.json +1 -1
  33. package/dist/cdn/assets/buffer-tools/t9n/messages.el.json +1 -1
  34. package/dist/cdn/assets/buffer-tools/t9n/messages.es.json +1 -1
  35. package/dist/cdn/assets/buffer-tools/t9n/messages.et.json +1 -1
  36. package/dist/cdn/assets/buffer-tools/t9n/messages.fi.json +1 -1
  37. package/dist/cdn/assets/buffer-tools/t9n/messages.fr.json +1 -1
  38. package/dist/cdn/assets/buffer-tools/t9n/messages.he.json +1 -1
  39. package/dist/cdn/assets/buffer-tools/t9n/messages.hr.json +1 -1
  40. package/dist/cdn/assets/buffer-tools/t9n/messages.hu.json +1 -1
  41. package/dist/cdn/assets/buffer-tools/t9n/messages.id.json +1 -1
  42. package/dist/cdn/assets/buffer-tools/t9n/messages.it.json +1 -1
  43. package/dist/cdn/assets/buffer-tools/t9n/messages.ja.json +1 -1
  44. package/dist/cdn/assets/buffer-tools/t9n/messages.ko.json +1 -1
  45. package/dist/cdn/assets/buffer-tools/t9n/messages.lt.json +1 -1
  46. package/dist/cdn/assets/buffer-tools/t9n/messages.lv.json +1 -1
  47. package/dist/cdn/assets/buffer-tools/t9n/messages.nl.json +1 -1
  48. package/dist/cdn/assets/buffer-tools/t9n/messages.no.json +1 -1
  49. package/dist/cdn/assets/buffer-tools/t9n/messages.pl.json +1 -1
  50. package/dist/cdn/assets/buffer-tools/t9n/messages.pt-BR.json +1 -1
  51. package/dist/cdn/assets/buffer-tools/t9n/messages.pt-PT.json +1 -1
  52. package/dist/cdn/assets/buffer-tools/t9n/messages.ro.json +1 -1
  53. package/dist/cdn/assets/buffer-tools/t9n/messages.ru.json +1 -1
  54. package/dist/cdn/assets/buffer-tools/t9n/messages.sk.json +1 -1
  55. package/dist/cdn/assets/buffer-tools/t9n/messages.sl.json +1 -1
  56. package/dist/cdn/assets/buffer-tools/t9n/messages.sr.json +1 -1
  57. package/dist/cdn/assets/buffer-tools/t9n/messages.sv.json +1 -1
  58. package/dist/cdn/assets/buffer-tools/t9n/messages.th.json +1 -1
  59. package/dist/cdn/assets/buffer-tools/t9n/messages.tr.json +1 -1
  60. package/dist/cdn/assets/buffer-tools/t9n/messages.uk.json +1 -1
  61. package/dist/cdn/assets/buffer-tools/t9n/messages.vi.json +1 -1
  62. package/dist/cdn/assets/buffer-tools/t9n/messages.zh-CN.json +1 -1
  63. package/dist/cdn/assets/buffer-tools/t9n/messages.zh-HK.json +1 -1
  64. package/dist/cdn/assets/buffer-tools/t9n/messages.zh-TW.json +1 -1
  65. package/dist/cdn/assets/card-manager/t9n/messages.ar.json +1 -1
  66. package/dist/cdn/assets/card-manager/t9n/messages.bg.json +1 -1
  67. package/dist/cdn/assets/card-manager/t9n/messages.bs.json +1 -1
  68. package/dist/cdn/assets/card-manager/t9n/messages.ca.json +1 -1
  69. package/dist/cdn/assets/card-manager/t9n/messages.cs.json +1 -1
  70. package/dist/cdn/assets/card-manager/t9n/messages.da.json +1 -1
  71. package/dist/cdn/assets/card-manager/t9n/messages.de.json +1 -1
  72. package/dist/cdn/assets/card-manager/t9n/messages.el.json +1 -1
  73. package/dist/cdn/assets/card-manager/t9n/messages.en.json +1 -1
  74. package/dist/cdn/assets/card-manager/t9n/messages.es.json +1 -1
  75. package/dist/cdn/assets/card-manager/t9n/messages.et.json +1 -1
  76. package/dist/cdn/assets/card-manager/t9n/messages.fi.json +1 -1
  77. package/dist/cdn/assets/card-manager/t9n/messages.fr.json +1 -1
  78. package/dist/cdn/assets/card-manager/t9n/messages.he.json +1 -1
  79. package/dist/cdn/assets/card-manager/t9n/messages.hr.json +1 -1
  80. package/dist/cdn/assets/card-manager/t9n/messages.hu.json +1 -1
  81. package/dist/cdn/assets/card-manager/t9n/messages.id.json +1 -1
  82. package/dist/cdn/assets/card-manager/t9n/messages.it.json +1 -1
  83. package/dist/cdn/assets/card-manager/t9n/messages.ja.json +1 -1
  84. package/dist/cdn/assets/card-manager/t9n/messages.json +1 -1
  85. package/dist/cdn/assets/card-manager/t9n/messages.ko.json +1 -1
  86. package/dist/cdn/assets/card-manager/t9n/messages.lt.json +1 -1
  87. package/dist/cdn/assets/card-manager/t9n/messages.lv.json +1 -1
  88. package/dist/cdn/assets/card-manager/t9n/messages.nl.json +1 -1
  89. package/dist/cdn/assets/card-manager/t9n/messages.no.json +1 -1
  90. package/dist/cdn/assets/card-manager/t9n/messages.pl.json +1 -1
  91. package/dist/cdn/assets/card-manager/t9n/messages.pt-BR.json +1 -1
  92. package/dist/cdn/assets/card-manager/t9n/messages.pt-PT.json +1 -1
  93. package/dist/cdn/assets/card-manager/t9n/messages.ro.json +1 -1
  94. package/dist/cdn/assets/card-manager/t9n/messages.ru.json +1 -1
  95. package/dist/cdn/assets/card-manager/t9n/messages.sk.json +1 -1
  96. package/dist/cdn/assets/card-manager/t9n/messages.sl.json +1 -1
  97. package/dist/cdn/assets/card-manager/t9n/messages.sr.json +1 -1
  98. package/dist/cdn/assets/card-manager/t9n/messages.sv.json +1 -1
  99. package/dist/cdn/assets/card-manager/t9n/messages.th.json +1 -1
  100. package/dist/cdn/assets/card-manager/t9n/messages.tr.json +1 -1
  101. package/dist/cdn/assets/card-manager/t9n/messages.uk.json +1 -1
  102. package/dist/cdn/assets/card-manager/t9n/messages.vi.json +1 -1
  103. package/dist/cdn/assets/card-manager/t9n/messages.zh-CN.json +1 -1
  104. package/dist/cdn/assets/card-manager/t9n/messages.zh-HK.json +1 -1
  105. package/dist/cdn/assets/card-manager/t9n/messages.zh-TW.json +1 -1
  106. package/dist/cdn/assets/create-feature/t9n/messages.en.json +1 -1
  107. package/dist/cdn/assets/create-feature/t9n/messages.json +1 -1
  108. package/dist/cdn/assets/create-related-feature/t9n/messages.ar.json +1 -1
  109. package/dist/cdn/assets/create-related-feature/t9n/messages.bg.json +1 -1
  110. package/dist/cdn/assets/create-related-feature/t9n/messages.bs.json +1 -1
  111. package/dist/cdn/assets/create-related-feature/t9n/messages.ca.json +1 -1
  112. package/dist/cdn/assets/create-related-feature/t9n/messages.cs.json +1 -1
  113. package/dist/cdn/assets/create-related-feature/t9n/messages.da.json +1 -1
  114. package/dist/cdn/assets/create-related-feature/t9n/messages.de.json +1 -1
  115. package/dist/cdn/assets/create-related-feature/t9n/messages.el.json +1 -1
  116. package/dist/cdn/assets/create-related-feature/t9n/messages.es.json +1 -1
  117. package/dist/cdn/assets/create-related-feature/t9n/messages.et.json +1 -1
  118. package/dist/cdn/assets/create-related-feature/t9n/messages.fi.json +1 -1
  119. package/dist/cdn/assets/create-related-feature/t9n/messages.fr.json +1 -1
  120. package/dist/cdn/assets/create-related-feature/t9n/messages.he.json +1 -1
  121. package/dist/cdn/assets/create-related-feature/t9n/messages.hr.json +1 -1
  122. package/dist/cdn/assets/create-related-feature/t9n/messages.hu.json +1 -1
  123. package/dist/cdn/assets/create-related-feature/t9n/messages.id.json +1 -1
  124. package/dist/cdn/assets/create-related-feature/t9n/messages.it.json +1 -1
  125. package/dist/cdn/assets/create-related-feature/t9n/messages.ja.json +1 -1
  126. package/dist/cdn/assets/create-related-feature/t9n/messages.ko.json +1 -1
  127. package/dist/cdn/assets/create-related-feature/t9n/messages.lt.json +1 -1
  128. package/dist/cdn/assets/create-related-feature/t9n/messages.lv.json +1 -1
  129. package/dist/cdn/assets/create-related-feature/t9n/messages.nl.json +1 -1
  130. package/dist/cdn/assets/create-related-feature/t9n/messages.no.json +1 -1
  131. package/dist/cdn/assets/create-related-feature/t9n/messages.pl.json +1 -1
  132. package/dist/cdn/assets/create-related-feature/t9n/messages.pt-BR.json +1 -1
  133. package/dist/cdn/assets/create-related-feature/t9n/messages.pt-PT.json +1 -1
  134. package/dist/cdn/assets/create-related-feature/t9n/messages.ro.json +1 -1
  135. package/dist/cdn/assets/create-related-feature/t9n/messages.ru.json +1 -1
  136. package/dist/cdn/assets/create-related-feature/t9n/messages.sk.json +1 -1
  137. package/dist/cdn/assets/create-related-feature/t9n/messages.sl.json +1 -1
  138. package/dist/cdn/assets/create-related-feature/t9n/messages.sr.json +1 -1
  139. package/dist/cdn/assets/create-related-feature/t9n/messages.sv.json +1 -1
  140. package/dist/cdn/assets/create-related-feature/t9n/messages.th.json +1 -1
  141. package/dist/cdn/assets/create-related-feature/t9n/messages.tr.json +1 -1
  142. package/dist/cdn/assets/create-related-feature/t9n/messages.uk.json +1 -1
  143. package/dist/cdn/assets/create-related-feature/t9n/messages.vi.json +1 -1
  144. package/dist/cdn/assets/create-related-feature/t9n/messages.zh-CN.json +1 -1
  145. package/dist/cdn/assets/create-related-feature/t9n/messages.zh-HK.json +1 -1
  146. package/dist/cdn/assets/create-related-feature/t9n/messages.zh-TW.json +1 -1
  147. package/dist/cdn/assets/crowdsource-manager/t9n/messages.ar.json +1 -1
  148. package/dist/cdn/assets/crowdsource-manager/t9n/messages.bg.json +1 -1
  149. package/dist/cdn/assets/crowdsource-manager/t9n/messages.bs.json +1 -1
  150. package/dist/cdn/assets/crowdsource-manager/t9n/messages.ca.json +1 -1
  151. package/dist/cdn/assets/crowdsource-manager/t9n/messages.cs.json +1 -1
  152. package/dist/cdn/assets/crowdsource-manager/t9n/messages.da.json +1 -1
  153. package/dist/cdn/assets/crowdsource-manager/t9n/messages.de.json +1 -1
  154. package/dist/cdn/assets/crowdsource-manager/t9n/messages.el.json +1 -1
  155. package/dist/cdn/assets/crowdsource-manager/t9n/messages.es.json +1 -1
  156. package/dist/cdn/assets/crowdsource-manager/t9n/messages.et.json +1 -1
  157. package/dist/cdn/assets/crowdsource-manager/t9n/messages.fi.json +1 -1
  158. package/dist/cdn/assets/crowdsource-manager/t9n/messages.fr.json +1 -1
  159. package/dist/cdn/assets/crowdsource-manager/t9n/messages.he.json +1 -1
  160. package/dist/cdn/assets/crowdsource-manager/t9n/messages.hr.json +1 -1
  161. package/dist/cdn/assets/crowdsource-manager/t9n/messages.hu.json +1 -1
  162. package/dist/cdn/assets/crowdsource-manager/t9n/messages.id.json +1 -1
  163. package/dist/cdn/assets/crowdsource-manager/t9n/messages.it.json +1 -1
  164. package/dist/cdn/assets/crowdsource-manager/t9n/messages.ja.json +1 -1
  165. package/dist/cdn/assets/crowdsource-manager/t9n/messages.ko.json +1 -1
  166. package/dist/cdn/assets/crowdsource-manager/t9n/messages.lt.json +1 -1
  167. package/dist/cdn/assets/crowdsource-manager/t9n/messages.lv.json +1 -1
  168. package/dist/cdn/assets/crowdsource-manager/t9n/messages.nl.json +1 -1
  169. package/dist/cdn/assets/crowdsource-manager/t9n/messages.no.json +1 -1
  170. package/dist/cdn/assets/crowdsource-manager/t9n/messages.pl.json +1 -1
  171. package/dist/cdn/assets/crowdsource-manager/t9n/messages.pt-BR.json +1 -1
  172. package/dist/cdn/assets/crowdsource-manager/t9n/messages.pt-PT.json +1 -1
  173. package/dist/cdn/assets/crowdsource-manager/t9n/messages.ro.json +1 -1
  174. package/dist/cdn/assets/crowdsource-manager/t9n/messages.ru.json +1 -1
  175. package/dist/cdn/assets/crowdsource-manager/t9n/messages.sk.json +1 -1
  176. package/dist/cdn/assets/crowdsource-manager/t9n/messages.sl.json +1 -1
  177. package/dist/cdn/assets/crowdsource-manager/t9n/messages.sr.json +1 -1
  178. package/dist/cdn/assets/crowdsource-manager/t9n/messages.sv.json +1 -1
  179. package/dist/cdn/assets/crowdsource-manager/t9n/messages.th.json +1 -1
  180. package/dist/cdn/assets/crowdsource-manager/t9n/messages.tr.json +1 -1
  181. package/dist/cdn/assets/crowdsource-manager/t9n/messages.uk.json +1 -1
  182. package/dist/cdn/assets/crowdsource-manager/t9n/messages.vi.json +1 -1
  183. package/dist/cdn/assets/crowdsource-manager/t9n/messages.zh-CN.json +1 -1
  184. package/dist/cdn/assets/crowdsource-manager/t9n/messages.zh-HK.json +1 -1
  185. package/dist/cdn/assets/crowdsource-manager/t9n/messages.zh-TW.json +1 -1
  186. package/dist/cdn/assets/crowdsource-reporter/t9n/messages.ar.json +1 -1
  187. package/dist/cdn/assets/crowdsource-reporter/t9n/messages.bg.json +1 -1
  188. package/dist/cdn/assets/crowdsource-reporter/t9n/messages.bs.json +1 -1
  189. package/dist/cdn/assets/crowdsource-reporter/t9n/messages.ca.json +1 -1
  190. package/dist/cdn/assets/crowdsource-reporter/t9n/messages.cs.json +1 -1
  191. package/dist/cdn/assets/crowdsource-reporter/t9n/messages.da.json +1 -1
  192. package/dist/cdn/assets/crowdsource-reporter/t9n/messages.de.json +1 -1
  193. package/dist/cdn/assets/crowdsource-reporter/t9n/messages.el.json +1 -1
  194. package/dist/cdn/assets/crowdsource-reporter/t9n/messages.es.json +1 -1
  195. package/dist/cdn/assets/crowdsource-reporter/t9n/messages.et.json +1 -1
  196. package/dist/cdn/assets/crowdsource-reporter/t9n/messages.fi.json +1 -1
  197. package/dist/cdn/assets/crowdsource-reporter/t9n/messages.fr.json +1 -1
  198. package/dist/cdn/assets/crowdsource-reporter/t9n/messages.he.json +1 -1
  199. package/dist/cdn/assets/crowdsource-reporter/t9n/messages.hr.json +1 -1
  200. package/dist/cdn/assets/crowdsource-reporter/t9n/messages.hu.json +1 -1
  201. package/dist/cdn/assets/crowdsource-reporter/t9n/messages.id.json +1 -1
  202. package/dist/cdn/assets/crowdsource-reporter/t9n/messages.it.json +1 -1
  203. package/dist/cdn/assets/crowdsource-reporter/t9n/messages.ja.json +1 -1
  204. package/dist/cdn/assets/crowdsource-reporter/t9n/messages.ko.json +1 -1
  205. package/dist/cdn/assets/crowdsource-reporter/t9n/messages.lt.json +1 -1
  206. package/dist/cdn/assets/crowdsource-reporter/t9n/messages.lv.json +1 -1
  207. package/dist/cdn/assets/crowdsource-reporter/t9n/messages.nl.json +1 -1
  208. package/dist/cdn/assets/crowdsource-reporter/t9n/messages.no.json +1 -1
  209. package/dist/cdn/assets/crowdsource-reporter/t9n/messages.pl.json +1 -1
  210. package/dist/cdn/assets/crowdsource-reporter/t9n/messages.pt-BR.json +1 -1
  211. package/dist/cdn/assets/crowdsource-reporter/t9n/messages.pt-PT.json +1 -1
  212. package/dist/cdn/assets/crowdsource-reporter/t9n/messages.ro.json +1 -1
  213. package/dist/cdn/assets/crowdsource-reporter/t9n/messages.ru.json +1 -1
  214. package/dist/cdn/assets/crowdsource-reporter/t9n/messages.sk.json +1 -1
  215. package/dist/cdn/assets/crowdsource-reporter/t9n/messages.sl.json +1 -1
  216. package/dist/cdn/assets/crowdsource-reporter/t9n/messages.sr.json +1 -1
  217. package/dist/cdn/assets/crowdsource-reporter/t9n/messages.sv.json +1 -1
  218. package/dist/cdn/assets/crowdsource-reporter/t9n/messages.th.json +1 -1
  219. package/dist/cdn/assets/crowdsource-reporter/t9n/messages.tr.json +1 -1
  220. package/dist/cdn/assets/crowdsource-reporter/t9n/messages.uk.json +1 -1
  221. package/dist/cdn/assets/crowdsource-reporter/t9n/messages.vi.json +1 -1
  222. package/dist/cdn/assets/crowdsource-reporter/t9n/messages.zh-CN.json +1 -1
  223. package/dist/cdn/assets/crowdsource-reporter/t9n/messages.zh-HK.json +1 -1
  224. package/dist/cdn/assets/crowdsource-reporter/t9n/messages.zh-TW.json +1 -1
  225. package/dist/cdn/assets/edit-card/t9n/messages.ar.json +1 -1
  226. package/dist/cdn/assets/edit-card/t9n/messages.bg.json +1 -1
  227. package/dist/cdn/assets/edit-card/t9n/messages.bs.json +1 -1
  228. package/dist/cdn/assets/edit-card/t9n/messages.ca.json +1 -1
  229. package/dist/cdn/assets/edit-card/t9n/messages.cs.json +1 -1
  230. package/dist/cdn/assets/edit-card/t9n/messages.da.json +1 -1
  231. package/dist/cdn/assets/edit-card/t9n/messages.de.json +1 -1
  232. package/dist/cdn/assets/edit-card/t9n/messages.el.json +1 -1
  233. package/dist/cdn/assets/edit-card/t9n/messages.es.json +1 -1
  234. package/dist/cdn/assets/edit-card/t9n/messages.et.json +1 -1
  235. package/dist/cdn/assets/edit-card/t9n/messages.fi.json +1 -1
  236. package/dist/cdn/assets/edit-card/t9n/messages.fr.json +1 -1
  237. package/dist/cdn/assets/edit-card/t9n/messages.he.json +1 -1
  238. package/dist/cdn/assets/edit-card/t9n/messages.hr.json +1 -1
  239. package/dist/cdn/assets/edit-card/t9n/messages.hu.json +1 -1
  240. package/dist/cdn/assets/edit-card/t9n/messages.id.json +1 -1
  241. package/dist/cdn/assets/edit-card/t9n/messages.it.json +1 -1
  242. package/dist/cdn/assets/edit-card/t9n/messages.ja.json +1 -1
  243. package/dist/cdn/assets/edit-card/t9n/messages.ko.json +1 -1
  244. package/dist/cdn/assets/edit-card/t9n/messages.lt.json +1 -1
  245. package/dist/cdn/assets/edit-card/t9n/messages.lv.json +1 -1
  246. package/dist/cdn/assets/edit-card/t9n/messages.nl.json +1 -1
  247. package/dist/cdn/assets/edit-card/t9n/messages.no.json +1 -1
  248. package/dist/cdn/assets/edit-card/t9n/messages.pl.json +1 -1
  249. package/dist/cdn/assets/edit-card/t9n/messages.pt-BR.json +1 -1
  250. package/dist/cdn/assets/edit-card/t9n/messages.pt-PT.json +1 -1
  251. package/dist/cdn/assets/edit-card/t9n/messages.ro.json +1 -1
  252. package/dist/cdn/assets/edit-card/t9n/messages.ru.json +1 -1
  253. package/dist/cdn/assets/edit-card/t9n/messages.sk.json +1 -1
  254. package/dist/cdn/assets/edit-card/t9n/messages.sl.json +1 -1
  255. package/dist/cdn/assets/edit-card/t9n/messages.sr.json +1 -1
  256. package/dist/cdn/assets/edit-card/t9n/messages.sv.json +1 -1
  257. package/dist/cdn/assets/edit-card/t9n/messages.th.json +1 -1
  258. package/dist/cdn/assets/edit-card/t9n/messages.tr.json +1 -1
  259. package/dist/cdn/assets/edit-card/t9n/messages.uk.json +1 -1
  260. package/dist/cdn/assets/edit-card/t9n/messages.vi.json +1 -1
  261. package/dist/cdn/assets/edit-card/t9n/messages.zh-CN.json +1 -1
  262. package/dist/cdn/assets/edit-card/t9n/messages.zh-HK.json +1 -1
  263. package/dist/cdn/assets/edit-card/t9n/messages.zh-TW.json +1 -1
  264. package/dist/cdn/assets/info-card/t9n/messages.ar.json +1 -1
  265. package/dist/cdn/assets/info-card/t9n/messages.bg.json +1 -1
  266. package/dist/cdn/assets/info-card/t9n/messages.bs.json +1 -1
  267. package/dist/cdn/assets/info-card/t9n/messages.ca.json +1 -1
  268. package/dist/cdn/assets/info-card/t9n/messages.cs.json +1 -1
  269. package/dist/cdn/assets/info-card/t9n/messages.da.json +1 -1
  270. package/dist/cdn/assets/info-card/t9n/messages.de.json +1 -1
  271. package/dist/cdn/assets/info-card/t9n/messages.el.json +1 -1
  272. package/dist/cdn/assets/info-card/t9n/messages.en.json +1 -1
  273. package/dist/cdn/assets/info-card/t9n/messages.es.json +1 -1
  274. package/dist/cdn/assets/info-card/t9n/messages.et.json +1 -1
  275. package/dist/cdn/assets/info-card/t9n/messages.fi.json +1 -1
  276. package/dist/cdn/assets/info-card/t9n/messages.fr.json +1 -1
  277. package/dist/cdn/assets/info-card/t9n/messages.he.json +1 -1
  278. package/dist/cdn/assets/info-card/t9n/messages.hr.json +1 -1
  279. package/dist/cdn/assets/info-card/t9n/messages.hu.json +1 -1
  280. package/dist/cdn/assets/info-card/t9n/messages.id.json +1 -1
  281. package/dist/cdn/assets/info-card/t9n/messages.it.json +1 -1
  282. package/dist/cdn/assets/info-card/t9n/messages.ja.json +1 -1
  283. package/dist/cdn/assets/info-card/t9n/messages.json +1 -1
  284. package/dist/cdn/assets/info-card/t9n/messages.ko.json +1 -1
  285. package/dist/cdn/assets/info-card/t9n/messages.lt.json +1 -1
  286. package/dist/cdn/assets/info-card/t9n/messages.lv.json +1 -1
  287. package/dist/cdn/assets/info-card/t9n/messages.nl.json +1 -1
  288. package/dist/cdn/assets/info-card/t9n/messages.no.json +1 -1
  289. package/dist/cdn/assets/info-card/t9n/messages.pl.json +1 -1
  290. package/dist/cdn/assets/info-card/t9n/messages.pt-BR.json +1 -1
  291. package/dist/cdn/assets/info-card/t9n/messages.pt-PT.json +1 -1
  292. package/dist/cdn/assets/info-card/t9n/messages.ro.json +1 -1
  293. package/dist/cdn/assets/info-card/t9n/messages.ru.json +1 -1
  294. package/dist/cdn/assets/info-card/t9n/messages.sk.json +1 -1
  295. package/dist/cdn/assets/info-card/t9n/messages.sl.json +1 -1
  296. package/dist/cdn/assets/info-card/t9n/messages.sr.json +1 -1
  297. package/dist/cdn/assets/info-card/t9n/messages.sv.json +1 -1
  298. package/dist/cdn/assets/info-card/t9n/messages.th.json +1 -1
  299. package/dist/cdn/assets/info-card/t9n/messages.tr.json +1 -1
  300. package/dist/cdn/assets/info-card/t9n/messages.uk.json +1 -1
  301. package/dist/cdn/assets/info-card/t9n/messages.vi.json +1 -1
  302. package/dist/cdn/assets/info-card/t9n/messages.zh-CN.json +1 -1
  303. package/dist/cdn/assets/info-card/t9n/messages.zh-HK.json +1 -1
  304. package/dist/cdn/assets/info-card/t9n/messages.zh-TW.json +1 -1
  305. package/dist/cdn/assets/layer-table/t9n/messages.en.json +1 -1
  306. package/dist/cdn/assets/layer-table/t9n/messages.json +1 -1
  307. package/dist/cdn/assets/map-card/t9n/messages.en.json +1 -1
  308. package/dist/cdn/assets/map-card/t9n/messages.json +1 -1
  309. package/dist/cdn/assets/map-picker/t9n/messages.ar.json +1 -1
  310. package/dist/cdn/assets/map-picker/t9n/messages.bg.json +1 -1
  311. package/dist/cdn/assets/map-picker/t9n/messages.bs.json +1 -1
  312. package/dist/cdn/assets/map-picker/t9n/messages.ca.json +1 -1
  313. package/dist/cdn/assets/map-picker/t9n/messages.cs.json +1 -1
  314. package/dist/cdn/assets/map-picker/t9n/messages.da.json +1 -1
  315. package/dist/cdn/assets/map-picker/t9n/messages.de.json +1 -1
  316. package/dist/cdn/assets/map-picker/t9n/messages.el.json +1 -1
  317. package/dist/cdn/assets/map-picker/t9n/messages.es.json +1 -1
  318. package/dist/cdn/assets/map-picker/t9n/messages.et.json +1 -1
  319. package/dist/cdn/assets/map-picker/t9n/messages.fi.json +1 -1
  320. package/dist/cdn/assets/map-picker/t9n/messages.fr.json +1 -1
  321. package/dist/cdn/assets/map-picker/t9n/messages.he.json +1 -1
  322. package/dist/cdn/assets/map-picker/t9n/messages.hr.json +1 -1
  323. package/dist/cdn/assets/map-picker/t9n/messages.hu.json +1 -1
  324. package/dist/cdn/assets/map-picker/t9n/messages.id.json +1 -1
  325. package/dist/cdn/assets/map-picker/t9n/messages.it.json +1 -1
  326. package/dist/cdn/assets/map-picker/t9n/messages.ja.json +1 -1
  327. package/dist/cdn/assets/map-picker/t9n/messages.ko.json +1 -1
  328. package/dist/cdn/assets/map-picker/t9n/messages.lt.json +1 -1
  329. package/dist/cdn/assets/map-picker/t9n/messages.lv.json +1 -1
  330. package/dist/cdn/assets/map-picker/t9n/messages.nl.json +1 -1
  331. package/dist/cdn/assets/map-picker/t9n/messages.no.json +1 -1
  332. package/dist/cdn/assets/map-picker/t9n/messages.pl.json +1 -1
  333. package/dist/cdn/assets/map-picker/t9n/messages.pt-BR.json +1 -1
  334. package/dist/cdn/assets/map-picker/t9n/messages.pt-PT.json +1 -1
  335. package/dist/cdn/assets/map-picker/t9n/messages.ro.json +1 -1
  336. package/dist/cdn/assets/map-picker/t9n/messages.ru.json +1 -1
  337. package/dist/cdn/assets/map-picker/t9n/messages.sk.json +1 -1
  338. package/dist/cdn/assets/map-picker/t9n/messages.sl.json +1 -1
  339. package/dist/cdn/assets/map-picker/t9n/messages.sr.json +1 -1
  340. package/dist/cdn/assets/map-picker/t9n/messages.sv.json +1 -1
  341. package/dist/cdn/assets/map-picker/t9n/messages.th.json +1 -1
  342. package/dist/cdn/assets/map-picker/t9n/messages.tr.json +1 -1
  343. package/dist/cdn/assets/map-picker/t9n/messages.uk.json +1 -1
  344. package/dist/cdn/assets/map-picker/t9n/messages.vi.json +1 -1
  345. package/dist/cdn/assets/map-picker/t9n/messages.zh-CN.json +1 -1
  346. package/dist/cdn/assets/map-picker/t9n/messages.zh-HK.json +1 -1
  347. package/dist/cdn/assets/map-picker/t9n/messages.zh-TW.json +1 -1
  348. package/dist/cdn/assets/solution-builder-assistant/images/conduct-field-inspections.png +0 -0
  349. package/dist/cdn/assets/solution-builder-assistant/images/locate-points-of-interest.png +0 -0
  350. package/dist/cdn/assets/solution-builder-assistant/images/manage-spatial-data.png +0 -0
  351. package/dist/cdn/assets/solutions-all-shell/t9n/messages.ar.json +1 -1
  352. package/dist/cdn/assets/solutions-all-shell/t9n/messages.bg.json +1 -1
  353. package/dist/cdn/assets/solutions-all-shell/t9n/messages.bs.json +1 -1
  354. package/dist/cdn/assets/solutions-all-shell/t9n/messages.ca.json +1 -1
  355. package/dist/cdn/assets/solutions-all-shell/t9n/messages.cs.json +1 -1
  356. package/dist/cdn/assets/solutions-all-shell/t9n/messages.da.json +1 -1
  357. package/dist/cdn/assets/solutions-all-shell/t9n/messages.de.json +1 -1
  358. package/dist/cdn/assets/solutions-all-shell/t9n/messages.el.json +1 -1
  359. package/dist/cdn/assets/solutions-all-shell/t9n/messages.es.json +1 -1
  360. package/dist/cdn/assets/solutions-all-shell/t9n/messages.et.json +1 -1
  361. package/dist/cdn/assets/solutions-all-shell/t9n/messages.fi.json +1 -1
  362. package/dist/cdn/assets/solutions-all-shell/t9n/messages.fr.json +1 -1
  363. package/dist/cdn/assets/solutions-all-shell/t9n/messages.he.json +1 -1
  364. package/dist/cdn/assets/solutions-all-shell/t9n/messages.hr.json +1 -1
  365. package/dist/cdn/assets/solutions-all-shell/t9n/messages.hu.json +1 -1
  366. package/dist/cdn/assets/solutions-all-shell/t9n/messages.id.json +1 -1
  367. package/dist/cdn/assets/solutions-all-shell/t9n/messages.it.json +1 -1
  368. package/dist/cdn/assets/solutions-all-shell/t9n/messages.ja.json +1 -1
  369. package/dist/cdn/assets/solutions-all-shell/t9n/messages.ko.json +1 -1
  370. package/dist/cdn/assets/solutions-all-shell/t9n/messages.lt.json +1 -1
  371. package/dist/cdn/assets/solutions-all-shell/t9n/messages.lv.json +1 -1
  372. package/dist/cdn/assets/solutions-all-shell/t9n/messages.nl.json +1 -1
  373. package/dist/cdn/assets/solutions-all-shell/t9n/messages.no.json +1 -1
  374. package/dist/cdn/assets/solutions-all-shell/t9n/messages.pl.json +1 -1
  375. package/dist/cdn/assets/solutions-all-shell/t9n/messages.pt-BR.json +1 -1
  376. package/dist/cdn/assets/solutions-all-shell/t9n/messages.pt-PT.json +1 -1
  377. package/dist/cdn/assets/solutions-all-shell/t9n/messages.ro.json +1 -1
  378. package/dist/cdn/assets/solutions-all-shell/t9n/messages.ru.json +1 -1
  379. package/dist/cdn/assets/solutions-all-shell/t9n/messages.sk.json +1 -1
  380. package/dist/cdn/assets/solutions-all-shell/t9n/messages.sl.json +1 -1
  381. package/dist/cdn/assets/solutions-all-shell/t9n/messages.sr.json +1 -1
  382. package/dist/cdn/assets/solutions-all-shell/t9n/messages.sv.json +1 -1
  383. package/dist/cdn/assets/solutions-all-shell/t9n/messages.th.json +1 -1
  384. package/dist/cdn/assets/solutions-all-shell/t9n/messages.tr.json +1 -1
  385. package/dist/cdn/assets/solutions-all-shell/t9n/messages.uk.json +1 -1
  386. package/dist/cdn/assets/solutions-all-shell/t9n/messages.vi.json +1 -1
  387. package/dist/cdn/assets/solutions-all-shell/t9n/messages.zh-CN.json +1 -1
  388. package/dist/cdn/assets/solutions-all-shell/t9n/messages.zh-HK.json +1 -1
  389. package/dist/cdn/assets/solutions-all-shell/t9n/messages.zh-TW.json +1 -1
  390. package/dist/cdn/assets/solutions-filter-panel/t9n/messages.ar.json +1 -1
  391. package/dist/cdn/assets/solutions-filter-panel/t9n/messages.bg.json +1 -1
  392. package/dist/cdn/assets/solutions-filter-panel/t9n/messages.bs.json +1 -1
  393. package/dist/cdn/assets/solutions-filter-panel/t9n/messages.ca.json +1 -1
  394. package/dist/cdn/assets/solutions-filter-panel/t9n/messages.cs.json +1 -1
  395. package/dist/cdn/assets/solutions-filter-panel/t9n/messages.da.json +1 -1
  396. package/dist/cdn/assets/solutions-filter-panel/t9n/messages.de.json +1 -1
  397. package/dist/cdn/assets/solutions-filter-panel/t9n/messages.el.json +1 -1
  398. package/dist/cdn/assets/solutions-filter-panel/t9n/messages.es.json +1 -1
  399. package/dist/cdn/assets/solutions-filter-panel/t9n/messages.et.json +1 -1
  400. package/dist/cdn/assets/solutions-filter-panel/t9n/messages.fi.json +1 -1
  401. package/dist/cdn/assets/solutions-filter-panel/t9n/messages.fr.json +1 -1
  402. package/dist/cdn/assets/solutions-filter-panel/t9n/messages.he.json +1 -1
  403. package/dist/cdn/assets/solutions-filter-panel/t9n/messages.hr.json +1 -1
  404. package/dist/cdn/assets/solutions-filter-panel/t9n/messages.hu.json +1 -1
  405. package/dist/cdn/assets/solutions-filter-panel/t9n/messages.id.json +1 -1
  406. package/dist/cdn/assets/solutions-filter-panel/t9n/messages.it.json +1 -1
  407. package/dist/cdn/assets/solutions-filter-panel/t9n/messages.ja.json +1 -1
  408. package/dist/cdn/assets/solutions-filter-panel/t9n/messages.ko.json +1 -1
  409. package/dist/cdn/assets/solutions-filter-panel/t9n/messages.lt.json +1 -1
  410. package/dist/cdn/assets/solutions-filter-panel/t9n/messages.lv.json +1 -1
  411. package/dist/cdn/assets/solutions-filter-panel/t9n/messages.nl.json +1 -1
  412. package/dist/cdn/assets/solutions-filter-panel/t9n/messages.no.json +1 -1
  413. package/dist/cdn/assets/solutions-filter-panel/t9n/messages.pl.json +1 -1
  414. package/dist/cdn/assets/solutions-filter-panel/t9n/messages.pt-BR.json +1 -1
  415. package/dist/cdn/assets/solutions-filter-panel/t9n/messages.pt-PT.json +1 -1
  416. package/dist/cdn/assets/solutions-filter-panel/t9n/messages.ro.json +1 -1
  417. package/dist/cdn/assets/solutions-filter-panel/t9n/messages.ru.json +1 -1
  418. package/dist/cdn/assets/solutions-filter-panel/t9n/messages.sk.json +1 -1
  419. package/dist/cdn/assets/solutions-filter-panel/t9n/messages.sl.json +1 -1
  420. package/dist/cdn/assets/solutions-filter-panel/t9n/messages.sr.json +1 -1
  421. package/dist/cdn/assets/solutions-filter-panel/t9n/messages.sv.json +1 -1
  422. package/dist/cdn/assets/solutions-filter-panel/t9n/messages.th.json +1 -1
  423. package/dist/cdn/assets/solutions-filter-panel/t9n/messages.tr.json +1 -1
  424. package/dist/cdn/assets/solutions-filter-panel/t9n/messages.uk.json +1 -1
  425. package/dist/cdn/assets/solutions-filter-panel/t9n/messages.vi.json +1 -1
  426. package/dist/cdn/assets/solutions-filter-panel/t9n/messages.zh-CN.json +1 -1
  427. package/dist/cdn/assets/solutions-filter-panel/t9n/messages.zh-HK.json +1 -1
  428. package/dist/cdn/assets/solutions-filter-panel/t9n/messages.zh-TW.json +1 -1
  429. package/dist/cdn/index.js +1 -1
  430. package/dist/chunks/designSolution.js +1 -1
  431. package/dist/chunks/popupUtils.js +1 -1
  432. package/dist/chunks/solution-deploy-dialog.js +1 -1
  433. package/dist/chunks/templates.js +65 -0
  434. package/dist/chunks/validators.js +5 -5
  435. package/dist/components/arcgis-solutions-assistant/customElement.js +5748 -5793
  436. package/dist/components/card-manager/customElement.d.ts +30 -0
  437. package/dist/components/card-manager/customElement.js +89 -21
  438. package/dist/components/card-manager/index.js +1 -0
  439. package/dist/components/create-feature/customElement.d.ts +8 -0
  440. package/dist/components/create-feature/customElement.js +226 -255
  441. package/dist/components/create-feature/index.js +2 -0
  442. package/dist/components/crowdsource-manager/customElement.d.ts +6 -0
  443. package/dist/components/crowdsource-manager/customElement.js +47 -38
  444. package/dist/components/delete-button/customElement.js +1 -1
  445. package/dist/components/delete-dialog/customElement.d.ts +1 -1
  446. package/dist/components/edit-card/customElement.d.ts +3 -3
  447. package/dist/components/edit-card/customElement.js +37 -42
  448. package/dist/components/edit-card/index.js +1 -0
  449. package/dist/components/field-selection/customElement.js +1 -1
  450. package/dist/components/info-card/customElement.d.ts +27 -6
  451. package/dist/components/info-card/customElement.js +93 -86
  452. package/dist/components/info-card/index.js +1 -0
  453. package/dist/components/layer-list-widget/customElement.d.ts +4 -8
  454. package/dist/components/layer-list-widget/customElement.js +12 -29
  455. package/dist/components/layer-list-widget/index.js +1 -0
  456. package/dist/components/layer-table/customElement.d.ts +33 -0
  457. package/dist/components/layer-table/customElement.js +128 -66
  458. package/dist/components/map-basemap-gallery/customElement.d.ts +4 -7
  459. package/dist/components/map-basemap-gallery/customElement.js +30 -37
  460. package/dist/components/map-basemap-gallery/index.js +1 -0
  461. package/dist/components/map-card/customElement.d.ts +37 -5
  462. package/dist/components/map-card/customElement.js +54 -37
  463. package/dist/components/map-card/index.js +1 -0
  464. package/dist/components/map-floor-filter/customElement.d.ts +4 -7
  465. package/dist/components/map-floor-filter/customElement.js +22 -45
  466. package/dist/components/map-floor-filter/index.js +1 -0
  467. package/dist/components/map-fullscreen/customElement.d.ts +4 -3
  468. package/dist/components/map-fullscreen/customElement.js +14 -34
  469. package/dist/components/map-fullscreen/index.js +1 -0
  470. package/dist/components/map-layer-picker/customElement.js +10 -6
  471. package/dist/components/map-legend/customElement.d.ts +4 -7
  472. package/dist/components/map-legend/customElement.js +14 -30
  473. package/dist/components/map-legend/index.js +1 -0
  474. package/dist/components/map-search/customElement.d.ts +6 -5
  475. package/dist/components/map-search/customElement.js +25 -52
  476. package/dist/components/map-search/index.js +1 -0
  477. package/dist/components/map-tools/customElement.d.ts +9 -3
  478. package/dist/components/map-tools/customElement.js +95 -102
  479. package/dist/components/map-tools/index.js +1 -1
  480. package/dist/components/selection-tool/customElement.d.ts +1 -1
  481. package/dist/components/selection-tool/customElement.js +1 -1
  482. package/dist/components/solution-builder-assistant/customElement.js +99 -94
  483. package/dist/docs/api.json +1 -1
  484. package/dist/docs/docs.json +1 -1
  485. package/dist/docs/vscode.html-custom-data.json +1 -1
  486. package/dist/docs/web-types.json +1 -1
  487. package/dist/index.d.ts +0 -6
  488. package/dist/loader.js +12 -12
  489. package/dist/solutions-components_commit.txt +6 -6
  490. package/dist/types/lumina.d.ts +24 -13
  491. package/dist/types/preact.d.ts +24 -13
  492. package/dist/types/react.d.ts +24 -13
  493. package/dist/types/stencil.d.ts +24 -13
  494. package/dist/utils/interfaces.d.ts +22 -0
  495. package/package.json +1 -1
  496. package/dist/cdn/25VAC27I.js +0 -2
  497. package/dist/cdn/4RJ456O7.js +0 -2
  498. package/dist/cdn/5TJMXQ6I.js +0 -2
  499. package/dist/cdn/74KPJ6CS.js +0 -2
  500. package/dist/cdn/DXETUMPR.js +0 -2
  501. package/dist/cdn/FJ7ETLF7.js +0 -2
  502. package/dist/cdn/GWKYLTEJ.js +0 -2
  503. package/dist/cdn/JDVRT3UI.js +0 -2
  504. package/dist/cdn/JHEOWKJP.js +0 -2
  505. package/dist/cdn/NUWPSA4Q.js +0 -2
  506. package/dist/cdn/PD2CPL77.js +0 -2
  507. package/dist/cdn/POPVAM3V.js +0 -2
  508. package/dist/cdn/QOJ6NBZ7.js +0 -2
  509. package/dist/cdn/RYM3WNKW.js +0 -2
  510. package/dist/cdn/T5U3U2IF.js +0 -2
  511. package/dist/cdn/T5VGITRO.js +0 -2
  512. package/dist/cdn/TUB2CVLR.js +0 -4
  513. package/dist/cdn/TZXVSQVZ.js +0 -2
  514. package/dist/cdn/UQVDQ3RW.js +0 -2
  515. package/dist/cdn/X2TQEFX2.js +0 -2
@@ -23,6 +23,8 @@ export abstract class MapCard extends LitElement {
23
23
  featureEditLimitNotice: string;
24
24
  clearSelection: string;
25
25
  share: string;
26
+ copy: string;
27
+ paste: string;
26
28
  } & T9nMeta<{
27
29
  mapName: string;
28
30
  more: string;
@@ -33,6 +35,8 @@ export abstract class MapCard extends LitElement {
33
35
  featureEditLimitNotice: string;
34
36
  clearSelection: string;
35
37
  share: string;
38
+ copy: string;
39
+ paste: string;
36
40
  }>;
37
41
  /** AppLayout: the current app layout */
38
42
  accessor appLayout: AppLayout | undefined;
@@ -149,6 +153,12 @@ export abstract class MapCard extends LitElement {
149
153
  * @default false
150
154
  */
151
155
  accessor isMobile: boolean;
156
+ /**
157
+ * string: Id to pass in the map component
158
+ *
159
+ * @default 'arcgis-map'
160
+ */
161
+ accessor mapComponentId: string;
152
162
  /** IMapInfo: key configuration details about the current map */
153
163
  accessor mapInfo: IMapInfo | undefined;
154
164
  /** IMapInfo[]: array of map infos (name and id) */
@@ -165,8 +175,7 @@ export abstract class MapCard extends LitElement {
165
175
  */
166
176
  accessor mapWidgetsIndex: number;
167
177
  /**
168
- * __esri.UIPosition: https://developers.arcgis.com/javascript/latest/api-reference/esri-views-ui-UI.html#UIPosition
169
- * The position details for the map tools
178
+ * UIPosition: The position details for the mobile map tools
170
179
  *
171
180
  * @default 'top-leading'
172
181
  */
@@ -178,17 +187,22 @@ export abstract class MapCard extends LitElement {
178
187
  */
179
188
  accessor mapWidgetsSize: "l" | "m" | "s";
180
189
  /**
181
- * __esri.UIPosition: https://developers.arcgis.com/javascript/latest/api-reference/esri-views-ui-UI.html#UIPosition
182
- * The position details for the mobile map tools
190
+ * UIPosition: The position details for the mobile map tools
183
191
  *
184
192
  * @default 'top-right'
185
193
  */
186
194
  accessor mobileMapWidgetsPosition: UIPosition;
187
195
  /** Valid tools: 'map-picker', 'map-layer-picker' */
188
196
  accessor mobileToolsOrder: string[];
197
+ /**
198
+ * boolean: When true the paste action will be enabled
199
+ *
200
+ * @default false
201
+ */
202
+ accessor pasteEnabled: boolean;
189
203
  /** number[]: A list of ids that are currently selected */
190
204
  accessor selectedFeaturesIds: (number | string)[];
191
- /** __esri.FeatureLayer: Selected layer */
205
+ /** FeatureLayer: Selected layer */
192
206
  accessor selectedLayer: FeatureLayer | undefined;
193
207
  /**
194
208
  * boolean: When true the share options will include embed option
@@ -202,6 +216,12 @@ export abstract class MapCard extends LitElement {
202
216
  * @default false
203
217
  */
204
218
  accessor shareIncludeSocial: boolean;
219
+ /**
220
+ * boolean: When true only the copy and paste actions will be shown in the selection tool
221
+ *
222
+ * @default false
223
+ */
224
+ accessor showCopyPasteActions: boolean;
205
225
  /**
206
226
  * boolean: When true only editable layers that support the update capability will be available
207
227
  *
@@ -245,17 +265,29 @@ export abstract class MapCard extends LitElement {
245
265
  readonly beforeMapChanged: import("@arcgis/lumina").TargetedEvent<this, void>;
246
266
  /** Emitted on demand when clear selection button is clicked */
247
267
  readonly clearSelection: import("@arcgis/lumina").TargetedEvent<this, void>;
268
+ /** Emitted on demand when copy action is clicked */
269
+ readonly copyFeatures: import("@arcgis/lumina").TargetedEvent<this, {
270
+ featuresIds: (number | string)[];
271
+ layerId: string | undefined;
272
+ }>;
248
273
  /** Emitted on demand when edit multiple action is clicked */
249
274
  readonly editMultipleFeatures: import("@arcgis/lumina").TargetedEvent<this, (number | string)[]>;
275
+ /** Emitted when the features have been copied to the clipboard */
276
+ readonly featuresCopied: import("@arcgis/lumina").TargetedEvent<this, void>;
250
277
  /** Emitted when a new map is loaded */
251
278
  readonly mapChanged: import("@arcgis/lumina").TargetedEvent<this, IMapChange>;
279
+ /** Emitted on demand when paste action is clicked */
280
+ readonly pasteFeatures: import("@arcgis/lumina").TargetedEvent<this, void>;
252
281
  /** Emitted on demand when filter action is clicked */
253
282
  readonly toggleFilter: import("@arcgis/lumina").TargetedEvent<this, void>;
254
283
  readonly "@eventTypes": {
255
284
  beforeMapChanged: MapCard["beforeMapChanged"]["detail"];
256
285
  clearSelection: MapCard["clearSelection"]["detail"];
286
+ copyFeatures: MapCard["copyFeatures"]["detail"];
257
287
  editMultipleFeatures: MapCard["editMultipleFeatures"]["detail"];
288
+ featuresCopied: MapCard["featuresCopied"]["detail"];
258
289
  mapChanged: MapCard["mapChanged"]["detail"];
290
+ pasteFeatures: MapCard["pasteFeatures"]["detail"];
259
291
  toggleFilter: MapCard["toggleFilter"]["detail"];
260
292
  };
261
293
  }
@@ -1,33 +1,36 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
2
  import { c as b } from "../../chunks/runtime.js";
3
- import { b as c } from "../../chunks/interfaces.js";
3
+ import { b as m } from "../../chunks/interfaces.js";
4
4
  import { joinAppProxies as y } from "templates-common-library/functionality/proxy";
5
5
  import { c as _, e as g } from "../../chunks/mapViewUtils.js";
6
6
  import { u as v } from "../../chunks/useT9n.js";
7
- import { css as I, html as o, nothing as m } from "lit";
8
- import { createRef as d, ref as r } from "lit-html/directives/ref.js";
9
- import { LitElement as $, createEvent as p, noShadowRoot as L, safeClassMap as f } from "@arcgis/lumina";
7
+ import { css as I, nothing as c, html as o } from "lit";
8
+ import { createRef as d, ref as h } from "lit-html/directives/ref.js";
9
+ import { LitElement as $, createEvent as n, noShadowRoot as L, safeClassMap as f } from "@arcgis/lumina";
10
10
  import { defineCustomElements as w } from "@arcgis/instant-apps-components/loader";
11
11
  import { h as M } from "../../chunks/helpers.js";
12
12
  import S from "@arcgis/core/config.js";
13
- import T from "@arcgis/core/views/MapView.js";
14
- import W from "@arcgis/core/WebMap.js";
15
- const k = I`@layer{:host{display:block;--calcite-label-margin-bottom: 0;--calcite-block-padding: 0}.map-height{height:calc(100% - 53px)}.height-full{height:100%}.height-49-px{height:49px}.box-shadow{box-shadow:none!important}.visibility-hidden-1{visibility:hidden;height:1px}.hidden{visibility:hidden!important}.display-flex{display:flex}.display-none{display:none}.display-block{display:block}.absolute-right{position:absolute;right:0;left:unset}.esri-ui-inner-container.esri-ui-corner-container{direction:ltr}html[dir=rtl] .absolute-right{left:0;right:unset}.panel-header-override{--calcite-panel-header-content-space: 0px;--calcite-internal-panel-action-spacing: 0px !important}@media only screen and (max-width:1024px){.esri-zoom{display:none!important}}calcite-action-bar{--calcite-internal-action-bar-gap: 0px;--calcite-internal-action-bar-padding: 0px}}`;
16
- class C extends $ {
13
+ import "@arcgis/core/views/MapView.js";
14
+ import C from "@arcgis/core/WebMap.js";
15
+ const T = I`@layer{:host{display:block;--calcite-label-margin-bottom: 0;--calcite-block-padding: 0}.map-height{height:calc(100% - 53px)}.height-full{height:100%}.height-49-px{height:49px}.box-shadow{box-shadow:none!important}.visibility-hidden-1{visibility:hidden;height:1px}.hidden{visibility:hidden!important}.display-flex{display:flex}.display-none{display:none}.display-block{display:block}.absolute-right{position:absolute;right:0;left:unset}.esri-ui-inner-container.esri-ui-corner-container{direction:ltr}html[dir=rtl] .absolute-right{left:0;right:unset}.panel-header-override{--calcite-panel-header-content-space: 0px;--calcite-internal-panel-action-spacing: 0px !important}@media only screen and (max-width:1024px){.esri-zoom{display:none!important}}calcite-action-bar{--calcite-internal-action-bar-gap: 0px;--calcite-internal-action-bar-padding: 0px}}`;
16
+ class W extends $ {
17
17
  constructor() {
18
- super(), this.defaultWebmapId = "", this.defaultLayerId = "", this.enableHome = !1, this.enableLegend = !1, this.enableLayerList = !0, this.enableFloorFilter = !1, this.enableFullscreen = !1, this.enableShare = !1, this.enableMapLayerPicker = !1, this.enableMapPicker = !1, this.enableSingleExpand = !1, this.enableSearch = !1, this.enableBasemap = !1, this.featureSelectionMode = "multiple", this.hide = !1, this.zoomToolsSize = "m", this.mapInfos = [], this.mapWidgetsIndex = 0, this.mapWidgetsPosition = "top-leading", this.mobileMapWidgetsPosition = "top-right", this.mapWidgetsSize = "m", this.stackTools = !1, this.mapToolsOrder = [], this.mobileToolsOrder = [], this.isMapLayout = !1, this.shareIncludeEmbed = !1, this.shareIncludeSocial = !1, this.selectedFeaturesIds = [], this.showOnlyUpdatableLayers = !1, this.isMobile = !1, this.enableSelectionTool = !1, this.visibilityIcon = "eyeball", this._configLayerOrderDefined = !1, this._translations = v({ name: "map-card", blocking: !0 }), this._toolInfos = [], this._filterActive = !1, this._layerIds = [], this._enabledLayerIds = [], this._defaultWebmapHonored = !1, this._loadedId = "", this._mapDiv = d(), this._mapPicker = d(), this._mapTools = d(), this._mobMapTools = d(), this._mapLayerPicker = d(), this._selectedWebMapId = "", this._isValidWebMap = !0, this.mapChanged = p(), this.beforeMapChanged = p(), this.toggleFilter = p(), this.clearSelection = p(), this.editMultipleFeatures = p(), this.listenOn(window, "mapInfoChange", this.mapInfoChange), this.listenOn(window, "noLayersFound", this.noLayersFound), this.listenOn(window, "layerSelectionChange", this.layerSelectionChange), this.listenOn(window, "idsFound", this._idsFound), this.enableSingleExpand = !0, this.stackTools = !0, w(window);
18
+ super(), this.defaultWebmapId = "", this.defaultLayerId = "", this.enableHome = !1, this.enableLegend = !1, this.enableLayerList = !0, this.enableFloorFilter = !1, this.enableFullscreen = !1, this.enableShare = !1, this.enableMapLayerPicker = !1, this.enableMapPicker = !1, this.enableSingleExpand = !1, this.enableSearch = !1, this.enableBasemap = !1, this.featureSelectionMode = "multiple", this.hide = !1, this.zoomToolsSize = "m", this.mapInfos = [], this.mapWidgetsIndex = 0, this.mapWidgetsPosition = "top-leading", this.mobileMapWidgetsPosition = "top-right", this.mapWidgetsSize = "m", this.stackTools = !1, this.mapToolsOrder = [], this.mobileToolsOrder = [], this.isMapLayout = !1, this.shareIncludeEmbed = !1, this.shareIncludeSocial = !1, this.selectedFeaturesIds = [], this.showOnlyUpdatableLayers = !1, this.isMobile = !1, this.enableSelectionTool = !1, this.visibilityIcon = "eyeball", this.pasteEnabled = !1, this.mapComponentId = "arcgis-map", this.showCopyPasteActions = !1, this._configLayerOrderDefined = !1, this._translations = v({ name: "map-card", blocking: !0 }), this._toolInfos = [], this._filterActive = !1, this._layerIds = [], this._enabledLayerIds = [], this._defaultWebmapHonored = !1, this._loadedId = "", this._mapDiv = d(), this._mapComponent = d(), this._mapPicker = d(), this._mapTools = d(), this._mobMapTools = d(), this._mapLayerPicker = d(), this._selectedWebMapId = "", this._isValidWebMap = !0, this.mapChanged = n(), this.beforeMapChanged = n(), this.toggleFilter = n(), this.clearSelection = n(), this.copyFeatures = n(), this.pasteFeatures = n(), this.editMultipleFeatures = n(), this.featuresCopied = n(), this.listenOn(window, "mapInfoChange", this.mapInfoChange), this.listenOn(window, "noLayersFound", this.noLayersFound), this.listenOn(window, "layerSelectionChange", this.layerSelectionChange), this.listenOn(window, "idsFound", this._idsFound), this.enableSingleExpand = !0, this.stackTools = !0, w(window);
19
19
  }
20
20
  static {
21
- this.properties = { appLayout: 1, appProxies: 1, defaultWebmapId: 1, defaultLayerId: 1, enableHome: 5, enableLegend: 5, enableLayerList: 5, enableFloorFilter: 5, enableFullscreen: 5, enableShare: 5, enableMapLayerPicker: 5, enableMapPicker: 5, enableSingleExpand: 5, enableSearch: 5, enableBasemap: 5, featureSelectionMode: 1, basemapConfig: 0, hide: 5, zoomToolsSize: 1, mapInfos: 0, mapWidgetsIndex: 9, mapWidgetsPosition: 1, mobileMapWidgetsPosition: 1, mapWidgetsSize: 1, mapView: 0, stackTools: 5, theme: 1, mapToolsOrder: 0, mobileToolsOrder: 0, isMapLayout: 5, shareIncludeEmbed: 5, shareIncludeSocial: 5, selectedFeaturesIds: 0, selectedLayer: 0, zoomToScale: 9, showOnlyUpdatableLayers: 5, isMobile: 5, mapInfo: 0, enableSelectionTool: 5, visibilityIcon: 1, _configLayerOrderDefined: 16, _translations: 16, _searchConfiguration: 16, _webMapInfo: 16, _toolInfos: 16, _filterActive: 16, _mapDivHeight: 16, _mapDivWidth: 16, _layerIds: 16 };
21
+ this.properties = { appLayout: 1, appProxies: 1, defaultWebmapId: 1, defaultLayerId: 1, enableHome: 5, enableLegend: 5, enableLayerList: 5, enableFloorFilter: 5, enableFullscreen: 5, enableShare: 5, enableMapLayerPicker: 5, enableMapPicker: 5, enableSingleExpand: 5, enableSearch: 5, enableBasemap: 5, featureSelectionMode: 1, basemapConfig: 0, hide: 5, zoomToolsSize: 1, mapInfos: 0, mapWidgetsIndex: 9, mapWidgetsPosition: 1, mobileMapWidgetsPosition: 1, mapWidgetsSize: 1, mapView: 0, stackTools: 5, theme: 1, mapToolsOrder: 0, mobileToolsOrder: 0, isMapLayout: 5, shareIncludeEmbed: 5, shareIncludeSocial: 5, selectedFeaturesIds: 0, selectedLayer: 0, zoomToScale: 9, showOnlyUpdatableLayers: 5, isMobile: 5, mapInfo: 0, enableSelectionTool: 5, visibilityIcon: 1, pasteEnabled: 5, mapComponentId: 1, showCopyPasteActions: 5, _configLayerOrderDefined: 16, _translations: 16, _searchConfiguration: 16, _webMapInfo: 16, _toolInfos: 16, _filterActive: 16, _mapDivHeight: 16, _mapDivWidth: 16, _layerIds: 16 };
22
22
  }
23
23
  static {
24
- this.styles = k;
24
+ this.styles = T;
25
25
  }
26
26
  static {
27
27
  this.shadowRootOptions = L;
28
28
  }
29
29
  willUpdate(e) {
30
- e.has("appLayout") && this.appLayoutWatchHandler(), e.has("mapView") && this.mapViewWatchHandler(), e.has("mapInfo") && this.mapInfoWatchHandler(), e.has("selectedFeaturesIds") && this.selectedFeaturesIdsWatchHandler();
30
+ if (e.has("appLayout") && this.appLayoutWatchHandler(), e.has("mapView") && this.mapViewWatchHandler(), e.has("mapInfo") && this.mapInfoWatchHandler(), e.has("selectedFeaturesIds") && this.selectedFeaturesIdsWatchHandler(), e.has("pasteEnabled") && this.hasUpdated) {
31
+ const i = this._toolInfos.find((a) => a.icon === "paste-with-attribute");
32
+ i && (i.disabled = !this.pasteEnabled);
33
+ }
31
34
  }
32
35
  appLayoutWatchHandler() {
33
36
  this._updateShareUrl();
@@ -70,8 +73,8 @@ class C extends $ {
70
73
  }));
71
74
  }
72
75
  render() {
73
- const e = this.hide ? "visibility-hidden-1" : "", i = this.theme === "dark" ? "calcite-mode-dark" : "calcite-mode-light", a = "height-full", t = this.isMapLayout ? "" : "display-none", s = this._isValidWebMap ? "" : "hidden", n = this.isMobile ? "" : "hidden", l = this.enableMapPicker && this.mapInfos.length > 1, h = this.enableMapLayerPicker && this._layerIds.length > 1;
74
- return this._handleMapVisibility(), this._validateActiveActions(), o`<calcite-panel class="height-full width-full panel-header-override">${this._getMapLayerPicker()}${this._getHeaderActions()}<div slot=header-actions-end>${this.enableShare && this.isMapLayout ? this._getShare("share") : void 0}</div><calcite-progress class=${f(t)} value=0></calcite-progress><div class=${`${e} ${a}`}><div class="height-full" ${r(this._mapDiv)}></div></div>${o`<map-tools .basemapConfig=${this.basemapConfig} class=${`box-shadow ${i} ${s}`} .defaultLayerId=${this.defaultLayerId} .enableBasemap=${this.enableBasemap} .enableFloorFilter=${this.enableFloorFilter} .enableFullscreen=${this.enableFullscreen} .enableHome=${this.enableHome} .enableLegend=${this.enableLegend} .enableLayerList=${this.enableLayerList} .enableSearch=${this.enableSearch} .enableSingleExpand=${this.enableSingleExpand} .enableSelectionTool=${this.enableSelectionTool} .isMobile=${this.isMobile} .parentComponentHeight=${this._mapDivHeight} .parentComponentWidth=${this._mapDivWidth} .zoomToolsSize=${this.zoomToolsSize} layout=horizontal .mapView=${this.mapView} .mapWidgetsSize=${this.mapWidgetsSize} .position=${this.mapWidgetsPosition} .selectedFeaturesIds=${this.selectedFeaturesIds} .selectedLayer=${this.selectedLayer} .searchConfiguration=${this._searchConfiguration} .stackTools=${this.stackTools} .toolOrder=${this.mapToolsOrder} .visibilityIcon=${this.visibilityIcon} ${r(this._mapTools)}></map-tools><map-tools class=${`box-shadow ${i} ${n}`} .defaultLayerId=${this.defaultLayerId} .enabledLayerIds=${this._enabledLayerIds} .enableMapLayerPicker=${h} .enableMapPicker=${l} .isMobile=${this.isMobile} .zoomToolsSize=${this.zoomToolsSize} layout=vertical .mapInfos=${this.mapInfos} .mapView=${this.mapView} .mapWidgetsSize=${this.mapWidgetsSize} .parentComponentHeight=${this._mapDivHeight} .position=${this.mobileMapWidgetsPosition} .selectedLayer=${this.selectedLayer} .selectedWebMapId=${this._selectedWebMapId} .showOnlyUpdatableLayers=${this.showOnlyUpdatableLayers} .stackTools=${this.stackTools} .toolOrder=${this.mobileToolsOrder} ${r(this._mobMapTools)}></map-tools>`}</calcite-panel>`;
76
+ const e = this.hide ? "visibility-hidden-1" : "", i = this.theme === "dark" ? "calcite-mode-dark" : "calcite-mode-light", a = "height-full", t = this.isMapLayout ? "" : "display-none", s = this._isValidWebMap ? "" : "hidden", r = this.isMobile ? "" : "hidden", l = this.enableMapPicker && this.mapInfos.length > 1, p = this.enableMapLayerPicker && this._layerIds.length > 1;
77
+ return this._handleMapVisibility(), this._validateActiveActions(), o`<calcite-panel class="height-full width-full panel-header-override">${this._getMapLayerPicker()}${this._getHeaderActions()}<div slot=header-actions-end>${this.enableShare && this.isMapLayout ? this._getShare("share") : void 0}</div><calcite-progress class=${f(t)} value=0></calcite-progress><div class=${`${e} ${a}`}><div class="height-full" ${h(this._mapDiv)}><arcgis-map id=${this.mapComponentId ?? c} class="height-full" ${h(this._mapComponent)}></arcgis-map></div></div>${o`<map-tools style=${`visibility: ${s}`} .basemapConfig=${this.basemapConfig} class=${`box-shadow ${i} ${s}`} .configLayerOrderDefined=${this._configLayerOrderDefined} .defaultLayerId=${this.defaultLayerId} .enableBasemap=${this.enableBasemap} .enableFloorFilter=${this.enableFloorFilter} .enableFullscreen=${this.enableFullscreen} .enableHome=${this.enableHome} .enableLegend=${this.enableLegend} .enableLayerList=${this.enableLayerList} .enableSearch=${this.enableSearch} .enableSingleExpand=${this.enableSingleExpand} .enableSelectionTool=${this.enableSelectionTool} .isMobile=${this.isMobile} .parentComponentHeight=${this._mapDivHeight} .parentComponentWidth=${this._mapDivWidth} .zoomToolsSize=${this.zoomToolsSize} layout=horizontal .mapView=${this.mapView} .mapWidgetsSize=${this.mapWidgetsSize} .position=${this.mapWidgetsPosition} .selectedFeaturesIds=${this.selectedFeaturesIds} .selectedLayer=${this.selectedLayer} .searchConfiguration=${this._searchConfiguration} .stackTools=${this.stackTools} .toolOrder=${this.mapToolsOrder} .visibilityIcon=${this.visibilityIcon} ${h(this._mapTools)}></map-tools><map-tools style=${`visibility: ${r}`} class=${`box-shadow ${i} ${r}`} .configLayerOrderDefined=${this._configLayerOrderDefined} .defaultLayerId=${this.defaultLayerId} .enabledLayerIds=${this._enabledLayerIds} .enableMapLayerPicker=${p} .enableMapPicker=${l} .isMobile=${this.isMobile} .zoomToolsSize=${this.zoomToolsSize} layout=vertical .mapInfos=${this.mapInfos} .mapView=${this.mapView} .mapWidgetsSize=${this.mapWidgetsSize} .parentComponentHeight=${this._mapDivHeight} .position=${this.mobileMapWidgetsPosition} .selectedLayer=${this.selectedLayer} .selectedWebMapId=${this._selectedWebMapId} .showOnlyUpdatableLayers=${this.showOnlyUpdatableLayers} .stackTools=${this.stackTools} .toolOrder=${this.mobileToolsOrder} ${h(this._mobMapTools)}></map-tools>`}</calcite-panel>`;
75
78
  }
76
79
  updated() {
77
80
  this._mapDivHeight = this._mapDiv.value?.offsetHeight ?? 0, document.onclick = (e) => this._handleDocumentClick(e);
@@ -82,25 +85,23 @@ class C extends $ {
82
85
  async _loadMap(e) {
83
86
  const i = !this._defaultWebmapHonored && this.defaultWebmapId, a = this.mapInfos?.filter((l) => l.id === this.defaultWebmapId), t = JSON.stringify(e) !== JSON.stringify(this._webMapInfo);
84
87
  this._webMapInfo = i && a ? a[0] : !e?.id && this.mapInfos.length > 0 ? this.mapInfos[0] : e;
85
- const s = this._webMapInfo.id, n = i && e?.id === this.defaultWebmapId;
86
- if (this._loadedId !== s && !i || n) {
87
- const l = new W({
88
+ const s = this._webMapInfo.id, r = i && e?.id === this.defaultWebmapId;
89
+ if (this._loadedId !== s && !i || r) {
90
+ const l = new C({
88
91
  portalItem: { id: s }
89
92
  });
90
93
  try {
91
- l && await l.load(), this.appProxies && l && await y(l, S, this.appProxies), this.mapView = new T({
92
- container: this._mapDiv.value,
93
- map: l,
94
- resizeAlign: "center"
95
- }), this._loadedId = s, this._searchConfiguration = this._webMapInfo.searchConfiguration, this.beforeMapChanged.emit(), this.mapView && await this.mapView.when(() => {
96
- this.mapView && (this._mapDivWidth = this._mapDiv.value && this._mapDiv.value.offsetWidth, this._mapTools.value && this.mapView.ui.add(this._mapTools.value, { position: this.mapWidgetsPosition, index: this.mapWidgetsIndex }), this._mobMapTools.value && this.mapView.ui.add(this._mobMapTools.value, { position: this.mobileMapWidgetsPosition, index: this.mapWidgetsIndex }), this._defaultWebmapHonored = n ? !0 : this._defaultWebmapHonored, this._isValidWebMap = !0, this.mapChanged.emit({
94
+ if (l && await l.load(), this.appProxies && l && await y(l, S, this.appProxies), this._mapComponent.value || await this.updateComplete, !this._mapComponent.value)
95
+ throw new Error("Map component is not available.");
96
+ this._mapComponent.value.map = l, this._mapComponent.value.resizeAlign = "center", await this._mapComponent.value.viewOnReady(), this.mapView = this._mapComponent.value.view, this._loadedId = s, this._searchConfiguration = this._webMapInfo.searchConfiguration, this.beforeMapChanged.emit(), this.mapView && await this.mapView.when(() => {
97
+ this.mapView && (this._mapDivWidth = this._mapDiv.value && this._mapDiv.value.offsetWidth, this._mapTools.value && this.mapView.ui.add(this._mapTools.value, { position: this.mapWidgetsPosition, index: this.mapWidgetsIndex }), this._mobMapTools.value && this.mapView.ui.add(this._mobMapTools.value, { position: this.mobileMapWidgetsPosition, index: this.mapWidgetsIndex }), this._defaultWebmapHonored = r ? !0 : this._defaultWebmapHonored, this._isValidWebMap = !0, this.mapChanged.emit({
97
98
  id: s,
98
99
  mapView: this.mapView,
99
100
  isValid: !0
100
101
  }), this.isMobile || document.getElementsByClassName("esri-zoom")[0]?.classList.remove("display-none"));
101
102
  });
102
- } catch (h) {
103
- console.error(h), this._loadedId = s, this._isValidWebMap = !1, this.mapChanged.emit({
103
+ } catch (p) {
104
+ console.error(p), this._loadedId = s, this._isValidWebMap = !1, this.mapChanged.emit({
104
105
  id: s,
105
106
  mapView: void 0,
106
107
  isValid: !1
@@ -116,13 +117,13 @@ class C extends $ {
116
117
  }
117
118
  _getMapLayerPicker() {
118
119
  const e = this.isMapLayout ? "header-actions-start" : "", i = this.mapInfos?.length > 1 ? "" : "display-none", a = this.isMapLayout ? "height-0" : "width-full", t = "display-flex", s = this.isMapLayout ? "" : "display-none";
119
- return o`${!this.isMobile && o`<div slot=${e ?? m}><map-picker class=${`${i} ${a}`} id=map-picker .isMapLayout=${this.isMapLayout} .mapInfos=${this.mapInfos} .selectedWebMapId=${this._selectedWebMapId} ${r(this._mapPicker)}></map-picker></div>` || ""}<div slot=header-actions-start class=${`mapView-header display-flex ${s}`} id=solutions-map-layer-picker-container><div class=${`border-end ${t}`}>${this.mapView && o`<map-layer-picker appearance=transparent .configLayerOrderDefined=${this._configLayerOrderDefined} .defaultLayerId=${this.defaultLayerId} display=inline-flex .enabledLayerIds=${this._enabledLayerIds} height=50 .isMobile=${this.isMobile} .mapView=${this.mapView} .showOnlyUpdatableLayers=${this.showOnlyUpdatableLayers} placeholder-icon=layers scale=l .selectedIds=${this.selectedLayer ? [this.selectedLayer.id] : []} show-single-layer-as-label show-tables show-tables-disabled type=dropdown ${r(this._mapLayerPicker)}></map-layer-picker>` || ""}</div></div>`;
120
+ return o`${!this.isMobile && o`<div slot=${e ?? c}><map-picker class=${`${i} ${a}`} id=map-picker .isMapLayout=${this.isMapLayout} .mapInfos=${this.mapInfos} .selectedWebMapId=${this._selectedWebMapId} ${h(this._mapPicker)}></map-picker></div>` || ""}<div slot=header-actions-start class=${`mapView-header display-flex ${s}`} id=solutions-map-layer-picker-container><div class=${`border-end ${t}`}>${this.mapView && o`<map-layer-picker appearance=transparent .configLayerOrderDefined=${this._configLayerOrderDefined} .defaultLayerId=${this.defaultLayerId} display=inline-flex .enabledLayerIds=${this._enabledLayerIds} height=50 .isMobile=${this.isMobile} .mapView=${this.mapView} .showOnlyUpdatableLayers=${this.showOnlyUpdatableLayers} placeholder-icon=layers scale=l .selectedIds=${this.selectedLayer ? [this.selectedLayer.id] : []} show-single-layer-as-label show-tables show-tables-disabled type=dropdown ${h(this._mapLayerPicker)}></map-layer-picker>` || ""}</div></div>`;
120
121
  }
121
122
  _getHeaderActions() {
122
- return o`<div slot=header-content><calcite-action-bar class=${f("display-flex")} expand-disabled expanded id=${this._getId("bar") ?? m} layout=horizontal><calcite-action-group>${this.isMapLayout ? this._getActions() : void 0}</calcite-action-group></calcite-action-bar></div>`;
123
+ return o`<div slot=header-content><calcite-action-bar class=${f("display-flex")} expand-disabled expanded id=${this._getId("bar") ?? c} layout=horizontal><calcite-action-group>${this.isMapLayout ? this._getTools() : void 0}</calcite-action-group></calcite-action-bar></div>`;
123
124
  }
124
125
  _getShare(e) {
125
- return o`<div class="share-action" id=${this._getId(e) ?? m}>${this.mapView && o`<instant-apps-social-share class="instant-app-share" .embed=${this.shareIncludeEmbed} flip-rtl popover-button-icon-scale=s scale=m share-button-color=neutral share-button-type=action .socialMedia=${this.shareIncludeSocial} .view=${this.mapView} ${r((i) => {
126
+ return o`<div class="share-action" id=${this._getId(e) ?? c}>${this.mapView && o`<instant-apps-social-share class="instant-app-share" .embed=${this.shareIncludeEmbed} flip-rtl popover-button-icon-scale=s scale=m share-button-color=neutral share-button-type=action .socialMedia=${this.shareIncludeSocial} .view=${this.mapView} ${h((i) => {
126
127
  i && (this._shareNode = i, this._updateShareUrl());
127
128
  })}></instant-apps-social-share>` || ""}${this._getToolTip("bottom", `map-${e}`, this._translations?.share)}</div>`;
128
129
  }
@@ -134,7 +135,7 @@ class C extends $ {
134
135
  this._loadedId ? i.searchParams.set("webmap", this._loadedId) : i.searchParams.delete("webmap"), this.selectedLayer?.id ? i.searchParams.set("layer", this.selectedLayer.id) : i.searchParams.delete("layer"), this.selectedFeaturesIds?.length > 0 ? i.searchParams.set("oid", this.selectedFeaturesIds.join(",")) : i.searchParams.delete("oid"), this.appLayout && i.searchParams.set("applayout", this.appLayout), this._shareNode && (this._shareNode.autoUpdateShareUrl = !1, this._shareNode.shareUrl = i.href);
135
136
  }
136
137
  _initToolInfos() {
137
- const e = this.selectedFeaturesIds.length > 0, i = this.selectedFeaturesIds.length < 2 || this.selectedFeaturesIds.length > c, a = this.featureSelectionMode === "multiple" && this.selectedLayer?.capabilities?.operations.supportsUpdate, t = [];
138
+ const e = this.selectedFeaturesIds.length > 0, i = this.selectedFeaturesIds.length < 2 || this.selectedFeaturesIds.length > m, a = this.featureSelectionMode === "multiple" && this.selectedLayer?.capabilities?.operations.supportsUpdate, t = [];
138
139
  t.push({
139
140
  active: !1,
140
141
  icon: "filter",
@@ -163,7 +164,23 @@ class C extends $ {
163
164
  func: () => this.editMultipleFeatures.emit(this.selectedFeaturesIds),
164
165
  disabled: i,
165
166
  toolTip: this._translations.editMultiple
167
+ }), this.showCopyPasteActions && (t.push({
168
+ active: !1,
169
+ icon: "copy",
170
+ indicator: !1,
171
+ label: this._translations.copy,
172
+ func: () => this.copyFeatures.emit({ featuresIds: this.selectedFeaturesIds, layerId: this.selectedLayer?.id }),
173
+ disabled: !e,
174
+ toolTip: this._translations.copy
166
175
  }), t.push({
176
+ active: !1,
177
+ icon: "paste-with-attribute",
178
+ indicator: !1,
179
+ label: this._translations.paste,
180
+ func: () => this.pasteFeatures.emit(),
181
+ disabled: !0,
182
+ toolTip: this._translations.paste
183
+ })), t.push({
167
184
  active: !1,
168
185
  icon: "refresh",
169
186
  indicator: !1,
@@ -194,9 +211,9 @@ class C extends $ {
194
211
  }
195
212
  }
196
213
  _validateEnabledActions() {
197
- const e = this.selectedFeaturesIds.length > 0, i = this.selectedFeaturesIds.length < 2 || this.selectedFeaturesIds.length > c, a = ["zoom-to-object", "pencil", "erase"];
214
+ const e = this.selectedFeaturesIds.length > 0, i = this.selectedFeaturesIds.length < 2 || this.selectedFeaturesIds.length > m, a = ["zoom-to-object", "pencil", "erase", "copy"];
198
215
  this._toolInfos?.forEach((t) => {
199
- t && a.indexOf(t.icon) > -1 && (t.disabled = t.icon === "pencil" ? i : !e, t.toolTip = t.icon === "pencil" ? this.selectedFeaturesIds.length > c ? this._translations.featureEditLimitNotice : this._translations.editMultiple : t.toolTip);
216
+ t && a.indexOf(t.icon) > -1 && (t.disabled = t.icon === "pencil" ? i : !e, t.toolTip = t.icon === "pencil" ? this.selectedFeaturesIds.length > m ? this._translations.featureEditLimitNotice : this._translations.editMultiple : t.toolTip);
200
217
  });
201
218
  }
202
219
  _handleDocumentClick(e) {
@@ -211,21 +228,21 @@ class C extends $ {
211
228
  async _toggleFilter() {
212
229
  this.toggleFilter.emit();
213
230
  }
214
- _getActions() {
231
+ _getTools() {
215
232
  return this._toolInfos?.reduce((e, i) => (i && e.push(this._getAction(i.active, i.icon, i.indicator, i.label, i.func, i.disabled, i.loading, i.toolTip)), e), []);
216
233
  }
217
234
  _getToolTip(e, i, a) {
218
235
  return o`<calcite-tooltip .placement=${e} .referenceElement=${i}><span>${a}</span></calcite-tooltip>`;
219
236
  }
220
- _getAction(e, i, a, t, s, n, l, h) {
221
- const u = this.selectedLayer === void 0 ? !0 : n;
222
- return o`<calcite-action .active=${e} appearance=solid .disabled=${u} .icon=${i} .id=${`map-${i}`} .indicator=${a} .label=${t} .loading=${l} @click=${s} .text=${t} text-enabled></calcite-action>${this._getToolTip("auto", `map-${i}`, h)}`;
237
+ _getAction(e, i, a, t, s, r, l, p) {
238
+ const u = this.selectedLayer === void 0 ? !0 : r;
239
+ return o`<calcite-action .active=${e} .disabled=${u} .icon=${i} .id=${`map-${i}`} .indicator=${a} .label=${t} .loading=${l} @click=${s} .text=${t} text-enabled></calcite-action>${this._getToolTip("auto", `map-${i}`, p)}`;
223
240
  }
224
241
  _getId(e) {
225
242
  return `solutions-action-${e}`;
226
243
  }
227
244
  }
228
- b("map-card", C);
245
+ b("map-card", W);
229
246
  export {
230
- C as MapCard
247
+ W as MapCard
231
248
  };
@@ -1,5 +1,6 @@
1
1
  import "@esri/calcite-components/components/calcite-panel";
2
2
  import "@esri/calcite-components/components/calcite-progress";
3
+ import "@arcgis/map-components/components/arcgis-map";
3
4
  import "../map-tools/index.js";
4
5
  import "../map-picker/index.js";
5
6
  import "../map-layer-picker/index.js";
@@ -1,7 +1,8 @@
1
1
  /// <reference path="../../index.d.ts" />
2
- import type FloorFilter from "@arcgis/core/widgets/FloorFilter.js";
3
2
  import type MapView from "@arcgis/core/views/MapView.js";
4
3
  import type { PublicLitElement as LitElement } from "@arcgis/lumina";
4
+ import type { Ref } from "lit-html/directives/ref.js";
5
+ import type { ArcgisFloorFilter as ArcgisFloorFilter2 } from "@arcgis/map-components/components/arcgis-floor-filter";
5
6
 
6
7
  export abstract class MapFloorFilter extends LitElement {
7
8
  /**
@@ -10,12 +11,8 @@ export abstract class MapFloorFilter extends LitElement {
10
11
  * @default false
11
12
  */
12
13
  accessor enabled: boolean;
13
- /**
14
- * esri/widgets/FloorFilter: https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-FloorFilter.html
15
- *
16
- * FloorFilter instance
17
- */
18
- accessor floorFilterWidget: FloorFilter | undefined;
14
+ /** Reference to the floor filter web component */
15
+ accessor floorFilterRef: Ref<ArcgisFloorFilter2>;
19
16
  /** esri/views/View: https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html */
20
17
  accessor mapView: MapView | undefined;
21
18
  /** Emitted on demand when the Facility is changed */
@@ -1,59 +1,36 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- import { c as o } from "../../chunks/runtime.js";
3
- import { css as s, html as a } from "lit";
4
- import { createRef as h, ref as n } from "lit-html/directives/ref.js";
5
- import { LitElement as d, createEvent as l } from "@arcgis/lumina";
6
- import f from "@arcgis/core/widgets/FloorFilter.js";
7
- import * as r from "@arcgis/core/core/reactiveUtils.js";
8
- const m = s`:host{display:block}`;
9
- class c extends d {
2
+ import { c as l } from "../../chunks/runtime.js";
3
+ import { css as r, html as s } from "lit";
4
+ import { createRef as o, ref as a } from "lit-html/directives/ref.js";
5
+ import { LitElement as f, createEvent as t } from "@arcgis/lumina";
6
+ import * as i from "@arcgis/core/core/reactiveUtils.js";
7
+ const h = r`:host{display:block}`;
8
+ class c extends f {
10
9
  constructor() {
11
- super(...arguments), this.enabled = !1, this._floorFilterElement = h(), this.facilityChanged = l(), this.levelChanged = l(), this.siteChanged = l();
10
+ super(...arguments), this.enabled = !1, this.floorFilterRef = o(), this.facilityChanged = t(), this.levelChanged = t(), this.siteChanged = t(), this._floorFilterReady = () => {
11
+ this.floorFilterRef.value && (this._facilityHandle?.remove(), this._facilityHandle = i.watch(() => this.floorFilterRef.value?.facility, (e) => {
12
+ e && this.facilityChanged.emit(e);
13
+ }), this._levelHandle?.remove(), this._levelHandle = i.watch(() => this.floorFilterRef.value?.level, (e) => {
14
+ e && this.levelChanged.emit(e);
15
+ }), this._siteHandle?.remove(), this._siteHandle = i.watch(() => this.floorFilterRef.value?.site, (e) => {
16
+ e && this.siteChanged.emit(e);
17
+ }));
18
+ };
12
19
  }
13
20
  static {
14
- this.properties = { enabled: 5, floorFilterWidget: 0, mapView: 0 };
21
+ this.properties = { enabled: 5, floorFilterRef: 0, mapView: 0 };
15
22
  }
16
23
  static {
17
- this.styles = m;
18
- }
19
- willUpdate(t) {
20
- t.has("mapView") && this.mapViewWatchHandler(), t.has("enabled") && this.enabledWatchHandler();
21
- }
22
- async mapViewWatchHandler() {
23
- this.mapView && await this._initFloorFilter(this.mapView);
24
- }
25
- async enabledWatchHandler() {
26
- this.enabled ? this.mapView && await this._initFloorFilter(this.mapView) : this.enabled || this._destroyWidget();
24
+ this.styles = h;
27
25
  }
28
26
  render() {
29
- return a`<div ${n(this._floorFilterElement)}></div>`;
27
+ return this.enabled && this.mapView && s`<arcgis-floor-filter auto-destroy-disabled .view=${this.mapView} @arcgisReady=${this._floorFilterReady} ${a(this.floorFilterRef)}></arcgis-floor-filter>` || "";
30
28
  }
31
- async loaded() {
32
- this.mapView && !this.floorFilterWidget && await this._initFloorFilter(this.mapView);
33
- }
34
- _destroyWidget() {
35
- this.floorFilterWidget && (this.floorFilterWidget.destroy(), this.floorFilterWidget = void 0), this._floorFilterElement.value && this._floorFilterElement.value.remove();
36
- }
37
- _initContainer() {
38
- this._destroyWidget(), this._floorFilterElement && (this._floorFilterElement.value = document.createElement("div"));
39
- }
40
- async _initFloorFilter(t) {
41
- const i = t?.map;
42
- i && await i.when(() => {
43
- t && this.enabled && i?.floorInfo && (this._initContainer(), this.floorFilterWidget = new f({
44
- container: this._floorFilterElement.value,
45
- view: t
46
- }), this._facilityHandle?.remove(), this._facilityHandle = r?.watch(() => this.floorFilterWidget?.facility, (e) => {
47
- e && this.facilityChanged.emit(e);
48
- }), this._levelHandle?.remove(), this._levelHandle = r.watch(() => this.floorFilterWidget?.level, (e) => {
49
- e && this.levelChanged.emit(e);
50
- }), this._siteHandle?.remove(), this._siteHandle = r.watch(() => this.floorFilterWidget?.site, (e) => {
51
- e && this.siteChanged.emit(e);
52
- }));
53
- });
29
+ disconnectedCallback() {
30
+ super.disconnectedCallback(), this.floorFilterRef.value && this.floorFilterRef.value.destroy();
54
31
  }
55
32
  }
56
- o("map-floor-filter", c);
33
+ l("map-floor-filter", c);
57
34
  export {
58
35
  c as MapFloorFilter
59
36
  };
@@ -1 +1,2 @@
1
+ import "@arcgis/map-components/components/arcgis-floor-filter";
1
2
  export * from "./customElement.js";
@@ -1,11 +1,12 @@
1
1
  /// <reference path="../../index.d.ts" />
2
- import type Fullscreen from "@arcgis/core/widgets/Fullscreen.js";
3
2
  import type MapView from "@arcgis/core/views/MapView.js";
4
3
  import type { PublicLitElement as LitElement } from "@arcgis/lumina";
4
+ import type { Ref } from "lit-html/directives/ref.js";
5
+ import type { ArcgisFullscreen as ArcgisFullscreen2 } from "@arcgis/map-components/components/arcgis-fullscreen";
5
6
 
6
7
  export abstract class MapFullscreen extends LitElement {
7
- /** esri/widgets/Fullscreen: https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Fullscreen.html */
8
- accessor fullscreenWidget: Fullscreen | undefined;
8
+ /** arcgis-fullscreen web component ref */
9
+ accessor fullscreenRef: Ref<ArcgisFullscreen2>;
9
10
  /** esri/views/MapView: https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html */
10
11
  accessor mapView: MapView | undefined;
11
12
  /** Emitted on demand when the fullscreen widget state has changed */
@@ -1,47 +1,27 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- import { c as t } from "../../chunks/runtime.js";
3
- import { css as i, html as s } from "lit";
4
- import { createRef as l, ref as a } from "lit-html/directives/ref.js";
5
- import { LitElement as n, createEvent as r } from "@arcgis/lumina";
6
- import c from "@arcgis/core/widgets/Fullscreen.js";
7
- import * as h from "@arcgis/core/core/reactiveUtils.js";
8
- const d = i`:host{display:block}`;
9
- class m extends n {
2
+ import { c as s } from "../../chunks/runtime.js";
3
+ import { css as t, html as r } from "lit";
4
+ import { createRef as l, ref as i } from "lit-html/directives/ref.js";
5
+ import { LitElement as c, createEvent as a } from "@arcgis/lumina";
6
+ import * as n from "@arcgis/core/core/reactiveUtils.js";
7
+ const f = t`:host{display:block}`;
8
+ class m extends c {
10
9
  constructor() {
11
- super(...arguments), this._fullscreenElement = l(), this.fullscreenStateChange = r();
10
+ super(...arguments), this.fullscreenRef = l(), this.fullscreenStateChange = a(), this._fullscreenReady = () => {
11
+ n.watch(() => this.fullscreenRef.value?.state, (e) => e && this.fullscreenStateChange.emit(e));
12
+ };
12
13
  }
13
14
  static {
14
- this.properties = { mapView: 0, fullscreenWidget: 0 };
15
+ this.properties = { mapView: 0, fullscreenRef: 0 };
15
16
  }
16
17
  static {
17
- this.styles = d;
18
- }
19
- willUpdate(e) {
20
- e.has("mapView") && this.mapViewWatchHandler();
21
- }
22
- async mapViewWatchHandler() {
23
- await this.mapView?.when(async () => {
24
- await this._initFullscreenWidget();
25
- });
18
+ this.styles = f;
26
19
  }
27
20
  render() {
28
- return s`<div class="fullscreen-widget" ${a(this._fullscreenElement)}></div>`;
29
- }
30
- async updated() {
31
- this.hasUpdated || await this._initFullscreenWidget();
32
- }
33
- async loaded() {
34
- await this._initFullscreenWidget();
35
- }
36
- async _initFullscreenWidget() {
37
- this.mapView && this._fullscreenElement.value && !this.fullscreenWidget ? (this.fullscreenWidget = new c({
38
- view: this.mapView
39
- }), await this.fullscreenWidget?.when(() => {
40
- this._fullscreenStateChangeHandle && this._fullscreenStateChangeHandle.remove(), this._fullscreenStateChangeHandle = h?.watch(() => this.fullscreenWidget?.viewModel.state, (e) => e && this.fullscreenStateChange.emit(e));
41
- })) : this.fullscreenWidget && (this.fullscreenWidget.view = this.mapView);
21
+ return this.mapView && r`<arcgis-fullscreen visual-scale=m .view=${this.mapView} @arcgisReady=${this._fullscreenReady} ${i(this.fullscreenRef)}></arcgis-fullscreen>` || "";
42
22
  }
43
23
  }
44
- t("map-fullscreen", m);
24
+ s("map-fullscreen", m);
45
25
  export {
46
26
  m as MapFullscreen
47
27
  };
@@ -1 +1,2 @@
1
+ import "@arcgis/map-components/components/arcgis-fullscreen";
1
2
  export * from "./customElement.js";
@@ -3,17 +3,17 @@ import { c as m } from "../../chunks/runtime.js";
3
3
  import { g as y, d as b, f } from "../../chunks/mapViewUtils.js";
4
4
  import { u as _ } from "../../chunks/useT9n.js";
5
5
  import { css as u, html as i, nothing as l } from "lit";
6
- import { createRef as d, ref as o } from "lit-html/directives/ref.js";
6
+ import { createRef as o, ref as d } from "lit-html/directives/ref.js";
7
7
  import { LitElement as g, createEvent as n, noShadowRoot as L, safeStyleMap as c, safeClassMap as p } from "@arcgis/lumina";
8
8
  import { useContextConsumer as w } from "@arcgis/lumina/context";
9
9
  import { p as v } from "../../chunks/publicNotificationContext.js";
10
10
  const I = u`@layer{:host{display:block}.map-layer-picker-container{width:100%;align-items:center}.map-layer-picker{position:relative;width:100%;display:inline-block}.padding-bottom-1{padding-bottom:1rem}.layer-picker-dropdown{height:100%;width:100%}.max-width-350{max-width:350px}.height-100{height:100%}.disabled{cursor:default!important;user-select:none;opacity:var(--calcite-opacity-disabled);pointer-events:none}.no-bottom-margin{--calcite-label-margin-bottom: 0px}.layer-picker-label-container{align-items:center;display:inline-flex;height:100%;padding-inline-start:1rem;padding-inline-end:1rem}.padding-start-1{padding-inline-start:1rem}.cursor-default{cursor:default}.popover-list{overflow:auto;width:250px}}`;
11
11
  class $ extends g {
12
12
  constructor() {
13
- super(), this.appearance = "transparent", this.configLayerOrderDefined = !1, this.defaultLayerId = "", this.disabled = !1, this.display = "inline-block", this.enabledLayerIds = [], this.isMobile = !1, this.showOnlyUpdatableLayers = !1, this.selectedIds = [], this.scale = "m", this.showTables = !1, this.showTablesDisabled = !1, this.showSingleLayerAsLabel = !1, this.type = "select", this.showLayersListInPopover = !1, this.referenceElement = "", this.force = !1, this._hasMultipleLayers = !0, this._hasValidLayers = !0, this._isDropdownOpen = !1, this.ids = [], this.selectedName = "", this._translations = _({ name: "map-layer-picker", blocking: !0 }), this.defaultLayerHonored = !1, this._layerSelectElement = d(), this._layerComboboxElement = d(), this._pnContextConsumer = w({
13
+ super(), this.appearance = "transparent", this.configLayerOrderDefined = !1, this.defaultLayerId = "", this.disabled = !1, this.display = "inline-block", this.enabledLayerIds = [], this.isMobile = !1, this.showOnlyUpdatableLayers = !1, this.selectedIds = [], this.scale = "m", this.showTables = !1, this.showTablesDisabled = !1, this.showSingleLayerAsLabel = !1, this.type = "select", this.showLayersListInPopover = !1, this.referenceElement = "", this.force = !1, this._hasMultipleLayers = !0, this._hasValidLayers = !0, this._isDropdownOpen = !1, this.ids = [], this.selectedName = "", this._translations = _({ name: "map-layer-picker", blocking: !0 }), this.defaultLayerHonored = !1, this._layerSelectElement = o(), this._layerComboboxElement = o(), this._pnContextConsumer = w({
14
14
  context: v,
15
15
  subscribe: !0
16
- }), this._skipEditCheck = !1, this._popover = d(), this.beforeLayerSelectionChange = n(), this.idsFound = n(), this.noLayersFound = n(), this.layerSelectionChange = n(), this.listenOn(window, "mapChanged", this.mapChanged);
16
+ }), this._skipEditCheck = !1, this._popover = o(), this.beforeLayerSelectionChange = n(), this.idsFound = n(), this.noLayersFound = n(), this.layerSelectionChange = n(), this.listenOn(window, "mapChanged", this.mapChanged), this.listenOn(window, "requestLayerSelectionChange", this.requestLayerSelectionChange);
17
17
  }
18
18
  static {
19
19
  this.properties = { appearance: 1, configLayerOrderDefined: 5, defaultLayerId: 1, disabled: 5, display: 1, enabledLayerIds: 0, height: 9, isMobile: 5, mapView: 0, showOnlyUpdatableLayers: 5, placeholderIcon: 1, selectedIds: 0, scale: 1, showTables: 5, showTablesDisabled: 5, showSingleLayerAsLabel: 5, type: 1, showLayersListInPopover: 5, referenceElement: 1, force: 16, _hasMultipleLayers: 16, _hasValidLayers: 16, _isDropdownOpen: 16, ids: 16, selectedName: 16, _translations: 16 };
@@ -55,6 +55,10 @@ class $ extends g {
55
55
  async mapChanged(e) {
56
56
  e.detail.isValid || (this._hasValidLayers = !1, this.noLayersFound.emit());
57
57
  }
58
+ async requestLayerSelectionChange(e) {
59
+ const t = e.detail;
60
+ await this._setSelectedLayer(t);
61
+ }
58
62
  async load() {
59
63
  await this._setLayers(), this.ids?.length > 0 ? (this._hasValidLayers = !0, this._hasMultipleLayers = this.ids.length > 1, this.defaultLayerId || await this._setSelectedLayer(this.ids[0])) : this.mapView && (this._hasValidLayers = !1, this.noLayersFound.emit());
60
64
  }
@@ -74,7 +78,7 @@ class $ extends g {
74
78
  }
75
79
  _getMapLayerPopOver() {
76
80
  const e = this.height && this.height > 0 ? { "max-height": `${this.height.toString()}px` } : {};
77
- return i`<calcite-popover auto-close focus-trap-disabled .label=${this.referenceElement} placement=left .referenceElement=${this.referenceElement} scale=s ${o(this._popover)}><div class=popover-list style=${c(e)}>${this._getMapLayerOptions()}</div></calcite-popover>`;
81
+ return i`<calcite-popover auto-close focus-trap-disabled .label=${this.referenceElement} placement=left .referenceElement=${this.referenceElement} scale=s ${d(this._popover)}><div class=popover-list style=${c(e)}>${this._getMapLayerOptions()}</div></calcite-popover>`;
78
82
  }
79
83
  _getInvalidPlaceholder() {
80
84
  return i`<div><calcite-notice class="height-100" icon=exclamation-mark-triangle id=no-valid-layers kind=danger open><div slot=message>${this._translations.noLayersFound}</div></calcite-notice><calcite-tooltip .label=${this._translations.enableEditUpdate} placement=bottom reference-element=no-valid-layers><span>${this._translations.enableEditUpdate}</span></calcite-tooltip></div>`;
@@ -84,10 +88,10 @@ class $ extends g {
84
88
  return i`<div class="layer-picker-label-container cursor-default"><calcite-icon aria-hidden=true .icon=${e} scale=s></calcite-icon><calcite-label class="no-bottom-margin padding-start-1">${this.selectedName}</calcite-label></div>`;
85
89
  }
86
90
  _getSelect(e) {
87
- return i`<calcite-select .disabled=${this.disabled} id=${e ?? l} label @calciteSelectChange=${() => this._layerSelectionChange()} .scale=${this.scale} ${o(this._layerElement)}>${this._getMapLayerOptions()}</calcite-select>`;
91
+ return i`<calcite-select .disabled=${this.disabled} id=${e ?? l} label @calciteSelectChange=${() => this._layerSelectionChange()} .scale=${this.scale} ${d(this._layerElement)}>${this._getMapLayerOptions()}</calcite-select>`;
88
92
  }
89
93
  _getCombobox(e) {
90
- return i`<calcite-combobox clear-disabled id=${e ?? l} label @calciteComboboxChange=${() => this._layerSelectionChange()} .placeholderIcon=${this.placeholderIcon} .scale=${this.scale} selection-mode=single ${o(this._layerElement)}>${this._getMapLayerOptions()}</calcite-combobox>`;
94
+ return i`<calcite-combobox clear-disabled id=${e ?? l} label @calciteComboboxChange=${() => this._layerSelectionChange()} .placeholderIcon=${this.placeholderIcon} .scale=${this.scale} selection-mode=single ${d(this._layerElement)}>${this._getMapLayerOptions()}</calcite-combobox>`;
91
95
  }
92
96
  _getDropdown(e) {
93
97
  return i`<calcite-dropdown class="layer-picker-dropdown" @calciteDropdownBeforeClose=${() => this._isDropdownOpen = !1} @calciteDropdownBeforeOpen=${() => this._isDropdownOpen = !0}>${this.isMobile ? this._getDropdownButton() : this._getActionDropdownButton(e)}<calcite-dropdown-group selection-mode=single>${this._getMapLayerOptions()}</calcite-dropdown-group></calcite-dropdown>`;
@@ -1,15 +1,12 @@
1
1
  /// <reference path="../../index.d.ts" />
2
- import type Legend from "@arcgis/core/widgets/Legend.js";
3
2
  import type MapView from "@arcgis/core/views/MapView.js";
4
3
  import type { PublicLitElement as LitElement } from "@arcgis/lumina";
4
+ import type { Ref } from "lit-html/directives/ref.js";
5
+ import type { ArcgisLegend as ArcgisLegend2 } from "@arcgis/map-components/components/arcgis-legend";
5
6
 
6
7
  export abstract class MapLegend extends LitElement {
7
- /**
8
- * esri/widgets/Legend: https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Legend.html
9
- *
10
- * Legend instance
11
- */
12
- accessor legendWidget: Legend | undefined;
8
+ /** arcgis-legend web component ref */
9
+ accessor legendRef: Ref<ArcgisLegend2>;
13
10
  /** esri/views/View: https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html */
14
11
  accessor mapView: MapView | undefined;
15
12
  }