@esri/solutions-components 0.10.38 → 0.10.40

Sign up to get free protection for your applications and to get access to all the features.
Files changed (842) hide show
  1. package/dist/cjs/basemap-gallery_7.cjs.entry.js +26 -6
  2. package/dist/cjs/buffer-tools_3.cjs.entry.js +23 -3
  3. package/dist/cjs/calcite-alert_5.cjs.entry.js +40 -5
  4. package/dist/cjs/calcite-combobox_3.cjs.entry.js +11 -1
  5. package/dist/cjs/calcite-flow_4.cjs.entry.js +33 -10
  6. package/dist/cjs/calcite-shell-panel_14.cjs.entry.js +119 -10
  7. package/dist/cjs/calcite-shell_3.cjs.entry.js +26 -4
  8. package/dist/cjs/card-manager_3.cjs.entry.js +41 -9
  9. package/dist/cjs/consent-manager.cjs.entry.js +12 -0
  10. package/dist/cjs/crowdsource-manager.cjs.entry.js +13 -14
  11. package/dist/cjs/crowdsource-reporter.cjs.entry.js +19 -9
  12. package/dist/cjs/deduct-calculator.cjs.entry.js +1 -1
  13. package/dist/cjs/feature-list.cjs.entry.js +13 -3
  14. package/dist/cjs/loader.cjs.js +1 -1
  15. package/dist/cjs/map-select-tools_3.cjs.entry.js +38 -6
  16. package/dist/cjs/pci-calculator.cjs.entry.js +1 -1
  17. package/dist/cjs/public-notification.cjs.entry.js +11 -2
  18. package/dist/cjs/share-item.cjs.entry.js +1 -1
  19. package/dist/cjs/solution-configuration.cjs.entry.js +20 -5
  20. package/dist/cjs/solution-contents_3.cjs.entry.js +37 -7
  21. package/dist/cjs/solution-item-accordion.cjs.entry.js +11 -1
  22. package/dist/cjs/solution-item-icon.cjs.entry.js +1 -1
  23. package/dist/cjs/solutions-components.cjs.js +1 -1
  24. package/dist/cjs/spatial-ref.cjs.entry.js +16 -1
  25. package/dist/collection/assets/t9n/card-manager/resources_ar.json +1 -1
  26. package/dist/collection/assets/t9n/card-manager/resources_bg.json +1 -1
  27. package/dist/collection/assets/t9n/card-manager/resources_bs.json +1 -1
  28. package/dist/collection/assets/t9n/card-manager/resources_ca.json +1 -1
  29. package/dist/collection/assets/t9n/card-manager/resources_cs.json +1 -1
  30. package/dist/collection/assets/t9n/card-manager/resources_da.json +1 -1
  31. package/dist/collection/assets/t9n/card-manager/resources_de.json +1 -1
  32. package/dist/collection/assets/t9n/card-manager/resources_el.json +1 -1
  33. package/dist/collection/assets/t9n/card-manager/resources_es.json +1 -1
  34. package/dist/collection/assets/t9n/card-manager/resources_et.json +1 -1
  35. package/dist/collection/assets/t9n/card-manager/resources_fi.json +1 -1
  36. package/dist/collection/assets/t9n/card-manager/resources_fr.json +1 -1
  37. package/dist/collection/assets/t9n/card-manager/resources_he.json +1 -1
  38. package/dist/collection/assets/t9n/card-manager/resources_hr.json +1 -1
  39. package/dist/collection/assets/t9n/card-manager/resources_hu.json +1 -1
  40. package/dist/collection/assets/t9n/card-manager/resources_id.json +1 -1
  41. package/dist/collection/assets/t9n/card-manager/resources_it.json +1 -1
  42. package/dist/collection/assets/t9n/card-manager/resources_ja.json +1 -1
  43. package/dist/collection/assets/t9n/card-manager/resources_ko.json +1 -1
  44. package/dist/collection/assets/t9n/card-manager/resources_lt.json +1 -1
  45. package/dist/collection/assets/t9n/card-manager/resources_lv.json +1 -1
  46. package/dist/collection/assets/t9n/card-manager/resources_nb.json +1 -1
  47. package/dist/collection/assets/t9n/card-manager/resources_nl.json +1 -1
  48. package/dist/collection/assets/t9n/card-manager/resources_pl.json +1 -1
  49. package/dist/collection/assets/t9n/card-manager/resources_pt-BR.json +1 -1
  50. package/dist/collection/assets/t9n/card-manager/resources_pt-PT.json +1 -1
  51. package/dist/collection/assets/t9n/card-manager/resources_ro.json +1 -1
  52. package/dist/collection/assets/t9n/card-manager/resources_ru.json +1 -1
  53. package/dist/collection/assets/t9n/card-manager/resources_sk.json +1 -1
  54. package/dist/collection/assets/t9n/card-manager/resources_sl.json +1 -1
  55. package/dist/collection/assets/t9n/card-manager/resources_sr.json +1 -1
  56. package/dist/collection/assets/t9n/card-manager/resources_sv.json +1 -1
  57. package/dist/collection/assets/t9n/card-manager/resources_th.json +1 -1
  58. package/dist/collection/assets/t9n/card-manager/resources_tr.json +1 -1
  59. package/dist/collection/assets/t9n/card-manager/resources_uk.json +1 -1
  60. package/dist/collection/assets/t9n/card-manager/resources_vi.json +1 -1
  61. package/dist/collection/assets/t9n/card-manager/resources_zh-CN.json +1 -1
  62. package/dist/collection/assets/t9n/card-manager/resources_zh-HK.json +1 -1
  63. package/dist/collection/assets/t9n/card-manager/resources_zh-TW.json +1 -1
  64. package/dist/collection/assets/t9n/create-feature/resources_ar.json +1 -1
  65. package/dist/collection/assets/t9n/create-feature/resources_bg.json +1 -1
  66. package/dist/collection/assets/t9n/create-feature/resources_bs.json +1 -1
  67. package/dist/collection/assets/t9n/create-feature/resources_ca.json +1 -1
  68. package/dist/collection/assets/t9n/create-feature/resources_cs.json +1 -1
  69. package/dist/collection/assets/t9n/create-feature/resources_da.json +1 -1
  70. package/dist/collection/assets/t9n/create-feature/resources_de.json +1 -1
  71. package/dist/collection/assets/t9n/create-feature/resources_el.json +1 -1
  72. package/dist/collection/assets/t9n/create-feature/resources_es.json +1 -1
  73. package/dist/collection/assets/t9n/create-feature/resources_et.json +1 -1
  74. package/dist/collection/assets/t9n/create-feature/resources_fi.json +1 -1
  75. package/dist/collection/assets/t9n/create-feature/resources_fr.json +1 -1
  76. package/dist/collection/assets/t9n/create-feature/resources_he.json +1 -1
  77. package/dist/collection/assets/t9n/create-feature/resources_hr.json +1 -1
  78. package/dist/collection/assets/t9n/create-feature/resources_hu.json +1 -1
  79. package/dist/collection/assets/t9n/create-feature/resources_id.json +1 -1
  80. package/dist/collection/assets/t9n/create-feature/resources_it.json +1 -1
  81. package/dist/collection/assets/t9n/create-feature/resources_ja.json +1 -1
  82. package/dist/collection/assets/t9n/create-feature/resources_ko.json +1 -1
  83. package/dist/collection/assets/t9n/create-feature/resources_lt.json +1 -1
  84. package/dist/collection/assets/t9n/create-feature/resources_lv.json +1 -1
  85. package/dist/collection/assets/t9n/create-feature/resources_nb.json +1 -1
  86. package/dist/collection/assets/t9n/create-feature/resources_nl.json +1 -1
  87. package/dist/collection/assets/t9n/create-feature/resources_pl.json +1 -1
  88. package/dist/collection/assets/t9n/create-feature/resources_pt-BR.json +2 -2
  89. package/dist/collection/assets/t9n/create-feature/resources_pt-PT.json +1 -1
  90. package/dist/collection/assets/t9n/create-feature/resources_ro.json +1 -1
  91. package/dist/collection/assets/t9n/create-feature/resources_ru.json +1 -1
  92. package/dist/collection/assets/t9n/create-feature/resources_sk.json +1 -1
  93. package/dist/collection/assets/t9n/create-feature/resources_sl.json +1 -1
  94. package/dist/collection/assets/t9n/create-feature/resources_sr.json +1 -1
  95. package/dist/collection/assets/t9n/create-feature/resources_sv.json +1 -1
  96. package/dist/collection/assets/t9n/create-feature/resources_th.json +1 -1
  97. package/dist/collection/assets/t9n/create-feature/resources_tr.json +1 -1
  98. package/dist/collection/assets/t9n/create-feature/resources_uk.json +1 -1
  99. package/dist/collection/assets/t9n/create-feature/resources_vi.json +1 -1
  100. package/dist/collection/assets/t9n/create-feature/resources_zh-CN.json +1 -1
  101. package/dist/collection/assets/t9n/create-feature/resources_zh-HK.json +1 -1
  102. package/dist/collection/assets/t9n/create-feature/resources_zh-TW.json +1 -1
  103. package/dist/collection/assets/t9n/crowdsource-reporter/resources_ar.json +1 -1
  104. package/dist/collection/assets/t9n/crowdsource-reporter/resources_bg.json +1 -1
  105. package/dist/collection/assets/t9n/crowdsource-reporter/resources_bs.json +1 -1
  106. package/dist/collection/assets/t9n/crowdsource-reporter/resources_ca.json +1 -1
  107. package/dist/collection/assets/t9n/crowdsource-reporter/resources_cs.json +1 -1
  108. package/dist/collection/assets/t9n/crowdsource-reporter/resources_da.json +1 -1
  109. package/dist/collection/assets/t9n/crowdsource-reporter/resources_de.json +1 -1
  110. package/dist/collection/assets/t9n/crowdsource-reporter/resources_el.json +1 -1
  111. package/dist/collection/assets/t9n/crowdsource-reporter/resources_es.json +1 -1
  112. package/dist/collection/assets/t9n/crowdsource-reporter/resources_et.json +1 -1
  113. package/dist/collection/assets/t9n/crowdsource-reporter/resources_fi.json +1 -1
  114. package/dist/collection/assets/t9n/crowdsource-reporter/resources_fr.json +1 -1
  115. package/dist/collection/assets/t9n/crowdsource-reporter/resources_he.json +1 -1
  116. package/dist/collection/assets/t9n/crowdsource-reporter/resources_hr.json +1 -1
  117. package/dist/collection/assets/t9n/crowdsource-reporter/resources_hu.json +1 -1
  118. package/dist/collection/assets/t9n/crowdsource-reporter/resources_id.json +1 -1
  119. package/dist/collection/assets/t9n/crowdsource-reporter/resources_it.json +1 -1
  120. package/dist/collection/assets/t9n/crowdsource-reporter/resources_ja.json +1 -1
  121. package/dist/collection/assets/t9n/crowdsource-reporter/resources_ko.json +1 -1
  122. package/dist/collection/assets/t9n/crowdsource-reporter/resources_lt.json +1 -1
  123. package/dist/collection/assets/t9n/crowdsource-reporter/resources_lv.json +1 -1
  124. package/dist/collection/assets/t9n/crowdsource-reporter/resources_nb.json +1 -1
  125. package/dist/collection/assets/t9n/crowdsource-reporter/resources_nl.json +1 -1
  126. package/dist/collection/assets/t9n/crowdsource-reporter/resources_pl.json +1 -1
  127. package/dist/collection/assets/t9n/crowdsource-reporter/resources_pt-BR.json +1 -1
  128. package/dist/collection/assets/t9n/crowdsource-reporter/resources_pt-PT.json +1 -1
  129. package/dist/collection/assets/t9n/crowdsource-reporter/resources_ro.json +1 -1
  130. package/dist/collection/assets/t9n/crowdsource-reporter/resources_ru.json +1 -1
  131. package/dist/collection/assets/t9n/crowdsource-reporter/resources_sk.json +1 -1
  132. package/dist/collection/assets/t9n/crowdsource-reporter/resources_sl.json +1 -1
  133. package/dist/collection/assets/t9n/crowdsource-reporter/resources_sr.json +1 -1
  134. package/dist/collection/assets/t9n/crowdsource-reporter/resources_sv.json +1 -1
  135. package/dist/collection/assets/t9n/crowdsource-reporter/resources_th.json +1 -1
  136. package/dist/collection/assets/t9n/crowdsource-reporter/resources_tr.json +1 -1
  137. package/dist/collection/assets/t9n/crowdsource-reporter/resources_uk.json +1 -1
  138. package/dist/collection/assets/t9n/crowdsource-reporter/resources_vi.json +1 -1
  139. package/dist/collection/assets/t9n/crowdsource-reporter/resources_zh-CN.json +1 -1
  140. package/dist/collection/assets/t9n/crowdsource-reporter/resources_zh-HK.json +1 -1
  141. package/dist/collection/assets/t9n/crowdsource-reporter/resources_zh-TW.json +1 -1
  142. package/dist/collection/assets/t9n/feature-list/resources_ar.json +2 -2
  143. package/dist/collection/assets/t9n/feature-list/resources_bg.json +2 -2
  144. package/dist/collection/assets/t9n/feature-list/resources_bs.json +2 -2
  145. package/dist/collection/assets/t9n/feature-list/resources_ca.json +2 -2
  146. package/dist/collection/assets/t9n/feature-list/resources_cs.json +2 -2
  147. package/dist/collection/assets/t9n/feature-list/resources_da.json +2 -2
  148. package/dist/collection/assets/t9n/feature-list/resources_de.json +2 -2
  149. package/dist/collection/assets/t9n/feature-list/resources_el.json +2 -2
  150. package/dist/collection/assets/t9n/feature-list/resources_es.json +2 -2
  151. package/dist/collection/assets/t9n/feature-list/resources_et.json +2 -2
  152. package/dist/collection/assets/t9n/feature-list/resources_fi.json +2 -2
  153. package/dist/collection/assets/t9n/feature-list/resources_fr.json +2 -2
  154. package/dist/collection/assets/t9n/feature-list/resources_he.json +2 -2
  155. package/dist/collection/assets/t9n/feature-list/resources_hr.json +2 -2
  156. package/dist/collection/assets/t9n/feature-list/resources_hu.json +2 -2
  157. package/dist/collection/assets/t9n/feature-list/resources_id.json +2 -2
  158. package/dist/collection/assets/t9n/feature-list/resources_it.json +2 -2
  159. package/dist/collection/assets/t9n/feature-list/resources_ja.json +2 -2
  160. package/dist/collection/assets/t9n/feature-list/resources_ko.json +2 -2
  161. package/dist/collection/assets/t9n/feature-list/resources_lt.json +2 -2
  162. package/dist/collection/assets/t9n/feature-list/resources_lv.json +2 -2
  163. package/dist/collection/assets/t9n/feature-list/resources_nb.json +2 -2
  164. package/dist/collection/assets/t9n/feature-list/resources_nl.json +2 -2
  165. package/dist/collection/assets/t9n/feature-list/resources_pl.json +2 -2
  166. package/dist/collection/assets/t9n/feature-list/resources_pt-BR.json +2 -2
  167. package/dist/collection/assets/t9n/feature-list/resources_pt-PT.json +2 -2
  168. package/dist/collection/assets/t9n/feature-list/resources_ro.json +2 -2
  169. package/dist/collection/assets/t9n/feature-list/resources_ru.json +2 -2
  170. package/dist/collection/assets/t9n/feature-list/resources_sk.json +2 -2
  171. package/dist/collection/assets/t9n/feature-list/resources_sl.json +2 -2
  172. package/dist/collection/assets/t9n/feature-list/resources_sr.json +2 -2
  173. package/dist/collection/assets/t9n/feature-list/resources_sv.json +2 -2
  174. package/dist/collection/assets/t9n/feature-list/resources_th.json +2 -2
  175. package/dist/collection/assets/t9n/feature-list/resources_tr.json +2 -2
  176. package/dist/collection/assets/t9n/feature-list/resources_uk.json +2 -2
  177. package/dist/collection/assets/t9n/feature-list/resources_vi.json +2 -2
  178. package/dist/collection/assets/t9n/feature-list/resources_zh-CN.json +2 -2
  179. package/dist/collection/assets/t9n/feature-list/resources_zh-HK.json +2 -2
  180. package/dist/collection/assets/t9n/feature-list/resources_zh-TW.json +2 -2
  181. package/dist/collection/assets/t9n/layer-table/resources_ar.json +1 -1
  182. package/dist/collection/assets/t9n/layer-table/resources_bg.json +1 -1
  183. package/dist/collection/assets/t9n/layer-table/resources_bs.json +1 -1
  184. package/dist/collection/assets/t9n/layer-table/resources_ca.json +1 -1
  185. package/dist/collection/assets/t9n/layer-table/resources_cs.json +1 -1
  186. package/dist/collection/assets/t9n/layer-table/resources_da.json +1 -1
  187. package/dist/collection/assets/t9n/layer-table/resources_de.json +1 -1
  188. package/dist/collection/assets/t9n/layer-table/resources_el.json +1 -1
  189. package/dist/collection/assets/t9n/layer-table/resources_es.json +1 -1
  190. package/dist/collection/assets/t9n/layer-table/resources_et.json +1 -1
  191. package/dist/collection/assets/t9n/layer-table/resources_fi.json +1 -1
  192. package/dist/collection/assets/t9n/layer-table/resources_fr.json +1 -1
  193. package/dist/collection/assets/t9n/layer-table/resources_he.json +1 -1
  194. package/dist/collection/assets/t9n/layer-table/resources_hr.json +1 -1
  195. package/dist/collection/assets/t9n/layer-table/resources_hu.json +1 -1
  196. package/dist/collection/assets/t9n/layer-table/resources_id.json +1 -1
  197. package/dist/collection/assets/t9n/layer-table/resources_it.json +1 -1
  198. package/dist/collection/assets/t9n/layer-table/resources_ja.json +1 -1
  199. package/dist/collection/assets/t9n/layer-table/resources_ko.json +1 -1
  200. package/dist/collection/assets/t9n/layer-table/resources_lt.json +1 -1
  201. package/dist/collection/assets/t9n/layer-table/resources_lv.json +1 -1
  202. package/dist/collection/assets/t9n/layer-table/resources_nb.json +1 -1
  203. package/dist/collection/assets/t9n/layer-table/resources_nl.json +1 -1
  204. package/dist/collection/assets/t9n/layer-table/resources_pl.json +1 -1
  205. package/dist/collection/assets/t9n/layer-table/resources_pt-BR.json +1 -1
  206. package/dist/collection/assets/t9n/layer-table/resources_pt-PT.json +1 -1
  207. package/dist/collection/assets/t9n/layer-table/resources_ro.json +1 -1
  208. package/dist/collection/assets/t9n/layer-table/resources_ru.json +1 -1
  209. package/dist/collection/assets/t9n/layer-table/resources_sk.json +1 -1
  210. package/dist/collection/assets/t9n/layer-table/resources_sl.json +1 -1
  211. package/dist/collection/assets/t9n/layer-table/resources_sr.json +1 -1
  212. package/dist/collection/assets/t9n/layer-table/resources_sv.json +1 -1
  213. package/dist/collection/assets/t9n/layer-table/resources_th.json +1 -1
  214. package/dist/collection/assets/t9n/layer-table/resources_tr.json +1 -1
  215. package/dist/collection/assets/t9n/layer-table/resources_uk.json +1 -1
  216. package/dist/collection/assets/t9n/layer-table/resources_vi.json +1 -1
  217. package/dist/collection/assets/t9n/layer-table/resources_zh-CN.json +1 -1
  218. package/dist/collection/assets/t9n/layer-table/resources_zh-HK.json +1 -1
  219. package/dist/collection/assets/t9n/layer-table/resources_zh-TW.json +1 -1
  220. package/dist/collection/assets/t9n/map-card/resources_ar.json +2 -1
  221. package/dist/collection/assets/t9n/map-card/resources_bg.json +2 -1
  222. package/dist/collection/assets/t9n/map-card/resources_bs.json +2 -1
  223. package/dist/collection/assets/t9n/map-card/resources_ca.json +2 -1
  224. package/dist/collection/assets/t9n/map-card/resources_cs.json +2 -1
  225. package/dist/collection/assets/t9n/map-card/resources_da.json +2 -1
  226. package/dist/collection/assets/t9n/map-card/resources_de.json +2 -1
  227. package/dist/collection/assets/t9n/map-card/resources_el.json +2 -1
  228. package/dist/collection/assets/t9n/map-card/resources_es.json +2 -1
  229. package/dist/collection/assets/t9n/map-card/resources_et.json +2 -1
  230. package/dist/collection/assets/t9n/map-card/resources_fi.json +2 -1
  231. package/dist/collection/assets/t9n/map-card/resources_fr.json +2 -1
  232. package/dist/collection/assets/t9n/map-card/resources_he.json +2 -1
  233. package/dist/collection/assets/t9n/map-card/resources_hr.json +2 -1
  234. package/dist/collection/assets/t9n/map-card/resources_hu.json +2 -1
  235. package/dist/collection/assets/t9n/map-card/resources_id.json +2 -1
  236. package/dist/collection/assets/t9n/map-card/resources_it.json +2 -1
  237. package/dist/collection/assets/t9n/map-card/resources_ja.json +2 -1
  238. package/dist/collection/assets/t9n/map-card/resources_ko.json +2 -1
  239. package/dist/collection/assets/t9n/map-card/resources_lt.json +2 -1
  240. package/dist/collection/assets/t9n/map-card/resources_lv.json +2 -1
  241. package/dist/collection/assets/t9n/map-card/resources_nb.json +2 -1
  242. package/dist/collection/assets/t9n/map-card/resources_nl.json +2 -1
  243. package/dist/collection/assets/t9n/map-card/resources_pl.json +2 -1
  244. package/dist/collection/assets/t9n/map-card/resources_pt-BR.json +2 -1
  245. package/dist/collection/assets/t9n/map-card/resources_pt-PT.json +2 -1
  246. package/dist/collection/assets/t9n/map-card/resources_ro.json +2 -1
  247. package/dist/collection/assets/t9n/map-card/resources_ru.json +2 -1
  248. package/dist/collection/assets/t9n/map-card/resources_sk.json +2 -1
  249. package/dist/collection/assets/t9n/map-card/resources_sl.json +2 -1
  250. package/dist/collection/assets/t9n/map-card/resources_sr.json +2 -1
  251. package/dist/collection/assets/t9n/map-card/resources_sv.json +2 -1
  252. package/dist/collection/assets/t9n/map-card/resources_th.json +2 -1
  253. package/dist/collection/assets/t9n/map-card/resources_tr.json +2 -1
  254. package/dist/collection/assets/t9n/map-card/resources_uk.json +2 -1
  255. package/dist/collection/assets/t9n/map-card/resources_vi.json +2 -1
  256. package/dist/collection/assets/t9n/map-card/resources_zh-CN.json +2 -1
  257. package/dist/collection/assets/t9n/map-card/resources_zh-HK.json +2 -1
  258. package/dist/collection/assets/t9n/map-card/resources_zh-TW.json +2 -1
  259. package/dist/collection/collection-manifest.json +0 -7
  260. package/dist/collection/components/buffer-tools/buffer-tools.js +30 -1
  261. package/dist/collection/components/card-manager/card-manager.js +34 -2
  262. package/dist/collection/components/consent-manager/consent-manager.js +32 -0
  263. package/dist/collection/components/create-feature/create-feature.js +31 -2
  264. package/dist/collection/components/create-related-feature/create-related-feature.js +30 -1
  265. package/dist/collection/components/crowdsource-manager/crowdsource-manager.js +21 -23
  266. package/dist/collection/components/crowdsource-reporter/crowdsource-reporter.js +38 -9
  267. package/dist/collection/components/deduct-calculator/deduct-calculator.js +1 -1
  268. package/dist/collection/components/delete-button/delete-button.js +31 -2
  269. package/dist/collection/components/delete-dialog/delete-dialog.js +33 -1
  270. package/dist/collection/components/edit-card/edit-card.js +30 -1
  271. package/dist/collection/components/feature-details/feature-details.js +24 -6
  272. package/dist/collection/components/feature-list/feature-list.js +32 -3
  273. package/dist/collection/components/floor-filter/floor-filter.js +1 -1
  274. package/dist/collection/components/info-card/info-card.js +36 -2
  275. package/dist/collection/components/json-editor/json-editor.js +38 -1
  276. package/dist/collection/components/layer-list/layer-list.js +35 -3
  277. package/dist/collection/components/layer-table/layer-table.js +34 -5
  278. package/dist/collection/components/map-card/map-card.js +31 -2
  279. package/dist/collection/components/map-draw-tools/map-draw-tools.js +30 -1
  280. package/dist/collection/components/map-fullscreen/map-fullscreen.js +1 -1
  281. package/dist/collection/components/map-layer-picker/map-layer-picker.js +30 -1
  282. package/dist/collection/components/map-legend/map-legend.js +1 -1
  283. package/dist/collection/components/map-picker/map-picker.js +30 -1
  284. package/dist/collection/components/map-search/map-search.js +1 -1
  285. package/dist/collection/components/map-select-tools/map-select-tools.js +15 -4
  286. package/dist/collection/components/map-tools/map-tools.js +30 -1
  287. package/dist/collection/components/pci-calculator/pci-calculator.js +1 -1
  288. package/dist/collection/components/pdf-download/pdf-download.js +33 -1
  289. package/dist/collection/components/public-notification/public-notification.js +13 -2
  290. package/dist/collection/components/refine-selection/refine-selection.js +15 -1
  291. package/dist/collection/components/share-item/share-item.js +1 -1
  292. package/dist/collection/components/solution-configuration/solution-configuration.js +38 -4
  293. package/dist/collection/components/solution-contents/solution-contents.js +1 -1
  294. package/dist/collection/components/solution-item/solution-item.js +37 -3
  295. package/dist/collection/components/solution-item-accordion/solution-item-accordion.js +30 -1
  296. package/dist/collection/components/solution-item-details/solution-item-details.js +38 -1
  297. package/dist/collection/components/solution-item-icon/solution-item-icon.js +1 -1
  298. package/dist/collection/components/solution-item-sharing/solution-item-sharing.js +35 -1
  299. package/dist/collection/components/solution-organization-variables/solution-organization-variables.js +35 -1
  300. package/dist/collection/components/solution-resource-item/solution-resource-item.js +35 -1
  301. package/dist/collection/components/solution-spatial-ref/solution-spatial-ref.js +35 -1
  302. package/dist/collection/components/solution-template-data/solution-template-data.js +35 -1
  303. package/dist/collection/components/solution-variables/solution-variables.js +35 -1
  304. package/dist/collection/components/spatial-ref/spatial-ref.js +35 -1
  305. package/dist/collection/demos/crowdsource-manager.html +0 -1
  306. package/dist/collection/demos/crowdsource-reporter.html +2 -2
  307. package/dist/components/buffer-tools2.js +15 -3
  308. package/dist/components/card-manager2.js +18 -3
  309. package/dist/components/consent-manager.js +15 -0
  310. package/dist/components/create-feature2.js +14 -2
  311. package/dist/components/create-related-feature2.js +13 -1
  312. package/dist/components/crowdsource-manager.js +15 -16
  313. package/dist/components/crowdsource-reporter.js +21 -9
  314. package/dist/components/deduct-calculator2.js +1 -1
  315. package/dist/components/delete-button2.js +16 -4
  316. package/dist/components/delete-dialog2.js +16 -1
  317. package/dist/components/edit-card2.js +13 -1
  318. package/dist/components/feature-details2.js +8 -6
  319. package/dist/components/feature-list2.js +15 -3
  320. package/dist/components/floor-filter2.js +1 -1
  321. package/dist/components/info-card2.js +19 -2
  322. package/dist/components/json-editor2.js +21 -1
  323. package/dist/components/layer-list2.js +18 -3
  324. package/dist/components/layer-table2.js +17 -5
  325. package/dist/components/map-card2.js +14 -2
  326. package/dist/components/map-draw-tools2.js +13 -1
  327. package/dist/components/map-fullscreen2.js +1 -1
  328. package/dist/components/map-layer-picker2.js +13 -1
  329. package/dist/components/map-legend2.js +1 -1
  330. package/dist/components/map-picker2.js +13 -1
  331. package/dist/components/map-search2.js +1 -1
  332. package/dist/components/map-select-tools2.js +14 -4
  333. package/dist/components/map-tools2.js +13 -1
  334. package/dist/components/pci-calculator.js +1 -1
  335. package/dist/components/pdf-download2.js +16 -1
  336. package/dist/components/public-notification.js +12 -2
  337. package/dist/components/refine-selection2.js +14 -1
  338. package/dist/components/share-item.js +1 -1
  339. package/dist/components/solution-configuration.js +23 -6
  340. package/dist/components/solution-contents2.js +1 -1
  341. package/dist/components/solution-item-accordion.js +13 -1
  342. package/dist/components/solution-item-details2.js +22 -2
  343. package/dist/components/solution-item-icon2.js +1 -1
  344. package/dist/components/solution-item-sharing2.js +20 -3
  345. package/dist/components/solution-item2.js +22 -5
  346. package/dist/components/solution-organization-variables2.js +18 -1
  347. package/dist/components/solution-resource-item2.js +20 -3
  348. package/dist/components/solution-spatial-ref2.js +20 -3
  349. package/dist/components/solution-template-data2.js +20 -3
  350. package/dist/components/solution-variables2.js +18 -1
  351. package/dist/components/spatial-ref.js +18 -1
  352. package/dist/esm/basemap-gallery_7.entry.js +26 -6
  353. package/dist/esm/buffer-tools_3.entry.js +23 -3
  354. package/dist/esm/calcite-alert_5.entry.js +40 -5
  355. package/dist/esm/calcite-combobox_3.entry.js +11 -1
  356. package/dist/esm/calcite-flow_4.entry.js +33 -10
  357. package/dist/esm/calcite-shell-panel_14.entry.js +119 -10
  358. package/dist/esm/calcite-shell_3.entry.js +26 -4
  359. package/dist/esm/card-manager_3.entry.js +41 -9
  360. package/dist/esm/consent-manager.entry.js +12 -0
  361. package/dist/esm/crowdsource-manager.entry.js +13 -14
  362. package/dist/esm/crowdsource-reporter.entry.js +19 -9
  363. package/dist/esm/deduct-calculator.entry.js +1 -1
  364. package/dist/esm/feature-list.entry.js +13 -3
  365. package/dist/esm/loader.js +1 -1
  366. package/dist/esm/map-select-tools_3.entry.js +38 -6
  367. package/dist/esm/pci-calculator.entry.js +1 -1
  368. package/dist/esm/public-notification.entry.js +11 -2
  369. package/dist/esm/share-item.entry.js +1 -1
  370. package/dist/esm/solution-configuration.entry.js +20 -5
  371. package/dist/esm/solution-contents_3.entry.js +37 -7
  372. package/dist/esm/solution-item-accordion.entry.js +11 -1
  373. package/dist/esm/solution-item-icon.entry.js +1 -1
  374. package/dist/esm/solutions-components.js +1 -1
  375. package/dist/esm/spatial-ref.entry.js +16 -1
  376. package/dist/solutions-components/assets/t9n/card-manager/resources_ar.json +1 -1
  377. package/dist/solutions-components/assets/t9n/card-manager/resources_bg.json +1 -1
  378. package/dist/solutions-components/assets/t9n/card-manager/resources_bs.json +1 -1
  379. package/dist/solutions-components/assets/t9n/card-manager/resources_ca.json +1 -1
  380. package/dist/solutions-components/assets/t9n/card-manager/resources_cs.json +1 -1
  381. package/dist/solutions-components/assets/t9n/card-manager/resources_da.json +1 -1
  382. package/dist/solutions-components/assets/t9n/card-manager/resources_de.json +1 -1
  383. package/dist/solutions-components/assets/t9n/card-manager/resources_el.json +1 -1
  384. package/dist/solutions-components/assets/t9n/card-manager/resources_es.json +1 -1
  385. package/dist/solutions-components/assets/t9n/card-manager/resources_et.json +1 -1
  386. package/dist/solutions-components/assets/t9n/card-manager/resources_fi.json +1 -1
  387. package/dist/solutions-components/assets/t9n/card-manager/resources_fr.json +1 -1
  388. package/dist/solutions-components/assets/t9n/card-manager/resources_he.json +1 -1
  389. package/dist/solutions-components/assets/t9n/card-manager/resources_hr.json +1 -1
  390. package/dist/solutions-components/assets/t9n/card-manager/resources_hu.json +1 -1
  391. package/dist/solutions-components/assets/t9n/card-manager/resources_id.json +1 -1
  392. package/dist/solutions-components/assets/t9n/card-manager/resources_it.json +1 -1
  393. package/dist/solutions-components/assets/t9n/card-manager/resources_ja.json +1 -1
  394. package/dist/solutions-components/assets/t9n/card-manager/resources_ko.json +1 -1
  395. package/dist/solutions-components/assets/t9n/card-manager/resources_lt.json +1 -1
  396. package/dist/solutions-components/assets/t9n/card-manager/resources_lv.json +1 -1
  397. package/dist/solutions-components/assets/t9n/card-manager/resources_nb.json +1 -1
  398. package/dist/solutions-components/assets/t9n/card-manager/resources_nl.json +1 -1
  399. package/dist/solutions-components/assets/t9n/card-manager/resources_pl.json +1 -1
  400. package/dist/solutions-components/assets/t9n/card-manager/resources_pt-BR.json +1 -1
  401. package/dist/solutions-components/assets/t9n/card-manager/resources_pt-PT.json +1 -1
  402. package/dist/solutions-components/assets/t9n/card-manager/resources_ro.json +1 -1
  403. package/dist/solutions-components/assets/t9n/card-manager/resources_ru.json +1 -1
  404. package/dist/solutions-components/assets/t9n/card-manager/resources_sk.json +1 -1
  405. package/dist/solutions-components/assets/t9n/card-manager/resources_sl.json +1 -1
  406. package/dist/solutions-components/assets/t9n/card-manager/resources_sr.json +1 -1
  407. package/dist/solutions-components/assets/t9n/card-manager/resources_sv.json +1 -1
  408. package/dist/solutions-components/assets/t9n/card-manager/resources_th.json +1 -1
  409. package/dist/solutions-components/assets/t9n/card-manager/resources_tr.json +1 -1
  410. package/dist/solutions-components/assets/t9n/card-manager/resources_uk.json +1 -1
  411. package/dist/solutions-components/assets/t9n/card-manager/resources_vi.json +1 -1
  412. package/dist/solutions-components/assets/t9n/card-manager/resources_zh-CN.json +1 -1
  413. package/dist/solutions-components/assets/t9n/card-manager/resources_zh-HK.json +1 -1
  414. package/dist/solutions-components/assets/t9n/card-manager/resources_zh-TW.json +1 -1
  415. package/dist/solutions-components/assets/t9n/create-feature/resources_ar.json +1 -1
  416. package/dist/solutions-components/assets/t9n/create-feature/resources_bg.json +1 -1
  417. package/dist/solutions-components/assets/t9n/create-feature/resources_bs.json +1 -1
  418. package/dist/solutions-components/assets/t9n/create-feature/resources_ca.json +1 -1
  419. package/dist/solutions-components/assets/t9n/create-feature/resources_cs.json +1 -1
  420. package/dist/solutions-components/assets/t9n/create-feature/resources_da.json +1 -1
  421. package/dist/solutions-components/assets/t9n/create-feature/resources_de.json +1 -1
  422. package/dist/solutions-components/assets/t9n/create-feature/resources_el.json +1 -1
  423. package/dist/solutions-components/assets/t9n/create-feature/resources_es.json +1 -1
  424. package/dist/solutions-components/assets/t9n/create-feature/resources_et.json +1 -1
  425. package/dist/solutions-components/assets/t9n/create-feature/resources_fi.json +1 -1
  426. package/dist/solutions-components/assets/t9n/create-feature/resources_fr.json +1 -1
  427. package/dist/solutions-components/assets/t9n/create-feature/resources_he.json +1 -1
  428. package/dist/solutions-components/assets/t9n/create-feature/resources_hr.json +1 -1
  429. package/dist/solutions-components/assets/t9n/create-feature/resources_hu.json +1 -1
  430. package/dist/solutions-components/assets/t9n/create-feature/resources_id.json +1 -1
  431. package/dist/solutions-components/assets/t9n/create-feature/resources_it.json +1 -1
  432. package/dist/solutions-components/assets/t9n/create-feature/resources_ja.json +1 -1
  433. package/dist/solutions-components/assets/t9n/create-feature/resources_ko.json +1 -1
  434. package/dist/solutions-components/assets/t9n/create-feature/resources_lt.json +1 -1
  435. package/dist/solutions-components/assets/t9n/create-feature/resources_lv.json +1 -1
  436. package/dist/solutions-components/assets/t9n/create-feature/resources_nb.json +1 -1
  437. package/dist/solutions-components/assets/t9n/create-feature/resources_nl.json +1 -1
  438. package/dist/solutions-components/assets/t9n/create-feature/resources_pl.json +1 -1
  439. package/dist/solutions-components/assets/t9n/create-feature/resources_pt-BR.json +2 -2
  440. package/dist/solutions-components/assets/t9n/create-feature/resources_pt-PT.json +1 -1
  441. package/dist/solutions-components/assets/t9n/create-feature/resources_ro.json +1 -1
  442. package/dist/solutions-components/assets/t9n/create-feature/resources_ru.json +1 -1
  443. package/dist/solutions-components/assets/t9n/create-feature/resources_sk.json +1 -1
  444. package/dist/solutions-components/assets/t9n/create-feature/resources_sl.json +1 -1
  445. package/dist/solutions-components/assets/t9n/create-feature/resources_sr.json +1 -1
  446. package/dist/solutions-components/assets/t9n/create-feature/resources_sv.json +1 -1
  447. package/dist/solutions-components/assets/t9n/create-feature/resources_th.json +1 -1
  448. package/dist/solutions-components/assets/t9n/create-feature/resources_tr.json +1 -1
  449. package/dist/solutions-components/assets/t9n/create-feature/resources_uk.json +1 -1
  450. package/dist/solutions-components/assets/t9n/create-feature/resources_vi.json +1 -1
  451. package/dist/solutions-components/assets/t9n/create-feature/resources_zh-CN.json +1 -1
  452. package/dist/solutions-components/assets/t9n/create-feature/resources_zh-HK.json +1 -1
  453. package/dist/solutions-components/assets/t9n/create-feature/resources_zh-TW.json +1 -1
  454. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_ar.json +1 -1
  455. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_bg.json +1 -1
  456. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_bs.json +1 -1
  457. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_ca.json +1 -1
  458. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_cs.json +1 -1
  459. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_da.json +1 -1
  460. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_de.json +1 -1
  461. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_el.json +1 -1
  462. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_es.json +1 -1
  463. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_et.json +1 -1
  464. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_fi.json +1 -1
  465. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_fr.json +1 -1
  466. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_he.json +1 -1
  467. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_hr.json +1 -1
  468. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_hu.json +1 -1
  469. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_id.json +1 -1
  470. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_it.json +1 -1
  471. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_ja.json +1 -1
  472. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_ko.json +1 -1
  473. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_lt.json +1 -1
  474. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_lv.json +1 -1
  475. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_nb.json +1 -1
  476. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_nl.json +1 -1
  477. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_pl.json +1 -1
  478. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_pt-BR.json +1 -1
  479. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_pt-PT.json +1 -1
  480. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_ro.json +1 -1
  481. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_ru.json +1 -1
  482. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_sk.json +1 -1
  483. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_sl.json +1 -1
  484. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_sr.json +1 -1
  485. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_sv.json +1 -1
  486. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_th.json +1 -1
  487. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_tr.json +1 -1
  488. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_uk.json +1 -1
  489. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_vi.json +1 -1
  490. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_zh-CN.json +1 -1
  491. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_zh-HK.json +1 -1
  492. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_zh-TW.json +1 -1
  493. package/dist/solutions-components/assets/t9n/feature-list/resources_ar.json +2 -2
  494. package/dist/solutions-components/assets/t9n/feature-list/resources_bg.json +2 -2
  495. package/dist/solutions-components/assets/t9n/feature-list/resources_bs.json +2 -2
  496. package/dist/solutions-components/assets/t9n/feature-list/resources_ca.json +2 -2
  497. package/dist/solutions-components/assets/t9n/feature-list/resources_cs.json +2 -2
  498. package/dist/solutions-components/assets/t9n/feature-list/resources_da.json +2 -2
  499. package/dist/solutions-components/assets/t9n/feature-list/resources_de.json +2 -2
  500. package/dist/solutions-components/assets/t9n/feature-list/resources_el.json +2 -2
  501. package/dist/solutions-components/assets/t9n/feature-list/resources_es.json +2 -2
  502. package/dist/solutions-components/assets/t9n/feature-list/resources_et.json +2 -2
  503. package/dist/solutions-components/assets/t9n/feature-list/resources_fi.json +2 -2
  504. package/dist/solutions-components/assets/t9n/feature-list/resources_fr.json +2 -2
  505. package/dist/solutions-components/assets/t9n/feature-list/resources_he.json +2 -2
  506. package/dist/solutions-components/assets/t9n/feature-list/resources_hr.json +2 -2
  507. package/dist/solutions-components/assets/t9n/feature-list/resources_hu.json +2 -2
  508. package/dist/solutions-components/assets/t9n/feature-list/resources_id.json +2 -2
  509. package/dist/solutions-components/assets/t9n/feature-list/resources_it.json +2 -2
  510. package/dist/solutions-components/assets/t9n/feature-list/resources_ja.json +2 -2
  511. package/dist/solutions-components/assets/t9n/feature-list/resources_ko.json +2 -2
  512. package/dist/solutions-components/assets/t9n/feature-list/resources_lt.json +2 -2
  513. package/dist/solutions-components/assets/t9n/feature-list/resources_lv.json +2 -2
  514. package/dist/solutions-components/assets/t9n/feature-list/resources_nb.json +2 -2
  515. package/dist/solutions-components/assets/t9n/feature-list/resources_nl.json +2 -2
  516. package/dist/solutions-components/assets/t9n/feature-list/resources_pl.json +2 -2
  517. package/dist/solutions-components/assets/t9n/feature-list/resources_pt-BR.json +2 -2
  518. package/dist/solutions-components/assets/t9n/feature-list/resources_pt-PT.json +2 -2
  519. package/dist/solutions-components/assets/t9n/feature-list/resources_ro.json +2 -2
  520. package/dist/solutions-components/assets/t9n/feature-list/resources_ru.json +2 -2
  521. package/dist/solutions-components/assets/t9n/feature-list/resources_sk.json +2 -2
  522. package/dist/solutions-components/assets/t9n/feature-list/resources_sl.json +2 -2
  523. package/dist/solutions-components/assets/t9n/feature-list/resources_sr.json +2 -2
  524. package/dist/solutions-components/assets/t9n/feature-list/resources_sv.json +2 -2
  525. package/dist/solutions-components/assets/t9n/feature-list/resources_th.json +2 -2
  526. package/dist/solutions-components/assets/t9n/feature-list/resources_tr.json +2 -2
  527. package/dist/solutions-components/assets/t9n/feature-list/resources_uk.json +2 -2
  528. package/dist/solutions-components/assets/t9n/feature-list/resources_vi.json +2 -2
  529. package/dist/solutions-components/assets/t9n/feature-list/resources_zh-CN.json +2 -2
  530. package/dist/solutions-components/assets/t9n/feature-list/resources_zh-HK.json +2 -2
  531. package/dist/solutions-components/assets/t9n/feature-list/resources_zh-TW.json +2 -2
  532. package/dist/solutions-components/assets/t9n/layer-table/resources_ar.json +1 -1
  533. package/dist/solutions-components/assets/t9n/layer-table/resources_bg.json +1 -1
  534. package/dist/solutions-components/assets/t9n/layer-table/resources_bs.json +1 -1
  535. package/dist/solutions-components/assets/t9n/layer-table/resources_ca.json +1 -1
  536. package/dist/solutions-components/assets/t9n/layer-table/resources_cs.json +1 -1
  537. package/dist/solutions-components/assets/t9n/layer-table/resources_da.json +1 -1
  538. package/dist/solutions-components/assets/t9n/layer-table/resources_de.json +1 -1
  539. package/dist/solutions-components/assets/t9n/layer-table/resources_el.json +1 -1
  540. package/dist/solutions-components/assets/t9n/layer-table/resources_es.json +1 -1
  541. package/dist/solutions-components/assets/t9n/layer-table/resources_et.json +1 -1
  542. package/dist/solutions-components/assets/t9n/layer-table/resources_fi.json +1 -1
  543. package/dist/solutions-components/assets/t9n/layer-table/resources_fr.json +1 -1
  544. package/dist/solutions-components/assets/t9n/layer-table/resources_he.json +1 -1
  545. package/dist/solutions-components/assets/t9n/layer-table/resources_hr.json +1 -1
  546. package/dist/solutions-components/assets/t9n/layer-table/resources_hu.json +1 -1
  547. package/dist/solutions-components/assets/t9n/layer-table/resources_id.json +1 -1
  548. package/dist/solutions-components/assets/t9n/layer-table/resources_it.json +1 -1
  549. package/dist/solutions-components/assets/t9n/layer-table/resources_ja.json +1 -1
  550. package/dist/solutions-components/assets/t9n/layer-table/resources_ko.json +1 -1
  551. package/dist/solutions-components/assets/t9n/layer-table/resources_lt.json +1 -1
  552. package/dist/solutions-components/assets/t9n/layer-table/resources_lv.json +1 -1
  553. package/dist/solutions-components/assets/t9n/layer-table/resources_nb.json +1 -1
  554. package/dist/solutions-components/assets/t9n/layer-table/resources_nl.json +1 -1
  555. package/dist/solutions-components/assets/t9n/layer-table/resources_pl.json +1 -1
  556. package/dist/solutions-components/assets/t9n/layer-table/resources_pt-BR.json +1 -1
  557. package/dist/solutions-components/assets/t9n/layer-table/resources_pt-PT.json +1 -1
  558. package/dist/solutions-components/assets/t9n/layer-table/resources_ro.json +1 -1
  559. package/dist/solutions-components/assets/t9n/layer-table/resources_ru.json +1 -1
  560. package/dist/solutions-components/assets/t9n/layer-table/resources_sk.json +1 -1
  561. package/dist/solutions-components/assets/t9n/layer-table/resources_sl.json +1 -1
  562. package/dist/solutions-components/assets/t9n/layer-table/resources_sr.json +1 -1
  563. package/dist/solutions-components/assets/t9n/layer-table/resources_sv.json +1 -1
  564. package/dist/solutions-components/assets/t9n/layer-table/resources_th.json +1 -1
  565. package/dist/solutions-components/assets/t9n/layer-table/resources_tr.json +1 -1
  566. package/dist/solutions-components/assets/t9n/layer-table/resources_uk.json +1 -1
  567. package/dist/solutions-components/assets/t9n/layer-table/resources_vi.json +1 -1
  568. package/dist/solutions-components/assets/t9n/layer-table/resources_zh-CN.json +1 -1
  569. package/dist/solutions-components/assets/t9n/layer-table/resources_zh-HK.json +1 -1
  570. package/dist/solutions-components/assets/t9n/layer-table/resources_zh-TW.json +1 -1
  571. package/dist/solutions-components/assets/t9n/map-card/resources_ar.json +2 -1
  572. package/dist/solutions-components/assets/t9n/map-card/resources_bg.json +2 -1
  573. package/dist/solutions-components/assets/t9n/map-card/resources_bs.json +2 -1
  574. package/dist/solutions-components/assets/t9n/map-card/resources_ca.json +2 -1
  575. package/dist/solutions-components/assets/t9n/map-card/resources_cs.json +2 -1
  576. package/dist/solutions-components/assets/t9n/map-card/resources_da.json +2 -1
  577. package/dist/solutions-components/assets/t9n/map-card/resources_de.json +2 -1
  578. package/dist/solutions-components/assets/t9n/map-card/resources_el.json +2 -1
  579. package/dist/solutions-components/assets/t9n/map-card/resources_es.json +2 -1
  580. package/dist/solutions-components/assets/t9n/map-card/resources_et.json +2 -1
  581. package/dist/solutions-components/assets/t9n/map-card/resources_fi.json +2 -1
  582. package/dist/solutions-components/assets/t9n/map-card/resources_fr.json +2 -1
  583. package/dist/solutions-components/assets/t9n/map-card/resources_he.json +2 -1
  584. package/dist/solutions-components/assets/t9n/map-card/resources_hr.json +2 -1
  585. package/dist/solutions-components/assets/t9n/map-card/resources_hu.json +2 -1
  586. package/dist/solutions-components/assets/t9n/map-card/resources_id.json +2 -1
  587. package/dist/solutions-components/assets/t9n/map-card/resources_it.json +2 -1
  588. package/dist/solutions-components/assets/t9n/map-card/resources_ja.json +2 -1
  589. package/dist/solutions-components/assets/t9n/map-card/resources_ko.json +2 -1
  590. package/dist/solutions-components/assets/t9n/map-card/resources_lt.json +2 -1
  591. package/dist/solutions-components/assets/t9n/map-card/resources_lv.json +2 -1
  592. package/dist/solutions-components/assets/t9n/map-card/resources_nb.json +2 -1
  593. package/dist/solutions-components/assets/t9n/map-card/resources_nl.json +2 -1
  594. package/dist/solutions-components/assets/t9n/map-card/resources_pl.json +2 -1
  595. package/dist/solutions-components/assets/t9n/map-card/resources_pt-BR.json +2 -1
  596. package/dist/solutions-components/assets/t9n/map-card/resources_pt-PT.json +2 -1
  597. package/dist/solutions-components/assets/t9n/map-card/resources_ro.json +2 -1
  598. package/dist/solutions-components/assets/t9n/map-card/resources_ru.json +2 -1
  599. package/dist/solutions-components/assets/t9n/map-card/resources_sk.json +2 -1
  600. package/dist/solutions-components/assets/t9n/map-card/resources_sl.json +2 -1
  601. package/dist/solutions-components/assets/t9n/map-card/resources_sr.json +2 -1
  602. package/dist/solutions-components/assets/t9n/map-card/resources_sv.json +2 -1
  603. package/dist/solutions-components/assets/t9n/map-card/resources_th.json +2 -1
  604. package/dist/solutions-components/assets/t9n/map-card/resources_tr.json +2 -1
  605. package/dist/solutions-components/assets/t9n/map-card/resources_uk.json +2 -1
  606. package/dist/solutions-components/assets/t9n/map-card/resources_vi.json +2 -1
  607. package/dist/solutions-components/assets/t9n/map-card/resources_zh-CN.json +2 -1
  608. package/dist/solutions-components/assets/t9n/map-card/resources_zh-HK.json +2 -1
  609. package/dist/solutions-components/assets/t9n/map-card/resources_zh-TW.json +2 -1
  610. package/dist/solutions-components/demos/crowdsource-manager.html +0 -1
  611. package/dist/solutions-components/demos/crowdsource-reporter.html +2 -2
  612. package/dist/solutions-components/p-0a2e5861.entry.js +6 -0
  613. package/dist/solutions-components/{p-739ce6f3.entry.js → p-2f784608.entry.js} +1 -1
  614. package/dist/solutions-components/{p-1c2d0e90.entry.js → p-3e44cfab.entry.js} +1 -1
  615. package/dist/solutions-components/{p-841816a1.entry.js → p-41314f33.entry.js} +7 -7
  616. package/dist/solutions-components/{p-18089a0b.entry.js → p-471d5c7f.entry.js} +2 -2
  617. package/dist/solutions-components/p-5001cc41.entry.js +6 -0
  618. package/dist/solutions-components/p-561c0e02.entry.js +6 -0
  619. package/dist/solutions-components/p-56beff4c.entry.js +6 -0
  620. package/dist/solutions-components/p-592f2000.entry.js +6 -0
  621. package/dist/solutions-components/p-5cbf3eed.entry.js +6 -0
  622. package/dist/solutions-components/p-62d8796c.entry.js +17 -0
  623. package/dist/solutions-components/p-6d1922cc.entry.js +6 -0
  624. package/dist/solutions-components/p-80e81af7.entry.js +6 -0
  625. package/dist/solutions-components/{p-82ddf716.entry.js → p-8e2f4995.entry.js} +1 -1
  626. package/dist/solutions-components/{p-6502d0f8.entry.js → p-b7fbaeb7.entry.js} +1 -1
  627. package/dist/solutions-components/p-cced387c.entry.js +6 -0
  628. package/dist/solutions-components/{p-a5d79c86.entry.js → p-ce53e33d.entry.js} +2 -2
  629. package/dist/solutions-components/{p-59ccd27c.entry.js → p-d51c07d2.entry.js} +1 -1
  630. package/dist/solutions-components/p-d75cf651.entry.js +11 -0
  631. package/dist/solutions-components/p-d7afbe8d.entry.js +11 -0
  632. package/dist/solutions-components/p-e1e21798.entry.js +12 -0
  633. package/dist/solutions-components/p-e9026f9a.entry.js +6 -0
  634. package/dist/solutions-components/solutions-components.esm.js +1 -1
  635. package/dist/types/components/buffer-tools/buffer-tools.d.ts +8 -0
  636. package/dist/types/components/card-manager/card-manager.d.ts +8 -0
  637. package/dist/types/components/consent-manager/consent-manager.d.ts +8 -0
  638. package/dist/types/components/create-feature/create-feature.d.ts +8 -0
  639. package/dist/types/components/create-related-feature/create-related-feature.d.ts +8 -0
  640. package/dist/types/components/crowdsource-manager/crowdsource-manager.d.ts +4 -4
  641. package/dist/types/components/crowdsource-reporter/crowdsource-reporter.d.ts +8 -0
  642. package/dist/types/components/deduct-calculator/deduct-calculator.d.ts +1 -1
  643. package/dist/types/components/delete-button/delete-button.d.ts +9 -1
  644. package/dist/types/components/delete-dialog/delete-dialog.d.ts +8 -0
  645. package/dist/types/components/edit-card/edit-card.d.ts +8 -0
  646. package/dist/types/components/feature-details/feature-details.d.ts +4 -0
  647. package/dist/types/components/feature-list/feature-list.d.ts +8 -0
  648. package/dist/types/components/info-card/info-card.d.ts +8 -0
  649. package/dist/types/components/json-editor/json-editor.d.ts +8 -0
  650. package/dist/types/components/layer-list/layer-list.d.ts +8 -0
  651. package/dist/types/components/layer-table/layer-table.d.ts +9 -1
  652. package/dist/types/components/map-card/map-card.d.ts +8 -0
  653. package/dist/types/components/map-draw-tools/map-draw-tools.d.ts +8 -0
  654. package/dist/types/components/map-layer-picker/map-layer-picker.d.ts +8 -0
  655. package/dist/types/components/map-picker/map-picker.d.ts +8 -0
  656. package/dist/types/components/map-select-tools/map-select-tools.d.ts +4 -0
  657. package/dist/types/components/map-tools/map-tools.d.ts +8 -0
  658. package/dist/types/components/pdf-download/pdf-download.d.ts +8 -0
  659. package/dist/types/components/public-notification/public-notification.d.ts +4 -0
  660. package/dist/types/components/refine-selection/refine-selection.d.ts +4 -0
  661. package/dist/types/components/solution-configuration/solution-configuration.d.ts +8 -0
  662. package/dist/types/components/solution-item/solution-item.d.ts +8 -0
  663. package/dist/types/components/solution-item-accordion/solution-item-accordion.d.ts +8 -0
  664. package/dist/types/components/solution-item-details/solution-item-details.d.ts +8 -0
  665. package/dist/types/components/solution-item-sharing/solution-item-sharing.d.ts +8 -0
  666. package/dist/types/components/solution-organization-variables/solution-organization-variables.d.ts +8 -0
  667. package/dist/types/components/solution-resource-item/solution-resource-item.d.ts +8 -0
  668. package/dist/types/components/solution-spatial-ref/solution-spatial-ref.d.ts +8 -0
  669. package/dist/types/components/solution-template-data/solution-template-data.d.ts +8 -0
  670. package/dist/types/components/solution-variables/solution-variables.d.ts +8 -0
  671. package/dist/types/components/spatial-ref/spatial-ref.d.ts +8 -0
  672. package/dist/types/components.d.ts +266 -120
  673. package/dist/types/preact.d.ts +0 -16
  674. package/package.json +5 -5
  675. package/dist/cjs/feature-comments.cjs.entry.js +0 -61
  676. package/dist/cjs/feature-form-flow-item.cjs.entry.js +0 -61
  677. package/dist/cjs/features-flow-item.cjs.entry.js +0 -61
  678. package/dist/cjs/layout-manager.cjs.entry.js +0 -114
  679. package/dist/cjs/list-flow-item.cjs.entry.js +0 -61
  680. package/dist/cjs/location-flow-item.cjs.entry.js +0 -61
  681. package/dist/cjs/refine-results-flow-item.cjs.entry.js +0 -61
  682. package/dist/collection/assets/t9n/feature-comments/resources.json +0 -3
  683. package/dist/collection/assets/t9n/feature-comments/resources_en.json +0 -3
  684. package/dist/collection/assets/t9n/feature-form-flow-item/resources.json +0 -3
  685. package/dist/collection/assets/t9n/feature-form-flow-item/resources_en.json +0 -3
  686. package/dist/collection/assets/t9n/layout-manager/resources.json +0 -7
  687. package/dist/collection/assets/t9n/layout-manager/resources_ar.json +0 -7
  688. package/dist/collection/assets/t9n/layout-manager/resources_bg.json +0 -7
  689. package/dist/collection/assets/t9n/layout-manager/resources_bs.json +0 -7
  690. package/dist/collection/assets/t9n/layout-manager/resources_ca.json +0 -7
  691. package/dist/collection/assets/t9n/layout-manager/resources_cs.json +0 -7
  692. package/dist/collection/assets/t9n/layout-manager/resources_da.json +0 -7
  693. package/dist/collection/assets/t9n/layout-manager/resources_de.json +0 -7
  694. package/dist/collection/assets/t9n/layout-manager/resources_el.json +0 -7
  695. package/dist/collection/assets/t9n/layout-manager/resources_en.json +0 -7
  696. package/dist/collection/assets/t9n/layout-manager/resources_es.json +0 -7
  697. package/dist/collection/assets/t9n/layout-manager/resources_et.json +0 -7
  698. package/dist/collection/assets/t9n/layout-manager/resources_fi.json +0 -7
  699. package/dist/collection/assets/t9n/layout-manager/resources_fr.json +0 -7
  700. package/dist/collection/assets/t9n/layout-manager/resources_he.json +0 -7
  701. package/dist/collection/assets/t9n/layout-manager/resources_hr.json +0 -7
  702. package/dist/collection/assets/t9n/layout-manager/resources_hu.json +0 -7
  703. package/dist/collection/assets/t9n/layout-manager/resources_id.json +0 -7
  704. package/dist/collection/assets/t9n/layout-manager/resources_it.json +0 -7
  705. package/dist/collection/assets/t9n/layout-manager/resources_ja.json +0 -7
  706. package/dist/collection/assets/t9n/layout-manager/resources_ko.json +0 -7
  707. package/dist/collection/assets/t9n/layout-manager/resources_lt.json +0 -7
  708. package/dist/collection/assets/t9n/layout-manager/resources_lv.json +0 -7
  709. package/dist/collection/assets/t9n/layout-manager/resources_nb.json +0 -7
  710. package/dist/collection/assets/t9n/layout-manager/resources_nl.json +0 -7
  711. package/dist/collection/assets/t9n/layout-manager/resources_pl.json +0 -7
  712. package/dist/collection/assets/t9n/layout-manager/resources_pt-BR.json +0 -7
  713. package/dist/collection/assets/t9n/layout-manager/resources_pt-PT.json +0 -7
  714. package/dist/collection/assets/t9n/layout-manager/resources_ro.json +0 -7
  715. package/dist/collection/assets/t9n/layout-manager/resources_ru.json +0 -7
  716. package/dist/collection/assets/t9n/layout-manager/resources_sk.json +0 -7
  717. package/dist/collection/assets/t9n/layout-manager/resources_sl.json +0 -7
  718. package/dist/collection/assets/t9n/layout-manager/resources_sr.json +0 -7
  719. package/dist/collection/assets/t9n/layout-manager/resources_sv.json +0 -7
  720. package/dist/collection/assets/t9n/layout-manager/resources_th.json +0 -7
  721. package/dist/collection/assets/t9n/layout-manager/resources_tr.json +0 -7
  722. package/dist/collection/assets/t9n/layout-manager/resources_uk.json +0 -7
  723. package/dist/collection/assets/t9n/layout-manager/resources_vi.json +0 -7
  724. package/dist/collection/assets/t9n/layout-manager/resources_zh-CN.json +0 -7
  725. package/dist/collection/assets/t9n/layout-manager/resources_zh-HK.json +0 -7
  726. package/dist/collection/assets/t9n/layout-manager/resources_zh-TW.json +0 -7
  727. package/dist/collection/assets/t9n/list-flow-item/resources.json +0 -3
  728. package/dist/collection/assets/t9n/list-flow-item/resources_en.json +0 -3
  729. package/dist/collection/assets/t9n/location-flow-item/resources.json +0 -3
  730. package/dist/collection/assets/t9n/location-flow-item/resources_en.json +0 -3
  731. package/dist/collection/components/feature-comments/feature-comments.css +0 -19
  732. package/dist/collection/components/feature-comments/feature-comments.js +0 -80
  733. package/dist/collection/components/feature-form-flow-item/feature-form-flow-item.css +0 -19
  734. package/dist/collection/components/feature-form-flow-item/feature-form-flow-item.js +0 -80
  735. package/dist/collection/components/features-flow-item/features-flow-item.css +0 -19
  736. package/dist/collection/components/features-flow-item/features-flow-item.js +0 -80
  737. package/dist/collection/components/layout-manager/layout-manager.css +0 -73
  738. package/dist/collection/components/layout-manager/layout-manager.js +0 -161
  739. package/dist/collection/components/list-flow-item/list-flow-item.css +0 -19
  740. package/dist/collection/components/list-flow-item/list-flow-item.js +0 -80
  741. package/dist/collection/components/location-flow-item/location-flow-item.css +0 -19
  742. package/dist/collection/components/location-flow-item/location-flow-item.js +0 -80
  743. package/dist/collection/components/refine-results-flow-item/refine-results-flow-item.css +0 -19
  744. package/dist/collection/components/refine-results-flow-item/refine-results-flow-item.js +0 -80
  745. package/dist/components/feature-comments.d.ts +0 -11
  746. package/dist/components/feature-comments.js +0 -76
  747. package/dist/components/feature-form-flow-item.d.ts +0 -11
  748. package/dist/components/feature-form-flow-item.js +0 -76
  749. package/dist/components/features-flow-item.d.ts +0 -11
  750. package/dist/components/features-flow-item.js +0 -76
  751. package/dist/components/layout-manager.d.ts +0 -11
  752. package/dist/components/layout-manager.js +0 -159
  753. package/dist/components/list-flow-item.d.ts +0 -11
  754. package/dist/components/list-flow-item.js +0 -76
  755. package/dist/components/location-flow-item.d.ts +0 -11
  756. package/dist/components/location-flow-item.js +0 -76
  757. package/dist/components/refine-results-flow-item.d.ts +0 -11
  758. package/dist/components/refine-results-flow-item.js +0 -76
  759. package/dist/esm/feature-comments.entry.js +0 -57
  760. package/dist/esm/feature-form-flow-item.entry.js +0 -57
  761. package/dist/esm/features-flow-item.entry.js +0 -57
  762. package/dist/esm/layout-manager.entry.js +0 -110
  763. package/dist/esm/list-flow-item.entry.js +0 -57
  764. package/dist/esm/location-flow-item.entry.js +0 -57
  765. package/dist/esm/refine-results-flow-item.entry.js +0 -57
  766. package/dist/solutions-components/assets/t9n/feature-comments/resources.json +0 -3
  767. package/dist/solutions-components/assets/t9n/feature-comments/resources_en.json +0 -3
  768. package/dist/solutions-components/assets/t9n/feature-form-flow-item/resources.json +0 -3
  769. package/dist/solutions-components/assets/t9n/feature-form-flow-item/resources_en.json +0 -3
  770. package/dist/solutions-components/assets/t9n/layout-manager/resources.json +0 -7
  771. package/dist/solutions-components/assets/t9n/layout-manager/resources_ar.json +0 -7
  772. package/dist/solutions-components/assets/t9n/layout-manager/resources_bg.json +0 -7
  773. package/dist/solutions-components/assets/t9n/layout-manager/resources_bs.json +0 -7
  774. package/dist/solutions-components/assets/t9n/layout-manager/resources_ca.json +0 -7
  775. package/dist/solutions-components/assets/t9n/layout-manager/resources_cs.json +0 -7
  776. package/dist/solutions-components/assets/t9n/layout-manager/resources_da.json +0 -7
  777. package/dist/solutions-components/assets/t9n/layout-manager/resources_de.json +0 -7
  778. package/dist/solutions-components/assets/t9n/layout-manager/resources_el.json +0 -7
  779. package/dist/solutions-components/assets/t9n/layout-manager/resources_en.json +0 -7
  780. package/dist/solutions-components/assets/t9n/layout-manager/resources_es.json +0 -7
  781. package/dist/solutions-components/assets/t9n/layout-manager/resources_et.json +0 -7
  782. package/dist/solutions-components/assets/t9n/layout-manager/resources_fi.json +0 -7
  783. package/dist/solutions-components/assets/t9n/layout-manager/resources_fr.json +0 -7
  784. package/dist/solutions-components/assets/t9n/layout-manager/resources_he.json +0 -7
  785. package/dist/solutions-components/assets/t9n/layout-manager/resources_hr.json +0 -7
  786. package/dist/solutions-components/assets/t9n/layout-manager/resources_hu.json +0 -7
  787. package/dist/solutions-components/assets/t9n/layout-manager/resources_id.json +0 -7
  788. package/dist/solutions-components/assets/t9n/layout-manager/resources_it.json +0 -7
  789. package/dist/solutions-components/assets/t9n/layout-manager/resources_ja.json +0 -7
  790. package/dist/solutions-components/assets/t9n/layout-manager/resources_ko.json +0 -7
  791. package/dist/solutions-components/assets/t9n/layout-manager/resources_lt.json +0 -7
  792. package/dist/solutions-components/assets/t9n/layout-manager/resources_lv.json +0 -7
  793. package/dist/solutions-components/assets/t9n/layout-manager/resources_nb.json +0 -7
  794. package/dist/solutions-components/assets/t9n/layout-manager/resources_nl.json +0 -7
  795. package/dist/solutions-components/assets/t9n/layout-manager/resources_pl.json +0 -7
  796. package/dist/solutions-components/assets/t9n/layout-manager/resources_pt-BR.json +0 -7
  797. package/dist/solutions-components/assets/t9n/layout-manager/resources_pt-PT.json +0 -7
  798. package/dist/solutions-components/assets/t9n/layout-manager/resources_ro.json +0 -7
  799. package/dist/solutions-components/assets/t9n/layout-manager/resources_ru.json +0 -7
  800. package/dist/solutions-components/assets/t9n/layout-manager/resources_sk.json +0 -7
  801. package/dist/solutions-components/assets/t9n/layout-manager/resources_sl.json +0 -7
  802. package/dist/solutions-components/assets/t9n/layout-manager/resources_sr.json +0 -7
  803. package/dist/solutions-components/assets/t9n/layout-manager/resources_sv.json +0 -7
  804. package/dist/solutions-components/assets/t9n/layout-manager/resources_th.json +0 -7
  805. package/dist/solutions-components/assets/t9n/layout-manager/resources_tr.json +0 -7
  806. package/dist/solutions-components/assets/t9n/layout-manager/resources_uk.json +0 -7
  807. package/dist/solutions-components/assets/t9n/layout-manager/resources_vi.json +0 -7
  808. package/dist/solutions-components/assets/t9n/layout-manager/resources_zh-CN.json +0 -7
  809. package/dist/solutions-components/assets/t9n/layout-manager/resources_zh-HK.json +0 -7
  810. package/dist/solutions-components/assets/t9n/layout-manager/resources_zh-TW.json +0 -7
  811. package/dist/solutions-components/assets/t9n/list-flow-item/resources.json +0 -3
  812. package/dist/solutions-components/assets/t9n/list-flow-item/resources_en.json +0 -3
  813. package/dist/solutions-components/assets/t9n/location-flow-item/resources.json +0 -3
  814. package/dist/solutions-components/assets/t9n/location-flow-item/resources_en.json +0 -3
  815. package/dist/solutions-components/p-04ab956c.entry.js +0 -6
  816. package/dist/solutions-components/p-06364211.entry.js +0 -6
  817. package/dist/solutions-components/p-1f07e21a.entry.js +0 -6
  818. package/dist/solutions-components/p-46416e11.entry.js +0 -6
  819. package/dist/solutions-components/p-70c0050c.entry.js +0 -6
  820. package/dist/solutions-components/p-720de4db.entry.js +0 -6
  821. package/dist/solutions-components/p-74bcef23.entry.js +0 -11
  822. package/dist/solutions-components/p-76154700.entry.js +0 -6
  823. package/dist/solutions-components/p-938bc915.entry.js +0 -6
  824. package/dist/solutions-components/p-97fe6ec5.entry.js +0 -6
  825. package/dist/solutions-components/p-9c4fef09.entry.js +0 -17
  826. package/dist/solutions-components/p-9d56f4b5.entry.js +0 -6
  827. package/dist/solutions-components/p-9da8a590.entry.js +0 -6
  828. package/dist/solutions-components/p-aac0c89c.entry.js +0 -6
  829. package/dist/solutions-components/p-be4c7ffd.entry.js +0 -6
  830. package/dist/solutions-components/p-d2612c30.entry.js +0 -6
  831. package/dist/solutions-components/p-df7de4b7.entry.js +0 -12
  832. package/dist/solutions-components/p-e345f9c4.entry.js +0 -6
  833. package/dist/solutions-components/p-eadff42b.entry.js +0 -11
  834. package/dist/solutions-components/p-fa1c368c.entry.js +0 -6
  835. package/dist/solutions-components/p-ff3858c6.entry.js +0 -6
  836. package/dist/types/components/feature-comments/feature-comments.d.ts +0 -19
  837. package/dist/types/components/feature-form-flow-item/feature-form-flow-item.d.ts +0 -19
  838. package/dist/types/components/features-flow-item/features-flow-item.d.ts +0 -19
  839. package/dist/types/components/layout-manager/layout-manager.d.ts +0 -69
  840. package/dist/types/components/list-flow-item/list-flow-item.d.ts +0 -19
  841. package/dist/types/components/location-flow-item/location-flow-item.d.ts +0 -19
  842. package/dist/types/components/refine-results-flow-item/refine-results-flow-item.d.ts +0 -19
