@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
@@ -3,10 +3,10 @@
3
3
  * Licensed under the Apache License, Version 2.0
4
4
  * http://www.apache.org/licenses/LICENSE-2.0
5
5
  */
6
- import { r as registerInstance, c as createEvent, g as getElement, h, F as Fragment } from './index-3702583a.js';
7
- import { l as loadModules, g as getLocaleComponentStrings, f as formatNumber } from './locale-aa656a2c.js';
8
- import { b as getAllTables, d as getMapLayerHash, a as getAllLayers, c as getFeatureLayerView } from './mapViewUtils-a854e298.js';
9
- import './esri-loader-c6842c6b.js';
6
+ import { r as registerInstance, c as createEvent, g as getElement, h, F as Fragment } from './index-df5db8e9.js';
7
+ import { l as loadModules, g as getLocaleComponentStrings, f as formatNumber } from './locale-15e42305.js';
8
+ import { b as getAllTables, d as getMapLayerHash, a as getAllLayers, c as getFeatureLayerView } from './mapViewUtils-9da9be1c.js';
9
+ import './esri-loader-d10d860d.js';
10
10
  import './_commonjsHelpers-089957fe.js';
11
11
  import './interfaces-659e3836.js';
12
12
 
@@ -20,54 +20,18 @@ const CreateRelatedFeature = class {
20
20
  this.fail = createEvent(this, "fail", 7);
21
21
  this.isActionPending = createEvent(this, "isActionPending", 7);
22
22
  this.formReady = createEvent(this, "formReady", 7);
23
+ this.locale = undefined;
24
+ this.mapView = undefined;
25
+ this.table = undefined;
26
+ this.selectedFeature = undefined;
27
+ this.customizeSubmit = false;
28
+ this.showGuidingMsg = true;
29
+ this._editorLoading = false;
30
+ this._translations = undefined;
23
31
  }
24
32
  get el() { return getElement(this); }
25
33
  //--------------------------------------------------------------------------
26
34
  //
27
- // Properties (public)
28
- //
29
- //--------------------------------------------------------------------------
30
- /**
31
- * string: Locale to use for translation of stings in the UI
32
- */
33
- locale;
34
- /**
35
- * esri/views/MapView: https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html
36
- */
37
- mapView;
38
- /**
39
- * __esri.FeatureLayer: https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html
40
- */
41
- table;
42
- /**
43
- * __esri.Graphic: https://developers.arcgis.com/javascript/latest/api-reference/esri-Graphic.html
44
- */
45
- selectedFeature;
46
- /**
47
- * boolean: Set this to true when have a custom submit button in the app.
48
- * This will hide the header and footer elements of the editor and user needs to execute the submit method manually.
49
- */
50
- customizeSubmit = false;
51
- /**
52
- * boolean: When true the notice message should be shown
53
- */
54
- showGuidingMsg = true;
55
- //--------------------------------------------------------------------------
56
- //
57
- // State (internal)
58
- //
59
- //--------------------------------------------------------------------------
60
- /**
61
- * boolean: When true a loading indicator will be shown while the editor loads
62
- */
63
- _editorLoading = false;
64
- /**
65
- * Contains the translations for this component.
66
- * All UI strings should be defined here.
67
- */
68
- _translations;
69
- //--------------------------------------------------------------------------
70
- //
71
35
  // Properties (protected)
72
36
  //
73
37
  //--------------------------------------------------------------------------
@@ -405,84 +369,26 @@ const FeatureDetails = class {
405
369
  this.addComment = createEvent(this, "addComment", 7);
406
370
  this.likeOrDislikeClicked = createEvent(this, "likeOrDislikeClicked", 7);
407
371
  this.featureSelectionChange = createEvent(this, "featureSelectionChange", 7);
372
+ this.mapView = undefined;
373
+ this.graphics = undefined;
374
+ this.reportingOptions = undefined;
375
+ this.layerItemsHash = undefined;
376
+ this.locale = undefined;
377
+ this.showUserImageInCommentsList = false;
378
+ this.showFullCommentTitle = true;
379
+ this._likeFieldAvailable = false;
380
+ this._likeCount = 0;
381
+ this._disLikeCount = 0;
382
+ this._dislikeFieldAvailable = false;
383
+ this._commentsAvailable = false;
384
+ this._isLikeBtnClicked = false;
385
+ this._isDislikeBtnClicked = false;
386
+ this._relatedFeaturesOIDs = undefined;
387
+ this._updating = false;
408
388
  }
