@esri/solutions-components 0.10.34 → 0.10.35

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (289) hide show
  1. package/dist/cjs/basemap-gallery_7.cjs.entry.js +6 -6
  2. package/dist/cjs/buffer-tools_3.cjs.entry.js +1 -1
  3. package/dist/cjs/calcite-alert_5.cjs.entry.js +7 -5
  4. package/dist/cjs/calcite-combobox_3.cjs.entry.js +1 -1
  5. package/dist/cjs/calcite-flow_4.cjs.entry.js +18 -16
  6. package/dist/cjs/{calcite-modal_3.cjs.entry.js → calcite-modal.cjs.entry.js} +27 -368
  7. package/dist/cjs/calcite-shell-panel_14.cjs.entry.js +7 -7
  8. package/dist/cjs/calcite-shell_3.cjs.entry.js +440 -0
  9. package/dist/cjs/card-manager_3.cjs.entry.js +20 -9
  10. package/dist/cjs/crowdsource-manager.cjs.entry.js +3 -2
  11. package/dist/cjs/crowdsource-reporter.cjs.entry.js +24 -21
  12. package/dist/cjs/feature-comments.cjs.entry.js +1 -1
  13. package/dist/cjs/feature-form-flow-item.cjs.entry.js +1 -1
  14. package/dist/cjs/feature-list.cjs.entry.js +4 -4
  15. package/dist/cjs/features-flow-item.cjs.entry.js +1 -1
  16. package/dist/cjs/layout-manager.cjs.entry.js +1 -1
  17. package/dist/cjs/list-flow-item.cjs.entry.js +1 -1
  18. package/dist/cjs/loader.cjs.js +1 -1
  19. package/dist/cjs/location-flow-item.cjs.entry.js +1 -1
  20. package/dist/cjs/map-select-tools_3.cjs.entry.js +3 -3
  21. package/dist/cjs/pci-calculator.cjs.entry.js +1 -1
  22. package/dist/cjs/public-notification.cjs.entry.js +1 -1
  23. package/dist/cjs/refine-results-flow-item.cjs.entry.js +1 -1
  24. package/dist/cjs/share-item.cjs.entry.js +1 -1
  25. package/dist/cjs/solution-configuration.cjs.entry.js +3 -3
  26. package/dist/cjs/solution-contents_3.cjs.entry.js +3 -3
  27. package/dist/cjs/solution-item-accordion.cjs.entry.js +1 -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 +1 -1
  31. package/dist/collection/assets/t9n/delete-dialog/resources.json +8 -0
  32. package/dist/collection/assets/t9n/delete-dialog/resources_ar.json +8 -0
  33. package/dist/collection/assets/t9n/delete-dialog/resources_bg.json +8 -0
  34. package/dist/collection/assets/t9n/delete-dialog/resources_bs.json +8 -0
  35. package/dist/collection/assets/t9n/delete-dialog/resources_ca.json +8 -0
  36. package/dist/collection/assets/t9n/delete-dialog/resources_cs.json +8 -0
  37. package/dist/collection/assets/t9n/delete-dialog/resources_da.json +8 -0
  38. package/dist/collection/assets/t9n/delete-dialog/resources_de.json +8 -0
  39. package/dist/collection/assets/t9n/delete-dialog/resources_el.json +8 -0
  40. package/dist/collection/assets/t9n/delete-dialog/resources_en.json +8 -0
  41. package/dist/collection/assets/t9n/delete-dialog/resources_es.json +8 -0
  42. package/dist/collection/assets/t9n/delete-dialog/resources_et.json +8 -0
  43. package/dist/collection/assets/t9n/delete-dialog/resources_fi.json +8 -0
  44. package/dist/collection/assets/t9n/delete-dialog/resources_fr.json +8 -0
  45. package/dist/collection/assets/t9n/delete-dialog/resources_he.json +8 -0
  46. package/dist/collection/assets/t9n/delete-dialog/resources_hr.json +8 -0
  47. package/dist/collection/assets/t9n/delete-dialog/resources_hu.json +8 -0
  48. package/dist/collection/assets/t9n/delete-dialog/resources_id.json +8 -0
  49. package/dist/collection/assets/t9n/delete-dialog/resources_it.json +8 -0
  50. package/dist/collection/assets/t9n/delete-dialog/resources_ja.json +8 -0
  51. package/dist/collection/assets/t9n/delete-dialog/resources_ko.json +8 -0
  52. package/dist/collection/assets/t9n/delete-dialog/resources_lt.json +8 -0
  53. package/dist/collection/assets/t9n/delete-dialog/resources_lv.json +8 -0
  54. package/dist/collection/assets/t9n/delete-dialog/resources_nb.json +8 -0
  55. package/dist/collection/assets/t9n/delete-dialog/resources_nl.json +8 -0
  56. package/dist/collection/assets/t9n/delete-dialog/resources_pl.json +8 -0
  57. package/dist/collection/assets/t9n/delete-dialog/resources_pt-BR.json +8 -0
  58. package/dist/collection/assets/t9n/delete-dialog/resources_pt-PT.json +8 -0
  59. package/dist/collection/assets/t9n/delete-dialog/resources_ro.json +8 -0
  60. package/dist/collection/assets/t9n/delete-dialog/resources_ru.json +8 -0
  61. package/dist/collection/assets/t9n/delete-dialog/resources_sk.json +8 -0
  62. package/dist/collection/assets/t9n/delete-dialog/resources_sl.json +8 -0
  63. package/dist/collection/assets/t9n/delete-dialog/resources_sr.json +8 -0
  64. package/dist/collection/assets/t9n/delete-dialog/resources_sv.json +8 -0
  65. package/dist/collection/assets/t9n/delete-dialog/resources_th.json +8 -0
  66. package/dist/collection/assets/t9n/delete-dialog/resources_tr.json +8 -0
  67. package/dist/collection/assets/t9n/delete-dialog/resources_uk.json +8 -0
  68. package/dist/collection/assets/t9n/delete-dialog/resources_vi.json +8 -0
  69. package/dist/collection/assets/t9n/delete-dialog/resources_zh-CN.json +8 -0
  70. package/dist/collection/assets/t9n/delete-dialog/resources_zh-HK.json +8 -0
  71. package/dist/collection/assets/t9n/delete-dialog/resources_zh-TW.json +8 -0
  72. package/dist/collection/collection-manifest.json +1 -0
  73. package/dist/collection/components/create-feature/create-feature.css +2 -1
  74. package/dist/collection/components/create-feature/create-feature.js +3 -1
  75. package/dist/collection/components/crowdsource-manager/crowdsource-manager.css +4 -0
  76. package/dist/collection/components/crowdsource-manager/crowdsource-manager.js +2 -1
  77. package/dist/collection/components/crowdsource-reporter/crowdsource-reporter.js +24 -21
  78. package/dist/collection/components/delete-button/delete-button.js +20 -27
  79. package/dist/collection/components/delete-dialog/delete-dialog.css +23 -0
  80. package/dist/collection/components/delete-dialog/delete-dialog.js +239 -0
  81. package/dist/collection/components/edit-card/edit-card.js +1 -1
  82. package/dist/collection/components/feature-comments/feature-comments.js +1 -1
  83. package/dist/collection/components/feature-details/feature-details.js +13 -11
  84. package/dist/collection/components/feature-form-flow-item/feature-form-flow-item.js +1 -1
  85. package/dist/collection/components/feature-list/feature-list.js +4 -4
  86. package/dist/collection/components/features-flow-item/features-flow-item.js +1 -1
  87. package/dist/collection/components/floor-filter/floor-filter.js +1 -1
  88. package/dist/collection/components/info-card/info-card.js +2 -2
  89. package/dist/collection/components/json-editor/json-editor.js +1 -1
  90. package/dist/collection/components/layer-list/layer-list.js +5 -5
  91. package/dist/collection/components/layer-table/layer-table.css +6 -0
  92. package/dist/collection/components/layer-table/layer-table.js +19 -7
  93. package/dist/collection/components/layout-manager/layout-manager.js +1 -1
  94. package/dist/collection/components/list-flow-item/list-flow-item.js +1 -1
  95. package/dist/collection/components/location-flow-item/location-flow-item.js +1 -1
  96. package/dist/collection/components/map-card/map-card.js +1 -1
  97. package/dist/collection/components/map-draw-tools/map-draw-tools.js +1 -1
  98. package/dist/collection/components/map-fullscreen/map-fullscreen.js +1 -1
  99. package/dist/collection/components/map-layer-picker/map-layer-picker.js +1 -1
  100. package/dist/collection/components/map-legend/map-legend.js +1 -1
  101. package/dist/collection/components/map-picker/map-picker.js +1 -1
  102. package/dist/collection/components/map-search/map-search.js +1 -1
  103. package/dist/collection/components/map-select-tools/map-select-tools.js +1 -1
  104. package/dist/collection/components/map-tools/map-tools.js +1 -1
  105. package/dist/collection/components/pci-calculator/pci-calculator.js +1 -1
  106. package/dist/collection/components/pdf-download/pdf-download.js +1 -1
  107. package/dist/collection/components/public-notification/public-notification.js +1 -1
  108. package/dist/collection/components/refine-results-flow-item/refine-results-flow-item.js +1 -1
  109. package/dist/collection/components/refine-selection/refine-selection.js +1 -1
  110. package/dist/collection/components/share-item/share-item.js +1 -1
  111. package/dist/collection/components/solution-configuration/solution-configuration.js +3 -3
  112. package/dist/collection/components/solution-contents/solution-contents.js +1 -1
  113. package/dist/collection/components/solution-item/solution-item.js +1 -1
  114. package/dist/collection/components/solution-item-accordion/solution-item-accordion.js +1 -1
  115. package/dist/collection/components/solution-item-details/solution-item-details.js +1 -1
  116. package/dist/collection/components/solution-item-icon/solution-item-icon.js +1 -1
  117. package/dist/collection/components/solution-item-sharing/solution-item-sharing.js +1 -1
  118. package/dist/collection/components/solution-organization-variables/solution-organization-variables.js +1 -1
  119. package/dist/collection/components/solution-resource-item/solution-resource-item.js +1 -1
  120. package/dist/collection/components/solution-spatial-ref/solution-spatial-ref.js +1 -1
  121. package/dist/collection/components/solution-template-data/solution-template-data.js +1 -1
  122. package/dist/collection/components/solution-variables/solution-variables.js +1 -1
  123. package/dist/collection/components/spatial-ref/spatial-ref.js +1 -1
  124. package/dist/components/card-manager2.js +40 -34
  125. package/dist/components/create-feature2.js +4 -2
  126. package/dist/components/crowdsource-manager.js +101 -94
  127. package/dist/components/crowdsource-reporter.js +110 -101
  128. package/dist/components/delete-button2.js +24 -41
  129. package/dist/components/delete-dialog.d.ts +11 -0
  130. package/dist/components/delete-dialog.js +11 -0
  131. package/dist/components/delete-dialog2.js +165 -0
  132. package/dist/components/edit-card2.js +1 -1
  133. package/dist/components/feature-comments.js +1 -1
  134. package/dist/components/feature-details2.js +67 -59
  135. package/dist/components/feature-form-flow-item.js +1 -1
  136. package/dist/components/feature-list2.js +4 -4
  137. package/dist/components/features-flow-item.js +1 -1
  138. package/dist/components/floor-filter2.js +1 -1
  139. package/dist/components/info-card2.js +38 -32
  140. package/dist/components/json-editor2.js +1 -1
  141. package/dist/components/layer-list2.js +5 -5
  142. package/dist/components/layer-table2.js +100 -82
  143. package/dist/components/layout-manager.js +1 -1
  144. package/dist/components/list-flow-item.js +1 -1
  145. package/dist/components/location-flow-item.js +1 -1
  146. package/dist/components/map-card2.js +1 -1
  147. package/dist/components/map-draw-tools2.js +1 -1
  148. package/dist/components/map-fullscreen2.js +1 -1
  149. package/dist/components/map-layer-picker2.js +1 -1
  150. package/dist/components/map-legend2.js +1 -1
  151. package/dist/components/map-picker2.js +1 -1
  152. package/dist/components/map-search2.js +1 -1
  153. package/dist/components/map-select-tools2.js +1 -1
  154. package/dist/components/map-tools2.js +1 -1
  155. package/dist/components/pci-calculator.js +1 -1
  156. package/dist/components/pdf-download2.js +1 -1
  157. package/dist/components/public-notification.js +1 -1
  158. package/dist/components/refine-results-flow-item.js +1 -1
  159. package/dist/components/refine-selection2.js +1 -1
  160. package/dist/components/share-item.js +1 -1
  161. package/dist/components/solution-configuration.js +3 -3
  162. package/dist/components/solution-contents2.js +1 -1
  163. package/dist/components/solution-item-accordion.js +1 -1
  164. package/dist/components/solution-item-details2.js +1 -1
  165. package/dist/components/solution-item-icon2.js +1 -1
  166. package/dist/components/solution-item-sharing2.js +1 -1
  167. package/dist/components/solution-item2.js +1 -1
  168. package/dist/components/solution-organization-variables2.js +1 -1
  169. package/dist/components/solution-resource-item2.js +1 -1
  170. package/dist/components/solution-spatial-ref2.js +1 -1
  171. package/dist/components/solution-template-data2.js +1 -1
  172. package/dist/components/solution-variables2.js +1 -1
  173. package/dist/components/spatial-ref.js +1 -1
  174. package/dist/esm/basemap-gallery_7.entry.js +6 -6
  175. package/dist/esm/buffer-tools_3.entry.js +1 -1
  176. package/dist/esm/calcite-alert_5.entry.js +7 -5
  177. package/dist/esm/calcite-combobox_3.entry.js +1 -1
  178. package/dist/esm/calcite-flow_4.entry.js +18 -16
  179. package/dist/esm/{calcite-modal_3.entry.js → calcite-modal.entry.js} +30 -369
  180. package/dist/esm/calcite-shell-panel_14.entry.js +7 -7
  181. package/dist/esm/calcite-shell_3.entry.js +434 -0
  182. package/dist/esm/card-manager_3.entry.js +20 -9
  183. package/dist/esm/crowdsource-manager.entry.js +3 -2
  184. package/dist/esm/crowdsource-reporter.entry.js +24 -21
  185. package/dist/esm/feature-comments.entry.js +1 -1
  186. package/dist/esm/feature-form-flow-item.entry.js +1 -1
  187. package/dist/esm/feature-list.entry.js +4 -4
  188. package/dist/esm/features-flow-item.entry.js +1 -1
  189. package/dist/esm/layout-manager.entry.js +1 -1
  190. package/dist/esm/list-flow-item.entry.js +1 -1
  191. package/dist/esm/loader.js +1 -1
  192. package/dist/esm/location-flow-item.entry.js +1 -1
  193. package/dist/esm/map-select-tools_3.entry.js +3 -3
  194. package/dist/esm/pci-calculator.entry.js +1 -1
  195. package/dist/esm/public-notification.entry.js +1 -1
  196. package/dist/esm/refine-results-flow-item.entry.js +1 -1
  197. package/dist/esm/share-item.entry.js +1 -1
  198. package/dist/esm/solution-configuration.entry.js +3 -3
  199. package/dist/esm/solution-contents_3.entry.js +3 -3
  200. package/dist/esm/solution-item-accordion.entry.js +1 -1
  201. package/dist/esm/solution-item-icon.entry.js +1 -1
  202. package/dist/esm/solutions-components.js +1 -1
  203. package/dist/esm/spatial-ref.entry.js +1 -1
  204. package/dist/solutions-components/assets/t9n/delete-dialog/resources.json +8 -0
  205. package/dist/solutions-components/assets/t9n/delete-dialog/resources_ar.json +8 -0
  206. package/dist/solutions-components/assets/t9n/delete-dialog/resources_bg.json +8 -0
  207. package/dist/solutions-components/assets/t9n/delete-dialog/resources_bs.json +8 -0
  208. package/dist/solutions-components/assets/t9n/delete-dialog/resources_ca.json +8 -0
  209. package/dist/solutions-components/assets/t9n/delete-dialog/resources_cs.json +8 -0
  210. package/dist/solutions-components/assets/t9n/delete-dialog/resources_da.json +8 -0
  211. package/dist/solutions-components/assets/t9n/delete-dialog/resources_de.json +8 -0
  212. package/dist/solutions-components/assets/t9n/delete-dialog/resources_el.json +8 -0
  213. package/dist/solutions-components/assets/t9n/delete-dialog/resources_en.json +8 -0
  214. package/dist/solutions-components/assets/t9n/delete-dialog/resources_es.json +8 -0
  215. package/dist/solutions-components/assets/t9n/delete-dialog/resources_et.json +8 -0
  216. package/dist/solutions-components/assets/t9n/delete-dialog/resources_fi.json +8 -0
  217. package/dist/solutions-components/assets/t9n/delete-dialog/resources_fr.json +8 -0
  218. package/dist/solutions-components/assets/t9n/delete-dialog/resources_he.json +8 -0
  219. package/dist/solutions-components/assets/t9n/delete-dialog/resources_hr.json +8 -0
  220. package/dist/solutions-components/assets/t9n/delete-dialog/resources_hu.json +8 -0
  221. package/dist/solutions-components/assets/t9n/delete-dialog/resources_id.json +8 -0
  222. package/dist/solutions-components/assets/t9n/delete-dialog/resources_it.json +8 -0
  223. package/dist/solutions-components/assets/t9n/delete-dialog/resources_ja.json +8 -0
  224. package/dist/solutions-components/assets/t9n/delete-dialog/resources_ko.json +8 -0
  225. package/dist/solutions-components/assets/t9n/delete-dialog/resources_lt.json +8 -0
  226. package/dist/solutions-components/assets/t9n/delete-dialog/resources_lv.json +8 -0
  227. package/dist/solutions-components/assets/t9n/delete-dialog/resources_nb.json +8 -0
  228. package/dist/solutions-components/assets/t9n/delete-dialog/resources_nl.json +8 -0
  229. package/dist/solutions-components/assets/t9n/delete-dialog/resources_pl.json +8 -0
  230. package/dist/solutions-components/assets/t9n/delete-dialog/resources_pt-BR.json +8 -0
  231. package/dist/solutions-components/assets/t9n/delete-dialog/resources_pt-PT.json +8 -0
  232. package/dist/solutions-components/assets/t9n/delete-dialog/resources_ro.json +8 -0
  233. package/dist/solutions-components/assets/t9n/delete-dialog/resources_ru.json +8 -0
  234. package/dist/solutions-components/assets/t9n/delete-dialog/resources_sk.json +8 -0
  235. package/dist/solutions-components/assets/t9n/delete-dialog/resources_sl.json +8 -0
  236. package/dist/solutions-components/assets/t9n/delete-dialog/resources_sr.json +8 -0
  237. package/dist/solutions-components/assets/t9n/delete-dialog/resources_sv.json +8 -0
  238. package/dist/solutions-components/assets/t9n/delete-dialog/resources_th.json +8 -0
  239. package/dist/solutions-components/assets/t9n/delete-dialog/resources_tr.json +8 -0
  240. package/dist/solutions-components/assets/t9n/delete-dialog/resources_uk.json +8 -0
  241. package/dist/solutions-components/assets/t9n/delete-dialog/resources_vi.json +8 -0
  242. package/dist/solutions-components/assets/t9n/delete-dialog/resources_zh-CN.json +8 -0
  243. package/dist/solutions-components/assets/t9n/delete-dialog/resources_zh-HK.json +8 -0
  244. package/dist/solutions-components/assets/t9n/delete-dialog/resources_zh-TW.json +8 -0
  245. package/dist/solutions-components/{p-6c3261d7.entry.js → p-06364211.entry.js} +1 -1
  246. package/dist/solutions-components/{p-d119872d.entry.js → p-18089a0b.entry.js} +1 -1
  247. package/dist/solutions-components/p-1f07e21a.entry.js +6 -0
  248. package/dist/solutions-components/p-2a6ecaa9.entry.js +11 -0
  249. package/dist/solutions-components/p-46416e11.entry.js +6 -0
  250. package/dist/solutions-components/{p-a8525233.entry.js → p-588adf13.entry.js} +1 -1
  251. package/dist/solutions-components/{p-5fc0e134.entry.js → p-59ccd27c.entry.js} +1 -1
  252. package/dist/solutions-components/p-5eb9a413.entry.js +6 -0
  253. package/dist/solutions-components/{p-42f75c8f.entry.js → p-6502d0f8.entry.js} +1 -1
  254. package/dist/solutions-components/p-70c0050c.entry.js +6 -0
  255. package/dist/solutions-components/p-74bcef23.entry.js +11 -0
  256. package/dist/solutions-components/{p-4cb12506.entry.js → p-76154700.entry.js} +1 -1
  257. package/dist/solutions-components/p-82ddf716.entry.js +6 -0
  258. package/dist/solutions-components/{p-d08ece15.entry.js → p-841816a1.entry.js} +1 -1
  259. package/dist/solutions-components/{p-4f5913f3.entry.js → p-89046451.entry.js} +1 -1
  260. package/dist/solutions-components/p-938bc915.entry.js +6 -0
  261. package/dist/solutions-components/{p-fa7672c7.entry.js → p-9d56f4b5.entry.js} +1 -1
  262. package/dist/solutions-components/p-9da8a590.entry.js +6 -0
  263. package/dist/solutions-components/{p-5fdb8f83.entry.js → p-a5d79c86.entry.js} +1 -1
  264. package/dist/solutions-components/{p-dd0bd439.entry.js → p-b4c49411.entry.js} +2 -2
  265. package/dist/solutions-components/p-b86b2664.entry.js +6 -0
  266. package/dist/solutions-components/{p-ddc1218d.entry.js → p-be4c7ffd.entry.js} +1 -1
  267. package/dist/solutions-components/{p-ffa9a117.entry.js → p-cb3199f9.entry.js} +1 -1
  268. package/dist/solutions-components/{p-a07322cc.entry.js → p-df7de4b7.entry.js} +1 -1
  269. package/dist/solutions-components/{p-1f072e2c.entry.js → p-eadff42b.entry.js} +1 -1
  270. package/dist/solutions-components/{p-8a411917.entry.js → p-ecf642c2.entry.js} +1 -1
  271. package/dist/solutions-components/{p-06db1bfd.entry.js → p-efb4cb43.entry.js} +1 -1
  272. package/dist/solutions-components/{p-e4a42efa.entry.js → p-fa1c368c.entry.js} +1 -1
  273. package/dist/solutions-components/solutions-components.esm.js +1 -1
  274. package/dist/types/components/crowdsource-reporter/crowdsource-reporter.d.ts +6 -1
  275. package/dist/types/components/delete-button/delete-button.d.ts +4 -12
  276. package/dist/types/components/delete-dialog/delete-dialog.d.ts +75 -0
  277. package/dist/types/components/layer-table/layer-table.d.ts +12 -0
  278. package/dist/types/components.d.ts +69 -0
  279. package/dist/types/preact.d.ts +5 -0
  280. package/package.json +1 -1
  281. package/dist/solutions-components/p-51e2500f.entry.js +0 -6
  282. package/dist/solutions-components/p-52280e10.entry.js +0 -17
  283. package/dist/solutions-components/p-67ca4a64.entry.js +0 -6
  284. package/dist/solutions-components/p-7e6a8c06.entry.js +0 -6
  285. package/dist/solutions-components/p-8d2d66d0.entry.js +0 -6
  286. package/dist/solutions-components/p-8e6081e0.entry.js +0 -6
  287. package/dist/solutions-components/p-b9b77b87.entry.js +0 -6
  288. package/dist/solutions-components/p-cf878a34.entry.js +0 -6
  289. package/dist/solutions-components/p-edd88d2d.entry.js +0 -6