@@ -31,6 +31,7 @@ const CardManager = class {
31
31
  this.enableEditGeometry = false;
32
32
  this.isMobile = undefined;
33
33
  this.layer = undefined;
34
+ this.locale = undefined;
34
35
  this.mapView = undefined;
35
36
  this.zoomAndScrollToSelected = undefined;
36
37
  this.selectedFeaturesIds = undefined;
@@ -61,6 +62,14 @@ const CardManager = class {
61
62
  // Watch handlers
62
63
  //
63
64
  //--------------------------------------------------------------------------
65
+ /**
66
+ * Fetch translations when the locale is updated
67
+ */
68
+ async localeWatchHandler() {
69
+ // to support url param and language switcher
70
+ this.el.lang = this.locale;
71
+ await this._getTranslations();
72
+ }
64
73
  //--------------------------------------------------------------------------
65
74
  //
66
75
  // Methods (public)
@@ -130,14 +139,14 @@ const CardManager = class {
130
139
  const heading = isTable ? this._translations.createRecord : this._translations.createFeature;
131
140
  const guideMsg = this.customInfoText ? this.customInfoText : this.selectingFeatureFromMap ? this._translations.selectFeaturesFromMapToStart : this._translations.selectFeaturesToStart;
132
141
  const showCreateFeatureOrRecordBtn = this.enableCreateFeatures && this.layer?.capabilities?.operations?.supportsAdd;
133
- return (index.h(index.Host, { key: '7360aa9c48dd0c3e4a14fe0833b99c301388f93c' }, index.h("div", { key: '9d610f0c4728c238eceb790e97a4e06b77f1a2d1', class: "overflow-auto height-full" }, index.h("calcite-shell", { key: '4b6a02205a971c7ff61aab567b2f2a3c5d288f8d', class: "position-relative " + featuresClass }, index.h("div", { key: '96ee8ce138265dd4b562ac0a33b79a0db4497842', class: "position-static z-index-500" }, index.h("info-card", { key: '7db359bc1016281fd01b737dc5c424fe78995422', enableEditGeometry: this.enableEditGeometry, graphics: this._graphics, isLoading: this._cardLoading, isMobile: this.isMobile, mapView: this.mapView }))), index.h("calcite-shell", { key: 'afc8d06e9aa3213a9ca10c929497ed4618a28e91', class: "position-relative " + messageClass }, index.h("calcite-flow-item", { key: '46db92a6e259eefea3293310e3e2f43d7639db97' }, index.h("calcite-panel", { key: 'd2bc23ae7bcf2b7b7b48a35efc0697e0d1f9e23e' }, index.h("div", { key: '8f7fd13f9ec99beec1d7231dda03eba403a70a69', class: "padding-1" }, index.h("calcite-notice", { key: '2fbe94292c1dd91ee1691b8e3d295225ff5b534b', icon: this.selectingFeatureFromMap ? "map" : "table", iconFlipRtl: true, open: true }, index.h("div", { key: '9f91099e4bfa0675c5b098a73b2f132b80ee76b0', slot: "message" }, guideMsg))), !this.isMobile && showCreateFeatureOrRecordBtn && index.h("calcite-button", { key: 'c1b04e776f3750712992d736e09726cc26eae5db', disabled: !this.layer, onClick: () => this._createFeatureBtnClicked(), slot: "footer", width: "full" }, isTable ? this._translations.createRecord : this._translations.createFeature)))), index.h("calcite-shell", { key: 'a71d4b0abd1ec1a4ed14a2cb3dcb10a075f54bf0', class: "position-relative " + createFeatureClass }, index.h("calcite-flow-item", { key: '85047b527f5995a912b527325f287c3596caf630' }, index.h("calcite-panel", { key: 'd335be81502e0feb803ee9ad4e501d4c85f184f5', heading: heading }, index.h("calcite-action", { key: 'b179c3185dbada3bd052d38b98b75cf29240655c', class: "back-button hydrated", icon: "chevron-left", onClick: this._backFromCreateFeature.bind(this), scale: "s", slot: "header-actions-start", text: "" }), this.getEditorComponent(), this._showSubmitBtn && index.h("calcite-button", { key: 'f3b6655e3effdb6b09e64acd651a09d6028a6df9', appearance: "solid", class: "footer-top-button footer-button", onClick: () => void this._createFeature.submit(), slot: "footer", width: "full" }, this._translations.create)))))));
142
+ return (index.h(index.Host, { key: '1dc448368b85b83ccc2f76f59cff83559d1d1285' }, index.h("div", { key: '7c058f7a4ca2db84f0ad35efba90a1485e5c7989', class: "overflow-auto height-full" }, index.h("calcite-shell", { key: '1388666d3d11efee37efc1524011594237cccc35', class: "position-relative " + featuresClass }, index.h("div", { key: '3f93c4de344e49eec16e447bc1ca44cb280f84cc', class: "position-static z-index-500" }, index.h("info-card", { key: 'c5b8cafef2595b8ae85725d583caebf9754ce1fb', enableEditGeometry: this.enableEditGeometry, graphics: this._graphics, isLoading: this._cardLoading, isMobile: this.isMobile, locale: this.locale, mapView: this.mapView }))), index.h("calcite-shell", { key: 'bfa2f41e657f390335545f46ab744d4d980c3926', class: "position-relative " + messageClass }, index.h("calcite-flow-item", { key: 'bf19ce4b69b52c5652629f38859e03a0a99f8374' }, index.h("calcite-panel", { key: '1ea46998a73ad636ad2a956e72181a0570edd5d0' }, index.h("div", { key: 'd853f429c30daa5abcfe6576b7242fa48251ae53', class: "padding-1" }, index.h("calcite-notice", { key: 'dffa52ec3fa7a22494b6dadd7b1c6d512e25c192', icon: this.selectingFeatureFromMap ? "map" : "table", iconFlipRtl: true, open: true }, index.h("div", { key: '728b56c9281dfe09d1604882635a53803c5f4253', slot: "message" }, guideMsg))), !this.isMobile && showCreateFeatureOrRecordBtn && index.h("calcite-button", { key: '260042d84c529d5508630bca7bdb39db1c2408cb', disabled: !this.layer, onClick: () => this._createFeatureBtnClicked(), slot: "footer", width: "full" }, isTable ? this._translations.createRecord : this._translations.createFeature)))), index.h("calcite-shell", { key: 'c30cbc2dc6e70319440bf9ed7c3d7f7ede38c3a1', class: "position-relative " + createFeatureClass }, index.h("calcite-flow-item", { key: '901c5a407a8418c34ee72c4dd4b16443c3766819' }, index.h("calcite-panel", { key: 'a6faf502cd08060a42582cbd95d7354b1e192a43', heading: heading }, index.h("calcite-action", { key: '23e9c295f7476f935055c30227774e173315194d', class: "back-button hydrated", icon: "chevron-left", onClick: this._backFromCreateFeature.bind(this), scale: "s", slot: "header-actions-start", text: "" }), this.getEditorComponent(), this._showSubmitBtn && index.h("calcite-button", { key: '3ee5c310e5fad8aa5d6abd8ae1347c46d3ada1be', appearance: "solid", class: "footer-top-button footer-button", onClick: () => void this._createFeature.submit(), slot: "footer", width: "full" }, this._translations.create)))))));
134
143
  }
135
144
  /**
136
145
  * Returns the editor component for adding feature
137
146
  * @returns Node
138
147
  */
139
148
  getEditorComponent() {
140
- return (index.h("div", null, this._showCreateFeatureComponent && index.h("create-feature", { customizeSubmit: true, mapView: this.mapView, onDrawComplete: () => { this._showSubmitBtn = true; }, onEditingAttachment: (evt) => { this._showSubmitBtn = !evt.detail; }, onProgressStatus: () => {
149
+ return (index.h("div", null, this._showCreateFeatureComponent && index.h("create-feature", { customizeSubmit: true, locale: this.locale, mapView: this.mapView, onDrawComplete: () => { this._showSubmitBtn = true; }, onEditingAttachment: (evt) => { this._showSubmitBtn = !evt.detail; }, onProgressStatus: () => {
141
150
  setTimeout(() => {
142
151
  this._isFeatureCreated = false;
143
152
  }, 2000);
@@ -202,6 +211,9 @@ const CardManager = class {
202
211
  const messages = await locale.getLocaleComponentStrings(this.el);
203
212
  this._translations = messages[0];
204
213
  }
214
+ static get watchers() { return {
215
+ "locale": ["localeWatchHandler"]
216
+ }; }
205
217
  };
206
218
  CardManager.style = CardManagerStyle0;
207
219
 
@@ -223,6 +235,7 @@ const LayerTable = class {
223
235
  this.enableInlineEdit = undefined;
224
236
  this.enableShare = undefined;
225
237
  this.isMobile = undefined;
238
+ this.locale = undefined;
226
239
  this.mapHidden = undefined;
227
240
  this.mapInfo = undefined;
228
241
  this.mapView = undefined;
@@ -478,6 +491,14 @@ const LayerTable = class {
478
491
  }
479
492
  });
480
493
  }
494
+ /**
495
+ * Fetch translations when the locale is updated
496
+ */
497
+ async localeWatchHandler() {
498
+ // to support url param and language switcher
499
+ this.el.lang = this.locale;
500
+ await this._getTranslations();
501
+ }
481
502
  /**
482
503
  * Reset the toolInfos when mapHidden prop changes so we can show/hide any map dependant tool(s)
483
504
  */
@@ -710,10 +731,10 @@ const LayerTable = class {
710
731
  const tableHeightClass = this.isMobile ? "height-full" : "height-full-adjusted";
711
732
  const showSearch = this._canShowFullTextSearch();
712
733
  this._validateActiveActions();
713
- return (index.h(index.Host, { key: '04fccaaa9862ed315d99ad74f7e1135dd5656613' }, index.h("calcite-shell", { key: 'e332d781be1499857a5e17e37ad2e058bba453b1' }, this._getTableControlRow("header"), index.h("div", { key: '6337e494f879c250494c5f5859daec627fdd0700', class: `width-full ${tableHeightClass}` }, index.h("calcite-panel", { key: 'd0d437997906fd15f97765cb89c3917f66b20c37', class: "height-full width-full" }, showSearch &&
714
- index.h("div", { key: '596a2d54fd707941d9e2ec167598313d9ee9b295', class: "search-container" }, index.h("calcite-input", { key: '31cd1ffb09bc2c6c9c1f9daf39f3e9549cbceeb2', class: "search", clearable: true, icon: "search", onCalciteInputChange: (evt) => void this._searchTextChanged(evt), placeholder: this._searchPlaceHolder, title: this._searchPlaceHolder, type: "search" })), index.h("calcite-loader", { key: 'b4ba3d32fb346134672e08d55428bd38ac43f40d', class: loadingClass, label: this._translations.fetchingData, scale: "l" }), index.h("div", { key: '4fbac73935be7a1163643543e6d77a200534e5e3', class: tableNodeClass, ref: this.onTableNodeCreate }))), !this.isMobile ? (index.h("div", { class: "bottom-left text-color height-19" }, this._translations.recordsSelected
734
+ return (index.h(index.Host, { key: '5cbb5ba55c63eaf278666aac034a01d971d9f12a' }, index.h("calcite-shell", { key: '8a27d87fc002b72fe478d25885b2ab04261362ca' }, this._getTableControlRow("header"), index.h("div", { key: '250c356a30389b8cb95628953f3bb3ec5c88361d', class: `width-full ${tableHeightClass}` }, index.h("calcite-panel", { key: '9d5dbb084031bdface1dbc3a1dbc2fa33eb163b5', class: "height-full width-full" }, showSearch &&
735
+ index.h("div", { key: '2d45ae4255a1d0e3cf14aa0f6a01915a38626bc7', class: "search-container" }, index.h("calcite-input", { key: 'c73546fef30db70d01cf8978a5daf9ea4193ddc2', class: "search", clearable: true, icon: "search", onCalciteInputChange: (evt) => void this._searchTextChanged(evt), placeholder: this._searchPlaceHolder, title: this._searchPlaceHolder, type: "search" })), index.h("calcite-loader", { key: '61621afb1e5fa67e25b878320c8497200b8265cd', class: loadingClass, label: this._translations.fetchingData, scale: "l" }), index.h("div", { key: '0ef4fe0e4099ec60f4c38e2c421920c9a8fe3c4f', class: tableNodeClass, ref: this.onTableNodeCreate }))), !this.isMobile ? (index.h("div", { class: "bottom-left text-color height-19" }, this._translations.recordsSelected
715
736
  .replace("{{total}}", total)
716
- .replace("{{selected}}", selected))) : undefined), this.createFilterModal && this._filterModal(), index.h("delete-dialog", { key: '3b0dba8bc391d777f4687ad6f4e905aeb1eb580b', id: "deleteDialogId", ids: this._getIds(), layer: this._layer, onDeleteDialogClose: () => this._deleteDialogOpen = false, open: this._deleteDialogOpen, ref: (el) => this._deleteDialog = el })));
737
+ .replace("{{selected}}", selected))) : undefined), this.createFilterModal && this._filterModal(), index.h("delete-dialog", { key: 'e2564b1d08476f762577247ffb41a00e5c41514c', id: "deleteDialogId", ids: this._getIds(), layer: this._layer, locale: this.locale, onDeleteDialogClose: () => this._deleteDialogOpen = false, open: this._deleteDialogOpen, ref: (el) => this._deleteDialog = el })));
717
738
  }
718
739
  _deleteDialog;
719
740
  /**
@@ -889,7 +910,7 @@ const LayerTable = class {
889
910
  _getActionBar() {
890
911
  const containerClass = this.isMobile ? "width-full" : "";
891
912
  const mobileClass = this.isMobile ? "border-top" : "";
892
- return (index.h("calcite-action-bar", { class: containerClass, expandDisabled: true, expanded: true, id: this._getId("bar"), layout: "horizontal" }, index.h("div", { class: `border-end ${containerClass} ${mobileClass}`, id: "solutions-map-layer-picker-container" }, index.h("map-layer-picker", { appearance: "transparent", defaultLayerId: this.defaultLayerId, display: "inline-flex", height: 50, isMobile: this.isMobile, mapView: this.mapView, onlyShowUpdatableLayers: this.onlyShowUpdatableLayers, placeholderIcon: "layers", scale: "l", selectedIds: this._layer ? [this._layer?.id] : [], showSingleLayerAsLabel: true, showTables: true, type: "dropdown" })), !this.isMobile ? this._getActions() : undefined));
913
+ return (index.h("calcite-action-bar", { class: containerClass, expandDisabled: true, expanded: true, id: this._getId("bar"), layout: "horizontal" }, index.h("div", { class: `border-end ${containerClass} ${mobileClass}`, id: "solutions-map-layer-picker-container" }, index.h("map-layer-picker", { appearance: "transparent", defaultLayerId: this.defaultLayerId, display: "inline-flex", height: 50, isMobile: this.isMobile, locale: this.locale, mapView: this.mapView, onlyShowUpdatableLayers: this.onlyShowUpdatableLayers, placeholderIcon: "layers", scale: "l", selectedIds: this._layer ? [this._layer?.id] : [], showSingleLayerAsLabel: true, showTables: true, type: "dropdown" })), !this.isMobile ? this._getActions() : undefined));
893
914
  }
894
915
  /**
895
916
  * Get the actions that are used for various interactions with the table
@@ -1368,7 +1389,7 @@ const LayerTable = class {
1368
1389
  */
1369
1390
  _getDangerAction(icon, label, func, disabled) {
1370
1391
  const _disabled = this._layer === undefined ? true : disabled;
1371
- return (index.h("div", { class: "display-flex", id: this._getId(icon) }, icon === "trash" ? (index.h("delete-button", { buttonType: "action", class: "display-flex", disabled: _disabled, icon: icon, id: "solutions-delete", ids: this._getIds(), layer: this._layer })) : (index.h("calcite-action", { appearance: "solid", disabled: _disabled, id: icon, onClick: func, text: label }, index.h("calcite-button", { appearance: "transparent", iconStart: icon, kind: "danger" }, label))), this._getToolTip("bottom", icon, label)));
1392
+ return (index.h("div", { class: "display-flex", id: this._getId(icon) }, icon === "trash" ? (index.h("delete-button", { buttonType: "action", class: "display-flex", disabled: _disabled, icon: icon, id: "solutions-delete", ids: this._getIds(), layer: this._layer, locale: this.locale })) : (index.h("calcite-action", { appearance: "solid", disabled: _disabled, id: icon, onClick: func, text: label }, index.h("calcite-button", { appearance: "transparent", iconStart: icon, kind: "danger" }, label))), this._getToolTip("bottom", icon, label)));
1372
1393
  }
1373
1394
  /**
1374
1395
  * Return all currently selected IDs from the table
@@ -2082,6 +2103,7 @@ const LayerTable = class {
2082
2103
  "enableInlineEdit": ["enableInlineEditWatchHandler"],
2083
2104
  "enableShare": ["enableShareWatchHandler"],
2084
2105
  "_controlsThatFit": ["_controlsThatFitWatchHandler"],
2106
+ "locale": ["localeWatchHandler"],
2085
2107
  "mapHidden": ["mapHiddenWatchHandler"],
2086
2108
  "isMobile": ["isMobileWatchHandler"],
2087
2109
  "mapInfo": ["mapInfoWatchHandler"],
@@ -2158,6 +2180,7 @@ const MapCard = class {
2158
2180
  this.homeZoomIndex = 3;
2159
2181
  this.homeZoomPosition = "top-left";
2160
2182
  this.homeZoomToolsSize = "m";
2183
+ this.locale = undefined;
2161
2184
  this.mapInfos = [];
2162
2185
  this.mapWidgetsIndex = 0;
2163
2186
  this.mapWidgetsPosition = "top-right";
@@ -2307,6 +2330,14 @@ const MapCard = class {
2307
2330
  this._updateToolbar();
2308
2331
  }
2309
2332
  }
2333
+ /**
2334
+ * Fetch translations when the locale is updated
2335
+ */
2336
+ async localeWatchHandler() {
2337
+ // to support url param and language switcher
2338
+ this.el.lang = this.locale;
2339
+ await this._getTranslations();
2340
+ }
2310
2341
  /**
2311
2342
  * watch for changes in map view and get the first layer
2312
2343
  */
@@ -2439,7 +2470,7 @@ const MapCard = class {
2439
2470
  const mapHeightClass = this.mapInfos?.length > 1 || this.isMapLayout ? "map-height" : "height-full";
2440
2471
  const progressClass = this.isMapLayout ? "" : "display-none";
2441
2472
  this._validateActiveActions();
2442
- return (index.h(index.Host, { key: 'd4e5ff9c4aa08a4effe19a54a1a48463cb8b3774' }, index.h("div", { key: '51ee35d267d5ef081a4c160de3e03b1790d328c8', class: `${mapContainerClass} width-full`, ref: (el) => this._toolbar = el }, this._getActionBar(), !this.isMobile && this.isMapLayout && this._getDropdown("more-table-options"), this.enableShare && !this.isMobile && this.isMapLayout ? this._getShare("share") : undefined), index.h("calcite-progress", { key: '70a5c232aae8a9ff6740fd326e6ba6fe61936541', class: progressClass, value: 0 }), index.h("div", { key: 'c399acc019d7f0a16dbb644eee4cfdd1e6e83c7c', class: `${mapHeightClass} ${mapClass}`, ref: (el) => (this._mapDiv = el) }), index.h("map-tools", { key: 'c6a88ccfa140fe9b0d059f74b9254af6ef0997ce', 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 })));
2473
+ return (index.h(index.Host, { key: '0b617eeb40229e49a32f5e4a557bfa0f88588fae' }, index.h("div", { key: 'd93aa32cd31279e468e4570af231a3f3788b9897', class: `${mapContainerClass} width-full`, ref: (el) => this._toolbar = el }, this._getActionBar(), !this.isMobile && this.isMapLayout && this._getDropdown("more-table-options"), this.enableShare && !this.isMobile && this.isMapLayout ? this._getShare("share") : undefined), index.h("calcite-progress", { key: '0ac01b19752ded5ddf0b06723b30fa669b2f6933', class: progressClass, value: 0 }), index.h("div", { key: '256bc38d71e3de4ab7ba7328ce12c32fa9ef0d2b', class: `${mapHeightClass} ${mapClass}`, ref: (el) => (this._mapDiv = el) }), index.h("map-tools", { key: 'e86f179871e8b315ff8d6ecb87545d9af8222590', 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, locale: this.locale, mapView: this.mapView, mapWidgetsSize: this.mapWidgetsSize, position: this.mapWidgetsPosition, ref: (el) => this._mapTools = el, searchConfiguration: this._searchConfiguration, stackTools: this.stackTools, toolOrder: this.toolOrder })));
2443
2474
  }
2444
2475
  /**
2445
2476
  * Called each time after the component is loaded
@@ -2666,7 +2697,7 @@ const MapCard = class {
2666
2697
  const containerClass = this.isMapLayout ? "display-flex" : "display-block";
2667
2698
  const mobileClass = this.isMobile ? "border-top" : "";
2668
2699
  const headerElements = this.isMapLayout ? "" : "display-none";
2669
- return (index.h("calcite-action-bar", { class: containerClass, expandDisabled: true, expanded: true, id: this._getId("bar"), layout: "horizontal" }, index.h("map-picker", { class: mapPickerClass, isMapLayout: this.isMapLayout, mapInfos: this.mapInfos, ref: (el) => this._mapPicker = el }), index.h("div", { class: `mapView-header display-flex ${headerElements}` }, index.h("div", { class: `border-end ${containerClass} ${mobileClass}`, id: "solutions-map-layer-picker-container" }, this.mapView && index.h("map-layer-picker", { appearance: "transparent", defaultLayerId: this.defaultLayerId, display: "inline-flex", height: 50, isMobile: this.isMobile, mapView: this.mapView, onlyShowUpdatableLayers: this.onlyShowUpdatableLayers, placeholderIcon: "layers", ref: (el) => this._mapLayerPicker = el, scale: "l", selectedIds: this.selectedLayer ? [this.selectedLayer.id] : [], showSingleLayerAsLabel: true, showTables: true, showTablesDisabled: true, type: "dropdown" }))), !this.isMobile && this.isMapLayout ? this._getActions() : undefined));
2700
+ return (index.h("calcite-action-bar", { class: containerClass, expandDisabled: true, expanded: true, id: this._getId("bar"), layout: "horizontal" }, index.h("map-picker", { class: mapPickerClass, isMapLayout: this.isMapLayout, locale: this.locale, mapInfos: this.mapInfos, ref: (el) => this._mapPicker = el }), index.h("div", { class: `mapView-header display-flex ${headerElements}` }, index.h("div", { class: `border-end ${containerClass} ${mobileClass}`, id: "solutions-map-layer-picker-container" }, this.mapView && index.h("map-layer-picker", { appearance: "transparent", defaultLayerId: this.defaultLayerId, display: "inline-flex", height: 50, isMobile: this.isMobile, locale: this.locale, 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));
2670
2701
  }
2671
2702
  /**
2672
2703
  * Get a list of toolInfos that should display in the dropdown
@@ -3004,6 +3035,7 @@ const MapCard = class {
3004
3035
  "appLayout": ["appLayoutWatchHandler"],
3005
3036
  "enableHome": ["enableHomeWatchHandler"],
3006
3037
  "enableShare": ["enableShareWatchHandler"],
3038
+ "locale": ["localeWatchHandler"],
3007
3039
  "mapView": ["mapViewWatchHandler"],
3008
3040
  "selectedLayer": ["selectedLayerWatchHandler"],
3009
3041
  "selectedFeaturesIds": ["selectedFeaturesIdsWatchHandler"],
@@ -617,6 +617,7 @@ const ConsentManager = class {
617
617
  index.registerInstance(this, hostRef);
618
618
  this.consentGranted = index.createEvent(this, "consentGranted", 7);
619
619
  this.firstUseVar = undefined;
620
+ this.locale = undefined;
620
621
  this.measurementIds = undefined;
621
622
  this.portal = undefined;
622
623
  this._shouldRender = undefined;
@@ -646,6 +647,14 @@ const ConsentManager = class {
646
647
  // Watch handlers
647
648
  //
648
649
  //--------------------------------------------------------------------------
650
+ /**
651
+ * Fetch translations when the locale is updated
652
+ */
653
+ async localeWatchHandler() {
654
+ // to support url param and language switcher
655
+ this.el.lang = this.locale;
656
+ await this._getTranslations();
657
+ }
649
658
  //--------------------------------------------------------------------------
650
659
  //
651
660
  // Methods (public)
@@ -767,6 +776,9 @@ const ConsentManager = class {
767
776
  const messages = await locale.getLocaleComponentStrings(this.el);
768
777
  this._translations = messages[0];
769
778
  }
779
+ static get watchers() { return {
780
+ "locale": ["localeWatchHandler"]
781
+ }; }
770
782
  };
771
783
  ConsentManager.style = ConsentManagerStyle0;
772
784
 
@@ -46,7 +46,7 @@ const CrowdsourceManager = class {
46
46
  this.enableSearch = true;
47
47
  this.enableShare = false;
48
48
  this.enableZoom = true;
49
- this.hideMapOnLoad = false;
49
+ this.locale = undefined;
50
50
  this.mapInfos = [];
51
51
  this.onlyShowUpdatableLayers = true;
52
52
  this.popupHeaderColor = undefined;
@@ -142,7 +142,7 @@ const CrowdsourceManager = class {
142
142
  if (newAppLayout !== oldAppLayout) {
143
143
  this._setActiveLayout(newAppLayout);
144
144
  // update the layer if table selected while switching to map view
145
- if (this.appLayout === "mapView" && this._layer.isTable) {
145
+ if (this.appLayout === "mapView" && this._layer?.isTable) {
146
146
  void this._mapCard.updateLayer();
147
147
  }
148
148
  if (this._isMapViewOnLoad) {
@@ -158,10 +158,12 @@ const CrowdsourceManager = class {
158
158
  this._initMapZoom();
159
159
  }
160
160
  /**
161
- * When true and no appLayout is defined the map will be hidden on load
161
+ * Fetch translations when the locale is updated
162
162
  */
163
- hideMapOnLoadWatchHandler() {
164
- console.warn("hideMapOnLoad will be removed. Please use appLayout to control layout options.");
163
+ async localeWatchHandler() {
164
+ // to support url param and language switcher
165
+ this.el.lang = this.locale;
166
+ await this._getTranslations();
165
167
  }
166
168
  //--------------------------------------------------------------------------
167
169
  //
@@ -252,7 +254,7 @@ const CrowdsourceManager = class {
252
254
  render() {
253
255
  // only avoid border when we have a header color that is not white
254
256
  const borderClass = this.popupHeaderColor && this.popupHeaderColor !== "#FFFFFF" ? "border-width-0" : "";
255
- return (index.h(index.Host, { key: 'ace73bfa1aa7d460f1cba60d13e94c4f47f77bd0' }, index.h("calcite-shell", { key: 'f14e70be762bf236be566111b45e40a42f0997f7', class: "position-relative" }, index.h("calcite-panel", { key: '0dde9426295a780b6a12cd98513f655914c0dab5', class: `width-full height-full ${borderClass}`, loading: this._isLoading }, this._getBody(this._layoutMode, this._panelOpen, this._hideTable)), this._getFooter()), this._filterModal()));
257
+ return (index.h(index.Host, { key: '8fd887051b4437477f1413843dfc6d938304364a' }, index.h("calcite-shell", { key: 'a9989a1698b268db75cdbcadcd3956d944daa25c', class: "position-relative" }, index.h("calcite-panel", { key: '88c5631e21b5ccb6a958e016c274e3aa746a6af1', class: `width-full height-full ${borderClass}`, loading: this._isLoading }, this._getBody(this._layoutMode, this._panelOpen, this._hideTable)), this._getFooter()), this._filterModal()));
256
258
  }
257
259
  /**
258
260
  * Called after each render
@@ -275,9 +277,6 @@ const CrowdsourceManager = class {
275
277
  this._defaultAppLayoutHonored = true;
276
278
  this.appLayout = this.defaultAppLayout;
277
279
  }
278
- else if (this.hideMapOnLoad && !this.appLayout) {
279
- this.appLayout = 'tableView';
280
- }
281
280
  else if (!this.appLayout) {
282
281
  this.appLayout = 'splitView';
283
282
  }
@@ -298,7 +297,7 @@ const CrowdsourceManager = class {
298
297
  _getFooter() {
299
298
  const hasSelectedFeatures = this._numSelected > 0;
300
299
  const deleteEnabled = this._layer?.editingEnabled && this._layer?.capabilities?.operations?.supportsDelete;
301
- return this._isPortraitMobile && hasSelectedFeatures && !this._hideFooter ? (index.h("div", { class: `width-100`, slot: "footer" }, index.h("div", { class: "display-flex padding-1-2" }, index.h("calcite-button", { appearance: "solid", id: "solutions-show", onClick: () => this.showHideMapPopupAndTable(true), width: "full" }, this._translations.view.replace("{{n}}", this._numSelected.toString())), deleteEnabled ? (index.h("delete-button", { class: "padding-inline-start-1 width-full", id: "solutions-delete", ids: this._layerTable.selectedIds, layer: this._layer })) : undefined))) : undefined;
300
+ return this._isPortraitMobile && hasSelectedFeatures && !this._hideFooter ? (index.h("div", { class: `width-100`, slot: "footer" }, index.h("div", { class: "display-flex padding-1-2" }, index.h("calcite-button", { appearance: "solid", id: "solutions-show", onClick: () => this.showHideMapPopupAndTable(true), width: "full" }, this._translations.view.replace("{{n}}", this._numSelected.toString())), deleteEnabled ? (index.h("delete-button", { class: "padding-inline-start-1 width-full", id: "solutions-delete", ids: this._layerTable.selectedIds, layer: this._layer, locale: this.locale })) : undefined))) : undefined;
302
301
  }
303
302
  /**
304
303
  * sets the active layout to render
@@ -451,7 +450,7 @@ const CrowdsourceManager = class {
451
450
  const isTableLayout = this.appLayout === 'tableView';
452
451
  const mapContainerClass = (isMapLayout || isTableLayout) ? "position-absolute-0" : this._layoutMode === interfaces.ELayoutMode.HORIZONTAL && (!this._isPortraitMobile || panelOpen) ? "" : "adjusted-height-50";
453
452
  const hasMapAndLayer = this.defaultWebmap && this.defaultLayer;
454
- return (index.h("div", { class: `${mapContainerClass} overflow-hidden`, id: "card-mapView" }, index.h("map-card", { appLayout: this.appLayout, appProxies: this.appProxies, basemapConfig: this.basemapConfig, class: "width-full", defaultLayerId: hasMapAndLayer ? this.defaultLayer : "", defaultWebmapId: this.defaultWebmap, enableBasemap: this.enableBasemap, enableFloorFilter: this.enableFloorFilter, enableFullscreen: this.enableFullscreen, enableHome: this.enableHome, enableLegend: this.enableLegend, enableSearch: this.enableSearch, enableShare: this.enableShare, enableSingleExpand: true, hidden: !this._isPortraitMobile && isTableLayout, homeZoomIndex: 3, homeZoomPosition: "top-left", homeZoomToolsSize: "s", isMapLayout: isMapLayout, isMobile: this._isMobile, mapInfo: this._mapInfo, mapInfos: this.mapInfos?.filter(mapInfo => mapInfo.visible !== false), mapWidgetsIndex: 0, mapWidgetsPosition: "top-right", mapWidgetsSize: "m", onToggleFilter: this._toggleFilter.bind(this), onlyShowUpdatableLayers: this.onlyShowUpdatableLayers, ref: (el) => this._mapCard = el, selectedFeaturesIds: this._layerTable?.selectedIds, selectedLayer: this._layer, shareIncludeEmbed: this.shareIncludeEmbed, shareIncludeSocial: this.shareIncludeSocial, stackTools: true, theme: this.theme, toolOrder: ["legend", "search", "fullscreen", "basemap", "floorfilter"], zoomToScale: this.zoomToScale })));
453
+ return (index.h("div", { class: `${mapContainerClass} overflow-hidden`, id: "card-mapView" }, index.h("map-card", { appLayout: this.appLayout, appProxies: this.appProxies, basemapConfig: this.basemapConfig, class: "width-full", defaultLayerId: hasMapAndLayer ? this.defaultLayer : "", defaultWebmapId: this.defaultWebmap, enableBasemap: this.enableBasemap, enableFloorFilter: this.enableFloorFilter, enableFullscreen: this.enableFullscreen, enableHome: this.enableHome, enableLegend: this.enableLegend, enableSearch: this.enableSearch, enableShare: this.enableShare, enableSingleExpand: true, hidden: !this._isPortraitMobile && isTableLayout, homeZoomIndex: 3, homeZoomPosition: "top-left", homeZoomToolsSize: "s", isMapLayout: isMapLayout, isMobile: this._isMobile, locale: this.locale, mapInfo: this._mapInfo, mapInfos: this.mapInfos?.filter(mapInfo => mapInfo.visible !== false), mapWidgetsIndex: 0, mapWidgetsPosition: "top-right", mapWidgetsSize: "m", onToggleFilter: this._toggleFilter.bind(this), onlyShowUpdatableLayers: this.onlyShowUpdatableLayers, ref: (el) => this._mapCard = el, selectedFeaturesIds: this._layerTable?.selectedIds, selectedLayer: this._layer, shareIncludeEmbed: this.shareIncludeEmbed, shareIncludeSocial: this.shareIncludeSocial, stackTools: true, theme: this.theme, toolOrder: ["legend", "search", "fullscreen", "basemap", "floorfilter"], zoomToScale: this.zoomToScale })));
455
454
  }
456
455
  /**
457
456
  * Get the expand node for the popup information
@@ -484,7 +483,7 @@ const CrowdsourceManager = class {
484
483
  const isTableLayout = this.appLayout === 'tableView';
485
484
  const cardManagerHeight = isTableLayout && this.mapInfos?.length > 1 ? "adjusted-height-100-51" : isMapLayout || isTableLayout ? "height-full" : (this._numSelected > 0 && !this._isMobile) ? "height-50" : !this._showInformationHeader ? "adjusted-height-50_25" : !this._isPortraitMobile ? "height-50" : "height-full";
486
485
  const themeClass = this.theme === "dark" ? "calcite-mode-dark" : "calcite-mode-light";
487
- return (index.h("div", { class: `width-50 height-full ${themeClass}` }, index.h("card-manager", { class: `${cardManagerHeight} width-full`, customInfoText: this.customInfoText, enableCreateFeatures: this._enableCreateFeatures && !this._isMobile, enableEditGeometry: this?._mapInfo?.enableEditGeometry, isMobile: this._isPortraitMobile, layer: this._layer, mapView: this?._mapView, onBackFromCreateWorkFlow: () => {
486
+ return (index.h("div", { class: `width-50 height-full ${themeClass}` }, index.h("card-manager", { class: `${cardManagerHeight} width-full`, customInfoText: this.customInfoText, enableCreateFeatures: this._enableCreateFeatures && !this._isMobile, enableEditGeometry: this?._mapInfo?.enableEditGeometry, isMobile: this._isPortraitMobile, layer: this._layer, locale: this.locale, mapView: this?._mapView, onBackFromCreateWorkFlow: () => {
488
487
  this._showInformationHeader = true;
489
488
  }, onCreateWorkFlowStarted: () => {
490
489
  this.appLayout = this._layer.isTable ? "tableView" : "mapView";
@@ -513,7 +512,7 @@ const CrowdsourceManager = class {
513
512
  this.defaultGlobalId?.indexOf(",") > -1 ? this.defaultGlobalId.split(",") : [this.defaultGlobalId];
514
513
  const defaultOid = !this.defaultOid ? undefined :
515
514
  this.defaultOid?.indexOf(",") > -1 ? this.defaultOid.split(",").map(o => parseInt(o, 10)) : [parseInt(this.defaultOid, 10)];
516
- return (index.h("calcite-shell", { class: `${tableSizeClass} border-bottom` }, !this._isMobile ? (index.h("calcite-action-bar", { class: "border-sides", expandDisabled: true, layout: toggleLayout, slot: toggleSlot }, this.getActions(layoutMode, panelOpen))) : undefined, index.h("div", { class: `width-full height-full position-relative z-index-0 ${tableClass}` }, index.h("layer-table", { appLayout: this.appLayout, createFilterModal: false, defaultGlobalId: hasMapAndLayer ? globalId : undefined, defaultLayerId: hasMapAndLayer ? this.defaultLayer : "", defaultOid: hasMapAndLayer && !globalId ? defaultOid : undefined, enableAutoRefresh: this.enableAutoRefresh, enableCSV: this.enableCSV, enableColumnReorder: this.enableColumnReorder, enableInlineEdit: this?._mapInfo?.enableInlineEdit, enableShare: this.enableShare, isMobile: this._isPortraitMobile, mapHidden: isTableLayout, mapInfo: this._mapInfo, mapView: this?._mapView, onToggleFilter: this._toggleFilter.bind(this), onlyShowUpdatableLayers: this.onlyShowUpdatableLayers, ref: (el) => this._layerTable = el, shareIncludeEmbed: this.shareIncludeEmbed, shareIncludeSocial: this.shareIncludeSocial, showNewestFirst: this.showNewestFirst, zoomAndScrollToSelected: this.zoomAndScrollToSelected, zoomToScale: this.zoomToScale })), index.h("div", { class: mapClass, id: "full-map-view" })));
515
+ return (index.h("calcite-shell", { class: `${tableSizeClass} border-bottom` }, !this._isMobile ? (index.h("calcite-action-bar", { class: "border-sides", expandDisabled: true, layout: toggleLayout, slot: toggleSlot }, this.getActions(layoutMode, panelOpen))) : undefined, index.h("div", { class: `width-full height-full position-relative z-index-0 ${tableClass}` }, index.h("layer-table", { appLayout: this.appLayout, createFilterModal: false, defaultGlobalId: hasMapAndLayer ? globalId : undefined, defaultLayerId: hasMapAndLayer ? this.defaultLayer : "", defaultOid: hasMapAndLayer && !globalId ? defaultOid : undefined, enableAutoRefresh: this.enableAutoRefresh, enableCSV: this.enableCSV, enableColumnReorder: this.enableColumnReorder, enableInlineEdit: this?._mapInfo?.enableInlineEdit, enableShare: this.enableShare, isMobile: this._isPortraitMobile, locale: this.locale, mapHidden: isTableLayout, mapInfo: this._mapInfo, mapView: this?._mapView, onToggleFilter: this._toggleFilter.bind(this), onlyShowUpdatableLayers: this.onlyShowUpdatableLayers, ref: (el) => this._layerTable = el, shareIncludeEmbed: this.shareIncludeEmbed, shareIncludeSocial: this.shareIncludeSocial, showNewestFirst: this.showNewestFirst, zoomAndScrollToSelected: this.zoomAndScrollToSelected, zoomToScale: this.zoomToScale })), index.h("div", { class: mapClass, id: "full-map-view" })));
517
516
  }
518
517
  /**
519
518
  * Returns the Actions for table's node
@@ -721,7 +720,7 @@ const CrowdsourceManager = class {
721
720
  static get watchers() { return {
722
721
  "appLayout": ["appLayoutWatchHandler"],
723
722
  "enableZoom": ["enableZoomWatchHandler"],
724
- "hideMapOnLoad": ["hideMapOnLoadWatchHandler"]
723
+ "locale": ["localeWatchHandler"]
725
724
  }; }
726
725
  };
727
726
  CrowdsourceManager.style = CrowdsourceManagerStyle0;
@@ -38,6 +38,7 @@ const CrowdsourceReporter = class {
38
38
  this.layerExpressions = [];
39
39
  this.layerId = undefined;
40
40
  this.level = undefined;
41
+ this.locale = undefined;
41
42
  this.loginTitle = undefined;
42
43
  this.mapInfos = [];
43
44
  this.mapView = undefined;
@@ -225,6 +226,14 @@ const CrowdsourceReporter = class {
225
226
  async isMobileWatchHandler() {
226
227
  this.updatePanelState(false, this._showFullPanel);
227
228
  }
229
+ /**
230
+ * Fetch translations when the locale is updated
231
+ */
232
+ async localeWatchHandler() {
233
+ // to support url param and language switcher
234
+ this.el.lang = this.locale;
235
+ await this._getTranslations();
236
+ }
228
237
  /**
229
238
  * Called each time the mapView prop is changed.
230
239
  */
@@ -265,7 +274,7 @@ const CrowdsourceReporter = class {
265
274
  if (this._editableLayerIds) {
266
275
  await this._updateFeatures();
267
276
  setTimeout(() => {
268
- // refresh layer list when user is on layer list panel
277
+ // refresh layer list when user is on layer list panel
269
278
  if (this._flowItems[this._flowItems.length - 1] === "layer-list" && this._layerList) {
270
279
  void this._layerList.refresh();
271
280
  }
@@ -316,7 +325,7 @@ const CrowdsourceReporter = class {
316
325
  */
317
326
  render() {
318
327
  const themeClass = this.theme === "dark" ? "calcite-mode-dark" : "calcite-mode-light";
319
- return (index.h(index.Host, { key: 'c8f50d4d6004a875444a863a9e839442708f732b' }, this._reportSubmitted && index.h("calcite-alert", { key: '5f556d67fd9f04c6277b88c0ad0f774ec9216850', "auto-close": true, class: themeClass + " report-submitted-msg", icon: "check-circle", kind: "success", label: "", onCalciteAlertClose: () => { this._reportSubmitted = false; }, open: true, placement: "top" }, index.h("div", { key: '0204b9967307421fdfeafc61eca006db62f99aab', slot: "message" }, this.reportSubmittedMessage ? this.reportSubmittedMessage : this._translations.submitMsg)), this._featureCreationFailedErrorMsg && index.h("calcite-alert", { key: 'fd21dc9f77fddd3b5a1edcef8f4ac0983018fb97', "auto-close": true, class: themeClass, icon: "x-octagon", kind: "danger", label: "", onCalciteAlertClose: () => { this._featureCreationFailedErrorMsg = ""; }, open: true, placement: "top" }, index.h("div", { key: '3a33593f8c3285d38f651316ea2f4acc148606ec', slot: "title" }, this._translations.error), index.h("div", { key: '588890b6760a7657218282ddff9f3db94b9f73f6', slot: "message" }, this._featureCreationFailedErrorMsg)), this._commentSubmitted && index.h("calcite-alert", { key: 'b999711f77b1f5c94a84b4ca5f80d33a4d352ea2', "auto-close": true, class: 'report-submitted ' + themeClass, icon: "check-circle", kind: "success", label: "", onCalciteAlertClose: () => { this._commentSubmitted = false; }, open: true, placement: "top" }, index.h("div", { key: 'ed7f7b1604d5dcdbf146fdbae108081742806587', slot: "message" }, this.commentSubmittedMessage || this._translations.commentSubmittedMsg)), this._addingCommentFailed && index.h("calcite-alert", { key: '4bbcb945e9cc232ba77b327247b37b4ca420a77c', "auto-close": true, class: themeClass, icon: "x-octagon", kind: "danger", label: "", onCalciteAlertClose: () => { this._addingCommentFailed = false; }, open: true, placement: "top" }, index.h("div", { key: 'b75dad85bd1a793232c99b7d870fc9df9ccc0303', slot: "title" }, this._translations.error), index.h("div", { key: 'f161f78d54beba9ecaeccedd69d8e019c88a48e4', slot: "message" }, this._translations.addingCommentFailedMsg)), index.h("div", { key: '43aea9a8138da6645ee420e9e2abe21a3cbe4c91' }, index.h("calcite-shell", { key: '5fd031aba8feed8d54e3118a7a99a5be8254c89f', "content-behind": true }, this._getReporter()))));
328
+ return (index.h(index.Host, { key: 'fbe7fdc13c462e0fe155107ac784f03b3922d624' }, this._reportSubmitted && index.h("calcite-alert", { key: '9bcf7856ad01e7bc59142a862c50b9d84c443268', "auto-close": true, class: themeClass + " report-submitted-msg", icon: "check-circle", kind: "success", label: "", onCalciteAlertClose: () => { this._reportSubmitted = false; }, open: true, placement: "top" }, index.h("div", { key: '7b81a7c8b3d66159a790ab3d13be9f1b65a6202e', slot: "message" }, this.reportSubmittedMessage ? this.reportSubmittedMessage : this._translations.submitMsg)), this._featureCreationFailedErrorMsg && index.h("calcite-alert", { key: 'ee2f17e3326ef7c60fb2ee06ed313fd28cf7084a', "auto-close": true, class: themeClass, icon: "x-octagon", kind: "danger", label: "", onCalciteAlertClose: () => { this._featureCreationFailedErrorMsg = ""; }, open: true, placement: "top" }, index.h("div", { key: 'b356832ee6d4d16a84cdea0abb6b1c677f9ca1f6', slot: "title" }, this._translations.error), index.h("div", { key: '8aa16df1114b75b6a3e2a76de7fb5c7cbc5d3632', slot: "message" }, this._featureCreationFailedErrorMsg)), this._commentSubmitted && index.h("calcite-alert", { key: 'e99693c23ef18b62daf892fccaacbbfe2486702d', "auto-close": true, class: 'report-submitted ' + themeClass, icon: "check-circle", kind: "success", label: "", onCalciteAlertClose: () => { this._commentSubmitted = false; }, open: true, placement: "top" }, index.h("div", { key: '58ccda0d3782dbe70d346b973b7648f8ae4c8c8f', slot: "message" }, this.commentSubmittedMessage || this._translations.commentSubmittedMsg)), this._addingCommentFailed && index.h("calcite-alert", { key: 'e49e9e3b33df17dd90b3263bec6c17566f6f7b1b', "auto-close": true, class: themeClass, icon: "x-octagon", kind: "danger", label: "", onCalciteAlertClose: () => { this._addingCommentFailed = false; }, open: true, placement: "top" }, index.h("div", { key: 'cfb88dd323ead1398cd73849f68a9c2846ef9d14', slot: "title" }, this._translations.error), index.h("div", { key: 'b27e8983a74c8613e569400b7c7ad0b14d43f323', slot: "message" }, this._translations.addingCommentFailedMsg)), index.h("div", { key: '7ac3d49d6383d2a88e54d91fa00e2c81aa91a890' }, index.h("calcite-shell", { key: '709e673f4e9261b4283c7593926d605c8a049abd', "content-behind": true }, this._getReporter()))));
320
329
  }
321
330
  //--------------------------------------------------------------------------
322
331
  //
@@ -471,7 +480,7 @@ const CrowdsourceReporter = class {
471
480
  */
472
481
  getLayerListFlowItem() {
473
482
  return (index.h("calcite-flow-item", { collapsed: this.isMobile && this._sidePanelCollapsed, heading: this.reportsHeader }, this.isMobile && this.getActionToExpandCollapsePanel(), this._hasValidLayers && this.enableNewReports &&
474
- index.h("calcite-button", { appearance: "solid", onClick: this.navigateToChooseCategory.bind(this), slot: "footer", width: "full" }, this.reportButtonText ? this.reportButtonText : this._translations.createReportButtonText), index.h("calcite-panel", { "full-height": true, "full-width": true }, index.h("layer-list", { applyLayerViewFilter: this.showMyReportsOnly, class: "height-full", layers: this._editableLayerIds?.length > 0 ? this._editableLayerIds : this._layers, mapView: this.mapView, onLayerSelect: this.displayFeaturesList.bind(this), onLayersListLoaded: this.layerListLoaded.bind(this), ref: el => this._layerList = el, showFeatureCount: true, showNextIcon: true }))));
483
+ index.h("calcite-button", { appearance: "solid", onClick: this.navigateToChooseCategory.bind(this), slot: "footer", width: "full" }, this.reportButtonText ? this.reportButtonText : this._translations.createReportButtonText), index.h("calcite-panel", { "full-height": true, "full-width": true }, index.h("layer-list", { applyLayerViewFilter: this.showMyReportsOnly, class: "height-full", layers: this._editableLayerIds?.length > 0 ? this._editableLayerIds : this._layers, locale: this.locale, mapView: this.mapView, onLayerSelect: this.displayFeaturesList.bind(this), onLayersListLoaded: this.layerListLoaded.bind(this), ref: el => this._layerList = el, showFeatureCount: true, showNextIcon: true }))));
475
484
  }
476
485
  /**
477
486
  * Get the layer list for creating a report
@@ -482,7 +491,7 @@ const CrowdsourceReporter = class {
482
491
  const onlyReportingLayers = this.reportingOptions ? Object.keys(this.reportingOptions).filter((layerId) => {
483
492
  return this.reportingOptions[layerId].visible && this.reportingOptions[layerId].reporting && this._layerItemsHash[layerId] && this._layerItemsHash[layerId].supportsAdd;
484
493
  }) : [];
485
- return (index.h("calcite-flow-item", { collapsed: this.isMobile && this._sidePanelCollapsed, heading: this.reportButtonText ? this.reportButtonText : this._translations.createReportButtonText, onCalciteFlowItemBack: this.backFromSelectedPanel.bind(this) }, index.h("calcite-panel", { "full-height": true, "full-width": true }, index.h("div", { class: "progress-bar" }, index.h("calcite-progress", { type: "determinate", value: this._updatedProgressBarStatus })), index.h("calcite-notice", { class: "notice-msg", icon: "lightbulb", kind: "success", open: true }, index.h("div", { slot: "message" }, this._translations.chooseCategoryMsg)), index.h("layer-list", { class: "height-full", layers: onlyReportingLayers, mapView: this.mapView, onLayerSelect: this.navigateToCreateFeature.bind(this), showFeatureCount: false, showNextIcon: false }))));
494
+ return (index.h("calcite-flow-item", { collapsed: this.isMobile && this._sidePanelCollapsed, heading: this.reportButtonText ? this.reportButtonText : this._translations.createReportButtonText, onCalciteFlowItemBack: this.backFromSelectedPanel.bind(this) }, index.h("calcite-panel", { "full-height": true, "full-width": true }, index.h("div", { class: "progress-bar" }, index.h("calcite-progress", { type: "determinate", value: this._updatedProgressBarStatus })), index.h("calcite-notice", { class: "notice-msg", icon: "lightbulb", kind: "success", open: true }, index.h("div", { slot: "message" }, this._translations.chooseCategoryMsg)), index.h("layer-list", { class: "height-full", layers: onlyReportingLayers, locale: this.locale, mapView: this.mapView, onLayerSelect: this.navigateToCreateFeature.bind(this), showFeatureCount: false, showNextIcon: false }))));
486
495
  }
487
496
  /**
488
497
  * Get Feature create form of the selected feature layer
@@ -490,7 +499,7 @@ const CrowdsourceReporter = class {
490
499
  * @protected
491
500
  */
492
501
  getFeatureCreateFlowItem() {
493
- return (index.h("calcite-flow-item", { collapsed: this.isMobile && this._sidePanelCollapsed, heading: this._selectedLayerName, onCalciteFlowItemBack: this.backFromCreateFeaturePanel.bind(this) }, this._showSubmitCancelButton && index.h("div", { class: "width-full", slot: "footer" }, index.h("calcite-button", { appearance: "solid", class: "footer-top-button footer-button", onClick: this.onCreateFeatureSubmitButtonClick.bind(this), width: "full" }, this._translations.submit), index.h("calcite-button", { appearance: "outline", class: "footer-button", onClick: this.backFromCreateFeaturePanel.bind(this), width: "full" }, this._translations.cancel)), index.h("calcite-panel", { "full-height": true, "full-width": true }, index.h("div", { class: "progress-bar" }, index.h("calcite-progress", { type: "determinate", value: this._updatedProgressBarStatus })), index.h("create-feature", { customizeSubmit: true, enableSearch: true, floorLevel: this.floorLevel, formElements: this._formElements.find(elm => elm.id === this._selectedLayerId), isMobile: this.isMobile, mapView: this.mapView, onDrawComplete: this.onFormReady.bind(this), onEditingAttachment: this.showSubmitCancelButton.bind(this), onFail: this.createFeatureFailed.bind(this), onModeChanged: this.backFromCreateFeaturePanel.bind(this), onProgressStatus: this.updatedProgressStatus.bind(this), onSuccess: this.onReportSubmitted.bind(this), ref: el => this._createFeature = el, searchConfiguration: this.searchConfiguration, selectedLayerId: this._selectedLayerId }))));
502
+ return (index.h("calcite-flow-item", { collapsed: this.isMobile && this._sidePanelCollapsed, heading: this._selectedLayerName, onCalciteFlowItemBack: this.backFromCreateFeaturePanel.bind(this) }, this._showSubmitCancelButton && index.h("div", { class: "width-full", slot: "footer" }, index.h("calcite-button", { appearance: "solid", class: "footer-top-button footer-button", onClick: this.onCreateFeatureSubmitButtonClick.bind(this), width: "full" }, this._translations.submit), index.h("calcite-button", { appearance: "outline", class: "footer-button", onClick: this.backFromCreateFeaturePanel.bind(this), width: "full" }, this._translations.cancel)), index.h("calcite-panel", { "full-height": true, "full-width": true }, index.h("div", { class: "progress-bar" }, index.h("calcite-progress", { type: "determinate", value: this._updatedProgressBarStatus })), index.h("create-feature", { customizeSubmit: true, enableSearch: true, floorLevel: this.floorLevel, formElements: this._formElements.find(elm => elm.id === this._selectedLayerId), isMobile: this.isMobile, locale: this.locale, mapView: this.mapView, onDrawComplete: this.onFormReady.bind(this), onEditingAttachment: this.showSubmitCancelButton.bind(this), onFail: this.createFeatureFailed.bind(this), onModeChanged: this.backFromCreateFeaturePanel.bind(this), onProgressStatus: this.updatedProgressStatus.bind(this), onSuccess: this.onReportSubmitted.bind(this), ref: el => this._createFeature = el, searchConfiguration: this.searchConfiguration, selectedLayerId: this._selectedLayerId }))));
494
503
  }
495
504
  /**
496
505
  * Update the progress bar status when editor panel changes
@@ -842,7 +851,7 @@ const CrowdsourceReporter = class {
842
851
  const canCreateReports = this._getLayersConfig(this._selectedLayerId)?.reporting && this._layerItemsHash[this._selectedLayerId].supportsAdd;
843
852
  const showFilterIcon = layerExpressions?.length > 0;
844
853
  return (index.h("calcite-flow-item", { collapsed: this.isMobile && this._sidePanelCollapsed, heading: layerName, loading: this._showLoadingIndicator, onCalciteFlowItemBack: this.backFromSelectedPanel.bind(this) }, this._toggleSort(), index.h("calcite-action", { icon: "sort-ascending-arrow", id: "sort-popover", slot: "header-actions-end", text: this._translations.sort, title: this._translations.sort }), showFilterIcon && index.h("calcite-action", { icon: "filter", indicator: this._filterActive, onClick: () => { this._flowItems = [...this._flowItems, "filter-panel"]; }, slot: "header-actions-end", text: this._translations.filter, title: this._translations.filter }), this.isMobile && this.getActionToExpandCollapsePanel(), this.enableNewReports && canCreateReports &&
845
- index.h("calcite-button", { appearance: "solid", onClick: this.navigateToCreateFeature.bind(this), slot: "footer", width: "full" }, this.reportButtonText ? this.reportButtonText : this._translations.createReportButtonText), index.h("calcite-panel", { "full-height": true }, index.h("feature-list", { applyLayerViewFilter: this.showMyReportsOnly, class: "height-full", highlightOnHover: true, mapView: this.mapView, noFeaturesFoundMsg: this._translations.featureErrorMsg, onFeatureSelect: this.onFeatureSelectFromList.bind(this), pageSize: 30, ref: el => this._featureList = el, reportingOptions: this.reportingOptions, selectedLayerId: layerId, showFeatureSymbol: this.showFeatureSymbol, sortingInfo: this._updatedSorting }))));
854
+ index.h("calcite-button", { appearance: "solid", onClick: this.navigateToCreateFeature.bind(this), slot: "footer", width: "full" }, this.reportButtonText ? this.reportButtonText : this._translations.createReportButtonText), index.h("calcite-panel", { "full-height": true }, index.h("feature-list", { applyLayerViewFilter: this.showMyReportsOnly, class: "height-full", highlightOnHover: true, locale: this.locale, mapView: this.mapView, noFeaturesFoundMsg: this._translations.featureErrorMsg, onFeatureSelect: this.onFeatureSelectFromList.bind(this), pageSize: 30, ref: el => this._featureList = el, reportingOptions: this.reportingOptions, selectedLayerId: layerId, showFeatureSymbol: this.showFeatureSymbol, sortingInfo: this._updatedSorting }))));
846
855
  }
847
856
  /**
848
857
  * Returns the calcite-flow item for filter
@@ -859,7 +868,7 @@ const CrowdsourceReporter = class {
859
868
  */
860
869
  getFeatureDetailsFlowItem() {
861
870
  const showCommentBtn = this._getLayersConfig(this._selectedLayerId)?.comment && this._selectedLayer.relationships.length > 0 && this._relatedTable;
862
- return (index.h("calcite-flow-item", { collapsed: this.isMobile && this._sidePanelCollapsed, heading: this._selectedLayerName, loading: this._showLoadingIndicator, onCalciteFlowItemBack: this.backFromSelectedPanel.bind(this) }, this.isMobile && this.getActionToExpandCollapsePanel(), index.h("instant-apps-social-share", { autoUpdateShareUrl: false, class: "share-node", embed: false, popoverButtonIconScale: "s", ref: el => this._shareNode = el, removePopoverOffset: true, scale: "m", shareButtonColor: "neutral", shareButtonType: "action", slot: "header-actions-end", socialMedia: true, view: this.mapView }), this._selectedFeature.length > 1 && this.getFeaturesPagination(), index.h("calcite-panel", null, index.h("feature-details", { class: 'full-height', graphics: this._selectedFeature, layerItemsHash: this._layerItemsHash, mapView: this.mapView, onAddComment: this.showAddCommentsPanel.bind(this), onCommentSelect: this.onCommentSelectFromList.bind(this), onFeatureSelectionChange: this.selectionChanged.bind(this), onLikeOrDislikeClicked: () => { void this._featureList.refresh(true); }, onLoadingStatus: (evt) => void this.updatingFeatureDetails(evt.detail), ref: el => this._featureDetails = el, reportingOptions: this.reportingOptions, showUserImageInCommentsList: this.showUserImageInCommentsList }), showCommentBtn &&
871
+ return (index.h("calcite-flow-item", { collapsed: this.isMobile && this._sidePanelCollapsed, heading: this._selectedLayerName, loading: this._showLoadingIndicator, onCalciteFlowItemBack: this.backFromSelectedPanel.bind(this) }, this.isMobile && this.getActionToExpandCollapsePanel(), index.h("instant-apps-social-share", { autoUpdateShareUrl: false, class: "share-node", embed: false, popoverButtonIconScale: "s", ref: el => this._shareNode = el, removePopoverOffset: true, scale: "m", shareButtonColor: "neutral", shareButtonType: "action", slot: "header-actions-end", socialMedia: true, view: this.mapView }), this._selectedFeature.length > 1 && this.getFeaturesPagination(), index.h("calcite-panel", null, index.h("feature-details", { class: 'full-height', graphics: this._selectedFeature, layerItemsHash: this._layerItemsHash, locale: this.locale, mapView: this.mapView, onAddComment: this.showAddCommentsPanel.bind(this), onCommentSelect: this.onCommentSelectFromList.bind(this), onFeatureSelectionChange: this.selectionChanged.bind(this), onLikeOrDislikeClicked: () => { void this._featureList.refresh(true); }, onLoadingStatus: (evt) => void this.updatingFeatureDetails(evt.detail), ref: el => this._featureDetails = el, reportingOptions: this.reportingOptions, showUserImageInCommentsList: this.showUserImageInCommentsList }), showCommentBtn &&
863
872
  index.h("calcite-button", { appearance: "solid", onClick: this.showAddCommentsPanel.bind(this), slot: "footer", width: "full" }, this.commentButtonText || this._translations.comment))));
864
873
  }
865
874
  /**
@@ -875,14 +884,14 @@ const CrowdsourceReporter = class {
875
884
  * @returns Node
876
885
  */
877
886
  getCommentDetailsFlowItem() {
878
- return (index.h("calcite-flow-item", { collapsed: this.isMobile && this._sidePanelCollapsed, heading: this._relatedTable.title, onCalciteFlowItemBack: this.backFromSelectedPanel.bind(this) }, this.isMobile && this.getActionToExpandCollapsePanel(), index.h("calcite-panel", { "full-height": true }, index.h("info-card", { allowEditing: false, graphics: this._selectedRelatedFeature, highlightEnabled: false, isLoading: false, isMobile: false, mapView: this.mapView, paginationEnabled: false }))));
887
+ return (index.h("calcite-flow-item", { collapsed: this.isMobile && this._sidePanelCollapsed, heading: this._relatedTable.title, onCalciteFlowItemBack: this.backFromSelectedPanel.bind(this) }, this.isMobile && this.getActionToExpandCollapsePanel(), index.h("calcite-panel", { "full-height": true }, index.h("info-card", { allowEditing: false, graphics: this._selectedRelatedFeature, highlightEnabled: false, isLoading: false, isMobile: false, locale: this.locale, mapView: this.mapView, paginationEnabled: false }))));
879
888
  }
880
889
  /**
881
890
  * Returns the calcite-flow item for add comment
882
891
  * @returns Node
883
892
  */
884
893
  getAddCommentFlowItem() {
885
- return (index.h("calcite-flow-item", { collapsed: this.isMobile && this._sidePanelCollapsed, heading: this._relatedTable.title, onCalciteFlowItemBack: this.backFromCreateRelatedFeaturePanel.bind(this) }, this.isMobile && this.getActionToExpandCollapsePanel(), index.h("div", { class: "width-full", slot: "footer" }, this._showSubmitCancelButton && index.h("div", { class: "width-full", slot: "footer" }, index.h("calcite-button", { appearance: "solid", class: "footer-top-button footer-button", onClick: this.onCreateRelatedFeatureSubmitButtonClick.bind(this), width: "full" }, this._translations.submit), index.h("calcite-button", { appearance: "outline", class: "footer-button", onClick: this.backFromCreateRelatedFeaturePanel.bind(this), width: "full" }, this._translations.cancel))), index.h("calcite-panel", null, index.h("create-related-feature", { customizeSubmit: true, mapView: this.mapView, onFail: this.addCommentFailed.bind(this), onFormReady: this.onFormReady.bind(this), onIsActionPending: this.showSubmitCancelButton.bind(this), onSuccess: this.onCommentSubmitted.bind(this), ref: el => this._createRelatedFeature = el, selectedFeature: this._currentFeature, table: this._relatedTable }))));
894
+ return (index.h("calcite-flow-item", { collapsed: this.isMobile && this._sidePanelCollapsed, heading: this._relatedTable.title, onCalciteFlowItemBack: this.backFromCreateRelatedFeaturePanel.bind(this) }, this.isMobile && this.getActionToExpandCollapsePanel(), index.h("div", { class: "width-full", slot: "footer" }, this._showSubmitCancelButton && index.h("div", { class: "width-full", slot: "footer" }, index.h("calcite-button", { appearance: "solid", class: "footer-top-button footer-button", onClick: this.onCreateRelatedFeatureSubmitButtonClick.bind(this), width: "full" }, this._translations.submit), index.h("calcite-button", { appearance: "outline", class: "footer-button", onClick: this.backFromCreateRelatedFeaturePanel.bind(this), width: "full" }, this._translations.cancel))), index.h("calcite-panel", null, index.h("create-related-feature", { customizeSubmit: true, locale: this.locale, mapView: this.mapView, onFail: this.addCommentFailed.bind(this), onFormReady: this.onFormReady.bind(this), onIsActionPending: this.showSubmitCancelButton.bind(this), onSuccess: this.onCommentSubmitted.bind(this), ref: el => this._createRelatedFeature = el, selectedFeature: this._currentFeature, table: this._relatedTable }))));
886
895
  }
887
896
  /**
888
897
  * Sets the selected features and updates the first feature as the current selected feature
@@ -1229,6 +1238,7 @@ const CrowdsourceReporter = class {
1229
1238
  }
1230
1239
  static get watchers() { return {
1231
1240
  "isMobile": ["isMobileWatchHandler"],
1241
+ "locale": ["localeWatchHandler"],
1232
1242
  "mapView": ["mapViewWatchHandler"],
1233
1243
  "floorLevel": ["floorLevelWatchHandler"],
1234
1244
  "showMyReportsOnly": ["showMyReportsOnlyWatchHandler"]
@@ -80,7 +80,7 @@ const DeductCalculator = class {
80
80
  * Renders the component.
81
81
  */
82
82
  render() {
83
- return (index.h(index.Host, { key: '3053ca7a4e457a5259622c3fd72c04f2f68c21be' }, index.h("div", { key: 'f6d4ffbd6811f4eae23a950afac0fd1c68b24c9d', class: "label-display" }, index.h("calcite-label", { key: 'acaa80f5f10a3343e7e73d9cb33948ae4481e09e', class: "label-display" }, "Density %", this._getDensityInput()), index.h("calcite-label", { key: '577ce996676878f7e7236308a191ea9db073d88e', class: "label-display" }, "Type", this._getTypeInput()), index.h("calcite-label", { key: '626db25056ce49eb7b4160aee3e9cf898dd5400a', class: "label-display" }, "Severity", this._getSeverityInput())), index.h("div", { key: 'fa95eac25a03f7e30770ebc9ac7df02cba8cd187' }, this._getCalculateInput())));
83
+ return (index.h(index.Host, { key: '021786cd4ccb8c826df0822983ba6e0e7fb3c890' }, index.h("div", { key: '6a55996f013e74b3f761c9fd4b141d60d9b0239f', class: "label-display" }, index.h("calcite-label", { key: '54108b452ef18af979148f069f56503db220cc60', class: "label-display" }, "Density %", this._getDensityInput()), index.h("calcite-label", { key: '011af5ed63f169b32905abd809ad0b8c6c21900c', class: "label-display" }, "Type", this._getTypeInput()), index.h("calcite-label", { key: '9f5f04799c26f1911f17bb046abd0b27c8d3ce01', class: "label-display" }, "Severity", this._getSeverityInput())), index.h("div", { key: '8cd00c331e1f1541c43a02b7e6d991ee41d864e6' }, this._getCalculateInput())));
84
84
  }
85
85
  //--------------------------------------------------------------------------
86
86
  //
@@ -32,6 +32,7 @@ const FeatureList = class {
32
32
  this.pageSize = 100;
33
33
  this.highlightOnMap = false;
34
34
  this.highlightOnHover = false;
35
+ this.locale = undefined;
35
36
  this.sortingInfo = undefined;
36
37
  this.whereClause = undefined;
37
38
  this.textSize = "large";
@@ -104,6 +105,14 @@ const FeatureList = class {
104
105
  // Watch handlers
105
106
  //
106
107
  //--------------------------------------------------------------------------
108
+ /**
109
+ * Fetch translations when the locale is updated
110
+ */
111
+ async localeWatchHandler() {
112
+ // to support url param and language switcher
113
+ this.el.lang = this.locale;
114
+ await this._getTranslations();
115
+ }
107
116
  /**
108
117
  * Watch for selectedLayerId change and update layer instance and features list for new layerId
109
118
  */
@@ -183,9 +192,9 @@ const FeatureList = class {
183
192
  * Renders the component.
184
193
  */
185
194
  render() {
186
- return (index.h("calcite-panel", { key: '59289a87561105e3edcbd52bac96b974b1387a16', "full-height": true, "full-width": true }, this._isLoading && index.h("calcite-loader", { key: '59629285e49227209761d2f16bdd62a90750538f', label: "", scale: "m" }), this.showErrorWhenNoFeatures && this._featureItems.length === 0 && !this._isLoading &&
187
- index.h("calcite-notice", { key: 'bc6c2e6e0fdf959374caf79f2027784e2fdaca15', class: "error-msg", icon: "feature-details", kind: "info", open: true }, index.h("div", { key: '052207ce0b0e2d8030ac7a4a7985c718371a9667', slot: "message" }, this.noFeaturesFoundMsg ? this.noFeaturesFoundMsg : this._translations.featureErrorMsg)), index.h("calcite-list", { key: '3f17ea85f2265717aa13c9c71f19c259470c9fcc', "selection-appearance": "border", "selection-mode": "none" }, !this._isLoading && this._featureItems.length > 0 && this._featureItems), this._featuresCount > this.pageSize &&
188
- index.h("div", { key: 'ce3179bcdc7af254488dea909034c58db17ec565', class: "width-full", slot: "footer" }, index.h("calcite-pagination", { key: 'd6a4b8c7a940918388b3b9891a666c4a142edae7', class: "pagination", "full-width": true, onCalcitePaginationChange: this.pageChanged.bind(this), "page-size": this.pageSize, ref: el => this._pagination = el, "start-item": "1", "total-items": this._featuresCount }))));
195
+ return (index.h("calcite-panel", { key: '6b6214a3dba7df7c2035203750d547945407ecde', "full-height": true, "full-width": true }, this._isLoading && index.h("calcite-loader", { key: '1b05d96de0b4d396b13f448311db76315e28b81b', label: "", scale: "m" }), this.showErrorWhenNoFeatures && this._featureItems.length === 0 && !this._isLoading &&
196
+ index.h("calcite-notice", { key: 'abe755f0bc5c7ff064249159c3154c9ca1c27594', class: "error-msg", icon: "feature-details", kind: "info", open: true }, index.h("div", { key: '5a8ead1d47151cf088ae9e359052cf35129b09d3', slot: "message" }, this.noFeaturesFoundMsg ? this.noFeaturesFoundMsg : this._translations.featureErrorMsg)), index.h("calcite-list", { key: 'feb2f2fff276ad49d38ed35dbca41d1878f5e7a3', "selection-appearance": "border", "selection-mode": "none" }, !this._isLoading && this._featureItems.length > 0 && this._featureItems), this._featuresCount > this.pageSize &&
197
+ index.h("div", { key: 'e396ddcc3d43ae025d9bdb2cd021a2031606211d', class: "width-full", slot: "footer" }, index.h("calcite-pagination", { key: '0c3c5bddc7ad418ab15136f0267a429cc0f4ef21', class: "pagination", "full-width": true, onCalcitePaginationChange: this.pageChanged.bind(this), "page-size": this.pageSize, ref: el => this._pagination = el, "start-item": "1", "total-items": this._featuresCount }))));
189
198
  }
190
199
  //--------------------------------------------------------------------------
191
200
  //
@@ -493,6 +502,7 @@ const FeatureList = class {
493
502
  this._translations = messages[0];
494
503
  }
495
504
  static get watchers() { return {
505
+ "locale": ["localeWatchHandler"],
496
506
  "selectedLayerId": ["selectedLayerWatchHandler"],
497
507
  "sortingInfo": ["sortingInfoWatchHandler"],
498
508
  "whereClause": ["whereClauseHandler"]