@esri/solutions-components 0.10.34 → 0.10.36

Sign up to get free protection for your applications and to get access to all the features.
Files changed (307) hide show
  1. package/dist/cjs/basemap-gallery_7.cjs.entry.js +7 -6
  2. package/dist/cjs/buffer-tools_3.cjs.entry.js +1 -1
  3. package/dist/cjs/calcite-alert_5.cjs.entry.js +10 -8
  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 +22 -11
  10. package/dist/cjs/crowdsource-manager.cjs.entry.js +28 -31
  11. package/dist/cjs/crowdsource-reporter.cjs.entry.js +24 -21
  12. package/dist/cjs/{downloadUtils-20637f89.js → downloadUtils-76bc7e30.js} +6 -5
  13. package/dist/cjs/feature-comments.cjs.entry.js +1 -1
  14. package/dist/cjs/feature-form-flow-item.cjs.entry.js +1 -1
  15. package/dist/cjs/feature-list.cjs.entry.js +7 -7
  16. package/dist/cjs/features-flow-item.cjs.entry.js +1 -1
  17. package/dist/cjs/{index.es-a242cb45.js → index.es-8336efed.js} +2 -2
  18. package/dist/cjs/layout-manager.cjs.entry.js +1 -1
  19. package/dist/cjs/list-flow-item.cjs.entry.js +1 -1
  20. package/dist/cjs/loader.cjs.js +1 -1
  21. package/dist/cjs/location-flow-item.cjs.entry.js +1 -1
  22. package/dist/cjs/map-select-tools_3.cjs.entry.js +5 -5
  23. package/dist/cjs/pci-calculator.cjs.entry.js +1 -1
  24. package/dist/cjs/{popupUtils-d477705b.js → popupUtils-bc762034.js} +1 -1
  25. package/dist/cjs/public-notification.cjs.entry.js +3 -3
  26. package/dist/cjs/refine-results-flow-item.cjs.entry.js +1 -1
  27. package/dist/cjs/share-item.cjs.entry.js +1 -1
  28. package/dist/cjs/solution-configuration.cjs.entry.js +3 -3
  29. package/dist/cjs/solution-contents_3.cjs.entry.js +3 -3
  30. package/dist/cjs/solution-item-accordion.cjs.entry.js +1 -1
  31. package/dist/cjs/solution-item-icon.cjs.entry.js +1 -1
  32. package/dist/cjs/solutions-components.cjs.js +1 -1
  33. package/dist/cjs/spatial-ref.cjs.entry.js +1 -1
  34. package/dist/collection/assets/t9n/delete-dialog/resources.json +8 -0
  35. package/dist/collection/assets/t9n/delete-dialog/resources_ar.json +8 -0
  36. package/dist/collection/assets/t9n/delete-dialog/resources_bg.json +8 -0
  37. package/dist/collection/assets/t9n/delete-dialog/resources_bs.json +8 -0
  38. package/dist/collection/assets/t9n/delete-dialog/resources_ca.json +8 -0
  39. package/dist/collection/assets/t9n/delete-dialog/resources_cs.json +8 -0
  40. package/dist/collection/assets/t9n/delete-dialog/resources_da.json +8 -0
  41. package/dist/collection/assets/t9n/delete-dialog/resources_de.json +8 -0
  42. package/dist/collection/assets/t9n/delete-dialog/resources_el.json +8 -0
  43. package/dist/collection/assets/t9n/delete-dialog/resources_en.json +8 -0
  44. package/dist/collection/assets/t9n/delete-dialog/resources_es.json +8 -0
  45. package/dist/collection/assets/t9n/delete-dialog/resources_et.json +8 -0
  46. package/dist/collection/assets/t9n/delete-dialog/resources_fi.json +8 -0
  47. package/dist/collection/assets/t9n/delete-dialog/resources_fr.json +8 -0
  48. package/dist/collection/assets/t9n/delete-dialog/resources_he.json +8 -0
  49. package/dist/collection/assets/t9n/delete-dialog/resources_hr.json +8 -0
  50. package/dist/collection/assets/t9n/delete-dialog/resources_hu.json +8 -0
  51. package/dist/collection/assets/t9n/delete-dialog/resources_id.json +8 -0
  52. package/dist/collection/assets/t9n/delete-dialog/resources_it.json +8 -0
  53. package/dist/collection/assets/t9n/delete-dialog/resources_ja.json +8 -0
  54. package/dist/collection/assets/t9n/delete-dialog/resources_ko.json +8 -0
  55. package/dist/collection/assets/t9n/delete-dialog/resources_lt.json +8 -0
  56. package/dist/collection/assets/t9n/delete-dialog/resources_lv.json +8 -0
  57. package/dist/collection/assets/t9n/delete-dialog/resources_nb.json +8 -0
  58. package/dist/collection/assets/t9n/delete-dialog/resources_nl.json +8 -0
  59. package/dist/collection/assets/t9n/delete-dialog/resources_pl.json +8 -0
  60. package/dist/collection/assets/t9n/delete-dialog/resources_pt-BR.json +8 -0
  61. package/dist/collection/assets/t9n/delete-dialog/resources_pt-PT.json +8 -0
  62. package/dist/collection/assets/t9n/delete-dialog/resources_ro.json +8 -0
  63. package/dist/collection/assets/t9n/delete-dialog/resources_ru.json +8 -0
  64. package/dist/collection/assets/t9n/delete-dialog/resources_sk.json +8 -0
  65. package/dist/collection/assets/t9n/delete-dialog/resources_sl.json +8 -0
  66. package/dist/collection/assets/t9n/delete-dialog/resources_sr.json +8 -0
  67. package/dist/collection/assets/t9n/delete-dialog/resources_sv.json +8 -0
  68. package/dist/collection/assets/t9n/delete-dialog/resources_th.json +8 -0
  69. package/dist/collection/assets/t9n/delete-dialog/resources_tr.json +8 -0
  70. package/dist/collection/assets/t9n/delete-dialog/resources_uk.json +8 -0
  71. package/dist/collection/assets/t9n/delete-dialog/resources_vi.json +8 -0
  72. package/dist/collection/assets/t9n/delete-dialog/resources_zh-CN.json +8 -0
  73. package/dist/collection/assets/t9n/delete-dialog/resources_zh-HK.json +8 -0
  74. package/dist/collection/assets/t9n/delete-dialog/resources_zh-TW.json +8 -0
  75. package/dist/collection/collection-manifest.json +1 -0
  76. package/dist/collection/components/create-feature/create-feature.css +2 -1
  77. package/dist/collection/components/create-feature/create-feature.js +3 -1
  78. package/dist/collection/components/crowdsource-manager/crowdsource-manager.css +4 -0
  79. package/dist/collection/components/crowdsource-manager/crowdsource-manager.js +29 -30
  80. package/dist/collection/components/crowdsource-reporter/crowdsource-reporter.js +24 -21
  81. package/dist/collection/components/delete-button/delete-button.js +20 -27
  82. package/dist/collection/components/delete-dialog/delete-dialog.css +23 -0
  83. package/dist/collection/components/delete-dialog/delete-dialog.js +239 -0
  84. package/dist/collection/components/edit-card/edit-card.js +1 -1
  85. package/dist/collection/components/feature-comments/feature-comments.js +1 -1
  86. package/dist/collection/components/feature-details/feature-details.js +13 -11
  87. package/dist/collection/components/feature-form-flow-item/feature-form-flow-item.js +1 -1
  88. package/dist/collection/components/feature-list/feature-list.js +4 -4
  89. package/dist/collection/components/features-flow-item/features-flow-item.js +1 -1
  90. package/dist/collection/components/floor-filter/floor-filter.js +1 -1
  91. package/dist/collection/components/info-card/info-card.js +2 -2
  92. package/dist/collection/components/json-editor/json-editor.js +1 -1
  93. package/dist/collection/components/layer-list/layer-list.js +5 -5
  94. package/dist/collection/components/layer-table/layer-table.css +6 -0
  95. package/dist/collection/components/layer-table/layer-table.js +19 -7
  96. package/dist/collection/components/layout-manager/layout-manager.js +1 -1
  97. package/dist/collection/components/list-flow-item/list-flow-item.js +1 -1
  98. package/dist/collection/components/location-flow-item/location-flow-item.js +1 -1
  99. package/dist/collection/components/map-card/map-card.js +1 -1
  100. package/dist/collection/components/map-draw-tools/map-draw-tools.js +1 -1
  101. package/dist/collection/components/map-fullscreen/map-fullscreen.js +1 -1
  102. package/dist/collection/components/map-layer-picker/map-layer-picker.js +1 -1
  103. package/dist/collection/components/map-legend/map-legend.js +2 -1
  104. package/dist/collection/components/map-picker/map-picker.js +1 -1
  105. package/dist/collection/components/map-search/map-search.js +1 -1
  106. package/dist/collection/components/map-select-tools/map-select-tools.js +1 -1
  107. package/dist/collection/components/map-tools/map-tools.js +1 -1
  108. package/dist/collection/components/pci-calculator/pci-calculator.js +1 -1
  109. package/dist/collection/components/pdf-download/pdf-download.js +1 -1
  110. package/dist/collection/components/public-notification/public-notification.js +1 -1
  111. package/dist/collection/components/refine-results-flow-item/refine-results-flow-item.js +1 -1
  112. package/dist/collection/components/refine-selection/refine-selection.js +1 -1
  113. package/dist/collection/components/share-item/share-item.js +1 -1
  114. package/dist/collection/components/solution-configuration/solution-configuration.js +3 -3
  115. package/dist/collection/components/solution-contents/solution-contents.js +1 -1
  116. package/dist/collection/components/solution-item/solution-item.js +1 -1
  117. package/dist/collection/components/solution-item-accordion/solution-item-accordion.js +1 -1
  118. package/dist/collection/components/solution-item-details/solution-item-details.js +1 -1
  119. package/dist/collection/components/solution-item-icon/solution-item-icon.js +1 -1
  120. package/dist/collection/components/solution-item-sharing/solution-item-sharing.js +1 -1
  121. package/dist/collection/components/solution-organization-variables/solution-organization-variables.js +1 -1
  122. package/dist/collection/components/solution-resource-item/solution-resource-item.js +1 -1
  123. package/dist/collection/components/solution-spatial-ref/solution-spatial-ref.js +1 -1
  124. package/dist/collection/components/solution-template-data/solution-template-data.js +1 -1
  125. package/dist/collection/components/solution-variables/solution-variables.js +1 -1
  126. package/dist/collection/components/spatial-ref/spatial-ref.js +1 -1
  127. package/dist/collection/utils/downloadUtils.js +5 -3
  128. package/dist/collection/utils/downloadUtils.ts +6 -3
  129. package/dist/collection/utils/test/downloadUtils.spec.tsx +10 -12
  130. package/dist/components/card-manager2.js +40 -34
  131. package/dist/components/create-feature2.js +4 -2
  132. package/dist/components/crowdsource-manager.js +127 -123
  133. package/dist/components/crowdsource-reporter.js +110 -101
  134. package/dist/components/delete-button2.js +24 -41
  135. package/dist/components/delete-dialog.d.ts +11 -0
  136. package/dist/components/delete-dialog.js +11 -0
  137. package/dist/components/delete-dialog2.js +165 -0
  138. package/dist/components/downloadUtils.js +5 -4
  139. package/dist/components/edit-card2.js +1 -1
  140. package/dist/components/feature-comments.js +1 -1
  141. package/dist/components/feature-details2.js +67 -59
  142. package/dist/components/feature-form-flow-item.js +1 -1
  143. package/dist/components/feature-list2.js +4 -4
  144. package/dist/components/features-flow-item.js +1 -1
  145. package/dist/components/floor-filter2.js +1 -1
  146. package/dist/components/info-card2.js +38 -32
  147. package/dist/components/json-editor2.js +1 -1
  148. package/dist/components/layer-list2.js +5 -5
  149. package/dist/components/layer-table2.js +100 -82
  150. package/dist/components/layout-manager.js +1 -1
  151. package/dist/components/list-flow-item.js +1 -1
  152. package/dist/components/location-flow-item.js +1 -1
  153. package/dist/components/map-card2.js +1 -1
  154. package/dist/components/map-draw-tools2.js +1 -1
  155. package/dist/components/map-fullscreen2.js +1 -1
  156. package/dist/components/map-layer-picker2.js +1 -1
  157. package/dist/components/map-legend2.js +2 -1
  158. package/dist/components/map-picker2.js +1 -1
  159. package/dist/components/map-search2.js +1 -1
  160. package/dist/components/map-select-tools2.js +1 -1
  161. package/dist/components/map-tools2.js +1 -1
  162. package/dist/components/pci-calculator.js +1 -1
  163. package/dist/components/pdf-download2.js +1 -1
  164. package/dist/components/public-notification.js +1 -1
  165. package/dist/components/refine-results-flow-item.js +1 -1
  166. package/dist/components/refine-selection2.js +1 -1
  167. package/dist/components/share-item.js +1 -1
  168. package/dist/components/solution-configuration.js +3 -3
  169. package/dist/components/solution-contents2.js +1 -1
  170. package/dist/components/solution-item-accordion.js +1 -1
  171. package/dist/components/solution-item-details2.js +1 -1
  172. package/dist/components/solution-item-icon2.js +1 -1
  173. package/dist/components/solution-item-sharing2.js +1 -1
  174. package/dist/components/solution-item2.js +1 -1
  175. package/dist/components/solution-organization-variables2.js +1 -1
  176. package/dist/components/solution-resource-item2.js +1 -1
  177. package/dist/components/solution-spatial-ref2.js +1 -1
  178. package/dist/components/solution-template-data2.js +1 -1
  179. package/dist/components/solution-variables2.js +1 -1
  180. package/dist/components/spatial-ref.js +1 -1
  181. package/dist/esm/basemap-gallery_7.entry.js +7 -6
  182. package/dist/esm/buffer-tools_3.entry.js +1 -1
  183. package/dist/esm/calcite-alert_5.entry.js +10 -8
  184. package/dist/esm/calcite-combobox_3.entry.js +1 -1
  185. package/dist/esm/calcite-flow_4.entry.js +18 -16
  186. package/dist/esm/{calcite-modal_3.entry.js → calcite-modal.entry.js} +30 -369
  187. package/dist/esm/calcite-shell-panel_14.entry.js +7 -7
  188. package/dist/esm/calcite-shell_3.entry.js +434 -0
  189. package/dist/esm/card-manager_3.entry.js +22 -11
  190. package/dist/esm/crowdsource-manager.entry.js +28 -31
  191. package/dist/esm/crowdsource-reporter.entry.js +24 -21
  192. package/dist/esm/{downloadUtils-e266e98d.js → downloadUtils-bc7a4ba1.js} +6 -5
  193. package/dist/esm/feature-comments.entry.js +1 -1
  194. package/dist/esm/feature-form-flow-item.entry.js +1 -1
  195. package/dist/esm/feature-list.entry.js +7 -7
  196. package/dist/esm/features-flow-item.entry.js +1 -1
  197. package/dist/esm/{index.es-c5f258e2.js → index.es-0d189a34.js} +2 -2
  198. package/dist/esm/layout-manager.entry.js +1 -1
  199. package/dist/esm/list-flow-item.entry.js +1 -1
  200. package/dist/esm/loader.js +1 -1
  201. package/dist/esm/location-flow-item.entry.js +1 -1
  202. package/dist/esm/map-select-tools_3.entry.js +5 -5
  203. package/dist/esm/pci-calculator.entry.js +1 -1
  204. package/dist/esm/{popupUtils-4570096e.js → popupUtils-03dc398a.js} +1 -1
  205. package/dist/esm/public-notification.entry.js +3 -3
  206. package/dist/esm/refine-results-flow-item.entry.js +1 -1
  207. package/dist/esm/share-item.entry.js +1 -1
  208. package/dist/esm/solution-configuration.entry.js +3 -3
  209. package/dist/esm/solution-contents_3.entry.js +3 -3
  210. package/dist/esm/solution-item-accordion.entry.js +1 -1
  211. package/dist/esm/solution-item-icon.entry.js +1 -1
  212. package/dist/esm/solutions-components.js +1 -1
  213. package/dist/esm/spatial-ref.entry.js +1 -1
  214. package/dist/solutions-components/assets/t9n/delete-dialog/resources.json +8 -0
  215. package/dist/solutions-components/assets/t9n/delete-dialog/resources_ar.json +8 -0
  216. package/dist/solutions-components/assets/t9n/delete-dialog/resources_bg.json +8 -0
  217. package/dist/solutions-components/assets/t9n/delete-dialog/resources_bs.json +8 -0
  218. package/dist/solutions-components/assets/t9n/delete-dialog/resources_ca.json +8 -0
  219. package/dist/solutions-components/assets/t9n/delete-dialog/resources_cs.json +8 -0
  220. package/dist/solutions-components/assets/t9n/delete-dialog/resources_da.json +8 -0
  221. package/dist/solutions-components/assets/t9n/delete-dialog/resources_de.json +8 -0
  222. package/dist/solutions-components/assets/t9n/delete-dialog/resources_el.json +8 -0
  223. package/dist/solutions-components/assets/t9n/delete-dialog/resources_en.json +8 -0
  224. package/dist/solutions-components/assets/t9n/delete-dialog/resources_es.json +8 -0
  225. package/dist/solutions-components/assets/t9n/delete-dialog/resources_et.json +8 -0
  226. package/dist/solutions-components/assets/t9n/delete-dialog/resources_fi.json +8 -0
  227. package/dist/solutions-components/assets/t9n/delete-dialog/resources_fr.json +8 -0
  228. package/dist/solutions-components/assets/t9n/delete-dialog/resources_he.json +8 -0
  229. package/dist/solutions-components/assets/t9n/delete-dialog/resources_hr.json +8 -0
  230. package/dist/solutions-components/assets/t9n/delete-dialog/resources_hu.json +8 -0
  231. package/dist/solutions-components/assets/t9n/delete-dialog/resources_id.json +8 -0
  232. package/dist/solutions-components/assets/t9n/delete-dialog/resources_it.json +8 -0
  233. package/dist/solutions-components/assets/t9n/delete-dialog/resources_ja.json +8 -0
  234. package/dist/solutions-components/assets/t9n/delete-dialog/resources_ko.json +8 -0
  235. package/dist/solutions-components/assets/t9n/delete-dialog/resources_lt.json +8 -0
  236. package/dist/solutions-components/assets/t9n/delete-dialog/resources_lv.json +8 -0
  237. package/dist/solutions-components/assets/t9n/delete-dialog/resources_nb.json +8 -0
  238. package/dist/solutions-components/assets/t9n/delete-dialog/resources_nl.json +8 -0
  239. package/dist/solutions-components/assets/t9n/delete-dialog/resources_pl.json +8 -0
  240. package/dist/solutions-components/assets/t9n/delete-dialog/resources_pt-BR.json +8 -0
  241. package/dist/solutions-components/assets/t9n/delete-dialog/resources_pt-PT.json +8 -0
  242. package/dist/solutions-components/assets/t9n/delete-dialog/resources_ro.json +8 -0
  243. package/dist/solutions-components/assets/t9n/delete-dialog/resources_ru.json +8 -0
  244. package/dist/solutions-components/assets/t9n/delete-dialog/resources_sk.json +8 -0
  245. package/dist/solutions-components/assets/t9n/delete-dialog/resources_sl.json +8 -0
  246. package/dist/solutions-components/assets/t9n/delete-dialog/resources_sr.json +8 -0
  247. package/dist/solutions-components/assets/t9n/delete-dialog/resources_sv.json +8 -0
  248. package/dist/solutions-components/assets/t9n/delete-dialog/resources_th.json +8 -0
  249. package/dist/solutions-components/assets/t9n/delete-dialog/resources_tr.json +8 -0
  250. package/dist/solutions-components/assets/t9n/delete-dialog/resources_uk.json +8 -0
  251. package/dist/solutions-components/assets/t9n/delete-dialog/resources_vi.json +8 -0
  252. package/dist/solutions-components/assets/t9n/delete-dialog/resources_zh-CN.json +8 -0
  253. package/dist/solutions-components/assets/t9n/delete-dialog/resources_zh-HK.json +8 -0
  254. package/dist/solutions-components/assets/t9n/delete-dialog/resources_zh-TW.json +8 -0
  255. package/dist/solutions-components/{p-ffa9a117.entry.js → p-04ab956c.entry.js} +1 -1
  256. package/dist/solutions-components/{p-6c3261d7.entry.js → p-06364211.entry.js} +1 -1
  257. package/dist/solutions-components/{p-d119872d.entry.js → p-18089a0b.entry.js} +1 -1
  258. package/dist/solutions-components/p-1f07e21a.entry.js +6 -0
  259. package/dist/solutions-components/p-2a6ecaa9.entry.js +11 -0
  260. package/dist/solutions-components/p-46416e11.entry.js +6 -0
  261. package/dist/solutions-components/{p-5fc0e134.entry.js → p-59ccd27c.entry.js} +1 -1
  262. package/dist/solutions-components/{p-42f75c8f.entry.js → p-6502d0f8.entry.js} +1 -1
  263. package/dist/solutions-components/{p-a568af9f.js → p-6f606cdb.js} +1 -1
  264. package/dist/solutions-components/p-70c0050c.entry.js +6 -0
  265. package/dist/solutions-components/p-720de4db.entry.js +6 -0
  266. package/dist/solutions-components/p-74bcef23.entry.js +11 -0
  267. package/dist/solutions-components/{p-4cb12506.entry.js → p-76154700.entry.js} +1 -1
  268. package/dist/solutions-components/p-82ddf716.entry.js +6 -0
  269. package/dist/solutions-components/{p-d08ece15.entry.js → p-841816a1.entry.js} +1 -1
  270. package/dist/solutions-components/p-938bc915.entry.js +6 -0
  271. package/dist/solutions-components/p-97fe6ec5.entry.js +6 -0
  272. package/dist/solutions-components/{p-dd0bd439.entry.js → p-9c4fef09.entry.js} +3 -3
  273. package/dist/solutions-components/{p-fa7672c7.entry.js → p-9d56f4b5.entry.js} +1 -1
  274. package/dist/solutions-components/p-9da8a590.entry.js +6 -0
  275. package/dist/solutions-components/{p-5fdb8f83.entry.js → p-a5d79c86.entry.js} +1 -1
  276. package/dist/solutions-components/{p-4f5913f3.entry.js → p-aac0c89c.entry.js} +1 -1
  277. package/dist/solutions-components/{p-ddc1218d.entry.js → p-be4c7ffd.entry.js} +1 -1
  278. package/dist/solutions-components/p-cd482a33.js +21 -0
  279. package/dist/solutions-components/p-d2612c30.entry.js +6 -0
  280. package/dist/solutions-components/{p-a07322cc.entry.js → p-df7de4b7.entry.js} +1 -1
  281. package/dist/solutions-components/{p-a8525233.entry.js → p-e345f9c4.entry.js} +1 -1
  282. package/dist/solutions-components/{p-1f072e2c.entry.js → p-eadff42b.entry.js} +1 -1
  283. package/dist/solutions-components/{p-06db1bfd.entry.js → p-efb4cb43.entry.js} +1 -1
  284. package/dist/solutions-components/{p-e4a42efa.entry.js → p-fa1c368c.entry.js} +1 -1
  285. package/dist/solutions-components/{p-46c8015c.js → p-ff9e28d1.js} +30 -30
  286. package/dist/solutions-components/solutions-components.esm.js +1 -1
  287. package/dist/solutions-components/utils/downloadUtils.ts +6 -3
  288. package/dist/solutions-components/utils/test/downloadUtils.spec.tsx +10 -12
  289. package/dist/types/components/crowdsource-manager/crowdsource-manager.d.ts +4 -7
  290. package/dist/types/components/crowdsource-reporter/crowdsource-reporter.d.ts +6 -1
  291. package/dist/types/components/delete-button/delete-button.d.ts +4 -12
  292. package/dist/types/components/delete-dialog/delete-dialog.d.ts +75 -0
  293. package/dist/types/components/layer-table/layer-table.d.ts +12 -0
  294. package/dist/types/components.d.ts +69 -0
  295. package/dist/types/preact.d.ts +5 -0
  296. package/package.json +2 -1
  297. package/dist/solutions-components/p-2360802a.js +0 -21
  298. package/dist/solutions-components/p-51e2500f.entry.js +0 -6
  299. package/dist/solutions-components/p-52280e10.entry.js +0 -17
  300. package/dist/solutions-components/p-67ca4a64.entry.js +0 -6
  301. package/dist/solutions-components/p-7e6a8c06.entry.js +0 -6
  302. package/dist/solutions-components/p-8a411917.entry.js +0 -6
  303. package/dist/solutions-components/p-8d2d66d0.entry.js +0 -6
  304. package/dist/solutions-components/p-8e6081e0.entry.js +0 -6
  305. package/dist/solutions-components/p-b9b77b87.entry.js +0 -6
  306. package/dist/solutions-components/p-cf878a34.entry.js +0 -6
  307. package/dist/solutions-components/p-edd88d2d.entry.js +0 -6
