@esri/solutions-components 0.10.39 → 0.10.41

Sign up to get free protection for your applications and to get access to all the features.
Files changed (406) 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-block_5.cjs.entry.js +75 -65
  5. package/dist/cjs/calcite-combobox_3.cjs.entry.js +11 -1
  6. package/dist/cjs/calcite-flow_4.cjs.entry.js +33 -10
  7. package/dist/cjs/calcite-shell-panel_14.cjs.entry.js +119 -10
  8. package/dist/cjs/calcite-shell_3.cjs.entry.js +26 -4
  9. package/dist/cjs/card-manager_3.cjs.entry.js +41 -9
  10. package/dist/cjs/consent-manager.cjs.entry.js +12 -0
  11. package/dist/cjs/crowdsource-manager.cjs.entry.js +12 -13
  12. package/dist/cjs/crowdsource-reporter.cjs.entry.js +19 -9
  13. package/dist/cjs/deduct-calculator.cjs.entry.js +1 -1
  14. package/dist/cjs/feature-list.cjs.entry.js +13 -3
  15. package/dist/cjs/instant-apps-app-guide.cjs.entry.js +1 -1
  16. package/dist/cjs/instant-apps-export.cjs.entry.js +5 -1
  17. package/dist/cjs/instant-apps-landing-page.cjs.entry.js +1 -1
  18. package/dist/cjs/instant-apps-sign-in.cjs.entry.js +2 -2
  19. package/dist/cjs/instant-apps-time-filter.cjs.entry.js +6 -6
  20. package/dist/cjs/loader.cjs.js +1 -1
  21. package/dist/cjs/map-select-tools_3.cjs.entry.js +38 -6
  22. package/dist/cjs/pci-calculator.cjs.entry.js +1 -1
  23. package/dist/cjs/public-notification.cjs.entry.js +11 -2
  24. package/dist/cjs/share-item.cjs.entry.js +1 -1
  25. package/dist/cjs/solution-configuration.cjs.entry.js +20 -5
  26. package/dist/cjs/solution-contents_3.cjs.entry.js +37 -7
  27. package/dist/cjs/solution-item-accordion.cjs.entry.js +11 -1
  28. package/dist/cjs/solution-item-icon.cjs.entry.js +1 -1
  29. package/dist/cjs/solutions-components.cjs.js +1 -1
  30. package/dist/cjs/spatial-ref.cjs.entry.js +16 -1
  31. package/dist/collection/collection-manifest.json +0 -7
  32. package/dist/collection/components/buffer-tools/buffer-tools.js +30 -1
  33. package/dist/collection/components/card-manager/card-manager.js +34 -2
  34. package/dist/collection/components/consent-manager/consent-manager.js +32 -0
  35. package/dist/collection/components/create-feature/create-feature.js +31 -2
  36. package/dist/collection/components/create-related-feature/create-related-feature.js +30 -1
  37. package/dist/collection/components/crowdsource-manager/crowdsource-manager.js +20 -22
  38. package/dist/collection/components/crowdsource-reporter/crowdsource-reporter.js +38 -9
  39. package/dist/collection/components/deduct-calculator/deduct-calculator.js +1 -1
  40. package/dist/collection/components/delete-button/delete-button.js +31 -2
  41. package/dist/collection/components/delete-dialog/delete-dialog.js +33 -1
  42. package/dist/collection/components/edit-card/edit-card.js +30 -1
  43. package/dist/collection/components/feature-details/feature-details.js +24 -6
  44. package/dist/collection/components/feature-list/feature-list.js +32 -3
  45. package/dist/collection/components/floor-filter/floor-filter.js +1 -1
  46. package/dist/collection/components/info-card/info-card.js +36 -2
  47. package/dist/collection/components/json-editor/json-editor.js +38 -1
  48. package/dist/collection/components/layer-list/layer-list.js +35 -3
  49. package/dist/collection/components/layer-table/layer-table.js +34 -5
  50. package/dist/collection/components/map-card/map-card.js +31 -2
  51. package/dist/collection/components/map-draw-tools/map-draw-tools.js +30 -1
  52. package/dist/collection/components/map-fullscreen/map-fullscreen.js +1 -1
  53. package/dist/collection/components/map-layer-picker/map-layer-picker.js +30 -1
  54. package/dist/collection/components/map-legend/map-legend.js +1 -1
  55. package/dist/collection/components/map-picker/map-picker.js +30 -1
  56. package/dist/collection/components/map-search/map-search.js +1 -1
  57. package/dist/collection/components/map-select-tools/map-select-tools.js +15 -4
  58. package/dist/collection/components/map-tools/map-tools.js +30 -1
  59. package/dist/collection/components/pci-calculator/pci-calculator.js +1 -1
  60. package/dist/collection/components/pdf-download/pdf-download.js +33 -1
  61. package/dist/collection/components/public-notification/public-notification.js +13 -2
  62. package/dist/collection/components/refine-selection/refine-selection.js +15 -1
  63. package/dist/collection/components/share-item/share-item.js +1 -1
  64. package/dist/collection/components/solution-configuration/solution-configuration.js +38 -4
  65. package/dist/collection/components/solution-contents/solution-contents.js +1 -1
  66. package/dist/collection/components/solution-item/solution-item.js +37 -3
  67. package/dist/collection/components/solution-item-accordion/solution-item-accordion.js +30 -1
  68. package/dist/collection/components/solution-item-details/solution-item-details.js +38 -1
  69. package/dist/collection/components/solution-item-icon/solution-item-icon.js +1 -1
  70. package/dist/collection/components/solution-item-sharing/solution-item-sharing.js +35 -1
  71. package/dist/collection/components/solution-organization-variables/solution-organization-variables.js +35 -1
  72. package/dist/collection/components/solution-resource-item/solution-resource-item.js +35 -1
  73. package/dist/collection/components/solution-spatial-ref/solution-spatial-ref.js +35 -1
  74. package/dist/collection/components/solution-template-data/solution-template-data.js +35 -1
  75. package/dist/collection/components/solution-variables/solution-variables.js +35 -1
  76. package/dist/collection/components/spatial-ref/spatial-ref.js +35 -1
  77. package/dist/collection/demos/crowdsource-manager.html +0 -1
  78. package/dist/collection/demos/crowdsource-reporter.html +2 -2
  79. package/dist/components/buffer-tools2.js +15 -3
  80. package/dist/components/card-manager2.js +18 -3
  81. package/dist/components/consent-manager.js +15 -0
  82. package/dist/components/create-feature2.js +14 -2
  83. package/dist/components/create-related-feature2.js +13 -1
  84. package/dist/components/crowdsource-manager.js +14 -15
  85. package/dist/components/crowdsource-reporter.js +21 -9
  86. package/dist/components/deduct-calculator2.js +1 -1
  87. package/dist/components/delete-button2.js +16 -4
  88. package/dist/components/delete-dialog2.js +16 -1
  89. package/dist/components/edit-card2.js +13 -1
  90. package/dist/components/feature-details2.js +8 -6
  91. package/dist/components/feature-list2.js +15 -3
  92. package/dist/components/floor-filter2.js +1 -1
  93. package/dist/components/info-card2.js +19 -2
  94. package/dist/components/instant-apps-app-guide.js +1 -1
  95. package/dist/components/instant-apps-export.js +5 -1
  96. package/dist/components/instant-apps-filter-list2.js +75 -66
  97. package/dist/components/instant-apps-landing-page.js +1 -1
  98. package/dist/components/instant-apps-sign-in2.js +2 -2
  99. package/dist/components/instant-apps-time-filter.js +6 -6
  100. package/dist/components/json-editor2.js +21 -1
  101. package/dist/components/layer-list2.js +18 -3
  102. package/dist/components/layer-table2.js +17 -5
  103. package/dist/components/map-card2.js +14 -2
  104. package/dist/components/map-draw-tools2.js +13 -1
  105. package/dist/components/map-fullscreen2.js +1 -1
  106. package/dist/components/map-layer-picker2.js +13 -1
  107. package/dist/components/map-legend2.js +1 -1
  108. package/dist/components/map-picker2.js +13 -1
  109. package/dist/components/map-search2.js +1 -1
  110. package/dist/components/map-select-tools2.js +14 -4
  111. package/dist/components/map-tools2.js +13 -1
  112. package/dist/components/pci-calculator.js +1 -1
  113. package/dist/components/pdf-download2.js +16 -1
  114. package/dist/components/public-notification.js +12 -2
  115. package/dist/components/refine-selection2.js +14 -1
  116. package/dist/components/share-item.js +1 -1
  117. package/dist/components/solution-configuration.js +23 -6
  118. package/dist/components/solution-contents2.js +1 -1
  119. package/dist/components/solution-item-accordion.js +13 -1
  120. package/dist/components/solution-item-details2.js +22 -2
  121. package/dist/components/solution-item-icon2.js +1 -1
  122. package/dist/components/solution-item-sharing2.js +20 -3
  123. package/dist/components/solution-item2.js +22 -5
  124. package/dist/components/solution-organization-variables2.js +18 -1
  125. package/dist/components/solution-resource-item2.js +20 -3
  126. package/dist/components/solution-spatial-ref2.js +20 -3
  127. package/dist/components/solution-template-data2.js +20 -3
  128. package/dist/components/solution-variables2.js +18 -1
  129. package/dist/components/spatial-ref.js +18 -1
  130. package/dist/esm/basemap-gallery_7.entry.js +26 -6
  131. package/dist/esm/buffer-tools_3.entry.js +23 -3
  132. package/dist/esm/calcite-alert_5.entry.js +40 -5
  133. package/dist/esm/calcite-block_5.entry.js +75 -65
  134. package/dist/esm/calcite-combobox_3.entry.js +11 -1
  135. package/dist/esm/calcite-flow_4.entry.js +33 -10
  136. package/dist/esm/calcite-shell-panel_14.entry.js +119 -10
  137. package/dist/esm/calcite-shell_3.entry.js +26 -4
  138. package/dist/esm/card-manager_3.entry.js +41 -9
  139. package/dist/esm/consent-manager.entry.js +12 -0
  140. package/dist/esm/crowdsource-manager.entry.js +12 -13
  141. package/dist/esm/crowdsource-reporter.entry.js +19 -9
  142. package/dist/esm/deduct-calculator.entry.js +1 -1
  143. package/dist/esm/feature-list.entry.js +13 -3
  144. package/dist/esm/instant-apps-app-guide.entry.js +1 -1
  145. package/dist/esm/instant-apps-export.entry.js +5 -1
  146. package/dist/esm/instant-apps-landing-page.entry.js +1 -1
  147. package/dist/esm/instant-apps-sign-in.entry.js +2 -2
  148. package/dist/esm/instant-apps-time-filter.entry.js +6 -6
  149. package/dist/esm/loader.js +1 -1
  150. package/dist/esm/map-select-tools_3.entry.js +38 -6
  151. package/dist/esm/pci-calculator.entry.js +1 -1
  152. package/dist/esm/public-notification.entry.js +11 -2
  153. package/dist/esm/share-item.entry.js +1 -1
  154. package/dist/esm/solution-configuration.entry.js +20 -5
  155. package/dist/esm/solution-contents_3.entry.js +37 -7
  156. package/dist/esm/solution-item-accordion.entry.js +11 -1
  157. package/dist/esm/solution-item-icon.entry.js +1 -1
  158. package/dist/esm/solutions-components.js +1 -1
  159. package/dist/esm/spatial-ref.entry.js +16 -1
  160. package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-app-guide/instant-apps-app-guide.css +1 -1
  161. package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-landing-page/instant-apps-landing-page.css +43 -26
  162. package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-sign-in/instant-apps-sign-in.css +6 -0
  163. package/dist/solutions-components/demos/crowdsource-manager.html +0 -1
  164. package/dist/solutions-components/demos/crowdsource-reporter.html +2 -2
  165. package/dist/solutions-components/p-0a2e5861.entry.js +6 -0
  166. package/dist/solutions-components/{p-739ce6f3.entry.js → p-2f784608.entry.js} +1 -1
  167. package/dist/solutions-components/{p-1c2d0e90.entry.js → p-3e44cfab.entry.js} +1 -1
  168. package/dist/solutions-components/{p-841816a1.entry.js → p-41314f33.entry.js} +7 -7
  169. package/dist/solutions-components/{p-18089a0b.entry.js → p-471d5c7f.entry.js} +2 -2
  170. package/dist/solutions-components/p-5001cc41.entry.js +6 -0
  171. package/dist/solutions-components/p-523dcf4b.entry.js +6 -0
  172. package/dist/solutions-components/p-561c0e02.entry.js +6 -0
  173. package/dist/solutions-components/p-56beff4c.entry.js +6 -0
  174. package/dist/solutions-components/p-592f2000.entry.js +6 -0
  175. package/dist/solutions-components/p-5cbf3eed.entry.js +6 -0
  176. package/dist/solutions-components/p-62d8796c.entry.js +17 -0
  177. package/dist/solutions-components/p-6d1922cc.entry.js +6 -0
  178. package/dist/solutions-components/p-80e81af7.entry.js +6 -0
  179. package/dist/solutions-components/{p-82ddf716.entry.js → p-8e2f4995.entry.js} +1 -1
  180. package/dist/solutions-components/p-8f8c7045.entry.js +6 -0
  181. package/dist/solutions-components/p-953afbb3.entry.js +29 -0
  182. package/dist/solutions-components/{p-bb8b1ee2.entry.js → p-a2cf9fdc.entry.js} +1 -1
  183. package/dist/solutions-components/p-a7f56b28.entry.js +6 -0
  184. package/dist/solutions-components/{p-6502d0f8.entry.js → p-b7fbaeb7.entry.js} +1 -1
  185. package/dist/solutions-components/p-cced387c.entry.js +6 -0
  186. package/dist/solutions-components/{p-a5d79c86.entry.js → p-ce53e33d.entry.js} +2 -2
  187. package/dist/solutions-components/{p-59ccd27c.entry.js → p-d51c07d2.entry.js} +1 -1
  188. package/dist/solutions-components/p-d75cf651.entry.js +11 -0
  189. package/dist/solutions-components/p-d7afbe8d.entry.js +11 -0
  190. package/dist/solutions-components/p-e1e21798.entry.js +12 -0
  191. package/dist/solutions-components/p-e4107150.entry.js +6 -0
  192. package/dist/solutions-components/p-e9026f9a.entry.js +6 -0
  193. package/dist/solutions-components/solutions-components.esm.js +1 -1
  194. package/dist/types/components/buffer-tools/buffer-tools.d.ts +8 -0
  195. package/dist/types/components/card-manager/card-manager.d.ts +8 -0
  196. package/dist/types/components/consent-manager/consent-manager.d.ts +8 -0
  197. package/dist/types/components/create-feature/create-feature.d.ts +8 -0
  198. package/dist/types/components/create-related-feature/create-related-feature.d.ts +8 -0
  199. package/dist/types/components/crowdsource-manager/crowdsource-manager.d.ts +4 -4
  200. package/dist/types/components/crowdsource-reporter/crowdsource-reporter.d.ts +8 -0
  201. package/dist/types/components/deduct-calculator/deduct-calculator.d.ts +1 -1
  202. package/dist/types/components/delete-button/delete-button.d.ts +9 -1
  203. package/dist/types/components/delete-dialog/delete-dialog.d.ts +8 -0
  204. package/dist/types/components/edit-card/edit-card.d.ts +8 -0
  205. package/dist/types/components/feature-details/feature-details.d.ts +4 -0
  206. package/dist/types/components/feature-list/feature-list.d.ts +8 -0
  207. package/dist/types/components/info-card/info-card.d.ts +8 -0
  208. package/dist/types/components/json-editor/json-editor.d.ts +8 -0
  209. package/dist/types/components/layer-list/layer-list.d.ts +8 -0
  210. package/dist/types/components/layer-table/layer-table.d.ts +9 -1
  211. package/dist/types/components/map-card/map-card.d.ts +8 -0
  212. package/dist/types/components/map-draw-tools/map-draw-tools.d.ts +8 -0
  213. package/dist/types/components/map-layer-picker/map-layer-picker.d.ts +8 -0
  214. package/dist/types/components/map-picker/map-picker.d.ts +8 -0
  215. package/dist/types/components/map-select-tools/map-select-tools.d.ts +4 -0
  216. package/dist/types/components/map-tools/map-tools.d.ts +8 -0
  217. package/dist/types/components/pdf-download/pdf-download.d.ts +8 -0
  218. package/dist/types/components/public-notification/public-notification.d.ts +4 -0
  219. package/dist/types/components/refine-selection/refine-selection.d.ts +4 -0
  220. package/dist/types/components/solution-configuration/solution-configuration.d.ts +8 -0
  221. package/dist/types/components/solution-item/solution-item.d.ts +8 -0
  222. package/dist/types/components/solution-item-accordion/solution-item-accordion.d.ts +8 -0
  223. package/dist/types/components/solution-item-details/solution-item-details.d.ts +8 -0
  224. package/dist/types/components/solution-item-sharing/solution-item-sharing.d.ts +8 -0
  225. package/dist/types/components/solution-organization-variables/solution-organization-variables.d.ts +8 -0
  226. package/dist/types/components/solution-resource-item/solution-resource-item.d.ts +8 -0
  227. package/dist/types/components/solution-spatial-ref/solution-spatial-ref.d.ts +8 -0
  228. package/dist/types/components/solution-template-data/solution-template-data.d.ts +8 -0
  229. package/dist/types/components/solution-variables/solution-variables.d.ts +8 -0
  230. package/dist/types/components/spatial-ref/spatial-ref.d.ts +8 -0
  231. package/dist/types/components.d.ts +266 -120
  232. package/dist/types/preact.d.ts +0 -16
  233. package/package.json +8 -8
  234. package/dist/cjs/feature-comments.cjs.entry.js +0 -61
  235. package/dist/cjs/feature-form-flow-item.cjs.entry.js +0 -61
  236. package/dist/cjs/features-flow-item.cjs.entry.js +0 -61
  237. package/dist/cjs/layout-manager.cjs.entry.js +0 -114
  238. package/dist/cjs/list-flow-item.cjs.entry.js +0 -61
  239. package/dist/cjs/location-flow-item.cjs.entry.js +0 -61
  240. package/dist/cjs/refine-results-flow-item.cjs.entry.js +0 -61
  241. package/dist/collection/assets/t9n/feature-comments/resources.json +0 -3
  242. package/dist/collection/assets/t9n/feature-comments/resources_en.json +0 -3
  243. package/dist/collection/assets/t9n/feature-form-flow-item/resources.json +0 -3
  244. package/dist/collection/assets/t9n/feature-form-flow-item/resources_en.json +0 -3
  245. package/dist/collection/assets/t9n/layout-manager/resources.json +0 -7
  246. package/dist/collection/assets/t9n/layout-manager/resources_ar.json +0 -7
  247. package/dist/collection/assets/t9n/layout-manager/resources_bg.json +0 -7
  248. package/dist/collection/assets/t9n/layout-manager/resources_bs.json +0 -7
  249. package/dist/collection/assets/t9n/layout-manager/resources_ca.json +0 -7
  250. package/dist/collection/assets/t9n/layout-manager/resources_cs.json +0 -7
  251. package/dist/collection/assets/t9n/layout-manager/resources_da.json +0 -7
  252. package/dist/collection/assets/t9n/layout-manager/resources_de.json +0 -7
  253. package/dist/collection/assets/t9n/layout-manager/resources_el.json +0 -7
  254. package/dist/collection/assets/t9n/layout-manager/resources_en.json +0 -7
  255. package/dist/collection/assets/t9n/layout-manager/resources_es.json +0 -7
  256. package/dist/collection/assets/t9n/layout-manager/resources_et.json +0 -7
  257. package/dist/collection/assets/t9n/layout-manager/resources_fi.json +0 -7
  258. package/dist/collection/assets/t9n/layout-manager/resources_fr.json +0 -7
  259. package/dist/collection/assets/t9n/layout-manager/resources_he.json +0 -7
  260. package/dist/collection/assets/t9n/layout-manager/resources_hr.json +0 -7
  261. package/dist/collection/assets/t9n/layout-manager/resources_hu.json +0 -7
  262. package/dist/collection/assets/t9n/layout-manager/resources_id.json +0 -7
  263. package/dist/collection/assets/t9n/layout-manager/resources_it.json +0 -7
  264. package/dist/collection/assets/t9n/layout-manager/resources_ja.json +0 -7
  265. package/dist/collection/assets/t9n/layout-manager/resources_ko.json +0 -7
  266. package/dist/collection/assets/t9n/layout-manager/resources_lt.json +0 -7
  267. package/dist/collection/assets/t9n/layout-manager/resources_lv.json +0 -7
  268. package/dist/collection/assets/t9n/layout-manager/resources_nb.json +0 -7
  269. package/dist/collection/assets/t9n/layout-manager/resources_nl.json +0 -7
  270. package/dist/collection/assets/t9n/layout-manager/resources_pl.json +0 -7
  271. package/dist/collection/assets/t9n/layout-manager/resources_pt-BR.json +0 -7
  272. package/dist/collection/assets/t9n/layout-manager/resources_pt-PT.json +0 -7
  273. package/dist/collection/assets/t9n/layout-manager/resources_ro.json +0 -7
  274. package/dist/collection/assets/t9n/layout-manager/resources_ru.json +0 -7
  275. package/dist/collection/assets/t9n/layout-manager/resources_sk.json +0 -7
  276. package/dist/collection/assets/t9n/layout-manager/resources_sl.json +0 -7
  277. package/dist/collection/assets/t9n/layout-manager/resources_sr.json +0 -7
  278. package/dist/collection/assets/t9n/layout-manager/resources_sv.json +0 -7
  279. package/dist/collection/assets/t9n/layout-manager/resources_th.json +0 -7
  280. package/dist/collection/assets/t9n/layout-manager/resources_tr.json +0 -7
  281. package/dist/collection/assets/t9n/layout-manager/resources_uk.json +0 -7
  282. package/dist/collection/assets/t9n/layout-manager/resources_vi.json +0 -7
  283. package/dist/collection/assets/t9n/layout-manager/resources_zh-CN.json +0 -7
  284. package/dist/collection/assets/t9n/layout-manager/resources_zh-HK.json +0 -7
  285. package/dist/collection/assets/t9n/layout-manager/resources_zh-TW.json +0 -7
  286. package/dist/collection/assets/t9n/list-flow-item/resources.json +0 -3
  287. package/dist/collection/assets/t9n/list-flow-item/resources_en.json +0 -3
  288. package/dist/collection/assets/t9n/location-flow-item/resources.json +0 -3
  289. package/dist/collection/assets/t9n/location-flow-item/resources_en.json +0 -3
  290. package/dist/collection/components/feature-comments/feature-comments.css +0 -19
  291. package/dist/collection/components/feature-comments/feature-comments.js +0 -80
  292. package/dist/collection/components/feature-form-flow-item/feature-form-flow-item.css +0 -19
  293. package/dist/collection/components/feature-form-flow-item/feature-form-flow-item.js +0 -80
  294. package/dist/collection/components/features-flow-item/features-flow-item.css +0 -19
  295. package/dist/collection/components/features-flow-item/features-flow-item.js +0 -80
  296. package/dist/collection/components/layout-manager/layout-manager.css +0 -73
  297. package/dist/collection/components/layout-manager/layout-manager.js +0 -161
  298. package/dist/collection/components/list-flow-item/list-flow-item.css +0 -19
  299. package/dist/collection/components/list-flow-item/list-flow-item.js +0 -80
  300. package/dist/collection/components/location-flow-item/location-flow-item.css +0 -19
  301. package/dist/collection/components/location-flow-item/location-flow-item.js +0 -80
  302. package/dist/collection/components/refine-results-flow-item/refine-results-flow-item.css +0 -19
  303. package/dist/collection/components/refine-results-flow-item/refine-results-flow-item.js +0 -80
  304. package/dist/components/feature-comments.d.ts +0 -11
  305. package/dist/components/feature-comments.js +0 -76
  306. package/dist/components/feature-form-flow-item.d.ts +0 -11
  307. package/dist/components/feature-form-flow-item.js +0 -76
  308. package/dist/components/features-flow-item.d.ts +0 -11
  309. package/dist/components/features-flow-item.js +0 -76
  310. package/dist/components/layout-manager.d.ts +0 -11
  311. package/dist/components/layout-manager.js +0 -159
  312. package/dist/components/list-flow-item.d.ts +0 -11
  313. package/dist/components/list-flow-item.js +0 -76
  314. package/dist/components/location-flow-item.d.ts +0 -11
  315. package/dist/components/location-flow-item.js +0 -76
  316. package/dist/components/refine-results-flow-item.d.ts +0 -11
  317. package/dist/components/refine-results-flow-item.js +0 -76
  318. package/dist/esm/feature-comments.entry.js +0 -57
  319. package/dist/esm/feature-form-flow-item.entry.js +0 -57
  320. package/dist/esm/features-flow-item.entry.js +0 -57
  321. package/dist/esm/layout-manager.entry.js +0 -110
  322. package/dist/esm/list-flow-item.entry.js +0 -57
  323. package/dist/esm/location-flow-item.entry.js +0 -57
  324. package/dist/esm/refine-results-flow-item.entry.js +0 -57
  325. package/dist/solutions-components/assets/t9n/feature-comments/resources.json +0 -3
  326. package/dist/solutions-components/assets/t9n/feature-comments/resources_en.json +0 -3
  327. package/dist/solutions-components/assets/t9n/feature-form-flow-item/resources.json +0 -3
  328. package/dist/solutions-components/assets/t9n/feature-form-flow-item/resources_en.json +0 -3
  329. package/dist/solutions-components/assets/t9n/layout-manager/resources.json +0 -7
  330. package/dist/solutions-components/assets/t9n/layout-manager/resources_ar.json +0 -7
  331. package/dist/solutions-components/assets/t9n/layout-manager/resources_bg.json +0 -7
  332. package/dist/solutions-components/assets/t9n/layout-manager/resources_bs.json +0 -7
  333. package/dist/solutions-components/assets/t9n/layout-manager/resources_ca.json +0 -7
  334. package/dist/solutions-components/assets/t9n/layout-manager/resources_cs.json +0 -7
  335. package/dist/solutions-components/assets/t9n/layout-manager/resources_da.json +0 -7
  336. package/dist/solutions-components/assets/t9n/layout-manager/resources_de.json +0 -7
  337. package/dist/solutions-components/assets/t9n/layout-manager/resources_el.json +0 -7
  338. package/dist/solutions-components/assets/t9n/layout-manager/resources_en.json +0 -7
  339. package/dist/solutions-components/assets/t9n/layout-manager/resources_es.json +0 -7
  340. package/dist/solutions-components/assets/t9n/layout-manager/resources_et.json +0 -7
  341. package/dist/solutions-components/assets/t9n/layout-manager/resources_fi.json +0 -7
  342. package/dist/solutions-components/assets/t9n/layout-manager/resources_fr.json +0 -7
  343. package/dist/solutions-components/assets/t9n/layout-manager/resources_he.json +0 -7
  344. package/dist/solutions-components/assets/t9n/layout-manager/resources_hr.json +0 -7
  345. package/dist/solutions-components/assets/t9n/layout-manager/resources_hu.json +0 -7
  346. package/dist/solutions-components/assets/t9n/layout-manager/resources_id.json +0 -7
  347. package/dist/solutions-components/assets/t9n/layout-manager/resources_it.json +0 -7
  348. package/dist/solutions-components/assets/t9n/layout-manager/resources_ja.json +0 -7
  349. package/dist/solutions-components/assets/t9n/layout-manager/resources_ko.json +0 -7
  350. package/dist/solutions-components/assets/t9n/layout-manager/resources_lt.json +0 -7
  351. package/dist/solutions-components/assets/t9n/layout-manager/resources_lv.json +0 -7
  352. package/dist/solutions-components/assets/t9n/layout-manager/resources_nb.json +0 -7
  353. package/dist/solutions-components/assets/t9n/layout-manager/resources_nl.json +0 -7
  354. package/dist/solutions-components/assets/t9n/layout-manager/resources_pl.json +0 -7
  355. package/dist/solutions-components/assets/t9n/layout-manager/resources_pt-BR.json +0 -7
  356. package/dist/solutions-components/assets/t9n/layout-manager/resources_pt-PT.json +0 -7
  357. package/dist/solutions-components/assets/t9n/layout-manager/resources_ro.json +0 -7
  358. package/dist/solutions-components/assets/t9n/layout-manager/resources_ru.json +0 -7
  359. package/dist/solutions-components/assets/t9n/layout-manager/resources_sk.json +0 -7
  360. package/dist/solutions-components/assets/t9n/layout-manager/resources_sl.json +0 -7
  361. package/dist/solutions-components/assets/t9n/layout-manager/resources_sr.json +0 -7
  362. package/dist/solutions-components/assets/t9n/layout-manager/resources_sv.json +0 -7
  363. package/dist/solutions-components/assets/t9n/layout-manager/resources_th.json +0 -7
  364. package/dist/solutions-components/assets/t9n/layout-manager/resources_tr.json +0 -7
  365. package/dist/solutions-components/assets/t9n/layout-manager/resources_uk.json +0 -7
  366. package/dist/solutions-components/assets/t9n/layout-manager/resources_vi.json +0 -7
  367. package/dist/solutions-components/assets/t9n/layout-manager/resources_zh-CN.json +0 -7
  368. package/dist/solutions-components/assets/t9n/layout-manager/resources_zh-HK.json +0 -7
  369. package/dist/solutions-components/assets/t9n/layout-manager/resources_zh-TW.json +0 -7
  370. package/dist/solutions-components/assets/t9n/list-flow-item/resources.json +0 -3
  371. package/dist/solutions-components/assets/t9n/list-flow-item/resources_en.json +0 -3
  372. package/dist/solutions-components/assets/t9n/location-flow-item/resources.json +0 -3
  373. package/dist/solutions-components/assets/t9n/location-flow-item/resources_en.json +0 -3
  374. package/dist/solutions-components/p-04ab956c.entry.js +0 -6
  375. package/dist/solutions-components/p-06364211.entry.js +0 -6
  376. package/dist/solutions-components/p-1700f63a.entry.js +0 -6
  377. package/dist/solutions-components/p-1f07e21a.entry.js +0 -6
  378. package/dist/solutions-components/p-46416e11.entry.js +0 -6
  379. package/dist/solutions-components/p-5b3c0418.entry.js +0 -6
  380. package/dist/solutions-components/p-70c0050c.entry.js +0 -6
  381. package/dist/solutions-components/p-720de4db.entry.js +0 -6
  382. package/dist/solutions-components/p-74bcef23.entry.js +0 -11
  383. package/dist/solutions-components/p-750b3277.entry.js +0 -6
  384. package/dist/solutions-components/p-76154700.entry.js +0 -6
  385. package/dist/solutions-components/p-8779ee41.entry.js +0 -6
  386. package/dist/solutions-components/p-938bc915.entry.js +0 -6
  387. package/dist/solutions-components/p-9c4fef09.entry.js +0 -17
  388. package/dist/solutions-components/p-9d56f4b5.entry.js +0 -6
  389. package/dist/solutions-components/p-9da8a590.entry.js +0 -6
  390. package/dist/solutions-components/p-aac0c89c.entry.js +0 -6
  391. package/dist/solutions-components/p-be4c7ffd.entry.js +0 -6
  392. package/dist/solutions-components/p-ca3cbd29.entry.js +0 -6
  393. package/dist/solutions-components/p-d2612c30.entry.js +0 -6
  394. package/dist/solutions-components/p-df7de4b7.entry.js +0 -12
  395. package/dist/solutions-components/p-e1391389.entry.js +0 -29
  396. package/dist/solutions-components/p-e345f9c4.entry.js +0 -6
  397. package/dist/solutions-components/p-eadff42b.entry.js +0 -11
  398. package/dist/solutions-components/p-fa1c368c.entry.js +0 -6
  399. package/dist/solutions-components/p-ff3858c6.entry.js +0 -6
  400. package/dist/types/components/feature-comments/feature-comments.d.ts +0 -19
  401. package/dist/types/components/feature-form-flow-item/feature-form-flow-item.d.ts +0 -19
  402. package/dist/types/components/features-flow-item/features-flow-item.d.ts +0 -19
  403. package/dist/types/components/layout-manager/layout-manager.d.ts +0 -69
  404. package/dist/types/components/list-flow-item/list-flow-item.d.ts +0 -19
  405. package/dist/types/components/location-flow-item/location-flow-item.d.ts +0 -19
  406. package/dist/types/components/refine-results-flow-item/refine-results-flow-item.d.ts +0 -19
