@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
@@ -3,7 +3,7 @@
3
3
  * Licensed under the Apache License, Version 2.0
4
4
  * http://www.apache.org/licenses/LICENSE-2.0
5
5
  */
6
- import { r as registerInstance, c as createEvent, g as getElement, h, H as Host, F as Fragment } from './index-b793d9aa.js';
6
+ import { r as registerInstance, c as createEvent, g as getElement, h, H as Host } from './index-b793d9aa.js';
7
7
  import { g as getLocaleComponentStrings, l as loadModules } from './locale-b1d53fb1.js';
8
8
  import { g as getLayerOrTable, q as queryFeaturesByID, e as goToSelection, f as queryAllIds, i as queryAllOidsWithQueryFeatures, j as queryFeaturesByGlobalID, c as getFeatureLayerView } from './mapViewUtils-f54edae3.js';
9
9
  import { d as downloadCSV } from './downloadUtils-4a34c86a.js';
@@ -31,6 +31,7 @@ const CardManager = class {
31
31
  this.zoomAndScrollToSelected = undefined;
32
32
  this.selectedFeaturesIds = undefined;
33
33
  this.enableCreateFeatures = true;
34
+ this.selectingFeatureFromMap = undefined;
34
35
  this._cardLoading = false;
35
36
  this._graphics = undefined;
36
37
  this._showCreateFeatureComponent = false;
@@ -123,8 +124,9 @@ const CardManager = class {
123
124
  const messageClass = this._graphics?.length > 0 || this._showCreateFeatureComponent ? "display-none" : "";
124
125
  const isTable = this.layer?.isTable;
125
126
  const heading = isTable ? this._translations.createRecord : this._translations.createFeature;
127
+ const guideMsg = this.customInfoText || this.selectingFeatureFromMap ? this._translations.selectFeaturesFromMapToStart : this._translations.selectFeaturesToStart;
126
128
  const showCreateFeatureOrRecordBtn = this.enableCreateFeatures && this.layer?.capabilities?.operations?.supportsAdd;
127
- return (h(Host, { key: '6089a5003e4ee08df4da7ecbcf8e6a3c8628f8bf' }, h("div", { key: '60dc1c21c650cce5165f56a0e040feba3652ae10', class: "overflow-auto height-full" }, h("calcite-shell", { key: '530a3173010e32fe062dc313ed3805833228f0fd', class: "position-relative " + featuresClass }, h("div", { key: 'af2350dac50f8ecc576cdeb528b350557057ff8d', class: "position-static z-index-500" }, h("info-card", { key: '626b34ec1ed2fc7e52f0ee2f9ae4520d1bcceb08', enableEditGeometry: this.enableEditGeometry, graphics: this._graphics, isLoading: this._cardLoading, isMobile: this.isMobile, mapView: this.mapView }))), h("calcite-shell", { key: '642531296a90d92068592eef75bc4632438a4cbc', class: "position-relative " + messageClass }, h("calcite-flow-item", { key: 'b15e856439afdf9f08df9ff22f4e7dd7fee74273' }, h("calcite-panel", { key: '9305e17349e3b653565d1c183e118bdc3b791e23' }, h("div", { key: '25cf89836b8d20c6728842c5372e2c17dda967e6', class: "padding-1" }, h("calcite-notice", { key: '8df4a9c3e037f1b9f6131371d36a23e845db7ee2', icon: "table", open: true }, h("div", { key: '5c613ab8e9b9c25fc9f824e1007c3c4fa48b15b5', slot: "message" }, this.customInfoText || this._translations.selectFeaturesToStart))), showCreateFeatureOrRecordBtn && h("calcite-button", { key: 'ba88fcd64b3cf2ae1fc36da58581974473d4e0b3', disabled: !this.layer, onClick: () => this._createFeatureBtnClicked(), slot: "footer", width: "full" }, isTable ? this._translations.createRecord : this._translations.createFeature)))), h("calcite-shell", { key: '5e64963bf756e397c819a4c60112191031d9113f', class: "position-relative " + createFeatureClass }, h("calcite-flow-item", { key: '7d93240bffd381e2ed1e6dc10126b30cb1a143f9' }, h("calcite-panel", { key: '6ae7f4917394521b3226e38e07ac8eaf8c29b58e', heading: heading }, 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 && 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)))))));
129
+ return (h(Host, { key: '7bcc2cfc05bfb95ef444b2036c0fd709f816bfe8' }, h("div", { key: '088e91d3084a43cab7da6e2985784a9675f30bfb', class: "overflow-auto height-full" }, h("calcite-shell", { key: '4ce541bdadc42cc2625756af104e144e61ca0593', class: "position-relative " + featuresClass }, h("div", { key: 'f3fd57ce5a0122df70d36a72e7d8c7ace4ffed0c', class: "position-static z-index-500" }, h("info-card", { key: 'ed1f8e88937d905928e97f1149acdc42fc557d7c', enableEditGeometry: this.enableEditGeometry, graphics: this._graphics, isLoading: this._cardLoading, isMobile: this.isMobile, mapView: this.mapView }))), h("calcite-shell", { key: '21cd22e9d40954324ab68ae0f44305541a78faa4', class: "position-relative " + messageClass }, h("calcite-flow-item", { key: '2206f7bf57133e6249e84eed06363485dc540e89' }, h("calcite-panel", { key: 'a6a43c3eefcc1b03006dc14f39c9ba692620cf51' }, h("div", { key: 'f58c54e68a59e09ce8d51b010876e6f0261d920a', class: "padding-1" }, h("calcite-notice", { key: '5e57dcae6e804c3954a693d972a47171e07419a5', icon: this.selectingFeatureFromMap ? "map" : "table", iconFlipRtl: true, open: true }, h("div", { key: '9391598f800576d7f8dd2ca5778d8a9d493df5cc', slot: "message" }, guideMsg))), !this.isMobile && showCreateFeatureOrRecordBtn && h("calcite-button", { key: 'f30040df430858472437acef88f216040e4f3a4f', disabled: !this.layer, onClick: () => this._createFeatureBtnClicked(), slot: "footer", width: "full" }, isTable ? this._translations.createRecord : this._translations.createFeature)))), h("calcite-shell", { key: '6d14a7483427aa478f53e4ee54664ef2aae999fb', class: "position-relative " + createFeatureClass }, h("calcite-flow-item", { key: 'cace557395071006fcf0fc723f1808cad19f1099' }, h("calcite-panel", { key: '3eaa505ebf1d552775970c4f5b7dfc8f321c3f93', heading: heading }, 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 && 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)))))));
128
130
  }