@@ -14,7 +14,7 @@ const mapViewUtils = require('./mapViewUtils-18c46b84.js');
14
14
  require('./esri-loader-08dc41bd.js');
15
15
  require('./_commonjsHelpers-baf43783.js');
16
16
 
17
- const crowdsourceManagerCss = ":host{display:block;--calcite-label-margin-bottom:0px;--solutions-theme-foreground-color:var(--calcite-color-foreground-1)}.padding-1-2{padding:0.5rem}.display-flex{display:flex}.width-full{width:100%}.width-1-2{position:relative;width:50%}.width-1-3{position:relative;width:33.33%}.width-2-3{position:relative;width:66.66%}.width-0{width:0}.height-full{height:100%}.height-1-2{position:relative;height:50%}.height-0{height:0}.toggle-node{width:51px;height:51px}.overflow-hidden{overflow:hidden}.flex-column{flex-direction:column}.border{border:1px solid var(--calcite-color-border-3)}.border-bottom{border-bottom:1px solid var(--calcite-color-border-3)}.border-right{border-right:2px solid var(--calcite-color-border-3)}.border-sides{border-left:1px solid var(--calcite-color-border-3);border-right:1px solid var(--calcite-color-border-3)}.position-relative{position:relative}.position-absolute{position:absolute}.height-50{height:50%}.top-51{top:51px}.adjusted-height-50{height:calc(50% - 25px)}.adjusted-height-100{height:calc(100% - 50px)}.adjusted-height-100-51{height:calc(100% - 51px)}.display-none{display:none !important}.adjusted-height-50_25{height:calc(50% + 25px)}.position-absolute-53{position:absolute;top:53px}.display-grid{display:grid}.height-50-px{height:50px}.padding-inline-start-75{padding-inline-start:0.75rem}.align-items-center{align-items:center}.esri-floor-filter__close-levels-button{width:40px !important;height:40px !important}.esri-floor-filter__level-button{width:40px !important;height:40px !important}.esri-floor-filter__browse-button{width:40px !important;height:40px !important}.position-absolute-50{position:absolute;top:50px;bottom:0px;left:0px;right:0px}.position-absolute-0{position:absolute;top:0px;bottom:0px;left:0px;right:0px}.visibility-hidden{visibility:hidden;height:0px}.position-fixed{position:fixed}.border-width-0{border-width:0px}.border-bottom-width-0{border-bottom-width:0px}.floating-container{position:fixed;width:100px;height:10px;bottom:0;right:0;margin:100px 0px}.floating-container .floating-button{box-shadow:0 10px 25px rgb(92 93 94 / 60%);transform:translatey(5px);transition:all 0.3s}.z-index-0{z-index:0 !important}";
17
+ const crowdsourceManagerCss = ":host{display:block;--calcite-label-margin-bottom:0px;--solutions-theme-foreground-color:var(--calcite-color-foreground-1)}.padding-1-2{padding:0.5rem}.display-flex{display:flex}.width-full{width:100%}.width-1-2{position:relative;width:50%}.width-1-3{position:relative;width:33.33%}.width-2-3{position:relative;width:66.66%}.width-0{width:0}.height-full{height:100%}.height-1-2{position:relative;height:50%}.height-0{height:0}.toggle-node{width:51px;height:51px}.overflow-hidden{overflow:hidden}.flex-column{flex-direction:column}.border{border:1px solid var(--calcite-color-border-3)}.border-bottom{border-bottom:1px solid var(--calcite-color-border-3)}.border-right{border-right:2px solid var(--calcite-color-border-3)}.border-sides{border-left:1px solid var(--calcite-color-border-3);border-right:1px solid var(--calcite-color-border-3)}.position-relative{position:relative}.position-absolute{position:absolute}.position-sticky{position:sticky}.height-50{height:50%}.top-51{top:51px}.adjusted-height-50{height:calc(50% - 25px)}.adjusted-height-100{height:calc(100% - 50px)}.adjusted-height-100-51{height:calc(100% - 51px)}.display-none{display:none !important}.adjusted-height-50_25{height:calc(50% + 25px)}.position-absolute-53{position:absolute;top:53px}.display-grid{display:grid}.height-50-px{height:50px}.padding-inline-start-75{padding-inline-start:0.75rem}.align-items-center{align-items:center}.esri-floor-filter__close-levels-button{width:40px !important;height:40px !important}.esri-floor-filter__level-button{width:40px !important;height:40px !important}.esri-floor-filter__browse-button{width:40px !important;height:40px !important}.position-absolute-50{position:absolute;top:50px;bottom:0px;left:0px;right:0px}.position-absolute-0{position:absolute;top:0px;bottom:0px;left:0px;right:0px}.visibility-hidden{visibility:hidden;height:0px}.position-fixed{position:fixed}.border-width-0{border-width:0px}.border-bottom-width-0{border-bottom-width:0px}.floating-container{position:fixed;width:100px;height:10px;bottom:0;right:0;margin:100px 0px}.floating-container .floating-button{box-shadow:0 10px 25px rgb(92 93 94 / 60%);transform:translatey(5px);transition:all 0.3s}.z-index-0{z-index:0 !important}";
18
18
  const CrowdsourceManagerStyle0 = crowdsourceManagerCss;