409
389
  get el() { return getElement(this); }
410
390
  //--------------------------------------------------------------------------
411
391
  //
412
- // Properties (public)
413
- //
414
- //--------------------------------------------------------------------------
415
- /**
416
- * esri/views/MapView: https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html
417
- */
418
- mapView;
419
- /**
420
- * esri/Graphic: https://developers.arcgis.com/javascript/latest/api-reference/esri-Graphic.html
421
- */
422
- graphics;
423
- /**
424
- * IReportingOptions: Key options for reporting
425
- */
426
- reportingOptions;
427
- /**
428
- * ILayerItemsHash: LayerDetailsHash for each layer in the map
429
- */
430
- layerItemsHash;
431
- /**
432
- * string: Locale to use for translation of stings in the UI
433
- */
434
- locale;
435
- /**
436
- * boolean: When true the profile image of the comment creator will be shown in the comments list
437
- */
438
- showUserImageInCommentsList = false;
439
- /**
440
- * boolean: When false comment will shown in single line in the comments list
441
- */
442
- showFullCommentTitle = true;
443
- //--------------------------------------------------------------------------
444
- //
445
- // State (internal)
446
- //
447
- //--------------------------------------------------------------------------
448
- /**
449
- * boolean: When true configured like field is available in selected layer
450
- */
451
- _likeFieldAvailable = false;
452
- /**
453
- * number: Increment the liked count for feature when like button is clicked
454
- */
455
- _likeCount = 0;
456
- /**
457
- * number: Decrement the disliked count for feature when dislike button is clicked
458
- */
459
- _disLikeCount = 0;
460
- /**
461
- * boolean: When true configured dislike field is available in selected layer
462
- */
463
- _dislikeFieldAvailable = false;
464
- /**
465
- * boolean: When true comments are configured and its table is available in selected layer
466
- */
467
- _commentsAvailable = false;
468
- /**
469
- * boolean: When true button will get brand color
470
- */
471
- _isLikeBtnClicked = false;
472
- /**
473
- * boolean: When true button will get brand color
474
- */
475
- _isDislikeBtnClicked = false;
476
- /**
477
- * string[]: objects ids of the related features (comments)
478
- */
479
- _relatedFeaturesOIDs;
480
- /**
481
- * boolean: When performing any operations set this to true (This will be used to show loading on like/dislike buttons)
482
- */
483
- _updating = false;
484
- //--------------------------------------------------------------------------
485
- //
486
392
  // Properties (protected)
487
393
  //
488
394
  //--------------------------------------------------------------------------
@@ -905,60 +811,20 @@ const LayerList = class {
905
811
  registerInstance(this, hostRef);
906
812
  this.layerSelect = createEvent(this, "layerSelect", 7);
907
813
  this.layersListLoaded = createEvent(this, "layersListLoaded", 7);
814
+ this.mapView = undefined;
815
+ this.layers = undefined;
816
+ this.locale = undefined;
817
+ this.showFeatureCount = true;
818
+ this.showNextIcon = false;
819
+ this.applyLayerViewFilter = false;
820
+ this._noLayersToDisplay = false;
821
+ this._mapLayerIds = [];
822
+ this._isLoading = false;
823
+ this._translations = undefined;
908
824
  }
909
825
  get el() { return getElement(this); }
910
826
  //--------------------------------------------------------------------------
911
827
  //
912
- // Properties (public)
913
- //
914
- //--------------------------------------------------------------------------
915
- /**
916
- * esri/views/View: https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html
917
- */
918
- mapView;
919
- /**
920
- * string[]: If passed will show only these layers in the list if they are present in map and are editable
921
- */
922
- layers;
923
- /**
924
- * string: Locale to use for translation of stings in the UI
925
- */
926
- locale;
927
- /**
928
- * boolean: if true display's feature count for each layer
929
- */
930
- showFeatureCount = true;
931
- /**
932
- * boolean: If true display's arrow icon on each layer item
933
- */
934
- showNextIcon = false;
935
- /**
936
- * boolean: If true will consider the FeatureFilter applied on the layerview
937
- */
938
- applyLayerViewFilter = false;
939
- //--------------------------------------------------------------------------
940
- //
941
- // State (internal)
942
- //
943
- //--------------------------------------------------------------------------
944
- /**
945
- * boolean: When true will display message no layers found
946
- */
947
- _noLayersToDisplay = false;
948
- /**
949
- * string[]: list of layer ids from the map which will be listed
950
- */
951
- _mapLayerIds = [];
952
- /**
953
- * boolean: When true display the loading indicator
954
- */
955
- _isLoading = false;
956
- /**
957
- * Contains the translations for this component.
958
- */
959
- _translations;
960
- //--------------------------------------------------------------------------
961
- //
962
828
  // Properties (protected)
