@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
@@ -23,6 +23,7 @@ const DeleteDialog = /*@__PURE__*/ proxyCustomElement(class DeleteDialog extends
23
23
  this.deleteDialogClose = createEvent(this, "deleteDialogClose", 7);
24
24
  this.ids = [];
25
25
  this.layer = undefined;
26
+ this.locale = undefined;
26
27
  this.open = false;
27
28
  this._isDeleting = false;
28
29
  this._translations = undefined;
@@ -38,6 +39,14 @@ const DeleteDialog = /*@__PURE__*/ proxyCustomElement(class DeleteDialog extends
38
39
  // Watch handlers
39
40
  //
40
41
  //--------------------------------------------------------------------------
42
+ /**
43
+ * Fetch translations when the locale is updated
44
+ */
45
+ async localeWatchHandler() {
46
+ // to support url param and language switcher
47
+ this.el.lang = this.locale;
48
+ await this._getTranslations();
49
+ }
41
50
  //--------------------------------------------------------------------------
42
51
  //
43
52
  // Methods (public)
@@ -75,7 +84,7 @@ const DeleteDialog = /*@__PURE__*/ proxyCustomElement(class DeleteDialog extends
75
84
  render() {
76
85
  const confirmMessage = this.ids.length === 1 ? this._translations?.confirmSingle :
77
86
  this._translations?.confirmMultiple;
78
- return (h(Host, { key: '64cd1440f80a9609f90056b919fa807e975eff70' }, h("calcite-modal", { key: '022302455960cbcf894dc2f0079d88be6fb59367', "aria-labelledby": "modal-title", class: "delete-modal", kind: "danger", onCalciteModalClose: () => this._close(), open: this.open, widthScale: "s" }, h("div", { key: '7484caedbdd759efbe972182ddd41a6ebaa2bd64', class: "display-flex align-center", id: "modal-title", slot: "header" }, this._translations?.deleteFeature), h("div", { key: 'e31136a6eed46dd0cbc4d919deb732a623097fbf', slot: "content" }, confirmMessage), h("calcite-button", { key: '7de42845a99777bcec59221fb6ab863e72ca2654', appearance: "outline", kind: "danger", onClick: () => this._close(), slot: "secondary", width: "full" }, this._translations?.cancel), h("calcite-button", { key: '67921ff64fc5c4439e66833fd8502f7e95671b5d', kind: "danger", loading: this._isDeleting, onClick: () => void this._deleteFeatures(), slot: "primary", width: "full" }, this._translations?.delete))));
87
+ return (h(Host, { key: 'eafca7d4325c65ff21fbfeaa24ea14e95bc25a34' }, h("calcite-modal", { key: '745e52d7b23318492914662cc769a1206baefd28', "aria-labelledby": "modal-title", class: "delete-modal", kind: "danger", onCalciteModalClose: () => this._close(), open: this.open, widthScale: "s" }, h("div", { key: '363614f6eaf30c30c6c2ccde3875dfff5cd94088', class: "display-flex align-center", id: "modal-title", slot: "header" }, this._translations?.deleteFeature), h("div", { key: 'b3b6f74495894589b7fd8be54265c4a69ffaa62e', slot: "content" }, confirmMessage), h("calcite-button", { key: 'd325fcf12624bac39f56ec690f7e4e9660789891', appearance: "outline", kind: "danger", onClick: () => this._close(), slot: "secondary", width: "full" }, this._translations?.cancel), h("calcite-button", { key: '73a10546ad92065c949bfacca3eb3d508685030e', kind: "danger", loading: this._isDeleting, onClick: () => void this._deleteFeatures(), slot: "primary", width: "full" }, this._translations?.delete))));
79
88
  }
80
89
  //--------------------------------------------------------------------------
81
90
  //
@@ -114,13 +123,19 @@ const DeleteDialog = /*@__PURE__*/ proxyCustomElement(class DeleteDialog extends
114
123
  const messages = await getLocaleComponentStrings(this.el);
115
124
  this._translations = messages[0];
116
125
  }
126
+ static get watchers() { return {
127
+ "locale": ["localeWatchHandler"]
128
+ }; }
117
129
  static get style() { return DeleteDialogStyle0; }
118
130
  }, [1, "delete-dialog", {
119
131
  "ids": [16],
120
132
  "layer": [16],
133
+ "locale": [1],
121
134
  "open": [4],
122
135
  "_isDeleting": [32],
123
136
  "_translations": [32]
137
+ }, undefined, {
138
+ "locale": ["localeWatchHandler"]
124
139
  }]);
125
140
  function defineCustomElement() {
126
141
  if (typeof customElements === "undefined") {
@@ -23,6 +23,7 @@ const EditCard = /*@__PURE__*/ proxyCustomElement(class EditCard extends HTMLEle
23
23
  this.refreshGraphics = createEvent(this, "refreshGraphics", 7);
24
24
  this.enableEditGeometry = false;
25
25
  this.graphics = undefined;
26
+ this.locale = undefined;
26
27
  this.mapView = undefined;
27
28
  this.open = false;
28
29
  this.graphicIndex = 0;
@@ -106,6 +107,14 @@ const EditCard = /*@__PURE__*/ proxyCustomElement(class EditCard extends HTMLEle
106
107
  await this._closeEdit(true);
107
108
  }
108
109
  }
110
+ /**
111
+ * Fetch translations when the locale is updated
112
+ */
113
+ async localeWatchHandler() {
114
+ // to support url param and language switcher
115
+ this.el.lang = this.locale;
116
+ await this._getTranslations();
117
+ }
109
118
  async openWatchHandler(v) {
110
119
  if (v && this.graphics?.length > 0 && this.graphicIndex > -1) {
111
120
  this._editorLoading = true;
@@ -190,7 +199,7 @@ const EditCard = /*@__PURE__*/ proxyCustomElement(class EditCard extends HTMLEle
190
199
  !this.graphics[0].layer.editingEnabled : true;
191
200
  const tableNodeClass = this._editorLoading ? "display-none" : "position-absolute";
192
201
  const loadingClass = this._editorLoading ? "" : "display-none";
193
- 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" })))));
202
+ 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" })))));
194
203
  }
195
204
  //--------------------------------------------------------------------------
196
205
  //
@@ -296,12 +305,14 @@ const EditCard = /*@__PURE__*/ proxyCustomElement(class EditCard extends HTMLEle
296
305
  }
297
306
  static get watchers() { return {
298
307
  "graphics": ["graphicsWatchHandler"],
308
+ "locale": ["localeWatchHandler"],
299
309
  "open": ["openWatchHandler"]
300
310
  }; }
301
311
  static get style() { return EditCardStyle0; }
302
312
  }, [0, "edit-card", {
303
313
  "enableEditGeometry": [4, "enable-edit-geometry"],
304
314
  "graphics": [1040],
315
+ "locale": [1],
305
316
  "mapView": [16],
306
317
  "open": [1028],
307
318
  "graphicIndex": [2, "graphic-index"],
@@ -309,6 +320,7 @@ const EditCard = /*@__PURE__*/ proxyCustomElement(class EditCard extends HTMLEle
309
320
  "_translations": [32]
310
321
  }, [[8, "featureSelectionChange", "featureSelectionChange"]], {
311
322
  "graphics": ["graphicsWatchHandler"],
323
+ "locale": ["localeWatchHandler"],
312
324
  "open": ["openWatchHandler"]
313
325
  }]);
314
326
  function defineCustomElement() {
@@ -51,6 +51,7 @@ const FeatureDetails = /*@__PURE__*/ proxyCustomElement(class FeatureDetails ext
51
51
  this.graphics = undefined;
52
52
  this.reportingOptions = undefined;
53
53
  this.layerItemsHash = undefined;
54
+ this.locale = undefined;
54
55
  this.showUserImageInCommentsList = false;
55
56
  this._likeFieldAvailable = false;
56
57
  this._likeCount = 0;
@@ -199,12 +200,12 @@ const FeatureDetails = /*@__PURE__*/ proxyCustomElement(class FeatureDetails ext
199
200
  render() {
200
201
  //When related features found show comments list of only those features else comments list will be empty
201
202
  const commentsListWhereClause = this._relatedFeaturesOIDs?.length > 0 ? `objectId in(${this._relatedFeaturesOIDs})` : '1=0';
202
- 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) &&
203
- h("div", { key: 'ac24bb5fd56a7561e78d90c3a1b10027cfab6b2b', class: "buttons-container" }, this._commentsAvailable &&
204
- h("calcite-button", { key: '676c5da52465f295212668f8db9b353e219070f2', appearance: "transparent", iconEnd: "speech-bubble", kind: "neutral", onClick: () => { this.addComment.emit(); }, scale: 'm' }, this._relatedFeaturesOIDs.length), this._likeFieldAvailable &&
205
- 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 &&
206
- 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 &&
207
- 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 })));
203
+ 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) &&
204
+ h("div", { key: 'd53f5a1726e4c6299ffd04e266d84005181645f6', class: "buttons-container" }, this._commentsAvailable &&
205
+ h("calcite-button", { key: '4c2616cc9e0107258f5313b66ae96fa31fe582c5', appearance: "transparent", iconEnd: "speech-bubble", kind: "neutral", onClick: () => { this.addComment.emit(); }, scale: 'm' }, this._relatedFeaturesOIDs.length), this._likeFieldAvailable &&
206
+ 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 &&
207
+ 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 &&
208
+ 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 })));
208
209
  }
