@esri/solutions-components 0.11.20 → 0.11.22

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1346) hide show
  1. package/dist/cjs/card-manager_3.cjs.entry.js +11 -13
  2. package/dist/cjs/create-feature_4.cjs.entry.js +6 -3
  3. package/dist/cjs/create-related-feature_3.cjs.entry.js +55 -6
  4. package/dist/cjs/crowdsource-manager.cjs.entry.js +3 -1
  5. package/dist/cjs/crowdsource-reporter.cjs.entry.js +121 -48
  6. package/dist/cjs/feature-list.cjs.entry.js +49 -11
  7. package/dist/cjs/loader.cjs.js +1 -1
  8. package/dist/cjs/map-layer-picker.cjs.entry.js +1 -1
  9. package/dist/cjs/map-select-tools_3.cjs.entry.js +5 -5
  10. package/dist/cjs/public-notification.cjs.entry.js +3 -3
  11. package/dist/cjs/solutions-components.cjs.js +1 -1
  12. package/dist/collection/assets/t9n/buffer-tools/resources_no.json +6 -0
  13. package/dist/collection/assets/t9n/card-manager/resources_no.json +7 -0
  14. package/dist/collection/assets/t9n/comment-card/resources_no.json +4 -0
  15. package/dist/collection/assets/t9n/consent-manager/resources_no.json +5 -0
  16. package/dist/collection/assets/t9n/create-feature/resources_ar.json +1 -1
  17. package/dist/collection/assets/t9n/create-feature/resources_bg.json +1 -1
  18. package/dist/collection/assets/t9n/create-feature/resources_bs.json +1 -1
  19. package/dist/collection/assets/t9n/create-feature/resources_ca.json +1 -1
  20. package/dist/collection/assets/t9n/create-feature/resources_cs.json +1 -1
  21. package/dist/collection/assets/t9n/create-feature/resources_da.json +1 -1
  22. package/dist/collection/assets/t9n/create-feature/resources_de.json +1 -1
  23. package/dist/collection/assets/t9n/create-feature/resources_el.json +1 -1
  24. package/dist/collection/assets/t9n/create-feature/resources_es.json +1 -1
  25. package/dist/collection/assets/t9n/create-feature/resources_et.json +1 -1
  26. package/dist/collection/assets/t9n/create-feature/resources_fi.json +1 -1
  27. package/dist/collection/assets/t9n/create-feature/resources_fr.json +1 -1
  28. package/dist/collection/assets/t9n/create-feature/resources_he.json +1 -1
  29. package/dist/collection/assets/t9n/create-feature/resources_hr.json +1 -1
  30. package/dist/collection/assets/t9n/create-feature/resources_hu.json +1 -1
  31. package/dist/collection/assets/t9n/create-feature/resources_id.json +1 -1
  32. package/dist/collection/assets/t9n/create-feature/resources_it.json +1 -1
  33. package/dist/collection/assets/t9n/create-feature/resources_ja.json +1 -1
  34. package/dist/collection/assets/t9n/create-feature/resources_ko.json +1 -1
  35. package/dist/collection/assets/t9n/create-feature/resources_lt.json +1 -1
  36. package/dist/collection/assets/t9n/create-feature/resources_lv.json +1 -1
  37. package/dist/collection/assets/t9n/create-feature/resources_nb.json +1 -1
  38. package/dist/collection/assets/t9n/create-feature/resources_nl.json +1 -1
  39. package/dist/collection/assets/t9n/create-feature/resources_no.json +5 -0
  40. package/dist/collection/assets/t9n/create-feature/resources_pl.json +1 -1
  41. package/dist/collection/assets/t9n/create-feature/resources_pt-BR.json +1 -1
  42. package/dist/collection/assets/t9n/create-feature/resources_pt-PT.json +1 -1
  43. package/dist/collection/assets/t9n/create-feature/resources_ro.json +1 -1
  44. package/dist/collection/assets/t9n/create-feature/resources_ru.json +1 -1
  45. package/dist/collection/assets/t9n/create-feature/resources_sk.json +1 -1
  46. package/dist/collection/assets/t9n/create-feature/resources_sl.json +1 -1
  47. package/dist/collection/assets/t9n/create-feature/resources_sr.json +1 -1
  48. package/dist/collection/assets/t9n/create-feature/resources_sv.json +1 -1
  49. package/dist/collection/assets/t9n/create-feature/resources_th.json +1 -1
  50. package/dist/collection/assets/t9n/create-feature/resources_tr.json +1 -1
  51. package/dist/collection/assets/t9n/create-feature/resources_uk.json +1 -1
  52. package/dist/collection/assets/t9n/create-feature/resources_vi.json +1 -1
  53. package/dist/collection/assets/t9n/create-feature/resources_zh-CN.json +1 -1
  54. package/dist/collection/assets/t9n/create-feature/resources_zh-HK.json +1 -1
  55. package/dist/collection/assets/t9n/create-feature/resources_zh-TW.json +1 -1
  56. package/dist/collection/assets/t9n/create-related-feature/resources_no.json +3 -0
  57. package/dist/collection/assets/t9n/crowdsource-manager/resources_ar.json +4 -1
  58. package/dist/collection/assets/t9n/crowdsource-manager/resources_bg.json +4 -1
  59. package/dist/collection/assets/t9n/crowdsource-manager/resources_bs.json +4 -1
  60. package/dist/collection/assets/t9n/crowdsource-manager/resources_ca.json +4 -1
  61. package/dist/collection/assets/t9n/crowdsource-manager/resources_cs.json +4 -1
  62. package/dist/collection/assets/t9n/crowdsource-manager/resources_da.json +4 -1
  63. package/dist/collection/assets/t9n/crowdsource-manager/resources_de.json +4 -1
  64. package/dist/collection/assets/t9n/crowdsource-manager/resources_el.json +4 -1
  65. package/dist/collection/assets/t9n/crowdsource-manager/resources_es.json +4 -1
  66. package/dist/collection/assets/t9n/crowdsource-manager/resources_et.json +4 -1
  67. package/dist/collection/assets/t9n/crowdsource-manager/resources_fi.json +4 -1
  68. package/dist/collection/assets/t9n/crowdsource-manager/resources_fr.json +4 -1
  69. package/dist/collection/assets/t9n/crowdsource-manager/resources_he.json +4 -1
  70. package/dist/collection/assets/t9n/crowdsource-manager/resources_hr.json +4 -1
  71. package/dist/collection/assets/t9n/crowdsource-manager/resources_hu.json +4 -1
  72. package/dist/collection/assets/t9n/crowdsource-manager/resources_id.json +4 -1
  73. package/dist/collection/assets/t9n/crowdsource-manager/resources_it.json +4 -1
  74. package/dist/collection/assets/t9n/crowdsource-manager/resources_ja.json +4 -1
  75. package/dist/collection/assets/t9n/crowdsource-manager/resources_ko.json +4 -1
  76. package/dist/collection/assets/t9n/crowdsource-manager/resources_lt.json +4 -1
  77. package/dist/collection/assets/t9n/crowdsource-manager/resources_lv.json +4 -1
  78. package/dist/collection/assets/t9n/crowdsource-manager/resources_nb.json +4 -1
  79. package/dist/collection/assets/t9n/crowdsource-manager/resources_nl.json +4 -1
  80. package/dist/collection/assets/t9n/crowdsource-manager/resources_no.json +15 -0
  81. package/dist/collection/assets/t9n/crowdsource-manager/resources_pl.json +4 -1
  82. package/dist/collection/assets/t9n/crowdsource-manager/resources_pt-BR.json +4 -1
  83. package/dist/collection/assets/t9n/crowdsource-manager/resources_pt-PT.json +4 -1
  84. package/dist/collection/assets/t9n/crowdsource-manager/resources_ro.json +4 -1
  85. package/dist/collection/assets/t9n/crowdsource-manager/resources_ru.json +4 -1
  86. package/dist/collection/assets/t9n/crowdsource-manager/resources_sk.json +4 -1
  87. package/dist/collection/assets/t9n/crowdsource-manager/resources_sl.json +4 -1
  88. package/dist/collection/assets/t9n/crowdsource-manager/resources_sr.json +4 -1
  89. package/dist/collection/assets/t9n/crowdsource-manager/resources_sv.json +4 -1
  90. package/dist/collection/assets/t9n/crowdsource-manager/resources_th.json +4 -1
  91. package/dist/collection/assets/t9n/crowdsource-manager/resources_tr.json +4 -1
  92. package/dist/collection/assets/t9n/crowdsource-manager/resources_uk.json +4 -1
  93. package/dist/collection/assets/t9n/crowdsource-manager/resources_vi.json +4 -1
  94. package/dist/collection/assets/t9n/crowdsource-manager/resources_zh-CN.json +4 -1
  95. package/dist/collection/assets/t9n/crowdsource-manager/resources_zh-HK.json +4 -1
  96. package/dist/collection/assets/t9n/crowdsource-manager/resources_zh-TW.json +4 -1
  97. package/dist/collection/assets/t9n/crowdsource-reporter/resources_ar.json +2 -1
  98. package/dist/collection/assets/t9n/crowdsource-reporter/resources_bg.json +2 -1
  99. package/dist/collection/assets/t9n/crowdsource-reporter/resources_bs.json +2 -1
  100. package/dist/collection/assets/t9n/crowdsource-reporter/resources_ca.json +2 -1
  101. package/dist/collection/assets/t9n/crowdsource-reporter/resources_cs.json +2 -1
  102. package/dist/collection/assets/t9n/crowdsource-reporter/resources_da.json +2 -1
  103. package/dist/collection/assets/t9n/crowdsource-reporter/resources_de.json +2 -1
  104. package/dist/collection/assets/t9n/crowdsource-reporter/resources_el.json +2 -1
  105. package/dist/collection/assets/t9n/crowdsource-reporter/resources_es.json +2 -1
  106. package/dist/collection/assets/t9n/crowdsource-reporter/resources_et.json +2 -1
  107. package/dist/collection/assets/t9n/crowdsource-reporter/resources_fi.json +2 -1
  108. package/dist/collection/assets/t9n/crowdsource-reporter/resources_fr.json +2 -1
  109. package/dist/collection/assets/t9n/crowdsource-reporter/resources_he.json +2 -1
  110. package/dist/collection/assets/t9n/crowdsource-reporter/resources_hr.json +2 -1
  111. package/dist/collection/assets/t9n/crowdsource-reporter/resources_hu.json +2 -1
  112. package/dist/collection/assets/t9n/crowdsource-reporter/resources_id.json +2 -1
  113. package/dist/collection/assets/t9n/crowdsource-reporter/resources_it.json +2 -1
  114. package/dist/collection/assets/t9n/crowdsource-reporter/resources_ja.json +2 -1
  115. package/dist/collection/assets/t9n/crowdsource-reporter/resources_ko.json +2 -1
  116. package/dist/collection/assets/t9n/crowdsource-reporter/resources_lt.json +2 -1
  117. package/dist/collection/assets/t9n/crowdsource-reporter/resources_lv.json +2 -1
  118. package/dist/collection/assets/t9n/crowdsource-reporter/resources_nb.json +2 -1
  119. package/dist/collection/assets/t9n/crowdsource-reporter/resources_nl.json +2 -1
  120. package/dist/collection/assets/t9n/crowdsource-reporter/resources_no.json +32 -0
  121. package/dist/collection/assets/t9n/crowdsource-reporter/resources_pl.json +2 -1
  122. package/dist/collection/assets/t9n/crowdsource-reporter/resources_pt-BR.json +2 -1
  123. package/dist/collection/assets/t9n/crowdsource-reporter/resources_pt-PT.json +2 -1
  124. package/dist/collection/assets/t9n/crowdsource-reporter/resources_ro.json +2 -1
  125. package/dist/collection/assets/t9n/crowdsource-reporter/resources_ru.json +2 -1
  126. package/dist/collection/assets/t9n/crowdsource-reporter/resources_sk.json +2 -1
  127. package/dist/collection/assets/t9n/crowdsource-reporter/resources_sl.json +2 -1
  128. package/dist/collection/assets/t9n/crowdsource-reporter/resources_sr.json +2 -1
  129. package/dist/collection/assets/t9n/crowdsource-reporter/resources_sv.json +2 -1
  130. package/dist/collection/assets/t9n/crowdsource-reporter/resources_th.json +2 -1
  131. package/dist/collection/assets/t9n/crowdsource-reporter/resources_tr.json +2 -1
  132. package/dist/collection/assets/t9n/crowdsource-reporter/resources_uk.json +2 -1
  133. package/dist/collection/assets/t9n/crowdsource-reporter/resources_vi.json +2 -1
  134. package/dist/collection/assets/t9n/crowdsource-reporter/resources_zh-CN.json +2 -1
  135. package/dist/collection/assets/t9n/crowdsource-reporter/resources_zh-HK.json +2 -1
  136. package/dist/collection/assets/t9n/crowdsource-reporter/resources_zh-TW.json +2 -1
  137. package/dist/collection/assets/t9n/delete-button/resources_no.json +8 -0
  138. package/dist/collection/assets/t9n/edit-card/resources_no.json +3 -0
  139. package/dist/collection/assets/t9n/feature-list/resources_no.json +8 -0
  140. package/dist/collection/assets/t9n/info-card/resources_no.json +10 -0
  141. package/dist/collection/assets/t9n/layer-list/resources_no.json +4 -0
  142. package/dist/collection/assets/t9n/layer-table/resources_no.json +22 -0
  143. package/dist/collection/assets/t9n/map-card/resources_no.json +10 -0
  144. package/dist/collection/assets/t9n/map-draw-tools/resources_no.json +5 -0
  145. package/dist/collection/assets/t9n/map-layer-picker/resources_no.json +5 -0
  146. package/dist/collection/assets/t9n/map-picker/resources_no.json +3 -0
  147. package/dist/collection/assets/t9n/map-search/resources_no.json +3 -0
  148. package/dist/collection/assets/t9n/map-select-tools/resources_no.json +16 -0
  149. package/dist/collection/assets/t9n/map-tools/resources_no.json +10 -0
  150. package/dist/collection/assets/t9n/pdf-download/resources_no.json +3 -0
  151. package/dist/collection/assets/t9n/public-notification/resources_no.json +44 -0
  152. package/dist/collection/assets/t9n/refine-selection/resources_no.json +9 -0
  153. package/dist/collection/assets/t9n/solution-item-accordion/resources_ar.json +1 -1
  154. package/dist/collection/assets/t9n/solution-item-accordion/resources_bg.json +1 -1
  155. package/dist/collection/assets/t9n/solution-item-accordion/resources_bs.json +1 -1
  156. package/dist/collection/assets/t9n/solution-item-accordion/resources_ca.json +1 -1
  157. package/dist/collection/assets/t9n/solution-item-accordion/resources_cs.json +1 -1
  158. package/dist/collection/assets/t9n/solution-item-accordion/resources_da.json +1 -1
  159. package/dist/collection/assets/t9n/solution-item-accordion/resources_de.json +1 -1
  160. package/dist/collection/assets/t9n/solution-item-accordion/resources_el.json +1 -1
  161. package/dist/collection/assets/t9n/solution-item-accordion/resources_es.json +1 -1
  162. package/dist/collection/assets/t9n/solution-item-accordion/resources_et.json +1 -1
  163. package/dist/collection/assets/t9n/solution-item-accordion/resources_fi.json +1 -1
  164. package/dist/collection/assets/t9n/solution-item-accordion/resources_fr.json +1 -1
  165. package/dist/collection/assets/t9n/solution-item-accordion/resources_he.json +1 -1
  166. package/dist/collection/assets/t9n/solution-item-accordion/resources_hr.json +1 -1
  167. package/dist/collection/assets/t9n/solution-item-accordion/resources_hu.json +1 -1
  168. package/dist/collection/assets/t9n/solution-item-accordion/resources_id.json +1 -1
  169. package/dist/collection/assets/t9n/solution-item-accordion/resources_it.json +1 -1
  170. package/dist/collection/assets/t9n/solution-item-accordion/resources_ja.json +1 -1
  171. package/dist/collection/assets/t9n/solution-item-accordion/resources_ko.json +1 -1
  172. package/dist/collection/assets/t9n/solution-item-accordion/resources_lt.json +1 -1
  173. package/dist/collection/assets/t9n/solution-item-accordion/resources_lv.json +1 -1
  174. package/dist/collection/assets/t9n/solution-item-accordion/resources_nb.json +1 -1
  175. package/dist/collection/assets/t9n/solution-item-accordion/resources_nl.json +1 -1
  176. package/dist/collection/assets/t9n/solution-item-accordion/resources_no.json +3 -0
  177. package/dist/collection/assets/t9n/solution-item-accordion/resources_pl.json +1 -1
  178. package/dist/collection/assets/t9n/solution-item-accordion/resources_pt-BR.json +1 -1
  179. package/dist/collection/assets/t9n/solution-item-accordion/resources_pt-PT.json +1 -1
  180. package/dist/collection/assets/t9n/solution-item-accordion/resources_ro.json +1 -1
  181. package/dist/collection/assets/t9n/solution-item-accordion/resources_ru.json +1 -1
  182. package/dist/collection/assets/t9n/solution-item-accordion/resources_sk.json +1 -1
  183. package/dist/collection/assets/t9n/solution-item-accordion/resources_sl.json +1 -1
  184. package/dist/collection/assets/t9n/solution-item-accordion/resources_sr.json +1 -1
  185. package/dist/collection/assets/t9n/solution-item-accordion/resources_sv.json +1 -1
  186. package/dist/collection/assets/t9n/solution-item-accordion/resources_th.json +1 -1
  187. package/dist/collection/assets/t9n/solution-item-accordion/resources_tr.json +1 -1
  188. package/dist/collection/assets/t9n/solution-item-accordion/resources_uk.json +1 -1
  189. package/dist/collection/assets/t9n/solution-item-accordion/resources_vi.json +1 -1
  190. package/dist/collection/assets/t9n/solution-item-accordion/resources_zh-CN.json +1 -1
  191. package/dist/collection/assets/t9n/solution-item-accordion/resources_zh-HK.json +1 -1
  192. package/dist/collection/assets/t9n/solution-item-accordion/resources_zh-TW.json +1 -1
  193. package/dist/collection/components/card-manager/card-manager.js +2 -2
  194. package/dist/collection/components/create-feature/create-feature.js +2 -1
  195. package/dist/collection/components/create-related-feature/create-related-feature.js +1 -0
  196. package/dist/collection/components/crowdsource-manager/crowdsource-manager.js +3 -1
  197. package/dist/collection/components/crowdsource-reporter/crowdsource-reporter.js +165 -49
  198. package/dist/collection/components/edit-card/edit-card.js +1 -0
  199. package/dist/collection/components/feature-list/feature-list.js +70 -10
  200. package/dist/collection/components/info-card/info-card.js +3 -2
  201. package/dist/collection/components/layer-list/layer-list.js +74 -3
  202. package/dist/collection/components/layer-table/layer-table.js +9 -11
  203. package/dist/collection/components/map-layer-picker/map-layer-picker.js +1 -1
  204. package/dist/collection/components/map-select-tools/map-select-tools.css +1 -0
  205. package/dist/collection/components/map-select-tools/map-select-tools.js +2 -2
  206. package/dist/collection/components/public-notification/public-notification.css +7 -0
  207. package/dist/collection/components/public-notification/public-notification.js +2 -2
  208. package/dist/collection/components/refine-selection/refine-selection.css +7 -0
  209. package/dist/collection/components/refine-selection/refine-selection.js +1 -1
  210. package/dist/collection/demos/crowdsource-manager.html +6 -2
  211. package/dist/collection/demos/crowdsource-reporter.html +2 -0
  212. package/dist/collection/vendor/calcite-components/24XPU7PW.js +4 -0
  213. package/dist/collection/vendor/calcite-components/26HZKUXD.js +4 -0
  214. package/dist/collection/vendor/calcite-components/2DZDH5PW.js +4 -0
  215. package/dist/collection/vendor/calcite-components/2E4H4XCR.js +5 -0
  216. package/dist/collection/vendor/calcite-components/2FEK4CRN.js +4 -0
  217. package/dist/collection/vendor/calcite-components/2JG564MO.js +4 -0
  218. package/dist/collection/vendor/calcite-components/2Q4UEB7G.js +4 -0
  219. package/dist/collection/vendor/calcite-components/2RPVHRRK.js +4 -0
  220. package/dist/collection/vendor/calcite-components/2UCHSNWA.js +4 -0
  221. package/dist/collection/vendor/calcite-components/36XNABTH.js +5 -0
  222. package/dist/collection/vendor/calcite-components/3AQ2GZOJ.js +4 -0
  223. package/dist/collection/vendor/calcite-components/3BLAL4BM.js +4 -0
  224. package/dist/collection/vendor/calcite-components/3FMVZYYJ.js +4 -0
  225. package/dist/collection/vendor/calcite-components/3H4RHBLC.js +4 -0
  226. package/dist/collection/vendor/calcite-components/3HPRXYKG.js +4 -0
  227. package/dist/collection/vendor/calcite-components/3NQ3MF4Y.js +4 -0
  228. package/dist/collection/vendor/calcite-components/3QYPPYKC.js +4 -0
  229. package/dist/collection/vendor/calcite-components/3SN4BPNU.js +4 -0
  230. package/dist/collection/vendor/calcite-components/3TSDVYMK.js +4 -0
  231. package/dist/collection/vendor/calcite-components/44IELQRN.js +4 -0
  232. package/dist/collection/vendor/calcite-components/4EXGV2JM.js +4 -0
  233. package/dist/collection/vendor/calcite-components/4FFNZW2T.js +4 -0
  234. package/dist/collection/vendor/calcite-components/4IAN6EPQ.js +4 -0
  235. package/dist/collection/vendor/calcite-components/4LP6XZGU.js +4 -0
  236. package/dist/collection/vendor/calcite-components/5F57XCO4.js +4 -0
  237. package/dist/collection/vendor/calcite-components/5GKGAQME.js +4 -0
  238. package/dist/collection/vendor/calcite-components/5IDYJYNO.js +4 -0
  239. package/dist/collection/vendor/calcite-components/5NCQFUYM.js +4 -0
  240. package/dist/collection/vendor/calcite-components/5URVZAO7.js +4 -0
  241. package/dist/collection/vendor/calcite-components/5VK4UUOT.js +4 -0
  242. package/dist/collection/vendor/calcite-components/675BA2OJ.js +4 -0
  243. package/dist/collection/vendor/calcite-components/6BYBFB5X.js +4 -0
  244. package/dist/collection/vendor/calcite-components/6GYLT3HR.js +4 -0
  245. package/dist/collection/vendor/calcite-components/6HR6FZG5.js +4 -0
  246. package/dist/collection/vendor/calcite-components/6MXVP647.js +4 -0
  247. package/dist/collection/vendor/calcite-components/6ZVC3UDX.js +4 -0
  248. package/dist/collection/vendor/calcite-components/7DCX244D.js +4 -0
  249. package/dist/collection/vendor/calcite-components/7IVGC34Z.js +4 -0
  250. package/dist/collection/vendor/calcite-components/7MWKFHAB.js +4 -0
  251. package/dist/collection/vendor/calcite-components/7XHO3OGL.js +4 -0
  252. package/dist/collection/vendor/calcite-components/7ZKEYSIK.js +4 -0
  253. package/dist/collection/vendor/calcite-components/A55GXE4D.js +4 -0
  254. package/dist/collection/vendor/calcite-components/ANPPDEZT.js +4 -0
  255. package/dist/collection/vendor/calcite-components/AQU64FML.js +4 -0
  256. package/dist/collection/vendor/calcite-components/BWIN7F7V.js +4 -0
  257. package/dist/collection/vendor/calcite-components/CMPWL5OR.js +4 -0
  258. package/dist/collection/vendor/calcite-components/D2RJ2NDD.js +4 -0
  259. package/dist/collection/vendor/calcite-components/D7XRLD6B.js +4 -0
  260. package/dist/collection/vendor/calcite-components/DARUTTL6.js +4 -0
  261. package/dist/collection/vendor/calcite-components/DQUWVHQ4.js +4 -0
  262. package/dist/collection/vendor/calcite-components/DS66T4UB.js +4 -0
  263. package/dist/collection/vendor/calcite-components/DTEXOHOC.js +4 -0
  264. package/dist/collection/vendor/calcite-components/DWP35FP5.js +4 -0
  265. package/dist/collection/vendor/calcite-components/E4V4WLG3.js +4 -0
  266. package/dist/collection/vendor/calcite-components/E7BZN4HI.js +4 -0
  267. package/dist/collection/vendor/calcite-components/E7L45EZX.js +4 -0
  268. package/dist/collection/vendor/calcite-components/EAA5CDC7.js +4 -0
  269. package/dist/collection/vendor/calcite-components/EBQYZOJE.js +4 -0
  270. package/dist/collection/vendor/calcite-components/EEY7KS7V.js +4 -0
  271. package/dist/collection/vendor/calcite-components/EF4LF7JA.js +4 -0
  272. package/dist/collection/vendor/calcite-components/EG3KFCKT.js +4 -0
  273. package/dist/collection/vendor/calcite-components/EIKWAET5.js +4 -0
  274. package/dist/collection/vendor/calcite-components/ELQHGUUQ.js +4 -0
  275. package/dist/collection/vendor/calcite-components/ERSOIATK.js +4 -0
  276. package/dist/collection/vendor/calcite-components/EV222TOH.js +4 -0
  277. package/dist/collection/vendor/calcite-components/FBYOJ4XP.js +4 -0
  278. package/dist/collection/vendor/calcite-components/FD23ZJ5M.js +4 -0
  279. package/dist/collection/vendor/calcite-components/FKRFYIK4.js +4 -0
  280. package/dist/collection/vendor/calcite-components/FMQW5CPG.js +4 -0
  281. package/dist/collection/vendor/calcite-components/FO5IP7GC.js +4 -0
  282. package/dist/collection/vendor/calcite-components/FT75A5FT.js +4 -0
  283. package/dist/collection/vendor/calcite-components/FXQZQREX.js +4 -0
  284. package/dist/collection/vendor/calcite-components/FYRRB4YU.js +4 -0
  285. package/dist/collection/vendor/calcite-components/G4WSCO7F.js +4 -0
  286. package/dist/collection/vendor/calcite-components/G5LIFWLC.js +4 -0
  287. package/dist/collection/vendor/calcite-components/GCYW34DH.js +4 -0
  288. package/dist/collection/vendor/calcite-components/GD4KAPIS.js +4 -0
  289. package/dist/collection/vendor/calcite-components/GM2DDQTV.js +4 -0
  290. package/dist/collection/vendor/calcite-components/GO2WSYWK.js +4 -0
  291. package/dist/collection/vendor/calcite-components/GPCQIKHB.js +4 -0
  292. package/dist/collection/vendor/calcite-components/GWFN65PG.js +4 -0
  293. package/dist/collection/vendor/calcite-components/GYIYX666.js +4 -0
  294. package/dist/collection/vendor/calcite-components/H373LLT7.js +4 -0
  295. package/dist/collection/vendor/calcite-components/HANIGQEU.js +4 -0
  296. package/dist/collection/vendor/calcite-components/HBWBBKTZ.js +4 -0
  297. package/dist/collection/vendor/calcite-components/HPQH2IQI.js +4 -0
  298. package/dist/collection/vendor/calcite-components/HVFHWDZS.js +4 -0
  299. package/dist/collection/vendor/calcite-components/HZ2CJF4H.js +4 -0
  300. package/dist/collection/vendor/calcite-components/ICQDC5MP.js +4 -0
  301. package/dist/collection/vendor/calcite-components/IUPHPQ5W.js +4 -0
  302. package/dist/collection/vendor/calcite-components/JDC4CCNQ.js +4 -0
  303. package/dist/collection/vendor/calcite-components/JG5U4L3H.js +4 -0
  304. package/dist/collection/vendor/calcite-components/JIZ3ZUNT.js +4 -0
  305. package/dist/collection/vendor/calcite-components/JLOMSYFQ.js +4 -0
  306. package/dist/collection/vendor/calcite-components/JLTNOBGF.js +4 -0
  307. package/dist/collection/vendor/calcite-components/JN54BWVD.js +4 -0
  308. package/dist/collection/vendor/calcite-components/JN6GQD32.js +4 -0
  309. package/dist/collection/vendor/calcite-components/JPISN7UU.js +4 -0
  310. package/dist/collection/vendor/calcite-components/JUAKRLPE.js +4 -0
  311. package/dist/collection/vendor/calcite-components/JWG3XWKS.js +4 -0
  312. package/dist/collection/vendor/calcite-components/JXO6Q6PC.js +4 -0
  313. package/dist/collection/vendor/calcite-components/JZGJVQKB.js +4 -0
  314. package/dist/collection/vendor/calcite-components/K6ALYIOD.js +4 -0
  315. package/dist/collection/vendor/calcite-components/KDJM5H4R.js +4 -0
  316. package/dist/collection/vendor/calcite-components/KHJ3WR7G.js +4 -0
  317. package/dist/collection/vendor/calcite-components/KKIWAHJ5.js +4 -0
  318. package/dist/collection/vendor/calcite-components/KTBWW64D.js +4 -0
  319. package/dist/collection/vendor/calcite-components/KU2O6B36.js +4 -0
  320. package/dist/collection/vendor/calcite-components/KVUPM4TA.js +4 -0
  321. package/dist/collection/vendor/calcite-components/KX7ZCSRX.js +4 -0
  322. package/dist/collection/vendor/calcite-components/L23DZQI6.js +4 -0
  323. package/dist/collection/vendor/calcite-components/L2A3CRIP.js +4 -0
  324. package/dist/collection/vendor/calcite-components/L37A2ISQ.js +4 -0
  325. package/dist/collection/vendor/calcite-components/LAVRP2RO.js +4 -0
  326. package/dist/collection/vendor/calcite-components/LKSA6W5F.js +4 -0
  327. package/dist/collection/vendor/calcite-components/LL7Q6H5L.js +4 -0
  328. package/dist/collection/vendor/calcite-components/LM2XVEJC.js +4 -0
  329. package/dist/collection/vendor/calcite-components/LRGSGD6G.js +4 -0
  330. package/dist/collection/vendor/calcite-components/LSIQC7QO.js +4 -0
  331. package/dist/collection/vendor/calcite-components/LX3BNN2R.js +4 -0
  332. package/dist/collection/vendor/calcite-components/M25GARCS.js +4 -0
  333. package/dist/collection/vendor/calcite-components/M4GN65AZ.js +4 -0
  334. package/dist/collection/vendor/calcite-components/MDFZXOFP.js +5 -0
  335. package/dist/collection/vendor/calcite-components/MIBXI2CI.js +4 -0
  336. package/dist/collection/vendor/calcite-components/MRFLH6RW.js +4 -0
  337. package/dist/collection/vendor/calcite-components/MUSZ6RWB.js +4 -0
  338. package/dist/collection/vendor/calcite-components/MX5EJ4DJ.js +4 -0
  339. package/dist/collection/vendor/calcite-components/MX7YVZ2Z.js +4 -0
  340. package/dist/collection/vendor/calcite-components/MYZF2YXM.js +4 -0
  341. package/dist/collection/vendor/calcite-components/N65J4BH6.js +4 -0
  342. package/dist/collection/vendor/calcite-components/N7POKTYM.js +4 -0
  343. package/dist/collection/vendor/calcite-components/NGWZQ4DF.js +4 -0
  344. package/dist/collection/vendor/calcite-components/NH5KER32.js +4 -0
  345. package/dist/collection/vendor/calcite-components/NIUCAKLC.js +4 -0
  346. package/dist/collection/vendor/calcite-components/NJILTUYU.js +4 -0
  347. package/dist/collection/vendor/calcite-components/NNB7RMSP.js +4 -0
  348. package/dist/collection/vendor/calcite-components/NP5LTTOS.js +4 -0
  349. package/dist/collection/vendor/calcite-components/NU3PWREF.js +4 -0
  350. package/dist/collection/vendor/calcite-components/NZDSRTUF.js +4 -0
  351. package/dist/collection/vendor/calcite-components/O4LXC5MV.js +4 -0
  352. package/dist/collection/vendor/calcite-components/OJGLTFDQ.js +4 -0
  353. package/dist/collection/vendor/calcite-components/OM2SDJA4.js +4 -0
  354. package/dist/collection/vendor/calcite-components/OY3RU7OI.js +4 -0
  355. package/dist/collection/vendor/calcite-components/P7LZIGH7.js +4 -0
  356. package/dist/collection/vendor/calcite-components/PF4XEEY5.js +4 -0
  357. package/dist/collection/vendor/calcite-components/PODUJS2H.js +4 -0
  358. package/dist/collection/vendor/calcite-components/PTGDUPKQ.js +4 -0
  359. package/dist/collection/vendor/calcite-components/PULE4IG4.js +4 -0
  360. package/dist/collection/vendor/calcite-components/PYAEZBTT.js +4 -0
  361. package/dist/collection/vendor/calcite-components/Q4DBJLCB.js +4 -0
  362. package/dist/collection/vendor/calcite-components/Q5CP47UX.js +4 -0
  363. package/dist/collection/vendor/calcite-components/QBKTBLGQ.js +4 -0
  364. package/dist/collection/vendor/calcite-components/QBQA4E7G.js +4 -0
  365. package/dist/collection/vendor/calcite-components/QETLRCQW.js +4 -0
  366. package/dist/collection/vendor/calcite-components/QQDFER4A.js +4 -0
  367. package/dist/collection/vendor/calcite-components/QUUN5YJ3.js +4 -0
  368. package/dist/collection/vendor/calcite-components/RAGSXTXM.js +4 -0
  369. package/dist/collection/vendor/calcite-components/RCSWE64T.js +4 -0
  370. package/dist/collection/vendor/calcite-components/REFBGNGF.js +4 -0
  371. package/dist/collection/vendor/calcite-components/RJMOC4XG.js +4 -0
  372. package/dist/collection/vendor/calcite-components/RLL47KJQ.js +4 -0
  373. package/dist/collection/vendor/calcite-components/RNT7J5MG.js +4 -0
  374. package/dist/collection/vendor/calcite-components/RPYN5IF2.js +4 -0
  375. package/dist/collection/vendor/calcite-components/RRML3L24.js +4 -0
  376. package/dist/collection/vendor/calcite-components/RRVJ5QUL.js +4 -0
  377. package/dist/collection/vendor/calcite-components/RZO7PXBY.js +4 -0
  378. package/dist/collection/vendor/calcite-components/SHIRLQTM.js +4 -0
  379. package/dist/collection/vendor/calcite-components/SKNFNI3G.js +4 -0
  380. package/dist/collection/vendor/calcite-components/SYRJFWC5.js +4 -0
  381. package/dist/collection/vendor/calcite-components/T3GBBB3W.js +4 -0
  382. package/dist/collection/vendor/calcite-components/TQ427GJX.js +6 -0
  383. package/dist/collection/vendor/calcite-components/TRWHGTOM.js +4 -0
  384. package/dist/collection/vendor/calcite-components/TTYJV2AA.js +4 -0
  385. package/dist/collection/vendor/calcite-components/TWJJYAQX.js +4 -0
  386. package/dist/collection/vendor/calcite-components/U34FMDPO.js +4 -0
  387. package/dist/collection/vendor/calcite-components/UEMF24J4.js +4 -0
  388. package/dist/collection/vendor/calcite-components/UIX5KJAH.js +4 -0
  389. package/dist/collection/vendor/calcite-components/UK4MHTX3.js +4 -0
  390. package/dist/collection/vendor/calcite-components/UMC66FPD.js +4 -0
  391. package/dist/collection/vendor/calcite-components/UOWQEKZ5.js +4 -0
  392. package/dist/collection/vendor/calcite-components/UTQXVQSW.js +4 -0
  393. package/dist/collection/vendor/calcite-components/UZXKQDX5.js +4 -0
  394. package/dist/collection/vendor/calcite-components/VB5TESRK.js +4 -0
  395. package/dist/collection/vendor/calcite-components/VHJ3N6C3.js +4 -0
  396. package/dist/collection/vendor/calcite-components/VY7WVWHH.js +4 -0
  397. package/dist/collection/vendor/calcite-components/W34LH35I.js +4 -0
  398. package/dist/collection/vendor/calcite-components/W5SJYIG6.js +4 -0
  399. package/dist/collection/vendor/calcite-components/W7LKQZLC.js +4 -0
  400. package/dist/collection/vendor/calcite-components/WA5XUN7A.js +4 -0
  401. package/dist/collection/vendor/calcite-components/WEMPP7QH.js +4 -0
  402. package/dist/collection/vendor/calcite-components/WK57IMVA.js +4 -0
  403. package/dist/collection/vendor/calcite-components/WUO5GRAC.js +5 -0
  404. package/dist/collection/vendor/calcite-components/WVYNOISK.js +4 -0
  405. package/dist/collection/vendor/calcite-components/X3DSV2RP.js +4 -0
  406. package/dist/collection/vendor/calcite-components/X533PSPQ.js +4 -0
  407. package/dist/collection/vendor/calcite-components/XCP7OFYG.js +4 -0
  408. package/dist/collection/vendor/calcite-components/XHSJC65M.js +22 -0
  409. package/dist/collection/vendor/calcite-components/XNYI7YNV.js +4 -0
  410. package/dist/collection/vendor/calcite-components/XOXXCOFR.js +4 -0
  411. package/dist/collection/vendor/calcite-components/XWL453TD.js +4 -0
  412. package/dist/collection/vendor/calcite-components/XZCNA3MO.js +4 -0
  413. package/dist/collection/vendor/calcite-components/XZIEBVH3.js +4 -0
  414. package/dist/collection/vendor/calcite-components/Y2RMF5RD.js +4 -0
  415. package/dist/collection/vendor/calcite-components/Y5K6MWVI.js +4 -0
  416. package/dist/collection/vendor/calcite-components/Y73JSF6U.js +4 -0
  417. package/dist/collection/vendor/calcite-components/YDHV53C4.js +4 -0
  418. package/dist/collection/vendor/calcite-components/YFD73VVO.js +4 -0
  419. package/dist/collection/vendor/calcite-components/YGSOHLPD.js +4 -0
  420. package/dist/collection/vendor/calcite-components/YLRKAY6P.js +4 -0
  421. package/dist/collection/vendor/calcite-components/YMGAVFBF.js +4 -0
  422. package/dist/collection/vendor/calcite-components/YORUNTUJ.js +4 -0
  423. package/dist/collection/vendor/calcite-components/YQW2HZIZ.js +4 -0
  424. package/dist/collection/vendor/calcite-components/YU4QMLUK.js +4 -0
  425. package/dist/collection/vendor/calcite-components/Z5W27AI4.js +4 -0
  426. package/dist/collection/vendor/calcite-components/ZB7BTUGE.js +4 -0
  427. package/dist/collection/vendor/calcite-components/ZBMTRW4F.js +4 -0
  428. package/dist/collection/vendor/calcite-components/ZGKKQBVA.js +4 -0
  429. package/dist/collection/vendor/calcite-components/ZH3CXIUL.js +4 -0
  430. package/dist/collection/vendor/calcite-components/ZIFGJROL.js +4 -0
  431. package/dist/collection/vendor/calcite-components/ZL7RFBBU.js +28 -0
  432. package/dist/collection/vendor/calcite-components/ZLP5NNFX.js +4 -0
  433. package/dist/collection/vendor/calcite-components/ZQRVWYDH.js +4 -0
  434. package/dist/collection/vendor/calcite-components/assets/icon/hammerCoin16.json +1 -0
  435. package/dist/collection/vendor/calcite-components/assets/icon/hammerCoin24.json +1 -0
  436. package/dist/collection/vendor/calcite-components/assets/icon/hammerCoin32.json +1 -0
  437. package/dist/collection/vendor/calcite-components/assets/icon/hammerLock16.json +1 -0
  438. package/dist/collection/vendor/calcite-components/assets/icon/hammerLock24.json +1 -0
  439. package/dist/collection/vendor/calcite-components/assets/icon/hammerLock32.json +1 -0
  440. package/dist/collection/vendor/calcite-components/calcite.esm.js +2 -2
  441. package/dist/components/card-manager2.js +2 -2
  442. package/dist/components/create-feature2.js +2 -1
  443. package/dist/components/create-related-feature2.js +1 -0
  444. package/dist/components/crowdsource-manager.js +3 -1
  445. package/dist/components/crowdsource-reporter.js +125 -48
  446. package/dist/components/edit-card2.js +1 -0
  447. package/dist/components/feature-list2.js +52 -12
  448. package/dist/components/info-card2.js +3 -2
  449. package/dist/components/layer-list2.js +56 -5
  450. package/dist/components/layer-table2.js +9 -11
  451. package/dist/components/map-layer-picker2.js +1 -1
  452. package/dist/components/map-select-tools2.js +3 -3
  453. package/dist/components/public-notification.js +3 -3
  454. package/dist/components/refine-selection2.js +2 -2
  455. package/dist/esm/card-manager_3.entry.js +11 -13
  456. package/dist/esm/create-feature_4.entry.js +6 -3
  457. package/dist/esm/create-related-feature_3.entry.js +55 -6
  458. package/dist/esm/crowdsource-manager.entry.js +3 -1
  459. package/dist/esm/crowdsource-reporter.entry.js +121 -48
  460. package/dist/esm/feature-list.entry.js +49 -11
  461. package/dist/esm/loader.js +1 -1
  462. package/dist/esm/map-layer-picker.entry.js +1 -1
  463. package/dist/esm/map-select-tools_3.entry.js +5 -5
  464. package/dist/esm/public-notification.entry.js +3 -3
  465. package/dist/esm/solutions-components.js +1 -1
  466. package/dist/solutions-components/assets/t9n/buffer-tools/resources_no.json +6 -0
  467. package/dist/solutions-components/assets/t9n/card-manager/resources_no.json +7 -0
  468. package/dist/solutions-components/assets/t9n/comment-card/resources_no.json +4 -0
  469. package/dist/solutions-components/assets/t9n/consent-manager/resources_no.json +5 -0
  470. package/dist/solutions-components/assets/t9n/create-feature/resources_ar.json +1 -1
  471. package/dist/solutions-components/assets/t9n/create-feature/resources_bg.json +1 -1
  472. package/dist/solutions-components/assets/t9n/create-feature/resources_bs.json +1 -1
  473. package/dist/solutions-components/assets/t9n/create-feature/resources_ca.json +1 -1
  474. package/dist/solutions-components/assets/t9n/create-feature/resources_cs.json +1 -1
  475. package/dist/solutions-components/assets/t9n/create-feature/resources_da.json +1 -1
  476. package/dist/solutions-components/assets/t9n/create-feature/resources_de.json +1 -1
  477. package/dist/solutions-components/assets/t9n/create-feature/resources_el.json +1 -1
  478. package/dist/solutions-components/assets/t9n/create-feature/resources_es.json +1 -1
  479. package/dist/solutions-components/assets/t9n/create-feature/resources_et.json +1 -1
  480. package/dist/solutions-components/assets/t9n/create-feature/resources_fi.json +1 -1
  481. package/dist/solutions-components/assets/t9n/create-feature/resources_fr.json +1 -1
  482. package/dist/solutions-components/assets/t9n/create-feature/resources_he.json +1 -1
  483. package/dist/solutions-components/assets/t9n/create-feature/resources_hr.json +1 -1
  484. package/dist/solutions-components/assets/t9n/create-feature/resources_hu.json +1 -1
  485. package/dist/solutions-components/assets/t9n/create-feature/resources_id.json +1 -1
  486. package/dist/solutions-components/assets/t9n/create-feature/resources_it.json +1 -1
  487. package/dist/solutions-components/assets/t9n/create-feature/resources_ja.json +1 -1
  488. package/dist/solutions-components/assets/t9n/create-feature/resources_ko.json +1 -1
  489. package/dist/solutions-components/assets/t9n/create-feature/resources_lt.json +1 -1
  490. package/dist/solutions-components/assets/t9n/create-feature/resources_lv.json +1 -1
  491. package/dist/solutions-components/assets/t9n/create-feature/resources_nb.json +1 -1
  492. package/dist/solutions-components/assets/t9n/create-feature/resources_nl.json +1 -1
  493. package/dist/solutions-components/assets/t9n/create-feature/resources_no.json +5 -0
  494. package/dist/solutions-components/assets/t9n/create-feature/resources_pl.json +1 -1
  495. package/dist/solutions-components/assets/t9n/create-feature/resources_pt-BR.json +1 -1
  496. package/dist/solutions-components/assets/t9n/create-feature/resources_pt-PT.json +1 -1
  497. package/dist/solutions-components/assets/t9n/create-feature/resources_ro.json +1 -1
  498. package/dist/solutions-components/assets/t9n/create-feature/resources_ru.json +1 -1
  499. package/dist/solutions-components/assets/t9n/create-feature/resources_sk.json +1 -1
  500. package/dist/solutions-components/assets/t9n/create-feature/resources_sl.json +1 -1
  501. package/dist/solutions-components/assets/t9n/create-feature/resources_sr.json +1 -1
  502. package/dist/solutions-components/assets/t9n/create-feature/resources_sv.json +1 -1
  503. package/dist/solutions-components/assets/t9n/create-feature/resources_th.json +1 -1
  504. package/dist/solutions-components/assets/t9n/create-feature/resources_tr.json +1 -1
  505. package/dist/solutions-components/assets/t9n/create-feature/resources_uk.json +1 -1
  506. package/dist/solutions-components/assets/t9n/create-feature/resources_vi.json +1 -1
  507. package/dist/solutions-components/assets/t9n/create-feature/resources_zh-CN.json +1 -1
  508. package/dist/solutions-components/assets/t9n/create-feature/resources_zh-HK.json +1 -1
  509. package/dist/solutions-components/assets/t9n/create-feature/resources_zh-TW.json +1 -1
  510. package/dist/solutions-components/assets/t9n/create-related-feature/resources_no.json +3 -0
  511. package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_ar.json +4 -1
  512. package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_bg.json +4 -1
  513. package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_bs.json +4 -1
  514. package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_ca.json +4 -1
  515. package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_cs.json +4 -1
  516. package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_da.json +4 -1
  517. package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_de.json +4 -1
  518. package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_el.json +4 -1
  519. package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_es.json +4 -1
  520. package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_et.json +4 -1
  521. package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_fi.json +4 -1
  522. package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_fr.json +4 -1
  523. package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_he.json +4 -1
  524. package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_hr.json +4 -1
  525. package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_hu.json +4 -1
  526. package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_id.json +4 -1
  527. package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_it.json +4 -1
  528. package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_ja.json +4 -1
  529. package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_ko.json +4 -1
  530. package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_lt.json +4 -1
  531. package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_lv.json +4 -1
  532. package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_nb.json +4 -1
  533. package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_nl.json +4 -1
  534. package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_no.json +15 -0
  535. package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_pl.json +4 -1
  536. package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_pt-BR.json +4 -1
  537. package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_pt-PT.json +4 -1
  538. package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_ro.json +4 -1
  539. package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_ru.json +4 -1
  540. package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_sk.json +4 -1
  541. package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_sl.json +4 -1
  542. package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_sr.json +4 -1
  543. package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_sv.json +4 -1
  544. package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_th.json +4 -1
  545. package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_tr.json +4 -1
  546. package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_uk.json +4 -1
  547. package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_vi.json +4 -1
  548. package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_zh-CN.json +4 -1
  549. package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_zh-HK.json +4 -1
  550. package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_zh-TW.json +4 -1
  551. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_ar.json +2 -1
  552. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_bg.json +2 -1
  553. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_bs.json +2 -1
  554. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_ca.json +2 -1
  555. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_cs.json +2 -1
  556. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_da.json +2 -1
  557. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_de.json +2 -1
  558. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_el.json +2 -1
  559. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_es.json +2 -1
  560. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_et.json +2 -1
  561. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_fi.json +2 -1
  562. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_fr.json +2 -1
  563. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_he.json +2 -1
  564. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_hr.json +2 -1
  565. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_hu.json +2 -1
  566. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_id.json +2 -1
  567. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_it.json +2 -1
  568. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_ja.json +2 -1
  569. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_ko.json +2 -1
  570. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_lt.json +2 -1
  571. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_lv.json +2 -1
  572. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_nb.json +2 -1
  573. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_nl.json +2 -1
  574. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_no.json +32 -0
  575. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_pl.json +2 -1
  576. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_pt-BR.json +2 -1
  577. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_pt-PT.json +2 -1
  578. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_ro.json +2 -1
  579. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_ru.json +2 -1
  580. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_sk.json +2 -1
  581. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_sl.json +2 -1
  582. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_sr.json +2 -1
  583. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_sv.json +2 -1
  584. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_th.json +2 -1
  585. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_tr.json +2 -1
  586. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_uk.json +2 -1
  587. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_vi.json +2 -1
  588. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_zh-CN.json +2 -1
  589. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_zh-HK.json +2 -1
  590. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_zh-TW.json +2 -1
  591. package/dist/solutions-components/assets/t9n/delete-button/resources_no.json +8 -0
  592. package/dist/solutions-components/assets/t9n/edit-card/resources_no.json +3 -0
  593. package/dist/solutions-components/assets/t9n/feature-list/resources_no.json +8 -0
  594. package/dist/solutions-components/assets/t9n/info-card/resources_no.json +10 -0
  595. package/dist/solutions-components/assets/t9n/layer-list/resources_no.json +4 -0
  596. package/dist/solutions-components/assets/t9n/layer-table/resources_no.json +22 -0
  597. package/dist/solutions-components/assets/t9n/map-card/resources_no.json +10 -0
  598. package/dist/solutions-components/assets/t9n/map-draw-tools/resources_no.json +5 -0
  599. package/dist/solutions-components/assets/t9n/map-layer-picker/resources_no.json +5 -0
  600. package/dist/solutions-components/assets/t9n/map-picker/resources_no.json +3 -0
  601. package/dist/solutions-components/assets/t9n/map-search/resources_no.json +3 -0
  602. package/dist/solutions-components/assets/t9n/map-select-tools/resources_no.json +16 -0
  603. package/dist/solutions-components/assets/t9n/map-tools/resources_no.json +10 -0
  604. package/dist/solutions-components/assets/t9n/pdf-download/resources_no.json +3 -0
  605. package/dist/solutions-components/assets/t9n/public-notification/resources_no.json +44 -0
  606. package/dist/solutions-components/assets/t9n/refine-selection/resources_no.json +9 -0
  607. package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_ar.json +1 -1
  608. package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_bg.json +1 -1
  609. package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_bs.json +1 -1
  610. package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_ca.json +1 -1
  611. package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_cs.json +1 -1
  612. package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_da.json +1 -1
  613. package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_de.json +1 -1
  614. package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_el.json +1 -1
  615. package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_es.json +1 -1
  616. package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_et.json +1 -1
  617. package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_fi.json +1 -1
  618. package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_fr.json +1 -1
  619. package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_he.json +1 -1
  620. package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_hr.json +1 -1
  621. package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_hu.json +1 -1
  622. package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_id.json +1 -1
  623. package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_it.json +1 -1
  624. package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_ja.json +1 -1
  625. package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_ko.json +1 -1
  626. package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_lt.json +1 -1
  627. package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_lv.json +1 -1
  628. package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_nb.json +1 -1
  629. package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_nl.json +1 -1
  630. package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_no.json +3 -0
  631. package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_pl.json +1 -1
  632. package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_pt-BR.json +1 -1
  633. package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_pt-PT.json +1 -1
  634. package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_ro.json +1 -1
  635. package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_ru.json +1 -1
  636. package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_sk.json +1 -1
  637. package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_sl.json +1 -1
  638. package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_sr.json +1 -1
  639. package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_sv.json +1 -1
  640. package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_th.json +1 -1
  641. package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_tr.json +1 -1
  642. package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_uk.json +1 -1
  643. package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_vi.json +1 -1
  644. package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_zh-CN.json +1 -1
  645. package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_zh-HK.json +1 -1
  646. package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_zh-TW.json +1 -1
  647. package/dist/solutions-components/demos/crowdsource-manager.html +6 -2
  648. package/dist/solutions-components/demos/crowdsource-reporter.html +2 -0
  649. package/dist/solutions-components/p-09041307.entry.js +6 -0
  650. package/dist/solutions-components/p-1ac20964.entry.js +6 -0
  651. package/dist/solutions-components/p-541eb93a.entry.js +6 -0
  652. package/dist/solutions-components/p-6d20da19.entry.js +6 -0
  653. package/dist/solutions-components/p-7e233b70.entry.js +6 -0
  654. package/dist/solutions-components/p-892b42be.entry.js +6 -0
  655. package/dist/solutions-components/p-9161beb0.entry.js +6 -0
  656. package/dist/solutions-components/p-decfd5fc.entry.js +6 -0
  657. package/dist/solutions-components/p-eba271dd.entry.js +6 -0
  658. package/dist/solutions-components/solutions-components.esm.js +1 -1
  659. package/dist/solutions-components/vendor/calcite-components/24XPU7PW.js +4 -0
  660. package/dist/solutions-components/vendor/calcite-components/26HZKUXD.js +4 -0
  661. package/dist/solutions-components/vendor/calcite-components/2DZDH5PW.js +4 -0
  662. package/dist/solutions-components/vendor/calcite-components/2E4H4XCR.js +5 -0
  663. package/dist/solutions-components/vendor/calcite-components/2FEK4CRN.js +4 -0
  664. package/dist/solutions-components/vendor/calcite-components/2JG564MO.js +4 -0
  665. package/dist/solutions-components/vendor/calcite-components/2Q4UEB7G.js +4 -0
  666. package/dist/solutions-components/vendor/calcite-components/2RPVHRRK.js +4 -0
  667. package/dist/solutions-components/vendor/calcite-components/2UCHSNWA.js +4 -0
  668. package/dist/solutions-components/vendor/calcite-components/36XNABTH.js +5 -0
  669. package/dist/solutions-components/vendor/calcite-components/3AQ2GZOJ.js +4 -0
  670. package/dist/solutions-components/vendor/calcite-components/3BLAL4BM.js +4 -0
  671. package/dist/solutions-components/vendor/calcite-components/3FMVZYYJ.js +4 -0
  672. package/dist/solutions-components/vendor/calcite-components/3H4RHBLC.js +4 -0
  673. package/dist/solutions-components/vendor/calcite-components/3HPRXYKG.js +4 -0
  674. package/dist/solutions-components/vendor/calcite-components/3NQ3MF4Y.js +4 -0
  675. package/dist/solutions-components/vendor/calcite-components/3QYPPYKC.js +4 -0
  676. package/dist/solutions-components/vendor/calcite-components/3SN4BPNU.js +4 -0
  677. package/dist/solutions-components/vendor/calcite-components/3TSDVYMK.js +4 -0
  678. package/dist/solutions-components/vendor/calcite-components/44IELQRN.js +4 -0
  679. package/dist/solutions-components/vendor/calcite-components/4EXGV2JM.js +4 -0
  680. package/dist/solutions-components/vendor/calcite-components/4FFNZW2T.js +4 -0
  681. package/dist/solutions-components/vendor/calcite-components/4IAN6EPQ.js +4 -0
  682. package/dist/solutions-components/vendor/calcite-components/4LP6XZGU.js +4 -0
  683. package/dist/solutions-components/vendor/calcite-components/5F57XCO4.js +4 -0
  684. package/dist/solutions-components/vendor/calcite-components/5GKGAQME.js +4 -0
  685. package/dist/solutions-components/vendor/calcite-components/5IDYJYNO.js +4 -0
  686. package/dist/solutions-components/vendor/calcite-components/5NCQFUYM.js +4 -0
  687. package/dist/solutions-components/vendor/calcite-components/5URVZAO7.js +4 -0
  688. package/dist/solutions-components/vendor/calcite-components/5VK4UUOT.js +4 -0
  689. package/dist/solutions-components/vendor/calcite-components/675BA2OJ.js +4 -0
  690. package/dist/solutions-components/vendor/calcite-components/6BYBFB5X.js +4 -0
  691. package/dist/solutions-components/vendor/calcite-components/6GYLT3HR.js +4 -0
  692. package/dist/solutions-components/vendor/calcite-components/6HR6FZG5.js +4 -0
  693. package/dist/solutions-components/vendor/calcite-components/6MXVP647.js +4 -0
  694. package/dist/solutions-components/vendor/calcite-components/6ZVC3UDX.js +4 -0
  695. package/dist/solutions-components/vendor/calcite-components/7DCX244D.js +4 -0
  696. package/dist/solutions-components/vendor/calcite-components/7IVGC34Z.js +4 -0
  697. package/dist/solutions-components/vendor/calcite-components/7MWKFHAB.js +4 -0
  698. package/dist/solutions-components/vendor/calcite-components/7XHO3OGL.js +4 -0
  699. package/dist/solutions-components/vendor/calcite-components/7ZKEYSIK.js +4 -0
  700. package/dist/solutions-components/vendor/calcite-components/A55GXE4D.js +4 -0
  701. package/dist/solutions-components/vendor/calcite-components/ANPPDEZT.js +4 -0
  702. package/dist/solutions-components/vendor/calcite-components/AQU64FML.js +4 -0
  703. package/dist/solutions-components/vendor/calcite-components/BWIN7F7V.js +4 -0
  704. package/dist/solutions-components/vendor/calcite-components/CMPWL5OR.js +4 -0
  705. package/dist/solutions-components/vendor/calcite-components/D2RJ2NDD.js +4 -0
  706. package/dist/solutions-components/vendor/calcite-components/D7XRLD6B.js +4 -0
  707. package/dist/solutions-components/vendor/calcite-components/DARUTTL6.js +4 -0
  708. package/dist/solutions-components/vendor/calcite-components/DQUWVHQ4.js +4 -0
  709. package/dist/solutions-components/vendor/calcite-components/DS66T4UB.js +4 -0
  710. package/dist/solutions-components/vendor/calcite-components/DTEXOHOC.js +4 -0
  711. package/dist/solutions-components/vendor/calcite-components/DWP35FP5.js +4 -0
  712. package/dist/solutions-components/vendor/calcite-components/E4V4WLG3.js +4 -0
  713. package/dist/solutions-components/vendor/calcite-components/E7BZN4HI.js +4 -0
  714. package/dist/solutions-components/vendor/calcite-components/E7L45EZX.js +4 -0
  715. package/dist/solutions-components/vendor/calcite-components/EAA5CDC7.js +4 -0
  716. package/dist/solutions-components/vendor/calcite-components/EBQYZOJE.js +4 -0
  717. package/dist/solutions-components/vendor/calcite-components/EEY7KS7V.js +4 -0
  718. package/dist/solutions-components/vendor/calcite-components/EF4LF7JA.js +4 -0
  719. package/dist/solutions-components/vendor/calcite-components/EG3KFCKT.js +4 -0
  720. package/dist/solutions-components/vendor/calcite-components/EIKWAET5.js +4 -0
  721. package/dist/solutions-components/vendor/calcite-components/ELQHGUUQ.js +4 -0
  722. package/dist/solutions-components/vendor/calcite-components/ERSOIATK.js +4 -0
  723. package/dist/solutions-components/vendor/calcite-components/EV222TOH.js +4 -0
  724. package/dist/solutions-components/vendor/calcite-components/FBYOJ4XP.js +4 -0
  725. package/dist/solutions-components/vendor/calcite-components/FD23ZJ5M.js +4 -0
  726. package/dist/solutions-components/vendor/calcite-components/FKRFYIK4.js +4 -0
  727. package/dist/solutions-components/vendor/calcite-components/FMQW5CPG.js +4 -0
  728. package/dist/solutions-components/vendor/calcite-components/FO5IP7GC.js +4 -0
  729. package/dist/solutions-components/vendor/calcite-components/FT75A5FT.js +4 -0
  730. package/dist/solutions-components/vendor/calcite-components/FXQZQREX.js +4 -0
  731. package/dist/solutions-components/vendor/calcite-components/FYRRB4YU.js +4 -0
  732. package/dist/solutions-components/vendor/calcite-components/G4WSCO7F.js +4 -0
  733. package/dist/solutions-components/vendor/calcite-components/G5LIFWLC.js +4 -0
  734. package/dist/solutions-components/vendor/calcite-components/GCYW34DH.js +4 -0
  735. package/dist/solutions-components/vendor/calcite-components/GD4KAPIS.js +4 -0
  736. package/dist/solutions-components/vendor/calcite-components/GM2DDQTV.js +4 -0
  737. package/dist/solutions-components/vendor/calcite-components/GO2WSYWK.js +4 -0
  738. package/dist/solutions-components/vendor/calcite-components/GPCQIKHB.js +4 -0
  739. package/dist/solutions-components/vendor/calcite-components/GWFN65PG.js +4 -0
  740. package/dist/solutions-components/vendor/calcite-components/GYIYX666.js +4 -0
  741. package/dist/solutions-components/vendor/calcite-components/H373LLT7.js +4 -0
  742. package/dist/solutions-components/vendor/calcite-components/HANIGQEU.js +4 -0
  743. package/dist/solutions-components/vendor/calcite-components/HBWBBKTZ.js +4 -0
  744. package/dist/solutions-components/vendor/calcite-components/HPQH2IQI.js +4 -0
  745. package/dist/solutions-components/vendor/calcite-components/HVFHWDZS.js +4 -0
  746. package/dist/solutions-components/vendor/calcite-components/HZ2CJF4H.js +4 -0
  747. package/dist/solutions-components/vendor/calcite-components/ICQDC5MP.js +4 -0
  748. package/dist/solutions-components/vendor/calcite-components/IUPHPQ5W.js +4 -0
  749. package/dist/solutions-components/vendor/calcite-components/JDC4CCNQ.js +4 -0
  750. package/dist/solutions-components/vendor/calcite-components/JG5U4L3H.js +4 -0
  751. package/dist/solutions-components/vendor/calcite-components/JIZ3ZUNT.js +4 -0
  752. package/dist/solutions-components/vendor/calcite-components/JLOMSYFQ.js +4 -0
  753. package/dist/solutions-components/vendor/calcite-components/JLTNOBGF.js +4 -0
  754. package/dist/solutions-components/vendor/calcite-components/JN54BWVD.js +4 -0
  755. package/dist/solutions-components/vendor/calcite-components/JN6GQD32.js +4 -0
  756. package/dist/solutions-components/vendor/calcite-components/JPISN7UU.js +4 -0
  757. package/dist/solutions-components/vendor/calcite-components/JUAKRLPE.js +4 -0
  758. package/dist/solutions-components/vendor/calcite-components/JWG3XWKS.js +4 -0
  759. package/dist/solutions-components/vendor/calcite-components/JXO6Q6PC.js +4 -0
  760. package/dist/solutions-components/vendor/calcite-components/JZGJVQKB.js +4 -0
  761. package/dist/solutions-components/vendor/calcite-components/K6ALYIOD.js +4 -0
  762. package/dist/solutions-components/vendor/calcite-components/KDJM5H4R.js +4 -0
  763. package/dist/solutions-components/vendor/calcite-components/KHJ3WR7G.js +4 -0
  764. package/dist/solutions-components/vendor/calcite-components/KKIWAHJ5.js +4 -0
  765. package/dist/solutions-components/vendor/calcite-components/KTBWW64D.js +4 -0
  766. package/dist/solutions-components/vendor/calcite-components/KU2O6B36.js +4 -0
  767. package/dist/solutions-components/vendor/calcite-components/KVUPM4TA.js +4 -0
  768. package/dist/solutions-components/vendor/calcite-components/KX7ZCSRX.js +4 -0
  769. package/dist/solutions-components/vendor/calcite-components/L23DZQI6.js +4 -0
  770. package/dist/solutions-components/vendor/calcite-components/L2A3CRIP.js +4 -0
  771. package/dist/solutions-components/vendor/calcite-components/L37A2ISQ.js +4 -0
  772. package/dist/solutions-components/vendor/calcite-components/LAVRP2RO.js +4 -0
  773. package/dist/solutions-components/vendor/calcite-components/LKSA6W5F.js +4 -0
  774. package/dist/solutions-components/vendor/calcite-components/LL7Q6H5L.js +4 -0
  775. package/dist/solutions-components/vendor/calcite-components/LM2XVEJC.js +4 -0
  776. package/dist/solutions-components/vendor/calcite-components/LRGSGD6G.js +4 -0
  777. package/dist/solutions-components/vendor/calcite-components/LSIQC7QO.js +4 -0
  778. package/dist/solutions-components/vendor/calcite-components/LX3BNN2R.js +4 -0
  779. package/dist/solutions-components/vendor/calcite-components/M25GARCS.js +4 -0
  780. package/dist/solutions-components/vendor/calcite-components/M4GN65AZ.js +4 -0
  781. package/dist/solutions-components/vendor/calcite-components/MDFZXOFP.js +5 -0
  782. package/dist/solutions-components/vendor/calcite-components/MIBXI2CI.js +4 -0
  783. package/dist/solutions-components/vendor/calcite-components/MRFLH6RW.js +4 -0
  784. package/dist/solutions-components/vendor/calcite-components/MUSZ6RWB.js +4 -0
  785. package/dist/solutions-components/vendor/calcite-components/MX5EJ4DJ.js +4 -0
  786. package/dist/solutions-components/vendor/calcite-components/MX7YVZ2Z.js +4 -0
  787. package/dist/solutions-components/vendor/calcite-components/MYZF2YXM.js +4 -0
  788. package/dist/solutions-components/vendor/calcite-components/N65J4BH6.js +4 -0
  789. package/dist/solutions-components/vendor/calcite-components/N7POKTYM.js +4 -0
  790. package/dist/solutions-components/vendor/calcite-components/NGWZQ4DF.js +4 -0
  791. package/dist/solutions-components/vendor/calcite-components/NH5KER32.js +4 -0
  792. package/dist/solutions-components/vendor/calcite-components/NIUCAKLC.js +4 -0
  793. package/dist/solutions-components/vendor/calcite-components/NJILTUYU.js +4 -0
  794. package/dist/solutions-components/vendor/calcite-components/NNB7RMSP.js +4 -0
  795. package/dist/solutions-components/vendor/calcite-components/NP5LTTOS.js +4 -0
  796. package/dist/solutions-components/vendor/calcite-components/NU3PWREF.js +4 -0
  797. package/dist/solutions-components/vendor/calcite-components/NZDSRTUF.js +4 -0
  798. package/dist/solutions-components/vendor/calcite-components/O4LXC5MV.js +4 -0
  799. package/dist/solutions-components/vendor/calcite-components/OJGLTFDQ.js +4 -0
  800. package/dist/solutions-components/vendor/calcite-components/OM2SDJA4.js +4 -0
  801. package/dist/solutions-components/vendor/calcite-components/OY3RU7OI.js +4 -0
  802. package/dist/solutions-components/vendor/calcite-components/P7LZIGH7.js +4 -0
  803. package/dist/solutions-components/vendor/calcite-components/PF4XEEY5.js +4 -0
  804. package/dist/solutions-components/vendor/calcite-components/PODUJS2H.js +4 -0
  805. package/dist/solutions-components/vendor/calcite-components/PTGDUPKQ.js +4 -0
  806. package/dist/solutions-components/vendor/calcite-components/PULE4IG4.js +4 -0
  807. package/dist/solutions-components/vendor/calcite-components/PYAEZBTT.js +4 -0
  808. package/dist/solutions-components/vendor/calcite-components/Q4DBJLCB.js +4 -0
  809. package/dist/solutions-components/vendor/calcite-components/Q5CP47UX.js +4 -0
  810. package/dist/solutions-components/vendor/calcite-components/QBKTBLGQ.js +4 -0
  811. package/dist/solutions-components/vendor/calcite-components/QBQA4E7G.js +4 -0
  812. package/dist/solutions-components/vendor/calcite-components/QETLRCQW.js +4 -0
  813. package/dist/solutions-components/vendor/calcite-components/QQDFER4A.js +4 -0
  814. package/dist/solutions-components/vendor/calcite-components/QUUN5YJ3.js +4 -0
  815. package/dist/solutions-components/vendor/calcite-components/RAGSXTXM.js +4 -0
  816. package/dist/solutions-components/vendor/calcite-components/RCSWE64T.js +4 -0
  817. package/dist/solutions-components/vendor/calcite-components/REFBGNGF.js +4 -0
  818. package/dist/solutions-components/vendor/calcite-components/RJMOC4XG.js +4 -0
  819. package/dist/solutions-components/vendor/calcite-components/RLL47KJQ.js +4 -0
  820. package/dist/solutions-components/vendor/calcite-components/RNT7J5MG.js +4 -0
  821. package/dist/solutions-components/vendor/calcite-components/RPYN5IF2.js +4 -0
  822. package/dist/solutions-components/vendor/calcite-components/RRML3L24.js +4 -0
  823. package/dist/solutions-components/vendor/calcite-components/RRVJ5QUL.js +4 -0
  824. package/dist/solutions-components/vendor/calcite-components/RZO7PXBY.js +4 -0
  825. package/dist/solutions-components/vendor/calcite-components/SHIRLQTM.js +4 -0
  826. package/dist/solutions-components/vendor/calcite-components/SKNFNI3G.js +4 -0
  827. package/dist/solutions-components/vendor/calcite-components/SYRJFWC5.js +4 -0
  828. package/dist/solutions-components/vendor/calcite-components/T3GBBB3W.js +4 -0
  829. package/dist/solutions-components/vendor/calcite-components/TQ427GJX.js +6 -0
  830. package/dist/solutions-components/vendor/calcite-components/TRWHGTOM.js +4 -0
  831. package/dist/solutions-components/vendor/calcite-components/TTYJV2AA.js +4 -0
  832. package/dist/solutions-components/vendor/calcite-components/TWJJYAQX.js +4 -0
  833. package/dist/solutions-components/vendor/calcite-components/U34FMDPO.js +4 -0
  834. package/dist/solutions-components/vendor/calcite-components/UEMF24J4.js +4 -0
  835. package/dist/solutions-components/vendor/calcite-components/UIX5KJAH.js +4 -0
  836. package/dist/solutions-components/vendor/calcite-components/UK4MHTX3.js +4 -0
  837. package/dist/solutions-components/vendor/calcite-components/UMC66FPD.js +4 -0
  838. package/dist/solutions-components/vendor/calcite-components/UOWQEKZ5.js +4 -0
  839. package/dist/solutions-components/vendor/calcite-components/UTQXVQSW.js +4 -0
  840. package/dist/solutions-components/vendor/calcite-components/UZXKQDX5.js +4 -0
  841. package/dist/solutions-components/vendor/calcite-components/VB5TESRK.js +4 -0
  842. package/dist/solutions-components/vendor/calcite-components/VHJ3N6C3.js +4 -0
  843. package/dist/solutions-components/vendor/calcite-components/VY7WVWHH.js +4 -0
  844. package/dist/solutions-components/vendor/calcite-components/W34LH35I.js +4 -0
  845. package/dist/solutions-components/vendor/calcite-components/W5SJYIG6.js +4 -0
  846. package/dist/solutions-components/vendor/calcite-components/W7LKQZLC.js +4 -0
  847. package/dist/solutions-components/vendor/calcite-components/WA5XUN7A.js +4 -0
  848. package/dist/solutions-components/vendor/calcite-components/WEMPP7QH.js +4 -0
  849. package/dist/solutions-components/vendor/calcite-components/WK57IMVA.js +4 -0
  850. package/dist/solutions-components/vendor/calcite-components/WUO5GRAC.js +5 -0
  851. package/dist/solutions-components/vendor/calcite-components/WVYNOISK.js +4 -0
  852. package/dist/solutions-components/vendor/calcite-components/X3DSV2RP.js +4 -0
  853. package/dist/solutions-components/vendor/calcite-components/X533PSPQ.js +4 -0
  854. package/dist/solutions-components/vendor/calcite-components/XCP7OFYG.js +4 -0
  855. package/dist/solutions-components/vendor/calcite-components/XHSJC65M.js +22 -0
  856. package/dist/solutions-components/vendor/calcite-components/XNYI7YNV.js +4 -0
  857. package/dist/solutions-components/vendor/calcite-components/XOXXCOFR.js +4 -0
  858. package/dist/solutions-components/vendor/calcite-components/XWL453TD.js +4 -0
  859. package/dist/solutions-components/vendor/calcite-components/XZCNA3MO.js +4 -0
  860. package/dist/solutions-components/vendor/calcite-components/XZIEBVH3.js +4 -0
  861. package/dist/solutions-components/vendor/calcite-components/Y2RMF5RD.js +4 -0
  862. package/dist/solutions-components/vendor/calcite-components/Y5K6MWVI.js +4 -0
  863. package/dist/solutions-components/vendor/calcite-components/Y73JSF6U.js +4 -0
  864. package/dist/solutions-components/vendor/calcite-components/YDHV53C4.js +4 -0
  865. package/dist/solutions-components/vendor/calcite-components/YFD73VVO.js +4 -0
  866. package/dist/solutions-components/vendor/calcite-components/YGSOHLPD.js +4 -0
  867. package/dist/solutions-components/vendor/calcite-components/YLRKAY6P.js +4 -0
  868. package/dist/solutions-components/vendor/calcite-components/YMGAVFBF.js +4 -0
  869. package/dist/solutions-components/vendor/calcite-components/YORUNTUJ.js +4 -0
  870. package/dist/solutions-components/vendor/calcite-components/YQW2HZIZ.js +4 -0
  871. package/dist/solutions-components/vendor/calcite-components/YU4QMLUK.js +4 -0
  872. package/dist/solutions-components/vendor/calcite-components/Z5W27AI4.js +4 -0
  873. package/dist/solutions-components/vendor/calcite-components/ZB7BTUGE.js +4 -0
  874. package/dist/solutions-components/vendor/calcite-components/ZBMTRW4F.js +4 -0
  875. package/dist/solutions-components/vendor/calcite-components/ZGKKQBVA.js +4 -0
  876. package/dist/solutions-components/vendor/calcite-components/ZH3CXIUL.js +4 -0
  877. package/dist/solutions-components/vendor/calcite-components/ZIFGJROL.js +4 -0
  878. package/dist/solutions-components/vendor/calcite-components/ZL7RFBBU.js +28 -0
  879. package/dist/solutions-components/vendor/calcite-components/ZLP5NNFX.js +4 -0
  880. package/dist/solutions-components/vendor/calcite-components/ZQRVWYDH.js +4 -0
  881. package/dist/solutions-components/vendor/calcite-components/assets/icon/hammerCoin16.json +1 -0
  882. package/dist/solutions-components/vendor/calcite-components/assets/icon/hammerCoin24.json +1 -0
  883. package/dist/solutions-components/vendor/calcite-components/assets/icon/hammerCoin32.json +1 -0
  884. package/dist/solutions-components/vendor/calcite-components/assets/icon/hammerLock16.json +1 -0
  885. package/dist/solutions-components/vendor/calcite-components/assets/icon/hammerLock24.json +1 -0
  886. package/dist/solutions-components/vendor/calcite-components/assets/icon/hammerLock32.json +1 -0
  887. package/dist/solutions-components/vendor/calcite-components/calcite.esm.js +2 -2
  888. package/dist/solutions-components_commit.txt +6 -6
  889. package/dist/types/components/crowdsource-reporter/crowdsource-reporter.d.ts +42 -1
  890. package/dist/types/components/feature-list/feature-list.d.ts +20 -0
  891. package/dist/types/components/layer-list/layer-list.d.ts +27 -0
  892. package/dist/types/components.d.ts +32 -0
  893. package/package.json +3 -3
  894. package/dist/collection/vendor/calcite-components/2BGOXXHV.js +0 -4
  895. package/dist/collection/vendor/calcite-components/2EBGD5ZQ.js +0 -4
  896. package/dist/collection/vendor/calcite-components/2HEEVITF.js +0 -4
  897. package/dist/collection/vendor/calcite-components/2QBRISAS.js +0 -4
  898. package/dist/collection/vendor/calcite-components/2SKIGCTJ.js +0 -4
  899. package/dist/collection/vendor/calcite-components/2ZPEMPPG.js +0 -4
  900. package/dist/collection/vendor/calcite-components/36DTW2EC.js +0 -4
  901. package/dist/collection/vendor/calcite-components/36E6CTNX.js +0 -4
  902. package/dist/collection/vendor/calcite-components/36HITQ3A.js +0 -4
  903. package/dist/collection/vendor/calcite-components/3FJPBCHI.js +0 -4
  904. package/dist/collection/vendor/calcite-components/3TINKPLC.js +0 -4
  905. package/dist/collection/vendor/calcite-components/3TXD2SW4.js +0 -4
  906. package/dist/collection/vendor/calcite-components/43C4CZJO.js +0 -4
  907. package/dist/collection/vendor/calcite-components/44DZGTF5.js +0 -4
  908. package/dist/collection/vendor/calcite-components/4IWRJJPT.js +0 -4
  909. package/dist/collection/vendor/calcite-components/4L6L5YMT.js +0 -4
  910. package/dist/collection/vendor/calcite-components/4NZHY4FQ.js +0 -4
  911. package/dist/collection/vendor/calcite-components/4OSJHPNQ.js +0 -4
  912. package/dist/collection/vendor/calcite-components/4ZNEZOAP.js +0 -4
  913. package/dist/collection/vendor/calcite-components/4ZTXEQT4.js +0 -4
  914. package/dist/collection/vendor/calcite-components/57U74PDQ.js +0 -4
  915. package/dist/collection/vendor/calcite-components/5BEKT6RT.js +0 -4
  916. package/dist/collection/vendor/calcite-components/5JAMHCQS.js +0 -6
  917. package/dist/collection/vendor/calcite-components/5UP5TQJN.js +0 -4
  918. package/dist/collection/vendor/calcite-components/5VK77MGP.js +0 -4
  919. package/dist/collection/vendor/calcite-components/5ZFIOILW.js +0 -4
  920. package/dist/collection/vendor/calcite-components/62G23PKY.js +0 -4
  921. package/dist/collection/vendor/calcite-components/6A464LBG.js +0 -4
  922. package/dist/collection/vendor/calcite-components/6KXUZBIZ.js +0 -4
  923. package/dist/collection/vendor/calcite-components/6OCJIDQZ.js +0 -4
  924. package/dist/collection/vendor/calcite-components/6PBZNCIY.js +0 -4
  925. package/dist/collection/vendor/calcite-components/6SREDGMN.js +0 -4
  926. package/dist/collection/vendor/calcite-components/73K4GSAV.js +0 -4
  927. package/dist/collection/vendor/calcite-components/757M5TSP.js +0 -5
  928. package/dist/collection/vendor/calcite-components/7F6EUEAO.js +0 -4
  929. package/dist/collection/vendor/calcite-components/7GOGBJPD.js +0 -4
  930. package/dist/collection/vendor/calcite-components/7PLD33LH.js +0 -4
  931. package/dist/collection/vendor/calcite-components/7TNMI44V.js +0 -4
  932. package/dist/collection/vendor/calcite-components/7VZFYJY5.js +0 -4
  933. package/dist/collection/vendor/calcite-components/7XZR3QPX.js +0 -4
  934. package/dist/collection/vendor/calcite-components/A3M4FM7N.js +0 -4
  935. package/dist/collection/vendor/calcite-components/A5WZ32T6.js +0 -4
  936. package/dist/collection/vendor/calcite-components/A6H6UTO7.js +0 -4
  937. package/dist/collection/vendor/calcite-components/AA6WUYLQ.js +0 -4
  938. package/dist/collection/vendor/calcite-components/ADRZSXZD.js +0 -4
  939. package/dist/collection/vendor/calcite-components/AKXBPGJ4.js +0 -4
  940. package/dist/collection/vendor/calcite-components/ALGCYGFE.js +0 -4
  941. package/dist/collection/vendor/calcite-components/B3YKMJGM.js +0 -4
  942. package/dist/collection/vendor/calcite-components/B6DZ4O5H.js +0 -4
  943. package/dist/collection/vendor/calcite-components/B747CT5Q.js +0 -5
  944. package/dist/collection/vendor/calcite-components/BAHKYVUM.js +0 -4
  945. package/dist/collection/vendor/calcite-components/BTHSKXWS.js +0 -4
  946. package/dist/collection/vendor/calcite-components/BWCV737I.js +0 -4
  947. package/dist/collection/vendor/calcite-components/BZV465ZG.js +0 -4
  948. package/dist/collection/vendor/calcite-components/C4A2PCZ4.js +0 -4
  949. package/dist/collection/vendor/calcite-components/C5MKAGNV.js +0 -4
  950. package/dist/collection/vendor/calcite-components/CK3TASCY.js +0 -4
  951. package/dist/collection/vendor/calcite-components/D2MINRBA.js +0 -4
  952. package/dist/collection/vendor/calcite-components/DDOM5RYZ.js +0 -4
  953. package/dist/collection/vendor/calcite-components/DJ4JGNMM.js +0 -4
  954. package/dist/collection/vendor/calcite-components/DL75ZJBG.js +0 -4
  955. package/dist/collection/vendor/calcite-components/DO4RITGJ.js +0 -4
  956. package/dist/collection/vendor/calcite-components/DSL2FNLA.js +0 -4
  957. package/dist/collection/vendor/calcite-components/DTEHSI7W.js +0 -4
  958. package/dist/collection/vendor/calcite-components/DUTPXINY.js +0 -4
  959. package/dist/collection/vendor/calcite-components/DY22I2GZ.js +0 -4
  960. package/dist/collection/vendor/calcite-components/DYN74HSB.js +0 -4
  961. package/dist/collection/vendor/calcite-components/E3CWAGXE.js +0 -4
  962. package/dist/collection/vendor/calcite-components/E3QBKOQQ.js +0 -4
  963. package/dist/collection/vendor/calcite-components/EBFZRB3A.js +0 -4
  964. package/dist/collection/vendor/calcite-components/ECGXAEDQ.js +0 -4
  965. package/dist/collection/vendor/calcite-components/EGC7NBN5.js +0 -4
  966. package/dist/collection/vendor/calcite-components/EILXZAAH.js +0 -4
  967. package/dist/collection/vendor/calcite-components/EISHHIYI.js +0 -4
  968. package/dist/collection/vendor/calcite-components/EN6Y5YN5.js +0 -4
  969. package/dist/collection/vendor/calcite-components/ERDL4UCD.js +0 -4
  970. package/dist/collection/vendor/calcite-components/EYPFBUR7.js +0 -4
  971. package/dist/collection/vendor/calcite-components/F6DYUGAJ.js +0 -4
  972. package/dist/collection/vendor/calcite-components/FAQ7B73H.js +0 -4
  973. package/dist/collection/vendor/calcite-components/FAULLEJY.js +0 -4
  974. package/dist/collection/vendor/calcite-components/FH7G4JPL.js +0 -28
  975. package/dist/collection/vendor/calcite-components/FHAH57CK.js +0 -4
  976. package/dist/collection/vendor/calcite-components/FHGZNYTT.js +0 -4
  977. package/dist/collection/vendor/calcite-components/FLXOWNYW.js +0 -4
  978. package/dist/collection/vendor/calcite-components/FVABUFOH.js +0 -4
  979. package/dist/collection/vendor/calcite-components/G2JF63JV.js +0 -4
  980. package/dist/collection/vendor/calcite-components/G63OZT6W.js +0 -4
  981. package/dist/collection/vendor/calcite-components/GESC7PRY.js +0 -4
  982. package/dist/collection/vendor/calcite-components/GIAH7CPN.js +0 -4
  983. package/dist/collection/vendor/calcite-components/GNZIY4A2.js +0 -4
  984. package/dist/collection/vendor/calcite-components/GPNKRGK6.js +0 -4
  985. package/dist/collection/vendor/calcite-components/GSUR5POR.js +0 -4
  986. package/dist/collection/vendor/calcite-components/GY22257T.js +0 -4
  987. package/dist/collection/vendor/calcite-components/H2PEX7CU.js +0 -4
  988. package/dist/collection/vendor/calcite-components/H2UMFA24.js +0 -4
  989. package/dist/collection/vendor/calcite-components/H7D6N2ZS.js +0 -4
  990. package/dist/collection/vendor/calcite-components/HALAA7KD.js +0 -4
  991. package/dist/collection/vendor/calcite-components/HHC7VSD3.js +0 -4
  992. package/dist/collection/vendor/calcite-components/HNGJKPNS.js +0 -4
  993. package/dist/collection/vendor/calcite-components/HQLH54Q4.js +0 -4
  994. package/dist/collection/vendor/calcite-components/HZLG5SUR.js +0 -4
  995. package/dist/collection/vendor/calcite-components/HZUKYZNP.js +0 -4
  996. package/dist/collection/vendor/calcite-components/IHBCPOXF.js +0 -4
  997. package/dist/collection/vendor/calcite-components/IIERNP6W.js +0 -4
  998. package/dist/collection/vendor/calcite-components/ILJVRQHM.js +0 -4
  999. package/dist/collection/vendor/calcite-components/IQTGVLQG.js +0 -4
  1000. package/dist/collection/vendor/calcite-components/IRW4MFB4.js +0 -4
  1001. package/dist/collection/vendor/calcite-components/J4KGM5S7.js +0 -5
  1002. package/dist/collection/vendor/calcite-components/JCQBVDTR.js +0 -4
  1003. package/dist/collection/vendor/calcite-components/JCZIZMKQ.js +0 -4
  1004. package/dist/collection/vendor/calcite-components/JE5DGAJR.js +0 -4
  1005. package/dist/collection/vendor/calcite-components/JL7OLH3T.js +0 -4
  1006. package/dist/collection/vendor/calcite-components/JTWLPIB2.js +0 -4
  1007. package/dist/collection/vendor/calcite-components/K53JENHF.js +0 -4
  1008. package/dist/collection/vendor/calcite-components/K5ODBKLP.js +0 -4
  1009. package/dist/collection/vendor/calcite-components/KC4IYMUL.js +0 -4
  1010. package/dist/collection/vendor/calcite-components/KE7WVOAV.js +0 -4
  1011. package/dist/collection/vendor/calcite-components/KGJ4OJVP.js +0 -4
  1012. package/dist/collection/vendor/calcite-components/KI2CJ7JL.js +0 -4
  1013. package/dist/collection/vendor/calcite-components/KNE7ABCR.js +0 -4
  1014. package/dist/collection/vendor/calcite-components/KOFGYSC5.js +0 -4
  1015. package/dist/collection/vendor/calcite-components/KOH6G4XV.js +0 -4
  1016. package/dist/collection/vendor/calcite-components/KRO7CG2Q.js +0 -4
  1017. package/dist/collection/vendor/calcite-components/KRZW2DWF.js +0 -4
  1018. package/dist/collection/vendor/calcite-components/KSFXKRML.js +0 -4
  1019. package/dist/collection/vendor/calcite-components/KTJZCONU.js +0 -4
  1020. package/dist/collection/vendor/calcite-components/KXJRCIPX.js +0 -4
  1021. package/dist/collection/vendor/calcite-components/L5DK3NJQ.js +0 -4
  1022. package/dist/collection/vendor/calcite-components/LEAJPPH4.js +0 -4
  1023. package/dist/collection/vendor/calcite-components/LKNGKUUT.js +0 -4
  1024. package/dist/collection/vendor/calcite-components/LLYFYC3S.js +0 -4
  1025. package/dist/collection/vendor/calcite-components/LLYVXFI4.js +0 -4
  1026. package/dist/collection/vendor/calcite-components/LMPMNF4U.js +0 -4
  1027. package/dist/collection/vendor/calcite-components/LNUDHR7T.js +0 -4
  1028. package/dist/collection/vendor/calcite-components/LRXQU7WR.js +0 -4
  1029. package/dist/collection/vendor/calcite-components/MDS5OEJ4.js +0 -4
  1030. package/dist/collection/vendor/calcite-components/MEXPAXRW.js +0 -4
  1031. package/dist/collection/vendor/calcite-components/MI3K57KT.js +0 -4
  1032. package/dist/collection/vendor/calcite-components/MIOMFK6B.js +0 -4
  1033. package/dist/collection/vendor/calcite-components/MJII73PP.js +0 -4
  1034. package/dist/collection/vendor/calcite-components/MJIKLRLZ.js +0 -4
  1035. package/dist/collection/vendor/calcite-components/MQSDYLGW.js +0 -4
  1036. package/dist/collection/vendor/calcite-components/MWJLXQ5U.js +0 -4
  1037. package/dist/collection/vendor/calcite-components/N2PDJVSE.js +0 -4
  1038. package/dist/collection/vendor/calcite-components/NERFG233.js +0 -4
  1039. package/dist/collection/vendor/calcite-components/NIUBMFXO.js +0 -4
  1040. package/dist/collection/vendor/calcite-components/NK25FAZ6.js +0 -4
  1041. package/dist/collection/vendor/calcite-components/NK4ED4IH.js +0 -5
  1042. package/dist/collection/vendor/calcite-components/NOJTDKA6.js +0 -4
  1043. package/dist/collection/vendor/calcite-components/NUY7EYNX.js +0 -4
  1044. package/dist/collection/vendor/calcite-components/NWA7UYBI.js +0 -4
  1045. package/dist/collection/vendor/calcite-components/NWNWCSUO.js +0 -4
  1046. package/dist/collection/vendor/calcite-components/NYJ2KJKN.js +0 -4
  1047. package/dist/collection/vendor/calcite-components/O6RKIBH2.js +0 -4
  1048. package/dist/collection/vendor/calcite-components/OP2QHRHR.js +0 -4
  1049. package/dist/collection/vendor/calcite-components/P5ZVYEQW.js +0 -4
  1050. package/dist/collection/vendor/calcite-components/P6BFNJVU.js +0 -4
  1051. package/dist/collection/vendor/calcite-components/P6VB45CQ.js +0 -4
  1052. package/dist/collection/vendor/calcite-components/PNTWJB75.js +0 -4
  1053. package/dist/collection/vendor/calcite-components/PTUZR2XV.js +0 -4
  1054. package/dist/collection/vendor/calcite-components/QBNHVQWS.js +0 -4
  1055. package/dist/collection/vendor/calcite-components/QD6WQCPN.js +0 -4
  1056. package/dist/collection/vendor/calcite-components/QEBXFL3K.js +0 -4
  1057. package/dist/collection/vendor/calcite-components/QNRLRRZZ.js +0 -4
  1058. package/dist/collection/vendor/calcite-components/QTGKBVAW.js +0 -4
  1059. package/dist/collection/vendor/calcite-components/QVLHSABE.js +0 -4
  1060. package/dist/collection/vendor/calcite-components/RATZT6K7.js +0 -4
  1061. package/dist/collection/vendor/calcite-components/RAWIO5CJ.js +0 -4
  1062. package/dist/collection/vendor/calcite-components/RC4M4Q6U.js +0 -4
  1063. package/dist/collection/vendor/calcite-components/ROTKUEC4.js +0 -4
  1064. package/dist/collection/vendor/calcite-components/RRR3UCDP.js +0 -4
  1065. package/dist/collection/vendor/calcite-components/RXJQR5VC.js +0 -4
  1066. package/dist/collection/vendor/calcite-components/RYBJ6HQX.js +0 -4
  1067. package/dist/collection/vendor/calcite-components/S2CHZ5WW.js +0 -4
  1068. package/dist/collection/vendor/calcite-components/S5QILLXK.js +0 -4
  1069. package/dist/collection/vendor/calcite-components/S5WUGWLI.js +0 -4
  1070. package/dist/collection/vendor/calcite-components/SLILJOTA.js +0 -4
  1071. package/dist/collection/vendor/calcite-components/SZIQPAWB.js +0 -4
  1072. package/dist/collection/vendor/calcite-components/T2EFD7MK.js +0 -4
  1073. package/dist/collection/vendor/calcite-components/TJ6U6Y2A.js +0 -4
  1074. package/dist/collection/vendor/calcite-components/TRXE64SN.js +0 -4
  1075. package/dist/collection/vendor/calcite-components/TVXUNVVJ.js +0 -4
  1076. package/dist/collection/vendor/calcite-components/TZPOTIWO.js +0 -4
  1077. package/dist/collection/vendor/calcite-components/UKOMGWYV.js +0 -4
  1078. package/dist/collection/vendor/calcite-components/ULI2WHN6.js +0 -4
  1079. package/dist/collection/vendor/calcite-components/UPO2OA2C.js +0 -4
  1080. package/dist/collection/vendor/calcite-components/V7QQRUYR.js +0 -4
  1081. package/dist/collection/vendor/calcite-components/VA6SEF3H.js +0 -4
  1082. package/dist/collection/vendor/calcite-components/VCGYS6AC.js +0 -4
  1083. package/dist/collection/vendor/calcite-components/VHIVTMYL.js +0 -22
  1084. package/dist/collection/vendor/calcite-components/VIFJTMJE.js +0 -4
  1085. package/dist/collection/vendor/calcite-components/VKUXTBMA.js +0 -4
  1086. package/dist/collection/vendor/calcite-components/VYBRMYZA.js +0 -4
  1087. package/dist/collection/vendor/calcite-components/VYSYUSUT.js +0 -4
  1088. package/dist/collection/vendor/calcite-components/WHQERKO3.js +0 -4
  1089. package/dist/collection/vendor/calcite-components/WLKZ6TCC.js +0 -4
  1090. package/dist/collection/vendor/calcite-components/WRRV2226.js +0 -4
  1091. package/dist/collection/vendor/calcite-components/X5OT5VWP.js +0 -4
  1092. package/dist/collection/vendor/calcite-components/X7WD2RXW.js +0 -4
  1093. package/dist/collection/vendor/calcite-components/XGGCYCLU.js +0 -4
  1094. package/dist/collection/vendor/calcite-components/XJUGTTYP.js +0 -4
  1095. package/dist/collection/vendor/calcite-components/XK6ESUWM.js +0 -4
  1096. package/dist/collection/vendor/calcite-components/XODNGXTR.js +0 -4
  1097. package/dist/collection/vendor/calcite-components/XP22SQKN.js +0 -4
  1098. package/dist/collection/vendor/calcite-components/XUCLKKAR.js +0 -4
  1099. package/dist/collection/vendor/calcite-components/XWO5T62V.js +0 -4
  1100. package/dist/collection/vendor/calcite-components/XY7DR573.js +0 -4
  1101. package/dist/collection/vendor/calcite-components/Y4WWNYQO.js +0 -4
  1102. package/dist/collection/vendor/calcite-components/YF3UCGCR.js +0 -4
  1103. package/dist/collection/vendor/calcite-components/YH3WSHXS.js +0 -4
  1104. package/dist/collection/vendor/calcite-components/YOI4NTGG.js +0 -4
  1105. package/dist/collection/vendor/calcite-components/YP2GEKXK.js +0 -4
  1106. package/dist/collection/vendor/calcite-components/YQDF2N5J.js +0 -4
  1107. package/dist/collection/vendor/calcite-components/YRCGG4BE.js +0 -4
  1108. package/dist/collection/vendor/calcite-components/YTSHEMU3.js +0 -4
  1109. package/dist/collection/vendor/calcite-components/YUQIXR5A.js +0 -4
  1110. package/dist/collection/vendor/calcite-components/ZAY3SU5H.js +0 -4
  1111. package/dist/collection/vendor/calcite-components/ZFGK5MNZ.js +0 -4
  1112. package/dist/collection/vendor/calcite-components/ZITAONDY.js +0 -4
  1113. package/dist/collection/vendor/calcite-components/ZLW5U3G6.js +0 -4
  1114. package/dist/collection/vendor/calcite-components/ZNMXPSOQ.js +0 -4
  1115. package/dist/collection/vendor/calcite-components/ZSLV2NNR.js +0 -4
  1116. package/dist/solutions-components/p-00ec642f.entry.js +0 -6
  1117. package/dist/solutions-components/p-02c4e6fc.entry.js +0 -6
  1118. package/dist/solutions-components/p-2460cf10.entry.js +0 -6
  1119. package/dist/solutions-components/p-5a202f3f.entry.js +0 -6
  1120. package/dist/solutions-components/p-7251848d.entry.js +0 -6
  1121. package/dist/solutions-components/p-8859b622.entry.js +0 -6
  1122. package/dist/solutions-components/p-de42e8b2.entry.js +0 -6
  1123. package/dist/solutions-components/p-ea566af0.entry.js +0 -6
  1124. package/dist/solutions-components/p-eb3c867f.entry.js +0 -6
  1125. package/dist/solutions-components/vendor/calcite-components/2BGOXXHV.js +0 -4
  1126. package/dist/solutions-components/vendor/calcite-components/2EBGD5ZQ.js +0 -4
  1127. package/dist/solutions-components/vendor/calcite-components/2HEEVITF.js +0 -4
  1128. package/dist/solutions-components/vendor/calcite-components/2QBRISAS.js +0 -4
  1129. package/dist/solutions-components/vendor/calcite-components/2SKIGCTJ.js +0 -4
  1130. package/dist/solutions-components/vendor/calcite-components/2ZPEMPPG.js +0 -4
  1131. package/dist/solutions-components/vendor/calcite-components/36DTW2EC.js +0 -4
  1132. package/dist/solutions-components/vendor/calcite-components/36E6CTNX.js +0 -4
  1133. package/dist/solutions-components/vendor/calcite-components/36HITQ3A.js +0 -4
  1134. package/dist/solutions-components/vendor/calcite-components/3FJPBCHI.js +0 -4
  1135. package/dist/solutions-components/vendor/calcite-components/3TINKPLC.js +0 -4
  1136. package/dist/solutions-components/vendor/calcite-components/3TXD2SW4.js +0 -4
  1137. package/dist/solutions-components/vendor/calcite-components/43C4CZJO.js +0 -4
  1138. package/dist/solutions-components/vendor/calcite-components/44DZGTF5.js +0 -4
  1139. package/dist/solutions-components/vendor/calcite-components/4IWRJJPT.js +0 -4
  1140. package/dist/solutions-components/vendor/calcite-components/4L6L5YMT.js +0 -4
  1141. package/dist/solutions-components/vendor/calcite-components/4NZHY4FQ.js +0 -4
  1142. package/dist/solutions-components/vendor/calcite-components/4OSJHPNQ.js +0 -4
  1143. package/dist/solutions-components/vendor/calcite-components/4ZNEZOAP.js +0 -4
  1144. package/dist/solutions-components/vendor/calcite-components/4ZTXEQT4.js +0 -4
  1145. package/dist/solutions-components/vendor/calcite-components/57U74PDQ.js +0 -4
  1146. package/dist/solutions-components/vendor/calcite-components/5BEKT6RT.js +0 -4
  1147. package/dist/solutions-components/vendor/calcite-components/5JAMHCQS.js +0 -6
  1148. package/dist/solutions-components/vendor/calcite-components/5UP5TQJN.js +0 -4
  1149. package/dist/solutions-components/vendor/calcite-components/5VK77MGP.js +0 -4
  1150. package/dist/solutions-components/vendor/calcite-components/5ZFIOILW.js +0 -4
  1151. package/dist/solutions-components/vendor/calcite-components/62G23PKY.js +0 -4
  1152. package/dist/solutions-components/vendor/calcite-components/6A464LBG.js +0 -4
  1153. package/dist/solutions-components/vendor/calcite-components/6KXUZBIZ.js +0 -4
  1154. package/dist/solutions-components/vendor/calcite-components/6OCJIDQZ.js +0 -4
  1155. package/dist/solutions-components/vendor/calcite-components/6PBZNCIY.js +0 -4
  1156. package/dist/solutions-components/vendor/calcite-components/6SREDGMN.js +0 -4
  1157. package/dist/solutions-components/vendor/calcite-components/73K4GSAV.js +0 -4
  1158. package/dist/solutions-components/vendor/calcite-components/757M5TSP.js +0 -5
  1159. package/dist/solutions-components/vendor/calcite-components/7F6EUEAO.js +0 -4
  1160. package/dist/solutions-components/vendor/calcite-components/7GOGBJPD.js +0 -4
  1161. package/dist/solutions-components/vendor/calcite-components/7PLD33LH.js +0 -4
  1162. package/dist/solutions-components/vendor/calcite-components/7TNMI44V.js +0 -4
  1163. package/dist/solutions-components/vendor/calcite-components/7VZFYJY5.js +0 -4
  1164. package/dist/solutions-components/vendor/calcite-components/7XZR3QPX.js +0 -4
  1165. package/dist/solutions-components/vendor/calcite-components/A3M4FM7N.js +0 -4
  1166. package/dist/solutions-components/vendor/calcite-components/A5WZ32T6.js +0 -4
  1167. package/dist/solutions-components/vendor/calcite-components/A6H6UTO7.js +0 -4
  1168. package/dist/solutions-components/vendor/calcite-components/AA6WUYLQ.js +0 -4
  1169. package/dist/solutions-components/vendor/calcite-components/ADRZSXZD.js +0 -4
  1170. package/dist/solutions-components/vendor/calcite-components/AKXBPGJ4.js +0 -4
  1171. package/dist/solutions-components/vendor/calcite-components/ALGCYGFE.js +0 -4
  1172. package/dist/solutions-components/vendor/calcite-components/B3YKMJGM.js +0 -4
  1173. package/dist/solutions-components/vendor/calcite-components/B6DZ4O5H.js +0 -4
  1174. package/dist/solutions-components/vendor/calcite-components/B747CT5Q.js +0 -5
  1175. package/dist/solutions-components/vendor/calcite-components/BAHKYVUM.js +0 -4
  1176. package/dist/solutions-components/vendor/calcite-components/BTHSKXWS.js +0 -4
  1177. package/dist/solutions-components/vendor/calcite-components/BWCV737I.js +0 -4
  1178. package/dist/solutions-components/vendor/calcite-components/BZV465ZG.js +0 -4
  1179. package/dist/solutions-components/vendor/calcite-components/C4A2PCZ4.js +0 -4
  1180. package/dist/solutions-components/vendor/calcite-components/C5MKAGNV.js +0 -4
  1181. package/dist/solutions-components/vendor/calcite-components/CK3TASCY.js +0 -4
  1182. package/dist/solutions-components/vendor/calcite-components/D2MINRBA.js +0 -4
  1183. package/dist/solutions-components/vendor/calcite-components/DDOM5RYZ.js +0 -4
  1184. package/dist/solutions-components/vendor/calcite-components/DJ4JGNMM.js +0 -4
  1185. package/dist/solutions-components/vendor/calcite-components/DL75ZJBG.js +0 -4
  1186. package/dist/solutions-components/vendor/calcite-components/DO4RITGJ.js +0 -4
  1187. package/dist/solutions-components/vendor/calcite-components/DSL2FNLA.js +0 -4
  1188. package/dist/solutions-components/vendor/calcite-components/DTEHSI7W.js +0 -4
  1189. package/dist/solutions-components/vendor/calcite-components/DUTPXINY.js +0 -4
  1190. package/dist/solutions-components/vendor/calcite-components/DY22I2GZ.js +0 -4
  1191. package/dist/solutions-components/vendor/calcite-components/DYN74HSB.js +0 -4
  1192. package/dist/solutions-components/vendor/calcite-components/E3CWAGXE.js +0 -4
  1193. package/dist/solutions-components/vendor/calcite-components/E3QBKOQQ.js +0 -4
  1194. package/dist/solutions-components/vendor/calcite-components/EBFZRB3A.js +0 -4
  1195. package/dist/solutions-components/vendor/calcite-components/ECGXAEDQ.js +0 -4
  1196. package/dist/solutions-components/vendor/calcite-components/EGC7NBN5.js +0 -4
  1197. package/dist/solutions-components/vendor/calcite-components/EILXZAAH.js +0 -4
  1198. package/dist/solutions-components/vendor/calcite-components/EISHHIYI.js +0 -4
  1199. package/dist/solutions-components/vendor/calcite-components/EN6Y5YN5.js +0 -4
  1200. package/dist/solutions-components/vendor/calcite-components/ERDL4UCD.js +0 -4
  1201. package/dist/solutions-components/vendor/calcite-components/EYPFBUR7.js +0 -4
  1202. package/dist/solutions-components/vendor/calcite-components/F6DYUGAJ.js +0 -4
  1203. package/dist/solutions-components/vendor/calcite-components/FAQ7B73H.js +0 -4
  1204. package/dist/solutions-components/vendor/calcite-components/FAULLEJY.js +0 -4
  1205. package/dist/solutions-components/vendor/calcite-components/FH7G4JPL.js +0 -28
  1206. package/dist/solutions-components/vendor/calcite-components/FHAH57CK.js +0 -4
  1207. package/dist/solutions-components/vendor/calcite-components/FHGZNYTT.js +0 -4
  1208. package/dist/solutions-components/vendor/calcite-components/FLXOWNYW.js +0 -4
  1209. package/dist/solutions-components/vendor/calcite-components/FVABUFOH.js +0 -4
  1210. package/dist/solutions-components/vendor/calcite-components/G2JF63JV.js +0 -4
  1211. package/dist/solutions-components/vendor/calcite-components/G63OZT6W.js +0 -4
  1212. package/dist/solutions-components/vendor/calcite-components/GESC7PRY.js +0 -4
  1213. package/dist/solutions-components/vendor/calcite-components/GIAH7CPN.js +0 -4
  1214. package/dist/solutions-components/vendor/calcite-components/GNZIY4A2.js +0 -4
  1215. package/dist/solutions-components/vendor/calcite-components/GPNKRGK6.js +0 -4
  1216. package/dist/solutions-components/vendor/calcite-components/GSUR5POR.js +0 -4
  1217. package/dist/solutions-components/vendor/calcite-components/GY22257T.js +0 -4
  1218. package/dist/solutions-components/vendor/calcite-components/H2PEX7CU.js +0 -4
  1219. package/dist/solutions-components/vendor/calcite-components/H2UMFA24.js +0 -4
  1220. package/dist/solutions-components/vendor/calcite-components/H7D6N2ZS.js +0 -4
  1221. package/dist/solutions-components/vendor/calcite-components/HALAA7KD.js +0 -4
  1222. package/dist/solutions-components/vendor/calcite-components/HHC7VSD3.js +0 -4
  1223. package/dist/solutions-components/vendor/calcite-components/HNGJKPNS.js +0 -4
  1224. package/dist/solutions-components/vendor/calcite-components/HQLH54Q4.js +0 -4
  1225. package/dist/solutions-components/vendor/calcite-components/HZLG5SUR.js +0 -4
  1226. package/dist/solutions-components/vendor/calcite-components/HZUKYZNP.js +0 -4
  1227. package/dist/solutions-components/vendor/calcite-components/IHBCPOXF.js +0 -4
  1228. package/dist/solutions-components/vendor/calcite-components/IIERNP6W.js +0 -4
  1229. package/dist/solutions-components/vendor/calcite-components/ILJVRQHM.js +0 -4
  1230. package/dist/solutions-components/vendor/calcite-components/IQTGVLQG.js +0 -4
  1231. package/dist/solutions-components/vendor/calcite-components/IRW4MFB4.js +0 -4
  1232. package/dist/solutions-components/vendor/calcite-components/J4KGM5S7.js +0 -5
  1233. package/dist/solutions-components/vendor/calcite-components/JCQBVDTR.js +0 -4
  1234. package/dist/solutions-components/vendor/calcite-components/JCZIZMKQ.js +0 -4
  1235. package/dist/solutions-components/vendor/calcite-components/JE5DGAJR.js +0 -4
  1236. package/dist/solutions-components/vendor/calcite-components/JL7OLH3T.js +0 -4
  1237. package/dist/solutions-components/vendor/calcite-components/JTWLPIB2.js +0 -4
  1238. package/dist/solutions-components/vendor/calcite-components/K53JENHF.js +0 -4
  1239. package/dist/solutions-components/vendor/calcite-components/K5ODBKLP.js +0 -4
  1240. package/dist/solutions-components/vendor/calcite-components/KC4IYMUL.js +0 -4
  1241. package/dist/solutions-components/vendor/calcite-components/KE7WVOAV.js +0 -4
  1242. package/dist/solutions-components/vendor/calcite-components/KGJ4OJVP.js +0 -4
  1243. package/dist/solutions-components/vendor/calcite-components/KI2CJ7JL.js +0 -4
  1244. package/dist/solutions-components/vendor/calcite-components/KNE7ABCR.js +0 -4
  1245. package/dist/solutions-components/vendor/calcite-components/KOFGYSC5.js +0 -4
  1246. package/dist/solutions-components/vendor/calcite-components/KOH6G4XV.js +0 -4
  1247. package/dist/solutions-components/vendor/calcite-components/KRO7CG2Q.js +0 -4
  1248. package/dist/solutions-components/vendor/calcite-components/KRZW2DWF.js +0 -4
  1249. package/dist/solutions-components/vendor/calcite-components/KSFXKRML.js +0 -4
  1250. package/dist/solutions-components/vendor/calcite-components/KTJZCONU.js +0 -4
  1251. package/dist/solutions-components/vendor/calcite-components/KXJRCIPX.js +0 -4
  1252. package/dist/solutions-components/vendor/calcite-components/L5DK3NJQ.js +0 -4
  1253. package/dist/solutions-components/vendor/calcite-components/LEAJPPH4.js +0 -4
  1254. package/dist/solutions-components/vendor/calcite-components/LKNGKUUT.js +0 -4
  1255. package/dist/solutions-components/vendor/calcite-components/LLYFYC3S.js +0 -4
  1256. package/dist/solutions-components/vendor/calcite-components/LLYVXFI4.js +0 -4
  1257. package/dist/solutions-components/vendor/calcite-components/LMPMNF4U.js +0 -4
  1258. package/dist/solutions-components/vendor/calcite-components/LNUDHR7T.js +0 -4
  1259. package/dist/solutions-components/vendor/calcite-components/LRXQU7WR.js +0 -4
  1260. package/dist/solutions-components/vendor/calcite-components/MDS5OEJ4.js +0 -4
  1261. package/dist/solutions-components/vendor/calcite-components/MEXPAXRW.js +0 -4
  1262. package/dist/solutions-components/vendor/calcite-components/MI3K57KT.js +0 -4
  1263. package/dist/solutions-components/vendor/calcite-components/MIOMFK6B.js +0 -4
  1264. package/dist/solutions-components/vendor/calcite-components/MJII73PP.js +0 -4
  1265. package/dist/solutions-components/vendor/calcite-components/MJIKLRLZ.js +0 -4
  1266. package/dist/solutions-components/vendor/calcite-components/MQSDYLGW.js +0 -4
  1267. package/dist/solutions-components/vendor/calcite-components/MWJLXQ5U.js +0 -4
  1268. package/dist/solutions-components/vendor/calcite-components/N2PDJVSE.js +0 -4
  1269. package/dist/solutions-components/vendor/calcite-components/NERFG233.js +0 -4
  1270. package/dist/solutions-components/vendor/calcite-components/NIUBMFXO.js +0 -4
  1271. package/dist/solutions-components/vendor/calcite-components/NK25FAZ6.js +0 -4
  1272. package/dist/solutions-components/vendor/calcite-components/NK4ED4IH.js +0 -5
  1273. package/dist/solutions-components/vendor/calcite-components/NOJTDKA6.js +0 -4
  1274. package/dist/solutions-components/vendor/calcite-components/NUY7EYNX.js +0 -4
  1275. package/dist/solutions-components/vendor/calcite-components/NWA7UYBI.js +0 -4
  1276. package/dist/solutions-components/vendor/calcite-components/NWNWCSUO.js +0 -4
  1277. package/dist/solutions-components/vendor/calcite-components/NYJ2KJKN.js +0 -4
  1278. package/dist/solutions-components/vendor/calcite-components/O6RKIBH2.js +0 -4
  1279. package/dist/solutions-components/vendor/calcite-components/OP2QHRHR.js +0 -4
  1280. package/dist/solutions-components/vendor/calcite-components/P5ZVYEQW.js +0 -4
  1281. package/dist/solutions-components/vendor/calcite-components/P6BFNJVU.js +0 -4
  1282. package/dist/solutions-components/vendor/calcite-components/P6VB45CQ.js +0 -4
  1283. package/dist/solutions-components/vendor/calcite-components/PNTWJB75.js +0 -4
  1284. package/dist/solutions-components/vendor/calcite-components/PTUZR2XV.js +0 -4
  1285. package/dist/solutions-components/vendor/calcite-components/QBNHVQWS.js +0 -4
  1286. package/dist/solutions-components/vendor/calcite-components/QD6WQCPN.js +0 -4
  1287. package/dist/solutions-components/vendor/calcite-components/QEBXFL3K.js +0 -4
  1288. package/dist/solutions-components/vendor/calcite-components/QNRLRRZZ.js +0 -4
  1289. package/dist/solutions-components/vendor/calcite-components/QTGKBVAW.js +0 -4
  1290. package/dist/solutions-components/vendor/calcite-components/QVLHSABE.js +0 -4
  1291. package/dist/solutions-components/vendor/calcite-components/RATZT6K7.js +0 -4
  1292. package/dist/solutions-components/vendor/calcite-components/RAWIO5CJ.js +0 -4
  1293. package/dist/solutions-components/vendor/calcite-components/RC4M4Q6U.js +0 -4
  1294. package/dist/solutions-components/vendor/calcite-components/ROTKUEC4.js +0 -4
  1295. package/dist/solutions-components/vendor/calcite-components/RRR3UCDP.js +0 -4
  1296. package/dist/solutions-components/vendor/calcite-components/RXJQR5VC.js +0 -4
  1297. package/dist/solutions-components/vendor/calcite-components/RYBJ6HQX.js +0 -4
  1298. package/dist/solutions-components/vendor/calcite-components/S2CHZ5WW.js +0 -4
  1299. package/dist/solutions-components/vendor/calcite-components/S5QILLXK.js +0 -4
  1300. package/dist/solutions-components/vendor/calcite-components/S5WUGWLI.js +0 -4
  1301. package/dist/solutions-components/vendor/calcite-components/SLILJOTA.js +0 -4
  1302. package/dist/solutions-components/vendor/calcite-components/SZIQPAWB.js +0 -4
  1303. package/dist/solutions-components/vendor/calcite-components/T2EFD7MK.js +0 -4
  1304. package/dist/solutions-components/vendor/calcite-components/TJ6U6Y2A.js +0 -4
  1305. package/dist/solutions-components/vendor/calcite-components/TRXE64SN.js +0 -4
  1306. package/dist/solutions-components/vendor/calcite-components/TVXUNVVJ.js +0 -4
  1307. package/dist/solutions-components/vendor/calcite-components/TZPOTIWO.js +0 -4
  1308. package/dist/solutions-components/vendor/calcite-components/UKOMGWYV.js +0 -4
  1309. package/dist/solutions-components/vendor/calcite-components/ULI2WHN6.js +0 -4
  1310. package/dist/solutions-components/vendor/calcite-components/UPO2OA2C.js +0 -4
  1311. package/dist/solutions-components/vendor/calcite-components/V7QQRUYR.js +0 -4
  1312. package/dist/solutions-components/vendor/calcite-components/VA6SEF3H.js +0 -4
  1313. package/dist/solutions-components/vendor/calcite-components/VCGYS6AC.js +0 -4
  1314. package/dist/solutions-components/vendor/calcite-components/VHIVTMYL.js +0 -22
  1315. package/dist/solutions-components/vendor/calcite-components/VIFJTMJE.js +0 -4
  1316. package/dist/solutions-components/vendor/calcite-components/VKUXTBMA.js +0 -4
  1317. package/dist/solutions-components/vendor/calcite-components/VYBRMYZA.js +0 -4
  1318. package/dist/solutions-components/vendor/calcite-components/VYSYUSUT.js +0 -4
  1319. package/dist/solutions-components/vendor/calcite-components/WHQERKO3.js +0 -4
  1320. package/dist/solutions-components/vendor/calcite-components/WLKZ6TCC.js +0 -4
  1321. package/dist/solutions-components/vendor/calcite-components/WRRV2226.js +0 -4
  1322. package/dist/solutions-components/vendor/calcite-components/X5OT5VWP.js +0 -4
  1323. package/dist/solutions-components/vendor/calcite-components/X7WD2RXW.js +0 -4
  1324. package/dist/solutions-components/vendor/calcite-components/XGGCYCLU.js +0 -4
  1325. package/dist/solutions-components/vendor/calcite-components/XJUGTTYP.js +0 -4
  1326. package/dist/solutions-components/vendor/calcite-components/XK6ESUWM.js +0 -4
  1327. package/dist/solutions-components/vendor/calcite-components/XODNGXTR.js +0 -4
  1328. package/dist/solutions-components/vendor/calcite-components/XP22SQKN.js +0 -4
  1329. package/dist/solutions-components/vendor/calcite-components/XUCLKKAR.js +0 -4
  1330. package/dist/solutions-components/vendor/calcite-components/XWO5T62V.js +0 -4
  1331. package/dist/solutions-components/vendor/calcite-components/XY7DR573.js +0 -4
  1332. package/dist/solutions-components/vendor/calcite-components/Y4WWNYQO.js +0 -4
  1333. package/dist/solutions-components/vendor/calcite-components/YF3UCGCR.js +0 -4
  1334. package/dist/solutions-components/vendor/calcite-components/YH3WSHXS.js +0 -4
  1335. package/dist/solutions-components/vendor/calcite-components/YOI4NTGG.js +0 -4
  1336. package/dist/solutions-components/vendor/calcite-components/YP2GEKXK.js +0 -4
  1337. package/dist/solutions-components/vendor/calcite-components/YQDF2N5J.js +0 -4
  1338. package/dist/solutions-components/vendor/calcite-components/YRCGG4BE.js +0 -4
  1339. package/dist/solutions-components/vendor/calcite-components/YTSHEMU3.js +0 -4
  1340. package/dist/solutions-components/vendor/calcite-components/YUQIXR5A.js +0 -4
  1341. package/dist/solutions-components/vendor/calcite-components/ZAY3SU5H.js +0 -4
  1342. package/dist/solutions-components/vendor/calcite-components/ZFGK5MNZ.js +0 -4
  1343. package/dist/solutions-components/vendor/calcite-components/ZITAONDY.js +0 -4
  1344. package/dist/solutions-components/vendor/calcite-components/ZLW5U3G6.js +0 -4
  1345. package/dist/solutions-components/vendor/calcite-components/ZNMXPSOQ.js +0 -4
  1346. package/dist/solutions-components/vendor/calcite-components/ZSLV2NNR.js +0 -4
@@ -1,4 +0,0 @@
1
- /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
- See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
- v3.0.0-next.111 */
4
- import{b as n,c as v}from"./757M5TSP.js";import{a as k,b as g}from"./36DTW2EC.js";import{b as u}from"./P5ZVYEQW.js";import{e as b,l as m}from"./WHQERKO3.js";import{b as f}from"./G63OZT6W.js";import"./2BGOXXHV.js";import{A as d,B as h,I as p,d as l,e as o,v as r,w as c,y as e}from"./5JAMHCQS.js";var R=l`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:inline}:host a,:host span{position:relative;display:flex;cursor:pointer;align-items:center;justify-content:center;border-radius:0;border-style:none;font-family:inherit;text-decoration:none;line-height:inherit;font-size:inherit;-webkit-appearance:none;transition-property: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,background-size;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out}:host a:hover,:host span:hover{text-decoration:none}:host a,:host span{outline-color:transparent}:host a:focus,:host span:focus{outline:2px solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}calcite-icon{inline-size:1em;block-size:1em;min-inline-size:unset;min-block-size:unset}.calcite-link--icon{vertical-align:middle;margin-block-start:-.25em}:host .calcite-link--icon.icon-start{margin-inline-end:.5rem}:host .calcite-link--icon.icon-end{margin-inline-start:.5rem}:host span,:host a{position:relative;display:inline;border-style:none;background-color:transparent;padding:0;color:var(--calcite-link-text-color, var(--calcite-color-text-link));line-height:inherit;white-space:initial;background-image:linear-gradient(currentColor,currentColor),linear-gradient(var(--calcite-color-brand-underline),var(--calcite-color-brand-underline));background-position-x:0%,100%;background-position-y:min(1.5em,100%);background-repeat:no-repeat,no-repeat;background-size:0% 1px,100% 1px}:host span:hover,:host span:focus,:host a:hover,:host a:focus{background-size:100% 1px,100% 1px}:host span:active,:host a:active{background-size:100% 2px,100% 2px}:host span.calcite--rtl,:host a.calcite--rtl{background-position:100% 100%,100% 100%}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([hidden]){display:none}[hidden]{display:none}`,a=class extends r{constructor(){super(),this.disabled=!1,this.download=!1,this.listen("click",this.clickHandler)}static{this.properties={disabled:7,download:[3,{converter:d}],href:3,iconEnd:3,iconFlipRtl:3,iconStart:3,rel:1,target:1}}static{this.styles=R}async setFocus(){await f(this),m(this.childEl)}load(){}updated(){k(this)}loaded(){}clickHandler(i){this.disabled||i.isTrusted||this.childEl.click()}childElClickHandler(i){i.isTrusted||i.stopPropagation()}storeTagRef(i){this.childEl=i}render(){let{download:i,el:y}=this,x=b(y),t=this.href?"a":"span",$=o`<calcite-icon class="calcite-link--icon icon-start" .flipRtl=${this.iconFlipRtl==="start"||this.iconFlipRtl==="both"} .icon=${this.iconStart} scale=s></calcite-icon>`,z=o`<calcite-icon class="calcite-link--icon icon-end" .flipRtl=${this.iconFlipRtl==="end"||this.iconFlipRtl==="both"} .icon=${this.iconEnd} scale=s></calcite-icon>`,s=t==="span"?n`span`:n`a`,w=t==="span"?"link":null,E=t==="span"?0:null;return this.el.role="presentation",g({disabled:this.disabled,children:v`<${s} class=${c({[h.rtl]:x==="rtl"})} download=${(t==="a"?i===!0||i===""?"":i||null:null)??e} href=${(t==="a"&&this.href)??e} @click=${this.childElClickHandler} rel=${(t==="a"&&this.rel)??e} .role=${w} tabindex=${E??e} target=${(t==="a"&&this.target)??e} ${u(this.storeTagRef)}>${o`${this.iconStart?$:null}<slot></slot>${this.iconEnd?z:null}`}</${s}>`})}};p("calcite-link",a);export{a as Link};
@@ -1,4 +0,0 @@
1
- /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
- See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
- v3.0.0-next.111 */
4
- import{a as g,b as y}from"./36DTW2EC.js";import{a}from"./JCZIZMKQ.js";import{a as f}from"./XY7DR573.js";import"./XGGCYCLU.js";import{a as T}from"./4OSJHPNQ.js";import{a as C,b as d}from"./P5ZVYEQW.js";import{z as c}from"./WHQERKO3.js";import"./2BGOXXHV.js";import{I as R,d as w,e as s,j as p,u as r,v as u,w as m}from"./5JAMHCQS.js";var v={lastVisibleRow:"last-visible-row"},S=w`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{--calcite-internal-table-row-background: var(--calcite-table-row-background, var(--calcite-color-foreground-1));--calcite-internal-table-row-border-color: var(--calcite-table-row-border-color, transparent);display:contents}:host([hidden]){display:none}[hidden]{display:none}:host([disabled]) tr{pointer-events:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}tr{border-block-end:1px solid var(--calcite-internal-table-row-border-color);background-color:var(--calcite-internal-table-row-background)}tr.last-visible-row{border-block-end:0}:host([item-hidden]){display:none}`,h=class extends u{constructor(){super(),this.rowCells=[],this.tableRowSlotEl=C(),this.itemHidden=!1,this.disabled=!1,this.interactionMode="interactive",this.numbered=!1,this.selected=!1,this.selectionMode="none",this.calciteInternalTableRowFocusRequest=r({cancelable:!1}),this.calciteInternalTableRowSelect=r({cancelable:!1}),this.calciteTableRowSelect=r({cancelable:!1}),this.handleSelectionOfRow=()=>{(this.rowType==="body"||this.rowType==="head"&&this.selectionMode==="multiple")&&this.calciteTableRowSelect.emit()},this.handleKeyboardSelection=e=>{T(e.key)&&(e.key===" "&&e.preventDefault(),this.handleSelectionOfRow())},this.listenOn(document,"calciteInternalTableRowFocusChange",this.calciteInternalTableRowFocusChangeHandler)}static{this.properties={alignment:3,itemHidden:7,bodyRowCount:9,cellCount:9,disabled:7,interactionMode:1,lastVisibleRow:5,numbered:5,positionAll:9,positionSection:9,positionSectionLocalized:1,readCellContentsToAT:5,rowType:1,scale:1,selected:7,selectedRowCount:9,selectedRowCountLocalized:1,selectionMode:1}}static{this.styles=S}load(){this.listenOn(this.el.shadowRoot,"slotchange",this.handleSlotChange)}willUpdate(e){(e.has("bodyRowCount")||e.has("scale")||e.has("selected")&&(this.hasUpdated||this.selected!==!1)||e.has("selectedRowCount")||e.has("interactionMode")&&(this.hasUpdated||this.interactionMode!=="interactive"))&&this.handleCellChanges(),(e.has("numbered")&&(this.hasUpdated||this.numbered!==!1)||e.has("selectionMode")&&(this.hasUpdated||this.selectionMode!=="none"))&&this.handleDelayedCellChanges(),e.has("selected")&&this.calciteInternalTableRowSelect.emit()}updated(){g(this)}loaded(){this.tableRowEl&&this.rowCells.length>0&&this.updateCells()}handleSlotChange(){this.updateCells()}handleCellChanges(){this.tableRowEl&&this.rowCells.length>0&&this.updateCells()}handleDelayedCellChanges(){this.tableRowEl&&this.rowCells.length>0&&requestAnimationFrame(()=>this.updateCells())}calciteInternalTableRowFocusChangeHandler(e){if(e.target.contains(this.el)){let l=e.detail.cellPosition,o=e.detail.rowPosition,i=e.detail.destination,t=e.detail.lastCell;if(o===this.positionAll){if(this.disabled){let b=i==="last"?"previous":i==="first"?"next":i;this.emitTableRowFocusRequest(l,this.positionAll,b);return}let n=t?this.rowCells[this.rowCells.length-1]:this.rowCells?.find((b,$)=>$+1===l);n&&n.setFocus()}}}keyDownHandler(e){if(this.interactionMode!=="interactive")return;let l=e.target,o=e.key,i=e.ctrlKey,t=this.rowCells;if(l.matches("calcite-table-cell")||l.matches("calcite-table-header"))switch(o){case"ArrowUp":this.emitTableRowFocusRequest(l.positionInRow,this.positionAll,"previous"),e.preventDefault();break;case"ArrowDown":this.emitTableRowFocusRequest(l.positionInRow,this.positionAll,"next"),e.preventDefault();break;case"PageUp":this.emitTableRowFocusRequest(l.positionInRow,this.positionAll,"first"),e.preventDefault();break;case"PageDown":this.emitTableRowFocusRequest(l.positionInRow,this.positionAll,"last"),e.preventDefault();break;case"ArrowLeft":c(t,l,"previous",!1),e.preventDefault();break;case"ArrowRight":c(t,l,"next",!1),e.preventDefault();break;case"Home":i?(this.emitTableRowFocusRequest(1,this.positionAll,"first"),e.preventDefault()):(c(t,l,"first",!1),e.preventDefault());break;case"End":i?(this.emitTableRowFocusRequest(this.rowCells?.length,this.positionAll,"last",!0),e.preventDefault()):(c(t,l,"last",!1),e.preventDefault());break}}emitTableRowFocusRequest(e,l,o,i){this.calciteInternalTableRowFocusRequest.emit({cellPosition:e,rowPosition:l,destination:o,lastCell:i})}updateCells(){let e=this.alignment?this.alignment:this.rowType!=="head"?"center":"start",l=this.tableRowSlotEl.value?.assignedElements({flatten:!0})?.filter(t=>t.matches("calcite-table-cell")||t.matches("calcite-table-header")),o=Array.from(this.tableRowEl?.querySelectorAll("calcite-table-header, calcite-table-cell"))?.filter(t=>t.numberCell||t.selectionCell),i=o?o.concat(l):l;i.length>0&&i?.forEach((t,n)=>{t.interactionMode=this.interactionMode,t.lastCell=n===i.length-1,t.parentRowAlignment=e,t.parentRowIsSelected=this.selected,t.parentRowType=this.rowType,t.positionInRow=n+1,t.scale=this.scale,t.nodeName==="CALCITE-TABLE-CELL"&&(t.readCellContentsToAT=this.readCellContentsToAT,t.disabled=this.disabled)}),this.rowCells=i||[],this.cellCount=i?.length}renderSelectionIcon(){let e=this.selectionMode==="multiple"&&this.selected?"check-square-f":this.selectionMode==="multiple"?"square":this.selected?"circle-f":"circle";return s`<calcite-icon .icon=${e} .scale=${f(this.scale)}></calcite-icon>`}renderSelectableCell(){return this.rowType==="head"?a("selection-head",s`<calcite-table-header alignment=center .bodyRowCount=${this.bodyRowCount} @click=${this.handleSelectionOfRow} @keydown=${this.handleKeyboardSelection} .parentRowAlignment=${this.alignment} .selectedRowCount=${this.selectedRowCount} .selectedRowCountLocalized=${this.selectedRowCountLocalized} .selectionCell=${!0} .selectionMode=${this.selectionMode}></calcite-table-header>`):this.rowType==="body"?a("selection-body",s`<calcite-table-cell alignment=center @click=${this.handleSelectionOfRow} @keydown=${this.handleKeyboardSelection} .parentRowAlignment=${this.alignment} .parentRowIsSelected=${this.selected} .parentRowPositionLocalized=${this.positionSectionLocalized} .selectionCell=${!0}>${this.renderSelectionIcon()}</calcite-table-cell>`):a("selection-foot",s`<calcite-table-cell alignment=center .parentRowAlignment=${this.alignment} .selectionCell=${!0}></calcite-table-cell>`)}renderNumberedCell(){return this.rowType==="head"?a("numbered-head",s`<calcite-table-header alignment=center .numberCell=${!0} .parentRowAlignment=${this.alignment}></calcite-table-header>`):this.rowType==="body"?a("numbered-body",s`<calcite-table-cell alignment=center .numberCell=${!0} .parentRowAlignment=${this.alignment}>${this.positionSectionLocalized}</calcite-table-cell>`):a("numbered-foot",s`<calcite-table-cell alignment=center .numberCell=${!0} .parentRowAlignment=${this.alignment}></calcite-table-cell>`)}render(){return y({disabled:this.disabled,children:s`<tr .ariaRowIndex=${this.positionAll+1} .ariaSelected=${this.selected} class=${m({[v.lastVisibleRow]:this.lastVisibleRow})} @keydown=${this.keyDownHandler} ${d(e=>{e&&(this.tableRowEl=e,p(s`${this.numbered&&this.renderNumberedCell()||""}${this.selectionMode!=="none"&&this.renderSelectableCell()||""}<slot ${d(this.tableRowSlotEl)}></slot>`,e))})}></tr>`})}};R("calcite-table-row",h);export{h as TableRow};
@@ -1,6 +0,0 @@
1
- /*!
2
- * Copyright 2022 Esri
3
- * Licensed under the Apache License, Version 2.0
4
- * http://www.apache.org/licenses/LICENSE-2.0
5
- */
6
- import{r as t,c as i,g as s,a as e,h as a,H as l}from"./p-e996c38f.js";import{b as o,c as n,a as h}from"./p-80cb7c73.js";import{l as c,g as r}from"./p-404cbf48.js";import{e as d,h as p}from"./p-dcd2f00b.js";import{s as g}from"./p-e6859850.js";import{c as b,r as m}from"./p-db3391b9.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";import"./p-8717729a.js";import"./p-4fe489cf.js";import"./p-2bc98cb0.js";import"./p-4f236b5d.js";import"./p-570b13d9.js";import"./p-0668e30d.js";const u=class{constructor(s){t(this,s),this.searchConfigurationChange=i(this,"searchConfigurationChange",7),this.addresseeLayerIds=[],this.bufferColor=[227,139,79,.8],this.bufferOutlineColor=[255,255,255],this.customLabelEnabled=void 0,this.defaultBufferDistance=void 0,this.defaultBufferUnit=void 0,this.defaultExportTitle="",this.defaultNumLabelsPerPage=6,this.enableLayerFeatures=!0,this.enableLayerFeaturesOnLoad=!1,this.enableSearchDistance=!0,this.enableSearchDistanceOnLoad=!1,this.enableSketchTools=!0,this.featureEffect=void 0,this.featureHighlightEnabled=void 0,this.locale=void 0,this.mapView=void 0,this.noResultText=void 0,this.initialNotice="",this.searchConfiguration=void 0,this.selectionLayerIds=[],this.showRefineSelection=!1,this.showSearchSettings=!0,this.sketchLineSymbol=void 0,this.sketchPointSymbol=void 0,this.sketchPolygonSymbol=void 0,this._exportGraphics=!1,this._addMap=!1,this._addResults=!0,this._addTitle=!1,this._downloadActive=!0,this._exportType=o.PDF,this._fetchingData=!1,this._isMobile=void 0,this._numDuplicates=0,this._pageType=n.LIST,this._saveEnabled=!1,this._selectionSets=[],this._translations=void 0}get el(){return s(this)}_activeSelection;_downloadTools;_geometryEngine;Graphic;_jsonUtils;_onboardingImageUrl="";_popupsEnabled;_removeDuplicates;_searchConfiguration;_selectTools;_mediaQuery;_titleElement;_titleValue=void 0;_numSelected=0;async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}async mapViewWatchHandler(t){t?.popup&&(this._popupsEnabled=t?.popupEnabled),this._initSearchConfiguration(this.searchConfiguration)}async watchSearchConfigurationHandler(t,i){const s=JSON.stringify(t);this.mapView&&(s!==JSON.stringify(i)||s&&!this._searchConfiguration)&&(this._searchConfiguration=JSON.parse(s),this.searchConfigurationChange.emit(this._searchConfiguration),this._home())}async sketchLineSymbolWatchHandler(t,i){t&&JSON.stringify(t)!==JSON.stringify(i)&&this._setLineSymbol(t)}async sketchPointSymbolWatchHandler(t,i){t&&JSON.stringify(t)!==JSON.stringify(i)&&this._setPointSymbol(t)}async sketchPolygonSymbolWatchHandler(t,i){t&&JSON.stringify(t)!==JSON.stringify(i)&&this._setPolygonSymbol(t)}async pageTypeWatchHandler(t,i){if(this._checkPopups(),this.mapView?.popup&&(this.mapView.popupEnabled=t===n.LIST&&this._popupsEnabled),t===n.EXPORT&&(this._fetchingData=!0,this._numDuplicates=await this._getNumDuplicates(),this._updateExportGraphics(),this._fetchingData=!1),this._clearHighlight(),i!==n.SELECT&&i!==n.REFINE||await this._clearSelection(),i===n.EXPORT&&this._removeExportGraphics(),t!==n.SELECT)return this._highlightFeatures()}searchConfigurationChange;selectionSetsChanged(t){this._selectionSets=[...t.detail]}connectedCallback(){this._mediaQuery=window.matchMedia("(max-width: 600px)"),this._mediaQuery.addEventListener("change",(t=>this._setIsMobile(t)))}async componentWillLoad(){await this._getTranslations(),await this._initModules(),this._initSymbols(),this._onboardingImageUrl=e("assets/data/images/onboarding.png")}render(){return a(l,{key:"61ed8da1de1c6780188fb7bd4f69c82036ddf705"},a("calcite-shell",{key:"9eb929b7d27d103a207be34681623ca2e0097ef1"},a("calcite-action-bar",{key:"3c7ad5516fdca78819ebdbdc7c41642c816239ec",class:"border-bottom-1 action-bar-size","expand-disabled":!0,layout:"horizontal",slot:this._isMobile?"footer":"header"},this._getActionGroup("list-check",n.LIST,this._translations.myLists),this.showRefineSelection?this._getActionGroup("test-data",n.REFINE,this._translations.refineSelection):null,this._getActionGroup("export",n.EXPORT,this._translations.export)),this._getPage(this._pageType)))}async componentDidLoad(){this._initSearchConfiguration(this.searchConfiguration)}disconnectedCallback(){this._mediaQuery.removeEventListener("change",(t=>this._setIsMobile(t)))}async _initModules(){const[t,i,s]=await c(["esri/geometry/geometryEngine","esri/symbols/support/jsonUtils","esri/Graphic"]);this._geometryEngine=t,this._jsonUtils=i,this.Graphic=s}_initSearchConfiguration(t){this.searchConfiguration&&!this._searchConfiguration&&this.mapView&&(this._searchConfiguration=t,this.searchConfigurationChange.emit(this._searchConfiguration),this._home())}_initSymbols(){this._setLineSymbol(this.sketchLineSymbol),this._setPointSymbol(this.sketchPointSymbol),this._setPolygonSymbol(this.sketchPolygonSymbol)}_setLineSymbol(t){this.sketchLineSymbol="simple-line"===t?.type?t:this._jsonUtils.fromJSON(t||{type:"esriSLS",color:[130,130,130,255],width:2,style:"esriSLSSolid"})}_setPointSymbol(t){this.sketchPointSymbol="simple-marker"===t?.type?t:this._jsonUtils.fromJSON(t||{type:"esriSMS",color:[255,255,255,255],angle:0,xoffset:0,yoffset:0,size:6,style:"esriSMSCircle",outline:{type:"esriSLS",color:[50,50,50,255],width:1,style:"esriSLSSolid"}})}_setPolygonSymbol(t){this.sketchPolygonSymbol="simple-fill"===t?.type?t:this._jsonUtils.fromJSON(t||{type:"esriSFS",color:[150,150,150,51],outline:{type:"esriSLS",color:[50,50,50,255],width:2,style:"esriSLSSolid"},style:"esriSFSSolid"})}_setIsMobile(t){this._isMobile=t.matches}_getActionGroup(t,i,s){return a("calcite-action-group",{class:this.showRefineSelection?"w-1-3":"w-1-2",layout:"horizontal"},a("div",{class:"background-override"},a("calcite-action",{active:this._pageType===i,alignment:"center",class:"width-full height-full",icon:t,id:t,onClick:()=>{this._setPageType(i)},text:""})),a("calcite-tooltip",{label:"",placement:"bottom","reference-element":t},a("span",null,s)))}_setPageType(t){this._pageType=t}_getPage(t){let i;switch(t){case n.LIST:i=this._getListPage();break;case n.SELECT:i=this._getSelectPage();break;case n.EXPORT:i=this._getExportPage();break;case n.REFINE:i=this._getRefinePage()}return i}_getListPage(){const t=this._hasSelections(),i=t?this._translations.listHasSetsTip:""!==this.initialNotice?this.initialNotice:this._translations.selectLayerAndAdd;return a("calcite-panel",null,this._getLabel(this._translations.myLists),this._getNotice(i,"padding-sides-1 padding-bottom-1","word-wrap-anywhere"),t?this._getSelectionSetList():this._getOnboardingImage(),a("div",{class:"display-flex padding-1"},a("calcite-button",{onClick:()=>{this._setPageType(n.SELECT)},width:"full"},a("span",{class:"font-weight-500"},this._translations.add))))}_getOnboardingImage(){return a("div",{class:"display-flex padding-sides-1"},a("img",{class:"img-container",role:"presentation",src:this._onboardingImageUrl}))}_getSelectionSetList(){return a("div",{class:"padding-top-1-2 padding-bottom-1-2"},a("calcite-list",{class:"list-border margin-sides-1",label:""},this._selectionSets.reduce(((t,i,s)=>{const e=this._getSelectionSetIds(i);let l=!0;return i.workflowType===h.REFINE&&(l=Object.keys(i.refineInfos).reduce(((t,s)=>{const e=i.refineInfos[s];return t+(e.addIds.length+e.removeIds.length)}),0)>0),l&&t.push(a("calcite-list-item",{label:i.label,onClick:()=>this._gotoSelection(i,this.mapView)},a("div",{slot:"content"},a("div",{class:"list-label"},i.label),a("div",{class:"list-description"},i?.layerView?.layer.title),a("div",{class:"list-description"},this._translations.selectedFeatures.replace("{{n}}",e.length.toString()))),this._getAction(!0,"pencil","",(t=>this._openSelection(i,t)),!1,"actions-end"),this._getAction(!0,"x","",(t=>this._deleteSelection(s,t)),!1,"actions-end"))),t}),[])))}_getSelectionSetIds(t){return t.workflowType!==h.REFINE?t.selectedIds:Object.keys(t.refineInfos).reduce(((i,s)=>[...i,...t.refineInfos[s].addIds]),[])}_hasSelections(t=!1){let i=[];const s=this._selectionSets.some((t=>{if(t.workflowType===h.REFINE)return i=this._getSelectionSetIds(t),!0}));return t&&s?i.length>0||this._selectionSets.length>1:this._selectionSets.length>0}async _getNumDuplicates(){const t=this._getExportInfos(),i=await b(this.mapView.map,t),s=m(i);return i.length-s.length}_getExportInfos(){return this._selectionSets.reduce(((t,i)=>(i.download&&(i.workflowType!==h.REFINE?this._updateIds(i.layerView.layer.id,i.layerView,i.selectedIds,t):Object.keys(i.refineInfos).forEach((s=>{const e=i.refineInfos[s];e.addIds.length>0&&this._updateIds(s,e.layerView,e.addIds,t)}))),t)),{})}_updateIds(t,i,s,e){return e[t]?e[t].ids=e[t].ids.concat(s):e[t]={layerView:i,ids:s},e}_getSelectPage(){const t=this._translations.selectSearchTip;return a("calcite-panel",null,this._getLabel(this._translations.stepTwoFull,!0),this._getNotice(t,"padding-1","word-wrap-anywhere"),a("div",null,a("map-select-tools",{bufferColor:this.bufferColor,bufferOutlineColor:this.bufferOutlineColor,class:"font-bold",customLabelEnabled:this.customLabelEnabled,defaultBufferDistance:this.defaultBufferDistance,defaultBufferUnit:this.defaultBufferUnit,enableLayerFeatures:this.enableLayerFeatures,enableLayerFeaturesOnLoad:this.enableLayerFeaturesOnLoad,enableSearchDistance:this.enableSearchDistance,enableSearchDistanceOnLoad:this.enableSearchDistanceOnLoad,enableSketchTools:this.enableSketchTools,enabledLayerIds:this.addresseeLayerIds,isUpdate:!!this._activeSelection,locale:this.locale,mapView:this.mapView,noResultText:this.noResultText,onSelectionSetChange:t=>this._updateForSelection(t),ref:t=>{this._selectTools=t},searchConfiguration:this._searchConfiguration,searchDistanceEnabled:this.enableSearchDistanceOnLoad,selectionLayerIds:this.selectionLayerIds,selectionSet:this._activeSelection,sketchLineSymbol:this.sketchLineSymbol,sketchPointSymbol:this.sketchPointSymbol,sketchPolygonSymbol:this.sketchPolygonSymbol,useLayerFeaturesEnabled:this.enableLayerFeaturesOnLoad})),this._getPageNavButtons(this._translations.done,0===this._numSelected,(()=>{this._saveSelection()}),this._translations.cancel,!1,(()=>{this._home()})))}_getExportPage(){const t=this._hasSelections(this.showRefineSelection),i=this._numDuplicates>0?"display-block":"display-none";return a("calcite-panel",null,a("div",null,this._getLabel(this._translations.export,!1),t?a("div",null,this._getNotice(this._translations.exportTip,"padding-sides-1"),this._getLabel(this._translations.exportListsLabel),this._getExportSelectionLists(),a("div",{class:"padding-sides-1 "+i},a("div",{class:"display-flex"},a("calcite-label",{layout:"inline"},a("calcite-checkbox",{ref:t=>{this._removeDuplicates=t}}),a("div",{class:"display-flex"},this._translations.removeDuplicate,a("div",{class:"info-message padding-start-1-2"},a("calcite-input-message",{class:"info-blue margin-top-0",scale:"m"},` ${this._translations.numDuplicates.replace("{{n}}",this._numDuplicates.toString())}`)))),a("calcite-icon",{class:"padding-start-1-2 icon",flipRtl:!("he"===this.locale?.toLowerCase()),icon:"question",id:"remove-duplicates-icon",scale:"s"})),a("calcite-popover",{closable:!0,label:"",referenceElement:"remove-duplicates-icon"},a("span",{class:"tooltip-message"},this._translations.duplicatesTip))),a("div",{class:"border-bottom"}),a("div",{class:"padding-top-sides-1"},a("calcite-segmented-control",{class:"w-100",onCalciteSegmentedControlChange:t=>this._exportTypeChange(t),width:"full"},a("calcite-segmented-control-item",{checked:this._exportType===o.PDF,class:"w-50 end-border",value:o.PDF},a("span",{class:"font-weight-500"},this._translations.pdf)),a("calcite-segmented-control-item",{checked:this._exportType===o.CSV,class:"w-50",value:o.CSV},a("span",{class:"font-weight-500"},this._translations.csv)))),a("div",{class:"padding-bottom-1"},this._getExportOptions()),a("div",{class:"padding-1 display-flex"},a("calcite-button",{disabled:!this._downloadActive||this._fetchingData||!this._addMap&&!this._addResults,loading:this._fetchingData,onClick:()=>{this._export()},width:"full"},a("span",{class:"font-weight-500"},this._translations.export)))):this._getNotice(this._translations.downloadNoLists,"padding-sides-1 padding-bottom-1")))}_exportTypeChange(t){this._exportType=t.target.value}_getExportOptions(){const t=this._addTitle?"display-block":"display-none",i=this._addMap?"display-flex":"display-none",s=this._titleValue?this._titleValue:this.defaultExportTitle?this.defaultExportTitle:"",e=this._addResults?"":"display-none";return a("div",{class:this._exportType===o.PDF?"display-block":"display-none"},this._getLabel(this._translations.pdfOptions,!0),a("div",{class:"padding-top-sides-1"},a("calcite-label",{class:"label-margin-0",layout:"inline"},a("calcite-checkbox",{checked:this._addResults,onCalciteCheckboxChange:()=>this._addResults=!this._addResults}),this._translations.addResults)),a("div",{class:`padding-top-sides-1 ${e}`},a("calcite-label",{class:"label-margin-0"},this._translations.selectPDFLabelOption)),a("div",{class:`padding-sides-1 ${e}`},a("pdf-download",{defaultNumLabelsPerPage:parseInt(this.defaultNumLabelsPerPage.toString(),10),disabled:!this._downloadActive,locale:this.locale,ref:t=>{this._downloadTools=t}})),a("div",{class:"padding-top-sides-1"},a("calcite-label",{class:"label-margin-0",layout:"inline"},a("calcite-checkbox",{checked:this._addTitle,onCalciteCheckboxChange:()=>this._addTitle=!this._addTitle}),this._translations.title)),a("div",{class:t},this._getLabel(this._translations.title,!0,""),a("calcite-input-text",{class:"padding-sides-1",onCalciteInputTextInput:()=>this._changeTitle(),placeholder:this._translations.titlePlaceholder,ref:t=>{this._titleElement=t},value:s})),a("div",{class:"padding-top-sides-1"},a("calcite-label",{class:"label-margin-0",layout:"inline"},a("calcite-checkbox",{checked:this._addMap,onCalciteCheckboxChange:()=>this._handleAddMapChange()}),this._translations.includeMap)),a("div",{class:`padding-top-sides-1 ${i}`},a("calcite-label",{class:"label-margin-0",layout:"inline"},a("calcite-checkbox",{checked:this._exportGraphics,onCalciteCheckboxChange:()=>this._handleExportGraphicsChange()}),this._translations.listGraphics),a("calcite-icon",{class:"padding-start-1-2 icon",flipRtl:!("he"===this.locale?.toLowerCase()),icon:"question",id:"list-graphics-icon",scale:"s"}),a("calcite-popover",{closable:!0,label:"",referenceElement:"list-graphics-icon"},a("span",{class:"tooltip-message"},this._translations.listGraphicsTip))))}_handleAddMapChange(){this._addMap=!this._addMap,this._updateExportGraphics()}_handleExportGraphicsChange(){this._exportGraphics=!this._exportGraphics,this._updateExportGraphics()}_getManagedLayer(t){let i;return Object.keys(g.managedLayers).some((s=>{const e=this.mapView.map.layers.findIndex((t=>t.title===s));if(g.managedLayers[s]===t)return i=this.mapView.map.layers.getItemAt(e),!0})),i}_updateExportGraphics(t=!1){!t&&this._exportGraphics&&this._addMap||this._removeExportGraphics(),this._exportGraphics&&this._addMap&&this._addExportGraphics()}_removeExportGraphics(){const t=this._getManagedLayer("sketch"),i=this._getManagedLayer("buffer");t&&t.graphics.removeAll(),i&&i.graphics.removeAll()}_addExportGraphics(){const t=this._getManagedLayer("sketch"),i=this._getManagedLayer("buffer");this._selectionSets.forEach((s=>{if(s.download&&(t&&t.graphics.add(s.sketchGraphic),i)){const t=new this.Graphic({geometry:s.buffer,symbol:{type:"simple-fill",color:this.bufferColor,outline:{color:this.bufferOutlineColor,width:1}}});i.graphics.add(t)}}))}_getRefinePage(){const t=this._hasSelections();return a("calcite-panel",null,this._getLabel(this._translations.refineSelection),t?a("div",null,this._getNotice(this._translations.refineTip,"padding-sides-1"),a("refine-selection",{enabledLayerIds:this.selectionLayerIds,locale:this.locale,mapView:this.mapView,selectionSets:this._selectionSets,sketchLineSymbol:this.sketchLineSymbol,sketchPointSymbol:this.sketchPointSymbol,sketchPolygonSymbol:this.sketchPolygonSymbol})):this._getNotice(this._translations.refineTipNoSelections,"padding-sides-1"))}_getPageNavButtons(t,i,s,e,l,o){return a("div",{class:"padding-bottom-1"},a("div",{class:"display-flex padding-top-sides-1"},a("calcite-button",{disabled:i,onClick:s,width:"full"},a("span",{class:"font-weight-500"},t))),a("div",{class:"display-flex padding-top-1-2 padding-sides-1"},a("calcite-button",{appearance:"outline",disabled:l,onClick:o,width:"full"},a("span",{class:"font-weight-500"},e))))}_changeTitle(){this._titleValue=this._titleElement.value}_getNotice(t,i="padding-1",s=""){return a("calcite-notice",{class:i,icon:"lightbulb",kind:"success",open:!0},a("div",{class:s,slot:"message"},t))}_getLabel(t,i=!1,s="font-bold"){return a("div",{class:"padding-top-sides-1"},a("calcite-label",{class:s+=i?" label-margin-0":""},t))}_getExportSelectionLists(){return this._selectionSets.reduce(((t,i)=>{const s=this._getSelectionSetIds(i),e=i.workflowType!==h.REFINE||s.length>0;return!this._downloadActive&&i.download&&e&&(this._downloadActive=!0),e&&t.push(a("div",{class:"display-flex padding-sides-1 padding-bottom-1"},a("calcite-checkbox",{checked:i.download,class:"align-center",onClick:()=>{this._toggleDownload(i.id)}}),a("calcite-list",{class:"list-border margin-start-1-2 width-full",id:"download-list",label:""},a("calcite-list-item",{disabled:!i.download,label:i.label,onClick:()=>{this._toggleDownload(i.id)}},a("div",{slot:"content"},a("div",{class:"list-label"},i.label),a("div",{class:"list-description"},i?.layerView?.layer.title),a("div",{class:"list-description"},this._translations.selectedFeatures.replace("{{n}}",s.length.toString()))))))),t}),[])||a("div",null)}async _toggleDownload(t){let i=!1;this._selectionSets=this._selectionSets.map((s=>(s.download=s.id===t?!s.download:s.download,i=!!s.download||i,s))),this._updateExportGraphics(!0),this._downloadActive=i,this._fetchingData=!0,this._numDuplicates=await this._getNumDuplicates(),this._fetchingData=!1,await this._highlightFeatures()}async _export(){const t=this._addResults?this._getSelectionIdsAndViews(this._selectionSets,!0):{};if(this._exportType===o.PDF){let i="";if(this._addMap&&this.mapView){const t=await this.mapView.takeScreenshot({width:1500,height:2e3});i=t?.dataUrl}this._fetchingData=!0,await this._downloadTools.downloadPDF(this.mapView.map,t,this._removeDuplicates.checked,this._addTitle?this._titleElement.value:"",i),this._fetchingData=!1}this._exportType===o.CSV&&(this._fetchingData=!0,await this._downloadTools.downloadCSV(this.mapView.map,t,this._removeDuplicates.checked),this._fetchingData=!1)}_getSelectionIdsAndViews(t,i=!1){return(i?t.filter((t=>t.download)):t).reduce(((t,i)=>{if(i.workflowType===h.REFINE)Object.keys(i.refineInfos).forEach((s=>{const e=i.refineInfos[s];e.addIds&&(t=this._updateExportInfos(t,e.layerView.layer.id,i.label,e.addIds,e.layerView))}));else{const s=i?.layerView?.layer.id;t=this._updateExportInfos(t,s,i.label,i.selectedIds,i.layerView)}return t}),{})}_updateExportInfos(t,i,s,e,a){return i&&Object.keys(t).indexOf(i)>-1?(t[i].ids=[...new Set([...t[i].ids,...e])],t[i].selectionSetNames.push(s)):i&&(t[i]={ids:e,layerView:a,selectionSetNames:[s]}),t}_getAction(t,i,s,e,l=!1,o=""){return a("calcite-action",{disabled:!t,icon:i,iconFlipRtl:!0,indicator:l,onClick:e,slot:o,text:s})}_updateForSelection(t){this._numSelected=t.detail,this._saveEnabled=this._numSelected>0}async _home(){await this._clearSelection(),this._setPageType(n.LIST)}async _saveSelection(){const t=await(this._selectTools?.getSelection()),i=this._selectTools?.isUpdate;return this._selectionSets=i?this._selectionSets.map((i=>i.id===t.id?t:i)):[...this._selectionSets,t],this._home()}async _clearSelection(){await(this._selectTools?.clearSelection()),this._numSelected=0,this._activeSelection=void 0}_deleteSelection(t,i){return i.stopPropagation(),this._selectionSets=this._selectionSets.filter(((i,s)=>{if(s!==t)return i})),this._highlightFeatures()}_gotoSelection(t,i){d(t.selectedIds,t.layerView,i,this.featureHighlightEnabled,this.featureEffect)}_openSelection(t,i){i.stopPropagation(),this._activeSelection=t,this._pageType=t.workflowType===h.REFINE?n.REFINE:n.SELECT}async _highlightFeatures(){this._clearHighlight();const t=this._getSelectionIdsAndViews(this._selectionSets,this._pageType===n.EXPORT),i=Object.keys(t);if(i.length>0)for(let s=0;s<i.length;s++){const e=t[i[s]];g.highlightHandles.push(await p(e.ids,e.layerView,this.mapView))}}_checkPopups(){"boolean"!=typeof this._popupsEnabled&&(this._popupsEnabled=this.mapView?.popupEnabled)}_clearHighlight(){g&&g.highlightHandles&&g.removeHandles()}async _getTranslations(){const t=await r(this.el);this._translations=t[0]}static get watchers(){return{locale:["localeWatchHandler"],mapView:["mapViewWatchHandler"],searchConfiguration:["watchSearchConfigurationHandler"],sketchLineSymbol:["sketchLineSymbolWatchHandler"],sketchPointSymbol:["sketchPointSymbolWatchHandler"],sketchPolygonSymbol:["sketchPolygonSymbolWatchHandler"],_pageType:["pageTypeWatchHandler"]}}};u.style=':host{display:block;--calcite-input-message-spacing-value:0}.align-center{align-items:center}.border-bottom-1{border-width:0px;border-bottom-width:1px;border-style:solid;border-color:var(--calcite-color-border-3)}.action-bar-size{height:3.5rem;width:100%}.w-1-2{width:50%}.w-1-3{width:33.33%}.width-full{width:100%}.height-full{height:100%}.padding-1{padding:1rem}.padding-top-sides-1{padding-block-start:1rem;padding-inline-start:1rem;padding-inline-end:1rem}.padding-sides-1{padding-inline-start:1rem;padding-inline-end:1rem}.padding-end-1-2{padding-inline-end:.5rem}.padding-top-1-2{padding-block-start:.5rem}.padding-top-1{padding-top:1rem}.padding-bottom-1{padding-bottom:1rem}.padding-bottom-1-2{padding-bottom:.5rem}.info-blue{color:#00A0FF}.info-message{justify-content:center;display:grid}.font-bold{font-weight:bold}.display-flex{display:flex}.display-block{display:block}.display-none{display:none}.border-bottom{border-bottom:1px solid var(--calcite-color-border-2)}.padding-start-1-2{padding-inline-start:0.5rem}.list-border{border:1px solid var(--calcite-color-border-2)}.margin-sides-1{margin-inline-start:1rem;margin-inline-end:1rem}.margin-start-1-2{margin-inline-start:0.5rem}.float-right{float:right}.float-right[dir="rtl"]{float:left}.float-left{float:left}.float-left[dir="rtl"]{float:right}.margin-top-0{margin-block-start:0 !important}.height-1-1-2{height:1.5rem}.main-background{background-color:var(--calcite-color-foreground-2)}.position-right{position:absolute;right:1rem}.position-right[dir="rtl"]{position:absolute;left:1rem}.label-margin-0{--calcite-label-margin-bottom:0}.list-label{color:var(--calcite-color-text-1)}.list-label,.list-description{font-family:var(--calcite-sans-family);font-size:var(--calcite-font-size--2);font-weight:var(--calcite-font-weight-normal);overflow-wrap:break-word;word-break:break-word}.list-description{margin-block-start:0.125rem;color:var(--calcite-color-text-3)}.img-container{width:100%;height:100%}.font-weight-500{font-weight:500}.background-override{height:100%;width:100%;--calcite-color-foreground-3:var(--calcite-color-brand);--calcite-color-foreground-2:var(--calcite-color-brand-hover);--calcite-color-text-1:var(--calcite-color-text-inverse)}.word-wrap-anywhere{word-wrap:anywhere}';export{u as public_notification}
@@ -1,6 +0,0 @@
1
- /*!
2
- * Copyright 2022 Esri
3
- * Licensed under the Apache License, Version 2.0
4
- * http://www.apache.org/licenses/LICENSE-2.0
5
- */
6
- import{r as t,c as i,g as s,h as e,H as a,F as h}from"./p-e996c38f.js";import{l,g as o}from"./p-404cbf48.js";import{g as c,a as n,b as r,c as d,h as u,d as p,q as f}from"./p-dcd2f00b.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";import"./p-80cb7c73.js";const m=class{constructor(s){t(this,s),this.togglePanel=i(this,"togglePanel",7),this.center=void 0,this.commentButtonText=void 0,this.commentSubmittedMessage=void 0,this.defaultWebmap="",this.description=void 0,this.enableAnonymousAccess=void 0,this.enableAnonymousComments=void 0,this.enableComments=void 0,this.enableHome=!0,this.enableLogin=void 0,this.enableNewReports=void 0,this.enableSearch=!0,this.enableZoom=!0,this.isMobile=void 0,this.layerExpressions=[],this.layerId=void 0,this.level=void 0,this.locale=void 0,this.loginTitle=void 0,this.mapInfos=[],this.mapView=void 0,this.objectId=void 0,this.reportButtonText=void 0,this.reportingOptions=void 0,this.reportsHeader=void 0,this.reportSubmittedMessage=void 0,this.searchConfiguration=void 0,this.showComments=void 0,this.showUserImageInCommentsList=!1,this.showFeatureSymbol=!1,this.showMyReportsOnly=!1,this.submitNewReportsMessage=void 0,this.theme="light",this.zoomToScale=void 0,this.floorLevel=void 0,this.showFullCommentTitle=!0,this._featureCreationFailedErrorMsg=void 0,this._filterActive=!1,this._flowItems=[],this._hasValidLayers=!1,this._mapInfo=void 0,this._reportSubmitted=!1,this._selectedLayerName=void 0,this._showSubmitCancelButton=!1,this._showLoadingIndicator=!1,this._sidePanelCollapsed=!1,this._translations=void 0,this._updatedProgressBarStatus=25,this._updatedSorting=void 0,this._updatedSortOption="sortNewest",this._commentSubmitted=!1,this._addingCommentFailed=!1}get el(){return s(this)}_createFeature;_currentFeatureId;_defaultCenter;_defaultLevel;_editableLayerIds;_featureDetails;_featureList;_currentFeature;_selectedRelatedFeature;_relatedTable;_filterList;_highlightHandle;_layerList;_createRelatedFeature;_layers;_mapChange;_mapClickHandle;reactiveUtils;FeatureFilter;_selectedFeature;_selectedFeatureIndex;_selectedLayerId;_shareNode;_urlParamsLoaded;_validLayers;_nonVisibleValidLayers;_selectedLayer;_layerItemsHash;_showFullPanel;_floorExpression;_formElements=[];_prevSelectedLayerId;_currentLayerExpressions;_initDefExpressions;_t9nLayerExpressions;async isMobileWatchHandler(){this.updatePanelState(!1,this._showFullPanel)}async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}async mapViewWatchHandler(){await this.mapView.when((async()=>{this.setInitExpressions(),await this.setMapView()}))}async floorLevelWatchHandler(){if(this._editableLayerIds)for(const t of this._editableLayerIds){const i=await c(this.mapView,t);i.floorInfo?.floorField&&this._updateFloorDefinitionExpression(i)}"layer-list"===this._flowItems[this._flowItems.length-1]&&this._layerList&&await this._layerList.refresh(),this._featureList&&this._featureList.refresh(),this._createFeature&&this._createFeature.refresh(this.floorLevel)}async showMyReportsOnlyWatchHandler(){this._editableLayerIds&&(await this._updateFeatures(),setTimeout((()=>{"layer-list"===this._flowItems[this._flowItems.length-1]&&this._layerList&&this._layerList.refresh(),this._featureList&&this._featureList.refresh()}),50))}async layerExpressionsWatchHandler(){this.resetFilterList(),await this.handleSelectedLayersFilter(),await(this._featureList?.refresh())}async showFeatureSymbolWatchHandler(){await(this._featureList?.refresh())}async updateLayerExpressionsT9n(t){if(this._t9nLayerExpressions=t||this.layerExpressions,null!=this._filterList)await this._filterList.handleUpdatingT9nData(this._t9nLayerExpressions);else if(null!=this._currentLayerExpressions){const t=structuredClone(this._currentLayerExpressions);this.handleLayerExpressionsT9n(t,this._t9nLayerExpressions),this._currentLayerExpressions=t}return Promise.resolve()}togglePanel;async componentWillLoad(){this._urlParamsLoaded=!1,await this._initModules(),await this._getTranslations(),await(this.mapView?.when((async()=>{this._layers=this.reportingOptions?Object.keys(this.reportingOptions).filter((t=>this.reportingOptions[t].visible)):[],this.setInitExpressions(),await this.setMapView()})))}componentWillRender(){this._flowItems.includes("filter-panel")&&this._filterList?.updateInitDefExpressions({initDefExpressions:this._initDefExpressions})}render(){const t="dark"===this.theme?"calcite-mode-dark":"calcite-mode-light";return e(a,{key:"b97883be773d948b75e6df1be453cde018a0dba1"},this._reportSubmitted&&e("calcite-alert",{key:"5fd17c13a0d4dc3c7fed1bb253e9196b83c20e1d","auto-close":!0,class:t+" report-submitted-msg",icon:"check-circle",kind:"success",label:"",onCalciteAlertClose:()=>{this._reportSubmitted=!1},open:!0,placement:"top"},e("div",{key:"5c7a00cb3eaaaeb3a0501324c10b407746ecca46",slot:"message"},this.reportSubmittedMessage?this.reportSubmittedMessage:this._translations.submitMsg)),this._featureCreationFailedErrorMsg&&e("calcite-alert",{key:"d83c690d60c2e6f12a5ec356c5ae67185edc6a1e","auto-close":!0,class:t,icon:"x-octagon",kind:"danger",label:"",onCalciteAlertClose:()=>{this._featureCreationFailedErrorMsg=""},open:!0,placement:"top"},e("div",{key:"9cbac1cf8698f1f918004764e4e43c25af766e4a",slot:"title"},this._translations.error),e("div",{key:"b4dbe07b4af7ab6c543596c6a3374b785fac4c7e",slot:"message"},this._featureCreationFailedErrorMsg)),this._commentSubmitted&&e("calcite-alert",{key:"cde843955c6538ea857a0a187c995062efd777e7","auto-close":!0,class:"report-submitted "+t,icon:"check-circle",kind:"success",label:"",onCalciteAlertClose:()=>{this._commentSubmitted=!1},open:!0,placement:"top"},e("div",{key:"86e3d820aa0d4362c07470bd60d8f0efd0614bc2",slot:"message"},this.commentSubmittedMessage||this._translations.commentSubmittedMsg)),this._addingCommentFailed&&e("calcite-alert",{key:"a0bdeec1bb3a33f3bfa938c0a1f4e631c6a76399","auto-close":!0,class:t,icon:"x-octagon",kind:"danger",label:"",onCalciteAlertClose:()=>{this._addingCommentFailed=!1},open:!0,placement:"top"},e("div",{key:"b161d8e42a078d961ec4e42888d26f4314e9d5a4",slot:"title"},this._translations.error),e("div",{key:"cf3908f91448dfbb7cf6ec78b413eaa3327372be",slot:"message"},this._translations.addingCommentFailedMsg)),e("div",{key:"42e2c8abaf43d6a587729229347efb2836827b98"},e("calcite-shell",{key:"9e3174a699c37be8f20f4609f52c94ecb95d599f","content-behind":!0},this._getReporter())))}async _initModules(){const[t,i]=await l(["esri/core/reactiveUtils","esri/layers/support/FeatureFilter"]);this.reactiveUtils=t,this.FeatureFilter=i}async setSelectedLayer(t,i){this._selectedLayerId=t,this._selectedLayer=await c(this.mapView,t),this._selectedLayerName=i,this._validLayers.forEach((i=>{this._nonVisibleValidLayers.find((t=>t.id===i.id))||i.set("visible",!t||i.id===t)}))}_getLayersConfig(t){return this.reportingOptions&&this.reportingOptions[t]?this.reportingOptions[t]:null}_getReporter(){const t=[];return this._flowItems.forEach((i=>{switch(i){case"layer-list":t.push(this.getLayerListFlowItem());break;case"feature-list":t.push(this.getFeatureListFlowItem(this._selectedLayerId,this._selectedLayerName));break;case"filter-panel":t.push(this.getFilterPanel());break;case"feature-details":t.push(this.getFeatureDetailsFlowItem());break;case"reporting-layer-list":t.push(this.getChooseCategoryFlowItem());break;case"feature-create":t.push(this.getFeatureCreateFlowItem());break;case"comment-details":t.push(this.getCommentDetailsFlowItem());break;case"add-comment":t.push(this.getAddCommentFlowItem())}})),e("calcite-panel",{class:"width-full "+("dark"===this.theme?"calcite-mode-dark":"calcite-mode-light")},this.mapView?e("calcite-flow",null,t?.length>0&&t):e("calcite-loader",{label:"",scale:"m"}))}async sortOptionClick(t,i,s){this._updatedSorting={field:t,order:i},this._updatedSortOption=s}_toggleSort(){const t=this.reportingOptions&&this.reportingOptions[this._selectedLayerId]&&this.reportingOptions[this._selectedLayerId].like&&this.reportingOptions[this._selectedLayerId].likeField;return e("calcite-popover",{autoClose:!0,label:"",offsetDistance:0,placement:this.isMobile?"leading-start":"bottom-start",pointerDisabled:!0,referenceElement:"sort-popover"},e("calcite-list",{label:"","selection-mode":"single"},e("calcite-list-item",{label:this._translations.sortNewest,onCalciteListItemSelect:()=>{this.sortOptionClick(this._selectedLayer.objectIdField,"desc","sortNewest")},selected:"sortNewest"===this._updatedSortOption,value:"sortNewest"}),e("calcite-list-item",{label:this._translations.sortOldest,onCalciteListItemSelect:()=>{this.sortOptionClick(this._selectedLayer.objectIdField,"asc","sortOldest")},selected:"sortOldest"===this._updatedSortOption,value:"sortOldest"}),t&&e(h,null,e("calcite-list-item",{label:this._translations.sortHighestVoted,onCalciteListItemSelect:()=>{this.sortOptionClick(this.reportingOptions[this._selectedLayerId].likeField,"desc","sortHighestVoted")},selected:"sortHighestVoted"===this._updatedSortOption,value:"sortHighestVoted"}),e("calcite-list-item",{label:this._translations.sortLowestVoted,onCalciteListItemSelect:()=>{this.sortOptionClick(this.reportingOptions[this._selectedLayerId].likeField,"asc","sortLowestVoted")},selected:"sortLowestVoted"===this._updatedSortOption,value:"sortLowestVoted"}))))}async _handleFilterListReset(){this._filterActive=!1}async _handleFilterUpdate(t){this._showLoadingIndicator=!0,this._filterActive=t,await this._featureList.refresh(),this._showLoadingIndicator=!1}getLayerListFlowItem(){return e("calcite-flow-item",{collapsed:this.isMobile&&this._sidePanelCollapsed,heading:this.reportsHeader,selected:"layer-list"===this._flowItems[this._flowItems.length-1]},this.isMobile&&this.getActionToExpandCollapsePanel(),this._hasValidLayers&&this.enableNewReports&&e("calcite-button",{appearance:"solid",onClick:this.navigateToChooseCategory.bind(this),slot:"footer",width:"full"},this.reportButtonText?this.reportButtonText:this._translations.createReportButtonText),e("calcite-panel",{"full-height":!0,"full-width":!0},e("layer-list",{applyLayerViewFilter:this.showMyReportsOnly,class:"height-full",layers:this._editableLayerIds?.length>0?this._editableLayerIds:this._layers,locale:this.locale,mapView:this.mapView,onLayerSelect:this.displayFeaturesList.bind(this),onLayersListLoaded:this.layerListLoaded.bind(this),ref:t=>this._layerList=t,showFeatureCount:!0,showNextIcon:!0})))}getChooseCategoryFlowItem(){const t=this.reportingOptions?Object.keys(this.reportingOptions).filter((t=>this.reportingOptions[t].visible&&this.reportingOptions[t].reporting&&this._layerItemsHash[t]&&this._layerItemsHash[t].supportsAdd)):[];return e("calcite-flow-item",{collapsed:this.isMobile&&this._sidePanelCollapsed,heading:this.reportButtonText?this.reportButtonText:this._translations.createReportButtonText,onCalciteFlowItemBack:this.backFromSelectedPanel.bind(this),selected:"reporting-layer-list"===this._flowItems[this._flowItems.length-1]},e("calcite-panel",{"full-height":!0,"full-width":!0},e("div",{class:"progress-bar"},e("calcite-progress",{type:"determinate",value:this._updatedProgressBarStatus})),e("calcite-notice",{class:"notice-msg",icon:"lightbulb",kind:"success",open:!0},e("div",{slot:"message"},this._translations.chooseCategoryMsg)),e("layer-list",{class:"height-full",layers:t,locale:this.locale,mapView:this.mapView,onLayerSelect:this.navigateToCreateFeature.bind(this),showFeatureCount:!1,showNextIcon:!1})))}getFeatureCreateFlowItem(){return e("calcite-flow-item",{collapsed:this.isMobile&&this._sidePanelCollapsed,heading:this._selectedLayerName,onCalciteFlowItemBack:this.backFromCreateFeaturePanel.bind(this),selected:"feature-create"===this._flowItems[this._flowItems.length-1]},this._showSubmitCancelButton&&e("div",{class:"width-full",slot:"footer"},e("calcite-button",{appearance:"solid",class:"footer-top-button footer-button",onClick:this.onCreateFeatureSubmitButtonClick.bind(this),width:"full"},this._translations.submit),e("calcite-button",{appearance:"outline",class:"footer-button",onClick:this.backFromCreateFeaturePanel.bind(this),width:"full"},this._translations.cancel)),e("calcite-panel",{"full-height":!0,"full-width":!0},e("div",{class:"progress-bar"},e("calcite-progress",{type:"determinate",value:this._updatedProgressBarStatus})),e("create-feature",{customizeSubmit:!0,enableSearch:!0,floorLevel:this.floorLevel,formElements:this._formElements.find((t=>t.id===this._selectedLayerId)),isMobile:this.isMobile,locale:this.locale,mapView:this.mapView,onDrawComplete:this.onFormReady.bind(this),onEditingAttachment:this.showSubmitCancelButton.bind(this),onFail:this.createFeatureFailed.bind(this),onModeChanged:this.backFromCreateFeaturePanel.bind(this),onProgressStatus:this.updatedProgressStatus.bind(this),onSuccess:this.onReportSubmitted.bind(this),ref:t=>this._createFeature=t,searchConfiguration:this.searchConfiguration,selectedLayerId:this._selectedLayerId,submitNewReportsMessage:this.submitNewReportsMessage})))}updatedProgressStatus(t){this._updatedProgressBarStatus=t.detail}onFormReady(){this._showSubmitCancelButton=!0}showSubmitCancelButton(t){this._showSubmitCancelButton=!t.detail}onCreateFeatureSubmitButtonClick(){this._createFeature&&this._createFeature.submit()}backFromCreateFeaturePanel(){this._createFeature&&this.updateNonVisibleLayersOnMap(!1),this.backFromSelectedPanel()}onCreateRelatedFeatureSubmitButtonClick(){this._createRelatedFeature&&this._createRelatedFeature.submit()}backFromCreateRelatedFeaturePanel(){this._createRelatedFeature&&(this._showSubmitCancelButton=!1),this.backFromSelectedPanel()}createFeatureFailed(t){console.error(t.detail),this._featureCreationFailedErrorMsg=t.detail.message}async onReportSubmitted(){this.updateNonVisibleLayersOnMap(!1),await this.navigateToHomePage(),this._reportSubmitted=!0,this._updatedProgressBarStatus=25,this._showFullPanel&&this.updatePanelState(this._sidePanelCollapsed,!1)}addCommentFailed(t){console.error(t.detail),this._addingCommentFailed=!0}async onCommentSubmitted(){this._commentSubmitted=!0,this.backFromSelectedPanel(),this._showLoadingIndicator=!0,await this._featureDetails.refresh(this._currentFeature),setTimeout((()=>{this._showLoadingIndicator=!1}),300)}async navigateToHomePage(){await this.setSelectedFeatures([]),this._layerList&&await this._layerList.refresh(),1===this._editableLayerIds.length?(await this._featureList.refresh(),this._flowItems=["feature-list"]):this._flowItems=["layer-list"]}async navigateToCreateFeature(t){t.detail.layerId&&t.detail.layerName&&await this.setSelectedLayer(t.detail.layerId,t.detail.layerName),this.updateNonVisibleLayersOnMap(!0),this._getFormElements(),this._showSubmitCancelButton=!1,this.updatePanelState(!1,!0),this._flowItems=[...this._flowItems,"feature-create"]}navigateToChooseCategory(){this.updatePanelState(!1,!0),this._flowItems=[...this._flowItems,"reporting-layer-list"]}updateNonVisibleLayersOnMap(t){this._nonVisibleValidLayers.find((t=>t.id===this._selectedLayerId))&&this._selectedLayer.set("visible",t)}async layerListLoaded(t){const i=t.detail,s=await n(this.mapView),e=[];this._validLayers=[],this._nonVisibleValidLayers=[],s.forEach((t=>{i.includes(t.id)&&(this._validLayers.push(t),t.visible||this._nonVisibleValidLayers.push(t),this._getLayersConfig(t.id)?.reporting&&this._layerItemsHash[t.id]&&this._layerItemsHash[t.id].supportsAdd&&e.push(t.id))})),this.handleMapClick(),this._hasValidLayers=e.length>0,this._urlParamsLoaded||(this._urlParamsLoaded=!0,await this.loadFeatureFromURLParams())}async displayFeaturesList(t){this._updatedSorting={field:"",order:"desc"},this._updatedSortOption="sortNewest",await this.setSelectedLayer(t.detail.layerId,t.detail.layerName),this.handleSelectedLayersFilter(),this._flowItems=[...this._flowItems,"feature-list"],this._prevSelectedLayerId=this._selectedLayerId}async backFromFilterPanel(){null!=this._filterList&&(this._currentLayerExpressions=await this._filterList.getCurrentLayerExpressions()),await this._featureList.refresh(),this.backFromSelectedPanel()}backFromSelectedPanel(){this._updatedProgressBarStatus=25;const t=[...this._flowItems];"comment-details"!==t[t.length-1]&&"add-comment"!==t[t.length-1]&&this.clearHighlights(),"reporting-layer-list"!==t[t.length-1]&&("feature-create"!==t[t.length-1]||"feature-list"!==t[0]&&"feature-list"!==t[t.length-2])||this.updatePanelState(this._sidePanelCollapsed,!1),t.pop(),1!==t.length||"layer-list"!==t[0]?this._flowItems=[...t]:this.navigateToHomePage()}toggleSidePanel(){this._sidePanelCollapsed=!this._sidePanelCollapsed,this.togglePanel.emit({panelState:this._sidePanelCollapsed,isFormOpen:this._showFullPanel})}updatePanelState(t,i){this._sidePanelCollapsed=t,this._showFullPanel=i,this.togglePanel.emit({panelState:this._sidePanelCollapsed,isFormOpen:this._showFullPanel})}async onFeatureSelectFromList(t){this._showLoadingIndicator=!0,await this.setSelectedFeatures([t.detail]),this._flowItems=[...this._flowItems,"feature-details"]}async getRelatedTable(){const t=this._currentFeature.layer,i=await r(this.mapView);t.relationships.some((s=>{const e=i.filter((i=>t.url===i.url&&i.layerId===s.relatedTableId));if(e&&e.length>0)return this._relatedTable=e[0],!0}))}async updatingFeatureDetails(t){this._showLoadingIndicator=t}async selectionChanged(t){this.updatingFeatureDetails(!0),await this.setCurrentFeature(t.detail.selectedFeature[0]),this.highlightOnMap(t.detail.selectedFeature[0]),this._selectedFeatureIndex=t.detail.selectedFeatureIndex,await this._featureDetails.refresh(t.detail.selectedFeature[0])}showAddCommentsPanel(){this._flowItems=[...this._flowItems,"add-comment"]}async onCommentSelectFromList(t){this._selectedRelatedFeature=[t.detail],this._flowItems=[...this._flowItems,"comment-details"]}getFeatureListFlowItem(t,i){const s=this._getLayersConfig(this._selectedLayerId)?.reporting&&this._layerItemsHash[this._selectedLayerId].supportsAdd,a=this._currentLayerExpressions?.length>0;return e("calcite-flow-item",{collapsed:this.isMobile&&this._sidePanelCollapsed,heading:i,loading:this._showLoadingIndicator,onCalciteFlowItemBack:this.backFromSelectedPanel.bind(this),selected:"feature-list"===this._flowItems[this._flowItems.length-1]},this._toggleSort(),e("calcite-action",{icon:"sort-ascending-arrow",id:"sort-popover",slot:"header-actions-end",text:this._translations.sort,title:this._translations.sort}),a&&e("calcite-action",{icon:"filter",indicator:this._filterActive,onClick:()=>{this._flowItems=[...this._flowItems,"filter-panel"]},slot:"header-actions-end",text:this._translations.filter,title:this._translations.filter}),this.isMobile&&this.getActionToExpandCollapsePanel(),this.enableNewReports&&s&&e("calcite-button",{appearance:"solid",onClick:this.navigateToCreateFeature.bind(this),slot:"footer",width:"full"},this.reportButtonText?this.reportButtonText:this._translations.createReportButtonText),e("calcite-panel",{"full-height":!0},e("feature-list",{applyLayerViewFilter:this.showMyReportsOnly,class:"height-full",highlightOnHover:!0,locale:this.locale,mapView:this.mapView,noFeaturesFoundMsg:this._translations.featureErrorMsg,onFeatureSelect:this.onFeatureSelectFromList.bind(this),pageSize:30,ref:t=>this._featureList=t,reportingOptions:this.reportingOptions,selectedLayerId:t,showFeatureSymbol:this.showFeatureSymbol,sortingInfo:this._updatedSorting})))}getFilterPanel(){return e("calcite-flow-item",{collapsed:this.isMobile&&this._sidePanelCollapsed,heading:this._translations?.filterLayerTitle?.replace("{{title}}",this._selectedLayerName),loading:this._showLoadingIndicator,onCalciteFlowItemBack:this.backFromFilterPanel.bind(this),selected:"filter-panel"===this._flowItems[this._flowItems.length-1]},this.isMobile&&this.getActionToExpandCollapsePanel(),e("div",{class:"width-full",slot:"footer"},e("div",{class:"width-full",slot:"footer"},e("calcite-button",{appearance:"solid",class:"footer-top-button footer-button",disabled:!this._filterActive,onClick:this.resetFilterList.bind(this),width:"full"},this._translations.resetFilter),e("calcite-button",{appearance:"outline",class:"footer-button",onClick:this.backFromFilterPanel.bind(this),width:"full"},this._translations.close))),e("calcite-panel",{"full-height":!0},e("instant-apps-filter-list",{autoUpdateUrl:!1,closeBtnOnClick:()=>{},comboboxOverlayPositioning:"fixed",layerExpressions:this._currentLayerExpressions,onFilterListReset:()=>{this._handleFilterListReset()},onFilterUpdate:()=>{this._handleFilterUpdate(this._filterList.filterCount>0)},ref:t=>this._filterList=t,resetBtn:!1,resetFiltersOnDisconnect:!1,view:this.mapView,zoomBtn:!1})))}getFeatureDetailsFlowItem(){const t=this._getLayersConfig(this._selectedLayerId)?.comment&&this._selectedLayer.relationships.length>0&&this._relatedTable;return e("calcite-flow-item",{collapsed:this.isMobile&&this._sidePanelCollapsed,heading:this._selectedLayerName,loading:this._showLoadingIndicator,onCalciteFlowItemBack:this.backFromSelectedPanel.bind(this),selected:"feature-details"===this._flowItems[this._flowItems.length-1]},this.isMobile&&this.getActionToExpandCollapsePanel(),e("instant-apps-social-share",{autoUpdateShareUrl:!1,class:"share-node",embed:!1,popoverButtonIconScale:"s",ref:t=>this._shareNode=t,removePopoverOffset:!0,scale:"m",shareButtonColor:"neutral",shareButtonType:"action",slot:"header-actions-end",socialMedia:!0,view:this.mapView}),this._selectedFeature.length>1&&this.getFeaturesPagination(),e("calcite-panel",null,e("feature-details",{class:"full-height",graphics:this._selectedFeature,layerItemsHash:this._layerItemsHash,locale:this.locale,mapView:this.mapView,onAddComment:this.showAddCommentsPanel.bind(this),onCommentSelect:this.onCommentSelectFromList.bind(this),onFeatureSelectionChange:this.selectionChanged.bind(this),onLikeOrDislikeClicked:()=>{this._featureList.refresh(!0)},onLoadingStatus:t=>{this.updatingFeatureDetails(t.detail)},ref:t=>this._featureDetails=t,reportingOptions:this.reportingOptions,showFullCommentTitle:this.showFullCommentTitle,showUserImageInCommentsList:this.showUserImageInCommentsList}),t&&e("calcite-button",{appearance:"solid",onClick:this.showAddCommentsPanel.bind(this),slot:"footer",width:"full"},this.commentButtonText||this._translations.comment)))}getFeaturesPagination(){return e("div",{class:"feature-pagination"},e("div",null,e("calcite-button",{appearance:"transparent",disabled:!1,iconStart:"chevron-left",id:"solutions-back",onClick:()=>{this._featureDetails.back()},scale:"s",width:"full"}),e("calcite-tooltip",{label:"",placement:"top","reference-element":"solutions-back"},e("span",null,this._translations.back))),e("calcite-button",{appearance:"transparent",onClick:()=>{this._featureDetails.toggleListView()},scale:"s"},e("span",{class:"pagination-count"},this._getCount())),e("div",null,e("calcite-button",{appearance:"transparent",disabled:!1,iconStart:"chevron-right",id:"solutions-next",onClick:()=>{this._featureDetails.next()},scale:"s",width:"full"}),e("calcite-tooltip",{placement:"top","reference-element":"solutions-next"},e("span",null,this._translations.next))))}getCommentDetailsFlowItem(){return e("calcite-flow-item",{collapsed:this.isMobile&&this._sidePanelCollapsed,heading:this._relatedTable.title,onCalciteFlowItemBack:this.backFromSelectedPanel.bind(this),selected:"comment-details"===this._flowItems[this._flowItems.length-1]},this.isMobile&&this.getActionToExpandCollapsePanel(),e("calcite-panel",{"full-height":!0},e("info-card",{allowEditing:!1,graphics:this._selectedRelatedFeature,highlightEnabled:!1,isLoading:!1,isMobile:!1,locale:this.locale,mapView:this.mapView,paginationEnabled:!1})))}getAddCommentFlowItem(){return e("calcite-flow-item",{collapsed:this.isMobile&&this._sidePanelCollapsed,heading:this._relatedTable.title,onCalciteFlowItemBack:this.backFromCreateRelatedFeaturePanel.bind(this),selected:"add-comment"===this._flowItems[this._flowItems.length-1]},this.isMobile&&this.getActionToExpandCollapsePanel(),e("div",{class:"width-full",slot:"footer"},this._showSubmitCancelButton&&e("div",{class:"width-full",slot:"footer"},e("calcite-button",{appearance:"solid",class:"footer-top-button footer-button",onClick:this.onCreateRelatedFeatureSubmitButtonClick.bind(this),width:"full"},this._translations.submit),e("calcite-button",{appearance:"outline",class:"footer-button",onClick:this.backFromCreateRelatedFeaturePanel.bind(this),width:"full"},this._translations.cancel))),e("calcite-panel",null,e("create-related-feature",{customizeSubmit:!0,locale:this.locale,mapView:this.mapView,onFail:this.addCommentFailed.bind(this),onFormReady:this.onFormReady.bind(this),onIsActionPending:this.showSubmitCancelButton.bind(this),onSuccess:this.onCommentSubmitted.bind(this),ref:t=>this._createRelatedFeature=t,selectedFeature:this._currentFeature,table:this._relatedTable})))}async setSelectedFeatures(t){this._selectedFeature=t,await this.setCurrentFeature(this._selectedFeature.length?this._selectedFeature[0]:null)}async setCurrentFeature(t){if(this._currentFeature=t,t&&t.layer){const i=t.layer;this.setSelectedLayer(i.id,i.title),this._currentFeatureId=t.attributes[i.objectIdField],this._getLayersConfig(i.id)?.comment&&i.relationships.length>0&&await this.getRelatedTable()}else this._editableLayerIds.length>1&&(this.setSelectedLayer("",""),this.handlePrevLayersFilter()),this._currentFeatureId="";this._updateShareURL()}async highlightOnMap(t){if(this.clearHighlights(),t&&t.geometry&&t.layer){const i=await d(this.mapView,t.layer.id);i.highlightOptions=null,this._highlightHandle=await u([t.getObjectId()],i,this.mapView,!0,this.zoomToScale)}this.updatingFeatureDetails(!1)}clearHighlights(){this._highlightHandle&&this._highlightHandle.remove()}getActionToExpandCollapsePanel(){return e("calcite-action",{icon:this._sidePanelCollapsed?"chevrons-up":"chevrons-down",onClick:this.toggleSidePanel.bind(this),slot:"header-actions-end",text:this._sidePanelCollapsed?this._translations.expand:this._translations.collapse})}async setMapView(){await this.getLayersToShowInList(),await this._updateFeatures(),1===this._editableLayerIds?.length?await this.renderFeaturesList():this._flowItems=["layer-list"],this.mapView.popupEnabled=!1,this._defaultCenter&&this._defaultLevel&&(await this.mapView.goTo({center:this._defaultCenter,zoom:this._defaultLevel}),this._defaultCenter=void 0,this._defaultLevel=void 0)}handleMapClick(){this._mapClickHandle&&this._mapClickHandle.remove(),this._mapClickHandle=this.reactiveUtils.on((()=>this.mapView),"click",this.onMapClick.bind(this))}async onMapClick(t){this.mapView.popupEnabled=!1;const i=await this.mapView.hitTest(t);if(i.results.length>0){const t=[];i.results.forEach((function(i){"graphic"===i.type&&t.push(i.graphic)}));const s=t.filter((t=>this._validLayers.includes(t.layer))),e=t.filter((t=>!this._validLayers.includes(t.layer)&&t?.layer?.popupEnabled&&t?.layer?.id));if(s.length>0&&(await this.setSelectedFeatures(s),this._flowItems.length&&this._flowItems.includes("feature-details")?(this._flowItems=[...this._flowItems.slice(0,this._flowItems.indexOf("feature-details")+1)],await this.highlightOnMap(t[0])):this._flowItems=[...this._flowItems,"feature-details"]),e.length>0){this.mapView.popupEnabled=!0;const t={features:e,updateLocationEnabled:!0};await this.mapView.openPopup(t)}}}_getCount(){const t=(this._selectedFeatureIndex+1).toString(),i=this._selectedFeature.length.toString();return this._translations.indexOfTotal.replace("{{index}}",t).replace("{{total}}",i)}async _getTranslations(){const t=await o(this.el);this._translations=t[0]}_updateFloorDefinitionExpression(t){const i=`${t.floorInfo.floorField} = '${this.floorLevel}'`,s=t.definitionExpression;t.definitionExpression=s?.indexOf(this._floorExpression)>-1?s.replace(this._floorExpression,i):i,this._floorExpression=i}_getFormElements(){const t=this._selectedLayer,i=t?.floorInfo?.floorField;if(i&&this.floorLevel&&t?.formTemplate){const i=this._formElements.find((i=>i.id===t.id));0!==this._formElements.length&&i||this._formElements.push({id:t.id,orgElements:t.formTemplate.elements,orgExpressionInfos:t.formTemplate.expressionInfos})}}reduceToConfiguredLayers(t,i){return Object.keys(t).reduce(((s,e)=>{const a=this.reportingOptions?this._getLayersConfig(e)?.visible:t[e].supportsAdd;return!i.includes(e)&&a&&s.push(e),s}),[])}async _updateFeatures(){for(const t of this._editableLayerIds){const i=await d(this.mapView,t);await this._showMyFeaturesOnly(i);const s=i.layer?.floorInfo?.floorField;s&&this.floorLevel&&this._updateFloorDefinitionExpression(i.layer)}}async _showMyFeaturesOnly(t){const i=this.mapView.map.portalItem.portal?.credential?.userId;if(i){const s=t.layer.editFieldsInfo?.creatorField.toLowerCase();t.filter=this.showMyReportsOnly&&s?new this.FeatureFilter({where:s+"='"+i+"'"}):null}}async getLayersToShowInList(){const t=await p(this.mapView,!0),i=await n(this.mapView),s=[];i.forEach((i=>{"feature"===i?.type&&i?.editingEnabled&&i?.capabilities?.operations?.supportsAdd&&(t[i.id].supportsAdd=!0),i?.editingEnabled||s.push(i.id)})),this._editableLayerIds=this.reduceToConfiguredLayers(t,s),this._layerItemsHash=t}async renderFeaturesList(){this._flowItems=["feature-list"];const t={detail:this._editableLayerIds};await this.layerListLoaded(t),await this.setSelectedLayer(this._validLayers[0].id,this._validLayers[0].title),this.handleSelectedLayersFilter()}_updateShareURL(){const t=this._shareNode?.shareUrl;if(!t)return;const i=new URL(t);this._selectedLayerId?i.searchParams.set("layerid",this._selectedLayerId):i.searchParams.delete("layerid"),this._selectedFeature?.length?i.searchParams.set("oid",this._currentFeatureId):i.searchParams.delete("oid"),this._shareNode.shareUrl=i.href}async loadFeatureFromURLParams(){if(this.center&&this.level&&await this.mapView.goTo({center:this.center.split(";").map(Number),zoom:this.level}),this.layerId&&this.objectId){const t=await c(this.mapView,this.layerId);if(t){const i=await f([Number(this.objectId)],t,[],!0,this.mapView.spatialReference);i.length&&(await this.setSelectedFeatures(i),this._flowItems=this._flowItems.length&&"feature-details"!==this._flowItems[this._flowItems.length-1]?[...this._flowItems,"feature-details"]:[...this._flowItems])}}}async handleSelectedLayersFilter(){if(this._selectedLayer){const t=this.layerExpressions?structuredClone(this.layerExpressions.filter((t=>t.id===this._selectedLayerId))):[];null!=this._t9nLayerExpressions&&this.handleLayerExpressionsT9n(t,this._t9nLayerExpressions),this._currentLayerExpressions=t,this.setActiveDefinitionExpressions()}}async handlePrevLayersFilter(){if(this._prevSelectedLayerId){const t=await c(this.mapView,this._prevSelectedLayerId);t&&(t.definitionExpression=this._initDefExpressions[this._prevSelectedLayerId])}}resetFilterList(){this._filterList?.forceReset(),null!=this._selectedLayer&&(this._selectedLayer.definitionExpression=this._initDefExpressions[this._selectedLayerId],this._filterActive=!1)}setActiveDefinitionExpressions(){if(null==this._selectedLayer)return;const t=[];if(this._currentLayerExpressions?.length>0){const i=this._currentLayerExpressions[0];for(const s of i.expressions){const{active:i,definitionExpression:e}=s;i&&e&&t.push(`(${e})`)}this._filterActive=t.length>0,this.updateFilterLayerDefExpression(t,i.operator)}}updateFilterLayerDefExpression(t,i){const s=this._initDefExpressions[this._selectedLayerId],e=t?.length>0&&null!=s?`(${t.join(i)}) AND (${s})`:t.length>0?t.join(i):s;this._selectedLayer.definitionExpression=e}setInitExpressions(){if(this._initDefExpressions={},null==this.mapView)return;const t=this.mapView.map;t.allLayers.concat(t.allTables).forEach((t=>{"feature"===t.type&&(this._initDefExpressions[t.id]=t.definitionExpression)}))}handleLayerExpressionsT9n(t,i){t?.forEach((t=>{const s=i?.find((i=>i.id===t.id));null!=s&&(t.title=s.title,t.expressions?.forEach((t=>{const i=s.expressions?.find((i=>i.id===t.id));null!=i&&(t.name=i.name)})))}))}static get watchers(){return{isMobile:["isMobileWatchHandler"],locale:["localeWatchHandler"],mapView:["mapViewWatchHandler"],floorLevel:["floorLevelWatchHandler"],showMyReportsOnly:["showMyReportsOnlyWatchHandler"],layerExpressions:["layerExpressionsWatchHandler"],showFeatureSymbol:["showFeatureSymbolWatchHandler"]}}};m.style=":host{display:block;--calcite-label-margin-bottom:0px;--solutions-theme-foreground-color:var(--calcite-color-foreground-1)}.width-full{width:100% !important}.width-0{width:0}.height-full{height:100% !important}.height-0{height:0}.overflow-hidden{overflow:hidden}.border{border:1px solid var(--calcite-color-border-3)}.notice-msg{padding:10px;width:calc(100% - 20px)}.progress-bar{padding:12px}.footer-top-button{padding-bottom:7px}.footer-button{height:35px}.feature-pagination{background-color:var(--calcite-color-foreground-1) !important;border-block-end:1px solid var(--calcite-color-border-3);display:flex;justify-content:center;padding:5px 0}.pagination-count{color:var(--calcite-color-brand);border-bottom:1px solid var(--calcite-color-brand);font-weight:bold}.report-submitted-msg{position:absolute;z-index:1000}.share-node{display:flex}";export{m as crowdsource_reporter}
@@ -1,6 +0,0 @@
1
- /*!
2
- * Copyright 2022 Esri
3
- * Licensed under the Apache License, Version 2.0
4
- * http://www.apache.org/licenses/LICENSE-2.0
5
- */
6
- import{r as t,c as i,g as e,h as s,F as a,H as h}from"./p-e996c38f.js";import{l as o,g as n}from"./p-404cbf48.js";import{a as d,g as c}from"./p-dcd2f00b.js";import{P as r}from"./p-bf04c6f4.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";import"./p-80cb7c73.js";import"./p-db3391b9.js";import"./p-4fe489cf.js";import"./p-2bc98cb0.js";import"./p-4f236b5d.js";import"./p-570b13d9.js";import"./p-0668e30d.js";const l=class{constructor(e){t(this,e),this.success=i(this,"success",7),this.fail=i(this,"fail",7),this.drawComplete=i(this,"drawComplete",7),this.editingAttachment=i(this,"editingAttachment",7),this.progressStatus=i(this,"progressStatus",7),this.modeChanged=i(this,"modeChanged",7),this.customizeSubmit=!1,this.enableSearch=!1,this.floorLevel=void 0,this.formElements=void 0,this.isMobile=void 0,this.locale=void 0,this.mapView=void 0,this.searchConfiguration=void 0,this.selectedLayerId=void 0,this.showGuidingMsg=!0,this.showGuidingMsgWhileDrawing=!0,this.submitNewReportsMessage=void 0,this._currentPage="templatePicker",this._editorLoading=!1,this._translations=void 0}get el(){return e(this)}Editor;ExpressionInfo;FeatureLayer;FieldElement;FormTemplate;MapView;Search;_addingAttachment;_calciteNotice;_container;_editor;_isSubmitBtnClicked=!1;_mapViewContainer;reactiveUtils;_search;_searchDiv;_selectedLayer;_updatedMapView;async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}async mapViewWatchHandler(){await this.mapView.when((async()=>{await this.init()}))}async isMobileHandler(){this.modeChanged.emit()}async _editorLoadingWatchHandler(t){if(t){if(this._container?.classList.add("display-none"),this._selectedLayer?.isTable){const t={layer:this._selectedLayer,template:this._selectedLayer.templates[0]};await this._editor.startCreateFeaturesWorkflowAtFeatureCreation(t),await this.hideEditorsElements()}else await this.startCreate();this._container?.classList.remove("display-none"),this._editorLoading=!1}}async submit(){this._editor&&(this._isSubmitBtnClicked=!0,this._editor.viewModel.featureFormViewModel.submit())}async refresh(t){this._editor&&this._setFloorLevel(t)}success;fail;drawComplete;editingAttachment;progressStatus;modeChanged;async componentWillLoad(){await this._getTranslations(),await this.initModules()}async componentDidLoad(){await this.init()}componentDidRender(){this.isMobile&&(this._mapViewContainer.style.top=`${this._calciteNotice.offsetHeight+this._searchDiv.offsetHeight+80}px`)}disconnectedCallback(){this._editor&&this._editor.destroy()}render(){const t="drawing"===this._currentPage?"":"display-none",i=this._editorLoading?"":"display-none",e=this._editorLoading?"display-none":"",h=this.isMobile?"show-map":"display-none";let o=this._translations.chooseCategoryMsg;return"drawing"===this._currentPage?o=this._translations.provideLocationMsg:"featureForm"===this._currentPage&&(o=this._translations.provideDetailsMsg),s(a,{key:"cb3462a70e0097e9b4ac9dac3f910fce6d30f8b5"},this.showGuidingMsg&&(this.showGuidingMsgWhileDrawing||"drawing"!==this._currentPage)&&s("calcite-notice",{key:"ddd908ac4b31f60d07de064ec1decae06b3d93bd",class:"notice-msg",icon:"lightbulb",kind:"success",open:!0,ref:t=>this._calciteNotice=t},s("div",{key:"3cee10085fa29190d88d3d03d35f726d1b51651b",slot:"message"},o)),s("calcite-loader",{key:"cf714d63a011712fa03c148c17a8811356e14859",class:i,label:"",scale:"s"}),s("div",{key:"e20cb740a1d22795b397af191a26339d709aba0d",class:e,id:"feature-form"}),this.enableSearch&&s("div",{key:"d2b439d3845b69527fdea2414c7b22078b0af4ea",class:`search-widget ${t} ${e}`,id:"search-widget-ref",ref:t=>this._searchDiv=t}),s("div",{key:"1f4e39aaaa93f4e2102767c04c5ad256e4f129e2",class:`${h}`,ref:t=>{this._mapViewContainer=t}}))}async init(){this.mapView&&this.selectedLayerId&&(this._updatedMapView=this.mapView,await(this.isMobile?this.createMobileMapView():this._loadWidgets()))}async initModules(){const[t,i,e,s,a,h,n]=await o(["esri/widgets/Editor","esri/core/reactiveUtils","esri/widgets/Search","esri/form/ExpressionInfo","esri/form/elements/FieldElement","esri/form/FormTemplate","esri/views/MapView"]);this.Editor=t,this.reactiveUtils=i,this.Search=e,this.ExpressionInfo=s,this.FieldElement=a,this.FormTemplate=h,this.MapView=n}async createMobileMapView(){this._mapViewContainer.classList.add("hide-map"),await new this.MapView({map:this.mapView.map,container:this._mapViewContainer,zoom:this.mapView.zoom}).when((t=>{this._updatedMapView=t,this._loadWidgets()}),(t=>{console.log(t)}))}async _loadWidgets(){await this.createEditorWidget(),this.enableSearch&&await this.createSearchWidget()}async createEditorWidget(){this._editor&&this._editor.destroy();const t=[];this._container=document.createElement("div"),this._container?.classList.add("display-none");const i=await d(this._updatedMapView);this._selectedLayer=await c(this.mapView,this.selectedLayerId),this._selectedLayer?.isTable||i.forEach((async i=>{t.push({layer:i,enabled:"feature"===i?.type&&i?.id===this.selectedLayerId,addEnabled:!0,updateEnabled:!1,deleteEnabled:!1})})),this._editor=new this.Editor({view:this._updatedMapView,layerInfos:t,visibleElements:{snappingControls:!1,createFeaturesSection:!0,editFeaturesSection:!1},container:this._container}),this._mapViewContainer?this.el.insertBefore(this._container,this._mapViewContainer):this.el.appendChild(this._container);const e=this.reactiveUtils.watch((()=>this._editor.viewModel.state),(t=>{"adding-attachment"===t||"editing-attachment"===t?(this._addingAttachment=!0,this.editingAttachment.emit(!0)):this._addingAttachment&&(this.editingAttachment.emit(!1),this._addingAttachment=!1)}));this._editor.viewModel.addHandles(e);const s=this.reactiveUtils.watch((()=>this._editor.viewModel.featureTemplatesViewModel.state),(t=>{"ready"===t&&"create-features"!==this._editor.viewModel?.activeWorkflow?.type&&(this.progressStatus.emit(50),this._editorLoading=!0)}));this._editor.viewModel.addHandles(s);const a=this.reactiveUtils.watch((()=>this._editor.viewModel.featureFormViewModel?.state),(t=>{"ready"===t&&(this._mapViewContainer?.classList?.replace("show-map","hide-map"),this._editor.viewModel.featureFormViewModel.on("submit",this.submitted.bind(this)),setTimeout((()=>{this._setFloorLevel(this.floorLevel)}),50),this._currentPage="featureForm",this.progressStatus.emit(100),this.drawComplete.emit())}));this._editor.viewModel.addHandles(a);const h=this.reactiveUtils.watch((()=>this._editor.viewModel.state),(t=>{"creating-features"===t&&"disabled"===this._editor.viewModel.featureFormViewModel.state&&(this._mapViewContainer?.classList?.replace("hide-map","show-map"),this._selectedLayer&&!this._selectedLayer.isTable&&(this._currentPage="drawing"))}));this._editor.viewModel.addHandles(h)}async startCreate(){return await this.hideEditorsElements(),new Promise(((t,i)=>{if(this._editor.viewModel.featureTemplatesViewModel.items?.length){const e=this._editor.viewModel.featureTemplatesViewModel.items[0].items;this._editor.viewModel.featureTemplatesViewModel.on("select",(()=>{this.progressStatus.emit(75),setTimeout((()=>{this.hideEditorsElements().then((()=>{t({})}),(t=>i(t)))}),700)})),1===e.length&&this._editor.viewModel.featureTemplatesViewModel.select(e[0]);const s=e.length>1;this.hideEditorsElements().then((()=>{s&&t({})}),(t=>s&&i(t)))}}))}async createSearchWidget(){let t={view:this._updatedMapView};this.searchConfiguration&&(t={...this._getSearchConfig(this.searchConfiguration,this._updatedMapView)}),this._search=new this.Search(t),this._search.container="search-widget-ref",this._search.popupEnabled=!1,this._search.resultGraphicEnabled=!1;let i=null;this._search.on("search-complete",(t=>{this._updatedMapView.goTo(t.results[0].results[0].extent),"point"===this._selectedLayer.geometryType&&(i=t.results[0].results[0]?.feature.geometry)}));const e=this.reactiveUtils.watch((()=>this._search.viewModel.state),(t=>{"ready"===t&&setTimeout((()=>{this._editor.viewModel.sketchViewModel.createGraphic&&i&&(this._editor.viewModel.sketchViewModel.createGraphic.set("geometry",i),this._editor.viewModel.sketchViewModel.complete(),this.hideEditorsElements())}),100)}));this._search.viewModel.addHandles(e)}_getSearchConfig(t,i){const e=t.sources;return e?.length>0?(t.includeDefaultSources=!1,e.forEach((t=>{if(t.hasOwnProperty("layer")){const e=t,s=e.layer?.id,a=s?i.map.findLayerById(s):null,h=e?.layer?.url;a?e.layer=a:h&&(e.layer=new this.FeatureLayer(h))}})),e?.forEach((t=>{if(t.hasOwnProperty("locator")){const i=t;"ArcGIS World Geocoding Service"===i?.name&&(i.outFields=i.outFields||["Addr_type","Match_addr","StAddr","City"],i.singleLineFieldName="SingleLine"),i.url=i.url,delete i.url}}))):t={...t,includeDefaultSources:!0},t}async _setFloorLevel(t){if(!t)return;const i=this._selectedLayer;if(i?.floorInfo?.floorField){const e=i.fields.find((t=>t.name===i.floorInfo.floorField));if(e&&!i?.formTemplate)this._editor.viewModel.featureFormViewModel.setValue(e.name,t),e.editable=!1;else if(i.formTemplate&&this.formElements){const e=new this.ExpressionInfo({expression:`"${t}"`,name:"floor-info-test",title:"Floor Info",returnType:"string"}),s=new this.FieldElement({label:i.floorInfo.floorField,editableExpression:"false",fieldName:i.floorInfo.floorField,input:{type:"text-box",maxLength:50,minLength:0},valueExpression:e.name});this._updatedMapView.map.editableLayers.forEach((t=>{const i=this.formElements.orgExpressionInfos,a=[...this.formElements.orgElements];a.push(s);const h=new this.FormTemplate({title:t.formTemplate.title,description:t.formTemplate.description,elements:a,expressionInfos:[e].concat(i)});t.formTemplate=h}))}}}async hideEditorsElements(){this.customizeSubmit&&(await this.timeout(700),this.el.querySelector(".esri-editor")?.querySelectorAll("calcite-flow-item")?.forEach((t=>{const i=t.shadowRoot?.querySelector("calcite-panel")?.shadowRoot?.querySelector("article");i?.querySelector("header")?.setAttribute("style","display: none"),i?.querySelector("footer")?.setAttribute("style","display: none")})))}async submitted(t){if(t.invalid.length)this._isSubmitBtnClicked=!1;else if(this._isSubmitBtnClicked){this._isSubmitBtnClicked=!1;try{await this._editor.activeWorkflow.commit(),this._editor.viewModel.failures?.length&&this._editor.viewModel.failures.some((t=>{if(t.error)throw t.error}))}catch(t){return void this.fail.emit(t)}this.success.emit()}}timeout(t){return new Promise((i=>setTimeout(i,t)))}async _getTranslations(){const t=await n(this.el);this._translations=t[0]}static get watchers(){return{locale:["localeWatchHandler"],mapView:["mapViewWatchHandler"],isMobile:["isMobileHandler"],_editorLoading:["_editorLoadingWatchHandler"]}}};l.style=":host{display:block}.esri-editor__panel-toolbar{display:none !important}.esri-editor__panel-content{padding-block:0px !important}.esri-editor .esri-item-list__group__header{display:none !important}.esri-editor__panel-content__section .esri-widget__heading{display:none !important}.esri-editor .esri-item-list__filter-container--sticky{padding-block:0px !important;padding-inline:10px !important}.search-widget{width:92% !important;margin:5px 14px 20px 14px}.display-none{display:none !important}.hide-map{height:1%;visibility:hidden}.show-map{padding:10px !important;position:absolute !important;bottom:0;height:auto !important;width:calc(100% - 22px)}.notice-msg{padding:10px;width:calc(100% - 20px)}.esri-editor__panel-content{padding-block:10px !important}@media only screen and (max-width: 600px){.esri-editor__panel-content{padding-block:0 !important;min-height:0 !important}}";const p=class{constructor(e){t(this,e),this.editsComplete=i(this,"editsComplete",7),this.deleteDialog=void 0,this.buttonType="button",this.disabled=!1,this.icon=void 0,this.ids=[],this.layer=void 0,this.locale=void 0,this._confirmDelete=!1,this._deleteEndabled=!1,this._supportsDelete=void 0,this._translations=void 0}get el(){return e(this)}async idsWatchHandler(){this._setDeleteEnabled()}async layerWatchHandler(){this._setDeleteEnabled()}async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}editsComplete;async componentWillLoad(){await this._getTranslations()}render(){return s(h,{key:"73d07f24703df76fdacc1b3a1ec80cfdd7bbee30"},"button"===this.buttonType?s("calcite-button",{appearance:"outline",disabled:!this._deleteEndabled,id:"solutions-delete",kind:"danger",onClick:()=>this._delete(),width:"full"},this._translations.deleteCount.replace("{{n}}",this.ids.length.toString())):s("calcite-action",{appearance:"solid",disabled:!this._deleteEndabled,id:this.icon,onClick:()=>this._delete(),scale:"s",text:this._translations.delete},s("calcite-button",{appearance:"transparent",iconStart:this.icon,kind:"danger"},this._translations.delete)),this._deleteMessage(),s("calcite-tooltip",{key:"803898895029bd098264b9144ff5ccee102d4ae8",placement:"bottom","reference-element":"button"===this.buttonType?"solutions-delete":this.icon},s("span",{key:"a920ffea1849667cd58812a2c1813d2e066f0064"},this._translations.delete)))}async componentDidLoad(){this._setDeleteEnabled()}_setDeleteEnabled(){this._supportsDelete=this.layer?.editingEnabled&&this.layer?.capabilities?.operations?.supportsDelete,this._deleteEndabled=!this.disabled||this._supportsDelete&&this.ids.length>0}_delete(){this._confirmDelete=!0}_deleteMessage(){return this.deleteDialog?this.deleteDialog:s("delete-dialog",{id:"solution-delete-dialog",ids:this.ids,layer:this.layer,locale:this.locale,onDeleteDialogClose:()=>this._confirmDelete=!1,open:this._confirmDelete})}async _getTranslations(){const t=await n(this.el);this._translations=t[0]}static get watchers(){return{ids:["idsWatchHandler"],layer:["layerWatchHandler"],locale:["localeWatchHandler"]}}};p.style=":host{display:block}.delete-modal{position:fixed}";const f=class{constructor(e){t(this,e),this.closeEdit=i(this,"closeEdit",7),this.editorInitialized=i(this,"editorInitialized",7),this.editsComplete=i(this,"editsComplete",7),this.refreshGraphics=i(this,"refreshGraphics",7),this.enableEditGeometry=!1,this.graphics=void 0,this.locale=void 0,this.mapView=void 0,this.open=!1,this.graphicIndex=0,this._editorLoading=!1,this._translations=void 0}get el(){return e(this)}_activeWorkflowHandle;_addRelatedRecordHandle;_attachmentHandle;_editHandle;_layerEditHandle;Editor;_editor;_layer;_editContainer;_editControlElements;_editingDisabled;_shouldClose=!1;reactiveUtils;async graphicsWatchHandler(){0===this.graphics.length&&this.open&&await this._closeEdit(!0)}async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}async openWatchHandler(t){t&&this.graphics?.length>0&&this.graphicIndex>-1&&(this._editorLoading=!0,await this._initEditorWidget(),this.graphicIndex>-1&&this.graphics.length>0&&this.open&&!this._shouldClose&&await this._startUpdate(),this._editorLoading=!1),t||await this._closeEdit(!0)}closeEdit;editorInitialized;editsComplete;refreshGraphics;async featureSelectionChange(){this.open&&await this._closeEdit(!1)}async componentWillLoad(){await this._initModules(),await this._getTranslations()}async componentWillRender(){this.graphics?.length>0&&this.graphics[0]?.layer&&(this._layer=this.graphics[0].layer,this._layerEditHandle&&this._layerEditHandle.remove(),this._layerEditHandle=("subtype-sublayer"===this._layer.type?this._layer.parent:this._layer).on("edits",(()=>{this.editsComplete.emit()})))}render(){const t=this._editorLoading?"display-none":"position-absolute",i=this._editorLoading?"":"display-none";return s(h,{key:"e181f65e7218ce0350de5dcab9049ff63a5d39c1"},s("div",{key:"44bf2b5cf31c5acc7f65fb7ec50fd84e77c95470",class:"position-absolute"},this.graphics?.length>0&&this.graphics[0]&&this.graphics[0].layer.editingEnabled?void 0:s("calcite-notice",{kind:"warning",open:!0,slot:"content-top",width:"full"},s("div",{slot:"message"},this._translations.enableEditing)),s("div",{key:"97119476aa2a992ccadc1d61119f2640d195e7b1",class:"position-absolute"},s("div",{key:"f429decea684a6a22db89de89da3755bdbff19cc",class:t,id:"feature-form",ref:t=>this._editContainer=t}),s("calcite-loader",{key:"3ea908ef8dadd2f1c85bfac1b344f8b4441b8706",class:i,label:"",scale:"s"}))))}async _initModules(){const[t,i]=await o(["esri/widgets/Editor","esri/core/reactiveUtils"]);this.Editor=t,this.reactiveUtils=i}async _initEditorWidget(){if(this.mapView&&this.graphics&&this.graphics.length>0&&this.graphics[0]){this._editor&&this._editor.destroy();const t=document.createElement("div"),i=(await d(this.mapView)).map((t=>({layer:t,geometryUpdatesEnabled:this.enableEditGeometry})));this._editor=new this.Editor({view:this.mapView,layerInfos:i,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),this.editorInitialized.emit(this._editor)}}async _closeEdit(t){this._shouldClose=!0,t&&this._editor?.activeWorkflow?(this._editor.activeWorkflow?.activeWorkflow?.hasPendingEdits&&(await this._editor.activeWorkflow.reset(),await this._editor.cancelWorkflow()),this._editor.destroy()):this.graphicIndex>-1&&this.graphics?.length>0&&this.refreshGraphics.emit(this.graphics),this._shouldClose=!1,this.closeEdit.emit()}async _startUpdate(){await this._editor.startUpdateWorkflowAtFeatureEdit(this.graphics[this.graphicIndex]),this._shouldClose=!0}async _getTranslations(){const t=await n(this.el);this._translations=t[0]}static get watchers(){return{graphics:["graphicsWatchHandler"],locale:["localeWatchHandler"],open:["openWatchHandler"]}}};f.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 b=class{constructor(e){t(this,e),this.popupClosed=i(this,"popupClosed",7),this.clearSelection=i(this,"clearSelection",7),this.selectionChanged=i(this,"selectionChanged",7),this.enableEditGeometry=!1,this.graphics=void 0,this.isLoading=!1,this.isMobile=void 0,this.mapView=void 0,this.allowEditing=!0,this.highlightEnabled=!0,this.locale=void 0,this.paginationEnabled=!0,this.position="absolute",this.showCloseBtn=!1,this._alertOpen=!1,this._count="",this._editRecordOpen=!1,this._mobileTitle="",this._showListView=!1,this._translations=void 0,this._navigatedToRelatedFeature=void 0}get el(){return e(this)}Features;_editEnabled;_features;_layer;_popupUtils;_featuresNodeId="features-node"+(new Date).getMilliseconds().toString();reactiveUtils;_relatedFeature;async graphicsWatchHandler(){this._navigatedToRelatedFeature&&this._features&&(this._features.clear(),this._features.close(),this._count="",this._navigatedToRelatedFeature=!1),await this.setGraphics()}async isMobileWatchHandler(){await this._initFeaturesWidget()}async localeWatchHandler(){if(this.el.lang=this.locale,await this._getTranslations(),this._features){const t=[...this.graphics];this.graphics=[],this.graphics=t}}async mapViewWatchHandler(){return await this._initFeaturesWidget()}async getSelectedFeature(){return this._features.selectedFeature}async refresh(){await this.setGraphics()}async back(){this._features.previous(),this._count=this._getCount()}async next(){this._features.next(),this._count=this._getCount()}async toggleListView(){this._showListView=!this._showListView;const t=this._features.selectedFeatureIndex;this._features.open({features:this.graphics,featureMenuOpen:this._showListView}),this._features.selectedFeatureIndex=t}async updateCurrentGraphic(t){this._features.selectedFeatureWidget.graphic=t}popupClosed;clearSelection;selectionChanged;async closeEdit(){this._editRecordOpen=!1}async layerSelectionChange(){this._showListView=!1,this._features?.viewModel&&(this._features.viewModel.featureMenuOpen=!1,this._features.close())}async refreshGraphics(t){this._navigatedToRelatedFeature||(this.graphics=[...t.detail])}async componentWillLoad(){await this._initModules(),await this._getTranslations(),this._popupUtils=new r}async componentDidLoad(){this.graphics?.length>0&&await this.setGraphics()}render(){const t=this.isLoading?"":"display-none",i=this.isLoading||this._editRecordOpen?"visibility-hidden":"position-absolute",e=!this.isLoading&&this._editRecordOpen?"position-absolute":"display-none",a=!this.isLoading&&this._editRecordOpen||this._showListView?"display-none":"",o=this._features?.features?.length<2||this._navigatedToRelatedFeature,n=this.isMobile?"display-none":"",d=this._features?.selectedFeature?.getObjectId(),c=parseInt(d?.toString(),10)>-1?[d]:[],r=this._layer?.editingEnabled&&this._layer?.capabilities?.operations?.supportsDelete,l=this._relatedFeature?[this._relatedFeature]:this.graphics,p=this._navigatedToRelatedFeature?0:this._features?.selectedFeatureIndex;return s(h,{key:"9f75eb2e7aba944474e85c34b2abe23982629558"},s("calcite-shell",{key:"748f9e50cd3aa7a52dd7910b171c0d7f54d09203",style:{position:this.position}},this._getHeader(),s("calcite-loader",{key:"feced4d4a66df36958644436acaa53ddabdfc02a",class:t,label:this._translations.fetchingData}),s("div",{key:"3bb912c80d610a21a5e283c6bd19ab0c63023c45",class:"esri-widget feature-node "+i,id:this._featuresNodeId}),s("div",{key:"479dcbda08f837b32bd19ed7f40856f081e92a6e",class:`${a} width-100`,slot:"footer"},this.allowEditing&&s("div",{key:"dd78b02ba8506c391aada6c5233691ec9babcfbe",class:"display-flex top-border padding-1-2"},s("calcite-button",{key:"c5a807609c60151a433fa9c0055fbfdf20b2935f",appearance:"solid",id:"solutions-edit",onClick:()=>this._openEditRecord(),width:"full"},this._translations.edit),this.isMobile&&r?s("delete-button",{class:"padding-inline-start-1 width-100",id:"solutions-delete",ids:c,layer:this._layer,locale:this.locale,onEditsComplete:()=>this._closePopup()}):void 0,s("calcite-tooltip",{key:"a4cd4c77e982e23675ec9eaf08e2135de6c83b65",placement:"bottom","reference-element":"solutions-edit"},s("span",{key:"22533608996d1c87b9b04e339506ec01176379b0"},this._translations.edit)),this.isMobile&&r?s("calcite-tooltip",{placement:"bottom","reference-element":"solutions-delete"},s("span",null,this._translations.delete)):void 0),this.paginationEnabled&&!o&&s("div",{key:"183ff7da57a06de8f5419edf5973f18b41c46097",class:`display-flex padding-1-2 button-container top-border ${n}`},s("div",{key:"77e59229d1d516ccdc8f7c5be2f89a5ad9d5004b"},s("calcite-button",{key:"4b6a6f1f85e9199e14d626ba66b6b319283d0c32",appearance:"transparent",disabled:o,iconFlipRtl:"both",iconStart:"chevron-left",id:"solutions-back",onClick:()=>this._back(),width:"full"}),s("calcite-tooltip",{key:"7056c5cb3c790c804194f09f2586864a28dce5e1",placement:"top","reference-element":"solutions-back"},s("span",{key:"923fc5425a9faced6952a1b9acff9b7d0f3da286"},this._translations.back))),s("calcite-action",{key:"a34bfb4ae71a91373fd476e7b704a6a2f8f23157",class:"pagination-action",iconFlipRtl:!0,onClick:()=>this._toggleListView(),scale:"s",text:"",textEnabled:!0},s("span",{key:"101a0fa592af65b540123c835e9031a18671ad8b",class:"pagination-count"},this._count)),s("div",{key:"c4f88f464a3091dfc77578470de4f42d05b9f5c7"},s("calcite-button",{key:"e4e35e539f0c7e01a31e0047db545d4d334ef2d8",appearance:"transparent",disabled:o,iconFlipRtl:"both",iconStart:"chevron-right",id:"solutions-next",onClick:()=>this._next(),width:"full"}),s("calcite-tooltip",{key:"40244ecf5566fde448b311272d2ee00d70bc531a",placement:"top","reference-element":"solutions-next"},s("span",{key:"db01e2a2b9da9a80f9a25caf49bf8beb872e6ad9"},this._translations.next))))),s("edit-card",{key:"cfa193b01b67f7709ea6a491caa0c647c536e9e3",class:e,enableEditGeometry:this.enableEditGeometry,graphicIndex:p,graphics:l,locale:this.locale,mapView:this.mapView,open:this._editRecordOpen}),s("calcite-alert",{key:"709fd6d681d32a03fcf5fba959e81a0153676e26",icon:"layer-broken",kind:"warning",label:"",onCalciteAlertClose:()=>this._alertClosed(),open:this._alertOpen,placement:"top"},s("div",{key:"bbdd9cc98fcda8ffba294a4322f08468072f6aef",slot:"title"},this._translations.editDisabled),s("div",{key:"d07e32e9cd54cc82ff005e7e696e13e1b8bdaa4e",slot:"message"},this._translations.enableEditing))))}async _initModules(){const[t,i]=await o(["esri/widgets/Features","esri/core/reactiveUtils"]);this.Features=t,this.reactiveUtils=i}async setGraphics(){this._features||await this._initFeaturesWidget(),this.graphics.length>0?(this._layer=this.graphics[0]?.layer,this._editEnabled=this._layer.editingEnabled&&this._layer.capabilities.operations.supportsUpdate,this._mobileTitle=await this._popupUtils.getPopupTitle(this.graphics[0],this.mapView.map),this._features.open({features:this.graphics})):(this._features.clear(),this._features.close()),this._count=this._getCount()}async _initFeaturesWidget(){return void 0!==this.isMobile?await(this.mapView?.when((()=>{this._features?(this._features.view=this.mapView,this._features.visibleElements.actionBar=!1,this._features.visibleElements.closeButton=this.showCloseBtn,this._features.visibleElements.heading=!this.isMobile):(this._features=new this.Features({view:this.mapView,container:this._featuresNodeId,visibleElements:{actionBar:!1,closeButton:this.showCloseBtn,heading:!this.isMobile}}),this._features.viewModel.highlightEnabled=this.highlightEnabled,this.reactiveUtils.watch((()=>this._features.viewModel.featureMenuOpen),(t=>{this._count=this._getCount(),t||(this._showListView=t)})),this.reactiveUtils.watch((()=>this._features.selectedFeatureIndex),(t=>{t>-1&&this.selectionChanged.emit({selectedFeature:[this._features.selectedFeature],selectedFeatureIndex:this._features.selectedFeatureIndex})})),this.reactiveUtils.watch((()=>this._features.selectedDrillInFeature),(t=>{t?(this._relatedFeature=t,this._navigatedToRelatedFeature=!0):(this._relatedFeature=null,this._navigatedToRelatedFeature=!1)})),this.el.querySelector("#"+this._featuresNodeId).addEventListener("calciteFlowItemClose",(()=>{this.clearSelection.emit()})))}))):Promise.resolve()}_getHeader(){return this.isMobile&&!this._editRecordOpen?s("calcite-panel",{class:"border-width-0",slot:"header"},s("calcite-action",{class:"end-border",icon:"chevron-left",iconFlipRtl:!0,onClick:()=>this._closePopup(),scale:"s",slot:"header-actions-start",text:""}),s("span",{class:"font-bold",slot:"header-content"},this._mobileTitle)):void 0}_closePopup(){this.popupClosed.emit()}_alertClosed(){this._alertOpen=!1}_openEditRecord(){this._editEnabled?this._editRecordOpen=!0:this._alertOpen=!0}_back(){this._features.previous(),this._count=this._getCount()}_next(){this._features.next(),this._count=this._getCount()}_getCount(){const t=(this._features?.viewModel.selectedFeatureIndex+1).toString(),i=this._features?.features?.length.toString();return this._translations.indexOfTotal.replace("{{index}}",t).replace("{{total}}",i)}_toggleListView(){this._showListView=!this._showListView;const t=this._features.selectedFeatureIndex;this._features.open({features:this.graphics,featureMenuOpen:this._showListView}),this._features.selectedFeatureIndex=t}async _getTranslations(){const t=await n(this.el);this._translations=t[0]}static get watchers(){return{graphics:["graphicsWatchHandler"],isMobile:["isMobileWatchHandler"],locale:["localeWatchHandler"],mapView:["mapViewWatchHandler"]}}};b.style=":host{display:block;--calcite-label-margin-bottom:0}.padding-1-2{padding:0.5rem}.display-none{display:none !important}.display-flex{display:flex}.position-absolute{position:absolute;top:0;right:0;bottom:0;left:0;overflow:auto}.feature-node{position:relative !important}.feature-node .esri-features__footer{display:none !important}.button-container{justify-content:center;align-items:center}.top-border{border-top:1px solid var(--calcite-color-border-1)}.width-100{width:100%}.esri-features__container{padding:0.5rem !important;background-color:var(--calcite-color-foreground-1) !important;height:100% !important}.overflow-hidden{overflow:hidden}.height-40{height:40px}.end-border{border-inline-end:1px solid var(--calcite-color-border-1)}.font-bold{font-weight:bold}.visibility-hidden{visibility:hidden;height:0px}.padding-inline-start-1{padding-inline-start:1rem}.border-width-0{border-width:0px}.pagination-action{position:relative;left:3px}.pagination-count{color:var(--calcite-color-brand);border-bottom:1px solid var(--calcite-color-brand);font-weight:bold}";export{l as create_feature,p as delete_button,f as edit_card,b as info_card}
@@ -1,6 +0,0 @@
1
- /*!
2
- * Copyright 2022 Esri
3
- * Licensed under the Apache License, Version 2.0
4
- * http://www.apache.org/licenses/LICENSE-2.0
5
- */
6
- import{r as t,c as i,g as s,h as e,H as a}from"./p-e996c38f.js";import{g as h,l as o}from"./p-404cbf48.js";import{g as l,q as n,e as c,f as r,c as d}from"./p-dcd2f00b.js";import{d as p}from"./p-db3391b9.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";import"./p-80cb7c73.js";import"./p-4fe489cf.js";import"./p-2bc98cb0.js";import"./p-4f236b5d.js";import"./p-570b13d9.js";import"./p-0668e30d.js";const f=class{constructor(s){t(this,s),this.createWorkFlowStarted=i(this,"createWorkFlowStarted",7),this.backFromCreateWorkFlow=i(this,"backFromCreateWorkFlow",7),this.featureOrRecordSubmitted=i(this,"featureOrRecordSubmitted",7),this.customInfoText=void 0,this.enableEditGeometry=!1,this.isMobile=void 0,this.layer=void 0,this.locale=void 0,this.mapView=void 0,this.zoomAndScrollToSelected=void 0,this.selectedFeaturesIds=void 0,this.enableCreateFeatures=!0,this.selectingFeatureFromMap=void 0,this._cardLoading=!1,this._graphics=void 0,this._showCreateFeatureComponent=!1,this._showSubmitBtn=!1,this._translations=void 0}get el(){return s(this)}_isFeatureCreated=!1;_createFeature;async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}createWorkFlowStarted;backFromCreateWorkFlow;featureOrRecordSubmitted;async featureSelectionChange(t){this._showCreateFeatureComponent&&!this._isFeatureCreated&&this._backFromCreateFeature();const i=t.detail;this._graphics=await this._getFeaturesByIds(i)}async layerSelectionChange(t){this._showCreateFeatureComponent&&this._backFromCreateFeature();const i=t.detail[0];this.layer=await l(this.mapView,i)}async componentWillLoad(){await this._getTranslations(),this.selectedFeaturesIds?.length>0&&(this._graphics=await this._getFeaturesByIds(this.selectedFeaturesIds))}render(){const t=this._graphics?.length>0?"":"display-none",i=0===this._graphics?.length&&this._showCreateFeatureComponent?"":"display-none",s=this._graphics?.length>0||this._showCreateFeatureComponent?"display-none":"",h=this.layer?.isTable,o=h?this._translations.createRecord:this._translations.createFeature,l=this.customInfoText?this.customInfoText:this.selectingFeatureFromMap?this._translations.selectFeaturesFromMapToStart:this._translations.selectFeaturesToStart,n=this.enableCreateFeatures&&this.layer?.capabilities?.operations?.supportsAdd;return e(a,{key:"5557aa4d80b859335e38db3f4255f4a61d00560f"},e("div",{key:"6756e3314fc3444a982010a3cfa702d77f05f316",class:"overflow-auto height-full"},e("calcite-shell",{key:"715eb7ed692a1d00347d44f20df370cf9a91ded5",class:"position-relative "+t},e("div",{key:"baf4e97c1884f477e4077a6dc8e59d98c77593a4",class:"position-static z-index-500"},e("info-card",{key:"0b9b30182fbc3482e9edf49b79f68aec8cf86adc",enableEditGeometry:this.enableEditGeometry,graphics:this._graphics,isLoading:this._cardLoading,isMobile:this.isMobile,locale:this.locale,mapView:this.mapView,showCloseBtn:!0}))),e("calcite-shell",{key:"94b646061956a78dec4f96d9d1d9dedc5ad6aee7",class:"position-relative "+s},e("calcite-panel",{key:"00b660d474234f8156f3d4c627626f5891754051"},e("div",{key:"adb0732ff59c4fdedb19367a32ad9e3e060ddb60",class:"padding-1"},e("calcite-notice",{key:"a2c88bd4a0827111b0d1f3056ae571b47e5b380b",icon:this.selectingFeatureFromMap?"map":"table",iconFlipRtl:!0,open:!0},e("div",{key:"bffc2630de3f0376b6ea5827c89f65dc605a5356",slot:"message"},l))),!this.isMobile&&n&&e("calcite-button",{key:"08bef5c20d6b60e17abcfc9fc19d7d1eb5d04b1c",disabled:!this.layer,onClick:()=>this._createFeatureBtnClicked(),slot:"footer",width:"full"},h?this._translations.createRecord:this._translations.createFeature))),e("calcite-shell",{key:"833a8de60b491008006034c1696fcb29f1bb6a08",class:"position-relative "+i},e("calcite-flow-item",{key:"dd2ae4509e4bec5a90f33484f8a28f422c0eeee4"},e("calcite-panel",{key:"8fa68650f1933a88cdaf1fee8391cf433b7b54e9",heading:o},e("calcite-action",{key:"2b205887ff8703e01ef356cae09ce5d15dbec7c6",class:"back-button hydrated",icon:"chevron-left",onClick:this._backFromCreateFeature.bind(this),scale:"s",slot:"header-actions-start",text:""}),this.getEditorComponent(),this._showSubmitBtn&&e("calcite-button",{key:"0977a3974583266f6d90e18c8fbbc3e18f803983",appearance:"solid",class:"footer-top-button footer-button",onClick:()=>{this._createFeature.submit()},slot:"footer",width:"full"},this._translations.create))))))}getEditorComponent(){return e("div",null,this._showCreateFeatureComponent&&e("create-feature",{customizeSubmit:!0,locale:this.locale,mapView:this.mapView,onDrawComplete:()=>{this._showSubmitBtn=!0},onEditingAttachment:t=>{this._showSubmitBtn=!t.detail},onProgressStatus:()=>{setTimeout((()=>{this._isFeatureCreated=!1}),2e3)},onSuccess:this._featureCreated.bind(this),ref:t=>this._createFeature=t,selectedLayerId:this.layer?.id,showGuidingMsgWhileDrawing:!1}))}async _getFeaturesByIds(t){return(t.length>0?await n(t,this.layer,[],!0,this.mapView.spatialReference):[]).sort(((i,s)=>t.indexOf(i.getObjectId())-t.indexOf(s.getObjectId())))}_createFeatureBtnClicked(){this._showCreateFeatureComponent=!0,this.createWorkFlowStarted.emit()}async _backFromCreateFeature(){this._createFeature&&(this._showCreateFeatureComponent=!1,this.backFromCreateWorkFlow.emit()),this._showSubmitBtn=!1}_featureCreated(){this._showCreateFeatureComponent=!1,this._showSubmitBtn=!1,this._isFeatureCreated=!0,this.featureOrRecordSubmitted.emit(),setTimeout((()=>{this._showCreateFeatureComponent=!0}),50)}async _getTranslations(){const t=await h(this.el);this._translations=t[0]}static get watchers(){return{locale:["localeWatchHandler"]}}};f.style=":host{display:block !important}.display-flex{display:flex}.display-none{display:none}.w-100{width:100%}.padding-bottom-1{padding-bottom:1rem}.padding-1{padding:1rem}.position-relative{position:relative}.focus-margin{margin:1px 1px 0px 1px}.overflow-auto{overflow:auto}.height-full{height:100%}.position-static{position:static !important}.z-index-500{z-index:500 !important}card-manager{display:block}";const b=class{constructor(s){t(this,s),this.featureSelectionChange=i(this,"featureSelectionChange",7),this.toggleFilter=i(this,"toggleFilter",7),this.showDelete=i(this,"showDelete",7),this.appLayout=void 0,this.defaultGlobalId=void 0,this.defaultLayerId=void 0,this.defaultOid=void 0,this.enableAutoRefresh=void 0,this.enableColumnReorder=!0,this.enableCSV=void 0,this.enableInlineEdit=void 0,this.enableShare=void 0,this.honorMapFieldSettings=void 0,this.isMobile=void 0,this.locale=void 0,this.mapHidden=void 0,this.mapInfo=void 0,this.mapView=void 0,this.onlyShowUpdatableLayers=void 0,this.selectedIds=[],this.shareIncludeEmbed=void 0,this.shareIncludeSocial=void 0,this.showNewestFirst=void 0,this.zoomAndScrollToSelected=void 0,this.zoomToScale=void 0,this.createFilterModal=!0,this._allIds=[],this._controlsThatFit=void 0,this._csvExporting=!1,this._fetchingData=!1,this._filterActive=!1,this._filterOpen=!1,this._layer=void 0,this._selectAllActive=!1,this._showHideOpen=!1,this._showOnlySelected=!1,this._toolInfos=void 0,this._translations=void 0,this._fullTextSearchInfo=void 0,this._searchPlaceHolder="",this._size=0,this._queryingData=!1}get el(){return s(this)}FeatureTable;TableTemplate;_columnsInfo;_currentId;_editEnabled;_defaultFilterHonored=!1;_defaultGlobalIdHonored=!1;_defaultOidHonored=!1;_defaultVisibleToolSizeInfos;_definitionExpression;_deleteEnabled;_editor;_filterList;_floorExpression;_floorField;_floorFacility;_floorLevel;_floorSite;_layerExpressions;_loaded=!1;_mapClickHandle;_observerSet=!1;_previousCurrentId;reactiveUtils;_refreshHandle;_resizeObserver;_selectAllElement;_selectionFromMap=!1;_shareNode;_showHideDropdown;_moreDropdown;_table;_tableNode;_timeout;_toolbar;_toolbarSizeInfos;_searchExpression;_skipEditCheck=!1;_filterByExtentHandle;_tempSelectedIds;_outOFExtentOids=[];_shouldUpdateTableOnExtentChange=!0;appLayoutWatchHandler(){this._updateShareUrl()}async defaultOidWatchHandler(){await this._handleDefaults()}async defaultGlobalIdWatchHandler(){await this._handleDefaults()}enableCSVWatchHandler(){this._toolInfos?.length>0&&this._initToolInfos()}enableInlineEditWatchHandler(){this._table&&(this._table.editingEnabled=this._editEnabled&&this.enableInlineEdit)}enableShareWatchHandler(){this._toolbar&&this._updateToolbar()}_controlsThatFitWatchHandler(){const t=this._controlsThatFit?this._controlsThatFit.reduce(((t,i)=>(t.push(i.id),t)),[]):[];this._toolInfos=this._toolInfos?.map((i=>{if(i&&this._controlsThatFit){const s=this._getId(i.icon);return i.isOverflow=t.indexOf(s)<0,i}}))}async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}mapHiddenWatchHandler(){this._toolInfos?.length>0&&this._initToolInfos()}isMobileWatchHandler(){this._toolInfos||this.isMobile||this._initToolInfos()}async mapInfoWatchHandler(){this._resetColumnTemplates(),this.createFilterModal&&this._initLayerExpressions(),this._initToolInfos(),this._updateToolbar(),await this._sortTable()}async mapViewWatchHandler(){this._mapClickHandle&&this._mapClickHandle.remove(),this.mapView&&(this._floorExpression=void 0,this._searchExpression=void 0,this._updateShareUrl(),this._mapClickHandle=this.reactiveUtils.on((()=>this.mapView),"click",(t=>{this._mapClicked(t)})))}async _layerWatchHandler(){this._fetchingData=!0,await(this._layer?.when((async()=>{this._definitionExpression=this._layer.definitionExpression,this._floorField=this._layer.floorInfo?.floorField,this._updateFloorDefinitionExpression(),await this._resetTable(),this.createFilterModal&&this._initLayerExpressions(),this._updateShareUrl(),this._fetchingData=!1})))}async selectedIdsWatchHandler(){this._updateShareUrl(),this._validateEnabledActions(),this._selectAllActive&&this.selectedIds.length!==this._allIds.length&&(this._selectAllActive=!1),this.selectedIds.length>0&&(this._table.rowHighlightIds.removeAll(),this._table.rowHighlightIds.add(this.selectedIds[0]))}async closeFilter(){await this._closeFilter()}async filterReset(){this._filterByExtentHandle&&(this._table.filterGeometry=void 0,this._filterByExtentHandle.remove(),this._filterByExtentHandle=void 0),await this._handleFilterListReset()}async filterUpdate(t,i){await this._handleFilterUpdate(t),i?(this._shouldUpdateTableOnExtentChange=!0,this._handleTableOnMapExtent()):!1===i&&(this._table.filterGeometry=void 0,this._filterByExtentHandle.remove(),this._filterByExtentHandle=void 0,await this._updateAllIds())}async validateTableUpdate(t){this._shouldUpdateTableOnExtentChange=t}async validateActiveEdits(){return this._validateActiveEdits([],this.selectedIds)}async refresh(){this._table&&await this._refresh()}featureSelectionChange;toggleFilter;showDelete;async beforeMapInfoChange(t){const i=t.detail.ref,s=t.detail.mapInfo;if(this._hasPendingEdits()){t.preventDefault();const e=await this._validateActiveEdits([],this.selectedIds);await i.setMapByID(e?s.id:t.detail.currentId,!e)}}async editorInitialized(t){this._shouldUpdateTableOnExtentChange=!1,this._editor=t.detail}async closeEdit(){this._shouldUpdateTableOnExtentChange=!0,this._filterByExtentHandle&&this._handleTableOnMapExtent()}async selectionChanged(t){const i=t.detail.selectedFeature[0],s=i.getObjectId(),e=this._table;if(e.rowHighlightIds.length&&e.rowHighlightIds.removeAll(),e.rowHighlightIds.add(s),this.zoomAndScrollToSelected){const t=this._table.viewModel.getObjectIdIndex(s);this._table.scrollToIndex(t);const e=i.layer;let a;this.mapView.allLayerViews.toArray().some((t=>{if(t.layer.title===e.title&&"feature"===t.layer.type)return a=t,!0})),a&&await c([s],a,this.mapView,!0,void 0,this.zoomToScale)}}async beforeLayerSelectionChange(t){if(this._hasPendingEdits()){t.preventDefault();const i=t.detail.ref,s=await this._validateActiveEdits([],this.selectedIds);return t.detail.selectedIds?await i.setLayerByIds(s?t.detail.newIds:t.detail.currentIds,!0):await i.setLayerById(s?t.detail.newId:t.detail.currentId,!0)}}async layerSelectionChange(t){await this._layerSelectionChanged(t)}async editsComplete(t){const i=t.detail;"delete"!==i&&"add"!==i||(this._allIds=await this.queryAllIds()),await this._refresh()}async facilityChanged(t){this._floorFacility=t.detail,this._updateFloorDefinitionExpression()}async levelChanged(t){this._floorLevel=t.detail,this._updateFloorDefinitionExpression()}async siteChanged(t){this._floorSite=t.detail,this._updateFloorDefinitionExpression()}async noLayersFound(){this._layer=void 0,this._allIds=[],this._clearSelection()}async clearSelection(){await this._validateActiveEdits([],this.selectedIds)&&this._clearSelection()}async componentWillLoad(){await this._getTranslations(),await this._initModules(),this._initToolInfos(),this._resizeObserver||(this._resizeObserver=new ResizeObserver((()=>this._onResize())))}render(){const t=this._fetchingData?"display-none":"",i=this._fetchingData?"":"display-none",s=this._queryingData?"":"display-none",h=this._size.toString(),o=this.selectedIds.length.toString(),l=this.isMobile?"height-full":"height-full-adjusted",n=this._canShowFullTextSearch();return this._validateActiveActions(),e(a,{key:"a0a998de3a1b29c311a9fdfa87f3bd836481ba5a"},e("div",{key:"aafaf9f925ed7321e1ca7f15fc7db369212dc1dc"},e("calcite-scrim",{key:"86459aed994823dbf1d774aad01e8207a7df5f4f",class:s,loading:this._queryingData}),e("calcite-shell",{key:"b29896a197cba444d2ac377779670394e29ecaf6"},this._getTableControlRow("header"),e("div",{key:"0456651ac46f399eb04253387d7aae76995f4683",class:`width-full ${l}`},e("calcite-panel",{key:"9ba484159832fea630bbb653bc2fc4e99e602674",class:"height-full width-full"},n&&e("div",{key:"bd4b72db51f44c2954e893e8ef7ec2a30efc4c45",class:"search-container"},e("calcite-input",{key:"8811ff1dd71408fda37a0d7d2403671df24b5b7b",class:"search",clearable:!0,icon:"search",onCalciteInputChange:t=>{this._searchTextChanged(t)},placeholder:this._searchPlaceHolder,title:this._searchPlaceHolder,type:"search"})),e("calcite-loader",{key:"44a419089cf1e207f52ce19015c2870ce956e261",class:i,label:this._translations.fetchingData,scale:"l"}),e("div",{key:"096f4fc7f5cc9500e7982bbfaceb2fcc4c82a1dd",class:t,ref:this.onTableNodeCreate}))),this.isMobile?void 0:e("div",{class:"bottom-left text-color height-19"},this._translations.recordsSelected.replace("{{total}}",h).replace("{{selected}}",o))),this.createFilterModal&&this._filterModal()))}_deleteDialog;async componentDidLoad(){this.isMobile||this._observerSet||(this._resizeObserver.observe(this._toolbar),this._observerSet=!0)}componentDidRender(){document.onclick=t=>this._handleDocumentClick(t),this._updateToolbar()}async _initModules(){const[t,i,s]=await o(["esri/widgets/FeatureTable","esri/core/reactiveUtils","esri/widgets/FeatureTable/support/TableTemplate"]);this.FeatureTable=t,this.reactiveUtils=i,this.TableTemplate=s}async _searchTextChanged(t){this._fullTextSearchInfo.forEach((i=>{i.searchTerm=t.target.value})),this._searchFullText()}async _searchFullText(){let t=[],i=!1;if(this._showOnlySelected)t=this._tempSelectedIds,i=!0;else{if(!await this._validateActiveEdits([],this.selectedIds))return;this._clearSelection(),this._tempSelectedIds=[]}this._searchExpression&&this._clearSearchDefinitionExpression();let s=[];if(this._fullTextSearchInfo.length&&this._fullTextSearchInfo[0].searchTerm){const e=this._layer.createQuery();e.fullText=this._fullTextSearchInfo,s=await this._layer.queryObjectIds(e),i&&t?.length&&(s=s.filter((i=>t.includes(i)))),await this._updateSearchDefinitionExpression(s?.length?s:[-1])}i&&s?.length&&(this._showOnlySelected=!0,this._table.highlightIds.addMany(s.reverse())),await new Promise((t=>setTimeout(t,800))),await this._updateAllIds()}_clearSearchDefinitionExpression(){const t=this._layer.definitionExpression;this._searchExpression&&t?.indexOf(this._searchExpression)>-1&&(this._layer.definitionExpression=t?.indexOf(" AND ("+this._searchExpression)>-1?t.replace(` AND (${this._searchExpression})`,""):t.replace(this._searchExpression,"")),this._searchExpression=void 0}async _updateSearchDefinitionExpression(t){const i=this._layer.definitionExpression;if(t?.length){const s=`objectId in(${t})`;this._layer.definitionExpression=i?.indexOf(this._searchExpression)>-1?i.replace(this._searchExpression,s):i?`${i} AND (${s})`:s,this._searchExpression=s}else this._clearSearchDefinitionExpression()}_canShowFullTextSearch(){return((this._layer?.capabilities)?.query)?.supportsFullTextSearch&&this._layer.indexes.items.filter((t=>"FullText"==t.indexType)).length>0}_getFullTextSearchInfo(){if(this._fullTextSearchInfo=[],((this._layer?.capabilities)?.query)?.supportsFullTextSearch){const t=this._layer.indexes?.filter((t=>"FullText"==t.indexType));if(t?.length){const i=[];t.forEach((t=>{i.push(...t.fields.split(","))}));const s=[];i.forEach((t=>{const i=this._layer.getField(t.trim());s.push(i.alias)})),this._searchPlaceHolder=this._translations.searchPlaceholder.replace("{{fields}}",s.join(", ")),this._fullTextSearchInfo.push({onFields:["*"],searchTerm:"",searchType:"prefix"})}}}_onResize(){this._updateToolbar()}_getTableControlRow(t){return e("div",{class:"display-flex height-51-px border-bottom",ref:t=>this._toolbar=t,slot:t},this._getActionBar(),this.isMobile?void 0:this._getDropdown("more-table-options"),this.enableShare&&!this.isMobile?this._getShare("share"):void 0)}_getActionBar(){const t=this.isMobile?"width-full":"",i=this.isMobile?"border-top":"";return e("calcite-action-bar",{class:t,expandDisabled:!0,expanded:!0,id:this._getId("bar"),layout:"horizontal"},e("div",{class:`border-end ${t} ${i}`,id:"solutions-map-layer-picker-container"},e("map-layer-picker",{appearance:"transparent",defaultLayerId:this.defaultLayerId,display:"inline-flex",height:50,isMobile:this.isMobile,locale:this.locale,mapView:this.mapView,onlyShowUpdatableLayers:this.onlyShowUpdatableLayers,placeholderIcon:"layers",scale:"l",selectedIds:this._layer?[this._layer?.id]:[],showSingleLayerAsLabel:!0,showTables:!0,type:"dropdown"})),this.isMobile?void 0:this._getActions())}_getActions(){const t=this._getActionItems();return t?.reduce(((t,i)=>(i&&!i.isOverflow&&t.push(i.isDanger?this._getDangerAction(i.icon,i.label,i.func,i.disabled):i.isSublist&&this._table?.columns?.length>0?e("calcite-dropdown",{closeOnSelectDisabled:!0,id:this._getId(i.icon),onCalciteDropdownBeforeClose:()=>this._forceShowHide(),ref:t=>this._showHideDropdown=t},this._getAction(i.active,this._showHideOpen?"chevron-down":i.icon,i.indicator,i.label,i.func,i.disabled,i.loading,"trigger"),this._showHideOpen?this._getFieldlist():void 0):this._getAction(i.active,i.icon,i.indicator,i.label,i.func,i.disabled,i.loading)),t)),[])}_getFieldlist(){return this._columnsInfo?e("calcite-dropdown-group",{"selection-mode":"multiple"},Object.keys(this._columnsInfo).map((t=>{const i=this._columnsInfo[t];return e("calcite-dropdown-item",{id:`layer-table-${t.toLowerCase().replaceAll(" ","")}`,label:t,onClick:t=>{const i=t.target;this._columnsInfo[i.label]=!i.selected,i.selected?this._table.hideColumn(i.label):this._table.showColumn(i.label)},selected:i},t)}))):void 0}_validateEnabledActions(){const t=this._featuresSelected(),i=this.selectedIds.length>1&&this._layer?.capabilities?.operations?.supportsUpdate,s=["zoom-to-object","pencil","trash","erase","selected-items-filter"];this._toolInfos?.forEach((e=>{e&&s.indexOf(e.icon)>-1&&(e.disabled="pencil"===e.icon?!i:!t)}))}_validateActiveActions(){const t=["filter","list-check-all","selected-items-filter"];this._toolInfos?.forEach((i=>{i&&t.indexOf(i.icon)>-1&&("filter"===i.icon&&(i.indicator=this._filterActive),"list-check-all"===i.icon&&(i.active=this._selectAllActive),"selected-items-filter"===i.icon&&(i.active=this._showOnlySelected,i.label=this._showOnlySelected?this._translations.showAll:this._translations.showSelected))}))}_initToolInfos(){const t=this._featuresSelected(),i=this.selectedIds.length>1&&this._layer?.capabilities?.operations?.supportsUpdate&&!1,s=this._featuresEmpty();this._translations&&(this._toolInfos=[this.mapHidden?void 0:{active:!1,icon:"zoom-to-object",indicator:!1,label:this._translations.zoom,func:()=>this._zoom(),disabled:!t,isOverflow:!1},{active:!1,icon:"filter",indicator:!1,label:this._translations.filters,func:()=>this.createFilterModal?this._toggleFilter():this.toggleFilter.emit(),disabled:!1,isOverflow:!1},i?{active:!1,icon:"pencil",indicator:!1,label:this._translations.editMultiple,func:()=>alert(this._translations.editMultiple),disabled:!i,isOverflow:!1}:void 0,this._deleteEnabled?{active:void 0,icon:"trash",indicator:void 0,label:this._translations.delete,func:()=>this._showDelete(),disabled:!t,isDanger:!0,isOverflow:!1}:void 0,{active:!1,icon:"erase",indicator:!1,label:this._translations.clearSelection,func:()=>{this.clearSelection()},disabled:!t,isOverflow:!1},{active:!1,icon:"selected-items-filter",indicator:!1,label:this._showOnlySelected?this._translations.showAll:this._translations.showSelected,func:()=>this._toggleShowSelected(),disabled:!t,isOverflow:!1},{active:!1,icon:"list-check-all",indicator:!1,func:async()=>await this._selectAll(),label:this._translations.selectAll,disabled:s,isOverflow:!1},{active:!1,icon:"compare",indicator:!1,func:async()=>await this._switchSelected(),label:this._translations.switchSelected,disabled:s,isOverflow:!1},{active:!1,icon:"refresh",indicator:!1,func:()=>this._refresh(),label:this._translations.refresh,disabled:!1,isOverflow:!1},this.enableCSV?{active:!1,icon:"export",indicator:!1,func:()=>{this._exportToCSV()},label:this._translations.exportCSV,loading:this._csvExporting,disabled:s,isOverflow:!1}:void 0,{active:!1,icon:this._showHideOpen?"chevron-down":"chevron-right",indicator:!1,func:()=>this._toggleShowHide(),label:this._translations.showHideColumns,disabled:!1,isOverflow:!1,isSublist:!0}],this._defaultVisibleToolSizeInfos=void 0)}_updateFloorDefinitionExpression(){if(this._floorField&&this._floorLevel){const t=`${this._floorField} = '${this._floorLevel}'`,i=this._layer.definitionExpression;this._layer.definitionExpression=i?.indexOf(this._floorExpression)>-1?i.replace(this._floorExpression,t):i?`${i} AND (${t})`:t,this._floorExpression=t}}_featuresSelected(){return this.selectedIds.length>0}_featuresEmpty(){return 0===this._allIds.length}_hasFilterExpressions(){let t;return this.mapInfo?.filterConfig?.layerExpressions&&this._layer?.id&&(t=this.mapInfo.filterConfig.layerExpressions.filter((t=>t.id===this._layer.id))),t?.length>0}_updateToolbar(){this._timeout&&clearTimeout(this._timeout),!this.isMobile&&this._toolbar&&this._toolInfos&&(this._timeout=setTimeout((()=>{clearTimeout(this._timeout),this._setToolbarSizeInfos();const t=this._toolbar.offsetWidth;let i=this._toolbarSizeInfos.reduce(((t,i)=>t+i.width),0);const s=["solutions-more","solutions-map-layer-picker-container","map-picker","solutions-action-share"];if(i>t){if(this._toolbarSizeInfos.length>0){const e=[...this._toolbarSizeInfos].reverse().reduce(((e,a)=>(s.indexOf(a.id)<0&&(i>t?i-=a.width:e.push(a)),e)),[]).reverse();this._setControlsThatFit(e,s)}}else if(this._defaultVisibleToolSizeInfos){const e=this._toolbarSizeInfos.reduce(((t,i)=>(t.push(i.id),t)),[]);let a=!1;const h=[...this._defaultVisibleToolSizeInfos].reduce(((h,o)=>(!a&&s.indexOf(o.id)<0&&(e.indexOf(o.id)>-1||i+o.width<=t)?(e.indexOf(o.id)<0&&(i+=o.width),h.push(o)):s.indexOf(o.id)<0&&i+o.width>t&&(a=!0),h)),[]);this._setControlsThatFit(h,s)}}),250))}_setControlsThatFit(t,i){let s=JSON.stringify(t)!==JSON.stringify(this._controlsThatFit);const e=document.getElementById("solutions-action-bar");e?.childNodes?.forEach((t=>{i.indexOf(t.id)<0&&!s&&(s=this._controlsThatFit.map((t=>t.id)).indexOf(t.id)<0)})),s&&(this._controlsThatFit=[...t])}_setToolbarSizeInfos(){let t=!1;this._toolbarSizeInfos=[],this._toolbar.childNodes.forEach(((i,s)=>{0===s?i.childNodes.forEach((i=>{this._toolbarSizeInfos.push({id:i.id,width:i.offsetWidth}),t||(t=i.offsetWidth>0)})):i.referenceElement||(this._toolbarSizeInfos.push({id:i.id,width:i.offsetWidth}),t||(t=i.offsetWidth>0))})),t&&!this._defaultVisibleToolSizeInfos&&(this._defaultVisibleToolSizeInfos=[...this._toolbarSizeInfos])}_getActionItems(){return this._toolInfos?.filter((t=>t&&!t.isOverflow))}_getDropdown(t){const i=this._getDropdownItems();return i.length>0?e("calcite-dropdown",{closeOnSelectDisabled:!0,disabled:void 0===this._layer,id:"solutions-more",onCalciteDropdownBeforeClose:()=>this._forceShowHide(),ref:t=>this._moreDropdown=t},e("calcite-action",{appearance:"solid",id:t,label:"",onClick:()=>this._closeShowHide(),slot:"trigger",text:""},e("calcite-button",{appearance:"transparent",iconEnd:"chevron-down",kind:"neutral"},this._translations.more)),e("calcite-dropdown-group",{"selection-mode":"none"},i.map((t=>e("calcite-dropdown-group",{class:`${t.disabled?"disabled":""} ${"trash"===t.icon?"delete-red":""}`,selectionMode:"none"},e("calcite-dropdown-item",{disabled:t.loading,iconStart:t.isSublist&&this._showHideOpen?"chevron-down":t.loading?"":t.icon,id:`layer-table-${t.icon}`,onClick:t.func},t.loading?e("div",{class:"display-flex"},e("calcite-loader",{inline:!0,label:t.label,scale:"m"}),t.label):t.label))))),this._showHideOpen?this._getFieldlist():void 0):void 0}_getDropdownItems(){return this._toolInfos?.filter((t=>t&&t.isOverflow))}_getAction(t,i,s,a,h,o,l,n){const c=void 0===this._layer||o;return e("div",{class:"display-flex",id:this._getId(i),slot:n},e("calcite-action",{active:t,appearance:"solid",disabled:c,icon:i,id:`layer-table-${i}`,indicator:s,label:a,loading:l,onClick:h,text:a,textEnabled:!0}),this._getToolTip("bottom",i,a))}_showDelete(){this.showDelete.emit({ids:this._getIds()})}_getShare(t){return e("div",{class:"share-action",id:this._getId(t)},e("instant-apps-social-share",{autoUpdateShareUrl:!1,class:"instant-app-share",embed:this.shareIncludeEmbed,popoverButtonIconScale:"s",ref:t=>this._shareNode=t,scale:"m",shareButtonColor:"neutral",shareButtonType:"action",socialMedia:this.shareIncludeSocial,view:this.mapView}),this._getToolTip("bottom",t,this._translations.share))}_updateShareUrl(){const t=this._shareNode?.shareUrl;if(!t)return;const i=new URL(t);this.mapInfo?.id?i.searchParams.set("webmap",this.mapInfo.id):i.searchParams.delete("webmap"),this._layer?.id?i.searchParams.set("layer",this._layer.id):i.searchParams.delete("layer"),this.selectedIds?.length>0?i.searchParams.set("oid",this.selectedIds.join(",")):i.searchParams.delete("oid"),i.searchParams.set("applayout",this.appLayout),this._shareNode.shareUrl=i.href}_getToolTip(t,i,s){return document.getElementById(i)?e("calcite-tooltip",{placement:t,"reference-element":i},e("span",null,s)):void 0}_getId(t){return`solutions-action-${t}`}_getDangerAction(t,i,s,a){const h=void 0===this._layer||a;return e("div",{class:"display-flex",id:this._getId(t)},e("calcite-action",{appearance:"solid",disabled:h,id:t,onClick:s,text:""},e("calcite-button",{appearance:"transparent",iconStart:t,kind:"danger"},i)),this._getToolTip("bottom",t,i))}_getIds(){return this._table?.highlightIds?.map((t=>parseInt(t.toString(),10))).toArray()}onTableNodeCreate=t=>{this._tableNode=t};async _getTable(t,i){this._layer&&(await this._layer.when((()=>{this._table=new this.FeatureTable({autoRefreshEnabled:this.enableAutoRefresh,layer:this._layer,view:this.mapView,columnReorderingEnabled:this.enableColumnReorder,editingEnabled:this._editEnabled&&this.enableInlineEdit,highlightEnabled:!0,multiSortEnabled:!1,attachmentsEnabled:!0,visibleElements:{columnDescriptions:!1,header:!1,menu:!1,progress:!1},tableTemplate:{columnTemplates:i},container:t})})),await this._table.when((()=>{const t=this._table.highlightIds.on("change",(t=>{this._handleOnChange(t)}));this._table.viewModel.addHandles(t);const i=this.reactiveUtils.watch((()=>this._table.size),(t=>{this._size=t}));this._table.viewModel.addHandles(i)})))}async _handleOnChange(t){if(!await this._validateActiveEdits([...t.added],[...t.removed]))return;const i=[...this._getIds()];this.selectedIds=i.reverse(),this._tempSelectedIds=[...this.selectedIds],this._finishOnChange(),this._selectionFromMap=!1}async _validateActiveEdits(t,i){let s=!0;if(this._editor&&!this._skipEditCheck){if(this._hasPendingEdits()){let e=!1;try{await this._editor.cancelWorkflow({force:!1})}catch(t){e="workflow:cancel-denied"===t.name}e&&(s=!1,this._skipEditCheck=!0,t.length>0?this._table.highlightIds.removeMany(t):i.length>0&&this._table.highlightIds.addMany(i))}}else s=!this._skipEditCheck,this._skipEditCheck=!1;return this._shouldUpdateTableOnExtentChange=s,s}_hasPendingEdits(){const t=this._editor?.viewModel?.hasPendingEdits,i=this._editor?.activeWorkflow?.activeWorkflow?.hasPendingEdits;return t||i}_finishOnChange(){this._showOnlySelected&&(this._featuresSelected()?this._table.filterBySelectionEnabled=!0:this._toggleShowSelected()),this.featureSelectionChange.emit(this.selectedIds)}_resetColumnTemplates(){const t=this._getColumnTemplates(this._layer?.id,this._layer?.fields);0===t?.length?this._tableNode?.classList.add("display-none"):this._tableNode?.classList.remove("display-none");const i=this._table?.tableTemplate?.columnTemplates,s=i&&t&&i.length!==t.length||t?.some(((t,s)=>JSON.stringify(i[s])!==JSON.stringify(t)));if(this._table&&t&&(s||!this._columnsInfo)){this._table.tableTemplate=new this.TableTemplate({columnTemplates:t});const i=t.map((t=>t.fieldName));this._initColumnsInfo(i)}}async _resetTable(){if(this._loaded=!1,this._clearSelection(),this._allIds=await this.queryAllIds(),this._table)this._table.view=this.mapView,this._table.layer=this._layer;else{const t=this._getColumnTemplates(this._layer.id,this._layer?.fields);await this._getTable(this._tableNode,t)}await this._initLayerRefresh(),this._checkEditEnabled(),this._table.editingEnabled=this._editEnabled&&this.enableInlineEdit,await this._table.when(),setTimeout((()=>{this._loaded||this.finishLoading()}),1e3),await this.reactiveUtils.once((()=>"loaded"===this._table.state)).then((async()=>{await this.finishLoading()}))}async finishLoading(){try{this._loaded=!0,this._table.highlightIds.removeAll(),this._table.objectIds.removeAll(),this._resetColumnTemplates(),this._showOnlySelected=!1,await this._handleDefaults(),await this._sortTable(),this._initToolInfos(),this._updateToolbar()}catch(t){console.log(t)}}async _initLayerRefresh(){this._refreshHandle&&this._refreshHandle.remove(),this._refreshHandle=this._layer.on("refresh",(t=>{t.dataChanged&&this._updateAllIds()}))}async _updateAllIds(){this._allIds=await this.queryAllIds(),this.selectedIds=this.selectedIds.filter((t=>this._allIds.indexOf(t)>-1)),await this._refresh()}async _handleDefaults(){if(!this._defaultOidHonored&&this.defaultOid?.length>0&&this.defaultOid[0]>-1&&this._table&&(await this._selectDefaultFeature(this.defaultOid),this._defaultOidHonored=!0,this.defaultOid=void 0,this._showOnlySelected=!1,this._toggleShowSelected()),!this._defaultGlobalIdHonored&&this.defaultGlobalId?.length>0&&this._table){const t=await r(this.defaultGlobalId,this._layer),i=t?.length>0?t.map((t=>t.getObjectId())):void 0;i&&await this._selectDefaultFeature(i),this._defaultGlobalIdHonored=!0,this.defaultGlobalId=void 0,this._showOnlySelected=!1,this._toggleShowSelected()}}_initColumnsInfo(t){const i=this._table?.columns.reduce(((i,s)=>((!t||t?.indexOf(s.name)>-1)&&(i[s.name]=!s.hidden),i)),{}),s=this._table?.columns.map((t=>t.name));(t?t.filter((t=>s.indexOf(t)<0)):[]).forEach((t=>{i[t]=!0})),this._columnsInfo=t?t.reduce(((t,s)=>(t[s]=i[s],t)),{}):i}async _selectDefaultFeature(t){t.length>0&&this._table.highlightIds.addMany(t)}_checkEditEnabled(){this._editEnabled=this._layer.editingEnabled&&this._layer.capabilities.operations.supportsUpdate,this._deleteEnabled=this._layer.editingEnabled&&this._layer.capabilities.operations.supportsDelete}async _sortTable(){let t,i=this._layer?.objectIdField,s="desc";this.mapInfo?.layerOptions?.layers?.length>0&&this._layer?.id&&(t=this.mapInfo.layerOptions.layers.filter((t=>t.id===this._layer.id)),t&&t.length>0&&(t=t[0],t.sortField&&t.fields?.includes(t.sortField)&&(i=t.sortField),s=t?.sortOrder?t.sortOrder:"desc")),this._table&&this._layer&&(await this._table.when(),await this._layer.when((()=>{this._table.sortColumn(i,s)})))}_forceShowHide(){this._showHideDropdown&&(this._showHideDropdown.open=this._showHideOpen),this._moreDropdown&&(this._moreDropdown.open=this._showHideOpen)}_toggleShowHide(){this._showHideOpen=!this._showHideOpen}_closeShowHide(){this._showHideOpen=!1}_handleDocumentClick(t){const i=t.target?.id;i.startsWith("layer-table-")?this._moreDropdown.open=!0:this._showHideOpen&&Object.keys(this._columnsInfo).indexOf(i)<0&&"chevron-right"!==i&&(this._closeShowHide(),this._moreDropdown&&(this._moreDropdown.open=!1),this._showHideDropdown&&(this._showHideDropdown.open=!1))}_filterModal(){return alert("_filterModal how does this one get hit??"),e("calcite-dialog",{class:"filter-content-space",heading:this._translations?.filter?.replace("{{title}}",this._layer?.title),id:"solutions-filter-dialog",kind:"brand",modal:!0,onCalciteDialogClose:()=>{this._closeFilter()},open:this._filterOpen,widthScale:"s"},e("instant-apps-filter-list",{autoUpdateUrl:!1,closeBtn:!0,closeBtnOnClick:()=>{this._closeFilter()},comboboxOverlayPositioning:"fixed",layerExpressions:this._layerExpressions,onFilterListReset:()=>{this._handleFilterListReset()},onFilterUpdate:()=>{this._handleFilterUpdate(this._filterList.filterCount>0)},ref:t=>this._filterList=t,view:this.mapView,zoomBtn:!1}))}async _handleFilterListReset(){this._filterActive=!1,this._updateShareUrl(),await this._searchFullText()}async _handleFilterUpdate(t){const i=this._layer.definitionExpression;if(this._floorExpression){const t=new RegExp(`${this._floorField} = ['].+[']`,"gm");this._layer.definitionExpression=i&&this._floorField&&i.indexOf(`${this._floorField} = '`)>-1?i.replace(t,this._floorExpression):i?`${i} AND (${this._floorExpression})`:this._floorExpression}this._filterActive=t,this._updateShareUrl(),await this._searchFullText()}_handleTableOnMapExtent(){this._table&&(this._filterByExtentHandle=this.reactiveUtils.when((()=>this.mapView.stationary),(async()=>{if(this._shouldUpdateTableOnExtentChange){await new Promise((t=>setTimeout(t,800))),this._table.filterGeometry=this.mapView.extent;const t={geometry:this.mapView.extent},i=await this._layer.queryObjectIds(t),s=this.selectedIds.filter((t=>!i.includes(t))),e=this._outOFExtentOids.filter((t=>i.includes(t)));s.length>0&&(this._table.highlightIds.removeMany(s),this._outOFExtentOids=[...this._outOFExtentOids,...s]),e.length>0&&(this._table.highlightIds.addMany(e),this._outOFExtentOids=this._outOFExtentOids.filter((t=>!e.includes(t))))}this._allIds=await this.queryAllIds()}),{initial:!0}))}async _closeFilter(){this._filterOpen&&(this._allIds=await this.queryAllIds(),this._filterOpen=!1)}async queryAllIds(){const t=this._layer.createQuery();return t.geometry=this._filterByExtentHandle?this.mapView.extent:null,t.where=this._layer.definitionExpression||"1=1",await this._layer.queryObjectIds(t)}async _mapClicked(t){const i={include:this._layer},s=await this.mapView.hitTest(t.screenPoint,i);s.results.length>0?(s.results.forEach((t=>{const i=t.graphic.getObjectId();this._table.highlightIds.indexOf(i)<0&&(this._selectionFromMap=!0,this._table.highlightIds.add(i))})),this._showOnlySelected&&(this._table.filterBySelectionEnabled=!0)):await this.clearSelection()}async _selectAll(){const t=this._allIds,i=t.filter((t=>this.selectedIds.indexOf(t)<0));await this._validateActiveEdits(i,this.selectedIds)?(this._table.highlightIds.removeAll(),this._table.highlightIds.addMany(t),this.selectedIds=t,this._finishOnChange(),this._selectAllActive=!0):this._skipEditCheck=!1}_toggleShowSelected(){this._showOnlySelected=!this._showOnlySelected,this._table.filterBySelectionEnabled=this._showOnlySelected}_clearSelection(){this.selectedIds=[],this._outOFExtentOids=[],this._table?.highlightIds.removeAll(),this._table?.rowHighlightIds.removeAll(),this._finishOnChange()}_toggleFilter(){this._filterOpen=!this._filterOpen}_initLayerExpressions(){const t=this.mapInfo?.filterConfig?.layerExpressions;this._layerExpressions=t?t.filter((t=>t.id===this._layer?.id)):[],this._filterList.layerExpressions=this._layerExpressions,this._filterActive=this._layerExpressions.filter((t=>t.expressions.filter((t=>t.active)).length>0)).length>0}async _switchSelected(){const t=[...this.selectedIds],i=this._allIds.reduce(((i,s)=>(t.indexOf(s)<0&&i.push(s),i)),[]).sort(((t,i)=>t-i));await this._validateActiveEdits(i,t)?(this._table.highlightIds.removeAll(),this._table.highlightIds.addMany(i),this.selectedIds=i,this._finishOnChange()):this._skipEditCheck=!1}async _exportToCSV(){const t={},i=this._getIds();t[this._layer.id]={selectionSetNames:[this._layer.title],ids:i,layer:this._layer};const s=this._table.columns.toArray().reduce(((t,i)=>(i.hidden||t.push(i.name.toLocaleLowerCase()),t)),[]);this._updateToolInfoLoading("export",!0),this._csvExporting=!0,await p(null,t,!1,!1,!0,s,!0,!0),this._updateToolInfoLoading("export",!1),this._csvExporting=!1}_updateToolInfoLoading(t,i){this._toolInfos.some((s=>{if(s?.icon===t)return s.loading=i,!0}))}async _refresh(){await this._validateActiveEdits([],this.selectedIds)&&(await(this._table?.refresh()),this._allIds=await this.queryAllIds(),this.featureSelectionChange.emit(this.selectedIds))}async _zoom(){if(this._layer){const t=await d(this.mapView,this._layer.id);await c(this.selectedIds,t,this.mapView,!0,void 0,this.zoomToScale)}}async _layerSelectionChanged(t){const i=t.detail[0];if(i!==this._layer?.id||this._featuresEmpty()){this._fetchingData=!0;const t=await l(this.mapView,i);t&&await t.when((()=>{this._shouldUpdateTableOnExtentChange=!0,this._layer=t,this._getFullTextSearchInfo()}))}this._fetchingData=!1}_getColumnTemplates(t,i){let s;this.mapInfo?.layerOptions?.layers.some((i=>{if(i.id===t)return s=i,!0}));const e=this._layer?.attributeTableTemplate?.elements;let a=[];e?.length>0&&this.honorMapFieldSettings&&(a=e.map((t=>t.fieldName)));const h=s?.fields&&s?.fieldOrder?s.fieldOrder.filter((t=>s.fields.indexOf(t)>-1)):a.length>0?a:void 0;let o;return i&&(o=i.reduce(((t,i)=>{const e={type:"field",fieldName:i.name,label:i.alias,menuConfig:this._getMenuConfig(i.name)};return s&&s?.fields?s.fields.indexOf(i.name)>-1&&t.push(e):a.length>0?a.indexOf(i.name)>-1&&t.push(e):t.push(e),t}),[])),h?o?.sort(this._sortFields.bind(this,h)):o}_sortFields(t,i,s){return t?.indexOf(i.fieldName)-t.indexOf(s.fieldName)}_getMenuConfig(t){return{items:[{label:this._translations.hideField,icon:"view-hide",autoCloseMenu:!0,clickFunction:()=>{this._handleHideClick(t)}}]}}_handleHideClick(t){this._columnsInfo[t]=!1,this._table.hideColumn(t),this._table.tableTemplate.columnTemplates.forEach((i=>{i.fieldName===t&&(i.visible=!1)}))}async _getTranslations(){const t=await h(this.el);this._translations=t[0]}static get watchers(){return{appLayout:["appLayoutWatchHandler"],defaultOid:["defaultOidWatchHandler"],defaultGlobalId:["defaultGlobalIdWatchHandler"],enableCSV:["enableCSVWatchHandler"],enableInlineEdit:["enableInlineEditWatchHandler"],enableShare:["enableShareWatchHandler"],_controlsThatFit:["_controlsThatFitWatchHandler"],locale:["localeWatchHandler"],mapHidden:["mapHiddenWatchHandler"],isMobile:["isMobileWatchHandler"],mapInfo:["mapInfoWatchHandler"],mapView:["mapViewWatchHandler"],_layer:["_layerWatchHandler"],selectedIds:["selectedIdsWatchHandler"]}}};function u(t){return function(t){return-1!==t?.indexOf("http://")}(t)?t.replace(/^http:\/\//,"https://"):t}b.style=':host{display:block}.height-full{height:100%}.height-full-adjusted{height:calc(100% - 20px)}.width-full{width:100%}.display-flex{display:flex}.table-border{border:1px solid var(--calcite-color-border-2)}.border-end{border-inline-end:1px solid var(--calcite-color-border-2)}.border-bottom{border-bottom:1px solid var(--calcite-color-border-2)}.padding-5{padding:5px}.padding-end-1{padding-inline-end:1rem}.height-51-px{height:51px}.height-50-px{height:50px}.bottom-left{position:absolute;left:0;bottom:0;padding-left:5px}html[dir="rtl"] .bottom-left{position:absolute;right:0;bottom:0;padding-right:5px}.height-19{height:19px}.background{background-color:var(--calcite-color-background)}.text-color{color:var(--calcite-color-text-1)}.align-center{align-items:center}.danger-color{color:var(--calcite-color-status-danger)}.esri-feature-table vaadin-grid{border:none !important}vaadin-grid-cell-content{font-size:14px !important;color:var(--calcite-color-text-3) !important}.share-action{position:absolute;right:0}html[dir="rtl"] .share-action{left:0}.disabled{cursor:default !important;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled);pointer-events:none}.instant-app-share{height:50px !important;display:inline-flex}.border-top{border-top:1px solid var(--calcite-color-border-2)}.modal{--calcite-modal-content-padding:0}.esri-feature-table__table-container{height:100%}.search-container{background-color:var(--calcite-color-foreground-1) !important}.search{--calcite-color-border-input:var(--calcite-color-border-3);width:60%;padding:10px}.delete-red{--calcite-icon-color:var(--calcite-color-status-danger);--calcite-color-text-1:var(--calcite-color-status-danger);--calcite-color-text-3:var(--calcite-color-status-danger)}';const m=class{constructor(s){t(this,s),this.mapChanged=i(this,"mapChanged",7),this.beforeMapChanged=i(this,"beforeMapChanged",7),this.toggleFilter=i(this,"toggleFilter",7),this.clearSelection=i(this,"clearSelection",7),this.appLayout=void 0,this.appProxies=void 0,this.defaultWebmapId="",this.defaultLayerId=void 0,this.enableHome=void 0,this.enableLegend=void 0,this.enableFloorFilter=void 0,this.enableFullscreen=void 0,this.enableShare=!1,this.enableSingleExpand=!0,this.enableSearch=void 0,this.enableBasemap=void 0,this.basemapConfig=void 0,this.hidden=void 0,this.homeZoomIndex=3,this.homeZoomPosition="top-left",this.homeZoomToolsSize="m",this.locale=void 0,this.mapInfos=[],this.mapWidgetsIndex=0,this.mapWidgetsPosition="top-right",this.mapWidgetsSize="m",this.mapView=void 0,this.stackTools=!0,this.theme=void 0,this.toolOrder=void 0,this.isMapLayout=void 0,this.shareIncludeEmbed=void 0,this.shareIncludeSocial=void 0,this.selectedFeaturesIds=void 0,this.selectedLayer=void 0,this.zoomToScale=void 0,this.onlyShowUpdatableLayers=void 0,this.isMobile=void 0,this.mapInfo=void 0,this._translations=void 0,this._searchConfiguration=void 0,this._webMapInfo=void 0,this._showHideOpen=!1,this._toolInfos=void 0,this._controlsThatFit=void 0}get el(){return s(this)}esriConfig;Home;MapView;WebMap;_defaultWebmapHonored=!1;_homeWidget;_loadedId="";_mapDiv;_mapPicker;_mapTools;_moreDropdown;_mapListExpanded=!1;_filterActive=!1;_definitionExpression;_mapLayerPicker;_resizeObserver;_shareNode;_showHideDropdown;_toolbar;_timeout;_toolbarSizeInfos;_defaultVisibleToolSizeInfos;_observerSet=!1;appLayoutWatchHandler(){this._updateShareUrl()}enableHomeWatchHandler(){this._initHome()}enableShareWatchHandler(){this._toolbar&&this._updateToolbar()}async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}async mapViewWatchHandler(){this.mapView&&this._updateShareUrl()}async selectedLayerWatchHandler(){await(this.selectedLayer?.when((async()=>{this._definitionExpression=this.selectedLayer.definitionExpression})))}async selectedFeaturesIdsWatchHandler(){this._updateShareUrl(),this._validateEnabledActions()}_controlsThatFitWatchHandler(){const t=this._controlsThatFit?this._controlsThatFit.reduce(((t,i)=>(t.push(i.id),t)),[]):[];this._toolInfos=this._toolInfos?.map((i=>{if(i&&this._controlsThatFit){const s=this._getId(i.icon);return i.isOverflow=t.indexOf(s)<0,i}}))}async resetFilter(){this._filterActive=!1,this._updateShareUrl()}async updateFilterState(t){this._filterActive=t,this._updateShareUrl()}async updateLayer(){this._mapLayerPicker.updateLayer()}mapChanged;beforeMapChanged;toggleFilter;clearSelection;async mapInfoChange(t){await this._loadMap(t.detail)}noLayersFound(){this.selectedLayer=void 0,this.selectedFeaturesIds=[]}layerSelectionChange(){setTimeout((()=>{this._initToolInfos()}),50)}async componentWillLoad(){await this._getTranslations(),await this._initModules(),this._initToolInfos(),this._resizeObserver||(this._resizeObserver=new ResizeObserver((()=>this._updateToolbar())))}render(){const t=this.isMapLayout?"display-flex height-49-px":"",i=this.hidden?"visibility-hidden-1":"",s="dark"===this.theme?"calcite-mode-dark":"calcite-mode-light",h=this.mapInfos?.length>1||this.isMapLayout?"map-height":"height-full",o=this.isMapLayout?"":"display-none";return this._validateActiveActions(),e(a,{key:"a47f4ac21db985fb91ff3f5378594f60405f312c"},e("div",{key:"fdf76fd829a8e88725b43f8174a0d95fbf7a3dd1",class:`${t} width-full`,ref:t=>this._toolbar=t},this._getActionBar(),!this.isMobile&&this.isMapLayout&&this._getDropdown("more-table-options"),this.enableShare&&!this.isMobile&&this.isMapLayout?this._getShare("share"):void 0),e("calcite-progress",{key:"b5b672726b4a4c812c386faad2077135a1e1231c",class:o,value:0}),e("div",{key:"f815ef4dba45b53c0ec4a49fe12e741b3331ce51",class:`${h} ${i}`,ref:t=>this._mapDiv=t}),e("map-tools",{key:"8e2ed31f49d349786caa4827a473a8e70e6ae611",basemapConfig:this.basemapConfig,class:`box-shadow ${s}`,enableBasemap:this.enableBasemap,enableFloorFilter:this.enableFloorFilter,enableFullscreen:this.enableFullscreen,enableHome:this.enableHome,enableLegend:this.enableLegend,enableSearch:this.enableSearch,enableSingleExpand:this.enableSingleExpand,homeZoomToolsSize:this.homeZoomToolsSize,locale:this.locale,mapView:this.mapView,mapWidgetsSize:this.mapWidgetsSize,position:this.mapWidgetsPosition,ref:t=>this._mapTools=t,searchConfiguration:this._searchConfiguration,stackTools:this.stackTools,toolOrder:this.toolOrder}))}async componentDidRender(){this.isMapLayout&&this._updateToolbar(),document.onclick=t=>this._handleDocumentClick(t)}async componentDidLoad(){this.isMobile||this._observerSet||(this._resizeObserver.observe(this._toolbar),this._observerSet=!0),this._updateShareUrl()}async _initModules(){const[t,i,s,e]=await o(["esri/WebMap","esri/views/MapView","esri/widgets/Home","esri/config"]);this.WebMap=t,this.MapView=i,this.Home=s,this.esriConfig=e}async _loadMap(t){const i=!this._defaultWebmapHonored&&this.defaultWebmapId,s=this.mapInfos?.filter((t=>t.id===this.defaultWebmapId)),e=JSON.stringify(t)!==JSON.stringify(this._webMapInfo);this._webMapInfo=i&&s?s[0]:!t?.id&&this.mapInfos.length>0?this.mapInfos[0]:t;const a=this._webMapInfo.id,h=i&&t?.id===this.defaultWebmapId;if(this._loadedId!==a&&!i||h){const t=new this.WebMap({portalItem:{id:a}});this.appProxies&&(await t.load(),await(o=t,l=this.esriConfig,n=this.appProxies,n&&n.forEach((t=>{o.allLayers.forEach((i=>{i&&i.url===t.sourceUrl&&(i.url=u(t.proxyUrl),i.portalItem&&i.portalItem.when((()=>{i.portalItem.url=u(t.proxyUrl)})),l.request?.interceptors?.push({urls:t.sourceUrl,before:i=>{i.url&&i.url===t.sourceUrl&&(i.url=u(t.proxyUrl))}}))}))})),o)),this.mapView=new this.MapView({container:this._mapDiv,map:t,resizeAlign:"center"}),this._loadedId=a,this._searchConfiguration=this._webMapInfo.searchConfiguration,this.beforeMapChanged.emit(),await this.mapView.when((()=>{this._initHome(),this.mapView.ui.add(this._mapTools,{position:this.mapWidgetsPosition,index:this.mapWidgetsIndex}),this._defaultWebmapHonored=!!h||this._defaultWebmapHonored,this.mapChanged.emit({id:a,mapView:this.mapView})}))}else i?(this._defaultWebmapHonored=!0,this._mapPicker.setMapByID(a)):e&&(this._searchConfiguration=this._webMapInfo.searchConfiguration,this.beforeMapChanged.emit(),this.mapChanged.emit({id:a,mapView:this.mapView}));var o,l,n;this._updateShareUrl()}_updateToolbar(){this._timeout&&clearTimeout(this._timeout),!this.isMobile&&this._toolbar&&this._toolInfos&&(this._timeout=setTimeout((()=>{clearTimeout(this._timeout),this._setToolbarSizeInfos();const t=this._toolbar.offsetWidth;let i=this._toolbarSizeInfos.reduce(((t,i)=>t+i.width),0);const s=["solutions-more","solutions-map-layer-picker-container","map-picker","solutions-action-share"];if(i>t){if(this._toolbarSizeInfos.length>0){const e=[...this._toolbarSizeInfos].reverse().reduce(((e,a)=>(s.indexOf(a.id)<0&&(i>t?i-=a.width:e.push(a)),e)),[]).reverse();this._setControlsThatFit(e,s)}}else if(this._defaultVisibleToolSizeInfos){const e=this._toolbarSizeInfos.reduce(((t,i)=>(t.push(i.id),t)),[]);let a=!1;const h=[...this._defaultVisibleToolSizeInfos].reduce(((h,o)=>(!a&&s.indexOf(o.id)<0&&(e.indexOf(o.id)>-1||i+o.width<=t)?(e.indexOf(o.id)<0&&(i+=o.width),h.push(o)):s.indexOf(o.id)<0&&i+o.width>t&&(a=!0),h)),[]);this._setControlsThatFit(h,s)}}),250))}_setControlsThatFit(t,i){let s=JSON.stringify(t)!==JSON.stringify(this._controlsThatFit);const e=document.getElementById("solutions-action-bar");e?.childNodes?.forEach((t=>{i.indexOf(t.id)<0&&!s&&(s=this._controlsThatFit.map((t=>t.id)).indexOf(t.id)<0)})),s&&(this._controlsThatFit=[...t])}_setToolbarSizeInfos(){let t=!1;this._toolbarSizeInfos=[],this._toolbar.childNodes.forEach(((i,s)=>{0===s?i.childNodes.forEach((i=>{this._toolbarSizeInfos.push({id:i.id,width:i.offsetWidth}),t||(t=i.offsetWidth>0)})):i.referenceElement||(this._toolbarSizeInfos.push({id:i.id,width:i.offsetWidth}),t||(t=i.offsetWidth>0))})),t&&!this._defaultVisibleToolSizeInfos&&(this._defaultVisibleToolSizeInfos=[...this._toolbarSizeInfos])}_getActionBar(){const t=this.mapInfos?.length>1?"":"display-none",i=this.isMapLayout?"display-flex":"display-block",s=this.isMobile?"border-top":"",a=this.isMapLayout?"":"display-none";return e("calcite-action-bar",{class:i,expandDisabled:!0,expanded:!0,id:this._getId("bar"),layout:"horizontal"},e("map-picker",{class:t,id:"map-picker",isMapLayout:this.isMapLayout,locale:this.locale,mapInfos:this.mapInfos,ref:t=>this._mapPicker=t}),e("div",{class:`mapView-header display-flex ${a}`,id:"solutions-map-layer-picker-container"},e("div",{class:`border-end ${i} ${s}`},this.mapView&&e("map-layer-picker",{appearance:"transparent",defaultLayerId:this.defaultLayerId,display:"inline-flex",height:50,isMobile:this.isMobile,locale:this.locale,mapView:this.mapView,onlyShowUpdatableLayers:this.onlyShowUpdatableLayers,placeholderIcon:"layers",ref:t=>this._mapLayerPicker=t,scale:"l",selectedIds:this.selectedLayer?[this.selectedLayer.id]:[],showSingleLayerAsLabel:!0,showTables:!0,showTablesDisabled:!0,type:"dropdown"}))),!this.isMobile&&this.isMapLayout?this._getActions():void 0)}_getDropdown(t){const i=this._getDropdownItems();return i.length>0?e("calcite-dropdown",{closeOnSelectDisabled:!0,disabled:void 0===this.selectedLayer,id:"solutions-more",onCalciteDropdownBeforeClose:()=>this._forceShowHide(),ref:t=>this._moreDropdown=t},e("calcite-action",{appearance:"solid",id:t,label:"",onClick:()=>this._closeShowHide(),slot:"trigger",text:""},e("calcite-button",{appearance:"transparent",iconEnd:"chevron-down",kind:"neutral"},this._translations.more)),e("calcite-dropdown-group",{"selection-mode":"none"},i.map((t=>e("calcite-dropdown-group",{class:t.disabled?"disabled":"",selectionMode:"none"},e("calcite-dropdown-item",{disabled:t.loading,iconStart:t.icon,id:"solutions-subset-list",onClick:t.func},t.loading?e("div",{class:"display-flex"},e("calcite-loader",{inline:!0,label:t.label,scale:"m"}),t.label):t.label)))))):void 0}_getShare(t){return e("div",{class:"share-action",id:this._getId(t)},e("instant-apps-social-share",{autoUpdateShareUrl:!1,class:"instant-app-share",embed:this.shareIncludeEmbed,popoverButtonIconScale:"s",ref:t=>{this._shareNode=t,this._updateShareUrl()},scale:"m",shareButtonColor:"neutral",shareButtonType:"action",socialMedia:this.shareIncludeSocial,view:this.mapView}),this._getToolTip("bottom",t,this._translations.share))}_updateShareUrl(){const t=this._shareNode?.shareUrl;if(!t)return;const i=new URL(t);this._loadedId?i.searchParams.set("webmap",this._loadedId):i.searchParams.delete("webmap"),this.selectedLayer?.id?i.searchParams.set("layer",this.selectedLayer.id):i.searchParams.delete("layer"),this.selectedFeaturesIds?.length>0?i.searchParams.set("oid",this.selectedFeaturesIds.join(",")):i.searchParams.delete("oid"),i.searchParams.set("applayout",this.appLayout),this._shareNode.shareUrl=i.href}_closeShowHide(){this._showHideOpen=!1}_getDropdownItems(){return this._toolInfos?.filter((t=>t&&t.isOverflow))}_initToolInfos(){const t=this.selectedFeaturesIds?.length>0,i=this._hasFilterExpressions(),s=this.selectedFeaturesIds?.length>1&&!1;this._translations&&(this._toolInfos=[{active:!1,icon:"zoom-to-object",indicator:!1,label:this._translations.zoom,func:()=>this._zoom(),disabled:!t,isOverflow:!1},i?{active:!1,icon:"filter",indicator:!1,label:this._translations.filters,func:()=>this._toggleFilter(),disabled:!1,isOverflow:!1}:void 0,s?{active:!1,icon:"pencil",indicator:!1,label:this._translations.editMultiple,func:()=>alert(this._translations.editMultiple),disabled:!s,isOverflow:!1}:void 0,{active:!1,icon:"refresh",indicator:!1,label:this._translations.refresh,func:()=>this.selectedLayer.refresh(),disabled:!1,isOverflow:!1},{active:!1,icon:"erase",indicator:!1,label:this._translations.clearSelection,func:()=>this.clearSelection.emit(),disabled:!t,isOverflow:!1}],this._defaultVisibleToolSizeInfos=void 0)}_validateActiveActions(){const t=["filter"];this._toolInfos?.forEach((i=>{i&&t.indexOf(i.icon)>-1&&"filter"===i.icon&&(i.indicator=this._filterActive)}))}_validateEnabledActions(){const t=this.selectedFeaturesIds?.length>0,i=this.selectedFeaturesIds?.length>1&&this.selectedLayer?.capabilities?.operations?.supportsUpdate,s=["zoom-to-object","pencil","erase"];this._toolInfos?.forEach((e=>{e&&s.indexOf(e.icon)>-1&&(e.disabled="pencil"===e.icon?!i:!t)}))}_initHome(){if(this.enableHome){this._homeWidget=new this.Home({view:this.mapView}),this.mapView.ui.add(this._homeWidget,{position:this.homeZoomPosition,index:this.homeZoomIndex});const t="s"===this.homeZoomToolsSize?"32px":"m"===this.homeZoomToolsSize?"40px":"48px";this._homeWidget.domNode.style.height=t,this._homeWidget.domNode.style.width=t}else this._homeWidget&&this.mapView.ui.remove(this._homeWidget)}_toggleShowHide(){this._showHideOpen=!this._showHideOpen}_forceShowHide(){this._moreDropdown&&(this._moreDropdown.open=this._showHideOpen)}_handleDocumentClick(t){const i=t.target?.id;"solutions-subset-list"===i?this._moreDropdown.open=!0:this._showHideOpen&&"solutions-subset-list"!==i&&"solutions-more"!==i&&"chevron-down"!==i&&this._moreDropdown&&(this._showHideOpen=!1,this._moreDropdown.open=!1),"MAP-PICKER"===t.target.tagName&&(this._mapListExpanded=!this._mapListExpanded,this._mapPicker.toggle(this._mapListExpanded)),"MAP-PICKER"!==t.target.tagName&&(this._mapListExpanded=!1,this._mapPicker.close())}async _zoom(){if(this.selectedLayer){const t=await d(this.mapView,this.selectedLayer.id);await c(this.selectedFeaturesIds,t,this.mapView,!0,void 0,this.zoomToScale)}}async _toggleFilter(){this.toggleFilter.emit()}_hasFilterExpressions(){let t;return this.mapInfo?.filterConfig?.layerExpressions&&this.selectedLayer?.id&&(t=this.mapInfo.filterConfig.layerExpressions.filter((t=>t.id===this.selectedLayer.id))),t?.length>0}_getActions(){const t=this._getActionItems();return t?.reduce(((t,i)=>(i&&!i.isOverflow&&t.push(this._getAction(i.active,i.icon,i.indicator,i.label,i.func,i.disabled,i.loading)),t)),[])}_getToolTip(t,i,s){return document.getElementById(i)?e("calcite-tooltip",{placement:t,"reference-element":"map-"+i},e("span",null,s)):void 0}_getActionItems(){return this._toolInfos?.filter((t=>t&&!t.isOverflow))}_getAction(t,i,s,a,h,o,l,n){const c=void 0===this.selectedLayer||o;return e("div",{class:"display-flex",id:this._getId(i),slot:n},e("calcite-action",{active:t,appearance:"solid",disabled:c,icon:i,id:"map-"+i,indicator:s,label:a,loading:l,onClick:h,text:a,textEnabled:!0}),this._getToolTip("bottom",i,a))}_getId(t){return`solutions-action-${t}`}async _getTranslations(){const t=await h(this.el);this._translations=t[0]}static get watchers(){return{appLayout:["appLayoutWatchHandler"],enableHome:["enableHomeWatchHandler"],enableShare:["enableShareWatchHandler"],locale:["localeWatchHandler"],mapView:["mapViewWatchHandler"],selectedLayer:["selectedLayerWatchHandler"],selectedFeaturesIds:["selectedFeaturesIdsWatchHandler"],_controlsThatFit:["_controlsThatFitWatchHandler"]}}};m.style=":host{display:block;--calcite-label-margin-bottom:0;--calcite-block-padding:0}.map-height{height:calc(100% - 53px)}.height-full{height:100%}.height-49-px{height:49px}.box-shadow{box-shadow:none !important}.visibility-hidden-1{visibility:hidden;height:1px;}.display-none{display:none}.display-block{display:block}";export{f as card_manager,b as layer_table,m as map_card}
@@ -1,6 +0,0 @@
1
- /*!
2
- * Copyright 2022 Esri
3
- * Licensed under the Apache License, Version 2.0
4
- * http://www.apache.org/licenses/LICENSE-2.0
5
- */
6
- import{r as t,c as i,g as s,h as e,F as a}from"./p-e996c38f.js";import{l as h,g as c,f as n}from"./p-404cbf48.js";import{b as o,d as l,a as r,c as d}from"./p-dcd2f00b.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";import"./p-80cb7c73.js";const p=class{constructor(s){t(this,s),this.success=i(this,"success",7),this.fail=i(this,"fail",7),this.isActionPending=i(this,"isActionPending",7),this.formReady=i(this,"formReady",7),this.locale=void 0,this.mapView=void 0,this.table=void 0,this.selectedFeature=void 0,this.customizeSubmit=!1,this.showGuidingMsg=!0,this._editorLoading=!1,this._translations=void 0}get el(){return s(this)}Editor;_editor;reactiveUtils;_container;_addingAttachment;_isSubmitBtnClicked=!1;async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}async mapViewWatchHandler(){await this.mapView.when((async()=>{await this.init()}))}async _editorLoadingWatchHandler(t){t&&(this._container?.classList.add("display-none"),await this.startCreate(),this._container?.classList.remove("display-none"),this._editorLoading=!1)}async submit(){this._editor&&(this._isSubmitBtnClicked=!0,this._editor.viewModel.featureFormViewModel.submit())}success;fail;isActionPending;formReady;async componentWillLoad(){await this._getTranslations(),await this.initModules()}async init(){this.mapView&&await this.createEditorWidget()}async initModules(){const[t,i]=await h(["esri/widgets/Editor","esri/core/reactiveUtils"]);this.Editor=t,this.reactiveUtils=i}render(){const t=this._editorLoading?"":"display-none";return e(a,{key:"261308f81b5bbed3e136efbb2100db9c1e5994a4"},this.showGuidingMsg&&e("calcite-notice",{key:"3aca1d3f48e46208ce07f2ccdd76ac4af752162d",class:"notice-msg",icon:"lightbulb",kind:"success",open:!0},e("div",{key:"f449d7dcde1cc75bf7470a75ae0ce915ef457459",slot:"message"},this._translations.provideDetailsMsg)),e("calcite-loader",{key:"e94e971b96ddba0ab36f27ffd4e37b820bb2432f",class:t,label:"",scale:"s"}))}async componentDidLoad(){await this.init()}disconnectedCallback(){this._editor&&this._editor.destroy()}async createEditorWidget(){this._editor&&this._editor.destroy(),this._container=document.createElement("div"),this._container?.classList.add("display-none"),this._editor=new this.Editor({view:this.mapView,visibleElements:{snappingControls:!1},container:this._container}),this.el.appendChild(this._container);const t=this.reactiveUtils.watch((()=>this._editor.viewModel.featureTemplatesViewModel.state),(t=>{"ready"===t&&(this._editorLoading=!0)}));this._editor.viewModel.addHandles(t);const i=this.reactiveUtils.watch((()=>this._editor.viewModel.state),(t=>{"adding-attachment"===t||"editing-attachment"===t?(this._addingAttachment=!0,this.isActionPending.emit(!0)):this._addingAttachment&&(this.isActionPending.emit(!1),this._addingAttachment=!1)}));this._editor.viewModel.addHandles(i);const s=this.reactiveUtils.watch((()=>this._editor.viewModel.featureFormViewModel?.state),(t=>{"ready"===t&&this.formReady.emit()}));this._editor.viewModel.addHandles(s)}async startCreate(){const t=this.selectedFeature.layer,i=this.table,s=t.relationships[0],e=i.relationships.find((i=>t.layerId===i.relatedTableId)),a=await t.queryFeatures({objectIds:[this.selectedFeature.getObjectId()],outFields:[t.objectIdField,s.keyField]}),h=i.templates[0],c={attributeOverrides:this.makeAttributesForRelatedFeature(a.features[0],s,e),layer:i,template:h};await this._editor.startCreateFeaturesWorkflowAtFeatureCreation(c),await this.hideEditorsElements(),this._editor.viewModel.featureFormViewModel.on("submit",this.submitted.bind(this))}async hideEditorsElements(){this.customizeSubmit&&(await this.timeout(700),this.el.querySelector(".esri-editor")?.querySelectorAll("calcite-flow-item")?.forEach((t=>{const i=t.shadowRoot?.querySelector("calcite-panel")?.shadowRoot?.querySelector("article");i?.querySelector("header")?.setAttribute("style","display: none"),i?.querySelector("footer")?.setAttribute("style","display: none")})))}makeAttributesForRelatedFeature(t,i,s){const e=i.keyField;let a;t.attributes.hasOwnProperty(e)?a=t.getAttribute(e):t.attributes.hasOwnProperty(e.toLowerCase())?a=t.getAttribute(e.toLowerCase()):t.attributes.hasOwnProperty(e.toUpperCase())&&(a=t.getAttribute(e.toUpperCase()));let h=s.keyField;const c=this.table.fields.find((t=>t.name.toLocaleLowerCase()===h.toLocaleLowerCase()));return h=c.name,{[h]:a}}async submitted(t){if(t.invalid.length)this._isSubmitBtnClicked=!1;else if(t.valid.length&&this._isSubmitBtnClicked){this._isSubmitBtnClicked=!1;try{await this._editor.activeWorkflow.commit(),this._editor.viewModel.failures?.length&&this._editor.viewModel.failures.some((t=>{if(t.error)throw t.error}))}catch(t){return void this.fail.emit(t)}this.success.emit()}}timeout(t){return new Promise((i=>setTimeout(i,t)))}async _getTranslations(){const t=await c(this.el);this._translations=t[0]}static get watchers(){return{locale:["localeWatchHandler"],mapView:["mapViewWatchHandler"],_editorLoading:["_editorLoadingWatchHandler"]}}};p.style=":host{display:block}.esri-editor__panel-toolbar{display:none !important}.display-none{display:none !important}.esri-editor__panel-content{padding-block:10px !important}.notice-msg{padding:10px;width:calc(100% - 20px)}";const b=class{constructor(s){t(this,s),this.loadingStatus=i(this,"loadingStatus",7),this.commentSelect=i(this,"commentSelect",7),this.addComment=i(this,"addComment",7),this.likeOrDislikeClicked=i(this,"likeOrDislikeClicked",7),this.featureSelectionChange=i(this,"featureSelectionChange",7),this.mapView=void 0,this.graphics=void 0,this.reportingOptions=void 0,this.layerItemsHash=void 0,this.locale=void 0,this.showUserImageInCommentsList=!1,this.showFullCommentTitle=!0,this._likeFieldAvailable=!1,this._likeCount=0,this._disLikeCount=0,this._dislikeFieldAvailable=!1,this._commentsAvailable=!1,this._isLikeBtnClicked=!1,this._isDislikeBtnClicked=!1,this._relatedFeaturesOIDs=void 0,this._updating=!1}get el(){return s(this)}_infoCard;_commentsList;_selectedGraphic;_likeField;_dislikeField;Graphic;RelationshipQuery;_validFieldTypes=["small-integer","integer","big-integer","single","long"];relatedTableId;async graphicsWatchHandler(){await this.getCompleteGraphic(this.graphics[0]),this.checkLikeDislikeFields(),await this.processComments()}async refresh(t){await this.getCompleteGraphic(t),await this.processComments(),this.isLikeDislikeConfigured(t.layer)?t&&this.graphics.length>1&&this.checkLikeDislikeFields():(this._likeFieldAvailable=!1,this._dislikeFieldAvailable=!1)}async back(){this._infoCard.back()}async next(){this._infoCard.next()}async toggleListView(){this._infoCard.toggleListView()}loadingStatus;commentSelect;addComment;likeOrDislikeClicked;featureSelectionChange;async componentWillLoad(){await this._initModules(),await this.getCompleteGraphic(this.graphics[0]),this.checkLikeDislikeFields(),await this.processComments()}render(){const t=this._relatedFeaturesOIDs?.length>0?`objectId in(${this._relatedFeaturesOIDs})`:"1=0";return e("calcite-panel",{key:"577f06f7bc41875b38e07a44f3c734ccc839e596","full-height":!0},e("info-card",{key:"e815f75d02bcdfe9cc11796c913be2a6c2bfecd2",allowEditing:!1,graphics:this.graphics,highlightEnabled:!1,isLoading:!1,isMobile:!1,locale:this.locale,mapView:this.mapView,onSelectionChanged:t=>{this.featureSelectionChange.emit(t.detail)},paginationEnabled:!1,position:"relative",ref:t=>this._infoCard=t}),(this._likeFieldAvailable||this._dislikeFieldAvailable||this._commentsAvailable)&&e("div",{key:"16d0af6b0e75b595573bd0816744f03d9d6dec37",class:"buttons-container"},this._commentsAvailable&&e("calcite-button",{key:"550b3af830911a1437fa3e967492666ec8c5a2e4",appearance:"transparent",iconEnd:"speech-bubble",kind:"neutral",onClick:()=>{this.addComment.emit()},scale:"m"},this._relatedFeaturesOIDs.length),this._likeFieldAvailable&&e("calcite-button",{key:"741848445c2083f4c0a3d9464cd810deee4a1218",appearance:"transparent",iconEnd:"thumbs-up",kind:this._isLikeBtnClicked?"brand":"neutral",loading:this._updating,onClick:this.onLikeButtonClick.bind(this),scale:"m"},this._likeCount??this._selectedGraphic.attributes[this._likeField]??0),this._dislikeFieldAvailable&&e("calcite-button",{key:"4d5e8ae279559dbf981b1b91238706adbd6ebeef",appearance:"transparent",iconEnd:"thumbs-down",kind:this._isDislikeBtnClicked?"brand":"neutral",loading:this._updating,onClick:this.onDislikeButtonClick.bind(this),scale:"m"},this._disLikeCount??this._selectedGraphic.attributes[this._dislikeField]??0)),this.relatedTableId&&this._commentsAvailable&&e("feature-list",{key:"0daad9b37b13a05afc4b8a3a6eca70a7356afd8f",class:"height-full",locale:this.locale,mapView:this.mapView,onFeatureSelect:t=>{this.commentSelect.emit(t.detail)},pageSize:5,ref:t=>this._commentsList=t,selectedLayerId:this.relatedTableId,showErrorWhenNoFeatures:!1,showFullTitle:this.showFullCommentTitle,showInitialLoading:!1,showUserImageInList:this.showUserImageInCommentsList,textSize:"small",whereClause:t}))}async _initModules(){const[t,i]=await h(["esri/rest/support/RelationshipQuery","esri/Graphic"]);this.RelationshipQuery=t,this.Graphic=i}async getCompleteGraphic(t){if(t){const i=t.layer,s=i.createQuery();s.objectIds=[t.getObjectId()];const e=await i.queryFeatures(s);this._selectedGraphic=e.features[0]}}async processComments(){const t=this._selectedGraphic.layer;if(this.reportingOptions&&this.reportingOptions[t.id]&&this.reportingOptions[t.id].comment&&t.relationships?.length>0){const i=await o(this.mapView);let s=null,e=null;if(t.relationships.some((a=>{const h=i.filter((i=>t.url===i.url&&i.layerId===a.relatedTableId));if(h&&h.length>0)return s=h[0],e=a.id,!0})),this.relatedTableId=s?.id??"",this.relatedTableId){const i=this._selectedGraphic.attributes[t.objectIdField],a=new this.RelationshipQuery({objectIds:[i],outFields:["*"],relationshipId:e}),h=await t.queryRelatedFeatures(a).catch((t=>{console.error(t)})),c=[];h[i]&&h[i].features.forEach((t=>{c.push(t.attributes[s.objectIdField])})),this._relatedFeaturesOIDs=c,this._commentsAvailable=!0}else this._relatedFeaturesOIDs=[],this._commentsAvailable=!1}else this._relatedFeaturesOIDs=[],this._commentsAvailable=!1,this.relatedTableId=""}isLikeDislikeConfigured(t){let i=!1,s=!1;if(this.reportingOptions&&this.reportingOptions[t.id]){if(!this.reportingOptions[t.id].like&&!this.reportingOptions[t.id].dislike)return!1;const e=this.reportingOptions[t.id].likeField,a=this.reportingOptions[t.id].dislikeField;if(!e&&!a)return!1;t.fields.forEach((h=>{this._validFieldTypes.indexOf(h.type)>-1&&this.layerItemsHash[t.id].supportsUpdate&&(h.name===e&&this.reportingOptions[t.id].like?i=!0:h.name===a&&this.reportingOptions[t.id].dislike&&(s=!0))}))}return i||s}checkLikeDislikeFields(){this._likeFieldAvailable=!1,this._dislikeFieldAvailable=!1,this._isLikeBtnClicked=!1,this._isDislikeBtnClicked=!1,this._likeCount=0,this._disLikeCount=0;const t=this._selectedGraphic.layer;if(this.reportingOptions&&this.reportingOptions[t.id]){if(this._likeField=this.reportingOptions[t.id].likeField,this._dislikeField=this.reportingOptions[t.id].dislikeField,!this._likeField&&!this._dislikeField)return;t.fields.forEach((i=>{this._validFieldTypes.indexOf(i.type)>-1&&this.layerItemsHash[t.id].supportsUpdate&&(i.name===this._likeField&&this.reportingOptions[t.id].like?(this._likeFieldAvailable=!0,this._likeCount=this._selectedGraphic.attributes[i.name]):i.name===this._dislikeField&&this.reportingOptions[t.id].dislike&&(this._dislikeFieldAvailable=!0,this._disLikeCount=this._selectedGraphic.attributes[i.name]))})),this.getFromLocalStorage()}}onLikeButtonClick(){this._isDislikeBtnClicked&&this.reportingOptions[this._selectedGraphic.layer.id].dislike&&this.onDislikeButtonClick(),this._isLikeBtnClicked=!this._isLikeBtnClicked,this._isLikeBtnClicked?this._likeCount++:this._likeCount--,this.updateFeaturesLikeDislikeField(this._likeField,this._isLikeBtnClicked)}onDislikeButtonClick(){this._isLikeBtnClicked&&this.reportingOptions[this._selectedGraphic.layer.id].like&&this.onLikeButtonClick(),this._isDislikeBtnClicked=!this._isDislikeBtnClicked,this._isDislikeBtnClicked?this._disLikeCount++:this._disLikeCount--,this.updateFeaturesLikeDislikeField(this._dislikeField,this._isDislikeBtnClicked)}async updateFeaturesLikeDislikeField(t,i){const s={},e=this._selectedGraphic.layer;this._updating=!0;const a=this._selectedGraphic;a.attributes[t]=Number(a.attributes[t])+(i?1:-1),s[e.objectIdField]=a.attributes[e.objectIdField],s[t]=a.attributes[t];const h=new this.Graphic;h.attributes=s;const c={updateFeatures:[h]};await e.applyEdits(c).then((()=>{this._selectedGraphic=a,this.setInLocalStorage(),this._updating=!1,this.likeOrDislikeClicked.emit()}),(t=>{this._updating=!1,console.log(t)}))}getFromLocalStorage(){const t=localStorage[this._selectedGraphic.layer.id];if(t){const i=JSON.parse(t).filter((t=>t.id===this._selectedGraphic.getObjectId()));i.length>0&&(this._isLikeBtnClicked=i[0].like,this._isDislikeBtnClicked=i[0].dislike)}}setInLocalStorage(){const t=this._selectedGraphic.layer.id,i=localStorage[t];let s=[];if(i){s=JSON.parse(i);const t=s.findIndex((t=>t.id===this._selectedGraphic.getObjectId()));t>=0&&s.splice(t,1)}s.push({id:this._selectedGraphic.getObjectId(),like:this._isLikeBtnClicked&&0!==this._likeCount,dislike:this._isDislikeBtnClicked&&0!==this._disLikeCount}),localStorage.setItem(t,JSON.stringify(s))}static get watchers(){return{graphics:["graphicsWatchHandler"]}}};b.style=":host{display:block}.buttons-container{align-items:center;display:flex;padding:4px;color:var(--calcite-color-text-1) !important;background-color:var(--calcite-color-foreground-1) !important;border-block-start:1px solid var(--calcite-color-border-3);border-block-end:1px solid var(--calcite-color-border-3)}";const y=class{constructor(s){t(this,s),this.layerSelect=i(this,"layerSelect",7),this.layersListLoaded=i(this,"layersListLoaded",7),this.mapView=void 0,this.layers=void 0,this.locale=void 0,this.showFeatureCount=!0,this.showNextIcon=!1,this.applyLayerViewFilter=!1,this._noLayersToDisplay=!1,this._mapLayerIds=[],this._isLoading=!1,this._translations=void 0}get el(){return s(this)}_layerItemsHash;async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}async refresh(){await this.setLayers()}layerSelect;layersListLoaded;async componentWillLoad(){await this._getTranslations()}async componentDidLoad(){await this.setLayers()}render(){return e(a,{key:"a151c8fd65c50aacb23dcd0c858e52c0c7cd7e5e"},this._isLoading&&e("calcite-loader",{key:"544a134bccc29048ca80b996844cc944bcd97a24",label:"",scale:"m"}),!this._isLoading&&this.mapView&&this._noLayersToDisplay&&e("calcite-notice",{key:"7557f91c8c3349c120c043ea59458b4c834dce2e",class:"error-msg",icon:"layers-reference",kind:"danger",open:!0},e("div",{key:"ea8b20f8c7da5053641cfad56e3395ae3c6286f5",slot:"title"},this._translations.error),e("div",{key:"38aaed7b456aba0b1dd70183be03e9133834dfb4",slot:"message"},this._translations.noLayerToDisplayErrorMsg)),!this._isLoading&&this.mapView&&e("calcite-list",{key:"547b0681145fd8d8663b786472be9e5161cbd693",label:"","selection-appearance":"border","selection-mode":"none"},this.renderLayerList()))}async setLayers(){this.mapView&&(this._isLoading=!0,await this.initLayerHash(),this._isLoading=!1)}async initLayerHash(){const t=[];this._layerItemsHash=await l(this.mapView,!0);const i=await r(this.mapView);for(const s of i)if("feature"===s?.type&&this.showFeatureCount){const i=s.createQuery();if(s?.definitionExpression&&(i.where=i.where+" AND "+s.definitionExpression),this.applyLayerViewFilter){const t=await d(this.mapView,s.id);t?.filter?.where&&(i.where=i.where?i.where+" AND "+t.filter.where:t.filter.where)}const e=s.queryFeatureCount(i);t.push(e),e.then((async t=>{const i=isNaN(t)?"":await n(t,{places:0,api:4,type:"decimal"});this._layerItemsHash[s.id].formattedFeatureCount=i}))}await Promise.all(t).then((()=>{const t=this.getLayersToBeShownInList(this._layerItemsHash);this._mapLayerIds=t.reverse(),this.handleNoLayersToDisplay()}),(()=>{this._mapLayerIds=[],this.handleNoLayersToDisplay()}))}handleNoLayersToDisplay(){this._noLayersToDisplay=!(this._mapLayerIds.length>0),this.layersListLoaded.emit(this._mapLayerIds)}getLayersToBeShownInList(t){const i=this.layers?.length>0?this.layers:[];return Object.keys(t).reduce(((t,s)=>(i.indexOf(s)>-1&&t.push(s),t)),[])}renderLayerList(){return this._mapLayerIds.length>0&&this._mapLayerIds.reduce(((t,i)=>(this._layerItemsHash[i]&&t.push(this.getLayerListItem(i)),t)),[])}getLayerListItem(t){const i=this._layerItemsHash[t].formattedFeatureCount;return e("calcite-list-item",{onCalciteListItemSelect:()=>{this.onLayerItemSelected(t)}},e("div",{class:"layer-name",slot:"content-start"},this._layerItemsHash[t].name),this.showFeatureCount&&void 0!==i&&""!==i&&e("div",{class:"feature-count",slot:"content-end"},"("+i+")"),this.showNextIcon&&e("calcite-icon",{flipRtl:!0,icon:"chevron-right",scale:"s",slot:"content-end"}))}onLayerItemSelected(t){this.layerSelect.emit({layerId:t,layerName:this._layerItemsHash[t].name})}async _getTranslations(){const t=await c(this.el);this._translations=t[0]}static get watchers(){return{locale:["localeWatchHandler"]}}};y.style=":host{display:block}.error-msg{padding:10px}.layer-name{font-weight:500;word-break:break-word}.feature-count{padding:0 10px}";export{p as create_related_feature,b as feature_details,y as layer_list}
@@ -1,6 +0,0 @@
1
- /*!
2
- * Copyright 2022 Esri
3
- * Licensed under the Apache License, Version 2.0
4
- * http://www.apache.org/licenses/LICENSE-2.0
5
- */
6
- import{r as t,c as i,g as e,h as s,H as a}from"./p-e996c38f.js";import{g as h}from"./p-404cbf48.js";import{g as n,d as o,n as l}from"./p-dcd2f00b.js";import{s as r}from"./p-e6859850.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";import"./p-80cb7c73.js";import"./p-8717729a.js";const c=class{constructor(e){t(this,e),this.beforeLayerSelectionChange=i(this,"beforeLayerSelectionChange",7),this.idsFound=i(this,"idsFound",7),this.noLayersFound=i(this,"noLayersFound",7),this.layerSelectionChange=i(this,"layerSelectionChange",7),this.appearance="transparent",this.defaultLayerId="",this.display="inline-block",this.enabledLayerIds=[],this.enabledTableIds=[],this.height=void 0,this.isMobile=void 0,this.locale=void 0,this.mapView=void 0,this.onlyShowUpdatableLayers=void 0,this.placeholderIcon="",this.selectedIds=[],this.scale="m",this.showTables=void 0,this.showTablesDisabled=void 0,this.showSingleLayerAsLabel=!1,this.type="select",this._hasMultipleLayers=!0,this._hasValidLayers=!0,this._isDropdownOpen=void 0,this.ids=[],this.selectedName="",this._translations=void 0}get el(){return e(this)}defaultLayerHonored=!1;_layerElement;_layerNameHash;_skipEditCheck=!1;_tableNameHash;async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}async mapViewWatchHandler(){await this._setLayers(),this.ids.length>0?(this._hasValidLayers=!0,this._hasMultipleLayers=this.ids.length>1,this._setSelectedLayer(this.ids[0])):(this._hasValidLayers=!1,this.noLayersFound.emit())}async setLayerById(t,i=!1){this._skipEditCheck=i,this._setSelectedLayer(t),this._skipEditCheck=!1}async setLayerByIds(t,i=!1){this._skipEditCheck=i,this._layerSelectionChange(t),this._skipEditCheck=!1}async updateLayer(){this._setSelectedLayer(this.ids[0])}beforeLayerSelectionChange;idsFound;noLayersFound;layerSelectionChange;async componentWillLoad(){await this._getTranslations(),await this._setLayers()}async componentWillRender(){if(this.ids.length>0||1===this.selectedIds.length){const t=1===this.selectedIds.length?this.selectedIds[0]:this.ids[0];if(t!==this.selectedIds[0])this._setSelectedLayer(t);else{const t=await n(this.mapView,this.selectedIds[0]);this.selectedName=t?.title}}}render(){const t="map-layer-picker";let i=this.height>0?{height:`${this.height.toString()}px`}:{};return i={...i,display:this.display},s(a,{key:"a4d7a923fcf0b6ec488fafa3af8b3c3a9599d61a"},s("div",{key:"54d5cde231707391537fbd649647a5b9e86a1ab3",class:"map-layer-picker-container",style:i},s("div",{key:"1d1329f393778e561bfed22a1c1542cd75d4b55b",class:"map-layer-picker",style:i},this._hasValidLayers?!this._hasMultipleLayers&&this.showSingleLayerAsLabel?this._getSingleLayerPlaceholder():"combobox"===this.type?this._getCombobox(t):"select"===this.type?this._getSelect(t):this._getDropdown(t):this._getInvalidPlaceholder())))}async componentDidLoad(){if(this.ids.length>0||1===this.selectedIds.length){const t=1===this.selectedIds.length?this.selectedIds[0]:this.ids[0];"select"===this.type?this._layerElement.value=t:"dropdown"===this.type&&(this.selectedName=Object.keys(this._layerNameHash).indexOf(t)>-1?this._layerNameHash[t].name:Object.keys(this._tableNameHash).indexOf(t)>-1?this._tableNameHash[t].name:"")}}_getInvalidPlaceholder(){return s("div",null,s("calcite-notice",{class:"height-100",icon:"exclamation-mark-triangle",id:"no-valid-layers",kind:"danger",open:!0},s("div",{slot:"message"},this._translations.noLayersFound)),s("calcite-tooltip",{label:this._translations.enableEditUpdate,placement:"bottom","reference-element":"no-valid-layers"},s("span",null,this._translations.enableEditUpdate)))}_getSingleLayerPlaceholder(){const t=this._getItemTypeIcon();return s("div",{class:"layer-picker-label-container cursor-default"},s("calcite-icon",{icon:t,scale:"s"}),s("calcite-label",{class:"no-bottom-margin padding-start-1"},this.selectedName))}_getSelect(t){return s("calcite-select",{id:t,label:"",onCalciteSelectChange:()=>this._layerSelectionChange(),ref:t=>{this._layerElement=t},scale:this.scale},this._getMapLayerOptions())}_getCombobox(t){return s("calcite-combobox",{clearDisabled:!0,id:t,label:"",onCalciteComboboxChange:()=>this._layerSelectionChange(),"placeholder-icon":this.placeholderIcon,ref:t=>{this._layerElement=t},scale:this.scale,"selection-mode":"single"},this._getMapLayerOptions())}_getDropdown(t){return s("calcite-dropdown",{class:"layer-picker-dropdown",onCalciteDropdownBeforeClose:()=>this._isDropdownOpen=!1,onCalciteDropdownBeforeOpen:()=>this._isDropdownOpen=!0},this.isMobile?this._getDropdownButton():this._getActionDropdownButton(t),s("calcite-dropdown-group",{"selection-mode":"single"},this._getMapLayerOptions()))}_getActionDropdownButton(t){return s("calcite-action",{id:t,slot:"trigger",text:""},this._getDropdownButton())}_getDropdownButton(){const t=this._getItemTypeIcon();return s("calcite-button",{alignment:"icon-end-space-between",appearance:this.appearance,class:this.isMobile?"":"max-width-350",iconEnd:this._isDropdownOpen?"chevron-up":"chevron-down",iconStart:t,kind:"neutral",slot:this.isMobile?"trigger":"",width:"full"},s("div",null,this.selectedName))}_getItemTypeIcon(){let t="layers";if(this.selectedIds.length>0){const i=this.selectedIds[0];t=Object.keys(this._layerNameHash).indexOf(i)>-1?"layers":"table"}return t}_getMapLayerOptions(){return this.ids.reduce(((t,i)=>(this._validLayer(i)?t.push(this._getItem(i,"layer")):this._validTable(i)&&t.push(this._getItem(i,"table")),t)),[])}_getItem(t,i){const e="layer"===i?this._layerNameHash[t]:this._tableNameHash[t],a=!!this.onlyShowUpdatableLayers&&!e.supportsUpdate,h=e.name,n=this.selectedIds.indexOf(t)>-1;return"combobox"===this.type?s("calcite-combobox-item",{disabled:a,selected:n,textLabel:h,value:t}):"select"===this.type?s("calcite-option",{disabled:a,label:h,selected:n,value:t}):s("calcite-dropdown-group",{class:a?"disabled":"",selectionMode:a?"none":"single"},s("calcite-dropdown-item",{disabled:"table"===i&&this.showTablesDisabled,"icon-start":i,onClick:a?void 0:()=>{this._setSelectedLayer(t)},selected:n},h))}_setSelectedLayer(t){let i;this.defaultLayerId&&!this.defaultLayerHonored&&(i=this._getLayerFromHash(this.defaultLayerId),this.defaultLayerHonored=void 0!==i,t=this.defaultLayerHonored?this.defaultLayerId:t),i=i||this._getLayerFromHash(t),(this._skipEditCheck||!this.beforeLayerSelectionChange.emit({currentId:this.selectedIds[0],newId:t,ref:this.el}).defaultPrevented)&&(this.selectedName=i?.name,this.selectedIds=[t],this.layerSelectionChange.emit(this.selectedIds))}_getLayerFromHash(t){return Object.keys(this._layerNameHash).indexOf(t)>-1?this._layerNameHash[t]:Object.keys(this._tableNameHash).indexOf(t)>-1?this._tableNameHash[t]:void 0}async _setLayers(){if(this.mapView){await this._initLayerTableHash();const t=this.onlyShowUpdatableLayers?this._getEditableIds(this._layerNameHash):Object.keys(this._layerNameHash),i=this.showTables?this.onlyShowUpdatableLayers?this._getEditableIds(this._tableNameHash):Object.keys(this._tableNameHash):[];this.ids=[...t.reverse().filter((t=>!(this.enabledLayerIds?.length>0)||this.enabledLayerIds.reverse().indexOf(t)>-1)),...i.reverse().filter((t=>!(this.enabledTableIds?.length>0)||this.enabledTableIds.reverse().indexOf(t)>-1))],this.idsFound.emit({layerIds:t,tableIds:i})}}_getEditableIds(t){return Object.keys(t).reduce(((i,e)=>(t[e].supportsUpdate&&i.push(e),i)),[])}async _initLayerTableHash(){this._layerNameHash=await o(this.mapView,this.onlyShowUpdatableLayers),this._tableNameHash=this.showTables?await l(this.mapView,this.onlyShowUpdatableLayers):{}}_validLayer(t){const i=this._layerNameHash[t]?.name;return i&&Object.keys(r.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?r.managedTables.indexOf(i)<0&&(!(this.enabledTableIds.length>0)||this.enabledTableIds.indexOf(t)>-1):e}_layerSelectionChange(t){const i=t||(Array.isArray(this._layerElement.value)?this._layerElement.value:[this._layerElement.value]);if(JSON.stringify(i)!==JSON.stringify([""])){if(!this._skipEditCheck&&this.beforeLayerSelectionChange.emit({currentIds:this.selectedIds,newIds:i,ref:this.el}).defaultPrevented)return;this.selectedIds=i,this.layerSelectionChange.emit(this.selectedIds)}}async _getTranslations(){const t=await h(this.el);this._translations=t[0]}static get watchers(){return{locale:["localeWatchHandler"],mapView:["mapViewWatchHandler"]}}};c.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{c as map_layer_picker}