963
829
  //
964
830
  //--------------------------------------------------------------------------
@@ -3,14 +3,14 @@
3
3
  * Licensed under the Apache License, Version 2.0
4
4
  * http://www.apache.org/licenses/LICENSE-2.0
5
5
  */
6
- import { r as registerInstance, c as createEvent, g as getElement, h, H as Host, F as Fragment } from './index-3702583a.js';
7
- import { g as getLocaleComponentStrings } from './locale-aa656a2c.js';
6
+ import { r as registerInstance, c as createEvent, g as getElement, h, H as Host, F as Fragment } from './index-df5db8e9.js';
7
+ import { g as getLocaleComponentStrings } from './locale-15e42305.js';
8
8
  import { E as ELayoutMode } from './interfaces-659e3836.js';
9
- import { g as getLayerOrTable } from './mapViewUtils-a854e298.js';
10
- import './esri-loader-c6842c6b.js';
9
+ import { g as getLayerOrTable } from './mapViewUtils-9da9be1c.js';
10
+ import './esri-loader-d10d860d.js';
11
11
  import './_commonjsHelpers-089957fe.js';
12
12
 
13
- const crowdsourceManagerCss = ":host{display:block;--calcite-label-margin-bottom:0px;--solutions-theme-foreground-color:var(--calcite-color-foreground-1)}.padding-1-2{padding:0.5rem}.display-flex{display:flex}.width-full{width:100%}.width-1-2{position:relative;width:50%}.width-1-3{position:relative;width:33.33%}.width-2-3{position:relative;width:66.66%}.width-0{width:0}.height-full{height:100%}.height-1-2{position:relative;height:50%}.height-0{height:0}.toggle-node{width:51px;height:51px}.overflow-hidden{overflow:hidden}.flex-column{flex-direction:column}.border{border:1px solid var(--calcite-color-border-3)}.border-bottom{border-bottom:1px solid var(--calcite-color-border-3)}.border-right{border-right:2px solid var(--calcite-color-border-3)}.border-sides{border-left:1px solid var(--calcite-color-border-3);border-right:1px solid var(--calcite-color-border-3)}.position-relative{position:relative}.position-absolute{position:absolute}.position-sticky{position:sticky}.height-50{height:50%}.top-51{top:51px}.adjusted-height-50{height:calc(50% - 25px)}.adjusted-height-100{height:calc(100% - 50px)}.adjusted-height-100-51{height:calc(100% - 51px)}.display-none{display:none !important}.adjusted-height-50_25{height:calc(50% + 25px)}.position-absolute-53{position:absolute;top:53px}.display-grid{display:grid}.height-50-px{height:50px}.padding-inline-start-75{padding-inline-start:0.75rem}.align-items-center{align-items:center}.esri-floor-filter__close-levels-button{width:40px !important;height:40px !important}.esri-floor-filter__level-button{width:40px !important;height:40px !important}.esri-floor-filter__browse-button{width:40px !important;height:40px !important}.position-absolute-50{position:absolute;top:50px;bottom:0px;left:0px;right:0px}.position-absolute-0{position:absolute;top:0px;bottom:0px;left:0px;right:0px}.visibility-hidden{visibility:hidden;height:0px}.position-fixed{position:fixed}.border-width-0{border-width:0px}.border-bottom-width-0{border-bottom-width:0px}.floating-container{position:fixed;width:100px;height:10px;bottom:0;right:0;margin:100px 0px}.floating-container .floating-button{box-shadow:0 10px 25px rgb(92 93 94 / 60%);transform:translatey(5px);transition:all 0.3s}.z-index-0{z-index:0 !important}.z-index-1{z-index:1 !important}.filter-content-space{--calcite-dialog-content-space:0px}";
13
+ const crowdsourceManagerCss = ":host{display:block;--calcite-label-margin-bottom:0px;--solutions-theme-foreground-color:var(--calcite-color-foreground-1)}.padding-1-2{padding:0.5rem}.display-flex{display:flex}.width-full{width:100%}.width-1-2{position:relative;width:50%}.width-1-3{position:relative;width:33.33%}.width-2-3{position:relative;width:66.66%}.width-0{width:0}.height-full{height:100%}.height-1-2{position:relative;height:50%}.height-0{height:0}.toggle-node{width:51px;height:51px}.overflow-hidden{overflow:hidden}.flex-column{flex-direction:column}.border{border:1px solid var(--calcite-color-border-3)}.border-bottom{border-bottom:1px solid var(--calcite-color-border-3)}.border-right{border-right:2px solid var(--calcite-color-border-3)}.border-sides{border-left:1px solid var(--calcite-color-border-3);border-right:1px solid var(--calcite-color-border-3)}.position-relative{position:relative}.position-absolute{position:absolute}.position-sticky{position:sticky}.height-50{height:50%}.top-51{top:51px}.adjusted-height-50{height:calc(50% - 25px)}.adjusted-height-100{height:calc(100% - 50px)}.adjusted-height-100-51{height:calc(100% - 51px)}.display-none{display:none !important}.adjusted-height-50_25{height:calc(50% + 25px)}.position-absolute-53{position:absolute;top:53px}.display-grid{display:grid}.height-50-px{height:50px}.padding-inline-start-75{padding-inline-start:0.75rem}.align-items-center{align-items:center}.esri-floor-filter__close-levels-button{width:40px !important;height:40px !important}.esri-floor-filter__level-button{width:40px !important;height:40px !important}.esri-floor-filter__browse-button{width:40px !important;height:40px !important}.position-absolute-50{position:absolute;top:50px;bottom:0px;left:0px;right:0px}.position-absolute-0{position:absolute;top:0px;bottom:0px;left:0px;right:0px}.visibility-hidden{visibility:hidden;height:0px}.position-fixed{position:fixed}.border-width-0{border-width:0px}.border-bottom-width-0{border-bottom-width:0px}.floating-container{position:fixed;width:100px;height:10px;bottom:0;right:0;margin:100px 0px}.floating-container .floating-button{box-shadow:0 10px 25px rgb(92 93 94 / 60%);transform:translatey(5px);transition:all 0.3s}.z-index-0{z-index:0 !important}.z-index-1{z-index:1 !important}.filter-content-space{--calcite-dialog-content-space:0px}.background-dark{background:var(--calcite-color-background)}.filter-extent-container{display:flex;justify-content:space-between;align-items:center;padding:10px 0}.filter-modal-buttons{display:flex;padding:12px;gap:10px}.filter-extent-message{align-items:center;display:flex;gap:5px}";
14
14
  const CrowdsourceManagerStyle0 = crowdsourceManagerCss;