209
210
  /**
210
211
  * Load esri javascript api modules
@@ -482,6 +483,7 @@ const FeatureDetails = /*@__PURE__*/ proxyCustomElement(class FeatureDetails ext
482
483
  "graphics": [16],
483
484
  "reportingOptions": [16],
484
485
  "layerItemsHash": [16],
486
+ "locale": [1],
485
487
  "showUserImageInCommentsList": [4, "show-user-image-in-comments-list"],
486
488
  "_likeFieldAvailable": [32],
487
489
  "_likeCount": [32],
@@ -41,6 +41,7 @@ const FeatureList = /*@__PURE__*/ proxyCustomElement(class FeatureList extends H
41
41
  this.pageSize = 100;
42
42
  this.highlightOnMap = false;
43
43
  this.highlightOnHover = false;
44
+ this.locale = undefined;
44
45
  this.sortingInfo = undefined;
45
46
  this.whereClause = undefined;
46
47
  this.textSize = "large";
@@ -113,6 +114,14 @@ const FeatureList = /*@__PURE__*/ proxyCustomElement(class FeatureList extends H
113
114
  // Watch handlers
114
115
  //
115
116
  //--------------------------------------------------------------------------
117
+ /**
118
+ * Fetch translations when the locale is updated
119
+ */
120
+ async localeWatchHandler() {
121
+ // to support url param and language switcher
122
+ this.el.lang = this.locale;
123
+ await this._getTranslations();
124
+ }
116
125
  /**
117
126
  * Watch for selectedLayerId change and update layer instance and features list for new layerId
118
127
  */
@@ -192,9 +201,9 @@ const FeatureList = /*@__PURE__*/ proxyCustomElement(class FeatureList extends H
192
201
  * Renders the component.
193
202
  */
194
203
  render() {
195
- return (h("calcite-panel", { key: '59289a87561105e3edcbd52bac96b974b1387a16', "full-height": true, "full-width": true }, this._isLoading && h("calcite-loader", { key: '59629285e49227209761d2f16bdd62a90750538f', label: "", scale: "m" }), this.showErrorWhenNoFeatures && this._featureItems.length === 0 && !this._isLoading &&
196
- h("calcite-notice", { key: 'bc6c2e6e0fdf959374caf79f2027784e2fdaca15', class: "error-msg", icon: "feature-details", kind: "info", open: true }, h("div", { key: '052207ce0b0e2d8030ac7a4a7985c718371a9667', slot: "message" }, this.noFeaturesFoundMsg ? this.noFeaturesFoundMsg : this._translations.featureErrorMsg)), h("calcite-list", { key: '3f17ea85f2265717aa13c9c71f19c259470c9fcc', "selection-appearance": "border", "selection-mode": "none" }, !this._isLoading && this._featureItems.length > 0 && this._featureItems), this._featuresCount > this.pageSize &&
197
- h("div", { key: 'ce3179bcdc7af254488dea909034c58db17ec565', class: "width-full", slot: "footer" }, h("calcite-pagination", { key: 'd6a4b8c7a940918388b3b9891a666c4a142edae7', class: "pagination", "full-width": true, onCalcitePaginationChange: this.pageChanged.bind(this), "page-size": this.pageSize, ref: el => this._pagination = el, "start-item": "1", "total-items": this._featuresCount }))));
204
+ return (h("calcite-panel", { key: '6b6214a3dba7df7c2035203750d547945407ecde', "full-height": true, "full-width": true }, this._isLoading && h("calcite-loader", { key: '1b05d96de0b4d396b13f448311db76315e28b81b', label: "", scale: "m" }), this.showErrorWhenNoFeatures && this._featureItems.length === 0 && !this._isLoading &&
205
+ h("calcite-notice", { key: 'abe755f0bc5c7ff064249159c3154c9ca1c27594', class: "error-msg", icon: "feature-details", kind: "info", open: true }, h("div", { key: '5a8ead1d47151cf088ae9e359052cf35129b09d3', slot: "message" }, this.noFeaturesFoundMsg ? this.noFeaturesFoundMsg : this._translations.featureErrorMsg)), h("calcite-list", { key: 'feb2f2fff276ad49d38ed35dbca41d1878f5e7a3', "selection-appearance": "border", "selection-mode": "none" }, !this._isLoading && this._featureItems.length > 0 && this._featureItems), this._featuresCount > this.pageSize &&
206
+ h("div", { key: 'e396ddcc3d43ae025d9bdb2cd021a2031606211d', class: "width-full", slot: "footer" }, h("calcite-pagination", { key: '0c3c5bddc7ad418ab15136f0267a429cc0f4ef21', class: "pagination", "full-width": true, onCalcitePaginationChange: this.pageChanged.bind(this), "page-size": this.pageSize, ref: el => this._pagination = el, "start-item": "1", "total-items": this._featuresCount }))));
198
207
  }
199
208
  //--------------------------------------------------------------------------
200
209
  //
@@ -502,6 +511,7 @@ const FeatureList = /*@__PURE__*/ proxyCustomElement(class FeatureList extends H
502
511
  this._translations = messages[0];
503
512
  }
504
513
  static get watchers() { return {
514
+ "locale": ["localeWatchHandler"],
505
515
  "selectedLayerId": ["selectedLayerWatchHandler"],
506
516
  "sortingInfo": ["sortingInfoWatchHandler"],
507
517
  "whereClause": ["whereClauseHandler"]
@@ -514,6 +524,7 @@ const FeatureList = /*@__PURE__*/ proxyCustomElement(class FeatureList extends H
514
524
  "pageSize": [2, "page-size"],
515
525
  "highlightOnMap": [4, "highlight-on-map"],
516
526
  "highlightOnHover": [4, "highlight-on-hover"],
527
+ "locale": [1],
517
528
  "sortingInfo": [16],
518
529
  "whereClause": [1, "where-clause"],
519
530
  "textSize": [1, "text-size"],
@@ -529,6 +540,7 @@ const FeatureList = /*@__PURE__*/ proxyCustomElement(class FeatureList extends H
529
540
  "_translations": [32],
530
541
  "refresh": [64]
531
542
  }, undefined, {
543
+ "locale": ["localeWatchHandler"],
532
544
  "selectedLayerId": ["selectedLayerWatchHandler"],
533
545
  "sortingInfo": ["sortingInfoWatchHandler"],
534
546
  "whereClause": ["whereClauseHandler"]
@@ -117,7 +117,7 @@ const FloorFilter = /*@__PURE__*/ proxyCustomElement(class FloorFilter extends H
117
117
  * Renders the component.
118
118
  */
119
119
  render() {
120
- return (h(Host, { key: '7890927db517fe8e1133fce3e0fe977a441f2abf' }, h("div", { key: '34ad695eb04dd20a0b9893817a33df5020de7da1', ref: (el) => { this._floorFilterElement = el; } })));
120
+ return (h(Host, { key: '51da7a656e7f56ecc8cc4093d3dab856f77b5c7a' }, h("div", { key: 'd2fda7047f09a673216484f5c202f039fca20108', ref: (el) => { this._floorFilterElement = el; } })));
121
121
  }
122
122
  /**
123
123
  * StencilJS: Called once just after the component is first loaded.
@@ -41,6 +41,7 @@ const InfoCard = /*@__PURE__*/ proxyCustomElement(class InfoCard extends HTMLEle
41
41
  this.mapView = undefined;
42
42
  this.allowEditing = true;
43
43
  this.highlightEnabled = true;
44
+ this.locale = undefined;
44
45
  this.paginationEnabled = true;
45
46
  this.position = 'absolute';
46
47
  this._alertOpen = false;
@@ -105,6 +106,19 @@ const InfoCard = /*@__PURE__*/ proxyCustomElement(class InfoCard extends HTMLEle
105
106
  async isMobileWatchHandler() {
106
107
  await this._initFeaturesWidget();
107
108
  }
109
+ /**
110
+ * Fetch translations when the locale is updated
111
+ */
112
+ async localeWatchHandler() {
113
+ // to support url param and language switcher
114
+ this.el.lang = this.locale;
115
+ await this._getTranslations();
116
+ if (this._features) {
117
+ const graphics = [...this.graphics];
118
+ this.graphics = [];
119
+ this.graphics = graphics;
120
+ }
121
+ }
108
122
  /**
109
123
  * Watch for changes to the mapView and re-init the Feature widget
110
124
  */
@@ -237,8 +251,8 @@ const InfoCard = /*@__PURE__*/ proxyCustomElement(class InfoCard extends HTMLEle
237
251
  const id = this._features?.selectedFeature?.getObjectId();
238
252
  const ids = parseInt(id?.toString(), 10) > -1 ? [id] : [];
239
253
  const deleteEnabled = this._layer?.editingEnabled && this._layer?.capabilities?.operations?.supportsDelete;
240
- 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 &&
241
- 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)))));
254
+ 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 &&
255
+ 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)))));
242
256
  }
243
257
  //--------------------------------------------------------------------------
244
258
  //
@@ -407,6 +421,7 @@ const InfoCard = /*@__PURE__*/ proxyCustomElement(class InfoCard extends HTMLEle
407
421
  static get watchers() { return {
408
422
  "graphics": ["graphicsWatchHandler"],
409
423
  "isMobile": ["isMobileWatchHandler"],
424
+ "locale": ["localeWatchHandler"],
410
425
  "mapView": ["mapViewWatchHandler"]
411
426
  }; }
412
427
  static get style() { return InfoCardStyle0; }
@@ -418,6 +433,7 @@ const InfoCard = /*@__PURE__*/ proxyCustomElement(class InfoCard extends HTMLEle
418
433
  "mapView": [16],
419
434
  "allowEditing": [4, "allow-editing"],
420
435
  "highlightEnabled": [4, "highlight-enabled"],
436
+ "locale": [1],
421
437
  "paginationEnabled": [4, "pagination-enabled"],
422
438
  "position": [1],
423
439
  "_alertOpen": [32],
@@ -435,6 +451,7 @@ const InfoCard = /*@__PURE__*/ proxyCustomElement(class InfoCard extends HTMLEle
435
451
  }, [[8, "closeEdit", "closeEdit"], [8, "layerSelectionChange", "layerSelectionChange"], [8, "refreshGraphics", "refreshGraphics"]], {
436
452
  "graphics": ["graphicsWatchHandler"],
437
453
  "isMobile": ["isMobileWatchHandler"],
454
+ "locale": ["localeWatchHandler"],
438
455
  "mapView": ["mapViewWatchHandler"]
439
456
  }]);
440
457
  function defineCustomElement() {
@@ -19,11 +19,25 @@ const JsonEditor = /*@__PURE__*/ proxyCustomElement(class JsonEditor extends HTM
19
19
  this.hasChanges = false;
20
20
  this.hasErrors = false;
21
21
  this.instanceid = "";
22
+ this.locale = undefined;
22
23
  this.value = "";
23
24
  }
24
25
  get el() { return this; }
25
26
  //--------------------------------------------------------------------------
26
27
  //
28
+ // Watch handlers
29
+ //
30
+ //--------------------------------------------------------------------------
31
+ /**
32
+ * Fetch translations when the locale is updated
33
+ */
34
+ async localeWatchHandler() {
35
+ // to support url param and language switcher
36
+ this.el.lang = this.locale;
37
+ await this._getTranslations();
38
+ }
39
+ //--------------------------------------------------------------------------
40
+ //
27
41
  // Lifecycle
28
42
  //
29
43
  //--------------------------------------------------------------------------
@@ -90,7 +104,7 @@ const JsonEditor = /*@__PURE__*/ proxyCustomElement(class JsonEditor extends HTM
90
104
  * Renders the component.
91
105
  */
92
106
  render() {
93
- return (h(Host, { key: '0c7531c8c816eb9be80d357b19b568ccdb22c407' }, h("div", { key: '866f82b68c2a750edfc80d801e4ea95a3f655100', id: `${this.instanceid}-editor-container`, class: "editor-container padding-right" }, h("div", { key: '5b9f15641f6a26daeb3847d8ef75c76b8be44fc5', class: "editor-controls" }, h("div", { key: 'd1e91eaa242ccd23d5dc1386b6a58d2fafeb4083', class: "editor-buttons" }, h("calcite-icon", { key: 'd9364f7dfdbc22a414b4711c8a22e145b533998e', id: `${this.instanceid}-errorFlag`, icon: "exclamation-mark-triangle", title: this._translations.errorFlag, scale: "s", class: "edit-error-flag" }), h("calcite-button", { key: '29750fc7cedf1f9caf556df3ff84dc45d6b922b9', id: `${this.instanceid}-undo`, color: "blue", appearance: "solid", title: this._translations.undo, onClick: () => this._undo(), scale: "s", class: "edit-button" }, h("calcite-icon", { key: 'c95008b3fccb8bc33f01eb1bd204c84141850981', icon: "undo", scale: "s" })), h("calcite-button", { key: '49ac9ee70c58954f6dee34524f4c7ab6fa0d7a49', id: `${this.instanceid}-redo`, color: "blue", appearance: "solid", title: this._translations.redo, onClick: () => this._redo(), scale: "s", class: "edit-button" }, h("calcite-icon", { key: '2170c36d0fd236c989222991353324d50afa8ac0', icon: "redo", scale: "s" })), h("calcite-button", { key: 'c6e1a0f84fac6fb02d2590cc7b32aefffbc06d25', id: `${this.instanceid}-diff`, color: "blue", appearance: "solid", title: this._translations.diff, onClick: () => this._toggleEditor(), scale: "s", class: "edit-button" }, h("calcite-icon", { key: '88443cfd2a8888447acc75588ecff7938ade5273', icon: "compare", scale: "s" })), h("calcite-button", { key: '42dcd8f63600d4ddb77eaedd529321999cf537b3', id: `${this.instanceid}-search`, appearance: "outline", color: "blue", title: this._translations.search, onClick: () => this._search(), scale: "s", class: "edit-button" }, h("calcite-icon", { key: '31e8ced3f14f1475c62133fbd7730e34b2bc4028', icon: "search", scale: "s" })), h("calcite-button", { key: '769b268d7476f3fe1a8623e9432cfae56602db0c', id: `${this.instanceid}-reset`, color: "blue", appearance: "solid", disabled: true, title: this._translations.cancelEdits, onClick: () => this._reset(), scale: "s", class: "edit-button" }, h("calcite-icon", { key: '4a8ead1dbf8fefe8b4106a0f6f9c42fb5b875cd2', icon: "reset", scale: "s" })))), h("div", { key: '98f29030a0fa0ecbce0d165840a30edd655ba249', class: "edit-parent" }, h("div", { key: '1441e32a184bc24f2a0a25fcb855c41b40bd0cec', id: `${this.instanceid}-container`, class: "json-edit-container" }), h("div", { key: 'f0cf0a3bd11d3f8102c4cc8695ac1743bac36bbb', id: `${this.instanceid}-diff-container`, class: "json-edit-container display-none" })))));
107
+ return (h(Host, { key: 'ba7c8a397da913d86f5d294cdfbb5ec1b84d89de' }, h("div", { key: 'bc5c6d1ee443b2096cc44d0b66850d4ebe8462da', id: `${this.instanceid}-editor-container`, class: "editor-container padding-right" }, h("div", { key: 'dbaf682cba354ce7eef21b03a71832fd39911332', class: "editor-controls" }, h("div", { key: 'e454e1dd36aa620abf2ffb7877bebb9adc70ff15', class: "editor-buttons" }, h("calcite-icon", { key: '1de67e151c6e65b004a431d89dc785ca286a8e11', id: `${this.instanceid}-errorFlag`, icon: "exclamation-mark-triangle", title: this._translations.errorFlag, scale: "s", class: "edit-error-flag" }), h("calcite-button", { key: '33de20955d29287a3ec981e7650562a036343e3a', id: `${this.instanceid}-undo`, color: "blue", appearance: "solid", title: this._translations.undo, onClick: () => this._undo(), scale: "s", class: "edit-button" }, h("calcite-icon", { key: '9bed02f1e8a367ad2ed764747f044a4ce27de52b', icon: "undo", scale: "s" })), h("calcite-button", { key: '07562443286c4eeec28577a7cff0401e8cea0ba8', id: `${this.instanceid}-redo`, color: "blue", appearance: "solid", title: this._translations.redo, onClick: () => this._redo(), scale: "s", class: "edit-button" }, h("calcite-icon", { key: '5f24902a66eae644d0d358a4826a98d45e905493', icon: "redo", scale: "s" })), h("calcite-button", { key: '02f4f3f8ab93e5f1146176ec3699e2a6d25ecbeb', id: `${this.instanceid}-diff`, color: "blue", appearance: "solid", title: this._translations.diff, onClick: () => this._toggleEditor(), scale: "s", class: "edit-button" }, h("calcite-icon", { key: '0bcd20d28e9ec34f1736a2888d78bfcd9cb82a4d', icon: "compare", scale: "s" })), h("calcite-button", { key: 'cf3a7672ebd3ebef00123096ec304456b8f102fc', id: `${this.instanceid}-search`, appearance: "outline", color: "blue", title: this._translations.search, onClick: () => this._search(), scale: "s", class: "edit-button" }, h("calcite-icon", { key: '36aac5e89ebf593d8d1981d7b8f6267fbbadfd24', icon: "search", scale: "s" })), h("calcite-button", { key: 'cc981ff7580acfa3a3395c4ce7a96b3022bbbb4b', id: `${this.instanceid}-reset`, color: "blue", appearance: "solid", disabled: true, title: this._translations.cancelEdits, onClick: () => this._reset(), scale: "s", class: "edit-button" }, h("calcite-icon", { key: '3c4fc1da749f4b4f64d814fcd58dc035634f6b1b', icon: "reset", scale: "s" })))), h("div", { key: '6c33ec4851d804dac7fd9762e3c8c7e416a27cf4', class: "edit-parent" }, h("div", { key: 'a6e9721127bbd43f9974af65e0899489370e1868', id: `${this.instanceid}-container`, class: "json-edit-container" }), h("div", { key: 'c1d1ea305c0e451c24beddb8ac3f8e85a3fca088', id: `${this.instanceid}-diff-container`, class: "json-edit-container display-none" })))));
94
108
  }
95
109
  //--------------------------------------------------------------------------
96
110
  //
@@ -404,16 +418,22 @@ const JsonEditor = /*@__PURE__*/ proxyCustomElement(class JsonEditor extends HTM
404
418
  }
405
419
  }
406
420
  static get assetsDirs() { return ["assets"]; }
421
+ static get watchers() { return {
422
+ "locale": ["localeWatchHandler"]
423
+ }; }
407
424
  static get style() { return JsonEditorStyle0; }
408
425
  }, [0, "json-editor", {
409
426
  "hasChanges": [1540, "has-changes"],
410
427
  "hasErrors": [1540, "has-errors"],
411
428
  "instanceid": [1544],
429
+ "locale": [1],
412
430
  "value": [1544],
413
431
  "getEditorContents": [64],
414
432
  "prepareForDeletion": [64],
415
433
  "replaceCurrentSelection": [64],
416
434
  "reset": [64]
435
+ }, undefined, {
436
+ "locale": ["localeWatchHandler"]
417
437
  }]);
