@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
@@ -1,6 +0,0 @@
1
- /*!
2
- * Copyright 2022 Esri
3
- * Licensed under the Apache License, Version 2.0
4
- * http://www.apache.org/licenses/LICENSE-2.0
5
- */
6
- import{r as t,c as i,g as 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:"16e9300d50c0f297e8907faa6d1b5d0d29db7b5a"},this._reportSubmitted&&e("calcite-alert",{key:"20ce64b9b92b16ddc401c5fef1c98fe41f1ffd6a","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:"3920ae43163250762cb06218832a040b3b59ada3",slot:"message"},this.reportSubmittedMessage?this.reportSubmittedMessage:this._translations.submitMsg)),this._featureCreationFailedErrorMsg&&e("calcite-alert",{key:"7d0351ebe3b7e44e98bd832ce6f1ce8ae0bd375c","auto-close":!0,class:t,icon:"x-octagon",kind:"danger",label:"",onCalciteAlertClose:()=>{this._featureCreationFailedErrorMsg=""},open:!0,placement:"top"},e("div",{key:"9cf77e454f532f79af03fea75b164193260a828a",slot:"title"},this._translations.error),e("div",{key:"5876f176b1f6eaf0cf48ef9ea6a87ee00d9970d5",slot:"message"},this._featureCreationFailedErrorMsg)),this._commentSubmitted&&e("calcite-alert",{key:"220c51839d4317ccf2c74c1dbf5f38da38463b31","auto-close":!0,class:"report-submitted "+t,icon:"check-circle",kind:"success",label:"",onCalciteAlertClose:()=>{this._commentSubmitted=!1},open:!0,placement:"top"},e("div",{key:"959a7ae5c5636c16480f8a5b9c260d2d422aef92",slot:"message"},this.commentSubmittedMessage||this._translations.commentSubmittedMsg)),this._addingCommentFailed&&e("calcite-alert",{key:"4601ba02cfd8effe6826f8615529046df48f688b","auto-close":!0,class:t,icon:"x-octagon",kind:"danger",label:"",onCalciteAlertClose:()=>{this._addingCommentFailed=!1},open:!0,placement:"top"},e("div",{key:"08c880690050a6796b772c8d740fba1491987e43",slot:"title"},this._translations.error),e("div",{key:"e1e4feb46b19f061bc0f4daeede7daa8eff5f51a",slot:"message"},this._translations.addingCommentFailedMsg)),e("div",{key:"558b7ccf3ed3acc72bf6b9a8d26523021aed0960"},e("calcite-shell",{key:"73992f9a17f5723f9da27350a16555edc56dca46","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}
@@ -1,47 +0,0 @@
1
- /*!
2
- * Copyright 2022 Esri
3
- * Licensed under the Apache License, Version 2.0
4
- * http://www.apache.org/licenses/LICENSE-2.0
5
- */
6
- import{r as t,c as e,h as i,f as a,g as o,H as s,d as n,F as l}from"./p-6eb37ed2.js";import{c,d as r}from"./p-f8d23498.js";import{h as d,i as h,e as b,s as p,y as u,b as f,B as m,t as v,C as g,d as w,g as y}from"./p-66cee72b.js";import{c as x,d as k}from"./p-8d453a3a.js";import{c as z}from"./p-d9e930c8.js";import{c as C,s as _,d as I,u as T}from"./p-a5fc6ab7.js";import{C as L}from"./p-8bfa18b7.js";import{g as H}from"./p-aaa56cbf.js";import{c as S,a as j,b as W}from"./p-e3196917.js";import{c as D}from"./p-1c249530.js";import{c as A,d as E,I as F,u as M}from"./p-1ce2608d.js";import{g as R}from"./p-27d462c0.js";import{i as $}from"./p-4b9b7778.js";import{s as N,a as B,c as O}from"./p-3e828614.js";import{q as P,m as V,d as U,a as J,s as q,h as G,b as K,g as X,k as Y,t as Q,i as Z,c as tt,f as et,e as it,n as at,r as ot,j as st,l as nt,o as lt,p as ct,L as rt}from"./p-c94b0e1a.js";import{d as dt,c as ht}from"./p-0a165419.js";import{l as bt}from"./p-b5b66530.js";import{C as pt,S as ut}from"./p-a471ceb6.js";import{I as ft}from"./p-5de67b86.js";import{g as mt}from"./p-2058b5d9.js";import{s as vt}from"./p-36e59391.js";import{d as gt}from"./p-80cb7c73.js";import{E as wt}from"./p-d0d020a5.js";import"./p-7530a02f.js";import"./p-64a34d92.js";import"./p-8bce991a.js";import"./p-38a87c63.js";import"./p-c8d3207e.js";import"./p-0ef9d36b.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";import"./p-720a12c0.js";import"./p-9bb44f57.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 yt="container",xt="content",kt="float--content",zt="content--overlay",Ct="float-all",_t=class{constructor(i){t(this,i),this.calciteInternalShellPanelResizeStart=e(this,"calciteInternalShellPanelResizeStart",6),this.calciteInternalShellPanelResizeEnd=e(this,"calciteInternalShellPanelResizeEnd",6),this.initialContentWidth=null,this.initialContentHeight=null,this.initialClientX=null,this.initialClientY=null,this.contentWidthMax=null,this.contentWidthMin=null,this.contentHeightMax=null,this.contentHeightMin=null,this.step=1,this.stepMultiplier=10,this.actionBars=[],this.storeContentEl=t=>{this.contentEl=t},this.getKeyAdjustedSize=t=>{const{key:e}=t,{el:i,step:a,stepMultiplier:o,layout:s,contentWidthMin:n,contentWidthMax:l,initialContentWidth:c,initialContentHeight:r,contentHeightMin:h,contentHeightMax:b,position:p}=this,u=a*o;["ArrowUp","ArrowDown","ArrowLeft","ArrowRight","Home","End","PageUp","PageDown"].indexOf(e)>-1&&t.preventDefault();const f=["ArrowLeft","ArrowRight"],m=["ArrowDown","ArrowUp"],v="rtl"===d(i)&&f.includes(e)?-1:1;if("horizontal"===s?"end"===p?e===m[1]||e===f[0]:e===m[0]||e===f[1]:e===m[1]||("end"===p?e===f[0]:e===f[1])){const e=t.shiftKey?u:a;return"horizontal"===s?r+v*e:c+v*e}if("horizontal"===s?"end"===p?e===m[0]||e===f[0]:e===m[1]||e===f[1]:e===m[0]||("end"===p?e===f[1]:e===f[0])){const e=t.shiftKey?u:a;return"horizontal"===s?r-v*e:c-v*e}return"Home"===e&&"horizontal"===s&&"number"==typeof h?h:"Home"===e&&"vertical"===s&&"number"==typeof n?n:"End"===e&&"horizontal"===s&&"number"==typeof b?b:"End"===e&&"vertical"===s&&"number"==typeof l?l:"PageDown"===e?"horizontal"===s?r-u:c-u:"PageUp"===e?"horizontal"===s?r+u:c+u:null},this.initialKeydownWidth=t=>{this.setInitialContentWidth();const e=this.getKeyAdjustedSize(t);"number"==typeof e&&this.setContentWidth(e)},this.initialKeydownHeight=t=>{this.setInitialContentHeight();const e=this.getKeyAdjustedSize(t);"number"==typeof e&&this.setContentHeight(e)},this.separatorKeyDown=t=>{"horizontal"===this.layout?this.initialKeydownHeight(t):this.initialKeydownWidth(t)},this.separatorPointerMove=t=>{t.preventDefault();const{el:e,layout:i,initialContentWidth:a,initialContentHeight:o,position:s,initialClientX:n,initialClientY:l}=this,c="horizontal"===i?t.clientY-l:t.clientX-n,r="vertical"===i&&"rtl"===d(e)?-1:1,h="end"===s?-r*c:r*c;"horizontal"===i?this.setContentHeight(o+h):this.setContentWidth(a+h)},this.separatorPointerUp=t=>{h(t)&&(this.calciteInternalShellPanelResizeEnd.emit(),t.preventDefault(),window.removeEventListener("pointerup",this.separatorPointerUp),window.removeEventListener("pointermove",this.separatorPointerMove))},this.setInitialContentHeight=()=>{this.initialContentHeight=this.contentEl?.getBoundingClientRect().height},this.setInitialContentWidth=()=>{this.initialContentWidth=this.contentEl?.getBoundingClientRect().width},this.separatorPointerDown=t=>{if(!h(t))return;this.calciteInternalShellPanelResizeStart.emit(),t.preventDefault();const{separatorEl:e}=this;e&&document.activeElement!==e&&e.focus(),"horizontal"===this.layout?(this.setInitialContentHeight(),this.initialClientY=t.clientY):(this.setInitialContentWidth(),this.initialClientX=t.clientX),window.addEventListener("pointerup",this.separatorPointerUp),window.addEventListener("pointermove",this.separatorPointerMove)},this.connectSeparator=t=>{this.disconnectSeparator(),this.separatorEl=t,t?.addEventListener("pointerdown",this.separatorPointerDown)},this.disconnectSeparator=()=>{this.separatorEl?.removeEventListener("pointerdown",this.separatorPointerDown)},this.setActionBarsLayout=t=>{t.forEach((t=>t.layout=this.layout))},this.handleActionBarSlotChange=t=>{const e=b(t).filter((t=>t?.matches("calcite-action-bar")));this.actionBars=e,this.setActionBarsLayout(e)},this.handleHeaderSlotChange=t=>{this.hasHeader=p(t)},this.collapsed=!1,this.detached=!1,this.displayMode="dock",this.detachedHeightScale=void 0,this.heightScale=void 0,this.widthScale="m",this.layout="vertical",this.position="start",this.resizable=!1,this.messages=void 0,this.messageOverrides=void 0,this.contentWidth=null,this.contentHeight=null,this.defaultMessages=void 0,this.effectiveLocale="",this.hasHeader=!1}handleDetached(t){t?this.displayMode="float-content":"float-content"!==this.displayMode&&"float"!==this.displayMode||(this.displayMode="dock")}handleDisplayMode(t){this.detached="float-content"===t||"float"===t}handleDetachedHeightScale(t){this.heightScale=t}handleHeightScale(t){this.detachedHeightScale=t}layoutHandler(){this.setActionBarsLayout(this.actionBars)}onMessagesChange(){}connectedCallback(){c(this),x(this),C(this)}async componentWillLoad(){await _(this)}disconnectedCallback(){r(this),this.disconnectSeparator(),k(this),I(this)}componentDidLoad(){this.updateAriaValues()}effectiveLocaleChange(){T(this,this.effectiveLocale)}renderHeader(){return i("div",{class:"content__header",hidden:!this.hasHeader,key:"header"},i("slot",{name:"header",onSlotchange:this.handleHeaderSlotChange}))}render(){const{collapsed:t,position:e,initialContentWidth:a,initialContentHeight:o,contentWidth:s,contentWidthMax:n,contentWidthMin:l,contentHeight:c,contentHeightMax:r,contentHeightMin:h,resizable:b,layout:p,displayMode:u}=this,f=d(this.el),m="float-content"!==u&&"float"!==u&&b,v=m?"horizontal"===p?c?{height:`${c}px`}:null:s?{width:`${s}px`}:null:null,g=!t&&m?i("div",{"aria-label":this.messages.resize,"aria-orientation":"horizontal"===p?"vertical":"horizontal","aria-valuemax":"horizontal"==p?r:n,"aria-valuemin":"horizontal"==p?h:l,"aria-valuenow":"horizontal"==p?c??o:s??a,class:"separator",key:"separator",onKeyDown:this.separatorKeyDown,ref:this.connectSeparator,role:"separator",tabIndex:0,"touch-action":"none"}):null,w=i("div",{class:{[L.rtl]:"rtl"===f,[xt]:!0,[zt]:"overlay"===u,[kt]:"float-content"===u||"float"===u,[L.calciteAnimate]:"overlay"===u,[(()=>"horizontal"===p?"start"===e?L.calciteAnimateInDown:L.calciteAnimateInUp:"ltr"===f&&"end"===e||"rtl"===f&&"start"===e?L.calciteAnimateInLeft:L.calciteAnimateInRight)()]:"overlay"===u},hidden:t,key:"content",ref:this.storeContentEl,style:v},this.renderHeader(),i("div",{class:"content__body"},i("slot",null)),g),y=[i("slot",{key:"action-bar",name:"action-bar",onSlotchange:this.handleActionBarSlotChange}),w];return"end"===e&&y.reverse(),i("div",{class:{[yt]:!0,[Ct]:"float-all"===u}},y)}setContentWidth(t){const{contentWidthMax:e,contentWidthMin:i}=this,a=Math.round(t);this.contentWidth="number"==typeof e&&"number"==typeof i?z(a,i,e):a}updateAriaValues(){const{contentEl:t}=this,e=t&&getComputedStyle(t);e&&("horizontal"===this.layout?this.updateHeights(e):this.updateWidths(e),a(this))}setContentHeight(t){const{contentHeightMax:e,contentHeightMin:i}=this,a=Math.round(t);this.contentHeight="number"==typeof e&&"number"==typeof i?z(a,i,e):a}updateWidths(t){const e=parseInt(t.getPropertyValue("max-width"),10),i=parseInt(t.getPropertyValue("min-width"),10),a=parseInt(t.getPropertyValue("width"),10);"number"!=typeof a||isNaN(a)||(this.initialContentWidth=a),"number"!=typeof e||isNaN(e)||(this.contentWidthMax=e),"number"!=typeof i||isNaN(i)||(this.contentWidthMin=i)}updateHeights(t){const e=parseInt(t.getPropertyValue("max-height"),10),i=parseInt(t.getPropertyValue("min-height"),10),a=parseInt(t.getPropertyValue("height"),10);"number"!=typeof a||isNaN(a)||(this.initialContentHeight=a),"number"!=typeof e||isNaN(e)||(this.contentHeightMax=e),"number"!=typeof i||isNaN(i)||(this.contentHeightMin=i)}static get assetsDirs(){return["assets"]}get el(){return o(this)}static get watchers(){return{detached:["handleDetached"],displayMode:["handleDisplayMode"],detachedHeightScale:["handleDetachedHeightScale"],heightScale:["handleHeightScale"],layout:["layoutHandler"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};_t.style=":host{pointer-events:none;position:relative;display:flex;flex:0 1 auto;align-items:stretch;z-index:var(--calcite-shell-panel-z-index, var(--calcite-z-index));--calcite-shell-panel-detached-max-height:unset;--calcite-shell-panel-max-height:unset;--calcite-internal-shell-panel-shadow-block-start:0 4px 8px -1px rgba(0, 0, 0, 0.08),\n 0 2px 4px -1px rgba(0, 0, 0, 0.04);--calcite-internal-shell-panel-shadow-block-end:0 -4px 8px -1px rgba(0, 0, 0, 0.08),\n 0 -2px 4px -1px rgba(0, 0, 0, 0.04);--calcite-internal-shell-panel-shadow-inline-start:4px 0 8px -1px rgba(0, 0, 0, 0.08),\n 2px 0 4px -1px rgba(0, 0, 0, 0.04);--calcite-internal-shell-panel-shadow-inline-end:-4px 0 8px -1px rgba(0, 0, 0, 0.08),\n -2px 0 4px -1px rgba(0, 0, 0, 0.04)}.calcite--rtl.content--overlay{--calcite-internal-shell-panel-shadow-inline-start:-4px 0 8px -1px rgba(0, 0, 0, 0.08),\n -2px 0 4px -1px rgba(0, 0, 0, 0.04);--calcite-internal-shell-panel-shadow-inline-end:4px 0 8px -1px rgba(0, 0, 0, 0.08),\n 2px 0 4px -1px rgba(0, 0, 0, 0.04)}:host([layout=vertical]){z-index:var(--calcite-shell-panel-z-index, calc(var(--calcite-z-index) + 1))}:host([layout=vertical][display-mode=overlay]){z-index:var(--calcite-shell-panel-z-index, calc(var(--calcite-z-index-header) + 1))}:host([layout=vertical][display-mode=float-all]) .content{flex:2}:host([layout=vertical][width-scale=s]:not([display-mode=float-all])) .content{--calcite-internal-shell-panel-width:var(--calcite-shell-panel-width, 12vw);--calcite-internal-shell-panel-max-width:var(--calcite-shell-panel-max-width, 300px);--calcite-internal-shell-panel-min-width:var(--calcite-shell-panel-min-width, 150px)}:host([layout=vertical][width-scale=s][display-mode=float-all]) .content{--calcite-internal-shell-panel-width:var(--calcite-shell-panel-width, 12vw);--calcite-internal-shell-panel-min-width:var(--calcite-shell-panel-min-width, 150px)}:host([layout=vertical][width-scale=m]:not([display-mode=float-all])) .content{--calcite-internal-shell-panel-width:var(--calcite-shell-panel-width, 20vw);--calcite-internal-shell-panel-max-width:var(--calcite-shell-panel-max-width, 420px);--calcite-internal-shell-panel-min-width:var(--calcite-shell-panel-min-width, 240px)}:host([layout=vertical][width-scale=m][display-mode=float-all]) .content{--calcite-internal-shell-panel-width:var(--calcite-shell-panel-width, 20vw);--calcite-internal-shell-panel-min-width:var(--calcite-shell-panel-min-width, 240px)}:host([layout=vertical][width-scale=l]:not([display-mode=float-all])) .content{--calcite-internal-shell-panel-width:var(--calcite-shell-panel-width, 45vw);--calcite-internal-shell-panel-max-width:var(--calcite-shell-panel-max-width, 680px);--calcite-internal-shell-panel-min-width:var(--calcite-shell-panel-min-width, 340px)}:host([layout=vertical][width-scale=l][display-mode=float-all]) .content{--calcite-internal-shell-panel-width:var(--calcite-shell-panel-width, 45vw);--calcite-internal-shell-panel-min-width:var(--calcite-shell-panel-min-width, 340px)}:host([layout=horizontal][height-scale=s]) .content{--calcite-internal-shell-panel-max-height:var(\n --calcite-shell-panel-max-height,\n var(--calcite-shell-panel-detached-max-height, 20vh)\n )}:host([layout=horizontal]) .content{--calcite-internal-shell-panel-min-height:var(--calcite-shell-panel-min-height, 5vh);--calcite-internal-shell-panel-max-height:var(\n --calcite-shell-panel-max-height,\n var(--calcite-shell-panel-detached-max-height, 30vh)\n )}:host([layout=horizontal][height-scale=l]) .content{--calcite-internal-shell-panel-max-height:var(\n --calcite-shell-panel-max-height,\n var(--calcite-shell-panel-detached-max-height, 40vh)\n )}.container{pointer-events:none;box-sizing:border-box;display:flex;flex:1 1 auto;align-items:stretch;background-color:transparent;font-size:var(--calcite-font-size--1);color:var(--calcite-color-text-2)}.container *{box-sizing:border-box}.container.float-all{margin-block:0.5rem;margin-inline:0.5rem}:host([layout=horizontal]) .container{flex-direction:column}:host(:hover) .separator:not(:hover):not(:focus),:host(:focus-within) .separator:not(:hover):not(:focus){opacity:1;background-color:var(--calcite-color-border-3)}.separator{pointer-events:auto;position:absolute;display:flex;background-color:transparent;opacity: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;cursor:col-resize;outline:none}.separator:hover{opacity:1;background-color:var(--calcite-color-border-2)}.separator:focus{background-color:var(--calcite-color-brand);opacity:1}:host([layout=vertical]) .separator{inset-block:0px;block-size:100%;inline-size:0.125rem;cursor:col-resize}:host([layout=horizontal][position=start]) .separator{inset-block-end:0px}:host([layout=horizontal][position=end]) .separator{inset-block-start:0px}:host([layout=horizontal]) .separator{inset-inline-end:0px;block-size:0.125rem;inline-size:100%;cursor:row-resize}:host([layout=vertical][position=start]) .separator{inset-inline-end:-2px}:host([layout=horizontal][position=start]) .separator{inset-block-end:-2px}:host([layout=vertical][position=end]) .separator{inset-inline-start:-2px}:host([layout=horizontal][position=end]) .separator{inset-block-start:-2px}::slotted(calcite-panel),::slotted(calcite-flow){block-size:100%;inline-size:100%;flex:1 1 auto;max-block-size:unset;max-inline-size:unset}::slotted(.calcite-match-height){display:flex;flex:1 1 auto;overflow:hidden}.content{pointer-events:auto;display:flex;flex-direction:column;flex-wrap:nowrap;align-items:stretch;align-self:stretch;background-color:var(--calcite-color-background);padding:0px;transition:max-block-size var(--calcite-animation-timing), max-inline-size var(--calcite-animation-timing)}:host([layout=vertical]:not([display-mode=float-all])) .content{inline-size:var(--calcite-internal-shell-panel-width);max-inline-size:var(--calcite-internal-shell-panel-max-width);min-inline-size:var(--calcite-internal-shell-panel-min-width)}:host([layout=vertical][display-mode=float-all]) .content{inline-size:var(--calcite-internal-shell-panel-width);min-inline-size:var(--calcite-internal-shell-panel-min-width)}:host([layout=horizontal]) .content{block-size:var(--calcite-internal-shell-panel-height);max-block-size:var(--calcite-internal-shell-panel-max-height);min-block-size:var(--calcite-internal-shell-panel-min-height)}.content__header{display:flex;flex:0 1 auto;flex-direction:column;flex-wrap:nowrap;align-items:stretch}.content__body{display:flex;flex:1 1 auto;flex-direction:column;overflow:hidden}.content--overlay{position:absolute;--tw-shadow:0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);--tw-shadow-colored:0 4px 8px -1px var(--tw-shadow-color), 0 2px 4px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([layout=vertical]) .content--overlay{inset-block-start:0px;block-size:100%}:host([layout=horizontal]) .content--overlay{inset-inline-start:0px;inline-size:100%}:host([layout=vertical][position=start]) .content--overlay{inset-inline-start:100%;box-shadow:var(--calcite-internal-shell-panel-shadow-inline-start)}:host([layout=vertical][position=end]) .content--overlay{inset-inline-end:100%;box-shadow:var(--calcite-internal-shell-panel-shadow-inline-end)}:host([layout=horizontal][position=start]) .content--overlay{inset-block-start:100%;box-shadow:var(--calcite-internal-shell-panel-shadow-block-start)}:host([layout=horizontal][position=end]) .content--overlay{inset-block-end:100%;box-shadow:var(--calcite-internal-shell-panel-shadow-block-end)}.float--content{margin-inline:0.5rem;margin-block:0.5rem auto;block-size:auto;overflow:hidden;border-radius:0.25rem;--tw-shadow:0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);--tw-shadow-colored:0 4px 8px -1px var(--tw-shadow-color), 0 2px 4px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);max-block-size:var(--calcite-internal-shell-panel-max-height, calc(100% - 1rem))}.float--content ::slotted(calcite-panel),.float--content ::slotted(calcite-flow){max-block-size:unset}:host([layout=horizontal]) .float--content{margin-block:0.5rem}:host([position=start]) .float--content ::slotted(calcite-panel),:host([position=start]) .float--content ::slotted(calcite-flow),:host([position=end]) .float--content ::slotted(calcite-panel),:host([position=end]) .float--content ::slotted(calcite-flow){border-style:none}.content[hidden]{display:none}slot[name=action-bar]::slotted(calcite-action-bar),.content ::slotted(calcite-flow),.content ::slotted(calcite-panel:not([closed])){border-width:1px;border-style:solid;border-color:var(--calcite-color-border-3)}:host([position=start]:not([slot=panel-end]):not([display-mode=float-all])) slot[name=action-bar]::slotted(calcite-action-bar),:host([position=start]:not([slot=panel-end]):not([display-mode=float-all])) .content ::slotted(calcite-flow),:host([position=start]:not([slot=panel-end]):not([display-mode=float-all])) .content ::slotted(calcite-panel),:host([position=end][slot=panel-start]) slot[name=action-bar]::slotted(calcite-action-bar),:host([position=end][slot=panel-start]) .content ::slotted(calcite-flow),:host([position=end][slot=panel-start]) .content ::slotted(calcite-panel){border-inline-start:none}:host([position=end]:not([slot=panel-start])) slot[name=action-bar]::slotted(calcite-action-bar),:host([position=end]:not([slot=panel-start])) .content ::slotted(calcite-flow),:host([position=end]:not([slot=panel-start])) .content ::slotted(calcite-panel),:host([position=start][slot=panel-end]) slot[name=action-bar]::slotted(calcite-action-bar),:host([position=start][slot=panel-end]) .content ::slotted(calcite-flow),:host([position=start][slot=panel-end]) .content ::slotted(calcite-panel){border-inline-end:none}:host([layout=horizontal]:not([display-mode=float-all])) slot[name=action-bar]::slotted(calcite-action-bar){border-inline:0}:host([layout=horizontal][position=start]:not([display-mode=float-all])) .content ::slotted(calcite-flow),:host([layout=horizontal][position=start]:not([display-mode=float-all])) .content ::slotted(calcite-panel){border-inline:0;border-block-start:0}:host([layout=horizontal][position=end]) .content ::slotted(calcite-flow),:host([layout=horizontal][position=end]) .content ::slotted(calcite-panel){border-inline:0;border-block-end:0}:host([hidden]){display:none}[hidden]{display:none}";
12
- /*!
13
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
14
- * See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
15
- * v2.12.2
16
- */
17
- const It="container",Tt=class{constructor(e){t(this,e),this.guid=`calcite-tab-title-${H()}`,this.tab=void 0,this.selected=!1,this.scale="m",this.labeledBy=void 0}render(){return i(s,{key:"781e0b82d69d7ea6b2bd6e15ed0d1c5248f24d05","aria-labelledby":this.labeledBy,id:this.el.id||this.guid},i("div",{key:"58a6be23b29e8bee598ecf0cd97ef0578fd4e197",class:{[It]:!0,[`scale-${this.scale}`]:!0},role:"tabpanel",tabIndex:this.selected?0:-1},i("section",{key:"fbff1dec6ca2494f2485528679c14b4b0741abd8",class:"content"},i("slot",{key:"fc52db6fd58bd87f137e887837df5c08772809a3"}))))}connectedCallback(){this.parentTabsEl=this.el.closest("calcite-tabs")}disconnectedCallback(){document.body?.dispatchEvent(new CustomEvent("calciteTabUnregister",{detail:this.el}))}internalTabChangeHandler(t){t.composedPath().find((t=>"CALCITE-TABS"===t.tagName))===this.parentTabsEl&&(this.tab?this.selected=this.tab===t.detail.tab:this.getTabIndex().then((e=>{this.selected=e===t.detail.tab})),t.stopPropagation())}async getTabIndex(){return Array.prototype.indexOf.call(u(this.el.parentElement.children).filter((t=>t.matches("calcite-tab"))),this.el)}async updateAriaInfo(t=[],e=[]){this.labeledBy=e[t.indexOf(this.el.id)]||null}get el(){return o(this)}};Tt.style=":host([selected]) section,:host([selected]) .container{display:block}:host{display:none;block-size:100%;inline-size:100%}:host([selected]){display:block;block-size:100%;inline-size:100%;overflow:auto}.content{box-sizing:border-box;padding-block:var(--calcite-internal-tab-content-block-padding)}.scale-s{--calcite-internal-tab-content-block-padding:var(--calcite-tab-content-block-padding, 0.25rem);font-size:var(--calcite-font-size--2);line-height:1rem}.scale-m{--calcite-internal-tab-content-block-padding:var(--calcite-tab-content-block-padding, 0.5rem);font-size:var(--calcite-font-size--1);line-height:1rem}.scale-l{--calcite-internal-tab-content-block-padding:var(--calcite-tab-content-block-padding, 0.625rem);font-size:var(--calcite-font-size-0);line-height:1.25rem}section,.container{display:none;block-size:100%;inline-size:100%}.container{outline-color:transparent}.container:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-color-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n )}:host([hidden]){display:none}[hidden]{display:none}";
18
- /*!
19
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
20
- * See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
21
- * v2.12.2
22
- */
23
- const Lt="tab-nav",Ht="tab-nav--end-overflow",St="tab-nav--start-overflow",jt="scroll-button",Wt="scroll-button-container",Dt="scroll-button-container--backward",At="scroll-button-container--forward",Et="tab-titles-slot-wrapper",Ft=class{constructor(a){t(this,a),this.calciteTabChange=e(this,"calciteTabChange",6),this.calciteInternalTabNavSlotChange=e(this,"calciteInternalTabNavSlotChange",7),this.calciteInternalTabChange=e(this,"calciteInternalTabChange",6),this.effectiveDir="ltr",this.lastScrollWheelAxis="x",this.resizeObserver=D("resize",(()=>{this.updateScrollingState()})),this.onTabTitleWheel=t=>{t.preventDefault();const{deltaX:e,deltaY:i}=t,a=Math.abs(e),o=Math.abs(i);let s;a===o?s="x"===this.lastScrollWheelAxis?e:i:a>o?(s=e,this.lastScrollWheelAxis="x"):(s=i,this.lastScrollWheelAxis="y"),t.currentTarget.scrollBy(("rtl"===this.effectiveDir?-1:1)*s,0)},this.onSlotChange=t=>{this.intersectionObserver?.disconnect();const e=b(t,"calcite-tab-title");e.forEach((t=>{this.intersectionObserver?.observe(t)})),this.calciteInternalTabNavSlotChange.emit(e)},this.storeTabTitleWrapperRef=t=>{this.tabTitleContainerEl=t,this.intersectionObserver=D("intersection",(()=>this.updateScrollingState()),{root:t,threshold:[0,.5,1]})},this.scrollToTabTitles=t=>{n((()=>{const e=this.tabTitleContainerEl,i=e.getBoundingClientRect(),a=Array.from(this.el.querySelectorAll("calcite-tab-title")),{effectiveDir:o}=this;"forward"===t&&a.reverse();let s=null;if(a.forEach((e=>{const a=e.getBoundingClientRect(),n=i.x+i.width,l=a.x+a.width;"forward"===t&&"ltr"===o||"backward"===t&&"rtl"===o?(a.x>n||l>n&&a.x>i.x)&&(s=e):(l<i.x||l<n&&a.x<i.x)&&(s=e)})),s){const{scrollerButtonWidth:i}=this;e.scrollTo({left:s.offsetLeft+("forward"===t&&"ltr"===o||"backward"===t&&"rtl"===o?-i:s.offsetWidth-e.clientWidth+i),behavior:"smooth"})}}))},this.scrollToNextTabTitles=()=>this.scrollToTabTitles("forward"),this.scrollToPreviousTabTitles=()=>this.scrollToTabTitles("backward"),this.handleTabFocus=(t,e,i)=>{const a=f(this.enabledTabTitles,e,i);this.scrollTabTitleIntoView(a,"instant"),t.stopPropagation()},this.onTabTitleScroll=()=>{this.updateScrollingState()},this.renderScrollButton=t=>{const{bordered:e,messages:a,hasOverflowingStartTabTitle:o,hasOverflowingEndTabTitle:s,scale:n}=this,l="end"===t;return i("div",{class:{[Wt]:!0,[Dt]:!l,[At]:l},hidden:l&&!s||!l&&!o,key:t},i("calcite-button",{appearance:e?"outline-fill":"transparent","aria-label":l?a.nextTabTitles:a.previousTabTitles,class:{[jt]:!0},iconFlipRtl:"both",iconStart:l?"chevron-right":"chevron-left",kind:"neutral",onClick:l?this.scrollToNextTabTitles:this.scrollToPreviousTabTitles,scale:n,tabIndex:-1}))},this.storageId=void 0,this.syncId=void 0,this.selectedTitle=null,this.scale="m",this.layout="inline",this.position="bottom",this.bordered=!1,this.messages=void 0,this.messageOverrides=void 0,this.defaultMessages=void 0,this.effectiveLocale="",this.hasOverflowingStartTabTitle=!1,this.hasOverflowingEndTabTitle=!1,this.selectedTabId=void 0}selectedTitleChanged(){this.calciteInternalTabChange.emit({tab:this.selectedTabId})}onMessagesChange(){}connectedCallback(){this.parentTabsEl=this.el.closest("calcite-tabs"),this.resizeObserver?.observe(this.el),x(this),C(this)}async componentWillLoad(){const t=`calcite-tab-nav-${this.storageId}`;if(localStorage&&this.storageId&&localStorage.getItem(t)){const e=JSON.parse(localStorage.getItem(t));this.selectedTabId=e}await _(this)}componentDidLoad(){this.scrollTabTitleIntoView(this.selectedTitle,"instant")}componentWillRender(){const{parentTabsEl:t}=this;this.layout=t?.layout,this.bordered=t?.bordered,this.effectiveDir=d(this.el)}componentDidRender(){this.tabTitles.length&&this.tabTitles.every((t=>!t.selected))&&!this.selectedTabId&&this.tabTitles[0].getTabIdentifier().then((t=>{this.calciteInternalTabChange.emit({tab:t})}))}disconnectedCallback(){this.resizeObserver?.disconnect(),k(this),I(this)}render(){return i(s,{key:"e2e130cc399d8bb88201f283de2eef17a46882fc",role:"tablist"},i("div",{key:"2beae02bec71c759201063e4820ce19cacd1c432",class:{[Lt]:!0,[St]:!!this.hasOverflowingStartTabTitle,[Ht]:!!this.hasOverflowingEndTabTitle,[`scale-${this.scale}`]:!0,[`position-${this.position}`]:!0,[L.rtl]:"rtl"===this.effectiveDir}},this.renderScrollButton("start"),i("div",{key:"609a5b8efc1bd46810217ab17256aaad7432586b",class:{[Et]:!0},onScroll:this.onTabTitleScroll,onWheel:this.onTabTitleWheel,ref:this.storeTabTitleWrapperRef},i("slot",{key:"7436f2fcacf2b483a77c741a2449f783c9c4c148",onSlotchange:this.onSlotChange})),this.renderScrollButton("end")))}focusPreviousTabHandler(t){this.handleTabFocus(t,t.target,"previous")}focusNextTabHandler(t){this.handleTabFocus(t,t.target,"next")}focusFirstTabHandler(t){this.handleTabFocus(t,t.target,"first")}focusLastTabHandler(t){this.handleTabFocus(t,t.target,"last")}internalActivateTabHandler(t){const e=t.target;this.selectedTabId=t.detail.tab?t.detail.tab:this.getIndexOfTabTitle(e),t.stopPropagation(),this.selectedTitle=e,this.scrollTabTitleIntoView(e)}scrollTabTitleIntoView(t,e="smooth"){t&&n((()=>{const i="ltr"===this.effectiveDir,a=this.tabTitleContainerEl,o=a.getBoundingClientRect(),s=t.getBoundingClientRect(),n=a.scrollLeft,l=i?this.hasOverflowingEndTabTitle:this.hasOverflowingStartTabTitle;s.left<o.left+((i?this.hasOverflowingStartTabTitle:this.hasOverflowingEndTabTitle)?this.scrollerButtonWidth:0)?a.scrollTo({left:n+(s.left-o.left)-this.scrollerButtonWidth,behavior:e}):s.right>o.right-(l?this.scrollerButtonWidth:0)&&a.scrollTo({left:n+(s.right-o.right)+this.scrollerButtonWidth,behavior:e})}))}activateTabHandler(t){this.calciteTabChange.emit(),t.stopPropagation()}internalCloseTabHandler(t){this.handleTabTitleClose(t.target),t.stopPropagation()}async updateTabTitles(t){t.target.selected&&(this.selectedTabId=t.detail,this.selectedTitle=await this.getTabTitleById(this.selectedTabId))}globalInternalTabChangeHandler(t){this.syncId&&t.target!==this.el&&t.target.syncId===this.syncId&&this.selectedTabId!==t.detail.tab&&(this.selectedTabId=t.detail.tab),t.stopPropagation()}effectiveLocaleChange(){T(this,this.effectiveLocale)}async selectedTabIdChanged(){localStorage&&this.storageId&&null!=this.selectedTabId&&localStorage.setItem(`calcite-tab-nav-${this.storageId}`,JSON.stringify(this.selectedTabId)),this.calciteInternalTabChange.emit({tab:this.selectedTabId})}get scrollerButtonWidth(){const{scale:t}=this;return parseInt("s"===t?S:"m"===t?j:W)}updateScrollingState(){const t=this.tabTitleContainerEl;if(!t)return;let e,i;const a=t.scrollLeft,o=t.clientWidth,s=t.scrollWidth;"ltr"===this.effectiveDir?(e=a>0,i=a+o<s):(e=a<0,i=a!==-(s-o)),this.hasOverflowingStartTabTitle=e,this.hasOverflowingEndTabTitle=i}getIndexOfTabTitle(t,e=this.tabTitles){return e.indexOf(t)}async getTabTitleById(t){return Promise.all(this.tabTitles.map((t=>t.getTabIdentifier()))).then((e=>this.tabTitles[e.indexOf(t)]))}get tabTitles(){return m(this.el,"calcite-tab-title")}get enabledTabTitles(){return m(this.el,"calcite-tab-title:not([disabled])").filter((t=>!t.closed))}handleTabTitleClose(t){const{tabTitles:e}=this,i=t.selected,a=e.reduce(((t,e,i)=>e.closed?t:[...t,i]),[]),o=a.length;if(1===o&&e[a[0]].closable)e[a[0]].closable=!1,this.selectedTabId=a[0],i&&e[a[0]].activateTab();else if(o>1){const i=e.findIndex((e=>e===t)),s=a.find((t=>t>i));this.selectedTabId===i&&(this.selectedTabId=s||o-1,e[this.selectedTabId].activateTab())}requestAnimationFrame((()=>{e[this.selectedTabId].focus()}))}static get assetsDirs(){return["assets"]}get el(){return o(this)}static get watchers(){return{selectedTitle:["selectedTitleChanged"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"],selectedTabId:["selectedTabIdChanged"]}}};Ft.style=':host{--calcite-internal-tab-nav-gradient-start-side:left;--calcite-internal-tab-nav-gradient-end-side:right;position:relative;display:flex}.scale-s{--calcite-internal-tab-nav-scroller-button-width:24px;min-block-size:1.5rem}.scale-m{--calcite-internal-tab-nav-scroller-button-width:32px;min-block-size:2rem}.scale-l{--calcite-internal-tab-nav-scroller-button-width:44px;min-block-size:2.75rem}.calcite--rtl{--calcite-internal-tab-nav-gradient-start-side:right;--calcite-internal-tab-nav-gradient-end-side:left}.tab-nav--start-overflow .tab-titles-slot-wrapper{-webkit-mask-image:linear-gradient(to var(--calcite-internal-tab-nav-gradient-end-side), transparent, transparent var(--calcite-internal-tab-nav-scroller-button-width), white var(--calcite-internal-tab-nav-scroller-button-width), white 51%);mask-image:linear-gradient(to var(--calcite-internal-tab-nav-gradient-end-side), transparent, transparent var(--calcite-internal-tab-nav-scroller-button-width), white var(--calcite-internal-tab-nav-scroller-button-width), white 51%)}.tab-nav--end-overflow .tab-titles-slot-wrapper{-webkit-mask-image:linear-gradient(to var(--calcite-internal-tab-nav-gradient-start-side), transparent, transparent var(--calcite-internal-tab-nav-scroller-button-width), white var(--calcite-internal-tab-nav-scroller-button-width), white 51%);mask-image:linear-gradient(to var(--calcite-internal-tab-nav-gradient-start-side), transparent, transparent var(--calcite-internal-tab-nav-scroller-button-width), white var(--calcite-internal-tab-nav-scroller-button-width), white 51%)}.tab-nav--start-overflow.tab-nav--end-overflow .tab-titles-slot-wrapper{-webkit-mask-image:linear-gradient(to var(--calcite-internal-tab-nav-gradient-end-side), transparent, transparent var(--calcite-internal-tab-nav-scroller-button-width), white var(--calcite-internal-tab-nav-scroller-button-width), white 51%, transparent 51%), linear-gradient(to var(--calcite-internal-tab-nav-gradient-start-side), transparent, transparent var(--calcite-internal-tab-nav-scroller-button-width), white var(--calcite-internal-tab-nav-scroller-button-width), white 51%, transparent 51%);mask-image:linear-gradient(to var(--calcite-internal-tab-nav-gradient-end-side), transparent, transparent var(--calcite-internal-tab-nav-scroller-button-width), white var(--calcite-internal-tab-nav-scroller-button-width), white 51%, transparent 51%), linear-gradient(to var(--calcite-internal-tab-nav-gradient-start-side), transparent, transparent var(--calcite-internal-tab-nav-scroller-button-width), white var(--calcite-internal-tab-nav-scroller-button-width), white 51%, transparent 51%)}.tab-nav::-webkit-scrollbar{display:none;-ms-overflow-style:none;scrollbar-width:none}:host([layout=center]) ::slotted(calcite-tab-title){display:flex;flex-grow:1;flex-shrink:0;min-inline-size:auto;white-space:nowrap}:host([layout=center]) ::slotted(calcite-tab-title[selected]){overflow:unset}:host(:not([bordered])) .scale-l{--calcite-internal-tab-nav-gap:var(--calcite-size-xxl)}:host(:not([bordered])) .scale-m{--calcite-internal-tab-nav-gap:var(--calcite-size-xl)}:host(:not([bordered])) .scale-s{--calcite-internal-tab-nav-gap:var(--calcite-size-lg)}:host(:not([bordered])) .tab-titles-slot-wrapper{gap:var(--calcite-internal-tab-nav-gap)}:host([layout=center]:not([bordered])) .tab-titles-slot-wrapper{padding-inline:var(--calcite-spacing-xxl)}.tab-nav,.tab-titles-slot-wrapper{display:flex;inline-size:100%;justify-content:flex-start;overflow:hidden;white-space:nowrap}.scroll-button-container{position:absolute;inset-block:0px}.scroll-button-container calcite-button{--calcite-offset-invert-focus:1;--calcite-color-text-1:var(--calcite-color-text-3);block-size:100%}.scroll-button-container calcite-button:hover{--calcite-color-text-1:unset;--calcite-color-foreground-1:var(--calcite-color-transparent-hover);--calcite-color-foreground-3:var(--calcite-color-transparent)}.scroll-button-container--forward{inset-inline-end:0;z-index:var(--calcite-z-index)}.scroll-button-container--backward{inset-inline-start:0;z-index:var(--calcite-z-index)}:host(:not([bordered])) .scroll-button-container--backward::before,:host(:not([bordered])) .scroll-button-container--forward::before{background-color:var(--calcite-color-border-3);content:"";inline-size:var(--calcite-border-width-sm);inset-block-start:var(--calcite-border-width-md);inset-block-end:var(--calcite-border-width-md);position:absolute}:host(:not([bordered])) .scroll-button-container--backward::before{inset-inline-end:0}:host(:not([bordered])) .scroll-button-container--forward::before{inset-inline-start:0}:host([hidden]){display:none}[hidden]{display:none}';
24
- /*!
25
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
26
- * See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
27
- * v2.12.2
28
- */
29
- const Mt="close-button",Rt="container",$t="container--bottom",Nt="content",Bt="content--has-text",Ot="icon-end",Pt="icon-present",Vt="icon-start",Ut="calcite-tab-title--icon",Jt=t=>`scale-${t}`,qt=class{constructor(i){t(this,i),this.calciteTabsActivate=e(this,"calciteTabsActivate",6),this.calciteInternalTabsActivate=e(this,"calciteInternalTabsActivate",6),this.calciteTabsClose=e(this,"calciteTabsClose",6),this.calciteInternalTabsClose=e(this,"calciteInternalTabsClose",6),this.calciteInternalTabsFocusNext=e(this,"calciteInternalTabsFocusNext",6),this.calciteInternalTabsFocusPrevious=e(this,"calciteInternalTabsFocusPrevious",6),this.calciteInternalTabsFocusFirst=e(this,"calciteInternalTabsFocusFirst",6),this.calciteInternalTabsFocusLast=e(this,"calciteInternalTabsFocusLast",6),this.calciteInternalTabTitleRegister=e(this,"calciteInternalTabTitleRegister",6),this.calciteInternalTabIconChanged=e(this,"calciteInternalTabIconChanged",6),this.closeClickHandler=()=>{this.closeTabTitleAndNotify()},this.mutationObserver=D("mutation",(()=>this.updateHasText())),this.resizeObserver=D("resize",(()=>{this.calciteInternalTabIconChanged.emit()})),this.guid=`calcite-tab-title-${H()}`,this.selected=!1,this.closable=!1,this.closed=!1,this.disabled=!1,this.iconEnd=void 0,this.iconFlipRtl=void 0,this.iconStart=void 0,this.layout=void 0,this.position="top",this.scale="m",this.bordered=!1,this.tab=void 0,this.messages=void 0,this.messageOverrides=void 0,this.controls=void 0,this.defaultMessages=void 0,this.effectiveLocale=void 0,this.hasText=!1}selectedHandler(){this.selected&&this.activateTab(!1)}onMessagesChange(){}connectedCallback(){A(this),x(this),C(this),this.setupTextContentObserver(),this.parentTabNavEl=this.el.closest("calcite-tab-nav"),this.parentTabsEl=this.el.closest("calcite-tabs")}disconnectedCallback(){this.mutationObserver?.disconnect(),document.body?.dispatchEvent(new CustomEvent("calciteTabTitleUnregister",{detail:this.el})),this.resizeObserver?.disconnect(),E(this),k(this),I(this)}async componentWillLoad(){await _(this),$()&&this.updateHasText(),this.tab&&this.selected&&this.activateTab(!1)}componentWillRender(){this.parentTabsEl&&(this.layout=this.parentTabsEl.layout,this.bordered=this.parentTabsEl.bordered)}render(){const{el:t,closed:e}=this,a=t.id||this.guid,o=i("calcite-icon",{key:"20ea18dabdb4cabe8a032d0799f3c757bc90c91d",class:{[Ut]:!0,[Vt]:!0},flipRtl:"start"===this.iconFlipRtl||"both"===this.iconFlipRtl,icon:this.iconStart,scale:R(this.scale)}),n=i("calcite-icon",{key:"ebd3913a334a959e8962addd45e5077ee82f2ca8",class:{[Ut]:!0,[Ot]:!0},flipRtl:"end"===this.iconFlipRtl||"both"===this.iconFlipRtl,icon:this.iconEnd,scale:R(this.scale)});return i(s,{key:"58a72fa4a6e961c3414dfe224a4e235892784707","aria-controls":this.controls,"aria-selected":v(this.selected),id:a,role:"tab",tabIndex:this.selected&&!this.disabled?0:-1},i(F,{key:"fe7662ade3001579b664772b4672d6bebd06a82b",disabled:this.disabled},i("div",{key:"ea226b71436922de6bae2e8e542ae0adf08add1b",class:{[Rt]:!0,[$t]:"bottom"===this.position,[Pt]:!!this.iconStart||!!this.iconEnd,[Jt(this.scale)]:!0},hidden:e,ref:t=>this.resizeObserver?.observe(t)},i("div",{key:"737609daa04d9dc18b46872c49b82cf211ba9b5a",class:{[Nt]:!0,[Bt]:this.hasText}},this.iconStart?o:null,i("slot",{key:"fb500a910e5c6bfcd8571e2d109331dd88f2544d"}),this.iconEnd?n:null),this.renderCloseButton(),i("div",{key:"3fd13c6f459e05cea88c40809b7220369866a2b9",class:"selected-indicator"}))))}renderCloseButton(){const{closable:t,messages:e}=this;return t?i("button",{"aria-label":e.close,class:Mt,disabled:!1,key:Mt,onClick:this.closeClickHandler,ref:t=>this.closeButtonEl=t,title:e.close,type:"button"},i("calcite-icon",{icon:"x",scale:R(this.scale)})):null}async componentDidLoad(){this.calciteInternalTabTitleRegister.emit(await this.getTabIdentifier())}componentDidRender(){M(this)}internalTabChangeHandler(t){t.composedPath().find((t=>"CALCITE-TABS"===t.tagName))===this.parentTabsEl&&(this.tab?this.selected=this.tab===t.detail.tab:this.getTabIndex().then((e=>{this.selected=e===t.detail.tab})),t.stopPropagation())}onClick(){this.activateTab()}keyDownHandler(t){switch(t.key){case" ":case"Enter":t.composedPath().includes(this.closeButtonEl)||(this.activateTab(),t.preventDefault());break;case"ArrowRight":t.preventDefault(),"ltr"===d(this.el)?this.calciteInternalTabsFocusNext.emit():this.calciteInternalTabsFocusPrevious.emit();break;case"ArrowLeft":t.preventDefault(),"ltr"===d(this.el)?this.calciteInternalTabsFocusPrevious.emit():this.calciteInternalTabsFocusNext.emit();break;case"Home":t.preventDefault(),this.calciteInternalTabsFocusFirst.emit();break;case"End":t.preventDefault(),this.calciteInternalTabsFocusLast.emit()}}async getTabIndex(){return Array.prototype.indexOf.call(u(this.el.parentElement.children).filter((t=>t.matches("calcite-tab-title"))),this.el)}async getTabIdentifier(){return this.tab?this.tab:this.getTabIndex()}async updateAriaInfo(t=[],e=[]){this.controls=t[e.indexOf(this.el.id)]||null}async activateTab(t=!0){this.disabled||this.closed||(this.calciteInternalTabsActivate.emit({tab:this.tab}),t&&requestAnimationFrame((()=>this.calciteTabsActivate.emit())))}effectiveLocaleChange(){T(this,this.effectiveLocale)}updateHasText(){this.hasText=this.el.textContent.trim().length>0}setupTextContentObserver(){this.mutationObserver?.observe(this.el,{childList:!0,subtree:!0})}closeTabTitleAndNotify(){this.closed=!0,this.calciteInternalTabsClose.emit({tab:this.tab}),this.calciteTabsClose.emit()}static get assetsDirs(){return["assets"]}get el(){return o(this)}static get watchers(){return{selected:["selectedHandler"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};qt.style=':host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:block;outline:2px solid transparent;outline-offset:2px;margin-inline-start:0px}:host([layout=inline]){flex:0 1 auto}:host([layout=center]){flex:1 1 auto}.content{position:relative;margin-block-end:0.125rem;box-sizing:border-box;display:flex;block-size:100%;align-items:center;justify-content:center}.scale-s .content{padding-block:0.25rem;font-size:var(--calcite-font-size--2);line-height:1rem}.scale-s .close-button{inline-size:1.25rem}.scale-m .content{padding-block:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem}.scale-m .close-button{inline-size:1.75rem}.scale-l .content{padding-block:0.625rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}.scale-l .close-button{inline-size:2rem}:host([closable]) .content{border-block-end-color:transparent}:host([layout=inline]) .content,:host([layout=center]) .content{padding-inline:0.25rem}:host([layout=center]) .scale-s,:host([layout=center]) .scale-m,:host([layout=center]) .scale-l{margin-block:0px;justify-content:center;text-align:center}:host([layout=center]) .scale-s .content,:host([layout=center]) .scale-m .content,:host([layout=center]) .scale-l .content{flex:1 1 auto;flex-grow:1}.container{position:relative;box-sizing:border-box;display:flex;block-size:100%;inline-size:100%;cursor:pointer;align-content:center;justify-content:space-between;padding-inline:0px;font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-color-text-3);outline-color:transparent;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}.selected-indicator{position:absolute;display:block;block-size:0.125rem;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;inset-block-end:0;inset-inline-start:0;inset-inline-end:0;inline-size:100%}.container--bottom .selected-indicator{inset-block-end:unset;inset-block-start:0}:host([bordered]) .selected-indicator{inset-block-start:0;inset-block-end:unset;inset-inline-start:-1px;inset-inline-end:0;inline-size:calc(100% + var(--calcite-spacing-base))}:host([bordered]) .container:not(.container--bottom){border-block-end:1px solid transparent}:host([bordered]:not([selected]):hover) .container:not(.container--bottom){border-block-end:1px solid var(--calcite-color-border-1)}:host([bordered]:not([selected]):hover:not(:focus)) .selected-indicator{background-color:var(--calcite-color-foreground-2)}:host([bordered]:not([selected]):hover:not(:focus)) .container:not(.container--bottom) .selected-indicator{box-shadow:inset 0 1px var(--calcite-color-border-1)}:host([bordered]:not([selected]):hover:not(:focus)) .container.container--bottom .selected-indicator{box-shadow:inset 0 -1px var(--calcite-color-border-1)}:host([bordered][selected]) .container::after{position:absolute;display:block;block-size:0.125rem;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;inset-block-end:-1px;inset-inline-start:0;inset-inline-end:0;inline-size:100%;background:var(--calcite-color-foreground-1);content:""}:host([bordered][selected]) .container.container--bottom::after{inset-block-start:-1px}:host([bordered][selected]:hover) .container::after{background:var(--calcite-color-foreground-2)}:host([bordered][selected]:focus) .container::after{background:transparent}:host([bordered]) .container--bottom .selected-indicator{inset-block-start:unset;inset-block-end:0}:host([selected]) .selected-indicator,:host([selected]:hover) .selected-indicator{background-color:var(--calcite-color-brand)}:host(:hover) .selected-indicator{background-color:var(--calcite-color-border-3)}:host(:focus) .selected-indicator,:host(:active) .selected-indicator{background-color:var(--calcite-color-brand)}@media (forced-colors: active){.selected-indicator{background-color:highlight}}:host([closed]){display:none}:host([selected]) .container{border-color:transparent;color:var(--calcite-color-text-1)}:host(:focus) .container{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-color-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n )}:host(:focus) .container:focus-within{outline-color:transparent}:host(:active) a,:host(:focus) a,:host(:hover) a{border-color:var(--calcite-color-border-2);color:var(--calcite-color-text-1);text-decoration-line:none}:host([disabled]) .container{pointer-events:none;opacity:0.5}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}.calcite-tab-title--icon{position:relative;margin:0px;display:inline-flex;align-self:center}.calcite-tab-title--icon svg{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}.content--has-text{padding:0.25rem}.content--has-text .calcite-tab-title--icon.icon-start{margin-inline-end:var(--calcite-spacing-sm)}.content--has-text .calcite-tab-title--icon.icon-end{margin-inline-start:var(--calcite-spacing-sm)}.close-button{display:flex;block-size:100%;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;align-content:center;align-items:center;justify-content:center;align-self:center;border-style:none;background-color:transparent;color:var(--calcite-color-text-3);outline-color:transparent;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-start:var(--calcite-spacing-sm);margin-inline-end:var(--calcite-spacing-px);block-size:calc(100% - var(--calcite-spacing-xxs))}.close-button:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-color-brand))}.close-button:focus,.close-button:hover{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-3)}.close-button:active{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-3)}.close-button calcite-icon{color:inherit}:host([icon-start][icon-end]) .calcite-tab-title--icon:first-child{margin-inline-end:var(--calcite-spacing-sm)}:host([bordered]) .container:not(.container--bottom) .close-button{block-size:calc(100% - var(--calcite-spacing-px));margin-block-start:-1px}:host([bordered]) .container .close-button calcite-icon{margin-block-start:var(--calcite-spacing-px)}:host([bordered]) .container .close-button:focus,:host([bordered]) .container .close-button:hover,:host([bordered]) .container .close-button:active{box-shadow:0 2px 0 0 var(--calcite-color-foreground-3)}:host([bordered]) .container.container--bottom .close-button{box-shadow:0 -2px 0 0 transparent}:host([bordered]) .container.container--bottom .close-button calcite-icon{margin-block-end:var(--calcite-spacing-px)}:host([bordered]) .container.container--bottom .close-button:focus,:host([bordered]) .container.container--bottom .close-button:hover,:host([bordered]) .container.container--bottom .close-button:active{box-shadow:0 -2px 0 0 var(--calcite-color-foreground-3)}:host([bordered][selected]){box-shadow:inset 0 -1px var(--calcite-color-foreground-1)}:host([bordered]:not([selected])) .container .close-button{box-shadow:0 2px 0 0 transparent}:host([bordered]:hover) .container{background-color:var(--calcite-color-foreground-2)}:host([bordered]) .container{border-inline:var(--calcite-spacing-px) solid transparent}:host([selected][bordered]) .container{border-inline-color:var(--calcite-color-border-1)}:host([layout=inline][bordered]) .scale-m .content,:host([layout=center][bordered]) .scale-m .content{padding-inline:0.75rem}:host([layout=inline][bordered]) .scale-s .content,:host([layout=center][bordered]) .scale-s .content{padding-inline:0.5rem}:host([layout=inline][bordered]) .scale-l .content,:host([layout=center][bordered]) .scale-l .content{padding-inline:1rem}:host([layout=inline][closable]) .scale-s .content,:host([layout=inline][closable]) .scale-m .content,:host([layout=inline][closable]) .scale-l .content{padding-inline-end:0}@media (forced-colors: active){:host{outline-width:0;outline-offset:0}:host(:focus) .container{outline-color:highlight}:host([bordered]) .container{border-block-end-style:solid}:host([bordered]) .container--bottom{border-block-start-style:solid}:host([bordered][selected]) .container{border-block-end-style:none}:host([bordered][selected]) .container--bottom{border-block-start-style:none}.close-button{z-index:var(--calcite-z-index)}}:host([hidden]){display:none}[hidden]{display:none}';
30
- /*!
31
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
32
- * See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
33
- * v2.12.2
34
- */
35
- const Gt=class{constructor(e){t(this,e),this.defaultSlotChangeHandler=t=>{this.tabs=b(t,"calcite-tab")},this.setDefaultSlotRef=t=>this.slotEl=t,this.layout="inline",this.position="top",this.scale="m",this.bordered=!1,this.titles=[],this.tabs=[]}handleInheritableProps(){this.updateItems()}calciteInternalTabNavSlotChangeHandler(t){t.stopPropagation(),t.detail.length!==this.titles.length&&(this.titles=t.detail)}titlesWatcher(){this.updateAriaSettings(),this.updateItems()}tabsWatcher(){this.updateAriaSettings(),this.updateItems()}async updateAriaSettings(){let t,e;const i=g(this.slotEl,"calcite-tab");if(i.some((t=>t.tab))||this.titles.some((t=>t.tab)))t=i.sort(((t,e)=>t.tab.localeCompare(e.tab))).map((t=>t.id)),e=this.titles.sort(((t,e)=>t.tab.localeCompare(e.tab))).map((t=>t.id));else{const a=await Promise.all(i.map((t=>t.getTabIndex()))),o=await Promise.all(this.titles.map((t=>t.getTabIndex())));t=a.reduce(((t,e,a)=>(t[e]=i[a].id,t)),[]),e=o.reduce(((t,e,i)=>(t[e]=this.titles[i].id,t)),[])}i.forEach((i=>i.updateAriaInfo(t,e))),this.titles.forEach((i=>i.updateAriaInfo(t,e)))}updateItems(){const{position:t,scale:e}=this,i=this.el.querySelector("calcite-tab-nav");i&&(i.position=t,i.scale=e),Array.from(this.el.querySelectorAll("calcite-tab")).forEach((t=>{t.parentElement===this.el&&(t.scale=e)})),Array.from(this.el.querySelectorAll("calcite-tab-nav > calcite-tab-title")).forEach((i=>{i.position=t,i.scale=e}))}connectedCallback(){this.updateItems()}async componentWillLoad(){this.updateItems()}disconnectedCallback(){}render(){return i(l,{key:"300872682f4f969586b06b6bbfa5cccb5a005e03"},i("slot",{key:"9b8c09c2f93725349a98d13fb0167c88b82ef413",name:"title-group"}),i("section",{key:"bf1b19251ca8ab3ba4c3c3fa15995889d71d9355"},i("slot",{key:"e1008e065225b4f0cb1b4fbe2ec91ab761db1144",onSlotchange:this.defaultSlotChangeHandler,ref:this.setDefaultSlotRef})))}get el(){return o(this)}static get watchers(){return{position:["handleInheritableProps"],scale:["handleInheritableProps"],titles:["titlesWatcher"],tabs:["tabsWatcher"]}}};Gt.style=":host{display:flex;flex-direction:column}:host([bordered]){box-shadow:inset 0 1px 0 var(--calcite-color-border-1);background-color:var(--calcite-color-foreground-1)}:host([bordered]) section{border-width:1px;border-style:solid;border-color:var(--calcite-color-border-1)}:host([bordered][position=bottom]){box-shadow:inset 0 1px 0 var(--calcite-color-border-1), inset 0 -1px 0 var(--calcite-color-border-1)}:host([bordered]:not([position=bottom])) ::slotted(calcite-tab-nav){margin-block-end:-1px}:host([bordered][scale=s]) section{padding:0.75rem}:host([bordered][scale=m]) section{padding:0.5rem}:host([bordered][scale=l]) section{padding:1rem}:host([position=bottom]){flex-direction:column-reverse}section{display:flex;flex-grow:1;overflow:hidden;border-block-start-width:1px;border-block-start-color:var(--calcite-color-border-1);border-block-start-style:solid}:host([position=bottom]) section{flex-direction:column-reverse;border-block-start-width:0px;border-block-end-width:1px;border-block-end-color:var(--calcite-color-border-1)}:host([position=bottom]:not([bordered])) section{border-block-end-style:solid}@media (forced-colors: active){:host([bordered]) section{border-block-start-width:0px;border-block-end-width:1px}:host([position=bottom][bordered]) section{border-block-start-width:1px;border-block-end-width:0px}}:host([hidden]){display:none}[hidden]{display:none}";
36
- /*!
37
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
38
- * See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
39
- * v2.12.2
40
- */
41
- function Kt(t,e,i){const{items:a,messages:o}=i,s=a.length,n=P(i,t)+1;return function(t,e,i,a){return t.replace("{position}",i.toString()).replace("{itemLabel}",e).replace("{total}",a.toString())}("idle"===e?o.dragHandleIdle:"active"===e?o.dragHandleActive:"change"===e?o.dragHandleChange:o.dragHandleCommit,t.label,n,s)}function Xt(t){return{handle:t.composedPath().find((t=>void 0!==t.dataset?.jsHandle)),item:t.composedPath().find((t=>"calcite-value-list-item"===t.tagName?.toLowerCase()))}}bt.deprecated("component",{name:"value-list",removalVersion:3,suggested:"list"});const Yt=class{constructor(i){t(this,i),this.calciteListChange=e(this,"calciteListChange",6),this.calciteListOrderChange=e(this,"calciteListOrderChange",6),this.calciteListFilter=e(this,"calciteListFilter",6),this.lastSelectedItem=null,this.mutationObserver=D("mutation",V.bind(this)),this.handleSelector=".handle",this.dragSelector="calcite-value-list-item",this.setFilterEl=t=>{this.filterEl=t},this.setFilteredItems=t=>{this.filteredItems=t},this.deselectRemovedItems=U.bind(this),this.deselectSiblingItems=J.bind(this),this.selectSiblings=q.bind(this),this.handleFilter=G.bind(this),this.handleFilterEvent=K.bind(this),this.getItemData=X.bind(this),this.keyDownHandler=t=>{if(t.defaultPrevented)return;const{handle:e,item:i}=Xt(t);if(e&&!i.handleActivated&&" "===t.key&&this.updateScreenReaderText(Kt(i,"commit",this)),!e||!i.handleActivated)return void Y.call(this,t);t.preventDefault();const{items:a}=this;if(" "===t.key&&this.updateScreenReaderText(Kt(i,"active",this)),"ArrowUp"!==t.key&&"ArrowDown"!==t.key||a.length<=1)return;const{el:o}=this,s=Q(this,i,"ArrowUp"===t.key?"up":"down");if(s===a.length-1)o.appendChild(i);else{const t=o.children[s];o.insertBefore(i,t===i.nextElementSibling?t.nextElementSibling:t)}this.items=this.getItems(),this.calciteListOrderChange.emit(this.items.map((({value:t})=>t))),requestAnimationFrame((()=>w(e))),i.handleActivated=!0,this.updateHandleAriaLabel(e,Kt(i,"change",this))},this.storeAssistiveEl=t=>{this.assistiveTextEl=t},this.handleFocusIn=t=>{const{handle:e,item:i}=Xt(t);!i?.handleActivated&&i&&e&&this.updateHandleAriaLabel(e,Kt(i,"idle",this))},this.disabled=!1,this.canPull=void 0,this.canPut=void 0,this.dragEnabled=!1,this.filteredItems=[],this.filteredData=[],this.filterEnabled=!1,this.filterPlaceholder=void 0,this.filterText=void 0,this.group=void 0,this.loading=!1,this.multiple=!1,this.selectionFollowsFocus=!1,this.messageOverrides=void 0,this.messages=void 0,this.dataForFilter=[],this.defaultMessages=void 0,this.effectiveLocale="",this.selectedValues=new Map}onMessagesChange(){}effectiveLocaleChange(){T(this,this.effectiveLocale)}connectedCallback(){A(this),x(this),C(this),Z.call(this),tt.call(this),this.setUpSorting()}async componentWillLoad(){N(this),await _(this)}componentDidLoad(){B(this),et.call(this)}componentDidRender(){M(this)}disconnectedCallback(){E(this),dt(this),k(this),I(this),it.call(this)}calciteListFocusOutHandler(t){at.call(this,t)}calciteListItemRemoveHandler(t){ot.call(this,t)}calciteListItemChangeHandler(t){st.call(this,t)}calciteInternalListItemPropsChangeHandler(t){t.stopPropagation(),this.setUpFilter()}calciteInternalListItemValueChangeHandler(t){nt.call(this,t),t.stopPropagation()}onGlobalDragStart(){it.call(this)}onGlobalDragEnd(){tt.call(this)}onDragEnd(){}onDragStart(){}onDragSort(){this.items=Array.from(this.el.querySelectorAll("calcite-value-list-item"));const t=this.items.map((t=>t.value));this.calciteListOrderChange.emit(t)}getItems(){return Array.from(this.el.querySelectorAll("calcite-value-list-item"))}setUpItems(){lt.call(this,"calcite-value-list-item"),this.setUpSorting()}setUpFilter(){this.filterEnabled&&(this.dataForFilter=this.getItemData())}setUpSorting(){const{dragEnabled:t}=this;t&&ht(this)}handleBlur(){this.dragEnabled&&this.updateScreenReaderText("")}async getSelectedItems(){return this.selectedValues}async setFocus(t){return await O(this),ct.call(this,t)}getIconType(){let t=null;return this.dragEnabled&&(t="grip"),t}updateScreenReaderText(t){this.assistiveTextEl.textContent=t}updateHandleAriaLabel(t,e){t.ariaLabel=e}handleValueListItemBlur(t){const{item:e,handle:i}=t.detail;!e?.handleActivated&&e&&this.updateHandleAriaLabel(i,Kt(e,"idle",this)),t.stopPropagation()}render(){return i(rt,{key:"226659128d8b783ff03fabc4ad086291d3ec749c",onBlur:this.handleBlur,onFocusin:this.handleFocusIn,onKeyDown:this.keyDownHandler,props:this})}static get assetsDirs(){return["assets"]}get el(){return o(this)}static get watchers(){return{messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};Yt.style=":host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{position:relative;box-sizing:border-box;display:flex;flex-shrink:0;flex-grow:0;flex-direction:column;align-items:stretch;background-color:transparent;font-size:var(--calcite-font-size--1);color:var(--calcite-color-text-2)}:host *{box-sizing:border-box}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}calcite-value-list-item:last-of-type{--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([filter-enabled]) header{margin-block-end:0.25rem;display:flex;align-items:center;justify-content:flex-end;background-color:var(--calcite-color-foreground-1);--tw-shadow:0 1px 0 var(--calcite-color-border-3);--tw-shadow-colored:0 1px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([filter-enabled]) header.sticky-pos{position:sticky;inset-block-start:0px;z-index:var(--calcite-z-index-sticky)}calcite-filter{margin-block-end:1px}.assistive-text{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}:host([hidden]){display:none}[hidden]{display:none}";
42
- /*!
43
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
44
- * See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
45
- * v2.12.2
46
- */
47
- const Qt="actions-end",Zt="actions-start";bt.deprecated("component",{name:"value-list-item",removalVersion:3,suggested:"list-item"});const te=class{constructor(i){t(this,i),this.calciteListItemChange=e(this,"calciteListItemChange",6),this.calciteListItemRemove=e(this,"calciteListItemRemove",7),this.calciteValueListItemDragHandleBlur=e(this,"calciteValueListItemDragHandleBlur",6),this.pickListItem=null,this.guid=`calcite-value-list-item-${H()}`,this.getPickListRef=t=>this.pickListItem=t,this.handleKeyDown=t=>{" "===t.key&&(this.handleActivated=!this.handleActivated)},this.handleBlur=()=>{this.handleActivated=!1,this.calciteValueListItemDragHandleBlur.emit({item:this.el,handle:this.handleEl})},this.handleSelectChange=t=>{this.selected=t.detail.selected},this.description=void 0,this.disabled=!1,this.deselectDisabled=!1,this.nonInteractive=!1,this.handleActivated=!1,this.icon=null,this.iconFlipRtl=!1,this.label=void 0,this.metadata=void 0,this.removable=!1,this.selected=!1,this.value=void 0}connectedCallback(){c(this),A(this)}disconnectedCallback(){r(this),E(this)}componentWillLoad(){N(this)}componentDidLoad(){B(this)}componentDidRender(){M(this)}async toggleSelected(t){this.pickListItem.toggleSelected(t)}async setFocus(){return await O(this),this.pickListItem?.setFocus()}calciteListItemChangeHandler(t){t.detail.item=this.el}renderActionsEnd(){const{el:t}=this;return y(t,Qt)?i("slot",{name:Qt,slot:ut.actionsEnd}):null}renderActionsStart(){const{el:t}=this;return y(t,Zt)?i("slot",{name:Zt,slot:ut.actionsStart}):null}renderHandle(){const{icon:t,iconFlipRtl:e}=this;if(t===ft.grip)return i("span",{class:{[pt.handle]:!0,[pt.handleActivated]:this.handleActivated},"data-js-handle":!0,onBlur:this.handleBlur,onKeyDown:this.handleKeyDown,ref:t=>this.handleEl=t,role:"button",tabindex:"0"},i("calcite-icon",{flipRtl:e,icon:"drag",scale:"s"}))}render(){return i(s,{key:"5800bb42bb126d69868f664845be9d912cc16a1e",id:this.el.id||this.guid},i(F,{key:"3fd26470647b3ec37edaf80d83d8b74b4a0dbcb0",disabled:this.disabled},this.renderHandle(),i("calcite-pick-list-item",{key:"772821bab106c95accaa215e05164371760f2ac0",description:this.description,deselectDisabled:this.deselectDisabled,disabled:this.disabled,label:this.label,metadata:this.metadata,nonInteractive:this.nonInteractive,onCalciteListItemChange:this.handleSelectChange,ref:this.getPickListRef,removable:this.removable,selected:this.selected,value:this.value},this.renderActionsStart(),this.renderActionsEnd())))}get el(){return o(this)}};te.style=":host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{margin-block-end:1px;box-sizing:border-box;display:flex;background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size--1);color:var(--calcite-color-text-2);--tw-shadow:0 1px 0 var(--calcite-color-border-3);--tw-shadow-colored:0 1px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);transition:background-color var(--calcite-animation-timing), box-shadow var(--calcite-animation-timing)}:host *{box-sizing:border-box}calcite-pick-list-item{position:relative;margin:0px;flex-grow:1;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([active]),:host([selected]){--tw-shadow:0 0 0 1px var(--calcite-color-brand);--tw-shadow-colored:0 0 0 1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.handle{display:flex;cursor:move;align-items:center;justify-content:center;border-style:none;background-color:transparent;padding-block:0px;padding-inline:0.25rem;color:var(--calcite-color-border-input);outline-color:transparent}.handle:hover{background-color:var(--calcite-color-foreground-2);color:var(--calcite-color-text-1)}.handle:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-color-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n )}.handle--activated{background-color:var(--calcite-color-foreground-3);color:var(--calcite-color-text-1)}.handle calcite-icon{color:inherit}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([hidden]){display:none}[hidden]{display:none}";const ee=class{constructor(e){t(this,e),this.hasChanges=!1,this.hasErrors=!1,this.instanceid="",this.value=""}get el(){return o(this)}componentDidLoad(){const t=document.getElementById(`${this.instanceid}-container`);if(t){this._editor=monaco.editor.create(t,{value:this.value,language:"json",theme:"vs",minimap:{enabled:!1},automaticLayout:!0,scrollBeyondLastLine:!1}),this._currentModel=this._editor.getModel(),this._contentChanged=this._currentModel.onDidChangeContent(this._onEditorChange.bind(this));const e=monaco.editor.setModelMarkers,i=this;monaco.editor.setModelMarkers=function(t,a,o){t.id===i._currentModel.id&&(i._flagEditorHasErrors(o.length>0),i.hasErrors||(i._flagEditorHasChanges(i._currentModel?.canUndo()),i._currentModel?.canUndo()&&i._flagEditorContentChanged()),document.getElementById(`${i.instanceid}-errorFlag`).style.visibility=i.hasErrors?"visible":"hidden"),e.call(monaco.editor,t,a,o)},this._diffEditor=monaco.editor.createDiffEditor(document.getElementById(`${this.instanceid}-diff-container`),{automaticLayout:!0}),this._setDiffModel(),this._loaded=!0,this._toggleUndoRedo()}}async componentWillLoad(){this._initValueObserver(),await this._getTranslations()}render(){return i(s,{key:"f7bd89c09a1da47faac69a2046e17f116d81f900"},i("div",{key:"ecb97ba7d6be7490e5e62eb32c821acc3e4d647f",id:`${this.instanceid}-editor-container`,class:"editor-container padding-right"},i("div",{key:"8e41d06868b3d6814b71d06899a860444cf22f5f",class:"editor-controls"},i("div",{key:"72e466cd4960538d2b12da8d7b19ff52587af282",class:"editor-buttons"},i("calcite-icon",{key:"ec927121edd4ad9873f39c4382bec58ec70f4fe0",id:`${this.instanceid}-errorFlag`,icon:"exclamation-mark-triangle",title:this._translations.errorFlag,scale:"s",class:"edit-error-flag"}),i("calcite-button",{key:"e58f934f12ffb97b658b79bd6f43b488bfe48be1",id:`${this.instanceid}-undo`,color:"blue",appearance:"solid",title:this._translations.undo,onClick:()=>this._undo(),scale:"s",class:"edit-button"},i("calcite-icon",{key:"39843757e60fe92ba3379fe72cf9696c082f83f7",icon:"undo",scale:"s"})),i("calcite-button",{key:"d0b6147354e31152615f148fba1e9780d7d60d60",id:`${this.instanceid}-redo`,color:"blue",appearance:"solid",title:this._translations.redo,onClick:()=>this._redo(),scale:"s",class:"edit-button"},i("calcite-icon",{key:"484b599a9c38c7e87a822c3b87934648ea47f440",icon:"redo",scale:"s"})),i("calcite-button",{key:"5d984fe49873a751c0a5da22de35261566e2c648",id:`${this.instanceid}-diff`,color:"blue",appearance:"solid",title:this._translations.diff,onClick:()=>this._toggleEditor(),scale:"s",class:"edit-button"},i("calcite-icon",{key:"c6089f49f33196f3edd7ef009b1367b7978e0469",icon:"compare",scale:"s"})),i("calcite-button",{key:"e8d4923b89329a19eb4b0426c9a8645327be7558",id:`${this.instanceid}-search`,appearance:"outline",color:"blue",title:this._translations.search,onClick:()=>this._search(),scale:"s",class:"edit-button"},i("calcite-icon",{key:"0033b33183f88b5122dda9afa5f7095072c7beaf",icon:"search",scale:"s"})),i("calcite-button",{key:"fdb722e4e9046eb31ca62352a841097bd60f9989",id:`${this.instanceid}-reset`,color:"blue",appearance:"solid",disabled:!0,title:this._translations.cancelEdits,onClick:()=>this._reset(),scale:"s",class:"edit-button"},i("calcite-icon",{key:"c1f8cda4d8fb79b66e1a8b91286e8952bd6afaaa",icon:"reset",scale:"s"})))),i("div",{key:"2111d6a3f15a3df17cdc33ae49de36f51d9db37b",class:"edit-parent"},i("div",{key:"9a7b4cbf25dff972a44ec6332ac010adb511251d",id:`${this.instanceid}-container`,class:"json-edit-container"}),i("div",{key:"9ccd5646f1df550e5ff2c35bb5a9bf3e181117fa",id:`${this.instanceid}-diff-container`,class:"json-edit-container display-none"}))))}_cancelEditsBtnHandler;_contentChanged;_currentModel;_diffEditor;_editor;_loaded=!1;_searchBtnHandler;_translations;_useDiffEditor=!1;_valueObserver;async getEditorContents(){return new Promise(((t,e)=>{try{t(this._currentModel.getValue())}catch(t){e(t)}}))}async prepareForDeletion(){this._searchBtnHandler?.removeEventListener("click",this._search),this._cancelEditsBtnHandler?.removeEventListener("click",this._reset),this._valueObserver?.disconnect(),this._contentChanged?.dispose(),this._editor?.dispose()}async replaceCurrentSelection(t){const e=this._editor.getSelection();this._editor.executeEdits("",[{range:e,text:t}])}async reset(){return new Promise(((t,e)=>{try{this._reset(),t({success:!0})}catch(t){e(t)}}))}_disableButton(t){document.getElementById(t)?.setAttribute("disabled","")}_enableButton(t){document.getElementById(t)?.removeAttribute("disabled")}_flagEditorContentChanged(){window.dispatchEvent(new CustomEvent("solutionEditorContentChanged",{detail:{id:this.instanceid,contents:this._currentModel.getValue()},bubbles:!0,cancelable:!1,composed:!0}))}_flagEditorHasChanges(t){this.hasChanges!==t&&(window.dispatchEvent(new CustomEvent("solutionEditorHasChanges",{detail:t,bubbles:!0,cancelable:!1,composed:!0})),this.hasChanges=t)}_flagEditorHasErrors(t){this.hasErrors!==t&&(window.dispatchEvent(new CustomEvent("solutionEditorHasErrors",{detail:t,bubbles:!0,cancelable:!1,composed:!0})),this.hasErrors=t)}async _getTranslations(){const t=await mt(this.el);this._translations=t[0]}_initValueObserver(){this._valueObserver=new MutationObserver((t=>{t.forEach((t=>{"attributes"===t.type&&"value"===t.attributeName&&t.target[t.attributeName]!==t.oldValue&&this._loaded&&this._currentModel.setValue(this.value)}))})),this._valueObserver.observe(this.el,{attributes:!0,attributeOldValue:!0})}_onEditorChange(){this._toggleUndoRedo()}_redo(){this._currentModel?.canRedo()&&(this._currentModel.redo(),this._toggleUndoRedo())}_reset(){this._currentModel.setValue(this.value),this._toggleUndoRedo()}_search(){this._editor.trigger("toggleFind","actions.find")}_setDiffModel(){this._diffEditor&&this._diffEditor.setModel({original:monaco.editor.createModel(this.value,"json"),modified:this._editor.getModel()})}_toggleEditor(){this._useDiffEditor=!this._useDiffEditor;let t=document.getElementById(`${this.instanceid}-diff-container`),e=document.getElementById(`${this.instanceid}-container`);this._useDiffEditor?(this._setDiffModel(),t.classList.remove("display-none"),e.classList.add("display-none")):(t.classList.add("display-none"),e.classList.remove("display-none"))}_toggleUndoRedo(){this._currentModel?.canUndo()?this._enableButton(`${this.instanceid}-undo`):this._disableButton(`${this.instanceid}-undo`),this._currentModel?.canRedo()?this._enableButton(`${this.instanceid}-redo`):this._disableButton(`${this.instanceid}-redo`),this._currentModel?.canUndo()||this._currentModel?.canRedo()?this._enableButton(`${this.instanceid}-reset`):this._disableButton(`${this.instanceid}-reset`)}_undo(){this._currentModel?.canUndo()&&(this._currentModel.undo(),this._toggleUndoRedo())}static get assetsDirs(){return["assets"]}};ee.style=":host{display:block}.editor-container{position:relative;height:100%}.editor-controls{height:2.75rem;padding-right:0.5rem;background-color:#F4F4F4}.editor-buttons{float:right}html[dir=rtl] .editor-buttons{float:left}.edit-error-flag{padding-top:0.5rem;color:red;visibility:hidden}.edit-button{padding-inline-start:0.5rem}.editor-text{width:100%;overflow-y:auto;background-color:#FFFFFF}.edit-width{width:100%}.edit-parent{box-sizing:border-box;width:100%;height:calc(100% - 46px)}.json-edit-container{height:100%;width:100%;border:1px #808080 solid}.padding-right{padding-inline-end:0.125rem}.btn{margin-bottom:1rem;display:flex;align-content:center;height:25px;width:120px}.select-ctrl{margin-bottom:1rem}.all-edits{margin-top:4rem}.floating-title{font-size:2rem;z-index:100;position:absolute;left:0.5rem;pointer-events:none}.floating-title-button{pointer-events:auto}.json-editor-position1{position:absolute;left:0px;top:0px;margin:0px;height:100%;width:100%;overflow:hidden;padding:0px;max-height:100% !important}.json-editor-position2a{position:absolute;left:0px;top:0px;margin:0px;height:100%;width:50%;overflow:hidden;padding:0px;max-height:100% !important}.json-editor-position2b{position:absolute;right:0px;top:0px;margin:0px;height:100%;width:50%;overflow:hidden;padding:0px;max-height:100% !important}";const ie=class{constructor(e){t(this,e),this.itemId="",this.itemDetails={accessInformation:"",description:"",licenseInfo:"",snippet:"",tags:[],title:""},this.itemEdit=void 0,this._translations=void 0,this.thumbnail=void 0,this.thumbnailContainer=void 0}get el(){return o(this)}async componentWillLoad(){return this._getTranslations()}async componentWillRender(){return this.itemEdit=vt.getItemInfo(this.itemId),this.itemEdit&&(this.itemDetails=this.itemEdit.item,this.itemType=this.itemDetails.type),Promise.resolve()}render(){return i(s,{key:"84bfa00fcedb54a43856c92e8446305d15d1a54a"},i("div",{key:"bceaddf6dcc35e5a22cad12e661c17f716fd165e",class:"parent-container"},i("div",{key:"17834a249ffbbbd3ee54617fa2f2224816dd59b1",class:"inputBottomSeparation"},i("calcite-input",{key:"372ceefe695e7c54a4ad35cf5b496202037fd57c",id:"item-title",value:this.itemDetails.title})),i("div",{key:"fc356bd1e3bb965b7555dcea9fccfce44ca96a31",class:"inputBottomSeparation"},i("input",{key:"11dc51158e385025d139372682b33d2093956a50",accept:".jpg,.gif,.png,image/jpg,image/gif,image/png",class:"display-none",onChange:t=>this._updateThumbnail(t),ref:t=>this.browseForThumbnail=t,type:"file"}),i("button",{key:"abc5c96ec20adb16026fd6a7c3eb41871512d360",class:"font-size--3 btn-link inline-block trailer-quarter",onClick:()=>this._getThumbnail()},i("svg",{key:"35ce23e7fe17e7f45110e028ddb0c31e033f6f34",class:"icon-inline icon-inline--on-left",height:"16",viewBox:"0 0 16 16",width:"16"},i("path",{key:"0bab7e61e1261db38a1a62dd085f63de5993a640",d:"M14.792 2.666l-1.414-1.413a.965.965 0 0 0-1.385-.03l-1.444 1.444-8.763 8.72L.03 15.481a.371.371 0 0 0 .488.488l4.096-1.756 8.763-8.72-.001-.001.002.002 1.443-1.444a.965.965 0 0 0-.03-1.385zM1.569 14.431l.554-1.293.74.739zm2.338-.924l-1.414-1.414 7.963-7.92 1.414 1.415zm8.67-8.626l-1.413-1.414 1.29-1.29a.306.306 0 0 1 .433 0l.981.98a.306.306 0 0 1 0 .433z"})),this._translations.editThumbnail),i("div",{key:"4dff94a716f70a350168ae123f0afb41f360fb3b",class:"flex"},i("div",{key:"bda8e51d80a72f221eb02ea915609b1e2175a56f",class:"img-container",ref:t=>this.thumbnailContainer=t},i("img",{key:"3b606e141fae758b24d6114d7433cfdec9570ba9",class:"scale-down",height:"133",id:"item-thumbnail",ref:t=>this.thumbnail=t,width:"200"})),i("div",{key:"3f5c6fd680a45c754e2b798566776363e94bf307",class:"snippet-count-container"},i("calcite-input",{key:"3d35c224c6d8b34483712e392aeca8a87e0d0810",id:"item-snippet",maxLength:250,type:"textarea",value:this.itemDetails.snippet}),i("label",{key:"1aecd6515a83c523c991d5ccd9516ff14384a13a",class:"font-size--3",id:"item-snippet-count",ref:t=>this.itemSnippetCount=t})))),i("calcite-label",{key:"3052a4847edc5afd336a763e8e6933694aad9d6d"},this._translations.description,i("label",{key:"595de020ea7e1e5b61296f7c9b17f1a02a0741e0",id:"item-description-label"},i("calcite-input",{key:"135cb36c76f6462aa470f9b7680ebefa6be60018",id:"item-description",type:"textarea",value:this.itemDetails.description}))),i("calcite-label",{key:"8f51b5f1d2607e040b6a94920d2f581b3595838f"},this._translations.tags,i("label",{key:"21b84a7bcb9d5b8b56e7b6ccee0b49e940e1faf3",id:"item-tags-label"},i("calcite-input",{key:"8f3b14471019c703944e531abca80b01751b04e1",id:"item-tags",value:(this.itemDetails.tags&&Array.isArray(this.itemDetails.tags)?this.itemDetails.tags:[this.itemDetails.tags]).join(",")}))),"Group"!==this.itemType?i("calcite-label",null,this._translations.credits,i("label",{id:"item-credits-label"},i("calcite-input",{id:"item-credits",value:this.itemDetails.accessInformation}))):null,"Group"!==this.itemType?i("calcite-label",null,i("label",{id:"item-terms-label"},this._translations.termsOfUse,i("calcite-input",{id:"item-terms",type:"textarea",value:this.itemDetails.licenseInfo}))):null))}componentDidRender(){this._loadThumb()}browseForThumbnail;itemType;itemSnippetCount;inputReceivedHandler(t){switch(t.target.id){case"item-title":this.itemDetails.title=t.target.value,this._updateStore();break;case"item-snippet":t.target.value.length>250&&(t.target.value=t.target.value.substring(0,250)),this.itemDetails.snippet=t.target.value,this._updateLengthLabel(this.itemDetails.snippet),this._updateStore();break;case"item-description":this.itemDetails.description=t.target.value,this._updateStore();break;case"item-tags":this.itemDetails.tags=t.target.value,this._updateStore();break;case"item-credits":this.itemDetails.accessInformation=t.target.value,this._updateStore();break;case"item-terms":this.itemDetails.licenseInfo=t.target.value,this._updateStore()}}_getThumbnail(){this.browseForThumbnail.click()}_loadThumb(){this.thumbnail&&this.itemEdit?.thumbnail?(this.thumbnail.src=URL.createObjectURL(this.itemEdit.thumbnail),this.thumbnailContainer.classList.remove("empty-box"),this.thumbnail.classList.remove("display-none")):(this.thumbnailContainer.classList.add("empty-box"),this.thumbnail.classList.add("display-none"))}_updateLengthLabel(t){this.itemSnippetCount.innerText=this._translations.snippetCountPattern.replace("{{n}}",t.length.toString())}_updateStore(){this.itemEdit=vt.getItemInfo(this.itemId),this.itemEdit.item=this.itemDetails,vt.setItemInfo(this.itemEdit)}_updateThumbnail(t){const e=t.target.files;e&&e[0]&&this.thumbnail&&(this.thumbnail.src=URL.createObjectURL(e[0]),this.itemEdit=vt.getItemInfo(this.itemId),this.itemEdit.thumbnail=e[0],vt.replaceItemThumbnail(this.itemEdit))}async _getTranslations(){const t=await mt(this.el);this._translations=t[0]}};ie.style=".inputBottomSeparation{margin-left:0px;margin-right:0px;margin-top:0px;margin-bottom:1.5rem}.icon-inline--on-left,.icon-inline--on-right{display:inline;vertical-align:middle;margin-inline-end:0.375rem;fill:#0079c1}.scale-down{-o-object-fit:scale-down;object-fit:scale-down}.img-container{display:inline;margin-inline-end:1rem;max-width:363px}.summary-count-container{display:inline;flex-grow:1;margin-inline-start:0.75rem}.snippet-count-container{width:calc(100vw - 363px)}.parent-container{max-width:100%;padding:1rem}label{position:relative;margin-left:0px;margin-right:0px;margin-top:0px;margin-bottom:1.5rem;display:block;min-width:-moz-min-content;min-width:min-content}";const ae=class{constructor(e){t(this,e),this.groupId="",this._translations=void 0,this.sharing=[]}get el(){return o(this)}itemIdWatchHandler(){const t=vt.getItemInfo(this.groupId);this.sharing=t.groupDetails}async componentWillLoad(){return this._getTranslations()}render(){return i(s,{key:"6a9facacd8961a53dd4e49082def5573732d49bf"},i("div",{key:"6eaf512253573a4db25ec64ebe1439228df4845d",class:"container-border"},i("calcite-label",{key:"db5680d010759bdb28b774293b8ae1522c9d8052"},this._translations.groupInfo),this._renderItems(this.sharing)))}async getShareInfo(){return this.sharing}_renderItems(t){return t&&t.length>0?t.map((t=>i("calcite-label",{layout:"inline"},i("calcite-switch",{checked:t.shareItem,id:t.id,name:"setting",onCalciteSwitchChange:t=>this._updateItem(t),scale:"m",value:"enabled"}),i("solution-item-icon",{type:t.type,typeKeywords:t.typeKeywords}),i("span",{class:"icon-text",title:t.title},t.title)))):null}_updateItem(t){const e=t.target.id;this.sharing=this.sharing.map((i=>{if(i.id===e){i.shareItem=t.target.checked;const a=vt.getItemInfo(e);if(i.shareItem)a.groups?a.groups.indexOf(this.groupId)<0&&a.groups.push(this.groupId):a.groups=[this.groupId];else if(a.groups){const t=a.groups.indexOf(this.groupId);t>-1&&a.groups.splice(t,1)}vt.setItemInfo(a)}return i}))}async _getTranslations(){const t=await mt(this.el);this._translations=t[0]}static get watchers(){return{groupId:["itemIdWatchHandler"]}}};ae.style=":host{display:block}.container-border{padding:1rem}.icon-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}";const oe=class{constructor(i){t(this,i),this.organizationVariableSelected=e(this,"organizationVariableSelected",7),this.value="",this._organizationVariables=[],this._translations=void 0}get el(){return o(this)}valueWatchHandler(){this._organizationVariables=JSON.parse(this.value)}async componentWillLoad(){return this._getTranslations()}render(){return i(s,{key:"99ef09d7f851a57d42c7f7ad5cd6e303b9508d17"},i("div",{key:"7217187249febdbbf3899d96cdbb2a45474343b7"},i("h4",{key:"d5d01648936de6726d7422f81f58ad998574ea87",class:"org-var-header"},this._translations.orgVariables)),i("div",{key:"22d6f7fb4b0d8f570dbcf9dcac08dce7e2f6383e",class:"container-border"},i("calcite-tree",{key:"5f21f4fc4b378da1b144dbeb1e19df2f43bcee61",id:"variable-label"},this._renderHierarchy(this._organizationVariables))))}organizationVariableSelected;_renderHierarchy(t){return t.map((t=>i("calcite-tree-item",{onClick:()=>this._treeItemSelected(t.id,t.value)},t.title)))}_treeItemSelected(t,e){this.organizationVariableSelected.emit({itemId:t,value:e})}async _getTranslations(){const t=await mt(this.el);this._translations=t[0]}static get watchers(){return{value:["valueWatchHandler"]}}};oe.style=":host{display:block}.container-border{overflow-y:auto}.org-var-header{margin-left:0px;margin-right:0px;margin-top:0px;margin-bottom:1rem}";const se=class{constructor(e){t(this,e),this.authentication=void 0,this.itemId="",this.resourceFilePaths=[],this.resources=[],this._translations=void 0}get el(){return o(this)}itemIdWatchHandler(){const t=vt.getItemInfo(this.itemId);this.resourceFilePaths=t.resourceFilePaths,this.resources=t.resources.map((t=>t.substring(t.lastIndexOf("/")+1)))}componentWillLoad(){return this._getTranslations()}render(){const t=this._hasValidResources();return i(s,{key:"eb76345d460620ea6229c1ac94eaf5dec9943c1e"},i("div",{key:"8dfb91c0ca0d4201940e29bcb809002da1cd9d76",class:"resource-item"},i("div",{key:"a6ec9664d267c25eada0432e6825369fdc82676f",class:"margin-bottom-1"},i("calcite-button",{key:"d84827e9dbe4ad68544430c007b28c5e9929e076",appearance:"solid",class:"resource-button",color:"blue",onClick:()=>this._addNewResource()},this._translations.addResource),i("calcite-button",{key:"d88b2928ca6994054f899823701327ece50a937b",appearance:"solid",color:"blue",disabled:!t,onClick:()=>this._downloadAll()},this._translations.downloadAll)),i("div",{key:"445c0c3e2deb3b546f4c84186a148e8888477d13",class:"resources-container",style:{display:t?"inherit":"none"}},this._renderResourceList())))}_removedResources={};_renderResourceList(){return i("calcite-value-list",{multiple:!0},this.resourceFilePaths.reduce(((t,e)=>(e.type!==wt.Thumbnail&&t.push(this._renderResource(e)),t)),[]))}_renderResource(t){const e=t.updateType===gt.Remove;return i("calcite-value-list-item",{class:e?"disabled":"",label:t.folder?t.folder+"/"+t.filename:t.filename,nonInteractive:!0,value:t.url},i("calcite-action-group",{"expand-disabled":"true",layout:"horizontal",slot:"actions-end"},i("calcite-action",{disabled:e,icon:"download",label:this._translations.download,onClick:()=>this._download(t.url,t.filename),scale:"m",text:this._translations.download,title:this._translations.download}),i("calcite-action",{disabled:e,icon:"upload-to",label:this._translations.update,onClick:()=>this._upload(t),scale:"m",text:this._translations.update,title:this._translations.update}),i("calcite-action",{disabled:e,icon:"trash",label:this._translations.delete,onClick:()=>this._delete(t),scale:"m",text:this._translations.delete,title:this._translations.delete}),e?i("calcite-action",{icon:"reset",label:this._translations.reset,onClick:()=>this._reset(t.filename),scale:"m",text:this._translations.reset,title:this._translations.reset}):i("div",{class:"display-none"})))}_delete(t){t.updateType=gt.Remove,this.resourceFilePaths=[...this.resourceFilePaths],this._updateStore()}_reset(t){this.resourceFilePaths=this.resources.some((e=>e===t))?this.resourceFilePaths.map((e=>(e.filename===t&&(e.updateType=gt.None),e))):this.resourceFilePaths.map((e=>(e.filename===t&&(e.updateType=gt.Add),e))),this._updateStore()}_downloadAll(){this.resourceFilePaths.forEach((t=>{this._download(t.url,t.filename)}))}_download(t,e){t.startsWith("blob")?this.downloadFile(t,e):this.fetchAndDownload(`${t}?token=${this.authentication.token}`,e)}downloadFile(t,e){const i=document.createElement("a");i.href=t,i.download=e,i.target="_blank",i.click()}_hasValidResources(){return this.resourceFilePaths.some((t=>t.url.indexOf("_info_thumbnail")<0))}async fetchAndDownload(t,e){const i=await fetch(t),a=await i.blob(),o=URL.createObjectURL(a);this.downloadFile(o,e)}_upload(t){const e=document.createElement("input");e.classList.add("display-none"),e.onchange=this._updateResource.bind(this,t),e.type="file",e.click()}_addNewResource(){const t=document.createElement("input");t.classList.add("display-none"),t.onchange=this._add.bind(this),t.type="file",t.click()}_updateResource(t,e){const i=e.target.files;i&&i[0]&&(t.blob=i[0],t.updateType=gt.Update,this._updateStore())}_add(t){const e=t.target.files;if(e&&e[0]){const t=URL.createObjectURL(e[0]),i=e[0].name;this.resourceFilePaths.some((e=>e.filename===i&&e.url===t))||(this.resourceFilePaths=[...this.resourceFilePaths,{url:t,type:wt.Data,folder:void 0,filename:i,blob:e[0],updateType:gt.Add}],this._updateStore())}}_updateStore(){const t=vt.getItemInfo(this.itemId);t.resourceFilePaths=this.resourceFilePaths,vt.setItemInfo(t)}async _getTranslations(){const t=await mt(this.el);this._translations=t[0]}static get watchers(){return{itemId:["itemIdWatchHandler"]}}};se.style=":host{display:block}.resource-item{padding:1rem}.resource-button{margin-inline-end:1rem}.resource-progress{padding-top:1rem}.resources-container{border:1px #808080 solid}.margin-bottom-1{margin-bottom:1rem}";const ne=class{get el(){return o(this)}itemIdWatchHandler(){this._initializing=!0,this.value=JSON.stringify("data"===this.instanceid?vt.getItemInfo(this.itemId).data:vt.getItemInfo(this.itemId).properties,null,2)}constructor(e){t(this,e),this.instanceid="",this.itemId="",this.organizationVariables="",this.solutionVariables="",this.varsOpen=!0,this._translations=void 0,this.value="",window.addEventListener("solutionEditorContentChanged",(t=>{if(this.itemId){const{id:e,contents:i}=t.detail,[a,o]=e.split("|");if(a==this.itemId&&o===this.instanceid){if(!this._initializing&&i.length>0){const t=vt.getItemInfo(a);"data"===o?t.data=JSON.parse(i):t.properties=JSON.parse(i),vt.setItemInfo(t)}this._initializing=!1}}}))}componentWillLoad(){return this._getTranslations()}render(){return i(s,{key:"78d31b01a7b3aac5e3b63ec59fa0225e662c3532"},i("div",{key:"84ad00f60d5ad98fc14fad50b2db93844e54a842",class:"solution-data-container"},i("calcite-shell",{key:"0e56c32e9ba92e9e536ce16f30db4e59d1c71094",class:"light var-container",dir:"ltr"},i("calcite-panel",{key:"ab251fe749493d11b61359f3f018fa87917d83c6",class:"json-editor"},i("div",{key:"94be603b8c03bccbcc31293839d633ffa0ca5b15",class:"solution-data-child-container calcite-match-height"},i("json-editor",{key:"76a5a31ae0dc54d59a300e0d6cc6b543e994d322",class:"solution-data-editor-container",instanceid:this.itemId+"|"+this.instanceid,value:this.value}))),i("calcite-shell-panel",{key:"5405b6aa574c721965bbdd4aabf90981f82c7da7","height-scale":"l",position:"end",slot:"contextual-panel","width-scale":"xs"},i("div",{key:"e7b57aa1f91e479a7538b5bb60fff9ff096bc9c9",class:this.varsOpen?"solution-data-child-container":"solution-data-child-container-collapsed"},i("calcite-button",{key:"ddd017fee5c66d79cd2c6239b847aacef9e04070",appearance:"transparent",class:"collapse-btn","icon-start":this.varsOpen?"chevrons-right":"chevrons-left",id:"collapse-vars",onClick:()=>this._toggleVars(),scale:"s",title:this.varsOpen?this._translations.collapse:this._translations.expand}),i("div",{key:"a45aec86952e3172c76153b01a54076d97050de9",class:this.varsOpen?"org-vars":"org-vars display-none",id:"orgVars"},i("solution-organization-variables",{key:"e138b7ec4c256c916ef52cef6d17f0d9a839d506",value:this.organizationVariables})),i("div",{key:"9444585d82bc85f2cf535ecc8921b2d3f67b398d",class:this.varsOpen?"sol-vars":"sol-vars display-none",id:"solVars"},i("solution-variables",{key:"030de51ff885c3ddf549fc4898c31ec23bb0d303",value:this.solutionVariables})))))))}_initializing=!1;_toggleVars(){this.varsOpen=!this.varsOpen}async _getTranslations(){const t=await mt(this.el);this._translations=t[0]}static get watchers(){return{itemId:["itemIdWatchHandler"]}}};ne.style=":host{display:flexbox}.solution-data-container{position:absolute;height:-moz-available;height:calc(100% - 48px);height:-webkit-fill-available;height:stretch;width:-moz-available;width:100%;width:-webkit-fill-available;width:stretch}.solution-data-child-container{display:flex;height:100%;width:100%;flex-direction:column;overflow-y:auto}.solution-data-editor-container{height:100%}.solution-data-child-container-collapsed{display:flex;height:100%;flex-direction:column;overflow:auto;width:50px}.inputBottomSeparation{margin-left:0px;margin-right:0px;margin-top:0px;margin-bottom:1.5rem}.json-editor{margin:1rem;width:auto;width:-webkit-fill-available -moz-available}.collapse-btn{padding-left:1rem;padding-right:1rem;padding-top:1rem;padding-bottom:0px}.org-vars{padding-left:1rem;padding-right:1rem;padding-top:1rem;padding-bottom:0px}.sol-vars{padding-top:0px;padding-bottom:0px;padding-left:1rem;padding-right:1rem;min-height:45%}.padding-1{padding:1rem}.light{background-color:#F4F4F4}";const le=class{constructor(i){t(this,i),this.solutionVariableSelected=e(this,"solutionVariableSelected",7),this.value="",this._solutionVariables=[],this._translations=void 0}get el(){return o(this)}valueWatchHandler(){this._solutionVariables=JSON.parse(this.value)}componentWillLoad(){return this._getTranslations()}render(){return i(s,{key:"5d3ed27bced41fb6bf6c393ddde152fb0056d25b"},i("div",{key:"cb05d3c237719abd539b21b38968a41364c1880e"},i("h4",{key:"367eb15af209dfed31b43f705fb6de05e25bb374",class:"org-var-header"},this._translations.solVariables)),i("div",{key:"10142202269a9f2eaa82c0b50a1980d9f3051208",class:"container-border"},i("calcite-tree",{key:"d89353a7fe357851a697df036ae7795154254759",id:"variable-label"},this._renderHierarchy(this._solutionVariables))))}solutionVariableSelected;_renderHierarchy(t){return t.map((t=>t.dependencies&&t.dependencies.length>0?i("calcite-tree-item",{onClick:t=>this._toggleExpand(t)},i("solution-item-icon",{type:t.type}),i("span",{class:"icon-text",title:t.title},t.title),i("calcite-tree",{slot:"children"},this._renderHierarchy(t.dependencies))):i("calcite-tree-item",{onClick:()=>this._treeItemSelected(t.id,t.value)},t.title)))}_treeItemSelected(t,e){this.solutionVariableSelected.emit({itemId:t,value:e})}_toggleExpand(t){const e=t?.target?.closest("calcite-tree-item");e&&(e.expanded=!e.expanded)}async _getTranslations(){const t=await mt(this.el);this._translations=t[0]}static get watchers(){return{value:["valueWatchHandler"]}}};le.style=":host{display:block}.container-border{overflow-y:hidden}.org-var-header{margin-top:1rem;margin-bottom:1rem;margin-left:0px;margin-right:0px}.icon-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}";export{_t as calcite_shell_panel,Tt as calcite_tab,Ft as calcite_tab_nav,qt as calcite_tab_title,Gt as calcite_tabs,Yt as calcite_value_list,te as calcite_value_list_item,ee as json_editor,ie as solution_item_details,ae as solution_item_sharing,oe as solution_organization_variables,se as solution_resource_item,ne as solution_template_data,le as solution_variables}
@@ -1,6 +0,0 @@
1
- /*!
2
- * Copyright 2022 Esri
3
- * Licensed under the Apache License, Version 2.0
4
- * http://www.apache.org/licenses/LICENSE-2.0
5
- */
6
- import{r as 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:"7c6f114c7869bdcb524db517c95574aeb9f29155"},i("div",{key:"f8769f2c6b097a562962006aaa5bfdb81d812edc",class:"display-flex"},i("div",{key:"f82915c927a606a5c33dc92e5cf5f635e4decaaf",class:"display-flex action-center"},i("calcite-icon",{key:"83f787675dbe08bafc3f92726455994ed23a85d9",class:"icon icon-color",icon:"information",id:"app-information-icon",scale:"s"}),i("calcite-popover",{key:"b8a8d4b5b1d5ee151800f34d3d47642b51a0a691",closable:!0,label:"",referenceElement:"app-information-icon"},i("span",{key:"c02afded78e72617bcb38a68fee37715065ac42e",class:"tooltip-message"},this._translations.appInfo))),i("div",{key:"35f9db2d7e71945ab7840fbc698765159988da9b",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}
@@ -1,6 +0,0 @@
1
- /*!
2
- * Copyright 2022 Esri
3
- * Licensed under the Apache License, Version 2.0
4
- * http://www.apache.org/licenses/LICENSE-2.0
5
- */
6
- import{r as t,c as i,g as 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:"019074cdfaddd8121a6ed255f42dea427aac9440"},a("calcite-shell",{key:"ece21e206f6519627bc8f139c35f68838eb701a2"},a("calcite-action-bar",{key:"92883d5df9fcf43584f3934bf7f61640afed2bdb",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}
@@ -1,6 +0,0 @@
1
- /*!
2
- * Copyright 2022 Esri
3
- * Licensed under the Apache License, Version 2.0
4
- * http://www.apache.org/licenses/LICENSE-2.0
5
- */
6
- import{r as t,c as i,g as s,h as e,H as h,F as a}from"./p-6eb37ed2.js";import{g as o,l}from"./p-2058b5d9.js";import{g as n,q as c,e as d,f as r,i as p,j as b,c as f}from"./p-d572627c.js";import{d as u}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 m=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._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 n(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.enableCreateFeatures&&this.layer?.capabilities?.operations?.supportsAdd;return e(h,{key:"6089a5003e4ee08df4da7ecbcf8e6a3c8628f8bf"},e("div",{key:"60dc1c21c650cce5165f56a0e040feba3652ae10",class:"overflow-auto height-full"},e("calcite-shell",{key:"530a3173010e32fe062dc313ed3805833228f0fd",class:"position-relative "+t},e("div",{key:"af2350dac50f8ecc576cdeb528b350557057ff8d",class:"position-static z-index-500"},e("info-card",{key:"626b34ec1ed2fc7e52f0ee2f9ae4520d1bcceb08",enableEditGeometry:this.enableEditGeometry,graphics:this._graphics,isLoading:this._cardLoading,isMobile:this.isMobile,mapView:this.mapView}))),e("calcite-shell",{key:"642531296a90d92068592eef75bc4632438a4cbc",class:"position-relative "+s},e("calcite-flow-item",{key:"b15e856439afdf9f08df9ff22f4e7dd7fee74273"},e("calcite-panel",{key:"9305e17349e3b653565d1c183e118bdc3b791e23"},e("div",{key:"25cf89836b8d20c6728842c5372e2c17dda967e6",class:"padding-1"},e("calcite-notice",{key:"8df4a9c3e037f1b9f6131371d36a23e845db7ee2",icon:"table",open:!0},e("div",{key:"5c613ab8e9b9c25fc9f824e1007c3c4fa48b15b5",slot:"message"},this.customInfoText||this._translations.selectFeaturesToStart))),l&&e("calcite-button",{key:"ba88fcd64b3cf2ae1fc36da58581974473d4e0b3",disabled:!this.layer,onClick:()=>this._createFeatureBtnClicked(),slot:"footer",width:"full"},a?this._translations.createRecord:this._translations.createFeature)))),e("calcite-shell",{key:"5e64963bf756e397c819a4c60112191031d9113f",class:"position-relative "+i},e("calcite-flow-item",{key:"7d93240bffd381e2ed1e6dc10126b30cb1a143f9"},e("calcite-panel",{key:"6ae7f4917394521b3226e38e07ac8eaf8c29b58e",heading:o},e("calcite-action",{key:"60cfdea79ad19ba0b62a9fb2ef3a6495c41b1f53",class:"back-button hydrated",icon:"chevron-left",onClick:this._backFromCreateFeature.bind(this),scale:"s",slot:"header-actions-start",text:"back"}),this.getEditorComponent(),this._showSubmitBtn&&e("calcite-button",{key:"ab10ab259363cee6b872f7e6619518125141759e",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}))}async _getFeaturesByIds(t){return(t.length>0?await c(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 o(this.el);this._translations=t[0]}};m.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 w=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=""}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 d([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 r(this._layer)),await this._refresh()}async facilityChanged(t){this._floorFacility=t.detail,this._updateFloorDefinitionExpression()}async levelChanged(t){this._floorLevel=t.detail,this._updateFloorDefinitionExpression()}async siteChanged(t){this._floorSite=t.detail,this._updateFloorDefinitionExpression()}noLayersFound(){this._layer=void 0,this._allIds=[],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._allIds.length.toString(),a=this.selectedIds.length.toString(),o=this.isMobile?"height-full":"height-full-adjusted",l=this._canShowFullTextSearch();return this._validateActiveActions(),e(h,{key:"0e14ca1d140deaad1b6b1c299a29b160c983a84f"},e("calcite-shell",{key:"6da3feca55877d2ca3ac4df044ece161964c5b30"},this._getTableControlRow("header"),e("div",{key:"987267204fadb58d10741586adf9c2603a2c782d",class:`width-full ${o}`},e("calcite-panel",{key:"3d8fb99e75c7456082846a1876460514d3b36cc3",class:"height-full width-full"},l&&e("calcite-input",{key:"2251920546d0948bd67eb705ea68a4cdf7c735c1",clearable:!0,icon:"search",onCalciteInputChange:t=>{this._searchTextChanged(t)},placeholder:this._searchPlaceHolder,title:this._searchPlaceHolder,type:"search"}),e("calcite-loader",{key:"8c9deefa9aef65838e93171505c1b4a5bc34d7d9",class:i,label:this._translations.fetchingData,scale:"l"}),e("div",{key:"376ad6c086b24157533054c027a9738738625630",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),document.onclick=t=>this._handleDocumentClick(t),document.onkeydown=t=>this._handleKeyDown(t),document.onkeyup=t=>this._handleKeyUp(t)}componentDidRender(){this._updateToolbar()}async _initModules(){const[t,i,s]=await l(["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);this._updateSearchDefinitionExpression(i?.length?i:[-1])}}_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}_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(" ","")}`,onClick:t=>{const i=t.target;this._columnsInfo[i.id]=i.selected,i.selected?this._table.showColumn(i.id):this._table.hideColumn(i.id)},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,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,this.mapHidden?void 0:{active:!1,icon:"pencil",indicator:!1,label:this._translations.editMultiple,func:()=>alert(this._translations.editMultiple),disabled:!i,isOverflow:!1},this._deleteEnabled?{active:void 0,icon:"trash",indicator:void 0,label:void 0,func:void 0,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:t.disabled?"none":"single"},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:""},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)}))})))}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 p(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 r(this._layer),this._table)this._table.view=this.mapView,this._table.layer=this._layer;else{const t=this._getColumnTemplates(this._layer.id,this._layer?.fields);await this._getTable(this._tableNode,t)}await this._initLayerRefresh(),this._checkEditEnabled(),this._table.editingEnabled=this._editEnabled&&this.enableInlineEdit,await this._table.when(),setTimeout((()=>{this._loaded||(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 r(this._layer),this.selectedIds=this.selectedIds.filter((t=>this._allIds.indexOf(t)>-1)),await this._refresh()}async _handleDefaults(){if(!this._defaultOidHonored&&this.defaultOid?.length>0&&this.defaultOid[0]>-1&&this._table&&(await this._selectDefaultFeature(this.defaultOid),this._defaultOidHonored=!0,this.defaultOid=void 0,this._showOnlySelected=!1,this._toggleShowSelected()),!this._defaultGlobalIdHonored&&this.defaultGlobalId?.length>0&&this._table){const t=await b(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;this._showHideOpen&&Object.keys(this._columnsInfo).indexOf(i)<0&&"solutions-subset-list"!==i&&"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 r(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 u(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 r(this._layer),this.featureSelectionChange.emit(this.selectedIds)}async _zoom(){if(this._layer){const t=await f(this.mapView,this._layer.id);await d(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 n(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 o(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 g(t){return function(t){return-1!==t?.indexOf("http://")}(t)?t.replace(/^http:\/\//,"https://"):t}w.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%}';const y=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.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}get el(){return s(this)}esriConfig;Home;MapView;WebMap;_defaultWebmapHonored=!1;_homeWidget;_loadedId="";_mapDiv;_mapPicker;_mapTools;_moreDropdown;_mapListExpanded=!1;_filterActive=!1;_definitionExpression;enableHomeWatchHandler(){this._initHome()}async selectedLayerWatchHandler(){await(this.selectedLayer?.when((async()=>{this._definitionExpression=this.selectedLayer.definitionExpression})))}async filterReset(){this._filterActive=!1}async updateFilter(){this._filterActive=this._definitionExpression!==this.selectedLayer.definitionExpression}mapChanged;beforeMapChanged;toggleFilter;async mapInfoChange(t){await this._loadMap(t.detail)}noLayersFound(){this.selectedLayer=void 0,this.selectedFeaturesIds=[]}async componentWillLoad(){await this._getTranslations(),await this._initModules()}render(){const t=this.isMapLayout?"display-flex height-50-px":"",i=this.hidden?"visibility-hidden-1":"",s="dark"===this.theme?"calcite-mode-dark":"calcite-mode-light",a=this.mapInfos?.length>1?"":"display-none",o=this.mapInfos?.length>1?"map-height":"height-full",l=this.isMobile?"width-full":"",n=this.isMobile?"border-top":"",c=this.isMapLayout?"":"display-none";return e(h,{key:"6f827d045d920101c70f55e80a422383f94bae56"},e("div",{key:"50215e8f899cf6321b228b0ee5b8a0ba9e1911c4",class:`${t}`},e("map-picker",{key:"46dd475d52684cc239963160ab79019970fa13d2",class:a,isMapLayout:this.isMapLayout,mapInfos:this.mapInfos,ref:t=>this._mapPicker=t}),e("div",{key:"8a8f260bb3a22b5bc2b933f94ab940e8750a9757",class:`mapView-header display-flex ${c}`},e("div",{key:"a8ceb2a88432fbc052f00961a03d43cbf61dc076",class:`border-end ${l} ${n}`,id:"solutions-map-layer-picker-container"},this.mapView&&e("map-layer-picker",{key:"0c0c3e24b05491044d5bb42f460152eeb003dec2",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.selectedLayer?[this.selectedLayer.id]:[],showSingleLayerAsLabel:!0,showTables:!0,type:"dropdown"})),this._getDropDownItem())),e("div",{key:"6091fdd6540a8eda0df227251a581347c734369c",class:`${o} ${i}`,ref:t=>this._mapDiv=t}),e("map-tools",{key:"eb0823b1b1babd12822e0d8ee91bc76169a51476",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(){document.onclick=t=>this._handleDocumentClick(t)}async _initModules(){const[t,i,s,e]=await l(["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=g(t.proxyUrl),i.portalItem&&i.portalItem.when((()=>{i.portalItem.url=g(t.proxyUrl)})),l.request?.interceptors?.push({urls:t.sourceUrl,before:i=>{i.url&&i.url===t.sourceUrl&&(i.url=g(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}_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;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 d(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}_getDropDownItem(){return e("calcite-dropdown",{closeOnSelectDisabled:!0,disabled:void 0===this.selectedLayer,id:"solutions-more",onCalciteDropdownBeforeClose:()=>this._forceShowHide(),ref:t=>this._moreDropdown=t,widthScale:"l"},e("calcite-action",{appearance:"solid",id:"solutions-more",label:"",onClick:()=>this._toggleShowHide(),slot:"trigger",text:""},e("calcite-button",{appearance:"transparent",iconEnd:this._showHideOpen?"chevron-up":"chevron-down",kind:"neutral"},this._translations.more)),e("calcite-dropdown-group",{selectionMode:"none"},this._getDropDownItems()))}_getDropDownItems(){const t=this.selectedFeaturesIds?.length>0,i=this.selectedFeaturesIds?.length>1,s=this._hasFilterExpressions();return e(a,null,e("calcite-dropdown-group",{selectionMode:"none"},e("calcite-dropdown-item",{disabled:!i,iconStart:"pencil",id:"solutions-subset-list",onClick:()=>alert(this._translations.editMultiple)},this._translations.editMultiple)),e("calcite-dropdown-group",{selectionMode:"none"},e("calcite-dropdown-item",{iconStart:"refresh",id:"solutions-subset-list",onClick:()=>{this.selectedLayer.refresh()}},this._translations.refresh)),e("calcite-dropdown-group",{selectionMode:"none"},e("calcite-dropdown-item",{disabled:!t,iconStart:"zoom-to-object",id:"solutions-subset-list",onClick:this._zoom.bind(this)},this._translations.zoom)),s&&e("calcite-dropdown-group",null,e("calcite-dropdown-item",{disabled:!1,iconStart:"filter",id:"solutions-subset-list",onClick:this._toggleFilter.bind(this),selected:this._filterActive},this._translations.filters)))}async _getTranslations(){const t=await o(this.el);this._translations=t[0]}static get watchers(){return{enableHome:["enableHomeWatchHandler"],selectedLayer:["selectedLayerWatchHandler"]}}};y.style=":host{display:block;--calcite-label-margin-bottom:0;--calcite-block-padding:0}.map-height{height:calc(100% - 51px)}.height-full{height:100%}.height-50-px{height:50px}.box-shadow{box-shadow:none !important}.visibility-hidden-1{visibility:hidden;height:1px;}.display-none{display:none}";export{m as card_manager,w as layer_table,y as map_card}
@@ -1,6 +0,0 @@
1
- /*!
2
- * Copyright 2022 Esri
3
- * Licensed under the Apache License, Version 2.0
4
- * http://www.apache.org/licenses/LICENSE-2.0
5
- */
6
- import{r as t,g as e,h as i,H as s}from"./p-6eb37ed2.js";import{g as a}from"./p-2058b5d9.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";const r=class{constructor(e){t(this,e),this.templateInfos=[],this._sortedTemplateInfos=[],this._translations=void 0}get el(){return e(this)}_sortOrder=["Hub Site Application","Hub Page","Web Experience","Instant App","Web Mapping Application","Dashboard","StoryMap","Form","QuickCapture Project","Workflow","Big Data Analytic","Real Time Analytic","Feed","Tool","Notebook","Data Pipeline","Project Package","Desktop Application Template","TypeNotFound","Web Map","Web Scene","Feature Layer (hosted, view)","Feature Layer (hosted)","Tile Layer","CSV","Microsoft Excel","Microsoft Word","Report Template","Rule Package","Group"];_types=[];async templateInfosWatchHandler(){this._types=[],this._sortedTemplateInfos=this._sortTemplates()}async componentWillLoad(){await this._getTranslations()}async componentWillRender(){0===this._sortedTemplateInfos.length&&this.templateInfos?.length>0&&(this._sortedTemplateInfos=this._sortTemplates())}render(){return i(s,{key:"c9fea75fb3cd0558366bb086eccb28c4e2b7b07d"},this._getAccordion())}_getAccordion(){return i("calcite-accordion",null,this._sortedTemplateInfos.reduce(((t,e)=>(this._types.indexOf(e.type)<0&&(this._types.push(e.type),t.push(this._getAccordionItem(e))),t)),[]))}_getAccordionItem(t){const e=this._sortedTemplateInfos.filter((e=>e.type===t.type));return i("calcite-accordion-item",{description:`${t.type} (${e.length})`},i("solution-item-icon",{class:"padding-start-1",slot:"actions-start",type:t.type,typeKeywords:t.typeKeywords}),this._getList(e))}_getList(t){return i("calcite-list",{class:"padding-start-1"},t.map((t=>this._getListItem(t))))}_getListItem(t){return i("calcite-list-item",{description:t.description,label:t.title,value:t.id})}_sortTemplates(){return this.templateInfos.sort(((t,e)=>{const i=this._updateType(t),s=this._updateType(e);return this._sortOrder.indexOf(i)-this._sortOrder.indexOf(s)}))}_updateType(t){let e=t.type;return"Feature Service"===t.type&&(e=t.typeKeywords.indexOf("View Service")>-1?"Feature Layer (hosted, view)":"Feature Layer (hosted)"),"Web Mapping Application"===t.type&&(e=t.typeKeywords.indexOf("configurableApp")>-1?"Instant App":e),t.type="Geoprocessing Service"===t.type?"Tool":"Vector Tile Service"===t.type?"Tile Layer":e,this._sortOrder.indexOf(e)<0&&(e="TypeNotFound"),e}async _getTranslations(){const t=await a(this.el);this._translations=t[0]}static get watchers(){return{templateInfos:["templateInfosWatchHandler"]}}};r.style=":host{display:block}.padding-start-1{padding-inline-start:1rem}";export{r as solution_item_accordion}
@@ -1,6 +0,0 @@
1
- /*!
2
- * Copyright 2022 Esri
3
- * Licensed under the Apache License, Version 2.0
4
- * http://www.apache.org/licenses/LICENSE-2.0
5
- */
6
- import{r as s,g as a,h as e,H as r}from"./p-6eb37ed2.js";const t=class{constructor(a){s(this,a)}get el(){return a(this)}render(){return e(r,{key:"7b405bc7f7cb4204406da1aa0c05dc292508e6cf"},e("slot",{key:"fcaa34cd163995045268fd539a82ad3b102b1046"}))}};t.style=":host{display:block}";export{t as share_item}