15
15
 
16
16
  const CrowdsourceManager = class {
@@ -18,255 +18,67 @@ const CrowdsourceManager = class {
18
18
  registerInstance(this, hostRef);
19
19
  this.showIntroductionWindow = createEvent(this, "showIntroductionWindow", 7);
20
20
  this.showCoverPage = createEvent(this, "showCoverPage", 7);
21
+ this.appLayout = undefined;
22
+ this.appProxies = undefined;
23
+ this.basemapConfig = undefined;
24
+ this.coverPageEnabled = undefined;
25
+ this.customInfoText = undefined;
26
+ this.defaultAppLayout = undefined;
27
+ this.defaultCenter = "";
28
+ this.defaultGlobalId = "";
29
+ this.defaultLayer = "";
30
+ this.defaultLevel = "";
31
+ this.defaultOid = "";
32
+ this.defaultWebmap = "";
33
+ this.honorMapFieldSettings = false;
34
+ this.introductionWindowEnabled = false;
35
+ this.enableAutoRefresh = false;
36
+ this.enableBasemap = true;
37
+ this.enableColumnReorder = true;
38
+ this.enableCSV = true;
39
+ this.enableFloorFilter = true;
40
+ this.enableFullscreen = true;
41
+ this.enableHome = true;
42
+ this.enableLegend = true;
43
+ this.enableSearch = true;
44
+ this.enableShare = false;
45
+ this.enableZoom = true;
46
+ this.locale = undefined;
47
+ this.mapInfos = [];
48
+ this.onlyShowUpdatableLayers = true;
49
+ this.popupHeaderColor = undefined;
50
+ this.popupHeaderHoverColor = undefined;
51
+ this.popupHeaderHoverTextColor = undefined;
52
+ this.popupHeaderTextColor = undefined;
53
+ this.searchConfiguration = undefined;
54
+ this.shareIncludeEmbed = undefined;
55
+ this.shareIncludeSocial = undefined;
56
+ this.showNewestFirst = true;
57
+ this.theme = "light";
58
+ this.zoomAndScrollToSelected = false;
59
+ this.zoomToScale = undefined;
60
+ this._deleteDialogOpen = false;
61
+ this._enableCreateFeatures = true;
62
+ this._hideFooter = false;
63
+ this._hideTable = false;
64
+ this._isMobile = false;
65
+ this._isPortraitMobile = false;
66
+ this._translations = undefined;
67
+ this._layer = undefined;
68
+ this._layoutMode = ELayoutMode.GRID;
69
+ this._mapInfo = undefined;
70
+ this._mapView = undefined;
71
+ this._panelOpen = true;
72
+ this._numSelected = 0;
73
+ this._filterOpen = false;
74
+ this._showInformationHeader = true;
75
+ this._layerIds = undefined;
76
+ this._isLoading = true;
77
+ this._mapExtentFilterChecked = undefined;
21
78
  }
22
79
  get el() { return getElement(this); }
23
80
  //--------------------------------------------------------------------------
24
81
  //
25
- // Properties (public)
26
- //
27
- //--------------------------------------------------------------------------
28
- /**
29
- * AppLayout: The type of layout the application should use.
30
- * Valid values: "mapView" or "tableView" or "splitView"
31
- */
32
- appLayout;
33
- /**
34
- * Array of objects containing proxy information for premium platform services.
35
- */
36
- appProxies;
37
- /**
38
- * IBasemapConfig: List of any basemaps to filter out from the basemap widget
39
- */
40
- basemapConfig;
41
- /**
42
- * boolean: When true a cover page has been enabled in the consuming application.
43
- * Also when true a floating button will be shown in the lower right of the window that
44
- * will emit an event when clicked that the consuming application can respond to that will open the cover page.
45
- */
46
- coverPageEnabled;
47
- /**
48
- * string: custom notification text to display in the card manager
49
- */
50
- customInfoText;
51
- /**
52
- * string: default layout the application should use
53
- */
54
- defaultAppLayout;
55
- /**
56
- * string: default center point values for the map
57
- * ; delimited x;y pair
58
- */
59
- defaultCenter = "";
60
- /**
61
- * string: Global ID of the feature to select
62
- */
63
- defaultGlobalId = "";
64
- /**
65
- * string: when provided this layer ID will be used when the app loads
66
- */
67
- defaultLayer = "";
68
- /**
69
- * string: default zoom level
70
- */
71
- defaultLevel = "";
72
- /**
73
- * string: Object ID of feature to select
74
- */
75
- defaultOid = "";
76
- /**
77
- * string: Item ID of the web map that should be selected by default
78
- */
79
- defaultWebmap = "";
80
- /**
81
- * boolean: when true we will honor field order and visibility that may have been defined
82
- * in the map viewer if no field order is defined in the mapInfo.
83
- *
84
- * Field order defined in the mapInfo as would be the case for Instant App configurations
85
- * will always override this map level setting.
86
- */
87
- honorMapFieldSettings = false;
88
- /**
89
- * boolean: When true a introduction window has been enabled in the consuming application.
90
- * Also when true a floating button will be shown in the lower right of the window that
91
- * will emit an event when clicked that the consuming application can respond to that will open the introduction window.
92
- */
93
- introductionWindowEnabled = false;
94
- /**
95
- * boolean: when true the layer table will auto refresh the data
96
- */
97
- enableAutoRefresh = false;
98
- /**
99
- * boolean: when true the basemap widget will be available
100
- */
101
- enableBasemap = true;
102
- /**
103
- * boolean: when true the layer table will support drag/drop of columns to adjust order
104
- */
105
- enableColumnReorder = true;
106
- /**
107
- * boolean: when true the export to csv button will be available
108
- */
109
- enableCSV = true;
110
- /**
111
- * boolean: when true the fullscreen widget will be available
112
- */
113
- enableFloorFilter = true;
114
- /**
115
- * boolean: when true the fullscreen widget will be available
116
- */
117
- enableFullscreen = true;
118
- /**
119
- * boolean: when true the home widget will be available
120
- */
121
- enableHome = true;
122
- /**
123
- * boolean: when true the legend widget will be available
124
- */
125
- enableLegend = true;
126
- /**
127
- * boolean: when true the search widget will be available
128
- */
129
- enableSearch = true;
130
- /**
131
- * boolean: when true the share widget will be available
132
- */
133
- enableShare = false;
134
- /**
135
- * boolean: when true the zoom widget will be available
136
- */
137
- enableZoom = true;
138
- /**
139
- * string: Locale to use for translation of stings in the UI
140
- */
141
- locale;
142
- /**
143
- * IMapInfo[]: array of map infos (name and id)
144
- */
145
- mapInfos = [];
146
- /**
147
- * boolean: When true only editable layers that support the update capability will be available
148
- */
149
- onlyShowUpdatableLayers = true;
150
- /**
151
- * string: The background color to apply to the popup header
152
- */
153
- popupHeaderColor;
154
- /**
155
- * string: The color that will be displayed on hover when expanding the popup header
156
- */
157
- popupHeaderHoverColor;
158
- /**
159
- * string: The font color that will be displayed on hover when expanding the popup header
160
- */
161
- popupHeaderHoverTextColor;
162
- /**
163
- * string: The font color to apply to the popup header
164
- */
165
- popupHeaderTextColor;
166
- /**
167
- * ISearchConfiguration: Configuration details for the Search widget
168
- */
169
- searchConfiguration;
170
- /**
171
- * boolean: When true the share options will include embed option
172
- */
173
- shareIncludeEmbed;
174
- /**
175
- * boolean: When true the share options will include social media sharing
176
- */
177
- shareIncludeSocial;
178
- /**
179
- * boolean: when true the table will be sorted by objectid in descending order by default
180
- */
181
- showNewestFirst = true;
182
- /**
183
- * theme: "light" | "dark" theme to be used
184
- */
185
- theme = "light";
186
- /**
187
- * boolean: When true the selected feature will zoomed to in the map and the row will be scrolled to within the table
188
- */
189
- zoomAndScrollToSelected = false;
190
- /**
191
- * number: default scale to zoom to when zooming to a single point feature
192
- */
193
- zoomToScale;
194
- //--------------------------------------------------------------------------
195
- //
196
- // State (internal)
197
- //
198
- //--------------------------------------------------------------------------
199
- /**
200
- * boolean: When true the delete dialog will be shown
201
- */
202
- _deleteDialogOpen = false;
203
- /**
204
- * boolean: when true the users can have the option to create features
205
- */
206
- _enableCreateFeatures = true;
207
- /**
208
- * When true the mobile footer will be hidden
209
- */
210
- _hideFooter = false;
211
- /**
212
- * When true the table will be hidden
213
- */
214
- _hideTable = false;
215
- /**
216
- * When true the component will render an optimized view for mobile devices
217
- */
218
- _isMobile = false;
219
- /**
220
- * When true the component will render an optimized view for mobile devices
221
- */
222
- _isPortraitMobile = false;
223
- /**
224
- * Contains the translations for this component.
225
- * All UI strings should be defined here.
226
- */
227
- _translations;
228
- /**
229
- * esri/views/layers/FeatureLayer: https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html
230
- */
231
- _layer;
232
- /**
233
- * Controls the layout of the application
234
- */
235
- _layoutMode = ELayoutMode.GRID;
236
- /**
237
- * IMapInfo: The current map info stores configuration details
238
- */
239
- _mapInfo;
240
- /**
241
- * Stores the current map view
242
- */
243
- _mapView;
244
- /**
245
- * Controls the layout of the application
246
- */
247
- _panelOpen = true;
248
- /**
249
- * Number of selected features in the table
250
- */
251
- _numSelected = 0;
252
- /**
253
- * boolean: When true the filter component will be displayed
254
- */
255
- _filterOpen = false;
256
- /**
257
- * boolean: When true information header will be displayed
258
- */
259
- _showInformationHeader = true;
260
- /**
261
- * boolean: list of layer ids
262
- */
263
- _layerIds;
264
- /**
265
- * boolean: if true panel will be in loading state
266
- */
267
- _isLoading = true;
268
- //--------------------------------------------------------------------------
269
- //
270
82
  // Properties (protected)
271
83
  //
272
84
  //--------------------------------------------------------------------------
@@ -331,6 +143,8 @@ const CrowdsourceManager = class {
331
143
  */
332
144
  appLayoutWatchHandler(newAppLayout, oldAppLayout) {
333
145
  if (newAppLayout !== oldAppLayout) {
146
+ // eslint-disable-next-line @typescript-eslint/no-floating-promises
147
+ this._layerTable.validateTableUpdate(newAppLayout === 'splitView');
334
148
  this._setActiveLayout(newAppLayout);
335
149
  // update the layer if table selected while switching to map view
336
150
  if (this.appLayout === "mapView" && this._layer?.isTable) {
@@ -416,6 +230,7 @@ const CrowdsourceManager = class {
416
230
  }
417
231
  this._layer = layer;
418
232
  this._initLayerExpressions();
233
+ this._handleFilterListReset();
419
234
  this._isLoading = false;
420
235
  });
421
236
  }
@@ -452,7 +267,7 @@ const CrowdsourceManager = class {
452
267
  render() {
453
268
  // only avoid border when we have a header color that is not white
454
269
  const borderClass = this.popupHeaderColor && this.popupHeaderColor !== "#FFFFFF" ? "border-width-0" : "";
455
- return (h(Host, { key: '24b7324257b94560153db83dd6b29730bef8f38f' }, h("calcite-shell", { key: 'c7a445ffdf9fa59c7bd1aff125a77e811f6ce736', class: "position-relative" }, h("calcite-panel", { key: '81598a858cfbdfcb6346bc3efa6eb55699d2c5ff', class: `width-full height-full ${borderClass}`, loading: this._isLoading }, this._getBody(this._layoutMode, this._panelOpen, this._hideTable)), this._getFooter()), this._filterModal(), this._deleteModal()));
270
+ return (h(Host, { key: 'ae34199751802f20ad97e947a54a123e86c6449c' }, h("calcite-shell", { key: 'cec5041ec6e1683e38a714694a3a6d097f268ec8', class: "position-relative" }, h("calcite-panel", { key: 'feca859563d97e7b536aff264a64480c769ee1c0', class: `width-full height-full ${borderClass}`, loading: this._isLoading }, this._getBody(this._layoutMode, this._panelOpen, this._hideTable)), this._getFooter()), this._filterModal(), this._deleteModal()));
456
271
  }
457
272
  /**
458
273
  * Called after each render
@@ -733,6 +548,20 @@ const CrowdsourceManager = class {
733
548
  _deleteModal() {
734
549
  return (h("delete-dialog", { id: "deleteDialogId", ids: this._deleteIds, layer: this._layer, locale: this.locale, onDeleteDialogClose: () => this._deleteDialogOpen = false, open: this._deleteDialogOpen }));
735
550
  }
551
+ /**
552
+ * Shows the map extent filter
553
+ * @returns map extent filter
554
+ * @protected
555
+ */
556
+ _mapExtentFilter() {
557
+ const showButtons = this._layerExpressions?.length === 0;
558
+ return (h("calcite-panel", null, h("div", null, h("calcite-block", { class: this.theme === "dark" ? "background-dark" : "", heading: '', "menu-placement": 'bottom-end', open: true }, h("div", { class: "filter-extent-container" }, h("div", { class: "filter-extent-message" }, h("span", null, this._translations.filterByExtentMsg, " "), h("calcite-icon", { icon: "information", id: "filter-message-info", scale: "s" }), h("calcite-tooltip", { overlayPositioning: "fixed", placement: "top", "reference-element": "filter-message-info" }, this._translations.filterByExtentTooltipMsg)), h("calcite-switch", { checked: this._mapExtentFilterChecked, onCalciteSwitchChange: (e) => {
559
+ const active = e.target.checked || this._filterList?.filterCount > 0;
560
+ void this._layerTable.filterUpdate(active, e.target.checked);
561
+ this._mapExtentFilterChecked = e.target.checked;
562
+ }, scale: "m" }))), showButtons &&
563
+ h("div", { class: "filter-modal-buttons", slot: "footer" }, h("calcite-button", { appearance: "outline", onClick: this._handleFilterListReset.bind(this), width: "full" }, this._translations.Resetfilter), h("calcite-button", { onClick: this._closeFilter.bind(this), width: "full" }, this._translations.close)))));
564
+ }
736
565
  /**
737
566
  * Show filter component in modal
738
567
  *
@@ -740,10 +569,12 @@ const CrowdsourceManager = class {
740
569
  * @protected
741
570
  */
742
571
  _filterModal() {
743
- return (h("calcite-dialog", { class: "filter-content-space", heading: this._translations?.filter?.replace("{{title}}", this._layer?.title), id: "solutions-filter-dialog", kind: "brand", modal: true, onCalciteDialogClose: () => void this._closeFilter(), open: this._filterOpen, widthScale: "s" }, h("instant-apps-filter-list", { autoUpdateUrl: false, closeBtn: true, closeBtnOnClick: () => void this._closeFilter(), comboboxOverlayPositioning: "fixed", layerExpressions: this._layerExpressions, onFilterListReset: () => {
744
- this._handleFilterListReset();
745
- void this._mapCard.resetFilter();
746
- }, onFilterUpdate: () => void this._updateFilter(), ref: (el) => this._filterList = el, view: this._mapView, zoomBtn: false })));
572
+ const showFilterModal = this._layerExpressions?.length > 0;
573
+ return (h("calcite-dialog", { class: "filter-content-space", heading: this._translations?.filter?.replace("{{title}}", this._layer?.title), id: "solutions-filter-dialog", kind: "brand", modal: true, onCalciteDialogClose: () => void this._closeFilter(), open: this._filterOpen, widthScale: "s" }, this._mapExtentFilter(), showFilterModal && h("instant-apps-filter-list", { autoUpdateUrl: false, closeBtn: true, closeBtnOnClick: async () => this._closeFilter(), comboboxOverlayPositioning: "fixed", layerExpressions: this._layerExpressions, onFilterListReset: this._handleFilterListReset.bind(this), onFilterUpdate: async () => {
574
+ const active = this._filterList.filterCount > 0 || this._mapExtentFilterChecked;
575
+ await this._layerTable?.filterUpdate(active);
576
+ await this._mapCard.updateFilterState(active);
577
+ }, ref: (el) => this._filterList = el, view: this._mapView, zoomBtn: false })));
747
578
  }
748
579
  /**
749
580
  * Store any filters for the current layer.
@@ -754,7 +585,6 @@ const CrowdsourceManager = class {
754
585
  _initLayerExpressions() {
755
586
  const layerExpressions = this._mapInfo?.filterConfig?.layerExpressions;
756
587
  this._layerExpressions = layerExpressions ? layerExpressions.filter((exp) => exp.id === this._layer?.id) : [];
757
- this._filterList.layerExpressions = this._layerExpressions;
758
588
  this._layerExpressions.filter(lyrExp => {
759
589
  return lyrExp.expressions.filter(exp => exp.active).length > 0;
760
590
  }).length > 0;
@@ -768,11 +598,13 @@ const CrowdsourceManager = class {
768
598
  this._filterOpen = !this._filterOpen;
769
599
  }
770
600
  /**
771
- * Reset the filter active prop
601
+ * Reset the applied filters
772
602
  *
773
603
  * @protected
774
604
  */
775
605
  _handleFilterListReset() {
606
+ this._mapExtentFilterChecked = false;
607
+ void this._mapCard.resetFilter();
776
608
  void this._layerTable.filterReset();
777
609
  }
778
610
  /**
@@ -786,16 +618,6 @@ const CrowdsourceManager = class {
786
618
  void this._layerTable.closeFilter();
787
619
  }
788
620
  }
789
- /**
790
- * Update the filter state
791
- *
792
- * @protected
793
- */
794
- async _updateFilter() {
795
- const active = this._filterList.filterCount > 0;
796
- await this._layerTable?.filterUpdate(active);
797
- await this._mapCard.updateFilterState(active);
798
- }
799
621
  /**
800
622
  * Update the component layout when its size changes
801
623
  *