@esri/solutions-components 0.11.17 → 0.11.19

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 (333) hide show
  1. package/dist/cjs/{asyncToGenerator-c7fc3ee4.js → asyncToGenerator-f169429a.js} +1 -1
  2. package/dist/cjs/basemap-gallery_7.cjs.entry.js +50 -259
  3. package/dist/cjs/buffer-tools_2.cjs.entry.js +29 -123
  4. package/dist/cjs/card-manager_3.cjs.entry.js +215 -565
  5. package/dist/cjs/consent-manager.cjs.entry.js +15 -57
  6. package/dist/cjs/create-feature_4.cjs.entry.js +102 -256
  7. package/dist/cjs/create-related-feature_3.cjs.entry.js +38 -172
  8. package/dist/cjs/crowdsource-manager.cjs.entry.js +89 -267
  9. package/dist/cjs/crowdsource-reporter.cjs.entry.js +55 -219
  10. package/dist/cjs/deduct-calculator.cjs.entry.js +1 -1
  11. package/dist/cjs/delete-dialog.cjs.entry.js +9 -38
  12. package/dist/cjs/{downloadUtils-88ec0e88.js → downloadUtils-b269c7a1.js} +5 -5
  13. package/dist/cjs/{effects-3607d1ba.js → effects-2f75069e.js} +1 -1
  14. package/dist/cjs/feature-list.cjs.entry.js +30 -110
  15. package/dist/cjs/{helpers-a65cb83a.js → helpers-69e520bd.js} +3 -3
  16. package/dist/cjs/{index-2c21082d.js → index-af14245a.js} +346 -428
  17. package/dist/cjs/{index-90ef3c01.js → index-ffd12cb0.js} +1 -1
  18. package/dist/cjs/{index.es-3c2404c3.js → index.es-644259ff.js} +2 -2
  19. package/dist/cjs/instant-apps-app-guide.cjs.entry.js +5 -5
  20. package/dist/cjs/instant-apps-ckeditor-wrapper_3.cjs.entry.js +7 -7
  21. package/dist/cjs/instant-apps-control-panel.cjs.entry.js +3 -3
  22. package/dist/cjs/instant-apps-create.cjs.entry.js +5 -5
  23. package/dist/cjs/instant-apps-export-views.cjs.entry.js +5 -5
  24. package/dist/cjs/instant-apps-export.cjs.entry.js +5 -5
  25. package/dist/cjs/instant-apps-filter-list_2.cjs.entry.js +5 -5
  26. package/dist/cjs/instant-apps-header.cjs.entry.js +3 -3
  27. package/dist/cjs/instant-apps-interactive-legend-classic.cjs.entry.js +6 -6
  28. package/dist/cjs/instant-apps-interactive-legend-count_2.cjs.entry.js +6 -6
  29. package/dist/cjs/instant-apps-interactive-legend-group-legend-element-caption.cjs.entry.js +6 -6
  30. package/dist/cjs/instant-apps-interactive-legend-group-legend-element_5.cjs.entry.js +6 -6
  31. package/dist/cjs/instant-apps-interactive-legend.cjs.entry.js +8 -8
  32. package/dist/cjs/instant-apps-keyboard-shortcuts.cjs.entry.js +5 -5
  33. package/dist/cjs/instant-apps-landing-page.cjs.entry.js +1 -1
  34. package/dist/cjs/instant-apps-language-switcher.cjs.entry.js +8 -8
  35. package/dist/cjs/instant-apps-language-translator.cjs.entry.js +8 -8
  36. package/dist/cjs/instant-apps-measurement-tool.cjs.entry.js +3 -3
  37. package/dist/cjs/instant-apps-measurement.cjs.entry.js +5 -5
  38. package/dist/cjs/instant-apps-popover.cjs.entry.js +5 -5
  39. package/dist/cjs/instant-apps-popovers.cjs.entry.js +1 -1
  40. package/dist/cjs/instant-apps-scoreboard.cjs.entry.js +5 -5
  41. package/dist/cjs/instant-apps-sign-in.cjs.entry.js +5 -5
  42. package/dist/cjs/instant-apps-splash.cjs.entry.js +5 -5
  43. package/dist/cjs/instant-apps-time-filter.cjs.entry.js +7 -7
  44. package/dist/cjs/json-editor_7.cjs.entry.js +50 -228
  45. package/dist/cjs/{languageSwitcher-19a22439.js → languageSwitcher-c8e62594.js} +1 -1
  46. package/dist/cjs/{languageUtil-a3e1eafd.js → languageUtil-bd49af69.js} +1 -1
  47. package/dist/cjs/{loadModules-e9d8977c.js → loadModules-3b29fa24.js} +1 -1
  48. package/dist/cjs/loader.cjs.js +2 -2
  49. package/dist/cjs/{locale-c09e93fb.js → locale-905e6063.js} +2 -2
  50. package/dist/cjs/{locale-0a273172.js → locale-c923d7b6.js} +3 -3
  51. package/dist/cjs/map-layer-picker.cjs.entry.js +29 -114
  52. package/dist/cjs/map-select-tools_3.cjs.entry.js +53 -232
  53. package/dist/cjs/{mapViewUtils-319df9ec.js → mapViewUtils-4ea7216c.js} +0 -44
  54. package/dist/cjs/pci-calculator.cjs.entry.js +2 -15
  55. package/dist/cjs/{popupUtils-ca1127aa.js → popupUtils-5378e04a.js} +2 -2
  56. package/dist/cjs/public-notification.cjs.entry.js +47 -197
  57. package/dist/cjs/{publicNotificationStore-ee00411f.js → publicNotificationStore-beb782de.js} +1 -1
  58. package/dist/cjs/solution-configuration.cjs.entry.js +18 -53
  59. package/dist/cjs/solution-contents_3.cjs.entry.js +19 -85
  60. package/dist/cjs/solution-item-accordion.cjs.entry.js +15 -42
  61. package/dist/cjs/solution-item-icon.cjs.entry.js +4 -18
  62. package/dist/cjs/{solution-store-6208ce28.js → solution-store-3cf25b71.js} +1 -1
  63. package/dist/cjs/solutions-components.cjs.js +3 -3
  64. package/dist/cjs/spatial-ref.cjs.entry.js +11 -46
  65. package/dist/cjs/store-manager.cjs.entry.js +6 -21
  66. package/dist/cjs/{utils-30344ce0.js → utils-3739960f.js} +2 -2
  67. package/dist/collection/assets/t9n/crowdsource-manager/resources.json +4 -1
  68. package/dist/collection/assets/t9n/crowdsource-manager/resources_en.json +4 -1
  69. package/dist/collection/assets/t9n/solution-item-accordion/resources.json +1 -1
  70. package/dist/collection/assets/t9n/solution-item-accordion/resources_en.json +1 -1
  71. package/dist/collection/collection-manifest.json +1 -1
  72. package/dist/collection/components/basemap-gallery/basemap-gallery.js +5 -19
  73. package/dist/collection/components/buffer-tools/buffer-tools.js +13 -52
  74. package/dist/collection/components/card-manager/card-manager.js +18 -72
  75. package/dist/collection/components/consent-manager/consent-manager.js +12 -52
  76. package/dist/collection/components/create-feature/create-feature.js +16 -68
  77. package/dist/collection/components/create-related-feature/create-related-feature.js +10 -44
  78. package/dist/collection/components/crowdsource-manager/crowdsource-manager.css +23 -0
  79. package/dist/collection/components/crowdsource-manager/crowdsource-manager.js +88 -263
  80. package/dist/collection/components/crowdsource-reporter/crowdsource-reporter.js +53 -215
  81. package/dist/collection/components/delete-button/delete-button.js +13 -55
  82. package/dist/collection/components/delete-dialog/delete-dialog.js +8 -35
  83. package/dist/collection/components/edit-card/edit-card.js +10 -43
  84. package/dist/collection/components/feature-details/feature-details.js +18 -74
  85. package/dist/collection/components/feature-list/feature-list.js +25 -103
  86. package/dist/collection/components/floor-filter/floor-filter.js +5 -19
  87. package/dist/collection/components/info-card/info-card.js +100 -84
  88. package/dist/collection/components/json-editor/json-editor.js +7 -28
  89. package/dist/collection/components/layer-list/layer-list.js +12 -50
  90. package/dist/collection/components/layer-table/layer-table.js +188 -308
  91. package/dist/collection/components/map-card/map-card.js +43 -182
  92. package/dist/collection/components/map-draw-tools/map-draw-tools.js +15 -66
  93. package/dist/collection/components/map-fullscreen/map-fullscreen.js +4 -18
  94. package/dist/collection/components/map-layer-picker/map-layer-picker.js +25 -108
  95. package/dist/collection/components/map-legend/map-legend.js +4 -15
  96. package/dist/collection/components/map-picker/map-picker.js +8 -35
  97. package/dist/collection/components/map-search/map-search.js +8 -35
  98. package/dist/collection/components/map-select-tools/map-select-tools.js +32 -138
  99. package/dist/collection/components/map-tools/map-tools.js +27 -115
  100. package/dist/collection/components/pci-calculator/pci-calculator.js +3 -14
  101. package/dist/collection/components/pdf-download/pdf-download.js +6 -27
  102. package/dist/collection/components/public-notification/public-notification.js +41 -189
  103. package/dist/collection/components/refine-selection/refine-selection.js +13 -59
  104. package/dist/collection/components/solution-configuration/solution-configuration.js +13 -48
  105. package/dist/collection/components/solution-contents/solution-contents.js +4 -13
  106. package/dist/collection/components/solution-item/solution-item.js +9 -36
  107. package/dist/collection/components/solution-item-accordion/solution-item-accordion.js +19 -40
  108. package/dist/collection/components/solution-item-details/solution-item-details.js +16 -35
  109. package/dist/collection/components/solution-item-icon/solution-item-icon.js +5 -17
  110. package/dist/collection/components/solution-item-sharing/solution-item-sharing.js +6 -27
  111. package/dist/collection/components/solution-organization-variables/solution-organization-variables.js +6 -24
  112. package/dist/collection/components/solution-resource-item/solution-resource-item.js +8 -36
  113. package/dist/collection/components/solution-spatial-ref/solution-spatial-ref.js +7 -31
  114. package/dist/collection/components/solution-template-data/solution-template-data.js +8 -49
  115. package/dist/collection/components/solution-variables/solution-variables.js +6 -24
  116. package/dist/collection/components/spatial-ref/spatial-ref.js +8 -43
  117. package/dist/collection/components/store-manager/store-manager.js +5 -18
  118. package/dist/components/basemap-gallery2.js +3 -19
  119. package/dist/components/buffer-tools2.js +11 -52
  120. package/dist/components/card-manager2.js +16 -72
  121. package/dist/components/consent-manager.js +10 -52
  122. package/dist/components/create-feature2.js +14 -68
  123. package/dist/components/create-related-feature2.js +8 -44
  124. package/dist/components/crowdsource-manager.js +87 -264
  125. package/dist/components/crowdsource-reporter.js +51 -215
  126. package/dist/components/delete-button2.js +11 -55
  127. package/dist/components/delete-dialog2.js +6 -35
  128. package/dist/components/edit-card2.js +8 -43
  129. package/dist/components/feature-details2.js +16 -74
  130. package/dist/components/feature-list2.js +23 -103
  131. package/dist/components/floor-filter2.js +3 -19
  132. package/dist/components/info-card2.js +64 -83
  133. package/dist/components/json-editor2.js +5 -28
  134. package/dist/components/layer-list2.js +10 -50
  135. package/dist/components/layer-table2.js +155 -307
  136. package/dist/components/map-card2.js +41 -182
  137. package/dist/components/map-draw-tools2.js +13 -66
  138. package/dist/components/map-fullscreen2.js +2 -18
  139. package/dist/components/map-layer-picker2.js +23 -108
  140. package/dist/components/map-legend2.js +2 -15
  141. package/dist/components/map-picker2.js +6 -35
  142. package/dist/components/map-search2.js +6 -35
  143. package/dist/components/map-select-tools2.js +31 -139
  144. package/dist/components/map-tools2.js +25 -115
  145. package/dist/components/pci-calculator.js +1 -14
  146. package/dist/components/pdf-download2.js +4 -27
  147. package/dist/components/public-notification.js +39 -189
  148. package/dist/components/queryUtils.js +1 -43
  149. package/dist/components/refine-selection2.js +12 -60
  150. package/dist/components/solution-configuration.js +13 -48
  151. package/dist/components/solution-contents2.js +2 -13
  152. package/dist/components/solution-item-accordion.js +12 -39
  153. package/dist/components/solution-item-details2.js +14 -35
  154. package/dist/components/solution-item-icon2.js +3 -17
  155. package/dist/components/solution-item-sharing2.js +4 -27
  156. package/dist/components/solution-item2.js +7 -36
  157. package/dist/components/solution-organization-variables2.js +4 -24
  158. package/dist/components/solution-resource-item2.js +6 -36
  159. package/dist/components/solution-spatial-ref2.js +5 -31
  160. package/dist/components/solution-template-data2.js +8 -49
  161. package/dist/components/solution-variables2.js +4 -24
  162. package/dist/components/spatial-ref.js +8 -43
  163. package/dist/components/store-manager.js +3 -18
  164. package/dist/esm/{asyncToGenerator-96b2368d.js → asyncToGenerator-e51717ed.js} +1 -1
  165. package/dist/esm/basemap-gallery_7.entry.js +50 -259
  166. package/dist/esm/buffer-tools_2.entry.js +29 -123
  167. package/dist/esm/card-manager_3.entry.js +215 -565
  168. package/dist/esm/consent-manager.entry.js +15 -57
  169. package/dist/esm/create-feature_4.entry.js +102 -256
  170. package/dist/esm/create-related-feature_3.entry.js +38 -172
  171. package/dist/esm/crowdsource-manager.entry.js +89 -267
  172. package/dist/esm/crowdsource-reporter.entry.js +55 -219
  173. package/dist/esm/deduct-calculator.entry.js +1 -1
  174. package/dist/esm/delete-dialog.entry.js +9 -38
  175. package/dist/esm/{downloadUtils-22a8f2d8.js → downloadUtils-d04d4095.js} +5 -5
  176. package/dist/esm/{effects-38bc1195.js → effects-602e7b51.js} +1 -1
  177. package/dist/esm/feature-list.entry.js +30 -110
  178. package/dist/esm/{helpers-77bdd30e.js → helpers-520f100c.js} +3 -3
  179. package/dist/esm/{index-6de7c296.js → index-c247b62b.js} +1 -1
  180. package/dist/esm/{index-3702583a.js → index-df5db8e9.js} +346 -428
  181. package/dist/esm/{index.es-87662946.js → index.es-ca80d0c5.js} +2 -2
  182. package/dist/esm/instant-apps-app-guide.entry.js +5 -5
  183. package/dist/esm/instant-apps-ckeditor-wrapper_3.entry.js +7 -7
  184. package/dist/esm/instant-apps-control-panel.entry.js +3 -3
  185. package/dist/esm/instant-apps-create.entry.js +5 -5
  186. package/dist/esm/instant-apps-export-views.entry.js +5 -5
  187. package/dist/esm/instant-apps-export.entry.js +5 -5
  188. package/dist/esm/instant-apps-filter-list_2.entry.js +5 -5
  189. package/dist/esm/instant-apps-header.entry.js +3 -3
  190. package/dist/esm/instant-apps-interactive-legend-classic.entry.js +6 -6
  191. package/dist/esm/instant-apps-interactive-legend-count_2.entry.js +6 -6
  192. package/dist/esm/instant-apps-interactive-legend-group-legend-element-caption.entry.js +6 -6
  193. package/dist/esm/instant-apps-interactive-legend-group-legend-element_5.entry.js +6 -6
  194. package/dist/esm/instant-apps-interactive-legend.entry.js +8 -8
  195. package/dist/esm/instant-apps-keyboard-shortcuts.entry.js +5 -5
  196. package/dist/esm/instant-apps-landing-page.entry.js +1 -1
  197. package/dist/esm/instant-apps-language-switcher.entry.js +8 -8
  198. package/dist/esm/instant-apps-language-translator.entry.js +8 -8
  199. package/dist/esm/instant-apps-measurement-tool.entry.js +3 -3
  200. package/dist/esm/instant-apps-measurement.entry.js +5 -5
  201. package/dist/esm/instant-apps-popover.entry.js +5 -5
  202. package/dist/esm/instant-apps-popovers.entry.js +1 -1
  203. package/dist/esm/instant-apps-scoreboard.entry.js +5 -5
  204. package/dist/esm/instant-apps-sign-in.entry.js +5 -5
  205. package/dist/esm/instant-apps-splash.entry.js +5 -5
  206. package/dist/esm/instant-apps-time-filter.entry.js +7 -7
  207. package/dist/esm/json-editor_7.entry.js +50 -228
  208. package/dist/esm/{languageSwitcher-49bad3f4.js → languageSwitcher-ccdf79d4.js} +1 -1
  209. package/dist/esm/{languageUtil-2b6e191a.js → languageUtil-2bac3910.js} +1 -1
  210. package/dist/esm/{loadModules-947ccfd4.js → loadModules-1b0b108c.js} +1 -1
  211. package/dist/esm/loader.js +3 -3
  212. package/dist/esm/{locale-aa656a2c.js → locale-15e42305.js} +2 -2
  213. package/dist/esm/{locale-b0016f8e.js → locale-29d08ded.js} +3 -3
  214. package/dist/esm/map-layer-picker.entry.js +29 -114
  215. package/dist/esm/map-select-tools_3.entry.js +53 -232
  216. package/dist/esm/{mapViewUtils-a854e298.js → mapViewUtils-9da9be1c.js} +1 -43
  217. package/dist/esm/pci-calculator.entry.js +2 -15
  218. package/dist/esm/{popupUtils-1314cb13.js → popupUtils-b71abb01.js} +2 -2
  219. package/dist/esm/public-notification.entry.js +47 -197
  220. package/dist/esm/{publicNotificationStore-70219049.js → publicNotificationStore-9ec5e22a.js} +1 -1
  221. package/dist/esm/solution-configuration.entry.js +18 -53
  222. package/dist/esm/solution-contents_3.entry.js +19 -85
  223. package/dist/esm/solution-item-accordion.entry.js +15 -42
  224. package/dist/esm/solution-item-icon.entry.js +4 -18
  225. package/dist/esm/{solution-store-2493275a.js → solution-store-4c39c654.js} +1 -1
  226. package/dist/esm/solutions-components.js +4 -4
  227. package/dist/esm/spatial-ref.entry.js +11 -46
  228. package/dist/esm/store-manager.entry.js +6 -21
  229. package/dist/esm/{utils-68015f9d.js → utils-89be1743.js} +2 -2
  230. package/dist/solutions-components/assets/t9n/crowdsource-manager/resources.json +4 -1
  231. package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_en.json +4 -1
  232. package/dist/solutions-components/assets/t9n/solution-item-accordion/resources.json +1 -1
  233. package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_en.json +1 -1
  234. package/dist/solutions-components/{p-68d49e1a.entry.js → p-0132213f.entry.js} +2 -2
  235. package/dist/solutions-components/{p-dc188d13.js → p-039ab075.js} +1 -1
  236. package/dist/solutions-components/p-04277d48.entry.js +6 -0
  237. package/dist/solutions-components/p-04546ef6.js +6 -0
  238. package/dist/solutions-components/{p-174fa218.js → p-0607044f.js} +1 -1
  239. package/dist/solutions-components/p-099379e6.entry.js +6 -0
  240. package/dist/solutions-components/{p-300ff31e.entry.js → p-0b1c830a.entry.js} +1 -1
  241. package/dist/solutions-components/{p-ff5db601.entry.js → p-0ea99464.entry.js} +1 -1
  242. package/dist/solutions-components/p-1054e10a.entry.js +6 -0
  243. package/dist/solutions-components/p-1adc6874.entry.js +6 -0
  244. package/dist/solutions-components/{p-3c3aecdd.js → p-258aa58e.js} +1 -1
  245. package/dist/solutions-components/p-29baf8a2.entry.js +6 -0
  246. package/dist/solutions-components/{p-eb97b5ad.entry.js → p-2a1ed83a.entry.js} +1 -1
  247. package/dist/solutions-components/{p-8107be38.entry.js → p-2a7f23fc.entry.js} +1 -1
  248. package/dist/solutions-components/{p-6da8fe2d.entry.js → p-2cb8c175.entry.js} +1 -1
  249. package/dist/solutions-components/p-2d3b8412.entry.js +6 -0
  250. package/dist/solutions-components/p-2d8300ba.entry.js +6 -0
  251. package/dist/solutions-components/{p-ac122d9e.js → p-3423b5ef.js} +1 -1
  252. package/dist/solutions-components/{p-fa09caf3.entry.js → p-34338938.entry.js} +1 -1
  253. package/dist/solutions-components/{p-4f514c6d.js → p-36e3b39c.js} +2 -2
  254. package/dist/solutions-components/{p-ea64b72e.entry.js → p-37cc79c6.entry.js} +1 -1
  255. package/dist/solutions-components/p-38814554.entry.js +6 -0
  256. package/dist/solutions-components/{p-ee863ffb.entry.js → p-3f8b1062.entry.js} +1 -1
  257. package/dist/solutions-components/p-436b869c.entry.js +6 -0
  258. package/dist/solutions-components/{p-08ad0b7a.js → p-438fdc33.js} +1 -1
  259. package/dist/solutions-components/{p-335a630e.entry.js → p-4454af38.entry.js} +1 -1
  260. package/dist/solutions-components/p-532ed572.entry.js +6 -0
  261. package/dist/solutions-components/{p-959cb673.entry.js → p-552fb1c0.entry.js} +1 -1
  262. package/dist/solutions-components/{p-b560498c.entry.js → p-59a1c5a9.entry.js} +1 -1
  263. package/dist/solutions-components/p-5e4e0f84.entry.js +6 -0
  264. package/dist/solutions-components/{p-2b556610.entry.js → p-64a6162f.entry.js} +1 -1
  265. package/dist/solutions-components/{p-e85da876.entry.js → p-6ac03d17.entry.js} +1 -1
  266. package/dist/solutions-components/p-6e879de9.entry.js +6 -0
  267. package/dist/solutions-components/{p-8f7957a2.js → p-7bf7d67b.js} +1 -1
  268. package/dist/solutions-components/{p-81ae30bd.entry.js → p-86b6f918.entry.js} +1 -1
  269. package/dist/solutions-components/{p-e23b4193.js → p-8717729a.js} +1 -1
  270. package/dist/solutions-components/{p-e81e2d83.entry.js → p-8db12ee9.entry.js} +2 -2
  271. package/dist/solutions-components/{p-173d5fce.js → p-8f973b3d.js} +1 -1
  272. package/dist/solutions-components/{p-1ddd7128.entry.js → p-97abbf8f.entry.js} +1 -1
  273. package/dist/solutions-components/{p-ee2cbba0.js → p-a397e773.js} +1 -1
  274. package/dist/solutions-components/p-b636a8b4.entry.js +6 -0
  275. package/dist/solutions-components/{p-1890b884.entry.js → p-b6a6fdcf.entry.js} +2 -2
  276. package/dist/solutions-components/p-b8f29a99.entry.js +6 -0
  277. package/dist/solutions-components/p-ba472e45.entry.js +6 -0
  278. package/dist/solutions-components/{p-1dffcc22.entry.js → p-c3aac15b.entry.js} +1 -1
  279. package/dist/solutions-components/{p-3d20e307.js → p-cd38fc53.js} +1 -1
  280. package/dist/solutions-components/p-d45b0400.entry.js +6 -0
  281. package/dist/solutions-components/p-d885880a.entry.js +6 -0
  282. package/dist/solutions-components/{p-8b218ba7.js → p-da1e098c.js} +1 -1
  283. package/dist/solutions-components/{p-b40b5be5.entry.js → p-da1e4ff1.entry.js} +1 -1
  284. package/dist/solutions-components/p-dbf2c455.entry.js +6 -0
  285. package/dist/solutions-components/{p-952da957.js → p-dcd2f00b.js} +2 -2
  286. package/dist/solutions-components/{p-2c8360b4.entry.js → p-dda0aa41.entry.js} +1 -1
  287. package/dist/solutions-components/{p-70e8be5c.entry.js → p-e3e35c14.entry.js} +1 -1
  288. package/dist/solutions-components/{p-48942eb8.js → p-e6859850.js} +2 -2
  289. package/dist/solutions-components/{p-699a9557.entry.js → p-e79b69e6.entry.js} +1 -1
  290. package/dist/solutions-components/p-e996c38f.js +7 -0
  291. package/dist/solutions-components/{p-f07a02e2.entry.js → p-edfcce2c.entry.js} +1 -1
  292. package/dist/solutions-components/{p-2dcf8f00.entry.js → p-f292f56e.entry.js} +1 -1
  293. package/dist/solutions-components/{p-4bdd4009.entry.js → p-f36b4778.entry.js} +1 -1
  294. package/dist/solutions-components/{p-579628d9.entry.js → p-f457e8be.entry.js} +1 -1
  295. package/dist/solutions-components/{p-d65f8b73.js → p-f93a9d92.js} +1 -1
  296. package/dist/solutions-components/p-f99a78f1.entry.js +6 -0
  297. package/dist/solutions-components/{p-7f6cbe61.entry.js → p-fdf0d66f.entry.js} +1 -1
  298. package/dist/solutions-components/solutions-components.esm.js +1 -1
  299. package/dist/solutions-components_commit.txt +7 -7
  300. package/dist/types/components/crowdsource-manager/crowdsource-manager.d.ts +11 -7
  301. package/dist/types/components/info-card/info-card.d.ts +16 -0
  302. package/dist/types/components/layer-table/layer-table.d.ts +32 -21
  303. package/dist/types/components/solution-item-accordion/solution-item-accordion.d.ts +1 -1
  304. package/dist/types/components.d.ts +19 -2
  305. package/dist/types/preact.d.ts +2 -1
  306. package/package.json +2 -2
  307. package/dist/solutions-components/p-032d4411.entry.js +0 -6
  308. package/dist/solutions-components/p-1b0588d2.js +0 -7
  309. package/dist/solutions-components/p-1fe3577a.entry.js +0 -6
  310. package/dist/solutions-components/p-265f5dc4.entry.js +0 -6
  311. package/dist/solutions-components/p-43d9bb7d.entry.js +0 -6
  312. package/dist/solutions-components/p-4426901e.entry.js +0 -6
  313. package/dist/solutions-components/p-4ebc471b.entry.js +0 -6
  314. package/dist/solutions-components/p-5ea1e18b.entry.js +0 -6
  315. package/dist/solutions-components/p-6d62a4fa.entry.js +0 -6
  316. package/dist/solutions-components/p-70036eb6.entry.js +0 -6
  317. package/dist/solutions-components/p-87919d6d.entry.js +0 -6
  318. package/dist/solutions-components/p-89fbc318.js +0 -6
  319. package/dist/solutions-components/p-8ea0a36a.entry.js +0 -6
  320. package/dist/solutions-components/p-9d953313.entry.js +0 -6
  321. package/dist/solutions-components/p-a003600b.entry.js +0 -6
  322. package/dist/solutions-components/p-acd2699e.entry.js +0 -6
  323. package/dist/solutions-components/p-afc3ac6d.entry.js +0 -6
  324. package/dist/solutions-components/p-b37be371.entry.js +0 -6
  325. package/dist/solutions-components/p-bc2548ba.entry.js +0 -6
  326. package/dist/solutions-components/p-bf2598f8.entry.js +0 -6
  327. package/dist/solutions-components/p-ce8377c6.entry.js +0 -6
  328. /package/dist/cjs/{esri-loader-08dc41bd.js → esri-loader-1e8cc247.js} +0 -0
  329. /package/dist/cjs/{typeof-2a7e2dec.js → typeof-eba0a941.js} +0 -0
  330. /package/dist/esm/{esri-loader-c6842c6b.js → esri-loader-d10d860d.js} +0 -0
  331. /package/dist/esm/{typeof-ef2a007d.js → typeof-a3e780e1.js} +0 -0
  332. /package/dist/solutions-components/{p-4fe489cf.js → p-19bce2cc.js} +0 -0
  333. /package/dist/solutions-components/{p-0a24ad5f.js → p-3b3f77bc.js} +0 -0