418
438
  function defineCustomElement() {
419
439
  if (typeof customElements === "undefined") {
@@ -30,6 +30,7 @@ const LayerList = /*@__PURE__*/ proxyCustomElement(class LayerList extends HTMLE
30
30
  this.layersListLoaded = createEvent(this, "layersListLoaded", 7);
31
31
  this.mapView = undefined;
32
32
  this.layers = undefined;
33
+ this.locale = undefined;
33
34
  this.showFeatureCount = true;
34
35
  this.showNextIcon = false;
35
36
  this.applyLayerViewFilter = false;
@@ -53,6 +54,14 @@ const LayerList = /*@__PURE__*/ proxyCustomElement(class LayerList extends HTMLE
53
54
  // Watch handlers
54
55
  //
55
56
  //--------------------------------------------------------------------------
57
+ /**
58
+ * Fetch translations when the locale is updated
59
+ */
60
+ async localeWatchHandler() {
61
+ // to support url param and language switcher
62
+ this.el.lang = this.locale;
63
+ await this._getTranslations();
64
+ }
56
65
  //--------------------------------------------------------------------------
57
66
  //
58
67
  // Methods (public)
@@ -101,9 +110,9 @@ const LayerList = /*@__PURE__*/ proxyCustomElement(class LayerList extends HTMLE
101
110
  * Renders the component.
102
111
  */
103
112
  render() {
104
- return (h(Fragment, { key: 'f8e0c21d4ff87d663a1e0f00f1d9ef1123091db9' }, this._isLoading && h("calcite-loader", { key: '42058be6b41126e58d33895bc237b174e55a16ed', label: "", scale: "m" }), !this._isLoading && this.mapView && this._noLayersToDisplay &&
105
- 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 &&
106
- h("calcite-list", { key: '1d2206d3163b6c5ed8511e32ab296f0025889824', "selection-appearance": "border", "selection-mode": "none" }, this.renderLayerList())));
113
+ return (h(Fragment, { key: 'a151c8fd65c50aacb23dcd0c858e52c0c7cd7e5e' }, this._isLoading && h("calcite-loader", { key: '544a134bccc29048ca80b996844cc944bcd97a24', label: "", scale: "m" }), !this._isLoading && this.mapView && this._noLayersToDisplay &&
114
+ 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 &&
115
+ h("calcite-list", { key: '817de422b8387cafb7f9a17515cf9b3c13998522', "selection-appearance": "border", "selection-mode": "none" }, this.renderLayerList())));
107
116
  }
108
117
  //--------------------------------------------------------------------------
109
118
  //
@@ -229,10 +238,14 @@ const LayerList = /*@__PURE__*/ proxyCustomElement(class LayerList extends HTMLE
229
238
  const messages = await getLocaleComponentStrings(this.el);
230
239
  this._translations = messages[0];
231
240
  }
241
+ static get watchers() { return {
242
+ "locale": ["localeWatchHandler"]
243
+ }; }
232
244
  static get style() { return LayerListStyle0; }
233
245
  }, [0, "layer-list", {
234
246
  "mapView": [16],
235
247
  "layers": [16],
248
+ "locale": [1],
236
249
  "showFeatureCount": [4, "show-feature-count"],
237
250
  "showNextIcon": [4, "show-next-icon"],
238
251
  "applyLayerViewFilter": [4, "apply-layer-view-filter"],
@@ -241,6 +254,8 @@ const LayerList = /*@__PURE__*/ proxyCustomElement(class LayerList extends HTMLE
241
254
  "_isLoading": [32],
242
255
  "_translations": [32],
243
256
  "refresh": [64]
257
+ }, undefined, {
258
+ "locale": ["localeWatchHandler"]
244
259
  }]);
245
260
  function defineCustomElement() {
246
261
  if (typeof customElements === "undefined") {
@@ -70,6 +70,7 @@ const LayerTable = /*@__PURE__*/ proxyCustomElement(class LayerTable extends HTM
70
70
  this.enableInlineEdit = undefined;
71
71
  this.enableShare = undefined;
72
72
  this.isMobile = undefined;
73
+ this.locale = undefined;
73
74
  this.mapHidden = undefined;
74
75
  this.mapInfo = undefined;
75
76
  this.mapView = undefined;
@@ -325,6 +326,14 @@ const LayerTable = /*@__PURE__*/ proxyCustomElement(class LayerTable extends HTM
325
326
  }
326
327
  });
327
328
  }
329
+ /**
330
+ * Fetch translations when the locale is updated
331
+ */
332
+ async localeWatchHandler() {
333
+ // to support url param and language switcher
334
+ this.el.lang = this.locale;
335
+ await this._getTranslations();
336
+ }
328
337
  /**
329
338
  * Reset the toolInfos when mapHidden prop changes so we can show/hide any map dependant tool(s)
330
339
  */
@@ -557,10 +566,10 @@ const LayerTable = /*@__PURE__*/ proxyCustomElement(class LayerTable extends HTM
557
566
  const tableHeightClass = this.isMobile ? "height-full" : "height-full-adjusted";
558
567
  const showSearch = this._canShowFullTextSearch();
559
568
  this._validateActiveActions();
560
- return (h(Host, { key: '04fccaaa9862ed315d99ad74f7e1135dd5656613' }, h("calcite-shell", { key: 'e332d781be1499857a5e17e37ad2e058bba453b1' }, this._getTableControlRow("header"), h("div", { key: '6337e494f879c250494c5f5859daec627fdd0700', class: `width-full ${tableHeightClass}` }, h("calcite-panel", { key: 'd0d437997906fd15f97765cb89c3917f66b20c37', class: "height-full width-full" }, showSearch &&
561
- h("div", { key: '596a2d54fd707941d9e2ec167598313d9ee9b295', class: "search-container" }, h("calcite-input", { key: '31cd1ffb09bc2c6c9c1f9daf39f3e9549cbceeb2', class: "search", clearable: true, icon: "search", onCalciteInputChange: (evt) => void this._searchTextChanged(evt), placeholder: this._searchPlaceHolder, title: this._searchPlaceHolder, type: "search" })), h("calcite-loader", { key: 'b4ba3d32fb346134672e08d55428bd38ac43f40d', class: loadingClass, label: this._translations.fetchingData, scale: "l" }), h("div", { key: '4fbac73935be7a1163643543e6d77a200534e5e3', class: tableNodeClass, ref: this.onTableNodeCreate }))), !this.isMobile ? (h("div", { class: "bottom-left text-color height-19" }, this._translations.recordsSelected
569
+ return (h(Host, { key: '5cbb5ba55c63eaf278666aac034a01d971d9f12a' }, h("calcite-shell", { key: '8a27d87fc002b72fe478d25885b2ab04261362ca' }, this._getTableControlRow("header"), h("div", { key: '250c356a30389b8cb95628953f3bb3ec5c88361d', class: `width-full ${tableHeightClass}` }, h("calcite-panel", { key: '9d5dbb084031bdface1dbc3a1dbc2fa33eb163b5', class: "height-full width-full" }, showSearch &&
570
+ h("div", { key: '2d45ae4255a1d0e3cf14aa0f6a01915a38626bc7', class: "search-container" }, h("calcite-input", { key: 'c73546fef30db70d01cf8978a5daf9ea4193ddc2', class: "search", clearable: true, icon: "search", onCalciteInputChange: (evt) => void this._searchTextChanged(evt), placeholder: this._searchPlaceHolder, title: this._searchPlaceHolder, type: "search" })), h("calcite-loader", { key: '61621afb1e5fa67e25b878320c8497200b8265cd', class: loadingClass, label: this._translations.fetchingData, scale: "l" }), h("div", { key: '0ef4fe0e4099ec60f4c38e2c421920c9a8fe3c4f', class: tableNodeClass, ref: this.onTableNodeCreate }))), !this.isMobile ? (h("div", { class: "bottom-left text-color height-19" }, this._translations.recordsSelected
562
571
  .replace("{{total}}", total)
563
- .replace("{{selected}}", selected))) : undefined), this.createFilterModal && this._filterModal(), h("delete-dialog", { key: '3b0dba8bc391d777f4687ad6f4e905aeb1eb580b', id: "deleteDialogId", ids: this._getIds(), layer: this._layer, onDeleteDialogClose: () => this._deleteDialogOpen = false, open: this._deleteDialogOpen, ref: (el) => this._deleteDialog = el })));
572
+ .replace("{{selected}}", selected))) : undefined), this.createFilterModal && this._filterModal(), h("delete-dialog", { key: 'e2564b1d08476f762577247ffb41a00e5c41514c', id: "deleteDialogId", ids: this._getIds(), layer: this._layer, locale: this.locale, onDeleteDialogClose: () => this._deleteDialogOpen = false, open: this._deleteDialogOpen, ref: (el) => this._deleteDialog = el })));
564
573
  }
565
574
  _deleteDialog;
566
575
  /**
@@ -736,7 +745,7 @@ const LayerTable = /*@__PURE__*/ proxyCustomElement(class LayerTable extends HTM
736
745
  _getActionBar() {
737
746
  const containerClass = this.isMobile ? "width-full" : "";
738
747
  const mobileClass = this.isMobile ? "border-top" : "";
739
- return (h("calcite-action-bar", { class: containerClass, expandDisabled: true, expanded: true, id: this._getId("bar"), layout: "horizontal" }, h("div", { class: `border-end ${containerClass} ${mobileClass}`, id: "solutions-map-layer-picker-container" }, h("map-layer-picker", { appearance: "transparent", defaultLayerId: this.defaultLayerId, display: "inline-flex", height: 50, isMobile: this.isMobile, mapView: this.mapView, onlyShowUpdatableLayers: this.onlyShowUpdatableLayers, placeholderIcon: "layers", scale: "l", selectedIds: this._layer ? [this._layer?.id] : [], showSingleLayerAsLabel: true, showTables: true, type: "dropdown" })), !this.isMobile ? this._getActions() : undefined));
748
+ return (h("calcite-action-bar", { class: containerClass, expandDisabled: true, expanded: true, id: this._getId("bar"), layout: "horizontal" }, h("div", { class: `border-end ${containerClass} ${mobileClass}`, id: "solutions-map-layer-picker-container" }, h("map-layer-picker", { appearance: "transparent", defaultLayerId: this.defaultLayerId, display: "inline-flex", height: 50, isMobile: this.isMobile, locale: this.locale, mapView: this.mapView, onlyShowUpdatableLayers: this.onlyShowUpdatableLayers, placeholderIcon: "layers", scale: "l", selectedIds: this._layer ? [this._layer?.id] : [], showSingleLayerAsLabel: true, showTables: true, type: "dropdown" })), !this.isMobile ? this._getActions() : undefined));
740
749
  }
741
750
  /**
742
751
  * Get the actions that are used for various interactions with the table
@@ -1215,7 +1224,7 @@ const LayerTable = /*@__PURE__*/ proxyCustomElement(class LayerTable extends HTM
1215
1224
  */
1216
1225
  _getDangerAction(icon, label, func, disabled) {
1217
1226
  const _disabled = this._layer === undefined ? true : disabled;
1218
- return (h("div", { class: "display-flex", id: this._getId(icon) }, icon === "trash" ? (h("delete-button", { buttonType: "action", class: "display-flex", disabled: _disabled, icon: icon, id: "solutions-delete", ids: this._getIds(), layer: this._layer })) : (h("calcite-action", { appearance: "solid", disabled: _disabled, id: icon, onClick: func, text: label }, h("calcite-button", { appearance: "transparent", iconStart: icon, kind: "danger" }, label))), this._getToolTip("bottom", icon, label)));
1227
+ return (h("div", { class: "display-flex", id: this._getId(icon) }, icon === "trash" ? (h("delete-button", { buttonType: "action", class: "display-flex", disabled: _disabled, icon: icon, id: "solutions-delete", ids: this._getIds(), layer: this._layer, locale: this.locale })) : (h("calcite-action", { appearance: "solid", disabled: _disabled, id: icon, onClick: func, text: label }, h("calcite-button", { appearance: "transparent", iconStart: icon, kind: "danger" }, label))), this._getToolTip("bottom", icon, label)));
1219
1228
  }
1220
1229
  /**
1221
1230
  * Return all currently selected IDs from the table
@@ -1929,6 +1938,7 @@ const LayerTable = /*@__PURE__*/ proxyCustomElement(class LayerTable extends HTM
1929
1938
  "enableInlineEdit": ["enableInlineEditWatchHandler"],
1930
1939
  "enableShare": ["enableShareWatchHandler"],
1931
1940
  "_controlsThatFit": ["_controlsThatFitWatchHandler"],
1941
+ "locale": ["localeWatchHandler"],
1932
1942
  "mapHidden": ["mapHiddenWatchHandler"],
1933
1943
  "isMobile": ["isMobileWatchHandler"],
1934
1944
  "mapInfo": ["mapInfoWatchHandler"],
@@ -1948,6 +1958,7 @@ const LayerTable = /*@__PURE__*/ proxyCustomElement(class LayerTable extends HTM
1948
1958
  "enableInlineEdit": [4, "enable-inline-edit"],
1949
1959
  "enableShare": [4, "enable-share"],
1950
1960
  "isMobile": [4, "is-mobile"],
1961
+ "locale": [1],
1951
1962
  "mapHidden": [4, "map-hidden"],
1952
1963
  "mapInfo": [16],
1953
1964
  "mapView": [16],
@@ -1987,6 +1998,7 @@ const LayerTable = /*@__PURE__*/ proxyCustomElement(class LayerTable extends HTM
1987
1998
  "enableInlineEdit": ["enableInlineEditWatchHandler"],
1988
1999
  "enableShare": ["enableShareWatchHandler"],
1989
2000
  "_controlsThatFit": ["_controlsThatFitWatchHandler"],
2001
+ "locale": ["localeWatchHandler"],
1990
2002
  "mapHidden": ["mapHiddenWatchHandler"],
1991
2003
  "isMobile": ["isMobileWatchHandler"],
1992
2004
  "mapInfo": ["mapInfoWatchHandler"],
@@ -111,6 +111,7 @@ const MapCard = /*@__PURE__*/ proxyCustomElement(class MapCard extends HTMLEleme
111
111
  this.homeZoomIndex = 3;
112
112
  this.homeZoomPosition = "top-left";
113
113
  this.homeZoomToolsSize = "m";
114
+ this.locale = undefined;
114
115
  this.mapInfos = [];
115
116
  this.mapWidgetsIndex = 0;
116
117
  this.mapWidgetsPosition = "top-right";
@@ -260,6 +261,14 @@ const MapCard = /*@__PURE__*/ proxyCustomElement(class MapCard extends HTMLEleme
260
261
  this._updateToolbar();
261
262
  }
262
263
  }
264
+ /**
265
+ * Fetch translations when the locale is updated
266
+ */
267
+ async localeWatchHandler() {
268
+ // to support url param and language switcher
269
+ this.el.lang = this.locale;
270
+ await this._getTranslations();
271
+ }
263
272
  /**
264
273
  * watch for changes in map view and get the first layer
265
274
  */
@@ -392,7 +401,7 @@ const MapCard = /*@__PURE__*/ proxyCustomElement(class MapCard extends HTMLEleme
392
401
  const mapHeightClass = this.mapInfos?.length > 1 || this.isMapLayout ? "map-height" : "height-full";
393
402
  const progressClass = this.isMapLayout ? "" : "display-none";
394
403
  this._validateActiveActions();
395
- return (h(Host, { key: 'd4e5ff9c4aa08a4effe19a54a1a48463cb8b3774' }, h("div", { key: '51ee35d267d5ef081a4c160de3e03b1790d328c8', class: `${mapContainerClass} width-full`, ref: (el) => this._toolbar = el }, this._getActionBar(), !this.isMobile && this.isMapLayout && this._getDropdown("more-table-options"), this.enableShare && !this.isMobile && this.isMapLayout ? this._getShare("share") : undefined), h("calcite-progress", { key: '70a5c232aae8a9ff6740fd326e6ba6fe61936541', class: progressClass, value: 0 }), h("div", { key: 'c399acc019d7f0a16dbb644eee4cfdd1e6e83c7c', class: `${mapHeightClass} ${mapClass}`, ref: (el) => (this._mapDiv = el) }), h("map-tools", { key: 'c6a88ccfa140fe9b0d059f74b9254af6ef0997ce', basemapConfig: this.basemapConfig, class: `box-shadow ${themeClass}`, enableBasemap: this.enableBasemap, enableFloorFilter: this.enableFloorFilter, enableFullscreen: this.enableFullscreen, enableHome: this.enableHome, enableLegend: this.enableLegend, enableSearch: this.enableSearch, enableSingleExpand: this.enableSingleExpand, homeZoomToolsSize: this.homeZoomToolsSize, mapView: this.mapView, mapWidgetsSize: this.mapWidgetsSize, position: this.mapWidgetsPosition, ref: (el) => this._mapTools = el, searchConfiguration: this._searchConfiguration, stackTools: this.stackTools, toolOrder: this.toolOrder })));
404
+ return (h(Host, { key: '0b617eeb40229e49a32f5e4a557bfa0f88588fae' }, h("div", { key: 'd93aa32cd31279e468e4570af231a3f3788b9897', class: `${mapContainerClass} width-full`, ref: (el) => this._toolbar = el }, this._getActionBar(), !this.isMobile && this.isMapLayout && this._getDropdown("more-table-options"), this.enableShare && !this.isMobile && this.isMapLayout ? this._getShare("share") : undefined), h("calcite-progress", { key: '0ac01b19752ded5ddf0b06723b30fa669b2f6933', class: progressClass, value: 0 }), h("div", { key: '256bc38d71e3de4ab7ba7328ce12c32fa9ef0d2b', class: `${mapHeightClass} ${mapClass}`, ref: (el) => (this._mapDiv = el) }), h("map-tools", { key: 'e86f179871e8b315ff8d6ecb87545d9af8222590', basemapConfig: this.basemapConfig, class: `box-shadow ${themeClass}`, enableBasemap: this.enableBasemap, enableFloorFilter: this.enableFloorFilter, enableFullscreen: this.enableFullscreen, enableHome: this.enableHome, enableLegend: this.enableLegend, enableSearch: this.enableSearch, enableSingleExpand: this.enableSingleExpand, homeZoomToolsSize: this.homeZoomToolsSize, locale: this.locale, mapView: this.mapView, mapWidgetsSize: this.mapWidgetsSize, position: this.mapWidgetsPosition, ref: (el) => this._mapTools = el, searchConfiguration: this._searchConfiguration, stackTools: this.stackTools, toolOrder: this.toolOrder })));
396
405
  }
397
406
  /**
398
407
  * Called each time after the component is loaded
@@ -619,7 +628,7 @@ const MapCard = /*@__PURE__*/ proxyCustomElement(class MapCard extends HTMLEleme
619
628
  const containerClass = this.isMapLayout ? "display-flex" : "display-block";
620
629
  const mobileClass = this.isMobile ? "border-top" : "";
621
630
  const headerElements = this.isMapLayout ? "" : "display-none";
622
- return (h("calcite-action-bar", { class: containerClass, expandDisabled: true, expanded: true, id: this._getId("bar"), layout: "horizontal" }, h("map-picker", { class: mapPickerClass, isMapLayout: this.isMapLayout, mapInfos: this.mapInfos, ref: (el) => this._mapPicker = el }), h("div", { class: `mapView-header display-flex ${headerElements}` }, h("div", { class: `border-end ${containerClass} ${mobileClass}`, id: "solutions-map-layer-picker-container" }, this.mapView && h("map-layer-picker", { appearance: "transparent", defaultLayerId: this.defaultLayerId, display: "inline-flex", height: 50, isMobile: this.isMobile, mapView: this.mapView, onlyShowUpdatableLayers: this.onlyShowUpdatableLayers, placeholderIcon: "layers", ref: (el) => this._mapLayerPicker = el, scale: "l", selectedIds: this.selectedLayer ? [this.selectedLayer.id] : [], showSingleLayerAsLabel: true, showTables: true, showTablesDisabled: true, type: "dropdown" }))), !this.isMobile && this.isMapLayout ? this._getActions() : undefined));
631
+ return (h("calcite-action-bar", { class: containerClass, expandDisabled: true, expanded: true, id: this._getId("bar"), layout: "horizontal" }, h("map-picker", { class: mapPickerClass, isMapLayout: this.isMapLayout, locale: this.locale, mapInfos: this.mapInfos, ref: (el) => this._mapPicker = el }), h("div", { class: `mapView-header display-flex ${headerElements}` }, h("div", { class: `border-end ${containerClass} ${mobileClass}`, id: "solutions-map-layer-picker-container" }, this.mapView && h("map-layer-picker", { appearance: "transparent", defaultLayerId: this.defaultLayerId, display: "inline-flex", height: 50, isMobile: this.isMobile, locale: this.locale, mapView: this.mapView, onlyShowUpdatableLayers: this.onlyShowUpdatableLayers, placeholderIcon: "layers", ref: (el) => this._mapLayerPicker = el, scale: "l", selectedIds: this.selectedLayer ? [this.selectedLayer.id] : [], showSingleLayerAsLabel: true, showTables: true, showTablesDisabled: true, type: "dropdown" }))), !this.isMobile && this.isMapLayout ? this._getActions() : undefined));
623
632
  }
624
633
  /**
625
634
  * Get a list of toolInfos that should display in the dropdown
@@ -957,6 +966,7 @@ const MapCard = /*@__PURE__*/ proxyCustomElement(class MapCard extends HTMLEleme
957
966
  "appLayout": ["appLayoutWatchHandler"],
958
967
  "enableHome": ["enableHomeWatchHandler"],
959
968
  "enableShare": ["enableShareWatchHandler"],
969
+ "locale": ["localeWatchHandler"],
960
970
  "mapView": ["mapViewWatchHandler"],
961
971
  "selectedLayer": ["selectedLayerWatchHandler"],
962
972
  "selectedFeaturesIds": ["selectedFeaturesIdsWatchHandler"],
@@ -981,6 +991,7 @@ const MapCard = /*@__PURE__*/ proxyCustomElement(class MapCard extends HTMLEleme
981
991
  "homeZoomIndex": [2, "home-zoom-index"],
982
992
  "homeZoomPosition": [1, "home-zoom-position"],
983
993
  "homeZoomToolsSize": [1, "home-zoom-tools-size"],
994
+ "locale": [1],
984
995
  "mapInfos": [16],
985
996
  "mapWidgetsIndex": [2, "map-widgets-index"],
986
997
  "mapWidgetsPosition": [1, "map-widgets-position"],
@@ -1011,6 +1022,7 @@ const MapCard = /*@__PURE__*/ proxyCustomElement(class MapCard extends HTMLEleme
1011
1022
  "appLayout": ["appLayoutWatchHandler"],
1012
1023
  "enableHome": ["enableHomeWatchHandler"],
1013
1024
  "enableShare": ["enableShareWatchHandler"],
1025
+ "locale": ["localeWatchHandler"],
1014
1026
  "mapView": ["mapViewWatchHandler"],
1015
1027
  "selectedLayer": ["selectedLayerWatchHandler"],
1016
1028
  "selectedFeaturesIds": ["selectedFeaturesIdsWatchHandler"],