@esri/solutions-components 0.11.33 → 0.11.35

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 (656) hide show
  1. package/dist/cjs/card-manager_3.cjs.entry.js +19 -14
  2. package/dist/cjs/crowdsource-manager.cjs.entry.js +2 -1
  3. package/dist/collection/assets/t9n/consent-manager/resources_ar.json +3 -3
  4. package/dist/collection/assets/t9n/consent-manager/resources_bg.json +3 -3
  5. package/dist/collection/assets/t9n/consent-manager/resources_bs.json +3 -3
  6. package/dist/collection/assets/t9n/consent-manager/resources_ca.json +3 -3
  7. package/dist/collection/assets/t9n/consent-manager/resources_cs.json +3 -3
  8. package/dist/collection/assets/t9n/consent-manager/resources_da.json +3 -3
  9. package/dist/collection/assets/t9n/consent-manager/resources_de.json +3 -3
  10. package/dist/collection/assets/t9n/consent-manager/resources_el.json +3 -3
  11. package/dist/collection/assets/t9n/consent-manager/resources_es.json +3 -3
  12. package/dist/collection/assets/t9n/consent-manager/resources_et.json +3 -3
  13. package/dist/collection/assets/t9n/consent-manager/resources_fi.json +3 -3
  14. package/dist/collection/assets/t9n/consent-manager/resources_fr.json +3 -3
  15. package/dist/collection/assets/t9n/consent-manager/resources_he.json +3 -3
  16. package/dist/collection/assets/t9n/consent-manager/resources_hr.json +3 -3
  17. package/dist/collection/assets/t9n/consent-manager/resources_hu.json +3 -3
  18. package/dist/collection/assets/t9n/consent-manager/resources_id.json +3 -3
  19. package/dist/collection/assets/t9n/consent-manager/resources_it.json +3 -3
  20. package/dist/collection/assets/t9n/consent-manager/resources_ja.json +3 -3
  21. package/dist/collection/assets/t9n/consent-manager/resources_ko.json +3 -3
  22. package/dist/collection/assets/t9n/consent-manager/resources_lt.json +3 -3
  23. package/dist/collection/assets/t9n/consent-manager/resources_lv.json +3 -3
  24. package/dist/collection/assets/t9n/consent-manager/resources_nb.json +3 -3
  25. package/dist/collection/assets/t9n/consent-manager/resources_nl.json +3 -3
  26. package/dist/collection/assets/t9n/consent-manager/resources_no.json +3 -3
  27. package/dist/collection/assets/t9n/consent-manager/resources_pl.json +3 -3
  28. package/dist/collection/assets/t9n/consent-manager/resources_pt-BR.json +3 -3
  29. package/dist/collection/assets/t9n/consent-manager/resources_pt-PT.json +3 -3
  30. package/dist/collection/assets/t9n/consent-manager/resources_ro.json +3 -3
  31. package/dist/collection/assets/t9n/consent-manager/resources_ru.json +3 -3
  32. package/dist/collection/assets/t9n/consent-manager/resources_sk.json +3 -3
  33. package/dist/collection/assets/t9n/consent-manager/resources_sl.json +3 -3
  34. package/dist/collection/assets/t9n/consent-manager/resources_sr.json +3 -3
  35. package/dist/collection/assets/t9n/consent-manager/resources_sv.json +3 -3
  36. package/dist/collection/assets/t9n/consent-manager/resources_th.json +3 -3
  37. package/dist/collection/assets/t9n/consent-manager/resources_tr.json +3 -3
  38. package/dist/collection/assets/t9n/consent-manager/resources_uk.json +3 -3
  39. package/dist/collection/assets/t9n/consent-manager/resources_vi.json +3 -3
  40. package/dist/collection/assets/t9n/consent-manager/resources_zh-CN.json +3 -3
  41. package/dist/collection/assets/t9n/consent-manager/resources_zh-HK.json +3 -3
  42. package/dist/collection/assets/t9n/consent-manager/resources_zh-TW.json +3 -3
  43. package/dist/collection/assets/t9n/create-feature/resources_ar.json +1 -1
  44. package/dist/collection/assets/t9n/create-feature/resources_bg.json +1 -1
  45. package/dist/collection/assets/t9n/create-feature/resources_bs.json +1 -1
  46. package/dist/collection/assets/t9n/create-feature/resources_ca.json +1 -1
  47. package/dist/collection/assets/t9n/create-feature/resources_cs.json +1 -1
  48. package/dist/collection/assets/t9n/create-feature/resources_da.json +1 -1
  49. package/dist/collection/assets/t9n/create-feature/resources_de.json +1 -1
  50. package/dist/collection/assets/t9n/create-feature/resources_el.json +1 -1
  51. package/dist/collection/assets/t9n/create-feature/resources_es.json +1 -1
  52. package/dist/collection/assets/t9n/create-feature/resources_et.json +1 -1
  53. package/dist/collection/assets/t9n/create-feature/resources_fi.json +1 -1
  54. package/dist/collection/assets/t9n/create-feature/resources_fr.json +1 -1
  55. package/dist/collection/assets/t9n/create-feature/resources_he.json +1 -1
  56. package/dist/collection/assets/t9n/create-feature/resources_hr.json +1 -1
  57. package/dist/collection/assets/t9n/create-feature/resources_hu.json +1 -1
  58. package/dist/collection/assets/t9n/create-feature/resources_id.json +1 -1
  59. package/dist/collection/assets/t9n/create-feature/resources_it.json +1 -1
  60. package/dist/collection/assets/t9n/create-feature/resources_ja.json +1 -1
  61. package/dist/collection/assets/t9n/create-feature/resources_ko.json +1 -1
  62. package/dist/collection/assets/t9n/create-feature/resources_lt.json +1 -1
  63. package/dist/collection/assets/t9n/create-feature/resources_lv.json +1 -1
  64. package/dist/collection/assets/t9n/create-feature/resources_nb.json +1 -1
  65. package/dist/collection/assets/t9n/create-feature/resources_nl.json +1 -1
  66. package/dist/collection/assets/t9n/create-feature/resources_no.json +1 -1
  67. package/dist/collection/assets/t9n/create-feature/resources_pl.json +1 -1
  68. package/dist/collection/assets/t9n/create-feature/resources_pt-BR.json +1 -1
  69. package/dist/collection/assets/t9n/create-feature/resources_pt-PT.json +1 -1
  70. package/dist/collection/assets/t9n/create-feature/resources_ro.json +1 -1
  71. package/dist/collection/assets/t9n/create-feature/resources_ru.json +1 -1
  72. package/dist/collection/assets/t9n/create-feature/resources_sk.json +1 -1
  73. package/dist/collection/assets/t9n/create-feature/resources_sl.json +1 -1
  74. package/dist/collection/assets/t9n/create-feature/resources_sr.json +1 -1
  75. package/dist/collection/assets/t9n/create-feature/resources_sv.json +1 -1
  76. package/dist/collection/assets/t9n/create-feature/resources_th.json +1 -1
  77. package/dist/collection/assets/t9n/create-feature/resources_tr.json +1 -1
  78. package/dist/collection/assets/t9n/create-feature/resources_uk.json +1 -1
  79. package/dist/collection/assets/t9n/create-feature/resources_vi.json +1 -1
  80. package/dist/collection/assets/t9n/create-feature/resources_zh-CN.json +1 -1
  81. package/dist/collection/assets/t9n/create-feature/resources_zh-HK.json +1 -1
  82. package/dist/collection/assets/t9n/create-feature/resources_zh-TW.json +1 -1
  83. package/dist/collection/assets/t9n/crowdsource-manager/resources_ar.json +3 -3
  84. package/dist/collection/assets/t9n/crowdsource-manager/resources_bg.json +3 -3
  85. package/dist/collection/assets/t9n/crowdsource-manager/resources_bs.json +3 -3
  86. package/dist/collection/assets/t9n/crowdsource-manager/resources_ca.json +3 -3
  87. package/dist/collection/assets/t9n/crowdsource-manager/resources_cs.json +3 -3
  88. package/dist/collection/assets/t9n/crowdsource-manager/resources_da.json +3 -3
  89. package/dist/collection/assets/t9n/crowdsource-manager/resources_de.json +3 -3
  90. package/dist/collection/assets/t9n/crowdsource-manager/resources_el.json +3 -3
  91. package/dist/collection/assets/t9n/crowdsource-manager/resources_es.json +3 -3
  92. package/dist/collection/assets/t9n/crowdsource-manager/resources_et.json +3 -3
  93. package/dist/collection/assets/t9n/crowdsource-manager/resources_fi.json +3 -3
  94. package/dist/collection/assets/t9n/crowdsource-manager/resources_fr.json +3 -3
  95. package/dist/collection/assets/t9n/crowdsource-manager/resources_he.json +3 -3
  96. package/dist/collection/assets/t9n/crowdsource-manager/resources_hr.json +3 -3
  97. package/dist/collection/assets/t9n/crowdsource-manager/resources_hu.json +3 -3
  98. package/dist/collection/assets/t9n/crowdsource-manager/resources_id.json +3 -3
  99. package/dist/collection/assets/t9n/crowdsource-manager/resources_it.json +3 -3
  100. package/dist/collection/assets/t9n/crowdsource-manager/resources_ja.json +3 -3
  101. package/dist/collection/assets/t9n/crowdsource-manager/resources_ko.json +3 -3
  102. package/dist/collection/assets/t9n/crowdsource-manager/resources_lt.json +3 -3
  103. package/dist/collection/assets/t9n/crowdsource-manager/resources_lv.json +3 -3
  104. package/dist/collection/assets/t9n/crowdsource-manager/resources_nb.json +3 -3
  105. package/dist/collection/assets/t9n/crowdsource-manager/resources_nl.json +3 -3
  106. package/dist/collection/assets/t9n/crowdsource-manager/resources_no.json +3 -3
  107. package/dist/collection/assets/t9n/crowdsource-manager/resources_pl.json +3 -3
  108. package/dist/collection/assets/t9n/crowdsource-manager/resources_pt-BR.json +3 -3
  109. package/dist/collection/assets/t9n/crowdsource-manager/resources_pt-PT.json +3 -3
  110. package/dist/collection/assets/t9n/crowdsource-manager/resources_ro.json +3 -3
  111. package/dist/collection/assets/t9n/crowdsource-manager/resources_ru.json +3 -3
  112. package/dist/collection/assets/t9n/crowdsource-manager/resources_sk.json +3 -3
  113. package/dist/collection/assets/t9n/crowdsource-manager/resources_sl.json +3 -3
  114. package/dist/collection/assets/t9n/crowdsource-manager/resources_sr.json +3 -3
  115. package/dist/collection/assets/t9n/crowdsource-manager/resources_sv.json +3 -3
  116. package/dist/collection/assets/t9n/crowdsource-manager/resources_th.json +3 -3
  117. package/dist/collection/assets/t9n/crowdsource-manager/resources_tr.json +3 -3
  118. package/dist/collection/assets/t9n/crowdsource-manager/resources_uk.json +3 -3
  119. package/dist/collection/assets/t9n/crowdsource-manager/resources_vi.json +3 -3
  120. package/dist/collection/assets/t9n/crowdsource-manager/resources_zh-CN.json +3 -3
  121. package/dist/collection/assets/t9n/crowdsource-manager/resources_zh-HK.json +3 -3
  122. package/dist/collection/assets/t9n/crowdsource-manager/resources_zh-TW.json +3 -3
  123. package/dist/collection/assets/t9n/crowdsource-reporter/resources_ar.json +2 -2
  124. package/dist/collection/assets/t9n/crowdsource-reporter/resources_bg.json +2 -2
  125. package/dist/collection/assets/t9n/crowdsource-reporter/resources_bs.json +2 -2
  126. package/dist/collection/assets/t9n/crowdsource-reporter/resources_ca.json +2 -2
  127. package/dist/collection/assets/t9n/crowdsource-reporter/resources_cs.json +2 -2
  128. package/dist/collection/assets/t9n/crowdsource-reporter/resources_da.json +2 -2
  129. package/dist/collection/assets/t9n/crowdsource-reporter/resources_de.json +2 -2
  130. package/dist/collection/assets/t9n/crowdsource-reporter/resources_el.json +2 -2
  131. package/dist/collection/assets/t9n/crowdsource-reporter/resources_es.json +2 -2
  132. package/dist/collection/assets/t9n/crowdsource-reporter/resources_et.json +2 -2
  133. package/dist/collection/assets/t9n/crowdsource-reporter/resources_fi.json +2 -2
  134. package/dist/collection/assets/t9n/crowdsource-reporter/resources_fr.json +2 -2
  135. package/dist/collection/assets/t9n/crowdsource-reporter/resources_he.json +2 -2
  136. package/dist/collection/assets/t9n/crowdsource-reporter/resources_hr.json +2 -2
  137. package/dist/collection/assets/t9n/crowdsource-reporter/resources_hu.json +2 -2
  138. package/dist/collection/assets/t9n/crowdsource-reporter/resources_id.json +2 -2
  139. package/dist/collection/assets/t9n/crowdsource-reporter/resources_it.json +2 -2
  140. package/dist/collection/assets/t9n/crowdsource-reporter/resources_ja.json +2 -2
  141. package/dist/collection/assets/t9n/crowdsource-reporter/resources_ko.json +2 -2
  142. package/dist/collection/assets/t9n/crowdsource-reporter/resources_lt.json +2 -2
  143. package/dist/collection/assets/t9n/crowdsource-reporter/resources_lv.json +2 -2
  144. package/dist/collection/assets/t9n/crowdsource-reporter/resources_nb.json +2 -2
  145. package/dist/collection/assets/t9n/crowdsource-reporter/resources_nl.json +2 -2
  146. package/dist/collection/assets/t9n/crowdsource-reporter/resources_no.json +2 -2
  147. package/dist/collection/assets/t9n/crowdsource-reporter/resources_pl.json +2 -2
  148. package/dist/collection/assets/t9n/crowdsource-reporter/resources_pt-BR.json +2 -2
  149. package/dist/collection/assets/t9n/crowdsource-reporter/resources_pt-PT.json +2 -2
  150. package/dist/collection/assets/t9n/crowdsource-reporter/resources_ro.json +2 -2
  151. package/dist/collection/assets/t9n/crowdsource-reporter/resources_ru.json +2 -2
  152. package/dist/collection/assets/t9n/crowdsource-reporter/resources_sk.json +2 -2
  153. package/dist/collection/assets/t9n/crowdsource-reporter/resources_sl.json +2 -2
  154. package/dist/collection/assets/t9n/crowdsource-reporter/resources_sr.json +2 -2
  155. package/dist/collection/assets/t9n/crowdsource-reporter/resources_sv.json +2 -2
  156. package/dist/collection/assets/t9n/crowdsource-reporter/resources_th.json +2 -2
  157. package/dist/collection/assets/t9n/crowdsource-reporter/resources_tr.json +2 -2
  158. package/dist/collection/assets/t9n/crowdsource-reporter/resources_uk.json +2 -2
  159. package/dist/collection/assets/t9n/crowdsource-reporter/resources_vi.json +2 -2
  160. package/dist/collection/assets/t9n/crowdsource-reporter/resources_zh-CN.json +2 -2
  161. package/dist/collection/assets/t9n/crowdsource-reporter/resources_zh-HK.json +2 -2
  162. package/dist/collection/assets/t9n/crowdsource-reporter/resources_zh-TW.json +2 -2
  163. package/dist/collection/assets/t9n/feature-list/resources_ar.json +2 -2
  164. package/dist/collection/assets/t9n/feature-list/resources_bg.json +2 -2
  165. package/dist/collection/assets/t9n/feature-list/resources_bs.json +2 -2
  166. package/dist/collection/assets/t9n/feature-list/resources_ca.json +2 -2
  167. package/dist/collection/assets/t9n/feature-list/resources_cs.json +2 -2
  168. package/dist/collection/assets/t9n/feature-list/resources_da.json +2 -2
  169. package/dist/collection/assets/t9n/feature-list/resources_de.json +2 -2
  170. package/dist/collection/assets/t9n/feature-list/resources_el.json +2 -2
  171. package/dist/collection/assets/t9n/feature-list/resources_es.json +2 -2
  172. package/dist/collection/assets/t9n/feature-list/resources_et.json +2 -2
  173. package/dist/collection/assets/t9n/feature-list/resources_fi.json +2 -2
  174. package/dist/collection/assets/t9n/feature-list/resources_fr.json +2 -2
  175. package/dist/collection/assets/t9n/feature-list/resources_he.json +2 -2
  176. package/dist/collection/assets/t9n/feature-list/resources_hr.json +2 -2
  177. package/dist/collection/assets/t9n/feature-list/resources_hu.json +2 -2
  178. package/dist/collection/assets/t9n/feature-list/resources_id.json +2 -2
  179. package/dist/collection/assets/t9n/feature-list/resources_it.json +2 -2
  180. package/dist/collection/assets/t9n/feature-list/resources_ja.json +2 -2
  181. package/dist/collection/assets/t9n/feature-list/resources_ko.json +2 -2
  182. package/dist/collection/assets/t9n/feature-list/resources_lt.json +2 -2
  183. package/dist/collection/assets/t9n/feature-list/resources_lv.json +2 -2
  184. package/dist/collection/assets/t9n/feature-list/resources_nb.json +2 -2
  185. package/dist/collection/assets/t9n/feature-list/resources_nl.json +2 -2
  186. package/dist/collection/assets/t9n/feature-list/resources_no.json +2 -2
  187. package/dist/collection/assets/t9n/feature-list/resources_pl.json +2 -2
  188. package/dist/collection/assets/t9n/feature-list/resources_pt-BR.json +2 -2
  189. package/dist/collection/assets/t9n/feature-list/resources_pt-PT.json +2 -2
  190. package/dist/collection/assets/t9n/feature-list/resources_ro.json +2 -2
  191. package/dist/collection/assets/t9n/feature-list/resources_ru.json +2 -2
  192. package/dist/collection/assets/t9n/feature-list/resources_sk.json +2 -2
  193. package/dist/collection/assets/t9n/feature-list/resources_sl.json +2 -2
  194. package/dist/collection/assets/t9n/feature-list/resources_sr.json +2 -2
  195. package/dist/collection/assets/t9n/feature-list/resources_sv.json +2 -2
  196. package/dist/collection/assets/t9n/feature-list/resources_th.json +2 -2
  197. package/dist/collection/assets/t9n/feature-list/resources_tr.json +2 -2
  198. package/dist/collection/assets/t9n/feature-list/resources_uk.json +2 -2
  199. package/dist/collection/assets/t9n/feature-list/resources_vi.json +2 -2
  200. package/dist/collection/assets/t9n/feature-list/resources_zh-CN.json +2 -2
  201. package/dist/collection/assets/t9n/feature-list/resources_zh-HK.json +2 -2
  202. package/dist/collection/assets/t9n/feature-list/resources_zh-TW.json +2 -2
  203. package/dist/collection/assets/t9n/layer-table/resources_ar.json +3 -3
  204. package/dist/collection/assets/t9n/layer-table/resources_bg.json +3 -3
  205. package/dist/collection/assets/t9n/layer-table/resources_bs.json +3 -3
  206. package/dist/collection/assets/t9n/layer-table/resources_ca.json +3 -3
  207. package/dist/collection/assets/t9n/layer-table/resources_cs.json +3 -3
  208. package/dist/collection/assets/t9n/layer-table/resources_da.json +3 -3
  209. package/dist/collection/assets/t9n/layer-table/resources_de.json +3 -3
  210. package/dist/collection/assets/t9n/layer-table/resources_el.json +3 -3
  211. package/dist/collection/assets/t9n/layer-table/resources_es.json +3 -3
  212. package/dist/collection/assets/t9n/layer-table/resources_et.json +3 -3
  213. package/dist/collection/assets/t9n/layer-table/resources_fi.json +3 -3
  214. package/dist/collection/assets/t9n/layer-table/resources_fr.json +3 -3
  215. package/dist/collection/assets/t9n/layer-table/resources_he.json +3 -3
  216. package/dist/collection/assets/t9n/layer-table/resources_hr.json +3 -3
  217. package/dist/collection/assets/t9n/layer-table/resources_hu.json +3 -3
  218. package/dist/collection/assets/t9n/layer-table/resources_id.json +3 -3
  219. package/dist/collection/assets/t9n/layer-table/resources_it.json +3 -3
  220. package/dist/collection/assets/t9n/layer-table/resources_ja.json +3 -3
  221. package/dist/collection/assets/t9n/layer-table/resources_ko.json +3 -3
  222. package/dist/collection/assets/t9n/layer-table/resources_lt.json +3 -3
  223. package/dist/collection/assets/t9n/layer-table/resources_lv.json +3 -3
  224. package/dist/collection/assets/t9n/layer-table/resources_nb.json +3 -3
  225. package/dist/collection/assets/t9n/layer-table/resources_nl.json +3 -3
  226. package/dist/collection/assets/t9n/layer-table/resources_no.json +3 -3
  227. package/dist/collection/assets/t9n/layer-table/resources_pl.json +3 -3
  228. package/dist/collection/assets/t9n/layer-table/resources_pt-BR.json +3 -3
  229. package/dist/collection/assets/t9n/layer-table/resources_pt-PT.json +3 -3
  230. package/dist/collection/assets/t9n/layer-table/resources_ro.json +3 -3
  231. package/dist/collection/assets/t9n/layer-table/resources_ru.json +3 -3
  232. package/dist/collection/assets/t9n/layer-table/resources_sk.json +3 -3
  233. package/dist/collection/assets/t9n/layer-table/resources_sl.json +3 -3
  234. package/dist/collection/assets/t9n/layer-table/resources_sr.json +3 -3
  235. package/dist/collection/assets/t9n/layer-table/resources_sv.json +3 -3
  236. package/dist/collection/assets/t9n/layer-table/resources_th.json +3 -3
  237. package/dist/collection/assets/t9n/layer-table/resources_tr.json +3 -3
  238. package/dist/collection/assets/t9n/layer-table/resources_uk.json +3 -3
  239. package/dist/collection/assets/t9n/layer-table/resources_vi.json +3 -3
  240. package/dist/collection/assets/t9n/layer-table/resources_zh-CN.json +3 -3
  241. package/dist/collection/assets/t9n/layer-table/resources_zh-HK.json +3 -3
  242. package/dist/collection/assets/t9n/layer-table/resources_zh-TW.json +3 -3
  243. package/dist/collection/assets/t9n/map-card/resources_ar.json +1 -1
  244. package/dist/collection/assets/t9n/map-card/resources_bg.json +1 -1
  245. package/dist/collection/assets/t9n/map-card/resources_bs.json +1 -1
  246. package/dist/collection/assets/t9n/map-card/resources_ca.json +1 -1
  247. package/dist/collection/assets/t9n/map-card/resources_cs.json +1 -1
  248. package/dist/collection/assets/t9n/map-card/resources_da.json +1 -1
  249. package/dist/collection/assets/t9n/map-card/resources_de.json +1 -1
  250. package/dist/collection/assets/t9n/map-card/resources_el.json +1 -1
  251. package/dist/collection/assets/t9n/map-card/resources_es.json +1 -1
  252. package/dist/collection/assets/t9n/map-card/resources_et.json +1 -1
  253. package/dist/collection/assets/t9n/map-card/resources_fi.json +1 -1
  254. package/dist/collection/assets/t9n/map-card/resources_fr.json +1 -1
  255. package/dist/collection/assets/t9n/map-card/resources_he.json +1 -1
  256. package/dist/collection/assets/t9n/map-card/resources_hr.json +1 -1
  257. package/dist/collection/assets/t9n/map-card/resources_hu.json +1 -1
  258. package/dist/collection/assets/t9n/map-card/resources_id.json +1 -1
  259. package/dist/collection/assets/t9n/map-card/resources_it.json +1 -1
  260. package/dist/collection/assets/t9n/map-card/resources_ja.json +1 -1
  261. package/dist/collection/assets/t9n/map-card/resources_ko.json +1 -1
  262. package/dist/collection/assets/t9n/map-card/resources_lt.json +1 -1
  263. package/dist/collection/assets/t9n/map-card/resources_lv.json +1 -1
  264. package/dist/collection/assets/t9n/map-card/resources_nb.json +1 -1
  265. package/dist/collection/assets/t9n/map-card/resources_nl.json +1 -1
  266. package/dist/collection/assets/t9n/map-card/resources_no.json +1 -1
  267. package/dist/collection/assets/t9n/map-card/resources_pl.json +1 -1
  268. package/dist/collection/assets/t9n/map-card/resources_pt-BR.json +1 -1
  269. package/dist/collection/assets/t9n/map-card/resources_pt-PT.json +1 -1
  270. package/dist/collection/assets/t9n/map-card/resources_ro.json +1 -1
  271. package/dist/collection/assets/t9n/map-card/resources_ru.json +1 -1
  272. package/dist/collection/assets/t9n/map-card/resources_sk.json +1 -1
  273. package/dist/collection/assets/t9n/map-card/resources_sl.json +1 -1
  274. package/dist/collection/assets/t9n/map-card/resources_sr.json +1 -1
  275. package/dist/collection/assets/t9n/map-card/resources_sv.json +1 -1
  276. package/dist/collection/assets/t9n/map-card/resources_th.json +1 -1
  277. package/dist/collection/assets/t9n/map-card/resources_tr.json +1 -1
  278. package/dist/collection/assets/t9n/map-card/resources_uk.json +1 -1
  279. package/dist/collection/assets/t9n/map-card/resources_vi.json +1 -1
  280. package/dist/collection/assets/t9n/map-card/resources_zh-CN.json +1 -1
  281. package/dist/collection/assets/t9n/map-card/resources_zh-HK.json +1 -1
  282. package/dist/collection/assets/t9n/map-card/resources_zh-TW.json +1 -1
  283. package/dist/collection/assets/t9n/solution-item-accordion/resources_ar.json +1 -1
  284. package/dist/collection/assets/t9n/solution-item-accordion/resources_bg.json +1 -1
  285. package/dist/collection/assets/t9n/solution-item-accordion/resources_bs.json +1 -1
  286. package/dist/collection/assets/t9n/solution-item-accordion/resources_ca.json +1 -1
  287. package/dist/collection/assets/t9n/solution-item-accordion/resources_cs.json +1 -1
  288. package/dist/collection/assets/t9n/solution-item-accordion/resources_da.json +1 -1
  289. package/dist/collection/assets/t9n/solution-item-accordion/resources_de.json +1 -1
  290. package/dist/collection/assets/t9n/solution-item-accordion/resources_el.json +1 -1
  291. package/dist/collection/assets/t9n/solution-item-accordion/resources_es.json +1 -1
  292. package/dist/collection/assets/t9n/solution-item-accordion/resources_et.json +1 -1
  293. package/dist/collection/assets/t9n/solution-item-accordion/resources_fi.json +1 -1
  294. package/dist/collection/assets/t9n/solution-item-accordion/resources_fr.json +1 -1
  295. package/dist/collection/assets/t9n/solution-item-accordion/resources_he.json +1 -1
  296. package/dist/collection/assets/t9n/solution-item-accordion/resources_hr.json +1 -1
  297. package/dist/collection/assets/t9n/solution-item-accordion/resources_hu.json +1 -1
  298. package/dist/collection/assets/t9n/solution-item-accordion/resources_id.json +1 -1
  299. package/dist/collection/assets/t9n/solution-item-accordion/resources_it.json +1 -1
  300. package/dist/collection/assets/t9n/solution-item-accordion/resources_ja.json +1 -1
  301. package/dist/collection/assets/t9n/solution-item-accordion/resources_ko.json +1 -1
  302. package/dist/collection/assets/t9n/solution-item-accordion/resources_lt.json +1 -1
  303. package/dist/collection/assets/t9n/solution-item-accordion/resources_lv.json +1 -1
  304. package/dist/collection/assets/t9n/solution-item-accordion/resources_nb.json +1 -1
  305. package/dist/collection/assets/t9n/solution-item-accordion/resources_nl.json +1 -1
  306. package/dist/collection/assets/t9n/solution-item-accordion/resources_no.json +1 -1
  307. package/dist/collection/assets/t9n/solution-item-accordion/resources_pl.json +1 -1
  308. package/dist/collection/assets/t9n/solution-item-accordion/resources_pt-BR.json +1 -1
  309. package/dist/collection/assets/t9n/solution-item-accordion/resources_pt-PT.json +1 -1
  310. package/dist/collection/assets/t9n/solution-item-accordion/resources_ro.json +1 -1
  311. package/dist/collection/assets/t9n/solution-item-accordion/resources_ru.json +1 -1
  312. package/dist/collection/assets/t9n/solution-item-accordion/resources_sk.json +1 -1
  313. package/dist/collection/assets/t9n/solution-item-accordion/resources_sl.json +1 -1
  314. package/dist/collection/assets/t9n/solution-item-accordion/resources_sr.json +1 -1
  315. package/dist/collection/assets/t9n/solution-item-accordion/resources_sv.json +1 -1
  316. package/dist/collection/assets/t9n/solution-item-accordion/resources_th.json +1 -1
  317. package/dist/collection/assets/t9n/solution-item-accordion/resources_tr.json +1 -1
  318. package/dist/collection/assets/t9n/solution-item-accordion/resources_uk.json +1 -1
  319. package/dist/collection/assets/t9n/solution-item-accordion/resources_vi.json +1 -1
  320. package/dist/collection/assets/t9n/solution-item-accordion/resources_zh-CN.json +1 -1
  321. package/dist/collection/assets/t9n/solution-item-accordion/resources_zh-HK.json +1 -1
  322. package/dist/collection/assets/t9n/solution-item-accordion/resources_zh-TW.json +1 -1
  323. package/dist/collection/components/crowdsource-manager/crowdsource-manager.js +2 -1
  324. package/dist/collection/components/layer-table/layer-table.js +17 -11
  325. package/dist/collection/components/map-card/map-card.js +2 -3
  326. package/dist/components/crowdsource-manager.js +2 -1
  327. package/dist/components/layer-table2.js +17 -11
  328. package/dist/components/map-card2.js +2 -3
  329. package/dist/esm/card-manager_3.entry.js +19 -14
  330. package/dist/esm/crowdsource-manager.entry.js +2 -1
  331. package/dist/solutions-components/assets/t9n/consent-manager/resources_ar.json +3 -3
  332. package/dist/solutions-components/assets/t9n/consent-manager/resources_bg.json +3 -3
  333. package/dist/solutions-components/assets/t9n/consent-manager/resources_bs.json +3 -3
  334. package/dist/solutions-components/assets/t9n/consent-manager/resources_ca.json +3 -3
  335. package/dist/solutions-components/assets/t9n/consent-manager/resources_cs.json +3 -3
  336. package/dist/solutions-components/assets/t9n/consent-manager/resources_da.json +3 -3
  337. package/dist/solutions-components/assets/t9n/consent-manager/resources_de.json +3 -3
  338. package/dist/solutions-components/assets/t9n/consent-manager/resources_el.json +3 -3
  339. package/dist/solutions-components/assets/t9n/consent-manager/resources_es.json +3 -3
  340. package/dist/solutions-components/assets/t9n/consent-manager/resources_et.json +3 -3
  341. package/dist/solutions-components/assets/t9n/consent-manager/resources_fi.json +3 -3
  342. package/dist/solutions-components/assets/t9n/consent-manager/resources_fr.json +3 -3
  343. package/dist/solutions-components/assets/t9n/consent-manager/resources_he.json +3 -3
  344. package/dist/solutions-components/assets/t9n/consent-manager/resources_hr.json +3 -3
  345. package/dist/solutions-components/assets/t9n/consent-manager/resources_hu.json +3 -3
  346. package/dist/solutions-components/assets/t9n/consent-manager/resources_id.json +3 -3
  347. package/dist/solutions-components/assets/t9n/consent-manager/resources_it.json +3 -3
  348. package/dist/solutions-components/assets/t9n/consent-manager/resources_ja.json +3 -3
  349. package/dist/solutions-components/assets/t9n/consent-manager/resources_ko.json +3 -3
  350. package/dist/solutions-components/assets/t9n/consent-manager/resources_lt.json +3 -3
  351. package/dist/solutions-components/assets/t9n/consent-manager/resources_lv.json +3 -3
  352. package/dist/solutions-components/assets/t9n/consent-manager/resources_nb.json +3 -3
  353. package/dist/solutions-components/assets/t9n/consent-manager/resources_nl.json +3 -3
  354. package/dist/solutions-components/assets/t9n/consent-manager/resources_no.json +3 -3
  355. package/dist/solutions-components/assets/t9n/consent-manager/resources_pl.json +3 -3
  356. package/dist/solutions-components/assets/t9n/consent-manager/resources_pt-BR.json +3 -3
  357. package/dist/solutions-components/assets/t9n/consent-manager/resources_pt-PT.json +3 -3
  358. package/dist/solutions-components/assets/t9n/consent-manager/resources_ro.json +3 -3
  359. package/dist/solutions-components/assets/t9n/consent-manager/resources_ru.json +3 -3
  360. package/dist/solutions-components/assets/t9n/consent-manager/resources_sk.json +3 -3
  361. package/dist/solutions-components/assets/t9n/consent-manager/resources_sl.json +3 -3
  362. package/dist/solutions-components/assets/t9n/consent-manager/resources_sr.json +3 -3
  363. package/dist/solutions-components/assets/t9n/consent-manager/resources_sv.json +3 -3
  364. package/dist/solutions-components/assets/t9n/consent-manager/resources_th.json +3 -3
  365. package/dist/solutions-components/assets/t9n/consent-manager/resources_tr.json +3 -3
  366. package/dist/solutions-components/assets/t9n/consent-manager/resources_uk.json +3 -3
  367. package/dist/solutions-components/assets/t9n/consent-manager/resources_vi.json +3 -3
  368. package/dist/solutions-components/assets/t9n/consent-manager/resources_zh-CN.json +3 -3
  369. package/dist/solutions-components/assets/t9n/consent-manager/resources_zh-HK.json +3 -3
  370. package/dist/solutions-components/assets/t9n/consent-manager/resources_zh-TW.json +3 -3
  371. package/dist/solutions-components/assets/t9n/create-feature/resources_ar.json +1 -1
  372. package/dist/solutions-components/assets/t9n/create-feature/resources_bg.json +1 -1
  373. package/dist/solutions-components/assets/t9n/create-feature/resources_bs.json +1 -1
  374. package/dist/solutions-components/assets/t9n/create-feature/resources_ca.json +1 -1
  375. package/dist/solutions-components/assets/t9n/create-feature/resources_cs.json +1 -1
  376. package/dist/solutions-components/assets/t9n/create-feature/resources_da.json +1 -1
  377. package/dist/solutions-components/assets/t9n/create-feature/resources_de.json +1 -1
  378. package/dist/solutions-components/assets/t9n/create-feature/resources_el.json +1 -1
  379. package/dist/solutions-components/assets/t9n/create-feature/resources_es.json +1 -1
  380. package/dist/solutions-components/assets/t9n/create-feature/resources_et.json +1 -1
  381. package/dist/solutions-components/assets/t9n/create-feature/resources_fi.json +1 -1
  382. package/dist/solutions-components/assets/t9n/create-feature/resources_fr.json +1 -1
  383. package/dist/solutions-components/assets/t9n/create-feature/resources_he.json +1 -1
  384. package/dist/solutions-components/assets/t9n/create-feature/resources_hr.json +1 -1
  385. package/dist/solutions-components/assets/t9n/create-feature/resources_hu.json +1 -1
  386. package/dist/solutions-components/assets/t9n/create-feature/resources_id.json +1 -1
  387. package/dist/solutions-components/assets/t9n/create-feature/resources_it.json +1 -1
  388. package/dist/solutions-components/assets/t9n/create-feature/resources_ja.json +1 -1
  389. package/dist/solutions-components/assets/t9n/create-feature/resources_ko.json +1 -1
  390. package/dist/solutions-components/assets/t9n/create-feature/resources_lt.json +1 -1
  391. package/dist/solutions-components/assets/t9n/create-feature/resources_lv.json +1 -1
  392. package/dist/solutions-components/assets/t9n/create-feature/resources_nb.json +1 -1
  393. package/dist/solutions-components/assets/t9n/create-feature/resources_nl.json +1 -1
  394. package/dist/solutions-components/assets/t9n/create-feature/resources_no.json +1 -1
  395. package/dist/solutions-components/assets/t9n/create-feature/resources_pl.json +1 -1
  396. package/dist/solutions-components/assets/t9n/create-feature/resources_pt-BR.json +1 -1
  397. package/dist/solutions-components/assets/t9n/create-feature/resources_pt-PT.json +1 -1
  398. package/dist/solutions-components/assets/t9n/create-feature/resources_ro.json +1 -1
  399. package/dist/solutions-components/assets/t9n/create-feature/resources_ru.json +1 -1
  400. package/dist/solutions-components/assets/t9n/create-feature/resources_sk.json +1 -1
  401. package/dist/solutions-components/assets/t9n/create-feature/resources_sl.json +1 -1
  402. package/dist/solutions-components/assets/t9n/create-feature/resources_sr.json +1 -1
  403. package/dist/solutions-components/assets/t9n/create-feature/resources_sv.json +1 -1
  404. package/dist/solutions-components/assets/t9n/create-feature/resources_th.json +1 -1
  405. package/dist/solutions-components/assets/t9n/create-feature/resources_tr.json +1 -1
  406. package/dist/solutions-components/assets/t9n/create-feature/resources_uk.json +1 -1
  407. package/dist/solutions-components/assets/t9n/create-feature/resources_vi.json +1 -1
  408. package/dist/solutions-components/assets/t9n/create-feature/resources_zh-CN.json +1 -1
  409. package/dist/solutions-components/assets/t9n/create-feature/resources_zh-HK.json +1 -1
  410. package/dist/solutions-components/assets/t9n/create-feature/resources_zh-TW.json +1 -1
  411. package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_ar.json +3 -3
  412. package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_bg.json +3 -3
  413. package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_bs.json +3 -3
  414. package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_ca.json +3 -3
  415. package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_cs.json +3 -3
  416. package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_da.json +3 -3
  417. package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_de.json +3 -3
  418. package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_el.json +3 -3
  419. package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_es.json +3 -3
  420. package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_et.json +3 -3
  421. package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_fi.json +3 -3
  422. package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_fr.json +3 -3
  423. package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_he.json +3 -3
  424. package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_hr.json +3 -3
  425. package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_hu.json +3 -3
  426. package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_id.json +3 -3
  427. package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_it.json +3 -3
  428. package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_ja.json +3 -3
  429. package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_ko.json +3 -3
  430. package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_lt.json +3 -3
  431. package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_lv.json +3 -3
  432. package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_nb.json +3 -3
  433. package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_nl.json +3 -3
  434. package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_no.json +3 -3
  435. package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_pl.json +3 -3
  436. package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_pt-BR.json +3 -3
  437. package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_pt-PT.json +3 -3
  438. package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_ro.json +3 -3
  439. package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_ru.json +3 -3
  440. package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_sk.json +3 -3
  441. package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_sl.json +3 -3
  442. package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_sr.json +3 -3
  443. package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_sv.json +3 -3
  444. package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_th.json +3 -3
  445. package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_tr.json +3 -3
  446. package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_uk.json +3 -3
  447. package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_vi.json +3 -3
  448. package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_zh-CN.json +3 -3
  449. package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_zh-HK.json +3 -3
  450. package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_zh-TW.json +3 -3
  451. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_ar.json +2 -2
  452. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_bg.json +2 -2
  453. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_bs.json +2 -2
  454. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_ca.json +2 -2
  455. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_cs.json +2 -2
  456. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_da.json +2 -2
  457. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_de.json +2 -2
  458. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_el.json +2 -2
  459. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_es.json +2 -2
  460. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_et.json +2 -2
  461. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_fi.json +2 -2
  462. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_fr.json +2 -2
  463. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_he.json +2 -2
  464. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_hr.json +2 -2
  465. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_hu.json +2 -2
  466. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_id.json +2 -2
  467. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_it.json +2 -2
  468. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_ja.json +2 -2
  469. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_ko.json +2 -2
  470. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_lt.json +2 -2
  471. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_lv.json +2 -2
  472. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_nb.json +2 -2
  473. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_nl.json +2 -2
  474. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_no.json +2 -2
  475. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_pl.json +2 -2
  476. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_pt-BR.json +2 -2
  477. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_pt-PT.json +2 -2
  478. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_ro.json +2 -2
  479. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_ru.json +2 -2
  480. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_sk.json +2 -2
  481. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_sl.json +2 -2
  482. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_sr.json +2 -2
  483. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_sv.json +2 -2
  484. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_th.json +2 -2
  485. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_tr.json +2 -2
  486. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_uk.json +2 -2
  487. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_vi.json +2 -2
  488. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_zh-CN.json +2 -2
  489. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_zh-HK.json +2 -2
  490. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_zh-TW.json +2 -2
  491. package/dist/solutions-components/assets/t9n/feature-list/resources_ar.json +2 -2
  492. package/dist/solutions-components/assets/t9n/feature-list/resources_bg.json +2 -2
  493. package/dist/solutions-components/assets/t9n/feature-list/resources_bs.json +2 -2
  494. package/dist/solutions-components/assets/t9n/feature-list/resources_ca.json +2 -2
  495. package/dist/solutions-components/assets/t9n/feature-list/resources_cs.json +2 -2
  496. package/dist/solutions-components/assets/t9n/feature-list/resources_da.json +2 -2
  497. package/dist/solutions-components/assets/t9n/feature-list/resources_de.json +2 -2
  498. package/dist/solutions-components/assets/t9n/feature-list/resources_el.json +2 -2
  499. package/dist/solutions-components/assets/t9n/feature-list/resources_es.json +2 -2
  500. package/dist/solutions-components/assets/t9n/feature-list/resources_et.json +2 -2
  501. package/dist/solutions-components/assets/t9n/feature-list/resources_fi.json +2 -2
  502. package/dist/solutions-components/assets/t9n/feature-list/resources_fr.json +2 -2
  503. package/dist/solutions-components/assets/t9n/feature-list/resources_he.json +2 -2
  504. package/dist/solutions-components/assets/t9n/feature-list/resources_hr.json +2 -2
  505. package/dist/solutions-components/assets/t9n/feature-list/resources_hu.json +2 -2
  506. package/dist/solutions-components/assets/t9n/feature-list/resources_id.json +2 -2
  507. package/dist/solutions-components/assets/t9n/feature-list/resources_it.json +2 -2
  508. package/dist/solutions-components/assets/t9n/feature-list/resources_ja.json +2 -2
  509. package/dist/solutions-components/assets/t9n/feature-list/resources_ko.json +2 -2
  510. package/dist/solutions-components/assets/t9n/feature-list/resources_lt.json +2 -2
  511. package/dist/solutions-components/assets/t9n/feature-list/resources_lv.json +2 -2
  512. package/dist/solutions-components/assets/t9n/feature-list/resources_nb.json +2 -2
  513. package/dist/solutions-components/assets/t9n/feature-list/resources_nl.json +2 -2
  514. package/dist/solutions-components/assets/t9n/feature-list/resources_no.json +2 -2
  515. package/dist/solutions-components/assets/t9n/feature-list/resources_pl.json +2 -2
  516. package/dist/solutions-components/assets/t9n/feature-list/resources_pt-BR.json +2 -2
  517. package/dist/solutions-components/assets/t9n/feature-list/resources_pt-PT.json +2 -2
  518. package/dist/solutions-components/assets/t9n/feature-list/resources_ro.json +2 -2
  519. package/dist/solutions-components/assets/t9n/feature-list/resources_ru.json +2 -2
  520. package/dist/solutions-components/assets/t9n/feature-list/resources_sk.json +2 -2
  521. package/dist/solutions-components/assets/t9n/feature-list/resources_sl.json +2 -2
  522. package/dist/solutions-components/assets/t9n/feature-list/resources_sr.json +2 -2
  523. package/dist/solutions-components/assets/t9n/feature-list/resources_sv.json +2 -2
  524. package/dist/solutions-components/assets/t9n/feature-list/resources_th.json +2 -2
  525. package/dist/solutions-components/assets/t9n/feature-list/resources_tr.json +2 -2
  526. package/dist/solutions-components/assets/t9n/feature-list/resources_uk.json +2 -2
  527. package/dist/solutions-components/assets/t9n/feature-list/resources_vi.json +2 -2
  528. package/dist/solutions-components/assets/t9n/feature-list/resources_zh-CN.json +2 -2
  529. package/dist/solutions-components/assets/t9n/feature-list/resources_zh-HK.json +2 -2
  530. package/dist/solutions-components/assets/t9n/feature-list/resources_zh-TW.json +2 -2
  531. package/dist/solutions-components/assets/t9n/layer-table/resources_ar.json +3 -3
  532. package/dist/solutions-components/assets/t9n/layer-table/resources_bg.json +3 -3
  533. package/dist/solutions-components/assets/t9n/layer-table/resources_bs.json +3 -3
  534. package/dist/solutions-components/assets/t9n/layer-table/resources_ca.json +3 -3
  535. package/dist/solutions-components/assets/t9n/layer-table/resources_cs.json +3 -3
  536. package/dist/solutions-components/assets/t9n/layer-table/resources_da.json +3 -3
  537. package/dist/solutions-components/assets/t9n/layer-table/resources_de.json +3 -3
  538. package/dist/solutions-components/assets/t9n/layer-table/resources_el.json +3 -3
  539. package/dist/solutions-components/assets/t9n/layer-table/resources_es.json +3 -3
  540. package/dist/solutions-components/assets/t9n/layer-table/resources_et.json +3 -3
  541. package/dist/solutions-components/assets/t9n/layer-table/resources_fi.json +3 -3
  542. package/dist/solutions-components/assets/t9n/layer-table/resources_fr.json +3 -3
  543. package/dist/solutions-components/assets/t9n/layer-table/resources_he.json +3 -3
  544. package/dist/solutions-components/assets/t9n/layer-table/resources_hr.json +3 -3
  545. package/dist/solutions-components/assets/t9n/layer-table/resources_hu.json +3 -3
  546. package/dist/solutions-components/assets/t9n/layer-table/resources_id.json +3 -3
  547. package/dist/solutions-components/assets/t9n/layer-table/resources_it.json +3 -3
  548. package/dist/solutions-components/assets/t9n/layer-table/resources_ja.json +3 -3
  549. package/dist/solutions-components/assets/t9n/layer-table/resources_ko.json +3 -3
  550. package/dist/solutions-components/assets/t9n/layer-table/resources_lt.json +3 -3
  551. package/dist/solutions-components/assets/t9n/layer-table/resources_lv.json +3 -3
  552. package/dist/solutions-components/assets/t9n/layer-table/resources_nb.json +3 -3
  553. package/dist/solutions-components/assets/t9n/layer-table/resources_nl.json +3 -3
  554. package/dist/solutions-components/assets/t9n/layer-table/resources_no.json +3 -3
  555. package/dist/solutions-components/assets/t9n/layer-table/resources_pl.json +3 -3
  556. package/dist/solutions-components/assets/t9n/layer-table/resources_pt-BR.json +3 -3
  557. package/dist/solutions-components/assets/t9n/layer-table/resources_pt-PT.json +3 -3
  558. package/dist/solutions-components/assets/t9n/layer-table/resources_ro.json +3 -3
  559. package/dist/solutions-components/assets/t9n/layer-table/resources_ru.json +3 -3
  560. package/dist/solutions-components/assets/t9n/layer-table/resources_sk.json +3 -3
  561. package/dist/solutions-components/assets/t9n/layer-table/resources_sl.json +3 -3
  562. package/dist/solutions-components/assets/t9n/layer-table/resources_sr.json +3 -3
  563. package/dist/solutions-components/assets/t9n/layer-table/resources_sv.json +3 -3
  564. package/dist/solutions-components/assets/t9n/layer-table/resources_th.json +3 -3
  565. package/dist/solutions-components/assets/t9n/layer-table/resources_tr.json +3 -3
  566. package/dist/solutions-components/assets/t9n/layer-table/resources_uk.json +3 -3
  567. package/dist/solutions-components/assets/t9n/layer-table/resources_vi.json +3 -3
  568. package/dist/solutions-components/assets/t9n/layer-table/resources_zh-CN.json +3 -3
  569. package/dist/solutions-components/assets/t9n/layer-table/resources_zh-HK.json +3 -3
  570. package/dist/solutions-components/assets/t9n/layer-table/resources_zh-TW.json +3 -3
  571. package/dist/solutions-components/assets/t9n/map-card/resources_ar.json +1 -1
  572. package/dist/solutions-components/assets/t9n/map-card/resources_bg.json +1 -1
  573. package/dist/solutions-components/assets/t9n/map-card/resources_bs.json +1 -1
  574. package/dist/solutions-components/assets/t9n/map-card/resources_ca.json +1 -1
  575. package/dist/solutions-components/assets/t9n/map-card/resources_cs.json +1 -1
  576. package/dist/solutions-components/assets/t9n/map-card/resources_da.json +1 -1
  577. package/dist/solutions-components/assets/t9n/map-card/resources_de.json +1 -1
  578. package/dist/solutions-components/assets/t9n/map-card/resources_el.json +1 -1
  579. package/dist/solutions-components/assets/t9n/map-card/resources_es.json +1 -1
  580. package/dist/solutions-components/assets/t9n/map-card/resources_et.json +1 -1
  581. package/dist/solutions-components/assets/t9n/map-card/resources_fi.json +1 -1
  582. package/dist/solutions-components/assets/t9n/map-card/resources_fr.json +1 -1
  583. package/dist/solutions-components/assets/t9n/map-card/resources_he.json +1 -1
  584. package/dist/solutions-components/assets/t9n/map-card/resources_hr.json +1 -1
  585. package/dist/solutions-components/assets/t9n/map-card/resources_hu.json +1 -1
  586. package/dist/solutions-components/assets/t9n/map-card/resources_id.json +1 -1
  587. package/dist/solutions-components/assets/t9n/map-card/resources_it.json +1 -1
  588. package/dist/solutions-components/assets/t9n/map-card/resources_ja.json +1 -1
  589. package/dist/solutions-components/assets/t9n/map-card/resources_ko.json +1 -1
  590. package/dist/solutions-components/assets/t9n/map-card/resources_lt.json +1 -1
  591. package/dist/solutions-components/assets/t9n/map-card/resources_lv.json +1 -1
  592. package/dist/solutions-components/assets/t9n/map-card/resources_nb.json +1 -1
  593. package/dist/solutions-components/assets/t9n/map-card/resources_nl.json +1 -1
  594. package/dist/solutions-components/assets/t9n/map-card/resources_no.json +1 -1
  595. package/dist/solutions-components/assets/t9n/map-card/resources_pl.json +1 -1
  596. package/dist/solutions-components/assets/t9n/map-card/resources_pt-BR.json +1 -1
  597. package/dist/solutions-components/assets/t9n/map-card/resources_pt-PT.json +1 -1
  598. package/dist/solutions-components/assets/t9n/map-card/resources_ro.json +1 -1
  599. package/dist/solutions-components/assets/t9n/map-card/resources_ru.json +1 -1
  600. package/dist/solutions-components/assets/t9n/map-card/resources_sk.json +1 -1
  601. package/dist/solutions-components/assets/t9n/map-card/resources_sl.json +1 -1
  602. package/dist/solutions-components/assets/t9n/map-card/resources_sr.json +1 -1
  603. package/dist/solutions-components/assets/t9n/map-card/resources_sv.json +1 -1
  604. package/dist/solutions-components/assets/t9n/map-card/resources_th.json +1 -1
  605. package/dist/solutions-components/assets/t9n/map-card/resources_tr.json +1 -1
  606. package/dist/solutions-components/assets/t9n/map-card/resources_uk.json +1 -1
  607. package/dist/solutions-components/assets/t9n/map-card/resources_vi.json +1 -1
  608. package/dist/solutions-components/assets/t9n/map-card/resources_zh-CN.json +1 -1
  609. package/dist/solutions-components/assets/t9n/map-card/resources_zh-HK.json +1 -1
  610. package/dist/solutions-components/assets/t9n/map-card/resources_zh-TW.json +1 -1
  611. package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_ar.json +1 -1
  612. package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_bg.json +1 -1
  613. package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_bs.json +1 -1
  614. package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_ca.json +1 -1
  615. package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_cs.json +1 -1
  616. package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_da.json +1 -1
  617. package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_de.json +1 -1
  618. package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_el.json +1 -1
  619. package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_es.json +1 -1
  620. package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_et.json +1 -1
  621. package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_fi.json +1 -1
  622. package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_fr.json +1 -1
  623. package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_he.json +1 -1
  624. package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_hr.json +1 -1
  625. package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_hu.json +1 -1
  626. package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_id.json +1 -1
  627. package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_it.json +1 -1
  628. package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_ja.json +1 -1
  629. package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_ko.json +1 -1
  630. package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_lt.json +1 -1
  631. package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_lv.json +1 -1
  632. package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_nb.json +1 -1
  633. package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_nl.json +1 -1
  634. package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_no.json +1 -1
  635. package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_pl.json +1 -1
  636. package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_pt-BR.json +1 -1
  637. package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_pt-PT.json +1 -1
  638. package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_ro.json +1 -1
  639. package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_ru.json +1 -1
  640. package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_sk.json +1 -1
  641. package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_sl.json +1 -1
  642. package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_sr.json +1 -1
  643. package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_sv.json +1 -1
  644. package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_th.json +1 -1
  645. package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_tr.json +1 -1
  646. package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_uk.json +1 -1
  647. package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_vi.json +1 -1
  648. package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_zh-CN.json +1 -1
  649. package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_zh-HK.json +1 -1
  650. package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_zh-TW.json +1 -1
  651. package/dist/solutions-components/p-0993fcd7.entry.js +6 -0
  652. package/dist/solutions-components/{p-e68f5f54.entry.js → p-1a65c187.entry.js} +1 -1
  653. package/dist/solutions-components/solutions-components.esm.js +1 -1
  654. package/dist/solutions-components_commit.txt +7 -7
  655. package/package.json +1 -1
  656. package/dist/solutions-components/p-035a1d38.entry.js +0 -6