@@ -21105,7 +21105,7 @@ const SpatialRef = class {
21105
21105
  * Renders the component.
21106
21106
  */
21107
21107
  render() {
21108
- return (index.h(index.Host, { key: 'f723d08854c429ea7eb3e9c5588089a5dd614440' }, index.h("div", { key: '5f91149d48e5df3f01479bec291d97c569ffd5d7' }, index.h("calcite-input", { key: 'fa6cd1622e62b9c830999afc0940adddabbcc2c2', disabled: this.disabled, id: "calcite-sr-search", onKeyUp: (evt) => this._searchInputKeyDown(evt), placeholder: this._translations.spatialReferencePlaceholder }), index.h("calcite-tree", { key: '02e651be4895c57ddb0fbf319c5a41b5dc39472c', id: "calcite-sr-tree", slot: "children" }, this._getTreeContent()))));
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()))));
21109
21109
  }
21110
21110
  _lastHighlightedSref;
21111
21111
  //--------------------------------------------------------------------------
@@ -0,0 +1,8 @@
1
+ {
2
+ "cancel": "Cancel",
3
+ "confirmMultiple": "These features will be permanently removed.",
4
+ "confirmSingle": "This feature will be permanently removed.",
5
+ "delete": "Delete",
6
+ "deleteCount": "Delete ({{n}})",
7
+ "deleteFeature": "Delete feature"
8
+ }
@@ -0,0 +1,8 @@
1
+ {
2
+ "cancel": "إلغاء الأمر",
3
+ "confirmMultiple": "ستتم إزالة هذه المعالم بشكل دائم.",
4
+ "confirmSingle": "ستتم إزالة هذا المعلم بشكل دائم.",
5
+ "delete": "حذف",
6
+ "deleteCount": "حذف ({{n}})",
7
+ "deleteFeature": "حذف المعلم"
8
+ }
@@ -0,0 +1,8 @@
1
+ {
2
+ "cancel": "Отказ",
3
+ "confirmMultiple": "Тези обекти ще бъдат премахнати завинаги.",
4
+ "confirmSingle": "Този обект ще бъде премахнат завинаги.",
5
+ "delete": "Изтриване",
6
+ "deleteCount": "Изтриване ({{n}})",
7
+ "deleteFeature": "Изтриване на обект"
8
+ }
@@ -0,0 +1,8 @@
1
+ {
2
+ "cancel": "Odustani",
3
+ "confirmMultiple": "Ti će geoobjekti biti trajno uklonjeni.",
4
+ "confirmSingle": "Ovaj će se geoobjekt trajno ukloniti.",
5
+ "delete": "Izbriši",
6
+ "deleteCount": "Izbriši ({{n}})",
7
+ "deleteFeature": "Izbriši geoobjekt"
8
+ }
@@ -0,0 +1,8 @@
1
+ {
2
+ "cancel": "Cancel·la",
3
+ "confirmMultiple": "Aquestes entitats s'eliminaran permanentment.",
4
+ "confirmSingle": "Aquesta entitat s'eliminarà permanentment.",
5
+ "delete": "Suprimeix",
6
+ "deleteCount": "Suprimeix ({{n}})",
7
+ "deleteFeature": "Suprimeix l'entitat"
8
+ }
@@ -0,0 +1,8 @@
1
+ {
2
+ "cancel": "Storno",
3
+ "confirmMultiple": "Tyto prvky budou trvale odstraněny.",
4
+ "confirmSingle": "Tento prvek bude trvale odstraněn.",
5
+ "delete": "Smazat",
6
+ "deleteCount": "Smazat ({{n}})",
7
+ "deleteFeature": "Odstranit prvek"
8
+ }
@@ -0,0 +1,8 @@
1
+ {
2
+ "cancel": "Annuller",
3
+ "confirmMultiple": "Disse objekter vil blive fjernet permanent.",
4
+ "confirmSingle": "Dette objekt vil blive fjernet permanent.",
5
+ "delete": "Slet",
6
+ "deleteCount": "Slet ({{n}})",
7
+ "deleteFeature": "Slet objekt"
8
+ }
@@ -0,0 +1,8 @@
1
+ {
2
+ "cancel": "Abbrechen",
3
+ "confirmMultiple": "Diese Features werden dauerhaft entfernt.",
4
+ "confirmSingle": "Dieses Feature wird dauerhaft entfernt.",
5
+ "delete": "Löschen",
6
+ "deleteCount": "Löschen ({{n}})",
7
+ "deleteFeature": "Feature löschen"
8
+ }
@@ -0,0 +1,8 @@
1
+ {
2
+ "cancel": "Ακύρωση",
3
+ "confirmMultiple": "Αυτά τα στοιχεία θα καταργηθούν οριστικά.",
4
+ "confirmSingle": "Το στοιχείο αυτό θα καταργηθεί οριστικά.",
5
+ "delete": "Διαγραφή",
6
+ "deleteCount": "Διαγραφή ({{n}})",
7
+ "deleteFeature": "Διαγραφή στοιχείου"
8
+ }
@@ -0,0 +1,8 @@
1
+ {
2
+ "cancel": "Cancel",
3
+ "confirmMultiple": "These features will be permanently removed.",
4
+ "confirmSingle": "This feature will be permanently removed.",
5
+ "delete": "Delete",
6
+ "deleteCount": "Delete ({{n}})",
7
+ "deleteFeature": "Delete feature"
8
+ }
@@ -0,0 +1,8 @@
1
+ {
2
+ "cancel": "Cancelar",
3
+ "confirmMultiple": "Estas entidades se eliminarán de forma permanente.",
4
+ "confirmSingle": "Esta entidad se eliminará de forma permanente.",
5
+ "delete": "Eliminar",
6
+ "deleteCount": "Eliminar ({{n}})",
7
+ "deleteFeature": "Eliminar entidad"
8
+ }
@@ -0,0 +1,8 @@
1
+ {
2
+ "cancel": "Loobu",
3
+ "confirmMultiple": "Need objektid eemaldatakse jäädavalt.",
4
+ "confirmSingle": "Objekt eemaldatakse jäädavalt.",
5
+ "delete": "Kustuta",
6
+ "deleteCount": "Kustuta ({{n}})",
7
+ "deleteFeature": "Kustuta objekt"
8
+ }
@@ -0,0 +1,8 @@
1
+ {
2
+ "cancel": "Peruuta",
3
+ "confirmMultiple": "Nämä kohteet poistetaan pysyvästi.",
4
+ "confirmSingle": "Tämä kohde poistetaan pysyvästi.",
5
+ "delete": "Poista",
6
+ "deleteCount": "Poista ({{n}})",
7
+ "deleteFeature": "Poista kohde"
8
+ }
@@ -0,0 +1,8 @@
1
+ {
2
+ "cancel": "Annuler",
3
+ "confirmMultiple": "Ces entités seront définitivement supprimées.",
4
+ "confirmSingle": "Cette entité sera définitivement supprimée.",
5
+ "delete": "Supprimer",
6
+ "deleteCount": "Supprimer ({{n}})",
7
+ "deleteFeature": "Supprimer l’entité"
8
+ }
@@ -0,0 +1,8 @@
1
+ {
2
+ "cancel": "ביטול",
3
+ "confirmMultiple": "ישויות אלה יוסרו לצמיתות.",
4
+ "confirmSingle": "ישות זו תוסר לצמיתות.",
5
+ "delete": "מחיקה",
6
+ "deleteCount": "מחק ({{n}})",
7
+ "deleteFeature": "מחק ישות"
8
+ }
@@ -0,0 +1,8 @@
1
+ {
2
+ "cancel": "Odustani",
3
+ "confirmMultiple": "Ti će geoobjekti biti trajno uklonjeni.",
4
+ "confirmSingle": "Ovaj će se geoobjekt trajno ukloniti.",
5
+ "delete": "Izbriši",
6
+ "deleteCount": "Izbriši ({{n}})",
7
+ "deleteFeature": "Izbriši geoobjekt"
8
+ }
@@ -0,0 +1,8 @@
1
+ {
2
+ "cancel": "Mégse",
3
+ "confirmMultiple": "Ezek a vektoros elemek végleg el lesznek távolítva.",
4
+ "confirmSingle": "A vektoros elem véglegesen el lesz távolítva.",
5
+ "delete": "Törlés",
6
+ "deleteCount": "Törlés ({{n}})",
7
+ "deleteFeature": "Vektoros elem törlése"
8
+ }
@@ -0,0 +1,8 @@
1
+ {
2
+ "cancel": "Batalkan",
3
+ "confirmMultiple": "Fitur-fitur ini akan dihapus secara permanen.",
4
+ "confirmSingle": "Fitur ini akan dihapus secara permanen.",
5
+ "delete": "Hapus",
6
+ "deleteCount": "Hapus ({{n}})",
7
+ "deleteFeature": "Hapus fitur"
8
+ }
@@ -0,0 +1,8 @@
1
+ {
2
+ "cancel": "Annulla",
3
+ "confirmMultiple": "Queste feature saranno rimosse in modo permanente.",
4
+ "confirmSingle": "Questa feature verrà rimossa completamente.",
5
+ "delete": "Elimina",
6
+ "deleteCount": "Elimina ({{n}})",
7
+ "deleteFeature": "Elimina feature"
8
+ }
@@ -0,0 +1,8 @@
1
+ {
2
+ "cancel": "キャンセル",
3
+ "confirmMultiple": "これらのフィーチャは完全に削除されます。",
4
+ "confirmSingle": "このフィーチャは完全に削除されます。",
5
+ "delete": "削除",
6
+ "deleteCount": "削除 ({{n}})",
7
+ "deleteFeature": "フィーチャの削除"
8
+ }
@@ -0,0 +1,8 @@
1
+ {
2
+ "cancel": "취소",
3
+ "confirmMultiple": "해당 피처가 영구적으로 제거됩니다.",
4
+ "confirmSingle": "해당 피처가 영구적으로 제거됩니다.",
5
+ "delete": "삭제",
6
+ "deleteCount": "삭제({{n}})",
7
+ "deleteFeature": "피처 삭제"
8
+ }
@@ -0,0 +1,8 @@
1
+ {
2
+ "cancel": "Atšaukti",
3
+ "confirmMultiple": "Šie elementai bus pašalinti visam laikui.",
4
+ "confirmSingle": "Šis elementas bus pašalintas visam laikui.",
5
+ "delete": "Pašalinti",
6
+ "deleteCount": "Ištrinti ({{n}})",
7
+ "deleteFeature": "Ištrinti elementą"
8
+ }
@@ -0,0 +1,8 @@
1
+ {
2
+ "cancel": "Atcelt",
3
+ "confirmMultiple": "Šie elementi tiks neatgriezeniski noņemti.",
4
+ "confirmSingle": "Šis elements tiks neatgriezeniski noņemts.",
5
+ "delete": "Dzēst",
6
+ "deleteCount": "Dzēst ({{n}})",
7
+ "deleteFeature": "Dzēst elementu"
8
+ }
@@ -0,0 +1,8 @@
1
+ {
2
+ "cancel": "Avbryt",
3
+ "confirmMultiple": "Disse geoobjektene slettes for godt.",
4
+ "confirmSingle": "Geoobjektet slettes for godt.",
5
+ "delete": "Slett",
6
+ "deleteCount": "Slett ({{n}})",
7
+ "deleteFeature": "Slett geoobjekt"
8
+ }
@@ -0,0 +1,8 @@
1
+ {
2
+ "cancel": "Annuleren",
3
+ "confirmMultiple": "Deze objecten worden permanent verwijderd.",
4
+ "confirmSingle": "Dit object wordt permanent verwijderd.",
5
+ "delete": "Verwijderen",
6
+ "deleteCount": "Verwijderen ({{n}})",
7
+ "deleteFeature": "Object verwijderen"
8
+ }
@@ -0,0 +1,8 @@
1
+ {
2
+ "cancel": "Anuluj",
3
+ "confirmMultiple": "Te obiekty zostaną trwale usunięte.",
4
+ "confirmSingle": "Ten obiekt zostanie trwale usunięty.",
5
+ "delete": "Usuń",
6
+ "deleteCount": "Usuń ({{n}})",
7
+ "deleteFeature": "Usuń obiekt"
8
+ }
@@ -0,0 +1,8 @@
1
+ {
2
+ "cancel": "Cancelar",
3
+ "confirmMultiple": "Estas feições serão permanentemente removidas.",
4
+ "confirmSingle": "Esta feição será completamente removida.",
5
+ "delete": "Excluir",
6
+ "deleteCount": "Excluir ({{n}})",
7
+ "deleteFeature": "Excluir feição"
8
+ }
@@ -0,0 +1,8 @@
1
+ {
2
+ "cancel": "Cancelar",
3
+ "confirmMultiple": "Estes elementos serão permanentemente removidos.",
4
+ "confirmSingle": "Este elemento será permanentemente removido.",
5
+ "delete": "Eliminar",
6
+ "deleteCount": "Eliminar ({{n}})",
7
+ "deleteFeature": "Eliminar elemento"
8
+ }
@@ -0,0 +1,8 @@
1
+ {
2
+ "cancel": "Anulare",
3
+ "confirmMultiple": "Aceste obiecte spațiale vor fi eliminate definitiv.",
4
+ "confirmSingle": "Acest obiect spațial va fi eliminat definitiv.",
5
+ "delete": "Ștergere",
6
+ "deleteCount": "Ștergere ({{n}})",
7
+ "deleteFeature": "Ştergere obiect spaţial"
8
+ }
@@ -0,0 +1,8 @@
1
+ {
2
+ "cancel": "Отмена",
3
+ "confirmMultiple": "Эти объекты будут удалены навсегда.",
4
+ "confirmSingle": "Этот объект будет полностью удален.",
5
+ "delete": "Удалить",
6
+ "deleteCount": "Удалить ({{n}})",
7
+ "deleteFeature": "Удалить объект"
8
+ }
@@ -0,0 +1,8 @@
1
+ {
2
+ "cancel": "Zrušiť",
3
+ "confirmMultiple": "Tieto prvky budú natrvalo odstránené.",
4
+ "confirmSingle": "Tento prvok bude natrvalo odstránený.",
5
+ "delete": "Zmazať",
6
+ "deleteCount": "Zmazať ({{n}})",
7
+ "deleteFeature": "Zmazať prvok"
8
+ }
@@ -0,0 +1,8 @@
1
+ {
2
+ "cancel": "Prekliči",
3
+ "confirmMultiple": "Ti geoobjekti bodo trajno odstranjeni.",
4
+ "confirmSingle": "Ta geoobjekt bo trajno odstranjen.",
5
+ "delete": "Izbriši",
6
+ "deleteCount": "Izbriši ({{n}})",
7
+ "deleteFeature": "Izbriši geoobjekt"
8
+ }
@@ -0,0 +1,8 @@
1
+ {
2
+ "cancel": "Otkaži",
3
+ "confirmMultiple": "Ove karakteristike će biti trajno uklonjene.",
4
+ "confirmSingle": "Ovaj geoobjekat će biti trajno uklonjen.",
5
+ "delete": "Izbriši",
6
+ "deleteCount": "Brisanje ({{n}})",
7
+ "deleteFeature": "Obriši geoobjekat"
8
+ }
@@ -0,0 +1,8 @@
1
+ {
2
+ "cancel": "Avbryt",
3
+ "confirmMultiple": "Dessa geoobjekt tas bort permanent.",
4
+ "confirmSingle": "Geoobjektet tas bort permanent.",
5
+ "delete": "Ta bort",
6
+ "deleteCount": "Ta bort ({{n}})",
7
+ "deleteFeature": "Ta bort geoobjekt"
8
+ }
@@ -0,0 +1,8 @@
1
+ {
2
+ "cancel": "ยกเลิก",
3
+ "confirmMultiple": "ฟีเจอร์เหล่านี้จะถูกลบออกอย่างถาวร",
4
+ "confirmSingle": "ฟีเจอร์นี้จะถูกลบออกอย่างถาวร",
5
+ "delete": "ลบ",
6
+ "deleteCount": "ลบ ({{n}})",
7
+ "deleteFeature": "ลบข้อมูลนี้"
8
+ }
@@ -0,0 +1,8 @@
1
+ {
2
+ "cancel": "İptal",
3
+ "confirmMultiple": "Bu detaylar kalıcı olarak kaldırılacak.",
4
+ "confirmSingle": "Bu detay kalıcı olarak kaldırılacak.",
5
+ "delete": "Sil",
6
+ "deleteCount": "Sil ({{n}})",
7
+ "deleteFeature": "Detayı sil"
8
+ }
@@ -0,0 +1,8 @@
1
+ {
2
+ "cancel": "Скасувати",
3
+ "confirmMultiple": "Ці об'єкти будуть вилучені остаточно.",
4
+ "confirmSingle": "Цей об'єкт буде назавжди видалено.",
5
+ "delete": "Видалити",
6
+ "deleteCount": "Видалити ({{n}})",
7
+ "deleteFeature": "Видалити об'єкт"
8
+ }
@@ -0,0 +1,8 @@
1
+ {
2
+ "cancel": "Hủy",
3
+ "confirmMultiple": "Những đối tượng này sẽ bị xóa vĩnh viễn.",
4
+ "confirmSingle": "Đối tượng này sẽ bị xóa vĩnh viễn.",
5
+ "delete": "Xóa",
6
+ "deleteCount": "Xóa ({{n}})",
7
+ "deleteFeature": "Xóa đối tượng"
8
+ }
@@ -0,0 +1,8 @@
1
+ {
2
+ "cancel": "取消",
3
+ "confirmMultiple": "这些要素将永久移除。",
4
+ "confirmSingle": "此要素将永久移除。",
5
+ "delete": "删除",
6
+ "deleteCount": "删除 ({{n}})",
7
+ "deleteFeature": "删除要素"
8
+ }
@@ -0,0 +1,8 @@
1
+ {
2
+ "cancel": "取消",
3
+ "confirmMultiple": "將永久移除這些圖徵。",
4
+ "confirmSingle": "將永久移除此圖徵。",
5
+ "delete": "刪除",
6
+ "deleteCount": "刪除 ({{n}})",
7
+ "deleteFeature": "刪除圖徵"
8
+ }
@@ -0,0 +1,8 @@
1
+ {
2
+ "cancel": "取消",
3
+ "confirmMultiple": "將永久移除這些圖徵。",
4
+ "confirmSingle": "將永久移除此圖徵。",
5
+ "delete": "刪除",
6
+ "deleteCount": "刪除 ({{n}})",
7
+ "deleteFeature": "刪除圖徵"
8
+ }
@@ -12,6 +12,7 @@
12
12
  "components/crowdsource-reporter/crowdsource-reporter.js",
