@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
@@ -24,6 +24,7 @@ import { getLocaleComponentStrings } from "../../utils/locale";
24
24
  export class SolutionItemSharing {
25
25
  constructor() {
26
26
  this.groupId = "";
27
+ this.locale = undefined;
27
28
  this._translations = undefined;
28
29
  this.sharing = [];
29
30
  }
@@ -33,10 +34,23 @@ export class SolutionItemSharing {
33
34
  //
34
35
  //--------------------------------------------------------------------------
35
36
  el;
37
+ //--------------------------------------------------------------------------
38
+ //
39
+ // Watch handlers
40
+ //
41
+ //--------------------------------------------------------------------------
36
42
  itemIdWatchHandler() {
37
43
  const itemEdit = state.getItemInfo(this.groupId);
38
44
  this.sharing = itemEdit.groupDetails;
39
45
  }
46
+ /**
47
+ * Fetch translations when the locale is updated
48
+ */
49
+ async localeWatchHandler() {
50
+ // to support url param and language switcher
51
+ this.el.lang = this.locale;
52
+ await this._getTranslations();
53
+ }
40
54
  //--------------------------------------------------------------------------
41
55
  //
42
56
  // Lifecycle
@@ -52,7 +66,7 @@ export class SolutionItemSharing {
52
66
  * Renders the component.
53
67
  */
54
68
  render() {
55
- return (h(Host, { key: '3b94a68c01079f717b1ff38b82f946a32cfcb3a4' }, h("div", { key: 'e2fd74849f827a5e9756182ead2c23b3ef9584b9', class: "container-border" }, h("calcite-label", { key: '4ac7e9adf98368d5f8b985519a8fd9d1ab24d5d6' }, this._translations.groupInfo), this._renderItems(this.sharing))));
69
+ return (h(Host, { key: '1c7dbee68fbf0eabf736fb783f173ade2f408122' }, h("div", { key: '3c3d88ab122d4a8bc69363224a2754c4a4b092ba', class: "container-border" }, h("calcite-label", { key: '137bb704b258a3cd1e5e5b7a18c53aca331d7f91' }, this._translations.groupInfo), this._renderItems(this.sharing))));
56
70
  }
57
71
  //--------------------------------------------------------------------------
58
72
  //
@@ -166,6 +180,23 @@ export class SolutionItemSharing {
166
180
  "attribute": "group-id",
167
181
  "reflect": true,
168
182
  "defaultValue": "\"\""
183
+ },
184
+ "locale": {
185
+ "type": "string",
186
+ "mutable": false,
187
+ "complexType": {
188
+ "original": "string",
189
+ "resolved": "string",
190
+ "references": {}
191
+ },
192
+ "required": false,
193
+ "optional": false,
194
+ "docs": {
195
+ "tags": [],
196
+ "text": "string: Locale to use for translation of stings in the UI"
197
+ },
198
+ "attribute": "locale",
199
+ "reflect": false
169
200
  }
170
201
  };
171
202
  }
@@ -201,6 +232,9 @@ export class SolutionItemSharing {
201
232
  return [{
202
233
  "propName": "groupId",
203
234
  "methodName": "itemIdWatchHandler"
235
+ }, {
236
+ "propName": "locale",
237
+ "methodName": "localeWatchHandler"
204
238
  }];
205
239
  }
206
240
  }
@@ -22,6 +22,7 @@ import { Host, h } from "@stencil/core";
22
22
  import { getLocaleComponentStrings } from "../../utils/locale";
