@esri/solutions-components 0.10.25 → 0.10.26

Sign up to get free protection for your applications and to get access to all the features.
Files changed (681) hide show
  1. package/dist/cjs/basemap-gallery_7.cjs.entry.js +9 -9
  2. package/dist/cjs/buffer-tools_3.cjs.entry.js +1 -1
  3. package/dist/cjs/calcite-alert_5.cjs.entry.js +20 -21
  4. package/dist/cjs/calcite-combobox_3.cjs.entry.js +15 -3
  5. package/dist/cjs/calcite-flow_4.cjs.entry.js +6 -6
  6. package/dist/cjs/calcite-modal_3.cjs.entry.js +1 -1
  7. package/dist/cjs/calcite-shell-panel_14.cjs.entry.js +7 -7
  8. package/dist/cjs/card-manager_3.cjs.entry.js +473 -53
  9. package/dist/cjs/crowdsource-manager.cjs.entry.js +55 -21
  10. package/dist/cjs/crowdsource-reporter.cjs.entry.js +1 -1
  11. package/dist/cjs/feature-comments.cjs.entry.js +1 -1
  12. package/dist/cjs/feature-form-flow-item.cjs.entry.js +1 -1
  13. package/dist/cjs/feature-list.cjs.entry.js +3 -3
  14. package/dist/cjs/features-flow-item.cjs.entry.js +1 -1
  15. package/dist/cjs/layout-manager.cjs.entry.js +1 -1
  16. package/dist/cjs/list-flow-item.cjs.entry.js +1 -1
  17. package/dist/cjs/loader.cjs.js +1 -1
  18. package/dist/cjs/location-flow-item.cjs.entry.js +1 -1
  19. package/dist/cjs/map-select-tools_3.cjs.entry.js +3 -3
  20. package/dist/cjs/pci-calculator.cjs.entry.js +1 -1
  21. package/dist/cjs/public-notification.cjs.entry.js +1 -1
  22. package/dist/cjs/refine-results-flow-item.cjs.entry.js +1 -1
  23. package/dist/cjs/share-item.cjs.entry.js +1 -1
  24. package/dist/cjs/solution-configuration.cjs.entry.js +3 -3
  25. package/dist/cjs/solution-contents_3.cjs.entry.js +3 -3
  26. package/dist/cjs/solution-item-accordion.cjs.entry.js +1 -1
  27. package/dist/cjs/solution-item-icon.cjs.entry.js +1 -1
  28. package/dist/cjs/solutions-components.cjs.js +1 -1
  29. package/dist/cjs/spatial-ref.cjs.entry.js +1 -1
  30. package/dist/collection/assets/t9n/card-manager/resources.json +1 -0
  31. package/dist/collection/assets/t9n/card-manager/resources_en.json +2 -1
  32. package/dist/collection/assets/t9n/create-feature/resources_ar.json +5 -0
  33. package/dist/collection/assets/t9n/create-feature/resources_bg.json +5 -0
  34. package/dist/collection/assets/t9n/create-feature/resources_bs.json +5 -0
  35. package/dist/collection/assets/t9n/create-feature/resources_ca.json +5 -0
  36. package/dist/collection/assets/t9n/create-feature/resources_cs.json +5 -0
  37. package/dist/collection/assets/t9n/create-feature/resources_da.json +5 -0
  38. package/dist/collection/assets/t9n/create-feature/resources_de.json +5 -0
  39. package/dist/collection/assets/t9n/create-feature/resources_el.json +5 -0
  40. package/dist/collection/assets/t9n/create-feature/resources_es.json +5 -0
  41. package/dist/collection/assets/t9n/create-feature/resources_et.json +5 -0
  42. package/dist/collection/assets/t9n/create-feature/resources_fi.json +5 -0
  43. package/dist/collection/assets/t9n/create-feature/resources_fr.json +5 -0
  44. package/dist/collection/assets/t9n/create-feature/resources_he.json +5 -0
  45. package/dist/collection/assets/t9n/create-feature/resources_hr.json +5 -0
  46. package/dist/collection/assets/t9n/create-feature/resources_hu.json +5 -0
  47. package/dist/collection/assets/t9n/create-feature/resources_id.json +5 -0
  48. package/dist/collection/assets/t9n/create-feature/resources_it.json +5 -0
  49. package/dist/collection/assets/t9n/create-feature/resources_ja.json +5 -0
  50. package/dist/collection/assets/t9n/create-feature/resources_ko.json +5 -0
  51. package/dist/collection/assets/t9n/create-feature/resources_lt.json +5 -0
  52. package/dist/collection/assets/t9n/create-feature/resources_lv.json +5 -0
  53. package/dist/collection/assets/t9n/create-feature/resources_nb.json +5 -0
  54. package/dist/collection/assets/t9n/create-feature/resources_nl.json +5 -0
  55. package/dist/collection/assets/t9n/create-feature/resources_pl.json +5 -0
  56. package/dist/collection/assets/t9n/create-feature/resources_pt-BR.json +5 -0
  57. package/dist/collection/assets/t9n/create-feature/resources_pt-PT.json +5 -0
  58. package/dist/collection/assets/t9n/create-feature/resources_ro.json +5 -0
  59. package/dist/collection/assets/t9n/create-feature/resources_ru.json +5 -0
  60. package/dist/collection/assets/t9n/create-feature/resources_sk.json +5 -0
  61. package/dist/collection/assets/t9n/create-feature/resources_sl.json +5 -0
  62. package/dist/collection/assets/t9n/create-feature/resources_sr.json +5 -0
  63. package/dist/collection/assets/t9n/create-feature/resources_sv.json +5 -0
  64. package/dist/collection/assets/t9n/create-feature/resources_th.json +5 -0
  65. package/dist/collection/assets/t9n/create-feature/resources_tr.json +5 -0
  66. package/dist/collection/assets/t9n/create-feature/resources_uk.json +5 -0
  67. package/dist/collection/assets/t9n/create-feature/resources_vi.json +5 -0
  68. package/dist/collection/assets/t9n/create-feature/resources_zh-CN.json +5 -0
  69. package/dist/collection/assets/t9n/create-feature/resources_zh-HK.json +5 -0
  70. package/dist/collection/assets/t9n/create-feature/resources_zh-TW.json +5 -0
  71. package/dist/collection/assets/t9n/create-related-feature/resources_ar.json +3 -0
  72. package/dist/collection/assets/t9n/create-related-feature/resources_bg.json +3 -0
  73. package/dist/collection/assets/t9n/create-related-feature/resources_bs.json +3 -0
  74. package/dist/collection/assets/t9n/create-related-feature/resources_ca.json +3 -0
  75. package/dist/collection/assets/t9n/create-related-feature/resources_cs.json +3 -0
  76. package/dist/collection/assets/t9n/create-related-feature/resources_da.json +3 -0
  77. package/dist/collection/assets/t9n/create-related-feature/resources_de.json +3 -0
  78. package/dist/collection/assets/t9n/create-related-feature/resources_el.json +3 -0
  79. package/dist/collection/assets/t9n/create-related-feature/resources_es.json +3 -0
  80. package/dist/collection/assets/t9n/create-related-feature/resources_et.json +3 -0
  81. package/dist/collection/assets/t9n/create-related-feature/resources_fi.json +3 -0
  82. package/dist/collection/assets/t9n/create-related-feature/resources_fr.json +3 -0
  83. package/dist/collection/assets/t9n/create-related-feature/resources_he.json +3 -0
  84. package/dist/collection/assets/t9n/create-related-feature/resources_hr.json +3 -0
  85. package/dist/collection/assets/t9n/create-related-feature/resources_hu.json +3 -0
  86. package/dist/collection/assets/t9n/create-related-feature/resources_id.json +3 -0
  87. package/dist/collection/assets/t9n/create-related-feature/resources_it.json +3 -0
  88. package/dist/collection/assets/t9n/create-related-feature/resources_ja.json +3 -0
  89. package/dist/collection/assets/t9n/create-related-feature/resources_ko.json +3 -0
  90. package/dist/collection/assets/t9n/create-related-feature/resources_lt.json +3 -0
  91. package/dist/collection/assets/t9n/create-related-feature/resources_lv.json +3 -0
  92. package/dist/collection/assets/t9n/create-related-feature/resources_nb.json +3 -0
  93. package/dist/collection/assets/t9n/create-related-feature/resources_nl.json +3 -0
  94. package/dist/collection/assets/t9n/create-related-feature/resources_pl.json +3 -0
  95. package/dist/collection/assets/t9n/create-related-feature/resources_pt-BR.json +3 -0
  96. package/dist/collection/assets/t9n/create-related-feature/resources_pt-PT.json +3 -0
  97. package/dist/collection/assets/t9n/create-related-feature/resources_ro.json +3 -0
  98. package/dist/collection/assets/t9n/create-related-feature/resources_ru.json +3 -0
  99. package/dist/collection/assets/t9n/create-related-feature/resources_sk.json +3 -0
  100. package/dist/collection/assets/t9n/create-related-feature/resources_sl.json +3 -0
  101. package/dist/collection/assets/t9n/create-related-feature/resources_sr.json +3 -0
  102. package/dist/collection/assets/t9n/create-related-feature/resources_sv.json +3 -0
  103. package/dist/collection/assets/t9n/create-related-feature/resources_th.json +3 -0
  104. package/dist/collection/assets/t9n/create-related-feature/resources_tr.json +3 -0
  105. package/dist/collection/assets/t9n/create-related-feature/resources_uk.json +3 -0
  106. package/dist/collection/assets/t9n/create-related-feature/resources_vi.json +3 -0
  107. package/dist/collection/assets/t9n/create-related-feature/resources_zh-CN.json +3 -0
  108. package/dist/collection/assets/t9n/create-related-feature/resources_zh-HK.json +3 -0
  109. package/dist/collection/assets/t9n/create-related-feature/resources_zh-TW.json +3 -0
  110. package/dist/collection/assets/t9n/crowdsource-reporter/resources_ar.json +0 -1
  111. package/dist/collection/assets/t9n/crowdsource-reporter/resources_bg.json +0 -1
  112. package/dist/collection/assets/t9n/crowdsource-reporter/resources_bs.json +0 -1
  113. package/dist/collection/assets/t9n/crowdsource-reporter/resources_ca.json +0 -1
  114. package/dist/collection/assets/t9n/crowdsource-reporter/resources_cs.json +0 -1
  115. package/dist/collection/assets/t9n/crowdsource-reporter/resources_da.json +0 -1
  116. package/dist/collection/assets/t9n/crowdsource-reporter/resources_de.json +0 -1
  117. package/dist/collection/assets/t9n/crowdsource-reporter/resources_el.json +0 -1
  118. package/dist/collection/assets/t9n/crowdsource-reporter/resources_es.json +0 -1
  119. package/dist/collection/assets/t9n/crowdsource-reporter/resources_et.json +0 -1
  120. package/dist/collection/assets/t9n/crowdsource-reporter/resources_fi.json +0 -1
  121. package/dist/collection/assets/t9n/crowdsource-reporter/resources_fr.json +0 -1
  122. package/dist/collection/assets/t9n/crowdsource-reporter/resources_he.json +0 -1
  123. package/dist/collection/assets/t9n/crowdsource-reporter/resources_hr.json +0 -1
  124. package/dist/collection/assets/t9n/crowdsource-reporter/resources_hu.json +0 -1
  125. package/dist/collection/assets/t9n/crowdsource-reporter/resources_id.json +0 -1
  126. package/dist/collection/assets/t9n/crowdsource-reporter/resources_it.json +0 -1
  127. package/dist/collection/assets/t9n/crowdsource-reporter/resources_ja.json +0 -1
  128. package/dist/collection/assets/t9n/crowdsource-reporter/resources_ko.json +0 -1
  129. package/dist/collection/assets/t9n/crowdsource-reporter/resources_lt.json +0 -1
  130. package/dist/collection/assets/t9n/crowdsource-reporter/resources_lv.json +0 -1
  131. package/dist/collection/assets/t9n/crowdsource-reporter/resources_nb.json +0 -1
  132. package/dist/collection/assets/t9n/crowdsource-reporter/resources_nl.json +0 -1
  133. package/dist/collection/assets/t9n/crowdsource-reporter/resources_pl.json +0 -1
  134. package/dist/collection/assets/t9n/crowdsource-reporter/resources_pt-BR.json +0 -1
  135. package/dist/collection/assets/t9n/crowdsource-reporter/resources_pt-PT.json +0 -1
  136. package/dist/collection/assets/t9n/crowdsource-reporter/resources_ro.json +0 -1
  137. package/dist/collection/assets/t9n/crowdsource-reporter/resources_ru.json +0 -1
  138. package/dist/collection/assets/t9n/crowdsource-reporter/resources_sk.json +0 -1
  139. package/dist/collection/assets/t9n/crowdsource-reporter/resources_sl.json +0 -1
  140. package/dist/collection/assets/t9n/crowdsource-reporter/resources_sr.json +0 -1
  141. package/dist/collection/assets/t9n/crowdsource-reporter/resources_sv.json +0 -1
  142. package/dist/collection/assets/t9n/crowdsource-reporter/resources_th.json +0 -1
  143. package/dist/collection/assets/t9n/crowdsource-reporter/resources_tr.json +0 -1
  144. package/dist/collection/assets/t9n/crowdsource-reporter/resources_uk.json +0 -1
  145. package/dist/collection/assets/t9n/crowdsource-reporter/resources_vi.json +0 -1
  146. package/dist/collection/assets/t9n/crowdsource-reporter/resources_zh-CN.json +0 -1
  147. package/dist/collection/assets/t9n/crowdsource-reporter/resources_zh-HK.json +0 -1
  148. package/dist/collection/assets/t9n/crowdsource-reporter/resources_zh-TW.json +0 -1
  149. package/dist/collection/assets/t9n/delete-button/resources_ar.json +6 -6
  150. package/dist/collection/assets/t9n/delete-button/resources_bg.json +6 -6
  151. package/dist/collection/assets/t9n/delete-button/resources_bs.json +6 -6
  152. package/dist/collection/assets/t9n/delete-button/resources_ca.json +6 -6
  153. package/dist/collection/assets/t9n/delete-button/resources_cs.json +6 -6
  154. package/dist/collection/assets/t9n/delete-button/resources_da.json +6 -6
  155. package/dist/collection/assets/t9n/delete-button/resources_de.json +6 -6
  156. package/dist/collection/assets/t9n/delete-button/resources_el.json +6 -6
  157. package/dist/collection/assets/t9n/delete-button/resources_es.json +6 -6
  158. package/dist/collection/assets/t9n/delete-button/resources_et.json +6 -6
  159. package/dist/collection/assets/t9n/delete-button/resources_fi.json +6 -6
  160. package/dist/collection/assets/t9n/delete-button/resources_fr.json +6 -6
  161. package/dist/collection/assets/t9n/delete-button/resources_he.json +6 -6
  162. package/dist/collection/assets/t9n/delete-button/resources_hr.json +6 -6
  163. package/dist/collection/assets/t9n/delete-button/resources_hu.json +6 -6
  164. package/dist/collection/assets/t9n/delete-button/resources_id.json +6 -6
  165. package/dist/collection/assets/t9n/delete-button/resources_it.json +6 -6
  166. package/dist/collection/assets/t9n/delete-button/resources_ja.json +6 -6
  167. package/dist/collection/assets/t9n/delete-button/resources_ko.json +6 -6
  168. package/dist/collection/assets/t9n/delete-button/resources_lt.json +6 -6
  169. package/dist/collection/assets/t9n/delete-button/resources_lv.json +6 -6
  170. package/dist/collection/assets/t9n/delete-button/resources_nb.json +6 -6
  171. package/dist/collection/assets/t9n/delete-button/resources_nl.json +6 -6
  172. package/dist/collection/assets/t9n/delete-button/resources_pl.json +6 -6
  173. package/dist/collection/assets/t9n/delete-button/resources_pt-BR.json +6 -6
  174. package/dist/collection/assets/t9n/delete-button/resources_pt-PT.json +6 -6
  175. package/dist/collection/assets/t9n/delete-button/resources_ro.json +6 -6
  176. package/dist/collection/assets/t9n/delete-button/resources_ru.json +6 -6
  177. package/dist/collection/assets/t9n/delete-button/resources_sk.json +6 -6
  178. package/dist/collection/assets/t9n/delete-button/resources_sl.json +6 -6
  179. package/dist/collection/assets/t9n/delete-button/resources_sr.json +6 -6
  180. package/dist/collection/assets/t9n/delete-button/resources_sv.json +6 -6
  181. package/dist/collection/assets/t9n/delete-button/resources_th.json +6 -6
  182. package/dist/collection/assets/t9n/delete-button/resources_tr.json +6 -6
  183. package/dist/collection/assets/t9n/delete-button/resources_uk.json +6 -6
  184. package/dist/collection/assets/t9n/delete-button/resources_vi.json +6 -6
  185. package/dist/collection/assets/t9n/delete-button/resources_zh-CN.json +6 -6
  186. package/dist/collection/assets/t9n/delete-button/resources_zh-HK.json +6 -6
  187. package/dist/collection/assets/t9n/delete-button/resources_zh-TW.json +6 -6
  188. package/dist/collection/assets/t9n/edit-card/resources_ar.json +1 -1
  189. package/dist/collection/assets/t9n/edit-card/resources_bg.json +1 -1
  190. package/dist/collection/assets/t9n/edit-card/resources_bs.json +1 -1
  191. package/dist/collection/assets/t9n/edit-card/resources_ca.json +1 -1
  192. package/dist/collection/assets/t9n/edit-card/resources_cs.json +1 -1
  193. package/dist/collection/assets/t9n/edit-card/resources_da.json +1 -1
  194. package/dist/collection/assets/t9n/edit-card/resources_de.json +1 -1
  195. package/dist/collection/assets/t9n/edit-card/resources_el.json +1 -1
  196. package/dist/collection/assets/t9n/edit-card/resources_es.json +1 -1
  197. package/dist/collection/assets/t9n/edit-card/resources_et.json +1 -1
  198. package/dist/collection/assets/t9n/edit-card/resources_fi.json +1 -1
  199. package/dist/collection/assets/t9n/edit-card/resources_fr.json +1 -1
  200. package/dist/collection/assets/t9n/edit-card/resources_he.json +1 -1
  201. package/dist/collection/assets/t9n/edit-card/resources_hr.json +1 -1
  202. package/dist/collection/assets/t9n/edit-card/resources_hu.json +1 -1
  203. package/dist/collection/assets/t9n/edit-card/resources_id.json +1 -1
  204. package/dist/collection/assets/t9n/edit-card/resources_it.json +1 -1
  205. package/dist/collection/assets/t9n/edit-card/resources_ja.json +1 -1
  206. package/dist/collection/assets/t9n/edit-card/resources_ko.json +1 -1
  207. package/dist/collection/assets/t9n/edit-card/resources_lt.json +1 -1
  208. package/dist/collection/assets/t9n/edit-card/resources_lv.json +1 -1
  209. package/dist/collection/assets/t9n/edit-card/resources_nb.json +1 -1
  210. package/dist/collection/assets/t9n/edit-card/resources_nl.json +1 -1
  211. package/dist/collection/assets/t9n/edit-card/resources_pl.json +1 -1
  212. package/dist/collection/assets/t9n/edit-card/resources_pt-BR.json +1 -1
  213. package/dist/collection/assets/t9n/edit-card/resources_pt-PT.json +1 -1
  214. package/dist/collection/assets/t9n/edit-card/resources_ro.json +1 -1
  215. package/dist/collection/assets/t9n/edit-card/resources_ru.json +1 -1
  216. package/dist/collection/assets/t9n/edit-card/resources_sk.json +1 -1
  217. package/dist/collection/assets/t9n/edit-card/resources_sl.json +1 -1
  218. package/dist/collection/assets/t9n/edit-card/resources_sr.json +1 -1
  219. package/dist/collection/assets/t9n/edit-card/resources_sv.json +1 -1
  220. package/dist/collection/assets/t9n/edit-card/resources_th.json +1 -1
  221. package/dist/collection/assets/t9n/edit-card/resources_tr.json +1 -1
  222. package/dist/collection/assets/t9n/edit-card/resources_uk.json +1 -1
  223. package/dist/collection/assets/t9n/edit-card/resources_vi.json +1 -1
  224. package/dist/collection/assets/t9n/edit-card/resources_zh-CN.json +1 -1
  225. package/dist/collection/assets/t9n/edit-card/resources_zh-HK.json +1 -1
  226. package/dist/collection/assets/t9n/edit-card/resources_zh-TW.json +1 -1
  227. package/dist/collection/assets/t9n/info-card/resources_ar.json +8 -8
  228. package/dist/collection/assets/t9n/info-card/resources_bg.json +8 -8
  229. package/dist/collection/assets/t9n/info-card/resources_bs.json +8 -8
  230. package/dist/collection/assets/t9n/info-card/resources_ca.json +8 -8
  231. package/dist/collection/assets/t9n/info-card/resources_cs.json +8 -8
  232. package/dist/collection/assets/t9n/info-card/resources_da.json +8 -8
  233. package/dist/collection/assets/t9n/info-card/resources_de.json +8 -8
  234. package/dist/collection/assets/t9n/info-card/resources_el.json +8 -8
  235. package/dist/collection/assets/t9n/info-card/resources_es.json +8 -8
  236. package/dist/collection/assets/t9n/info-card/resources_et.json +8 -8
  237. package/dist/collection/assets/t9n/info-card/resources_fi.json +8 -8
  238. package/dist/collection/assets/t9n/info-card/resources_fr.json +8 -8
  239. package/dist/collection/assets/t9n/info-card/resources_he.json +8 -8
  240. package/dist/collection/assets/t9n/info-card/resources_hr.json +8 -8
  241. package/dist/collection/assets/t9n/info-card/resources_hu.json +8 -8
  242. package/dist/collection/assets/t9n/info-card/resources_id.json +8 -8
  243. package/dist/collection/assets/t9n/info-card/resources_it.json +8 -8
  244. package/dist/collection/assets/t9n/info-card/resources_ja.json +8 -8
  245. package/dist/collection/assets/t9n/info-card/resources_ko.json +8 -8
  246. package/dist/collection/assets/t9n/info-card/resources_lt.json +8 -8
  247. package/dist/collection/assets/t9n/info-card/resources_lv.json +8 -8
  248. package/dist/collection/assets/t9n/info-card/resources_nb.json +8 -8
  249. package/dist/collection/assets/t9n/info-card/resources_nl.json +8 -8
  250. package/dist/collection/assets/t9n/info-card/resources_pl.json +8 -8
  251. package/dist/collection/assets/t9n/info-card/resources_pt-BR.json +8 -8
  252. package/dist/collection/assets/t9n/info-card/resources_pt-PT.json +8 -8
  253. package/dist/collection/assets/t9n/info-card/resources_ro.json +8 -8
  254. package/dist/collection/assets/t9n/info-card/resources_ru.json +8 -8
  255. package/dist/collection/assets/t9n/info-card/resources_sk.json +8 -8
  256. package/dist/collection/assets/t9n/info-card/resources_sl.json +8 -8
  257. package/dist/collection/assets/t9n/info-card/resources_sr.json +8 -8
  258. package/dist/collection/assets/t9n/info-card/resources_sv.json +8 -8
  259. package/dist/collection/assets/t9n/info-card/resources_th.json +8 -8
  260. package/dist/collection/assets/t9n/info-card/resources_tr.json +8 -8
  261. package/dist/collection/assets/t9n/info-card/resources_uk.json +8 -8
  262. package/dist/collection/assets/t9n/info-card/resources_vi.json +8 -8
  263. package/dist/collection/assets/t9n/info-card/resources_zh-CN.json +8 -8
  264. package/dist/collection/assets/t9n/info-card/resources_zh-HK.json +8 -8
  265. package/dist/collection/assets/t9n/info-card/resources_zh-TW.json +8 -8
  266. package/dist/collection/assets/t9n/layer-table/resources.json +1 -0
  267. package/dist/collection/assets/t9n/layer-table/resources_en.json +1 -0
  268. package/dist/collection/assets/t9n/map-card/resources.json +2 -1
  269. package/dist/collection/assets/t9n/map-card/resources_en.json +2 -1
  270. package/dist/collection/components/card-manager/card-manager.js +22 -3
  271. package/dist/collection/components/create-feature/create-feature.js +36 -19
  272. package/dist/collection/components/crowdsource-manager/crowdsource-manager.css +8 -4
  273. package/dist/collection/components/crowdsource-manager/crowdsource-manager.js +64 -21
  274. package/dist/collection/components/crowdsource-reporter/crowdsource-reporter.js +1 -1
  275. package/dist/collection/components/delete-button/delete-button.js +1 -1
  276. package/dist/collection/components/edit-card/edit-card.js +1 -1
  277. package/dist/collection/components/feature-comments/feature-comments.js +1 -1
  278. package/dist/collection/components/feature-details/feature-details.js +6 -6
  279. package/dist/collection/components/feature-form-flow-item/feature-form-flow-item.js +1 -1
  280. package/dist/collection/components/feature-list/feature-list.js +3 -3
  281. package/dist/collection/components/features-flow-item/features-flow-item.js +1 -1
  282. package/dist/collection/components/floor-filter/floor-filter.js +1 -1
  283. package/dist/collection/components/info-card/info-card.js +2 -2
  284. package/dist/collection/components/json-editor/json-editor.js +1 -1
  285. package/dist/collection/components/layer-table/layer-table.css +4 -0
  286. package/dist/collection/components/layer-table/layer-table.js +49 -22
  287. package/dist/collection/components/layout-manager/layout-manager.js +1 -1
  288. package/dist/collection/components/list-flow-item/list-flow-item.js +1 -1
  289. package/dist/collection/components/location-flow-item/location-flow-item.js +1 -1
  290. package/dist/collection/components/map-card/map-card.css +10 -2
  291. package/dist/collection/components/map-card/map-card.js +471 -30
  292. package/dist/collection/components/map-draw-tools/map-draw-tools.js +1 -1
  293. package/dist/collection/components/map-fullscreen/map-fullscreen.js +1 -1
  294. package/dist/collection/components/map-layer-picker/map-layer-picker.js +55 -5
  295. package/dist/collection/components/map-legend/map-legend.js +1 -1
  296. package/dist/collection/components/map-picker/map-picker.css +7 -3
  297. package/dist/collection/components/map-picker/map-picker.js +3 -3
  298. package/dist/collection/components/map-search/map-search.js +1 -1
  299. package/dist/collection/components/map-select-tools/map-select-tools.js +1 -1
  300. package/dist/collection/components/map-tools/map-tools.js +1 -1
  301. package/dist/collection/components/pci-calculator/pci-calculator.js +1 -1
  302. package/dist/collection/components/pdf-download/pdf-download.js +1 -1
  303. package/dist/collection/components/public-notification/public-notification.js +1 -1
  304. package/dist/collection/components/refine-results-flow-item/refine-results-flow-item.js +1 -1
  305. package/dist/collection/components/refine-selection/refine-selection.js +1 -1
  306. package/dist/collection/components/share-item/share-item.js +1 -1
  307. package/dist/collection/components/solution-configuration/solution-configuration.js +3 -3
  308. package/dist/collection/components/solution-contents/solution-contents.js +1 -1
  309. package/dist/collection/components/solution-item/solution-item.js +1 -1
  310. package/dist/collection/components/solution-item-accordion/solution-item-accordion.js +1 -1
  311. package/dist/collection/components/solution-item-details/solution-item-details.js +1 -1
  312. package/dist/collection/components/solution-item-icon/solution-item-icon.js +1 -1
  313. package/dist/collection/components/solution-item-sharing/solution-item-sharing.js +1 -1
  314. package/dist/collection/components/solution-organization-variables/solution-organization-variables.js +1 -1
  315. package/dist/collection/components/solution-resource-item/solution-resource-item.js +1 -1
  316. package/dist/collection/components/solution-spatial-ref/solution-spatial-ref.js +1 -1
  317. package/dist/collection/components/solution-template-data/solution-template-data.js +1 -1
  318. package/dist/collection/components/solution-variables/solution-variables.js +1 -1
  319. package/dist/collection/components/spatial-ref/spatial-ref.js +1 -1
  320. package/dist/components/card-manager2.js +6 -3
  321. package/dist/components/create-feature2.js +19 -19
  322. package/dist/components/crowdsource-manager.js +60 -23
  323. package/dist/components/crowdsource-reporter.js +1 -1
  324. package/dist/components/delete-button2.js +19 -13
  325. package/dist/components/edit-card2.js +1 -1
  326. package/dist/components/feature-comments.js +1 -1
  327. package/dist/components/feature-details2.js +6 -6
  328. package/dist/components/feature-form-flow-item.js +1 -1
  329. package/dist/components/feature-list2.js +3 -3
  330. package/dist/components/features-flow-item.js +1 -1
  331. package/dist/components/floor-filter2.js +1 -1
  332. package/dist/components/info-card2.js +2 -2
  333. package/dist/components/json-editor2.js +1 -1
  334. package/dist/components/layer-table2.js +44 -23
  335. package/dist/components/layout-manager.js +1 -1
  336. package/dist/components/list-flow-item.js +1 -1
  337. package/dist/components/location-flow-item.js +1 -1
  338. package/dist/components/map-card2.js +436 -33
  339. package/dist/components/map-draw-tools2.js +1 -1
  340. package/dist/components/map-fullscreen2.js +1 -1
  341. package/dist/components/map-layer-picker2.js +19 -5
  342. package/dist/components/map-legend2.js +1 -1
  343. package/dist/components/map-picker2.js +4 -4
  344. package/dist/components/map-search2.js +1 -1
  345. package/dist/components/map-select-tools2.js +1 -1
  346. package/dist/components/map-tools2.js +1 -1
  347. package/dist/components/pci-calculator.js +1 -1
  348. package/dist/components/pdf-download2.js +1 -1
  349. package/dist/components/public-notification.js +1 -1
  350. package/dist/components/refine-results-flow-item.js +1 -1
  351. package/dist/components/refine-selection2.js +1 -1
  352. package/dist/components/share-item.js +1 -1
  353. package/dist/components/solution-configuration.js +3 -3
  354. package/dist/components/solution-contents2.js +1 -1
  355. package/dist/components/solution-item-accordion.js +1 -1
  356. package/dist/components/solution-item-details2.js +1 -1
  357. package/dist/components/solution-item-icon2.js +1 -1
  358. package/dist/components/solution-item-sharing2.js +1 -1
  359. package/dist/components/solution-item2.js +1 -1
  360. package/dist/components/solution-organization-variables2.js +1 -1
  361. package/dist/components/solution-resource-item2.js +1 -1
  362. package/dist/components/solution-spatial-ref2.js +1 -1
  363. package/dist/components/solution-template-data2.js +1 -1
  364. package/dist/components/solution-variables2.js +1 -1
  365. package/dist/components/spatial-ref.js +1 -1
  366. package/dist/esm/basemap-gallery_7.entry.js +9 -9
  367. package/dist/esm/buffer-tools_3.entry.js +1 -1
  368. package/dist/esm/calcite-alert_5.entry.js +20 -21
  369. package/dist/esm/calcite-combobox_3.entry.js +16 -4
  370. package/dist/esm/calcite-flow_4.entry.js +6 -6
  371. package/dist/esm/calcite-modal_3.entry.js +1 -1
  372. package/dist/esm/calcite-shell-panel_14.entry.js +7 -7
  373. package/dist/esm/card-manager_3.entry.js +474 -54
  374. package/dist/esm/crowdsource-manager.entry.js +55 -21
  375. package/dist/esm/crowdsource-reporter.entry.js +1 -1
  376. package/dist/esm/feature-comments.entry.js +1 -1
  377. package/dist/esm/feature-form-flow-item.entry.js +1 -1
  378. package/dist/esm/feature-list.entry.js +3 -3
  379. package/dist/esm/features-flow-item.entry.js +1 -1
  380. package/dist/esm/layout-manager.entry.js +1 -1
  381. package/dist/esm/list-flow-item.entry.js +1 -1
  382. package/dist/esm/loader.js +1 -1
  383. package/dist/esm/location-flow-item.entry.js +1 -1
  384. package/dist/esm/map-select-tools_3.entry.js +3 -3
  385. package/dist/esm/pci-calculator.entry.js +1 -1
  386. package/dist/esm/public-notification.entry.js +1 -1
  387. package/dist/esm/refine-results-flow-item.entry.js +1 -1
  388. package/dist/esm/share-item.entry.js +1 -1
  389. package/dist/esm/solution-configuration.entry.js +3 -3
  390. package/dist/esm/solution-contents_3.entry.js +3 -3
  391. package/dist/esm/solution-item-accordion.entry.js +1 -1
  392. package/dist/esm/solution-item-icon.entry.js +1 -1
  393. package/dist/esm/solutions-components.js +1 -1
  394. package/dist/esm/spatial-ref.entry.js +1 -1
  395. package/dist/solutions-components/assets/t9n/card-manager/resources.json +1 -0
  396. package/dist/solutions-components/assets/t9n/card-manager/resources_en.json +2 -1
  397. package/dist/solutions-components/assets/t9n/create-feature/resources_ar.json +5 -0
  398. package/dist/solutions-components/assets/t9n/create-feature/resources_bg.json +5 -0
  399. package/dist/solutions-components/assets/t9n/create-feature/resources_bs.json +5 -0
  400. package/dist/solutions-components/assets/t9n/create-feature/resources_ca.json +5 -0
  401. package/dist/solutions-components/assets/t9n/create-feature/resources_cs.json +5 -0
  402. package/dist/solutions-components/assets/t9n/create-feature/resources_da.json +5 -0
  403. package/dist/solutions-components/assets/t9n/create-feature/resources_de.json +5 -0
  404. package/dist/solutions-components/assets/t9n/create-feature/resources_el.json +5 -0
  405. package/dist/solutions-components/assets/t9n/create-feature/resources_es.json +5 -0
  406. package/dist/solutions-components/assets/t9n/create-feature/resources_et.json +5 -0
  407. package/dist/solutions-components/assets/t9n/create-feature/resources_fi.json +5 -0
  408. package/dist/solutions-components/assets/t9n/create-feature/resources_fr.json +5 -0
  409. package/dist/solutions-components/assets/t9n/create-feature/resources_he.json +5 -0
  410. package/dist/solutions-components/assets/t9n/create-feature/resources_hr.json +5 -0
  411. package/dist/solutions-components/assets/t9n/create-feature/resources_hu.json +5 -0
  412. package/dist/solutions-components/assets/t9n/create-feature/resources_id.json +5 -0
  413. package/dist/solutions-components/assets/t9n/create-feature/resources_it.json +5 -0
  414. package/dist/solutions-components/assets/t9n/create-feature/resources_ja.json +5 -0
  415. package/dist/solutions-components/assets/t9n/create-feature/resources_ko.json +5 -0
  416. package/dist/solutions-components/assets/t9n/create-feature/resources_lt.json +5 -0
  417. package/dist/solutions-components/assets/t9n/create-feature/resources_lv.json +5 -0
  418. package/dist/solutions-components/assets/t9n/create-feature/resources_nb.json +5 -0
  419. package/dist/solutions-components/assets/t9n/create-feature/resources_nl.json +5 -0
  420. package/dist/solutions-components/assets/t9n/create-feature/resources_pl.json +5 -0
  421. package/dist/solutions-components/assets/t9n/create-feature/resources_pt-BR.json +5 -0
  422. package/dist/solutions-components/assets/t9n/create-feature/resources_pt-PT.json +5 -0
  423. package/dist/solutions-components/assets/t9n/create-feature/resources_ro.json +5 -0
  424. package/dist/solutions-components/assets/t9n/create-feature/resources_ru.json +5 -0
  425. package/dist/solutions-components/assets/t9n/create-feature/resources_sk.json +5 -0
  426. package/dist/solutions-components/assets/t9n/create-feature/resources_sl.json +5 -0
  427. package/dist/solutions-components/assets/t9n/create-feature/resources_sr.json +5 -0
  428. package/dist/solutions-components/assets/t9n/create-feature/resources_sv.json +5 -0
  429. package/dist/solutions-components/assets/t9n/create-feature/resources_th.json +5 -0
  430. package/dist/solutions-components/assets/t9n/create-feature/resources_tr.json +5 -0
  431. package/dist/solutions-components/assets/t9n/create-feature/resources_uk.json +5 -0
  432. package/dist/solutions-components/assets/t9n/create-feature/resources_vi.json +5 -0
  433. package/dist/solutions-components/assets/t9n/create-feature/resources_zh-CN.json +5 -0
  434. package/dist/solutions-components/assets/t9n/create-feature/resources_zh-HK.json +5 -0
  435. package/dist/solutions-components/assets/t9n/create-feature/resources_zh-TW.json +5 -0
  436. package/dist/solutions-components/assets/t9n/create-related-feature/resources_ar.json +3 -0
  437. package/dist/solutions-components/assets/t9n/create-related-feature/resources_bg.json +3 -0
  438. package/dist/solutions-components/assets/t9n/create-related-feature/resources_bs.json +3 -0
  439. package/dist/solutions-components/assets/t9n/create-related-feature/resources_ca.json +3 -0
  440. package/dist/solutions-components/assets/t9n/create-related-feature/resources_cs.json +3 -0
  441. package/dist/solutions-components/assets/t9n/create-related-feature/resources_da.json +3 -0
  442. package/dist/solutions-components/assets/t9n/create-related-feature/resources_de.json +3 -0
  443. package/dist/solutions-components/assets/t9n/create-related-feature/resources_el.json +3 -0
  444. package/dist/solutions-components/assets/t9n/create-related-feature/resources_es.json +3 -0
  445. package/dist/solutions-components/assets/t9n/create-related-feature/resources_et.json +3 -0
  446. package/dist/solutions-components/assets/t9n/create-related-feature/resources_fi.json +3 -0
  447. package/dist/solutions-components/assets/t9n/create-related-feature/resources_fr.json +3 -0
  448. package/dist/solutions-components/assets/t9n/create-related-feature/resources_he.json +3 -0
  449. package/dist/solutions-components/assets/t9n/create-related-feature/resources_hr.json +3 -0
  450. package/dist/solutions-components/assets/t9n/create-related-feature/resources_hu.json +3 -0
  451. package/dist/solutions-components/assets/t9n/create-related-feature/resources_id.json +3 -0
  452. package/dist/solutions-components/assets/t9n/create-related-feature/resources_it.json +3 -0
  453. package/dist/solutions-components/assets/t9n/create-related-feature/resources_ja.json +3 -0
  454. package/dist/solutions-components/assets/t9n/create-related-feature/resources_ko.json +3 -0
  455. package/dist/solutions-components/assets/t9n/create-related-feature/resources_lt.json +3 -0
  456. package/dist/solutions-components/assets/t9n/create-related-feature/resources_lv.json +3 -0
  457. package/dist/solutions-components/assets/t9n/create-related-feature/resources_nb.json +3 -0
  458. package/dist/solutions-components/assets/t9n/create-related-feature/resources_nl.json +3 -0
  459. package/dist/solutions-components/assets/t9n/create-related-feature/resources_pl.json +3 -0
  460. package/dist/solutions-components/assets/t9n/create-related-feature/resources_pt-BR.json +3 -0
  461. package/dist/solutions-components/assets/t9n/create-related-feature/resources_pt-PT.json +3 -0
  462. package/dist/solutions-components/assets/t9n/create-related-feature/resources_ro.json +3 -0
  463. package/dist/solutions-components/assets/t9n/create-related-feature/resources_ru.json +3 -0
  464. package/dist/solutions-components/assets/t9n/create-related-feature/resources_sk.json +3 -0
  465. package/dist/solutions-components/assets/t9n/create-related-feature/resources_sl.json +3 -0
  466. package/dist/solutions-components/assets/t9n/create-related-feature/resources_sr.json +3 -0
  467. package/dist/solutions-components/assets/t9n/create-related-feature/resources_sv.json +3 -0
  468. package/dist/solutions-components/assets/t9n/create-related-feature/resources_th.json +3 -0
  469. package/dist/solutions-components/assets/t9n/create-related-feature/resources_tr.json +3 -0
  470. package/dist/solutions-components/assets/t9n/create-related-feature/resources_uk.json +3 -0
  471. package/dist/solutions-components/assets/t9n/create-related-feature/resources_vi.json +3 -0
  472. package/dist/solutions-components/assets/t9n/create-related-feature/resources_zh-CN.json +3 -0
  473. package/dist/solutions-components/assets/t9n/create-related-feature/resources_zh-HK.json +3 -0
  474. package/dist/solutions-components/assets/t9n/create-related-feature/resources_zh-TW.json +3 -0
  475. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_ar.json +0 -1
  476. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_bg.json +0 -1
  477. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_bs.json +0 -1
  478. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_ca.json +0 -1
  479. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_cs.json +0 -1
  480. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_da.json +0 -1
  481. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_de.json +0 -1
  482. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_el.json +0 -1
  483. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_es.json +0 -1
  484. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_et.json +0 -1
  485. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_fi.json +0 -1
  486. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_fr.json +0 -1
  487. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_he.json +0 -1
  488. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_hr.json +0 -1
  489. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_hu.json +0 -1
  490. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_id.json +0 -1
  491. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_it.json +0 -1
  492. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_ja.json +0 -1
  493. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_ko.json +0 -1
  494. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_lt.json +0 -1
  495. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_lv.json +0 -1
  496. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_nb.json +0 -1
  497. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_nl.json +0 -1
  498. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_pl.json +0 -1
  499. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_pt-BR.json +0 -1
  500. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_pt-PT.json +0 -1
  501. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_ro.json +0 -1
  502. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_ru.json +0 -1
  503. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_sk.json +0 -1
  504. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_sl.json +0 -1
  505. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_sr.json +0 -1
  506. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_sv.json +0 -1
  507. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_th.json +0 -1
  508. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_tr.json +0 -1
  509. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_uk.json +0 -1
  510. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_vi.json +0 -1
  511. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_zh-CN.json +0 -1
  512. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_zh-HK.json +0 -1
  513. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_zh-TW.json +0 -1
  514. package/dist/solutions-components/assets/t9n/delete-button/resources_ar.json +6 -6
  515. package/dist/solutions-components/assets/t9n/delete-button/resources_bg.json +6 -6
  516. package/dist/solutions-components/assets/t9n/delete-button/resources_bs.json +6 -6
  517. package/dist/solutions-components/assets/t9n/delete-button/resources_ca.json +6 -6
  518. package/dist/solutions-components/assets/t9n/delete-button/resources_cs.json +6 -6
  519. package/dist/solutions-components/assets/t9n/delete-button/resources_da.json +6 -6
  520. package/dist/solutions-components/assets/t9n/delete-button/resources_de.json +6 -6
  521. package/dist/solutions-components/assets/t9n/delete-button/resources_el.json +6 -6
  522. package/dist/solutions-components/assets/t9n/delete-button/resources_es.json +6 -6
  523. package/dist/solutions-components/assets/t9n/delete-button/resources_et.json +6 -6
  524. package/dist/solutions-components/assets/t9n/delete-button/resources_fi.json +6 -6
  525. package/dist/solutions-components/assets/t9n/delete-button/resources_fr.json +6 -6
  526. package/dist/solutions-components/assets/t9n/delete-button/resources_he.json +6 -6
  527. package/dist/solutions-components/assets/t9n/delete-button/resources_hr.json +6 -6
  528. package/dist/solutions-components/assets/t9n/delete-button/resources_hu.json +6 -6
  529. package/dist/solutions-components/assets/t9n/delete-button/resources_id.json +6 -6
  530. package/dist/solutions-components/assets/t9n/delete-button/resources_it.json +6 -6
  531. package/dist/solutions-components/assets/t9n/delete-button/resources_ja.json +6 -6
  532. package/dist/solutions-components/assets/t9n/delete-button/resources_ko.json +6 -6
  533. package/dist/solutions-components/assets/t9n/delete-button/resources_lt.json +6 -6
  534. package/dist/solutions-components/assets/t9n/delete-button/resources_lv.json +6 -6
  535. package/dist/solutions-components/assets/t9n/delete-button/resources_nb.json +6 -6
  536. package/dist/solutions-components/assets/t9n/delete-button/resources_nl.json +6 -6
  537. package/dist/solutions-components/assets/t9n/delete-button/resources_pl.json +6 -6
  538. package/dist/solutions-components/assets/t9n/delete-button/resources_pt-BR.json +6 -6
  539. package/dist/solutions-components/assets/t9n/delete-button/resources_pt-PT.json +6 -6
  540. package/dist/solutions-components/assets/t9n/delete-button/resources_ro.json +6 -6
  541. package/dist/solutions-components/assets/t9n/delete-button/resources_ru.json +6 -6
  542. package/dist/solutions-components/assets/t9n/delete-button/resources_sk.json +6 -6
  543. package/dist/solutions-components/assets/t9n/delete-button/resources_sl.json +6 -6
  544. package/dist/solutions-components/assets/t9n/delete-button/resources_sr.json +6 -6
  545. package/dist/solutions-components/assets/t9n/delete-button/resources_sv.json +6 -6
  546. package/dist/solutions-components/assets/t9n/delete-button/resources_th.json +6 -6
  547. package/dist/solutions-components/assets/t9n/delete-button/resources_tr.json +6 -6
  548. package/dist/solutions-components/assets/t9n/delete-button/resources_uk.json +6 -6
  549. package/dist/solutions-components/assets/t9n/delete-button/resources_vi.json +6 -6
  550. package/dist/solutions-components/assets/t9n/delete-button/resources_zh-CN.json +6 -6
  551. package/dist/solutions-components/assets/t9n/delete-button/resources_zh-HK.json +6 -6
  552. package/dist/solutions-components/assets/t9n/delete-button/resources_zh-TW.json +6 -6
  553. package/dist/solutions-components/assets/t9n/edit-card/resources_ar.json +1 -1
  554. package/dist/solutions-components/assets/t9n/edit-card/resources_bg.json +1 -1
  555. package/dist/solutions-components/assets/t9n/edit-card/resources_bs.json +1 -1
  556. package/dist/solutions-components/assets/t9n/edit-card/resources_ca.json +1 -1
  557. package/dist/solutions-components/assets/t9n/edit-card/resources_cs.json +1 -1
  558. package/dist/solutions-components/assets/t9n/edit-card/resources_da.json +1 -1
  559. package/dist/solutions-components/assets/t9n/edit-card/resources_de.json +1 -1
  560. package/dist/solutions-components/assets/t9n/edit-card/resources_el.json +1 -1
  561. package/dist/solutions-components/assets/t9n/edit-card/resources_es.json +1 -1
  562. package/dist/solutions-components/assets/t9n/edit-card/resources_et.json +1 -1
  563. package/dist/solutions-components/assets/t9n/edit-card/resources_fi.json +1 -1
  564. package/dist/solutions-components/assets/t9n/edit-card/resources_fr.json +1 -1
  565. package/dist/solutions-components/assets/t9n/edit-card/resources_he.json +1 -1
  566. package/dist/solutions-components/assets/t9n/edit-card/resources_hr.json +1 -1
  567. package/dist/solutions-components/assets/t9n/edit-card/resources_hu.json +1 -1
  568. package/dist/solutions-components/assets/t9n/edit-card/resources_id.json +1 -1
  569. package/dist/solutions-components/assets/t9n/edit-card/resources_it.json +1 -1
  570. package/dist/solutions-components/assets/t9n/edit-card/resources_ja.json +1 -1
  571. package/dist/solutions-components/assets/t9n/edit-card/resources_ko.json +1 -1
  572. package/dist/solutions-components/assets/t9n/edit-card/resources_lt.json +1 -1
  573. package/dist/solutions-components/assets/t9n/edit-card/resources_lv.json +1 -1
  574. package/dist/solutions-components/assets/t9n/edit-card/resources_nb.json +1 -1
  575. package/dist/solutions-components/assets/t9n/edit-card/resources_nl.json +1 -1
  576. package/dist/solutions-components/assets/t9n/edit-card/resources_pl.json +1 -1
  577. package/dist/solutions-components/assets/t9n/edit-card/resources_pt-BR.json +1 -1
  578. package/dist/solutions-components/assets/t9n/edit-card/resources_pt-PT.json +1 -1
  579. package/dist/solutions-components/assets/t9n/edit-card/resources_ro.json +1 -1
  580. package/dist/solutions-components/assets/t9n/edit-card/resources_ru.json +1 -1
  581. package/dist/solutions-components/assets/t9n/edit-card/resources_sk.json +1 -1
  582. package/dist/solutions-components/assets/t9n/edit-card/resources_sl.json +1 -1
  583. package/dist/solutions-components/assets/t9n/edit-card/resources_sr.json +1 -1
  584. package/dist/solutions-components/assets/t9n/edit-card/resources_sv.json +1 -1
  585. package/dist/solutions-components/assets/t9n/edit-card/resources_th.json +1 -1
  586. package/dist/solutions-components/assets/t9n/edit-card/resources_tr.json +1 -1
  587. package/dist/solutions-components/assets/t9n/edit-card/resources_uk.json +1 -1
  588. package/dist/solutions-components/assets/t9n/edit-card/resources_vi.json +1 -1
  589. package/dist/solutions-components/assets/t9n/edit-card/resources_zh-CN.json +1 -1
  590. package/dist/solutions-components/assets/t9n/edit-card/resources_zh-HK.json +1 -1
  591. package/dist/solutions-components/assets/t9n/edit-card/resources_zh-TW.json +1 -1
  592. package/dist/solutions-components/assets/t9n/info-card/resources_ar.json +8 -8
  593. package/dist/solutions-components/assets/t9n/info-card/resources_bg.json +8 -8
  594. package/dist/solutions-components/assets/t9n/info-card/resources_bs.json +8 -8
  595. package/dist/solutions-components/assets/t9n/info-card/resources_ca.json +8 -8
  596. package/dist/solutions-components/assets/t9n/info-card/resources_cs.json +8 -8
  597. package/dist/solutions-components/assets/t9n/info-card/resources_da.json +8 -8
  598. package/dist/solutions-components/assets/t9n/info-card/resources_de.json +8 -8
  599. package/dist/solutions-components/assets/t9n/info-card/resources_el.json +8 -8
  600. package/dist/solutions-components/assets/t9n/info-card/resources_es.json +8 -8
  601. package/dist/solutions-components/assets/t9n/info-card/resources_et.json +8 -8
  602. package/dist/solutions-components/assets/t9n/info-card/resources_fi.json +8 -8
  603. package/dist/solutions-components/assets/t9n/info-card/resources_fr.json +8 -8
  604. package/dist/solutions-components/assets/t9n/info-card/resources_he.json +8 -8
  605. package/dist/solutions-components/assets/t9n/info-card/resources_hr.json +8 -8
  606. package/dist/solutions-components/assets/t9n/info-card/resources_hu.json +8 -8
  607. package/dist/solutions-components/assets/t9n/info-card/resources_id.json +8 -8
  608. package/dist/solutions-components/assets/t9n/info-card/resources_it.json +8 -8
  609. package/dist/solutions-components/assets/t9n/info-card/resources_ja.json +8 -8
  610. package/dist/solutions-components/assets/t9n/info-card/resources_ko.json +8 -8
  611. package/dist/solutions-components/assets/t9n/info-card/resources_lt.json +8 -8
  612. package/dist/solutions-components/assets/t9n/info-card/resources_lv.json +8 -8
  613. package/dist/solutions-components/assets/t9n/info-card/resources_nb.json +8 -8
  614. package/dist/solutions-components/assets/t9n/info-card/resources_nl.json +8 -8
  615. package/dist/solutions-components/assets/t9n/info-card/resources_pl.json +8 -8
  616. package/dist/solutions-components/assets/t9n/info-card/resources_pt-BR.json +8 -8
  617. package/dist/solutions-components/assets/t9n/info-card/resources_pt-PT.json +8 -8
  618. package/dist/solutions-components/assets/t9n/info-card/resources_ro.json +8 -8
  619. package/dist/solutions-components/assets/t9n/info-card/resources_ru.json +8 -8
  620. package/dist/solutions-components/assets/t9n/info-card/resources_sk.json +8 -8
  621. package/dist/solutions-components/assets/t9n/info-card/resources_sl.json +8 -8
  622. package/dist/solutions-components/assets/t9n/info-card/resources_sr.json +8 -8
  623. package/dist/solutions-components/assets/t9n/info-card/resources_sv.json +8 -8
  624. package/dist/solutions-components/assets/t9n/info-card/resources_th.json +8 -8
  625. package/dist/solutions-components/assets/t9n/info-card/resources_tr.json +8 -8
  626. package/dist/solutions-components/assets/t9n/info-card/resources_uk.json +8 -8
  627. package/dist/solutions-components/assets/t9n/info-card/resources_vi.json +8 -8
  628. package/dist/solutions-components/assets/t9n/info-card/resources_zh-CN.json +8 -8
  629. package/dist/solutions-components/assets/t9n/info-card/resources_zh-HK.json +8 -8
  630. package/dist/solutions-components/assets/t9n/info-card/resources_zh-TW.json +8 -8
  631. package/dist/solutions-components/assets/t9n/layer-table/resources.json +1 -0
  632. package/dist/solutions-components/assets/t9n/layer-table/resources_en.json +1 -0
  633. package/dist/solutions-components/assets/t9n/map-card/resources.json +2 -1
  634. package/dist/solutions-components/assets/t9n/map-card/resources_en.json +2 -1
  635. package/dist/solutions-components/{p-af3e49d8.entry.js → p-0a311862.entry.js} +1 -1
  636. package/dist/solutions-components/{p-f88c3477.entry.js → p-100bf9eb.entry.js} +1 -1
  637. package/dist/solutions-components/{p-ac7868a6.entry.js → p-2cc624c3.entry.js} +1 -1
  638. package/dist/solutions-components/p-31524836.entry.js +6 -0
  639. package/dist/solutions-components/p-3305a61f.entry.js +6 -0
  640. package/dist/solutions-components/{p-030e5077.entry.js → p-3e3b7172.entry.js} +1 -1
  641. package/dist/solutions-components/p-52dad11d.entry.js +6 -0
  642. package/dist/solutions-components/{p-5d58d70c.entry.js → p-565bc712.entry.js} +1 -1
  643. package/dist/solutions-components/{p-1b0fe5b1.entry.js → p-77052872.entry.js} +1 -1
  644. package/dist/solutions-components/{p-1c5f17cb.entry.js → p-776995b1.entry.js} +1 -1
  645. package/dist/solutions-components/{p-e8aa44e2.entry.js → p-81512d73.entry.js} +1 -1
  646. package/dist/solutions-components/{p-9384cc65.entry.js → p-8267d344.entry.js} +1 -1
  647. package/dist/solutions-components/{p-16a3f7ca.entry.js → p-8be24ce9.entry.js} +1 -1
  648. package/dist/solutions-components/p-8d0f6824.entry.js +6 -0
  649. package/dist/solutions-components/p-9850998d.entry.js +6 -0
  650. package/dist/solutions-components/{p-5a997dc9.entry.js → p-a095dadb.entry.js} +3 -3
  651. package/dist/solutions-components/{p-42cd083f.entry.js → p-a0a77f45.entry.js} +2 -2
  652. package/dist/solutions-components/p-abd68931.entry.js +6 -0
  653. package/dist/solutions-components/p-ad1c27ef.entry.js +6 -0
  654. package/dist/solutions-components/{p-39e9ae5c.entry.js → p-c13774d5.entry.js} +1 -1
  655. package/dist/solutions-components/{p-57025491.entry.js → p-c346ca43.entry.js} +1 -1
  656. package/dist/solutions-components/{p-18307307.entry.js → p-c976ac3b.entry.js} +1 -1
  657. package/dist/solutions-components/{p-5cef36d6.entry.js → p-d9b8b4e2.entry.js} +1 -1
  658. package/dist/solutions-components/p-e0f10596.entry.js +6 -0
  659. package/dist/solutions-components/{p-3e9a487b.entry.js → p-f359c162.entry.js} +2 -2
  660. package/dist/solutions-components/p-f3e3a4d5.entry.js +6 -0
  661. package/dist/solutions-components/p-f6eeac1b.entry.js +17 -0
  662. package/dist/solutions-components/solutions-components.esm.js +1 -1
  663. package/dist/types/components/card-manager/card-manager.d.ts +5 -1
  664. package/dist/types/components/create-feature/create-feature.d.ts +8 -6
  665. package/dist/types/components/crowdsource-manager/crowdsource-manager.d.ts +20 -0
  666. package/dist/types/components/layer-table/layer-table.d.ts +10 -2
  667. package/dist/types/components/map-card/map-card.d.ts +180 -14
  668. package/dist/types/components/map-layer-picker/map-layer-picker.d.ts +9 -1
  669. package/dist/types/components.d.ts +43 -6
  670. package/dist/types/preact.d.ts +2 -1
  671. package/package.json +1 -1
  672. package/dist/solutions-components/p-062e5705.entry.js +0 -6
  673. package/dist/solutions-components/p-374d0fdc.entry.js +0 -6
  674. package/dist/solutions-components/p-3c89bfe5.entry.js +0 -6
  675. package/dist/solutions-components/p-671fd156.entry.js +0 -6
  676. package/dist/solutions-components/p-6b1d1546.entry.js +0 -17
  677. package/dist/solutions-components/p-a8b42e35.entry.js +0 -6
  678. package/dist/solutions-components/p-aa85b136.entry.js +0 -6
  679. package/dist/solutions-components/p-b75c4db2.entry.js +0 -6
  680. package/dist/solutions-components/p-f3166d51.entry.js +0 -6
  681. package/dist/solutions-components/p-f6dc7347.entry.js +0 -6
