@esri/solutions-components 0.10.39 → 0.10.40

Sign up to get free protection for your applications and to get access to all the features.
Files changed (374) hide show
  1. package/dist/cjs/basemap-gallery_7.cjs.entry.js +26 -6
  2. package/dist/cjs/buffer-tools_3.cjs.entry.js +23 -3
  3. package/dist/cjs/calcite-alert_5.cjs.entry.js +40 -5
  4. package/dist/cjs/calcite-combobox_3.cjs.entry.js +11 -1
  5. package/dist/cjs/calcite-flow_4.cjs.entry.js +33 -10
  6. package/dist/cjs/calcite-shell-panel_14.cjs.entry.js +119 -10
  7. package/dist/cjs/calcite-shell_3.cjs.entry.js +26 -4
  8. package/dist/cjs/card-manager_3.cjs.entry.js +41 -9
  9. package/dist/cjs/consent-manager.cjs.entry.js +12 -0
  10. package/dist/cjs/crowdsource-manager.cjs.entry.js +12 -13
  11. package/dist/cjs/crowdsource-reporter.cjs.entry.js +19 -9
  12. package/dist/cjs/deduct-calculator.cjs.entry.js +1 -1
  13. package/dist/cjs/feature-list.cjs.entry.js +13 -3
  14. package/dist/cjs/loader.cjs.js +1 -1
  15. package/dist/cjs/map-select-tools_3.cjs.entry.js +38 -6
  16. package/dist/cjs/pci-calculator.cjs.entry.js +1 -1
  17. package/dist/cjs/public-notification.cjs.entry.js +11 -2
  18. package/dist/cjs/share-item.cjs.entry.js +1 -1
  19. package/dist/cjs/solution-configuration.cjs.entry.js +20 -5
  20. package/dist/cjs/solution-contents_3.cjs.entry.js +37 -7
  21. package/dist/cjs/solution-item-accordion.cjs.entry.js +11 -1
  22. package/dist/cjs/solution-item-icon.cjs.entry.js +1 -1
  23. package/dist/cjs/solutions-components.cjs.js +1 -1
  24. package/dist/cjs/spatial-ref.cjs.entry.js +16 -1
  25. package/dist/collection/collection-manifest.json +0 -7
  26. package/dist/collection/components/buffer-tools/buffer-tools.js +30 -1
  27. package/dist/collection/components/card-manager/card-manager.js +34 -2
  28. package/dist/collection/components/consent-manager/consent-manager.js +32 -0
  29. package/dist/collection/components/create-feature/create-feature.js +31 -2
  30. package/dist/collection/components/create-related-feature/create-related-feature.js +30 -1
  31. package/dist/collection/components/crowdsource-manager/crowdsource-manager.js +20 -22
  32. package/dist/collection/components/crowdsource-reporter/crowdsource-reporter.js +38 -9
  33. package/dist/collection/components/deduct-calculator/deduct-calculator.js +1 -1
  34. package/dist/collection/components/delete-button/delete-button.js +31 -2
  35. package/dist/collection/components/delete-dialog/delete-dialog.js +33 -1
  36. package/dist/collection/components/edit-card/edit-card.js +30 -1
  37. package/dist/collection/components/feature-details/feature-details.js +24 -6
  38. package/dist/collection/components/feature-list/feature-list.js +32 -3
  39. package/dist/collection/components/floor-filter/floor-filter.js +1 -1
  40. package/dist/collection/components/info-card/info-card.js +36 -2
  41. package/dist/collection/components/json-editor/json-editor.js +38 -1
  42. package/dist/collection/components/layer-list/layer-list.js +35 -3
  43. package/dist/collection/components/layer-table/layer-table.js +34 -5
  44. package/dist/collection/components/map-card/map-card.js +31 -2
  45. package/dist/collection/components/map-draw-tools/map-draw-tools.js +30 -1
  46. package/dist/collection/components/map-fullscreen/map-fullscreen.js +1 -1
  47. package/dist/collection/components/map-layer-picker/map-layer-picker.js +30 -1
  48. package/dist/collection/components/map-legend/map-legend.js +1 -1
  49. package/dist/collection/components/map-picker/map-picker.js +30 -1
  50. package/dist/collection/components/map-search/map-search.js +1 -1
  51. package/dist/collection/components/map-select-tools/map-select-tools.js +15 -4
  52. package/dist/collection/components/map-tools/map-tools.js +30 -1
  53. package/dist/collection/components/pci-calculator/pci-calculator.js +1 -1
  54. package/dist/collection/components/pdf-download/pdf-download.js +33 -1
  55. package/dist/collection/components/public-notification/public-notification.js +13 -2
  56. package/dist/collection/components/refine-selection/refine-selection.js +15 -1
  57. package/dist/collection/components/share-item/share-item.js +1 -1
  58. package/dist/collection/components/solution-configuration/solution-configuration.js +38 -4
  59. package/dist/collection/components/solution-contents/solution-contents.js +1 -1
  60. package/dist/collection/components/solution-item/solution-item.js +37 -3
  61. package/dist/collection/components/solution-item-accordion/solution-item-accordion.js +30 -1
  62. package/dist/collection/components/solution-item-details/solution-item-details.js +38 -1
  63. package/dist/collection/components/solution-item-icon/solution-item-icon.js +1 -1
  64. package/dist/collection/components/solution-item-sharing/solution-item-sharing.js +35 -1
  65. package/dist/collection/components/solution-organization-variables/solution-organization-variables.js +35 -1
  66. package/dist/collection/components/solution-resource-item/solution-resource-item.js +35 -1
  67. package/dist/collection/components/solution-spatial-ref/solution-spatial-ref.js +35 -1
  68. package/dist/collection/components/solution-template-data/solution-template-data.js +35 -1
  69. package/dist/collection/components/solution-variables/solution-variables.js +35 -1
  70. package/dist/collection/components/spatial-ref/spatial-ref.js +35 -1
  71. package/dist/collection/demos/crowdsource-manager.html +0 -1
  72. package/dist/collection/demos/crowdsource-reporter.html +2 -2
  73. package/dist/components/buffer-tools2.js +15 -3
  74. package/dist/components/card-manager2.js +18 -3
  75. package/dist/components/consent-manager.js +15 -0
  76. package/dist/components/create-feature2.js +14 -2
  77. package/dist/components/create-related-feature2.js +13 -1
  78. package/dist/components/crowdsource-manager.js +14 -15
  79. package/dist/components/crowdsource-reporter.js +21 -9
  80. package/dist/components/deduct-calculator2.js +1 -1
  81. package/dist/components/delete-button2.js +16 -4
  82. package/dist/components/delete-dialog2.js +16 -1
  83. package/dist/components/edit-card2.js +13 -1
  84. package/dist/components/feature-details2.js +8 -6
  85. package/dist/components/feature-list2.js +15 -3
  86. package/dist/components/floor-filter2.js +1 -1
  87. package/dist/components/info-card2.js +19 -2
  88. package/dist/components/json-editor2.js +21 -1
  89. package/dist/components/layer-list2.js +18 -3
  90. package/dist/components/layer-table2.js +17 -5
  91. package/dist/components/map-card2.js +14 -2
  92. package/dist/components/map-draw-tools2.js +13 -1
  93. package/dist/components/map-fullscreen2.js +1 -1
  94. package/dist/components/map-layer-picker2.js +13 -1
  95. package/dist/components/map-legend2.js +1 -1
  96. package/dist/components/map-picker2.js +13 -1
  97. package/dist/components/map-search2.js +1 -1
  98. package/dist/components/map-select-tools2.js +14 -4
  99. package/dist/components/map-tools2.js +13 -1
  100. package/dist/components/pci-calculator.js +1 -1
  101. package/dist/components/pdf-download2.js +16 -1
  102. package/dist/components/public-notification.js +12 -2
  103. package/dist/components/refine-selection2.js +14 -1
  104. package/dist/components/share-item.js +1 -1
  105. package/dist/components/solution-configuration.js +23 -6
  106. package/dist/components/solution-contents2.js +1 -1
  107. package/dist/components/solution-item-accordion.js +13 -1
  108. package/dist/components/solution-item-details2.js +22 -2
  109. package/dist/components/solution-item-icon2.js +1 -1
  110. package/dist/components/solution-item-sharing2.js +20 -3
  111. package/dist/components/solution-item2.js +22 -5
  112. package/dist/components/solution-organization-variables2.js +18 -1
  113. package/dist/components/solution-resource-item2.js +20 -3
  114. package/dist/components/solution-spatial-ref2.js +20 -3
  115. package/dist/components/solution-template-data2.js +20 -3
  116. package/dist/components/solution-variables2.js +18 -1
  117. package/dist/components/spatial-ref.js +18 -1
  118. package/dist/esm/basemap-gallery_7.entry.js +26 -6
  119. package/dist/esm/buffer-tools_3.entry.js +23 -3
  120. package/dist/esm/calcite-alert_5.entry.js +40 -5
  121. package/dist/esm/calcite-combobox_3.entry.js +11 -1
  122. package/dist/esm/calcite-flow_4.entry.js +33 -10
  123. package/dist/esm/calcite-shell-panel_14.entry.js +119 -10
  124. package/dist/esm/calcite-shell_3.entry.js +26 -4
  125. package/dist/esm/card-manager_3.entry.js +41 -9
  126. package/dist/esm/consent-manager.entry.js +12 -0
  127. package/dist/esm/crowdsource-manager.entry.js +12 -13
  128. package/dist/esm/crowdsource-reporter.entry.js +19 -9
  129. package/dist/esm/deduct-calculator.entry.js +1 -1
  130. package/dist/esm/feature-list.entry.js +13 -3
  131. package/dist/esm/loader.js +1 -1
  132. package/dist/esm/map-select-tools_3.entry.js +38 -6
  133. package/dist/esm/pci-calculator.entry.js +1 -1
  134. package/dist/esm/public-notification.entry.js +11 -2
  135. package/dist/esm/share-item.entry.js +1 -1
  136. package/dist/esm/solution-configuration.entry.js +20 -5
  137. package/dist/esm/solution-contents_3.entry.js +37 -7
  138. package/dist/esm/solution-item-accordion.entry.js +11 -1
  139. package/dist/esm/solution-item-icon.entry.js +1 -1
  140. package/dist/esm/solutions-components.js +1 -1
  141. package/dist/esm/spatial-ref.entry.js +16 -1
  142. package/dist/solutions-components/demos/crowdsource-manager.html +0 -1
  143. package/dist/solutions-components/demos/crowdsource-reporter.html +2 -2
  144. package/dist/solutions-components/p-0a2e5861.entry.js +6 -0
  145. package/dist/solutions-components/{p-739ce6f3.entry.js → p-2f784608.entry.js} +1 -1
  146. package/dist/solutions-components/{p-1c2d0e90.entry.js → p-3e44cfab.entry.js} +1 -1
  147. package/dist/solutions-components/{p-841816a1.entry.js → p-41314f33.entry.js} +7 -7
  148. package/dist/solutions-components/{p-18089a0b.entry.js → p-471d5c7f.entry.js} +2 -2
  149. package/dist/solutions-components/p-5001cc41.entry.js +6 -0
  150. package/dist/solutions-components/p-561c0e02.entry.js +6 -0
  151. package/dist/solutions-components/p-56beff4c.entry.js +6 -0
  152. package/dist/solutions-components/p-592f2000.entry.js +6 -0
  153. package/dist/solutions-components/p-5cbf3eed.entry.js +6 -0
  154. package/dist/solutions-components/p-62d8796c.entry.js +17 -0
  155. package/dist/solutions-components/p-6d1922cc.entry.js +6 -0
  156. package/dist/solutions-components/p-80e81af7.entry.js +6 -0
  157. package/dist/solutions-components/{p-82ddf716.entry.js → p-8e2f4995.entry.js} +1 -1
  158. package/dist/solutions-components/{p-6502d0f8.entry.js → p-b7fbaeb7.entry.js} +1 -1
  159. package/dist/solutions-components/p-cced387c.entry.js +6 -0
  160. package/dist/solutions-components/{p-a5d79c86.entry.js → p-ce53e33d.entry.js} +2 -2
  161. package/dist/solutions-components/{p-59ccd27c.entry.js → p-d51c07d2.entry.js} +1 -1
  162. package/dist/solutions-components/p-d75cf651.entry.js +11 -0
  163. package/dist/solutions-components/p-d7afbe8d.entry.js +11 -0
  164. package/dist/solutions-components/p-e1e21798.entry.js +12 -0
  165. package/dist/solutions-components/p-e9026f9a.entry.js +6 -0
  166. package/dist/solutions-components/solutions-components.esm.js +1 -1
  167. package/dist/types/components/buffer-tools/buffer-tools.d.ts +8 -0
  168. package/dist/types/components/card-manager/card-manager.d.ts +8 -0
  169. package/dist/types/components/consent-manager/consent-manager.d.ts +8 -0
  170. package/dist/types/components/create-feature/create-feature.d.ts +8 -0
  171. package/dist/types/components/create-related-feature/create-related-feature.d.ts +8 -0
  172. package/dist/types/components/crowdsource-manager/crowdsource-manager.d.ts +4 -4
  173. package/dist/types/components/crowdsource-reporter/crowdsource-reporter.d.ts +8 -0
  174. package/dist/types/components/deduct-calculator/deduct-calculator.d.ts +1 -1
  175. package/dist/types/components/delete-button/delete-button.d.ts +9 -1
  176. package/dist/types/components/delete-dialog/delete-dialog.d.ts +8 -0
  177. package/dist/types/components/edit-card/edit-card.d.ts +8 -0
  178. package/dist/types/components/feature-details/feature-details.d.ts +4 -0
  179. package/dist/types/components/feature-list/feature-list.d.ts +8 -0
  180. package/dist/types/components/info-card/info-card.d.ts +8 -0
  181. package/dist/types/components/json-editor/json-editor.d.ts +8 -0
  182. package/dist/types/components/layer-list/layer-list.d.ts +8 -0
  183. package/dist/types/components/layer-table/layer-table.d.ts +9 -1
  184. package/dist/types/components/map-card/map-card.d.ts +8 -0
  185. package/dist/types/components/map-draw-tools/map-draw-tools.d.ts +8 -0
  186. package/dist/types/components/map-layer-picker/map-layer-picker.d.ts +8 -0
  187. package/dist/types/components/map-picker/map-picker.d.ts +8 -0
  188. package/dist/types/components/map-select-tools/map-select-tools.d.ts +4 -0
  189. package/dist/types/components/map-tools/map-tools.d.ts +8 -0
  190. package/dist/types/components/pdf-download/pdf-download.d.ts +8 -0
  191. package/dist/types/components/public-notification/public-notification.d.ts +4 -0
  192. package/dist/types/components/refine-selection/refine-selection.d.ts +4 -0
  193. package/dist/types/components/solution-configuration/solution-configuration.d.ts +8 -0
  194. package/dist/types/components/solution-item/solution-item.d.ts +8 -0
  195. package/dist/types/components/solution-item-accordion/solution-item-accordion.d.ts +8 -0
  196. package/dist/types/components/solution-item-details/solution-item-details.d.ts +8 -0
  197. package/dist/types/components/solution-item-sharing/solution-item-sharing.d.ts +8 -0
  198. package/dist/types/components/solution-organization-variables/solution-organization-variables.d.ts +8 -0
  199. package/dist/types/components/solution-resource-item/solution-resource-item.d.ts +8 -0
  200. package/dist/types/components/solution-spatial-ref/solution-spatial-ref.d.ts +8 -0
  201. package/dist/types/components/solution-template-data/solution-template-data.d.ts +8 -0
  202. package/dist/types/components/solution-variables/solution-variables.d.ts +8 -0
  203. package/dist/types/components/spatial-ref/spatial-ref.d.ts +8 -0
  204. package/dist/types/components.d.ts +266 -120
  205. package/dist/types/preact.d.ts +0 -16
  206. package/package.json +5 -5
  207. package/dist/cjs/feature-comments.cjs.entry.js +0 -61
  208. package/dist/cjs/feature-form-flow-item.cjs.entry.js +0 -61
  209. package/dist/cjs/features-flow-item.cjs.entry.js +0 -61
  210. package/dist/cjs/layout-manager.cjs.entry.js +0 -114
  211. package/dist/cjs/list-flow-item.cjs.entry.js +0 -61
  212. package/dist/cjs/location-flow-item.cjs.entry.js +0 -61
  213. package/dist/cjs/refine-results-flow-item.cjs.entry.js +0 -61
  214. package/dist/collection/assets/t9n/feature-comments/resources.json +0 -3
  215. package/dist/collection/assets/t9n/feature-comments/resources_en.json +0 -3
  216. package/dist/collection/assets/t9n/feature-form-flow-item/resources.json +0 -3
  217. package/dist/collection/assets/t9n/feature-form-flow-item/resources_en.json +0 -3
  218. package/dist/collection/assets/t9n/layout-manager/resources.json +0 -7
  219. package/dist/collection/assets/t9n/layout-manager/resources_ar.json +0 -7
  220. package/dist/collection/assets/t9n/layout-manager/resources_bg.json +0 -7
  221. package/dist/collection/assets/t9n/layout-manager/resources_bs.json +0 -7
  222. package/dist/collection/assets/t9n/layout-manager/resources_ca.json +0 -7
  223. package/dist/collection/assets/t9n/layout-manager/resources_cs.json +0 -7
  224. package/dist/collection/assets/t9n/layout-manager/resources_da.json +0 -7
  225. package/dist/collection/assets/t9n/layout-manager/resources_de.json +0 -7
  226. package/dist/collection/assets/t9n/layout-manager/resources_el.json +0 -7
  227. package/dist/collection/assets/t9n/layout-manager/resources_en.json +0 -7
  228. package/dist/collection/assets/t9n/layout-manager/resources_es.json +0 -7
  229. package/dist/collection/assets/t9n/layout-manager/resources_et.json +0 -7
  230. package/dist/collection/assets/t9n/layout-manager/resources_fi.json +0 -7
  231. package/dist/collection/assets/t9n/layout-manager/resources_fr.json +0 -7
  232. package/dist/collection/assets/t9n/layout-manager/resources_he.json +0 -7
  233. package/dist/collection/assets/t9n/layout-manager/resources_hr.json +0 -7
  234. package/dist/collection/assets/t9n/layout-manager/resources_hu.json +0 -7
  235. package/dist/collection/assets/t9n/layout-manager/resources_id.json +0 -7
  236. package/dist/collection/assets/t9n/layout-manager/resources_it.json +0 -7
  237. package/dist/collection/assets/t9n/layout-manager/resources_ja.json +0 -7
  238. package/dist/collection/assets/t9n/layout-manager/resources_ko.json +0 -7
  239. package/dist/collection/assets/t9n/layout-manager/resources_lt.json +0 -7
  240. package/dist/collection/assets/t9n/layout-manager/resources_lv.json +0 -7
  241. package/dist/collection/assets/t9n/layout-manager/resources_nb.json +0 -7
  242. package/dist/collection/assets/t9n/layout-manager/resources_nl.json +0 -7
  243. package/dist/collection/assets/t9n/layout-manager/resources_pl.json +0 -7
  244. package/dist/collection/assets/t9n/layout-manager/resources_pt-BR.json +0 -7
  245. package/dist/collection/assets/t9n/layout-manager/resources_pt-PT.json +0 -7
  246. package/dist/collection/assets/t9n/layout-manager/resources_ro.json +0 -7
  247. package/dist/collection/assets/t9n/layout-manager/resources_ru.json +0 -7
  248. package/dist/collection/assets/t9n/layout-manager/resources_sk.json +0 -7
  249. package/dist/collection/assets/t9n/layout-manager/resources_sl.json +0 -7
  250. package/dist/collection/assets/t9n/layout-manager/resources_sr.json +0 -7
  251. package/dist/collection/assets/t9n/layout-manager/resources_sv.json +0 -7
  252. package/dist/collection/assets/t9n/layout-manager/resources_th.json +0 -7
  253. package/dist/collection/assets/t9n/layout-manager/resources_tr.json +0 -7
  254. package/dist/collection/assets/t9n/layout-manager/resources_uk.json +0 -7
  255. package/dist/collection/assets/t9n/layout-manager/resources_vi.json +0 -7
  256. package/dist/collection/assets/t9n/layout-manager/resources_zh-CN.json +0 -7
  257. package/dist/collection/assets/t9n/layout-manager/resources_zh-HK.json +0 -7
  258. package/dist/collection/assets/t9n/layout-manager/resources_zh-TW.json +0 -7
  259. package/dist/collection/assets/t9n/list-flow-item/resources.json +0 -3
  260. package/dist/collection/assets/t9n/list-flow-item/resources_en.json +0 -3
  261. package/dist/collection/assets/t9n/location-flow-item/resources.json +0 -3
  262. package/dist/collection/assets/t9n/location-flow-item/resources_en.json +0 -3
  263. package/dist/collection/components/feature-comments/feature-comments.css +0 -19
  264. package/dist/collection/components/feature-comments/feature-comments.js +0 -80
  265. package/dist/collection/components/feature-form-flow-item/feature-form-flow-item.css +0 -19
  266. package/dist/collection/components/feature-form-flow-item/feature-form-flow-item.js +0 -80
  267. package/dist/collection/components/features-flow-item/features-flow-item.css +0 -19
  268. package/dist/collection/components/features-flow-item/features-flow-item.js +0 -80
  269. package/dist/collection/components/layout-manager/layout-manager.css +0 -73
  270. package/dist/collection/components/layout-manager/layout-manager.js +0 -161
  271. package/dist/collection/components/list-flow-item/list-flow-item.css +0 -19
  272. package/dist/collection/components/list-flow-item/list-flow-item.js +0 -80
  273. package/dist/collection/components/location-flow-item/location-flow-item.css +0 -19
  274. package/dist/collection/components/location-flow-item/location-flow-item.js +0 -80
  275. package/dist/collection/components/refine-results-flow-item/refine-results-flow-item.css +0 -19
  276. package/dist/collection/components/refine-results-flow-item/refine-results-flow-item.js +0 -80
  277. package/dist/components/feature-comments.d.ts +0 -11
  278. package/dist/components/feature-comments.js +0 -76
  279. package/dist/components/feature-form-flow-item.d.ts +0 -11
  280. package/dist/components/feature-form-flow-item.js +0 -76
  281. package/dist/components/features-flow-item.d.ts +0 -11
  282. package/dist/components/features-flow-item.js +0 -76
  283. package/dist/components/layout-manager.d.ts +0 -11
  284. package/dist/components/layout-manager.js +0 -159
  285. package/dist/components/list-flow-item.d.ts +0 -11
  286. package/dist/components/list-flow-item.js +0 -76
  287. package/dist/components/location-flow-item.d.ts +0 -11
  288. package/dist/components/location-flow-item.js +0 -76
  289. package/dist/components/refine-results-flow-item.d.ts +0 -11
  290. package/dist/components/refine-results-flow-item.js +0 -76
  291. package/dist/esm/feature-comments.entry.js +0 -57
  292. package/dist/esm/feature-form-flow-item.entry.js +0 -57
  293. package/dist/esm/features-flow-item.entry.js +0 -57
  294. package/dist/esm/layout-manager.entry.js +0 -110
  295. package/dist/esm/list-flow-item.entry.js +0 -57
  296. package/dist/esm/location-flow-item.entry.js +0 -57
  297. package/dist/esm/refine-results-flow-item.entry.js +0 -57
  298. package/dist/solutions-components/assets/t9n/feature-comments/resources.json +0 -3
  299. package/dist/solutions-components/assets/t9n/feature-comments/resources_en.json +0 -3
  300. package/dist/solutions-components/assets/t9n/feature-form-flow-item/resources.json +0 -3
  301. package/dist/solutions-components/assets/t9n/feature-form-flow-item/resources_en.json +0 -3
  302. package/dist/solutions-components/assets/t9n/layout-manager/resources.json +0 -7
  303. package/dist/solutions-components/assets/t9n/layout-manager/resources_ar.json +0 -7
  304. package/dist/solutions-components/assets/t9n/layout-manager/resources_bg.json +0 -7
  305. package/dist/solutions-components/assets/t9n/layout-manager/resources_bs.json +0 -7
  306. package/dist/solutions-components/assets/t9n/layout-manager/resources_ca.json +0 -7
  307. package/dist/solutions-components/assets/t9n/layout-manager/resources_cs.json +0 -7
  308. package/dist/solutions-components/assets/t9n/layout-manager/resources_da.json +0 -7
  309. package/dist/solutions-components/assets/t9n/layout-manager/resources_de.json +0 -7
  310. package/dist/solutions-components/assets/t9n/layout-manager/resources_el.json +0 -7
  311. package/dist/solutions-components/assets/t9n/layout-manager/resources_en.json +0 -7
  312. package/dist/solutions-components/assets/t9n/layout-manager/resources_es.json +0 -7
  313. package/dist/solutions-components/assets/t9n/layout-manager/resources_et.json +0 -7
  314. package/dist/solutions-components/assets/t9n/layout-manager/resources_fi.json +0 -7
  315. package/dist/solutions-components/assets/t9n/layout-manager/resources_fr.json +0 -7
  316. package/dist/solutions-components/assets/t9n/layout-manager/resources_he.json +0 -7
  317. package/dist/solutions-components/assets/t9n/layout-manager/resources_hr.json +0 -7
  318. package/dist/solutions-components/assets/t9n/layout-manager/resources_hu.json +0 -7
  319. package/dist/solutions-components/assets/t9n/layout-manager/resources_id.json +0 -7
  320. package/dist/solutions-components/assets/t9n/layout-manager/resources_it.json +0 -7
  321. package/dist/solutions-components/assets/t9n/layout-manager/resources_ja.json +0 -7
  322. package/dist/solutions-components/assets/t9n/layout-manager/resources_ko.json +0 -7
  323. package/dist/solutions-components/assets/t9n/layout-manager/resources_lt.json +0 -7
  324. package/dist/solutions-components/assets/t9n/layout-manager/resources_lv.json +0 -7
  325. package/dist/solutions-components/assets/t9n/layout-manager/resources_nb.json +0 -7
  326. package/dist/solutions-components/assets/t9n/layout-manager/resources_nl.json +0 -7
  327. package/dist/solutions-components/assets/t9n/layout-manager/resources_pl.json +0 -7
  328. package/dist/solutions-components/assets/t9n/layout-manager/resources_pt-BR.json +0 -7
  329. package/dist/solutions-components/assets/t9n/layout-manager/resources_pt-PT.json +0 -7
  330. package/dist/solutions-components/assets/t9n/layout-manager/resources_ro.json +0 -7
  331. package/dist/solutions-components/assets/t9n/layout-manager/resources_ru.json +0 -7
  332. package/dist/solutions-components/assets/t9n/layout-manager/resources_sk.json +0 -7
  333. package/dist/solutions-components/assets/t9n/layout-manager/resources_sl.json +0 -7
  334. package/dist/solutions-components/assets/t9n/layout-manager/resources_sr.json +0 -7
  335. package/dist/solutions-components/assets/t9n/layout-manager/resources_sv.json +0 -7
  336. package/dist/solutions-components/assets/t9n/layout-manager/resources_th.json +0 -7
  337. package/dist/solutions-components/assets/t9n/layout-manager/resources_tr.json +0 -7
  338. package/dist/solutions-components/assets/t9n/layout-manager/resources_uk.json +0 -7
  339. package/dist/solutions-components/assets/t9n/layout-manager/resources_vi.json +0 -7
  340. package/dist/solutions-components/assets/t9n/layout-manager/resources_zh-CN.json +0 -7
  341. package/dist/solutions-components/assets/t9n/layout-manager/resources_zh-HK.json +0 -7
  342. package/dist/solutions-components/assets/t9n/layout-manager/resources_zh-TW.json +0 -7
  343. package/dist/solutions-components/assets/t9n/list-flow-item/resources.json +0 -3
  344. package/dist/solutions-components/assets/t9n/list-flow-item/resources_en.json +0 -3
  345. package/dist/solutions-components/assets/t9n/location-flow-item/resources.json +0 -3
  346. package/dist/solutions-components/assets/t9n/location-flow-item/resources_en.json +0 -3
  347. package/dist/solutions-components/p-04ab956c.entry.js +0 -6
  348. package/dist/solutions-components/p-06364211.entry.js +0 -6
  349. package/dist/solutions-components/p-1700f63a.entry.js +0 -6
  350. package/dist/solutions-components/p-1f07e21a.entry.js +0 -6
  351. package/dist/solutions-components/p-46416e11.entry.js +0 -6
  352. package/dist/solutions-components/p-70c0050c.entry.js +0 -6
  353. package/dist/solutions-components/p-720de4db.entry.js +0 -6
  354. package/dist/solutions-components/p-74bcef23.entry.js +0 -11
  355. package/dist/solutions-components/p-76154700.entry.js +0 -6
  356. package/dist/solutions-components/p-938bc915.entry.js +0 -6
  357. package/dist/solutions-components/p-9c4fef09.entry.js +0 -17
  358. package/dist/solutions-components/p-9d56f4b5.entry.js +0 -6
  359. package/dist/solutions-components/p-9da8a590.entry.js +0 -6
  360. package/dist/solutions-components/p-aac0c89c.entry.js +0 -6
  361. package/dist/solutions-components/p-be4c7ffd.entry.js +0 -6
  362. package/dist/solutions-components/p-d2612c30.entry.js +0 -6
  363. package/dist/solutions-components/p-df7de4b7.entry.js +0 -12
  364. package/dist/solutions-components/p-e345f9c4.entry.js +0 -6
  365. package/dist/solutions-components/p-eadff42b.entry.js +0 -11
  366. package/dist/solutions-components/p-fa1c368c.entry.js +0 -6
  367. package/dist/solutions-components/p-ff3858c6.entry.js +0 -6
  368. package/dist/types/components/feature-comments/feature-comments.d.ts +0 -19
  369. package/dist/types/components/feature-form-flow-item/feature-form-flow-item.d.ts +0 -19
  370. package/dist/types/components/features-flow-item/features-flow-item.d.ts +0 -19
  371. package/dist/types/components/layout-manager/layout-manager.d.ts +0 -69
  372. package/dist/types/components/list-flow-item/list-flow-item.d.ts +0 -19
  373. package/dist/types/components/location-flow-item/location-flow-item.d.ts +0 -19
  374. package/dist/types/components/refine-results-flow-item/refine-results-flow-item.d.ts +0 -19