23
23
  export class SolutionOrganizationVariables {
24
24
  constructor() {
25
+ this.locale = undefined;
25
26
  this.value = "";
26
27
  this._organizationVariables = [];
27
28
  this._translations = undefined;
@@ -32,6 +33,19 @@ export class SolutionOrganizationVariables {
32
33
  //
33
34
  //--------------------------------------------------------------------------
34
35
  el;
36
+ //--------------------------------------------------------------------------
37
+ //
38
+ // Watch handlers
39
+ //
40
+ //--------------------------------------------------------------------------
41
+ /**
42
+ * Fetch translations when the locale is updated
43
+ */
44
+ async localeWatchHandler() {
45
+ // to support url param and language switcher
46
+ this.el.lang = this.locale;
47
+ await this._getTranslations();
48
+ }
35
49
  valueWatchHandler() {
36
50
  this._organizationVariables = JSON.parse(this.value);
37
51
  }
@@ -50,7 +64,7 @@ export class SolutionOrganizationVariables {
50
64
  * Renders the component.
51
65
  */
52
66
  render() {
53
- return (h(Host, { key: '0dd925da12c0eb9861637e78d74c75ad4a23c9f3' }, h("div", { key: '324cfdc588fce6ee5a69b7cd54956a0ab0ef0adf' }, h("h4", { key: '2fca69530272a3f0630b86d36bbc78ec651c45d1', class: "org-var-header" }, this._translations.orgVariables)), h("div", { key: '6f05088ebfaf50e4516c634f1a016275f4228c45', class: "container-border" }, h("calcite-tree", { key: '22585bb1a7cae978c3fbf7301d33b81b4fffb540', id: "variable-label" }, this._renderHierarchy(this._organizationVariables)))));
67
+ return (h(Host, { key: '3f72a5c1b8fb6bcdab858ee061eadb38cb9965d9' }, h("div", { key: '118c7cafc8330c44e72a59a76fd81ca0f39696e1' }, h("h4", { key: '86934bdf3cbf162a732a53579e324c5fff8beead', class: "org-var-header" }, this._translations.orgVariables)), h("div", { key: 'ed5c1df397286a7d1c8e61b5ce04623fa13d74cc', class: "container-border" }, h("calcite-tree", { key: '47f4f9bf5a81ded9a37a33a94fac6a230263e917', id: "variable-label" }, this._renderHierarchy(this._organizationVariables)))));
54
68
  }
55
69
  //--------------------------------------------------------------------------
56
70
  //
@@ -119,6 +133,23 @@ export class SolutionOrganizationVariables {
119
133
  }
120
134
  static get properties() {
121
135
  return {
136
+ "locale": {
137
+ "type": "string",
138
+ "mutable": false,
139
+ "complexType": {
140
+ "original": "string",
141
+ "resolved": "string",
142
+ "references": {}
143
+ },
144
+ "required": false,
145
+ "optional": false,
146
+ "docs": {
147
+ "tags": [],
148
+ "text": "string: Locale to use for translation of stings in the UI"
149
+ },
150
+ "attribute": "locale",
151
+ "reflect": false
152
+ },
122
153
  "value": {
123
154
  "type": "string",
124
155
  "mutable": true,
@@ -166,6 +197,9 @@ export class SolutionOrganizationVariables {
166
197
  static get elementRef() { return "el"; }
167
198
  static get watchers() {
168
199
  return [{
200
+ "propName": "locale",
201
+ "methodName": "localeWatchHandler"
202
+ }, {
169
203
  "propName": "value",
170
204
  "methodName": "valueWatchHandler"
171
205
  }];
@@ -27,6 +27,7 @@ export class SolutionResourceItem {
27
27
  constructor() {
28
28
  this.authentication = undefined;
29
29
  this.itemId = "";
30
+ this.locale = undefined;
30
31
  this.resourceFilePaths = [];
31
32
  this.resources = [];
32
33
  this._translations = undefined;
@@ -37,6 +38,11 @@ export class SolutionResourceItem {
37
38
  //
38
39
  //--------------------------------------------------------------------------
39
40
  el;
41
+ //--------------------------------------------------------------------------
42
+ //
43
+ // Watch handlers
44
+ //
45
+ //--------------------------------------------------------------------------
40
46
  itemIdWatchHandler() {
41
47
  const item = state.getItemInfo(this.itemId);
42
48
  this.resourceFilePaths = item.resourceFilePaths;
@@ -45,6 +51,14 @@ export class SolutionResourceItem {
45
51
  // eslint-disable-next-line @typescript-eslint/restrict-plus-operands
46
52
  (path) => path.substring(path.lastIndexOf("/") + 1));
47
53
  }
54
+ /**
55
+ * Fetch translations when the locale is updated
56
+ */
57
+ async localeWatchHandler() {
58
+ // to support url param and language switcher
59
+ this.el.lang = this.locale;
60
+ await this._getTranslations();
61
+ }
48
62
  //--------------------------------------------------------------------------
49
63
  //
50
64
  // Lifecycle
@@ -61,7 +75,7 @@ export class SolutionResourceItem {
61
75
  */
62
76
  render() {
63
77
  const hasValidResources = this._hasValidResources();
64
- return (h(Host, { key: '95659a6d3572354aef8a879694e41ab6821ca506' }, h("div", { key: 'fa34097cf27797000558b4ddb001ba7e89d8fe71', class: "resource-item" }, h("div", { key: 'a7797a17c4cef3e7189157b141fdbf5c3b34143c', class: "margin-bottom-1" }, h("calcite-button", { key: 'd6d70a4240348a12b2f4847abc3806ef46064871', appearance: "solid", class: "resource-button", color: "blue", onClick: () => this._addNewResource() }, this._translations.addResource), h("calcite-button", { key: 'c9a73c13a223b8120965bcf092ef63c6a9443f43', appearance: "solid", color: "blue", disabled: !hasValidResources, onClick: () => this._downloadAll() }, this._translations.downloadAll)), h("div", { key: '0eb74fd024fc421b94391984b842a4a7ffd491c5', class: "resources-container", style: { display: hasValidResources ? "inherit" : "none" } }, this._renderResourceList()))));
78
+ return (h(Host, { key: '13f2759a882d2eca48bf9dda58e74caade76142b' }, h("div", { key: '498ced2e29b8af9138a8aa9d77ec78e07e3c64de', class: "resource-item" }, h("div", { key: 'd76a967373a990906a67d88ea6466030c41401ff', class: "margin-bottom-1" }, h("calcite-button", { key: '96cd2ee08adadef9e1b29db12c38d4748b0689c0', appearance: "solid", class: "resource-button", color: "blue", onClick: () => this._addNewResource() }, this._translations.addResource), h("calcite-button", { key: '49326139cad065995512d3e3568c7d8e7f5cef4f', appearance: "solid", color: "blue", disabled: !hasValidResources, onClick: () => this._downloadAll() }, this._translations.downloadAll)), h("div", { key: '9c056d9ab7242ea10cbcf57eaabce4bd9777541e', class: "resources-container", style: { display: hasValidResources ? "inherit" : "none" } }, this._renderResourceList()))));
65
79
  }
66
80
  _removedResources = {};
67
81
  //--------------------------------------------------------------------------
@@ -334,6 +348,23 @@ export class SolutionResourceItem {
334
348
  "attribute": "item-id",
335
349
  "reflect": true,
336
350
  "defaultValue": "\"\""
351
+ },
352
+ "locale": {
353
+ "type": "string",
354
+ "mutable": false,
355
+ "complexType": {
356
+ "original": "string",
357
+ "resolved": "string",
358
+ "references": {}
359
+ },
360
+ "required": false,
361
+ "optional": false,
362
+ "docs": {
363
+ "tags": [],
364
+ "text": "string: Locale to use for translation of stings in the UI"
365
+ },
366
+ "attribute": "locale",
367
+ "reflect": false
337
368
  }
338
369
  };
339
370
  }
@@ -349,6 +380,9 @@ export class SolutionResourceItem {
349
380
  return [{
350
381
  "propName": "itemId",
351
382
  "methodName": "itemIdWatchHandler"
383
+ }, {
384
+ "propName": "locale",
385
+ "methodName": "localeWatchHandler"
352
386
  }];
353
387
  }
354
388
  }
@@ -33,6 +33,7 @@ export class SolutionSpatialRef {
33
33
  this.enabled = false;
34
34
  this.enableDefault = false;
35
35
  this.featureServices = [];
36
+ this.locale = undefined;
36
37
  this._translations = undefined;
37
38
  }
38
39
  //--------------------------------------------------------------------------
@@ -49,6 +50,19 @@ export class SolutionSpatialRef {
49
50
  }
50
51
  //--------------------------------------------------------------------------
51
52
  //
53
+ // Watch handlers
54
+ //
55
+ //--------------------------------------------------------------------------
56
+ /**
57
+ * Fetch translations when the locale is updated
58
+ */
59
+ async localeWatchHandler() {
60
+ // to support url param and language switcher
61
+ this.el.lang = this.locale;
62
+ await this._getTranslations();
63
+ }
64
+ //--------------------------------------------------------------------------
65
+ //
52
66
  // Lifecycle
53
67
  //
54
68
  //--------------------------------------------------------------------------
@@ -61,7 +75,7 @@ export class SolutionSpatialRef {
61
75
  }
62
76
  render() {
63
77
  this._updateUIFromStore();
64
- return (h(Host, { key: '48e068d6c44084861637657ca39ee931d9550e12' }, h("label", { key: 'fbc865a92e0be089fc856706b300f10007219b20', class: "switch-label" }, h("calcite-switch", { key: '7dc37074873760a9128585ce05968e77713a6b24', checked: this.enabled, class: "spatial-ref-switch", onCalciteSwitchChange: (event) => this.enabled = event.target.checked, scale: "m" }), this._translations.enableSpatialReference), h("br", { key: '4ba07c8c584e34ebcfc19c125425edd6405dc9cc' }), h("div", { key: 'afe70ad8ae8d51c36bf81e7ca3ea49ba9464efde', class: "spatial-ref-component", id: "spatialRefDefn" }, this._renderFeatureServicesList(this.featureServices)), h("label", { key: '69cd00eadfbd656bb5a1a9182cbaba7a2bec970d', class: "switch-label spatial-ref-component" }, 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)));
78
+ return (h(Host, { key: 'c4d6b7debb3852da999002bd1d9394ba4a4f2da8' }, h("label", { key: 'e16a28157db4c3aece6a00460816c3394f1f9198', class: "switch-label" }, h("calcite-switch", { key: '48d3b1c12aa93c50ccf424ccaf0a810855227b8d', checked: this.enabled, class: "spatial-ref-switch", onCalciteSwitchChange: (event) => this.enabled = event.target.checked, scale: "m" }), this._translations.enableSpatialReference), h("br", { key: '0e7eb35accdccef9f17e0a24b17180d25c4f054a' }), h("div", { key: '257e130fdda5e42a8c40662f21c3d315f91562c7', class: "spatial-ref-component", id: "spatialRefDefn" }, this._renderFeatureServicesList(this.featureServices)), h("label", { key: 'd7581971bb310c6c4b0fb1015db59a359da54b90', class: "switch-label spatial-ref-component" }, 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)));
65
79
  }
66
80
  //--------------------------------------------------------------------------
67
81
  //
@@ -328,6 +342,23 @@ export class SolutionSpatialRef {
328
342
  "text": "List of services the spatial reference should apply to"
329
343
  },
330
344
  "defaultValue": "[]"
345
+ },
346
+ "locale": {
347
+ "type": "string",
348
+ "mutable": false,
349
+ "complexType": {
350
+ "original": "string",
351
+ "resolved": "string",
352
+ "references": {}
353
+ },
354
+ "required": false,
355
+ "optional": false,
356
+ "docs": {
357
+ "tags": [],
358
+ "text": "string: Locale to use for translation of stings in the UI"
359
+ },
360
+ "attribute": "locale",
361
+ "reflect": false
331
362
  }
332
363
  };
333
364
  }
@@ -450,6 +481,9 @@ export class SolutionSpatialRef {
450
481
  }, {
451
482
  "propName": "enableDefault",
452
483
  "methodName": "enableDefaultChanged"
484
+ }, {
485
+ "propName": "locale",
486
+ "methodName": "localeWatchHandler"
453
487
  }];
454
488
  }
455
489
  static get listeners() {
@@ -36,12 +36,26 @@ export class SolutionTemplateData {
36
36
  }
37
37
  //--------------------------------------------------------------------------
38
38
  //
39
+ // Watch handlers
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
+ }
50
+ //--------------------------------------------------------------------------
51
+ //
39
52
  // Lifecycle
40
53
  //
41
54
  //--------------------------------------------------------------------------
42
55
  constructor() {
43
56
  this.instanceid = "";
44
57
  this.itemId = "";
58
+ this.locale = undefined;
45
59
  this.organizationVariables = "";
46
60
  this.solutionVariables = "";
47
61
  this.varsOpen = true;
@@ -77,7 +91,7 @@ export class SolutionTemplateData {
77
91
  * Renders the component.
78
92
  */
79
93
  render() {
80
- return (h(Host, { key: '3e0a532158fffbba07faee43152573eb3577da84' }, h("div", { key: '5631eb64e45d31465361491e9585c8eddd04dce7', class: "solution-data-container" }, h("calcite-shell", { key: '9b065784804b86fa1c09c9d7e5f173a6ea793883', class: "light var-container", dir: "ltr" }, h("calcite-panel", { key: '254dcf1c48812c98a69bac8e7b6ca91a39eb9cff', class: "json-editor" }, h("div", { key: '86f686a03298bb06b8b855ae59a66e42cec25ad4', class: "solution-data-child-container calcite-match-height" }, h("json-editor", { key: '0549a48a16bb94ed7be3064f4b622b1a10563bfd', class: "solution-data-editor-container", instanceid: this.itemId + "|" + this.instanceid, value: this.value }))), h("calcite-shell-panel", { key: 'a3879f3d3b95d2878a5ec98265a6a120c78366f6', "height-scale": "l", position: "end", slot: "contextual-panel", "width-scale": "xs" }, h("div", { key: '4e8a2206eb7e57e8beb5e854f3cd66d7bae96101', class: this.varsOpen ? "solution-data-child-container" : "solution-data-child-container-collapsed" }, h("calcite-button", { key: '180bb9e0a1aff223625e3979930a9904dc778a1d', appearance: "transparent", class: "collapse-btn", "icon-start": this.varsOpen ? "chevrons-right" : "chevrons-left", id: "collapse-vars", onClick: () => this._toggleVars(), scale: "s", title: this.varsOpen ? this._translations.collapse : this._translations.expand }), h("div", { key: 'a1064c394bb1a9c95493a052057bdfb2ccc7b20a', class: this.varsOpen ? "org-vars" : "org-vars display-none", id: "orgVars" }, h("solution-organization-variables", { key: '19ef108d689b875a329a22f0729f34bd3c5edbd1', value: this.organizationVariables })), h("div", { key: '3671681ffde2ef2aae1a84c608fbe08c0f4e7bcc', class: this.varsOpen ? "sol-vars" : "sol-vars display-none", id: "solVars" }, h("solution-variables", { key: '7bdbb7baedf02ff299e620741995a393c4bf976d', value: this.solutionVariables }))))))));
94
+ return (h(Host, { key: '3f853006c19509c8cf484d4420b3f687aaad5161' }, h("div", { key: 'f524e1ee3c8dc972779be0909372c11c26092dd0', class: "solution-data-container" }, h("calcite-shell", { key: '56797702bc53b08051360975dc529c884eb7d294', class: "light var-container", dir: "ltr" }, h("calcite-panel", { key: '6208ac7b63ab8b69bc29ad88abdb9bcdeaaa707a', class: "json-editor" }, h("div", { key: '66e99550359b5665b4dd04f794d8108e4ee34284', class: "solution-data-child-container calcite-match-height" }, h("json-editor", { key: '7a7f5afa5d424fb6099b7167f274ce211e791a56', class: "solution-data-editor-container", instanceid: this.itemId + "|" + this.instanceid, locale: this.locale, value: this.value }))), h("calcite-shell-panel", { key: '7cc8bac91bfc5be96018d005cc87be457278ed6d', "height-scale": "l", position: "end", slot: "contextual-panel", "width-scale": "xs" }, h("div", { key: '4ce0c251d30d5735781394f5c213523867205886', class: this.varsOpen ? "solution-data-child-container" : "solution-data-child-container-collapsed" }, h("calcite-button", { key: '814c8996b854102b022f7ac482498dd6aac36ec8', appearance: "transparent", class: "collapse-btn", "icon-start": this.varsOpen ? "chevrons-right" : "chevrons-left", id: "collapse-vars", onClick: () => this._toggleVars(), scale: "s", title: this.varsOpen ? this._translations.collapse : this._translations.expand }), h("div", { key: '6b872cfc1c60870fb6262808f5d9f61cc35f0f44', class: this.varsOpen ? "org-vars" : "org-vars display-none", id: "orgVars" }, h("solution-organization-variables", { key: 'e8e9ee594b6dcb5ddaabd05c322fb33d568ac7b5', locale: this.locale, value: this.organizationVariables })), h("div", { key: '109d17a77a54a13818af6aa2a9beb92526100ea7', class: this.varsOpen ? "sol-vars" : "sol-vars display-none", id: "solVars" }, h("solution-variables", { key: '46902ed69897ed01334def99817fedafbda2e8d5', locale: this.locale, value: this.solutionVariables }))))))));
81
95
  }
82
96
  _initializing = false;
83
97
  //--------------------------------------------------------------------------
@@ -164,6 +178,23 @@ export class SolutionTemplateData {
164
178
  "reflect": true,
165
179
  "defaultValue": "\"\""
166
180
  },
181
+ "locale": {
182
+ "type": "string",
183
+ "mutable": false,
184
+ "complexType": {
185
+ "original": "string",
186
+ "resolved": "string",
187
+ "references": {}
188
+ },
189
+ "required": false,
190
+ "optional": false,
191
+ "docs": {
192
+ "tags": [],
193
+ "text": "string: Locale to use for translation of stings in the UI"
194
+ },
195
+ "attribute": "locale",
196
+ "reflect": false
197
+ },
167
198
  "organizationVariables": {
168
199
  "type": "string",
169
200
  "mutable": true,
@@ -231,6 +262,9 @@ export class SolutionTemplateData {
231
262
  return [{
232
263
  "propName": "itemId",
233
264
  "methodName": "itemIdWatchHandler"
265
+ }, {
266
+ "propName": "locale",
267
+ "methodName": "localeWatchHandler"
234
268
  }];
235
269
  }
236
270
  }
@@ -23,6 +23,7 @@ import { getLocaleComponentStrings } from "../../utils/locale";
23
23
  export class SolutionVariables {
24
24
  constructor() {
25
25
  this.value = "";
26
+ this.locale = undefined;
26
27
  this._solutionVariables = [];
27
28
  this._translations = undefined;
28
29
  }
@@ -32,6 +33,19 @@ export class SolutionVariables {
32
33
  //
33
34
  //--------------------------------------------------------------------------
34
35
  el;
36
+ //--------------------------------------------------------------------------
37
+ //
38
+ // Watch handlers
39
+ //
40
+ //--------------------------------------------------------------------------
41
+ /**
42
+ * Fetch translations when the locale is updated
43
+ */
44
+ async localeWatchHandler() {
45
+ // to support url param and language switcher
46
+ this.el.lang = this.locale;
47
+ await this._getTranslations();
48
+ }
35
49
  valueWatchHandler() {
36
50
  this._solutionVariables = JSON.parse(this.value);
37
51
  }
@@ -50,7 +64,7 @@ export class SolutionVariables {
50
64
  * Renders the component.
51
65
  */
52
66
  render() {
53
- return (h(Host, { key: 'a600c4dc88ee4ea3f9d7810695f71283f834933b' }, h("div", { key: 'c5c2abd0d19c778366c04dfd6b04f26bcb86b59b' }, h("h4", { key: '087db039abd818f71838c88ef09eafc46d18b5c8', class: "org-var-header" }, this._translations.solVariables)), h("div", { key: 'd524981a512342d18d616137c7951f7c0f3f870b', class: "container-border" }, h("calcite-tree", { key: '4630d4aa5a35d3e3a173e3aaae9b35b0dd636b4f', id: "variable-label" }, this._renderHierarchy(this._solutionVariables)))));
67
+ return (h(Host, { key: 'a90cdfc9a32279cb07938fc57f9dd7e38d822f6d' }, h("div", { key: '6826e3dd84034368f419ff759962a721a275dc9c' }, h("h4", { key: '5ebdf456e8c4dc006b036dc182fa75218aac0e01', class: "org-var-header" }, this._translations.solVariables)), h("div", { key: '06fc04c1e61dc1897989e3cc11df7b173f1fdb2a', class: "container-border" }, h("calcite-tree", { key: '15500194129af7440ec05dc495b060fc18f22324', id: "variable-label" }, this._renderHierarchy(this._solutionVariables)))));
54
68
  }
55
69
  //--------------------------------------------------------------------------
56
70
  //
@@ -147,6 +161,23 @@ export class SolutionVariables {
147
161
  "attribute": "value",
148
162
  "reflect": true,
149
163
  "defaultValue": "\"\""
164
+ },
165
+ "locale": {
166
+ "type": "string",
167
+ "mutable": false,
168
+ "complexType": {
169
+ "original": "string",
170
+ "resolved": "string",
171
+ "references": {}
172
+ },
173
+ "required": false,
174
+ "optional": false,
175
+ "docs": {
176
+ "tags": [],
177
+ "text": "string: Locale to use for translation of stings in the UI"
178
+ },
179
+ "attribute": "locale",
180
+ "reflect": false
150
181
  }
151
182
  };
152
183
  }
@@ -177,6 +208,9 @@ export class SolutionVariables {
177
208
  static get elementRef() { return "el"; }
178
209
  static get watchers() {
179
210
  return [{
211
+ "propName": "locale",
212
+ "methodName": "localeWatchHandler"
213
+ }, {
180
214
  "propName": "value",
181
215
  "methodName": "valueWatchHandler"
182
216
  }];
@@ -30,6 +30,19 @@ export class SpatialRef {
30
30
  //
31
31
  //--------------------------------------------------------------------------
32
32
  el;
33
+ //--------------------------------------------------------------------------
34
+ //
35
+ // Watch handlers
36
+ //
37
+ //--------------------------------------------------------------------------
38
+ /**
39
+ * Fetch translations when the locale is updated
40
+ */
41
+ async localeWatchHandler() {
42
+ // to support url param and language switcher
43
+ this.el.lang = this.locale;
44
+ await this._getTranslations();
45
+ }
33
46
  valueChanged(newValue) {
34
47
  this._spatialRef = this._createSpatialRefDisplay(newValue);
35
48
  const searchBox = document.getElementById("calcite-sr-search");
@@ -53,6 +66,7 @@ export class SpatialRef {
53
66
  constructor() {
54
67
  this.defaultWkid = 102100;
55
68
  this.disabled = false;
69
+ this.locale = undefined;
56
70
  this.value = this.defaultWkid.toString();
57
71
  this._cachedValue = this.defaultWkid.toString();
58
72
  this._spatialRef = undefined;
@@ -70,7 +84,7 @@ export class SpatialRef {
70
84
  * Renders the component.
71
85
  */
72
86
  render() {
73
- return (h(Host, { key: '1da00c18c49d769c98e236f73e648dd880df6e2a' }, h("div", { key: '61da287f6865c90a1b4b523cb13d689247255573' }, h("calcite-input", { key: 'e129b4a009fa12f9aff37384debe673dbed31774', disabled: this.disabled, id: "calcite-sr-search", onKeyUp: (evt) => this._searchInputKeyDown(evt), placeholder: this._translations.spatialReferencePlaceholder }), h("calcite-tree", { key: '125c006a62fda7fd1204c81374c119b562424e26', id: "calcite-sr-tree", slot: "children" }, this._getTreeContent()))));
87
+ return (h(Host, { key: '348d114f0c8c9571b4beff34a946a09b734083f9' }, h("div", { key: '2f6bb626834a50690fd523744a4c2adeddfb0f9f' }, h("calcite-input", { key: '4b3d9354f1c1983c49360eb9f3a0a921288f50c2', disabled: this.disabled, id: "calcite-sr-search", onKeyUp: (evt) => this._searchInputKeyDown(evt), placeholder: this._translations.spatialReferencePlaceholder }), h("calcite-tree", { key: '883819c424636a79957d375f0d613d32827e5ebe', id: "calcite-sr-tree", slot: "children" }, this._getTreeContent()))));
74
88
  }
75
89
  _lastHighlightedSref;
76
90
  //--------------------------------------------------------------------------
@@ -316,6 +330,23 @@ export class SpatialRef {
316
330
  "reflect": true,
317
331
  "defaultValue": "false"
318
332
  },
333
+ "locale": {
334
+ "type": "string",
335
+ "mutable": false,
336
+ "complexType": {
337
+ "original": "string",
338
+ "resolved": "string",
339
+ "references": {}
340
+ },
341
+ "required": false,
342
+ "optional": false,
343
+ "docs": {
344
+ "tags": [],
345
+ "text": "string: Locale to use for translation of stings in the UI"
346
+ },
347
+ "attribute": "locale",
348
+ "reflect": false
349
+ },
319
350
  "value": {
320
351
  "type": "string",
321
352
  "mutable": true,
@@ -456,6 +487,9 @@ export class SpatialRef {
456
487
  static get elementRef() { return "el"; }
457
488
  static get watchers() {
458
489
  return [{
490
+ "propName": "locale",
491
+ "methodName": "localeWatchHandler"
492
+ }, {
459
493
  "propName": "value",
460
494
  "methodName": "valueChanged"
461
495
  }];
@@ -171,7 +171,6 @@
171
171
  }
172
172
  }]
173
173
  ];
174
- //demo.hideMapOnLoad = true;
175
174
  demo.appLayout = "splitView";
176
175
  //demo.coverPageEnabled = true;
177
176
  //demo.introductionWindowEnabled = true;
@@ -181,10 +181,10 @@
181
181
  // demo.mapView.ui.add(legend, "top-left");
182
182
  });
183
183
  demo.reportsHeader = "Reports";
184
- demo.reportButtonText = "Report an incident";
184
+ //demo.reportButtonText = "Report an incident";
185
185
  demo.enableNewReports = true;
186
186
  demo.theme = "light";
187
- demo.reportSubmittedMessage = "Thank you! Your request was successfully submitted";
187
+ //demo.reportSubmittedMessage = "Thank you! Your request was successfully submitted";
188
188
 
189
189
  //Set the zoomScale to be used when zooming to single point feature
190
190
  //demo.zoomToScale = 139596221; //World
@@ -28,6 +28,7 @@ const BufferTools = /*@__PURE__*/ proxyCustomElement(class BufferTools extends H
28
28
  this.appearance = "text";
29
29
  this.distance = 0;
30
30
  this.geometries = [];
31
+ this.locale = undefined;
31
32
  this.max = undefined;
32
33
  this.min = 0;
33
34
  this.sliderTicks = 10;
@@ -74,6 +75,14 @@ const BufferTools = /*@__PURE__*/ proxyCustomElement(class BufferTools extends H
74
75
  disabledWatchHandler() {
75
76
  this._buffer();
76
77
  }
78
+ /**
79
+ * Fetch translations when the locale is updated
80
+ */
81
+ async localeWatchHandler() {
82
+ // to support url param and language switcher
83
+ this.el.lang = this.locale;
84
+ await this._getTranslations();
85
+ }
77
86
  //--------------------------------------------------------------------------
78
87
  //
79
88
  // Methods (public)
@@ -125,7 +134,7 @@ const BufferTools = /*@__PURE__*/ proxyCustomElement(class BufferTools extends H
125
134
  * Renders the component.
126
135
  */
127
136
  render() {
128
- return (h(Host, { key: 'fe60961aabf178fd32c4c85e8d52b9bc61a349d0' }, this.appearance === "text" ? this._getTextBoxDisplay() : this._getSliderDisplay()));
137
+ return (h(Host, { key: '4fbfb01938d285a2b022834f712013cea10945f9' }, this.appearance === "text" ? this._getTextBoxDisplay() : this._getSliderDisplay()));
129
138
  }
130
139
  //--------------------------------------------------------------------------
131
140
  //
@@ -290,13 +299,15 @@ const BufferTools = /*@__PURE__*/ proxyCustomElement(class BufferTools extends H
290
299
  }
291
300
  static get watchers() { return {
292
301
  "geometries": ["geometriesWatchHandler"],
293
- "disabled": ["disabledWatchHandler"]
302
+ "disabled": ["disabledWatchHandler"],
303
+ "locale": ["localeWatchHandler"]
294
304
  }; }
295
305
  static get style() { return BufferToolsStyle0; }
296
306
  }, [1, "buffer-tools", {
297
307
  "appearance": [1025],
298
308
  "distance": [1026],
299
309
  "geometries": [1040],
310
+ "locale": [1],
300
311
  "max": [1026],
301
312
  "min": [1026],
302
313
  "sliderTicks": [1026, "slider-ticks"],
@@ -307,7 +318,8 @@ const BufferTools = /*@__PURE__*/ proxyCustomElement(class BufferTools extends H
307
318
  "getTranslatedUnit": [64]
308
319
  }, undefined, {
309
320
  "geometries": ["geometriesWatchHandler"],
310
- "disabled": ["disabledWatchHandler"]
321
+ "disabled": ["disabledWatchHandler"],
322
+ "locale": ["localeWatchHandler"]
311
323
  }]);
312
324
  function defineCustomElement() {
313
325
  if (typeof customElements === "undefined") {