@@ -24,6 +24,31 @@ import { PopupUtils } from "../../utils/popupUtils";
24
24
  import { getFeatureLayerView, getLayerOrTable, highlightFeatures } from "../../utils/mapViewUtils";
25
25
  import { getLocaleComponentStrings } from "../../utils/locale";
26
26
  export class FeatureList {
27
+ constructor() {
28
+ this.selectedLayerId = undefined;
29
+ this.mapView = undefined;
30
+ this.noFeaturesFoundMsg = undefined;
31
+ this.pageSize = 100;
32
+ this.highlightOnMap = false;
33
+ this.highlightOnHover = false;
34
+ this.locale = undefined;
35
+ this.sortingInfo = undefined;
36
+ this.whereClause = undefined;
37
+ this.textSize = "large";
38
+ this.showInitialLoading = true;
39
+ this.showErrorWhenNoFeatures = true;
40
+ this.showUserImageInList = false;
41
+ this.showFeatureSymbol = false;
42
+ this.applyLayerViewFilter = false;
43
+ this.reportingOptions = undefined;
44
+ this.showFullTitle = true;
45
+ this._featureItems = [];
46
+ this._featuresCount = 0;
47
+ this._isLoading = false;
48
+ this._searchPlaceHolder = '';
49
+ this._fullTextSearchInfo = undefined;
50
+ this._translations = undefined;
51
+ }
27
52
  //--------------------------------------------------------------------------
28
53
  //
29
54
  // Host element access
@@ -32,109 +57,6 @@ export class FeatureList {
32
57
  el;
33
58
  //--------------------------------------------------------------------------
34
59
  //
35
- // Properties (public)
36
- //
37
- //--------------------------------------------------------------------------
38
- /**
39
- * string: Layer id of the feature layer to show the list
40
- */
41
- selectedLayerId;
42
- /**
43
- * esri/views/View: https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html
44
- */
45
- mapView;
46
- /**
47
- * string: Message to be displayed when features are not found
48
- */
49
- noFeaturesFoundMsg;
50
- /**
51
- * number: Number features to be fetched per page, by default 100 features will be fetched
52
- */
53
- pageSize = 100;
54
- /**
55
- * boolean: Highlight feature on map optional (default false) boolean to indicate if we should highlight and zoom to the extent of the feature geometry
56
- */
57
- highlightOnMap = false;
58
- /**
59
- * boolean: Highlight feature on map optional (default false) boolean to indicate if we should highlight when hover on Feature in list
60
- */
61
- highlightOnHover = false;
62
- /**
63
- * string: Locale to use for translation of stings in the UI
64
- */
65
- locale;
66
- /**
67
- * ISortingInfo: Sorting field and order using which features list will be sorted
68
- */
69
- sortingInfo;
70
- /**
71
- * string: where clause to filter the features list
72
- */
73
- whereClause;
74
- /**
75
- * string(small/large): Controls the font size of the title
76
- */
77
- textSize = "large";
78
- /**
79
- * boolean: Show initial loading indicator when creating list
80
- */
81
- showInitialLoading = true;
82
- /**
83
- * boolean: If true will show error msg when features are not present
84
- */
85
- showErrorWhenNoFeatures = true;
86
- /**
87
- * boolean: If true display's profile img on each feature item
88
- */
89
- showUserImageInList = false;
90
- /**
91
- * boolean: If true display's feature symbol on each feature item
92
- */
93
- showFeatureSymbol = false;
94
- /**
95
- * boolean: If true will consider the FeatureFilter applied on the layerview
96
- */
97
- applyLayerViewFilter = false;
98
- /**
99
- * IReportingOptions: Key options for reporting
100
- */
101
- reportingOptions;
102
- /**
103
- * boolean: When false popup title will shown in single line
104
- */
105
- showFullTitle = true;
106
- //--------------------------------------------------------------------------
107
- //
108
- // State (internal)
109
- //
110
- //--------------------------------------------------------------------------
111
- /**
112
- * calcite-list-item list of features with popup titles
113
- */
114
- _featureItems = [];
115
- /**
116
- * number: Total number of feature count
117
- */
118
- _featuresCount = 0;
119
- /**
120
- * boolean: Check if selected layer's features fetching process is completed
121
- */
122
- _isLoading = false;
123
- /**
124
- * string: Placeholder string to show fields included in full text search
125
- */
126
- _searchPlaceHolder = '';
127
- /**
128
- * any[]: Contains full text search info object
129
- */
130
- _fullTextSearchInfo;
131
- /**
132
- * Contains the translations for this component.
133
- * All UI strings should be defined here.
134
- */
135
- _translations;
136
- //--------------------------------------------------------------------------
137
- //
138
60
  // Properties (protected)
139
61
  //
140
62
  //--------------------------------------------------------------------------
@@ -21,6 +21,11 @@
21
21
  import { Host, h } from "@stencil/core";
22
22
  import { loadModules } from "../../utils/loadModules";
23
23
  export class FloorFilter {
24
+ constructor() {
25
+ this.enabled = undefined;
26
+ this.floorFilterWidget = undefined;
27
+ this.mapView = undefined;
28
+ }
24
29
  //--------------------------------------------------------------------------
25
30
  //
26
31
  // Host element access
@@ -29,25 +34,6 @@ export class FloorFilter {
29
34
  el;
30
35
  //--------------------------------------------------------------------------
31
36
  //
32
- // Properties (public)
33
- //
34
- //--------------------------------------------------------------------------
35
- /**
36
- * boolean: when true the Floor Filter widget will be available
37
- */
38
- enabled;
39
- /**
40
- * esri/widgets/FloorFilter: https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-FloorFilter.html
41
- *
42
- * FloorFilter instance
43
- */
44
- floorFilterWidget;
45
- /**
46
- * esri/views/View: https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html
47
- */
48
- mapView;
49
- //--------------------------------------------------------------------------
50
- //
51
37
  // State (internal)
52
38
  //
53
39
  //--------------------------------------------------------------------------
@@ -23,6 +23,26 @@ import { getLocaleComponentStrings } from "../../utils/locale";
23
23
  import { loadModules } from "../../utils/loadModules";
24
24
  import { PopupUtils } from "../../utils/popupUtils";
25
25
  export class InfoCard {
26
+ constructor() {
27
+ this.enableEditGeometry = false;
28
+ this.graphics = undefined;
29
+ this.isLoading = false;
30
+ this.isMobile = undefined;
31
+ this.mapView = undefined;
32
+ this.allowEditing = true;
33
+ this.highlightEnabled = true;
34
+ this.locale = undefined;
35
+ this.paginationEnabled = true;
36
+ this.position = 'absolute';
37
+ this.showCloseBtn = false;
38
+ this._alertOpen = false;
39
+ this._count = "";
40
+ this._editRecordOpen = false;
41
+ this._mobileTitle = "";
42
+ this._showListView = false;
43
+ this._translations = undefined;
44
+ this._navigatedToRelatedFeature = undefined;
45
+ }
26
46
  //--------------------------------------------------------------------------
27
47
  //
28
48
  // Host element access
@@ -31,83 +51,6 @@ export class InfoCard {
31
51
  el;
32
52
  //--------------------------------------------------------------------------
33
53
  //
34
- // Properties (public)
35
- //
36
- //--------------------------------------------------------------------------
37
- /**
38
- * When true the geometry of the current feature will be editable
39
- */
40
- enableEditGeometry = false;
41
- /**
42
- * esri/Graphic: https://developers.arcgis.com/javascript/latest/api-reference/esri-Graphic.html
43
- */
44
- graphics;
45
- /**
46
- * boolean: when true a loading indicator will be shown
47
- */
48
- isLoading = false;
49
- /**
50
- * When true the component will render an optimized view for mobile devices
51
- */
52
- isMobile;
53
- /**
54
- * esri/views/MapView: https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html
55
- */
56
- mapView;
57
- /**
58
- * boolean: If true will show edit button
59
- */
60
- allowEditing = true;
61
- /**
62
- * boolean: If true will highlights the features on map using Features Widget
63
- */
64
- highlightEnabled = true;
65
- /**
66
- * string: Locale to use for translation of stings in the UI
67
- */
68
- locale;
69
- /**
70
- * boolean: If true will show the pagination for multiple features
71
- */
72
- paginationEnabled = true;
73
- /**
74
- * string: Set the position of the feature info
75
- */
76
- position = 'absolute';
77
- //--------------------------------------------------------------------------
78
- //
79
- // State (internal)
80
- //
81
- //--------------------------------------------------------------------------
82
- /**
83
- * boolean: When true a alert will be shown to indicate a problem or confirm the current action
84
- */
85
- _alertOpen = false;
86
- /**
87
- * string: Current index of total string
88
- * This value is not displayed but will force a render if it changes
89
- */
90
- _count = "";
91
- /**
92
- * When true the add record modal will be displayed
93
- */
94
- _editRecordOpen = false;
95
- /**
96
- * When isMobile is true we will handle the display of the title so
97
- * we can display beside a custom back button
98
- */
99
- _mobileTitle = "";
100
- /**
101
- * When true the features list view will be displayed
102
- */
103
- _showListView = false;
104
- /**
105
- * Contains the translations for this component.
106
- * All UI strings should be defined here.
107
- */
108
- _translations;
109
- //--------------------------------------------------------------------------
110
- //
111
54
  // Properties (protected)
112
55
  //
113
56
  //--------------------------------------------------------------------------
@@ -141,6 +84,10 @@ export class InfoCard {
141
84
  * esri/core/reactiveUtils: https://developers.arcgis.com/javascript/latest/api-reference/esri-core-reactiveUtils.html
142
85
  */
143
86
  reactiveUtils;
87
+ /**
88
+ * __esri.Graphic: Related feature selected from the features widget
89
+ */
90
+ _relatedFeature;
144
91
  //--------------------------------------------------------------------------
145
92
  //
146
93
  // Watch handlers
@@ -150,6 +97,14 @@ export class InfoCard {
150
97
  * Watch for changes to the graphic and update the feature widget
151
98
  */
152
99
  async graphicsWatchHandler() {
100
+ // if user has been navigated to related record and graphics is changed then close the feature widget and then set graphics to avoid blank popup issue
101
+ // https://github.com/Esri/solutions-components/issues/1113
102
+ if (this._navigatedToRelatedFeature && this._features) {
103
+ this._features.clear();
104
+ this._features.close();
105
+ this._count = "";
106
+ this._navigatedToRelatedFeature = false;
107
+ }
153
108
  await this.setGraphics();
154
109
  }
155
110
  /**
@@ -240,6 +195,10 @@ export class InfoCard {
240
195
  * Emitted on demand when the popup is closed
241
196
  */
242
197
  popupClosed;
198
+ /**
199
+ * Emitted on demand when close button is clicked
200
+ */
201
+ clearSelection;
243
202
  /**
244
203
  * Emitted on demand when the selected index changes
245
204
  */
@@ -266,7 +225,10 @@ export class InfoCard {
266
225
  * Refresh the info-card graphics
267
226
  */
268
227
  async refreshGraphics(evt) {
269
- this.graphics = [...evt.detail];
228
+ // if if user is not navigated to related feature then only update the graphics otherwise the related feature will shown instead of selected feature
229
+ if (!this._navigatedToRelatedFeature) {
230
+ this.graphics = [...evt.detail];
231
+ }
270
232
  }
271
233
  //--------------------------------------------------------------------------
272
234
  //
@@ -300,13 +262,16 @@ export class InfoCard {
300
262
  const featureNodeClass = this.isLoading || this._editRecordOpen ? "visibility-hidden" : "position-absolute";
301
263
  const editClass = !this.isLoading && this._editRecordOpen ? "position-absolute" : "display-none";
302
264
  const editButtonClass = (!this.isLoading && this._editRecordOpen) || this._showListView ? "display-none" : "";
303
- const nextBackDisabled = this._features?.features?.length < 2;
265
+ const nextBackDisabled = this._features?.features?.length < 2 || this._navigatedToRelatedFeature;
304
266
  const nextBackClass = this.isMobile ? "display-none" : "";
305
267
  const id = this._features?.selectedFeature?.getObjectId();
306
268
  const ids = parseInt(id?.toString(), 10) > -1 ? [id] : [];
307
269
  const deleteEnabled = this._layer?.editingEnabled && this._layer?.capabilities?.operations?.supportsDelete;
308
- return (h(Host, { key: '66070d48134f89d9cf132572fe1adf790b6d3ec6' }, h("calcite-shell", { key: 'b77248dce176df940d8b0c347154b73738a5576d', style: { position: this.position } }, this._getHeader(), h("calcite-loader", { key: 'c1638ca8320a0ae12a9ccd1fd8841efde4236ba5', class: loadingClass, label: this._translations.fetchingData }), h("div", { key: 'cf5ee3be5c0ea3be36205dcf7c0747461802a5f1', class: "esri-widget feature-node " + featureNodeClass, id: this._featuresNodeId }), h("div", { key: '6fbfa6947fa0fdb1b14a03217da60f07ecff2e1b', class: `${editButtonClass} width-100`, slot: "footer" }, this.allowEditing &&
309
- h("div", { key: 'fdcb078c3b3f183b06dc3a48d27fee46e3a4fffa', class: "display-flex top-border padding-1-2" }, h("calcite-button", { key: '7193bec80a40f353d24e5d327d99d94a2c5ff356', appearance: "solid", id: "solutions-edit", onClick: () => this._openEditRecord(), width: "full" }, this._translations.edit), this.isMobile && deleteEnabled ? (h("delete-button", { class: "padding-inline-start-1 width-100", id: "solutions-delete", ids: ids, layer: this._layer, locale: this.locale, onEditsComplete: () => this._closePopup() })) : undefined, h("calcite-tooltip", { key: '228a9691edd916a5d644cb19db24898cdf7cab3b', placement: "bottom", "reference-element": "solutions-edit" }, h("span", { key: '5c696df370bcf230d3fc06523ec3cb9d96f2fe2b' }, this._translations.edit)), this.isMobile && deleteEnabled ? (h("calcite-tooltip", { placement: "bottom", "reference-element": "solutions-delete" }, h("span", null, this._translations.delete))) : undefined), this.paginationEnabled && !nextBackDisabled && h("div", { key: 'e1b829a888913af6a9d777a2df0d65571ac3bec1', class: `display-flex padding-1-2 button-container top-border ${nextBackClass}` }, h("div", { key: '8746737a103266efe64a8f80c2359f9e170586d5' }, h("calcite-button", { key: 'ac6fc23dc2831608cc9c86fe384c0a927cd7d7ac', appearance: 'transparent', disabled: nextBackDisabled, iconFlipRtl: "both", iconStart: "chevron-left", id: "solutions-back", onClick: () => this._back(), width: "full" }), h("calcite-tooltip", { key: 'd4a1e2753c35e97064ca66d5c30deccd532fb158', placement: "top", "reference-element": "solutions-back" }, h("span", { key: 'caae32b5e32a0d89265293beccef157d227a7600' }, this._translations.back))), h("calcite-action", { key: 'a87f344a06896ad86886815254979793b057e4cd', class: 'pagination-action', iconFlipRtl: true, onClick: () => this._toggleListView(), scale: "s", text: "", textEnabled: true }, h("span", { key: '6e6f84ebedb2540edb485fa0789fe8ea67e7188f', class: "pagination-count" }, this._count)), h("div", { key: '6acf22348a508c921865bb4c7e531f9a826a8eed' }, h("calcite-button", { key: 'f1d763e1747cff7e0b6bec08ec4fade3d1582379', appearance: "transparent", disabled: nextBackDisabled, iconFlipRtl: "both", iconStart: "chevron-right", id: "solutions-next", onClick: () => this._next(), width: "full" }), h("calcite-tooltip", { key: 'def93e3d1f19b4e6eb3e54c5fbd918fed118cc0c', placement: "top", "reference-element": "solutions-next" }, h("span", { key: 'cb9b90a5b3129861b7f58fd0271c6120893dfd53' }, this._translations.next))))), h("edit-card", { key: '524819a6dc64775b88b22aaf24445fd5ebdeae24', class: editClass, enableEditGeometry: this.enableEditGeometry, graphicIndex: this._features?.selectedFeatureIndex, graphics: this.graphics, locale: this.locale, mapView: this.mapView, open: this._editRecordOpen }), h("calcite-alert", { key: '394c3b416a5dc94381c8b93afd3308121fbebd81', icon: "layer-broken", kind: "warning", label: "", onCalciteAlertClose: () => this._alertClosed(), open: this._alertOpen, placement: "top" }, h("div", { key: 'f4868bf3b710d91ed7e3f1e34b846bd408febac0', slot: "title" }, this._translations.editDisabled), h("div", { key: '457b7d0c76bfac52340bec73f5d1d2abbd10f25a', slot: "message" }, this._translations.enableEditing)))));
270
+ // if user has navigated to the related feature then pass the related feature to the graphics
271
+ const graphics = this._relatedFeature ? [this._relatedFeature] : this.graphics;
272
+ const selectedFeatureIndex = this._navigatedToRelatedFeature ? 0 : this._features?.selectedFeatureIndex;
273
+ return (h(Host, { key: '9f75eb2e7aba944474e85c34b2abe23982629558' }, h("calcite-shell", { key: '748f9e50cd3aa7a52dd7910b171c0d7f54d09203', style: { position: this.position } }, this._getHeader(), h("calcite-loader", { key: 'feced4d4a66df36958644436acaa53ddabdfc02a', class: loadingClass, label: this._translations.fetchingData }), h("div", { key: '3bb912c80d610a21a5e283c6bd19ab0c63023c45', class: "esri-widget feature-node " + featureNodeClass, id: this._featuresNodeId }), h("div", { key: '479dcbda08f837b32bd19ed7f40856f081e92a6e', class: `${editButtonClass} width-100`, slot: "footer" }, this.allowEditing &&
274
+ h("div", { key: 'dd78b02ba8506c391aada6c5233691ec9babcfbe', class: "display-flex top-border padding-1-2" }, h("calcite-button", { key: 'c5a807609c60151a433fa9c0055fbfdf20b2935f', appearance: "solid", id: "solutions-edit", onClick: () => this._openEditRecord(), width: "full" }, this._translations.edit), this.isMobile && deleteEnabled ? (h("delete-button", { class: "padding-inline-start-1 width-100", id: "solutions-delete", ids: ids, layer: this._layer, locale: this.locale, onEditsComplete: () => this._closePopup() })) : undefined, h("calcite-tooltip", { key: 'a4cd4c77e982e23675ec9eaf08e2135de6c83b65', placement: "bottom", "reference-element": "solutions-edit" }, h("span", { key: '22533608996d1c87b9b04e339506ec01176379b0' }, this._translations.edit)), this.isMobile && deleteEnabled ? (h("calcite-tooltip", { placement: "bottom", "reference-element": "solutions-delete" }, h("span", null, this._translations.delete))) : undefined), this.paginationEnabled && !nextBackDisabled && h("div", { key: '183ff7da57a06de8f5419edf5973f18b41c46097', class: `display-flex padding-1-2 button-container top-border ${nextBackClass}` }, h("div", { key: '77e59229d1d516ccdc8f7c5be2f89a5ad9d5004b' }, h("calcite-button", { key: '4b6a6f1f85e9199e14d626ba66b6b319283d0c32', appearance: 'transparent', disabled: nextBackDisabled, iconFlipRtl: "both", iconStart: "chevron-left", id: "solutions-back", onClick: () => this._back(), width: "full" }), h("calcite-tooltip", { key: '7056c5cb3c790c804194f09f2586864a28dce5e1', placement: "top", "reference-element": "solutions-back" }, h("span", { key: '923fc5425a9faced6952a1b9acff9b7d0f3da286' }, this._translations.back))), h("calcite-action", { key: 'a34bfb4ae71a91373fd476e7b704a6a2f8f23157', class: 'pagination-action', iconFlipRtl: true, onClick: () => this._toggleListView(), scale: "s", text: "", textEnabled: true }, h("span", { key: '101a0fa592af65b540123c835e9031a18671ad8b', class: "pagination-count" }, this._count)), h("div", { key: 'c4f88f464a3091dfc77578470de4f42d05b9f5c7' }, h("calcite-button", { key: 'e4e35e539f0c7e01a31e0047db545d4d334ef2d8', appearance: "transparent", disabled: nextBackDisabled, iconFlipRtl: "both", iconStart: "chevron-right", id: "solutions-next", onClick: () => this._next(), width: "full" }), h("calcite-tooltip", { key: '40244ecf5566fde448b311272d2ee00d70bc531a', placement: "top", "reference-element": "solutions-next" }, h("span", { key: 'db01e2a2b9da9a80f9a25caf49bf8beb872e6ad9' }, this._translations.next))))), h("edit-card", { key: 'cfa193b01b67f7709ea6a491caa0c647c536e9e3', class: editClass, enableEditGeometry: this.enableEditGeometry, graphicIndex: selectedFeatureIndex, graphics: graphics, locale: this.locale, mapView: this.mapView, open: this._editRecordOpen }), h("calcite-alert", { key: '709fd6d681d32a03fcf5fba959e81a0153676e26', icon: "layer-broken", kind: "warning", label: "", onCalciteAlertClose: () => this._alertClosed(), open: this._alertOpen, placement: "top" }, h("div", { key: 'bbdd9cc98fcda8ffba294a4322f08468072f6aef', slot: "title" }, this._translations.editDisabled), h("div", { key: 'd07e32e9cd54cc82ff005e7e696e13e1b8bdaa4e', slot: "message" }, this._translations.enableEditing)))));
310
275
  }
311
276
  //--------------------------------------------------------------------------
312
277
  //
@@ -366,7 +331,7 @@ export class InfoCard {
366
331
  container: this._featuresNodeId,
367
332
  visibleElements: {
368
333
  actionBar: false,
369
- closeButton: false,
334
+ closeButton: this.showCloseBtn,
370
335
  heading: !this.isMobile
371
336
  }
372
337
  });
@@ -382,11 +347,26 @@ export class InfoCard {
382
347
  this.selectionChanged.emit({ selectedFeature: [this._features.selectedFeature], selectedFeatureIndex: this._features.selectedFeatureIndex });
383
348
  }
384
349
  });
350
+ this.reactiveUtils.watch(() => this._features.selectedDrillInFeature, (f) => {
351
+ if (f) {
352
+ this._relatedFeature = f;
353
+ this._navigatedToRelatedFeature = true;
354
+ }
355
+ else {
356
+ this._relatedFeature = null;
357
+ this._navigatedToRelatedFeature = false;
358
+ }
359
+ });
360
+ // get the info card node element and emit clear selection while clicking the close button
361
+ const infoCard = this.el.querySelector('#' + this._featuresNodeId);
362
+ infoCard.addEventListener('calciteFlowItemClose', () => {
363
+ this.clearSelection.emit();
364
+ });
385
365
  }
386
366
  else {
387
367
  this._features.view = this.mapView;
388
368
  this._features.visibleElements.actionBar = false;
389
- this._features.visibleElements.closeButton = false;
369
+ this._features.visibleElements.closeButton = this.showCloseBtn;
390
370
  this._features.visibleElements.heading = !this.isMobile;
391
371
  }
392
372
  }) : Promise.resolve();
@@ -686,6 +666,26 @@ export class InfoCard {
686
666
  "attribute": "position",
687
667
  "reflect": false,
688
668
  "defaultValue": "'absolute'"
669
+ },
670
+ "showCloseBtn": {
671
+ "type": "boolean",
672
+ "mutable": false,
673
+ "complexType": {
674
+ "original": "boolean",
675
+ "resolved": "boolean",
676
+ "references": {}
677
+ },
678
+ "required": false,
679
+ "optional": true,
680
+ "docs": {
681
+ "tags": [],
682
+ "text": "boolean: If true show close button on the feature info"
683
+ },
684
+ "getter": false,
685
+ "setter": false,
686
+ "attribute": "show-close-btn",
687
+ "reflect": false,
688
+ "defaultValue": "false"
689
689
  }
690
690
  };
691
691
  }
@@ -696,7 +696,8 @@ export class InfoCard {
696
696
  "_editRecordOpen": {},
697
697
  "_mobileTitle": {},
698
698
  "_showListView": {},
699
- "_translations": {}
699
+ "_translations": {},
700
+ "_navigatedToRelatedFeature": {}
700
701
  };
701
702
  }