@@ -1,3 +1,3 @@
1
1
  {
2
- "openDetails": "한_Open details_____________빠"
2
+ "openDetails": "세부정보 열기"
3
3
  }
@@ -1,3 +1,3 @@
1
1
  {
2
- "openDetails": "Į_Open details_____________š"
2
+ "openDetails": "Atidaryti informaciją"
3
3
  }
@@ -1,3 +1,3 @@
1
1
  {
2
- "openDetails": "ķ_Open details_____________ū"
2
+ "openDetails": "Atvērt detalizētu informāciju"
3
3
  }
@@ -1,3 +1,3 @@
1
1
  {
2
- "openDetails": "å_Open details_____________ø"
2
+ "openDetails": "Åpne detaljer"
3
3
  }
@@ -1,3 +1,3 @@
1
1
  {
2
- "openDetails": "IJ_Open details_____________ä"
2
+ "openDetails": "Details openen"
3
3
  }
@@ -1,3 +1,3 @@
1
1
  {
2
- "openDetails": "å_Open details_____________ø"
2
+ "openDetails": "Åpne detaljer"
3
3
  }
@@ -1,3 +1,3 @@
1
1
  {
2
- "openDetails": "ł_Open details_____________ą"
2
+ "openDetails": "Otwórz szczegóły"
3
3
  }
