@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
@@ -1,43 +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 n, ref as a } from "lit-html/directives/ref.js";
5
- import { LitElement as r } from "@arcgis/lumina";
6
- import d from "@arcgis/core/widgets/Legend.js";
7
- const m = i`:host{display:block}`;
8
- class l extends r {
2
+ import { c as e } from "../../chunks/runtime.js";
3
+ import { css as t, html as s } from "lit";
4
+ import { createRef as i, ref as r } from "lit-html/directives/ref.js";
5
+ import { LitElement as l } from "@arcgis/lumina";
6
+ const n = t`:host{display:block}`;
7
+ class o extends l {
9
8
  constructor() {
10
- super(...arguments), this._legendElement = n();
9
+ super(...arguments), this.legendRef = i();
11
10
  }
12
11
  static {
13
- this.properties = { mapView: 0, legendWidget: 0 };
12
+ this.properties = { mapView: 0, legendRef: 0 };
14
13
  }
15
14
  static {
16
- this.styles = m;
17
- }
18
- willUpdate(e) {
19
- e.has("mapView") && this.mapViewWatchHandler();
20
- }
21
- async mapViewWatchHandler() {
22
- await this.mapView?.when(() => {
23
- this.mapView && this._initLegend(this.mapView);
24
- });
15
+ this.styles = n;
25
16
  }
26
17
  render() {
27
- return s`<div ${a(this._legendElement)}></div>`;
28
- }
29
- async loaded() {
30
- this.mapView && await this.mapViewWatchHandler();
18
+ return this.mapView && s`<arcgis-legend auto-destroy-disabled respect-layer-definition-expression .view=${this.mapView} ${r(this.legendRef)}></arcgis-legend>` || "";
31
19
  }
32
- _initLegend(e) {
33
- e && (this.legendWidget ? this.legendWidget.view = e : this.legendWidget = new d({
34
- container: this._legendElement.value,
35
- respectLayerDefinitionExpression: !0,
36
- view: e
37
- }));
20
+ disconnectedCallback() {
21
+ super.disconnectedCallback(), this.legendRef.value && this.legendRef.value.destroy();
38
22
  }
39
23
  }
40
- t("map-legend", l);
24
+ e("map-legend", o);
41
25
  export {
42
- l as MapLegend
26
+ o as MapLegend
43
27
  };
@@ -1 +1,2 @@
1
+ import "@arcgis/map-components/components/arcgis-legend";
1
2
  export * from "./customElement.js";
@@ -1,14 +1,15 @@
1
1
  /// <reference path="../../index.d.ts" />
2
- import type Search from "@arcgis/core/widgets/Search.js";
3
2
  import type MapView from "@arcgis/core/views/MapView.js";
4
3
  import type { ISearchConfiguration } from "../../utils/interfaces.js";
5
4
  import type { PublicLitElement as LitElement } from "@arcgis/lumina";
5
+ import type { Ref } from "lit-html/directives/ref.js";
6
+ import type { ArcgisSearch as ArcgisSearch2 } from "@arcgis/map-components/components/arcgis-search";
6
7
 
7
8
  export abstract class MapSearch extends LitElement {
8
- /** esri/views/MapView: https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html */
9
+ /** esri/views/MapView: https://developers.arcgis.com/javascript/latest/api-reference/esri-views/MapView.html */
9
10
  accessor mapView: MapView | undefined;
10
11
  /**
11
- * boolean: When true the selected feature popup will be shown when serach result is found
12
+ * boolean: When true the selected feature popup will be shown when search result is found
12
13
  *
13
14
  * @default false
14
15
  */
@@ -19,6 +20,8 @@ export abstract class MapSearch extends LitElement {
19
20
  * @default false
20
21
  */
21
22
  accessor resultGraphicEnabled: boolean;
23
+ /** ArcgisSearch: The search widget element */
24
+ accessor searchComponent: Ref<ArcgisSearch2>;
22
25
  /** ISearchConfiguration: Configuration details for the Search widget */
23
26
  accessor searchConfiguration: ISearchConfiguration | undefined;
24
27
  /**
@@ -28,6 +31,4 @@ export abstract class MapSearch extends LitElement {
28
31
  * @default ''
29
32
  */
30
33
  accessor searchTerm: string;
31
- /** esri/widgets/Search: https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Search.html */
32
- accessor searchWidget: Search | undefined;
33
34
  }
@@ -1,74 +1,47 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- import { c as n } from "../../chunks/runtime.js";
3
- import { css as d, html as p } from "lit";
2
+ import { c as h } from "../../chunks/runtime.js";
3
+ import { css as p, html as d } from "lit";
4
4
  import { createRef as u, ref as m } from "lit-html/directives/ref.js";
5
5
  import { LitElement as f } from "@arcgis/lumina";
6
- import g from "@arcgis/core/widgets/Search.js";
7
- import S from "@arcgis/core/layers/FeatureLayer.js";
8
- const w = d`:host{display:block}.search-widget{width:100%!important;border:1px solid var(--calcite-color-border-input)}`;
9
- class y extends f {
6
+ import y from "@arcgis/core/layers/FeatureLayer.js";
7
+ const S = p`:host{display:block}.search-widget{width:100%!important;border:1px solid var(--calcite-color-border-input)}`;
8
+ class E extends f {
10
9
  constructor() {
11
- super(...arguments), this.popupEnabled = !1, this.resultGraphicEnabled = !1, this.searchTerm = "", this._searchElement = u();
10
+ super(...arguments), this.popupEnabled = !1, this.resultGraphicEnabled = !1, this.searchTerm = "", this.searchComponent = u();
12
11
  }
13
12
  static {
14
- this.properties = { mapView: 0, popupEnabled: 5, resultGraphicEnabled: 5, searchConfiguration: 0, searchTerm: 1, searchWidget: 0 };
13
+ this.properties = { mapView: 0, popupEnabled: 5, resultGraphicEnabled: 5, searchConfiguration: 0, searchTerm: 1, searchComponent: 0 };
15
14
  }
16
15
  static {
17
- this.styles = w;
18
- }
19
- willUpdate(t) {
20
- t.has("searchConfiguration") && this.watchSearchConfigurationHandler(), t.has("mapView") && this.mapViewWatchHandler();
21
- }
22
- async watchSearchConfigurationHandler() {
23
- this._initSearchWidget();
24
- }
25
- async mapViewWatchHandler() {
26
- await this.mapView?.when(() => {
27
- this._initSearchWidget();
28
- });
29
- }
30
- loaded() {
31
- return this._initSearchWidget();
16
+ this.styles = S;
32
17
  }
33
18
  render() {
34
- return p`<div class="search-widget" ${m(this._searchElement)}></div>`;
35
- }
36
- _initSearchWidget() {
37
- if (this.mapView && this._searchElement.value && !this.searchWidget) {
38
- let t = {
39
- view: this.mapView,
40
- container: this._searchElement.value,
41
- searchTerm: this.searchTerm
42
- };
43
- this.searchConfiguration && (t = {
44
- ...this._getSearchConfig(this.searchConfiguration, this.mapView)
45
- }), this.searchWidget = new g(t), this.searchWidget && (this.searchWidget.popupEnabled = this.popupEnabled, this.searchWidget.resultGraphicEnabled = this.resultGraphicEnabled);
46
- } else
47
- this.searchWidget && (this.searchWidget.view = this.mapView);
48
- }
49
- _getSearchConfig(t, s) {
50
- const o = "includeDefaultSources", r = t.sources;
51
- return r && r?.length > 0 ? (t[o] = !1, r.forEach((i) => {
52
- if (i.hasOwnProperty("layer")) {
53
- const e = i, a = e.layer?.id, c = a ? s.map?.findLayerById(a) : null, h = e?.layer?.url;
54
- c ? e.layer = c : h && (e.layer = new S(h));
19
+ const r = this.searchConfiguration && this.mapView ? this._getSearchConfig(this.searchConfiguration, this.mapView) : void 0;
20
+ return this.mapView && d`<arcgis-search auto-destroy-disabled class="search-widget" .view=${this.mapView} .popupDisabled=${!this.popupEnabled} .resultGraphicDisabled=${!this.resultGraphicEnabled} .sources=${r?.sources} .searchTerm=${this.searchTerm} ${m(this.searchComponent)}></arcgis-search>` || "";
21
+ }
22
+ _getSearchConfig(r, c) {
23
+ const l = "includeDefaultSources", t = r.sources;
24
+ return t && t?.length > 0 ? (r[l] = !1, t.forEach((s) => {
25
+ if (s.hasOwnProperty("layer")) {
26
+ const e = s, a = e.layer?.id, o = a ? c.map?.findLayerById(a) : null, i = e?.layer?.url;
27
+ o ? e.layer = o : i && (e.layer = new y(i));
55
28
  }
56
- }), r?.forEach((i) => {
57
- if (i.hasOwnProperty("locator")) {
58
- const e = i;
29
+ }), t?.forEach((s) => {
30
+ if (s.hasOwnProperty("locator")) {
31
+ const e = s;
59
32
  if (e?.name === "ArcGIS World Geocoding Service") {
60
33
  const a = e.outFields || ["Addr_type", "Match_addr", "StAddr", "City"];
61
34
  e.outFields = a, e.singleLineFieldName = "SingleLine";
62
35
  }
63
36
  e.url = e.url, delete e.url;
64
37
  }
65
- })) : t = {
66
- ...t,
38
+ })) : r = {
39
+ ...r,
67
40
  includeDefaultSources: !0
68
- }, t;
41
+ }, r;
69
42
  }
70
43
  }
71
- n("map-search", y);
44
+ h("map-search", E);
72
45
  export {
73
- y as MapSearch
46
+ E as MapSearch
74
47
  };
@@ -1 +1,2 @@
1
+ import "@arcgis/map-components/components/arcgis-search";
1
2
  export * from "./customElement.js";
@@ -46,6 +46,12 @@ export abstract class MapTools extends LitElement {
46
46
  }>;
47
47
  /** IBasemapConfig: List of any basemaps to filter out from the basemap widget */
48
48
  accessor basemapConfig: IBasemapConfig | undefined;
49
+ /**
50
+ * boolean: when true the layer order should be defined in the enabledLayerIds, when false we will use the older logic of layers first then tables
51
+ *
52
+ * @default false
53
+ */
54
+ accessor configLayerOrderDefined: boolean;
49
55
  /**
50
56
  * string: when provided this layer ID will be used when the app loads
51
57
  *
@@ -148,12 +154,12 @@ export abstract class MapTools extends LitElement {
148
154
  * @default 'm'
149
155
  */
150
156
  accessor mapWidgetsSize: "l" | "m" | "s";
151
- /** component height */
157
+ /** Parent component height */
152
158
  accessor parentComponentHeight: number | undefined;
153
159
  /** Parent component width */
154
160
  accessor parentComponentWidth: number | undefined;
155
161
  /**
156
- * __esri.UIPosition: https://developers.arcgis.com/javascript/latest/api-reference/esri-views-ui-UI.html#UIPosition
162
+ * UIPosition: https://developers.arcgis.com/javascript/latest/api-reference/esri-views-ui-UI.html#UIPosition
157
163
  * The position details for the tools
158
164
  *
159
165
  * @default 'top-leading'
@@ -163,7 +169,7 @@ export abstract class MapTools extends LitElement {
163
169
  accessor searchConfiguration: ISearchConfiguration | undefined;
164
170
  /** number[]: A list of ids that are currently selected */
165
171
  accessor selectedFeaturesIds: (number | string)[];
166
- /** __esri.FeatureLayer: Selected feature layer */
172
+ /** FeatureLayer: Selected feature layer */
167
173
  accessor selectedLayer: FeatureLayer | undefined;
168
174
  /**
169
175
  * string: selected web map
@@ -1,77 +1,71 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- import { c as W } from "../../chunks/runtime.js";
3
- import { u as L } from "../../chunks/useT9n.js";
4
- import { css as S, html as r, nothing as f } from "lit";
5
- import { createRef as n, ref as h } from "lit-html/directives/ref.js";
6
- import { LitElement as F, createEvent as $, safeClassMap as a } from "@arcgis/lumina";
7
- import E from "@arcgis/core/widgets/Expand.js";
8
- import C from "@arcgis/core/widgets/Home.js";
9
- const x = S`:host{display:block}.display-none{display:none}.display-flex{display:flex}.margin-top-1-2{margin-top:.5rem}.margin-left-1-2{margin-left:.5rem}.margin-right-1-2{margin-right:.5rem}.square-32{width:32px;height:32px}.square-40{width:40px;height:40px}.square-48{width:48px;height:48px}.border-bottom{border-bottom:1px solid var(--calcite-color-border-3)}.box-shadow{box-shadow:0 1px 2px #0000004d}.margin-bottom-1-2{margin-bottom:.5rem}.danger-icon-color{--calcite-icon-color: var(--calcite-color-status-danger)}`;
10
- class M extends F {
2
+ import { c as T } from "../../chunks/runtime.js";
3
+ import { u as v } from "../../chunks/useT9n.js";
4
+ import { css as W, html as h, nothing as _ } from "lit";
5
+ import { createRef as a, ref as r } from "lit-html/directives/ref.js";
6
+ import { LitElement as L, createEvent as S, safeClassMap as n } from "@arcgis/lumina";
7
+ const $ = W`:host{display:block}.display-none{display:none}.display-flex{display:flex}.margin-top-1-2{margin-top:.5rem}.margin-left-1-2{margin-left:.5rem}.margin-right-1-2{margin-right:.5rem}.square-32{width:32px;height:32px}.square-40{width:40px;height:40px}.square-48{width:48px;height:48px}.height-fit-content{height:fit-content!important}.height-0{height:0!important}.border-bottom{border-bottom:1px solid var(--calcite-color-border-3)}.box-shadow{box-shadow:0 1px 2px #0000004d}.margin-bottom-1-2{margin-bottom:.5rem}.danger-icon-color{--calcite-icon-color: var(--calcite-color-status-danger)}.map-actions{--calcite-action-background-color: var(--calcite-color-foreground-1);--calcite-action-background-color-hover: var(--calcite-color-foreground-3);--calcite-color-transparent-press: var(--calcite-color-foreground-2)}`;
8
+ class x extends L {
11
9
  constructor() {
12
- super(), this.enabledLayerIds = [], this.enableLegend = !1, this.enableLayerList = !1, this.enableFloorFilter = !1, this.enableFullscreen = !1, this.enableSearch = !1, this.enableBasemap = !1, this.enableHome = !1, this.enableSingleExpand = !1, this.zoomToolsSize = "m", this.layout = "vertical", this.mapWidgetsSize = "m", this.enableMapPicker = !1, this.enableMapLayerPicker = !1, this.position = "top-leading", this.stackTools = !0, this.enableSelectionTool = !1, this.toolOrder = ["home", "legend", "search", "fullscreen", "floorfilter", "layers-list", "selectiontool", "map-picker", "map-layer-picker"], this.selectionTools = ["rectangle-select", "lasso-select", "clear-selection"], this.mapInfos = [], this.defaultLayerId = "", this.isMobile = !1, this.selectedFeaturesIds = [], this.selectedWebMapId = "", this.showOnlyUpdatableLayers = !1, this.visibilityIcon = "eyeball", this._hasFloorInfo = !1, this._translations = L({ name: "map-tools", blocking: !0 }), this._showTools = !0, this._showBasemapWidget = !1, this._showFloorFilter = !1, this._showFullscreen = !1, this._showLegendWidget = !1, this._showSearchWidget = !1, this._showLayersListWidget = !1, this._rectangleSelectionToolActive = !1, this._lassoSelectionToolActive = !1, this._showEllipsisTools = !0, this._ellipsisTools = [], this._isValidWebMap = !0, this._showSelectionTools = !1, this._basemapElement = n(), this._floorFilterElement = n(), this._fullscreenElement = n(), this._layerListWidgetElement = n(), this._legendElement = n(), this._searchElement = n(), this._widgets = [], this._selectionToolElement = n(), this._mapTools = [], this._mapTool = n(), this.clearSelection = $(), this.listenOn(window, "mapChanged", this.mapChanged), this.listenOn(window, "layerSelectionChange", this._layerSelectionChange);
10
+ super(), this.enabledLayerIds = [], this.enableLegend = !1, this.enableLayerList = !1, this.enableFloorFilter = !1, this.enableFullscreen = !1, this.enableSearch = !1, this.enableBasemap = !1, this.enableHome = !1, this.enableSingleExpand = !1, this.zoomToolsSize = "m", this.layout = "vertical", this.mapWidgetsSize = "m", this.enableMapPicker = !1, this.enableMapLayerPicker = !1, this.position = "top-leading", this.stackTools = !0, this.enableSelectionTool = !1, this.toolOrder = ["home", "legend", "search", "fullscreen", "floorfilter", "layers-list", "selectiontool", "map-picker", "map-layer-picker"], this.selectionTools = ["rectangle-select", "lasso-select", "clear-selection"], this.mapInfos = [], this.defaultLayerId = "", this.isMobile = !1, this.selectedFeaturesIds = [], this.selectedWebMapId = "", this.showOnlyUpdatableLayers = !1, this.visibilityIcon = "eyeball", this.configLayerOrderDefined = !1, this._hasFloorInfo = !1, this._translations = v({ name: "map-tools", blocking: !0 }), this._showTools = !0, this._showBasemapWidget = !1, this._showFloorFilter = !1, this._showLegendWidget = !1, this._showSearchWidget = !1, this._showLayersListWidget = !1, this._rectangleSelectionToolActive = !1, this._lassoSelectionToolActive = !1, this._showEllipsisTools = !0, this._ellipsisTools = [], this._isValidWebMap = !0, this._showSelectionTools = !1, this._basemapElement = a(), this._floorFilterElement = a(), this._fullscreenElement = a(), this._layerListWidgetElement = a(), this._legendElement = a(), this._searchElement = a(), this._widgets = [], this._selectionToolElement = a(), this._mapTools = [], this._mapTool = a(), this.clearSelection = S(), this.listenOn(window, "mapChanged", this.mapChanged), this.listenOn(window, "layerSelectionChange", this._layerSelectionChange);
13
11
  }
14
12
  static {
15
- this.properties = { basemapConfig: 0, enabledLayerIds: 0, enableLegend: 5, enableLayerList: 5, enableFloorFilter: 5, enableFullscreen: 5, enableSearch: 5, enableBasemap: 5, enableHome: 5, enableSingleExpand: 5, zoomToolsSize: 1, layout: 1, mapView: 0, mapWidgetsSize: 1, enableMapPicker: 5, enableMapLayerPicker: 5, position: 1, searchConfiguration: 0, stackTools: 5, enableSelectionTool: 5, toolOrder: 0, selectionTools: 0, selectedLayer: 0, mapInfos: 0, defaultLayerId: 1, isMobile: 5, parentComponentHeight: 9, parentComponentWidth: 9, selectedFeaturesIds: 0, selectedWebMapId: 1, showOnlyUpdatableLayers: 5, mapInfo: 0, visibilityIcon: 1, _hasFloorInfo: 16, _translations: 16, _showTools: 16, _showBasemapWidget: 16, _showFloorFilter: 16, _showFullscreen: 16, _showLegendWidget: 16, _showSearchWidget: 16, _showLayersListWidget: 16, _rectangleSelectionToolActive: 16, _lassoSelectionToolActive: 16, _showEllipsisTools: 16, _ellipsisTools: 16, _isValidWebMap: 16, _showSelectionTools: 16 };
13
+ this.properties = { basemapConfig: 0, enabledLayerIds: 0, enableLegend: 5, enableLayerList: 5, enableFloorFilter: 5, enableFullscreen: 5, enableSearch: 5, enableBasemap: 5, enableHome: 5, enableSingleExpand: 5, zoomToolsSize: 1, layout: 1, mapView: 0, mapWidgetsSize: 1, enableMapPicker: 5, enableMapLayerPicker: 5, position: 1, searchConfiguration: 0, stackTools: 5, enableSelectionTool: 5, toolOrder: 0, selectionTools: 0, selectedLayer: 0, mapInfos: 0, defaultLayerId: 1, isMobile: 5, parentComponentHeight: 9, parentComponentWidth: 9, selectedFeaturesIds: 0, selectedWebMapId: 1, showOnlyUpdatableLayers: 5, mapInfo: 0, visibilityIcon: 1, configLayerOrderDefined: 5, _hasFloorInfo: 16, _translations: 16, _showTools: 16, _showBasemapWidget: 16, _showFloorFilter: 16, _showLegendWidget: 16, _showSearchWidget: 16, _showLayersListWidget: 16, _rectangleSelectionToolActive: 16, _lassoSelectionToolActive: 16, _showEllipsisTools: 16, _ellipsisTools: 16, _isValidWebMap: 16, _showSelectionTools: 16 };
16
14
  }
17
15
  static {
18
- this.styles = x;
16
+ this.styles = $;
19
17
  }
20
- willUpdate(s) {
21
- s.has("mapView") && this.mapViewWatchHandler(), s.has("parentComponentWidth") && this.parentComponentWidth && this.parentComponentWidthWatchHandler(this.parentComponentWidth), s.has("_showBasemapWidget") && (this.hasUpdated || this._showBasemapWidget !== !1) && this._showBasemapWidgetWatchHandler(this._showBasemapWidget), s.has("_showLayersListWidget") && (this.hasUpdated || this._showLayersListWidget !== !1) && this._showLayersListWidgetWatchHandler(this._showLayersListWidget), s.has("_showFloorFilter") && (this.hasUpdated || this._showFloorFilter !== !1) && this._showFloorFilterWatchHandler(this._showFloorFilter), s.has("_showFullscreen") && (this.hasUpdated || this._showFullscreen !== !1) && this._showFullscreenWatchHandler(this._showFullscreen), s.has("_showLegendWidget") && (this.hasUpdated || this._showLegendWidget !== !1) && this._showLegendWidgetWatchHandler(this._showLegendWidget), s.has("_showSearchWidget") && (this.hasUpdated || this._showSearchWidget !== !1) && this._showSearchWidgetWatchHandler(this._showSearchWidget);
18
+ willUpdate(e) {
19
+ e.has("mapView") && this.mapViewWatchHandler(), e.has("parentComponentWidth") && this.parentComponentWidth && this.parentComponentWidthWatchHandler(this.parentComponentWidth), e.has("_showBasemapWidget") && (this.hasUpdated || this._showBasemapWidget !== !1) && this._showBasemapWidgetWatchHandler(this._showBasemapWidget), e.has("_showLayersListWidget") && (this.hasUpdated || this._showLayersListWidget !== !1) && this._showLayersListWidgetWatchHandler(this._showLayersListWidget), e.has("_showFloorFilter") && (this.hasUpdated || this._showFloorFilter !== !1) && this._showFloorFilterWatchHandler(this._showFloorFilter), e.has("_showLegendWidget") && (this.hasUpdated || this._showLegendWidget !== !1) && this._showLegendWidgetWatchHandler(this._showLegendWidget), e.has("_showSearchWidget") && (this.hasUpdated || this._showSearchWidget !== !1) && this._showSearchWidgetWatchHandler(this._showSearchWidget);
22
20
  }
23
21
  async mapViewWatchHandler() {
24
22
  await this.mapView?.when(() => {
25
23
  this.enableHome && this._initHome(), this.parentComponentWidth && this._updateTools(this.parentComponentWidth);
26
24
  });
27
25
  }
28
- async parentComponentWidthWatchHandler(s) {
29
- this._updateTools(s);
26
+ async parentComponentWidthWatchHandler(e) {
27
+ this._updateTools(e);
30
28
  }
31
- async _showBasemapWidgetWatchHandler(s) {
32
- const e = this._basemapElement.value ? this._basemapElement.value.basemapWidget : void 0, t = document.dir === "rtl" ? "rtl" : "ltr";
33
- e && (s ? (this.mapView?.ui.add(e, {
29
+ async _showBasemapWidgetWatchHandler(e) {
30
+ const t = this._basemapElement.value ? this._basemapElement.value.basemapGalleryRef.value : void 0, s = document.dir === "rtl" ? "rtl" : "ltr";
31
+ t && (e ? (this.mapView?.ui.add(t, {
34
32
  position: this.position,
35
33
  index: 1
36
- }), e.container?.style.setProperty("direction", t)) : this.mapView?.ui.remove(e));
34
+ }), t.style.setProperty("direction", s), t.style.setProperty("max-height", "240px")) : this.mapView?.ui.remove(t));
37
35
  }
38
- async _showLayersListWidgetWatchHandler(s) {
39
- const e = this._layerListWidgetElement.value ? this._layerListWidgetElement.value.layerListWidget : void 0, t = document.dir === "rtl" ? "rtl" : "ltr";
40
- e && (s ? (this.mapView?.ui.add(e, {
36
+ async _showLayersListWidgetWatchHandler(e) {
37
+ const t = this._layerListWidgetElement.value ? this._layerListWidgetElement.value.layerListRef.value : void 0, s = document.dir === "rtl" ? "rtl" : "ltr";
38
+ t && (e ? (this.mapView?.ui.add(t, {
41
39
  position: this.position,
42
40
  index: 1
43
- }), e.container?.style.setProperty("direction", t)) : this.mapView?.ui.remove(e));
41
+ }), t.style.setProperty("direction", s), t.style.setProperty("max-height", "240px")) : this.mapView?.ui.remove(t));
44
42
  }
45
- async _showFloorFilterWatchHandler(s) {
46
- const e = this._floorFilterElement.value ? this._floorFilterElement.value.floorFilterWidget : void 0, t = document.dir === "rtl" ? "rtl" : "ltr";
47
- e && (s ? (this.mapView?.ui.add(e, {
43
+ async _showFloorFilterWatchHandler(e) {
44
+ const t = this._floorFilterElement.value ? this._floorFilterElement.value.floorFilterRef.value : void 0, s = document.dir === "rtl" ? "rtl" : "ltr";
45
+ t && (e ? (this.mapView?.ui.add(t, {
48
46
  position: this.position,
49
47
  index: 1
50
- }), e.container?.style.setProperty("direction", t)) : this.mapView?.ui.remove(e));
48
+ }), t.style.setProperty("direction", s), t.style.setProperty("max-height", "240px")) : this.mapView?.ui.remove(t));
51
49
  }
52
- async _showFullscreenWatchHandler(s) {
53
- const e = this._fullscreenElement.value ? this._fullscreenElement.value.fullscreenWidget : void 0;
54
- e && (s ? e.viewModel.state === "ready" && e.viewModel.enter() : e.viewModel.state === "active" && e.viewModel.exit());
55
- }
56
- async _showLegendWidgetWatchHandler(s) {
57
- const e = this._legendElement.value ? this._legendElement.value.legendWidget : void 0, t = document.dir === "rtl" ? "rtl" : "ltr";
58
- e && (s ? (this.mapView?.ui.add(e, {
50
+ async _showLegendWidgetWatchHandler(e) {
51
+ const t = this._legendElement.value ? this._legendElement.value.legendRef.value : void 0, s = document.dir === "rtl" ? "rtl" : "ltr";
52
+ t && (e ? (this.mapView?.ui.add(t, {
59
53
  position: this.position,
60
54
  index: 1
61
- }), e.container?.style.setProperty("direction", t)) : this.mapView?.ui.remove(e));
55
+ }), t.style.setProperty("direction", s), t.style.setProperty("max-height", "240px")) : this.mapView?.ui.remove(t));
62
56
  }
63
- async _showSearchWidgetWatchHandler(s) {
64
- const e = this._searchElement.value ? this._searchElement.value.searchWidget : void 0, t = document.dir === "rtl" ? "rtl" : "ltr";
65
- e && (s ? (this.mapView?.ui.add(e, {
57
+ async _showSearchWidgetWatchHandler(e) {
58
+ const t = this._searchElement.value ? this._searchElement.value.searchComponent.value : void 0, s = document.dir === "rtl" ? "rtl" : "ltr";
59
+ t && (e ? (this.mapView?.ui.add(t, {
66
60
  position: this.position,
67
61
  index: 1
68
- }), e.container?.style.setProperty("direction", t)) : this.mapView?.ui.remove(e));
62
+ }), t.style.setProperty("direction", s), t.style.setProperty("max-height", "240px")) : this.mapView?.ui.remove(t));
69
63
  }
70
- async mapChanged(s) {
71
- const e = s.detail.isValid;
72
- this._isValidWebMap = e, this._showTools || this._toggleTools();
64
+ async mapChanged(e) {
65
+ const t = e.detail.isValid;
66
+ this._isValidWebMap = t, this._showTools || this._toggleTools();
73
67
  }
74
- async _layerSelectionChange(s) {
68
+ async _layerSelectionChange(e) {
75
69
  this._showTools || this._toggleTools();
76
70
  }
77
71
  async load() {
@@ -79,59 +73,60 @@ class M extends F {
79
73
  }
80
74
  render() {
81
75
  this._setZoomToolsSize();
82
- const s = this.layout === "horizontal" ? "display-flex" : "", e = this._getToggleIcon(), t = !this._showTools && !this._showSelectionTools ? "display-none" : s, o = this._showEllipsisTools ? "" : "display-none", l = this._showSearchWidget ? "" : "display-none", i = this._showBasemapWidget ? "" : "display-none", c = this._showLegendWidget ? "" : "display-none", d = this._showFloorFilter ? "" : "display-none", p = this._showFullscreen ? "" : "display-none", m = this._showLayersListWidget ? "" : "display-none", w = this._showTools ? this._translations.collapse : this._translations.expand, u = !this.enableBasemap && !this.enableFullscreen && !this.enableLegend && !this.enableLayerList && !this.enableSearch && !this.enableMapPicker && !this.enableMapLayerPicker ? "display-none" : "", y = document.dir === "rtl" ? "margin-right-1-2" : "margin-left-1-2", b = this.enableSingleExpand ? this.layout === "horizontal" ? y : "margin-top-1-2" : "", T = this._ellipsisTools.length > 0 && this._showTools ? "" : "display-none", _ = this.stackTools && this._ellipsisTools.length === 0 ? "box-shadow" : "", v = this._showSelectionTools ? this.selectionTools : this._mapTools;
83
- return r`<div class=${`${u} ${s}`}>${this.enableSingleExpand ? r`<div class=${a(_)}>${this._getActionGroup(e, !1, w || "", () => this._toggleTools())}</div>` : void 0}<div class=${`${b} ${_} ${t}`}>${this._getMapWidgets(v)}</div><div><div class=${a(T)}>${this._getActionGroup("ellipsis", !1, "", () => this._toggleEllipsisTools())}<div class=${a(o)}>${this._getMapWidgets(this._ellipsisTools)}</div></div></div></div><map-basemap-gallery .basemapConfig=${this.basemapConfig} class=${a(i)} .mapView=${this.mapView} ${h(this._basemapElement)}></map-basemap-gallery><map-search class=${a(l)} .mapView=${this.mapView} result-graphic-enabled .searchConfiguration=${this.searchConfiguration} ${h(this._searchElement)}></map-search><map-legend class=${a(c)} .mapView=${this.mapView} ${h(this._legendElement)}></map-legend><map-fullscreen class=${a(p)} .mapView=${this.mapView} @fullscreenStateChange=${(g) => this._fullscreenStateChange(g.detail)} ${h(this._fullscreenElement)}></map-fullscreen><layer-list-widget class=${a(m)} .mapView=${this.mapView} @fullscreenStateChange=${(g) => this._fullscreenStateChange(g.detail)} .visibilityIcon=${this.visibilityIcon} ${h(this._layerListWidgetElement)}></layer-list-widget><map-floor-filter class=${a(d)} .enabled=${this.enableFloorFilter} .mapView=${this.mapView} ${h(this._floorFilterElement)}></map-floor-filter><selection-tool .mapView=${this.mapView} @drawingComplete=${() => {
76
+ const e = this.layout === "horizontal" ? "display-flex" : "", t = this._getToggleIcon(), s = !this._showTools && !this._showSelectionTools ? "display-none" : e, i = this._showEllipsisTools ? "" : "display-none", o = this._showSearchWidget ? "" : "display-none", l = this._showBasemapWidget ? "" : "display-none", d = this._showLegendWidget ? "" : "display-none", c = this._showFloorFilter ? "" : "display-none", p = this._showLayersListWidget ? "" : "display-none", g = this._showTools ? this._translations.collapse : this._translations.expand, f = !this.enableBasemap && !this.enableFullscreen && !this.enableLegend && !this.enableLayerList && !this.enableSearch && !this.enableMapPicker && !this.enableMapLayerPicker ? "display-none" : "", w = document.dir === "rtl" ? "margin-right-1-2" : "margin-left-1-2", u = this.enableSingleExpand ? this.layout === "horizontal" ? w : "margin-top-1-2" : "", y = this._ellipsisTools.length > 0 && this._showTools ? "" : "display-none", m = this.stackTools && this._ellipsisTools.length === 0 ? "box-shadow" : "", b = this._showSelectionTools ? this.selectionTools : this._mapTools;
77
+ return h`<div class=${`${f} ${e} height-0`}>${this.enableSingleExpand ? h`<div class=${n(m)}>${this._getActionGroup(t, !1, g || "", () => this._toggleTools())}</div>` : void 0}<div class=${`${u} ${m} ${s}`}>${this._getMapWidgets(b)}</div><div><div class=${n(y)}>${this._getActionGroup("ellipsis", !1, "", () => this._toggleEllipsisTools())}<div class=${n(i)}>${this._getMapWidgets(this._ellipsisTools)}</div></div></div></div><map-basemap-gallery .basemapConfig=${this.basemapConfig} class=${n(l)} .mapView=${this.mapView} ${r(this._basemapElement)}></map-basemap-gallery><map-search class=${n(o)} .mapView=${this.mapView} result-graphic-enabled .searchConfiguration=${this.searchConfiguration} ${r(this._searchElement)}></map-search><map-legend class=${n(d)} .mapView=${this.mapView} ${r(this._legendElement)}></map-legend><layer-list-widget class=${n(p)} .mapView=${this.mapView} .visibilityIcon=${this.visibilityIcon} ${r(this._layerListWidgetElement)}></layer-list-widget><map-floor-filter class=${n(c)} .enabled=${this.enableFloorFilter} .mapView=${this.mapView} ${r(this._floorFilterElement)}></map-floor-filter><selection-tool .mapView=${this.mapView} @drawingComplete=${() => {
84
78
  this._rectangleSelectionToolActive = !1, this._lassoSelectionToolActive = !1;
85
- }} .selectedLayerId=${this.selectedLayer?.id} ${h(this._selectionToolElement)}></selection-tool>${this.enableMapPicker && r`<map-picker class=mapPickerClass .height=${(this.parentComponentHeight ?? 0) - 25} id=map-picker .mapInfos=${this.mapInfos} reference-element=map .selectedWebMapId=${this.selectedWebMapId} show-map-list-in-popover></map-picker>` || ""}${this.enableMapLayerPicker && this.selectedLayer && r`<map-layer-picker appearance=transparent .defaultLayerId=${this.defaultLayerId} .enabledLayerIds=${this.enabledLayerIds} .height=${(this.parentComponentHeight ?? 0) - 25} .isMobile=${this.isMobile} .mapView=${this.mapView} .showOnlyUpdatableLayers=${this.showOnlyUpdatableLayers} reference-element=layers scale=s .selectedIds=${this.selectedLayer ? [this.selectedLayer.id] : []} show-layers-list-in-popover show-tables type=dropdown></map-layer-picker>` || ""}`;
79
+ }} .selectedLayerId=${this.selectedLayer?.id} ${r(this._selectionToolElement)}></selection-tool>${this.enableMapPicker && h`<map-picker class=mapPickerClass .height=${(this.parentComponentHeight ?? 0) - 25} id=map-picker .mapInfos=${this.mapInfos} reference-element=map .selectedWebMapId=${this.selectedWebMapId} show-map-list-in-popover></map-picker>` || ""}${this.enableMapLayerPicker && this.selectedLayer && h`<map-layer-picker appearance=transparent .configLayerOrderDefined=${this.configLayerOrderDefined} .defaultLayerId=${this.defaultLayerId} .enabledLayerIds=${this.enabledLayerIds} .height=${(this.parentComponentHeight ?? 0) - 25} .isMobile=${this.isMobile} .mapView=${this.mapView} .showOnlyUpdatableLayers=${this.showOnlyUpdatableLayers} reference-element=layers scale=s .selectedIds=${this.selectedLayer ? [this.selectedLayer.id] : []} show-layers-list-in-popover show-tables type=dropdown></map-layer-picker>` || ""}`;
86
80
  }
87
81
  _initHome() {
88
- this.enableHome && (this._homeWidget = new C({
89
- view: this.mapView
90
- }));
82
+ this.enableHome && (this._homeComponent = document.createElement("arcgis-home"), this._homeComponent.view = this.mapView, this._homeComponent.viewpoint = this.mapView?.viewpoint?.clone());
91
83
  }
92
84
  _setZoomToolsSize() {
93
- const s = document.getElementsByClassName("esri-zoom")[0]?.children[0], e = document.getElementsByClassName("esri-zoom")[0]?.children[1];
94
- if (s && e) {
95
- const t = this.zoomToolsSize === "s" ? "32px" : this.zoomToolsSize === "m" ? "40px" : "48px";
96
- s.style.width = t, s.style.height = t, e.style.width = t, e.style.height = t;
85
+ const e = document.getElementById("arcgis-map");
86
+ if (!!!e?.shadowRoot?.querySelector(".esri-zoom"))
87
+ return;
88
+ const s = e.shadowRoot?.querySelectorAll(".esri-widget--button")[0], i = e.shadowRoot?.querySelectorAll(".esri-widget--button")[1];
89
+ if (s && i) {
90
+ const o = this.zoomToolsSize === "s" ? "32px" : this.zoomToolsSize === "m" ? "40px" : "48px";
91
+ s.style.width = o, s.style.height = o, i.style.width = o, i.style.height = o;
97
92
  }
98
93
  if (this.layout === "horizontal") {
99
- const t = document.dir || "ltr", o = t === "ltr" ? "esri-ui-top-left" : "esri-ui-top-right", l = t === "ltr" ? 0 : this.parentComponentWidth - 62;
100
- let i = t === "ltr" ? this._showTools ? "ltr" : "rtl" : this._showTools ? "rtl" : "ltr";
101
- document.getElementsByClassName(o)[0]?.firstElementChild?.tagName === "MAP-TOOLS" && !this._showTools && (i = t), document.getElementsByClassName("esri-zoom")[0]?.setAttribute("style", `position: absolute; top: 50px; left: ${l}px`), this._showSelectionTools || document.getElementsByClassName(o)[0]?.setAttribute("style", `flex-direction: row; gap: 5px; align-items: flex-start; direction: ${i} !important; z-index: 1;`);
94
+ const o = document.dir || "ltr", l = o === "ltr" ? ".esri-ui-top-left" : ".esri-ui-top-right", d = o === "ltr" ? 0 : this.parentComponentWidth - 62;
95
+ let c = o === "ltr" ? this._showTools ? "ltr" : "rtl" : this._showTools ? "rtl" : "ltr";
96
+ e.shadowRoot?.querySelector(l)?.firstElementChild?.tagName === "MAP-TOOLS" && !this._showTools && (c = o), e.shadowRoot && (e.shadowRoot.querySelector(".esri-zoom")?.setAttribute("style", `position: absolute; top: 50px; left: ${d}px`), this._showSelectionTools || e.shadowRoot.querySelector(l)?.setAttribute("style", `flex-direction: row; gap: 5px; align-items: flex-start; direction: ${c} !important; z-index: 1;`));
102
97
  }
103
98
  }
104
99
  _getToggleIcon() {
105
- const s = document.dir || "ltr";
106
- return this.layout === "horizontal" ? s === "ltr" ? this._showTools ? "chevrons-left" : "chevrons-right" : this._showTools ? "chevrons-right" : "chevrons-left" : this._showTools ? "chevrons-up" : "chevrons-down";
100
+ const e = document.dir || "ltr";
101
+ return this.layout === "horizontal" ? e === "ltr" ? this._showTools ? "chevrons-left" : "chevrons-right" : this._showTools ? "chevrons-right" : "chevrons-left" : this._showTools ? "chevrons-up" : "chevrons-down";
107
102
  }
108
- _updateTools(s) {
109
- const e = this._showSelectionTools ? JSON.parse(JSON.stringify(this.selectionTools)) : JSON.parse(JSON.stringify(this.toolOrder));
103
+ _updateTools(e) {
104
+ const t = this._showSelectionTools ? JSON.parse(JSON.stringify(this.selectionTools)) : JSON.parse(JSON.stringify(this.toolOrder));
110
105
  this._hasFloorInfo = this.mapView?.map?.floorInfo;
111
- const t = e.indexOf("floorfilter");
112
- t > -1 && !this._hasFloorInfo && e.splice(t, 1);
113
- const o = 40;
114
- let l = 110;
115
- this.isMobile && (this.enableMapPicker || this.enableMapLayerPicker) && (l = 160);
116
- const i = Math.ceil((s - l) / o) - 1;
117
- i && i !== e.length - 1 ? (this._mapTools = e.slice(0, i), this._ellipsisTools = e.slice(i, e.length)) : (this._mapTools = e, this._ellipsisTools = []);
118
- }
119
- _getMapWidgets(s) {
120
- const e = this._showFullscreen ? "full-screen-exit" : "full-screen", t = this._showFullscreen ? this._translations.exitFullscreen : this._translations.enterFullscreen, o = this._isValidWebMap ? "map" : "exclamation-mark-triangle", l = this.selectedLayer === void 0 ? "exclamation-mark-triangle" : "layers";
121
- return s.map((i) => {
106
+ const s = t.indexOf("floorfilter");
107
+ s > -1 && !this._hasFloorInfo && t.splice(s, 1);
108
+ const i = this.mapWidgetsSize === "s" ? 32 : this.mapWidgetsSize === "m" ? 40 : 48;
109
+ let o = 110;
110
+ this.isMobile && (this.enableMapPicker || this.enableMapLayerPicker) && (o = 160);
111
+ const l = Math.ceil((e - o) / i) - 1;
112
+ l && l !== t.length - 1 ? (this._mapTools = t.slice(0, l), this._ellipsisTools = t.slice(l, t.length)) : (this._mapTools = t, this._ellipsisTools = []);
113
+ }
114
+ _getMapWidgets(e) {
115
+ const t = this._isValidWebMap ? "map" : "exclamation-mark-triangle", s = this.selectedLayer === void 0 ? "exclamation-mark-triangle" : "layers";
116
+ return e.map((i) => {
122
117
  switch (i) {
123
118
  case "legend":
124
- return this.enableLegend && this.enableSingleExpand ? this._getActionGroup("legend", !1, this._translations.legend, () => this._showLegend()) : this.enableLegend ? this._getWidget(i, this._legendElement.value?.legendWidget, !0) : void 0;
119
+ return this.enableLegend && this.enableSingleExpand ? this._getActionGroup("legend", !1, this._translations.legend, () => this._showLegend()) : this.enableLegend ? this._getWidget(i, this._legendElement.value?.legendRef.value, !0) : void 0;
125
120
  case "search":
126
- return this.enableSearch && this.enableSingleExpand ? this._getActionGroup("magnifying-glass", !1, this._translations.search, () => this._search()) : this.enableSearch ? this._getWidget(i, this._searchElement.value?.searchWidget, !0) : void 0;
121
+ return this.enableSearch && this.enableSingleExpand ? this._getActionGroup("magnifying-glass", !1, this._translations.search, () => this._search()) : this.enableSearch ? this._getWidget(i, this._searchElement.value?.searchComponent.value, !0) : void 0;
127
122
  case "fullscreen":
128
- return this.enableFullscreen && this.enableSingleExpand ? this._getActionGroup(e, !1, t || "", () => this._expand()) : this.enableFullscreen ? this._getWidget(i, this._fullscreenElement.value?.fullscreenWidget, !1) : void 0;
123
+ return this.enableFullscreen && this.enableSingleExpand ? this._getFullScreenComponent() : this.enableFullscreen ? this._getWidget(i, this._fullscreenElement.value?.fullscreenRef.value, !1) : void 0;
129
124
  case "basemap":
130
- return this.enableBasemap && this.enableSingleExpand ? this._getActionGroup("basemap", !1, this._translations.basemap, () => this._toggleBasemapPicker()) : this.enableBasemap ? this._getWidget(i, this._basemapElement.value?.basemapWidget, !0) : void 0;
125
+ return this.enableBasemap && this.enableSingleExpand ? this._getActionGroup("basemap", !1, this._translations.basemap, () => this._toggleBasemapPicker()) : this.enableBasemap ? this._getWidget(i, this._basemapElement.value?.basemapGalleryRef.value, !0) : void 0;
131
126
  case "layers-list":
132
- return this.enableLayerList && this.enableSingleExpand ? this._getActionGroup("layers", !1, this._translations.layers || "", () => this._toggleLayerListWidget()) : this.enableLayerList ? this._getWidget(i, this._layerListWidgetElement.value?.layerListWidget, !0) : void 0;
127
+ return this.enableLayerList && this.enableSingleExpand ? this._getActionGroup("layers", !1, this._translations.layers || "", () => this._toggleLayerListWidget()) : this.enableLayerList ? this._getWidget(i, this._layerListWidgetElement.value?.layerListRef.value, !0) : void 0;
133
128
  case "floorfilter":
134
- return this.enableFloorFilter && this._hasFloorInfo && this.enableSingleExpand ? this._getActionGroup("urban-model", !1, this._translations.floorFilter, () => this._toggleFloorFilter()) : this.enableFloorFilter && this._hasFloorInfo ? this._getWidget(i, this._floorFilterElement.value?.floorFilterWidget, !0) : void 0;
129
+ return this.enableFloorFilter && this._hasFloorInfo && this.enableSingleExpand ? this._getActionGroup("urban-model", !1, this._translations.floorFilter, () => this._toggleFloorFilter()) : this.enableFloorFilter && this._hasFloorInfo ? this._getWidget(i, this._floorFilterElement.value?.floorFilterRef.value, !0) : void 0;
135
130
  case "selectiontool":
136
131
  return this.enableSelectionTool && this.selectedLayer ? (
137
132
  // if selection tool is enabled and a layer is selected only then show selection tool
@@ -153,35 +148,36 @@ class M extends F {
153
148
  this._getActionGroup("erase", !1, this._translations.clearSelection, () => this.clearSelection.emit())
154
149
  ) : void 0;
155
150
  case "home":
156
- return this.enableHome ? this._getActionGroup("home", !1, this._translations.defaultMapView, () => this._homeWidget?.go()) : void 0;
151
+ return this.enableHome ? this._getActionGroup("home", !1, this._translations.defaultMapView, () => {
152
+ this._homeComponent?.go();
153
+ }) : void 0;
157
154
  case "map-picker":
158
- return this.enableMapPicker ? this._getActionGroup(o, !1, "", () => {
155
+ return this.enableMapPicker ? this._getActionGroup(t, !1, "", () => {
159
156
  }, !this._isValidWebMap) : void 0;
160
157
  case "map-layer-picker":
161
- return this.enableMapLayerPicker && this._isValidWebMap ? this._getActionGroup(l, !1, "", () => {
158
+ return this.enableMapLayerPicker && this._isValidWebMap ? this._getActionGroup(s, !1, "", () => {
162
159
  }, this.selectedLayer === void 0) : void 0;
163
160
  default:
164
161
  return "";
165
162
  }
166
163
  });
167
164
  }
168
- _fullscreenStateChange(s) {
169
- s === "ready" && this._showFullscreen ? this._showFullscreen = !1 : s === "active" && !this._showFullscreen && (this._showFullscreen = !0);
165
+ _getFullScreenComponent() {
166
+ return h`<map-fullscreen .mapView=${this.mapView}></map-fullscreen>`;
170
167
  }
171
- _getActionGroup(s, e, t, o, l, i) {
172
- const c = this.mapWidgetsSize === "s" ? "square-32" : this.mapWidgetsSize === "m" ? "square-40" : "square-48", d = this.stackTools ? "" : "margin-bottom-1-2", p = this.stackTools ? "" : "box-shadow";
173
- return r`<div><calcite-action alignment=center appearance=solid .indicator=${i} class=${`map-actions ${c} ${d} border-bottom ${p} ${l ? "danger-icon-color" : ""}`} .disabled=${e} .icon=${s} id=${s ?? f} @click=${o} scale=s .text=${t} ${h(this._mapTool)}><calcite-icon aria-hidden=true icon=chevron-up scale=s slot=icon></calcite-icon></calcite-action>${!this.isMobile && t && r`<calcite-tooltip .placement=${this.layout === "vertical" ? "auto" : "bottom"} reference-element=${s ?? f}><span>${t}</span></calcite-tooltip>` || ""}</div>`;
168
+ _getActionGroup(e, t, s, i, o, l) {
169
+ const d = this.mapWidgetsSize === "s" ? "square-32" : this.mapWidgetsSize === "m" ? "square-40" : "square-48", c = this.stackTools ? "" : "margin-bottom-1-2", p = this.stackTools ? "" : "box-shadow";
170
+ return h`<div class="height-fit-content"><calcite-action alignment=center .indicator=${l} class=${`map-actions ${d} ${c} border-bottom ${p} ${o ? "danger-icon-color" : ""}`} .disabled=${t} .icon=${e} id=${e ?? _} @click=${i} scale=m .text=${s} ${r(this._mapTool)}><calcite-icon aria-hidden=true icon=chevron-up scale=s slot=icon></calcite-icon></calcite-action>${!this.isMobile && s && h`<calcite-tooltip .placement=${this.layout === "vertical" ? "auto" : "bottom"} reference-element=${e ?? _}><span>${s}</span></calcite-tooltip>` || ""}</div>`;
174
171
  }
175
- _getWidget(s, e, t) {
176
- if (this._widgets.indexOf(s) < 0 && this.mapView && e) {
177
- const o = this.toolOrder.indexOf(s), l = new E({
178
- view: this.mapView,
179
- content: e
180
- }), i = this.enableHome ? 2 : 1;
181
- this.mapView.ui.add(t ? l : e, {
172
+ _getWidget(e, t, s) {
173
+ if (this._widgets.indexOf(e) < 0 && this.mapView && t) {
174
+ const i = this.toolOrder.indexOf(e), o = document.createElement("arcgis-expand");
175
+ o.view = this.mapView, o.appendChild(t);
176
+ const l = this.enableHome ? 2 : 1;
177
+ this.mapView.ui.add(s ? o : t, {
182
178
  position: this.position,
183
- index: o > -1 ? o + i : 1
184
- }), this._widgets.push(s);
179
+ index: i > -1 ? i + l : 1
180
+ }), this._widgets.push(e);
185
181
  }
186
182
  }
187
183
  _showLegend() {
@@ -202,11 +198,8 @@ class M extends F {
202
198
  _onSelectionToolClick() {
203
199
  this._showSelectionTools = !this._showSelectionTools, this._showTools = !1, this._toggleEllipsisTools();
204
200
  }
205
- _toggleSelectionTool(s) {
206
- s === "rectangle" ? (this._lassoSelectionToolActive = !1, this._rectangleSelectionToolActive = !this._rectangleSelectionToolActive) : s === "freehandPolygon" && (this._rectangleSelectionToolActive = !1, this._lassoSelectionToolActive = !this._lassoSelectionToolActive), this._selectionToolElement.value?.toggleSelectionTool(s, this._rectangleSelectionToolActive || this._lassoSelectionToolActive);
207
- }
208
- _expand() {
209
- this._showFullscreen = !this._showFullscreen;
201
+ _toggleSelectionTool(e) {
202
+ e === "rectangle" ? (this._lassoSelectionToolActive = !1, this._rectangleSelectionToolActive = !this._rectangleSelectionToolActive) : e === "freehandPolygon" && (this._rectangleSelectionToolActive = !1, this._lassoSelectionToolActive = !this._lassoSelectionToolActive), this._selectionToolElement.value?.toggleSelectionTool(e, this._rectangleSelectionToolActive || this._lassoSelectionToolActive);
210
203
  }
211
204
  _toggleTools() {
212
205
  this._showTools || (this._showSelectionTools = !1, this._showBasemapWidget = !1, this._showLayersListWidget = !1, this._showSearchWidget = !1, this._showLegendWidget = !1, this._showFloorFilter = !1), this._rectangleSelectionToolActive ? this._toggleSelectionTool("rectangle") : this._lassoSelectionToolActive && this._toggleSelectionTool("freehandPolygon"), this._showTools = !this._showTools, this._toggleEllipsisTools(), this._updateTools(this.parentComponentWidth);
@@ -215,7 +208,7 @@ class M extends F {
215
208
  this._showEllipsisTools = !this._showEllipsisTools;
216
209
  }
217
210
  }
218
- W("map-tools", M);
211
+ T("map-tools", x);
219
212
  export {
220
- M as MapTools
213
+ x as MapTools
221
214
  };
@@ -1,12 +1,12 @@
1
1
  import "../map-basemap-gallery/index.js";
2
2
  import "../map-search/index.js";
3
3
  import "../map-legend/index.js";
4
- import "../map-fullscreen/index.js";
5
4
  import "../layer-list-widget/index.js";
6
5
  import "../map-floor-filter/index.js";
7
6
  import "../selection-tool/index.js";
8
7
  import "../map-picker/index.js";
9
8
  import "../map-layer-picker/index.js";
9
+ import "../map-fullscreen/index.js";
10
10
  import "@esri/calcite-components/components/calcite-action";
11
11
  import "@esri/calcite-components/components/calcite-icon";
12
12
  import "@esri/calcite-components/components/calcite-tooltip";
@@ -3,7 +3,7 @@ import type MapView from "@arcgis/core/views/MapView.js";
3
3
  import type { PublicLitElement as LitElement } from "@arcgis/lumina";
4
4
 
5
5
  export abstract class SelectionTool extends LitElement {
6
- /** esri/views/View: https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html */
6
+ /** esri/views/View: https://developers.arcgis.com/javascript/latest/api-reference/esri-views/MapView.html */
7
7
  accessor mapView: MapView | undefined;
8
8
  /**
9
9
  * string: Selected layer id
@@ -30,7 +30,7 @@ class d extends c {
30
30
  async toggleSelectionTool(e, t) {
31
31
  if (this._graphicsLayer?.removeAll(), this._selectionTool?.state === "active" && this._selectionTool.cancel(), t) {
32
32
  const i = e ?? this.tool;
33
- this._selectionTool?.create(i);
33
+ await this._selectionTool?.create(i);
34
34
  }
35
35
  }
36
36
  async loaded() {