@esri/solutions-components 0.10.30 → 0.10.32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (245) 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 +33 -12
  4. package/dist/cjs/calcite-combobox_3.cjs.entry.js +1 -1
  5. package/dist/cjs/calcite-flow_4.cjs.entry.js +15 -17
  6. package/dist/cjs/calcite-shell-panel_14.cjs.entry.js +6 -6
  7. package/dist/cjs/card-manager_3.cjs.entry.js +9 -9
  8. package/dist/cjs/crowdsource-reporter.cjs.entry.js +45 -22
  9. package/dist/cjs/feature-list.cjs.entry.js +16 -10
  10. package/dist/cjs/layout-manager.cjs.entry.js +1 -1
  11. package/dist/cjs/list-flow-item.cjs.entry.js +1 -1
  12. package/dist/cjs/loader.cjs.js +1 -1
  13. package/dist/cjs/location-flow-item.cjs.entry.js +1 -1
  14. package/dist/cjs/map-select-tools_3.cjs.entry.js +3 -3
  15. package/dist/cjs/pci-calculator.cjs.entry.js +1 -1
  16. package/dist/cjs/public-notification.cjs.entry.js +1 -1
  17. package/dist/cjs/refine-results-flow-item.cjs.entry.js +1 -1
  18. package/dist/cjs/share-item.cjs.entry.js +1 -1
  19. package/dist/cjs/solution-configuration.cjs.entry.js +3 -3
  20. package/dist/cjs/solution-contents_3.cjs.entry.js +3 -3
  21. package/dist/cjs/solution-item-accordion.cjs.entry.js +1 -1
  22. package/dist/cjs/solution-item-icon.cjs.entry.js +1 -1
  23. package/dist/cjs/solutions-components.cjs.js +1 -1
  24. package/dist/cjs/spatial-ref.cjs.entry.js +1 -1
  25. package/dist/collection/assets/t9n/create-feature/resources_ar.json +1 -1
  26. package/dist/collection/assets/t9n/create-feature/resources_bg.json +1 -1
  27. package/dist/collection/assets/t9n/create-feature/resources_bs.json +1 -1
  28. package/dist/collection/assets/t9n/create-feature/resources_ca.json +1 -1
  29. package/dist/collection/assets/t9n/create-feature/resources_cs.json +1 -1
  30. package/dist/collection/assets/t9n/create-feature/resources_da.json +1 -1
  31. package/dist/collection/assets/t9n/create-feature/resources_de.json +1 -1
  32. package/dist/collection/assets/t9n/create-feature/resources_el.json +1 -1
  33. package/dist/collection/assets/t9n/create-feature/resources_es.json +1 -1
  34. package/dist/collection/assets/t9n/create-feature/resources_et.json +1 -1
  35. package/dist/collection/assets/t9n/create-feature/resources_fi.json +1 -1
  36. package/dist/collection/assets/t9n/create-feature/resources_fr.json +1 -1
  37. package/dist/collection/assets/t9n/create-feature/resources_he.json +1 -1
  38. package/dist/collection/assets/t9n/create-feature/resources_hr.json +1 -1
  39. package/dist/collection/assets/t9n/create-feature/resources_hu.json +1 -1
  40. package/dist/collection/assets/t9n/create-feature/resources_id.json +1 -1
  41. package/dist/collection/assets/t9n/create-feature/resources_it.json +1 -1
  42. package/dist/collection/assets/t9n/create-feature/resources_ja.json +1 -1
  43. package/dist/collection/assets/t9n/create-feature/resources_ko.json +1 -1
  44. package/dist/collection/assets/t9n/create-feature/resources_lt.json +1 -1
  45. package/dist/collection/assets/t9n/create-feature/resources_lv.json +1 -1
  46. package/dist/collection/assets/t9n/create-feature/resources_nb.json +1 -1
  47. package/dist/collection/assets/t9n/create-feature/resources_nl.json +1 -1
  48. package/dist/collection/assets/t9n/create-feature/resources_pl.json +1 -1
  49. package/dist/collection/assets/t9n/create-feature/resources_pt-BR.json +2 -2
  50. package/dist/collection/assets/t9n/create-feature/resources_pt-PT.json +1 -1
  51. package/dist/collection/assets/t9n/create-feature/resources_ro.json +1 -1
  52. package/dist/collection/assets/t9n/create-feature/resources_ru.json +1 -1
  53. package/dist/collection/assets/t9n/create-feature/resources_sk.json +1 -1
  54. package/dist/collection/assets/t9n/create-feature/resources_sl.json +1 -1
  55. package/dist/collection/assets/t9n/create-feature/resources_sr.json +1 -1
  56. package/dist/collection/assets/t9n/create-feature/resources_sv.json +1 -1
  57. package/dist/collection/assets/t9n/create-feature/resources_th.json +1 -1
  58. package/dist/collection/assets/t9n/create-feature/resources_tr.json +1 -1
  59. package/dist/collection/assets/t9n/create-feature/resources_uk.json +1 -1
  60. package/dist/collection/assets/t9n/create-feature/resources_vi.json +1 -1
  61. package/dist/collection/assets/t9n/create-feature/resources_zh-CN.json +1 -1
  62. package/dist/collection/assets/t9n/create-feature/resources_zh-HK.json +1 -1
  63. package/dist/collection/assets/t9n/create-feature/resources_zh-TW.json +1 -1
  64. package/dist/collection/components/card-manager/card-manager.js +0 -2
  65. package/dist/collection/components/create-feature/create-feature.css +8 -1
  66. package/dist/collection/components/create-feature/create-feature.js +32 -31
  67. package/dist/collection/components/create-related-feature/create-related-feature.js +9 -26
  68. package/dist/collection/components/crowdsource-reporter/crowdsource-reporter.js +45 -23
  69. package/dist/collection/components/feature-details/feature-details.js +6 -8
  70. package/dist/collection/components/feature-list/feature-list.js +16 -10
  71. package/dist/collection/components/layer-table/layer-table.css +6 -0
  72. package/dist/collection/components/layer-table/layer-table.js +4 -3
  73. package/dist/collection/components/layout-manager/layout-manager.js +1 -1
  74. package/dist/collection/components/list-flow-item/list-flow-item.js +1 -1
  75. package/dist/collection/components/location-flow-item/location-flow-item.js +1 -1
  76. package/dist/collection/components/map-card/map-card.css +3 -7
  77. package/dist/collection/components/map-card/map-card.js +3 -2
  78. package/dist/collection/components/map-draw-tools/map-draw-tools.js +1 -1
  79. package/dist/collection/components/map-fullscreen/map-fullscreen.js +1 -1
  80. package/dist/collection/components/map-layer-picker/map-layer-picker.js +1 -1
  81. package/dist/collection/components/map-legend/map-legend.js +1 -1
  82. package/dist/collection/components/map-picker/map-picker.css +1 -1
  83. package/dist/collection/components/map-picker/map-picker.js +1 -1
  84. package/dist/collection/components/map-search/map-search.js +1 -1
  85. package/dist/collection/components/map-select-tools/map-select-tools.js +1 -1
  86. package/dist/collection/components/map-tools/map-tools.js +1 -1
  87. package/dist/collection/components/pci-calculator/pci-calculator.js +1 -1
  88. package/dist/collection/components/pdf-download/pdf-download.js +1 -1
  89. package/dist/collection/components/public-notification/public-notification.js +1 -1
  90. package/dist/collection/components/refine-results-flow-item/refine-results-flow-item.js +1 -1
  91. package/dist/collection/components/refine-selection/refine-selection.js +1 -1
  92. package/dist/collection/components/share-item/share-item.js +1 -1
  93. package/dist/collection/components/solution-configuration/solution-configuration.js +3 -3
  94. package/dist/collection/components/solution-contents/solution-contents.js +1 -1
  95. package/dist/collection/components/solution-item/solution-item.js +1 -1
  96. package/dist/collection/components/solution-item-accordion/solution-item-accordion.js +1 -1
  97. package/dist/collection/components/solution-item-details/solution-item-details.js +1 -1
  98. package/dist/collection/components/solution-item-icon/solution-item-icon.js +1 -1
  99. package/dist/collection/components/solution-item-sharing/solution-item-sharing.js +1 -1
  100. package/dist/collection/components/solution-organization-variables/solution-organization-variables.js +1 -1
  101. package/dist/collection/components/solution-resource-item/solution-resource-item.js +1 -1
  102. package/dist/collection/components/solution-spatial-ref/solution-spatial-ref.js +1 -1
  103. package/dist/collection/components/solution-template-data/solution-template-data.js +1 -1
  104. package/dist/collection/components/solution-variables/solution-variables.js +1 -1
  105. package/dist/collection/components/spatial-ref/spatial-ref.js +1 -1
  106. package/dist/components/card-manager2.js +0 -2
  107. package/dist/components/create-feature2.js +33 -13
  108. package/dist/components/create-related-feature2.js +9 -10
  109. package/dist/components/crowdsource-reporter.js +45 -23
  110. package/dist/components/feature-details2.js +6 -8
  111. package/dist/components/feature-list2.js +16 -10
  112. package/dist/components/layer-table2.js +5 -4
  113. package/dist/components/layout-manager.js +1 -1
  114. package/dist/components/list-flow-item.js +1 -1
  115. package/dist/components/location-flow-item.js +1 -1
  116. package/dist/components/map-card2.js +4 -3
  117. package/dist/components/map-draw-tools2.js +1 -1
  118. package/dist/components/map-fullscreen2.js +1 -1
  119. package/dist/components/map-layer-picker2.js +1 -1
  120. package/dist/components/map-legend2.js +1 -1
  121. package/dist/components/map-picker2.js +2 -2
  122. package/dist/components/map-search2.js +1 -1
  123. package/dist/components/map-select-tools2.js +1 -1
  124. package/dist/components/map-tools2.js +1 -1
  125. package/dist/components/pci-calculator.js +1 -1
  126. package/dist/components/pdf-download2.js +1 -1
  127. package/dist/components/public-notification.js +1 -1
  128. package/dist/components/refine-results-flow-item.js +1 -1
  129. package/dist/components/refine-selection2.js +1 -1
  130. package/dist/components/share-item.js +1 -1
  131. package/dist/components/solution-configuration.js +3 -3
  132. package/dist/components/solution-contents2.js +1 -1
  133. package/dist/components/solution-item-accordion.js +1 -1
  134. package/dist/components/solution-item-details2.js +1 -1
  135. package/dist/components/solution-item-icon2.js +1 -1
  136. package/dist/components/solution-item-sharing2.js +1 -1
  137. package/dist/components/solution-item2.js +1 -1
  138. package/dist/components/solution-organization-variables2.js +1 -1
  139. package/dist/components/solution-resource-item2.js +1 -1
  140. package/dist/components/solution-spatial-ref2.js +1 -1
  141. package/dist/components/solution-template-data2.js +1 -1
  142. package/dist/components/solution-variables2.js +1 -1
  143. package/dist/components/spatial-ref.js +1 -1
  144. package/dist/esm/basemap-gallery_7.entry.js +6 -6
  145. package/dist/esm/buffer-tools_3.entry.js +1 -1
  146. package/dist/esm/calcite-alert_5.entry.js +33 -12
  147. package/dist/esm/calcite-combobox_3.entry.js +1 -1
  148. package/dist/esm/calcite-flow_4.entry.js +15 -17
  149. package/dist/esm/calcite-shell-panel_14.entry.js +6 -6
  150. package/dist/esm/card-manager_3.entry.js +9 -9
  151. package/dist/esm/crowdsource-reporter.entry.js +45 -22
  152. package/dist/esm/feature-list.entry.js +16 -10
  153. package/dist/esm/layout-manager.entry.js +1 -1
  154. package/dist/esm/list-flow-item.entry.js +1 -1
  155. package/dist/esm/loader.js +1 -1
  156. package/dist/esm/location-flow-item.entry.js +1 -1
  157. package/dist/esm/map-select-tools_3.entry.js +3 -3
  158. package/dist/esm/pci-calculator.entry.js +1 -1
  159. package/dist/esm/public-notification.entry.js +1 -1
  160. package/dist/esm/refine-results-flow-item.entry.js +1 -1
  161. package/dist/esm/share-item.entry.js +1 -1
  162. package/dist/esm/solution-configuration.entry.js +3 -3
  163. package/dist/esm/solution-contents_3.entry.js +3 -3
  164. package/dist/esm/solution-item-accordion.entry.js +1 -1
  165. package/dist/esm/solution-item-icon.entry.js +1 -1
  166. package/dist/esm/solutions-components.js +1 -1
  167. package/dist/esm/spatial-ref.entry.js +1 -1
  168. package/dist/solutions-components/assets/t9n/create-feature/resources_ar.json +1 -1
  169. package/dist/solutions-components/assets/t9n/create-feature/resources_bg.json +1 -1
  170. package/dist/solutions-components/assets/t9n/create-feature/resources_bs.json +1 -1
  171. package/dist/solutions-components/assets/t9n/create-feature/resources_ca.json +1 -1
  172. package/dist/solutions-components/assets/t9n/create-feature/resources_cs.json +1 -1
  173. package/dist/solutions-components/assets/t9n/create-feature/resources_da.json +1 -1
  174. package/dist/solutions-components/assets/t9n/create-feature/resources_de.json +1 -1
  175. package/dist/solutions-components/assets/t9n/create-feature/resources_el.json +1 -1
  176. package/dist/solutions-components/assets/t9n/create-feature/resources_es.json +1 -1
  177. package/dist/solutions-components/assets/t9n/create-feature/resources_et.json +1 -1
  178. package/dist/solutions-components/assets/t9n/create-feature/resources_fi.json +1 -1
  179. package/dist/solutions-components/assets/t9n/create-feature/resources_fr.json +1 -1
  180. package/dist/solutions-components/assets/t9n/create-feature/resources_he.json +1 -1
  181. package/dist/solutions-components/assets/t9n/create-feature/resources_hr.json +1 -1
  182. package/dist/solutions-components/assets/t9n/create-feature/resources_hu.json +1 -1
  183. package/dist/solutions-components/assets/t9n/create-feature/resources_id.json +1 -1
  184. package/dist/solutions-components/assets/t9n/create-feature/resources_it.json +1 -1
  185. package/dist/solutions-components/assets/t9n/create-feature/resources_ja.json +1 -1
  186. package/dist/solutions-components/assets/t9n/create-feature/resources_ko.json +1 -1
  187. package/dist/solutions-components/assets/t9n/create-feature/resources_lt.json +1 -1
  188. package/dist/solutions-components/assets/t9n/create-feature/resources_lv.json +1 -1
  189. package/dist/solutions-components/assets/t9n/create-feature/resources_nb.json +1 -1
  190. package/dist/solutions-components/assets/t9n/create-feature/resources_nl.json +1 -1
  191. package/dist/solutions-components/assets/t9n/create-feature/resources_pl.json +1 -1
  192. package/dist/solutions-components/assets/t9n/create-feature/resources_pt-BR.json +2 -2
  193. package/dist/solutions-components/assets/t9n/create-feature/resources_pt-PT.json +1 -1
  194. package/dist/solutions-components/assets/t9n/create-feature/resources_ro.json +1 -1
  195. package/dist/solutions-components/assets/t9n/create-feature/resources_ru.json +1 -1
  196. package/dist/solutions-components/assets/t9n/create-feature/resources_sk.json +1 -1
  197. package/dist/solutions-components/assets/t9n/create-feature/resources_sl.json +1 -1
  198. package/dist/solutions-components/assets/t9n/create-feature/resources_sr.json +1 -1
  199. package/dist/solutions-components/assets/t9n/create-feature/resources_sv.json +1 -1
  200. package/dist/solutions-components/assets/t9n/create-feature/resources_th.json +1 -1
  201. package/dist/solutions-components/assets/t9n/create-feature/resources_tr.json +1 -1
  202. package/dist/solutions-components/assets/t9n/create-feature/resources_uk.json +1 -1
  203. package/dist/solutions-components/assets/t9n/create-feature/resources_vi.json +1 -1
  204. package/dist/solutions-components/assets/t9n/create-feature/resources_zh-CN.json +1 -1
  205. package/dist/solutions-components/assets/t9n/create-feature/resources_zh-HK.json +1 -1
  206. package/dist/solutions-components/assets/t9n/create-feature/resources_zh-TW.json +1 -1
  207. package/dist/solutions-components/{p-22bb693d.entry.js → p-06db1bfd.entry.js} +1 -1
  208. package/dist/solutions-components/p-1f072e2c.entry.js +11 -0
  209. package/dist/solutions-components/{p-6e1685bd.entry.js → p-3900240c.entry.js} +1 -1
  210. package/dist/solutions-components/{p-e72e2dcc.entry.js → p-42f75c8f.entry.js} +1 -1
  211. package/dist/solutions-components/p-4cb12506.entry.js +6 -0
  212. package/dist/solutions-components/p-51e2500f.entry.js +6 -0
  213. package/dist/solutions-components/{p-89b27ae3.entry.js → p-5fdb8f83.entry.js} +2 -2
  214. package/dist/solutions-components/{p-4e0045d5.entry.js → p-6c3261d7.entry.js} +1 -1
  215. package/dist/solutions-components/p-8a411917.entry.js +6 -0
  216. package/dist/solutions-components/{p-57ccfe47.entry.js → p-a07322cc.entry.js} +1 -1
  217. package/dist/solutions-components/{p-be2c7d0c.entry.js → p-a8525233.entry.js} +1 -1
  218. package/dist/solutions-components/{p-5b0e8838.entry.js → p-b9b77b87.entry.js} +1 -1
  219. package/dist/solutions-components/p-bd5f3c9e.entry.js +6 -0
  220. package/dist/solutions-components/p-cc4c013e.entry.js +6 -0
  221. package/dist/solutions-components/{p-4af0e4bd.entry.js → p-d08ece15.entry.js} +1 -1
  222. package/dist/solutions-components/{p-89a4ce79.entry.js → p-d119872d.entry.js} +1 -1
  223. package/dist/solutions-components/p-dd0bd439.entry.js +17 -0
  224. package/dist/solutions-components/{p-f8ee16f3.entry.js → p-ddc1218d.entry.js} +1 -1
  225. package/dist/solutions-components/p-e4a42efa.entry.js +6 -0
  226. package/dist/solutions-components/p-edd88d2d.entry.js +6 -0
  227. package/dist/solutions-components/p-fa7672c7.entry.js +6 -0
  228. package/dist/solutions-components/{p-ff8b0603.entry.js → p-ffa9a117.entry.js} +1 -1
  229. package/dist/solutions-components/solutions-components.esm.js +1 -1
  230. package/dist/types/components/create-feature/create-feature.d.ts +17 -5
  231. package/dist/types/components/create-related-feature/create-related-feature.d.ts +4 -4
  232. package/dist/types/components/crowdsource-reporter/crowdsource-reporter.d.ts +10 -9
  233. package/dist/types/components/feature-list/feature-list.d.ts +1 -2
  234. package/dist/types/components.d.ts +0 -9
  235. package/package.json +1 -1
  236. package/dist/solutions-components/p-24ae549d.entry.js +0 -6
  237. package/dist/solutions-components/p-399dc933.entry.js +0 -17
  238. package/dist/solutions-components/p-3d7643a5.entry.js +0 -6
  239. package/dist/solutions-components/p-52094fca.entry.js +0 -6
  240. package/dist/solutions-components/p-634f86e5.entry.js +0 -11
  241. package/dist/solutions-components/p-662aa94e.entry.js +0 -6
  242. package/dist/solutions-components/p-790af200.entry.js +0 -6
  243. package/dist/solutions-components/p-94a5d59f.entry.js +0 -6
  244. package/dist/solutions-components/p-988c0d5e.entry.js +0 -6
  245. package/dist/solutions-components/p-a25c73c8.entry.js +0 -6