@@ -1,3 +1,3 @@
1
1
  {
2
- "openDetails": "ã_Open details_____________Ç"
2
+ "openDetails": "Abrir detalhes"
3
3
  }
@@ -1,3 +1,3 @@
1
1
  {
2
- "openDetails": "ã_Open details_____________Ç"
2
+ "openDetails": "Abrir detalhes"
3
3
  }
@@ -1,3 +1,3 @@
1
1
  {
2
- "openDetails": "Ă_Open details_____________ș"
2
+ "openDetails": "Deschideți detalii"
3
3
  }
@@ -1,3 +1,3 @@
1
1
  {
2
- "openDetails": "Ж_Open details_____________Я"
2
+ "openDetails": "Открыть подробную информацию"
3
3
  }
@@ -1,3 +1,3 @@
1
1
  {
2
- "openDetails": "ĺ_Open details_____________ľ"
2
+ "openDetails": "Otvoriť podrobnosti"
3
3
  }
@@ -1,3 +1,3 @@
1
1
  {
2
- "openDetails": "Š_Open details_____________č"
2
+ "openDetails": "Odpri podrobnosti"
3
3
  }
@@ -1,3 +1,3 @@
1
1
  {
2
- "openDetails": "Č_Open details_____________ž"
2
+ "openDetails": "Otvori detalje"
3
3
  }