@@ -18,7 +18,7 @@
18
18
  * See the License for the specific language governing permissions and
19
19
  * limitations under the License.
20
20
  */
21
- import { Host, h, Fragment } from "@stencil/core";
21
+ import { Host, h } from "@stencil/core";
22
22
  import { loadModules } from "../../utils/loadModules";
23
23
  import { joinAppProxies } from "templates-common-library-esm/functionality/proxy";
24
24
  import { getLocaleComponentStrings } from "../../utils/locale";
@@ -65,6 +65,8 @@ export class MapCard {
65
65
  this._searchConfiguration = undefined;
66
66
  this._webMapInfo = undefined;
67
67
  this._showHideOpen = false;
68
+ this._toolInfos = undefined;
69
+ this._controlsThatFit = undefined;
68
70
  }
69
71
  //--------------------------------------------------------------------------
70
72
  //
@@ -133,6 +135,38 @@ export class MapCard {
133
135
  * string: The current layers definition expression
134
136
  */
135
137
  _definitionExpression;
138
+ /**
139
+ * HTMLMapLayerPickerElement: The Map layer picker refrence element
140
+ */
141
+ _mapLayerPicker;
142
+ /**
143
+ * ResizeObserver: The observer that watches for toolbar size changes
144
+ */
145
+ _resizeObserver;
146
+ /**
147
+ * HTMLCalciteDropdownElement: Dropdown the will support show/hide of table columns
148
+ */
149
+ _showHideDropdown;
150
+ /**
151
+ * HTMLDivElement: The toolbars containing node
152
+ */
153
+ _toolbar;
154
+ /**
155
+ * any: Timeout used to limit redundancy for toolbar resizing
156
+ */
157
+ _timeout;
158
+ /**
159
+ * IToolSizeInfo[]: Id and Width for the current tools
160
+ */
161
+ _toolbarSizeInfos;
162
+ /**
163
+ * IToolSizeInfo[]: The default list of tool size info for tools that should display outside of the dropdown
164
+ */
165
+ _defaultVisibleToolSizeInfos;
166
+ /**
167
+ * boolean: When true the observer has been set and we don't need to set it again
168
+ */
169
+ _observerSet = false;
136
170
  //--------------------------------------------------------------------------
137
171
  //
138
172
  // Watch handlers
@@ -152,6 +186,28 @@ export class MapCard {
152
186
  this._definitionExpression = this.selectedLayer.definitionExpression;
153
187
  });
