@esri/solutions-components 0.10.39 → 0.10.40

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (374) 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 +12 -13
  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/collection-manifest.json +0 -7
  26. package/dist/collection/components/buffer-tools/buffer-tools.js +30 -1
  27. package/dist/collection/components/card-manager/card-manager.js +34 -2
  28. package/dist/collection/components/consent-manager/consent-manager.js +32 -0
  29. package/dist/collection/components/create-feature/create-feature.js +31 -2
  30. package/dist/collection/components/create-related-feature/create-related-feature.js +30 -1
  31. package/dist/collection/components/crowdsource-manager/crowdsource-manager.js +20 -22
  32. package/dist/collection/components/crowdsource-reporter/crowdsource-reporter.js +38 -9
  33. package/dist/collection/components/deduct-calculator/deduct-calculator.js +1 -1
  34. package/dist/collection/components/delete-button/delete-button.js +31 -2
  35. package/dist/collection/components/delete-dialog/delete-dialog.js +33 -1
  36. package/dist/collection/components/edit-card/edit-card.js +30 -1
  37. package/dist/collection/components/feature-details/feature-details.js +24 -6
  38. package/dist/collection/components/feature-list/feature-list.js +32 -3
  39. package/dist/collection/components/floor-filter/floor-filter.js +1 -1
  40. package/dist/collection/components/info-card/info-card.js +36 -2
  41. package/dist/collection/components/json-editor/json-editor.js +38 -1
  42. package/dist/collection/components/layer-list/layer-list.js +35 -3
  43. package/dist/collection/components/layer-table/layer-table.js +34 -5
  44. package/dist/collection/components/map-card/map-card.js +31 -2
  45. package/dist/collection/components/map-draw-tools/map-draw-tools.js +30 -1
  46. package/dist/collection/components/map-fullscreen/map-fullscreen.js +1 -1
  47. package/dist/collection/components/map-layer-picker/map-layer-picker.js +30 -1
  48. package/dist/collection/components/map-legend/map-legend.js +1 -1
  49. package/dist/collection/components/map-picker/map-picker.js +30 -1
  50. package/dist/collection/components/map-search/map-search.js +1 -1
  51. package/dist/collection/components/map-select-tools/map-select-tools.js +15 -4
  52. package/dist/collection/components/map-tools/map-tools.js +30 -1
  53. package/dist/collection/components/pci-calculator/pci-calculator.js +1 -1
  54. package/dist/collection/components/pdf-download/pdf-download.js +33 -1
  55. package/dist/collection/components/public-notification/public-notification.js +13 -2
  56. package/dist/collection/components/refine-selection/refine-selection.js +15 -1
  57. package/dist/collection/components/share-item/share-item.js +1 -1
  58. package/dist/collection/components/solution-configuration/solution-configuration.js +38 -4
  59. package/dist/collection/components/solution-contents/solution-contents.js +1 -1
  60. package/dist/collection/components/solution-item/solution-item.js +37 -3
  61. package/dist/collection/components/solution-item-accordion/solution-item-accordion.js +30 -1
  62. package/dist/collection/components/solution-item-details/solution-item-details.js +38 -1
  63. package/dist/collection/components/solution-item-icon/solution-item-icon.js +1 -1
  64. package/dist/collection/components/solution-item-sharing/solution-item-sharing.js +35 -1
  65. package/dist/collection/components/solution-organization-variables/solution-organization-variables.js +35 -1
  66. package/dist/collection/components/solution-resource-item/solution-resource-item.js +35 -1
  67. package/dist/collection/components/solution-spatial-ref/solution-spatial-ref.js +35 -1
  68. package/dist/collection/components/solution-template-data/solution-template-data.js +35 -1
  69. package/dist/collection/components/solution-variables/solution-variables.js +35 -1
  70. package/dist/collection/components/spatial-ref/spatial-ref.js +35 -1
  71. package/dist/collection/demos/crowdsource-manager.html +0 -1
  72. package/dist/collection/demos/crowdsource-reporter.html +2 -2
  73. package/dist/components/buffer-tools2.js +15 -3
  74. package/dist/components/card-manager2.js +18 -3
  75. package/dist/components/consent-manager.js +15 -0
  76. package/dist/components/create-feature2.js +14 -2
  77. package/dist/components/create-related-feature2.js +13 -1
  78. package/dist/components/crowdsource-manager.js +14 -15
  79. package/dist/components/crowdsource-reporter.js +21 -9
  80. package/dist/components/deduct-calculator2.js +1 -1
  81. package/dist/components/delete-button2.js +16 -4
  82. package/dist/components/delete-dialog2.js +16 -1
  83. package/dist/components/edit-card2.js +13 -1
  84. package/dist/components/feature-details2.js +8 -6
  85. package/dist/components/feature-list2.js +15 -3
  86. package/dist/components/floor-filter2.js +1 -1
  87. package/dist/components/info-card2.js +19 -2
  88. package/dist/components/json-editor2.js +21 -1
  89. package/dist/components/layer-list2.js +18 -3
  90. package/dist/components/layer-table2.js +17 -5
  91. package/dist/components/map-card2.js +14 -2
  92. package/dist/components/map-draw-tools2.js +13 -1
  93. package/dist/components/map-fullscreen2.js +1 -1
  94. package/dist/components/map-layer-picker2.js +13 -1
  95. package/dist/components/map-legend2.js +1 -1
  96. package/dist/components/map-picker2.js +13 -1
  97. package/dist/components/map-search2.js +1 -1
  98. package/dist/components/map-select-tools2.js +14 -4
  99. package/dist/components/map-tools2.js +13 -1
  100. package/dist/components/pci-calculator.js +1 -1
  101. package/dist/components/pdf-download2.js +16 -1
  102. package/dist/components/public-notification.js +12 -2
  103. package/dist/components/refine-selection2.js +14 -1
  104. package/dist/components/share-item.js +1 -1
  105. package/dist/components/solution-configuration.js +23 -6
  106. package/dist/components/solution-contents2.js +1 -1
  107. package/dist/components/solution-item-accordion.js +13 -1
  108. package/dist/components/solution-item-details2.js +22 -2
  109. package/dist/components/solution-item-icon2.js +1 -1
  110. package/dist/components/solution-item-sharing2.js +20 -3
  111. package/dist/components/solution-item2.js +22 -5
  112. package/dist/components/solution-organization-variables2.js +18 -1
  113. package/dist/components/solution-resource-item2.js +20 -3
  114. package/dist/components/solution-spatial-ref2.js +20 -3
  115. package/dist/components/solution-template-data2.js +20 -3
  116. package/dist/components/solution-variables2.js +18 -1
  117. package/dist/components/spatial-ref.js +18 -1
  118. package/dist/esm/basemap-gallery_7.entry.js +26 -6
  119. package/dist/esm/buffer-tools_3.entry.js +23 -3
  120. package/dist/esm/calcite-alert_5.entry.js +40 -5
  121. package/dist/esm/calcite-combobox_3.entry.js +11 -1
  122. package/dist/esm/calcite-flow_4.entry.js +33 -10
  123. package/dist/esm/calcite-shell-panel_14.entry.js +119 -10
  124. package/dist/esm/calcite-shell_3.entry.js +26 -4
  125. package/dist/esm/card-manager_3.entry.js +41 -9
  126. package/dist/esm/consent-manager.entry.js +12 -0
  127. package/dist/esm/crowdsource-manager.entry.js +12 -13
  128. package/dist/esm/crowdsource-reporter.entry.js +19 -9
  129. package/dist/esm/deduct-calculator.entry.js +1 -1
  130. package/dist/esm/feature-list.entry.js +13 -3
  131. package/dist/esm/loader.js +1 -1
  132. package/dist/esm/map-select-tools_3.entry.js +38 -6
  133. package/dist/esm/pci-calculator.entry.js +1 -1
  134. package/dist/esm/public-notification.entry.js +11 -2
  135. package/dist/esm/share-item.entry.js +1 -1
  136. package/dist/esm/solution-configuration.entry.js +20 -5
  137. package/dist/esm/solution-contents_3.entry.js +37 -7
  138. package/dist/esm/solution-item-accordion.entry.js +11 -1
  139. package/dist/esm/solution-item-icon.entry.js +1 -1
  140. package/dist/esm/solutions-components.js +1 -1
  141. package/dist/esm/spatial-ref.entry.js +16 -1
  142. package/dist/solutions-components/demos/crowdsource-manager.html +0 -1
  143. package/dist/solutions-components/demos/crowdsource-reporter.html +2 -2
  144. package/dist/solutions-components/p-0a2e5861.entry.js +6 -0
  145. package/dist/solutions-components/{p-739ce6f3.entry.js → p-2f784608.entry.js} +1 -1
  146. package/dist/solutions-components/{p-1c2d0e90.entry.js → p-3e44cfab.entry.js} +1 -1
  147. package/dist/solutions-components/{p-841816a1.entry.js → p-41314f33.entry.js} +7 -7
  148. package/dist/solutions-components/{p-18089a0b.entry.js → p-471d5c7f.entry.js} +2 -2
  149. package/dist/solutions-components/p-5001cc41.entry.js +6 -0
  150. package/dist/solutions-components/p-561c0e02.entry.js +6 -0
  151. package/dist/solutions-components/p-56beff4c.entry.js +6 -0
  152. package/dist/solutions-components/p-592f2000.entry.js +6 -0
  153. package/dist/solutions-components/p-5cbf3eed.entry.js +6 -0
  154. package/dist/solutions-components/p-62d8796c.entry.js +17 -0
  155. package/dist/solutions-components/p-6d1922cc.entry.js +6 -0
  156. package/dist/solutions-components/p-80e81af7.entry.js +6 -0
  157. package/dist/solutions-components/{p-82ddf716.entry.js → p-8e2f4995.entry.js} +1 -1
  158. package/dist/solutions-components/{p-6502d0f8.entry.js → p-b7fbaeb7.entry.js} +1 -1
  159. package/dist/solutions-components/p-cced387c.entry.js +6 -0
  160. package/dist/solutions-components/{p-a5d79c86.entry.js → p-ce53e33d.entry.js} +2 -2
  161. package/dist/solutions-components/{p-59ccd27c.entry.js → p-d51c07d2.entry.js} +1 -1
  162. package/dist/solutions-components/p-d75cf651.entry.js +11 -0
  163. package/dist/solutions-components/p-d7afbe8d.entry.js +11 -0
  164. package/dist/solutions-components/p-e1e21798.entry.js +12 -0
  165. package/dist/solutions-components/p-e9026f9a.entry.js +6 -0
  166. package/dist/solutions-components/solutions-components.esm.js +1 -1
  167. package/dist/types/components/buffer-tools/buffer-tools.d.ts +8 -0
  168. package/dist/types/components/card-manager/card-manager.d.ts +8 -0
  169. package/dist/types/components/consent-manager/consent-manager.d.ts +8 -0
  170. package/dist/types/components/create-feature/create-feature.d.ts +8 -0
  171. package/dist/types/components/create-related-feature/create-related-feature.d.ts +8 -0
  172. package/dist/types/components/crowdsource-manager/crowdsource-manager.d.ts +4 -4
  173. package/dist/types/components/crowdsource-reporter/crowdsource-reporter.d.ts +8 -0
  174. package/dist/types/components/deduct-calculator/deduct-calculator.d.ts +1 -1
  175. package/dist/types/components/delete-button/delete-button.d.ts +9 -1
  176. package/dist/types/components/delete-dialog/delete-dialog.d.ts +8 -0
  177. package/dist/types/components/edit-card/edit-card.d.ts +8 -0
  178. package/dist/types/components/feature-details/feature-details.d.ts +4 -0
  179. package/dist/types/components/feature-list/feature-list.d.ts +8 -0
  180. package/dist/types/components/info-card/info-card.d.ts +8 -0
  181. package/dist/types/components/json-editor/json-editor.d.ts +8 -0
  182. package/dist/types/components/layer-list/layer-list.d.ts +8 -0
  183. package/dist/types/components/layer-table/layer-table.d.ts +9 -1
  184. package/dist/types/components/map-card/map-card.d.ts +8 -0
  185. package/dist/types/components/map-draw-tools/map-draw-tools.d.ts +8 -0
  186. package/dist/types/components/map-layer-picker/map-layer-picker.d.ts +8 -0
  187. package/dist/types/components/map-picker/map-picker.d.ts +8 -0
  188. package/dist/types/components/map-select-tools/map-select-tools.d.ts +4 -0
  189. package/dist/types/components/map-tools/map-tools.d.ts +8 -0
  190. package/dist/types/components/pdf-download/pdf-download.d.ts +8 -0
  191. package/dist/types/components/public-notification/public-notification.d.ts +4 -0
  192. package/dist/types/components/refine-selection/refine-selection.d.ts +4 -0
  193. package/dist/types/components/solution-configuration/solution-configuration.d.ts +8 -0
  194. package/dist/types/components/solution-item/solution-item.d.ts +8 -0
  195. package/dist/types/components/solution-item-accordion/solution-item-accordion.d.ts +8 -0
  196. package/dist/types/components/solution-item-details/solution-item-details.d.ts +8 -0
  197. package/dist/types/components/solution-item-sharing/solution-item-sharing.d.ts +8 -0
  198. package/dist/types/components/solution-organization-variables/solution-organization-variables.d.ts +8 -0
  199. package/dist/types/components/solution-resource-item/solution-resource-item.d.ts +8 -0
  200. package/dist/types/components/solution-spatial-ref/solution-spatial-ref.d.ts +8 -0
  201. package/dist/types/components/solution-template-data/solution-template-data.d.ts +8 -0
  202. package/dist/types/components/solution-variables/solution-variables.d.ts +8 -0
  203. package/dist/types/components/spatial-ref/spatial-ref.d.ts +8 -0
  204. package/dist/types/components.d.ts +266 -120
  205. package/dist/types/preact.d.ts +0 -16
  206. package/package.json +5 -5
  207. package/dist/cjs/feature-comments.cjs.entry.js +0 -61
  208. package/dist/cjs/feature-form-flow-item.cjs.entry.js +0 -61
  209. package/dist/cjs/features-flow-item.cjs.entry.js +0 -61
  210. package/dist/cjs/layout-manager.cjs.entry.js +0 -114
  211. package/dist/cjs/list-flow-item.cjs.entry.js +0 -61
  212. package/dist/cjs/location-flow-item.cjs.entry.js +0 -61
  213. package/dist/cjs/refine-results-flow-item.cjs.entry.js +0 -61
  214. package/dist/collection/assets/t9n/feature-comments/resources.json +0 -3
  215. package/dist/collection/assets/t9n/feature-comments/resources_en.json +0 -3
  216. package/dist/collection/assets/t9n/feature-form-flow-item/resources.json +0 -3
  217. package/dist/collection/assets/t9n/feature-form-flow-item/resources_en.json +0 -3
  218. package/dist/collection/assets/t9n/layout-manager/resources.json +0 -7
  219. package/dist/collection/assets/t9n/layout-manager/resources_ar.json +0 -7
  220. package/dist/collection/assets/t9n/layout-manager/resources_bg.json +0 -7
  221. package/dist/collection/assets/t9n/layout-manager/resources_bs.json +0 -7
  222. package/dist/collection/assets/t9n/layout-manager/resources_ca.json +0 -7
  223. package/dist/collection/assets/t9n/layout-manager/resources_cs.json +0 -7
  224. package/dist/collection/assets/t9n/layout-manager/resources_da.json +0 -7
  225. package/dist/collection/assets/t9n/layout-manager/resources_de.json +0 -7
  226. package/dist/collection/assets/t9n/layout-manager/resources_el.json +0 -7
  227. package/dist/collection/assets/t9n/layout-manager/resources_en.json +0 -7
  228. package/dist/collection/assets/t9n/layout-manager/resources_es.json +0 -7
  229. package/dist/collection/assets/t9n/layout-manager/resources_et.json +0 -7
  230. package/dist/collection/assets/t9n/layout-manager/resources_fi.json +0 -7
  231. package/dist/collection/assets/t9n/layout-manager/resources_fr.json +0 -7
  232. package/dist/collection/assets/t9n/layout-manager/resources_he.json +0 -7
  233. package/dist/collection/assets/t9n/layout-manager/resources_hr.json +0 -7
  234. package/dist/collection/assets/t9n/layout-manager/resources_hu.json +0 -7
  235. package/dist/collection/assets/t9n/layout-manager/resources_id.json +0 -7
  236. package/dist/collection/assets/t9n/layout-manager/resources_it.json +0 -7
  237. package/dist/collection/assets/t9n/layout-manager/resources_ja.json +0 -7
  238. package/dist/collection/assets/t9n/layout-manager/resources_ko.json +0 -7
  239. package/dist/collection/assets/t9n/layout-manager/resources_lt.json +0 -7
  240. package/dist/collection/assets/t9n/layout-manager/resources_lv.json +0 -7
  241. package/dist/collection/assets/t9n/layout-manager/resources_nb.json +0 -7
  242. package/dist/collection/assets/t9n/layout-manager/resources_nl.json +0 -7
  243. package/dist/collection/assets/t9n/layout-manager/resources_pl.json +0 -7
  244. package/dist/collection/assets/t9n/layout-manager/resources_pt-BR.json +0 -7
  245. package/dist/collection/assets/t9n/layout-manager/resources_pt-PT.json +0 -7
  246. package/dist/collection/assets/t9n/layout-manager/resources_ro.json +0 -7
  247. package/dist/collection/assets/t9n/layout-manager/resources_ru.json +0 -7
  248. package/dist/collection/assets/t9n/layout-manager/resources_sk.json +0 -7
  249. package/dist/collection/assets/t9n/layout-manager/resources_sl.json +0 -7
  250. package/dist/collection/assets/t9n/layout-manager/resources_sr.json +0 -7
  251. package/dist/collection/assets/t9n/layout-manager/resources_sv.json +0 -7
  252. package/dist/collection/assets/t9n/layout-manager/resources_th.json +0 -7
  253. package/dist/collection/assets/t9n/layout-manager/resources_tr.json +0 -7
  254. package/dist/collection/assets/t9n/layout-manager/resources_uk.json +0 -7
  255. package/dist/collection/assets/t9n/layout-manager/resources_vi.json +0 -7
  256. package/dist/collection/assets/t9n/layout-manager/resources_zh-CN.json +0 -7
  257. package/dist/collection/assets/t9n/layout-manager/resources_zh-HK.json +0 -7
  258. package/dist/collection/assets/t9n/layout-manager/resources_zh-TW.json +0 -7
  259. package/dist/collection/assets/t9n/list-flow-item/resources.json +0 -3
  260. package/dist/collection/assets/t9n/list-flow-item/resources_en.json +0 -3
  261. package/dist/collection/assets/t9n/location-flow-item/resources.json +0 -3
  262. package/dist/collection/assets/t9n/location-flow-item/resources_en.json +0 -3
  263. package/dist/collection/components/feature-comments/feature-comments.css +0 -19
  264. package/dist/collection/components/feature-comments/feature-comments.js +0 -80
  265. package/dist/collection/components/feature-form-flow-item/feature-form-flow-item.css +0 -19
  266. package/dist/collection/components/feature-form-flow-item/feature-form-flow-item.js +0 -80
  267. package/dist/collection/components/features-flow-item/features-flow-item.css +0 -19
  268. package/dist/collection/components/features-flow-item/features-flow-item.js +0 -80
  269. package/dist/collection/components/layout-manager/layout-manager.css +0 -73
  270. package/dist/collection/components/layout-manager/layout-manager.js +0 -161
  271. package/dist/collection/components/list-flow-item/list-flow-item.css +0 -19
  272. package/dist/collection/components/list-flow-item/list-flow-item.js +0 -80
  273. package/dist/collection/components/location-flow-item/location-flow-item.css +0 -19
  274. package/dist/collection/components/location-flow-item/location-flow-item.js +0 -80
  275. package/dist/collection/components/refine-results-flow-item/refine-results-flow-item.css +0 -19
  276. package/dist/collection/components/refine-results-flow-item/refine-results-flow-item.js +0 -80
  277. package/dist/components/feature-comments.d.ts +0 -11
  278. package/dist/components/feature-comments.js +0 -76
  279. package/dist/components/feature-form-flow-item.d.ts +0 -11
  280. package/dist/components/feature-form-flow-item.js +0 -76
  281. package/dist/components/features-flow-item.d.ts +0 -11
  282. package/dist/components/features-flow-item.js +0 -76
  283. package/dist/components/layout-manager.d.ts +0 -11
  284. package/dist/components/layout-manager.js +0 -159
  285. package/dist/components/list-flow-item.d.ts +0 -11
  286. package/dist/components/list-flow-item.js +0 -76
  287. package/dist/components/location-flow-item.d.ts +0 -11
  288. package/dist/components/location-flow-item.js +0 -76
  289. package/dist/components/refine-results-flow-item.d.ts +0 -11
  290. package/dist/components/refine-results-flow-item.js +0 -76
  291. package/dist/esm/feature-comments.entry.js +0 -57
  292. package/dist/esm/feature-form-flow-item.entry.js +0 -57
  293. package/dist/esm/features-flow-item.entry.js +0 -57
  294. package/dist/esm/layout-manager.entry.js +0 -110
  295. package/dist/esm/list-flow-item.entry.js +0 -57
  296. package/dist/esm/location-flow-item.entry.js +0 -57
  297. package/dist/esm/refine-results-flow-item.entry.js +0 -57
  298. package/dist/solutions-components/assets/t9n/feature-comments/resources.json +0 -3
  299. package/dist/solutions-components/assets/t9n/feature-comments/resources_en.json +0 -3
  300. package/dist/solutions-components/assets/t9n/feature-form-flow-item/resources.json +0 -3
  301. package/dist/solutions-components/assets/t9n/feature-form-flow-item/resources_en.json +0 -3
  302. package/dist/solutions-components/assets/t9n/layout-manager/resources.json +0 -7
  303. package/dist/solutions-components/assets/t9n/layout-manager/resources_ar.json +0 -7
  304. package/dist/solutions-components/assets/t9n/layout-manager/resources_bg.json +0 -7
  305. package/dist/solutions-components/assets/t9n/layout-manager/resources_bs.json +0 -7
  306. package/dist/solutions-components/assets/t9n/layout-manager/resources_ca.json +0 -7
  307. package/dist/solutions-components/assets/t9n/layout-manager/resources_cs.json +0 -7
  308. package/dist/solutions-components/assets/t9n/layout-manager/resources_da.json +0 -7
  309. package/dist/solutions-components/assets/t9n/layout-manager/resources_de.json +0 -7
  310. package/dist/solutions-components/assets/t9n/layout-manager/resources_el.json +0 -7
  311. package/dist/solutions-components/assets/t9n/layout-manager/resources_en.json +0 -7
  312. package/dist/solutions-components/assets/t9n/layout-manager/resources_es.json +0 -7
  313. package/dist/solutions-components/assets/t9n/layout-manager/resources_et.json +0 -7
  314. package/dist/solutions-components/assets/t9n/layout-manager/resources_fi.json +0 -7
  315. package/dist/solutions-components/assets/t9n/layout-manager/resources_fr.json +0 -7
  316. package/dist/solutions-components/assets/t9n/layout-manager/resources_he.json +0 -7
  317. package/dist/solutions-components/assets/t9n/layout-manager/resources_hr.json +0 -7
  318. package/dist/solutions-components/assets/t9n/layout-manager/resources_hu.json +0 -7
  319. package/dist/solutions-components/assets/t9n/layout-manager/resources_id.json +0 -7
  320. package/dist/solutions-components/assets/t9n/layout-manager/resources_it.json +0 -7
  321. package/dist/solutions-components/assets/t9n/layout-manager/resources_ja.json +0 -7
  322. package/dist/solutions-components/assets/t9n/layout-manager/resources_ko.json +0 -7
  323. package/dist/solutions-components/assets/t9n/layout-manager/resources_lt.json +0 -7
  324. package/dist/solutions-components/assets/t9n/layout-manager/resources_lv.json +0 -7
  325. package/dist/solutions-components/assets/t9n/layout-manager/resources_nb.json +0 -7
  326. package/dist/solutions-components/assets/t9n/layout-manager/resources_nl.json +0 -7
  327. package/dist/solutions-components/assets/t9n/layout-manager/resources_pl.json +0 -7
  328. package/dist/solutions-components/assets/t9n/layout-manager/resources_pt-BR.json +0 -7
  329. package/dist/solutions-components/assets/t9n/layout-manager/resources_pt-PT.json +0 -7
  330. package/dist/solutions-components/assets/t9n/layout-manager/resources_ro.json +0 -7
  331. package/dist/solutions-components/assets/t9n/layout-manager/resources_ru.json +0 -7
  332. package/dist/solutions-components/assets/t9n/layout-manager/resources_sk.json +0 -7
  333. package/dist/solutions-components/assets/t9n/layout-manager/resources_sl.json +0 -7
  334. package/dist/solutions-components/assets/t9n/layout-manager/resources_sr.json +0 -7
  335. package/dist/solutions-components/assets/t9n/layout-manager/resources_sv.json +0 -7
  336. package/dist/solutions-components/assets/t9n/layout-manager/resources_th.json +0 -7
  337. package/dist/solutions-components/assets/t9n/layout-manager/resources_tr.json +0 -7
  338. package/dist/solutions-components/assets/t9n/layout-manager/resources_uk.json +0 -7
  339. package/dist/solutions-components/assets/t9n/layout-manager/resources_vi.json +0 -7
  340. package/dist/solutions-components/assets/t9n/layout-manager/resources_zh-CN.json +0 -7
  341. package/dist/solutions-components/assets/t9n/layout-manager/resources_zh-HK.json +0 -7
  342. package/dist/solutions-components/assets/t9n/layout-manager/resources_zh-TW.json +0 -7
  343. package/dist/solutions-components/assets/t9n/list-flow-item/resources.json +0 -3
  344. package/dist/solutions-components/assets/t9n/list-flow-item/resources_en.json +0 -3
  345. package/dist/solutions-components/assets/t9n/location-flow-item/resources.json +0 -3
  346. package/dist/solutions-components/assets/t9n/location-flow-item/resources_en.json +0 -3
  347. package/dist/solutions-components/p-04ab956c.entry.js +0 -6
  348. package/dist/solutions-components/p-06364211.entry.js +0 -6
  349. package/dist/solutions-components/p-1700f63a.entry.js +0 -6
  350. package/dist/solutions-components/p-1f07e21a.entry.js +0 -6
  351. package/dist/solutions-components/p-46416e11.entry.js +0 -6
  352. package/dist/solutions-components/p-70c0050c.entry.js +0 -6
  353. package/dist/solutions-components/p-720de4db.entry.js +0 -6
  354. package/dist/solutions-components/p-74bcef23.entry.js +0 -11
  355. package/dist/solutions-components/p-76154700.entry.js +0 -6
  356. package/dist/solutions-components/p-938bc915.entry.js +0 -6
  357. package/dist/solutions-components/p-9c4fef09.entry.js +0 -17
  358. package/dist/solutions-components/p-9d56f4b5.entry.js +0 -6
  359. package/dist/solutions-components/p-9da8a590.entry.js +0 -6
  360. package/dist/solutions-components/p-aac0c89c.entry.js +0 -6
  361. package/dist/solutions-components/p-be4c7ffd.entry.js +0 -6
  362. package/dist/solutions-components/p-d2612c30.entry.js +0 -6
  363. package/dist/solutions-components/p-df7de4b7.entry.js +0 -12
  364. package/dist/solutions-components/p-e345f9c4.entry.js +0 -6
  365. package/dist/solutions-components/p-eadff42b.entry.js +0 -11
  366. package/dist/solutions-components/p-fa1c368c.entry.js +0 -6
  367. package/dist/solutions-components/p-ff3858c6.entry.js +0 -6
  368. package/dist/types/components/feature-comments/feature-comments.d.ts +0 -19
  369. package/dist/types/components/feature-form-flow-item/feature-form-flow-item.d.ts +0 -19
  370. package/dist/types/components/features-flow-item/features-flow-item.d.ts +0 -19
  371. package/dist/types/components/layout-manager/layout-manager.d.ts +0 -69
  372. package/dist/types/components/list-flow-item/list-flow-item.d.ts +0 -19
  373. package/dist/types/components/location-flow-item/location-flow-item.d.ts +0 -19
  374. package/dist/types/components/refine-results-flow-item/refine-results-flow-item.d.ts +0 -19
