@esri/solutions-components 0.8.13 → 0.8.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (392) hide show
  1. package/dist/assets/arcgis-pdf-creator/PDFLabels.d.ts +218 -0
  2. package/dist/assets/t9n/crowdsource-reporter/resources.json +0 -1
  3. package/dist/assets/t9n/crowdsource-reporter/resources_ar.json +15 -7
  4. package/dist/assets/t9n/crowdsource-reporter/resources_bg.json +15 -7
  5. package/dist/assets/t9n/crowdsource-reporter/resources_bs.json +15 -7
  6. package/dist/assets/t9n/crowdsource-reporter/resources_ca.json +15 -7
  7. package/dist/assets/t9n/crowdsource-reporter/resources_cs.json +15 -7
  8. package/dist/assets/t9n/crowdsource-reporter/resources_da.json +15 -7
  9. package/dist/assets/t9n/crowdsource-reporter/resources_de.json +15 -7
  10. package/dist/assets/t9n/crowdsource-reporter/resources_el.json +15 -7
  11. package/dist/assets/t9n/crowdsource-reporter/resources_en.json +0 -1
  12. package/dist/assets/t9n/crowdsource-reporter/resources_es.json +15 -7
  13. package/dist/assets/t9n/crowdsource-reporter/resources_et.json +15 -7
  14. package/dist/assets/t9n/crowdsource-reporter/resources_fi.json +15 -7
  15. package/dist/assets/t9n/crowdsource-reporter/resources_fr.json +15 -7
  16. package/dist/assets/t9n/crowdsource-reporter/resources_he.json +15 -7
  17. package/dist/assets/t9n/crowdsource-reporter/resources_hr.json +15 -7
  18. package/dist/assets/t9n/crowdsource-reporter/resources_hu.json +15 -7
  19. package/dist/assets/t9n/crowdsource-reporter/resources_id.json +15 -7
  20. package/dist/assets/t9n/crowdsource-reporter/resources_it.json +15 -7
  21. package/dist/assets/t9n/crowdsource-reporter/resources_ja.json +15 -7
  22. package/dist/assets/t9n/crowdsource-reporter/resources_ko.json +15 -7
  23. package/dist/assets/t9n/crowdsource-reporter/resources_lt.json +15 -7
  24. package/dist/assets/t9n/crowdsource-reporter/resources_lv.json +15 -7
  25. package/dist/assets/t9n/crowdsource-reporter/resources_nb.json +15 -7
  26. package/dist/assets/t9n/crowdsource-reporter/resources_nl.json +15 -7
  27. package/dist/assets/t9n/crowdsource-reporter/resources_pl.json +15 -7
  28. package/dist/assets/t9n/crowdsource-reporter/resources_pt-BR.json +15 -7
  29. package/dist/assets/t9n/crowdsource-reporter/resources_pt-PT.json +15 -7
  30. package/dist/assets/t9n/crowdsource-reporter/resources_ro.json +15 -7
  31. package/dist/assets/t9n/crowdsource-reporter/resources_ru.json +15 -7
  32. package/dist/assets/t9n/crowdsource-reporter/resources_sk.json +15 -7
  33. package/dist/assets/t9n/crowdsource-reporter/resources_sl.json +15 -7
  34. package/dist/assets/t9n/crowdsource-reporter/resources_sr.json +15 -7
  35. package/dist/assets/t9n/crowdsource-reporter/resources_sv.json +15 -7
  36. package/dist/assets/t9n/crowdsource-reporter/resources_th.json +15 -7
  37. package/dist/assets/t9n/crowdsource-reporter/resources_tr.json +15 -7
  38. package/dist/assets/t9n/crowdsource-reporter/resources_uk.json +15 -7
  39. package/dist/assets/t9n/crowdsource-reporter/resources_vi.json +15 -7
  40. package/dist/assets/t9n/crowdsource-reporter/resources_zh-CN.json +15 -7
  41. package/dist/assets/t9n/crowdsource-reporter/resources_zh-HK.json +15 -7
  42. package/dist/assets/t9n/crowdsource-reporter/resources_zh-TW.json +15 -7
  43. package/dist/assets/t9n/feature-list/resources_ar.json +1 -1
  44. package/dist/assets/t9n/feature-list/resources_bg.json +1 -1
  45. package/dist/assets/t9n/feature-list/resources_bs.json +1 -1
  46. package/dist/assets/t9n/feature-list/resources_ca.json +1 -1
  47. package/dist/assets/t9n/feature-list/resources_cs.json +1 -1
  48. package/dist/assets/t9n/feature-list/resources_da.json +1 -1
  49. package/dist/assets/t9n/feature-list/resources_de.json +1 -1
  50. package/dist/assets/t9n/feature-list/resources_el.json +1 -1
  51. package/dist/assets/t9n/feature-list/resources_es.json +1 -1
  52. package/dist/assets/t9n/feature-list/resources_et.json +1 -1
  53. package/dist/assets/t9n/feature-list/resources_fi.json +1 -1
  54. package/dist/assets/t9n/feature-list/resources_fr.json +1 -1
  55. package/dist/assets/t9n/feature-list/resources_he.json +1 -1
  56. package/dist/assets/t9n/feature-list/resources_hr.json +1 -1
  57. package/dist/assets/t9n/feature-list/resources_hu.json +1 -1
  58. package/dist/assets/t9n/feature-list/resources_id.json +1 -1
  59. package/dist/assets/t9n/feature-list/resources_it.json +1 -1
  60. package/dist/assets/t9n/feature-list/resources_ja.json +1 -1
  61. package/dist/assets/t9n/feature-list/resources_ko.json +1 -1
  62. package/dist/assets/t9n/feature-list/resources_lt.json +1 -1
  63. package/dist/assets/t9n/feature-list/resources_lv.json +1 -1
  64. package/dist/assets/t9n/feature-list/resources_nb.json +1 -1
  65. package/dist/assets/t9n/feature-list/resources_nl.json +1 -1
  66. package/dist/assets/t9n/feature-list/resources_pl.json +1 -1
  67. package/dist/assets/t9n/feature-list/resources_pt-BR.json +1 -1
  68. package/dist/assets/t9n/feature-list/resources_pt-PT.json +1 -1
  69. package/dist/assets/t9n/feature-list/resources_ro.json +1 -1
  70. package/dist/assets/t9n/feature-list/resources_ru.json +1 -1
  71. package/dist/assets/t9n/feature-list/resources_sk.json +1 -1
  72. package/dist/assets/t9n/feature-list/resources_sl.json +1 -1
  73. package/dist/assets/t9n/feature-list/resources_sr.json +1 -1
  74. package/dist/assets/t9n/feature-list/resources_sv.json +1 -1
  75. package/dist/assets/t9n/feature-list/resources_th.json +1 -1
  76. package/dist/assets/t9n/feature-list/resources_tr.json +1 -1
  77. package/dist/assets/t9n/feature-list/resources_uk.json +1 -1
  78. package/dist/assets/t9n/feature-list/resources_vi.json +1 -1
  79. package/dist/assets/t9n/feature-list/resources_zh-CN.json +1 -1
  80. package/dist/assets/t9n/feature-list/resources_zh-HK.json +1 -1
  81. package/dist/assets/t9n/feature-list/resources_zh-TW.json +1 -1
  82. package/dist/assets/t9n/layer-list/resources.json +1 -1
  83. package/dist/assets/t9n/layer-list/resources_en.json +1 -1
  84. package/dist/assets/t9n/media-card/resources.json +1 -3
  85. package/dist/assets/t9n/media-card/resources_ar.json +3 -0
  86. package/dist/assets/t9n/media-card/resources_bg.json +3 -0
  87. package/dist/assets/t9n/media-card/resources_bs.json +3 -0
  88. package/dist/assets/t9n/media-card/resources_ca.json +3 -0
  89. package/dist/assets/t9n/media-card/resources_cs.json +3 -0
  90. package/dist/assets/t9n/media-card/resources_da.json +3 -0
  91. package/dist/assets/t9n/media-card/resources_de.json +3 -0
  92. package/dist/assets/t9n/media-card/resources_el.json +3 -0
  93. package/dist/assets/t9n/media-card/resources_en.json +1 -3
  94. package/dist/assets/t9n/media-card/resources_es.json +3 -0
  95. package/dist/assets/t9n/media-card/resources_et.json +3 -0
  96. package/dist/assets/t9n/media-card/resources_fi.json +3 -0
  97. package/dist/assets/t9n/media-card/resources_fr.json +3 -0
  98. package/dist/assets/t9n/media-card/resources_he.json +3 -0
  99. package/dist/assets/t9n/media-card/resources_hr.json +3 -0
  100. package/dist/assets/t9n/media-card/resources_hu.json +3 -0
  101. package/dist/assets/t9n/media-card/resources_id.json +3 -0
  102. package/dist/assets/t9n/media-card/resources_it.json +3 -0
  103. package/dist/assets/t9n/media-card/resources_ja.json +3 -0
  104. package/dist/assets/t9n/media-card/resources_ko.json +3 -0
  105. package/dist/assets/t9n/media-card/resources_lt.json +3 -0
  106. package/dist/assets/t9n/media-card/resources_lv.json +3 -0
  107. package/dist/assets/t9n/media-card/resources_nb.json +3 -0
  108. package/dist/assets/t9n/media-card/resources_nl.json +3 -0
  109. package/dist/assets/t9n/media-card/resources_pl.json +3 -0
  110. package/dist/assets/t9n/media-card/resources_pt-BR.json +3 -0
  111. package/dist/assets/t9n/media-card/resources_pt-PT.json +3 -0
  112. package/dist/assets/t9n/media-card/resources_ro.json +3 -0
  113. package/dist/assets/t9n/media-card/resources_ru.json +3 -0
  114. package/dist/assets/t9n/media-card/resources_sk.json +3 -0
  115. package/dist/assets/t9n/media-card/resources_sl.json +3 -0
  116. package/dist/assets/t9n/media-card/resources_sr.json +3 -0
  117. package/dist/assets/t9n/media-card/resources_sv.json +3 -0
  118. package/dist/assets/t9n/media-card/resources_th.json +3 -0
  119. package/dist/assets/t9n/media-card/resources_tr.json +3 -0
  120. package/dist/assets/t9n/media-card/resources_uk.json +3 -0
  121. package/dist/assets/t9n/media-card/resources_vi.json +3 -0
  122. package/dist/assets/t9n/media-card/resources_zh-CN.json +3 -0
  123. package/dist/assets/t9n/media-card/resources_zh-HK.json +3 -0
  124. package/dist/assets/t9n/media-card/resources_zh-TW.json +3 -0
  125. package/dist/assets/t9n/public-notification/resources_ar.json +3 -1
  126. package/dist/assets/t9n/public-notification/resources_bg.json +3 -1
  127. package/dist/assets/t9n/public-notification/resources_bs.json +3 -1
  128. package/dist/assets/t9n/public-notification/resources_ca.json +3 -1
  129. package/dist/assets/t9n/public-notification/resources_cs.json +3 -1
  130. package/dist/assets/t9n/public-notification/resources_da.json +3 -1
  131. package/dist/assets/t9n/public-notification/resources_de.json +3 -1
  132. package/dist/assets/t9n/public-notification/resources_el.json +3 -1
  133. package/dist/assets/t9n/public-notification/resources_es.json +3 -1
  134. package/dist/assets/t9n/public-notification/resources_et.json +3 -1
  135. package/dist/assets/t9n/public-notification/resources_fi.json +3 -1
  136. package/dist/assets/t9n/public-notification/resources_fr.json +3 -1
  137. package/dist/assets/t9n/public-notification/resources_he.json +3 -1
  138. package/dist/assets/t9n/public-notification/resources_hr.json +3 -1
  139. package/dist/assets/t9n/public-notification/resources_hu.json +3 -1
  140. package/dist/assets/t9n/public-notification/resources_id.json +3 -1
  141. package/dist/assets/t9n/public-notification/resources_it.json +3 -1
  142. package/dist/assets/t9n/public-notification/resources_ja.json +3 -1
  143. package/dist/assets/t9n/public-notification/resources_ko.json +3 -1
  144. package/dist/assets/t9n/public-notification/resources_lt.json +3 -1
  145. package/dist/assets/t9n/public-notification/resources_lv.json +3 -1
  146. package/dist/assets/t9n/public-notification/resources_nb.json +3 -1
  147. package/dist/assets/t9n/public-notification/resources_nl.json +3 -1
  148. package/dist/assets/t9n/public-notification/resources_pl.json +3 -1
  149. package/dist/assets/t9n/public-notification/resources_pt-BR.json +3 -1
  150. package/dist/assets/t9n/public-notification/resources_pt-PT.json +3 -1
  151. package/dist/assets/t9n/public-notification/resources_ro.json +3 -1
  152. package/dist/assets/t9n/public-notification/resources_ru.json +3 -1
  153. package/dist/assets/t9n/public-notification/resources_sk.json +3 -1
  154. package/dist/assets/t9n/public-notification/resources_sl.json +3 -1
  155. package/dist/assets/t9n/public-notification/resources_sr.json +3 -1
  156. package/dist/assets/t9n/public-notification/resources_sv.json +3 -1
  157. package/dist/assets/t9n/public-notification/resources_th.json +3 -1
  158. package/dist/assets/t9n/public-notification/resources_tr.json +3 -1
  159. package/dist/assets/t9n/public-notification/resources_uk.json +3 -1
  160. package/dist/assets/t9n/public-notification/resources_vi.json +3 -1
  161. package/dist/assets/t9n/public-notification/resources_zh-CN.json +3 -1
  162. package/dist/assets/t9n/public-notification/resources_zh-HK.json +3 -1
  163. package/dist/assets/t9n/public-notification/resources_zh-TW.json +3 -1
  164. package/dist/cjs/basemap-gallery_7.cjs.entry.js +6 -6
  165. package/dist/cjs/buffer-tools_3.cjs.entry.js +1 -1
  166. package/dist/cjs/calcite-alert_4.cjs.entry.js +12 -8
  167. package/dist/cjs/calcite-dropdown_4.cjs.entry.js +2 -2
  168. package/dist/cjs/calcite-flow_6.cjs.entry.js +320 -255
  169. package/dist/cjs/calcite-shell-panel_14.cjs.entry.js +7 -7
  170. package/dist/cjs/card-manager_3.cjs.entry.js +6 -6
  171. package/dist/cjs/crowdsource-manager.cjs.entry.js +2 -2
  172. package/dist/cjs/crowdsource-reporter.cjs.entry.js +181 -54
  173. package/dist/cjs/deduct-calculator.cjs.entry.js +1 -1
  174. package/dist/cjs/{downloadUtils-88c011ad.js → downloadUtils-2e36a300.js} +31 -35
  175. package/dist/cjs/feature-comments.cjs.entry.js +1 -1
  176. package/dist/cjs/feature-form-flow-item.cjs.entry.js +1 -1
  177. package/dist/cjs/feature-list.cjs.entry.js +297 -0
  178. package/dist/cjs/features-flow-item.cjs.entry.js +1 -1
  179. package/dist/cjs/{index.es-1d5ee842.js → index.es-56415e48.js} +2 -2
  180. package/dist/cjs/layout-manager.cjs.entry.js +1 -1
  181. package/dist/cjs/list-flow-item.cjs.entry.js +1 -1
  182. package/dist/cjs/loader.cjs.js +1 -1
  183. package/dist/cjs/location-flow-item.cjs.entry.js +1 -1
  184. package/dist/cjs/map-select-tools_3.cjs.entry.js +5 -5
  185. package/dist/cjs/{mapViewUtils-82018df6.js → mapViewUtils-6e46ba33.js} +16 -0
  186. package/dist/cjs/pci-calculator.cjs.entry.js +1 -1
  187. package/dist/cjs/public-notification.cjs.entry.js +3 -3
  188. package/dist/cjs/refine-results-flow-item.cjs.entry.js +1 -1
  189. package/dist/cjs/share-item.cjs.entry.js +1 -1
  190. package/dist/cjs/solution-configuration.cjs.entry.js +3 -3
  191. package/dist/cjs/solution-contents_3.cjs.entry.js +3 -3
  192. package/dist/cjs/solution-item-icon.cjs.entry.js +1 -1
  193. package/dist/cjs/solutions-components.cjs.js +1 -1
  194. package/dist/cjs/spatial-ref.cjs.entry.js +1 -1
  195. package/dist/collection/collection-manifest.json +1 -0
  196. package/dist/collection/components/create-related-feature/create-related-feature.css +8 -0
  197. package/dist/collection/components/create-related-feature/create-related-feature.js +426 -0
  198. package/dist/collection/components/create-related-feature/test/create-related-feature.e2e.js +14 -0
  199. package/dist/collection/components/create-related-feature/test/create-related-feature.spec.js +22 -0
  200. package/dist/collection/components/crowdsource-manager/crowdsource-manager.js +1 -1
  201. package/dist/collection/components/crowdsource-reporter/crowdsource-reporter.css +1 -0
  202. package/dist/collection/components/crowdsource-reporter/crowdsource-reporter.js +370 -221
  203. package/dist/collection/components/deduct-calculator/deduct-calculator.js +1 -1
  204. package/dist/collection/components/delete-button/delete-button.js +1 -1
  205. package/dist/collection/components/edit-card/edit-card.js +1 -1
  206. package/dist/collection/components/feature-comments/feature-comments.js +1 -1
  207. package/dist/collection/components/feature-details/feature-details.css +6 -3
  208. package/dist/collection/components/feature-details/feature-details.js +95 -9
  209. package/dist/collection/components/feature-form-flow-item/feature-form-flow-item.js +1 -1
  210. package/dist/collection/components/feature-list/feature-list.css +6 -1
  211. package/dist/collection/components/feature-list/feature-list.js +133 -13
  212. package/dist/collection/components/features-flow-item/features-flow-item.js +1 -1
  213. package/dist/collection/components/floor-filter/floor-filter.js +1 -1
  214. package/dist/collection/components/info-card/info-card.js +11 -7
  215. package/dist/collection/components/json-editor/json-editor.js +1 -1
  216. package/dist/collection/components/layer-list/layer-list.js +3 -23
  217. package/dist/collection/components/layer-table/layer-table.css +4 -0
  218. package/dist/collection/components/layer-table/layer-table.js +2 -2
  219. package/dist/collection/components/layout-manager/layout-manager.js +1 -1
  220. package/dist/collection/components/list-flow-item/list-flow-item.js +1 -1
  221. package/dist/collection/components/location-flow-item/location-flow-item.js +1 -1
  222. package/dist/collection/components/map-card/map-card.js +1 -1
  223. package/dist/collection/components/map-draw-tools/map-draw-tools.js +1 -1
  224. package/dist/collection/components/map-fullscreen/map-fullscreen.js +1 -1
  225. package/dist/collection/components/map-layer-picker/map-layer-picker.js +1 -1
  226. package/dist/collection/components/map-legend/map-legend.js +1 -1
  227. package/dist/collection/components/map-picker/map-picker.js +1 -1
  228. package/dist/collection/components/map-search/map-search.js +1 -1
  229. package/dist/collection/components/map-select-tools/map-select-tools.js +1 -1
  230. package/dist/collection/components/map-tools/map-tools.js +1 -1
  231. package/dist/collection/components/pci-calculator/pci-calculator.js +1 -1
  232. package/dist/collection/components/pdf-download/pdf-download.js +1 -1
  233. package/dist/collection/components/public-notification/public-notification.js +1 -1
  234. package/dist/collection/components/refine-results-flow-item/refine-results-flow-item.js +1 -1
  235. package/dist/collection/components/refine-selection/refine-selection.js +1 -1
  236. package/dist/collection/components/share-item/share-item.js +1 -1
  237. package/dist/collection/components/solution-configuration/solution-configuration.js +3 -3
  238. package/dist/collection/components/solution-contents/solution-contents.js +1 -1
  239. package/dist/collection/components/solution-item/solution-item.js +1 -1
  240. package/dist/collection/components/solution-item-details/solution-item-details.js +1 -1
  241. package/dist/collection/components/solution-item-icon/solution-item-icon.js +1 -1
  242. package/dist/collection/components/solution-item-sharing/solution-item-sharing.js +1 -1
  243. package/dist/collection/components/solution-organization-variables/solution-organization-variables.js +1 -1
  244. package/dist/collection/components/solution-resource-item/solution-resource-item.js +1 -1
  245. package/dist/collection/components/solution-spatial-ref/solution-spatial-ref.js +1 -1
  246. package/dist/collection/components/solution-template-data/solution-template-data.js +1 -1
  247. package/dist/collection/components/solution-variables/solution-variables.js +1 -1
  248. package/dist/collection/components/spatial-ref/spatial-ref.js +1 -1
  249. package/dist/collection/demos/crowdsource-manager.html +3 -3
  250. package/dist/collection/utils/downloadUtils.js +0 -1
  251. package/dist/collection/utils/interfaces.ts +5 -0
  252. package/dist/collection/utils/mapViewUtils.js +15 -0
  253. package/dist/collection/utils/mapViewUtils.ts +19 -1
  254. package/dist/collection/utils/pdfUtils.js +29 -34
  255. package/dist/collection/utils/pdfUtils.ts +40 -47
  256. package/dist/components/create-related-feature.d.ts +11 -0
  257. package/dist/components/create-related-feature.js +11 -0
  258. package/dist/components/create-related-feature2.js +274 -0
  259. package/dist/components/crowdsource-manager.js +1 -1
  260. package/dist/components/crowdsource-reporter.js +287 -148
  261. package/dist/components/deduct-calculator2.js +1 -1
  262. package/dist/components/delete-button2.js +1 -1
  263. package/dist/components/downloadUtils.js +29 -33
  264. package/dist/components/edit-card2.js +1 -1
  265. package/dist/components/feature-comments.js +1 -1
  266. package/dist/components/feature-details2.js +163 -40
  267. package/dist/components/feature-form-flow-item.js +1 -1
  268. package/dist/components/feature-list2.js +64 -16
  269. package/dist/components/features-flow-item.js +1 -1
  270. package/dist/components/floor-filter2.js +1 -1
  271. package/dist/components/info-card2.js +9 -5
  272. package/dist/components/json-editor2.js +1 -1
  273. package/dist/components/layer-list2.js +3 -7
  274. package/dist/components/layer-table2.js +3 -3
  275. package/dist/components/layout-manager.js +1 -1
  276. package/dist/components/list-flow-item.js +1 -1
  277. package/dist/components/location-flow-item.js +1 -1
  278. package/dist/components/map-card2.js +1 -1
  279. package/dist/components/map-draw-tools2.js +1 -1
  280. package/dist/components/map-fullscreen2.js +1 -1
  281. package/dist/components/map-layer-picker2.js +1 -1
  282. package/dist/components/map-legend2.js +1 -1
  283. package/dist/components/map-picker2.js +1 -1
  284. package/dist/components/map-search2.js +1 -1
  285. package/dist/components/map-select-tools2.js +1 -1
  286. package/dist/components/map-tools2.js +1 -1
  287. package/dist/components/mapViewUtils.js +16 -1
  288. package/dist/components/pci-calculator.js +1 -1
  289. package/dist/components/pdf-download2.js +1 -1
  290. package/dist/components/public-notification.js +1 -1
  291. package/dist/components/refine-results-flow-item.js +1 -1
  292. package/dist/components/refine-selection2.js +2 -2
  293. package/dist/components/share-item.js +1 -1
  294. package/dist/components/solution-configuration.js +3 -3
  295. package/dist/components/solution-contents2.js +1 -1
  296. package/dist/components/solution-item-details2.js +1 -1
  297. package/dist/components/solution-item-icon2.js +1 -1
  298. package/dist/components/solution-item-sharing2.js +1 -1
  299. package/dist/components/solution-item2.js +1 -1
  300. package/dist/components/solution-organization-variables2.js +1 -1
  301. package/dist/components/solution-resource-item2.js +1 -1
  302. package/dist/components/solution-spatial-ref2.js +1 -1
  303. package/dist/components/solution-template-data2.js +1 -1
  304. package/dist/components/solution-variables2.js +1 -1
  305. package/dist/components/spatial-ref2.js +1 -1
  306. package/dist/esm/basemap-gallery_7.entry.js +6 -6
  307. package/dist/esm/buffer-tools_3.entry.js +1 -1
  308. package/dist/esm/calcite-alert_4.entry.js +12 -8
  309. package/dist/esm/calcite-dropdown_4.entry.js +2 -2
  310. package/dist/esm/calcite-flow_6.entry.js +321 -256
  311. package/dist/esm/calcite-shell-panel_14.entry.js +7 -7
  312. package/dist/esm/card-manager_3.entry.js +6 -6
  313. package/dist/esm/crowdsource-manager.entry.js +2 -2
  314. package/dist/esm/crowdsource-reporter.entry.js +182 -55
  315. package/dist/esm/deduct-calculator.entry.js +1 -1
  316. package/dist/esm/{downloadUtils-fa6e5c37.js → downloadUtils-aab31bfe.js} +31 -35
  317. package/dist/esm/feature-comments.entry.js +1 -1
  318. package/dist/esm/feature-form-flow-item.entry.js +1 -1
  319. package/dist/esm/feature-list.entry.js +293 -0
  320. package/dist/esm/features-flow-item.entry.js +1 -1
  321. package/dist/esm/{index.es-114545fc.js → index.es-43ba3006.js} +2 -2
  322. package/dist/esm/layout-manager.entry.js +1 -1
  323. package/dist/esm/list-flow-item.entry.js +1 -1
  324. package/dist/esm/loader.js +1 -1
  325. package/dist/esm/location-flow-item.entry.js +1 -1
  326. package/dist/esm/map-select-tools_3.entry.js +5 -5
  327. package/dist/esm/{mapViewUtils-c83c03a4.js → mapViewUtils-4618ddb8.js} +16 -1
  328. package/dist/esm/pci-calculator.entry.js +1 -1
  329. package/dist/esm/public-notification.entry.js +3 -3
  330. package/dist/esm/refine-results-flow-item.entry.js +1 -1
  331. package/dist/esm/share-item.entry.js +1 -1
  332. package/dist/esm/solution-configuration.entry.js +3 -3
  333. package/dist/esm/solution-contents_3.entry.js +3 -3
  334. package/dist/esm/solution-item-icon.entry.js +1 -1
  335. package/dist/esm/solutions-components.js +1 -1
  336. package/dist/esm/spatial-ref.entry.js +1 -1
  337. package/dist/solutions-components/demos/crowdsource-manager.html +3 -3
  338. package/dist/solutions-components/{p-afdc6bb2.entry.js → p-102b1f94.entry.js} +1 -1
  339. package/dist/solutions-components/p-22aece81.entry.js +6 -0
  340. package/dist/solutions-components/p-28c6906c.entry.js +6 -0
  341. package/dist/solutions-components/{p-71bdc77f.entry.js → p-33845a79.entry.js} +1 -1
  342. package/dist/solutions-components/{p-16ac309d.entry.js → p-3470c0f7.entry.js} +1 -1
  343. package/dist/solutions-components/p-3750c969.entry.js +6 -0
  344. package/dist/solutions-components/{p-ee457c15.js → p-37fc92db.js} +3 -3
  345. package/dist/solutions-components/{p-59c92ba2.entry.js → p-3a2e0188.entry.js} +1 -1
  346. package/dist/solutions-components/p-3fae9775.entry.js +6 -0
  347. package/dist/solutions-components/{p-0f139e3e.entry.js → p-54324eaa.entry.js} +1 -1
  348. package/dist/solutions-components/{p-d9c89479.js → p-583e5dd0.js} +1 -1
  349. package/dist/solutions-components/{p-69935f68.entry.js → p-667c022f.entry.js} +1 -1
  350. package/dist/solutions-components/{p-247edfb2.js → p-667caa6b.js} +1 -1
  351. package/dist/solutions-components/p-71de367b.entry.js +6 -0
  352. package/dist/solutions-components/{p-32fed174.entry.js → p-84a5d221.entry.js} +1 -1
  353. package/dist/solutions-components/{p-6e8782d1.entry.js → p-88f73319.entry.js} +1 -1
  354. package/dist/solutions-components/p-8a81f3c7.entry.js +6 -0
  355. package/dist/solutions-components/{p-288592d4.entry.js → p-92ed8d5d.entry.js} +1 -1
  356. package/dist/solutions-components/p-aa06f4d1.entry.js +6 -0
  357. package/dist/solutions-components/{p-67ee4afe.entry.js → p-b3160299.entry.js} +4 -4
  358. package/dist/solutions-components/p-b6d47bab.entry.js +17 -0
  359. package/dist/solutions-components/{p-bcf20616.entry.js → p-b76b5310.entry.js} +1 -1
  360. package/dist/solutions-components/{p-62994fb8.entry.js → p-bb0c7be3.entry.js} +3 -3
  361. package/dist/solutions-components/{p-7fdcce90.entry.js → p-bf57dbfd.entry.js} +2 -2
  362. package/dist/solutions-components/p-c047a6fc.entry.js +6 -0
  363. package/dist/solutions-components/{p-83997457.entry.js → p-d84fe0ee.entry.js} +2 -2
  364. package/dist/solutions-components/p-e9176a44.entry.js +6 -0
  365. package/dist/solutions-components/p-e947332f.entry.js +6 -0
  366. package/dist/solutions-components/{p-568c465e.entry.js → p-fc665a1a.entry.js} +1 -1
  367. package/dist/solutions-components/solutions-components.esm.js +1 -1
  368. package/dist/solutions-components/utils/interfaces.ts +5 -0
  369. package/dist/solutions-components/utils/mapViewUtils.ts +19 -1
  370. package/dist/solutions-components/utils/pdfUtils.ts +40 -47
  371. package/dist/types/assets/arcgis-pdf-creator/PDFLabels.d.ts +218 -0
  372. package/dist/types/components/create-related-feature/create-related-feature.d.ts +113 -0
  373. package/dist/types/components/crowdsource-reporter/crowdsource-reporter.d.ts +197 -99
  374. package/dist/types/components/feature-details/feature-details.d.ts +31 -0
  375. package/dist/types/components/feature-list/feature-list.d.ts +31 -2
  376. package/dist/types/components/info-card/info-card.d.ts +6 -2
  377. package/dist/types/components/layer-list/layer-list.d.ts +0 -5
  378. package/dist/types/components.d.ts +131 -12
  379. package/dist/types/preact.d.ts +8 -1
  380. package/dist/types/utils/interfaces.d.ts +4 -0
  381. package/dist/types/utils/mapViewUtils.d.ts +7 -0
  382. package/package.json +1 -1
  383. package/dist/solutions-components/p-28b4b325.entry.js +0 -6
  384. package/dist/solutions-components/p-36d3476c.entry.js +0 -17
  385. package/dist/solutions-components/p-43d0788d.entry.js +0 -6
  386. package/dist/solutions-components/p-452d2d38.entry.js +0 -6
  387. package/dist/solutions-components/p-48b2469f.entry.js +0 -6
  388. package/dist/solutions-components/p-4f0712e2.entry.js +0 -6
  389. package/dist/solutions-components/p-535c103e.entry.js +0 -6
  390. package/dist/solutions-components/p-7ca416ab.entry.js +0 -6
  391. package/dist/solutions-components/p-8e337f80.entry.js +0 -6
  392. package/dist/solutions-components/p-d62b99ff.entry.js +0 -6