@@ -182,6 +182,14 @@ const MapSelectTools = class {
182
182
  }
183
183
  }
184
184
  }
185
+ /**
186
+ * Fetch translations when the locale is updated
187
+ */
188
+ async localeWatchHandler() {
189
+ // to support url param and language switcher
190
+ this.el.lang = this.locale;
191
+ await this._getTranslations();
192
+ }
185
193
  /**
186
194
  * Called each time the mapView prop is changed.
187
195
  */
@@ -297,7 +305,7 @@ const MapSelectTools = class {
297
305
  render() {
298
306
  const mapToolsClass = this.enableSketchTools ? "" : "display-none";
299
307
  const mapToolsContainerClass = this.enableSketchTools ? "padding-top-1" : "";
300
- return (index.h(index.Host, { key: '62c70f52dbf364c71048b6de11477735fa3eddc4' }, this._getMapLayerPicker(), index.h("div", { key: 'f749a152c0821969177ca6bc83b3e75bac232f98', class: "border-bottom" }), index.h("div", { key: 'e5f564bd4c01dd3648891f74581f3826ce59a06c', class: "padding-top-sides-1" }, index.h("div", { key: '0f2a402284088431d0cc956cf17cd9420080a540', class: "search-widget", ref: (el) => { this._searchElement = el; } }), index.h("div", { key: 'd3f9352d3a6ff51ecbda166ea2dd9ae49bdec443', class: mapToolsContainerClass }, index.h("map-draw-tools", { key: '00fdebdc3d430965aaa9d5f28b5a2f1d50afdeb8', active: true, class: mapToolsClass, editGraphicsEnabled: !this._useLayerFeaturesEnabled, graphics: this._graphics, mapView: this.mapView, onSketchGraphicsChange: (evt) => void this._sketchGraphicsChanged(evt), pointSymbol: this.sketchPointSymbol, polygonSymbol: this.sketchPolygonSymbol, polylineSymbol: this.sketchLineSymbol, ref: (el) => { this._drawTools = el; } })), this.enableSearchDistance ? this._getBufferOptions() : undefined, this.enableLayerFeatures ? this._getUseLayerFeaturesOptions() : undefined, this._getNumSelected()), index.h("div", { key: '67ecd2ef8f3cd8819fc57785e2b84994c8e71547', class: "border-bottom" }), this._getNameInput()));
308
+ return (index.h(index.Host, { key: '92c7ef37eb97404a826b7803ff06ce691722a6d1' }, this._getMapLayerPicker(), index.h("div", { key: '22959b62191b47b716363007be0a356b62af492a', class: "border-bottom" }), index.h("div", { key: '834c3ddd3ef31a022ed32131a8c21dce325b2c19', class: "padding-top-sides-1" }, index.h("div", { key: '86b43e7c82a9fc6a2d54be79be3690120a29b78e', class: "search-widget", ref: (el) => { this._searchElement = el; } }), index.h("div", { key: '5107461cb8a706e9540c8765138d7bc57355fc67', class: mapToolsContainerClass }, index.h("map-draw-tools", { key: 'ee678a630d39b7550805f0c070adb8e07428b104', active: true, class: mapToolsClass, editGraphicsEnabled: !this._useLayerFeaturesEnabled, graphics: this._graphics, locale: this.locale, mapView: this.mapView, onSketchGraphicsChange: (evt) => void this._sketchGraphicsChanged(evt), pointSymbol: this.sketchPointSymbol, polygonSymbol: this.sketchPolygonSymbol, polylineSymbol: this.sketchLineSymbol, ref: (el) => { this._drawTools = el; } })), this.enableSearchDistance ? this._getBufferOptions() : undefined, this.enableLayerFeatures ? this._getUseLayerFeaturesOptions() : undefined, this._getNumSelected()), index.h("div", { key: '3b88977c13f6a3cde10de6cba927424595fdb13f', class: "border-bottom" }), this._getNameInput()));
301
309
  }
302
310
  /**
303
311
  * Renders the buffer tools component.
@@ -309,7 +317,7 @@ const MapSelectTools = class {
309
317
  }
310
318
  const showBufferToolsClass = this._searchDistanceEnabled ? "search-distance" : "div-not-visible";
311
319
  const bufferDistance = typeof this.selectionSet?.distance === "number" ? this.selectionSet.distance : this.defaultBufferDistance;
312
- return (index.h("div", null, index.h("div", { class: "padding-top-1 display-flex" }, index.h("calcite-label", { class: "label-margin-0 w-100", layout: "inline-space-between" }, index.h("div", { class: "tooltip-container" }, this._translations.searchDistance, index.h("calcite-icon", { class: "padding-start-1-2 icon", flipRtl: !(this.locale?.toLowerCase() === "he"), icon: "question", id: "search-distance-icon", scale: "s" }))), index.h("calcite-popover", { closable: true, label: "", referenceElement: "search-distance-icon" }, index.h("span", { class: "tooltip-message" }, this._translations.useSearchDistanceTootip)), index.h("calcite-switch", { checked: this._searchDistanceEnabled, onCalciteSwitchChange: () => this._searchDistanceEnabled = !this._searchDistanceEnabled })), index.h("div", { class: showBufferToolsClass }, index.h("buffer-tools", { disabled: !this._searchDistanceEnabled, distance: bufferDistance, geometries: this.geometries, onBufferComplete: (evt) => void this._bufferComplete(evt), ref: (el) => this._bufferTools = el, unit: this.selectionSet?.unit || this.defaultBufferUnit }))));
320
+ return (index.h("div", null, index.h("div", { class: "padding-top-1 display-flex" }, index.h("calcite-label", { class: "label-margin-0 w-100", layout: "inline-space-between" }, index.h("div", { class: "tooltip-container" }, this._translations.searchDistance, index.h("calcite-icon", { class: "padding-start-1-2 icon", flipRtl: !(this.locale?.toLowerCase() === "he"), icon: "question", id: "search-distance-icon", scale: "s" }))), index.h("calcite-popover", { closable: true, label: "", referenceElement: "search-distance-icon" }, index.h("span", { class: "tooltip-message" }, this._translations.useSearchDistanceTootip)), index.h("calcite-switch", { checked: this._searchDistanceEnabled, onCalciteSwitchChange: () => this._searchDistanceEnabled = !this._searchDistanceEnabled })), index.h("div", { class: showBufferToolsClass }, index.h("buffer-tools", { disabled: !this._searchDistanceEnabled, distance: bufferDistance, geometries: this.geometries, locale: this.locale, onBufferComplete: (evt) => void this._bufferComplete(evt), ref: (el) => this._bufferTools = el, unit: this.selectionSet?.unit || this.defaultBufferUnit }))));
313
321
  }
314
322
  /**
315
323
  * Renders the map layer picker component.
@@ -320,7 +328,7 @@ const MapSelectTools = class {
320
328
  this.enableLayerFeaturesOnLoad = false;
321
329
  }
322
330
  const useLayerFeaturesClass = this._useLayerFeaturesEnabled ? "div-visible" : "div-not-visible";
323
- return (index.h("div", null, index.h("div", { class: "padding-top-1 display-flex" }, index.h("calcite-label", { class: "label-margin-0 w-100", layout: "inline-space-between" }, index.h("div", { class: "tooltip-container" }, this._translations.useLayerFeatures, index.h("calcite-icon", { class: "padding-start-1-2 icon", flipRtl: !(this.locale?.toLowerCase() === "he"), icon: "question", id: "use-layer-features-icon", scale: "s" }))), index.h("calcite-popover", { closable: true, label: "", referenceElement: "use-layer-features-icon" }, index.h("span", { class: "tooltip-message" }, this._translations.useLayerFeaturesTooltip)), index.h("calcite-switch", { checked: this._useLayerFeaturesEnabled, onCalciteSwitchChange: () => { this._useLayerFeaturesEnabledChanged(); } })), index.h("div", { class: useLayerFeaturesClass + " padding-top-1" }, index.h("map-layer-picker", { enabledLayerIds: this.selectionLayerIds, mapView: this.mapView, onLayerSelectionChange: (evt) => { void this._layerSelectionChange(evt); }, selectedIds: this.layerViews.map(l => l.layer.id), showTables: false }))));
331
+ return (index.h("div", null, index.h("div", { class: "padding-top-1 display-flex" }, index.h("calcite-label", { class: "label-margin-0 w-100", layout: "inline-space-between" }, index.h("div", { class: "tooltip-container" }, this._translations.useLayerFeatures, index.h("calcite-icon", { class: "padding-start-1-2 icon", flipRtl: !(this.locale?.toLowerCase() === "he"), icon: "question", id: "use-layer-features-icon", scale: "s" }))), index.h("calcite-popover", { closable: true, label: "", referenceElement: "use-layer-features-icon" }, index.h("span", { class: "tooltip-message" }, this._translations.useLayerFeaturesTooltip)), index.h("calcite-switch", { checked: this._useLayerFeaturesEnabled, onCalciteSwitchChange: () => { this._useLayerFeaturesEnabledChanged(); } })), index.h("div", { class: useLayerFeaturesClass + " padding-top-1" }, index.h("map-layer-picker", { enabledLayerIds: this.selectionLayerIds, locale: this.locale, mapView: this.mapView, onLayerSelectionChange: (evt) => { void this._layerSelectionChange(evt); }, selectedIds: this.layerViews.map(l => l.layer.id), showTables: false }))));
324
332
  }
325
333
  /**
326
334
  * Renders the number of selected features
@@ -349,7 +357,7 @@ const MapSelectTools = class {
349
357
  * @protected
350
358
  */
351
359
  _getMapLayerPicker() {
352
- return (index.h("div", { class: "display-flex padding-sides-1 padding-bottom-1" }, index.h("calcite-label", { class: "font-bold width-full label-margin-0" }, this._translations.inputLayer, index.h("map-layer-picker", { enabledLayerIds: this.enabledLayerIds, mapView: this.mapView, onLayerSelectionChange: (evt) => void this._inputLayerSelectionChange(evt), selectedIds: this.selectLayerView ? [this.selectLayerView.layer.id] : this.selectionSet ? [this.selectionSet.layerView.layer.id] : [], showTables: false }))));
360
+ return (index.h("div", { class: "display-flex padding-sides-1 padding-bottom-1" }, index.h("calcite-label", { class: "font-bold width-full label-margin-0" }, this._translations.inputLayer, index.h("map-layer-picker", { enabledLayerIds: this.enabledLayerIds, locale: this.locale, mapView: this.mapView, onLayerSelectionChange: (evt) => void this._inputLayerSelectionChange(evt), selectedIds: this.selectLayerView ? [this.selectLayerView.layer.id] : this.selectionSet ? [this.selectionSet.layerView.layer.id] : [], showTables: false }))));
353
361
  }
354
362
  //--------------------------------------------------------------------------
355
363
  //
@@ -968,6 +976,7 @@ const MapSelectTools = class {
968
976
  }
969
977
  static get watchers() { return {
970
978
  "geometries": ["watchGeometriesHandler"],
979
+ "locale": ["localeWatchHandler"],
971
980
  "mapView": ["mapViewWatchHandler"],
972
981
  "searchConfiguration": ["watchSearchConfigurationHandler"]
973
982
  }; }
@@ -1179,6 +1188,7 @@ const PdfDownload = class {
1179
1188
  index.registerInstance(this, hostRef);
1180
1189
  this.defaultNumLabelsPerPage = undefined;
1181
1190
  this.disabled = false;
1191
+ this.locale = undefined;
1182
1192
  this._translations = undefined;
1183
1193
  }
1184
1194
  get el() { return index.getElement(this); }
@@ -1200,6 +1210,14 @@ const PdfDownload = class {
1200
1210
  // Watch handlers
1201
1211
  //
1202
1212
  //--------------------------------------------------------------------------
1213
+ /**
1214
+ * Fetch translations when the locale is updated
1215
+ */
1216
+ async localeWatchHandler() {
1217
+ // to support url param and language switcher
1218
+ this.el.lang = this.locale;
1219
+ await this._getTranslations();
1220
+ }
1203
1221
  //--------------------------------------------------------------------------
1204
1222
  //
1205
1223
  // Methods (public)
@@ -1252,7 +1270,7 @@ const PdfDownload = class {
1252
1270
  * Renders the component.
1253
1271
  */
1254
1272
  render() {
1255
- return (index.h(index.Host, { key: '3d3fa11ecc4cf7a49c4b3831a6c4c19abd6c9ed9' }, index.h("calcite-select", { key: '74e76d8854fd582d2ed214c1b8f52c5744be8167', disabled: this.disabled, label: "", ref: (el) => { this._labelInfoElement = el; } })));
1273
+ return (index.h(index.Host, { key: '019e3669b3c0f1c9532b3c3a5d578a8fe3c2eb4c' }, index.h("calcite-select", { key: 'b23425e171aea621dfdc6b3a97c38edc4b477696', disabled: this.disabled, label: "", ref: (el) => { this._labelInfoElement = el; } })));
1256
1274
  }
1257
1275
  componentDidLoad() {
1258
1276
  // Render the options outside of Stencil's rendering so that it doesn't mangle RTL text with embedded LTR
@@ -1323,6 +1341,9 @@ const PdfDownload = class {
1323
1341
  }
1324
1342
  });
1325
1343
  }
1344
+ static get watchers() { return {
1345
+ "locale": ["localeWatchHandler"]
1346
+ }; }
1326
1347
  };