19
19
 
20
20
  const CrowdsourceManager = class {
@@ -135,6 +135,22 @@ const CrowdsourceManager = class {
135
135
  // Watch handlers
136
136
  //
137
137
  //--------------------------------------------------------------------------
138
+ /**
139
+ * Adjust layout based on current appLayout value
140
+ */
141
+ appLayoutWatchHandler(newAppLayout, oldAppLayout) {
142
+ if (newAppLayout !== oldAppLayout) {
143
+ this._setActiveLayout(newAppLayout);
144
+ // update the layer if table selected while switching to map view
145
+ if (this.appLayout === "mapView" && this._layer.isTable) {
146
+ void this._mapCard.updateLayer();
147
+ }
148
+ if (this._isMapViewOnLoad) {
149
+ void this._layerTable.refresh();
150
+ this._isMapViewOnLoad = false;
151
+ }
152
+ }
153
+ }
138
154
  /**
139
155
  * When true the map zoom tools will be available
140
156
  */
@@ -203,7 +219,7 @@ const CrowdsourceManager = class {
203
219
  layer && await layer.when(() => {
204
220
  // on render if no layer is present and only one table is present in map and app is in map view layer then change it to split layout
205
221
  if (this._layerIds.length === 0 && this.appLayout === 'mapView' && layer.isTable) {
206
- this._changeLayout('splitView');
222
+ this.appLayout = "splitView";
207
223
  }
208
224
  this._layer = layer;
209
225
  this._initLayerExpressions();
@@ -236,7 +252,7 @@ const CrowdsourceManager = class {
236
252
  render() {
237
253
  // only avoid border when we have a header color that is not white
238
254
  const borderClass = this.popupHeaderColor && this.popupHeaderColor !== "#FFFFFF" ? "border-width-0" : "";
239
- return (index.h(index.Host, { key: 'ddb8bb35d74ab89ffd62d7bd0468b5a757fa5ba1' }, index.h("calcite-shell", { key: '74d941a3b1d4149a57c88cea263a2fd7e2b4f840', class: "position-relative" }, index.h("calcite-panel", { key: '3ff44942eab43c6f3a1cd92c918c0e2bae3d500a', class: `width-full height-full ${borderClass}`, loading: this._isLoading }, this._getBody(this._layoutMode, this._panelOpen, this._hideTable)), this._getFooter()), this._filterModal()));
255
+ return (index.h(index.Host, { key: 'ace73bfa1aa7d460f1cba60d13e94c4f47f77bd0' }, index.h("calcite-shell", { key: 'f14e70be762bf236be566111b45e40a42f0997f7', class: "position-relative" }, index.h("calcite-panel", { key: '0dde9426295a780b6a12cd98513f655914c0dab5', class: `width-full height-full ${borderClass}`, loading: this._isLoading }, this._getBody(this._layoutMode, this._panelOpen, this._hideTable)), this._getFooter()), this._filterModal()));
240
256
  }
241
257
  /**
242
258
  * Called after each render
@@ -449,7 +465,8 @@ const CrowdsourceManager = class {
449
465
  const headerTheme = this.popupHeaderColor ? "" : !this._isPortraitMobile ? "calcite-mode-dark" : "calcite-mode-light";
450
466
  const containerClass = this._isPortraitMobile && this._hideTable ? "position-absolute-0 width-full height-full" : this._isPortraitMobile ? "display-none height-0" : "";
451
467
  const tableViewClass = this.mapInfos?.length > 1 && this.appLayout === "tableView" ? "position-relative top-51" : "";
452
- return (index.h("div", { class: `${headerTheme} ${popupNodeClass} ${containerClass} ${tableViewClass}`, style: {
468
+ // position-sticky added to avoid an issue where this dialog would overlap the delete message modal in some small screens
469
+ return (index.h("div", { class: `${headerTheme} ${popupNodeClass} ${containerClass} ${tableViewClass} position-sticky`, style: {
453
470
  '--calcite-color-foreground-1': this.popupHeaderColor, /* background color that will be displayed on the popup header */
454
471
  '--calcite-color-foreground-2': this.popupHeaderHoverColor, /* background color that will be displayed on button when hovered */
455
472
  '--calcite-color-text-3': this.popupHeaderTextColor, /* font color that will be displayed on button */
@@ -468,10 +485,9 @@ const CrowdsourceManager = class {
468
485
  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";
469
486
  const themeClass = this.theme === "dark" ? "calcite-mode-dark" : "calcite-mode-light";
470
487
  return (index.h("div", { class: `width-50 height-full ${themeClass}` }, index.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: () => {
471
- this._changeLayout(this.appLayout);
472
488
  this._showInformationHeader = true;
473
489
  }, onCreateWorkFlowStarted: () => {
474
- this._changeLayout(this._layer.isTable ? "tableView" : "mapView");
490
+ this.appLayout = this._layer.isTable ? "tableView" : "mapView";
475
491
  this._showInformationHeader = false;
476
492
  }, onFeatureOrRecordSubmitted: () => void this._layerTable.refresh(), selectedFeaturesIds: this._layerTable?.selectedIds, selectingFeatureFromMap: this.appLayout === "mapView", zoomAndScrollToSelected: this.zoomAndScrollToSelected })));
477
493
  }
@@ -509,7 +525,7 @@ const CrowdsourceManager = class {
509
525
  const icon = this._getDividerIcon(layoutMode, panelOpen);
510
526
  const tooltip = panelOpen ? this._translations.close : this._translations.open;
511
527
  const id = "toggle-layout";
512
- return (index.h(index.Fragment, null, index.h("calcite-action", { active: this.appLayout === 'splitView', class: "toggle-node", icon: "browser", id: "browser-action", onClick: () => { this._changeLayout('splitView'); }, text: "" }), index.h("calcite-tooltip", { placement: "right", "reference-element": "browser-action" }, index.h("span", null, this._translations.splitView)), index.h("calcite-action", { active: this.appLayout === 'tableView', class: "toggle-node", icon: "dock-left", id: "dock-left-action", onClick: () => { this._changeLayout('tableView'); }, text: "" }), index.h("calcite-tooltip", { placement: "right", "reference-element": "dock-left-action" }, index.h("span", null, this._translations.tableView)), index.h("calcite-action", { active: this.appLayout === 'mapView', class: "toggle-node", disabled: this._layerIds?.length === 0, icon: "browser-map", id: "browser-map-action", onClick: () => { this._changeLayout('mapView'); }, text: "" }), index.h("calcite-tooltip", { placement: "right", "reference-element": "browser-map-action" }, index.h("span", null, this._translations.mapView)), index.h("calcite-action", { class: "toggle-node", icon: icon, id: id, onClick: () => this._toggleLayout(), slot: "actions-end", text: "" }), index.h("calcite-tooltip", { placement: "bottom", "reference-element": id }, index.h("span", null, tooltip))));
528
+ return (index.h(index.Fragment, null, index.h("calcite-action", { active: this.appLayout === 'splitView', class: "toggle-node", icon: "browser", id: "browser-action", onClick: () => { this.appLayout = "splitView"; }, text: "" }), index.h("calcite-tooltip", { placement: "right", "reference-element": "browser-action" }, index.h("span", null, this._translations.splitView)), index.h("calcite-action", { active: this.appLayout === 'tableView', class: "toggle-node", icon: "dock-left", id: "dock-left-action", onClick: () => { this.appLayout = "tableView"; }, text: "" }), index.h("calcite-tooltip", { placement: "right", "reference-element": "dock-left-action" }, index.h("span", null, this._translations.tableView)), index.h("calcite-action", { active: this.appLayout === 'mapView', class: "toggle-node", disabled: this._layerIds?.length === 0, icon: "browser-map", id: "browser-map-action", onClick: () => { this.appLayout = "mapView"; }, text: "" }), index.h("calcite-tooltip", { placement: "right", "reference-element": "browser-map-action" }, index.h("span", null, this._translations.mapView)), index.h("calcite-action", { class: "toggle-node", icon: icon, id: id, onClick: () => this._toggleLayout(), slot: "actions-end", text: "" }), index.h("calcite-tooltip", { placement: "bottom", "reference-element": id }, index.h("span", null, tooltip))));
513
529
  }
514
530
  /**
515
531
  * Show filter component in modal
@@ -582,7 +598,7 @@ const CrowdsourceManager = class {
582
598
  if (this._isMobile) {
583
599
  this.showHideMapPopupAndTable(!this._isMobile);
584
600
  this._isPortraitMobile = !!window.matchMedia("(orientation: portrait)").matches;
585
- this._changeLayout('splitView');
601
+ this.appLayout = "splitView";
586
602
  }
587
603
  else {
588
604
  this._isPortraitMobile = false;
@@ -598,34 +614,14 @@ const CrowdsourceManager = class {
598
614
  _toggleLayout() {
599
615
  this._panelOpen = !this._panelOpen;
600
616
  }
601
- /**
602
- * Changes the layout mode
603
- * @param appLayout selected active app layout
604
- *
605
- * @protected
606
- */
607
- _changeLayout(appLayout) {
608
- if (this.appLayout !== appLayout) {
609
- this._setActiveLayout(appLayout);
610
- this.appLayout = appLayout;
611
- // update the layer if table selected while switching to map view
612
- if (this.appLayout === "mapView" && this._layer.isTable) {
613
- void this._mapCard.updateLayer();
614
- }
615
- if (this._isMapViewOnLoad) {
616
- void this._layerTable.refresh();
617
- this._isMapViewOnLoad = false;
618
- }
619
- }
620
- }
621
617
  /**
622
618
  * shows the map in card view
623
619
  *
624
620
  * @protected
625
621
  */
626
622
  _showMapInCardView() {
627
- if (this.appLayout === 'mapView') {
628
- const fullMapView = document.getElementById('full-map-view').childNodes[0];
623
+ if (this.appLayout !== "mapView") {
624
+ const fullMapView = document.getElementById('full-map-view')?.childNodes[0];
629
625
  const splitMapClass = document.getElementById('card-mapView');
630
626
  if (fullMapView) {
631
627
  splitMapClass.appendChild(fullMapView);
@@ -638,7 +634,7 @@ const CrowdsourceManager = class {
638
634
  * @protected
639
635
  */
640
636
  _showMapInFullView() {
641
- const splitMap = document.getElementById('card-mapView').childNodes[0];
637
+ const splitMap = document.getElementById('card-mapView')?.childNodes[0];
642
638
  const fullMapViewClass = document.getElementById('full-map-view');
643
639
  if (splitMap) {
644
640
  fullMapViewClass.appendChild(splitMap);
@@ -723,6 +719,7 @@ const CrowdsourceManager = class {
723
719
  this._translations = messages[0];
724
720
  }
725
721
  static get watchers() { return {
722
+ "appLayout": ["appLayoutWatchHandler"],
726
723
  "enableZoom": ["enableZoomWatchHandler"],
727
724
  "hideMapOnLoad": ["hideMapOnLoadWatchHandler"]
728
725
  }; }
@@ -247,7 +247,8 @@ const CrowdsourceReporter = class {
247
247
  }
248
248
  }
249
249
  }
250
- if (this._layerList) {
250
+ // refresh layer list when user is on layer list panel
251
+ if (this._flowItems[this._flowItems.length - 1] === "layer-list" && this._layerList) {
251
252
  await this._layerList.refresh();
252
253
  }
253
254
  if (this._featureList) {
@@ -264,7 +265,8 @@ const CrowdsourceReporter = class {
264
265
  if (this._editableLayerIds) {
265
266
  await this._updateFeatures();
266
267
  setTimeout(() => {
267
- if (this._layerList) {
268
+ // refresh layer list when user is on layer list panel
269
+ if (this._flowItems[this._flowItems.length - 1] === "layer-list" && this._layerList) {
268
270
  void this._layerList.refresh();
269
271
  }
270
272
  if (this._featureList) {
@@ -314,7 +316,7 @@ const CrowdsourceReporter = class {
314
316
  */
315
317
  render() {
316
318
  const themeClass = this.theme === "dark" ? "calcite-mode-dark" : "calcite-mode-light";
317
- return (index.h(index.Host, { key: 'bb2f79258038360e5c0b894ce5a21dcdd41d0ce4' }, this._reportSubmitted && index.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" }, index.h("div", { key: '25d6d6bd01ee8dc260bce41ea6c43eafa609292e', slot: "message" }, this.reportSubmittedMessage ? this.reportSubmittedMessage : this._translations.submitMsg)), this._featureCreationFailedErrorMsg && index.h("calcite-alert", { key: '06851f2f8cabebd0e953c31bdddfdeac363a4e6e', "auto-close": true, class: themeClass, icon: "x-octagon", kind: "danger", label: "", onCalciteAlertClose: () => { this._featureCreationFailedErrorMsg = ""; }, open: true, placement: "top" }, index.h("div", { key: 'f0d73a00a8150a78c48cc09e8901ad7dcb438e90', slot: "title" }, this._translations.error), index.h("div", { key: '0747a85bbf4936a28dd85a9ea0e8b416f70ee7cf', slot: "message" }, this._featureCreationFailedErrorMsg)), this._commentSubmitted && index.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" }, index.h("div", { key: 'cb63168c1fe507b7b93ac4f58d5283ad0d09b34b', slot: "message" }, this.commentSubmittedMessage || this._translations.commentSubmittedMsg)), this._addingCommentFailed && index.h("calcite-alert", { key: '36b551428b32c7d93f4d04639504bfe326bbc9c8', "auto-close": true, class: themeClass, icon: "x-octagon", kind: "danger", label: "", onCalciteAlertClose: () => { this._addingCommentFailed = false; }, open: true, placement: "top" }, index.h("div", { key: '2e9865c5611f4960bb622f75f386a489abcbb484', slot: "title" }, this._translations.error), index.h("div", { key: 'ebdf339d63369e18b1c68867cdffb9bd40f52766', slot: "message" }, this._translations.addingCommentFailedMsg)), index.h("div", { key: 'a08980aead377e11697e96e77aa514ed66dc9613' }, index.h("calcite-shell", { key: '6d96e769ece33073870f2b8f1a7ef6a44006c3f0', "content-behind": true }, this._getReporter()))));
319
+ return (index.h(index.Host, { key: 'c8f50d4d6004a875444a863a9e839442708f732b' }, this._reportSubmitted && index.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" }, index.h("div", { key: '0204b9967307421fdfeafc61eca006db62f99aab', slot: "message" }, this.reportSubmittedMessage ? this.reportSubmittedMessage : this._translations.submitMsg)), this._featureCreationFailedErrorMsg && index.h("calcite-alert", { key: 'fd21dc9f77fddd3b5a1edcef8f4ac0983018fb97', "auto-close": true, class: themeClass, icon: "x-octagon", kind: "danger", label: "", onCalciteAlertClose: () => { this._featureCreationFailedErrorMsg = ""; }, open: true, placement: "top" }, index.h("div", { key: '3a33593f8c3285d38f651316ea2f4acc148606ec', slot: "title" }, this._translations.error), index.h("div", { key: '588890b6760a7657218282ddff9f3db94b9f73f6', slot: "message" }, this._featureCreationFailedErrorMsg)), this._commentSubmitted && index.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" }, index.h("div", { key: 'ed7f7b1604d5dcdbf146fdbae108081742806587', slot: "message" }, this.commentSubmittedMessage || this._translations.commentSubmittedMsg)), this._addingCommentFailed && index.h("calcite-alert", { key: '4bbcb945e9cc232ba77b327247b37b4ca420a77c', "auto-close": true, class: themeClass, icon: "x-octagon", kind: "danger", label: "", onCalciteAlertClose: () => { this._addingCommentFailed = false; }, open: true, placement: "top" }, index.h("div", { key: 'b75dad85bd1a793232c99b7d870fc9df9ccc0303', slot: "title" }, this._translations.error), index.h("div", { key: 'f161f78d54beba9ecaeccedd69d8e019c88a48e4', slot: "message" }, this._translations.addingCommentFailedMsg)), index.h("div", { key: '43aea9a8138da6645ee420e9e2abe21a3cbe4c91' }, index.h("calcite-shell", { key: '5fd031aba8feed8d54e3118a7a99a5be8254c89f', "content-behind": true }, this._getReporter()))));
318
320
  }
319
321
  //--------------------------------------------------------------------------
320
322
  //
@@ -436,6 +438,7 @@ const CrowdsourceReporter = class {
436
438
  if (canRestoreFilter) {
437
439
  void this._filterList.restoreFilters(this._filterUrlParams[0], this._filterInitState);
438
440
  }
441
+ this._filterInitState = null;
439
442
  }, 200);
440
443
  }
441
444
  /**
@@ -447,12 +450,6 @@ const CrowdsourceReporter = class {
447
450
  this._filterActive = false;
448
451
  this._filterUrlParams = null;
449
452
  this._filterInitState = null;
450
- if (this._featureList) {
451
- await this._featureList.refresh();
452
- }
453
- if (this._layerList) {
454
- await this._layerList.refresh();
455
- }
456
453
  }
457
454
  /**
458
455
  * Check if the layers definitionExpression has been modified and update the feature list depending on the applied filters
@@ -464,11 +461,7 @@ const CrowdsourceReporter = class {
464
461
  //set the filter active state based on the length of applied filters
465
462
  this._filterActive = this._filterList.urlParams.getAll('filter').length > 0;
466
463
  this._filterUrlParams = this._filterList.urlParams.getAll('filter');
467
- this._filterInitState = await this._filterList.getFilterInitState();
468
464
  await this._featureList.refresh();
469
- if (this._layerList) {
470
- await this._layerList.refresh();
471
- }
472
465
  this._showLoadingIndicator = false;
473
466
  }
474
467
  /**
@@ -574,15 +567,15 @@ const CrowdsourceReporter = class {
574
567
  * On submit report navigate to the layer list home page and refresh the layer list
575
568
  * @protected
576
569
  */
577
- onReportSubmitted() {
570
+ async onReportSubmitted() {
571
+ void this.updateNonVisibleLayersOnMap(false);
572
+ await this.navigateToHomePage();
573
+ this._reportSubmitted = true;
574
+ this._updatedProgressBarStatus = 0.25;
578
575
  //on report submit form will be closed, so update the form state
579
576
  if (this._showFullPanel) {
580
577
  this.updatePanelState(this._sidePanelCollapsed, false);
581
578
  }
582
- void this.updateNonVisibleLayersOnMap(false);
583
- this._reportSubmitted = true;
584
- this._updatedProgressBarStatus = 0.25;
585
- void this.navigateToHomePage();
586
579
  }
587
580
  /**
588
581
  * On adding the is failed, show the error message
@@ -612,10 +605,11 @@ const CrowdsourceReporter = class {
612
605
  * @protected
613
606
  */
614
607
  async navigateToHomePage() {
608
+ // set the selected features and then refresh the layer list to maintain the layer's visibility state
609
+ await this.setSelectedFeatures([]);
615
610
  if (this._layerList) {
616
- void this._layerList.refresh();
611
+ await this._layerList.refresh();
617
612
  }
618
- await this.setSelectedFeatures([]);
619
613
  if (this._editableLayerIds.length === 1) {
620
614
  await this._featureList.refresh();
621
615
  this._flowItems = ["feature-list"];
@@ -724,6 +718,15 @@ const CrowdsourceReporter = class {
724
718
  prevLayer.definitionExpression = this._filterInitState.initDefExpressions[this._prevSelectedLayerId];
725
719
  void this._handleFilterListReset();
726
720
  }
721
+ /**
722
+ * On back from filter panel get the filter's init state
723
+ * @protected
724
+ */
725
+ async backFromFilterPanel() {
726
+ this._filterInitState = await this._filterList.getFilterInitState();
727
+ await this._featureList.refresh();
728
+ this.backFromSelectedPanel();
729
+ }
727
730
  /**
728
731
  * On back from selected panel navigate to the previous panel
729
732
  * @protected
@@ -848,7 +851,7 @@ const CrowdsourceReporter = class {
848
851
  */
849
852
  getFilterPanel() {
850
853
  const currentLayersExpressions = this.layerExpressions ? this.layerExpressions.filter((exp) => exp.id === this._selectedLayerId) : [];
851
- return (index.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(), index.h("div", { class: "width-full", slot: "footer" }, index.h("div", { class: "width-full", slot: "footer" }, index.h("calcite-button", { appearance: "solid", class: "footer-top-button footer-button", disabled: !this._filterActive, onClick: () => { void this._filterList?.forceReset(); }, width: "full" }, this._translations.resetFilter), index.h("calcite-button", { appearance: "outline", class: "footer-button", onClick: this.backFromSelectedPanel.bind(this), width: "full" }, this._translations.close))), index.h("calcite-panel", { "full-height": true }, index.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 }))));
854
+ return (index.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(), index.h("div", { class: "width-full", slot: "footer" }, index.h("div", { class: "width-full", slot: "footer" }, index.h("calcite-button", { appearance: "solid", class: "footer-top-button footer-button", disabled: !this._filterActive, onClick: () => { void this._filterList?.forceReset(); }, width: "full" }, this._translations.resetFilter), index.h("calcite-button", { appearance: "outline", class: "footer-button", onClick: this.backFromFilterPanel.bind(this), width: "full" }, this._translations.close))), index.h("calcite-panel", { "full-height": true }, index.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 }))));
852
855
  }
853
856
  /**
854
857
  * Returns the calcite-flow item for feature details
@@ -9,8 +9,8 @@ const _commonjsHelpers = require('./_commonjsHelpers-baf43783.js');
9
9
  const index = require('./index-4b68e4b4.js');
10
10
  const locale = require('./locale-339b55f0.js');
11
11
  const mapViewUtils = require('./mapViewUtils-18c46b84.js');
12
+ const index$1 = require('./index-f052f656.js');
12
13
  require('./solution-resource-40e70253.js');
13
- require('./index-f052f656.js');
14
14
  const restHelpersGet = require('./restHelpersGet-5c2245a3.js');
15
15
 
16
16
  /** @license
@@ -1587,7 +1587,7 @@ function(t){var e=function(t){for(var e=t.length,r=new Uint8Array(e),n=0;n<e;n++
1587
1587
  * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
1588
1588
  * ====================================================================
1589
1589
  */
1590
- function(t){function e(){return (n.canvg?Promise.resolve(n.canvg):Promise.resolve().then(function () { return require('./index.es-a242cb45.js'); })).catch((function(t){return Promise.reject(new Error("Could not load canvg: "+t))})).then((function(t){return t.default?t.default:t}))}E.API.addSvgAsImage=function(t,r,n,i,o,s,c,u){if(isNaN(r)||isNaN(n))throw a.error("jsPDF.addSvgAsImage: Invalid coordinates",arguments),new Error("Invalid coordinates passed to jsPDF.addSvgAsImage");if(isNaN(i)||isNaN(o))throw a.error("jsPDF.addSvgAsImage: Invalid measurements",arguments),new Error("Invalid measurements (width and/or height) passed to jsPDF.addSvgAsImage");var h=document.createElement("canvas");h.width=i,h.height=o;var l=h.getContext("2d");l.fillStyle="#fff",l.fillRect(0,0,h.width,h.height);var f={ignoreMouse:!0,ignoreAnimation:!0,ignoreDimensions:!0},d=this;return e().then((function(e){return e.fromString(l,t,f)}),(function(){return Promise.reject(new Error("Could not load canvg."))})).then((function(t){return t.render(f)})).then((function(){d.addImage(h.toDataURL("image/jpeg",1),r,n,i,o,c,u);}))};}(),E.API.putTotalPages=function(t){var e,r=0;parseInt(this.internal.getFont().id.substr(1),10)<15?(e=new RegExp(t,"g"),r=this.internal.getNumberOfPages()):(e=new RegExp(this.pdfEscape16(t,this.internal.getFont()),"g"),r=this.pdfEscape16(this.internal.getNumberOfPages()+"",this.internal.getFont()));for(var n=1;n<=this.internal.getNumberOfPages();n++)for(var i=0;i<this.internal.pages[n].length;i++)this.internal.pages[n][i]=this.internal.pages[n][i].replace(e,r);return this},E.API.viewerPreferences=function(e,r){var n;e=e||{},r=r||!1;var i,a,o,s={HideToolbar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideMenubar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideWindowUI:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},FitWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},CenterWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},DisplayDocTitle:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.4},NonFullScreenPageMode:{defaultValue:"UseNone",value:"UseNone",type:"name",explicitSet:!1,valueSet:["UseNone","UseOutlines","UseThumbs","UseOC"],pdfVersion:1.3},Direction:{defaultValue:"L2R",value:"L2R",type:"name",explicitSet:!1,valueSet:["L2R","R2L"],pdfVersion:1.3},ViewArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},ViewClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintScaling:{defaultValue:"AppDefault",value:"AppDefault",type:"name",explicitSet:!1,valueSet:["AppDefault","None"],pdfVersion:1.6},Duplex:{defaultValue:"",value:"none",type:"name",explicitSet:!1,valueSet:["Simplex","DuplexFlipShortEdge","DuplexFlipLongEdge","none"],pdfVersion:1.7},PickTrayByPDFSize:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.7},PrintPageRange:{defaultValue:"",value:"",type:"array",explicitSet:!1,valueSet:null,pdfVersion:1.7},NumCopies:{defaultValue:1,value:1,type:"integer",explicitSet:!1,valueSet:null,pdfVersion:1.7}},c=Object.keys(s),u=[],h=0,l=0,f=0;function d(t,e){var r,n=!1;for(r=0;r<t.length;r+=1)t[r]===e&&(n=!0);return n}if(void 0===this.internal.viewerpreferences&&(this.internal.viewerpreferences={},this.internal.viewerpreferences.configuration=JSON.parse(JSON.stringify(s)),this.internal.viewerpreferences.isSubscribed=!1),n=this.internal.viewerpreferences.configuration,"reset"===e||!0===r){var p=c.length;for(f=0;f<p;f+=1)n[c[f]].value=n[c[f]].defaultValue,n[c[f]].explicitSet=!1;}if("object"===t(e))for(a in e)if(o=e[a],d(c,a)&&void 0!==o){if("boolean"===n[a].type&&"boolean"==typeof o)n[a].value=o;else if("name"===n[a].type&&d(n[a].valueSet,o))n[a].value=o;else if("integer"===n[a].type&&Number.isInteger(o))n[a].value=o;else if("array"===n[a].type){for(h=0;h<o.length;h+=1)if(i=!0,1===o[h].length&&"number"==typeof o[h][0])u.push(String(o[h]-1));else if(o[h].length>1){for(l=0;l<o[h].length;l+=1)"number"!=typeof o[h][l]&&(i=!1);!0===i&&u.push([o[h][0]-1,o[h][1]-1].join(" "));}n[a].value="["+u.join(" ")+"]";}else n[a].value=n[a].defaultValue;n[a].explicitSet=!0;}return !1===this.internal.viewerpreferences.isSubscribed&&(this.internal.events.subscribe("putCatalog",(function(){var t,e=[];for(t in n)!0===n[t].explicitSet&&("name"===n[t].type?e.push("/"+t+" /"+n[t].value):e.push("/"+t+" "+n[t].value));0!==e.length&&this.internal.write("/ViewerPreferences\n<<\n"+e.join("\n")+"\n>>");})),this.internal.viewerpreferences.isSubscribed=!0),this.internal.viewerpreferences.configuration=n,this},
1590
+ function(t){function e(){return (n.canvg?Promise.resolve(n.canvg):Promise.resolve().then(function () { return require('./index.es-8336efed.js'); })).catch((function(t){return Promise.reject(new Error("Could not load canvg: "+t))})).then((function(t){return t.default?t.default:t}))}E.API.addSvgAsImage=function(t,r,n,i,o,s,c,u){if(isNaN(r)||isNaN(n))throw a.error("jsPDF.addSvgAsImage: Invalid coordinates",arguments),new Error("Invalid coordinates passed to jsPDF.addSvgAsImage");if(isNaN(i)||isNaN(o))throw a.error("jsPDF.addSvgAsImage: Invalid measurements",arguments),new Error("Invalid measurements (width and/or height) passed to jsPDF.addSvgAsImage");var h=document.createElement("canvas");h.width=i,h.height=o;var l=h.getContext("2d");l.fillStyle="#fff",l.fillRect(0,0,h.width,h.height);var f={ignoreMouse:!0,ignoreAnimation:!0,ignoreDimensions:!0},d=this;return e().then((function(e){return e.fromString(l,t,f)}),(function(){return Promise.reject(new Error("Could not load canvg."))})).then((function(t){return t.render(f)})).then((function(){d.addImage(h.toDataURL("image/jpeg",1),r,n,i,o,c,u);}))};}(),E.API.putTotalPages=function(t){var e,r=0;parseInt(this.internal.getFont().id.substr(1),10)<15?(e=new RegExp(t,"g"),r=this.internal.getNumberOfPages()):(e=new RegExp(this.pdfEscape16(t,this.internal.getFont()),"g"),r=this.pdfEscape16(this.internal.getNumberOfPages()+"",this.internal.getFont()));for(var n=1;n<=this.internal.getNumberOfPages();n++)for(var i=0;i<this.internal.pages[n].length;i++)this.internal.pages[n][i]=this.internal.pages[n][i].replace(e,r);return this},E.API.viewerPreferences=function(e,r){var n;e=e||{},r=r||!1;var i,a,o,s={HideToolbar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideMenubar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideWindowUI:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},FitWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},CenterWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},DisplayDocTitle:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.4},NonFullScreenPageMode:{defaultValue:"UseNone",value:"UseNone",type:"name",explicitSet:!1,valueSet:["UseNone","UseOutlines","UseThumbs","UseOC"],pdfVersion:1.3},Direction:{defaultValue:"L2R",value:"L2R",type:"name",explicitSet:!1,valueSet:["L2R","R2L"],pdfVersion:1.3},ViewArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},ViewClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintScaling:{defaultValue:"AppDefault",value:"AppDefault",type:"name",explicitSet:!1,valueSet:["AppDefault","None"],pdfVersion:1.6},Duplex:{defaultValue:"",value:"none",type:"name",explicitSet:!1,valueSet:["Simplex","DuplexFlipShortEdge","DuplexFlipLongEdge","none"],pdfVersion:1.7},PickTrayByPDFSize:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.7},PrintPageRange:{defaultValue:"",value:"",type:"array",explicitSet:!1,valueSet:null,pdfVersion:1.7},NumCopies:{defaultValue:1,value:1,type:"integer",explicitSet:!1,valueSet:null,pdfVersion:1.7}},c=Object.keys(s),u=[],h=0,l=0,f=0;function d(t,e){var r,n=!1;for(r=0;r<t.length;r+=1)t[r]===e&&(n=!0);return n}if(void 0===this.internal.viewerpreferences&&(this.internal.viewerpreferences={},this.internal.viewerpreferences.configuration=JSON.parse(JSON.stringify(s)),this.internal.viewerpreferences.isSubscribed=!1),n=this.internal.viewerpreferences.configuration,"reset"===e||!0===r){var p=c.length;for(f=0;f<p;f+=1)n[c[f]].value=n[c[f]].defaultValue,n[c[f]].explicitSet=!1;}if("object"===t(e))for(a in e)if(o=e[a],d(c,a)&&void 0!==o){if("boolean"===n[a].type&&"boolean"==typeof o)n[a].value=o;else if("name"===n[a].type&&d(n[a].valueSet,o))n[a].value=o;else if("integer"===n[a].type&&Number.isInteger(o))n[a].value=o;else if("array"===n[a].type){for(h=0;h<o.length;h+=1)if(i=!0,1===o[h].length&&"number"==typeof o[h][0])u.push(String(o[h]-1));else if(o[h].length>1){for(l=0;l<o[h].length;l+=1)"number"!=typeof o[h][l]&&(i=!1);!0===i&&u.push([o[h][0]-1,o[h][1]-1].join(" "));}n[a].value="["+u.join(" ")+"]";}else n[a].value=n[a].defaultValue;n[a].explicitSet=!0;}return !1===this.internal.viewerpreferences.isSubscribed&&(this.internal.events.subscribe("putCatalog",(function(){var t,e=[];for(t in n)!0===n[t].explicitSet&&("name"===n[t].type?e.push("/"+t+" /"+n[t].value):e.push("/"+t+" "+n[t].value));0!==e.length&&this.internal.write("/ViewerPreferences\n<<\n"+e.join("\n")+"\n>>");})),this.internal.viewerpreferences.isSubscribed=!0),this.internal.viewerpreferences.configuration=n,this},
1591
1591
  /** ====================================================================
1592
1592
  * @license
1593
1593
  * jsPDF XMP metadata plugin
@@ -2543,12 +2543,13 @@ function _cleanupLabel(labelText) {
2543
2543
  labelText = labelText.replace(/<\/p>/gi, "");
2544
2544
  // Replace \n with the line separator character
2545
2545
  labelText = labelText.replace(/\n/gi, "|");
2546
- // Remove remaining HTML tags, replace 0xA0 that popup uses for spaces, and replace some char representations
2546
+ // Remove tricky stuff
2547
+ const sanitizer = new index$1.Sanitizer();
2548
+ labelText = sanitizer.sanitize(labelText);
2549
+ // Remove remaining HTML tags, replace 0xA0 that popup uses for spaces, and replace &nbsp;
2547
2550
  labelText = labelText
2548
2551
  .replace(/<[\s.]*[^<>]*\/?>/gi, "")
2549
2552
  .replace(/\xA0/gi, " ")
2550
- .replace(/&lt;/gi, "<")
2551
- .replace(/&gt;/gi, ">")
2552
2553
  .replace(/&nbsp;/gi, " ");
2553
2554
  // Trim each line
2554
2555
  labelText = labelText.replace(/\s*\|\s*/g, "|");