13
13
  "components/deduct-calculator/deduct-calculator.js",
14
14
  "components/delete-button/delete-button.js",
15
+ "components/delete-dialog/delete-dialog.js",
15
16
  "components/edit-card/edit-card.js",
16
17
  "components/feature-comments/feature-comments.js",
17
18
  "components/feature-details/feature-details.js",
@@ -60,8 +60,9 @@
60
60
 
61
61
  .show-map {
62
62
  padding: 10px !important;
63
- position: absolute;
63
+ position: absolute !important;
64
64
  bottom: 0;
65
+ height: auto !important;
65
66
  width: calc(100% - 22px);
66
67
  }
67
68
 
@@ -419,7 +419,9 @@ export class CreateFeature {
419
419
  if (state === 'ready') {
420
420
  this._mapViewContainer?.classList?.replace("show-map", "hide-map");
421
421
  this._editor.viewModel.featureFormViewModel.on('submit', this.submitted.bind(this));
422
- void this._setFloorLevel(this.floorLevel);
422
+ setTimeout(() => {
423
+ void this._setFloorLevel(this.floorLevel);
424
+ }, 50);
423
425
  this._currentPage = 'featureForm';
424
426
  this.progressStatus.emit(1);
425
427
  this.drawComplete.emit();
@@ -102,6 +102,10 @@
102
102
  position: absolute;
103
103
  }
104
104
 
105
+ .position-sticky {
106
+ position: sticky;
107
+ }
108
+
105
109
  .height-50 {
106
110
  height: 50%;
107
111
  }
@@ -456,7 +456,8 @@ export class CrowdsourceManager {
456
456
  const headerTheme = this.popupHeaderColor ? "" : !this._isPortraitMobile ? "calcite-mode-dark" : "calcite-mode-light";
457
457
  const containerClass = this._isPortraitMobile && this._hideTable ? "position-absolute-0 width-full height-full" : this._isPortraitMobile ? "display-none height-0" : "";
458
458
  const tableViewClass = this.mapInfos?.length > 1 && this.appLayout === "tableView" ? "position-relative top-51" : "";
459
- return (h("div", { class: `${headerTheme} ${popupNodeClass} ${containerClass} ${tableViewClass}`, style: {
459
+ // position-sticky added to avoid an issue where this dialog would overlap the delete message modal in some small screens
460
+ return (h("div", { class: `${headerTheme} ${popupNodeClass} ${containerClass} ${tableViewClass} position-sticky`, style: {
460
461
  '--calcite-color-foreground-1': this.popupHeaderColor, /* background color that will be displayed on the popup header */
461
462
  '--calcite-color-foreground-2': this.popupHeaderHoverColor, /* background color that will be displayed on button when hovered */
462
463
  '--calcite-color-text-3': this.popupHeaderTextColor, /* font color that will be displayed on button */
@@ -256,7 +256,8 @@ export class CrowdsourceReporter {
256
256
  }
257
257
  }
258
258
  }
259
- if (this._layerList) {
259
+ // refresh layer list when user is on layer list panel
260
+ if (this._flowItems[this._flowItems.length - 1] === "layer-list" && this._layerList) {
260
261
  await this._layerList.refresh();
261
262
  }
262
263
  if (this._featureList) {
@@ -273,7 +274,8 @@ export class CrowdsourceReporter {
273
274
  if (this._editableLayerIds) {
274
275
  await this._updateFeatures();
275
276
  setTimeout(() => {
276
- if (this._layerList) {
277
+ // refresh layer list when user is on layer list panel
278
+ if (this._flowItems[this._flowItems.length - 1] === "layer-list" && this._layerList) {
277
279
  void this._layerList.refresh();
278
280
  }
279
281
  if (this._featureList) {
@@ -323,7 +325,7 @@ export class CrowdsourceReporter {
323
325
  */
324
326
  render() {
325
327
  const themeClass = this.theme === "dark" ? "calcite-mode-dark" : "calcite-mode-light";
326
- return (h(Host, { key: 'bb2f79258038360e5c0b894ce5a21dcdd41d0ce4' }, this._reportSubmitted && h("calcite-alert", { key: 'aa244cd93326c8817b851d2465c7b9c453117ad2', "auto-close": true, class: themeClass + " report-submitted-msg", icon: "check-circle", kind: "success", label: "", onCalciteAlertClose: () => { this._reportSubmitted = false; }, open: true, placement: "top" }, h("div", { key: '25d6d6bd01ee8dc260bce41ea6c43eafa609292e', slot: "message" }, this.reportSubmittedMessage ? this.reportSubmittedMessage : this._translations.submitMsg)), this._featureCreationFailedErrorMsg && h("calcite-alert", { key: '06851f2f8cabebd0e953c31bdddfdeac363a4e6e', "auto-close": true, class: themeClass, icon: "x-octagon", kind: "danger", label: "", onCalciteAlertClose: () => { this._featureCreationFailedErrorMsg = ""; }, open: true, placement: "top" }, h("div", { key: 'f0d73a00a8150a78c48cc09e8901ad7dcb438e90', slot: "title" }, this._translations.error), h("div", { key: '0747a85bbf4936a28dd85a9ea0e8b416f70ee7cf', slot: "message" }, this._featureCreationFailedErrorMsg)), this._commentSubmitted && h("calcite-alert", { key: '55017090c066ad4e12023315bde39e8c7fa67091', "auto-close": true, class: 'report-submitted ' + themeClass, icon: "check-circle", kind: "success", label: "", onCalciteAlertClose: () => { this._commentSubmitted = false; }, open: true, placement: "top" }, h("div", { key: 'cb63168c1fe507b7b93ac4f58d5283ad0d09b34b', slot: "message" }, this.commentSubmittedMessage || this._translations.commentSubmittedMsg)), this._addingCommentFailed && h("calcite-alert", { key: '36b551428b32c7d93f4d04639504bfe326bbc9c8', "auto-close": true, class: themeClass, icon: "x-octagon", kind: "danger", label: "", onCalciteAlertClose: () => { this._addingCommentFailed = false; }, open: true, placement: "top" }, h("div", { key: '2e9865c5611f4960bb622f75f386a489abcbb484', slot: "title" }, this._translations.error), h("div", { key: 'ebdf339d63369e18b1c68867cdffb9bd40f52766', slot: "message" }, this._translations.addingCommentFailedMsg)), h("div", { key: 'a08980aead377e11697e96e77aa514ed66dc9613' }, h("calcite-shell", { key: '6d96e769ece33073870f2b8f1a7ef6a44006c3f0', "content-behind": true }, this._getReporter()))));
328
+ return (h(Host, { key: 'c8f50d4d6004a875444a863a9e839442708f732b' }, this._reportSubmitted && h("calcite-alert", { key: '5f556d67fd9f04c6277b88c0ad0f774ec9216850', "auto-close": true, class: themeClass + " report-submitted-msg", icon: "check-circle", kind: "success", label: "", onCalciteAlertClose: () => { this._reportSubmitted = false; }, open: true, placement: "top" }, h("div", { key: '0204b9967307421fdfeafc61eca006db62f99aab', slot: "message" }, this.reportSubmittedMessage ? this.reportSubmittedMessage : this._translations.submitMsg)), this._featureCreationFailedErrorMsg && h("calcite-alert", { key: 'fd21dc9f77fddd3b5a1edcef8f4ac0983018fb97', "auto-close": true, class: themeClass, icon: "x-octagon", kind: "danger", label: "", onCalciteAlertClose: () => { this._featureCreationFailedErrorMsg = ""; }, open: true, placement: "top" }, h("div", { key: '3a33593f8c3285d38f651316ea2f4acc148606ec', slot: "title" }, this._translations.error), h("div", { key: '588890b6760a7657218282ddff9f3db94b9f73f6', slot: "message" }, this._featureCreationFailedErrorMsg)), this._commentSubmitted && h("calcite-alert", { key: 'b999711f77b1f5c94a84b4ca5f80d33a4d352ea2', "auto-close": true, class: 'report-submitted ' + themeClass, icon: "check-circle", kind: "success", label: "", onCalciteAlertClose: () => { this._commentSubmitted = false; }, open: true, placement: "top" }, h("div", { key: 'ed7f7b1604d5dcdbf146fdbae108081742806587', slot: "message" }, this.commentSubmittedMessage || this._translations.commentSubmittedMsg)), this._addingCommentFailed && h("calcite-alert", { key: '4bbcb945e9cc232ba77b327247b37b4ca420a77c', "auto-close": true, class: themeClass, icon: "x-octagon", kind: "danger", label: "", onCalciteAlertClose: () => { this._addingCommentFailed = false; }, open: true, placement: "top" }, h("div", { key: 'b75dad85bd1a793232c99b7d870fc9df9ccc0303', slot: "title" }, this._translations.error), h("div", { key: 'f161f78d54beba9ecaeccedd69d8e019c88a48e4', slot: "message" }, this._translations.addingCommentFailedMsg)), h("div", { key: '43aea9a8138da6645ee420e9e2abe21a3cbe4c91' }, h("calcite-shell", { key: '5fd031aba8feed8d54e3118a7a99a5be8254c89f', "content-behind": true }, this._getReporter()))));
327
329
  }
328
330
  //--------------------------------------------------------------------------
329
331
  //
@@ -445,6 +447,7 @@ export class CrowdsourceReporter {
445
447
  if (canRestoreFilter) {
446
448
  void this._filterList.restoreFilters(this._filterUrlParams[0], this._filterInitState);
447
449
  }
450
+ this._filterInitState = null;
448
451
  }, 200);
449
452
  }
450
453
  /**
@@ -456,12 +459,6 @@ export class CrowdsourceReporter {
456
459
  this._filterActive = false;
457
460
  this._filterUrlParams = null;
458
461
  this._filterInitState = null;
459
- if (this._featureList) {
460
- await this._featureList.refresh();
461
- }
462
- if (this._layerList) {
463
- await this._layerList.refresh();
464
- }
465
462
  }
466
463
  /**
467
464
  * Check if the layers definitionExpression has been modified and update the feature list depending on the applied filters
@@ -473,11 +470,7 @@ export class CrowdsourceReporter {
473
470
  //set the filter active state based on the length of applied filters
474
471
  this._filterActive = this._filterList.urlParams.getAll('filter').length > 0;
475
472
  this._filterUrlParams = this._filterList.urlParams.getAll('filter');
476
- this._filterInitState = await this._filterList.getFilterInitState();
477
473
  await this._featureList.refresh();
478
- if (this._layerList) {
479
- await this._layerList.refresh();
480
- }
481
474
  this._showLoadingIndicator = false;
482
475
  }
483
476
  /**
@@ -583,15 +576,15 @@ export class CrowdsourceReporter {
583
576
  * On submit report navigate to the layer list home page and refresh the layer list
584
577
  * @protected
585
578
  */
586
- onReportSubmitted() {
579
+ async onReportSubmitted() {
580
+ void this.updateNonVisibleLayersOnMap(false);
581
+ await this.navigateToHomePage();
582
+ this._reportSubmitted = true;
583
+ this._updatedProgressBarStatus = 0.25;
587
584
  //on report submit form will be closed, so update the form state
588
585
  if (this._showFullPanel) {
589
586
  this.updatePanelState(this._sidePanelCollapsed, false);
590
587
  }
591
- void this.updateNonVisibleLayersOnMap(false);
592
- this._reportSubmitted = true;
593
- this._updatedProgressBarStatus = 0.25;
594
- void this.navigateToHomePage();
595
588
  }
596
589
  /**
597
590
  * On adding the is failed, show the error message
@@ -621,10 +614,11 @@ export class CrowdsourceReporter {
621
614
  * @protected
622
615
  */
623
616
  async navigateToHomePage() {
617
+ // set the selected features and then refresh the layer list to maintain the layer's visibility state
618
+ await this.setSelectedFeatures([]);
624
619
  if (this._layerList) {
625
- void this._layerList.refresh();
620
+ await this._layerList.refresh();
626
621
  }
627
- await this.setSelectedFeatures([]);
628
622
  if (this._editableLayerIds.length === 1) {
629
623
  await this._featureList.refresh();
630
624
  this._flowItems = ["feature-list"];
@@ -733,6 +727,15 @@ export class CrowdsourceReporter {
733
727
  prevLayer.definitionExpression = this._filterInitState.initDefExpressions[this._prevSelectedLayerId];
734
728
  void this._handleFilterListReset();
735
729
  }
730
+ /**
731
+ * On back from filter panel get the filter's init state
732
+ * @protected
733
+ */
734
+ async backFromFilterPanel() {
735
+ this._filterInitState = await this._filterList.getFilterInitState();
736
+ await this._featureList.refresh();
737
+ this.backFromSelectedPanel();
738
+ }
736
739
  /**
737
740
  * On back from selected panel navigate to the previous panel
738
741
  * @protected
@@ -857,7 +860,7 @@ export class CrowdsourceReporter {
857
860
  */
858
861
  getFilterPanel() {
859
862
  const currentLayersExpressions = this.layerExpressions ? this.layerExpressions.filter((exp) => exp.id === this._selectedLayerId) : [];
860
- return (h("calcite-flow-item", { collapsed: this.isMobile && this._sidePanelCollapsed, heading: this._translations?.filterLayerTitle?.replace("{{title}}", this._selectedLayerName), loading: this._showLoadingIndicator, onCalciteFlowItemBack: this.backFromSelectedPanel.bind(this) }, this.isMobile && this.getActionToExpandCollapsePanel(), h("div", { class: "width-full", slot: "footer" }, h("div", { class: "width-full", slot: "footer" }, h("calcite-button", { appearance: "solid", class: "footer-top-button footer-button", disabled: !this._filterActive, onClick: () => { void this._filterList?.forceReset(); }, width: "full" }, this._translations.resetFilter), h("calcite-button", { appearance: "outline", class: "footer-button", onClick: this.backFromSelectedPanel.bind(this), width: "full" }, this._translations.close))), h("calcite-panel", { "full-height": true }, h("instant-apps-filter-list", { autoUpdateUrl: false, closeBtnOnClick: () => undefined, comboboxOverlayPositioning: "fixed", layerExpressions: currentLayersExpressions, onFilterListReset: () => this._handleFilterListReset(), onFilterUpdate: () => this._handleFilterUpdate(), ref: (el) => this._filterList = el, resetBtn: false, resetFiltersOnDisconnect: false, view: this.mapView, zoomBtn: false }))));
863
+ return (h("calcite-flow-item", { collapsed: this.isMobile && this._sidePanelCollapsed, heading: this._translations?.filterLayerTitle?.replace("{{title}}", this._selectedLayerName), loading: this._showLoadingIndicator, onCalciteFlowItemBack: this.backFromFilterPanel.bind(this) }, this.isMobile && this.getActionToExpandCollapsePanel(), h("div", { class: "width-full", slot: "footer" }, h("div", { class: "width-full", slot: "footer" }, h("calcite-button", { appearance: "solid", class: "footer-top-button footer-button", disabled: !this._filterActive, onClick: () => { void this._filterList?.forceReset(); }, width: "full" }, this._translations.resetFilter), h("calcite-button", { appearance: "outline", class: "footer-button", onClick: this.backFromFilterPanel.bind(this), width: "full" }, this._translations.close))), h("calcite-panel", { "full-height": true }, h("instant-apps-filter-list", { autoUpdateUrl: false, closeBtnOnClick: () => undefined, comboboxOverlayPositioning: "fixed", layerExpressions: currentLayersExpressions, onFilterListReset: () => this._handleFilterListReset(), onFilterUpdate: () => this._handleFilterUpdate(), ref: (el) => this._filterList = el, resetBtn: false, resetFiltersOnDisconnect: false, view: this.mapView, zoomBtn: false }))));
861
864
  }
862
865
  /**
863
866
  * Returns the calcite-flow item for feature details