@esri/solutions-components 0.11.26 → 0.11.27

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 (1026) hide show
  1. package/dist/cjs/card-manager_3.cjs.entry.js +12 -1
  2. package/dist/cjs/create-feature_4.cjs.entry.js +22 -6
  3. package/dist/cjs/crowdsource-manager.cjs.entry.js +3 -3
  4. package/dist/cjs/solution-item-accordion.cjs.entry.js +3 -3
  5. package/dist/collection/components/card-manager/card-manager.js +1 -1
  6. package/dist/collection/components/create-feature/create-feature.js +10 -2
  7. package/dist/collection/components/crowdsource-manager/crowdsource-manager.js +3 -3
  8. package/dist/collection/components/edit-card/edit-card.js +12 -4
  9. package/dist/collection/components/layer-table/layer-table.js +11 -0
  10. package/dist/collection/components/solution-item-accordion/solution-item-accordion.css +26 -0
  11. package/dist/collection/components/solution-item-accordion/solution-item-accordion.js +2 -2
  12. package/dist/collection/demos/index.html +0 -9
  13. package/dist/components/card-manager2.js +1 -1
  14. package/dist/components/create-feature2.js +10 -2
  15. package/dist/components/crowdsource-manager.js +3 -3
  16. package/dist/components/edit-card2.js +12 -4
  17. package/dist/components/layer-table2.js +11 -0
  18. package/dist/components/solution-item-accordion.js +3 -3
  19. package/dist/esm/card-manager_3.entry.js +12 -1
  20. package/dist/esm/create-feature_4.entry.js +22 -6
  21. package/dist/esm/crowdsource-manager.entry.js +3 -3
  22. package/dist/esm/solution-item-accordion.entry.js +3 -3
  23. package/dist/solutions-components/demos/index.html +0 -9
  24. package/dist/solutions-components/p-4294c7e6.entry.js +6 -0
  25. package/dist/solutions-components/{p-d3e24466.entry.js → p-447e7d3f.entry.js} +1 -1
  26. package/dist/solutions-components/{p-e8df7a70.entry.js → p-83f0dd3b.entry.js} +1 -1
  27. package/dist/solutions-components/p-87ae2979.entry.js +6 -0
  28. package/dist/solutions-components/solutions-components.esm.js +1 -1
  29. package/dist/solutions-components_commit.txt +6 -6
  30. package/package.json +1 -1
  31. package/dist/collection/assets/t9n/add-record-modal/resources.json +0 -10
  32. package/dist/collection/assets/t9n/add-record-modal/resources_en.json +0 -10
  33. package/dist/collection/assets/t9n/arcgis-login/resources.json +0 -3
  34. package/dist/collection/assets/t9n/arcgis-login/resources_en.json +0 -3
  35. package/dist/collection/assets/t9n/buffer-tools/resources_en.json +0 -6
  36. package/dist/collection/assets/t9n/card-manager/resources_en.json +0 -7
  37. package/dist/collection/assets/t9n/comment-card/resources.json +0 -4
  38. package/dist/collection/assets/t9n/comment-card/resources_ar.json +0 -4
  39. package/dist/collection/assets/t9n/comment-card/resources_bg.json +0 -4
  40. package/dist/collection/assets/t9n/comment-card/resources_bs.json +0 -4
  41. package/dist/collection/assets/t9n/comment-card/resources_ca.json +0 -4
  42. package/dist/collection/assets/t9n/comment-card/resources_cs.json +0 -4
  43. package/dist/collection/assets/t9n/comment-card/resources_da.json +0 -4
  44. package/dist/collection/assets/t9n/comment-card/resources_de.json +0 -4
  45. package/dist/collection/assets/t9n/comment-card/resources_el.json +0 -4
  46. package/dist/collection/assets/t9n/comment-card/resources_en.json +0 -4
  47. package/dist/collection/assets/t9n/comment-card/resources_es.json +0 -4
  48. package/dist/collection/assets/t9n/comment-card/resources_et.json +0 -4
  49. package/dist/collection/assets/t9n/comment-card/resources_fi.json +0 -4
  50. package/dist/collection/assets/t9n/comment-card/resources_fr.json +0 -4
  51. package/dist/collection/assets/t9n/comment-card/resources_he.json +0 -4
  52. package/dist/collection/assets/t9n/comment-card/resources_hr.json +0 -4
  53. package/dist/collection/assets/t9n/comment-card/resources_hu.json +0 -4
  54. package/dist/collection/assets/t9n/comment-card/resources_id.json +0 -4
  55. package/dist/collection/assets/t9n/comment-card/resources_it.json +0 -4
  56. package/dist/collection/assets/t9n/comment-card/resources_ja.json +0 -4
  57. package/dist/collection/assets/t9n/comment-card/resources_ko.json +0 -4
  58. package/dist/collection/assets/t9n/comment-card/resources_lt.json +0 -4
  59. package/dist/collection/assets/t9n/comment-card/resources_lv.json +0 -4
  60. package/dist/collection/assets/t9n/comment-card/resources_nb.json +0 -4
  61. package/dist/collection/assets/t9n/comment-card/resources_nl.json +0 -4
  62. package/dist/collection/assets/t9n/comment-card/resources_no.json +0 -4
  63. package/dist/collection/assets/t9n/comment-card/resources_pl.json +0 -4
  64. package/dist/collection/assets/t9n/comment-card/resources_pt-BR.json +0 -4
  65. package/dist/collection/assets/t9n/comment-card/resources_pt-PT.json +0 -4
  66. package/dist/collection/assets/t9n/comment-card/resources_ro.json +0 -4
  67. package/dist/collection/assets/t9n/comment-card/resources_ru.json +0 -4
  68. package/dist/collection/assets/t9n/comment-card/resources_sk.json +0 -4
  69. package/dist/collection/assets/t9n/comment-card/resources_sl.json +0 -4
  70. package/dist/collection/assets/t9n/comment-card/resources_sr.json +0 -4
  71. package/dist/collection/assets/t9n/comment-card/resources_sv.json +0 -4
  72. package/dist/collection/assets/t9n/comment-card/resources_th.json +0 -4
  73. package/dist/collection/assets/t9n/comment-card/resources_tr.json +0 -4
  74. package/dist/collection/assets/t9n/comment-card/resources_uk.json +0 -4
  75. package/dist/collection/assets/t9n/comment-card/resources_vi.json +0 -4
  76. package/dist/collection/assets/t9n/comment-card/resources_zh-CN.json +0 -4
  77. package/dist/collection/assets/t9n/comment-card/resources_zh-HK.json +0 -4
  78. package/dist/collection/assets/t9n/comment-card/resources_zh-TW.json +0 -4
  79. package/dist/collection/assets/t9n/consent-manager/resources_en.json +0 -5
  80. package/dist/collection/assets/t9n/create-feature/resources_en.json +0 -5
  81. package/dist/collection/assets/t9n/create-related-feature/resources_en.json +0 -3
  82. package/dist/collection/assets/t9n/crowdsource-manager/resources_en.json +0 -15
  83. package/dist/collection/assets/t9n/crowdsource-reporter/resources_en.json +0 -32
  84. package/dist/collection/assets/t9n/delete-button/resources_en.json +0 -8
  85. package/dist/collection/assets/t9n/delete-dialog/resources_en.json +0 -8
  86. package/dist/collection/assets/t9n/edit-card/resources_en.json +0 -3
  87. package/dist/collection/assets/t9n/feature-list/resources_en.json +0 -8
  88. package/dist/collection/assets/t9n/info-card/resources_en.json +0 -10
  89. package/dist/collection/assets/t9n/instant-apps-export/resources.json +0 -12
  90. package/dist/collection/assets/t9n/instant-apps-export/resources_ar.json +0 -11
  91. package/dist/collection/assets/t9n/instant-apps-export/resources_bg.json +0 -11
  92. package/dist/collection/assets/t9n/instant-apps-export/resources_bs.json +0 -11
  93. package/dist/collection/assets/t9n/instant-apps-export/resources_ca.json +0 -11
  94. package/dist/collection/assets/t9n/instant-apps-export/resources_cs.json +0 -11
  95. package/dist/collection/assets/t9n/instant-apps-export/resources_da.json +0 -11
  96. package/dist/collection/assets/t9n/instant-apps-export/resources_de.json +0 -11
  97. package/dist/collection/assets/t9n/instant-apps-export/resources_el.json +0 -11
  98. package/dist/collection/assets/t9n/instant-apps-export/resources_en.json +0 -12
  99. package/dist/collection/assets/t9n/instant-apps-export/resources_es.json +0 -11
  100. package/dist/collection/assets/t9n/instant-apps-export/resources_et.json +0 -11
  101. package/dist/collection/assets/t9n/instant-apps-export/resources_fi.json +0 -11
  102. package/dist/collection/assets/t9n/instant-apps-export/resources_fr.json +0 -11
  103. package/dist/collection/assets/t9n/instant-apps-export/resources_he.json +0 -11
  104. package/dist/collection/assets/t9n/instant-apps-export/resources_hr.json +0 -11
  105. package/dist/collection/assets/t9n/instant-apps-export/resources_hu.json +0 -11
  106. package/dist/collection/assets/t9n/instant-apps-export/resources_id.json +0 -11
  107. package/dist/collection/assets/t9n/instant-apps-export/resources_it.json +0 -11
  108. package/dist/collection/assets/t9n/instant-apps-export/resources_ja.json +0 -11
  109. package/dist/collection/assets/t9n/instant-apps-export/resources_ko.json +0 -11
  110. package/dist/collection/assets/t9n/instant-apps-export/resources_lt.json +0 -11
  111. package/dist/collection/assets/t9n/instant-apps-export/resources_lv.json +0 -11
  112. package/dist/collection/assets/t9n/instant-apps-export/resources_nb.json +0 -11
  113. package/dist/collection/assets/t9n/instant-apps-export/resources_nl.json +0 -11
  114. package/dist/collection/assets/t9n/instant-apps-export/resources_pl.json +0 -11
  115. package/dist/collection/assets/t9n/instant-apps-export/resources_pt-BR.json +0 -11
  116. package/dist/collection/assets/t9n/instant-apps-export/resources_pt-PT.json +0 -11
  117. package/dist/collection/assets/t9n/instant-apps-export/resources_ro.json +0 -11
  118. package/dist/collection/assets/t9n/instant-apps-export/resources_ru.json +0 -11
  119. package/dist/collection/assets/t9n/instant-apps-export/resources_sk.json +0 -11
  120. package/dist/collection/assets/t9n/instant-apps-export/resources_sl.json +0 -11
  121. package/dist/collection/assets/t9n/instant-apps-export/resources_sr.json +0 -11
  122. package/dist/collection/assets/t9n/instant-apps-export/resources_sv.json +0 -11
  123. package/dist/collection/assets/t9n/instant-apps-export/resources_th.json +0 -11
  124. package/dist/collection/assets/t9n/instant-apps-export/resources_tr.json +0 -11
  125. package/dist/collection/assets/t9n/instant-apps-export/resources_uk.json +0 -11
  126. package/dist/collection/assets/t9n/instant-apps-export/resources_vi.json +0 -11
  127. package/dist/collection/assets/t9n/instant-apps-export/resources_zh-CN.json +0 -11
  128. package/dist/collection/assets/t9n/instant-apps-export/resources_zh-HK.json +0 -11
  129. package/dist/collection/assets/t9n/instant-apps-export/resources_zh-TW.json +0 -11
  130. package/dist/collection/assets/t9n/instant-apps-filter-list/resources.json +0 -16
  131. package/dist/collection/assets/t9n/instant-apps-filter-list/resources_ar.json +0 -16
  132. package/dist/collection/assets/t9n/instant-apps-filter-list/resources_bg.json +0 -16
  133. package/dist/collection/assets/t9n/instant-apps-filter-list/resources_bs.json +0 -16
  134. package/dist/collection/assets/t9n/instant-apps-filter-list/resources_ca.json +0 -16
  135. package/dist/collection/assets/t9n/instant-apps-filter-list/resources_cs.json +0 -16
  136. package/dist/collection/assets/t9n/instant-apps-filter-list/resources_da.json +0 -16
  137. package/dist/collection/assets/t9n/instant-apps-filter-list/resources_de.json +0 -16
  138. package/dist/collection/assets/t9n/instant-apps-filter-list/resources_el.json +0 -16
  139. package/dist/collection/assets/t9n/instant-apps-filter-list/resources_en.json +0 -16
  140. package/dist/collection/assets/t9n/instant-apps-filter-list/resources_es.json +0 -16
  141. package/dist/collection/assets/t9n/instant-apps-filter-list/resources_et.json +0 -16
  142. package/dist/collection/assets/t9n/instant-apps-filter-list/resources_fi.json +0 -16
  143. package/dist/collection/assets/t9n/instant-apps-filter-list/resources_fr.json +0 -16
  144. package/dist/collection/assets/t9n/instant-apps-filter-list/resources_he.json +0 -16
  145. package/dist/collection/assets/t9n/instant-apps-filter-list/resources_hr.json +0 -16
  146. package/dist/collection/assets/t9n/instant-apps-filter-list/resources_hu.json +0 -16
  147. package/dist/collection/assets/t9n/instant-apps-filter-list/resources_id.json +0 -16
  148. package/dist/collection/assets/t9n/instant-apps-filter-list/resources_it.json +0 -16
  149. package/dist/collection/assets/t9n/instant-apps-filter-list/resources_ja.json +0 -16
  150. package/dist/collection/assets/t9n/instant-apps-filter-list/resources_ko.json +0 -16
  151. package/dist/collection/assets/t9n/instant-apps-filter-list/resources_lt.json +0 -16
  152. package/dist/collection/assets/t9n/instant-apps-filter-list/resources_lv.json +0 -16
  153. package/dist/collection/assets/t9n/instant-apps-filter-list/resources_nb.json +0 -16
  154. package/dist/collection/assets/t9n/instant-apps-filter-list/resources_nl.json +0 -16
  155. package/dist/collection/assets/t9n/instant-apps-filter-list/resources_pl.json +0 -16
  156. package/dist/collection/assets/t9n/instant-apps-filter-list/resources_pt-BR.json +0 -16
  157. package/dist/collection/assets/t9n/instant-apps-filter-list/resources_pt-PT.json +0 -16
  158. package/dist/collection/assets/t9n/instant-apps-filter-list/resources_ro.json +0 -16
  159. package/dist/collection/assets/t9n/instant-apps-filter-list/resources_ru.json +0 -16
  160. package/dist/collection/assets/t9n/instant-apps-filter-list/resources_sk.json +0 -16
  161. package/dist/collection/assets/t9n/instant-apps-filter-list/resources_sl.json +0 -16
  162. package/dist/collection/assets/t9n/instant-apps-filter-list/resources_sr.json +0 -16
  163. package/dist/collection/assets/t9n/instant-apps-filter-list/resources_sv.json +0 -16
  164. package/dist/collection/assets/t9n/instant-apps-filter-list/resources_th.json +0 -16
  165. package/dist/collection/assets/t9n/instant-apps-filter-list/resources_tr.json +0 -16
  166. package/dist/collection/assets/t9n/instant-apps-filter-list/resources_uk.json +0 -16
  167. package/dist/collection/assets/t9n/instant-apps-filter-list/resources_vi.json +0 -16
  168. package/dist/collection/assets/t9n/instant-apps-filter-list/resources_zh-CN.json +0 -16
  169. package/dist/collection/assets/t9n/instant-apps-filter-list/resources_zh-HK.json +0 -16
  170. package/dist/collection/assets/t9n/instant-apps-filter-list/resources_zh-TW.json +0 -16
  171. package/dist/collection/assets/t9n/instant-apps-interactive-legend/resources.json +0 -15
  172. package/dist/collection/assets/t9n/instant-apps-interactive-legend/resources_ar.json +0 -15
  173. package/dist/collection/assets/t9n/instant-apps-interactive-legend/resources_bg.json +0 -15
  174. package/dist/collection/assets/t9n/instant-apps-interactive-legend/resources_bs.json +0 -15
  175. package/dist/collection/assets/t9n/instant-apps-interactive-legend/resources_ca.json +0 -15
  176. package/dist/collection/assets/t9n/instant-apps-interactive-legend/resources_cs.json +0 -15
  177. package/dist/collection/assets/t9n/instant-apps-interactive-legend/resources_da.json +0 -15
  178. package/dist/collection/assets/t9n/instant-apps-interactive-legend/resources_de.json +0 -15
  179. package/dist/collection/assets/t9n/instant-apps-interactive-legend/resources_el.json +0 -15
  180. package/dist/collection/assets/t9n/instant-apps-interactive-legend/resources_en.json +0 -15
  181. package/dist/collection/assets/t9n/instant-apps-interactive-legend/resources_es.json +0 -15
  182. package/dist/collection/assets/t9n/instant-apps-interactive-legend/resources_et.json +0 -15
  183. package/dist/collection/assets/t9n/instant-apps-interactive-legend/resources_fi.json +0 -15
  184. package/dist/collection/assets/t9n/instant-apps-interactive-legend/resources_fr.json +0 -15
  185. package/dist/collection/assets/t9n/instant-apps-interactive-legend/resources_he.json +0 -15
  186. package/dist/collection/assets/t9n/instant-apps-interactive-legend/resources_hr.json +0 -15
  187. package/dist/collection/assets/t9n/instant-apps-interactive-legend/resources_hu.json +0 -15
  188. package/dist/collection/assets/t9n/instant-apps-interactive-legend/resources_id.json +0 -15
  189. package/dist/collection/assets/t9n/instant-apps-interactive-legend/resources_it.json +0 -15
  190. package/dist/collection/assets/t9n/instant-apps-interactive-legend/resources_ja.json +0 -15
  191. package/dist/collection/assets/t9n/instant-apps-interactive-legend/resources_ko.json +0 -15
  192. package/dist/collection/assets/t9n/instant-apps-interactive-legend/resources_lt.json +0 -15
  193. package/dist/collection/assets/t9n/instant-apps-interactive-legend/resources_lv.json +0 -15
  194. package/dist/collection/assets/t9n/instant-apps-interactive-legend/resources_nb.json +0 -15
  195. package/dist/collection/assets/t9n/instant-apps-interactive-legend/resources_nl.json +0 -15
  196. package/dist/collection/assets/t9n/instant-apps-interactive-legend/resources_pl.json +0 -15
  197. package/dist/collection/assets/t9n/instant-apps-interactive-legend/resources_pt-BR.json +0 -15
  198. package/dist/collection/assets/t9n/instant-apps-interactive-legend/resources_pt-PT.json +0 -15
  199. package/dist/collection/assets/t9n/instant-apps-interactive-legend/resources_ro.json +0 -15
  200. package/dist/collection/assets/t9n/instant-apps-interactive-legend/resources_ru.json +0 -15
  201. package/dist/collection/assets/t9n/instant-apps-interactive-legend/resources_sk.json +0 -15
  202. package/dist/collection/assets/t9n/instant-apps-interactive-legend/resources_sl.json +0 -15
  203. package/dist/collection/assets/t9n/instant-apps-interactive-legend/resources_sr.json +0 -15
  204. package/dist/collection/assets/t9n/instant-apps-interactive-legend/resources_sv.json +0 -15
  205. package/dist/collection/assets/t9n/instant-apps-interactive-legend/resources_th.json +0 -15
  206. package/dist/collection/assets/t9n/instant-apps-interactive-legend/resources_tr.json +0 -15
  207. package/dist/collection/assets/t9n/instant-apps-interactive-legend/resources_uk.json +0 -15
  208. package/dist/collection/assets/t9n/instant-apps-interactive-legend/resources_vi.json +0 -15
  209. package/dist/collection/assets/t9n/instant-apps-interactive-legend/resources_zh-CN.json +0 -15
  210. package/dist/collection/assets/t9n/instant-apps-interactive-legend/resources_zh-HK.json +0 -15
  211. package/dist/collection/assets/t9n/instant-apps-interactive-legend/resources_zh-TW.json +0 -15
  212. package/dist/collection/assets/t9n/instant-apps-keyboard-shortcuts/resources.json +0 -30
  213. package/dist/collection/assets/t9n/instant-apps-keyboard-shortcuts/resources_ar.json +0 -30
  214. package/dist/collection/assets/t9n/instant-apps-keyboard-shortcuts/resources_bg.json +0 -30
  215. package/dist/collection/assets/t9n/instant-apps-keyboard-shortcuts/resources_bs.json +0 -30
  216. package/dist/collection/assets/t9n/instant-apps-keyboard-shortcuts/resources_ca.json +0 -30
  217. package/dist/collection/assets/t9n/instant-apps-keyboard-shortcuts/resources_cs.json +0 -30
  218. package/dist/collection/assets/t9n/instant-apps-keyboard-shortcuts/resources_da.json +0 -30
  219. package/dist/collection/assets/t9n/instant-apps-keyboard-shortcuts/resources_de.json +0 -30
  220. package/dist/collection/assets/t9n/instant-apps-keyboard-shortcuts/resources_el.json +0 -30
  221. package/dist/collection/assets/t9n/instant-apps-keyboard-shortcuts/resources_en.json +0 -30
  222. package/dist/collection/assets/t9n/instant-apps-keyboard-shortcuts/resources_es.json +0 -30
  223. package/dist/collection/assets/t9n/instant-apps-keyboard-shortcuts/resources_et.json +0 -30
  224. package/dist/collection/assets/t9n/instant-apps-keyboard-shortcuts/resources_fi.json +0 -30
  225. package/dist/collection/assets/t9n/instant-apps-keyboard-shortcuts/resources_fr.json +0 -30
  226. package/dist/collection/assets/t9n/instant-apps-keyboard-shortcuts/resources_he.json +0 -30
  227. package/dist/collection/assets/t9n/instant-apps-keyboard-shortcuts/resources_hr.json +0 -30
  228. package/dist/collection/assets/t9n/instant-apps-keyboard-shortcuts/resources_hu.json +0 -30
  229. package/dist/collection/assets/t9n/instant-apps-keyboard-shortcuts/resources_id.json +0 -30
  230. package/dist/collection/assets/t9n/instant-apps-keyboard-shortcuts/resources_it.json +0 -30
  231. package/dist/collection/assets/t9n/instant-apps-keyboard-shortcuts/resources_ja.json +0 -30
  232. package/dist/collection/assets/t9n/instant-apps-keyboard-shortcuts/resources_ko.json +0 -30
  233. package/dist/collection/assets/t9n/instant-apps-keyboard-shortcuts/resources_lt.json +0 -30
  234. package/dist/collection/assets/t9n/instant-apps-keyboard-shortcuts/resources_lv.json +0 -30
  235. package/dist/collection/assets/t9n/instant-apps-keyboard-shortcuts/resources_nb.json +0 -30
  236. package/dist/collection/assets/t9n/instant-apps-keyboard-shortcuts/resources_nl.json +0 -30
  237. package/dist/collection/assets/t9n/instant-apps-keyboard-shortcuts/resources_pl.json +0 -30
  238. package/dist/collection/assets/t9n/instant-apps-keyboard-shortcuts/resources_pt-BR.json +0 -30
  239. package/dist/collection/assets/t9n/instant-apps-keyboard-shortcuts/resources_pt-PT.json +0 -30
  240. package/dist/collection/assets/t9n/instant-apps-keyboard-shortcuts/resources_ro.json +0 -30
  241. package/dist/collection/assets/t9n/instant-apps-keyboard-shortcuts/resources_ru.json +0 -30
  242. package/dist/collection/assets/t9n/instant-apps-keyboard-shortcuts/resources_sk.json +0 -30
  243. package/dist/collection/assets/t9n/instant-apps-keyboard-shortcuts/resources_sl.json +0 -30
  244. package/dist/collection/assets/t9n/instant-apps-keyboard-shortcuts/resources_sr.json +0 -30
  245. package/dist/collection/assets/t9n/instant-apps-keyboard-shortcuts/resources_sv.json +0 -30
  246. package/dist/collection/assets/t9n/instant-apps-keyboard-shortcuts/resources_th.json +0 -30
  247. package/dist/collection/assets/t9n/instant-apps-keyboard-shortcuts/resources_tr.json +0 -30
  248. package/dist/collection/assets/t9n/instant-apps-keyboard-shortcuts/resources_uk.json +0 -30
  249. package/dist/collection/assets/t9n/instant-apps-keyboard-shortcuts/resources_vi.json +0 -30
  250. package/dist/collection/assets/t9n/instant-apps-keyboard-shortcuts/resources_zh-CN.json +0 -30
  251. package/dist/collection/assets/t9n/instant-apps-keyboard-shortcuts/resources_zh-HK.json +0 -30
  252. package/dist/collection/assets/t9n/instant-apps-keyboard-shortcuts/resources_zh-TW.json +0 -30
  253. package/dist/collection/assets/t9n/instant-apps-language-translator/resources.json +0 -102
  254. package/dist/collection/assets/t9n/instant-apps-language-translator/resources_ar.json +0 -102
  255. package/dist/collection/assets/t9n/instant-apps-language-translator/resources_bg.json +0 -102
  256. package/dist/collection/assets/t9n/instant-apps-language-translator/resources_bs.json +0 -102
  257. package/dist/collection/assets/t9n/instant-apps-language-translator/resources_ca.json +0 -102
  258. package/dist/collection/assets/t9n/instant-apps-language-translator/resources_cs.json +0 -102
  259. package/dist/collection/assets/t9n/instant-apps-language-translator/resources_da.json +0 -102
  260. package/dist/collection/assets/t9n/instant-apps-language-translator/resources_de.json +0 -102
  261. package/dist/collection/assets/t9n/instant-apps-language-translator/resources_el.json +0 -102
  262. package/dist/collection/assets/t9n/instant-apps-language-translator/resources_en.json +0 -102
  263. package/dist/collection/assets/t9n/instant-apps-language-translator/resources_es.json +0 -102
  264. package/dist/collection/assets/t9n/instant-apps-language-translator/resources_et.json +0 -102
  265. package/dist/collection/assets/t9n/instant-apps-language-translator/resources_fi.json +0 -102
  266. package/dist/collection/assets/t9n/instant-apps-language-translator/resources_fr.json +0 -102
  267. package/dist/collection/assets/t9n/instant-apps-language-translator/resources_he.json +0 -102
  268. package/dist/collection/assets/t9n/instant-apps-language-translator/resources_hr.json +0 -102
  269. package/dist/collection/assets/t9n/instant-apps-language-translator/resources_hu.json +0 -102
  270. package/dist/collection/assets/t9n/instant-apps-language-translator/resources_id.json +0 -102
  271. package/dist/collection/assets/t9n/instant-apps-language-translator/resources_it.json +0 -102
  272. package/dist/collection/assets/t9n/instant-apps-language-translator/resources_ja.json +0 -102
  273. package/dist/collection/assets/t9n/instant-apps-language-translator/resources_ko.json +0 -102
  274. package/dist/collection/assets/t9n/instant-apps-language-translator/resources_lt.json +0 -102
  275. package/dist/collection/assets/t9n/instant-apps-language-translator/resources_lv.json +0 -102
  276. package/dist/collection/assets/t9n/instant-apps-language-translator/resources_nb.json +0 -102
  277. package/dist/collection/assets/t9n/instant-apps-language-translator/resources_nl.json +0 -102
  278. package/dist/collection/assets/t9n/instant-apps-language-translator/resources_pl.json +0 -102
  279. package/dist/collection/assets/t9n/instant-apps-language-translator/resources_pt-BR.json +0 -102
  280. package/dist/collection/assets/t9n/instant-apps-language-translator/resources_pt-PT.json +0 -102
  281. package/dist/collection/assets/t9n/instant-apps-language-translator/resources_ro.json +0 -102
  282. package/dist/collection/assets/t9n/instant-apps-language-translator/resources_ru.json +0 -102
  283. package/dist/collection/assets/t9n/instant-apps-language-translator/resources_sk.json +0 -102
  284. package/dist/collection/assets/t9n/instant-apps-language-translator/resources_sl.json +0 -102
  285. package/dist/collection/assets/t9n/instant-apps-language-translator/resources_sr.json +0 -102
  286. package/dist/collection/assets/t9n/instant-apps-language-translator/resources_sv.json +0 -102
  287. package/dist/collection/assets/t9n/instant-apps-language-translator/resources_th.json +0 -102
  288. package/dist/collection/assets/t9n/instant-apps-language-translator/resources_tr.json +0 -102
  289. package/dist/collection/assets/t9n/instant-apps-language-translator/resources_uk.json +0 -102
  290. package/dist/collection/assets/t9n/instant-apps-language-translator/resources_vi.json +0 -102
  291. package/dist/collection/assets/t9n/instant-apps-language-translator/resources_zh-CN.json +0 -102
  292. package/dist/collection/assets/t9n/instant-apps-language-translator/resources_zh-HK.json +0 -102
  293. package/dist/collection/assets/t9n/instant-apps-language-translator/resources_zh-TW.json +0 -102
  294. package/dist/collection/assets/t9n/instant-apps-measurement/resources.json +0 -7
  295. package/dist/collection/assets/t9n/instant-apps-measurement/resources_ar.json +0 -7
  296. package/dist/collection/assets/t9n/instant-apps-measurement/resources_bg.json +0 -7
  297. package/dist/collection/assets/t9n/instant-apps-measurement/resources_bs.json +0 -7
  298. package/dist/collection/assets/t9n/instant-apps-measurement/resources_ca.json +0 -7
  299. package/dist/collection/assets/t9n/instant-apps-measurement/resources_cs.json +0 -7
  300. package/dist/collection/assets/t9n/instant-apps-measurement/resources_da.json +0 -7
  301. package/dist/collection/assets/t9n/instant-apps-measurement/resources_de.json +0 -7
  302. package/dist/collection/assets/t9n/instant-apps-measurement/resources_el.json +0 -7
  303. package/dist/collection/assets/t9n/instant-apps-measurement/resources_en.json +0 -7
  304. package/dist/collection/assets/t9n/instant-apps-measurement/resources_es.json +0 -7
  305. package/dist/collection/assets/t9n/instant-apps-measurement/resources_et.json +0 -7
  306. package/dist/collection/assets/t9n/instant-apps-measurement/resources_fi.json +0 -7
  307. package/dist/collection/assets/t9n/instant-apps-measurement/resources_fr.json +0 -7
  308. package/dist/collection/assets/t9n/instant-apps-measurement/resources_he.json +0 -7
  309. package/dist/collection/assets/t9n/instant-apps-measurement/resources_hr.json +0 -7
  310. package/dist/collection/assets/t9n/instant-apps-measurement/resources_hu.json +0 -7
  311. package/dist/collection/assets/t9n/instant-apps-measurement/resources_id.json +0 -7
  312. package/dist/collection/assets/t9n/instant-apps-measurement/resources_it.json +0 -7
  313. package/dist/collection/assets/t9n/instant-apps-measurement/resources_ja.json +0 -7
  314. package/dist/collection/assets/t9n/instant-apps-measurement/resources_ko.json +0 -7
  315. package/dist/collection/assets/t9n/instant-apps-measurement/resources_lt.json +0 -7
  316. package/dist/collection/assets/t9n/instant-apps-measurement/resources_lv.json +0 -7
  317. package/dist/collection/assets/t9n/instant-apps-measurement/resources_nb.json +0 -7
  318. package/dist/collection/assets/t9n/instant-apps-measurement/resources_nl.json +0 -7
  319. package/dist/collection/assets/t9n/instant-apps-measurement/resources_pl.json +0 -7
  320. package/dist/collection/assets/t9n/instant-apps-measurement/resources_pt-BR.json +0 -7
  321. package/dist/collection/assets/t9n/instant-apps-measurement/resources_pt-PT.json +0 -7
  322. package/dist/collection/assets/t9n/instant-apps-measurement/resources_ro.json +0 -7
  323. package/dist/collection/assets/t9n/instant-apps-measurement/resources_ru.json +0 -7
  324. package/dist/collection/assets/t9n/instant-apps-measurement/resources_sk.json +0 -7
  325. package/dist/collection/assets/t9n/instant-apps-measurement/resources_sl.json +0 -7
  326. package/dist/collection/assets/t9n/instant-apps-measurement/resources_sr.json +0 -7
  327. package/dist/collection/assets/t9n/instant-apps-measurement/resources_sv.json +0 -7
  328. package/dist/collection/assets/t9n/instant-apps-measurement/resources_th.json +0 -7
  329. package/dist/collection/assets/t9n/instant-apps-measurement/resources_tr.json +0 -7
  330. package/dist/collection/assets/t9n/instant-apps-measurement/resources_uk.json +0 -7
  331. package/dist/collection/assets/t9n/instant-apps-measurement/resources_vi.json +0 -7
  332. package/dist/collection/assets/t9n/instant-apps-measurement/resources_zh-CN.json +0 -7
  333. package/dist/collection/assets/t9n/instant-apps-measurement/resources_zh-HK.json +0 -7
  334. package/dist/collection/assets/t9n/instant-apps-measurement/resources_zh-TW.json +0 -7
  335. package/dist/collection/assets/t9n/instant-apps-popover/resources.json +0 -7
  336. package/dist/collection/assets/t9n/instant-apps-popover/resources_ar.json +0 -6
  337. package/dist/collection/assets/t9n/instant-apps-popover/resources_bg.json +0 -6
  338. package/dist/collection/assets/t9n/instant-apps-popover/resources_bs.json +0 -6
  339. package/dist/collection/assets/t9n/instant-apps-popover/resources_ca.json +0 -6
  340. package/dist/collection/assets/t9n/instant-apps-popover/resources_cs.json +0 -6
  341. package/dist/collection/assets/t9n/instant-apps-popover/resources_da.json +0 -6
  342. package/dist/collection/assets/t9n/instant-apps-popover/resources_de.json +0 -6
  343. package/dist/collection/assets/t9n/instant-apps-popover/resources_el.json +0 -6
  344. package/dist/collection/assets/t9n/instant-apps-popover/resources_en.json +0 -7
  345. package/dist/collection/assets/t9n/instant-apps-popover/resources_es.json +0 -6
  346. package/dist/collection/assets/t9n/instant-apps-popover/resources_et.json +0 -6
  347. package/dist/collection/assets/t9n/instant-apps-popover/resources_fi.json +0 -6
  348. package/dist/collection/assets/t9n/instant-apps-popover/resources_fr.json +0 -6
  349. package/dist/collection/assets/t9n/instant-apps-popover/resources_he.json +0 -6
  350. package/dist/collection/assets/t9n/instant-apps-popover/resources_hr.json +0 -6
  351. package/dist/collection/assets/t9n/instant-apps-popover/resources_hu.json +0 -6
  352. package/dist/collection/assets/t9n/instant-apps-popover/resources_id.json +0 -6
  353. package/dist/collection/assets/t9n/instant-apps-popover/resources_it.json +0 -6
  354. package/dist/collection/assets/t9n/instant-apps-popover/resources_ja.json +0 -6
  355. package/dist/collection/assets/t9n/instant-apps-popover/resources_ko.json +0 -6
  356. package/dist/collection/assets/t9n/instant-apps-popover/resources_lt.json +0 -6
  357. package/dist/collection/assets/t9n/instant-apps-popover/resources_lv.json +0 -6
  358. package/dist/collection/assets/t9n/instant-apps-popover/resources_nb.json +0 -6
  359. package/dist/collection/assets/t9n/instant-apps-popover/resources_nl.json +0 -6
  360. package/dist/collection/assets/t9n/instant-apps-popover/resources_pl.json +0 -6
  361. package/dist/collection/assets/t9n/instant-apps-popover/resources_pt-BR.json +0 -6
  362. package/dist/collection/assets/t9n/instant-apps-popover/resources_pt-PT.json +0 -6
  363. package/dist/collection/assets/t9n/instant-apps-popover/resources_ro.json +0 -6
  364. package/dist/collection/assets/t9n/instant-apps-popover/resources_ru.json +0 -6
  365. package/dist/collection/assets/t9n/instant-apps-popover/resources_sk.json +0 -6
  366. package/dist/collection/assets/t9n/instant-apps-popover/resources_sl.json +0 -6
  367. package/dist/collection/assets/t9n/instant-apps-popover/resources_sr.json +0 -6
  368. package/dist/collection/assets/t9n/instant-apps-popover/resources_sv.json +0 -6
  369. package/dist/collection/assets/t9n/instant-apps-popover/resources_th.json +0 -6
  370. package/dist/collection/assets/t9n/instant-apps-popover/resources_tr.json +0 -6
  371. package/dist/collection/assets/t9n/instant-apps-popover/resources_uk.json +0 -6
  372. package/dist/collection/assets/t9n/instant-apps-popover/resources_vi.json +0 -6
  373. package/dist/collection/assets/t9n/instant-apps-popover/resources_zh-CN.json +0 -6
  374. package/dist/collection/assets/t9n/instant-apps-popover/resources_zh-HK.json +0 -6
  375. package/dist/collection/assets/t9n/instant-apps-popover/resources_zh-TW.json +0 -6
  376. package/dist/collection/assets/t9n/instant-apps-scoreboard/resources.json +0 -7
  377. package/dist/collection/assets/t9n/instant-apps-scoreboard/resources_ar.json +0 -7
  378. package/dist/collection/assets/t9n/instant-apps-scoreboard/resources_bg.json +0 -7
  379. package/dist/collection/assets/t9n/instant-apps-scoreboard/resources_bs.json +0 -7
  380. package/dist/collection/assets/t9n/instant-apps-scoreboard/resources_ca.json +0 -7
  381. package/dist/collection/assets/t9n/instant-apps-scoreboard/resources_cs.json +0 -7
  382. package/dist/collection/assets/t9n/instant-apps-scoreboard/resources_da.json +0 -7
  383. package/dist/collection/assets/t9n/instant-apps-scoreboard/resources_de.json +0 -7
  384. package/dist/collection/assets/t9n/instant-apps-scoreboard/resources_el.json +0 -7
  385. package/dist/collection/assets/t9n/instant-apps-scoreboard/resources_en.json +0 -7
  386. package/dist/collection/assets/t9n/instant-apps-scoreboard/resources_es.json +0 -7
  387. package/dist/collection/assets/t9n/instant-apps-scoreboard/resources_et.json +0 -7
  388. package/dist/collection/assets/t9n/instant-apps-scoreboard/resources_fi.json +0 -7
  389. package/dist/collection/assets/t9n/instant-apps-scoreboard/resources_fr.json +0 -7
  390. package/dist/collection/assets/t9n/instant-apps-scoreboard/resources_he.json +0 -7
  391. package/dist/collection/assets/t9n/instant-apps-scoreboard/resources_hr.json +0 -7
  392. package/dist/collection/assets/t9n/instant-apps-scoreboard/resources_hu.json +0 -7
  393. package/dist/collection/assets/t9n/instant-apps-scoreboard/resources_id.json +0 -7
  394. package/dist/collection/assets/t9n/instant-apps-scoreboard/resources_it.json +0 -7
  395. package/dist/collection/assets/t9n/instant-apps-scoreboard/resources_ja.json +0 -7
  396. package/dist/collection/assets/t9n/instant-apps-scoreboard/resources_ko.json +0 -7
  397. package/dist/collection/assets/t9n/instant-apps-scoreboard/resources_lt.json +0 -7
  398. package/dist/collection/assets/t9n/instant-apps-scoreboard/resources_lv.json +0 -7
  399. package/dist/collection/assets/t9n/instant-apps-scoreboard/resources_nb.json +0 -7
  400. package/dist/collection/assets/t9n/instant-apps-scoreboard/resources_nl.json +0 -7
  401. package/dist/collection/assets/t9n/instant-apps-scoreboard/resources_pl.json +0 -7
  402. package/dist/collection/assets/t9n/instant-apps-scoreboard/resources_pt-BR.json +0 -7
  403. package/dist/collection/assets/t9n/instant-apps-scoreboard/resources_pt-PT.json +0 -7
  404. package/dist/collection/assets/t9n/instant-apps-scoreboard/resources_ro.json +0 -7
  405. package/dist/collection/assets/t9n/instant-apps-scoreboard/resources_ru.json +0 -7
  406. package/dist/collection/assets/t9n/instant-apps-scoreboard/resources_sk.json +0 -7
  407. package/dist/collection/assets/t9n/instant-apps-scoreboard/resources_sl.json +0 -7
  408. package/dist/collection/assets/t9n/instant-apps-scoreboard/resources_sr.json +0 -7
  409. package/dist/collection/assets/t9n/instant-apps-scoreboard/resources_sv.json +0 -7
  410. package/dist/collection/assets/t9n/instant-apps-scoreboard/resources_th.json +0 -7
  411. package/dist/collection/assets/t9n/instant-apps-scoreboard/resources_tr.json +0 -7
  412. package/dist/collection/assets/t9n/instant-apps-scoreboard/resources_uk.json +0 -7
  413. package/dist/collection/assets/t9n/instant-apps-scoreboard/resources_vi.json +0 -7
  414. package/dist/collection/assets/t9n/instant-apps-scoreboard/resources_zh-CN.json +0 -7
  415. package/dist/collection/assets/t9n/instant-apps-scoreboard/resources_zh-HK.json +0 -7
  416. package/dist/collection/assets/t9n/instant-apps-scoreboard/resources_zh-TW.json +0 -7
  417. package/dist/collection/assets/t9n/instant-apps-social-share/resources.json +0 -38
  418. package/dist/collection/assets/t9n/instant-apps-social-share/resources_ar.json +0 -38
  419. package/dist/collection/assets/t9n/instant-apps-social-share/resources_bg.json +0 -38
  420. package/dist/collection/assets/t9n/instant-apps-social-share/resources_bs.json +0 -38
  421. package/dist/collection/assets/t9n/instant-apps-social-share/resources_ca.json +0 -38
  422. package/dist/collection/assets/t9n/instant-apps-social-share/resources_cs.json +0 -38
  423. package/dist/collection/assets/t9n/instant-apps-social-share/resources_da.json +0 -38
  424. package/dist/collection/assets/t9n/instant-apps-social-share/resources_de.json +0 -38
  425. package/dist/collection/assets/t9n/instant-apps-social-share/resources_el.json +0 -38
  426. package/dist/collection/assets/t9n/instant-apps-social-share/resources_en.json +0 -38
  427. package/dist/collection/assets/t9n/instant-apps-social-share/resources_es.json +0 -38
  428. package/dist/collection/assets/t9n/instant-apps-social-share/resources_et.json +0 -38
  429. package/dist/collection/assets/t9n/instant-apps-social-share/resources_fi.json +0 -38
  430. package/dist/collection/assets/t9n/instant-apps-social-share/resources_fr.json +0 -38
  431. package/dist/collection/assets/t9n/instant-apps-social-share/resources_he.json +0 -38
  432. package/dist/collection/assets/t9n/instant-apps-social-share/resources_hr.json +0 -38
  433. package/dist/collection/assets/t9n/instant-apps-social-share/resources_hu.json +0 -38
  434. package/dist/collection/assets/t9n/instant-apps-social-share/resources_id.json +0 -38
  435. package/dist/collection/assets/t9n/instant-apps-social-share/resources_it.json +0 -38
  436. package/dist/collection/assets/t9n/instant-apps-social-share/resources_ja.json +0 -38
  437. package/dist/collection/assets/t9n/instant-apps-social-share/resources_ko.json +0 -38
  438. package/dist/collection/assets/t9n/instant-apps-social-share/resources_lt.json +0 -38
  439. package/dist/collection/assets/t9n/instant-apps-social-share/resources_lv.json +0 -38
  440. package/dist/collection/assets/t9n/instant-apps-social-share/resources_nb.json +0 -38
  441. package/dist/collection/assets/t9n/instant-apps-social-share/resources_nl.json +0 -38
  442. package/dist/collection/assets/t9n/instant-apps-social-share/resources_pl.json +0 -38
  443. package/dist/collection/assets/t9n/instant-apps-social-share/resources_pt-BR.json +0 -38
  444. package/dist/collection/assets/t9n/instant-apps-social-share/resources_pt-PT.json +0 -38
  445. package/dist/collection/assets/t9n/instant-apps-social-share/resources_ro.json +0 -38
  446. package/dist/collection/assets/t9n/instant-apps-social-share/resources_ru.json +0 -38
  447. package/dist/collection/assets/t9n/instant-apps-social-share/resources_sk.json +0 -38
  448. package/dist/collection/assets/t9n/instant-apps-social-share/resources_sl.json +0 -38
  449. package/dist/collection/assets/t9n/instant-apps-social-share/resources_sr.json +0 -38
  450. package/dist/collection/assets/t9n/instant-apps-social-share/resources_sv.json +0 -38
  451. package/dist/collection/assets/t9n/instant-apps-social-share/resources_th.json +0 -38
  452. package/dist/collection/assets/t9n/instant-apps-social-share/resources_tr.json +0 -38
  453. package/dist/collection/assets/t9n/instant-apps-social-share/resources_uk.json +0 -38
  454. package/dist/collection/assets/t9n/instant-apps-social-share/resources_vi.json +0 -38
  455. package/dist/collection/assets/t9n/instant-apps-social-share/resources_zh-CN.json +0 -38
  456. package/dist/collection/assets/t9n/instant-apps-social-share/resources_zh-HK.json +0 -38
  457. package/dist/collection/assets/t9n/instant-apps-social-share/resources_zh-TW.json +0 -38
  458. package/dist/collection/assets/t9n/instant-apps-splash/resources.json +0 -3
  459. package/dist/collection/assets/t9n/instant-apps-splash/resources_en.json +0 -3
  460. package/dist/collection/assets/t9n/json-editor/resources_en.json +0 -8
  461. package/dist/collection/assets/t9n/layer-list/resources_en.json +0 -4
  462. package/dist/collection/assets/t9n/layer-table/resources_en.json +0 -25
  463. package/dist/collection/assets/t9n/map-card/resources_en.json +0 -10
  464. package/dist/collection/assets/t9n/map-draw-tools/resources_en.json +0 -5
  465. package/dist/collection/assets/t9n/map-layer-picker/resources_en.json +0 -5
  466. package/dist/collection/assets/t9n/map-picker/resources_en.json +0 -3
  467. package/dist/collection/assets/t9n/map-search/resources_en.json +0 -3
  468. package/dist/collection/assets/t9n/map-select-tools/resources_en.json +0 -16
  469. package/dist/collection/assets/t9n/map-tools/resources_en.json +0 -10
  470. package/dist/collection/assets/t9n/media-card/resources.json +0 -3
  471. package/dist/collection/assets/t9n/media-card/resources_ar.json +0 -3
  472. package/dist/collection/assets/t9n/media-card/resources_bg.json +0 -3
  473. package/dist/collection/assets/t9n/media-card/resources_bs.json +0 -3
  474. package/dist/collection/assets/t9n/media-card/resources_ca.json +0 -3
  475. package/dist/collection/assets/t9n/media-card/resources_cs.json +0 -3
  476. package/dist/collection/assets/t9n/media-card/resources_da.json +0 -3
  477. package/dist/collection/assets/t9n/media-card/resources_de.json +0 -3
  478. package/dist/collection/assets/t9n/media-card/resources_el.json +0 -3
  479. package/dist/collection/assets/t9n/media-card/resources_en.json +0 -3
  480. package/dist/collection/assets/t9n/media-card/resources_es.json +0 -3
  481. package/dist/collection/assets/t9n/media-card/resources_et.json +0 -3
  482. package/dist/collection/assets/t9n/media-card/resources_fi.json +0 -3
  483. package/dist/collection/assets/t9n/media-card/resources_fr.json +0 -3
  484. package/dist/collection/assets/t9n/media-card/resources_he.json +0 -3
  485. package/dist/collection/assets/t9n/media-card/resources_hr.json +0 -3
  486. package/dist/collection/assets/t9n/media-card/resources_hu.json +0 -3
  487. package/dist/collection/assets/t9n/media-card/resources_id.json +0 -3
  488. package/dist/collection/assets/t9n/media-card/resources_it.json +0 -3
  489. package/dist/collection/assets/t9n/media-card/resources_ja.json +0 -3
  490. package/dist/collection/assets/t9n/media-card/resources_ko.json +0 -3
  491. package/dist/collection/assets/t9n/media-card/resources_lt.json +0 -3
  492. package/dist/collection/assets/t9n/media-card/resources_lv.json +0 -3
  493. package/dist/collection/assets/t9n/media-card/resources_nb.json +0 -3
  494. package/dist/collection/assets/t9n/media-card/resources_nl.json +0 -3
  495. package/dist/collection/assets/t9n/media-card/resources_pl.json +0 -3
  496. package/dist/collection/assets/t9n/media-card/resources_pt-BR.json +0 -3
  497. package/dist/collection/assets/t9n/media-card/resources_pt-PT.json +0 -3
  498. package/dist/collection/assets/t9n/media-card/resources_ro.json +0 -3
  499. package/dist/collection/assets/t9n/media-card/resources_ru.json +0 -3
  500. package/dist/collection/assets/t9n/media-card/resources_sk.json +0 -3
  501. package/dist/collection/assets/t9n/media-card/resources_sl.json +0 -3
  502. package/dist/collection/assets/t9n/media-card/resources_sr.json +0 -3
  503. package/dist/collection/assets/t9n/media-card/resources_sv.json +0 -3
  504. package/dist/collection/assets/t9n/media-card/resources_th.json +0 -3
  505. package/dist/collection/assets/t9n/media-card/resources_tr.json +0 -3
  506. package/dist/collection/assets/t9n/media-card/resources_uk.json +0 -3
  507. package/dist/collection/assets/t9n/media-card/resources_vi.json +0 -3
  508. package/dist/collection/assets/t9n/media-card/resources_zh-CN.json +0 -3
  509. package/dist/collection/assets/t9n/media-card/resources_zh-HK.json +0 -3
  510. package/dist/collection/assets/t9n/media-card/resources_zh-TW.json +0 -3
  511. package/dist/collection/assets/t9n/pdf-download/resources_en.json +0 -3
  512. package/dist/collection/assets/t9n/public-notification/resources_en.json +0 -44
  513. package/dist/collection/assets/t9n/refine-selection/resources_en.json +0 -9
  514. package/dist/collection/assets/t9n/share-item/resources.json +0 -3
  515. package/dist/collection/assets/t9n/share-item/resources_en.json +0 -3
  516. package/dist/collection/assets/t9n/solution-configuration/resources_en.json +0 -15
  517. package/dist/collection/assets/t9n/solution-item/resources_en.json +0 -8
  518. package/dist/collection/assets/t9n/solution-item-accordion/resources_en.json +0 -3
  519. package/dist/collection/assets/t9n/solution-item-details/resources_en.json +0 -8
  520. package/dist/collection/assets/t9n/solution-item-sharing/resources_en.json +0 -3
  521. package/dist/collection/assets/t9n/solution-organization-variables/resources_en.json +0 -3
  522. package/dist/collection/assets/t9n/solution-resource-item/resources_en.json +0 -8
  523. package/dist/collection/assets/t9n/solution-spatial-ref/resources_en.json +0 -5
  524. package/dist/collection/assets/t9n/solution-template-data/resources_en.json +0 -5
  525. package/dist/collection/assets/t9n/solution-variables/resources_en.json +0 -3
  526. package/dist/collection/assets/t9n/spatial-ref/resources_en.json +0 -3
  527. package/dist/collection/assets/t9n/store-manager/resources_en.json +0 -3
  528. package/dist/solutions-components/assets/t9n/add-record-modal/resources.json +0 -10
  529. package/dist/solutions-components/assets/t9n/add-record-modal/resources_en.json +0 -10
  530. package/dist/solutions-components/assets/t9n/arcgis-login/resources.json +0 -3
  531. package/dist/solutions-components/assets/t9n/arcgis-login/resources_en.json +0 -3
  532. package/dist/solutions-components/assets/t9n/buffer-tools/resources_en.json +0 -6
  533. package/dist/solutions-components/assets/t9n/card-manager/resources_en.json +0 -7
  534. package/dist/solutions-components/assets/t9n/comment-card/resources.json +0 -4
  535. package/dist/solutions-components/assets/t9n/comment-card/resources_ar.json +0 -4
  536. package/dist/solutions-components/assets/t9n/comment-card/resources_bg.json +0 -4
  537. package/dist/solutions-components/assets/t9n/comment-card/resources_bs.json +0 -4
  538. package/dist/solutions-components/assets/t9n/comment-card/resources_ca.json +0 -4
  539. package/dist/solutions-components/assets/t9n/comment-card/resources_cs.json +0 -4
  540. package/dist/solutions-components/assets/t9n/comment-card/resources_da.json +0 -4
  541. package/dist/solutions-components/assets/t9n/comment-card/resources_de.json +0 -4
  542. package/dist/solutions-components/assets/t9n/comment-card/resources_el.json +0 -4
  543. package/dist/solutions-components/assets/t9n/comment-card/resources_en.json +0 -4
  544. package/dist/solutions-components/assets/t9n/comment-card/resources_es.json +0 -4
  545. package/dist/solutions-components/assets/t9n/comment-card/resources_et.json +0 -4
  546. package/dist/solutions-components/assets/t9n/comment-card/resources_fi.json +0 -4
  547. package/dist/solutions-components/assets/t9n/comment-card/resources_fr.json +0 -4
  548. package/dist/solutions-components/assets/t9n/comment-card/resources_he.json +0 -4
  549. package/dist/solutions-components/assets/t9n/comment-card/resources_hr.json +0 -4
  550. package/dist/solutions-components/assets/t9n/comment-card/resources_hu.json +0 -4
  551. package/dist/solutions-components/assets/t9n/comment-card/resources_id.json +0 -4
  552. package/dist/solutions-components/assets/t9n/comment-card/resources_it.json +0 -4
  553. package/dist/solutions-components/assets/t9n/comment-card/resources_ja.json +0 -4
  554. package/dist/solutions-components/assets/t9n/comment-card/resources_ko.json +0 -4
  555. package/dist/solutions-components/assets/t9n/comment-card/resources_lt.json +0 -4
  556. package/dist/solutions-components/assets/t9n/comment-card/resources_lv.json +0 -4
  557. package/dist/solutions-components/assets/t9n/comment-card/resources_nb.json +0 -4
  558. package/dist/solutions-components/assets/t9n/comment-card/resources_nl.json +0 -4
  559. package/dist/solutions-components/assets/t9n/comment-card/resources_no.json +0 -4
  560. package/dist/solutions-components/assets/t9n/comment-card/resources_pl.json +0 -4
  561. package/dist/solutions-components/assets/t9n/comment-card/resources_pt-BR.json +0 -4
  562. package/dist/solutions-components/assets/t9n/comment-card/resources_pt-PT.json +0 -4
  563. package/dist/solutions-components/assets/t9n/comment-card/resources_ro.json +0 -4
  564. package/dist/solutions-components/assets/t9n/comment-card/resources_ru.json +0 -4
  565. package/dist/solutions-components/assets/t9n/comment-card/resources_sk.json +0 -4
  566. package/dist/solutions-components/assets/t9n/comment-card/resources_sl.json +0 -4
  567. package/dist/solutions-components/assets/t9n/comment-card/resources_sr.json +0 -4
  568. package/dist/solutions-components/assets/t9n/comment-card/resources_sv.json +0 -4
  569. package/dist/solutions-components/assets/t9n/comment-card/resources_th.json +0 -4
  570. package/dist/solutions-components/assets/t9n/comment-card/resources_tr.json +0 -4
  571. package/dist/solutions-components/assets/t9n/comment-card/resources_uk.json +0 -4
  572. package/dist/solutions-components/assets/t9n/comment-card/resources_vi.json +0 -4
  573. package/dist/solutions-components/assets/t9n/comment-card/resources_zh-CN.json +0 -4
  574. package/dist/solutions-components/assets/t9n/comment-card/resources_zh-HK.json +0 -4
  575. package/dist/solutions-components/assets/t9n/comment-card/resources_zh-TW.json +0 -4
  576. package/dist/solutions-components/assets/t9n/consent-manager/resources_en.json +0 -5
  577. package/dist/solutions-components/assets/t9n/create-feature/resources_en.json +0 -5
  578. package/dist/solutions-components/assets/t9n/create-related-feature/resources_en.json +0 -3
  579. package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_en.json +0 -15
  580. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_en.json +0 -32
  581. package/dist/solutions-components/assets/t9n/delete-button/resources_en.json +0 -8
  582. package/dist/solutions-components/assets/t9n/delete-dialog/resources_en.json +0 -8
  583. package/dist/solutions-components/assets/t9n/edit-card/resources_en.json +0 -3
  584. package/dist/solutions-components/assets/t9n/feature-list/resources_en.json +0 -8
  585. package/dist/solutions-components/assets/t9n/info-card/resources_en.json +0 -10
  586. package/dist/solutions-components/assets/t9n/instant-apps-export/resources.json +0 -12
  587. package/dist/solutions-components/assets/t9n/instant-apps-export/resources_ar.json +0 -11
  588. package/dist/solutions-components/assets/t9n/instant-apps-export/resources_bg.json +0 -11
  589. package/dist/solutions-components/assets/t9n/instant-apps-export/resources_bs.json +0 -11
  590. package/dist/solutions-components/assets/t9n/instant-apps-export/resources_ca.json +0 -11
  591. package/dist/solutions-components/assets/t9n/instant-apps-export/resources_cs.json +0 -11
  592. package/dist/solutions-components/assets/t9n/instant-apps-export/resources_da.json +0 -11
  593. package/dist/solutions-components/assets/t9n/instant-apps-export/resources_de.json +0 -11
  594. package/dist/solutions-components/assets/t9n/instant-apps-export/resources_el.json +0 -11
  595. package/dist/solutions-components/assets/t9n/instant-apps-export/resources_en.json +0 -12
  596. package/dist/solutions-components/assets/t9n/instant-apps-export/resources_es.json +0 -11
  597. package/dist/solutions-components/assets/t9n/instant-apps-export/resources_et.json +0 -11
  598. package/dist/solutions-components/assets/t9n/instant-apps-export/resources_fi.json +0 -11
  599. package/dist/solutions-components/assets/t9n/instant-apps-export/resources_fr.json +0 -11
  600. package/dist/solutions-components/assets/t9n/instant-apps-export/resources_he.json +0 -11
  601. package/dist/solutions-components/assets/t9n/instant-apps-export/resources_hr.json +0 -11
  602. package/dist/solutions-components/assets/t9n/instant-apps-export/resources_hu.json +0 -11
  603. package/dist/solutions-components/assets/t9n/instant-apps-export/resources_id.json +0 -11
  604. package/dist/solutions-components/assets/t9n/instant-apps-export/resources_it.json +0 -11
  605. package/dist/solutions-components/assets/t9n/instant-apps-export/resources_ja.json +0 -11
  606. package/dist/solutions-components/assets/t9n/instant-apps-export/resources_ko.json +0 -11
  607. package/dist/solutions-components/assets/t9n/instant-apps-export/resources_lt.json +0 -11
  608. package/dist/solutions-components/assets/t9n/instant-apps-export/resources_lv.json +0 -11
  609. package/dist/solutions-components/assets/t9n/instant-apps-export/resources_nb.json +0 -11
  610. package/dist/solutions-components/assets/t9n/instant-apps-export/resources_nl.json +0 -11
  611. package/dist/solutions-components/assets/t9n/instant-apps-export/resources_pl.json +0 -11
  612. package/dist/solutions-components/assets/t9n/instant-apps-export/resources_pt-BR.json +0 -11
  613. package/dist/solutions-components/assets/t9n/instant-apps-export/resources_pt-PT.json +0 -11
  614. package/dist/solutions-components/assets/t9n/instant-apps-export/resources_ro.json +0 -11
  615. package/dist/solutions-components/assets/t9n/instant-apps-export/resources_ru.json +0 -11
  616. package/dist/solutions-components/assets/t9n/instant-apps-export/resources_sk.json +0 -11
  617. package/dist/solutions-components/assets/t9n/instant-apps-export/resources_sl.json +0 -11
  618. package/dist/solutions-components/assets/t9n/instant-apps-export/resources_sr.json +0 -11
  619. package/dist/solutions-components/assets/t9n/instant-apps-export/resources_sv.json +0 -11
  620. package/dist/solutions-components/assets/t9n/instant-apps-export/resources_th.json +0 -11
  621. package/dist/solutions-components/assets/t9n/instant-apps-export/resources_tr.json +0 -11
  622. package/dist/solutions-components/assets/t9n/instant-apps-export/resources_uk.json +0 -11
  623. package/dist/solutions-components/assets/t9n/instant-apps-export/resources_vi.json +0 -11
  624. package/dist/solutions-components/assets/t9n/instant-apps-export/resources_zh-CN.json +0 -11
  625. package/dist/solutions-components/assets/t9n/instant-apps-export/resources_zh-HK.json +0 -11
  626. package/dist/solutions-components/assets/t9n/instant-apps-export/resources_zh-TW.json +0 -11
  627. package/dist/solutions-components/assets/t9n/instant-apps-filter-list/resources.json +0 -16
  628. package/dist/solutions-components/assets/t9n/instant-apps-filter-list/resources_ar.json +0 -16
  629. package/dist/solutions-components/assets/t9n/instant-apps-filter-list/resources_bg.json +0 -16
  630. package/dist/solutions-components/assets/t9n/instant-apps-filter-list/resources_bs.json +0 -16
  631. package/dist/solutions-components/assets/t9n/instant-apps-filter-list/resources_ca.json +0 -16
  632. package/dist/solutions-components/assets/t9n/instant-apps-filter-list/resources_cs.json +0 -16
  633. package/dist/solutions-components/assets/t9n/instant-apps-filter-list/resources_da.json +0 -16
  634. package/dist/solutions-components/assets/t9n/instant-apps-filter-list/resources_de.json +0 -16
  635. package/dist/solutions-components/assets/t9n/instant-apps-filter-list/resources_el.json +0 -16
  636. package/dist/solutions-components/assets/t9n/instant-apps-filter-list/resources_en.json +0 -16
  637. package/dist/solutions-components/assets/t9n/instant-apps-filter-list/resources_es.json +0 -16
  638. package/dist/solutions-components/assets/t9n/instant-apps-filter-list/resources_et.json +0 -16
  639. package/dist/solutions-components/assets/t9n/instant-apps-filter-list/resources_fi.json +0 -16
  640. package/dist/solutions-components/assets/t9n/instant-apps-filter-list/resources_fr.json +0 -16
  641. package/dist/solutions-components/assets/t9n/instant-apps-filter-list/resources_he.json +0 -16
  642. package/dist/solutions-components/assets/t9n/instant-apps-filter-list/resources_hr.json +0 -16
  643. package/dist/solutions-components/assets/t9n/instant-apps-filter-list/resources_hu.json +0 -16
  644. package/dist/solutions-components/assets/t9n/instant-apps-filter-list/resources_id.json +0 -16
  645. package/dist/solutions-components/assets/t9n/instant-apps-filter-list/resources_it.json +0 -16
  646. package/dist/solutions-components/assets/t9n/instant-apps-filter-list/resources_ja.json +0 -16
  647. package/dist/solutions-components/assets/t9n/instant-apps-filter-list/resources_ko.json +0 -16
  648. package/dist/solutions-components/assets/t9n/instant-apps-filter-list/resources_lt.json +0 -16
  649. package/dist/solutions-components/assets/t9n/instant-apps-filter-list/resources_lv.json +0 -16
  650. package/dist/solutions-components/assets/t9n/instant-apps-filter-list/resources_nb.json +0 -16
  651. package/dist/solutions-components/assets/t9n/instant-apps-filter-list/resources_nl.json +0 -16
  652. package/dist/solutions-components/assets/t9n/instant-apps-filter-list/resources_pl.json +0 -16
  653. package/dist/solutions-components/assets/t9n/instant-apps-filter-list/resources_pt-BR.json +0 -16
  654. package/dist/solutions-components/assets/t9n/instant-apps-filter-list/resources_pt-PT.json +0 -16
  655. package/dist/solutions-components/assets/t9n/instant-apps-filter-list/resources_ro.json +0 -16
  656. package/dist/solutions-components/assets/t9n/instant-apps-filter-list/resources_ru.json +0 -16
  657. package/dist/solutions-components/assets/t9n/instant-apps-filter-list/resources_sk.json +0 -16
  658. package/dist/solutions-components/assets/t9n/instant-apps-filter-list/resources_sl.json +0 -16
  659. package/dist/solutions-components/assets/t9n/instant-apps-filter-list/resources_sr.json +0 -16
  660. package/dist/solutions-components/assets/t9n/instant-apps-filter-list/resources_sv.json +0 -16
  661. package/dist/solutions-components/assets/t9n/instant-apps-filter-list/resources_th.json +0 -16
  662. package/dist/solutions-components/assets/t9n/instant-apps-filter-list/resources_tr.json +0 -16
  663. package/dist/solutions-components/assets/t9n/instant-apps-filter-list/resources_uk.json +0 -16
  664. package/dist/solutions-components/assets/t9n/instant-apps-filter-list/resources_vi.json +0 -16
  665. package/dist/solutions-components/assets/t9n/instant-apps-filter-list/resources_zh-CN.json +0 -16
  666. package/dist/solutions-components/assets/t9n/instant-apps-filter-list/resources_zh-HK.json +0 -16
  667. package/dist/solutions-components/assets/t9n/instant-apps-filter-list/resources_zh-TW.json +0 -16
  668. package/dist/solutions-components/assets/t9n/instant-apps-interactive-legend/resources.json +0 -15
  669. package/dist/solutions-components/assets/t9n/instant-apps-interactive-legend/resources_ar.json +0 -15
  670. package/dist/solutions-components/assets/t9n/instant-apps-interactive-legend/resources_bg.json +0 -15
  671. package/dist/solutions-components/assets/t9n/instant-apps-interactive-legend/resources_bs.json +0 -15
  672. package/dist/solutions-components/assets/t9n/instant-apps-interactive-legend/resources_ca.json +0 -15
  673. package/dist/solutions-components/assets/t9n/instant-apps-interactive-legend/resources_cs.json +0 -15
  674. package/dist/solutions-components/assets/t9n/instant-apps-interactive-legend/resources_da.json +0 -15
  675. package/dist/solutions-components/assets/t9n/instant-apps-interactive-legend/resources_de.json +0 -15
  676. package/dist/solutions-components/assets/t9n/instant-apps-interactive-legend/resources_el.json +0 -15
  677. package/dist/solutions-components/assets/t9n/instant-apps-interactive-legend/resources_en.json +0 -15
  678. package/dist/solutions-components/assets/t9n/instant-apps-interactive-legend/resources_es.json +0 -15
  679. package/dist/solutions-components/assets/t9n/instant-apps-interactive-legend/resources_et.json +0 -15
  680. package/dist/solutions-components/assets/t9n/instant-apps-interactive-legend/resources_fi.json +0 -15
  681. package/dist/solutions-components/assets/t9n/instant-apps-interactive-legend/resources_fr.json +0 -15
  682. package/dist/solutions-components/assets/t9n/instant-apps-interactive-legend/resources_he.json +0 -15
  683. package/dist/solutions-components/assets/t9n/instant-apps-interactive-legend/resources_hr.json +0 -15
  684. package/dist/solutions-components/assets/t9n/instant-apps-interactive-legend/resources_hu.json +0 -15
  685. package/dist/solutions-components/assets/t9n/instant-apps-interactive-legend/resources_id.json +0 -15
  686. package/dist/solutions-components/assets/t9n/instant-apps-interactive-legend/resources_it.json +0 -15
  687. package/dist/solutions-components/assets/t9n/instant-apps-interactive-legend/resources_ja.json +0 -15
  688. package/dist/solutions-components/assets/t9n/instant-apps-interactive-legend/resources_ko.json +0 -15
  689. package/dist/solutions-components/assets/t9n/instant-apps-interactive-legend/resources_lt.json +0 -15
  690. package/dist/solutions-components/assets/t9n/instant-apps-interactive-legend/resources_lv.json +0 -15
  691. package/dist/solutions-components/assets/t9n/instant-apps-interactive-legend/resources_nb.json +0 -15
  692. package/dist/solutions-components/assets/t9n/instant-apps-interactive-legend/resources_nl.json +0 -15
  693. package/dist/solutions-components/assets/t9n/instant-apps-interactive-legend/resources_pl.json +0 -15
  694. package/dist/solutions-components/assets/t9n/instant-apps-interactive-legend/resources_pt-BR.json +0 -15
  695. package/dist/solutions-components/assets/t9n/instant-apps-interactive-legend/resources_pt-PT.json +0 -15
  696. package/dist/solutions-components/assets/t9n/instant-apps-interactive-legend/resources_ro.json +0 -15
  697. package/dist/solutions-components/assets/t9n/instant-apps-interactive-legend/resources_ru.json +0 -15
  698. package/dist/solutions-components/assets/t9n/instant-apps-interactive-legend/resources_sk.json +0 -15
  699. package/dist/solutions-components/assets/t9n/instant-apps-interactive-legend/resources_sl.json +0 -15
  700. package/dist/solutions-components/assets/t9n/instant-apps-interactive-legend/resources_sr.json +0 -15
  701. package/dist/solutions-components/assets/t9n/instant-apps-interactive-legend/resources_sv.json +0 -15
  702. package/dist/solutions-components/assets/t9n/instant-apps-interactive-legend/resources_th.json +0 -15
  703. package/dist/solutions-components/assets/t9n/instant-apps-interactive-legend/resources_tr.json +0 -15
  704. package/dist/solutions-components/assets/t9n/instant-apps-interactive-legend/resources_uk.json +0 -15
  705. package/dist/solutions-components/assets/t9n/instant-apps-interactive-legend/resources_vi.json +0 -15
  706. package/dist/solutions-components/assets/t9n/instant-apps-interactive-legend/resources_zh-CN.json +0 -15
  707. package/dist/solutions-components/assets/t9n/instant-apps-interactive-legend/resources_zh-HK.json +0 -15
  708. package/dist/solutions-components/assets/t9n/instant-apps-interactive-legend/resources_zh-TW.json +0 -15
  709. package/dist/solutions-components/assets/t9n/instant-apps-keyboard-shortcuts/resources.json +0 -30
  710. package/dist/solutions-components/assets/t9n/instant-apps-keyboard-shortcuts/resources_ar.json +0 -30
  711. package/dist/solutions-components/assets/t9n/instant-apps-keyboard-shortcuts/resources_bg.json +0 -30
  712. package/dist/solutions-components/assets/t9n/instant-apps-keyboard-shortcuts/resources_bs.json +0 -30
  713. package/dist/solutions-components/assets/t9n/instant-apps-keyboard-shortcuts/resources_ca.json +0 -30
  714. package/dist/solutions-components/assets/t9n/instant-apps-keyboard-shortcuts/resources_cs.json +0 -30
  715. package/dist/solutions-components/assets/t9n/instant-apps-keyboard-shortcuts/resources_da.json +0 -30
  716. package/dist/solutions-components/assets/t9n/instant-apps-keyboard-shortcuts/resources_de.json +0 -30
  717. package/dist/solutions-components/assets/t9n/instant-apps-keyboard-shortcuts/resources_el.json +0 -30
  718. package/dist/solutions-components/assets/t9n/instant-apps-keyboard-shortcuts/resources_en.json +0 -30
  719. package/dist/solutions-components/assets/t9n/instant-apps-keyboard-shortcuts/resources_es.json +0 -30
  720. package/dist/solutions-components/assets/t9n/instant-apps-keyboard-shortcuts/resources_et.json +0 -30
  721. package/dist/solutions-components/assets/t9n/instant-apps-keyboard-shortcuts/resources_fi.json +0 -30
  722. package/dist/solutions-components/assets/t9n/instant-apps-keyboard-shortcuts/resources_fr.json +0 -30
  723. package/dist/solutions-components/assets/t9n/instant-apps-keyboard-shortcuts/resources_he.json +0 -30
  724. package/dist/solutions-components/assets/t9n/instant-apps-keyboard-shortcuts/resources_hr.json +0 -30
  725. package/dist/solutions-components/assets/t9n/instant-apps-keyboard-shortcuts/resources_hu.json +0 -30
  726. package/dist/solutions-components/assets/t9n/instant-apps-keyboard-shortcuts/resources_id.json +0 -30
  727. package/dist/solutions-components/assets/t9n/instant-apps-keyboard-shortcuts/resources_it.json +0 -30
  728. package/dist/solutions-components/assets/t9n/instant-apps-keyboard-shortcuts/resources_ja.json +0 -30
  729. package/dist/solutions-components/assets/t9n/instant-apps-keyboard-shortcuts/resources_ko.json +0 -30
  730. package/dist/solutions-components/assets/t9n/instant-apps-keyboard-shortcuts/resources_lt.json +0 -30
  731. package/dist/solutions-components/assets/t9n/instant-apps-keyboard-shortcuts/resources_lv.json +0 -30
  732. package/dist/solutions-components/assets/t9n/instant-apps-keyboard-shortcuts/resources_nb.json +0 -30
  733. package/dist/solutions-components/assets/t9n/instant-apps-keyboard-shortcuts/resources_nl.json +0 -30
  734. package/dist/solutions-components/assets/t9n/instant-apps-keyboard-shortcuts/resources_pl.json +0 -30
  735. package/dist/solutions-components/assets/t9n/instant-apps-keyboard-shortcuts/resources_pt-BR.json +0 -30
  736. package/dist/solutions-components/assets/t9n/instant-apps-keyboard-shortcuts/resources_pt-PT.json +0 -30
  737. package/dist/solutions-components/assets/t9n/instant-apps-keyboard-shortcuts/resources_ro.json +0 -30
  738. package/dist/solutions-components/assets/t9n/instant-apps-keyboard-shortcuts/resources_ru.json +0 -30
  739. package/dist/solutions-components/assets/t9n/instant-apps-keyboard-shortcuts/resources_sk.json +0 -30
  740. package/dist/solutions-components/assets/t9n/instant-apps-keyboard-shortcuts/resources_sl.json +0 -30
  741. package/dist/solutions-components/assets/t9n/instant-apps-keyboard-shortcuts/resources_sr.json +0 -30
  742. package/dist/solutions-components/assets/t9n/instant-apps-keyboard-shortcuts/resources_sv.json +0 -30
  743. package/dist/solutions-components/assets/t9n/instant-apps-keyboard-shortcuts/resources_th.json +0 -30
  744. package/dist/solutions-components/assets/t9n/instant-apps-keyboard-shortcuts/resources_tr.json +0 -30
  745. package/dist/solutions-components/assets/t9n/instant-apps-keyboard-shortcuts/resources_uk.json +0 -30
  746. package/dist/solutions-components/assets/t9n/instant-apps-keyboard-shortcuts/resources_vi.json +0 -30
  747. package/dist/solutions-components/assets/t9n/instant-apps-keyboard-shortcuts/resources_zh-CN.json +0 -30
  748. package/dist/solutions-components/assets/t9n/instant-apps-keyboard-shortcuts/resources_zh-HK.json +0 -30
  749. package/dist/solutions-components/assets/t9n/instant-apps-keyboard-shortcuts/resources_zh-TW.json +0 -30
  750. package/dist/solutions-components/assets/t9n/instant-apps-language-translator/resources.json +0 -102
  751. package/dist/solutions-components/assets/t9n/instant-apps-language-translator/resources_ar.json +0 -102
  752. package/dist/solutions-components/assets/t9n/instant-apps-language-translator/resources_bg.json +0 -102
  753. package/dist/solutions-components/assets/t9n/instant-apps-language-translator/resources_bs.json +0 -102
  754. package/dist/solutions-components/assets/t9n/instant-apps-language-translator/resources_ca.json +0 -102
  755. package/dist/solutions-components/assets/t9n/instant-apps-language-translator/resources_cs.json +0 -102
  756. package/dist/solutions-components/assets/t9n/instant-apps-language-translator/resources_da.json +0 -102
  757. package/dist/solutions-components/assets/t9n/instant-apps-language-translator/resources_de.json +0 -102
  758. package/dist/solutions-components/assets/t9n/instant-apps-language-translator/resources_el.json +0 -102
  759. package/dist/solutions-components/assets/t9n/instant-apps-language-translator/resources_en.json +0 -102
  760. package/dist/solutions-components/assets/t9n/instant-apps-language-translator/resources_es.json +0 -102
  761. package/dist/solutions-components/assets/t9n/instant-apps-language-translator/resources_et.json +0 -102
  762. package/dist/solutions-components/assets/t9n/instant-apps-language-translator/resources_fi.json +0 -102
  763. package/dist/solutions-components/assets/t9n/instant-apps-language-translator/resources_fr.json +0 -102
  764. package/dist/solutions-components/assets/t9n/instant-apps-language-translator/resources_he.json +0 -102
  765. package/dist/solutions-components/assets/t9n/instant-apps-language-translator/resources_hr.json +0 -102
  766. package/dist/solutions-components/assets/t9n/instant-apps-language-translator/resources_hu.json +0 -102
  767. package/dist/solutions-components/assets/t9n/instant-apps-language-translator/resources_id.json +0 -102
  768. package/dist/solutions-components/assets/t9n/instant-apps-language-translator/resources_it.json +0 -102
  769. package/dist/solutions-components/assets/t9n/instant-apps-language-translator/resources_ja.json +0 -102
  770. package/dist/solutions-components/assets/t9n/instant-apps-language-translator/resources_ko.json +0 -102
  771. package/dist/solutions-components/assets/t9n/instant-apps-language-translator/resources_lt.json +0 -102
  772. package/dist/solutions-components/assets/t9n/instant-apps-language-translator/resources_lv.json +0 -102
  773. package/dist/solutions-components/assets/t9n/instant-apps-language-translator/resources_nb.json +0 -102
  774. package/dist/solutions-components/assets/t9n/instant-apps-language-translator/resources_nl.json +0 -102
  775. package/dist/solutions-components/assets/t9n/instant-apps-language-translator/resources_pl.json +0 -102
  776. package/dist/solutions-components/assets/t9n/instant-apps-language-translator/resources_pt-BR.json +0 -102
  777. package/dist/solutions-components/assets/t9n/instant-apps-language-translator/resources_pt-PT.json +0 -102
  778. package/dist/solutions-components/assets/t9n/instant-apps-language-translator/resources_ro.json +0 -102
  779. package/dist/solutions-components/assets/t9n/instant-apps-language-translator/resources_ru.json +0 -102
  780. package/dist/solutions-components/assets/t9n/instant-apps-language-translator/resources_sk.json +0 -102
  781. package/dist/solutions-components/assets/t9n/instant-apps-language-translator/resources_sl.json +0 -102
  782. package/dist/solutions-components/assets/t9n/instant-apps-language-translator/resources_sr.json +0 -102
  783. package/dist/solutions-components/assets/t9n/instant-apps-language-translator/resources_sv.json +0 -102
  784. package/dist/solutions-components/assets/t9n/instant-apps-language-translator/resources_th.json +0 -102
  785. package/dist/solutions-components/assets/t9n/instant-apps-language-translator/resources_tr.json +0 -102
  786. package/dist/solutions-components/assets/t9n/instant-apps-language-translator/resources_uk.json +0 -102
  787. package/dist/solutions-components/assets/t9n/instant-apps-language-translator/resources_vi.json +0 -102
  788. package/dist/solutions-components/assets/t9n/instant-apps-language-translator/resources_zh-CN.json +0 -102
  789. package/dist/solutions-components/assets/t9n/instant-apps-language-translator/resources_zh-HK.json +0 -102
  790. package/dist/solutions-components/assets/t9n/instant-apps-language-translator/resources_zh-TW.json +0 -102
  791. package/dist/solutions-components/assets/t9n/instant-apps-measurement/resources.json +0 -7
  792. package/dist/solutions-components/assets/t9n/instant-apps-measurement/resources_ar.json +0 -7
  793. package/dist/solutions-components/assets/t9n/instant-apps-measurement/resources_bg.json +0 -7
  794. package/dist/solutions-components/assets/t9n/instant-apps-measurement/resources_bs.json +0 -7
  795. package/dist/solutions-components/assets/t9n/instant-apps-measurement/resources_ca.json +0 -7
  796. package/dist/solutions-components/assets/t9n/instant-apps-measurement/resources_cs.json +0 -7
  797. package/dist/solutions-components/assets/t9n/instant-apps-measurement/resources_da.json +0 -7
  798. package/dist/solutions-components/assets/t9n/instant-apps-measurement/resources_de.json +0 -7
  799. package/dist/solutions-components/assets/t9n/instant-apps-measurement/resources_el.json +0 -7
  800. package/dist/solutions-components/assets/t9n/instant-apps-measurement/resources_en.json +0 -7
  801. package/dist/solutions-components/assets/t9n/instant-apps-measurement/resources_es.json +0 -7
  802. package/dist/solutions-components/assets/t9n/instant-apps-measurement/resources_et.json +0 -7
  803. package/dist/solutions-components/assets/t9n/instant-apps-measurement/resources_fi.json +0 -7
  804. package/dist/solutions-components/assets/t9n/instant-apps-measurement/resources_fr.json +0 -7
  805. package/dist/solutions-components/assets/t9n/instant-apps-measurement/resources_he.json +0 -7
  806. package/dist/solutions-components/assets/t9n/instant-apps-measurement/resources_hr.json +0 -7
  807. package/dist/solutions-components/assets/t9n/instant-apps-measurement/resources_hu.json +0 -7
  808. package/dist/solutions-components/assets/t9n/instant-apps-measurement/resources_id.json +0 -7
  809. package/dist/solutions-components/assets/t9n/instant-apps-measurement/resources_it.json +0 -7
  810. package/dist/solutions-components/assets/t9n/instant-apps-measurement/resources_ja.json +0 -7
  811. package/dist/solutions-components/assets/t9n/instant-apps-measurement/resources_ko.json +0 -7
  812. package/dist/solutions-components/assets/t9n/instant-apps-measurement/resources_lt.json +0 -7
  813. package/dist/solutions-components/assets/t9n/instant-apps-measurement/resources_lv.json +0 -7
  814. package/dist/solutions-components/assets/t9n/instant-apps-measurement/resources_nb.json +0 -7
  815. package/dist/solutions-components/assets/t9n/instant-apps-measurement/resources_nl.json +0 -7
  816. package/dist/solutions-components/assets/t9n/instant-apps-measurement/resources_pl.json +0 -7
  817. package/dist/solutions-components/assets/t9n/instant-apps-measurement/resources_pt-BR.json +0 -7
  818. package/dist/solutions-components/assets/t9n/instant-apps-measurement/resources_pt-PT.json +0 -7
  819. package/dist/solutions-components/assets/t9n/instant-apps-measurement/resources_ro.json +0 -7
  820. package/dist/solutions-components/assets/t9n/instant-apps-measurement/resources_ru.json +0 -7
  821. package/dist/solutions-components/assets/t9n/instant-apps-measurement/resources_sk.json +0 -7
  822. package/dist/solutions-components/assets/t9n/instant-apps-measurement/resources_sl.json +0 -7
  823. package/dist/solutions-components/assets/t9n/instant-apps-measurement/resources_sr.json +0 -7
  824. package/dist/solutions-components/assets/t9n/instant-apps-measurement/resources_sv.json +0 -7
  825. package/dist/solutions-components/assets/t9n/instant-apps-measurement/resources_th.json +0 -7
  826. package/dist/solutions-components/assets/t9n/instant-apps-measurement/resources_tr.json +0 -7
  827. package/dist/solutions-components/assets/t9n/instant-apps-measurement/resources_uk.json +0 -7
  828. package/dist/solutions-components/assets/t9n/instant-apps-measurement/resources_vi.json +0 -7
  829. package/dist/solutions-components/assets/t9n/instant-apps-measurement/resources_zh-CN.json +0 -7
  830. package/dist/solutions-components/assets/t9n/instant-apps-measurement/resources_zh-HK.json +0 -7
  831. package/dist/solutions-components/assets/t9n/instant-apps-measurement/resources_zh-TW.json +0 -7
  832. package/dist/solutions-components/assets/t9n/instant-apps-popover/resources.json +0 -7
  833. package/dist/solutions-components/assets/t9n/instant-apps-popover/resources_ar.json +0 -6
  834. package/dist/solutions-components/assets/t9n/instant-apps-popover/resources_bg.json +0 -6
  835. package/dist/solutions-components/assets/t9n/instant-apps-popover/resources_bs.json +0 -6
  836. package/dist/solutions-components/assets/t9n/instant-apps-popover/resources_ca.json +0 -6
  837. package/dist/solutions-components/assets/t9n/instant-apps-popover/resources_cs.json +0 -6
  838. package/dist/solutions-components/assets/t9n/instant-apps-popover/resources_da.json +0 -6
  839. package/dist/solutions-components/assets/t9n/instant-apps-popover/resources_de.json +0 -6
  840. package/dist/solutions-components/assets/t9n/instant-apps-popover/resources_el.json +0 -6
  841. package/dist/solutions-components/assets/t9n/instant-apps-popover/resources_en.json +0 -7
  842. package/dist/solutions-components/assets/t9n/instant-apps-popover/resources_es.json +0 -6
  843. package/dist/solutions-components/assets/t9n/instant-apps-popover/resources_et.json +0 -6
  844. package/dist/solutions-components/assets/t9n/instant-apps-popover/resources_fi.json +0 -6
  845. package/dist/solutions-components/assets/t9n/instant-apps-popover/resources_fr.json +0 -6
  846. package/dist/solutions-components/assets/t9n/instant-apps-popover/resources_he.json +0 -6
  847. package/dist/solutions-components/assets/t9n/instant-apps-popover/resources_hr.json +0 -6
  848. package/dist/solutions-components/assets/t9n/instant-apps-popover/resources_hu.json +0 -6
  849. package/dist/solutions-components/assets/t9n/instant-apps-popover/resources_id.json +0 -6
  850. package/dist/solutions-components/assets/t9n/instant-apps-popover/resources_it.json +0 -6
  851. package/dist/solutions-components/assets/t9n/instant-apps-popover/resources_ja.json +0 -6
  852. package/dist/solutions-components/assets/t9n/instant-apps-popover/resources_ko.json +0 -6
  853. package/dist/solutions-components/assets/t9n/instant-apps-popover/resources_lt.json +0 -6
  854. package/dist/solutions-components/assets/t9n/instant-apps-popover/resources_lv.json +0 -6
  855. package/dist/solutions-components/assets/t9n/instant-apps-popover/resources_nb.json +0 -6
  856. package/dist/solutions-components/assets/t9n/instant-apps-popover/resources_nl.json +0 -6
  857. package/dist/solutions-components/assets/t9n/instant-apps-popover/resources_pl.json +0 -6
  858. package/dist/solutions-components/assets/t9n/instant-apps-popover/resources_pt-BR.json +0 -6
  859. package/dist/solutions-components/assets/t9n/instant-apps-popover/resources_pt-PT.json +0 -6
  860. package/dist/solutions-components/assets/t9n/instant-apps-popover/resources_ro.json +0 -6
  861. package/dist/solutions-components/assets/t9n/instant-apps-popover/resources_ru.json +0 -6
  862. package/dist/solutions-components/assets/t9n/instant-apps-popover/resources_sk.json +0 -6
  863. package/dist/solutions-components/assets/t9n/instant-apps-popover/resources_sl.json +0 -6
  864. package/dist/solutions-components/assets/t9n/instant-apps-popover/resources_sr.json +0 -6
  865. package/dist/solutions-components/assets/t9n/instant-apps-popover/resources_sv.json +0 -6
  866. package/dist/solutions-components/assets/t9n/instant-apps-popover/resources_th.json +0 -6
  867. package/dist/solutions-components/assets/t9n/instant-apps-popover/resources_tr.json +0 -6
  868. package/dist/solutions-components/assets/t9n/instant-apps-popover/resources_uk.json +0 -6
  869. package/dist/solutions-components/assets/t9n/instant-apps-popover/resources_vi.json +0 -6
  870. package/dist/solutions-components/assets/t9n/instant-apps-popover/resources_zh-CN.json +0 -6
  871. package/dist/solutions-components/assets/t9n/instant-apps-popover/resources_zh-HK.json +0 -6
  872. package/dist/solutions-components/assets/t9n/instant-apps-popover/resources_zh-TW.json +0 -6
  873. package/dist/solutions-components/assets/t9n/instant-apps-scoreboard/resources.json +0 -7
  874. package/dist/solutions-components/assets/t9n/instant-apps-scoreboard/resources_ar.json +0 -7
  875. package/dist/solutions-components/assets/t9n/instant-apps-scoreboard/resources_bg.json +0 -7
  876. package/dist/solutions-components/assets/t9n/instant-apps-scoreboard/resources_bs.json +0 -7
  877. package/dist/solutions-components/assets/t9n/instant-apps-scoreboard/resources_ca.json +0 -7
  878. package/dist/solutions-components/assets/t9n/instant-apps-scoreboard/resources_cs.json +0 -7
  879. package/dist/solutions-components/assets/t9n/instant-apps-scoreboard/resources_da.json +0 -7
  880. package/dist/solutions-components/assets/t9n/instant-apps-scoreboard/resources_de.json +0 -7
  881. package/dist/solutions-components/assets/t9n/instant-apps-scoreboard/resources_el.json +0 -7
  882. package/dist/solutions-components/assets/t9n/instant-apps-scoreboard/resources_en.json +0 -7
  883. package/dist/solutions-components/assets/t9n/instant-apps-scoreboard/resources_es.json +0 -7
  884. package/dist/solutions-components/assets/t9n/instant-apps-scoreboard/resources_et.json +0 -7
  885. package/dist/solutions-components/assets/t9n/instant-apps-scoreboard/resources_fi.json +0 -7
  886. package/dist/solutions-components/assets/t9n/instant-apps-scoreboard/resources_fr.json +0 -7
  887. package/dist/solutions-components/assets/t9n/instant-apps-scoreboard/resources_he.json +0 -7
  888. package/dist/solutions-components/assets/t9n/instant-apps-scoreboard/resources_hr.json +0 -7
  889. package/dist/solutions-components/assets/t9n/instant-apps-scoreboard/resources_hu.json +0 -7
  890. package/dist/solutions-components/assets/t9n/instant-apps-scoreboard/resources_id.json +0 -7
  891. package/dist/solutions-components/assets/t9n/instant-apps-scoreboard/resources_it.json +0 -7
  892. package/dist/solutions-components/assets/t9n/instant-apps-scoreboard/resources_ja.json +0 -7
  893. package/dist/solutions-components/assets/t9n/instant-apps-scoreboard/resources_ko.json +0 -7
  894. package/dist/solutions-components/assets/t9n/instant-apps-scoreboard/resources_lt.json +0 -7
  895. package/dist/solutions-components/assets/t9n/instant-apps-scoreboard/resources_lv.json +0 -7
  896. package/dist/solutions-components/assets/t9n/instant-apps-scoreboard/resources_nb.json +0 -7
  897. package/dist/solutions-components/assets/t9n/instant-apps-scoreboard/resources_nl.json +0 -7
  898. package/dist/solutions-components/assets/t9n/instant-apps-scoreboard/resources_pl.json +0 -7
  899. package/dist/solutions-components/assets/t9n/instant-apps-scoreboard/resources_pt-BR.json +0 -7
  900. package/dist/solutions-components/assets/t9n/instant-apps-scoreboard/resources_pt-PT.json +0 -7
  901. package/dist/solutions-components/assets/t9n/instant-apps-scoreboard/resources_ro.json +0 -7
  902. package/dist/solutions-components/assets/t9n/instant-apps-scoreboard/resources_ru.json +0 -7
  903. package/dist/solutions-components/assets/t9n/instant-apps-scoreboard/resources_sk.json +0 -7
  904. package/dist/solutions-components/assets/t9n/instant-apps-scoreboard/resources_sl.json +0 -7
  905. package/dist/solutions-components/assets/t9n/instant-apps-scoreboard/resources_sr.json +0 -7
  906. package/dist/solutions-components/assets/t9n/instant-apps-scoreboard/resources_sv.json +0 -7
  907. package/dist/solutions-components/assets/t9n/instant-apps-scoreboard/resources_th.json +0 -7
  908. package/dist/solutions-components/assets/t9n/instant-apps-scoreboard/resources_tr.json +0 -7
  909. package/dist/solutions-components/assets/t9n/instant-apps-scoreboard/resources_uk.json +0 -7
  910. package/dist/solutions-components/assets/t9n/instant-apps-scoreboard/resources_vi.json +0 -7
  911. package/dist/solutions-components/assets/t9n/instant-apps-scoreboard/resources_zh-CN.json +0 -7
  912. package/dist/solutions-components/assets/t9n/instant-apps-scoreboard/resources_zh-HK.json +0 -7
  913. package/dist/solutions-components/assets/t9n/instant-apps-scoreboard/resources_zh-TW.json +0 -7
  914. package/dist/solutions-components/assets/t9n/instant-apps-social-share/resources.json +0 -38
  915. package/dist/solutions-components/assets/t9n/instant-apps-social-share/resources_ar.json +0 -38
  916. package/dist/solutions-components/assets/t9n/instant-apps-social-share/resources_bg.json +0 -38
  917. package/dist/solutions-components/assets/t9n/instant-apps-social-share/resources_bs.json +0 -38
  918. package/dist/solutions-components/assets/t9n/instant-apps-social-share/resources_ca.json +0 -38
  919. package/dist/solutions-components/assets/t9n/instant-apps-social-share/resources_cs.json +0 -38
  920. package/dist/solutions-components/assets/t9n/instant-apps-social-share/resources_da.json +0 -38
  921. package/dist/solutions-components/assets/t9n/instant-apps-social-share/resources_de.json +0 -38
  922. package/dist/solutions-components/assets/t9n/instant-apps-social-share/resources_el.json +0 -38
  923. package/dist/solutions-components/assets/t9n/instant-apps-social-share/resources_en.json +0 -38
  924. package/dist/solutions-components/assets/t9n/instant-apps-social-share/resources_es.json +0 -38
  925. package/dist/solutions-components/assets/t9n/instant-apps-social-share/resources_et.json +0 -38
  926. package/dist/solutions-components/assets/t9n/instant-apps-social-share/resources_fi.json +0 -38
  927. package/dist/solutions-components/assets/t9n/instant-apps-social-share/resources_fr.json +0 -38
  928. package/dist/solutions-components/assets/t9n/instant-apps-social-share/resources_he.json +0 -38
  929. package/dist/solutions-components/assets/t9n/instant-apps-social-share/resources_hr.json +0 -38
  930. package/dist/solutions-components/assets/t9n/instant-apps-social-share/resources_hu.json +0 -38
  931. package/dist/solutions-components/assets/t9n/instant-apps-social-share/resources_id.json +0 -38
  932. package/dist/solutions-components/assets/t9n/instant-apps-social-share/resources_it.json +0 -38
  933. package/dist/solutions-components/assets/t9n/instant-apps-social-share/resources_ja.json +0 -38
  934. package/dist/solutions-components/assets/t9n/instant-apps-social-share/resources_ko.json +0 -38
  935. package/dist/solutions-components/assets/t9n/instant-apps-social-share/resources_lt.json +0 -38
  936. package/dist/solutions-components/assets/t9n/instant-apps-social-share/resources_lv.json +0 -38
  937. package/dist/solutions-components/assets/t9n/instant-apps-social-share/resources_nb.json +0 -38
  938. package/dist/solutions-components/assets/t9n/instant-apps-social-share/resources_nl.json +0 -38
  939. package/dist/solutions-components/assets/t9n/instant-apps-social-share/resources_pl.json +0 -38
  940. package/dist/solutions-components/assets/t9n/instant-apps-social-share/resources_pt-BR.json +0 -38
  941. package/dist/solutions-components/assets/t9n/instant-apps-social-share/resources_pt-PT.json +0 -38
  942. package/dist/solutions-components/assets/t9n/instant-apps-social-share/resources_ro.json +0 -38
  943. package/dist/solutions-components/assets/t9n/instant-apps-social-share/resources_ru.json +0 -38
  944. package/dist/solutions-components/assets/t9n/instant-apps-social-share/resources_sk.json +0 -38
  945. package/dist/solutions-components/assets/t9n/instant-apps-social-share/resources_sl.json +0 -38
  946. package/dist/solutions-components/assets/t9n/instant-apps-social-share/resources_sr.json +0 -38
  947. package/dist/solutions-components/assets/t9n/instant-apps-social-share/resources_sv.json +0 -38
  948. package/dist/solutions-components/assets/t9n/instant-apps-social-share/resources_th.json +0 -38
  949. package/dist/solutions-components/assets/t9n/instant-apps-social-share/resources_tr.json +0 -38
  950. package/dist/solutions-components/assets/t9n/instant-apps-social-share/resources_uk.json +0 -38
  951. package/dist/solutions-components/assets/t9n/instant-apps-social-share/resources_vi.json +0 -38
  952. package/dist/solutions-components/assets/t9n/instant-apps-social-share/resources_zh-CN.json +0 -38
  953. package/dist/solutions-components/assets/t9n/instant-apps-social-share/resources_zh-HK.json +0 -38
  954. package/dist/solutions-components/assets/t9n/instant-apps-social-share/resources_zh-TW.json +0 -38
  955. package/dist/solutions-components/assets/t9n/instant-apps-splash/resources.json +0 -3
  956. package/dist/solutions-components/assets/t9n/instant-apps-splash/resources_en.json +0 -3
  957. package/dist/solutions-components/assets/t9n/json-editor/resources_en.json +0 -8
  958. package/dist/solutions-components/assets/t9n/layer-list/resources_en.json +0 -4
  959. package/dist/solutions-components/assets/t9n/layer-table/resources_en.json +0 -25
  960. package/dist/solutions-components/assets/t9n/map-card/resources_en.json +0 -10
  961. package/dist/solutions-components/assets/t9n/map-draw-tools/resources_en.json +0 -5
  962. package/dist/solutions-components/assets/t9n/map-layer-picker/resources_en.json +0 -5
  963. package/dist/solutions-components/assets/t9n/map-picker/resources_en.json +0 -3
  964. package/dist/solutions-components/assets/t9n/map-search/resources_en.json +0 -3
  965. package/dist/solutions-components/assets/t9n/map-select-tools/resources_en.json +0 -16
  966. package/dist/solutions-components/assets/t9n/map-tools/resources_en.json +0 -10
  967. package/dist/solutions-components/assets/t9n/media-card/resources.json +0 -3
  968. package/dist/solutions-components/assets/t9n/media-card/resources_ar.json +0 -3
  969. package/dist/solutions-components/assets/t9n/media-card/resources_bg.json +0 -3
  970. package/dist/solutions-components/assets/t9n/media-card/resources_bs.json +0 -3
  971. package/dist/solutions-components/assets/t9n/media-card/resources_ca.json +0 -3
  972. package/dist/solutions-components/assets/t9n/media-card/resources_cs.json +0 -3
  973. package/dist/solutions-components/assets/t9n/media-card/resources_da.json +0 -3
  974. package/dist/solutions-components/assets/t9n/media-card/resources_de.json +0 -3
  975. package/dist/solutions-components/assets/t9n/media-card/resources_el.json +0 -3
  976. package/dist/solutions-components/assets/t9n/media-card/resources_en.json +0 -3
  977. package/dist/solutions-components/assets/t9n/media-card/resources_es.json +0 -3
  978. package/dist/solutions-components/assets/t9n/media-card/resources_et.json +0 -3
  979. package/dist/solutions-components/assets/t9n/media-card/resources_fi.json +0 -3
  980. package/dist/solutions-components/assets/t9n/media-card/resources_fr.json +0 -3
  981. package/dist/solutions-components/assets/t9n/media-card/resources_he.json +0 -3
  982. package/dist/solutions-components/assets/t9n/media-card/resources_hr.json +0 -3
  983. package/dist/solutions-components/assets/t9n/media-card/resources_hu.json +0 -3
  984. package/dist/solutions-components/assets/t9n/media-card/resources_id.json +0 -3
  985. package/dist/solutions-components/assets/t9n/media-card/resources_it.json +0 -3
  986. package/dist/solutions-components/assets/t9n/media-card/resources_ja.json +0 -3
  987. package/dist/solutions-components/assets/t9n/media-card/resources_ko.json +0 -3
  988. package/dist/solutions-components/assets/t9n/media-card/resources_lt.json +0 -3
  989. package/dist/solutions-components/assets/t9n/media-card/resources_lv.json +0 -3
  990. package/dist/solutions-components/assets/t9n/media-card/resources_nb.json +0 -3
  991. package/dist/solutions-components/assets/t9n/media-card/resources_nl.json +0 -3
  992. package/dist/solutions-components/assets/t9n/media-card/resources_pl.json +0 -3
  993. package/dist/solutions-components/assets/t9n/media-card/resources_pt-BR.json +0 -3
  994. package/dist/solutions-components/assets/t9n/media-card/resources_pt-PT.json +0 -3
  995. package/dist/solutions-components/assets/t9n/media-card/resources_ro.json +0 -3
  996. package/dist/solutions-components/assets/t9n/media-card/resources_ru.json +0 -3
  997. package/dist/solutions-components/assets/t9n/media-card/resources_sk.json +0 -3
  998. package/dist/solutions-components/assets/t9n/media-card/resources_sl.json +0 -3
  999. package/dist/solutions-components/assets/t9n/media-card/resources_sr.json +0 -3
  1000. package/dist/solutions-components/assets/t9n/media-card/resources_sv.json +0 -3
  1001. package/dist/solutions-components/assets/t9n/media-card/resources_th.json +0 -3
  1002. package/dist/solutions-components/assets/t9n/media-card/resources_tr.json +0 -3
  1003. package/dist/solutions-components/assets/t9n/media-card/resources_uk.json +0 -3
  1004. package/dist/solutions-components/assets/t9n/media-card/resources_vi.json +0 -3
  1005. package/dist/solutions-components/assets/t9n/media-card/resources_zh-CN.json +0 -3
  1006. package/dist/solutions-components/assets/t9n/media-card/resources_zh-HK.json +0 -3
  1007. package/dist/solutions-components/assets/t9n/media-card/resources_zh-TW.json +0 -3
  1008. package/dist/solutions-components/assets/t9n/pdf-download/resources_en.json +0 -3
  1009. package/dist/solutions-components/assets/t9n/public-notification/resources_en.json +0 -44
  1010. package/dist/solutions-components/assets/t9n/refine-selection/resources_en.json +0 -9
  1011. package/dist/solutions-components/assets/t9n/share-item/resources.json +0 -3
  1012. package/dist/solutions-components/assets/t9n/share-item/resources_en.json +0 -3
  1013. package/dist/solutions-components/assets/t9n/solution-configuration/resources_en.json +0 -15
  1014. package/dist/solutions-components/assets/t9n/solution-item/resources_en.json +0 -8
  1015. package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_en.json +0 -3
  1016. package/dist/solutions-components/assets/t9n/solution-item-details/resources_en.json +0 -8
  1017. package/dist/solutions-components/assets/t9n/solution-item-sharing/resources_en.json +0 -3
  1018. package/dist/solutions-components/assets/t9n/solution-organization-variables/resources_en.json +0 -3
  1019. package/dist/solutions-components/assets/t9n/solution-resource-item/resources_en.json +0 -8
  1020. package/dist/solutions-components/assets/t9n/solution-spatial-ref/resources_en.json +0 -5
  1021. package/dist/solutions-components/assets/t9n/solution-template-data/resources_en.json +0 -5
  1022. package/dist/solutions-components/assets/t9n/solution-variables/resources_en.json +0 -3
  1023. package/dist/solutions-components/assets/t9n/spatial-ref/resources_en.json +0 -3
  1024. package/dist/solutions-components/assets/t9n/store-manager/resources_en.json +0 -3
  1025. package/dist/solutions-components/p-61fe842c.entry.js +0 -6
  1026. package/dist/solutions-components/p-824775f3.entry.js +0 -6