129
131
  /**
130
132
  * Returns the editor component for adding feature
@@ -135,7 +137,7 @@ const CardManager = class {
135
137
  setTimeout(() => {
136
138
  this._isFeatureCreated = false;
137
139
  }, 2000);
138
- }, onSuccess: this._featureCreated.bind(this), ref: el => this._createFeature = el, selectedLayerId: this.layer?.id })));
140
+ }, onSuccess: this._featureCreated.bind(this), ref: el => this._createFeature = el, selectedLayerId: this.layer?.id, showGuidingMsgWhileDrawing: false })));
139
141
  }
140
142
  //--------------------------------------------------------------------------
141
143
  //
@@ -144,7 +146,7 @@ const CardManager = class {
144
146
  //--------------------------------------------------------------------------
145
147
  /**
146
148
  * Gets the Feature using its ids
147
- *
149
+ * @param ids list of ids that are currently selected
148
150
  * @returns Promise when complete
149
151
  * @protected
150
152
  */
@@ -201,7 +203,7 @@ const CardManager = class {
201
203
  };
202
204
  CardManager.style = CardManagerStyle0;
203
205
 
204
- 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%}";
206
+ 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)}";
205
207
  const LayerTableStyle0 = layerTableCss;
206
208
 
207
209
  const LayerTable = class {
@@ -243,6 +245,7 @@ const LayerTable = class {
243
245
  this._translations = undefined;
244
246
  this._fullTextSearchInfo = undefined;
245
247
  this._searchPlaceHolder = '';
248
+ this._size = 0;
246
249
  }
247
250
  get el() { return getElement(this); }
248
251
  //--------------------------------------------------------------------------
@@ -662,6 +665,12 @@ const LayerTable = class {
662
665
  this._allIds = [];
663
666
  this._clearSelection();
664
667
  }
668
+ /**
669
+ * Clears the selection from table
670
+ */
671
+ clearSelection() {
672
+ this._clearSelection();
673
+ }
665
674
  //--------------------------------------------------------------------------
666
675
  //
667
676
  // Functions (lifecycle)
@@ -686,13 +695,13 @@ const LayerTable = class {
686
695
  render() {
687
696
  const tableNodeClass = this._fetchingData ? "display-none" : "";
688
697
  const loadingClass = this._fetchingData ? "" : "display-none";
689
- const total = this._allIds.length.toString();
698
+ const total = this._size.toString();
690
699
  const selected = this.selectedIds.length.toString();
691
700
  const tableHeightClass = this.isMobile ? "height-full" : "height-full-adjusted";
692
701
  const showSearch = this._canShowFullTextSearch();
693
702
  this._validateActiveActions();
694
- return (h(Host, { key: '0e14ca1d140deaad1b6b1c299a29b160c983a84f' }, h("calcite-shell", { key: '6da3feca55877d2ca3ac4df044ece161964c5b30' }, this._getTableControlRow("header"), h("div", { key: '987267204fadb58d10741586adf9c2603a2c782d', class: `width-full ${tableHeightClass}` }, h("calcite-panel", { key: '3d8fb99e75c7456082846a1876460514d3b36cc3', class: "height-full width-full" }, showSearch &&
695
- h("calcite-input", { key: '2251920546d0948bd67eb705ea68a4cdf7c735c1', clearable: true, icon: "search", onCalciteInputChange: (evt) => void this._searchTextChanged(evt), placeholder: this._searchPlaceHolder, title: this._searchPlaceHolder, type: "search" }), h("calcite-loader", { key: '8c9deefa9aef65838e93171505c1b4a5bc34d7d9', class: loadingClass, label: this._translations.fetchingData, scale: "l" }), h("div", { key: '376ad6c086b24157533054c027a9738738625630', class: tableNodeClass, ref: this.onTableNodeCreate }))), !this.isMobile ? (h("div", { class: "bottom-left text-color height-19" }, this._translations.recordsSelected
703
+ return (h(Host, { key: '46394d7e108068600980efd766fbf5d91243f3c9' }, h("calcite-shell", { key: 'd831121a56070552139386033b02ddc2531c29e9' }, this._getTableControlRow("header"), h("div", { key: '591e0b0bba19f1dbe99049a470b5d3c04253a2c2', class: `width-full ${tableHeightClass}` }, h("calcite-panel", { key: 'd70244a3c989a5bea8bbbaf33c4ebe9c04fc4515', class: "height-full width-full" }, showSearch &&
704
+ 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" }), h("calcite-loader", { key: '4478be9175933c1b076f7011bd39aaf9adf7faad', class: loadingClass, label: this._translations.fetchingData, scale: "l" }), h("div", { key: '2a77b11f65188931041d781cde17143c90962931', class: tableNodeClass, ref: this.onTableNodeCreate }))), !this.isMobile ? (h("div", { class: "bottom-left text-color height-19" }, this._translations.recordsSelected
696
705
  .replace("{{total}}", total)
697
706
  .replace("{{selected}}", selected))) : undefined), this.createFilterModal && this._filterModal()));
698
707
  }
@@ -704,14 +713,15 @@ const LayerTable = class {
704
713
  this._resizeObserver.observe(this._toolbar);
705
714
  this._observerSet = true;
706
715
  }
707
- document.onclick = (e) => this._handleDocumentClick(e);
708
- document.onkeydown = (e) => this._handleKeyDown(e);
709
- document.onkeyup = (e) => this._handleKeyUp(e);
710
716
  }
711
717
  /**
712
718
  * Called after the component is rendered
713
719
  */
714
720
  componentDidRender() {
721
+ // need to be called after each render to get the clicked mouseEvent
722
+ document.onclick = (e) => this._handleDocumentClick(e);
723
+ document.onkeydown = (e) => this._handleKeyDown(e);
724
+ document.onkeyup = (e) => this._handleKeyUp(e);
715
725
  this._updateToolbar();
716
726
  }
717
727
  //--------------------------------------------------------------------------
@@ -761,9 +771,12 @@ const LayerTable = class {
761
771
  const searchQueryParams = this._layer.createQuery();
762
772
  searchQueryParams.fullText = this._fullTextSearchInfo;
763
773
  const searchedIds = await this._layer.queryObjectIds(searchQueryParams);
764
- this._updateSearchDefinitionExpression(searchedIds?.length ? searchedIds : [-1]);
774
+ await this._updateSearchDefinitionExpression(searchedIds?.length ? searchedIds : [-1]);
765
775
  }
766
776
  }
777
+ //Added timeout and table.refresh() to avoid the issue in which we see empty table records after searching in combination to filter/reset filter
778
+ await new Promise(resolve => setTimeout(resolve, 800));
779
+ await this._updateAllIds();
767
780
  }
768
781
  /**
769
782
  * Clears the applied search expression on the layer
@@ -787,7 +800,7 @@ const LayerTable = class {
787
800
  * Update the search expression in layer
788
801
  * @param searchedIds Array of objectIds satisfying the full search text
789
802
  */
790
- _updateSearchDefinitionExpression(searchedIds) {
803
+ async _updateSearchDefinitionExpression(searchedIds) {
791
804
  const defExp = this._layer.definitionExpression;
792
805
  if (searchedIds?.length) {
793
806
  const searchExp = `objectId in(${searchedIds})`;
@@ -828,7 +841,7 @@ const LayerTable = class {
828
841
  const fieldInfo = this._layer.getField(fieldName.trim());
829
842
  fieldAlias.push(fieldInfo.alias);
830
843
  });
831
- this._searchPlaceHolder = this._translations.searchPlaceholder.replace("{{fields}}", fieldAlias.join(' | '));
844
+ this._searchPlaceHolder = this._translations.searchPlaceholder.replace("{{fields}}", fieldAlias.join(', '));
832
845
  this._fullTextSearchInfo.push({
833
846
  'onFields': ['*'],
834
847
  'searchTerm': '',
@@ -892,14 +905,14 @@ const LayerTable = class {
892
905
  _getFieldlist() {
893
906
  return this._columnsInfo ? (h("calcite-dropdown-group", { "selection-mode": "multiple" }, Object.keys(this._columnsInfo).map(k => {
894
907
  const selected = this._columnsInfo[k];
895
- return (h("calcite-dropdown-item", { id: `layer-table-${k.toLowerCase().replaceAll(" ", "")}`, onClick: (e) => {
908
+ return (h("calcite-dropdown-item", { id: `layer-table-${k.toLowerCase().replaceAll(" ", "")}`, label: k, onClick: (e) => {
896
909
  const target = e.target;
897
- this._columnsInfo[target.id] = target.selected;
910
+ this._columnsInfo[target.label] = target.selected;
898
911
  if (!target.selected) {
899
- this._table.hideColumn(target.id);
912
+ this._table.hideColumn(target.label);
900
913
  }
901
914
  else {
902
- this._table.showColumn(target.id);
915
+ this._table.showColumn(target.label);
903
916
  }
904
917
  }, selected: selected }, k));
905
918
  }))) : undefined;
@@ -955,7 +968,8 @@ const LayerTable = class {
955
968
  */
956
969
  _initToolInfos() {
957
970
  const featuresSelected = this._featuresSelected();
958
- const showMultipleEdits = this.selectedIds.length > 1 && this._layer?.capabilities?.operations?.supportsUpdate;
971
+ // hide multiple edits for R03
972
+ const showMultipleEdits = this.selectedIds.length > 1 && this._layer?.capabilities?.operations?.supportsUpdate && false;
959
973
  const featuresEmpty = this._featuresEmpty();
960
974
  const hasFilterExpressions = this._hasFilterExpressions();
961
975
  if (this._translations) {
@@ -978,7 +992,7 @@ const LayerTable = class {
978
992
  disabled: false,
979
993
  isOverflow: false
980
994
  } : undefined,
981
- !this.mapHidden ? {
995
+ showMultipleEdits ? {
982
996
  active: false,
983
997
  icon: "pencil",
984
998
  indicator: false,
@@ -991,8 +1005,8 @@ const LayerTable = class {
991
1005
  active: undefined,
992
1006
  icon: "trash",
993
1007
  indicator: undefined,
994
- label: undefined,
995
- func: undefined,
1008
+ label: this._translations.delete,
1009
+ func: () => undefined,
996
1010
  disabled: !featuresSelected,
997
1011
  isDanger: true,
998
1012
  isOverflow: false
@@ -1232,7 +1246,7 @@ const LayerTable = class {
1232
1246
  _getDropdown(id) {
1233
1247
  const dropdownItems = this._getDropdownItems();
1234
1248
  return dropdownItems.length > 0 ? (h("calcite-dropdown", { closeOnSelectDisabled: true, disabled: this._layer === undefined, id: "solutions-more", onCalciteDropdownBeforeClose: () => this._forceShowHide(), ref: (el) => this._moreDropdown = el }, h("calcite-action", { appearance: "solid", id: id, label: "", onClick: () => this._closeShowHide(), slot: "trigger", text: "" }, h("calcite-button", { appearance: "transparent", iconEnd: "chevron-down", kind: "neutral" }, this._translations.more)), h("calcite-dropdown-group", { "selection-mode": "none" }, dropdownItems.map(item => {
1235
- return (h("calcite-dropdown-group", { class: item.disabled ? "disabled" : "", selectionMode: item.disabled ? "none" : "single" }, 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 ? (h("div", { class: "display-flex" }, h("calcite-loader", { inline: true, label: item.label, scale: "m" }), item.label)) : item.label)));
1249
+ return (h("calcite-dropdown-group", { class: item.disabled ? "disabled" : "", selectionMode: "none" }, 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 ? (h("div", { class: "display-flex" }, h("calcite-loader", { inline: true, label: item.label, scale: "m" }), item.label)) : item.label)));
1236
1250
  })), this._showHideOpen ? this._getFieldlist() : undefined)) : undefined;
1237
1251
  }
1238
1252
  /**
@@ -1332,7 +1346,7 @@ const LayerTable = class {
1332
1346
  */
1333
1347
  _getDangerAction(icon, label, func, disabled) {
1334
1348
  const _disabled = this._layer === undefined ? true : disabled;
1335
- return (h("div", { class: "display-flex", id: this._getId(icon) }, icon === "trash" ? (h("delete-button", { buttonType: "action", class: "display-flex", disabled: _disabled, icon: icon, ids: this._getIds(), layer: this._layer })) : (h("calcite-action", { appearance: "solid", disabled: _disabled, id: icon, onClick: func, text: "" }, h("calcite-button", { appearance: "transparent", iconStart: icon, kind: "danger" }, label))), this._getToolTip("bottom", icon, label)));
1349
+ return (h("div", { class: "display-flex", id: this._getId(icon) }, icon === "trash" ? (h("delete-button", { buttonType: "action", class: "display-flex", disabled: _disabled, icon: icon, ids: this._getIds(), layer: this._layer })) : (h("calcite-action", { appearance: "solid", disabled: _disabled, id: icon, onClick: func, text: label }, h("calcite-button", { appearance: "transparent", iconStart: icon, kind: "danger" }, label))), this._getToolTip("bottom", icon, label)));
1336
1350
  }
1337
1351
  /**
1338
1352
  * Return all currently selected IDs from the table
@@ -1381,6 +1395,11 @@ const LayerTable = class {
1381
1395
  this._table.highlightIds.on("change", (evt) => {
1382
1396
  void this._handleOnChange(evt);
1383
1397
  });
1398
+ //Add handle to watch size of the table and update the state to reflect the total count
1399
+ const handle = this.reactiveUtils.watch(() => this._table.size, (size) => {
1400
+ this._size = size;
1401
+ });
1402
+ this._table.viewModel.addHandles(handle);
1384
1403
  });
1385
1404
  }
1386
1405
  }
@@ -1683,7 +1702,10 @@ const LayerTable = class {
1683
1702
  */
1684
1703
  _handleDocumentClick(e) {
1685
1704
  const id = e.target?.id;
1686
- if (this._showHideOpen && Object.keys(this._columnsInfo).indexOf(id) < 0 && id !== "solutions-subset-list" && id !== "chevron-right") {
1705
+ if (id.startsWith('layer-table-')) {
1706
+ this._moreDropdown.open = true;
1707
+ }
1708
+ else if (this._showHideOpen && Object.keys(this._columnsInfo).indexOf(id) < 0 && id !== "chevron-right") {
1687
1709
  this._closeShowHide();
1688
1710
  if (this._moreDropdown) {
1689
1711
  this._moreDropdown.open = false;
@@ -1899,7 +1921,7 @@ const LayerTable = class {
1899
1921
  });
1900
1922
  }
1901
1923
  /**
1902
- * Refreshes the table and maintains the curent scroll position
1924
+ * Refreshes the table and maintains the current scroll position
1903
1925
  * @protected
1904
1926
  */
1905
1927
  async _refresh() {
@@ -2086,7 +2108,7 @@ function joinAppProxies(map, config, appProxies) {
2086
2108
  return map;
2087
2109
  }
2088
2110
 
2089
- 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}";
2111
+ 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}";
2090
2112
  const MapCardStyle0 = mapCardCss;
2091
2113
 
2092
2114
  const MapCard = class {
@@ -2095,6 +2117,7 @@ const MapCard = class {
2095
2117
  this.mapChanged = createEvent(this, "mapChanged", 7);
2096
2118
  this.beforeMapChanged = createEvent(this, "beforeMapChanged", 7);
2097
2119
  this.toggleFilter = createEvent(this, "toggleFilter", 7);
2120
+ this.clearSelection = createEvent(this, "clearSelection", 7);
2098
2121
  this.appProxies = undefined;
2099
2122
  this.defaultWebmapId = "";
2100
2123
  this.defaultLayerId = undefined;
@@ -2129,6 +2152,8 @@ const MapCard = class {
2129
2152
  this._searchConfiguration = undefined;
2130
2153
  this._webMapInfo = undefined;
2131
2154
  this._showHideOpen = false;
2155
+ this._toolInfos = undefined;
2156
+ this._controlsThatFit = undefined;
2132
2157
  }
2133
2158
  get el() { return getElement(this); }
2134
2159
  //--------------------------------------------------------------------------
@@ -2192,6 +2217,38 @@ const MapCard = class {
2192
2217
  * string: The current layers definition expression
2193
2218
  */
2194
2219
  _definitionExpression;
2220
+ /**
2221
+ * HTMLMapLayerPickerElement: The Map layer picker refrence element
2222
+ */
2223
+ _mapLayerPicker;
2224
+ /**
2225
+ * ResizeObserver: The observer that watches for toolbar size changes
2226
+ */
2227
+ _resizeObserver;
2228
+ /**
2229
+ * HTMLCalciteDropdownElement: Dropdown the will support show/hide of table columns
2230
+ */
2231
+ _showHideDropdown;
2232
+ /**
2233
+ * HTMLDivElement: The toolbars containing node
2234
+ */
2235
+ _toolbar;
2236
+ /**
2237
+ * any: Timeout used to limit redundancy for toolbar resizing
2238
+ */
2239
+ _timeout;
2240
+ /**
2241
+ * IToolSizeInfo[]: Id and Width for the current tools
2242
+ */
2243
+ _toolbarSizeInfos;
2244
+ /**
2245
+ * IToolSizeInfo[]: The default list of tool size info for tools that should display outside of the dropdown
2246
+ */
2247
+ _defaultVisibleToolSizeInfos;
2248
+ /**
2249
+ * boolean: When true the observer has been set and we don't need to set it again
2250
+ */
2251
+ _observerSet = false;
2195
2252
  //--------------------------------------------------------------------------
2196
2253
  //
2197
2254
  // Watch handlers
@@ -2211,6 +2268,28 @@ const MapCard = class {
2211
2268
  this._definitionExpression = this.selectedLayer.definitionExpression;
2212
2269
  });
2213
2270
  }
2271
+ /**
2272
+ * watch for features ids changes
2273
+ */
2274
+ async selectedFeaturesIdsWatchHandler() {
2275
+ this._validateEnabledActions();
2276
+ }
2277
+ /**
2278
+ * watch for changes to the list of controls that will currently fit in the display
2279
+ */
2280
+ _controlsThatFitWatchHandler() {
2281
+ const ids = this._controlsThatFit ? this._controlsThatFit.reduce((prev, cur) => {
2282
+ prev.push(cur.id);
2283
+ return prev;
2284
+ }, []) : [];
2285
+ this._toolInfos = this._toolInfos?.map(ti => {
2286
+ if (ti && this._controlsThatFit) {
2287
+ const id = this._getId(ti.icon);
2288
+ ti.isOverflow = ids.indexOf(id) < 0;
2289
+ return ti;
2290
+ }
2291
+ });
2292
+ }
2214
2293
  //--------------------------------------------------------------------------
2215
2294
  //
2216
2295
  // Methods (public)
@@ -2219,15 +2298,21 @@ const MapCard = class {
2219
2298
  /**
2220
2299
  * Reset the filter
2221
2300
  */
2222
- async filterReset() {
2301
+ async resetFilter() {
2223
2302
  this._filterActive = false;
2224
2303
  }
2225
2304
  /**
2226
2305
  * updates the filter
2227
2306
  */
2228
- async updateFilter() {
2307
+ async updateFilterState() {
2229
2308
  this._filterActive = this._definitionExpression !== this.selectedLayer.definitionExpression;
2230
2309
  }
2310
+ /**
2311
+ * updates the layer in map layer picker
2312
+ */
2313
+ async updateLayer() {
2314
+ void this._mapLayerPicker.updateLayer();
2315
+ }
2231
2316
  //--------------------------------------------------------------------------
2232
2317
  //
2233
2318
  // Events (public)
@@ -2245,6 +2330,10 @@ const MapCard = class {
2245
2330
  * Emitted on demand when filter action is clicked
2246
2331
  */
2247
2332
  toggleFilter;
2333
+ /**
2334
+ * Emitted on demand when clear selection button is clicked
2335
+ */
2336
+ clearSelection;
2248
2337
  /**
2249
2338
  * Listen for changes to map info and load the appropriate map
2250
2339
  */
@@ -2258,6 +2347,14 @@ const MapCard = class {
2258
2347
  this.selectedLayer = undefined;
2259
2348
  this.selectedFeaturesIds = [];
2260
2349
  }
2350
+ /**
2351
+ * Handles layer selection change to show new table
2352
+ */
2353
+ layerSelectionChange() {
2354
+ setTimeout(() => {
2355
+ this._initToolInfos();
2356
+ }, 50);
2357
+ }
2261
2358
  //--------------------------------------------------------------------------
2262
2359
  //
2263
2360
  // Functions (lifecycle)
@@ -2269,27 +2366,40 @@ const MapCard = class {
2269
2366
  async componentWillLoad() {
2270
2367
  await this._getTranslations();
2271
2368
  await this._initModules();
2369
+ this._initToolInfos();
2370
+ if (!this._resizeObserver) {
2371
+ this._resizeObserver = new ResizeObserver(() => this._updateToolbar());
2372
+ }
2272
2373
  }
2273
2374
  /**
2274
2375
  * Renders the component.
2275
2376
  */
2276
2377
  render() {
2277
- const mapContainerClass = this.isMapLayout ? "display-flex height-50-px" : "";
2378
+ const mapContainerClass = this.isMapLayout ? "display-flex height-50-px border-bottom-3px" : "";
2278
2379
  const mapClass = this.hidden ? "visibility-hidden-1" : "";
2279
2380
  const themeClass = this.theme === "dark" ? "calcite-mode-dark" : "calcite-mode-light";
2280
- const mapPickerClass = this.mapInfos?.length > 1 ? "" : "display-none";
2281
- const mapHeightClass = this.mapInfos?.length > 1 ? "map-height" : "height-full";
2282
- const containerClass = this.isMobile ? "width-full" : "";
2283
- const mobileClass = this.isMobile ? "border-top" : "";
2284
- const headerElements = this.isMapLayout ? "" : "display-none";
2285
- return (h(Host, { key: '6f827d045d920101c70f55e80a422383f94bae56' }, h("div", { key: '50215e8f899cf6321b228b0ee5b8a0ba9e1911c4', class: `${mapContainerClass}` }, h("map-picker", { key: '46dd475d52684cc239963160ab79019970fa13d2', class: mapPickerClass, isMapLayout: this.isMapLayout, mapInfos: this.mapInfos, ref: (el) => this._mapPicker = el }), h("div", { key: '8a8f260bb3a22b5bc2b933f94ab940e8750a9757', class: `mapView-header display-flex ${headerElements}` }, h("div", { key: 'a8ceb2a88432fbc052f00961a03d43cbf61dc076', class: `border-end ${containerClass} ${mobileClass}`, id: "solutions-map-layer-picker-container" }, this.mapView && h("map-layer-picker", { key: '0c0c3e24b05491044d5bb42f460152eeb003dec2', appearance: "transparent", defaultLayerId: this.defaultLayerId, display: "inline-flex", height: 50, isMobile: this.isMobile, mapView: this.mapView, onlyShowUpdatableLayers: this.onlyShowUpdatableLayers, placeholderIcon: "layers", scale: "l", selectedIds: this.selectedLayer ? [this.selectedLayer.id] : [], showSingleLayerAsLabel: true, showTables: true, type: "dropdown" })), this._getDropDownItem())), h("div", { key: '6091fdd6540a8eda0df227251a581347c734369c', class: `${mapHeightClass} ${mapClass}`, ref: (el) => (this._mapDiv = el) }), h("map-tools", { key: 'eb0823b1b1babd12822e0d8ee91bc76169a51476', basemapConfig: this.basemapConfig, class: `box-shadow ${themeClass}`, enableBasemap: this.enableBasemap, enableFloorFilter: this.enableFloorFilter, enableFullscreen: this.enableFullscreen, enableHome: this.enableHome, enableLegend: this.enableLegend, enableSearch: this.enableSearch, enableSingleExpand: this.enableSingleExpand, homeZoomToolsSize: this.homeZoomToolsSize, mapView: this.mapView, mapWidgetsSize: this.mapWidgetsSize, position: this.mapWidgetsPosition, ref: (el) => this._mapTools = el, searchConfiguration: this._searchConfiguration, stackTools: this.stackTools, toolOrder: this.toolOrder })));
2381
+ const mapHeightClass = this.mapInfos?.length > 1 || this.isMapLayout ? "map-height" : "height-full";
2382
+ this._validateActiveActions();
2383
+ return (h(Host, { key: '197d79614a8d45037c034d3a61eda793d3ad3365' }, h("div", { key: 'ff428e43fb74c71fabd3af86677223c460bb4fb8', class: `${mapContainerClass} width-full`, ref: (el) => this._toolbar = el }, this._getActionBar(), !this.isMobile && this.isMapLayout && this._getDropdown("more-table-options")), h("div", { key: '0cf63d7623c194bcb0a8636e89bd150450c385a0', class: `${mapHeightClass} ${mapClass}`, ref: (el) => (this._mapDiv = el) }), h("map-tools", { key: '0982cb82f916bfff2c25e3b276b8f7708fe19842', basemapConfig: this.basemapConfig, class: `box-shadow ${themeClass}`, enableBasemap: this.enableBasemap, enableFloorFilter: this.enableFloorFilter, enableFullscreen: this.enableFullscreen, enableHome: this.enableHome, enableLegend: this.enableLegend, enableSearch: this.enableSearch, enableSingleExpand: this.enableSingleExpand, homeZoomToolsSize: this.homeZoomToolsSize, mapView: this.mapView, mapWidgetsSize: this.mapWidgetsSize, position: this.mapWidgetsPosition, ref: (el) => this._mapTools = el, searchConfiguration: this._searchConfiguration, stackTools: this.stackTools, toolOrder: this.toolOrder })));
2286
2384
  }
2287
2385
  /**
2288
2386
  * Called each time after the component is loaded
2289
2387
  */
2290
2388
  async componentDidRender() {
2389
+ if (this.isMapLayout) {
2390
+ this._updateToolbar();
2391
+ }
2291
2392
  document.onclick = (e) => this._handleDocumentClick(e);
2292
2393
  }
2394
+ /**
2395
+ * Called once after the component is loaded
2396
+ */
2397
+ async componentDidLoad() {
2398
+ if (!this.isMobile && !this._observerSet) {
2399
+ this._resizeObserver.observe(this._toolbar);
2400
+ this._observerSet = true;
2401
+ }
2402
+ }
2293
2403
  //--------------------------------------------------------------------------
2294
2404
  //
2295
2405
  // Functions (protected)
@@ -2368,6 +2478,263 @@ const MapCard = class {
2368
2478
  });
2369
2479
  }
2370
2480
  }
2481
+ /**
2482
+ * Add/Remove tools from the action bar and dropdown based on available size
2483
+ * @protected
2484
+ */
2485
+ _updateToolbar() {
2486
+ if (this._timeout) {
2487
+ clearTimeout(this._timeout);
2488
+ }
2489
+ if (!this.isMobile && this._toolbar && this._toolInfos) {
2490
+ this._timeout = setTimeout(() => {
2491
+ clearTimeout(this._timeout);
2492
+ this._setToolbarSizeInfos();
2493
+ const toolbarWidth = this._toolbar.offsetWidth;
2494
+ let controlsWidth = this._toolbarSizeInfos.reduce((prev, cur) => {
2495
+ prev += cur.width;
2496
+ return prev;
2497
+ }, 0);
2498
+ const skipControls = ["solutions-more", "solutions-map-layer-picker-container", "map-picker"];
2499
+ if (controlsWidth > toolbarWidth) {
2500
+ if (this._toolbarSizeInfos.length > 0) {
2501
+ const controlsThatFit = [...this._toolbarSizeInfos].reverse().reduce((prev, cur) => {
2502
+ if (skipControls.indexOf(cur.id) < 0) {
2503
+ if (controlsWidth > toolbarWidth) {
2504
+ controlsWidth -= cur.width;
2505
+ }
2506
+ else {
2507
+ prev.push(cur);
2508
+ }
2509
+ }
2510
+ return prev;
2511
+ }, []).reverse();
2512
+ this._setControlsThatFit(controlsThatFit, skipControls);
2513
+ }
2514
+ }
2515
+ else {
2516
+ if (this._defaultVisibleToolSizeInfos) {
2517
+ const currentTools = this._toolbarSizeInfos.reduce((prev, cur) => {
2518
+ prev.push(cur.id);
2519
+ return prev;
2520
+ }, []);
2521
+ let forceFinish = false;
2522
+ const controlsThatFit = [...this._defaultVisibleToolSizeInfos].reduce((prev, cur) => {
2523
+ if (!forceFinish && skipControls.indexOf(cur.id) < 0 &&
2524
+ (currentTools.indexOf(cur.id) > -1 || (controlsWidth + cur.width) <= toolbarWidth)) {
2525
+ if (currentTools.indexOf(cur.id) < 0) {
2526
+ controlsWidth += cur.width;
2527
+ }
2528
+ prev.push(cur);
2529
+ }
2530
+ else if (skipControls.indexOf(cur.id) < 0 && (controlsWidth + cur.width) > toolbarWidth) {
2531
+ // exit the first time we evalute this as true...otherwise it will add the next control that will fit
2532
+ // and not preserve the overall order of controls
2533
+ forceFinish = true;
2534
+ }
2535
+ return prev;
2536
+ }, []);
2537
+ this._setControlsThatFit(controlsThatFit, skipControls);
2538
+ }
2539
+ }
2540
+ }, 250);
2541
+ }
2542
+ }
2543
+ /**
2544
+ * Validate if controls that fit the current display has changed or
2545
+ * is different from what is currently displayed
2546
+ * @param _setControlsThatFit
2547
+ * @param skipControls
2548
+ * @protected
2549
+ */
2550
+ _setControlsThatFit(controlsThatFit, skipControls) {
2551
+ let update = JSON.stringify(controlsThatFit) !== JSON.stringify(this._controlsThatFit);
2552
+ const actionbar = document.getElementById("solutions-action-bar");
2553
+ actionbar?.childNodes?.forEach((n) => {
2554
+ if (skipControls.indexOf(n.id) < 0 && !update) {
2555
+ update = this._controlsThatFit.map(c => c.id).indexOf(n.id) < 0;
2556
+ }
2557
+ });
2558
+ if (update) {
2559
+ this._controlsThatFit = [...controlsThatFit];
2560
+ }
2561
+ }
2562
+ /**
2563
+ * Get the id and size for the toolbars current items
2564
+ * @protected
2565
+ */
2566
+ _setToolbarSizeInfos() {
2567
+ let hasWidth = false;
2568
+ this._toolbarSizeInfos = [];
2569
+ this._toolbar.childNodes.forEach((c, i) => {
2570
+ // handle the action bar
2571
+ if (i === 0) {
2572
+ c.childNodes.forEach((actionbarChild) => {
2573
+ this._toolbarSizeInfos.push({
2574
+ id: actionbarChild.id,
2575
+ width: actionbarChild.offsetWidth
2576
+ });
2577
+ if (!hasWidth) {
2578
+ hasWidth = actionbarChild.offsetWidth > 0;
2579
+ }
2580
+ });
2581
+ }
2582
+ else if (!c.referenceElement) {
2583
+ // skip tooltips
2584
+ this._toolbarSizeInfos.push({
2585
+ id: c.id,
2586
+ width: c.offsetWidth
2587
+ });
2588
+ if (!hasWidth) {
2589
+ hasWidth = c.offsetWidth > 0;
2590
+ }
2591
+ }
2592
+ });
2593
+ if (hasWidth && !this._defaultVisibleToolSizeInfos) {
2594
+ this._defaultVisibleToolSizeInfos = [...this._toolbarSizeInfos];
2595
+ }
2596
+ }
2597
+ /**
2598
+ * Gets a row of controls that can be used for various interactions with the table
2599
+ *
2600
+ * @returns The dom node that contains the controls
2601
+ * @protected
2602
+ */
2603
+ _getActionBar() {
2604
+ const mapPickerClass = this.mapInfos?.length > 1 ? "" : "display-none";
2605
+ const containerClass = this.isMapLayout ? "display-flex" : "display-block";
2606
+ const mobileClass = this.isMobile ? "border-top" : "";
2607
+ const headerElements = this.isMapLayout ? "" : "display-none";
2608
+ return (h("calcite-action-bar", { class: containerClass, expandDisabled: true, expanded: true, id: this._getId("bar"), layout: "horizontal" }, h("map-picker", { class: mapPickerClass, isMapLayout: this.isMapLayout, mapInfos: this.mapInfos, ref: (el) => this._mapPicker = el }), h("div", { class: `mapView-header display-flex ${headerElements}` }, h("div", { class: `border-end ${containerClass} ${mobileClass}`, id: "solutions-map-layer-picker-container" }, this.mapView && h("map-layer-picker", { appearance: "transparent", defaultLayerId: this.defaultLayerId, display: "inline-flex", height: 50, isMobile: this.isMobile, mapView: this.mapView, onlyShowUpdatableLayers: this.onlyShowUpdatableLayers, placeholderIcon: "layers", ref: (el) => this._mapLayerPicker = el, scale: "l", selectedIds: this.selectedLayer ? [this.selectedLayer.id] : [], showSingleLayerAsLabel: true, showTables: true, showTablesDisabled: true, type: "dropdown" }))), !this.isMobile && this.isMapLayout ? this._getActions() : undefined));
2609
+ }
2610
+ /**
2611
+ * Get a list of toolInfos that should display in the dropdown
2612
+ *
2613
+ * @param id string the id for the dropdown and its tooltip
2614
+ *
2615
+ * @returns VNode the dropdown node
2616
+ * @protected
2617
+ */
2618
+ _getDropdown(id) {
2619
+ const dropdownItems = this._getDropdownItems();
2620
+ return dropdownItems.length > 0 ? (h("calcite-dropdown", { closeOnSelectDisabled: true, disabled: this.selectedLayer === undefined, id: "solutions-more", onCalciteDropdownBeforeClose: () => this._forceShowHide(), ref: (el) => this._moreDropdown = el }, h("calcite-action", { appearance: "solid", id: id, label: "", onClick: () => this._closeShowHide(), slot: "trigger", text: "" }, h("calcite-button", { appearance: "transparent", iconEnd: "chevron-down", kind: "neutral" }, this._translations.more)), h("calcite-dropdown-group", { "selection-mode": "none" }, dropdownItems.map(item => {
2621
+ return (h("calcite-dropdown-group", { class: item.disabled ? "disabled" : "", selectionMode: "none" }, h("calcite-dropdown-item", { disabled: item.loading, iconStart: item.icon, id: "solutions-subset-list", onClick: item.func }, item.loading ? (h("div", { class: "display-flex" }, h("calcite-loader", { inline: true, label: item.label, scale: "m" }), item.label)) : item.label)));
2622
+ })))) : undefined;
2623
+ }
2624
+ /**
2625
+ * Open show/hide dropdown
2626
+ * @protected
2627
+ */
2628
+ _closeShowHide() {
2629
+ this._showHideOpen = false;
2630
+ }
2631
+ /**
2632
+ * Get a list of toolInfos that should display in the dropdown
2633
+ *
2634
+ * @returns IToolInfo[] the list of toolInfos that should display in the dropdown
2635
+ * @protected
2636
+ */
2637
+ _getDropdownItems() {
2638
+ return this._toolInfos?.filter(toolInfo => toolInfo && toolInfo.isOverflow);
2639
+ }
2640
+ /**
2641
+ * Get the full list of toolInfos.
2642
+ * Order is important. They should be listed in the order they should display in the UI from
2643
+ * Left to Right for the action bar and Top to Bottom for the dropdown.
2644
+ * @protected
2645
+ */
2646
+ _initToolInfos() {
2647
+ const featuresSelected = this.selectedFeaturesIds?.length > 0;
2648
+ const hasFilterExpressions = this._hasFilterExpressions();
2649
+ // hide multiple edits for R03
2650
+ const showMultipleEdits = this.selectedFeaturesIds?.length > 1 && false;
2651
+ if (this._translations) {
2652
+ this._toolInfos = [
2653
+ {
2654
+ active: false,
2655
+ icon: "zoom-to-object",
2656
+ indicator: false,
2657
+ label: this._translations.zoom,
2658
+ func: () => this._zoom(),
2659
+ disabled: !featuresSelected,
2660
+ isOverflow: false
2661
+ },
2662
+ hasFilterExpressions ? {
2663
+ active: false,
2664
+ icon: "filter",
2665
+ indicator: false,
2666
+ label: this._translations.filters,
2667
+ func: () => this._toggleFilter(),
2668
+ disabled: false,
2669
+ isOverflow: false
2670
+ } : undefined,
2671
+ showMultipleEdits ? {
2672
+ active: false,
2673
+ icon: "pencil",
2674
+ indicator: false,
2675
+ label: this._translations.editMultiple,
2676
+ func: () => alert(this._translations.editMultiple),
2677
+ disabled: !showMultipleEdits,
2678
+ isOverflow: false,
2679
+ } : undefined,
2680
+ {
2681
+ active: false,
2682
+ icon: "refresh",
2683
+ indicator: false,
2684
+ label: this._translations.refresh,
2685
+ func: () => this.selectedLayer.refresh(),
2686
+ disabled: false,
2687
+ isOverflow: false
2688
+ },
2689
+ {
2690
+ active: false,
2691
+ icon: "erase",
2692
+ indicator: false,
2693
+ label: this._translations.clearSelection,
2694
+ func: () => this.clearSelection.emit(),
2695
+ disabled: !featuresSelected,
2696
+ isOverflow: false
2697
+ }
2698
+ ];
2699
+ this._defaultVisibleToolSizeInfos = undefined;
2700
+ }
2701
+ }
2702
+ /**
2703
+ * Update actions active prop based on a stored value
2704
+ * @protected
2705
+ */
2706
+ _validateActiveActions() {
2707
+ const activeDependant = [
2708
+ "filter"
2709
+ ];
2710
+ this._toolInfos?.forEach(ti => {
2711
+ if (ti && activeDependant.indexOf(ti.icon) > -1) {
2712
+ if (ti.icon === "filter") {
2713
+ ti.indicator = this._filterActive;
2714
+ }
2715
+ }
2716
+ });
2717
+ }
2718
+ /**
2719
+ * Update actions enabled prop based on number of selected indexes
2720
+ * @protected
2721
+ */
2722
+ _validateEnabledActions() {
2723
+ const featuresSelected = this.selectedFeaturesIds?.length > 0;
2724
+ const showMultipleEdits = this.selectedFeaturesIds?.length > 1 && this.selectedLayer?.capabilities?.operations?.supportsUpdate;
2725
+ const selectionDependant = [
2726
+ "zoom-to-object",
2727
+ "pencil",
2728
+ "erase"
2729
+ ];
2730
+ this._toolInfos?.forEach(ti => {
2731
+ if (ti && selectionDependant.indexOf(ti.icon) > -1) {
2732
+ // disable the pencil icon if multiple features are not selected
2733
+ // For other icons disable them if any feature is not selected
2734
+ ti.disabled = ti.icon === "pencil" ? !showMultipleEdits : !featuresSelected;
2735
+ }
2736
+ });
2737
+ }
2371
2738
  /**
2372
2739
  * Add/remove the home widget base on enableHome prop
2373
2740
  *
@@ -2406,7 +2773,10 @@ const MapCard = class {
2406
2773
  */
2407
2774
  _handleDocumentClick(e) {
2408
2775
  const id = e.target?.id;
2409
- if (this._showHideOpen && id !== "solutions-subset-list" && id !== "solutions-more" && id !== "chevron-down") {
2776
+ if (id === "solutions-subset-list") {
2777
+ this._moreDropdown.open = true;
2778
+ }
2779
+ else if (this._showHideOpen && id !== "solutions-subset-list" && id !== "solutions-more" && id !== "chevron-down") {
2410
2780
  if (this._moreDropdown) {
2411
2781
  this._showHideOpen = false;
2412
2782
  this._moreDropdown.open = false;
@@ -2424,16 +2794,20 @@ const MapCard = class {
2424
2794
  }
2425
2795
  }
2426
2796
  /**
2427
- * Zoom to all selected features
2428
- *
2429
- * @returns a promise that will resolve when the operation is complete
2430
- */
2797
+ * Zoom to all selected features
2798
+ *
2799
+ * @returns a promise that will resolve when the operation is complete
2800
+ */
2431
2801
  async _zoom() {
2432
2802
  if (this.selectedLayer) {
2433
2803
  const selectedLayerView = await getFeatureLayerView(this.mapView, this.selectedLayer.id);
2434
2804
  await goToSelection(this.selectedFeaturesIds, selectedLayerView, this.mapView, true, undefined, this.zoomToScale);
2435
2805
  }
2436
2806
  }
2807
+ /**
2808
+ * toggle the filter
2809
+ * @protected
2810
+ */
2437
2811
  async _toggleFilter() {
2438
2812
  this.toggleFilter.emit();
2439
2813
  }
@@ -2450,22 +2824,66 @@ const MapCard = class {
2450
2824
  return layerExpressions?.length > 0;
2451
2825
  }
2452
2826
  /**
2453
- * Get Dropdown action item
2454
- * @returns Dropdown item
2827
+ * Get the actions that are used for various interactions with the table
2828
+ *
2829
+ * @returns VNode[] the action nodes
2455
2830
  */
2456
- _getDropDownItem() {
2457
- return (h("calcite-dropdown", { closeOnSelectDisabled: true, disabled: this.selectedLayer === undefined, id: "solutions-more", onCalciteDropdownBeforeClose: () => this._forceShowHide(), ref: (el) => this._moreDropdown = el, widthScale: "l" }, h("calcite-action", { appearance: "solid", id: 'solutions-more', label: "", onClick: () => this._toggleShowHide(), slot: "trigger", text: "" }, h("calcite-button", { appearance: "transparent", iconEnd: this._showHideOpen ? "chevron-up" : "chevron-down", kind: "neutral" }, this._translations.more)), h("calcite-dropdown-group", { selectionMode: "none" }, this._getDropDownItems())));
2831
+ _getActions() {
2832
+ const actions = this._getActionItems();
2833
+ return actions?.reduce((prev, cur) => {
2834
+ if (cur && !cur.isOverflow) {
2835
+ prev.push(this._getAction(cur.active, cur.icon, cur.indicator, cur.label, cur.func, cur.disabled, cur.loading));
2836
+ }
2837
+ return prev;
2838
+ }, []);
2458
2839
  }
2459
2840
  /**
2460
- * Gets the dropdown items
2461
- * @returns dropdown items
2841
+ * Get a tooltip
2842
+ *
2843
+ * @param placement string where the tooltip should display
2844
+ * @param referenceElement string the element the tooltip will be associated with
2845
+ * @param text string the text to display in the tooltip
2846
+ *
2847
+ * @returns VNode The tooltip node
2462
2848
  */
2463
- _getDropDownItems() {
2464
- const featureSelected = this.selectedFeaturesIds?.length > 0;
2465
- const showMultipleEdits = this.selectedFeaturesIds?.length > 1;
2466
- const hasFilterExpressions = this._hasFilterExpressions();
2467
- return (h(Fragment, null, h("calcite-dropdown-group", { selectionMode: "none" }, h("calcite-dropdown-item", { disabled: !showMultipleEdits, iconStart: "pencil", id: "solutions-subset-list", onClick: () => alert(this._translations.editMultiple) }, this._translations.editMultiple)), h("calcite-dropdown-group", { selectionMode: "none" }, h("calcite-dropdown-item", { iconStart: "refresh", id: "solutions-subset-list", onClick: () => { this.selectedLayer.refresh(); } }, this._translations.refresh)), h("calcite-dropdown-group", { selectionMode: "none" }, h("calcite-dropdown-item", { disabled: !featureSelected, iconStart: "zoom-to-object", id: "solutions-subset-list", onClick: this._zoom.bind(this) }, this._translations.zoom)), hasFilterExpressions &&
2468
- h("calcite-dropdown-group", null, h("calcite-dropdown-item", { disabled: false, iconStart: "filter", id: "solutions-subset-list", onClick: this._toggleFilter.bind(this), selected: this._filterActive }, this._translations.filters))));
2849
+ _getToolTip(placement, referenceElement, text) {
2850
+ return document.getElementById(referenceElement) ? (h("calcite-tooltip", { placement: placement, "reference-element": "map-" + referenceElement }, h("span", null, text))) : undefined;
2851
+ }
2852
+ /**
2853
+ * Get a list of toolInfos that should display outside of the dropdown
2854
+ *
2855
+ * @returns IToolInfo[] the list of toolInfos that should not display in the overflow dropdown
2856
+ */
2857
+ _getActionItems() {
2858
+ return this._toolInfos?.filter(toolInfo => toolInfo && !toolInfo.isOverflow);
2859
+ }
2860
+ /**
2861
+ * Get an action and tooltip
2862
+ *
2863
+ * @param active boolean if true the icon is in use
2864
+ * @param icon string the name of the icon to display, will also be used as the id
2865
+ * @param indicator if true the icon will shown using indicator
2866
+ * @param label string the text to display and label the action
2867
+ * @param func any the function to execute
2868
+ * @param disabled boolean when true the user will not be able to interact with the action
2869
+ * @param loading if true loading indicator will shown
2870
+ * @param slot slot for the action
2871
+ *
2872
+ * @returns VNode The node representing the DOM element that will contain the action
2873
+ */
2874
+ _getAction(active, icon, indicator, label, func, disabled, loading, slot) {
2875
+ const _disabled = this.selectedLayer === undefined ? true : disabled;
2876
+ return (h("div", { class: "display-flex", id: this._getId(icon), slot: slot }, h("calcite-action", { active: active, appearance: "solid", disabled: _disabled, icon: icon, id: "map-" + icon, indicator: indicator, label: label, loading: loading, onClick: func, text: label, textEnabled: true }), this._getToolTip("bottom", icon, label)));
2877
+ }
2878
+ /**
2879
+ * Get an id with a prefix to the user supplied value
2880
+ *
2881
+ * @param id the unique value for the id
2882
+ *
2883
+ * @returns the new id with the prefix value
2884
+ */
2885
+ _getId(id) {
2886
+ return `solutions-action-${id}`;
2469
2887
  }
2470
2888
  /**
2471
2889
  * Fetches the component's translations
@@ -2479,7 +2897,9 @@ const MapCard = class {
2479
2897
  }
2480
2898
  static get watchers() { return {
2481
2899
  "enableHome": ["enableHomeWatchHandler"],
2482
- "selectedLayer": ["selectedLayerWatchHandler"]
2900
+ "selectedLayer": ["selectedLayerWatchHandler"],
2901
+ "selectedFeaturesIds": ["selectedFeaturesIdsWatchHandler"],
2902
+ "_controlsThatFit": ["_controlsThatFitWatchHandler"]
2483
2903
  }; }
2484
2904
  };
2485
2905
  MapCard.style = MapCardStyle0;