@esri/solutions-components 0.11.25 → 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 (1066) hide show
  1. package/dist/cjs/card-manager_3.cjs.entry.js +24 -22
  2. package/dist/cjs/create-feature_4.cjs.entry.js +28 -10
  3. package/dist/cjs/create-related-feature_3.cjs.entry.js +2 -1
  4. package/dist/cjs/crowdsource-manager.cjs.entry.js +4 -4
  5. package/dist/cjs/crowdsource-reporter.cjs.entry.js +1 -1
  6. package/dist/cjs/{downloadUtils-fcae8eb1.js → downloadUtils-da9e19c6.js} +1 -1
  7. package/dist/cjs/feature-list.cjs.entry.js +3 -3
  8. package/dist/cjs/loader.cjs.js +1 -1
  9. package/dist/cjs/map-layer-picker.cjs.entry.js +1 -1
  10. package/dist/cjs/map-select-tools_3.cjs.entry.js +2 -2
  11. package/dist/cjs/{mapViewUtils-4ea7216c.js → mapViewUtils-8b26c9d0.js} +3 -1
  12. package/dist/cjs/{popupUtils-87b006a6.js → popupUtils-69ad52f5.js} +1 -1
  13. package/dist/cjs/public-notification.cjs.entry.js +2 -2
  14. package/dist/cjs/solution-item-accordion.cjs.entry.js +3 -3
  15. package/dist/cjs/solutions-components.cjs.js +1 -1
  16. package/dist/collection/components/card-manager/card-manager.js +1 -1
  17. package/dist/collection/components/create-feature/create-feature.js +12 -3
  18. package/dist/collection/components/create-related-feature/create-related-feature.js +1 -0
  19. package/dist/collection/components/crowdsource-manager/crowdsource-manager.js +3 -3
  20. package/dist/collection/components/edit-card/edit-card.js +13 -4
  21. package/dist/collection/components/layer-table/layer-table.js +21 -21
  22. package/dist/collection/components/solution-item-accordion/solution-item-accordion.css +26 -0
  23. package/dist/collection/components/solution-item-accordion/solution-item-accordion.js +2 -2
  24. package/dist/collection/demos/index.html +0 -9
  25. package/dist/collection/utils/queryUtils.js +3 -1
  26. package/dist/collection/utils/queryUtils.ts +3 -1
  27. package/dist/components/card-manager2.js +1 -1
  28. package/dist/components/create-feature2.js +12 -3
  29. package/dist/components/create-related-feature2.js +1 -0
  30. package/dist/components/crowdsource-manager.js +3 -3
  31. package/dist/components/edit-card2.js +13 -4
  32. package/dist/components/layer-table2.js +21 -20
  33. package/dist/components/queryUtils.js +3 -1
  34. package/dist/components/solution-item-accordion.js +3 -3
  35. package/dist/esm/card-manager_3.entry.js +24 -22
  36. package/dist/esm/create-feature_4.entry.js +28 -10
  37. package/dist/esm/create-related-feature_3.entry.js +2 -1
  38. package/dist/esm/crowdsource-manager.entry.js +4 -4
  39. package/dist/esm/crowdsource-reporter.entry.js +1 -1
  40. package/dist/esm/{downloadUtils-078cd709.js → downloadUtils-0b6677dc.js} +1 -1
  41. package/dist/esm/feature-list.entry.js +3 -3
  42. package/dist/esm/loader.js +1 -1
  43. package/dist/esm/map-layer-picker.entry.js +1 -1
  44. package/dist/esm/map-select-tools_3.entry.js +2 -2
  45. package/dist/esm/{mapViewUtils-9da9be1c.js → mapViewUtils-2682c21a.js} +3 -1
  46. package/dist/esm/{popupUtils-6a965512.js → popupUtils-9233302d.js} +1 -1
  47. package/dist/esm/public-notification.entry.js +2 -2
  48. package/dist/esm/solution-item-accordion.entry.js +3 -3
  49. package/dist/esm/solutions-components.js +1 -1
  50. package/dist/solutions-components/demos/index.html +0 -9
  51. package/dist/solutions-components/p-3a7bde22.entry.js +6 -0
  52. package/dist/solutions-components/{p-db3391b9.js → p-4084e2d1.js} +1 -1
  53. package/dist/solutions-components/p-4294c7e6.entry.js +6 -0
  54. package/dist/solutions-components/{p-abcdbba6.entry.js → p-447e7d3f.entry.js} +1 -1
  55. package/dist/solutions-components/{p-3e16c433.entry.js → p-477dbafa.entry.js} +1 -1
  56. package/dist/solutions-components/{p-a9b81651.entry.js → p-47f13430.entry.js} +1 -1
  57. package/dist/solutions-components/p-5693ce7a.js +36 -0
  58. package/dist/solutions-components/{p-e8df7a70.entry.js → p-83f0dd3b.entry.js} +1 -1
  59. package/dist/solutions-components/p-87ae2979.entry.js +6 -0
  60. package/dist/solutions-components/{p-84976ab1.entry.js → p-896b6028.entry.js} +1 -1
  61. package/dist/solutions-components/{p-0bc11bac.entry.js → p-9777c01f.entry.js} +1 -1
  62. package/dist/solutions-components/{p-c117b7f7.entry.js → p-ee8fa795.entry.js} +1 -1
  63. package/dist/solutions-components/{p-bf04c6f4.js → p-f3003b3a.js} +2 -2
  64. package/dist/solutions-components/solutions-components.esm.js +1 -1
  65. package/dist/solutions-components/utils/queryUtils.ts +3 -1
  66. package/dist/solutions-components_commit.txt +6 -6
  67. package/dist/types/components/layer-table/layer-table.d.ts +0 -4
  68. package/package.json +1 -1
  69. package/dist/collection/assets/t9n/add-record-modal/resources.json +0 -10
  70. package/dist/collection/assets/t9n/add-record-modal/resources_en.json +0 -10
  71. package/dist/collection/assets/t9n/arcgis-login/resources.json +0 -3
  72. package/dist/collection/assets/t9n/arcgis-login/resources_en.json +0 -3
  73. package/dist/collection/assets/t9n/buffer-tools/resources_en.json +0 -6
  74. package/dist/collection/assets/t9n/card-manager/resources_en.json +0 -7
  75. package/dist/collection/assets/t9n/comment-card/resources.json +0 -4
  76. package/dist/collection/assets/t9n/comment-card/resources_ar.json +0 -4
  77. package/dist/collection/assets/t9n/comment-card/resources_bg.json +0 -4
  78. package/dist/collection/assets/t9n/comment-card/resources_bs.json +0 -4
  79. package/dist/collection/assets/t9n/comment-card/resources_ca.json +0 -4
  80. package/dist/collection/assets/t9n/comment-card/resources_cs.json +0 -4
  81. package/dist/collection/assets/t9n/comment-card/resources_da.json +0 -4
  82. package/dist/collection/assets/t9n/comment-card/resources_de.json +0 -4
  83. package/dist/collection/assets/t9n/comment-card/resources_el.json +0 -4
  84. package/dist/collection/assets/t9n/comment-card/resources_en.json +0 -4
  85. package/dist/collection/assets/t9n/comment-card/resources_es.json +0 -4
  86. package/dist/collection/assets/t9n/comment-card/resources_et.json +0 -4
  87. package/dist/collection/assets/t9n/comment-card/resources_fi.json +0 -4
  88. package/dist/collection/assets/t9n/comment-card/resources_fr.json +0 -4
  89. package/dist/collection/assets/t9n/comment-card/resources_he.json +0 -4
  90. package/dist/collection/assets/t9n/comment-card/resources_hr.json +0 -4
  91. package/dist/collection/assets/t9n/comment-card/resources_hu.json +0 -4
  92. package/dist/collection/assets/t9n/comment-card/resources_id.json +0 -4
  93. package/dist/collection/assets/t9n/comment-card/resources_it.json +0 -4
  94. package/dist/collection/assets/t9n/comment-card/resources_ja.json +0 -4
  95. package/dist/collection/assets/t9n/comment-card/resources_ko.json +0 -4
  96. package/dist/collection/assets/t9n/comment-card/resources_lt.json +0 -4
  97. package/dist/collection/assets/t9n/comment-card/resources_lv.json +0 -4
  98. package/dist/collection/assets/t9n/comment-card/resources_nb.json +0 -4
  99. package/dist/collection/assets/t9n/comment-card/resources_nl.json +0 -4
  100. package/dist/collection/assets/t9n/comment-card/resources_no.json +0 -4
  101. package/dist/collection/assets/t9n/comment-card/resources_pl.json +0 -4
  102. package/dist/collection/assets/t9n/comment-card/resources_pt-BR.json +0 -4
  103. package/dist/collection/assets/t9n/comment-card/resources_pt-PT.json +0 -4
  104. package/dist/collection/assets/t9n/comment-card/resources_ro.json +0 -4
  105. package/dist/collection/assets/t9n/comment-card/resources_ru.json +0 -4
  106. package/dist/collection/assets/t9n/comment-card/resources_sk.json +0 -4
  107. package/dist/collection/assets/t9n/comment-card/resources_sl.json +0 -4
  108. package/dist/collection/assets/t9n/comment-card/resources_sr.json +0 -4
  109. package/dist/collection/assets/t9n/comment-card/resources_sv.json +0 -4
  110. package/dist/collection/assets/t9n/comment-card/resources_th.json +0 -4
  111. package/dist/collection/assets/t9n/comment-card/resources_tr.json +0 -4
  112. package/dist/collection/assets/t9n/comment-card/resources_uk.json +0 -4
  113. package/dist/collection/assets/t9n/comment-card/resources_vi.json +0 -4
  114. package/dist/collection/assets/t9n/comment-card/resources_zh-CN.json +0 -4
  115. package/dist/collection/assets/t9n/comment-card/resources_zh-HK.json +0 -4
  116. package/dist/collection/assets/t9n/comment-card/resources_zh-TW.json +0 -4
  117. package/dist/collection/assets/t9n/consent-manager/resources_en.json +0 -5
  118. package/dist/collection/assets/t9n/create-feature/resources_en.json +0 -5
  119. package/dist/collection/assets/t9n/create-related-feature/resources_en.json +0 -3
  120. package/dist/collection/assets/t9n/crowdsource-manager/resources_en.json +0 -15
  121. package/dist/collection/assets/t9n/crowdsource-reporter/resources_en.json +0 -32
  122. package/dist/collection/assets/t9n/delete-button/resources_en.json +0 -8
  123. package/dist/collection/assets/t9n/delete-dialog/resources_en.json +0 -8
  124. package/dist/collection/assets/t9n/edit-card/resources_en.json +0 -3
  125. package/dist/collection/assets/t9n/feature-list/resources_en.json +0 -8
  126. package/dist/collection/assets/t9n/info-card/resources_en.json +0 -10
  127. package/dist/collection/assets/t9n/instant-apps-export/resources.json +0 -12
  128. package/dist/collection/assets/t9n/instant-apps-export/resources_ar.json +0 -11
  129. package/dist/collection/assets/t9n/instant-apps-export/resources_bg.json +0 -11
  130. package/dist/collection/assets/t9n/instant-apps-export/resources_bs.json +0 -11
  131. package/dist/collection/assets/t9n/instant-apps-export/resources_ca.json +0 -11
  132. package/dist/collection/assets/t9n/instant-apps-export/resources_cs.json +0 -11
  133. package/dist/collection/assets/t9n/instant-apps-export/resources_da.json +0 -11
  134. package/dist/collection/assets/t9n/instant-apps-export/resources_de.json +0 -11
  135. package/dist/collection/assets/t9n/instant-apps-export/resources_el.json +0 -11
  136. package/dist/collection/assets/t9n/instant-apps-export/resources_en.json +0 -12
  137. package/dist/collection/assets/t9n/instant-apps-export/resources_es.json +0 -11
  138. package/dist/collection/assets/t9n/instant-apps-export/resources_et.json +0 -11
  139. package/dist/collection/assets/t9n/instant-apps-export/resources_fi.json +0 -11
  140. package/dist/collection/assets/t9n/instant-apps-export/resources_fr.json +0 -11
  141. package/dist/collection/assets/t9n/instant-apps-export/resources_he.json +0 -11
  142. package/dist/collection/assets/t9n/instant-apps-export/resources_hr.json +0 -11
  143. package/dist/collection/assets/t9n/instant-apps-export/resources_hu.json +0 -11
  144. package/dist/collection/assets/t9n/instant-apps-export/resources_id.json +0 -11
  145. package/dist/collection/assets/t9n/instant-apps-export/resources_it.json +0 -11
  146. package/dist/collection/assets/t9n/instant-apps-export/resources_ja.json +0 -11
  147. package/dist/collection/assets/t9n/instant-apps-export/resources_ko.json +0 -11
  148. package/dist/collection/assets/t9n/instant-apps-export/resources_lt.json +0 -11
  149. package/dist/collection/assets/t9n/instant-apps-export/resources_lv.json +0 -11
  150. package/dist/collection/assets/t9n/instant-apps-export/resources_nb.json +0 -11
  151. package/dist/collection/assets/t9n/instant-apps-export/resources_nl.json +0 -11
  152. package/dist/collection/assets/t9n/instant-apps-export/resources_pl.json +0 -11
  153. package/dist/collection/assets/t9n/instant-apps-export/resources_pt-BR.json +0 -11
  154. package/dist/collection/assets/t9n/instant-apps-export/resources_pt-PT.json +0 -11
  155. package/dist/collection/assets/t9n/instant-apps-export/resources_ro.json +0 -11
  156. package/dist/collection/assets/t9n/instant-apps-export/resources_ru.json +0 -11
  157. package/dist/collection/assets/t9n/instant-apps-export/resources_sk.json +0 -11
  158. package/dist/collection/assets/t9n/instant-apps-export/resources_sl.json +0 -11
  159. package/dist/collection/assets/t9n/instant-apps-export/resources_sr.json +0 -11
  160. package/dist/collection/assets/t9n/instant-apps-export/resources_sv.json +0 -11
  161. package/dist/collection/assets/t9n/instant-apps-export/resources_th.json +0 -11
  162. package/dist/collection/assets/t9n/instant-apps-export/resources_tr.json +0 -11
  163. package/dist/collection/assets/t9n/instant-apps-export/resources_uk.json +0 -11
  164. package/dist/collection/assets/t9n/instant-apps-export/resources_vi.json +0 -11
  165. package/dist/collection/assets/t9n/instant-apps-export/resources_zh-CN.json +0 -11
  166. package/dist/collection/assets/t9n/instant-apps-export/resources_zh-HK.json +0 -11
  167. package/dist/collection/assets/t9n/instant-apps-export/resources_zh-TW.json +0 -11
  168. package/dist/collection/assets/t9n/instant-apps-filter-list/resources.json +0 -16
  169. package/dist/collection/assets/t9n/instant-apps-filter-list/resources_ar.json +0 -16
  170. package/dist/collection/assets/t9n/instant-apps-filter-list/resources_bg.json +0 -16
  171. package/dist/collection/assets/t9n/instant-apps-filter-list/resources_bs.json +0 -16
  172. package/dist/collection/assets/t9n/instant-apps-filter-list/resources_ca.json +0 -16
  173. package/dist/collection/assets/t9n/instant-apps-filter-list/resources_cs.json +0 -16
  174. package/dist/collection/assets/t9n/instant-apps-filter-list/resources_da.json +0 -16
  175. package/dist/collection/assets/t9n/instant-apps-filter-list/resources_de.json +0 -16
  176. package/dist/collection/assets/t9n/instant-apps-filter-list/resources_el.json +0 -16
  177. package/dist/collection/assets/t9n/instant-apps-filter-list/resources_en.json +0 -16
  178. package/dist/collection/assets/t9n/instant-apps-filter-list/resources_es.json +0 -16
  179. package/dist/collection/assets/t9n/instant-apps-filter-list/resources_et.json +0 -16
  180. package/dist/collection/assets/t9n/instant-apps-filter-list/resources_fi.json +0 -16
  181. package/dist/collection/assets/t9n/instant-apps-filter-list/resources_fr.json +0 -16
  182. package/dist/collection/assets/t9n/instant-apps-filter-list/resources_he.json +0 -16
  183. package/dist/collection/assets/t9n/instant-apps-filter-list/resources_hr.json +0 -16
  184. package/dist/collection/assets/t9n/instant-apps-filter-list/resources_hu.json +0 -16
  185. package/dist/collection/assets/t9n/instant-apps-filter-list/resources_id.json +0 -16
  186. package/dist/collection/assets/t9n/instant-apps-filter-list/resources_it.json +0 -16
  187. package/dist/collection/assets/t9n/instant-apps-filter-list/resources_ja.json +0 -16
  188. package/dist/collection/assets/t9n/instant-apps-filter-list/resources_ko.json +0 -16
  189. package/dist/collection/assets/t9n/instant-apps-filter-list/resources_lt.json +0 -16
  190. package/dist/collection/assets/t9n/instant-apps-filter-list/resources_lv.json +0 -16
  191. package/dist/collection/assets/t9n/instant-apps-filter-list/resources_nb.json +0 -16
  192. package/dist/collection/assets/t9n/instant-apps-filter-list/resources_nl.json +0 -16
  193. package/dist/collection/assets/t9n/instant-apps-filter-list/resources_pl.json +0 -16
  194. package/dist/collection/assets/t9n/instant-apps-filter-list/resources_pt-BR.json +0 -16
  195. package/dist/collection/assets/t9n/instant-apps-filter-list/resources_pt-PT.json +0 -16
  196. package/dist/collection/assets/t9n/instant-apps-filter-list/resources_ro.json +0 -16
  197. package/dist/collection/assets/t9n/instant-apps-filter-list/resources_ru.json +0 -16
  198. package/dist/collection/assets/t9n/instant-apps-filter-list/resources_sk.json +0 -16
  199. package/dist/collection/assets/t9n/instant-apps-filter-list/resources_sl.json +0 -16
  200. package/dist/collection/assets/t9n/instant-apps-filter-list/resources_sr.json +0 -16
  201. package/dist/collection/assets/t9n/instant-apps-filter-list/resources_sv.json +0 -16
  202. package/dist/collection/assets/t9n/instant-apps-filter-list/resources_th.json +0 -16
  203. package/dist/collection/assets/t9n/instant-apps-filter-list/resources_tr.json +0 -16
  204. package/dist/collection/assets/t9n/instant-apps-filter-list/resources_uk.json +0 -16
  205. package/dist/collection/assets/t9n/instant-apps-filter-list/resources_vi.json +0 -16
  206. package/dist/collection/assets/t9n/instant-apps-filter-list/resources_zh-CN.json +0 -16
  207. package/dist/collection/assets/t9n/instant-apps-filter-list/resources_zh-HK.json +0 -16
  208. package/dist/collection/assets/t9n/instant-apps-filter-list/resources_zh-TW.json +0 -16
  209. package/dist/collection/assets/t9n/instant-apps-interactive-legend/resources.json +0 -15
  210. package/dist/collection/assets/t9n/instant-apps-interactive-legend/resources_ar.json +0 -15
  211. package/dist/collection/assets/t9n/instant-apps-interactive-legend/resources_bg.json +0 -15
  212. package/dist/collection/assets/t9n/instant-apps-interactive-legend/resources_bs.json +0 -15
  213. package/dist/collection/assets/t9n/instant-apps-interactive-legend/resources_ca.json +0 -15
  214. package/dist/collection/assets/t9n/instant-apps-interactive-legend/resources_cs.json +0 -15
  215. package/dist/collection/assets/t9n/instant-apps-interactive-legend/resources_da.json +0 -15
  216. package/dist/collection/assets/t9n/instant-apps-interactive-legend/resources_de.json +0 -15
  217. package/dist/collection/assets/t9n/instant-apps-interactive-legend/resources_el.json +0 -15
  218. package/dist/collection/assets/t9n/instant-apps-interactive-legend/resources_en.json +0 -15
  219. package/dist/collection/assets/t9n/instant-apps-interactive-legend/resources_es.json +0 -15
  220. package/dist/collection/assets/t9n/instant-apps-interactive-legend/resources_et.json +0 -15
  221. package/dist/collection/assets/t9n/instant-apps-interactive-legend/resources_fi.json +0 -15
  222. package/dist/collection/assets/t9n/instant-apps-interactive-legend/resources_fr.json +0 -15
  223. package/dist/collection/assets/t9n/instant-apps-interactive-legend/resources_he.json +0 -15
  224. package/dist/collection/assets/t9n/instant-apps-interactive-legend/resources_hr.json +0 -15
  225. package/dist/collection/assets/t9n/instant-apps-interactive-legend/resources_hu.json +0 -15
  226. package/dist/collection/assets/t9n/instant-apps-interactive-legend/resources_id.json +0 -15
  227. package/dist/collection/assets/t9n/instant-apps-interactive-legend/resources_it.json +0 -15
  228. package/dist/collection/assets/t9n/instant-apps-interactive-legend/resources_ja.json +0 -15
  229. package/dist/collection/assets/t9n/instant-apps-interactive-legend/resources_ko.json +0 -15
  230. package/dist/collection/assets/t9n/instant-apps-interactive-legend/resources_lt.json +0 -15
  231. package/dist/collection/assets/t9n/instant-apps-interactive-legend/resources_lv.json +0 -15
  232. package/dist/collection/assets/t9n/instant-apps-interactive-legend/resources_nb.json +0 -15
  233. package/dist/collection/assets/t9n/instant-apps-interactive-legend/resources_nl.json +0 -15
  234. package/dist/collection/assets/t9n/instant-apps-interactive-legend/resources_pl.json +0 -15
  235. package/dist/collection/assets/t9n/instant-apps-interactive-legend/resources_pt-BR.json +0 -15
  236. package/dist/collection/assets/t9n/instant-apps-interactive-legend/resources_pt-PT.json +0 -15
  237. package/dist/collection/assets/t9n/instant-apps-interactive-legend/resources_ro.json +0 -15
  238. package/dist/collection/assets/t9n/instant-apps-interactive-legend/resources_ru.json +0 -15
  239. package/dist/collection/assets/t9n/instant-apps-interactive-legend/resources_sk.json +0 -15
  240. package/dist/collection/assets/t9n/instant-apps-interactive-legend/resources_sl.json +0 -15
  241. package/dist/collection/assets/t9n/instant-apps-interactive-legend/resources_sr.json +0 -15
  242. package/dist/collection/assets/t9n/instant-apps-interactive-legend/resources_sv.json +0 -15
  243. package/dist/collection/assets/t9n/instant-apps-interactive-legend/resources_th.json +0 -15
  244. package/dist/collection/assets/t9n/instant-apps-interactive-legend/resources_tr.json +0 -15
  245. package/dist/collection/assets/t9n/instant-apps-interactive-legend/resources_uk.json +0 -15
  246. package/dist/collection/assets/t9n/instant-apps-interactive-legend/resources_vi.json +0 -15
  247. package/dist/collection/assets/t9n/instant-apps-interactive-legend/resources_zh-CN.json +0 -15
  248. package/dist/collection/assets/t9n/instant-apps-interactive-legend/resources_zh-HK.json +0 -15
  249. package/dist/collection/assets/t9n/instant-apps-interactive-legend/resources_zh-TW.json +0 -15
  250. package/dist/collection/assets/t9n/instant-apps-keyboard-shortcuts/resources.json +0 -30
  251. package/dist/collection/assets/t9n/instant-apps-keyboard-shortcuts/resources_ar.json +0 -30
  252. package/dist/collection/assets/t9n/instant-apps-keyboard-shortcuts/resources_bg.json +0 -30
  253. package/dist/collection/assets/t9n/instant-apps-keyboard-shortcuts/resources_bs.json +0 -30
  254. package/dist/collection/assets/t9n/instant-apps-keyboard-shortcuts/resources_ca.json +0 -30
  255. package/dist/collection/assets/t9n/instant-apps-keyboard-shortcuts/resources_cs.json +0 -30
  256. package/dist/collection/assets/t9n/instant-apps-keyboard-shortcuts/resources_da.json +0 -30
  257. package/dist/collection/assets/t9n/instant-apps-keyboard-shortcuts/resources_de.json +0 -30
  258. package/dist/collection/assets/t9n/instant-apps-keyboard-shortcuts/resources_el.json +0 -30
  259. package/dist/collection/assets/t9n/instant-apps-keyboard-shortcuts/resources_en.json +0 -30
  260. package/dist/collection/assets/t9n/instant-apps-keyboard-shortcuts/resources_es.json +0 -30
  261. package/dist/collection/assets/t9n/instant-apps-keyboard-shortcuts/resources_et.json +0 -30
  262. package/dist/collection/assets/t9n/instant-apps-keyboard-shortcuts/resources_fi.json +0 -30
  263. package/dist/collection/assets/t9n/instant-apps-keyboard-shortcuts/resources_fr.json +0 -30
  264. package/dist/collection/assets/t9n/instant-apps-keyboard-shortcuts/resources_he.json +0 -30
  265. package/dist/collection/assets/t9n/instant-apps-keyboard-shortcuts/resources_hr.json +0 -30
  266. package/dist/collection/assets/t9n/instant-apps-keyboard-shortcuts/resources_hu.json +0 -30
  267. package/dist/collection/assets/t9n/instant-apps-keyboard-shortcuts/resources_id.json +0 -30
  268. package/dist/collection/assets/t9n/instant-apps-keyboard-shortcuts/resources_it.json +0 -30
  269. package/dist/collection/assets/t9n/instant-apps-keyboard-shortcuts/resources_ja.json +0 -30
  270. package/dist/collection/assets/t9n/instant-apps-keyboard-shortcuts/resources_ko.json +0 -30
  271. package/dist/collection/assets/t9n/instant-apps-keyboard-shortcuts/resources_lt.json +0 -30
  272. package/dist/collection/assets/t9n/instant-apps-keyboard-shortcuts/resources_lv.json +0 -30
  273. package/dist/collection/assets/t9n/instant-apps-keyboard-shortcuts/resources_nb.json +0 -30
  274. package/dist/collection/assets/t9n/instant-apps-keyboard-shortcuts/resources_nl.json +0 -30
  275. package/dist/collection/assets/t9n/instant-apps-keyboard-shortcuts/resources_pl.json +0 -30
  276. package/dist/collection/assets/t9n/instant-apps-keyboard-shortcuts/resources_pt-BR.json +0 -30
  277. package/dist/collection/assets/t9n/instant-apps-keyboard-shortcuts/resources_pt-PT.json +0 -30
  278. package/dist/collection/assets/t9n/instant-apps-keyboard-shortcuts/resources_ro.json +0 -30
  279. package/dist/collection/assets/t9n/instant-apps-keyboard-shortcuts/resources_ru.json +0 -30
  280. package/dist/collection/assets/t9n/instant-apps-keyboard-shortcuts/resources_sk.json +0 -30
  281. package/dist/collection/assets/t9n/instant-apps-keyboard-shortcuts/resources_sl.json +0 -30
  282. package/dist/collection/assets/t9n/instant-apps-keyboard-shortcuts/resources_sr.json +0 -30
  283. package/dist/collection/assets/t9n/instant-apps-keyboard-shortcuts/resources_sv.json +0 -30
  284. package/dist/collection/assets/t9n/instant-apps-keyboard-shortcuts/resources_th.json +0 -30
  285. package/dist/collection/assets/t9n/instant-apps-keyboard-shortcuts/resources_tr.json +0 -30
  286. package/dist/collection/assets/t9n/instant-apps-keyboard-shortcuts/resources_uk.json +0 -30
  287. package/dist/collection/assets/t9n/instant-apps-keyboard-shortcuts/resources_vi.json +0 -30
  288. package/dist/collection/assets/t9n/instant-apps-keyboard-shortcuts/resources_zh-CN.json +0 -30
  289. package/dist/collection/assets/t9n/instant-apps-keyboard-shortcuts/resources_zh-HK.json +0 -30
  290. package/dist/collection/assets/t9n/instant-apps-keyboard-shortcuts/resources_zh-TW.json +0 -30
  291. package/dist/collection/assets/t9n/instant-apps-language-translator/resources.json +0 -102
  292. package/dist/collection/assets/t9n/instant-apps-language-translator/resources_ar.json +0 -102
  293. package/dist/collection/assets/t9n/instant-apps-language-translator/resources_bg.json +0 -102
  294. package/dist/collection/assets/t9n/instant-apps-language-translator/resources_bs.json +0 -102
  295. package/dist/collection/assets/t9n/instant-apps-language-translator/resources_ca.json +0 -102
  296. package/dist/collection/assets/t9n/instant-apps-language-translator/resources_cs.json +0 -102
  297. package/dist/collection/assets/t9n/instant-apps-language-translator/resources_da.json +0 -102
  298. package/dist/collection/assets/t9n/instant-apps-language-translator/resources_de.json +0 -102
  299. package/dist/collection/assets/t9n/instant-apps-language-translator/resources_el.json +0 -102
  300. package/dist/collection/assets/t9n/instant-apps-language-translator/resources_en.json +0 -102
  301. package/dist/collection/assets/t9n/instant-apps-language-translator/resources_es.json +0 -102
  302. package/dist/collection/assets/t9n/instant-apps-language-translator/resources_et.json +0 -102
  303. package/dist/collection/assets/t9n/instant-apps-language-translator/resources_fi.json +0 -102
  304. package/dist/collection/assets/t9n/instant-apps-language-translator/resources_fr.json +0 -102
  305. package/dist/collection/assets/t9n/instant-apps-language-translator/resources_he.json +0 -102
  306. package/dist/collection/assets/t9n/instant-apps-language-translator/resources_hr.json +0 -102
  307. package/dist/collection/assets/t9n/instant-apps-language-translator/resources_hu.json +0 -102
  308. package/dist/collection/assets/t9n/instant-apps-language-translator/resources_id.json +0 -102
  309. package/dist/collection/assets/t9n/instant-apps-language-translator/resources_it.json +0 -102
  310. package/dist/collection/assets/t9n/instant-apps-language-translator/resources_ja.json +0 -102
  311. package/dist/collection/assets/t9n/instant-apps-language-translator/resources_ko.json +0 -102
  312. package/dist/collection/assets/t9n/instant-apps-language-translator/resources_lt.json +0 -102
  313. package/dist/collection/assets/t9n/instant-apps-language-translator/resources_lv.json +0 -102
  314. package/dist/collection/assets/t9n/instant-apps-language-translator/resources_nb.json +0 -102
  315. package/dist/collection/assets/t9n/instant-apps-language-translator/resources_nl.json +0 -102
  316. package/dist/collection/assets/t9n/instant-apps-language-translator/resources_pl.json +0 -102
  317. package/dist/collection/assets/t9n/instant-apps-language-translator/resources_pt-BR.json +0 -102
  318. package/dist/collection/assets/t9n/instant-apps-language-translator/resources_pt-PT.json +0 -102
  319. package/dist/collection/assets/t9n/instant-apps-language-translator/resources_ro.json +0 -102
  320. package/dist/collection/assets/t9n/instant-apps-language-translator/resources_ru.json +0 -102
  321. package/dist/collection/assets/t9n/instant-apps-language-translator/resources_sk.json +0 -102
  322. package/dist/collection/assets/t9n/instant-apps-language-translator/resources_sl.json +0 -102
  323. package/dist/collection/assets/t9n/instant-apps-language-translator/resources_sr.json +0 -102
  324. package/dist/collection/assets/t9n/instant-apps-language-translator/resources_sv.json +0 -102
  325. package/dist/collection/assets/t9n/instant-apps-language-translator/resources_th.json +0 -102
  326. package/dist/collection/assets/t9n/instant-apps-language-translator/resources_tr.json +0 -102
  327. package/dist/collection/assets/t9n/instant-apps-language-translator/resources_uk.json +0 -102
  328. package/dist/collection/assets/t9n/instant-apps-language-translator/resources_vi.json +0 -102
  329. package/dist/collection/assets/t9n/instant-apps-language-translator/resources_zh-CN.json +0 -102
  330. package/dist/collection/assets/t9n/instant-apps-language-translator/resources_zh-HK.json +0 -102
  331. package/dist/collection/assets/t9n/instant-apps-language-translator/resources_zh-TW.json +0 -102
  332. package/dist/collection/assets/t9n/instant-apps-measurement/resources.json +0 -7
  333. package/dist/collection/assets/t9n/instant-apps-measurement/resources_ar.json +0 -7
  334. package/dist/collection/assets/t9n/instant-apps-measurement/resources_bg.json +0 -7
  335. package/dist/collection/assets/t9n/instant-apps-measurement/resources_bs.json +0 -7
  336. package/dist/collection/assets/t9n/instant-apps-measurement/resources_ca.json +0 -7
  337. package/dist/collection/assets/t9n/instant-apps-measurement/resources_cs.json +0 -7
  338. package/dist/collection/assets/t9n/instant-apps-measurement/resources_da.json +0 -7
  339. package/dist/collection/assets/t9n/instant-apps-measurement/resources_de.json +0 -7
  340. package/dist/collection/assets/t9n/instant-apps-measurement/resources_el.json +0 -7
  341. package/dist/collection/assets/t9n/instant-apps-measurement/resources_en.json +0 -7
  342. package/dist/collection/assets/t9n/instant-apps-measurement/resources_es.json +0 -7
  343. package/dist/collection/assets/t9n/instant-apps-measurement/resources_et.json +0 -7
  344. package/dist/collection/assets/t9n/instant-apps-measurement/resources_fi.json +0 -7
  345. package/dist/collection/assets/t9n/instant-apps-measurement/resources_fr.json +0 -7
  346. package/dist/collection/assets/t9n/instant-apps-measurement/resources_he.json +0 -7
  347. package/dist/collection/assets/t9n/instant-apps-measurement/resources_hr.json +0 -7
  348. package/dist/collection/assets/t9n/instant-apps-measurement/resources_hu.json +0 -7
  349. package/dist/collection/assets/t9n/instant-apps-measurement/resources_id.json +0 -7
  350. package/dist/collection/assets/t9n/instant-apps-measurement/resources_it.json +0 -7
  351. package/dist/collection/assets/t9n/instant-apps-measurement/resources_ja.json +0 -7
  352. package/dist/collection/assets/t9n/instant-apps-measurement/resources_ko.json +0 -7
  353. package/dist/collection/assets/t9n/instant-apps-measurement/resources_lt.json +0 -7
  354. package/dist/collection/assets/t9n/instant-apps-measurement/resources_lv.json +0 -7
  355. package/dist/collection/assets/t9n/instant-apps-measurement/resources_nb.json +0 -7
  356. package/dist/collection/assets/t9n/instant-apps-measurement/resources_nl.json +0 -7
  357. package/dist/collection/assets/t9n/instant-apps-measurement/resources_pl.json +0 -7
  358. package/dist/collection/assets/t9n/instant-apps-measurement/resources_pt-BR.json +0 -7
  359. package/dist/collection/assets/t9n/instant-apps-measurement/resources_pt-PT.json +0 -7
  360. package/dist/collection/assets/t9n/instant-apps-measurement/resources_ro.json +0 -7
  361. package/dist/collection/assets/t9n/instant-apps-measurement/resources_ru.json +0 -7
  362. package/dist/collection/assets/t9n/instant-apps-measurement/resources_sk.json +0 -7
  363. package/dist/collection/assets/t9n/instant-apps-measurement/resources_sl.json +0 -7
  364. package/dist/collection/assets/t9n/instant-apps-measurement/resources_sr.json +0 -7
  365. package/dist/collection/assets/t9n/instant-apps-measurement/resources_sv.json +0 -7
  366. package/dist/collection/assets/t9n/instant-apps-measurement/resources_th.json +0 -7
  367. package/dist/collection/assets/t9n/instant-apps-measurement/resources_tr.json +0 -7
  368. package/dist/collection/assets/t9n/instant-apps-measurement/resources_uk.json +0 -7
  369. package/dist/collection/assets/t9n/instant-apps-measurement/resources_vi.json +0 -7
  370. package/dist/collection/assets/t9n/instant-apps-measurement/resources_zh-CN.json +0 -7
  371. package/dist/collection/assets/t9n/instant-apps-measurement/resources_zh-HK.json +0 -7
  372. package/dist/collection/assets/t9n/instant-apps-measurement/resources_zh-TW.json +0 -7
  373. package/dist/collection/assets/t9n/instant-apps-popover/resources.json +0 -7
  374. package/dist/collection/assets/t9n/instant-apps-popover/resources_ar.json +0 -6
  375. package/dist/collection/assets/t9n/instant-apps-popover/resources_bg.json +0 -6
  376. package/dist/collection/assets/t9n/instant-apps-popover/resources_bs.json +0 -6
  377. package/dist/collection/assets/t9n/instant-apps-popover/resources_ca.json +0 -6
  378. package/dist/collection/assets/t9n/instant-apps-popover/resources_cs.json +0 -6
  379. package/dist/collection/assets/t9n/instant-apps-popover/resources_da.json +0 -6
  380. package/dist/collection/assets/t9n/instant-apps-popover/resources_de.json +0 -6
  381. package/dist/collection/assets/t9n/instant-apps-popover/resources_el.json +0 -6
  382. package/dist/collection/assets/t9n/instant-apps-popover/resources_en.json +0 -7
  383. package/dist/collection/assets/t9n/instant-apps-popover/resources_es.json +0 -6
  384. package/dist/collection/assets/t9n/instant-apps-popover/resources_et.json +0 -6
  385. package/dist/collection/assets/t9n/instant-apps-popover/resources_fi.json +0 -6
  386. package/dist/collection/assets/t9n/instant-apps-popover/resources_fr.json +0 -6
  387. package/dist/collection/assets/t9n/instant-apps-popover/resources_he.json +0 -6
  388. package/dist/collection/assets/t9n/instant-apps-popover/resources_hr.json +0 -6
  389. package/dist/collection/assets/t9n/instant-apps-popover/resources_hu.json +0 -6
  390. package/dist/collection/assets/t9n/instant-apps-popover/resources_id.json +0 -6
  391. package/dist/collection/assets/t9n/instant-apps-popover/resources_it.json +0 -6
  392. package/dist/collection/assets/t9n/instant-apps-popover/resources_ja.json +0 -6
  393. package/dist/collection/assets/t9n/instant-apps-popover/resources_ko.json +0 -6
  394. package/dist/collection/assets/t9n/instant-apps-popover/resources_lt.json +0 -6
  395. package/dist/collection/assets/t9n/instant-apps-popover/resources_lv.json +0 -6
  396. package/dist/collection/assets/t9n/instant-apps-popover/resources_nb.json +0 -6
  397. package/dist/collection/assets/t9n/instant-apps-popover/resources_nl.json +0 -6
  398. package/dist/collection/assets/t9n/instant-apps-popover/resources_pl.json +0 -6
  399. package/dist/collection/assets/t9n/instant-apps-popover/resources_pt-BR.json +0 -6
  400. package/dist/collection/assets/t9n/instant-apps-popover/resources_pt-PT.json +0 -6
  401. package/dist/collection/assets/t9n/instant-apps-popover/resources_ro.json +0 -6
  402. package/dist/collection/assets/t9n/instant-apps-popover/resources_ru.json +0 -6
  403. package/dist/collection/assets/t9n/instant-apps-popover/resources_sk.json +0 -6
  404. package/dist/collection/assets/t9n/instant-apps-popover/resources_sl.json +0 -6
  405. package/dist/collection/assets/t9n/instant-apps-popover/resources_sr.json +0 -6
  406. package/dist/collection/assets/t9n/instant-apps-popover/resources_sv.json +0 -6
  407. package/dist/collection/assets/t9n/instant-apps-popover/resources_th.json +0 -6
  408. package/dist/collection/assets/t9n/instant-apps-popover/resources_tr.json +0 -6
  409. package/dist/collection/assets/t9n/instant-apps-popover/resources_uk.json +0 -6
  410. package/dist/collection/assets/t9n/instant-apps-popover/resources_vi.json +0 -6
  411. package/dist/collection/assets/t9n/instant-apps-popover/resources_zh-CN.json +0 -6
  412. package/dist/collection/assets/t9n/instant-apps-popover/resources_zh-HK.json +0 -6
  413. package/dist/collection/assets/t9n/instant-apps-popover/resources_zh-TW.json +0 -6
  414. package/dist/collection/assets/t9n/instant-apps-scoreboard/resources.json +0 -7
  415. package/dist/collection/assets/t9n/instant-apps-scoreboard/resources_ar.json +0 -7
  416. package/dist/collection/assets/t9n/instant-apps-scoreboard/resources_bg.json +0 -7
  417. package/dist/collection/assets/t9n/instant-apps-scoreboard/resources_bs.json +0 -7
  418. package/dist/collection/assets/t9n/instant-apps-scoreboard/resources_ca.json +0 -7
  419. package/dist/collection/assets/t9n/instant-apps-scoreboard/resources_cs.json +0 -7
  420. package/dist/collection/assets/t9n/instant-apps-scoreboard/resources_da.json +0 -7
  421. package/dist/collection/assets/t9n/instant-apps-scoreboard/resources_de.json +0 -7
  422. package/dist/collection/assets/t9n/instant-apps-scoreboard/resources_el.json +0 -7
  423. package/dist/collection/assets/t9n/instant-apps-scoreboard/resources_en.json +0 -7
  424. package/dist/collection/assets/t9n/instant-apps-scoreboard/resources_es.json +0 -7
  425. package/dist/collection/assets/t9n/instant-apps-scoreboard/resources_et.json +0 -7
  426. package/dist/collection/assets/t9n/instant-apps-scoreboard/resources_fi.json +0 -7
  427. package/dist/collection/assets/t9n/instant-apps-scoreboard/resources_fr.json +0 -7
  428. package/dist/collection/assets/t9n/instant-apps-scoreboard/resources_he.json +0 -7
  429. package/dist/collection/assets/t9n/instant-apps-scoreboard/resources_hr.json +0 -7
  430. package/dist/collection/assets/t9n/instant-apps-scoreboard/resources_hu.json +0 -7
  431. package/dist/collection/assets/t9n/instant-apps-scoreboard/resources_id.json +0 -7
  432. package/dist/collection/assets/t9n/instant-apps-scoreboard/resources_it.json +0 -7
  433. package/dist/collection/assets/t9n/instant-apps-scoreboard/resources_ja.json +0 -7
  434. package/dist/collection/assets/t9n/instant-apps-scoreboard/resources_ko.json +0 -7
  435. package/dist/collection/assets/t9n/instant-apps-scoreboard/resources_lt.json +0 -7
  436. package/dist/collection/assets/t9n/instant-apps-scoreboard/resources_lv.json +0 -7
  437. package/dist/collection/assets/t9n/instant-apps-scoreboard/resources_nb.json +0 -7
  438. package/dist/collection/assets/t9n/instant-apps-scoreboard/resources_nl.json +0 -7
  439. package/dist/collection/assets/t9n/instant-apps-scoreboard/resources_pl.json +0 -7
  440. package/dist/collection/assets/t9n/instant-apps-scoreboard/resources_pt-BR.json +0 -7
  441. package/dist/collection/assets/t9n/instant-apps-scoreboard/resources_pt-PT.json +0 -7
  442. package/dist/collection/assets/t9n/instant-apps-scoreboard/resources_ro.json +0 -7
  443. package/dist/collection/assets/t9n/instant-apps-scoreboard/resources_ru.json +0 -7
  444. package/dist/collection/assets/t9n/instant-apps-scoreboard/resources_sk.json +0 -7
  445. package/dist/collection/assets/t9n/instant-apps-scoreboard/resources_sl.json +0 -7
  446. package/dist/collection/assets/t9n/instant-apps-scoreboard/resources_sr.json +0 -7
  447. package/dist/collection/assets/t9n/instant-apps-scoreboard/resources_sv.json +0 -7
  448. package/dist/collection/assets/t9n/instant-apps-scoreboard/resources_th.json +0 -7
  449. package/dist/collection/assets/t9n/instant-apps-scoreboard/resources_tr.json +0 -7
  450. package/dist/collection/assets/t9n/instant-apps-scoreboard/resources_uk.json +0 -7
  451. package/dist/collection/assets/t9n/instant-apps-scoreboard/resources_vi.json +0 -7
  452. package/dist/collection/assets/t9n/instant-apps-scoreboard/resources_zh-CN.json +0 -7
  453. package/dist/collection/assets/t9n/instant-apps-scoreboard/resources_zh-HK.json +0 -7
  454. package/dist/collection/assets/t9n/instant-apps-scoreboard/resources_zh-TW.json +0 -7
  455. package/dist/collection/assets/t9n/instant-apps-social-share/resources.json +0 -38
  456. package/dist/collection/assets/t9n/instant-apps-social-share/resources_ar.json +0 -38
  457. package/dist/collection/assets/t9n/instant-apps-social-share/resources_bg.json +0 -38
  458. package/dist/collection/assets/t9n/instant-apps-social-share/resources_bs.json +0 -38
  459. package/dist/collection/assets/t9n/instant-apps-social-share/resources_ca.json +0 -38
  460. package/dist/collection/assets/t9n/instant-apps-social-share/resources_cs.json +0 -38
  461. package/dist/collection/assets/t9n/instant-apps-social-share/resources_da.json +0 -38
  462. package/dist/collection/assets/t9n/instant-apps-social-share/resources_de.json +0 -38
  463. package/dist/collection/assets/t9n/instant-apps-social-share/resources_el.json +0 -38
  464. package/dist/collection/assets/t9n/instant-apps-social-share/resources_en.json +0 -38
  465. package/dist/collection/assets/t9n/instant-apps-social-share/resources_es.json +0 -38
  466. package/dist/collection/assets/t9n/instant-apps-social-share/resources_et.json +0 -38
  467. package/dist/collection/assets/t9n/instant-apps-social-share/resources_fi.json +0 -38
  468. package/dist/collection/assets/t9n/instant-apps-social-share/resources_fr.json +0 -38
  469. package/dist/collection/assets/t9n/instant-apps-social-share/resources_he.json +0 -38
  470. package/dist/collection/assets/t9n/instant-apps-social-share/resources_hr.json +0 -38
  471. package/dist/collection/assets/t9n/instant-apps-social-share/resources_hu.json +0 -38
  472. package/dist/collection/assets/t9n/instant-apps-social-share/resources_id.json +0 -38
  473. package/dist/collection/assets/t9n/instant-apps-social-share/resources_it.json +0 -38
  474. package/dist/collection/assets/t9n/instant-apps-social-share/resources_ja.json +0 -38
  475. package/dist/collection/assets/t9n/instant-apps-social-share/resources_ko.json +0 -38
  476. package/dist/collection/assets/t9n/instant-apps-social-share/resources_lt.json +0 -38
  477. package/dist/collection/assets/t9n/instant-apps-social-share/resources_lv.json +0 -38
  478. package/dist/collection/assets/t9n/instant-apps-social-share/resources_nb.json +0 -38
  479. package/dist/collection/assets/t9n/instant-apps-social-share/resources_nl.json +0 -38
  480. package/dist/collection/assets/t9n/instant-apps-social-share/resources_pl.json +0 -38
  481. package/dist/collection/assets/t9n/instant-apps-social-share/resources_pt-BR.json +0 -38
  482. package/dist/collection/assets/t9n/instant-apps-social-share/resources_pt-PT.json +0 -38
  483. package/dist/collection/assets/t9n/instant-apps-social-share/resources_ro.json +0 -38
  484. package/dist/collection/assets/t9n/instant-apps-social-share/resources_ru.json +0 -38
  485. package/dist/collection/assets/t9n/instant-apps-social-share/resources_sk.json +0 -38
  486. package/dist/collection/assets/t9n/instant-apps-social-share/resources_sl.json +0 -38
  487. package/dist/collection/assets/t9n/instant-apps-social-share/resources_sr.json +0 -38
  488. package/dist/collection/assets/t9n/instant-apps-social-share/resources_sv.json +0 -38
  489. package/dist/collection/assets/t9n/instant-apps-social-share/resources_th.json +0 -38
  490. package/dist/collection/assets/t9n/instant-apps-social-share/resources_tr.json +0 -38
  491. package/dist/collection/assets/t9n/instant-apps-social-share/resources_uk.json +0 -38
  492. package/dist/collection/assets/t9n/instant-apps-social-share/resources_vi.json +0 -38
  493. package/dist/collection/assets/t9n/instant-apps-social-share/resources_zh-CN.json +0 -38
  494. package/dist/collection/assets/t9n/instant-apps-social-share/resources_zh-HK.json +0 -38
  495. package/dist/collection/assets/t9n/instant-apps-social-share/resources_zh-TW.json +0 -38
  496. package/dist/collection/assets/t9n/instant-apps-splash/resources.json +0 -3
  497. package/dist/collection/assets/t9n/instant-apps-splash/resources_en.json +0 -3
  498. package/dist/collection/assets/t9n/json-editor/resources_en.json +0 -8
  499. package/dist/collection/assets/t9n/layer-list/resources_en.json +0 -4
  500. package/dist/collection/assets/t9n/layer-table/resources_en.json +0 -25
  501. package/dist/collection/assets/t9n/map-card/resources_en.json +0 -10
  502. package/dist/collection/assets/t9n/map-draw-tools/resources_en.json +0 -5
  503. package/dist/collection/assets/t9n/map-layer-picker/resources_en.json +0 -5
  504. package/dist/collection/assets/t9n/map-picker/resources_en.json +0 -3
  505. package/dist/collection/assets/t9n/map-search/resources_en.json +0 -3
  506. package/dist/collection/assets/t9n/map-select-tools/resources_en.json +0 -16
  507. package/dist/collection/assets/t9n/map-tools/resources_en.json +0 -10
  508. package/dist/collection/assets/t9n/media-card/resources.json +0 -3
  509. package/dist/collection/assets/t9n/media-card/resources_ar.json +0 -3
  510. package/dist/collection/assets/t9n/media-card/resources_bg.json +0 -3
  511. package/dist/collection/assets/t9n/media-card/resources_bs.json +0 -3
  512. package/dist/collection/assets/t9n/media-card/resources_ca.json +0 -3
  513. package/dist/collection/assets/t9n/media-card/resources_cs.json +0 -3
  514. package/dist/collection/assets/t9n/media-card/resources_da.json +0 -3
  515. package/dist/collection/assets/t9n/media-card/resources_de.json +0 -3
  516. package/dist/collection/assets/t9n/media-card/resources_el.json +0 -3
  517. package/dist/collection/assets/t9n/media-card/resources_en.json +0 -3
  518. package/dist/collection/assets/t9n/media-card/resources_es.json +0 -3
  519. package/dist/collection/assets/t9n/media-card/resources_et.json +0 -3
  520. package/dist/collection/assets/t9n/media-card/resources_fi.json +0 -3
  521. package/dist/collection/assets/t9n/media-card/resources_fr.json +0 -3
  522. package/dist/collection/assets/t9n/media-card/resources_he.json +0 -3
  523. package/dist/collection/assets/t9n/media-card/resources_hr.json +0 -3
  524. package/dist/collection/assets/t9n/media-card/resources_hu.json +0 -3
  525. package/dist/collection/assets/t9n/media-card/resources_id.json +0 -3
  526. package/dist/collection/assets/t9n/media-card/resources_it.json +0 -3
  527. package/dist/collection/assets/t9n/media-card/resources_ja.json +0 -3
  528. package/dist/collection/assets/t9n/media-card/resources_ko.json +0 -3
  529. package/dist/collection/assets/t9n/media-card/resources_lt.json +0 -3
  530. package/dist/collection/assets/t9n/media-card/resources_lv.json +0 -3
  531. package/dist/collection/assets/t9n/media-card/resources_nb.json +0 -3
  532. package/dist/collection/assets/t9n/media-card/resources_nl.json +0 -3
  533. package/dist/collection/assets/t9n/media-card/resources_pl.json +0 -3
  534. package/dist/collection/assets/t9n/media-card/resources_pt-BR.json +0 -3
  535. package/dist/collection/assets/t9n/media-card/resources_pt-PT.json +0 -3
  536. package/dist/collection/assets/t9n/media-card/resources_ro.json +0 -3
  537. package/dist/collection/assets/t9n/media-card/resources_ru.json +0 -3
  538. package/dist/collection/assets/t9n/media-card/resources_sk.json +0 -3
  539. package/dist/collection/assets/t9n/media-card/resources_sl.json +0 -3
  540. package/dist/collection/assets/t9n/media-card/resources_sr.json +0 -3
  541. package/dist/collection/assets/t9n/media-card/resources_sv.json +0 -3
  542. package/dist/collection/assets/t9n/media-card/resources_th.json +0 -3
  543. package/dist/collection/assets/t9n/media-card/resources_tr.json +0 -3
  544. package/dist/collection/assets/t9n/media-card/resources_uk.json +0 -3
  545. package/dist/collection/assets/t9n/media-card/resources_vi.json +0 -3
  546. package/dist/collection/assets/t9n/media-card/resources_zh-CN.json +0 -3
  547. package/dist/collection/assets/t9n/media-card/resources_zh-HK.json +0 -3
  548. package/dist/collection/assets/t9n/media-card/resources_zh-TW.json +0 -3
  549. package/dist/collection/assets/t9n/pdf-download/resources_en.json +0 -3
  550. package/dist/collection/assets/t9n/public-notification/resources_en.json +0 -44
  551. package/dist/collection/assets/t9n/refine-selection/resources_en.json +0 -9
  552. package/dist/collection/assets/t9n/share-item/resources.json +0 -3
  553. package/dist/collection/assets/t9n/share-item/resources_en.json +0 -3
  554. package/dist/collection/assets/t9n/solution-configuration/resources_en.json +0 -15
  555. package/dist/collection/assets/t9n/solution-item/resources_en.json +0 -8
  556. package/dist/collection/assets/t9n/solution-item-accordion/resources_en.json +0 -3
  557. package/dist/collection/assets/t9n/solution-item-details/resources_en.json +0 -8
  558. package/dist/collection/assets/t9n/solution-item-sharing/resources_en.json +0 -3
  559. package/dist/collection/assets/t9n/solution-organization-variables/resources_en.json +0 -3
  560. package/dist/collection/assets/t9n/solution-resource-item/resources_en.json +0 -8
  561. package/dist/collection/assets/t9n/solution-spatial-ref/resources_en.json +0 -5
  562. package/dist/collection/assets/t9n/solution-template-data/resources_en.json +0 -5
  563. package/dist/collection/assets/t9n/solution-variables/resources_en.json +0 -3
  564. package/dist/collection/assets/t9n/spatial-ref/resources_en.json +0 -3
  565. package/dist/collection/assets/t9n/store-manager/resources_en.json +0 -3
  566. package/dist/solutions-components/assets/t9n/add-record-modal/resources.json +0 -10
  567. package/dist/solutions-components/assets/t9n/add-record-modal/resources_en.json +0 -10
  568. package/dist/solutions-components/assets/t9n/arcgis-login/resources.json +0 -3
  569. package/dist/solutions-components/assets/t9n/arcgis-login/resources_en.json +0 -3
  570. package/dist/solutions-components/assets/t9n/buffer-tools/resources_en.json +0 -6
  571. package/dist/solutions-components/assets/t9n/card-manager/resources_en.json +0 -7
  572. package/dist/solutions-components/assets/t9n/comment-card/resources.json +0 -4
  573. package/dist/solutions-components/assets/t9n/comment-card/resources_ar.json +0 -4
  574. package/dist/solutions-components/assets/t9n/comment-card/resources_bg.json +0 -4
  575. package/dist/solutions-components/assets/t9n/comment-card/resources_bs.json +0 -4
  576. package/dist/solutions-components/assets/t9n/comment-card/resources_ca.json +0 -4
  577. package/dist/solutions-components/assets/t9n/comment-card/resources_cs.json +0 -4
  578. package/dist/solutions-components/assets/t9n/comment-card/resources_da.json +0 -4
  579. package/dist/solutions-components/assets/t9n/comment-card/resources_de.json +0 -4
  580. package/dist/solutions-components/assets/t9n/comment-card/resources_el.json +0 -4
  581. package/dist/solutions-components/assets/t9n/comment-card/resources_en.json +0 -4
  582. package/dist/solutions-components/assets/t9n/comment-card/resources_es.json +0 -4
  583. package/dist/solutions-components/assets/t9n/comment-card/resources_et.json +0 -4
  584. package/dist/solutions-components/assets/t9n/comment-card/resources_fi.json +0 -4
  585. package/dist/solutions-components/assets/t9n/comment-card/resources_fr.json +0 -4
  586. package/dist/solutions-components/assets/t9n/comment-card/resources_he.json +0 -4
  587. package/dist/solutions-components/assets/t9n/comment-card/resources_hr.json +0 -4
  588. package/dist/solutions-components/assets/t9n/comment-card/resources_hu.json +0 -4
  589. package/dist/solutions-components/assets/t9n/comment-card/resources_id.json +0 -4
  590. package/dist/solutions-components/assets/t9n/comment-card/resources_it.json +0 -4
  591. package/dist/solutions-components/assets/t9n/comment-card/resources_ja.json +0 -4
  592. package/dist/solutions-components/assets/t9n/comment-card/resources_ko.json +0 -4
  593. package/dist/solutions-components/assets/t9n/comment-card/resources_lt.json +0 -4
  594. package/dist/solutions-components/assets/t9n/comment-card/resources_lv.json +0 -4
  595. package/dist/solutions-components/assets/t9n/comment-card/resources_nb.json +0 -4
  596. package/dist/solutions-components/assets/t9n/comment-card/resources_nl.json +0 -4
  597. package/dist/solutions-components/assets/t9n/comment-card/resources_no.json +0 -4
  598. package/dist/solutions-components/assets/t9n/comment-card/resources_pl.json +0 -4
  599. package/dist/solutions-components/assets/t9n/comment-card/resources_pt-BR.json +0 -4
  600. package/dist/solutions-components/assets/t9n/comment-card/resources_pt-PT.json +0 -4
  601. package/dist/solutions-components/assets/t9n/comment-card/resources_ro.json +0 -4
  602. package/dist/solutions-components/assets/t9n/comment-card/resources_ru.json +0 -4
  603. package/dist/solutions-components/assets/t9n/comment-card/resources_sk.json +0 -4
  604. package/dist/solutions-components/assets/t9n/comment-card/resources_sl.json +0 -4
  605. package/dist/solutions-components/assets/t9n/comment-card/resources_sr.json +0 -4
  606. package/dist/solutions-components/assets/t9n/comment-card/resources_sv.json +0 -4
  607. package/dist/solutions-components/assets/t9n/comment-card/resources_th.json +0 -4
  608. package/dist/solutions-components/assets/t9n/comment-card/resources_tr.json +0 -4
  609. package/dist/solutions-components/assets/t9n/comment-card/resources_uk.json +0 -4
  610. package/dist/solutions-components/assets/t9n/comment-card/resources_vi.json +0 -4
  611. package/dist/solutions-components/assets/t9n/comment-card/resources_zh-CN.json +0 -4
  612. package/dist/solutions-components/assets/t9n/comment-card/resources_zh-HK.json +0 -4
  613. package/dist/solutions-components/assets/t9n/comment-card/resources_zh-TW.json +0 -4
  614. package/dist/solutions-components/assets/t9n/consent-manager/resources_en.json +0 -5
  615. package/dist/solutions-components/assets/t9n/create-feature/resources_en.json +0 -5
  616. package/dist/solutions-components/assets/t9n/create-related-feature/resources_en.json +0 -3
  617. package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_en.json +0 -15
  618. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_en.json +0 -32
  619. package/dist/solutions-components/assets/t9n/delete-button/resources_en.json +0 -8
  620. package/dist/solutions-components/assets/t9n/delete-dialog/resources_en.json +0 -8
  621. package/dist/solutions-components/assets/t9n/edit-card/resources_en.json +0 -3
  622. package/dist/solutions-components/assets/t9n/feature-list/resources_en.json +0 -8
  623. package/dist/solutions-components/assets/t9n/info-card/resources_en.json +0 -10
  624. package/dist/solutions-components/assets/t9n/instant-apps-export/resources.json +0 -12
  625. package/dist/solutions-components/assets/t9n/instant-apps-export/resources_ar.json +0 -11
  626. package/dist/solutions-components/assets/t9n/instant-apps-export/resources_bg.json +0 -11
  627. package/dist/solutions-components/assets/t9n/instant-apps-export/resources_bs.json +0 -11
  628. package/dist/solutions-components/assets/t9n/instant-apps-export/resources_ca.json +0 -11
  629. package/dist/solutions-components/assets/t9n/instant-apps-export/resources_cs.json +0 -11
  630. package/dist/solutions-components/assets/t9n/instant-apps-export/resources_da.json +0 -11
  631. package/dist/solutions-components/assets/t9n/instant-apps-export/resources_de.json +0 -11
  632. package/dist/solutions-components/assets/t9n/instant-apps-export/resources_el.json +0 -11
  633. package/dist/solutions-components/assets/t9n/instant-apps-export/resources_en.json +0 -12
  634. package/dist/solutions-components/assets/t9n/instant-apps-export/resources_es.json +0 -11
  635. package/dist/solutions-components/assets/t9n/instant-apps-export/resources_et.json +0 -11
  636. package/dist/solutions-components/assets/t9n/instant-apps-export/resources_fi.json +0 -11
  637. package/dist/solutions-components/assets/t9n/instant-apps-export/resources_fr.json +0 -11
  638. package/dist/solutions-components/assets/t9n/instant-apps-export/resources_he.json +0 -11
  639. package/dist/solutions-components/assets/t9n/instant-apps-export/resources_hr.json +0 -11
  640. package/dist/solutions-components/assets/t9n/instant-apps-export/resources_hu.json +0 -11
  641. package/dist/solutions-components/assets/t9n/instant-apps-export/resources_id.json +0 -11
  642. package/dist/solutions-components/assets/t9n/instant-apps-export/resources_it.json +0 -11
  643. package/dist/solutions-components/assets/t9n/instant-apps-export/resources_ja.json +0 -11
  644. package/dist/solutions-components/assets/t9n/instant-apps-export/resources_ko.json +0 -11
  645. package/dist/solutions-components/assets/t9n/instant-apps-export/resources_lt.json +0 -11
  646. package/dist/solutions-components/assets/t9n/instant-apps-export/resources_lv.json +0 -11
  647. package/dist/solutions-components/assets/t9n/instant-apps-export/resources_nb.json +0 -11
  648. package/dist/solutions-components/assets/t9n/instant-apps-export/resources_nl.json +0 -11
  649. package/dist/solutions-components/assets/t9n/instant-apps-export/resources_pl.json +0 -11
  650. package/dist/solutions-components/assets/t9n/instant-apps-export/resources_pt-BR.json +0 -11
  651. package/dist/solutions-components/assets/t9n/instant-apps-export/resources_pt-PT.json +0 -11
  652. package/dist/solutions-components/assets/t9n/instant-apps-export/resources_ro.json +0 -11
  653. package/dist/solutions-components/assets/t9n/instant-apps-export/resources_ru.json +0 -11
  654. package/dist/solutions-components/assets/t9n/instant-apps-export/resources_sk.json +0 -11
  655. package/dist/solutions-components/assets/t9n/instant-apps-export/resources_sl.json +0 -11
  656. package/dist/solutions-components/assets/t9n/instant-apps-export/resources_sr.json +0 -11
  657. package/dist/solutions-components/assets/t9n/instant-apps-export/resources_sv.json +0 -11
  658. package/dist/solutions-components/assets/t9n/instant-apps-export/resources_th.json +0 -11
  659. package/dist/solutions-components/assets/t9n/instant-apps-export/resources_tr.json +0 -11
  660. package/dist/solutions-components/assets/t9n/instant-apps-export/resources_uk.json +0 -11
  661. package/dist/solutions-components/assets/t9n/instant-apps-export/resources_vi.json +0 -11
  662. package/dist/solutions-components/assets/t9n/instant-apps-export/resources_zh-CN.json +0 -11
  663. package/dist/solutions-components/assets/t9n/instant-apps-export/resources_zh-HK.json +0 -11
  664. package/dist/solutions-components/assets/t9n/instant-apps-export/resources_zh-TW.json +0 -11
  665. package/dist/solutions-components/assets/t9n/instant-apps-filter-list/resources.json +0 -16
  666. package/dist/solutions-components/assets/t9n/instant-apps-filter-list/resources_ar.json +0 -16
  667. package/dist/solutions-components/assets/t9n/instant-apps-filter-list/resources_bg.json +0 -16
  668. package/dist/solutions-components/assets/t9n/instant-apps-filter-list/resources_bs.json +0 -16
  669. package/dist/solutions-components/assets/t9n/instant-apps-filter-list/resources_ca.json +0 -16
  670. package/dist/solutions-components/assets/t9n/instant-apps-filter-list/resources_cs.json +0 -16
  671. package/dist/solutions-components/assets/t9n/instant-apps-filter-list/resources_da.json +0 -16
  672. package/dist/solutions-components/assets/t9n/instant-apps-filter-list/resources_de.json +0 -16
  673. package/dist/solutions-components/assets/t9n/instant-apps-filter-list/resources_el.json +0 -16
  674. package/dist/solutions-components/assets/t9n/instant-apps-filter-list/resources_en.json +0 -16
  675. package/dist/solutions-components/assets/t9n/instant-apps-filter-list/resources_es.json +0 -16
  676. package/dist/solutions-components/assets/t9n/instant-apps-filter-list/resources_et.json +0 -16
  677. package/dist/solutions-components/assets/t9n/instant-apps-filter-list/resources_fi.json +0 -16
  678. package/dist/solutions-components/assets/t9n/instant-apps-filter-list/resources_fr.json +0 -16
  679. package/dist/solutions-components/assets/t9n/instant-apps-filter-list/resources_he.json +0 -16
  680. package/dist/solutions-components/assets/t9n/instant-apps-filter-list/resources_hr.json +0 -16
  681. package/dist/solutions-components/assets/t9n/instant-apps-filter-list/resources_hu.json +0 -16
  682. package/dist/solutions-components/assets/t9n/instant-apps-filter-list/resources_id.json +0 -16
  683. package/dist/solutions-components/assets/t9n/instant-apps-filter-list/resources_it.json +0 -16
  684. package/dist/solutions-components/assets/t9n/instant-apps-filter-list/resources_ja.json +0 -16
  685. package/dist/solutions-components/assets/t9n/instant-apps-filter-list/resources_ko.json +0 -16
  686. package/dist/solutions-components/assets/t9n/instant-apps-filter-list/resources_lt.json +0 -16
  687. package/dist/solutions-components/assets/t9n/instant-apps-filter-list/resources_lv.json +0 -16
  688. package/dist/solutions-components/assets/t9n/instant-apps-filter-list/resources_nb.json +0 -16
  689. package/dist/solutions-components/assets/t9n/instant-apps-filter-list/resources_nl.json +0 -16
  690. package/dist/solutions-components/assets/t9n/instant-apps-filter-list/resources_pl.json +0 -16
  691. package/dist/solutions-components/assets/t9n/instant-apps-filter-list/resources_pt-BR.json +0 -16
  692. package/dist/solutions-components/assets/t9n/instant-apps-filter-list/resources_pt-PT.json +0 -16
  693. package/dist/solutions-components/assets/t9n/instant-apps-filter-list/resources_ro.json +0 -16
  694. package/dist/solutions-components/assets/t9n/instant-apps-filter-list/resources_ru.json +0 -16
  695. package/dist/solutions-components/assets/t9n/instant-apps-filter-list/resources_sk.json +0 -16
  696. package/dist/solutions-components/assets/t9n/instant-apps-filter-list/resources_sl.json +0 -16
  697. package/dist/solutions-components/assets/t9n/instant-apps-filter-list/resources_sr.json +0 -16
  698. package/dist/solutions-components/assets/t9n/instant-apps-filter-list/resources_sv.json +0 -16
  699. package/dist/solutions-components/assets/t9n/instant-apps-filter-list/resources_th.json +0 -16
  700. package/dist/solutions-components/assets/t9n/instant-apps-filter-list/resources_tr.json +0 -16
  701. package/dist/solutions-components/assets/t9n/instant-apps-filter-list/resources_uk.json +0 -16
  702. package/dist/solutions-components/assets/t9n/instant-apps-filter-list/resources_vi.json +0 -16
  703. package/dist/solutions-components/assets/t9n/instant-apps-filter-list/resources_zh-CN.json +0 -16
  704. package/dist/solutions-components/assets/t9n/instant-apps-filter-list/resources_zh-HK.json +0 -16
  705. package/dist/solutions-components/assets/t9n/instant-apps-filter-list/resources_zh-TW.json +0 -16
  706. package/dist/solutions-components/assets/t9n/instant-apps-interactive-legend/resources.json +0 -15
  707. package/dist/solutions-components/assets/t9n/instant-apps-interactive-legend/resources_ar.json +0 -15
  708. package/dist/solutions-components/assets/t9n/instant-apps-interactive-legend/resources_bg.json +0 -15
  709. package/dist/solutions-components/assets/t9n/instant-apps-interactive-legend/resources_bs.json +0 -15
  710. package/dist/solutions-components/assets/t9n/instant-apps-interactive-legend/resources_ca.json +0 -15
  711. package/dist/solutions-components/assets/t9n/instant-apps-interactive-legend/resources_cs.json +0 -15
  712. package/dist/solutions-components/assets/t9n/instant-apps-interactive-legend/resources_da.json +0 -15
  713. package/dist/solutions-components/assets/t9n/instant-apps-interactive-legend/resources_de.json +0 -15
  714. package/dist/solutions-components/assets/t9n/instant-apps-interactive-legend/resources_el.json +0 -15
  715. package/dist/solutions-components/assets/t9n/instant-apps-interactive-legend/resources_en.json +0 -15
  716. package/dist/solutions-components/assets/t9n/instant-apps-interactive-legend/resources_es.json +0 -15
  717. package/dist/solutions-components/assets/t9n/instant-apps-interactive-legend/resources_et.json +0 -15
  718. package/dist/solutions-components/assets/t9n/instant-apps-interactive-legend/resources_fi.json +0 -15
  719. package/dist/solutions-components/assets/t9n/instant-apps-interactive-legend/resources_fr.json +0 -15
  720. package/dist/solutions-components/assets/t9n/instant-apps-interactive-legend/resources_he.json +0 -15
  721. package/dist/solutions-components/assets/t9n/instant-apps-interactive-legend/resources_hr.json +0 -15
  722. package/dist/solutions-components/assets/t9n/instant-apps-interactive-legend/resources_hu.json +0 -15
  723. package/dist/solutions-components/assets/t9n/instant-apps-interactive-legend/resources_id.json +0 -15
  724. package/dist/solutions-components/assets/t9n/instant-apps-interactive-legend/resources_it.json +0 -15
  725. package/dist/solutions-components/assets/t9n/instant-apps-interactive-legend/resources_ja.json +0 -15
  726. package/dist/solutions-components/assets/t9n/instant-apps-interactive-legend/resources_ko.json +0 -15
  727. package/dist/solutions-components/assets/t9n/instant-apps-interactive-legend/resources_lt.json +0 -15
  728. package/dist/solutions-components/assets/t9n/instant-apps-interactive-legend/resources_lv.json +0 -15
  729. package/dist/solutions-components/assets/t9n/instant-apps-interactive-legend/resources_nb.json +0 -15
  730. package/dist/solutions-components/assets/t9n/instant-apps-interactive-legend/resources_nl.json +0 -15
  731. package/dist/solutions-components/assets/t9n/instant-apps-interactive-legend/resources_pl.json +0 -15
  732. package/dist/solutions-components/assets/t9n/instant-apps-interactive-legend/resources_pt-BR.json +0 -15
  733. package/dist/solutions-components/assets/t9n/instant-apps-interactive-legend/resources_pt-PT.json +0 -15
  734. package/dist/solutions-components/assets/t9n/instant-apps-interactive-legend/resources_ro.json +0 -15
  735. package/dist/solutions-components/assets/t9n/instant-apps-interactive-legend/resources_ru.json +0 -15
  736. package/dist/solutions-components/assets/t9n/instant-apps-interactive-legend/resources_sk.json +0 -15
  737. package/dist/solutions-components/assets/t9n/instant-apps-interactive-legend/resources_sl.json +0 -15
  738. package/dist/solutions-components/assets/t9n/instant-apps-interactive-legend/resources_sr.json +0 -15
  739. package/dist/solutions-components/assets/t9n/instant-apps-interactive-legend/resources_sv.json +0 -15
  740. package/dist/solutions-components/assets/t9n/instant-apps-interactive-legend/resources_th.json +0 -15
  741. package/dist/solutions-components/assets/t9n/instant-apps-interactive-legend/resources_tr.json +0 -15
  742. package/dist/solutions-components/assets/t9n/instant-apps-interactive-legend/resources_uk.json +0 -15
  743. package/dist/solutions-components/assets/t9n/instant-apps-interactive-legend/resources_vi.json +0 -15
  744. package/dist/solutions-components/assets/t9n/instant-apps-interactive-legend/resources_zh-CN.json +0 -15
  745. package/dist/solutions-components/assets/t9n/instant-apps-interactive-legend/resources_zh-HK.json +0 -15
  746. package/dist/solutions-components/assets/t9n/instant-apps-interactive-legend/resources_zh-TW.json +0 -15
  747. package/dist/solutions-components/assets/t9n/instant-apps-keyboard-shortcuts/resources.json +0 -30
  748. package/dist/solutions-components/assets/t9n/instant-apps-keyboard-shortcuts/resources_ar.json +0 -30
  749. package/dist/solutions-components/assets/t9n/instant-apps-keyboard-shortcuts/resources_bg.json +0 -30
  750. package/dist/solutions-components/assets/t9n/instant-apps-keyboard-shortcuts/resources_bs.json +0 -30
  751. package/dist/solutions-components/assets/t9n/instant-apps-keyboard-shortcuts/resources_ca.json +0 -30
  752. package/dist/solutions-components/assets/t9n/instant-apps-keyboard-shortcuts/resources_cs.json +0 -30
  753. package/dist/solutions-components/assets/t9n/instant-apps-keyboard-shortcuts/resources_da.json +0 -30
  754. package/dist/solutions-components/assets/t9n/instant-apps-keyboard-shortcuts/resources_de.json +0 -30
  755. package/dist/solutions-components/assets/t9n/instant-apps-keyboard-shortcuts/resources_el.json +0 -30
  756. package/dist/solutions-components/assets/t9n/instant-apps-keyboard-shortcuts/resources_en.json +0 -30
  757. package/dist/solutions-components/assets/t9n/instant-apps-keyboard-shortcuts/resources_es.json +0 -30
  758. package/dist/solutions-components/assets/t9n/instant-apps-keyboard-shortcuts/resources_et.json +0 -30
  759. package/dist/solutions-components/assets/t9n/instant-apps-keyboard-shortcuts/resources_fi.json +0 -30
  760. package/dist/solutions-components/assets/t9n/instant-apps-keyboard-shortcuts/resources_fr.json +0 -30
  761. package/dist/solutions-components/assets/t9n/instant-apps-keyboard-shortcuts/resources_he.json +0 -30
  762. package/dist/solutions-components/assets/t9n/instant-apps-keyboard-shortcuts/resources_hr.json +0 -30
  763. package/dist/solutions-components/assets/t9n/instant-apps-keyboard-shortcuts/resources_hu.json +0 -30
  764. package/dist/solutions-components/assets/t9n/instant-apps-keyboard-shortcuts/resources_id.json +0 -30
  765. package/dist/solutions-components/assets/t9n/instant-apps-keyboard-shortcuts/resources_it.json +0 -30
  766. package/dist/solutions-components/assets/t9n/instant-apps-keyboard-shortcuts/resources_ja.json +0 -30
  767. package/dist/solutions-components/assets/t9n/instant-apps-keyboard-shortcuts/resources_ko.json +0 -30
  768. package/dist/solutions-components/assets/t9n/instant-apps-keyboard-shortcuts/resources_lt.json +0 -30
  769. package/dist/solutions-components/assets/t9n/instant-apps-keyboard-shortcuts/resources_lv.json +0 -30
  770. package/dist/solutions-components/assets/t9n/instant-apps-keyboard-shortcuts/resources_nb.json +0 -30
  771. package/dist/solutions-components/assets/t9n/instant-apps-keyboard-shortcuts/resources_nl.json +0 -30
  772. package/dist/solutions-components/assets/t9n/instant-apps-keyboard-shortcuts/resources_pl.json +0 -30
  773. package/dist/solutions-components/assets/t9n/instant-apps-keyboard-shortcuts/resources_pt-BR.json +0 -30
  774. package/dist/solutions-components/assets/t9n/instant-apps-keyboard-shortcuts/resources_pt-PT.json +0 -30
  775. package/dist/solutions-components/assets/t9n/instant-apps-keyboard-shortcuts/resources_ro.json +0 -30
  776. package/dist/solutions-components/assets/t9n/instant-apps-keyboard-shortcuts/resources_ru.json +0 -30
  777. package/dist/solutions-components/assets/t9n/instant-apps-keyboard-shortcuts/resources_sk.json +0 -30
  778. package/dist/solutions-components/assets/t9n/instant-apps-keyboard-shortcuts/resources_sl.json +0 -30
  779. package/dist/solutions-components/assets/t9n/instant-apps-keyboard-shortcuts/resources_sr.json +0 -30
  780. package/dist/solutions-components/assets/t9n/instant-apps-keyboard-shortcuts/resources_sv.json +0 -30
  781. package/dist/solutions-components/assets/t9n/instant-apps-keyboard-shortcuts/resources_th.json +0 -30
  782. package/dist/solutions-components/assets/t9n/instant-apps-keyboard-shortcuts/resources_tr.json +0 -30
  783. package/dist/solutions-components/assets/t9n/instant-apps-keyboard-shortcuts/resources_uk.json +0 -30
  784. package/dist/solutions-components/assets/t9n/instant-apps-keyboard-shortcuts/resources_vi.json +0 -30
  785. package/dist/solutions-components/assets/t9n/instant-apps-keyboard-shortcuts/resources_zh-CN.json +0 -30
  786. package/dist/solutions-components/assets/t9n/instant-apps-keyboard-shortcuts/resources_zh-HK.json +0 -30
  787. package/dist/solutions-components/assets/t9n/instant-apps-keyboard-shortcuts/resources_zh-TW.json +0 -30
  788. package/dist/solutions-components/assets/t9n/instant-apps-language-translator/resources.json +0 -102
  789. package/dist/solutions-components/assets/t9n/instant-apps-language-translator/resources_ar.json +0 -102
  790. package/dist/solutions-components/assets/t9n/instant-apps-language-translator/resources_bg.json +0 -102
  791. package/dist/solutions-components/assets/t9n/instant-apps-language-translator/resources_bs.json +0 -102
  792. package/dist/solutions-components/assets/t9n/instant-apps-language-translator/resources_ca.json +0 -102
  793. package/dist/solutions-components/assets/t9n/instant-apps-language-translator/resources_cs.json +0 -102
  794. package/dist/solutions-components/assets/t9n/instant-apps-language-translator/resources_da.json +0 -102
  795. package/dist/solutions-components/assets/t9n/instant-apps-language-translator/resources_de.json +0 -102
  796. package/dist/solutions-components/assets/t9n/instant-apps-language-translator/resources_el.json +0 -102
  797. package/dist/solutions-components/assets/t9n/instant-apps-language-translator/resources_en.json +0 -102
  798. package/dist/solutions-components/assets/t9n/instant-apps-language-translator/resources_es.json +0 -102
  799. package/dist/solutions-components/assets/t9n/instant-apps-language-translator/resources_et.json +0 -102
  800. package/dist/solutions-components/assets/t9n/instant-apps-language-translator/resources_fi.json +0 -102
  801. package/dist/solutions-components/assets/t9n/instant-apps-language-translator/resources_fr.json +0 -102
  802. package/dist/solutions-components/assets/t9n/instant-apps-language-translator/resources_he.json +0 -102
  803. package/dist/solutions-components/assets/t9n/instant-apps-language-translator/resources_hr.json +0 -102
  804. package/dist/solutions-components/assets/t9n/instant-apps-language-translator/resources_hu.json +0 -102
  805. package/dist/solutions-components/assets/t9n/instant-apps-language-translator/resources_id.json +0 -102
  806. package/dist/solutions-components/assets/t9n/instant-apps-language-translator/resources_it.json +0 -102
  807. package/dist/solutions-components/assets/t9n/instant-apps-language-translator/resources_ja.json +0 -102
  808. package/dist/solutions-components/assets/t9n/instant-apps-language-translator/resources_ko.json +0 -102
  809. package/dist/solutions-components/assets/t9n/instant-apps-language-translator/resources_lt.json +0 -102
  810. package/dist/solutions-components/assets/t9n/instant-apps-language-translator/resources_lv.json +0 -102
  811. package/dist/solutions-components/assets/t9n/instant-apps-language-translator/resources_nb.json +0 -102
  812. package/dist/solutions-components/assets/t9n/instant-apps-language-translator/resources_nl.json +0 -102
  813. package/dist/solutions-components/assets/t9n/instant-apps-language-translator/resources_pl.json +0 -102
  814. package/dist/solutions-components/assets/t9n/instant-apps-language-translator/resources_pt-BR.json +0 -102
  815. package/dist/solutions-components/assets/t9n/instant-apps-language-translator/resources_pt-PT.json +0 -102
  816. package/dist/solutions-components/assets/t9n/instant-apps-language-translator/resources_ro.json +0 -102
  817. package/dist/solutions-components/assets/t9n/instant-apps-language-translator/resources_ru.json +0 -102
  818. package/dist/solutions-components/assets/t9n/instant-apps-language-translator/resources_sk.json +0 -102
  819. package/dist/solutions-components/assets/t9n/instant-apps-language-translator/resources_sl.json +0 -102
  820. package/dist/solutions-components/assets/t9n/instant-apps-language-translator/resources_sr.json +0 -102
  821. package/dist/solutions-components/assets/t9n/instant-apps-language-translator/resources_sv.json +0 -102
  822. package/dist/solutions-components/assets/t9n/instant-apps-language-translator/resources_th.json +0 -102
  823. package/dist/solutions-components/assets/t9n/instant-apps-language-translator/resources_tr.json +0 -102
  824. package/dist/solutions-components/assets/t9n/instant-apps-language-translator/resources_uk.json +0 -102
  825. package/dist/solutions-components/assets/t9n/instant-apps-language-translator/resources_vi.json +0 -102
  826. package/dist/solutions-components/assets/t9n/instant-apps-language-translator/resources_zh-CN.json +0 -102
  827. package/dist/solutions-components/assets/t9n/instant-apps-language-translator/resources_zh-HK.json +0 -102
  828. package/dist/solutions-components/assets/t9n/instant-apps-language-translator/resources_zh-TW.json +0 -102
  829. package/dist/solutions-components/assets/t9n/instant-apps-measurement/resources.json +0 -7
  830. package/dist/solutions-components/assets/t9n/instant-apps-measurement/resources_ar.json +0 -7
  831. package/dist/solutions-components/assets/t9n/instant-apps-measurement/resources_bg.json +0 -7
  832. package/dist/solutions-components/assets/t9n/instant-apps-measurement/resources_bs.json +0 -7
  833. package/dist/solutions-components/assets/t9n/instant-apps-measurement/resources_ca.json +0 -7
  834. package/dist/solutions-components/assets/t9n/instant-apps-measurement/resources_cs.json +0 -7
  835. package/dist/solutions-components/assets/t9n/instant-apps-measurement/resources_da.json +0 -7
  836. package/dist/solutions-components/assets/t9n/instant-apps-measurement/resources_de.json +0 -7
  837. package/dist/solutions-components/assets/t9n/instant-apps-measurement/resources_el.json +0 -7
  838. package/dist/solutions-components/assets/t9n/instant-apps-measurement/resources_en.json +0 -7
  839. package/dist/solutions-components/assets/t9n/instant-apps-measurement/resources_es.json +0 -7
  840. package/dist/solutions-components/assets/t9n/instant-apps-measurement/resources_et.json +0 -7
  841. package/dist/solutions-components/assets/t9n/instant-apps-measurement/resources_fi.json +0 -7
  842. package/dist/solutions-components/assets/t9n/instant-apps-measurement/resources_fr.json +0 -7
  843. package/dist/solutions-components/assets/t9n/instant-apps-measurement/resources_he.json +0 -7
  844. package/dist/solutions-components/assets/t9n/instant-apps-measurement/resources_hr.json +0 -7
  845. package/dist/solutions-components/assets/t9n/instant-apps-measurement/resources_hu.json +0 -7
  846. package/dist/solutions-components/assets/t9n/instant-apps-measurement/resources_id.json +0 -7
  847. package/dist/solutions-components/assets/t9n/instant-apps-measurement/resources_it.json +0 -7
  848. package/dist/solutions-components/assets/t9n/instant-apps-measurement/resources_ja.json +0 -7
  849. package/dist/solutions-components/assets/t9n/instant-apps-measurement/resources_ko.json +0 -7
  850. package/dist/solutions-components/assets/t9n/instant-apps-measurement/resources_lt.json +0 -7
  851. package/dist/solutions-components/assets/t9n/instant-apps-measurement/resources_lv.json +0 -7
  852. package/dist/solutions-components/assets/t9n/instant-apps-measurement/resources_nb.json +0 -7
  853. package/dist/solutions-components/assets/t9n/instant-apps-measurement/resources_nl.json +0 -7
  854. package/dist/solutions-components/assets/t9n/instant-apps-measurement/resources_pl.json +0 -7
  855. package/dist/solutions-components/assets/t9n/instant-apps-measurement/resources_pt-BR.json +0 -7
  856. package/dist/solutions-components/assets/t9n/instant-apps-measurement/resources_pt-PT.json +0 -7
  857. package/dist/solutions-components/assets/t9n/instant-apps-measurement/resources_ro.json +0 -7
  858. package/dist/solutions-components/assets/t9n/instant-apps-measurement/resources_ru.json +0 -7
  859. package/dist/solutions-components/assets/t9n/instant-apps-measurement/resources_sk.json +0 -7
  860. package/dist/solutions-components/assets/t9n/instant-apps-measurement/resources_sl.json +0 -7
  861. package/dist/solutions-components/assets/t9n/instant-apps-measurement/resources_sr.json +0 -7
  862. package/dist/solutions-components/assets/t9n/instant-apps-measurement/resources_sv.json +0 -7
  863. package/dist/solutions-components/assets/t9n/instant-apps-measurement/resources_th.json +0 -7
  864. package/dist/solutions-components/assets/t9n/instant-apps-measurement/resources_tr.json +0 -7
  865. package/dist/solutions-components/assets/t9n/instant-apps-measurement/resources_uk.json +0 -7
  866. package/dist/solutions-components/assets/t9n/instant-apps-measurement/resources_vi.json +0 -7
  867. package/dist/solutions-components/assets/t9n/instant-apps-measurement/resources_zh-CN.json +0 -7
  868. package/dist/solutions-components/assets/t9n/instant-apps-measurement/resources_zh-HK.json +0 -7
  869. package/dist/solutions-components/assets/t9n/instant-apps-measurement/resources_zh-TW.json +0 -7
  870. package/dist/solutions-components/assets/t9n/instant-apps-popover/resources.json +0 -7
  871. package/dist/solutions-components/assets/t9n/instant-apps-popover/resources_ar.json +0 -6
  872. package/dist/solutions-components/assets/t9n/instant-apps-popover/resources_bg.json +0 -6
  873. package/dist/solutions-components/assets/t9n/instant-apps-popover/resources_bs.json +0 -6
  874. package/dist/solutions-components/assets/t9n/instant-apps-popover/resources_ca.json +0 -6
  875. package/dist/solutions-components/assets/t9n/instant-apps-popover/resources_cs.json +0 -6
  876. package/dist/solutions-components/assets/t9n/instant-apps-popover/resources_da.json +0 -6
  877. package/dist/solutions-components/assets/t9n/instant-apps-popover/resources_de.json +0 -6
  878. package/dist/solutions-components/assets/t9n/instant-apps-popover/resources_el.json +0 -6
  879. package/dist/solutions-components/assets/t9n/instant-apps-popover/resources_en.json +0 -7
  880. package/dist/solutions-components/assets/t9n/instant-apps-popover/resources_es.json +0 -6
  881. package/dist/solutions-components/assets/t9n/instant-apps-popover/resources_et.json +0 -6
  882. package/dist/solutions-components/assets/t9n/instant-apps-popover/resources_fi.json +0 -6
  883. package/dist/solutions-components/assets/t9n/instant-apps-popover/resources_fr.json +0 -6
  884. package/dist/solutions-components/assets/t9n/instant-apps-popover/resources_he.json +0 -6
  885. package/dist/solutions-components/assets/t9n/instant-apps-popover/resources_hr.json +0 -6
  886. package/dist/solutions-components/assets/t9n/instant-apps-popover/resources_hu.json +0 -6
  887. package/dist/solutions-components/assets/t9n/instant-apps-popover/resources_id.json +0 -6
  888. package/dist/solutions-components/assets/t9n/instant-apps-popover/resources_it.json +0 -6
  889. package/dist/solutions-components/assets/t9n/instant-apps-popover/resources_ja.json +0 -6
  890. package/dist/solutions-components/assets/t9n/instant-apps-popover/resources_ko.json +0 -6
  891. package/dist/solutions-components/assets/t9n/instant-apps-popover/resources_lt.json +0 -6
  892. package/dist/solutions-components/assets/t9n/instant-apps-popover/resources_lv.json +0 -6
  893. package/dist/solutions-components/assets/t9n/instant-apps-popover/resources_nb.json +0 -6
  894. package/dist/solutions-components/assets/t9n/instant-apps-popover/resources_nl.json +0 -6
  895. package/dist/solutions-components/assets/t9n/instant-apps-popover/resources_pl.json +0 -6
  896. package/dist/solutions-components/assets/t9n/instant-apps-popover/resources_pt-BR.json +0 -6
  897. package/dist/solutions-components/assets/t9n/instant-apps-popover/resources_pt-PT.json +0 -6
  898. package/dist/solutions-components/assets/t9n/instant-apps-popover/resources_ro.json +0 -6
  899. package/dist/solutions-components/assets/t9n/instant-apps-popover/resources_ru.json +0 -6
  900. package/dist/solutions-components/assets/t9n/instant-apps-popover/resources_sk.json +0 -6
  901. package/dist/solutions-components/assets/t9n/instant-apps-popover/resources_sl.json +0 -6
  902. package/dist/solutions-components/assets/t9n/instant-apps-popover/resources_sr.json +0 -6
  903. package/dist/solutions-components/assets/t9n/instant-apps-popover/resources_sv.json +0 -6
  904. package/dist/solutions-components/assets/t9n/instant-apps-popover/resources_th.json +0 -6
  905. package/dist/solutions-components/assets/t9n/instant-apps-popover/resources_tr.json +0 -6
  906. package/dist/solutions-components/assets/t9n/instant-apps-popover/resources_uk.json +0 -6
  907. package/dist/solutions-components/assets/t9n/instant-apps-popover/resources_vi.json +0 -6
  908. package/dist/solutions-components/assets/t9n/instant-apps-popover/resources_zh-CN.json +0 -6
  909. package/dist/solutions-components/assets/t9n/instant-apps-popover/resources_zh-HK.json +0 -6
  910. package/dist/solutions-components/assets/t9n/instant-apps-popover/resources_zh-TW.json +0 -6
  911. package/dist/solutions-components/assets/t9n/instant-apps-scoreboard/resources.json +0 -7
  912. package/dist/solutions-components/assets/t9n/instant-apps-scoreboard/resources_ar.json +0 -7
  913. package/dist/solutions-components/assets/t9n/instant-apps-scoreboard/resources_bg.json +0 -7
  914. package/dist/solutions-components/assets/t9n/instant-apps-scoreboard/resources_bs.json +0 -7
  915. package/dist/solutions-components/assets/t9n/instant-apps-scoreboard/resources_ca.json +0 -7
  916. package/dist/solutions-components/assets/t9n/instant-apps-scoreboard/resources_cs.json +0 -7
  917. package/dist/solutions-components/assets/t9n/instant-apps-scoreboard/resources_da.json +0 -7
  918. package/dist/solutions-components/assets/t9n/instant-apps-scoreboard/resources_de.json +0 -7
  919. package/dist/solutions-components/assets/t9n/instant-apps-scoreboard/resources_el.json +0 -7
  920. package/dist/solutions-components/assets/t9n/instant-apps-scoreboard/resources_en.json +0 -7
  921. package/dist/solutions-components/assets/t9n/instant-apps-scoreboard/resources_es.json +0 -7
  922. package/dist/solutions-components/assets/t9n/instant-apps-scoreboard/resources_et.json +0 -7
  923. package/dist/solutions-components/assets/t9n/instant-apps-scoreboard/resources_fi.json +0 -7
  924. package/dist/solutions-components/assets/t9n/instant-apps-scoreboard/resources_fr.json +0 -7
  925. package/dist/solutions-components/assets/t9n/instant-apps-scoreboard/resources_he.json +0 -7
  926. package/dist/solutions-components/assets/t9n/instant-apps-scoreboard/resources_hr.json +0 -7
  927. package/dist/solutions-components/assets/t9n/instant-apps-scoreboard/resources_hu.json +0 -7
  928. package/dist/solutions-components/assets/t9n/instant-apps-scoreboard/resources_id.json +0 -7
  929. package/dist/solutions-components/assets/t9n/instant-apps-scoreboard/resources_it.json +0 -7
  930. package/dist/solutions-components/assets/t9n/instant-apps-scoreboard/resources_ja.json +0 -7
  931. package/dist/solutions-components/assets/t9n/instant-apps-scoreboard/resources_ko.json +0 -7
  932. package/dist/solutions-components/assets/t9n/instant-apps-scoreboard/resources_lt.json +0 -7
  933. package/dist/solutions-components/assets/t9n/instant-apps-scoreboard/resources_lv.json +0 -7
  934. package/dist/solutions-components/assets/t9n/instant-apps-scoreboard/resources_nb.json +0 -7
  935. package/dist/solutions-components/assets/t9n/instant-apps-scoreboard/resources_nl.json +0 -7
  936. package/dist/solutions-components/assets/t9n/instant-apps-scoreboard/resources_pl.json +0 -7
  937. package/dist/solutions-components/assets/t9n/instant-apps-scoreboard/resources_pt-BR.json +0 -7
  938. package/dist/solutions-components/assets/t9n/instant-apps-scoreboard/resources_pt-PT.json +0 -7
  939. package/dist/solutions-components/assets/t9n/instant-apps-scoreboard/resources_ro.json +0 -7
  940. package/dist/solutions-components/assets/t9n/instant-apps-scoreboard/resources_ru.json +0 -7
  941. package/dist/solutions-components/assets/t9n/instant-apps-scoreboard/resources_sk.json +0 -7
  942. package/dist/solutions-components/assets/t9n/instant-apps-scoreboard/resources_sl.json +0 -7
  943. package/dist/solutions-components/assets/t9n/instant-apps-scoreboard/resources_sr.json +0 -7
  944. package/dist/solutions-components/assets/t9n/instant-apps-scoreboard/resources_sv.json +0 -7
  945. package/dist/solutions-components/assets/t9n/instant-apps-scoreboard/resources_th.json +0 -7
  946. package/dist/solutions-components/assets/t9n/instant-apps-scoreboard/resources_tr.json +0 -7
  947. package/dist/solutions-components/assets/t9n/instant-apps-scoreboard/resources_uk.json +0 -7
  948. package/dist/solutions-components/assets/t9n/instant-apps-scoreboard/resources_vi.json +0 -7
  949. package/dist/solutions-components/assets/t9n/instant-apps-scoreboard/resources_zh-CN.json +0 -7
  950. package/dist/solutions-components/assets/t9n/instant-apps-scoreboard/resources_zh-HK.json +0 -7
  951. package/dist/solutions-components/assets/t9n/instant-apps-scoreboard/resources_zh-TW.json +0 -7
  952. package/dist/solutions-components/assets/t9n/instant-apps-social-share/resources.json +0 -38
  953. package/dist/solutions-components/assets/t9n/instant-apps-social-share/resources_ar.json +0 -38
  954. package/dist/solutions-components/assets/t9n/instant-apps-social-share/resources_bg.json +0 -38
  955. package/dist/solutions-components/assets/t9n/instant-apps-social-share/resources_bs.json +0 -38
  956. package/dist/solutions-components/assets/t9n/instant-apps-social-share/resources_ca.json +0 -38
  957. package/dist/solutions-components/assets/t9n/instant-apps-social-share/resources_cs.json +0 -38
  958. package/dist/solutions-components/assets/t9n/instant-apps-social-share/resources_da.json +0 -38
  959. package/dist/solutions-components/assets/t9n/instant-apps-social-share/resources_de.json +0 -38
  960. package/dist/solutions-components/assets/t9n/instant-apps-social-share/resources_el.json +0 -38
  961. package/dist/solutions-components/assets/t9n/instant-apps-social-share/resources_en.json +0 -38
  962. package/dist/solutions-components/assets/t9n/instant-apps-social-share/resources_es.json +0 -38
  963. package/dist/solutions-components/assets/t9n/instant-apps-social-share/resources_et.json +0 -38
  964. package/dist/solutions-components/assets/t9n/instant-apps-social-share/resources_fi.json +0 -38
  965. package/dist/solutions-components/assets/t9n/instant-apps-social-share/resources_fr.json +0 -38
  966. package/dist/solutions-components/assets/t9n/instant-apps-social-share/resources_he.json +0 -38
  967. package/dist/solutions-components/assets/t9n/instant-apps-social-share/resources_hr.json +0 -38
  968. package/dist/solutions-components/assets/t9n/instant-apps-social-share/resources_hu.json +0 -38
  969. package/dist/solutions-components/assets/t9n/instant-apps-social-share/resources_id.json +0 -38
  970. package/dist/solutions-components/assets/t9n/instant-apps-social-share/resources_it.json +0 -38
  971. package/dist/solutions-components/assets/t9n/instant-apps-social-share/resources_ja.json +0 -38
  972. package/dist/solutions-components/assets/t9n/instant-apps-social-share/resources_ko.json +0 -38
  973. package/dist/solutions-components/assets/t9n/instant-apps-social-share/resources_lt.json +0 -38
  974. package/dist/solutions-components/assets/t9n/instant-apps-social-share/resources_lv.json +0 -38
  975. package/dist/solutions-components/assets/t9n/instant-apps-social-share/resources_nb.json +0 -38
  976. package/dist/solutions-components/assets/t9n/instant-apps-social-share/resources_nl.json +0 -38
  977. package/dist/solutions-components/assets/t9n/instant-apps-social-share/resources_pl.json +0 -38
  978. package/dist/solutions-components/assets/t9n/instant-apps-social-share/resources_pt-BR.json +0 -38
  979. package/dist/solutions-components/assets/t9n/instant-apps-social-share/resources_pt-PT.json +0 -38
  980. package/dist/solutions-components/assets/t9n/instant-apps-social-share/resources_ro.json +0 -38
  981. package/dist/solutions-components/assets/t9n/instant-apps-social-share/resources_ru.json +0 -38
  982. package/dist/solutions-components/assets/t9n/instant-apps-social-share/resources_sk.json +0 -38
  983. package/dist/solutions-components/assets/t9n/instant-apps-social-share/resources_sl.json +0 -38
  984. package/dist/solutions-components/assets/t9n/instant-apps-social-share/resources_sr.json +0 -38
  985. package/dist/solutions-components/assets/t9n/instant-apps-social-share/resources_sv.json +0 -38
  986. package/dist/solutions-components/assets/t9n/instant-apps-social-share/resources_th.json +0 -38
  987. package/dist/solutions-components/assets/t9n/instant-apps-social-share/resources_tr.json +0 -38
  988. package/dist/solutions-components/assets/t9n/instant-apps-social-share/resources_uk.json +0 -38
  989. package/dist/solutions-components/assets/t9n/instant-apps-social-share/resources_vi.json +0 -38
  990. package/dist/solutions-components/assets/t9n/instant-apps-social-share/resources_zh-CN.json +0 -38
  991. package/dist/solutions-components/assets/t9n/instant-apps-social-share/resources_zh-HK.json +0 -38
  992. package/dist/solutions-components/assets/t9n/instant-apps-social-share/resources_zh-TW.json +0 -38
  993. package/dist/solutions-components/assets/t9n/instant-apps-splash/resources.json +0 -3
  994. package/dist/solutions-components/assets/t9n/instant-apps-splash/resources_en.json +0 -3
  995. package/dist/solutions-components/assets/t9n/json-editor/resources_en.json +0 -8
  996. package/dist/solutions-components/assets/t9n/layer-list/resources_en.json +0 -4
  997. package/dist/solutions-components/assets/t9n/layer-table/resources_en.json +0 -25
  998. package/dist/solutions-components/assets/t9n/map-card/resources_en.json +0 -10
  999. package/dist/solutions-components/assets/t9n/map-draw-tools/resources_en.json +0 -5
  1000. package/dist/solutions-components/assets/t9n/map-layer-picker/resources_en.json +0 -5
  1001. package/dist/solutions-components/assets/t9n/map-picker/resources_en.json +0 -3
  1002. package/dist/solutions-components/assets/t9n/map-search/resources_en.json +0 -3
  1003. package/dist/solutions-components/assets/t9n/map-select-tools/resources_en.json +0 -16
  1004. package/dist/solutions-components/assets/t9n/map-tools/resources_en.json +0 -10
  1005. package/dist/solutions-components/assets/t9n/media-card/resources.json +0 -3
  1006. package/dist/solutions-components/assets/t9n/media-card/resources_ar.json +0 -3
  1007. package/dist/solutions-components/assets/t9n/media-card/resources_bg.json +0 -3
  1008. package/dist/solutions-components/assets/t9n/media-card/resources_bs.json +0 -3
  1009. package/dist/solutions-components/assets/t9n/media-card/resources_ca.json +0 -3
  1010. package/dist/solutions-components/assets/t9n/media-card/resources_cs.json +0 -3
  1011. package/dist/solutions-components/assets/t9n/media-card/resources_da.json +0 -3
  1012. package/dist/solutions-components/assets/t9n/media-card/resources_de.json +0 -3
  1013. package/dist/solutions-components/assets/t9n/media-card/resources_el.json +0 -3
  1014. package/dist/solutions-components/assets/t9n/media-card/resources_en.json +0 -3
  1015. package/dist/solutions-components/assets/t9n/media-card/resources_es.json +0 -3
  1016. package/dist/solutions-components/assets/t9n/media-card/resources_et.json +0 -3
  1017. package/dist/solutions-components/assets/t9n/media-card/resources_fi.json +0 -3
  1018. package/dist/solutions-components/assets/t9n/media-card/resources_fr.json +0 -3
  1019. package/dist/solutions-components/assets/t9n/media-card/resources_he.json +0 -3
  1020. package/dist/solutions-components/assets/t9n/media-card/resources_hr.json +0 -3
  1021. package/dist/solutions-components/assets/t9n/media-card/resources_hu.json +0 -3
  1022. package/dist/solutions-components/assets/t9n/media-card/resources_id.json +0 -3
  1023. package/dist/solutions-components/assets/t9n/media-card/resources_it.json +0 -3
  1024. package/dist/solutions-components/assets/t9n/media-card/resources_ja.json +0 -3
  1025. package/dist/solutions-components/assets/t9n/media-card/resources_ko.json +0 -3
  1026. package/dist/solutions-components/assets/t9n/media-card/resources_lt.json +0 -3
  1027. package/dist/solutions-components/assets/t9n/media-card/resources_lv.json +0 -3
  1028. package/dist/solutions-components/assets/t9n/media-card/resources_nb.json +0 -3
  1029. package/dist/solutions-components/assets/t9n/media-card/resources_nl.json +0 -3
  1030. package/dist/solutions-components/assets/t9n/media-card/resources_pl.json +0 -3
  1031. package/dist/solutions-components/assets/t9n/media-card/resources_pt-BR.json +0 -3
  1032. package/dist/solutions-components/assets/t9n/media-card/resources_pt-PT.json +0 -3
  1033. package/dist/solutions-components/assets/t9n/media-card/resources_ro.json +0 -3
  1034. package/dist/solutions-components/assets/t9n/media-card/resources_ru.json +0 -3
  1035. package/dist/solutions-components/assets/t9n/media-card/resources_sk.json +0 -3
  1036. package/dist/solutions-components/assets/t9n/media-card/resources_sl.json +0 -3
  1037. package/dist/solutions-components/assets/t9n/media-card/resources_sr.json +0 -3
  1038. package/dist/solutions-components/assets/t9n/media-card/resources_sv.json +0 -3
  1039. package/dist/solutions-components/assets/t9n/media-card/resources_th.json +0 -3
  1040. package/dist/solutions-components/assets/t9n/media-card/resources_tr.json +0 -3
  1041. package/dist/solutions-components/assets/t9n/media-card/resources_uk.json +0 -3
  1042. package/dist/solutions-components/assets/t9n/media-card/resources_vi.json +0 -3
  1043. package/dist/solutions-components/assets/t9n/media-card/resources_zh-CN.json +0 -3
  1044. package/dist/solutions-components/assets/t9n/media-card/resources_zh-HK.json +0 -3
  1045. package/dist/solutions-components/assets/t9n/media-card/resources_zh-TW.json +0 -3
  1046. package/dist/solutions-components/assets/t9n/pdf-download/resources_en.json +0 -3
  1047. package/dist/solutions-components/assets/t9n/public-notification/resources_en.json +0 -44
  1048. package/dist/solutions-components/assets/t9n/refine-selection/resources_en.json +0 -9
  1049. package/dist/solutions-components/assets/t9n/share-item/resources.json +0 -3
  1050. package/dist/solutions-components/assets/t9n/share-item/resources_en.json +0 -3
  1051. package/dist/solutions-components/assets/t9n/solution-configuration/resources_en.json +0 -15
  1052. package/dist/solutions-components/assets/t9n/solution-item/resources_en.json +0 -8
  1053. package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_en.json +0 -3
  1054. package/dist/solutions-components/assets/t9n/solution-item-details/resources_en.json +0 -8
  1055. package/dist/solutions-components/assets/t9n/solution-item-sharing/resources_en.json +0 -3
  1056. package/dist/solutions-components/assets/t9n/solution-organization-variables/resources_en.json +0 -3
  1057. package/dist/solutions-components/assets/t9n/solution-resource-item/resources_en.json +0 -8
  1058. package/dist/solutions-components/assets/t9n/solution-spatial-ref/resources_en.json +0 -5
  1059. package/dist/solutions-components/assets/t9n/solution-template-data/resources_en.json +0 -5
  1060. package/dist/solutions-components/assets/t9n/solution-variables/resources_en.json +0 -3
  1061. package/dist/solutions-components/assets/t9n/spatial-ref/resources_en.json +0 -3
  1062. package/dist/solutions-components/assets/t9n/store-manager/resources_en.json +0 -3
  1063. package/dist/solutions-components/p-12f91837.entry.js +0 -6
  1064. package/dist/solutions-components/p-16c5c285.entry.js +0 -6
  1065. package/dist/solutions-components/p-1dc077ec.entry.js +0 -6
  1066. package/dist/solutions-components/p-dcd2f00b.js +0 -36