@@ -272,7 +272,15 @@ const CreateFeature = class {
272
272
  */
273
273
  disconnectedCallback() {
274
274
  if (this._editor) {
275
+ // destroy the sketchViewmodel when create feature disconnect
276
+ if (this._editor.viewModel.sketchViewModel) {
277
+ this._editor.viewModel.sketchViewModel?.destroy();
278
+ }
275
279
  this._editor.destroy();
280
+ // clear the grid from map if enabled from snapping tools
281
+ if (this.enableSnapping) {
282
+ this.mapView.ui.view.grid = null;
283
+ }
276
284
  }
277
285
  }
278
286
  /**
@@ -292,8 +300,8 @@ const CreateFeature = class {
292
300
  else if (this._currentPage === 'featureForm') {
293
301
  guidingMsg = this._translations.provideDetailsMsg;
294
302
  }
295
- return (h(Fragment, { key: 'b480d2d78dbf168d351afb4212dcc6d49cb39c72' }, showGuidingMsg && h("calcite-notice", { key: 'e8cc752d19038993393d2d86cb934ae677cfc96f', class: "notice-msg", icon: "lightbulb", kind: "success", open: true, ref: el => this._calciteNotice = el }, h("div", { key: '85b53eb990d6566e66d2eecfae6e90ec1b368e0c', slot: "message" }, guidingMsg)), h("calcite-loader", { key: 'ee1ece408069e5112165860dd01f4dca526c0b4f', class: loaderClass, label: "", scale: "s" }), h("div", { key: '8a978d99246bd98a91e6fc6695f4159342bbf55a', class: featureFormClass, id: "feature-form" }), this.enableSearch &&
296
- h("div", { key: '8678f6645b86202155a64dd7cfcb05f2c805e5f8', class: `search-widget ${showSearchWidget} ${featureFormClass}`, id: "search-widget-ref", ref: el => this._searchDiv = el }), h("div", { key: '738f720b5773abeda51eb4abf004e14e0c73c934', class: `${mobileMapClass}`, ref: (el) => { this._mapViewContainer = el; } })));
303
+ return (h(Fragment, { key: '2c9644bd52600f493965881cd0be4975bc12112e' }, showGuidingMsg && h("calcite-notice", { key: '9059dcfd2ec9dd24b6e9005b8a3d164cd585b994', class: "notice-msg", icon: "lightbulb", kind: "success", open: true, ref: el => this._calciteNotice = el }, h("div", { key: '9ecdee9591e21ca0c19de55240c9c30f90c36098', slot: "message" }, guidingMsg)), h("calcite-loader", { key: '81f0b3cabb02887df18d73e5e4bf372169863a1d', class: loaderClass, label: "", scale: "s" }), h("div", { key: 'c820fbb57d7b85e2d03b827e62603fb47d4a494e', class: featureFormClass, id: "feature-form" }), this.enableSearch &&
304
+ h("div", { key: 'c179237732e1da99329eeb489ad8778f5bb4eba4', class: `search-widget ${showSearchWidget} ${featureFormClass}`, id: "search-widget-ref", ref: el => this._searchDiv = el }), h("div", { key: 'f56d2e9ed6cb2b5abc088db3e2014187760b79fd', class: `${mobileMapClass}`, ref: (el) => { this._mapViewContainer = el; } })));
297
305
  }
298
306
  //--------------------------------------------------------------------------
299
307
  //
@@ -1025,7 +1033,10 @@ const EditCard = class {
1025
1033
  // #896 Editing on sybtype group layer is failing in Manager
1026
1034
  const layer = this._layer.type === "subtype-sublayer" ? this._layer.parent : this._layer;
1027
1035
  this._layerEditHandle = layer.on("edits", () => {
1028
- this.editsComplete.emit();
1036
+ // added timeout to update the editor state
1037
+ setTimeout(() => {
1038
+ this.editsComplete.emit();
1039
+ }, 50);
1029
1040
  });
1030
1041
  }
1031
1042
  }
@@ -1039,7 +1050,7 @@ const EditCard = class {
1039
1050
  !this.graphics[0].layer.editingEnabled : true;
1040
1051
  const tableNodeClass = this._editorLoading ? "display-none" : "position-absolute";
1041
1052
  const loadingClass = this._editorLoading ? "" : "display-none";
1042
- return (h(Host, { key: '8491a0fbeefc9533ed6898cf4734ec98dddd7f62' }, h("div", { key: 'a98e923e1d697559c37ce85fbd57fc1688171cb2', class: "position-absolute" }, editDisabled ? (h("calcite-notice", { kind: "warning", open: true, slot: "content-top", width: "full" }, h("div", { slot: "message" }, this._translations.enableEditing))) : undefined, h("div", { key: 'ac5eed8a614523e1ddaad0eaf3b973faf28fdbf2', class: "position-absolute" }, h("div", { key: '63778d7c29d6fd26e0c8a534dc70da4a0e94075d', class: tableNodeClass, id: "feature-form", ref: (el) => this._editContainer = el }), h("calcite-loader", { key: '641a987e8860222a1a3b6f64e700a16c03463c81', class: loadingClass, label: "", scale: "s" })))));
1053
+ return (h(Host, { key: 'd67dbfb453966623d26a1567df84bc58024305d7' }, h("div", { key: '9cd13eaf0125ab39e1d24398ccfda17c9534317a', class: "position-absolute" }, editDisabled ? (h("calcite-notice", { kind: "warning", open: true, slot: "content-top", width: "full" }, h("div", { slot: "message" }, this._translations.enableEditing))) : undefined, h("div", { key: '6cb4122611d8d8595cd85cd07224baa374066658', class: "position-absolute" }, h("div", { key: 'c4498b1ecd165fa594d9d1cef43f01643b5e3efb', class: tableNodeClass, id: "feature-form", ref: (el) => this._editContainer = el }), h("calcite-loader", { key: 'febb4d5c9a662ec9ffa6955114c8476c498116ee', class: loadingClass, label: "", scale: "s" })))));
1043
1054
  }
1044
1055
  //--------------------------------------------------------------------------
1045
1056
  //
@@ -1069,6 +1080,7 @@ const EditCard = class {
1069
1080
  }
1070
1081
  const container = document.createElement("div");
1071
1082
  const layers = await getAllLayers(this.mapView);
1083
+ const showSnappingTools = this.enableSnapping && this.enableEditGeometry;
1072
1084
  const layerInfos = layers.map(layer => {
1073
1085
  return {
1074
1086
  layer,
@@ -1080,9 +1092,9 @@ const EditCard = class {
1080
1092
  layerInfos,
1081
1093
  visibleElements: {
1082
1094
  flow: true,
1083
- settingsMenu: this.enableSnapping,
1095
+ settingsMenu: showSnappingTools,
1084
1096
  sketch: false,
1085
- snappingControls: this.enableSnapping,
1097
+ snappingControls: showSnappingTools,
1086
1098
  },
1087
1099
  container
1088
1100
  });
@@ -1130,6 +1142,10 @@ const EditCard = class {
1130
1142
  this.refreshGraphics.emit(this.graphics);
1131
1143
  }
1132
1144
  }
1145
+ // While closing edit card clear the grid from map if enabled from snapping tools
1146
+ if (this.enableSnapping) {
1147
+ this.mapView.ui.view.grid = null;
1148
+ }
1133
1149
  this._shouldClose = false;
1134
1150
  this.closeEdit.emit();
1135
1151
  }
@@ -572,10 +572,10 @@ const CrowdsourceManager = class {
572
572
  */
573
573
  _filterModal() {
574
574
  const showFilterModal = this._layerExpressions?.length > 0;
575
- return (h("calcite-dialog", { class: "filter-content-space", heading: this._translations?.filter?.replace("{{title}}", this._layer?.title), id: "solutions-filter-dialog", kind: "brand", modal: true, onCalciteDialogClose: () => void this._closeFilter(), open: this._filterOpen, widthScale: "s" }, this._mapExtentFilter(), showFilterModal && h("instant-apps-filter-list", { autoUpdateUrl: false, closeBtn: true, closeBtnOnClick: async () => this._closeFilter(), comboboxOverlayPositioning: "fixed", layerExpressions: this._layerExpressions, onFilterListReset: this._handleFilterListReset.bind(this), onFilterUpdate: async () => {
575
+ return (h("calcite-dialog", { class: "filter-content-space", heading: this._translations?.filter?.replace("{{title}}", this._layer?.title), id: "solutions-filter-dialog", kind: "brand", modal: true, onCalciteDialogClose: () => void this._closeFilter(), open: this._filterOpen, width: "s" }, this._mapExtentFilter(), showFilterModal && h("instant-apps-filter-list", { autoUpdateUrl: false, closeBtn: true, closeBtnOnClick: () => void this._closeFilter(), comboboxOverlayPositioning: "fixed", layerExpressions: this._layerExpressions, onFilterListReset: this._handleFilterListReset.bind(this), onFilterUpdate: () => {
576
576
  const active = this._filterList.filterCount > 0 || this._mapExtentFilterChecked;
577
- await this._layerTable?.filterUpdate(active);
578
- await this._mapCard.updateFilterState(active);
577
+ void this._layerTable?.filterUpdate(active);
578
+ void this._mapCard.updateFilterState(active);
579
579
  }, ref: (el) => this._filterList = el, view: this._mapView, zoomBtn: false })));
580
580
  }
581
581
  /**
@@ -8,7 +8,7 @@ import { g as getLocaleComponentStrings } from './locale-7874c756.js';
8
8
  import './esri-loader-c6842c6b.js';
9
9
  import './_commonjsHelpers-089957fe.js';
10
10
 
11
- const solutionItemAccordionCss = ":host{display:block}.padding-start-1{padding-inline-start:1rem}.border-override{--calcite-accordion-border-color:var(--calcite-color-border-1) !important}.display-flex{display:flex}.align-center{align-items:center}";
11
+ const solutionItemAccordionCss = ":host{display:block}.padding-start-1{padding-inline-start:1rem}.border-override{--calcite-accordion-border-color:var(--calcite-color-border-1) !important}.display-flex{display:flex}.align-center{align-items:center}.solution-list-item-label{color:var(--calcite-color-text-1);font-size:var(--calcite-font-size--1)}.solution-list-item-label,.solution-list-item-description{font-family:var(--calcite-font-family);font-weight:var(--calcite-font-weight-normal);overflow-wrap:break-word;word-break:break-word}.solution-list-item-description{font-size:var(--calcite-font-size--2);margin-block-start:0.125rem;color:var(--calcite-color-text-3)}.solution-list-item-content{display:flex;flex:1 1 auto;flex-direction:column;justify-content:center;line-height:1.375}";
12
12
  const SolutionItemAccordionStyle0 = solutionItemAccordionCss;
13
13
 
14
14
  const SolutionItemAccordion = class {
@@ -228,10 +228,10 @@ const SolutionItemAccordion = class {
228
228
  * @protected
229
229
  */
230
230
  _getListItem(templateInfo) {
231
- return (h("calcite-list-item", { description: templateInfo.snippet, id: templateInfo.id, label: templateInfo.title, onCalciteListItemSelect: () => {
231
+ return (h("calcite-list-item", { id: templateInfo.id, onCalciteListItemSelect: () => {
232
232
  this._deselectOthers(templateInfo.id);
233
233
  this.solutionItemSelect.emit({ itemId: templateInfo.id, selected: true });
234
- }, onMouseEnter: () => this.solutionItemHover.emit({ itemId: templateInfo.id, entering: true }), onMouseLeave: () => this.solutionItemHover.emit({ itemId: templateInfo.id, entering: false }), value: templateInfo.id }, templateInfo.url
234
+ }, onMouseEnter: () => this.solutionItemHover.emit({ itemId: templateInfo.id, entering: true }), onMouseLeave: () => this.solutionItemHover.emit({ itemId: templateInfo.id, entering: false }), value: templateInfo.id }, h("div", { class: "solution-list-item-content", slot: "content" }, h("div", { class: "solution-list-item-label" }, templateInfo.title), h("div", { class: "solution-list-item-description" }, templateInfo.snippet)), templateInfo.url
235
235
  ? h("div", { slot: "actions-end" }, h("calcite-action", { icon: "launch", id: templateInfo.id + "-launch", onClick: () => window.open(templateInfo.url, "_blank"), text: "" }), h("calcite-tooltip", { "overlay-positioning": "fixed", "reference-element": templateInfo.id + "-launch" }, h("span", null, this._translations?.openDetails)))
236
236
  : null));
237
237
  }
@@ -179,24 +179,15 @@
179
179
  <li>
180
180
  <calcite-link href="./info-card.html" target="_blank">&lt;info-card&gt;</calcite-link>
181
181
  </li>
182
- <li>
183
- <calcite-link href="./media-card.html" target="_blank">&lt;media-card&gt;</calcite-link>
184
- </li>
185
182
  <li>
186
183
  <calcite-link href="./map-card.html" target="_blank">&lt;map-card&gt;</calcite-link>
187
184
  </li>
188
- <li>
189
- <calcite-link href="./comment-card.html" target="_blank">&lt;comment-card&gt;</calcite-link>
190
- </li>
191
185
  <li>
192
186
  <calcite-link href="./card-manager.html" target="_blank">&lt;card-manager&gt;</calcite-link>
193
187
  </li>
194
188
  <li>
195
189
  <calcite-link href="./layer-table.html" target="_blank">&lt;layer-table&gt;</calcite-link>
196
190
  </li>
197
- <li>
198
- <calcite-link href="./add-record-modal.html" target="_blank">&lt;add-record-modal&gt;</calcite-link>
199
- </li>
200
191
  <li>
201
192
  <calcite-link href="./edit-card.html" target="_blank">&lt;edit-card&gt;</calcite-link>
202
193
  </li>
@@ -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 a}from"./p-e996c38f.js";import{g as h,l as o}from"./p-404cbf48.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-4084e2d1.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";import"./p-80cb7c73.js";import"./p-4fe489cf.js";import"./p-2bc98cb0.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":"",h=this.layer?.isTable,o=h?this._translations.createRecord:this._translations.createFeature,l=this.customInfoText?this.customInfoText:this.selectingFeatureFromMap?this._translations.selectFeaturesFromMapToStart:this._translations.selectFeaturesToStart,n=this.enableCreateFeatures&&this.layer?.capabilities?.operations?.supportsAdd;return e(a,{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:"0c3b6f958384dab4bc1db2917a88215bafe330b1",enableEditGeometry:this.enableEditGeometry,enableSnapping:this.enableSnapping,graphics:this._graphics,isLoading:this._cardLoading,isMobile:this.isMobile,locale:this.locale,mapView:this.mapView,showCloseBtn:!0}))),e("calcite-shell",{key:"db9233d29cc88ddc6cb023bcf9e9190ecb721214",class:"position-relative "+s},e("calcite-panel",{key:"0d1c22a3ad3d2d2a56054b2e8609697987b45ca7"},e("div",{key:"cc5f7faa934f474ddca2d0ab74fd46dac240cc6f",class:"padding-1"},e("calcite-notice",{key:"2c2771696892455fcb1ec24d895cd321a84a8f49",icon:this.selectingFeatureFromMap?"map":"table",iconFlipRtl:!0,open:!0},e("div",{key:"0bbbd13e4e9a7b2240a85b41dbd00fc2a7e39c75",slot:"message"},l))),!this.isMobile&&n&&e("calcite-button",{key:"67bac627f68fc6bcda2b1a8965ab6d7fb12d2e4c",disabled:!this.layer,onClick:()=>this._createFeatureBtnClicked(),slot:"footer",width:"full"},h?this._translations.createRecord:this._translations.createFeature))),e("calcite-shell",{key:"cd44af48bb05fd6ac41c0d66bdd9e01826ece1a4",class:"position-relative "+i},e("calcite-flow-item",{key:"648dfdc4fb559ecbf64ee43791e3d9799c346f1a",selected:!0},e("calcite-panel",{key:"855df56ed576e52c94dbe3cfa8f6d57427a37ba2",heading:o},e("calcite-action",{key:"156d1b20da3f02de66879531802aa2d2fb99b1ca",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:"9b4556876d579a4f2bd02849737cd55b55f87cbd",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,showGuidingMsgWhileDrawing:!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 h(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;_filterByExtentHandle;_tempSelectedIds;_outOFExtentOids=[];_shouldUpdateTableOnExtentChange=!0;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._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.zoomAndScrollToSelected){const t=this._table.viewModel.getObjectIdIndex(s);this._table.scrollToIndex(t);const e=i.layer;let a;this.mapView.allLayerViews.toArray().some((t=>{if(t.layer.title===e.title&&"feature"===t.layer.type)return a=t,!0})),a&&await c([s],a,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",h=this._size.toString(),o=this.selectedIds.length.toString(),l=this.isMobile?"height-full":"height-full-adjusted",n=this._canShowFullTextSearch();return this._validateActiveActions(),e(a,{key:"6e02ad7e5552269917b8bc7ec31f19800362c137"},e("div",{key:"468b7ebb80ccbace252097ee930745b706b51f2a"},e("calcite-scrim",{key:"2686a4542df5eeb89efeb9c88ae056c4d2c6dd89",class:s,loading:this._queryingData}),e("calcite-shell",{key:"1a694b1d624097166b4b2448ee9f0dab0b3d7d16"},this._getTableControlRow("header"),e("div",{key:"9d69215cfd0afde5f309e70f60937d6750446293",class:`width-full ${l}`},e("calcite-panel",{key:"af48bada48c5b9f0f4c395f71aabcc8341c4e421",class:"height-full width-full"},n&&e("div",{key:"a210f0210963a7aa456806a2fc54539177e09fcd",class:"search-container border-bottom"},e("calcite-input",{key:"b3e76adefa7df5ce82d6308d0c7641021fb7bb97",class:"search",clearable:!0,icon:"search",onCalciteInputChange:t=>{this._searchTextChanged(t)},placeholder:this._searchPlaceHolder,title:this._searchPlaceHolder,type:"search"})),e("calcite-loader",{key:"cc4ae482f3aa58e4051629efadcfed915205c226",class:i,label:this._translations.fetchingData,scale:"l"}),e("div",{key:"2c1efc1995f164c4bbbdc2e0554a467b49952b9f",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}}",h).replace("{{selected}}",o))),this.createFilterModal&&this._filterModal()))}_deleteDialog;async componentDidLoad(){this.isMobile||this._observerSet||(this._resizeObserver.observe(this._toolbar),this._observerSet=!0)}componentDidRender(){document.onclick=t=>this._handleDocumentClick(t),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._featuresEmpty();this._translations&&(this._toolInfos=[this.mapHidden?void 0:{active:!1,icon:"zoom-to-object",indicator:!1,label:this._translations.zoom,func:()=>this._zoom(),disabled:!t,isOverflow:!1},{active:!1,icon:"filter",indicator:!1,label:this._translations.filters,func:()=>this.createFilterModal?this._toggleFilter():this.toggleFilter.emit(),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,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:s,isOverflow:!1},{active:!1,icon:"compare",indicator:!1,func:async()=>await this._switchSelected(),label:this._translations.switchSelected,disabled:s,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:s,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,a)=>(s.indexOf(a.id)<0&&(i>t?i-=a.width:e.push(a)),e)),[]).reverse();this._setControlsThatFit(e,s)}}else if(this._defaultVisibleToolSizeInfos){const e=this._toolbarSizeInfos.reduce(((t,i)=>(t.push(i.id),t)),[]);let a=!1;const h=[...this._defaultVisibleToolSizeInfos].reduce(((h,o)=>(!a&&s.indexOf(o.id)<0&&(e.indexOf(o.id)>-1||i+o.width<=t)?(e.indexOf(o.id)<0&&(i+=o.width),h.push(o)):s.indexOf(o.id)<0&&i+o.width>t&&(a=!0),h)),[]);this._setControlsThatFit(h,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,a,h,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:a,loading:l,onClick:h,text:a,textEnabled:!0}),this._getToolTip("bottom",i,a))}_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,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,a){const h=void 0===this._layer||a;return e("div",{class:"display-flex",id:this._getId(t)},e("calcite-action",{appearance:"solid",disabled:h,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:!0,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);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}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)}_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.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._table.highlightIds.addMany(e),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._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(null,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(){if(this._layer){const t=await d(this.mapView,this._layer.id);await c(this.selectedIds,t,this.mapView,!0,void 0,this.zoomToScale)}}async _layerSelectionChanged(t){const i=t.detail[0];if(i!==this._layer?.id||this._featuresEmpty()){this._fetchingData=!0;const t=await l(this.mapView,i);t&&await t.when((()=>{this._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 a=[];e?.length>0&&this.honorMapFieldSettings&&(a=e.map((t=>t.fieldName)));const h=s?.fields&&s?.fieldOrder?s.fieldOrder.filter((t=>s.fields.indexOf(t)>-1)):a.length>0?a:void 0;let o;return i&&(o=i.reduce(((t,i)=>{const e={icon:"information",iconText:i.description,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):a.length>0?a.indexOf(i.name)>-1&&t.push(e):t.push(e),t}),[])),h?o?.sort(this._sortFields.bind(this,h)):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 h(this.el);this._translations=t[0]}static get watchers(){return{appLayout:["appLayoutWatchHandler"],defaultOid:["defaultOidWatchHandler"],defaultGlobalId:["defaultGlobalIdWatchHandler"],enableCSV:["enableCSVWatchHandler"],enableInlineEdit:["enableInlineEditWatchHandler"],enableShare:["enableShareWatchHandler"],_controlsThatFit:["_controlsThatFitWatchHandler"],locale:["localeWatchHandler"],mapHidden:["mapHiddenWatchHandler"],isMobile:["isMobileWatchHandler"],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}html[dir="rtl"] .share-action{left:0}.disabled{cursor:default !important;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled);pointer-events:none}.instant-app-share{height:50px !important;display:inline-flex}.border-top{border-top:1px solid var(--calcite-color-border-2)}.modal{--calcite-modal-content-padding:0}.esri-feature-table__table-container{height:100%}.search-container{background-color:var(--calcite-color-foreground-1) !important}.search{--calcite-color-border-input:var(--calcite-color-border-3);width:60%;padding:10px}.delete-red{--calcite-icon-color:var(--calcite-color-status-danger);--calcite-color-text-1:var(--calcite-color-status-danger);--calcite-color-text-3:var(--calcite-color-status-danger)}';const 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",h=this.mapInfos?.length>1||this.isMapLayout?"map-height":"height-full",o=this.isMapLayout?"":"display-none";return this._validateActiveActions(),e(a,{key:"5861d407b8529c6834d5d05450693d1fff2b71ee"},e("div",{key:"01e028e8a00fc66d5eaa8eb7f85b58d579c3e7ff",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:"6a0b7a2a734f3631b8c8a712acaf60a9e95c6c16",class:o,value:0}),e("div",{key:"74cebf9c194bfc5b72be3b397821f586a5923fa4",class:`${h} ${i}`,ref:t=>this._mapDiv=t}),e("map-tools",{key:"6c87207eecaacf61c594f1036af38c0548ea1767",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 a=this._webMapInfo.id,h=i&&t?.id===this.defaultWebmapId;if(this._loadedId!==a&&!i||h){const t=new this.WebMap({portalItem:{id:a}});this.appProxies&&(await t.load(),await(o=t,l=this.esriConfig,n=this.appProxies,n&&n.forEach((t=>{o.allLayers.forEach((i=>{i&&i.url===t.sourceUrl&&(i.url=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=a,this._searchConfiguration=this._webMapInfo.searchConfiguration,this.beforeMapChanged.emit(),await this.mapView.when((()=>{this._initHome(),this.mapView.ui.add(this._mapTools,{position:this.mapWidgetsPosition,index:this.mapWidgetsIndex}),this._defaultWebmapHonored=!!h||this._defaultWebmapHonored,this.mapChanged.emit({id:a,mapView:this.mapView})}))}else i?(this._defaultWebmapHonored=!0,this._mapPicker.setMapByID(a)):e&&(this._searchConfiguration=this._webMapInfo.searchConfiguration,this.beforeMapChanged.emit(),this.mapChanged.emit({id:a,mapView:this.mapView}));var o,l,n;this._updateShareUrl()}_updateToolbar(){this._timeout&&clearTimeout(this._timeout),!this.isMobile&&this._toolbar&&this._toolInfos&&(this._timeout=setTimeout((()=>{clearTimeout(this._timeout),this._setToolbarSizeInfos();const t=this._toolbar.offsetWidth;let i=this._toolbarSizeInfos.reduce(((t,i)=>t+i.width),0);const 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,a)=>(s.indexOf(a.id)<0&&(i>t?i-=a.width:e.push(a)),e)),[]).reverse();this._setControlsThatFit(e,s)}}else if(this._defaultVisibleToolSizeInfos){const e=this._toolbarSizeInfos.reduce(((t,i)=>(t.push(i.id),t)),[]);let a=!1;const h=[...this._defaultVisibleToolSizeInfos].reduce(((h,o)=>(!a&&s.indexOf(o.id)<0&&(e.indexOf(o.id)>-1||i+o.width<=t)?(e.indexOf(o.id)<0&&(i+=o.width),h.push(o)):s.indexOf(o.id)<0&&i+o.width>t&&(a=!0),h)),[]);this._setControlsThatFit(h,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":"",a=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 ${a}`,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,popoverButtonIconScale:"s",ref:t=>{this._shareNode=t,this._updateShareUrl()},scale:"m",shareButtonColor:"neutral",shareButtonType:"action",socialMedia:this.shareIncludeSocial,view:this.mapView}),this._getToolTip("bottom",t,this._translations.share))}_updateShareUrl(){const t=this._shareNode?.shareUrl;if(!t)return;const i=new URL(t);this._loadedId?i.searchParams.set("webmap",this._loadedId):i.searchParams.delete("webmap"),this.selectedLayer?.id?i.searchParams.set("layer",this.selectedLayer.id):i.searchParams.delete("layer"),this.selectedFeaturesIds?.length>0?i.searchParams.set("oid",this.selectedFeaturesIds.join(",")):i.searchParams.delete("oid"),i.searchParams.set("applayout",this.appLayout),this._shareNode.shareUrl=i.href}_closeShowHide(){this._showHideOpen=!1}_getDropdownItems(){return this._toolInfos?.filter((t=>t&&t.isOverflow))}_initToolInfos(){const t=this.selectedFeaturesIds?.length>0,i=this._hasFilterExpressions(),s=this.selectedFeaturesIds?.length>1&&!1;this._translations&&(this._toolInfos=[{active:!1,icon:"zoom-to-object",indicator:!1,label:this._translations.zoom,func:()=>this._zoom(),disabled:!t,isOverflow:!1},i?{active:!1,icon:"filter",indicator:!1,label:this._translations.filters,func:()=>this._toggleFilter(),disabled:!1,isOverflow:!1}:void 0,s?{active:!1,icon:"pencil",indicator:!1,label:this._translations.editMultiple,func:()=>alert(this._translations.editMultiple),disabled:!s,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,a,h,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:a,loading:l,onClick:h,text:a,textEnabled:!0}),this._getToolTip("bottom",i,a))}_getId(t){return`solutions-action-${t}`}async _getTranslations(){const t=await h(this.el);this._translations=t[0]}static get watchers(){return{appLayout:["appLayoutWatchHandler"],enableHome:["enableHomeWatchHandler"],enableShare:["enableShareWatchHandler"],locale:["localeWatchHandler"],mapView:["mapViewWatchHandler"],selectedLayer:["selectedLayerWatchHandler"],selectedFeaturesIds:["selectedFeaturesIdsWatchHandler"],_controlsThatFit:["_controlsThatFitWatchHandler"]}}};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-e996c38f.js";import{g as a}from"./p-404cbf48.js";import{E as l}from"./p-80cb7c73.js";import{g as n}from"./p-5693ce7a.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";const d=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:"cb38f5440e7f36f0285b41a7193e58be94e6cbb7"},s("calcite-shell",{key:"dd7b80c00af2b2e28dd5cf7662cfc80d5a46f277",class:"position-relative"},s("calcite-panel",{key:"5b38f18d4db6132822b622892b9eff5bffbdea2b",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",d=this._getTableSizeClass(t,i),r=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:`${d} border-bottom`},this._isMobile?void 0:s("calcite-action-bar",{class:"border-sides",expandDisabled:!0,layout:r,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,widthScale:"s"},this._mapExtentFilter(),t&&s("instant-apps-filter-list",{autoUpdateUrl:!1,closeBtn:!0,closeBtnOnClick:async()=>this._closeFilter(),comboboxOverlayPositioning:"fixed",layerExpressions:this._layerExpressions,onFilterListReset:this._handleFilterListReset.bind(this),onFilterUpdate:async()=>{const t=this._filterList.filterCount>0||this._mapExtentFilterChecked;await(this._layerTable?.filterUpdate(t)),await this._mapCard.updateFilterState(t)},ref:t=>this._filterList=t,view:this._mapView,zoomBtn:!1}))}_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"]}}};d.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{d 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-e996c38f.js";import{g as l}from"./p-404cbf48.js";import{E as a}from"./p-80cb7c73.js";import{g as n}from"./p-5693ce7a.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";const d=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=a.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:"cb38f5440e7f36f0285b41a7193e58be94e6cbb7"},s("calcite-shell",{key:"dd7b80c00af2b2e28dd5cf7662cfc80d5a46f277",class:"position-relative"},s("calcite-panel",{key:"5b38f18d4db6132822b622892b9eff5bffbdea2b",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 a.HORIZONTAL:e=i?"chevrons-up":"chevrons-down";break;case a.VERTICAL:case a.GRID:e=i?"chevrons-left":"chevrons-right"}return e}_getMapSizeClass(t,i,e){let s="";switch(t){case a.HORIZONTAL:s=(i&&!e?"height-1-2 display-grid":i&&e?"height-full":"height-0")+" width-full position-relative";break;case a.GRID:s="height-full position-relative "+(i?"width-1-3":"width-0");break;case a.VERTICAL:s="height-full position-relative "+(i?"width-1-2":"width-0")}return s}_getTableSizeClass(t,i){let e="";switch(t){case a.HORIZONTAL:e=(i?"height-1-2":"height-full")+" width-full display-flex flex-column";break;case a.GRID:e=(i?"width-2-3":"width-full")+" height-full display-flex";break;case a.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===a.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!==a.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,l=e&&this._isPortraitMobile?"visibility-hidden":o?"display-none":"",n=o?"height-full width-full z-index-0":"display-none",d=this._getTableSizeClass(t,i),r=t===a.HORIZONTAL?"horizontal":"vertical",c=t===a.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:`${d} border-bottom`},this._isMobile?void 0:s("calcite-action-bar",{class:"border-sides",expandDisabled:!0,layout:r,slot:c},this.getActions(t,i)),s("div",{class:`width-full height-full position-relative z-index-0 ${l}`},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,l="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:l,onClick:()=>this._toggleLayout(),slot:"actions-end",text:""}),s("calcite-tooltip",{placement:"bottom","reference-element":l},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:()=>{const t=this._filterList.filterCount>0||this._mapExtentFilterChecked;this._layerTable?.filterUpdate(t),this._mapCard.updateFilterState(t)},ref:t=>this._filterList=t,view:this._mapView,zoomBtn:!1}))}_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?a.HORIZONTAL:a.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 l(this.el);this._translations=t[0]}static get watchers(){return{appLayout:["appLayoutWatchHandler"],enableZoom:["enableZoomWatchHandler"],locale:["localeWatchHandler"]}}};d.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{d as crowdsource_manager}
@@ -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 e,c as t,g as i,h as s,H as o}from"./p-e996c38f.js";import{g as a}from"./p-404cbf48.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";const n=class{constructor(i){e(this,i),this.solutionItemHover=t(this,"solutionItemHover",7),this.solutionItemSelect=t(this,"solutionItemSelect",7),this.solutionTypeHover=t(this,"solutionTypeHover",7),this.locale=void 0,this.listSelectionMode="none",this.templateInfos=[],this._sortedTemplateInfos=[],this._translations=void 0}get el(){return i(this)}_sortOrder=["Hub Site Application","Hub Page","Web Experience","Instant App","Web Mapping Application","Dashboard","StoryMap","Form","QuickCapture Project","Workflow","Big Data Analytic (hosted)","Real Time Analytic (hosted)","Feed (hosted)","Tool","Notebook","Data Pipeline","Project Package","Desktop Application Template","TypeNotFound","Web Map","Web Scene","Feature Layer (hosted, view)","Feature Layer (hosted)","Table (hosted, view)","Table (hosted)","Tile Layer","CSV","Microsoft Excel","Microsoft Word","Report Template","Rule Package","Group"];async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}async templateInfosWatchHandler(){this._sortedTemplateInfos=this._sortTemplates()}async deselectAll(){"single"!==this.listSelectionMode&&"single-persist"!==this.listSelectionMode||this.el.shadowRoot.querySelectorAll("calcite-list-item").forEach((e=>{e.selected&&(e.selected=!1,e.parentElement.parentElement.expanded=!1)}))}async selectItem(e){"single"!==this.listSelectionMode&&"single-persist"!==this.listSelectionMode||this.el.shadowRoot.querySelectorAll("calcite-list-item").forEach((t=>{t.id===e&&(t.selected=!0,t.parentElement.parentElement.expanded=!0)}))}solutionItemHover;solutionItemSelect;solutionTypeHover;async componentWillLoad(){this._sortedTemplateInfos=this._sortTemplates(),await this._getTranslations()}render(){return s(o,{key:"1bb2a9dc8cff9e936c85316612546ba252e66b6e"},this._getAccordion())}_deselectOthers(e){"single"!==this.listSelectionMode&&"single-persist"!==this.listSelectionMode||this.el.shadowRoot.querySelectorAll("calcite-list-item").forEach((t=>{t.id!==e&&(t.selected=!1)}))}_getAccordion(){const e=[],t=this._sortedTemplateInfos.reduce(((t,i)=>{const s=this._getTypeForDisplay(i.type,i.typeKeywords);return e.indexOf(s)<0&&(e.push(s),t.push(this._getAccordionItem(i))),t}),[]);return s("calcite-accordion",{class:"border-override",selectionMode:"single"},t)}_getAccordionItem(e){const t=this._getTypeForDisplay(e.type,e.typeKeywords),i=this._sortedTemplateInfos.filter((e=>this._getTypeForDisplay(e.type,e.typeKeywords)===t));return s("calcite-accordion-item",{description:`${t} (${i.length})`,onMouseEnter:()=>this.solutionTypeHover.emit({itemType:t,entering:!0}),onMouseLeave:()=>this.solutionTypeHover.emit({itemType:t,entering:!1})},s("solution-item-icon",{class:"padding-start-1 display-flex align-center",slot:"actions-start",type:e.type,typeKeywords:e.typeKeywords}),this._getList(i))}_getList(e){const t=this._sortTemplatesByTitle(e);return s("calcite-list",{label:"",selectionAppearance:"border",selectionMode:this.listSelectionMode},t.map((e=>this._getListItem(e))))}_getListItem(e){return s("calcite-list-item",{description:e.snippet,id:e.id,label:e.title,onCalciteListItemSelect:()=>{this._deselectOthers(e.id),this.solutionItemSelect.emit({itemId:e.id,selected:!0})},onMouseEnter:()=>this.solutionItemHover.emit({itemId:e.id,entering:!0}),onMouseLeave:()=>this.solutionItemHover.emit({itemId:e.id,entering:!1}),value:e.id},e.url?s("div",{slot:"actions-end"},s("calcite-action",{icon:"launch",id:e.id+"-launch",onClick:()=>window.open(e.url,"_blank"),text:""}),s("calcite-tooltip",{"overlay-positioning":"fixed","reference-element":e.id+"-launch"},s("span",null,this._translations?.openDetails))):null)}_sortTemplatesByTitle(e){return e.sort(((e,t)=>e.title<t.title?-1:e.title>t.title?1:0))}_sortTemplates(){return this.templateInfos.sort(((e,t)=>{const i=this._getTypeForSort(e),s=this._getTypeForSort(t);return this._sortOrder.indexOf(i)-this._sortOrder.indexOf(s)}))}_getTypeForSort(e){let t=this._getTypeForDisplay(e.type,e.typeKeywords);return this._sortOrder.indexOf(t)<0&&(t="TypeNotFound"),t}_getTypeForDisplay(e,t){let i=e;if("Feature Service"===e){const e=t.indexOf("View Service")>-1,s=t.indexOf("Table")>-1;i=e&&s?"Table (hosted, view)":s?"Table (hosted)":e?"Feature Layer (hosted, view)":"Feature Layer (hosted)"}return"Web Mapping Application"===e&&(i=t.indexOf("configurableApp")>-1?"Instant App":i),i="Geoprocessing Service"===e?"Tool":i,i="Feed"===e?"Feed (hosted)":i,i="Real Time Analytic"===e?"Real Time Analytic (hosted)":i,i="Big Data Analytic"===e?"Big Data Analytic (hosted)":i,i="Vector Tile Service"===e?"Tile Layer":i,i}async _getTranslations(){const e=await a(this.el);this._translations=e[0]}static get watchers(){return{locale:["localeWatchHandler"],templateInfos:["templateInfosWatchHandler"]}}};n.style=":host{display:block}.padding-start-1{padding-inline-start:1rem}.border-override{--calcite-accordion-border-color:var(--calcite-color-border-1) !important}.display-flex{display:flex}.align-center{align-items:center}";export{n as solution_item_accordion}
6
+ import{r as e,c as t,g as i,h as s,H as o}from"./p-e996c38f.js";import{g as l}from"./p-404cbf48.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";const a=class{constructor(i){e(this,i),this.solutionItemHover=t(this,"solutionItemHover",7),this.solutionItemSelect=t(this,"solutionItemSelect",7),this.solutionTypeHover=t(this,"solutionTypeHover",7),this.locale=void 0,this.listSelectionMode="none",this.templateInfos=[],this._sortedTemplateInfos=[],this._translations=void 0}get el(){return i(this)}_sortOrder=["Hub Site Application","Hub Page","Web Experience","Instant App","Web Mapping Application","Dashboard","StoryMap","Form","QuickCapture Project","Workflow","Big Data Analytic (hosted)","Real Time Analytic (hosted)","Feed (hosted)","Tool","Notebook","Data Pipeline","Project Package","Desktop Application Template","TypeNotFound","Web Map","Web Scene","Feature Layer (hosted, view)","Feature Layer (hosted)","Table (hosted, view)","Table (hosted)","Tile Layer","CSV","Microsoft Excel","Microsoft Word","Report Template","Rule Package","Group"];async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}async templateInfosWatchHandler(){this._sortedTemplateInfos=this._sortTemplates()}async deselectAll(){"single"!==this.listSelectionMode&&"single-persist"!==this.listSelectionMode||this.el.shadowRoot.querySelectorAll("calcite-list-item").forEach((e=>{e.selected&&(e.selected=!1,e.parentElement.parentElement.expanded=!1)}))}async selectItem(e){"single"!==this.listSelectionMode&&"single-persist"!==this.listSelectionMode||this.el.shadowRoot.querySelectorAll("calcite-list-item").forEach((t=>{t.id===e&&(t.selected=!0,t.parentElement.parentElement.expanded=!0)}))}solutionItemHover;solutionItemSelect;solutionTypeHover;async componentWillLoad(){this._sortedTemplateInfos=this._sortTemplates(),await this._getTranslations()}render(){return s(o,{key:"1bb2a9dc8cff9e936c85316612546ba252e66b6e"},this._getAccordion())}_deselectOthers(e){"single"!==this.listSelectionMode&&"single-persist"!==this.listSelectionMode||this.el.shadowRoot.querySelectorAll("calcite-list-item").forEach((t=>{t.id!==e&&(t.selected=!1)}))}_getAccordion(){const e=[],t=this._sortedTemplateInfos.reduce(((t,i)=>{const s=this._getTypeForDisplay(i.type,i.typeKeywords);return e.indexOf(s)<0&&(e.push(s),t.push(this._getAccordionItem(i))),t}),[]);return s("calcite-accordion",{class:"border-override",selectionMode:"single"},t)}_getAccordionItem(e){const t=this._getTypeForDisplay(e.type,e.typeKeywords),i=this._sortedTemplateInfos.filter((e=>this._getTypeForDisplay(e.type,e.typeKeywords)===t));return s("calcite-accordion-item",{description:`${t} (${i.length})`,onMouseEnter:()=>this.solutionTypeHover.emit({itemType:t,entering:!0}),onMouseLeave:()=>this.solutionTypeHover.emit({itemType:t,entering:!1})},s("solution-item-icon",{class:"padding-start-1 display-flex align-center",slot:"actions-start",type:e.type,typeKeywords:e.typeKeywords}),this._getList(i))}_getList(e){const t=this._sortTemplatesByTitle(e);return s("calcite-list",{label:"",selectionAppearance:"border",selectionMode:this.listSelectionMode},t.map((e=>this._getListItem(e))))}_getListItem(e){return s("calcite-list-item",{id:e.id,onCalciteListItemSelect:()=>{this._deselectOthers(e.id),this.solutionItemSelect.emit({itemId:e.id,selected:!0})},onMouseEnter:()=>this.solutionItemHover.emit({itemId:e.id,entering:!0}),onMouseLeave:()=>this.solutionItemHover.emit({itemId:e.id,entering:!1}),value:e.id},s("div",{class:"solution-list-item-content",slot:"content"},s("div",{class:"solution-list-item-label"},e.title),s("div",{class:"solution-list-item-description"},e.snippet)),e.url?s("div",{slot:"actions-end"},s("calcite-action",{icon:"launch",id:e.id+"-launch",onClick:()=>window.open(e.url,"_blank"),text:""}),s("calcite-tooltip",{"overlay-positioning":"fixed","reference-element":e.id+"-launch"},s("span",null,this._translations?.openDetails))):null)}_sortTemplatesByTitle(e){return e.sort(((e,t)=>e.title<t.title?-1:e.title>t.title?1:0))}_sortTemplates(){return this.templateInfos.sort(((e,t)=>{const i=this._getTypeForSort(e),s=this._getTypeForSort(t);return this._sortOrder.indexOf(i)-this._sortOrder.indexOf(s)}))}_getTypeForSort(e){let t=this._getTypeForDisplay(e.type,e.typeKeywords);return this._sortOrder.indexOf(t)<0&&(t="TypeNotFound"),t}_getTypeForDisplay(e,t){let i=e;if("Feature Service"===e){const e=t.indexOf("View Service")>-1,s=t.indexOf("Table")>-1;i=e&&s?"Table (hosted, view)":s?"Table (hosted)":e?"Feature Layer (hosted, view)":"Feature Layer (hosted)"}return"Web Mapping Application"===e&&(i=t.indexOf("configurableApp")>-1?"Instant App":i),i="Geoprocessing Service"===e?"Tool":i,i="Feed"===e?"Feed (hosted)":i,i="Real Time Analytic"===e?"Real Time Analytic (hosted)":i,i="Big Data Analytic"===e?"Big Data Analytic (hosted)":i,i="Vector Tile Service"===e?"Tile Layer":i,i}async _getTranslations(){const e=await l(this.el);this._translations=e[0]}static get watchers(){return{locale:["localeWatchHandler"],templateInfos:["templateInfosWatchHandler"]}}};a.style=":host{display:block}.padding-start-1{padding-inline-start:1rem}.border-override{--calcite-accordion-border-color:var(--calcite-color-border-1) !important}.display-flex{display:flex}.align-center{align-items:center}.solution-list-item-label{color:var(--calcite-color-text-1);font-size:var(--calcite-font-size--1)}.solution-list-item-label,.solution-list-item-description{font-family:var(--calcite-font-family);font-weight:var(--calcite-font-weight-normal);overflow-wrap:break-word;word-break:break-word}.solution-list-item-description{font-size:var(--calcite-font-size--2);margin-block-start:0.125rem;color:var(--calcite-color-text-3)}.solution-list-item-content{display:flex;flex:1 1 auto;flex-direction:column;justify-content:center;line-height:1.375}";export{a as solution_item_accordion}
@@ -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 e,h as s,F as a,H as h}from"./p-e996c38f.js";import{l as o,g as n}from"./p-404cbf48.js";import{a as c,g as d}from"./p-5693ce7a.js";import{P as r}from"./p-f3003b3a.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";import"./p-80cb7c73.js";import"./p-4084e2d1.js";import"./p-4fe489cf.js";import"./p-2bc98cb0.js";import"./p-4f236b5d.js";import"./p-570b13d9.js";import"./p-0668e30d.js";const l=class{constructor(e){t(this,e),this.success=i(this,"success",7),this.fail=i(this,"fail",7),this.drawComplete=i(this,"drawComplete",7),this.editingAttachment=i(this,"editingAttachment",7),this.progressStatus=i(this,"progressStatus",7),this.modeChanged=i(this,"modeChanged",7),this.customizeSubmit=!1,this.enableSearch=!1,this.enableSnapping=!1,this.floorLevel=void 0,this.formElements=void 0,this.isMobile=void 0,this.locale=void 0,this.mapView=void 0,this.searchConfiguration=void 0,this.selectedLayerId=void 0,this.showGuidingMsg=!0,this.showGuidingMsgWhileDrawing=!0,this.submitNewReportsMessage=void 0,this._currentPage="templatePicker",this._editorLoading=!1,this._translations=void 0}get el(){return e(this)}Editor;ExpressionInfo;FeatureLayer;FieldElement;FormTemplate;MapView;Search;_addingAttachment;_calciteNotice;_container;_editor;_isSubmitBtnClicked=!1;_mapViewContainer;reactiveUtils;_search;_searchDiv;_selectedLayer;_updatedMapView;async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}async mapViewWatchHandler(){await this.mapView.when((async()=>{await this.init()}))}async isMobileHandler(){this.modeChanged.emit()}async _editorLoadingWatchHandler(t){if(t){if(this._container?.classList.add("display-none"),this._selectedLayer?.isTable){const t={layer:this._selectedLayer,template:this._selectedLayer.templates[0]};await this._editor.startCreateFeaturesWorkflowAtFeatureCreation(t),await this.hideEditorsElements()}else await this.startCreate();this._container?.classList.remove("display-none"),this._editorLoading=!1}}async submit(){this._editor&&(this._isSubmitBtnClicked=!0,this._editor.viewModel.featureFormViewModel.submit())}async refresh(t){this._editor&&this._setFloorLevel(t)}success;fail;drawComplete;editingAttachment;progressStatus;modeChanged;async componentWillLoad(){await this._getTranslations(),await this.initModules()}async componentDidLoad(){await this.init()}componentDidRender(){this.isMobile&&(this._mapViewContainer.style.top=`${this._calciteNotice.offsetHeight+this._searchDiv.offsetHeight+80}px`)}disconnectedCallback(){this._editor&&(this._editor.viewModel.sketchViewModel&&this._editor.viewModel.sketchViewModel?.destroy(),this._editor.destroy(),this.enableSnapping&&(this.mapView.ui.view.grid=null))}render(){const t="drawing"===this._currentPage?"":"display-none",i=this._editorLoading?"":"display-none",e=this._editorLoading?"display-none":"",h=this.isMobile?"show-map":"display-none";let o=this._translations.chooseCategoryMsg;return"drawing"===this._currentPage?o=this._translations.provideLocationMsg:"featureForm"===this._currentPage&&(o=this._translations.provideDetailsMsg),s(a,{key:"2c9644bd52600f493965881cd0be4975bc12112e"},this.showGuidingMsg&&(this.showGuidingMsgWhileDrawing||"drawing"!==this._currentPage)&&s("calcite-notice",{key:"9059dcfd2ec9dd24b6e9005b8a3d164cd585b994",class:"notice-msg",icon:"lightbulb",kind:"success",open:!0,ref:t=>this._calciteNotice=t},s("div",{key:"9ecdee9591e21ca0c19de55240c9c30f90c36098",slot:"message"},o)),s("calcite-loader",{key:"81f0b3cabb02887df18d73e5e4bf372169863a1d",class:i,label:"",scale:"s"}),s("div",{key:"c820fbb57d7b85e2d03b827e62603fb47d4a494e",class:e,id:"feature-form"}),this.enableSearch&&s("div",{key:"c179237732e1da99329eeb489ad8778f5bb4eba4",class:`search-widget ${t} ${e}`,id:"search-widget-ref",ref:t=>this._searchDiv=t}),s("div",{key:"f56d2e9ed6cb2b5abc088db3e2014187760b79fd",class:`${h}`,ref:t=>{this._mapViewContainer=t}}))}async init(){this.mapView&&this.selectedLayerId&&(this._updatedMapView=this.mapView,await(this.isMobile?this.createMobileMapView():this._loadWidgets()))}async initModules(){const[t,i,e,s,a,h,n]=await o(["esri/widgets/Editor","esri/core/reactiveUtils","esri/widgets/Search","esri/form/ExpressionInfo","esri/form/elements/FieldElement","esri/form/FormTemplate","esri/views/MapView"]);this.Editor=t,this.reactiveUtils=i,this.Search=e,this.ExpressionInfo=s,this.FieldElement=a,this.FormTemplate=h,this.MapView=n}async createMobileMapView(){this._mapViewContainer.classList.add("hide-map"),await new this.MapView({map:this.mapView.map,container:this._mapViewContainer,zoom:this.mapView.zoom}).when((t=>{this._updatedMapView=t,this._loadWidgets()}),(t=>{console.log(t)}))}async _loadWidgets(){await this.createEditorWidget(),this.enableSearch&&await this.createSearchWidget()}async createEditorWidget(){this._editor&&this._editor.destroy();const t=[];this._container=document.createElement("div"),this._container?.classList.add("display-none"),this.enableSnapping||this._container.classList.add("hide-editor-toolbar");const i=await c(this._updatedMapView);this._selectedLayer=await d(this.mapView,this.selectedLayerId),this._selectedLayer?.isTable||i.forEach((async i=>{t.push({layer:i,enabled:"feature"===i?.type&&i?.id===this.selectedLayerId,addEnabled:!0,updateEnabled:!1,deleteEnabled:!1})})),this._editor=new this.Editor({view:this._updatedMapView,layerInfos:t,visibleElements:{settingsMenu:this.enableSnapping,snappingControls:this.enableSnapping,createFeaturesSection:!0,editFeaturesSection:!1,flow:!0,sketch:!1},container:this._container}),this._mapViewContainer?this.el.insertBefore(this._container,this._mapViewContainer):this.el.appendChild(this._container);const e=this.reactiveUtils.watch((()=>this._editor.viewModel.state),(t=>{"adding-attachment"===t||"editing-attachment"===t?(this._addingAttachment=!0,this.editingAttachment.emit(!0)):this._addingAttachment&&(this.editingAttachment.emit(!1),this._addingAttachment=!1)}));this._editor.viewModel.addHandles(e);const s=this.reactiveUtils.watch((()=>this._editor.viewModel.featureTemplatesViewModel.state),(t=>{"ready"===t&&"create-features"!==this._editor.viewModel?.activeWorkflow?.type&&(this.progressStatus.emit(50),this._editorLoading=!0)}));this._editor.viewModel.addHandles(s);const a=this.reactiveUtils.watch((()=>this._editor.viewModel.featureFormViewModel?.state),(t=>{"ready"===t&&(this._mapViewContainer?.classList?.replace("show-map","hide-map"),this._editor.viewModel.featureFormViewModel.on("submit",this.submitted.bind(this)),setTimeout((()=>{this._setFloorLevel(this.floorLevel)}),50),this._currentPage="featureForm",this.progressStatus.emit(100),this.drawComplete.emit())}));this._editor.viewModel.addHandles(a);const h=this.reactiveUtils.watch((()=>this._editor.viewModel.state),(t=>{"creating-features"===t&&"disabled"===this._editor.viewModel.featureFormViewModel.state&&(this._mapViewContainer?.classList?.replace("hide-map","show-map"),this._selectedLayer&&!this._selectedLayer.isTable&&(this._currentPage="drawing"))}));this._editor.viewModel.addHandles(h)}async startCreate(){return await this.hideEditorsElements(),new Promise(((t,i)=>{if(this._editor.viewModel.featureTemplatesViewModel.items?.length){const e=this._editor.viewModel.featureTemplatesViewModel.items[0].items;this._editor.viewModel.featureTemplatesViewModel.on("select",(()=>{this.progressStatus.emit(75),setTimeout((()=>{this.hideEditorsElements().then((()=>{t({})}),(t=>i(t)))}),700)})),1===e.length&&this._editor.viewModel.featureTemplatesViewModel.select(e[0]);const s=e.length>1;this.hideEditorsElements().then((()=>{s&&t({})}),(t=>s&&i(t)))}}))}async createSearchWidget(){let t={view:this._updatedMapView};this.searchConfiguration&&(t={...this._getSearchConfig(this.searchConfiguration,this._updatedMapView)}),this._search=new this.Search(t),this._search.container="search-widget-ref",this._search.popupEnabled=!1,this._search.resultGraphicEnabled=!1;let i=null;this._search.on("search-complete",(t=>{this._updatedMapView.goTo(t.results[0].results[0].extent),"point"===this._selectedLayer.geometryType&&(i=t.results[0].results[0]?.feature.geometry)}));const e=this.reactiveUtils.watch((()=>this._search.viewModel.state),(t=>{"ready"===t&&setTimeout((()=>{this._editor.viewModel.sketchViewModel.createGraphic&&i&&(this._editor.viewModel.sketchViewModel.createGraphic.set("geometry",i),this._editor.viewModel.sketchViewModel.complete(),this.hideEditorsElements())}),100)}));this._search.viewModel.addHandles(e)}_getSearchConfig(t,i){const e=t.sources;return e?.length>0?(t.includeDefaultSources=!1,e.forEach((t=>{if(t.hasOwnProperty("layer")){const e=t,s=e.layer?.id,a=s?i.map.findLayerById(s):null,h=e?.layer?.url;a?e.layer=a:h&&(e.layer=new this.FeatureLayer(h))}})),e?.forEach((t=>{if(t.hasOwnProperty("locator")){const i=t;"ArcGIS World Geocoding Service"===i?.name&&(i.outFields=i.outFields||["Addr_type","Match_addr","StAddr","City"],i.singleLineFieldName="SingleLine"),i.url=i.url,delete i.url}}))):t={...t,includeDefaultSources:!0},t}async _setFloorLevel(t){if(!t)return;const i=this._selectedLayer;if(i?.floorInfo?.floorField){const e=i.fields.find((t=>t.name===i.floorInfo.floorField));if(e&&!i?.formTemplate)this._editor.viewModel.featureFormViewModel.setValue(e.name,t),e.editable=!1;else if(i.formTemplate&&this.formElements){const e=new this.ExpressionInfo({expression:`"${t}"`,name:"floor-info-test",title:"Floor Info",returnType:"string"}),s=new this.FieldElement({label:i.floorInfo.floorField,editableExpression:"false",fieldName:i.floorInfo.floorField,input:{type:"text-box",maxLength:50,minLength:0},valueExpression:e.name});this._updatedMapView.map.editableLayers.forEach((t=>{const i=this.formElements.orgExpressionInfos,a=[...this.formElements.orgElements];a.push(s);const h=new this.FormTemplate({title:t.formTemplate.title,description:t.formTemplate.description,elements:a,expressionInfos:[e].concat(i)});t.formTemplate=h}))}}}async hideEditorsElements(){this.customizeSubmit&&(await this.timeout(700),this.el.querySelector(".esri-editor")?.querySelectorAll("calcite-flow-item")?.forEach((t=>{const i=t.shadowRoot?.querySelector("calcite-panel")?.shadowRoot?.querySelector("article");i?.querySelector("header")?.setAttribute("style","display: none"),i?.querySelector("footer")?.setAttribute("style","display: none")})))}async submitted(t){if(t.invalid.length)this._isSubmitBtnClicked=!1;else if(this._isSubmitBtnClicked){this._isSubmitBtnClicked=!1;try{await this._editor.activeWorkflow.commit(),this._editor.viewModel.failures?.length&&this._editor.viewModel.failures.some((t=>{if(t.error)throw t.error}))}catch(t){return void this.fail.emit(t)}this.success.emit()}}timeout(t){return new Promise((i=>setTimeout(i,t)))}async _getTranslations(){const t=await n(this.el);this._translations=t[0]}static get watchers(){return{locale:["localeWatchHandler"],mapView:["mapViewWatchHandler"],isMobile:["isMobileHandler"],_editorLoading:["_editorLoadingWatchHandler"]}}};l.style=":host{display:block}.hide-editor-toolbar .esri-editor__panel-toolbar{display:none !important}.esri-editor__panel-content{padding-block:0px !important}.esri-editor .esri-item-list__group__header{display:none !important}.esri-editor__panel-content__section .esri-widget__heading{display:none !important}.esri-editor .esri-item-list__filter-container--sticky{padding-block:0px !important;padding-inline:10px !important}.search-widget{width:92% !important;margin:5px 14px 20px 14px}.display-none{display:none !important}.hide-map{height:1%;visibility:hidden}.show-map{padding:10px !important;position:absolute !important;bottom:0;height:auto !important;width:calc(100% - 22px)}.notice-msg{padding:10px;width:calc(100% - 20px)}.esri-editor__panel-content{padding-block:10px !important}@media only screen and (max-width: 600px){.esri-editor__panel-content{padding-block:0 !important;min-height:0 !important}}";const p=class{constructor(e){t(this,e),this.editsComplete=i(this,"editsComplete",7),this.deleteDialog=void 0,this.buttonType="button",this.disabled=!1,this.icon=void 0,this.ids=[],this.layer=void 0,this.locale=void 0,this._confirmDelete=!1,this._deleteEndabled=!1,this._supportsDelete=void 0,this._translations=void 0}get el(){return e(this)}async idsWatchHandler(){this._setDeleteEnabled()}async layerWatchHandler(){this._setDeleteEnabled()}async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}editsComplete;async componentWillLoad(){await this._getTranslations()}render(){return s(h,{key:"a8b845e5a7283318d4e313914e8bf992c5405d82"},"button"===this.buttonType?s("calcite-button",{appearance:"outline",disabled:!this._deleteEndabled,id:"solutions-delete",kind:"danger",onClick:()=>this._delete(),width:"full"},this._translations.deleteCount.replace("{{n}}",this.ids.length.toString())):s("calcite-action",{appearance:"solid",disabled:!this._deleteEndabled,id:this.icon,onClick:()=>this._delete(),scale:"s",text:this._translations.delete},s("calcite-button",{appearance:"transparent",iconStart:this.icon,kind:"danger"},this._translations.delete)),this._deleteMessage(),s("calcite-tooltip",{key:"63e746d5066e96a13066cae6d3ad0b23c81437dc",placement:"bottom","reference-element":"button"===this.buttonType?"solutions-delete":this.icon},s("span",{key:"9f6708e8ff0255d6634c69cb66d9544dc5b053ba"},this._translations.delete)))}async componentDidLoad(){this._setDeleteEnabled()}_setDeleteEnabled(){this._supportsDelete=this.layer?.editingEnabled&&this.layer?.capabilities?.operations?.supportsDelete,this._deleteEndabled=!this.disabled||this._supportsDelete&&this.ids.length>0}_delete(){this._confirmDelete=!0}_deleteMessage(){return this.deleteDialog?this.deleteDialog:s("delete-dialog",{id:"solution-delete-dialog",ids:this.ids,layer:this.layer,locale:this.locale,onDeleteDialogClose:()=>this._confirmDelete=!1,open:this._confirmDelete})}async _getTranslations(){const t=await n(this.el);this._translations=t[0]}static get watchers(){return{ids:["idsWatchHandler"],layer:["layerWatchHandler"],locale:["localeWatchHandler"]}}};p.style=":host{display:block}.delete-modal{position:fixed}";const b=class{constructor(e){t(this,e),this.closeEdit=i(this,"closeEdit",7),this.editorInitialized=i(this,"editorInitialized",7),this.editsComplete=i(this,"editsComplete",7),this.refreshGraphics=i(this,"refreshGraphics",7),this.enableEditGeometry=!1,this.enableSnapping=!1,this.graphicIndex=0,this.graphics=void 0,this.locale=void 0,this.mapView=void 0,this.open=!1,this._editorLoading=!1,this._translations=void 0}get el(){return e(this)}_activeWorkflowHandle;_addRelatedRecordHandle;_attachmentHandle;_editHandle;_layerEditHandle;Editor;_editor;_layer;_editContainer;_editControlElements;_editingDisabled;_shouldClose=!1;reactiveUtils;async graphicsWatchHandler(){0===this.graphics.length&&this.open&&await this._closeEdit(!0)}async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}async openWatchHandler(t){t&&this.graphics?.length>0&&this.graphicIndex>-1&&(this._editorLoading=!0,await this._initEditorWidget(),this.graphicIndex>-1&&this.graphics.length>0&&this.open&&!this._shouldClose&&await this._startUpdate(),this._editorLoading=!1),t||await this._closeEdit(!0)}closeEdit;editorInitialized;editsComplete;refreshGraphics;async featureSelectionChange(){this.open&&await this._closeEdit(!1)}async componentWillLoad(){await this._initModules(),await this._getTranslations()}async componentWillRender(){this.graphics?.length>0&&this.graphics[0]?.layer&&(this._layer=this.graphics[0].layer,this._layerEditHandle&&this._layerEditHandle.remove(),this._layerEditHandle=("subtype-sublayer"===this._layer.type?this._layer.parent:this._layer).on("edits",(()=>{setTimeout((()=>{this.editsComplete.emit()}),50)})))}render(){const t=this._editorLoading?"display-none":"position-absolute",i=this._editorLoading?"":"display-none";return s(h,{key:"d67dbfb453966623d26a1567df84bc58024305d7"},s("div",{key:"9cd13eaf0125ab39e1d24398ccfda17c9534317a",class:"position-absolute"},this.graphics?.length>0&&this.graphics[0]&&this.graphics[0].layer.editingEnabled?void 0:s("calcite-notice",{kind:"warning",open:!0,slot:"content-top",width:"full"},s("div",{slot:"message"},this._translations.enableEditing)),s("div",{key:"6cb4122611d8d8595cd85cd07224baa374066658",class:"position-absolute"},s("div",{key:"c4498b1ecd165fa594d9d1cef43f01643b5e3efb",class:t,id:"feature-form",ref:t=>this._editContainer=t}),s("calcite-loader",{key:"febb4d5c9a662ec9ffa6955114c8476c498116ee",class:i,label:"",scale:"s"}))))}async _initModules(){const[t,i]=await o(["esri/widgets/Editor","esri/core/reactiveUtils"]);this.Editor=t,this.reactiveUtils=i}async _initEditorWidget(){if(this.mapView&&this.graphics&&this.graphics.length>0&&this.graphics[0]){this._editor&&this._editor.destroy();const t=document.createElement("div"),i=await c(this.mapView),e=this.enableSnapping&&this.enableEditGeometry,s=i.map((t=>({layer:t,geometryUpdatesEnabled:this.enableEditGeometry})));this._editor=new this.Editor({view:this.mapView,layerInfos:s,visibleElements:{flow:!0,settingsMenu:e,sketch:!1,snappingControls:e},container:t}),this._attachmentHandle&&this._activeWorkflowHandle&&(this._attachmentHandle.remove(),this._activeWorkflowHandle.remove()),this._attachmentHandle=this.reactiveUtils.when((()=>"adding-attachment"===this._editor.viewModel.state||"editing-attachment"===this._editor.viewModel.state||"creating-features"===this._editor.viewModel.state),(()=>{this._shouldClose=!1})),this._activeWorkflowHandle=this.reactiveUtils.watch((()=>this._editor.viewModel.activeWorkflow?.activeWorkflow),(t=>{"update-table-record"!==t?.type&&"create-features"!==t?.type||(this._shouldClose=!1),(t?.type||t?.hasPendingEdits||this._editor.activeWorkflow)&&this._editor?.activeWorkflow?.started||(this.open=!1)})),this.enableSnapping||t.classList.add("hide-editor-toolbar"),this._editContainer.appendChild(t),this.editorInitialized.emit(this._editor)}}async _closeEdit(t){this._shouldClose=!0,t&&this._editor?.activeWorkflow?(this._editor.activeWorkflow?.activeWorkflow?.hasPendingEdits&&(await this._editor.activeWorkflow.reset(),await this._editor.cancelWorkflow()),this._editor.destroy()):this.graphicIndex>-1&&this.graphics?.length>0&&this.refreshGraphics.emit(this.graphics),this.enableSnapping&&(this.mapView.ui.view.grid=null),this._shouldClose=!1,this.closeEdit.emit()}async _startUpdate(){await this._editor.startUpdateWorkflowAtFeatureEdit(this.graphics[this.graphicIndex]),this._shouldClose=!0}async _getTranslations(){const t=await n(this.el);this._translations=t[0]}static get watchers(){return{graphics:["graphicsWatchHandler"],locale:["localeWatchHandler"],open:["openWatchHandler"]}}};b.style=":host{display:block}.padding-bottom-1{padding-bottom:1rem}.font-bold{font-weight:var(--calcite-font-weight-bold)}.font-500{font-weight:var(--calcite-font-weight-medium)}.font-italic{font-style:italic}#feature-form{padding-top:0px}.padding-sides-bottom-1{padding:0 1rem 1rem 1rem}.position-relative{position:relative}.esri-editor__prompt--danger{position:relative !important;width:100% !important;background-color:var(--calcite-color-foreground-1) !important}.esri-feature__content-node{background-color:var(--calcite-color-foreground-1) !important}.hide-editor-toolbar .esri-editor__panel-toolbar{display:none !important}.position-absolute{position:absolute;top:0;right:0;bottom:0;left:0;overflow:auto}.esri-editor__panel-content{padding-block:10px !important}";const f=class{constructor(e){t(this,e),this.popupClosed=i(this,"popupClosed",7),this.clearSelection=i(this,"clearSelection",7),this.selectionChanged=i(this,"selectionChanged",7),this.enableEditGeometry=!1,this.enableSnapping=!1,this.graphics=void 0,this.isLoading=!1,this.isMobile=void 0,this.mapView=void 0,this.allowEditing=!0,this.highlightEnabled=!0,this.locale=void 0,this.paginationEnabled=!0,this.position="absolute",this.showCloseBtn=!1,this._alertOpen=!1,this._count="",this._editRecordOpen=!1,this._mobileTitle="",this._showListView=!1,this._translations=void 0,this._navigatedToRelatedFeature=void 0}get el(){return e(this)}Features;_editEnabled;_features;_layer;_popupUtils;_featuresNodeId="features-node"+(new Date).getMilliseconds().toString();reactiveUtils;_relatedFeature;async graphicsWatchHandler(){this._navigatedToRelatedFeature&&this._features&&(this._features.clear(),this._features.close(),this._count="",this._navigatedToRelatedFeature=!1),await this.setGraphics()}async isMobileWatchHandler(){await this._initFeaturesWidget()}async localeWatchHandler(){if(this.el.lang=this.locale,await this._getTranslations(),this._features){const t=[...this.graphics];this.graphics=[],this.graphics=t}}async mapViewWatchHandler(){return await this._initFeaturesWidget()}async getSelectedFeature(){return this._features.selectedFeature}async refresh(){await this.setGraphics()}async back(){this._features.previous(),this._count=this._getCount()}async next(){this._features.next(),this._count=this._getCount()}async toggleListView(){this._showListView=!this._showListView;const t=this._features.selectedFeatureIndex;this._features.open({features:this.graphics,featureMenuOpen:this._showListView}),this._features.selectedFeatureIndex=t}async updateCurrentGraphic(t){this._features.selectedFeatureWidget.graphic=t}popupClosed;clearSelection;selectionChanged;async closeEdit(){this._editRecordOpen=!1}async layerSelectionChange(){this._showListView=!1,this._features?.viewModel&&(this._features.viewModel.featureMenuOpen=!1,this._features.close())}async refreshGraphics(t){this._navigatedToRelatedFeature||(this.graphics=[...t.detail])}async componentWillLoad(){await this._initModules(),await this._getTranslations(),this._popupUtils=new r}async componentDidLoad(){this.graphics?.length>0&&await this.setGraphics()}render(){const t=this.isLoading?"":"display-none",i=this.isLoading||this._editRecordOpen?"visibility-hidden":"position-absolute",e=!this.isLoading&&this._editRecordOpen?"position-absolute":"display-none",a=!this.isLoading&&this._editRecordOpen||this._showListView?"display-none":"",o=this._features?.features?.length<2||this._navigatedToRelatedFeature,n=this.isMobile?"display-none":"",c=this._features?.selectedFeature?.getObjectId(),d=parseInt(c?.toString(),10)>-1?[c]:[],r=this._layer?.editingEnabled&&this._layer?.capabilities?.operations?.supportsDelete,l=this._relatedFeature?[this._relatedFeature]:this.graphics,p=this._navigatedToRelatedFeature?0:this._features?.selectedFeatureIndex;return s(h,{key:"b62820abf5a5ce69261a7170dbc102ee8f656907"},s("calcite-shell",{key:"6c26e6c6e0247f96183ab7d300d2591c5beb5b94",style:{position:this.position}},this._getHeader(),s("calcite-loader",{key:"fc153dc30be352de54fd2d197e154cd09a8f39f2",class:t,label:this._translations.fetchingData}),s("div",{key:"8faba972e54dbc4086a5c74187279149c7bbfe6e",class:"esri-widget feature-node "+i,id:this._featuresNodeId}),s("div",{key:"3374bace58475d983d0b6b57c1c45faa6bddef6e",class:`${a} width-100`,slot:"footer"},this.allowEditing&&s("div",{key:"567ed97ca7a9a1d7245caa21ca23effe728b0ac9",class:"display-flex top-border padding-1-2"},s("calcite-button",{key:"caae5c4c5834bf7658bbe12c329ead2f8150f8cd",appearance:"solid",id:"solutions-edit",onClick:()=>this._openEditRecord(),width:"full"},this._translations.edit),this.isMobile&&r?s("delete-button",{class:"padding-inline-start-1 width-100",id:"solutions-delete",ids:d,layer:this._layer,locale:this.locale,onEditsComplete:()=>this._closePopup()}):void 0,s("calcite-tooltip",{key:"57681bf90ac5d7c2a4bc9d3e15e3a93a675fbed1",placement:"bottom","reference-element":"solutions-edit"},s("span",{key:"018a661cd5f88ea5be62acbe762308ef25e7b681"},this._translations.edit)),this.isMobile&&r?s("calcite-tooltip",{placement:"bottom","reference-element":"solutions-delete"},s("span",null,this._translations.delete)):void 0),this.paginationEnabled&&!o&&s("div",{key:"92ba3836a0b5fcd2717966ef6162e10968d43126",class:`display-flex padding-1-2 button-container top-border ${n}`},s("div",{key:"bf23c4f203efcea7c613d77d86efada639fa7c1b"},s("calcite-button",{key:"a416b24f360374e73679df9027b13f7651dbb723",appearance:"transparent",disabled:o,iconFlipRtl:"both",iconStart:"chevron-left",id:"solutions-back",onClick:()=>this._back(),width:"full"}),s("calcite-tooltip",{key:"8849ca323a75d2fd21393a133f49c1ea201178d4",placement:"top","reference-element":"solutions-back"},s("span",{key:"84cd60a8c7a5678d99e2d803ebb705e986591cb5"},this._translations.back))),s("calcite-action",{key:"7d4e9984eda51a7b9d67bcc2bce3b258566bbeee",class:"pagination-action",iconFlipRtl:!0,onClick:()=>this._toggleListView(),scale:"s",text:"",textEnabled:!0},s("span",{key:"a14051ff8801623cc1dda9895f9bf98b5b4b8a36",class:"pagination-count"},this._count)),s("div",{key:"65bd33feeee7e1606548a9b21b9a3d1b78bc8931"},s("calcite-button",{key:"228969faa39e600546e8b9a00c888df4d00a6477",appearance:"transparent",disabled:o,iconFlipRtl:"both",iconStart:"chevron-right",id:"solutions-next",onClick:()=>this._next(),width:"full"}),s("calcite-tooltip",{key:"8f343657583d421b7dbbd79067af998d11c30855",placement:"top","reference-element":"solutions-next"},s("span",{key:"98fc622e0ba9ae3878ac0cbc8c2c119fe5b4b489"},this._translations.next))))),s("edit-card",{key:"c99b429d633117c673a7c8effc7cb689233bce1e",class:e,enableEditGeometry:this.enableEditGeometry,enableSnapping:this.enableSnapping,graphicIndex:p,graphics:l,locale:this.locale,mapView:this.mapView,open:this._editRecordOpen}),s("calcite-alert",{key:"82ac3ceb259b6f87b8bbbb196fcf61de705ed019",icon:"layer-broken",kind:"warning",label:"",onCalciteAlertClose:()=>this._alertClosed(),open:this._alertOpen,placement:"top"},s("div",{key:"f113eb60f51d3b1d9fddf9c58e89c792e41e95b5",slot:"title"},this._translations.editDisabled),s("div",{key:"c010ac376e6e3497d86326bcb1e16976a4a026cd",slot:"message"},this._translations.enableEditing))))}async _initModules(){const[t,i]=await o(["esri/widgets/Features","esri/core/reactiveUtils"]);this.Features=t,this.reactiveUtils=i}async setGraphics(){this._features||await this._initFeaturesWidget(),this.graphics.length>0?(this._layer=this.graphics[0]?.layer,this._editEnabled=this._layer.editingEnabled&&this._layer.capabilities.operations.supportsUpdate,this._mobileTitle=await this._popupUtils.getPopupTitle(this.graphics[0],this.mapView.map),this._features.open({features:this.graphics})):(this._features.clear(),this._features.close()),this._count=this._getCount()}async _initFeaturesWidget(){return void 0!==this.isMobile?await(this.mapView?.when((()=>{this._features?(this._features.view=this.mapView,this._features.visibleElements.actionBar=!1,this._features.visibleElements.closeButton=this.showCloseBtn,this._features.visibleElements.heading=!this.isMobile):(this._features=new this.Features({view:this.mapView,container:this._featuresNodeId,visibleElements:{actionBar:!1,closeButton:this.showCloseBtn,featureMenuHeading:!1,heading:!this.isMobile}}),this._features.viewModel.highlightEnabled=this.highlightEnabled,this.reactiveUtils.watch((()=>this._features.viewModel.featureMenuOpen),(t=>{this._count=this._getCount(),t||(this._showListView=t)})),this.reactiveUtils.watch((()=>this._features.selectedFeatureIndex),(t=>{t>-1&&this.selectionChanged.emit({selectedFeature:[this._features.selectedFeature],selectedFeatureIndex:this._features.selectedFeatureIndex})})),this.reactiveUtils.watch((()=>this._features.selectedDrillInFeature),(t=>{t?(this._relatedFeature=t,this._navigatedToRelatedFeature=!0):(this._relatedFeature=null,this._navigatedToRelatedFeature=!1)})),this.el.querySelector("#"+this._featuresNodeId).addEventListener("calciteFlowItemClose",(()=>{this.clearSelection.emit()})))}))):Promise.resolve()}_getHeader(){return this.isMobile&&!this._editRecordOpen?s("calcite-panel",{class:"border-width-0",slot:"header"},s("calcite-action",{class:"end-border",icon:"chevron-left",iconFlipRtl:!0,onClick:()=>this._closePopup(),scale:"s",slot:"header-actions-start",text:""}),s("span",{class:"font-bold",slot:"header-content"},this._mobileTitle)):void 0}_closePopup(){this.popupClosed.emit()}_alertClosed(){this._alertOpen=!1}_openEditRecord(){this._editEnabled?this._editRecordOpen=!0:this._alertOpen=!0}_back(){this._features.previous(),this._count=this._getCount()}_next(){this._features.next(),this._count=this._getCount()}_getCount(){const t=(this._features?.viewModel.selectedFeatureIndex+1).toString(),i=this._features?.features?.length.toString();return this._translations.indexOfTotal.replace("{{index}}",t).replace("{{total}}",i)}_toggleListView(){this._showListView=!this._showListView;const t=this._features.selectedFeatureIndex;this._features.open({features:this.graphics,featureMenuOpen:this._showListView}),this._features.selectedFeatureIndex=t}async _getTranslations(){const t=await n(this.el);this._translations=t[0]}static get watchers(){return{graphics:["graphicsWatchHandler"],isMobile:["isMobileWatchHandler"],locale:["localeWatchHandler"],mapView:["mapViewWatchHandler"]}}};f.style=":host{display:block;--calcite-label-margin-bottom:0}.padding-1-2{padding:0.5rem}.display-none{display:none !important}.display-flex{display:flex}.position-absolute{position:absolute;top:0;right:0;bottom:0;left:0;overflow:auto}.feature-node{position:relative !important}.feature-node .esri-features__footer{display:none !important}.button-container{justify-content:center;align-items:center}.top-border{border-top:1px solid var(--calcite-color-border-1)}.width-100{width:100%}.esri-features__container{padding:0.5rem !important;background-color:var(--calcite-color-foreground-1) !important;height:100% !important}.overflow-hidden{overflow:hidden}.height-40{height:40px}.end-border{border-inline-end:1px solid var(--calcite-color-border-1)}.font-bold{font-weight:bold}.visibility-hidden{visibility:hidden;height:0px}.padding-inline-start-1{padding-inline-start:1rem}.border-width-0{border-width:0px}.pagination-action{position:relative;left:3px}.pagination-count{color:var(--calcite-color-brand);border-bottom:1px solid var(--calcite-color-brand);font-weight:bold}";export{l as create_feature,p as delete_button,b as edit_card,f as info_card}