@esri/solutions-components 0.10.39 → 0.10.40

Sign up to get free protection for your applications and to get access to all the features.
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
@@ -21059,6 +21059,19 @@ const SpatialRefStyle0 = spatialRefCss;
21059
21059
 
21060
21060
  const SpatialRef$1 = /*@__PURE__*/ proxyCustomElement(class SpatialRef extends HTMLElement {
21061
21061
  get el() { return this; }
21062
+ //--------------------------------------------------------------------------
21063
+ //
21064
+ // Watch handlers
21065
+ //
21066
+ //--------------------------------------------------------------------------
21067
+ /**
21068
+ * Fetch translations when the locale is updated
21069
+ */
21070
+ async localeWatchHandler() {
21071
+ // to support url param and language switcher
21072
+ this.el.lang = this.locale;
21073
+ await this._getTranslations();
21074
+ }
21062
21075
  valueChanged(newValue) {
21063
21076
  this._spatialRef = this._createSpatialRefDisplay(newValue);
21064
21077
  const searchBox = document.getElementById("calcite-sr-search");
@@ -21085,6 +21098,7 @@ const SpatialRef$1 = /*@__PURE__*/ proxyCustomElement(class SpatialRef extends H
21085
21098
  this.spatialReferenceChange = createEvent(this, "spatialReferenceChange", 7);
21086
21099
  this.defaultWkid = 102100;
21087
21100
  this.disabled = false;
21101
+ this.locale = undefined;
21088
21102
  this.value = this.defaultWkid.toString();
21089
21103
  this._cachedValue = this.defaultWkid.toString();
21090
21104
  this._spatialRef = undefined;
@@ -21102,7 +21116,7 @@ const SpatialRef$1 = /*@__PURE__*/ proxyCustomElement(class SpatialRef extends H
21102
21116
  * Renders the component.
21103
21117
  */
21104
21118
  render() {
21105
- return (h(Host, { key: '1da00c18c49d769c98e236f73e648dd880df6e2a' }, h("div", { key: '61da287f6865c90a1b4b523cb13d689247255573' }, h("calcite-input", { key: 'e129b4a009fa12f9aff37384debe673dbed31774', disabled: this.disabled, id: "calcite-sr-search", onKeyUp: (evt) => this._searchInputKeyDown(evt), placeholder: this._translations.spatialReferencePlaceholder }), h("calcite-tree", { key: '125c006a62fda7fd1204c81374c119b562424e26', id: "calcite-sr-tree", slot: "children" }, this._getTreeContent()))));
21119
+ return (h(Host, { key: '348d114f0c8c9571b4beff34a946a09b734083f9' }, h("div", { key: '2f6bb626834a50690fd523744a4c2adeddfb0f9f' }, h("calcite-input", { key: '4b3d9354f1c1983c49360eb9f3a0a921288f50c2', disabled: this.disabled, id: "calcite-sr-search", onKeyUp: (evt) => this._searchInputKeyDown(evt), placeholder: this._translations.spatialReferencePlaceholder }), h("calcite-tree", { key: '883819c424636a79957d375f0d613d32827e5ebe', id: "calcite-sr-tree", slot: "children" }, this._getTreeContent()))));
21106
21120
  }
21107
21121
  _lastHighlightedSref;
21108
21122
  //--------------------------------------------------------------------------
@@ -21300,12 +21314,14 @@ const SpatialRef$1 = /*@__PURE__*/ proxyCustomElement(class SpatialRef extends H
21300
21314
  this._translations = translations[0];
21301
21315
  }
21302
21316
  static get watchers() { return {
21317
+ "locale": ["localeWatchHandler"],
21303
21318
  "value": ["valueChanged"]
21304
21319
  }; }
21305
21320
  static get style() { return SpatialRefStyle0; }
21306
21321
  }, [0, "spatial-ref", {
21307
21322
  "defaultWkid": [1538, "default-wkid"],
21308
21323
  "disabled": [1540],
21324
+ "locale": [1],
21309
21325
  "value": [1537],
21310
21326
  "_cachedValue": [32],
21311
21327
  "_spatialRef": [32],
@@ -21315,6 +21331,7 @@ const SpatialRef$1 = /*@__PURE__*/ proxyCustomElement(class SpatialRef extends H
21315
21331
  "getSpatialRef": [64],
21316
21332
  "wkidToDisplay": [64]
21317
21333
  }, undefined, {
21334
+ "locale": ["localeWatchHandler"],
21318
21335
  "value": ["valueChanged"]
21319
21336
  }]);
21320
21337
  function defineCustomElement$1() {
@@ -257,7 +257,7 @@ const FloorFilter = class {
257
257
  * Renders the component.
258
258
  */
259
259
  render() {
260
- return (h(Host, { key: '7890927db517fe8e1133fce3e0fe977a441f2abf' }, h("div", { key: '34ad695eb04dd20a0b9893817a33df5020de7da1', ref: (el) => { this._floorFilterElement = el; } })));
260
+ return (h(Host, { key: '51da7a656e7f56ecc8cc4093d3dab856f77b5c7a' }, h("div", { key: 'd2fda7047f09a673216484f5c202f039fca20108', ref: (el) => { this._floorFilterElement = el; } })));
261
261
  }
262
262
  /**
263
263
  * StencilJS: Called once just after the component is first loaded.
@@ -424,7 +424,7 @@ const MapFullscreen = class {
424
424
  * Renders the component.
425
425
  */
426
426
  render() {
427
- return (h(Host, { key: '350ebb01c52631c9441b6554f5b8e26f8ca1418e' }, h("div", { key: 'b09344b721da2cc18b74fb21f8017446ba5baa03', class: "fullscreen-widget", ref: (el) => { this._fullscreenElement = el; } })));
427
+ return (h(Host, { key: '28d49dabefbb64024028bd6d7b7a104fafd81eae' }, h("div", { key: '443af45e3ce2c83a797ebfaac9e442d57d05c34c', class: "fullscreen-widget", ref: (el) => { this._fullscreenElement = el; } })));
428
428
  }
429
429
  /**
430
430
  * StencilJS: Called just after the component updates.
@@ -551,7 +551,7 @@ const MapLegend = class {
551
551
  * StencilJS: Renders the component.
552
552
  */
553
553
  render() {
554
- return (h(Host, { key: '2c5cfbfd4048347ace5ff3cf17d411e85454be7a' }, h("div", { key: '3927ef8af3a4a93fbd558480a96f982ca5b477a2', ref: (el) => { this._legendElement = el; } })));
554
+ return (h(Host, { key: '6b8c415650cb42727d7f09d3d4d92f8aebc7526b' }, h("div", { key: '36fd4c49d4ab19411fe309822e5b87104736282a', ref: (el) => { this._legendElement = el; } })));
555
555
  }
556
556
  /**
557
557
  * StencilJS: Called once just after the component is fully loaded and the first render() occurs.
@@ -609,6 +609,7 @@ const MapPicker = class {
609
609
  constructor(hostRef) {
610
610
  registerInstance(this, hostRef);
611
611
  this.mapInfoChange = createEvent(this, "mapInfoChange", 7);
612
+ this.locale = undefined;
612
613
  this.mapInfos = [];
613
614
  this.isMapLayout = undefined;
614
615
  this._mapListExpanded = false;
@@ -643,6 +644,14 @@ const MapPicker = class {
643
644
  this.mapInfoChange.emit(v);
644
645
  }
645
646
  }
647
+ /**
648
+ * Fetch translations when the locale is updated
649
+ */
650
+ async localeWatchHandler() {
651
+ // to support url param and language switcher
652
+ this.el.lang = this.locale;
653
+ await this._getTranslations();
654
+ }
646
655
  /**
647
656
  * Called each time the mapInfos prop is changed.
648
657
  */
@@ -702,7 +711,7 @@ const MapPicker = class {
702
711
  * Renders the component.
703
712
  */
704
713
  render() {
705
- return (h(Host, { key: '84cc43e195045e28fe01e35fe2f6f06cbe28fefd' }, this._getToolbar(), this._getMapNameList(this._mapListExpanded)));
714
+ return (h(Host, { key: 'c6f59dfac8acfc06775a3a38cefa1fd2c2708722' }, this._getToolbar(), this._getMapNameList(this._mapListExpanded)));
706
715
  }
707
716
  /**
708
717
  * Called once after the component has loaded
@@ -788,6 +797,7 @@ const MapPicker = class {
788
797
  }
789
798
  static get watchers() { return {
790
799
  "_webMapInfo": ["_webMapInfoWatchHandler"],
800
+ "locale": ["localeWatchHandler"],
791
801
  "mapInfos": ["mapInfosWatchHandler"]
792
802
  }; }
793
803
  };
@@ -886,7 +896,7 @@ const MapSearch = class {
886
896
  * Renders the component.
887
897
  */
888
898
  render() {
889
- return (h(Host, { key: '482d8d891f8c6905eefee8b26f0837a4c7c2e525' }, h("div", { key: '9a3993ab8a7506299cf2bdbfab23b47ac7fe3037', class: "search-widget", ref: (el) => { this._searchElement = el; } })));
899
+ return (h(Host, { key: '3464734a35e8cf89f033d508d21831eef665c9b2' }, h("div", { key: 'bf79025ba97e9f26681a6c6200dcdbc2ea227ce8', class: "search-widget", ref: (el) => { this._searchElement = el; } })));
890
900
  }
891
901
  //--------------------------------------------------------------------------
892
902
  //
@@ -1009,6 +1019,7 @@ const MapTools = class {
1009
1019
  this.enableSingleExpand = undefined;
1010
1020
  this.homeZoomToolsSize = "m";
1011
1021
  this.layout = "vertical";
1022
+ this.locale = undefined;
1012
1023
  this.mapView = undefined;
1013
1024
  this.mapWidgetsSize = "m";
1014
1025
  this.position = "top-right";
@@ -1064,6 +1075,14 @@ const MapTools = class {
1064
1075
  // Watch handlers
1065
1076
  //
1066
1077
  //--------------------------------------------------------------------------
1078
+ /**
1079
+ * Fetch translations when the locale is updated
1080
+ */
1081
+ async localeWatchHandler() {
1082
+ // to support url param and language switcher
1083
+ this.el.lang = this.locale;
1084
+ await this._getTranslations();
1085
+ }
1067
1086
  /**
1068
1087
  * When the mapView loads check if it supports floor awareness
1069
1088
  */
@@ -1184,7 +1203,7 @@ const MapTools = class {
1184
1203
  const toolMarginClass = this.enableSingleExpand ? "margin-top-1-2" : "";
1185
1204
  const toolOrder = this.toolOrder ? this.toolOrder : ["legend", "search", "fullscreen", "floorfilter"];
1186
1205
  const shadowClass = this.stackTools ? "box-shadow" : "";
1187
- return (h(Host, { key: '224b99c53e7f8ac9c072efbd2c2093c6c9684a9a' }, h("div", { key: 'ead56063c6aa28146d4c50044b6e7c98fd2ed1ab', class: containerClass }, this.enableSingleExpand ? (h("div", { class: "box-shadow" }, this._getActionGroup(toggleIcon, false, expandTip, () => this._toggleTools()))) : undefined, h("div", { key: '3fd7a2bd6225c10b89e282d4521486ad7eb5802a', class: `${toolMarginClass} ${shadowClass} ${toolsClass}` }, this._getMapWidgets(toolOrder))), h("basemap-gallery", { key: '43063099ee4b3a72d96b2ae6e4ca750dff109ae2', basemapConfig: this.basemapConfig, class: basemapClass, mapView: this.mapView, ref: (el) => { this._basemapElement = el; } }), h("map-search", { key: '5c149ea67f2a2450864e968a50acce565d95e0b6', class: searchClass, mapView: this.mapView, ref: (el) => { this._searchElement = el; }, resultGraphicEnabled: true, searchConfiguration: this.searchConfiguration }), h("map-legend", { key: 'd3add3a5f820c5d654fec793d3e6e46b6a8919a3', class: legendClass, mapView: this.mapView, ref: (el) => { this._legendElement = el; } }), h("map-fullscreen", { key: 'e18a3a5d021d76e7c8fa9ecf3903105d5a43bed2', class: fullscreenClass, mapView: this.mapView, onFullscreenStateChange: (evt) => this._fullscreenStateChange(evt.detail), ref: (el) => { this._fullscreenElement = el; } }), h("floor-filter", { key: 'cb5d92e503248818e9627ba4ee8d70c81495599d', class: floorFilterClass, enabled: this.enableFloorFilter, mapView: this.mapView, ref: (el) => { this._floorFilterElement = el; } })));
1206
+ return (h(Host, { key: '6287cfedcd109c621812cc823ee75487a166f7c0' }, h("div", { key: '6f3f1a8ff1fb9c1d671be044143eec4ca6708062', class: containerClass }, this.enableSingleExpand ? (h("div", { class: "box-shadow" }, this._getActionGroup(toggleIcon, false, expandTip, () => this._toggleTools()))) : undefined, h("div", { key: '156511461a6b6c4a98b47c62460754405f101574', class: `${toolMarginClass} ${shadowClass} ${toolsClass}` }, this._getMapWidgets(toolOrder))), h("basemap-gallery", { key: '7975fa8c2db0c3fc10534d538bc593f8543b330e', basemapConfig: this.basemapConfig, class: basemapClass, mapView: this.mapView, ref: (el) => { this._basemapElement = el; } }), h("map-search", { key: 'd7df2b0010bc62b9d2a9601018a962d3e8df2561', class: searchClass, mapView: this.mapView, ref: (el) => { this._searchElement = el; }, resultGraphicEnabled: true, searchConfiguration: this.searchConfiguration }), h("map-legend", { key: '1bd19b87e9def0b81251aa422ef0024a938bd93d', class: legendClass, mapView: this.mapView, ref: (el) => { this._legendElement = el; } }), h("map-fullscreen", { key: 'c5a68a86acc284af7659f467f2fe98c6168b619e', class: fullscreenClass, mapView: this.mapView, onFullscreenStateChange: (evt) => this._fullscreenStateChange(evt.detail), ref: (el) => { this._fullscreenElement = el; } }), h("floor-filter", { key: '8d596ddeb353ac85635aa3ef550708e4ec4d5706', class: floorFilterClass, enabled: this.enableFloorFilter, mapView: this.mapView, ref: (el) => { this._floorFilterElement = el; } })));
1188
1207
  }
1189
1208
  //--------------------------------------------------------------------------
1190
1209
  //
@@ -1367,6 +1386,7 @@ const MapTools = class {
1367
1386
  this._translations = messages[0];
1368
1387
  }
1369
1388
  static get watchers() { return {
1389
+ "locale": ["localeWatchHandler"],
1370
1390
  "mapView": ["mapViewWatchHandler"],
1371
1391
  "_showBasemapWidget": ["_showBasemapWidgetWatchHandler"],
1372
1392
  "_showFloorFilter": ["_showFloorFilterWatchHandler"],
@@ -26,6 +26,7 @@ const BufferTools = class {
26
26
  this.appearance = "text";
27
27
  this.distance = 0;
28
28
  this.geometries = [];
29
+ this.locale = undefined;
29
30
  this.max = undefined;
30
31
  this.min = 0;
31
32
  this.sliderTicks = 10;
@@ -72,6 +73,14 @@ const BufferTools = class {
72
73
  disabledWatchHandler() {
73
74
  this._buffer();
74
75
  }
76
+ /**
77
+ * Fetch translations when the locale is updated
78
+ */
79
+ async localeWatchHandler() {
80
+ // to support url param and language switcher
81
+ this.el.lang = this.locale;
82
+ await this._getTranslations();
83
+ }
75
84
  //--------------------------------------------------------------------------
76
85
  //
77
86
  // Methods (public)
@@ -123,7 +132,7 @@ const BufferTools = class {
123
132
  * Renders the component.
124
133
  */
125
134
  render() {
126
- return (h(Host, { key: 'fe60961aabf178fd32c4c85e8d52b9bc61a349d0' }, this.appearance === "text" ? this._getTextBoxDisplay() : this._getSliderDisplay()));
135
+ return (h(Host, { key: '4fbfb01938d285a2b022834f712013cea10945f9' }, this.appearance === "text" ? this._getTextBoxDisplay() : this._getSliderDisplay()));
127
136
  }
128
137
  //--------------------------------------------------------------------------
129
138
  //
@@ -288,7 +297,8 @@ const BufferTools = class {
288
297
  }
289
298
  static get watchers() { return {
290
299
  "geometries": ["geometriesWatchHandler"],
291
- "disabled": ["disabledWatchHandler"]
300
+ "disabled": ["disabledWatchHandler"],
301
+ "locale": ["localeWatchHandler"]
292
302
  }; }
293
303
  };
294
304
  BufferTools.style = BufferToolsStyle0;
@@ -362,6 +372,7 @@ const MapDrawTools = class {
362
372
  this.drawMode = EDrawMode.SKETCH;
363
373
  this.editGraphicsEnabled = true;
364
374
  this.graphics = undefined;
375
+ this.locale = undefined;
365
376
  this.mapView = undefined;
366
377
  this.pointSymbol = undefined;
367
378
  this.polylineSymbol = undefined;
@@ -422,6 +433,14 @@ const MapDrawTools = class {
422
433
  this._sketchGraphicsLayer.addMany(v);
423
434
  }
424
435
  }
436
+ /**
437
+ * Fetch translations when the locale is updated
438
+ */
439
+ async localeWatchHandler() {
440
+ // to support url param and language switcher
441
+ this.el.lang = this.locale;
442
+ await this._getTranslations();
443
+ }
425
444
  /**
426
445
  * Called each time the mapView prop is changed.
427
446
  */
@@ -511,7 +530,7 @@ const MapDrawTools = class {
511
530
  "border" : "border esri-widget esri-sketch__panel";
512
531
  const undoRedoClass = this.drawMode === EDrawMode.SKETCH ?
513
532
  "display-none" : "esri-widget esri-sketch__panel border-left esri-sketch__section";
514
- return (h(Host, { key: 'c6717ea80242f622168f49efeaf2cebf497ca09e' }, h("div", { key: '2dd805c704381cb411d69b757072371d91fb243d', class: containerClass }, h("div", { key: '28b81cb37f3e11f66656195fc10b4c170f8d8fe9', ref: (el) => { this._sketchElement = el; } }), h("div", { key: 'a6de7ee6dbf4f02eb355c032c7bd9bf4ec4426e9', class: undoRedoClass }, h("calcite-action", { key: '2efeab5db057e1657c3639a39ae4d4150d331776', disabled: !this.undoEnabled, icon: "undo", onClick: () => this._undo(), scale: "s", text: this._translations.undo }), h("calcite-action", { key: '770693e30a6cfb58f593bb471342ea34556fc8d4', disabled: !this.redoEnabled, icon: "redo", onClick: () => this._redo(), scale: "s", text: this._translations.redo })))));
533
+ return (h(Host, { key: 'c94ac0dde3ba21569ef86cb3ba5e92a427acd10f' }, h("div", { key: 'c699bf597d5a28d62dbba20fa6ddca38f406294f', class: containerClass }, h("div", { key: '78058d9155a650bb59e59ab9064a0286b7479759', ref: (el) => { this._sketchElement = el; } }), h("div", { key: '8cfc53dda2d1b272841acf40bd70b951111c359e', class: undoRedoClass }, h("calcite-action", { key: '5a8f0d0429f7d3df587957ae77ed935b0f99a5a0', disabled: !this.undoEnabled, icon: "undo", onClick: () => this._undo(), scale: "s", text: this._translations.undo }), h("calcite-action", { key: '163067cba4a163dc32d23c2d96cb2d9d967d287e', disabled: !this.redoEnabled, icon: "redo", onClick: () => this._redo(), scale: "s", text: this._translations.redo })))));
515
534
  }
516
535
  //--------------------------------------------------------------------------
517
536
  //
@@ -744,6 +763,7 @@ const MapDrawTools = class {
744
763
  }
745
764
  static get watchers() { return {
746
765
  "graphics": ["graphicsWatchHandler"],
766
+ "locale": ["localeWatchHandler"],
747
767
  "mapView": ["mapViewWatchHandler"]
748
768
  }; }
749
769
  };
@@ -586,6 +586,7 @@ const CreateFeature = class {
586
586
  this.mapView = undefined;
587
587
  this.selectedLayerId = undefined;
588
588
  this.customizeSubmit = false;
589
+ this.locale = undefined;
589
590
  this.searchConfiguration = undefined;
590
591
  this.isMobile = undefined;
591
592
  this.floorLevel = undefined;
@@ -689,6 +690,14 @@ const CreateFeature = class {
689
690
  // Watch handlers
690
691
  //
691
692
  //--------------------------------------------------------------------------
693
+ /**
694
+ * Fetch translations when the locale is updated
695
+ */
696
+ async localeWatchHandler() {
697
+ // to support url param and language switcher
698
+ this.el.lang = this.locale;
699
+ await this._getTranslations();
700
+ }
692
701
  /**
693
702
  * Called each time the mapView prop is changed.
694
703
  */
@@ -835,8 +844,8 @@ const CreateFeature = class {
835
844
  else if (this._currentPage === 'featureForm') {
836
845
  guidingMsg = this._translations.provideDetailsMsg;
837
846
  }
838
- return (h(Fragment, { key: '89634bf5707ea8390416d3087bfbe4e747bafcd7' }, showGuidingMsg && h("calcite-notice", { key: '4269224c2904f29060081f6cb8f383f1cf8d741d', class: "notice-msg", icon: "lightbulb", kind: "success", open: true, ref: el => this._calciteNotice = el }, h("div", { key: 'ecc3cca85c81d1cb7ab7cdc89b99e31afcb55f76', slot: "message" }, guidingMsg)), h("calcite-loader", { key: '34e492c0c469b39d4cfbcda17c4ba196ccb39eb8', class: loaderClass, label: "", scale: "s" }), h("div", { key: 'b2073ef4b6124b54038de34798cdf83337626023', class: featureFormClass, id: "feature-form" }), this.enableSearch &&
839
- h("div", { key: 'cd13e98b6a40d5d89d271b5785f797e9bfc19900', class: `search-widget ${showSearchWidget} ${featureFormClass}`, id: "search-widget-ref", ref: el => this._searchDiv = el }), h("div", { key: '2575b2d20f7713b05a2024e77452af93eb64e147', class: `${mobileMapClass}`, ref: (el) => { this._mapViewContainer = el; } })));
847
+ return (h(Fragment, { key: '788b2ebb85b603452d4b4de05711510f7480c895' }, showGuidingMsg && h("calcite-notice", { key: 'cf41e701f5a7605531fa6351acf13ea20e219f7a', class: "notice-msg", icon: "lightbulb", kind: "success", open: true, ref: el => this._calciteNotice = el }, h("div", { key: '1bb493a8e5a962c8a8c75ac37156edbf866c3916', slot: "message" }, guidingMsg)), h("calcite-loader", { key: '5d2e9a465cb7c6dbde8d941497fda87b4fc7c258', class: loaderClass, label: "", scale: "s" }), h("div", { key: '23b8651f4040443ba731173d1818b515b718b754', class: featureFormClass, id: "feature-form" }), this.enableSearch &&
848
+ h("div", { key: '7f628d09111295d46fbf7b9605999c2ef88c258d', class: `search-widget ${showSearchWidget} ${featureFormClass}`, id: "search-widget-ref", ref: el => this._searchDiv = el }), h("div", { key: '3def9aaab0a2f03076a6c4c645cf5a080bbb9e75', class: `${mobileMapClass}`, ref: (el) => { this._mapViewContainer = el; } })));
840
849
  }
841
850
  //--------------------------------------------------------------------------
842
851
  //
@@ -1241,6 +1250,7 @@ const CreateFeature = class {
1241
1250
  this._translations = messages[0];
1242
1251
  }
1243
1252
  static get watchers() { return {
1253
+ "locale": ["localeWatchHandler"],
1244
1254
  "mapView": ["mapViewWatchHandler"],
1245
1255
  "isMobile": ["isMobileHandler"],
1246
1256
  "_editorLoading": ["_editorLoadingWatchHandler"]
@@ -1259,6 +1269,7 @@ const EditCard = class {
1259
1269
  this.refreshGraphics = createEvent(this, "refreshGraphics", 7);
1260
1270
  this.enableEditGeometry = false;
1261
1271
  this.graphics = undefined;
1272
+ this.locale = undefined;
1262
1273
  this.mapView = undefined;
1263
1274
  this.open = false;
1264
1275
  this.graphicIndex = 0;
@@ -1342,6 +1353,14 @@ const EditCard = class {
1342
1353
  await this._closeEdit(true);
1343
1354
  }
1344
1355
  }
1356
+ /**
1357
+ * Fetch translations when the locale is updated
1358
+ */
1359
+ async localeWatchHandler() {
1360
+ // to support url param and language switcher
1361
+ this.el.lang = this.locale;
1362
+ await this._getTranslations();
1363
+ }
1345
1364
  async openWatchHandler(v) {
1346
1365
  if (v && this.graphics?.length > 0 && this.graphicIndex > -1) {
1347
1366
  this._editorLoading = true;
@@ -1426,7 +1445,7 @@ const EditCard = class {
1426
1445
  !this.graphics[0].layer.editingEnabled : true;
1427
1446
  const tableNodeClass = this._editorLoading ? "display-none" : "position-absolute";
1428
1447
  const loadingClass = this._editorLoading ? "" : "display-none";
1429
- return (h(Host, { key: 'ff6d1819cfd084e9f11a1c87d89c49d13035b289' }, h("div", { key: '797882acbcc26283719be4c08936e93b93931bcd', class: "position-absolute" }, editDisabled ? (h("calcite-notice", { kind: "warning", open: true, slot: "content-top", width: "full" }, h("div", { slot: "message" }, this._translations.enableEditing))) : undefined, h("div", { key: '34ce92da0b7c452f0fbae98d9f557543da59f5b8', class: "position-absolute" }, h("div", { key: '81af3854249e193d0d508c022cb4075be63f052d', class: tableNodeClass, id: "feature-form", ref: (el) => this._editContainer = el }), h("calcite-loader", { key: 'd7aa82424f87c47039a8a8f8c61240da7a5ca971', class: loadingClass, label: "", scale: "s" })))));
1448
+ return (h(Host, { key: '15ae3de9c8ab0a66a0185ffaafc27f03e19c77b7' }, h("div", { key: 'bbaa7dbc405259b64dfceca89e45abf6372c76c3', class: "position-absolute" }, editDisabled ? (h("calcite-notice", { kind: "warning", open: true, slot: "content-top", width: "full" }, h("div", { slot: "message" }, this._translations.enableEditing))) : undefined, h("div", { key: 'eb8b08fa0b08cf93581fb8e76d59bd8b5446770f', class: "position-absolute" }, h("div", { key: '03e525373c09fbcd4dad213738d97b99f1549975', class: tableNodeClass, id: "feature-form", ref: (el) => this._editContainer = el }), h("calcite-loader", { key: '1cc46d8f6499a90736e05c2eed9bff71aff35d12', class: loadingClass, label: "", scale: "s" })))));
1430
1449
  }
1431
1450
  //--------------------------------------------------------------------------
1432
1451
  //
@@ -1532,6 +1551,7 @@ const EditCard = class {
1532
1551
  }
1533
1552
  static get watchers() { return {
1534
1553
  "graphics": ["graphicsWatchHandler"],
1554
+ "locale": ["localeWatchHandler"],
1535
1555
  "open": ["openWatchHandler"]
1536
1556
  }; }
1537
1557
  };
@@ -1552,6 +1572,7 @@ const InfoCard = class {
1552
1572
  this.mapView = undefined;
1553
1573
  this.allowEditing = true;
1554
1574
  this.highlightEnabled = true;
1575
+ this.locale = undefined;
1555
1576
  this.paginationEnabled = true;
1556
1577
  this.position = 'absolute';
1557
1578
  this._alertOpen = false;
@@ -1616,6 +1637,19 @@ const InfoCard = class {
1616
1637
  async isMobileWatchHandler() {
1617
1638
  await this._initFeaturesWidget();
1618
1639
  }
1640
+ /**
1641
+ * Fetch translations when the locale is updated
1642
+ */
1643
+ async localeWatchHandler() {
1644
+ // to support url param and language switcher
1645
+ this.el.lang = this.locale;
1646
+ await this._getTranslations();
1647
+ if (this._features) {
1648
+ const graphics = [...this.graphics];
1649
+ this.graphics = [];
1650
+ this.graphics = graphics;
1651
+ }
1652
+ }
1619
1653
  /**
1620
1654
  * Watch for changes to the mapView and re-init the Feature widget
1621
1655
  */
@@ -1748,8 +1782,8 @@ const InfoCard = class {
1748
1782
  const id = this._features?.selectedFeature?.getObjectId();
1749
1783
  const ids = parseInt(id?.toString(), 10) > -1 ? [id] : [];
1750
1784
  const deleteEnabled = this._layer?.editingEnabled && this._layer?.capabilities?.operations?.supportsDelete;
1751
- return (h(Host, { key: 'e200fd8d903d1c3295247a45f352ae62394501d5' }, h("calcite-shell", { key: '0b467ed0b480944660ef2194b302070d56cb70e4', style: { position: this.position } }, this._getHeader(), h("calcite-loader", { key: 'cf6172f533f67274b04ac61af75f44ffe62cbc9e', class: loadingClass, label: this._translations.fetchingData }), h("div", { key: '06f3e0c61e14fe73c0fadd58c3cf2c7c03efff6d', class: "esri-widget feature-node " + featureNodeClass, id: this._featuresNodeId }), h("div", { key: '0f964afa075abbd27db827f90d189b9bc2a7c9d4', class: `${editButtonClass} width-100`, slot: "footer" }, this.allowEditing &&
1752
- h("div", { key: 'd518934d172425ecb46e6b28ea683427d8982382', class: "display-flex top-border padding-1-2" }, h("calcite-button", { key: '4d4f3583b6448e33e3d3ad1aba8c9178f71d75b8', appearance: "solid", id: "solutions-edit", onClick: () => this._openEditRecord(), width: "full" }, this._translations.edit), this.isMobile && deleteEnabled ? (h("delete-button", { class: "padding-inline-start-1 width-100", id: "solutions-delete", ids: ids, layer: this._layer, onEditsComplete: () => this._closePopup() })) : undefined, h("calcite-tooltip", { key: '5358ba4079f1906d23b6df5b1facb84eec9692d3', placement: "bottom", "reference-element": "solutions-edit" }, h("span", { key: '8466cfb97ce12e46a06ed665afe974377911e101' }, this._translations.edit)), this.isMobile ? (h("calcite-tooltip", { placement: "bottom", "reference-element": "solutions-delete" }, h("span", null, this._translations.delete))) : undefined), this.paginationEnabled && !nextBackDisabled && h("div", { key: '61c551cc2b0c0a2981daa9bf67c7e13318508ca6', class: `display-flex padding-1-2 button-container top-border ${nextBackClass}` }, h("div", { key: '379dc6697743caedf8fdbea16423b83e9e823a5b' }, h("calcite-button", { key: '616a52367d2f56db0104ce279951a81fcf60a376', appearance: 'transparent', disabled: nextBackDisabled, iconFlipRtl: "both", iconStart: "chevron-left", id: "solutions-back", onClick: () => this._back(), width: "full" }), h("calcite-tooltip", { key: 'f7f83e145c25591de025650fd358ca6200c4b6c5', placement: "top", "reference-element": "solutions-back" }, h("span", { key: '8afbde57b91ee8597de237db87efda7eabc10d69' }, this._translations.back))), h("calcite-action", { key: '23344d4abac515d089b8770d63181a989971aa33', class: 'pagination-action', iconFlipRtl: true, onClick: () => this._toggleListView(), scale: "s", text: "", textEnabled: true }, h("span", { key: 'a4c784c5a2c7dfeb9442a58f86961a3242f55055', class: "pagination-count" }, this._count)), h("div", { key: '75e33452a93e9a77f30505957e87b8758ab8d2dd' }, h("calcite-button", { key: '0283a96c401e1929588e28d6ec014eb28b93d1f1', appearance: "transparent", disabled: nextBackDisabled, iconFlipRtl: "both", iconStart: "chevron-right", id: "solutions-next", onClick: () => this._next(), width: "full" }), h("calcite-tooltip", { key: '658a26b1bca471b96799cb81ee941f0556619dc9', placement: "top", "reference-element": "solutions-next" }, h("span", { key: '9892d4ee61a1b5656711bb0a188282d9b46bd3f9' }, this._translations.next))))), h("edit-card", { key: '541268c24631ab526bf1b65313d39f3ca606cb6d', class: editClass, enableEditGeometry: this.enableEditGeometry, graphicIndex: this._features?.selectedFeatureIndex, graphics: this.graphics, mapView: this.mapView, open: this._editRecordOpen }), h("calcite-alert", { key: '1cdff00f5d7e72b5db220750d290593a1baf68c4', icon: "layer-broken", kind: "warning", label: "", onCalciteAlertClose: () => this._alertClosed(), open: this._alertOpen, placement: "top" }, h("div", { key: 'bb250c5906f0e998a794b5c02c22f9643fab16a9', slot: "title" }, this._translations.editDisabled), h("div", { key: 'd330d1ce74473fc76630d2607ab3ca2584aabbd7', slot: "message" }, this._translations.enableEditing)))));
1785
+ return (h(Host, { key: '54e47d0ec2be9149c3e667c9e940842804d96964' }, h("calcite-shell", { key: '14bb280d394ceaa74463979886ab09cdf393b26e', style: { position: this.position } }, this._getHeader(), h("calcite-loader", { key: '3226709e73de16c795c348513183b26b88b7a726', class: loadingClass, label: this._translations.fetchingData }), h("div", { key: 'ba4b0c34620c60e849bdf0ada785b9976156dd1c', class: "esri-widget feature-node " + featureNodeClass, id: this._featuresNodeId }), h("div", { key: '440a4d3c0530f97031df2e2ab9511ef6035fb5da', class: `${editButtonClass} width-100`, slot: "footer" }, this.allowEditing &&
1786
+ h("div", { key: '172b2e2cc10bdfb104057376ceba5d7f5f19ad61', class: "display-flex top-border padding-1-2" }, h("calcite-button", { key: '242daf0ec6c3fe4fcc11be4bbc19f810836714ec', appearance: "solid", id: "solutions-edit", onClick: () => this._openEditRecord(), width: "full" }, this._translations.edit), this.isMobile && deleteEnabled ? (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, h("calcite-tooltip", { key: '760f8fcd1bcff2060e0a98e84a222107e55fef22', placement: "bottom", "reference-element": "solutions-edit" }, h("span", { key: '30656b92e9bdbf3a9548586d91fc23bce2da9db3' }, this._translations.edit)), this.isMobile ? (h("calcite-tooltip", { placement: "bottom", "reference-element": "solutions-delete" }, h("span", null, this._translations.delete))) : undefined), this.paginationEnabled && !nextBackDisabled && h("div", { key: '161902561c9686d74a511338dfc02efce0095af7', class: `display-flex padding-1-2 button-container top-border ${nextBackClass}` }, h("div", { key: 'afd1459e3f69f60d96103854fe3dae71f18fc41e' }, h("calcite-button", { key: '59063d7fa2cf886afca66857cb1f74e42789e59f', appearance: 'transparent', disabled: nextBackDisabled, iconFlipRtl: "both", iconStart: "chevron-left", id: "solutions-back", onClick: () => this._back(), width: "full" }), h("calcite-tooltip", { key: '412e00bc323494bb1e3a7dbeef59ab9bcd6ff8e0', placement: "top", "reference-element": "solutions-back" }, h("span", { key: '7c1512be35f16b4441c2a364e1b7a87e3c7caf97' }, this._translations.back))), h("calcite-action", { key: 'd4790efec0d13e6726ffe9d438683db6887d00b8', class: 'pagination-action', iconFlipRtl: true, onClick: () => this._toggleListView(), scale: "s", text: "", textEnabled: true }, h("span", { key: '98663d5c3b2f445db4e38cba98b8149c53cbc474', class: "pagination-count" }, this._count)), h("div", { key: '6ca88610950cf2852e2dc67588c77fd464ece3c5' }, h("calcite-button", { key: '577739ef819676dfd9cdee560a8cd22edcd9c6b7', appearance: "transparent", disabled: nextBackDisabled, iconFlipRtl: "both", iconStart: "chevron-right", id: "solutions-next", onClick: () => this._next(), width: "full" }), h("calcite-tooltip", { key: '73a4f907d1a2f46a980c451572f1ba1e1b0b0596', placement: "top", "reference-element": "solutions-next" }, h("span", { key: 'd5f67497df866592b30d6c328f9f45716eb16153' }, this._translations.next))))), 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 }), h("calcite-alert", { key: '0b9fd2109d7c6b51b91088ecbec50956a2d8d3d8', icon: "layer-broken", kind: "warning", label: "", onCalciteAlertClose: () => this._alertClosed(), open: this._alertOpen, placement: "top" }, h("div", { key: 'c8b7b452430d6fedda5288fd58efae5526adeda7', slot: "title" }, this._translations.editDisabled), h("div", { key: 'b2dc954d43bb08908723f70796df5c77108d92d8', slot: "message" }, this._translations.enableEditing)))));
1753
1787
  }
1754
1788
  //--------------------------------------------------------------------------
1755
1789
  //
@@ -1918,6 +1952,7 @@ const InfoCard = class {
1918
1952
  static get watchers() { return {
1919
1953
  "graphics": ["graphicsWatchHandler"],
1920
1954
  "isMobile": ["isMobileWatchHandler"],
1955
+ "locale": ["localeWatchHandler"],
1921
1956
  "mapView": ["mapViewWatchHandler"]
1922
1957
  }; }
1923
1958
  };
@@ -1217,6 +1217,7 @@ const MapLayerPicker = class {
1217
1217
  this.enabledTableIds = [];
1218
1218
  this.height = undefined;
1219
1219
  this.isMobile = undefined;
1220
+ this.locale = undefined;
1220
1221
  this.mapView = undefined;
1221
1222
  this.onlyShowUpdatableLayers = undefined;
1222
1223
  this.placeholderIcon = "";
@@ -1260,6 +1261,14 @@ const MapLayerPicker = class {
1260
1261
  // Watch handlers
1261
1262
  //
1262
1263
  //--------------------------------------------------------------------------
1264
+ /**
1265
+ * Fetch translations when the locale is updated
1266
+ */
1267
+ async localeWatchHandler() {
1268
+ // to support url param and language switcher
1269
+ this.el.lang = this.locale;
1270
+ await this._getTranslations();
1271
+ }
1263
1272
  /**
1264
1273
  * Called each time the mapView prop is changed.
1265
1274
  */
@@ -1341,7 +1350,7 @@ const MapLayerPicker = class {
1341
1350
  const id = "map-layer-picker";
1342
1351
  let style = this.height > 0 ? { "height": `${this.height.toString()}px` } : {};
1343
1352
  style = { ...style, "display": this.display };
1344
- return (h(Host, { key: 'a876ec719aede5ec43af1b40f09e4c9e6b693f34' }, h("div", { key: '78e720facdf3c124208ff8dbde18a056234e63ac', class: "map-layer-picker-container", style: style }, h("div", { key: '6bb47ccb7c28565b140d79b6af6399a235e3ccf9', class: "map-layer-picker", style: style }, !this._hasValidLayers ? this._getInvalidPlaceholder() :
1353
+ return (h(Host, { key: '33b19dbf87019ad071242aaa688e49f35e2c2808' }, h("div", { key: '85e781782fc529acae68b1137f8ec1a317b452a0', class: "map-layer-picker-container", style: style }, h("div", { key: 'c257b179b56939d998650c676e835c9976d9fb21', class: "map-layer-picker", style: style }, !this._hasValidLayers ? this._getInvalidPlaceholder() :
1345
1354
  !this._hasMultipleLayers && this.showSingleLayerAsLabel ? this._getSingleLayerPlaceholder() :
1346
1355
  this.type === "combobox" ? this._getCombobox(id) :
1347
1356
  this.type === "select" ? this._getSelect(id) : this._getDropdown(id)))));
@@ -1592,6 +1601,7 @@ const MapLayerPicker = class {
1592
1601
  this._translations = messages[0];
1593
1602
  }
1594
1603
  static get watchers() { return {
1604
+ "locale": ["localeWatchHandler"],
1595
1605
  "mapView": ["mapViewWatchHandler"]
1596
1606
  }; }
1597
1607
  };
@@ -161,6 +161,7 @@ const CreateRelatedFeature = class {
161
161
  this.fail = createEvent(this, "fail", 7);
162
162
  this.isActionPending = createEvent(this, "isActionPending", 7);
163
163
  this.formReady = createEvent(this, "formReady", 7);
164
+ this.locale = undefined;
164
165
  this.mapView = undefined;
165
166
  this.table = undefined;
166
167
  this.selectedFeature = undefined;
@@ -206,6 +207,14 @@ const CreateRelatedFeature = class {
206
207
  // Watch handlers
207
208
  //
208
209
  //--------------------------------------------------------------------------
210
+ /**
211
+ * Fetch translations when the locale is updated
212
+ */
213
+ async localeWatchHandler() {
214
+ // to support url param and language switcher
215
+ this.el.lang = this.locale;
216
+ await this._getTranslations();
217
+ }
209
218
  /**
210
219
  * Called each time the mapView prop is changed.
211
220
  */
@@ -296,7 +305,7 @@ const CreateRelatedFeature = class {
296
305
  }
297
306
  render() {
298
307
  const loaderClass = this._editorLoading ? "" : "display-none";
299
- return (h(Fragment, { key: '641b4f6f51bce04b6263a1d7dc72a31839df970d' }, this.showGuidingMsg && h("calcite-notice", { key: '1a6e577bcc0632a7bc69dd411a692062a7ad176e', class: "notice-msg", icon: "lightbulb", kind: "success", open: true }, h("div", { key: '55c5836314fcca69a259be3a36e34c527edcabf3', slot: "message" }, this._translations.provideDetailsMsg)), h("calcite-loader", { key: '18c5603a4a75c67a160a71caa15e94790f66d60b', class: loaderClass, label: "", scale: "s" })));
308
+ return (h(Fragment, { key: '48fffd1e9dd429d339d9a72e35f5c31561fc076f' }, this.showGuidingMsg && h("calcite-notice", { key: '9a6f700c135bb7593e4338981a30531e3d9fba8a', class: "notice-msg", icon: "lightbulb", kind: "success", open: true }, h("div", { key: '7044e923a9fab833a7a6fe0bb97fa688d7e6eecc', slot: "message" }, this._translations.provideDetailsMsg)), h("calcite-loader", { key: '15599ae77e451d220689c13098a31c5788714306', class: loaderClass, label: "", scale: "s" })));
300
309
  }
301
310
  /**
302
311
  * StencilJS: Called once just after the component is fully loaded and the first render() occurs.
@@ -483,6 +492,7 @@ const CreateRelatedFeature = class {
483
492
  this._translations = messages[0];
484
493
  }
485
494
  static get watchers() { return {
495
+ "locale": ["localeWatchHandler"],
486
496
  "mapView": ["mapViewWatchHandler"],
487
497
  "_editorLoading": ["_editorLoadingWatchHandler"]
488
498
  }; }
@@ -504,6 +514,7 @@ const FeatureDetails = class {
504
514
  this.graphics = undefined;
505
515
  this.reportingOptions = undefined;
506
516
  this.layerItemsHash = undefined;
517
+ this.locale = undefined;
507
518
  this.showUserImageInCommentsList = false;
508
519
  this._likeFieldAvailable = false;
509
520
  this._likeCount = 0;
@@ -652,12 +663,12 @@ const FeatureDetails = class {
652
663
  render() {
653
664
  //When related features found show comments list of only those features else comments list will be empty
654
665
  const commentsListWhereClause = this._relatedFeaturesOIDs?.length > 0 ? `objectId in(${this._relatedFeaturesOIDs})` : '1=0';
655
- return (h("calcite-panel", { key: 'e09b693348a5d446f6ea3c774af3c2fd14e66daf', "full-height": true }, 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) &&
656
- h("div", { key: 'ac24bb5fd56a7561e78d90c3a1b10027cfab6b2b', class: "buttons-container" }, this._commentsAvailable &&
657
- h("calcite-button", { key: '676c5da52465f295212668f8db9b353e219070f2', appearance: "transparent", iconEnd: "speech-bubble", kind: "neutral", onClick: () => { this.addComment.emit(); }, scale: 'm' }, this._relatedFeaturesOIDs.length), this._likeFieldAvailable &&
658
- 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 &&
659
- 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 &&
660
- 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 })));
666
+ return (h("calcite-panel", { key: 'be7bebe9da698d963a2602fcacb95ac7206ac1e9', "full-height": true }, 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) &&
667
+ h("div", { key: 'd53f5a1726e4c6299ffd04e266d84005181645f6', class: "buttons-container" }, this._commentsAvailable &&
668
+ h("calcite-button", { key: '4c2616cc9e0107258f5313b66ae96fa31fe582c5', appearance: "transparent", iconEnd: "speech-bubble", kind: "neutral", onClick: () => { this.addComment.emit(); }, scale: 'm' }, this._relatedFeaturesOIDs.length), this._likeFieldAvailable &&
669
+ 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 &&
670
+ 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 &&
671
+ 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 })));
661
672
  }
662
673
  /**
663
674
  * Load esri javascript api modules
@@ -942,6 +953,7 @@ const LayerList = class {
942
953
  this.layersListLoaded = createEvent(this, "layersListLoaded", 7);
943
954
  this.mapView = undefined;
944
955
  this.layers = undefined;
956
+ this.locale = undefined;
945
957
  this.showFeatureCount = true;
946
958
  this.showNextIcon = false;
947
959
  this.applyLayerViewFilter = false;
@@ -965,6 +977,14 @@ const LayerList = class {
965
977
  // Watch handlers
966
978
  //
967
979
  //--------------------------------------------------------------------------
980
+ /**
981
+ * Fetch translations when the locale is updated
982
+ */
983
+ async localeWatchHandler() {
984
+ // to support url param and language switcher
985
+ this.el.lang = this.locale;
986
+ await this._getTranslations();
987
+ }
968
988
  //--------------------------------------------------------------------------
969
989
  //
970
990
  // Methods (public)
@@ -1013,9 +1033,9 @@ const LayerList = class {
1013
1033
  * Renders the component.
1014
1034
  */
1015
1035
  render() {
1016
- return (h(Fragment, { key: 'f8e0c21d4ff87d663a1e0f00f1d9ef1123091db9' }, this._isLoading && h("calcite-loader", { key: '42058be6b41126e58d33895bc237b174e55a16ed', label: "", scale: "m" }), !this._isLoading && this.mapView && this._noLayersToDisplay &&
1017
- h("calcite-notice", { key: '89d9073a156f07379699cc5b67bf9ba54654cc68', class: "error-msg", icon: "layers-reference", kind: "danger", open: true }, h("div", { key: '730b8dcca79bd45a7a6eecb5030626d1dcd01238', slot: "title" }, this._translations.error), h("div", { key: '656e8276ffab75734909348f49f11492de1d5a8b', slot: "message" }, this._translations.noLayerToDisplayErrorMsg)), !this._isLoading && this.mapView &&
1018
- h("calcite-list", { key: '1d2206d3163b6c5ed8511e32ab296f0025889824', "selection-appearance": "border", "selection-mode": "none" }, this.renderLayerList())));
1036
+ return (h(Fragment, { key: 'a151c8fd65c50aacb23dcd0c858e52c0c7cd7e5e' }, this._isLoading && h("calcite-loader", { key: '544a134bccc29048ca80b996844cc944bcd97a24', label: "", scale: "m" }), !this._isLoading && this.mapView && this._noLayersToDisplay &&
1037
+ h("calcite-notice", { key: '7557f91c8c3349c120c043ea59458b4c834dce2e', class: "error-msg", icon: "layers-reference", kind: "danger", open: true }, h("div", { key: 'ea8b20f8c7da5053641cfad56e3395ae3c6286f5', slot: "title" }, this._translations.error), h("div", { key: '38aaed7b456aba0b1dd70183be03e9133834dfb4', slot: "message" }, this._translations.noLayerToDisplayErrorMsg)), !this._isLoading && this.mapView &&
1038
+ h("calcite-list", { key: '817de422b8387cafb7f9a17515cf9b3c13998522', "selection-appearance": "border", "selection-mode": "none" }, this.renderLayerList())));
1019
1039
  }
1020
1040
  //--------------------------------------------------------------------------
1021
1041
  //
@@ -1141,6 +1161,9 @@ const LayerList = class {
1141
1161
  const messages = await getLocaleComponentStrings(this.el);
1142
1162
  this._translations = messages[0];
1143
1163
  }
1164
+ static get watchers() { return {
1165
+ "locale": ["localeWatchHandler"]
1166
+ }; }
1144
1167
  };
1145
1168
  LayerList.style = LayerListStyle0;
1146
1169