@@ -428,7 +428,7 @@ const MapFullscreen = class {
428
428
  * Renders the component.
429
429
  */
430
430
  render() {
431
- return (index.h(index.Host, { key: '8d5feed87c1795cb487ff3eda1da7573a65d3c89' }, index.h("div", { key: '4a74da3dc79280fdff87c7c723bb9c729897b1ab', class: "fullscreen-widget", ref: (el) => { this._fullscreenElement = el; } })));
431
+ return (index.h(index.Host, { key: '9fc5dfeffc8601763b27e001311ec317934ebcae' }, index.h("div", { key: '65f2ab96d7283a9a10a113be0cdef6a95de1ee1b', class: "fullscreen-widget", ref: (el) => { this._fullscreenElement = el; } })));
432
432
  }
433
433
  /**
434
434
  * StencilJS: Called just after the component updates.
@@ -555,7 +555,7 @@ const MapLegend = class {
555
555
  * StencilJS: Renders the component.
556
556
  */
557
557
  render() {
558
- return (index.h(index.Host, { key: '3720974e2a6d1a9e569750e4c3ea5bf18e49a9c7' }, index.h("div", { key: '1bc154d7366aeabe2b983b110629e2f1257e0af6', ref: (el) => { this._legendElement = el; } })));
558
+ return (index.h(index.Host, { key: 'f520dd3737b8b883d8e27eb9a63da25f6d5b9375' }, index.h("div", { key: '6775e1c58ecd4fe63d50358fe2cd4f050cb1d709', ref: (el) => { this._legendElement = el; } })));
559
559
  }
560
560
  /**
561
561
  * StencilJS: Called once just after the component is fully loaded and the first render() occurs.
@@ -605,7 +605,7 @@ const MapLegend = class {
605
605
  };
606
606
  MapLegend.style = MapLegendStyle0;
607
607
 
608
- const mapPickerCss = ":host{display:block;--solutions-theme-foreground-color:var(--calcite-color-foreground-1)}.width-full{width:100%}.width-26{width:26% !important}.height-full{height:100%}.display-flex{display:flex}.border-bottom-1{border-width:0px;border-bottom-width:1px;border-style:solid;border-color:var(--calcite-color-border-3)}.border-right{border-right:1px solid var(--calcite-color-border-3)}.action-bar-size{height:51px;width:100%}.map-list{position:absolute;display:flex;flex-direction:column;animation:calcite-scrim-fade-in var(--calcite-internal-animation-timing-medium) ease-in-out;background-color:var(--calcite-color-background);z-index:1000;width:100%;height:-moz-fit-content;height:fit-content}.display-none{display:none}.align-center{align-items:center}.adjusted-height{height:calc(100% - 52px);overflow-y:auto}";
608
+ const mapPickerCss = ":host{display:block;--solutions-theme-foreground-color:var(--calcite-color-foreground-1)}.width-full{width:100%}.width-26{width:26% !important}.height-full{height:100%}.display-flex{display:flex}.border-bottom-1{border-width:0px;border-bottom-width:1px;border-style:solid;border-color:var(--calcite-color-border-3)}.border-right{border-right:1px solid var(--calcite-color-border-3)}.action-bar-size{height:51px;width:100%}.map-list{position:absolute;display:flex;flex-direction:column;animation:calcite-scrim-fade-in var(--calcite-internal-animation-timing-medium) ease-in-out;background-color:var(--calcite-color-background);z-index:1000;width:100%;height:-moz-fit-content;height:fit-content}.display-none{display:none}.align-center{align-items:center}.adjusted-height{max-height:calc(100% - 52px);overflow-y:auto}";
609
609
  const MapPickerStyle0 = mapPickerCss;
610
610
 
611
611
  const MapPicker = class {
@@ -705,7 +705,7 @@ const MapPicker = class {
705
705
  * Renders the component.
706
706
  */
707
707
  render() {
708
- return (index.h(index.Host, { key: 'e3d565698c09b0c622d1c93d181f1bf4b343f353' }, this._getToolbar(), this._getMapNameList(this._mapListExpanded)));
708
+ return (index.h(index.Host, { key: '178a4e3fcd08972b0465885c4891a732ea970428' }, this._getToolbar(), this._getMapNameList(this._mapListExpanded)));
709
709
  }
710
710
  /**
711
711
  * Called once after the component has loaded
@@ -889,7 +889,7 @@ const MapSearch = class {
889
889
  * Renders the component.
890
890
  */
891
891
  render() {
892
- return (index.h(index.Host, { key: '13fa47ea3d71e8a58c6001fc6b43e68a1a112d76' }, index.h("div", { key: '0ab0e540eba87e62cc3c6cf1a6c8eb45349fb216', class: "search-widget", ref: (el) => { this._searchElement = el; } })));
892
+ return (index.h(index.Host, { key: '7c990343af0d1077a7315fd131379bc891310e30' }, index.h("div", { key: '97cd41cf7f749f31701de3526cf2ef633eda48dd', class: "search-widget", ref: (el) => { this._searchElement = el; } })));
893
893
  }
894
894
  //--------------------------------------------------------------------------
895
895
  //
@@ -1187,7 +1187,7 @@ const MapTools = class {
1187
1187
  const toolMarginClass = this.enableSingleExpand ? "margin-top-1-2" : "";
1188
1188
  const toolOrder = this.toolOrder ? this.toolOrder : ["legend", "search", "fullscreen", "floorfilter"];
1189
1189
  const shadowClass = this.stackTools ? "box-shadow" : "";
1190
- return (index.h(index.Host, { key: '891dd57541d4b63b7097ac8f165883ba3a65d9ca' }, index.h("div", { key: '79c5d899f42a1f079370520c1e136a69dd1984b8', class: containerClass }, this.enableSingleExpand ? (index.h("div", { class: "box-shadow" }, this._getActionGroup(toggleIcon, false, expandTip, () => this._toggleTools()))) : undefined, index.h("div", { key: 'f2f5aea46dcd64cd0338d8d9935a92f7369cc5e4', class: `${toolMarginClass} ${shadowClass} ${toolsClass}` }, this._getMapWidgets(toolOrder))), index.h("basemap-gallery", { key: '5dabad54ad69b2d69c369364dbe53cdbfe31efb7', basemapConfig: this.basemapConfig, class: basemapClass, mapView: this.mapView, ref: (el) => { this._basemapElement = el; } }), index.h("map-search", { key: 'aa72d13ed8ed0c465feaf1ff89d0bbbf2d28b717', class: searchClass, mapView: this.mapView, ref: (el) => { this._searchElement = el; }, resultGraphicEnabled: true, searchConfiguration: this.searchConfiguration }), index.h("map-legend", { key: '0ede61191230164bc8090b5bbf6c3a88d1454310', class: legendClass, mapView: this.mapView, ref: (el) => { this._legendElement = el; } }), index.h("map-fullscreen", { key: '2db79144d5aeb6787ac4cf4a32d17ef821ca8cce', class: fullscreenClass, mapView: this.mapView, onFullscreenStateChange: (evt) => this._fullscreenStateChange(evt.detail), ref: (el) => { this._fullscreenElement = el; } }), index.h("floor-filter", { key: 'a43bf746faf681eca8e20d9022a1d14dace08e64', class: floorFilterClass, enabled: this.enableFloorFilter, mapView: this.mapView, ref: (el) => { this._floorFilterElement = el; } })));
1190
+ return (index.h(index.Host, { key: '087d0879847a1a48e3e586d4e851a55f0640dfea' }, index.h("div", { key: 'cd76a75845afb17c42722125f30fb5c59d305671', class: containerClass }, this.enableSingleExpand ? (index.h("div", { class: "box-shadow" }, this._getActionGroup(toggleIcon, false, expandTip, () => this._toggleTools()))) : undefined, index.h("div", { key: 'f2522aa2d41243bcaf9ae75372c50454d354de1b', class: `${toolMarginClass} ${shadowClass} ${toolsClass}` }, this._getMapWidgets(toolOrder))), index.h("basemap-gallery", { key: '38762b76d6e5300800a1214a579cc7c76d4f00d7', basemapConfig: this.basemapConfig, class: basemapClass, mapView: this.mapView, ref: (el) => { this._basemapElement = el; } }), index.h("map-search", { key: '929003ecf89addceb07b6337a90f7d0558c67c18', class: searchClass, mapView: this.mapView, ref: (el) => { this._searchElement = el; }, resultGraphicEnabled: true, searchConfiguration: this.searchConfiguration }), index.h("map-legend", { key: '46177bd0963cefc5b5b36e4b4c08e323193d14c9', class: legendClass, mapView: this.mapView, ref: (el) => { this._legendElement = el; } }), index.h("map-fullscreen", { key: 'dfb346c088e665f137143655a47539148a3d2580', class: fullscreenClass, mapView: this.mapView, onFullscreenStateChange: (evt) => this._fullscreenStateChange(evt.detail), ref: (el) => { this._fullscreenElement = el; } }), index.h("floor-filter", { key: '0c1bd8979355d6f5d2c7299bbca23f6762d94cc5', class: floorFilterClass, enabled: this.enableFloorFilter, mapView: this.mapView, ref: (el) => { this._floorFilterElement = el; } })));
1191
1191
  }
1192
1192
  //--------------------------------------------------------------------------
1193
1193
  //
@@ -515,7 +515,7 @@ const MapDrawTools = class {
515
515
  "border" : "border esri-widget esri-sketch__panel";
516
516
  const undoRedoClass = this.drawMode === interfaces.EDrawMode.SKETCH ?
517
517
  "display-none" : "esri-widget esri-sketch__panel border-left esri-sketch__section";
518
- return (index.h(index.Host, { key: '55862b3113e637552b0d1728e53e4a7b296ed03d' }, index.h("div", { key: '22b9b92f3d1cca8f273ecc35d25697ecfc893574', class: containerClass }, index.h("div", { key: '5f3b4e380be0be362fa06c539114d391f10c4db2', ref: (el) => { this._sketchElement = el; } }), index.h("div", { key: '5561e86cde0cbbe552e0853b326fbb1659ade6c3', class: undoRedoClass }, index.h("calcite-action", { key: '7197e23e6db476a65c3ce850db350d0e45454688', disabled: !this.undoEnabled, icon: "undo", onClick: () => this._undo(), scale: "s", text: this._translations.undo }), index.h("calcite-action", { key: 'fc9a818556c51e3f86981cf4ee5355e9c52bb6b1', disabled: !this.redoEnabled, icon: "redo", onClick: () => this._redo(), scale: "s", text: this._translations.redo })))));
518
+ return (index.h(index.Host, { key: '5f82fce6481912c103d709b5fefa3a890d291943' }, index.h("div", { key: '464d32d718167c5e7e2636fa0184622477fc5464', class: containerClass }, index.h("div", { key: '52a11f9d1b8f1692e67a7e706de3741e43c40591', ref: (el) => { this._sketchElement = el; } }), index.h("div", { key: '3a529e4e358ec4890513d7fcbbceadabb9e66a18', class: undoRedoClass }, index.h("calcite-action", { key: '98b684a186a03fe8868bde1978d59c7618a7635a', disabled: !this.undoEnabled, icon: "undo", onClick: () => this._undo(), scale: "s", text: this._translations.undo }), index.h("calcite-action", { key: 'b1d769fd984ecf7cf9e868029cc7a5aba5a39dc7', disabled: !this.redoEnabled, icon: "redo", onClick: () => this._redo(), scale: "s", text: this._translations.redo })))));
519
519
  }
520
520
  //--------------------------------------------------------------------------
521
521
  //
@@ -575,7 +575,7 @@ const FlowItem = class {
575
575
  };
576
576
  FlowItem.style = CalciteFlowItemStyle0;
577
577
 
578
- const createFeatureCss = ":host{display:block}.esri-editor__panel-toolbar{display:none !important}.esri-editor__panel-content{padding-block:0px !important}.esri-editor .esri-item-list__group__header{display:none !important}.esri-editor__panel-content__section .esri-widget__heading{display:none !important}.esri-editor .esri-item-list__filter-container--sticky{padding-block:0px !important;padding-inline:10px !important}.search-widget{width:92% !important;margin:5px 14px 20px 14px}.display-none{display:none !important}.hide-map{height:1%;visibility:hidden}.show-map{padding:10px !important;position:absolute;bottom:0;width:calc(100% - 22px);height:50%}.notice-msg{padding:10px;width:calc(100% - 20px)}.esri-editor__panel-content{padding-block:10px !important}";
578
+ const createFeatureCss = ":host{display:block}.esri-editor__panel-toolbar{display:none !important}.esri-editor__panel-content{padding-block:0px !important}.esri-editor .esri-item-list__group__header{display:none !important}.esri-editor__panel-content__section .esri-widget__heading{display:none !important}.esri-editor .esri-item-list__filter-container--sticky{padding-block:0px !important;padding-inline:10px !important}.search-widget{width:92% !important;margin:5px 14px 20px 14px}.display-none{display:none !important}.hide-map{height:1%;visibility:hidden}.show-map{padding:10px !important;position:absolute;bottom:0;width:calc(100% - 22px)}.notice-msg{padding:10px;width:calc(100% - 20px)}.esri-editor__panel-content{padding-block:10px !important}@media only screen and (max-width: 600px){.esri-editor__panel-content{padding-block:0 !important;min-height:0 !important}}";
579
579
  const CreateFeatureStyle0 = createFeatureCss;
580
580
 
581
581
  const CreateFeature = class {
@@ -680,6 +680,14 @@ const CreateFeature = class {
680
680
  * __esri.FeatureLayer: selected feature layer;
681
681
  */
682
682
  _selectedLayer;
683
+ /**
684
+ * HTMLDivElement: refrence for search div element
685
+ */
686
+ _searchDiv;
687
+ /**
688
+ * HTMLCalciteNoticeElement: calcite notice refrence element
689
+ */
690
+ _calciteNotice;
683
691
  //--------------------------------------------------------------------------
684
692
  //
685
693
  // Watch handlers
@@ -727,15 +735,6 @@ const CreateFeature = class {
727
735
  // Methods (public)
728
736
  //
729
737
  //--------------------------------------------------------------------------
730
- /**
731
- * Destroy the Editor widget instance
732
- * @returns Promise that resolves when the operation is complete
733
- */
734
- async close() {
735
- if (this._editor) {
736
- this._editor.destroy();
737
- }
738
- }
739
738
  /**
740
739
  * Submit the created feature
741
740
  * @returns Promise that resolves when the operation is complete
@@ -803,6 +802,26 @@ const CreateFeature = class {
803
802
  async componentDidLoad() {
804
803
  await this.init();
805
804
  }
805
+ /**
806
+ * Called after each render
807
+ * Used to adjust the map top in case of mobile
808
+ */
809
+ componentDidRender() {
810
+ // update the map top according to space occupied by notice msg and search
811
+ if (this.isMobile) {
812
+ // get the height of notice, search and add 80px(editor msg) height to adjust the map top
813
+ const top = this._calciteNotice.offsetHeight + this._searchDiv.offsetHeight + 80;
814
+ this._mapViewContainer.style.top = `${top}px`;
815
+ }
816
+ }
817
+ /**
818
+ * StencilJS: Called every time the component is disconnected from the DOM,
819
+ */
820
+ disconnectedCallback() {
821
+ if (this._editor) {
822
+ this._editor.destroy();
823
+ }
824
+ }
806
825
  /**
807
826
  * Renders the component.
808
827
  */
@@ -820,7 +839,8 @@ const CreateFeature = class {
820
839
  else if (this._currentPage === 'featureForm') {
821
840
  guidingMsg = this._translations.provideDetailsMsg;
822
841
  }
823
- return (index.h(index.Fragment, { key: '204a51ffceb754c202bcf93fda18560e6101ca65' }, showGuidingMsg && index.h("calcite-notice", { key: '329daebd157ea330d746508dcf2198fa1d56f852', class: "notice-msg", icon: "lightbulb", kind: "success", open: true }, index.h("div", { key: '995898cf5e0ea57d41571429758baf6c459097af', slot: "message" }, guidingMsg)), index.h("calcite-loader", { key: '59bc1bce0936df76a432d75a5a4613d89203571c', class: loaderClass, label: "", scale: "s" }), index.h("div", { key: '814e3e6c63dc1880f235d2ffc5aa8ca9e22eb51e', class: featureFormClass, id: "feature-form" }), this.enableSearch && index.h("div", { key: '22146ca4dd94f57dddf80a04b4aeaa92fc0d3b81', class: `search-widget ${showSearchWidget} ${featureFormClass}`, id: "search-widget-ref" }), index.h("div", { key: '8863876b3393fdcd4d2cdf254289f80d9fd16ef1', class: `${mobileMapClass}`, ref: (el) => { this._mapViewContainer = el; } })));
842
+ return (index.h(index.Fragment, { key: '89634bf5707ea8390416d3087bfbe4e747bafcd7' }, showGuidingMsg && index.h("calcite-notice", { key: '4269224c2904f29060081f6cb8f383f1cf8d741d', class: "notice-msg", icon: "lightbulb", kind: "success", open: true, ref: el => this._calciteNotice = el }, index.h("div", { key: 'ecc3cca85c81d1cb7ab7cdc89b99e31afcb55f76', slot: "message" }, guidingMsg)), index.h("calcite-loader", { key: '34e492c0c469b39d4cfbcda17c4ba196ccb39eb8', class: loaderClass, label: "", scale: "s" }), index.h("div", { key: 'b2073ef4b6124b54038de34798cdf83337626023', class: featureFormClass, id: "feature-form" }), this.enableSearch &&
843
+ index.h("div", { key: 'cd13e98b6a40d5d89d271b5785f797e9bfc19900', class: `search-widget ${showSearchWidget} ${featureFormClass}`, id: "search-widget-ref", ref: el => this._searchDiv = el }), index.h("div", { key: '2575b2d20f7713b05a2024e77452af93eb64e147', class: `${mobileMapClass}`, ref: (el) => { this._mapViewContainer = el; } })));
824
844
  }
825
845
  //--------------------------------------------------------------------------
826
846
  //
@@ -868,7 +888,8 @@ const CreateFeature = class {
868
888
  this._mapViewContainer.classList.add('hide-map');
869
889
  await new this.MapView({
870
890
  map: this.mapView.map,
871
- container: this._mapViewContainer
891
+ container: this._mapViewContainer,
892
+ zoom: this.mapView.zoom
872
893
  }).when((view) => {
873
894
  // update the mapView and load all widgets
874
895
  this._updatedMapView = view;
@@ -1345,7 +1345,7 @@ const MapLayerPicker = class {
1345
1345
  const id = "map-layer-picker";
1346
1346
  let style = this.height > 0 ? { "height": `${this.height.toString()}px` } : {};
1347
1347
  style = { ...style, "display": this.display };
1348
- return (index.h(index.Host, { key: '00823a2fd3ef03454c2cde7259aa7b42e5f5820f' }, index.h("div", { key: '471029b527081a502bc7c34536697e27fd30952e', class: "map-layer-picker-container", style: style }, index.h("div", { key: '7845d44f32181b3d02ad3e7760d7f4be6b7529be', class: "map-layer-picker", style: style }, !this._hasValidLayers ? this._getInvalidPlaceholder() :
1348
+ return (index.h(index.Host, { key: 'e858ff58778eb1a40b40609f44705d9580ddd489' }, index.h("div", { key: '729c3ba4d508d02f79a2dd4856aef5c5662720d7', class: "map-layer-picker-container", style: style }, index.h("div", { key: '9055f9db9bc811797002ecb86da34e17b9cf77be', class: "map-layer-picker", style: style }, !this._hasValidLayers ? this._getInvalidPlaceholder() :
1349
1349
  !this._hasMultipleLayers && this.showSingleLayerAsLabel ? this._getSingleLayerPlaceholder() :
1350
1350
  this.type === "combobox" ? this._getCombobox(id) :
1351
1351
  this.type === "select" ? this._getSelect(id) : this._getDropdown(id)))));
@@ -234,14 +234,6 @@ const CreateRelatedFeature = class {
234
234
  // Methods (public)
235
235
  //
236
236
  //--------------------------------------------------------------------------
237
- /**
238
- * Destroy the Editor widget instance
239
- */
240
- async close() {
241
- if (this._editor) {
242
- this._editor.destroy();
243
- }
244
- }
245
237
  /**
246
238
  * Submit the comment
247
239
  */
@@ -308,7 +300,7 @@ const CreateRelatedFeature = class {
308
300
  }
309
301
  render() {
310
302
  const loaderClass = this._editorLoading ? "" : "display-none";
311
- return (index.h(index.Fragment, { key: '707536f66fc4de711e3f519a8869507bf2d6f566' }, this.showGuidingMsg && index.h("calcite-notice", { key: 'c3fb5a706d250b6db7dac9ab20b949a81eeb0c5f', class: "notice-msg", icon: "lightbulb", kind: "success", open: true }, index.h("div", { key: 'a9aa0a8137a256240c5e8d0c77dc364b31b5b2a1', slot: "message" }, this._translations.provideDetailsMsg)), index.h("calcite-loader", { key: '4e1295a1a867da2c9f1fe4428bdc115bd8643f75', class: loaderClass, label: "", scale: "s" })));
303
+ return (index.h(index.Fragment, { key: '641b4f6f51bce04b6263a1d7dc72a31839df970d' }, this.showGuidingMsg && index.h("calcite-notice", { key: '1a6e577bcc0632a7bc69dd411a692062a7ad176e', class: "notice-msg", icon: "lightbulb", kind: "success", open: true }, index.h("div", { key: '55c5836314fcca69a259be3a36e34c527edcabf3', slot: "message" }, this._translations.provideDetailsMsg)), index.h("calcite-loader", { key: '18c5603a4a75c67a160a71caa15e94790f66d60b', class: loaderClass, label: "", scale: "s" })));
312
304
  }
313
305
  /**
314
306
  * StencilJS: Called once just after the component is fully loaded and the first render() occurs.
@@ -316,6 +308,14 @@ const CreateRelatedFeature = class {
316
308
  async componentDidLoad() {
317
309
  await this.init();
318
310
  }
311
+ /**
312
+ * StencilJS: Called every time the component is disconnected from the DOM,
313
+ */
314
+ disconnectedCallback() {
315
+ if (this._editor) {
316
+ this._editor.destroy();
317
+ }
318
+ }
319
319
  /**
320
320
  * Display editor widget to create the new feature
321
321
  * @protected
@@ -704,14 +704,12 @@ const FeatureDetails = class {
704
704
  const allTables = await mapViewUtils.getAllTables(this.mapView);
705
705
  let relatedTable = null;
706
706
  let validRelationshipId = null;
707
- allTables.some((table) => {
708
- if (selectedLayer.url === table.url) {
709
- const relationship = selectedLayer.relationships.filter(a => table.layerId === a.relatedTableId);
710
- if (relationship?.length) {
711
- relatedTable = table;
712
- validRelationshipId = relationship[0].id;
713
- return true;
714
- }
707
+ selectedLayer.relationships.some((relationship) => {
708
+ const relatedTables = allTables.filter((table) => selectedLayer.url === table.url && table.layerId === relationship.relatedTableId);
709
+ if (relatedTables && relatedTables.length > 0) {
710
+ relatedTable = relatedTables[0];
711
+ validRelationshipId = relationship.id;
712
+ return true;
715
713
  }
716
714
  });
717
715
  this.relatedTableId = relatedTable?.id ?? '';
@@ -2201,7 +2201,7 @@ const SolutionItemDetails = class {
2201
2201
  * Renders the component.
2202
2202
  */
2203
2203
  render() {
2204
- return (index.h(index.Host, { key: '658d13bff98393b9c3f36d7ebce990551d80d9c7' }, index.h("div", { key: '285e6ac2a525212ca5dc381812995cce1561d51c', class: "parent-container" }, index.h("div", { key: '9209a77477f51f45a83aff4feeb409932b6c36cf', class: "inputBottomSeparation" }, index.h("calcite-input", { key: 'ca8669910c7b718c6c5e1e0cfa2f96c8760ad22e', id: "item-title", value: this.itemDetails.title })), index.h("div", { key: '0816438c6db5c93b81890f5a2a7816f676bb096f', class: "inputBottomSeparation" }, index.h("input", { key: '149c8b1f9b34dfe2a0723a86b9ca4653f98d3d4f', accept: ".jpg,.gif,.png,image/jpg,image/gif,image/png", class: "display-none", onChange: (event) => (this._updateThumbnail(event)), ref: (el) => (this.browseForThumbnail = el), type: "file" }), index.h("button", { key: 'c8b8d3d08a72d563349d5e6eebf1cacc6329834e', class: "font-size--3 btn-link inline-block trailer-quarter", onClick: () => this._getThumbnail() }, index.h("svg", { key: '9d699466d0e963c3c60be848792351dc9817e400', class: "icon-inline icon-inline--on-left", height: "16", viewBox: "0 0 16 16", width: "16" }, index.h("path", { key: '8c74ec6c185dc730f1283a5899c378ae552831e1', d: "M14.792 2.666l-1.414-1.413a.965.965 0 0 0-1.385-.03l-1.444 1.444-8.763 8.72L.03 15.481a.371.371 0 0 0 .488.488l4.096-1.756 8.763-8.72-.001-.001.002.002 1.443-1.444a.965.965 0 0 0-.03-1.385zM1.569 14.431l.554-1.293.74.739zm2.338-.924l-1.414-1.414 7.963-7.92 1.414 1.415zm8.67-8.626l-1.413-1.414 1.29-1.29a.306.306 0 0 1 .433 0l.981.98a.306.306 0 0 1 0 .433z" })), this._translations.editThumbnail), index.h("div", { key: '4426295925509550d83c5974a8b691d4696b4b63', class: "flex" }, index.h("div", { key: 'abc4a93cb9d7f3d7e0e9a8e4f0e573a2761ba263', class: "img-container", ref: (el) => (this.thumbnailContainer = el) }, index.h("img", { key: 'ff37875b0f7234038b45d4dc110d1db8610f76d8', class: "scale-down", height: "133", id: "item-thumbnail", ref: (el) => (this.thumbnail = el), width: "200" })), index.h("div", { key: '377149593a7b4e4d9914fefa85627de993d965df', class: "snippet-count-container" }, index.h("calcite-input", { key: 'b23923938627db11be6bb9c63e1710ab54f65539', id: "item-snippet", maxLength: 250, type: "textarea", value: this.itemDetails.snippet }), index.h("label", { key: '66d01cc032dc370c11be61e1a852c5df63b97f2a', class: "font-size--3", id: "item-snippet-count", ref: (el) => (this.itemSnippetCount = el) })))), index.h("calcite-label", { key: 'c462d3a178e90da7da9ed649fc1e2e1d6e18ca28' }, this._translations.description, index.h("label", { key: 'ffdef106ec07bbac32e3ee81b3174611db8c4e07', id: "item-description-label" }, index.h("calcite-input", { key: '72b4ac51c4f98ace79de4d1521debdc55ed796e9', id: "item-description", type: "textarea", value: this.itemDetails.description }))), index.h("calcite-label", { key: 'aac5e579f54edb668fa445702282b754dcf2ed6c' }, this._translations.tags, index.h("label", { key: 'ed4581c14f2d3f1c8a2e1845550fcdeb26204a23', id: "item-tags-label" }, index.h("calcite-input", { key: 'd9c846a82898fa15db4c775e28eb5080ef7ed4d0', id: "item-tags", value: (this.itemDetails.tags && Array.isArray(this.itemDetails.tags) ? this.itemDetails.tags : [this.itemDetails.tags]).join(",") }))), this.itemType !== "Group" ? index.h("calcite-label", null, this._translations.credits, index.h("label", { id: "item-credits-label" }, index.h("calcite-input", { id: "item-credits", value: this.itemDetails.accessInformation }))) : null, this.itemType !== "Group" ? index.h("calcite-label", null, index.h("label", { id: "item-terms-label" }, this._translations.termsOfUse, index.h("calcite-input", { id: "item-terms", type: "textarea", value: this.itemDetails.licenseInfo }))) : null)));
2204
+ return (index.h(index.Host, { key: '84bfa00fcedb54a43856c92e8446305d15d1a54a' }, index.h("div", { key: 'bceaddf6dcc35e5a22cad12e661c17f716fd165e', class: "parent-container" }, index.h("div", { key: '17834a249ffbbbd3ee54617fa2f2224816dd59b1', class: "inputBottomSeparation" }, index.h("calcite-input", { key: '372ceefe695e7c54a4ad35cf5b496202037fd57c', id: "item-title", value: this.itemDetails.title })), index.h("div", { key: 'fc356bd1e3bb965b7555dcea9fccfce44ca96a31', class: "inputBottomSeparation" }, index.h("input", { key: '11dc51158e385025d139372682b33d2093956a50', accept: ".jpg,.gif,.png,image/jpg,image/gif,image/png", class: "display-none", onChange: (event) => (this._updateThumbnail(event)), ref: (el) => (this.browseForThumbnail = el), type: "file" }), index.h("button", { key: 'abc5c96ec20adb16026fd6a7c3eb41871512d360', class: "font-size--3 btn-link inline-block trailer-quarter", onClick: () => this._getThumbnail() }, index.h("svg", { key: '35ce23e7fe17e7f45110e028ddb0c31e033f6f34', class: "icon-inline icon-inline--on-left", height: "16", viewBox: "0 0 16 16", width: "16" }, index.h("path", { key: '0bab7e61e1261db38a1a62dd085f63de5993a640', d: "M14.792 2.666l-1.414-1.413a.965.965 0 0 0-1.385-.03l-1.444 1.444-8.763 8.72L.03 15.481a.371.371 0 0 0 .488.488l4.096-1.756 8.763-8.72-.001-.001.002.002 1.443-1.444a.965.965 0 0 0-.03-1.385zM1.569 14.431l.554-1.293.74.739zm2.338-.924l-1.414-1.414 7.963-7.92 1.414 1.415zm8.67-8.626l-1.413-1.414 1.29-1.29a.306.306 0 0 1 .433 0l.981.98a.306.306 0 0 1 0 .433z" })), this._translations.editThumbnail), index.h("div", { key: '4dff94a716f70a350168ae123f0afb41f360fb3b', class: "flex" }, index.h("div", { key: 'bda8e51d80a72f221eb02ea915609b1e2175a56f', class: "img-container", ref: (el) => (this.thumbnailContainer = el) }, index.h("img", { key: '3b606e141fae758b24d6114d7433cfdec9570ba9', class: "scale-down", height: "133", id: "item-thumbnail", ref: (el) => (this.thumbnail = el), width: "200" })), index.h("div", { key: '3f5c6fd680a45c754e2b798566776363e94bf307', class: "snippet-count-container" }, index.h("calcite-input", { key: '3d35c224c6d8b34483712e392aeca8a87e0d0810', id: "item-snippet", maxLength: 250, type: "textarea", value: this.itemDetails.snippet }), index.h("label", { key: '1aecd6515a83c523c991d5ccd9516ff14384a13a', class: "font-size--3", id: "item-snippet-count", ref: (el) => (this.itemSnippetCount = el) })))), index.h("calcite-label", { key: '3052a4847edc5afd336a763e8e6933694aad9d6d' }, this._translations.description, index.h("label", { key: '595de020ea7e1e5b61296f7c9b17f1a02a0741e0', id: "item-description-label" }, index.h("calcite-input", { key: '135cb36c76f6462aa470f9b7680ebefa6be60018', id: "item-description", type: "textarea", value: this.itemDetails.description }))), index.h("calcite-label", { key: '8f51b5f1d2607e040b6a94920d2f581b3595838f' }, this._translations.tags, index.h("label", { key: '21b84a7bcb9d5b8b56e7b6ccee0b49e940e1faf3', id: "item-tags-label" }, index.h("calcite-input", { key: '8f3b14471019c703944e531abca80b01751b04e1', id: "item-tags", value: (this.itemDetails.tags && Array.isArray(this.itemDetails.tags) ? this.itemDetails.tags : [this.itemDetails.tags]).join(",") }))), this.itemType !== "Group" ? index.h("calcite-label", null, this._translations.credits, index.h("label", { id: "item-credits-label" }, index.h("calcite-input", { id: "item-credits", value: this.itemDetails.accessInformation }))) : null, this.itemType !== "Group" ? index.h("calcite-label", null, index.h("label", { id: "item-terms-label" }, this._translations.termsOfUse, index.h("calcite-input", { id: "item-terms", type: "textarea", value: this.itemDetails.licenseInfo }))) : null)));
2205
2205
  }
2206
2206
  componentDidRender() {
2207
2207
  this._loadThumb();
@@ -2379,7 +2379,7 @@ const SolutionItemSharing = class {
2379
2379
  * Renders the component.
2380
2380
  */
2381
2381
  render() {
2382
- return (index.h(index.Host, { key: 'b79c768f4ba29331fd70ffc8dd55ae0fa77b0aa8' }, index.h("div", { key: '9b0a681fc53110cebda0246eb19157631dc8bac8', class: "container-border" }, index.h("calcite-label", { key: '68f56772d51805babdec5b51a9845ec4d54a6bb8' }, this._translations.groupInfo), this._renderItems(this.sharing))));
2382
+ return (index.h(index.Host, { key: '6a9facacd8961a53dd4e49082def5573732d49bf' }, index.h("div", { key: '6eaf512253573a4db25ec64ebe1439228df4845d', class: "container-border" }, index.h("calcite-label", { key: 'db5680d010759bdb28b774293b8ae1522c9d8052' }, this._translations.groupInfo), this._renderItems(this.sharing))));
2383
2383
  }
2384
2384
  //--------------------------------------------------------------------------
2385
2385
  //
@@ -2498,7 +2498,7 @@ const SolutionOrganizationVariables = class {
2498
2498
  * Renders the component.
2499
2499
  */
2500
2500
  render() {
2501
- return (index.h(index.Host, { key: 'f576bc6c4e1ef9c2c0879896f3b364584c9f4597' }, index.h("div", { key: '22d459e61c3ead17b9ef3ce5a2c6baeddc79c80e' }, index.h("h4", { key: '8e65f908893fbeda320f3910de3e48776a13816a', class: "org-var-header" }, this._translations.orgVariables)), index.h("div", { key: '02c6a5f124a4b729dca668afe1693e0d510b11c5', class: "container-border" }, index.h("calcite-tree", { key: '8b3fc867daa01b80908f9099923099211f807953', id: "variable-label" }, this._renderHierarchy(this._organizationVariables)))));
2501
+ return (index.h(index.Host, { key: '99ef09d7f851a57d42c7f7ad5cd6e303b9508d17' }, index.h("div", { key: '7217187249febdbbf3899d96cdbb2a45474343b7' }, index.h("h4", { key: 'd5d01648936de6726d7422f81f58ad998574ea87', class: "org-var-header" }, this._translations.orgVariables)), index.h("div", { key: '22d6f7fb4b0d8f570dbcf9dcac08dce7e2f6383e', class: "container-border" }, index.h("calcite-tree", { key: '5f21f4fc4b378da1b144dbeb1e19df2f43bcee61', id: "variable-label" }, this._renderHierarchy(this._organizationVariables)))));
2502
2502
  }
2503
2503
  //--------------------------------------------------------------------------
2504
2504
  //
@@ -2596,7 +2596,7 @@ const SolutionResourceItem = class {
2596
2596
  */
2597
2597
  render() {
2598
2598
  const hasValidResources = this._hasValidResources();
2599
- return (index.h(index.Host, { key: '5047514bc715a5a67ecacf629d303d81482c0b5e' }, index.h("div", { key: '22a903832d45858fbec839fce90527671a457257', class: "resource-item" }, index.h("div", { key: 'fea759db7edf7ca84d353060ee6b59aa101bc61b', class: "margin-bottom-1" }, index.h("calcite-button", { key: 'c76c2d60a856896255554324ba0239ecde2d49eb', appearance: "solid", class: "resource-button", color: "blue", onClick: () => this._addNewResource() }, this._translations.addResource), index.h("calcite-button", { key: '4feb64a2b7cc3490c1e0f90ee6dd36a842a8ae0d', appearance: "solid", color: "blue", disabled: !hasValidResources, onClick: () => this._downloadAll() }, this._translations.downloadAll)), index.h("div", { key: '76c64955841cdc671e1df9b3552fe62e67bfc7f5', class: "resources-container", style: { display: hasValidResources ? "inherit" : "none" } }, this._renderResourceList()))));
2599
+ return (index.h(index.Host, { key: 'eb76345d460620ea6229c1ac94eaf5dec9943c1e' }, index.h("div", { key: '8dfb91c0ca0d4201940e29bcb809002da1cd9d76', class: "resource-item" }, index.h("div", { key: 'a6ec9664d267c25eada0432e6825369fdc82676f', class: "margin-bottom-1" }, index.h("calcite-button", { key: 'd84827e9dbe4ad68544430c007b28c5e9929e076', appearance: "solid", class: "resource-button", color: "blue", onClick: () => this._addNewResource() }, this._translations.addResource), index.h("calcite-button", { key: 'd88b2928ca6994054f899823701327ece50a937b', appearance: "solid", color: "blue", disabled: !hasValidResources, onClick: () => this._downloadAll() }, this._translations.downloadAll)), index.h("div", { key: '445c0c3e2deb3b546f4c84186a148e8888477d13', class: "resources-container", style: { display: hasValidResources ? "inherit" : "none" } }, this._renderResourceList()))));
2600
2600
  }
2601
2601
  _removedResources = {};
2602
2602
  //--------------------------------------------------------------------------
@@ -2878,7 +2878,7 @@ const SolutionTemplateData = class {
2878
2878
  * Renders the component.
2879
2879
  */
2880
2880
  render() {
2881
- return (index.h(index.Host, { key: '0f8453b6c096fbac6e90f3e8f7efff3041201ca0' }, index.h("div", { key: 'e0638b863e6d445c3baf608bd3e52904a78bf670', class: "solution-data-container" }, index.h("calcite-shell", { key: 'fa3b1e80f768e489133c700f4e729ad2ebde88ef', class: "light var-container", dir: "ltr" }, index.h("calcite-panel", { key: '6fe1596637fce085f18d3a98362088320a72d248', class: "json-editor" }, index.h("div", { key: 'edcb77ca9a7dcc6c6c4018fd4571c690cd82f7b1', class: "solution-data-child-container calcite-match-height" }, index.h("json-editor", { key: 'ea3a8b5d1b7ad20a60456daf107af678a68027a1', class: "solution-data-editor-container", instanceid: this.itemId + "|" + this.instanceid, value: this.value }))), index.h("calcite-shell-panel", { key: '34b4c47647738d5a07eac01b4162d7a599c2cc16', "height-scale": "l", position: "end", slot: "contextual-panel", "width-scale": "xs" }, index.h("div", { key: 'e1609bd8e25b2af8989e4018ac4facaffe830897', class: this.varsOpen ? "solution-data-child-container" : "solution-data-child-container-collapsed" }, index.h("calcite-button", { key: '87576dba22c378c609710215954d6ea8e016c06c', appearance: "transparent", class: "collapse-btn", "icon-start": this.varsOpen ? "chevrons-right" : "chevrons-left", id: "collapse-vars", onClick: () => this._toggleVars(), scale: "s", title: this.varsOpen ? this._translations.collapse : this._translations.expand }), index.h("div", { key: '279c775502f8cdbb5c01971b7c763cf5bd88de28', class: this.varsOpen ? "org-vars" : "org-vars display-none", id: "orgVars" }, index.h("solution-organization-variables", { key: 'cd357642cb12ec25fe90ca011c90b80f37889d80', value: this.organizationVariables })), index.h("div", { key: '1adf2eb87308f4b85bc1fec11c80682b5e9dc131', class: this.varsOpen ? "sol-vars" : "sol-vars display-none", id: "solVars" }, index.h("solution-variables", { key: 'a836a844cbcf6e9bbbae9e9d2eadead6570ce8f2', value: this.solutionVariables }))))))));
2881
+ return (index.h(index.Host, { key: '78d31b01a7b3aac5e3b63ec59fa0225e662c3532' }, index.h("div", { key: '84ad00f60d5ad98fc14fad50b2db93844e54a842', class: "solution-data-container" }, index.h("calcite-shell", { key: '0e56c32e9ba92e9e536ce16f30db4e59d1c71094', class: "light var-container", dir: "ltr" }, index.h("calcite-panel", { key: 'ab251fe749493d11b61359f3f018fa87917d83c6', class: "json-editor" }, index.h("div", { key: '94be603b8c03bccbcc31293839d633ffa0ca5b15', class: "solution-data-child-container calcite-match-height" }, index.h("json-editor", { key: '76a5a31ae0dc54d59a300e0d6cc6b543e994d322', class: "solution-data-editor-container", instanceid: this.itemId + "|" + this.instanceid, value: this.value }))), index.h("calcite-shell-panel", { key: '5405b6aa574c721965bbdd4aabf90981f82c7da7', "height-scale": "l", position: "end", slot: "contextual-panel", "width-scale": "xs" }, index.h("div", { key: 'e7b57aa1f91e479a7538b5bb60fff9ff096bc9c9', class: this.varsOpen ? "solution-data-child-container" : "solution-data-child-container-collapsed" }, index.h("calcite-button", { key: 'ddd017fee5c66d79cd2c6239b847aacef9e04070', appearance: "transparent", class: "collapse-btn", "icon-start": this.varsOpen ? "chevrons-right" : "chevrons-left", id: "collapse-vars", onClick: () => this._toggleVars(), scale: "s", title: this.varsOpen ? this._translations.collapse : this._translations.expand }), index.h("div", { key: 'a45aec86952e3172c76153b01a54076d97050de9', class: this.varsOpen ? "org-vars" : "org-vars display-none", id: "orgVars" }, index.h("solution-organization-variables", { key: 'e138b7ec4c256c916ef52cef6d17f0d9a839d506', value: this.organizationVariables })), index.h("div", { key: '9444585d82bc85f2cf535ecc8921b2d3f67b398d', class: this.varsOpen ? "sol-vars" : "sol-vars display-none", id: "solVars" }, index.h("solution-variables", { key: '030de51ff885c3ddf549fc4898c31ec23bb0d303', value: this.solutionVariables }))))))));
2882
2882
  }
2883
2883
  _initializing = false;
2884
2884
  //--------------------------------------------------------------------------
@@ -2952,7 +2952,7 @@ const SolutionVariables = class {
2952
2952
  * Renders the component.
2953
2953
  */
2954
2954
  render() {
2955
- return (index.h(index.Host, { key: 'bb418465a19b2fa0a8f5e216ba853d7427a78fdf' }, index.h("div", { key: 'f628616eb2ef38cd657052666e53dfe72cb3f221' }, index.h("h4", { key: '97348278cfa8ecd968deb135c1fc9fe44971e7d2', class: "org-var-header" }, this._translations.solVariables)), index.h("div", { key: '91d5822a5358f95d37654d8a9eda66c3fe8f3318', class: "container-border" }, index.h("calcite-tree", { key: '7982f1e945f1d939ae52867764a438d67ed6a154', id: "variable-label" }, this._renderHierarchy(this._solutionVariables)))));
2955
+ return (index.h(index.Host, { key: '5d3ed27bced41fb6bf6c393ddde152fb0056d25b' }, index.h("div", { key: 'cb05d3c237719abd539b21b38968a41364c1880e' }, index.h("h4", { key: '367eb15af209dfed31b43f705fb6de05e25bb374', class: "org-var-header" }, this._translations.solVariables)), index.h("div", { key: '10142202269a9f2eaa82c0b50a1980d9f3051208', class: "container-border" }, index.h("calcite-tree", { key: 'd89353a7fe357851a697df036ae7795154254759', id: "variable-label" }, this._renderHierarchy(this._solutionVariables)))));
2956
2956
  }
2957
2957
  //--------------------------------------------------------------------------
2958
2958
  //
@@ -174,7 +174,6 @@ const CardManager = class {
174
174
  */
175
175
  async _backFromCreateFeature() {
176
176
  if (this._createFeature) {
177
- await this._createFeature.close();
178
177
  this._showCreateFeatureComponent = false;
179
178
  this.backFromCreateWorkFlow.emit();
180
179
  }
@@ -185,7 +184,6 @@ const CardManager = class {
185
184
  * @protected
186
185
  */
187
186
  _featureCreated() {
188
- void this._createFeature.close();
189
187
  this._showCreateFeatureComponent = false;
190
188
  this._showSubmitBtn = false;
191
189
  this._isFeatureCreated = true;
@@ -207,7 +205,7 @@ const CardManager = class {
207
205
  };
208
206
  CardManager.style = CardManagerStyle0;
209
207
 
210
- const layerTableCss = ":host{display:block}.height-full{height:100%}.height-full-adjusted{height:calc(100% - 20px)}.width-full{width:100%}.display-flex{display:flex}.table-border{border:1px solid var(--calcite-color-border-2)}.border-end{border-inline-end:1px solid var(--calcite-color-border-2)}.border-bottom{border-bottom:1px solid var(--calcite-color-border-2)}.padding-5{padding:5px}.padding-end-1{padding-inline-end:1rem}.height-51-px{height:51px}.height-50-px{height:50px}.bottom-left{position:absolute;left:0;bottom:0;padding-left:5px}html[dir=\"rtl\"] .bottom-left{position:absolute;right:0;bottom:0;padding-right:5px}.height-19{height:19px}.background{background-color:var(--calcite-color-background)}.text-color{color:var(--calcite-color-text-1)}.align-center{align-items:center}.danger-color{color:var(--calcite-color-status-danger)}.esri-feature-table vaadin-grid{border:none !important}vaadin-grid-cell-content{font-size:14px !important;color:var(--calcite-color-text-3) !important}.share-action{position:absolute;right:0}html[dir=\"rtl\"] .share-action{left:0}.disabled{cursor:default !important;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled);pointer-events:none}.instant-app-share{height:50px !important;display:inline-flex}.border-top{border-top:1px solid var(--calcite-color-border-2)}.modal{--calcite-modal-content-padding:0}.esri-feature-table__table-container{height:100%}.search{--calcite-color-border-input:var(--calcite-color-border-3)}";
208
+ const layerTableCss = ":host{display:block}.height-full{height:100%}.height-full-adjusted{height:calc(100% - 20px)}.width-full{width:100%}.display-flex{display:flex}.table-border{border:1px solid var(--calcite-color-border-2)}.border-end{border-inline-end:1px solid var(--calcite-color-border-2)}.border-bottom{border-bottom:1px solid var(--calcite-color-border-2)}.padding-5{padding:5px}.padding-end-1{padding-inline-end:1rem}.height-51-px{height:51px}.height-50-px{height:50px}.bottom-left{position:absolute;left:0;bottom:0;padding-left:5px}html[dir=\"rtl\"] .bottom-left{position:absolute;right:0;bottom:0;padding-right:5px}.height-19{height:19px}.background{background-color:var(--calcite-color-background)}.text-color{color:var(--calcite-color-text-1)}.align-center{align-items:center}.danger-color{color:var(--calcite-color-status-danger)}.esri-feature-table vaadin-grid{border:none !important}vaadin-grid-cell-content{font-size:14px !important;color:var(--calcite-color-text-3) !important}.share-action{position:absolute;right:0}html[dir=\"rtl\"] .share-action{left:0}.disabled{cursor:default !important;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled);pointer-events:none}.instant-app-share{height:50px !important;display:inline-flex}.border-top{border-top:1px solid var(--calcite-color-border-2)}.modal{--calcite-modal-content-padding:0}.esri-feature-table__table-container{height:100%}.search-container{background-color:var(--calcite-color-foreground-1) !important}.search{--calcite-color-border-input:var(--calcite-color-border-3);width:60%;padding:10px}";
211
209
  const LayerTableStyle0 = layerTableCss;
212
210
 
213
211
  const LayerTable = class {
@@ -705,7 +703,7 @@ const LayerTable = class {
705
703
  const showSearch = this._canShowFullTextSearch();
706
704
  this._validateActiveActions();
707
705
  return (index.h(index.Host, { key: '46394d7e108068600980efd766fbf5d91243f3c9' }, index.h("calcite-shell", { key: 'd831121a56070552139386033b02ddc2531c29e9' }, this._getTableControlRow("header"), index.h("div", { key: '591e0b0bba19f1dbe99049a470b5d3c04253a2c2', class: `width-full ${tableHeightClass}` }, index.h("calcite-panel", { key: 'd70244a3c989a5bea8bbbaf33c4ebe9c04fc4515', class: "height-full width-full" }, showSearch &&
708
- index.h("calcite-input", { key: 'b8418eca07a07956f702a09aa642255d05742b14', class: "search", clearable: true, icon: "search", onCalciteInputChange: (evt) => void this._searchTextChanged(evt), placeholder: this._searchPlaceHolder, title: this._searchPlaceHolder, type: "search" }), index.h("calcite-loader", { key: '4478be9175933c1b076f7011bd39aaf9adf7faad', class: loadingClass, label: this._translations.fetchingData, scale: "l" }), index.h("div", { key: '2a77b11f65188931041d781cde17143c90962931', class: tableNodeClass, ref: this.onTableNodeCreate }))), !this.isMobile ? (index.h("div", { class: "bottom-left text-color height-19" }, this._translations.recordsSelected
706
+ index.h("div", { key: 'fd14c6dab7898e27bd61bbc03878c898d26f042a', class: "search-container" }, index.h("calcite-input", { key: '9675cc22233456446be8a6b9fc24842fbb3f88e2', class: "search", clearable: true, icon: "search", onCalciteInputChange: (evt) => void this._searchTextChanged(evt), placeholder: this._searchPlaceHolder, title: this._searchPlaceHolder, type: "search" })), index.h("calcite-loader", { key: '74447458a0ac4cee6934e7101a5fee2c180d1330', class: loadingClass, label: this._translations.fetchingData, scale: "l" }), index.h("div", { key: '6c2a5ff4a69690fde002005eb9c55047c25ad63d', class: tableNodeClass, ref: this.onTableNodeCreate }))), !this.isMobile ? (index.h("div", { class: "bottom-left text-color height-19" }, this._translations.recordsSelected
709
707
  .replace("{{total}}", total)
710
708
  .replace("{{selected}}", selected))) : undefined), this.createFilterModal && this._filterModal()));
711
709
  }
@@ -722,7 +720,7 @@ const LayerTable = class {
722
720
  * Called after the component is rendered
723
721
  */
724
722
  componentDidRender() {
725
- // need to be called after each render to get the clicked mouseEvent
723
+ // need to be called after each render to get the clicked mouseEvent
726
724
  document.onclick = (e) => this._handleDocumentClick(e);
727
725
  document.onkeydown = (e) => this._handleKeyDown(e);
728
726
  document.onkeyup = (e) => this._handleKeyUp(e);
@@ -869,7 +867,8 @@ const LayerTable = class {
869
867
  */
870
868
  _getTableControlRow(slot) {
871
869
  const id = "more-table-options";
872
- return (index.h("div", { class: "display-flex border-bottom height-51-px", ref: (el) => this._toolbar = el, slot: slot }, this._getActionBar(), !this.isMobile ? this._getDropdown(id) : undefined, this.enableShare && !this.isMobile ? this._getShare("share") : undefined));
870
+ const toolbarClass = this._canShowFullTextSearch() ? "border-bottom" : "";
871
+ return (index.h("div", { class: `display-flex height-51-px ${toolbarClass}`, ref: (el) => this._toolbar = el, slot: slot }, this._getActionBar(), !this.isMobile ? this._getDropdown(id) : undefined, this.enableShare && !this.isMobile ? this._getShare("share") : undefined));
873
872
  }
874
873
  /**
875
874
  * Gets a row of controls that can be used for various interactions with the table
@@ -2112,7 +2111,7 @@ function joinAppProxies(map, config, appProxies) {
2112
2111
  return map;
2113
2112
  }
2114
2113
 
2115
- const mapCardCss = ":host{display:block;--calcite-label-margin-bottom:0;--calcite-block-padding:0}.map-height{height:calc(100% - 53px)}.height-full{height:100%}.border-bottom-3px{border-bottom:3px solid var(--calcite-color-border-3)}.height-50-px{height:50px}.box-shadow{box-shadow:none !important}.visibility-hidden-1{visibility:hidden;height:1px;}.display-none{display:none}.display-block{display:block}";
2114
+ const mapCardCss = ":host{display:block;--calcite-label-margin-bottom:0;--calcite-block-padding:0}.map-height{height:calc(100% - 53px)}.height-full{height:100%}.height-49-px{height:49px}.box-shadow{box-shadow:none !important}.visibility-hidden-1{visibility:hidden;height:1px;}.display-none{display:none}.display-block{display:block}";
2116
2115
  const MapCardStyle0 = mapCardCss;
2117
2116
 
2118
2117
  const MapCard = class {
@@ -2379,12 +2378,13 @@ const MapCard = class {
2379
2378
  * Renders the component.
2380
2379
  */
2381
2380
  render() {
2382
- const mapContainerClass = this.isMapLayout ? "display-flex height-50-px border-bottom-3px" : "";
2381
+ const mapContainerClass = this.isMapLayout ? "display-flex height-49-px" : "";
2383
2382
  const mapClass = this.hidden ? "visibility-hidden-1" : "";
2384
2383
  const themeClass = this.theme === "dark" ? "calcite-mode-dark" : "calcite-mode-light";
2385
2384
  const mapHeightClass = this.mapInfos?.length > 1 || this.isMapLayout ? "map-height" : "height-full";
2385
+ const progressClass = this.isMapLayout ? "" : "display-none";
2386
2386
  this._validateActiveActions();
2387
- return (index.h(index.Host, { key: '197d79614a8d45037c034d3a61eda793d3ad3365' }, index.h("div", { key: 'ff428e43fb74c71fabd3af86677223c460bb4fb8', class: `${mapContainerClass} width-full`, ref: (el) => this._toolbar = el }, this._getActionBar(), !this.isMobile && this.isMapLayout && this._getDropdown("more-table-options")), index.h("div", { key: '0cf63d7623c194bcb0a8636e89bd150450c385a0', class: `${mapHeightClass} ${mapClass}`, ref: (el) => (this._mapDiv = el) }), index.h("map-tools", { key: '0982cb82f916bfff2c25e3b276b8f7708fe19842', basemapConfig: this.basemapConfig, class: `box-shadow ${themeClass}`, enableBasemap: this.enableBasemap, enableFloorFilter: this.enableFloorFilter, enableFullscreen: this.enableFullscreen, enableHome: this.enableHome, enableLegend: this.enableLegend, enableSearch: this.enableSearch, enableSingleExpand: this.enableSingleExpand, homeZoomToolsSize: this.homeZoomToolsSize, mapView: this.mapView, mapWidgetsSize: this.mapWidgetsSize, position: this.mapWidgetsPosition, ref: (el) => this._mapTools = el, searchConfiguration: this._searchConfiguration, stackTools: this.stackTools, toolOrder: this.toolOrder })));
2387
+ return (index.h(index.Host, { key: '94d7399ed75c0e90487d6153a0d28ab6f722ae93' }, index.h("div", { key: 'e194d8800dd7a865e101d779d032d164f3e5562d', class: `${mapContainerClass} width-full`, ref: (el) => this._toolbar = el }, this._getActionBar(), !this.isMobile && this.isMapLayout && this._getDropdown("more-table-options")), index.h("calcite-progress", { key: '0abdbf4e8ba5861866aba7791dfdb91a7a5f4daa', class: progressClass, value: 0 }), index.h("div", { key: '83aa012aeef6ae64e49007d542fd949e7d4602f4', class: `${mapHeightClass} ${mapClass}`, ref: (el) => (this._mapDiv = el) }), index.h("map-tools", { key: '229cc18b36885cad12d44c13e1fe37a97403b9d8', basemapConfig: this.basemapConfig, class: `box-shadow ${themeClass}`, enableBasemap: this.enableBasemap, enableFloorFilter: this.enableFloorFilter, enableFullscreen: this.enableFullscreen, enableHome: this.enableHome, enableLegend: this.enableLegend, enableSearch: this.enableSearch, enableSingleExpand: this.enableSingleExpand, homeZoomToolsSize: this.homeZoomToolsSize, mapView: this.mapView, mapWidgetsSize: this.mapWidgetsSize, position: this.mapWidgetsPosition, ref: (el) => this._mapTools = el, searchConfiguration: this._searchConfiguration, stackTools: this.stackTools, toolOrder: this.toolOrder })));
2388
2388
  }
2389
2389
  /**
2390
2390
  * Called each time after the component is loaded
@@ -58,7 +58,6 @@ const CrowdsourceReporter = class {
58
58
  this._filterActive = false;
59
59
  this._flowItems = [];
60
60
  this._hasValidLayers = false;
61
- this._loadingFeatureDetails = undefined;
62
61
  this._mapInfo = undefined;
63
62
  this._reportSubmitted = false;
64
63
  this._selectedLayerName = undefined;
@@ -211,6 +210,10 @@ const CrowdsourceReporter = class {
211
210
  * FilterInitState: filter's init state
212
211
  */
213
212
  _filterInitState;
213
+ /**
214
+ * string: Previous selected layer id
215
+ */
216
+ _prevSelectedLayerId;
214
217
  //--------------------------------------------------------------------------
215
218
  //
216
219
  // Watch handlers
@@ -311,7 +314,7 @@ const CrowdsourceReporter = class {
311
314
  */
312
315
  render() {
313
316
  const themeClass = this.theme === "dark" ? "calcite-mode-dark" : "calcite-mode-light";
314
- return (index.h(index.Host, { key: '198fe34894f73b66ac15c4f75b05e3159586a392' }, this._reportSubmitted && index.h("calcite-alert", { key: '2c07a26c0fce4f5b66a2245850f7fca6e7cc2333', "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: 'f3269fd5bc315913f25795fc4dda47d83de7166f', slot: "message" }, this.reportSubmittedMessage ? this.reportSubmittedMessage : this._translations.submitMsg)), this._featureCreationFailedErrorMsg && index.h("calcite-alert", { key: '974254aa4eec7166ce23c9513633174b26d45a4d', "auto-close": true, class: themeClass, icon: "x-octagon", kind: "danger", label: "", onCalciteAlertClose: () => { this._featureCreationFailedErrorMsg = ""; }, open: true, placement: "top" }, index.h("div", { key: 'f0e27267cb6bdc626340185ff3af5c8527c5755c', slot: "title" }, this._translations.error), index.h("div", { key: 'ce443229655784ecc106ef4f90375a0d2ba14679', slot: "message" }, this._featureCreationFailedErrorMsg)), this._commentSubmitted && index.h("calcite-alert", { key: '8094e9db5856630b6dbbd4f37de35afc8fc0cab9', "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: '9fea022654934c6b58064f71e6c7cb59e4429732', slot: "message" }, this.commentSubmittedMessage || this._translations.commentSubmittedMsg)), this._addingCommentFailed && index.h("calcite-alert", { key: '21cd17c9a43553c40427759070ec5f7d86bcb471', "auto-close": true, class: themeClass, icon: "x-octagon", kind: "danger", label: "", onCalciteAlertClose: () => { this._addingCommentFailed = false; }, open: true, placement: "top" }, index.h("div", { key: '82ca845385e34740ab2af082a5338a851ad0c006', slot: "title" }, this._translations.error), index.h("div", { key: '9dd641fe9e78e83387a266df51b8f709409bd332', slot: "message" }, this._translations.addingCommentFailedMsg)), index.h("div", { key: '1977a4e41c0f222385585f0a0a6c19a99432846b' }, index.h("calcite-shell", { key: '67d0771f744f5ba427cef2b453dee3470d2fe5bc', "content-behind": true }, this._getReporter()))));
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()))));
315
318
  }
316
319
  //--------------------------------------------------------------------------
317
320
  //
@@ -444,18 +447,29 @@ const CrowdsourceReporter = class {
444
447
  this._filterActive = false;
445
448
  this._filterUrlParams = null;
446
449
  this._filterInitState = null;
447
- void this._featureList.refresh();
450
+ if (this._featureList) {
451
+ await this._featureList.refresh();
452
+ }
453
+ if (this._layerList) {
454
+ await this._layerList.refresh();
455
+ }
448
456
  }
449
457
  /**
450
458
  * Check if the layers definitionExpression has been modified and update the feature list depending on the applied filters
451
459
  * @protected
452
460
  */
453
- _handleFilterUpdate() {
461
+ async _handleFilterUpdate() {
462
+ this._showLoadingIndicator = true;
454
463
  //if filter are applied the url params will be generated
455
464
  //set the filter active state based on the length of applied filters
456
465
  this._filterActive = this._filterList.urlParams.getAll('filter').length > 0;
457
466
  this._filterUrlParams = this._filterList.urlParams.getAll('filter');
458
- void this._featureList.refresh();
467
+ this._filterInitState = await this._filterList.getFilterInitState();
468
+ await this._featureList.refresh();
469
+ if (this._layerList) {
470
+ await this._layerList.refresh();
471
+ }
472
+ this._showLoadingIndicator = false;
459
473
  }
460
474
  /**
461
475
  * Get the feature layer list
@@ -522,7 +536,6 @@ const CrowdsourceReporter = class {
522
536
  */
523
537
  backFromCreateFeaturePanel() {
524
538
  if (this._createFeature) {
525
- void this._createFeature.close();
526
539
  void this.updateNonVisibleLayersOnMap(false);
527
540
  }
528
541
  //on back form will be closed, so update the form state
@@ -543,7 +556,6 @@ const CrowdsourceReporter = class {
543
556
  */
544
557
  backFromCreateRelatedFeaturePanel() {
545
558
  if (this._createRelatedFeature) {
546
- void this._createRelatedFeature.close();
547
559
  this._showSubmitCancelButton = false;
548
560
  }
549
561
  //on back form will be closed, so update the form state
@@ -600,9 +612,6 @@ const CrowdsourceReporter = class {
600
612
  * @protected
601
613
  */
602
614
  async navigateToHomePage() {
603
- if (this._createFeature) {
604
- void this._createFeature.close();
605
- }
606
615
  if (this._layerList) {
607
616
  void this._layerList.refresh();
608
617
  }
@@ -624,6 +633,10 @@ const CrowdsourceReporter = class {
624
633
  if (evt.detail.layerId && evt.detail.layerName) {
625
634
  await this.setSelectedLayer(evt.detail.layerId, evt.detail.layerName);
626
635
  }
636
+ // reset the applied filter when switching to another layer
637
+ if (this._selectedLayerId !== this._prevSelectedLayerId && this._filterActive) {
638
+ await this.resetFilter();
639
+ }
627
640
  void this.updateNonVisibleLayersOnMap(true);
628
641
  // get the form template elements to pass in create-feature to create a LEVELID field in feature-form
629
642
  this._getFormElements();
@@ -683,27 +696,33 @@ const CrowdsourceReporter = class {
683
696
  await this.loadFeatureFromURLParams();
684
697
  }
685
698
  }
686
- /**On click of layer list item show feature list
699
+ /**
700
+ * On click of layer list item show feature list
687
701
  * @param evt Event which has details of selected layerId and layerName
688
702
  * @protected
689
703
  */
690
- displayFeaturesList(evt) {
704
+ async displayFeaturesList(evt) {
691
705
  this._updatedSorting = {
692
706
  field: '',
693
707
  order: 'desc'
694
708
  };
695
- this._filterActive = false;
696
709
  this._updatedSortOption = "sortNewest";
697
- void this.setSelectedLayer(evt.detail.layerId, evt.detail.layerName);
710
+ await this.setSelectedLayer(evt.detail.layerId, evt.detail.layerName);
698
711
  this._flowItems = [...this._flowItems, "feature-list"];
712
+ // reset the applied filter when switching to another layer
713
+ if (this._selectedLayerId !== this._prevSelectedLayerId && this._filterActive) {
714
+ await this.resetFilter();
715
+ }
716
+ this._prevSelectedLayerId = this._selectedLayerId;
699
717
  }
700
718
  /**
701
- * On back from filter panel get the filter's init state
719
+ * Reset's the applied filter
702
720
  * @protected
703
721
  */
704
- async backFromFilterPanel() {
705
- this._filterInitState = await this._filterList.getFilterInitState();
706
- this.backFromSelectedPanel();
722
+ async resetFilter() {
723
+ const prevLayer = await mapViewUtils.getLayerOrTable(this.mapView, this._prevSelectedLayerId);
724
+ prevLayer.definitionExpression = this._filterInitState.initDefExpressions[this._prevSelectedLayerId];
725
+ void this._handleFilterListReset();
707
726
  }
708
727
  /**
709
728
  * On back from selected panel navigate to the previous panel
@@ -764,10 +783,14 @@ const CrowdsourceReporter = class {
764
783
  */
765
784
  async getRelatedTable() {
766
785
  const selectedLayer = this._currentFeature.layer;
767
- const allRelatedTableIds = selectedLayer.relationships.map(a => a.relatedTableId);
768
786
  const allTables = await mapViewUtils.getAllTables(this.mapView);
769
- const relatedTables = allTables.filter((table) => selectedLayer.url === table.url && allRelatedTableIds.includes(table.layerId));
770
- this._relatedTable = relatedTables[0];
787
+ selectedLayer.relationships.some((relationship) => {
788
+ const relatedTables = allTables.filter((table) => selectedLayer.url === table.url && table.layerId === relationship.relatedTableId);
789
+ if (relatedTables && relatedTables.length > 0) {
790
+ this._relatedTable = relatedTables[0];
791
+ return true;
792
+ }
793
+ });
771
794
  }
772
795
  /**
773
796
  * Show loading indicator while updating the feature details component
@@ -825,7 +848,7 @@ const CrowdsourceReporter = class {
825
848
  */
826
849
  getFilterPanel() {
827
850
  const currentLayersExpressions = this.layerExpressions ? this.layerExpressions.filter((exp) => exp.id === this._selectedLayerId) : [];
828
- 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", 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 }))));
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 }))));
829
852
  }
830
853
  /**
831
854
  * Returns the calcite-flow item for feature details