@@ -53,7 +53,7 @@ const FeatureComments = class {
53
53
  //
54
54
  //--------------------------------------------------------------------------
55
55
  render() {
56
- return (index.h(index.Host, { key: '9d6d06f2466bbbfba74ead0dd8af4354834006c6' }, index.h("slot", { key: '25722c28a43a7a005a0c55b16c0df536a7a19a61' })));
56
+ return (index.h(index.Host, { key: 'b58aca4fb9f05091f7b4c9a622755afed968a539' }, index.h("slot", { key: '806ab314b95a05252b5d558722b3dcb68e9b5b44' })));
57
57
  }
58
58
  };
59
59
  FeatureComments.style = FeatureCommentsStyle0;
@@ -53,7 +53,7 @@ const FeatureFormFlowItem = class {
53
53
  //
54
54
  //--------------------------------------------------------------------------
55
55
  render() {
56
- return (index.h(index.Host, { key: '69a6d88e4a58724a61b964ab9e4cc44df1879be4' }, index.h("slot", { key: '57bb8fc9d5fc942af7a47d4735b358510e406818' })));
56
+ return (index.h(index.Host, { key: 'ada36a5353ae5c21f81ab8ffea24fab3312acc85' }, index.h("slot", { key: '424cb194632c9ea0ade6cf848e01a414c05abc42' })));
57
57
  }
58
58
  };
