@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
@@ -139,6 +139,14 @@ export class PublicNotification {
139
139
  // Watch handlers
140
140
  //
141
141
  //--------------------------------------------------------------------------
142
+ /**
143
+ * Fetch translations when the locale is updated
144
+ */
145
+ async localeWatchHandler() {
146
+ // to support url param and language switcher
147
+ this.el.lang = this.locale;
148
+ await this._getTranslations();
149
+ }
142
150
  /**
143
151
  * Called each time the mapView prop is changed.
144
152
  */
@@ -265,7 +273,7 @@ export class PublicNotification {
265
273
  */
266
274
  render() {
267
275
  const headerSlot = this._isMobile ? "footer" : "header";
268
- return (h(Host, { key: '8b22f6b45144705e9ff5b230ca8075f68985165b' }, h("calcite-shell", { key: '774731e643edb5b52bf565349fdfe58dae1e845e' }, h("calcite-action-bar", { key: '5e3bcc6ba2f53d25ee2bd972ce67108c0ab808f4', class: "border-bottom-1 action-bar-size", "expand-disabled": true, layout: "horizontal", slot: headerSlot }, this._getActionGroup("list-check", EPageType.LIST, this._translations.myLists), this.showRefineSelection ? this._getActionGroup("test-data", EPageType.REFINE, this._translations.refineSelection) : null, this._getActionGroup("export", EPageType.EXPORT, this._translations.export)), this._getPage(this._pageType))));
276
+ return (h(Host, { key: '1955aa1e3791004b62c7d6d51fbd7dabacbe6cc6' }, h("calcite-shell", { key: '5d269f036d96fd8364dab1dcf1c820e5516c6236' }, h("calcite-action-bar", { key: '1ab0388a35fccbe9b293279a61384e30065b193d', class: "border-bottom-1 action-bar-size", "expand-disabled": true, layout: "horizontal", slot: headerSlot }, this._getActionGroup("list-check", EPageType.LIST, this._translations.myLists), this.showRefineSelection ? this._getActionGroup("test-data", EPageType.REFINE, this._translations.refineSelection) : null, this._getActionGroup("export", EPageType.EXPORT, this._translations.export)), this._getPage(this._pageType))));
269
277
  }
270
278
  /**
271
279
  * StencilJS: Called once just after the component is first loaded.
@@ -635,7 +643,7 @@ export class PublicNotification {
635
643
  const graphicsOptionsClass = this._addMap ? "display-flex" : "display-none";
636
644
  const title = this._titleValue ? this._titleValue : this.defaultExportTitle ? this.defaultExportTitle : "";
637
645
  const formatOptionsClass = this._addResults ? "" : "display-none";
638
- return (h("div", { class: displayClass }, this._getLabel(this._translations.pdfOptions, true), h("div", { class: "padding-top-sides-1" }, h("calcite-label", { class: "label-margin-0", layout: "inline" }, h("calcite-checkbox", { checked: this._addResults, onCalciteCheckboxChange: () => this._addResults = !this._addResults }), this._translations.addResults)), h("div", { class: `padding-top-sides-1 ${formatOptionsClass}` }, h("calcite-label", { class: "label-margin-0" }, this._translations.selectPDFLabelOption)), h("div", { class: `padding-sides-1 ${formatOptionsClass}` }, h("pdf-download", { defaultNumLabelsPerPage: parseInt(this.defaultNumLabelsPerPage.toString(), 10), disabled: !this._downloadActive, ref: (el) => { this._downloadTools = el; } })), h("div", { class: "padding-top-sides-1" }, h("calcite-label", { class: "label-margin-0", layout: "inline" }, h("calcite-checkbox", { checked: this._addTitle, onCalciteCheckboxChange: () => this._addTitle = !this._addTitle }), this._translations.title)), h("div", { class: titleOptionsClass }, this._getLabel(this._translations.title, true, ""), h("calcite-input-text", { class: "padding-sides-1", onCalciteInputTextInput: () => this._changeTitle(), placeholder: this._translations.titlePlaceholder, ref: (el) => { this._titleElement = el; }, value: title })), h("div", { class: "padding-top-sides-1" }, h("calcite-label", { class: "label-margin-0", layout: "inline" }, h("calcite-checkbox", { checked: this._addMap, onCalciteCheckboxChange: () => this._handleAddMapChange() }), this._translations.includeMap)), h("div", { class: `padding-top-sides-1 ${graphicsOptionsClass}` }, h("calcite-label", { class: "label-margin-0", layout: "inline" }, h("calcite-checkbox", { checked: this._exportGraphics, onCalciteCheckboxChange: () => this._handleExportGraphicsChange() }), this._translations.listGraphics), h("calcite-icon", { class: "padding-start-1-2 icon", flipRtl: !(this.locale?.toLowerCase() === "he"), icon: "question", id: "list-graphics-icon", scale: "s" }), h("calcite-popover", { closable: true, label: "", referenceElement: "list-graphics-icon" }, h("span", { class: "tooltip-message" }, this._translations.listGraphicsTip)))));
646
+ return (h("div", { class: displayClass }, this._getLabel(this._translations.pdfOptions, true), h("div", { class: "padding-top-sides-1" }, h("calcite-label", { class: "label-margin-0", layout: "inline" }, h("calcite-checkbox", { checked: this._addResults, onCalciteCheckboxChange: () => this._addResults = !this._addResults }), this._translations.addResults)), h("div", { class: `padding-top-sides-1 ${formatOptionsClass}` }, h("calcite-label", { class: "label-margin-0" }, this._translations.selectPDFLabelOption)), h("div", { class: `padding-sides-1 ${formatOptionsClass}` }, h("pdf-download", { defaultNumLabelsPerPage: parseInt(this.defaultNumLabelsPerPage.toString(), 10), disabled: !this._downloadActive, locale: this.locale, ref: (el) => { this._downloadTools = el; } })), h("div", { class: "padding-top-sides-1" }, h("calcite-label", { class: "label-margin-0", layout: "inline" }, h("calcite-checkbox", { checked: this._addTitle, onCalciteCheckboxChange: () => this._addTitle = !this._addTitle }), this._translations.title)), h("div", { class: titleOptionsClass }, this._getLabel(this._translations.title, true, ""), h("calcite-input-text", { class: "padding-sides-1", onCalciteInputTextInput: () => this._changeTitle(), placeholder: this._translations.titlePlaceholder, ref: (el) => { this._titleElement = el; }, value: title })), h("div", { class: "padding-top-sides-1" }, h("calcite-label", { class: "label-margin-0", layout: "inline" }, h("calcite-checkbox", { checked: this._addMap, onCalciteCheckboxChange: () => this._handleAddMapChange() }), this._translations.includeMap)), h("div", { class: `padding-top-sides-1 ${graphicsOptionsClass}` }, h("calcite-label", { class: "label-margin-0", layout: "inline" }, h("calcite-checkbox", { checked: this._exportGraphics, onCalciteCheckboxChange: () => this._handleExportGraphicsChange() }), this._translations.listGraphics), h("calcite-icon", { class: "padding-start-1-2 icon", flipRtl: !(this.locale?.toLowerCase() === "he"), icon: "question", id: "list-graphics-icon", scale: "s" }), h("calcite-popover", { closable: true, label: "", referenceElement: "list-graphics-icon" }, h("span", { class: "tooltip-message" }, this._translations.listGraphicsTip)))));
639
647
  }
640
648
  /**
641
649
  * Toggle the _addMap state variable and update the graphics on the map
@@ -1586,6 +1594,9 @@ export class PublicNotification {
1586
1594
  static get elementRef() { return "el"; }
1587
1595
  static get watchers() {
1588
1596
  return [{
1597
+ "propName": "locale",
1598
+ "methodName": "localeWatchHandler"
1599
+ }, {
1589
1600
  "propName": "mapView",
1590
1601
  "methodName": "mapViewWatchHandler"
1591
1602
  }, {
@@ -82,6 +82,14 @@ export class RefineSelection {
82
82
  // Watch handlers
83
83
  //
84
84
  //--------------------------------------------------------------------------
85
+ /**
86
+ * Fetch translations when the locale is updated
87
+ */
88
+ async localeWatchHandler() {
89
+ // to support url param and language switcher
90
+ this.el.lang = this.locale;
91
+ await this._getTranslations();
92
+ }
85
93
  //--------------------------------------------------------------------------
86
94
  //
87
95
  // Methods (public)
@@ -119,7 +127,7 @@ export class RefineSelection {
119
127
  */
120
128
  render() {
121
129
  const layerPickerClass = this._enabledLayerIds.length > 1 ? "display-block" : "display-none";
122
- return (h(Host, { key: 'b7322ad26466e7c710b08b1cd10edf3e82d18603' }, h("div", { key: '05289c139685611149306ade3b9217c374bf54e7', class: layerPickerClass + " padding-top-sides-1" }, h("div", { key: 'a24e1b1ffb921bb493fb4c0e06b455e564077ad2', class: "display-flex" }, h("calcite-label", { key: 'a6e25d7f0ad1a3aab589bd4731a1fbea87b08b5b', class: "font-bold width-full label-margin-0" }, h("div", { key: 'd1850cec01ff43a81dfe5d71dc0b88f4fb4de147', class: "display-flex" }, this._translations.inputLayer, h("calcite-icon", { key: 'ed94bff762eb431bef9207c1db6b9dd5f56d7132', class: "padding-start-1-2 icon", flipRtl: !(this.locale?.toLowerCase() === "he"), icon: "question", id: "refine-input-layer", scale: "s" })), h("map-layer-picker", { key: '5da6c655606a2b1ad4f723c13d0b2c5a50464029', enabledLayerIds: this._enabledLayerIds, mapView: this.mapView, onLayerSelectionChange: (evt) => { void this._layerSelectionChange(evt); }, ref: (el) => { this._layerPicker = el; }, selectedIds: [this._refineLayer.layer.id], showTables: false })), h("calcite-popover", { key: '3bfe937cd5d2c8cc9a2e1b5628a86bc44b529963', closable: true, label: "", referenceElement: "refine-input-layer" }, h("span", { key: 'cc46053c7494631c07521857e90ae83dc3f440cc', class: "tooltip-message" }, this._translations.inputLayerTip)))), h("div", { key: '4ceced950b73cc06d28cac4f76d52126249bdbbd', class: "padding-1" }, h("div", { key: '5084d664578acd35c550c57d8c7a27cf97f06332', class: "padding-bottom-1" }, h("calcite-segmented-control", { key: '965f42a4b3b3c19401681be1f86ab41dcc58a24a', class: "w-100", width: "full" }, h("calcite-segmented-control-item", { key: 'dad9b9c04c8fcdda7d5cad7c044fb592b6f740bf', checked: this._addEnabled, class: "w-50 word-wrap-anywhere", onClick: () => this._setSelectionMode(ESelectionMode.ADD), value: ESelectionMode.ADD }, h("span", { key: '0cf895d959f14966736b22d4652f406c75af5c0e', class: "font-weight-500" }, this._translations.add)), h("calcite-segmented-control-item", { key: '6f0c8158159215d5a0929deb62c97db5058545a3', checked: !this._addEnabled, class: "w-50 word-wrap-anywhere", onClick: () => this._setSelectionMode(ESelectionMode.REMOVE), value: ESelectionMode.REMOVE }, h("span", { key: '77c66ccd25105c2be67178303d0652a90fa97e35', class: "font-weight-500" }, this._translations.remove)))), h("div", { key: '0e409d21bda555363c9a0e870cba3e2f9556bcbb' }, h("map-draw-tools", { key: 'd84888210ce4c31442a523dc5976fee6bd246b9c', active: true, drawMode: EDrawMode.REFINE, mapView: this.mapView, onDrawRedo: () => this._redo(), onDrawUndo: () => this._undo(), onSketchGraphicsChange: (evt) => this._sketchGraphicsChanged(evt), pointSymbol: this.sketchPointSymbol, polygonSymbol: this.sketchPolygonSymbol, polylineSymbol: this.sketchLineSymbol, redoEnabled: this._refineSelectionSet?.redoStack.length > 0, ref: (el) => { this._drawTools = el; }, undoEnabled: this._refineSelectionSet?.undoStack.length > 0 })), h("br", { key: 'b66849ca294e717352e34ac647f69bef36ba9755' }), (h("calcite-list", { key: '8e13006094c5b9d5d63d467d5938e95d00e42ded', class: "list-border" }, this._getRefineSelectionSetList())))));
130
+ return (h(Host, { key: 'aea4bdb40d20a647b85507b5562066e9fc95643f' }, h("div", { key: 'ad152ef9fa550ad3e83bf0ee2faf228e74a0a593', class: layerPickerClass + " padding-top-sides-1" }, h("div", { key: '1d2d473ee3e272312d79a6e1e6a846e7f8930089', class: "display-flex" }, h("calcite-label", { key: 'c07ac179cd5a5f9e70ee9a4810a3b12e9db73bab', class: "font-bold width-full label-margin-0" }, h("div", { key: '191e9f753435bffd21d54902de08082e08499e9c', class: "display-flex" }, this._translations.inputLayer, h("calcite-icon", { key: '01a26439262b491a078616eec53d2e54f0429233', class: "padding-start-1-2 icon", flipRtl: !(this.locale?.toLowerCase() === "he"), icon: "question", id: "refine-input-layer", scale: "s" })), h("map-layer-picker", { key: 'a24e473d2070cd167cf85b8d3dc1f1f548474b01', enabledLayerIds: this._enabledLayerIds, locale: this.locale, mapView: this.mapView, onLayerSelectionChange: (evt) => { void this._layerSelectionChange(evt); }, ref: (el) => { this._layerPicker = el; }, selectedIds: [this._refineLayer.layer.id], showTables: false })), h("calcite-popover", { key: '2b4612d32edcefe4cf7ab065e95dfac73d1a9f81', closable: true, label: "", referenceElement: "refine-input-layer" }, h("span", { key: '71623db558c11b7a7396b087f8d1bf9fadf4659d', class: "tooltip-message" }, this._translations.inputLayerTip)))), h("div", { key: 'c4e56c481333d8a7b287491409e2c0b25ea15fea', class: "padding-1" }, h("div", { key: '74086721141642031d93a9f4d8302f4fe684c4f8', class: "padding-bottom-1" }, h("calcite-segmented-control", { key: '3c241f48f3b382ea604b4077293ea672fb311b4d', class: "w-100", width: "full" }, h("calcite-segmented-control-item", { key: '99f0f4347964b29cb48e73071d7281d8126882a1', checked: this._addEnabled, class: "w-50 word-wrap-anywhere", onClick: () => this._setSelectionMode(ESelectionMode.ADD), value: ESelectionMode.ADD }, h("span", { key: '9317ad71a269261a59e979e138cbfd79d1e45b83', class: "font-weight-500" }, this._translations.add)), h("calcite-segmented-control-item", { key: 'fa21de5631e146fe231007bb558d3c42bb32b357', checked: !this._addEnabled, class: "w-50 word-wrap-anywhere", onClick: () => this._setSelectionMode(ESelectionMode.REMOVE), value: ESelectionMode.REMOVE }, h("span", { key: 'd89f90bd419f5587a66fb969db4c8164b6e7d5f8', class: "font-weight-500" }, this._translations.remove)))), h("div", { key: 'c9571fea587e25180e95cecc365ac6fe5f25e2d0' }, h("map-draw-tools", { key: 'bfe77a85d478119982581c3c6abc72c61ec7bf38', active: true, drawMode: EDrawMode.REFINE, locale: this.locale, mapView: this.mapView, onDrawRedo: () => this._redo(), onDrawUndo: () => this._undo(), onSketchGraphicsChange: (evt) => this._sketchGraphicsChanged(evt), pointSymbol: this.sketchPointSymbol, polygonSymbol: this.sketchPolygonSymbol, polylineSymbol: this.sketchLineSymbol, redoEnabled: this._refineSelectionSet?.redoStack.length > 0, ref: (el) => { this._drawTools = el; }, undoEnabled: this._refineSelectionSet?.undoStack.length > 0 })), h("br", { key: '6333b619eeac52d5f8589bf006fbaa8baede51ff' }), (h("calcite-list", { key: '3909880545b784c7401f24ead3039b1b7947b699', class: "list-border" }, this._getRefineSelectionSetList())))));
123
131
  }
124
132
  //--------------------------------------------------------------------------
125
133
  //
@@ -660,4 +668,10 @@ export class RefineSelection {
660
668
  }];
661
669
  }
662
670
  static get elementRef() { return "el"; }
671
+ static get watchers() {
672
+ return [{
673
+ "propName": "locale",
674
+ "methodName": "localeWatchHandler"
675
+ }];
676
+ }
663
677
  }