@@ -15,19 +15,29 @@
15
15
  */
16
16
  /// <reference types="arcgis-js-api" />
17
17
  import { VNode, EventEmitter } from "../../stencil-public-runtime";
18
- import { ILayerExpression, IMapChange, IMapClick, IMapInfo, IReportingOptions, ISearchConfiguration, theme } from "../../utils/interfaces";
18
+ import { ILayerExpression, IMapChange, IMapClick, IMapInfo, IReportingOptions, ISearchConfiguration, ISortingInfo, theme } from "../../utils/interfaces";
19
19
  import CrowdsourceReporter_T9n from "../../assets/t9n/crowdsource-reporter/resources.json";
20
20
  import { ILayerItemsHash } from "../layer-list/layer-list";
21
21
  export declare class CrowdsourceReporter {
22
22
  el: HTMLCrowdsourceReporterElement;
23
23
  /**
24
- * string: The text that will display under the title on the landing page
24
+ * string: Semicolon delimited numbers that will be used as the maps center point from URL params
25
25
  */
26
- description: string;
26
+ center: string;
27
27
  /**
28
- * boolean: When true the application will be in mobile mode, controls the mobile or desktop view
28
+ * boolean: When true a cover page has been enabled in the consuming application.
29
+ * Also when true a floating button will be shown in the lower right of the window that
30
+ * will emit an event when clicked that the consuming application can respond to that will open the cover page.
29
31
  */
30
- isMobile: boolean;
32
+ coverPageEnabled: string;
33
+ /**
34
+ * string: Item ID of the web map that should be selected by default
35
+ */
36
+ defaultWebmap: string;
37
+ /**
38
+ * string: The text that will display under the title on the landing page
39
+ */
40
+ description: string;
31
41
  /**
32
42
  * boolean: When true the anonymous users will be allowed to submit reports and comments
33
43
  */
@@ -40,6 +50,10 @@ export declare class CrowdsourceReporter {
40
50
  * boolean: When true the user will be allowed to submit comments
41
51
  */
42
52
  enableComments: boolean;
53
+ /**
54
+ * boolean: when true the home widget will be available
55
+ */
56
+ enableHome: boolean;
43
57
  /**
44
58
  * boolean: When true the user will be provided a login page
45
59
  */
@@ -49,41 +63,57 @@ export declare class CrowdsourceReporter {
49
63
  */
50
64
  enableNewReports: boolean;
51
65
  /**
52
- * string: The text that will display at the top of the landing page
66
+ * boolean: when true the search widget will be available
53
67
  */
54
- loginTitle: string;
68
+ enableSearch: boolean;
55
69
  /**
56
- * esri/views/MapView: https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html
70
+ * boolean: when true the zoom widget will be available
57
71
  */
58
- mapView: __esri.MapView;
72
+ enableZoom: boolean;
59
73
  /**
60
- * string: Layer id of the feature from URL params
74
+ * boolean: When true the application will be in mobile mode, controls the mobile or desktop view
61
75
  */
62
- layerId: string;
76
+ isMobile: boolean;
63
77
  /**
64
- * string: Object id of the feature from URL params
78
+ * ILayerExpression[]: Array of layer expressions for layers (filter configuration)
65
79
  */
66
- objectId: string;
80
+ layerExpressions: ILayerExpression[];
67
81
  /**
68
- * string: Semicolon delimited numbers that will be used as the maps center point from URL params
82
+ * string: Layer id of the feature from URL params
69
83
  */
70
- center: string;
84
+ layerId: string;
71
85
  /**
72
86
  * string: Id of the zoom level from URL params
73
87
  */
74
88
  level: string;
75
89
  /**
76
- * string: The word(s) to display in the reports submit button
90
+ * string: The text that will display at the top of the landing page
77
91
  */
78
- reportButtonText: string;
92
+ loginTitle: string;
79
93
  /**
80
- * string: The word(s) to display in the reports header
94
+ * IMapInfo[]: array of map infos (name and id)
81
95
  */
82
- reportsHeader: string;
96
+ mapInfos: IMapInfo[];
97
+ /**
98
+ * esri/views/MapView: https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html
99
+ */
100
+ mapView: __esri.MapView;
101
+ /**
102
+ * string: Object id of the feature from URL params
103
+ */
104
+ objectId: string;
105
+ /**
106
+ * string: The word(s) to display in the reports submit button
107
+ */
108
+ reportButtonText: string;
83
109
  /**
84
110
  * IReportingOptions: Key options for reporting
85
111
  */
86
112
  reportingOptions: IReportingOptions;
113
+ /**
114
+ * string: The word(s) to display in the reports header
115
+ */
116
+ reportsHeader: string;
87
117
  /**
88
118
  * string: The message to display when the report has been submitted
89
119
  */
@@ -97,45 +127,57 @@ export declare class CrowdsourceReporter {
97
127
  */
98
128
  showComments: boolean;
99
129
  /**
100
- * string: Item ID of the web map that should be selected by default
130
+ * theme: "light" | "dark" theme to be used
101
131
  */
102
- defaultWebmap: string;
132
+ theme: theme;
103
133
  /**
104
- * boolean: when true the search widget will be available
134
+ * number: default scale to zoom to when zooming to a single point feature
105
135
  */
106
- enableSearch: boolean;
136
+ zoomToScale: number;
107
137
  /**
108
- * boolean: when true the home widget will be available
138
+ * string: Error message when feature creation fails
109
139
  */
110
- enableHome: boolean;
140
+ _featureCreationFailedErrorMsg: string;
111
141
  /**
112
- * IMapInfo[]: array of map infos (name and id)
142
+ * boolean: When true an indicator will be shown on the action
113
143
  */
114
- mapInfos: IMapInfo[];
144
+ _filterActive: boolean;
115
145
  /**
116
- * theme: "light" | "dark" theme to be used
146
+ * boolean: When true the filter component will be displayed
117
147
  */
118
- theme: theme;
148
+ _filterOpen: boolean;
119
149
  /**
120
- * boolean: when true the zoom widget will be available
150
+ * string[]: Reporter flow items list
121
151
  */
122
- enableZoom: boolean;
152
+ _flowItems: string[];
123
153
  /**
124
- * number: default scale to zoom to when zooming to a single point feature
154
+ * boolean: When true show the sort and filter icon
125
155
  */
126
- zoomToScale: number;
156
+ _hasValidLayers: boolean;
127
157
  /**
128
- * ILayerExpression[]: Array of layer expressions for layers (filter configuration)
158
+ * boolean: show loading indicator for feature details component upto completing pending operations
129
159
  */
130
- layerExpressions: ILayerExpression[];
160
+ _loadingFeatureDetails: boolean;
131
161
  /**
132
162
  * IMapInfo: The current map info stores configuration details
133
163
  */
134
164
  _mapInfo: IMapInfo;
135
165
  /**
136
- * string[]: Reporter flow items list
166
+ * boolean: When true show the success message in the panel
137
167
  */
138
- _flowItems: string[];
168
+ _reportSubmitted: boolean;
169
+ /**
170
+ * string: The selected feature layer's name from the layer's list
171
+ */
172
+ _selectedLayerName: string;
173
+ /**
174
+ * boolean: When true show the submit and cancel button
175
+ */
176
+ _showSubmitCancelButton: boolean;
177
+ /**
178
+ * boolean: show loading indicator in the reporter component
179
+ */
180
+ _showLoadingIndicator: boolean;
139
181
  /**
140
182
  * boolean: Controls the state for panel in mobile view
141
183
  */
@@ -146,122 +188,125 @@ export declare class CrowdsourceReporter {
146
188
  */
147
189
  _translations: typeof CrowdsourceReporter_T9n;
148
190
  /**
149
- * boolean: When true show the sort and filter icon
191
+ * number: Show the updated progress bar status
150
192
  */
151
- _hasValidLayers: boolean;
193
+ _updatedProgressBarStatus: number;
152
194
  /**
153
- * string: The selected feature layer's name from the layer's list
154
- */
155
- _selectedLayerName: string;
195
+ * ISortingInfo: Sort the feature list depending on the sort field and order
196
+ */
197
+ _updatedSorting: ISortingInfo;
198
+ /**
199
+ * string: Selected sort option
200
+ */
201
+ _updatedSortOption: string;
156
202
  /**
157
203
  * boolean: When true show the success message in the panel
158
204
  */
159
- _reportSubmitted: boolean;
205
+ _commentSubmitted: boolean;
160
206
  /**
161
- * boolean: When true show the submit and cancel button
207
+ * string: Error message when feature creation fails
162
208
  */
163
- _showSubmitCancelButton: boolean;
209
+ _addingCommentFailed: boolean;
164
210
  /**
165
- * boolean: show loading indicator for feature details component upto completing pending operations
211
+ * HTMLCreateFeatureElement: Create Feature component instance
166
212
  */
167
- _loadingFeatureDetails: boolean;
213
+ protected _createFeature: HTMLCreateFeatureElement;
168
214
  /**
169
- * string: Error message when feature creation fails
215
+ * ObjectId of the feature currently shown in the details
170
216
  */
171
- _featureCreationFailedErrorMsg: string;
217
+ protected _currentFeatureId: string;
172
218
  /**
173
- * number: Show the updated progress bar status
219
+ * number[]: X,Y pair used to center the map
174
220
  */
175
- _updatedProgressBarStatus: number;
221
+ protected _defaultCenter: number[];
176
222
  /**
177
- * boolean: When true the filter component will be displayed
223
+ * number: zoom level the map should go to
178
224
  */
179
- _filterOpen: boolean;
225
+ protected _defaultLevel: number;
180
226
  /**
181
- * boolean: When true an indicator will be shown on the action
227
+ * string[]: Configured/all layers id from current map which can be used for reporting
182
228
  */
183
- _filterActive: boolean;
229
+ protected _editableLayerIds: string[];
184
230
  /**
185
- * IMapChange: The current map change details
231
+ * HTMLCreateFeatureElement: features details component instance
186
232
  */
187
- protected _mapChange: IMapChange;
233
+ protected _featureDetails: HTMLFeatureDetailsElement;
188
234
  /**
189
- * number[]: X,Y pair used to center the map
235
+ * HTMLFeatureListElement: Create feature list component instance
190
236
  */
191
- protected _defaultCenter: number[];
237
+ protected _featureList: HTMLFeatureListElement;
192
238
  /**
193
- * number: zoom level the map should go to
239
+ * __esri.Graphic: The current selected feature
194
240
  */
195
- protected _defaultLevel: number;
241
+ protected _currentFeature: __esri.Graphic;
196
242
  /**
197
- * string[]: list of configured reporting layer ids
243
+ * __esri.Graphic: The selected related feature from layer table
198
244
  */
199
- protected layers: string[];
245
+ protected _selectedRelatedFeature: __esri.Graphic[];
200
246
  /**
201
- * __esri.FeatureLayer[]: Valid layers from the current map
247
+ * __esri.FeatureLayer: The related table from map
202
248
  */
203
- protected _validLayers: __esri.FeatureLayer[];
249
+ protected _relatedTable: __esri.FeatureLayer;
204
250
  /**
205
- * string[]: Configured/all layers id from current map which can be used for reporting
251
+ * HTMLInstantAppsFilterListElement: Component from Instant Apps that supports interacting with the current filter config
206
252
  */
207
- protected _editableLayerIds: string[];
253
+ protected _filterList: HTMLInstantAppsFilterListElement;
208
254
  /**
209
- * string: The selected feature layer's id from the layer's list
255
+ * __esri.Handle: Highlight handles of the selections
210
256
  */
211
- protected _selectedLayerId: string;
257
+ protected _highlightHandle: __esri.Handle;
212
258
  /**
213
- * __esri.Graphic: The selected feature
259
+ * HTMLLayerListElement: Create Layer list component instance
214
260
  */
215
- protected _selectedFeature: __esri.Graphic[];
261
+ protected _layerList: HTMLLayerListElement;
216
262
  /**
217
- * esri/core/reactiveUtils: https://developers.arcgis.com/javascript/latest/api-reference/esri-core-reactiveUtils.html
263
+ * HTMLCreateFeatureElement: Create Feature component instance
218
264
  */
219
- protected reactiveUtils: typeof import("esri/core/reactiveUtils");
265
+ protected _createRelatedFeature: HTMLCreateRelatedFeatureElement;
266
+ /**
267
+ * string[]: list of configured reporting layer ids
268
+ */
269
+ protected _layers: string[];
270
+ /**
271
+ * IMapChange: The current map change details
272
+ */
273
+ protected _mapChange: IMapChange;
220
274
  /**
221
275
  * IHandle: The map click handle
222
276
  */
223
277
  protected _mapClickHandle: IHandle;
224
278
  /**
225
- * HTMLCreateFeatureElement: Create Feature component instance
279
+ * esri/core/reactiveUtils: https://developers.arcgis.com/javascript/latest/api-reference/esri-core-reactiveUtils.html
226
280
  */
227
- protected _createFeature: HTMLCreateFeatureElement;
281
+ protected reactiveUtils: typeof import("esri/core/reactiveUtils");
228
282
  /**
229
- * HTMLCreateFeatureElement: features details component instance
283
+ * __esri.Graphic: The selected feature
230
284
  */
231
- protected _featureDetails: HTMLFeatureDetailsElement;
285
+ protected _selectedFeature: __esri.Graphic[];
232
286
  /**
233
- * HTMLLayerListElement: Create Layer list component instance
287
+ * number: selected feature index
234
288
  */
235
- protected _layerList: HTMLLayerListElement;
289
+ protected _selectedFeatureIndex: number;
236
290
  /**
237
- * HTMLFeatureListElement: Create feature list component instance
291
+ * string: The selected feature layer's id from the layer's list
238
292
  */
239
- protected _featureList: HTMLFeatureListElement;
293
+ protected _selectedLayerId: string;
240
294
  /**
241
295
  * HTMLInstantAppsSocialShareElement: Share element
242
296
  */
243
297
  protected _shareNode: HTMLInstantAppsSocialShareElement;
244
- /**
245
- * ObjectId of the feature currently shown in the details
246
- */
247
- protected _currentFeatureId: string;
248
298
  /**
249
299
  * boolean: Maintains a flag to know if urls params are loaded or not
250
300
  */
251
301
  protected _urlParamsLoaded: boolean;
252
302
  /**
253
- * __esri.Handle: Highlight handles of the selections
254
- */
255
- protected _highlightHandle: __esri.Handle;
256
- protected _noLayerToDisplayErrorMsg: string;
257
- /**
258
- * HTMLInstantAppsFilterListElement: Component from Instant Apps that supports interacting with the current filter config
303
+ * __esri.FeatureLayer[]: Valid layers from the current map
259
304
  */
260
- protected _filterList: HTMLInstantAppsFilterListElement;
305
+ protected _validLayers: __esri.FeatureLayer[];
261
306
  /**
262
- * number: selected feature index
307
+ * __esri.FeatureLayer: Selected feature layer from the layer list
263
308
  */
264
- protected selectedFeatureIndex: number;
309
+ protected _selectedLayer: __esri.FeatureLayer;
265
310
  /**
266
311
  * Called each time the mapView prop is changed.
267
312
  */
@@ -302,7 +347,7 @@ export declare class CrowdsourceReporter {
302
347
  * @param layerId string layerId of the selected layer
303
348
  * @param layerName string layerName of the selected layer
304
349
  */
305
- protected setSelectedLayer(layerId: string, layerName: string): void;
350
+ protected setSelectedLayer(layerId: string, layerName: string): Promise<void>;
306
351
  /**
307
352
  * Get the reporter app functionality
308
353
  * @protected
@@ -323,13 +368,24 @@ export declare class CrowdsourceReporter {
323
368
  * @protected
324
369
  */
325
370
  protected _toggleFilter(): void;
371
+ /**
372
+ * On sort option click update the sort field and sort order
373
+ * @param sortField sort field
374
+ * @param sortOrder sort order
375
+ */
376
+ protected sortOptionClick(sortField: string, sortOrder: "asc" | "desc", sortOption: string): Promise<void>;
377
+ /**
378
+ * On sort button click, display the sorting options
379
+ * @returns Sort options list
380
+ */
381
+ protected _toggleSort(): Node;
326
382
  /**
327
383
  * Reset the filter active prop
328
384
  * @protected
329
385
  */
330
386
  protected _handleFilterListReset(): void;
331
387
  /**
332
- * Check if the layers definitionExpression has been modified
388
+ * Check if the layers definitionExpression has been modified and update the feature list depending on the applied filters
333
389
  * @protected
334
390
  */
335
391
  protected _handleFilterUpdate(): void;
@@ -371,12 +427,22 @@ export declare class CrowdsourceReporter {
371
427
  * On back from create feature, call submit editor to destroy the Editor widget instance
372
428
  * @protected
373
429
  */
374
- protected onSubmitButtonClick(): void;
430
+ protected onCreateFeatureSubmitButtonClick(): void;
375
431
  /**
376
432
  * On back from create feature, call close editor to destroy the Editor widget instance
377
433
  * @protected
378
434
  */
379
435
  protected backFromCreateFeaturePanel(): void;
436
+ /**
437
+ * On back from create realated feature, call submit editor to destroy the Editor widget instance
438
+ * @protected
439
+ */
440
+ protected onCreateRelatedFeatureSubmitButtonClick(): void;
441
+ /**
442
+ * On back from create related feature, call close editor to destroy the Editor widget instance
443
+ * @protected
444
+ */
445
+ protected backFromCreateRelatedFeaturePanel(): void;
380
446
  /**
381
447
  * On creating the feature is failed, show the error message
382
448
  * @param evt Event which has feature failed message
@@ -388,6 +454,17 @@ export declare class CrowdsourceReporter {
388
454
  * @protected
389
455
  */
390
456
  protected onReportSubmitted(): void;
457
+ /**
458
+ * On adding the is failed, show the error message
459
+ * @param evt Event which has comment failed message
460
+ * @protected
461
+ */
462
+ protected addCommentFailed(evt: CustomEvent): void;
463
+ /**
464
+ * On submit comment navigate to the feature list and refresh the feature details
465
+ * @protected
466
+ */
467
+ protected onCommentSubmitted(): Promise<void>;
391
468
  /**
392
469
  * Navigates to layer-list
393
470
  * @protected
@@ -430,11 +507,22 @@ export declare class CrowdsourceReporter {
430
507
  * @param evt Event which has details of selected feature
431
508
  */
432
509
  protected onFeatureSelectFromList(evt: CustomEvent): Promise<void>;
510
+ /**
511
+ * Gets related table id of the selected feature's layer
512
+ * @protected
513
+ */
514
+ protected getRelatedTable(): Promise<void>;
433
515
  /**
434
516
  * Show loading indicator while updating the feature details component
435
517
  * @param isLoading is feature detail component loading
436
518
  */
437
519
  protected updatingFeatureDetails(isLoading: boolean): Promise<void>;
520
+ /**
521
+ * When comment is selected from list store that and show comment details
522
+ * @param evt Event which has details of selected feature
523
+ * @protected
524
+ */
525
+ protected onCommentSelectFromList(evt: CustomEvent): Promise<void>;
438
526
  /**
439
527
  * Get feature list of the selected feature layer
440
528
  * @param layerId Layer id
@@ -454,16 +542,26 @@ export declare class CrowdsourceReporter {
454
542
  * @returns Node
455
543
  */
456
544
  protected getFeaturesPagination(): Node;
545
+ /**
546
+ * Returns the calcite-flow item for comment details
547
+ * @returns Node
548
+ */
549
+ protected getCommentDetailsFlowItem(): Node;
550
+ /**
551
+ * Returns the calcite-flow item for add comment
552
+ * @returns Node
553
+ */
554
+ protected getAddCommentFlowItem(): Node;
457
555
  /**
458
556
  * Sets the selected features and updates the first feature as the current selected feature
459
557
  * @param features Graphics array of the features selected
460
558
  */
461
- protected setSelectedFeatures(features: __esri.Graphic[]): void;
559
+ protected setSelectedFeatures(features: __esri.Graphic[]): Promise<void>;
462
560
  /**
463
561
  * Set the object id of the current selected feature, and also updates the current selected layer details
464
562
  * @param selectedFeature Graphic currently shown in feature details
465
563
  */
466
- protected setCurrentFeature(selectedFeature?: __esri.Graphic): void;
564
+ protected setCurrentFeature(selectedFeature?: __esri.Graphic): Promise<void>;
467
565
  /**
468
566
  * Highlights the feature on map
469
567
  * @param selectedFeature Graphic currently shown in feature details
@@ -31,6 +31,10 @@ export declare class FeatureDetails {
31
31
  * boolean: When true configured dislike field is available in selected layer
32
32
  */
33
33
  _dislikeFieldAvailable: boolean;
34
+ /**
35
+ * boolean: When true comments are configured and its table is available in selected layer
36
+ */
37
+ _commentsAvailable: boolean;
34
38
  /**
35
39
  * boolean: When true button will get brand color
36
40
  */
@@ -39,10 +43,18 @@ export declare class FeatureDetails {
39
43
  * boolean: When true button will get brand color
40
44
  */
41
45
  _isDislikeBtnClicked: boolean;
46
+ /**
47
+ * string[]: objects ids of the related features (comments)
48
+ */
49
+ _relatedFeaturesOIDs: string[];
42
50
  /**
43
51
  * HTMLCreateFeatureElement: info card component instance
44
52
  */
45
53
  protected _infoCard: HTMLInfoCardElement;
54
+ /**
55
+ * HTMLFeatureListElement: Feature list component's instance to show the comments
56
+ */
57
+ protected _commentsList: HTMLFeatureListElement;
46
58
  /**
47
59
  * __esri.Graphic: The current selected feature graphic
48
60
  */
@@ -59,10 +71,19 @@ export declare class FeatureDetails {
59
71
  * esri/Graphic: https://developers.arcgis.com/javascript/latest/api-reference/esri-Graphic.html
60
72
  */
61
73
  protected Graphic: typeof import("esri/Graphic");
74
+ /**
75
+ * https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-support-RelationshipQuery.html
76
+ * used for module import
77
+ */
78
+ protected RelationshipQuery: typeof import("esri/rest/support/RelationshipQuery");
62
79
  /**
63
80
  * string[]: Valid field types for like and dislike
64
81
  */
65
82
  protected _validFieldTypes: string[];
83
+ /**
84
+ *string: related table id of selected feature
85
+ */
86
+ protected relatedTableId: string;
66
87
  /**
67
88
  * Called each time the graphics prop is changed
68
89
  */
@@ -88,6 +109,10 @@ export declare class FeatureDetails {
88
109
  * Emitted on demand when like or dislike button is clicked
89
110
  */
90
111
  loadingStatus: EventEmitter<boolean>;
112
+ /**
113
+ * Emitted on demand when feature is selected using the list
114
+ */
115
+ featureSelect: EventEmitter<__esri.Graphic>;
91
116
  /**
92
117
  * StencilJS: Called once just after the component is first connected to the DOM.
93
118
  *
@@ -109,6 +134,12 @@ export declare class FeatureDetails {
109
134
  * @protected
110
135
  */
111
136
  protected getCompleteGraphic(graphic: __esri.Graphic): Promise<void>;
137
+ /**
138
+ * Process the comments functionality.
139
+ * If comments are configured, fetches the related comments ans creates the input for comments list
140
+ * @protected
141
+ */
142
+ protected processComments(): Promise<void>;
112
143
  /**
113
144
  * Checks if the layers is configured for like dislike or not
114
145
  * @param selectedLayer Feature layer
@@ -15,7 +15,7 @@
15
15
  */
16
16
  /// <reference types="arcgis-js-api" />
17
17
  import { VNode, EventEmitter } from "../../stencil-public-runtime";
18
- import { IPopupUtils } from "../../utils/interfaces";
18
+ import { IPopupUtils, ISortingInfo } from "../../utils/interfaces";
19
19
  import FeatureList_T9n from "../../assets/t9n/feature-list/resources.json";
20
20
  export declare class FeatureList {
21
21
  el: HTMLFeatureListElement;
@@ -43,6 +43,22 @@ export declare class FeatureList {
43
43
  * boolean: Highlight feature on map optional (default false) boolean to indicate if we should highlight when hover on Feature in list
44
44
  */
45
45
  highlightOnHover?: boolean;
46
+ /**
47
+ * ISortingInfo: Sorting field and order using which features list will be sorted
48
+ */
49
+ sortingInfo?: ISortingInfo;
50
+ /**
51
+ * string: where clause to filter the features list
52
+ */
53
+ whereClause?: string;
54
+ /**
55
+ * string(small/large): Controls the font size of the title
56
+ */
57
+ textSize?: "small" | "large";
58
+ /**
59
+ * boolean: Show initial loading indicator when creating list
60
+ */
61
+ showInitialLoading?: boolean;
46
62
  /**
47
63
  * calcite-list-item list of features with popup titles
48
64
  */
@@ -81,6 +97,14 @@ export declare class FeatureList {
81
97
  * Watch for selectedLayerId change and update layer instance and features list for new layerId
82
98
  */
83
99
  selectedLayerWatchHandler(): Promise<void>;
100
+ /**
101
+ * Watch for sorting field or order change and update the features list
102
+ */
103
+ sortingInfoWatchHandler(): Promise<void>;
104
+ /**
105
+ * Watch for whereclause change and update the features list
106
+ */
107
+ whereClauseHandler(): Promise<void>;
84
108
  /**
85
109
  * Refresh the feature list which will fetch the latest features and update the features list
86
110
  * @returns Promise that resolves when the operation is complete
@@ -109,6 +133,11 @@ export declare class FeatureList {
109
133
  * @protected
110
134
  */
111
135
  protected initModules(): Promise<void>;
136
+ /**
137
+ * Return the where condition string considering the defined where clause and layer's definition expression
138
+ * @protected
139
+ */
140
+ protected getWhereCondition(): string;
112
141
  /**
113
142
  * Initialize the features list using the selected layer
114
143
  * @protected
@@ -135,7 +164,7 @@ export declare class FeatureList {
135
164
  protected emitSelectedFeature(graphic: __esri.Graphic): Promise<void>;
136
165
  /**
137
166
  * On feature hover in feature list highlight the feature on the map
138
- * @param selectedFeature mouseovered feature graphic
167
+ * @param selectedFeature mouse hovered feature graphic
139
168
  * @protected
140
169
  */
141
170
  protected onFeatureHover(selectedFeature: __esri.Graphic): Promise<void>;
@@ -104,6 +104,10 @@ export declare class InfoCard {
104
104
  * IPopupUtils: When false alerts will be shown to indicate that the layer must have editing enabled for edit actions
105
105
  */
106
106
  protected _popupUtils: IPopupUtils;
107
+ /**
108
+ * string: unique id for the features node
109
+ */
110
+ protected _featuresNodeId: string;
107
111
  /**
108
112
  * esri/core/reactiveUtils: https://developers.arcgis.com/javascript/latest/api-reference/esri-core-reactiveUtils.html
109
113
  */
@@ -129,8 +133,8 @@ export declare class InfoCard {
129
133
  */
130
134
  getSelectedFeature(): Promise<any>;
131
135
  /**
132
- * Get the current selected feature from the Features widget
133
- * @returns Promise resolving with the current feature
136
+ * Refresh the feature info
137
+ * @returns Promise when complete
134
138
  */
135
139
  refresh(): Promise<any>;
136
140
  /**