@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,11 +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{h as t,r as i,c as e,H as s,g as a}from"./p-6eb37ed2.js";import{d as o}from"./p-e3196917.js";import{f as n,e as l}from"./p-47a0be20.js";import{D as c,E as h,t as r}from"./p-66cee72b.js";import{d,f as p,c as b,r as m,a as u,F as g}from"./p-984ce9da.js";import{s as f,c as v,a as x,d as y,H as w}from"./p-365169c2.js";import{g as C}from"./p-aaa56cbf.js";import{c as k,u as I,d as z,I as j}from"./p-1ce2608d.js";import{c as S,d as $,g as H}from"./p-2caf1f94.js";import{b as D,c as E,s as A,a as L}from"./p-3e828614.js";import{c as O,d as _}from"./p-8d453a3a.js";import{c as P}from"./p-1c249530.js";import{o as F}from"./p-6e118057.js";import{D as M}from"./p-8bfa18b7.js";import{c as T,s as W,d as V,u as B}from"./p-a5fc6ab7.js";import{g as G,c as R}from"./p-27d462c0.js";import{V as N}from"./p-ef67c743.js";import{i as U,h as q,C as J,b as K,c as Q,d as X,e as Y,f as Z,j as tt,I as it}from"./p-5ba9df82.js";import{d as et}from"./p-c8d3207e.js";import{C as st}from"./p-b5575639.js";import{g as at}from"./p-2058b5d9.js";import{d as ot,p as nt}from"./p-d572627c.js";import{s as lt}from"./p-5dcec135.js";import"./p-4b9b7778.js";import"./p-64a34d92.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";import"./p-80cb7c73.js";import"./p-720a12c0.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 ct="x-button",ht=({disabled:i,key:e,label:s,onClick:a,ref:o,scale:n})=>t("button",{"aria-label":s,class:ct,disabled:i,key:e,onClick:a,ref:o,tabIndex:-1,type:"button"},t("calcite-icon",{icon:"x",scale:G(n)})),rt="combobox-item-",dt="combobox-chip-",pt="combobox-label-",bt="combobox-listbox-",mt="combobox-input-",ut=class{constructor(t){i(this,t),this.calciteComboboxChange=e(this,"calciteComboboxChange",6),this.calciteComboboxFilterChange=e(this,"calciteComboboxFilterChange",6),this.calciteComboboxChipClose=e(this,"calciteComboboxChipClose",6),this.calciteComboboxBeforeClose=e(this,"calciteComboboxBeforeClose",6),this.calciteComboboxClose=e(this,"calciteComboboxClose",6),this.calciteComboboxBeforeOpen=e(this,"calciteComboboxBeforeOpen",6),this.calciteComboboxOpen=e(this,"calciteComboboxOpen",6),this.placement=d,this.internalValueChangeFlag=!1,this.textInput=null,this.mutationObserver=P("mutation",(()=>this.updateItems())),this.resizeObserver=P("resize",(()=>{this.setMaxScrollerHeight(),this.refreshSelectionDisplay()})),this.guid=C(),this.inputHeight=0,this.ignoreSelectedEventsFlag=!1,this.openTransitionProp="opacity",this.setFilteredPlacements=()=>{const{el:t,flipPlacements:i}=this;this.filteredFlipPlacements=i?p(i,t):null},this.getValue=()=>{const t=this.selectedItems.map((t=>t?.value?.toString()));return t?.length?t.length>1?t:t[0]:""},this.onLabelClick=()=>{this.setFocus()},this.keyDownHandler=t=>{if(this.readOnly)return;const{key:i}=t;switch(i){case"Tab":this.activeChipIndex=-1,this.activeItemIndex=-1,this.allowCustomValues&&this.filterText?(this.addCustomChip(this.filterText,!0),t.preventDefault()):this.open?(this.open=!1,t.preventDefault()):!this.allowCustomValues&&this.filterText&&(this.clearInputValue(),this.filterItems(""),this.updateActiveItemIndex(-1));break;case"ArrowLeft":-1===this.activeChipIndex&&0!==this.textInput.selectionStart||(this.previousChip(),t.preventDefault());break;case"ArrowRight":-1!==this.activeChipIndex&&(this.nextChip(),t.preventDefault());break;case"ArrowUp":this.filteredItems.length&&(t.preventDefault(),this.open&&this.shiftActiveItemIndex(-1),this.comboboxInViewport()||this.el.scrollIntoView());break;case"ArrowDown":this.filteredItems.length&&(t.preventDefault(),this.open?this.shiftActiveItemIndex(1):(this.open=!0,this.ensureRecentSelectedItemIsActive()),this.comboboxInViewport()||this.el.scrollIntoView());break;case" ":this.textInput.value||t.defaultPrevented||(this.open||(this.open=!0,this.shiftActiveItemIndex(1)),t.preventDefault());break;case"Home":if(!this.open)return;t.preventDefault(),this.updateActiveItemIndex(0),this.scrollToActiveItem(),this.comboboxInViewport()||this.el.scrollIntoView();break;case"End":if(!this.open)return;t.preventDefault(),this.updateActiveItemIndex(this.filteredItems.length-1),this.scrollToActiveItem(),this.comboboxInViewport()||this.el.scrollIntoView();break;case"Escape":this.clearDisabled||this.open||this.clearValue(),this.open=!1,t.preventDefault();break;case"Enter":this.open&&this.activeItemIndex>-1?(this.toggleSelection(this.filteredItems[this.activeItemIndex]),t.preventDefault()):this.activeChipIndex>-1?(this.removeActiveChip(),t.preventDefault()):this.allowCustomValues&&this.filterText?(this.addCustomChip(this.filterText,!0),t.preventDefault()):t.defaultPrevented||f(this)&&t.preventDefault();break;case"Delete":case"Backspace":if("single"===this.selectionDisplay||"fit"===this.selectionDisplay&&this.selectedHiddenChipsCount>0)return;this.activeChipIndex>-1?(t.preventDefault(),this.removeActiveChip()):!this.filterText&&this.isMulti()&&(t.preventDefault(),this.removeLastChip())}},this.toggleCloseEnd=()=>{this.open=!1,this.el.removeEventListener("calciteComboboxClose",this.toggleCloseEnd)},this.toggleOpenEnd=()=>{this.open=!1,this.el.removeEventListener("calciteComboboxOpen",this.toggleOpenEnd)},this.setMaxScrollerHeight=async()=>{const{listContainerEl:t,open:i,referenceEl:e}=this;if(!t||!i)return;await this.reposition(!0);const s=this.getMaxScrollerHeight();t.style.maxHeight=s>0?`${s}px`:"",t.style.minWidth=`${e.clientWidth}px`,await this.reposition(!0)},this.calciteChipCloseHandler=t=>{this.open=!1;const i=this.items.find((i=>i===t));i&&this.toggleSelection(i,!1),this.calciteComboboxChipClose.emit()},this.clickHandler=t=>{if(this.readOnly)return;const i=t.composedPath();return i.some((t=>"CALCITE-CHIP"===t.tagName))?(this.open=!1,void t.preventDefault()):i.some((t=>t.classList?.contains(ct)))?(this.clearValue(),void t.preventDefault()):(this.open=!this.open,void this.ensureRecentSelectedItemIsActive())},this.refreshSelectionDisplay=async()=>{if(await D(this),U(this.selectionMode))return;if(!this.textInput)return;const{allSelectedIndicatorChipEl:t,chipContainerEl:i,selectionDisplay:e,placeholder:s,selectedIndicatorChipEl:a,textInput:n}=this,l=parseInt(getComputedStyle(i).gap.replace("px","")),r=c(i),{fontSize:d,fontFamily:p}=getComputedStyle(n),b=(h(s,`${d} ${p}`)||parseInt(o))+l,m=c(t),u=c(a),g=Math.max(m,u);if(this.setCompactSelectionDisplay({chipContainerElGap:l,chipContainerElWidth:r,inputWidth:b,largestSelectedIndicatorChipWidth:g}),"fit"===e){const t=Array.from(this.el.shadowRoot.querySelectorAll("calcite-chip")).filter((t=>t.closable)),i=Math.round(r-((this.selectedHiddenChipsCount>0?u:0)+l+b+l));this.refreshChipDisplay({availableHorizontalChipElSpace:i,chipContainerElGap:l,chipEls:t}),this.setVisibleAndHiddenChips(t)}},this.setFloatingEl=t=>{this.floatingEl=t,b(this,this.referenceEl,this.floatingEl)},this.setContainerEl=t=>{this.resizeObserver.observe(t),this.listContainerEl=t,this.transitionEl=t},this.setChipContainerEl=t=>{this.resizeObserver.observe(t),this.chipContainerEl=t},this.setReferenceEl=t=>{this.referenceEl=t,b(this,this.referenceEl,this.floatingEl)},this.setAllSelectedIndicatorChipEl=t=>{this.allSelectedIndicatorChipEl=t},this.setSelectedIndicatorChipEl=t=>{this.selectedIndicatorChipEl=t},this.inputHandler=t=>{this.filterText=t.target.value},this.filterItems=(()=>{const t=(t,i)=>t&&i.some((({label:i,value:e})=>t.tagName===tt?i===t.label:e===t.value&&i===t.textLabel));return et(((i,e=!1,s=!0)=>{const a=n(this.data,i),o=this.getItemsAndGroups(),c=""===i;o.forEach((i=>{if(c)return void(i.hidden=!1);const e=!t(i,a);i.hidden=e;const[s,o]=i.ancestors;(t(s,a)||t(o,a))&&(i.hidden=!1),e||i.ancestors.forEach((t=>t.hidden=!1))})),this.filterTextMatchPattern=this.filterText&&new RegExp(`(${l(this.filterText)})`,"i"),this.filteredItems=this.getFilteredItems(),this.filteredItems.forEach((t=>{t.filterTextMatchPattern=this.filterTextMatchPattern})),e&&(this.open=this.filterText.trim().length>0&&this.filteredItems.length>0),s&&this.calciteComboboxFilterChange.emit()}),M.filter)})(),this.internalComboboxChangeEvent=()=>{this.calciteComboboxChange.emit()},this.emitComboboxChange=et(this.internalComboboxChangeEvent,0),this.getSelectedItems=()=>{if(!this.isMulti()){const t=this.items.find((({selected:t})=>t));return t?[t]:[]}return this.items.filter((t=>t.selected&&("ancestors"!==this.selectionMode||!q(t)))).sort(((t,i)=>{const e=this.selectedItems.indexOf(t),s=this.selectedItems.indexOf(i);return e>-1&&s>-1?e-s:s-e}))},this.updateItems=()=>{this.items=this.getItems(),this.groupItems=this.getGroupItems(),this.data=this.getData(),this.selectedItems=this.getSelectedItems(),this.filteredItems=this.getFilteredItems(),this.needsIcon=this.getNeedsIcon(),this.items.forEach((t=>{t.selectionMode=this.selectionMode,t.scale=this.scale})),this.allowCustomValues||this.setMaxScrollerHeight(),this.groupItems.forEach(((t,i,e)=>{0===i&&(t.afterEmptyGroup=!1);const s=e[i+1];s&&(s.afterEmptyGroup=0===t.children.length)}))},this.scrollToActiveItem=()=>{const t=this.filteredItems[this.activeItemIndex];if(!t)return;const i=this.calculateScrollerHeight(t),{offsetHeight:e,scrollTop:s}=this.listContainerEl;e+s<t.offsetTop+i?this.listContainerEl.scrollTop=t.offsetTop-e+i:t.offsetTop<s&&(this.listContainerEl.scrollTop=t.offsetTop)},this.comboboxFocusHandler=()=>{this.disabled||this.textInput?.focus()},this.clearDisabled=!1,this.filterText="",this.selectionDisplay="all",this.open=!1,this.disabled=!1,this.form=void 0,this.label=void 0,this.placeholder=void 0,this.placeholderIcon=void 0,this.placeholderIconFlipRtl=!1,this.maxItems=0,this.validationMessage=void 0,this.validationIcon=void 0,this.validity={valid:!1,badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valueMissing:!1},this.name=void 0,this.allowCustomValues=void 0,this.overlayPositioning="absolute",this.required=!1,this.selectionMode="multiple",this.scale="m",this.status="idle",this.value=null,this.flipPlacements=void 0,this.messages=void 0,this.messageOverrides=void 0,this.selectedItems=[],this.filteredItems=[],this.readOnly=!1,this.items=[],this.groupItems=[],this.needsIcon=void 0,this.activeItemIndex=-1,this.activeChipIndex=-1,this.activeDescendant="",this.compactSelectionDisplay=!1,this.selectedHiddenChipsCount=0,this.selectedVisibleChipsCount=0,this.effectiveLocale=void 0,this.defaultMessages=void 0}filterTextChange(t){this.updateActiveItemIndex(-1),this.filterItems(t,!0)}openHandler(){F(this),this.disabled?this.open=!1:this.setMaxScrollerHeight()}handleDisabledChange(t){t||(this.open=!1)}maxItemsHandler(){this.setMaxScrollerHeight()}overlayPositioningHandler(){this.reposition(!0)}handlePropsChange(){this.updateItems()}valueHandler(t){if(!this.internalValueChangeFlag){const i=this.getItems();Array.isArray(t)?i.forEach((i=>i.selected=t.includes(i.value))):i.forEach(t?i=>i.selected=t===i.value:t=>t.selected=!1),this.updateItems()}}onMessagesChange(){}flipPlacementsHandler(){this.setFilteredPlacements(),this.reposition(!0)}selectedItemsHandler(){this.internalValueChangeFlag=!0,this.value=this.getValue(),this.internalValueChangeFlag=!1}async documentClickHandler(t){this.disabled||t.composedPath().includes(this.el)||(await R(this.el),!this.allowCustomValues&&this.filterText&&(this.clearInputValue(),this.filterItems(""),this.updateActiveItemIndex(-1)),this.allowCustomValues&&this.filterText.trim().length&&this.addCustomChip(this.filterText),this.open=!1)}calciteComboboxItemChangeHandler(t){if(this.ignoreSelectedEventsFlag)return;const i=t.target,e=this.filteredItems.indexOf(i);this.updateActiveItemIndex(e),this.toggleSelection(i,i.selected)}calciteInternalComboboxItemChangeHandler(t){t.stopPropagation(),this.updateItems()}async reposition(t=!1){const{floatingEl:i,referenceEl:e,placement:s,overlayPositioning:a,filteredFlipPlacements:o}=this;return m(this,{floatingEl:i,referenceEl:e,overlayPositioning:a,placement:s,flipPlacements:o,type:"menu"},t)}async setFocus(){await E(this),this.textInput?.focus(),this.activeChipIndex=-1,this.activeItemIndex=-1}connectedCallback(){k(this),O(this),T(this),S(this),v(this),this.internalValueChangeFlag=!0,this.value=this.getValue(),this.internalValueChangeFlag=!1,this.mutationObserver?.observe(this.el,{childList:!0,subtree:!0}),this.updateItems(),this.setFilteredPlacements(),this.open&&(this.openHandler(),F(this)),b(this,this.referenceEl,this.floatingEl)}async componentWillLoad(){A(this),this.updateItems(),await W(this),this.filterItems(this.filterText,!1,!1)}componentDidLoad(){x(this,this.getValue()),b(this,this.referenceEl,this.floatingEl),L(this)}componentDidRender(){this.el.offsetHeight!==this.inputHeight&&(this.reposition(!0),this.inputHeight=this.el.offsetHeight),I(this)}componentDidUpdate(){this.refreshSelectionDisplay()}disconnectedCallback(){this.mutationObserver?.disconnect(),this.resizeObserver?.disconnect(),z(this),$(this),y(this),u(this,this.referenceEl,this.floatingEl),_(this),V(this)}effectiveLocaleChange(){B(this,this.effectiveLocale)}clearValue(){this.ignoreSelectedEventsFlag=!0,this.items.forEach((t=>t.selected=!1)),this.ignoreSelectedEventsFlag=!1,this.selectedItems=[],this.emitComboboxChange(),this.open=!1,this.updateActiveItemIndex(-1),this.resetText(),this.filterItems(""),this.setFocus()}clearInputValue(){this.textInput.value="",this.filterText=""}comboboxInViewport(){const t=this.el.getBoundingClientRect();return t.top>=0&&t.left>=0&&t.right<=(window.innerWidth||document.documentElement.clientWidth)&&t.bottom<=(window.innerHeight||document.documentElement.clientHeight)}onBeforeOpen(){this.scrollToActiveItem(),this.calciteComboboxBeforeOpen.emit()}onOpen(){this.calciteComboboxOpen.emit()}onBeforeClose(){this.calciteComboboxBeforeClose.emit()}onClose(){this.calciteComboboxClose.emit()}ensureRecentSelectedItemIsActive(){const{selectedItems:t}=this,i=0===t.length?0:this.items.indexOf(t[t.length-1]);this.updateActiveItemIndex(i)}hideChip(t){t.classList.add(J.chipInvisible)}showChip(t){t.classList.remove(J.chipInvisible)}refreshChipDisplay({chipEls:t,availableHorizontalChipElSpace:i,chipContainerElGap:e}){t.forEach((t=>{if(t.selected){const s=c(t);if(s&&s<i)return i-=s+e,void this.showChip(t)}else this.hideChip(t);this.hideChip(t)}))}setCompactSelectionDisplay({chipContainerElGap:t,chipContainerElWidth:i,inputWidth:e,largestSelectedIndicatorChipWidth:s}){const a=Math.round(s+t+e);(!this.maxCompactBreakpoint||this.maxCompactBreakpoint<a)&&(this.maxCompactBreakpoint=a),this.compactSelectionDisplay=i<this.maxCompactBreakpoint}setVisibleAndHiddenChips(t){let i=0;t.forEach((t=>{t.selected&&!t.classList.contains(J.chipInvisible)&&i++})),i!==this.selectedVisibleChipsCount&&(this.selectedVisibleChipsCount=i);const e=this.getSelectedItems().length-i;e!==this.selectedHiddenChipsCount&&(this.selectedHiddenChipsCount=e)}getMaxScrollerHeight(){const t=this.getItemsAndGroups().filter((t=>!t.hidden)),{maxItems:i}=this;let e=0,s=0;return t.length>i&&t.forEach((t=>{if(e<i){const i=this.calculateScrollerHeight(t);i>0&&(s+=i,e++)}})),s}calculateScrollerHeight(t){if(t)return t.getBoundingClientRect().height-Array.from(t.querySelectorAll(K)).reduce(((t,i)=>t+i.getBoundingClientRect().height),0)}getItemsAndGroups(){return[...this.groupItems,...this.items]}toggleSelection(t,i=!t.selected){!t||"single-persist"===this.selectionMode&&t.selected&&t.value===this.value||(this.isMulti()?(t.selected=i,this.updateAncestors(t),this.selectedItems=this.getSelectedItems(),this.emitComboboxChange(),this.resetText(),this.filterItems("")):(this.ignoreSelectedEventsFlag=!0,this.items.forEach((e=>e.selected=e===t&&i)),this.ignoreSelectedEventsFlag=!1,this.selectedItems=this.getSelectedItems(),this.emitComboboxChange(),this.textInput&&(this.textInput.value=Q(t)),this.open=!1,this.updateActiveItemIndex(-1),this.resetText(),this.filterItems("")))}updateAncestors(t){if("ancestors"!==this.selectionMode)return;const i=X(t),e=Y(t);t.selected?i.forEach((t=>{t.selected=!0})):(e.forEach((t=>t.selected=!1)),[...i].forEach((t=>{q(t)||(t.selected=!1)})))}getFilteredItems(){return""===this.filterText?this.items:this.items.filter((t=>!t.hidden))}getData(){return this.items.map((t=>({description:t.description,filterDisabled:t.filterDisabled,label:t.textLabel,metadata:t.metadata,shortHeading:t.shortHeading,value:t.value})))}getNeedsIcon(){return U(this.selectionMode)&&this.items.some((t=>t.icon))}resetText(){this.textInput&&(this.textInput.value=""),this.filterText=""}getItems(){return Array.from(this.el.querySelectorAll(Z)).filter((t=>!t.disabled))}getGroupItems(){return Array.from(this.el.querySelectorAll(tt))}addCustomChip(t,i){const e=this.items.find((i=>i.textLabel===t));if(e)this.toggleSelection(e,!0);else{this.isMulti()||this.toggleSelection(this.selectedItems[this.selectedItems.length-1],!1);const e=document.createElement("calcite-combobox-item");e.value=t,e.textLabel=t,e.selected=!0,this.el.prepend(e),this.resetText(),i&&this.setFocus(),this.updateItems(),this.filterItems(""),this.open=!0,this.emitComboboxChange()}}removeActiveChip(){this.toggleSelection(this.selectedItems[this.activeChipIndex],!1),this.setFocus()}removeLastChip(){this.toggleSelection(this.selectedItems[this.selectedItems.length-1],!1),this.setFocus()}previousChip(){const t=this.activeChipIndex;this.activeChipIndex=-1===t?this.selectedItems.length-1:Math.max(t-1,0),this.updateActiveItemIndex(-1),this.focusChip()}nextChip(){const t=this.activeChipIndex+1;t>this.selectedItems.length-1?(this.activeChipIndex=-1,this.setFocus()):(this.activeChipIndex=t,this.focusChip()),this.updateActiveItemIndex(-1)}focusChip(){const t=this.selectedItems[this.activeChipIndex]?.guid,i=t?this.referenceEl.querySelector(`#${dt}${t}`):null;i?.setFocus()}shiftActiveItemIndex(t){const{length:i}=this.filteredItems;this.updateActiveItemIndex((this.activeItemIndex+i+t)%i),this.scrollToActiveItem()}updateActiveItemIndex(t){this.activeItemIndex=t;let i=null;this.filteredItems.forEach(((e,s)=>{s===t?(e.active=!0,i=`${rt}${e.guid}`):e.active=!1})),this.activeDescendant=i,this.activeItemIndex>-1&&(this.activeChipIndex=-1)}isAllSelected(){return this.getItems().length===this.getSelectedItems().length}isMulti(){return!U(this.selectionMode)}renderChips(){const{activeChipIndex:i,readOnly:e,scale:s,selectionMode:a,messages:o}=this;return this.selectedItems.map(((n,l)=>{const c={chip:!0,"chip--active":i===l},h=[...X(n)].reverse(),r=Q(n),d=[...h,n].map((t=>Q(t))),p="ancestors"!==a?r:d.join(" / ");return t("calcite-chip",{appearance:e?"outline":"solid",class:c,closable:!e,"data-test-id":`chip-${l}`,icon:n.icon,iconFlipRtl:n.iconFlipRtl,id:n.guid?`${dt}${n.guid}`:null,key:r,messageOverrides:{dismissLabel:o.removeTag},onCalciteChipClose:()=>this.calciteChipCloseHandler(n),onFocusin:()=>this.activeChipIndex=l,scale:s,selected:n.selected,tabindex:i===l?0:-1,title:p,value:n.value},p)}))}renderAllSelectedIndicatorChip(){const{compactSelectionDisplay:i,scale:e,selectedVisibleChipsCount:s,setAllSelectedIndicatorChipEl:a}=this,o=this.messages.allSelected;return t("calcite-chip",{class:{chip:!0,[J.chipInvisible]:!(this.isAllSelected()&&!s&&!i)},ref:a,scale:e,title:o,value:""},o)}renderAllSelectedIndicatorChipCompact(){const{compactSelectionDisplay:i,scale:e,selectedVisibleChipsCount:s}=this,a=this.messages.all||"All";return t("calcite-chip",{class:{chip:!0,[J.chipInvisible]:!(this.isAllSelected()&&!s&&i)},scale:e,title:a,value:""},a)}renderSelectedIndicatorChip(){const{compactSelectionDisplay:i,selectionDisplay:e,getSelectedItems:s,scale:a,selectedHiddenChipsCount:o,selectedVisibleChipsCount:n,setSelectedIndicatorChipEl:l}=this;let c,h;if(i)c=!0;else if("single"===e){const t=s().length;c=!(!this.isAllSelected()&&t>0),h=`${t} ${this.messages.selected}`}else"fit"===e&&(c=!!(this.isAllSelected()&&0===n||0===o),h=n>0?`+${o}`:`${o} ${this.messages.selected}`);return t("calcite-chip",{class:{chip:!0,[J.chipInvisible]:c},ref:l,scale:a,title:h,value:""},h)}renderSelectedIndicatorChipCompact(){const{compactSelectionDisplay:i,selectionDisplay:e,getSelectedItems:s,scale:a,selectedHiddenChipsCount:o}=this;let n,l;if(i){const t=s().length;this.isAllSelected()?n=!0:"fit"===e?(n=!(o>0),l=`${o||0}`):"single"===e&&(n=!(t>0),l=`${t}`)}else n=!0;return t("calcite-chip",{class:{chip:!0,[J.chipInvisible]:n},scale:a,title:l,value:""},l)}get showingInlineIcon(){const{placeholderIcon:t,selectionMode:i,selectedItems:e,open:s}=this,a=e[0],o=a?.icon,n=U(i);return!s&&a?!!o&&n:!!t&&(!a||n)}renderInput(){const{guid:i,disabled:e,placeholder:s,selectionMode:a,selectedItems:o,open:n}=this,l=U(a),c=o[0],h=!n&&l&&!!c;return t("span",{class:{"input-wrap":!0,"input-wrap--single":l}},h&&t("span",{class:{label:!0,"label--icon":!!c?.icon},key:"label"},Q(c)),t("input",{"aria-activedescendant":this.activeDescendant,"aria-autocomplete":"list","aria-controls":`${bt}${i}`,"aria-errormessage":it.validationMessage,"aria-expanded":r(n),"aria-haspopup":"listbox","aria-invalid":r("invalid"===this.status),"aria-label":H(this),"aria-owns":`${bt}${i}`,class:{[J.input]:!0,"input--single":!0,"input--hidden":h,"input--icon":this.showingInlineIcon&&!!this.placeholderIcon},"data-test-id":"input",disabled:e,id:`${mt}${i}`,key:"input",onFocus:this.comboboxFocusHandler,onInput:this.inputHandler,placeholder:s,readOnly:this.readOnly,ref:t=>this.textInput=t,role:"combobox",tabindex:-1===this.activeChipIndex?0:-1,type:"text",value:this.filterText}))}renderListBoxOptions(){return this.filteredItems.map((i=>t("li",{"aria-selected":r(i.selected),id:i.guid?`${rt}${i.guid}`:null,role:"option",tabindex:"-1"},i.textLabel)))}renderFloatingUIContainer(){const{setFloatingEl:i,setContainerEl:e,open:s}=this;return t("div",{"aria-hidden":"true",class:{"floating-ui-container":!0,"floating-ui-container--active":s},ref:i},t("div",{class:{[J.listContainer]:!0,[g.animation]:!0,[g.animationActive]:s},ref:e},t("ul",{class:{list:!0,"list--hide":!s}},t("slot",null))))}renderSelectedOrPlaceholderIcon(){const{open:i,placeholderIcon:e,placeholderIconFlipRtl:s,selectedItems:a}=this,o=a[0],n=o?.icon,l=e&&(i||!o);return this.showingInlineIcon&&t("span",{class:"icon-start",key:"selected-placeholder-icon"},t("calcite-icon",{class:{[J.selectedIcon]:!l,[J.placeholderIcon]:l},flipRtl:l?s:o.iconFlipRtl,icon:l?e:n,scale:G(this.scale)}))}renderChevronIcon(){const{open:i}=this;return t("span",{class:"icon-end",key:"chevron"},t("calcite-icon",{class:J.icon,icon:i?"chevron-up":"chevron-down",scale:G(this.scale)}))}render(){const{selectionDisplay:i,guid:e,label:a,open:o,readOnly:n}=this,l=U(this.selectionMode),c="all"===i,h="single"===i,r=!l&&"fit"===i,d=!this.clearDisabled&&this.value?.length>0;return t(s,{key:"24749edfdb12a51e6e34c78d3428f83de7ac0457",onClick:this.comboboxFocusHandler},t(j,{key:"7300de366d86bcad91501f1124aed5f311820c37",disabled:this.disabled},t("div",{key:"fc8981935ffdd46fc5386517fce51170d41179a5","aria-live":"polite",class:{wrapper:!0,"wrapper--single":l||!this.selectedItems.length,"wrapper--active":o},onClick:this.clickHandler,onKeyDown:this.keyDownHandler,ref:this.setReferenceEl},this.renderSelectedOrPlaceholderIcon(),t("div",{class:{"grid-input":!0,[J.selectionDisplayFit]:r,[J.selectionDisplaySingle]:h},key:"grid",ref:this.setChipContainerEl},!l&&!h&&this.renderChips(),!l&&!c&&[this.renderSelectedIndicatorChip(),this.renderSelectedIndicatorChipCompact(),this.renderAllSelectedIndicatorChip(),this.renderAllSelectedIndicatorChipCompact()],t("label",{key:"60ca38b6b84d8ccd3e11419ca494c8a3b310e631",class:"screen-readers-only",htmlFor:`${mt}${e}`,id:`${pt}${e}`},a),this.renderInput()),!n&&d?t(ht,{disabled:this.disabled,key:"close-button",label:this.messages.clear,scale:this.scale}):null,!n&&this.renderChevronIcon()),t("ul",{key:"bb750b55b33af3a317ac7883d4f8ef88a23bf1c6","aria-labelledby":`${pt}${e}`,"aria-multiselectable":"true",class:"screen-readers-only",id:`${bt}${e}`,role:"listbox",tabIndex:-1},this.renderListBoxOptions()),this.renderFloatingUIContainer(),t(w,{key:"bf9a9f0dc62822568377ee1e602e24ca14b9c895",component:this}),this.validationMessage&&"invalid"===this.status?t(N,{icon:this.validationIcon,id:it.validationMessage,message:this.validationMessage,scale:this.scale,status:this.status}):null))}static get assetsDirs(){return["assets"]}get el(){return a(this)}static get watchers(){return{filterText:["filterTextChange"],open:["openHandler"],disabled:["handleDisabledChange"],maxItems:["maxItemsHandler"],overlayPositioning:["overlayPositioningHandler"],selectionMode:["handlePropsChange"],scale:["handlePropsChange"],value:["valueHandler"],messageOverrides:["onMessagesChange"],flipPlacements:["flipPlacementsHandler"],selectedItems:["selectedItemsHandler"],effectiveLocale:["effectiveLocaleChange"]}}};ut.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;display:block}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([scale=s]) .x-button{inline-size:1rem;block-size:1rem}:host([scale=m]) .x-button{inline-size:1.5rem;block-size:1.5rem}:host([scale=l]) .x-button{inline-size:2rem;block-size:2rem}.x-button{margin:0px;display:flex;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;align-content:center;align-items:center;justify-content:center;align-self:center;border-width:2px;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;border-radius:50%;border-color:transparent;background-color:var(--calcite-color-foreground-2)}.x-button:active,.x-button:hover{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-3)}.x-button:active{border-style:solid;border-color:var(--calcite-color-brand)}.x-button calcite-icon{color:inherit}:host([scale=s]){font-size:var(--calcite-font-size--2);--calcite-combobox-item-spacing-unit-l:0.5rem;--calcite-combobox-item-spacing-unit-s:0.25rem;--calcite-combobox-input-height:1rem;--calcite-internal-combobox-input-margin-block:calc(0.25rem - 1px)}:host([scale=s]) .x-button{margin-inline:0.5rem}:host([scale=m]){font-size:var(--calcite-font-size--1);--calcite-combobox-item-spacing-unit-l:0.75rem;--calcite-combobox-item-spacing-unit-s:0.5rem;--calcite-combobox-input-height:1rem;--calcite-internal-combobox-input-margin-block:calc(0.5rem - 1px)}:host([scale=m]) .x-button{margin-inline-end:0.75rem}:host([scale=l]){font-size:var(--calcite-font-size-0);--calcite-combobox-item-spacing-unit-l:1rem;--calcite-combobox-item-spacing-unit-s:0.75rem;--calcite-combobox-input-height:1.5rem;--calcite-internal-combobox-input-margin-block:calc(0.625rem - 1px)}:host([scale=l]) .x-button{margin-inline-end:1rem}.wrapper{display:flex;border-width:1px;border-style:solid;border-color:var(--calcite-color-border-input);background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-1);outline-color:transparent;padding-block:calc(var(--calcite-combobox-item-spacing-unit-s) / 4);padding-inline:var(--calcite-combobox-item-spacing-unit-l)}.wrapper:hover .icon{color:var(--calcite-color-text-1)}:host(:focus-within) .wrapper,.wrapper--active{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([read-only]) .wrapper{background-color:var(--calcite-color-background)}:host([read-only]) .label{font-weight:var(--calcite-font-weight-medium)}:host([status=invalid]) .wrapper{border-color:var(--calcite-color-status-danger)}:host([status=invalid]:focus-within) .wrapper{outline:2px solid var(--calcite-color-status-danger);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 )}.wrapper--single{padding-block:0;padding-inline:var(--calcite-combobox-item-spacing-unit-l);cursor:pointer;flex-wrap:nowrap}.grid-input{position:relative;display:flex;flex-grow:1;flex-wrap:wrap;align-items:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0px;gap:var(--calcite-combobox-item-spacing-unit-s);margin-inline-end:var(--calcite-combobox-item-spacing-unit-s)}.grid-input.selection-display-fit,.grid-input.selection-display-single{flex-wrap:nowrap;overflow:hidden}.input{flex-grow:1;-webkit-appearance:none;-moz-appearance:none;appearance:none;overflow:hidden;text-overflow:ellipsis;border-style:none;background-color:transparent;padding:0px;font-family:inherit;color:var(--calcite-color-text-1);font-size:inherit;block-size:var(--calcite-combobox-input-height);line-height:var(--calcite-combobox-input-height);inline-size:100%;margin-block-end:var(--calcite-combobox-item-spacing-unit-s);min-inline-size:4.8125rem}.input:focus{outline:2px solid transparent;outline-offset:2px}.input:-moz-placeholder-shown{text-overflow:ellipsis}.input:placeholder-shown{text-overflow:ellipsis}.input--single{padding:0px;margin-block:var(--calcite-internal-combobox-input-margin-block)}.wrapper--active .input-single{cursor:text}.input--hidden{pointer-events:none;inline-size:0px;min-inline-size:0px;opacity:0}.input--icon{padding-block:0;padding-inline:var(--calcite-combobox-item-spacing-unit-l)}.placeholder-icon{color:var(--calcite-color-text-3)}.input-wrap{display:flex;flex-grow:1;align-items:center}.input-wrap--single{flex:1 1 0%;overflow:hidden}.label{pointer-events:none;max-inline-size:100%;flex:1 1 auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0px;font-weight:var(--calcite-font-weight-normal);block-size:var(--calcite-combobox-input-height);line-height:var(--calcite-combobox-input-height)}.label--icon{padding-inline:var(--calcite-combobox-item-spacing-unit-l)}.icon-end,.icon-start{display:flex;cursor:pointer;align-items:center}.icon-end{flex:none}.icon-end .icon{color:var(--calcite-color-text-3)}.floating-ui-container{--calcite-floating-ui-z-index:var(--calcite-z-index-dropdown);display:block;position:absolute;z-index:var(--calcite-floating-ui-z-index);visibility:hidden}.floating-ui-container .calcite-floating-ui-anim{position:relative;transition:var(--calcite-floating-ui-transition);transition-property:inset, left, opacity;opacity:0;box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);z-index:var(--calcite-z-index);border-radius:0.25rem}.floating-ui-container[data-placement^=bottom] .calcite-floating-ui-anim{inset-block-start:-5px}.floating-ui-container[data-placement^=top] .calcite-floating-ui-anim{inset-block-start:5px}.floating-ui-container[data-placement^=left] .calcite-floating-ui-anim{left:5px}.floating-ui-container[data-placement^=right] .calcite-floating-ui-anim{left:-5px}.floating-ui-container[data-placement] .calcite-floating-ui-anim--active{opacity:1;inset-block:0;left:0}.floating-ui-container--active{visibility:visible}@media (forced-colors: active){.wrapper,.floating-ui-container--active{border:1px solid canvasText}}.screen-readers-only{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}.list-container{max-block-size:45vh;overflow-y:auto;background-color:var(--calcite-color-foreground-1);inline-size:var(--calcite-dropdown-width, 100%)}.list{margin:0px;display:block;padding:0px}.list--hide{block-size:0px;overflow:hidden}calcite-chip{--calcite-animation-timing:0}.chip{margin-block:calc(var(--calcite-combobox-item-spacing-unit-s) / 4);max-inline-size:100%}.chip--active{background-color:var(--calcite-color-foreground-3)}.chip--invisible{visibility:hidden;position:absolute}.item{display:block}.validation-container{display:flex;flex-direction:column;align-items:flex-start;align-self:stretch}:host([scale=m]) .validation-container,:host([scale=l]) .validation-container{padding-block-start:0.5rem}:host([scale=s]) .validation-container{padding-block-start:0.25rem}::slotted(input[slot=hidden-form-input]){margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}:host([hidden]){display:none}[hidden]{display:none}::slotted(calcite-combobox-item-group:not(:first-child)){padding-block-start:var(--calcite-combobox-item-spacing-unit-l)}";const gt=class{constructor(t){i(this,t),this.calciteInternalDropdownItemChange=e(this,"calciteInternalDropdownItemChange",6),this.updateItems=()=>{Array.from(this.el.querySelectorAll("calcite-dropdown-item")).forEach((t=>t.selectionMode=this.selectionMode))},this.mutationObserver=P("mutation",(()=>this.updateItems())),this.groupTitle=void 0,this.scale="m",this.selectionMode="single"}handlePropsChange(){this.updateItems()}connectedCallback(){this.updateItems(),this.mutationObserver?.observe(this.el,{childList:!0})}componentWillLoad(){this.groupPosition=this.getGroupPosition()}disconnectedCallback(){this.mutationObserver?.disconnect()}render(){const i=this.groupTitle?t("span",{"aria-hidden":"true",class:"dropdown-title"},this.groupTitle):null,e=this.groupPosition>0?t("div",{class:"dropdown-separator",role:"separator"}):null;return t(s,{key:"5e46ca1eb8f37e5af6f9ff4f417a9290c84f2f69","aria-label":this.groupTitle,role:"group"},t("div",{key:"af52f0ab422c21b0c10620b61fc7b6445d277878",class:{[st.container]:!0}},e,i,t("slot",{key:"e320a38a327d6ca9802c9664c93907df2705fbf3"})))}updateActiveItemOnChange(t){this.requestedDropdownGroup=t.detail.requestedDropdownGroup,this.requestedDropdownItem=t.detail.requestedDropdownItem,this.calciteInternalDropdownItemChange.emit({requestedDropdownGroup:this.requestedDropdownGroup,requestedDropdownItem:this.requestedDropdownItem})}getGroupPosition(){return Array.prototype.indexOf.call(this.el.parentElement.querySelectorAll("calcite-dropdown-group"),this.el)}static get delegatesFocus(){return!0}get el(){return a(this)}static get watchers(){return{selectionMode:["handlePropsChange"]}}};gt.style=":host{position:relative;display:block}.container{text-align:start}.dropdown-title{margin-block-end:-1px;display:block;cursor:default;overflow-wrap:break-word;border-width:0px;border-block-end-width:1px;border-style:solid;border-color:var(--calcite-color-border-3);font-weight:var(--calcite-font-weight-bold);color:var(--calcite-color-text-2)}.dropdown-separator{display:block;block-size:1px;background-color:var(--calcite-color-border-3)}:host([scale=s]){font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=s]) .dropdown-title{padding:0.5rem}:host([scale=m]){font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=m]) .dropdown-title{padding:0.75rem}:host([scale=l]){font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([scale=l]) .dropdown-title{padding:1rem}:host([hidden]){display:none}[hidden]{display:none}";const ft=class{constructor(t){i(this,t),this.idsFound=e(this,"idsFound",7),this.noLayersFound=e(this,"noLayersFound",7),this.layerSelectionChange=e(this,"layerSelectionChange",7),this.appearance="transparent",this.defaultLayerId="",this.display="inline-block",this.enabledLayerIds=[],this.enabledTableIds=[],this.height=void 0,this.isMobile=void 0,this.mapView=void 0,this.onlyShowUpdatableLayers=void 0,this.placeholderIcon="",this.selectedIds=[],this.scale="m",this.showTables=void 0,this.showSingleLayerAsLabel=!1,this.type="select",this._hasMultipleLayers=!0,this._hasValidLayers=!0,this._isDropdownOpen=void 0,this.ids=[],this.selectedName="",this._translations=void 0}get el(){return a(this)}defaultLayerHonored=!1;_layerElement;_layerNameHash;_tableNameHash;async mapViewWatchHandler(){await this._setLayers(),this.ids.length>0?(this._hasValidLayers=!0,this._hasMultipleLayers=this.ids.length>1,this._setSelectedLayer(this.ids[0])):(this._hasValidLayers=!1,this.noLayersFound.emit())}idsFound;noLayersFound;layerSelectionChange;async componentWillLoad(){await this._getTranslations(),await this._setLayers()}async componentWillRender(){if(this.ids.length>0||1===this.selectedIds.length){const t=1===this.selectedIds.length?this.selectedIds[0]:this.ids[0];t!==this.selectedIds[0]&&this._setSelectedLayer(t)}}render(){const i="map-layer-picker";let e=this.height>0?{height:`${this.height.toString()}px`}:{};return e={...e,display:this.display},t(s,{key:"786588e505e991901c68091bfa7db533f269c06e"},t("div",{key:"7dd54ee014577d33616464ff77eb8694380637d0",class:"map-layer-picker-container",style:e},t("div",{key:"a64ee10033e7ffc33b808a7bb984abd2781629a3",class:"map-layer-picker",style:e},this._hasValidLayers?!this._hasMultipleLayers&&this.showSingleLayerAsLabel?this._getSingleLayerPlaceholder():"combobox"===this.type?this._getCombobox(i):"select"===this.type?this._getSelect(i):this._getDropdown(i):this._getInvalidPlaceholder())))}async componentDidLoad(){if(this.ids.length>0||1===this.selectedIds.length){const t=1===this.selectedIds.length?this.selectedIds[0]:this.ids[0];"select"===this.type?this._layerElement.value=t:"dropdown"===this.type&&(this.selectedName=Object.keys(this._layerNameHash).indexOf(t)>-1?this._layerNameHash[t].name:Object.keys(this._tableNameHash).indexOf(t)>-1?this._tableNameHash[t].name:"")}}_getInvalidPlaceholder(){return t("div",null,t("calcite-notice",{class:"height-100",icon:"exclamation-mark-triangle",id:"no-valid-layers",kind:"danger",open:!0},t("div",{slot:"message"},this._translations.noLayersFound)),t("calcite-tooltip",{label:this._translations.enableEditUpdate,placement:"bottom","reference-element":"no-valid-layers"},t("span",null,this._translations.enableEditUpdate)))}_getSingleLayerPlaceholder(){const i=this._getItemTypeIcon();return t("div",{class:"layer-picker-label-container cursor-default"},t("calcite-icon",{icon:i,scale:"s"}),t("calcite-label",{class:"no-bottom-margin padding-start-1"},this.selectedName))}_getSelect(i){return t("calcite-select",{id:i,label:"",onCalciteSelectChange:()=>this._layerSelectionChange(),ref:t=>{this._layerElement=t},scale:this.scale},this._getMapLayerOptions())}_getCombobox(i){return t("calcite-combobox",{clearDisabled:!0,id:i,label:"",onCalciteComboboxChange:()=>this._layerSelectionChange(),"placeholder-icon":this.placeholderIcon,ref:t=>{this._layerElement=t},scale:this.scale,"selection-mode":"single"},this._getMapLayerOptions())}_getDropdown(i){return t("calcite-dropdown",{class:"layer-picker-dropdown",onCalciteDropdownBeforeClose:()=>this._isDropdownOpen=!1,onCalciteDropdownBeforeOpen:()=>this._isDropdownOpen=!0},this.isMobile?this._getDropdownButton():this._getActionDropdownButton(i),t("calcite-dropdown-group",{"selection-mode":"single"},this._getMapLayerOptions()))}_getActionDropdownButton(i){return t("calcite-action",{id:i,slot:"trigger",text:""},this._getDropdownButton())}_getDropdownButton(){const i=this._getItemTypeIcon();return t("calcite-button",{alignment:"icon-end-space-between",appearance:this.appearance,class:this.isMobile?"":"max-width-350",iconEnd:this._isDropdownOpen?"chevron-up":"chevron-down",iconStart:i,kind:"neutral",slot:this.isMobile?"trigger":"",width:"full"},t("div",null,this.selectedName))}_getItemTypeIcon(){let t="layers";if(this.selectedIds.length>0){const i=this.selectedIds[0];t=Object.keys(this._layerNameHash).indexOf(i)>-1?"layers":"table"}return t}_getMapLayerOptions(){return this.ids.reduce(((t,i)=>(this._validLayer(i)?t.push(this._getItem(i,"layer")):this._validTable(i)&&t.push(this._getItem(i,"table")),t)),[])}_getItem(i,e){const s="layer"===e?this._layerNameHash[i]:this._tableNameHash[i],a=!!this.onlyShowUpdatableLayers&&!s.supportsUpdate,o=s.name,n=this.selectedIds.indexOf(i)>-1;return"combobox"===this.type?t("calcite-combobox-item",{disabled:a,selected:n,textLabel:o,value:i}):"select"===this.type?t("calcite-option",{disabled:a,label:o,selected:n,value:i}):t("calcite-dropdown-group",{class:a?"disabled":"",selectionMode:a?"none":"single"},t("calcite-dropdown-item",{"icon-start":e,onClick:a?void 0:()=>{this._setSelectedLayer(i)},selected:n},o))}_setSelectedLayer(t){let i;this.defaultLayerId&&!this.defaultLayerHonored&&(i=this._getLayerFromHash(this.defaultLayerId),this.defaultLayerHonored=void 0!==i,t=this.defaultLayerHonored?this.defaultLayerId:t),i=i||this._getLayerFromHash(t),this.selectedName=i?.name,this.selectedIds=[t],this.layerSelectionChange.emit(this.selectedIds)}_getLayerFromHash(t){return Object.keys(this._layerNameHash).indexOf(t)>-1?this._layerNameHash[t]:Object.keys(this._tableNameHash).indexOf(t)>-1?this._tableNameHash[t]:void 0}async _setLayers(){if(this.mapView){await this._initLayerTableHash();const t=this.onlyShowUpdatableLayers?this._getEditableIds(this._layerNameHash):Object.keys(this._layerNameHash),i=this.showTables?this.onlyShowUpdatableLayers?this._getEditableIds(this._tableNameHash):Object.keys(this._tableNameHash):[];this.ids=[...t.reverse().filter((t=>!(this.enabledLayerIds?.length>0)||this.enabledLayerIds.reverse().indexOf(t)>-1)),...i.reverse().filter((t=>!(this.enabledTableIds?.length>0)||this.enabledTableIds.reverse().indexOf(t)>-1))],this.idsFound.emit({layerIds:t,tableIds:i})}}_getEditableIds(t){return Object.keys(t).reduce(((i,e)=>(t[e].supportsUpdate&&i.push(e),i)),[])}async _initLayerTableHash(){this._layerNameHash=await ot(this.mapView,this.onlyShowUpdatableLayers),this._tableNameHash=this.showTables?await nt(this.mapView,this.onlyShowUpdatableLayers):{}}_validLayer(t){const i=this._layerNameHash[t]?.name;return i&&Object.keys(lt.managedLayers).indexOf(i)<0&&(!(this.enabledLayerIds.length>0)||this.enabledLayerIds.indexOf(t)>-1)}_validTable(t){const i=this._tableNameHash[t]?.name,e=i&&this.showTables;return e?lt.managedTables.indexOf(i)<0&&(!(this.enabledTableIds.length>0)||this.enabledTableIds.indexOf(t)>-1):e}_layerSelectionChange(){const t=Array.isArray(this._layerElement.value)?this._layerElement.value:[this._layerElement.value];JSON.stringify(t)!==JSON.stringify([""])&&(this.selectedIds=t,this.layerSelectionChange.emit(this.selectedIds))}async _getTranslations(){const t=await at(this.el);this._translations=t[0]}static get watchers(){return{mapView:["mapViewWatchHandler"]}}};ft.style=":host{display:block}.map-layer-picker-container{width:100%;align-items:center}.map-layer-picker{position:relative;width:100%;display:inline-block}.padding-bottom-1{padding-bottom:1rem}.layer-picker-dropdown{height:100%;width:100%}.max-width-350{max-width:350px}.height-100{height:100%}.disabled{cursor:default !important;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled);pointer-events:none}.no-bottom-margin{--calcite-label-margin-bottom:0px}.layer-picker-label-container{align-items:center;display:inline-flex;height:100%;padding-inline-start:1rem;padding-inline-end:1rem}.padding-start-1{padding-inline-start:1rem}.cursor-default{cursor:default}";export{ut as calcite_combobox,gt as calcite_dropdown_group,ft as map_layer_picker}
@@ -1,20 +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{g as t,r as e,h as i,H as n}from"./p-6eb37ed2.js";import{g as r,a as s,b as o}from"./p-e9d3365f.js";import{s as a}from"./p-36e59391.js";import"./p-d0d020a5.js";import"./p-7530a02f.js";import{g as h}from"./p-2058b5d9.js";import{r as c,N as u,c as l,e as f,A as d}from"./p-9bb44f57.js";import"./p-80cb7c73.js";import"./p-720a12c0.js";import"./p-d4056c1c.js";import"./p-0a24ad5f.js";
7
- /*! *****************************************************************************
8
- Copyright (c) Microsoft Corporation.
9
-
10
- Permission to use, copy, modify, and/or distribute this software for any
11
- purpose with or without fee is hereby granted.
12
-
13
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
14
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
15
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
16
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
17
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
18
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
19
- PERFORMANCE OF THIS SOFTWARE.
20
- ***************************************************************************** */var p=function(){return p=Object.assign||function(t){for(var e,i=1,n=arguments.length;i<n;i++)for(var r in e=arguments[i])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},p.apply(this,arguments)};function w(t,e){var i=e;return i.rawResponse=!1,c(t,i).then((function(t){var e={token:t.access_token,username:t.username,expires:new Date(Date.now()+(1e3*t.expires_in-1e3)),ssl:!0===t.ssl};return t.refresh_token&&(e.refreshToken=t.refresh_token),e}))}function m(t,e){var i=e;return i.params.referer="undefined"!=typeof window&&window.location&&window.location.host?window.location.host:u,c(t,i)}var g=/^https?:\/\/(\S+)\.arcgis\.com.+/;function v(t){return g.test(t)}function b(t){if(!g.test(t))return null;var e=t.match(g)[1].split(".").pop();return e.includes("dev")?"dev":e.includes("qa")?"qa":"production"}var k=function(){function t(t){if(this.clientId=t.clientId,this._refreshToken=t.refreshToken,this._refreshTokenExpires=t.refreshTokenExpires,this.username=t.username,this.password=t.password,this._token=t.token,this._tokenExpires=t.tokenExpires,this.portal=t.portal?l(t.portal):"https://www.arcgis.com/sharing/rest",this.ssl=t.ssl,this.provider=t.provider||"arcgis",this.tokenDuration=t.tokenDuration||20160,this.redirectUri=t.redirectUri,this.refreshTokenTTL=t.refreshTokenTTL||20160,this.server=t.server,this.federatedServers={},this.trustedDomains=[],t.server){var e=this.getServerRootUrl(t.server);this.federatedServers[e]={token:t.token,expires:t.tokenExpires}}this._pendingTokenRequests={}}return Object.defineProperty(t.prototype,"token",{get:function(){return this._token},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"tokenExpires",{get:function(){return this._tokenExpires},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"refreshToken",{get:function(){return this._refreshToken},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"refreshTokenExpires",{get:function(){return this._refreshTokenExpires},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"trustedServers",{get:function(){return console.log("DEPRECATED: use federatedServers instead"),this.federatedServers},enumerable:!1,configurable:!0}),t.beginOAuth2=function(e,i){void 0===i&&(i=window),e.duration&&console.log("DEPRECATED: 'duration' is deprecated - use 'expiration' instead");var n,r=p({portal:"https://www.arcgis.com/sharing/rest",provider:"arcgis",expiration:20160,popup:!0,popupWindowFeatures:"height=400,width=600,menubar=no,location=yes,resizable=yes,scrollbars=yes,status=yes",state:e.clientId,locale:""},e),s=r.portal,o=r.provider,a=r.clientId,h=r.expiration,c=r.redirectUri,u=r.popup,l=r.popupWindowFeatures,w=r.state,m=r.locale,g=r.params;if(n="arcgis"===o?s+"/oauth2/authorize?client_id="+a+"&response_type=token&expiration="+(e.duration||h)+"&redirect_uri="+encodeURIComponent(c)+"&state="+w+"&locale="+m:s+"/oauth2/social/authorize?client_id="+a+"&socialLoginProviderName="+o+"&autoAccountCreateForSocial=true&response_type=token&expiration="+(e.duration||h)+"&redirect_uri="+encodeURIComponent(c)+"&state="+w+"&locale="+m,g&&(n=n+"&"+f(g)),u){var v,b=((v={promise:null,resolve:null,reject:null}).promise=new Promise((function(t,e){v.resolve=t,v.reject=e})),v);return i["__ESRI_REST_AUTH_HANDLER_"+a]=function(e,i){if(e){var n=JSON.parse(e);b.reject(new d(n.errorMessage,n.error))}else if(i){var r=JSON.parse(i);b.resolve(new t({clientId:a,portal:s,ssl:r.ssl,token:r.token,tokenExpires:new Date(r.expires),username:r.username}))}},i.open(n,"oauth-window",l),b.promise}i.location.href=n},t.completeOAuth2=function(e,i){void 0===i&&(i=window);var n=p({portal:"https://www.arcgis.com/sharing/rest",popup:!0},e),r=n.portal,s=n.clientId,o=n.popup;function a(e,n){try{var a=void 0,h="__ESRI_REST_AUTH_HANDLER_"+s;if(o&&(i.opener?i.opener.parent&&i.opener.parent[h]?a=i.opener.parent[h]:i.opener&&i.opener[h]&&(a=i.opener[h]):i!==i.parent&&i.parent&&i.parent[h]&&(a=i.parent[h]),a))return a(e?JSON.stringify(e):void 0,JSON.stringify(n)),void i.close()}catch(t){throw new d('Unable to complete authentication. It\'s possible you specified popup based oAuth2 but no handler from "beginOAuth2()" present. This generally happens because the "popup" option differs between "beginOAuth2()" and "completeOAuth2()".')}if(e)throw new d(e.errorMessage,e.error);return new t({clientId:s,portal:r,ssl:n.ssl,token:n.token,tokenExpires:n.expires,username:n.username})}var h=i.location.hash.replace(/^#/,"").split("&").reduce((function(t,e){var i=function(t){var e=t.split("="),i=e[1];return{key:decodeURIComponent(e[0]),value:decodeURIComponent(i)}}(e);return t[i.key]=i.value,t}),{});if(!h.access_token){var c=void 0,u="Unknown error";return h.error&&(c=h.error,u=h.error_description),a({error:c,errorMessage:u})}return a(void 0,{token:h.access_token,expires:new Date(Date.now()+1e3*parseInt(h.expires_in,10)-6e4),ssl:"true"===h.ssl,username:h.username})},t.fromParent=function(e,i){var n;return!i&&window&&(i=window),new Promise((function(r,s){i.addEventListener("message",n=function(e){if(e.source===i.parent&&e.data)try{return r(t.parentMessageHandler(e))}catch(t){return s(t)}},!1),i.parent.postMessage({type:"arcgis:auth:requestCredential"},e)})).then((function(t){return i.removeEventListener("message",n,!1),t}))},t.authorize=function(t,e){t.duration&&console.log("DEPRECATED: 'duration' is deprecated - use 'expiration' instead");var i=p({portal:"https://arcgis.com/sharing/rest",expiration:20160},t);e.writeHead(301,{Location:i.portal+"/oauth2/authorize?client_id="+i.clientId+"&expiration="+(t.duration||i.expiration)+"&response_type=code&redirect_uri="+encodeURIComponent(i.redirectUri)}),e.end()},t.exchangeAuthorizationCode=function(e,i){var n=p({portal:"https://www.arcgis.com/sharing/rest",refreshTokenTTL:20160},e),r=n.portal,s=n.clientId,o=n.redirectUri,a=n.refreshTokenTTL;return w(r+"/oauth2/token",{params:{grant_type:"authorization_code",client_id:s,redirect_uri:o,code:i}}).then((function(e){return new t({clientId:s,portal:r,ssl:e.ssl,redirectUri:o,refreshToken:e.refreshToken,refreshTokenTTL:a,refreshTokenExpires:new Date(Date.now()+60*(a-1)*1e3),token:e.token,tokenExpires:e.expires,username:e.username})}))},t.deserialize=function(e){var i=JSON.parse(e);return new t({clientId:i.clientId,refreshToken:i.refreshToken,refreshTokenExpires:new Date(i.refreshTokenExpires),username:i.username,password:i.password,token:i.token,tokenExpires:new Date(i.tokenExpires),portal:i.portal,ssl:i.ssl,tokenDuration:i.tokenDuration,redirectUri:i.redirectUri,refreshTokenTTL:i.refreshTokenTTL})},t.fromCredential=function(e){var i=void 0===e.ssl||e.ssl,n=e.expires||Date.now()+72e5;return new t({portal:e.server.includes("sharing/rest")?e.server:e.server+"/sharing/rest",ssl:i,token:e.token,username:e.userId,tokenExpires:new Date(n)})},t.parentMessageHandler=function(e){if("arcgis:auth:credential"===e.data.type)return t.fromCredential(e.data.credential);if("arcgis:auth:error"===e.data.type){var i=new Error(e.data.error.message);throw i.name=e.data.error.name,i}throw new Error("Unknown message type.")},t.prototype.toCredential=function(){return{expires:this.tokenExpires.getTime(),server:this.portal,ssl:this.ssl,token:this.token,userId:this.username}},t.prototype.getUser=function(t){var e=this;if(this._pendingUserRequest)return this._pendingUserRequest;if(this._user)return Promise.resolve(this._user);var i=this.portal+"/community/self",n=p(p({httpMethod:"GET",authentication:this},t),{rawResponse:!1});return this._pendingUserRequest=c(i,n).then((function(t){return e._user=t,e._pendingUserRequest=null,t})),this._pendingUserRequest},t.prototype.getPortal=function(t){var e=this;if(this._pendingPortalRequest)return this._pendingPortalRequest;if(this._portalInfo)return Promise.resolve(this._portalInfo);var i=this.portal+"/portals/self",n=p(p({httpMethod:"GET",authentication:this},t),{rawResponse:!1});return this._pendingPortalRequest=c(i,n).then((function(t){return e._portalInfo=t,e._pendingPortalRequest=null,t})),this._pendingPortalRequest},t.prototype.getUsername=function(){return this.username?Promise.resolve(this.username):this._user?Promise.resolve(this._user.username):this.getUser().then((function(t){return t.username}))},t.prototype.getToken=function(t,e){return n=t,r=v(i=this.portal),s=v(n),o=b(i),a=b(n),r&&s&&o===a||new RegExp(this.portal,"i").test(t)?this.getFreshToken(e):this.getTokenForServer(t,e);var i,n,r,s,o,a},t.prototype.validateAppAccess=function(t){return this.getToken(this.portal).then((function(e){return function(t,e,i){return void 0===i&&(i="https://www.arcgis.com/sharing/rest"),c(i+"/oauth2/validateAppAccess",{method:"POST",params:{f:"json",client_id:e,token:t}})}(e,t)}))},t.prototype.toJSON=function(){return{clientId:this.clientId,refreshToken:this.refreshToken,refreshTokenExpires:this.refreshTokenExpires,username:this.username,password:this.password,token:this.token,tokenExpires:this.tokenExpires,portal:this.portal,ssl:this.ssl,tokenDuration:this.tokenDuration,redirectUri:this.redirectUri,refreshTokenTTL:this.refreshTokenTTL}},t.prototype.serialize=function(){return JSON.stringify(this)},t.prototype.enablePostMessageAuth=function(t,e){!e&&window&&(e=window),this._hostHandler=this.createPostMessageHandler(t),e.addEventListener("message",this._hostHandler,!1)},t.prototype.disablePostMessageAuth=function(t){!t&&window&&(t=window),t.removeEventListener("message",this._hostHandler,!1)},t.prototype.refreshSession=function(t){return this._user=null,this.username&&this.password?this.refreshWithUsernameAndPassword(t):this.clientId&&this.refreshToken?this.refreshWithRefreshToken():Promise.reject(new d("Unable to refresh token."))},t.prototype.getServerRootUrl=function(t){var e=l(t).split(/\/rest(\/admin)?\/services(?:\/|#|\?|$)/)[0].match(/(https?:\/\/)(.+)/),i=e[1],n=e[2].split("/"),r=n[0],s=n.slice(1);return""+i+r.toLowerCase()+"/"+s.join("/")},t.prototype.getDomainCredentials=function(t){return this.trustedDomains&&this.trustedDomains.length&&this.trustedDomains.some((function(e){return t.startsWith(e)}))?"include":"same-origin"},t.prototype.createPostMessageHandler=function(t){var e=this;return function(i){var n=t.indexOf(i.origin)>-1,r="arcgis:auth:requestCredential"===i.data.type,s=e.tokenExpires.getTime()>Date.now();if(n&&r){var o={};if(s){var a=e.toCredential();a.server=a.server.replace("/sharing/rest",""),o={type:"arcgis:auth:credential",credential:a}}else o={type:"arcgis:auth:error",error:{name:"tokenExpiredError",message:"Session token was expired, and not returned to the child application"}};i.source.postMessage(o,i.origin)}}},t.prototype.getTokenForServer=function(t,e){var i=this,n=this.getServerRootUrl(t),r=this.federatedServers[n];return r&&r.expires&&r.expires.getTime()>Date.now()?Promise.resolve(r.token):(this._pendingTokenRequests[n]||(this._pendingTokenRequests[n]=this.fetchAuthorizedDomains().then((function(){return c(n+"/rest/info",{credentials:i.getDomainCredentials(t)}).then((function(r){if(r.owningSystemUrl){if(s=r.owningSystemUrl,o=l(function(t){if(!g.test(t))return t;switch(b(t)){case"dev":return"https://devext.arcgis.com/sharing/rest";case"qa":return"https://qaext.arcgis.com/sharing/rest";default:return"https://www.arcgis.com/sharing/rest"}}(i.portal)).replace(/https?:\/\//,""),a=l(s).replace(/https?:\/\//,""),new RegExp(a,"i").test(o))return c(r.owningSystemUrl+"/sharing/rest/info",e);throw new d(t+" is not federated with "+i.portal+".","NOT_FEDERATED")}var s,o,a;if(r.authInfo&&void 0!==i.federatedServers[n])return Promise.resolve({authInfo:r.authInfo});throw new d(t+" is not federated with any portal and is not explicitly trusted.","NOT_FEDERATED")})).then((function(t){return t.authInfo.tokenServicesUrl})).then((function(e){return i.token&&i.tokenExpires.getTime()>Date.now()?m(e,{params:{token:i.token,serverUrl:t,expiration:i.tokenDuration,client:"referer"}}):m(e,{params:{username:i.username,password:i.password,expiration:i.tokenDuration,client:"referer"}}).then((function(t){return i._token=t.token,i._tokenExpires=new Date(t.expires),t}))})).then((function(t){return i.federatedServers[n]={expires:new Date(t.expires),token:t.token},delete i._pendingTokenRequests[n],t.token}))}))),this._pendingTokenRequests[n])},t.prototype.getFreshToken=function(t){var e=this;return this.token&&!this.tokenExpires||this.token&&this.tokenExpires&&this.tokenExpires.getTime()>Date.now()?Promise.resolve(this.token):(this._pendingTokenRequests[this.portal]||(this._pendingTokenRequests[this.portal]=this.refreshSession(t).then((function(t){return e._pendingTokenRequests[e.portal]=null,t.token}))),this._pendingTokenRequests[this.portal])},t.prototype.refreshWithUsernameAndPassword=function(t){var e=this,i=p({params:{username:this.username,password:this.password,expiration:this.tokenDuration}},t);return m(this.portal+"/generateToken",i).then((function(t){return e._token=t.token,e._tokenExpires=new Date(t.expires),e}))},t.prototype.refreshWithRefreshToken=function(t){var e=this;if(this.refreshToken&&this.refreshTokenExpires&&this.refreshTokenExpires.getTime()<Date.now())return this.refreshRefreshToken(t);var i=p({params:{client_id:this.clientId,refresh_token:this.refreshToken,grant_type:"refresh_token"}},t);return w(this.portal+"/oauth2/token",i).then((function(t){return e._token=t.token,e._tokenExpires=t.expires,e}))},t.prototype.refreshRefreshToken=function(t){var e=this,i=p({params:{client_id:this.clientId,refresh_token:this.refreshToken,redirect_uri:this.redirectUri,grant_type:"exchange_refresh_token"}},t);return w(this.portal+"/oauth2/token",i).then((function(t){return e._token=t.token,e._tokenExpires=t.expires,e._refreshToken=t.refreshToken,e._refreshTokenExpires=new Date(Date.now()+60*(e.refreshTokenTTL-1)*1e3),e}))},t.prototype.fetchAuthorizedDomains=function(){var t=this;return this.server||!this.portal?Promise.resolve(this):this.getPortal().then((function(e){return e.authorizedCrossOriginDomains&&e.authorizedCrossOriginDomains.length&&(t.trustedDomains=e.authorizedCrossOriginDomains.filter((function(t){return!t.startsWith("http://")})).map((function(t){return t.startsWith("https://")?t:"https://"+t}))),t}))},t}();const y=class{get el(){return t(this)}async serializedAuthenticationWatchHandler(){this.authentication=this.serializedAuthentication?k.deserialize(this.serializedAuthentication):new k({})}async valueWatchHandler(){await this._loadSolution(this.solutionItemId)}constructor(t){e(this,t),this.authentication=new k({}),this.serializedAuthentication="",this.solutionItemId="",this.showLoading=!1,this._currentEditItemId="",this._organizationVariables="",this._solutionContentsComponent=void 0,this._solutionIsLoaded=!1,this._solutionVariables="",this._templateHierarchy=[],this._translations=void 0,this._treeOpen=!0,this.serializedAuthentication&&(this.authentication=k.deserialize(this.serializedAuthentication)),this._loadSolution(this.solutionItemId),window.addEventListener("solutionStoreHasChanges",(t=>{this._updateSaveability(this._solutionStoreHasChanges=t.detail,this._solutionEditorHasChanges,this._solutionEditorHasErrors)})),window.addEventListener("solutionEditorHasChanges",(t=>{this._updateSaveability(this._solutionStoreHasChanges,this._solutionEditorHasChanges=t.detail,this._solutionEditorHasErrors)})),window.addEventListener("solutionEditorHasErrors",(t=>{this._updateSaveability(this._solutionStoreHasChanges,this._solutionEditorHasChanges,this._solutionEditorHasErrors=t.detail)}))}async componentWillLoad(){return this._getTranslations()}render(){const t=a.getStoreInfo("spatialReferenceInfo"),e=a.getStoreInfo("featureServices").length>0,o=a.getStoreInfo("solutionData");return this._solutionVariables=JSON.stringify(r(o.templates,this._translations)),this._organizationVariables=JSON.stringify(s(this._translations)),i(n,{key:"123945bd615832395c715d069c553338945c3445"},this._solutionIsLoaded?null:i("calcite-loader",{label:""}),i("div",{key:"b70e7008ad0f2fde0a284c2e1e7d13fafc4d3184",class:"configuration-container"},i("div",{key:"566193f4c5df2ad19206b3d458d0c298adca7e3b",class:"configuration"},i("calcite-tabs",{key:"34e2642b46dba26d67730feb2b5382ea02556b42",class:"config-tabs"},i("calcite-tab-nav",{key:"144f120e92e3f45e35ddc53a5bef7aef786eca5c",slot:"tab-nav"},i("calcite-tab-title",{key:"32c5c21f04e68b83fb8add008f9aa409c2c18fc6"},this._translations.definitionTab),e?i("calcite-tab-title",null,this._translations.spatialReferenceTab):null),i("calcite-tab",{key:"44392d41f2a367c3ab3b605ecc952d2873cdbade",class:"config-tab",selected:!0},i("div",{key:"50a37338ee55b0d04e0cfcf18e02180bdfb2a2da",class:"config-solution"},i("div",{key:"30a6e2d0cc31f7fbe0d1521e906e8f6ec5274f2e",class:this._treeOpen?"config-inventory":"config-inventory-hide"},i("solution-contents",{id:"configInventory",key:`${this.solutionItemId}-contents`,ref:t=>this._solutionContentsComponent=t})),i("calcite-button",{key:"a5e869d60079a9f68b024628ea7148886e79108e",appearance:"transparent",class:"collapse-btn","icon-start":this._treeOpen?"chevrons-left":"chevrons-right",id:"collapse-vars",onClick:()=>this._toggleTree(),scale:"s",title:this._treeOpen?this._translations.collapse:this._translations.expand}),i("div",{key:"23eea28391e9fa3e382b67554fa842c828f504f2",class:"config-item"},i("solution-item",{authentication:this.authentication,"item-id":this._currentEditItemId,key:`${this.solutionItemId}-item`,"organization-variables":this._organizationVariables,"solution-item-id":this.solutionItemId,"solution-variables":this._solutionVariables})))),e?i("calcite-tab",{class:"config-tab"},i("div",{class:"config-solution"},i("solution-spatial-ref",{enableDefault:!!t.default,enabled:t?.enabled,featureServices:a.getStoreInfo("featureServices").map((t=>t.name)),id:"configure-solution-spatial-ref",key:`${this.solutionItemId}-spatial-ref`}))):null))))}_solutionStoreHasChanges=!1;_solutionEditorHasChanges=!1;_solutionEditorHasErrors=!1;_canSave=!1;_solutionItemSelected(t){this._currentEditItemId=t.detail}async getSpatialReferenceInfo(){return Promise.resolve(a.getStoreInfo("spatialReferenceInfo"))}async saveSolution(){this._solutionIsLoaded=!1,await a.saveSolution(),this._solutionIsLoaded=!0,this.solutionItemId=null}async unloadSolution(){this.solutionItemId=null}_initProps(){const t=a.getStoreInfo("solutionData");let e;this._templateHierarchy=[...o(t.templates)],this._solutionContentsComponent&&(this._solutionContentsComponent.templateHierarchy=this._templateHierarchy),this._templateHierarchy.length>0&&(e=a.getItemInfo(this._templateHierarchy[0].id)),this._currentEditItemId=e?e.itemId:""}async _loadSolution(t){return t?(this._solutionIsLoaded=!1,await a.loadSolution(t,this.authentication),this._initProps(),this._solutionIsLoaded=!0):this._reset(),Promise.resolve()}_reset(){this._currentEditItemId="",this._organizationVariables="",this._solutionVariables="",this._templateHierarchy=[]}_toggleTree(){this._treeOpen=!this._treeOpen}_updateSaveability(t,e,i){const n=(t||e)&&!i;this._canSave!==n&&window.dispatchEvent(new CustomEvent("solutionCanSave",{detail:n,bubbles:!0,cancelable:!1,composed:!0})),this._canSave=n}async _getTranslations(){const t=await h(this.el);this._translations=t[0]}static get watchers(){return{serializedAuthentication:["serializedAuthenticationWatchHandler"],solutionItemId:["valueWatchHandler"]}}};y.style=".configuration-container{position:relative;height:100%;width:100%}.configuration{position:absolute;top:0px;right:0px;bottom:0px;left:0px;display:flex;padding:0.5rem;border:1px #808080 solid}.config-tabs{width:100%}.config-tab{width:100%}.config-solution{position:absolute;top:3.5rem;right:-1px;bottom:-1px;left:-1px;display:flex;padding:0.5rem}.config-inventory{display:inline;max-width:-moz-min-content;max-width:min-content;flex-grow:0;overflow-y:auto}.config-inventory-hide{display:none;max-width:-moz-min-content;max-width:min-content;flex-grow:0;overflow-y:auto}.config-item{position:relative;display:inline;flex-grow:1;overflow-y:auto;margin-inline-start:0.5rem}solution-contents{position:relative;height:100%}solution-item{position:relative;height:100%}solution-spatial-ref{position:relative;height:100%;width:100%;overflow-y:auto}";export{y as solution_configuration}
@@ -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,g as a,h as i,H as t}from"./p-6eb37ed2.js";import{c as l}from"./p-747d4b59.js";const s=class{constructor(a){e(this,a),this.showAddDeduct=!1}get el(){return a(this)}_deductValuesElement;render(){const e=this.showAddDeduct?"position-relative":"display-none";return i(t,{key:"ed87d1027005d190e25bf5e1d7290e84d9d17ba0"},i("div",{key:"d9396264216f810a3bdcf5fce4872580b3abebe2",class:this.showAddDeduct?"display-none":"display-grid"},i("div",{key:"a4235f8123959cf0d27faa2146de5aec798e5179",class:"label-display"},i("calcite-label",{key:"6393ded2cce33388aed760d1a3ceefe395718020",class:"label-display"},"Enter comma delimited deduct values",this._getDeductValuesInput())),i("div",{key:"e172c646a39a69e7a69d3646389907ce561fb4ff"},this._getCalculateButton())),i("div",{key:"c9659b510e86cebd0170dc73a1ba5afc3173dc8a",class:e},i("div",{key:"45a9b444a79863644a330e72598ce7c33565db77",class:"position-right"},i("calcite-action",{key:"250c4da105f5d33f058d7770e83e4c6d89741f90",appearance:"transparent",class:"float-end",icon:"x",onClick:()=>this._toggleShowAddDeduct(),scale:"s",text:""})),i("deduct-calculator",{key:"b51cb55ab07b8e5556e6eb6e04d23d7e1b767850",class:"display-grid padding-top-1",onDeductValueComplete:e=>this._addDeductValue(e)})))}_getDeductValuesInput(){return i("div",{class:"display-flex"},i("calcite-input",{class:"main-input",ref:e=>{this._deductValuesElement=e}}),i("calcite-action",{appearance:"transparent",icon:"plus-circle",onClick:()=>this._toggleShowAddDeduct(),scale:"s",text:""}))}_getCalculateButton(){return i("calcite-button",{onClick:()=>this._calculatePCI(this._deductValuesElement.value)},"Calculate PCI")}_toggleShowAddDeduct(){this.showAddDeduct=!this.showAddDeduct}_addDeductValue(e){this._toggleShowAddDeduct(),this._deductValuesElement.value+=Math.abs(parseFloat(this._deductValuesElement.value))>0?`,${e.detail}`:e.detail}_calculatePCI(e){const a=l(e,!0),i=a<=10?"Failed":a<=25?"Serious":a<=40?"Very Poor":a<=55?"Poor":a<=70?"Fair":a<=85?"Satisfactory":"Good";console.log(`PCI: ${a}`),console.log(`Rating: ${i}`),alert("See debug console for results")}};s.style=":host{display:block;--calcite-label-margin-bottom:0}.label-display{display:block;padding-bottom:1rem}.display-flex{display:flex}.display-grid{display:grid}.display-table{display:table}.display-inline-table{display:inline-table}.display-none{display:none}.display-inherit{display:inherit}.padding-top-1{padding-top:1rem}.main-input{width:300px;padding-inline-end:1rem}.float-end{float:inline-end}.position-relative{position:relative}.position-right{position:absolute;right:0px}";export{s as pci_calculator}
@@ -1,17 +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,H as o,g as a,F as n}from"./p-6eb37ed2.js";import{c as s,d as l}from"./p-f8d23498.js";import{g as r,s as c,f as d,u as h,e as m}from"./p-66cee72b.js";import{d as p,a as b,c as u,u as f}from"./p-174aa4da.js";import{s as x,a as g,c as v}from"./p-3e828614.js";import{c as w}from"./p-1c249530.js";import{o as k}from"./p-6e118057.js";import{c as y,d as z}from"./p-8d453a3a.js";import{s as C,c as j,d as S,u as M}from"./p-a5fc6ab7.js";import{g as $,c as L}from"./p-27d462c0.js";import{l as O}from"./p-b5b66530.js";import{g as D}from"./p-2058b5d9.js";import"./p-aaa56cbf.js";import"./p-8bfa18b7.js";import"./p-0ef9d36b.js";import"./p-4b9b7778.js";import"./p-64a34d92.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.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 T="modal",E="header",F="container",H="container--open",B="container--embedded",A="content",I="content--no-footer",_="modal--opening-idle",P="modal--opening-active",W="modal--closing-idle",R="modal--closing-active",q="content",G="back",V="secondary",J="primary";let K=0,N="";O.deprecated("component",{name:"modal",removalVersion:4,suggested:"dialog"});const Q=class{constructor(i){t(this,i),this.calciteModalBeforeClose=e(this,"calciteModalBeforeClose",6),this.calciteModalClose=e(this,"calciteModalClose",6),this.calciteModalBeforeOpen=e(this,"calciteModalBeforeOpen",6),this.calciteModalOpen=e(this,"calciteModalOpen",6),this.ignoreOpenChange=!1,this.mutationObserver=w("mutation",(()=>this.handleMutationObserver())),this.cssVarObserver=w("mutation",(()=>{this.updateSizeCssVars()})),this.openTransitionProp="opacity",this.setTransitionEl=t=>{this.transitionEl=t},this.openEnd=()=>{this.setFocus(),this.el.removeEventListener("calciteModalOpen",this.openEnd)},this.handleCloseClick=()=>{this.open=!1},this.handleOutsideClose=()=>{this.outsideCloseDisabled||(this.open=!1)},this.closeModal=async()=>{if(this.beforeClose)try{await this.beforeClose(this.el)}catch(t){return void requestAnimationFrame((()=>{this.ignoreOpenChange=!0,this.open=!0,this.ignoreOpenChange=!1}))}K--,this.opened=!1,this.removeOverflowHiddenClass()},this.handleMutationObserver=()=>{this.updateFooterVisibility(),this.updateFocusTrapElements()},this.updateFooterVisibility=()=>{this.hasFooter=!!r(this.el,[G,J,V])},this.updateSizeCssVars=()=>{this.cssWidth=getComputedStyle(this.el).getPropertyValue("--calcite-modal-width"),this.cssHeight=getComputedStyle(this.el).getPropertyValue("--calcite-modal-height")},this.contentTopSlotChangeHandler=t=>{this.hasContentTop=c(t)},this.contentBottomSlotChangeHandler=t=>{this.hasContentBottom=c(t)},this.open=!1,this.opened=!1,this.beforeClose=void 0,this.closeButtonDisabled=!1,this.focusTrapDisabled=!1,this.outsideCloseDisabled=!1,this.docked=void 0,this.embedded=!1,this.escapeDisabled=!1,this.scale="m",this.widthScale="m",this.fullscreen=void 0,this.kind=void 0,this.messages=void 0,this.messageOverrides=void 0,this.cssWidth=void 0,this.cssHeight=void 0,this.hasFooter=!0,this.hasContentTop=!1,this.hasContentBottom=!1,this.effectiveLocale=void 0,this.defaultMessages=void 0}handleFocusTrapDisabled(t){this.open&&(t?p(this):b(this))}onMessagesChange(){}async componentWillLoad(){await C(this),x(this),this.open&&this.openModal()}componentDidLoad(){g(this)}connectedCallback(){this.mutationObserver?.observe(this.el,{childList:!0,subtree:!0}),this.cssVarObserver?.observe(this.el,{attributeFilter:["style"]}),this.updateSizeCssVars(),this.updateFooterVisibility(),s(this),y(this),j(this),u(this)}disconnectedCallback(){this.removeOverflowHiddenClass(),this.mutationObserver?.disconnect(),this.cssVarObserver?.disconnect(),l(this),p(this),z(this),S(this),this.embedded=!1}render(){return i(o,{key:"d40092ac4db27ed1c0e6daca0c14fd04ddb31d9a","aria-describedby":this.contentId,"aria-labelledby":this.titleId,"aria-modal":"true",role:"dialog"},i("div",{key:"4c83a7e297d6fffe5c2474470d5978f82845d6cd",class:{[F]:!0,[H]:this.opened,[B]:this.embedded}},i("calcite-scrim",{key:"a44f73d132b0b98006f537830d4f4f9aa7d511cd",class:"scrim",onClick:this.handleOutsideClose}),this.renderStyle(),i("div",{key:"3c08fd60cb8f90ba69a1293a4525fbd1c0262a02",class:{[T]:!0},ref:this.setTransitionEl},i("div",{key:"11e69d8bbc52b3cb58eccebb73729fa344b5e734",class:E},this.renderCloseButton(),i("header",{key:"30a4fb2e0cc53ce639fb40ec1b7956b262a5884c",class:"title"},i("slot",{key:"3782f2b397e46f3dd8e0d4253b1071b1d98ffb65",name:E}))),this.renderContentTop(),i("div",{key:"271a0f1f18e0e20614425005ec905201db0ec6db",class:{[A]:!0,[I]:!this.hasFooter},ref:t=>this.modalContent=t},i("slot",{key:"e5e55e5af91ab8d3971cb74c005656d9beb06e2f",name:q})),this.renderContentBottom(),this.renderFooter())))}renderFooter(){return this.hasFooter?i("div",{class:"footer",key:"footer"},i("span",{class:"back"},i("slot",{name:G})),i("span",{class:"secondary"},i("slot",{name:V})),i("span",{class:"primary"},i("slot",{name:J}))):null}renderContentTop(){return i("div",{class:"content-top",hidden:!this.hasContentTop},i("slot",{name:"content-top",onSlotchange:this.contentTopSlotChangeHandler}))}renderContentBottom(){return i("div",{class:"content-bottom",hidden:!this.hasContentBottom},i("slot",{name:"content-bottom",onSlotchange:this.contentBottomSlotChangeHandler}))}renderCloseButton(){return this.closeButtonDisabled?null:i("button",{"aria-label":this.messages.close,class:"close",key:"button",onClick:this.handleCloseClick,ref:t=>this.closeButtonEl=t,title:this.messages.close},i("calcite-icon",{icon:"x",scale:$(this.scale)}))}renderStyle(){if(!this.fullscreen&&(this.cssWidth||this.cssHeight))return i("style",null,`.${F} {\n ${this.docked&&this.cssWidth?"align-items: center !important;":""}\n }\n .${T} {\n block-size: ${this.cssHeight?this.cssHeight:"auto"} !important;\n ${this.cssWidth?`inline-size: ${this.cssWidth} !important;`:""}\n ${this.cssWidth?`max-inline-size: ${this.cssWidth} !important;`:""}\n ${this.docked?"border-radius: var(--calcite-border-radius) !important;":""}\n }\n @media screen and (max-width: ${this.cssWidth}) {\n .${F} {\n ${this.docked?"align-items: flex-end !important;":""}\n }\n .${T} {\n max-block-size: 100% !important;\n inline-size: 100% !important;\n max-inline-size: 100% !important;\n min-inline-size: 100% !important;\n margin: 0 !important;\n ${this.docked?"":"block-size: 100% !important;"}\n ${this.docked?"":"border-radius: 0 !important;"}\n ${this.docked?"border-radius: var(--calcite-border-radius) var(--calcite-border-radius) 0 0 !important;":""}\n }\n }\n `)}effectiveLocaleChange(){M(this,this.effectiveLocale)}handleEscape(t){!this.open||this.escapeDisabled||"Escape"!==t.key||t.defaultPrevented||(this.open=!1,t.preventDefault())}async setFocus(){await v(this),d(this.el)}async updateFocusTrapElements(){f(this)}async scrollContent(t=0,e=0){this.modalContent&&(this.modalContent.scrollTo?this.modalContent.scrollTo({top:t,left:e,behavior:"smooth"}):(this.modalContent.scrollTop=t,this.modalContent.scrollLeft=e))}onBeforeOpen(){this.transitionEl.classList.add(P),this.calciteModalBeforeOpen.emit()}onOpen(){this.transitionEl.classList.remove(_,P),this.calciteModalOpen.emit(),b(this)}onBeforeClose(){this.transitionEl.classList.add(R),this.calciteModalBeforeClose.emit()}onClose(){this.transitionEl.classList.remove(W,R),this.calciteModalClose.emit(),p(this)}toggleModal(t){this.ignoreOpenChange||(t?this.openModal():this.closeModal())}handleOpenedChange(t){this.transitionEl.classList.add(t?_:W),k(this)}async openModal(){await L(this.el),this.el.addEventListener("calciteModalOpen",this.openEnd),this.opened=!0;const t=r(this.el,"header"),e=r(this.el,q);this.titleId=h(t),this.contentId=h(e),this.embedded||(0===K&&(N=document.documentElement.style.overflow),K++,document.documentElement.style.setProperty("overflow","hidden"))}removeOverflowHiddenClass(){document.documentElement.style.setProperty("overflow",N)}static get assetsDirs(){return["assets"]}get el(){return a(this)}static get watchers(){return{focusTrapDisabled:["handleFocusTrapDisabled"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"],open:["toggleModal"],opened:["handleOpenedChange"]}}};Q.style=":host{--calcite-modal-scrim-background:rgba(0, 0, 0, 0.85);position:absolute;inset:0px;z-index:var(--calcite-z-index-overlay);display:flex;opacity:0;visibility:hidden !important;transition:visibility 0ms linear var(--calcite-internal-animation-timing-slow), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);--calcite-modal-scrim-background-internal:rgba(0, 0, 0, 0.85)}.content-top[hidden],.content-bottom[hidden]{display:none}.container{position:fixed;inset:0px;z-index:var(--calcite-z-index-overlay);display:flex;align-items:center;justify-content:center;overflow-y:hidden;color:var(--calcite-color-text-2);opacity:0;visibility:hidden !important;transition:visibility 0ms linear var(--calcite-internal-animation-timing-slow), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88)}:host([scale=s]){--calcite-modal-padding-internal:0.75rem;--calcite-modal-padding-large-internal:1rem;--calcite-modal-title-text-internal:var(--calcite-font-size-1);--calcite-modal-content-text-internal:var(--calcite-font-size--1)}:host([scale=m]){--calcite-modal-padding-internal:1rem;--calcite-modal-padding-large-internal:1.25rem;--calcite-modal-title-text-internal:var(--calcite-font-size-2);--calcite-modal-content-text-internal:var(--calcite-font-size-0)}:host([scale=l]){--calcite-modal-padding-internal:1.25rem;--calcite-modal-padding-large-internal:1.5rem;--calcite-modal-title-text-internal:var(--calcite-font-size-3);--calcite-modal-content-text-internal:var(--calcite-font-size-1)}.scrim{--calcite-scrim-background:var(--calcite-modal-scrim-background, var(--calcite-color-transparent-scrim));position:fixed;inset:0px;display:flex;overflow-y:hidden}.modal{pointer-events:none;z-index:var(--calcite-z-index-modal);float:none;margin:1.5rem;box-sizing:border-box;display:flex;inline-size:100%;flex-direction:column;overflow:hidden;border-radius:0.25rem;background-color:var(--calcite-color-foreground-1);opacity:0;--tw-shadow:0 2px 12px -4px rgba(0, 0, 0, 0.2), 0 2px 4px -2px rgba(0, 0, 0, 0.16);--tw-shadow-colored:0 2px 12px -4px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);-webkit-overflow-scrolling:touch;visibility:hidden;transition:transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), visibility 0ms linear var(--calcite-internal-animation-timing-slow), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);--calcite-modal-hidden-position:translate3d(0, 20px, 0);--calcite-modal-shown-position:translate3d(0, 0, 0)}.modal--opening-idle{transform:var(--calcite-modal-hidden-position)}.modal--opening-active{transform:var(--calcite-modal-shown-position)}.modal--closing-idle{transform:var(--calcite-modal-shown-position)}.modal--closing-active{transform:var(--calcite-modal-hidden-position)}:host([opened]){opacity:1;visibility:visible !important;transition-delay:0ms}.container--open{opacity:1;visibility:visible !important;transition-delay:0ms}.container--open .modal{pointer-events:auto;visibility:visible;opacity:1;transition:transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), visibility 0ms linear, opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-inline-size var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-block-size var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);transition-delay:0ms}.header{z-index:var(--calcite-z-index-header);display:flex;min-inline-size:0px;max-inline-size:100%;border-start-start-radius:0.25rem;border-start-end-radius:0.25rem;border-width:0px;border-block-end-width:1px;border-style:solid;border-color:var(--calcite-color-border-3);background-color:var(--calcite-color-foreground-1);flex:0 0 auto}.close{order:2;margin:0px;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;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;padding-block:var(--calcite-modal-padding-internal);padding-inline:var(--calcite-modal-padding-internal);flex:0 0 auto}.close calcite-icon{pointer-events:none;vertical-align:-2px}.close: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 )}.close:hover,.close:focus,.close:active{background-color:var(--calcite-color-foreground-2);color:var(--calcite-color-text-1)}.title{order:1;display:flex;min-inline-size:0px;align-items:center;flex:1 1 auto;padding-block:var(--calcite-modal-padding-internal);padding-inline:var(--calcite-modal-padding-large-internal)}slot[name=header]::slotted(*),*::slotted([slot=header]){margin:0px;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-color-text-1);font-size:var(--calcite-modal-title-text-internal)}.content{position:relative;box-sizing:border-box;display:block;block-size:100%;overflow:auto;padding:0px;background-color:var(--calcite-modal-content-background, var(--calcite-color-foreground-1));max-block-size:100%;padding:var(--calcite-modal-content-padding, var(--calcite-modal-padding-internal))}.content-top,.content-bottom{z-index:var(--calcite-z-index-header);display:flex;border-width:0px;border-style:solid;border-color:var(--calcite-color-border-3);background-color:var(--calcite-color-foreground-1);flex:0 0 auto;padding:var(--calcite-modal-padding-internal)}.content-top{min-inline-size:0px;max-inline-size:100%;border-block-end-width:1px}.content-bottom{margin-block-start:auto;box-sizing:border-box;inline-size:100%;justify-content:space-between;border-block-start-width:1px}.content-top:not(.header~.content-top){border-start-start-radius:0.25rem;border-start-end-radius:0.25rem}.content-bottom:not(.content-bottom~.footer),.content--no-footer{border-end-end-radius:0.25rem;border-end-start-radius:0.25rem}slot[name=content]::slotted(*),*::slotted([slot=content]){font-size:var(--calcite-modal-context-text-internal)}.footer{z-index:var(--calcite-z-index-header);margin-block-start:auto;box-sizing:border-box;display:flex;inline-size:100%;justify-content:space-between;border-end-end-radius:0.25rem;border-end-start-radius:0.25rem;border-width:0px;border-block-start-width:1px;border-style:solid;border-color:var(--calcite-color-border-3);background-color:var(--calcite-color-foreground-1);flex:0 0 auto;padding-block:var(--calcite-modal-padding-internal);padding-inline:var(--calcite-modal-padding-large-internal)}.footer--hide-back .back,.footer--hide-secondary .secondary{display:none}.back{display:block;margin-inline-end:auto}.secondary{margin-inline:0.25rem;display:block}slot[name=primary]{display:block}:host([width=small]) .modal{inline-size:auto}:host([width-scale=s]) .modal{max-block-size:100%;max-inline-size:100%;inline-size:var(--calcite-modal-width, 32rem);block-size:var(--calcite-modal-height, auto)}@media screen and (max-width: 35rem){:host([width-scale=s]) .modal{margin:0px;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%}:host([width-scale=s]) .content{flex:1 1 auto;max-block-size:unset}:host([width-scale=s][docked]) .container{align-items:flex-end}}:host([width-scale=m]) .modal{max-block-size:100%;max-inline-size:100%;inline-size:var(--calcite-modal-width, 48rem);block-size:var(--calcite-modal-height, auto)}@media screen and (max-width: 51rem){:host([width-scale=m]) .modal{margin:0px;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%}:host([width-scale=m]) .content{flex:1 1 auto;max-block-size:unset}:host([width-scale=m][docked]) .container{align-items:flex-end}}:host([width-scale=l]) .modal{max-block-size:100%;max-inline-size:100%;inline-size:var(--calcite-modal-width, 94rem);block-size:var(--calcite-modal-height, auto)}@media screen and (max-width: 97rem){:host([width-scale=l]) .modal{margin:0px;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%}:host([width-scale=l]) .content{flex:1 1 auto;max-block-size:unset}:host([width-scale=l][docked]) .container{align-items:flex-end}}:host([fullscreen]) .modal{margin:0px;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%;border-radius:0px;--calcite-modal-hidden-position:translate3D(0, 20px, 0) scale(0.95);--calcite-modal-shown-position:translate3D(0, 0, 0) scale(1)}:host([fullscreen]) .content{max-block-size:100%;flex:1 1 auto}:host([opened][fullscreen]) .header,:host([opened][fullscreen]) .footer,:host([opened][fullscreen]) .content-top,:host([opened][fullscreen]) .content-bottom{border-radius:0}:host([docked]) .modal{block-size:var(--calcite-modal-height, auto)}:host([docked]) .content{block-size:auto;flex:1 1 auto}:host([kind=brand]) .modal{border-color:var(--calcite-color-brand)}:host([kind=danger]) .modal{border-color:var(--calcite-color-status-danger)}:host([kind=info]) .modal{border-color:var(--calcite-color-status-info)}:host([kind=success]) .modal{border-color:var(--calcite-color-status-success)}:host([kind=warning]) .modal{border-color:var(--calcite-color-status-warning)}:host([kind=brand]) .modal,:host([kind=danger]) .modal,:host([kind=info]) .modal,:host([kind=success]) .modal,:host([kind=warning]) .modal{border-width:0px;border-block-start-width:4px;border-style:solid}:host([kind=brand]) .header,:host([kind=brand]) .content-top,:host([kind=danger]) .header,:host([kind=danger]) .content-top,:host([kind=info]) .header,:host([kind=info]) .content-top,:host([kind=success]) .header,:host([kind=success]) .content-top,:host([kind=warning]) .header,:host([kind=warning]) .content-top{border-radius:0.25rem;border-end-end-radius:0px;border-end-start-radius:0px}@media screen and (max-width: 860px){* slot[name=header]::slotted(content-top),* content-top::slotted([slot=header]){font-size:var(--calcite-font-size-1)}.footer,.content-bottom{position:sticky;inset-block-end:0px}}@media screen and (max-width: 480px){.footer,.content-bottom{flex-direction:column}.back,.secondary{margin:0px;margin-block-end:0.25rem}}.container--embedded{position:absolute;pointer-events:auto}.container--embedded calcite-scrim{position:absolute}: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 U="content",X="content--behind",Y="content-bottom",Z="center-content",tt=class{constructor(e){t(this,e),this.handleHeaderSlotChange=t=>{this.hasHeader=!!c(t)},this.handleFooterSlotChange=t=>{this.hasFooter=!!c(t)},this.handleAlertsSlotChange=t=>{this.hasAlerts=!!c(t),m(t)?.map((t=>{"CALCITE-ALERT"===t.tagName&&(t.embedded=!0)}))},this.handleSheetsSlotChange=t=>{this.hasSheets=!!c(t),m(t)?.map((t=>{"CALCITE-SHEET"===t.tagName&&(t.embedded=!0)}))},this.handleModalsSlotChange=t=>{this.hasModals=!!c(t),m(t)?.map((t=>{"CALCITE-MODAL"===t.tagName&&(t.embedded=!0)}))},this.handlePanelTopChange=t=>{this.hasPanelTop=c(t)},this.handlePanelBottomChange=t=>{this.hasPanelBottom=c(t)},this.handleDialogsSlotChange=t=>{this.hasDialogs=!!c(t),m(t)?.map((t=>{"CALCITE-DIALOG"===t.tagName&&(t.embedded=!0)}))},this.contentBehind=!1,this.hasHeader=!1,this.hasFooter=!1,this.hasAlerts=!1,this.hasModals=!1,this.hasDialogs=!1,this.hasSheets=!1,this.hasPanelTop=!1,this.hasPanelBottom=!1,this.hasOnlyPanelBottom=!1,this.panelIsResizing=!1}handleCalciteInternalShellPanelResizeStart(t){this.panelIsResizing=!0,t.stopPropagation()}handleCalciteInternalShellPanelResizeEnd(t){this.panelIsResizing=!1,t.stopPropagation()}updateHasOnlyPanelBottom(){this.hasOnlyPanelBottom=!this.hasPanelTop&&this.hasPanelBottom}connectedCallback(){s(this)}disconnectedCallback(){l(this)}renderHeader(){return i("div",{hidden:!this.hasHeader},i("slot",{key:"header",name:"header",onSlotchange:this.handleHeaderSlotChange}))}renderFooter(){return i("div",{class:"footer",hidden:!this.hasFooter,key:"footer"},i("slot",{name:"footer",onSlotchange:this.handleFooterSlotChange}))}renderAlerts(){return i("div",{hidden:!this.hasAlerts},i("slot",{key:"alerts",name:"alerts",onSlotchange:this.handleAlertsSlotChange}))}renderSheets(){return i("div",{hidden:!this.hasSheets},i("slot",{key:"sheets",name:"sheets",onSlotchange:this.handleSheetsSlotChange}))}renderModals(){return i("div",{hidden:!this.hasModals},i("slot",{key:"modals",name:"modals",onSlotchange:this.handleModalsSlotChange}))}renderDialogs(){return i("div",{hidden:!this.hasDialogs},i("slot",{key:"dialogs",name:"dialogs",onSlotchange:this.handleDialogsSlotChange}))}renderContent(){const{panelIsResizing:t}=this,e=i("slot",{key:"default-slot"}),o=t?i("div",{class:"content--non-interactive"},e):e,a=i("slot",{key:"center-row-slot",name:"center-row"}),n=i("slot",{key:"panel-bottom-slot",name:"panel-bottom",onSlotchange:this.handlePanelBottomChange}),s=i("slot",{key:"panel-top-slot",name:"panel-top",onSlotchange:this.handlePanelTopChange}),l="content-container";return this.contentBehind?[i("div",{class:{[U]:!0,[X]:!0},key:l},o),i("div",{class:{[Z]:!0,[Y]:this.hasOnlyPanelBottom}},s,n,a)]:[i("div",{class:{[U]:!0,[Y]:this.hasOnlyPanelBottom},key:l},s,o,n,a)]}renderMain(){return i("div",{class:"main"},i("slot",{name:"panel-start"}),this.renderContent(),i("slot",{name:"panel-end"}))}renderPositionedSlots(){return i("div",{class:"positioned-slot-wrapper"},this.renderAlerts(),this.renderModals(),this.renderDialogs(),this.renderSheets())}render(){return i(n,{key:"d5aba67d8b89161985cdf81c74b8532a522b3fda"},this.renderHeader(),this.renderMain(),this.renderFooter(),this.renderPositionedSlots())}get el(){return a(this)}static get watchers(){return{hasPanelTop:["updateHasOnlyPanelBottom"],hasPanelBottom:["updateHasOnlyPanelBottom"]}}};tt.style=":host{box-sizing:border-box;background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:host{position:absolute;inset:0px;display:flex;block-size:100%;inline-size:100%;flex-direction:column;overflow:hidden;--calcite-shell-tip-spacing:26vw}.main{position:relative;display:flex;block-size:100%;inline-size:100%;flex:1 1 auto;flex-direction:row;justify-content:space-between;overflow:hidden}.content{display:flex;block-size:100%;inline-size:100%;flex-direction:column;flex-wrap:nowrap;overflow:auto;justify-content:space-between}.content ::slotted(:not(calcite-tip-manager)){position:relative;z-index:var(--calcite-z-index)}.content ::slotted(calcite-shell-center-row),.content ::slotted(calcite-panel),.content ::slotted(calcite-flow){flex:1 1 auto;align-self:stretch;max-block-size:unset}.content--behind{position:absolute;inset:0px;border-width:0px;z-index:calc(var(--calcite-z-index) - 1);display:initial}.content--non-interactive{pointer-events:none;display:flex;block-size:100%;inline-size:100%;flex-direction:column;flex-wrap:nowrap}::slotted(calcite-shell-center-row){inline-size:unset}::slotted(.header .heading){font-size:var(--calcite-font-size--2);line-height:1.375;font-weight:var(--calcite-font-weight-normal)}slot[name=panel-start]::slotted(calcite-shell-panel),slot[name=panel-end]::slotted(calcite-shell-panel){position:relative;z-index:calc(var(--calcite-z-index) + 1)}slot[name=panel-end]::slotted(calcite-shell-panel){margin-inline-start:auto}::slotted(calcite-panel),::slotted(calcite-flow){border-width:1px;border-inline-start-width:0px;border-inline-end-width:0px;border-style:solid;border-color:var(--calcite-color-border-3)}slot[name=center-row]::slotted(calcite-shell-center-row:not([detached])),slot[name=panel-top]::slotted(calcite-shell-center-row:not([detached])),slot[name=panel-bottom]::slotted(calcite-shell-center-row:not([detached])){border-inline-start-width:1px;border-inline-end-width:1px;border-color:var(--calcite-color-border-3)}.center-content{display:flex;flex-direction:column;justify-content:space-between;block-size:100%;inline-size:100%;min-inline-size:0}.content-bottom{justify-content:flex-end}::slotted(calcite-shell-center-row){flex:none;align-self:stretch}::slotted(calcite-tip-manager){position:absolute;z-index:var(--calcite-z-index-toast);box-sizing:border-box}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}::slotted(calcite-tip-manager){animation:in-up var(--calcite-internal-animation-timing-slow) ease-in-out;border-radius:0.25rem;--tw-shadow:0 6px 20px -4px rgba(0, 0, 0, 0.1), 0 4px 12px -2px rgba(0, 0, 0, 0.08);--tw-shadow-colored:0 6px 20px -4px var(--tw-shadow-color), 0 4px 12px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);inset-block-end:0.5rem;inset-inline:var(--calcite-shell-tip-spacing)}slot[name=center-row]::slotted(calcite-shell-center-row),slot[name=panel-bottom]::slotted(calcite-shell-center-row){margin-block-start:auto}slot[name=panel-top]::slotted(calcite-shell-center-row){margin-block-end:auto}.position-wrapper{position:absolute;pointer-events:none;inset:0}:host([hidden]){display:none}[hidden]{display:none}";const et=class{constructor(i){t(this,i),this.editsComplete=e(this,"editsComplete",7),this.buttonType="button",this.disabled=!1,this.icon=void 0,this.ids=[],this.layer=void 0,this._confirmDelete=!1,this._deleteEndabled=!1,this._isDeleting=!1,this._supportsDelete=void 0,this._translations=void 0}get el(){return a(this)}async idsWatchHandler(){this._setDeleteEnabled()}async layerWatchHandler(){this._setDeleteEnabled()}editsComplete;async componentWillLoad(){await this._getTranslations()}render(){return i(o,{key:"23936d6981c9779f5a21951c6667e3cba86e5d82"},"button"===this.buttonType?i("calcite-button",{appearance:"outline",disabled:!this._deleteEndabled,id:"solutions-delete",kind:"danger",onClick:()=>this._delete(),width:"full"},this._translations.deleteCount.replace("{{n}}",this.ids.length.toString())):i("calcite-action",{appearance:"solid",compact:!0,disabled:!this._deleteEndabled,id:this.icon,onClick:()=>this._delete(),scale:"s",text:this._translations.delete},i("calcite-button",{appearance:"transparent",iconStart:this.icon,kind:"danger"},this._translations.delete)),this._deleteMessage())}async componentDidLoad(){this._setDeleteEnabled()}_setDeleteEnabled(){this._supportsDelete=this.layer?.editingEnabled&&this.layer?.capabilities?.operations?.supportsDelete,this._deleteEndabled=!this.disabled||this._supportsDelete&&this.ids.length>0}_delete(){this._confirmDelete=!0}_deleteMessage(){const t=1===this.ids.length?this._translations.confirmSingle:this._translations.confirmMultiple;return i("calcite-modal",{"aria-labelledby":"modal-title",class:"delete-modal",kind:"danger",onCalciteModalClose:()=>this._deleteClosed(),open:this._confirmDelete},i("div",{class:"display-flex align-center",id:"modal-title",slot:"header"},this._translations.deleteFeature),i("div",{slot:"content"},t),i("calcite-button",{appearance:"outline",kind:"danger",onClick:()=>this._deleteClosed(),slot:"secondary",width:"full"},this._translations.cancel),i("calcite-button",{kind:"danger",loading:this._isDeleting,onClick:()=>{this._deleteFeatures()},slot:"primary",width:"full"},this._translations.delete))}async _deleteFeatures(){this._isDeleting=!0;const t=this.ids.map((t=>({objectId:t})));await this.layer.applyEdits({deleteFeatures:t}),this._isDeleting=!1,this._deleteClosed(),this.editsComplete.emit("delete")}_deleteClosed(){this._confirmDelete=!1}async _getTranslations(){const t=await D(this.el);this._translations=t[0]}static get watchers(){return{ids:["idsWatchHandler"],layer:["layerWatchHandler"]}}};et.style=":host{display:block}.delete-modal{position:fixed}";export{Q as calcite_modal,tt as calcite_shell,et as delete_button}
@@ -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 t,g as i,h as a,H as s}from"./p-6eb37ed2.js";import{s as c}from"./p-36e59391.js";import{g as l}from"./p-2058b5d9.js";import{n}from"./p-5e71e72a.js";import{C as r,g as o}from"./p-80cb7c73.js";import"./p-720a12c0.js";import"./p-d0d020a5.js";import"./p-d4056c1c.js";import"./p-7530a02f.js";import"./p-9bb44f57.js";import"./p-0a24ad5f.js";const h=class{constructor(i){e(this,i),this.solutionItemSelected=t(this,"solutionItemSelected",7),this.selectedItemId=void 0,this.templateHierarchy=[]}get el(){return i(this)}valueWatchHandler(e,t){e&&e!==t&&Array.isArray(e)&&e.length>0&&this._treeItemSelected(e[0].id)}componentWillLoad(){this.valueWatchHandler(this.templateHierarchy,[])}render(){return a(s,{key:"57abf81bd42447fabf9df9f134a486f8d7101910"},a("calcite-tree",{key:"5b2faefbd53a2666634a1cc05ea8027e1228f354"},this.renderHierarchy(this.templateHierarchy)))}renderHierarchy(e){return e.map((e=>{const t=this.selectedItemId&&this.selectedItemId===e.id;return e.dependencies&&e.dependencies.length>0?a("calcite-tree-item",{onClick:t=>this._treeItemSelected(e.id,t),selected:t},a("solution-item-icon",{type:e.type,typeKeywords:e.typeKeywords}),a("span",{class:"icon-text",title:e.title},e.title),a("calcite-tree",{slot:"children"},this.renderHierarchy(e.dependencies))):a("calcite-tree-item",{onClick:t=>this._treeItemSelected(e.id,t),selected:t},a("solution-item-icon",{type:e.type,typeKeywords:e.typeKeywords}),a("span",{class:"icon-text",title:e.title},e.title))}))}solutionItemSelected;_treeItemSelected(e,t){const i=t?.target?.closest("calcite-tree-item");i&&(i.expanded=!i?.expanded),this.selectedItemId=e,this.solutionItemSelected.emit(e)}static get assetsDirs(){return["item-type-icons"]}static get watchers(){return{templateHierarchy:["valueWatchHandler"]}}};h.style=".icon-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}";const d=class{constructor(t){e(this,t),this.authentication=void 0,this.itemId="",this.solutionVariables="",this.organizationVariables="",this.itemType=void 0,this._translations=void 0}get el(){return i(this)}itemIdWatchHandler(){const e=c.getItemInfo(this.itemId);this.itemType=e.type}async componentWillLoad(){return this._getTranslations()}render(){return a(s,{key:"da363c927e5c577660ad3c67fd1f234dd6529175"},a("div",{key:"4f9df338aaebb6a333927d50dbee68e9fb9eaceb",class:"configuration-container"},a("div",{key:"5156b06e31218c3ec059230ba1f4079607aa168e",class:"configuration"},this._showGroupTabs("Group"===this.itemType),this._showItemTabs("Group"!==this.itemType))))}_showGroupTabs(e){return a("calcite-tabs",{class:"config-tabs",style:{display:e?"inherit":"none"}},a("calcite-tab-nav",{slot:"tab-nav"},a("calcite-tab-title",null,this._translations.groupDetailsTab),a("calcite-tab-title",null,this._translations.sharingTab)),a("calcite-tab",{class:"config-tab",id:"group-tab",selected:!0},a("solution-item-details",{"item-id":this.itemId})),a("calcite-tab",{class:"config-tab",id:"share-tab"},a("solution-item-sharing",{"group-id":this.itemId})))}_showItemTabs(e){return a("calcite-tabs",{class:"config-tabs",style:{display:e?"inherit":"none"}},a("calcite-tab-nav",{slot:"tab-nav"},a("calcite-tab-title",null,this._translations.itemDetailsTab),a("calcite-tab-title",null,this._translations.dataTab),a("calcite-tab-title",null,this._translations.propertiesTab),a("calcite-tab-title",null,this._translations.resourcesTab)),a("calcite-tab",{class:"config-tab",selected:!0},a("solution-item-details",{"item-id":this.itemId})),a("calcite-tab",{class:"config-tab",id:"data-tab"},a("solution-template-data",{instanceid:"data","item-id":this.itemId,"organization-variables":this.organizationVariables,"solution-variables":this.solutionVariables})),a("calcite-tab",{class:"config-tab",id:"props-tab"},a("solution-template-data",{instanceid:"properties","item-id":this.itemId,"organization-variables":this.organizationVariables,"solution-variables":this.solutionVariables})),a("calcite-tab",{class:"config-tab",id:"resources-tab"},a("solution-resource-item",{authentication:this.authentication,class:"solutions-resource-container","item-id":this.itemId})))}async _getTranslations(){const e=await l(this.el);this._translations=e[0]}static get watchers(){return{itemId:["itemIdWatchHandler"]}}};d.style=".configuration-container{position:relative;height:100%;width:100%}.configuration{position:absolute;top:0px;right:0px;bottom:0px;left:0px;display:flex;padding:0.5rem;border:1px #808080 solid}.config-tabs{width:100%}.config-tab{width:100%;overflow-y:auto;height:inherit}";const f="3857",b=class{constructor(i){e(this,i),this.featureServiceSpatialReferenceChange=t(this,"featureServiceSpatialReferenceChange",7),this.enableDefaultSpatialReferenceChange=t(this,"enableDefaultSpatialReferenceChange",7),this.enabledSpatialReferenceChange=t(this,"enabledSpatialReferenceChange",7),this.enabled=!1,this.enableDefault=!1,this.featureServices=[],this._translations=void 0}get el(){return i(this)}enabledChanged(){this._handleSpatialRefParamChange()}enableDefaultChanged(){this._handleDefaultSpatialRefParamChange()}componentWillLoad(){return this._updateUIFromStore(),this._getTranslations()}render(){return this._updateUIFromStore(),a(s,{key:"ca1dd62000a2fdbd82a00830fc3ac94b47db73f7"},a("label",{key:"fa1ca79af87525ce25a6acf0a5b6a093429f5b77",class:"switch-label"},a("calcite-switch",{key:"8dbcdbc8f417dfe1a05578fc9bbf3417ae93abfb",checked:this.enabled,class:"spatial-ref-switch",onCalciteSwitchChange:e=>this.enabled=e.target.checked,scale:"m"}),this._translations.enableSpatialReference),a("br",{key:"d3c2296bf3568e7b5b167fe0516184ae0c2d26f1"}),a("div",{key:"fee9eac900cae65363658fa769347c3db0783007",class:"spatial-ref-component",id:"spatialRefDefn"},this._renderFeatureServicesList(this.featureServices)),a("label",{key:"317e1422cdcb2147a961f2edfbcedb30c4246f6d",class:"switch-label spatial-ref-component"},a("calcite-switch",{key:"6f0b7eb7216d0a663e5f2d436b7523b2d2301841",checked:this.enableDefault,class:"spatial-ref-switch",disabled:!this.enabled,onCalciteSwitchChange:e=>this.enableDefault=e.target.checked,scale:"m"}),this._translations.enableDefaultSpatialReference))}featureServiceSpatialReferenceChange;enableDefaultSpatialReferenceChange;enabledSpatialReferenceChange;solutionStoreHasChanges(){this.featureServices=c.getStoreInfo("featureServices")}async _testAccess(e,t,i,a){switch(e){case"_parameterizeWkid":return Promise.resolve(this._parameterizeWkid(t));case"_unparameterizeWkid":return Promise.resolve(this._unparameterizeWkid(t))}return Promise.resolve(null)}_clearFeatureServiceDefaults(e){n(this.el.getElementsByClassName("spatial-ref-item-switch")).forEach((e=>e.checked=!1)),e.forEach((e=>this._updateEnabledServices({detail:{switched:!1}},e)))}_handleDefaultSpatialRefParamChange(){this._updateStore(),this.enableDefaultSpatialReferenceChange.emit({defaultWkid:this.enableDefault?f:""})}_handleSpatialRefParamChange(){this.enabled||(this.enableDefault=!1,this._clearFeatureServiceDefaults(this.featureServices)),this._updateStore(),this.enabledSpatialReferenceChange.emit({enabled:this.enabled})}_parameterizeWkid(e){return e?e.toString().startsWith(r)?e:`${r}${e}${o}`:e}_renderFeatureServicesList(e){const t=c.getStoreInfo("spatialReferenceInfo"),i=e.filter((e=>Object.keys(t.services).some((t=>t===e.id))));return i.length>0?a("div",null,a("label",{class:"spatial-ref-item-title"},this._translations.featureServicesHeading),a("ul",{class:"spatial-ref-services-list"},i.map((e=>a("li",{class:"spatial-ref-services-list-item"},a("label",{class:"switch-label"},a("calcite-switch",{checked:t.services[e.id],class:"spatial-ref-item-switch",disabled:!this.enabled,onCalciteSwitchChange:t=>this._updateEnabledServices(t,e),scale:"m"}),e.name)))))):null}_updateEnabledServices(e,t){const i=c.getStoreInfo("spatialReferenceInfo");i.services[t.id]=void 0!==e.detail?.switched?e.detail.switched:void 0===e.target?.checked||e.target.checked,c.setStoreInfo("spatialReferenceInfo",i),this._updateStore(),this.featureServiceSpatialReferenceChange.emit(t)}_unparameterizeWkid(e){return e&&e.toString().startsWith(r)?e.substring(r.length,e.length-o.length):e}_updateFeatureServices(e){e.enabled||Object.keys(e.services).forEach((t=>{e.services[t]=!1})),this.featureServices.forEach((t=>{t.enabled=e.services[t.id],t.wkid=t.enabled?this._parameterizeWkid(t.wkid):this._unparameterizeWkid(t.wkid)})),c.setStoreInfo("featureServices",this.featureServices)}_updateStore(){const e=c.getStoreInfo("spatialReferenceInfo");e.enabled=this.enabled,this.enabled&&this.enableDefault?e.default=f:e.hasOwnProperty("default")&&delete e.default,c.setStoreInfo("spatialReferenceInfo",e),this._updateFeatureServices(e)}_updateUIFromStore(){const e=c.getStoreInfo("spatialReferenceInfo");this.enabled=e.enabled,this.enableDefault=!!e.default,this.featureServices=c.getStoreInfo("featureServices")}async _getTranslations(){const e=await l(this.el);this._translations=e[0]}static get watchers(){return{enabled:["enabledChanged"],enableDefault:["enableDefaultChanged"]}}};b.style=".spatial-ref-switch{margin-inline-end:0.5rem}.spatial-ref-component{margin-top:0.625rem;margin-inline-start:2.5rem}#spatialRefDefn .sc-calcite-label-h label.sc-calcite-label{margin:0px;background-color:#CBC3E3}.spatial-ref-item-title{margin-bottom:0.5rem;font-size:0.875rem;line-height:1.25rem}.spatial-ref-item-switch{margin-inline-end:0.5rem}.switch-label{font-size:0.875rem;line-height:1.25rem}.spatial-ref-services-list{margin-block-start:0.5em;margin-block-end:0.5em;list-style-type:none;padding-inline-start:2em}.spatial-ref-services-list-item{margin-top:0.25rem}";export{h as solution_contents,d as solution_item,b as solution_spatial_ref}
@@ -1,12 +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 e,h as s,H as a}from"./p-6eb37ed2.js";import{l as n,g as h}from"./p-2058b5d9.js";import{z as o}from"./p-66cee72b.js";import{f as c}from"./p-80cb7c73.js";import{s as l}from"./p-5dcec135.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";import"./p-aaa56cbf.js";import"./p-8bfa18b7.js";import"./p-720a12c0.js";const r=class{constructor(e){t(this,e),this.bufferComplete=i(this,"bufferComplete",7),this.distanceChanged=i(this,"distanceChanged",7),this.unitChanged=i(this,"unitChanged",7),this.appearance="text",this.distance=0,this.geometries=[],this.max=void 0,this.min=0,this.sliderTicks=10,this.unionResults=!0,this.unit="meters",this.disabled=!1,this._translations=void 0}get el(){return e(this)}_geometryEngine;_bufferTimeout;_unitElement;_units;geometriesWatchHandler(){this._buffer()}disabledWatchHandler(){this._buffer()}async getTranslatedUnit(t){return this._units||await this._defineTranslations(),this._units[t]}bufferComplete;distanceChanged;unitChanged;async componentWillLoad(){await this._defineTranslations(),await this._initModules()}render(){return s(a,{key:"fe60961aabf178fd32c4c85e8d52b9bc61a349d0"},"text"===this.appearance?this._getTextBoxDisplay():this._getSliderDisplay())}async _defineTranslations(){await this._getTranslations(),this._initTranslatedUnits()}async _initModules(){const[t]=await n(["esri/geometry/geometryEngine"]);this._geometryEngine=t}_initTranslatedUnits(){this._units={feet:this._translations.feet,meters:this._translations.meters,miles:this._translations.miles,kilometers:this._translations.kilometers}}_getUnits(){return Object.keys(this._units).map((t=>s("calcite-option",{label:this._units[t],selected:this.unit===t,value:t})))}_setDistance(t){const i=parseInt(t.target.value,10);this.distance!==i&&i>=this.min&&(this.distanceChanged.emit({oldValue:this.distance,newValue:i}),this.distance=i,this.distance>0?this._buffer():this.bufferComplete.emit(void 0))}_setUnit(t){this.unitChanged.emit({oldValue:this.unit,newValue:t}),this.unit=t,this._buffer()}_buffer(){this.disabled?this.bufferComplete.emit(void 0):(this._bufferTimeout&&clearTimeout(this._bufferTimeout),this._bufferTimeout=setTimeout((()=>{if(this.geometries?.length>0&&this.unit&&this.distance>0){const t=this.geometries[0].spatialReference,i=t.isWGS84||t.isWebMercator?this._geometryEngine.geodesicBuffer(this.geometries,this.distance,this.unit,this.unionResults):this._geometryEngine.buffer(this.geometries,this.distance,this.unit,this.unionResults);this.bufferComplete.emit(i)}}),400))}_getTextBoxDisplay(){return s("div",{class:"c-container"},s("calcite-input",{class:"padding-end-1 w-50",max:this.max&&this.max>0?this.max:void 0,min:this.min,"number-button-type":"vertical",onCalciteInputInput:t=>this._setDistance(t),placeholder:"0",type:"number",value:this.distance?this.distance.toString():void 0}),s("calcite-select",{class:"flex-1 w-50",label:"label",onCalciteSelectChange:()=>this._setUnit(this._unitElement.value),ref:t=>{this._unitElement=t}},this._getUnits()))}_getSliderDisplay(){return s("div",null,s("calcite-slider",{labelHandles:!0,max:this.max&&this.max>0?this.max:void 0,min:this.min,ticks:this.sliderTicks}))}async _getTranslations(){const t=await h(this.el);this._translations=t[0]}_testAccess(t,i){switch(t){case"_setUnit":return this._setUnit(i);case"_setDistance":return this._setDistance(i)}return null}static get watchers(){return{geometries:["geometriesWatchHandler"],disabled:["disabledWatchHandler"]}}};r.style=':host{display:block}.c-container{display:inline-flex}.flex-1{flex:"1"}.padding-end-1{padding-inline-end:1rem}.w-50{width:50%}';
7
- /*!
8
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
9
- * See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
10
- * v2.12.2
11
- */
12
- const d={valid:"check-circle",invalid:"exclamation-mark-triangle",idle:"information"},p=class{constructor(i){t(this,i),this.icon=void 0,this.iconFlipRtl=!1,this.scale="m",this.status="idle"}handleIconEl(){this.requestedIcon=o(d,this.icon,this.status)}connectedCallback(){this.requestedIcon=o(d,this.icon,this.status)}render(){return s(a,{key:"4abc6b1bd6e85531a00bd92de1c18c6b9c27375b","calcite-hydrated-hidden":this.el.hidden},this.renderIcon(this.requestedIcon),s("slot",{key:"f357f91ba9e220ea524c4aa14bf2b0c09b1c7064"}))}renderIcon(t){if(t)return s("calcite-icon",{class:"calcite-input-message-icon",flipRtl:this.iconFlipRtl,icon:t,scale:"s"})}get el(){return e(this)}static get watchers(){return{status:["handleIconEl"],icon:["handleIconEl"]}}};p.style=":host{box-sizing:border-box;display:flex;block-size:auto;inline-size:100%;align-items:center;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-1);opacity:1;transition:background-color, block-size, border-color, box-shadow, color, inset-block-end, inset-block-start, inset-inline-end, inset-inline-start inset-size, opacity, outline-color, transform var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;--calcite-input-message-spacing-value:0.25rem;margin-block-start:var(--calcite-input-message-spacing-value)}.calcite-input-message-icon{pointer-events:none;display:inline-flex;flex-shrink:0;transition:background-color, block-size, border-color, box-shadow, color, inset-block-end, inset-block-start, inset-inline-end, inset-inline-start inset-size, opacity, outline-color, transform var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;margin-inline-end:0.5rem}:host([status=invalid]) .calcite-input-message-icon{color:var(--calcite-color-status-danger)}:host([status=warning]) .calcite-input-message-icon{color:var(--calcite-color-status-warning)}:host([status=valid]) .calcite-input-message-icon{color:var(--calcite-color-status-success)}:host([status=idle]) .calcite-input-message-icon{color:var(--calcite-color-brand)}:host([scale=s]){font-size:var(--calcite-font-size--3);line-height:0.75rem}:host([scale=m]){font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=l]){font-size:var(--calcite-font-size--1);line-height:1rem}:host([hidden]){display:none}[hidden]{display:none}";const g=class{constructor(e){t(this,e),this.selectionLoadingChange=i(this,"selectionLoadingChange",7),this.sketchGraphicsChange=i(this,"sketchGraphicsChange",7),this.drawUndo=i(this,"drawUndo",7),this.drawRedo=i(this,"drawRedo",7),this.active=!1,this.drawMode=c.SKETCH,this.editGraphicsEnabled=!0,this.graphics=void 0,this.mapView=void 0,this.pointSymbol=void 0,this.polylineSymbol=void 0,this.polygonSymbol=void 0,this.redoEnabled=!1,this.undoEnabled=!1,this._translations=void 0,this._selectionMode=void 0}get el(){return e(this)}GraphicsLayer;SketchViewModel;Sketch;_sketchGraphicsLayer;_sketchViewModel;_sketchWidget;_sketchElement;graphicsWatchHandler(t,i){t&&t.length>0&&JSON.stringify(t)!==JSON.stringify(i)&&this._sketchGraphicsLayer&&(this._updateGraphicsSymbols(t),this._sketchGraphicsLayer.removeAll(),this._sketchGraphicsLayer.addMany(t))}mapViewWatchHandler(t,i){t&&t!==i&&this._init()}async clear(){this._clearSketch()}async updateGraphics(){this._updateGraphics()}selectionLoadingChange;sketchGraphicsChange;drawUndo;drawRedo;async componentWillLoad(){await this._getTranslations(),await this._initModules()}componentDidLoad(){this._init()}disconnectedCallback(){this._sketchWidget.cancel(),this._clearSketch()}render(){const t=this.drawMode===c.SKETCH?"display-none":"esri-widget esri-sketch__panel border-left esri-sketch__section";return s(a,{key:"5f82fce6481912c103d709b5fefa3a890d291943"},s("div",{key:"464d32d718167c5e7e2636fa0184622477fc5464",class:this.drawMode===c.SKETCH?"border":"border esri-widget esri-sketch__panel"},s("div",{key:"52a11f9d1b8f1692e67a7e706de3741e43c40591",ref:t=>{this._sketchElement=t}}),s("div",{key:"3a529e4e358ec4890513d7fcbbceadabb9e66a18",class:t},s("calcite-action",{key:"98b684a186a03fe8868bde1978d59c7618a7635a",disabled:!this.undoEnabled,icon:"undo",onClick:()=>this._undo(),scale:"s",text:this._translations.undo}),s("calcite-action",{key:"b1d769fd984ecf7cf9e868029cc7a5aba5a39dc7",disabled:!this.redoEnabled,icon:"redo",onClick:()=>this._redo(),scale:"s",text:this._translations.redo}))))}async _initModules(){const[t,i,e]=await n(["esri/layers/GraphicsLayer","esri/widgets/Sketch","esri/widgets/Sketch/SketchViewModel"]);this.GraphicsLayer=t,this.Sketch=i,this.SketchViewModel=e}_init(){this.mapView&&this._sketchElement&&(this._initGraphicsLayer(),this._initSketch())}_initGraphicsLayer(){const t=this._translations.sketchLayer,i=this.mapView.map.layers.findIndex((i=>i.title===t));i>-1?this._sketchGraphicsLayer=this.mapView.map.layers.getItemAt(i):(this._sketchGraphicsLayer=new this.GraphicsLayer({title:t,listMode:"hide"}),l.managedLayers[t]="sketch",this.mapView.map.layers.add(this._sketchGraphicsLayer)),this.graphics&&this.graphics.length>0&&this._sketchGraphicsLayer.addMany(this.graphics)}_initSketch(){const t={layer:this._sketchGraphicsLayer,view:this.mapView,defaultCreateOptions:{mode:"hybrid"},defaultUpdateOptions:{preserveAspectRatio:!1,enableScaling:!1,enableRotation:!1,tool:"reshape",toggleToolOnClick:!1}};this._sketchWidget=new this.Sketch({...t,container:this._sketchElement,creationMode:"single",visibleElements:{duplicateButton:!1,selectionTools:{"lasso-selection":!1,"rectangle-selection":!1},createTools:{circle:!1},undoRedoMenu:!1,settingsMenu:this.drawMode===c.SKETCH}}),this._sketchViewModel=new this.SketchViewModel({...t}),this._sketchWidget.viewModel.polylineSymbol=this.polylineSymbol,this._sketchWidget.viewModel.pointSymbol=this.pointSymbol,this._sketchWidget.viewModel.polygonSymbol=this.polygonSymbol;let i=!1;this._sketchWidget.on("create",(t=>{"complete"===t.state&&(this.graphics=[t.graphic],this.sketchGraphicsChange.emit({graphics:this.graphics,useOIDs:!1}),this.drawMode===c.REFINE&&(i=!0,this._sketchWidget.viewModel.create(t.tool))),"cancel"===t.state&&this.drawMode===c.REFINE&&i&&(i=!i,this._sketchWidget.viewModel.create(t.tool))})),this._sketchWidget.on("update",(t=>{if(this.editGraphicsEnabled){const i=t?.toolEventInfo?.type;"reshape-stop"!==i&&"move-stop"!==i||(this.graphics=t.graphics,this.sketchGraphicsChange.emit({graphics:this.graphics,useOIDs:!1}))}else this._sketchWidget.viewModel.cancel(),this._sketchViewModel.cancel()})),this._sketchWidget.on("delete",(()=>{this.graphics=[],this.sketchGraphicsChange.emit({graphics:this.graphics,useOIDs:!1})})),this._sketchWidget.on("undo",(t=>{this.graphics=t.graphics,this.sketchGraphicsChange.emit({graphics:this.graphics,useOIDs:!1})})),this._sketchWidget.on("redo",(t=>{this.graphics=t.graphics,this.sketchGraphicsChange.emit({graphics:this.graphics,useOIDs:!1})}))}_clearSketch(){this._sketchWidget?.viewModel.cancel(),this.graphics=[],this._sketchGraphicsLayer?.removeAll()}_undo(){this.drawUndo.emit()}_redo(){this.drawRedo.emit()}_updateGraphics(){setTimeout((()=>{1===this.graphics.length&&this._sketchWidget.update(this.graphics,{tool:"reshape",enableRotation:!1,enableScaling:!1,preserveAspectRatio:!1,toggleToolOnClick:!1})}),100)}_updateGraphicsSymbols(t){const i=t[0].geometry.type,e="point"===i?this.pointSymbol:"polyline"===i?this.polylineSymbol:"polygon"===i?this.polygonSymbol:void 0;e&&t.forEach((t=>t.symbol=e))}async _getTranslations(){const t=await h(this.el);this._translations=t[0]}static get watchers(){return{graphics:["graphicsWatchHandler"],mapView:["mapViewWatchHandler"]}}};g.style=':host{display:block}.border{outline:1px solid var(--calcite-color-border-input)}.div-visible{display:inherit}.div-not-visible{display:none !important}.padding-top-1-2{padding-top:.5rem}.main-label{display:flex;float:left}html[dir="rtl"] .main-label{display:flex;float:right}.margin-top-1{margin-top:1rem}.border-left{border-left:1px solid rgba(110, 110, 110, .3)}.border-left[dir="rtl"]{border-right:1px solid rgba(110, 110, 110, .3)}.esri-widget{box-sizing:border-box;color:#323232;font-size:14px;font-family:"Avenir Next", "Helvetica Neue", Helvetica, Arial, sans-serif;line-height:1.3em;background-color:#fff;--esri-widget-padding-v:12px;--esri-widget-padding-h:15px;--esri-widget-padding:var(--esri-widget-padding-v) var(--esri-widget-padding-h)}.esri-sketch__panel{align-items:center;display:flex;flex-flow:row wrap;padding:0;justify-content:flex-start !important}.esri-sketch__section{align-items:center;display:flex;flex-flow:row wrap;padding:0 7px;margin:6px 0}';export{r as buffer_tools,p as calcite_input_message,g as map_draw_tools}
@@ -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 i,h as s,H as e,c as a}from"./p-6eb37ed2.js";import{l as h,g as n}from"./p-2058b5d9.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";const o=class{constructor(i){t(this,i),this.mapView=void 0,this.basemapConfig=void 0,this.basemapWidget=void 0}get el(){return i(this)}BasemapGallery;PortalBasemapsSource;_basemapElement;async basemapConfigWatchHandler(){if(this.basemapWidget?.source){const t=this.basemapWidget?.source;t.query=this.basemapConfig?.basemapGroupId?`id:${this.basemapConfig.basemapGroupId}`:null,await t.refresh()}}async mapViewWatchHandler(){await this.mapView.when((()=>{this._initBaseMapGallery(this.mapView)}))}async componentWillLoad(){return this._initModules()}render(){return s(e,{key:"1f8be0f65a784ffaac49b8a5a15ebd6fb72d6643"},s("div",{key:"2c1bde6c0624b476f6c34302ea843da195f535cb",ref:t=>{this._basemapElement=t}}))}async componentDidLoad(){this.mapView&&await this.mapViewWatchHandler()}async _initModules(){const[t,i]=await h(["esri/widgets/BasemapGallery","esri/widgets/BasemapGallery/support/PortalBasemapsSource"]);this.BasemapGallery=t,this.PortalBasemapsSource=i}async _initBaseMapGallery(t){if(this.BasemapGallery){this.basemapWidget&&this.basemapWidget.destroy();const i=new this.PortalBasemapsSource({query:this.basemapConfig?.basemapGroupId?`id:${this.basemapConfig.basemapGroupId}`:null,filterFunction:this.basemapConfig?t=>!this.basemapConfig.basemapIdsToFilter.includes(t.portalItem.id):()=>!0});await i.refresh(),this.basemapWidget=new this.BasemapGallery({container:this._basemapElement,view:t,source:i})}}static get watchers(){return{basemapConfig:["basemapConfigWatchHandler"],mapView:["mapViewWatchHandler"]}}};o.style=":host{display:block}";const r=class{constructor(i){t(this,i),this.facilityChanged=a(this,"facilityChanged",7),this.levelChanged=a(this,"levelChanged",7),this.siteChanged=a(this,"siteChanged",7),this.enabled=void 0,this.floorFilterWidget=void 0,this.mapView=void 0}get el(){return i(this)}FloorFilter;_floorFilterElement;reactiveUtils;_facilityHandle;_levelHandle;_siteHandle;async mapViewWatchHandler(){await this._initFloorFilter(this.mapView)}async enabledWatchHandler(){this.enabled?await this._initFloorFilter(this.mapView):this.enabled||this._destroyWidget()}facilityChanged;levelChanged;siteChanged;async componentWillLoad(){return this._initModules()}render(){return s(e,{key:"dd7fa68ddc1e417cb8924549e50e81742f9e891a"},s("div",{key:"294837a32ed7e8f955bce7dc2403895c7dd9984f",ref:t=>{this._floorFilterElement=t}}))}async componentDidLoad(){this.mapView&&!this.floorFilterWidget&&await this._initFloorFilter(this.mapView)}async _initModules(){const[t,i]=await h(["esri/widgets/FloorFilter","esri/core/reactiveUtils"]);this.FloorFilter=t,this.reactiveUtils=i}_destroyWidget(){this.floorFilterWidget&&(this.floorFilterWidget.destroy(),this.floorFilterWidget=void 0),this._floorFilterElement&&this._floorFilterElement.remove()}_initContainer(){this._destroyWidget(),this._floorFilterElement=document.createElement("div")}async _initFloorFilter(t){const i=t?.map;await i.when((()=>{t&&this.enabled&&this.FloorFilter&&i?.floorInfo&&(this._initContainer(),this.floorFilterWidget=new this.FloorFilter({container:this._floorFilterElement,view:t}),this._facilityHandle?.remove(),this._facilityHandle=this.reactiveUtils.watch((()=>this.floorFilterWidget.facility),(t=>{this.facilityChanged.emit(t)})),this._levelHandle?.remove(),this._levelHandle=this.reactiveUtils.watch((()=>this.floorFilterWidget.level),(t=>{this.levelChanged.emit(t)})),this._siteHandle?.remove(),this._siteHandle=this.reactiveUtils.watch((()=>this.floorFilterWidget.site),(t=>{this.siteChanged.emit(t)})))}))}static get watchers(){return{mapView:["mapViewWatchHandler"],enabled:["enabledWatchHandler"]}}};r.style=":host{display:block}";const c=class{constructor(i){t(this,i),this.fullscreenStateChange=a(this,"fullscreenStateChange",7),this.mapView=void 0,this.fullscreenWidget=void 0}Fullscreen;_fullscreenElement;_fullscreenStateChangeHandle;reactiveUtils;async mapViewWatchHandler(){await this.mapView.when((async()=>{await this._initFullscreenWidget()}))}fullscreenStateChange;async componentWillLoad(){await this._initModules()}render(){return s(e,{key:"9fc5dfeffc8601763b27e001311ec317934ebcae"},s("div",{key:"65f2ab96d7283a9a10a113be0cdef6a95de1ee1b",class:"fullscreen-widget",ref:t=>{this._fullscreenElement=t}}))}async componentDidUpdate(){await this._initFullscreenWidget()}async componentDidLoad(){await this._initFullscreenWidget()}async _initModules(){const[t,i]=await h(["esri/widgets/Fullscreen","esri/core/reactiveUtils"]);this.Fullscreen=t,this.reactiveUtils=i}async _initFullscreenWidget(){this.mapView&&this._fullscreenElement&&!this.fullscreenWidget?(this.fullscreenWidget=new this.Fullscreen({view:this.mapView}),await this.fullscreenWidget.when((()=>{this._fullscreenStateChangeHandle&&this._fullscreenStateChangeHandle.remove(),this._fullscreenStateChangeHandle=this.reactiveUtils.watch((()=>this.fullscreenWidget.viewModel.state),(t=>this.fullscreenStateChange.emit(t)))}))):this.fullscreenWidget&&(this.fullscreenWidget.view=this.mapView)}static get watchers(){return{mapView:["mapViewWatchHandler"]}}};c.style=":host{display:block}";const l=class{constructor(i){t(this,i),this.mapView=void 0,this.legendWidget=void 0}get el(){return i(this)}Legend;_legendElement;async mapViewWatchHandler(){await this.mapView.when((()=>{this._initLegend(this.mapView)}))}async componentWillLoad(){return this._initModules()}render(){return s(e,{key:"f520dd3737b8b883d8e27eb9a63da25f6d5b9375"},s("div",{key:"6775e1c58ecd4fe63d50358fe2cd4f050cb1d709",ref:t=>{this._legendElement=t}}))}async componentDidLoad(){this.mapView&&await this.mapViewWatchHandler()}async _initModules(){const[t]=await h(["esri/widgets/Legend"]);this.Legend=t}_initLegend(t){t&&this.Legend&&(this.legendWidget?this.legendWidget.view=t:this.legendWidget=new this.Legend({container:this._legendElement,view:t}))}static get watchers(){return{mapView:["mapViewWatchHandler"]}}};l.style=":host{display:block}";const d=class{constructor(i){t(this,i),this.mapInfoChange=a(this,"mapInfoChange",7),this.mapInfos=[],this.isMapLayout=void 0,this._mapListExpanded=!1,this._translations=void 0,this._webMapInfo=void 0}get el(){return i(this)}_list;_loadedId="";_webMapInfoWatchHandler(t,i){t&&JSON.stringify(t)!==JSON.stringify(i)&&(this._loadedId=t?.id,this.mapInfoChange.emit(t))}async mapInfosWatchHandler(t,i){t&&JSON.stringify(t)!==JSON.stringify(i)&&this._webMapSelected(t[0])}async setMapByID(t){const i=this.mapInfos?.filter((i=>i.id===t));t&&i?.length>0&&this._webMapSelected(i[0])}async close(){this._mapListExpanded&&(this._mapListExpanded=!1)}async toggle(t){this._mapListExpanded=t}mapInfoChange;async componentWillLoad(){await this._getTranslations()}render(){return s(e,{key:"178a4e3fcd08972b0465885c4891a732ea970428"},this._getToolbar(),this._getMapNameList(this._mapListExpanded))}async componentDidLoad(){const t=this.mapInfos&&this.mapInfos.length>0?this.mapInfos[0]:void 0;t&&this._webMapSelected(t)}_getMapPicker(){const t="map-picker-expand-toggle";return s("div",{class:"width-full"},s("calcite-button",{alignment:"icon-end-space-between",appearance:"transparent",class:"width-full height-full",iconEnd:this._mapListExpanded?"chevron-up":"chevron-down",iconStart:"map",id:t,kind:"neutral",onClick:()=>this._chooseMap(),width:"full"},this._webMapInfo?.name),s("calcite-tooltip",{placement:"bottom","reference-element":t},s("span",null,this._translations.switchMap)))}_getToolbar(){return s("div",{class:"display-flex border-right"},s("calcite-action-bar",{class:"border-bottom-1 action-bar-size","expand-disabled":!0,layout:"horizontal",slot:"header"},this._getMapPicker()))}_getMapNameList(t){return s("div",{class:t?"map-list border-bottom-1 "+(this.isMapLayout?"width-25":"width-full"):"display-none"},s("calcite-list",{id:"mapList",ref:t=>this._list=t,selectionAppearance:"border",selectionMode:"single"},this.mapInfos.map((t=>s("calcite-list-item",{label:t.name,onClick:()=>this._webMapSelected(t),selected:t.id===this._loadedId,value:t.id})))))}_webMapSelected(t){this._mapListExpanded=!1,this._webMapInfo=t}_chooseMap(){this._mapListExpanded=!this._mapListExpanded}async _getTranslations(){const t=await n(this.el);this._translations=t[0]}static get watchers(){return{_webMapInfo:["_webMapInfoWatchHandler"],mapInfos:["mapInfosWatchHandler"]}}};d.style=":host{display:block;--solutions-theme-foreground-color:var(--calcite-color-foreground-1)}.width-full{width:100%}.width-25{width:25% !important}.height-full{height:100%}.display-flex{display:flex}.border-bottom-1{border-width:0px;border-bottom-width:1px;border-style:solid;border-color:var(--calcite-color-border-3)}.border-right{border-right:1px solid var(--calcite-color-border-3)}.action-bar-size{height:51px;width:100%}.map-list{position:absolute;display:flex;flex-direction:column;overflow:hidden;animation:calcite-scrim-fade-in var(--calcite-internal-animation-timing-medium) ease-in-out;background-color:var(--calcite-color-background);z-index:1000;width:100%;height:-moz-fit-content;height:fit-content}.display-none{display:none}.align-center{align-items:center}";const p=class{constructor(i){t(this,i),this.mapView=void 0,this.popupEnabled=!1,this.resultGraphicEnabled=!1,this.searchConfiguration=void 0,this.searchTerm=void 0,this.searchWidget=void 0}FeatureLayer;Search;_searchElement;_searchResult;async watchSearchConfigurationHandler(){this._initSearchWidget()}async mapViewWatchHandler(){await this.mapView.when((()=>{this._initSearchWidget()}))}async componentWillLoad(){await this._initModules()}async componentDidLoad(){return this._initSearchWidget()}render(){return s(e,{key:"7c990343af0d1077a7315fd131379bc891310e30"},s("div",{key:"97cd41cf7f749f31701de3526cf2ef633eda48dd",class:"search-widget",ref:t=>{this._searchElement=t}}))}async _initModules(){const[t,i]=await h(["esri/widgets/Search","esri/layers/FeatureLayer"]);this.Search=t,this.FeatureLayer=i}_initSearchWidget(){if(this.mapView&&this._searchElement&&!this.searchWidget){let t={view:this.mapView,container:this._searchElement,searchTerm:this.searchTerm};this.searchConfiguration&&(t={...this._getSearchConfig(this.searchConfiguration,this.mapView)}),this.searchWidget=new this.Search(t),this.searchWidget.popupEnabled=this.popupEnabled,this.searchWidget.resultGraphicEnabled=this.resultGraphicEnabled}else this.searchWidget&&(this.searchWidget.view=this.mapView)}_getSearchConfig(t,i){const s=t.sources;return s?.length>0?(t.includeDefaultSources=!1,s.forEach((t=>{if(t.hasOwnProperty("layer")){const s=t,e=s.layer?.id,a=e?i.map.findLayerById(e):null,h=s?.layer?.url;a?s.layer=a:h&&(s.layer=new this.FeatureLayer(h))}})),s?.forEach((t=>{if(t.hasOwnProperty("locator")){const i=t;"ArcGIS World Geocoding Service"===i?.name&&(i.outFields=i.outFields||["Addr_type","Match_addr","StAddr","City"],i.singleLineFieldName="SingleLine"),i.url=i.url,delete i.url}}))):t={...t,includeDefaultSources:!0},t}static get watchers(){return{searchConfiguration:["watchSearchConfigurationHandler"],mapView:["mapViewWatchHandler"]}}};p.style=":host{display:block}.search-widget{width:100% !important;border:1px solid var(--calcite-color-border-input)}";const m=class{constructor(i){t(this,i),this.basemapConfig=void 0,this.enableLegend=void 0,this.enableFloorFilter=void 0,this.enableFullscreen=void 0,this.enableSearch=void 0,this.enableBasemap=void 0,this.enableHome=void 0,this.enableSingleExpand=void 0,this.homeZoomToolsSize="m",this.layout="vertical",this.mapView=void 0,this.mapWidgetsSize="m",this.position="top-right",this.searchConfiguration=void 0,this.stackTools=!0,this.toolOrder=void 0,this._hasFloorInfo=!1,this._translations=void 0,this._showTools=!0,this._showBasemapWidget=!1,this._showFloorFilter=!1,this._showFullscreen=!1,this._showLegendWidget=!1,this._showSearchWidget=!1}get el(){return i(this)}Expand;_basemapElement;_floorFilterElement;_fullscreenElement;_legendElement;_searchElement;_widgets=[];async mapViewWatchHandler(){await this.mapView.when((()=>{this._hasFloorInfo=this.mapView?.map?.floorInfo}))}async _showBasemapWidgetWatchHandler(t){t?this.mapView.ui.add(this._basemapElement.basemapWidget,{position:this.position,index:1}):this.mapView.ui.remove(this._basemapElement.basemapWidget)}async _showFloorFilterWatchHandler(t){const i=this._floorFilterElement.floorFilterWidget;t?this.mapView.ui.add(i,{position:this.position,index:1}):this.mapView.ui.remove(i)}async _showFullscreenWatchHandler(t){const i=this._fullscreenElement.fullscreenWidget;t?"ready"===i.viewModel.state&&i.viewModel.enter():"active"===i.viewModel.state&&i.viewModel.exit()}async _showLegendWidgetWatchHandler(t){t?this.mapView.ui.add(this._legendElement.legendWidget,{position:this.position,index:1}):this.mapView.ui.remove(this._legendElement.legendWidget)}async _showSearchWidgetWatchHandler(t){t?this.mapView.ui.add(this._searchElement.searchWidget,{position:this.position,index:1}):this.mapView.ui.remove(this._searchElement.searchWidget)}async componentWillLoad(){await this._getTranslations(),await this._initModules()}render(){this._setZoomToolsSize();const t=this._showTools?"":"display-none",i=this._showSearchWidget?"":"display-none",a=this._showBasemapWidget?"":"display-none",h=this._showLegendWidget?"":"display-none",n=this._showFloorFilter?"":"display-none",o=this._showFullscreen?"":"display-none",r=this.enableSingleExpand?"margin-top-1-2":"",c=this.toolOrder?this.toolOrder:["legend","search","fullscreen","floorfilter"],l=this.stackTools?"box-shadow":"";return s(e,{key:"087d0879847a1a48e3e586d4e851a55f0640dfea"},s("div",{key:"cd76a75845afb17c42722125f30fb5c59d305671",class:this.enableBasemap||this.enableFullscreen||this.enableLegend||this.enableSearch?"":"display-none"},this.enableSingleExpand?s("div",{class:"box-shadow"},this._getActionGroup(this._showTools?"chevrons-up":"chevrons-down",!1,this._showTools?this._translations.collapse:this._translations.expand,(()=>this._toggleTools()))):void 0,s("div",{key:"f2522aa2d41243bcaf9ae75372c50454d354de1b",class:`${r} ${l} ${t}`},this._getMapWidgets(c))),s("basemap-gallery",{key:"38762b76d6e5300800a1214a579cc7c76d4f00d7",basemapConfig:this.basemapConfig,class:a,mapView:this.mapView,ref:t=>{this._basemapElement=t}}),s("map-search",{key:"929003ecf89addceb07b6337a90f7d0558c67c18",class:i,mapView:this.mapView,ref:t=>{this._searchElement=t},resultGraphicEnabled:!0,searchConfiguration:this.searchConfiguration}),s("map-legend",{key:"46177bd0963cefc5b5b36e4b4c08e323193d14c9",class:h,mapView:this.mapView,ref:t=>{this._legendElement=t}}),s("map-fullscreen",{key:"dfb346c088e665f137143655a47539148a3d2580",class:o,mapView:this.mapView,onFullscreenStateChange:t=>this._fullscreenStateChange(t.detail),ref:t=>{this._fullscreenElement=t}}),s("floor-filter",{key:"0c1bd8979355d6f5d2c7299bbca23f6762d94cc5",class:n,enabled:this.enableFloorFilter,mapView:this.mapView,ref:t=>{this._floorFilterElement=t}}))}async _initModules(){const[t]=await h(["esri/widgets/Expand"]);this.Expand=t}_setZoomToolsSize(){const t=document.getElementsByClassName("esri-zoom")[0]?.children[0],i=document.getElementsByClassName("esri-zoom")[0]?.children[1];if(t&&i){const s="s"===this.homeZoomToolsSize?"32px":"m"===this.homeZoomToolsSize?"40px":"48px";t.style.width=s,t.style.height=s,i.style.width=s,i.style.height=s}}_getMapWidgets(t){const i=this._showFullscreen?"full-screen-exit":"full-screen",s=this._showFullscreen?this._translations.exitFullscreen:this._translations.enterFullscreen;return t.map((t=>{switch(t){case"legend":return this.enableLegend&&this.enableSingleExpand?this._getActionGroup("legend",!1,this._translations.legend,(()=>this._showLegend())):this.enableLegend?this._getWidget(t,this._legendElement?.legendWidget,!0):void 0;case"search":return this.enableSearch&&this.enableSingleExpand?this._getActionGroup("magnifying-glass",!1,this._translations.search,(()=>this._search())):this.enableSearch?this._getWidget(t,this._searchElement?.searchWidget,!0):void 0;case"fullscreen":return this.enableFullscreen&&this.enableSingleExpand?this._getActionGroup(i,!1,s,(()=>this._expand())):this.enableFullscreen?this._getWidget(t,this._fullscreenElement?.fullscreenWidget,!1):void 0;case"basemap":return this.enableBasemap&&this.enableSingleExpand?this._getActionGroup("basemap",!1,this._translations.basemap,(()=>this._toggleBasemapPicker())):this.enableBasemap?this._getWidget(t,this._basemapElement?.basemapWidget,!0):void 0;case"floorfilter":return this.enableFloorFilter&&this._hasFloorInfo&&this.enableSingleExpand?this._getActionGroup("urban-model",!1,this._translations.floorFilter,(()=>this._toggleFloorFilter())):this.enableFloorFilter&&this._hasFloorInfo?this._getWidget(t,this._floorFilterElement?.floorFilterWidget,!0):void 0}}))}_fullscreenStateChange(t){"ready"===t&&this._showFullscreen?this._showFullscreen=!1:"active"!==t||this._showFullscreen||(this._showFullscreen=!0)}_getActionGroup(t,i,e,a){return s("div",null,s("calcite-action",{alignment:"center",class:`${"s"===this.mapWidgetsSize?"square-32":"m"===this.mapWidgetsSize?"square-40":"square-48"} ${this.stackTools?"":"margin-bottom-1-2"} border-bottom ${this.stackTools?"":"box-shadow"}`,compact:!1,disabled:i,icon:t,id:t,onClick:a,scale:"s",text:""},s("calcite-icon",{icon:"cheveron-up",scale:"s",slot:"icon"})),s("calcite-tooltip",{label:"",placement:"trailing","reference-element":t},s("span",null,e)))}_getWidget(t,i,s){if(this._widgets.indexOf(t)<0&&this.mapView&&i){const e=this.toolOrder.indexOf(t),a=new this.Expand({view:this.mapView,content:i});this.mapView.ui.add(s?a:i,{position:this.position,index:e>-1?e+(this.enableHome?2:1):1}),this._widgets.push(t)}}_showLegend(){this._showLegendWidget=!this._showLegendWidget,this._showTools=!1}_search(){this._showSearchWidget=!this._showSearchWidget,this._showTools=!1}_toggleBasemapPicker(){this._showBasemapWidget=!this._showBasemapWidget,this._showTools=!1}_toggleFloorFilter(){this._showFloorFilter=!this._showFloorFilter,this._showTools=!1}_expand(){this._showFullscreen=!this._showFullscreen}_toggleTools(){this._showTools||(this._showBasemapWidget=!1,this._showSearchWidget=!1,this._showLegendWidget=!1,this._showFloorFilter=!1),this._showTools=!this._showTools}async _getTranslations(){const t=await n(this.el);this._translations=t[0]}static get watchers(){return{mapView:["mapViewWatchHandler"],_showBasemapWidget:["_showBasemapWidgetWatchHandler"],_showFloorFilter:["_showFloorFilterWatchHandler"],_showFullscreen:["_showFullscreenWatchHandler"],_showLegendWidget:["_showLegendWidgetWatchHandler"],_showSearchWidget:["_showSearchWidgetWatchHandler"]}}};m.style=":host{display:block}.display-none{display:none}.margin-top-1-2{margin-top:0.5rem}.square-32{width:32px;height:32px}.square-40{width:40px;height:40px}.square-48{width:48px;height:48px}.width-40{width:40px}.square-40-41{width:40px;height:41px}.border-bottom{border-bottom:1px solid var(--calcite-color-border-3)}.box-shadow{box-shadow:0 1px 2px rgba(0, 0, 0, 0.3)}.margin-bottom-1-2{margin-bottom:0.5rem}";export{o as basemap_gallery,r as floor_filter,c as map_fullscreen,l as map_legend,d as map_picker,p as map_search,m as map_tools}
@@ -1,17 +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,H as s,g as a,F as o}from"./p-6eb37ed2.js";import{s as n,t as c,g as l,z as r,h}from"./p-66cee72b.js";import{g as d}from"./p-27d462c0.js";import{s as p,a as f,c as b}from"./p-3e828614.js";import{N as m,c as u,d as g}from"./p-8d453a3a.js";import{o as y}from"./p-6e118057.js";import{c as v,s as w,d as k,u as x}from"./p-a5fc6ab7.js";import{K as _}from"./p-744d9575.js";import{c as C,u as z,d as E,I as j}from"./p-1ce2608d.js";import{S as F}from"./p-2230d4cc.js";import{l as L,g as S}from"./p-2058b5d9.js";import{a as W,g as H}from"./p-d572627c.js";import{P as D}from"./p-290dee0b.js";import"./p-aaa56cbf.js";import"./p-8bfa18b7.js";import"./p-4b9b7778.js";import"./p-64a34d92.js";import"./p-1c249530.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";import"./p-80cb7c73.js";import"./p-dec62e5d.js";import"./p-d0d020a5.js";import"./p-7530a02f.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 M={slow:14e3,medium:1e4,fast:6e3},A="container",P="container--active",I="container--embedded",B="queue-count",T="queue-count--active",V="focused",O=new class{constructor(){this.registeredElements=[],this.queueTimeoutId=null}registerElement(t){const{registeredElements:e}=this;if(!e.includes(t)){switch(t.queue){case"immediate":e.unshift(t);break;case"next":e.splice(1,0,t);break;case"last":e.push(t)}this.updateAlerts()}}unregisterElement(t){const{registeredElements:e}=this,i=e.indexOf(t);-1!==i&&e.splice(i,1),t.active=!1,this.updateAlerts()}updateAlerts(){window.clearTimeout(this.queueTimeoutId),this.queueTimeoutId=null,this.registeredElements.forEach(((t,e)=>{t.openAlertCount=this.registeredElements.length,0===e?this.queueTimeoutId=window.setTimeout((()=>t.active=!0),300):t.active=!1}))}},q=class{constructor(i){t(this,i),this.calciteAlertBeforeClose=e(this,"calciteAlertBeforeClose",6),this.calciteAlertClose=e(this,"calciteAlertClose",6),this.calciteAlertBeforeOpen=e(this,"calciteAlertBeforeOpen",6),this.calciteAlertOpen=e(this,"calciteAlertOpen",6),this.handleKeyBoardFocus=()=>{this.isFocused=!0,this.handleFocus()},this.handleKeyBoardBlur=()=>{this.isFocused=!1,this.isHovered||this.handleBlur()},this.autoCloseTimeoutId=null,this.totalOpenTime=0,this.totalHoverTime=0,this.openTransitionProp="opacity",this.setTransitionEl=t=>{this.transitionEl=t},this.closeAlert=()=>{this.open=!1,this.clearAutoCloseTimeout()},this.actionsEndSlotChangeHandler=t=>{this.hasEndActions=n(t)},this.handleMouseOver=()=>{this.isHovered=!0,this.handleFocus()},this.handleMouseLeave=()=>{this.isHovered=!1,this.isFocused||this.handleBlur()},this.handleFocus=()=>{this.clearAutoCloseTimeout(),this.totalOpenTime=Date.now()-this.initialOpenTime,this.lastMouseOverBegin=Date.now()},this.handleBlur=()=>{const t=Date.now()-this.lastMouseOverBegin,e=M[this.autoCloseDuration]-this.totalOpenTime+this.totalHoverTime;this.totalHoverTime=this.totalHoverTime?t+this.totalHoverTime:t,this.autoCloseTimeoutId=window.setTimeout((()=>this.closeAlert()),e)},this.active=!1,this.openAlertCount=0,this.open=!1,this.autoClose=!1,this.autoCloseDuration="medium",this.embedded=!1,this.kind="brand",this.icon=void 0,this.iconFlipRtl=!1,this.label=void 0,this.numberingSystem=void 0,this.placement="bottom",this.scale="m",this.messages=void 0,this.messageOverrides=void 0,this.queue="last",this.defaultMessages=void 0,this.effectiveLocale="",this.numberStringFormatter=new m,this.hasEndActions=!1,this.isFocused=!1}handleActiveChange(){this.clearAutoCloseTimeout(),this.active&&this.autoClose&&!this.autoCloseTimeoutId&&(this.initialOpenTime=Date.now(),this.autoCloseTimeoutId=window.setTimeout((()=>this.closeAlert()),M[this.autoCloseDuration]))}openHandler(){y(this),this.open?O.registerElement(this.el):O.unregisterElement(this.el)}updateDuration(){this.autoClose&&this.autoCloseTimeoutId&&(this.clearAutoCloseTimeout(),this.autoCloseTimeoutId=window.setTimeout((()=>this.closeAlert()),M[this.autoCloseDuration]))}onMessagesChange(){}handleQueueChange(){this.open&&(O.unregisterElement(this.el),O.registerElement(this.el))}connectedCallback(){u(this),v(this),this.open&&O.registerElement(this.el),this.numberStringFormatter.numberFormatOptions={locale:this.effectiveLocale,numberingSystem:this.numberingSystem,signDisplay:"always"}}async componentWillLoad(){p(this),await w(this),this.open&&y(this)}componentDidLoad(){f(this)}disconnectedCallback(){O.unregisterElement(this.el),this.clearAutoCloseTimeout(),g(this),k(this),this.embedded=!1}render(){const{open:t,autoClose:e,label:a,placement:o,active:n,openAlertCount:l}=this,h=e?"alert":"alertdialog",d=!t,p=r(_,this.icon,this.kind),f=l>1;return i(s,{key:"925efaa1db32fd70f778106456e1dbb11d5a33b1","aria-hidden":c(d),"aria-label":a,"calcite-hydrated-hidden":d,role:h},i("div",{key:"fc92bdb0f32f2e5461144fcc95d4cf77f1f1c916",class:{[A]:!0,[P]:n,[`${A}--${o}`]:!0,[I]:this.embedded,[V]:this.isFocused},onPointerEnter:this.autoClose&&this.autoCloseTimeoutId?this.handleMouseOver:null,onPointerLeave:this.autoClose?this.handleMouseLeave:null,ref:this.setTransitionEl},p&&this.renderIcon(p),i("div",{key:"52fe536e5f4feb0714431c5a46e0a0a2dbf27110",class:"text-container",onFocusin:this.autoClose&&this.autoCloseTimeoutId?this.handleKeyBoardFocus:null,onFocusout:this.autoClose?this.handleKeyBoardBlur:null},i("slot",{key:"6037f775c962ba14084e8ec8b86c7a177fef037f",name:"title"}),i("slot",{key:"736344f5602889a2a4a8fc0d22963b827a41519a",name:"message"}),i("slot",{key:"8eea607803b78c9ff554682bb36fbea3e1693d6e",name:"link"})),this.renderActionsEnd(),f?this.renderQueueCount():null,this.renderCloseButton(),t&&n&&e?i("div",{class:"dismiss-progress"}):null))}renderCloseButton(){return i("button",{"aria-label":this.messages.close,class:"close",key:"close",onClick:this.closeAlert,onFocusin:this.autoClose?this.handleKeyBoardFocus:null,onFocusout:this.autoClose?this.handleKeyBoardBlur:null,ref:t=>this.closeButton=t,type:"button"},i("calcite-icon",{icon:"x",scale:d(this.scale)}))}renderQueueCount(){const{openAlertCount:t}=this,e=this.numberStringFormatter.numberFormatter.format(t>2?t-1:1);return i("div",{class:{[B]:!0,[T]:t>1},key:"queue-count"},i("calcite-chip",{scale:this.scale,value:e},e))}renderActionsEnd(){return i("div",{class:"actions-end"},i("slot",{name:"actions-end",onSlotchange:this.actionsEndSlotChangeHandler}))}renderIcon(t){return i("div",{class:"icon"},i("calcite-icon",{flipRtl:this.iconFlipRtl,icon:t,scale:d(this.scale)}))}async setFocus(){await b(this);const t=l(this.el,{selector:"calcite-link"});if(this.closeButton||t)return t?t.setFocus():void(this.closeButton&&this.closeButton.focus())}effectiveLocaleChange(){x(this,this.effectiveLocale),this.numberStringFormatter.numberFormatOptions={locale:this.effectiveLocale,numberingSystem:this.numberingSystem,signDisplay:"always"}}numberingSystemChange(){this.numberStringFormatter.numberFormatOptions={locale:this.effectiveLocale,numberingSystem:this.numberingSystem,signDisplay:"always"}}clearAutoCloseTimeout(){window.clearTimeout(this.autoCloseTimeoutId),this.autoCloseTimeoutId=null}onBeforeOpen(){this.calciteAlertBeforeOpen.emit()}onOpen(){this.calciteAlertOpen.emit()}onBeforeClose(){this.calciteAlertBeforeClose.emit()}onClose(){this.calciteAlertClose.emit()}static get assetsDirs(){return["assets"]}get el(){return a(this)}static get watchers(){return{active:["handleActiveChange"],open:["openHandler"],autoCloseDuration:["updateDuration"],messageOverrides:["onMessagesChange"],queue:["handleQueueChange"],effectiveLocale:["effectiveLocaleChange"],numberingSystem:["numberingSystemChange"]}}};q.style=':host{--calcite-alert-edge-distance:2rem;--calcite-alert-dismiss-progress-background:var(--calcite-color-transparent-tint);display:block}.container{pointer-events:none;position:fixed;z-index:var(--calcite-z-index-toast);margin-inline:auto;margin-block:0px;box-sizing:border-box;display:flex;inline-size:100%;min-inline-size:-moz-min-content;min-inline-size:min-content;align-items:center;justify-content:center;background-color:var(--calcite-color-foreground-1);text-align:start;opacity:0;--tw-shadow:0 6px 20px -4px rgba(0, 0, 0, 0.1), 0 4px 12px -2px rgba(0, 0, 0, 0.08);--tw-shadow-colored:0 6px 20px -4px var(--tw-shadow-color), 0 4px 12px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);border-radius:var(--calcite-border-radius);border-block-start:0 solid transparent;border-inline:1px solid var(--calcite-color-border-3);border-block-end:1px solid var(--calcite-color-border-3);inline-size:var(--calcite-alert-width);max-inline-size:calc(100% - var(--calcite-alert-edge-distance) * 2);transition:opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), all var(--calcite-animation-timing) ease-in-out}.container--bottom,.container--top{inset-inline-end:0;inset-inline-start:0}.container[class*=bottom]{transform:translate3d(0, var(--calcite-alert-edge-distance), 0);inset-block-end:var(--calcite-alert-edge-distance)}.container[class*=top]{transform:translate3d(0, calc(-1 * var(--calcite-alert-edge-distance)), 0);inset-block-start:var(--calcite-alert-edge-distance)}.container[class*=start]{inset-inline-start:var(--calcite-alert-edge-distance);inset-inline-end:auto}.container[class*=end]{inset-inline-end:var(--calcite-alert-edge-distance);inset-inline-start:auto}.icon{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:0px;margin-block:auto;margin-inline-end:auto;padding-inline-start:var(--calcite-alert-spacing-token-large)}.close{display:flex;cursor:pointer;align-items:center;justify-content:flex-end;align-self:stretch;border-style:none;background-color:transparent;color:var(--calcite-color-text-3);outline:2px solid transparent;outline-offset:2px;-webkit-appearance:none;padding:var(--calcite-alert-spacing-token-large);outline-color:transparent}.close: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 )}.close:hover,.close:focus{background-color:var(--calcite-color-foreground-2);color:var(--calcite-color-text-1)}.close:active{background-color:var(--calcite-color-foreground-3)}.queue-count{visibility:hidden;display:flex;min-inline-size:-moz-min-content;min-inline-size:min-content;cursor:default;align-items:center;justify-content:space-around;align-self:stretch;overflow:hidden;background-color:var(--calcite-color-foreground-1);text-align:center;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-2);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;border-inline:0 solid transparent;border-start-end-radius:0}.queue-count--active{visibility:visible;opacity:1}.dismiss-progress{position:absolute;display:block;inline-size:100%;overflow:hidden;inset-inline:0;inset-block-start:-2px;block-size:2px;border-radius:var(--calcite-border-radius) var(--calcite-border-radius) 0 0}.dismiss-progress::after{position:absolute;inset-block-start:0px;display:block;block-size:2px;content:"";background-color:var(--calcite-alert-dismiss-progress-background);inset-inline-end:0}.actions-end{display:flex;align-self:stretch}.text-container{box-sizing:border-box;display:flex;min-inline-size:0px;flex:1 1 auto;flex-direction:column;overflow-wrap:break-word;padding-block:var(--calcite-alert-spacing-token-small);padding-inline:var(--calcite-alert-spacing-token-large) var(--calcite-alert-spacing-token-small)}.footer{position:relative;display:flex;inline-size:auto;justify-content:flex-end;align-self:stretch;padding-block-start:1px;block-size:inherit}:host([scale=s]){--calcite-alert-width:40em;--calcite-alert-spacing-token-small:0.5rem;--calcite-alert-spacing-token-large:0.75rem;--calcite-alert-footer-height:2rem;--calcite-alert-footer-divider-gap:0.125rem}:host([scale=s]) slot[name=title]::slotted(*),:host([scale=s]) *::slotted([slot=title]){font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=s]) slot[name=message]::slotted(*),:host([scale=s]) *::slotted([slot=message]){font-size:var(--calcite-font-size--2);line-height:1.375}:host([scale=s]) slot[name=link]::slotted(*),:host([scale=s]) *::slotted([slot=link]){font-size:var(--calcite-font-size--2);line-height:1.375}:host([scale=s]) .queue-count{margin-inline:0.5rem}:host([scale=s]) .container{--calcite-alert-min-height:3.5rem}:host([scale=m]){--calcite-alert-width:50em;--calcite-alert-spacing-token-small:0.75rem;--calcite-alert-spacing-token-large:1rem;--calcite-alert-footer-height:3rem;--calcite-alert-footer-divider-gap:0.25rem}:host([scale=m]) slot[name=title]::slotted(*),:host([scale=m]) *::slotted([slot=title]){font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=m]) slot[name=message]::slotted(*),:host([scale=m]) *::slotted([slot=message]){font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=m]) slot[name=link]::slotted(*),:host([scale=m]) *::slotted([slot=link]){font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=m]) .queue-count{margin-inline:0.75rem}:host([scale=m]) .container{--calcite-alert-min-height:4.1875rem}:host([scale=l]){--calcite-alert-width:60em;--calcite-alert-spacing-token-small:1rem;--calcite-alert-spacing-token-large:1.25rem;--calcite-alert-footer-height:4rem;--calcite-alert-footer-divider-gap:0.5rem}:host([scale=l]) slot[name=title]::slotted(*),:host([scale=l]) *::slotted([slot=title]){margin-block-end:0.25rem;font-size:var(--calcite-font-size-1);line-height:1.375}:host([scale=l]) slot[name=message]::slotted(*),:host([scale=l]) *::slotted([slot=message]){font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=l]) slot[name=link]::slotted(*),:host([scale=l]) *::slotted([slot=link]){font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=l]) .queue-count{margin-inline:1rem}:host([scale=l]) .container{--calcite-alert-min-height:5.625rem}:host([open]) .container--active{border-block-start-width:2px;opacity:1;pointer-events:initial}:host([open]) .container--active[class*=bottom]{transform:translate3d(0, calc(-1 * var(--calcite-alert-edge-distance)), inherit)}:host([open]) .container--active[class*=top]{transform:translate3d(0, var(--calcite-alert-edge-distance), inherit)}:host([auto-close])>.queue-count{border-inline-end:0 solid transparent}slot[name=title]::slotted(*),*::slotted([slot=title]){font-size:var(--calcite-font-size-0);line-height:1.375;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-1)}slot[name=message]::slotted(*),*::slotted([slot=message]){margin:0px;display:inline;font-size:var(--calcite-font-size--1);line-height:1.375;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-color-text-2);margin-inline-end:0.5rem}slot[name=link]::slotted(*),*::slotted([slot=link]){display:inline-flex;color:var(--calcite-color-text-link)}:host([kind=brand]) .container{border-block-start-color:var(--calcite-color-brand)}:host([kind=brand]) .container .icon{color:var(--calcite-color-brand)}:host([kind=info]) .container{border-block-start-color:var(--calcite-color-status-info)}:host([kind=info]) .container .icon{color:var(--calcite-color-status-info)}:host([kind=danger]) .container{border-block-start-color:var(--calcite-color-status-danger)}:host([kind=danger]) .container .icon{color:var(--calcite-color-status-danger)}:host([kind=success]) .container{border-block-start-color:var(--calcite-color-status-success)}:host([kind=success]) .container .icon{color:var(--calcite-color-status-success)}:host([kind=warning]) .container{border-block-start-color:var(--calcite-color-status-warning)}:host([kind=warning]) .container .icon{color:var(--calcite-color-status-warning)}:host([auto-close-duration=fast]) .dismiss-progress:after{animation:dismissProgress 6000ms ease-out}:host(:hover[auto-close-duration=fast]) .dismiss-progress:after,:host(:focus[auto-close-duration=fast]) .dismiss-progress:after{animation-play-state:paused}:host([auto-close-duration=medium]) .dismiss-progress:after{animation:dismissProgress 10000ms ease-out}:host(:hover[auto-close-duration=medium]) .dismiss-progress:after,:host(:focus[auto-close-duration=medium]) .dismiss-progress:after{animation-play-state:paused}:host([auto-close-duration=slow]) .dismiss-progress:after{animation:dismissProgress 14000ms ease-out}:host(:hover[auto-close-duration=slow]) .dismiss-progress:after,:host(:focus[auto-close-duration=slow]) .dismiss-progress:after{animation-play-state:paused}.container.focused .dismiss-progress::after{animation-play-state:paused}@keyframes dismissProgress{0%{inline-size:0px;opacity:0.75}100%{inline-size:100%;opacity:1}}.container--embedded{position:absolute}:host([hidden]){display:none}[hidden]{display:none}:host([calcite-hydrated-hidden]){visibility:hidden !important;pointer-events: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 R=class{constructor(i){t(this,i),this.calciteFlowItemBack=e(this,"calciteFlowItemBack",7),this.calciteFlowItemScroll=e(this,"calciteFlowItemScroll",6),this.calciteFlowItemClose=e(this,"calciteFlowItemClose",6),this.calciteFlowItemToggle=e(this,"calciteFlowItemToggle",6),this.handleInternalPanelScroll=t=>{t.target===this.containerEl&&(t.stopPropagation(),this.calciteFlowItemScroll.emit())},this.handleInternalPanelClose=t=>{t.target===this.containerEl&&(t.stopPropagation(),this.closed=!0,this.calciteFlowItemClose.emit())},this.handleInternalPanelToggle=t=>{t.target===this.containerEl&&(t.stopPropagation(),this.collapsed=t.target.collapsed,this.calciteFlowItemToggle.emit())},this.backButtonClick=()=>{this.calciteFlowItemBack.emit()},this.setBackRef=t=>{this.backButtonEl=t},this.setContainerRef=t=>{this.containerEl=t},this.closable=!1,this.closed=!1,this.collapsed=!1,this.collapseDirection="down",this.collapsible=!1,this.beforeBack=void 0,this.beforeClose=void 0,this.description=void 0,this.disabled=!1,this.heading=void 0,this.headingLevel=void 0,this.loading=!1,this.menuOpen=!1,this.messageOverrides=void 0,this.messages=void 0,this.overlayPositioning="absolute",this.scale="m",this.showBackButton=!1,this.defaultMessages=void 0,this.effectiveLocale=""}onMessagesChange(){}connectedCallback(){C(this),u(this),v(this)}async componentWillLoad(){await w(this),p(this)}componentDidRender(){z(this)}disconnectedCallback(){E(this),g(this),k(this)}componentDidLoad(){f(this)}effectiveLocaleChange(){x(this,this.effectiveLocale)}async setFocus(){await b(this);const{backButtonEl:t,containerEl:e}=this;return t?t.setFocus():e?e.setFocus():void 0}async scrollContentTo(t){await(this.containerEl?.scrollContentTo(t))}renderBackButton(){const{el:t}=this,e="rtl"===h(t),{showBackButton:s,backButtonClick:a,messages:o}=this,n=o.back;return s?i("calcite-action",{"aria-label":n,class:"back-button",icon:e?"chevron-right":"chevron-left",key:"flow-back-button",onClick:a,ref:this.setBackRef,scale:"s",slot:"header-actions-start",text:n,title:n}):null}render(){const{collapsed:t,collapseDirection:e,collapsible:a,closable:o,closed:n,description:c,disabled:l,heading:r,headingLevel:h,loading:d,menuOpen:p,messages:f,overlayPositioning:b,beforeClose:m}=this;return i(s,{key:"166a2f53829cecc09019a7fa3fe670b5e4e42146"},i(j,{key:"53f00fb0e5ec53b8a19efde1592e1bff176302d1",disabled:l},i("calcite-panel",{key:"a24ff76af240b1403ebfa5810bc8fe0443901040",beforeClose:m,closable:o,closed:n,collapseDirection:e,collapsed:t,collapsible:a,description:c,disabled:l,heading:r,headingLevel:h,loading:d,menuOpen:p,messageOverrides:f,onCalcitePanelClose:this.handleInternalPanelClose,onCalcitePanelScroll:this.handleInternalPanelScroll,onCalcitePanelToggle:this.handleInternalPanelToggle,overlayPositioning:b,ref:this.setContainerRef,scale:this.scale},this.renderBackButton(),i("slot",{key:"9051287e5b89eaca28b440816cbcddc03cefed73",name:"action-bar",slot:F.actionBar}),i("slot",{key:"566fb396078d3eac17fbff69e0cd43fb5b8ca13e",name:"alerts",slot:F.alerts}),i("slot",{key:"88ced257238e369cd99250c9d5a93fa03746fbd5",name:"header-actions-start",slot:F.headerActionsStart}),i("slot",{key:"beab9f93af9deed383adc8250ec943b883e058b8",name:"header-actions-end",slot:F.headerActionsEnd}),i("slot",{key:"1f1c7579d1ac1085004b08d2f57ec8b9e0641e35",name:"header-content",slot:F.headerContent}),i("slot",{key:"3696e4a7e80db48581f438336007a1b63a201040",name:"header-menu-actions",slot:F.headerMenuActions}),i("slot",{key:"370e0817cbc13d7cf4c8adaccff8fe9d7c91c859",name:"fab",slot:F.fab}),i("slot",{key:"d55cc859cb1c9c6cc80a63521aad955f6e23d31c",name:"content-top",slot:F.contentTop}),i("slot",{key:"7cea1750cd59d1fdda66516c9b4c78884127dde5",name:"content-bottom",slot:F.contentBottom}),i("slot",{key:"d07ed2f97623023312cdb0a5a01b909286f34373",name:"footer-start",slot:F.footerStart}),i("slot",{key:"fdc209c1e77fd62cadaaad0ee576e71a1f0419d8",name:"footer",slot:F.footer}),i("slot",{key:"5348d32cc42b7fa3b07e4b5ef711863f6ce812bc",name:"footer-end",slot:F.footerEnd}),i("slot",{key:"bad7644787a3ad19ef40931fb38cfe9c18962b27",name:"footer-actions",slot:F.footerActions}),i("slot",{key:"97675398537cc86f41a219126e17bcf24cf4682b"}))))}static get assetsDirs(){return["assets"]}get el(){return a(this)}static get watchers(){return{messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};R.style=":host{box-sizing:border-box;background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:host([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;display:flex;inline-size:100%;flex:1 1 auto;overflow:hidden}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}.back-button{border-width:0px;border-style:solid;border-color:var(--calcite-color-border-3);border-inline-end-width:1px}calcite-panel{--calcite-panel-footer-padding:var(--calcite-flow-item-footer-padding);--calcite-panel-header-border-block-end:var(--calcite-flow-item-header-border-block-end)}:host([hidden]){display:none}[hidden]{display:none}";const U=class{constructor(i){t(this,i),this.success=e(this,"success",7),this.fail=e(this,"fail",7),this.drawComplete=e(this,"drawComplete",7),this.editingAttachment=e(this,"editingAttachment",7),this.progressStatus=e(this,"progressStatus",7),this.modeChanged=e(this,"modeChanged",7),this.mapView=void 0,this.selectedLayerId=void 0,this.customizeSubmit=!1,this.searchConfiguration=void 0,this.isMobile=void 0,this.floorLevel=void 0,this.formElements=void 0,this.enableSearch=!1,this.showGuidingMsg=!0,this._editorLoading=!1,this._showSearchWidget=void 0,this._translations=void 0}get el(){return a(this)}Editor;ExpressionInfo;FieldElement;FormTemplate;_editor;FeatureLayer;MapView;_updatedMapView;Search;_search;reactiveUtils;_addingAttachment;_container;_mapViewContainer;_isSubmitBtnClicked=!1;_selectedLayer;_isTemplatePickerPage=!0;async mapViewWatchHandler(){await this.mapView.when((async()=>{await this.init()}))}async isMobileHandler(){this.modeChanged.emit()}async _editorLoadingWatchHandler(t){if(t){if(this._container?.classList.add("display-none"),this._selectedLayer?.isTable){const t={layer:this._selectedLayer,template:this._selectedLayer.templates[0]};await this._editor.startCreateFeaturesWorkflowAtFeatureCreation(t),await this.hideEditorsElements()}else await this.startCreate();this._container?.classList.remove("display-none"),this._editorLoading=!1}}async close(){this._editor&&this._editor.destroy()}async submit(){this._editor&&(this._isSubmitBtnClicked=!0,this._editor.viewModel.featureFormViewModel.submit())}async refresh(t){this._editor&&this._setFloorLevel(t)}success;fail;drawComplete;editingAttachment;progressStatus;modeChanged;async componentWillLoad(){await this._getTranslations(),await this.initModules()}async componentDidLoad(){await this.init()}render(){const t=this._showSearchWidget?"":"display-none",e=this._editorLoading?"":"display-none",s=this._editorLoading?"display-none":"",a=this.isMobile?"show-map":"display-none";let n=this._translations.provideDetailsMsg;return this._isTemplatePickerPage?n=this._translations.chooseCategoryMsg:this._showSearchWidget&&(n=this._translations.provideLocationMsg),i(o,{key:"133234456f7ed2e79da7fa78f2e7dce9b760ffe0"},this.showGuidingMsg&&i("calcite-notice",{key:"ba137886151c619694596fab63a737ba8172d6b2",class:"notice-msg",icon:"lightbulb",kind:"success",open:!0},i("div",{key:"8cda13ee2dfc2a29b0296bad845ac630e6f9c809",slot:"message"},n)),i("calcite-loader",{key:"ea62147a93ace75c6ba2c5d139c726c9ae39da2b",class:e,label:"",scale:"s"}),i("div",{key:"746486adf9ab6776644d9c653faee7fe14c7d0c0",class:s,id:"feature-form"}),this.enableSearch&&i("div",{key:"c9935155a8f48dc5ae517f75e83a60bddd860bfe",class:`search-widget ${t} ${s}`,id:"search-widget-ref"}),i("div",{key:"8743be66d70b08247f5209665ffafb808f78c5c2",class:`${a}`,ref:t=>{this._mapViewContainer=t}}))}async init(){this.mapView&&this.selectedLayerId&&(this._updatedMapView=this.mapView,await(this.isMobile?this.createMobileMapView():this._loadWidgets()))}async initModules(){const[t,e,i,s,a,o,n]=await L(["esri/widgets/Editor","esri/core/reactiveUtils","esri/widgets/Search","esri/form/ExpressionInfo","esri/form/elements/FieldElement","esri/form/FormTemplate","esri/views/MapView"]);this.Editor=t,this.reactiveUtils=e,this.Search=i,this.ExpressionInfo=s,this.FieldElement=a,this.FormTemplate=o,this.MapView=n}async createMobileMapView(){this._mapViewContainer.classList.add("hide-map"),await new this.MapView({map:this.mapView.map,container:this._mapViewContainer}).when((t=>{this._updatedMapView=t,this._loadWidgets()}),(t=>{console.log(t)}))}async _loadWidgets(){await this.createEditorWidget(),this.enableSearch&&await this.createSearchWidget()}async createEditorWidget(){this._editor&&this._editor.destroy();const t=[];this._container=document.createElement("div"),this._container?.classList.add("display-none");const e=await W(this._updatedMapView);this._selectedLayer=await H(this.mapView,this.selectedLayerId),this._selectedLayer?.isTable||e.forEach((async e=>{t.push({layer:e,enabled:"feature"===e?.type&&e?.id===this.selectedLayerId,addEnabled:!0,updateEnabled:!1,deleteEnabled:!1})})),this._editor=new this.Editor({view:this._updatedMapView,layerInfos:t,visibleElements:{snappingControls:!1,createFeaturesSection:!0,editFeaturesSection:!1},container:this._container}),this._mapViewContainer?this.el.insertBefore(this._container,this._mapViewContainer):this.el.appendChild(this._container);const i=this.reactiveUtils.watch((()=>this._editor.viewModel.state),(t=>{"adding-attachment"===t||"editing-attachment"===t?(this._addingAttachment=!0,this.editingAttachment.emit(!0)):this._addingAttachment&&(this.editingAttachment.emit(!1),this._addingAttachment=!1)}));this._editor.viewModel.addHandles(i);const s=this.reactiveUtils.watch((()=>this._editor.viewModel.featureTemplatesViewModel.state),(t=>{"ready"===t&&"create-features"!==this._editor.viewModel?.activeWorkflow?.type&&(this.progressStatus.emit(.5),this._editorLoading=!0)}));this._editor.viewModel.addHandles(s);const a=this.reactiveUtils.watch((()=>this._editor.viewModel.featureFormViewModel?.state),(t=>{"ready"===t&&(this._mapViewContainer?.classList?.replace("show-map","hide-map"),this._editor.viewModel.featureFormViewModel.on("submit",this.submitted.bind(this)),this._setFloorLevel(this.floorLevel),this._isTemplatePickerPage=!1,this._showSearchWidget=!1,this.progressStatus.emit(1),this.drawComplete.emit())}));this._editor.viewModel.addHandles(a);const o=this.reactiveUtils.watch((()=>this._editor.viewModel.state),(t=>{"creating-features"===t&&(this._mapViewContainer?.classList?.replace("hide-map","show-map"),this._isTemplatePickerPage=!1,this._selectedLayer&&!this._selectedLayer.isTable&&(this._showSearchWidget=!0))}));this._editor.viewModel.addHandles(o)}async startCreate(){return await this.hideEditorsElements(),new Promise(((t,e)=>{if(this._editor.viewModel.featureTemplatesViewModel.items?.length){const i=this._editor.viewModel.featureTemplatesViewModel.items[0].get("items");this._editor.viewModel.featureTemplatesViewModel.on("select",(()=>{this.progressStatus.emit(.75),setTimeout((()=>{this.hideEditorsElements().then((()=>{t({})}),(t=>e(t)))}),700)})),1===i.length&&this._editor.viewModel.featureTemplatesViewModel.select(i[0]);const s=i.length>1;this.hideEditorsElements().then((()=>{s&&t({})}),(t=>s&&e(t)))}}))}async createSearchWidget(){let t={view:this._updatedMapView};this.searchConfiguration&&(t={...this._getSearchConfig(this.searchConfiguration,this._updatedMapView)}),this._search=new this.Search(t),this._search.container="search-widget-ref",this._search.popupEnabled=!1,this._search.resultGraphicEnabled=!1;let e=null;this._search.on("search-complete",(t=>{this._updatedMapView.goTo(t.results[0].results[0].extent),"point"===this._selectedLayer.geometryType&&(e=t.results[0].results[0]?.feature.geometry)}));const i=this.reactiveUtils.watch((()=>this._search.viewModel.state),(t=>{"ready"===t&&setTimeout((()=>{this._editor.viewModel.sketchViewModel.createGraphic&&e&&(this._editor.viewModel.sketchViewModel.createGraphic.set("geometry",e),this._editor.viewModel.sketchViewModel.complete(),this.hideEditorsElements())}),100)}));this._search.viewModel.addHandles(i)}_getSearchConfig(t,e){const i=t.sources;return i?.length>0?(t.includeDefaultSources=!1,i.forEach((t=>{if(t.hasOwnProperty("layer")){const i=t,s=i.layer?.id,a=s?e.map.findLayerById(s):null,o=i?.layer?.url;a?i.layer=a:o&&(i.layer=new this.FeatureLayer(o))}})),i?.forEach((t=>{if(t.hasOwnProperty("locator")){const e=t;"ArcGIS World Geocoding Service"===e?.name&&(e.outFields=e.outFields||["Addr_type","Match_addr","StAddr","City"],e.singleLineFieldName="SingleLine"),e.url=e.url,delete e.url}}))):t={...t,includeDefaultSources:!0},t}async _setFloorLevel(t){if(!t)return;const e=this._selectedLayer;if(e?.floorInfo?.floorField){const i=e.fields.find((t=>t.name===e.floorInfo.floorField));if(i&&!e?.formTemplate)this._editor.viewModel.featureFormViewModel.setValue(i.name,t),i.editable=!1;else if(e.formTemplate&&this.formElements){const i=new this.ExpressionInfo({expression:`"${t}"`,name:"floor-info-test",title:"Floor Info",returnType:"string"}),s=new this.FieldElement({label:e.floorInfo.floorField,editableExpression:"false",fieldName:e.floorInfo.floorField,input:{type:"text-box",maxLength:50,minLength:0},valueExpression:i.name});this._updatedMapView.map.editableLayers.forEach((t=>{const e=this.formElements.orgExpressionInfos,a=[...this.formElements.orgElements];a.push(s);const o=new this.FormTemplate({title:t.formTemplate.title,description:t.formTemplate.description,elements:a,expressionInfos:[i].concat(e)});t.formTemplate=o}))}}}async hideEditorsElements(){this.customizeSubmit&&(await this.timeout(700),this.el.querySelector(".esri-editor")?.querySelectorAll("calcite-flow-item")?.forEach((t=>{const e=t.shadowRoot?.querySelector("calcite-panel")?.shadowRoot?.querySelector("article");e?.querySelector("header")?.setAttribute("style","display: none"),e?.querySelector("footer")?.setAttribute("style","display: none")})))}async submitted(t){if(t.invalid.length)this._isSubmitBtnClicked=!1;else if(t.valid.length&&this._isSubmitBtnClicked){this._isSubmitBtnClicked=!1;try{await this._editor.activeWorkflow.commit(),this._editor.viewModel.failures?.length&&this._editor.viewModel.failures.some((t=>{if(t.error)throw t.error}))}catch(t){return void this.fail.emit(t)}this.success.emit()}}timeout(t){return new Promise((e=>setTimeout(e,t)))}async _getTranslations(){const t=await S(this.el);this._translations=t[0]}static get watchers(){return{mapView:["mapViewWatchHandler"],isMobile:["isMobileHandler"],_editorLoading:["_editorLoadingWatchHandler"]}}};U.style=":host{display:block}.esri-editor__panel-toolbar{display:none !important}.esri-editor__panel-content{padding-block:0px !important}.esri-editor .esri-item-list__group__header{display:none !important}.esri-editor__panel-content__section .esri-widget__heading{display:none !important}.esri-editor .esri-item-list__filter-container--sticky{padding-block:0px !important;padding-inline:10px !important}.search-widget{width:92% !important;margin:5px 14px 20px 14px}.display-none{display:none !important}.hide-map{height:1%;visibility:hidden}.show-map{padding:10px !important;position:absolute;bottom:0;width:calc(100% - 22px);height:50%}.notice-msg{padding:10px;width:calc(100% - 20px)}.esri-editor__panel-content{padding-block:10px !important}";const G=class{constructor(i){t(this,i),this.closeEdit=e(this,"closeEdit",7),this.editsComplete=e(this,"editsComplete",7),this.refreshGraphics=e(this,"refreshGraphics",7),this.enableEditGeometry=!1,this.graphics=void 0,this.mapView=void 0,this.open=!1,this.graphicIndex=0,this._editorLoading=!1,this._translations=void 0}get el(){return a(this)}_activeWorkflowHandle;_addRelatedRecordHandle;_attachmentHandle;_editHandle;_layerEditHandle;Editor;_editor;_layer;_editContainer;_editControlElements;_editingDisabled;_shouldClose=!1;reactiveUtils;async graphicsWatchHandler(){0===this.graphics.length&&this.open&&await this._closeEdit(!0)}async openWatchHandler(t){t&&this.graphics?.length>0&&this.graphicIndex>-1&&(this._editorLoading=!0,await this._initEditorWidget(),this.graphicIndex>-1&&this.graphics.length>0&&this.open&&!this._shouldClose&&await this._startUpdate(),this._editorLoading=!1),t||await this._closeEdit(!0)}closeEdit;editsComplete;refreshGraphics;async featureSelectionChange(){this.open&&await this._closeEdit(!1)}async componentWillLoad(){await this._initModules(),await this._getTranslations()}async componentWillRender(){this.graphics?.length>0&&this.graphics[0]?.layer&&(this._layer=this.graphics[0].layer,this._layerEditHandle&&this._layerEditHandle.remove(),this._layerEditHandle=("subtype-sublayer"===this._layer.type?this._layer.parent:this._layer).on("edits",(()=>{this.editsComplete.emit()})))}render(){const t=this._editorLoading?"display-none":"position-absolute",e=this._editorLoading?"":"display-none";return i(s,{key:"16dd78822ee6d7c4e2da97c4b7ec7c0678b51e68"},i("div",{key:"8aba2b86c7bf8e7dfbf7567b156e02b23b728f4e",class:"position-absolute"},this.graphics?.length>0&&this.graphics[0]&&this.graphics[0].layer.editingEnabled?void 0:i("calcite-notice",{kind:"warning",open:!0,slot:"content-top",width:"full"},i("div",{slot:"message"},this._translations.enableEditing)),i("div",{key:"8230d44ec05ff207681e6333b7f08c80748c4f3d",class:"position-absolute"},i("div",{key:"71792b5737c43a024ebc677ae168d74569349585",class:t,id:"feature-form",ref:t=>this._editContainer=t}),i("calcite-loader",{key:"47176534c25769af8ae107c3864901c4294b4359",class:e,label:"",scale:"s"}))))}async _initModules(){const[t,e]=await L(["esri/widgets/Editor","esri/core/reactiveUtils"]);this.Editor=t,this.reactiveUtils=e}async _initEditorWidget(){if(this.mapView&&this.graphics&&this.graphics.length>0&&this.graphics[0]){this._editor&&this._editor.destroy();const t=document.createElement("div"),e=(await W(this.mapView)).map((t=>({layer:t,geometryUpdatesEnabled:this.enableEditGeometry})));this._editor=new this.Editor({allowedWorkflows:"update",view:this.mapView,layerInfos:e,visibleElements:{snappingControls:!1},container:t}),this._attachmentHandle&&this._activeWorkflowHandle&&(this._attachmentHandle.remove(),this._activeWorkflowHandle.remove()),this._attachmentHandle=this.reactiveUtils.when((()=>"adding-attachment"===this._editor.viewModel.state||"editing-attachment"===this._editor.viewModel.state||"creating-features"===this._editor.viewModel.state),(()=>{this._shouldClose=!1})),this._activeWorkflowHandle=this.reactiveUtils.watch((()=>this._editor.viewModel.activeWorkflow?.activeWorkflow),(t=>{"update-table-record"!==t?.type&&"create-features"!==t?.type||(this._shouldClose=!1),(t?.type||t?.hasPendingEdits||this._editor.activeWorkflow)&&this._editor?.activeWorkflow?.started||(this.open=!1)})),this._editContainer.appendChild(t)}}async _closeEdit(t){this._shouldClose=!0,t&&this._editor?.activeWorkflow?(this._editor.activeWorkflow?.activeWorkflow?.hasPendingEdits&&(await this._editor.activeWorkflow.reset(),await this._editor.cancelWorkflow()),this._editor.destroy()):this.graphicIndex>-1&&this.graphics?.length>0&&this.refreshGraphics.emit(this.graphics),this._shouldClose=!1,this.closeEdit.emit()}async _startUpdate(){await this._editor.startUpdateWorkflowAtFeatureEdit(this.graphics[this.graphicIndex]),this._shouldClose=!0}async _getTranslations(){const t=await S(this.el);this._translations=t[0]}static get watchers(){return{graphics:["graphicsWatchHandler"],open:["openWatchHandler"]}}};G.style=":host{display:block}.padding-bottom-1{padding-bottom:1rem}.font-bold{font-weight:var(--calcite-font-weight-bold)}.font-500{font-weight:var(--calcite-font-weight-medium)}.font-italic{font-style:italic}#feature-form{padding-top:0px}.padding-sides-bottom-1{padding:0 1rem 1rem 1rem}.position-relative{position:relative}.esri-editor__prompt--danger{position:relative !important;width:100% !important;background-color:var(--calcite-color-foreground-1) !important}.esri-feature__content-node{background-color:var(--calcite-color-foreground-1) !important}.esri-editor__panel-toolbar{display:none !important}.position-absolute{position:absolute;top:0;right:0;bottom:0;left:0;overflow:auto}.esri-editor__panel-content{padding-block:10px !important}";const $=class{constructor(i){t(this,i),this.popupClosed=e(this,"popupClosed",7),this.selectionChanged=e(this,"selectionChanged",7),this.enableEditGeometry=!1,this.graphics=void 0,this.isLoading=!1,this.isMobile=void 0,this.mapView=void 0,this.allowEditing=!0,this.highlightEnabled=!0,this.paginationEnabled=!0,this.position="absolute",this._alertOpen=!1,this._count="",this._editRecordOpen=!1,this._mobileTitle="",this._showListView=!1,this._translations=void 0}get el(){return a(this)}Features;_editEnabled;_features;_layer;_popupUtils;_featuresNodeId="features-node"+(new Date).getMilliseconds().toString();reactiveUtils;async graphicsWatchHandler(){await this.setGraphics()}async isMobileWatchHandler(){await this._initFeaturesWidget()}async mapViewWatchHandler(){return await this._initFeaturesWidget()}async getSelectedFeature(){return this._features.selectedFeature}async refresh(){await this.setGraphics()}async back(){this._features.previous(),this._count=this._getCount()}async next(){this._features.next(),this._count=this._getCount()}async toggleListView(){this._showListView=!this._showListView;const t=this._features.selectedFeatureIndex;this._features.open({features:this.graphics,featureMenuOpen:this._showListView}),this._features.selectedFeatureIndex=t}async updateCurrentGraphic(t){this._features.selectedFeatureWidget.graphic=t}popupClosed;selectionChanged;async closeEdit(){this._editRecordOpen=!1}async layerSelectionChange(){this._showListView=!1,this._features?.viewModel&&(this._features.viewModel.featureMenuOpen=!1,this._features.close())}async refreshGraphics(t){this.graphics=[...t.detail]}async componentWillLoad(){await this._initModules(),await this._getTranslations(),this._popupUtils=new D}async componentDidLoad(){this.graphics?.length>0&&await this.setGraphics()}render(){const t=this.isLoading?"":"display-none",e=this.isLoading||this._editRecordOpen?"visibility-hidden":"position-absolute",a=!this.isLoading&&this._editRecordOpen?"position-absolute":"display-none",o=!this.isLoading&&this._editRecordOpen||this._showListView?"display-none":"",n=this._features?.features?.length<2,c=this.isMobile?"display-none":"",l=this._features?.selectedFeature?.getObjectId(),r=parseInt(l?.toString(),10)>-1?[l]:[],h=this._layer?.editingEnabled&&this._layer?.capabilities?.operations?.supportsDelete;return i(s,{key:"c81fe6991dd41dc9c653caca0453539538e7c9d9"},i("calcite-shell",{key:"378fca0a1eaf44df516885947407ae2d17ea997c",style:{position:this.position}},this._getHeader(),i("calcite-loader",{key:"24c11c02633bb6e2fdca4b65098527f54fea6a96",class:t,label:this._translations.fetchingData}),i("div",{key:"ed3e96880d1f25e0b561fe42c88ed5545c1414b3",class:"esri-widget feature-node "+e,id:this._featuresNodeId}),i("div",{key:"034509dfa87783df9ced22ebdaeeec237cf7b7d2",class:`${o} width-100`,slot:"footer"},this.allowEditing&&i("div",{key:"c7f1493ef6b7c2f43c5e8ba473e3622ff9564e8f",class:"display-flex top-border padding-1-2"},i("calcite-button",{key:"6b565362368cee3e8f45cb4d0a638238130bd315",appearance:"solid",id:"solutions-edit",onClick:()=>this._openEditRecord(),width:"full"},this._translations.edit),this.isMobile&&h?i("delete-button",{class:"padding-inline-start-1 width-100",id:"solutions-delete",ids:r,layer:this._layer,onEditsComplete:()=>this._closePopup()}):void 0,i("calcite-tooltip",{key:"11135611585900b07db242d427fb63ed248da775",placement:"bottom","reference-element":"solutions-edit"},i("span",{key:"76f948c7dfc776a0a6f45cd5cbb00e49f5656eb0"},this._translations.edit)),this.isMobile?i("calcite-tooltip",{placement:"bottom","reference-element":"solutions-delete"},i("span",null,this._translations.delete)):void 0),this.paginationEnabled&&!n&&i("div",{key:"c73416239e73225e1d8fa12d4b9ac43a2b4efd5c",class:`display-flex padding-1-2 button-container top-border ${c}`},i("div",{key:"6102fda8c8537dbd985f73ade0ca47f18df152e3"},i("calcite-button",{key:"78ead75d2f77b46938bc469220e631549c087b6f",appearance:"transparent",disabled:n,iconFlipRtl:"both",iconStart:"chevron-left",id:"solutions-back",onClick:()=>this._back(),width:"full"}),i("calcite-tooltip",{key:"a8703ccdd4f07f04c2b4e14e493099da9f8f443a",placement:"top","reference-element":"solutions-back"},i("span",{key:"394eb1ad6f1cba692bef685609d1196973bca6b4"},this._translations.back))),i("calcite-action",{key:"907a5f48989fe956d4458685ec85066f81edf67e",class:"pagination-action",iconFlipRtl:!0,onClick:()=>this._toggleListView(),scale:"s",text:"",textEnabled:!0},i("span",{key:"b56d00fe419d2abd7da3d0fb3d390465879e5009",class:"pagination-count"},this._count)),i("div",{key:"f6e5de270c485fee1c07e8c5831606ea2afbffb9"},i("calcite-button",{key:"4ed34cc96fde3539b947feb1e252c288bf75dca7",appearance:"transparent",disabled:n,iconFlipRtl:"both",iconStart:"chevron-right",id:"solutions-next",onClick:()=>this._next(),width:"full"}),i("calcite-tooltip",{key:"e46578ca1c03d42b31adbd34498d630cc47e0ae2",placement:"top","reference-element":"solutions-next"},i("span",{key:"6283ddace0406a5b110fbd4672222efe6c1c796a"},this._translations.next))))),i("edit-card",{key:"0ef0593bfa7d359dd68df8359fec3d3c0f39733b",class:a,enableEditGeometry:this.enableEditGeometry,graphicIndex:this._features?.selectedFeatureIndex,graphics:this.graphics,mapView:this.mapView,open:this._editRecordOpen}),i("calcite-alert",{key:"27f20d8024d458429079f9ea5a56350b591e3719",icon:"layer-broken",kind:"warning",label:"",onCalciteAlertClose:()=>this._alertClosed(),open:this._alertOpen,placement:"top"},i("div",{key:"cf76bacc550219663897429b4ca1368e2b177f19",slot:"title"},this._translations.editDisabled),i("div",{key:"a987d0f419bfcca13818c8be227002d64c13d6a0",slot:"message"},this._translations.enableEditing))))}async _initModules(){const[t,e]=await L(["esri/widgets/Features","esri/core/reactiveUtils"]);this.Features=t,this.reactiveUtils=e}async setGraphics(){this._features||await this._initFeaturesWidget(),this.graphics.length>0?(this._layer=this.graphics[0]?.layer,this._editEnabled=this._layer.editingEnabled&&this._layer.capabilities.operations.supportsUpdate,this._mobileTitle=await this._popupUtils.getPopupTitle(this.graphics[0],this.mapView.map),this._features.open({features:this.graphics})):(this._features.clear(),this._features.close()),this._count=this._getCount()}async _initFeaturesWidget(){return void 0!==this.isMobile?await(this.mapView?.when((()=>{this._features?(this._features.view=this.mapView,this._features.visibleElements.actionBar=!1,this._features.visibleElements.closeButton=!1,this._features.visibleElements.heading=!this.isMobile):(this._features=new this.Features({view:this.mapView,container:this._featuresNodeId,visibleElements:{actionBar:!1,closeButton:!1,heading:!this.isMobile}}),this._features.viewModel.highlightEnabled=this.highlightEnabled,this.reactiveUtils.watch((()=>this._features.viewModel.featureMenuOpen),(t=>{this._count=this._getCount(),t||(this._showListView=t)})),this.reactiveUtils.watch((()=>this._features.selectedFeatureIndex),(t=>{t>-1&&this.selectionChanged.emit({selectedFeature:[this._features.selectedFeature],selectedFeatureIndex:this._features.selectedFeatureIndex})})))}))):Promise.resolve()}_getHeader(){return this.isMobile&&!this._editRecordOpen?i("calcite-panel",{class:"border-width-0",slot:"header"},i("calcite-action",{class:"end-border",icon:"chevron-left",iconFlipRtl:!0,onClick:()=>this._closePopup(),scale:"s",slot:"header-actions-start",text:""}),i("span",{class:"font-bold",slot:"header-content"},this._mobileTitle)):void 0}_closePopup(){this.popupClosed.emit()}_alertClosed(){this._alertOpen=!1}_openEditRecord(){this._editEnabled?this._editRecordOpen=!0:this._alertOpen=!0}_back(){this._features.previous(),this._count=this._getCount()}_next(){this._features.next(),this._count=this._getCount()}_getCount(){const t=(this._features?.viewModel.selectedFeatureIndex+1).toString(),e=this._features?.features?.length.toString();return this._translations.indexOfTotal.replace("{{index}}",t).replace("{{total}}",e)}_toggleListView(){this._showListView=!this._showListView;const t=this._features.selectedFeatureIndex;this._features.open({features:this.graphics,featureMenuOpen:this._showListView}),this._features.selectedFeatureIndex=t}async _getTranslations(){const t=await S(this.el);this._translations=t[0]}static get watchers(){return{graphics:["graphicsWatchHandler"],isMobile:["isMobileWatchHandler"],mapView:["mapViewWatchHandler"]}}};$.style=":host{display:block;--calcite-label-margin-bottom:0}.padding-1-2{padding:0.5rem}.display-none{display:none !important}.display-flex{display:flex}.position-absolute{position:absolute;top:0;right:0;bottom:0;left:0;overflow:auto}.feature-node{position:relative !important}.feature-node .esri-features__footer{display:none !important}.button-container{justify-content:center;align-items:center}.top-border{border-top:1px solid var(--calcite-color-border-1)}.width-100{width:100%}.esri-features__container{padding:0.5rem !important;background-color:var(--calcite-color-foreground-1) !important;height:100% !important}.overflow-hidden{overflow:hidden}.height-40{height:40px}.end-border{border-inline-end:1px solid var(--calcite-color-border-1)}.font-bold{font-weight:bold}.visibility-hidden{visibility:hidden;height:0px}.padding-inline-start-1{padding-inline-start:1rem}.border-width-0{border-width:0px}.pagination-action{position:relative;left:3px}.pagination-count{color:var(--calcite-color-brand);border-bottom:1px solid var(--calcite-color-brand);font-weight:bold}";export{q as calcite_alert,R as calcite_flow_item,U as create_feature,G as edit_card,$ as info_card}