59
59
  FeatureFormFlowItem.style = FeatureFormFlowItemStyle0;
@@ -9,13 +9,13 @@ Object.defineProperty(exports, '__esModule', { value: true });
9
9
 
10
10
  const index = require('./index-4b68e4b4.js');
11
11
  const locale = require('./locale-339b55f0.js');
12
- const popupUtils = require('./popupUtils-d477705b.js');
12
+ const popupUtils = require('./popupUtils-bc762034.js');
13
13
  const mapViewUtils = require('./mapViewUtils-18c46b84.js');
14
14
  require('./esri-loader-08dc41bd.js');
15
15
  require('./_commonjsHelpers-baf43783.js');
16
- require('./downloadUtils-20637f89.js');
17
- require('./solution-resource-40e70253.js');
16
+ require('./downloadUtils-76bc7e30.js');
18
17
  require('./index-f052f656.js');
18
+ require('./solution-resource-40e70253.js');
19
19
  require('./restHelpersGet-5c2245a3.js');
20
20
  require('./interfaces-09c4c40e.js');
21
21
 
@@ -183,9 +183,9 @@ const FeatureList = class {
183
183
  * Renders the component.
184
184
  */
185
185
  render() {
186
- return (index.h("calcite-panel", { key: '381f7da40e715848d4601810aacedbe3a7a46d6d', "full-height": true, "full-width": true }, this._isLoading && index.h("calcite-loader", { key: '62d128eee1b0a987fe24764b8cfbff148dcf9084', label: "", scale: "m" }), this.showErrorWhenNoFeatures && this._featureItems.length === 0 && !this._isLoading &&
187
- index.h("calcite-notice", { key: '975aef0b4c33676fc2be4aa85a51641d0b203cd4', class: "error-msg", icon: "feature-details", kind: "info", open: true }, index.h("div", { key: 'c002eb4d59d8bab086d91266ca4a0ca56a185db3', slot: "message" }, this.noFeaturesFoundMsg ? this.noFeaturesFoundMsg : this._translations.featureErrorMsg)), index.h("calcite-list", { key: '50f0c269f30e9619561ea61f462fb964f91a93a9', "selection-appearance": "border", "selection-mode": "none" }, !this._isLoading && this._featureItems.length > 0 && this._featureItems), this._featuresCount > this.pageSize &&
188
- index.h("div", { key: '97f837035b89d3045efd2771c0ef77d12fbb333b', class: "width-full", slot: "footer" }, index.h("calcite-pagination", { key: 'd88adbe6499b358395bd7bf5917c3d0c1506d8b1', class: "pagination", "full-width": true, onCalcitePaginationChange: this.pageChanged.bind(this), "page-size": this.pageSize, ref: el => this._pagination = el, "start-item": "1", "total-items": this._featuresCount }))));
186
+ return (index.h("calcite-panel", { key: '59289a87561105e3edcbd52bac96b974b1387a16', "full-height": true, "full-width": true }, this._isLoading && index.h("calcite-loader", { key: '59629285e49227209761d2f16bdd62a90750538f', label: "", scale: "m" }), this.showErrorWhenNoFeatures && this._featureItems.length === 0 && !this._isLoading &&
187
+ index.h("calcite-notice", { key: 'bc6c2e6e0fdf959374caf79f2027784e2fdaca15', class: "error-msg", icon: "feature-details", kind: "info", open: true }, index.h("div", { key: '052207ce0b0e2d8030ac7a4a7985c718371a9667', slot: "message" }, this.noFeaturesFoundMsg ? this.noFeaturesFoundMsg : this._translations.featureErrorMsg)), index.h("calcite-list", { key: '3f17ea85f2265717aa13c9c71f19c259470c9fcc', "selection-appearance": "border", "selection-mode": "none" }, !this._isLoading && this._featureItems.length > 0 && this._featureItems), this._featuresCount > this.pageSize &&
188
+ index.h("div", { key: 'ce3179bcdc7af254488dea909034c58db17ec565', class: "width-full", slot: "footer" }, index.h("calcite-pagination", { key: 'd6a4b8c7a940918388b3b9891a666c4a142edae7', class: "pagination", "full-width": true, onCalcitePaginationChange: this.pageChanged.bind(this), "page-size": this.pageSize, ref: el => this._pagination = el, "start-item": "1", "total-items": this._featuresCount }))));
189
189
  }
190
190
  //--------------------------------------------------------------------------
191
191
  //
@@ -420,7 +420,7 @@ const FeatureList = class {
420
420
  const popupTitlePaddingClass = this.showUserImageInList || this.showFeatureSymbol ? 'feature-list-popup-title-padding-reduced' : 'feature-list-popup-title-padding';
421
421
  return (index.h("calcite-list-item", { onCalciteListItemSelect: (e) => { void this.featureClicked(e, selectedFeature); }, onMouseLeave: () => { void this.clearHighlights(); }, onMouseOver: () => { void this.onFeatureHover(selectedFeature); }, value: oId }, this.showUserImageInList &&
422
422
  index.h("calcite-avatar", { class: 'profile-img', "full-name": userInfo?.fullName, scale: "m", slot: "content-start", thumbnail: userInfo?.userProfileUrl, userId: userInfo?.id, username: userInfo?.fullName ? userInfo.username : undefined }), this.showFeatureSymbol &&
423
- index.h("div", { class: 'feature-symbol', ref: (el) => el && el.appendChild(featureSymbol), slot: "content-start" }), index.h("div", { class: `${popupTitleClass} ${popupTitlePaddingClass}`, slot: "content-start" }, popupTitle), this._likeFieldAvailable &&
423
+ index.h("div", { class: 'feature-symbol', ref: (el) => el && el.replaceChildren(featureSymbol), slot: "content-start" }), index.h("div", { class: `${popupTitleClass} ${popupTitlePaddingClass}`, slot: "content-start" }, popupTitle), this._likeFieldAvailable &&
424
424
  index.h("div", { class: "like-container", id: oId.concat("like"), slot: "content-end" }, index.h("span", null, this._abbreviatedLikeCount), index.h("calcite-icon", { icon: "thumbs-up", scale: 's' }), index.h("calcite-tooltip", { overlayPositioning: "fixed", placement: "top", "reference-element": oId.concat("like") }, formattedLikeCount)), index.h("calcite-icon", { flipRtl: true, icon: "chevron-right", scale: "s", slot: "content-end" })));
425
425
  }
426
426
  /**
@@ -53,7 +53,7 @@ const FeaturesFlowItem = class {
53
53
  //
54
54
  //--------------------------------------------------------------------------
55
55
  render() {
56
- return (index.h(index.Host, { key: '8154ad4de3a112bcdef4b1495c6fbeab1a13e292' }, index.h("slot", { key: '6c12197599bd5742f4ffacbae64170929e485d99' })));
56
+ return (index.h(index.Host, { key: 'b775a26ab493f17e0e93ba5713b407566d37683d' }, index.h("slot", { key: '05f063062f8cced80ae18d36e7ef08abe6b15839' })));
57
57
  }
58
58
  };
59
59
  FeaturesFlowItem.style = FeaturesFlowItemStyle0;
@@ -6,14 +6,14 @@
6
6
  'use strict';
7
7
 
8
8
  const _commonjsHelpers = require('./_commonjsHelpers-baf43783.js');
9
- const downloadUtils = require('./downloadUtils-20637f89.js');
9
+ const downloadUtils = require('./downloadUtils-76bc7e30.js');
10
10
  require('./index-4b68e4b4.js');
11
11
  require('./locale-339b55f0.js');
12
12
  require('./esri-loader-08dc41bd.js');
13
13
  require('./mapViewUtils-18c46b84.js');
14
14
  require('./interfaces-09c4c40e.js');
15
- require('./solution-resource-40e70253.js');
16
15
  require('./index-f052f656.js');
16
+ require('./solution-resource-40e70253.js');
17
17
  require('./restHelpersGet-5c2245a3.js');
18
18
 
19
19
  var check = function (it) {
@@ -68,7 +68,7 @@ const LayoutManager = class {
68
68
  * Renders the component.
69
69
  */
70
70
  render() {
71
- return (index.h(index.Host, { key: '1381320aa1041faf8f3b878891d604d37bc9ba75' }, index.h("div", { key: 'd7d36debd225ecb188238bb6a19c265729244800', class: "display-flex" }, index.h("div", { key: '176a1db9d59dedc3714cc594aae8c9715ab34680', class: "display-flex action-center" }, index.h("calcite-icon", { key: '9a05af6302133624f7dc65769dac2d613ba66853', class: "icon icon-color", icon: "information", id: "app-information-icon", scale: "s" }), index.h("calcite-popover", { key: '4e3484d7403ad3ac2f2a30bac0b1e9b050e20840', closable: true, label: "", referenceElement: "app-information-icon" }, index.h("span", { key: '0a8d3607ebcb24b6ba0c7d7757cddf5f79faee49', class: "tooltip-message" }, this._translations.appInfo))), index.h("div", { key: '27ec5b7cadacbf763eabad8933bdec5b37b56c5c', class: "header-text" }, this._translations.layout), this._getAction("grid-background", interfaces.ELayoutMode.GRID, this._translations.grid), this._getAction("vertical-background", interfaces.ELayoutMode.VERTICAL, this._translations.vertical), this._getAction("horizontal-background", interfaces.ELayoutMode.HORIZONTAL, this._translations.horizontal))));
71
+ return (index.h(index.Host, { key: '030b3a829da8eceb1ed2588ec9d0cf56e6c3b801' }, index.h("div", { key: 'c883b792dae7fd3118d50ca19529ad215812636a', class: "display-flex" }, index.h("div", { key: '24a8dacb438879ad29ad216d904c0c12229937c8', class: "display-flex action-center" }, index.h("calcite-icon", { key: 'd8ab7b953f906c807a5a3b8f6a38736e5da7308e', class: "icon icon-color", icon: "information", id: "app-information-icon", scale: "s" }), index.h("calcite-popover", { key: 'f43e72d3edbb29dadd4d7bf16e0f2028f16fa515', closable: true, label: "", referenceElement: "app-information-icon" }, index.h("span", { key: '0059d393750540cbcfe0051a9440447c261ec99f', class: "tooltip-message" }, this._translations.appInfo))), index.h("div", { key: 'ea6e944271a0538cc6c8558c08c9940f9a84a6bf', class: "header-text" }, this._translations.layout), this._getAction("grid-background", interfaces.ELayoutMode.GRID, this._translations.grid), this._getAction("vertical-background", interfaces.ELayoutMode.VERTICAL, this._translations.vertical), this._getAction("horizontal-background", interfaces.ELayoutMode.HORIZONTAL, this._translations.horizontal))));
72
72
  }
73
73
  //--------------------------------------------------------------------------
74
74
  //
@@ -53,7 +53,7 @@ const ListFlowItem = class {
53
53
  //
54
54
  //--------------------------------------------------------------------------
55
55
  render() {
56
- return (index.h(index.Host, { key: 'eb0234045e0e914fd94b0afd15e9a41d57a9735f' }, index.h("slot", { key: 'bd2660cb4a2e04aa04445c8e446577bf4de27a4a' })));
56
+ return (index.h(index.Host, { key: 'e241883e9516ea61cd50c0f6b023bbc51870b4a1' }, index.h("slot", { key: 'ec5f8579ecdbee858ec2ec200e3183aacb19c9ba' })));
57
57
  }
58
58
  };
59
59
  ListFlowItem.style = ListFlowItemStyle0;