702
703
  static get events() {
@@ -715,6 +716,21 @@ export class InfoCard {
715
716
  "resolved": "void",
716
717
  "references": {}
717
718
  }
719
+ }, {
720
+ "method": "clearSelection",
721
+ "name": "clearSelection",
722
+ "bubbles": true,
723
+ "cancelable": true,
724
+ "composed": true,
725
+ "docs": {
726
+ "tags": [],
727
+ "text": "Emitted on demand when close button is clicked"
728
+ },
729
+ "complexType": {
730
+ "original": "void",
731
+ "resolved": "void",
732
+ "references": {}
733
+ }
718
734
  }, {
719
735
  "method": "selectionChanged",
720
736
  "name": "selectionChanged",
@@ -55,6 +55,13 @@
55
55
  import { Host, h } from "@stencil/core";
56
56
  import { getLocaleComponentStrings } from "../../utils/locale";
57
57
  export class JsonEditor {
58
+ constructor() {
59
+ this.hasChanges = false;
60
+ this.hasErrors = false;
61
+ this.instanceid = "";
62
+ this.locale = undefined;
63
+ this.value = "";
64
+ }
58
65
  //--------------------------------------------------------------------------
59
66
  //
60
67
  // Host element access
@@ -63,34 +70,6 @@ export class JsonEditor {
63
70
  el;
64
71
  //--------------------------------------------------------------------------
65
72
  //
66
- // Properties (public)
67
- //
68
- //--------------------------------------------------------------------------
69
- /**
70
- * Contains a public value to indicate if the model has any changes.
71
- */
72
- hasChanges = false;
73
- /**
74
- * Contains a public value to indicate if the model has any errors
75
- * that would prevent saving it.
76
- */
77
- hasErrors = false;
78
- /**
79
- * Contains a unique identifier for when we have multiple instances of the editor.
80
- * For example when we want to show an item's data as well as an item's properties.
81
- */
82
- instanceid = "";
83
- /**
84
- * string: Locale to use for translation of stings in the UI
85
- */
86
- locale;
87
- /**
88
- * Contains the public value for this component; it is not changed by the editor.
89
- * When changed, the change overwrites the contents of the editor.
90
- */
91
- value = "";
92
- //--------------------------------------------------------------------------
93
- //
94
73
  // Watch handlers
95
74
  //
96
75
  //--------------------------------------------------------------------------
@@ -23,6 +23,18 @@ import { getAllLayers, getFeatureLayerView, getMapLayerHash } from "../../utils/
23
23
  import { getLocaleComponentStrings } from "../../utils/locale";
24
24
  import { formatNumber } from "../../utils/languageUtil";
25
25
  export class LayerList {
26
+ constructor() {
27
+ this.mapView = undefined;
28
+ this.layers = undefined;
29
+ this.locale = undefined;
30
+ this.showFeatureCount = true;
31
+ this.showNextIcon = false;
32
+ this.applyLayerViewFilter = false;
33
+ this._noLayersToDisplay = false;
34
+ this._mapLayerIds = [];
35
+ this._isLoading = false;
36
+ this._translations = undefined;
37
+ }
26
38
  //--------------------------------------------------------------------------
27
39
  //
28
40
  // Host element access
@@ -31,56 +43,6 @@ export class LayerList {
31
43
  el;
32
44
  //--------------------------------------------------------------------------
33
45
  //
34
- // Properties (public)
35
- //
36
- //--------------------------------------------------------------------------
37
- /**
38
- * esri/views/View: https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html
39
- */
40
- mapView;
41
- /**
42
- * string[]: If passed will show only these layers in the list if they are present in map and are editable
43
- */
44
- layers;
45
- /**
46
- * string: Locale to use for translation of stings in the UI
47
- */
48
- locale;
49
- /**
50
- * boolean: if true display's feature count for each layer
51
- */
52
- showFeatureCount = true;
53
- /**
54
- * boolean: If true display's arrow icon on each layer item
55
- */
56
- showNextIcon = false;
57
- /**
58
- * boolean: If true will consider the FeatureFilter applied on the layerview
59
- */
60
- applyLayerViewFilter = false;
61
- //--------------------------------------------------------------------------
62
- //
63
- // State (internal)
64
- //
65
- //--------------------------------------------------------------------------
66
- /**
67
- * boolean: When true will display message no layers found
68
- */
69
- _noLayersToDisplay = false;
70
- /**
71
- * string[]: list of layer ids from the map which will be listed
72
- */
73
- _mapLayerIds = [];
74
- /**
75
- * boolean: When true display the loading indicator
76
- */
77
- _isLoading = false;
78
- /**
79
- * Contains the translations for this component.
80
- */
81
- _translations;
82
- //--------------------------------------------------------------------------
83
- //
84
46
  // Properties (protected)
85
47
  //
86
48
  //--------------------------------------------------------------------------