@@ -1,3 +1,3 @@
1
1
  {
2
- "openDetails": "Å_Open details_____________ö"
2
+ "openDetails": "Öppna detaljer"
3
3
  }
@@ -1,3 +1,3 @@
1
1
  {
2
- "openDetails": "ก้_Open details_____________ษฺ"
2
+ "openDetails": "เปิดรายละเอียด"
3
3
  }
@@ -1,3 +1,3 @@
1
1
  {
2
- "openDetails": "ı_Open details_____________İ"
2
+ "openDetails": "Ayrıntıları "
3
3
  }
@@ -1,3 +1,3 @@
1
1
  {
2
- "openDetails": "ґ_Open details_____________Ї"
2
+ "openDetails": "Відкрити відомості"
3
3
  }
@@ -1,3 +1,3 @@
1
1
  {
2
- "openDetails": "Đ_Open details_____________ớ"
2
+ "openDetails": "Mở thông tin chi tiết"
3
3
  }
@@ -1,3 +1,3 @@
1
1
  {
2
- "openDetails": "试_Open details_____________验"
2
+ "openDetails": "打开详细信息"
3
3
  }
@@ -1,3 +1,3 @@
1
1
  {
2
- "openDetails": "試_Open details_____________驗"
2
+ "openDetails": "開啟詳細資訊"
3
3
  }
@@ -1,3 +1,3 @@
1
1
  {
2
- "openDetails": "試_Open details_____________驗"
2
+ "openDetails": "開啟詳細資訊"
3
3
  }
