@esri/solutions-components 0.10.25 → 0.10.27

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1570) hide show
  1. package/dist/cjs/basemap-gallery_7.cjs.entry.js +9 -9
  2. package/dist/cjs/buffer-tools_3.cjs.entry.js +1 -1
  3. package/dist/cjs/calcite-alert_5.cjs.entry.js +20 -21
  4. package/dist/cjs/calcite-combobox_3.cjs.entry.js +15 -3
  5. package/dist/cjs/calcite-flow_4.cjs.entry.js +6 -6
  6. package/dist/cjs/calcite-modal_3.cjs.entry.js +1 -1
  7. package/dist/cjs/calcite-shell-panel_14.cjs.entry.js +7 -7
  8. package/dist/cjs/card-manager_3.cjs.entry.js +473 -53
  9. package/dist/cjs/crowdsource-manager.cjs.entry.js +55 -21
  10. package/dist/cjs/crowdsource-reporter.cjs.entry.js +1 -1
  11. package/dist/cjs/feature-comments.cjs.entry.js +1 -1
  12. package/dist/cjs/feature-form-flow-item.cjs.entry.js +1 -1
  13. package/dist/cjs/feature-list.cjs.entry.js +3 -3
  14. package/dist/cjs/features-flow-item.cjs.entry.js +1 -1
  15. package/dist/cjs/layout-manager.cjs.entry.js +1 -1
  16. package/dist/cjs/list-flow-item.cjs.entry.js +1 -1
  17. package/dist/cjs/loader.cjs.js +1 -1
  18. package/dist/cjs/location-flow-item.cjs.entry.js +1 -1
  19. package/dist/cjs/map-select-tools_3.cjs.entry.js +3 -3
  20. package/dist/cjs/pci-calculator.cjs.entry.js +1 -1
  21. package/dist/cjs/public-notification.cjs.entry.js +1 -1
  22. package/dist/cjs/refine-results-flow-item.cjs.entry.js +1 -1
  23. package/dist/cjs/share-item.cjs.entry.js +1 -1
  24. package/dist/cjs/solution-configuration.cjs.entry.js +3 -3
  25. package/dist/cjs/solution-contents_3.cjs.entry.js +3 -3
  26. package/dist/cjs/solution-item-accordion.cjs.entry.js +3 -3
  27. package/dist/cjs/solution-item-icon.cjs.entry.js +378 -245
  28. package/dist/cjs/solutions-components.cjs.js +1 -1
  29. package/dist/cjs/spatial-ref.cjs.entry.js +1 -1
  30. package/dist/collection/assets/t9n/card-manager/resources.json +1 -0
  31. package/dist/collection/assets/t9n/card-manager/resources_ar.json +4 -3
  32. package/dist/collection/assets/t9n/card-manager/resources_bg.json +4 -3
  33. package/dist/collection/assets/t9n/card-manager/resources_bs.json +4 -3
  34. package/dist/collection/assets/t9n/card-manager/resources_ca.json +4 -3
  35. package/dist/collection/assets/t9n/card-manager/resources_cs.json +4 -3
  36. package/dist/collection/assets/t9n/card-manager/resources_da.json +4 -3
  37. package/dist/collection/assets/t9n/card-manager/resources_de.json +4 -3
  38. package/dist/collection/assets/t9n/card-manager/resources_el.json +4 -3
  39. package/dist/collection/assets/t9n/card-manager/resources_en.json +1 -0
  40. package/dist/collection/assets/t9n/card-manager/resources_es.json +4 -3
  41. package/dist/collection/assets/t9n/card-manager/resources_et.json +4 -3
  42. package/dist/collection/assets/t9n/card-manager/resources_fi.json +4 -3
  43. package/dist/collection/assets/t9n/card-manager/resources_fr.json +4 -3
  44. package/dist/collection/assets/t9n/card-manager/resources_he.json +4 -3
  45. package/dist/collection/assets/t9n/card-manager/resources_hr.json +4 -3
  46. package/dist/collection/assets/t9n/card-manager/resources_hu.json +4 -3
  47. package/dist/collection/assets/t9n/card-manager/resources_id.json +4 -3
  48. package/dist/collection/assets/t9n/card-manager/resources_it.json +4 -3
  49. package/dist/collection/assets/t9n/card-manager/resources_ja.json +4 -3
  50. package/dist/collection/assets/t9n/card-manager/resources_ko.json +4 -3
  51. package/dist/collection/assets/t9n/card-manager/resources_lt.json +4 -3
  52. package/dist/collection/assets/t9n/card-manager/resources_lv.json +4 -3
  53. package/dist/collection/assets/t9n/card-manager/resources_nb.json +4 -3
  54. package/dist/collection/assets/t9n/card-manager/resources_nl.json +4 -3
  55. package/dist/collection/assets/t9n/card-manager/resources_pl.json +4 -3
  56. package/dist/collection/assets/t9n/card-manager/resources_pt-BR.json +4 -3
  57. package/dist/collection/assets/t9n/card-manager/resources_pt-PT.json +4 -3
  58. package/dist/collection/assets/t9n/card-manager/resources_ro.json +4 -3
  59. package/dist/collection/assets/t9n/card-manager/resources_ru.json +4 -3
  60. package/dist/collection/assets/t9n/card-manager/resources_sk.json +4 -3
  61. package/dist/collection/assets/t9n/card-manager/resources_sl.json +4 -3
  62. package/dist/collection/assets/t9n/card-manager/resources_sr.json +4 -3
  63. package/dist/collection/assets/t9n/card-manager/resources_sv.json +4 -3
  64. package/dist/collection/assets/t9n/card-manager/resources_th.json +4 -3
  65. package/dist/collection/assets/t9n/card-manager/resources_tr.json +4 -3
  66. package/dist/collection/assets/t9n/card-manager/resources_uk.json +4 -3
  67. package/dist/collection/assets/t9n/card-manager/resources_vi.json +4 -3
  68. package/dist/collection/assets/t9n/card-manager/resources_zh-CN.json +4 -3
  69. package/dist/collection/assets/t9n/card-manager/resources_zh-HK.json +4 -3
  70. package/dist/collection/assets/t9n/card-manager/resources_zh-TW.json +4 -3
  71. package/dist/collection/assets/t9n/create-feature/resources.json +1 -1
  72. package/dist/collection/assets/t9n/create-feature/resources_ar.json +5 -0
  73. package/dist/collection/assets/t9n/create-feature/resources_bg.json +5 -0
  74. package/dist/collection/assets/t9n/create-feature/resources_bs.json +5 -0
  75. package/dist/collection/assets/t9n/create-feature/resources_ca.json +5 -0
  76. package/dist/collection/assets/t9n/create-feature/resources_cs.json +5 -0
  77. package/dist/collection/assets/t9n/create-feature/resources_da.json +5 -0
  78. package/dist/collection/assets/t9n/create-feature/resources_de.json +5 -0
  79. package/dist/collection/assets/t9n/create-feature/resources_el.json +5 -0
  80. package/dist/collection/assets/t9n/create-feature/resources_en.json +1 -1
  81. package/dist/collection/assets/t9n/create-feature/resources_es.json +5 -0
  82. package/dist/collection/assets/t9n/create-feature/resources_et.json +5 -0
  83. package/dist/collection/assets/t9n/create-feature/resources_fi.json +5 -0
  84. package/dist/collection/assets/t9n/create-feature/resources_fr.json +5 -0
  85. package/dist/collection/assets/t9n/create-feature/resources_he.json +5 -0
  86. package/dist/collection/assets/t9n/create-feature/resources_hr.json +5 -0
  87. package/dist/collection/assets/t9n/create-feature/resources_hu.json +5 -0
  88. package/dist/collection/assets/t9n/create-feature/resources_id.json +5 -0
  89. package/dist/collection/assets/t9n/create-feature/resources_it.json +5 -0
  90. package/dist/collection/assets/t9n/create-feature/resources_ja.json +5 -0
  91. package/dist/collection/assets/t9n/create-feature/resources_ko.json +5 -0
  92. package/dist/collection/assets/t9n/create-feature/resources_lt.json +5 -0
  93. package/dist/collection/assets/t9n/create-feature/resources_lv.json +5 -0
  94. package/dist/collection/assets/t9n/create-feature/resources_nb.json +5 -0
  95. package/dist/collection/assets/t9n/create-feature/resources_nl.json +5 -0
  96. package/dist/collection/assets/t9n/create-feature/resources_pl.json +5 -0
  97. package/dist/collection/assets/t9n/create-feature/resources_pt-BR.json +5 -0
  98. package/dist/collection/assets/t9n/create-feature/resources_pt-PT.json +5 -0
  99. package/dist/collection/assets/t9n/create-feature/resources_ro.json +5 -0
  100. package/dist/collection/assets/t9n/create-feature/resources_ru.json +5 -0
  101. package/dist/collection/assets/t9n/create-feature/resources_sk.json +5 -0
  102. package/dist/collection/assets/t9n/create-feature/resources_sl.json +5 -0
  103. package/dist/collection/assets/t9n/create-feature/resources_sr.json +5 -0
  104. package/dist/collection/assets/t9n/create-feature/resources_sv.json +5 -0
  105. package/dist/collection/assets/t9n/create-feature/resources_th.json +5 -0
  106. package/dist/collection/assets/t9n/create-feature/resources_tr.json +5 -0
  107. package/dist/collection/assets/t9n/create-feature/resources_uk.json +5 -0
  108. package/dist/collection/assets/t9n/create-feature/resources_vi.json +5 -0
  109. package/dist/collection/assets/t9n/create-feature/resources_zh-CN.json +5 -0
  110. package/dist/collection/assets/t9n/create-feature/resources_zh-HK.json +5 -0
  111. package/dist/collection/assets/t9n/create-feature/resources_zh-TW.json +5 -0
  112. package/dist/collection/assets/t9n/create-related-feature/resources_ar.json +3 -0
  113. package/dist/collection/assets/t9n/create-related-feature/resources_bg.json +3 -0
  114. package/dist/collection/assets/t9n/create-related-feature/resources_bs.json +3 -0
  115. package/dist/collection/assets/t9n/create-related-feature/resources_ca.json +3 -0
  116. package/dist/collection/assets/t9n/create-related-feature/resources_cs.json +3 -0
  117. package/dist/collection/assets/t9n/create-related-feature/resources_da.json +3 -0
  118. package/dist/collection/assets/t9n/create-related-feature/resources_de.json +3 -0
  119. package/dist/collection/assets/t9n/create-related-feature/resources_el.json +3 -0
  120. package/dist/collection/assets/t9n/create-related-feature/resources_es.json +3 -0
  121. package/dist/collection/assets/t9n/create-related-feature/resources_et.json +3 -0
  122. package/dist/collection/assets/t9n/create-related-feature/resources_fi.json +3 -0
  123. package/dist/collection/assets/t9n/create-related-feature/resources_fr.json +3 -0
  124. package/dist/collection/assets/t9n/create-related-feature/resources_he.json +3 -0
  125. package/dist/collection/assets/t9n/create-related-feature/resources_hr.json +3 -0
  126. package/dist/collection/assets/t9n/create-related-feature/resources_hu.json +3 -0
  127. package/dist/collection/assets/t9n/create-related-feature/resources_id.json +3 -0
  128. package/dist/collection/assets/t9n/create-related-feature/resources_it.json +3 -0
  129. package/dist/collection/assets/t9n/create-related-feature/resources_ja.json +3 -0
  130. package/dist/collection/assets/t9n/create-related-feature/resources_ko.json +3 -0
  131. package/dist/collection/assets/t9n/create-related-feature/resources_lt.json +3 -0
  132. package/dist/collection/assets/t9n/create-related-feature/resources_lv.json +3 -0
  133. package/dist/collection/assets/t9n/create-related-feature/resources_nb.json +3 -0
  134. package/dist/collection/assets/t9n/create-related-feature/resources_nl.json +3 -0
  135. package/dist/collection/assets/t9n/create-related-feature/resources_pl.json +3 -0
  136. package/dist/collection/assets/t9n/create-related-feature/resources_pt-BR.json +3 -0
  137. package/dist/collection/assets/t9n/create-related-feature/resources_pt-PT.json +3 -0
  138. package/dist/collection/assets/t9n/create-related-feature/resources_ro.json +3 -0
  139. package/dist/collection/assets/t9n/create-related-feature/resources_ru.json +3 -0
  140. package/dist/collection/assets/t9n/create-related-feature/resources_sk.json +3 -0
  141. package/dist/collection/assets/t9n/create-related-feature/resources_sl.json +3 -0
  142. package/dist/collection/assets/t9n/create-related-feature/resources_sr.json +3 -0
  143. package/dist/collection/assets/t9n/create-related-feature/resources_sv.json +3 -0
  144. package/dist/collection/assets/t9n/create-related-feature/resources_th.json +3 -0
  145. package/dist/collection/assets/t9n/create-related-feature/resources_tr.json +3 -0
  146. package/dist/collection/assets/t9n/create-related-feature/resources_uk.json +3 -0
  147. package/dist/collection/assets/t9n/create-related-feature/resources_vi.json +3 -0
  148. package/dist/collection/assets/t9n/create-related-feature/resources_zh-CN.json +3 -0
  149. package/dist/collection/assets/t9n/create-related-feature/resources_zh-HK.json +3 -0
  150. package/dist/collection/assets/t9n/create-related-feature/resources_zh-TW.json +3 -0
  151. package/dist/collection/assets/t9n/crowdsource-manager/resources_ar.json +4 -4
  152. package/dist/collection/assets/t9n/crowdsource-manager/resources_bg.json +4 -4
  153. package/dist/collection/assets/t9n/crowdsource-manager/resources_bs.json +4 -4
  154. package/dist/collection/assets/t9n/crowdsource-manager/resources_ca.json +4 -4
  155. package/dist/collection/assets/t9n/crowdsource-manager/resources_cs.json +4 -4
  156. package/dist/collection/assets/t9n/crowdsource-manager/resources_da.json +4 -4
  157. package/dist/collection/assets/t9n/crowdsource-manager/resources_de.json +4 -4
  158. package/dist/collection/assets/t9n/crowdsource-manager/resources_el.json +4 -4
  159. package/dist/collection/assets/t9n/crowdsource-manager/resources_es.json +4 -4
  160. package/dist/collection/assets/t9n/crowdsource-manager/resources_et.json +4 -4
  161. package/dist/collection/assets/t9n/crowdsource-manager/resources_fi.json +4 -4
  162. package/dist/collection/assets/t9n/crowdsource-manager/resources_fr.json +4 -4
  163. package/dist/collection/assets/t9n/crowdsource-manager/resources_he.json +4 -4
  164. package/dist/collection/assets/t9n/crowdsource-manager/resources_hr.json +4 -4
  165. package/dist/collection/assets/t9n/crowdsource-manager/resources_hu.json +4 -4
  166. package/dist/collection/assets/t9n/crowdsource-manager/resources_id.json +4 -4
  167. package/dist/collection/assets/t9n/crowdsource-manager/resources_it.json +4 -4
  168. package/dist/collection/assets/t9n/crowdsource-manager/resources_ja.json +4 -4
  169. package/dist/collection/assets/t9n/crowdsource-manager/resources_ko.json +4 -4
  170. package/dist/collection/assets/t9n/crowdsource-manager/resources_lt.json +4 -4
  171. package/dist/collection/assets/t9n/crowdsource-manager/resources_lv.json +4 -4
  172. package/dist/collection/assets/t9n/crowdsource-manager/resources_nb.json +4 -4
  173. package/dist/collection/assets/t9n/crowdsource-manager/resources_nl.json +4 -4
  174. package/dist/collection/assets/t9n/crowdsource-manager/resources_pl.json +4 -4
  175. package/dist/collection/assets/t9n/crowdsource-manager/resources_pt-BR.json +4 -4
  176. package/dist/collection/assets/t9n/crowdsource-manager/resources_pt-PT.json +4 -4
  177. package/dist/collection/assets/t9n/crowdsource-manager/resources_ro.json +4 -4
  178. package/dist/collection/assets/t9n/crowdsource-manager/resources_ru.json +4 -4
  179. package/dist/collection/assets/t9n/crowdsource-manager/resources_sk.json +4 -4
  180. package/dist/collection/assets/t9n/crowdsource-manager/resources_sl.json +4 -4
  181. package/dist/collection/assets/t9n/crowdsource-manager/resources_sr.json +4 -4
  182. package/dist/collection/assets/t9n/crowdsource-manager/resources_sv.json +4 -4
  183. package/dist/collection/assets/t9n/crowdsource-manager/resources_th.json +4 -4
  184. package/dist/collection/assets/t9n/crowdsource-manager/resources_tr.json +4 -4
  185. package/dist/collection/assets/t9n/crowdsource-manager/resources_uk.json +4 -4
  186. package/dist/collection/assets/t9n/crowdsource-manager/resources_vi.json +4 -4
  187. package/dist/collection/assets/t9n/crowdsource-manager/resources_zh-CN.json +4 -4
  188. package/dist/collection/assets/t9n/crowdsource-manager/resources_zh-HK.json +4 -4
  189. package/dist/collection/assets/t9n/crowdsource-manager/resources_zh-TW.json +4 -4
  190. package/dist/collection/assets/t9n/crowdsource-reporter/resources_ar.json +3 -4
  191. package/dist/collection/assets/t9n/crowdsource-reporter/resources_bg.json +3 -4
  192. package/dist/collection/assets/t9n/crowdsource-reporter/resources_bs.json +3 -4
  193. package/dist/collection/assets/t9n/crowdsource-reporter/resources_ca.json +3 -4
  194. package/dist/collection/assets/t9n/crowdsource-reporter/resources_cs.json +3 -4
  195. package/dist/collection/assets/t9n/crowdsource-reporter/resources_da.json +3 -4
  196. package/dist/collection/assets/t9n/crowdsource-reporter/resources_de.json +3 -4
  197. package/dist/collection/assets/t9n/crowdsource-reporter/resources_el.json +3 -4
  198. package/dist/collection/assets/t9n/crowdsource-reporter/resources_es.json +3 -4
  199. package/dist/collection/assets/t9n/crowdsource-reporter/resources_et.json +3 -4
  200. package/dist/collection/assets/t9n/crowdsource-reporter/resources_fi.json +3 -4
  201. package/dist/collection/assets/t9n/crowdsource-reporter/resources_fr.json +3 -4
  202. package/dist/collection/assets/t9n/crowdsource-reporter/resources_he.json +3 -4
  203. package/dist/collection/assets/t9n/crowdsource-reporter/resources_hr.json +3 -4
  204. package/dist/collection/assets/t9n/crowdsource-reporter/resources_hu.json +3 -4
  205. package/dist/collection/assets/t9n/crowdsource-reporter/resources_id.json +3 -4
  206. package/dist/collection/assets/t9n/crowdsource-reporter/resources_it.json +3 -4
  207. package/dist/collection/assets/t9n/crowdsource-reporter/resources_ja.json +3 -4
  208. package/dist/collection/assets/t9n/crowdsource-reporter/resources_ko.json +3 -4
  209. package/dist/collection/assets/t9n/crowdsource-reporter/resources_lt.json +3 -4
  210. package/dist/collection/assets/t9n/crowdsource-reporter/resources_lv.json +3 -4
  211. package/dist/collection/assets/t9n/crowdsource-reporter/resources_nb.json +3 -4
  212. package/dist/collection/assets/t9n/crowdsource-reporter/resources_nl.json +3 -4
  213. package/dist/collection/assets/t9n/crowdsource-reporter/resources_pl.json +3 -4
  214. package/dist/collection/assets/t9n/crowdsource-reporter/resources_pt-BR.json +3 -4
  215. package/dist/collection/assets/t9n/crowdsource-reporter/resources_pt-PT.json +3 -4
  216. package/dist/collection/assets/t9n/crowdsource-reporter/resources_ro.json +3 -4
  217. package/dist/collection/assets/t9n/crowdsource-reporter/resources_ru.json +3 -4
  218. package/dist/collection/assets/t9n/crowdsource-reporter/resources_sk.json +3 -4
  219. package/dist/collection/assets/t9n/crowdsource-reporter/resources_sl.json +3 -4
  220. package/dist/collection/assets/t9n/crowdsource-reporter/resources_sr.json +3 -4
  221. package/dist/collection/assets/t9n/crowdsource-reporter/resources_sv.json +3 -4
  222. package/dist/collection/assets/t9n/crowdsource-reporter/resources_th.json +3 -4
  223. package/dist/collection/assets/t9n/crowdsource-reporter/resources_tr.json +3 -4
  224. package/dist/collection/assets/t9n/crowdsource-reporter/resources_uk.json +3 -4
  225. package/dist/collection/assets/t9n/crowdsource-reporter/resources_vi.json +3 -4
  226. package/dist/collection/assets/t9n/crowdsource-reporter/resources_zh-CN.json +3 -4
  227. package/dist/collection/assets/t9n/crowdsource-reporter/resources_zh-HK.json +3 -4
  228. package/dist/collection/assets/t9n/crowdsource-reporter/resources_zh-TW.json +3 -4
  229. package/dist/collection/assets/t9n/layer-table/resources.json +1 -0
  230. package/dist/collection/assets/t9n/layer-table/resources_ar.json +3 -2
  231. package/dist/collection/assets/t9n/layer-table/resources_bg.json +3 -2
  232. package/dist/collection/assets/t9n/layer-table/resources_bs.json +3 -2
  233. package/dist/collection/assets/t9n/layer-table/resources_ca.json +3 -2
  234. package/dist/collection/assets/t9n/layer-table/resources_cs.json +3 -2
  235. package/dist/collection/assets/t9n/layer-table/resources_da.json +3 -2
  236. package/dist/collection/assets/t9n/layer-table/resources_de.json +3 -2
  237. package/dist/collection/assets/t9n/layer-table/resources_el.json +3 -2
  238. package/dist/collection/assets/t9n/layer-table/resources_en.json +1 -0
  239. package/dist/collection/assets/t9n/layer-table/resources_es.json +3 -2
  240. package/dist/collection/assets/t9n/layer-table/resources_et.json +3 -2
  241. package/dist/collection/assets/t9n/layer-table/resources_fi.json +3 -2
  242. package/dist/collection/assets/t9n/layer-table/resources_fr.json +3 -2
  243. package/dist/collection/assets/t9n/layer-table/resources_he.json +3 -2
  244. package/dist/collection/assets/t9n/layer-table/resources_hr.json +3 -2
  245. package/dist/collection/assets/t9n/layer-table/resources_hu.json +3 -2
  246. package/dist/collection/assets/t9n/layer-table/resources_id.json +3 -2
  247. package/dist/collection/assets/t9n/layer-table/resources_it.json +3 -2
  248. package/dist/collection/assets/t9n/layer-table/resources_ja.json +3 -2
  249. package/dist/collection/assets/t9n/layer-table/resources_ko.json +3 -2
  250. package/dist/collection/assets/t9n/layer-table/resources_lt.json +3 -2
  251. package/dist/collection/assets/t9n/layer-table/resources_lv.json +3 -2
  252. package/dist/collection/assets/t9n/layer-table/resources_nb.json +3 -2
  253. package/dist/collection/assets/t9n/layer-table/resources_nl.json +3 -2
  254. package/dist/collection/assets/t9n/layer-table/resources_pl.json +3 -2
  255. package/dist/collection/assets/t9n/layer-table/resources_pt-BR.json +3 -2
  256. package/dist/collection/assets/t9n/layer-table/resources_pt-PT.json +3 -2
  257. package/dist/collection/assets/t9n/layer-table/resources_ro.json +3 -2
  258. package/dist/collection/assets/t9n/layer-table/resources_ru.json +3 -2
  259. package/dist/collection/assets/t9n/layer-table/resources_sk.json +3 -2
  260. package/dist/collection/assets/t9n/layer-table/resources_sl.json +3 -2
  261. package/dist/collection/assets/t9n/layer-table/resources_sr.json +3 -2
  262. package/dist/collection/assets/t9n/layer-table/resources_sv.json +3 -2
  263. package/dist/collection/assets/t9n/layer-table/resources_th.json +3 -2
  264. package/dist/collection/assets/t9n/layer-table/resources_tr.json +3 -2
  265. package/dist/collection/assets/t9n/layer-table/resources_uk.json +3 -2
  266. package/dist/collection/assets/t9n/layer-table/resources_vi.json +3 -2
  267. package/dist/collection/assets/t9n/layer-table/resources_zh-CN.json +3 -2
  268. package/dist/collection/assets/t9n/layer-table/resources_zh-HK.json +3 -2
  269. package/dist/collection/assets/t9n/layer-table/resources_zh-TW.json +3 -2
  270. package/dist/collection/assets/t9n/map-card/resources.json +2 -1
  271. package/dist/collection/assets/t9n/map-card/resources_ar.json +6 -5
  272. package/dist/collection/assets/t9n/map-card/resources_bg.json +6 -5
  273. package/dist/collection/assets/t9n/map-card/resources_bs.json +6 -5
  274. package/dist/collection/assets/t9n/map-card/resources_ca.json +6 -5
  275. package/dist/collection/assets/t9n/map-card/resources_cs.json +6 -5
  276. package/dist/collection/assets/t9n/map-card/resources_da.json +6 -5
  277. package/dist/collection/assets/t9n/map-card/resources_de.json +6 -5
  278. package/dist/collection/assets/t9n/map-card/resources_el.json +6 -5
  279. package/dist/collection/assets/t9n/map-card/resources_en.json +2 -1
  280. package/dist/collection/assets/t9n/map-card/resources_es.json +6 -5
  281. package/dist/collection/assets/t9n/map-card/resources_et.json +6 -5
  282. package/dist/collection/assets/t9n/map-card/resources_fi.json +6 -5
  283. package/dist/collection/assets/t9n/map-card/resources_fr.json +6 -5
  284. package/dist/collection/assets/t9n/map-card/resources_he.json +6 -5
  285. package/dist/collection/assets/t9n/map-card/resources_hr.json +6 -5
  286. package/dist/collection/assets/t9n/map-card/resources_hu.json +6 -5
  287. package/dist/collection/assets/t9n/map-card/resources_id.json +6 -5
  288. package/dist/collection/assets/t9n/map-card/resources_it.json +6 -5
  289. package/dist/collection/assets/t9n/map-card/resources_ja.json +6 -5
  290. package/dist/collection/assets/t9n/map-card/resources_ko.json +6 -5
  291. package/dist/collection/assets/t9n/map-card/resources_lt.json +6 -5
  292. package/dist/collection/assets/t9n/map-card/resources_lv.json +6 -5
  293. package/dist/collection/assets/t9n/map-card/resources_nb.json +6 -5
  294. package/dist/collection/assets/t9n/map-card/resources_nl.json +6 -5
  295. package/dist/collection/assets/t9n/map-card/resources_pl.json +6 -5
  296. package/dist/collection/assets/t9n/map-card/resources_pt-BR.json +6 -5
  297. package/dist/collection/assets/t9n/map-card/resources_pt-PT.json +6 -5
  298. package/dist/collection/assets/t9n/map-card/resources_ro.json +6 -5
  299. package/dist/collection/assets/t9n/map-card/resources_ru.json +6 -5
  300. package/dist/collection/assets/t9n/map-card/resources_sk.json +6 -5
  301. package/dist/collection/assets/t9n/map-card/resources_sl.json +6 -5
  302. package/dist/collection/assets/t9n/map-card/resources_sr.json +6 -5
  303. package/dist/collection/assets/t9n/map-card/resources_sv.json +6 -5
  304. package/dist/collection/assets/t9n/map-card/resources_th.json +6 -5
  305. package/dist/collection/assets/t9n/map-card/resources_tr.json +6 -5
  306. package/dist/collection/assets/t9n/map-card/resources_uk.json +6 -5
  307. package/dist/collection/assets/t9n/map-card/resources_vi.json +6 -5
  308. package/dist/collection/assets/t9n/map-card/resources_zh-CN.json +6 -5
  309. package/dist/collection/assets/t9n/map-card/resources_zh-HK.json +6 -5
  310. package/dist/collection/assets/t9n/map-card/resources_zh-TW.json +6 -5
  311. package/dist/collection/components/card-manager/card-manager.js +22 -3
  312. package/dist/collection/components/create-feature/create-feature.js +36 -19
  313. package/dist/collection/components/crowdsource-manager/crowdsource-manager.css +8 -4
  314. package/dist/collection/components/crowdsource-manager/crowdsource-manager.js +64 -21
  315. package/dist/collection/components/crowdsource-reporter/crowdsource-reporter.js +1 -1
  316. package/dist/collection/components/delete-button/delete-button.js +1 -1
  317. package/dist/collection/components/edit-card/edit-card.js +1 -1
  318. package/dist/collection/components/feature-comments/feature-comments.js +1 -1
  319. package/dist/collection/components/feature-details/feature-details.js +6 -6
  320. package/dist/collection/components/feature-form-flow-item/feature-form-flow-item.js +1 -1
  321. package/dist/collection/components/feature-list/feature-list.js +3 -3
  322. package/dist/collection/components/features-flow-item/features-flow-item.js +1 -1
  323. package/dist/collection/components/floor-filter/floor-filter.js +1 -1
  324. package/dist/collection/components/info-card/info-card.js +2 -2
  325. package/dist/collection/components/json-editor/json-editor.js +1 -1
  326. package/dist/collection/components/layer-table/layer-table.css +4 -0
  327. package/dist/collection/components/layer-table/layer-table.js +49 -22
  328. package/dist/collection/components/layout-manager/layout-manager.js +1 -1
  329. package/dist/collection/components/list-flow-item/list-flow-item.js +1 -1
  330. package/dist/collection/components/location-flow-item/location-flow-item.js +1 -1
  331. package/dist/collection/components/map-card/map-card.css +10 -2
  332. package/dist/collection/components/map-card/map-card.js +471 -30
  333. package/dist/collection/components/map-draw-tools/map-draw-tools.js +1 -1
  334. package/dist/collection/components/map-fullscreen/map-fullscreen.js +1 -1
  335. package/dist/collection/components/map-layer-picker/map-layer-picker.js +55 -5
  336. package/dist/collection/components/map-legend/map-legend.js +1 -1
  337. package/dist/collection/components/map-picker/map-picker.css +7 -3
  338. package/dist/collection/components/map-picker/map-picker.js +3 -3
  339. package/dist/collection/components/map-search/map-search.js +1 -1
  340. package/dist/collection/components/map-select-tools/map-select-tools.js +1 -1
  341. package/dist/collection/components/map-tools/map-tools.js +1 -1
  342. package/dist/collection/components/pci-calculator/pci-calculator.js +1 -1
  343. package/dist/collection/components/pdf-download/pdf-download.js +1 -1
  344. package/dist/collection/components/public-notification/public-notification.js +1 -1
  345. package/dist/collection/components/refine-results-flow-item/refine-results-flow-item.js +1 -1
  346. package/dist/collection/components/refine-selection/refine-selection.js +1 -1
  347. package/dist/collection/components/share-item/share-item.js +1 -1
  348. package/dist/collection/components/solution-configuration/solution-configuration.js +3 -3
  349. package/dist/collection/components/solution-contents/solution-contents.js +1 -1
  350. package/dist/collection/components/solution-item/solution-item.js +1 -1
  351. package/dist/collection/components/solution-item-accordion/solution-item-accordion.js +3 -3
  352. package/dist/collection/components/solution-item-details/solution-item-details.js +1 -1
  353. package/dist/collection/components/solution-item-icon/item-icons/360vr16.svg +1 -0
  354. package/dist/collection/components/solution-item-icon/item-icons/360vr32.svg +1 -0
  355. package/dist/collection/components/solution-item-icon/item-icons/3dobjecttileslayer16.svg +1 -0
  356. package/dist/collection/components/solution-item-icon/item-icons/3dobjecttileslayer32.svg +1 -0
  357. package/dist/collection/components/solution-item-icon/item-icons/3dtileslayerpackage16.svg +1 -0
  358. package/dist/collection/components/solution-item-icon/item-icons/3dtileslayerpackage24.svg +1 -0
  359. package/dist/collection/components/solution-item-icon/item-icons/addindesktop16.svg +1 -0
  360. package/dist/collection/components/solution-item-icon/item-icons/addindesktop32.svg +1 -0
  361. package/dist/collection/components/solution-item-icon/item-icons/apacheparquet16.svg +1 -0
  362. package/dist/collection/components/solution-item-icon/item-icons/apacheparquet32.svg +1 -0
  363. package/dist/collection/components/solution-item-icon/item-icons/apps16.svg +1 -0
  364. package/dist/collection/components/solution-item-icon/item-icons/apps32.svg +1 -0
  365. package/dist/collection/components/solution-item-icon/item-icons/appsgray16.svg +1 -0
  366. package/dist/collection/components/solution-item-icon/item-icons/appsgray32.svg +1 -0
  367. package/dist/collection/components/solution-item-icon/item-icons/bigdataanalytics16.svg +69 -0
  368. package/dist/collection/components/solution-item-icon/item-icons/bigdataanalytics32.svg +93 -0
  369. package/dist/collection/components/solution-item-icon/item-icons/cad16.svg +1 -0
  370. package/dist/collection/components/solution-item-icon/item-icons/cad32.svg +1 -0
  371. package/dist/collection/components/solution-item-icon/item-icons/catalog16.svg +1 -0
  372. package/dist/collection/components/solution-item-icon/item-icons/catalog32.svg +1 -0
  373. package/dist/collection/components/solution-item-icon/item-icons/classificationschema16.svg +1 -0
  374. package/dist/collection/components/solution-item-icon/item-icons/classificationschema32.svg +1 -0
  375. package/dist/collection/components/solution-item-icon/item-icons/classifierdefinition16.svg +1 -0
  376. package/dist/collection/components/solution-item-icon/item-icons/classifierdefinition32.svg +1 -0
  377. package/dist/collection/components/solution-item-icon/item-icons/codeSnippet16.svg +1 -0
  378. package/dist/collection/components/solution-item-icon/item-icons/codeSnippet32.svg +1 -0
  379. package/dist/collection/components/solution-item-icon/item-icons/csv16.svg +1 -0
  380. package/dist/collection/components/solution-item-icon/item-icons/csv32.svg +1 -0
  381. package/dist/collection/components/solution-item-icon/item-icons/csvcollection16.svg +1 -0
  382. package/dist/collection/components/solution-item-icon/item-icons/csvcollection32.svg +1 -0
  383. package/dist/collection/components/solution-item-icon/item-icons/dashboard16.svg +1 -0
  384. package/dist/collection/components/solution-item-icon/item-icons/dashboard32.svg +1 -0
  385. package/dist/collection/components/solution-item-icon/item-icons/data16.svg +1 -0
  386. package/dist/collection/components/solution-item-icon/item-icons/data32.svg +1 -0
  387. package/dist/collection/components/solution-item-icon/item-icons/dataengineeringmodel16.svg +12 -0
  388. package/dist/collection/components/solution-item-icon/item-icons/dataengineeringmodel32.svg +14 -0
  389. package/dist/collection/components/solution-item-icon/item-icons/dataengineeringworkbook16.svg +5 -0
  390. package/dist/collection/components/solution-item-icon/item-icons/dataengineeringworkbook32.svg +9 -0
  391. package/dist/collection/components/solution-item-icon/item-icons/datafiles16.svg +1 -0
  392. package/dist/collection/components/solution-item-icon/item-icons/datafiles32.svg +1 -0
  393. package/dist/collection/components/solution-item-icon/item-icons/datafilesgray16.svg +1 -0
  394. package/dist/collection/components/solution-item-icon/item-icons/datafilesgray32.svg +1 -0
  395. package/dist/collection/components/solution-item-icon/item-icons/datapipeline16.svg +1 -0
  396. package/dist/collection/components/solution-item-icon/item-icons/datapipeline32.svg +1 -0
  397. package/dist/collection/components/solution-item-icon/item-icons/datastore16.svg +1 -0
  398. package/dist/collection/components/solution-item-icon/item-icons/datastore32.svg +1 -0
  399. package/dist/collection/components/solution-item-icon/item-icons/datastorecollection16.svg +1 -0
  400. package/dist/collection/components/solution-item-icon/item-icons/datastorecollection32.svg +1 -0
  401. package/dist/collection/components/solution-item-icon/item-icons/deeplearningpackage16.svg +1 -0
  402. package/dist/collection/components/solution-item-icon/item-icons/deeplearningpackage32.svg +1 -0
  403. package/dist/collection/components/solution-item-icon/item-icons/deeplearningproject16.svg +1 -0
  404. package/dist/collection/components/solution-item-icon/item-icons/deeplearningproject32.svg +1 -0
  405. package/dist/collection/components/solution-item-icon/item-icons/desktopstyle16.svg +1 -0
  406. package/dist/collection/components/solution-item-icon/item-icons/desktopstyle32.svg +1 -0
  407. package/dist/collection/components/solution-item-icon/item-icons/dictionarystyle16.svg +1 -0
  408. package/dist/collection/components/solution-item-icon/item-icons/dictionarystyle32.svg +1 -0
  409. package/dist/collection/components/solution-item-icon/item-icons/elevationlayer16.svg +1 -0
  410. package/dist/collection/components/solution-item-icon/item-icons/elevationlayer32.svg +1 -0
  411. package/dist/collection/components/solution-item-icon/item-icons/excaliburimageryproject16.svg +1 -0
  412. package/dist/collection/components/solution-item-icon/item-icons/excaliburimageryproject32.svg +1 -0
  413. package/dist/collection/components/solution-item-icon/item-icons/excel16.svg +1 -0
  414. package/dist/collection/components/solution-item-icon/item-icons/excel32.svg +1 -0
  415. package/dist/collection/components/solution-item-icon/item-icons/experiencebuilder16.svg +15 -0
  416. package/dist/collection/components/solution-item-icon/item-icons/experiencebuilder32.svg +15 -0
  417. package/dist/collection/components/solution-item-icon/item-icons/experiencebuilderwidget16.svg +1 -0
  418. package/dist/collection/components/solution-item-icon/item-icons/experiencebuilderwidget32.svg +1 -0
  419. package/dist/collection/components/solution-item-icon/item-icons/experiencebuilderwidgetpackage16.svg +1 -0
  420. package/dist/collection/components/solution-item-icon/item-icons/experiencebuilderwidgetpackage32.svg +1 -0
  421. package/dist/collection/components/solution-item-icon/item-icons/features16.svg +1 -0
  422. package/dist/collection/components/solution-item-icon/item-icons/features32.svg +1 -0
  423. package/dist/collection/components/solution-item-icon/item-icons/featureshosted16.svg +1 -0
  424. package/dist/collection/components/solution-item-icon/item-icons/featureshosted32.svg +1 -0
  425. package/dist/collection/components/solution-item-icon/item-icons/feed16.svg +126 -0
  426. package/dist/collection/components/solution-item-icon/item-icons/feed32.svg +140 -0
  427. package/dist/collection/components/solution-item-icon/item-icons/geocodeservice16.svg +1 -0
  428. package/dist/collection/components/solution-item-icon/item-icons/geocodeservice32.svg +1 -0
  429. package/dist/collection/components/solution-item-icon/item-icons/geodataservice16.svg +1 -0
  430. package/dist/collection/components/solution-item-icon/item-icons/geodataservice32.svg +1 -0
  431. package/dist/collection/components/solution-item-icon/item-icons/geopackage16.svg +1 -0
  432. package/dist/collection/components/solution-item-icon/item-icons/geopackage32.svg +1 -0
  433. package/dist/collection/components/solution-item-icon/item-icons/geoprocessingmodel16.svg +1 -0
  434. package/dist/collection/components/solution-item-icon/item-icons/geoprocessingmodel32.svg +1 -0
  435. package/dist/collection/components/solution-item-icon/item-icons/hubevent16.svg +1 -0
  436. package/dist/collection/components/solution-item-icon/item-icons/hubevent32.svg +1 -0
  437. package/dist/collection/components/solution-item-icon/item-icons/hubinitiative16.svg +1 -0
  438. package/dist/collection/components/solution-item-icon/item-icons/hubinitiative32.svg +1 -0
  439. package/dist/collection/components/solution-item-icon/item-icons/hubinitiativetemplate16.svg +1 -0
  440. package/dist/collection/components/solution-item-icon/item-icons/hubinitiativetemplate32.svg +1 -0
  441. package/dist/collection/components/solution-item-icon/item-icons/hubpage16.svg +1 -0
  442. package/dist/collection/components/solution-item-icon/item-icons/hubpage32.svg +1 -0
  443. package/dist/collection/components/solution-item-icon/item-icons/hubproject16.svg +1 -0
  444. package/dist/collection/components/solution-item-icon/item-icons/hubproject32.svg +1 -0
  445. package/dist/collection/components/solution-item-icon/item-icons/hubsite16.svg +1 -0
  446. package/dist/collection/components/solution-item-icon/item-icons/hubsite32.svg +1 -0
  447. package/dist/collection/components/solution-item-icon/item-icons/image16.svg +1 -0
  448. package/dist/collection/components/solution-item-icon/item-icons/image32.svg +1 -0
  449. package/dist/collection/components/solution-item-icon/item-icons/imagecollection16.svg +1 -0
  450. package/dist/collection/components/solution-item-icon/item-icons/imagecollection32.svg +1 -0
  451. package/dist/collection/components/solution-item-icon/item-icons/imagery16.svg +1 -0
  452. package/dist/collection/components/solution-item-icon/item-icons/imagery32.svg +1 -0
  453. package/dist/collection/components/solution-item-icon/item-icons/indoorpositioningdataservice16.svg +1 -0
  454. package/dist/collection/components/solution-item-icon/item-icons/indoorpositioningdataservice32.svg +1 -0
  455. package/dist/collection/components/solution-item-icon/item-icons/insightsmodel16.svg +1 -0
  456. package/dist/collection/components/solution-item-icon/item-icons/insightsmodel32.svg +1 -0
  457. package/dist/collection/components/solution-item-icon/item-icons/insightspage16.svg +1 -0
  458. package/dist/collection/components/solution-item-icon/item-icons/insightspage32.svg +1 -0
  459. package/dist/collection/components/solution-item-icon/item-icons/insightsscript16.svg +12 -0
  460. package/dist/collection/components/solution-item-icon/item-icons/insightsscript32.svg +12 -0
  461. package/dist/collection/components/solution-item-icon/item-icons/insightstheme16.svg +1 -0
  462. package/dist/collection/components/solution-item-icon/item-icons/insightstheme32.svg +1 -0
  463. package/dist/collection/components/solution-item-icon/item-icons/insightsworkbookpackage16.svg +15 -0
  464. package/dist/collection/components/solution-item-icon/item-icons/insightsworkbookpackage32.svg +15 -0
  465. package/dist/collection/components/solution-item-icon/item-icons/instantapps16.svg +68 -0
  466. package/dist/collection/components/solution-item-icon/item-icons/instantapps32.svg +68 -0
  467. package/dist/collection/components/solution-item-icon/item-icons/integratedmeshtileslayer16.svg +1 -0
  468. package/dist/collection/components/solution-item-icon/item-icons/integratedmeshtileslayer32.svg +1 -0
  469. package/dist/collection/components/solution-item-icon/item-icons/investigation16.svg +1 -0
  470. package/dist/collection/components/solution-item-icon/item-icons/investigation32.svg +1 -0
  471. package/dist/collection/components/solution-item-icon/item-icons/kernelgatewayconnection16.svg +15 -0
  472. package/dist/collection/components/solution-item-icon/item-icons/kernelgatewayconnection32.svg +15 -0
  473. package/dist/collection/components/solution-item-icon/item-icons/key16.svg +1 -0
  474. package/dist/collection/components/solution-item-icon/item-icons/key32.svg +1 -0
  475. package/dist/collection/components/solution-item-icon/item-icons/kml16.svg +1 -0
  476. package/dist/collection/components/solution-item-icon/item-icons/kml32.svg +1 -0
  477. package/dist/collection/components/solution-item-icon/item-icons/knowledgegraph16.svg +1 -0
  478. package/dist/collection/components/solution-item-icon/item-icons/knowledgegraph32.svg +1 -0
  479. package/dist/collection/components/solution-item-icon/item-icons/knowledgegraphlayer16.svg +1 -0
  480. package/dist/collection/components/solution-item-icon/item-icons/knowledgegraphlayer32.svg +1 -0
  481. package/dist/collection/components/solution-item-icon/item-icons/knowledgestudio16.svg +1 -0
  482. package/dist/collection/components/solution-item-icon/item-icons/knowledgestudio32.svg +1 -0
  483. package/dist/collection/components/solution-item-icon/item-icons/layergroup16.svg +1 -0
  484. package/dist/collection/components/solution-item-icon/item-icons/layergroup2d16.svg +1 -0
  485. package/dist/collection/components/solution-item-icon/item-icons/layergroup2d32.svg +1 -0
  486. package/dist/collection/components/solution-item-icon/item-icons/layergroup32.svg +1 -0
  487. package/dist/collection/components/solution-item-icon/item-icons/layergroup3d16.svg +1 -0
  488. package/dist/collection/components/solution-item-icon/item-icons/layergroup3d32.svg +1 -0
  489. package/dist/collection/components/solution-item-icon/item-icons/layers16.svg +1 -0
  490. package/dist/collection/components/solution-item-icon/item-icons/layers32.svg +1 -0
  491. package/dist/collection/components/solution-item-icon/item-icons/layersfeatures16.svg +1 -0
  492. package/dist/collection/components/solution-item-icon/item-icons/layersfeatures32.svg +1 -0
  493. package/dist/collection/components/solution-item-icon/item-icons/layersfeatureshosted16.svg +1 -0
  494. package/dist/collection/components/solution-item-icon/item-icons/layersfeatureshosted32.svg +1 -0
  495. package/dist/collection/components/solution-item-icon/item-icons/layersgray16.svg +1 -0
  496. package/dist/collection/components/solution-item-icon/item-icons/layersgray32.svg +1 -0
  497. package/dist/collection/components/solution-item-icon/item-icons/linkchart16.svg +44 -0
  498. package/dist/collection/components/solution-item-icon/item-icons/linkchart32.svg +49 -0
  499. package/dist/collection/components/solution-item-icon/item-icons/livestreamvideolayer16.svg +1 -0
  500. package/dist/collection/components/solution-item-icon/item-icons/livestreamvideolayer32.svg +1 -0
  501. package/dist/collection/components/solution-item-icon/item-icons/mapimages16.svg +1 -0
  502. package/dist/collection/components/solution-item-icon/item-icons/mapimages32.svg +1 -0
  503. package/dist/collection/components/solution-item-icon/item-icons/maps16.svg +1 -0
  504. package/dist/collection/components/solution-item-icon/item-icons/maps32.svg +1 -0
  505. package/dist/collection/components/solution-item-icon/item-icons/mapsgray16.svg +1 -0
  506. package/dist/collection/components/solution-item-icon/item-icons/mapsgray32.svg +1 -0
  507. package/dist/collection/components/solution-item-icon/item-icons/maptiles16.svg +1 -0
  508. package/dist/collection/components/solution-item-icon/item-icons/maptiles32.svg +1 -0
  509. package/dist/collection/components/solution-item-icon/item-icons/marketplace16.svg +1 -0
  510. package/dist/collection/components/solution-item-icon/item-icons/marketplace32.svg +1 -0
  511. package/dist/collection/components/solution-item-icon/item-icons/markup16.svg +1 -0
  512. package/dist/collection/components/solution-item-icon/item-icons/markup32.svg +1 -0
  513. package/dist/collection/components/solution-item-icon/item-icons/medialayer16.svg +1 -0
  514. package/dist/collection/components/solution-item-icon/item-icons/medialayer32.svg +1 -0
  515. package/dist/collection/components/solution-item-icon/item-icons/mediaservice16.svg +1 -0
  516. package/dist/collection/components/solution-item-icon/item-icons/mediaservice32.svg +1 -0
  517. package/dist/collection/components/solution-item-icon/item-icons/mission16.svg +1 -0
  518. package/dist/collection/components/solution-item-icon/item-icons/mission32.svg +1 -0
  519. package/dist/collection/components/solution-item-icon/item-icons/missionreport16.svg +1 -0
  520. package/dist/collection/components/solution-item-icon/item-icons/missionreport32.svg +1 -0
  521. package/dist/collection/components/solution-item-icon/item-icons/mobilescenepackage16.svg +1 -0
  522. package/dist/collection/components/solution-item-icon/item-icons/mobilescenepackage32.svg +1 -0
  523. package/dist/collection/components/solution-item-icon/item-icons/nativeapp16.svg +3 -0
  524. package/dist/collection/components/solution-item-icon/item-icons/nativeapp32.svg +3 -0
  525. package/dist/collection/components/solution-item-icon/item-icons/nativeappinstaller16.svg +15 -0
  526. package/dist/collection/components/solution-item-icon/item-icons/nativeappinstaller32.svg +19 -0
  527. package/dist/collection/components/solution-item-icon/item-icons/notebook16.svg +11 -0
  528. package/dist/collection/components/solution-item-icon/item-icons/notebook32.svg +5 -0
  529. package/dist/collection/components/solution-item-icon/item-icons/notebookcodesnippets16.svg +3 -0
  530. package/dist/collection/components/solution-item-icon/item-icons/notebookcodesnippets32.svg +3 -0
  531. package/dist/collection/components/solution-item-icon/item-icons/orthomappingproject16.svg +1 -0
  532. package/dist/collection/components/solution-item-icon/item-icons/orthomappingproject32.svg +1 -0
  533. package/dist/collection/components/solution-item-icon/item-icons/orthomappingtemplate16.svg +1 -0
  534. package/dist/collection/components/solution-item-icon/item-icons/orthomappingtemplate32.svg +1 -0
  535. package/dist/collection/components/solution-item-icon/item-icons/pdf16.svg +1 -0
  536. package/dist/collection/components/solution-item-icon/item-icons/pdf32.svg +1 -0
  537. package/dist/collection/components/solution-item-icon/item-icons/powerpoint16.svg +1 -0
  538. package/dist/collection/components/solution-item-icon/item-icons/powerpoint32.svg +1 -0
  539. package/dist/collection/components/solution-item-icon/item-icons/premiumcontent16.svg +1 -0
  540. package/dist/collection/components/solution-item-icon/item-icons/premiumcontent32.svg +1 -0
  541. package/dist/collection/components/solution-item-icon/item-icons/premiumcredits16.svg +1 -0
  542. package/dist/collection/components/solution-item-icon/item-icons/premiumcredits32.svg +1 -0
  543. package/dist/collection/components/solution-item-icon/item-icons/premiumitem16.svg +1 -0
  544. package/dist/collection/components/solution-item-icon/item-icons/premiumitem32.svg +1 -0
  545. package/dist/collection/components/solution-item-icon/item-icons/propresentation16.svg +1 -0
  546. package/dist/collection/components/solution-item-icon/item-icons/propresentation32.svg +1 -0
  547. package/dist/collection/components/solution-item-icon/item-icons/proproject16.svg +41 -0
  548. package/dist/collection/components/solution-item-icon/item-icons/proproject32.svg +41 -0
  549. package/dist/collection/components/solution-item-icon/item-icons/proreport16.svg +47 -0
  550. package/dist/collection/components/solution-item-icon/item-icons/proreport32.svg +48 -0
  551. package/dist/collection/components/solution-item-icon/item-icons/quickcaptureproject16.svg +1 -0
  552. package/dist/collection/components/solution-item-icon/item-icons/quickcaptureproject32.svg +1 -0
  553. package/dist/collection/components/solution-item-icon/item-icons/rasterprocessingtemplate16.svg +1 -0
  554. package/dist/collection/components/solution-item-icon/item-icons/rasterprocessingtemplate32.svg +1 -0
  555. package/dist/collection/components/solution-item-icon/item-icons/realitymappingproject16.svg +1 -0
  556. package/dist/collection/components/solution-item-icon/item-icons/realitymappingproject32.svg +1 -0
  557. package/dist/collection/components/solution-item-icon/item-icons/realtimeanalytics16.svg +61 -0
  558. package/dist/collection/components/solution-item-icon/item-icons/realtimeanalytics32.svg +68 -0
  559. package/dist/collection/components/solution-item-icon/item-icons/relationaldatabaseconnection16.svg +1 -0
  560. package/dist/collection/components/solution-item-icon/item-icons/relationaldatabaseconnection32.svg +1 -0
  561. package/dist/collection/components/solution-item-icon/item-icons/report16.svg +1 -0
  562. package/dist/collection/components/solution-item-icon/item-icons/report32.svg +1 -0
  563. package/dist/collection/components/solution-item-icon/item-icons/reporttemplate16.svg +1 -0
  564. package/dist/collection/components/solution-item-icon/item-icons/reporttemplate32.svg +1 -0
  565. package/dist/collection/components/solution-item-icon/item-icons/routelayer16.svg +1 -0
  566. package/dist/collection/components/solution-item-icon/item-icons/routelayer32.svg +1 -0
  567. package/dist/collection/components/solution-item-icon/item-icons/scenepackage16.svg +1 -0
  568. package/dist/collection/components/solution-item-icon/item-icons/scenepackage32.svg +1 -0
  569. package/dist/collection/components/solution-item-icon/item-icons/sceneweblayer16.svg +1 -0
  570. package/dist/collection/components/solution-item-icon/item-icons/sceneweblayer32.svg +1 -0
  571. package/dist/collection/components/solution-item-icon/item-icons/sceneweblayerbuilding16.svg +85 -0
  572. package/dist/collection/components/solution-item-icon/item-icons/sceneweblayerbuilding32.svg +102 -0
  573. package/dist/collection/components/solution-item-icon/item-icons/sceneweblayerline16.svg +1 -0
  574. package/dist/collection/components/solution-item-icon/item-icons/sceneweblayerline32.svg +1 -0
  575. package/dist/collection/components/solution-item-icon/item-icons/sceneweblayermesh16.svg +1 -0
  576. package/dist/collection/components/solution-item-icon/item-icons/sceneweblayermesh32.svg +1 -0
  577. package/dist/collection/components/solution-item-icon/item-icons/sceneweblayermultipatch16.svg +1 -0
  578. package/dist/collection/components/solution-item-icon/item-icons/sceneweblayermultipatch32.svg +1 -0
  579. package/dist/collection/components/solution-item-icon/item-icons/sceneweblayerpoint16.svg +1 -0
  580. package/dist/collection/components/solution-item-icon/item-icons/sceneweblayerpoint32.svg +1 -0
  581. package/dist/collection/components/solution-item-icon/item-icons/sceneweblayerpointcloud16.svg +1 -0
  582. package/dist/collection/components/solution-item-icon/item-icons/sceneweblayerpointcloud32.svg +1 -0
  583. package/dist/collection/components/solution-item-icon/item-icons/sceneweblayerpolygon16.svg +1 -0
  584. package/dist/collection/components/solution-item-icon/item-icons/sceneweblayerpolygon32.svg +1 -0
  585. package/dist/collection/components/solution-item-icon/item-icons/sceneweblayervoxel16.svg +1 -0
  586. package/dist/collection/components/solution-item-icon/item-icons/sceneweblayervoxel32.svg +1 -0
  587. package/dist/collection/components/solution-item-icon/item-icons/shapefile16.svg +1 -0
  588. package/dist/collection/components/solution-item-icon/item-icons/shapefile32.svg +1 -0
  589. package/dist/collection/components/solution-item-icon/item-icons/solutions16.svg +1 -0
  590. package/dist/collection/components/solution-item-icon/item-icons/spatiotemporal16.svg +1 -0
  591. package/dist/collection/components/solution-item-icon/item-icons/spatiotemporal32.svg +1 -0
  592. package/dist/collection/components/solution-item-icon/item-icons/spatiotemporaltable16.svg +1 -0
  593. package/dist/collection/components/solution-item-icon/item-icons/spatiotemporaltable32.svg +1 -0
  594. package/dist/collection/components/solution-item-icon/item-icons/sqlite16.svg +1 -0
  595. package/dist/collection/components/solution-item-icon/item-icons/sqlite32.svg +1 -0
  596. package/dist/collection/components/solution-item-icon/item-icons/statisticaldatacollection16.svg +1 -0
  597. package/dist/collection/components/solution-item-icon/item-icons/statisticaldatacollection32.svg +1 -0
  598. package/dist/collection/components/solution-item-icon/item-icons/storymap16.svg +1 -0
  599. package/dist/collection/components/solution-item-icon/item-icons/storymap32.svg +1 -0
  600. package/dist/collection/components/solution-item-icon/item-icons/storymapbriefing16.svg +1 -0
  601. package/dist/collection/components/solution-item-icon/item-icons/storymapbriefing32.svg +1 -0
  602. package/dist/collection/components/solution-item-icon/item-icons/storymapcollection16.svg +1 -0
  603. package/dist/collection/components/solution-item-icon/item-icons/storymapcollection32.svg +1 -0
  604. package/dist/collection/components/solution-item-icon/item-icons/storymapstemplate16.svg +1 -0
  605. package/dist/collection/components/solution-item-icon/item-icons/storymapstemplate32.svg +1 -0
  606. package/dist/collection/components/solution-item-icon/item-icons/storymaptheme16.svg +1 -0
  607. package/dist/collection/components/solution-item-icon/item-icons/storymaptheme32.svg +1 -0
  608. package/dist/collection/components/solution-item-icon/item-icons/streamlayer16.svg +1 -0
  609. package/dist/collection/components/solution-item-icon/item-icons/streamlayer32.svg +1 -0
  610. package/dist/collection/components/solution-item-icon/item-icons/style16.svg +1 -0
  611. package/dist/collection/components/solution-item-icon/item-icons/style32.svg +1 -0
  612. package/dist/collection/components/solution-item-icon/item-icons/suitabilitymodel16.svg +1 -0
  613. package/dist/collection/components/solution-item-icon/item-icons/suitabilitymodel32.svg +1 -0
  614. package/dist/collection/components/solution-item-icon/item-icons/survey123addin16.svg +1 -0
  615. package/dist/collection/components/solution-item-icon/item-icons/survey123addin32.svg +1 -0
  616. package/dist/collection/components/solution-item-icon/item-icons/survey16.svg +1 -0
  617. package/dist/collection/components/solution-item-icon/item-icons/survey32.svg +1 -0
  618. package/dist/collection/components/solution-item-icon/item-icons/table16.svg +1 -0
  619. package/dist/collection/components/solution-item-icon/item-icons/table32.svg +1 -0
  620. package/dist/collection/components/solution-item-icon/item-icons/taskfile16.svg +1 -0
  621. package/dist/collection/components/solution-item-icon/item-icons/taskfile32.svg +1 -0
  622. package/dist/collection/components/solution-item-icon/item-icons/tiledimagerylayer16.svg +1 -0
  623. package/dist/collection/components/solution-item-icon/item-icons/tiledimagerylayer32.svg +1 -0
  624. package/dist/collection/components/solution-item-icon/item-icons/tilepackage16.svg +1 -0
  625. package/dist/collection/components/solution-item-icon/item-icons/tilepackage32.svg +1 -0
  626. package/dist/collection/components/solution-item-icon/item-icons/tool16.svg +1 -0
  627. package/dist/collection/components/solution-item-icon/item-icons/tool32.svg +1 -0
  628. package/dist/collection/components/solution-item-icon/item-icons/toolsgray16.svg +1 -0
  629. package/dist/collection/components/solution-item-icon/item-icons/toolsgray32.svg +1 -0
  630. package/dist/collection/components/solution-item-icon/item-icons/urbanmodel16.svg +120 -0
  631. package/dist/collection/components/solution-item-icon/item-icons/urbanmodel32.svg +119 -0
  632. package/dist/collection/components/solution-item-icon/item-icons/urbanproject16.svg +5 -0
  633. package/dist/collection/components/solution-item-icon/item-icons/urbanproject32.svg +5 -0
  634. package/dist/collection/components/solution-item-icon/item-icons/utilitynetwork16.svg +1 -0
  635. package/dist/collection/components/solution-item-icon/item-icons/utilitynetwork32.svg +1 -0
  636. package/dist/collection/components/solution-item-icon/item-icons/vectortile16.svg +1 -0
  637. package/dist/collection/components/solution-item-icon/item-icons/vectortile32.svg +1 -0
  638. package/dist/collection/components/solution-item-icon/item-icons/vectortilefile16.svg +1 -0
  639. package/dist/collection/components/solution-item-icon/item-icons/vectortilefile32.svg +1 -0
  640. package/dist/collection/components/solution-item-icon/item-icons/vectortilepackage16.svg +1 -0
  641. package/dist/collection/components/solution-item-icon/item-icons/vectortilepackage32.svg +1 -0
  642. package/dist/collection/components/solution-item-icon/item-icons/webexperiencetemplate16.svg +19 -0
  643. package/dist/collection/components/solution-item-icon/item-icons/webexperiencetemplate32.svg +19 -0
  644. package/dist/collection/components/solution-item-icon/item-icons/websceneglobal16.svg +1 -0
  645. package/dist/collection/components/solution-item-icon/item-icons/websceneglobal32.svg +1 -0
  646. package/dist/collection/components/solution-item-icon/item-icons/webscenelocal16.svg +1 -0
  647. package/dist/collection/components/solution-item-icon/item-icons/webscenelocal32.svg +1 -0
  648. package/dist/collection/components/solution-item-icon/item-icons/wfsogcoptions16.svg +1 -0
  649. package/dist/collection/components/solution-item-icon/item-icons/wfsogcoptions32.svg +1 -0
  650. package/dist/collection/components/solution-item-icon/item-icons/word16.svg +1 -0
  651. package/dist/collection/components/solution-item-icon/item-icons/word32.svg +1 -0
  652. package/dist/collection/components/solution-item-icon/item-icons/workbook16.svg +1 -0
  653. package/dist/collection/components/solution-item-icon/item-icons/workbook32.svg +1 -0
  654. package/dist/collection/components/solution-item-icon/item-icons/workflow16.svg +1 -0
  655. package/dist/collection/components/solution-item-icon/item-icons/workflow32.svg +1 -0
  656. package/dist/collection/components/solution-item-icon/solution-item-icon.js +378 -245
  657. package/dist/collection/components/solution-item-sharing/solution-item-sharing.js +1 -1
  658. package/dist/collection/components/solution-organization-variables/solution-organization-variables.js +1 -1
  659. package/dist/collection/components/solution-resource-item/solution-resource-item.js +1 -1
  660. package/dist/collection/components/solution-spatial-ref/solution-spatial-ref.js +1 -1
  661. package/dist/collection/components/solution-template-data/solution-template-data.js +1 -1
  662. package/dist/collection/components/solution-variables/solution-variables.js +1 -1
  663. package/dist/collection/components/spatial-ref/spatial-ref.js +1 -1
  664. package/dist/collection/utils/interfaces.ts +1 -1
  665. package/dist/components/card-manager2.js +6 -3
  666. package/dist/components/create-feature2.js +19 -19
  667. package/dist/components/crowdsource-manager.js +60 -23
  668. package/dist/components/crowdsource-reporter.js +1 -1
  669. package/dist/components/delete-button2.js +19 -13
  670. package/dist/components/edit-card2.js +1 -1
  671. package/dist/components/feature-comments.js +1 -1
  672. package/dist/components/feature-details2.js +6 -6
  673. package/dist/components/feature-form-flow-item.js +1 -1
  674. package/dist/components/feature-list2.js +3 -3
  675. package/dist/components/features-flow-item.js +1 -1
  676. package/dist/components/floor-filter2.js +1 -1
  677. package/dist/components/info-card2.js +2 -2
  678. package/dist/components/json-editor2.js +1 -1
  679. package/dist/components/layer-table2.js +44 -23
  680. package/dist/components/layout-manager.js +1 -1
  681. package/dist/components/list-flow-item.js +1 -1
  682. package/dist/components/location-flow-item.js +1 -1
  683. package/dist/components/map-card2.js +436 -33
  684. package/dist/components/map-draw-tools2.js +1 -1
  685. package/dist/components/map-fullscreen2.js +1 -1
  686. package/dist/components/map-layer-picker2.js +19 -5
  687. package/dist/components/map-legend2.js +1 -1
  688. package/dist/components/map-picker2.js +4 -4
  689. package/dist/components/map-search2.js +1 -1
  690. package/dist/components/map-select-tools2.js +1 -1
  691. package/dist/components/map-tools2.js +1 -1
  692. package/dist/components/pci-calculator.js +1 -1
  693. package/dist/components/pdf-download2.js +1 -1
  694. package/dist/components/public-notification.js +1 -1
  695. package/dist/components/refine-results-flow-item.js +1 -1
  696. package/dist/components/refine-selection2.js +1 -1
  697. package/dist/components/share-item.js +1 -1
  698. package/dist/components/solution-configuration.js +3 -3
  699. package/dist/components/solution-contents2.js +1 -1
  700. package/dist/components/solution-item-accordion.js +3 -3
  701. package/dist/components/solution-item-details2.js +1 -1
  702. package/dist/components/solution-item-icon2.js +378 -245
  703. package/dist/components/solution-item-sharing2.js +1 -1
  704. package/dist/components/solution-item2.js +1 -1
  705. package/dist/components/solution-organization-variables2.js +1 -1
  706. package/dist/components/solution-resource-item2.js +1 -1
  707. package/dist/components/solution-spatial-ref2.js +1 -1
  708. package/dist/components/solution-template-data2.js +1 -1
  709. package/dist/components/solution-variables2.js +1 -1
  710. package/dist/components/spatial-ref.js +1 -1
  711. package/dist/esm/basemap-gallery_7.entry.js +9 -9
  712. package/dist/esm/buffer-tools_3.entry.js +1 -1
  713. package/dist/esm/calcite-alert_5.entry.js +20 -21
  714. package/dist/esm/calcite-combobox_3.entry.js +16 -4
  715. package/dist/esm/calcite-flow_4.entry.js +6 -6
  716. package/dist/esm/calcite-modal_3.entry.js +1 -1
  717. package/dist/esm/calcite-shell-panel_14.entry.js +7 -7
  718. package/dist/esm/card-manager_3.entry.js +474 -54
  719. package/dist/esm/crowdsource-manager.entry.js +55 -21
  720. package/dist/esm/crowdsource-reporter.entry.js +1 -1
  721. package/dist/esm/feature-comments.entry.js +1 -1
  722. package/dist/esm/feature-form-flow-item.entry.js +1 -1
  723. package/dist/esm/feature-list.entry.js +3 -3
  724. package/dist/esm/features-flow-item.entry.js +1 -1
  725. package/dist/esm/layout-manager.entry.js +1 -1
  726. package/dist/esm/list-flow-item.entry.js +1 -1
  727. package/dist/esm/loader.js +1 -1
  728. package/dist/esm/location-flow-item.entry.js +1 -1
  729. package/dist/esm/map-select-tools_3.entry.js +3 -3
  730. package/dist/esm/pci-calculator.entry.js +1 -1
  731. package/dist/esm/public-notification.entry.js +1 -1
  732. package/dist/esm/refine-results-flow-item.entry.js +1 -1
  733. package/dist/esm/share-item.entry.js +1 -1
  734. package/dist/esm/solution-configuration.entry.js +3 -3
  735. package/dist/esm/solution-contents_3.entry.js +3 -3
  736. package/dist/esm/solution-item-accordion.entry.js +3 -3
  737. package/dist/esm/solution-item-icon.entry.js +378 -245
  738. package/dist/esm/solutions-components.js +1 -1
  739. package/dist/esm/spatial-ref.entry.js +1 -1
  740. package/dist/solutions-components/assets/t9n/card-manager/resources.json +1 -0
  741. package/dist/solutions-components/assets/t9n/card-manager/resources_ar.json +4 -3
  742. package/dist/solutions-components/assets/t9n/card-manager/resources_bg.json +4 -3
  743. package/dist/solutions-components/assets/t9n/card-manager/resources_bs.json +4 -3
  744. package/dist/solutions-components/assets/t9n/card-manager/resources_ca.json +4 -3
  745. package/dist/solutions-components/assets/t9n/card-manager/resources_cs.json +4 -3
  746. package/dist/solutions-components/assets/t9n/card-manager/resources_da.json +4 -3
  747. package/dist/solutions-components/assets/t9n/card-manager/resources_de.json +4 -3
  748. package/dist/solutions-components/assets/t9n/card-manager/resources_el.json +4 -3
  749. package/dist/solutions-components/assets/t9n/card-manager/resources_en.json +1 -0
  750. package/dist/solutions-components/assets/t9n/card-manager/resources_es.json +4 -3
  751. package/dist/solutions-components/assets/t9n/card-manager/resources_et.json +4 -3
  752. package/dist/solutions-components/assets/t9n/card-manager/resources_fi.json +4 -3
  753. package/dist/solutions-components/assets/t9n/card-manager/resources_fr.json +4 -3
  754. package/dist/solutions-components/assets/t9n/card-manager/resources_he.json +4 -3
  755. package/dist/solutions-components/assets/t9n/card-manager/resources_hr.json +4 -3
  756. package/dist/solutions-components/assets/t9n/card-manager/resources_hu.json +4 -3
  757. package/dist/solutions-components/assets/t9n/card-manager/resources_id.json +4 -3
  758. package/dist/solutions-components/assets/t9n/card-manager/resources_it.json +4 -3
  759. package/dist/solutions-components/assets/t9n/card-manager/resources_ja.json +4 -3
  760. package/dist/solutions-components/assets/t9n/card-manager/resources_ko.json +4 -3
  761. package/dist/solutions-components/assets/t9n/card-manager/resources_lt.json +4 -3
  762. package/dist/solutions-components/assets/t9n/card-manager/resources_lv.json +4 -3
  763. package/dist/solutions-components/assets/t9n/card-manager/resources_nb.json +4 -3
  764. package/dist/solutions-components/assets/t9n/card-manager/resources_nl.json +4 -3
  765. package/dist/solutions-components/assets/t9n/card-manager/resources_pl.json +4 -3
  766. package/dist/solutions-components/assets/t9n/card-manager/resources_pt-BR.json +4 -3
  767. package/dist/solutions-components/assets/t9n/card-manager/resources_pt-PT.json +4 -3
  768. package/dist/solutions-components/assets/t9n/card-manager/resources_ro.json +4 -3
  769. package/dist/solutions-components/assets/t9n/card-manager/resources_ru.json +4 -3
  770. package/dist/solutions-components/assets/t9n/card-manager/resources_sk.json +4 -3
  771. package/dist/solutions-components/assets/t9n/card-manager/resources_sl.json +4 -3
  772. package/dist/solutions-components/assets/t9n/card-manager/resources_sr.json +4 -3
  773. package/dist/solutions-components/assets/t9n/card-manager/resources_sv.json +4 -3
  774. package/dist/solutions-components/assets/t9n/card-manager/resources_th.json +4 -3
  775. package/dist/solutions-components/assets/t9n/card-manager/resources_tr.json +4 -3
  776. package/dist/solutions-components/assets/t9n/card-manager/resources_uk.json +4 -3
  777. package/dist/solutions-components/assets/t9n/card-manager/resources_vi.json +4 -3
  778. package/dist/solutions-components/assets/t9n/card-manager/resources_zh-CN.json +4 -3
  779. package/dist/solutions-components/assets/t9n/card-manager/resources_zh-HK.json +4 -3
  780. package/dist/solutions-components/assets/t9n/card-manager/resources_zh-TW.json +4 -3
  781. package/dist/solutions-components/assets/t9n/create-feature/resources.json +1 -1
  782. package/dist/solutions-components/assets/t9n/create-feature/resources_ar.json +5 -0
  783. package/dist/solutions-components/assets/t9n/create-feature/resources_bg.json +5 -0
  784. package/dist/solutions-components/assets/t9n/create-feature/resources_bs.json +5 -0
  785. package/dist/solutions-components/assets/t9n/create-feature/resources_ca.json +5 -0
  786. package/dist/solutions-components/assets/t9n/create-feature/resources_cs.json +5 -0
  787. package/dist/solutions-components/assets/t9n/create-feature/resources_da.json +5 -0
  788. package/dist/solutions-components/assets/t9n/create-feature/resources_de.json +5 -0
  789. package/dist/solutions-components/assets/t9n/create-feature/resources_el.json +5 -0
  790. package/dist/solutions-components/assets/t9n/create-feature/resources_en.json +1 -1
  791. package/dist/solutions-components/assets/t9n/create-feature/resources_es.json +5 -0
  792. package/dist/solutions-components/assets/t9n/create-feature/resources_et.json +5 -0
  793. package/dist/solutions-components/assets/t9n/create-feature/resources_fi.json +5 -0
  794. package/dist/solutions-components/assets/t9n/create-feature/resources_fr.json +5 -0
  795. package/dist/solutions-components/assets/t9n/create-feature/resources_he.json +5 -0
  796. package/dist/solutions-components/assets/t9n/create-feature/resources_hr.json +5 -0
  797. package/dist/solutions-components/assets/t9n/create-feature/resources_hu.json +5 -0
  798. package/dist/solutions-components/assets/t9n/create-feature/resources_id.json +5 -0
  799. package/dist/solutions-components/assets/t9n/create-feature/resources_it.json +5 -0
  800. package/dist/solutions-components/assets/t9n/create-feature/resources_ja.json +5 -0
  801. package/dist/solutions-components/assets/t9n/create-feature/resources_ko.json +5 -0
  802. package/dist/solutions-components/assets/t9n/create-feature/resources_lt.json +5 -0
  803. package/dist/solutions-components/assets/t9n/create-feature/resources_lv.json +5 -0
  804. package/dist/solutions-components/assets/t9n/create-feature/resources_nb.json +5 -0
  805. package/dist/solutions-components/assets/t9n/create-feature/resources_nl.json +5 -0
  806. package/dist/solutions-components/assets/t9n/create-feature/resources_pl.json +5 -0
  807. package/dist/solutions-components/assets/t9n/create-feature/resources_pt-BR.json +5 -0
  808. package/dist/solutions-components/assets/t9n/create-feature/resources_pt-PT.json +5 -0
  809. package/dist/solutions-components/assets/t9n/create-feature/resources_ro.json +5 -0
  810. package/dist/solutions-components/assets/t9n/create-feature/resources_ru.json +5 -0
  811. package/dist/solutions-components/assets/t9n/create-feature/resources_sk.json +5 -0
  812. package/dist/solutions-components/assets/t9n/create-feature/resources_sl.json +5 -0
  813. package/dist/solutions-components/assets/t9n/create-feature/resources_sr.json +5 -0
  814. package/dist/solutions-components/assets/t9n/create-feature/resources_sv.json +5 -0
  815. package/dist/solutions-components/assets/t9n/create-feature/resources_th.json +5 -0
  816. package/dist/solutions-components/assets/t9n/create-feature/resources_tr.json +5 -0
  817. package/dist/solutions-components/assets/t9n/create-feature/resources_uk.json +5 -0
  818. package/dist/solutions-components/assets/t9n/create-feature/resources_vi.json +5 -0
  819. package/dist/solutions-components/assets/t9n/create-feature/resources_zh-CN.json +5 -0
  820. package/dist/solutions-components/assets/t9n/create-feature/resources_zh-HK.json +5 -0
  821. package/dist/solutions-components/assets/t9n/create-feature/resources_zh-TW.json +5 -0
  822. package/dist/solutions-components/assets/t9n/create-related-feature/resources_ar.json +3 -0
  823. package/dist/solutions-components/assets/t9n/create-related-feature/resources_bg.json +3 -0
  824. package/dist/solutions-components/assets/t9n/create-related-feature/resources_bs.json +3 -0
  825. package/dist/solutions-components/assets/t9n/create-related-feature/resources_ca.json +3 -0
  826. package/dist/solutions-components/assets/t9n/create-related-feature/resources_cs.json +3 -0
  827. package/dist/solutions-components/assets/t9n/create-related-feature/resources_da.json +3 -0
  828. package/dist/solutions-components/assets/t9n/create-related-feature/resources_de.json +3 -0
  829. package/dist/solutions-components/assets/t9n/create-related-feature/resources_el.json +3 -0
  830. package/dist/solutions-components/assets/t9n/create-related-feature/resources_es.json +3 -0
  831. package/dist/solutions-components/assets/t9n/create-related-feature/resources_et.json +3 -0
  832. package/dist/solutions-components/assets/t9n/create-related-feature/resources_fi.json +3 -0
  833. package/dist/solutions-components/assets/t9n/create-related-feature/resources_fr.json +3 -0
  834. package/dist/solutions-components/assets/t9n/create-related-feature/resources_he.json +3 -0
  835. package/dist/solutions-components/assets/t9n/create-related-feature/resources_hr.json +3 -0
  836. package/dist/solutions-components/assets/t9n/create-related-feature/resources_hu.json +3 -0
  837. package/dist/solutions-components/assets/t9n/create-related-feature/resources_id.json +3 -0
  838. package/dist/solutions-components/assets/t9n/create-related-feature/resources_it.json +3 -0
  839. package/dist/solutions-components/assets/t9n/create-related-feature/resources_ja.json +3 -0
  840. package/dist/solutions-components/assets/t9n/create-related-feature/resources_ko.json +3 -0
  841. package/dist/solutions-components/assets/t9n/create-related-feature/resources_lt.json +3 -0
  842. package/dist/solutions-components/assets/t9n/create-related-feature/resources_lv.json +3 -0
  843. package/dist/solutions-components/assets/t9n/create-related-feature/resources_nb.json +3 -0
  844. package/dist/solutions-components/assets/t9n/create-related-feature/resources_nl.json +3 -0
  845. package/dist/solutions-components/assets/t9n/create-related-feature/resources_pl.json +3 -0
  846. package/dist/solutions-components/assets/t9n/create-related-feature/resources_pt-BR.json +3 -0
  847. package/dist/solutions-components/assets/t9n/create-related-feature/resources_pt-PT.json +3 -0
  848. package/dist/solutions-components/assets/t9n/create-related-feature/resources_ro.json +3 -0
  849. package/dist/solutions-components/assets/t9n/create-related-feature/resources_ru.json +3 -0
  850. package/dist/solutions-components/assets/t9n/create-related-feature/resources_sk.json +3 -0
  851. package/dist/solutions-components/assets/t9n/create-related-feature/resources_sl.json +3 -0
  852. package/dist/solutions-components/assets/t9n/create-related-feature/resources_sr.json +3 -0
  853. package/dist/solutions-components/assets/t9n/create-related-feature/resources_sv.json +3 -0
  854. package/dist/solutions-components/assets/t9n/create-related-feature/resources_th.json +3 -0
  855. package/dist/solutions-components/assets/t9n/create-related-feature/resources_tr.json +3 -0
  856. package/dist/solutions-components/assets/t9n/create-related-feature/resources_uk.json +3 -0
  857. package/dist/solutions-components/assets/t9n/create-related-feature/resources_vi.json +3 -0
  858. package/dist/solutions-components/assets/t9n/create-related-feature/resources_zh-CN.json +3 -0
  859. package/dist/solutions-components/assets/t9n/create-related-feature/resources_zh-HK.json +3 -0
  860. package/dist/solutions-components/assets/t9n/create-related-feature/resources_zh-TW.json +3 -0
  861. package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_ar.json +4 -4
  862. package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_bg.json +4 -4
  863. package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_bs.json +4 -4
  864. package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_ca.json +4 -4
  865. package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_cs.json +4 -4
  866. package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_da.json +4 -4
  867. package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_de.json +4 -4
  868. package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_el.json +4 -4
  869. package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_es.json +4 -4
  870. package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_et.json +4 -4
  871. package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_fi.json +4 -4
  872. package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_fr.json +4 -4
  873. package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_he.json +4 -4
  874. package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_hr.json +4 -4
  875. package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_hu.json +4 -4
  876. package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_id.json +4 -4
  877. package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_it.json +4 -4
  878. package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_ja.json +4 -4
  879. package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_ko.json +4 -4
  880. package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_lt.json +4 -4
  881. package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_lv.json +4 -4
  882. package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_nb.json +4 -4
  883. package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_nl.json +4 -4
  884. package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_pl.json +4 -4
  885. package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_pt-BR.json +4 -4
  886. package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_pt-PT.json +4 -4
  887. package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_ro.json +4 -4
  888. package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_ru.json +4 -4
  889. package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_sk.json +4 -4
  890. package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_sl.json +4 -4
  891. package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_sr.json +4 -4
  892. package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_sv.json +4 -4
  893. package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_th.json +4 -4
  894. package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_tr.json +4 -4
  895. package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_uk.json +4 -4
  896. package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_vi.json +4 -4
  897. package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_zh-CN.json +4 -4
  898. package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_zh-HK.json +4 -4
  899. package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_zh-TW.json +4 -4
  900. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_ar.json +3 -4
  901. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_bg.json +3 -4
  902. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_bs.json +3 -4
  903. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_ca.json +3 -4
  904. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_cs.json +3 -4
  905. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_da.json +3 -4
  906. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_de.json +3 -4
  907. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_el.json +3 -4
  908. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_es.json +3 -4
  909. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_et.json +3 -4
  910. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_fi.json +3 -4
  911. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_fr.json +3 -4
  912. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_he.json +3 -4
  913. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_hr.json +3 -4
  914. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_hu.json +3 -4
  915. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_id.json +3 -4
  916. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_it.json +3 -4
  917. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_ja.json +3 -4
  918. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_ko.json +3 -4
  919. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_lt.json +3 -4
  920. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_lv.json +3 -4
  921. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_nb.json +3 -4
  922. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_nl.json +3 -4
  923. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_pl.json +3 -4
  924. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_pt-BR.json +3 -4
  925. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_pt-PT.json +3 -4
  926. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_ro.json +3 -4
  927. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_ru.json +3 -4
  928. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_sk.json +3 -4
  929. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_sl.json +3 -4
  930. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_sr.json +3 -4
  931. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_sv.json +3 -4
  932. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_th.json +3 -4
  933. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_tr.json +3 -4
  934. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_uk.json +3 -4
  935. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_vi.json +3 -4
  936. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_zh-CN.json +3 -4
  937. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_zh-HK.json +3 -4
  938. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_zh-TW.json +3 -4
  939. package/dist/solutions-components/assets/t9n/layer-table/resources.json +1 -0
  940. package/dist/solutions-components/assets/t9n/layer-table/resources_ar.json +3 -2
  941. package/dist/solutions-components/assets/t9n/layer-table/resources_bg.json +3 -2
  942. package/dist/solutions-components/assets/t9n/layer-table/resources_bs.json +3 -2
  943. package/dist/solutions-components/assets/t9n/layer-table/resources_ca.json +3 -2
  944. package/dist/solutions-components/assets/t9n/layer-table/resources_cs.json +3 -2
  945. package/dist/solutions-components/assets/t9n/layer-table/resources_da.json +3 -2
  946. package/dist/solutions-components/assets/t9n/layer-table/resources_de.json +3 -2
  947. package/dist/solutions-components/assets/t9n/layer-table/resources_el.json +3 -2
  948. package/dist/solutions-components/assets/t9n/layer-table/resources_en.json +1 -0
  949. package/dist/solutions-components/assets/t9n/layer-table/resources_es.json +3 -2
  950. package/dist/solutions-components/assets/t9n/layer-table/resources_et.json +3 -2
  951. package/dist/solutions-components/assets/t9n/layer-table/resources_fi.json +3 -2
  952. package/dist/solutions-components/assets/t9n/layer-table/resources_fr.json +3 -2
  953. package/dist/solutions-components/assets/t9n/layer-table/resources_he.json +3 -2
  954. package/dist/solutions-components/assets/t9n/layer-table/resources_hr.json +3 -2
  955. package/dist/solutions-components/assets/t9n/layer-table/resources_hu.json +3 -2
  956. package/dist/solutions-components/assets/t9n/layer-table/resources_id.json +3 -2
  957. package/dist/solutions-components/assets/t9n/layer-table/resources_it.json +3 -2
  958. package/dist/solutions-components/assets/t9n/layer-table/resources_ja.json +3 -2
  959. package/dist/solutions-components/assets/t9n/layer-table/resources_ko.json +3 -2
  960. package/dist/solutions-components/assets/t9n/layer-table/resources_lt.json +3 -2
  961. package/dist/solutions-components/assets/t9n/layer-table/resources_lv.json +3 -2
  962. package/dist/solutions-components/assets/t9n/layer-table/resources_nb.json +3 -2
  963. package/dist/solutions-components/assets/t9n/layer-table/resources_nl.json +3 -2
  964. package/dist/solutions-components/assets/t9n/layer-table/resources_pl.json +3 -2
  965. package/dist/solutions-components/assets/t9n/layer-table/resources_pt-BR.json +3 -2
  966. package/dist/solutions-components/assets/t9n/layer-table/resources_pt-PT.json +3 -2
  967. package/dist/solutions-components/assets/t9n/layer-table/resources_ro.json +3 -2
  968. package/dist/solutions-components/assets/t9n/layer-table/resources_ru.json +3 -2
  969. package/dist/solutions-components/assets/t9n/layer-table/resources_sk.json +3 -2
  970. package/dist/solutions-components/assets/t9n/layer-table/resources_sl.json +3 -2
  971. package/dist/solutions-components/assets/t9n/layer-table/resources_sr.json +3 -2
  972. package/dist/solutions-components/assets/t9n/layer-table/resources_sv.json +3 -2
  973. package/dist/solutions-components/assets/t9n/layer-table/resources_th.json +3 -2
  974. package/dist/solutions-components/assets/t9n/layer-table/resources_tr.json +3 -2
  975. package/dist/solutions-components/assets/t9n/layer-table/resources_uk.json +3 -2
  976. package/dist/solutions-components/assets/t9n/layer-table/resources_vi.json +3 -2
  977. package/dist/solutions-components/assets/t9n/layer-table/resources_zh-CN.json +3 -2
  978. package/dist/solutions-components/assets/t9n/layer-table/resources_zh-HK.json +3 -2
  979. package/dist/solutions-components/assets/t9n/layer-table/resources_zh-TW.json +3 -2
  980. package/dist/solutions-components/assets/t9n/map-card/resources.json +2 -1
  981. package/dist/solutions-components/assets/t9n/map-card/resources_ar.json +6 -5
  982. package/dist/solutions-components/assets/t9n/map-card/resources_bg.json +6 -5
  983. package/dist/solutions-components/assets/t9n/map-card/resources_bs.json +6 -5
  984. package/dist/solutions-components/assets/t9n/map-card/resources_ca.json +6 -5
  985. package/dist/solutions-components/assets/t9n/map-card/resources_cs.json +6 -5
  986. package/dist/solutions-components/assets/t9n/map-card/resources_da.json +6 -5
  987. package/dist/solutions-components/assets/t9n/map-card/resources_de.json +6 -5
  988. package/dist/solutions-components/assets/t9n/map-card/resources_el.json +6 -5
  989. package/dist/solutions-components/assets/t9n/map-card/resources_en.json +2 -1
  990. package/dist/solutions-components/assets/t9n/map-card/resources_es.json +6 -5
  991. package/dist/solutions-components/assets/t9n/map-card/resources_et.json +6 -5
  992. package/dist/solutions-components/assets/t9n/map-card/resources_fi.json +6 -5
  993. package/dist/solutions-components/assets/t9n/map-card/resources_fr.json +6 -5
  994. package/dist/solutions-components/assets/t9n/map-card/resources_he.json +6 -5
  995. package/dist/solutions-components/assets/t9n/map-card/resources_hr.json +6 -5
  996. package/dist/solutions-components/assets/t9n/map-card/resources_hu.json +6 -5
  997. package/dist/solutions-components/assets/t9n/map-card/resources_id.json +6 -5
  998. package/dist/solutions-components/assets/t9n/map-card/resources_it.json +6 -5
  999. package/dist/solutions-components/assets/t9n/map-card/resources_ja.json +6 -5
  1000. package/dist/solutions-components/assets/t9n/map-card/resources_ko.json +6 -5
  1001. package/dist/solutions-components/assets/t9n/map-card/resources_lt.json +6 -5
  1002. package/dist/solutions-components/assets/t9n/map-card/resources_lv.json +6 -5
  1003. package/dist/solutions-components/assets/t9n/map-card/resources_nb.json +6 -5
  1004. package/dist/solutions-components/assets/t9n/map-card/resources_nl.json +6 -5
  1005. package/dist/solutions-components/assets/t9n/map-card/resources_pl.json +6 -5
  1006. package/dist/solutions-components/assets/t9n/map-card/resources_pt-BR.json +6 -5
  1007. package/dist/solutions-components/assets/t9n/map-card/resources_pt-PT.json +6 -5
  1008. package/dist/solutions-components/assets/t9n/map-card/resources_ro.json +6 -5
  1009. package/dist/solutions-components/assets/t9n/map-card/resources_ru.json +6 -5
  1010. package/dist/solutions-components/assets/t9n/map-card/resources_sk.json +6 -5
  1011. package/dist/solutions-components/assets/t9n/map-card/resources_sl.json +6 -5
  1012. package/dist/solutions-components/assets/t9n/map-card/resources_sr.json +6 -5
  1013. package/dist/solutions-components/assets/t9n/map-card/resources_sv.json +6 -5
  1014. package/dist/solutions-components/assets/t9n/map-card/resources_th.json +6 -5
  1015. package/dist/solutions-components/assets/t9n/map-card/resources_tr.json +6 -5
  1016. package/dist/solutions-components/assets/t9n/map-card/resources_uk.json +6 -5
  1017. package/dist/solutions-components/assets/t9n/map-card/resources_vi.json +6 -5
  1018. package/dist/solutions-components/assets/t9n/map-card/resources_zh-CN.json +6 -5
  1019. package/dist/solutions-components/assets/t9n/map-card/resources_zh-HK.json +6 -5
  1020. package/dist/solutions-components/assets/t9n/map-card/resources_zh-TW.json +6 -5
  1021. package/dist/solutions-components/item-icons/360vr16.svg +1 -0
  1022. package/dist/solutions-components/item-icons/360vr32.svg +1 -0
  1023. package/dist/solutions-components/item-icons/3dobjecttileslayer16.svg +1 -0
  1024. package/dist/solutions-components/item-icons/3dobjecttileslayer32.svg +1 -0
  1025. package/dist/solutions-components/item-icons/3dtileslayerpackage16.svg +1 -0
  1026. package/dist/solutions-components/item-icons/3dtileslayerpackage24.svg +1 -0
  1027. package/dist/solutions-components/item-icons/addindesktop16.svg +1 -0
  1028. package/dist/solutions-components/item-icons/addindesktop32.svg +1 -0
  1029. package/dist/solutions-components/item-icons/apacheparquet16.svg +1 -0
  1030. package/dist/solutions-components/item-icons/apacheparquet32.svg +1 -0
  1031. package/dist/solutions-components/item-icons/apps16.svg +1 -0
  1032. package/dist/solutions-components/item-icons/apps32.svg +1 -0
  1033. package/dist/solutions-components/item-icons/appsgray16.svg +1 -0
  1034. package/dist/solutions-components/item-icons/appsgray32.svg +1 -0
  1035. package/dist/solutions-components/item-icons/bigdataanalytics16.svg +69 -0
  1036. package/dist/solutions-components/item-icons/bigdataanalytics32.svg +93 -0
  1037. package/dist/solutions-components/item-icons/cad16.svg +1 -0
  1038. package/dist/solutions-components/item-icons/cad32.svg +1 -0
  1039. package/dist/solutions-components/item-icons/catalog16.svg +1 -0
  1040. package/dist/solutions-components/item-icons/catalog32.svg +1 -0
  1041. package/dist/solutions-components/item-icons/classificationschema16.svg +1 -0
  1042. package/dist/solutions-components/item-icons/classificationschema32.svg +1 -0
  1043. package/dist/solutions-components/item-icons/classifierdefinition16.svg +1 -0
  1044. package/dist/solutions-components/item-icons/classifierdefinition32.svg +1 -0
  1045. package/dist/solutions-components/item-icons/codeSnippet16.svg +1 -0
  1046. package/dist/solutions-components/item-icons/codeSnippet32.svg +1 -0
  1047. package/dist/solutions-components/item-icons/csv16.svg +1 -0
  1048. package/dist/solutions-components/item-icons/csv32.svg +1 -0
  1049. package/dist/solutions-components/item-icons/csvcollection16.svg +1 -0
  1050. package/dist/solutions-components/item-icons/csvcollection32.svg +1 -0
  1051. package/dist/solutions-components/item-icons/dashboard16.svg +1 -0
  1052. package/dist/solutions-components/item-icons/dashboard32.svg +1 -0
  1053. package/dist/solutions-components/item-icons/data16.svg +1 -0
  1054. package/dist/solutions-components/item-icons/data32.svg +1 -0
  1055. package/dist/solutions-components/item-icons/dataengineeringmodel16.svg +12 -0
  1056. package/dist/solutions-components/item-icons/dataengineeringmodel32.svg +14 -0
  1057. package/dist/solutions-components/item-icons/dataengineeringworkbook16.svg +5 -0
  1058. package/dist/solutions-components/item-icons/dataengineeringworkbook32.svg +9 -0
  1059. package/dist/solutions-components/item-icons/datafiles16.svg +1 -0
  1060. package/dist/solutions-components/item-icons/datafiles32.svg +1 -0
  1061. package/dist/solutions-components/item-icons/datafilesgray16.svg +1 -0
  1062. package/dist/solutions-components/item-icons/datafilesgray32.svg +1 -0
  1063. package/dist/solutions-components/item-icons/datapipeline16.svg +1 -0
  1064. package/dist/solutions-components/item-icons/datapipeline32.svg +1 -0
  1065. package/dist/solutions-components/item-icons/datastore16.svg +1 -0
  1066. package/dist/solutions-components/item-icons/datastore32.svg +1 -0
  1067. package/dist/solutions-components/item-icons/datastorecollection16.svg +1 -0
  1068. package/dist/solutions-components/item-icons/datastorecollection32.svg +1 -0
  1069. package/dist/solutions-components/item-icons/deeplearningpackage16.svg +1 -0
  1070. package/dist/solutions-components/item-icons/deeplearningpackage32.svg +1 -0
  1071. package/dist/solutions-components/item-icons/deeplearningproject16.svg +1 -0
  1072. package/dist/solutions-components/item-icons/deeplearningproject32.svg +1 -0
  1073. package/dist/solutions-components/item-icons/desktopstyle16.svg +1 -0
  1074. package/dist/solutions-components/item-icons/desktopstyle32.svg +1 -0
  1075. package/dist/solutions-components/item-icons/dictionarystyle16.svg +1 -0
  1076. package/dist/solutions-components/item-icons/dictionarystyle32.svg +1 -0
  1077. package/dist/solutions-components/item-icons/elevationlayer16.svg +1 -0
  1078. package/dist/solutions-components/item-icons/elevationlayer32.svg +1 -0
  1079. package/dist/solutions-components/item-icons/excaliburimageryproject16.svg +1 -0
  1080. package/dist/solutions-components/item-icons/excaliburimageryproject32.svg +1 -0
  1081. package/dist/solutions-components/item-icons/excel16.svg +1 -0
  1082. package/dist/solutions-components/item-icons/excel32.svg +1 -0
  1083. package/dist/solutions-components/item-icons/experiencebuilder16.svg +15 -0
  1084. package/dist/solutions-components/item-icons/experiencebuilder32.svg +15 -0
  1085. package/dist/solutions-components/item-icons/experiencebuilderwidget16.svg +1 -0
  1086. package/dist/solutions-components/item-icons/experiencebuilderwidget32.svg +1 -0
  1087. package/dist/solutions-components/item-icons/experiencebuilderwidgetpackage16.svg +1 -0
  1088. package/dist/solutions-components/item-icons/experiencebuilderwidgetpackage32.svg +1 -0
  1089. package/dist/solutions-components/item-icons/features16.svg +1 -0
  1090. package/dist/solutions-components/item-icons/features32.svg +1 -0
  1091. package/dist/solutions-components/item-icons/featureshosted16.svg +1 -0
  1092. package/dist/solutions-components/item-icons/featureshosted32.svg +1 -0
  1093. package/dist/solutions-components/item-icons/feed16.svg +126 -0
  1094. package/dist/solutions-components/item-icons/feed32.svg +140 -0
  1095. package/dist/solutions-components/item-icons/geocodeservice16.svg +1 -0
  1096. package/dist/solutions-components/item-icons/geocodeservice32.svg +1 -0
  1097. package/dist/solutions-components/item-icons/geodataservice16.svg +1 -0
  1098. package/dist/solutions-components/item-icons/geodataservice32.svg +1 -0
  1099. package/dist/solutions-components/item-icons/geopackage16.svg +1 -0
  1100. package/dist/solutions-components/item-icons/geopackage32.svg +1 -0
  1101. package/dist/solutions-components/item-icons/geoprocessingmodel16.svg +1 -0
  1102. package/dist/solutions-components/item-icons/geoprocessingmodel32.svg +1 -0
  1103. package/dist/solutions-components/item-icons/hubevent16.svg +1 -0
  1104. package/dist/solutions-components/item-icons/hubevent32.svg +1 -0
  1105. package/dist/solutions-components/item-icons/hubinitiative16.svg +1 -0
  1106. package/dist/solutions-components/item-icons/hubinitiative32.svg +1 -0
  1107. package/dist/solutions-components/item-icons/hubinitiativetemplate16.svg +1 -0
  1108. package/dist/solutions-components/item-icons/hubinitiativetemplate32.svg +1 -0
  1109. package/dist/solutions-components/item-icons/hubpage16.svg +1 -0
  1110. package/dist/solutions-components/item-icons/hubpage32.svg +1 -0
  1111. package/dist/solutions-components/item-icons/hubproject16.svg +1 -0
  1112. package/dist/solutions-components/item-icons/hubproject32.svg +1 -0
  1113. package/dist/solutions-components/item-icons/hubsite16.svg +1 -0
  1114. package/dist/solutions-components/item-icons/hubsite32.svg +1 -0
  1115. package/dist/solutions-components/item-icons/image16.svg +1 -0
  1116. package/dist/solutions-components/item-icons/image32.svg +1 -0
  1117. package/dist/solutions-components/item-icons/imagecollection16.svg +1 -0
  1118. package/dist/solutions-components/item-icons/imagecollection32.svg +1 -0
  1119. package/dist/solutions-components/item-icons/imagery16.svg +1 -0
  1120. package/dist/solutions-components/item-icons/imagery32.svg +1 -0
  1121. package/dist/solutions-components/item-icons/indoorpositioningdataservice16.svg +1 -0
  1122. package/dist/solutions-components/item-icons/indoorpositioningdataservice32.svg +1 -0
  1123. package/dist/solutions-components/item-icons/insightsmodel16.svg +1 -0
  1124. package/dist/solutions-components/item-icons/insightsmodel32.svg +1 -0
  1125. package/dist/solutions-components/item-icons/insightspage16.svg +1 -0
  1126. package/dist/solutions-components/item-icons/insightspage32.svg +1 -0
  1127. package/dist/solutions-components/item-icons/insightsscript16.svg +12 -0
  1128. package/dist/solutions-components/item-icons/insightsscript32.svg +12 -0
  1129. package/dist/solutions-components/item-icons/insightstheme16.svg +1 -0
  1130. package/dist/solutions-components/item-icons/insightstheme32.svg +1 -0
  1131. package/dist/solutions-components/item-icons/insightsworkbookpackage16.svg +15 -0
  1132. package/dist/solutions-components/item-icons/insightsworkbookpackage32.svg +15 -0
  1133. package/dist/solutions-components/item-icons/instantapps16.svg +68 -0
  1134. package/dist/solutions-components/item-icons/instantapps32.svg +68 -0
  1135. package/dist/solutions-components/item-icons/integratedmeshtileslayer16.svg +1 -0
  1136. package/dist/solutions-components/item-icons/integratedmeshtileslayer32.svg +1 -0
  1137. package/dist/solutions-components/item-icons/investigation16.svg +1 -0
  1138. package/dist/solutions-components/item-icons/investigation32.svg +1 -0
  1139. package/dist/solutions-components/item-icons/kernelgatewayconnection16.svg +15 -0
  1140. package/dist/solutions-components/item-icons/kernelgatewayconnection32.svg +15 -0
  1141. package/dist/solutions-components/item-icons/key16.svg +1 -0
  1142. package/dist/solutions-components/item-icons/key32.svg +1 -0
  1143. package/dist/solutions-components/item-icons/kml16.svg +1 -0
  1144. package/dist/solutions-components/item-icons/kml32.svg +1 -0
  1145. package/dist/solutions-components/item-icons/knowledgegraph16.svg +1 -0
  1146. package/dist/solutions-components/item-icons/knowledgegraph32.svg +1 -0
  1147. package/dist/solutions-components/item-icons/knowledgegraphlayer16.svg +1 -0
  1148. package/dist/solutions-components/item-icons/knowledgegraphlayer32.svg +1 -0
  1149. package/dist/solutions-components/item-icons/knowledgestudio16.svg +1 -0
  1150. package/dist/solutions-components/item-icons/knowledgestudio32.svg +1 -0
  1151. package/dist/solutions-components/item-icons/layergroup16.svg +1 -0
  1152. package/dist/solutions-components/item-icons/layergroup2d16.svg +1 -0
  1153. package/dist/solutions-components/item-icons/layergroup2d32.svg +1 -0
  1154. package/dist/solutions-components/item-icons/layergroup32.svg +1 -0
  1155. package/dist/solutions-components/item-icons/layergroup3d16.svg +1 -0
  1156. package/dist/solutions-components/item-icons/layergroup3d32.svg +1 -0
  1157. package/dist/solutions-components/item-icons/layers16.svg +1 -0
  1158. package/dist/solutions-components/item-icons/layers32.svg +1 -0
  1159. package/dist/solutions-components/item-icons/layersfeatures16.svg +1 -0
  1160. package/dist/solutions-components/item-icons/layersfeatures32.svg +1 -0
  1161. package/dist/solutions-components/item-icons/layersfeatureshosted16.svg +1 -0
  1162. package/dist/solutions-components/item-icons/layersfeatureshosted32.svg +1 -0
  1163. package/dist/solutions-components/item-icons/layersgray16.svg +1 -0
  1164. package/dist/solutions-components/item-icons/layersgray32.svg +1 -0
  1165. package/dist/solutions-components/item-icons/linkchart16.svg +44 -0
  1166. package/dist/solutions-components/item-icons/linkchart32.svg +49 -0
  1167. package/dist/solutions-components/item-icons/livestreamvideolayer16.svg +1 -0
  1168. package/dist/solutions-components/item-icons/livestreamvideolayer32.svg +1 -0
  1169. package/dist/solutions-components/item-icons/mapimages16.svg +1 -0
  1170. package/dist/solutions-components/item-icons/mapimages32.svg +1 -0
  1171. package/dist/solutions-components/item-icons/maps16.svg +1 -0
  1172. package/dist/solutions-components/item-icons/maps32.svg +1 -0
  1173. package/dist/solutions-components/item-icons/mapsgray16.svg +1 -0
  1174. package/dist/solutions-components/item-icons/mapsgray32.svg +1 -0
  1175. package/dist/solutions-components/item-icons/maptiles16.svg +1 -0
  1176. package/dist/solutions-components/item-icons/maptiles32.svg +1 -0
  1177. package/dist/solutions-components/item-icons/marketplace16.svg +1 -0
  1178. package/dist/solutions-components/item-icons/marketplace32.svg +1 -0
  1179. package/dist/solutions-components/item-icons/markup16.svg +1 -0
  1180. package/dist/solutions-components/item-icons/markup32.svg +1 -0
  1181. package/dist/solutions-components/item-icons/medialayer16.svg +1 -0
  1182. package/dist/solutions-components/item-icons/medialayer32.svg +1 -0
  1183. package/dist/solutions-components/item-icons/mediaservice16.svg +1 -0
  1184. package/dist/solutions-components/item-icons/mediaservice32.svg +1 -0
  1185. package/dist/solutions-components/item-icons/mission16.svg +1 -0
  1186. package/dist/solutions-components/item-icons/mission32.svg +1 -0
  1187. package/dist/solutions-components/item-icons/missionreport16.svg +1 -0
  1188. package/dist/solutions-components/item-icons/missionreport32.svg +1 -0
  1189. package/dist/solutions-components/item-icons/mobilescenepackage16.svg +1 -0
  1190. package/dist/solutions-components/item-icons/mobilescenepackage32.svg +1 -0
  1191. package/dist/solutions-components/item-icons/nativeapp16.svg +3 -0
  1192. package/dist/solutions-components/item-icons/nativeapp32.svg +3 -0
  1193. package/dist/solutions-components/item-icons/nativeappinstaller16.svg +15 -0
  1194. package/dist/solutions-components/item-icons/nativeappinstaller32.svg +19 -0
  1195. package/dist/solutions-components/item-icons/notebook16.svg +11 -0
  1196. package/dist/solutions-components/item-icons/notebook32.svg +5 -0
  1197. package/dist/solutions-components/item-icons/notebookcodesnippets16.svg +3 -0
  1198. package/dist/solutions-components/item-icons/notebookcodesnippets32.svg +3 -0
  1199. package/dist/solutions-components/item-icons/orthomappingproject16.svg +1 -0
  1200. package/dist/solutions-components/item-icons/orthomappingproject32.svg +1 -0
  1201. package/dist/solutions-components/item-icons/orthomappingtemplate16.svg +1 -0
  1202. package/dist/solutions-components/item-icons/orthomappingtemplate32.svg +1 -0
  1203. package/dist/solutions-components/item-icons/pdf16.svg +1 -0
  1204. package/dist/solutions-components/item-icons/pdf32.svg +1 -0
  1205. package/dist/solutions-components/item-icons/powerpoint16.svg +1 -0
  1206. package/dist/solutions-components/item-icons/powerpoint32.svg +1 -0
  1207. package/dist/solutions-components/item-icons/premiumcontent16.svg +1 -0
  1208. package/dist/solutions-components/item-icons/premiumcontent32.svg +1 -0
  1209. package/dist/solutions-components/item-icons/premiumcredits16.svg +1 -0
  1210. package/dist/solutions-components/item-icons/premiumcredits32.svg +1 -0
  1211. package/dist/solutions-components/item-icons/premiumitem16.svg +1 -0
  1212. package/dist/solutions-components/item-icons/premiumitem32.svg +1 -0
  1213. package/dist/solutions-components/item-icons/propresentation16.svg +1 -0
  1214. package/dist/solutions-components/item-icons/propresentation32.svg +1 -0
  1215. package/dist/solutions-components/item-icons/proproject16.svg +41 -0
  1216. package/dist/solutions-components/item-icons/proproject32.svg +41 -0
  1217. package/dist/solutions-components/item-icons/proreport16.svg +47 -0
  1218. package/dist/solutions-components/item-icons/proreport32.svg +48 -0
  1219. package/dist/solutions-components/item-icons/quickcaptureproject16.svg +1 -0
  1220. package/dist/solutions-components/item-icons/quickcaptureproject32.svg +1 -0
  1221. package/dist/solutions-components/item-icons/rasterprocessingtemplate16.svg +1 -0
  1222. package/dist/solutions-components/item-icons/rasterprocessingtemplate32.svg +1 -0
  1223. package/dist/solutions-components/item-icons/realitymappingproject16.svg +1 -0
  1224. package/dist/solutions-components/item-icons/realitymappingproject32.svg +1 -0
  1225. package/dist/solutions-components/item-icons/realtimeanalytics16.svg +61 -0
  1226. package/dist/solutions-components/item-icons/realtimeanalytics32.svg +68 -0
  1227. package/dist/solutions-components/item-icons/relationaldatabaseconnection16.svg +1 -0
  1228. package/dist/solutions-components/item-icons/relationaldatabaseconnection32.svg +1 -0
  1229. package/dist/solutions-components/item-icons/report16.svg +1 -0
  1230. package/dist/solutions-components/item-icons/report32.svg +1 -0
  1231. package/dist/solutions-components/item-icons/reporttemplate16.svg +1 -0
  1232. package/dist/solutions-components/item-icons/reporttemplate32.svg +1 -0
  1233. package/dist/solutions-components/item-icons/routelayer16.svg +1 -0
  1234. package/dist/solutions-components/item-icons/routelayer32.svg +1 -0
  1235. package/dist/solutions-components/item-icons/scenepackage16.svg +1 -0
  1236. package/dist/solutions-components/item-icons/scenepackage32.svg +1 -0
  1237. package/dist/solutions-components/item-icons/sceneweblayer16.svg +1 -0
  1238. package/dist/solutions-components/item-icons/sceneweblayer32.svg +1 -0
  1239. package/dist/solutions-components/item-icons/sceneweblayerbuilding16.svg +85 -0
  1240. package/dist/solutions-components/item-icons/sceneweblayerbuilding32.svg +102 -0
  1241. package/dist/solutions-components/item-icons/sceneweblayerline16.svg +1 -0
  1242. package/dist/solutions-components/item-icons/sceneweblayerline32.svg +1 -0
  1243. package/dist/solutions-components/item-icons/sceneweblayermesh16.svg +1 -0
  1244. package/dist/solutions-components/item-icons/sceneweblayermesh32.svg +1 -0
  1245. package/dist/solutions-components/item-icons/sceneweblayermultipatch16.svg +1 -0
  1246. package/dist/solutions-components/item-icons/sceneweblayermultipatch32.svg +1 -0
  1247. package/dist/solutions-components/item-icons/sceneweblayerpoint16.svg +1 -0
  1248. package/dist/solutions-components/item-icons/sceneweblayerpoint32.svg +1 -0
  1249. package/dist/solutions-components/item-icons/sceneweblayerpointcloud16.svg +1 -0
  1250. package/dist/solutions-components/item-icons/sceneweblayerpointcloud32.svg +1 -0
  1251. package/dist/solutions-components/item-icons/sceneweblayerpolygon16.svg +1 -0
  1252. package/dist/solutions-components/item-icons/sceneweblayerpolygon32.svg +1 -0
  1253. package/dist/solutions-components/item-icons/sceneweblayervoxel16.svg +1 -0
  1254. package/dist/solutions-components/item-icons/sceneweblayervoxel32.svg +1 -0
  1255. package/dist/solutions-components/item-icons/shapefile16.svg +1 -0
  1256. package/dist/solutions-components/item-icons/shapefile32.svg +1 -0
  1257. package/dist/solutions-components/item-icons/solutions16.svg +1 -0
  1258. package/dist/solutions-components/item-icons/spatiotemporal16.svg +1 -0
  1259. package/dist/solutions-components/item-icons/spatiotemporal32.svg +1 -0
  1260. package/dist/solutions-components/item-icons/spatiotemporaltable16.svg +1 -0
  1261. package/dist/solutions-components/item-icons/spatiotemporaltable32.svg +1 -0
  1262. package/dist/solutions-components/item-icons/sqlite16.svg +1 -0
  1263. package/dist/solutions-components/item-icons/sqlite32.svg +1 -0
  1264. package/dist/solutions-components/item-icons/statisticaldatacollection16.svg +1 -0
  1265. package/dist/solutions-components/item-icons/statisticaldatacollection32.svg +1 -0
  1266. package/dist/solutions-components/item-icons/storymap16.svg +1 -0
  1267. package/dist/solutions-components/item-icons/storymap32.svg +1 -0
  1268. package/dist/solutions-components/item-icons/storymapbriefing16.svg +1 -0
  1269. package/dist/solutions-components/item-icons/storymapbriefing32.svg +1 -0
  1270. package/dist/solutions-components/item-icons/storymapcollection16.svg +1 -0
  1271. package/dist/solutions-components/item-icons/storymapcollection32.svg +1 -0
  1272. package/dist/solutions-components/item-icons/storymapstemplate16.svg +1 -0
  1273. package/dist/solutions-components/item-icons/storymapstemplate32.svg +1 -0
  1274. package/dist/solutions-components/item-icons/storymaptheme16.svg +1 -0
  1275. package/dist/solutions-components/item-icons/storymaptheme32.svg +1 -0
  1276. package/dist/solutions-components/item-icons/streamlayer16.svg +1 -0
  1277. package/dist/solutions-components/item-icons/streamlayer32.svg +1 -0
  1278. package/dist/solutions-components/item-icons/style16.svg +1 -0
  1279. package/dist/solutions-components/item-icons/style32.svg +1 -0
  1280. package/dist/solutions-components/item-icons/suitabilitymodel16.svg +1 -0
  1281. package/dist/solutions-components/item-icons/suitabilitymodel32.svg +1 -0
  1282. package/dist/solutions-components/item-icons/survey123addin16.svg +1 -0
  1283. package/dist/solutions-components/item-icons/survey123addin32.svg +1 -0
  1284. package/dist/solutions-components/item-icons/survey16.svg +1 -0
  1285. package/dist/solutions-components/item-icons/survey32.svg +1 -0
  1286. package/dist/solutions-components/item-icons/table16.svg +1 -0
  1287. package/dist/solutions-components/item-icons/table32.svg +1 -0
  1288. package/dist/solutions-components/item-icons/taskfile16.svg +1 -0
  1289. package/dist/solutions-components/item-icons/taskfile32.svg +1 -0
  1290. package/dist/solutions-components/item-icons/tiledimagerylayer16.svg +1 -0
  1291. package/dist/solutions-components/item-icons/tiledimagerylayer32.svg +1 -0
  1292. package/dist/solutions-components/item-icons/tilepackage16.svg +1 -0
  1293. package/dist/solutions-components/item-icons/tilepackage32.svg +1 -0
  1294. package/dist/solutions-components/item-icons/tool16.svg +1 -0
  1295. package/dist/solutions-components/item-icons/tool32.svg +1 -0
  1296. package/dist/solutions-components/item-icons/toolsgray16.svg +1 -0
  1297. package/dist/solutions-components/item-icons/toolsgray32.svg +1 -0
  1298. package/dist/solutions-components/item-icons/urbanmodel16.svg +120 -0
  1299. package/dist/solutions-components/item-icons/urbanmodel32.svg +119 -0
  1300. package/dist/solutions-components/item-icons/urbanproject16.svg +5 -0
  1301. package/dist/solutions-components/item-icons/urbanproject32.svg +5 -0
  1302. package/dist/solutions-components/item-icons/utilitynetwork16.svg +1 -0
  1303. package/dist/solutions-components/item-icons/utilitynetwork32.svg +1 -0
  1304. package/dist/solutions-components/item-icons/vectortile16.svg +1 -0
  1305. package/dist/solutions-components/item-icons/vectortile32.svg +1 -0
  1306. package/dist/solutions-components/item-icons/vectortilefile16.svg +1 -0
  1307. package/dist/solutions-components/item-icons/vectortilefile32.svg +1 -0
  1308. package/dist/solutions-components/item-icons/vectortilepackage16.svg +1 -0
  1309. package/dist/solutions-components/item-icons/vectortilepackage32.svg +1 -0
  1310. package/dist/solutions-components/item-icons/webexperiencetemplate16.svg +19 -0
  1311. package/dist/solutions-components/item-icons/webexperiencetemplate32.svg +19 -0
  1312. package/dist/solutions-components/item-icons/websceneglobal16.svg +1 -0
  1313. package/dist/solutions-components/item-icons/websceneglobal32.svg +1 -0
  1314. package/dist/solutions-components/item-icons/webscenelocal16.svg +1 -0
  1315. package/dist/solutions-components/item-icons/webscenelocal32.svg +1 -0
  1316. package/dist/solutions-components/item-icons/wfsogcoptions16.svg +1 -0
  1317. package/dist/solutions-components/item-icons/wfsogcoptions32.svg +1 -0
  1318. package/dist/solutions-components/item-icons/word16.svg +1 -0
  1319. package/dist/solutions-components/item-icons/word32.svg +1 -0
  1320. package/dist/solutions-components/item-icons/workbook16.svg +1 -0
  1321. package/dist/solutions-components/item-icons/workbook32.svg +1 -0
  1322. package/dist/solutions-components/item-icons/workflow16.svg +1 -0
  1323. package/dist/solutions-components/item-icons/workflow32.svg +1 -0
  1324. package/dist/solutions-components/p-0a311862.entry.js +6 -0
  1325. package/dist/solutions-components/p-100bf9eb.entry.js +6 -0
  1326. package/dist/solutions-components/p-2cc624c3.entry.js +21 -0
  1327. package/dist/solutions-components/p-31524836.entry.js +6 -0
  1328. package/dist/solutions-components/p-3305a61f.entry.js +6 -0
  1329. package/dist/solutions-components/p-3e3b7172.entry.js +6 -0
  1330. package/dist/solutions-components/p-52dad11d.entry.js +6 -0
  1331. package/dist/solutions-components/p-565bc712.entry.js +12 -0
  1332. package/dist/solutions-components/p-6fdbdfdd.entry.js +6 -0
  1333. package/dist/solutions-components/p-77052872.entry.js +6 -0
  1334. package/dist/solutions-components/p-776995b1.entry.js +6 -0
  1335. package/dist/solutions-components/p-8267d344.entry.js +11 -0
  1336. package/dist/solutions-components/p-8be24ce9.entry.js +6 -0
  1337. package/dist/solutions-components/p-8d0f6824.entry.js +6 -0
  1338. package/dist/solutions-components/p-9850998d.entry.js +6 -0
  1339. package/dist/solutions-components/p-a095dadb.entry.js +17 -0
  1340. package/dist/solutions-components/p-a0a77f45.entry.js +20 -0
  1341. package/dist/solutions-components/p-abd68931.entry.js +6 -0
  1342. package/dist/solutions-components/p-ad1c27ef.entry.js +6 -0
  1343. package/dist/solutions-components/p-c346ca43.entry.js +6 -0
  1344. package/dist/solutions-components/p-c66faddf.entry.js +6 -0
  1345. package/dist/solutions-components/p-c976ac3b.entry.js +47 -0
  1346. package/dist/solutions-components/p-d9b8b4e2.entry.js +6 -0
  1347. package/dist/solutions-components/p-e0f10596.entry.js +6 -0
  1348. package/dist/solutions-components/p-f359c162.entry.js +11 -0
  1349. package/dist/solutions-components/p-f3e3a4d5.entry.js +6 -0
  1350. package/dist/solutions-components/p-f6eeac1b.entry.js +17 -0
  1351. package/dist/solutions-components/solutions-components.esm.js +1 -1
  1352. package/dist/solutions-components/utils/interfaces.ts +1 -1
  1353. package/dist/types/components/card-manager/card-manager.d.ts +5 -1
  1354. package/dist/types/components/create-feature/create-feature.d.ts +8 -6
  1355. package/dist/types/components/crowdsource-manager/crowdsource-manager.d.ts +20 -0
  1356. package/dist/types/components/layer-table/layer-table.d.ts +10 -2
  1357. package/dist/types/components/map-card/map-card.d.ts +180 -14
  1358. package/dist/types/components/map-layer-picker/map-layer-picker.d.ts +9 -1
  1359. package/dist/types/components/solution-item-icon/solution-item-icon.d.ts +13 -0
  1360. package/dist/types/components.d.ts +43 -6
  1361. package/dist/types/preact.d.ts +2 -1
  1362. package/dist/types/utils/interfaces.d.ts +1 -1
  1363. package/package.json +1 -1
  1364. package/dist/collection/components/solution-item-icon/item-icons/addindesktop16.png +0 -0
  1365. package/dist/collection/components/solution-item-icon/item-icons/apps16.png +0 -0
  1366. package/dist/collection/components/solution-item-icon/item-icons/appsgray16.png +0 -0
  1367. package/dist/collection/components/solution-item-icon/item-icons/bigdataanalytics16.png +0 -0
  1368. package/dist/collection/components/solution-item-icon/item-icons/dashboard16.png +0 -0
  1369. package/dist/collection/components/solution-item-icon/item-icons/datafiles16.png +0 -0
  1370. package/dist/collection/components/solution-item-icon/item-icons/datafilesgray16.png +0 -0
  1371. package/dist/collection/components/solution-item-icon/item-icons/datastorecollection16.png +0 -0
  1372. package/dist/collection/components/solution-item-icon/item-icons/deeplearningpackage16.png +0 -0
  1373. package/dist/collection/components/solution-item-icon/item-icons/desktopstyle16.png +0 -0
  1374. package/dist/collection/components/solution-item-icon/item-icons/elevationlayer16.png +0 -0
  1375. package/dist/collection/components/solution-item-icon/item-icons/excaliburimageryproject16.png +0 -0
  1376. package/dist/collection/components/solution-item-icon/item-icons/experiencebuilder16.png +0 -0
  1377. package/dist/collection/components/solution-item-icon/item-icons/features16.png +0 -0
  1378. package/dist/collection/components/solution-item-icon/item-icons/featureshosted16.png +0 -0
  1379. package/dist/collection/components/solution-item-icon/item-icons/feed16.png +0 -0
  1380. package/dist/collection/components/solution-item-icon/item-icons/geocodeservice16.png +0 -0
  1381. package/dist/collection/components/solution-item-icon/item-icons/geopackage16.png +0 -0
  1382. package/dist/collection/components/solution-item-icon/item-icons/group16.png +0 -0
  1383. package/dist/collection/components/solution-item-icon/item-icons/hubevent16.png +0 -0
  1384. package/dist/collection/components/solution-item-icon/item-icons/hubinitiative16.png +0 -0
  1385. package/dist/collection/components/solution-item-icon/item-icons/hubinitiativetemplate16.png +0 -0
  1386. package/dist/collection/components/solution-item-icon/item-icons/hubpage16.png +0 -0
  1387. package/dist/collection/components/solution-item-icon/item-icons/hubsite16.png +0 -0
  1388. package/dist/collection/components/solution-item-icon/item-icons/imagecollection16.png +0 -0
  1389. package/dist/collection/components/solution-item-icon/item-icons/imagecollection32.png +0 -0
  1390. package/dist/collection/components/solution-item-icon/item-icons/imagery16.png +0 -0
  1391. package/dist/collection/components/solution-item-icon/item-icons/insightsmodel16.png +0 -0
  1392. package/dist/collection/components/solution-item-icon/item-icons/insightspage16.png +0 -0
  1393. package/dist/collection/components/solution-item-icon/item-icons/insightsscript16.png +0 -0
  1394. package/dist/collection/components/solution-item-icon/item-icons/insightstheme16.png +0 -0
  1395. package/dist/collection/components/solution-item-icon/item-icons/kernelgatewayconnection16.png +0 -0
  1396. package/dist/collection/components/solution-item-icon/item-icons/kml16.png +0 -0
  1397. package/dist/collection/components/solution-item-icon/item-icons/layers16.png +0 -0
  1398. package/dist/collection/components/solution-item-icon/item-icons/layersgray16.png +0 -0
  1399. package/dist/collection/components/solution-item-icon/item-icons/mapimages16.png +0 -0
  1400. package/dist/collection/components/solution-item-icon/item-icons/maps16.png +0 -0
  1401. package/dist/collection/components/solution-item-icon/item-icons/mapsgray16.png +0 -0
  1402. package/dist/collection/components/solution-item-icon/item-icons/maptiles16.png +0 -0
  1403. package/dist/collection/components/solution-item-icon/item-icons/marketplace16.png +0 -0
  1404. package/dist/collection/components/solution-item-icon/item-icons/markup16.png +0 -0
  1405. package/dist/collection/components/solution-item-icon/item-icons/mission16.png +0 -0
  1406. package/dist/collection/components/solution-item-icon/item-icons/missionreport16.png +0 -0
  1407. package/dist/collection/components/solution-item-icon/item-icons/mobilescenepackage16.png +0 -0
  1408. package/dist/collection/components/solution-item-icon/item-icons/notebook16.png +0 -0
  1409. package/dist/collection/components/solution-item-icon/item-icons/orthomappingproject16.png +0 -0
  1410. package/dist/collection/components/solution-item-icon/item-icons/orthomappingtemplate16.png +0 -0
  1411. package/dist/collection/components/solution-item-icon/item-icons/premiumcredits16.png +0 -0
  1412. package/dist/collection/components/solution-item-icon/item-icons/premiumitem16.png +0 -0
  1413. package/dist/collection/components/solution-item-icon/item-icons/proreport16.png +0 -0
  1414. package/dist/collection/components/solution-item-icon/item-icons/quickcaptureproject16.png +0 -0
  1415. package/dist/collection/components/solution-item-icon/item-icons/rasterprocessingtemplate16.png +0 -0
  1416. package/dist/collection/components/solution-item-icon/item-icons/rasterrrocessingtemplate32.png +0 -0
  1417. package/dist/collection/components/solution-item-icon/item-icons/realtimeanalytics16.png +0 -0
  1418. package/dist/collection/components/solution-item-icon/item-icons/relationaldatabaseconnection16.png +0 -0
  1419. package/dist/collection/components/solution-item-icon/item-icons/report-template16.png +0 -0
  1420. package/dist/collection/components/solution-item-icon/item-icons/routelayer16.png +0 -0
  1421. package/dist/collection/components/solution-item-icon/item-icons/scenepackage16.png +0 -0
  1422. package/dist/collection/components/solution-item-icon/item-icons/sceneweblayer16.png +0 -0
  1423. package/dist/collection/components/solution-item-icon/item-icons/sceneweblayerbuilding16.png +0 -0
  1424. package/dist/collection/components/solution-item-icon/item-icons/sceneweblayerline16.png +0 -0
  1425. package/dist/collection/components/solution-item-icon/item-icons/sceneweblayermesh16.png +0 -0
  1426. package/dist/collection/components/solution-item-icon/item-icons/sceneweblayermultipatch16.png +0 -0
  1427. package/dist/collection/components/solution-item-icon/item-icons/sceneweblayerpoint16.png +0 -0
  1428. package/dist/collection/components/solution-item-icon/item-icons/sceneweblayerpointcloud16.png +0 -0
  1429. package/dist/collection/components/solution-item-icon/item-icons/sceneweblayerpolygon16.png +0 -0
  1430. package/dist/collection/components/solution-item-icon/item-icons/solutions16.png +0 -0
  1431. package/dist/collection/components/solution-item-icon/item-icons/spatiotemporal16.png +0 -0
  1432. package/dist/collection/components/solution-item-icon/item-icons/spatiotemporaltable16.png +0 -0
  1433. package/dist/collection/components/solution-item-icon/item-icons/statisticaldatacollection16.png +0 -0
  1434. package/dist/collection/components/solution-item-icon/item-icons/storymap16.png +0 -0
  1435. package/dist/collection/components/solution-item-icon/item-icons/storymaptheme16.png +0 -0
  1436. package/dist/collection/components/solution-item-icon/item-icons/streamlayer16.png +0 -0
  1437. package/dist/collection/components/solution-item-icon/item-icons/style16.png +0 -0
  1438. package/dist/collection/components/solution-item-icon/item-icons/survey123addin16.png +0 -0
  1439. package/dist/collection/components/solution-item-icon/item-icons/table16.png +0 -0
  1440. package/dist/collection/components/solution-item-icon/item-icons/taskfile16.png +0 -0
  1441. package/dist/collection/components/solution-item-icon/item-icons/tiledimagerylayer16.png +0 -0
  1442. package/dist/collection/components/solution-item-icon/item-icons/tilepackage16.png +0 -0
  1443. package/dist/collection/components/solution-item-icon/item-icons/tool16.png +0 -0
  1444. package/dist/collection/components/solution-item-icon/item-icons/toolsgray16.png +0 -0
  1445. package/dist/collection/components/solution-item-icon/item-icons/urbanmodel16.png +0 -0
  1446. package/dist/collection/components/solution-item-icon/item-icons/vectortile16.png +0 -0
  1447. package/dist/collection/components/solution-item-icon/item-icons/vectortilefile16.png +0 -0
  1448. package/dist/collection/components/solution-item-icon/item-icons/vectortilepackage16.png +0 -0
  1449. package/dist/collection/components/solution-item-icon/item-icons/webexperiencetemplate16.png +0 -0
  1450. package/dist/collection/components/solution-item-icon/item-icons/websceneglobal16.png +0 -0
  1451. package/dist/collection/components/solution-item-icon/item-icons/webscenelocal16.png +0 -0
  1452. package/dist/collection/components/solution-item-icon/item-icons/workbook16.png +0 -0
  1453. package/dist/collection/components/solution-item-icon/item-icons/workflow16.png +0 -0
  1454. package/dist/solutions-components/item-icons/addindesktop16.png +0 -0
  1455. package/dist/solutions-components/item-icons/apps16.png +0 -0
  1456. package/dist/solutions-components/item-icons/appsgray16.png +0 -0
  1457. package/dist/solutions-components/item-icons/bigdataanalytics16.png +0 -0
  1458. package/dist/solutions-components/item-icons/dashboard16.png +0 -0
  1459. package/dist/solutions-components/item-icons/datafiles16.png +0 -0
  1460. package/dist/solutions-components/item-icons/datafilesgray16.png +0 -0
  1461. package/dist/solutions-components/item-icons/datastorecollection16.png +0 -0
  1462. package/dist/solutions-components/item-icons/deeplearningpackage16.png +0 -0
  1463. package/dist/solutions-components/item-icons/desktopstyle16.png +0 -0
  1464. package/dist/solutions-components/item-icons/elevationlayer16.png +0 -0
  1465. package/dist/solutions-components/item-icons/excaliburimageryproject16.png +0 -0
  1466. package/dist/solutions-components/item-icons/experiencebuilder16.png +0 -0
  1467. package/dist/solutions-components/item-icons/features16.png +0 -0
  1468. package/dist/solutions-components/item-icons/featureshosted16.png +0 -0
  1469. package/dist/solutions-components/item-icons/feed16.png +0 -0
  1470. package/dist/solutions-components/item-icons/geocodeservice16.png +0 -0
  1471. package/dist/solutions-components/item-icons/geopackage16.png +0 -0
  1472. package/dist/solutions-components/item-icons/group16.png +0 -0
  1473. package/dist/solutions-components/item-icons/hubevent16.png +0 -0
  1474. package/dist/solutions-components/item-icons/hubinitiative16.png +0 -0
  1475. package/dist/solutions-components/item-icons/hubinitiativetemplate16.png +0 -0
  1476. package/dist/solutions-components/item-icons/hubpage16.png +0 -0
  1477. package/dist/solutions-components/item-icons/hubsite16.png +0 -0
  1478. package/dist/solutions-components/item-icons/imagecollection16.png +0 -0
  1479. package/dist/solutions-components/item-icons/imagecollection32.png +0 -0
  1480. package/dist/solutions-components/item-icons/imagery16.png +0 -0
  1481. package/dist/solutions-components/item-icons/insightsmodel16.png +0 -0
  1482. package/dist/solutions-components/item-icons/insightspage16.png +0 -0
  1483. package/dist/solutions-components/item-icons/insightsscript16.png +0 -0
  1484. package/dist/solutions-components/item-icons/insightstheme16.png +0 -0
  1485. package/dist/solutions-components/item-icons/kernelgatewayconnection16.png +0 -0
  1486. package/dist/solutions-components/item-icons/kml16.png +0 -0
  1487. package/dist/solutions-components/item-icons/layers16.png +0 -0
  1488. package/dist/solutions-components/item-icons/layersgray16.png +0 -0
  1489. package/dist/solutions-components/item-icons/mapimages16.png +0 -0
  1490. package/dist/solutions-components/item-icons/maps16.png +0 -0
  1491. package/dist/solutions-components/item-icons/mapsgray16.png +0 -0
  1492. package/dist/solutions-components/item-icons/maptiles16.png +0 -0
  1493. package/dist/solutions-components/item-icons/marketplace16.png +0 -0
  1494. package/dist/solutions-components/item-icons/markup16.png +0 -0
  1495. package/dist/solutions-components/item-icons/mission16.png +0 -0
  1496. package/dist/solutions-components/item-icons/missionreport16.png +0 -0
  1497. package/dist/solutions-components/item-icons/mobilescenepackage16.png +0 -0
  1498. package/dist/solutions-components/item-icons/notebook16.png +0 -0
  1499. package/dist/solutions-components/item-icons/orthomappingproject16.png +0 -0
  1500. package/dist/solutions-components/item-icons/orthomappingtemplate16.png +0 -0
  1501. package/dist/solutions-components/item-icons/premiumcredits16.png +0 -0
  1502. package/dist/solutions-components/item-icons/premiumitem16.png +0 -0
  1503. package/dist/solutions-components/item-icons/proreport16.png +0 -0
  1504. package/dist/solutions-components/item-icons/quickcaptureproject16.png +0 -0
  1505. package/dist/solutions-components/item-icons/rasterprocessingtemplate16.png +0 -0
  1506. package/dist/solutions-components/item-icons/rasterrrocessingtemplate32.png +0 -0
  1507. package/dist/solutions-components/item-icons/realtimeanalytics16.png +0 -0
  1508. package/dist/solutions-components/item-icons/relationaldatabaseconnection16.png +0 -0
  1509. package/dist/solutions-components/item-icons/report-template16.png +0 -0
  1510. package/dist/solutions-components/item-icons/routelayer16.png +0 -0
  1511. package/dist/solutions-components/item-icons/scenepackage16.png +0 -0
  1512. package/dist/solutions-components/item-icons/sceneweblayer16.png +0 -0
  1513. package/dist/solutions-components/item-icons/sceneweblayerbuilding16.png +0 -0
  1514. package/dist/solutions-components/item-icons/sceneweblayerline16.png +0 -0
  1515. package/dist/solutions-components/item-icons/sceneweblayermesh16.png +0 -0
  1516. package/dist/solutions-components/item-icons/sceneweblayermultipatch16.png +0 -0
  1517. package/dist/solutions-components/item-icons/sceneweblayerpoint16.png +0 -0
  1518. package/dist/solutions-components/item-icons/sceneweblayerpointcloud16.png +0 -0
  1519. package/dist/solutions-components/item-icons/sceneweblayerpolygon16.png +0 -0
  1520. package/dist/solutions-components/item-icons/solutions16.png +0 -0
  1521. package/dist/solutions-components/item-icons/spatiotemporal16.png +0 -0
  1522. package/dist/solutions-components/item-icons/spatiotemporaltable16.png +0 -0
  1523. package/dist/solutions-components/item-icons/statisticaldatacollection16.png +0 -0
  1524. package/dist/solutions-components/item-icons/storymap16.png +0 -0
  1525. package/dist/solutions-components/item-icons/storymaptheme16.png +0 -0
  1526. package/dist/solutions-components/item-icons/streamlayer16.png +0 -0
  1527. package/dist/solutions-components/item-icons/style16.png +0 -0
  1528. package/dist/solutions-components/item-icons/survey123addin16.png +0 -0
  1529. package/dist/solutions-components/item-icons/table16.png +0 -0
  1530. package/dist/solutions-components/item-icons/taskfile16.png +0 -0
  1531. package/dist/solutions-components/item-icons/tiledimagerylayer16.png +0 -0
  1532. package/dist/solutions-components/item-icons/tilepackage16.png +0 -0
  1533. package/dist/solutions-components/item-icons/tool16.png +0 -0
  1534. package/dist/solutions-components/item-icons/toolsgray16.png +0 -0
  1535. package/dist/solutions-components/item-icons/urbanmodel16.png +0 -0
  1536. package/dist/solutions-components/item-icons/vectortile16.png +0 -0
  1537. package/dist/solutions-components/item-icons/vectortilefile16.png +0 -0
  1538. package/dist/solutions-components/item-icons/vectortilepackage16.png +0 -0
  1539. package/dist/solutions-components/item-icons/webexperiencetemplate16.png +0 -0
  1540. package/dist/solutions-components/item-icons/websceneglobal16.png +0 -0
  1541. package/dist/solutions-components/item-icons/webscenelocal16.png +0 -0
  1542. package/dist/solutions-components/item-icons/workbook16.png +0 -0
  1543. package/dist/solutions-components/item-icons/workflow16.png +0 -0
  1544. package/dist/solutions-components/p-030e5077.entry.js +0 -6
  1545. package/dist/solutions-components/p-062e5705.entry.js +0 -6
  1546. package/dist/solutions-components/p-16a3f7ca.entry.js +0 -6
  1547. package/dist/solutions-components/p-18307307.entry.js +0 -47
  1548. package/dist/solutions-components/p-1b0fe5b1.entry.js +0 -6
  1549. package/dist/solutions-components/p-1c5f17cb.entry.js +0 -6
  1550. package/dist/solutions-components/p-374d0fdc.entry.js +0 -6
  1551. package/dist/solutions-components/p-39e9ae5c.entry.js +0 -6
  1552. package/dist/solutions-components/p-3c89bfe5.entry.js +0 -6
  1553. package/dist/solutions-components/p-3e9a487b.entry.js +0 -11
  1554. package/dist/solutions-components/p-42cd083f.entry.js +0 -20
  1555. package/dist/solutions-components/p-57025491.entry.js +0 -6
  1556. package/dist/solutions-components/p-5a997dc9.entry.js +0 -17
  1557. package/dist/solutions-components/p-5cef36d6.entry.js +0 -6
  1558. package/dist/solutions-components/p-5d58d70c.entry.js +0 -12
  1559. package/dist/solutions-components/p-671fd156.entry.js +0 -6
  1560. package/dist/solutions-components/p-6b1d1546.entry.js +0 -17
  1561. package/dist/solutions-components/p-9384cc65.entry.js +0 -11
  1562. package/dist/solutions-components/p-a8b42e35.entry.js +0 -6
  1563. package/dist/solutions-components/p-aa85b136.entry.js +0 -6
  1564. package/dist/solutions-components/p-ac7868a6.entry.js +0 -21
  1565. package/dist/solutions-components/p-af3e49d8.entry.js +0 -6
  1566. package/dist/solutions-components/p-b75c4db2.entry.js +0 -6
  1567. package/dist/solutions-components/p-e8aa44e2.entry.js +0 -6
  1568. package/dist/solutions-components/p-f3166d51.entry.js +0 -6
  1569. package/dist/solutions-components/p-f6dc7347.entry.js +0 -6
  1570. package/dist/solutions-components/p-f88c3477.entry.js +0 -6
@@ -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 a,g as e,h as s,H as t}from"./p-6eb37ed2.js";const r=class{constructor(e){a(this,e)}get el(){return e(this)}render(){return s(t,{key:"9d6d06f2466bbbfba74ead0dd8af4354834006c6"},s("slot",{key:"25722c28a43a7a005a0c55b16c0df536a7a19a61"}))}};r.style=":host{display:block}";export{r as feature_comments}
@@ -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 e,g as s,h as r,H as t}from"./p-6eb37ed2.js";const a=class{constructor(s){e(this,s)}get el(){return s(this)}render(){return r(t,{key:"03978cfbd570a69734070a7c5382d8b61d88ef1e"},r("slot",{key:"7caaf540a95f5767fe3069d51e86f45ecbf68567"}))}};a.style=":host{display:block}";export{a as refine_results_flow_item}
@@ -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 i,c as t,g as e,h as s,H as a}from"./p-6eb37ed2.js";import{a as h,l,g as n}from"./p-2058b5d9.js";import{e as o,h as r,k as c,l as d,c as p,m as b,n as g,o as f}from"./p-d572627c.js";import{a as y,e as m,f as u}from"./p-80cb7c73.js";import{s as w}from"./p-5dcec135.js";import{d as v,a as _}from"./p-dec62e5d.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";import"./p-720a12c0.js";import"./p-d0d020a5.js";import"./p-7530a02f.js";import"./p-9bb44f57.js";const S=class{constructor(e){i(this,e),this.selectionSetChange=t(this,"selectionSetChange",7),this.bufferColor=[227,139,79,.8],this.bufferOutlineColor=[255,255,255],this.customLabelEnabled=void 0,this.enabledLayerIds=[],this.enableLayerFeatures=!0,this.enableLayerFeaturesOnLoad=!1,this.enableSearchDistance=!0,this.enableSearchDistanceOnLoad=!1,this.enableSketchTools=!0,this.defaultBufferDistance=void 0,this.defaultBufferUnit=void 0,this.geometries=[],this.isUpdate=!1,this.layerViews=[],this.locale=void 0,this.mapView=void 0,this.noResultText=void 0,this.searchConfiguration=void 0,this.selectionSet=void 0,this.selectionLayerIds=[],this.selectLayerView=void 0,this.sketchLineSymbol=void 0,this.sketchPointSymbol=void 0,this.sketchPolygonSymbol=void 0,this._numSelected=0,this._searchDistanceEnabled=!1,this._searchTerm=void 0,this._selectionLoading=!1,this._translations=void 0,this._useLayerFeaturesEnabled=!1}get el(){return e(this)}_esriRequest;FeatureLayer;Graphic;GraphicsLayer;Search;_geometryEngine;_bufferGeometry;_bufferGraphicsLayer;_bufferTools;_distance;_drawTools;_labelName;_selectLayers;_searchElement;_searchResult;_searchWidget;_selectedIds=[];_selectionLabel="";_skipGeomOIDs;_sketchGraphic;_graphics=[];_unit;_workflowType;_featuresCollection={};async watchGeometriesHandler(i,t){if(i!==t){const t=0===i.length;if(await this._clearResults(t,t),i.length>0)return this._highlightWithOIDsOrGeoms()}}async mapViewWatchHandler(i,t){i&&i!==t&&await this._init()}async watchSearchConfigurationHandler(i,t){JSON.stringify(i)!==JSON.stringify(t)&&await this._initSearchWidget()}async clearSelection(){return this._clearResults(!0,!0)}async getSelection(){return/\S+/gm.test(this._selectionLabel)||await this._updateLabel(),{id:this.isUpdate?this.selectionSet.id:Date.now(),searchResult:this._searchResult,buffer:this._bufferGeometry,distance:this._bufferTools?.distance,download:!0,unit:this._bufferTools?.unit,label:this._selectionLabel,selectedIds:this._selectedIds,layerView:this.selectLayerView,geometries:this.geometries,graphics:this._graphics,selectLayers:this.layerViews,skipGeomOIDs:this._skipGeomOIDs,searchDistanceEnabled:this._searchDistanceEnabled,workflowType:this._workflowType,useLayerFeaturesEnabled:this._useLayerFeaturesEnabled,sketchGraphic:this._sketchGraphic}}selectionSetChange;searchConfigurationChangeChanged(i){this.searchConfiguration=i.detail}async distanceChanged(i){await this._distanceChanged(i.detail)}async unitChanged(i){i.detail.newValue!==i.detail.oldValue&&(this._unit=i.detail.newValue,await this._updateLabel())}async componentWillLoad(){await this._getTranslations(),await this._initModules()}async componentDidLoad(){await this._init()}render(){const i=this.enableSketchTools?"":"display-none",t=this.enableSketchTools?"padding-top-1":"";return s(a,{key:"584547eb58f893968b41755b6789b68ad916ac01"},this._getMapLayerPicker(),s("div",{key:"77788508e268292ed831fa100b333bafe934af3a",class:"border-bottom"}),s("div",{key:"4da06fe2c171e2c0cf84a628bce7f1ccf9f09fdc",class:"padding-top-sides-1"},s("div",{key:"853ae3b6f19bfb1401b54f0b138ae56cadd71c65",class:"search-widget",ref:i=>{this._searchElement=i}}),s("div",{key:"aa296155429affd445ba2634a98ed90f137a7d8b",class:t},s("map-draw-tools",{key:"89d25f5c7b9b0d57ac0d5955411a6190552859a0",active:!0,class:i,editGraphicsEnabled:!this._useLayerFeaturesEnabled,graphics:this._graphics,mapView:this.mapView,onSketchGraphicsChange:i=>{this._sketchGraphicsChanged(i)},pointSymbol:this.sketchPointSymbol,polygonSymbol:this.sketchPolygonSymbol,polylineSymbol:this.sketchLineSymbol,ref:i=>{this._drawTools=i}})),this.enableSearchDistance?this._getBufferOptions():void 0,this.enableLayerFeatures?this._getUseLayerFeaturesOptions():void 0,this._getNumSelected()),s("div",{key:"807011117da4e554c85408a804c30c7bd22edcaa",class:"border-bottom"}),this._getNameInput())}_getBufferOptions(){this.enableSearchDistanceOnLoad&&(this._searchDistanceEnabled=!0,this.enableSearchDistanceOnLoad=!1);const i=this._searchDistanceEnabled?"search-distance":"div-not-visible",t="number"==typeof this.selectionSet?.distance?this.selectionSet.distance:this.defaultBufferDistance;return s("div",null,s("div",{class:"padding-top-1 display-flex"},s("calcite-label",{class:"label-margin-0 w-100",layout:"inline-space-between"},s("div",{class:"tooltip-container"},this._translations.searchDistance,s("calcite-icon",{class:"padding-start-1-2 icon",flipRtl:!("he"===this.locale?.toLowerCase()),icon:"question",id:"search-distance-icon",scale:"s"}))),s("calcite-popover",{closable:!0,label:"",referenceElement:"search-distance-icon"},s("span",{class:"tooltip-message"},this._translations.useSearchDistanceTootip)),s("calcite-switch",{checked:this._searchDistanceEnabled,onCalciteSwitchChange:()=>this._searchDistanceEnabled=!this._searchDistanceEnabled})),s("div",{class:i},s("buffer-tools",{disabled:!this._searchDistanceEnabled,distance:t,geometries:this.geometries,onBufferComplete:i=>{this._bufferComplete(i)},ref:i=>this._bufferTools=i,unit:this.selectionSet?.unit||this.defaultBufferUnit})))}_getUseLayerFeaturesOptions(){this.enableLayerFeaturesOnLoad&&(this._useLayerFeaturesEnabled=!0,this.enableLayerFeaturesOnLoad=!1);const i=this._useLayerFeaturesEnabled?"div-visible":"div-not-visible";return s("div",null,s("div",{class:"padding-top-1 display-flex"},s("calcite-label",{class:"label-margin-0 w-100",layout:"inline-space-between"},s("div",{class:"tooltip-container"},this._translations.useLayerFeatures,s("calcite-icon",{class:"padding-start-1-2 icon",flipRtl:!("he"===this.locale?.toLowerCase()),icon:"question",id:"use-layer-features-icon",scale:"s"}))),s("calcite-popover",{closable:!0,label:"",referenceElement:"use-layer-features-icon"},s("span",{class:"tooltip-message"},this._translations.useLayerFeaturesTooltip)),s("calcite-switch",{checked:this._useLayerFeaturesEnabled,onCalciteSwitchChange:()=>{this._useLayerFeaturesEnabledChanged()}})),s("div",{class:i+" padding-top-1"},s("map-layer-picker",{enabledLayerIds:this.selectionLayerIds,mapView:this.mapView,onLayerSelectionChange:i=>{this._layerSelectionChange(i)},selectedIds:this.layerViews.map((i=>i.layer.id)),showTables:!1})))}_getNumSelected(){const i=h(this.el),t=i&&"en"===i?`${this._translations.selectionLoading}...`:this._translations.selectionLoading;return s("div",{class:"padding-top-1 padding-bottom-1",style:{"align-items":"end",display:"flex"}},this._selectionLoading?s("div",null,s("calcite-loader",{class:"info-blue",inline:!0,label:t,scale:"m",type:"indeterminate"})):s("calcite-icon",{class:"info-blue padding-end-1-2",icon:"feature-layer",scale:"s"}),s("calcite-input-message",{class:"info-blue",scale:"m"},this._selectionLoading?t:this.noResultText&&0===this._numSelected?this.noResultText:this._translations.selectedFeatures.replace("{{n}}",this._numSelected.toString())))}_getNameInput(){return s("div",{class:"padding-sides-1 padding-top-1 "+(this.customLabelEnabled?"":"display-none")},s("calcite-label",{class:"font-bold"},this._translations.listName,s("calcite-input",{onInput:()=>{this._selectionLabel=this._labelName.value},placeholder:this._translations.listNamePlaceholder,ref:i=>{this._labelName=i},value:this._selectionLabel||""})))}_getMapLayerPicker(){return s("div",{class:"display-flex padding-sides-1 padding-bottom-1"},s("calcite-label",{class:"font-bold width-full label-margin-0"},this._translations.inputLayer,s("map-layer-picker",{enabledLayerIds:this.enabledLayerIds,mapView:this.mapView,onLayerSelectionChange:i=>{this._inputLayerSelectionChange(i)},selectedIds:this.selectLayerView?[this.selectLayerView.layer.id]:this.selectionSet?[this.selectionSet.layerView.layer.id]:[],showTables:!1})))}async _initModules(){const[i,t,e,s,a,h]=await l(["esri/request","esri/layers/GraphicsLayer","esri/Graphic","esri/widgets/Search","esri/geometry/geometryEngine","esri/layers/FeatureLayer"]);this._esriRequest=i,this.GraphicsLayer=t,this.Graphic=e,this.Search=s,this._geometryEngine=a,this.FeatureLayer=h}async _init(){this._initGraphicsLayer(),await this._initSelectionSet(),await this._initSearchWidget()}async _initSelectionSet(){this.selectionSet&&(this._searchTerm=this.selectionSet.searchResult?.name,this._searchResult=this.selectionSet.searchResult,this._selectLayers=this.selectionSet.selectLayers,this._selectedIds=this.selectionSet.selectedIds,this._skipGeomOIDs=this.selectionSet.skipGeomOIDs,this._searchDistanceEnabled=this.selectionSet.searchDistanceEnabled,this._useLayerFeaturesEnabled=this.selectionSet.useLayerFeaturesEnabled,this._distance=this.selectionSet.searchDistanceEnabled?this.selectionSet.distance:0,this._unit=this.selectionSet.unit,this._workflowType=this.selectionSet.workflowType,this.selectLayerView=this.selectionSet.layerView,this._sketchGraphic=this.selectionSet.sketchGraphic,this.geometries=[...this.selectionSet?.geometries||[]],this._graphics=this.geometries.map((i=>new this.Graphic({geometry:i,symbol:"point"===i.type?this.sketchPointSymbol:"polyline"===i.type?this.sketchLineSymbol:this.sketchPolygonSymbol}))),this._selectionLabel=this.selectionSet?.label,this._useLayerFeaturesEnabled||await(this._drawTools?.updateGraphics()),await o(this.selectionSet.selectedIds,this.selectionSet.layerView,this.mapView,!1))}async _initSearchWidget(){if(this.mapView&&this._searchElement){const i=this._getSearchConfig(this.searchConfiguration,this.mapView),t={view:this.mapView,container:this._searchElement,searchTerm:this._searchTerm,...i};this._searchWidget=new this.Search(t),this._searchWidget.popupEnabled=!1,this._searchWidget.resultGraphicEnabled=!1,this._searchWidget.on("search-clear",(()=>{const i=this._searchClearLabel();this._clearResults(!1,i)})),this._searchWidget.on("select-result",(i=>{this._selectResult(i.result)})),await this._searchWidget.when((()=>{this._searchWidget.allPlaceholder=this.searchConfiguration?.allPlaceholder&&"find address or place"!==this.searchConfiguration.allPlaceholder.toLowerCase()?this.searchConfiguration.allPlaceholder:this._translations.placeholder}))}}async _selectResult(i){if(i){this._searchResult=i;const t=i.feature,e=t?.layer,s=this.selectLayerView.layer,a=t?.getObjectId();let h,l;e.sourceJSON?.isView&&(h=await this._getViewSourceUrl(e.url)),s.sourceJSON?.isView&&(l=await this._getViewSourceUrl(s.url));const n=e?.url?.toLowerCase(),o=h?.toLowerCase(),r=s?.url?.toLowerCase(),c=l?.toLowerCase(),d=n&&r&&(n===r||n===c||o===r||o===c)&&!isNaN(a),p=d?[a]:void 0;this._workflowType=y.SEARCH,this._updateLabel();const b=[i.feature];this._updateSelection(b,d,p),this._drawTools.graphics=b,this._searchWidget.resultGraphic.visible=!1}else{const i=this._searchClearLabel();this._clearResults(!1,i)}}async _getViewSourceUrl(i){let t="";const e=`${i}/sources?f=json`;try{const i=await this._esriRequest(e,{query:{f:"json"}});1===i?.data?.services?.length&&(t=i.data.services[0].url)}catch(i){console.log(i)}return t}_searchClearLabel(){return this._searchResult?.name&&this._labelName.value.indexOf(this._searchResult.name)>-1}_getSearchConfig(i,t){const e=i?.sources;return e?.length>0?(i={...i,includeDefaultSources:!1},e.forEach((i=>{if(i.hasOwnProperty("layer")){const e=i,s=e.layer?.id,a=s?t.map.findLayerById(s):null,h=e?.layer?.url;a?e.layer=a:h&&(e.layer=new this.FeatureLayer(h))}})),e?.forEach((i=>{if(i.hasOwnProperty("locator")){const t=i;"ArcGIS World Geocoding Service"===t?.name&&(t.outFields=t.outFields||["Addr_type","Match_addr","StAddr","City"],t.singleLineFieldName="SingleLine"),t.url=t.url,delete t.url}}))):i={...i,includeDefaultSources:!0},i}_initGraphicsLayer(){const i=this._translations.bufferLayer;if(this.mapView){const t=this.mapView.map.layers.findIndex((t=>t.title===i));if(t>-1)this._bufferGraphicsLayer=this.mapView.map.layers.getItemAt(t);else{this._bufferGraphicsLayer=new this.GraphicsLayer({title:i,listMode:"hide"}),w.managedLayers[i]="buffer";const t=this.mapView.map.layers.findIndex((i=>i.title===this._translations.sketchLayer));t>-1?this.mapView.map.layers.add(this._bufferGraphicsLayer,t):this.mapView.map.layers.add(this._bufferGraphicsLayer)}}}async _sketchGraphicsChanged(i,t=!1){const e=i.detail.graphics;if(e.length>0&&e[0])if(t||(this._sketchGraphic=e[0]),this._workflowType=this._useLayerFeaturesEnabled?y.SELECT:y.SKETCH,this._workflowType===y.SKETCH&&await this._drawTools.updateGraphics(),await this._updateLabel(),this._clearSearchWidget(),this._useLayerFeaturesEnabled&&!t){const i=Array.isArray(e)?e.map((i=>i.geometry)):this.geometries;await this._selectLayerFeatures(i[0])}else{const t=e.reduce(((i,t)=>(t?.layer?.objectIdField?i.push(t.attributes[t.layer.objectIdField]):t.getObjectId&&i.push(t.getObjectId()),i)),[]),s=i.detail.useOIDs&&t.length>0;this._updateSelection(e,s,t),s&&await this._highlightFeatures(t)}else await this._clearResults(!0,!0)}async _highlightWithOIDsOrGeoms(){return this._skipGeomOIDs?.length>0?(this._selectedIds=this._skipGeomOIDs,this._highlightFeatures(this._selectedIds)):this._geomQuery(this.geometries)}async _highlightFeatures(i){w.removeHandles(),i.length>0&&w.highlightHandles.push(await r(i,this.selectLayerView,this.mapView)),this._numSelected=i.length,this.selectionSetChange.emit(i.length)}async _selectFeatures(i){this._selectionLoading=!0,this._selectedIds=await c(i,this.selectLayerView.layer),this._selectionLoading=!1,this._drawTools.graphics=this._graphics,await this._highlightFeatures(this._selectedIds)}async _bufferComplete(i){this._bufferGeometry=Array.isArray(i.detail)?i.detail[0]:i.detail;let t=this._bufferTools.distance,e=0;if(this._bufferGeometry){const i=new this.Graphic({geometry:this._bufferGeometry,symbol:{type:"simple-fill",color:this.bufferColor,outline:{color:this.bufferOutlineColor,width:1}}});this._bufferGraphicsLayer.removeAll(),this._bufferGraphicsLayer.add(i),await this._selectFeatures([this._bufferGeometry]),await this.mapView.goTo(i.geometry.extent),e=t,t=0}else this._bufferGraphicsLayer&&this._bufferGraphicsLayer.removeAll(),await this._highlightWithOIDsOrGeoms();await this._distanceChanged({oldValue:t,newValue:e})}_geomQuery(i){const t=d(i,this._geometryEngine);return this._selectFeatures(t)}async _clearResults(i=!0,t=!1){this._selectedIds=[],this._distance=void 0,this._unit=void 0,t&&(this._selectionLabel="",this._labelName&&(this._labelName.value="")),this._bufferGraphicsLayer&&this._bufferGraphicsLayer.removeAll(),i&&this._searchWidget&&this._clearSearchWidget(),w.removeHandles(),this._drawTools?.clear&&(this._graphics=[],await this._drawTools.clear()),this._numSelected=this._selectedIds.length,this.selectionSetChange.emit(this._numSelected)}_clearSearchWidget(){this._searchWidget.clear(),this._searchResult=void 0}_updateSelection(i,t,e){this._selectedIds=t&&e?e:this._selectedIds,this._skipGeomOIDs=t?e:void 0,this.geometries=Array.isArray(i)?i.map((i=>i.geometry)):this.geometries,this._graphics=i}async _updateLabel(){if(this.enableSearchDistance){const i=this._selectionLabel.indexOf(this._translations.sketch)>-1,t=this._selectionLabel.indexOf(this._translations.select)>-1,e=this._selectionLabel.indexOf(this._searchResult?.name)>-1,s=this._workflowType===y.SEARCH?this._searchResult?.name:this._workflowType===y.SELECT?this._translations.select:this._translations.sketch,a=this._unit?this._unit:this._bufferTools.unit,h=await this._bufferTools.getTranslatedUnit(a),l=isNaN(this._distance)?this._bufferTools.distance:this._distance;this._selectionLabel=i||t||e||!this._selectionLabel?`${s} ${l} ${h}`:this._selectionLabel,this._labelName.value=this._selectionLabel}}async _layerSelectionChange(i){if(Array.isArray(i.detail)&&i.detail.length>0){const t=i.detail.map((i=>p(this.mapView,i)));return Promise.all(t).then((i=>{this.layerViews=i,this._featuresCollection={},this._sketchGraphic&&this._sketchGraphicsChanged({detail:{graphics:[this._sketchGraphic],useOIDs:!1}})}))}}async _inputLayerSelectionChange(i){const t=i?.detail?.length>0?i.detail[0]:"";this.selectLayerView&&t===this.selectLayerView.layer.id||(this.selectLayerView=await p(this.mapView,t),await this._updateLabel(),this._bufferGeometry?await this._selectFeatures([this._bufferGeometry]):await this._highlightWithOIDsOrGeoms())}async _distanceChanged(i){i.newValue!==i.oldValue&&(this._distance=i.newValue,await this._updateLabel())}async _selectLayerFeatures(i){this._selectionLoading=!0;const t=this.layerViews.map((t=>(this._featuresCollection[t.layer.id]=[],b(0,t.layer,i,this._featuresCollection))));return Promise.all(t).then((async i=>{this._selectionLoading=!1;let t=[];i.forEach((i=>{Object.keys(i).forEach((e=>{t=t.concat(i[e])}))}));let e=!1;t.forEach((i=>{const t=i.geometry;i.symbol="point"===t.type?this.sketchPointSymbol:"polyline"===t.type?this.sketchLineSymbol:"polygon"===t.type?this.sketchPolygonSymbol:void 0,e=i?.layer?.hasOwnProperty("objectIdField")||i.hasOwnProperty("getObjectId")}));const s=this.layerViews[0].layer.url===this.selectLayerView.layer.url&&e;await this._sketchGraphicsChanged({detail:{graphics:t,useOIDs:s}},!0)}))}_useLayerFeaturesEnabledChanged(){this._useLayerFeaturesEnabled=!this._useLayerFeaturesEnabled,this._sketchGraphic&&this._sketchGraphicsChanged({detail:{graphics:[this._sketchGraphic],useOIDs:!1}})}async _getTranslations(){const i=await n(this.el);this._translations=i[0]}static get watchers(){return{geometries:["watchGeometriesHandler"],mapView:["mapViewWatchHandler"],searchConfiguration:["watchSearchConfigurationHandler"]}}};S.style=':host{display:block}.div-visible{display:inherit}.div-visible-search{display:flex;height:44px;align-items:center;padding-bottom:0}.div-not-visible{display:none}.padding-bottom-1{padding-bottom:1rem}.padding-top-1{padding-top:1rem}.search-widget{width:100% !important;border:1px solid var(--calcite-color-border-input)}.w-100{width:100%}.w-50{width:50%}.search-distance-container{padding-top:"1rem" !important}.end-border{border-inline-end:1px solid var(--calcite-color-border-2)}.search-distance{display:flex;padding-top:1rem}.font-bold{font:bold}.border-bottom{border-bottom:1px solid var(--calcite-color-border-2)}.tooltip-container{display:flex}.padding-start-1-2{padding-inline-start:0.5rem}.icon{--calcite-color-icon-color:var(--calcite-color-brand)}.tooltip-message{padding:5px 8px;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-color-text-2)}';const L=Object.freeze({__proto__:null,default:[{descriptionPDF:{labelWidthDisplay:"2-5/8",labelHeightDisplay:"1",labelsPerPageDisplay:"30",averyPartNumber:"*60"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.1875,rightMargin:.1875,topMargin:.5,bottomMargin:.5},numLabelsAcross:3,numLabelsDown:10,labelWidth:2.625,labelHeight:1,horizGapIn:.125,vertGapIn:0,labelPadding:.1,fontSizePx:11,maxNumLabelLines:4}},{descriptionPDF:{labelWidthDisplay:"4",labelHeightDisplay:"1",labelsPerPageDisplay:"20",averyPartNumber:"*61"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.15625,rightMargin:.15625,topMargin:.47637821,bottomMargin:.5},numLabelsAcross:2,numLabelsDown:10,labelWidth:4,labelHeight:1.0025,horizGapIn:.1875,vertGapIn:0,labelPadding:.1,fontSizePx:11,maxNumLabelLines:4}},{descriptionPDF:{labelWidthDisplay:"4",labelHeightDisplay:"1-1/3",labelsPerPageDisplay:"14",averyPartNumber:"*62"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.15625,rightMargin:.15625,topMargin:.81889808,bottomMargin:.83464612},numLabelsAcross:2,numLabelsDown:7,labelWidth:4,labelHeight:1.3352,horizGapIn:.1875,vertGapIn:0,labelPadding:.1,fontSizePx:11,maxNumLabelLines:6}},{descriptionPDF:{labelWidthDisplay:"4",labelHeightDisplay:"2",labelsPerPageDisplay:"10",averyPartNumber:"*63"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.15625,rightMargin:.15625,topMargin:.5,bottomMargin:.5},numLabelsAcross:2,numLabelsDown:5,labelWidth:4,labelHeight:2,horizGapIn:.1875,vertGapIn:0,labelPadding:.1,fontSizePx:12,maxNumLabelLines:10}},{descriptionPDF:{labelWidthDisplay:"4",labelHeightDisplay:"3-1/3",labelsPerPageDisplay:"6",averyPartNumber:"*64"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.15625,rightMargin:.15625,topMargin:.4724412,bottomMargin:.50000027},numLabelsAcross:2,numLabelsDown:3,labelWidth:4,labelHeight:3.342,horizGapIn:.1875,vertGapIn:0,labelPadding:.1,fontSizePx:14,maxNumLabelLines:12}},{descriptionPDF:{labelWidthDisplay:"1-3/4",labelHeightDisplay:"1/2",labelsPerPageDisplay:"80",averyPartNumber:"*67"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.307086375,rightMargin:.307086375,topMargin:.4724412,bottomMargin:.49606326},numLabelsAcross:4,numLabelsDown:20,labelWidth:1.75,labelHeight:.50155,horizGapIn:.29527575,vertGapIn:0,labelPadding:.1,fontSizePx:8,maxNumLabelLines:3}},{descriptionPDF:{labelWidthDisplay:"1-3/4",labelHeightDisplay:"2/3",labelsPerPageDisplay:"60",averyPartNumber:"*95"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.28936983,rightMargin:.28936983,topMargin:.53937037,bottomMargin:.5511814},numLabelsAcross:4,numLabelsDown:15,labelWidth:1.75,labelHeight:.6605,horizGapIn:.30708678,vertGapIn:0,labelPadding:.1,fontSizePx:8,maxNumLabelLines:4}}]}),k=class{constructor(t){i(this,t),this.defaultNumLabelsPerPage=void 0,this.disabled=!1,this._translations=void 0}get el(){return e(this)}_labelInfoElement;_intl;async downloadCSV(i,t,e,s=!0){return v(i,t,!0,e,s)}async downloadPDF(i,t,e=!1,s="",a=""){return _(i,t,this._labelInfoElement.selectedOption?.value,e,s,a)}async componentWillLoad(){await this._getTranslations(),await this._initModules()}render(){return s(a,{key:"b1ec5293d9fb50a0cc21f0036e3ba58e2d7f8463"},s("calcite-select",{key:"69c6dce061f45fcc7dfbedc613a47697965905ca",disabled:this.disabled,label:"",ref:i=>{this._labelInfoElement=i}}))}componentDidLoad(){this._renderOptions()}async _initModules(){const[i]=await l(["esri/intl"]);this._intl=i}_getLabelSizeText(i){const t="&lrm;"+i.descriptionPDF.labelWidthDisplay+" x "+i.descriptionPDF.labelHeightDisplay+"&rlm;";return this._translations.pdfLabel.replace("{{n}}",i.descriptionPDF.labelsPerPageDisplay).replace("{{labelSize}}",t)}async _getTranslations(){const i=await n(this.el);this._translations=i[0]}_renderOptions(){(L.default||L).sort(((i,t)=>{const e=parseInt(i.descriptionPDF.labelsPerPageDisplay,10),s=parseInt(t.descriptionPDF.labelsPerPageDisplay,10);return e<s?-1:e>s?1:0})).forEach(((i,t)=>{const e=document.createElement("calcite-option");e.value=i,e.innerHTML=this._getLabelSizeText(i),this._labelInfoElement.appendChild(e),(this.defaultNumLabelsPerPage?parseInt(i.descriptionPDF.labelsPerPageDisplay,10)===this.defaultNumLabelsPerPage:0===t)&&(e.selected=!0,this._labelInfoElement.selectedOption=e)}))}};k.style=":host{display:block}";const P=class{constructor(e){i(this,e),this.selectionLoadingChange=t(this,"selectionLoadingChange",7),this.selectionSetsChanged=t(this,"selectionSetsChanged",7),this.addresseeLayer=void 0,this.enabledLayerIds=[],this.locale=void 0,this.mapView=void 0,this.selectionSets=[],this.sketchLineSymbol=void 0,this.sketchPointSymbol=void 0,this.sketchPolygonSymbol=void 0,this._translations=void 0,this._selectionMode=m.ADD,this._refineLayer=void 0}get el(){return e(this)}_addEnabled=!0;_drawTools;_refineSets=[];_enabledLayerIds=[];_layerPicker;_featuresCollection={};_refineSelectionSet;selectionLoadingChange;selectionSetsChanged;async componentWillLoad(){await this._getTranslations(),this._enabledLayerIds=this._getEnabledLayerIds(),await this._setRefineSet(this._enabledLayerIds[0])}render(){return s(a,{key:"c15a94d88b6c6f37d3b954abec29263731d346c6"},s("div",{key:"2c05eec571d8086d444fbc8caa3ed1f88ebba741",class:(this._enabledLayerIds.length>1?"display-block":"display-none")+" padding-top-sides-1"},s("div",{key:"53fabeccc3a5340e4c6a1d2ae788276586ab4f22",class:"display-flex"},s("calcite-label",{key:"e7631b2fe92ad20dc889c610bebb22cde4746a04",class:"font-bold width-full label-margin-0"},s("div",{key:"5c08cc3687f6249ac729e342fecbf065b4afff98",class:"display-flex"},this._translations.inputLayer,s("calcite-icon",{key:"257ce613eeab2783db77727b02207d1c7acfeb0a",class:"padding-start-1-2 icon",flipRtl:!("he"===this.locale?.toLowerCase()),icon:"question",id:"refine-input-layer",scale:"s"})),s("map-layer-picker",{key:"4d5bf2dd7e9d103c9b1ae82310ed95445244908e",enabledLayerIds:this._enabledLayerIds,mapView:this.mapView,onLayerSelectionChange:i=>{this._layerSelectionChange(i)},ref:i=>{this._layerPicker=i},selectedIds:[this._refineLayer.layer.id],showTables:!1})),s("calcite-popover",{key:"d800b4ec7cf2b9ec4a6a1f5d4eed54ce9d2d2056",closable:!0,label:"",referenceElement:"refine-input-layer"},s("span",{key:"9534d79300f88054a3ae38d9c6ad3663c8a49e25",class:"tooltip-message"},this._translations.inputLayerTip)))),s("div",{key:"d5721c09e4a06f25af5b6c11a045ddc6c7908800",class:"padding-1"},s("div",{key:"e1478cf6f32aa403724044844a98f299110b7438",class:"padding-bottom-1"},s("calcite-segmented-control",{key:"5fcee5784bbba1c99693a162aee90220ff8dca79",class:"w-100",width:"full"},s("calcite-segmented-control-item",{key:"cdab206ed08aced52b709fa92d68814170644eb0",checked:this._addEnabled,class:"w-50 word-wrap-anywhere",onClick:()=>this._setSelectionMode(m.ADD),value:m.ADD},s("span",{key:"c1d4f8a0ba5c65371f7b23ed21068d70d3030ff8",class:"font-weight-500"},this._translations.add)),s("calcite-segmented-control-item",{key:"4cdf63bd76b1766331957375df7e2e107543a800",checked:!this._addEnabled,class:"w-50 word-wrap-anywhere",onClick:()=>this._setSelectionMode(m.REMOVE),value:m.REMOVE},s("span",{key:"7036ff43d1cf74e51ace7f28a83873d08207a162",class:"font-weight-500"},this._translations.remove)))),s("div",{key:"d6e21702ad38fc5c17f0e5bbf3e130b9cbe5a8b4"},s("map-draw-tools",{key:"156d236374b4ed47c1791fb0bb0229ea99511c27",active:!0,drawMode:u.REFINE,mapView:this.mapView,onDrawRedo:()=>this._redo(),onDrawUndo:()=>this._undo(),onSketchGraphicsChange:i=>this._sketchGraphicsChanged(i),pointSymbol:this.sketchPointSymbol,polygonSymbol:this.sketchPolygonSymbol,polylineSymbol:this.sketchLineSymbol,redoEnabled:this._refineSelectionSet?.redoStack.length>0,ref:i=>{this._drawTools=i},undoEnabled:this._refineSelectionSet?.undoStack.length>0})),s("br",{key:"df3db723ad2f9df29c91b3c09dcfbf4fc1156c7c"}),s("calcite-list",{key:"a70df76b7df965d7cf39e9b283003d57f59543f3",class:"list-border"},this._getRefineSelectionSetList())))}_layerSelectionChange(i){this._setRefineSet(i.detail[0])}_setSelectionMode(i){this._selectionMode=i}_sketchGraphicsChanged(i){const t=i.detail?.graphics[0].geometry;this._selectFeatures(t)}_getEnabledLayerIds(){return this.selectionSets.reduce(((i,t)=>{const e=t?.layerView?.layer.id;return e&&i.indexOf(e)<0?i.push(e):t.workflowType===y.REFINE&&Object.keys(t.refineInfos).forEach((t=>{i.indexOf(t)<0&&i.push(t)})),i}),[])}async _setRefineSet(i){this.selectionSets.some((t=>{if(t.workflowType===y.REFINE)return this._refineSelectionSet=t,Object.keys(t.refineInfos).indexOf(i)>-1}))||await this._initRefineSet(i,this._refineSelectionSet),this._refineLayer=this._refineSelectionSet.refineInfos[i].layerView}async _initRefineSet(i,t){const e={};e[i]={addIds:[],removeIds:[],layerView:await p(this.mapView,i)},t?t.refineInfos={...t.refineInfos,...e}:(this._refineSelectionSet={id:Date.now(),searchResult:void 0,buffer:void 0,distance:0,download:!0,unit:"feet",label:"Refine",selectedIds:[],layerView:void 0,geometries:[],graphics:[],selectLayers:[],workflowType:y.REFINE,searchDistanceEnabled:!1,useLayerFeaturesEnabled:!1,refineInfos:e,redoStack:[],undoStack:[],sketchGraphic:void 0},this.selectionSets.push(this._refineSelectionSet))}_undo(){const i=this._refineSelectionSet.undoStack.pop();this._updateIds(i.ids,i.mode===m.ADD?m.REMOVE:m.ADD,this._refineSelectionSet.redoStack,i.layerView)}_redo(){const i=this._refineSelectionSet.redoStack.pop();this._updateIds(i.ids,i.mode===m.ADD?m.REMOVE:m.ADD,this._refineSelectionSet.undoStack,i.layerView)}_getRefineSelectionSetList(){const i=this._getTotal(this.selectionSets);let t;this.selectionSets.some((i=>{if(i.workflowType===y.REFINE)return t=i,!0}));let e=0,a=0;return Object.keys(t.refineInfos).forEach((i=>{e+=t.refineInfos[i].addIds.length,a+=t.refineInfos[i].removeIds.length})),[s("calcite-list-item",{label:this._translations.featuresAdded.replace("{{n}}",e.toString()),"non-interactive":!0}),s("calcite-list-item",{label:this._translations.featuresRemoved.replace("{{n}}",a.toString()),"non-interactive":!0}),s("calcite-list-item",{label:this._translations.totalSelected.replace("{{n}}",i.toString()),"non-interactive":!0})]}_getTotal(i){const t=g(i);return Object.keys(t).reduce(((i,e)=>i+t[e].ids.length),0)}async _getTranslations(){const i=await n(this.el);this._translations=i[0]}async _selectFeatures(i){this.selectionLoadingChange.emit(!0),this._featuresCollection[this._refineLayer?.layer.id]=[];const t=await b(0,this._refineLayer?.layer,i,this._featuresCollection);this.selectionLoadingChange.emit(!1);let e=[];Object.keys(t).forEach((i=>{i===this._refineLayer?.layer.id&&(e=e.concat(t[i]))}));const s=Array.isArray(e)?e.map((i=>i.attributes[i?.layer?.objectIdField])):[];await this._updateIds(s,this._selectionMode,this._refineSelectionSet.undoStack,this._refineLayer),this._drawTools.clear()}async _highlightFeatures(){this._clearHighlight(),w.highlightHandles=await f(this.selectionSets)}_clearHighlight(){w.removeHandles()}async _updateIds(i,t,e,s){let a=!1;const h=this._refineSelectionSet.refineInfos,l=s.layer.id,n={};n[l]={addIds:[],removeIds:[],layerView:s};const o=Object.keys(h).indexOf(l)>-1?h[l]:n[l];if(t===m.ADD)o.addIds=[...new Set([...i,...o.addIds])],o.addIds.length>0&&e.push({ids:i,mode:t,layerView:s}),o.removeIds.length>0&&(o.removeIds=o.removeIds.filter((t=>i.indexOf(t)<0)));else{const h=this.selectionSets.reduce(((t,e)=>(i.forEach((i=>{e.workflowType!==y.REFINE?e.selectedIds.indexOf(i)>-1&&t.push(i):Object.keys(e.refineInfos).some((a=>{const h=e.refineInfos[a];if(h.layerView.layer.id===s.layer.id&&h.addIds.indexOf(i)>-1)return t.push(i),!0}))})),t)),[]);o.removeIds=[...new Set([...h,...o.removeIds])],o.addIds=o.addIds.filter((i=>h.indexOf(i)<0)),o.removeIds.length>0&&e.push({ids:h,mode:t,layerView:s}),this.selectionSets=this.selectionSets.reduce(((i,t)=>(t.workflowType!==y.REFINE&&t.layerView.layer.id===s.layer.id?(t.selectedIds=t.selectedIds.filter((i=>o.removeIds.indexOf(i)<0)),t.selectedIds.length>0?i.push(t):a=!0):i.push(t),i)),[])}this._refineSelectionSet.refineInfos[l]=o,this.selectionSets=[...this.selectionSets],a&&this.selectionSetsChanged.emit(this.selectionSets),await this._highlightFeatures()}};P.style=':host{display:block}.div-visible{display:inherit}.div-not-visible{display:none !important}.padding-top-1-2{padding-top:.5rem}.main-label{display:flex;float:left}html[dir="rtl"] .main-label{display:flex;float:right}.border{outline:1px solid var(--calcite-color-border-input)}.margin-top-1{margin-top:1rem}.esri-sketch{display:flex;flex-flow:column wrap}.esri-widget{box-sizing:border-box;color:#323232;font-size:14px;font-family:"Avenir Next", "Helvetica Neue", Helvetica, Arial, sans-serif;line-height:1.3em;background-color:var(--calcite-color-foreground-1)}.esri-sketch__panel{align-items:center;display:flex;flex-flow:row nowrap;padding:0}*/ .esri-sketch__tool-section{border-right:1px solid rgba(110, 110, 110, .3)}.esri-sketch__section{align-items:center;display:flex;flex-flow:row nowrap;padding:0 7px;margin:6px 0;border-right:1px solid rgba(110, 110, 110, .3)}.display-flex{display:flex}.font-bold{font-weight:bold}.width-full{width:100%}.label-margin-0{--calcite-label-margin-bottom:0}.padding-start-1-2{padding-inline-start:0.5rem}.font-weight-500{font-weight:500}.word-wrap-anywhere{word-wrap:anywhere}';export{S as map_select_tools,k as pdf_download,P as refine_selection}
@@ -0,0 +1,6 @@
1
+ /*!
2
+ * Copyright 2022 Esri
3
+ * Licensed under the Apache License, Version 2.0
4
+ * http://www.apache.org/licenses/LICENSE-2.0
5
+ */
6
+ import{r as t,c as i,g as s,h as e,H as h}from"./p-6eb37ed2.js";import{g as a,l as o}from"./p-2058b5d9.js";import{g as l,q as n,e as c,f as d,i as r,j as p,c as f}from"./p-d572627c.js";import{d as b}from"./p-dec62e5d.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";import"./p-80cb7c73.js";import"./p-d0d020a5.js";import"./p-7530a02f.js";import"./p-9bb44f57.js";const u=class{constructor(s){t(this,s),this.createWorkFlowStarted=i(this,"createWorkFlowStarted",7),this.backFromCreateWorkFlow=i(this,"backFromCreateWorkFlow",7),this.featureOrRecordSubmitted=i(this,"featureOrRecordSubmitted",7),this.customInfoText=void 0,this.enableEditGeometry=!1,this.isMobile=void 0,this.layer=void 0,this.mapView=void 0,this.zoomAndScrollToSelected=void 0,this.selectedFeaturesIds=void 0,this.enableCreateFeatures=!0,this.selectingFeatureFromMap=void 0,this._cardLoading=!1,this._graphics=void 0,this._showCreateFeatureComponent=!1,this._showSubmitBtn=!1,this._translations=void 0}get el(){return s(this)}_isFeatureCreated=!1;_createFeature;createWorkFlowStarted;backFromCreateWorkFlow;featureOrRecordSubmitted;async featureSelectionChange(t){this._showCreateFeatureComponent&&!this._isFeatureCreated&&this._backFromCreateFeature();const i=t.detail;this._graphics=await this._getFeaturesByIds(i)}async layerSelectionChange(t){this._showCreateFeatureComponent&&this._backFromCreateFeature();const i=t.detail[0];this.layer=await l(this.mapView,i)}async componentWillLoad(){await this._getTranslations(),this.selectedFeaturesIds?.length>0&&(this._graphics=await this._getFeaturesByIds(this.selectedFeaturesIds))}render(){const t=this._graphics?.length>0?"":"display-none",i=0===this._graphics?.length&&this._showCreateFeatureComponent?"":"display-none",s=this._graphics?.length>0||this._showCreateFeatureComponent?"display-none":"",a=this.layer?.isTable,o=a?this._translations.createRecord:this._translations.createFeature,l=this.customInfoText||this.selectingFeatureFromMap?this._translations.selectFeaturesFromMapToStart:this._translations.selectFeaturesToStart,n=this.enableCreateFeatures&&this.layer?.capabilities?.operations?.supportsAdd;return e(h,{key:"7bcc2cfc05bfb95ef444b2036c0fd709f816bfe8"},e("div",{key:"088e91d3084a43cab7da6e2985784a9675f30bfb",class:"overflow-auto height-full"},e("calcite-shell",{key:"4ce541bdadc42cc2625756af104e144e61ca0593",class:"position-relative "+t},e("div",{key:"f3fd57ce5a0122df70d36a72e7d8c7ace4ffed0c",class:"position-static z-index-500"},e("info-card",{key:"ed1f8e88937d905928e97f1149acdc42fc557d7c",enableEditGeometry:this.enableEditGeometry,graphics:this._graphics,isLoading:this._cardLoading,isMobile:this.isMobile,mapView:this.mapView}))),e("calcite-shell",{key:"21cd22e9d40954324ab68ae0f44305541a78faa4",class:"position-relative "+s},e("calcite-flow-item",{key:"2206f7bf57133e6249e84eed06363485dc540e89"},e("calcite-panel",{key:"a6a43c3eefcc1b03006dc14f39c9ba692620cf51"},e("div",{key:"f58c54e68a59e09ce8d51b010876e6f0261d920a",class:"padding-1"},e("calcite-notice",{key:"5e57dcae6e804c3954a693d972a47171e07419a5",icon:this.selectingFeatureFromMap?"map":"table",iconFlipRtl:!0,open:!0},e("div",{key:"9391598f800576d7f8dd2ca5778d8a9d493df5cc",slot:"message"},l))),!this.isMobile&&n&&e("calcite-button",{key:"f30040df430858472437acef88f216040e4f3a4f",disabled:!this.layer,onClick:()=>this._createFeatureBtnClicked(),slot:"footer",width:"full"},a?this._translations.createRecord:this._translations.createFeature)))),e("calcite-shell",{key:"6d14a7483427aa478f53e4ee54664ef2aae999fb",class:"position-relative "+i},e("calcite-flow-item",{key:"cace557395071006fcf0fc723f1808cad19f1099"},e("calcite-panel",{key:"3eaa505ebf1d552775970c4f5b7dfc8f321c3f93",heading:o},e("calcite-action",{key:"68a09bb37ea2b6d827de48b13e1a41c74f5c34c6",class:"back-button hydrated",icon:"chevron-left",onClick:this._backFromCreateFeature.bind(this),scale:"s",slot:"header-actions-start",text:""}),this.getEditorComponent(),this._showSubmitBtn&&e("calcite-button",{key:"3e326f1e523fe3245365a4dad69372b52a969ae3",appearance:"solid",class:"footer-top-button footer-button",onClick:()=>{this._createFeature.submit()},slot:"footer",width:"full"},this._translations.create))))))}getEditorComponent(){return e("div",null,this._showCreateFeatureComponent&&e("create-feature",{customizeSubmit:!0,mapView:this.mapView,onDrawComplete:()=>{this._showSubmitBtn=!0},onEditingAttachment:t=>{this._showSubmitBtn=!t.detail},onProgressStatus:()=>{setTimeout((()=>{this._isFeatureCreated=!1}),2e3)},onSuccess:this._featureCreated.bind(this),ref:t=>this._createFeature=t,selectedLayerId:this.layer?.id,showGuidingMsgWhileDrawing:!1}))}async _getFeaturesByIds(t){return(t.length>0?await n(t,this.layer,[],!0,this.mapView.spatialReference):[]).sort(((i,s)=>t.indexOf(i.getObjectId())-t.indexOf(s.getObjectId())))}_createFeatureBtnClicked(){this._showCreateFeatureComponent=!0,this.createWorkFlowStarted.emit()}async _backFromCreateFeature(){this._createFeature&&(await this._createFeature.close(),this._showCreateFeatureComponent=!1,this.backFromCreateWorkFlow.emit()),this._showSubmitBtn=!1}_featureCreated(){this._createFeature.close(),this._showCreateFeatureComponent=!1,this._showSubmitBtn=!1,this._isFeatureCreated=!0,this.featureOrRecordSubmitted.emit(),setTimeout((()=>{this._showCreateFeatureComponent=!0}),50)}async _getTranslations(){const t=await a(this.el);this._translations=t[0]}};u.style=":host{display:block !important}.display-flex{display:flex}.display-none{display:none}.w-100{width:100%}.padding-bottom-1{padding-bottom:1rem}.padding-1{padding:1rem}.position-relative{position:relative}.focus-margin{margin:1px 1px 0px 1px}.overflow-auto{overflow:auto}.height-full{height:100%}.position-static{position:static !important}.z-index-500{z-index:500 !important}card-manager{display:block}";const m=class{constructor(s){t(this,s),this.featureSelectionChange=i(this,"featureSelectionChange",7),this.toggleFilter=i(this,"toggleFilter",7),this.defaultGlobalId=void 0,this.defaultLayerId=void 0,this.defaultOid=void 0,this.enableAutoRefresh=void 0,this.enableColumnReorder=!0,this.enableCSV=void 0,this.enableInlineEdit=void 0,this.enableShare=void 0,this.isMobile=void 0,this.mapHidden=void 0,this.mapInfo=void 0,this.mapView=void 0,this.onlyShowUpdatableLayers=void 0,this.selectedIds=[],this.shareIncludeEmbed=void 0,this.shareIncludeSocial=void 0,this.showNewestFirst=void 0,this.zoomAndScrollToSelected=void 0,this.zoomToScale=void 0,this.createFilterModal=!0,this._allIds=[],this._controlsThatFit=void 0,this._csvExporting=!1,this._fetchingData=!1,this._filterActive=!1,this._filterOpen=!1,this._layer=void 0,this._selectAllActive=!1,this._showHideOpen=!1,this._showOnlySelected=!1,this._toolInfos=void 0,this._translations=void 0,this._fullTextSearchInfo=void 0,this._searchPlaceHolder="",this._size=0}get el(){return s(this)}FeatureTable;TableTemplate;_columnsInfo;_ctrlIsPressed=!1;_currentId;_editEnabled;_defaultFilterHonored=!1;_defaultGlobalIdHonored=!1;_defaultOidHonored=!1;_defaultVisibleToolSizeInfos;_definitionExpression;_deleteEnabled;_filterList;_floorExpression;_floorField;_floorFacility;_floorLevel;_floorSite;_layerExpressions;_loaded=!1;_mapClickHandle;_observerSet=!1;_previousCurrentId;reactiveUtils;_refreshHandle;_resizeObserver;_selectAllElement;_selectionFromMap=!1;_shareNode;_shiftIsPressed=!1;_showHideDropdown;_skipOnChange=!1;_moreDropdown;_table;_tableNode;_timeout;_toolbar;_toolbarSizeInfos;_searchExpression;async defaultOidWatchHandler(){await this._handleDefaults()}async defaultGlobalIdWatchHandler(){await this._handleDefaults()}enableCSVWatchHandler(){this._toolInfos?.length>0&&this._initToolInfos()}enableInlineEditWatchHandler(){this._table&&(this._table.editingEnabled=this._editEnabled&&this.enableInlineEdit)}enableShareWatchHandler(){this._toolbar&&this._updateToolbar()}_controlsThatFitWatchHandler(){const t=this._controlsThatFit?this._controlsThatFit.reduce(((t,i)=>(t.push(i.id),t)),[]):[];this._toolInfos=this._toolInfos?.map((i=>{if(i&&this._controlsThatFit){const s=this._getId(i.icon);return i.isOverflow=t.indexOf(s)<0,i}}))}mapHiddenWatchHandler(){this._toolInfos?.length>0&&this._initToolInfos()}isMobileWatchHandler(){this._toolInfos||this.isMobile||this._initToolInfos()}async mapInfoWatchHandler(){this._resetColumnTemplates(),this.createFilterModal&&this._initLayerExpressions(),this._initToolInfos(),this._updateToolbar(),await this._sortTable()}async mapViewWatchHandler(){this._mapClickHandle&&this._mapClickHandle.remove(),this.mapView&&(this._floorExpression=void 0,this._searchExpression=void 0,this._updateShareUrl(),this._mapClickHandle=this.reactiveUtils.on((()=>this.mapView),"click",(t=>{this._mapClicked(t)})))}async _layerWatchHandler(){this._fetchingData=!0,await(this._layer?.when((async()=>{this._definitionExpression=this._layer.definitionExpression,this._floorField=this._layer.floorInfo?.floorField,this._updateFloorDefinitionExpression(),await this._resetTable(),this.createFilterModal&&this._initLayerExpressions(),this._updateShareUrl(),this._fetchingData=!1})))}async selectedIdsWatchHandler(){this._updateShareUrl(),this._validateEnabledActions(),this._selectAllActive&&this.selectedIds.length!==this._allIds.length&&(this._selectAllActive=!1),this.selectedIds.length>0&&(this._table.rowHighlightIds.removeAll(),this._table.rowHighlightIds.add(this.selectedIds[0]))}async filterReset(){await this._handleFilterListReset()}async filterUpdate(){await this._handleFilterUpdate()}async closeFilter(){await this._closeFilter()}async refresh(){this._table&&await this._refresh()}featureSelectionChange;toggleFilter;async selectionChanged(t){const i=t.detail.selectedFeature[0],s=i.getObjectId(),e=this._table;if(e.rowHighlightIds.length&&e.rowHighlightIds.removeAll(),e.rowHighlightIds.add(s),this.zoomAndScrollToSelected){const t=this._table.viewModel.getObjectIdIndex(s);this._table.scrollToIndex(t);const e=i.layer;let h;this.mapView.allLayerViews.toArray().some((t=>{if(t.layer.title===e.title&&"feature"===t.layer.type)return h=t,!0})),h&&await c([s],h,this.mapView,!0,void 0,this.zoomToScale)}}async layerSelectionChange(t){await this._layerSelectionChanged(t)}async editsComplete(t){const i=t.detail;"delete"!==i&&"add"!==i||(this._allIds=await d(this._layer)),await this._refresh()}async facilityChanged(t){this._floorFacility=t.detail,this._updateFloorDefinitionExpression()}async levelChanged(t){this._floorLevel=t.detail,this._updateFloorDefinitionExpression()}async siteChanged(t){this._floorSite=t.detail,this._updateFloorDefinitionExpression()}noLayersFound(){this._layer=void 0,this._allIds=[],this._clearSelection()}clearSelection(){this._clearSelection()}async componentWillLoad(){await this._getTranslations(),await this._initModules(),this._initToolInfos(),this._resizeObserver||(this._resizeObserver=new ResizeObserver((()=>this._onResize())))}render(){const t=this._fetchingData?"display-none":"",i=this._fetchingData?"":"display-none",s=this._size.toString(),a=this.selectedIds.length.toString(),o=this.isMobile?"height-full":"height-full-adjusted",l=this._canShowFullTextSearch();return this._validateActiveActions(),e(h,{key:"46394d7e108068600980efd766fbf5d91243f3c9"},e("calcite-shell",{key:"d831121a56070552139386033b02ddc2531c29e9"},this._getTableControlRow("header"),e("div",{key:"591e0b0bba19f1dbe99049a470b5d3c04253a2c2",class:`width-full ${o}`},e("calcite-panel",{key:"d70244a3c989a5bea8bbbaf33c4ebe9c04fc4515",class:"height-full width-full"},l&&e("calcite-input",{key:"b8418eca07a07956f702a09aa642255d05742b14",class:"search",clearable:!0,icon:"search",onCalciteInputChange:t=>{this._searchTextChanged(t)},placeholder:this._searchPlaceHolder,title:this._searchPlaceHolder,type:"search"}),e("calcite-loader",{key:"4478be9175933c1b076f7011bd39aaf9adf7faad",class:i,label:this._translations.fetchingData,scale:"l"}),e("div",{key:"2a77b11f65188931041d781cde17143c90962931",class:t,ref:this.onTableNodeCreate}))),this.isMobile?void 0:e("div",{class:"bottom-left text-color height-19"},this._translations.recordsSelected.replace("{{total}}",s).replace("{{selected}}",a))),this.createFilterModal&&this._filterModal())}async componentDidLoad(){this.isMobile||this._observerSet||(this._resizeObserver.observe(this._toolbar),this._observerSet=!0)}componentDidRender(){document.onclick=t=>this._handleDocumentClick(t),document.onkeydown=t=>this._handleKeyDown(t),document.onkeyup=t=>this._handleKeyUp(t),this._updateToolbar()}async _initModules(){const[t,i,s]=await o(["esri/widgets/FeatureTable","esri/core/reactiveUtils","esri/widgets/FeatureTable/support/TableTemplate"]);this.FeatureTable=t,this.reactiveUtils=i,this.TableTemplate=s}async _searchTextChanged(t){this._fullTextSearchInfo.forEach((i=>{i.searchTerm=t.target.value})),this._searchFullText()}async _searchFullText(){if(this._searchExpression&&this._clearSearchDefinitionExpression(),this._fullTextSearchInfo.length&&this._fullTextSearchInfo[0].searchTerm){const t=this._layer.createQuery();t.fullText=this._fullTextSearchInfo;const i=await this._layer.queryObjectIds(t);await this._updateSearchDefinitionExpression(i?.length?i:[-1])}await new Promise((t=>setTimeout(t,800))),await this._updateAllIds()}_clearSearchDefinitionExpression(){const t=this._layer.definitionExpression;this._searchExpression&&t?.indexOf(this._searchExpression)>-1&&(this._layer.definitionExpression=t?.indexOf(" AND ("+this._searchExpression)>-1?t.replace(` AND (${this._searchExpression})`,""):t.replace(this._searchExpression,"")),this._searchExpression=void 0}async _updateSearchDefinitionExpression(t){const i=this._layer.definitionExpression;if(t?.length){const s=`objectId in(${t})`;this._layer.definitionExpression=i?.indexOf(this._searchExpression)>-1?i.replace(this._searchExpression,s):i?`${i} AND (${s})`:s,this._searchExpression=s}else this._clearSearchDefinitionExpression()}_canShowFullTextSearch(){return((this._layer?.capabilities)?.query)?.supportsFullTextSearch&&this._layer.indexes.items.filter((t=>"FullText"==t.indexType)).length>0}_getFullTextSearchInfo(){if(this._fullTextSearchInfo=[],((this._layer?.capabilities)?.query)?.supportsFullTextSearch){const t=this._layer.indexes?.filter((t=>"FullText"==t.indexType));if(t?.length){const i=[];t.forEach((t=>{i.push(...t.fields.split(","))}));const s=[];i.forEach((t=>{const i=this._layer.getField(t.trim());s.push(i.alias)})),this._searchPlaceHolder=this._translations.searchPlaceholder.replace("{{fields}}",s.join(", ")),this._fullTextSearchInfo.push({onFields:["*"],searchTerm:"",searchType:"prefix"})}}}_onResize(){this._updateToolbar()}_getTableControlRow(t){return e("div",{class:"display-flex border-bottom height-51-px",ref:t=>this._toolbar=t,slot:t},this._getActionBar(),this.isMobile?void 0:this._getDropdown("more-table-options"),this.enableShare&&!this.isMobile?this._getShare("share"):void 0)}_getActionBar(){const t=this.isMobile?"width-full":"",i=this.isMobile?"border-top":"";return e("calcite-action-bar",{class:t,expandDisabled:!0,expanded:!0,id:this._getId("bar"),layout:"horizontal"},e("div",{class:`border-end ${t} ${i}`,id:"solutions-map-layer-picker-container"},e("map-layer-picker",{appearance:"transparent",defaultLayerId:this.defaultLayerId,display:"inline-flex",height:50,isMobile:this.isMobile,mapView:this.mapView,onlyShowUpdatableLayers:this.onlyShowUpdatableLayers,placeholderIcon:"layers",scale:"l",selectedIds:this._layer?[this._layer?.id]:[],showSingleLayerAsLabel:!0,showTables:!0,type:"dropdown"})),this.isMobile?void 0:this._getActions())}_getActions(){const t=this._getActionItems();return t?.reduce(((t,i)=>(i&&!i.isOverflow&&t.push(i.isDanger?this._getDangerAction(i.icon,i.label,i.func,i.disabled):i.isSublist?e("calcite-dropdown",{closeOnSelectDisabled:!0,id:this._getId(i.icon),onCalciteDropdownBeforeClose:()=>this._forceShowHide(),ref:t=>this._showHideDropdown=t},this._getAction(i.active,this._showHideOpen?"chevron-down":i.icon,i.indicator,i.label,i.func,i.disabled,i.loading,"trigger"),this._showHideOpen?this._getFieldlist():void 0):this._getAction(i.active,i.icon,i.indicator,i.label,i.func,i.disabled,i.loading)),t)),[])}_getFieldlist(){return this._columnsInfo?e("calcite-dropdown-group",{"selection-mode":"multiple"},Object.keys(this._columnsInfo).map((t=>{const i=this._columnsInfo[t];return e("calcite-dropdown-item",{id:`layer-table-${t.toLowerCase().replaceAll(" ","")}`,label:t,onClick:t=>{const i=t.target;this._columnsInfo[i.label]=i.selected,i.selected?this._table.showColumn(i.label):this._table.hideColumn(i.label)},selected:i},t)}))):void 0}_validateEnabledActions(){const t=this._featuresSelected(),i=this.selectedIds.length>1&&this._layer?.capabilities?.operations?.supportsUpdate,s=["zoom-to-object","pencil","trash","erase","selected-items-filter"];this._toolInfos?.forEach((e=>{e&&s.indexOf(e.icon)>-1&&(e.disabled="pencil"===e.icon?!i:!t)}))}_validateActiveActions(){const t=["filter","list-check-all","selected-items-filter"];this._toolInfos?.forEach((i=>{i&&t.indexOf(i.icon)>-1&&("filter"===i.icon&&(i.indicator=this._filterActive),"list-check-all"===i.icon&&(i.active=this._selectAllActive),"selected-items-filter"===i.icon&&(i.active=this._showOnlySelected))}))}_initToolInfos(){const t=this._featuresSelected(),i=this.selectedIds.length>1&&this._layer?.capabilities?.operations?.supportsUpdate&&!1,s=this._featuresEmpty(),e=this._hasFilterExpressions();this._translations&&(this._toolInfos=[this.mapHidden?void 0:{active:!1,icon:"zoom-to-object",indicator:!1,label:this._translations.zoom,func:()=>this._zoom(),disabled:!t,isOverflow:!1},e?{active:!1,icon:"filter",indicator:!1,label:this._translations.filters,func:()=>this.createFilterModal?this._toggleFilter():this.toggleFilter.emit(),disabled:!1,isOverflow:!1}:void 0,i?{active:!1,icon:"pencil",indicator:!1,label:this._translations.editMultiple,func:()=>alert(this._translations.editMultiple),disabled:!i,isOverflow:!1}:void 0,this._deleteEnabled?{active:void 0,icon:"trash",indicator:void 0,label:this._translations.delete,func:()=>{},disabled:!t,isDanger:!0,isOverflow:!1}:void 0,{active:!1,icon:"erase",indicator:!1,label:this._translations.clearSelection,func:()=>this._clearSelection(),disabled:!t,isOverflow:!1},{active:!1,icon:"selected-items-filter",indicator:!1,label:this._showOnlySelected?this._translations.showAll:this._translations.showSelected,func:()=>this._toggleShowSelected(),disabled:!t,isOverflow:!1},{active:!1,icon:"list-check-all",indicator:!1,func:()=>this._selectAll(),label:this._translations.selectAll,disabled:s,isOverflow:!1},{active:!1,icon:"compare",indicator:!1,func:()=>this._switchSelected(),label:this._translations.switchSelected,disabled:s,isOverflow:!1},{active:!1,icon:"refresh",indicator:!1,func:()=>this._refresh(),label:this._translations.refresh,disabled:!1,isOverflow:!1},this.enableCSV?{active:!1,icon:"export",indicator:!1,func:()=>{this._exportToCSV()},label:this._translations.exportCSV,loading:this._csvExporting,disabled:s,isOverflow:!1}:void 0,{active:!1,icon:this._showHideOpen?"chevron-down":"chevron-right",indicator:!1,func:()=>this._toggleShowHide(),label:this._translations.showHideColumns,disabled:!1,isOverflow:!1,isSublist:!0}],this._defaultVisibleToolSizeInfos=void 0)}_updateFloorDefinitionExpression(){if(this._floorField&&this._floorLevel){const t=`${this._floorField} = '${this._floorLevel}'`,i=this._layer.definitionExpression;this._layer.definitionExpression=i?.indexOf(this._floorExpression)>-1?i.replace(this._floorExpression,t):i?`${i} AND (${t})`:t,this._floorExpression=t}}_featuresSelected(){return this.selectedIds.length>0}_featuresEmpty(){return 0===this._allIds.length}_hasFilterExpressions(){let t;return this.mapInfo?.filterConfig?.layerExpressions&&this._layer?.id&&(t=this.mapInfo.filterConfig.layerExpressions.filter((t=>t.id===this._layer.id))),t?.length>0}_updateToolbar(){this._timeout&&clearTimeout(this._timeout),!this.isMobile&&this._toolbar&&this._toolInfos&&(this._timeout=setTimeout((()=>{clearTimeout(this._timeout),this._setToolbarSizeInfos();const t=this._toolbar.offsetWidth;let i=this._toolbarSizeInfos.reduce(((t,i)=>t+i.width),0);const s=["solutions-more","solutions-map-layer-picker-container","solutions-action-share"];if(i>t){if(this._toolbarSizeInfos.length>0){const e=[...this._toolbarSizeInfos].reverse().reduce(((e,h)=>(s.indexOf(h.id)<0&&(i>t?i-=h.width:e.push(h)),e)),[]).reverse();this._setControlsThatFit(e,s)}}else if(this._defaultVisibleToolSizeInfos){const e=this._toolbarSizeInfos.reduce(((t,i)=>(t.push(i.id),t)),[]);let h=!1;const a=[...this._defaultVisibleToolSizeInfos].reduce(((a,o)=>(!h&&s.indexOf(o.id)<0&&(e.indexOf(o.id)>-1||i+o.width<=t)?(e.indexOf(o.id)<0&&(i+=o.width),a.push(o)):s.indexOf(o.id)<0&&i+o.width>t&&(h=!0),a)),[]);this._setControlsThatFit(a,s)}}),250))}_setControlsThatFit(t,i){let s=JSON.stringify(t)!==JSON.stringify(this._controlsThatFit);const e=document.getElementById("solutions-action-bar");e?.childNodes?.forEach((t=>{i.indexOf(t.id)<0&&!s&&(s=this._controlsThatFit.map((t=>t.id)).indexOf(t.id)<0)})),s&&(this._controlsThatFit=[...t])}_setToolbarSizeInfos(){let t=!1;this._toolbarSizeInfos=[],this._toolbar.childNodes.forEach(((i,s)=>{0===s?i.childNodes.forEach((i=>{this._toolbarSizeInfos.push({id:i.id,width:i.offsetWidth}),t||(t=i.offsetWidth>0)})):i.referenceElement||(this._toolbarSizeInfos.push({id:i.id,width:i.offsetWidth}),t||(t=i.offsetWidth>0))})),t&&!this._defaultVisibleToolSizeInfos&&(this._defaultVisibleToolSizeInfos=[...this._toolbarSizeInfos])}_getActionItems(){return this._toolInfos?.filter((t=>t&&!t.isOverflow))}_getDropdown(t){const i=this._getDropdownItems();return i.length>0?e("calcite-dropdown",{closeOnSelectDisabled:!0,disabled:void 0===this._layer,id:"solutions-more",onCalciteDropdownBeforeClose:()=>this._forceShowHide(),ref:t=>this._moreDropdown=t},e("calcite-action",{appearance:"solid",id:t,label:"",onClick:()=>this._closeShowHide(),slot:"trigger",text:""},e("calcite-button",{appearance:"transparent",iconEnd:"chevron-down",kind:"neutral"},this._translations.more)),e("calcite-dropdown-group",{"selection-mode":"none"},i.map((t=>e("calcite-dropdown-group",{class:t.disabled?"disabled":"",selectionMode:"none"},e("calcite-dropdown-item",{disabled:t.loading,iconStart:t.isSublist&&this._showHideOpen?"chevron-down":t.loading?"":t.icon,id:`layer-table-${t.icon}`,onClick:t.func},t.loading?e("div",{class:"display-flex"},e("calcite-loader",{inline:!0,label:t.label,scale:"m"}),t.label):t.label))))),this._showHideOpen?this._getFieldlist():void 0):void 0}_getDropdownItems(){return this._toolInfos?.filter((t=>t&&t.isOverflow))}_getAction(t,i,s,h,a,o,l,n){const c=void 0===this._layer||o;return e("div",{class:"display-flex",id:this._getId(i),slot:n},e("calcite-action",{active:t,appearance:"solid",disabled:c,icon:i,id:`layer-table-${i}`,indicator:s,label:h,loading:l,onClick:a,text:h,textEnabled:!0}),this._getToolTip("bottom",i,h))}_getShare(t){return e("div",{class:"share-action",id:this._getId(t)},e("instant-apps-social-share",{autoUpdateShareUrl:!1,class:"instant-app-share",embed:this.shareIncludeEmbed,popoverButtonIconScale:"s",ref:t=>this._shareNode=t,scale:"m",shareButtonColor:"neutral",shareButtonType:"action",socialMedia:this.shareIncludeSocial,view:this.mapView}),this._getToolTip("bottom",t,this._translations.share))}_updateShareUrl(){const t=this._shareNode?.shareUrl;if(!t)return;const i=new URL(t);this.mapInfo?.id?i.searchParams.set("webmap",this.mapInfo.id):i.searchParams.delete("webmap"),this._layer?.id?i.searchParams.set("layer",this._layer.id):i.searchParams.delete("layer"),this.selectedIds?.length>0?i.searchParams.set("oid",this.selectedIds.join(",")):i.searchParams.delete("oid"),this._shareNode.shareUrl=i.href}_getToolTip(t,i,s){return document.getElementById(i)?e("calcite-tooltip",{placement:t,"reference-element":i},e("span",null,s)):void 0}_getId(t){return`solutions-action-${t}`}_getDangerAction(t,i,s,h){const a=void 0===this._layer||h;return e("div",{class:"display-flex",id:this._getId(t)},"trash"===t?e("delete-button",{buttonType:"action",class:"display-flex",disabled:a,icon:t,ids:this._getIds(),layer:this._layer}):e("calcite-action",{appearance:"solid",disabled:a,id:t,onClick:s,text:i},e("calcite-button",{appearance:"transparent",iconStart:t,kind:"danger"},i)),this._getToolTip("bottom",t,i))}_getIds(){return this._table.highlightIds.toArray()}onTableNodeCreate=t=>{this._tableNode=t};async _getTable(t,i){this._layer&&(await this._layer.when((()=>{this._table=new this.FeatureTable({autoRefreshEnabled:this.enableAutoRefresh,layer:this._layer,view:this.mapView,columnReorderingEnabled:this.enableColumnReorder,editingEnabled:this._editEnabled&&this.enableInlineEdit,highlightEnabled:!0,multiSortEnabled:!1,visibleElements:{header:!1,menu:!1},tableTemplate:{columnTemplates:i},container:t})})),await this._table.when((()=>{this._table.highlightIds.on("change",(t=>{this._handleOnChange(t)}));const t=this.reactiveUtils.watch((()=>this._table.size),(t=>{this._size=t}));this._table.viewModel.addHandles(t)})))}async _handleOnChange(t){const i=[...this._table.highlightIds.toArray()];if(this._skipOnChange)this._skipOnChange=!1;else{if(!this._ctrlIsPressed&&!this._shiftIsPressed||this._selectionFromMap&&this._shiftIsPressed)if(this.selectedIds.length>0){this._skipOnChange=!0;const s=this.selectedIds.length>1&&1===t.removed.length?t.removed:i.filter((t=>this.selectedIds.indexOf(t)<0));this._clearSelection(),this.selectedIds=[...s],s.length>0?this._table.highlightIds.add(s[0]):this._skipOnChange=!1}else this.selectedIds=i.reverse();else if(this._ctrlIsPressed)this.selectedIds=i.reverse();else if(this._shiftIsPressed&&i?.length>0)if(this._skipOnChange=!0,this._previousCurrentId=this._currentId,this._currentId=[...i].reverse()[0],1===i.length)this._skipOnChange=!1;else if(this._previousCurrentId!==this._currentId){const t=this._table.activeSortOrders.reduce(((t,i)=>(t.push(`${i.fieldName} ${i.direction}`),t)),[]),s=await r(0,this._layer,[],t);let e=!1;const h=this._table.viewModel.getObjectIdIndex(this._previousCurrentId),a=this._table.viewModel.getObjectIdIndex(this._currentId);this._skipOnChange=(h<a?h:a)+1!==(a>h?a:h);const o=s.reduce(((t,i)=>{const s=i;return s===this._currentId||s===this._previousCurrentId?(e=!e,t.indexOf(s)<0&&t.push(s)):e&&t.indexOf(s)<0&&t.push(s),t}),[]),l=h<a?o.reverse():o;this.selectedIds=[...new Set([...l,...this.selectedIds])],this._table.highlightIds.addMany(this.selectedIds.filter((t=>i.indexOf(t)<0)))}this._finishOnChange()}this._currentId=[...this._table.highlightIds.toArray()].reverse()[0],this._selectionFromMap=!1}_finishOnChange(){this._showOnlySelected&&(this._featuresSelected()?this._table.filterBySelection():this._toggleShowSelected()),this.featureSelectionChange.emit(this.selectedIds)}_resetColumnTemplates(){const t=this._getColumnTemplates(this._layer?.id,this._layer?.fields),i=t?.some(((t,i)=>JSON.stringify(this._table?.tableTemplate.columnTemplates[i])!==JSON.stringify(t)));if(this._table&&t&&(i||!this._columnsInfo)){this._table.tableTemplate=new this.TableTemplate({columnTemplates:t});const i=t.map((t=>t.fieldName));this._initColumnsInfo(i)}}async _resetTable(){if(this._loaded=!1,this._clearSelection(),this._allIds=await d(this._layer),this._table)this._table.view=this.mapView,this._table.layer=this._layer;else{const t=this._getColumnTemplates(this._layer.id,this._layer?.fields);await this._getTable(this._tableNode,t)}await this._initLayerRefresh(),this._checkEditEnabled(),this._table.editingEnabled=this._editEnabled&&this.enableInlineEdit,await this._table.when(),setTimeout((()=>{this._loaded||(console.log(`table.state: ${this._table.state}`),this.finishLoading())}),1e3),await this.reactiveUtils.once((()=>"loaded"===this._table.state)).then((async()=>{await this.finishLoading()}))}async finishLoading(){try{this._loaded=!0,this._table.highlightIds.removeAll(),this._table.clearSelectionFilter(),this._resetColumnTemplates(),this._showOnlySelected=!1,await this._handleDefaults(),await this._sortTable(),this._initToolInfos(),this._updateToolbar()}catch(t){console.log(t)}}async _initLayerRefresh(){this._refreshHandle&&this._refreshHandle.remove(),this._refreshHandle=this._layer.on("refresh",(t=>{t.dataChanged&&(this._skipOnChange=!0,this._updateAllIds())}))}async _updateAllIds(){this._allIds=await d(this._layer),this.selectedIds=this.selectedIds.filter((t=>this._allIds.indexOf(t)>-1)),await this._refresh()}async _handleDefaults(){if(!this._defaultOidHonored&&this.defaultOid?.length>0&&this.defaultOid[0]>-1&&this._table&&(await this._selectDefaultFeature(this.defaultOid),this._defaultOidHonored=!0,this.defaultOid=void 0,this._showOnlySelected=!1,this._toggleShowSelected()),!this._defaultGlobalIdHonored&&this.defaultGlobalId?.length>0&&this._table){const t=await p(this.defaultGlobalId,this._layer),i=t?.length>0?t.map((t=>t.getObjectId())):void 0;i&&await this._selectDefaultFeature(i),this._defaultGlobalIdHonored=!0,this.defaultGlobalId=void 0,this._showOnlySelected=!1,this._toggleShowSelected()}}_initColumnsInfo(t){const i=this._table?.columns.reduce(((i,s)=>((!t||t?.indexOf(s.name)>-1)&&(i[s.name]=!s.hidden),i)),{}),s=this._table?.columns.map((t=>t.name));(t?t.filter((t=>s.indexOf(t)<0)):[]).forEach((t=>{i[t]=!0})),this._columnsInfo=t?t.reduce(((t,s)=>(t[s]=i[s],t)),{}):i}async _selectDefaultFeature(t){t.length>0&&this._table.highlightIds.addMany(t)}_checkEditEnabled(){this._editEnabled=this._layer.editingEnabled&&this._layer.capabilities.operations.supportsUpdate,this._deleteEnabled=this._layer.editingEnabled&&this._layer.capabilities.operations.supportsDelete}async _sortTable(){let t,i=this._layer?.objectIdField,s="desc";this.mapInfo?.layerOptions?.layers?.length>0&&this._layer?.id&&(t=this.mapInfo.layerOptions.layers.filter((t=>t.id===this._layer.id)),t&&t.length>0&&(t=t[0],t.sortField&&t.fields?.includes(t.sortField)&&(i=t.sortField),s=t?.sortOrder?t.sortOrder:"desc")),this._table&&this._layer&&(await this._table.when(),await this._layer.when((()=>{this._table.sortColumn(i,s)})))}_forceShowHide(){this._showHideDropdown&&(this._showHideDropdown.open=this._showHideOpen),this._moreDropdown&&(this._moreDropdown.open=this._showHideOpen)}_toggleShowHide(){this._showHideOpen=!this._showHideOpen}_closeShowHide(){this._showHideOpen=!1}_handleDocumentClick(t){const i=t.target?.id;i.startsWith("layer-table-")?this._moreDropdown.open=!0:this._showHideOpen&&Object.keys(this._columnsInfo).indexOf(i)<0&&"chevron-right"!==i&&(this._closeShowHide(),this._moreDropdown&&(this._moreDropdown.open=!1),this._showHideDropdown&&(this._showHideDropdown.open=!1))}_handleKeyDown(t){this._ctrlIsPressed=t.ctrlKey,this._shiftIsPressed=t.shiftKey}_handleKeyUp(t){this._ctrlIsPressed=t.ctrlKey,this._shiftIsPressed=t.shiftKey}_filterModal(){return e("calcite-modal",{"aria-labelledby":"modal-title",class:"modal",kind:"brand",onCalciteModalClose:()=>{this._closeFilter()},open:this._filterOpen,widthScale:"s"},e("div",{class:"display-flex align-center",id:"modal-title",slot:"header"},this._translations?.filter?.replace("{{title}}",this._layer?.title)),e("div",{slot:"content"},e("instant-apps-filter-list",{autoUpdateUrl:!1,closeBtn:!0,closeBtnOnClick:async()=>this._closeFilter(),comboboxOverlayPositioning:"fixed",layerExpressions:this._layerExpressions,onFilterListReset:()=>{this._handleFilterListReset()},onFilterUpdate:()=>{this._handleFilterUpdate()},ref:t=>this._filterList=t,view:this.mapView,zoomBtn:!1})))}async _handleFilterListReset(){this._filterActive=!1,this._updateShareUrl(),await this._searchFullText()}async _handleFilterUpdate(){const t=this._layer.definitionExpression;if(this._floorExpression){const i=new RegExp(`${this._floorField} = ['].+[']`,"gm");this._layer.definitionExpression=t&&this._floorField&&t.indexOf(`${this._floorField} = '`)>-1?t.replace(i,this._floorExpression):t?`${t} AND (${this._floorExpression})`:this._floorExpression}this._filterActive=this._definitionExpression!==this._layer.definitionExpression&&(!this._floorExpression||this._layer.definitionExpression!==this._floorExpression),this._updateShareUrl(),await this._searchFullText()}async _closeFilter(){this._filterOpen&&(this._allIds=await d(this._layer),this._filterOpen=!1)}async _mapClicked(t){const i={include:this._layer},s=await this.mapView.hitTest(t.screenPoint,i);s.results.length>0?(s.results.forEach((t=>{const i=t.graphic.getObjectId();this._table.highlightIds.indexOf(i)<0&&(this._selectionFromMap=!0,this._table.highlightIds.add(i))})),this._showOnlySelected&&this._table.filterBySelection()):this._clearSelection()}_selectAll(){const t=this._allIds;this._table.highlightIds.removeAll(),this._skipOnChange=!0,this._table.highlightIds.addMany(t),this.selectedIds=t,this._finishOnChange(),this._selectAllActive=!0}_toggleShowSelected(){this._showOnlySelected=!this._showOnlySelected,this._showOnlySelected?this._table.filterBySelection():this._table.clearSelectionFilter()}_clearSelection(){this.selectedIds=[],this._table?.highlightIds.removeAll(),this._table?.rowHighlightIds.removeAll(),this._finishOnChange()}_toggleFilter(){this._filterOpen=!this._filterOpen}_initLayerExpressions(){const t=this.mapInfo?.filterConfig?.layerExpressions;this._layerExpressions=t?t.filter((t=>t.id===this._layer?.id)):[],this._filterList.layerExpressions=this._layerExpressions,this._filterActive=this._layerExpressions.filter((t=>t.expressions.filter((t=>t.active)).length>0)).length>0}_switchSelected(){const t=[...this.selectedIds];this._table.highlightIds.removeAll();const i=this._allIds.reduce(((i,s)=>(t.indexOf(s)<0&&i.push(s),i)),[]).sort(((t,i)=>t-i));this._skipOnChange=!0,this._table.highlightIds.addMany(i),this.selectedIds=i,this._finishOnChange()}async _exportToCSV(){const t={},i=this._table.highlightIds.toArray();t[this._layer.id]={selectionSetNames:[this._layer.title],ids:i,layer:this._layer};const s=this._table.columns.toArray().reduce(((t,i)=>(i.hidden||t.push(i.name.toLocaleLowerCase()),t)),[]);this._updateToolInfoLoading("export",!0),this._csvExporting=!0,await b(null,t,!1,!1,!0,s,!0,!0),this._updateToolInfoLoading("export",!1),this._csvExporting=!1}_updateToolInfoLoading(t,i){this._toolInfos.some((s=>{if(s?.icon===t)return s.loading=i,!0}))}async _refresh(){await this._table.refresh(),this._allIds=await d(this._layer),this.featureSelectionChange.emit(this.selectedIds)}async _zoom(){if(this._layer){const t=await f(this.mapView,this._layer.id);await c(this.selectedIds,t,this.mapView,!0,void 0,this.zoomToScale)}}async _layerSelectionChanged(t){const i=t.detail[0];if(i!==this._layer?.id||this._featuresEmpty()){this._fetchingData=!0;const t=await l(this.mapView,i);t&&await t.when((()=>{this._layer=t,this._getFullTextSearchInfo()}))}this._fetchingData=!1}_getColumnTemplates(t,i){let s;this.mapInfo?.layerOptions?.layers.some((i=>{if(i.id===t)return s=i,!0}));const e=s?.fields&&s?.fieldOrder?s.fieldOrder.filter((t=>s.fields.indexOf(t)>-1)):void 0;let h;return i&&(h=s&&s?.fields?i.reduce(((t,i)=>{if(s.fields.indexOf(i.name)>-1){const s={type:"field",fieldName:i.name,label:i.alias,menuConfig:this._getMenuConfig(i.name)};t.push(s)}return t}),[]).sort(this._sortFields.bind(this,s?.fieldOrder)):i.map((t=>({type:"field",fieldName:t.name,label:t.alias,menuConfig:this._getMenuConfig(t.name)})))),e?h?.sort(this._sortFields.bind(this,e)):h}_sortFields(t,i,s){return t?.indexOf(i.fieldName)-t.indexOf(s.fieldName)}_getMenuConfig(t){return{items:[{label:this._translations.hideField,icon:"view-hide",autoCloseMenu:!0,clickFunction:()=>{this._handleHideClick(t)}}]}}_handleHideClick(t){this._columnsInfo[t]=!1,this._table.hideColumn(t),this._table.tableTemplate.columnTemplates.forEach((i=>{i.fieldName===t&&(i.visible=!1)}))}async _getTranslations(){const t=await a(this.el);this._translations=t[0]}static get watchers(){return{defaultOid:["defaultOidWatchHandler"],defaultGlobalId:["defaultGlobalIdWatchHandler"],enableCSV:["enableCSVWatchHandler"],enableInlineEdit:["enableInlineEditWatchHandler"],enableShare:["enableShareWatchHandler"],_controlsThatFit:["_controlsThatFitWatchHandler"],mapHidden:["mapHiddenWatchHandler"],isMobile:["isMobileWatchHandler"],mapInfo:["mapInfoWatchHandler"],mapView:["mapViewWatchHandler"],_layer:["_layerWatchHandler"],selectedIds:["selectedIdsWatchHandler"]}}};function v(t){return function(t){return-1!==t?.indexOf("http://")}(t)?t.replace(/^http:\/\//,"https://"):t}m.style=':host{display:block}.height-full{height:100%}.height-full-adjusted{height:calc(100% - 20px)}.width-full{width:100%}.display-flex{display:flex}.table-border{border:1px solid var(--calcite-color-border-2)}.border-end{border-inline-end:1px solid var(--calcite-color-border-2)}.border-bottom{border-bottom:1px solid var(--calcite-color-border-2)}.padding-5{padding:5px}.padding-end-1{padding-inline-end:1rem}.height-51-px{height:51px}.height-50-px{height:50px}.bottom-left{position:absolute;left:0;bottom:0;padding-left:5px}html[dir="rtl"] .bottom-left{position:absolute;right:0;bottom:0;padding-right:5px}.height-19{height:19px}.background{background-color:var(--calcite-color-background)}.text-color{color:var(--calcite-color-text-1)}.align-center{align-items:center}.danger-color{color:var(--calcite-color-status-danger)}.esri-feature-table vaadin-grid{border:none !important}vaadin-grid-cell-content{font-size:14px !important;color:var(--calcite-color-text-3) !important}.share-action{position:absolute;right:0}html[dir="rtl"] .share-action{left:0}.disabled{cursor:default !important;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled);pointer-events:none}.instant-app-share{height:50px !important;display:inline-flex}.border-top{border-top:1px solid var(--calcite-color-border-2)}.modal{--calcite-modal-content-padding:0}.esri-feature-table__table-container{height:100%}.search{--calcite-color-border-input:var(--calcite-color-border-3)}';const w=class{constructor(s){t(this,s),this.mapChanged=i(this,"mapChanged",7),this.beforeMapChanged=i(this,"beforeMapChanged",7),this.toggleFilter=i(this,"toggleFilter",7),this.clearSelection=i(this,"clearSelection",7),this.appProxies=void 0,this.defaultWebmapId="",this.defaultLayerId=void 0,this.enableHome=void 0,this.enableLegend=void 0,this.enableFloorFilter=void 0,this.enableFullscreen=void 0,this.enableSingleExpand=!0,this.enableSearch=void 0,this.enableBasemap=void 0,this.basemapConfig=void 0,this.hidden=void 0,this.homeZoomIndex=3,this.homeZoomPosition="top-left",this.homeZoomToolsSize="m",this.mapInfos=[],this.mapWidgetsIndex=0,this.mapWidgetsPosition="top-right",this.mapWidgetsSize="m",this.mapView=void 0,this.stackTools=!0,this.theme=void 0,this.toolOrder=void 0,this.isMapLayout=void 0,this.selectedFeaturesIds=void 0,this.selectedLayer=void 0,this.zoomToScale=void 0,this.onlyShowUpdatableLayers=void 0,this.isMobile=void 0,this.mapInfo=void 0,this._translations=void 0,this._searchConfiguration=void 0,this._webMapInfo=void 0,this._showHideOpen=!1,this._toolInfos=void 0,this._controlsThatFit=void 0}get el(){return s(this)}esriConfig;Home;MapView;WebMap;_defaultWebmapHonored=!1;_homeWidget;_loadedId="";_mapDiv;_mapPicker;_mapTools;_moreDropdown;_mapListExpanded=!1;_filterActive=!1;_definitionExpression;_mapLayerPicker;_resizeObserver;_showHideDropdown;_toolbar;_timeout;_toolbarSizeInfos;_defaultVisibleToolSizeInfos;_observerSet=!1;enableHomeWatchHandler(){this._initHome()}async selectedLayerWatchHandler(){await(this.selectedLayer?.when((async()=>{this._definitionExpression=this.selectedLayer.definitionExpression})))}async selectedFeaturesIdsWatchHandler(){this._validateEnabledActions()}_controlsThatFitWatchHandler(){const t=this._controlsThatFit?this._controlsThatFit.reduce(((t,i)=>(t.push(i.id),t)),[]):[];this._toolInfos=this._toolInfos?.map((i=>{if(i&&this._controlsThatFit){const s=this._getId(i.icon);return i.isOverflow=t.indexOf(s)<0,i}}))}async resetFilter(){this._filterActive=!1}async updateFilterState(){this._filterActive=this._definitionExpression!==this.selectedLayer.definitionExpression}async updateLayer(){this._mapLayerPicker.updateLayer()}mapChanged;beforeMapChanged;toggleFilter;clearSelection;async mapInfoChange(t){await this._loadMap(t.detail)}noLayersFound(){this.selectedLayer=void 0,this.selectedFeaturesIds=[]}layerSelectionChange(){setTimeout((()=>{this._initToolInfos()}),50)}async componentWillLoad(){await this._getTranslations(),await this._initModules(),this._initToolInfos(),this._resizeObserver||(this._resizeObserver=new ResizeObserver((()=>this._updateToolbar())))}render(){const t=this.isMapLayout?"display-flex height-50-px border-bottom-3px":"",i=this.hidden?"visibility-hidden-1":"",s="dark"===this.theme?"calcite-mode-dark":"calcite-mode-light",a=this.mapInfos?.length>1||this.isMapLayout?"map-height":"height-full";return this._validateActiveActions(),e(h,{key:"197d79614a8d45037c034d3a61eda793d3ad3365"},e("div",{key:"ff428e43fb74c71fabd3af86677223c460bb4fb8",class:`${t} width-full`,ref:t=>this._toolbar=t},this._getActionBar(),!this.isMobile&&this.isMapLayout&&this._getDropdown("more-table-options")),e("div",{key:"0cf63d7623c194bcb0a8636e89bd150450c385a0",class:`${a} ${i}`,ref:t=>this._mapDiv=t}),e("map-tools",{key:"0982cb82f916bfff2c25e3b276b8f7708fe19842",basemapConfig:this.basemapConfig,class:`box-shadow ${s}`,enableBasemap:this.enableBasemap,enableFloorFilter:this.enableFloorFilter,enableFullscreen:this.enableFullscreen,enableHome:this.enableHome,enableLegend:this.enableLegend,enableSearch:this.enableSearch,enableSingleExpand:this.enableSingleExpand,homeZoomToolsSize:this.homeZoomToolsSize,mapView:this.mapView,mapWidgetsSize:this.mapWidgetsSize,position:this.mapWidgetsPosition,ref:t=>this._mapTools=t,searchConfiguration:this._searchConfiguration,stackTools:this.stackTools,toolOrder:this.toolOrder}))}async componentDidRender(){this.isMapLayout&&this._updateToolbar(),document.onclick=t=>this._handleDocumentClick(t)}async componentDidLoad(){this.isMobile||this._observerSet||(this._resizeObserver.observe(this._toolbar),this._observerSet=!0)}async _initModules(){const[t,i,s,e]=await o(["esri/WebMap","esri/views/MapView","esri/widgets/Home","esri/config"]);this.WebMap=t,this.MapView=i,this.Home=s,this.esriConfig=e}async _loadMap(t){const i=!this._defaultWebmapHonored&&this.defaultWebmapId,s=this.mapInfos?.filter((t=>t.id===this.defaultWebmapId)),e=JSON.stringify(t)!==JSON.stringify(this._webMapInfo);this._webMapInfo=i&&s?s[0]:!t?.id&&this.mapInfos.length>0?this.mapInfos[0]:t;const h=this._webMapInfo.id,a=i&&t?.id===this.defaultWebmapId;if(this._loadedId!==h&&!i||a){const t=new this.WebMap({portalItem:{id:h}});this.appProxies&&(await t.load(),await(o=t,l=this.esriConfig,n=this.appProxies,n&&n.forEach((t=>{o.allLayers.forEach((i=>{i&&i.url===t.sourceUrl&&(i.url=v(t.proxyUrl),i.portalItem&&i.portalItem.when((()=>{i.portalItem.url=v(t.proxyUrl)})),l.request?.interceptors?.push({urls:t.sourceUrl,before:i=>{i.url&&i.url===t.sourceUrl&&(i.url=v(t.proxyUrl))}}))}))})),o)),this.mapView=new this.MapView({container:this._mapDiv,map:t,resizeAlign:"center"}),this._loadedId=h,this._searchConfiguration=this._webMapInfo.searchConfiguration,this.beforeMapChanged.emit(),await this.mapView.when((()=>{this._initHome(),this.mapView.ui.add(this._mapTools,{position:this.mapWidgetsPosition,index:this.mapWidgetsIndex}),this._defaultWebmapHonored=!!a||this._defaultWebmapHonored,this.mapChanged.emit({id:h,mapView:this.mapView})}))}else i?(this._defaultWebmapHonored=!0,this._mapPicker.setMapByID(h)):e&&(this._searchConfiguration=this._webMapInfo.searchConfiguration,this.beforeMapChanged.emit(),this.mapChanged.emit({id:h,mapView:this.mapView}));var o,l,n}_updateToolbar(){this._timeout&&clearTimeout(this._timeout),!this.isMobile&&this._toolbar&&this._toolInfos&&(this._timeout=setTimeout((()=>{clearTimeout(this._timeout),this._setToolbarSizeInfos();const t=this._toolbar.offsetWidth;let i=this._toolbarSizeInfos.reduce(((t,i)=>t+i.width),0);const s=["solutions-more","solutions-map-layer-picker-container","map-picker"];if(i>t){if(this._toolbarSizeInfos.length>0){const e=[...this._toolbarSizeInfos].reverse().reduce(((e,h)=>(s.indexOf(h.id)<0&&(i>t?i-=h.width:e.push(h)),e)),[]).reverse();this._setControlsThatFit(e,s)}}else if(this._defaultVisibleToolSizeInfos){const e=this._toolbarSizeInfos.reduce(((t,i)=>(t.push(i.id),t)),[]);let h=!1;const a=[...this._defaultVisibleToolSizeInfos].reduce(((a,o)=>(!h&&s.indexOf(o.id)<0&&(e.indexOf(o.id)>-1||i+o.width<=t)?(e.indexOf(o.id)<0&&(i+=o.width),a.push(o)):s.indexOf(o.id)<0&&i+o.width>t&&(h=!0),a)),[]);this._setControlsThatFit(a,s)}}),250))}_setControlsThatFit(t,i){let s=JSON.stringify(t)!==JSON.stringify(this._controlsThatFit);const e=document.getElementById("solutions-action-bar");e?.childNodes?.forEach((t=>{i.indexOf(t.id)<0&&!s&&(s=this._controlsThatFit.map((t=>t.id)).indexOf(t.id)<0)})),s&&(this._controlsThatFit=[...t])}_setToolbarSizeInfos(){let t=!1;this._toolbarSizeInfos=[],this._toolbar.childNodes.forEach(((i,s)=>{0===s?i.childNodes.forEach((i=>{this._toolbarSizeInfos.push({id:i.id,width:i.offsetWidth}),t||(t=i.offsetWidth>0)})):i.referenceElement||(this._toolbarSizeInfos.push({id:i.id,width:i.offsetWidth}),t||(t=i.offsetWidth>0))})),t&&!this._defaultVisibleToolSizeInfos&&(this._defaultVisibleToolSizeInfos=[...this._toolbarSizeInfos])}_getActionBar(){const t=this.mapInfos?.length>1?"":"display-none",i=this.isMapLayout?"display-flex":"display-block",s=this.isMobile?"border-top":"",h=this.isMapLayout?"":"display-none";return e("calcite-action-bar",{class:i,expandDisabled:!0,expanded:!0,id:this._getId("bar"),layout:"horizontal"},e("map-picker",{class:t,isMapLayout:this.isMapLayout,mapInfos:this.mapInfos,ref:t=>this._mapPicker=t}),e("div",{class:`mapView-header display-flex ${h}`},e("div",{class:`border-end ${i} ${s}`,id:"solutions-map-layer-picker-container"},this.mapView&&e("map-layer-picker",{appearance:"transparent",defaultLayerId:this.defaultLayerId,display:"inline-flex",height:50,isMobile:this.isMobile,mapView:this.mapView,onlyShowUpdatableLayers:this.onlyShowUpdatableLayers,placeholderIcon:"layers",ref:t=>this._mapLayerPicker=t,scale:"l",selectedIds:this.selectedLayer?[this.selectedLayer.id]:[],showSingleLayerAsLabel:!0,showTables:!0,showTablesDisabled:!0,type:"dropdown"}))),!this.isMobile&&this.isMapLayout?this._getActions():void 0)}_getDropdown(t){const i=this._getDropdownItems();return i.length>0?e("calcite-dropdown",{closeOnSelectDisabled:!0,disabled:void 0===this.selectedLayer,id:"solutions-more",onCalciteDropdownBeforeClose:()=>this._forceShowHide(),ref:t=>this._moreDropdown=t},e("calcite-action",{appearance:"solid",id:t,label:"",onClick:()=>this._closeShowHide(),slot:"trigger",text:""},e("calcite-button",{appearance:"transparent",iconEnd:"chevron-down",kind:"neutral"},this._translations.more)),e("calcite-dropdown-group",{"selection-mode":"none"},i.map((t=>e("calcite-dropdown-group",{class:t.disabled?"disabled":"",selectionMode:"none"},e("calcite-dropdown-item",{disabled:t.loading,iconStart:t.icon,id:"solutions-subset-list",onClick:t.func},t.loading?e("div",{class:"display-flex"},e("calcite-loader",{inline:!0,label:t.label,scale:"m"}),t.label):t.label)))))):void 0}_closeShowHide(){this._showHideOpen=!1}_getDropdownItems(){return this._toolInfos?.filter((t=>t&&t.isOverflow))}_initToolInfos(){const t=this.selectedFeaturesIds?.length>0,i=this._hasFilterExpressions(),s=this.selectedFeaturesIds?.length>1&&!1;this._translations&&(this._toolInfos=[{active:!1,icon:"zoom-to-object",indicator:!1,label:this._translations.zoom,func:()=>this._zoom(),disabled:!t,isOverflow:!1},i?{active:!1,icon:"filter",indicator:!1,label:this._translations.filters,func:()=>this._toggleFilter(),disabled:!1,isOverflow:!1}:void 0,s?{active:!1,icon:"pencil",indicator:!1,label:this._translations.editMultiple,func:()=>alert(this._translations.editMultiple),disabled:!s,isOverflow:!1}:void 0,{active:!1,icon:"refresh",indicator:!1,label:this._translations.refresh,func:()=>this.selectedLayer.refresh(),disabled:!1,isOverflow:!1},{active:!1,icon:"erase",indicator:!1,label:this._translations.clearSelection,func:()=>this.clearSelection.emit(),disabled:!t,isOverflow:!1}],this._defaultVisibleToolSizeInfos=void 0)}_validateActiveActions(){const t=["filter"];this._toolInfos?.forEach((i=>{i&&t.indexOf(i.icon)>-1&&"filter"===i.icon&&(i.indicator=this._filterActive)}))}_validateEnabledActions(){const t=this.selectedFeaturesIds?.length>0,i=this.selectedFeaturesIds?.length>1&&this.selectedLayer?.capabilities?.operations?.supportsUpdate,s=["zoom-to-object","pencil","erase"];this._toolInfos?.forEach((e=>{e&&s.indexOf(e.icon)>-1&&(e.disabled="pencil"===e.icon?!i:!t)}))}_initHome(){if(this.enableHome){this._homeWidget=new this.Home({view:this.mapView}),this.mapView.ui.add(this._homeWidget,{position:this.homeZoomPosition,index:this.homeZoomIndex});const t="s"===this.homeZoomToolsSize?"32px":"m"===this.homeZoomToolsSize?"40px":"48px";this._homeWidget.domNode.style.height=t,this._homeWidget.domNode.style.width=t}else this._homeWidget&&this.mapView.ui.remove(this._homeWidget)}_toggleShowHide(){this._showHideOpen=!this._showHideOpen}_forceShowHide(){this._moreDropdown&&(this._moreDropdown.open=this._showHideOpen)}_handleDocumentClick(t){const i=t.target?.id;"solutions-subset-list"===i?this._moreDropdown.open=!0:this._showHideOpen&&"solutions-subset-list"!==i&&"solutions-more"!==i&&"chevron-down"!==i&&this._moreDropdown&&(this._showHideOpen=!1,this._moreDropdown.open=!1),"MAP-PICKER"===t.target.tagName&&(this._mapListExpanded=!this._mapListExpanded,this._mapPicker.toggle(this._mapListExpanded)),"MAP-PICKER"!==t.target.tagName&&(this._mapListExpanded=!1,this._mapPicker.close())}async _zoom(){if(this.selectedLayer){const t=await f(this.mapView,this.selectedLayer.id);await c(this.selectedFeaturesIds,t,this.mapView,!0,void 0,this.zoomToScale)}}async _toggleFilter(){this.toggleFilter.emit()}_hasFilterExpressions(){let t;return this.mapInfo?.filterConfig?.layerExpressions&&this.selectedLayer?.id&&(t=this.mapInfo.filterConfig.layerExpressions.filter((t=>t.id===this.selectedLayer.id))),t?.length>0}_getActions(){const t=this._getActionItems();return t?.reduce(((t,i)=>(i&&!i.isOverflow&&t.push(this._getAction(i.active,i.icon,i.indicator,i.label,i.func,i.disabled,i.loading)),t)),[])}_getToolTip(t,i,s){return document.getElementById(i)?e("calcite-tooltip",{placement:t,"reference-element":"map-"+i},e("span",null,s)):void 0}_getActionItems(){return this._toolInfos?.filter((t=>t&&!t.isOverflow))}_getAction(t,i,s,h,a,o,l,n){const c=void 0===this.selectedLayer||o;return e("div",{class:"display-flex",id:this._getId(i),slot:n},e("calcite-action",{active:t,appearance:"solid",disabled:c,icon:i,id:"map-"+i,indicator:s,label:h,loading:l,onClick:a,text:h,textEnabled:!0}),this._getToolTip("bottom",i,h))}_getId(t){return`solutions-action-${t}`}async _getTranslations(){const t=await a(this.el);this._translations=t[0]}static get watchers(){return{enableHome:["enableHomeWatchHandler"],selectedLayer:["selectedLayerWatchHandler"],selectedFeaturesIds:["selectedFeaturesIdsWatchHandler"],_controlsThatFit:["_controlsThatFitWatchHandler"]}}};w.style=":host{display:block;--calcite-label-margin-bottom:0;--calcite-block-padding:0}.map-height{height:calc(100% - 53px)}.height-full{height:100%}.border-bottom-3px{border-bottom:3px solid var(--calcite-color-border-3)}.height-50-px{height:50px}.box-shadow{box-shadow:none !important}.visibility-hidden-1{visibility:hidden;height:1px;}.display-none{display:none}.display-block{display:block}";export{u as card_manager,m as layer_table,w as map_card}
@@ -0,0 +1,12 @@
1
+ /*!
2
+ * Copyright 2022 Esri
3
+ * Licensed under the Apache License, Version 2.0
4
+ * http://www.apache.org/licenses/LICENSE-2.0
5
+ */
6
+ import{r as t,c as i,g as e,h as s,H as a}from"./p-6eb37ed2.js";import{l as n,g as h}from"./p-2058b5d9.js";import{z as o}from"./p-66cee72b.js";import{f as c}from"./p-80cb7c73.js";import{s as l}from"./p-5dcec135.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";import"./p-aaa56cbf.js";import"./p-8bfa18b7.js";import"./p-720a12c0.js";const r=class{constructor(e){t(this,e),this.bufferComplete=i(this,"bufferComplete",7),this.distanceChanged=i(this,"distanceChanged",7),this.unitChanged=i(this,"unitChanged",7),this.appearance="text",this.distance=0,this.geometries=[],this.max=void 0,this.min=0,this.sliderTicks=10,this.unionResults=!0,this.unit="meters",this.disabled=!1,this._translations=void 0}get el(){return e(this)}_geometryEngine;_bufferTimeout;_unitElement;_units;geometriesWatchHandler(){this._buffer()}disabledWatchHandler(){this._buffer()}async getTranslatedUnit(t){return this._units||await this._defineTranslations(),this._units[t]}bufferComplete;distanceChanged;unitChanged;async componentWillLoad(){await this._defineTranslations(),await this._initModules()}render(){return s(a,{key:"fe60961aabf178fd32c4c85e8d52b9bc61a349d0"},"text"===this.appearance?this._getTextBoxDisplay():this._getSliderDisplay())}async _defineTranslations(){await this._getTranslations(),this._initTranslatedUnits()}async _initModules(){const[t]=await n(["esri/geometry/geometryEngine"]);this._geometryEngine=t}_initTranslatedUnits(){this._units={feet:this._translations.feet,meters:this._translations.meters,miles:this._translations.miles,kilometers:this._translations.kilometers}}_getUnits(){return Object.keys(this._units).map((t=>s("calcite-option",{label:this._units[t],selected:this.unit===t,value:t})))}_setDistance(t){const i=parseInt(t.target.value,10);this.distance!==i&&i>=this.min&&(this.distanceChanged.emit({oldValue:this.distance,newValue:i}),this.distance=i,this.distance>0?this._buffer():this.bufferComplete.emit(void 0))}_setUnit(t){this.unitChanged.emit({oldValue:this.unit,newValue:t}),this.unit=t,this._buffer()}_buffer(){this.disabled?this.bufferComplete.emit(void 0):(this._bufferTimeout&&clearTimeout(this._bufferTimeout),this._bufferTimeout=setTimeout((()=>{if(this.geometries?.length>0&&this.unit&&this.distance>0){const t=this.geometries[0].spatialReference,i=t.isWGS84||t.isWebMercator?this._geometryEngine.geodesicBuffer(this.geometries,this.distance,this.unit,this.unionResults):this._geometryEngine.buffer(this.geometries,this.distance,this.unit,this.unionResults);this.bufferComplete.emit(i)}}),400))}_getTextBoxDisplay(){return s("div",{class:"c-container"},s("calcite-input",{class:"padding-end-1 w-50",max:this.max&&this.max>0?this.max:void 0,min:this.min,"number-button-type":"vertical",onCalciteInputInput:t=>this._setDistance(t),placeholder:"0",type:"number",value:this.distance?this.distance.toString():void 0}),s("calcite-select",{class:"flex-1 w-50",label:"label",onCalciteSelectChange:()=>this._setUnit(this._unitElement.value),ref:t=>{this._unitElement=t}},this._getUnits()))}_getSliderDisplay(){return s("div",null,s("calcite-slider",{labelHandles:!0,max:this.max&&this.max>0?this.max:void 0,min:this.min,ticks:this.sliderTicks}))}async _getTranslations(){const t=await h(this.el);this._translations=t[0]}_testAccess(t,i){switch(t){case"_setUnit":return this._setUnit(i);case"_setDistance":return this._setDistance(i)}return null}static get watchers(){return{geometries:["geometriesWatchHandler"],disabled:["disabledWatchHandler"]}}};r.style=':host{display:block}.c-container{display:inline-flex}.flex-1{flex:"1"}.padding-end-1{padding-inline-end:1rem}.w-50{width:50%}';
7
+ /*!
8
+ * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
9
+ * See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
10
+ * v2.12.2
11
+ */
12
+ const d={valid:"check-circle",invalid:"exclamation-mark-triangle",idle:"information"},p=class{constructor(i){t(this,i),this.icon=void 0,this.iconFlipRtl=!1,this.scale="m",this.status="idle"}handleIconEl(){this.requestedIcon=o(d,this.icon,this.status)}connectedCallback(){this.requestedIcon=o(d,this.icon,this.status)}render(){return s(a,{key:"4abc6b1bd6e85531a00bd92de1c18c6b9c27375b","calcite-hydrated-hidden":this.el.hidden},this.renderIcon(this.requestedIcon),s("slot",{key:"f357f91ba9e220ea524c4aa14bf2b0c09b1c7064"}))}renderIcon(t){if(t)return s("calcite-icon",{class:"calcite-input-message-icon",flipRtl:this.iconFlipRtl,icon:t,scale:"s"})}get el(){return e(this)}static get watchers(){return{status:["handleIconEl"],icon:["handleIconEl"]}}};p.style=":host{box-sizing:border-box;display:flex;block-size:auto;inline-size:100%;align-items:center;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-1);opacity:1;transition:background-color, block-size, border-color, box-shadow, color, inset-block-end, inset-block-start, inset-inline-end, inset-inline-start inset-size, opacity, outline-color, transform var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;--calcite-input-message-spacing-value:0.25rem;margin-block-start:var(--calcite-input-message-spacing-value)}.calcite-input-message-icon{pointer-events:none;display:inline-flex;flex-shrink:0;transition:background-color, block-size, border-color, box-shadow, color, inset-block-end, inset-block-start, inset-inline-end, inset-inline-start inset-size, opacity, outline-color, transform var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;margin-inline-end:0.5rem}:host([status=invalid]) .calcite-input-message-icon{color:var(--calcite-color-status-danger)}:host([status=warning]) .calcite-input-message-icon{color:var(--calcite-color-status-warning)}:host([status=valid]) .calcite-input-message-icon{color:var(--calcite-color-status-success)}:host([status=idle]) .calcite-input-message-icon{color:var(--calcite-color-brand)}:host([scale=s]){font-size:var(--calcite-font-size--3);line-height:0.75rem}:host([scale=m]){font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=l]){font-size:var(--calcite-font-size--1);line-height:1rem}:host([hidden]){display:none}[hidden]{display:none}";const g=class{constructor(e){t(this,e),this.selectionLoadingChange=i(this,"selectionLoadingChange",7),this.sketchGraphicsChange=i(this,"sketchGraphicsChange",7),this.drawUndo=i(this,"drawUndo",7),this.drawRedo=i(this,"drawRedo",7),this.active=!1,this.drawMode=c.SKETCH,this.editGraphicsEnabled=!0,this.graphics=void 0,this.mapView=void 0,this.pointSymbol=void 0,this.polylineSymbol=void 0,this.polygonSymbol=void 0,this.redoEnabled=!1,this.undoEnabled=!1,this._translations=void 0,this._selectionMode=void 0}get el(){return e(this)}GraphicsLayer;SketchViewModel;Sketch;_sketchGraphicsLayer;_sketchViewModel;_sketchWidget;_sketchElement;graphicsWatchHandler(t,i){t&&t.length>0&&JSON.stringify(t)!==JSON.stringify(i)&&this._sketchGraphicsLayer&&(this._updateGraphicsSymbols(t),this._sketchGraphicsLayer.removeAll(),this._sketchGraphicsLayer.addMany(t))}mapViewWatchHandler(t,i){t&&t!==i&&this._init()}async clear(){this._clearSketch()}async updateGraphics(){this._updateGraphics()}selectionLoadingChange;sketchGraphicsChange;drawUndo;drawRedo;async componentWillLoad(){await this._getTranslations(),await this._initModules()}componentDidLoad(){this._init()}disconnectedCallback(){this._sketchWidget.cancel(),this._clearSketch()}render(){const t=this.drawMode===c.SKETCH?"display-none":"esri-widget esri-sketch__panel border-left esri-sketch__section";return s(a,{key:"55862b3113e637552b0d1728e53e4a7b296ed03d"},s("div",{key:"22b9b92f3d1cca8f273ecc35d25697ecfc893574",class:this.drawMode===c.SKETCH?"border":"border esri-widget esri-sketch__panel"},s("div",{key:"5f3b4e380be0be362fa06c539114d391f10c4db2",ref:t=>{this._sketchElement=t}}),s("div",{key:"5561e86cde0cbbe552e0853b326fbb1659ade6c3",class:t},s("calcite-action",{key:"7197e23e6db476a65c3ce850db350d0e45454688",disabled:!this.undoEnabled,icon:"undo",onClick:()=>this._undo(),scale:"s",text:this._translations.undo}),s("calcite-action",{key:"fc9a818556c51e3f86981cf4ee5355e9c52bb6b1",disabled:!this.redoEnabled,icon:"redo",onClick:()=>this._redo(),scale:"s",text:this._translations.redo}))))}async _initModules(){const[t,i,e]=await n(["esri/layers/GraphicsLayer","esri/widgets/Sketch","esri/widgets/Sketch/SketchViewModel"]);this.GraphicsLayer=t,this.Sketch=i,this.SketchViewModel=e}_init(){this.mapView&&this._sketchElement&&(this._initGraphicsLayer(),this._initSketch())}_initGraphicsLayer(){const t=this._translations.sketchLayer,i=this.mapView.map.layers.findIndex((i=>i.title===t));i>-1?this._sketchGraphicsLayer=this.mapView.map.layers.getItemAt(i):(this._sketchGraphicsLayer=new this.GraphicsLayer({title:t,listMode:"hide"}),l.managedLayers[t]="sketch",this.mapView.map.layers.add(this._sketchGraphicsLayer)),this.graphics&&this.graphics.length>0&&this._sketchGraphicsLayer.addMany(this.graphics)}_initSketch(){const t={layer:this._sketchGraphicsLayer,view:this.mapView,defaultCreateOptions:{mode:"hybrid"},defaultUpdateOptions:{preserveAspectRatio:!1,enableScaling:!1,enableRotation:!1,tool:"reshape",toggleToolOnClick:!1}};this._sketchWidget=new this.Sketch({...t,container:this._sketchElement,creationMode:"single",visibleElements:{duplicateButton:!1,selectionTools:{"lasso-selection":!1,"rectangle-selection":!1},createTools:{circle:!1},undoRedoMenu:!1,settingsMenu:this.drawMode===c.SKETCH}}),this._sketchViewModel=new this.SketchViewModel({...t}),this._sketchWidget.viewModel.polylineSymbol=this.polylineSymbol,this._sketchWidget.viewModel.pointSymbol=this.pointSymbol,this._sketchWidget.viewModel.polygonSymbol=this.polygonSymbol;let i=!1;this._sketchWidget.on("create",(t=>{"complete"===t.state&&(this.graphics=[t.graphic],this.sketchGraphicsChange.emit({graphics:this.graphics,useOIDs:!1}),this.drawMode===c.REFINE&&(i=!0,this._sketchWidget.viewModel.create(t.tool))),"cancel"===t.state&&this.drawMode===c.REFINE&&i&&(i=!i,this._sketchWidget.viewModel.create(t.tool))})),this._sketchWidget.on("update",(t=>{if(this.editGraphicsEnabled){const i=t?.toolEventInfo?.type;"reshape-stop"!==i&&"move-stop"!==i||(this.graphics=t.graphics,this.sketchGraphicsChange.emit({graphics:this.graphics,useOIDs:!1}))}else this._sketchWidget.viewModel.cancel(),this._sketchViewModel.cancel()})),this._sketchWidget.on("delete",(()=>{this.graphics=[],this.sketchGraphicsChange.emit({graphics:this.graphics,useOIDs:!1})})),this._sketchWidget.on("undo",(t=>{this.graphics=t.graphics,this.sketchGraphicsChange.emit({graphics:this.graphics,useOIDs:!1})})),this._sketchWidget.on("redo",(t=>{this.graphics=t.graphics,this.sketchGraphicsChange.emit({graphics:this.graphics,useOIDs:!1})}))}_clearSketch(){this._sketchWidget?.viewModel.cancel(),this.graphics=[],this._sketchGraphicsLayer?.removeAll()}_undo(){this.drawUndo.emit()}_redo(){this.drawRedo.emit()}_updateGraphics(){setTimeout((()=>{1===this.graphics.length&&this._sketchWidget.update(this.graphics,{tool:"reshape",enableRotation:!1,enableScaling:!1,preserveAspectRatio:!1,toggleToolOnClick:!1})}),100)}_updateGraphicsSymbols(t){const i=t[0].geometry.type,e="point"===i?this.pointSymbol:"polyline"===i?this.polylineSymbol:"polygon"===i?this.polygonSymbol:void 0;e&&t.forEach((t=>t.symbol=e))}async _getTranslations(){const t=await h(this.el);this._translations=t[0]}static get watchers(){return{graphics:["graphicsWatchHandler"],mapView:["mapViewWatchHandler"]}}};g.style=':host{display:block}.border{outline:1px solid var(--calcite-color-border-input)}.div-visible{display:inherit}.div-not-visible{display:none !important}.padding-top-1-2{padding-top:.5rem}.main-label{display:flex;float:left}html[dir="rtl"] .main-label{display:flex;float:right}.margin-top-1{margin-top:1rem}.border-left{border-left:1px solid rgba(110, 110, 110, .3)}.border-left[dir="rtl"]{border-right:1px solid rgba(110, 110, 110, .3)}.esri-widget{box-sizing:border-box;color:#323232;font-size:14px;font-family:"Avenir Next", "Helvetica Neue", Helvetica, Arial, sans-serif;line-height:1.3em;background-color:#fff;--esri-widget-padding-v:12px;--esri-widget-padding-h:15px;--esri-widget-padding:var(--esri-widget-padding-v) var(--esri-widget-padding-h)}.esri-sketch__panel{align-items:center;display:flex;flex-flow:row wrap;padding:0;justify-content:flex-start !important}.esri-sketch__section{align-items:center;display:flex;flex-flow:row wrap;padding:0 7px;margin:6px 0}';export{r as buffer_tools,p as calcite_input_message,g as map_draw_tools}
@@ -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 e,g as a,h as r,a as t}from"./p-6eb37ed2.js";const s=class{constructor(a){e(this,a),this.isPortal=!1,this.type="",this.typeKeywords=[]}get el(){return a(this)}render(){return r("div",{key:"6c6d17d183b0c044f1de98eb6cbe4e3df3926da7",title:this.type},r("img",{key:"a38786da6f7e8bc4935ada9f9ae534c0633b7969",class:"item-type-icon item-type-icon-margin",height:"16",src:this._getIconUrl(this.type,this.typeKeywords),width:"16"}))}_getIconUrl(e,a){const r=this._getItemIcon(e,a);return t(`./item-icons/${r}16.svg`)}_getItemIcon(e,a){const r=e.toLowerCase(),t=a||[],s=t.includes("Hosted Service");switch(r.trim()){case"360 vr experience":return"360vr";case"3dtiles package":return"3dtileslayerpackage";case"3dtiles service":return t.includes("3DObject")?"3dobjecttileslayer":t.includes("IntegratedMesh")?"integratedmeshtileslayer":"3dobjecttileslayer";case"feature service":case"feature collection":case"kml":case"wfs":if(t.includes("IndoorPositioningDataService"))return"indoorpositioningdataservice";const e=t.includes("Spatiotemporal");return t.includes("Table")?e?"spatiotemporaltable":"table":t.includes("Route Layer")?"routelayer":t.includes("Markup")?"markup":e?"spatiotemporal":t.includes("UtilityNetwork")?"utilitynetwork":s?"featureshosted":"features";case"group layer":return t.includes("Map")?"layergroup2d":t.includes("Scene")?"layergroup3d":"layergroup";case"wmts":return"maptiles";case"map service":case"wms":return s||t.includes("Tiled")?"maptiles":"mapimages";case"scene service":return t.includes("Line")?"sceneweblayerline":t.includes("3DObject")?"sceneweblayermultipatch":t.includes("Point")?"sceneweblayerpoint":t.includes("IntegratedMesh")?"sceneweblayermesh":t.includes("PointCloud")?"sceneweblayerpointcloud":t.includes("Polygon")?"sceneweblayerpolygon":t.includes("Building")?"sceneweblayerbuilding":t.includes("Voxel")?"sceneweblayervoxel":"sceneweblayer";case"image service":return t.includes("Elevation 3D Layer")?"elevationlayer":t.includes("Tiled Imagery")?"tiledimagerylayer":"imagery";case"stream service":return"streamlayer";case"video service":return t.includes("Live Stream")?"livestreamvideolayer":"mediaservice";case"vector tile service":return"vectortile";case"datastore catalog service":return"datastorecollection";case"geocoding service":return"geocodeservice";case"geoprocessing service":return t.includes("Web Tool")?"tool":"layers";case"geodata service":return"geodataservice";case"web map":case"cityengine web scene":return"maps";case"web scene":return t.includes("ViewingMode-Local")?"webscenelocal":"websceneglobal";case"application":case"web mapping application":case"mobile application":case"operation view":case"desktop application":return t.includes("configurableApp")?"instantapps":"apps";case"map document":case"map package":case"published map":case"scene document":case"globe document":case"basemap package":case"mobile basemap package":case"mobile map package":case"project package":case"project template":case"pro map":case"layout":return"mapsgray";case"layer":if(t.includes("ArcGIS Pro"))return"mapsgray";case"explorer map":if(t.indexOf("Explorer Document"))return"mapsgray";if(t.includes("Explorer Mapping Application"))return"datafilesgray";case"pro presentation":return"propresentation";case"api key":return"key";case"csv":return"csv";case"shapefile":return"shapefile";case"csv collection":return"csvcollection";case"media layer":return"medialayer";case"microsoft excel":return"excel";case"microsoft powerpoint":return"powerpoint";case"microsoft word":return"word";case"pdf":return"pdf";case"sqlite geodatabase":return"sqlite";case"administrative report":return"report";case"image":return"image";case"cad drawing":return"cad";case"service definition":case"geojson":case"360 vr experience":case"netcdf":return"data";case"explorer add in":case"desktop add in":case"windows viewer add in":case"windows viewer configuration":return"appsgray";case"arcgis pro add in":case"arcgis pro configuration":return"addindesktop";case"rule package":case"file geodatabase":case"kml collection":case"windows mobile package":case"map template":case"desktop application template":case"gml":case"arcpad package":case"code sample":case"document link":case"earth configuration":case"operations dashboard add in":case"rules package":case"workflow manager package":return"datafilesgray";case"form":return t.includes("Survey123")?"survey":"datafilesgray";case"network analysis service":case"geoprocessing service":case"geodata service":case"geometry service":case"geoprocessing package":case"locator package":case"geoprocessing sample":case"workflow manager service":return"toolsgray";case"layer":case"layer package":case"explorer layer":return"layersgray";case"scene package":return"scenepackage";case"mobile scene package":return"mobilescenepackage";case"tile package":case"compact tile package":return"tilepackage";case"task file":return"taskfile";case"report template":return"reporttemplate";case"statistical data collection":return"statisticaldatacollection";case"analysis model":return"geoprocessingmodel";case"insights workbook":return"workbook";case"insights model":return"insightsmodel";case"insights page":return"insightspage";case"insights theme":return"insightstheme";case"hub initiative":return"hubinitiative";case"hub page":return"hubpage";case"hub event":return"hubevent";case"hub site application":return"hubsite";case"hub project":return"hubproject";case"relational database connection":return"relationaldatabaseconnection";case"image":return"image";case"image collection":return"imagecollection";case"style":return t.includes("Dictionary")?"dictionarystyle":"style";case"desktop style":return"desktopstyle";case"dashboard":return"dashboard";case"raster function template":return"rasterprocessingtemplate";case"vector tile package":return"vectortilepackage";case"ortho mapping project":return"orthomappingproject";case"ortho mapping template":return"orthomappingtemplate";case"solution":return"solutions";case"geopackage":return"geopackage";case"deep learning package":return"deeplearningpackage";case"real time analytic":return"realtimeanalytics";case"big data analytic":return"bigdataanalytics";case"feed":return"feed";case"excalibur imagery project":return"excaliburimageryproject";case"notebook":return"notebook";case"reality mapping project":return"realitymappingproject";case"storymap":return t.includes("storymaptemplate")?"storymapstemplate":t.includes("storymapcollection")?"storymapcollection":t.includes("storymapbriefing")?"storymapbriefing":"storymap";case"survey123 add in":return"survey123addin";case"mission":return"mission";case"mission report":return"missionreport";case"quickcapture project":return"quickcaptureproject";case"pro report":return"proreport";case"urban model":return"urbanmodel";case"urban project":return"urbanproject";case"web experience":return"experiencebuilder";case"web experience template":return"webexperiencetemplate";case"experience builder widget":return"experiencebuilderwidget";case"experience builder widget package":return"experiencebuilderwidgetpackage";case"workflow":return"workflow";case"insights script":return"insightsscript";case"kernel gateway connection":return"kernelgatewayconnection";case"hub initiative template":return"hubinitiativetemplate";case"storymap theme":return"storymaptheme";case"knowledge graph":return"knowledgegraph";case"knowledge studio project":return"knowledgestudio";case"knowledge graph layer":return"knowledgegraphlayer";case"native application":return"nativeapp";case"native application installer":return"nativeappinstaller";case"web link chart":return"linkchart";case"knowledge graph web investigation":return"investigation";case"ogcfeatureserver":return"features";case"pro project":return"proproject";case"insights workbook package":return"insightsworkbookpackage";case"apache parquet":return"apacheparquet";case"notebook code snippets":case"notebook code snippet library":return"notebookcodesnippets";case"suitability model":return"suitabilitymodel";case"esri classifier definition":return"classifierdefinition";case"esri classification schema":return"classificationschema";case"insights data engineering workbook":return"dataengineeringworkbook";case"insights data engineering model":return"dataengineeringmodel";case"deep learning studio project":return"deeplearningproject";case"data store":return"datastore";case"data pipeline":return"datapipeline";default:return t.includes("Document")?"datafilesgray":r.includes("service")?"layers":"maps"}}static get assetsDirs(){return["item-icons"]}};s.style=".item-type-icon{pointer-events:none;display:block;height:1rem;margin-top:0.15em !important;min-width:16px;fill:currentColor;transform:rotate(360deg)}.item-type-icon-margin{margin-inline-end:0.375rem}";export{s as solution_item_icon}
@@ -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 e,c as a,g as t,h as i,H as c}from"./p-6eb37ed2.js";import{g as o}from"./p-2058b5d9.js";import{E as n}from"./p-80cb7c73.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";const r=class{constructor(t){e(this,t),this.layoutChanged=a(this,"layoutChanged",7),this._translations=void 0}get el(){return t(this)}_layoutMode=n.GRID;layoutChanged;async componentWillLoad(){await this._getTranslations()}render(){return i(c,{key:"2fe2540a25e70ec6785aa97ade592a93c1112ecf"},i("div",{key:"df036d69f984e688c560d60279c463de9393d0f7",class:"display-flex"},i("div",{key:"b143b92ebec8a800466cee16e47b60afd768861e",class:"display-flex action-center"},i("calcite-icon",{key:"5b787b3499c638e1e54eddf8b10448fe782aeb15",class:"icon icon-color",icon:"information",id:"app-information-icon",scale:"s"}),i("calcite-popover",{key:"372cdbf2f14d7305b0dcb2e398962e39922f287d",closable:!0,label:"",referenceElement:"app-information-icon"},i("span",{key:"4a8cc85bac0524c1dac37df79026bc4ec9ac4588",class:"tooltip-message"},this._translations.appInfo))),i("div",{key:"25da1130e266e7ba24abc1caa9b8a72d858c07a1",class:"header-text"},this._translations.layout),this._getAction("grid-background",n.GRID,this._translations.grid),this._getAction("vertical-background",n.VERTICAL,this._translations.vertical),this._getAction("horizontal-background",n.HORIZONTAL,this._translations.horizontal)))}_getAction(e,a,t){return i("div",null,i("calcite-action",{alignment:"center",appearance:"transparent",compact:!1,id:e,indicator:a===this._layoutMode,onClick:()=>{this._setLayoutMode(a)},text:""},i("div",{class:e+" img-background"})),i("calcite-tooltip",{label:"",placement:"bottom","reference-element":e},i("span",null,t)))}_setLayoutMode(e){this._layoutMode=e,this.layoutChanged.emit(this._layoutMode)}async _getTranslations(){const e=await o(this.el);this._translations=e[0]}};r.style=":host{display:block}.action-center{-webkit-box-align:center;-webkit-align-items:center;-ms-grid-row-align:center;align-items:center;align-content:center;justify-content:center}.display-flex{display:flex}.icon-color{--calcite-color-icon-color:var(--calcite-color-brand)}.icon{cursor:pointer}.tooltip-message{padding:5px 8px;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-color-text-2)}.header-text{font-size:var(--calcite-font-size-0);font-weight:var(--calcite-font-weight-medium);padding-inline:0.75rem;padding-block:0.875rem;line-height:1.25rem}.img-background{background-repeat:no-repeat;background-size:100% 100%;width:38px;height:26px}.grid-background{background-image:url('../../assets/data/images/grid.png')}.horizontal-background{background-image:url('../../assets/data/images/horizontal.png')}.vertical-background{background-image:url('../../assets/data/images/vertical.png')}";export{r as layout_manager}
@@ -0,0 +1,6 @@
1
+ /*!
2
+ * Copyright 2022 Esri
3
+ * Licensed under the Apache License, Version 2.0
4
+ * http://www.apache.org/licenses/LICENSE-2.0
5
+ */
6
+ import{r as t,c as i,g as s,a as e,h as a,H as l}from"./p-6eb37ed2.js";import{b as o,c as n,a as h}from"./p-80cb7c73.js";import{l as c,g as r}from"./p-2058b5d9.js";import{e as d,h as p}from"./p-d572627c.js";import{s as g}from"./p-5dcec135.js";import{c as b,r as m}from"./p-dec62e5d.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";import"./p-720a12c0.js";import"./p-d0d020a5.js";import"./p-7530a02f.js";import"./p-9bb44f57.js";const u=class{constructor(s){t(this,s),this.searchConfigurationChange=i(this,"searchConfigurationChange",7),this.addresseeLayerIds=[],this.bufferColor=[227,139,79,.8],this.bufferOutlineColor=[255,255,255],this.customLabelEnabled=void 0,this.defaultBufferDistance=void 0,this.defaultBufferUnit=void 0,this.defaultExportTitle="",this.defaultNumLabelsPerPage=6,this.enableLayerFeatures=!0,this.enableLayerFeaturesOnLoad=!1,this.enableSearchDistance=!0,this.enableSearchDistanceOnLoad=!1,this.enableSketchTools=!0,this.featureEffect=void 0,this.featureHighlightEnabled=void 0,this.locale=void 0,this.mapView=void 0,this.noResultText=void 0,this.searchConfiguration=void 0,this.selectionLayerIds=[],this.showRefineSelection=!1,this.showSearchSettings=!0,this.sketchLineSymbol=void 0,this.sketchPointSymbol=void 0,this.sketchPolygonSymbol=void 0,this._exportGraphics=!1,this._addMap=!1,this._addResults=!0,this._addTitle=!1,this._downloadActive=!0,this._exportType=o.PDF,this._fetchingData=!1,this._isMobile=void 0,this._numDuplicates=0,this._pageType=n.LIST,this._saveEnabled=!1,this._selectionSets=[],this._translations=void 0}get el(){return s(this)}_activeSelection;_downloadTools;_geometryEngine;Graphic;_jsonUtils;_onboardingImageUrl="";_popupsEnabled;_removeDuplicates;_searchConfiguration;_selectTools;_mediaQuery;_titleElement;_titleValue=void 0;_numSelected=0;async mapViewWatchHandler(t){t?.popup&&(this._popupsEnabled=t?.popup.autoOpenEnabled),this._initSearchConfiguration(this.searchConfiguration)}async watchSearchConfigurationHandler(t,i){const s=JSON.stringify(t);this.mapView&&(s!==JSON.stringify(i)||s&&!this._searchConfiguration)&&(this._searchConfiguration=JSON.parse(s),this.searchConfigurationChange.emit(this._searchConfiguration),this._home())}async sketchLineSymbolWatchHandler(t,i){t&&JSON.stringify(t)!==JSON.stringify(i)&&this._setLineSymbol(t)}async sketchPointSymbolWatchHandler(t,i){t&&JSON.stringify(t)!==JSON.stringify(i)&&this._setPointSymbol(t)}async sketchPolygonSymbolWatchHandler(t,i){t&&JSON.stringify(t)!==JSON.stringify(i)&&this._setPolygonSymbol(t)}async pageTypeWatchHandler(t,i){if(this._checkPopups(),this.mapView?.popup&&(this.mapView.popupEnabled=t===n.LIST&&this._popupsEnabled),t===n.EXPORT&&(this._fetchingData=!0,this._numDuplicates=await this._getNumDuplicates(),this._updateExportGraphics(),this._fetchingData=!1),this._clearHighlight(),i!==n.SELECT&&i!==n.REFINE||await this._clearSelection(),i===n.EXPORT&&this._removeExportGraphics(),t!==n.SELECT)return this._highlightFeatures()}searchConfigurationChange;selectionSetsChanged(t){this._selectionSets=[...t.detail]}connectedCallback(){this._mediaQuery=window.matchMedia("(max-width: 600px)"),this._mediaQuery.addEventListener("change",(t=>this._setIsMobile(t)))}async componentWillLoad(){await this._getTranslations(),await this._initModules(),this._initSymbols(),this._onboardingImageUrl=e("assets/data/images/onboarding.png")}render(){return a(l,{key:"820b1a77bfcc5ef2a06036a833f054b58febfe5c"},a("calcite-shell",{key:"7989860fc98aa5d816ca66be5e57f04aa75520a5"},a("calcite-action-bar",{key:"9b298be45c1562cd2df2197c688c5b2aff63c6ec",class:"border-bottom-1 action-bar-size","expand-disabled":!0,layout:"horizontal",slot:this._isMobile?"footer":"header"},this._getActionGroup("list-check",n.LIST,this._translations.myLists),this.showRefineSelection?this._getActionGroup("test-data",n.REFINE,this._translations.refineSelection):null,this._getActionGroup("export",n.EXPORT,this._translations.export)),this._getPage(this._pageType)))}async componentDidLoad(){this._initSearchConfiguration(this.searchConfiguration)}disconnectedCallback(){this._mediaQuery.removeEventListener("change",(t=>this._setIsMobile(t)))}async _initModules(){const[t,i,s]=await c(["esri/geometry/geometryEngine","esri/symbols/support/jsonUtils","esri/Graphic"]);this._geometryEngine=t,this._jsonUtils=i,this.Graphic=s}_initSearchConfiguration(t){this.searchConfiguration&&!this._searchConfiguration&&this.mapView&&(this._searchConfiguration=t,this.searchConfigurationChange.emit(this._searchConfiguration),this._home())}_initSymbols(){this._setLineSymbol(this.sketchLineSymbol),this._setPointSymbol(this.sketchPointSymbol),this._setPolygonSymbol(this.sketchPolygonSymbol)}_setLineSymbol(t){this.sketchLineSymbol="simple-line"===t?.type?t:this._jsonUtils.fromJSON(t||{type:"esriSLS",color:[130,130,130,255],width:2,style:"esriSLSSolid"})}_setPointSymbol(t){this.sketchPointSymbol="simple-marker"===t?.type?t:this._jsonUtils.fromJSON(t||{type:"esriSMS",color:[255,255,255,255],angle:0,xoffset:0,yoffset:0,size:6,style:"esriSMSCircle",outline:{type:"esriSLS",color:[50,50,50,255],width:1,style:"esriSLSSolid"}})}_setPolygonSymbol(t){this.sketchPolygonSymbol="simple-fill"===t?.type?t:this._jsonUtils.fromJSON(t||{type:"esriSFS",color:[150,150,150,51],outline:{type:"esriSLS",color:[50,50,50,255],width:2,style:"esriSLSSolid"},style:"esriSFSSolid"})}_setIsMobile(t){this._isMobile=t.matches}_getActionGroup(t,i,s){return a("calcite-action-group",{class:this.showRefineSelection?"w-1-3":"w-1-2",layout:"horizontal"},a("div",{class:"background-override"},a("calcite-action",{active:this._pageType===i,alignment:"center",class:"width-full height-full",compact:!1,icon:t,id:t,onClick:()=>{this._setPageType(i)},text:""})),a("calcite-tooltip",{label:"",placement:"bottom","reference-element":t},a("span",null,s)))}_setPageType(t){this._pageType=t}_getPage(t){let i;switch(t){case n.LIST:i=this._getListPage();break;case n.SELECT:i=this._getSelectPage();break;case n.EXPORT:i=this._getExportPage();break;case n.REFINE:i=this._getRefinePage()}return i}_getListPage(){const t=this._hasSelections();return a("calcite-panel",null,this._getLabel(this._translations.myLists),this._getNotice(t?this._translations.listHasSetsTip:this._translations.selectLayerAndAdd,"padding-sides-1 padding-bottom-1","word-wrap-anywhere"),t?this._getSelectionSetList():this._getOnboardingImage(),a("div",{class:"display-flex padding-1"},a("calcite-button",{onClick:()=>{this._setPageType(n.SELECT)},width:"full"},a("span",{class:"font-weight-500"},this._translations.add))))}_getOnboardingImage(){return a("div",{class:"display-flex padding-sides-1"},a("img",{class:"img-container",role:"presentation",src:this._onboardingImageUrl}))}_getSelectionSetList(){return a("div",{class:"padding-top-1-2 padding-bottom-1-2"},a("calcite-list",{class:"list-border margin-sides-1"},this._selectionSets.reduce(((t,i,s)=>{const e=this._getSelectionSetIds(i);let l=!0;return i.workflowType===h.REFINE&&(l=Object.keys(i.refineInfos).reduce(((t,s)=>{const e=i.refineInfos[s];return t+(e.addIds.length+e.removeIds.length)}),0)>0),l&&t.push(a("calcite-list-item",{label:i.label,onClick:()=>this._gotoSelection(i,this.mapView)},a("div",{slot:"content"},a("div",{class:"list-label"},i.label),a("div",{class:"list-description"},i?.layerView?.layer.title),a("div",{class:"list-description"},this._translations.selectedFeatures.replace("{{n}}",e.length.toString()))),this._getAction(!0,"pencil","",(t=>this._openSelection(i,t)),!1,"actions-end"),this._getAction(!0,"x","",(t=>this._deleteSelection(s,t)),!1,"actions-end"))),t}),[])))}_getSelectionSetIds(t){return t.workflowType!==h.REFINE?t.selectedIds:Object.keys(t.refineInfos).reduce(((i,s)=>[...i,...t.refineInfos[s].addIds]),[])}_hasSelections(t=!1){let i=[];const s=this._selectionSets.some((t=>{if(t.workflowType===h.REFINE)return i=this._getSelectionSetIds(t),!0}));return t&&s?i.length>0||this._selectionSets.length>1:this._selectionSets.length>0}async _getNumDuplicates(){const t=this._getExportInfos(),i=await b(this.mapView.map,t),s=m(i);return i.length-s.length}_getExportInfos(){return this._selectionSets.reduce(((t,i)=>(i.download&&(i.workflowType!==h.REFINE?this._updateIds(i.layerView.layer.id,i.layerView,i.selectedIds,t):Object.keys(i.refineInfos).forEach((s=>{const e=i.refineInfos[s];e.addIds.length>0&&this._updateIds(s,e.layerView,e.addIds,t)}))),t)),{})}_updateIds(t,i,s,e){return e[t]?e[t].ids=e[t].ids.concat(s):e[t]={layerView:i,ids:s},e}_getSelectPage(){const t=this._translations.selectSearchTip;return a("calcite-panel",null,this._getLabel(this._translations.stepTwoFull,!0),this._getNotice(t,"padding-1","word-wrap-anywhere"),a("div",null,a("map-select-tools",{bufferColor:this.bufferColor,bufferOutlineColor:this.bufferOutlineColor,class:"font-bold",customLabelEnabled:this.customLabelEnabled,defaultBufferDistance:this.defaultBufferDistance,defaultBufferUnit:this.defaultBufferUnit,enableLayerFeatures:this.enableLayerFeatures,enableLayerFeaturesOnLoad:this.enableLayerFeaturesOnLoad,enableSearchDistance:this.enableSearchDistance,enableSearchDistanceOnLoad:this.enableSearchDistanceOnLoad,enableSketchTools:this.enableSketchTools,enabledLayerIds:this.addresseeLayerIds,isUpdate:!!this._activeSelection,locale:this.locale,mapView:this.mapView,noResultText:this.noResultText,onSelectionSetChange:t=>this._updateForSelection(t),ref:t=>{this._selectTools=t},searchConfiguration:this._searchConfiguration,selectionLayerIds:this.selectionLayerIds,selectionSet:this._activeSelection,sketchLineSymbol:this.sketchLineSymbol,sketchPointSymbol:this.sketchPointSymbol,sketchPolygonSymbol:this.sketchPolygonSymbol})),this._getPageNavButtons(this._translations.done,0===this._numSelected,(()=>{this._saveSelection()}),this._translations.cancel,!1,(()=>{this._home()})))}_getExportPage(){const t=this._hasSelections(this.showRefineSelection),i=this._numDuplicates>0?"display-block":"display-none";return a("calcite-panel",null,a("div",null,this._getLabel(this._translations.export,!1),t?a("div",null,this._getNotice(this._translations.exportTip,"padding-sides-1"),this._getLabel(this._translations.exportListsLabel),this._getExportSelectionLists(),a("div",{class:"padding-sides-1 "+i},a("div",{class:"display-flex"},a("calcite-label",{layout:"inline"},a("calcite-checkbox",{ref:t=>{this._removeDuplicates=t}}),a("div",{class:"display-flex"},this._translations.removeDuplicate,a("div",{class:"info-message padding-start-1-2"},a("calcite-input-message",{class:"info-blue margin-top-0",scale:"m"},` ${this._translations.numDuplicates.replace("{{n}}",this._numDuplicates.toString())}`)))),a("calcite-icon",{class:"padding-start-1-2 icon",flipRtl:!("he"===this.locale?.toLowerCase()),icon:"question",id:"remove-duplicates-icon",scale:"s"})),a("calcite-popover",{closable:!0,label:"",referenceElement:"remove-duplicates-icon"},a("span",{class:"tooltip-message"},this._translations.duplicatesTip))),a("div",{class:"border-bottom"}),a("div",{class:"padding-top-sides-1"},a("calcite-segmented-control",{class:"w-100",onCalciteSegmentedControlChange:t=>this._exportTypeChange(t),width:"full"},a("calcite-segmented-control-item",{checked:this._exportType===o.PDF,class:"w-50 end-border",value:o.PDF},a("span",{class:"font-weight-500"},this._translations.pdf)),a("calcite-segmented-control-item",{checked:this._exportType===o.CSV,class:"w-50",value:o.CSV},a("span",{class:"font-weight-500"},this._translations.csv)))),a("div",{class:"padding-bottom-1"},this._getExportOptions()),a("div",{class:"padding-1 display-flex"},a("calcite-button",{disabled:!this._downloadActive||this._fetchingData||!this._addMap&&!this._addResults,loading:this._fetchingData,onClick:()=>{this._export()},width:"full"},a("span",{class:"font-weight-500"},this._translations.export)))):this._getNotice(this._translations.downloadNoLists,"padding-sides-1 padding-bottom-1")))}_exportTypeChange(t){this._exportType=t.target.value}_getExportOptions(){const t=this._addTitle?"display-block":"display-none",i=this._addMap?"display-flex":"display-none",s=this._titleValue?this._titleValue:this.defaultExportTitle?this.defaultExportTitle:"",e=this._addResults?"":"display-none";return a("div",{class:this._exportType===o.PDF?"display-block":"display-none"},this._getLabel(this._translations.pdfOptions,!0),a("div",{class:"padding-top-sides-1"},a("calcite-label",{class:"label-margin-0",layout:"inline"},a("calcite-checkbox",{checked:this._addResults,onCalciteCheckboxChange:()=>this._addResults=!this._addResults}),this._translations.addResults)),a("div",{class:`padding-top-sides-1 ${e}`},a("calcite-label",{class:"label-margin-0"},this._translations.selectPDFLabelOption)),a("div",{class:`padding-sides-1 ${e}`},a("pdf-download",{defaultNumLabelsPerPage:parseInt(this.defaultNumLabelsPerPage.toString(),10),disabled:!this._downloadActive,ref:t=>{this._downloadTools=t}})),a("div",{class:"padding-top-sides-1"},a("calcite-label",{class:"label-margin-0",layout:"inline"},a("calcite-checkbox",{checked:this._addTitle,onCalciteCheckboxChange:()=>this._addTitle=!this._addTitle}),this._translations.title)),a("div",{class:t},this._getLabel(this._translations.title,!0,""),a("calcite-input-text",{class:"padding-sides-1",onCalciteInputTextInput:()=>this._changeTitle(),placeholder:this._translations.titlePlaceholder,ref:t=>{this._titleElement=t},value:s})),a("div",{class:"padding-top-sides-1"},a("calcite-label",{class:"label-margin-0",layout:"inline"},a("calcite-checkbox",{checked:this._addMap,onCalciteCheckboxChange:()=>this._handleAddMapChange()}),this._translations.includeMap)),a("div",{class:`padding-top-sides-1 ${i}`},a("calcite-label",{class:"label-margin-0",layout:"inline"},a("calcite-checkbox",{checked:this._exportGraphics,onCalciteCheckboxChange:()=>this._handleExportGraphicsChange()}),this._translations.listGraphics),a("calcite-icon",{class:"padding-start-1-2 icon",flipRtl:!("he"===this.locale?.toLowerCase()),icon:"question",id:"list-graphics-icon",scale:"s"}),a("calcite-popover",{closable:!0,label:"",referenceElement:"list-graphics-icon"},a("span",{class:"tooltip-message"},this._translations.listGraphicsTip))))}_handleAddMapChange(){this._addMap=!this._addMap,this._updateExportGraphics()}_handleExportGraphicsChange(){this._exportGraphics=!this._exportGraphics,this._updateExportGraphics()}_getManagedLayer(t){let i;return Object.keys(g.managedLayers).some((s=>{const e=this.mapView.map.layers.findIndex((t=>t.title===s));if(g.managedLayers[s]===t)return i=this.mapView.map.layers.getItemAt(e),!0})),i}_updateExportGraphics(t=!1){!t&&this._exportGraphics&&this._addMap||this._removeExportGraphics(),this._exportGraphics&&this._addMap&&this._addExportGraphics()}_removeExportGraphics(){const t=this._getManagedLayer("sketch"),i=this._getManagedLayer("buffer");t&&t.graphics.removeAll(),i&&i.graphics.removeAll()}_addExportGraphics(){const t=this._getManagedLayer("sketch"),i=this._getManagedLayer("buffer");this._selectionSets.forEach((s=>{if(s.download&&(t&&t.graphics.add(s.sketchGraphic),i)){const t=new this.Graphic({geometry:s.buffer,symbol:{type:"simple-fill",color:this.bufferColor,outline:{color:this.bufferOutlineColor,width:1}}});i.graphics.add(t)}}))}_getRefinePage(){const t=this._hasSelections();return a("calcite-panel",null,this._getLabel(this._translations.refineSelection),t?a("div",null,this._getNotice(this._translations.refineTip,"padding-sides-1"),a("refine-selection",{enabledLayerIds:this.selectionLayerIds,locale:this.locale,mapView:this.mapView,selectionSets:this._selectionSets,sketchLineSymbol:this.sketchLineSymbol,sketchPointSymbol:this.sketchPointSymbol,sketchPolygonSymbol:this.sketchPolygonSymbol})):this._getNotice(this._translations.refineTipNoSelections,"padding-sides-1"))}_getPageNavButtons(t,i,s,e,l,o){return a("div",{class:"padding-bottom-1"},a("div",{class:"display-flex padding-top-sides-1"},a("calcite-button",{disabled:i,onClick:s,width:"full"},a("span",{class:"font-weight-500"},t))),a("div",{class:"display-flex padding-top-1-2 padding-sides-1"},a("calcite-button",{appearance:"outline",disabled:l,onClick:o,width:"full"},a("span",{class:"font-weight-500"},e))))}_changeTitle(){this._titleValue=this._titleElement.value}_getNotice(t,i="padding-1",s=""){return a("calcite-notice",{class:i,icon:"lightbulb",kind:"success",open:!0},a("div",{class:s,slot:"message"},t))}_getLabel(t,i=!1,s="font-bold"){return a("div",{class:"padding-top-sides-1"},a("calcite-label",{class:s+=i?" label-margin-0":""},t))}_getExportSelectionLists(){return this._selectionSets.reduce(((t,i)=>{const s=this._getSelectionSetIds(i),e=i.workflowType!==h.REFINE||s.length>0;return!this._downloadActive&&i.download&&e&&(this._downloadActive=!0),e&&t.push(a("div",{class:"display-flex padding-sides-1 padding-bottom-1"},a("calcite-checkbox",{checked:i.download,class:"align-center",onClick:()=>{this._toggleDownload(i.id)}}),a("calcite-list",{class:"list-border margin-start-1-2 width-full",id:"download-list"},a("calcite-list-item",{disabled:!i.download,label:i.label,onClick:()=>{this._toggleDownload(i.id)}},a("div",{slot:"content"},a("div",{class:"list-label"},i.label),a("div",{class:"list-description"},i?.layerView?.layer.title),a("div",{class:"list-description"},this._translations.selectedFeatures.replace("{{n}}",s.length.toString()))))))),t}),[])||a("div",null)}async _toggleDownload(t){let i=!1;this._selectionSets=this._selectionSets.map((s=>(s.download=s.id===t?!s.download:s.download,i=!!s.download||i,s))),this._updateExportGraphics(!0),this._downloadActive=i,this._fetchingData=!0,this._numDuplicates=await this._getNumDuplicates(),this._fetchingData=!1,await this._highlightFeatures()}async _export(){const t=this._addResults?this._getSelectionIdsAndViews(this._selectionSets,!0):{};if(this._exportType===o.PDF){let i="";if(this._addMap&&this.mapView){const t=await this.mapView.takeScreenshot({width:1500,height:2e3});i=t?.dataUrl}this._fetchingData=!0,await this._downloadTools.downloadPDF(this.mapView.map,t,this._removeDuplicates.checked,this._addTitle?this._titleElement.value:"",i),this._fetchingData=!1}this._exportType===o.CSV&&(this._fetchingData=!0,await this._downloadTools.downloadCSV(this.mapView.map,t,this._removeDuplicates.checked),this._fetchingData=!1)}_getSelectionIdsAndViews(t,i=!1){return(i?t.filter((t=>t.download)):t).reduce(((t,i)=>{if(i.workflowType===h.REFINE)Object.keys(i.refineInfos).forEach((s=>{const e=i.refineInfos[s];e.addIds&&(t=this._updateExportInfos(t,e.layerView.layer.id,i.label,e.addIds,e.layerView))}));else{const s=i?.layerView?.layer.id;t=this._updateExportInfos(t,s,i.label,i.selectedIds,i.layerView)}return t}),{})}_updateExportInfos(t,i,s,e,a){return i&&Object.keys(t).indexOf(i)>-1?(t[i].ids=[...new Set([...t[i].ids,...e])],t[i].selectionSetNames.push(s)):i&&(t[i]={ids:e,layerView:a,selectionSetNames:[s]}),t}_getAction(t,i,s,e,l=!1,o=""){return a("calcite-action",{disabled:!t,icon:i,iconFlipRtl:!0,indicator:l,onClick:e,slot:o,text:s})}_updateForSelection(t){this._numSelected=t.detail,this._saveEnabled=this._numSelected>0}async _home(){await this._clearSelection(),this._setPageType(n.LIST)}async _saveSelection(){const t=await(this._selectTools?.getSelection()),i=this._selectTools?.isUpdate;return this._selectionSets=i?this._selectionSets.map((i=>i.id===t.id?t:i)):[...this._selectionSets,t],this._home()}async _clearSelection(){await(this._selectTools?.clearSelection()),this._numSelected=0,this._activeSelection=void 0}_deleteSelection(t,i){return i.stopPropagation(),this._selectionSets=this._selectionSets.filter(((i,s)=>{if(s!==t)return i})),this._highlightFeatures()}_gotoSelection(t,i){d(t.selectedIds,t.layerView,i,this.featureHighlightEnabled,this.featureEffect)}_openSelection(t,i){i.stopPropagation(),this._activeSelection=t,this._pageType=t.workflowType===h.REFINE?n.REFINE:n.SELECT}async _highlightFeatures(){this._clearHighlight();const t=this._getSelectionIdsAndViews(this._selectionSets,this._pageType===n.EXPORT),i=Object.keys(t);if(i.length>0)for(let s=0;s<i.length;s++){const e=t[i[s]];g.highlightHandles.push(await p(e.ids,e.layerView,this.mapView))}}_checkPopups(){"boolean"!=typeof this._popupsEnabled&&(this._popupsEnabled=this.mapView?.popupEnabled)}_clearHighlight(){g&&g.highlightHandles&&g.removeHandles()}async _getTranslations(){const t=await r(this.el);this._translations=t[0]}static get watchers(){return{mapView:["mapViewWatchHandler"],searchConfiguration:["watchSearchConfigurationHandler"],sketchLineSymbol:["sketchLineSymbolWatchHandler"],sketchPointSymbol:["sketchPointSymbolWatchHandler"],sketchPolygonSymbol:["sketchPolygonSymbolWatchHandler"],_pageType:["pageTypeWatchHandler"]}}};u.style=':host{display:block;--calcite-input-message-spacing-value:0}.align-center{align-items:center}.border-bottom-1{border-width:0px;border-bottom-width:1px;border-style:solid;border-color:var(--calcite-color-border-3)}.action-bar-size{height:3.5rem;width:100%}.w-1-2{width:50%}.w-1-3{width:33.33%}.width-full{width:100%}.height-full{height:100%}.padding-1{padding:1rem}.padding-top-sides-1{padding-block-start:1rem;padding-inline-start:1rem;padding-inline-end:1rem}.padding-sides-1{padding-inline-start:1rem;padding-inline-end:1rem}.padding-end-1-2{padding-inline-end:.5rem}.padding-top-1-2{padding-block-start:.5rem}.padding-top-1{padding-top:1rem}.padding-bottom-1{padding-bottom:1rem}.padding-bottom-1-2{padding-bottom:.5rem}.info-blue{color:#00A0FF}.info-message{justify-content:center;display:grid}.font-bold{font-weight:bold}.display-flex{display:flex}.display-block{display:block}.display-none{display:none}.border-bottom{border-bottom:1px solid var(--calcite-color-border-2)}.padding-start-1-2{padding-inline-start:0.5rem}.list-border{border:1px solid var(--calcite-color-border-2)}.margin-sides-1{margin-inline-start:1rem;margin-inline-end:1rem}.margin-start-1-2{margin-inline-start:0.5rem}.float-right{float:right}.float-right[dir="rtl"]{float:left}.float-left{float:left}.float-left[dir="rtl"]{float:right}.margin-top-0{margin-block-start:0 !important}.height-1-1-2{height:1.5rem}.main-background{background-color:var(--calcite-color-foreground-2)}.position-right{position:absolute;right:1rem}.position-right[dir="rtl"]{position:absolute;left:1rem}.label-margin-0{--calcite-label-margin-bottom:0}.list-label{color:var(--calcite-color-text-1)}.list-label,.list-description{font-family:var(--calcite-sans-family);font-size:var(--calcite-font-size--2);font-weight:var(--calcite-font-weight-normal);overflow-wrap:break-word;word-break:break-word}.list-description{margin-block-start:0.125rem;color:var(--calcite-color-text-3)}.img-container{width:100%;height:100%}.font-weight-500{font-weight:500}.background-override{height:100%;width:100%;--calcite-color-foreground-3:var(--calcite-color-brand);--calcite-color-foreground-2:var(--calcite-color-brand-hover);--calcite-color-text-1:var(--calcite-color-text-inverse)}.word-wrap-anywhere{word-wrap:anywhere}';export{u as public_notification}
@@ -0,0 +1,11 @@
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,h as i,g as s,c as e,F as a}from"./p-6eb37ed2.js";import{c as h}from"./p-1c249530.js";import{c as n,s as c,a as o}from"./p-3e828614.js";import{l as r,g as l,f as d}from"./p-2058b5d9.js";import{b as f,d as p,a as m,c as b}from"./p-d572627c.js";import"./p-4b9b7778.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";import"./p-80cb7c73.js";
7
+ /*!
8
+ * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
9
+ * See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
10
+ * v2.12.2
11
+ */const y="frame",u="frame--advancing",g="frame--retreating",w=class{constructor(i){t(this,i),this.itemMutationObserver=h("mutation",(()=>this.updateFlowProps())),this.getFlowDirection=(t,i)=>t&&i>1||t>1?i<t?"retreating":"advancing":null,this.updateFlowProps=()=>{const{customItemSelectors:t,el:i,items:s}=this,e=Array.from(i.querySelectorAll("calcite-flow-item"+(t?`,${t}`:""))).filter((t=>t.closest("calcite-flow")===i)),a=s.length,h=e.length,n=e[h-1],c=e[h-2];if(h&&n&&e.forEach((t=>{t.showBackButton=t===n&&h>1,t.hidden=t!==n})),c&&(c.menuOpen=!1),this.items=e,a!==h){const t=this.getFlowDirection(a,h);this.itemCount=h,this.flowDirection=t}},this.customItemSelectors=void 0,this.flowDirection=null,this.itemCount=0,this.items=[]}async back(){const{items:t}=this,i=t[t.length-1];if(!i)return;const s=i.beforeBack?i.beforeBack:()=>Promise.resolve();try{await s.call(i)}catch(t){return}return i.remove(),i}async setFocus(){await n(this);const{items:t}=this,i=t[t.length-1];return i?.setFocus()}connectedCallback(){this.itemMutationObserver?.observe(this.el,{childList:!0,subtree:!0}),this.updateFlowProps()}async componentWillLoad(){c(this)}componentDidLoad(){o(this)}disconnectedCallback(){this.itemMutationObserver?.disconnect()}async handleItemBackClick(t){if(!t.defaultPrevented)return await this.back(),this.setFocus()}render(){const{flowDirection:t}=this;return i("div",{key:"93590e2eec869cef65a59c01aa2c6001b431da9a",class:{[y]:!0,[u]:"advancing"===t,[g]:"retreating"===t}},i("slot",{key:"5b97e4147abb053391f170f5e36bac4670934072"}))}get el(){return s(this)}};w.style=":host{box-sizing:border-box;background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:host{position:relative;display:flex;inline-size:100%;flex:1 1 auto;align-items:stretch;overflow:hidden;background-color:transparent}:host .frame{position:relative;margin:0px;display:flex;inline-size:100%;flex:1 1 auto;flex-direction:column;align-items:stretch;padding:0px}:host ::slotted(calcite-flow-item),:host ::slotted(calcite-panel){block-size:100%}:host ::slotted(.calcite-match-height:last-child){display:flex;flex:1 1 auto;overflow:hidden}:host .frame--advancing{animation:calcite-frame-advance var(--calcite-animation-timing)}:host .frame--retreating{animation:calcite-frame-retreat var(--calcite-animation-timing)}@keyframes calcite-frame-advance{0%{--tw-bg-opacity:0.5;transform:translate3d(50px, 0, 0)}100%{--tw-bg-opacity:1;transform:translate3d(0, 0, 0)}}@keyframes calcite-frame-retreat{0%{--tw-bg-opacity:0.5;transform:translate3d(-50px, 0, 0)}100%{--tw-bg-opacity:1;transform:translate3d(0, 0, 0)}}:host([hidden]){display:none}[hidden]{display:none}";const k=class{constructor(i){t(this,i),this.success=e(this,"success",7),this.fail=e(this,"fail",7),this.isActionPending=e(this,"isActionPending",7),this.formReady=e(this,"formReady",7),this.mapView=void 0,this.table=void 0,this.selectedFeature=void 0,this.customizeSubmit=!1,this.showGuidingMsg=!0,this._editorLoading=!1,this._translations=void 0}get el(){return s(this)}Editor;_editor;reactiveUtils;_container;_addingAttachment;_isSubmitBtnClicked=!1;async mapViewWatchHandler(){await this.mapView.when((async()=>{await this.init()}))}async _editorLoadingWatchHandler(t){t&&(this._container?.classList.add("display-none"),await this.startCreate(),this._container?.classList.remove("display-none"),this._editorLoading=!1)}async close(){this._editor&&this._editor.destroy()}async submit(){this._editor&&(this._isSubmitBtnClicked=!0,this._editor.viewModel.featureFormViewModel.submit())}success;fail;isActionPending;formReady;async componentWillLoad(){await this._getTranslations(),await this.initModules()}async init(){this.mapView&&await this.createEditorWidget()}async initModules(){const[t,i]=await r(["esri/widgets/Editor","esri/core/reactiveUtils"]);this.Editor=t,this.reactiveUtils=i}render(){const t=this._editorLoading?"":"display-none";return i(a,{key:"707536f66fc4de711e3f519a8869507bf2d6f566"},this.showGuidingMsg&&i("calcite-notice",{key:"c3fb5a706d250b6db7dac9ab20b949a81eeb0c5f",class:"notice-msg",icon:"lightbulb",kind:"success",open:!0},i("div",{key:"a9aa0a8137a256240c5e8d0c77dc364b31b5b2a1",slot:"message"},this._translations.provideDetailsMsg)),i("calcite-loader",{key:"4e1295a1a867da2c9f1fe4428bdc115bd8643f75",class:t,label:"",scale:"s"}))}async componentDidLoad(){await this.init()}async createEditorWidget(){this._editor&&this._editor.destroy(),this._container=document.createElement("div"),this._container?.classList.add("display-none"),this._editor=new this.Editor({view:this.mapView,visibleElements:{snappingControls:!1},container:this._container}),this.el.appendChild(this._container);const t=this.reactiveUtils.watch((()=>this._editor.viewModel.featureTemplatesViewModel.state),(t=>{"ready"===t&&(this._editorLoading=!0)}));this._editor.viewModel.addHandles(t);const i=this.reactiveUtils.watch((()=>this._editor.viewModel.state),(t=>{"adding-attachment"===t||"editing-attachment"===t?(this._addingAttachment=!0,this.isActionPending.emit(!0)):this._addingAttachment&&(this.isActionPending.emit(!1),this._addingAttachment=!1)}));this._editor.viewModel.addHandles(i);const s=this.reactiveUtils.watch((()=>this._editor.viewModel.featureFormViewModel?.state),(t=>{"ready"===t&&this.formReady.emit()}));this._editor.viewModel.addHandles(s)}async startCreate(){const t=this.selectedFeature.layer,i=this.table,s=t.relationships[0],e=i.relationships.find((i=>t.layerId===i.relatedTableId)),a=await t.queryFeatures({objectIds:[this.selectedFeature.getObjectId()],outFields:[t.objectIdField,s.keyField]}),h=i.templates[0],n={attributeOverrides:this.makeAttributesForRelatedFeature(a.features[0],s,e),layer:i,template:h};await this._editor.startCreateFeaturesWorkflowAtFeatureCreation(n),await this.hideEditorsElements(),this._editor.viewModel.featureFormViewModel.on("submit",this.submitted.bind(this))}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")})))}makeAttributesForRelatedFeature(t,i,s){const e=i.keyField;let a;t.attributes.hasOwnProperty(e)?a=t.getAttribute(e):t.attributes.hasOwnProperty(e.toLowerCase())?a=t.getAttribute(e.toLowerCase()):t.attributes.hasOwnProperty(e.toUpperCase())&&(a=t.getAttribute(e.toUpperCase()));let h=s.keyField;const n=this.table.fields.find((t=>t.name.toLocaleLowerCase()===h.toLocaleLowerCase()));return h=n.name,{[h]:a}}async submitted(t){if(t.invalid.length)this._isSubmitBtnClicked=!1;else if(t.valid.length&&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 l(this.el);this._translations=t[0]}static get watchers(){return{mapView:["mapViewWatchHandler"],_editorLoading:["_editorLoadingWatchHandler"]}}};k.style=":host{display:block}.esri-editor__panel-toolbar{display:none !important}.display-none{display:none !important}.esri-editor__panel-content{padding-block:10px !important}.notice-msg{padding:10px;width:calc(100% - 20px)}";const v=class{constructor(i){t(this,i),this.loadingStatus=e(this,"loadingStatus",7),this.commentSelect=e(this,"commentSelect",7),this.addComment=e(this,"addComment",7),this.likeOrDislikeClicked=e(this,"likeOrDislikeClicked",7),this.featureSelectionChange=e(this,"featureSelectionChange",7),this.mapView=void 0,this.graphics=void 0,this.reportingOptions=void 0,this.layerItemsHash=void 0,this.showUserImageInCommentsList=!1,this._likeFieldAvailable=!1,this._likeCount=0,this._disLikeCount=0,this._dislikeFieldAvailable=!1,this._commentsAvailable=!1,this._isLikeBtnClicked=!1,this._isDislikeBtnClicked=!1,this._relatedFeaturesOIDs=void 0,this._updating=!1}get el(){return s(this)}_infoCard;_commentsList;_selectedGraphic;_likeField;_dislikeField;Graphic;RelationshipQuery;_validFieldTypes=["small-integer","integer","big-integer","single","long"];relatedTableId;async graphicsWatchHandler(){await this.getCompleteGraphic(this.graphics[0]),this.checkLikeDislikeFields(),await this.processComments()}async refresh(t){await this.getCompleteGraphic(t),await this.processComments(),this.isLikeDislikeConfigured(t.layer)?t&&this.graphics.length>1&&this.checkLikeDislikeFields():(this._likeFieldAvailable=!1,this._dislikeFieldAvailable=!1)}async back(){this._infoCard.back()}async next(){this._infoCard.next()}async toggleListView(){this._infoCard.toggleListView()}loadingStatus;commentSelect;addComment;likeOrDislikeClicked;featureSelectionChange;async componentWillLoad(){await this._initModules(),await this.getCompleteGraphic(this.graphics[0]),this.checkLikeDislikeFields(),await this.processComments()}render(){const t=this._relatedFeaturesOIDs?.length>0?`objectId in(${this._relatedFeaturesOIDs})`:"1=0";return i("calcite-panel",{key:"05a12e56500ab833e856b8f5ac0f8371de522170","full-height":!0},i("info-card",{key:"53c2102681c8005322c1711b038087b1a70d9a53",allowEditing:!1,graphics:this.graphics,highlightEnabled:!1,isLoading:!1,isMobile:!1,mapView:this.mapView,onSelectionChanged:t=>{this.featureSelectionChange.emit(t.detail)},paginationEnabled:!1,position:"relative",ref:t=>this._infoCard=t}),(this._likeFieldAvailable||this._dislikeFieldAvailable||this._commentsAvailable)&&i("div",{key:"1cf9a8eb026a2ed6c15ccafc3910fed388e63e5d",class:"buttons-container"},this._commentsAvailable&&i("calcite-button",{key:"c95920ae526cfeaa9a8824b985f593c95807c3ae",appearance:"transparent",iconEnd:"speech-bubble",kind:"neutral",onClick:()=>{this.addComment.emit()},scale:"m"},this._relatedFeaturesOIDs.length),this._likeFieldAvailable&&i("calcite-button",{key:"cf6cab791332884e63615058d6d0a1861534177b",appearance:"transparent",iconEnd:"thumbs-up",kind:this._isLikeBtnClicked?"brand":"neutral",loading:this._updating,onClick:this.onLikeButtonClick.bind(this),scale:"m"},this._likeCount??this._selectedGraphic.attributes[this._likeField]??0),this._dislikeFieldAvailable&&i("calcite-button",{key:"1fe322958b367df620c73834353251d05566d8c7",appearance:"transparent",iconEnd:"thumbs-down",kind:this._isDislikeBtnClicked?"brand":"neutral",loading:this._updating,onClick:this.onDislikeButtonClick.bind(this),scale:"m"},this._disLikeCount??this._selectedGraphic.attributes[this._dislikeField]??0)),this.relatedTableId&&this._commentsAvailable&&i("feature-list",{key:"8eefe98bc8af36db6793879c38dbed85f45b4a36",class:"height-full",mapView:this.mapView,onFeatureSelect:t=>{this.commentSelect.emit(t.detail)},pageSize:5,ref:t=>this._commentsList=t,selectedLayerId:this.relatedTableId,showErrorWhenNoFeatures:!1,showInitialLoading:!1,showUserImageInList:this.showUserImageInCommentsList,textSize:"small",whereClause:t}))}async _initModules(){const[t,i]=await r(["esri/rest/support/RelationshipQuery","esri/Graphic"]);this.RelationshipQuery=t,this.Graphic=i}async getCompleteGraphic(t){const i=t.layer,s=i.createQuery();s.objectIds=[t.getObjectId()];const e=await i.queryFeatures(s);this._selectedGraphic=e.features[0]}async processComments(){const t=this._selectedGraphic.layer;if(this.reportingOptions&&this.reportingOptions[t.id]&&this.reportingOptions[t.id].comment&&t.relationships?.length>0){const i=await f(this.mapView);let s=null,e=null;if(i.some((i=>{if(t.url===i.url){const a=t.relationships.filter((t=>i.layerId===t.relatedTableId));if(a?.length)return s=i,e=a[0].id,!0}})),this.relatedTableId=s?.id??"",this.relatedTableId){const i=this._selectedGraphic.attributes[t.objectIdField],a=new this.RelationshipQuery({objectIds:[i],outFields:["*"],relationshipId:e}),h=await t.queryRelatedFeatures(a).catch((t=>{console.error(t)})),n=[];h[i]&&h[i].features.forEach((t=>{n.push(t.attributes[s.objectIdField])})),this._relatedFeaturesOIDs=n,this._commentsAvailable=!0}else this._relatedFeaturesOIDs=[],this._commentsAvailable=!1}else this._relatedFeaturesOIDs=[],this._commentsAvailable=!1,this.relatedTableId=""}isLikeDislikeConfigured(t){let i=!1,s=!1;if(this.reportingOptions&&this.reportingOptions[t.id]){if(!this.reportingOptions[t.id].like&&!this.reportingOptions[t.id].dislike)return!1;const e=this.reportingOptions[t.id].likeField,a=this.reportingOptions[t.id].dislikeField;if(!e&&!a)return!1;t.fields.forEach((h=>{this._validFieldTypes.indexOf(h.type)>-1&&this.layerItemsHash[t.id].supportsUpdate&&(h.name===e&&this.reportingOptions[t.id].like?i=!0:h.name===a&&this.reportingOptions[t.id].dislike&&(s=!0))}))}return i||s}checkLikeDislikeFields(){this._likeFieldAvailable=!1,this._dislikeFieldAvailable=!1,this._isLikeBtnClicked=!1,this._isDislikeBtnClicked=!1,this._likeCount=0,this._disLikeCount=0;const t=this._selectedGraphic.layer;if(this.reportingOptions&&this.reportingOptions[t.id]){if(this._likeField=this.reportingOptions[t.id].likeField,this._dislikeField=this.reportingOptions[t.id].dislikeField,!this._likeField&&!this._dislikeField)return;t.fields.forEach((i=>{this._validFieldTypes.indexOf(i.type)>-1&&this.layerItemsHash[t.id].supportsUpdate&&(i.name===this._likeField&&this.reportingOptions[t.id].like?(this._likeFieldAvailable=!0,this._likeCount=this._selectedGraphic.attributes[i.name]):i.name===this._dislikeField&&this.reportingOptions[t.id].dislike&&(this._dislikeFieldAvailable=!0,this._disLikeCount=this._selectedGraphic.attributes[i.name]))})),this.getFromLocalStorage()}}onLikeButtonClick(){this._isDislikeBtnClicked&&this.reportingOptions[this._selectedGraphic.layer.id].dislike&&this.onDislikeButtonClick(),this._isLikeBtnClicked=!this._isLikeBtnClicked,this._isLikeBtnClicked?this._likeCount++:this._likeCount--,this.updateFeaturesLikeDislikeField(this._likeField,this._isLikeBtnClicked)}onDislikeButtonClick(){this._isLikeBtnClicked&&this.reportingOptions[this._selectedGraphic.layer.id].like&&this.onLikeButtonClick(),this._isDislikeBtnClicked=!this._isDislikeBtnClicked,this._isDislikeBtnClicked?this._disLikeCount++:this._disLikeCount--,this.updateFeaturesLikeDislikeField(this._dislikeField,this._isDislikeBtnClicked)}async updateFeaturesLikeDislikeField(t,i){const s={},e=this._selectedGraphic.layer;this._updating=!0;const a=this._selectedGraphic;a.attributes[t]=Number(a.attributes[t])+(i?1:-1),s[e.objectIdField]=a.attributes[e.objectIdField],s[t]=a.attributes[t];const h=new this.Graphic;h.attributes=s;const n={updateFeatures:[h]};await e.applyEdits(n).then((()=>{this._selectedGraphic=a,this.setInLocalStorage(),this._updating=!1,this.likeOrDislikeClicked.emit()}),(t=>{this._updating=!1,console.log(t)}))}getFromLocalStorage(){const t=localStorage[this._selectedGraphic.layer.id];if(t){const i=JSON.parse(t).filter((t=>t.id===this._selectedGraphic.getObjectId()));i.length>0&&(this._isLikeBtnClicked=i[0].like,this._isDislikeBtnClicked=i[0].dislike)}}setInLocalStorage(){const t=this._selectedGraphic.layer.id,i=localStorage[t];let s=[];if(i){s=JSON.parse(i);const t=s.findIndex((t=>t.id===this._selectedGraphic.getObjectId()));t>=0&&s.splice(t,1)}s.push({id:this._selectedGraphic.getObjectId(),like:this._isLikeBtnClicked&&0!==this._likeCount,dislike:this._isDislikeBtnClicked&&0!==this._disLikeCount}),localStorage.setItem(t,JSON.stringify(s))}static get watchers(){return{graphics:["graphicsWatchHandler"]}}};v.style=":host{display:block}.buttons-container{align-items:center;display:flex;padding:4px;color:var(--calcite-color-text-1) !important;background-color:var(--calcite-color-foreground-1) !important;border-block-start:1px solid var(--calcite-color-border-3);border-block-end:1px solid var(--calcite-color-border-3)}";const L=class{constructor(i){t(this,i),this.layerSelect=e(this,"layerSelect",7),this.layersListLoaded=e(this,"layersListLoaded",7),this.mapView=void 0,this.layers=void 0,this.showFeatureCount=!0,this.showNextIcon=!1,this.applyLayerViewFilter=!1,this._noLayersToDisplay=!1,this._mapLayerIds=[],this._isLoading=!1,this._translations=void 0}get el(){return s(this)}_layerItemsHash;async refresh(){await this.setLayers()}layerSelect;layersListLoaded;async componentWillLoad(){await this._getTranslations(),this._isLoading=!0}async componentDidLoad(){await this.setLayers(),this._isLoading=!1}render(){return i(a,{key:"96f61a2b92d352cdc341961c54b9fdfb06bab6fc"},this._isLoading&&i("calcite-loader",{key:"948c5a101fe19294dbc99a5d015c4f08c3db7f24",label:"",scale:"m"}),!this._isLoading&&this.mapView&&this._noLayersToDisplay&&i("calcite-notice",{key:"23a73833e78b0c0009453ecfbf9bc000f2f7ff33",class:"error-msg",icon:"layers-reference",kind:"danger",open:!0},i("div",{key:"da338486c22d7d70499713e22d45bd343c752e38",slot:"title"},this._translations.error),i("div",{key:"751c99a20af04f7253a518181d02a353e7f1b6b8",slot:"message"},this._translations.noLayerToDisplayErrorMsg)),!this._isLoading&&this.mapView&&i("calcite-list",{key:"09c24ccb0ce715bc0606302af41571b5594e64b5","selection-appearance":"border","selection-mode":"none"},this.renderLayerList()))}async setLayers(){this.mapView&&await this.initLayerHash()}async initLayerHash(){const t=[];this._layerItemsHash=await p(this.mapView,!0);const i=await m(this.mapView);for(const s of i)if("feature"===s?.type&&this.showFeatureCount){const i=s.createQuery();if(s?.definitionExpression&&(i.where=i.where+" AND "+s.definitionExpression),this.applyLayerViewFilter){const t=await b(this.mapView,s.id);t?.filter?.where&&(i.where=i.where?i.where+" AND "+t.filter.where:t.filter.where)}const e=s.queryFeatureCount(i);t.push(e),e.then((async t=>{const i=isNaN(t)?"":await d(t,{places:0,api:4,type:"decimal"});this._layerItemsHash[s.id].formattedFeatureCount=i}))}await Promise.all(t).then((()=>{const t=this.getLayersToBeShownInList(this._layerItemsHash);this._mapLayerIds=t.reverse(),this.handleNoLayersToDisplay()}),(()=>{this._mapLayerIds=[],this.handleNoLayersToDisplay()}))}handleNoLayersToDisplay(){this._noLayersToDisplay=!(this._mapLayerIds.length>0),this.layersListLoaded.emit(this._mapLayerIds)}getLayersToBeShownInList(t){const i=this.layers?.length>0?this.layers:[];return Object.keys(t).reduce(((t,s)=>(i.indexOf(s)>-1&&t.push(s),t)),[])}renderLayerList(){return this._mapLayerIds.length>0&&this._mapLayerIds.reduce(((t,i)=>(this._layerItemsHash[i]&&t.push(this.getLayerListItem(i)),t)),[])}getLayerListItem(t){const s=this._layerItemsHash[t].formattedFeatureCount;return i("calcite-list-item",{onCalciteListItemSelect:()=>{this.onLayerItemSelected(t)}},i("div",{class:"layer-name",slot:"content-start"},this._layerItemsHash[t].name),this.showFeatureCount&&void 0!==s&&""!==s&&i("div",{class:this.showNextIcon?"":"feature-count",slot:"content-end"},"("+s+")"),this.showNextIcon&&i("calcite-icon",{flipRtl:!0,icon:"chevron-right",scale:"s",slot:"content-end"}))}onLayerItemSelected(t){this.layerSelect.emit({layerId:t,layerName:this._layerItemsHash[t].name})}async _getTranslations(){const t=await l(this.el);this._translations=t[0]}};L.style=":host{display:block}.error-msg{padding:10px}.layer-name{font-weight:500;padding:10px 12px}.feature-count{padding-right:12px}";export{w as calcite_flow,k as create_related_feature,v as feature_details,L as layer_list}
@@ -0,0 +1,6 @@
1
+ /*!
2
+ * Copyright 2022 Esri
3
+ * Licensed under the Apache License, Version 2.0
4
+ * http://www.apache.org/licenses/LICENSE-2.0
5
+ */
6
+ import{r as t,c as i,g as s,h as e,H as a,F as h}from"./p-6eb37ed2.js";import{l as o,g as l}from"./p-2058b5d9.js";import{g as c,a as n,b as r,c as d,h as u,d as p,q as f}from"./p-d572627c.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";import"./p-80cb7c73.js";const m=class{constructor(s){t(this,s),this.togglePanel=i(this,"togglePanel",7),this.center=void 0,this.commentButtonText=void 0,this.commentSubmittedMessage=void 0,this.defaultWebmap="",this.description=void 0,this.enableAnonymousAccess=void 0,this.enableAnonymousComments=void 0,this.enableComments=void 0,this.enableHome=!0,this.enableLogin=void 0,this.enableNewReports=void 0,this.enableSearch=!0,this.enableZoom=!0,this.isMobile=void 0,this.layerExpressions=[],this.layerId=void 0,this.level=void 0,this.loginTitle=void 0,this.mapInfos=[],this.mapView=void 0,this.objectId=void 0,this.reportButtonText=void 0,this.reportingOptions=void 0,this.reportsHeader=void 0,this.reportSubmittedMessage=void 0,this.searchConfiguration=void 0,this.showComments=void 0,this.showUserImageInCommentsList=!1,this.showFeatureSymbol=!1,this.showMyReportsOnly=!1,this.theme="light",this.zoomToScale=void 0,this.floorLevel=void 0,this._featureCreationFailedErrorMsg=void 0,this._filterActive=!1,this._flowItems=[],this._hasValidLayers=!1,this._loadingFeatureDetails=void 0,this._mapInfo=void 0,this._reportSubmitted=!1,this._selectedLayerName=void 0,this._showSubmitCancelButton=!1,this._showLoadingIndicator=!1,this._sidePanelCollapsed=!1,this._translations=void 0,this._updatedProgressBarStatus=.25,this._updatedSorting=void 0,this._updatedSortOption="sortNewest",this._commentSubmitted=!1,this._addingCommentFailed=!1}get el(){return s(this)}_createFeature;_currentFeatureId;_defaultCenter;_defaultLevel;_editableLayerIds;_featureDetails;_featureList;_currentFeature;_selectedRelatedFeature;_relatedTable;_filterList;_highlightHandle;_layerList;_createRelatedFeature;_layers;_mapChange;_mapClickHandle;reactiveUtils;FeatureFilter;_selectedFeature;_selectedFeatureIndex;_selectedLayerId;_shareNode;_urlParamsLoaded;_validLayers;_nonVisibleValidLayers;_selectedLayer;_layerItemsHash;_showFullPanel;_floorExpression;_formElements=[];_filterUrlParams;_filterInitState;async isMobileWatchHandler(){this.updatePanelState(!1,this._showFullPanel)}async mapViewWatchHandler(){await this.mapView.when((async()=>{await this.setMapView()}))}async floorLevelWatchHandler(){if(this._editableLayerIds)for(const t of this._editableLayerIds){const i=await c(this.mapView,t);i.floorInfo?.floorField&&this._updateFloorDefinitionExpression(i)}this._layerList&&await this._layerList.refresh(),this._featureList&&this._featureList.refresh(),this._createFeature&&this._createFeature.refresh(this.floorLevel)}async showMyReportsOnlyWatchHandler(){this._editableLayerIds&&(await this._updateFeatures(),setTimeout((()=>{this._layerList&&this._layerList.refresh(),this._featureList&&this._featureList.refresh()}),50))}togglePanel;async componentWillLoad(){this._urlParamsLoaded=!1,await this._initModules(),await this._getTranslations(),await(this.mapView?.when((async()=>{this._layers=this.reportingOptions?Object.keys(this.reportingOptions).filter((t=>this.reportingOptions[t].visible)):[],await this.setMapView()})))}render(){const t="dark"===this.theme?"calcite-mode-dark":"calcite-mode-light";return e(a,{key:"198fe34894f73b66ac15c4f75b05e3159586a392"},this._reportSubmitted&&e("calcite-alert",{key:"2c07a26c0fce4f5b66a2245850f7fca6e7cc2333","auto-close":!0,class:t+" report-submitted-msg",icon:"check-circle",kind:"success",label:"",onCalciteAlertClose:()=>{this._reportSubmitted=!1},open:!0,placement:"top"},e("div",{key:"f3269fd5bc315913f25795fc4dda47d83de7166f",slot:"message"},this.reportSubmittedMessage?this.reportSubmittedMessage:this._translations.submitMsg)),this._featureCreationFailedErrorMsg&&e("calcite-alert",{key:"974254aa4eec7166ce23c9513633174b26d45a4d","auto-close":!0,class:t,icon:"x-octagon",kind:"danger",label:"",onCalciteAlertClose:()=>{this._featureCreationFailedErrorMsg=""},open:!0,placement:"top"},e("div",{key:"f0e27267cb6bdc626340185ff3af5c8527c5755c",slot:"title"},this._translations.error),e("div",{key:"ce443229655784ecc106ef4f90375a0d2ba14679",slot:"message"},this._featureCreationFailedErrorMsg)),this._commentSubmitted&&e("calcite-alert",{key:"8094e9db5856630b6dbbd4f37de35afc8fc0cab9","auto-close":!0,class:"report-submitted "+t,icon:"check-circle",kind:"success",label:"",onCalciteAlertClose:()=>{this._commentSubmitted=!1},open:!0,placement:"top"},e("div",{key:"9fea022654934c6b58064f71e6c7cb59e4429732",slot:"message"},this.commentSubmittedMessage||this._translations.commentSubmittedMsg)),this._addingCommentFailed&&e("calcite-alert",{key:"21cd17c9a43553c40427759070ec5f7d86bcb471","auto-close":!0,class:t,icon:"x-octagon",kind:"danger",label:"",onCalciteAlertClose:()=>{this._addingCommentFailed=!1},open:!0,placement:"top"},e("div",{key:"82ca845385e34740ab2af082a5338a851ad0c006",slot:"title"},this._translations.error),e("div",{key:"9dd641fe9e78e83387a266df51b8f709409bd332",slot:"message"},this._translations.addingCommentFailedMsg)),e("div",{key:"1977a4e41c0f222385585f0a0a6c19a99432846b"},e("calcite-shell",{key:"67d0771f744f5ba427cef2b453dee3470d2fe5bc","content-behind":!0},this._getReporter())))}async _initModules(){const[t,i]=await o(["esri/core/reactiveUtils","esri/layers/support/FeatureFilter"]);this.reactiveUtils=t,this.FeatureFilter=i}async setSelectedLayer(t,i){this._selectedLayerId=t,this._selectedLayer=await c(this.mapView,t),this._selectedLayerName=i,this._validLayers.forEach((i=>{this._nonVisibleValidLayers.find((t=>t.id===i.id))||i.set("visible",!t||i.id===t)}))}_getLayersConfig(t){return this.reportingOptions&&this.reportingOptions[t]?this.reportingOptions[t]:null}_getReporter(){const t=[];return this._flowItems.forEach((i=>{switch(i){case"layer-list":t.push(this.getLayerListFlowItem());break;case"feature-list":t.push(this.getFeatureListFlowItem(this._selectedLayerId,this._selectedLayerName));break;case"filter-panel":t.push(this.getFilterPanel()),this._restoreFilters();break;case"feature-details":t.push(this.getFeatureDetailsFlowItem());break;case"reporting-layer-list":t.push(this.getChooseCategoryFlowItem());break;case"feature-create":t.push(this.getFeatureCreateFlowItem());break;case"comment-details":t.push(this.getCommentDetailsFlowItem());break;case"add-comment":t.push(this.getAddCommentFlowItem())}})),e("calcite-panel",{class:"width-full "+("dark"===this.theme?"calcite-mode-dark":"calcite-mode-light")},this.mapView?e("calcite-flow",null,t?.length>0&&t):e("calcite-loader",{label:"",scale:"m"}))}async sortOptionClick(t,i,s){this._updatedSorting={field:t,order:i},this._updatedSortOption=s}_toggleSort(){const t=this.reportingOptions&&this.reportingOptions[this._selectedLayerId]&&this.reportingOptions[this._selectedLayerId].like&&this.reportingOptions[this._selectedLayerId].likeField;return e("calcite-popover",{autoClose:!0,label:"",offsetDistance:0,placement:this.isMobile?"leading-start":"bottom-start",pointerDisabled:!0,referenceElement:"sort-popover"},e("calcite-list",{"selection-mode":"single"},e("calcite-list-item",{label:this._translations.sortNewest,onCalciteListItemSelect:()=>{this.sortOptionClick(this._selectedLayer.objectIdField,"desc","sortNewest")},selected:"sortNewest"===this._updatedSortOption,value:"sortNewest"}),e("calcite-list-item",{label:this._translations.sortOldest,onCalciteListItemSelect:()=>{this.sortOptionClick(this._selectedLayer.objectIdField,"asc","sortOldest")},selected:"sortOldest"===this._updatedSortOption,value:"sortOldest"}),t&&e(h,null,e("calcite-list-item",{label:this._translations.sortHighestVoted,onCalciteListItemSelect:()=>{this.sortOptionClick(this.reportingOptions[this._selectedLayerId].likeField,"desc","sortHighestVoted")},selected:"sortHighestVoted"===this._updatedSortOption,value:"sortHighestVoted"}),e("calcite-list-item",{label:this._translations.sortLowestVoted,onCalciteListItemSelect:()=>{this.sortOptionClick(this.reportingOptions[this._selectedLayerId].likeField,"asc","sortLowestVoted")},selected:"sortLowestVoted"===this._updatedSortOption,value:"sortLowestVoted"}))))}_restoreFilters(){setTimeout((()=>{this._filterList&&this._filterUrlParams&&this._filterInitState&&this._filterList.restoreFilters(this._filterUrlParams[0],this._filterInitState)}),200)}async _handleFilterListReset(){this._filterActive=!1,this._filterUrlParams=null,this._filterInitState=null,this._featureList.refresh()}_handleFilterUpdate(){this._filterActive=this._filterList.urlParams.getAll("filter").length>0,this._filterUrlParams=this._filterList.urlParams.getAll("filter"),this._featureList.refresh()}getLayerListFlowItem(){return e("calcite-flow-item",{collapsed:this.isMobile&&this._sidePanelCollapsed,heading:this.reportsHeader},this.isMobile&&this.getActionToExpandCollapsePanel(),this._hasValidLayers&&this.enableNewReports&&e("calcite-button",{appearance:"solid",onClick:this.navigateToChooseCategory.bind(this),slot:"footer",width:"full"},this.reportButtonText?this.reportButtonText:this._translations.createReportButtonText),e("calcite-panel",{"full-height":!0,"full-width":!0},e("layer-list",{applyLayerViewFilter:this.showMyReportsOnly,class:"height-full",layers:this._editableLayerIds?.length>0?this._editableLayerIds:this._layers,mapView:this.mapView,onLayerSelect:this.displayFeaturesList.bind(this),onLayersListLoaded:this.layerListLoaded.bind(this),ref:t=>this._layerList=t,showFeatureCount:!0,showNextIcon:!0})))}getChooseCategoryFlowItem(){const t=this.reportingOptions?Object.keys(this.reportingOptions).filter((t=>this.reportingOptions[t].visible&&this.reportingOptions[t].reporting&&this._layerItemsHash[t]&&this._layerItemsHash[t].supportsAdd)):[];return e("calcite-flow-item",{collapsed:this.isMobile&&this._sidePanelCollapsed,heading:this.reportButtonText?this.reportButtonText:this._translations.createReportButtonText,onCalciteFlowItemBack:this.backFromSelectedPanel.bind(this)},e("calcite-panel",{"full-height":!0,"full-width":!0},e("div",{class:"progress-bar"},e("calcite-progress",{type:"determinate",value:this._updatedProgressBarStatus})),e("calcite-notice",{class:"notice-msg",icon:"lightbulb",kind:"success",open:!0},e("div",{slot:"message"},this._translations.chooseCategoryMsg)),e("layer-list",{class:"height-full",layers:t,mapView:this.mapView,onLayerSelect:this.navigateToCreateFeature.bind(this),showFeatureCount:!1,showNextIcon:!1})))}getFeatureCreateFlowItem(){return e("calcite-flow-item",{collapsed:this.isMobile&&this._sidePanelCollapsed,heading:this._selectedLayerName,onCalciteFlowItemBack:this.backFromCreateFeaturePanel.bind(this)},this._showSubmitCancelButton&&e("div",{class:"width-full",slot:"footer"},e("calcite-button",{appearance:"solid",class:"footer-top-button footer-button",onClick:this.onCreateFeatureSubmitButtonClick.bind(this),width:"full"},this._translations.submit),e("calcite-button",{appearance:"outline",class:"footer-button",onClick:this.backFromCreateFeaturePanel.bind(this),width:"full"},this._translations.cancel)),e("calcite-panel",{"full-height":!0,"full-width":!0},e("div",{class:"progress-bar"},e("calcite-progress",{type:"determinate",value:this._updatedProgressBarStatus})),e("create-feature",{customizeSubmit:!0,enableSearch:!0,floorLevel:this.floorLevel,formElements:this._formElements.find((t=>t.id===this._selectedLayerId)),isMobile:this.isMobile,mapView:this.mapView,onDrawComplete:this.onFormReady.bind(this),onEditingAttachment:this.showSubmitCancelButton.bind(this),onFail:this.createFeatureFailed.bind(this),onModeChanged:this.backFromCreateFeaturePanel.bind(this),onProgressStatus:this.updatedProgressStatus.bind(this),onSuccess:this.onReportSubmitted.bind(this),ref:t=>this._createFeature=t,searchConfiguration:this.searchConfiguration,selectedLayerId:this._selectedLayerId})))}updatedProgressStatus(t){this._updatedProgressBarStatus=t.detail}onFormReady(){this._showSubmitCancelButton=!0}showSubmitCancelButton(t){this._showSubmitCancelButton=!t.detail}onCreateFeatureSubmitButtonClick(){this._createFeature&&this._createFeature.submit()}backFromCreateFeaturePanel(){this._createFeature&&(this._createFeature.close(),this.updateNonVisibleLayersOnMap(!1)),this.backFromSelectedPanel()}onCreateRelatedFeatureSubmitButtonClick(){this._createRelatedFeature&&this._createRelatedFeature.submit()}backFromCreateRelatedFeaturePanel(){this._createRelatedFeature&&(this._createRelatedFeature.close(),this._showSubmitCancelButton=!1),this.backFromSelectedPanel()}createFeatureFailed(t){console.error(t.detail),this._featureCreationFailedErrorMsg=t.detail.message}onReportSubmitted(){this._showFullPanel&&this.updatePanelState(this._sidePanelCollapsed,!1),this.updateNonVisibleLayersOnMap(!1),this._reportSubmitted=!0,this._updatedProgressBarStatus=.25,this.navigateToHomePage()}addCommentFailed(t){console.error(t.detail),this._addingCommentFailed=!0}async onCommentSubmitted(){this._commentSubmitted=!0,this.backFromSelectedPanel(),this._showLoadingIndicator=!0,await this._featureDetails.refresh(this._currentFeature),setTimeout((()=>{this._showLoadingIndicator=!1}),300)}async navigateToHomePage(){this._createFeature&&this._createFeature.close(),this._layerList&&this._layerList.refresh(),await this.setSelectedFeatures([]),1===this._editableLayerIds.length?(await this._featureList.refresh(),this._flowItems=["feature-list"]):this._flowItems=["layer-list"]}async navigateToCreateFeature(t){t.detail.layerId&&t.detail.layerName&&await this.setSelectedLayer(t.detail.layerId,t.detail.layerName),this.updateNonVisibleLayersOnMap(!0),this._getFormElements(),this._showSubmitCancelButton=!1,this.updatePanelState(!1,!0),this._flowItems=[...this._flowItems,"feature-create"]}navigateToChooseCategory(){this.updatePanelState(!1,!0),this._flowItems=[...this._flowItems,"reporting-layer-list"]}updateNonVisibleLayersOnMap(t){this._nonVisibleValidLayers.find((t=>t.id===this._selectedLayerId))&&this._selectedLayer.set("visible",t)}async layerListLoaded(t){const i=t.detail,s=await n(this.mapView),e=[];this._validLayers=[],this._nonVisibleValidLayers=[],s.forEach((t=>{i.includes(t.id)&&(this._validLayers.push(t),t.visible||this._nonVisibleValidLayers.push(t),this._getLayersConfig(t.id)?.reporting&&this._layerItemsHash[t.id]&&this._layerItemsHash[t.id].supportsAdd&&e.push(t.id))})),this.handleMapClick(),this._hasValidLayers=e.length>0,this._urlParamsLoaded||(this._urlParamsLoaded=!0,await this.loadFeatureFromURLParams())}displayFeaturesList(t){this._updatedSorting={field:"",order:"desc"},this._filterActive=!1,this._updatedSortOption="sortNewest",this.setSelectedLayer(t.detail.layerId,t.detail.layerName),this._flowItems=[...this._flowItems,"feature-list"]}async backFromFilterPanel(){this._filterInitState=await this._filterList.getFilterInitState(),this.backFromSelectedPanel()}backFromSelectedPanel(){this._updatedProgressBarStatus=.25;const t=[...this._flowItems];"comment-details"!==t[t.length-1]&&"add-comment"!==t[t.length-1]&&this.clearHighlights(),"reporting-layer-list"!==t[t.length-1]&&("feature-create"!==t[t.length-1]||"feature-list"!==t[0]&&"feature-list"!==t[t.length-2])||this.updatePanelState(this._sidePanelCollapsed,!1),t.pop(),1!==t.length||"layer-list"!==t[0]?this._flowItems=[...t]:this.navigateToHomePage()}toggleSidePanel(){this._sidePanelCollapsed=!this._sidePanelCollapsed,this.togglePanel.emit({panelState:this._sidePanelCollapsed,isFormOpen:this._showFullPanel})}updatePanelState(t,i){this._sidePanelCollapsed=t,this._showFullPanel=i,this.togglePanel.emit({panelState:this._sidePanelCollapsed,isFormOpen:this._showFullPanel})}async onFeatureSelectFromList(t){this._showLoadingIndicator=!0,await this.setSelectedFeatures([t.detail]),this._flowItems=[...this._flowItems,"feature-details"]}async getRelatedTable(){const t=this._currentFeature.layer,i=t.relationships.map((t=>t.relatedTableId)),s=(await r(this.mapView)).filter((s=>t.url===s.url&&i.includes(s.layerId)));this._relatedTable=s[0]}async updatingFeatureDetails(t){this._showLoadingIndicator=t}async selectionChanged(t){this.updatingFeatureDetails(!0),await this.setCurrentFeature(t.detail.selectedFeature[0]),this.highlightOnMap(t.detail.selectedFeature[0]),this._selectedFeatureIndex=t.detail.selectedFeatureIndex,await this._featureDetails.refresh(t.detail.selectedFeature[0])}showAddCommentsPanel(){this._flowItems=[...this._flowItems,"add-comment"]}async onCommentSelectFromList(t){this._selectedRelatedFeature=[t.detail],this._flowItems=[...this._flowItems,"comment-details"]}getFeatureListFlowItem(t,i){const s=this.layerExpressions?.filter((t=>t.id===this._selectedLayerId)),a=this._getLayersConfig(this._selectedLayerId)?.reporting&&this._layerItemsHash[this._selectedLayerId].supportsAdd,h=s?.length>0;return e("calcite-flow-item",{collapsed:this.isMobile&&this._sidePanelCollapsed,heading:i,loading:this._showLoadingIndicator,onCalciteFlowItemBack:this.backFromSelectedPanel.bind(this)},this._toggleSort(),e("calcite-action",{icon:"sort-ascending-arrow",id:"sort-popover",slot:"header-actions-end",text:this._translations.sort,title:this._translations.sort}),h&&e("calcite-action",{icon:"filter",indicator:this._filterActive,onClick:()=>{this._flowItems=[...this._flowItems,"filter-panel"]},slot:"header-actions-end",text:this._translations.filter,title:this._translations.filter}),this.isMobile&&this.getActionToExpandCollapsePanel(),this.enableNewReports&&a&&e("calcite-button",{appearance:"solid",onClick:this.navigateToCreateFeature.bind(this),slot:"footer",width:"full"},this.reportButtonText?this.reportButtonText:this._translations.createReportButtonText),e("calcite-panel",{"full-height":!0},e("feature-list",{applyLayerViewFilter:this.showMyReportsOnly,class:"height-full",highlightOnHover:!0,mapView:this.mapView,noFeaturesFoundMsg:this._translations.featureErrorMsg,onFeatureSelect:this.onFeatureSelectFromList.bind(this),pageSize:30,ref:t=>this._featureList=t,reportingOptions:this.reportingOptions,selectedLayerId:t,showFeatureSymbol:this.showFeatureSymbol,sortingInfo:this._updatedSorting})))}getFilterPanel(){const t=this.layerExpressions?this.layerExpressions.filter((t=>t.id===this._selectedLayerId)):[];return e("calcite-flow-item",{collapsed:this.isMobile&&this._sidePanelCollapsed,heading:this._translations?.filterLayerTitle?.replace("{{title}}",this._selectedLayerName),loading:this._showLoadingIndicator,onCalciteFlowItemBack:this.backFromFilterPanel.bind(this)},this.isMobile&&this.getActionToExpandCollapsePanel(),e("div",{class:"width-full",slot:"footer"},e("div",{class:"width-full",slot:"footer"},e("calcite-button",{appearance:"solid",class:"footer-top-button footer-button",onClick:()=>{this._filterList?.forceReset()},width:"full"},this._translations.resetFilter),e("calcite-button",{appearance:"outline",class:"footer-button",onClick:this.backFromFilterPanel.bind(this),width:"full"},this._translations.close))),e("calcite-panel",{"full-height":!0},e("instant-apps-filter-list",{autoUpdateUrl:!1,closeBtnOnClick:()=>{},comboboxOverlayPositioning:"fixed",layerExpressions:t,onFilterListReset:()=>this._handleFilterListReset(),onFilterUpdate:()=>this._handleFilterUpdate(),ref:t=>this._filterList=t,resetBtn:!1,resetFiltersOnDisconnect:!1,view:this.mapView,zoomBtn:!1})))}getFeatureDetailsFlowItem(){const t=this._getLayersConfig(this._selectedLayerId)?.comment&&this._selectedLayer.relationships.length>0&&this._relatedTable;return e("calcite-flow-item",{collapsed:this.isMobile&&this._sidePanelCollapsed,heading:this._selectedLayerName,loading:this._showLoadingIndicator,onCalciteFlowItemBack:this.backFromSelectedPanel.bind(this)},this.isMobile&&this.getActionToExpandCollapsePanel(),e("instant-apps-social-share",{autoUpdateShareUrl:!1,class:"share-node",embed:!1,popoverButtonIconScale:"s",ref:t=>this._shareNode=t,removePopoverOffset:!0,scale:"m",shareButtonColor:"neutral",shareButtonType:"action",slot:"header-actions-end",socialMedia:!0,view:this.mapView}),this._selectedFeature.length>1&&this.getFeaturesPagination(),e("calcite-panel",null,e("feature-details",{class:"full-height",graphics:this._selectedFeature,layerItemsHash:this._layerItemsHash,mapView:this.mapView,onAddComment:this.showAddCommentsPanel.bind(this),onCommentSelect:this.onCommentSelectFromList.bind(this),onFeatureSelectionChange:this.selectionChanged.bind(this),onLikeOrDislikeClicked:()=>{this._featureList.refresh(!0)},onLoadingStatus:t=>{this.updatingFeatureDetails(t.detail)},ref:t=>this._featureDetails=t,reportingOptions:this.reportingOptions,showUserImageInCommentsList:this.showUserImageInCommentsList}),t&&e("calcite-button",{appearance:"solid",onClick:this.showAddCommentsPanel.bind(this),slot:"footer",width:"full"},this.commentButtonText||this._translations.comment)))}getFeaturesPagination(){return e("div",{class:"feature-pagination"},e("div",null,e("calcite-button",{appearance:"transparent",disabled:!1,iconStart:"chevron-left",id:"solutions-back",onClick:()=>{this._featureDetails.back()},scale:"s",width:"full"}),e("calcite-tooltip",{label:"",placement:"top","reference-element":"solutions-back"},e("span",null,this._translations.back))),e("calcite-button",{appearance:"transparent",onClick:()=>{this._featureDetails.toggleListView()},scale:"s"},e("span",{class:"pagination-count"},this._getCount())),e("div",null,e("calcite-button",{appearance:"transparent",disabled:!1,iconStart:"chevron-right",id:"solutions-next",onClick:()=>{this._featureDetails.next()},scale:"s",width:"full"}),e("calcite-tooltip",{placement:"top","reference-element":"solutions-next"},e("span",null,this._translations.next))))}getCommentDetailsFlowItem(){return e("calcite-flow-item",{collapsed:this.isMobile&&this._sidePanelCollapsed,heading:this._relatedTable.title,onCalciteFlowItemBack:this.backFromSelectedPanel.bind(this)},this.isMobile&&this.getActionToExpandCollapsePanel(),e("calcite-panel",{"full-height":!0},e("info-card",{allowEditing:!1,graphics:this._selectedRelatedFeature,highlightEnabled:!1,isLoading:!1,isMobile:!1,mapView:this.mapView,paginationEnabled:!1})))}getAddCommentFlowItem(){return e("calcite-flow-item",{collapsed:this.isMobile&&this._sidePanelCollapsed,heading:this._relatedTable.title,onCalciteFlowItemBack:this.backFromCreateRelatedFeaturePanel.bind(this)},this.isMobile&&this.getActionToExpandCollapsePanel(),e("div",{class:"width-full",slot:"footer"},this._showSubmitCancelButton&&e("div",{class:"width-full",slot:"footer"},e("calcite-button",{appearance:"solid",class:"footer-top-button footer-button",onClick:this.onCreateRelatedFeatureSubmitButtonClick.bind(this),width:"full"},this._translations.submit),e("calcite-button",{appearance:"outline",class:"footer-button",onClick:this.backFromCreateRelatedFeaturePanel.bind(this),width:"full"},this._translations.cancel))),e("calcite-panel",null,e("create-related-feature",{customizeSubmit:!0,mapView:this.mapView,onFail:this.addCommentFailed.bind(this),onFormReady:this.onFormReady.bind(this),onIsActionPending:this.showSubmitCancelButton.bind(this),onSuccess:this.onCommentSubmitted.bind(this),ref:t=>this._createRelatedFeature=t,selectedFeature:this._currentFeature,table:this._relatedTable})))}async setSelectedFeatures(t){this._selectedFeature=t,await this.setCurrentFeature(this._selectedFeature.length?this._selectedFeature[0]:null)}async setCurrentFeature(t){if(this._currentFeature=t,t&&t.layer){const i=t.layer;this.setSelectedLayer(i.id,i.title),this._currentFeatureId=t.attributes[i.objectIdField],this._getLayersConfig(i.id)?.comment&&i.relationships.length>0&&await this.getRelatedTable()}else this._editableLayerIds.length>1&&this.setSelectedLayer("",""),this._currentFeatureId="";this._updateShareURL()}async highlightOnMap(t){if(this.clearHighlights(),t&&t.geometry&&t.layer){const i=await d(this.mapView,t.layer.id);i.highlightOptions=null,this._highlightHandle=await u([t.getObjectId()],i,this.mapView,!0,this.zoomToScale)}this.updatingFeatureDetails(!1)}clearHighlights(){this._highlightHandle&&this._highlightHandle.remove()}getActionToExpandCollapsePanel(){return e("calcite-action",{icon:this._sidePanelCollapsed?"chevrons-up":"chevrons-down",onClick:this.toggleSidePanel.bind(this),slot:"header-actions-end",text:this._sidePanelCollapsed?this._translations.expand:this._translations.collapse})}async setMapView(){await this.getLayersToShowInList(),await this._updateFeatures(),1===this._editableLayerIds?.length?await this.renderFeaturesList():this._flowItems=["layer-list"],this.mapView.popupEnabled=!1,this._defaultCenter&&this._defaultLevel&&(await this.mapView.goTo({center:this._defaultCenter,zoom:this._defaultLevel}),this._defaultCenter=void 0,this._defaultLevel=void 0)}handleMapClick(){this._mapClickHandle&&this._mapClickHandle.remove(),this._mapClickHandle=this.reactiveUtils.on((()=>this.mapView),"click",this.onMapClick.bind(this))}async onMapClick(t){this.mapView.popupEnabled=!1;const i=await this.mapView.hitTest(t);if(i.results.length>0){const t=[];i.results.forEach((function(i){"graphic"===i.type&&t.push(i.graphic)}));const s=t.filter((t=>this._validLayers.includes(t.layer))),e=t.filter((t=>!this._validLayers.includes(t.layer)&&t?.layer?.popupEnabled&&t?.layer?.id));if(s.length>0&&(await this.setSelectedFeatures(s),this._flowItems.length&&this._flowItems.includes("feature-details")?(this._flowItems=[...this._flowItems.slice(0,this._flowItems.indexOf("feature-details")+1)],await this.highlightOnMap(t[0])):this._flowItems=[...this._flowItems,"feature-details"]),e.length>0){this.mapView.popupEnabled=!0;const t={features:e,updateLocationEnabled:!0};await this.mapView.openPopup(t)}}}_getCount(){const t=(this._selectedFeatureIndex+1).toString(),i=this._selectedFeature.length.toString();return this._translations.indexOfTotal.replace("{{index}}",t).replace("{{total}}",i)}async _getTranslations(){const t=await l(this.el);this._translations=t[0]}_updateFloorDefinitionExpression(t){const i=`${t.floorInfo.floorField} = '${this.floorLevel}'`,s=t.definitionExpression;t.definitionExpression=s?.indexOf(this._floorExpression)>-1?s.replace(this._floorExpression,i):i,this._floorExpression=i}_getFormElements(){const t=this._selectedLayer,i=t?.floorInfo?.floorField;if(i&&this.floorLevel&&t?.formTemplate){const i=this._formElements.find((i=>i.id===t.id));0!==this._formElements.length&&i||this._formElements.push({id:t.id,orgElements:t.formTemplate.elements,orgExpressionInfos:t.formTemplate.expressionInfos})}}reduceToConfiguredLayers(t,i){return Object.keys(t).reduce(((s,e)=>{const a=this.reportingOptions?this._getLayersConfig(e)?.visible:t[e].supportsAdd;return!i.includes(e)&&a&&s.push(e),s}),[])}async _updateFeatures(){for(const t of this._editableLayerIds){const i=await d(this.mapView,t);await this._showMyFeaturesOnly(i);const s=i.layer?.floorInfo?.floorField;s&&this.floorLevel&&this._updateFloorDefinitionExpression(i.layer)}}async _showMyFeaturesOnly(t){const i=this.mapView.map.portalItem.portal?.credential?.userId;if(i){const s=t.layer.editFieldsInfo?.creatorField.toLowerCase();t.filter=this.showMyReportsOnly&&s?new this.FeatureFilter({where:s+"='"+i+"'"}):null}}async getLayersToShowInList(){const t=await p(this.mapView,!0),i=await n(this.mapView),s=[];i.forEach((i=>{"feature"===i?.type&&i?.editingEnabled&&i?.capabilities?.operations?.supportsAdd&&(t[i.id].supportsAdd=!0),i?.editingEnabled||s.push(i.id)})),this._editableLayerIds=this.reduceToConfiguredLayers(t,s),this._layerItemsHash=t}async renderFeaturesList(){this._flowItems=["feature-list"];const t={detail:this._editableLayerIds};await this.layerListLoaded(t),this.setSelectedLayer(this._validLayers[0].id,this._validLayers[0].title)}_updateShareURL(){const t=this._shareNode?.shareUrl;if(!t)return;const i=new URL(t);this._selectedLayerId?i.searchParams.set("layerid",this._selectedLayerId):i.searchParams.delete("layerid"),this._selectedFeature?.length?i.searchParams.set("oid",this._currentFeatureId):i.searchParams.delete("oid"),this._shareNode.shareUrl=i.href}async loadFeatureFromURLParams(){if(this.center&&this.level&&await this.mapView.goTo({center:this.center.split(";").map(Number),zoom:this.level}),this.layerId&&this.objectId){const t=await c(this.mapView,this.layerId);if(t){const i=await f([Number(this.objectId)],t,[],!0,this.mapView.spatialReference);i.length&&(await this.setSelectedFeatures(i),this._flowItems=this._flowItems.length&&"feature-details"!==this._flowItems[this._flowItems.length-1]?[...this._flowItems,"feature-details"]:[...this._flowItems])}}}static get watchers(){return{isMobile:["isMobileWatchHandler"],mapView:["mapViewWatchHandler"],floorLevel:["floorLevelWatchHandler"],showMyReportsOnly:["showMyReportsOnlyWatchHandler"]}}};m.style=":host{display:block;--calcite-label-margin-bottom:0px;--solutions-theme-foreground-color:var(--calcite-color-foreground-1)}.width-full{width:100% !important}.width-0{width:0}.height-full{height:100% !important}.height-0{height:0}.overflow-hidden{overflow:hidden}.border{border:1px solid var(--calcite-color-border-3)}.notice-msg{padding:10px;width:calc(100% - 20px)}.progress-bar{padding:12px}.footer-top-button{padding-bottom:7px}.footer-button{height:35px}.feature-pagination{background-color:var(--calcite-color-foreground-1) !important;border-block-end:1px solid var(--calcite-color-border-3);display:flex;justify-content:center;padding:5px 0}.pagination-count{color:var(--calcite-color-brand);border-bottom:1px solid var(--calcite-color-brand);font-weight:bold}.report-submitted-msg{position:absolute;z-index:1000}.share-node{display:flex}";export{m as crowdsource_reporter}