@esri/solutions-components 0.11.16 → 0.11.17

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 (643) hide show
  1. package/dist/cjs/{asyncToGenerator-ccb3278b.js → asyncToGenerator-c7fc3ee4.js} +1 -1
  2. package/dist/cjs/basemap-gallery_7.cjs.entry.js +3 -3
  3. package/dist/cjs/buffer-tools_2.cjs.entry.js +5 -5
  4. package/dist/cjs/card-manager_3.cjs.entry.js +19 -11
  5. package/dist/cjs/consent-manager.cjs.entry.js +5 -5
  6. package/dist/cjs/create-feature_4.cjs.entry.js +7 -7
  7. package/dist/cjs/create-related-feature_3.cjs.entry.js +4 -4
  8. package/dist/cjs/crowdsource-manager.cjs.entry.js +16 -10
  9. package/dist/cjs/crowdsource-reporter.cjs.entry.js +5 -5
  10. package/dist/cjs/deduct-calculator.cjs.entry.js +1 -1
  11. package/dist/cjs/delete-dialog.cjs.entry.js +3 -3
  12. package/dist/cjs/{downloadUtils-9de366bc.js → downloadUtils-88ec0e88.js} +5 -5
  13. package/dist/cjs/{effects-78c31457.js → effects-3607d1ba.js} +1 -1
  14. package/dist/cjs/feature-list.cjs.entry.js +7 -7
  15. package/dist/cjs/{helpers-67a2c953.js → helpers-a65cb83a.js} +3 -3
  16. package/dist/cjs/{index-b936ec03.js → index-2c21082d.js} +24 -17
  17. package/dist/cjs/{index-b2821254.js → index-90ef3c01.js} +1 -1
  18. package/dist/cjs/{index.es-0441a948.js → index.es-3c2404c3.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 +5 -5
  45. package/dist/cjs/{languageSwitcher-e2118cc6.js → languageSwitcher-19a22439.js} +1 -1
  46. package/dist/cjs/{languageUtil-f22ce913.js → languageUtil-a3e1eafd.js} +1 -1
  47. package/dist/cjs/{loadModules-accd5295.js → loadModules-e9d8977c.js} +1 -1
  48. package/dist/cjs/loader.cjs.js +1 -1
  49. package/dist/cjs/{locale-e2a974ae.js → locale-0a273172.js} +3 -3
  50. package/dist/cjs/{locale-8017d061.js → locale-c09e93fb.js} +2 -2
  51. package/dist/cjs/map-layer-picker.cjs.entry.js +6 -6
  52. package/dist/cjs/map-select-tools_3.cjs.entry.js +8 -8
  53. package/dist/cjs/{mapViewUtils-18c46b84.js → mapViewUtils-319df9ec.js} +1 -1
  54. package/dist/cjs/pci-calculator.cjs.entry.js +1 -1
  55. package/dist/cjs/{popupUtils-3b069427.js → popupUtils-ca1127aa.js} +2 -2
  56. package/dist/cjs/public-notification.cjs.entry.js +8 -8
  57. package/dist/cjs/{publicNotificationStore-76755c44.js → publicNotificationStore-ee00411f.js} +1 -1
  58. package/dist/cjs/solution-configuration.cjs.entry.js +5 -5
  59. package/dist/cjs/solution-contents_3.cjs.entry.js +5 -5
  60. package/dist/cjs/solution-item-accordion.cjs.entry.js +6 -5
  61. package/dist/cjs/solution-item-icon.cjs.entry.js +1 -1
  62. package/dist/cjs/{solution-store-a2a8422d.js → solution-store-6208ce28.js} +1 -1
  63. package/dist/cjs/solutions-components.cjs.js +2 -2
  64. package/dist/cjs/spatial-ref.cjs.entry.js +3 -3
  65. package/dist/cjs/store-manager.cjs.entry.js +3 -3
  66. package/dist/cjs/{utils-0f287cfa.js → utils-30344ce0.js} +2 -2
  67. package/dist/collection/assets/t9n/consent-manager/resources_ar.json +5 -0
  68. package/dist/collection/assets/t9n/consent-manager/resources_bg.json +5 -0
  69. package/dist/collection/assets/t9n/consent-manager/resources_bs.json +5 -0
  70. package/dist/collection/assets/t9n/consent-manager/resources_ca.json +5 -0
  71. package/dist/collection/assets/t9n/consent-manager/resources_cs.json +5 -0
  72. package/dist/collection/assets/t9n/consent-manager/resources_da.json +5 -0
  73. package/dist/collection/assets/t9n/consent-manager/resources_de.json +5 -0
  74. package/dist/collection/assets/t9n/consent-manager/resources_el.json +5 -0
  75. package/dist/collection/assets/t9n/consent-manager/resources_es.json +5 -0
  76. package/dist/collection/assets/t9n/consent-manager/resources_et.json +5 -0
  77. package/dist/collection/assets/t9n/consent-manager/resources_fi.json +5 -0
  78. package/dist/collection/assets/t9n/consent-manager/resources_fr.json +5 -0
  79. package/dist/collection/assets/t9n/consent-manager/resources_he.json +5 -0
  80. package/dist/collection/assets/t9n/consent-manager/resources_hr.json +5 -0
  81. package/dist/collection/assets/t9n/consent-manager/resources_hu.json +5 -0
  82. package/dist/collection/assets/t9n/consent-manager/resources_id.json +5 -0
  83. package/dist/collection/assets/t9n/consent-manager/resources_it.json +5 -0
  84. package/dist/collection/assets/t9n/consent-manager/resources_ja.json +5 -0
  85. package/dist/collection/assets/t9n/consent-manager/resources_ko.json +5 -0
  86. package/dist/collection/assets/t9n/consent-manager/resources_lt.json +5 -0
  87. package/dist/collection/assets/t9n/consent-manager/resources_lv.json +5 -0
  88. package/dist/collection/assets/t9n/consent-manager/resources_nb.json +5 -0
  89. package/dist/collection/assets/t9n/consent-manager/resources_nl.json +5 -0
  90. package/dist/collection/assets/t9n/consent-manager/resources_pl.json +5 -0
  91. package/dist/collection/assets/t9n/consent-manager/resources_pt-BR.json +5 -0
  92. package/dist/collection/assets/t9n/consent-manager/resources_pt-PT.json +5 -0
  93. package/dist/collection/assets/t9n/consent-manager/resources_ro.json +5 -0
  94. package/dist/collection/assets/t9n/consent-manager/resources_ru.json +5 -0
  95. package/dist/collection/assets/t9n/consent-manager/resources_sk.json +5 -0
  96. package/dist/collection/assets/t9n/consent-manager/resources_sl.json +5 -0
  97. package/dist/collection/assets/t9n/consent-manager/resources_sr.json +5 -0
  98. package/dist/collection/assets/t9n/consent-manager/resources_sv.json +5 -0
  99. package/dist/collection/assets/t9n/consent-manager/resources_th.json +5 -0
  100. package/dist/collection/assets/t9n/consent-manager/resources_tr.json +5 -0
  101. package/dist/collection/assets/t9n/consent-manager/resources_uk.json +5 -0
  102. package/dist/collection/assets/t9n/consent-manager/resources_vi.json +5 -0
  103. package/dist/collection/assets/t9n/consent-manager/resources_zh-CN.json +5 -0
  104. package/dist/collection/assets/t9n/consent-manager/resources_zh-HK.json +5 -0
  105. package/dist/collection/assets/t9n/consent-manager/resources_zh-TW.json +5 -0
  106. package/dist/collection/assets/t9n/create-feature/resources_pt-BR.json +1 -1
  107. package/dist/collection/assets/t9n/crowdsource-reporter/resources.json +3 -1
  108. package/dist/collection/assets/t9n/crowdsource-reporter/resources_ar.json +2 -1
  109. package/dist/collection/assets/t9n/crowdsource-reporter/resources_bg.json +2 -1
  110. package/dist/collection/assets/t9n/crowdsource-reporter/resources_bs.json +2 -1
  111. package/dist/collection/assets/t9n/crowdsource-reporter/resources_ca.json +2 -1
  112. package/dist/collection/assets/t9n/crowdsource-reporter/resources_cs.json +2 -1
  113. package/dist/collection/assets/t9n/crowdsource-reporter/resources_da.json +2 -1
  114. package/dist/collection/assets/t9n/crowdsource-reporter/resources_de.json +2 -1
  115. package/dist/collection/assets/t9n/crowdsource-reporter/resources_el.json +2 -1
  116. package/dist/collection/assets/t9n/crowdsource-reporter/resources_en.json +3 -1
  117. package/dist/collection/assets/t9n/crowdsource-reporter/resources_es.json +2 -1
  118. package/dist/collection/assets/t9n/crowdsource-reporter/resources_et.json +2 -1
  119. package/dist/collection/assets/t9n/crowdsource-reporter/resources_fi.json +2 -1
  120. package/dist/collection/assets/t9n/crowdsource-reporter/resources_fr.json +2 -1
  121. package/dist/collection/assets/t9n/crowdsource-reporter/resources_he.json +2 -1
  122. package/dist/collection/assets/t9n/crowdsource-reporter/resources_hr.json +2 -1
  123. package/dist/collection/assets/t9n/crowdsource-reporter/resources_hu.json +2 -1
  124. package/dist/collection/assets/t9n/crowdsource-reporter/resources_id.json +2 -1
  125. package/dist/collection/assets/t9n/crowdsource-reporter/resources_it.json +2 -1
  126. package/dist/collection/assets/t9n/crowdsource-reporter/resources_ja.json +2 -1
  127. package/dist/collection/assets/t9n/crowdsource-reporter/resources_ko.json +2 -1
  128. package/dist/collection/assets/t9n/crowdsource-reporter/resources_lt.json +2 -1
  129. package/dist/collection/assets/t9n/crowdsource-reporter/resources_lv.json +2 -1
  130. package/dist/collection/assets/t9n/crowdsource-reporter/resources_nb.json +2 -1
  131. package/dist/collection/assets/t9n/crowdsource-reporter/resources_nl.json +2 -1
  132. package/dist/collection/assets/t9n/crowdsource-reporter/resources_pl.json +2 -1
  133. package/dist/collection/assets/t9n/crowdsource-reporter/resources_pt-BR.json +2 -1
  134. package/dist/collection/assets/t9n/crowdsource-reporter/resources_pt-PT.json +2 -1
  135. package/dist/collection/assets/t9n/crowdsource-reporter/resources_ro.json +2 -1
  136. package/dist/collection/assets/t9n/crowdsource-reporter/resources_ru.json +2 -1
  137. package/dist/collection/assets/t9n/crowdsource-reporter/resources_sk.json +2 -1
  138. package/dist/collection/assets/t9n/crowdsource-reporter/resources_sl.json +2 -1
  139. package/dist/collection/assets/t9n/crowdsource-reporter/resources_sr.json +2 -1
  140. package/dist/collection/assets/t9n/crowdsource-reporter/resources_sv.json +2 -1
  141. package/dist/collection/assets/t9n/crowdsource-reporter/resources_th.json +2 -1
  142. package/dist/collection/assets/t9n/crowdsource-reporter/resources_tr.json +2 -1
  143. package/dist/collection/assets/t9n/crowdsource-reporter/resources_uk.json +2 -1
  144. package/dist/collection/assets/t9n/crowdsource-reporter/resources_vi.json +2 -1
  145. package/dist/collection/assets/t9n/crowdsource-reporter/resources_zh-CN.json +2 -1
  146. package/dist/collection/assets/t9n/crowdsource-reporter/resources_zh-HK.json +2 -1
  147. package/dist/collection/assets/t9n/crowdsource-reporter/resources_zh-TW.json +2 -1
  148. package/dist/collection/assets/t9n/edit-card/resources_fr.json +1 -1
  149. package/dist/collection/assets/t9n/feature-list/resources_ar.json +3 -1
  150. package/dist/collection/assets/t9n/feature-list/resources_bg.json +3 -1
  151. package/dist/collection/assets/t9n/feature-list/resources_bs.json +3 -1
  152. package/dist/collection/assets/t9n/feature-list/resources_ca.json +3 -1
  153. package/dist/collection/assets/t9n/feature-list/resources_cs.json +3 -1
  154. package/dist/collection/assets/t9n/feature-list/resources_da.json +3 -1
  155. package/dist/collection/assets/t9n/feature-list/resources_de.json +3 -1
  156. package/dist/collection/assets/t9n/feature-list/resources_el.json +3 -1
  157. package/dist/collection/assets/t9n/feature-list/resources_es.json +3 -1
  158. package/dist/collection/assets/t9n/feature-list/resources_et.json +3 -1
  159. package/dist/collection/assets/t9n/feature-list/resources_fi.json +3 -1
  160. package/dist/collection/assets/t9n/feature-list/resources_fr.json +3 -1
  161. package/dist/collection/assets/t9n/feature-list/resources_he.json +3 -1
  162. package/dist/collection/assets/t9n/feature-list/resources_hr.json +3 -1
  163. package/dist/collection/assets/t9n/feature-list/resources_hu.json +3 -1
  164. package/dist/collection/assets/t9n/feature-list/resources_id.json +3 -1
  165. package/dist/collection/assets/t9n/feature-list/resources_it.json +3 -1
  166. package/dist/collection/assets/t9n/feature-list/resources_ja.json +3 -1
  167. package/dist/collection/assets/t9n/feature-list/resources_ko.json +3 -1
  168. package/dist/collection/assets/t9n/feature-list/resources_lt.json +3 -1
  169. package/dist/collection/assets/t9n/feature-list/resources_lv.json +3 -1
  170. package/dist/collection/assets/t9n/feature-list/resources_nb.json +3 -1
  171. package/dist/collection/assets/t9n/feature-list/resources_nl.json +3 -1
  172. package/dist/collection/assets/t9n/feature-list/resources_pl.json +3 -1
  173. package/dist/collection/assets/t9n/feature-list/resources_pt-BR.json +3 -1
  174. package/dist/collection/assets/t9n/feature-list/resources_pt-PT.json +3 -1
  175. package/dist/collection/assets/t9n/feature-list/resources_ro.json +3 -1
  176. package/dist/collection/assets/t9n/feature-list/resources_ru.json +3 -1
  177. package/dist/collection/assets/t9n/feature-list/resources_sk.json +3 -1
  178. package/dist/collection/assets/t9n/feature-list/resources_sl.json +3 -1
  179. package/dist/collection/assets/t9n/feature-list/resources_sr.json +3 -1
  180. package/dist/collection/assets/t9n/feature-list/resources_sv.json +3 -1
  181. package/dist/collection/assets/t9n/feature-list/resources_th.json +3 -1
  182. package/dist/collection/assets/t9n/feature-list/resources_tr.json +3 -1
  183. package/dist/collection/assets/t9n/feature-list/resources_uk.json +3 -1
  184. package/dist/collection/assets/t9n/feature-list/resources_vi.json +3 -1
  185. package/dist/collection/assets/t9n/feature-list/resources_zh-CN.json +3 -1
  186. package/dist/collection/assets/t9n/feature-list/resources_zh-HK.json +3 -1
  187. package/dist/collection/assets/t9n/feature-list/resources_zh-TW.json +3 -1
  188. package/dist/collection/assets/t9n/info-card/resources_et.json +1 -1
  189. package/dist/collection/assets/t9n/info-card/resources_ko.json +1 -1
  190. package/dist/collection/assets/t9n/info-card/resources_pt-PT.json +1 -1
  191. package/dist/collection/assets/t9n/info-card/resources_ru.json +1 -1
  192. package/dist/collection/assets/t9n/info-card/resources_sk.json +1 -1
  193. package/dist/collection/assets/t9n/info-card/resources_vi.json +1 -1
  194. package/dist/collection/assets/t9n/info-card/resources_zh-CN.json +1 -1
  195. package/dist/collection/assets/t9n/map-card/resources_ar.json +1 -1
  196. package/dist/collection/assets/t9n/map-card/resources_bg.json +1 -1
  197. package/dist/collection/assets/t9n/map-card/resources_bs.json +1 -1
  198. package/dist/collection/assets/t9n/map-card/resources_ca.json +1 -1
  199. package/dist/collection/assets/t9n/map-card/resources_cs.json +1 -1
  200. package/dist/collection/assets/t9n/map-card/resources_da.json +1 -1
  201. package/dist/collection/assets/t9n/map-card/resources_de.json +1 -1
  202. package/dist/collection/assets/t9n/map-card/resources_el.json +1 -1
  203. package/dist/collection/assets/t9n/map-card/resources_es.json +1 -1
  204. package/dist/collection/assets/t9n/map-card/resources_et.json +1 -1
  205. package/dist/collection/assets/t9n/map-card/resources_fi.json +1 -1
  206. package/dist/collection/assets/t9n/map-card/resources_fr.json +1 -1
  207. package/dist/collection/assets/t9n/map-card/resources_he.json +1 -1
  208. package/dist/collection/assets/t9n/map-card/resources_hr.json +1 -1
  209. package/dist/collection/assets/t9n/map-card/resources_hu.json +1 -1
  210. package/dist/collection/assets/t9n/map-card/resources_id.json +1 -1
  211. package/dist/collection/assets/t9n/map-card/resources_it.json +1 -1
  212. package/dist/collection/assets/t9n/map-card/resources_ja.json +1 -1
  213. package/dist/collection/assets/t9n/map-card/resources_ko.json +1 -1
  214. package/dist/collection/assets/t9n/map-card/resources_lt.json +1 -1
  215. package/dist/collection/assets/t9n/map-card/resources_lv.json +1 -1
  216. package/dist/collection/assets/t9n/map-card/resources_nb.json +1 -1
  217. package/dist/collection/assets/t9n/map-card/resources_nl.json +1 -1
  218. package/dist/collection/assets/t9n/map-card/resources_pl.json +1 -1
  219. package/dist/collection/assets/t9n/map-card/resources_pt-BR.json +1 -1
  220. package/dist/collection/assets/t9n/map-card/resources_pt-PT.json +1 -1
  221. package/dist/collection/assets/t9n/map-card/resources_ro.json +1 -1
  222. package/dist/collection/assets/t9n/map-card/resources_ru.json +1 -1
  223. package/dist/collection/assets/t9n/map-card/resources_sk.json +1 -1
  224. package/dist/collection/assets/t9n/map-card/resources_sl.json +1 -1
  225. package/dist/collection/assets/t9n/map-card/resources_sr.json +1 -1
  226. package/dist/collection/assets/t9n/map-card/resources_sv.json +1 -1
  227. package/dist/collection/assets/t9n/map-card/resources_th.json +1 -1
  228. package/dist/collection/assets/t9n/map-card/resources_tr.json +1 -1
  229. package/dist/collection/assets/t9n/map-card/resources_uk.json +1 -1
  230. package/dist/collection/assets/t9n/map-card/resources_vi.json +1 -1
  231. package/dist/collection/assets/t9n/map-card/resources_zh-CN.json +1 -1
  232. package/dist/collection/assets/t9n/map-card/resources_zh-HK.json +1 -1
  233. package/dist/collection/assets/t9n/map-card/resources_zh-TW.json +1 -1
  234. package/dist/collection/assets/t9n/map-select-tools/resources_zh-HK.json +1 -1
  235. package/dist/collection/assets/t9n/map-select-tools/resources_zh-TW.json +1 -1
  236. package/dist/collection/assets/t9n/solution-item-accordion/resources_ar.json +3 -0
  237. package/dist/collection/assets/t9n/solution-item-accordion/resources_bg.json +3 -0
  238. package/dist/collection/assets/t9n/solution-item-accordion/resources_bs.json +3 -0
  239. package/dist/collection/assets/t9n/solution-item-accordion/resources_ca.json +3 -0
  240. package/dist/collection/assets/t9n/solution-item-accordion/resources_cs.json +3 -0
  241. package/dist/collection/assets/t9n/solution-item-accordion/resources_da.json +3 -0
  242. package/dist/collection/assets/t9n/solution-item-accordion/resources_de.json +3 -0
  243. package/dist/collection/assets/t9n/solution-item-accordion/resources_el.json +3 -0
  244. package/dist/collection/assets/t9n/solution-item-accordion/resources_es.json +3 -0
  245. package/dist/collection/assets/t9n/solution-item-accordion/resources_et.json +3 -0
  246. package/dist/collection/assets/t9n/solution-item-accordion/resources_fi.json +3 -0
  247. package/dist/collection/assets/t9n/solution-item-accordion/resources_fr.json +3 -0
  248. package/dist/collection/assets/t9n/solution-item-accordion/resources_he.json +3 -0
  249. package/dist/collection/assets/t9n/solution-item-accordion/resources_hr.json +3 -0
  250. package/dist/collection/assets/t9n/solution-item-accordion/resources_hu.json +3 -0
  251. package/dist/collection/assets/t9n/solution-item-accordion/resources_id.json +3 -0
  252. package/dist/collection/assets/t9n/solution-item-accordion/resources_it.json +3 -0
  253. package/dist/collection/assets/t9n/solution-item-accordion/resources_ja.json +3 -0
  254. package/dist/collection/assets/t9n/solution-item-accordion/resources_ko.json +3 -0
  255. package/dist/collection/assets/t9n/solution-item-accordion/resources_lt.json +3 -0
  256. package/dist/collection/assets/t9n/solution-item-accordion/resources_lv.json +3 -0
  257. package/dist/collection/assets/t9n/solution-item-accordion/resources_nb.json +3 -0
  258. package/dist/collection/assets/t9n/solution-item-accordion/resources_nl.json +3 -0
  259. package/dist/collection/assets/t9n/solution-item-accordion/resources_pl.json +3 -0
  260. package/dist/collection/assets/t9n/solution-item-accordion/resources_pt-BR.json +3 -0
  261. package/dist/collection/assets/t9n/solution-item-accordion/resources_pt-PT.json +3 -0
  262. package/dist/collection/assets/t9n/solution-item-accordion/resources_ro.json +3 -0
  263. package/dist/collection/assets/t9n/solution-item-accordion/resources_ru.json +3 -0
  264. package/dist/collection/assets/t9n/solution-item-accordion/resources_sk.json +3 -0
  265. package/dist/collection/assets/t9n/solution-item-accordion/resources_sl.json +3 -0
  266. package/dist/collection/assets/t9n/solution-item-accordion/resources_sr.json +3 -0
  267. package/dist/collection/assets/t9n/solution-item-accordion/resources_sv.json +3 -0
  268. package/dist/collection/assets/t9n/solution-item-accordion/resources_th.json +3 -0
  269. package/dist/collection/assets/t9n/solution-item-accordion/resources_tr.json +3 -0
  270. package/dist/collection/assets/t9n/solution-item-accordion/resources_uk.json +3 -0
  271. package/dist/collection/assets/t9n/solution-item-accordion/resources_vi.json +3 -0
  272. package/dist/collection/assets/t9n/solution-item-accordion/resources_zh-CN.json +3 -0
  273. package/dist/collection/assets/t9n/solution-item-accordion/resources_zh-HK.json +3 -0
  274. package/dist/collection/assets/t9n/solution-item-accordion/resources_zh-TW.json +3 -0
  275. package/dist/collection/collection-manifest.json +1 -1
  276. package/dist/collection/components/crowdsource-manager/crowdsource-manager.js +12 -6
  277. package/dist/collection/components/crowdsource-reporter/crowdsource-reporter.js +1 -1
  278. package/dist/collection/components/layer-table/layer-table.js +13 -5
  279. package/dist/collection/components/solution-item-accordion/solution-item-accordion.js +8 -3
  280. package/dist/collection/demos/crowdsource-manager.html +1 -0
  281. package/dist/collection/utils/mapViewUtils.js +1 -1
  282. package/dist/collection/utils/mapViewUtils.ts +1 -1
  283. package/dist/components/crowdsource-manager.js +12 -6
  284. package/dist/components/crowdsource-reporter.js +1 -1
  285. package/dist/components/layer-table2.js +13 -5
  286. package/dist/components/mapViewUtils.js +1 -1
  287. package/dist/components/solution-item-accordion.js +3 -2
  288. package/dist/esm/{asyncToGenerator-48cd21fe.js → asyncToGenerator-96b2368d.js} +1 -1
  289. package/dist/esm/basemap-gallery_7.entry.js +3 -3
  290. package/dist/esm/buffer-tools_2.entry.js +5 -5
  291. package/dist/esm/card-manager_3.entry.js +19 -11
  292. package/dist/esm/consent-manager.entry.js +5 -5
  293. package/dist/esm/create-feature_4.entry.js +7 -7
  294. package/dist/esm/create-related-feature_3.entry.js +4 -4
  295. package/dist/esm/crowdsource-manager.entry.js +16 -10
  296. package/dist/esm/crowdsource-reporter.entry.js +5 -5
  297. package/dist/esm/deduct-calculator.entry.js +1 -1
  298. package/dist/esm/delete-dialog.entry.js +3 -3
  299. package/dist/esm/{downloadUtils-992b4e25.js → downloadUtils-22a8f2d8.js} +5 -5
  300. package/dist/esm/{effects-45daffc6.js → effects-38bc1195.js} +1 -1
  301. package/dist/esm/feature-list.entry.js +7 -7
  302. package/dist/esm/{helpers-38ea1ae1.js → helpers-77bdd30e.js} +3 -3
  303. package/dist/esm/{index-000c7a7c.js → index-3702583a.js} +24 -17
  304. package/dist/esm/{index-f7533fcc.js → index-6de7c296.js} +1 -1
  305. package/dist/esm/{index.es-c379ea10.js → index.es-87662946.js} +2 -2
  306. package/dist/esm/instant-apps-app-guide.entry.js +5 -5
  307. package/dist/esm/instant-apps-ckeditor-wrapper_3.entry.js +7 -7
  308. package/dist/esm/instant-apps-control-panel.entry.js +3 -3
  309. package/dist/esm/instant-apps-create.entry.js +5 -5
  310. package/dist/esm/instant-apps-export-views.entry.js +5 -5
  311. package/dist/esm/instant-apps-export.entry.js +5 -5
  312. package/dist/esm/instant-apps-filter-list_2.entry.js +5 -5
  313. package/dist/esm/instant-apps-header.entry.js +3 -3
  314. package/dist/esm/instant-apps-interactive-legend-classic.entry.js +6 -6
  315. package/dist/esm/instant-apps-interactive-legend-count_2.entry.js +6 -6
  316. package/dist/esm/instant-apps-interactive-legend-group-legend-element-caption.entry.js +6 -6
  317. package/dist/esm/instant-apps-interactive-legend-group-legend-element_5.entry.js +6 -6
  318. package/dist/esm/instant-apps-interactive-legend.entry.js +8 -8
  319. package/dist/esm/instant-apps-keyboard-shortcuts.entry.js +5 -5
  320. package/dist/esm/instant-apps-landing-page.entry.js +1 -1
  321. package/dist/esm/instant-apps-language-switcher.entry.js +8 -8
  322. package/dist/esm/instant-apps-language-translator.entry.js +8 -8
  323. package/dist/esm/instant-apps-measurement-tool.entry.js +3 -3
  324. package/dist/esm/instant-apps-measurement.entry.js +5 -5
  325. package/dist/esm/instant-apps-popover.entry.js +5 -5
  326. package/dist/esm/instant-apps-popovers.entry.js +1 -1
  327. package/dist/esm/instant-apps-scoreboard.entry.js +5 -5
  328. package/dist/esm/instant-apps-sign-in.entry.js +5 -5
  329. package/dist/esm/instant-apps-splash.entry.js +5 -5
  330. package/dist/esm/instant-apps-time-filter.entry.js +7 -7
  331. package/dist/esm/json-editor_7.entry.js +5 -5
  332. package/dist/esm/{languageSwitcher-446c6fe7.js → languageSwitcher-49bad3f4.js} +1 -1
  333. package/dist/esm/{languageUtil-a3e6adf6.js → languageUtil-2b6e191a.js} +1 -1
  334. package/dist/esm/{loadModules-736e0284.js → loadModules-947ccfd4.js} +1 -1
  335. package/dist/esm/loader.js +2 -2
  336. package/dist/esm/{locale-8a3e6795.js → locale-aa656a2c.js} +2 -2
  337. package/dist/esm/{locale-5b76949e.js → locale-b0016f8e.js} +3 -3
  338. package/dist/esm/map-layer-picker.entry.js +6 -6
  339. package/dist/esm/map-select-tools_3.entry.js +8 -8
  340. package/dist/esm/{mapViewUtils-f54edae3.js → mapViewUtils-a854e298.js} +1 -1
  341. package/dist/esm/pci-calculator.entry.js +1 -1
  342. package/dist/esm/{popupUtils-12e61a9a.js → popupUtils-1314cb13.js} +2 -2
  343. package/dist/esm/public-notification.entry.js +8 -8
  344. package/dist/esm/{publicNotificationStore-e5306ea6.js → publicNotificationStore-70219049.js} +1 -1
  345. package/dist/esm/solution-configuration.entry.js +5 -5
  346. package/dist/esm/solution-contents_3.entry.js +5 -5
  347. package/dist/esm/solution-item-accordion.entry.js +6 -5
  348. package/dist/esm/solution-item-icon.entry.js +1 -1
  349. package/dist/esm/{solution-store-26e3d8c6.js → solution-store-2493275a.js} +1 -1
  350. package/dist/esm/solutions-components.js +3 -3
  351. package/dist/esm/spatial-ref.entry.js +3 -3
  352. package/dist/esm/store-manager.entry.js +3 -3
  353. package/dist/esm/{utils-793f7261.js → utils-68015f9d.js} +2 -2
  354. package/dist/solutions-components/assets/t9n/consent-manager/resources_ar.json +5 -0
  355. package/dist/solutions-components/assets/t9n/consent-manager/resources_bg.json +5 -0
  356. package/dist/solutions-components/assets/t9n/consent-manager/resources_bs.json +5 -0
  357. package/dist/solutions-components/assets/t9n/consent-manager/resources_ca.json +5 -0
  358. package/dist/solutions-components/assets/t9n/consent-manager/resources_cs.json +5 -0
  359. package/dist/solutions-components/assets/t9n/consent-manager/resources_da.json +5 -0
  360. package/dist/solutions-components/assets/t9n/consent-manager/resources_de.json +5 -0
  361. package/dist/solutions-components/assets/t9n/consent-manager/resources_el.json +5 -0
  362. package/dist/solutions-components/assets/t9n/consent-manager/resources_es.json +5 -0
  363. package/dist/solutions-components/assets/t9n/consent-manager/resources_et.json +5 -0
  364. package/dist/solutions-components/assets/t9n/consent-manager/resources_fi.json +5 -0
  365. package/dist/solutions-components/assets/t9n/consent-manager/resources_fr.json +5 -0
  366. package/dist/solutions-components/assets/t9n/consent-manager/resources_he.json +5 -0
  367. package/dist/solutions-components/assets/t9n/consent-manager/resources_hr.json +5 -0
  368. package/dist/solutions-components/assets/t9n/consent-manager/resources_hu.json +5 -0
  369. package/dist/solutions-components/assets/t9n/consent-manager/resources_id.json +5 -0
  370. package/dist/solutions-components/assets/t9n/consent-manager/resources_it.json +5 -0
  371. package/dist/solutions-components/assets/t9n/consent-manager/resources_ja.json +5 -0
  372. package/dist/solutions-components/assets/t9n/consent-manager/resources_ko.json +5 -0
  373. package/dist/solutions-components/assets/t9n/consent-manager/resources_lt.json +5 -0
  374. package/dist/solutions-components/assets/t9n/consent-manager/resources_lv.json +5 -0
  375. package/dist/solutions-components/assets/t9n/consent-manager/resources_nb.json +5 -0
  376. package/dist/solutions-components/assets/t9n/consent-manager/resources_nl.json +5 -0
  377. package/dist/solutions-components/assets/t9n/consent-manager/resources_pl.json +5 -0
  378. package/dist/solutions-components/assets/t9n/consent-manager/resources_pt-BR.json +5 -0
  379. package/dist/solutions-components/assets/t9n/consent-manager/resources_pt-PT.json +5 -0
  380. package/dist/solutions-components/assets/t9n/consent-manager/resources_ro.json +5 -0
  381. package/dist/solutions-components/assets/t9n/consent-manager/resources_ru.json +5 -0
  382. package/dist/solutions-components/assets/t9n/consent-manager/resources_sk.json +5 -0
  383. package/dist/solutions-components/assets/t9n/consent-manager/resources_sl.json +5 -0
  384. package/dist/solutions-components/assets/t9n/consent-manager/resources_sr.json +5 -0
  385. package/dist/solutions-components/assets/t9n/consent-manager/resources_sv.json +5 -0
  386. package/dist/solutions-components/assets/t9n/consent-manager/resources_th.json +5 -0
  387. package/dist/solutions-components/assets/t9n/consent-manager/resources_tr.json +5 -0
  388. package/dist/solutions-components/assets/t9n/consent-manager/resources_uk.json +5 -0
  389. package/dist/solutions-components/assets/t9n/consent-manager/resources_vi.json +5 -0
  390. package/dist/solutions-components/assets/t9n/consent-manager/resources_zh-CN.json +5 -0
  391. package/dist/solutions-components/assets/t9n/consent-manager/resources_zh-HK.json +5 -0
  392. package/dist/solutions-components/assets/t9n/consent-manager/resources_zh-TW.json +5 -0
  393. package/dist/solutions-components/assets/t9n/create-feature/resources_pt-BR.json +1 -1
  394. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources.json +3 -1
  395. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_ar.json +2 -1
  396. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_bg.json +2 -1
  397. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_bs.json +2 -1
  398. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_ca.json +2 -1
  399. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_cs.json +2 -1
  400. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_da.json +2 -1
  401. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_de.json +2 -1
  402. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_el.json +2 -1
  403. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_en.json +3 -1
  404. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_es.json +2 -1
  405. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_et.json +2 -1
  406. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_fi.json +2 -1
  407. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_fr.json +2 -1
  408. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_he.json +2 -1
  409. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_hr.json +2 -1
  410. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_hu.json +2 -1
  411. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_id.json +2 -1
  412. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_it.json +2 -1
  413. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_ja.json +2 -1
  414. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_ko.json +2 -1
  415. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_lt.json +2 -1
  416. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_lv.json +2 -1
  417. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_nb.json +2 -1
  418. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_nl.json +2 -1
  419. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_pl.json +2 -1
  420. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_pt-BR.json +2 -1
  421. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_pt-PT.json +2 -1
  422. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_ro.json +2 -1
  423. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_ru.json +2 -1
  424. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_sk.json +2 -1
  425. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_sl.json +2 -1
  426. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_sr.json +2 -1
  427. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_sv.json +2 -1
  428. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_th.json +2 -1
  429. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_tr.json +2 -1
  430. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_uk.json +2 -1
  431. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_vi.json +2 -1
  432. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_zh-CN.json +2 -1
  433. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_zh-HK.json +2 -1
  434. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_zh-TW.json +2 -1
  435. package/dist/solutions-components/assets/t9n/edit-card/resources_fr.json +1 -1
  436. package/dist/solutions-components/assets/t9n/feature-list/resources_ar.json +3 -1
  437. package/dist/solutions-components/assets/t9n/feature-list/resources_bg.json +3 -1
  438. package/dist/solutions-components/assets/t9n/feature-list/resources_bs.json +3 -1
  439. package/dist/solutions-components/assets/t9n/feature-list/resources_ca.json +3 -1
  440. package/dist/solutions-components/assets/t9n/feature-list/resources_cs.json +3 -1
  441. package/dist/solutions-components/assets/t9n/feature-list/resources_da.json +3 -1
  442. package/dist/solutions-components/assets/t9n/feature-list/resources_de.json +3 -1
  443. package/dist/solutions-components/assets/t9n/feature-list/resources_el.json +3 -1
  444. package/dist/solutions-components/assets/t9n/feature-list/resources_es.json +3 -1
  445. package/dist/solutions-components/assets/t9n/feature-list/resources_et.json +3 -1
  446. package/dist/solutions-components/assets/t9n/feature-list/resources_fi.json +3 -1
  447. package/dist/solutions-components/assets/t9n/feature-list/resources_fr.json +3 -1
  448. package/dist/solutions-components/assets/t9n/feature-list/resources_he.json +3 -1
  449. package/dist/solutions-components/assets/t9n/feature-list/resources_hr.json +3 -1
  450. package/dist/solutions-components/assets/t9n/feature-list/resources_hu.json +3 -1
  451. package/dist/solutions-components/assets/t9n/feature-list/resources_id.json +3 -1
  452. package/dist/solutions-components/assets/t9n/feature-list/resources_it.json +3 -1
  453. package/dist/solutions-components/assets/t9n/feature-list/resources_ja.json +3 -1
  454. package/dist/solutions-components/assets/t9n/feature-list/resources_ko.json +3 -1
  455. package/dist/solutions-components/assets/t9n/feature-list/resources_lt.json +3 -1
  456. package/dist/solutions-components/assets/t9n/feature-list/resources_lv.json +3 -1
  457. package/dist/solutions-components/assets/t9n/feature-list/resources_nb.json +3 -1
  458. package/dist/solutions-components/assets/t9n/feature-list/resources_nl.json +3 -1
  459. package/dist/solutions-components/assets/t9n/feature-list/resources_pl.json +3 -1
  460. package/dist/solutions-components/assets/t9n/feature-list/resources_pt-BR.json +3 -1
  461. package/dist/solutions-components/assets/t9n/feature-list/resources_pt-PT.json +3 -1
  462. package/dist/solutions-components/assets/t9n/feature-list/resources_ro.json +3 -1
  463. package/dist/solutions-components/assets/t9n/feature-list/resources_ru.json +3 -1
  464. package/dist/solutions-components/assets/t9n/feature-list/resources_sk.json +3 -1
  465. package/dist/solutions-components/assets/t9n/feature-list/resources_sl.json +3 -1
  466. package/dist/solutions-components/assets/t9n/feature-list/resources_sr.json +3 -1
  467. package/dist/solutions-components/assets/t9n/feature-list/resources_sv.json +3 -1
  468. package/dist/solutions-components/assets/t9n/feature-list/resources_th.json +3 -1
  469. package/dist/solutions-components/assets/t9n/feature-list/resources_tr.json +3 -1
  470. package/dist/solutions-components/assets/t9n/feature-list/resources_uk.json +3 -1
  471. package/dist/solutions-components/assets/t9n/feature-list/resources_vi.json +3 -1
  472. package/dist/solutions-components/assets/t9n/feature-list/resources_zh-CN.json +3 -1
  473. package/dist/solutions-components/assets/t9n/feature-list/resources_zh-HK.json +3 -1
  474. package/dist/solutions-components/assets/t9n/feature-list/resources_zh-TW.json +3 -1
  475. package/dist/solutions-components/assets/t9n/info-card/resources_et.json +1 -1
  476. package/dist/solutions-components/assets/t9n/info-card/resources_ko.json +1 -1
  477. package/dist/solutions-components/assets/t9n/info-card/resources_pt-PT.json +1 -1
  478. package/dist/solutions-components/assets/t9n/info-card/resources_ru.json +1 -1
  479. package/dist/solutions-components/assets/t9n/info-card/resources_sk.json +1 -1
  480. package/dist/solutions-components/assets/t9n/info-card/resources_vi.json +1 -1
  481. package/dist/solutions-components/assets/t9n/info-card/resources_zh-CN.json +1 -1
  482. package/dist/solutions-components/assets/t9n/map-card/resources_ar.json +1 -1
  483. package/dist/solutions-components/assets/t9n/map-card/resources_bg.json +1 -1
  484. package/dist/solutions-components/assets/t9n/map-card/resources_bs.json +1 -1
  485. package/dist/solutions-components/assets/t9n/map-card/resources_ca.json +1 -1
  486. package/dist/solutions-components/assets/t9n/map-card/resources_cs.json +1 -1
  487. package/dist/solutions-components/assets/t9n/map-card/resources_da.json +1 -1
  488. package/dist/solutions-components/assets/t9n/map-card/resources_de.json +1 -1
  489. package/dist/solutions-components/assets/t9n/map-card/resources_el.json +1 -1
  490. package/dist/solutions-components/assets/t9n/map-card/resources_es.json +1 -1
  491. package/dist/solutions-components/assets/t9n/map-card/resources_et.json +1 -1
  492. package/dist/solutions-components/assets/t9n/map-card/resources_fi.json +1 -1
  493. package/dist/solutions-components/assets/t9n/map-card/resources_fr.json +1 -1
  494. package/dist/solutions-components/assets/t9n/map-card/resources_he.json +1 -1
  495. package/dist/solutions-components/assets/t9n/map-card/resources_hr.json +1 -1
  496. package/dist/solutions-components/assets/t9n/map-card/resources_hu.json +1 -1
  497. package/dist/solutions-components/assets/t9n/map-card/resources_id.json +1 -1
  498. package/dist/solutions-components/assets/t9n/map-card/resources_it.json +1 -1
  499. package/dist/solutions-components/assets/t9n/map-card/resources_ja.json +1 -1
  500. package/dist/solutions-components/assets/t9n/map-card/resources_ko.json +1 -1
  501. package/dist/solutions-components/assets/t9n/map-card/resources_lt.json +1 -1
  502. package/dist/solutions-components/assets/t9n/map-card/resources_lv.json +1 -1
  503. package/dist/solutions-components/assets/t9n/map-card/resources_nb.json +1 -1
  504. package/dist/solutions-components/assets/t9n/map-card/resources_nl.json +1 -1
  505. package/dist/solutions-components/assets/t9n/map-card/resources_pl.json +1 -1
  506. package/dist/solutions-components/assets/t9n/map-card/resources_pt-BR.json +1 -1
  507. package/dist/solutions-components/assets/t9n/map-card/resources_pt-PT.json +1 -1
  508. package/dist/solutions-components/assets/t9n/map-card/resources_ro.json +1 -1
  509. package/dist/solutions-components/assets/t9n/map-card/resources_ru.json +1 -1
  510. package/dist/solutions-components/assets/t9n/map-card/resources_sk.json +1 -1
  511. package/dist/solutions-components/assets/t9n/map-card/resources_sl.json +1 -1
  512. package/dist/solutions-components/assets/t9n/map-card/resources_sr.json +1 -1
  513. package/dist/solutions-components/assets/t9n/map-card/resources_sv.json +1 -1
  514. package/dist/solutions-components/assets/t9n/map-card/resources_th.json +1 -1
  515. package/dist/solutions-components/assets/t9n/map-card/resources_tr.json +1 -1
  516. package/dist/solutions-components/assets/t9n/map-card/resources_uk.json +1 -1
  517. package/dist/solutions-components/assets/t9n/map-card/resources_vi.json +1 -1
  518. package/dist/solutions-components/assets/t9n/map-card/resources_zh-CN.json +1 -1
  519. package/dist/solutions-components/assets/t9n/map-card/resources_zh-HK.json +1 -1
  520. package/dist/solutions-components/assets/t9n/map-card/resources_zh-TW.json +1 -1
  521. package/dist/solutions-components/assets/t9n/map-select-tools/resources_zh-HK.json +1 -1
  522. package/dist/solutions-components/assets/t9n/map-select-tools/resources_zh-TW.json +1 -1
  523. package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_ar.json +3 -0
  524. package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_bg.json +3 -0
  525. package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_bs.json +3 -0
  526. package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_ca.json +3 -0
  527. package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_cs.json +3 -0
  528. package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_da.json +3 -0
  529. package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_de.json +3 -0
  530. package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_el.json +3 -0
  531. package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_es.json +3 -0
  532. package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_et.json +3 -0
  533. package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_fi.json +3 -0
  534. package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_fr.json +3 -0
  535. package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_he.json +3 -0
  536. package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_hr.json +3 -0
  537. package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_hu.json +3 -0
  538. package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_id.json +3 -0
  539. package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_it.json +3 -0
  540. package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_ja.json +3 -0
  541. package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_ko.json +3 -0
  542. package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_lt.json +3 -0
  543. package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_lv.json +3 -0
  544. package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_nb.json +3 -0
  545. package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_nl.json +3 -0
  546. package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_pl.json +3 -0
  547. package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_pt-BR.json +3 -0
  548. package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_pt-PT.json +3 -0
  549. package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_ro.json +3 -0
  550. package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_ru.json +3 -0
  551. package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_sk.json +3 -0
  552. package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_sl.json +3 -0
  553. package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_sr.json +3 -0
  554. package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_sv.json +3 -0
  555. package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_th.json +3 -0
  556. package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_tr.json +3 -0
  557. package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_uk.json +3 -0
  558. package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_vi.json +3 -0
  559. package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_zh-CN.json +3 -0
  560. package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_zh-HK.json +3 -0
  561. package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_zh-TW.json +3 -0
  562. package/dist/solutions-components/demos/crowdsource-manager.html +1 -0
  563. package/dist/solutions-components/{p-282a3090.entry.js → p-032d4411.entry.js} +1 -1
  564. package/dist/solutions-components/{p-a4bd7b09.js → p-08ad0b7a.js} +1 -1
  565. package/dist/solutions-components/{p-1e364924.js → p-173d5fce.js} +1 -1
  566. package/dist/solutions-components/{p-3e25c5b0.js → p-174fa218.js} +1 -1
  567. package/dist/solutions-components/{p-0d311ebf.entry.js → p-1890b884.entry.js} +1 -1
  568. package/dist/solutions-components/p-1b0588d2.js +7 -0
  569. package/dist/solutions-components/{p-ae7bcbff.entry.js → p-1ddd7128.entry.js} +1 -1
  570. package/dist/solutions-components/{p-ff3d2df3.entry.js → p-1dffcc22.entry.js} +1 -1
  571. package/dist/solutions-components/{p-ff0b00d7.entry.js → p-1fe3577a.entry.js} +1 -1
  572. package/dist/solutions-components/{p-182a4844.entry.js → p-265f5dc4.entry.js} +1 -1
  573. package/dist/solutions-components/{p-056d4371.entry.js → p-2b556610.entry.js} +1 -1
  574. package/dist/solutions-components/{p-d600ca73.entry.js → p-2c8360b4.entry.js} +1 -1
  575. package/dist/solutions-components/{p-b2a6916d.entry.js → p-2dcf8f00.entry.js} +1 -1
  576. package/dist/solutions-components/{p-0d879c77.entry.js → p-300ff31e.entry.js} +1 -1
  577. package/dist/solutions-components/{p-9e92da5e.entry.js → p-335a630e.entry.js} +1 -1
  578. package/dist/solutions-components/{p-91bb7fdc.js → p-3c3aecdd.js} +1 -1
  579. package/dist/solutions-components/{p-ea6440fd.js → p-3d20e307.js} +1 -1
  580. package/dist/solutions-components/{p-75fabd1c.entry.js → p-43d9bb7d.entry.js} +1 -1
  581. package/dist/solutions-components/{p-b8dde3e5.entry.js → p-4426901e.entry.js} +1 -1
  582. package/dist/solutions-components/{p-bf007c87.js → p-48942eb8.js} +2 -2
  583. package/dist/solutions-components/{p-79083691.entry.js → p-4bdd4009.entry.js} +1 -1
  584. package/dist/solutions-components/{p-b66a3619.entry.js → p-4ebc471b.entry.js} +1 -1
  585. package/dist/solutions-components/{p-20085e58.js → p-4f514c6d.js} +2 -2
  586. package/dist/solutions-components/{p-8af77823.entry.js → p-579628d9.entry.js} +1 -1
  587. package/dist/solutions-components/{p-3ab93412.entry.js → p-5ea1e18b.entry.js} +1 -1
  588. package/dist/solutions-components/{p-ec7c3f5c.entry.js → p-68d49e1a.entry.js} +1 -1
  589. package/dist/solutions-components/{p-5474d6f0.entry.js → p-699a9557.entry.js} +1 -1
  590. package/dist/solutions-components/{p-5c05f28a.entry.js → p-6d62a4fa.entry.js} +1 -1
  591. package/dist/solutions-components/{p-a1d1dc83.entry.js → p-6da8fe2d.entry.js} +1 -1
  592. package/dist/solutions-components/{p-f3ee7398.entry.js → p-70036eb6.entry.js} +1 -1
  593. package/dist/solutions-components/{p-c25ebd5a.entry.js → p-70e8be5c.entry.js} +1 -1
  594. package/dist/solutions-components/{p-e508cfaf.entry.js → p-7f6cbe61.entry.js} +1 -1
  595. package/dist/solutions-components/{p-0bb54295.entry.js → p-8107be38.entry.js} +1 -1
  596. package/dist/solutions-components/{p-a7d18a21.entry.js → p-81ae30bd.entry.js} +1 -1
  597. package/dist/solutions-components/p-87919d6d.entry.js +6 -0
  598. package/dist/solutions-components/{p-78051ff1.js → p-89fbc318.js} +1 -1
  599. package/dist/solutions-components/{p-1309ac58.js → p-8b218ba7.js} +1 -1
  600. package/dist/solutions-components/{p-20bd829d.entry.js → p-8ea0a36a.entry.js} +1 -1
  601. package/dist/solutions-components/{p-3ea987a7.js → p-8f7957a2.js} +1 -1
  602. package/dist/solutions-components/{p-d572627c.js → p-952da957.js} +1 -1
  603. package/dist/solutions-components/{p-60bdf635.entry.js → p-959cb673.entry.js} +1 -1
  604. package/dist/solutions-components/{p-e8fa98f5.entry.js → p-9d953313.entry.js} +1 -1
  605. package/dist/solutions-components/{p-442b2dfb.entry.js → p-a003600b.entry.js} +1 -1
  606. package/dist/solutions-components/{p-af2c8aa9.js → p-ac122d9e.js} +1 -1
  607. package/dist/solutions-components/{p-65df6acd.entry.js → p-acd2699e.entry.js} +1 -1
  608. package/dist/solutions-components/p-afc3ac6d.entry.js +6 -0
  609. package/dist/solutions-components/p-b37be371.entry.js +6 -0
  610. package/dist/solutions-components/{p-74b3e39c.entry.js → p-b40b5be5.entry.js} +1 -1
  611. package/dist/solutions-components/{p-d995adc3.entry.js → p-b560498c.entry.js} +1 -1
  612. package/dist/solutions-components/{p-fe9c9f03.entry.js → p-bc2548ba.entry.js} +1 -1
  613. package/dist/solutions-components/{p-5b3ee71d.entry.js → p-bf2598f8.entry.js} +1 -1
  614. package/dist/solutions-components/{p-ad03f5cf.entry.js → p-ce8377c6.entry.js} +1 -1
  615. package/dist/solutions-components/{p-62a0aa8e.js → p-d65f8b73.js} +1 -1
  616. package/dist/solutions-components/{p-6d1ee086.js → p-dc188d13.js} +1 -1
  617. package/dist/solutions-components/{p-fa639501.js → p-e23b4193.js} +1 -1
  618. package/dist/solutions-components/{p-1fb25c0c.entry.js → p-e81e2d83.entry.js} +1 -1
  619. package/dist/solutions-components/{p-c44cbee6.entry.js → p-e85da876.entry.js} +1 -1
  620. package/dist/solutions-components/{p-ed8f7591.entry.js → p-ea64b72e.entry.js} +1 -1
  621. package/dist/solutions-components/{p-ffa545ee.entry.js → p-eb97b5ad.entry.js} +1 -1
  622. package/dist/solutions-components/{p-a23de3b0.js → p-ee2cbba0.js} +1 -1
  623. package/dist/solutions-components/{p-097bac90.entry.js → p-ee863ffb.entry.js} +1 -1
  624. package/dist/solutions-components/{p-c421d92d.entry.js → p-f07a02e2.entry.js} +1 -1
  625. package/dist/solutions-components/{p-c5f701bd.entry.js → p-fa09caf3.entry.js} +1 -1
  626. package/dist/solutions-components/{p-2010e62e.entry.js → p-ff5db601.entry.js} +1 -1
  627. package/dist/solutions-components/solutions-components.esm.js +1 -1
  628. package/dist/solutions-components/utils/mapViewUtils.ts +1 -1
  629. package/dist/solutions-components_commit.txt +8 -5
  630. package/dist/types/components/crowdsource-manager/crowdsource-manager.d.ts +6 -0
  631. package/dist/types/components/solution-item-accordion/solution-item-accordion.d.ts +1 -1
  632. package/dist/types/components.d.ts +1 -1
  633. package/package.json +17 -17
  634. package/dist/solutions-components/p-433b34a3.entry.js +0 -6
  635. package/dist/solutions-components/p-44105d86.entry.js +0 -6
  636. package/dist/solutions-components/p-8c40bdec.js +0 -7
  637. package/dist/solutions-components/p-a5618671.entry.js +0 -6
  638. /package/dist/cjs/{esri-loader-a56cbcbe.js → esri-loader-08dc41bd.js} +0 -0
  639. /package/dist/cjs/{typeof-920a4426.js → typeof-2a7e2dec.js} +0 -0
  640. /package/dist/esm/{esri-loader-781d738a.js → esri-loader-c6842c6b.js} +0 -0
  641. /package/dist/esm/{typeof-2511410e.js → typeof-ef2a007d.js} +0 -0
  642. /package/dist/solutions-components/{p-6a68306c.js → p-0a24ad5f.js} +0 -0
  643. /package/dist/solutions-components/{p-af7e43e0.js → p-4fe489cf.js} +0 -0
@@ -1,6 +0,0 @@
1
- /*!
2
- * Copyright 2022 Esri
3
- * Licensed under the Apache License, Version 2.0
4
- * http://www.apache.org/licenses/LICENSE-2.0
5
- */
6
- import{r as t,c as i,g as e,h as s,H as a}from"./p-8c40bdec.js";import{g as h,l as o}from"./p-a23de3b0.js";import{g as l,q as n,e as c,f as r,i as d,j as p,c as b}from"./p-d572627c.js";import{d as f}from"./p-20085e58.js";import"./p-6a68306c.js";import"./p-d4056c1c.js";import"./p-80cb7c73.js";import"./p-af7e43e0.js";import"./p-2bc98cb0.js";import"./p-4f236b5d.js";import"./p-570b13d9.js";import"./p-0668e30d.js";const u=class{constructor(e){t(this,e),this.createWorkFlowStarted=i(this,"createWorkFlowStarted",7),this.backFromCreateWorkFlow=i(this,"backFromCreateWorkFlow",7),this.featureOrRecordSubmitted=i(this,"featureOrRecordSubmitted",7)}get el(){return e(this)}customInfoText;enableEditGeometry=!1;isMobile;layer;locale;mapView;zoomAndScrollToSelected;selectedFeaturesIds;enableCreateFeatures=!0;selectingFeatureFromMap;_cardLoading=!1;_graphics;_showCreateFeatureComponent=!1;_showSubmitBtn=!1;_translations;_isFeatureCreated=!1;_createFeature;async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}createWorkFlowStarted;backFromCreateWorkFlow;featureOrRecordSubmitted;async featureSelectionChange(t){this._showCreateFeatureComponent&&!this._isFeatureCreated&&this._backFromCreateFeature();const i=t.detail;this._graphics=await this._getFeaturesByIds(i)}async layerSelectionChange(t){this._showCreateFeatureComponent&&this._backFromCreateFeature();const i=t.detail[0];this.layer=await l(this.mapView,i)}async componentWillLoad(){await this._getTranslations(),this.selectedFeaturesIds?.length>0&&(this._graphics=await this._getFeaturesByIds(this.selectedFeaturesIds))}render(){const t=this._graphics?.length>0?"":"display-none",i=0===this._graphics?.length&&this._showCreateFeatureComponent?"":"display-none",e=this._graphics?.length>0||this._showCreateFeatureComponent?"display-none":"",h=this.layer?.isTable,o=h?this._translations.createRecord:this._translations.createFeature,l=this.customInfoText?this.customInfoText:this.selectingFeatureFromMap?this._translations.selectFeaturesFromMapToStart:this._translations.selectFeaturesToStart,n=this.enableCreateFeatures&&this.layer?.capabilities?.operations?.supportsAdd;return s(a,{key:"5557aa4d80b859335e38db3f4255f4a61d00560f"},s("div",{key:"6756e3314fc3444a982010a3cfa702d77f05f316",class:"overflow-auto height-full"},s("calcite-shell",{key:"715eb7ed692a1d00347d44f20df370cf9a91ded5",class:"position-relative "+t},s("div",{key:"baf4e97c1884f477e4077a6dc8e59d98c77593a4",class:"position-static z-index-500"},s("info-card",{key:"e2ed262e2ebdf9b79ddd725f073f13d6a17909d2",enableEditGeometry:this.enableEditGeometry,graphics:this._graphics,isLoading:this._cardLoading,isMobile:this.isMobile,locale:this.locale,mapView:this.mapView}))),s("calcite-shell",{key:"536b1dec2a539191f30b648f70a6bdcd447a6d6c",class:"position-relative "+e},s("calcite-panel",{key:"285eb9f07fcaf53c23ccecb44d68ec5bb85c9528"},s("div",{key:"dd180d0c21823d5cb3007c6078c9daa81a487101",class:"padding-1"},s("calcite-notice",{key:"b7d4ffb57b912c0424bef1c828608fd41d12d561",icon:this.selectingFeatureFromMap?"map":"table",iconFlipRtl:!0,open:!0},s("div",{key:"642339477aa8b9e1cba106dcb410ef293363311f",slot:"message"},l))),!this.isMobile&&n&&s("calcite-button",{key:"835562b5a083e7fc6f558d19787d5fa2680c2938",disabled:!this.layer,onClick:()=>this._createFeatureBtnClicked(),slot:"footer",width:"full"},h?this._translations.createRecord:this._translations.createFeature))),s("calcite-shell",{key:"5aeb16a8b0e6e693b7fddd64bf1ec2fe6553f133",class:"position-relative "+i},s("calcite-flow-item",{key:"20487f672aa32832c3b6a576976ad1bb12116814"},s("calcite-panel",{key:"9cc5d827a20afbf3381be0739cc3cc6713af8d66",heading:o},s("calcite-action",{key:"c441e24039efd9ec28471e6b66bfea2a4b5a8454",class:"back-button hydrated",icon:"chevron-left",onClick:this._backFromCreateFeature.bind(this),scale:"s",slot:"header-actions-start",text:""}),this.getEditorComponent(),this._showSubmitBtn&&s("calcite-button",{key:"a858b7a2fb25e257b6c92ca5719fb3a7cc8aedbb",appearance:"solid",class:"footer-top-button footer-button",onClick:()=>{this._createFeature.submit()},slot:"footer",width:"full"},this._translations.create))))))}getEditorComponent(){return s("div",null,this._showCreateFeatureComponent&&s("create-feature",{customizeSubmit:!0,locale:this.locale,mapView:this.mapView,onDrawComplete:()=>{this._showSubmitBtn=!0},onEditingAttachment:t=>{this._showSubmitBtn=!t.detail},onProgressStatus:()=>{setTimeout((()=>{this._isFeatureCreated=!1}),2e3)},onSuccess:this._featureCreated.bind(this),ref:t=>this._createFeature=t,selectedLayerId:this.layer?.id,showGuidingMsgWhileDrawing:!1}))}async _getFeaturesByIds(t){return(t.length>0?await n(t,this.layer,[],!0,this.mapView.spatialReference):[]).sort(((i,e)=>t.indexOf(i.getObjectId())-t.indexOf(e.getObjectId())))}_createFeatureBtnClicked(){this._showCreateFeatureComponent=!0,this.createWorkFlowStarted.emit()}async _backFromCreateFeature(){this._createFeature&&(this._showCreateFeatureComponent=!1,this.backFromCreateWorkFlow.emit()),this._showSubmitBtn=!1}_featureCreated(){this._showCreateFeatureComponent=!1,this._showSubmitBtn=!1,this._isFeatureCreated=!0,this.featureOrRecordSubmitted.emit(),setTimeout((()=>{this._showCreateFeatureComponent=!0}),50)}async _getTranslations(){const t=await h(this.el);this._translations=t[0]}static get watchers(){return{locale:["localeWatchHandler"]}}};u.style=":host{display:block !important}.display-flex{display:flex}.display-none{display:none}.w-100{width:100%}.padding-bottom-1{padding-bottom:1rem}.padding-1{padding:1rem}.position-relative{position:relative}.focus-margin{margin:1px 1px 0px 1px}.overflow-auto{overflow:auto}.height-full{height:100%}.position-static{position:static !important}.z-index-500{z-index:500 !important}card-manager{display:block}";const m=class{constructor(e){t(this,e),this.featureSelectionChange=i(this,"featureSelectionChange",7),this.toggleFilter=i(this,"toggleFilter",7),this.showDelete=i(this,"showDelete",7)}get el(){return e(this)}appLayout;defaultGlobalId;defaultLayerId;defaultOid;enableAutoRefresh;enableColumnReorder=!0;enableCSV;enableInlineEdit;enableShare;honorMapFieldSettings;isMobile;locale;mapHidden;mapInfo;mapView;onlyShowUpdatableLayers;selectedIds=[];shareIncludeEmbed;shareIncludeSocial;showNewestFirst;zoomAndScrollToSelected;zoomToScale;createFilterModal=!0;_allIds=[];_controlsThatFit;_csvExporting=!1;_fetchingData=!1;_filterActive=!1;_filterOpen=!1;_layer;_selectAllActive=!1;_showHideOpen=!1;_showOnlySelected=!1;_toolInfos;_translations;_fullTextSearchInfo;_searchPlaceHolder="";_size=0;_queryingData=!1;FeatureTable;TableTemplate;_columnsInfo;_ctrlIsPressed=!1;_currentId;_editEnabled;_defaultFilterHonored=!1;_defaultGlobalIdHonored=!1;_defaultOidHonored=!1;_defaultVisibleToolSizeInfos;_definitionExpression;_deleteEnabled;_editor;_filterList;_floorExpression;_floorField;_floorFacility;_floorLevel;_floorSite;_layerExpressions;_loaded=!1;_mapClickHandle;_observerSet=!1;_previousCurrentId;reactiveUtils;_refreshHandle;_resizeObserver;_selectAllElement;_selectionFromMap=!1;_shareNode;_shiftIsPressed=!1;_showHideDropdown;_skipOnChange=!1;_moreDropdown;_table;_tableNode;_timeout;_toolbar;_toolbarSizeInfos;_searchExpression;_skipEditCheck=!1;_tempSelectedIds;appLayoutWatchHandler(){this._updateShareUrl()}async defaultOidWatchHandler(){await this._handleDefaults()}async defaultGlobalIdWatchHandler(){await this._handleDefaults()}enableCSVWatchHandler(){this._toolInfos?.length>0&&this._initToolInfos()}enableInlineEditWatchHandler(){this._table&&(this._table.editingEnabled=this._editEnabled&&this.enableInlineEdit)}enableShareWatchHandler(){this._toolbar&&this._updateToolbar()}_controlsThatFitWatchHandler(){const t=this._controlsThatFit?this._controlsThatFit.reduce(((t,i)=>(t.push(i.id),t)),[]):[];this._toolInfos=this._toolInfos?.map((i=>{if(i&&this._controlsThatFit){const e=this._getId(i.icon);return i.isOverflow=t.indexOf(e)<0,i}}))}async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}mapHiddenWatchHandler(){this._toolInfos?.length>0&&this._initToolInfos()}isMobileWatchHandler(){this._toolInfos||this.isMobile||this._initToolInfos()}async mapInfoWatchHandler(){this._resetColumnTemplates(),this.createFilterModal&&this._initLayerExpressions(),this._initToolInfos(),this._updateToolbar(),await this._sortTable()}async mapViewWatchHandler(){this._mapClickHandle&&this._mapClickHandle.remove(),this.mapView&&(this._floorExpression=void 0,this._searchExpression=void 0,this._updateShareUrl(),this._mapClickHandle=this.reactiveUtils.on((()=>this.mapView),"click",(t=>{this._mapClicked(t)})))}async _layerWatchHandler(){this._fetchingData=!0,await(this._layer?.when((async()=>{this._definitionExpression=this._layer.definitionExpression,this._floorField=this._layer.floorInfo?.floorField,this._updateFloorDefinitionExpression(),await this._resetTable(),this.createFilterModal&&this._initLayerExpressions(),this._updateShareUrl(),this._fetchingData=!1})))}async selectedIdsWatchHandler(){this._updateShareUrl(),this._validateEnabledActions(),this._selectAllActive&&this.selectedIds.length!==this._allIds.length&&(this._selectAllActive=!1),this.selectedIds.length>0&&(this._table.rowHighlightIds.removeAll(),this._table.rowHighlightIds.add(this.selectedIds[0]))}async closeFilter(){await this._closeFilter()}async filterReset(){await this._handleFilterListReset()}async filterUpdate(t){await this._handleFilterUpdate(t)}async validateActiveEdits(){return this._validateActiveEdits([],this.selectedIds)}async refresh(){this._table&&await this._refresh()}featureSelectionChange;toggleFilter;showDelete;async beforeMapInfoChange(t){const i=t.detail.ref,e=t.detail.mapInfo;if(this._hasPendingEdits()){t.preventDefault();const s=await this._validateActiveEdits([],this.selectedIds);await i.setMapByID(s?e.id:t.detail.currentId,!s)}}async editorInitialized(t){this._editor=t.detail}async selectionChanged(t){const i=t.detail.selectedFeature[0],e=i.getObjectId(),s=this._table;if(s.rowHighlightIds.length&&s.rowHighlightIds.removeAll(),s.rowHighlightIds.add(e),this.zoomAndScrollToSelected){const t=this._table.viewModel.getObjectIdIndex(e);this._table.scrollToIndex(t);const s=i.layer;let a;this.mapView.allLayerViews.toArray().some((t=>{if(t.layer.title===s.title&&"feature"===t.layer.type)return a=t,!0})),a&&await c([e],a,this.mapView,!0,void 0,this.zoomToScale)}}async beforeLayerSelectionChange(t){if(this._hasPendingEdits()){t.preventDefault();const i=t.detail.ref,e=await this._validateActiveEdits([],this.selectedIds);return t.detail.selectedIds?await i.setLayerByIds(e?t.detail.newIds:t.detail.currentIds,!0):await i.setLayerById(e?t.detail.newId:t.detail.currentId,!0)}}async layerSelectionChange(t){await this._layerSelectionChanged(t)}async editsComplete(t){const i=t.detail;"delete"!==i&&"add"!==i||(this._allIds=await r(this._layer)),await this._refresh()}async facilityChanged(t){this._floorFacility=t.detail,this._updateFloorDefinitionExpression()}async levelChanged(t){this._floorLevel=t.detail,this._updateFloorDefinitionExpression()}async siteChanged(t){this._floorSite=t.detail,this._updateFloorDefinitionExpression()}async noLayersFound(){this._layer=void 0,this._allIds=[],this._clearSelection()}async clearSelection(){await this._validateActiveEdits([],this.selectedIds)&&this._clearSelection()}async componentWillLoad(){await this._getTranslations(),await this._initModules(),this._initToolInfos(),this._resizeObserver||(this._resizeObserver=new ResizeObserver((()=>this._onResize())))}render(){const t=this._fetchingData?"display-none":"",i=this._fetchingData?"":"display-none",e=this._queryingData?"":"display-none",h=this._size.toString(),o=this.selectedIds.length.toString(),l=this.isMobile?"height-full":"height-full-adjusted",n=this._canShowFullTextSearch();return this._validateActiveActions(),s(a,{key:"68d6d57fbc9122b15340e0be3426ad00d398c7b2"},s("div",{key:"c4839ef8df0c5d3937b68c444264ce3bbb5c808d"},s("calcite-scrim",{key:"d4fa1a66ddcc5d0e83ee4ee43b2a3230e7f0298f",class:e,loading:this._queryingData}),s("calcite-shell",{key:"2ae1aee8a242902f3fbc9a1a19b62a8b721e5de7"},this._getTableControlRow("header"),s("div",{key:"73d424f4bb07f56245c2c0858544d6cb7d9fcc74",class:`width-full ${l}`},s("calcite-panel",{key:"a2404478e2daf5ebac1ff3ac10378a98c868bcb2",class:"height-full width-full"},n&&s("div",{key:"e18c71ccab7853438c51fe7168b7a98087d215e2",class:"search-container"},s("calcite-input",{key:"39ecb52bacd4560a94310a56faf084941aa44a2a",class:"search",clearable:!0,icon:"search",onCalciteInputChange:t=>{this._searchTextChanged(t)},placeholder:this._searchPlaceHolder,title:this._searchPlaceHolder,type:"search"})),s("calcite-loader",{key:"ce2aeb5e108b1d76da8694a071dcd46098e6bb28",class:i,label:this._translations.fetchingData,scale:"l"}),s("div",{key:"78e596cb45427bb9d21a11368361f67e1ed306a5",class:t,ref:this.onTableNodeCreate}))),this.isMobile?void 0:s("div",{class:"bottom-left text-color height-19"},this._translations.recordsSelected.replace("{{total}}",h).replace("{{selected}}",o))),this.createFilterModal&&this._filterModal()))}_deleteDialog;async componentDidLoad(){this.isMobile||this._observerSet||(this._resizeObserver.observe(this._toolbar),this._observerSet=!0)}componentDidRender(){document.onclick=t=>this._handleDocumentClick(t),document.onkeydown=t=>this._handleKeyDown(t),document.onkeyup=t=>this._handleKeyUp(t),this._updateToolbar()}async _initModules(){const[t,i,e]=await o(["esri/widgets/FeatureTable","esri/core/reactiveUtils","esri/widgets/FeatureTable/support/TableTemplate"]);this.FeatureTable=t,this.reactiveUtils=i,this.TableTemplate=e}async _searchTextChanged(t){this._fullTextSearchInfo.forEach((i=>{i.searchTerm=t.target.value})),this._searchFullText()}async _searchFullText(){let t=[],i=!1;if(this._showOnlySelected)t=this._tempSelectedIds,i=!0;else{if(!await this._validateActiveEdits([],this.selectedIds))return;this._clearSelection(),this._tempSelectedIds=[]}this._searchExpression&&this._clearSearchDefinitionExpression();let e=[];if(this._fullTextSearchInfo.length&&this._fullTextSearchInfo[0].searchTerm){const s=this._layer.createQuery();s.fullText=this._fullTextSearchInfo,e=await this._layer.queryObjectIds(s),i&&t?.length&&(e=e.filter((i=>t.includes(i)))),await this._updateSearchDefinitionExpression(e?.length?e:[-1])}i&&e?.length&&(this._showOnlySelected=!0,this._table.highlightIds.addMany(e.reverse())),await new Promise((t=>setTimeout(t,800))),await this._updateAllIds()}_clearSearchDefinitionExpression(){const t=this._layer.definitionExpression;this._searchExpression&&t?.indexOf(this._searchExpression)>-1&&(this._layer.definitionExpression=t?.indexOf(" AND ("+this._searchExpression)>-1?t.replace(` AND (${this._searchExpression})`,""):t.replace(this._searchExpression,"")),this._searchExpression=void 0}async _updateSearchDefinitionExpression(t){const i=this._layer.definitionExpression;if(t?.length){const e=`objectId in(${t})`;this._layer.definitionExpression=i?.indexOf(this._searchExpression)>-1?i.replace(this._searchExpression,e):i?`${i} AND (${e})`:e,this._searchExpression=e}else this._clearSearchDefinitionExpression()}_canShowFullTextSearch(){return((this._layer?.capabilities)?.query)?.supportsFullTextSearch&&this._layer.indexes.items.filter((t=>"FullText"==t.indexType)).length>0}_getFullTextSearchInfo(){if(this._fullTextSearchInfo=[],((this._layer?.capabilities)?.query)?.supportsFullTextSearch){const t=this._layer.indexes?.filter((t=>"FullText"==t.indexType));if(t?.length){const i=[];t.forEach((t=>{i.push(...t.fields.split(","))}));const e=[];i.forEach((t=>{const i=this._layer.getField(t.trim());e.push(i.alias)})),this._searchPlaceHolder=this._translations.searchPlaceholder.replace("{{fields}}",e.join(", ")),this._fullTextSearchInfo.push({onFields:["*"],searchTerm:"",searchType:"prefix"})}}}_onResize(){this._updateToolbar()}_getTableControlRow(t){return s("div",{class:"display-flex height-51-px border-bottom",ref:t=>this._toolbar=t,slot:t},this._getActionBar(),this.isMobile?void 0:this._getDropdown("more-table-options"),this.enableShare&&!this.isMobile?this._getShare("share"):void 0)}_getActionBar(){const t=this.isMobile?"width-full":"",i=this.isMobile?"border-top":"";return s("calcite-action-bar",{class:t,expandDisabled:!0,expanded:!0,id:this._getId("bar"),layout:"horizontal"},s("div",{class:`border-end ${t} ${i}`,id:"solutions-map-layer-picker-container"},s("map-layer-picker",{appearance:"transparent",defaultLayerId:this.defaultLayerId,display:"inline-flex",height:50,isMobile:this.isMobile,locale:this.locale,mapView:this.mapView,onlyShowUpdatableLayers:this.onlyShowUpdatableLayers,placeholderIcon:"layers",scale:"l",selectedIds:this._layer?[this._layer?.id]:[],showSingleLayerAsLabel:!0,showTables:!0,type:"dropdown"})),this.isMobile?void 0:this._getActions())}_getActions(){const t=this._getActionItems();return t?.reduce(((t,i)=>(i&&!i.isOverflow&&t.push(i.isDanger?this._getDangerAction(i.icon,i.label,i.func,i.disabled):i.isSublist?s("calcite-dropdown",{closeOnSelectDisabled:!0,id:this._getId(i.icon),onCalciteDropdownBeforeClose:()=>this._forceShowHide(),ref:t=>this._showHideDropdown=t},this._getAction(i.active,this._showHideOpen?"chevron-down":i.icon,i.indicator,i.label,i.func,i.disabled,i.loading,"trigger"),this._showHideOpen?this._getFieldlist():void 0):this._getAction(i.active,i.icon,i.indicator,i.label,i.func,i.disabled,i.loading)),t)),[])}_getFieldlist(){return this._columnsInfo?s("calcite-dropdown-group",{"selection-mode":"multiple"},Object.keys(this._columnsInfo).map((t=>{const i=this._columnsInfo[t];return s("calcite-dropdown-item",{id:`layer-table-${t.toLowerCase().replaceAll(" ","")}`,label:t,onClick:t=>{const i=t.target;this._columnsInfo[i.label]=!i.selected,i.selected?this._table.hideColumn(i.label):this._table.showColumn(i.label)},selected:i},t)}))):void 0}_validateEnabledActions(){const t=this._featuresSelected(),i=this.selectedIds.length>1&&this._layer?.capabilities?.operations?.supportsUpdate,e=["zoom-to-object","pencil","trash","erase","selected-items-filter"];this._toolInfos?.forEach((s=>{s&&e.indexOf(s.icon)>-1&&(s.disabled="pencil"===s.icon?!i:!t)}))}_validateActiveActions(){const t=["filter","list-check-all","selected-items-filter"];this._toolInfos?.forEach((i=>{i&&t.indexOf(i.icon)>-1&&("filter"===i.icon&&(i.indicator=this._filterActive),"list-check-all"===i.icon&&(i.active=this._selectAllActive),"selected-items-filter"===i.icon&&(i.active=this._showOnlySelected))}))}_initToolInfos(){const t=this._featuresSelected(),i=this.selectedIds.length>1&&this._layer?.capabilities?.operations?.supportsUpdate&&!1,e=this._featuresEmpty(),s=this._hasFilterExpressions();this._translations&&(this._toolInfos=[this.mapHidden?void 0:{active:!1,icon:"zoom-to-object",indicator:!1,label:this._translations.zoom,func:()=>this._zoom(),disabled:!t,isOverflow:!1},s?{active:!1,icon:"filter",indicator:!1,label:this._translations.filters,func:()=>this.createFilterModal?this._toggleFilter():this.toggleFilter.emit(),disabled:!1,isOverflow:!1}:void 0,i?{active:!1,icon:"pencil",indicator:!1,label:this._translations.editMultiple,func:()=>alert(this._translations.editMultiple),disabled:!i,isOverflow:!1}:void 0,this._deleteEnabled?{active:void 0,icon:"trash",indicator:void 0,label:this._translations.delete,func:()=>this._showDelete(),disabled:!t,isDanger:!0,isOverflow:!1}:void 0,{active:!1,icon:"erase",indicator:!1,label:this._translations.clearSelection,func:()=>{this.clearSelection()},disabled:!t,isOverflow:!1},{active:!1,icon:"selected-items-filter",indicator:!1,label:this._showOnlySelected?this._translations.showAll:this._translations.showSelected,func:()=>this._toggleShowSelected(),disabled:!t,isOverflow:!1},{active:!1,icon:"list-check-all",indicator:!1,func:async()=>await this._selectAll(),label:this._translations.selectAll,disabled:e,isOverflow:!1},{active:!1,icon:"compare",indicator:!1,func:async()=>await this._switchSelected(),label:this._translations.switchSelected,disabled:e,isOverflow:!1},{active:!1,icon:"refresh",indicator:!1,func:()=>this._refresh(),label:this._translations.refresh,disabled:!1,isOverflow:!1},this.enableCSV?{active:!1,icon:"export",indicator:!1,func:()=>{this._exportToCSV()},label:this._translations.exportCSV,loading:this._csvExporting,disabled:e,isOverflow:!1}:void 0,{active:!1,icon:this._showHideOpen?"chevron-down":"chevron-right",indicator:!1,func:()=>this._toggleShowHide(),label:this._translations.showHideColumns,disabled:!1,isOverflow:!1,isSublist:!0}],this._defaultVisibleToolSizeInfos=void 0)}_updateFloorDefinitionExpression(){if(this._floorField&&this._floorLevel){const t=`${this._floorField} = '${this._floorLevel}'`,i=this._layer.definitionExpression;this._layer.definitionExpression=i?.indexOf(this._floorExpression)>-1?i.replace(this._floorExpression,t):i?`${i} AND (${t})`:t,this._floorExpression=t}}_featuresSelected(){return this.selectedIds.length>0}_featuresEmpty(){return 0===this._allIds.length}_hasFilterExpressions(){let t;return this.mapInfo?.filterConfig?.layerExpressions&&this._layer?.id&&(t=this.mapInfo.filterConfig.layerExpressions.filter((t=>t.id===this._layer.id))),t?.length>0}_updateToolbar(){this._timeout&&clearTimeout(this._timeout),!this.isMobile&&this._toolbar&&this._toolInfos&&(this._timeout=setTimeout((()=>{clearTimeout(this._timeout),this._setToolbarSizeInfos();const t=this._toolbar.offsetWidth;let i=this._toolbarSizeInfos.reduce(((t,i)=>t+i.width),0);const e=["solutions-more","solutions-map-layer-picker-container","map-picker","solutions-action-share"];if(i>t){if(this._toolbarSizeInfos.length>0){const s=[...this._toolbarSizeInfos].reverse().reduce(((s,a)=>(e.indexOf(a.id)<0&&(i>t?i-=a.width:s.push(a)),s)),[]).reverse();this._setControlsThatFit(s,e)}}else if(this._defaultVisibleToolSizeInfos){const s=this._toolbarSizeInfos.reduce(((t,i)=>(t.push(i.id),t)),[]);let a=!1;const h=[...this._defaultVisibleToolSizeInfos].reduce(((h,o)=>(!a&&e.indexOf(o.id)<0&&(s.indexOf(o.id)>-1||i+o.width<=t)?(s.indexOf(o.id)<0&&(i+=o.width),h.push(o)):e.indexOf(o.id)<0&&i+o.width>t&&(a=!0),h)),[]);this._setControlsThatFit(h,e)}}),250))}_setControlsThatFit(t,i){let e=JSON.stringify(t)!==JSON.stringify(this._controlsThatFit);const s=document.getElementById("solutions-action-bar");s?.childNodes?.forEach((t=>{i.indexOf(t.id)<0&&!e&&(e=this._controlsThatFit.map((t=>t.id)).indexOf(t.id)<0)})),e&&(this._controlsThatFit=[...t])}_setToolbarSizeInfos(){let t=!1;this._toolbarSizeInfos=[],this._toolbar.childNodes.forEach(((i,e)=>{0===e?i.childNodes.forEach((i=>{this._toolbarSizeInfos.push({id:i.id,width:i.offsetWidth}),t||(t=i.offsetWidth>0)})):i.referenceElement||(this._toolbarSizeInfos.push({id:i.id,width:i.offsetWidth}),t||(t=i.offsetWidth>0))})),t&&!this._defaultVisibleToolSizeInfos&&(this._defaultVisibleToolSizeInfos=[...this._toolbarSizeInfos])}_getActionItems(){return this._toolInfos?.filter((t=>t&&!t.isOverflow))}_getDropdown(t){const i=this._getDropdownItems();return i.length>0?s("calcite-dropdown",{closeOnSelectDisabled:!0,disabled:void 0===this._layer,id:"solutions-more",onCalciteDropdownBeforeClose:()=>this._forceShowHide(),ref:t=>this._moreDropdown=t},s("calcite-action",{appearance:"solid",id:t,label:"",onClick:()=>this._closeShowHide(),slot:"trigger",text:""},s("calcite-button",{appearance:"transparent",iconEnd:"chevron-down",kind:"neutral"},this._translations.more)),s("calcite-dropdown-group",{"selection-mode":"none"},i.map((t=>s("calcite-dropdown-group",{class:`${t.disabled?"disabled":""} ${"trash"===t.icon?"delete-red":""}`,selectionMode:"none"},s("calcite-dropdown-item",{disabled:t.loading,iconStart:t.isSublist&&this._showHideOpen?"chevron-down":t.loading?"":t.icon,id:`layer-table-${t.icon}`,onClick:t.func},t.loading?s("div",{class:"display-flex"},s("calcite-loader",{inline:!0,label:t.label,scale:"m"}),t.label):t.label))))),this._showHideOpen?this._getFieldlist():void 0):void 0}_getDropdownItems(){return this._toolInfos?.filter((t=>t&&t.isOverflow))}_getAction(t,i,e,a,h,o,l,n){const c=void 0===this._layer||o;return s("div",{class:"display-flex",id:this._getId(i),slot:n},s("calcite-action",{active:t,appearance:"solid",disabled:c,icon:i,id:`layer-table-${i}`,indicator:e,label:a,loading:l,onClick:h,text:a,textEnabled:!0}),this._getToolTip("bottom",i,a))}_showDelete(){this.showDelete.emit({ids:this._getIds()})}_getShare(t){return s("div",{class:"share-action",id:this._getId(t)},s("instant-apps-social-share",{autoUpdateShareUrl:!1,class:"instant-app-share",embed:this.shareIncludeEmbed,popoverButtonIconScale:"s",ref:t=>this._shareNode=t,scale:"m",shareButtonColor:"neutral",shareButtonType:"action",socialMedia:this.shareIncludeSocial,view:this.mapView}),this._getToolTip("bottom",t,this._translations.share))}_updateShareUrl(){const t=this._shareNode?.shareUrl;if(!t)return;const i=new URL(t);this.mapInfo?.id?i.searchParams.set("webmap",this.mapInfo.id):i.searchParams.delete("webmap"),this._layer?.id?i.searchParams.set("layer",this._layer.id):i.searchParams.delete("layer"),this.selectedIds?.length>0?i.searchParams.set("oid",this.selectedIds.join(",")):i.searchParams.delete("oid"),i.searchParams.set("applayout",this.appLayout),this._shareNode.shareUrl=i.href}_getToolTip(t,i,e){return document.getElementById(i)?s("calcite-tooltip",{placement:t,"reference-element":i},s("span",null,e)):void 0}_getId(t){return`solutions-action-${t}`}_getDangerAction(t,i,e,a){const h=void 0===this._layer||a;return s("div",{class:"display-flex",id:this._getId(t)},s("calcite-action",{appearance:"solid",disabled:h,id:t,onClick:e,text:""},s("calcite-button",{appearance:"transparent",iconStart:t,kind:"danger"},i)),this._getToolTip("bottom",t,i))}_getIds(){return this._table?.highlightIds?.map((t=>parseInt(t.toString(),10))).toArray()}onTableNodeCreate=t=>{this._tableNode=t};async _getTable(t,i){this._layer&&(await this._layer.when((()=>{this._table=new this.FeatureTable({autoRefreshEnabled:this.enableAutoRefresh,layer:this._layer,view:this.mapView,columnReorderingEnabled:this.enableColumnReorder,editingEnabled:this._editEnabled&&this.enableInlineEdit,highlightEnabled:!0,multiSortEnabled:!1,visibleElements:{columnDescriptions:!1,header:!1,menu:!1,progress:!1},tableTemplate:{columnTemplates:i},container:t})})),await this._table.when((()=>{const t=this._table.highlightIds.on("change",(t=>{this._handleOnChange(t)}));this._table.viewModel.addHandles(t);const i=this.reactiveUtils.watch((()=>this._table.size),(t=>{this._size=t}));this._table.viewModel.addHandles(i)})))}async _handleOnChange(t){if(!await this._validateActiveEdits([...t.added],[...t.removed]))return;const i=[...this._getIds()];if(this._skipOnChange)this._skipOnChange=!1;else{if(!this._ctrlIsPressed&&!this._shiftIsPressed||this._selectionFromMap&&this._shiftIsPressed)if(this.selectedIds.length>0){this._skipOnChange=!0;const e=this.selectedIds.length>1&&1===t.removed.length?t.removed:i.filter((t=>this.selectedIds.indexOf(t)<0));this._tempSelectedIds=e.length?[...e]:[...this.selectedIds],this._clearSelection(),this.selectedIds=[...e],e.length>0?this._table.highlightIds.add(e[0]):this._skipOnChange=!1}else this.selectedIds=i.reverse(),this._tempSelectedIds=[...this.selectedIds];else if(this._ctrlIsPressed)this.selectedIds=i.reverse(),this._tempSelectedIds=[...this.selectedIds];else if(this._shiftIsPressed&&i?.length>0)if(this._skipOnChange=!0,this._previousCurrentId=this._currentId,this._currentId=[...i].reverse()[0],1===i.length)this._skipOnChange=!1;else if(this._previousCurrentId!==this._currentId){const t=this._table.activeSortOrders.reduce(((t,i)=>(t.push(`${i.fieldName} ${i.direction}`),t)),[]);let e=!1;setTimeout((()=>{e||(this._queryingData=!0)}),500);const s=await d(0,this._layer,[],t);e=!0,this._queryingData=!1;let a=!1;const h=this._table.viewModel.getObjectIdIndex(this._previousCurrentId),o=this._table.viewModel.getObjectIdIndex(this._currentId);this._skipOnChange=(h<o?h:o)+1!==(o>h?o:h);const l=s.reduce(((t,i)=>{const e=i;return e===this._currentId||e===this._previousCurrentId?(a=!a,t.indexOf(e)<0&&t.push(e)):a&&t.indexOf(e)<0&&t.push(e),t}),[]),n=h<o?l.reverse():l;this.selectedIds=[...new Set([...n,...this.selectedIds])],this._tempSelectedIds=[...this.selectedIds],this._table.highlightIds.addMany(this.selectedIds.filter((t=>i.indexOf(t)<0)))}this._finishOnChange()}this._currentId=[...this._getIds()].reverse()[0],this._selectionFromMap=!1}async _validateActiveEdits(t,i){let e=!0;if(this._editor&&!this._skipEditCheck){if(this._hasPendingEdits()){let s=!1;try{await this._editor.cancelWorkflow({force:!1})}catch(t){s="workflow:cancel-denied"===t.name}s&&(e=!1,this._skipEditCheck=!0,t.length>0?this._table.highlightIds.removeMany(t):i.length>0&&this._table.highlightIds.addMany(i))}}else e=!this._skipEditCheck,this._skipEditCheck=!1;return e}_hasPendingEdits(){const t=this._editor?.viewModel?.hasPendingEdits,i=this._editor?.activeWorkflow?.activeWorkflow?.hasPendingEdits;return t||i}_finishOnChange(){this._showOnlySelected&&(this._featuresSelected()?this._table.filterBySelection():this._toggleShowSelected()),this.featureSelectionChange.emit(this.selectedIds)}_resetColumnTemplates(){const t=this._getColumnTemplates(this._layer?.id,this._layer?.fields),i=t?.some(((t,i)=>JSON.stringify(this._table?.tableTemplate.columnTemplates[i])!==JSON.stringify(t)));if(this._table&&t&&(i||!this._columnsInfo)){this._table.tableTemplate=new this.TableTemplate({columnTemplates:t});const i=t.map((t=>t.fieldName));this._initColumnsInfo(i)}}async _resetTable(){if(this._loaded=!1,this._clearSelection(),this._allIds=await r(this._layer),this._table)this._table.view=this.mapView,this._table.layer=this._layer;else{const t=this._getColumnTemplates(this._layer.id,this._layer?.fields);await this._getTable(this._tableNode,t)}await this._initLayerRefresh(),this._checkEditEnabled(),this._table.editingEnabled=this._editEnabled&&this.enableInlineEdit,await this._table.when(),setTimeout((()=>{this._loaded||this.finishLoading()}),1e3),await this.reactiveUtils.once((()=>"loaded"===this._table.state)).then((async()=>{await this.finishLoading()}))}async finishLoading(){try{this._loaded=!0,this._table.highlightIds.removeAll(),this._table.objectIds.removeAll(),this._resetColumnTemplates(),this._showOnlySelected=!1,await this._handleDefaults(),await this._sortTable(),this._initToolInfos(),this._updateToolbar()}catch(t){console.log(t)}}async _initLayerRefresh(){this._refreshHandle&&this._refreshHandle.remove(),this._refreshHandle=this._layer.on("refresh",(t=>{t.dataChanged&&(this._skipOnChange=!0,this._updateAllIds())}))}async _updateAllIds(){this._allIds=await r(this._layer),this.selectedIds=this.selectedIds.filter((t=>this._allIds.indexOf(t)>-1)),await this._refresh()}async _handleDefaults(){if(!this._defaultOidHonored&&this.defaultOid?.length>0&&this.defaultOid[0]>-1&&this._table&&(await this._selectDefaultFeature(this.defaultOid),this._defaultOidHonored=!0,this.defaultOid=void 0,this._showOnlySelected=!1,this._toggleShowSelected()),!this._defaultGlobalIdHonored&&this.defaultGlobalId?.length>0&&this._table){const t=await p(this.defaultGlobalId,this._layer),i=t?.length>0?t.map((t=>t.getObjectId())):void 0;i&&await this._selectDefaultFeature(i),this._defaultGlobalIdHonored=!0,this.defaultGlobalId=void 0,this._showOnlySelected=!1,this._toggleShowSelected()}}_initColumnsInfo(t){const i=this._table?.columns.reduce(((i,e)=>((!t||t?.indexOf(e.name)>-1)&&(i[e.name]=!e.hidden),i)),{}),e=this._table?.columns.map((t=>t.name));(t?t.filter((t=>e.indexOf(t)<0)):[]).forEach((t=>{i[t]=!0})),this._columnsInfo=t?t.reduce(((t,e)=>(t[e]=i[e],t)),{}):i}async _selectDefaultFeature(t){t.length>0&&this._table.highlightIds.addMany(t)}_checkEditEnabled(){this._editEnabled=this._layer.editingEnabled&&this._layer.capabilities.operations.supportsUpdate,this._deleteEnabled=this._layer.editingEnabled&&this._layer.capabilities.operations.supportsDelete}async _sortTable(){let t,i=this._layer?.objectIdField,e="desc";this.mapInfo?.layerOptions?.layers?.length>0&&this._layer?.id&&(t=this.mapInfo.layerOptions.layers.filter((t=>t.id===this._layer.id)),t&&t.length>0&&(t=t[0],t.sortField&&t.fields?.includes(t.sortField)&&(i=t.sortField),e=t?.sortOrder?t.sortOrder:"desc")),this._table&&this._layer&&(await this._table.when(),await this._layer.when((()=>{this._table.sortColumn(i,e)})))}_forceShowHide(){this._showHideDropdown&&(this._showHideDropdown.open=this._showHideOpen),this._moreDropdown&&(this._moreDropdown.open=this._showHideOpen)}_toggleShowHide(){this._showHideOpen=!this._showHideOpen}_closeShowHide(){this._showHideOpen=!1}_handleDocumentClick(t){const i=t.target?.id;i.startsWith("layer-table-")?this._moreDropdown.open=!0:this._showHideOpen&&Object.keys(this._columnsInfo).indexOf(i)<0&&"chevron-right"!==i&&(this._closeShowHide(),this._moreDropdown&&(this._moreDropdown.open=!1),this._showHideDropdown&&(this._showHideDropdown.open=!1))}_handleKeyDown(t){this._ctrlIsPressed=t.ctrlKey,this._shiftIsPressed=t.shiftKey}_handleKeyUp(t){this._ctrlIsPressed=t.ctrlKey,this._shiftIsPressed=t.shiftKey}_filterModal(){return alert("_filterModal how does this one get hit??"),s("calcite-dialog",{class:"filter-content-space",heading:this._translations?.filter?.replace("{{title}}",this._layer?.title),id:"solutions-filter-dialog",kind:"brand",modal:!0,onCalciteDialogClose:()=>{this._closeFilter()},open:this._filterOpen,widthScale:"s"},s("instant-apps-filter-list",{autoUpdateUrl:!1,closeBtn:!0,closeBtnOnClick:async()=>this._closeFilter(),comboboxOverlayPositioning:"fixed",layerExpressions:this._layerExpressions,onFilterListReset:()=>{this._handleFilterListReset()},onFilterUpdate:()=>{this._handleFilterUpdate(this._filterList.filterCount>0)},ref:t=>this._filterList=t,view:this.mapView,zoomBtn:!1}))}async _handleFilterListReset(){this._filterActive=!1,this._updateShareUrl(),await this._searchFullText()}async _handleFilterUpdate(t){const i=this._layer.definitionExpression;if(this._floorExpression){const t=new RegExp(`${this._floorField} = ['].+[']`,"gm");this._layer.definitionExpression=i&&this._floorField&&i.indexOf(`${this._floorField} = '`)>-1?i.replace(t,this._floorExpression):i?`${i} AND (${this._floorExpression})`:this._floorExpression}this._filterActive=t,this._updateShareUrl(),await this._searchFullText()}async _closeFilter(){this._filterOpen&&(this._allIds=await r(this._layer),this._filterOpen=!1)}async _mapClicked(t){const i={include:this._layer},e=await this.mapView.hitTest(t.screenPoint,i);e.results.length>0?(e.results.forEach((t=>{const i=t.graphic.getObjectId();this._table.highlightIds.indexOf(i)<0&&(this._selectionFromMap=!0,this._table.highlightIds.add(i))})),this._showOnlySelected&&this._table.filterBySelection()):await this.clearSelection()}async _selectAll(){const t=this._allIds,i=t.filter((t=>this.selectedIds.indexOf(t)<0));await this._validateActiveEdits(i,this.selectedIds)?(this._table.highlightIds.removeAll(),this._skipOnChange=!0,this._table.highlightIds.addMany(t),this.selectedIds=t,this._finishOnChange(),this._selectAllActive=!0):this._skipEditCheck=!1}_toggleShowSelected(){this._showOnlySelected=!this._showOnlySelected,this._showOnlySelected?this._table.filterBySelection():this._table.objectIds.removeAll()}_clearSelection(){this.selectedIds=[],this._table?.highlightIds.removeAll(),this._table?.rowHighlightIds.removeAll(),this._finishOnChange()}_toggleFilter(){this._filterOpen=!this._filterOpen}_initLayerExpressions(){const t=this.mapInfo?.filterConfig?.layerExpressions;this._layerExpressions=t?t.filter((t=>t.id===this._layer?.id)):[],this._filterList.layerExpressions=this._layerExpressions,this._filterActive=this._layerExpressions.filter((t=>t.expressions.filter((t=>t.active)).length>0)).length>0}async _switchSelected(){const t=[...this.selectedIds],i=this._allIds.reduce(((i,e)=>(t.indexOf(e)<0&&i.push(e),i)),[]).sort(((t,i)=>t-i));await this._validateActiveEdits(i,t)?(this._table.highlightIds.removeAll(),this._skipOnChange=!0,this._table.highlightIds.addMany(i),this.selectedIds=i,this._finishOnChange()):this._skipEditCheck=!1}async _exportToCSV(){const t={},i=this._getIds();t[this._layer.id]={selectionSetNames:[this._layer.title],ids:i,layer:this._layer};const e=this._table.columns.toArray().reduce(((t,i)=>(i.hidden||t.push(i.name.toLocaleLowerCase()),t)),[]);this._updateToolInfoLoading("export",!0),this._csvExporting=!0,await f(null,t,!1,!1,!0,e,!0,!0),this._updateToolInfoLoading("export",!1),this._csvExporting=!1}_updateToolInfoLoading(t,i){this._toolInfos.some((e=>{if(e?.icon===t)return e.loading=i,!0}))}async _refresh(){await this._validateActiveEdits([],this.selectedIds)&&(await this._table.refresh(),this._allIds=await r(this._layer),this.featureSelectionChange.emit(this.selectedIds))}async _zoom(){if(this._layer){const t=await b(this.mapView,this._layer.id);await c(this.selectedIds,t,this.mapView,!0,void 0,this.zoomToScale)}}async _layerSelectionChanged(t){const i=t.detail[0];if(i!==this._layer?.id||this._featuresEmpty()){this._fetchingData=!0;const t=await l(this.mapView,i);t&&await t.when((()=>{this._layer=t,this._getFullTextSearchInfo()}))}this._fetchingData=!1}_getColumnTemplates(t,i){let e;this.mapInfo?.layerOptions?.layers.some((i=>{if(i.id===t)return e=i,!0}));const s=this._layer?.attributeTableTemplate?.elements;let a=[];s?.length>0&&this.honorMapFieldSettings&&(a=s.map((t=>t.fieldName)));const h=e?.fields&&e?.fieldOrder?e.fieldOrder.filter((t=>e.fields.indexOf(t)>-1)):a.length>0?a:void 0;let o;return i&&(o=i.reduce(((t,i)=>{const s={type:"field",fieldName:i.name,label:i.alias,menuConfig:this._getMenuConfig(i.name)};return e&&e?.fields?e.fields.indexOf(i.name)>-1&&t.push(s):a.length>0?a.indexOf(i.name)>-1&&t.push(s):t.push(s),t}),[])),h?o?.sort(this._sortFields.bind(this,h)):o}_sortFields(t,i,e){return t?.indexOf(i.fieldName)-t.indexOf(e.fieldName)}_getMenuConfig(t){return{items:[{label:this._translations.hideField,icon:"view-hide",autoCloseMenu:!0,clickFunction:()=>{this._handleHideClick(t)}}]}}_handleHideClick(t){this._columnsInfo[t]=!1,this._table.hideColumn(t),this._table.tableTemplate.columnTemplates.forEach((i=>{i.fieldName===t&&(i.visible=!1)}))}async _getTranslations(){const t=await h(this.el);this._translations=t[0]}static get watchers(){return{appLayout:["appLayoutWatchHandler"],defaultOid:["defaultOidWatchHandler"],defaultGlobalId:["defaultGlobalIdWatchHandler"],enableCSV:["enableCSVWatchHandler"],enableInlineEdit:["enableInlineEditWatchHandler"],enableShare:["enableShareWatchHandler"],_controlsThatFit:["_controlsThatFitWatchHandler"],locale:["localeWatchHandler"],mapHidden:["mapHiddenWatchHandler"],isMobile:["isMobileWatchHandler"],mapInfo:["mapInfoWatchHandler"],mapView:["mapViewWatchHandler"],_layer:["_layerWatchHandler"],selectedIds:["selectedIdsWatchHandler"]}}};function w(t){return function(t){return-1!==t?.indexOf("http://")}(t)?t.replace(/^http:\/\//,"https://"):t}m.style=':host{display:block}.height-full{height:100%}.height-full-adjusted{height:calc(100% - 20px)}.width-full{width:100%}.display-flex{display:flex}.table-border{border:1px solid var(--calcite-color-border-2)}.border-end{border-inline-end:1px solid var(--calcite-color-border-2)}.border-bottom{border-bottom:1px solid var(--calcite-color-border-2)}.padding-5{padding:5px}.padding-end-1{padding-inline-end:1rem}.height-51-px{height:51px}.height-50-px{height:50px}.bottom-left{position:absolute;left:0;bottom:0;padding-left:5px}html[dir="rtl"] .bottom-left{position:absolute;right:0;bottom:0;padding-right:5px}.height-19{height:19px}.background{background-color:var(--calcite-color-background)}.text-color{color:var(--calcite-color-text-1)}.align-center{align-items:center}.danger-color{color:var(--calcite-color-status-danger)}.esri-feature-table vaadin-grid{border:none !important}vaadin-grid-cell-content{font-size:14px !important;color:var(--calcite-color-text-3) !important}.share-action{position:absolute;right:0}html[dir="rtl"] .share-action{left:0}.disabled{cursor:default !important;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled);pointer-events:none}.instant-app-share{height:50px !important;display:inline-flex}.border-top{border-top:1px solid var(--calcite-color-border-2)}.modal{--calcite-modal-content-padding:0}.esri-feature-table__table-container{height:100%}.search-container{background-color:var(--calcite-color-foreground-1) !important}.search{--calcite-color-border-input:var(--calcite-color-border-3);width:60%;padding:10px}.delete-red{--calcite-icon-color:var(--calcite-color-status-danger);--calcite-color-text-1:var(--calcite-color-status-danger);--calcite-color-text-3:var(--calcite-color-status-danger)}';const y=class{constructor(e){t(this,e),this.mapChanged=i(this,"mapChanged",7),this.beforeMapChanged=i(this,"beforeMapChanged",7),this.toggleFilter=i(this,"toggleFilter",7),this.clearSelection=i(this,"clearSelection",7)}get el(){return e(this)}appLayout;appProxies;defaultWebmapId="";defaultLayerId;enableHome;enableLegend;enableFloorFilter;enableFullscreen;enableShare=!1;enableSingleExpand=!0;enableSearch;enableBasemap;basemapConfig;hidden;homeZoomIndex=3;homeZoomPosition="top-left";homeZoomToolsSize="m";locale;mapInfos=[];mapWidgetsIndex=0;mapWidgetsPosition="top-right";mapWidgetsSize="m";mapView;stackTools=!0;theme;toolOrder;isMapLayout;shareIncludeEmbed;shareIncludeSocial;selectedFeaturesIds;selectedLayer;zoomToScale;onlyShowUpdatableLayers;isMobile;mapInfo;_translations;_searchConfiguration;_webMapInfo;_showHideOpen=!1;_toolInfos;_controlsThatFit;esriConfig;Home;MapView;WebMap;_defaultWebmapHonored=!1;_homeWidget;_loadedId="";_mapDiv;_mapPicker;_mapTools;_moreDropdown;_mapListExpanded=!1;_filterActive=!1;_definitionExpression;_mapLayerPicker;_resizeObserver;_shareNode;_showHideDropdown;_toolbar;_timeout;_toolbarSizeInfos;_defaultVisibleToolSizeInfos;_observerSet=!1;appLayoutWatchHandler(){this._updateShareUrl()}enableHomeWatchHandler(){this._initHome()}enableShareWatchHandler(){this._toolbar&&this._updateToolbar()}async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}async mapViewWatchHandler(){this.mapView&&this._updateShareUrl()}async selectedLayerWatchHandler(){await(this.selectedLayer?.when((async()=>{this._definitionExpression=this.selectedLayer.definitionExpression})))}async selectedFeaturesIdsWatchHandler(){this._updateShareUrl(),this._validateEnabledActions()}_controlsThatFitWatchHandler(){const t=this._controlsThatFit?this._controlsThatFit.reduce(((t,i)=>(t.push(i.id),t)),[]):[];this._toolInfos=this._toolInfos?.map((i=>{if(i&&this._controlsThatFit){const e=this._getId(i.icon);return i.isOverflow=t.indexOf(e)<0,i}}))}async resetFilter(){this._filterActive=!1,this._updateShareUrl()}async updateFilterState(t){this._filterActive=t,this._updateShareUrl()}async updateLayer(){this._mapLayerPicker.updateLayer()}mapChanged;beforeMapChanged;toggleFilter;clearSelection;async mapInfoChange(t){await this._loadMap(t.detail)}noLayersFound(){this.selectedLayer=void 0,this.selectedFeaturesIds=[]}layerSelectionChange(){setTimeout((()=>{this._initToolInfos()}),50)}async componentWillLoad(){await this._getTranslations(),await this._initModules(),this._initToolInfos(),this._resizeObserver||(this._resizeObserver=new ResizeObserver((()=>this._updateToolbar())))}render(){const t=this.isMapLayout?"display-flex height-49-px":"",i=this.hidden?"visibility-hidden-1":"",e="dark"===this.theme?"calcite-mode-dark":"calcite-mode-light",h=this.mapInfos?.length>1||this.isMapLayout?"map-height":"height-full",o=this.isMapLayout?"":"display-none";return this._validateActiveActions(),s(a,{key:"a47f4ac21db985fb91ff3f5378594f60405f312c"},s("div",{key:"fdf76fd829a8e88725b43f8174a0d95fbf7a3dd1",class:`${t} width-full`,ref:t=>this._toolbar=t},this._getActionBar(),!this.isMobile&&this.isMapLayout&&this._getDropdown("more-table-options"),this.enableShare&&!this.isMobile&&this.isMapLayout?this._getShare("share"):void 0),s("calcite-progress",{key:"b5b672726b4a4c812c386faad2077135a1e1231c",class:o,value:0}),s("div",{key:"f815ef4dba45b53c0ec4a49fe12e741b3331ce51",class:`${h} ${i}`,ref:t=>this._mapDiv=t}),s("map-tools",{key:"8e2ed31f49d349786caa4827a473a8e70e6ae611",basemapConfig:this.basemapConfig,class:`box-shadow ${e}`,enableBasemap:this.enableBasemap,enableFloorFilter:this.enableFloorFilter,enableFullscreen:this.enableFullscreen,enableHome:this.enableHome,enableLegend:this.enableLegend,enableSearch:this.enableSearch,enableSingleExpand:this.enableSingleExpand,homeZoomToolsSize:this.homeZoomToolsSize,locale:this.locale,mapView:this.mapView,mapWidgetsSize:this.mapWidgetsSize,position:this.mapWidgetsPosition,ref:t=>this._mapTools=t,searchConfiguration:this._searchConfiguration,stackTools:this.stackTools,toolOrder:this.toolOrder}))}async componentDidRender(){this.isMapLayout&&this._updateToolbar(),document.onclick=t=>this._handleDocumentClick(t)}async componentDidLoad(){this.isMobile||this._observerSet||(this._resizeObserver.observe(this._toolbar),this._observerSet=!0),this._updateShareUrl()}async _initModules(){const[t,i,e,s]=await o(["esri/WebMap","esri/views/MapView","esri/widgets/Home","esri/config"]);this.WebMap=t,this.MapView=i,this.Home=e,this.esriConfig=s}async _loadMap(t){const i=!this._defaultWebmapHonored&&this.defaultWebmapId,e=this.mapInfos?.filter((t=>t.id===this.defaultWebmapId)),s=JSON.stringify(t)!==JSON.stringify(this._webMapInfo);this._webMapInfo=i&&e?e[0]:!t?.id&&this.mapInfos.length>0?this.mapInfos[0]:t;const a=this._webMapInfo.id,h=i&&t?.id===this.defaultWebmapId;if(this._loadedId!==a&&!i||h){const t=new this.WebMap({portalItem:{id:a}});this.appProxies&&(await t.load(),await(o=t,l=this.esriConfig,n=this.appProxies,n&&n.forEach((t=>{o.allLayers.forEach((i=>{i&&i.url===t.sourceUrl&&(i.url=w(t.proxyUrl),i.portalItem&&i.portalItem.when((()=>{i.portalItem.url=w(t.proxyUrl)})),l.request?.interceptors?.push({urls:t.sourceUrl,before:i=>{i.url&&i.url===t.sourceUrl&&(i.url=w(t.proxyUrl))}}))}))})),o)),this.mapView=new this.MapView({container:this._mapDiv,map:t,resizeAlign:"center"}),this._loadedId=a,this._searchConfiguration=this._webMapInfo.searchConfiguration,this.beforeMapChanged.emit(),await this.mapView.when((()=>{this._initHome(),this.mapView.ui.add(this._mapTools,{position:this.mapWidgetsPosition,index:this.mapWidgetsIndex}),this._defaultWebmapHonored=!!h||this._defaultWebmapHonored,this.mapChanged.emit({id:a,mapView:this.mapView})}))}else i?(this._defaultWebmapHonored=!0,this._mapPicker.setMapByID(a)):s&&(this._searchConfiguration=this._webMapInfo.searchConfiguration,this.beforeMapChanged.emit(),this.mapChanged.emit({id:a,mapView:this.mapView}));var o,l,n;this._updateShareUrl()}_updateToolbar(){this._timeout&&clearTimeout(this._timeout),!this.isMobile&&this._toolbar&&this._toolInfos&&(this._timeout=setTimeout((()=>{clearTimeout(this._timeout),this._setToolbarSizeInfos();const t=this._toolbar.offsetWidth;let i=this._toolbarSizeInfos.reduce(((t,i)=>t+i.width),0);const e=["solutions-more","solutions-map-layer-picker-container","map-picker","solutions-action-share"];if(i>t){if(this._toolbarSizeInfos.length>0){const s=[...this._toolbarSizeInfos].reverse().reduce(((s,a)=>(e.indexOf(a.id)<0&&(i>t?i-=a.width:s.push(a)),s)),[]).reverse();this._setControlsThatFit(s,e)}}else if(this._defaultVisibleToolSizeInfos){const s=this._toolbarSizeInfos.reduce(((t,i)=>(t.push(i.id),t)),[]);let a=!1;const h=[...this._defaultVisibleToolSizeInfos].reduce(((h,o)=>(!a&&e.indexOf(o.id)<0&&(s.indexOf(o.id)>-1||i+o.width<=t)?(s.indexOf(o.id)<0&&(i+=o.width),h.push(o)):e.indexOf(o.id)<0&&i+o.width>t&&(a=!0),h)),[]);this._setControlsThatFit(h,e)}}),250))}_setControlsThatFit(t,i){let e=JSON.stringify(t)!==JSON.stringify(this._controlsThatFit);const s=document.getElementById("solutions-action-bar");s?.childNodes?.forEach((t=>{i.indexOf(t.id)<0&&!e&&(e=this._controlsThatFit.map((t=>t.id)).indexOf(t.id)<0)})),e&&(this._controlsThatFit=[...t])}_setToolbarSizeInfos(){let t=!1;this._toolbarSizeInfos=[],this._toolbar.childNodes.forEach(((i,e)=>{0===e?i.childNodes.forEach((i=>{this._toolbarSizeInfos.push({id:i.id,width:i.offsetWidth}),t||(t=i.offsetWidth>0)})):i.referenceElement||(this._toolbarSizeInfos.push({id:i.id,width:i.offsetWidth}),t||(t=i.offsetWidth>0))})),t&&!this._defaultVisibleToolSizeInfos&&(this._defaultVisibleToolSizeInfos=[...this._toolbarSizeInfos])}_getActionBar(){const t=this.mapInfos?.length>1?"":"display-none",i=this.isMapLayout?"display-flex":"display-block",e=this.isMobile?"border-top":"",a=this.isMapLayout?"":"display-none";return s("calcite-action-bar",{class:i,expandDisabled:!0,expanded:!0,id:this._getId("bar"),layout:"horizontal"},s("map-picker",{class:t,id:"map-picker",isMapLayout:this.isMapLayout,locale:this.locale,mapInfos:this.mapInfos,ref:t=>this._mapPicker=t}),s("div",{class:`mapView-header display-flex ${a}`,id:"solutions-map-layer-picker-container"},s("div",{class:`border-end ${i} ${e}`},this.mapView&&s("map-layer-picker",{appearance:"transparent",defaultLayerId:this.defaultLayerId,display:"inline-flex",height:50,isMobile:this.isMobile,locale:this.locale,mapView:this.mapView,onlyShowUpdatableLayers:this.onlyShowUpdatableLayers,placeholderIcon:"layers",ref:t=>this._mapLayerPicker=t,scale:"l",selectedIds:this.selectedLayer?[this.selectedLayer.id]:[],showSingleLayerAsLabel:!0,showTables:!0,showTablesDisabled:!0,type:"dropdown"}))),!this.isMobile&&this.isMapLayout?this._getActions():void 0)}_getDropdown(t){const i=this._getDropdownItems();return i.length>0?s("calcite-dropdown",{closeOnSelectDisabled:!0,disabled:void 0===this.selectedLayer,id:"solutions-more",onCalciteDropdownBeforeClose:()=>this._forceShowHide(),ref:t=>this._moreDropdown=t},s("calcite-action",{appearance:"solid",id:t,label:"",onClick:()=>this._closeShowHide(),slot:"trigger",text:""},s("calcite-button",{appearance:"transparent",iconEnd:"chevron-down",kind:"neutral"},this._translations.more)),s("calcite-dropdown-group",{"selection-mode":"none"},i.map((t=>s("calcite-dropdown-group",{class:t.disabled?"disabled":"",selectionMode:"none"},s("calcite-dropdown-item",{disabled:t.loading,iconStart:t.icon,id:"solutions-subset-list",onClick:t.func},t.loading?s("div",{class:"display-flex"},s("calcite-loader",{inline:!0,label:t.label,scale:"m"}),t.label):t.label)))))):void 0}_getShare(t){return s("div",{class:"share-action",id:this._getId(t)},s("instant-apps-social-share",{autoUpdateShareUrl:!1,class:"instant-app-share",embed:this.shareIncludeEmbed,popoverButtonIconScale:"s",ref:t=>{this._shareNode=t,this._updateShareUrl()},scale:"m",shareButtonColor:"neutral",shareButtonType:"action",socialMedia:this.shareIncludeSocial,view:this.mapView}),this._getToolTip("bottom",t,this._translations.share))}_updateShareUrl(){const t=this._shareNode?.shareUrl;if(!t)return;const i=new URL(t);this._loadedId?i.searchParams.set("webmap",this._loadedId):i.searchParams.delete("webmap"),this.selectedLayer?.id?i.searchParams.set("layer",this.selectedLayer.id):i.searchParams.delete("layer"),this.selectedFeaturesIds?.length>0?i.searchParams.set("oid",this.selectedFeaturesIds.join(",")):i.searchParams.delete("oid"),i.searchParams.set("applayout",this.appLayout),this._shareNode.shareUrl=i.href}_closeShowHide(){this._showHideOpen=!1}_getDropdownItems(){return this._toolInfos?.filter((t=>t&&t.isOverflow))}_initToolInfos(){const t=this.selectedFeaturesIds?.length>0,i=this._hasFilterExpressions(),e=this.selectedFeaturesIds?.length>1&&!1;this._translations&&(this._toolInfos=[{active:!1,icon:"zoom-to-object",indicator:!1,label:this._translations.zoom,func:()=>this._zoom(),disabled:!t,isOverflow:!1},i?{active:!1,icon:"filter",indicator:!1,label:this._translations.filters,func:()=>this._toggleFilter(),disabled:!1,isOverflow:!1}:void 0,e?{active:!1,icon:"pencil",indicator:!1,label:this._translations.editMultiple,func:()=>alert(this._translations.editMultiple),disabled:!e,isOverflow:!1}:void 0,{active:!1,icon:"refresh",indicator:!1,label:this._translations.refresh,func:()=>this.selectedLayer.refresh(),disabled:!1,isOverflow:!1},{active:!1,icon:"erase",indicator:!1,label:this._translations.clearSelection,func:()=>this.clearSelection.emit(),disabled:!t,isOverflow:!1}],this._defaultVisibleToolSizeInfos=void 0)}_validateActiveActions(){const t=["filter"];this._toolInfos?.forEach((i=>{i&&t.indexOf(i.icon)>-1&&"filter"===i.icon&&(i.indicator=this._filterActive)}))}_validateEnabledActions(){const t=this.selectedFeaturesIds?.length>0,i=this.selectedFeaturesIds?.length>1&&this.selectedLayer?.capabilities?.operations?.supportsUpdate,e=["zoom-to-object","pencil","erase"];this._toolInfos?.forEach((s=>{s&&e.indexOf(s.icon)>-1&&(s.disabled="pencil"===s.icon?!i:!t)}))}_initHome(){if(this.enableHome){this._homeWidget=new this.Home({view:this.mapView}),this.mapView.ui.add(this._homeWidget,{position:this.homeZoomPosition,index:this.homeZoomIndex});const t="s"===this.homeZoomToolsSize?"32px":"m"===this.homeZoomToolsSize?"40px":"48px";this._homeWidget.domNode.style.height=t,this._homeWidget.domNode.style.width=t}else this._homeWidget&&this.mapView.ui.remove(this._homeWidget)}_toggleShowHide(){this._showHideOpen=!this._showHideOpen}_forceShowHide(){this._moreDropdown&&(this._moreDropdown.open=this._showHideOpen)}_handleDocumentClick(t){const i=t.target?.id;"solutions-subset-list"===i?this._moreDropdown.open=!0:this._showHideOpen&&"solutions-subset-list"!==i&&"solutions-more"!==i&&"chevron-down"!==i&&this._moreDropdown&&(this._showHideOpen=!1,this._moreDropdown.open=!1),"MAP-PICKER"===t.target.tagName&&(this._mapListExpanded=!this._mapListExpanded,this._mapPicker.toggle(this._mapListExpanded)),"MAP-PICKER"!==t.target.tagName&&(this._mapListExpanded=!1,this._mapPicker.close())}async _zoom(){if(this.selectedLayer){const t=await b(this.mapView,this.selectedLayer.id);await c(this.selectedFeaturesIds,t,this.mapView,!0,void 0,this.zoomToScale)}}async _toggleFilter(){this.toggleFilter.emit()}_hasFilterExpressions(){let t;return this.mapInfo?.filterConfig?.layerExpressions&&this.selectedLayer?.id&&(t=this.mapInfo.filterConfig.layerExpressions.filter((t=>t.id===this.selectedLayer.id))),t?.length>0}_getActions(){const t=this._getActionItems();return t?.reduce(((t,i)=>(i&&!i.isOverflow&&t.push(this._getAction(i.active,i.icon,i.indicator,i.label,i.func,i.disabled,i.loading)),t)),[])}_getToolTip(t,i,e){return document.getElementById(i)?s("calcite-tooltip",{placement:t,"reference-element":"map-"+i},s("span",null,e)):void 0}_getActionItems(){return this._toolInfos?.filter((t=>t&&!t.isOverflow))}_getAction(t,i,e,a,h,o,l,n){const c=void 0===this.selectedLayer||o;return s("div",{class:"display-flex",id:this._getId(i),slot:n},s("calcite-action",{active:t,appearance:"solid",disabled:c,icon:i,id:"map-"+i,indicator:e,label:a,loading:l,onClick:h,text:a,textEnabled:!0}),this._getToolTip("bottom",i,a))}_getId(t){return`solutions-action-${t}`}async _getTranslations(){const t=await h(this.el);this._translations=t[0]}static get watchers(){return{appLayout:["appLayoutWatchHandler"],enableHome:["enableHomeWatchHandler"],enableShare:["enableShareWatchHandler"],locale:["localeWatchHandler"],mapView:["mapViewWatchHandler"],selectedLayer:["selectedLayerWatchHandler"],selectedFeaturesIds:["selectedFeaturesIdsWatchHandler"],_controlsThatFit:["_controlsThatFitWatchHandler"]}}};y.style=":host{display:block;--calcite-label-margin-bottom:0;--calcite-block-padding:0}.map-height{height:calc(100% - 53px)}.height-full{height:100%}.height-49-px{height:49px}.box-shadow{box-shadow:none !important}.visibility-hidden-1{visibility:hidden;height:1px;}.display-none{display:none}.display-block{display:block}";export{u as card_manager,m as layer_table,y as map_card}