@@ -62,7 +62,7 @@ export class ShareItem {
62
62
  //
63
63
  //--------------------------------------------------------------------------
64
64
  render() {
65
- return (h(Host, { key: 'f75bf37744be419135dc159befbf2abed84855dc' }, h("slot", { key: '7607ea33ff10e828c2f2f7e2d3d360491ca2e482' })));
65
+ return (h(Host, { key: 'a8d200d4f119571b482fa8c9f87d759458157fe3' }, h("slot", { key: 'fcac9d578b04a4330016dfbb09c0a38735d7f2e7' })));
66
66
  }
67
67
  static get is() { return "share-item"; }
68
68
  static get encapsulation() { return "shadow"; }
@@ -39,11 +39,25 @@ export class SolutionConfiguration {
39
39
  }
40
40
  //--------------------------------------------------------------------------
41
41
  //
42
+ // Watch handlers
43
+ //
44
+ //--------------------------------------------------------------------------
45
+ /**
46
+ * Fetch translations when the locale is updated
47
+ */
48
+ async localeWatchHandler() {
49
+ // to support url param and language switcher
50
+ this.el.lang = this.locale;
51
+ await this._getTranslations();
52
+ }
53
+ //--------------------------------------------------------------------------
54
+ //
42
55
  // Lifecycle
43
56
  //
44
57
  //--------------------------------------------------------------------------
45
58
  constructor() {
46
59
  this.authentication = new UserSession({});
60
+ this.locale = undefined;
47
61
  this.serializedAuthentication = "";
48
62
  this.solutionItemId = "";
49
63
  this.showLoading = false;
@@ -86,12 +100,12 @@ export class SolutionConfiguration {
86
100
  const solutionData = state.getStoreInfo("solutionData");
87
101
  this._solutionVariables = JSON.stringify(utils.getSolutionVariables(solutionData.templates, this._translations));
88
102
  this._organizationVariables = JSON.stringify(utils.getOrganizationVariables(this._translations));
89
- return (h(Host, { key: '08cdec33157c18874228bb7bcda82fd901945d02' }, !this._solutionIsLoaded
103
+ return (h(Host, { key: 'd80cc0f64b56dd3a8c09d6e024e069d24c12293d' }, !this._solutionIsLoaded
90
104
  ? h("calcite-loader", { label: '' })
91
- : null, h("div", { key: 'd0879082066b862e136e13986c4794d33f454b72', class: "configuration-container" }, h("div", { key: '499fb11ca6715151d6099aa24cfc0a7514c0fa84', class: "configuration" }, h("calcite-tabs", { key: '3376e20f7d1145f6c0afb4e888f55c93e971c2b2', class: "config-tabs" }, h("calcite-tab-nav", { key: 'f35ab50ff86a62b7ba6c96c23a2541622555bdf5', slot: "tab-nav" }, h("calcite-tab-title", { key: '1ee9c1381b78a8f644c1b830a86c9b5a531f6f72' }, this._translations.definitionTab), hasServices ?
105
+ : null, h("div", { key: 'f24cf4b573829ccd47e7d3a7751724d08e132415', class: "configuration-container" }, h("div", { key: 'd64771a9775435e9eb5ed9aeb52449c363486376', class: "configuration" }, h("calcite-tabs", { key: 'a8aab9934676aee18425a67fbd599887c4d87f36', class: "config-tabs" }, h("calcite-tab-nav", { key: '69cbb95f6a50d9886ab97b8f3c05a00ea51b937a', slot: "tab-nav" }, h("calcite-tab-title", { key: '911bb46f0bb14981347b1d30a30ef3451184f987' }, this._translations.definitionTab), hasServices ?
92
106
  h("calcite-tab-title", null, this._translations.spatialReferenceTab) :
93
- null), h("calcite-tab", { key: '0a7df1b0a81334da90d2d04a7f7867d529aaa55d', class: "config-tab", selected: true }, h("div", { key: '024773d4bd5fcf8c83af8a7a07b0193231bb2e24', class: "config-solution" }, h("div", { key: '37cea9d9565b489357aaf1c11c6fb5f7d2746cfd', class: this._treeOpen ? "config-inventory" : "config-inventory-hide" }, h("solution-contents", { id: "configInventory", key: `${this.solutionItemId}-contents`, ref: (el) => (this._solutionContentsComponent = el) })), h("calcite-button", { key: '140bcd46e2c4ca519311ae4d9ea62a5f9ac36c29', appearance: "transparent", class: "collapse-btn", "icon-start": this._treeOpen ? "chevrons-left" : "chevrons-right", id: "collapse-vars", onClick: () => this._toggleTree(), scale: "s", title: this._treeOpen ? this._translations.collapse : this._translations.expand }), h("div", { key: 'c727ebda3f2efe5dd85a5e3b3b1625b1ff56769e', class: "config-item" }, h("solution-item", { authentication: this.authentication, "item-id": this._currentEditItemId, key: `${this.solutionItemId}-item`, "organization-variables": this._organizationVariables, "solution-item-id": this.solutionItemId, "solution-variables": this._solutionVariables })))), hasServices
94
- ? h("calcite-tab", { class: "config-tab" }, h("div", { class: "config-solution" }, h("solution-spatial-ref", { enableDefault: !!spatialReferenceInfo.default, enabled: spatialReferenceInfo?.enabled, featureServices: state.getStoreInfo("featureServices").map(fs => fs.name), id: "configure-solution-spatial-ref", key: `${this.solutionItemId}-spatial-ref` })))
107
+ null), h("calcite-tab", { key: 'db3f2b1102a7e47183904c2c17dededdfba7f863', class: "config-tab", selected: true }, h("div", { key: '7e7651392f73499e9454ccd2b5ed335d63d02db6', class: "config-solution" }, h("div", { key: '36d895fadc1e6509a16537a4628d51dd9f7153eb', class: this._treeOpen ? "config-inventory" : "config-inventory-hide" }, h("solution-contents", { id: "configInventory", key: `${this.solutionItemId}-contents`, ref: (el) => (this._solutionContentsComponent = el) })), h("calcite-button", { key: 'aa965867d04aebd46dbaae4ddd34f655dc77dd40', appearance: "transparent", class: "collapse-btn", "icon-start": this._treeOpen ? "chevrons-left" : "chevrons-right", id: "collapse-vars", onClick: () => this._toggleTree(), scale: "s", title: this._treeOpen ? this._translations.collapse : this._translations.expand }), h("div", { key: 'a02de6d666c1017f7d3ad08878ecc381d01e4632', class: "config-item" }, h("solution-item", { authentication: this.authentication, "item-id": this._currentEditItemId, key: `${this.solutionItemId}-item`, locale: this.locale, "organization-variables": this._organizationVariables, "solution-item-id": this.solutionItemId, "solution-variables": this._solutionVariables })))), hasServices
108
+ ? h("calcite-tab", { class: "config-tab" }, h("div", { class: "config-solution" }, h("solution-spatial-ref", { enableDefault: !!spatialReferenceInfo.default, enabled: spatialReferenceInfo?.enabled, featureServices: state.getStoreInfo("featureServices").map(fs => fs.name), id: "configure-solution-spatial-ref", key: `${this.solutionItemId}-spatial-ref`, locale: this.locale })))
95
109
  : null)))));
96
110
  }
97
111
  _solutionStoreHasChanges = false;
@@ -601,6 +615,23 @@ export class SolutionConfiguration {
601
615
  },
602
616
  "defaultValue": "new UserSession({})"
603
617
  },
618
+ "locale": {
619
+ "type": "string",
620
+ "mutable": false,
621
+ "complexType": {
622
+ "original": "string",
623
+ "resolved": "string",
624
+ "references": {}
625
+ },
626
+ "required": false,
627
+ "optional": false,
628
+ "docs": {
629
+ "tags": [],
630
+ "text": "string: Locale to use for translation of stings in the UI"
631
+ },
632
+ "attribute": "locale",
633
+ "reflect": false
634
+ },
604
635
  "serializedAuthentication": {
605
636
  "type": "string",
606
637
  "mutable": true,
@@ -737,6 +768,9 @@ export class SolutionConfiguration {
737
768
  }, {
738
769
  "propName": "solutionItemId",
739
770
  "methodName": "valueWatchHandler"
771
+ }, {
772
+ "propName": "locale",
773
+ "methodName": "localeWatchHandler"
740
774
  }];
741
775
  }
742
776
  static get listeners() {
@@ -48,7 +48,7 @@ export class SolutionContents {
48
48
  * Renders the component.
49
49
  */
50
50
  render() {
51
- return (h(Host, { key: '756612330eb4802d2c00f86270518a22f129a559' }, h("calcite-tree", { key: 'ec6e7901373c3f3daa54ad0825fbc703034631d6' }, this.renderHierarchy(this.templateHierarchy))));
51
+ return (h(Host, { key: '98ca82042eb168779c0c373c9bf5136ae620ff70' }, h("calcite-tree", { key: 'c1c634c98e1a69c88c118a8f61036e04ea1b6b42' }, this.renderHierarchy(this.templateHierarchy))));
52
52
  }
53
53
  renderHierarchy(objs) {
54
54
  return objs.map((obj) => {
@@ -26,6 +26,7 @@ export class SolutionItem {
26
26
  constructor() {
27
27
  this.authentication = undefined;
28
28
  this.itemId = "";
29
+ this.locale = undefined;
29
30
  this.solutionVariables = "";
30
31
  this.organizationVariables = "";
31
32
  this.itemType = undefined;
@@ -43,6 +44,19 @@ export class SolutionItem {
43
44
  }
44
45
  //--------------------------------------------------------------------------
45
46
  //
47
+ // Watch handlers
48
+ //
49
+ //--------------------------------------------------------------------------
50
+ /**
51
+ * Fetch translations when the locale is updated
52
+ */
53
+ async localeWatchHandler() {
54
+ // to support url param and language switcher
55
+ this.el.lang = this.locale;
56
+ await this._getTranslations();
57
+ }
58
+ //--------------------------------------------------------------------------
59
+ //
46
60
  // Lifecycle
47
61
  //
48
62
  //--------------------------------------------------------------------------
@@ -56,7 +70,7 @@ export class SolutionItem {
56
70
  * Renders the component.
57
71
  */
58
72
  render() {
59
- return (h(Host, { key: '25113cc21fc2c6ffa30daff180f2ee95bfb1c619' }, h("div", { key: '30c87a13e5fe1c39a521401cb3d63677f412629b', class: "configuration-container" }, h("div", { key: '41f787b8c0964c3aa5b6d629ca73aa271edef540', class: "configuration" }, this._showGroupTabs(this.itemType === "Group"), this._showItemTabs(this.itemType !== "Group")))));
73
+ return (h(Host, { key: '3fe864ad8d8bcf7bc276feafc60ce7e9fd7e803b' }, h("div", { key: '90f327cc0736d8c9c13bf8b65d69e3835b4dae7b', class: "configuration-container" }, h("div", { key: '10536f9927ba2b5745f1b5ae3b154a3aac902d47', class: "configuration" }, this._showGroupTabs(this.itemType === "Group"), this._showItemTabs(this.itemType !== "Group")))));
60
74
  }
61
75
  //--------------------------------------------------------------------------
62
76
  //
@@ -84,7 +98,7 @@ export class SolutionItem {
84
98
  * @param visible Should the current tab be visible
85
99
  */
86
100
  _showGroupTabs(visible) {
87
- return h("calcite-tabs", { class: "config-tabs", style: { display: visible ? "inherit" : "none" } }, h("calcite-tab-nav", { slot: "tab-nav" }, h("calcite-tab-title", null, this._translations.groupDetailsTab), h("calcite-tab-title", null, this._translations.sharingTab)), h("calcite-tab", { class: "config-tab", id: "group-tab", selected: true }, h("solution-item-details", { "item-id": this.itemId })), h("calcite-tab", { class: "config-tab", id: "share-tab" }, h("solution-item-sharing", { "group-id": this.itemId })));
101
+ return h("calcite-tabs", { class: "config-tabs", style: { display: visible ? "inherit" : "none" } }, h("calcite-tab-nav", { slot: "tab-nav" }, h("calcite-tab-title", null, this._translations.groupDetailsTab), h("calcite-tab-title", null, this._translations.sharingTab)), h("calcite-tab", { class: "config-tab", id: "group-tab", selected: true }, h("solution-item-details", { "item-id": this.itemId, locale: this.locale })), h("calcite-tab", { class: "config-tab", id: "share-tab" }, h("solution-item-sharing", { "group-id": this.itemId, locale: this.locale })));
88
102
  }
89
103
  /**
90
104
  * Render tabs based for an items details, data, and props section from a template
@@ -92,7 +106,7 @@ export class SolutionItem {
92
106
  * @param visible Should the current tab be visible
93
107
  */
94
108
  _showItemTabs(visible) {
95
- return h("calcite-tabs", { class: "config-tabs", style: { display: visible ? "inherit" : "none" } }, h("calcite-tab-nav", { slot: "tab-nav" }, h("calcite-tab-title", null, this._translations.itemDetailsTab), h("calcite-tab-title", null, this._translations.dataTab), h("calcite-tab-title", null, this._translations.propertiesTab), h("calcite-tab-title", null, this._translations.resourcesTab)), h("calcite-tab", { class: "config-tab", selected: true }, h("solution-item-details", { "item-id": this.itemId })), h("calcite-tab", { class: "config-tab", id: "data-tab" }, h("solution-template-data", { instanceid: "data", "item-id": this.itemId, "organization-variables": this.organizationVariables, "solution-variables": this.solutionVariables })), h("calcite-tab", { class: "config-tab", id: "props-tab" }, h("solution-template-data", { instanceid: "properties", "item-id": this.itemId, "organization-variables": this.organizationVariables, "solution-variables": this.solutionVariables })), h("calcite-tab", { class: "config-tab", id: "resources-tab" }, h("solution-resource-item", { authentication: this.authentication, class: "solutions-resource-container", "item-id": this.itemId })));
109
+ return h("calcite-tabs", { class: "config-tabs", style: { display: visible ? "inherit" : "none" } }, h("calcite-tab-nav", { slot: "tab-nav" }, h("calcite-tab-title", null, this._translations.itemDetailsTab), h("calcite-tab-title", null, this._translations.dataTab), h("calcite-tab-title", null, this._translations.propertiesTab), h("calcite-tab-title", null, this._translations.resourcesTab)), h("calcite-tab", { class: "config-tab", selected: true }, h("solution-item-details", { "item-id": this.itemId, locale: this.locale })), h("calcite-tab", { class: "config-tab", id: "data-tab" }, h("solution-template-data", { instanceid: "data", "item-id": this.itemId, locale: this.locale, "organization-variables": this.organizationVariables, "solution-variables": this.solutionVariables })), h("calcite-tab", { class: "config-tab", id: "props-tab" }, h("solution-template-data", { instanceid: "properties", "item-id": this.itemId, locale: this.locale, "organization-variables": this.organizationVariables, "solution-variables": this.solutionVariables })), h("calcite-tab", { class: "config-tab", id: "resources-tab" }, h("solution-resource-item", { authentication: this.authentication, class: "solutions-resource-container", "item-id": this.itemId, locale: this.locale })));
96
110
  }
97
111
  /**
98
112
  * Fetches the component's translations
@@ -155,6 +169,23 @@ export class SolutionItem {
155
169
  "reflect": true,
156
170
  "defaultValue": "\"\""
157
171
  },
172
+ "locale": {
173
+ "type": "string",
174
+ "mutable": false,
175
+ "complexType": {
176
+ "original": "string",
177
+ "resolved": "string",
178
+ "references": {}
179
+ },
180
+ "required": false,
181
+ "optional": false,
182
+ "docs": {
183
+ "tags": [],
184
+ "text": "string: Locale to use for translation of stings in the UI"
185
+ },
186
+ "attribute": "locale",
187
+ "reflect": false
188
+ },
158
189
  "solutionVariables": {
159
190
  "type": "string",
160
191
  "mutable": true,
@@ -204,6 +235,9 @@ export class SolutionItem {
204
235
  return [{
205
236
  "propName": "itemId",
206
237
  "methodName": "itemIdWatchHandler"
238
+ }, {
239
+ "propName": "locale",
240
+ "methodName": "localeWatchHandler"
207
241
  }];
208
242
  }
209
243
  }
@@ -22,6 +22,7 @@ import { Host, h } from "@stencil/core";
22
22
  import { getLocaleComponentStrings } from "../../utils/locale";
23
23
  export class SolutionItemAccordion {
24
24
  constructor() {
25
+ this.locale = undefined;
25
26
  this.templateInfos = [];
26
27
  this._sortedTemplateInfos = [];
27
28
  this._translations = undefined;
@@ -84,6 +85,14 @@ export class SolutionItemAccordion {
84
85
  // Watch handlers
85
86
  //
86
87
  //--------------------------------------------------------------------------
88
+ /**
89
+ * Fetch translations when the locale is updated
90
+ */
91
+ async localeWatchHandler() {
92
+ // to support url param and language switcher
93
+ this.el.lang = this.locale;
94
+ await this._getTranslations();
95
+ }
87
96
  async templateInfosWatchHandler() {
88
97
  this._types = [];
89
98
  this._sortedTemplateInfos = this._sortTemplates();
@@ -121,7 +130,7 @@ export class SolutionItemAccordion {
121
130
  * Renders the component.
122
131
  */
123
132
  render() {
124
- return (h(Host, { key: '8e51f89ed52cd292aae82ed819c61ec4f1e1e5fb' }, this._getAccordion()));
133
+ return (h(Host, { key: '22a8a6f89fac420848c1279439e0b02121e694d9' }, this._getAccordion()));
125
134
  }
126
135
  //--------------------------------------------------------------------------
127
136
  //
@@ -293,6 +302,23 @@ export class SolutionItemAccordion {
293
302
  }
294
303
  static get properties() {
295
304
  return {
305
+ "locale": {
306
+ "type": "string",
307
+ "mutable": false,
308
+ "complexType": {
309
+ "original": "string",
310
+ "resolved": "string",
311
+ "references": {}
312
+ },
313
+ "required": false,
314
+ "optional": false,
315
+ "docs": {
316
+ "tags": [],
317
+ "text": "string: Locale to use for translation of stings in the UI"
318
+ },
319
+ "attribute": "locale",
320
+ "reflect": false
321
+ },
296
322
  "templateInfos": {
297
323
  "type": "unknown",
298
324
  "mutable": false,
@@ -326,6 +352,9 @@ export class SolutionItemAccordion {
326
352
  static get elementRef() { return "el"; }
327
353
  static get watchers() {
328
354
  return [{
355
+ "propName": "locale",
356
+ "methodName": "localeWatchHandler"
357
+ }, {
329
358
  "propName": "templateInfos",
330
359
  "methodName": "templateInfosWatchHandler"
331
360
  }];
@@ -25,6 +25,7 @@ import { getLocaleComponentStrings } from "../../utils/locale";
25
25
  export class SolutionItemDetails {
26
26
  constructor() {
27
27
  this.itemId = "";
28
+ this.locale = undefined;
28
29
  this.itemDetails = {
29
30
  accessInformation: "",
30
31
  description: "",
@@ -46,6 +47,19 @@ export class SolutionItemDetails {
46
47
  el;
47
48
  //--------------------------------------------------------------------------
48
49
  //
50
+ // Watch handlers
51
+ //
52
+ //--------------------------------------------------------------------------
53
+ /**
54
+ * Fetch translations when the locale is updated
55
+ */
56
+ async localeWatchHandler() {
57
+ // to support url param and language switcher
58
+ this.el.lang = this.locale;
59
+ await this._getTranslations();
60
+ }
61
+ //--------------------------------------------------------------------------
62
+ //
49
63
  // Lifecycle
50
64
  //
51
65
  //--------------------------------------------------------------------------
@@ -67,7 +81,7 @@ export class SolutionItemDetails {
67
81
  * Renders the component.
68
82
  */
69
83
  render() {
70
- return (h(Host, { key: 'fd7cc19c2f682b43c71d43d1ec1313348345b415' }, h("div", { key: 'd38fbcb57a2cf536b99a50d73f7cb67791774419', class: "parent-container" }, h("div", { key: 'e6b97716b8ae90de71af758b07b055adc6d2a4d4', class: "inputBottomSeparation" }, h("calcite-input", { key: '6bb7bc4c0cb1eb082a3862582e2a1c72c8499d48', id: "item-title", value: this.itemDetails.title })), h("div", { key: 'daa80a28b1ee9a282048d57c3d1583fb0c1bd6c4', class: "inputBottomSeparation" }, h("input", { key: 'afc61173cfa6545e688775b0aa439b11cee064ca', accept: ".jpg,.gif,.png,image/jpg,image/gif,image/png", class: "display-none", onChange: (event) => (this._updateThumbnail(event)), ref: (el) => (this.browseForThumbnail = el), type: "file" }), h("button", { key: '8bdedcdf27d0ee7d0db030404940a4a6c7f6f586', class: "font-size--3 btn-link inline-block trailer-quarter", onClick: () => this._getThumbnail() }, h("svg", { key: 'e08bd937cdadd627a3a618a112cf1e617718deb4', class: "icon-inline icon-inline--on-left", height: "16", viewBox: "0 0 16 16", width: "16" }, h("path", { key: '6047587bce5ffa4b6530c545d36f78a7f9deeebc', d: "M14.792 2.666l-1.414-1.413a.965.965 0 0 0-1.385-.03l-1.444 1.444-8.763 8.72L.03 15.481a.371.371 0 0 0 .488.488l4.096-1.756 8.763-8.72-.001-.001.002.002 1.443-1.444a.965.965 0 0 0-.03-1.385zM1.569 14.431l.554-1.293.74.739zm2.338-.924l-1.414-1.414 7.963-7.92 1.414 1.415zm8.67-8.626l-1.413-1.414 1.29-1.29a.306.306 0 0 1 .433 0l.981.98a.306.306 0 0 1 0 .433z" })), this._translations.editThumbnail), h("div", { key: '44f12983273cfcda9720f34daf4bfa85952de2f1', class: "flex" }, h("div", { key: 'cb5d60f3164874dfc964b5727be89c7a37c31dec', class: "img-container", ref: (el) => (this.thumbnailContainer = el) }, h("img", { key: '0b1c39af99a3ecb3e558a77bd91ed0a751756e32', class: "scale-down", height: "133", id: "item-thumbnail", ref: (el) => (this.thumbnail = el), width: "200" })), h("div", { key: '751954b3200fe4133dca864212aba924bb547817', class: "snippet-count-container" }, h("calcite-input", { key: '071d1595f9b71b45ed12ee3cff8b5613e96acae7', id: "item-snippet", maxLength: 250, type: "textarea", value: this.itemDetails.snippet }), h("label", { key: '69238efe97f605880cde5f59dd967414c08b94a2', class: "font-size--3", id: "item-snippet-count", ref: (el) => (this.itemSnippetCount = el) })))), h("calcite-label", { key: 'd94607358c364fba61bc781b79f4919f50082db2' }, this._translations.description, h("label", { key: 'dbc9f48ee0ca4ad0150629635d027998b17101af', id: "item-description-label" }, h("calcite-input", { key: '152612af16b43f8ed4ad98405c885c11fec6cad7', id: "item-description", type: "textarea", value: this.itemDetails.description }))), h("calcite-label", { key: '0bec1e2c5464da93ebd49f0790cd573ef28e6e00' }, this._translations.tags, h("label", { key: '03957c08d3a9bc3a2707e65ae3a8d2870449b54f', id: "item-tags-label" }, h("calcite-input", { key: '690cb769d8bb784ef33d30f43d4abb3b8b836894', id: "item-tags", value: (this.itemDetails.tags && Array.isArray(this.itemDetails.tags) ? this.itemDetails.tags : [this.itemDetails.tags]).join(",") }))), this.itemType !== "Group" ? h("calcite-label", null, this._translations.credits, h("label", { id: "item-credits-label" }, h("calcite-input", { id: "item-credits", value: this.itemDetails.accessInformation }))) : null, this.itemType !== "Group" ? h("calcite-label", null, h("label", { id: "item-terms-label" }, this._translations.termsOfUse, h("calcite-input", { id: "item-terms", type: "textarea", value: this.itemDetails.licenseInfo }))) : null)));
84
+ return (h(Host, { key: '9a0ddf363cb5e8abc5cbfd45ec0958befd81415d' }, h("div", { key: '0efb572f551fe4962ea9114bd32dc2004d47e00a', class: "parent-container" }, h("div", { key: '57ba57b956322c3339ea9265640def266717493b', class: "inputBottomSeparation" }, h("calcite-input", { key: 'e359cea6b2e94823970bbf8beb93e117963fa730', id: "item-title", value: this.itemDetails.title })), h("div", { key: 'c7b490a6f1f64ec2b10e8796ad3826d88e25280c', class: "inputBottomSeparation" }, h("input", { key: '776e1efb6ee1e29e75727f984165fa77bc36515d', accept: ".jpg,.gif,.png,image/jpg,image/gif,image/png", class: "display-none", onChange: (event) => (this._updateThumbnail(event)), ref: (el) => (this.browseForThumbnail = el), type: "file" }), h("button", { key: '12ece37e4d8ae802cb4fc2dbd3e1843496c674cb', class: "font-size--3 btn-link inline-block trailer-quarter", onClick: () => this._getThumbnail() }, h("svg", { key: '5301bac0dd37771122384b968aca05eb9a714a12', class: "icon-inline icon-inline--on-left", height: "16", viewBox: "0 0 16 16", width: "16" }, h("path", { key: 'a73dbc1d758fa28afe87dfc36efb5085f115b09c', d: "M14.792 2.666l-1.414-1.413a.965.965 0 0 0-1.385-.03l-1.444 1.444-8.763 8.72L.03 15.481a.371.371 0 0 0 .488.488l4.096-1.756 8.763-8.72-.001-.001.002.002 1.443-1.444a.965.965 0 0 0-.03-1.385zM1.569 14.431l.554-1.293.74.739zm2.338-.924l-1.414-1.414 7.963-7.92 1.414 1.415zm8.67-8.626l-1.413-1.414 1.29-1.29a.306.306 0 0 1 .433 0l.981.98a.306.306 0 0 1 0 .433z" })), this._translations.editThumbnail), h("div", { key: 'c07d1d3b4f38672855b2a4f3cfd66b91d85ad050', class: "flex" }, h("div", { key: '7de852550f467b8bb0bd8fa87c72552747d7397b', class: "img-container", ref: (el) => (this.thumbnailContainer = el) }, h("img", { key: '7111cafeabac088b5ff729eed71746966ea66ae2', class: "scale-down", height: "133", id: "item-thumbnail", ref: (el) => (this.thumbnail = el), width: "200" })), h("div", { key: '4b0be864e8c38b9a8185ba301582a742cbf8188a', class: "snippet-count-container" }, h("calcite-input", { key: '9e307dc8a67f77dc61e0deeaf3aa528007921b1b', id: "item-snippet", maxLength: 250, type: "textarea", value: this.itemDetails.snippet }), h("label", { key: '83c0d63adc182afcb83f45bcbcec778552768b65', class: "font-size--3", id: "item-snippet-count", ref: (el) => (this.itemSnippetCount = el) })))), h("calcite-label", { key: '1e17c1ae545adb010e216ac566e9cba5eec1fc1a' }, this._translations.description, h("label", { key: 'c0e125cd881b013af6da14de78635f9922163e39', id: "item-description-label" }, h("calcite-input", { key: '1cf2cb27f67edfee86fc9a36ae296f81ef6c4429', id: "item-description", type: "textarea", value: this.itemDetails.description }))), h("calcite-label", { key: '1f61dee7f09260a0277af8a8e3d620e229ce4225' }, this._translations.tags, h("label", { key: '73820279fa0134328f24741857e028c89b5caebc', id: "item-tags-label" }, h("calcite-input", { key: '88dc8f7cd156dfa5f52ae8412241c2f0bfca357c', id: "item-tags", value: (this.itemDetails.tags && Array.isArray(this.itemDetails.tags) ? this.itemDetails.tags : [this.itemDetails.tags]).join(",") }))), this.itemType !== "Group" ? h("calcite-label", null, this._translations.credits, h("label", { id: "item-credits-label" }, h("calcite-input", { id: "item-credits", value: this.itemDetails.accessInformation }))) : null, this.itemType !== "Group" ? h("calcite-label", null, h("label", { id: "item-terms-label" }, this._translations.termsOfUse, h("calcite-input", { id: "item-terms", type: "textarea", value: this.itemDetails.licenseInfo }))) : null)));
71
85
  }
72
86
  componentDidRender() {
73
87
  this._loadThumb();
@@ -242,6 +256,23 @@ export class SolutionItemDetails {
242
256
  "attribute": "item-id",
243
257
  "reflect": true,
244
258
  "defaultValue": "\"\""
259
+ },
260
+ "locale": {
261
+ "type": "string",
262
+ "mutable": false,
263
+ "complexType": {
264
+ "original": "string",
265
+ "resolved": "string",
266
+ "references": {}
267
+ },
268
+ "required": false,
269
+ "optional": false,
270
+ "docs": {
271
+ "tags": [],
272
+ "text": "string: Locale to use for translation of stings in the UI"
273
+ },
274
+ "attribute": "locale",
275
+ "reflect": false
245
276
  }
246
277
  };
247
278
  }
@@ -255,6 +286,12 @@ export class SolutionItemDetails {
255
286
  };
256
287
  }
257
288
  static get elementRef() { return "el"; }
289
+ static get watchers() {
290
+ return [{
291
+ "propName": "locale",
292
+ "methodName": "localeWatchHandler"
293
+ }];
294
+ }
258
295
  static get listeners() {
259
296
  return [{
260
297
  "name": "calciteInputInput",
@@ -40,7 +40,7 @@ export class SolutionItemIcon {
40
40
  * Renders the component.
41
41
  */
42
42
  render() {
43
- return h("div", { key: '17d5be934c3f22a38a9b277f4b76790e616b3335', title: this.type }, h("img", { key: '3c42dd44b54c18a4a960669fc28330efcf23cab1', class: "item-type-icon item-type-icon-margin", height: "16", src: this._getIconUrl(this.type, this.typeKeywords), width: "16" }));
43
+ return h("div", { key: 'cc13e7bfc0a58ca1727651c3c31b0dc4e50f716a', title: this.type }, h("img", { key: '76808f6a3ced35a15626d4a4d30e7a2b8185d8d6', class: "item-type-icon item-type-icon-margin", height: "16", src: this._getIconUrl(this.type, this.typeKeywords), width: "16" }));
44
44
  }
45
45
  //--------------------------------------------------------------------------
46
46
  //
@@ -24,6 +24,7 @@ import { getLocaleComponentStrings } from "../../utils/locale";
24
24
  export class SolutionItemSharing {
25
25
  constructor() {
26
26
  this.groupId = "";
27
+ this.locale = undefined;
27
28
  this._translations = undefined;
28
29
  this.sharing = [];
29
30
  }
@@ -33,10 +34,23 @@ export class SolutionItemSharing {
33
34
  //
34
35
  //--------------------------------------------------------------------------
35
36
  el;
37
+ //--------------------------------------------------------------------------
38
+ //
39
+ // Watch handlers
40
+ //
41
+ //--------------------------------------------------------------------------
36
42
  itemIdWatchHandler() {
37
43
  const itemEdit = state.getItemInfo(this.groupId);
38
44
  this.sharing = itemEdit.groupDetails;
39
45
  }
46
+ /**
47
+ * Fetch translations when the locale is updated
48
+ */
49
+ async localeWatchHandler() {
50
+ // to support url param and language switcher
51
+ this.el.lang = this.locale;
52
+ await this._getTranslations();
53
+ }
40
54
  //--------------------------------------------------------------------------
41
55
  //
42
56
  // Lifecycle
@@ -52,7 +66,7 @@ export class SolutionItemSharing {
52
66
  * Renders the component.
53
67
  */
54
68
  render() {
55
- return (h(Host, { key: '3b94a68c01079f717b1ff38b82f946a32cfcb3a4' }, h("div", { key: 'e2fd74849f827a5e9756182ead2c23b3ef9584b9', class: "container-border" }, h("calcite-label", { key: '4ac7e9adf98368d5f8b985519a8fd9d1ab24d5d6' }, this._translations.groupInfo), this._renderItems(this.sharing))));
69
+ return (h(Host, { key: '1c7dbee68fbf0eabf736fb783f173ade2f408122' }, h("div", { key: '3c3d88ab122d4a8bc69363224a2754c4a4b092ba', class: "container-border" }, h("calcite-label", { key: '137bb704b258a3cd1e5e5b7a18c53aca331d7f91' }, this._translations.groupInfo), this._renderItems(this.sharing))));
56
70
  }
57
71
  //--------------------------------------------------------------------------
58
72
  //
@@ -166,6 +180,23 @@ export class SolutionItemSharing {
166
180
  "attribute": "group-id",
167
181
  "reflect": true,
168
182
  "defaultValue": "\"\""
183
+ },
184
+ "locale": {
185
+ "type": "string",
186
+ "mutable": false,
187
+ "complexType": {
188
+ "original": "string",
189
+ "resolved": "string",
190
+ "references": {}
191
+ },
192
+ "required": false,
193
+ "optional": false,
194
+ "docs": {
195
+ "tags": [],
196
+ "text": "string: Locale to use for translation of stings in the UI"
197
+ },
198
+ "attribute": "locale",
199
+ "reflect": false
169
200
  }
170
201
  };
171
202
  }
@@ -201,6 +232,9 @@ export class SolutionItemSharing {
201
232
  return [{
202
233
  "propName": "groupId",
203
234
  "methodName": "itemIdWatchHandler"
235
+ }, {
236
+ "propName": "locale",
237
+ "methodName": "localeWatchHandler"
204
238
  }];
205
239
  }
206
240
  }
@@ -22,6 +22,7 @@ import { Host, h } from "@stencil/core";
22
22
  import { getLocaleComponentStrings } from "../../utils/locale";
23
23
  export class SolutionOrganizationVariables {
24
24
  constructor() {
25
+ this.locale = undefined;
25
26
  this.value = "";
26
27
  this._organizationVariables = [];
27
28
  this._translations = undefined;
@@ -32,6 +33,19 @@ export class SolutionOrganizationVariables {
32
33
  //
33
34
  //--------------------------------------------------------------------------
34
35
  el;
36
+ //--------------------------------------------------------------------------
37
+ //
38
+ // Watch handlers
39
+ //
40
+ //--------------------------------------------------------------------------
41
+ /**
42
+ * Fetch translations when the locale is updated
43
+ */
44
+ async localeWatchHandler() {
45
+ // to support url param and language switcher
46
+ this.el.lang = this.locale;
47
+ await this._getTranslations();
48
+ }
35
49
  valueWatchHandler() {
36
50
  this._organizationVariables = JSON.parse(this.value);
37
51
  }
@@ -50,7 +64,7 @@ export class SolutionOrganizationVariables {
50
64
  * Renders the component.
51
65
  */
52
66
  render() {
53
- return (h(Host, { key: '0dd925da12c0eb9861637e78d74c75ad4a23c9f3' }, h("div", { key: '324cfdc588fce6ee5a69b7cd54956a0ab0ef0adf' }, h("h4", { key: '2fca69530272a3f0630b86d36bbc78ec651c45d1', class: "org-var-header" }, this._translations.orgVariables)), h("div", { key: '6f05088ebfaf50e4516c634f1a016275f4228c45', class: "container-border" }, h("calcite-tree", { key: '22585bb1a7cae978c3fbf7301d33b81b4fffb540', id: "variable-label" }, this._renderHierarchy(this._organizationVariables)))));
67
+ return (h(Host, { key: '3f72a5c1b8fb6bcdab858ee061eadb38cb9965d9' }, h("div", { key: '118c7cafc8330c44e72a59a76fd81ca0f39696e1' }, h("h4", { key: '86934bdf3cbf162a732a53579e324c5fff8beead', class: "org-var-header" }, this._translations.orgVariables)), h("div", { key: 'ed5c1df397286a7d1c8e61b5ce04623fa13d74cc', class: "container-border" }, h("calcite-tree", { key: '47f4f9bf5a81ded9a37a33a94fac6a230263e917', id: "variable-label" }, this._renderHierarchy(this._organizationVariables)))));
54
68
  }
55
69
  //--------------------------------------------------------------------------
56
70
  //
@@ -119,6 +133,23 @@ export class SolutionOrganizationVariables {
119
133
  }
120
134
  static get properties() {
121
135
  return {
136
+ "locale": {
137
+ "type": "string",
138
+ "mutable": false,
139
+ "complexType": {
140
+ "original": "string",
141
+ "resolved": "string",
142
+ "references": {}
143
+ },
144
+ "required": false,
145
+ "optional": false,
146
+ "docs": {
147
+ "tags": [],
148
+ "text": "string: Locale to use for translation of stings in the UI"
149
+ },
150
+ "attribute": "locale",
151
+ "reflect": false
152
+ },
122
153
  "value": {
123
154
  "type": "string",
124
155
  "mutable": true,
@@ -166,6 +197,9 @@ export class SolutionOrganizationVariables {
166
197
  static get elementRef() { return "el"; }
167
198
  static get watchers() {
168
199
  return [{
200
+ "propName": "locale",
201
+ "methodName": "localeWatchHandler"
202
+ }, {
169
203
  "propName": "value",
170
204
  "methodName": "valueWatchHandler"
171
205
  }];