@@ -0,0 +1,6 @@
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 s,h as e,H as h}from"./p-934e8935.js";import{g as a,l as o}from"./p-8a74a780.js";import{g as l,q as n,e as c,f as r,c as d}from"./p-5693ce7a.js";import{d as p}from"./p-4379cc5f.js";import"./p-d4056c1c.js";import"./p-80cb7c73.js";import"./p-af7e43e0.js";import"./p-4f236b5d.js";import"./p-570b13d9.js";import"./p-0668e30d.js";const b=class{constructor(s){t(this,s),this.createWorkFlowStarted=i(this,"createWorkFlowStarted",7),this.backFromCreateWorkFlow=i(this,"backFromCreateWorkFlow",7),this.featureOrRecordSubmitted=i(this,"featureOrRecordSubmitted",7),this.customInfoText=void 0,this.enableEditGeometry=!1,this.enableSnapping=!1,this.isMobile=void 0,this.layer=void 0,this.locale=void 0,this.mapView=void 0,this.zoomAndScrollToSelected=void 0,this.selectedFeaturesIds=void 0,this.enableCreateFeatures=!0,this.selectingFeatureFromMap=void 0,this._cardLoading=!1,this._graphics=void 0,this._showCreateFeatureComponent=!1,this._showSubmitBtn=!1,this._translations=void 0}get el(){return s(this)}_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",s=this._graphics?.length>0||this._showCreateFeatureComponent?"display-none":"",a=this.layer?.isTable,o=a?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 e(h,{key:"803f5130e6f4fa0bf97cfdd2776e176786e736cc"},e("div",{key:"7c0a756f5de5f536b52d2e9f6629593eb3c85781",class:"overflow-auto height-full"},e("calcite-shell",{key:"9a6366bba429d5c29a5f1c556d6812f44d28ee2c",class:"position-relative "+t},e("div",{key:"61cb9f7942eb209e5e0bd751ab4b5ca026086882",class:"position-static z-index-500"},e("info-card",{key:"aa2e8443af374a37dfebd0d5e87ca052221339a7",enableEditGeometry:this.enableEditGeometry,enableSnapping:this.enableSnapping,graphics:this._graphics,highlightEnabled:!1,isLoading:this._cardLoading,isMobile:this.isMobile,locale:this.locale,mapView:this.mapView,showCloseBtn:!0}))),e("calcite-shell",{key:"4979b9d94cd68f36b5d9e6ea59ffc0baecd180c0",class:"position-relative "+s},e("calcite-panel",{key:"9e02f86010e2348668a995de7d3644f0ddf838a6"},e("div",{key:"83a5ac2003838734308d81dc2903313cb6c07e9a",class:"padding-1"},e("calcite-notice",{key:"e380ab334a7b4d65fb64b51bc2b7feb61771f813",icon:this.selectingFeatureFromMap?"map":"table",iconFlipRtl:!0,open:!0},e("div",{key:"2ac48545c9c825d8d266a96b034dba7d17c024c1",slot:"message"},l))),!this.isMobile&&n&&e("calcite-button",{key:"300e922dcf00b72657ca48382579746073a1a646",disabled:!this.layer,onClick:()=>this._createFeatureBtnClicked(),slot:"footer",width:"full"},a?this._translations.createRecord:this._translations.createFeature))),e("calcite-shell",{key:"1c279da12e0885ed5ecae714a0958e76ac3734d5",class:"position-relative "+i},e("calcite-flow-item",{key:"8e54e6abf83e3d8ce487a2f76e1bdd8635f4d7b5",selected:!0},e("calcite-panel",{key:"d31997df187797550eeaee6df294e4f41e6653b5",heading:o},e("calcite-action",{key:"636c83f8d5f361c1eb35a5b524565d0bd072489f",class:"back-button hydrated",icon:"chevron-left",onClick:this._backFromCreateFeature.bind(this),scale:"s",slot:"header-actions-start",text:""}),this.getEditorComponent(),this._showSubmitBtn&&e("calcite-button",{key:"bd1a3ee472e275c57e9c40c217a3c0ac9c8e8715",appearance:"solid",class:"footer-top-button footer-button",onClick:()=>{this._createFeature.submit()},slot:"footer",width:"full"},this._translations.create))))))}getEditorComponent(){return e("div",null,this._showCreateFeatureComponent&&e("create-feature",{customizeSubmit:!0,enableSnapping:this.enableSnapping&&this.enableCreateFeatures,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,showGuidingMsg:!1}))}async _getFeaturesByIds(t){return(t.length>0?await n(t,this.layer,[],!0,this.mapView.spatialReference):[]).sort(((i,s)=>t.indexOf(i.getObjectId())-t.indexOf(s.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 a(this.el);this._translations=t[0]}static get watchers(){return{locale:["localeWatchHandler"]}}};b.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 f=class{constructor(s){t(this,s),this.featureSelectionChange=i(this,"featureSelectionChange",7),this.toggleFilter=i(this,"toggleFilter",7),this.showDelete=i(this,"showDelete",7),this.appLayout=void 0,this.defaultGlobalId=void 0,this.defaultLayerId=void 0,this.defaultOid=void 0,this.enableAutoRefresh=void 0,this.enableColumnReorder=!0,this.enableCSV=void 0,this.enableInlineEdit=void 0,this.enableShare=void 0,this.honorMapFieldSettings=void 0,this.isMobile=void 0,this.locale=void 0,this.mapHidden=void 0,this.mapInfo=void 0,this.mapView=void 0,this.onlyShowUpdatableLayers=void 0,this.selectedIds=[],this.shareIncludeEmbed=void 0,this.shareIncludeSocial=void 0,this.showNewestFirst=void 0,this.zoomAndScrollToSelected=void 0,this.zoomToScale=void 0,this.createFilterModal=!0,this._allIds=[],this._controlsThatFit=void 0,this._csvExporting=!1,this._fetchingData=!1,this._filterActive=!1,this._filterOpen=!1,this._layer=void 0,this._selectAllActive=!1,this._showHideOpen=!1,this._showOnlySelected=!1,this._toolInfos=void 0,this._translations=void 0,this._fullTextSearchInfo=void 0,this._searchPlaceHolder="",this._size=0,this._queryingData=!1}get el(){return s(this)}FeatureTable;TableTemplate;_columnsInfo;_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;_showHideDropdown;_moreDropdown;_table;_tableNode;_timeout;_toolbar;_toolbarSizeInfos;_searchExpression;_skipEditCheck=!1;_currentFeatureHighlightHandle;_defaultFeaturesHandle;_temporaryFeatureHandle;_filterByExtentHandle;_tempSelectedIds;_outOFExtentOids=[];_shouldUpdateTableOnExtentChange=!0;_selectedLayerView;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 s=this._getId(i.icon);return i.isOverflow=t.indexOf(s)<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 mapViewWatchHandler(){this._mapClickHandle&&this._mapClickHandle.remove(),this.mapView&&(this._floorExpression=void 0,this._searchExpression=void 0,this.mapView.highlights=[{name:"default",color:"#00FFFF"},{name:"current-selection",color:"#ff00ff"},{name:"temporary",color:"#FFFF00"}],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(){this._filterByExtentHandle&&(this._table.filterGeometry=void 0,this._filterByExtentHandle.remove(),this._filterByExtentHandle=void 0),await this._handleFilterListReset()}async filterUpdate(t,i){await this._handleFilterUpdate(t),i?(this._shouldUpdateTableOnExtentChange=!0,this._handleTableOnMapExtent()):!1===i&&(this._table.filterGeometry=void 0,this._filterByExtentHandle.remove(),this._filterByExtentHandle=void 0,await this._updateAllIds())}async validateTableUpdate(t){this._shouldUpdateTableOnExtentChange=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,s=t.detail.mapInfo;if(this._hasPendingEdits()){t.preventDefault();const e=await this._validateActiveEdits([],this.selectedIds);await i.setMapByID(e?s.id:t.detail.currentId,!e)}}async editorInitialized(t){this._shouldUpdateTableOnExtentChange=!1,this._editor=t.detail}async closeEdit(){this._shouldUpdateTableOnExtentChange=!0,this._filterByExtentHandle&&this._handleTableOnMapExtent()}async selectionChanged(t){const i=t.detail.selectedFeature[0],s=i.getObjectId(),e=this._table;if(e.rowHighlightIds.length&&e.rowHighlightIds.removeAll(),e.rowHighlightIds.add(s),this._highlightFeatures(s),this.zoomAndScrollToSelected){const t=this._table.viewModel.getObjectIdIndex(s);this._table.scrollToIndex(t);const e=i.layer;let h;this.mapView.allLayerViews.toArray().some((t=>{if(t.layer.title===e.title&&"feature"===t.layer.type)return h=t,!0})),h&&await c([s],h,this.mapView,!0,void 0,this.zoomToScale)}}async beforeLayerSelectionChange(t){if(this._hasPendingEdits()){t.preventDefault();const i=t.detail.ref,s=await this._validateActiveEdits([],this.selectedIds);return t.detail.selectedIds?await i.setLayerByIds(s?t.detail.newIds:t.detail.currentIds,!0):await i.setLayerById(s?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 this.queryAllIds()),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",s=this._queryingData?"":"display-none",a=this._size.toString(),o=this.selectedIds.length.toString(),l=this.isMobile?"height-full":"height-full-adjusted",n=this._canShowFullTextSearch();return this._validateActiveActions(),e(h,{key:"2d4fa2f8d4cce83ef1f972444cac99ab17ccf09a"},e("div",{key:"b53e3d454a7c2c1886bfd61e960ca7aa27bf5761"},e("calcite-scrim",{key:"9a0e507b26707b8010f4d0ac3acd5a1eb8820780",class:s,loading:this._queryingData}),e("calcite-shell",{key:"1f1815e38773a834b7c1f6bdb783717477331522"},this._getTableControlRow("header"),e("div",{key:"fd2b3ca04bbb6b5ed9c2e044722079704b1c778e",class:`width-full ${l}`},e("calcite-panel",{key:"0355028dce084ac034fe4b5ea8f7a0b1fec18b83",class:"height-full width-full"},n&&e("div",{key:"3169fdf7d876b504c6ee1d11a0b41a55815cbc87",class:"search-container border-bottom"},e("calcite-input",{key:"116960c2b95658c23c2ed2ee4b5282af0fa44f27",class:"search",clearable:!0,icon:"search",onCalciteInputChange:t=>{this._searchTextChanged(t)},placeholder:this._searchPlaceHolder,title:this._searchPlaceHolder,type:"search"})),e("calcite-loader",{key:"83fdb600a68786dc0dd0dbbcfee1bc59bd311763",class:i,label:this._translations.fetchingData,scale:"l"}),e("div",{key:"4983053113d687a459f7749bfe7723964551c3df",class:t,ref:this.onTableNodeCreate}))),this.isMobile?void 0:e("div",{class:"bottom-left text-color height-19",id:"solutions-selected-count-div"},this._translations.recordsSelected.replace("{{total}}",a).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),this._updateToolbar()}async _initModules(){const[t,i,s]=await o(["esri/widgets/FeatureTable","esri/core/reactiveUtils","esri/widgets/FeatureTable/support/TableTemplate"]);this.FeatureTable=t,this.reactiveUtils=i,this.TableTemplate=s}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 s=[];if(this._fullTextSearchInfo?.length&&this._fullTextSearchInfo[0].searchTerm){const e=this._layer.createQuery();e.fullText=this._fullTextSearchInfo,s=await this._layer.queryObjectIds(e),i&&t?.length&&(s=s.filter((i=>t.includes(i)))),await this._updateSearchDefinitionExpression(s?.length?s:[-1])}i&&s?.length&&(this._showOnlySelected=!0,this._table.highlightIds.addMany(s.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 s=`objectId in(${t})`;this._layer.definitionExpression=i?.indexOf(this._searchExpression)>-1?i.replace(this._searchExpression,s):i?`${i} AND (${s})`:s,this._searchExpression=s}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 s=[];i.forEach((t=>{const i=this._layer.getField(t.trim());s.push(i.alias)})),this._searchPlaceHolder=this._translations.searchPlaceholder.replace("{{fields}}",s.join(", ")),this._fullTextSearchInfo.push({onFields:["*"],searchTerm:"",searchType:"prefix"})}}}_onResize(){this._updateToolbar()}_getTableControlRow(t){return e("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 e("calcite-action-bar",{class:t,expandDisabled:!0,expanded:!0,id:this._getId("bar"),layout:"horizontal"},e("div",{class:`border-end ${t} ${i}`,id:"solutions-map-layer-picker-container"},e("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&&this._table?.columns?.length>0?e("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?e("calcite-dropdown-group",{"selection-mode":"multiple"},Object.keys(this._columnsInfo).map((t=>{const i=this._columnsInfo[t];return e("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,s=["zoom-to-object","pencil","trash","erase","selected-items-filter"];this._toolInfos?.forEach((e=>{e&&s.indexOf(e.icon)>-1&&(e.disabled="pencil"===e.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,i.label=this._showOnlySelected?this._translations.showAll:this._translations.showSelected))}))}_initToolInfos(){const t=this._featuresSelected(),i=this.selectedIds.length>1&&this._layer?.capabilities?.operations?.supportsUpdate&&!1,s=!this.mapHidden&&!this._layer?.isTable,e=this._featuresEmpty(),h=!this._layer?.isTable||this._hasFilterExpressions();this._translations&&(this._toolInfos=[s?{active:!1,icon:"zoom-to-object",indicator:!1,label:this._translations.zoom,func:()=>this._zoom(),disabled:!t,isOverflow:!1}:void 0,h?{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 s=["solutions-more","solutions-map-layer-picker-container","map-picker","solutions-action-share"];if(i>t){if(this._toolbarSizeInfos.length>0){const e=[...this._toolbarSizeInfos].reverse().reduce(((e,h)=>(s.indexOf(h.id)<0&&(i>t?i-=h.width:e.push(h)),e)),[]).reverse();this._setControlsThatFit(e,s)}}else if(this._defaultVisibleToolSizeInfos){const e=this._toolbarSizeInfos.reduce(((t,i)=>(t.push(i.id),t)),[]);let h=!1;const a=[...this._defaultVisibleToolSizeInfos].reduce(((a,o)=>(!h&&s.indexOf(o.id)<0&&(e.indexOf(o.id)>-1||i+o.width<=t)?(e.indexOf(o.id)<0&&(i+=o.width),a.push(o)):s.indexOf(o.id)<0&&i+o.width>t&&(h=!0),a)),[]);this._setControlsThatFit(a,s)}}),100))}_setControlsThatFit(t,i){let s=JSON.stringify(t)!==JSON.stringify(this._controlsThatFit);const e=document.getElementById("solutions-action-bar");e?.childNodes?.forEach((t=>{i.indexOf(t.id)<0&&!s&&(s=this._controlsThatFit.map((t=>t.id)).indexOf(t.id)<0)})),s&&(this._controlsThatFit=[...t])}_setToolbarSizeInfos(){let t=!1;this._toolbarSizeInfos=[],this._toolbar.childNodes.forEach(((i,s)=>{0===s?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?e("calcite-dropdown",{closeOnSelectDisabled:!0,disabled:void 0===this._layer,id:"solutions-more",onCalciteDropdownBeforeClose:()=>this._forceShowHide(),ref:t=>this._moreDropdown=t},e("calcite-action",{appearance:"solid",id:t,label:"",onClick:()=>this._closeShowHide(),slot:"trigger",text:""},e("calcite-button",{appearance:"transparent",iconEnd:"chevron-down",kind:"neutral"},this._translations.more)),e("calcite-dropdown-group",{"selection-mode":"none"},i.map((t=>e("calcite-dropdown-group",{class:`${t.disabled?"disabled":""} ${"trash"===t.icon?"delete-red":""}`,selectionMode:"none"},e("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?e("div",{class:"display-flex"},e("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,s,h,a,o,l,n){const c=void 0===this._layer||o;return e("div",{class:"display-flex",id:this._getId(i),slot:n},e("calcite-action",{active:t,appearance:"solid",disabled:c,icon:i,id:`layer-table-${i}`,indicator:s,label:h,loading:l,onClick:a,text:h,textEnabled:!0}),this._getToolTip("bottom",i,h))}_showDelete(){this.showDelete.emit({ids:this._getIds()})}_getShare(t){return e("div",{class:"share-action",id:this._getId(t)},e("instant-apps-social-share",{autoUpdateShareUrl:!1,class:"instant-app-share",embed:this.shareIncludeEmbed,flipRtl:!0,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,s){return document.getElementById(i)?e("calcite-tooltip",{placement:t,"reference-element":i},e("span",null,s)):void 0}_getId(t){return`solutions-action-${t}`}_getDangerAction(t,i,s,h){const a=void 0===this._layer||h;return e("div",{class:"display-flex",id:this._getId(t)},e("calcite-action",{appearance:"solid",disabled:a,id:t,onClick:s,text:""},e("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:!1,multiSortEnabled:!1,attachmentsEnabled:!0,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),this._table.on("cell-pointerover",this.tempHighlightOnHover.bind(this)),this._table.on("cell-pointerout",this._removeTempHighlight.bind(this)),this._tableNode.addEventListener("mouseleave",this._removeTempHighlight.bind(this));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()];this.selectedIds=i.reverse(),this._tempSelectedIds=[...this.selectedIds],this._finishOnChange(),this._selectionFromMap=!1,this._highlightFeatures(this.selectedIds[0])}async _validateActiveEdits(t,i){let s=!0;if(this._editor&&!this._skipEditCheck){if(this._hasPendingEdits()){let e=!1;try{await this._editor.cancelWorkflow({force:!1})}catch(t){e="workflow:cancel-denied"===t.name}e&&(s=!1,this._skipEditCheck=!0,t.length>0?this._table.highlightIds.removeMany(t):i.length>0&&this._table.highlightIds.addMany(i))}}else s=!this._skipEditCheck,this._skipEditCheck=!1;return this._shouldUpdateTableOnExtentChange=s,s}_hasPendingEdits(){const t=this._editor?.viewModel?.hasPendingEdits,i=this._editor?.activeWorkflow?.activeWorkflow?.hasPendingEdits;return t||i}_finishOnChange(){this._showOnlySelected&&(this._featuresSelected()?this._table.filterBySelectionEnabled=!0:this._toggleShowSelected()),this.featureSelectionChange.emit(this.selectedIds)}tempHighlightOnHover(t){if(this._removeTempHighlight(),this._selectedLayerView){const i=t.feature;this._temporaryFeatureHandle=this._selectedLayerView?.highlight([i],{name:"temporary"})}}_removeTempHighlight(){this._temporaryFeatureHandle&&this._temporaryFeatureHandle.remove()}_highlightFeatures(t){if(this._clearHighlights(),this._selectedLayerView&&(this._currentFeatureHighlightHandle=this._selectedLayerView?.highlight([t],{name:"current-selection"}),this.selectedIds.length>1)){const i=this.selectedIds.filter((i=>i!==t));this._defaultFeaturesHandle=this._selectedLayerView?.highlight(i,{name:"default"})}}_clearHighlights(){this._removeTempHighlight(),this._currentFeatureHighlightHandle&&this._currentFeatureHighlightHandle.remove(),this._defaultFeaturesHandle&&this._defaultFeaturesHandle.remove()}_resetColumnTemplates(){const t=this._getColumnTemplates(this._layer?.id,this._layer?.fields);0===t?.length?this._tableNode?.classList.add("display-none"):this._tableNode?.classList.remove("display-none");const i=this._table?.tableTemplate?.columnTemplates,s=i&&t&&i.length!==t.length||t?.some(((t,s)=>JSON.stringify(i[s])!==JSON.stringify(t)));if(this._table&&t&&(s||!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 this.queryAllIds(),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._updateAllIds()}))}async _updateAllIds(){const t=await this.queryAllIds(),i=this.selectedIds.filter((t=>this._allIds.indexOf(t)>-1));JSON.stringify(t)===JSON.stringify(this._allIds)&&JSON.stringify(this.selectedIds)===JSON.stringify(i)||(this._allIds=t,this.selectedIds=i,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 r(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,s)=>((!t||t?.indexOf(s.name)>-1)&&(i[s.name]=!s.hidden),i)),{}),s=this._table?.columns.map((t=>t.name));(t?t.filter((t=>s.indexOf(t)<0)):[]).forEach((t=>{i[t]=!0})),this._columnsInfo=t?t.reduce(((t,s)=>(t[s]=i[s],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,s="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),s=t?.sortOrder?t.sortOrder:"desc")),this._table&&this._layer&&(await this._table.when(),await this._layer.when((()=>{this._table.sortColumn(i,s)})))}_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?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))}_filterModal(){return alert("_filterModal how does this one get hit??"),e("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"},e("instant-apps-filter-list",{autoUpdateUrl:!1,closeBtn:!0,closeBtnOnClick:()=>{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()}_handleTableOnMapExtent(){this._table&&(this._filterByExtentHandle=this.reactiveUtils.when((()=>this.mapView.stationary),(async()=>{if(this._shouldUpdateTableOnExtentChange){await new Promise((t=>setTimeout(t,800))),this._table.filterGeometry=this.mapView.extent;const t={geometry:this.mapView.extent},i=await this._layer.queryObjectIds(t),s=this.selectedIds.filter((t=>!i.includes(t))),e=this._outOFExtentOids.filter((t=>i.includes(t)));s.length>0&&(this._table&&this._table?.viewModel?.attachmentsViewOptions?.objectId&&this._table.viewModel.hideAttachmentsView(),this._table.highlightIds.removeMany(s),this._outOFExtentOids=[...this._outOFExtentOids,...s]),e.length>0&&(this.selectedIds=[...new Set([...this.selectedIds,...e])],this._table.highlightIds.removeAll(),this._table.highlightIds.addMany(this.selectedIds.reverse()),this._outOFExtentOids=this._outOFExtentOids.filter((t=>!e.includes(t))))}this._allIds=await this.queryAllIds()}),{initial:!0}))}async _closeFilter(){this._filterOpen&&(this._allIds=await this.queryAllIds(),this._filterOpen=!1)}async queryAllIds(){const t=this._layer.createQuery();return t.geometry=this._filterByExtentHandle?this.mapView.extent:null,t.where=this._layer.definitionExpression||"1=1",await this._layer.queryObjectIds(t)}async _mapClicked(t){const i={include:this._layer},s=await this.mapView.hitTest(t.screenPoint,i);s.results.length>0?(s.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.filterBySelectionEnabled=!0)):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._table.highlightIds.addMany(t),this.selectedIds=t,this._finishOnChange(),this._selectAllActive=!0):this._skipEditCheck=!1}_toggleShowSelected(){this._showOnlySelected=!this._showOnlySelected,this._table.filterBySelectionEnabled=this._showOnlySelected}_clearSelection(){this.selectedIds=[],this._outOFExtentOids=[],this._table&&this._table?.viewModel?.attachmentsViewOptions?.objectId&&this._table.viewModel.hideAttachmentsView(),this._table?.highlightIds.removeAll(),this._clearHighlights(),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,s)=>(t.indexOf(s)<0&&i.push(s),i)),[]).sort(((t,i)=>t-i));await this._validateActiveEdits(i,t)?(this._table.highlightIds.removeAll(),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 s=this._table.columns.toArray().reduce(((t,i)=>{if(!i.hidden){const s=i?.name||i?.fieldName;s&&t.push(s.toLocaleLowerCase())}return t}),[]);this._updateToolInfoLoading("export",!0),this._csvExporting=!0,await p(this.mapView.map,t,!1,!1,!0,s,!0,!0),this._updateToolInfoLoading("export",!1),this._csvExporting=!1}_updateToolInfoLoading(t,i){this._toolInfos.some((s=>{if(s?.icon===t)return s.loading=i,!0}))}async _refresh(){await this._validateActiveEdits([],this.selectedIds)&&(await(this._table?.refresh()),this._allIds=await this.queryAllIds(),this.featureSelectionChange.emit(this.selectedIds))}async _zoom(){this._layer&&await c(this.selectedIds,this._selectedLayerView,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((async()=>{this._selectedLayerView=t.isTable?null:await d(this.mapView,t.id),this._table&&this._table?.viewModel?.attachmentsViewOptions?.objectId&&this._table.viewModel.hideAttachmentsView(),this._shouldUpdateTableOnExtentChange=!0,this._layer=t,this._getFullTextSearchInfo()}))}this._fetchingData=!1}_getColumnTemplates(t,i){let s;this.mapInfo?.layerOptions?.layers.some((i=>{if(i.id===t)return s=i,!0}));const e=this._layer?.attributeTableTemplate?.elements;let h=[];e?.length>0&&this.honorMapFieldSettings&&(h=e.map((t=>t.fieldName)));const a=s?.fields&&s?.fieldOrder?s.fieldOrder.filter((t=>s.fields.indexOf(t)>-1)):h.length>0?h:void 0;let o;return i&&(o=i.reduce(((t,i)=>{const e={type:"field",fieldName:i.name,label:i.alias,menuConfig:this._getMenuConfig(i.name)};return s&&s?.fields?s.fields.indexOf(i.name)>-1&&t.push(e):h.length>0?h.indexOf(i.name)>-1&&t.push(e):t.push(e),t}),[])),a?o?.sort(this._sortFields.bind(this,a)):o}_sortFields(t,i,s){return t?.indexOf(i.fieldName)-t.indexOf(s.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 a(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"],mapView:["mapViewWatchHandler"],_layer:["_layerWatchHandler"],selectedIds:["selectedIdsWatchHandler"]}}};function u(t){return function(t){return-1!==t?.indexOf("http://")}(t)?t.replace(/^http:\/\//,"https://"):t}f.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;left:unset}html[dir="rtl"] .share-action{left:0;right:unset}.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 m=class{constructor(s){t(this,s),this.mapChanged=i(this,"mapChanged",7),this.beforeMapChanged=i(this,"beforeMapChanged",7),this.toggleFilter=i(this,"toggleFilter",7),this.clearSelection=i(this,"clearSelection",7),this.appLayout=void 0,this.appProxies=void 0,this.defaultWebmapId="",this.defaultLayerId=void 0,this.enableHome=void 0,this.enableLegend=void 0,this.enableFloorFilter=void 0,this.enableFullscreen=void 0,this.enableShare=!1,this.enableSingleExpand=!0,this.enableSearch=void 0,this.enableBasemap=void 0,this.basemapConfig=void 0,this.hidden=void 0,this.homeZoomIndex=3,this.homeZoomPosition="top-left",this.homeZoomToolsSize="m",this.locale=void 0,this.mapInfos=[],this.mapWidgetsIndex=0,this.mapWidgetsPosition="top-right",this.mapWidgetsSize="m",this.mapView=void 0,this.stackTools=!0,this.theme=void 0,this.toolOrder=void 0,this.isMapLayout=void 0,this.shareIncludeEmbed=void 0,this.shareIncludeSocial=void 0,this.selectedFeaturesIds=void 0,this.selectedLayer=void 0,this.zoomToScale=void 0,this.onlyShowUpdatableLayers=void 0,this.isMobile=void 0,this.mapInfo=void 0,this._translations=void 0,this._searchConfiguration=void 0,this._webMapInfo=void 0,this._showHideOpen=!1,this._toolInfos=void 0,this._controlsThatFit=void 0}get el(){return s(this)}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 s=this._getId(i.icon);return i.isOverflow=t.indexOf(s)<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":"",s="dark"===this.theme?"calcite-mode-dark":"calcite-mode-light",a=this.mapInfos?.length>1||this.isMapLayout?"map-height":"height-full",o=this.isMapLayout?"":"display-none";return this._validateActiveActions(),e(h,{key:"0dbff0683a2ba0aa956344c84719990b8316bdee"},e("div",{key:"af68bee85faa0da7189d4d8d831eb858600038d8",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),e("calcite-progress",{key:"5c4d2dacfe7eb4b13d115731981b8e50870a271d",class:o,value:0}),e("div",{key:"357d395aa75ee86fa5060bfc0d48b62a7aad31fc",class:`${a} ${i}`,ref:t=>this._mapDiv=t}),e("map-tools",{key:"ec965773008f144944a04253ca5cea818d38cc69",basemapConfig:this.basemapConfig,class:`box-shadow ${s}`,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,s,e]=await o(["esri/WebMap","esri/views/MapView","esri/widgets/Home","esri/config"]);this.WebMap=t,this.MapView=i,this.Home=s,this.esriConfig=e}async _loadMap(t){const i=!this._defaultWebmapHonored&&this.defaultWebmapId,s=this.mapInfos?.filter((t=>t.id===this.defaultWebmapId)),e=JSON.stringify(t)!==JSON.stringify(this._webMapInfo);this._webMapInfo=i&&s?s[0]:!t?.id&&this.mapInfos.length>0?this.mapInfos[0]:t;const h=this._webMapInfo.id,a=i&&t?.id===this.defaultWebmapId;if(this._loadedId!==h&&!i||a){const t=new this.WebMap({portalItem:{id:h}});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=u(t.proxyUrl),i.portalItem&&i.portalItem.when((()=>{i.portalItem.url=u(t.proxyUrl)})),l.request?.interceptors?.push({urls:t.sourceUrl,before:i=>{i.url&&i.url===t.sourceUrl&&(i.url=u(t.proxyUrl))}}))}))})),o)),this.mapView=new this.MapView({container:this._mapDiv,map:t,resizeAlign:"center"}),this._loadedId=h,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=!!a||this._defaultWebmapHonored,this.mapChanged.emit({id:h,mapView:this.mapView})}))}else i?(this._defaultWebmapHonored=!0,this._mapPicker.setMapByID(h)):e&&(this._searchConfiguration=this._webMapInfo.searchConfiguration,this.beforeMapChanged.emit(),this.mapChanged.emit({id:h,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 s=["solutions-more","solutions-map-layer-picker-container","map-picker","solutions-action-share"];if(i>t){if(this._toolbarSizeInfos.length>0){const e=[...this._toolbarSizeInfos].reverse().reduce(((e,h)=>(s.indexOf(h.id)<0&&(i>t?i-=h.width:e.push(h)),e)),[]).reverse();this._setControlsThatFit(e,s)}}else if(this._defaultVisibleToolSizeInfos){const e=this._toolbarSizeInfos.reduce(((t,i)=>(t.push(i.id),t)),[]);let h=!1;const a=[...this._defaultVisibleToolSizeInfos].reduce(((a,o)=>(!h&&s.indexOf(o.id)<0&&(e.indexOf(o.id)>-1||i+o.width<=t)?(e.indexOf(o.id)<0&&(i+=o.width),a.push(o)):s.indexOf(o.id)<0&&i+o.width>t&&(h=!0),a)),[]);this._setControlsThatFit(a,s)}}),250))}_setControlsThatFit(t,i){let s=JSON.stringify(t)!==JSON.stringify(this._controlsThatFit);const e=document.getElementById("solutions-action-bar");e?.childNodes?.forEach((t=>{i.indexOf(t.id)<0&&!s&&(s=this._controlsThatFit.map((t=>t.id)).indexOf(t.id)<0)})),s&&(this._controlsThatFit=[...t])}_setToolbarSizeInfos(){let t=!1;this._toolbarSizeInfos=[],this._toolbar.childNodes.forEach(((i,s)=>{0===s?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",s=this.isMobile?"border-top":"",h=this.isMapLayout?"":"display-none";return e("calcite-action-bar",{class:i,expandDisabled:!0,expanded:!0,id:this._getId("bar"),layout:"horizontal"},e("map-picker",{class:t,id:"map-picker",isMapLayout:this.isMapLayout,locale:this.locale,mapInfos:this.mapInfos,ref:t=>this._mapPicker=t}),e("div",{class:`mapView-header display-flex ${h}`,id:"solutions-map-layer-picker-container"},e("div",{class:`border-end ${i} ${s}`},this.mapView&&e("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?e("calcite-dropdown",{closeOnSelectDisabled:!0,disabled:void 0===this.selectedLayer,id:"solutions-more",onCalciteDropdownBeforeClose:()=>this._forceShowHide(),ref:t=>this._moreDropdown=t},e("calcite-action",{appearance:"solid",id:t,label:"",onClick:()=>this._closeShowHide(),slot:"trigger",text:""},e("calcite-button",{appearance:"transparent",iconEnd:"chevron-down",kind:"neutral"},this._translations.more)),e("calcite-dropdown-group",{"selection-mode":"none"},i.map((t=>e("calcite-dropdown-group",{class:t.disabled?"disabled":"",selectionMode:"none"},e("calcite-dropdown-item",{disabled:t.loading,iconStart:t.icon,id:"solutions-subset-list",onClick:t.func},t.loading?e("div",{class:"display-flex"},e("calcite-loader",{inline:!0,label:t.label,scale:"m"}),t.label):t.label)))))):void 0}_getShare(t){return e("div",{class:"share-action",id:this._getId(t)},e("instant-apps-social-share",{autoUpdateShareUrl:!1,class:"instant-app-share",embed:this.shareIncludeEmbed,flipRtl:!0,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.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},{active:!1,icon:"filter",indicator:!1,label:this._translations.filters,func:()=>this._toggleFilter(),disabled:!1,isOverflow:!1},i?{active:!1,icon:"pencil",indicator:!1,label:this._translations.editMultiple,func:()=>alert(this._translations.editMultiple),disabled:!i,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,s=["zoom-to-object","pencil","erase"];this._toolInfos?.forEach((e=>{e&&s.indexOf(e.icon)>-1&&(e.disabled="pencil"===e.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 d(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,s){return document.getElementById(i)?e("calcite-tooltip",{placement:t,"reference-element":"map-"+i},e("span",null,s)):void 0}_getActionItems(){return this._toolInfos?.filter((t=>t&&!t.isOverflow))}_getAction(t,i,s,h,a,o,l,n){const c=void 0===this.selectedLayer||o;return e("div",{class:"display-flex",id:this._getId(i),slot:n},e("calcite-action",{active:t,appearance:"solid",disabled:c,icon:i,id:"map-"+i,indicator:s,label:h,loading:l,onClick:a,text:h,textEnabled:!0}),this._getToolTip("bottom",i,h))}_getId(t){return`solutions-action-${t}`}async _getTranslations(){const t=await a(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"]}}};m.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{b as card_manager,f as layer_table,m as map_card}
@@ -3,4 +3,4 @@
3
3
  * Licensed under the Apache License, Version 2.0
4
4
  * http://www.apache.org/licenses/LICENSE-2.0
5
5
  */
6
- import{r as t,c as i,g as e,h as s,H as o,F as h}from"./p-934e8935.js";import{g as a}from"./p-8a74a780.js";import{E as l}from"./p-80cb7c73.js";import{g as n}from"./p-5693ce7a.js";import"./p-d4056c1c.js";const r=class{constructor(e){t(this,e),this.showIntroductionWindow=i(this,"showIntroductionWindow",7),this.showCoverPage=i(this,"showCoverPage",7),this.appLayout=void 0,this.appProxies=void 0,this.basemapConfig=void 0,this.coverPageEnabled=void 0,this.customInfoText=void 0,this.defaultAppLayout=void 0,this.defaultCenter="",this.defaultGlobalId="",this.defaultLayer="",this.defaultLevel="",this.defaultOid="",this.defaultWebmap="",this.honorMapFieldSettings=!1,this.introductionWindowEnabled=!1,this.enableAutoRefresh=!1,this.enableBasemap=!0,this.enableColumnReorder=!0,this.enableCSV=!0,this.enableFloorFilter=!0,this.enableFullscreen=!0,this.enableHome=!0,this.enableLegend=!0,this.enableSearch=!0,this.enableShare=!1,this.enableSnapping=!0,this.enableZoom=!0,this.locale=void 0,this.mapInfos=[],this.onlyShowUpdatableLayers=!0,this.popupHeaderColor=void 0,this.popupHeaderHoverColor=void 0,this.popupHeaderHoverTextColor=void 0,this.popupHeaderTextColor=void 0,this.searchConfiguration=void 0,this.shareIncludeEmbed=void 0,this.shareIncludeSocial=void 0,this.showNewestFirst=!0,this.theme="light",this.zoomAndScrollToSelected=!1,this.zoomToScale=void 0,this._deleteDialogOpen=!1,this._enableCreateFeatures=!0,this._hideFooter=!1,this._hideTable=!1,this._isMobile=!1,this._isPortraitMobile=!1,this._translations=void 0,this._layer=void 0,this._layoutMode=l.GRID,this._mapInfo=void 0,this._mapView=void 0,this._panelOpen=!0,this._numSelected=0,this._filterOpen=!1,this._showInformationHeader=!0,this._layerIds=void 0,this._isLoading=!0,this._mapExtentFilterChecked=void 0}get el(){return e(this)}_defaultAppLayoutHonored=!1;_defaultCenterHonored=!1;_defaultLevelHonored=!1;_deleteIds;_layerTable;_mapChange;_resizeObserver;_shouldSetMapView=!1;_layerExpressions;_filterList;_mapCard;_isMapViewOnLoad=!1;appLayoutWatchHandler(t,i){t!==i&&(this._layerTable?.validateTableUpdate("splitView"===t),this._setActiveLayout(t),"mapView"===this.appLayout&&this._layer?.isTable&&this._mapCard.updateLayer(),this._isMapViewOnLoad&&(this._layerTable.refresh(),this._isMapViewOnLoad=!1))}enableZoomWatchHandler(){this._initMapZoom()}async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}showIntroductionWindow;showCoverPage;async featureSelectionChange(t){this._numSelected=t.detail?.length}async popupClosed(){this._isPortraitMobile&&this.showHideMapPopupAndTable(!1)}async layoutChanged(t){this._layoutMode=t.detail}async mapChanged(t){this._mapChange=t.detail,await this._mapChange.mapView.when((async()=>{await this._setMapView()}))}async layerSelectionChange(t){const i=t.detail[0],e=await n(this._mapView,i);e&&await e.when((()=>{0===this._layerIds.length&&"mapView"===this.appLayout&&e.isTable&&(this.appLayout="splitView"),this._layer=e,this._initLayerExpressions(),this._handleFilterListReset(),this._isLoading=!1}))}async showDelete(t){this._deleteIds=t.detail.ids,this._deleteDialogOpen=!0}async idsFound(t){this._layerIds=t.detail.layerIds}async componentWillLoad(){await this._getTranslations(),this._resizeObserver=new ResizeObserver((()=>this._onResize()))}render(){return s(o,{key:"77fc3a2496e77ee3af327fd1ca65fc2834bf4498"},s("calcite-shell",{key:"c804550ff62d970449845eee9be41f79af2882eb",class:"position-relative"},s("calcite-panel",{key:"b6362732fb72571521a45d12aa7f85d7623b941b",class:"width-full height-full "+(this.popupHeaderColor&&"#FFFFFF"!==this.popupHeaderColor?"border-width-0":""),loading:this._isLoading},this._getBody(this._layoutMode,this._panelOpen,this._hideTable)),this._getFooter()),this._filterModal(),this._deleteModal())}async componentDidRender(){this._shouldSetMapView&&(this._shouldSetMapView=!1,this._mapChange&&await this._setMapView())}async componentDidLoad(){this._resizeObserver.observe(this.el),!this._defaultAppLayoutHonored&&this.defaultAppLayout?(this._defaultAppLayoutHonored=!0,this.appLayout=this.defaultAppLayout):this.appLayout||(this.appLayout="splitView"),this._isMapViewOnLoad="mapView"===this.appLayout,this._setActiveLayout(this.appLayout)}_getFooter(){const t=this._numSelected>0,i=this._layer?.editingEnabled&&this._layer?.capabilities?.operations?.supportsDelete;return this._isPortraitMobile&&t&&!this._hideFooter?s("div",{class:"width-100",slot:"footer"},s("div",{class:"display-flex padding-1-2"},s("calcite-button",{appearance:"solid",id:"solutions-show",onClick:()=>this.showHideMapPopupAndTable(!0),width:"full"},this._translations.view.replace("{{n}}",this._numSelected.toString())),i?s("delete-button",{class:"padding-inline-start-1 width-full",id:"solutions-delete",ids:this._layerTable.selectedIds,layer:this._layer,locale:this.locale}):void 0)):void 0}_setActiveLayout(t){"splitView"!==t||this._panelOpen||this._toggleLayout(),"mapView"===t?this._showMapInFullView():this._showMapInCardView()}_getDividerIcon(t,i){let e="";switch(t){case l.HORIZONTAL:e=i?"chevrons-up":"chevrons-down";break;case l.VERTICAL:case l.GRID:e=i?"chevrons-left":"chevrons-right"}return e}_getMapSizeClass(t,i,e){let s="";switch(t){case l.HORIZONTAL:s=(i&&!e?"height-1-2 display-grid":i&&e?"height-full":"height-0")+" width-full position-relative";break;case l.GRID:s="height-full position-relative "+(i?"width-1-3":"width-0");break;case l.VERTICAL:s="height-full position-relative "+(i?"width-1-2":"width-0")}return s}_getTableSizeClass(t,i){let e="";switch(t){case l.HORIZONTAL:e=(i?"height-1-2":"height-full")+" width-full display-flex flex-column";break;case l.GRID:e=(i?"width-2-3":"width-full")+" height-full display-flex";break;case l.VERTICAL:e=(i?"width-1-2":"width-full")+" height-full display-flex"}return e}_getBody(t,i,e){const o="dark"===this.theme?"calcite-mode-dark":"calcite-mode-light";return s("calcite-panel",{class:"width-full height-full position-absolute"},s("div",{class:"width-full height-full overflow-hidden "+(t===l.HORIZONTAL?"":"display-flex")},this._getMapAndCard(t,i,e),this._getTable(t,i,e)),this.coverPageEnabled&&s("div",{class:"floating-container",onClick:this.coverPageButtonClick.bind(this)},s("calcite-button",{appearance:"solid",class:`floating-button ${o}`,"icon-start":"content-minimal",kind:"neutral",label:"",round:!0,scale:"l","split-child":"primary",width:"auto"})),this.introductionWindowEnabled&&s("div",{class:"floating-container",onClick:this.infoButtonClick.bind(this)},s("calcite-button",{appearance:"solid",class:`floating-button ${o}`,"icon-start":"information-letter",kind:"neutral",label:"",round:!0,scale:"l","split-child":"primary",width:"auto"})))}infoButtonClick(){this.showIntroductionWindow.emit()}coverPageButtonClick(){this.showCoverPage.emit()}_getMapAndCard(t,i,e){const o=this._getMapSizeClass(t,i,e);return s("div",{class:`${o} overflow-hidden z-index-1 ${!this._isPortraitMobile&&this._isMobile?"border-right":""}`},this._getMapNode(i),this._getPopupExpandNode())}_getMapNode(t){const i="mapView"===this.appLayout,e="tableView"===this.appLayout;return s("div",{class:(i||e?"position-absolute-0":this._layoutMode!==l.HORIZONTAL||this._isPortraitMobile&&!t?"adjusted-height-50":"")+" overflow-hidden",id:"card-mapView"},s("map-card",{appLayout:this.appLayout,appProxies:this.appProxies,basemapConfig:this.basemapConfig,class:"width-full",defaultLayerId:this.defaultWebmap&&this.defaultLayer?this.defaultLayer:"",defaultWebmapId:this.defaultWebmap,enableBasemap:this.enableBasemap,enableFloorFilter:this.enableFloorFilter,enableFullscreen:this.enableFullscreen,enableHome:this.enableHome,enableLegend:this.enableLegend,enableSearch:this.enableSearch,enableShare:this.enableShare,enableSingleExpand:!0,hidden:!this._isPortraitMobile&&e,homeZoomIndex:3,homeZoomPosition:"top-left",homeZoomToolsSize:"s",isMapLayout:i,isMobile:this._isMobile,locale:this.locale,mapInfo:this._mapInfo,mapInfos:this.mapInfos?.filter((t=>!1!==t.visible)),mapWidgetsIndex:0,mapWidgetsPosition:"top-right",mapWidgetsSize:"m",onToggleFilter:this._toggleFilter.bind(this),onlyShowUpdatableLayers:this.onlyShowUpdatableLayers,ref:t=>this._mapCard=t,selectedFeaturesIds:this._layerTable?.selectedIds,selectedLayer:this._layer,shareIncludeEmbed:this.shareIncludeEmbed,shareIncludeSocial:this.shareIncludeSocial,stackTools:!0,theme:this.theme,toolOrder:["legend","search","fullscreen","basemap","floorfilter"],zoomToScale:this.zoomToScale}))}_getPopupExpandNode(){const t=this._isPortraitMobile&&this._showInformationHeader?"display-none height-0":"";return s("div",{class:`${this.popupHeaderColor?"":this._isPortraitMobile?"calcite-mode-light":"calcite-mode-dark"} ${this._isMobile?"height-full":"height-full position-relative"} ${this._isPortraitMobile&&this._hideTable?"position-absolute-0 width-full height-full":this._isPortraitMobile?"display-none height-0":""} ${this.mapInfos?.length>1&&"tableView"===this.appLayout?"position-relative top-51":""} ${"tableView"!==this.appLayout?"position-sticky":""}`,style:{"--calcite-color-foreground-1":this.popupHeaderColor,"--calcite-color-foreground-2":this.popupHeaderHoverColor,"--calcite-color-text-3":this.popupHeaderTextColor,"--calcite-color-text-2":this.popupHeaderTextColor}},s("calcite-panel",null,!this._isPortraitMobile&&this._showInformationHeader||this._numSelected>0&&!this._isPortraitMobile?s("div",{class:`display-flex align-items-center ${t}`,slot:"header-content"},s("calcite-icon",{icon:"information",scale:"s"}),s("div",{class:"padding-inline-start-75"},this._translations.information)):s("div",null),this._getCardNode()))}_getCardNode(){const t="mapView"===this.appLayout,i="tableView"===this.appLayout;return s("div",{class:"width-50 height-full "+("dark"===this.theme?"calcite-mode-dark":"calcite-mode-light")},s("card-manager",{class:(i&&this.mapInfos?.length>1?"adjusted-height-100-51":t||i?"height-full":this._numSelected>0&&!this._isMobile?"height-50":this._showInformationHeader?this._isPortraitMobile?"height-full":"height-50":"adjusted-height-50_25")+" width-full",customInfoText:this.customInfoText,enableCreateFeatures:this._enableCreateFeatures&&!this._isMobile,enableEditGeometry:this?._mapInfo?.enableEditGeometry,enableSnapping:this.enableSnapping,isMobile:this._isPortraitMobile,layer:this._layer,locale:this.locale,mapView:this?._mapView,onBackFromCreateWorkFlow:()=>{this._showInformationHeader=!0},onCreateWorkFlowStarted:()=>{this.appLayout=this._layer.isTable?"tableView":"mapView",this._showInformationHeader=!1},onFeatureOrRecordSubmitted:()=>{this._layerTable.refresh()},selectedFeaturesIds:this._layerTable?.selectedIds,selectingFeatureFromMap:"mapView"===this.appLayout,zoomAndScrollToSelected:this.zoomAndScrollToSelected}))}_getTable(t,i,e){const o="mapView"===this.appLayout,h="tableView"===this.appLayout,a=e&&this._isPortraitMobile?"visibility-hidden":o?"display-none":"",n=o?"height-full width-full z-index-0":"display-none",r=this._getTableSizeClass(t,i),d=t===l.HORIZONTAL?"horizontal":"vertical",c=t===l.HORIZONTAL?"header":"panel-start",p=this.defaultWebmap&&this.defaultLayer,g=this.defaultGlobalId?this.defaultGlobalId?.indexOf(",")>-1?this.defaultGlobalId.split(","):[this.defaultGlobalId]:void 0,u=this.defaultOid?this.defaultOid?.indexOf(",")>-1?this.defaultOid.split(",").map((t=>parseInt(t,10))):[parseInt(this.defaultOid,10)]:void 0;return s("calcite-shell",{class:`${r} border-bottom`},this._isMobile?void 0:s("calcite-action-bar",{class:"border-sides",expandDisabled:!0,layout:d,slot:c},this.getActions(t,i)),s("div",{class:`width-full height-full position-relative z-index-0 ${a}`},s("layer-table",{appLayout:this.appLayout,createFilterModal:!1,defaultGlobalId:p?g:void 0,defaultLayerId:p?this.defaultLayer:"",defaultOid:p&&!g?u:void 0,enableAutoRefresh:this.enableAutoRefresh,enableCSV:this.enableCSV,enableColumnReorder:this.enableColumnReorder,enableInlineEdit:this?._mapInfo?.enableInlineEdit,enableShare:this.enableShare,honorMapFieldSettings:this.honorMapFieldSettings,isMobile:this._isPortraitMobile,locale:this.locale,mapHidden:h,mapInfo:this._mapInfo,mapView:this?._mapView,onToggleFilter:this._toggleFilter.bind(this),onlyShowUpdatableLayers:this.onlyShowUpdatableLayers,ref:t=>this._layerTable=t,shareIncludeEmbed:this.shareIncludeEmbed,shareIncludeSocial:this.shareIncludeSocial,showNewestFirst:this.showNewestFirst,zoomAndScrollToSelected:this.zoomAndScrollToSelected,zoomToScale:this.zoomToScale})),s("div",{class:n,id:"full-map-view"}))}getActions(t,i){const e=this._getDividerIcon(t,i),o=i?this._translations.close:this._translations.open,a="toggle-layout";return s(h,null,s("calcite-action",{active:"splitView"===this.appLayout,class:"toggle-node",icon:"browser",id:"browser-action",onClick:()=>{this.appLayout="splitView"},text:""}),s("calcite-tooltip",{placement:"right","reference-element":"browser-action"},s("span",null,this._translations.splitView)),s("calcite-action",{active:"tableView"===this.appLayout,class:"toggle-node",icon:"dock-left",id:"dock-left-action",onClick:()=>{this.appLayout="tableView"},text:""}),s("calcite-tooltip",{placement:"right","reference-element":"dock-left-action"},s("span",null,this._translations.tableView)),s("calcite-action",{active:"mapView"===this.appLayout,class:"toggle-node",disabled:0===this._layerIds?.length,icon:"browser-map",id:"browser-map-action",onClick:()=>{this.appLayout="mapView"},text:""}),s("calcite-tooltip",{placement:"right","reference-element":"browser-map-action"},s("span",null,this._translations.mapView)),s("calcite-action",{class:"toggle-node",icon:e,id:a,onClick:()=>this._toggleLayout(),slot:"actions-end",text:""}),s("calcite-tooltip",{placement:"bottom","reference-element":a},s("span",null,o)))}_deleteModal(){return s("delete-dialog",{id:"deleteDialogId",ids:this._deleteIds,layer:this._layer,locale:this.locale,onDeleteDialogClose:()=>this._deleteDialogOpen=!1,open:this._deleteDialogOpen})}_mapExtentFilter(){const t=0===this._layerExpressions?.length;return s("calcite-panel",null,s("div",null,s("calcite-block",{class:"dark"===this.theme?"background-dark":"",heading:"","menu-placement":"bottom-end",open:!0},s("div",{class:"filter-extent-container"},s("div",{class:"filter-extent-message"},s("span",null,this._translations.filterByExtentMsg," "),s("calcite-icon",{icon:"information",id:"filter-message-info",scale:"s"}),s("calcite-tooltip",{overlayPositioning:"fixed",placement:"top","reference-element":"filter-message-info"},this._translations.filterByExtentTooltipMsg)),s("calcite-switch",{checked:this._mapExtentFilterChecked,onCalciteSwitchChange:t=>{this._layerTable.filterUpdate(t.target.checked||this._filterList?.filterCount>0,t.target.checked),this._mapExtentFilterChecked=t.target.checked},scale:"m"}))),t&&s("div",{class:"filter-modal-buttons",slot:"footer"},s("calcite-button",{appearance:"outline",onClick:this._handleFilterListReset.bind(this),width:"full"},this._translations.Resetfilter),s("calcite-button",{onClick:this._closeFilter.bind(this),width:"full"},this._translations.close))))}_filterModal(){const t=this._layerExpressions?.length>0;return 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,width:"s"},this._mapExtentFilter(),t&&s("instant-apps-filter-list",{autoUpdateUrl:!1,closeBtn:!0,closeBtnOnClick:()=>{this._closeFilter()},comboboxOverlayPositioning:"fixed",layerExpressions:this._layerExpressions,onFilterListReset:this._handleFilterListReset.bind(this),onFilterUpdate:()=>{this._updateFilter()},ref:t=>this._filterList=t,view:this._mapView,zoomBtn:!1}))}async _updateFilter(){const t=this._filterList.filterCount>0||this._mapExtentFilterChecked;await(this._layerTable?.filterUpdate(t)),await this._mapCard.updateFilterState(t)}_initLayerExpressions(){const t=this._mapInfo?.filterConfig?.layerExpressions;this._layerExpressions=t?t.filter((t=>t.id===this._layer?.id)):[],this._layerExpressions.filter((t=>t.expressions.filter((t=>t.active)).length>0))}_toggleFilter(){this._filterOpen=!this._filterOpen}_handleFilterListReset(){this._mapExtentFilterChecked=!1,this._mapCard.resetFilter(),this._layerTable.filterReset()}async _closeFilter(){this._filterOpen&&(this._filterOpen=!1,this._layerTable.closeFilter())}_onResize(){const t=this.el.offsetWidth<1024,i=!this._isMobile&&t;this._isMobile=t,i&&(this._panelOpen=!0),this._isMobile?(this.showHideMapPopupAndTable(!this._isMobile),this._isPortraitMobile=!!window.matchMedia("(orientation: portrait)").matches,this.appLayout="splitView"):this._isPortraitMobile=!1,this._layoutMode=this._isPortraitMobile?l.HORIZONTAL:l.GRID}_toggleLayout(){this._panelOpen=!this._panelOpen}_showMapInCardView(){if("mapView"!==this.appLayout){const t=document.getElementById("full-map-view")?.childNodes[0],i=document.getElementById("card-mapView");t&&i.appendChild(t)}}_showMapInFullView(){const t=document.getElementById("card-mapView")?.childNodes[0],i=document.getElementById("full-map-view");t&&i.appendChild(t)}showHideMapPopupAndTable(t){this._hideTable=t,this._hideFooter=t}_getMapInfo(t){let i;return this.mapInfos.some((e=>{if(e.id===t)return i=e,!0})),{...i}}async _setMapView(){this._mapInfo=this._getMapInfo(this._mapChange.id),this._enableCreateFeatures=this._mapInfo.enableCreateFeatures,this._mapView=this._mapChange.mapView,this._initMapZoom(),this._mapView.popupEnabled=!1;const t=!this.defaultCenter||this._defaultCenterHonored?void 0:this.defaultCenter?.split(";").map((t=>parseFloat(t))),i=!this.defaultLevel||this._defaultLevelHonored?void 0:parseInt(this.defaultLevel,10);t&&i&&(await this._mapView.goTo({center:t,zoom:i}),this._defaultCenterHonored=!0,this._defaultLevelHonored=!0)}_initMapZoom(){this.enableZoom?this.enableZoom&&this._mapView.ui.add({component:"zoom",position:"top-left",index:0}):this._mapView.ui.remove("zoom")}async _getTranslations(){const t=await a(this.el);this._translations=t[0]}static get watchers(){return{appLayout:["appLayoutWatchHandler"],enableZoom:["enableZoomWatchHandler"],locale:["localeWatchHandler"]}}};r.style=":host{display:block;--calcite-label-margin-bottom:0px;--solutions-theme-foreground-color:var(--calcite-color-foreground-1)}.padding-1-2{padding:0.5rem}.display-flex{display:flex}.width-full{width:100%}.width-1-2{position:relative;width:50%}.width-1-3{position:relative;width:33.33%}.width-2-3{position:relative;width:66.66%}.width-0{width:0}.height-full{height:100%}.height-1-2{position:relative;height:50%}.height-0{height:0}.toggle-node{width:51px;height:51px}.overflow-hidden{overflow:hidden}.flex-column{flex-direction:column}.border{border:1px solid var(--calcite-color-border-3)}.border-bottom{border-bottom:1px solid var(--calcite-color-border-3)}.border-right{border-right:2px solid var(--calcite-color-border-3)}.border-sides{border-left:1px solid var(--calcite-color-border-3);border-right:1px solid var(--calcite-color-border-3)}.position-relative{position:relative}.position-absolute{position:absolute}.position-sticky{position:sticky}.height-50{height:50%}.top-51{top:51px}.adjusted-height-50{height:calc(50% - 25px)}.adjusted-height-100{height:calc(100% - 50px)}.adjusted-height-100-51{height:calc(100% - 51px)}.display-none{display:none !important}.adjusted-height-50_25{height:calc(50% + 25px)}.position-absolute-53{position:absolute;top:53px}.display-grid{display:grid}.height-50-px{height:50px}.padding-inline-start-75{padding-inline-start:0.75rem}.align-items-center{align-items:center}.esri-floor-filter__close-levels-button{width:40px !important;height:40px !important}.esri-floor-filter__level-button{width:40px !important;height:40px !important}.esri-floor-filter__browse-button{width:40px !important;height:40px !important}.position-absolute-50{position:absolute;top:50px;bottom:0px;left:0px;right:0px}.position-absolute-0{position:absolute;top:0px;bottom:0px;left:0px;right:0px}.visibility-hidden{visibility:hidden;height:0px}.position-fixed{position:fixed}.border-width-0{border-width:0px}.border-bottom-width-0{border-bottom-width:0px}.floating-container{position:fixed;width:100px;height:10px;bottom:0;right:0;margin:100px 0px}.floating-container .floating-button{box-shadow:0 10px 25px rgb(92 93 94 / 60%);transform:translatey(5px);transition:all 0.3s}.z-index-0{z-index:0 !important}.z-index-1{z-index:1 !important}.filter-content-space{--calcite-dialog-content-space:0px}.background-dark{background:var(--calcite-color-background)}.filter-extent-container{display:flex;justify-content:space-between;align-items:center;padding:10px 0}.filter-modal-buttons{display:flex;padding:12px;gap:10px}.filter-extent-message{align-items:center;display:flex;gap:5px}";export{r as crowdsource_manager}
6
+ import{r as t,c as i,g as e,h as s,H as o,F as h}from"./p-934e8935.js";import{g as a}from"./p-8a74a780.js";import{E as l}from"./p-80cb7c73.js";import{g as n}from"./p-5693ce7a.js";import"./p-d4056c1c.js";const r=class{constructor(e){t(this,e),this.showIntroductionWindow=i(this,"showIntroductionWindow",7),this.showCoverPage=i(this,"showCoverPage",7),this.appLayout=void 0,this.appProxies=void 0,this.basemapConfig=void 0,this.coverPageEnabled=void 0,this.customInfoText=void 0,this.defaultAppLayout=void 0,this.defaultCenter="",this.defaultGlobalId="",this.defaultLayer="",this.defaultLevel="",this.defaultOid="",this.defaultWebmap="",this.honorMapFieldSettings=!1,this.introductionWindowEnabled=!1,this.enableAutoRefresh=!1,this.enableBasemap=!0,this.enableColumnReorder=!0,this.enableCSV=!0,this.enableFloorFilter=!0,this.enableFullscreen=!0,this.enableHome=!0,this.enableLegend=!0,this.enableSearch=!0,this.enableShare=!1,this.enableSnapping=!0,this.enableZoom=!0,this.locale=void 0,this.mapInfos=[],this.onlyShowUpdatableLayers=!0,this.popupHeaderColor=void 0,this.popupHeaderHoverColor=void 0,this.popupHeaderHoverTextColor=void 0,this.popupHeaderTextColor=void 0,this.searchConfiguration=void 0,this.shareIncludeEmbed=void 0,this.shareIncludeSocial=void 0,this.showNewestFirst=!0,this.theme="light",this.zoomAndScrollToSelected=!1,this.zoomToScale=void 0,this._deleteDialogOpen=!1,this._enableCreateFeatures=!0,this._hideFooter=!1,this._hideTable=!1,this._isMobile=!1,this._isPortraitMobile=!1,this._translations=void 0,this._layer=void 0,this._layoutMode=l.GRID,this._mapInfo=void 0,this._mapView=void 0,this._panelOpen=!0,this._numSelected=0,this._filterOpen=!1,this._showInformationHeader=!0,this._layerIds=void 0,this._isLoading=!0,this._mapExtentFilterChecked=void 0}get el(){return e(this)}_defaultAppLayoutHonored=!1;_defaultCenterHonored=!1;_defaultLevelHonored=!1;_deleteIds;_layerTable;_mapChange;_resizeObserver;_shouldSetMapView=!1;_layerExpressions;_filterList;_mapCard;_isMapViewOnLoad=!1;appLayoutWatchHandler(t,i){t!==i&&(this._layerTable?.validateTableUpdate("splitView"===t),this._setActiveLayout(t),"mapView"===this.appLayout&&this._layer?.isTable&&this._mapCard.updateLayer(),this._isMapViewOnLoad&&(this._layerTable.refresh(),this._isMapViewOnLoad=!1))}enableZoomWatchHandler(){this._initMapZoom()}async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}showIntroductionWindow;showCoverPage;async featureSelectionChange(t){this._numSelected=t.detail?.length}async popupClosed(){this._isPortraitMobile&&this.showHideMapPopupAndTable(!1)}async layoutChanged(t){this._layoutMode=t.detail}async mapChanged(t){this._mapChange=t.detail,await this._mapChange.mapView.when((async()=>{await this._setMapView()}))}async layerSelectionChange(t){const i=t.detail[0],e=await n(this._mapView,i);e&&await e.when((()=>{0===this._layerIds.length&&"mapView"===this.appLayout&&e.isTable&&(this.appLayout="splitView"),this._layer=e,this._initLayerExpressions(),this._handleFilterListReset(),this._isLoading=!1}))}async showDelete(t){this._deleteIds=t.detail.ids,this._deleteDialogOpen=!0}async idsFound(t){this._layerIds=t.detail.layerIds}async componentWillLoad(){await this._getTranslations(),this._resizeObserver=new ResizeObserver((()=>this._onResize()))}render(){return s(o,{key:"77fc3a2496e77ee3af327fd1ca65fc2834bf4498"},s("calcite-shell",{key:"c804550ff62d970449845eee9be41f79af2882eb",class:"position-relative"},s("calcite-panel",{key:"b6362732fb72571521a45d12aa7f85d7623b941b",class:"width-full height-full "+(this.popupHeaderColor&&"#FFFFFF"!==this.popupHeaderColor?"border-width-0":""),loading:this._isLoading},this._getBody(this._layoutMode,this._panelOpen,this._hideTable)),this._getFooter()),this._filterModal(),this._deleteModal())}async componentDidRender(){this._shouldSetMapView&&(this._shouldSetMapView=!1,this._mapChange&&await this._setMapView())}async componentDidLoad(){this._resizeObserver.observe(this.el),!this._defaultAppLayoutHonored&&this.defaultAppLayout?(this._defaultAppLayoutHonored=!0,this.appLayout=this.defaultAppLayout):this.appLayout||(this.appLayout="splitView"),this._isMapViewOnLoad="mapView"===this.appLayout,this._setActiveLayout(this.appLayout)}_getFooter(){const t=this._numSelected>0,i=this._layer?.editingEnabled&&this._layer?.capabilities?.operations?.supportsDelete;return this._isPortraitMobile&&t&&!this._hideFooter?s("div",{class:"width-100",slot:"footer"},s("div",{class:"display-flex padding-1-2"},s("calcite-button",{appearance:"solid",id:"solutions-show",onClick:()=>this.showHideMapPopupAndTable(!0),width:"full"},this._translations.view.replace("{{n}}",this._numSelected.toString())),i?s("delete-button",{class:"padding-inline-start-1 width-full",id:"solutions-delete",ids:this._layerTable.selectedIds,layer:this._layer,locale:this.locale}):void 0)):void 0}_setActiveLayout(t){"splitView"!==t||this._panelOpen||this._toggleLayout(),"mapView"===t?this._showMapInFullView():this._showMapInCardView()}_getDividerIcon(t,i){let e="";switch(t){case l.HORIZONTAL:e=i?"chevrons-up":"chevrons-down";break;case l.VERTICAL:case l.GRID:e=i?"chevrons-left":"chevrons-right"}return e}_getMapSizeClass(t,i,e){let s="";switch(t){case l.HORIZONTAL:s=(i&&!e?"height-1-2 display-grid":i&&e?"height-full":"height-0")+" width-full position-relative";break;case l.GRID:s="height-full position-relative "+(i?"width-1-3":"width-0");break;case l.VERTICAL:s="height-full position-relative "+(i?"width-1-2":"width-0")}return s}_getTableSizeClass(t,i){let e="";switch(t){case l.HORIZONTAL:e=(i?"height-1-2":"height-full")+" width-full display-flex flex-column";break;case l.GRID:e=(i?"width-2-3":"width-full")+" height-full display-flex";break;case l.VERTICAL:e=(i?"width-1-2":"width-full")+" height-full display-flex"}return e}_getBody(t,i,e){const o="dark"===this.theme?"calcite-mode-dark":"calcite-mode-light";return s("calcite-panel",{class:"width-full height-full position-absolute"},s("div",{class:"width-full height-full overflow-hidden "+(t===l.HORIZONTAL?"":"display-flex")},this._getMapAndCard(t,i,e),this._getTable(t,i,e)),this.coverPageEnabled&&s("div",{class:"floating-container",onClick:this.coverPageButtonClick.bind(this)},s("calcite-button",{appearance:"solid",class:`floating-button ${o}`,"icon-start":"content-minimal",kind:"neutral",label:"",round:!0,scale:"l","split-child":"primary",width:"auto"})),this.introductionWindowEnabled&&s("div",{class:"floating-container",onClick:this.infoButtonClick.bind(this)},s("calcite-button",{appearance:"solid",class:`floating-button ${o}`,"icon-start":"information-letter",kind:"neutral",label:"",round:!0,scale:"l","split-child":"primary",width:"auto"})))}infoButtonClick(){this.showIntroductionWindow.emit()}coverPageButtonClick(){this.showCoverPage.emit()}_getMapAndCard(t,i,e){const o=this._getMapSizeClass(t,i,e);return s("div",{class:`${o} overflow-hidden z-index-1 ${!this._isPortraitMobile&&this._isMobile?"border-right":""}`},this._getMapNode(i),this._getPopupExpandNode())}_getMapNode(t){const i="mapView"===this.appLayout,e="tableView"===this.appLayout;return s("div",{class:(i||e?"position-absolute-0":this._layoutMode!==l.HORIZONTAL||this._isPortraitMobile&&!t?"adjusted-height-50":"")+" overflow-hidden",id:"card-mapView"},s("map-card",{appLayout:this.appLayout,appProxies:this.appProxies,basemapConfig:this.basemapConfig,class:"width-full",defaultLayerId:this.defaultWebmap&&this.defaultLayer?this.defaultLayer:"",defaultWebmapId:this.defaultWebmap,enableBasemap:this.enableBasemap,enableFloorFilter:this.enableFloorFilter,enableFullscreen:this.enableFullscreen,enableHome:this.enableHome,enableLegend:this.enableLegend,enableSearch:this.enableSearch,enableShare:this.enableShare,enableSingleExpand:!0,hidden:!this._isPortraitMobile&&e,homeZoomIndex:3,homeZoomPosition:"top-left",homeZoomToolsSize:"s",isMapLayout:i,isMobile:this._isMobile,locale:this.locale,mapInfo:this._mapInfo,mapInfos:this.mapInfos?.filter((t=>!1!==t.visible)),mapWidgetsIndex:0,mapWidgetsPosition:"top-right",mapWidgetsSize:"m",onToggleFilter:this._toggleFilter.bind(this),onlyShowUpdatableLayers:this.onlyShowUpdatableLayers,ref:t=>this._mapCard=t,selectedFeaturesIds:this._layerTable?.selectedIds,selectedLayer:this._layer,shareIncludeEmbed:this.shareIncludeEmbed,shareIncludeSocial:this.shareIncludeSocial,stackTools:!0,theme:this.theme,toolOrder:["legend","search","fullscreen","basemap","floorfilter"],zoomToScale:this.zoomToScale}))}_getPopupExpandNode(){const t=this._isPortraitMobile&&this._showInformationHeader?"display-none height-0":"";return s("div",{class:`${this.popupHeaderColor?"":this._isPortraitMobile?"calcite-mode-light":"calcite-mode-dark"} ${this._isMobile?"height-full":"height-full position-relative"} ${this._isPortraitMobile&&this._hideTable?"position-absolute-0 width-full height-full":this._isPortraitMobile?"display-none height-0":""} ${this.mapInfos?.length>1&&"tableView"===this.appLayout?"position-relative top-51":""} ${"tableView"!==this.appLayout?"position-sticky":""}`,style:{"--calcite-color-foreground-1":this.popupHeaderColor,"--calcite-color-foreground-2":this.popupHeaderHoverColor,"--calcite-color-text-3":this.popupHeaderTextColor,"--calcite-color-text-2":this.popupHeaderTextColor}},s("calcite-panel",null,!this._isPortraitMobile&&this._showInformationHeader||this._numSelected>0&&!this._isPortraitMobile?s("div",{class:`display-flex align-items-center ${t}`,slot:"header-content"},s("calcite-icon",{icon:"information",scale:"s"}),s("div",{class:"padding-inline-start-75"},this._translations.information)):s("div",null),this._getCardNode()))}_getCardNode(){const t="mapView"===this.appLayout,i="tableView"===this.appLayout;return s("div",{class:"width-50 height-full "+("dark"===this.theme?"calcite-mode-dark":"calcite-mode-light")},s("card-manager",{class:(i&&this.mapInfos?.length>1?"adjusted-height-100-51":t||i?"height-full":this._numSelected>0&&!this._isMobile?"height-50":this._showInformationHeader?this._isPortraitMobile?"height-full":"height-50":"adjusted-height-50_25")+" width-full",customInfoText:this.customInfoText,enableCreateFeatures:this._enableCreateFeatures&&!this._isMobile,enableEditGeometry:this?._mapInfo?.enableEditGeometry,enableSnapping:this.enableSnapping,isMobile:this._isPortraitMobile,layer:this._layer,locale:this.locale,mapView:this?._mapView,onBackFromCreateWorkFlow:()=>{this._showInformationHeader=!0},onCreateWorkFlowStarted:()=>{this.appLayout=this._layer.isTable?"tableView":"mapView",this._showInformationHeader=!1},onFeatureOrRecordSubmitted:()=>{this._layerTable.refresh()},selectedFeaturesIds:this._layerTable?.selectedIds,selectingFeatureFromMap:"mapView"===this.appLayout,zoomAndScrollToSelected:this.zoomAndScrollToSelected}))}_getTable(t,i,e){const o="mapView"===this.appLayout,h="tableView"===this.appLayout,a=e&&this._isPortraitMobile?"visibility-hidden":o?"display-none":"",n=o?"height-full width-full z-index-0":"display-none",r=this._getTableSizeClass(t,i),d=t===l.HORIZONTAL?"horizontal":"vertical",c=t===l.HORIZONTAL?"header":"panel-start",p=this.defaultWebmap&&this.defaultLayer,g=this.defaultGlobalId?this.defaultGlobalId?.indexOf(",")>-1?this.defaultGlobalId.split(","):[this.defaultGlobalId]:void 0,u=this.defaultOid?this.defaultOid?.indexOf(",")>-1?this.defaultOid.split(",").map((t=>parseInt(t,10))):[parseInt(this.defaultOid,10)]:void 0;return s("calcite-shell",{class:`${r} border-bottom`},this._isMobile?void 0:s("calcite-action-bar",{class:"border-sides",expandDisabled:!0,layout:d,slot:c},this.getActions(t,i)),s("div",{class:`width-full height-full position-relative z-index-0 ${a}`},s("layer-table",{appLayout:this.appLayout,createFilterModal:!1,defaultGlobalId:p?g:void 0,defaultLayerId:p?this.defaultLayer:"",defaultOid:p&&!g?u:void 0,enableAutoRefresh:this.enableAutoRefresh,enableCSV:this.enableCSV,enableColumnReorder:this.enableColumnReorder,enableInlineEdit:this?._mapInfo?.enableInlineEdit,enableShare:this.enableShare,honorMapFieldSettings:this.honorMapFieldSettings,isMobile:this._isPortraitMobile,locale:this.locale,mapHidden:h,mapInfo:this._mapInfo,mapView:this?._mapView,onToggleFilter:this._toggleFilter.bind(this),onlyShowUpdatableLayers:this.onlyShowUpdatableLayers,ref:t=>this._layerTable=t,shareIncludeEmbed:this.shareIncludeEmbed,shareIncludeSocial:this.shareIncludeSocial,showNewestFirst:this.showNewestFirst,zoomAndScrollToSelected:this.zoomAndScrollToSelected,zoomToScale:this.zoomToScale})),s("div",{class:n,id:"full-map-view"}))}getActions(t,i){const e=this._getDividerIcon(t,i),o=i?this._translations.close:this._translations.open,a="toggle-layout";return s(h,null,s("calcite-action",{active:"splitView"===this.appLayout,class:"toggle-node",icon:"browser",id:"browser-action",onClick:()=>{this.appLayout="splitView"},text:""}),s("calcite-tooltip",{placement:"right","reference-element":"browser-action"},s("span",null,this._translations.splitView)),s("calcite-action",{active:"tableView"===this.appLayout,class:"toggle-node",icon:"dock-left",id:"dock-left-action",onClick:()=>{this.appLayout="tableView"},text:""}),s("calcite-tooltip",{placement:"right","reference-element":"dock-left-action"},s("span",null,this._translations.tableView)),s("calcite-action",{active:"mapView"===this.appLayout,class:"toggle-node",disabled:0===this._layerIds?.length,icon:"browser-map",id:"browser-map-action",onClick:()=>{this.appLayout="mapView"},text:""}),s("calcite-tooltip",{placement:"right","reference-element":"browser-map-action"},s("span",null,this._translations.mapView)),s("calcite-action",{class:"toggle-node",icon:e,id:a,onClick:()=>this._toggleLayout(),slot:"actions-end",text:""}),s("calcite-tooltip",{placement:"bottom","reference-element":a},s("span",null,o)))}_deleteModal(){return s("delete-dialog",{id:"deleteDialogId",ids:this._deleteIds,layer:this._layer,locale:this.locale,onDeleteDialogClose:()=>this._deleteDialogOpen=!1,open:this._deleteDialogOpen})}_mapExtentFilter(){const t=0===this._layerExpressions?.length;return s("calcite-panel",null,s("div",null,s("calcite-block",{class:"dark"===this.theme?"background-dark":"",heading:"","menu-placement":"bottom-end",open:!0},s("div",{class:"filter-extent-container"},s("div",{class:"filter-extent-message"},s("span",null,this._translations.filterByExtentMsg," "),s("calcite-icon",{icon:"information",id:"filter-message-info",scale:"s"}),s("calcite-tooltip",{overlayPositioning:"fixed",placement:"top","reference-element":"filter-message-info"},this._translations.filterByExtentTooltipMsg)),s("calcite-switch",{checked:this._mapExtentFilterChecked,onCalciteSwitchChange:t=>{const i=t.target.checked||this._filterList?.filterCount>0;this._layerTable.filterUpdate(i,t.target.checked),this._mapCard.updateFilterState(i),this._mapExtentFilterChecked=t.target.checked},scale:"m"}))),t&&s("div",{class:"filter-modal-buttons",slot:"footer"},s("calcite-button",{appearance:"outline",onClick:this._handleFilterListReset.bind(this),width:"full"},this._translations.Resetfilter),s("calcite-button",{onClick:this._closeFilter.bind(this),width:"full"},this._translations.close))))}_filterModal(){const t=this._layerExpressions?.length>0;return 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,width:"s"},!this._layer?.isTable&&this._mapExtentFilter(),t&&s("instant-apps-filter-list",{autoUpdateUrl:!1,closeBtn:!0,closeBtnOnClick:()=>{this._closeFilter()},comboboxOverlayPositioning:"fixed",layerExpressions:this._layerExpressions,onFilterListReset:this._handleFilterListReset.bind(this),onFilterUpdate:()=>{this._updateFilter()},ref:t=>this._filterList=t,view:this._mapView,zoomBtn:!1}))}async _updateFilter(){const t=this._filterList.filterCount>0||this._mapExtentFilterChecked;await(this._layerTable?.filterUpdate(t)),await this._mapCard.updateFilterState(t)}_initLayerExpressions(){const t=this._mapInfo?.filterConfig?.layerExpressions;this._layerExpressions=t?t.filter((t=>t.id===this._layer?.id)):[],this._layerExpressions.filter((t=>t.expressions.filter((t=>t.active)).length>0))}_toggleFilter(){this._filterOpen=!this._filterOpen}_handleFilterListReset(){this._mapExtentFilterChecked=!1,this._mapCard.resetFilter(),this._layerTable.filterReset()}async _closeFilter(){this._filterOpen&&(this._filterOpen=!1,this._layerTable.closeFilter())}_onResize(){const t=this.el.offsetWidth<1024,i=!this._isMobile&&t;this._isMobile=t,i&&(this._panelOpen=!0),this._isMobile?(this.showHideMapPopupAndTable(!this._isMobile),this._isPortraitMobile=!!window.matchMedia("(orientation: portrait)").matches,this.appLayout="splitView"):this._isPortraitMobile=!1,this._layoutMode=this._isPortraitMobile?l.HORIZONTAL:l.GRID}_toggleLayout(){this._panelOpen=!this._panelOpen}_showMapInCardView(){if("mapView"!==this.appLayout){const t=document.getElementById("full-map-view")?.childNodes[0],i=document.getElementById("card-mapView");t&&i.appendChild(t)}}_showMapInFullView(){const t=document.getElementById("card-mapView")?.childNodes[0],i=document.getElementById("full-map-view");t&&i.appendChild(t)}showHideMapPopupAndTable(t){this._hideTable=t,this._hideFooter=t}_getMapInfo(t){let i;return this.mapInfos.some((e=>{if(e.id===t)return i=e,!0})),{...i}}async _setMapView(){this._mapInfo=this._getMapInfo(this._mapChange.id),this._enableCreateFeatures=this._mapInfo.enableCreateFeatures,this._mapView=this._mapChange.mapView,this._initMapZoom(),this._mapView.popupEnabled=!1;const t=!this.defaultCenter||this._defaultCenterHonored?void 0:this.defaultCenter?.split(";").map((t=>parseFloat(t))),i=!this.defaultLevel||this._defaultLevelHonored?void 0:parseInt(this.defaultLevel,10);t&&i&&(await this._mapView.goTo({center:t,zoom:i}),this._defaultCenterHonored=!0,this._defaultLevelHonored=!0)}_initMapZoom(){this.enableZoom?this.enableZoom&&this._mapView.ui.add({component:"zoom",position:"top-left",index:0}):this._mapView.ui.remove("zoom")}async _getTranslations(){const t=await a(this.el);this._translations=t[0]}static get watchers(){return{appLayout:["appLayoutWatchHandler"],enableZoom:["enableZoomWatchHandler"],locale:["localeWatchHandler"]}}};r.style=":host{display:block;--calcite-label-margin-bottom:0px;--solutions-theme-foreground-color:var(--calcite-color-foreground-1)}.padding-1-2{padding:0.5rem}.display-flex{display:flex}.width-full{width:100%}.width-1-2{position:relative;width:50%}.width-1-3{position:relative;width:33.33%}.width-2-3{position:relative;width:66.66%}.width-0{width:0}.height-full{height:100%}.height-1-2{position:relative;height:50%}.height-0{height:0}.toggle-node{width:51px;height:51px}.overflow-hidden{overflow:hidden}.flex-column{flex-direction:column}.border{border:1px solid var(--calcite-color-border-3)}.border-bottom{border-bottom:1px solid var(--calcite-color-border-3)}.border-right{border-right:2px solid var(--calcite-color-border-3)}.border-sides{border-left:1px solid var(--calcite-color-border-3);border-right:1px solid var(--calcite-color-border-3)}.position-relative{position:relative}.position-absolute{position:absolute}.position-sticky{position:sticky}.height-50{height:50%}.top-51{top:51px}.adjusted-height-50{height:calc(50% - 25px)}.adjusted-height-100{height:calc(100% - 50px)}.adjusted-height-100-51{height:calc(100% - 51px)}.display-none{display:none !important}.adjusted-height-50_25{height:calc(50% + 25px)}.position-absolute-53{position:absolute;top:53px}.display-grid{display:grid}.height-50-px{height:50px}.padding-inline-start-75{padding-inline-start:0.75rem}.align-items-center{align-items:center}.esri-floor-filter__close-levels-button{width:40px !important;height:40px !important}.esri-floor-filter__level-button{width:40px !important;height:40px !important}.esri-floor-filter__browse-button{width:40px !important;height:40px !important}.position-absolute-50{position:absolute;top:50px;bottom:0px;left:0px;right:0px}.position-absolute-0{position:absolute;top:0px;bottom:0px;left:0px;right:0px}.visibility-hidden{visibility:hidden;height:0px}.position-fixed{position:fixed}.border-width-0{border-width:0px}.border-bottom-width-0{border-bottom-width:0px}.floating-container{position:fixed;width:100px;height:10px;bottom:0;right:0;margin:100px 0px}.floating-container .floating-button{box-shadow:0 10px 25px rgb(92 93 94 / 60%);transform:translatey(5px);transition:all 0.3s}.z-index-0{z-index:0 !important}.z-index-1{z-index:1 !important}.filter-content-space{--calcite-dialog-content-space:0px}.background-dark{background:var(--calcite-color-background)}.filter-extent-container{display:flex;justify-content:space-between;align-items:center;padding:10px 0}.filter-modal-buttons{display:flex;padding:12px;gap:10px}.filter-extent-message{align-items:center;display:flex;gap:5px}";export{r as crowdsource_manager}