@@ -261,7 +261,7 @@ const FloorFilter = class {
261
261
  * Renders the component.
262
262
  */
263
263
  render() {
264
- return (index.h(index.Host, { key: '7890927db517fe8e1133fce3e0fe977a441f2abf' }, index.h("div", { key: '34ad695eb04dd20a0b9893817a33df5020de7da1', ref: (el) => { this._floorFilterElement = el; } })));
264
+ return (index.h(index.Host, { key: '51da7a656e7f56ecc8cc4093d3dab856f77b5c7a' }, index.h("div", { key: 'd2fda7047f09a673216484f5c202f039fca20108', ref: (el) => { this._floorFilterElement = el; } })));
265
265
  }
266
266
  /**
267
267
  * StencilJS: Called once just after the component is first loaded.
@@ -428,7 +428,7 @@ const MapFullscreen = class {
428
428
  * Renders the component.
429
429
  */
430
430
  render() {
431
- return (index.h(index.Host, { key: '350ebb01c52631c9441b6554f5b8e26f8ca1418e' }, index.h("div", { key: 'b09344b721da2cc18b74fb21f8017446ba5baa03', class: "fullscreen-widget", ref: (el) => { this._fullscreenElement = el; } })));
431
+ return (index.h(index.Host, { key: '28d49dabefbb64024028bd6d7b7a104fafd81eae' }, index.h("div", { key: '443af45e3ce2c83a797ebfaac9e442d57d05c34c', class: "fullscreen-widget", ref: (el) => { this._fullscreenElement = el; } })));
432
432
  }
433
433
  /**
434
434
  * StencilJS: Called just after the component updates.
@@ -555,7 +555,7 @@ const MapLegend = class {
555
555
  * StencilJS: Renders the component.
556
556
  */
557
557
  render() {
558
- return (index.h(index.Host, { key: '2c5cfbfd4048347ace5ff3cf17d411e85454be7a' }, index.h("div", { key: '3927ef8af3a4a93fbd558480a96f982ca5b477a2', ref: (el) => { this._legendElement = el; } })));
558
+ return (index.h(index.Host, { key: '6b8c415650cb42727d7f09d3d4d92f8aebc7526b' }, index.h("div", { key: '36fd4c49d4ab19411fe309822e5b87104736282a', ref: (el) => { this._legendElement = el; } })));
559
559
  }
560
560
  /**
561
561
  * StencilJS: Called once just after the component is fully loaded and the first render() occurs.
@@ -613,6 +613,7 @@ const MapPicker = class {
613
613
  constructor(hostRef) {
614
614
  index.registerInstance(this, hostRef);
615
615
  this.mapInfoChange = index.createEvent(this, "mapInfoChange", 7);
616
+ this.locale = undefined;
616
617
  this.mapInfos = [];
617
618
  this.isMapLayout = undefined;
618
619
  this._mapListExpanded = false;
@@ -647,6 +648,14 @@ const MapPicker = class {
647
648
  this.mapInfoChange.emit(v);
648
649
  }
649
650
  }
651
+ /**
652
+ * Fetch translations when the locale is updated
653
+ */
654
+ async localeWatchHandler() {
655
+ // to support url param and language switcher
656
+ this.el.lang = this.locale;
657
+ await this._getTranslations();
658
+ }
650
659
  /**
651
660
  * Called each time the mapInfos prop is changed.
652
661
  */
@@ -706,7 +715,7 @@ const MapPicker = class {
706
715
  * Renders the component.
707
716
  */
708
717
  render() {
709
- return (index.h(index.Host, { key: '84cc43e195045e28fe01e35fe2f6f06cbe28fefd' }, this._getToolbar(), this._getMapNameList(this._mapListExpanded)));
718
+ return (index.h(index.Host, { key: 'c6f59dfac8acfc06775a3a38cefa1fd2c2708722' }, this._getToolbar(), this._getMapNameList(this._mapListExpanded)));
710
719
  }
711
720
  /**
712
721
  * Called once after the component has loaded
@@ -792,6 +801,7 @@ const MapPicker = class {
792
801
  }
793
802
  static get watchers() { return {
794
803
  "_webMapInfo": ["_webMapInfoWatchHandler"],
804
+ "locale": ["localeWatchHandler"],
795
805
  "mapInfos": ["mapInfosWatchHandler"]
796
806
  }; }
797
807
  };
@@ -890,7 +900,7 @@ const MapSearch = class {
890
900
  * Renders the component.
891
901
  */
892
902
  render() {
893
- return (index.h(index.Host, { key: '482d8d891f8c6905eefee8b26f0837a4c7c2e525' }, index.h("div", { key: '9a3993ab8a7506299cf2bdbfab23b47ac7fe3037', class: "search-widget", ref: (el) => { this._searchElement = el; } })));
903
+ return (index.h(index.Host, { key: '3464734a35e8cf89f033d508d21831eef665c9b2' }, index.h("div", { key: 'bf79025ba97e9f26681a6c6200dcdbc2ea227ce8', class: "search-widget", ref: (el) => { this._searchElement = el; } })));
894
904
  }
895
905
  //--------------------------------------------------------------------------
896
906
  //
@@ -1013,6 +1023,7 @@ const MapTools = class {
1013
1023
  this.enableSingleExpand = undefined;
1014
1024
  this.homeZoomToolsSize = "m";
1015
1025
  this.layout = "vertical";
1026
+ this.locale = undefined;
1016
1027
  this.mapView = undefined;
1017
1028
  this.mapWidgetsSize = "m";
1018
1029
  this.position = "top-right";
@@ -1068,6 +1079,14 @@ const MapTools = class {
1068
1079
  // Watch handlers
1069
1080
  //
1070
1081
  //--------------------------------------------------------------------------
1082
+ /**
1083
+ * Fetch translations when the locale is updated
1084
+ */
1085
+ async localeWatchHandler() {
1086
+ // to support url param and language switcher
1087
+ this.el.lang = this.locale;
1088
+ await this._getTranslations();
1089
+ }
1071
1090
  /**
1072
1091
  * When the mapView loads check if it supports floor awareness
1073
1092
  */
@@ -1188,7 +1207,7 @@ const MapTools = class {
1188
1207
  const toolMarginClass = this.enableSingleExpand ? "margin-top-1-2" : "";
1189
1208
  const toolOrder = this.toolOrder ? this.toolOrder : ["legend", "search", "fullscreen", "floorfilter"];
1190
1209
  const shadowClass = this.stackTools ? "box-shadow" : "";
1191
- return (index.h(index.Host, { key: '224b99c53e7f8ac9c072efbd2c2093c6c9684a9a' }, index.h("div", { key: 'ead56063c6aa28146d4c50044b6e7c98fd2ed1ab', class: containerClass }, this.enableSingleExpand ? (index.h("div", { class: "box-shadow" }, this._getActionGroup(toggleIcon, false, expandTip, () => this._toggleTools()))) : undefined, index.h("div", { key: '3fd7a2bd6225c10b89e282d4521486ad7eb5802a', class: `${toolMarginClass} ${shadowClass} ${toolsClass}` }, this._getMapWidgets(toolOrder))), index.h("basemap-gallery", { key: '43063099ee4b3a72d96b2ae6e4ca750dff109ae2', basemapConfig: this.basemapConfig, class: basemapClass, mapView: this.mapView, ref: (el) => { this._basemapElement = el; } }), index.h("map-search", { key: '5c149ea67f2a2450864e968a50acce565d95e0b6', class: searchClass, mapView: this.mapView, ref: (el) => { this._searchElement = el; }, resultGraphicEnabled: true, searchConfiguration: this.searchConfiguration }), index.h("map-legend", { key: 'd3add3a5f820c5d654fec793d3e6e46b6a8919a3', class: legendClass, mapView: this.mapView, ref: (el) => { this._legendElement = el; } }), index.h("map-fullscreen", { key: 'e18a3a5d021d76e7c8fa9ecf3903105d5a43bed2', class: fullscreenClass, mapView: this.mapView, onFullscreenStateChange: (evt) => this._fullscreenStateChange(evt.detail), ref: (el) => { this._fullscreenElement = el; } }), index.h("floor-filter", { key: 'cb5d92e503248818e9627ba4ee8d70c81495599d', class: floorFilterClass, enabled: this.enableFloorFilter, mapView: this.mapView, ref: (el) => { this._floorFilterElement = el; } })));
1210
+ return (index.h(index.Host, { key: '6287cfedcd109c621812cc823ee75487a166f7c0' }, index.h("div", { key: '6f3f1a8ff1fb9c1d671be044143eec4ca6708062', class: containerClass }, this.enableSingleExpand ? (index.h("div", { class: "box-shadow" }, this._getActionGroup(toggleIcon, false, expandTip, () => this._toggleTools()))) : undefined, index.h("div", { key: '156511461a6b6c4a98b47c62460754405f101574', class: `${toolMarginClass} ${shadowClass} ${toolsClass}` }, this._getMapWidgets(toolOrder))), index.h("basemap-gallery", { key: '7975fa8c2db0c3fc10534d538bc593f8543b330e', basemapConfig: this.basemapConfig, class: basemapClass, mapView: this.mapView, ref: (el) => { this._basemapElement = el; } }), index.h("map-search", { key: 'd7df2b0010bc62b9d2a9601018a962d3e8df2561', class: searchClass, mapView: this.mapView, ref: (el) => { this._searchElement = el; }, resultGraphicEnabled: true, searchConfiguration: this.searchConfiguration }), index.h("map-legend", { key: '1bd19b87e9def0b81251aa422ef0024a938bd93d', class: legendClass, mapView: this.mapView, ref: (el) => { this._legendElement = el; } }), index.h("map-fullscreen", { key: 'c5a68a86acc284af7659f467f2fe98c6168b619e', class: fullscreenClass, mapView: this.mapView, onFullscreenStateChange: (evt) => this._fullscreenStateChange(evt.detail), ref: (el) => { this._fullscreenElement = el; } }), index.h("floor-filter", { key: '8d596ddeb353ac85635aa3ef550708e4ec4d5706', class: floorFilterClass, enabled: this.enableFloorFilter, mapView: this.mapView, ref: (el) => { this._floorFilterElement = el; } })));
1192
1211
  }
1193
1212
  //--------------------------------------------------------------------------
1194
1213
  //
@@ -1371,6 +1390,7 @@ const MapTools = class {
1371
1390
  this._translations = messages[0];
1372
1391
  }
1373
1392
  static get watchers() { return {
1393
+ "locale": ["localeWatchHandler"],
1374
1394
  "mapView": ["mapViewWatchHandler"],
1375
1395
  "_showBasemapWidget": ["_showBasemapWidgetWatchHandler"],
1376
1396
  "_showFloorFilter": ["_showFloorFilterWatchHandler"],
@@ -30,6 +30,7 @@ const BufferTools = class {
30
30
  this.appearance = "text";
31
31
  this.distance = 0;
32
32
  this.geometries = [];
33
+ this.locale = undefined;
33
34
  this.max = undefined;
34
35
  this.min = 0;
35
36
  this.sliderTicks = 10;
@@ -76,6 +77,14 @@ const BufferTools = class {
76
77
  disabledWatchHandler() {
77
78
  this._buffer();
78
79
  }
80
+ /**
81
+ * Fetch translations when the locale is updated
82
+ */
83
+ async localeWatchHandler() {
84
+ // to support url param and language switcher
85
+ this.el.lang = this.locale;
86
+ await this._getTranslations();
87
+ }
79
88
  //--------------------------------------------------------------------------
80
89
  //
81
90
  // Methods (public)
@@ -127,7 +136,7 @@ const BufferTools = class {
127
136
  * Renders the component.
128
137
  */
129
138
  render() {
130
- return (index.h(index.Host, { key: 'fe60961aabf178fd32c4c85e8d52b9bc61a349d0' }, this.appearance === "text" ? this._getTextBoxDisplay() : this._getSliderDisplay()));
139
+ return (index.h(index.Host, { key: '4fbfb01938d285a2b022834f712013cea10945f9' }, this.appearance === "text" ? this._getTextBoxDisplay() : this._getSliderDisplay()));
131
140
  }
132
141
  //--------------------------------------------------------------------------
133
142
  //
@@ -292,7 +301,8 @@ const BufferTools = class {
292
301
  }
293
302
  static get watchers() { return {
294
303
  "geometries": ["geometriesWatchHandler"],
295
- "disabled": ["disabledWatchHandler"]
304
+ "disabled": ["disabledWatchHandler"],
305
+ "locale": ["localeWatchHandler"]
296
306
  }; }
297
307
  };
298
308
  BufferTools.style = BufferToolsStyle0;
@@ -366,6 +376,7 @@ const MapDrawTools = class {
366
376
  this.drawMode = interfaces.EDrawMode.SKETCH;
367
377
  this.editGraphicsEnabled = true;
368
378
  this.graphics = undefined;
379
+ this.locale = undefined;
369
380
  this.mapView = undefined;
370
381
  this.pointSymbol = undefined;
371
382
  this.polylineSymbol = undefined;
@@ -426,6 +437,14 @@ const MapDrawTools = class {
426
437
  this._sketchGraphicsLayer.addMany(v);
427
438
  }
428
439
  }
440
+ /**
441
+ * Fetch translations when the locale is updated
442
+ */
443
+ async localeWatchHandler() {
444
+ // to support url param and language switcher
445
+ this.el.lang = this.locale;
446
+ await this._getTranslations();
447
+ }
429
448
  /**
430
449
  * Called each time the mapView prop is changed.
431
450
  */
@@ -515,7 +534,7 @@ const MapDrawTools = class {
515
534
  "border" : "border esri-widget esri-sketch__panel";
516
535
  const undoRedoClass = this.drawMode === interfaces.EDrawMode.SKETCH ?
517
536
  "display-none" : "esri-widget esri-sketch__panel border-left esri-sketch__section";
518
- return (index.h(index.Host, { key: 'c6717ea80242f622168f49efeaf2cebf497ca09e' }, index.h("div", { key: '2dd805c704381cb411d69b757072371d91fb243d', class: containerClass }, index.h("div", { key: '28b81cb37f3e11f66656195fc10b4c170f8d8fe9', ref: (el) => { this._sketchElement = el; } }), index.h("div", { key: 'a6de7ee6dbf4f02eb355c032c7bd9bf4ec4426e9', class: undoRedoClass }, index.h("calcite-action", { key: '2efeab5db057e1657c3639a39ae4d4150d331776', disabled: !this.undoEnabled, icon: "undo", onClick: () => this._undo(), scale: "s", text: this._translations.undo }), index.h("calcite-action", { key: '770693e30a6cfb58f593bb471342ea34556fc8d4', disabled: !this.redoEnabled, icon: "redo", onClick: () => this._redo(), scale: "s", text: this._translations.redo })))));
537
+ return (index.h(index.Host, { key: 'c94ac0dde3ba21569ef86cb3ba5e92a427acd10f' }, index.h("div", { key: 'c699bf597d5a28d62dbba20fa6ddca38f406294f', class: containerClass }, index.h("div", { key: '78058d9155a650bb59e59ab9064a0286b7479759', ref: (el) => { this._sketchElement = el; } }), index.h("div", { key: '8cfc53dda2d1b272841acf40bd70b951111c359e', class: undoRedoClass }, index.h("calcite-action", { key: '5a8f0d0429f7d3df587957ae77ed935b0f99a5a0', disabled: !this.undoEnabled, icon: "undo", onClick: () => this._undo(), scale: "s", text: this._translations.undo }), index.h("calcite-action", { key: '163067cba4a163dc32d23c2d96cb2d9d967d287e', disabled: !this.redoEnabled, icon: "redo", onClick: () => this._redo(), scale: "s", text: this._translations.redo })))));
519
538
  }
520
539
  //--------------------------------------------------------------------------
521
540
  //
@@ -748,6 +767,7 @@ const MapDrawTools = class {
748
767
  }
749
768
  static get watchers() { return {
750
769
  "graphics": ["graphicsWatchHandler"],
770
+ "locale": ["localeWatchHandler"],
751
771
  "mapView": ["mapViewWatchHandler"]
752
772
  }; }
753
773
  };
@@ -590,6 +590,7 @@ const CreateFeature = class {
590
590
  this.mapView = undefined;
591
591
  this.selectedLayerId = undefined;
592
592
  this.customizeSubmit = false;
593
+ this.locale = undefined;
593
594
  this.searchConfiguration = undefined;
594
595
  this.isMobile = undefined;
595
596
  this.floorLevel = undefined;
@@ -693,6 +694,14 @@ const CreateFeature = class {
693
694
  // Watch handlers
694
695
  //
695
696
  //--------------------------------------------------------------------------
697
+ /**
698
+ * Fetch translations when the locale is updated
699
+ */
700
+ async localeWatchHandler() {
701
+ // to support url param and language switcher
702
+ this.el.lang = this.locale;
703
+ await this._getTranslations();
704
+ }
696
705
  /**
697
706
  * Called each time the mapView prop is changed.
698
707
  */
@@ -839,8 +848,8 @@ const CreateFeature = class {
839
848
  else if (this._currentPage === 'featureForm') {
840
849
  guidingMsg = this._translations.provideDetailsMsg;
841
850
  }
842
- return (index.h(index.Fragment, { key: '89634bf5707ea8390416d3087bfbe4e747bafcd7' }, showGuidingMsg && index.h("calcite-notice", { key: '4269224c2904f29060081f6cb8f383f1cf8d741d', class: "notice-msg", icon: "lightbulb", kind: "success", open: true, ref: el => this._calciteNotice = el }, index.h("div", { key: 'ecc3cca85c81d1cb7ab7cdc89b99e31afcb55f76', slot: "message" }, guidingMsg)), index.h("calcite-loader", { key: '34e492c0c469b39d4cfbcda17c4ba196ccb39eb8', class: loaderClass, label: "", scale: "s" }), index.h("div", { key: 'b2073ef4b6124b54038de34798cdf83337626023', class: featureFormClass, id: "feature-form" }), this.enableSearch &&
843
- index.h("div", { key: 'cd13e98b6a40d5d89d271b5785f797e9bfc19900', class: `search-widget ${showSearchWidget} ${featureFormClass}`, id: "search-widget-ref", ref: el => this._searchDiv = el }), index.h("div", { key: '2575b2d20f7713b05a2024e77452af93eb64e147', class: `${mobileMapClass}`, ref: (el) => { this._mapViewContainer = el; } })));
851
+ return (index.h(index.Fragment, { key: '788b2ebb85b603452d4b4de05711510f7480c895' }, showGuidingMsg && index.h("calcite-notice", { key: 'cf41e701f5a7605531fa6351acf13ea20e219f7a', class: "notice-msg", icon: "lightbulb", kind: "success", open: true, ref: el => this._calciteNotice = el }, index.h("div", { key: '1bb493a8e5a962c8a8c75ac37156edbf866c3916', slot: "message" }, guidingMsg)), index.h("calcite-loader", { key: '5d2e9a465cb7c6dbde8d941497fda87b4fc7c258', class: loaderClass, label: "", scale: "s" }), index.h("div", { key: '23b8651f4040443ba731173d1818b515b718b754', class: featureFormClass, id: "feature-form" }), this.enableSearch &&
852
+ index.h("div", { key: '7f628d09111295d46fbf7b9605999c2ef88c258d', class: `search-widget ${showSearchWidget} ${featureFormClass}`, id: "search-widget-ref", ref: el => this._searchDiv = el }), index.h("div", { key: '3def9aaab0a2f03076a6c4c645cf5a080bbb9e75', class: `${mobileMapClass}`, ref: (el) => { this._mapViewContainer = el; } })));
844
853
  }
845
854
  //--------------------------------------------------------------------------
846
855
  //
@@ -1245,6 +1254,7 @@ const CreateFeature = class {
1245
1254
  this._translations = messages[0];
1246
1255
  }
1247
1256
  static get watchers() { return {
1257
+ "locale": ["localeWatchHandler"],
1248
1258
  "mapView": ["mapViewWatchHandler"],
1249
1259
  "isMobile": ["isMobileHandler"],
1250
1260
  "_editorLoading": ["_editorLoadingWatchHandler"]
@@ -1263,6 +1273,7 @@ const EditCard = class {
1263
1273
  this.refreshGraphics = index.createEvent(this, "refreshGraphics", 7);
1264
1274
  this.enableEditGeometry = false;
1265
1275
  this.graphics = undefined;
1276
+ this.locale = undefined;
1266
1277
  this.mapView = undefined;
1267
1278
  this.open = false;
1268
1279
  this.graphicIndex = 0;
@@ -1346,6 +1357,14 @@ const EditCard = class {
1346
1357
  await this._closeEdit(true);
1347
1358
  }
1348
1359
  }
1360
+ /**
1361
+ * Fetch translations when the locale is updated
1362
+ */
1363
+ async localeWatchHandler() {
1364
+ // to support url param and language switcher
1365
+ this.el.lang = this.locale;
1366
+ await this._getTranslations();
1367
+ }
1349
1368
  async openWatchHandler(v) {
1350
1369
  if (v && this.graphics?.length > 0 && this.graphicIndex > -1) {
1351
1370
  this._editorLoading = true;
@@ -1430,7 +1449,7 @@ const EditCard = class {
1430
1449
  !this.graphics[0].layer.editingEnabled : true;
1431
1450
  const tableNodeClass = this._editorLoading ? "display-none" : "position-absolute";
1432
1451
  const loadingClass = this._editorLoading ? "" : "display-none";
1433
- return (index.h(index.Host, { key: 'ff6d1819cfd084e9f11a1c87d89c49d13035b289' }, index.h("div", { key: '797882acbcc26283719be4c08936e93b93931bcd', class: "position-absolute" }, editDisabled ? (index.h("calcite-notice", { kind: "warning", open: true, slot: "content-top", width: "full" }, index.h("div", { slot: "message" }, this._translations.enableEditing))) : undefined, index.h("div", { key: '34ce92da0b7c452f0fbae98d9f557543da59f5b8', class: "position-absolute" }, index.h("div", { key: '81af3854249e193d0d508c022cb4075be63f052d', class: tableNodeClass, id: "feature-form", ref: (el) => this._editContainer = el }), index.h("calcite-loader", { key: 'd7aa82424f87c47039a8a8f8c61240da7a5ca971', class: loadingClass, label: "", scale: "s" })))));
1452
+ return (index.h(index.Host, { key: '15ae3de9c8ab0a66a0185ffaafc27f03e19c77b7' }, index.h("div", { key: 'bbaa7dbc405259b64dfceca89e45abf6372c76c3', class: "position-absolute" }, editDisabled ? (index.h("calcite-notice", { kind: "warning", open: true, slot: "content-top", width: "full" }, index.h("div", { slot: "message" }, this._translations.enableEditing))) : undefined, index.h("div", { key: 'eb8b08fa0b08cf93581fb8e76d59bd8b5446770f', class: "position-absolute" }, index.h("div", { key: '03e525373c09fbcd4dad213738d97b99f1549975', class: tableNodeClass, id: "feature-form", ref: (el) => this._editContainer = el }), index.h("calcite-loader", { key: '1cc46d8f6499a90736e05c2eed9bff71aff35d12', class: loadingClass, label: "", scale: "s" })))));
1434
1453
  }
1435
1454
  //--------------------------------------------------------------------------
1436
1455
  //
@@ -1536,6 +1555,7 @@ const EditCard = class {
1536
1555
  }
1537
1556
  static get watchers() { return {
1538
1557
  "graphics": ["graphicsWatchHandler"],
1558
+ "locale": ["localeWatchHandler"],
1539
1559
  "open": ["openWatchHandler"]
1540
1560
  }; }
1541
1561
  };
@@ -1556,6 +1576,7 @@ const InfoCard = class {
1556
1576
  this.mapView = undefined;
1557
1577
  this.allowEditing = true;
1558
1578
  this.highlightEnabled = true;
1579
+ this.locale = undefined;
1559
1580
  this.paginationEnabled = true;
1560
1581
  this.position = 'absolute';
1561
1582
  this._alertOpen = false;
@@ -1620,6 +1641,19 @@ const InfoCard = class {
1620
1641
  async isMobileWatchHandler() {
1621
1642
  await this._initFeaturesWidget();
1622
1643
  }
1644
+ /**
1645
+ * Fetch translations when the locale is updated
1646
+ */
1647
+ async localeWatchHandler() {
1648
+ // to support url param and language switcher
1649
+ this.el.lang = this.locale;
1650
+ await this._getTranslations();
1651
+ if (this._features) {
1652
+ const graphics = [...this.graphics];
1653
+ this.graphics = [];
1654
+ this.graphics = graphics;
1655
+ }
1656
+ }
1623
1657
  /**
1624
1658
  * Watch for changes to the mapView and re-init the Feature widget
1625
1659
  */
@@ -1752,8 +1786,8 @@ const InfoCard = class {
1752
1786
  const id = this._features?.selectedFeature?.getObjectId();
1753
1787
  const ids = parseInt(id?.toString(), 10) > -1 ? [id] : [];
1754
1788
  const deleteEnabled = this._layer?.editingEnabled && this._layer?.capabilities?.operations?.supportsDelete;
1755
- return (index.h(index.Host, { key: 'e200fd8d903d1c3295247a45f352ae62394501d5' }, index.h("calcite-shell", { key: '0b467ed0b480944660ef2194b302070d56cb70e4', style: { position: this.position } }, this._getHeader(), index.h("calcite-loader", { key: 'cf6172f533f67274b04ac61af75f44ffe62cbc9e', class: loadingClass, label: this._translations.fetchingData }), index.h("div", { key: '06f3e0c61e14fe73c0fadd58c3cf2c7c03efff6d', class: "esri-widget feature-node " + featureNodeClass, id: this._featuresNodeId }), index.h("div", { key: '0f964afa075abbd27db827f90d189b9bc2a7c9d4', class: `${editButtonClass} width-100`, slot: "footer" }, this.allowEditing &&
1756
- index.h("div", { key: 'd518934d172425ecb46e6b28ea683427d8982382', class: "display-flex top-border padding-1-2" }, index.h("calcite-button", { key: '4d4f3583b6448e33e3d3ad1aba8c9178f71d75b8', appearance: "solid", id: "solutions-edit", onClick: () => this._openEditRecord(), width: "full" }, this._translations.edit), this.isMobile && deleteEnabled ? (index.h("delete-button", { class: "padding-inline-start-1 width-100", id: "solutions-delete", ids: ids, layer: this._layer, onEditsComplete: () => this._closePopup() })) : undefined, index.h("calcite-tooltip", { key: '5358ba4079f1906d23b6df5b1facb84eec9692d3', placement: "bottom", "reference-element": "solutions-edit" }, index.h("span", { key: '8466cfb97ce12e46a06ed665afe974377911e101' }, this._translations.edit)), this.isMobile ? (index.h("calcite-tooltip", { placement: "bottom", "reference-element": "solutions-delete" }, index.h("span", null, this._translations.delete))) : undefined), this.paginationEnabled && !nextBackDisabled && index.h("div", { key: '61c551cc2b0c0a2981daa9bf67c7e13318508ca6', class: `display-flex padding-1-2 button-container top-border ${nextBackClass}` }, index.h("div", { key: '379dc6697743caedf8fdbea16423b83e9e823a5b' }, index.h("calcite-button", { key: '616a52367d2f56db0104ce279951a81fcf60a376', appearance: 'transparent', disabled: nextBackDisabled, iconFlipRtl: "both", iconStart: "chevron-left", id: "solutions-back", onClick: () => this._back(), width: "full" }), index.h("calcite-tooltip", { key: 'f7f83e145c25591de025650fd358ca6200c4b6c5', placement: "top", "reference-element": "solutions-back" }, index.h("span", { key: '8afbde57b91ee8597de237db87efda7eabc10d69' }, this._translations.back))), index.h("calcite-action", { key: '23344d4abac515d089b8770d63181a989971aa33', class: 'pagination-action', iconFlipRtl: true, onClick: () => this._toggleListView(), scale: "s", text: "", textEnabled: true }, index.h("span", { key: 'a4c784c5a2c7dfeb9442a58f86961a3242f55055', class: "pagination-count" }, this._count)), index.h("div", { key: '75e33452a93e9a77f30505957e87b8758ab8d2dd' }, index.h("calcite-button", { key: '0283a96c401e1929588e28d6ec014eb28b93d1f1', appearance: "transparent", disabled: nextBackDisabled, iconFlipRtl: "both", iconStart: "chevron-right", id: "solutions-next", onClick: () => this._next(), width: "full" }), index.h("calcite-tooltip", { key: '658a26b1bca471b96799cb81ee941f0556619dc9', placement: "top", "reference-element": "solutions-next" }, index.h("span", { key: '9892d4ee61a1b5656711bb0a188282d9b46bd3f9' }, this._translations.next))))), index.h("edit-card", { key: '541268c24631ab526bf1b65313d39f3ca606cb6d', class: editClass, enableEditGeometry: this.enableEditGeometry, graphicIndex: this._features?.selectedFeatureIndex, graphics: this.graphics, mapView: this.mapView, open: this._editRecordOpen }), index.h("calcite-alert", { key: '1cdff00f5d7e72b5db220750d290593a1baf68c4', icon: "layer-broken", kind: "warning", label: "", onCalciteAlertClose: () => this._alertClosed(), open: this._alertOpen, placement: "top" }, index.h("div", { key: 'bb250c5906f0e998a794b5c02c22f9643fab16a9', slot: "title" }, this._translations.editDisabled), index.h("div", { key: 'd330d1ce74473fc76630d2607ab3ca2584aabbd7', slot: "message" }, this._translations.enableEditing)))));
1789
+ return (index.h(index.Host, { key: '54e47d0ec2be9149c3e667c9e940842804d96964' }, index.h("calcite-shell", { key: '14bb280d394ceaa74463979886ab09cdf393b26e', style: { position: this.position } }, this._getHeader(), index.h("calcite-loader", { key: '3226709e73de16c795c348513183b26b88b7a726', class: loadingClass, label: this._translations.fetchingData }), index.h("div", { key: 'ba4b0c34620c60e849bdf0ada785b9976156dd1c', class: "esri-widget feature-node " + featureNodeClass, id: this._featuresNodeId }), index.h("div", { key: '440a4d3c0530f97031df2e2ab9511ef6035fb5da', class: `${editButtonClass} width-100`, slot: "footer" }, this.allowEditing &&
1790
+ index.h("div", { key: '172b2e2cc10bdfb104057376ceba5d7f5f19ad61', class: "display-flex top-border padding-1-2" }, index.h("calcite-button", { key: '242daf0ec6c3fe4fcc11be4bbc19f810836714ec', appearance: "solid", id: "solutions-edit", onClick: () => this._openEditRecord(), width: "full" }, this._translations.edit), this.isMobile && deleteEnabled ? (index.h("delete-button", { class: "padding-inline-start-1 width-100", id: "solutions-delete", ids: ids, layer: this._layer, locale: this.locale, onEditsComplete: () => this._closePopup() })) : undefined, index.h("calcite-tooltip", { key: '760f8fcd1bcff2060e0a98e84a222107e55fef22', placement: "bottom", "reference-element": "solutions-edit" }, index.h("span", { key: '30656b92e9bdbf3a9548586d91fc23bce2da9db3' }, this._translations.edit)), this.isMobile ? (index.h("calcite-tooltip", { placement: "bottom", "reference-element": "solutions-delete" }, index.h("span", null, this._translations.delete))) : undefined), this.paginationEnabled && !nextBackDisabled && index.h("div", { key: '161902561c9686d74a511338dfc02efce0095af7', class: `display-flex padding-1-2 button-container top-border ${nextBackClass}` }, index.h("div", { key: 'afd1459e3f69f60d96103854fe3dae71f18fc41e' }, index.h("calcite-button", { key: '59063d7fa2cf886afca66857cb1f74e42789e59f', appearance: 'transparent', disabled: nextBackDisabled, iconFlipRtl: "both", iconStart: "chevron-left", id: "solutions-back", onClick: () => this._back(), width: "full" }), index.h("calcite-tooltip", { key: '412e00bc323494bb1e3a7dbeef59ab9bcd6ff8e0', placement: "top", "reference-element": "solutions-back" }, index.h("span", { key: '7c1512be35f16b4441c2a364e1b7a87e3c7caf97' }, this._translations.back))), index.h("calcite-action", { key: 'd4790efec0d13e6726ffe9d438683db6887d00b8', class: 'pagination-action', iconFlipRtl: true, onClick: () => this._toggleListView(), scale: "s", text: "", textEnabled: true }, index.h("span", { key: '98663d5c3b2f445db4e38cba98b8149c53cbc474', class: "pagination-count" }, this._count)), index.h("div", { key: '6ca88610950cf2852e2dc67588c77fd464ece3c5' }, index.h("calcite-button", { key: '577739ef819676dfd9cdee560a8cd22edcd9c6b7', appearance: "transparent", disabled: nextBackDisabled, iconFlipRtl: "both", iconStart: "chevron-right", id: "solutions-next", onClick: () => this._next(), width: "full" }), index.h("calcite-tooltip", { key: '73a4f907d1a2f46a980c451572f1ba1e1b0b0596', placement: "top", "reference-element": "solutions-next" }, index.h("span", { key: 'd5f67497df866592b30d6c328f9f45716eb16153' }, this._translations.next))))), index.h("edit-card", { key: 'c8094993be5203f464cea4f632c14dbefa263a73', class: editClass, enableEditGeometry: this.enableEditGeometry, graphicIndex: this._features?.selectedFeatureIndex, graphics: this.graphics, locale: this.locale, mapView: this.mapView, open: this._editRecordOpen }), index.h("calcite-alert", { key: '0b9fd2109d7c6b51b91088ecbec50956a2d8d3d8', icon: "layer-broken", kind: "warning", label: "", onCalciteAlertClose: () => this._alertClosed(), open: this._alertOpen, placement: "top" }, index.h("div", { key: 'c8b7b452430d6fedda5288fd58efae5526adeda7', slot: "title" }, this._translations.editDisabled), index.h("div", { key: 'b2dc954d43bb08908723f70796df5c77108d92d8', slot: "message" }, this._translations.enableEditing)))));
1757
1791
  }
1758
1792
  //--------------------------------------------------------------------------
1759
1793
  //
@@ -1922,6 +1956,7 @@ const InfoCard = class {
1922
1956
  static get watchers() { return {
1923
1957
  "graphics": ["graphicsWatchHandler"],
1924
1958
  "isMobile": ["isMobileWatchHandler"],
1959
+ "locale": ["localeWatchHandler"],
1925
1960
  "mapView": ["mapViewWatchHandler"]
1926
1961
  }; }
1927
1962
  };
@@ -1221,6 +1221,7 @@ const MapLayerPicker = class {
1221
1221
  this.enabledTableIds = [];
1222
1222
  this.height = undefined;
1223
1223
  this.isMobile = undefined;
1224
+ this.locale = undefined;
1224
1225
  this.mapView = undefined;
1225
1226
  this.onlyShowUpdatableLayers = undefined;
1226
1227
  this.placeholderIcon = "";
@@ -1264,6 +1265,14 @@ const MapLayerPicker = class {
1264
1265
  // Watch handlers
1265
1266
  //
1266
1267
  //--------------------------------------------------------------------------
1268
+ /**
1269
+ * Fetch translations when the locale is updated
1270
+ */
1271
+ async localeWatchHandler() {
1272
+ // to support url param and language switcher
1273
+ this.el.lang = this.locale;
1274
+ await this._getTranslations();
1275
+ }
1267
1276
  /**
1268
1277
  * Called each time the mapView prop is changed.
1269
1278
  */
@@ -1345,7 +1354,7 @@ const MapLayerPicker = class {
1345
1354
  const id = "map-layer-picker";
1346
1355
  let style = this.height > 0 ? { "height": `${this.height.toString()}px` } : {};
1347
1356
  style = { ...style, "display": this.display };
1348
- return (index.h(index.Host, { key: 'a876ec719aede5ec43af1b40f09e4c9e6b693f34' }, index.h("div", { key: '78e720facdf3c124208ff8dbde18a056234e63ac', class: "map-layer-picker-container", style: style }, index.h("div", { key: '6bb47ccb7c28565b140d79b6af6399a235e3ccf9', class: "map-layer-picker", style: style }, !this._hasValidLayers ? this._getInvalidPlaceholder() :
1357
+ return (index.h(index.Host, { key: '33b19dbf87019ad071242aaa688e49f35e2c2808' }, index.h("div", { key: '85e781782fc529acae68b1137f8ec1a317b452a0', class: "map-layer-picker-container", style: style }, index.h("div", { key: 'c257b179b56939d998650c676e835c9976d9fb21', class: "map-layer-picker", style: style }, !this._hasValidLayers ? this._getInvalidPlaceholder() :
1349
1358
  !this._hasMultipleLayers && this.showSingleLayerAsLabel ? this._getSingleLayerPlaceholder() :
1350
1359
  this.type === "combobox" ? this._getCombobox(id) :
1351
1360
  this.type === "select" ? this._getSelect(id) : this._getDropdown(id)))));
@@ -1596,6 +1605,7 @@ const MapLayerPicker = class {
1596
1605
  this._translations = messages[0];
1597
1606
  }
1598
1607
  static get watchers() { return {
1608
+ "locale": ["localeWatchHandler"],
1599
1609
  "mapView": ["mapViewWatchHandler"]
1600
1610
  }; }
1601
1611
  };
@@ -165,6 +165,7 @@ const CreateRelatedFeature = class {
165
165
  this.fail = index.createEvent(this, "fail", 7);
166
166
  this.isActionPending = index.createEvent(this, "isActionPending", 7);
167
167
  this.formReady = index.createEvent(this, "formReady", 7);
168
+ this.locale = undefined;
168
169
  this.mapView = undefined;
169
170
  this.table = undefined;
170
171
  this.selectedFeature = undefined;
@@ -210,6 +211,14 @@ const CreateRelatedFeature = class {
210
211
  // Watch handlers
211
212
  //
212
213
  //--------------------------------------------------------------------------
214
+ /**
215
+ * Fetch translations when the locale is updated
216
+ */
217
+ async localeWatchHandler() {
218
+ // to support url param and language switcher
219
+ this.el.lang = this.locale;
220
+ await this._getTranslations();
221
+ }
213
222
  /**
214
223
  * Called each time the mapView prop is changed.
215
224
  */
@@ -300,7 +309,7 @@ const CreateRelatedFeature = class {
300
309
  }
301
310
  render() {
302
311
  const loaderClass = this._editorLoading ? "" : "display-none";
303
- return (index.h(index.Fragment, { key: '641b4f6f51bce04b6263a1d7dc72a31839df970d' }, this.showGuidingMsg && index.h("calcite-notice", { key: '1a6e577bcc0632a7bc69dd411a692062a7ad176e', class: "notice-msg", icon: "lightbulb", kind: "success", open: true }, index.h("div", { key: '55c5836314fcca69a259be3a36e34c527edcabf3', slot: "message" }, this._translations.provideDetailsMsg)), index.h("calcite-loader", { key: '18c5603a4a75c67a160a71caa15e94790f66d60b', class: loaderClass, label: "", scale: "s" })));
312
+ return (index.h(index.Fragment, { key: '48fffd1e9dd429d339d9a72e35f5c31561fc076f' }, this.showGuidingMsg && index.h("calcite-notice", { key: '9a6f700c135bb7593e4338981a30531e3d9fba8a', class: "notice-msg", icon: "lightbulb", kind: "success", open: true }, index.h("div", { key: '7044e923a9fab833a7a6fe0bb97fa688d7e6eecc', slot: "message" }, this._translations.provideDetailsMsg)), index.h("calcite-loader", { key: '15599ae77e451d220689c13098a31c5788714306', class: loaderClass, label: "", scale: "s" })));
304
313
  }
305
314
  /**
306
315
  * StencilJS: Called once just after the component is fully loaded and the first render() occurs.
@@ -487,6 +496,7 @@ const CreateRelatedFeature = class {
487
496
  this._translations = messages[0];
488
497
  }
489
498
  static get watchers() { return {
499
+ "locale": ["localeWatchHandler"],
490
500
  "mapView": ["mapViewWatchHandler"],
491
501
  "_editorLoading": ["_editorLoadingWatchHandler"]
492
502
  }; }
@@ -508,6 +518,7 @@ const FeatureDetails = class {
508
518
  this.graphics = undefined;
509
519
  this.reportingOptions = undefined;
510
520
  this.layerItemsHash = undefined;
521
+ this.locale = undefined;
511
522
  this.showUserImageInCommentsList = false;
512
523
  this._likeFieldAvailable = false;
513
524
  this._likeCount = 0;
@@ -656,12 +667,12 @@ const FeatureDetails = class {
656
667
  render() {
657
668
  //When related features found show comments list of only those features else comments list will be empty
658
669
  const commentsListWhereClause = this._relatedFeaturesOIDs?.length > 0 ? `objectId in(${this._relatedFeaturesOIDs})` : '1=0';
659
- return (index.h("calcite-panel", { key: 'e09b693348a5d446f6ea3c774af3c2fd14e66daf', "full-height": true }, index.h("info-card", { key: '4483a15e4e0bdd62c2c21bc4622d3bbddf3cd113', allowEditing: false, graphics: this.graphics, highlightEnabled: false, isLoading: false, isMobile: false, mapView: this.mapView, onSelectionChanged: (e) => { this.featureSelectionChange.emit(e.detail); }, paginationEnabled: false, position: "relative", ref: el => this._infoCard = el }), (this._likeFieldAvailable || this._dislikeFieldAvailable || this._commentsAvailable) &&
660
- index.h("div", { key: 'ac24bb5fd56a7561e78d90c3a1b10027cfab6b2b', class: "buttons-container" }, this._commentsAvailable &&
661
- index.h("calcite-button", { key: '676c5da52465f295212668f8db9b353e219070f2', appearance: "transparent", iconEnd: "speech-bubble", kind: "neutral", onClick: () => { this.addComment.emit(); }, scale: 'm' }, this._relatedFeaturesOIDs.length), this._likeFieldAvailable &&
662
- index.h("calcite-button", { key: 'b3fe54ea2fcf5361e6ec0a91bd52775d24408d77', appearance: "transparent", iconEnd: "thumbs-up", kind: this._isLikeBtnClicked ? "brand" : "neutral", loading: this._updating, onClick: this.onLikeButtonClick.bind(this), scale: 'm' }, this._likeCount ?? this._selectedGraphic.attributes[this._likeField] ?? 0), this._dislikeFieldAvailable &&
663
- index.h("calcite-button", { key: 'd83c9b9fdd287e07670ca9a5aeafd1a4cc38c0f8', appearance: "transparent", iconEnd: "thumbs-down", kind: this._isDislikeBtnClicked ? "brand" : "neutral", loading: this._updating, onClick: this.onDislikeButtonClick.bind(this), scale: 'm' }, this._disLikeCount ?? this._selectedGraphic.attributes[this._dislikeField] ?? 0)), this.relatedTableId && this._commentsAvailable &&
664
- index.h("feature-list", { key: '9d72181a778e08b632d802689a66fa21924cd5b3', class: "height-full", mapView: this.mapView, onFeatureSelect: (e) => { this.commentSelect.emit(e.detail); }, pageSize: 5, ref: el => this._commentsList = el, selectedLayerId: this.relatedTableId, showErrorWhenNoFeatures: false, showInitialLoading: false, showUserImageInList: this.showUserImageInCommentsList, textSize: "small", whereClause: commentsListWhereClause })));
670
+ return (index.h("calcite-panel", { key: 'be7bebe9da698d963a2602fcacb95ac7206ac1e9', "full-height": true }, index.h("info-card", { key: '1e069f52d59d42f3e2b88463ea7c536c65a0a6b5', allowEditing: false, graphics: this.graphics, highlightEnabled: false, isLoading: false, isMobile: false, locale: this.locale, mapView: this.mapView, onSelectionChanged: (e) => { this.featureSelectionChange.emit(e.detail); }, paginationEnabled: false, position: "relative", ref: el => this._infoCard = el }), (this._likeFieldAvailable || this._dislikeFieldAvailable || this._commentsAvailable) &&
671
+ index.h("div", { key: 'd53f5a1726e4c6299ffd04e266d84005181645f6', class: "buttons-container" }, this._commentsAvailable &&
672
+ index.h("calcite-button", { key: '4c2616cc9e0107258f5313b66ae96fa31fe582c5', appearance: "transparent", iconEnd: "speech-bubble", kind: "neutral", onClick: () => { this.addComment.emit(); }, scale: 'm' }, this._relatedFeaturesOIDs.length), this._likeFieldAvailable &&
673
+ index.h("calcite-button", { key: '7c87aa085df04a8b58625097c2ce70e5853b82f9', appearance: "transparent", iconEnd: "thumbs-up", kind: this._isLikeBtnClicked ? "brand" : "neutral", loading: this._updating, onClick: this.onLikeButtonClick.bind(this), scale: 'm' }, this._likeCount ?? this._selectedGraphic.attributes[this._likeField] ?? 0), this._dislikeFieldAvailable &&
674
+ index.h("calcite-button", { key: '59eb48b91fc2a394cafdcbeeebf5baafae9a8c9b', appearance: "transparent", iconEnd: "thumbs-down", kind: this._isDislikeBtnClicked ? "brand" : "neutral", loading: this._updating, onClick: this.onDislikeButtonClick.bind(this), scale: 'm' }, this._disLikeCount ?? this._selectedGraphic.attributes[this._dislikeField] ?? 0)), this.relatedTableId && this._commentsAvailable &&
675
+ index.h("feature-list", { key: 'f34ee203202944666c40e14bdfdc59265414fbe1', class: "height-full", locale: this.locale, mapView: this.mapView, onFeatureSelect: (e) => { this.commentSelect.emit(e.detail); }, pageSize: 5, ref: el => this._commentsList = el, selectedLayerId: this.relatedTableId, showErrorWhenNoFeatures: false, showInitialLoading: false, showUserImageInList: this.showUserImageInCommentsList, textSize: "small", whereClause: commentsListWhereClause })));
665
676
  }
666
677
  /**
667
678
  * Load esri javascript api modules
@@ -946,6 +957,7 @@ const LayerList = class {
946
957
  this.layersListLoaded = index.createEvent(this, "layersListLoaded", 7);
947
958
  this.mapView = undefined;
948
959
  this.layers = undefined;
960
+ this.locale = undefined;
949
961
  this.showFeatureCount = true;
950
962
  this.showNextIcon = false;
951
963
  this.applyLayerViewFilter = false;
@@ -969,6 +981,14 @@ const LayerList = class {
969
981
  // Watch handlers
970
982
  //
971
983
  //--------------------------------------------------------------------------
984
+ /**
985
+ * Fetch translations when the locale is updated
986
+ */
987
+ async localeWatchHandler() {
988
+ // to support url param and language switcher
989
+ this.el.lang = this.locale;
990
+ await this._getTranslations();
991
+ }
972
992
  //--------------------------------------------------------------------------
973
993
  //
974
994
  // Methods (public)
@@ -1017,9 +1037,9 @@ const LayerList = class {
1017
1037
  * Renders the component.
1018
1038
  */
1019
1039
  render() {
1020
- return (index.h(index.Fragment, { key: 'f8e0c21d4ff87d663a1e0f00f1d9ef1123091db9' }, this._isLoading && index.h("calcite-loader", { key: '42058be6b41126e58d33895bc237b174e55a16ed', label: "", scale: "m" }), !this._isLoading && this.mapView && this._noLayersToDisplay &&
1021
- index.h("calcite-notice", { key: '89d9073a156f07379699cc5b67bf9ba54654cc68', class: "error-msg", icon: "layers-reference", kind: "danger", open: true }, index.h("div", { key: '730b8dcca79bd45a7a6eecb5030626d1dcd01238', slot: "title" }, this._translations.error), index.h("div", { key: '656e8276ffab75734909348f49f11492de1d5a8b', slot: "message" }, this._translations.noLayerToDisplayErrorMsg)), !this._isLoading && this.mapView &&
1022
- index.h("calcite-list", { key: '1d2206d3163b6c5ed8511e32ab296f0025889824', "selection-appearance": "border", "selection-mode": "none" }, this.renderLayerList())));
1040
+ return (index.h(index.Fragment, { key: 'a151c8fd65c50aacb23dcd0c858e52c0c7cd7e5e' }, this._isLoading && index.h("calcite-loader", { key: '544a134bccc29048ca80b996844cc944bcd97a24', label: "", scale: "m" }), !this._isLoading && this.mapView && this._noLayersToDisplay &&
1041
+ index.h("calcite-notice", { key: '7557f91c8c3349c120c043ea59458b4c834dce2e', class: "error-msg", icon: "layers-reference", kind: "danger", open: true }, index.h("div", { key: 'ea8b20f8c7da5053641cfad56e3395ae3c6286f5', slot: "title" }, this._translations.error), index.h("div", { key: '38aaed7b456aba0b1dd70183be03e9133834dfb4', slot: "message" }, this._translations.noLayerToDisplayErrorMsg)), !this._isLoading && this.mapView &&
1042
+ index.h("calcite-list", { key: '817de422b8387cafb7f9a17515cf9b3c13998522', "selection-appearance": "border", "selection-mode": "none" }, this.renderLayerList())));
1023
1043
  }
1024
1044
  //--------------------------------------------------------------------------
1025
1045
  //
@@ -1145,6 +1165,9 @@ const LayerList = class {
1145
1165
  const messages = await locale.getLocaleComponentStrings(this.el);
1146
1166
  this._translations = messages[0];
1147
1167
  }
1168
+ static get watchers() { return {
1169
+ "locale": ["localeWatchHandler"]
1170
+ }; }
1148
1171
  };
1149
1172
  LayerList.style = LayerListStyle0;
1150
1173