@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
@@ -86,11 +86,11 @@ export class SolutionConfiguration {
86
86
  const solutionData = state.getStoreInfo("solutionData");
87
87
  this._solutionVariables = JSON.stringify(utils.getSolutionVariables(solutionData.templates, this._translations));
88
88
  this._organizationVariables = JSON.stringify(utils.getOrganizationVariables(this._translations));
89
- return (h(Host, { key: '3cd0a819e0e9857e8fbe83dfc6b7eda19bfc2a25' }, !this._solutionIsLoaded
89
+ return (h(Host, { key: '123945bd615832395c715d069c553338945c3445' }, !this._solutionIsLoaded
90
90
  ? h("calcite-loader", { label: '' })
91
- : null, h("div", { key: '95af40b9cc0dd1e34d4511767d6d14c2f64951fb', class: "configuration-container" }, h("div", { key: '34c498b31759d90dafe8408b203de9a2e27f786e', class: "configuration" }, h("calcite-tabs", { key: '2cc1e9b5e7091cd648dad834a212c739189cc42b', class: "config-tabs" }, h("calcite-tab-nav", { key: 'fec327dbda929ad4bda7b1af7331284729500d58', slot: "tab-nav" }, h("calcite-tab-title", { key: '77baa00b1da96cf9742f041ed2e69cddfe315edc' }, this._translations.definitionTab), hasServices ?
91
+ : null, h("div", { key: 'b70e7008ad0f2fde0a284c2e1e7d13fafc4d3184', class: "configuration-container" }, h("div", { key: '566193f4c5df2ad19206b3d458d0c298adca7e3b', class: "configuration" }, h("calcite-tabs", { key: '34e2642b46dba26d67730feb2b5382ea02556b42', class: "config-tabs" }, h("calcite-tab-nav", { key: '144f120e92e3f45e35ddc53a5bef7aef786eca5c', slot: "tab-nav" }, h("calcite-tab-title", { key: '32c5c21f04e68b83fb8add008f9aa409c2c18fc6' }, this._translations.definitionTab), hasServices ?
92
92
  h("calcite-tab-title", null, this._translations.spatialReferenceTab) :
93
- null), h("calcite-tab", { key: '9dc437eca3891c4dd538578a9ef66800b68c8c24', class: "config-tab", selected: true }, h("div", { key: 'a1ae99605854b3b03a3abfead510763696b97709', class: "config-solution" }, h("div", { key: '01c7e8cc20c2f033b9ff1fa51730e43caa357046', class: this._treeOpen ? "config-inventory" : "config-inventory-hide" }, h("solution-contents", { id: "configInventory", key: `${this.solutionItemId}-contents`, ref: (el) => (this._solutionContentsComponent = el) })), h("calcite-button", { key: '249525fcdd1d06bba4ae069dea6a1b1c7488bea3', appearance: "transparent", class: "collapse-btn", "icon-start": this._treeOpen ? "chevrons-left" : "chevrons-right", id: "collapse-vars", onClick: () => this._toggleTree(), scale: "s", title: this._treeOpen ? this._translations.collapse : this._translations.expand }), h("div", { key: '6d8d9766015e80a5961bd1f169ea49eec6bab57a', class: "config-item" }, h("solution-item", { authentication: this.authentication, "item-id": this._currentEditItemId, key: `${this.solutionItemId}-item`, "organization-variables": this._organizationVariables, "solution-item-id": this.solutionItemId, "solution-variables": this._solutionVariables })))), hasServices
93
+ null), h("calcite-tab", { key: '44392d41f2a367c3ab3b605ecc952d2873cdbade', class: "config-tab", selected: true }, h("div", { key: '50a37338ee55b0d04e0cfcf18e02180bdfb2a2da', class: "config-solution" }, h("div", { key: '30a6e2d0cc31f7fbe0d1521e906e8f6ec5274f2e', class: this._treeOpen ? "config-inventory" : "config-inventory-hide" }, h("solution-contents", { id: "configInventory", key: `${this.solutionItemId}-contents`, ref: (el) => (this._solutionContentsComponent = el) })), h("calcite-button", { key: 'a5e869d60079a9f68b024628ea7148886e79108e', appearance: "transparent", class: "collapse-btn", "icon-start": this._treeOpen ? "chevrons-left" : "chevrons-right", id: "collapse-vars", onClick: () => this._toggleTree(), scale: "s", title: this._treeOpen ? this._translations.collapse : this._translations.expand }), h("div", { key: '23eea28391e9fa3e382b67554fa842c828f504f2', class: "config-item" }, h("solution-item", { authentication: this.authentication, "item-id": this._currentEditItemId, key: `${this.solutionItemId}-item`, "organization-variables": this._organizationVariables, "solution-item-id": this.solutionItemId, "solution-variables": this._solutionVariables })))), hasServices
94
94
  ? h("calcite-tab", { class: "config-tab" }, h("div", { class: "config-solution" }, h("solution-spatial-ref", { enableDefault: !!spatialReferenceInfo.default, enabled: spatialReferenceInfo?.enabled, featureServices: state.getStoreInfo("featureServices").map(fs => fs.name), id: "configure-solution-spatial-ref", key: `${this.solutionItemId}-spatial-ref` })))
95
95
  : null)))));
96
96
  }
@@ -48,7 +48,7 @@ export class SolutionContents {
48
48
  * Renders the component.
49
49
  */
50
50
  render() {
51
- return (h(Host, { key: '4d54202857a91624ad35b9e1c3f75f63d8c5a8da' }, h("calcite-tree", { key: '4c9401d3d8791c5f082e05942d0f9e70ccb8f20e' }, this.renderHierarchy(this.templateHierarchy))));
51
+ return (h(Host, { key: '57abf81bd42447fabf9df9f134a486f8d7101910' }, h("calcite-tree", { key: '5b2faefbd53a2666634a1cc05ea8027e1228f354' }, this.renderHierarchy(this.templateHierarchy))));
52
52
  }
53
53
  renderHierarchy(objs) {
54
54
  return objs.map((obj) => {
@@ -56,7 +56,7 @@ export class SolutionItem {
56
56
  * Renders the component.
57
57
  */
58
58
  render() {
59
- return (h(Host, { key: '859f90c3755a9fca4752d9ef49118e5dd537da89' }, h("div", { key: '9cf45be1e7cdebc8445ecd086c3392458fef7653', class: "configuration-container" }, h("div", { key: '64753e8039ef3378ca9b41bb2e6208ac374a2cf2', class: "configuration" }, this._showGroupTabs(this.itemType === "Group"), this._showItemTabs(this.itemType !== "Group")))));
59
+ return (h(Host, { key: 'da363c927e5c577660ad3c67fd1f234dd6529175' }, h("div", { key: '4f9df338aaebb6a333927d50dbee68e9fb9eaceb', class: "configuration-container" }, h("div", { key: '5156b06e31218c3ec059230ba1f4079607aa168e', class: "configuration" }, this._showGroupTabs(this.itemType === "Group"), this._showItemTabs(this.itemType !== "Group")))));
60
60
  }
61
61
  //--------------------------------------------------------------------------
62
62
  //
@@ -119,7 +119,7 @@ export class SolutionItemAccordion {
119
119
  * Renders the component.
120
120
  */
121
121
  render() {
122
- return (h(Host, { key: '6fcdd61177775d0757ad91c57f579638f35ed01a' }, this._getAccordion()));
122
+ return (h(Host, { key: 'c9fea75fb3cd0558366bb086eccb28c4e2b7b07d' }, this._getAccordion()));
123
123
  }
124
124
  //--------------------------------------------------------------------------
125
125
  //
@@ -67,7 +67,7 @@ export class SolutionItemDetails {
67
67
  * Renders the component.
68
68
  */
69
69
  render() {
70
- return (h(Host, { key: '658d13bff98393b9c3f36d7ebce990551d80d9c7' }, h("div", { key: '285e6ac2a525212ca5dc381812995cce1561d51c', class: "parent-container" }, h("div", { key: '9209a77477f51f45a83aff4feeb409932b6c36cf', class: "inputBottomSeparation" }, h("calcite-input", { key: 'ca8669910c7b718c6c5e1e0cfa2f96c8760ad22e', id: "item-title", value: this.itemDetails.title })), h("div", { key: '0816438c6db5c93b81890f5a2a7816f676bb096f', class: "inputBottomSeparation" }, 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" }), h("button", { key: 'c8b8d3d08a72d563349d5e6eebf1cacc6329834e', class: "font-size--3 btn-link inline-block trailer-quarter", onClick: () => this._getThumbnail() }, h("svg", { key: '9d699466d0e963c3c60be848792351dc9817e400', class: "icon-inline icon-inline--on-left", height: "16", viewBox: "0 0 16 16", width: "16" }, 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), h("div", { key: '4426295925509550d83c5974a8b691d4696b4b63', class: "flex" }, h("div", { key: 'abc4a93cb9d7f3d7e0e9a8e4f0e573a2761ba263', class: "img-container", ref: (el) => (this.thumbnailContainer = el) }, h("img", { key: 'ff37875b0f7234038b45d4dc110d1db8610f76d8', class: "scale-down", height: "133", id: "item-thumbnail", ref: (el) => (this.thumbnail = el), width: "200" })), h("div", { key: '377149593a7b4e4d9914fefa85627de993d965df', class: "snippet-count-container" }, h("calcite-input", { key: 'b23923938627db11be6bb9c63e1710ab54f65539', id: "item-snippet", maxLength: 250, type: "textarea", value: this.itemDetails.snippet }), h("label", { key: '66d01cc032dc370c11be61e1a852c5df63b97f2a', class: "font-size--3", id: "item-snippet-count", ref: (el) => (this.itemSnippetCount = el) })))), h("calcite-label", { key: 'c462d3a178e90da7da9ed649fc1e2e1d6e18ca28' }, this._translations.description, h("label", { key: 'ffdef106ec07bbac32e3ee81b3174611db8c4e07', id: "item-description-label" }, h("calcite-input", { key: '72b4ac51c4f98ace79de4d1521debdc55ed796e9', id: "item-description", type: "textarea", value: this.itemDetails.description }))), h("calcite-label", { key: 'aac5e579f54edb668fa445702282b754dcf2ed6c' }, this._translations.tags, h("label", { key: 'ed4581c14f2d3f1c8a2e1845550fcdeb26204a23', id: "item-tags-label" }, 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" ? h("calcite-label", null, this._translations.credits, h("label", { id: "item-credits-label" }, h("calcite-input", { id: "item-credits", value: this.itemDetails.accessInformation }))) : null, this.itemType !== "Group" ? h("calcite-label", null, h("label", { id: "item-terms-label" }, this._translations.termsOfUse, h("calcite-input", { id: "item-terms", type: "textarea", value: this.itemDetails.licenseInfo }))) : null)));
70
+ return (h(Host, { key: '84bfa00fcedb54a43856c92e8446305d15d1a54a' }, h("div", { key: 'bceaddf6dcc35e5a22cad12e661c17f716fd165e', class: "parent-container" }, h("div", { key: '17834a249ffbbbd3ee54617fa2f2224816dd59b1', class: "inputBottomSeparation" }, h("calcite-input", { key: '372ceefe695e7c54a4ad35cf5b496202037fd57c', id: "item-title", value: this.itemDetails.title })), h("div", { key: 'fc356bd1e3bb965b7555dcea9fccfce44ca96a31', class: "inputBottomSeparation" }, 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" }), h("button", { key: 'abc5c96ec20adb16026fd6a7c3eb41871512d360', class: "font-size--3 btn-link inline-block trailer-quarter", onClick: () => this._getThumbnail() }, h("svg", { key: '35ce23e7fe17e7f45110e028ddb0c31e033f6f34', class: "icon-inline icon-inline--on-left", height: "16", viewBox: "0 0 16 16", width: "16" }, 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), h("div", { key: '4dff94a716f70a350168ae123f0afb41f360fb3b', class: "flex" }, h("div", { key: 'bda8e51d80a72f221eb02ea915609b1e2175a56f', class: "img-container", ref: (el) => (this.thumbnailContainer = el) }, h("img", { key: '3b606e141fae758b24d6114d7433cfdec9570ba9', class: "scale-down", height: "133", id: "item-thumbnail", ref: (el) => (this.thumbnail = el), width: "200" })), h("div", { key: '3f5c6fd680a45c754e2b798566776363e94bf307', class: "snippet-count-container" }, h("calcite-input", { key: '3d35c224c6d8b34483712e392aeca8a87e0d0810', id: "item-snippet", maxLength: 250, type: "textarea", value: this.itemDetails.snippet }), h("label", { key: '1aecd6515a83c523c991d5ccd9516ff14384a13a', class: "font-size--3", id: "item-snippet-count", ref: (el) => (this.itemSnippetCount = el) })))), h("calcite-label", { key: '3052a4847edc5afd336a763e8e6933694aad9d6d' }, this._translations.description, h("label", { key: '595de020ea7e1e5b61296f7c9b17f1a02a0741e0', id: "item-description-label" }, h("calcite-input", { key: '135cb36c76f6462aa470f9b7680ebefa6be60018', id: "item-description", type: "textarea", value: this.itemDetails.description }))), h("calcite-label", { key: '8f51b5f1d2607e040b6a94920d2f581b3595838f' }, this._translations.tags, h("label", { key: '21b84a7bcb9d5b8b56e7b6ccee0b49e940e1faf3', id: "item-tags-label" }, 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" ? h("calcite-label", null, this._translations.credits, h("label", { id: "item-credits-label" }, h("calcite-input", { id: "item-credits", value: this.itemDetails.accessInformation }))) : null, this.itemType !== "Group" ? h("calcite-label", null, h("label", { id: "item-terms-label" }, this._translations.termsOfUse, h("calcite-input", { id: "item-terms", type: "textarea", value: this.itemDetails.licenseInfo }))) : null)));
71
71
  }
72
72
  componentDidRender() {
73
73
  this._loadThumb();
@@ -40,7 +40,7 @@ export class SolutionItemIcon {
40
40
  * Renders the component.
41
41
  */
42
42
  render() {
43
- return h("div", { key: '6c6d17d183b0c044f1de98eb6cbe4e3df3926da7', title: this.type }, h("img", { key: 'a38786da6f7e8bc4935ada9f9ae534c0633b7969', class: "item-type-icon item-type-icon-margin", height: "16", src: this._getIconUrl(this.type, this.typeKeywords), width: "16" }));
43
+ return h("div", { key: '79a661148dd8e3bd73229b642b8253c525e3d747', title: this.type }, h("img", { key: 'e0b21dbd11b8edc4abfdb9af39b40c774b830753', class: "item-type-icon item-type-icon-margin", height: "16", src: this._getIconUrl(this.type, this.typeKeywords), width: "16" }));
44
44
  }
45
45
  //--------------------------------------------------------------------------
46
46
  //
@@ -52,7 +52,7 @@ export class SolutionItemSharing {
52
52
  * Renders the component.
53
53
  */
54
54
  render() {
55
- return (h(Host, { key: 'b79c768f4ba29331fd70ffc8dd55ae0fa77b0aa8' }, h("div", { key: '9b0a681fc53110cebda0246eb19157631dc8bac8', class: "container-border" }, h("calcite-label", { key: '68f56772d51805babdec5b51a9845ec4d54a6bb8' }, this._translations.groupInfo), this._renderItems(this.sharing))));
55
+ return (h(Host, { key: '6a9facacd8961a53dd4e49082def5573732d49bf' }, h("div", { key: '6eaf512253573a4db25ec64ebe1439228df4845d', class: "container-border" }, h("calcite-label", { key: 'db5680d010759bdb28b774293b8ae1522c9d8052' }, this._translations.groupInfo), this._renderItems(this.sharing))));
56
56
  }
57
57
  //--------------------------------------------------------------------------
58
58
  //
@@ -50,7 +50,7 @@ export class SolutionOrganizationVariables {
50
50
  * Renders the component.
51
51
  */
52
52
  render() {
53
- return (h(Host, { key: 'f576bc6c4e1ef9c2c0879896f3b364584c9f4597' }, h("div", { key: '22d459e61c3ead17b9ef3ce5a2c6baeddc79c80e' }, h("h4", { key: '8e65f908893fbeda320f3910de3e48776a13816a', class: "org-var-header" }, this._translations.orgVariables)), h("div", { key: '02c6a5f124a4b729dca668afe1693e0d510b11c5', class: "container-border" }, h("calcite-tree", { key: '8b3fc867daa01b80908f9099923099211f807953', id: "variable-label" }, this._renderHierarchy(this._organizationVariables)))));
53
+ return (h(Host, { key: '99ef09d7f851a57d42c7f7ad5cd6e303b9508d17' }, h("div", { key: '7217187249febdbbf3899d96cdbb2a45474343b7' }, h("h4", { key: 'd5d01648936de6726d7422f81f58ad998574ea87', class: "org-var-header" }, this._translations.orgVariables)), h("div", { key: '22d6f7fb4b0d8f570dbcf9dcac08dce7e2f6383e', class: "container-border" }, h("calcite-tree", { key: '5f21f4fc4b378da1b144dbeb1e19df2f43bcee61', id: "variable-label" }, this._renderHierarchy(this._organizationVariables)))));
54
54
  }
55
55
  //--------------------------------------------------------------------------
56
56
  //
@@ -61,7 +61,7 @@ export class SolutionResourceItem {
61
61
  */
62
62
  render() {
63
63
  const hasValidResources = this._hasValidResources();
64
- return (h(Host, { key: '5047514bc715a5a67ecacf629d303d81482c0b5e' }, h("div", { key: '22a903832d45858fbec839fce90527671a457257', class: "resource-item" }, h("div", { key: 'fea759db7edf7ca84d353060ee6b59aa101bc61b', class: "margin-bottom-1" }, h("calcite-button", { key: 'c76c2d60a856896255554324ba0239ecde2d49eb', appearance: "solid", class: "resource-button", color: "blue", onClick: () => this._addNewResource() }, this._translations.addResource), h("calcite-button", { key: '4feb64a2b7cc3490c1e0f90ee6dd36a842a8ae0d', appearance: "solid", color: "blue", disabled: !hasValidResources, onClick: () => this._downloadAll() }, this._translations.downloadAll)), h("div", { key: '76c64955841cdc671e1df9b3552fe62e67bfc7f5', class: "resources-container", style: { display: hasValidResources ? "inherit" : "none" } }, this._renderResourceList()))));
64
+ return (h(Host, { key: 'eb76345d460620ea6229c1ac94eaf5dec9943c1e' }, h("div", { key: '8dfb91c0ca0d4201940e29bcb809002da1cd9d76', class: "resource-item" }, h("div", { key: 'a6ec9664d267c25eada0432e6825369fdc82676f', class: "margin-bottom-1" }, h("calcite-button", { key: 'd84827e9dbe4ad68544430c007b28c5e9929e076', appearance: "solid", class: "resource-button", color: "blue", onClick: () => this._addNewResource() }, this._translations.addResource), h("calcite-button", { key: 'd88b2928ca6994054f899823701327ece50a937b', appearance: "solid", color: "blue", disabled: !hasValidResources, onClick: () => this._downloadAll() }, this._translations.downloadAll)), h("div", { key: '445c0c3e2deb3b546f4c84186a148e8888477d13', class: "resources-container", style: { display: hasValidResources ? "inherit" : "none" } }, this._renderResourceList()))));
65
65
  }
66
66
  _removedResources = {};
67
67
  //--------------------------------------------------------------------------
@@ -61,7 +61,7 @@ export class SolutionSpatialRef {
61
61
  }
62
62
  render() {
63
63
  this._updateUIFromStore();
64
- return (h(Host, { key: '6fe5caeb551c70db11066a785e5fdfc9c7054367' }, h("label", { key: '243b8365253ffe65e78041a7baf72ba56311a7a6', class: "switch-label" }, h("calcite-switch", { key: '63e7b111bb0373b1cca852573a25184acc1bdd98', checked: this.enabled, class: "spatial-ref-switch", onCalciteSwitchChange: (event) => this.enabled = event.target.checked, scale: "m" }), this._translations.enableSpatialReference), h("br", { key: '5cafc5b9c37946be7ac0453a9815f55e3dbfbfbb' }), h("div", { key: '353597031dcef6f1ab9b4aeb1593167be6ea69e2', class: "spatial-ref-component", id: "spatialRefDefn" }, this._renderFeatureServicesList(this.featureServices)), h("label", { key: '0bce6624d4658301d4e1d7b3e7b85da4deb0b328', class: "switch-label spatial-ref-component" }, h("calcite-switch", { key: '9376c1fe7b563f155ee3006b3663ce0a526c2715', checked: this.enableDefault, class: "spatial-ref-switch", disabled: !this.enabled, onCalciteSwitchChange: (event) => this.enableDefault = event.target.checked, scale: "m" }), this._translations.enableDefaultSpatialReference)));
64
+ return (h(Host, { key: 'ca1dd62000a2fdbd82a00830fc3ac94b47db73f7' }, h("label", { key: 'fa1ca79af87525ce25a6acf0a5b6a093429f5b77', class: "switch-label" }, h("calcite-switch", { key: '8dbcdbc8f417dfe1a05578fc9bbf3417ae93abfb', checked: this.enabled, class: "spatial-ref-switch", onCalciteSwitchChange: (event) => this.enabled = event.target.checked, scale: "m" }), this._translations.enableSpatialReference), h("br", { key: 'd3c2296bf3568e7b5b167fe0516184ae0c2d26f1' }), h("div", { key: 'fee9eac900cae65363658fa769347c3db0783007', class: "spatial-ref-component", id: "spatialRefDefn" }, this._renderFeatureServicesList(this.featureServices)), h("label", { key: '317e1422cdcb2147a961f2edfbcedb30c4246f6d', class: "switch-label spatial-ref-component" }, h("calcite-switch", { key: '6f0b7eb7216d0a663e5f2d436b7523b2d2301841', checked: this.enableDefault, class: "spatial-ref-switch", disabled: !this.enabled, onCalciteSwitchChange: (event) => this.enableDefault = event.target.checked, scale: "m" }), this._translations.enableDefaultSpatialReference)));
65
65
  }
66
66
  //--------------------------------------------------------------------------
67
67
  //
@@ -77,7 +77,7 @@ export class SolutionTemplateData {
77
77
  * Renders the component.
78
78
  */
79
79
  render() {
80
- return (h(Host, { key: '0f8453b6c096fbac6e90f3e8f7efff3041201ca0' }, h("div", { key: 'e0638b863e6d445c3baf608bd3e52904a78bf670', class: "solution-data-container" }, h("calcite-shell", { key: 'fa3b1e80f768e489133c700f4e729ad2ebde88ef', class: "light var-container", dir: "ltr" }, h("calcite-panel", { key: '6fe1596637fce085f18d3a98362088320a72d248', class: "json-editor" }, h("div", { key: 'edcb77ca9a7dcc6c6c4018fd4571c690cd82f7b1', class: "solution-data-child-container calcite-match-height" }, h("json-editor", { key: 'ea3a8b5d1b7ad20a60456daf107af678a68027a1', class: "solution-data-editor-container", instanceid: this.itemId + "|" + this.instanceid, value: this.value }))), h("calcite-shell-panel", { key: '34b4c47647738d5a07eac01b4162d7a599c2cc16', "height-scale": "l", position: "end", slot: "contextual-panel", "width-scale": "xs" }, h("div", { key: 'e1609bd8e25b2af8989e4018ac4facaffe830897', class: this.varsOpen ? "solution-data-child-container" : "solution-data-child-container-collapsed" }, 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 }), h("div", { key: '279c775502f8cdbb5c01971b7c763cf5bd88de28', class: this.varsOpen ? "org-vars" : "org-vars display-none", id: "orgVars" }, h("solution-organization-variables", { key: 'cd357642cb12ec25fe90ca011c90b80f37889d80', value: this.organizationVariables })), h("div", { key: '1adf2eb87308f4b85bc1fec11c80682b5e9dc131', class: this.varsOpen ? "sol-vars" : "sol-vars display-none", id: "solVars" }, h("solution-variables", { key: 'a836a844cbcf6e9bbbae9e9d2eadead6570ce8f2', value: this.solutionVariables }))))))));
80
+ return (h(Host, { key: '78d31b01a7b3aac5e3b63ec59fa0225e662c3532' }, h("div", { key: '84ad00f60d5ad98fc14fad50b2db93844e54a842', class: "solution-data-container" }, h("calcite-shell", { key: '0e56c32e9ba92e9e536ce16f30db4e59d1c71094', class: "light var-container", dir: "ltr" }, h("calcite-panel", { key: 'ab251fe749493d11b61359f3f018fa87917d83c6', class: "json-editor" }, h("div", { key: '94be603b8c03bccbcc31293839d633ffa0ca5b15', class: "solution-data-child-container calcite-match-height" }, h("json-editor", { key: '76a5a31ae0dc54d59a300e0d6cc6b543e994d322', class: "solution-data-editor-container", instanceid: this.itemId + "|" + this.instanceid, value: this.value }))), h("calcite-shell-panel", { key: '5405b6aa574c721965bbdd4aabf90981f82c7da7', "height-scale": "l", position: "end", slot: "contextual-panel", "width-scale": "xs" }, h("div", { key: 'e7b57aa1f91e479a7538b5bb60fff9ff096bc9c9', class: this.varsOpen ? "solution-data-child-container" : "solution-data-child-container-collapsed" }, 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 }), h("div", { key: 'a45aec86952e3172c76153b01a54076d97050de9', class: this.varsOpen ? "org-vars" : "org-vars display-none", id: "orgVars" }, h("solution-organization-variables", { key: 'e138b7ec4c256c916ef52cef6d17f0d9a839d506', value: this.organizationVariables })), h("div", { key: '9444585d82bc85f2cf535ecc8921b2d3f67b398d', class: this.varsOpen ? "sol-vars" : "sol-vars display-none", id: "solVars" }, h("solution-variables", { key: '030de51ff885c3ddf549fc4898c31ec23bb0d303', value: this.solutionVariables }))))))));
81
81
  }
82
82
  _initializing = false;
83
83
  //--------------------------------------------------------------------------
@@ -50,7 +50,7 @@ export class SolutionVariables {
50
50
  * Renders the component.
51
51
  */
52
52
  render() {
53
- return (h(Host, { key: 'bb418465a19b2fa0a8f5e216ba853d7427a78fdf' }, h("div", { key: 'f628616eb2ef38cd657052666e53dfe72cb3f221' }, h("h4", { key: '97348278cfa8ecd968deb135c1fc9fe44971e7d2', class: "org-var-header" }, this._translations.solVariables)), h("div", { key: '91d5822a5358f95d37654d8a9eda66c3fe8f3318', class: "container-border" }, h("calcite-tree", { key: '7982f1e945f1d939ae52867764a438d67ed6a154', id: "variable-label" }, this._renderHierarchy(this._solutionVariables)))));
53
+ return (h(Host, { key: '5d3ed27bced41fb6bf6c393ddde152fb0056d25b' }, h("div", { key: 'cb05d3c237719abd539b21b38968a41364c1880e' }, h("h4", { key: '367eb15af209dfed31b43f705fb6de05e25bb374', class: "org-var-header" }, this._translations.solVariables)), h("div", { key: '10142202269a9f2eaa82c0b50a1980d9f3051208', class: "container-border" }, h("calcite-tree", { key: 'd89353a7fe357851a697df036ae7795154254759', id: "variable-label" }, this._renderHierarchy(this._solutionVariables)))));
54
54
  }
55
55
  //--------------------------------------------------------------------------
56
56
  //
@@ -70,7 +70,7 @@ export class SpatialRef {
70
70
  * Renders the component.
71
71
  */
72
72
  render() {
73
- return (h(Host, { key: '03d381d5ad6c69f6c2d38d297580e3b1d651f733' }, h("div", { key: 'd36702bce1953d05f5954ab1522242033ae9baed' }, h("calcite-input", { key: '584b54ef1114d6792b2817ee23dda5e2cdc7687e', disabled: this.disabled, id: "calcite-sr-search", onKeyUp: (evt) => this._searchInputKeyDown(evt), placeholder: this._translations.spatialReferencePlaceholder }), h("calcite-tree", { key: 'a151d8dbe443302ac6e6bad414642c6eb504ce4b', id: "calcite-sr-tree", slot: "children" }, this._getTreeContent()))));
73
+ return (h(Host, { key: 'f723d08854c429ea7eb3e9c5588089a5dd614440' }, h("div", { key: '5f91149d48e5df3f01479bec291d97c569ffd5d7' }, h("calcite-input", { key: 'fa6cd1622e62b9c830999afc0940adddabbcc2c2', disabled: this.disabled, id: "calcite-sr-search", onKeyUp: (evt) => this._searchInputKeyDown(evt), placeholder: this._translations.spatialReferencePlaceholder }), h("calcite-tree", { key: '02e651be4895c57ddb0fbf319c5a41b5dc39472c', id: "calcite-sr-tree", slot: "children" }, this._getTreeContent()))));
74
74
  }
75
75
  _lastHighlightedSref;
76
76
  //--------------------------------------------------------------------------
@@ -184,7 +184,6 @@ const CardManager = /*@__PURE__*/ proxyCustomElement(class CardManager extends H
184
184
  */
185
185
  async _backFromCreateFeature() {
186
186
  if (this._createFeature) {
187
- await this._createFeature.close();
188
187
  this._showCreateFeatureComponent = false;
189
188
  this.backFromCreateWorkFlow.emit();
190
189
  }
@@ -195,7 +194,6 @@ const CardManager = /*@__PURE__*/ proxyCustomElement(class CardManager extends H
195
194
  * @protected
196
195
  */
197
196
  _featureCreated() {
198
- void this._createFeature.close();
199
197
  this._showCreateFeatureComponent = false;
200
198
  this._showSubmitBtn = false;
201
199
  this._isFeatureCreated = true;
@@ -11,7 +11,7 @@ import { d as defineCustomElement$3 } from './icon.js';
11
11
  import { d as defineCustomElement$2 } from './loader.js';
12
12
  import { d as defineCustomElement$1 } from './notice.js';
13
13
 
14
- 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}";
14
+ 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}}";
15
15
  const CreateFeatureStyle0 = createFeatureCss;
16
16
 
17
17
  const CreateFeature = /*@__PURE__*/ proxyCustomElement(class CreateFeature extends HTMLElement {
@@ -117,6 +117,14 @@ const CreateFeature = /*@__PURE__*/ proxyCustomElement(class CreateFeature exten
117
117
  * __esri.FeatureLayer: selected feature layer;
118
118
  */
119
119
  _selectedLayer;
120
+ /**
121
+ * HTMLDivElement: refrence for search div element
122
+ */
123
+ _searchDiv;
124
+ /**
125
+ * HTMLCalciteNoticeElement: calcite notice refrence element
126
+ */
127
+ _calciteNotice;
120
128
  //--------------------------------------------------------------------------
121
129
  //
122
130
  // Watch handlers
@@ -164,15 +172,6 @@ const CreateFeature = /*@__PURE__*/ proxyCustomElement(class CreateFeature exten
164
172
  // Methods (public)
165
173
  //
166
174
  //--------------------------------------------------------------------------
167
- /**
168
- * Destroy the Editor widget instance
169
- * @returns Promise that resolves when the operation is complete
170
- */
171
- async close() {
172
- if (this._editor) {
173
- this._editor.destroy();
174
- }
175
- }
176
175
  /**
177
176
  * Submit the created feature
178
177
  * @returns Promise that resolves when the operation is complete
@@ -240,6 +239,26 @@ const CreateFeature = /*@__PURE__*/ proxyCustomElement(class CreateFeature exten
240
239
  async componentDidLoad() {
241
240
  await this.init();
242
241
  }
242
+ /**
243
+ * Called after each render
244
+ * Used to adjust the map top in case of mobile
245
+ */
246
+ componentDidRender() {
247
+ // update the map top according to space occupied by notice msg and search
248
+ if (this.isMobile) {
249
+ // get the height of notice, search and add 80px(editor msg) height to adjust the map top
250
+ const top = this._calciteNotice.offsetHeight + this._searchDiv.offsetHeight + 80;
251
+ this._mapViewContainer.style.top = `${top}px`;
252
+ }
253
+ }
254
+ /**
255
+ * StencilJS: Called every time the component is disconnected from the DOM,
256
+ */
257
+ disconnectedCallback() {
258
+ if (this._editor) {
259
+ this._editor.destroy();
260
+ }
261
+ }
243
262
  /**
244
263
  * Renders the component.
245
264
  */
@@ -257,7 +276,8 @@ const CreateFeature = /*@__PURE__*/ proxyCustomElement(class CreateFeature exten
257
276
  else if (this._currentPage === 'featureForm') {
258
277
  guidingMsg = this._translations.provideDetailsMsg;
259
278
  }
260
- return (h(Fragment, { key: '204a51ffceb754c202bcf93fda18560e6101ca65' }, showGuidingMsg && h("calcite-notice", { key: '329daebd157ea330d746508dcf2198fa1d56f852', class: "notice-msg", icon: "lightbulb", kind: "success", open: true }, h("div", { key: '995898cf5e0ea57d41571429758baf6c459097af', slot: "message" }, guidingMsg)), h("calcite-loader", { key: '59bc1bce0936df76a432d75a5a4613d89203571c', class: loaderClass, label: "", scale: "s" }), h("div", { key: '814e3e6c63dc1880f235d2ffc5aa8ca9e22eb51e', class: featureFormClass, id: "feature-form" }), this.enableSearch && h("div", { key: '22146ca4dd94f57dddf80a04b4aeaa92fc0d3b81', class: `search-widget ${showSearchWidget} ${featureFormClass}`, id: "search-widget-ref" }), h("div", { key: '8863876b3393fdcd4d2cdf254289f80d9fd16ef1', class: `${mobileMapClass}`, ref: (el) => { this._mapViewContainer = el; } })));
279
+ return (h(Fragment, { key: '89634bf5707ea8390416d3087bfbe4e747bafcd7' }, showGuidingMsg && h("calcite-notice", { key: '4269224c2904f29060081f6cb8f383f1cf8d741d', class: "notice-msg", icon: "lightbulb", kind: "success", open: true, ref: el => this._calciteNotice = el }, h("div", { key: 'ecc3cca85c81d1cb7ab7cdc89b99e31afcb55f76', slot: "message" }, guidingMsg)), h("calcite-loader", { key: '34e492c0c469b39d4cfbcda17c4ba196ccb39eb8', class: loaderClass, label: "", scale: "s" }), h("div", { key: 'b2073ef4b6124b54038de34798cdf83337626023', class: featureFormClass, id: "feature-form" }), this.enableSearch &&
280
+ h("div", { key: 'cd13e98b6a40d5d89d271b5785f797e9bfc19900', class: `search-widget ${showSearchWidget} ${featureFormClass}`, id: "search-widget-ref", ref: el => this._searchDiv = el }), h("div", { key: '2575b2d20f7713b05a2024e77452af93eb64e147', class: `${mobileMapClass}`, ref: (el) => { this._mapViewContainer = el; } })));
261
281
  }
262
282
  //--------------------------------------------------------------------------
263
283
  //
@@ -305,7 +325,8 @@ const CreateFeature = /*@__PURE__*/ proxyCustomElement(class CreateFeature exten
305
325
  this._mapViewContainer.classList.add('hide-map');
306
326
  await new this.MapView({
307
327
  map: this.mapView.map,
308
- container: this._mapViewContainer
328
+ container: this._mapViewContainer,
329
+ zoom: this.mapView.zoom
309
330
  }).when((view) => {
310
331
  // update the mapView and load all widgets
311
332
  this._updatedMapView = view;
@@ -678,7 +699,6 @@ const CreateFeature = /*@__PURE__*/ proxyCustomElement(class CreateFeature exten
678
699
  "_editorLoading": [32],
679
700
  "_currentPage": [32],
680
701
  "_translations": [32],
681
- "close": [64],
682
702
  "submit": [64],
683
703
  "refresh": [64]
684
704
  }, undefined, {
@@ -90,14 +90,6 @@ const CreateRelatedFeature = /*@__PURE__*/ proxyCustomElement(class CreateRelate
90
90
  // Methods (public)
91
91
  //
92
92
  //--------------------------------------------------------------------------
93
- /**
94
- * Destroy the Editor widget instance
95
- */
96
- async close() {
97
- if (this._editor) {
98
- this._editor.destroy();
99
- }
100
- }
101
93
  /**
102
94
  * Submit the comment
103
95
  */
@@ -164,7 +156,7 @@ const CreateRelatedFeature = /*@__PURE__*/ proxyCustomElement(class CreateRelate
164
156
  }
165
157
  render() {
166
158
  const loaderClass = this._editorLoading ? "" : "display-none";
167
- return (h(Fragment, { key: '707536f66fc4de711e3f519a8869507bf2d6f566' }, this.showGuidingMsg && h("calcite-notice", { key: 'c3fb5a706d250b6db7dac9ab20b949a81eeb0c5f', class: "notice-msg", icon: "lightbulb", kind: "success", open: true }, h("div", { key: 'a9aa0a8137a256240c5e8d0c77dc364b31b5b2a1', slot: "message" }, this._translations.provideDetailsMsg)), h("calcite-loader", { key: '4e1295a1a867da2c9f1fe4428bdc115bd8643f75', class: loaderClass, label: "", scale: "s" })));
159
+ return (h(Fragment, { key: '641b4f6f51bce04b6263a1d7dc72a31839df970d' }, this.showGuidingMsg && h("calcite-notice", { key: '1a6e577bcc0632a7bc69dd411a692062a7ad176e', class: "notice-msg", icon: "lightbulb", kind: "success", open: true }, h("div", { key: '55c5836314fcca69a259be3a36e34c527edcabf3', slot: "message" }, this._translations.provideDetailsMsg)), h("calcite-loader", { key: '18c5603a4a75c67a160a71caa15e94790f66d60b', class: loaderClass, label: "", scale: "s" })));
168
160
  }
169
161
  /**
170
162
  * StencilJS: Called once just after the component is fully loaded and the first render() occurs.
@@ -172,6 +164,14 @@ const CreateRelatedFeature = /*@__PURE__*/ proxyCustomElement(class CreateRelate
172
164
  async componentDidLoad() {
173
165
  await this.init();
174
166
  }
167
+ /**
168
+ * StencilJS: Called every time the component is disconnected from the DOM,
169
+ */
170
+ disconnectedCallback() {
171
+ if (this._editor) {
172
+ this._editor.destroy();
173
+ }
174
+ }
175
175
  /**
176
176
  * Display editor widget to create the new feature
177
177
  * @protected
@@ -355,7 +355,6 @@ const CreateRelatedFeature = /*@__PURE__*/ proxyCustomElement(class CreateRelate
355
355
  "showGuidingMsg": [4, "show-guiding-msg"],
356
356
  "_editorLoading": [32],
357
357
  "_translations": [32],
358
- "close": [64],
359
358
  "submit": [64]
360
359
  }, undefined, {
361
360
  "mapView": ["mapViewWatchHandler"],
@@ -101,7 +101,6 @@ const CrowdsourceReporter$1 = /*@__PURE__*/ proxyCustomElement(class Crowdsource
101
101
  this._filterActive = false;
102
102
  this._flowItems = [];
103
103
  this._hasValidLayers = false;
104
- this._loadingFeatureDetails = undefined;
105
104
  this._mapInfo = undefined;
106
105
  this._reportSubmitted = false;
107
106
  this._selectedLayerName = undefined;
@@ -254,6 +253,10 @@ const CrowdsourceReporter$1 = /*@__PURE__*/ proxyCustomElement(class Crowdsource
254
253
  * FilterInitState: filter's init state
255
254
  */
256
255
  _filterInitState;
256
+ /**
257
+ * string: Previous selected layer id
258
+ */
259
+ _prevSelectedLayerId;
257
260
  //--------------------------------------------------------------------------
258
261
  //
259
262
  // Watch handlers
@@ -354,7 +357,7 @@ const CrowdsourceReporter$1 = /*@__PURE__*/ proxyCustomElement(class Crowdsource
354
357
  */
355
358
  render() {
356
359
  const themeClass = this.theme === "dark" ? "calcite-mode-dark" : "calcite-mode-light";
357
- return (h(Host, { key: '198fe34894f73b66ac15c4f75b05e3159586a392' }, this._reportSubmitted && 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" }, h("div", { key: 'f3269fd5bc315913f25795fc4dda47d83de7166f', slot: "message" }, this.reportSubmittedMessage ? this.reportSubmittedMessage : this._translations.submitMsg)), this._featureCreationFailedErrorMsg && h("calcite-alert", { key: '974254aa4eec7166ce23c9513633174b26d45a4d', "auto-close": true, class: themeClass, icon: "x-octagon", kind: "danger", label: "", onCalciteAlertClose: () => { this._featureCreationFailedErrorMsg = ""; }, open: true, placement: "top" }, h("div", { key: 'f0e27267cb6bdc626340185ff3af5c8527c5755c', slot: "title" }, this._translations.error), h("div", { key: 'ce443229655784ecc106ef4f90375a0d2ba14679', slot: "message" }, this._featureCreationFailedErrorMsg)), this._commentSubmitted && 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" }, h("div", { key: '9fea022654934c6b58064f71e6c7cb59e4429732', slot: "message" }, this.commentSubmittedMessage || this._translations.commentSubmittedMsg)), this._addingCommentFailed && h("calcite-alert", { key: '21cd17c9a43553c40427759070ec5f7d86bcb471', "auto-close": true, class: themeClass, icon: "x-octagon", kind: "danger", label: "", onCalciteAlertClose: () => { this._addingCommentFailed = false; }, open: true, placement: "top" }, h("div", { key: '82ca845385e34740ab2af082a5338a851ad0c006', slot: "title" }, this._translations.error), h("div", { key: '9dd641fe9e78e83387a266df51b8f709409bd332', slot: "message" }, this._translations.addingCommentFailedMsg)), h("div", { key: '1977a4e41c0f222385585f0a0a6c19a99432846b' }, h("calcite-shell", { key: '67d0771f744f5ba427cef2b453dee3470d2fe5bc', "content-behind": true }, this._getReporter()))));
360
+ return (h(Host, { key: 'bb2f79258038360e5c0b894ce5a21dcdd41d0ce4' }, this._reportSubmitted && h("calcite-alert", { key: 'aa244cd93326c8817b851d2465c7b9c453117ad2', "auto-close": true, class: themeClass + " report-submitted-msg", icon: "check-circle", kind: "success", label: "", onCalciteAlertClose: () => { this._reportSubmitted = false; }, open: true, placement: "top" }, h("div", { key: '25d6d6bd01ee8dc260bce41ea6c43eafa609292e', slot: "message" }, this.reportSubmittedMessage ? this.reportSubmittedMessage : this._translations.submitMsg)), this._featureCreationFailedErrorMsg && h("calcite-alert", { key: '06851f2f8cabebd0e953c31bdddfdeac363a4e6e', "auto-close": true, class: themeClass, icon: "x-octagon", kind: "danger", label: "", onCalciteAlertClose: () => { this._featureCreationFailedErrorMsg = ""; }, open: true, placement: "top" }, h("div", { key: 'f0d73a00a8150a78c48cc09e8901ad7dcb438e90', slot: "title" }, this._translations.error), h("div", { key: '0747a85bbf4936a28dd85a9ea0e8b416f70ee7cf', slot: "message" }, this._featureCreationFailedErrorMsg)), this._commentSubmitted && h("calcite-alert", { key: '55017090c066ad4e12023315bde39e8c7fa67091', "auto-close": true, class: 'report-submitted ' + themeClass, icon: "check-circle", kind: "success", label: "", onCalciteAlertClose: () => { this._commentSubmitted = false; }, open: true, placement: "top" }, h("div", { key: 'cb63168c1fe507b7b93ac4f58d5283ad0d09b34b', slot: "message" }, this.commentSubmittedMessage || this._translations.commentSubmittedMsg)), this._addingCommentFailed && h("calcite-alert", { key: '36b551428b32c7d93f4d04639504bfe326bbc9c8', "auto-close": true, class: themeClass, icon: "x-octagon", kind: "danger", label: "", onCalciteAlertClose: () => { this._addingCommentFailed = false; }, open: true, placement: "top" }, h("div", { key: '2e9865c5611f4960bb622f75f386a489abcbb484', slot: "title" }, this._translations.error), h("div", { key: 'ebdf339d63369e18b1c68867cdffb9bd40f52766', slot: "message" }, this._translations.addingCommentFailedMsg)), h("div", { key: 'a08980aead377e11697e96e77aa514ed66dc9613' }, h("calcite-shell", { key: '6d96e769ece33073870f2b8f1a7ef6a44006c3f0', "content-behind": true }, this._getReporter()))));
358
361
  }
359
362
  //--------------------------------------------------------------------------
360
363
  //
@@ -487,18 +490,29 @@ const CrowdsourceReporter$1 = /*@__PURE__*/ proxyCustomElement(class Crowdsource
487
490
  this._filterActive = false;
488
491
  this._filterUrlParams = null;
489
492
  this._filterInitState = null;
490
- void this._featureList.refresh();
493
+ if (this._featureList) {
494
+ await this._featureList.refresh();
495
+ }
496
+ if (this._layerList) {
497
+ await this._layerList.refresh();
498
+ }
491
499
  }
492
500
  /**
493
501
  * Check if the layers definitionExpression has been modified and update the feature list depending on the applied filters
494
502
  * @protected
495
503
  */
496
- _handleFilterUpdate() {
504
+ async _handleFilterUpdate() {
505
+ this._showLoadingIndicator = true;
497
506
  //if filter are applied the url params will be generated
498
507
  //set the filter active state based on the length of applied filters
499
508
  this._filterActive = this._filterList.urlParams.getAll('filter').length > 0;
500
509
  this._filterUrlParams = this._filterList.urlParams.getAll('filter');
501
- void this._featureList.refresh();
510
+ this._filterInitState = await this._filterList.getFilterInitState();
511
+ await this._featureList.refresh();
512
+ if (this._layerList) {
513
+ await this._layerList.refresh();
514
+ }
515
+ this._showLoadingIndicator = false;
502
516
  }
503
517
  /**
504
518
  * Get the feature layer list
@@ -565,7 +579,6 @@ const CrowdsourceReporter$1 = /*@__PURE__*/ proxyCustomElement(class Crowdsource
565
579
  */
566
580
  backFromCreateFeaturePanel() {
567
581
  if (this._createFeature) {
568
- void this._createFeature.close();
569
582
  void this.updateNonVisibleLayersOnMap(false);
570
583
  }
571
584
  //on back form will be closed, so update the form state
@@ -586,7 +599,6 @@ const CrowdsourceReporter$1 = /*@__PURE__*/ proxyCustomElement(class Crowdsource
586
599
  */
587
600
  backFromCreateRelatedFeaturePanel() {
588
601
  if (this._createRelatedFeature) {
589
- void this._createRelatedFeature.close();
590
602
  this._showSubmitCancelButton = false;
591
603
  }
592
604
  //on back form will be closed, so update the form state
@@ -643,9 +655,6 @@ const CrowdsourceReporter$1 = /*@__PURE__*/ proxyCustomElement(class Crowdsource
643
655
  * @protected
644
656
  */
645
657
  async navigateToHomePage() {
646
- if (this._createFeature) {
647
- void this._createFeature.close();
648
- }
649
658
  if (this._layerList) {
650
659
  void this._layerList.refresh();
651
660
  }
@@ -667,6 +676,10 @@ const CrowdsourceReporter$1 = /*@__PURE__*/ proxyCustomElement(class Crowdsource
667
676
  if (evt.detail.layerId && evt.detail.layerName) {
668
677
  await this.setSelectedLayer(evt.detail.layerId, evt.detail.layerName);
669
678
  }
679
+ // reset the applied filter when switching to another layer
680
+ if (this._selectedLayerId !== this._prevSelectedLayerId && this._filterActive) {
681
+ await this.resetFilter();
682
+ }
670
683
  void this.updateNonVisibleLayersOnMap(true);
671
684
  // get the form template elements to pass in create-feature to create a LEVELID field in feature-form
672
685
  this._getFormElements();
@@ -726,27 +739,33 @@ const CrowdsourceReporter$1 = /*@__PURE__*/ proxyCustomElement(class Crowdsource
726
739
  await this.loadFeatureFromURLParams();
727
740
  }
728
741
  }
729
- /**On click of layer list item show feature list
742
+ /**
743
+ * On click of layer list item show feature list
730
744
  * @param evt Event which has details of selected layerId and layerName
731
745
  * @protected
732
746
  */
733
- displayFeaturesList(evt) {
747
+ async displayFeaturesList(evt) {
734
748
  this._updatedSorting = {
735
749
  field: '',
736
750
  order: 'desc'
737
751
  };
738
- this._filterActive = false;
739
752
  this._updatedSortOption = "sortNewest";
740
- void this.setSelectedLayer(evt.detail.layerId, evt.detail.layerName);
753
+ await this.setSelectedLayer(evt.detail.layerId, evt.detail.layerName);
741
754
  this._flowItems = [...this._flowItems, "feature-list"];
755
+ // reset the applied filter when switching to another layer
756
+ if (this._selectedLayerId !== this._prevSelectedLayerId && this._filterActive) {
757
+ await this.resetFilter();
758
+ }
759
+ this._prevSelectedLayerId = this._selectedLayerId;
742
760
  }
743
761
  /**
744
- * On back from filter panel get the filter's init state
762
+ * Reset's the applied filter
745
763
  * @protected
746
764
  */
747
- async backFromFilterPanel() {
748
- this._filterInitState = await this._filterList.getFilterInitState();
749
- this.backFromSelectedPanel();
765
+ async resetFilter() {
766
+ const prevLayer = await getLayerOrTable(this.mapView, this._prevSelectedLayerId);
767
+ prevLayer.definitionExpression = this._filterInitState.initDefExpressions[this._prevSelectedLayerId];
768
+ void this._handleFilterListReset();
750
769
  }
751
770
  /**
752
771
  * On back from selected panel navigate to the previous panel
@@ -807,10 +826,14 @@ const CrowdsourceReporter$1 = /*@__PURE__*/ proxyCustomElement(class Crowdsource
807
826
  */
808
827
  async getRelatedTable() {
809
828
  const selectedLayer = this._currentFeature.layer;
810
- const allRelatedTableIds = selectedLayer.relationships.map(a => a.relatedTableId);
811
829
  const allTables = await getAllTables(this.mapView);
812
- const relatedTables = allTables.filter((table) => selectedLayer.url === table.url && allRelatedTableIds.includes(table.layerId));
813
- this._relatedTable = relatedTables[0];
830
+ selectedLayer.relationships.some((relationship) => {
831
+ const relatedTables = allTables.filter((table) => selectedLayer.url === table.url && table.layerId === relationship.relatedTableId);
832
+ if (relatedTables && relatedTables.length > 0) {
833
+ this._relatedTable = relatedTables[0];
834
+ return true;
835
+ }
836
+ });
814
837
  }
815
838
  /**
816
839
  * Show loading indicator while updating the feature details component
@@ -868,7 +891,7 @@ const CrowdsourceReporter$1 = /*@__PURE__*/ proxyCustomElement(class Crowdsource
868
891
  */
869
892
  getFilterPanel() {
870
893
  const currentLayersExpressions = this.layerExpressions ? this.layerExpressions.filter((exp) => exp.id === this._selectedLayerId) : [];
871
- return (h("calcite-flow-item", { collapsed: this.isMobile && this._sidePanelCollapsed, heading: this._translations?.filterLayerTitle?.replace("{{title}}", this._selectedLayerName), loading: this._showLoadingIndicator, onCalciteFlowItemBack: this.backFromFilterPanel.bind(this) }, this.isMobile && this.getActionToExpandCollapsePanel(), h("div", { class: "width-full", slot: "footer" }, h("div", { class: "width-full", slot: "footer" }, h("calcite-button", { appearance: "solid", class: "footer-top-button footer-button", onClick: () => { void this._filterList?.forceReset(); }, width: "full" }, this._translations.resetFilter), h("calcite-button", { appearance: "outline", class: "footer-button", onClick: this.backFromFilterPanel.bind(this), width: "full" }, this._translations.close))), h("calcite-panel", { "full-height": true }, h("instant-apps-filter-list", { autoUpdateUrl: false, closeBtnOnClick: () => undefined, comboboxOverlayPositioning: "fixed", layerExpressions: currentLayersExpressions, onFilterListReset: () => this._handleFilterListReset(), onFilterUpdate: () => this._handleFilterUpdate(), ref: (el) => this._filterList = el, resetBtn: false, resetFiltersOnDisconnect: false, view: this.mapView, zoomBtn: false }))));
894
+ return (h("calcite-flow-item", { collapsed: this.isMobile && this._sidePanelCollapsed, heading: this._translations?.filterLayerTitle?.replace("{{title}}", this._selectedLayerName), loading: this._showLoadingIndicator, onCalciteFlowItemBack: this.backFromSelectedPanel.bind(this) }, this.isMobile && this.getActionToExpandCollapsePanel(), h("div", { class: "width-full", slot: "footer" }, h("div", { class: "width-full", slot: "footer" }, h("calcite-button", { appearance: "solid", class: "footer-top-button footer-button", disabled: !this._filterActive, onClick: () => { void this._filterList?.forceReset(); }, width: "full" }, this._translations.resetFilter), h("calcite-button", { appearance: "outline", class: "footer-button", onClick: this.backFromSelectedPanel.bind(this), width: "full" }, this._translations.close))), h("calcite-panel", { "full-height": true }, h("instant-apps-filter-list", { autoUpdateUrl: false, closeBtnOnClick: () => undefined, comboboxOverlayPositioning: "fixed", layerExpressions: currentLayersExpressions, onFilterListReset: () => this._handleFilterListReset(), onFilterUpdate: () => this._handleFilterUpdate(), ref: (el) => this._filterList = el, resetBtn: false, resetFiltersOnDisconnect: false, view: this.mapView, zoomBtn: false }))));
872
895
  }
873
896
  /**
874
897
  * Returns the calcite-flow item for feature details
@@ -1289,7 +1312,6 @@ const CrowdsourceReporter$1 = /*@__PURE__*/ proxyCustomElement(class Crowdsource
1289
1312
  "_filterActive": [32],
1290
1313
  "_flowItems": [32],
1291
1314
  "_hasValidLayers": [32],
1292
- "_loadingFeatureDetails": [32],
1293
1315
  "_mapInfo": [32],
1294
1316
  "_reportSubmitted": [32],
1295
1317
  "_selectedLayerName": [32],
@@ -246,14 +246,12 @@ const FeatureDetails = /*@__PURE__*/ proxyCustomElement(class FeatureDetails ext
246
246
  const allTables = await getAllTables(this.mapView);
247
247
  let relatedTable = null;
248
248
  let validRelationshipId = null;
249
- allTables.some((table) => {
250
- if (selectedLayer.url === table.url) {
251
- const relationship = selectedLayer.relationships.filter(a => table.layerId === a.relatedTableId);
252
- if (relationship?.length) {
253
- relatedTable = table;
254
- validRelationshipId = relationship[0].id;
255
- return true;
256
- }
249
+ selectedLayer.relationships.some((relationship) => {
250
+ const relatedTables = allTables.filter((table) => selectedLayer.url === table.url && table.layerId === relationship.relatedTableId);
251
+ if (relatedTables && relatedTables.length > 0) {
252
+ relatedTable = relatedTables[0];
253
+ validRelationshipId = relationship.id;
254
+ return true;
257
255
  }
258
256
  });
259
257
  this.relatedTableId = relatedTable?.id ?? '';