154
188
  }
189
+ /**
190
+ * watch for features ids changes
191
+ */
192
+ async selectedFeaturesIdsWatchHandler() {
193
+ this._validateEnabledActions();
194
+ }
195
+ /**
196
+ * watch for changes to the list of controls that will currently fit in the display
197
+ */
198
+ _controlsThatFitWatchHandler() {
199
+ const ids = this._controlsThatFit ? this._controlsThatFit.reduce((prev, cur) => {
200
+ prev.push(cur.id);
201
+ return prev;
202
+ }, []) : [];
203
+ this._toolInfos = this._toolInfos?.map(ti => {
204
+ if (ti && this._controlsThatFit) {
205
+ const id = this._getId(ti.icon);
206
+ ti.isOverflow = ids.indexOf(id) < 0;
207
+ return ti;
208
+ }
209
+ });
210
+ }
155
211
  //--------------------------------------------------------------------------
156
212
  //
157
213
  // Methods (public)
@@ -160,15 +216,21 @@ export class MapCard {
160
216
  /**
161
217
  * Reset the filter
162
218
  */
163
- async filterReset() {
219
+ async resetFilter() {
164
220
  this._filterActive = false;
165
221
  }
166
222
  /**
167
223
  * updates the filter
168
224
  */
169
- async updateFilter() {
225
+ async updateFilterState() {
170
226
  this._filterActive = this._definitionExpression !== this.selectedLayer.definitionExpression;
171
227
  }
228
+ /**
229
+ * updates the layer in map layer picker
230
+ */
231
+ async updateLayer() {
232
+ void this._mapLayerPicker.updateLayer();
233
+ }
172
234
  //--------------------------------------------------------------------------
173
235
  //
174
236
  // Events (public)
@@ -186,6 +248,10 @@ export class MapCard {
186
248
  * Emitted on demand when filter action is clicked
187
249
  */
188
250
  toggleFilter;
251
+ /**
252
+ * Emitted on demand when clear selection button is clicked
253
+ */
254
+ clearSelection;
189
255
  /**
190
256
  * Listen for changes to map info and load the appropriate map
191
257
  */
@@ -199,6 +265,14 @@ export class MapCard {
199
265
  this.selectedLayer = undefined;
200
266
  this.selectedFeaturesIds = [];
201
267
  }
268
+ /**
269
+ * Handles layer selection change to show new table
270
+ */
271
+ layerSelectionChange() {
272
+ setTimeout(() => {
273
+ this._initToolInfos();
274
+ }, 50);
275
+ }
202
276
  //--------------------------------------------------------------------------
203
277
  //
204
278
  // Functions (lifecycle)
@@ -210,27 +284,40 @@ export class MapCard {
210
284
  async componentWillLoad() {
211
285
  await this._getTranslations();
212
286
  await this._initModules();
287
+ this._initToolInfos();
288
+ if (!this._resizeObserver) {
289
+ this._resizeObserver = new ResizeObserver(() => this._updateToolbar());
290
+ }
213
291
  }
214
292
  /**
215
293
  * Renders the component.
216
294
  */
217
295
  render() {
218
- const mapContainerClass = this.isMapLayout ? "display-flex height-50-px" : "";
296
+ const mapContainerClass = this.isMapLayout ? "display-flex height-50-px border-bottom-3px" : "";
219
297
  const mapClass = this.hidden ? "visibility-hidden-1" : "";
220
298
  const themeClass = this.theme === "dark" ? "calcite-mode-dark" : "calcite-mode-light";
221
- const mapPickerClass = this.mapInfos?.length > 1 ? "" : "display-none";
222
- const mapHeightClass = this.mapInfos?.length > 1 ? "map-height" : "height-full";
223
- const containerClass = this.isMobile ? "width-full" : "";
224
- const mobileClass = this.isMobile ? "border-top" : "";
225
- const headerElements = this.isMapLayout ? "" : "display-none";
226
- return (h(Host, { key: '6f827d045d920101c70f55e80a422383f94bae56' }, h("div", { key: '50215e8f899cf6321b228b0ee5b8a0ba9e1911c4', class: `${mapContainerClass}` }, h("map-picker", { key: '46dd475d52684cc239963160ab79019970fa13d2', class: mapPickerClass, isMapLayout: this.isMapLayout, mapInfos: this.mapInfos, ref: (el) => this._mapPicker = el }), h("div", { key: '8a8f260bb3a22b5bc2b933f94ab940e8750a9757', class: `mapView-header display-flex ${headerElements}` }, h("div", { key: 'a8ceb2a88432fbc052f00961a03d43cbf61dc076', class: `border-end ${containerClass} ${mobileClass}`, id: "solutions-map-layer-picker-container" }, this.mapView && h("map-layer-picker", { key: '0c0c3e24b05491044d5bb42f460152eeb003dec2', appearance: "transparent", defaultLayerId: this.defaultLayerId, display: "inline-flex", height: 50, isMobile: this.isMobile, mapView: this.mapView, onlyShowUpdatableLayers: this.onlyShowUpdatableLayers, placeholderIcon: "layers", scale: "l", selectedIds: this.selectedLayer ? [this.selectedLayer.id] : [], showSingleLayerAsLabel: true, showTables: true, type: "dropdown" })), this._getDropDownItem())), h("div", { key: '6091fdd6540a8eda0df227251a581347c734369c', class: `${mapHeightClass} ${mapClass}`, ref: (el) => (this._mapDiv = el) }), h("map-tools", { key: 'eb0823b1b1babd12822e0d8ee91bc76169a51476', basemapConfig: this.basemapConfig, class: `box-shadow ${themeClass}`, enableBasemap: this.enableBasemap, enableFloorFilter: this.enableFloorFilter, enableFullscreen: this.enableFullscreen, enableHome: this.enableHome, enableLegend: this.enableLegend, enableSearch: this.enableSearch, enableSingleExpand: this.enableSingleExpand, homeZoomToolsSize: this.homeZoomToolsSize, mapView: this.mapView, mapWidgetsSize: this.mapWidgetsSize, position: this.mapWidgetsPosition, ref: (el) => this._mapTools = el, searchConfiguration: this._searchConfiguration, stackTools: this.stackTools, toolOrder: this.toolOrder })));
299
+ const mapHeightClass = this.mapInfos?.length > 1 || this.isMapLayout ? "map-height" : "height-full";
300
+ this._validateActiveActions();
301
+ return (h(Host, { key: '197d79614a8d45037c034d3a61eda793d3ad3365' }, h("div", { key: 'ff428e43fb74c71fabd3af86677223c460bb4fb8', class: `${mapContainerClass} width-full`, ref: (el) => this._toolbar = el }, this._getActionBar(), !this.isMobile && this.isMapLayout && this._getDropdown("more-table-options")), h("div", { key: '0cf63d7623c194bcb0a8636e89bd150450c385a0', class: `${mapHeightClass} ${mapClass}`, ref: (el) => (this._mapDiv = el) }), h("map-tools", { key: '0982cb82f916bfff2c25e3b276b8f7708fe19842', basemapConfig: this.basemapConfig, class: `box-shadow ${themeClass}`, enableBasemap: this.enableBasemap, enableFloorFilter: this.enableFloorFilter, enableFullscreen: this.enableFullscreen, enableHome: this.enableHome, enableLegend: this.enableLegend, enableSearch: this.enableSearch, enableSingleExpand: this.enableSingleExpand, homeZoomToolsSize: this.homeZoomToolsSize, mapView: this.mapView, mapWidgetsSize: this.mapWidgetsSize, position: this.mapWidgetsPosition, ref: (el) => this._mapTools = el, searchConfiguration: this._searchConfiguration, stackTools: this.stackTools, toolOrder: this.toolOrder })));
227
302
  }
228
303
  /**
229
304
  * Called each time after the component is loaded
230
305
  */
231
306
  async componentDidRender() {
307
+ if (this.isMapLayout) {
308
+ this._updateToolbar();
309
+ }
232
310
  document.onclick = (e) => this._handleDocumentClick(e);
233
311
  }
312
+ /**
313
+ * Called once after the component is loaded
314
+ */
315
+ async componentDidLoad() {
316
+ if (!this.isMobile && !this._observerSet) {
317
+ this._resizeObserver.observe(this._toolbar);
318
+ this._observerSet = true;
319
+ }
320
+ }
234
321
  //--------------------------------------------------------------------------
235
322
  //
236
323
  // Functions (protected)
@@ -309,6 +396,263 @@ export class MapCard {
309
396
  });
310
397
  }
311
398
  }
399
+ /**
400
+ * Add/Remove tools from the action bar and dropdown based on available size
401
+ * @protected
402
+ */
403
+ _updateToolbar() {
404
+ if (this._timeout) {
405
+ clearTimeout(this._timeout);
406
+ }
407
+ if (!this.isMobile && this._toolbar && this._toolInfos) {
408
+ this._timeout = setTimeout(() => {
409
+ clearTimeout(this._timeout);
410
+ this._setToolbarSizeInfos();
411
+ const toolbarWidth = this._toolbar.offsetWidth;
412
+ let controlsWidth = this._toolbarSizeInfos.reduce((prev, cur) => {
413
+ prev += cur.width;
414
+ return prev;
415
+ }, 0);
416
+ const skipControls = ["solutions-more", "solutions-map-layer-picker-container", "map-picker"];
417
+ if (controlsWidth > toolbarWidth) {
418
+ if (this._toolbarSizeInfos.length > 0) {
419
+ const controlsThatFit = [...this._toolbarSizeInfos].reverse().reduce((prev, cur) => {
420
+ if (skipControls.indexOf(cur.id) < 0) {
421
+ if (controlsWidth > toolbarWidth) {
422
+ controlsWidth -= cur.width;
423
+ }
424
+ else {
425
+ prev.push(cur);
426
+ }
427
+ }
428
+ return prev;
429
+ }, []).reverse();
430
+ this._setControlsThatFit(controlsThatFit, skipControls);
431
+ }
432
+ }
433
+ else {
434
+ if (this._defaultVisibleToolSizeInfos) {
435
+ const currentTools = this._toolbarSizeInfos.reduce((prev, cur) => {
436
+ prev.push(cur.id);
437
+ return prev;
438
+ }, []);
439
+ let forceFinish = false;
440
+ const controlsThatFit = [...this._defaultVisibleToolSizeInfos].reduce((prev, cur) => {
441
+ if (!forceFinish && skipControls.indexOf(cur.id) < 0 &&
442
+ (currentTools.indexOf(cur.id) > -1 || (controlsWidth + cur.width) <= toolbarWidth)) {
443
+ if (currentTools.indexOf(cur.id) < 0) {
444
+ controlsWidth += cur.width;
445
+ }
446
+ prev.push(cur);
447
+ }
448
+ else if (skipControls.indexOf(cur.id) < 0 && (controlsWidth + cur.width) > toolbarWidth) {
449
+ // exit the first time we evalute this as true...otherwise it will add the next control that will fit
450
+ // and not preserve the overall order of controls
451
+ forceFinish = true;
452
+ }
453
+ return prev;
454
+ }, []);
455
+ this._setControlsThatFit(controlsThatFit, skipControls);
456
+ }
457
+ }
458
+ }, 250);
459
+ }
460
+ }
461
+ /**
462
+ * Validate if controls that fit the current display has changed or
463
+ * is different from what is currently displayed
464
+ * @param _setControlsThatFit
465
+ * @param skipControls
466
+ * @protected
467
+ */
468
+ _setControlsThatFit(controlsThatFit, skipControls) {
469
+ let update = JSON.stringify(controlsThatFit) !== JSON.stringify(this._controlsThatFit);
470
+ const actionbar = document.getElementById("solutions-action-bar");
471
+ actionbar?.childNodes?.forEach((n) => {
472
+ if (skipControls.indexOf(n.id) < 0 && !update) {
473
+ update = this._controlsThatFit.map(c => c.id).indexOf(n.id) < 0;
474
+ }
475
+ });
476
+ if (update) {
477
+ this._controlsThatFit = [...controlsThatFit];
478
+ }
479
+ }
480
+ /**
481
+ * Get the id and size for the toolbars current items
482
+ * @protected
483
+ */
484
+ _setToolbarSizeInfos() {
485
+ let hasWidth = false;
486
+ this._toolbarSizeInfos = [];
487
+ this._toolbar.childNodes.forEach((c, i) => {
488
+ // handle the action bar
489
+ if (i === 0) {
490
+ c.childNodes.forEach((actionbarChild) => {
491
+ this._toolbarSizeInfos.push({
492
+ id: actionbarChild.id,
493
+ width: actionbarChild.offsetWidth
494
+ });
495
+ if (!hasWidth) {
496
+ hasWidth = actionbarChild.offsetWidth > 0;
497
+ }
498
+ });
499
+ }
500
+ else if (!c.referenceElement) {
501
+ // skip tooltips
502
+ this._toolbarSizeInfos.push({
503
+ id: c.id,
504
+ width: c.offsetWidth
505
+ });
506
+ if (!hasWidth) {
507
+ hasWidth = c.offsetWidth > 0;
508
+ }
509
+ }
510
+ });
511
+ if (hasWidth && !this._defaultVisibleToolSizeInfos) {
512
+ this._defaultVisibleToolSizeInfos = [...this._toolbarSizeInfos];
513
+ }
514
+ }
515
+ /**
516
+ * Gets a row of controls that can be used for various interactions with the table
517
+ *
518
+ * @returns The dom node that contains the controls
519
+ * @protected
520
+ */
521
+ _getActionBar() {
522
+ const mapPickerClass = this.mapInfos?.length > 1 ? "" : "display-none";
523
+ const containerClass = this.isMapLayout ? "display-flex" : "display-block";
524
+ const mobileClass = this.isMobile ? "border-top" : "";
525
+ const headerElements = this.isMapLayout ? "" : "display-none";
526
+ return (h("calcite-action-bar", { class: containerClass, expandDisabled: true, expanded: true, id: this._getId("bar"), layout: "horizontal" }, h("map-picker", { class: mapPickerClass, isMapLayout: this.isMapLayout, mapInfos: this.mapInfos, ref: (el) => this._mapPicker = el }), h("div", { class: `mapView-header display-flex ${headerElements}` }, h("div", { class: `border-end ${containerClass} ${mobileClass}`, id: "solutions-map-layer-picker-container" }, this.mapView && h("map-layer-picker", { appearance: "transparent", defaultLayerId: this.defaultLayerId, display: "inline-flex", height: 50, isMobile: this.isMobile, mapView: this.mapView, onlyShowUpdatableLayers: this.onlyShowUpdatableLayers, placeholderIcon: "layers", ref: (el) => this._mapLayerPicker = el, scale: "l", selectedIds: this.selectedLayer ? [this.selectedLayer.id] : [], showSingleLayerAsLabel: true, showTables: true, showTablesDisabled: true, type: "dropdown" }))), !this.isMobile && this.isMapLayout ? this._getActions() : undefined));
527
+ }
528
+ /**
529
+ * Get a list of toolInfos that should display in the dropdown
530
+ *
531
+ * @param id string the id for the dropdown and its tooltip
532
+ *
533
+ * @returns VNode the dropdown node
534
+ * @protected
535
+ */
536
+ _getDropdown(id) {
537
+ const dropdownItems = this._getDropdownItems();
538
+ return dropdownItems.length > 0 ? (h("calcite-dropdown", { closeOnSelectDisabled: true, disabled: this.selectedLayer === undefined, id: "solutions-more", onCalciteDropdownBeforeClose: () => this._forceShowHide(), ref: (el) => this._moreDropdown = el }, h("calcite-action", { appearance: "solid", id: id, label: "", onClick: () => this._closeShowHide(), slot: "trigger", text: "" }, h("calcite-button", { appearance: "transparent", iconEnd: "chevron-down", kind: "neutral" }, this._translations.more)), h("calcite-dropdown-group", { "selection-mode": "none" }, dropdownItems.map(item => {
539
+ return (h("calcite-dropdown-group", { class: item.disabled ? "disabled" : "", selectionMode: "none" }, h("calcite-dropdown-item", { disabled: item.loading, iconStart: item.icon, id: "solutions-subset-list", onClick: item.func }, item.loading ? (h("div", { class: "display-flex" }, h("calcite-loader", { inline: true, label: item.label, scale: "m" }), item.label)) : item.label)));
540
+ })))) : undefined;
541
+ }
542
+ /**
543
+ * Open show/hide dropdown
544
+ * @protected
545
+ */
546
+ _closeShowHide() {
547
+ this._showHideOpen = false;
548
+ }
549
+ /**
550
+ * Get a list of toolInfos that should display in the dropdown
551
+ *
552
+ * @returns IToolInfo[] the list of toolInfos that should display in the dropdown
553
+ * @protected
554
+ */
555
+ _getDropdownItems() {
556
+ return this._toolInfos?.filter(toolInfo => toolInfo && toolInfo.isOverflow);
557
+ }
558
+ /**
559
+ * Get the full list of toolInfos.
560
+ * Order is important. They should be listed in the order they should display in the UI from
561
+ * Left to Right for the action bar and Top to Bottom for the dropdown.
562
+ * @protected
563
+ */
564
+ _initToolInfos() {
565
+ const featuresSelected = this.selectedFeaturesIds?.length > 0;
566
+ const hasFilterExpressions = this._hasFilterExpressions();
567
+ // hide multiple edits for R03
568
+ const showMultipleEdits = this.selectedFeaturesIds?.length > 1 && false;
569
+ if (this._translations) {
570
+ this._toolInfos = [
571
+ {
572
+ active: false,
573
+ icon: "zoom-to-object",
574
+ indicator: false,
575
+ label: this._translations.zoom,
576
+ func: () => this._zoom(),
577
+ disabled: !featuresSelected,
578
+ isOverflow: false
579
+ },
580
+ hasFilterExpressions ? {
581
+ active: false,
582
+ icon: "filter",
583
+ indicator: false,
584
+ label: this._translations.filters,
585
+ func: () => this._toggleFilter(),
586
+ disabled: false,
587
+ isOverflow: false
588
+ } : undefined,
589
+ showMultipleEdits ? {
590
+ active: false,
591
+ icon: "pencil",
592
+ indicator: false,
593
+ label: this._translations.editMultiple,
594
+ func: () => alert(this._translations.editMultiple),
595
+ disabled: !showMultipleEdits,
596
+ isOverflow: false,
597
+ } : undefined,
598
+ {
599
+ active: false,
600
+ icon: "refresh",
601
+ indicator: false,
602
+ label: this._translations.refresh,
603
+ func: () => this.selectedLayer.refresh(),
604
+ disabled: false,
605
+ isOverflow: false
606
+ },
607
+ {
608
+ active: false,
609
+ icon: "erase",
610
+ indicator: false,
611
+ label: this._translations.clearSelection,
612
+ func: () => this.clearSelection.emit(),
613
+ disabled: !featuresSelected,
614
+ isOverflow: false
615
+ }
616
+ ];
617
+ this._defaultVisibleToolSizeInfos = undefined;
618
+ }
619
+ }
620
+ /**
621
+ * Update actions active prop based on a stored value
622
+ * @protected
623
+ */
624
+ _validateActiveActions() {
625
+ const activeDependant = [
626
+ "filter"
627
+ ];
628
+ this._toolInfos?.forEach(ti => {
629
+ if (ti && activeDependant.indexOf(ti.icon) > -1) {
630
+ if (ti.icon === "filter") {
631
+ ti.indicator = this._filterActive;
632
+ }
633
+ }
634
+ });
635
+ }
636
+ /**
637
+ * Update actions enabled prop based on number of selected indexes
638
+ * @protected
639
+ */
640
+ _validateEnabledActions() {
641
+ const featuresSelected = this.selectedFeaturesIds?.length > 0;
642
+ const showMultipleEdits = this.selectedFeaturesIds?.length > 1 && this.selectedLayer?.capabilities?.operations?.supportsUpdate;
643
+ const selectionDependant = [
644
+ "zoom-to-object",
645
+ "pencil",
646
+ "erase"
647
+ ];
648
+ this._toolInfos?.forEach(ti => {
649
+ if (ti && selectionDependant.indexOf(ti.icon) > -1) {
650
+ // disable the pencil icon if multiple features are not selected
651
+ // For other icons disable them if any feature is not selected
652
+ ti.disabled = ti.icon === "pencil" ? !showMultipleEdits : !featuresSelected;
653
+ }
654
+ });
655
+ }
312
656
  /**
313
657
  * Add/remove the home widget base on enableHome prop
314
658
  *
@@ -347,7 +691,10 @@ export class MapCard {
347
691
  */
348
692
  _handleDocumentClick(e) {
349
693
  const id = e.target?.id;
350
- if (this._showHideOpen && id !== "solutions-subset-list" && id !== "solutions-more" && id !== "chevron-down") {
694
+ if (id === "solutions-subset-list") {
695
+ this._moreDropdown.open = true;
696
+ }
697
+ else if (this._showHideOpen && id !== "solutions-subset-list" && id !== "solutions-more" && id !== "chevron-down") {
351
698
  if (this._moreDropdown) {
352
699
  this._showHideOpen = false;
353
700
  this._moreDropdown.open = false;
@@ -365,16 +712,20 @@ export class MapCard {
365
712
  }
366
713
  }
367
714
  /**
368
- * Zoom to all selected features
369
- *
370
- * @returns a promise that will resolve when the operation is complete
371
- */
715
+ * Zoom to all selected features
716
+ *
717
+ * @returns a promise that will resolve when the operation is complete
718
+ */
372
719
  async _zoom() {
373
720
  if (this.selectedLayer) {
374
721
  const selectedLayerView = await getFeatureLayerView(this.mapView, this.selectedLayer.id);
375
722
  await goToSelection(this.selectedFeaturesIds, selectedLayerView, this.mapView, true, undefined, this.zoomToScale);
376
723
  }
377
724
  }
725
+ /**
726
+ * toggle the filter
727
+ * @protected
728
+ */
378
729
  async _toggleFilter() {
379
730
  this.toggleFilter.emit();
380
731
  }
@@ -391,22 +742,66 @@ export class MapCard {
391
742
  return layerExpressions?.length > 0;
392
743
  }
393
744
  /**
394
- * Get Dropdown action item
395
- * @returns Dropdown item
745
+ * Get the actions that are used for various interactions with the table
746
+ *
747
+ * @returns VNode[] the action nodes
396
748
  */
397
- _getDropDownItem() {
398
- return (h("calcite-dropdown", { closeOnSelectDisabled: true, disabled: this.selectedLayer === undefined, id: "solutions-more", onCalciteDropdownBeforeClose: () => this._forceShowHide(), ref: (el) => this._moreDropdown = el, widthScale: "l" }, h("calcite-action", { appearance: "solid", id: 'solutions-more', label: "", onClick: () => this._toggleShowHide(), slot: "trigger", text: "" }, h("calcite-button", { appearance: "transparent", iconEnd: this._showHideOpen ? "chevron-up" : "chevron-down", kind: "neutral" }, this._translations.more)), h("calcite-dropdown-group", { selectionMode: "none" }, this._getDropDownItems())));
749
+ _getActions() {
750
+ const actions = this._getActionItems();
751
+ return actions?.reduce((prev, cur) => {
752
+ if (cur && !cur.isOverflow) {
753
+ prev.push(this._getAction(cur.active, cur.icon, cur.indicator, cur.label, cur.func, cur.disabled, cur.loading));
754
+ }
755
+ return prev;
756
+ }, []);
399
757
  }
400
758
  /**
401
- * Gets the dropdown items
402
- * @returns dropdown items
759
+ * Get a tooltip
760
+ *
761
+ * @param placement string where the tooltip should display
762
+ * @param referenceElement string the element the tooltip will be associated with
763
+ * @param text string the text to display in the tooltip
764
+ *
765
+ * @returns VNode The tooltip node
403
766
  */
404
- _getDropDownItems() {
405
- const featureSelected = this.selectedFeaturesIds?.length > 0;
406
- const showMultipleEdits = this.selectedFeaturesIds?.length > 1;
407
- const hasFilterExpressions = this._hasFilterExpressions();
408
- return (h(Fragment, null, h("calcite-dropdown-group", { selectionMode: "none" }, h("calcite-dropdown-item", { disabled: !showMultipleEdits, iconStart: "pencil", id: "solutions-subset-list", onClick: () => alert(this._translations.editMultiple) }, this._translations.editMultiple)), h("calcite-dropdown-group", { selectionMode: "none" }, h("calcite-dropdown-item", { iconStart: "refresh", id: "solutions-subset-list", onClick: () => { this.selectedLayer.refresh(); } }, this._translations.refresh)), h("calcite-dropdown-group", { selectionMode: "none" }, h("calcite-dropdown-item", { disabled: !featureSelected, iconStart: "zoom-to-object", id: "solutions-subset-list", onClick: this._zoom.bind(this) }, this._translations.zoom)), hasFilterExpressions &&
409
- h("calcite-dropdown-group", null, h("calcite-dropdown-item", { disabled: false, iconStart: "filter", id: "solutions-subset-list", onClick: this._toggleFilter.bind(this), selected: this._filterActive }, this._translations.filters))));
767
+ _getToolTip(placement, referenceElement, text) {
768
+ return document.getElementById(referenceElement) ? (h("calcite-tooltip", { placement: placement, "reference-element": "map-" + referenceElement }, h("span", null, text))) : undefined;
769
+ }
770
+ /**
771
+ * Get a list of toolInfos that should display outside of the dropdown
772
+ *
773
+ * @returns IToolInfo[] the list of toolInfos that should not display in the overflow dropdown
774
+ */
775
+ _getActionItems() {
776
+ return this._toolInfos?.filter(toolInfo => toolInfo && !toolInfo.isOverflow);
777
+ }
778
+ /**
779
+ * Get an action and tooltip
780
+ *
781
+ * @param active boolean if true the icon is in use
782
+ * @param icon string the name of the icon to display, will also be used as the id
783
+ * @param indicator if true the icon will shown using indicator
784
+ * @param label string the text to display and label the action
785
+ * @param func any the function to execute
786
+ * @param disabled boolean when true the user will not be able to interact with the action
787
+ * @param loading if true loading indicator will shown
788
+ * @param slot slot for the action
789
+ *
790
+ * @returns VNode The node representing the DOM element that will contain the action
791
+ */
792
+ _getAction(active, icon, indicator, label, func, disabled, loading, slot) {
793
+ const _disabled = this.selectedLayer === undefined ? true : disabled;
794
+ return (h("div", { class: "display-flex", id: this._getId(icon), slot: slot }, h("calcite-action", { active: active, appearance: "solid", disabled: _disabled, icon: icon, id: "map-" + icon, indicator: indicator, label: label, loading: loading, onClick: func, text: label, textEnabled: true }), this._getToolTip("bottom", icon, label)));
795
+ }
796
+ /**
797
+ * Get an id with a prefix to the user supplied value
798
+ *
799
+ * @param id the unique value for the id
800
+ *
801
+ * @returns the new id with the prefix value
802
+ */
803
+ _getId(id) {
804
+ return `solutions-action-${id}`;
410
805
  }
411
806
  /**
412
807
  * Fetches the component's translations
@@ -988,7 +1383,9 @@ export class MapCard {
988
1383
  "_translations": {},
989
1384
  "_searchConfiguration": {},
990
1385
  "_webMapInfo": {},
991
- "_showHideOpen": {}
1386
+ "_showHideOpen": {},
1387
+ "_toolInfos": {},
1388
+ "_controlsThatFit": {}
992
1389
  };
993
1390
  }
994
1391
  static get events() {
@@ -1043,11 +1440,26 @@ export class MapCard {
1043
1440
  "resolved": "void",
1044
1441
  "references": {}
1045
1442
  }
1443
+ }, {
1444
+ "method": "clearSelection",
1445
+ "name": "clearSelection",
1446
+ "bubbles": true,
1447
+ "cancelable": true,
1448
+ "composed": true,
1449
+ "docs": {
1450
+ "tags": [],
1451
+ "text": "Emitted on demand when clear selection button is clicked"
1452
+ },
1453
+ "complexType": {
1454
+ "original": "void",
1455
+ "resolved": "void",
1456
+ "references": {}
1457
+ }
1046
1458
  }];
1047
1459
  }
1048
1460
  static get methods() {
1049
1461
  return {
1050
- "filterReset": {
1462
+ "resetFilter": {
1051
1463
  "complexType": {
1052
1464
  "signature": "() => Promise<void>",
1053
1465
  "parameters": [],
@@ -1064,7 +1476,7 @@ export class MapCard {
1064
1476
  "tags": []
1065
1477
  }
1066
1478
  },
1067
- "updateFilter": {
1479
+ "updateFilterState": {
1068
1480
  "complexType": {
1069
1481
  "signature": "() => Promise<void>",
1070
1482
  "parameters": [],
@@ -1080,6 +1492,23 @@ export class MapCard {
1080
1492
  "text": "updates the filter",
1081
1493
  "tags": []
1082
1494
  }
1495
+ },
1496
+ "updateLayer": {
1497
+ "complexType": {
1498
+ "signature": "() => Promise<void>",
1499
+ "parameters": [],
1500
+ "references": {
1501
+ "Promise": {
1502
+ "location": "global",
1503
+ "id": "global::Promise"
1504
+ }
1505
+ },
1506
+ "return": "Promise<void>"
1507
+ },
1508
+ "docs": {
1509
+ "text": "updates the layer in map layer picker",
1510
+ "tags": []
1511
+ }
1083
1512
  }
1084
1513
  };
1085
1514
  }
@@ -1091,6 +1520,12 @@ export class MapCard {
1091
1520
  }, {
1092
1521
  "propName": "selectedLayer",
1093
1522
  "methodName": "selectedLayerWatchHandler"
1523
+ }, {
1524
+ "propName": "selectedFeaturesIds",
1525
+ "methodName": "selectedFeaturesIdsWatchHandler"
1526
+ }, {
1527
+ "propName": "_controlsThatFit",
1528
+ "methodName": "_controlsThatFitWatchHandler"
1094
1529
  }];
1095
1530
  }
1096
1531
  static get listeners() {
@@ -1106,6 +1541,12 @@ export class MapCard {
1106
1541
  "target": "window",
1107
1542
  "capture": false,
1108
1543
  "passive": false
1544
+ }, {
1545
+ "name": "layerSelectionChange",
1546
+ "method": "layerSelectionChange",
1547
+ "target": "window",
1548
+ "capture": false,
1549
+ "passive": false
1109
1550
  }];
1110
1551
  }
1111
1552
  }
@@ -183,7 +183,7 @@ export class MapDrawTools {
183
183
  "border" : "border esri-widget esri-sketch__panel";
184
184
  const undoRedoClass = this.drawMode === EDrawMode.SKETCH ?
185
185
  "display-none" : "esri-widget esri-sketch__panel border-left esri-sketch__section";
186
- return (h(Host, { key: '5f82fce6481912c103d709b5fefa3a890d291943' }, h("div", { key: '464d32d718167c5e7e2636fa0184622477fc5464', class: containerClass }, h("div", { key: '52a11f9d1b8f1692e67a7e706de3741e43c40591', ref: (el) => { this._sketchElement = el; } }), h("div", { key: '3a529e4e358ec4890513d7fcbbceadabb9e66a18', class: undoRedoClass }, h("calcite-action", { key: '98b684a186a03fe8868bde1978d59c7618a7635a', disabled: !this.undoEnabled, icon: "undo", onClick: () => this._undo(), scale: "s", text: this._translations.undo }), h("calcite-action", { key: 'b1d769fd984ecf7cf9e868029cc7a5aba5a39dc7', disabled: !this.redoEnabled, icon: "redo", onClick: () => this._redo(), scale: "s", text: this._translations.redo })))));
186
+ return (h(Host, { key: '55862b3113e637552b0d1728e53e4a7b296ed03d' }, h("div", { key: '22b9b92f3d1cca8f273ecc35d25697ecfc893574', class: containerClass }, h("div", { key: '5f3b4e380be0be362fa06c539114d391f10c4db2', ref: (el) => { this._sketchElement = el; } }), h("div", { key: '5561e86cde0cbbe552e0853b326fbb1659ade6c3', class: undoRedoClass }, h("calcite-action", { key: '7197e23e6db476a65c3ce850db350d0e45454688', disabled: !this.undoEnabled, icon: "undo", onClick: () => this._undo(), scale: "s", text: this._translations.undo }), h("calcite-action", { key: 'fc9a818556c51e3f86981cf4ee5355e9c52bb6b1', disabled: !this.redoEnabled, icon: "redo", onClick: () => this._redo(), scale: "s", text: this._translations.redo })))));
187
187
  }
188
188
  //--------------------------------------------------------------------------
189
189
  //