1327
1348
  PdfDownload.style = PdfDownloadStyle0;
1328
1349
 
@@ -1385,6 +1406,14 @@ const RefineSelection = class {
1385
1406
  // Watch handlers
1386
1407
  //
1387
1408
  //--------------------------------------------------------------------------
1409
+ /**
1410
+ * Fetch translations when the locale is updated
1411
+ */
1412
+ async localeWatchHandler() {
1413
+ // to support url param and language switcher
1414
+ this.el.lang = this.locale;
1415
+ await this._getTranslations();
1416
+ }
1388
1417
  //--------------------------------------------------------------------------
1389
1418
  //
1390
1419
  // Methods (public)
@@ -1422,7 +1451,7 @@ const RefineSelection = class {
1422
1451
  */
1423
1452
  render() {
1424
1453
  const layerPickerClass = this._enabledLayerIds.length > 1 ? "display-block" : "display-none";
1425
- return (index.h(index.Host, { key: 'b7322ad26466e7c710b08b1cd10edf3e82d18603' }, index.h("div", { key: '05289c139685611149306ade3b9217c374bf54e7', class: layerPickerClass + " padding-top-sides-1" }, index.h("div", { key: 'a24e1b1ffb921bb493fb4c0e06b455e564077ad2', class: "display-flex" }, index.h("calcite-label", { key: 'a6e25d7f0ad1a3aab589bd4731a1fbea87b08b5b', class: "font-bold width-full label-margin-0" }, index.h("div", { key: 'd1850cec01ff43a81dfe5d71dc0b88f4fb4de147', class: "display-flex" }, this._translations.inputLayer, index.h("calcite-icon", { key: 'ed94bff762eb431bef9207c1db6b9dd5f56d7132', class: "padding-start-1-2 icon", flipRtl: !(this.locale?.toLowerCase() === "he"), icon: "question", id: "refine-input-layer", scale: "s" })), index.h("map-layer-picker", { key: '5da6c655606a2b1ad4f723c13d0b2c5a50464029', enabledLayerIds: this._enabledLayerIds, mapView: this.mapView, onLayerSelectionChange: (evt) => { void this._layerSelectionChange(evt); }, ref: (el) => { this._layerPicker = el; }, selectedIds: [this._refineLayer.layer.id], showTables: false })), index.h("calcite-popover", { key: '3bfe937cd5d2c8cc9a2e1b5628a86bc44b529963', closable: true, label: "", referenceElement: "refine-input-layer" }, index.h("span", { key: 'cc46053c7494631c07521857e90ae83dc3f440cc', class: "tooltip-message" }, this._translations.inputLayerTip)))), index.h("div", { key: '4ceced950b73cc06d28cac4f76d52126249bdbbd', class: "padding-1" }, index.h("div", { key: '5084d664578acd35c550c57d8c7a27cf97f06332', class: "padding-bottom-1" }, index.h("calcite-segmented-control", { key: '965f42a4b3b3c19401681be1f86ab41dcc58a24a', class: "w-100", width: "full" }, index.h("calcite-segmented-control-item", { key: 'dad9b9c04c8fcdda7d5cad7c044fb592b6f740bf', checked: this._addEnabled, class: "w-50 word-wrap-anywhere", onClick: () => this._setSelectionMode(interfaces.ESelectionMode.ADD), value: interfaces.ESelectionMode.ADD }, index.h("span", { key: '0cf895d959f14966736b22d4652f406c75af5c0e', class: "font-weight-500" }, this._translations.add)), index.h("calcite-segmented-control-item", { key: '6f0c8158159215d5a0929deb62c97db5058545a3', checked: !this._addEnabled, class: "w-50 word-wrap-anywhere", onClick: () => this._setSelectionMode(interfaces.ESelectionMode.REMOVE), value: interfaces.ESelectionMode.REMOVE }, index.h("span", { key: '77c66ccd25105c2be67178303d0652a90fa97e35', class: "font-weight-500" }, this._translations.remove)))), index.h("div", { key: '0e409d21bda555363c9a0e870cba3e2f9556bcbb' }, index.h("map-draw-tools", { key: 'd84888210ce4c31442a523dc5976fee6bd246b9c', active: true, drawMode: interfaces.EDrawMode.REFINE, mapView: this.mapView, onDrawRedo: () => this._redo(), onDrawUndo: () => this._undo(), onSketchGraphicsChange: (evt) => this._sketchGraphicsChanged(evt), pointSymbol: this.sketchPointSymbol, polygonSymbol: this.sketchPolygonSymbol, polylineSymbol: this.sketchLineSymbol, redoEnabled: this._refineSelectionSet?.redoStack.length > 0, ref: (el) => { this._drawTools = el; }, undoEnabled: this._refineSelectionSet?.undoStack.length > 0 })), index.h("br", { key: 'b66849ca294e717352e34ac647f69bef36ba9755' }), (index.h("calcite-list", { key: '8e13006094c5b9d5d63d467d5938e95d00e42ded', class: "list-border" }, this._getRefineSelectionSetList())))));
1454
+ return (index.h(index.Host, { key: 'aea4bdb40d20a647b85507b5562066e9fc95643f' }, index.h("div", { key: 'ad152ef9fa550ad3e83bf0ee2faf228e74a0a593', class: layerPickerClass + " padding-top-sides-1" }, index.h("div", { key: '1d2d473ee3e272312d79a6e1e6a846e7f8930089', class: "display-flex" }, index.h("calcite-label", { key: 'c07ac179cd5a5f9e70ee9a4810a3b12e9db73bab', class: "font-bold width-full label-margin-0" }, index.h("div", { key: '191e9f753435bffd21d54902de08082e08499e9c', class: "display-flex" }, this._translations.inputLayer, index.h("calcite-icon", { key: '01a26439262b491a078616eec53d2e54f0429233', class: "padding-start-1-2 icon", flipRtl: !(this.locale?.toLowerCase() === "he"), icon: "question", id: "refine-input-layer", scale: "s" })), index.h("map-layer-picker", { key: 'a24e473d2070cd167cf85b8d3dc1f1f548474b01', enabledLayerIds: this._enabledLayerIds, locale: this.locale, mapView: this.mapView, onLayerSelectionChange: (evt) => { void this._layerSelectionChange(evt); }, ref: (el) => { this._layerPicker = el; }, selectedIds: [this._refineLayer.layer.id], showTables: false })), index.h("calcite-popover", { key: '2b4612d32edcefe4cf7ab065e95dfac73d1a9f81', closable: true, label: "", referenceElement: "refine-input-layer" }, index.h("span", { key: '71623db558c11b7a7396b087f8d1bf9fadf4659d', class: "tooltip-message" }, this._translations.inputLayerTip)))), index.h("div", { key: 'c4e56c481333d8a7b287491409e2c0b25ea15fea', class: "padding-1" }, index.h("div", { key: '74086721141642031d93a9f4d8302f4fe684c4f8', class: "padding-bottom-1" }, index.h("calcite-segmented-control", { key: '3c241f48f3b382ea604b4077293ea672fb311b4d', class: "w-100", width: "full" }, index.h("calcite-segmented-control-item", { key: '99f0f4347964b29cb48e73071d7281d8126882a1', checked: this._addEnabled, class: "w-50 word-wrap-anywhere", onClick: () => this._setSelectionMode(interfaces.ESelectionMode.ADD), value: interfaces.ESelectionMode.ADD }, index.h("span", { key: '9317ad71a269261a59e979e138cbfd79d1e45b83', class: "font-weight-500" }, this._translations.add)), index.h("calcite-segmented-control-item", { key: 'fa21de5631e146fe231007bb558d3c42bb32b357', checked: !this._addEnabled, class: "w-50 word-wrap-anywhere", onClick: () => this._setSelectionMode(interfaces.ESelectionMode.REMOVE), value: interfaces.ESelectionMode.REMOVE }, index.h("span", { key: 'd89f90bd419f5587a66fb969db4c8164b6e7d5f8', class: "font-weight-500" }, this._translations.remove)))), index.h("div", { key: 'c9571fea587e25180e95cecc365ac6fe5f25e2d0' }, index.h("map-draw-tools", { key: 'bfe77a85d478119982581c3c6abc72c61ec7bf38', active: true, drawMode: interfaces.EDrawMode.REFINE, locale: this.locale, mapView: this.mapView, onDrawRedo: () => this._redo(), onDrawUndo: () => this._undo(), onSketchGraphicsChange: (evt) => this._sketchGraphicsChanged(evt), pointSymbol: this.sketchPointSymbol, polygonSymbol: this.sketchPolygonSymbol, polylineSymbol: this.sketchLineSymbol, redoEnabled: this._refineSelectionSet?.redoStack.length > 0, ref: (el) => { this._drawTools = el; }, undoEnabled: this._refineSelectionSet?.undoStack.length > 0 })), index.h("br", { key: '6333b619eeac52d5f8589bf006fbaa8baede51ff' }), (index.h("calcite-list", { key: '3909880545b784c7401f24ead3039b1b7947b699', class: "list-border" }, this._getRefineSelectionSetList())))));
1426
1455
  }
1427
1456
  //--------------------------------------------------------------------------
1428
1457
  //
@@ -1746,6 +1775,9 @@ const RefineSelection = class {
1746
1775
  }
1747
1776
  await this._highlightFeatures();
1748
1777
  }
1778
+ static get watchers() { return {
1779
+ "locale": ["localeWatchHandler"]
1780
+ }; }
1749
1781
  };