@@ -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-dcd2f00b.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 t,c as i,g as s,h as e}from"./p-e996c38f.js";import{l as a,g as h}from"./p-404cbf48.js";import{P as l}from"./p-bf04c6f4.js";import{g as n,c as o,h as r}from"./p-dcd2f00b.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";import"./p-db3391b9.js";import"./p-4fe489cf.js";import"./p-2bc98cb0.js";import"./p-4f236b5d.js";import"./p-570b13d9.js";import"./p-0668e30d.js";import"./p-80cb7c73.js";const c=class{constructor(s){t(this,s),this.featureSelect=i(this,"featureSelect",7),this.selectedLayerId=void 0,this.mapView=void 0,this.noFeaturesFoundMsg=void 0,this.pageSize=100,this.highlightOnMap=!1,this.highlightOnHover=!1,this.locale=void 0,this.sortingInfo=void 0,this.whereClause=void 0,this.textSize="large",this.showInitialLoading=!0,this.showErrorWhenNoFeatures=!0,this.showUserImageInList=!1,this.showFeatureSymbol=!1,this.applyLayerViewFilter=!1,this.reportingOptions=void 0,this.showFullTitle=!0,this.filterByMapExtent=!1,this._featureItems=[],this._featuresCount=0,this._isLoading=!1,this._searchPlaceHolder="",this._fullTextSearchInfo=void 0,this._translations=void 0}get el(){return s(this)}Color;esriConfig;symbolUtils;reactiveUtils;_popupUtils;_selectedLayer;_highlightHandle;_filterByMapExtentHandle;_highlights;_pagination;_calciteList;_validFieldTypes=["small-integer","integer","big-integer","single","long"];_abbreviatedLikeCount;_likeFieldAvailable=!1;_searchExpression;async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}async selectedLayerWatchHandler(){this._selectedLayer=await n(this.mapView,this.selectedLayerId),await this.initializeFeatureItems()}async sortingInfoWatchHandler(){await this.initializeFeatureItems()}async whereClauseHandler(){await this.initializeFeatureItems()}async filterByMapExtentHandler(t){t?this.initializeMapExtentFilter():this._filterByMapExtentHandle&&this._filterByMapExtentHandle.remove()}async refresh(t){if(t&&this._pagination){const t={target:{startItem:this._pagination.startItem}};await this.pageChanged(t)}else this._searchExpression?await this._searchFullText():await this.initializeFeatureItems()}featureSelect;async componentWillLoad(){await this.initModules(),await this._getTranslations(),this._isLoading=this.showInitialLoading,this._popupUtils=new l,this.mapView&&this.selectedLayerId&&(this._selectedLayer=await n(this.mapView,this.selectedLayerId),this._getFullTextSearchInfo()),this.filterByMapExtent&&this.initializeMapExtentFilter()}async componentDidLoad(){await this.initializeFeatureItems()}render(){const t=this._canShowFullTextSearch();return e("calcite-panel",{key:"da51d35e66ceea64f32ddf7872ac7133f98bfc48","full-height":!0,"full-width":!0},t&&e("calcite-input",{key:"04a50538873d5a87eb194edca98fa5a86818bfc4",class:"search",clearable:!0,icon:"search",onCalciteInputChange:this._searchTextChanged.bind(this),placeholder:this._searchPlaceHolder,title:"",type:"search"}),this._isLoading&&e("calcite-loader",{key:"f89602c8d36c41d8ed5b028619853ba8e1dedbc9",label:"",scale:"m"}),this.showErrorWhenNoFeatures&&0===this._featureItems.length&&!this._isLoading&&e("calcite-notice",{key:"147d2072a916b9a0ec34d3819a8c88ded50673b1",class:"error-msg",icon:"feature-details",kind:"info",open:!0},e("div",{key:"ab769558c1489e9b24eff945b970230b5015a35c",slot:"message"},this.filterByMapExtent?this._translations.featureErrorMsgInCurrentMapView:this.noFeaturesFoundMsg?this.noFeaturesFoundMsg:this._translations.featureErrorMsg)),e("calcite-list",{key:"aa05260aa25bd5023be842969f6660950269221e",class:"small"!==this.textSize||this.showFullTitle?"":"overflow-hidden",label:"",ref:t=>this._calciteList=t,"selection-appearance":"border","selection-mode":"none"},!this._isLoading&&this._featureItems.length>0&&this._featureItems),this._featuresCount>this.pageSize&&e("div",{key:"6db2614c585cc95605998c2ddd96e9d8980ed875",class:"width-full",slot:"footer"},e("calcite-pagination",{key:"59f0c7e97b02215ec717d902fdf6294ed7c82a67",class:"pagination","full-width":!0,onCalcitePaginationChange:this.pageChanged.bind(this),"page-size":this.pageSize,ref:t=>this._pagination=t,"start-item":"1","total-items":this._featuresCount})))}async initModules(){const[t,i,s,e]=await a(["esri/Color","esri/config","esri/symbols/support/symbolUtils","esri/core/reactiveUtils"]);this.Color=t,this.esriConfig=i,this.symbolUtils=s,this.reactiveUtils=e}async getWhereCondition(){let t="1=1";if(this.whereClause&&(t=this.whereClause),this._selectedLayer?.definitionExpression&&(t=t+" AND "+this._selectedLayer.definitionExpression),this.applyLayerViewFilter){const i=await o(this.mapView,this.selectedLayerId);i?.filter?.where&&(t=t+" AND "+i.filter.where)}return t}async initializeFeatureItems(){if(this._selectedLayer){this._pagination?.goTo("start"),this._isLoading=this.showInitialLoading,this._featureItems=await this.queryPage(0);const t={where:await this.getWhereCondition(),geometry:this.filterByMapExtent?this.mapView.extent:null};this._featuresCount=await this._selectedLayer.queryFeatureCount(t),this._isLoading=!1}}initializeMapExtentFilter(){this._filterByMapExtentHandle=this.reactiveUtils.when((()=>this.mapView.stationary),(()=>{this.initializeFeatureItems()}),{initial:!0})}async pageChanged(t){this._isLoading=!0,this._highlightHandle&&(this._highlightHandle.remove(),this._highlightHandle=null);const i=t.target.startItem-1;this._featureItems=await this.queryPage(i),this._isLoading=!1}_canShowFullTextSearch(){return((this._selectedLayer?.capabilities)?.query)?.supportsFullTextSearch&&this._selectedLayer.indexes.items.filter((t=>"FullText"==t.indexType)).length>0}_getFullTextSearchInfo(){if(this._fullTextSearchInfo=[],((this._selectedLayer?.capabilities)?.query)?.supportsFullTextSearch){const t=this._selectedLayer.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._selectedLayer.getField(t.trim());s.push(i.alias)})),this._searchPlaceHolder=this._translations.searchPlaceholder.replace("{{fields}}",s.join(", ")),this._fullTextSearchInfo.push({onFields:["*"],searchTerm:"",searchType:"prefix"})}}}async _searchTextChanged(t){this._fullTextSearchInfo.forEach((i=>{i.searchTerm=t.target.value})),await this._searchFullText()}async _searchFullText(){this._searchExpression&&this._clearSearchDefinitionExpression();let t=[];if(this._fullTextSearchInfo&&this._fullTextSearchInfo[0].searchTerm){const i=this._selectedLayer.createQuery();i.fullText=this._fullTextSearchInfo,t=await this._selectedLayer.queryObjectIds(i),await this._updateSearchDefinitionExpression(t?.length?t:[-1])}await this.initializeFeatureItems()}async _updateSearchDefinitionExpression(t){const i=this._selectedLayer.definitionExpression;if(t?.length){const s=`objectId in(${t})`;this._selectedLayer.definitionExpression=i?.indexOf(this._searchExpression)>-1?i.replace(this._searchExpression,s):i?`${i} AND (${s})`:s,this._searchExpression=s}else this._clearSearchDefinitionExpression()}_clearSearchDefinitionExpression(){const t=this._selectedLayer.definitionExpression;this._searchExpression&&t?.indexOf(this._searchExpression)>-1&&(this._selectedLayer.definitionExpression=t?.indexOf(" AND ("+this._searchExpression)>-1?t.replace(` AND (${this._searchExpression})`,""):t.replace(this._searchExpression,"")),this._searchExpression=void 0}async featureClicked(t,i){if(this.clearHighlights(),this.highlightOnMap){const i=Number(t.target.value),s=await o(this.mapView,this.selectedLayerId);this._highlightHandle=await r([i],s,this.mapView,!0)}await this.emitSelectedFeature(i)}async emitSelectedFeature(t){const i=t.layer,s=i.createQuery();s.returnGeometry=!0,s.objectIds=[t.getObjectId()];const e=await i.queryFeatures(s);this.featureSelect.emit(e.features[0])}async onFeatureHover(t){if(this.clearHighlights(),this.highlightOnHover){const i=t.getObjectId(),s=await o(this.mapView,this.selectedLayerId);this._highlights&&(s.highlights=JSON.parse(this._highlights)),s.highlightOptions={color:new this.Color("#FFFF00")},this._highlights=JSON.stringify(s.highlights),this._highlightHandle=s.highlight([i])}}clearHighlights(){this._highlightHandle&&this._highlightHandle.remove()}async queryPage(t){const i=this._selectedLayer,s=this.sortingInfo?.field?this.sortingInfo.field:i.objectIdField,e=this.sortingInfo?.order?this.sortingInfo.order:"desc",a=await this.getWhereCondition(),h={start:t,num:this.pageSize,outFields:["*"],returnGeometry:!0,where:a,outSpatialReference:this.mapView.spatialReference.toJSON(),geometry:this.filterByMapExtent?this.mapView.extent:null};s&&e&&(h.orderByFields=[s.toString()+" "+e]);const l=await i.queryFeatures(h);return await this.createFeatureItem(l)}async createFeatureItem(t){const i=t?.features,s=this.reportingOptions&&this.reportingOptions[this.selectedLayerId].like,e=i.map((async t=>{const i=await this._popupUtils.getPopupTitle(t,this.mapView.map);let e,a;if(this.showUserImageInList){const i=this._selectedLayer.editFieldsInfo?.creatorField;i&&(e=await this.getUserInformation(t))}return this.showFeatureSymbol&&(a=await this.getFeatureSymbol(t)),s&&this.getAbbreviatedLikeCount(t),this.getFeatureItem(t,i,a,e)}));return Promise.all(e)}getAbbreviatedLikeCount(t){const i=this._selectedLayer,s=this.reportingOptions[i.id].likeField;i.fields.forEach((e=>{if(this._validFieldTypes.indexOf(e.type)>-1&&e.name===s&&this.reportingOptions[i.id].like){this._likeFieldAvailable=!0;let i=t.attributes[s]||0;i>999&&(i=i>999999?this._translations.millionsAbbreviation.replace("{{abbreviated_value}}",Math.floor(i/1e6).toString()):this._translations.thousandsAbbreviation.replace("{{abbreviated_value}}",Math.floor(i/1e3).toString())),this._abbreviatedLikeCount=i}}))}getFeatureItem(t,i,s,a){const h=t.attributes[this._selectedLayer.objectIdField].toString();i=i??h;const l=Number(t.attributes[this.reportingOptions?.[this._selectedLayer.id].likeField]).toLocaleString(),n="small"!==this.textSize||this.showFullTitle?"small"===this.textSize?"feature-list-popup-title-small":"feature-list-popup-title":"feature-list-popup-title-small-ellipsis",o=this._calciteList.offsetWidth-(this.showUserImageInList?115:65);return e("calcite-list-item",{onCalciteListItemSelect:i=>{this.featureClicked(i,t)},onMouseLeave:()=>{this.clearHighlights()},onMouseOver:()=>{this.onFeatureHover(t)},value:h},this.showUserImageInList&&e("calcite-avatar",{class:"profile-img","full-name":a?.fullName,scale:"m",slot:"content-start",thumbnail:a?.userProfileUrl,userId:a?.id,username:a?.fullName?a.username:void 0}),this.showFeatureSymbol&&e("div",{class:"feature-symbol",ref:t=>t&&t.replaceChildren(s),slot:"content-start"}),e("div",{class:`popup-title ${n}`,slot:"content-start",style:{maxWidth:"large"===this.textSize?"none":`${o}px`}},i),this._likeFieldAvailable&&e("div",{class:"like-container",id:h.concat("like"),slot:"content-end"},e("span",null,this._abbreviatedLikeCount),e("calcite-icon",{icon:"thumbs-up",scale:"s"}),e("calcite-tooltip",{overlayPositioning:"fixed",placement:"top","reference-element":h.concat("like")},l)),e("calcite-icon",{flipRtl:!0,icon:"chevron-right",scale:"s",slot:"content-end"}))}async getUserInformation(t){let i=this._selectedLayer.editFieldsInfo?.creatorField;t.attributes.hasOwnProperty(i.toLowerCase())?i=i.toLowerCase():t.attributes.hasOwnProperty(i.toUpperCase())&&(i=i.toUpperCase());let s=`${this.esriConfig.portalUrl}/sharing/rest/community/users/${t.attributes[i]}?f=json&returnUserLicensedItems=true`;const e=this.mapView.map.portalItem.portal?.credential?.token;e&&(s+=`&token=${e}`);const a=await fetch(s),h=await a.json();let l=`${this.esriConfig.portalUrl}/sharing/rest/community/users/${h?.username??t.attributes[i]}/info/blob.png`;return h?.access&&e&&(l+=`?token=${e}`),h.userProfileUrl=l,h}async getFeatureSymbol(t){const i=document.createElement("div");return await this.symbolUtils.getDisplayedSymbol(t).then((async t=>{if(t&&await(this.symbolUtils?.renderPreviewHTML(t,{node:i})),i.children?.length){const t=i.children[0];if(t){const i=Number(t.getAttribute("height")),s=Number(t.getAttribute("width"));s>30&&t.setAttribute("width","30"),i>30&&t.setAttribute("height","30"),t.setAttribute("viewBox",`0 0 ${s} ${i}`)}}})),i}async _getTranslations(){const t=await h(this.el);this._translations=t[0]}static get watchers(){return{locale:["localeWatchHandler"],selectedLayerId:["selectedLayerWatchHandler"],sortingInfo:["sortingInfoWatchHandler"],whereClause:["whereClauseHandler"],filterByMapExtent:["filterByMapExtentHandler"]}}};c.style=":host{display:block}.width-full{width:100%}.pagination{display:flex;justify-content:center}.error-msg{padding:10px;width:calc(100% - 20px)}.feature-list-popup-title{font-weight:500;white-space:pre-line}.feature-list-popup-title-small{font-size:small;white-space:pre-line}.feature-list-popup-title-small-ellipsis{font-size:small;white-space:nowrap !important;text-overflow:ellipsis;overflow:hidden}.popup-title{padding:0 5px;word-break:break-word}.profile-img{margin:0 5px;min-width:32px}.like-container{display:flex;align-items:center;gap:5px;color:gray !important;font-style:italic}.feature-symbol{padding:0 3px;min-width:30px;display:flex;justify-content:center}.search{padding:10px;background-color:var(--calcite-color-foreground-1) !important;border-block-end:1px solid var(--calcite-color-border-3)}";export{c as feature_list}
6
+ import{r as t,c as i,g as s,h as e}from"./p-e996c38f.js";import{l as a,g as h}from"./p-404cbf48.js";import{P as l}from"./p-f3003b3a.js";import{g as n,c as o,h as r}from"./p-5693ce7a.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.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";import"./p-80cb7c73.js";const c=class{constructor(s){t(this,s),this.featureSelect=i(this,"featureSelect",7),this.selectedLayerId=void 0,this.mapView=void 0,this.noFeaturesFoundMsg=void 0,this.pageSize=100,this.highlightOnMap=!1,this.highlightOnHover=!1,this.locale=void 0,this.sortingInfo=void 0,this.whereClause=void 0,this.textSize="large",this.showInitialLoading=!0,this.showErrorWhenNoFeatures=!0,this.showUserImageInList=!1,this.showFeatureSymbol=!1,this.applyLayerViewFilter=!1,this.reportingOptions=void 0,this.showFullTitle=!0,this.filterByMapExtent=!1,this._featureItems=[],this._featuresCount=0,this._isLoading=!1,this._searchPlaceHolder="",this._fullTextSearchInfo=void 0,this._translations=void 0}get el(){return s(this)}Color;esriConfig;symbolUtils;reactiveUtils;_popupUtils;_selectedLayer;_highlightHandle;_filterByMapExtentHandle;_highlights;_pagination;_calciteList;_validFieldTypes=["small-integer","integer","big-integer","single","long"];_abbreviatedLikeCount;_likeFieldAvailable=!1;_searchExpression;async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}async selectedLayerWatchHandler(){this._selectedLayer=await n(this.mapView,this.selectedLayerId),await this.initializeFeatureItems()}async sortingInfoWatchHandler(){await this.initializeFeatureItems()}async whereClauseHandler(){await this.initializeFeatureItems()}async filterByMapExtentHandler(t){t?this.initializeMapExtentFilter():this._filterByMapExtentHandle&&this._filterByMapExtentHandle.remove()}async refresh(t){if(t&&this._pagination){const t={target:{startItem:this._pagination.startItem}};await this.pageChanged(t)}else this._searchExpression?await this._searchFullText():await this.initializeFeatureItems()}featureSelect;async componentWillLoad(){await this.initModules(),await this._getTranslations(),this._isLoading=this.showInitialLoading,this._popupUtils=new l,this.mapView&&this.selectedLayerId&&(this._selectedLayer=await n(this.mapView,this.selectedLayerId),this._getFullTextSearchInfo()),this.filterByMapExtent&&this.initializeMapExtentFilter()}async componentDidLoad(){await this.initializeFeatureItems()}render(){const t=this._canShowFullTextSearch();return e("calcite-panel",{key:"da51d35e66ceea64f32ddf7872ac7133f98bfc48","full-height":!0,"full-width":!0},t&&e("calcite-input",{key:"04a50538873d5a87eb194edca98fa5a86818bfc4",class:"search",clearable:!0,icon:"search",onCalciteInputChange:this._searchTextChanged.bind(this),placeholder:this._searchPlaceHolder,title:"",type:"search"}),this._isLoading&&e("calcite-loader",{key:"f89602c8d36c41d8ed5b028619853ba8e1dedbc9",label:"",scale:"m"}),this.showErrorWhenNoFeatures&&0===this._featureItems.length&&!this._isLoading&&e("calcite-notice",{key:"147d2072a916b9a0ec34d3819a8c88ded50673b1",class:"error-msg",icon:"feature-details",kind:"info",open:!0},e("div",{key:"ab769558c1489e9b24eff945b970230b5015a35c",slot:"message"},this.filterByMapExtent?this._translations.featureErrorMsgInCurrentMapView:this.noFeaturesFoundMsg?this.noFeaturesFoundMsg:this._translations.featureErrorMsg)),e("calcite-list",{key:"aa05260aa25bd5023be842969f6660950269221e",class:"small"!==this.textSize||this.showFullTitle?"":"overflow-hidden",label:"",ref:t=>this._calciteList=t,"selection-appearance":"border","selection-mode":"none"},!this._isLoading&&this._featureItems.length>0&&this._featureItems),this._featuresCount>this.pageSize&&e("div",{key:"6db2614c585cc95605998c2ddd96e9d8980ed875",class:"width-full",slot:"footer"},e("calcite-pagination",{key:"59f0c7e97b02215ec717d902fdf6294ed7c82a67",class:"pagination","full-width":!0,onCalcitePaginationChange:this.pageChanged.bind(this),"page-size":this.pageSize,ref:t=>this._pagination=t,"start-item":"1","total-items":this._featuresCount})))}async initModules(){const[t,i,s,e]=await a(["esri/Color","esri/config","esri/symbols/support/symbolUtils","esri/core/reactiveUtils"]);this.Color=t,this.esriConfig=i,this.symbolUtils=s,this.reactiveUtils=e}async getWhereCondition(){let t="1=1";if(this.whereClause&&(t=this.whereClause),this._selectedLayer?.definitionExpression&&(t=t+" AND "+this._selectedLayer.definitionExpression),this.applyLayerViewFilter){const i=await o(this.mapView,this.selectedLayerId);i?.filter?.where&&(t=t+" AND "+i.filter.where)}return t}async initializeFeatureItems(){if(this._selectedLayer){this._pagination?.goTo("start"),this._isLoading=this.showInitialLoading,this._featureItems=await this.queryPage(0);const t={where:await this.getWhereCondition(),geometry:this.filterByMapExtent?this.mapView.extent:null};this._featuresCount=await this._selectedLayer.queryFeatureCount(t),this._isLoading=!1}}initializeMapExtentFilter(){this._filterByMapExtentHandle=this.reactiveUtils.when((()=>this.mapView.stationary),(()=>{this.initializeFeatureItems()}),{initial:!0})}async pageChanged(t){this._isLoading=!0,this._highlightHandle&&(this._highlightHandle.remove(),this._highlightHandle=null);const i=t.target.startItem-1;this._featureItems=await this.queryPage(i),this._isLoading=!1}_canShowFullTextSearch(){return((this._selectedLayer?.capabilities)?.query)?.supportsFullTextSearch&&this._selectedLayer.indexes.items.filter((t=>"FullText"==t.indexType)).length>0}_getFullTextSearchInfo(){if(this._fullTextSearchInfo=[],((this._selectedLayer?.capabilities)?.query)?.supportsFullTextSearch){const t=this._selectedLayer.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._selectedLayer.getField(t.trim());s.push(i.alias)})),this._searchPlaceHolder=this._translations.searchPlaceholder.replace("{{fields}}",s.join(", ")),this._fullTextSearchInfo.push({onFields:["*"],searchTerm:"",searchType:"prefix"})}}}async _searchTextChanged(t){this._fullTextSearchInfo.forEach((i=>{i.searchTerm=t.target.value})),await this._searchFullText()}async _searchFullText(){this._searchExpression&&this._clearSearchDefinitionExpression();let t=[];if(this._fullTextSearchInfo&&this._fullTextSearchInfo[0].searchTerm){const i=this._selectedLayer.createQuery();i.fullText=this._fullTextSearchInfo,t=await this._selectedLayer.queryObjectIds(i),await this._updateSearchDefinitionExpression(t?.length?t:[-1])}await this.initializeFeatureItems()}async _updateSearchDefinitionExpression(t){const i=this._selectedLayer.definitionExpression;if(t?.length){const s=`objectId in(${t})`;this._selectedLayer.definitionExpression=i?.indexOf(this._searchExpression)>-1?i.replace(this._searchExpression,s):i?`${i} AND (${s})`:s,this._searchExpression=s}else this._clearSearchDefinitionExpression()}_clearSearchDefinitionExpression(){const t=this._selectedLayer.definitionExpression;this._searchExpression&&t?.indexOf(this._searchExpression)>-1&&(this._selectedLayer.definitionExpression=t?.indexOf(" AND ("+this._searchExpression)>-1?t.replace(` AND (${this._searchExpression})`,""):t.replace(this._searchExpression,"")),this._searchExpression=void 0}async featureClicked(t,i){if(this.clearHighlights(),this.highlightOnMap){const i=Number(t.target.value),s=await o(this.mapView,this.selectedLayerId);this._highlightHandle=await r([i],s,this.mapView,!0)}await this.emitSelectedFeature(i)}async emitSelectedFeature(t){const i=t.layer,s=i.createQuery();s.returnGeometry=!0,s.objectIds=[t.getObjectId()];const e=await i.queryFeatures(s);this.featureSelect.emit(e.features[0])}async onFeatureHover(t){if(this.clearHighlights(),this.highlightOnHover){const i=t.getObjectId(),s=await o(this.mapView,this.selectedLayerId);this._highlights&&(s.highlights=JSON.parse(this._highlights)),s.highlightOptions={color:new this.Color("#FFFF00")},this._highlights=JSON.stringify(s.highlights),this._highlightHandle=s.highlight([i])}}clearHighlights(){this._highlightHandle&&this._highlightHandle.remove()}async queryPage(t){const i=this._selectedLayer,s=this.sortingInfo?.field?this.sortingInfo.field:i.objectIdField,e=this.sortingInfo?.order?this.sortingInfo.order:"desc",a=await this.getWhereCondition(),h={start:t,num:this.pageSize,outFields:["*"],returnGeometry:!0,where:a,outSpatialReference:this.mapView.spatialReference.toJSON(),geometry:this.filterByMapExtent?this.mapView.extent:null};s&&e&&(h.orderByFields=[s.toString()+" "+e]);const l=await i.queryFeatures(h);return await this.createFeatureItem(l)}async createFeatureItem(t){const i=t?.features,s=this.reportingOptions&&this.reportingOptions[this.selectedLayerId].like,e=i.map((async t=>{const i=await this._popupUtils.getPopupTitle(t,this.mapView.map);let e,a;if(this.showUserImageInList){const i=this._selectedLayer.editFieldsInfo?.creatorField;i&&(e=await this.getUserInformation(t))}return this.showFeatureSymbol&&(a=await this.getFeatureSymbol(t)),s&&this.getAbbreviatedLikeCount(t),this.getFeatureItem(t,i,a,e)}));return Promise.all(e)}getAbbreviatedLikeCount(t){const i=this._selectedLayer,s=this.reportingOptions[i.id].likeField;i.fields.forEach((e=>{if(this._validFieldTypes.indexOf(e.type)>-1&&e.name===s&&this.reportingOptions[i.id].like){this._likeFieldAvailable=!0;let i=t.attributes[s]||0;i>999&&(i=i>999999?this._translations.millionsAbbreviation.replace("{{abbreviated_value}}",Math.floor(i/1e6).toString()):this._translations.thousandsAbbreviation.replace("{{abbreviated_value}}",Math.floor(i/1e3).toString())),this._abbreviatedLikeCount=i}}))}getFeatureItem(t,i,s,a){const h=t.attributes[this._selectedLayer.objectIdField].toString();i=i??h;const l=Number(t.attributes[this.reportingOptions?.[this._selectedLayer.id].likeField]).toLocaleString(),n="small"!==this.textSize||this.showFullTitle?"small"===this.textSize?"feature-list-popup-title-small":"feature-list-popup-title":"feature-list-popup-title-small-ellipsis",o=this._calciteList.offsetWidth-(this.showUserImageInList?115:65);return e("calcite-list-item",{onCalciteListItemSelect:i=>{this.featureClicked(i,t)},onMouseLeave:()=>{this.clearHighlights()},onMouseOver:()=>{this.onFeatureHover(t)},value:h},this.showUserImageInList&&e("calcite-avatar",{class:"profile-img","full-name":a?.fullName,scale:"m",slot:"content-start",thumbnail:a?.userProfileUrl,userId:a?.id,username:a?.fullName?a.username:void 0}),this.showFeatureSymbol&&e("div",{class:"feature-symbol",ref:t=>t&&t.replaceChildren(s),slot:"content-start"}),e("div",{class:`popup-title ${n}`,slot:"content-start",style:{maxWidth:"large"===this.textSize?"none":`${o}px`}},i),this._likeFieldAvailable&&e("div",{class:"like-container",id:h.concat("like"),slot:"content-end"},e("span",null,this._abbreviatedLikeCount),e("calcite-icon",{icon:"thumbs-up",scale:"s"}),e("calcite-tooltip",{overlayPositioning:"fixed",placement:"top","reference-element":h.concat("like")},l)),e("calcite-icon",{flipRtl:!0,icon:"chevron-right",scale:"s",slot:"content-end"}))}async getUserInformation(t){let i=this._selectedLayer.editFieldsInfo?.creatorField;t.attributes.hasOwnProperty(i.toLowerCase())?i=i.toLowerCase():t.attributes.hasOwnProperty(i.toUpperCase())&&(i=i.toUpperCase());let s=`${this.esriConfig.portalUrl}/sharing/rest/community/users/${t.attributes[i]}?f=json&returnUserLicensedItems=true`;const e=this.mapView.map.portalItem.portal?.credential?.token;e&&(s+=`&token=${e}`);const a=await fetch(s),h=await a.json();let l=`${this.esriConfig.portalUrl}/sharing/rest/community/users/${h?.username??t.attributes[i]}/info/blob.png`;return h?.access&&e&&(l+=`?token=${e}`),h.userProfileUrl=l,h}async getFeatureSymbol(t){const i=document.createElement("div");return await this.symbolUtils.getDisplayedSymbol(t).then((async t=>{if(t&&await(this.symbolUtils?.renderPreviewHTML(t,{node:i})),i.children?.length){const t=i.children[0];if(t){const i=Number(t.getAttribute("height")),s=Number(t.getAttribute("width"));s>30&&t.setAttribute("width","30"),i>30&&t.setAttribute("height","30"),t.setAttribute("viewBox",`0 0 ${s} ${i}`)}}})),i}async _getTranslations(){const t=await h(this.el);this._translations=t[0]}static get watchers(){return{locale:["localeWatchHandler"],selectedLayerId:["selectedLayerWatchHandler"],sortingInfo:["sortingInfoWatchHandler"],whereClause:["whereClauseHandler"],filterByMapExtent:["filterByMapExtentHandler"]}}};c.style=":host{display:block}.width-full{width:100%}.pagination{display:flex;justify-content:center}.error-msg{padding:10px;width:calc(100% - 20px)}.feature-list-popup-title{font-weight:500;white-space:pre-line}.feature-list-popup-title-small{font-size:small;white-space:pre-line}.feature-list-popup-title-small-ellipsis{font-size:small;white-space:nowrap !important;text-overflow:ellipsis;overflow:hidden}.popup-title{padding:0 5px;word-break:break-word}.profile-img{margin:0 5px;min-width:32px}.like-container{display:flex;align-items:center;gap:5px;color:gray !important;font-style:italic}.feature-symbol{padding:0 3px;min-width:30px;display:flex;justify-content:center}.search{padding:10px;background-color:var(--calcite-color-foreground-1) !important;border-block-end:1px solid var(--calcite-color-border-3)}";export{c as feature_list}
@@ -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 a}from"./p-e996c38f.js";import{g as h}from"./p-404cbf48.js";import{g as n,d as o,n as c}from"./p-dcd2f00b.js";import{s as l}from"./p-e6859850.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";import"./p-80cb7c73.js";import"./p-8717729a.js";const r=class{constructor(e){t(this,e),this.beforeLayerSelectionChange=i(this,"beforeLayerSelectionChange",7),this.idsFound=i(this,"idsFound",7),this.noLayersFound=i(this,"noLayersFound",7),this.layerSelectionChange=i(this,"layerSelectionChange",7),this.appearance="transparent",this.defaultLayerId="",this.display="inline-block",this.enabledLayerIds=[],this.enabledTableIds=[],this.height=void 0,this.isMobile=void 0,this.locale=void 0,this.mapView=void 0,this.onlyShowUpdatableLayers=void 0,this.placeholderIcon="",this.selectedIds=[],this.scale="m",this.showTables=void 0,this.showTablesDisabled=void 0,this.showSingleLayerAsLabel=!1,this.type="select",this._hasMultipleLayers=!0,this._hasValidLayers=!0,this._isDropdownOpen=void 0,this.ids=[],this.selectedName="",this._translations=void 0}get el(){return e(this)}defaultLayerHonored=!1;_layerElement;_layerNameHash;_skipEditCheck=!1;_tableNameHash;async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}async mapViewWatchHandler(){await this._setLayers(),this.ids.length>0?(this._hasValidLayers=!0,this._hasMultipleLayers=this.ids.length>1,this._setSelectedLayer(this.ids[0])):(this._hasValidLayers=!1,this.noLayersFound.emit())}async setLayerById(t,i=!1){this._skipEditCheck=i,this._setSelectedLayer(t),this._skipEditCheck=!1}async setLayerByIds(t,i=!1){this._skipEditCheck=i,this._layerSelectionChange(t),this._skipEditCheck=!1}async updateLayer(){this._setSelectedLayer(this.ids[0])}beforeLayerSelectionChange;idsFound;noLayersFound;layerSelectionChange;async componentWillLoad(){await this._getTranslations(),await this._setLayers()}async componentWillRender(){if(this.ids.length>0||1===this.selectedIds.length){const t=1===this.selectedIds.length?this.selectedIds[0]:this.ids[0];if(t!==this.selectedIds[0])this._setSelectedLayer(t);else{const t=await n(this.mapView,this.selectedIds[0]);this.selectedName=t?.title}}}render(){const t="map-layer-picker";let i=this.height>0?{height:`${this.height.toString()}px`}:{};return i={...i,display:this.display},s(a,{key:"147cfa11bb6bcfd439045cbf8718efb40847a80e"},s("div",{key:"7955f81d7b76f36c267cdc0716f117db44dce46e",class:"map-layer-picker-container",style:i},s("div",{key:"930a397e3504991e6681253b06c2e36bc7abf184",class:"map-layer-picker",style:i},this._hasValidLayers?!this._hasMultipleLayers&&this.showSingleLayerAsLabel?this._getSingleLayerPlaceholder():"combobox"===this.type?this._getCombobox(t):"select"===this.type?this._getSelect(t):this._getDropdown(t):this._getInvalidPlaceholder())))}async componentDidLoad(){if(this.ids.length>0||1===this.selectedIds.length){const t=1===this.selectedIds.length?this.selectedIds[0]:this.ids[0];"select"===this.type?this._layerElement.value=t:"dropdown"===this.type&&(this.selectedName=Object.keys(this._layerNameHash).indexOf(t)>-1?this._layerNameHash[t].name:Object.keys(this._tableNameHash).indexOf(t)>-1?this._tableNameHash[t].name:"")}}_getInvalidPlaceholder(){return s("div",null,s("calcite-notice",{class:"height-100",icon:"exclamation-mark-triangle",id:"no-valid-layers",kind:"danger",open:!0},s("div",{slot:"message"},this._translations.noLayersFound)),s("calcite-tooltip",{label:this._translations.enableEditUpdate,placement:"bottom","reference-element":"no-valid-layers"},s("span",null,this._translations.enableEditUpdate)))}_getSingleLayerPlaceholder(){const t=this._getItemTypeIcon();return s("div",{class:"layer-picker-label-container cursor-default"},s("calcite-icon",{icon:t,scale:"s"}),s("calcite-label",{class:"no-bottom-margin padding-start-1"},this.selectedName))}_getSelect(t){return s("calcite-select",{id:t,label:"",onCalciteSelectChange:()=>this._layerSelectionChange(),ref:t=>{this._layerElement=t},scale:this.scale},this._getMapLayerOptions())}_getCombobox(t){return s("calcite-combobox",{clearDisabled:!0,id:t,label:"",onCalciteComboboxChange:()=>this._layerSelectionChange(),"placeholder-icon":this.placeholderIcon,ref:t=>{this._layerElement=t},scale:this.scale,"selection-mode":"single"},this._getMapLayerOptions())}_getDropdown(t){return s("calcite-dropdown",{class:"layer-picker-dropdown",onCalciteDropdownBeforeClose:()=>this._isDropdownOpen=!1,onCalciteDropdownBeforeOpen:()=>this._isDropdownOpen=!0},this.isMobile?this._getDropdownButton():this._getActionDropdownButton(t),s("calcite-dropdown-group",{"selection-mode":"single"},this._getMapLayerOptions()))}_getActionDropdownButton(t){return s("calcite-action",{id:t,slot:"trigger",text:""},this._getDropdownButton())}_getDropdownButton(){const t=this._getItemTypeIcon();return s("calcite-button",{alignment:"icon-end-space-between",appearance:this.appearance,class:this.isMobile?"":"max-width-350",iconEnd:this._isDropdownOpen?"chevron-up":"chevron-down",iconStart:t,kind:"neutral",slot:this.isMobile?"trigger":"",width:"full"},s("div",null,this.selectedName))}_getItemTypeIcon(){let t="layers";if(this.selectedIds.length>0&&this._layerNameHash){const i=this.selectedIds[0];t=Object.keys(this._layerNameHash).indexOf(i)>-1?"layers":"table"}return t}_getMapLayerOptions(){return this.ids.reduce(((t,i)=>(this._validLayer(i)?t.push(this._getItem(i,"layer")):this._validTable(i)&&t.push(this._getItem(i,"table")),t)),[])}_getItem(t,i){const e="layer"===i?this._layerNameHash[t]:this._tableNameHash[t],a=!!this.onlyShowUpdatableLayers&&!e.supportsUpdate,h=e.name,n=this.selectedIds.indexOf(t)>-1;return"combobox"===this.type?s("calcite-combobox-item",{disabled:a,selected:n,textLabel:h,value:t}):"select"===this.type?s("calcite-option",{disabled:a,label:h,selected:n,value:t}):s("calcite-dropdown-group",{class:a?"disabled":"",selectionMode:a?"none":"single"},s("calcite-dropdown-item",{disabled:"table"===i&&this.showTablesDisabled,"icon-start":i,onClick:a?void 0:()=>{this._setSelectedLayer(t)},selected:n},h))}_setSelectedLayer(t){let i;this.defaultLayerId&&!this.defaultLayerHonored&&(i=this._getLayerFromHash(this.defaultLayerId),this.defaultLayerHonored=void 0!==i,t=this.defaultLayerHonored?this.defaultLayerId:t),i=i||this._getLayerFromHash(t),(this._skipEditCheck||!this.beforeLayerSelectionChange.emit({currentId:this.selectedIds[0],newId:t,ref:this.el}).defaultPrevented)&&(this.selectedName=i?.name,this.selectedIds=[t],this.layerSelectionChange.emit(this.selectedIds))}_getLayerFromHash(t){return Object.keys(this._layerNameHash).indexOf(t)>-1?this._layerNameHash[t]:Object.keys(this._tableNameHash).indexOf(t)>-1?this._tableNameHash[t]:void 0}async _setLayers(){if(this.mapView){await this._initLayerTableHash();const t=this.onlyShowUpdatableLayers?this._getEditableIds(this._layerNameHash):Object.keys(this._layerNameHash),i=this.showTables?this.onlyShowUpdatableLayers?this._getEditableIds(this._tableNameHash):Object.keys(this._tableNameHash):[];this.ids=[...t.reverse().filter((t=>!(this.enabledLayerIds?.length>0)||this.enabledLayerIds.reverse().indexOf(t)>-1)),...i.reverse().filter((t=>!(this.enabledTableIds?.length>0)||this.enabledTableIds.reverse().indexOf(t)>-1))],this.idsFound.emit({layerIds:t,tableIds:i})}}_getEditableIds(t){return Object.keys(t).reduce(((i,e)=>(t[e].supportsUpdate&&i.push(e),i)),[])}async _initLayerTableHash(){this._layerNameHash=await o(this.mapView,this.onlyShowUpdatableLayers),this._tableNameHash=this.showTables?await c(this.mapView,this.onlyShowUpdatableLayers):{}}_validLayer(t){const i=this._layerNameHash[t]?.name;return i&&Object.keys(l.managedLayers).indexOf(i)<0&&(!(this.enabledLayerIds.length>0)||this.enabledLayerIds.indexOf(t)>-1)}_validTable(t){const i=this._tableNameHash[t]?.name,e=i&&this.showTables;return e?l.managedTables.indexOf(i)<0&&(!(this.enabledTableIds.length>0)||this.enabledTableIds.indexOf(t)>-1):e}_layerSelectionChange(t){const i=t||(Array.isArray(this._layerElement.value)?this._layerElement.value:[this._layerElement.value]);if(JSON.stringify(i)!==JSON.stringify([""])){if(!this._skipEditCheck&&this.beforeLayerSelectionChange.emit({currentIds:this.selectedIds,newIds:i,ref:this.el}).defaultPrevented)return;this.selectedIds=i,this.layerSelectionChange.emit(this.selectedIds)}}async _getTranslations(){const t=await h(this.el);this._translations=t[0]}static get watchers(){return{locale:["localeWatchHandler"],mapView:["mapViewWatchHandler"]}}};r.style=":host{display:block}.map-layer-picker-container{width:100%;align-items:center}.map-layer-picker{position:relative;width:100%;display:inline-block}.padding-bottom-1{padding-bottom:1rem}.layer-picker-dropdown{height:100%;width:100%}.max-width-350{max-width:350px}.height-100{height:100%}.disabled{cursor:default !important;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled);pointer-events:none}.no-bottom-margin{--calcite-label-margin-bottom:0px}.layer-picker-label-container{align-items:center;display:inline-flex;height:100%;padding-inline-start:1rem;padding-inline-end:1rem}.padding-start-1{padding-inline-start:1rem}.cursor-default{cursor:default}";export{r as map_layer_picker}
6
+ import{r as t,c as i,g as e,h as s,H as a}from"./p-e996c38f.js";import{g as h}from"./p-404cbf48.js";import{g as n,d as o,n as c}from"./p-5693ce7a.js";import{s as l}from"./p-e6859850.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";import"./p-80cb7c73.js";import"./p-8717729a.js";const r=class{constructor(e){t(this,e),this.beforeLayerSelectionChange=i(this,"beforeLayerSelectionChange",7),this.idsFound=i(this,"idsFound",7),this.noLayersFound=i(this,"noLayersFound",7),this.layerSelectionChange=i(this,"layerSelectionChange",7),this.appearance="transparent",this.defaultLayerId="",this.display="inline-block",this.enabledLayerIds=[],this.enabledTableIds=[],this.height=void 0,this.isMobile=void 0,this.locale=void 0,this.mapView=void 0,this.onlyShowUpdatableLayers=void 0,this.placeholderIcon="",this.selectedIds=[],this.scale="m",this.showTables=void 0,this.showTablesDisabled=void 0,this.showSingleLayerAsLabel=!1,this.type="select",this._hasMultipleLayers=!0,this._hasValidLayers=!0,this._isDropdownOpen=void 0,this.ids=[],this.selectedName="",this._translations=void 0}get el(){return e(this)}defaultLayerHonored=!1;_layerElement;_layerNameHash;_skipEditCheck=!1;_tableNameHash;async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}async mapViewWatchHandler(){await this._setLayers(),this.ids.length>0?(this._hasValidLayers=!0,this._hasMultipleLayers=this.ids.length>1,this._setSelectedLayer(this.ids[0])):(this._hasValidLayers=!1,this.noLayersFound.emit())}async setLayerById(t,i=!1){this._skipEditCheck=i,this._setSelectedLayer(t),this._skipEditCheck=!1}async setLayerByIds(t,i=!1){this._skipEditCheck=i,this._layerSelectionChange(t),this._skipEditCheck=!1}async updateLayer(){this._setSelectedLayer(this.ids[0])}beforeLayerSelectionChange;idsFound;noLayersFound;layerSelectionChange;async componentWillLoad(){await this._getTranslations(),await this._setLayers()}async componentWillRender(){if(this.ids.length>0||1===this.selectedIds.length){const t=1===this.selectedIds.length?this.selectedIds[0]:this.ids[0];if(t!==this.selectedIds[0])this._setSelectedLayer(t);else{const t=await n(this.mapView,this.selectedIds[0]);this.selectedName=t?.title}}}render(){const t="map-layer-picker";let i=this.height>0?{height:`${this.height.toString()}px`}:{};return i={...i,display:this.display},s(a,{key:"147cfa11bb6bcfd439045cbf8718efb40847a80e"},s("div",{key:"7955f81d7b76f36c267cdc0716f117db44dce46e",class:"map-layer-picker-container",style:i},s("div",{key:"930a397e3504991e6681253b06c2e36bc7abf184",class:"map-layer-picker",style:i},this._hasValidLayers?!this._hasMultipleLayers&&this.showSingleLayerAsLabel?this._getSingleLayerPlaceholder():"combobox"===this.type?this._getCombobox(t):"select"===this.type?this._getSelect(t):this._getDropdown(t):this._getInvalidPlaceholder())))}async componentDidLoad(){if(this.ids.length>0||1===this.selectedIds.length){const t=1===this.selectedIds.length?this.selectedIds[0]:this.ids[0];"select"===this.type?this._layerElement.value=t:"dropdown"===this.type&&(this.selectedName=Object.keys(this._layerNameHash).indexOf(t)>-1?this._layerNameHash[t].name:Object.keys(this._tableNameHash).indexOf(t)>-1?this._tableNameHash[t].name:"")}}_getInvalidPlaceholder(){return s("div",null,s("calcite-notice",{class:"height-100",icon:"exclamation-mark-triangle",id:"no-valid-layers",kind:"danger",open:!0},s("div",{slot:"message"},this._translations.noLayersFound)),s("calcite-tooltip",{label:this._translations.enableEditUpdate,placement:"bottom","reference-element":"no-valid-layers"},s("span",null,this._translations.enableEditUpdate)))}_getSingleLayerPlaceholder(){const t=this._getItemTypeIcon();return s("div",{class:"layer-picker-label-container cursor-default"},s("calcite-icon",{icon:t,scale:"s"}),s("calcite-label",{class:"no-bottom-margin padding-start-1"},this.selectedName))}_getSelect(t){return s("calcite-select",{id:t,label:"",onCalciteSelectChange:()=>this._layerSelectionChange(),ref:t=>{this._layerElement=t},scale:this.scale},this._getMapLayerOptions())}_getCombobox(t){return s("calcite-combobox",{clearDisabled:!0,id:t,label:"",onCalciteComboboxChange:()=>this._layerSelectionChange(),"placeholder-icon":this.placeholderIcon,ref:t=>{this._layerElement=t},scale:this.scale,"selection-mode":"single"},this._getMapLayerOptions())}_getDropdown(t){return s("calcite-dropdown",{class:"layer-picker-dropdown",onCalciteDropdownBeforeClose:()=>this._isDropdownOpen=!1,onCalciteDropdownBeforeOpen:()=>this._isDropdownOpen=!0},this.isMobile?this._getDropdownButton():this._getActionDropdownButton(t),s("calcite-dropdown-group",{"selection-mode":"single"},this._getMapLayerOptions()))}_getActionDropdownButton(t){return s("calcite-action",{id:t,slot:"trigger",text:""},this._getDropdownButton())}_getDropdownButton(){const t=this._getItemTypeIcon();return s("calcite-button",{alignment:"icon-end-space-between",appearance:this.appearance,class:this.isMobile?"":"max-width-350",iconEnd:this._isDropdownOpen?"chevron-up":"chevron-down",iconStart:t,kind:"neutral",slot:this.isMobile?"trigger":"",width:"full"},s("div",null,this.selectedName))}_getItemTypeIcon(){let t="layers";if(this.selectedIds.length>0&&this._layerNameHash){const i=this.selectedIds[0];t=Object.keys(this._layerNameHash).indexOf(i)>-1?"layers":"table"}return t}_getMapLayerOptions(){return this.ids.reduce(((t,i)=>(this._validLayer(i)?t.push(this._getItem(i,"layer")):this._validTable(i)&&t.push(this._getItem(i,"table")),t)),[])}_getItem(t,i){const e="layer"===i?this._layerNameHash[t]:this._tableNameHash[t],a=!!this.onlyShowUpdatableLayers&&!e.supportsUpdate,h=e.name,n=this.selectedIds.indexOf(t)>-1;return"combobox"===this.type?s("calcite-combobox-item",{disabled:a,selected:n,textLabel:h,value:t}):"select"===this.type?s("calcite-option",{disabled:a,label:h,selected:n,value:t}):s("calcite-dropdown-group",{class:a?"disabled":"",selectionMode:a?"none":"single"},s("calcite-dropdown-item",{disabled:"table"===i&&this.showTablesDisabled,"icon-start":i,onClick:a?void 0:()=>{this._setSelectedLayer(t)},selected:n},h))}_setSelectedLayer(t){let i;this.defaultLayerId&&!this.defaultLayerHonored&&(i=this._getLayerFromHash(this.defaultLayerId),this.defaultLayerHonored=void 0!==i,t=this.defaultLayerHonored?this.defaultLayerId:t),i=i||this._getLayerFromHash(t),(this._skipEditCheck||!this.beforeLayerSelectionChange.emit({currentId:this.selectedIds[0],newId:t,ref:this.el}).defaultPrevented)&&(this.selectedName=i?.name,this.selectedIds=[t],this.layerSelectionChange.emit(this.selectedIds))}_getLayerFromHash(t){return Object.keys(this._layerNameHash).indexOf(t)>-1?this._layerNameHash[t]:Object.keys(this._tableNameHash).indexOf(t)>-1?this._tableNameHash[t]:void 0}async _setLayers(){if(this.mapView){await this._initLayerTableHash();const t=this.onlyShowUpdatableLayers?this._getEditableIds(this._layerNameHash):Object.keys(this._layerNameHash),i=this.showTables?this.onlyShowUpdatableLayers?this._getEditableIds(this._tableNameHash):Object.keys(this._tableNameHash):[];this.ids=[...t.reverse().filter((t=>!(this.enabledLayerIds?.length>0)||this.enabledLayerIds.reverse().indexOf(t)>-1)),...i.reverse().filter((t=>!(this.enabledTableIds?.length>0)||this.enabledTableIds.reverse().indexOf(t)>-1))],this.idsFound.emit({layerIds:t,tableIds:i})}}_getEditableIds(t){return Object.keys(t).reduce(((i,e)=>(t[e].supportsUpdate&&i.push(e),i)),[])}async _initLayerTableHash(){this._layerNameHash=await o(this.mapView,this.onlyShowUpdatableLayers),this._tableNameHash=this.showTables?await c(this.mapView,this.onlyShowUpdatableLayers):{}}_validLayer(t){const i=this._layerNameHash[t]?.name;return i&&Object.keys(l.managedLayers).indexOf(i)<0&&(!(this.enabledLayerIds.length>0)||this.enabledLayerIds.indexOf(t)>-1)}_validTable(t){const i=this._tableNameHash[t]?.name,e=i&&this.showTables;return e?l.managedTables.indexOf(i)<0&&(!(this.enabledTableIds.length>0)||this.enabledTableIds.indexOf(t)>-1):e}_layerSelectionChange(t){const i=t||(Array.isArray(this._layerElement.value)?this._layerElement.value:[this._layerElement.value]);if(JSON.stringify(i)!==JSON.stringify([""])){if(!this._skipEditCheck&&this.beforeLayerSelectionChange.emit({currentIds:this.selectedIds,newIds:i,ref:this.el}).defaultPrevented)return;this.selectedIds=i,this.layerSelectionChange.emit(this.selectedIds)}}async _getTranslations(){const t=await h(this.el);this._translations=t[0]}static get watchers(){return{locale:["localeWatchHandler"],mapView:["mapViewWatchHandler"]}}};r.style=":host{display:block}.map-layer-picker-container{width:100%;align-items:center}.map-layer-picker{position:relative;width:100%;display:inline-block}.padding-bottom-1{padding-bottom:1rem}.layer-picker-dropdown{height:100%;width:100%}.max-width-350{max-width:350px}.height-100{height:100%}.disabled{cursor:default !important;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled);pointer-events:none}.no-bottom-margin{--calcite-label-margin-bottom:0px}.layer-picker-label-container{align-items:center;display:inline-flex;height:100%;padding-inline-start:1rem;padding-inline-end:1rem}.padding-start-1{padding-inline-start:1rem}.cursor-default{cursor:default}";export{r as map_layer_picker}
@@ -0,0 +1,36 @@
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{a as t}from"./p-80cb7c73.js";
7
+ /** @license
8
+ * Copyright 2022 Esri
9
+ *
10
+ * Licensed under the Apache License, Version 2.0 (the "License");
11
+ * you may not use this file except in compliance with the License.
12
+ * You may obtain a copy of the License at
13
+ *
14
+ * http://www.apache.org/licenses/LICENSE-2.0
15
+ *
16
+ * Unless required by applicable law or agreed to in writing, software
17
+ * distributed under the License is distributed on an "AS IS" BASIS,
18
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19
+ * See the License for the specific language governing permissions and
20
+ * limitations under the License.
21
+ */async function n(t,n){let a=[];const s=t?t.map((t=>async function(t,n){const a=n.createQuery();return a.spatialRelationship="intersects",a.geometry=t,n.queryObjectIds(a)}
22
+ /** @license
23
+ * Copyright 2022 Esri
24
+ *
25
+ * Licensed under the Apache License, Version 2.0 (the "License");
26
+ * you may not use this file except in compliance with the License.
27
+ * You may obtain a copy of the License at
28
+ *
29
+ * http://www.apache.org/licenses/LICENSE-2.0
30
+ *
31
+ * Unless required by applicable law or agreed to in writing, software
32
+ * distributed under the License is distributed on an "AS IS" BASIS,
33
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
34
+ * See the License for the specific language governing permissions and
35
+ * limitations under the License.
36
+ */(t,n))):[Promise.resolve()];return(await Promise.all(s)).forEach((t=>{a=[...a,...t||[]]})),a}async function a(t,n,s,o,c,e){const i=n.capabilities?.query.maxRecordCount;0===t.length&&(t=await n.queryObjectIds());const r=n.createQuery();if(r.returnGeometry=o,r.objectIds=t.slice(0,i),c&&(r.outSpatialReference=c),e){const t=n.fields.map((t=>t.name.toLowerCase()));r.outFields=e.filter((n=>t.indexOf(n.toLowerCase())>-1))}const u=await n.queryFeatures(r);s=s.concat(u.features);const f=t.slice(i,t.length);return f.length>0?a(f,n,s,o,c,e):Promise.resolve(s)}async function s(t,n){const a=n.globalIdField;if(!a)return[];const s=n.createQuery();return s.returnGeometry=!1,s.outFields=[n.objectIdField],s.where=t.map((t=>`${a} = '${t}'`)).join(" or "),(await n.queryFeatures(s)).features}async function o(t,n,a,s){const c=n.capabilities.query.maxRecordCount,e=n.createQuery();e.start=t,e.num=c,e.geometry=a;const i=await n.queryFeatures(e);return s[n.id]=s[n.id].concat(i.features),i.exceededTransferLimit?o(t+=c,n,a,s):Promise.resolve(s)}function c(t,n){return[...e(t,"polygon",n),...e(t,"polyline",n),...e(t,"point",n)]}function e(t,n,a){const s=t?.filter((t=>t.type===n))||[];return s.length<=1?s:[a.union(s)]}async function i(t,n){let a;return await t.when((()=>{a=t.map.allLayers.toArray().reduce(((t,n)=>("feature"!==n.type&&"subtype-group"!==n?.type||(t[n.id]={name:n.title,supportsUpdate:void 0}),t)),{})})),u(n,a,t)}async function r(t,n){let a;return await t.when((()=>{a=t.map.allTables.toArray().reduce(((t,n)=>(t[n.id]={name:n.title,supportsUpdate:void 0},t)),{})})),u(n,a,t)}async function u(t,n,a){if(t){const t={},s=Object.keys(n);for(let o=0;o<s.length;o++){const c=s[o],e=await w(a,c);await e.load(),await e.when(),t[c]={name:n[c].name,supportsUpdate:e.editingEnabled&&e.capabilities.operations.supportsUpdate}}return t}return n}async function f(t,n){const a=await w(t,n);return a?await t.whenLayerView(a):void 0}async function w(t,n){let a=[];return await(t?.when((()=>{a=[...t.map.allLayers.toArray(),...t.map.allTables.toArray()].filter((t=>t.id===n))}))),a.length>0?a[0]:void 0}async function y(t){const n=t.map.allLayers.toArray();let a;return await t.when((()=>{a=n.map((n=>t.whenLayerView(n)))})),await Promise.allSettled(a),n}async function p(t){const n=t.map.allTables.toArray();let a;return await t.when((()=>{a=n.map((t=>t.load()))})),await Promise.allSettled(a),n}async function m(t,n,a,s=!1,o=0){return s&&(await b(t,n,a,!1,void 0,o),await new Promise((t=>setTimeout(t,1e3)))),n.highlight(t)}async function l(t){const n=d(t);return Object.keys(n).reduce(((t,a)=>{const s=n[a];return t.push(s.layerView.highlight(s.ids)),t}),[])}function d(n){return n.reduce(((n,a)=>{const s=a.layerView,o=s?.layer.id;return o&&Object.keys(n).indexOf(o)>-1?n[o].ids=[...new Set([...a.selectedIds,...n[o].ids])]:o&&(n[o]={layerView:s,ids:a.selectedIds}),a.workflowType===t.REFINE&&Object.keys(a.refineInfos).forEach((t=>{const s=a.refineInfos[t];Object.keys(n).indexOf(t)>-1&&(n[t].ids=[...new Set([...s.addIds,...n[t].ids])],n[t].ids=n[t].ids.filter((t=>s.removeIds.indexOf(t)<0)))})),n}),{})}async function b(t,n,a,s=!0,o,c=0){const e=await async function(t,n){const a=n.createQuery();return a.objectIds=t,n.queryExtent(a)}(t,n.layer),i={target:e.extent};1===e.count&&"point"===n.layer.geometryType&&c&&(i.scale=c),await a.goTo(i),s&&await async function(t,n,a){n.featureEffect={...a,filter:{objectIds:t}},setTimeout((()=>{n.featureEffect=void 0}),1300)}(t,n,o)}export{y as a,p as b,f as c,i as d,b as e,s as f,w as g,m as h,n as i,c as j,o as k,d as l,l as m,r as n,a as q}
@@ -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}