@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
@@ -35,6 +35,7 @@ const CardManager = class {
35
35
  this.zoomAndScrollToSelected = undefined;
36
36
  this.selectedFeaturesIds = undefined;
37
37
  this.enableCreateFeatures = true;
38
+ this.selectingFeatureFromMap = undefined;
38
39
  this._cardLoading = false;
39
40
  this._graphics = undefined;
40
41
  this._showCreateFeatureComponent = false;
@@ -127,8 +128,9 @@ const CardManager = class {
127
128
  const messageClass = this._graphics?.length > 0 || this._showCreateFeatureComponent ? "display-none" : "";
128
129
  const isTable = this.layer?.isTable;
129
130
  const heading = isTable ? this._translations.createRecord : this._translations.createFeature;
131
+ const guideMsg = this.customInfoText || this.selectingFeatureFromMap ? this._translations.selectFeaturesFromMapToStart : this._translations.selectFeaturesToStart;
130
132
  const showCreateFeatureOrRecordBtn = this.enableCreateFeatures && this.layer?.capabilities?.operations?.supportsAdd;
131
- return (index.h(index.Host, { key: '6089a5003e4ee08df4da7ecbcf8e6a3c8628f8bf' }, index.h("div", { key: '60dc1c21c650cce5165f56a0e040feba3652ae10', class: "overflow-auto height-full" }, index.h("calcite-shell", { key: '530a3173010e32fe062dc313ed3805833228f0fd', class: "position-relative " + featuresClass }, index.h("div", { key: 'af2350dac50f8ecc576cdeb528b350557057ff8d', class: "position-static z-index-500" }, index.h("info-card", { key: '626b34ec1ed2fc7e52f0ee2f9ae4520d1bcceb08', enableEditGeometry: this.enableEditGeometry, graphics: this._graphics, isLoading: this._cardLoading, isMobile: this.isMobile, mapView: this.mapView }))), index.h("calcite-shell", { key: '642531296a90d92068592eef75bc4632438a4cbc', class: "position-relative " + messageClass }, index.h("calcite-flow-item", { key: 'b15e856439afdf9f08df9ff22f4e7dd7fee74273' }, index.h("calcite-panel", { key: '9305e17349e3b653565d1c183e118bdc3b791e23' }, index.h("div", { key: '25cf89836b8d20c6728842c5372e2c17dda967e6', class: "padding-1" }, index.h("calcite-notice", { key: '8df4a9c3e037f1b9f6131371d36a23e845db7ee2', icon: "table", open: true }, index.h("div", { key: '5c613ab8e9b9c25fc9f824e1007c3c4fa48b15b5', slot: "message" }, this.customInfoText || this._translations.selectFeaturesToStart))), showCreateFeatureOrRecordBtn && index.h("calcite-button", { key: 'ba88fcd64b3cf2ae1fc36da58581974473d4e0b3', disabled: !this.layer, onClick: () => this._createFeatureBtnClicked(), slot: "footer", width: "full" }, isTable ? this._translations.createRecord : this._translations.createFeature)))), index.h("calcite-shell", { key: '5e64963bf756e397c819a4c60112191031d9113f', class: "position-relative " + createFeatureClass }, index.h("calcite-flow-item", { key: '7d93240bffd381e2ed1e6dc10126b30cb1a143f9' }, index.h("calcite-panel", { key: '6ae7f4917394521b3226e38e07ac8eaf8c29b58e', heading: heading }, index.h("calcite-action", { key: '60cfdea79ad19ba0b62a9fb2ef3a6495c41b1f53', class: "back-button hydrated", icon: "chevron-left", onClick: this._backFromCreateFeature.bind(this), scale: "s", slot: "header-actions-start", text: "back" }), this.getEditorComponent(), this._showSubmitBtn && index.h("calcite-button", { key: 'ab10ab259363cee6b872f7e6619518125141759e', appearance: "solid", class: "footer-top-button footer-button", onClick: () => void this._createFeature.submit(), slot: "footer", width: "full" }, this._translations.create)))))));
133
+ return (index.h(index.Host, { key: '7bcc2cfc05bfb95ef444b2036c0fd709f816bfe8' }, index.h("div", { key: '088e91d3084a43cab7da6e2985784a9675f30bfb', class: "overflow-auto height-full" }, index.h("calcite-shell", { key: '4ce541bdadc42cc2625756af104e144e61ca0593', class: "position-relative " + featuresClass }, index.h("div", { key: 'f3fd57ce5a0122df70d36a72e7d8c7ace4ffed0c', class: "position-static z-index-500" }, index.h("info-card", { key: 'ed1f8e88937d905928e97f1149acdc42fc557d7c', enableEditGeometry: this.enableEditGeometry, graphics: this._graphics, isLoading: this._cardLoading, isMobile: this.isMobile, mapView: this.mapView }))), index.h("calcite-shell", { key: '21cd22e9d40954324ab68ae0f44305541a78faa4', class: "position-relative " + messageClass }, index.h("calcite-flow-item", { key: '2206f7bf57133e6249e84eed06363485dc540e89' }, index.h("calcite-panel", { key: 'a6a43c3eefcc1b03006dc14f39c9ba692620cf51' }, index.h("div", { key: 'f58c54e68a59e09ce8d51b010876e6f0261d920a', class: "padding-1" }, index.h("calcite-notice", { key: '5e57dcae6e804c3954a693d972a47171e07419a5', icon: this.selectingFeatureFromMap ? "map" : "table", iconFlipRtl: true, open: true }, index.h("div", { key: '9391598f800576d7f8dd2ca5778d8a9d493df5cc', slot: "message" }, guideMsg))), !this.isMobile && showCreateFeatureOrRecordBtn && index.h("calcite-button", { key: 'f30040df430858472437acef88f216040e4f3a4f', disabled: !this.layer, onClick: () => this._createFeatureBtnClicked(), slot: "footer", width: "full" }, isTable ? this._translations.createRecord : this._translations.createFeature)))), index.h("calcite-shell", { key: '6d14a7483427aa478f53e4ee54664ef2aae999fb', class: "position-relative " + createFeatureClass }, index.h("calcite-flow-item", { key: 'cace557395071006fcf0fc723f1808cad19f1099' }, index.h("calcite-panel", { key: '3eaa505ebf1d552775970c4f5b7dfc8f321c3f93', heading: heading }, index.h("calcite-action", { key: '68a09bb37ea2b6d827de48b13e1a41c74f5c34c6', class: "back-button hydrated", icon: "chevron-left", onClick: this._backFromCreateFeature.bind(this), scale: "s", slot: "header-actions-start", text: "" }), this.getEditorComponent(), this._showSubmitBtn && index.h("calcite-button", { key: '3e326f1e523fe3245365a4dad69372b52a969ae3', appearance: "solid", class: "footer-top-button footer-button", onClick: () => void this._createFeature.submit(), slot: "footer", width: "full" }, this._translations.create)))))));
132
134
  }
133
135
  /**
134
136
  * Returns the editor component for adding feature
@@ -139,7 +141,7 @@ const CardManager = class {
139
141
  setTimeout(() => {
140
142
  this._isFeatureCreated = false;
141
143
  }, 2000);
142
- }, onSuccess: this._featureCreated.bind(this), ref: el => this._createFeature = el, selectedLayerId: this.layer?.id })));
144
+ }, onSuccess: this._featureCreated.bind(this), ref: el => this._createFeature = el, selectedLayerId: this.layer?.id, showGuidingMsgWhileDrawing: false })));
143
145
  }
144
146
  //--------------------------------------------------------------------------
145
147
  //
@@ -148,7 +150,7 @@ const CardManager = class {
148
150
  //--------------------------------------------------------------------------
149
151
  /**
150
152
  * Gets the Feature using its ids
151
- *
153
+ * @param ids list of ids that are currently selected
152
154
  * @returns Promise when complete
153
155
  * @protected
154
156
  */
@@ -205,7 +207,7 @@ const CardManager = class {
205
207
  };
206
208
  CardManager.style = CardManagerStyle0;
207
209
 
208
- const layerTableCss = ":host{display:block}.height-full{height:100%}.height-full-adjusted{height:calc(100% - 20px)}.width-full{width:100%}.display-flex{display:flex}.table-border{border:1px solid var(--calcite-color-border-2)}.border-end{border-inline-end:1px solid var(--calcite-color-border-2)}.border-bottom{border-bottom:1px solid var(--calcite-color-border-2)}.padding-5{padding:5px}.padding-end-1{padding-inline-end:1rem}.height-51-px{height:51px}.height-50-px{height:50px}.bottom-left{position:absolute;left:0;bottom:0;padding-left:5px}html[dir=\"rtl\"] .bottom-left{position:absolute;right:0;bottom:0;padding-right:5px}.height-19{height:19px}.background{background-color:var(--calcite-color-background)}.text-color{color:var(--calcite-color-text-1)}.align-center{align-items:center}.danger-color{color:var(--calcite-color-status-danger)}.esri-feature-table vaadin-grid{border:none !important}vaadin-grid-cell-content{font-size:14px !important;color:var(--calcite-color-text-3) !important}.share-action{position:absolute;right:0}html[dir=\"rtl\"] .share-action{left:0}.disabled{cursor:default !important;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled);pointer-events:none}.instant-app-share{height:50px !important;display:inline-flex}.border-top{border-top:1px solid var(--calcite-color-border-2)}.modal{--calcite-modal-content-padding:0}.esri-feature-table__table-container{height:100%}";
210
+ const layerTableCss = ":host{display:block}.height-full{height:100%}.height-full-adjusted{height:calc(100% - 20px)}.width-full{width:100%}.display-flex{display:flex}.table-border{border:1px solid var(--calcite-color-border-2)}.border-end{border-inline-end:1px solid var(--calcite-color-border-2)}.border-bottom{border-bottom:1px solid var(--calcite-color-border-2)}.padding-5{padding:5px}.padding-end-1{padding-inline-end:1rem}.height-51-px{height:51px}.height-50-px{height:50px}.bottom-left{position:absolute;left:0;bottom:0;padding-left:5px}html[dir=\"rtl\"] .bottom-left{position:absolute;right:0;bottom:0;padding-right:5px}.height-19{height:19px}.background{background-color:var(--calcite-color-background)}.text-color{color:var(--calcite-color-text-1)}.align-center{align-items:center}.danger-color{color:var(--calcite-color-status-danger)}.esri-feature-table vaadin-grid{border:none !important}vaadin-grid-cell-content{font-size:14px !important;color:var(--calcite-color-text-3) !important}.share-action{position:absolute;right:0}html[dir=\"rtl\"] .share-action{left:0}.disabled{cursor:default !important;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled);pointer-events:none}.instant-app-share{height:50px !important;display:inline-flex}.border-top{border-top:1px solid var(--calcite-color-border-2)}.modal{--calcite-modal-content-padding:0}.esri-feature-table__table-container{height:100%}.search{--calcite-color-border-input:var(--calcite-color-border-3)}";
209
211
  const LayerTableStyle0 = layerTableCss;
210
212
 
211
213
  const LayerTable = class {
@@ -247,6 +249,7 @@ const LayerTable = class {
247
249
  this._translations = undefined;
248
250
  this._fullTextSearchInfo = undefined;
249
251
  this._searchPlaceHolder = '';
252
+ this._size = 0;
250
253
  }
251
254
  get el() { return index.getElement(this); }
252
255
  //--------------------------------------------------------------------------
@@ -666,6 +669,12 @@ const LayerTable = class {
666
669
  this._allIds = [];
667
670
  this._clearSelection();
668
671
  }
672
+ /**
673
+ * Clears the selection from table
674
+ */
675
+ clearSelection() {
676
+ this._clearSelection();
677
+ }
669
678
  //--------------------------------------------------------------------------
670
679
  //
671
680
  // Functions (lifecycle)
@@ -690,13 +699,13 @@ const LayerTable = class {
690
699
  render() {
691
700
  const tableNodeClass = this._fetchingData ? "display-none" : "";
692
701
  const loadingClass = this._fetchingData ? "" : "display-none";
693
- const total = this._allIds.length.toString();
702
+ const total = this._size.toString();
694
703
  const selected = this.selectedIds.length.toString();
695
704
  const tableHeightClass = this.isMobile ? "height-full" : "height-full-adjusted";
696
705
  const showSearch = this._canShowFullTextSearch();
697
706
  this._validateActiveActions();
698
- return (index.h(index.Host, { key: '0e14ca1d140deaad1b6b1c299a29b160c983a84f' }, index.h("calcite-shell", { key: '6da3feca55877d2ca3ac4df044ece161964c5b30' }, this._getTableControlRow("header"), index.h("div", { key: '987267204fadb58d10741586adf9c2603a2c782d', class: `width-full ${tableHeightClass}` }, index.h("calcite-panel", { key: '3d8fb99e75c7456082846a1876460514d3b36cc3', class: "height-full width-full" }, showSearch &&
699
- index.h("calcite-input", { key: '2251920546d0948bd67eb705ea68a4cdf7c735c1', clearable: true, icon: "search", onCalciteInputChange: (evt) => void this._searchTextChanged(evt), placeholder: this._searchPlaceHolder, title: this._searchPlaceHolder, type: "search" }), index.h("calcite-loader", { key: '8c9deefa9aef65838e93171505c1b4a5bc34d7d9', class: loadingClass, label: this._translations.fetchingData, scale: "l" }), index.h("div", { key: '376ad6c086b24157533054c027a9738738625630', class: tableNodeClass, ref: this.onTableNodeCreate }))), !this.isMobile ? (index.h("div", { class: "bottom-left text-color height-19" }, this._translations.recordsSelected
707
+ return (index.h(index.Host, { key: '46394d7e108068600980efd766fbf5d91243f3c9' }, index.h("calcite-shell", { key: 'd831121a56070552139386033b02ddc2531c29e9' }, this._getTableControlRow("header"), index.h("div", { key: '591e0b0bba19f1dbe99049a470b5d3c04253a2c2', class: `width-full ${tableHeightClass}` }, index.h("calcite-panel", { key: 'd70244a3c989a5bea8bbbaf33c4ebe9c04fc4515', class: "height-full width-full" }, showSearch &&
708
+ index.h("calcite-input", { key: 'b8418eca07a07956f702a09aa642255d05742b14', class: "search", clearable: true, icon: "search", onCalciteInputChange: (evt) => void this._searchTextChanged(evt), placeholder: this._searchPlaceHolder, title: this._searchPlaceHolder, type: "search" }), index.h("calcite-loader", { key: '4478be9175933c1b076f7011bd39aaf9adf7faad', class: loadingClass, label: this._translations.fetchingData, scale: "l" }), index.h("div", { key: '2a77b11f65188931041d781cde17143c90962931', class: tableNodeClass, ref: this.onTableNodeCreate }))), !this.isMobile ? (index.h("div", { class: "bottom-left text-color height-19" }, this._translations.recordsSelected
700
709
  .replace("{{total}}", total)
701
710
  .replace("{{selected}}", selected))) : undefined), this.createFilterModal && this._filterModal()));
702
711
  }
@@ -708,14 +717,15 @@ const LayerTable = class {
708
717
  this._resizeObserver.observe(this._toolbar);
709
718
  this._observerSet = true;
710
719
  }
711
- document.onclick = (e) => this._handleDocumentClick(e);
712
- document.onkeydown = (e) => this._handleKeyDown(e);
713
- document.onkeyup = (e) => this._handleKeyUp(e);
714
720
  }
715
721
  /**
716
722
  * Called after the component is rendered
717
723
  */
718
724
  componentDidRender() {
725
+ // need to be called after each render to get the clicked mouseEvent
726
+ document.onclick = (e) => this._handleDocumentClick(e);
727
+ document.onkeydown = (e) => this._handleKeyDown(e);
728
+ document.onkeyup = (e) => this._handleKeyUp(e);
719
729
  this._updateToolbar();
720
730
  }
721
731
  //--------------------------------------------------------------------------
@@ -765,9 +775,12 @@ const LayerTable = class {
765
775
  const searchQueryParams = this._layer.createQuery();
766
776
  searchQueryParams.fullText = this._fullTextSearchInfo;
767
777
  const searchedIds = await this._layer.queryObjectIds(searchQueryParams);
768
- this._updateSearchDefinitionExpression(searchedIds?.length ? searchedIds : [-1]);
778
+ await this._updateSearchDefinitionExpression(searchedIds?.length ? searchedIds : [-1]);
769
779
  }
770
780
  }
781
+ //Added timeout and table.refresh() to avoid the issue in which we see empty table records after searching in combination to filter/reset filter
782
+ await new Promise(resolve => setTimeout(resolve, 800));
783
+ await this._updateAllIds();
771
784
  }
772
785
  /**
773
786
  * Clears the applied search expression on the layer
@@ -791,7 +804,7 @@ const LayerTable = class {
791
804
  * Update the search expression in layer
792
805
  * @param searchedIds Array of objectIds satisfying the full search text
793
806
  */
794
- _updateSearchDefinitionExpression(searchedIds) {
807
+ async _updateSearchDefinitionExpression(searchedIds) {
795
808
  const defExp = this._layer.definitionExpression;
796
809
  if (searchedIds?.length) {
797
810
  const searchExp = `objectId in(${searchedIds})`;
@@ -832,7 +845,7 @@ const LayerTable = class {
832
845
  const fieldInfo = this._layer.getField(fieldName.trim());
833
846
  fieldAlias.push(fieldInfo.alias);
834
847
  });
835
- this._searchPlaceHolder = this._translations.searchPlaceholder.replace("{{fields}}", fieldAlias.join(' | '));
848
+ this._searchPlaceHolder = this._translations.searchPlaceholder.replace("{{fields}}", fieldAlias.join(', '));
836
849
  this._fullTextSearchInfo.push({
837
850
  'onFields': ['*'],
838
851
  'searchTerm': '',
@@ -896,14 +909,14 @@ const LayerTable = class {
896
909
  _getFieldlist() {
897
910
  return this._columnsInfo ? (index.h("calcite-dropdown-group", { "selection-mode": "multiple" }, Object.keys(this._columnsInfo).map(k => {
898
911
  const selected = this._columnsInfo[k];
899
- return (index.h("calcite-dropdown-item", { id: `layer-table-${k.toLowerCase().replaceAll(" ", "")}`, onClick: (e) => {
912
+ return (index.h("calcite-dropdown-item", { id: `layer-table-${k.toLowerCase().replaceAll(" ", "")}`, label: k, onClick: (e) => {
900
913
  const target = e.target;
901
- this._columnsInfo[target.id] = target.selected;
914
+ this._columnsInfo[target.label] = target.selected;
902
915
  if (!target.selected) {
903
- this._table.hideColumn(target.id);
916
+ this._table.hideColumn(target.label);
904
917
  }
905
918
  else {
906
- this._table.showColumn(target.id);
919
+ this._table.showColumn(target.label);
907
920
  }
908
921
  }, selected: selected }, k));
909
922
  }))) : undefined;
@@ -959,7 +972,8 @@ const LayerTable = class {
959
972
  */
960
973
  _initToolInfos() {
961
974
  const featuresSelected = this._featuresSelected();
962
- const showMultipleEdits = this.selectedIds.length > 1 && this._layer?.capabilities?.operations?.supportsUpdate;
975
+ // hide multiple edits for R03
976
+ const showMultipleEdits = this.selectedIds.length > 1 && this._layer?.capabilities?.operations?.supportsUpdate && false;
963
977
  const featuresEmpty = this._featuresEmpty();
964
978
  const hasFilterExpressions = this._hasFilterExpressions();
965
979
  if (this._translations) {
@@ -982,7 +996,7 @@ const LayerTable = class {
982
996
  disabled: false,
983
997
  isOverflow: false
984
998
  } : undefined,
985
- !this.mapHidden ? {
999
+ showMultipleEdits ? {
986
1000
  active: false,
987
1001
  icon: "pencil",
988
1002
  indicator: false,
@@ -995,8 +1009,8 @@ const LayerTable = class {
995
1009
  active: undefined,
996
1010
  icon: "trash",
997
1011
  indicator: undefined,
998
- label: undefined,
999
- func: undefined,
1012
+ label: this._translations.delete,
1013
+ func: () => undefined,
1000
1014
  disabled: !featuresSelected,
1001
1015
  isDanger: true,
1002
1016
  isOverflow: false
@@ -1236,7 +1250,7 @@ const LayerTable = class {
1236
1250
  _getDropdown(id) {
1237
1251
  const dropdownItems = this._getDropdownItems();
1238
1252
  return dropdownItems.length > 0 ? (index.h("calcite-dropdown", { closeOnSelectDisabled: true, disabled: this._layer === undefined, id: "solutions-more", onCalciteDropdownBeforeClose: () => this._forceShowHide(), ref: (el) => this._moreDropdown = el }, index.h("calcite-action", { appearance: "solid", id: id, label: "", onClick: () => this._closeShowHide(), slot: "trigger", text: "" }, index.h("calcite-button", { appearance: "transparent", iconEnd: "chevron-down", kind: "neutral" }, this._translations.more)), index.h("calcite-dropdown-group", { "selection-mode": "none" }, dropdownItems.map(item => {
1239
- return (index.h("calcite-dropdown-group", { class: item.disabled ? "disabled" : "", selectionMode: item.disabled ? "none" : "single" }, index.h("calcite-dropdown-item", { disabled: item.loading, iconStart: item.isSublist && this._showHideOpen ? "chevron-down" : item.loading ? "" : item.icon, id: `layer-table-${item.icon}`, onClick: item.func }, item.loading ? (index.h("div", { class: "display-flex" }, index.h("calcite-loader", { inline: true, label: item.label, scale: "m" }), item.label)) : item.label)));
1253
+ return (index.h("calcite-dropdown-group", { class: item.disabled ? "disabled" : "", selectionMode: "none" }, index.h("calcite-dropdown-item", { disabled: item.loading, iconStart: item.isSublist && this._showHideOpen ? "chevron-down" : item.loading ? "" : item.icon, id: `layer-table-${item.icon}`, onClick: item.func }, item.loading ? (index.h("div", { class: "display-flex" }, index.h("calcite-loader", { inline: true, label: item.label, scale: "m" }), item.label)) : item.label)));
1240
1254
  })), this._showHideOpen ? this._getFieldlist() : undefined)) : undefined;
1241
1255
  }
1242
1256
  /**
@@ -1336,7 +1350,7 @@ const LayerTable = class {
1336
1350
  */
1337
1351
  _getDangerAction(icon, label, func, disabled) {
1338
1352
  const _disabled = this._layer === undefined ? true : disabled;
1339
- return (index.h("div", { class: "display-flex", id: this._getId(icon) }, icon === "trash" ? (index.h("delete-button", { buttonType: "action", class: "display-flex", disabled: _disabled, icon: icon, ids: this._getIds(), layer: this._layer })) : (index.h("calcite-action", { appearance: "solid", disabled: _disabled, id: icon, onClick: func, text: "" }, index.h("calcite-button", { appearance: "transparent", iconStart: icon, kind: "danger" }, label))), this._getToolTip("bottom", icon, label)));
1353
+ return (index.h("div", { class: "display-flex", id: this._getId(icon) }, icon === "trash" ? (index.h("delete-button", { buttonType: "action", class: "display-flex", disabled: _disabled, icon: icon, ids: this._getIds(), layer: this._layer })) : (index.h("calcite-action", { appearance: "solid", disabled: _disabled, id: icon, onClick: func, text: label }, index.h("calcite-button", { appearance: "transparent", iconStart: icon, kind: "danger" }, label))), this._getToolTip("bottom", icon, label)));
1340
1354
  }
1341
1355
  /**
1342
1356
  * Return all currently selected IDs from the table
@@ -1385,6 +1399,11 @@ const LayerTable = class {
1385
1399
  this._table.highlightIds.on("change", (evt) => {
1386
1400
  void this._handleOnChange(evt);
1387
1401
  });
1402
+ //Add handle to watch size of the table and update the state to reflect the total count
1403
+ const handle = this.reactiveUtils.watch(() => this._table.size, (size) => {
1404
+ this._size = size;
1405
+ });
1406
+ this._table.viewModel.addHandles(handle);
1388
1407
  });
1389
1408
  }
1390
1409
  }
@@ -1687,7 +1706,10 @@ const LayerTable = class {
1687
1706
  */
1688
1707
  _handleDocumentClick(e) {
1689
1708
  const id = e.target?.id;
1690
- if (this._showHideOpen && Object.keys(this._columnsInfo).indexOf(id) < 0 && id !== "solutions-subset-list" && id !== "chevron-right") {
1709
+ if (id.startsWith('layer-table-')) {
1710
+ this._moreDropdown.open = true;
1711
+ }
1712
+ else if (this._showHideOpen && Object.keys(this._columnsInfo).indexOf(id) < 0 && id !== "chevron-right") {
1691
1713
  this._closeShowHide();
1692
1714
  if (this._moreDropdown) {
1693
1715
  this._moreDropdown.open = false;
@@ -1903,7 +1925,7 @@ const LayerTable = class {
1903
1925
  });
1904
1926
  }
1905
1927
  /**
1906
- * Refreshes the table and maintains the curent scroll position
1928
+ * Refreshes the table and maintains the current scroll position
1907
1929
  * @protected
1908
1930
  */
1909
1931
  async _refresh() {
@@ -2090,7 +2112,7 @@ function joinAppProxies(map, config, appProxies) {
2090
2112
  return map;
2091
2113
  }
2092
2114
 
2093
- const mapCardCss = ":host{display:block;--calcite-label-margin-bottom:0;--calcite-block-padding:0}.map-height{height:calc(100% - 51px)}.height-full{height:100%}.height-50-px{height:50px}.box-shadow{box-shadow:none !important}.visibility-hidden-1{visibility:hidden;height:1px;}.display-none{display:none}";
2115
+ const mapCardCss = ":host{display:block;--calcite-label-margin-bottom:0;--calcite-block-padding:0}.map-height{height:calc(100% - 53px)}.height-full{height:100%}.border-bottom-3px{border-bottom:3px solid var(--calcite-color-border-3)}.height-50-px{height:50px}.box-shadow{box-shadow:none !important}.visibility-hidden-1{visibility:hidden;height:1px;}.display-none{display:none}.display-block{display:block}";
2094
2116
  const MapCardStyle0 = mapCardCss;
2095
2117
 
2096
2118
  const MapCard = class {
@@ -2099,6 +2121,7 @@ const MapCard = class {
2099
2121
  this.mapChanged = index.createEvent(this, "mapChanged", 7);
2100
2122
  this.beforeMapChanged = index.createEvent(this, "beforeMapChanged", 7);
2101
2123
  this.toggleFilter = index.createEvent(this, "toggleFilter", 7);
2124
+ this.clearSelection = index.createEvent(this, "clearSelection", 7);
2102
2125
  this.appProxies = undefined;
2103
2126
  this.defaultWebmapId = "";
2104
2127
  this.defaultLayerId = undefined;
@@ -2133,6 +2156,8 @@ const MapCard = class {
2133
2156
  this._searchConfiguration = undefined;
2134
2157
  this._webMapInfo = undefined;
2135
2158
  this._showHideOpen = false;
2159
+ this._toolInfos = undefined;
2160
+ this._controlsThatFit = undefined;
2136
2161
  }
2137
2162
  get el() { return index.getElement(this); }
2138
2163
  //--------------------------------------------------------------------------
@@ -2196,6 +2221,38 @@ const MapCard = class {
2196
2221
  * string: The current layers definition expression
2197
2222
  */
2198
2223
  _definitionExpression;
2224
+ /**
2225
+ * HTMLMapLayerPickerElement: The Map layer picker refrence element
2226
+ */
2227
+ _mapLayerPicker;
2228
+ /**
2229
+ * ResizeObserver: The observer that watches for toolbar size changes
2230
+ */
2231
+ _resizeObserver;
2232
+ /**
2233
+ * HTMLCalciteDropdownElement: Dropdown the will support show/hide of table columns
2234
+ */
2235
+ _showHideDropdown;
2236
+ /**
2237
+ * HTMLDivElement: The toolbars containing node
2238
+ */
2239
+ _toolbar;
2240
+ /**
2241
+ * any: Timeout used to limit redundancy for toolbar resizing
2242
+ */
2243
+ _timeout;
2244
+ /**
2245
+ * IToolSizeInfo[]: Id and Width for the current tools
2246
+ */
2247
+ _toolbarSizeInfos;
2248
+ /**
2249
+ * IToolSizeInfo[]: The default list of tool size info for tools that should display outside of the dropdown
2250
+ */
2251
+ _defaultVisibleToolSizeInfos;
2252
+ /**
2253
+ * boolean: When true the observer has been set and we don't need to set it again
2254
+ */
2255
+ _observerSet = false;
2199
2256
  //--------------------------------------------------------------------------
2200
2257
  //
2201
2258
  // Watch handlers
@@ -2215,6 +2272,28 @@ const MapCard = class {
2215
2272
  this._definitionExpression = this.selectedLayer.definitionExpression;
2216
2273
  });
2217
2274
  }
2275
+ /**
2276
+ * watch for features ids changes
2277
+ */
2278
+ async selectedFeaturesIdsWatchHandler() {
2279
+ this._validateEnabledActions();
2280
+ }
2281
+ /**
2282
+ * watch for changes to the list of controls that will currently fit in the display
2283
+ */
2284
+ _controlsThatFitWatchHandler() {
2285
+ const ids = this._controlsThatFit ? this._controlsThatFit.reduce((prev, cur) => {
2286
+ prev.push(cur.id);
2287
+ return prev;
2288
+ }, []) : [];
2289
+ this._toolInfos = this._toolInfos?.map(ti => {
2290
+ if (ti && this._controlsThatFit) {
2291
+ const id = this._getId(ti.icon);
2292
+ ti.isOverflow = ids.indexOf(id) < 0;
2293
+ return ti;
2294
+ }
2295
+ });
2296
+ }
2218
2297
  //--------------------------------------------------------------------------
2219
2298
  //
2220
2299
  // Methods (public)
@@ -2223,15 +2302,21 @@ const MapCard = class {
2223
2302
  /**
2224
2303
  * Reset the filter
2225
2304
  */
2226
- async filterReset() {
2305
+ async resetFilter() {
2227
2306
  this._filterActive = false;
2228
2307
  }
2229
2308
  /**
2230
2309
  * updates the filter
2231
2310
  */
2232
- async updateFilter() {
2311
+ async updateFilterState() {
2233
2312
  this._filterActive = this._definitionExpression !== this.selectedLayer.definitionExpression;
2234
2313
  }
2314
+ /**
2315
+ * updates the layer in map layer picker
2316
+ */
2317
+ async updateLayer() {
2318
+ void this._mapLayerPicker.updateLayer();
2319
+ }
2235
2320
  //--------------------------------------------------------------------------
2236
2321
  //
2237
2322
  // Events (public)
@@ -2249,6 +2334,10 @@ const MapCard = class {
2249
2334
  * Emitted on demand when filter action is clicked
2250
2335
  */
2251
2336
  toggleFilter;
2337
+ /**
2338
+ * Emitted on demand when clear selection button is clicked
2339
+ */
2340
+ clearSelection;
2252
2341
  /**
2253
2342
  * Listen for changes to map info and load the appropriate map
2254
2343
  */
@@ -2262,6 +2351,14 @@ const MapCard = class {
2262
2351
  this.selectedLayer = undefined;
2263
2352
  this.selectedFeaturesIds = [];
2264
2353
  }
2354
+ /**
2355
+ * Handles layer selection change to show new table
2356
+ */
2357
+ layerSelectionChange() {
2358
+ setTimeout(() => {
2359
+ this._initToolInfos();
2360
+ }, 50);
2361
+ }
2265
2362
  //--------------------------------------------------------------------------
2266
2363
  //
2267
2364
  // Functions (lifecycle)
@@ -2273,27 +2370,40 @@ const MapCard = class {
2273
2370
  async componentWillLoad() {
2274
2371
  await this._getTranslations();
2275
2372
  await this._initModules();
2373
+ this._initToolInfos();
2374
+ if (!this._resizeObserver) {
2375
+ this._resizeObserver = new ResizeObserver(() => this._updateToolbar());
2376
+ }
2276
2377
  }
2277
2378
  /**
2278
2379
  * Renders the component.
2279
2380
  */
2280
2381
  render() {
2281
- const mapContainerClass = this.isMapLayout ? "display-flex height-50-px" : "";
2382
+ const mapContainerClass = this.isMapLayout ? "display-flex height-50-px border-bottom-3px" : "";
2282
2383
  const mapClass = this.hidden ? "visibility-hidden-1" : "";
2283
2384
  const themeClass = this.theme === "dark" ? "calcite-mode-dark" : "calcite-mode-light";
2284
- const mapPickerClass = this.mapInfos?.length > 1 ? "" : "display-none";
2285
- const mapHeightClass = this.mapInfos?.length > 1 ? "map-height" : "height-full";
2286
- const containerClass = this.isMobile ? "width-full" : "";
2287
- const mobileClass = this.isMobile ? "border-top" : "";
2288
- const headerElements = this.isMapLayout ? "" : "display-none";
2289
- return (index.h(index.Host, { key: '6f827d045d920101c70f55e80a422383f94bae56' }, index.h("div", { key: '50215e8f899cf6321b228b0ee5b8a0ba9e1911c4', class: `${mapContainerClass}` }, index.h("map-picker", { key: '46dd475d52684cc239963160ab79019970fa13d2', class: mapPickerClass, isMapLayout: this.isMapLayout, mapInfos: this.mapInfos, ref: (el) => this._mapPicker = el }), index.h("div", { key: '8a8f260bb3a22b5bc2b933f94ab940e8750a9757', class: `mapView-header display-flex ${headerElements}` }, index.h("div", { key: 'a8ceb2a88432fbc052f00961a03d43cbf61dc076', class: `border-end ${containerClass} ${mobileClass}`, id: "solutions-map-layer-picker-container" }, this.mapView && index.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())), index.h("div", { key: '6091fdd6540a8eda0df227251a581347c734369c', class: `${mapHeightClass} ${mapClass}`, ref: (el) => (this._mapDiv = el) }), index.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 })));
2385
+ const mapHeightClass = this.mapInfos?.length > 1 || this.isMapLayout ? "map-height" : "height-full";
2386
+ this._validateActiveActions();
2387
+ return (index.h(index.Host, { key: '197d79614a8d45037c034d3a61eda793d3ad3365' }, index.h("div", { key: 'ff428e43fb74c71fabd3af86677223c460bb4fb8', class: `${mapContainerClass} width-full`, ref: (el) => this._toolbar = el }, this._getActionBar(), !this.isMobile && this.isMapLayout && this._getDropdown("more-table-options")), index.h("div", { key: '0cf63d7623c194bcb0a8636e89bd150450c385a0', class: `${mapHeightClass} ${mapClass}`, ref: (el) => (this._mapDiv = el) }), index.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 })));
2290
2388
  }
2291
2389
  /**
2292
2390
  * Called each time after the component is loaded
2293
2391
  */
2294
2392
  async componentDidRender() {
2393
+ if (this.isMapLayout) {
2394
+ this._updateToolbar();
2395
+ }
2295
2396
  document.onclick = (e) => this._handleDocumentClick(e);
2296
2397
  }
2398
+ /**
2399
+ * Called once after the component is loaded
2400
+ */
2401
+ async componentDidLoad() {
2402
+ if (!this.isMobile && !this._observerSet) {
2403
+ this._resizeObserver.observe(this._toolbar);
2404
+ this._observerSet = true;
2405
+ }
2406
+ }
2297
2407
  //--------------------------------------------------------------------------
2298
2408
  //
2299
2409
  // Functions (protected)
@@ -2372,6 +2482,263 @@ const MapCard = class {
2372
2482
  });
2373
2483
  }
2374
2484
  }
2485
+ /**
2486
+ * Add/Remove tools from the action bar and dropdown based on available size
2487
+ * @protected
2488
+ */
2489
+ _updateToolbar() {
2490
+ if (this._timeout) {
2491
+ clearTimeout(this._timeout);
2492
+ }
2493
+ if (!this.isMobile && this._toolbar && this._toolInfos) {
2494
+ this._timeout = setTimeout(() => {
2495
+ clearTimeout(this._timeout);
2496
+ this._setToolbarSizeInfos();
2497
+ const toolbarWidth = this._toolbar.offsetWidth;
2498
+ let controlsWidth = this._toolbarSizeInfos.reduce((prev, cur) => {
2499
+ prev += cur.width;
2500
+ return prev;
2501
+ }, 0);
2502
+ const skipControls = ["solutions-more", "solutions-map-layer-picker-container", "map-picker"];
2503
+ if (controlsWidth > toolbarWidth) {
2504
+ if (this._toolbarSizeInfos.length > 0) {
2505
+ const controlsThatFit = [...this._toolbarSizeInfos].reverse().reduce((prev, cur) => {
2506
+ if (skipControls.indexOf(cur.id) < 0) {
2507
+ if (controlsWidth > toolbarWidth) {
2508
+ controlsWidth -= cur.width;
2509
+ }
2510
+ else {
2511
+ prev.push(cur);
2512
+ }
2513
+ }
2514
+ return prev;
2515
+ }, []).reverse();
2516
+ this._setControlsThatFit(controlsThatFit, skipControls);
2517
+ }
2518
+ }
2519
+ else {
2520
+ if (this._defaultVisibleToolSizeInfos) {
2521
+ const currentTools = this._toolbarSizeInfos.reduce((prev, cur) => {
2522
+ prev.push(cur.id);
2523
+ return prev;
2524
+ }, []);
2525
+ let forceFinish = false;
2526
+ const controlsThatFit = [...this._defaultVisibleToolSizeInfos].reduce((prev, cur) => {
2527
+ if (!forceFinish && skipControls.indexOf(cur.id) < 0 &&
2528
+ (currentTools.indexOf(cur.id) > -1 || (controlsWidth + cur.width) <= toolbarWidth)) {
2529
+ if (currentTools.indexOf(cur.id) < 0) {
2530
+ controlsWidth += cur.width;
2531
+ }
2532
+ prev.push(cur);
2533
+ }
2534
+ else if (skipControls.indexOf(cur.id) < 0 && (controlsWidth + cur.width) > toolbarWidth) {
2535
+ // exit the first time we evalute this as true...otherwise it will add the next control that will fit
2536
+ // and not preserve the overall order of controls
2537
+ forceFinish = true;
2538
+ }
2539
+ return prev;
2540
+ }, []);
2541
+ this._setControlsThatFit(controlsThatFit, skipControls);
2542
+ }
2543
+ }
2544
+ }, 250);
2545
+ }
2546
+ }
2547
+ /**
2548
+ * Validate if controls that fit the current display has changed or
2549
+ * is different from what is currently displayed
2550
+ * @param _setControlsThatFit
2551
+ * @param skipControls
2552
+ * @protected
2553
+ */
2554
+ _setControlsThatFit(controlsThatFit, skipControls) {
2555
+ let update = JSON.stringify(controlsThatFit) !== JSON.stringify(this._controlsThatFit);
2556
+ const actionbar = document.getElementById("solutions-action-bar");
2557
+ actionbar?.childNodes?.forEach((n) => {
2558
+ if (skipControls.indexOf(n.id) < 0 && !update) {
2559
+ update = this._controlsThatFit.map(c => c.id).indexOf(n.id) < 0;
2560
+ }
2561
+ });
2562
+ if (update) {
2563
+ this._controlsThatFit = [...controlsThatFit];
2564
+ }
2565
+ }
2566
+ /**
2567
+ * Get the id and size for the toolbars current items
2568
+ * @protected
2569
+ */
2570
+ _setToolbarSizeInfos() {
2571
+ let hasWidth = false;
2572
+ this._toolbarSizeInfos = [];
2573
+ this._toolbar.childNodes.forEach((c, i) => {
2574
+ // handle the action bar
2575
+ if (i === 0) {
2576
+ c.childNodes.forEach((actionbarChild) => {
2577
+ this._toolbarSizeInfos.push({
2578
+ id: actionbarChild.id,
2579
+ width: actionbarChild.offsetWidth
2580
+ });
2581
+ if (!hasWidth) {
2582
+ hasWidth = actionbarChild.offsetWidth > 0;
2583
+ }
2584
+ });
2585
+ }
2586
+ else if (!c.referenceElement) {
2587
+ // skip tooltips
2588
+ this._toolbarSizeInfos.push({
2589
+ id: c.id,
2590
+ width: c.offsetWidth
2591
+ });
2592
+ if (!hasWidth) {
2593
+ hasWidth = c.offsetWidth > 0;
2594
+ }
2595
+ }
2596
+ });
2597
+ if (hasWidth && !this._defaultVisibleToolSizeInfos) {
2598
+ this._defaultVisibleToolSizeInfos = [...this._toolbarSizeInfos];
2599
+ }
2600
+ }
2601
+ /**
2602
+ * Gets a row of controls that can be used for various interactions with the table
2603
+ *
2604
+ * @returns The dom node that contains the controls
2605
+ * @protected
2606
+ */
2607
+ _getActionBar() {
2608
+ const mapPickerClass = this.mapInfos?.length > 1 ? "" : "display-none";
2609
+ const containerClass = this.isMapLayout ? "display-flex" : "display-block";
2610
+ const mobileClass = this.isMobile ? "border-top" : "";
2611
+ const headerElements = this.isMapLayout ? "" : "display-none";
2612
+ return (index.h("calcite-action-bar", { class: containerClass, expandDisabled: true, expanded: true, id: this._getId("bar"), layout: "horizontal" }, index.h("map-picker", { class: mapPickerClass, isMapLayout: this.isMapLayout, mapInfos: this.mapInfos, ref: (el) => this._mapPicker = el }), index.h("div", { class: `mapView-header display-flex ${headerElements}` }, index.h("div", { class: `border-end ${containerClass} ${mobileClass}`, id: "solutions-map-layer-picker-container" }, this.mapView && index.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));
2613
+ }
2614
+ /**
2615
+ * Get a list of toolInfos that should display in the dropdown
2616
+ *
2617
+ * @param id string the id for the dropdown and its tooltip
2618
+ *
2619
+ * @returns VNode the dropdown node
2620
+ * @protected
2621
+ */
2622
+ _getDropdown(id) {
2623
+ const dropdownItems = this._getDropdownItems();
2624
+ return dropdownItems.length > 0 ? (index.h("calcite-dropdown", { closeOnSelectDisabled: true, disabled: this.selectedLayer === undefined, id: "solutions-more", onCalciteDropdownBeforeClose: () => this._forceShowHide(), ref: (el) => this._moreDropdown = el }, index.h("calcite-action", { appearance: "solid", id: id, label: "", onClick: () => this._closeShowHide(), slot: "trigger", text: "" }, index.h("calcite-button", { appearance: "transparent", iconEnd: "chevron-down", kind: "neutral" }, this._translations.more)), index.h("calcite-dropdown-group", { "selection-mode": "none" }, dropdownItems.map(item => {
2625
+ return (index.h("calcite-dropdown-group", { class: item.disabled ? "disabled" : "", selectionMode: "none" }, index.h("calcite-dropdown-item", { disabled: item.loading, iconStart: item.icon, id: "solutions-subset-list", onClick: item.func }, item.loading ? (index.h("div", { class: "display-flex" }, index.h("calcite-loader", { inline: true, label: item.label, scale: "m" }), item.label)) : item.label)));
2626
+ })))) : undefined;
2627
+ }
2628
+ /**
2629
+ * Open show/hide dropdown
2630
+ * @protected
2631
+ */
2632
+ _closeShowHide() {
2633
+ this._showHideOpen = false;
2634
+ }
2635
+ /**
2636
+ * Get a list of toolInfos that should display in the dropdown
2637
+ *
2638
+ * @returns IToolInfo[] the list of toolInfos that should display in the dropdown
2639
+ * @protected
2640
+ */
2641
+ _getDropdownItems() {
2642
+ return this._toolInfos?.filter(toolInfo => toolInfo && toolInfo.isOverflow);
2643
+ }
2644
+ /**
2645
+ * Get the full list of toolInfos.
2646
+ * Order is important. They should be listed in the order they should display in the UI from
2647
+ * Left to Right for the action bar and Top to Bottom for the dropdown.
2648
+ * @protected
2649
+ */
2650
+ _initToolInfos() {
2651
+ const featuresSelected = this.selectedFeaturesIds?.length > 0;
2652
+ const hasFilterExpressions = this._hasFilterExpressions();
2653
+ // hide multiple edits for R03
2654
+ const showMultipleEdits = this.selectedFeaturesIds?.length > 1 && false;
2655
+ if (this._translations) {
2656
+ this._toolInfos = [
2657
+ {
2658
+ active: false,
2659
+ icon: "zoom-to-object",
2660
+ indicator: false,
2661
+ label: this._translations.zoom,
2662
+ func: () => this._zoom(),
2663
+ disabled: !featuresSelected,
2664
+ isOverflow: false
2665
+ },
2666
+ hasFilterExpressions ? {
2667
+ active: false,
2668
+ icon: "filter",
2669
+ indicator: false,
2670
+ label: this._translations.filters,
2671
+ func: () => this._toggleFilter(),
2672
+ disabled: false,
2673
+ isOverflow: false
2674
+ } : undefined,
2675
+ showMultipleEdits ? {
2676
+ active: false,
2677
+ icon: "pencil",
2678
+ indicator: false,
2679
+ label: this._translations.editMultiple,
2680
+ func: () => alert(this._translations.editMultiple),
2681
+ disabled: !showMultipleEdits,
2682
+ isOverflow: false,
2683
+ } : undefined,
2684
+ {
2685
+ active: false,
2686
+ icon: "refresh",
2687
+ indicator: false,
2688
+ label: this._translations.refresh,
2689
+ func: () => this.selectedLayer.refresh(),
2690
+ disabled: false,
2691
+ isOverflow: false
2692
+ },
2693
+ {
2694
+ active: false,
2695
+ icon: "erase",
2696
+ indicator: false,
2697
+ label: this._translations.clearSelection,
2698
+ func: () => this.clearSelection.emit(),
2699
+ disabled: !featuresSelected,
2700
+ isOverflow: false
2701
+ }
2702
+ ];
2703
+ this._defaultVisibleToolSizeInfos = undefined;
2704
+ }
2705
+ }
2706
+ /**
2707
+ * Update actions active prop based on a stored value
2708
+ * @protected
2709
+ */
2710
+ _validateActiveActions() {
2711
+ const activeDependant = [
2712
+ "filter"
2713
+ ];
2714
+ this._toolInfos?.forEach(ti => {
2715
+ if (ti && activeDependant.indexOf(ti.icon) > -1) {
2716
+ if (ti.icon === "filter") {
2717
+ ti.indicator = this._filterActive;
2718
+ }
2719
+ }
2720
+ });
2721
+ }
2722
+ /**
2723
+ * Update actions enabled prop based on number of selected indexes
2724
+ * @protected
2725
+ */
2726
+ _validateEnabledActions() {
2727
+ const featuresSelected = this.selectedFeaturesIds?.length > 0;
2728
+ const showMultipleEdits = this.selectedFeaturesIds?.length > 1 && this.selectedLayer?.capabilities?.operations?.supportsUpdate;
2729
+ const selectionDependant = [
2730
+ "zoom-to-object",
2731
+ "pencil",
2732
+ "erase"
2733
+ ];
2734
+ this._toolInfos?.forEach(ti => {
2735
+ if (ti && selectionDependant.indexOf(ti.icon) > -1) {
2736
+ // disable the pencil icon if multiple features are not selected
2737
+ // For other icons disable them if any feature is not selected
2738
+ ti.disabled = ti.icon === "pencil" ? !showMultipleEdits : !featuresSelected;
2739
+ }
2740
+ });
2741
+ }
2375
2742
  /**
2376
2743
  * Add/remove the home widget base on enableHome prop
2377
2744
  *
@@ -2410,7 +2777,10 @@ const MapCard = class {
2410
2777
  */
2411
2778
  _handleDocumentClick(e) {
2412
2779
  const id = e.target?.id;
2413
- if (this._showHideOpen && id !== "solutions-subset-list" && id !== "solutions-more" && id !== "chevron-down") {
2780
+ if (id === "solutions-subset-list") {
2781
+ this._moreDropdown.open = true;
2782
+ }
2783
+ else if (this._showHideOpen && id !== "solutions-subset-list" && id !== "solutions-more" && id !== "chevron-down") {
2414
2784
  if (this._moreDropdown) {
2415
2785
  this._showHideOpen = false;
2416
2786
  this._moreDropdown.open = false;
@@ -2428,16 +2798,20 @@ const MapCard = class {
2428
2798
  }
2429
2799
  }
2430
2800
  /**
2431
- * Zoom to all selected features
2432
- *
2433
- * @returns a promise that will resolve when the operation is complete
2434
- */
2801
+ * Zoom to all selected features
2802
+ *
2803
+ * @returns a promise that will resolve when the operation is complete
2804
+ */
2435
2805
  async _zoom() {
2436
2806
  if (this.selectedLayer) {
2437
2807
  const selectedLayerView = await mapViewUtils.getFeatureLayerView(this.mapView, this.selectedLayer.id);
2438
2808
  await mapViewUtils.goToSelection(this.selectedFeaturesIds, selectedLayerView, this.mapView, true, undefined, this.zoomToScale);
2439
2809
  }
2440
2810
  }
2811
+ /**
2812
+ * toggle the filter
2813
+ * @protected
2814
+ */
2441
2815
  async _toggleFilter() {
2442
2816
  this.toggleFilter.emit();
2443
2817
  }
@@ -2454,22 +2828,66 @@ const MapCard = class {
2454
2828
  return layerExpressions?.length > 0;
2455
2829
  }
2456
2830
  /**
2457
- * Get Dropdown action item
2458
- * @returns Dropdown item
2831
+ * Get the actions that are used for various interactions with the table
2832
+ *
2833
+ * @returns VNode[] the action nodes
2459
2834
  */
2460
- _getDropDownItem() {
2461
- return (index.h("calcite-dropdown", { closeOnSelectDisabled: true, disabled: this.selectedLayer === undefined, id: "solutions-more", onCalciteDropdownBeforeClose: () => this._forceShowHide(), ref: (el) => this._moreDropdown = el, widthScale: "l" }, index.h("calcite-action", { appearance: "solid", id: 'solutions-more', label: "", onClick: () => this._toggleShowHide(), slot: "trigger", text: "" }, index.h("calcite-button", { appearance: "transparent", iconEnd: this._showHideOpen ? "chevron-up" : "chevron-down", kind: "neutral" }, this._translations.more)), index.h("calcite-dropdown-group", { selectionMode: "none" }, this._getDropDownItems())));
2835
+ _getActions() {
2836
+ const actions = this._getActionItems();
2837
+ return actions?.reduce((prev, cur) => {
2838
+ if (cur && !cur.isOverflow) {
2839
+ prev.push(this._getAction(cur.active, cur.icon, cur.indicator, cur.label, cur.func, cur.disabled, cur.loading));
2840
+ }
2841
+ return prev;
2842
+ }, []);
2462
2843
  }
2463
2844
  /**
2464
- * Gets the dropdown items
2465
- * @returns dropdown items
2845
+ * Get a tooltip
2846
+ *
2847
+ * @param placement string where the tooltip should display
2848
+ * @param referenceElement string the element the tooltip will be associated with
2849
+ * @param text string the text to display in the tooltip
2850
+ *
2851
+ * @returns VNode The tooltip node
2466
2852
  */
2467
- _getDropDownItems() {
2468
- const featureSelected = this.selectedFeaturesIds?.length > 0;
2469
- const showMultipleEdits = this.selectedFeaturesIds?.length > 1;
2470
- const hasFilterExpressions = this._hasFilterExpressions();
2471
- return (index.h(index.Fragment, null, index.h("calcite-dropdown-group", { selectionMode: "none" }, index.h("calcite-dropdown-item", { disabled: !showMultipleEdits, iconStart: "pencil", id: "solutions-subset-list", onClick: () => alert(this._translations.editMultiple) }, this._translations.editMultiple)), index.h("calcite-dropdown-group", { selectionMode: "none" }, index.h("calcite-dropdown-item", { iconStart: "refresh", id: "solutions-subset-list", onClick: () => { this.selectedLayer.refresh(); } }, this._translations.refresh)), index.h("calcite-dropdown-group", { selectionMode: "none" }, index.h("calcite-dropdown-item", { disabled: !featureSelected, iconStart: "zoom-to-object", id: "solutions-subset-list", onClick: this._zoom.bind(this) }, this._translations.zoom)), hasFilterExpressions &&
2472
- index.h("calcite-dropdown-group", null, index.h("calcite-dropdown-item", { disabled: false, iconStart: "filter", id: "solutions-subset-list", onClick: this._toggleFilter.bind(this), selected: this._filterActive }, this._translations.filters))));
2853
+ _getToolTip(placement, referenceElement, text) {
2854
+ return document.getElementById(referenceElement) ? (index.h("calcite-tooltip", { placement: placement, "reference-element": "map-" + referenceElement }, index.h("span", null, text))) : undefined;
2855
+ }
2856
+ /**
2857
+ * Get a list of toolInfos that should display outside of the dropdown
2858
+ *
2859
+ * @returns IToolInfo[] the list of toolInfos that should not display in the overflow dropdown
2860
+ */
2861
+ _getActionItems() {
2862
+ return this._toolInfos?.filter(toolInfo => toolInfo && !toolInfo.isOverflow);
2863
+ }
2864
+ /**
2865
+ * Get an action and tooltip
2866
+ *
2867
+ * @param active boolean if true the icon is in use
2868
+ * @param icon string the name of the icon to display, will also be used as the id
2869
+ * @param indicator if true the icon will shown using indicator
2870
+ * @param label string the text to display and label the action
2871
+ * @param func any the function to execute
2872
+ * @param disabled boolean when true the user will not be able to interact with the action
2873
+ * @param loading if true loading indicator will shown
2874
+ * @param slot slot for the action
2875
+ *
2876
+ * @returns VNode The node representing the DOM element that will contain the action
2877
+ */
2878
+ _getAction(active, icon, indicator, label, func, disabled, loading, slot) {
2879
+ const _disabled = this.selectedLayer === undefined ? true : disabled;
2880
+ return (index.h("div", { class: "display-flex", id: this._getId(icon), slot: slot }, index.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)));
2881
+ }
2882
+ /**
2883
+ * Get an id with a prefix to the user supplied value
2884
+ *
2885
+ * @param id the unique value for the id
2886
+ *
2887
+ * @returns the new id with the prefix value
2888
+ */
2889
+ _getId(id) {
2890
+ return `solutions-action-${id}`;
2473
2891
  }
2474
2892
  /**
2475
2893
  * Fetches the component's translations
@@ -2483,7 +2901,9 @@ const MapCard = class {
2483
2901
  }
2484
2902
  static get watchers() { return {
2485
2903
  "enableHome": ["enableHomeWatchHandler"],
2486
- "selectedLayer": ["selectedLayerWatchHandler"]
2904
+ "selectedLayer": ["selectedLayerWatchHandler"],
2905
+ "selectedFeaturesIds": ["selectedFeaturesIdsWatchHandler"],
2906
+ "_controlsThatFit": ["_controlsThatFitWatchHandler"]
2487
2907
  }; }
2488
2908
  };
2489
2909
  MapCard.style = MapCardStyle0;