1750
1782
  RefineSelection.style = RefineSelectionStyle0;
1751
1783
 
@@ -54,7 +54,7 @@ const PciCalculator = class {
54
54
  render() {
55
55
  const pciClass = !this.showAddDeduct ? "display-grid" : "display-none";
56
56
  const deductClass = this.showAddDeduct ? "position-relative" : "display-none";
57
- return (index.h(index.Host, { key: '25ddbf1fb00f5af4c91cda2b11d7f0e10f3a4272' }, index.h("div", { key: 'c13a5d8278ced35b481186cd98f2f2d3d18690bc', class: pciClass }, index.h("div", { key: '3203231a8fdd3cd733c99f980035cfa113acbdd9', class: "label-display" }, index.h("calcite-label", { key: '2737467a3e3b28b76cecf0aaf7e60be0a585b3d8', class: "label-display" }, "Enter comma delimited deduct values", this._getDeductValuesInput())), index.h("div", { key: '0ee41c12738a53e914920122a57c70f20925e71d' }, this._getCalculateButton())), index.h("div", { key: '469feebb033359a3dbbc30175b88605c25a4d0d5', class: deductClass }, index.h("div", { key: '4615ba630e031b7f0166fa67e5e88ea5c1f1537b', class: "position-right" }, index.h("calcite-action", { key: 'afde404a2f1d3cbf63f6d28a8eb8bfde64da7daa', appearance: 'transparent', class: "float-end", icon: "x", onClick: () => this._toggleShowAddDeduct(), scale: "s", text: '' })), index.h("deduct-calculator", { key: 'd383b7ee41a508adab58e2dfdadfb1c7a85e4c25', class: "display-grid padding-top-1", onDeductValueComplete: (evt) => this._addDeductValue(evt) }))));
57
+ return (index.h(index.Host, { key: '0a27b15813b9f82035a8c7b4c080f5ec77379959' }, index.h("div", { key: '88ce37117354223c9264678a3928485dc8e1d890', class: pciClass }, index.h("div", { key: 'e0c9f6402c74c7e28749717ab78ac542dc2476f7', class: "label-display" }, index.h("calcite-label", { key: '5bad9788cbd44419f051e3108d18e530a5819267', class: "label-display" }, "Enter comma delimited deduct values", this._getDeductValuesInput())), index.h("div", { key: 'bca334a6b4dc0920b880210c03e6d57dcdcae4e2' }, this._getCalculateButton())), index.h("div", { key: 'a401fa9e71ee5ed376445829d83528fd9e02ed2c', class: deductClass }, index.h("div", { key: 'c5d16b77848e0b024022cad7b10d75ac9acf53b7', class: "position-right" }, index.h("calcite-action", { key: '479efde007ee63b86c2e4cb2243afd0d1ee5fc4d', appearance: 'transparent', class: "float-end", icon: "x", onClick: () => this._toggleShowAddDeduct(), scale: "s", text: '' })), index.h("deduct-calculator", { key: '40c6f7839584f0edcfe77f08d5e895ece6ba7119', class: "display-grid padding-top-1", onDeductValueComplete: (evt) => this._addDeductValue(evt) }))));
58
58
  }
59
59
  //--------------------------------------------------------------------------
60
60
  //
@@ -133,6 +133,14 @@ const PublicNotification = class {
133
133
  // Watch handlers
134
134
  //
135
135
  //--------------------------------------------------------------------------
136
+ /**
137
+ * Fetch translations when the locale is updated
138
+ */
139
+ async localeWatchHandler() {
140
+ // to support url param and language switcher
141
+ this.el.lang = this.locale;
142
+ await this._getTranslations();
143
+ }
136
144
  /**
137
145
  * Called each time the mapView prop is changed.
138
146
  */
@@ -259,7 +267,7 @@ const PublicNotification = class {
259
267
  */
260
268
  render() {
261
269
  const headerSlot = this._isMobile ? "footer" : "header";
262
- return (index.h(index.Host, { key: '8b22f6b45144705e9ff5b230ca8075f68985165b' }, index.h("calcite-shell", { key: '774731e643edb5b52bf565349fdfe58dae1e845e' }, index.h("calcite-action-bar", { key: '5e3bcc6ba2f53d25ee2bd972ce67108c0ab808f4', class: "border-bottom-1 action-bar-size", "expand-disabled": true, layout: "horizontal", slot: headerSlot }, this._getActionGroup("list-check", interfaces.EPageType.LIST, this._translations.myLists), this.showRefineSelection ? this._getActionGroup("test-data", interfaces.EPageType.REFINE, this._translations.refineSelection) : null, this._getActionGroup("export", interfaces.EPageType.EXPORT, this._translations.export)), this._getPage(this._pageType))));
270
+ return (index.h(index.Host, { key: '1955aa1e3791004b62c7d6d51fbd7dabacbe6cc6' }, index.h("calcite-shell", { key: '5d269f036d96fd8364dab1dcf1c820e5516c6236' }, index.h("calcite-action-bar", { key: '1ab0388a35fccbe9b293279a61384e30065b193d', class: "border-bottom-1 action-bar-size", "expand-disabled": true, layout: "horizontal", slot: headerSlot }, this._getActionGroup("list-check", interfaces.EPageType.LIST, this._translations.myLists), this.showRefineSelection ? this._getActionGroup("test-data", interfaces.EPageType.REFINE, this._translations.refineSelection) : null, this._getActionGroup("export", interfaces.EPageType.EXPORT, this._translations.export)), this._getPage(this._pageType))));
263
271
  }
264
272
  /**
265
273
  * StencilJS: Called once just after the component is first loaded.
@@ -629,7 +637,7 @@ const PublicNotification = class {
629
637
  const graphicsOptionsClass = this._addMap ? "display-flex" : "display-none";
630
638
  const title = this._titleValue ? this._titleValue : this.defaultExportTitle ? this.defaultExportTitle : "";
631
639
  const formatOptionsClass = this._addResults ? "" : "display-none";
632
- return (index.h("div", { class: displayClass }, this._getLabel(this._translations.pdfOptions, true), index.h("div", { class: "padding-top-sides-1" }, index.h("calcite-label", { class: "label-margin-0", layout: "inline" }, index.h("calcite-checkbox", { checked: this._addResults, onCalciteCheckboxChange: () => this._addResults = !this._addResults }), this._translations.addResults)), index.h("div", { class: `padding-top-sides-1 ${formatOptionsClass}` }, index.h("calcite-label", { class: "label-margin-0" }, this._translations.selectPDFLabelOption)), index.h("div", { class: `padding-sides-1 ${formatOptionsClass}` }, index.h("pdf-download", { defaultNumLabelsPerPage: parseInt(this.defaultNumLabelsPerPage.toString(), 10), disabled: !this._downloadActive, ref: (el) => { this._downloadTools = el; } })), index.h("div", { class: "padding-top-sides-1" }, index.h("calcite-label", { class: "label-margin-0", layout: "inline" }, index.h("calcite-checkbox", { checked: this._addTitle, onCalciteCheckboxChange: () => this._addTitle = !this._addTitle }), this._translations.title)), index.h("div", { class: titleOptionsClass }, this._getLabel(this._translations.title, true, ""), index.h("calcite-input-text", { class: "padding-sides-1", onCalciteInputTextInput: () => this._changeTitle(), placeholder: this._translations.titlePlaceholder, ref: (el) => { this._titleElement = el; }, value: title })), index.h("div", { class: "padding-top-sides-1" }, index.h("calcite-label", { class: "label-margin-0", layout: "inline" }, index.h("calcite-checkbox", { checked: this._addMap, onCalciteCheckboxChange: () => this._handleAddMapChange() }), this._translations.includeMap)), index.h("div", { class: `padding-top-sides-1 ${graphicsOptionsClass}` }, index.h("calcite-label", { class: "label-margin-0", layout: "inline" }, index.h("calcite-checkbox", { checked: this._exportGraphics, onCalciteCheckboxChange: () => this._handleExportGraphicsChange() }), this._translations.listGraphics), index.h("calcite-icon", { class: "padding-start-1-2 icon", flipRtl: !(this.locale?.toLowerCase() === "he"), icon: "question", id: "list-graphics-icon", scale: "s" }), index.h("calcite-popover", { closable: true, label: "", referenceElement: "list-graphics-icon" }, index.h("span", { class: "tooltip-message" }, this._translations.listGraphicsTip)))));
640
+ return (index.h("div", { class: displayClass }, this._getLabel(this._translations.pdfOptions, true), index.h("div", { class: "padding-top-sides-1" }, index.h("calcite-label", { class: "label-margin-0", layout: "inline" }, index.h("calcite-checkbox", { checked: this._addResults, onCalciteCheckboxChange: () => this._addResults = !this._addResults }), this._translations.addResults)), index.h("div", { class: `padding-top-sides-1 ${formatOptionsClass}` }, index.h("calcite-label", { class: "label-margin-0" }, this._translations.selectPDFLabelOption)), index.h("div", { class: `padding-sides-1 ${formatOptionsClass}` }, index.h("pdf-download", { defaultNumLabelsPerPage: parseInt(this.defaultNumLabelsPerPage.toString(), 10), disabled: !this._downloadActive, locale: this.locale, ref: (el) => { this._downloadTools = el; } })), index.h("div", { class: "padding-top-sides-1" }, index.h("calcite-label", { class: "label-margin-0", layout: "inline" }, index.h("calcite-checkbox", { checked: this._addTitle, onCalciteCheckboxChange: () => this._addTitle = !this._addTitle }), this._translations.title)), index.h("div", { class: titleOptionsClass }, this._getLabel(this._translations.title, true, ""), index.h("calcite-input-text", { class: "padding-sides-1", onCalciteInputTextInput: () => this._changeTitle(), placeholder: this._translations.titlePlaceholder, ref: (el) => { this._titleElement = el; }, value: title })), index.h("div", { class: "padding-top-sides-1" }, index.h("calcite-label", { class: "label-margin-0", layout: "inline" }, index.h("calcite-checkbox", { checked: this._addMap, onCalciteCheckboxChange: () => this._handleAddMapChange() }), this._translations.includeMap)), index.h("div", { class: `padding-top-sides-1 ${graphicsOptionsClass}` }, index.h("calcite-label", { class: "label-margin-0", layout: "inline" }, index.h("calcite-checkbox", { checked: this._exportGraphics, onCalciteCheckboxChange: () => this._handleExportGraphicsChange() }), this._translations.listGraphics), index.h("calcite-icon", { class: "padding-start-1-2 icon", flipRtl: !(this.locale?.toLowerCase() === "he"), icon: "question", id: "list-graphics-icon", scale: "s" }), index.h("calcite-popover", { closable: true, label: "", referenceElement: "list-graphics-icon" }, index.h("span", { class: "tooltip-message" }, this._translations.listGraphicsTip)))));
633
641
  }
634
642
  /**
635
643
  * Toggle the _addMap state variable and update the graphics on the map
@@ -1057,6 +1065,7 @@ const PublicNotification = class {
1057
1065
  this._translations = translations[0];
1058
1066
  }
1059
1067
  static get watchers() { return {
1068
+ "locale": ["localeWatchHandler"],
1060
1069
  "mapView": ["mapViewWatchHandler"],
1061
1070
  "searchConfiguration": ["watchSearchConfigurationHandler"],
1062
1071
  "sketchLineSymbol": ["sketchLineSymbolWatchHandler"],
@@ -53,7 +53,7 @@ const ShareItem = class {
53
53
  //
54
54
  //--------------------------------------------------------------------------
55
55
  render() {
56
- return (index.h(index.Host, { key: 'f75bf37744be419135dc159befbf2abed84855dc' }, index.h("slot", { key: '7607ea33ff10e828c2f2f7e2d3d360491ca2e482' })));
56
+ return (index.h(index.Host, { key: 'a8d200d4f119571b482fa8c9f87d759458157fe3' }, index.h("slot", { key: 'fcac9d578b04a4330016dfbb09c0a38735d7f2e7' })));
57
57
  }
58
58
  };
59
59
  ShareItem.style = ShareItemStyle0;
@@ -1116,12 +1116,26 @@ const SolutionConfiguration = class {
1116
1116
  }
1117
1117
  //--------------------------------------------------------------------------
1118
1118
  //
1119
+ // Watch handlers
1120
+ //
1121
+ //--------------------------------------------------------------------------
1122
+ /**
1123
+ * Fetch translations when the locale is updated
1124
+ */
1125
+ async localeWatchHandler() {
1126
+ // to support url param and language switcher
1127
+ this.el.lang = this.locale;
1128
+ await this._getTranslations();
1129
+ }
1130
+ //--------------------------------------------------------------------------
1131
+ //
1119
1132
  // Lifecycle
1120
1133
  //
1121
1134
  //--------------------------------------------------------------------------
1122
1135
  constructor(hostRef) {
1123
1136
  index.registerInstance(this, hostRef);
1124
1137
  this.authentication = new UserSession({});
1138
+ this.locale = undefined;
1125
1139
  this.serializedAuthentication = "";
1126
1140
  this.solutionItemId = "";
1127
1141
  this.showLoading = false;
@@ -1164,12 +1178,12 @@ const SolutionConfiguration = class {
1164
1178
  const solutionData = solutionStore.state.getStoreInfo("solutionData");
1165
1179
  this._solutionVariables = JSON.stringify(templates.getSolutionVariables(solutionData.templates, this._translations));
1166
1180
  this._organizationVariables = JSON.stringify(templates.getOrganizationVariables(this._translations));
1167
- return (index.h(index.Host, { key: '08cdec33157c18874228bb7bcda82fd901945d02' }, !this._solutionIsLoaded
1181
+ return (index.h(index.Host, { key: 'd80cc0f64b56dd3a8c09d6e024e069d24c12293d' }, !this._solutionIsLoaded
1168
1182
  ? index.h("calcite-loader", { label: '' })
1169
- : null, index.h("div", { key: 'd0879082066b862e136e13986c4794d33f454b72', class: "configuration-container" }, index.h("div", { key: '499fb11ca6715151d6099aa24cfc0a7514c0fa84', class: "configuration" }, index.h("calcite-tabs", { key: '3376e20f7d1145f6c0afb4e888f55c93e971c2b2', class: "config-tabs" }, index.h("calcite-tab-nav", { key: 'f35ab50ff86a62b7ba6c96c23a2541622555bdf5', slot: "tab-nav" }, index.h("calcite-tab-title", { key: '1ee9c1381b78a8f644c1b830a86c9b5a531f6f72' }, this._translations.definitionTab), hasServices ?
1183
+ : null, index.h("div", { key: 'f24cf4b573829ccd47e7d3a7751724d08e132415', class: "configuration-container" }, index.h("div", { key: 'd64771a9775435e9eb5ed9aeb52449c363486376', class: "configuration" }, index.h("calcite-tabs", { key: 'a8aab9934676aee18425a67fbd599887c4d87f36', class: "config-tabs" }, index.h("calcite-tab-nav", { key: '69cbb95f6a50d9886ab97b8f3c05a00ea51b937a', slot: "tab-nav" }, index.h("calcite-tab-title", { key: '911bb46f0bb14981347b1d30a30ef3451184f987' }, this._translations.definitionTab), hasServices ?
1170
1184
  index.h("calcite-tab-title", null, this._translations.spatialReferenceTab) :
1171
- null), index.h("calcite-tab", { key: '0a7df1b0a81334da90d2d04a7f7867d529aaa55d', class: "config-tab", selected: true }, index.h("div", { key: '024773d4bd5fcf8c83af8a7a07b0193231bb2e24', class: "config-solution" }, index.h("div", { key: '37cea9d9565b489357aaf1c11c6fb5f7d2746cfd', class: this._treeOpen ? "config-inventory" : "config-inventory-hide" }, index.h("solution-contents", { id: "configInventory", key: `${this.solutionItemId}-contents`, ref: (el) => (this._solutionContentsComponent = el) })), index.h("calcite-button", { key: '140bcd46e2c4ca519311ae4d9ea62a5f9ac36c29', appearance: "transparent", class: "collapse-btn", "icon-start": this._treeOpen ? "chevrons-left" : "chevrons-right", id: "collapse-vars", onClick: () => this._toggleTree(), scale: "s", title: this._treeOpen ? this._translations.collapse : this._translations.expand }), index.h("div", { key: 'c727ebda3f2efe5dd85a5e3b3b1625b1ff56769e', class: "config-item" }, index.h("solution-item", { authentication: this.authentication, "item-id": this._currentEditItemId, key: `${this.solutionItemId}-item`, "organization-variables": this._organizationVariables, "solution-item-id": this.solutionItemId, "solution-variables": this._solutionVariables })))), hasServices
1172
- ? index.h("calcite-tab", { class: "config-tab" }, index.h("div", { class: "config-solution" }, index.h("solution-spatial-ref", { enableDefault: !!spatialReferenceInfo.default, enabled: spatialReferenceInfo?.enabled, featureServices: solutionStore.state.getStoreInfo("featureServices").map(fs => fs.name), id: "configure-solution-spatial-ref", key: `${this.solutionItemId}-spatial-ref` })))
1185
+ null), index.h("calcite-tab", { key: 'db3f2b1102a7e47183904c2c17dededdfba7f863', class: "config-tab", selected: true }, index.h("div", { key: '7e7651392f73499e9454ccd2b5ed335d63d02db6', class: "config-solution" }, index.h("div", { key: '36d895fadc1e6509a16537a4628d51dd9f7153eb', class: this._treeOpen ? "config-inventory" : "config-inventory-hide" }, index.h("solution-contents", { id: "configInventory", key: `${this.solutionItemId}-contents`, ref: (el) => (this._solutionContentsComponent = el) })), index.h("calcite-button", { key: 'aa965867d04aebd46dbaae4ddd34f655dc77dd40', appearance: "transparent", class: "collapse-btn", "icon-start": this._treeOpen ? "chevrons-left" : "chevrons-right", id: "collapse-vars", onClick: () => this._toggleTree(), scale: "s", title: this._treeOpen ? this._translations.collapse : this._translations.expand }), index.h("div", { key: 'a02de6d666c1017f7d3ad08878ecc381d01e4632', class: "config-item" }, index.h("solution-item", { authentication: this.authentication, "item-id": this._currentEditItemId, key: `${this.solutionItemId}-item`, locale: this.locale, "organization-variables": this._organizationVariables, "solution-item-id": this.solutionItemId, "solution-variables": this._solutionVariables })))), hasServices
1186
+ ? index.h("calcite-tab", { class: "config-tab" }, index.h("div", { class: "config-solution" }, index.h("solution-spatial-ref", { enableDefault: !!spatialReferenceInfo.default, enabled: spatialReferenceInfo?.enabled, featureServices: solutionStore.state.getStoreInfo("featureServices").map(fs => fs.name), id: "configure-solution-spatial-ref", key: `${this.solutionItemId}-spatial-ref`, locale: this.locale })))
1173
1187
  : null)))));
1174
1188
  }
1175
1189
  _solutionStoreHasChanges = false;
@@ -1646,7 +1660,8 @@ const SolutionConfiguration = class {
1646
1660
  }
1647
1661
  static get watchers() { return {
1648
1662
  "serializedAuthentication": ["serializedAuthenticationWatchHandler"],
1649
- "solutionItemId": ["valueWatchHandler"]
1663
+ "solutionItemId": ["valueWatchHandler"],
1664
+ "locale": ["localeWatchHandler"]
1650
1665
  }; }
1651
1666
  };
1652
1667
  SolutionConfiguration.style = SolutionConfigurationStyle0;
@@ -47,7 +47,7 @@ const SolutionContents = class {
47
47
  * Renders the component.
48
48
  */
49
49
  render() {
50
- return (index.h(index.Host, { key: '756612330eb4802d2c00f86270518a22f129a559' }, index.h("calcite-tree", { key: 'ec6e7901373c3f3daa54ad0825fbc703034631d6' }, this.renderHierarchy(this.templateHierarchy))));
50
+ return (index.h(index.Host, { key: '98ca82042eb168779c0c373c9bf5136ae620ff70' }, index.h("calcite-tree", { key: 'c1c634c98e1a69c88c118a8f61036e04ea1b6b42' }, this.renderHierarchy(this.templateHierarchy))));
51
51
  }
52
52
  renderHierarchy(objs) {
53
53
  return objs.map((obj) => {
@@ -119,6 +119,7 @@ const SolutionItem = class {
119
119
  index.registerInstance(this, hostRef);
120
120
  this.authentication = undefined;
121
121
  this.itemId = "";
122
+ this.locale = undefined;
122
123
  this.solutionVariables = "";
123
124
  this.organizationVariables = "";
124
125
  this.itemType = undefined;
@@ -131,6 +132,19 @@ const SolutionItem = class {
131
132
  }
132
133
  //--------------------------------------------------------------------------
133
134
  //
135
+ // Watch handlers
136
+ //
137
+ //--------------------------------------------------------------------------
138
+ /**
139
+ * Fetch translations when the locale is updated
140
+ */
141
+ async localeWatchHandler() {
142
+ // to support url param and language switcher
143
+ this.el.lang = this.locale;
144
+ await this._getTranslations();
145
+ }
146
+ //--------------------------------------------------------------------------
147
+ //
134
148
  // Lifecycle
135
149
  //
136
150
  //--------------------------------------------------------------------------
@@ -144,7 +158,7 @@ const SolutionItem = class {
144
158
  * Renders the component.
145
159
  */
146
160
  render() {
147
- return (index.h(index.Host, { key: '25113cc21fc2c6ffa30daff180f2ee95bfb1c619' }, index.h("div", { key: '30c87a13e5fe1c39a521401cb3d63677f412629b', class: "configuration-container" }, index.h("div", { key: '41f787b8c0964c3aa5b6d629ca73aa271edef540', class: "configuration" }, this._showGroupTabs(this.itemType === "Group"), this._showItemTabs(this.itemType !== "Group")))));
161
+ return (index.h(index.Host, { key: '3fe864ad8d8bcf7bc276feafc60ce7e9fd7e803b' }, index.h("div", { key: '90f327cc0736d8c9c13bf8b65d69e3835b4dae7b', class: "configuration-container" }, index.h("div", { key: '10536f9927ba2b5745f1b5ae3b154a3aac902d47', class: "configuration" }, this._showGroupTabs(this.itemType === "Group"), this._showItemTabs(this.itemType !== "Group")))));
148
162
  }
149
163
  //--------------------------------------------------------------------------
150
164
  //
@@ -172,7 +186,7 @@ const SolutionItem = class {
172
186
  * @param visible Should the current tab be visible
173
187
  */
174
188
  _showGroupTabs(visible) {
175
- return index.h("calcite-tabs", { class: "config-tabs", style: { display: visible ? "inherit" : "none" } }, index.h("calcite-tab-nav", { slot: "tab-nav" }, index.h("calcite-tab-title", null, this._translations.groupDetailsTab), index.h("calcite-tab-title", null, this._translations.sharingTab)), index.h("calcite-tab", { class: "config-tab", id: "group-tab", selected: true }, index.h("solution-item-details", { "item-id": this.itemId })), index.h("calcite-tab", { class: "config-tab", id: "share-tab" }, index.h("solution-item-sharing", { "group-id": this.itemId })));
189
+ return index.h("calcite-tabs", { class: "config-tabs", style: { display: visible ? "inherit" : "none" } }, index.h("calcite-tab-nav", { slot: "tab-nav" }, index.h("calcite-tab-title", null, this._translations.groupDetailsTab), index.h("calcite-tab-title", null, this._translations.sharingTab)), index.h("calcite-tab", { class: "config-tab", id: "group-tab", selected: true }, index.h("solution-item-details", { "item-id": this.itemId, locale: this.locale })), index.h("calcite-tab", { class: "config-tab", id: "share-tab" }, index.h("solution-item-sharing", { "group-id": this.itemId, locale: this.locale })));
176
190
  }
177
191
  /**
178
192
  * Render tabs based for an items details, data, and props section from a template
@@ -180,7 +194,7 @@ const SolutionItem = class {
180
194
  * @param visible Should the current tab be visible
181
195
  */
182
196
  _showItemTabs(visible) {
183
- return index.h("calcite-tabs", { class: "config-tabs", style: { display: visible ? "inherit" : "none" } }, index.h("calcite-tab-nav", { slot: "tab-nav" }, index.h("calcite-tab-title", null, this._translations.itemDetailsTab), index.h("calcite-tab-title", null, this._translations.dataTab), index.h("calcite-tab-title", null, this._translations.propertiesTab), index.h("calcite-tab-title", null, this._translations.resourcesTab)), index.h("calcite-tab", { class: "config-tab", selected: true }, index.h("solution-item-details", { "item-id": this.itemId })), index.h("calcite-tab", { class: "config-tab", id: "data-tab" }, index.h("solution-template-data", { instanceid: "data", "item-id": this.itemId, "organization-variables": this.organizationVariables, "solution-variables": this.solutionVariables })), index.h("calcite-tab", { class: "config-tab", id: "props-tab" }, index.h("solution-template-data", { instanceid: "properties", "item-id": this.itemId, "organization-variables": this.organizationVariables, "solution-variables": this.solutionVariables })), index.h("calcite-tab", { class: "config-tab", id: "resources-tab" }, index.h("solution-resource-item", { authentication: this.authentication, class: "solutions-resource-container", "item-id": this.itemId })));
197
+ return index.h("calcite-tabs", { class: "config-tabs", style: { display: visible ? "inherit" : "none" } }, index.h("calcite-tab-nav", { slot: "tab-nav" }, index.h("calcite-tab-title", null, this._translations.itemDetailsTab), index.h("calcite-tab-title", null, this._translations.dataTab), index.h("calcite-tab-title", null, this._translations.propertiesTab), index.h("calcite-tab-title", null, this._translations.resourcesTab)), index.h("calcite-tab", { class: "config-tab", selected: true }, index.h("solution-item-details", { "item-id": this.itemId, locale: this.locale })), index.h("calcite-tab", { class: "config-tab", id: "data-tab" }, index.h("solution-template-data", { instanceid: "data", "item-id": this.itemId, locale: this.locale, "organization-variables": this.organizationVariables, "solution-variables": this.solutionVariables })), index.h("calcite-tab", { class: "config-tab", id: "props-tab" }, index.h("solution-template-data", { instanceid: "properties", "item-id": this.itemId, locale: this.locale, "organization-variables": this.organizationVariables, "solution-variables": this.solutionVariables })), index.h("calcite-tab", { class: "config-tab", id: "resources-tab" }, index.h("solution-resource-item", { authentication: this.authentication, class: "solutions-resource-container", "item-id": this.itemId, locale: this.locale })));
184
198
  }
185
199
  /**
186
200
  * Fetches the component's translations
@@ -192,7 +206,8 @@ const SolutionItem = class {
192
206
  this._translations = translations[0];
193
207
  }
194
208
  static get watchers() { return {
195
- "itemId": ["itemIdWatchHandler"]
209
+ "itemId": ["itemIdWatchHandler"],
210
+ "locale": ["localeWatchHandler"]
196
211
  }; }
197
212
  };
198
213
  SolutionItem.style = SolutionItemStyle0;
@@ -213,6 +228,7 @@ const SolutionSpatialRef = class {
213
228
  this.enabled = false;
214
229
  this.enableDefault = false;
215
230
  this.featureServices = [];
231
+ this.locale = undefined;
216
232
  this._translations = undefined;
217
233
  }
218
234
  get el() { return index.getElement(this); }
@@ -224,6 +240,19 @@ const SolutionSpatialRef = class {
224
240
  }
225
241
  //--------------------------------------------------------------------------
226
242
  //
243
+ // Watch handlers
244
+ //
245
+ //--------------------------------------------------------------------------
246
+ /**
247
+ * Fetch translations when the locale is updated
248
+ */
249
+ async localeWatchHandler() {
250
+ // to support url param and language switcher
251
+ this.el.lang = this.locale;
252
+ await this._getTranslations();
253
+ }
254
+ //--------------------------------------------------------------------------
255
+ //
227
256
  // Lifecycle
228
257
  //
229
258
  //--------------------------------------------------------------------------
@@ -236,7 +265,7 @@ const SolutionSpatialRef = class {
236
265
  }
237
266
  render() {
238
267
  this._updateUIFromStore();
239
- return (index.h(index.Host, { key: '48e068d6c44084861637657ca39ee931d9550e12' }, index.h("label", { key: 'fbc865a92e0be089fc856706b300f10007219b20', class: "switch-label" }, index.h("calcite-switch", { key: '7dc37074873760a9128585ce05968e77713a6b24', checked: this.enabled, class: "spatial-ref-switch", onCalciteSwitchChange: (event) => this.enabled = event.target.checked, scale: "m" }), this._translations.enableSpatialReference), index.h("br", { key: '4ba07c8c584e34ebcfc19c125425edd6405dc9cc' }), index.h("div", { key: 'afe70ad8ae8d51c36bf81e7ca3ea49ba9464efde', class: "spatial-ref-component", id: "spatialRefDefn" }, this._renderFeatureServicesList(this.featureServices)), index.h("label", { key: '69cd00eadfbd656bb5a1a9182cbaba7a2bec970d', class: "switch-label spatial-ref-component" }, index.h("calcite-switch", { key: '2c1a9241d3e4e77cde61633a40c45003dcbb4052', checked: this.enableDefault, class: "spatial-ref-switch", disabled: !this.enabled, onCalciteSwitchChange: (event) => this.enableDefault = event.target.checked, scale: "m" }), this._translations.enableDefaultSpatialReference)));
268
+ return (index.h(index.Host, { key: 'c4d6b7debb3852da999002bd1d9394ba4a4f2da8' }, index.h("label", { key: 'e16a28157db4c3aece6a00460816c3394f1f9198', class: "switch-label" }, index.h("calcite-switch", { key: '48d3b1c12aa93c50ccf424ccaf0a810855227b8d', checked: this.enabled, class: "spatial-ref-switch", onCalciteSwitchChange: (event) => this.enabled = event.target.checked, scale: "m" }), this._translations.enableSpatialReference), index.h("br", { key: '0e7eb35accdccef9f17e0a24b17180d25c4f054a' }), index.h("div", { key: '257e130fdda5e42a8c40662f21c3d315f91562c7', class: "spatial-ref-component", id: "spatialRefDefn" }, this._renderFeatureServicesList(this.featureServices)), index.h("label", { key: 'd7581971bb310c6c4b0fb1015db59a359da54b90', class: "switch-label spatial-ref-component" }, index.h("calcite-switch", { key: '3045b179955101fc5baff8ca09cb10d0077e35ca', checked: this.enableDefault, class: "spatial-ref-switch", disabled: !this.enabled, onCalciteSwitchChange: (event) => this.enableDefault = event.target.checked, scale: "m" }), this._translations.enableDefaultSpatialReference)));
240
269
  }
241
270
  //--------------------------------------------------------------------------
242
271
  //
@@ -435,7 +464,8 @@ const SolutionSpatialRef = class {
435
464
  }
436
465
  static get watchers() { return {
437
466
  "enabled": ["enabledChanged"],
438
- "enableDefault": ["enableDefaultChanged"]
467
+ "enableDefault": ["enableDefaultChanged"],
468
+ "locale": ["localeWatchHandler"]
439
469
  }; }
440
470
  };
441
471
  SolutionSpatialRef.style = SolutionSpatialRefStyle0;
@@ -18,6 +18,7 @@ const SolutionItemAccordionStyle0 = solutionItemAccordionCss;
18
18
  const SolutionItemAccordion = class {
19
19
  constructor(hostRef) {
20
20
  index.registerInstance(this, hostRef);
21
+ this.locale = undefined;
21
22
  this.templateInfos = [];
22
23
  this._sortedTemplateInfos = [];
23
24
  this._translations = undefined;
@@ -75,6 +76,14 @@ const SolutionItemAccordion = class {
75
76
  // Watch handlers
76
77
  //
77
78
  //--------------------------------------------------------------------------
79
+ /**
80
+ * Fetch translations when the locale is updated
81
+ */
82
+ async localeWatchHandler() {
83
+ // to support url param and language switcher
84
+ this.el.lang = this.locale;
85
+ await this._getTranslations();
86
+ }
78
87
  async templateInfosWatchHandler() {
79
88
  this._types = [];
80
89
  this._sortedTemplateInfos = this._sortTemplates();
@@ -112,7 +121,7 @@ const SolutionItemAccordion = class {
112
121
  * Renders the component.
113
122
  */
114
123
  render() {
115
- return (index.h(index.Host, { key: '8e51f89ed52cd292aae82ed819c61ec4f1e1e5fb' }, this._getAccordion()));
124
+ return (index.h(index.Host, { key: '22a8a6f89fac420848c1279439e0b02121e694d9' }, this._getAccordion()));
116
125
  }
117
126
  //--------------------------------------------------------------------------
118
127
  //
@@ -271,6 +280,7 @@ const SolutionItemAccordion = class {
271
280
  this._translations = messages[0];
272
281
  }
273
282
  static get watchers() { return {
283
+ "locale": ["localeWatchHandler"],
274
284
  "templateInfos": ["templateInfosWatchHandler"]
275
285
  }; }
276
286
  };
@@ -29,7 +29,7 @@ const SolutionItemIcon = class {
29
29
  * Renders the component.
30
30
  */
31
31
  render() {
32
- return index.h("div", { key: '17d5be934c3f22a38a9b277f4b76790e616b3335', title: this.type }, index.h("img", { key: '3c42dd44b54c18a4a960669fc28330efcf23cab1', class: "item-type-icon item-type-icon-margin", height: "16", src: this._getIconUrl(this.type, this.typeKeywords), width: "16" }));
32
+ return index.h("div", { key: 'cc13e7bfc0a58ca1727651c3c31b0dc4e50f716a', title: this.type }, index.h("img", { key: '76808f6a3ced35a15626d4a4d30e7a2b8185d8d6', class: "item-type-icon item-type-icon-margin", height: "16", src: this._getIconUrl(this.type, this.typeKeywords), width: "16" }));
33
33
  }
34
34
  //--------------------------------------------------------------------------
35
35
  //