@@ -21063,6 +21063,19 @@ const SpatialRefStyle0 = spatialRefCss;
21063
21063
 
21064
21064
  const SpatialRef = class {
21065
21065
  get el() { return index.getElement(this); }
21066
+ //--------------------------------------------------------------------------
21067
+ //
21068
+ // Watch handlers
21069
+ //
21070
+ //--------------------------------------------------------------------------
21071
+ /**
21072
+ * Fetch translations when the locale is updated
21073
+ */
21074
+ async localeWatchHandler() {
21075
+ // to support url param and language switcher
21076
+ this.el.lang = this.locale;
21077
+ await this._getTranslations();
21078
+ }
21066
21079
  valueChanged(newValue) {
21067
21080
  this._spatialRef = this._createSpatialRefDisplay(newValue);
21068
21081
  const searchBox = document.getElementById("calcite-sr-search");
@@ -21088,6 +21101,7 @@ const SpatialRef = class {
21088
21101
  this.spatialReferenceChange = index.createEvent(this, "spatialReferenceChange", 7);
21089
21102
  this.defaultWkid = 102100;
21090
21103
  this.disabled = false;
21104
+ this.locale = undefined;
21091
21105
  this.value = this.defaultWkid.toString();
21092
21106
  this._cachedValue = this.defaultWkid.toString();
21093
21107
  this._spatialRef = undefined;
@@ -21105,7 +21119,7 @@ const SpatialRef = class {
21105
21119
  * Renders the component.
21106
21120
  */
21107
21121
  render() {
21108
- return (index.h(index.Host, { key: '1da00c18c49d769c98e236f73e648dd880df6e2a' }, index.h("div", { key: '61da287f6865c90a1b4b523cb13d689247255573' }, index.h("calcite-input", { key: 'e129b4a009fa12f9aff37384debe673dbed31774', disabled: this.disabled, id: "calcite-sr-search", onKeyUp: (evt) => this._searchInputKeyDown(evt), placeholder: this._translations.spatialReferencePlaceholder }), index.h("calcite-tree", { key: '125c006a62fda7fd1204c81374c119b562424e26', id: "calcite-sr-tree", slot: "children" }, this._getTreeContent()))));
21122
+ return (index.h(index.Host, { key: '348d114f0c8c9571b4beff34a946a09b734083f9' }, index.h("div", { key: '2f6bb626834a50690fd523744a4c2adeddfb0f9f' }, index.h("calcite-input", { key: '4b3d9354f1c1983c49360eb9f3a0a921288f50c2', disabled: this.disabled, id: "calcite-sr-search", onKeyUp: (evt) => this._searchInputKeyDown(evt), placeholder: this._translations.spatialReferencePlaceholder }), index.h("calcite-tree", { key: '883819c424636a79957d375f0d613d32827e5ebe', id: "calcite-sr-tree", slot: "children" }, this._getTreeContent()))));
21109
21123
  }
21110
21124
  _lastHighlightedSref;
21111
21125
  //--------------------------------------------------------------------------
@@ -21303,6 +21317,7 @@ const SpatialRef = class {
21303
21317
  this._translations = translations[0];
21304
21318
  }
21305
21319
  static get watchers() { return {
21320
+ "locale": ["localeWatchHandler"],
21306
21321
  "value": ["valueChanged"]
21307
21322
  }; }
21308
21323
  };
@@ -14,18 +14,12 @@
14
14
  "components/delete-button/delete-button.js",
15
15
  "components/delete-dialog/delete-dialog.js",
16
16
  "components/edit-card/edit-card.js",
17
- "components/feature-comments/feature-comments.js",
18
17
  "components/feature-details/feature-details.js",
19
- "components/feature-form-flow-item/feature-form-flow-item.js",
20
18
  "components/feature-list/feature-list.js",
21
- "components/features-flow-item/features-flow-item.js",
22
19
  "components/floor-filter/floor-filter.js",
23
20
  "components/info-card/info-card.js",
24
21
  "components/json-editor/json-editor.js",
25
22
  "components/layer-table/layer-table.js",
26
- "components/layout-manager/layout-manager.js",
27
- "components/list-flow-item/list-flow-item.js",
28
- "components/location-flow-item/location-flow-item.js",
29
23
  "components/map-card/map-card.js",
30
24
  "components/map-draw-tools/map-draw-tools.js",
31
25
  "components/map-fullscreen/map-fullscreen.js",
@@ -38,7 +32,6 @@
38
32
  "components/pci-calculator/pci-calculator.js",
39
33
  "components/pdf-download/pdf-download.js",
40
34
  "components/public-notification/public-notification.js",
41
- "components/refine-results-flow-item/refine-results-flow-item.js",
42
35
  "components/refine-selection/refine-selection.js",
43
36
  "components/share-item/share-item.js",
44
37
  "components/solution-configuration/solution-configuration.js",
@@ -26,6 +26,7 @@ export class BufferTools {
26
26
  this.appearance = "text";
27
27
  this.distance = 0;
28
28
  this.geometries = [];
29
+ this.locale = undefined;
29
30
  this.max = undefined;
30
31
  this.min = 0;
31
32
  this.sliderTicks = 10;
@@ -77,6 +78,14 @@ export class BufferTools {
77
78
  disabledWatchHandler() {
78
79
  this._buffer();
79
80
  }
81
+ /**
82
+ * Fetch translations when the locale is updated
83
+ */
84
+ async localeWatchHandler() {
85
+ // to support url param and language switcher
86
+ this.el.lang = this.locale;
87
+ await this._getTranslations();
88
+ }
80
89
  //--------------------------------------------------------------------------
81
90
  //
82
91
  // Methods (public)
@@ -128,7 +137,7 @@ export class BufferTools {
128
137
  * Renders the component.
129
138
  */
130
139
  render() {
131
- return (h(Host, { key: 'fe60961aabf178fd32c4c85e8d52b9bc61a349d0' }, this.appearance === "text" ? this._getTextBoxDisplay() : this._getSliderDisplay()));
140
+ return (h(Host, { key: '4fbfb01938d285a2b022834f712013cea10945f9' }, this.appearance === "text" ? this._getTextBoxDisplay() : this._getSliderDisplay()));
132
141
  }
133
142
  //--------------------------------------------------------------------------
134
143
  //
@@ -362,6 +371,23 @@ export class BufferTools {
362
371
  },
363
372
  "defaultValue": "[]"
364
373
  },
374
+ "locale": {
375
+ "type": "string",
376
+ "mutable": false,
377
+ "complexType": {
378
+ "original": "string",
379
+ "resolved": "string",
380
+ "references": {}
381
+ },
382
+ "required": false,
383
+ "optional": false,
384
+ "docs": {
385
+ "tags": [],
386
+ "text": "string: Locale to use for translation of stings in the UI"
387
+ },
388
+ "attribute": "locale",
389
+ "reflect": false
390
+ },
365
391
  "max": {
366
392
  "type": "number",
367
393
  "mutable": true,
@@ -583,6 +609,9 @@ export class BufferTools {
583
609
  }, {
584
610
  "propName": "disabled",
585
611
  "methodName": "disabledWatchHandler"
612
+ }, {
613
+ "propName": "locale",
614
+ "methodName": "localeWatchHandler"
586
615
  }];
587
616
  }
588
617
  }
@@ -28,6 +28,7 @@ export class CardManager {
28
28
  this.enableEditGeometry = false;
29
29
  this.isMobile = undefined;
30
30
  this.layer = undefined;
31
+ this.locale = undefined;
31
32
  this.mapView = undefined;
32
33
  this.zoomAndScrollToSelected = undefined;
33
34
  this.selectedFeaturesIds = undefined;
@@ -63,6 +64,14 @@ export class CardManager {
63
64
  // Watch handlers
64
65
  //
65
66
  //--------------------------------------------------------------------------
67
+ /**
68
+ * Fetch translations when the locale is updated
69
+ */
70
+ async localeWatchHandler() {
71
+ // to support url param and language switcher
72
+ this.el.lang = this.locale;
73
+ await this._getTranslations();
74
+ }
66
75
  //--------------------------------------------------------------------------
67
76
  //
68
77
  // Methods (public)
@@ -132,14 +141,14 @@ export class CardManager {
132
141
  const heading = isTable ? this._translations.createRecord : this._translations.createFeature;
133
142
  const guideMsg = this.customInfoText ? this.customInfoText : this.selectingFeatureFromMap ? this._translations.selectFeaturesFromMapToStart : this._translations.selectFeaturesToStart;
134
143
  const showCreateFeatureOrRecordBtn = this.enableCreateFeatures && this.layer?.capabilities?.operations?.supportsAdd;
135
- return (h(Host, { key: '7360aa9c48dd0c3e4a14fe0833b99c301388f93c' }, h("div", { key: '9d610f0c4728c238eceb790e97a4e06b77f1a2d1', class: "overflow-auto height-full" }, h("calcite-shell", { key: '4b6a02205a971c7ff61aab567b2f2a3c5d288f8d', class: "position-relative " + featuresClass }, h("div", { key: '96ee8ce138265dd4b562ac0a33b79a0db4497842', class: "position-static z-index-500" }, h("info-card", { key: '7db359bc1016281fd01b737dc5c424fe78995422', enableEditGeometry: this.enableEditGeometry, graphics: this._graphics, isLoading: this._cardLoading, isMobile: this.isMobile, mapView: this.mapView }))), h("calcite-shell", { key: 'afc8d06e9aa3213a9ca10c929497ed4618a28e91', class: "position-relative " + messageClass }, h("calcite-flow-item", { key: '46db92a6e259eefea3293310e3e2f43d7639db97' }, h("calcite-panel", { key: 'd2bc23ae7bcf2b7b7b48a35efc0697e0d1f9e23e' }, h("div", { key: '8f7fd13f9ec99beec1d7231dda03eba403a70a69', class: "padding-1" }, h("calcite-notice", { key: '2fbe94292c1dd91ee1691b8e3d295225ff5b534b', icon: this.selectingFeatureFromMap ? "map" : "table", iconFlipRtl: true, open: true }, h("div", { key: '9f91099e4bfa0675c5b098a73b2f132b80ee76b0', slot: "message" }, guideMsg))), !this.isMobile && showCreateFeatureOrRecordBtn && h("calcite-button", { key: 'c1b04e776f3750712992d736e09726cc26eae5db', disabled: !this.layer, onClick: () => this._createFeatureBtnClicked(), slot: "footer", width: "full" }, isTable ? this._translations.createRecord : this._translations.createFeature)))), h("calcite-shell", { key: 'a71d4b0abd1ec1a4ed14a2cb3dcb10a075f54bf0', class: "position-relative " + createFeatureClass }, h("calcite-flow-item", { key: '85047b527f5995a912b527325f287c3596caf630' }, h("calcite-panel", { key: 'd335be81502e0feb803ee9ad4e501d4c85f184f5', heading: heading }, h("calcite-action", { key: 'b179c3185dbada3bd052d38b98b75cf29240655c', class: "back-button hydrated", icon: "chevron-left", onClick: this._backFromCreateFeature.bind(this), scale: "s", slot: "header-actions-start", text: "" }), this.getEditorComponent(), this._showSubmitBtn && h("calcite-button", { key: 'f3b6655e3effdb6b09e64acd651a09d6028a6df9', appearance: "solid", class: "footer-top-button footer-button", onClick: () => void this._createFeature.submit(), slot: "footer", width: "full" }, this._translations.create)))))));
144
+ return (h(Host, { key: '1dc448368b85b83ccc2f76f59cff83559d1d1285' }, h("div", { key: '7c058f7a4ca2db84f0ad35efba90a1485e5c7989', class: "overflow-auto height-full" }, h("calcite-shell", { key: '1388666d3d11efee37efc1524011594237cccc35', class: "position-relative " + featuresClass }, h("div", { key: '3f93c4de344e49eec16e447bc1ca44cb280f84cc', class: "position-static z-index-500" }, h("info-card", { key: 'c5b8cafef2595b8ae85725d583caebf9754ce1fb', enableEditGeometry: this.enableEditGeometry, graphics: this._graphics, isLoading: this._cardLoading, isMobile: this.isMobile, locale: this.locale, mapView: this.mapView }))), h("calcite-shell", { key: 'bfa2f41e657f390335545f46ab744d4d980c3926', class: "position-relative " + messageClass }, h("calcite-flow-item", { key: 'bf19ce4b69b52c5652629f38859e03a0a99f8374' }, h("calcite-panel", { key: '1ea46998a73ad636ad2a956e72181a0570edd5d0' }, h("div", { key: 'd853f429c30daa5abcfe6576b7242fa48251ae53', class: "padding-1" }, h("calcite-notice", { key: 'dffa52ec3fa7a22494b6dadd7b1c6d512e25c192', icon: this.selectingFeatureFromMap ? "map" : "table", iconFlipRtl: true, open: true }, h("div", { key: '728b56c9281dfe09d1604882635a53803c5f4253', slot: "message" }, guideMsg))), !this.isMobile && showCreateFeatureOrRecordBtn && h("calcite-button", { key: '260042d84c529d5508630bca7bdb39db1c2408cb', disabled: !this.layer, onClick: () => this._createFeatureBtnClicked(), slot: "footer", width: "full" }, isTable ? this._translations.createRecord : this._translations.createFeature)))), h("calcite-shell", { key: 'c30cbc2dc6e70319440bf9ed7c3d7f7ede38c3a1', class: "position-relative " + createFeatureClass }, h("calcite-flow-item", { key: '901c5a407a8418c34ee72c4dd4b16443c3766819' }, h("calcite-panel", { key: 'a6faf502cd08060a42582cbd95d7354b1e192a43', heading: heading }, h("calcite-action", { key: '23e9c295f7476f935055c30227774e173315194d', class: "back-button hydrated", icon: "chevron-left", onClick: this._backFromCreateFeature.bind(this), scale: "s", slot: "header-actions-start", text: "" }), this.getEditorComponent(), this._showSubmitBtn && h("calcite-button", { key: '3ee5c310e5fad8aa5d6abd8ae1347c46d3ada1be', appearance: "solid", class: "footer-top-button footer-button", onClick: () => void this._createFeature.submit(), slot: "footer", width: "full" }, this._translations.create)))))));
136
145
  }
137
146
  /**
138
147
  * Returns the editor component for adding feature
139
148
  * @returns Node
140
149
  */
141
150
  getEditorComponent() {
142
- return (h("div", null, this._showCreateFeatureComponent && h("create-feature", { customizeSubmit: true, mapView: this.mapView, onDrawComplete: () => { this._showSubmitBtn = true; }, onEditingAttachment: (evt) => { this._showSubmitBtn = !evt.detail; }, onProgressStatus: () => {
151
+ return (h("div", null, this._showCreateFeatureComponent && h("create-feature", { customizeSubmit: true, locale: this.locale, mapView: this.mapView, onDrawComplete: () => { this._showSubmitBtn = true; }, onEditingAttachment: (evt) => { this._showSubmitBtn = !evt.detail; }, onProgressStatus: () => {
143
152
  setTimeout(() => {
144
153
  this._isFeatureCreated = false;
145
154
  }, 2000);
@@ -289,6 +298,23 @@ export class CardManager {
289
298
  "text": "esri/views/layers/FeatureLayer: https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html"
290
299
  }
291
300
  },
301
+ "locale": {
302
+ "type": "string",
303
+ "mutable": false,
304
+ "complexType": {
305
+ "original": "string",
306
+ "resolved": "string",
307
+ "references": {}
308
+ },
309
+ "required": false,
310
+ "optional": false,
311
+ "docs": {
312
+ "tags": [],
313
+ "text": "string: Locale to use for translation of stings in the UI"
314
+ },
315
+ "attribute": "locale",
316
+ "reflect": false
317
+ },
292
318
  "mapView": {
293
319
  "type": "unknown",
294
320
  "mutable": false,
@@ -436,6 +462,12 @@ export class CardManager {
436
462
  }];
437
463
  }
438
464
  static get elementRef() { return "el"; }
465
+ static get watchers() {
466
+ return [{
467
+ "propName": "locale",
468
+ "methodName": "localeWatchHandler"
469
+ }];
470
+ }
439
471
  static get listeners() {
440
472
  return [{
441
473
  "name": "featureSelectionChange",
@@ -25,6 +25,7 @@ import { GoogleAnalytics } from "@esri/telemetry-google-analytics";
25
25
  export class ConsentManager {
26
26
  constructor() {
27
27
  this.firstUseVar = undefined;
28
+ this.locale = undefined;
28
29
  this.measurementIds = undefined;
29
30
  this.portal = undefined;
30
31
  this._shouldRender = undefined;
@@ -59,6 +60,14 @@ export class ConsentManager {
59
60
  // Watch handlers
60
61
  //
61
62
  //--------------------------------------------------------------------------
63
+ /**
64
+ * Fetch translations when the locale is updated
65
+ */
66
+ async localeWatchHandler() {
67
+ // to support url param and language switcher
68
+ this.el.lang = this.locale;
69
+ await this._getTranslations();
70
+ }
62
71
  //--------------------------------------------------------------------------
63
72
  //
64
73
  // Methods (public)
@@ -211,6 +220,23 @@ export class ConsentManager {
211
220
  "attribute": "first-use-var",
212
221
  "reflect": false
213
222
  },
223
+ "locale": {
224
+ "type": "string",
225
+ "mutable": false,
226
+ "complexType": {
227
+ "original": "string",
228
+ "resolved": "string",
229
+ "references": {}
230
+ },
231
+ "required": false,
232
+ "optional": false,
233
+ "docs": {
234
+ "tags": [],
235
+ "text": "string: Locale to use for translation of stings in the UI"
236
+ },
237
+ "attribute": "locale",
238
+ "reflect": false
239
+ },
214
240
  "measurementIds": {
215
241
  "type": "unknown",
216
242
  "mutable": false,
@@ -304,4 +330,10 @@ export class ConsentManager {
304
330
  };
305
331
  }
306
332
  static get elementRef() { return "el"; }
333
+ static get watchers() {
334
+ return [{
335
+ "propName": "locale",
336
+ "methodName": "localeWatchHandler"
337
+ }];
338
+ }
307
339
  }
@@ -27,6 +27,7 @@ export class CreateFeature {
27
27
  this.mapView = undefined;
28
28
  this.selectedLayerId = undefined;
29
29
  this.customizeSubmit = false;
30
+ this.locale = undefined;
30
31
  this.searchConfiguration = undefined;
31
32
  this.isMobile = undefined;
32
33
  this.floorLevel = undefined;
@@ -135,6 +136,14 @@ export class CreateFeature {
135
136
  // Watch handlers
136
137
  //
137
138
  //--------------------------------------------------------------------------
139
+ /**
140
+ * Fetch translations when the locale is updated
141
+ */
142
+ async localeWatchHandler() {
143
+ // to support url param and language switcher
144
+ this.el.lang = this.locale;
145
+ await this._getTranslations();
146
+ }
138
147
  /**
139
148
  * Called each time the mapView prop is changed.
140
149
  */
@@ -281,8 +290,8 @@ export class CreateFeature {
281
290
  else if (this._currentPage === 'featureForm') {
282
291
  guidingMsg = this._translations.provideDetailsMsg;
283
292
  }
284
- return (h(Fragment, { key: '89634bf5707ea8390416d3087bfbe4e747bafcd7' }, showGuidingMsg && h("calcite-notice", { key: '4269224c2904f29060081f6cb8f383f1cf8d741d', class: "notice-msg", icon: "lightbulb", kind: "success", open: true, ref: el => this._calciteNotice = el }, h("div", { key: 'ecc3cca85c81d1cb7ab7cdc89b99e31afcb55f76', slot: "message" }, guidingMsg)), h("calcite-loader", { key: '34e492c0c469b39d4cfbcda17c4ba196ccb39eb8', class: loaderClass, label: "", scale: "s" }), h("div", { key: 'b2073ef4b6124b54038de34798cdf83337626023', class: featureFormClass, id: "feature-form" }), this.enableSearch &&
285
- h("div", { key: 'cd13e98b6a40d5d89d271b5785f797e9bfc19900', class: `search-widget ${showSearchWidget} ${featureFormClass}`, id: "search-widget-ref", ref: el => this._searchDiv = el }), h("div", { key: '2575b2d20f7713b05a2024e77452af93eb64e147', class: `${mobileMapClass}`, ref: (el) => { this._mapViewContainer = el; } })));
293
+ return (h(Fragment, { key: '788b2ebb85b603452d4b4de05711510f7480c895' }, showGuidingMsg && h("calcite-notice", { key: 'cf41e701f5a7605531fa6351acf13ea20e219f7a', class: "notice-msg", icon: "lightbulb", kind: "success", open: true, ref: el => this._calciteNotice = el }, h("div", { key: '1bb493a8e5a962c8a8c75ac37156edbf866c3916', slot: "message" }, guidingMsg)), h("calcite-loader", { key: '5d2e9a465cb7c6dbde8d941497fda87b4fc7c258', class: loaderClass, label: "", scale: "s" }), h("div", { key: '23b8651f4040443ba731173d1818b515b718b754', class: featureFormClass, id: "feature-form" }), this.enableSearch &&
294
+ h("div", { key: '7f628d09111295d46fbf7b9605999c2ef88c258d', class: `search-widget ${showSearchWidget} ${featureFormClass}`, id: "search-widget-ref", ref: el => this._searchDiv = el }), h("div", { key: '3def9aaab0a2f03076a6c4c645cf5a080bbb9e75', class: `${mobileMapClass}`, ref: (el) => { this._mapViewContainer = el; } })));
286
295
  }
287
296
  //--------------------------------------------------------------------------
288
297
  //
@@ -754,6 +763,23 @@ export class CreateFeature {
754
763
  "reflect": false,
755
764
  "defaultValue": "false"
756
765
  },
766
+ "locale": {
767
+ "type": "string",
768
+ "mutable": false,
769
+ "complexType": {
770
+ "original": "string",
771
+ "resolved": "string",
772
+ "references": {}
773
+ },
774
+ "required": false,
775
+ "optional": false,
776
+ "docs": {
777
+ "tags": [],
778
+ "text": "string: Locale to use for translation of stings in the UI"
779
+ },
780
+ "attribute": "locale",
781
+ "reflect": false
782
+ },
757
783
  "searchConfiguration": {
758
784
  "type": "unknown",
759
785
  "mutable": false,
@@ -1038,6 +1064,9 @@ export class CreateFeature {
1038
1064
  static get elementRef() { return "el"; }
1039
1065
  static get watchers() {
1040
1066
  return [{
1067
+ "propName": "locale",
1068
+ "methodName": "localeWatchHandler"
1069
+ }, {
1041
1070
  "propName": "mapView",
1042
1071
  "methodName": "mapViewWatchHandler"
1043
1072
  }, {
@@ -23,6 +23,7 @@ import { loadModules } from "../../utils/loadModules";
23
23
  import { getLocaleComponentStrings } from "../../utils/locale";
24
24
  export class CreateRelatedFeature {
25
25
  constructor() {
26
+ this.locale = undefined;
26
27
  this.mapView = undefined;
27
28
  this.table = undefined;
28
29
  this.selectedFeature = undefined;
@@ -73,6 +74,14 @@ export class CreateRelatedFeature {
73
74
  // Watch handlers
74
75
  //
75
76
  //--------------------------------------------------------------------------
77
+ /**
78
+ * Fetch translations when the locale is updated
79
+ */
80
+ async localeWatchHandler() {
81
+ // to support url param and language switcher
82
+ this.el.lang = this.locale;
83
+ await this._getTranslations();
84
+ }
76
85
  /**
77
86
  * Called each time the mapView prop is changed.
78
87
  */
@@ -163,7 +172,7 @@ export class CreateRelatedFeature {
163
172
  }
164
173
  render() {
165
174
  const loaderClass = this._editorLoading ? "" : "display-none";
166
- return (h(Fragment, { key: '641b4f6f51bce04b6263a1d7dc72a31839df970d' }, this.showGuidingMsg && h("calcite-notice", { key: '1a6e577bcc0632a7bc69dd411a692062a7ad176e', class: "notice-msg", icon: "lightbulb", kind: "success", open: true }, h("div", { key: '55c5836314fcca69a259be3a36e34c527edcabf3', slot: "message" }, this._translations.provideDetailsMsg)), h("calcite-loader", { key: '18c5603a4a75c67a160a71caa15e94790f66d60b', class: loaderClass, label: "", scale: "s" })));
175
+ return (h(Fragment, { key: '48fffd1e9dd429d339d9a72e35f5c31561fc076f' }, this.showGuidingMsg && h("calcite-notice", { key: '9a6f700c135bb7593e4338981a30531e3d9fba8a', class: "notice-msg", icon: "lightbulb", kind: "success", open: true }, h("div", { key: '7044e923a9fab833a7a6fe0bb97fa688d7e6eecc', slot: "message" }, this._translations.provideDetailsMsg)), h("calcite-loader", { key: '15599ae77e451d220689c13098a31c5788714306', class: loaderClass, label: "", scale: "s" })));
167
176
  }
168
177
  /**
169
178
  * StencilJS: Called once just after the component is fully loaded and the first render() occurs.
@@ -362,6 +371,23 @@ export class CreateRelatedFeature {
362
371
  }
363
372
  static get properties() {
364
373
  return {
374
+ "locale": {
375
+ "type": "string",
376
+ "mutable": false,
377
+ "complexType": {
378
+ "original": "string",
379
+ "resolved": "string",
380
+ "references": {}
381
+ },
382
+ "required": false,
383
+ "optional": false,
384
+ "docs": {
385
+ "tags": [],
386
+ "text": "string: Locale to use for translation of stings in the UI"
387
+ },
388
+ "attribute": "locale",
389
+ "reflect": false
390
+ },
365
391
  "mapView": {
366
392
  "type": "unknown",
367
393
  "mutable": false,
@@ -558,6 +584,9 @@ export class CreateRelatedFeature {
558
584
  static get elementRef() { return "el"; }
559
585
  static get watchers() {
560
586
  return [{
587
+ "propName": "locale",
588
+ "methodName": "localeWatchHandler"
589
+ }, {
561
590
  "propName": "mapView",
562
591
  "methodName": "mapViewWatchHandler"
563
592
  }, {
@@ -48,7 +48,7 @@ export class CrowdsourceManager {
48
48
  this.enableSearch = true;
49
49
  this.enableShare = false;
50
50
  this.enableZoom = true;
51
- this.hideMapOnLoad = false;
51
+ this.locale = undefined;
52
52
  this.mapInfos = [];
53
53
  this.onlyShowUpdatableLayers = true;
54
54
  this.popupHeaderColor = undefined;
@@ -165,10 +165,12 @@ export class CrowdsourceManager {
165
165
  this._initMapZoom();
166
166
  }
167
167
  /**
168
- * When true and no appLayout is defined the map will be hidden on load
168
+ * Fetch translations when the locale is updated
169
169
  */
170
- hideMapOnLoadWatchHandler() {
171
- console.warn("hideMapOnLoad will be removed. Please use appLayout to control layout options.");
170
+ async localeWatchHandler() {
171
+ // to support url param and language switcher
172
+ this.el.lang = this.locale;
173
+ await this._getTranslations();
172
174
  }
173
175
  //--------------------------------------------------------------------------
174
176
  //
@@ -259,7 +261,7 @@ export class CrowdsourceManager {
259
261
  render() {
260
262
  // only avoid border when we have a header color that is not white
261
263
  const borderClass = this.popupHeaderColor && this.popupHeaderColor !== "#FFFFFF" ? "border-width-0" : "";
262
- return (h(Host, { key: '371cd0aa659657a8f20666356a1eebe72f145a25' }, h("calcite-shell", { key: '8a040e66961a614fdc8324f2c991b03b5f938154', class: "position-relative" }, h("calcite-panel", { key: '82037c9739af7cf2c7edefeb732736f3e3e18da8', class: `width-full height-full ${borderClass}`, loading: this._isLoading }, this._getBody(this._layoutMode, this._panelOpen, this._hideTable)), this._getFooter()), this._filterModal()));
264
+ return (h(Host, { key: '8fd887051b4437477f1413843dfc6d938304364a' }, h("calcite-shell", { key: 'a9989a1698b268db75cdbcadcd3956d944daa25c', class: "position-relative" }, h("calcite-panel", { key: '88c5631e21b5ccb6a958e016c274e3aa746a6af1', class: `width-full height-full ${borderClass}`, loading: this._isLoading }, this._getBody(this._layoutMode, this._panelOpen, this._hideTable)), this._getFooter()), this._filterModal()));
263
265
  }
264
266
  /**
265
267
  * Called after each render
@@ -282,9 +284,6 @@ export class CrowdsourceManager {
282
284
  this._defaultAppLayoutHonored = true;
283
285
  this.appLayout = this.defaultAppLayout;
284
286
  }
285
- else if (this.hideMapOnLoad && !this.appLayout) {
286
- this.appLayout = 'tableView';
287
- }
288
287
  else if (!this.appLayout) {
289
288
  this.appLayout = 'splitView';
290
289
  }
@@ -305,7 +304,7 @@ export class CrowdsourceManager {
305
304
  _getFooter() {
306
305
  const hasSelectedFeatures = this._numSelected > 0;
307
306
  const deleteEnabled = this._layer?.editingEnabled && this._layer?.capabilities?.operations?.supportsDelete;
308
- return this._isPortraitMobile && hasSelectedFeatures && !this._hideFooter ? (h("div", { class: `width-100`, slot: "footer" }, h("div", { class: "display-flex padding-1-2" }, h("calcite-button", { appearance: "solid", id: "solutions-show", onClick: () => this.showHideMapPopupAndTable(true), width: "full" }, this._translations.view.replace("{{n}}", this._numSelected.toString())), deleteEnabled ? (h("delete-button", { class: "padding-inline-start-1 width-full", id: "solutions-delete", ids: this._layerTable.selectedIds, layer: this._layer })) : undefined))) : undefined;
307
+ return this._isPortraitMobile && hasSelectedFeatures && !this._hideFooter ? (h("div", { class: `width-100`, slot: "footer" }, h("div", { class: "display-flex padding-1-2" }, h("calcite-button", { appearance: "solid", id: "solutions-show", onClick: () => this.showHideMapPopupAndTable(true), width: "full" }, this._translations.view.replace("{{n}}", this._numSelected.toString())), deleteEnabled ? (h("delete-button", { class: "padding-inline-start-1 width-full", id: "solutions-delete", ids: this._layerTable.selectedIds, layer: this._layer, locale: this.locale })) : undefined))) : undefined;
309
308
  }
310
309
  /**
311
310
  * sets the active layout to render
@@ -458,7 +457,7 @@ export class CrowdsourceManager {
458
457
  const isTableLayout = this.appLayout === 'tableView';
459
458
  const mapContainerClass = (isMapLayout || isTableLayout) ? "position-absolute-0" : this._layoutMode === ELayoutMode.HORIZONTAL && (!this._isPortraitMobile || panelOpen) ? "" : "adjusted-height-50";
460
459
  const hasMapAndLayer = this.defaultWebmap && this.defaultLayer;
461
- return (h("div", { class: `${mapContainerClass} overflow-hidden`, id: "card-mapView" }, h("map-card", { appLayout: this.appLayout, appProxies: this.appProxies, basemapConfig: this.basemapConfig, class: "width-full", defaultLayerId: hasMapAndLayer ? this.defaultLayer : "", defaultWebmapId: this.defaultWebmap, enableBasemap: this.enableBasemap, enableFloorFilter: this.enableFloorFilter, enableFullscreen: this.enableFullscreen, enableHome: this.enableHome, enableLegend: this.enableLegend, enableSearch: this.enableSearch, enableShare: this.enableShare, enableSingleExpand: true, hidden: !this._isPortraitMobile && isTableLayout, homeZoomIndex: 3, homeZoomPosition: "top-left", homeZoomToolsSize: "s", isMapLayout: isMapLayout, isMobile: this._isMobile, mapInfo: this._mapInfo, mapInfos: this.mapInfos?.filter(mapInfo => mapInfo.visible !== false), mapWidgetsIndex: 0, mapWidgetsPosition: "top-right", mapWidgetsSize: "m", onToggleFilter: this._toggleFilter.bind(this), onlyShowUpdatableLayers: this.onlyShowUpdatableLayers, ref: (el) => this._mapCard = el, selectedFeaturesIds: this._layerTable?.selectedIds, selectedLayer: this._layer, shareIncludeEmbed: this.shareIncludeEmbed, shareIncludeSocial: this.shareIncludeSocial, stackTools: true, theme: this.theme, toolOrder: ["legend", "search", "fullscreen", "basemap", "floorfilter"], zoomToScale: this.zoomToScale })));
460
+ return (h("div", { class: `${mapContainerClass} overflow-hidden`, id: "card-mapView" }, h("map-card", { appLayout: this.appLayout, appProxies: this.appProxies, basemapConfig: this.basemapConfig, class: "width-full", defaultLayerId: hasMapAndLayer ? this.defaultLayer : "", defaultWebmapId: this.defaultWebmap, enableBasemap: this.enableBasemap, enableFloorFilter: this.enableFloorFilter, enableFullscreen: this.enableFullscreen, enableHome: this.enableHome, enableLegend: this.enableLegend, enableSearch: this.enableSearch, enableShare: this.enableShare, enableSingleExpand: true, hidden: !this._isPortraitMobile && isTableLayout, homeZoomIndex: 3, homeZoomPosition: "top-left", homeZoomToolsSize: "s", isMapLayout: isMapLayout, isMobile: this._isMobile, locale: this.locale, mapInfo: this._mapInfo, mapInfos: this.mapInfos?.filter(mapInfo => mapInfo.visible !== false), mapWidgetsIndex: 0, mapWidgetsPosition: "top-right", mapWidgetsSize: "m", onToggleFilter: this._toggleFilter.bind(this), onlyShowUpdatableLayers: this.onlyShowUpdatableLayers, ref: (el) => this._mapCard = el, selectedFeaturesIds: this._layerTable?.selectedIds, selectedLayer: this._layer, shareIncludeEmbed: this.shareIncludeEmbed, shareIncludeSocial: this.shareIncludeSocial, stackTools: true, theme: this.theme, toolOrder: ["legend", "search", "fullscreen", "basemap", "floorfilter"], zoomToScale: this.zoomToScale })));
462
461
  }
463
462
  /**
464
463
  * Get the expand node for the popup information
@@ -491,7 +490,7 @@ export class CrowdsourceManager {
491
490
  const isTableLayout = this.appLayout === 'tableView';
492
491
  const cardManagerHeight = isTableLayout && this.mapInfos?.length > 1 ? "adjusted-height-100-51" : isMapLayout || isTableLayout ? "height-full" : (this._numSelected > 0 && !this._isMobile) ? "height-50" : !this._showInformationHeader ? "adjusted-height-50_25" : !this._isPortraitMobile ? "height-50" : "height-full";
493
492
  const themeClass = this.theme === "dark" ? "calcite-mode-dark" : "calcite-mode-light";
494
- return (h("div", { class: `width-50 height-full ${themeClass}` }, h("card-manager", { class: `${cardManagerHeight} width-full`, customInfoText: this.customInfoText, enableCreateFeatures: this._enableCreateFeatures && !this._isMobile, enableEditGeometry: this?._mapInfo?.enableEditGeometry, isMobile: this._isPortraitMobile, layer: this._layer, mapView: this?._mapView, onBackFromCreateWorkFlow: () => {
493
+ return (h("div", { class: `width-50 height-full ${themeClass}` }, h("card-manager", { class: `${cardManagerHeight} width-full`, customInfoText: this.customInfoText, enableCreateFeatures: this._enableCreateFeatures && !this._isMobile, enableEditGeometry: this?._mapInfo?.enableEditGeometry, isMobile: this._isPortraitMobile, layer: this._layer, locale: this.locale, mapView: this?._mapView, onBackFromCreateWorkFlow: () => {
495
494
  this._showInformationHeader = true;
496
495
  }, onCreateWorkFlowStarted: () => {
497
496
  this.appLayout = this._layer.isTable ? "tableView" : "mapView";
@@ -520,7 +519,7 @@ export class CrowdsourceManager {
520
519
  this.defaultGlobalId?.indexOf(",") > -1 ? this.defaultGlobalId.split(",") : [this.defaultGlobalId];
521
520
  const defaultOid = !this.defaultOid ? undefined :
522
521
  this.defaultOid?.indexOf(",") > -1 ? this.defaultOid.split(",").map(o => parseInt(o, 10)) : [parseInt(this.defaultOid, 10)];
523
- return (h("calcite-shell", { class: `${tableSizeClass} border-bottom` }, !this._isMobile ? (h("calcite-action-bar", { class: "border-sides", expandDisabled: true, layout: toggleLayout, slot: toggleSlot }, this.getActions(layoutMode, panelOpen))) : undefined, h("div", { class: `width-full height-full position-relative z-index-0 ${tableClass}` }, h("layer-table", { appLayout: this.appLayout, createFilterModal: false, defaultGlobalId: hasMapAndLayer ? globalId : undefined, defaultLayerId: hasMapAndLayer ? this.defaultLayer : "", defaultOid: hasMapAndLayer && !globalId ? defaultOid : undefined, enableAutoRefresh: this.enableAutoRefresh, enableCSV: this.enableCSV, enableColumnReorder: this.enableColumnReorder, enableInlineEdit: this?._mapInfo?.enableInlineEdit, enableShare: this.enableShare, isMobile: this._isPortraitMobile, mapHidden: isTableLayout, mapInfo: this._mapInfo, mapView: this?._mapView, onToggleFilter: this._toggleFilter.bind(this), onlyShowUpdatableLayers: this.onlyShowUpdatableLayers, ref: (el) => this._layerTable = el, shareIncludeEmbed: this.shareIncludeEmbed, shareIncludeSocial: this.shareIncludeSocial, showNewestFirst: this.showNewestFirst, zoomAndScrollToSelected: this.zoomAndScrollToSelected, zoomToScale: this.zoomToScale })), h("div", { class: mapClass, id: "full-map-view" })));
522
+ return (h("calcite-shell", { class: `${tableSizeClass} border-bottom` }, !this._isMobile ? (h("calcite-action-bar", { class: "border-sides", expandDisabled: true, layout: toggleLayout, slot: toggleSlot }, this.getActions(layoutMode, panelOpen))) : undefined, h("div", { class: `width-full height-full position-relative z-index-0 ${tableClass}` }, h("layer-table", { appLayout: this.appLayout, createFilterModal: false, defaultGlobalId: hasMapAndLayer ? globalId : undefined, defaultLayerId: hasMapAndLayer ? this.defaultLayer : "", defaultOid: hasMapAndLayer && !globalId ? defaultOid : undefined, enableAutoRefresh: this.enableAutoRefresh, enableCSV: this.enableCSV, enableColumnReorder: this.enableColumnReorder, enableInlineEdit: this?._mapInfo?.enableInlineEdit, enableShare: this.enableShare, isMobile: this._isPortraitMobile, locale: this.locale, mapHidden: isTableLayout, mapInfo: this._mapInfo, mapView: this?._mapView, onToggleFilter: this._toggleFilter.bind(this), onlyShowUpdatableLayers: this.onlyShowUpdatableLayers, ref: (el) => this._layerTable = el, shareIncludeEmbed: this.shareIncludeEmbed, shareIncludeSocial: this.shareIncludeSocial, showNewestFirst: this.showNewestFirst, zoomAndScrollToSelected: this.zoomAndScrollToSelected, zoomToScale: this.zoomToScale })), h("div", { class: mapClass, id: "full-map-view" })));
524
523
  }
525
524
  /**
526
525
  * Returns the Actions for table's node
@@ -1180,23 +1179,22 @@ export class CrowdsourceManager {
1180
1179
  "reflect": false,
1181
1180
  "defaultValue": "true"
1182
1181
  },
1183
- "hideMapOnLoad": {
1184
- "type": "boolean",
1182
+ "locale": {
1183
+ "type": "string",
1185
1184
  "mutable": false,
1186
1185
  "complexType": {
1187
- "original": "boolean",
1188
- "resolved": "boolean",
1186
+ "original": "string",
1187
+ "resolved": "string",
1189
1188
  "references": {}
1190
1189
  },
1191
1190
  "required": false,
1192
1191
  "optional": false,
1193
1192
  "docs": {
1194
1193
  "tags": [],
1195
- "text": "boolean: when true the map will be hidden on load"
1194
+ "text": "string: Locale to use for translation of stings in the UI"
1196
1195
  },
1197
- "attribute": "hide-map-on-load",
1198
- "reflect": false,
1199
- "defaultValue": "false"
1196
+ "attribute": "locale",
1197
+ "reflect": false
1200
1198
  },
1201
1199
  "mapInfos": {
1202
1200
  "type": "unknown",
@@ -1502,8 +1500,8 @@ export class CrowdsourceManager {
1502
1500
  "propName": "enableZoom",
1503
1501
  "methodName": "enableZoomWatchHandler"
1504
1502
  }, {
1505
- "propName": "hideMapOnLoad",
1506
- "methodName": "hideMapOnLoadWatchHandler"
1503
+ "propName": "locale",
1504
+ "methodName": "localeWatchHandler"
1507
1505
  }];
1508
1506
  }
1509
1507
  static get listeners() {