@esri/solutions-components 0.7.17 → 0.7.19

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1252) hide show
  1. package/dist/assets/t9n/crowdsource-manager/resources.json +3 -1
  2. package/dist/assets/t9n/crowdsource-manager/resources_en.json +3 -1
  3. package/dist/assets/t9n/info-card/resources.json +2 -1
  4. package/dist/assets/t9n/info-card/resources_en.json +2 -1
  5. package/dist/assets/t9n/instant-apps-export/resources.json +12 -12
  6. package/dist/assets/t9n/instant-apps-export/resources_ar.json +11 -11
  7. package/dist/assets/t9n/instant-apps-export/resources_bg.json +11 -11
  8. package/dist/assets/t9n/instant-apps-export/resources_bs.json +11 -11
  9. package/dist/assets/t9n/instant-apps-export/resources_ca.json +11 -11
  10. package/dist/assets/t9n/instant-apps-export/resources_cs.json +11 -11
  11. package/dist/assets/t9n/instant-apps-export/resources_da.json +11 -11
  12. package/dist/assets/t9n/instant-apps-export/resources_de.json +11 -11
  13. package/dist/assets/t9n/instant-apps-export/resources_el.json +11 -11
  14. package/dist/assets/t9n/instant-apps-export/resources_en.json +12 -12
  15. package/dist/assets/t9n/instant-apps-export/resources_es.json +11 -11
  16. package/dist/assets/t9n/instant-apps-export/resources_et.json +11 -11
  17. package/dist/assets/t9n/instant-apps-export/resources_fi.json +11 -11
  18. package/dist/assets/t9n/instant-apps-export/resources_fr.json +11 -11
  19. package/dist/assets/t9n/instant-apps-export/resources_he.json +11 -11
  20. package/dist/assets/t9n/instant-apps-export/resources_hr.json +11 -11
  21. package/dist/assets/t9n/instant-apps-export/resources_hu.json +11 -11
  22. package/dist/assets/t9n/instant-apps-export/resources_id.json +11 -11
  23. package/dist/assets/t9n/instant-apps-export/resources_it.json +11 -11
  24. package/dist/assets/t9n/instant-apps-export/resources_ja.json +11 -11
  25. package/dist/assets/t9n/instant-apps-export/resources_ko.json +11 -11
  26. package/dist/assets/t9n/instant-apps-export/resources_lt.json +11 -11
  27. package/dist/assets/t9n/instant-apps-export/resources_lv.json +11 -11
  28. package/dist/assets/t9n/instant-apps-export/resources_nb.json +11 -11
  29. package/dist/assets/t9n/instant-apps-export/resources_nl.json +11 -11
  30. package/dist/assets/t9n/instant-apps-export/resources_pl.json +11 -11
  31. package/dist/assets/t9n/instant-apps-export/resources_pt-BR.json +11 -11
  32. package/dist/assets/t9n/instant-apps-export/resources_pt-PT.json +11 -11
  33. package/dist/assets/t9n/instant-apps-export/resources_ro.json +11 -11
  34. package/dist/assets/t9n/instant-apps-export/resources_ru.json +11 -11
  35. package/dist/assets/t9n/instant-apps-export/resources_sk.json +11 -11
  36. package/dist/assets/t9n/instant-apps-export/resources_sl.json +11 -11
  37. package/dist/assets/t9n/instant-apps-export/resources_sr.json +11 -11
  38. package/dist/assets/t9n/instant-apps-export/resources_sv.json +11 -11
  39. package/dist/assets/t9n/instant-apps-export/resources_th.json +11 -11
  40. package/dist/assets/t9n/instant-apps-export/resources_tr.json +11 -11
  41. package/dist/assets/t9n/instant-apps-export/resources_uk.json +11 -11
  42. package/dist/assets/t9n/instant-apps-export/resources_vi.json +11 -11
  43. package/dist/assets/t9n/instant-apps-export/resources_zh-CN.json +11 -11
  44. package/dist/assets/t9n/instant-apps-export/resources_zh-HK.json +11 -11
  45. package/dist/assets/t9n/instant-apps-export/resources_zh-TW.json +11 -11
  46. package/dist/assets/t9n/instant-apps-filter-list/resources.json +16 -16
  47. package/dist/assets/t9n/instant-apps-filter-list/resources_ar.json +16 -16
  48. package/dist/assets/t9n/instant-apps-filter-list/resources_bg.json +16 -16
  49. package/dist/assets/t9n/instant-apps-filter-list/resources_bs.json +16 -16
  50. package/dist/assets/t9n/instant-apps-filter-list/resources_ca.json +16 -16
  51. package/dist/assets/t9n/instant-apps-filter-list/resources_cs.json +16 -16
  52. package/dist/assets/t9n/instant-apps-filter-list/resources_da.json +16 -16
  53. package/dist/assets/t9n/instant-apps-filter-list/resources_de.json +16 -16
  54. package/dist/assets/t9n/instant-apps-filter-list/resources_el.json +16 -16
  55. package/dist/assets/t9n/instant-apps-filter-list/resources_en.json +16 -16
  56. package/dist/assets/t9n/instant-apps-filter-list/resources_es.json +16 -16
  57. package/dist/assets/t9n/instant-apps-filter-list/resources_et.json +16 -16
  58. package/dist/assets/t9n/instant-apps-filter-list/resources_fi.json +16 -16
  59. package/dist/assets/t9n/instant-apps-filter-list/resources_fr.json +16 -16
  60. package/dist/assets/t9n/instant-apps-filter-list/resources_he.json +16 -16
  61. package/dist/assets/t9n/instant-apps-filter-list/resources_hr.json +16 -16
  62. package/dist/assets/t9n/instant-apps-filter-list/resources_hu.json +16 -16
  63. package/dist/assets/t9n/instant-apps-filter-list/resources_id.json +16 -16
  64. package/dist/assets/t9n/instant-apps-filter-list/resources_it.json +16 -16
  65. package/dist/assets/t9n/instant-apps-filter-list/resources_ja.json +16 -16
  66. package/dist/assets/t9n/instant-apps-filter-list/resources_ko.json +16 -16
  67. package/dist/assets/t9n/instant-apps-filter-list/resources_lt.json +16 -16
  68. package/dist/assets/t9n/instant-apps-filter-list/resources_lv.json +16 -16
  69. package/dist/assets/t9n/instant-apps-filter-list/resources_nb.json +16 -16
  70. package/dist/assets/t9n/instant-apps-filter-list/resources_nl.json +16 -16
  71. package/dist/assets/t9n/instant-apps-filter-list/resources_pl.json +16 -16
  72. package/dist/assets/t9n/instant-apps-filter-list/resources_pt-BR.json +16 -16
  73. package/dist/assets/t9n/instant-apps-filter-list/resources_pt-PT.json +16 -16
  74. package/dist/assets/t9n/instant-apps-filter-list/resources_ro.json +16 -16
  75. package/dist/assets/t9n/instant-apps-filter-list/resources_ru.json +16 -16
  76. package/dist/assets/t9n/instant-apps-filter-list/resources_sk.json +16 -16
  77. package/dist/assets/t9n/instant-apps-filter-list/resources_sl.json +16 -16
  78. package/dist/assets/t9n/instant-apps-filter-list/resources_sr.json +16 -16
  79. package/dist/assets/t9n/instant-apps-filter-list/resources_sv.json +16 -16
  80. package/dist/assets/t9n/instant-apps-filter-list/resources_th.json +16 -16
  81. package/dist/assets/t9n/instant-apps-filter-list/resources_tr.json +16 -16
  82. package/dist/assets/t9n/instant-apps-filter-list/resources_uk.json +16 -16
  83. package/dist/assets/t9n/instant-apps-filter-list/resources_vi.json +16 -16
  84. package/dist/assets/t9n/instant-apps-filter-list/resources_zh-CN.json +16 -16
  85. package/dist/assets/t9n/instant-apps-filter-list/resources_zh-HK.json +16 -16
  86. package/dist/assets/t9n/instant-apps-filter-list/resources_zh-TW.json +16 -16
  87. package/dist/assets/t9n/instant-apps-interactive-legend/resources.json +15 -15
  88. package/dist/assets/t9n/instant-apps-interactive-legend/resources_ar.json +15 -15
  89. package/dist/assets/t9n/instant-apps-interactive-legend/resources_bg.json +15 -15
  90. package/dist/assets/t9n/instant-apps-interactive-legend/resources_bs.json +15 -15
  91. package/dist/assets/t9n/instant-apps-interactive-legend/resources_ca.json +15 -15
  92. package/dist/assets/t9n/instant-apps-interactive-legend/resources_cs.json +15 -15
  93. package/dist/assets/t9n/instant-apps-interactive-legend/resources_da.json +15 -15
  94. package/dist/assets/t9n/instant-apps-interactive-legend/resources_de.json +15 -15
  95. package/dist/assets/t9n/instant-apps-interactive-legend/resources_el.json +15 -15
  96. package/dist/assets/t9n/instant-apps-interactive-legend/resources_en.json +15 -15
  97. package/dist/assets/t9n/instant-apps-interactive-legend/resources_es.json +15 -15
  98. package/dist/assets/t9n/instant-apps-interactive-legend/resources_et.json +15 -15
  99. package/dist/assets/t9n/instant-apps-interactive-legend/resources_fi.json +15 -15
  100. package/dist/assets/t9n/instant-apps-interactive-legend/resources_fr.json +15 -15
  101. package/dist/assets/t9n/instant-apps-interactive-legend/resources_he.json +15 -15
  102. package/dist/assets/t9n/instant-apps-interactive-legend/resources_hr.json +15 -15
  103. package/dist/assets/t9n/instant-apps-interactive-legend/resources_hu.json +15 -15
  104. package/dist/assets/t9n/instant-apps-interactive-legend/resources_id.json +15 -15
  105. package/dist/assets/t9n/instant-apps-interactive-legend/resources_it.json +15 -15
  106. package/dist/assets/t9n/instant-apps-interactive-legend/resources_ja.json +15 -15
  107. package/dist/assets/t9n/instant-apps-interactive-legend/resources_ko.json +15 -15
  108. package/dist/assets/t9n/instant-apps-interactive-legend/resources_lt.json +15 -15
  109. package/dist/assets/t9n/instant-apps-interactive-legend/resources_lv.json +15 -15
  110. package/dist/assets/t9n/instant-apps-interactive-legend/resources_nb.json +15 -15
  111. package/dist/assets/t9n/instant-apps-interactive-legend/resources_nl.json +15 -15
  112. package/dist/assets/t9n/instant-apps-interactive-legend/resources_pl.json +15 -15
  113. package/dist/assets/t9n/instant-apps-interactive-legend/resources_pt-BR.json +15 -15
  114. package/dist/assets/t9n/instant-apps-interactive-legend/resources_pt-PT.json +15 -15
  115. package/dist/assets/t9n/instant-apps-interactive-legend/resources_ro.json +15 -15
  116. package/dist/assets/t9n/instant-apps-interactive-legend/resources_ru.json +15 -15
  117. package/dist/assets/t9n/instant-apps-interactive-legend/resources_sk.json +15 -15
  118. package/dist/assets/t9n/instant-apps-interactive-legend/resources_sl.json +15 -15
  119. package/dist/assets/t9n/instant-apps-interactive-legend/resources_sr.json +15 -15
  120. package/dist/assets/t9n/instant-apps-interactive-legend/resources_sv.json +15 -15
  121. package/dist/assets/t9n/instant-apps-interactive-legend/resources_th.json +15 -15
  122. package/dist/assets/t9n/instant-apps-interactive-legend/resources_tr.json +15 -15
  123. package/dist/assets/t9n/instant-apps-interactive-legend/resources_uk.json +15 -15
  124. package/dist/assets/t9n/instant-apps-interactive-legend/resources_vi.json +15 -15
  125. package/dist/assets/t9n/instant-apps-interactive-legend/resources_zh-CN.json +15 -15
  126. package/dist/assets/t9n/instant-apps-interactive-legend/resources_zh-HK.json +15 -15
  127. package/dist/assets/t9n/instant-apps-interactive-legend/resources_zh-TW.json +15 -15
  128. package/dist/assets/t9n/instant-apps-keyboard-shortcuts/resources.json +30 -30
  129. package/dist/assets/t9n/instant-apps-keyboard-shortcuts/resources_ar.json +30 -30
  130. package/dist/assets/t9n/instant-apps-keyboard-shortcuts/resources_bg.json +30 -30
  131. package/dist/assets/t9n/instant-apps-keyboard-shortcuts/resources_bs.json +30 -30
  132. package/dist/assets/t9n/instant-apps-keyboard-shortcuts/resources_ca.json +30 -30
  133. package/dist/assets/t9n/instant-apps-keyboard-shortcuts/resources_cs.json +30 -30
  134. package/dist/assets/t9n/instant-apps-keyboard-shortcuts/resources_da.json +30 -30
  135. package/dist/assets/t9n/instant-apps-keyboard-shortcuts/resources_de.json +30 -30
  136. package/dist/assets/t9n/instant-apps-keyboard-shortcuts/resources_el.json +30 -30
  137. package/dist/assets/t9n/instant-apps-keyboard-shortcuts/resources_en.json +30 -30
  138. package/dist/assets/t9n/instant-apps-keyboard-shortcuts/resources_es.json +30 -30
  139. package/dist/assets/t9n/instant-apps-keyboard-shortcuts/resources_et.json +30 -30
  140. package/dist/assets/t9n/instant-apps-keyboard-shortcuts/resources_fi.json +30 -30
  141. package/dist/assets/t9n/instant-apps-keyboard-shortcuts/resources_fr.json +30 -30
  142. package/dist/assets/t9n/instant-apps-keyboard-shortcuts/resources_he.json +30 -30
  143. package/dist/assets/t9n/instant-apps-keyboard-shortcuts/resources_hr.json +30 -30
  144. package/dist/assets/t9n/instant-apps-keyboard-shortcuts/resources_hu.json +30 -30
  145. package/dist/assets/t9n/instant-apps-keyboard-shortcuts/resources_id.json +30 -30
  146. package/dist/assets/t9n/instant-apps-keyboard-shortcuts/resources_it.json +30 -30
  147. package/dist/assets/t9n/instant-apps-keyboard-shortcuts/resources_ja.json +30 -30
  148. package/dist/assets/t9n/instant-apps-keyboard-shortcuts/resources_ko.json +30 -30
  149. package/dist/assets/t9n/instant-apps-keyboard-shortcuts/resources_lt.json +30 -30
  150. package/dist/assets/t9n/instant-apps-keyboard-shortcuts/resources_lv.json +30 -30
  151. package/dist/assets/t9n/instant-apps-keyboard-shortcuts/resources_nb.json +30 -30
  152. package/dist/assets/t9n/instant-apps-keyboard-shortcuts/resources_nl.json +30 -30
  153. package/dist/assets/t9n/instant-apps-keyboard-shortcuts/resources_pl.json +30 -30
  154. package/dist/assets/t9n/instant-apps-keyboard-shortcuts/resources_pt-BR.json +30 -30
  155. package/dist/assets/t9n/instant-apps-keyboard-shortcuts/resources_pt-PT.json +30 -30
  156. package/dist/assets/t9n/instant-apps-keyboard-shortcuts/resources_ro.json +30 -30
  157. package/dist/assets/t9n/instant-apps-keyboard-shortcuts/resources_ru.json +30 -30
  158. package/dist/assets/t9n/instant-apps-keyboard-shortcuts/resources_sk.json +30 -30
  159. package/dist/assets/t9n/instant-apps-keyboard-shortcuts/resources_sl.json +30 -30
  160. package/dist/assets/t9n/instant-apps-keyboard-shortcuts/resources_sr.json +30 -30
  161. package/dist/assets/t9n/instant-apps-keyboard-shortcuts/resources_sv.json +30 -30
  162. package/dist/assets/t9n/instant-apps-keyboard-shortcuts/resources_th.json +30 -30
  163. package/dist/assets/t9n/instant-apps-keyboard-shortcuts/resources_tr.json +30 -30
  164. package/dist/assets/t9n/instant-apps-keyboard-shortcuts/resources_uk.json +30 -30
  165. package/dist/assets/t9n/instant-apps-keyboard-shortcuts/resources_vi.json +30 -30
  166. package/dist/assets/t9n/instant-apps-keyboard-shortcuts/resources_zh-CN.json +30 -30
  167. package/dist/assets/t9n/instant-apps-keyboard-shortcuts/resources_zh-HK.json +30 -30
  168. package/dist/assets/t9n/instant-apps-keyboard-shortcuts/resources_zh-TW.json +30 -30
  169. package/dist/assets/t9n/instant-apps-language-translator/resources.json +102 -102
  170. package/dist/assets/t9n/instant-apps-language-translator/resources_ar.json +102 -102
  171. package/dist/assets/t9n/instant-apps-language-translator/resources_bg.json +102 -102
  172. package/dist/assets/t9n/instant-apps-language-translator/resources_bs.json +102 -102
  173. package/dist/assets/t9n/instant-apps-language-translator/resources_ca.json +102 -102
  174. package/dist/assets/t9n/instant-apps-language-translator/resources_cs.json +102 -102
  175. package/dist/assets/t9n/instant-apps-language-translator/resources_da.json +102 -102
  176. package/dist/assets/t9n/instant-apps-language-translator/resources_de.json +102 -102
  177. package/dist/assets/t9n/instant-apps-language-translator/resources_el.json +102 -102
  178. package/dist/assets/t9n/instant-apps-language-translator/resources_en.json +102 -102
  179. package/dist/assets/t9n/instant-apps-language-translator/resources_es.json +102 -102
  180. package/dist/assets/t9n/instant-apps-language-translator/resources_et.json +102 -102
  181. package/dist/assets/t9n/instant-apps-language-translator/resources_fi.json +102 -102
  182. package/dist/assets/t9n/instant-apps-language-translator/resources_fr.json +102 -102
  183. package/dist/assets/t9n/instant-apps-language-translator/resources_he.json +102 -102
  184. package/dist/assets/t9n/instant-apps-language-translator/resources_hr.json +102 -102
  185. package/dist/assets/t9n/instant-apps-language-translator/resources_hu.json +102 -102
  186. package/dist/assets/t9n/instant-apps-language-translator/resources_id.json +102 -102
  187. package/dist/assets/t9n/instant-apps-language-translator/resources_it.json +102 -102
  188. package/dist/assets/t9n/instant-apps-language-translator/resources_ja.json +102 -102
  189. package/dist/assets/t9n/instant-apps-language-translator/resources_ko.json +102 -102
  190. package/dist/assets/t9n/instant-apps-language-translator/resources_lt.json +102 -102
  191. package/dist/assets/t9n/instant-apps-language-translator/resources_lv.json +102 -102
  192. package/dist/assets/t9n/instant-apps-language-translator/resources_nb.json +102 -102
  193. package/dist/assets/t9n/instant-apps-language-translator/resources_nl.json +102 -102
  194. package/dist/assets/t9n/instant-apps-language-translator/resources_pl.json +102 -102
  195. package/dist/assets/t9n/instant-apps-language-translator/resources_pt-BR.json +102 -102
  196. package/dist/assets/t9n/instant-apps-language-translator/resources_pt-PT.json +102 -102
  197. package/dist/assets/t9n/instant-apps-language-translator/resources_ro.json +102 -102
  198. package/dist/assets/t9n/instant-apps-language-translator/resources_ru.json +102 -102
  199. package/dist/assets/t9n/instant-apps-language-translator/resources_sk.json +102 -102
  200. package/dist/assets/t9n/instant-apps-language-translator/resources_sl.json +102 -102
  201. package/dist/assets/t9n/instant-apps-language-translator/resources_sr.json +102 -102
  202. package/dist/assets/t9n/instant-apps-language-translator/resources_sv.json +102 -102
  203. package/dist/assets/t9n/instant-apps-language-translator/resources_th.json +102 -102
  204. package/dist/assets/t9n/instant-apps-language-translator/resources_tr.json +102 -102
  205. package/dist/assets/t9n/instant-apps-language-translator/resources_uk.json +102 -102
  206. package/dist/assets/t9n/instant-apps-language-translator/resources_vi.json +102 -102
  207. package/dist/assets/t9n/instant-apps-language-translator/resources_zh-CN.json +102 -102
  208. package/dist/assets/t9n/instant-apps-language-translator/resources_zh-HK.json +102 -102
  209. package/dist/assets/t9n/instant-apps-language-translator/resources_zh-TW.json +102 -102
  210. package/dist/assets/t9n/instant-apps-measurement/resources.json +6 -6
  211. package/dist/assets/t9n/instant-apps-measurement/resources_ar.json +6 -6
  212. package/dist/assets/t9n/instant-apps-measurement/resources_bg.json +6 -6
  213. package/dist/assets/t9n/instant-apps-measurement/resources_bs.json +6 -6
  214. package/dist/assets/t9n/instant-apps-measurement/resources_ca.json +6 -6
  215. package/dist/assets/t9n/instant-apps-measurement/resources_cs.json +6 -6
  216. package/dist/assets/t9n/instant-apps-measurement/resources_da.json +6 -6
  217. package/dist/assets/t9n/instant-apps-measurement/resources_de.json +6 -6
  218. package/dist/assets/t9n/instant-apps-measurement/resources_el.json +6 -6
  219. package/dist/assets/t9n/instant-apps-measurement/resources_en.json +6 -6
  220. package/dist/assets/t9n/instant-apps-measurement/resources_es.json +6 -6
  221. package/dist/assets/t9n/instant-apps-measurement/resources_et.json +6 -6
  222. package/dist/assets/t9n/instant-apps-measurement/resources_fi.json +6 -6
  223. package/dist/assets/t9n/instant-apps-measurement/resources_fr.json +6 -6
  224. package/dist/assets/t9n/instant-apps-measurement/resources_he.json +6 -6
  225. package/dist/assets/t9n/instant-apps-measurement/resources_hr.json +6 -6
  226. package/dist/assets/t9n/instant-apps-measurement/resources_hu.json +6 -6
  227. package/dist/assets/t9n/instant-apps-measurement/resources_id.json +6 -6
  228. package/dist/assets/t9n/instant-apps-measurement/resources_it.json +6 -6
  229. package/dist/assets/t9n/instant-apps-measurement/resources_ja.json +6 -6
  230. package/dist/assets/t9n/instant-apps-measurement/resources_ko.json +6 -6
  231. package/dist/assets/t9n/instant-apps-measurement/resources_lt.json +6 -6
  232. package/dist/assets/t9n/instant-apps-measurement/resources_lv.json +6 -6
  233. package/dist/assets/t9n/instant-apps-measurement/resources_nb.json +6 -6
  234. package/dist/assets/t9n/instant-apps-measurement/resources_nl.json +6 -6
  235. package/dist/assets/t9n/instant-apps-measurement/resources_pl.json +6 -6
  236. package/dist/assets/t9n/instant-apps-measurement/resources_pt-BR.json +6 -6
  237. package/dist/assets/t9n/instant-apps-measurement/resources_pt-PT.json +6 -6
  238. package/dist/assets/t9n/instant-apps-measurement/resources_ro.json +6 -6
  239. package/dist/assets/t9n/instant-apps-measurement/resources_ru.json +6 -6
  240. package/dist/assets/t9n/instant-apps-measurement/resources_sk.json +6 -6
  241. package/dist/assets/t9n/instant-apps-measurement/resources_sl.json +6 -6
  242. package/dist/assets/t9n/instant-apps-measurement/resources_sr.json +6 -6
  243. package/dist/assets/t9n/instant-apps-measurement/resources_sv.json +6 -6
  244. package/dist/assets/t9n/instant-apps-measurement/resources_th.json +6 -6
  245. package/dist/assets/t9n/instant-apps-measurement/resources_tr.json +6 -6
  246. package/dist/assets/t9n/instant-apps-measurement/resources_uk.json +6 -6
  247. package/dist/assets/t9n/instant-apps-measurement/resources_vi.json +6 -6
  248. package/dist/assets/t9n/instant-apps-measurement/resources_zh-CN.json +6 -6
  249. package/dist/assets/t9n/instant-apps-measurement/resources_zh-HK.json +6 -6
  250. package/dist/assets/t9n/instant-apps-measurement/resources_zh-TW.json +6 -6
  251. package/dist/assets/t9n/instant-apps-popover/resources.json +7 -7
  252. package/dist/assets/t9n/instant-apps-popover/resources_ar.json +5 -5
  253. package/dist/assets/t9n/instant-apps-popover/resources_bg.json +5 -5
  254. package/dist/assets/t9n/instant-apps-popover/resources_bs.json +5 -5
  255. package/dist/assets/t9n/instant-apps-popover/resources_ca.json +5 -5
  256. package/dist/assets/t9n/instant-apps-popover/resources_cs.json +5 -5
  257. package/dist/assets/t9n/instant-apps-popover/resources_da.json +5 -5
  258. package/dist/assets/t9n/instant-apps-popover/resources_de.json +5 -5
  259. package/dist/assets/t9n/instant-apps-popover/resources_el.json +5 -5
  260. package/dist/assets/t9n/instant-apps-popover/resources_en.json +7 -7
  261. package/dist/assets/t9n/instant-apps-popover/resources_es.json +5 -5
  262. package/dist/assets/t9n/instant-apps-popover/resources_et.json +5 -5
  263. package/dist/assets/t9n/instant-apps-popover/resources_fi.json +5 -5
  264. package/dist/assets/t9n/instant-apps-popover/resources_fr.json +5 -5
  265. package/dist/assets/t9n/instant-apps-popover/resources_he.json +5 -5
  266. package/dist/assets/t9n/instant-apps-popover/resources_hr.json +5 -5
  267. package/dist/assets/t9n/instant-apps-popover/resources_hu.json +5 -5
  268. package/dist/assets/t9n/instant-apps-popover/resources_id.json +5 -5
  269. package/dist/assets/t9n/instant-apps-popover/resources_it.json +5 -5
  270. package/dist/assets/t9n/instant-apps-popover/resources_ja.json +5 -5
  271. package/dist/assets/t9n/instant-apps-popover/resources_ko.json +5 -5
  272. package/dist/assets/t9n/instant-apps-popover/resources_lt.json +5 -5
  273. package/dist/assets/t9n/instant-apps-popover/resources_lv.json +5 -5
  274. package/dist/assets/t9n/instant-apps-popover/resources_nb.json +5 -5
  275. package/dist/assets/t9n/instant-apps-popover/resources_nl.json +5 -5
  276. package/dist/assets/t9n/instant-apps-popover/resources_pl.json +5 -5
  277. package/dist/assets/t9n/instant-apps-popover/resources_pt-BR.json +5 -5
  278. package/dist/assets/t9n/instant-apps-popover/resources_pt-PT.json +5 -5
  279. package/dist/assets/t9n/instant-apps-popover/resources_ro.json +5 -5
  280. package/dist/assets/t9n/instant-apps-popover/resources_ru.json +5 -5
  281. package/dist/assets/t9n/instant-apps-popover/resources_sk.json +5 -5
  282. package/dist/assets/t9n/instant-apps-popover/resources_sl.json +5 -5
  283. package/dist/assets/t9n/instant-apps-popover/resources_sr.json +5 -5
  284. package/dist/assets/t9n/instant-apps-popover/resources_sv.json +5 -5
  285. package/dist/assets/t9n/instant-apps-popover/resources_th.json +5 -5
  286. package/dist/assets/t9n/instant-apps-popover/resources_tr.json +5 -5
  287. package/dist/assets/t9n/instant-apps-popover/resources_uk.json +5 -5
  288. package/dist/assets/t9n/instant-apps-popover/resources_vi.json +5 -5
  289. package/dist/assets/t9n/instant-apps-popover/resources_zh-CN.json +5 -5
  290. package/dist/assets/t9n/instant-apps-popover/resources_zh-HK.json +5 -5
  291. package/dist/assets/t9n/instant-apps-popover/resources_zh-TW.json +5 -5
  292. package/dist/assets/t9n/instant-apps-scoreboard/resources.json +6 -6
  293. package/dist/assets/t9n/instant-apps-scoreboard/resources_ar.json +6 -6
  294. package/dist/assets/t9n/instant-apps-scoreboard/resources_bg.json +6 -6
  295. package/dist/assets/t9n/instant-apps-scoreboard/resources_bs.json +6 -6
  296. package/dist/assets/t9n/instant-apps-scoreboard/resources_ca.json +6 -6
  297. package/dist/assets/t9n/instant-apps-scoreboard/resources_cs.json +6 -6
  298. package/dist/assets/t9n/instant-apps-scoreboard/resources_da.json +6 -6
  299. package/dist/assets/t9n/instant-apps-scoreboard/resources_de.json +6 -6
  300. package/dist/assets/t9n/instant-apps-scoreboard/resources_el.json +6 -6
  301. package/dist/assets/t9n/instant-apps-scoreboard/resources_en.json +6 -6
  302. package/dist/assets/t9n/instant-apps-scoreboard/resources_es.json +6 -6
  303. package/dist/assets/t9n/instant-apps-scoreboard/resources_et.json +6 -6
  304. package/dist/assets/t9n/instant-apps-scoreboard/resources_fi.json +6 -6
  305. package/dist/assets/t9n/instant-apps-scoreboard/resources_fr.json +6 -6
  306. package/dist/assets/t9n/instant-apps-scoreboard/resources_he.json +6 -6
  307. package/dist/assets/t9n/instant-apps-scoreboard/resources_hr.json +6 -6
  308. package/dist/assets/t9n/instant-apps-scoreboard/resources_hu.json +6 -6
  309. package/dist/assets/t9n/instant-apps-scoreboard/resources_id.json +6 -6
  310. package/dist/assets/t9n/instant-apps-scoreboard/resources_it.json +6 -6
  311. package/dist/assets/t9n/instant-apps-scoreboard/resources_ja.json +6 -6
  312. package/dist/assets/t9n/instant-apps-scoreboard/resources_ko.json +6 -6
  313. package/dist/assets/t9n/instant-apps-scoreboard/resources_lt.json +6 -6
  314. package/dist/assets/t9n/instant-apps-scoreboard/resources_lv.json +6 -6
  315. package/dist/assets/t9n/instant-apps-scoreboard/resources_nb.json +6 -6
  316. package/dist/assets/t9n/instant-apps-scoreboard/resources_nl.json +6 -6
  317. package/dist/assets/t9n/instant-apps-scoreboard/resources_pl.json +6 -6
  318. package/dist/assets/t9n/instant-apps-scoreboard/resources_pt-BR.json +6 -6
  319. package/dist/assets/t9n/instant-apps-scoreboard/resources_pt-PT.json +6 -6
  320. package/dist/assets/t9n/instant-apps-scoreboard/resources_ro.json +6 -6
  321. package/dist/assets/t9n/instant-apps-scoreboard/resources_ru.json +6 -6
  322. package/dist/assets/t9n/instant-apps-scoreboard/resources_sk.json +6 -6
  323. package/dist/assets/t9n/instant-apps-scoreboard/resources_sl.json +6 -6
  324. package/dist/assets/t9n/instant-apps-scoreboard/resources_sr.json +6 -6
  325. package/dist/assets/t9n/instant-apps-scoreboard/resources_sv.json +6 -6
  326. package/dist/assets/t9n/instant-apps-scoreboard/resources_th.json +6 -6
  327. package/dist/assets/t9n/instant-apps-scoreboard/resources_tr.json +6 -6
  328. package/dist/assets/t9n/instant-apps-scoreboard/resources_uk.json +6 -6
  329. package/dist/assets/t9n/instant-apps-scoreboard/resources_vi.json +6 -6
  330. package/dist/assets/t9n/instant-apps-scoreboard/resources_zh-CN.json +6 -6
  331. package/dist/assets/t9n/instant-apps-scoreboard/resources_zh-HK.json +6 -6
  332. package/dist/assets/t9n/instant-apps-scoreboard/resources_zh-TW.json +6 -6
  333. package/dist/assets/t9n/instant-apps-social-share/resources.json +38 -38
  334. package/dist/assets/t9n/instant-apps-social-share/resources_ar.json +37 -37
  335. package/dist/assets/t9n/instant-apps-social-share/resources_bg.json +37 -37
  336. package/dist/assets/t9n/instant-apps-social-share/resources_bs.json +37 -37
  337. package/dist/assets/t9n/instant-apps-social-share/resources_ca.json +37 -37
  338. package/dist/assets/t9n/instant-apps-social-share/resources_cs.json +37 -37
  339. package/dist/assets/t9n/instant-apps-social-share/resources_da.json +37 -37
  340. package/dist/assets/t9n/instant-apps-social-share/resources_de.json +37 -37
  341. package/dist/assets/t9n/instant-apps-social-share/resources_el.json +37 -37
  342. package/dist/assets/t9n/instant-apps-social-share/resources_en.json +38 -38
  343. package/dist/assets/t9n/instant-apps-social-share/resources_es.json +37 -37
  344. package/dist/assets/t9n/instant-apps-social-share/resources_et.json +37 -37
  345. package/dist/assets/t9n/instant-apps-social-share/resources_fi.json +37 -37
  346. package/dist/assets/t9n/instant-apps-social-share/resources_fr.json +37 -37
  347. package/dist/assets/t9n/instant-apps-social-share/resources_he.json +37 -37
  348. package/dist/assets/t9n/instant-apps-social-share/resources_hr.json +37 -37
  349. package/dist/assets/t9n/instant-apps-social-share/resources_hu.json +37 -37
  350. package/dist/assets/t9n/instant-apps-social-share/resources_id.json +37 -37
  351. package/dist/assets/t9n/instant-apps-social-share/resources_it.json +37 -37
  352. package/dist/assets/t9n/instant-apps-social-share/resources_ja.json +37 -37
  353. package/dist/assets/t9n/instant-apps-social-share/resources_ko.json +37 -37
  354. package/dist/assets/t9n/instant-apps-social-share/resources_lt.json +37 -37
  355. package/dist/assets/t9n/instant-apps-social-share/resources_lv.json +37 -37
  356. package/dist/assets/t9n/instant-apps-social-share/resources_nb.json +37 -37
  357. package/dist/assets/t9n/instant-apps-social-share/resources_nl.json +37 -37
  358. package/dist/assets/t9n/instant-apps-social-share/resources_pl.json +37 -37
  359. package/dist/assets/t9n/instant-apps-social-share/resources_pt-BR.json +37 -37
  360. package/dist/assets/t9n/instant-apps-social-share/resources_pt-PT.json +37 -37
  361. package/dist/assets/t9n/instant-apps-social-share/resources_ro.json +37 -37
  362. package/dist/assets/t9n/instant-apps-social-share/resources_ru.json +37 -37
  363. package/dist/assets/t9n/instant-apps-social-share/resources_sk.json +37 -37
  364. package/dist/assets/t9n/instant-apps-social-share/resources_sl.json +37 -37
  365. package/dist/assets/t9n/instant-apps-social-share/resources_sr.json +37 -37
  366. package/dist/assets/t9n/instant-apps-social-share/resources_sv.json +37 -37
  367. package/dist/assets/t9n/instant-apps-social-share/resources_th.json +37 -37
  368. package/dist/assets/t9n/instant-apps-social-share/resources_tr.json +37 -37
  369. package/dist/assets/t9n/instant-apps-social-share/resources_uk.json +37 -37
  370. package/dist/assets/t9n/instant-apps-social-share/resources_vi.json +37 -37
  371. package/dist/assets/t9n/instant-apps-social-share/resources_zh-CN.json +37 -37
  372. package/dist/assets/t9n/instant-apps-social-share/resources_zh-HK.json +37 -37
  373. package/dist/assets/t9n/instant-apps-social-share/resources_zh-TW.json +37 -37
  374. package/dist/assets/t9n/instant-apps-splash/resources.json +2 -2
  375. package/dist/assets/t9n/instant-apps-splash/resources_en.json +2 -2
  376. package/dist/cjs/basemap-gallery_7.cjs.entry.js +0 -30
  377. package/dist/cjs/buffer-tools_3.cjs.entry.js +0 -2
  378. package/dist/cjs/calcite-action-group.cjs.entry.js +116 -0
  379. package/dist/cjs/{calcite-popover.cjs.entry.js → calcite-action-menu_2.cjs.entry.js} +285 -5
  380. package/dist/cjs/calcite-alert_3.cjs.entry.js +124 -32
  381. package/dist/cjs/calcite-combobox_6.cjs.entry.js +23 -2
  382. package/dist/cjs/{calcite-panel.cjs.entry.js → calcite-panel_2.cjs.entry.js} +142 -0
  383. package/dist/cjs/calcite-shell-panel_14.cjs.entry.js +1 -1
  384. package/dist/cjs/card-manager_3.cjs.entry.js +182 -145
  385. package/dist/cjs/crowdsource-manager.cjs.entry.js +85 -22
  386. package/dist/cjs/{downloadUtils-8f50633d.js → downloadUtils-9a13c6ac.js} +19 -14
  387. package/dist/cjs/{index.es-140aa937.js → index.es-284a020c.js} +2 -2
  388. package/dist/cjs/loader.cjs.js +1 -1
  389. package/dist/cjs/map-select-tools_3.cjs.entry.js +2 -2
  390. package/dist/cjs/{mapViewUtils-569e9644.js → mapViewUtils-8aa325de.js} +4 -1
  391. package/dist/cjs/public-notification.cjs.entry.js +2 -2
  392. package/dist/cjs/solution-contents_3.cjs.entry.js +4 -4
  393. package/dist/cjs/solutions-components.cjs.js +1 -1
  394. package/dist/collection/components/basemap-gallery/basemap-gallery.css +19 -19
  395. package/dist/collection/components/basemap-gallery/basemap-gallery.js +0 -2
  396. package/dist/collection/components/card-manager/card-manager.js +19 -1
  397. package/dist/collection/components/crowdsource-manager/crowdsource-manager.css +9 -1
  398. package/dist/collection/components/crowdsource-manager/crowdsource-manager.js +101 -20
  399. package/dist/collection/components/edit-card/edit-card.js +1 -8
  400. package/dist/collection/components/floor-filter/floor-filter.js +0 -4
  401. package/dist/collection/components/info-card/info-card.css +29 -0
  402. package/dist/collection/components/info-card/info-card.js +69 -24
  403. package/dist/collection/components/layer-table/layer-table.css +8 -0
  404. package/dist/collection/components/layer-table/layer-table.js +208 -142
  405. package/dist/collection/components/map-card/map-card.js +0 -4
  406. package/dist/collection/components/map-draw-tools/map-draw-tools.js +0 -2
  407. package/dist/collection/components/map-fullscreen/map-fullscreen.css +19 -19
  408. package/dist/collection/components/map-layer-picker/map-layer-picker.js +40 -1
  409. package/dist/collection/components/map-legend/map-legend.css +3 -3
  410. package/dist/collection/components/map-legend/map-legend.js +0 -4
  411. package/dist/collection/components/map-picker/map-picker.js +0 -4
  412. package/dist/collection/components/map-tools/map-tools.js +0 -16
  413. package/dist/collection/components/solution-item-sharing/solution-item-sharing.js +1 -1
  414. package/dist/collection/components/solution-spatial-ref/solution-spatial-ref.js +4 -4
  415. package/dist/collection/demos/assets/t9n/instant-apps-export/resources.json +12 -12
  416. package/dist/collection/demos/assets/t9n/instant-apps-export/resources_ar.json +11 -11
  417. package/dist/collection/demos/assets/t9n/instant-apps-export/resources_bg.json +11 -11
  418. package/dist/collection/demos/assets/t9n/instant-apps-export/resources_bs.json +11 -11
  419. package/dist/collection/demos/assets/t9n/instant-apps-export/resources_ca.json +11 -11
  420. package/dist/collection/demos/assets/t9n/instant-apps-export/resources_cs.json +11 -11
  421. package/dist/collection/demos/assets/t9n/instant-apps-export/resources_da.json +11 -11
  422. package/dist/collection/demos/assets/t9n/instant-apps-export/resources_de.json +11 -11
  423. package/dist/collection/demos/assets/t9n/instant-apps-export/resources_el.json +11 -11
  424. package/dist/collection/demos/assets/t9n/instant-apps-export/resources_en.json +12 -12
  425. package/dist/collection/demos/assets/t9n/instant-apps-export/resources_es.json +11 -11
  426. package/dist/collection/demos/assets/t9n/instant-apps-export/resources_et.json +11 -11
  427. package/dist/collection/demos/assets/t9n/instant-apps-export/resources_fi.json +11 -11
  428. package/dist/collection/demos/assets/t9n/instant-apps-export/resources_fr.json +11 -11
  429. package/dist/collection/demos/assets/t9n/instant-apps-export/resources_he.json +11 -11
  430. package/dist/collection/demos/assets/t9n/instant-apps-export/resources_hr.json +11 -11
  431. package/dist/collection/demos/assets/t9n/instant-apps-export/resources_hu.json +11 -11
  432. package/dist/collection/demos/assets/t9n/instant-apps-export/resources_id.json +11 -11
  433. package/dist/collection/demos/assets/t9n/instant-apps-export/resources_it.json +11 -11
  434. package/dist/collection/demos/assets/t9n/instant-apps-export/resources_ja.json +11 -11
  435. package/dist/collection/demos/assets/t9n/instant-apps-export/resources_ko.json +11 -11
  436. package/dist/collection/demos/assets/t9n/instant-apps-export/resources_lt.json +11 -11
  437. package/dist/collection/demos/assets/t9n/instant-apps-export/resources_lv.json +11 -11
  438. package/dist/collection/demos/assets/t9n/instant-apps-export/resources_nb.json +11 -11
  439. package/dist/collection/demos/assets/t9n/instant-apps-export/resources_nl.json +11 -11
  440. package/dist/collection/demos/assets/t9n/instant-apps-export/resources_pl.json +11 -11
  441. package/dist/collection/demos/assets/t9n/instant-apps-export/resources_pt-BR.json +11 -11
  442. package/dist/collection/demos/assets/t9n/instant-apps-export/resources_pt-PT.json +11 -11
  443. package/dist/collection/demos/assets/t9n/instant-apps-export/resources_ro.json +11 -11
  444. package/dist/collection/demos/assets/t9n/instant-apps-export/resources_ru.json +11 -11
  445. package/dist/collection/demos/assets/t9n/instant-apps-export/resources_sk.json +11 -11
  446. package/dist/collection/demos/assets/t9n/instant-apps-export/resources_sl.json +11 -11
  447. package/dist/collection/demos/assets/t9n/instant-apps-export/resources_sr.json +11 -11
  448. package/dist/collection/demos/assets/t9n/instant-apps-export/resources_sv.json +11 -11
  449. package/dist/collection/demos/assets/t9n/instant-apps-export/resources_th.json +11 -11
  450. package/dist/collection/demos/assets/t9n/instant-apps-export/resources_tr.json +11 -11
  451. package/dist/collection/demos/assets/t9n/instant-apps-export/resources_uk.json +11 -11
  452. package/dist/collection/demos/assets/t9n/instant-apps-export/resources_vi.json +11 -11
  453. package/dist/collection/demos/assets/t9n/instant-apps-export/resources_zh-CN.json +11 -11
  454. package/dist/collection/demos/assets/t9n/instant-apps-export/resources_zh-HK.json +11 -11
  455. package/dist/collection/demos/assets/t9n/instant-apps-export/resources_zh-TW.json +11 -11
  456. package/dist/collection/demos/assets/t9n/instant-apps-filter-list/resources.json +16 -16
  457. package/dist/collection/demos/assets/t9n/instant-apps-filter-list/resources_ar.json +16 -16
  458. package/dist/collection/demos/assets/t9n/instant-apps-filter-list/resources_bg.json +16 -16
  459. package/dist/collection/demos/assets/t9n/instant-apps-filter-list/resources_bs.json +16 -16
  460. package/dist/collection/demos/assets/t9n/instant-apps-filter-list/resources_ca.json +16 -16
  461. package/dist/collection/demos/assets/t9n/instant-apps-filter-list/resources_cs.json +16 -16
  462. package/dist/collection/demos/assets/t9n/instant-apps-filter-list/resources_da.json +16 -16
  463. package/dist/collection/demos/assets/t9n/instant-apps-filter-list/resources_de.json +16 -16
  464. package/dist/collection/demos/assets/t9n/instant-apps-filter-list/resources_el.json +16 -16
  465. package/dist/collection/demos/assets/t9n/instant-apps-filter-list/resources_en.json +16 -16
  466. package/dist/collection/demos/assets/t9n/instant-apps-filter-list/resources_es.json +16 -16
  467. package/dist/collection/demos/assets/t9n/instant-apps-filter-list/resources_et.json +16 -16
  468. package/dist/collection/demos/assets/t9n/instant-apps-filter-list/resources_fi.json +16 -16
  469. package/dist/collection/demos/assets/t9n/instant-apps-filter-list/resources_fr.json +16 -16
  470. package/dist/collection/demos/assets/t9n/instant-apps-filter-list/resources_he.json +16 -16
  471. package/dist/collection/demos/assets/t9n/instant-apps-filter-list/resources_hr.json +16 -16
  472. package/dist/collection/demos/assets/t9n/instant-apps-filter-list/resources_hu.json +16 -16
  473. package/dist/collection/demos/assets/t9n/instant-apps-filter-list/resources_id.json +16 -16
  474. package/dist/collection/demos/assets/t9n/instant-apps-filter-list/resources_it.json +16 -16
  475. package/dist/collection/demos/assets/t9n/instant-apps-filter-list/resources_ja.json +16 -16
  476. package/dist/collection/demos/assets/t9n/instant-apps-filter-list/resources_ko.json +16 -16
  477. package/dist/collection/demos/assets/t9n/instant-apps-filter-list/resources_lt.json +16 -16
  478. package/dist/collection/demos/assets/t9n/instant-apps-filter-list/resources_lv.json +16 -16
  479. package/dist/collection/demos/assets/t9n/instant-apps-filter-list/resources_nb.json +16 -16
  480. package/dist/collection/demos/assets/t9n/instant-apps-filter-list/resources_nl.json +16 -16
  481. package/dist/collection/demos/assets/t9n/instant-apps-filter-list/resources_pl.json +16 -16
  482. package/dist/collection/demos/assets/t9n/instant-apps-filter-list/resources_pt-BR.json +16 -16
  483. package/dist/collection/demos/assets/t9n/instant-apps-filter-list/resources_pt-PT.json +16 -16
  484. package/dist/collection/demos/assets/t9n/instant-apps-filter-list/resources_ro.json +16 -16
  485. package/dist/collection/demos/assets/t9n/instant-apps-filter-list/resources_ru.json +16 -16
  486. package/dist/collection/demos/assets/t9n/instant-apps-filter-list/resources_sk.json +16 -16
  487. package/dist/collection/demos/assets/t9n/instant-apps-filter-list/resources_sl.json +16 -16
  488. package/dist/collection/demos/assets/t9n/instant-apps-filter-list/resources_sr.json +16 -16
  489. package/dist/collection/demos/assets/t9n/instant-apps-filter-list/resources_sv.json +16 -16
  490. package/dist/collection/demos/assets/t9n/instant-apps-filter-list/resources_th.json +16 -16
  491. package/dist/collection/demos/assets/t9n/instant-apps-filter-list/resources_tr.json +16 -16
  492. package/dist/collection/demos/assets/t9n/instant-apps-filter-list/resources_uk.json +16 -16
  493. package/dist/collection/demos/assets/t9n/instant-apps-filter-list/resources_vi.json +16 -16
  494. package/dist/collection/demos/assets/t9n/instant-apps-filter-list/resources_zh-CN.json +16 -16
  495. package/dist/collection/demos/assets/t9n/instant-apps-filter-list/resources_zh-HK.json +16 -16
  496. package/dist/collection/demos/assets/t9n/instant-apps-filter-list/resources_zh-TW.json +16 -16
  497. package/dist/collection/demos/assets/t9n/instant-apps-interactive-legend/resources.json +15 -15
  498. package/dist/collection/demos/assets/t9n/instant-apps-interactive-legend/resources_ar.json +15 -15
  499. package/dist/collection/demos/assets/t9n/instant-apps-interactive-legend/resources_bg.json +15 -15
  500. package/dist/collection/demos/assets/t9n/instant-apps-interactive-legend/resources_bs.json +15 -15
  501. package/dist/collection/demos/assets/t9n/instant-apps-interactive-legend/resources_ca.json +15 -15
  502. package/dist/collection/demos/assets/t9n/instant-apps-interactive-legend/resources_cs.json +15 -15
  503. package/dist/collection/demos/assets/t9n/instant-apps-interactive-legend/resources_da.json +15 -15
  504. package/dist/collection/demos/assets/t9n/instant-apps-interactive-legend/resources_de.json +15 -15
  505. package/dist/collection/demos/assets/t9n/instant-apps-interactive-legend/resources_el.json +15 -15
  506. package/dist/collection/demos/assets/t9n/instant-apps-interactive-legend/resources_en.json +15 -15
  507. package/dist/collection/demos/assets/t9n/instant-apps-interactive-legend/resources_es.json +15 -15
  508. package/dist/collection/demos/assets/t9n/instant-apps-interactive-legend/resources_et.json +15 -15
  509. package/dist/collection/demos/assets/t9n/instant-apps-interactive-legend/resources_fi.json +15 -15
  510. package/dist/collection/demos/assets/t9n/instant-apps-interactive-legend/resources_fr.json +15 -15
  511. package/dist/collection/demos/assets/t9n/instant-apps-interactive-legend/resources_he.json +15 -15
  512. package/dist/collection/demos/assets/t9n/instant-apps-interactive-legend/resources_hr.json +15 -15
  513. package/dist/collection/demos/assets/t9n/instant-apps-interactive-legend/resources_hu.json +15 -15
  514. package/dist/collection/demos/assets/t9n/instant-apps-interactive-legend/resources_id.json +15 -15
  515. package/dist/collection/demos/assets/t9n/instant-apps-interactive-legend/resources_it.json +15 -15
  516. package/dist/collection/demos/assets/t9n/instant-apps-interactive-legend/resources_ja.json +15 -15
  517. package/dist/collection/demos/assets/t9n/instant-apps-interactive-legend/resources_ko.json +15 -15
  518. package/dist/collection/demos/assets/t9n/instant-apps-interactive-legend/resources_lt.json +15 -15
  519. package/dist/collection/demos/assets/t9n/instant-apps-interactive-legend/resources_lv.json +15 -15
  520. package/dist/collection/demos/assets/t9n/instant-apps-interactive-legend/resources_nb.json +15 -15
  521. package/dist/collection/demos/assets/t9n/instant-apps-interactive-legend/resources_nl.json +15 -15
  522. package/dist/collection/demos/assets/t9n/instant-apps-interactive-legend/resources_pl.json +15 -15
  523. package/dist/collection/demos/assets/t9n/instant-apps-interactive-legend/resources_pt-BR.json +15 -15
  524. package/dist/collection/demos/assets/t9n/instant-apps-interactive-legend/resources_pt-PT.json +15 -15
  525. package/dist/collection/demos/assets/t9n/instant-apps-interactive-legend/resources_ro.json +15 -15
  526. package/dist/collection/demos/assets/t9n/instant-apps-interactive-legend/resources_ru.json +15 -15
  527. package/dist/collection/demos/assets/t9n/instant-apps-interactive-legend/resources_sk.json +15 -15
  528. package/dist/collection/demos/assets/t9n/instant-apps-interactive-legend/resources_sl.json +15 -15
  529. package/dist/collection/demos/assets/t9n/instant-apps-interactive-legend/resources_sr.json +15 -15
  530. package/dist/collection/demos/assets/t9n/instant-apps-interactive-legend/resources_sv.json +15 -15
  531. package/dist/collection/demos/assets/t9n/instant-apps-interactive-legend/resources_th.json +15 -15
  532. package/dist/collection/demos/assets/t9n/instant-apps-interactive-legend/resources_tr.json +15 -15
  533. package/dist/collection/demos/assets/t9n/instant-apps-interactive-legend/resources_uk.json +15 -15
  534. package/dist/collection/demos/assets/t9n/instant-apps-interactive-legend/resources_vi.json +15 -15
  535. package/dist/collection/demos/assets/t9n/instant-apps-interactive-legend/resources_zh-CN.json +15 -15
  536. package/dist/collection/demos/assets/t9n/instant-apps-interactive-legend/resources_zh-HK.json +15 -15
  537. package/dist/collection/demos/assets/t9n/instant-apps-interactive-legend/resources_zh-TW.json +15 -15
  538. package/dist/collection/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources.json +30 -30
  539. package/dist/collection/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_ar.json +30 -30
  540. package/dist/collection/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_bg.json +30 -30
  541. package/dist/collection/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_bs.json +30 -30
  542. package/dist/collection/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_ca.json +30 -30
  543. package/dist/collection/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_cs.json +30 -30
  544. package/dist/collection/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_da.json +30 -30
  545. package/dist/collection/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_de.json +30 -30
  546. package/dist/collection/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_el.json +30 -30
  547. package/dist/collection/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_en.json +30 -30
  548. package/dist/collection/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_es.json +30 -30
  549. package/dist/collection/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_et.json +30 -30
  550. package/dist/collection/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_fi.json +30 -30
  551. package/dist/collection/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_fr.json +30 -30
  552. package/dist/collection/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_he.json +30 -30
  553. package/dist/collection/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_hr.json +30 -30
  554. package/dist/collection/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_hu.json +30 -30
  555. package/dist/collection/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_id.json +30 -30
  556. package/dist/collection/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_it.json +30 -30
  557. package/dist/collection/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_ja.json +30 -30
  558. package/dist/collection/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_ko.json +30 -30
  559. package/dist/collection/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_lt.json +30 -30
  560. package/dist/collection/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_lv.json +30 -30
  561. package/dist/collection/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_nb.json +30 -30
  562. package/dist/collection/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_nl.json +30 -30
  563. package/dist/collection/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_pl.json +30 -30
  564. package/dist/collection/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_pt-BR.json +30 -30
  565. package/dist/collection/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_pt-PT.json +30 -30
  566. package/dist/collection/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_ro.json +30 -30
  567. package/dist/collection/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_ru.json +30 -30
  568. package/dist/collection/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_sk.json +30 -30
  569. package/dist/collection/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_sl.json +30 -30
  570. package/dist/collection/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_sr.json +30 -30
  571. package/dist/collection/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_sv.json +30 -30
  572. package/dist/collection/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_th.json +30 -30
  573. package/dist/collection/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_tr.json +30 -30
  574. package/dist/collection/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_uk.json +30 -30
  575. package/dist/collection/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_vi.json +30 -30
  576. package/dist/collection/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_zh-CN.json +30 -30
  577. package/dist/collection/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_zh-HK.json +30 -30
  578. package/dist/collection/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_zh-TW.json +30 -30
  579. package/dist/collection/demos/assets/t9n/instant-apps-language-translator/resources.json +102 -102
  580. package/dist/collection/demos/assets/t9n/instant-apps-language-translator/resources_ar.json +102 -102
  581. package/dist/collection/demos/assets/t9n/instant-apps-language-translator/resources_bg.json +102 -102
  582. package/dist/collection/demos/assets/t9n/instant-apps-language-translator/resources_bs.json +102 -102
  583. package/dist/collection/demos/assets/t9n/instant-apps-language-translator/resources_ca.json +102 -102
  584. package/dist/collection/demos/assets/t9n/instant-apps-language-translator/resources_cs.json +102 -102
  585. package/dist/collection/demos/assets/t9n/instant-apps-language-translator/resources_da.json +102 -102
  586. package/dist/collection/demos/assets/t9n/instant-apps-language-translator/resources_de.json +102 -102
  587. package/dist/collection/demos/assets/t9n/instant-apps-language-translator/resources_el.json +102 -102
  588. package/dist/collection/demos/assets/t9n/instant-apps-language-translator/resources_en.json +102 -102
  589. package/dist/collection/demos/assets/t9n/instant-apps-language-translator/resources_es.json +102 -102
  590. package/dist/collection/demos/assets/t9n/instant-apps-language-translator/resources_et.json +102 -102
  591. package/dist/collection/demos/assets/t9n/instant-apps-language-translator/resources_fi.json +102 -102
  592. package/dist/collection/demos/assets/t9n/instant-apps-language-translator/resources_fr.json +102 -102
  593. package/dist/collection/demos/assets/t9n/instant-apps-language-translator/resources_he.json +102 -102
  594. package/dist/collection/demos/assets/t9n/instant-apps-language-translator/resources_hr.json +102 -102
  595. package/dist/collection/demos/assets/t9n/instant-apps-language-translator/resources_hu.json +102 -102
  596. package/dist/collection/demos/assets/t9n/instant-apps-language-translator/resources_id.json +102 -102
  597. package/dist/collection/demos/assets/t9n/instant-apps-language-translator/resources_it.json +102 -102
  598. package/dist/collection/demos/assets/t9n/instant-apps-language-translator/resources_ja.json +102 -102
  599. package/dist/collection/demos/assets/t9n/instant-apps-language-translator/resources_ko.json +102 -102
  600. package/dist/collection/demos/assets/t9n/instant-apps-language-translator/resources_lt.json +102 -102
  601. package/dist/collection/demos/assets/t9n/instant-apps-language-translator/resources_lv.json +102 -102
  602. package/dist/collection/demos/assets/t9n/instant-apps-language-translator/resources_nb.json +102 -102
  603. package/dist/collection/demos/assets/t9n/instant-apps-language-translator/resources_nl.json +102 -102
  604. package/dist/collection/demos/assets/t9n/instant-apps-language-translator/resources_pl.json +102 -102
  605. package/dist/collection/demos/assets/t9n/instant-apps-language-translator/resources_pt-BR.json +102 -102
  606. package/dist/collection/demos/assets/t9n/instant-apps-language-translator/resources_pt-PT.json +102 -102
  607. package/dist/collection/demos/assets/t9n/instant-apps-language-translator/resources_ro.json +102 -102
  608. package/dist/collection/demos/assets/t9n/instant-apps-language-translator/resources_ru.json +102 -102
  609. package/dist/collection/demos/assets/t9n/instant-apps-language-translator/resources_sk.json +102 -102
  610. package/dist/collection/demos/assets/t9n/instant-apps-language-translator/resources_sl.json +102 -102
  611. package/dist/collection/demos/assets/t9n/instant-apps-language-translator/resources_sr.json +102 -102
  612. package/dist/collection/demos/assets/t9n/instant-apps-language-translator/resources_sv.json +102 -102
  613. package/dist/collection/demos/assets/t9n/instant-apps-language-translator/resources_th.json +102 -102
  614. package/dist/collection/demos/assets/t9n/instant-apps-language-translator/resources_tr.json +102 -102
  615. package/dist/collection/demos/assets/t9n/instant-apps-language-translator/resources_uk.json +102 -102
  616. package/dist/collection/demos/assets/t9n/instant-apps-language-translator/resources_vi.json +102 -102
  617. package/dist/collection/demos/assets/t9n/instant-apps-language-translator/resources_zh-CN.json +102 -102
  618. package/dist/collection/demos/assets/t9n/instant-apps-language-translator/resources_zh-HK.json +102 -102
  619. package/dist/collection/demos/assets/t9n/instant-apps-language-translator/resources_zh-TW.json +102 -102
  620. package/dist/collection/demos/assets/t9n/instant-apps-measurement/resources.json +6 -6
  621. package/dist/collection/demos/assets/t9n/instant-apps-measurement/resources_ar.json +6 -6
  622. package/dist/collection/demos/assets/t9n/instant-apps-measurement/resources_bg.json +6 -6
  623. package/dist/collection/demos/assets/t9n/instant-apps-measurement/resources_bs.json +6 -6
  624. package/dist/collection/demos/assets/t9n/instant-apps-measurement/resources_ca.json +6 -6
  625. package/dist/collection/demos/assets/t9n/instant-apps-measurement/resources_cs.json +6 -6
  626. package/dist/collection/demos/assets/t9n/instant-apps-measurement/resources_da.json +6 -6
  627. package/dist/collection/demos/assets/t9n/instant-apps-measurement/resources_de.json +6 -6
  628. package/dist/collection/demos/assets/t9n/instant-apps-measurement/resources_el.json +6 -6
  629. package/dist/collection/demos/assets/t9n/instant-apps-measurement/resources_en.json +6 -6
  630. package/dist/collection/demos/assets/t9n/instant-apps-measurement/resources_es.json +6 -6
  631. package/dist/collection/demos/assets/t9n/instant-apps-measurement/resources_et.json +6 -6
  632. package/dist/collection/demos/assets/t9n/instant-apps-measurement/resources_fi.json +6 -6
  633. package/dist/collection/demos/assets/t9n/instant-apps-measurement/resources_fr.json +6 -6
  634. package/dist/collection/demos/assets/t9n/instant-apps-measurement/resources_he.json +6 -6
  635. package/dist/collection/demos/assets/t9n/instant-apps-measurement/resources_hr.json +6 -6
  636. package/dist/collection/demos/assets/t9n/instant-apps-measurement/resources_hu.json +6 -6
  637. package/dist/collection/demos/assets/t9n/instant-apps-measurement/resources_id.json +6 -6
  638. package/dist/collection/demos/assets/t9n/instant-apps-measurement/resources_it.json +6 -6
  639. package/dist/collection/demos/assets/t9n/instant-apps-measurement/resources_ja.json +6 -6
  640. package/dist/collection/demos/assets/t9n/instant-apps-measurement/resources_ko.json +6 -6
  641. package/dist/collection/demos/assets/t9n/instant-apps-measurement/resources_lt.json +6 -6
  642. package/dist/collection/demos/assets/t9n/instant-apps-measurement/resources_lv.json +6 -6
  643. package/dist/collection/demos/assets/t9n/instant-apps-measurement/resources_nb.json +6 -6
  644. package/dist/collection/demos/assets/t9n/instant-apps-measurement/resources_nl.json +6 -6
  645. package/dist/collection/demos/assets/t9n/instant-apps-measurement/resources_pl.json +6 -6
  646. package/dist/collection/demos/assets/t9n/instant-apps-measurement/resources_pt-BR.json +6 -6
  647. package/dist/collection/demos/assets/t9n/instant-apps-measurement/resources_pt-PT.json +6 -6
  648. package/dist/collection/demos/assets/t9n/instant-apps-measurement/resources_ro.json +6 -6
  649. package/dist/collection/demos/assets/t9n/instant-apps-measurement/resources_ru.json +6 -6
  650. package/dist/collection/demos/assets/t9n/instant-apps-measurement/resources_sk.json +6 -6
  651. package/dist/collection/demos/assets/t9n/instant-apps-measurement/resources_sl.json +6 -6
  652. package/dist/collection/demos/assets/t9n/instant-apps-measurement/resources_sr.json +6 -6
  653. package/dist/collection/demos/assets/t9n/instant-apps-measurement/resources_sv.json +6 -6
  654. package/dist/collection/demos/assets/t9n/instant-apps-measurement/resources_th.json +6 -6
  655. package/dist/collection/demos/assets/t9n/instant-apps-measurement/resources_tr.json +6 -6
  656. package/dist/collection/demos/assets/t9n/instant-apps-measurement/resources_uk.json +6 -6
  657. package/dist/collection/demos/assets/t9n/instant-apps-measurement/resources_vi.json +6 -6
  658. package/dist/collection/demos/assets/t9n/instant-apps-measurement/resources_zh-CN.json +6 -6
  659. package/dist/collection/demos/assets/t9n/instant-apps-measurement/resources_zh-HK.json +6 -6
  660. package/dist/collection/demos/assets/t9n/instant-apps-measurement/resources_zh-TW.json +6 -6
  661. package/dist/collection/demos/assets/t9n/instant-apps-popover/resources.json +7 -7
  662. package/dist/collection/demos/assets/t9n/instant-apps-popover/resources_ar.json +5 -5
  663. package/dist/collection/demos/assets/t9n/instant-apps-popover/resources_bg.json +5 -5
  664. package/dist/collection/demos/assets/t9n/instant-apps-popover/resources_bs.json +5 -5
  665. package/dist/collection/demos/assets/t9n/instant-apps-popover/resources_ca.json +5 -5
  666. package/dist/collection/demos/assets/t9n/instant-apps-popover/resources_cs.json +5 -5
  667. package/dist/collection/demos/assets/t9n/instant-apps-popover/resources_da.json +5 -5
  668. package/dist/collection/demos/assets/t9n/instant-apps-popover/resources_de.json +5 -5
  669. package/dist/collection/demos/assets/t9n/instant-apps-popover/resources_el.json +5 -5
  670. package/dist/collection/demos/assets/t9n/instant-apps-popover/resources_en.json +7 -7
  671. package/dist/collection/demos/assets/t9n/instant-apps-popover/resources_es.json +5 -5
  672. package/dist/collection/demos/assets/t9n/instant-apps-popover/resources_et.json +5 -5
  673. package/dist/collection/demos/assets/t9n/instant-apps-popover/resources_fi.json +5 -5
  674. package/dist/collection/demos/assets/t9n/instant-apps-popover/resources_fr.json +5 -5
  675. package/dist/collection/demos/assets/t9n/instant-apps-popover/resources_he.json +5 -5
  676. package/dist/collection/demos/assets/t9n/instant-apps-popover/resources_hr.json +5 -5
  677. package/dist/collection/demos/assets/t9n/instant-apps-popover/resources_hu.json +5 -5
  678. package/dist/collection/demos/assets/t9n/instant-apps-popover/resources_id.json +5 -5
  679. package/dist/collection/demos/assets/t9n/instant-apps-popover/resources_it.json +5 -5
  680. package/dist/collection/demos/assets/t9n/instant-apps-popover/resources_ja.json +5 -5
  681. package/dist/collection/demos/assets/t9n/instant-apps-popover/resources_ko.json +5 -5
  682. package/dist/collection/demos/assets/t9n/instant-apps-popover/resources_lt.json +5 -5
  683. package/dist/collection/demos/assets/t9n/instant-apps-popover/resources_lv.json +5 -5
  684. package/dist/collection/demos/assets/t9n/instant-apps-popover/resources_nb.json +5 -5
  685. package/dist/collection/demos/assets/t9n/instant-apps-popover/resources_nl.json +5 -5
  686. package/dist/collection/demos/assets/t9n/instant-apps-popover/resources_pl.json +5 -5
  687. package/dist/collection/demos/assets/t9n/instant-apps-popover/resources_pt-BR.json +5 -5
  688. package/dist/collection/demos/assets/t9n/instant-apps-popover/resources_pt-PT.json +5 -5
  689. package/dist/collection/demos/assets/t9n/instant-apps-popover/resources_ro.json +5 -5
  690. package/dist/collection/demos/assets/t9n/instant-apps-popover/resources_ru.json +5 -5
  691. package/dist/collection/demos/assets/t9n/instant-apps-popover/resources_sk.json +5 -5
  692. package/dist/collection/demos/assets/t9n/instant-apps-popover/resources_sl.json +5 -5
  693. package/dist/collection/demos/assets/t9n/instant-apps-popover/resources_sr.json +5 -5
  694. package/dist/collection/demos/assets/t9n/instant-apps-popover/resources_sv.json +5 -5
  695. package/dist/collection/demos/assets/t9n/instant-apps-popover/resources_th.json +5 -5
  696. package/dist/collection/demos/assets/t9n/instant-apps-popover/resources_tr.json +5 -5
  697. package/dist/collection/demos/assets/t9n/instant-apps-popover/resources_uk.json +5 -5
  698. package/dist/collection/demos/assets/t9n/instant-apps-popover/resources_vi.json +5 -5
  699. package/dist/collection/demos/assets/t9n/instant-apps-popover/resources_zh-CN.json +5 -5
  700. package/dist/collection/demos/assets/t9n/instant-apps-popover/resources_zh-HK.json +5 -5
  701. package/dist/collection/demos/assets/t9n/instant-apps-popover/resources_zh-TW.json +5 -5
  702. package/dist/collection/demos/assets/t9n/instant-apps-scoreboard/resources.json +6 -6
  703. package/dist/collection/demos/assets/t9n/instant-apps-scoreboard/resources_ar.json +6 -6
  704. package/dist/collection/demos/assets/t9n/instant-apps-scoreboard/resources_bg.json +6 -6
  705. package/dist/collection/demos/assets/t9n/instant-apps-scoreboard/resources_bs.json +6 -6
  706. package/dist/collection/demos/assets/t9n/instant-apps-scoreboard/resources_ca.json +6 -6
  707. package/dist/collection/demos/assets/t9n/instant-apps-scoreboard/resources_cs.json +6 -6
  708. package/dist/collection/demos/assets/t9n/instant-apps-scoreboard/resources_da.json +6 -6
  709. package/dist/collection/demos/assets/t9n/instant-apps-scoreboard/resources_de.json +6 -6
  710. package/dist/collection/demos/assets/t9n/instant-apps-scoreboard/resources_el.json +6 -6
  711. package/dist/collection/demos/assets/t9n/instant-apps-scoreboard/resources_en.json +6 -6
  712. package/dist/collection/demos/assets/t9n/instant-apps-scoreboard/resources_es.json +6 -6
  713. package/dist/collection/demos/assets/t9n/instant-apps-scoreboard/resources_et.json +6 -6
  714. package/dist/collection/demos/assets/t9n/instant-apps-scoreboard/resources_fi.json +6 -6
  715. package/dist/collection/demos/assets/t9n/instant-apps-scoreboard/resources_fr.json +6 -6
  716. package/dist/collection/demos/assets/t9n/instant-apps-scoreboard/resources_he.json +6 -6
  717. package/dist/collection/demos/assets/t9n/instant-apps-scoreboard/resources_hr.json +6 -6
  718. package/dist/collection/demos/assets/t9n/instant-apps-scoreboard/resources_hu.json +6 -6
  719. package/dist/collection/demos/assets/t9n/instant-apps-scoreboard/resources_id.json +6 -6
  720. package/dist/collection/demos/assets/t9n/instant-apps-scoreboard/resources_it.json +6 -6
  721. package/dist/collection/demos/assets/t9n/instant-apps-scoreboard/resources_ja.json +6 -6
  722. package/dist/collection/demos/assets/t9n/instant-apps-scoreboard/resources_ko.json +6 -6
  723. package/dist/collection/demos/assets/t9n/instant-apps-scoreboard/resources_lt.json +6 -6
  724. package/dist/collection/demos/assets/t9n/instant-apps-scoreboard/resources_lv.json +6 -6
  725. package/dist/collection/demos/assets/t9n/instant-apps-scoreboard/resources_nb.json +6 -6
  726. package/dist/collection/demos/assets/t9n/instant-apps-scoreboard/resources_nl.json +6 -6
  727. package/dist/collection/demos/assets/t9n/instant-apps-scoreboard/resources_pl.json +6 -6
  728. package/dist/collection/demos/assets/t9n/instant-apps-scoreboard/resources_pt-BR.json +6 -6
  729. package/dist/collection/demos/assets/t9n/instant-apps-scoreboard/resources_pt-PT.json +6 -6
  730. package/dist/collection/demos/assets/t9n/instant-apps-scoreboard/resources_ro.json +6 -6
  731. package/dist/collection/demos/assets/t9n/instant-apps-scoreboard/resources_ru.json +6 -6
  732. package/dist/collection/demos/assets/t9n/instant-apps-scoreboard/resources_sk.json +6 -6
  733. package/dist/collection/demos/assets/t9n/instant-apps-scoreboard/resources_sl.json +6 -6
  734. package/dist/collection/demos/assets/t9n/instant-apps-scoreboard/resources_sr.json +6 -6
  735. package/dist/collection/demos/assets/t9n/instant-apps-scoreboard/resources_sv.json +6 -6
  736. package/dist/collection/demos/assets/t9n/instant-apps-scoreboard/resources_th.json +6 -6
  737. package/dist/collection/demos/assets/t9n/instant-apps-scoreboard/resources_tr.json +6 -6
  738. package/dist/collection/demos/assets/t9n/instant-apps-scoreboard/resources_uk.json +6 -6
  739. package/dist/collection/demos/assets/t9n/instant-apps-scoreboard/resources_vi.json +6 -6
  740. package/dist/collection/demos/assets/t9n/instant-apps-scoreboard/resources_zh-CN.json +6 -6
  741. package/dist/collection/demos/assets/t9n/instant-apps-scoreboard/resources_zh-HK.json +6 -6
  742. package/dist/collection/demos/assets/t9n/instant-apps-scoreboard/resources_zh-TW.json +6 -6
  743. package/dist/collection/demos/assets/t9n/instant-apps-social-share/resources.json +38 -38
  744. package/dist/collection/demos/assets/t9n/instant-apps-social-share/resources_ar.json +37 -37
  745. package/dist/collection/demos/assets/t9n/instant-apps-social-share/resources_bg.json +37 -37
  746. package/dist/collection/demos/assets/t9n/instant-apps-social-share/resources_bs.json +37 -37
  747. package/dist/collection/demos/assets/t9n/instant-apps-social-share/resources_ca.json +37 -37
  748. package/dist/collection/demos/assets/t9n/instant-apps-social-share/resources_cs.json +37 -37
  749. package/dist/collection/demos/assets/t9n/instant-apps-social-share/resources_da.json +37 -37
  750. package/dist/collection/demos/assets/t9n/instant-apps-social-share/resources_de.json +37 -37
  751. package/dist/collection/demos/assets/t9n/instant-apps-social-share/resources_el.json +37 -37
  752. package/dist/collection/demos/assets/t9n/instant-apps-social-share/resources_en.json +38 -38
  753. package/dist/collection/demos/assets/t9n/instant-apps-social-share/resources_es.json +37 -37
  754. package/dist/collection/demos/assets/t9n/instant-apps-social-share/resources_et.json +37 -37
  755. package/dist/collection/demos/assets/t9n/instant-apps-social-share/resources_fi.json +37 -37
  756. package/dist/collection/demos/assets/t9n/instant-apps-social-share/resources_fr.json +37 -37
  757. package/dist/collection/demos/assets/t9n/instant-apps-social-share/resources_he.json +37 -37
  758. package/dist/collection/demos/assets/t9n/instant-apps-social-share/resources_hr.json +37 -37
  759. package/dist/collection/demos/assets/t9n/instant-apps-social-share/resources_hu.json +37 -37
  760. package/dist/collection/demos/assets/t9n/instant-apps-social-share/resources_id.json +37 -37
  761. package/dist/collection/demos/assets/t9n/instant-apps-social-share/resources_it.json +37 -37
  762. package/dist/collection/demos/assets/t9n/instant-apps-social-share/resources_ja.json +37 -37
  763. package/dist/collection/demos/assets/t9n/instant-apps-social-share/resources_ko.json +37 -37
  764. package/dist/collection/demos/assets/t9n/instant-apps-social-share/resources_lt.json +37 -37
  765. package/dist/collection/demos/assets/t9n/instant-apps-social-share/resources_lv.json +37 -37
  766. package/dist/collection/demos/assets/t9n/instant-apps-social-share/resources_nb.json +37 -37
  767. package/dist/collection/demos/assets/t9n/instant-apps-social-share/resources_nl.json +37 -37
  768. package/dist/collection/demos/assets/t9n/instant-apps-social-share/resources_pl.json +37 -37
  769. package/dist/collection/demos/assets/t9n/instant-apps-social-share/resources_pt-BR.json +37 -37
  770. package/dist/collection/demos/assets/t9n/instant-apps-social-share/resources_pt-PT.json +37 -37
  771. package/dist/collection/demos/assets/t9n/instant-apps-social-share/resources_ro.json +37 -37
  772. package/dist/collection/demos/assets/t9n/instant-apps-social-share/resources_ru.json +37 -37
  773. package/dist/collection/demos/assets/t9n/instant-apps-social-share/resources_sk.json +37 -37
  774. package/dist/collection/demos/assets/t9n/instant-apps-social-share/resources_sl.json +37 -37
  775. package/dist/collection/demos/assets/t9n/instant-apps-social-share/resources_sr.json +37 -37
  776. package/dist/collection/demos/assets/t9n/instant-apps-social-share/resources_sv.json +37 -37
  777. package/dist/collection/demos/assets/t9n/instant-apps-social-share/resources_th.json +37 -37
  778. package/dist/collection/demos/assets/t9n/instant-apps-social-share/resources_tr.json +37 -37
  779. package/dist/collection/demos/assets/t9n/instant-apps-social-share/resources_uk.json +37 -37
  780. package/dist/collection/demos/assets/t9n/instant-apps-social-share/resources_vi.json +37 -37
  781. package/dist/collection/demos/assets/t9n/instant-apps-social-share/resources_zh-CN.json +37 -37
  782. package/dist/collection/demos/assets/t9n/instant-apps-social-share/resources_zh-HK.json +37 -37
  783. package/dist/collection/demos/assets/t9n/instant-apps-social-share/resources_zh-TW.json +37 -37
  784. package/dist/collection/demos/assets/t9n/instant-apps-splash/resources.json +2 -2
  785. package/dist/collection/demos/assets/t9n/instant-apps-splash/resources_en.json +2 -2
  786. package/dist/collection/demos/crowdsource-manager.html +1 -1
  787. package/dist/collection/utils/downloadUtils.js +17 -12
  788. package/dist/collection/utils/downloadUtils.ts +20 -12
  789. package/dist/collection/utils/interfaces.ts +7 -0
  790. package/dist/collection/utils/popupUtils.js +94 -0
  791. package/dist/collection/utils/popupUtils.ts +104 -0
  792. package/dist/collection/utils/queryUtils.js +4 -1
  793. package/dist/collection/utils/queryUtils.ts +5 -1
  794. package/dist/components/basemap-gallery2.js +0 -2
  795. package/dist/components/card-manager2.js +41 -15
  796. package/dist/components/crowdsource-manager.js +92 -24
  797. package/dist/components/downloadUtils.js +17 -12
  798. package/dist/components/edit-card2.js +1 -8
  799. package/dist/components/floor-filter2.js +0 -4
  800. package/dist/components/info-card2.js +163 -37
  801. package/dist/components/layer-table2.js +184 -141
  802. package/dist/components/map-card2.js +0 -4
  803. package/dist/components/map-draw-tools2.js +0 -2
  804. package/dist/components/map-layer-picker2.js +24 -1
  805. package/dist/components/map-legend2.js +0 -4
  806. package/dist/components/map-picker2.js +0 -4
  807. package/dist/components/map-tools2.js +0 -16
  808. package/dist/components/queryUtils.js +4 -1
  809. package/dist/components/solution-item-sharing2.js +1 -1
  810. package/dist/components/solution-spatial-ref2.js +4 -4
  811. package/dist/esm/basemap-gallery_7.entry.js +0 -30
  812. package/dist/esm/buffer-tools_3.entry.js +0 -2
  813. package/dist/esm/calcite-action-group.entry.js +112 -0
  814. package/dist/esm/{calcite-popover.entry.js → calcite-action-menu_2.entry.js} +286 -7
  815. package/dist/esm/calcite-alert_3.entry.js +124 -32
  816. package/dist/esm/calcite-combobox_6.entry.js +23 -2
  817. package/dist/esm/{calcite-panel.entry.js → calcite-panel_2.entry.js} +158 -17
  818. package/dist/esm/calcite-shell-panel_14.entry.js +1 -1
  819. package/dist/esm/card-manager_3.entry.js +182 -145
  820. package/dist/esm/crowdsource-manager.entry.js +85 -22
  821. package/dist/esm/{downloadUtils-9dee8bc0.js → downloadUtils-a4bbdb1d.js} +19 -14
  822. package/dist/esm/{index.es-54e86c8e.js → index.es-48fdb288.js} +2 -2
  823. package/dist/esm/loader.js +1 -1
  824. package/dist/esm/map-select-tools_3.entry.js +2 -2
  825. package/dist/esm/{mapViewUtils-066602d5.js → mapViewUtils-8fe70944.js} +4 -1
  826. package/dist/esm/public-notification.entry.js +2 -2
  827. package/dist/esm/solution-contents_3.entry.js +4 -4
  828. package/dist/esm/solutions-components.js +1 -1
  829. package/dist/solutions-components/demos/assets/t9n/instant-apps-export/resources.json +12 -12
  830. package/dist/solutions-components/demos/assets/t9n/instant-apps-export/resources_ar.json +11 -11
  831. package/dist/solutions-components/demos/assets/t9n/instant-apps-export/resources_bg.json +11 -11
  832. package/dist/solutions-components/demos/assets/t9n/instant-apps-export/resources_bs.json +11 -11
  833. package/dist/solutions-components/demos/assets/t9n/instant-apps-export/resources_ca.json +11 -11
  834. package/dist/solutions-components/demos/assets/t9n/instant-apps-export/resources_cs.json +11 -11
  835. package/dist/solutions-components/demos/assets/t9n/instant-apps-export/resources_da.json +11 -11
  836. package/dist/solutions-components/demos/assets/t9n/instant-apps-export/resources_de.json +11 -11
  837. package/dist/solutions-components/demos/assets/t9n/instant-apps-export/resources_el.json +11 -11
  838. package/dist/solutions-components/demos/assets/t9n/instant-apps-export/resources_en.json +12 -12
  839. package/dist/solutions-components/demos/assets/t9n/instant-apps-export/resources_es.json +11 -11
  840. package/dist/solutions-components/demos/assets/t9n/instant-apps-export/resources_et.json +11 -11
  841. package/dist/solutions-components/demos/assets/t9n/instant-apps-export/resources_fi.json +11 -11
  842. package/dist/solutions-components/demos/assets/t9n/instant-apps-export/resources_fr.json +11 -11
  843. package/dist/solutions-components/demos/assets/t9n/instant-apps-export/resources_he.json +11 -11
  844. package/dist/solutions-components/demos/assets/t9n/instant-apps-export/resources_hr.json +11 -11
  845. package/dist/solutions-components/demos/assets/t9n/instant-apps-export/resources_hu.json +11 -11
  846. package/dist/solutions-components/demos/assets/t9n/instant-apps-export/resources_id.json +11 -11
  847. package/dist/solutions-components/demos/assets/t9n/instant-apps-export/resources_it.json +11 -11
  848. package/dist/solutions-components/demos/assets/t9n/instant-apps-export/resources_ja.json +11 -11
  849. package/dist/solutions-components/demos/assets/t9n/instant-apps-export/resources_ko.json +11 -11
  850. package/dist/solutions-components/demos/assets/t9n/instant-apps-export/resources_lt.json +11 -11
  851. package/dist/solutions-components/demos/assets/t9n/instant-apps-export/resources_lv.json +11 -11
  852. package/dist/solutions-components/demos/assets/t9n/instant-apps-export/resources_nb.json +11 -11
  853. package/dist/solutions-components/demos/assets/t9n/instant-apps-export/resources_nl.json +11 -11
  854. package/dist/solutions-components/demos/assets/t9n/instant-apps-export/resources_pl.json +11 -11
  855. package/dist/solutions-components/demos/assets/t9n/instant-apps-export/resources_pt-BR.json +11 -11
  856. package/dist/solutions-components/demos/assets/t9n/instant-apps-export/resources_pt-PT.json +11 -11
  857. package/dist/solutions-components/demos/assets/t9n/instant-apps-export/resources_ro.json +11 -11
  858. package/dist/solutions-components/demos/assets/t9n/instant-apps-export/resources_ru.json +11 -11
  859. package/dist/solutions-components/demos/assets/t9n/instant-apps-export/resources_sk.json +11 -11
  860. package/dist/solutions-components/demos/assets/t9n/instant-apps-export/resources_sl.json +11 -11
  861. package/dist/solutions-components/demos/assets/t9n/instant-apps-export/resources_sr.json +11 -11
  862. package/dist/solutions-components/demos/assets/t9n/instant-apps-export/resources_sv.json +11 -11
  863. package/dist/solutions-components/demos/assets/t9n/instant-apps-export/resources_th.json +11 -11
  864. package/dist/solutions-components/demos/assets/t9n/instant-apps-export/resources_tr.json +11 -11
  865. package/dist/solutions-components/demos/assets/t9n/instant-apps-export/resources_uk.json +11 -11
  866. package/dist/solutions-components/demos/assets/t9n/instant-apps-export/resources_vi.json +11 -11
  867. package/dist/solutions-components/demos/assets/t9n/instant-apps-export/resources_zh-CN.json +11 -11
  868. package/dist/solutions-components/demos/assets/t9n/instant-apps-export/resources_zh-HK.json +11 -11
  869. package/dist/solutions-components/demos/assets/t9n/instant-apps-export/resources_zh-TW.json +11 -11
  870. package/dist/solutions-components/demos/assets/t9n/instant-apps-filter-list/resources.json +16 -16
  871. package/dist/solutions-components/demos/assets/t9n/instant-apps-filter-list/resources_ar.json +16 -16
  872. package/dist/solutions-components/demos/assets/t9n/instant-apps-filter-list/resources_bg.json +16 -16
  873. package/dist/solutions-components/demos/assets/t9n/instant-apps-filter-list/resources_bs.json +16 -16
  874. package/dist/solutions-components/demos/assets/t9n/instant-apps-filter-list/resources_ca.json +16 -16
  875. package/dist/solutions-components/demos/assets/t9n/instant-apps-filter-list/resources_cs.json +16 -16
  876. package/dist/solutions-components/demos/assets/t9n/instant-apps-filter-list/resources_da.json +16 -16
  877. package/dist/solutions-components/demos/assets/t9n/instant-apps-filter-list/resources_de.json +16 -16
  878. package/dist/solutions-components/demos/assets/t9n/instant-apps-filter-list/resources_el.json +16 -16
  879. package/dist/solutions-components/demos/assets/t9n/instant-apps-filter-list/resources_en.json +16 -16
  880. package/dist/solutions-components/demos/assets/t9n/instant-apps-filter-list/resources_es.json +16 -16
  881. package/dist/solutions-components/demos/assets/t9n/instant-apps-filter-list/resources_et.json +16 -16
  882. package/dist/solutions-components/demos/assets/t9n/instant-apps-filter-list/resources_fi.json +16 -16
  883. package/dist/solutions-components/demos/assets/t9n/instant-apps-filter-list/resources_fr.json +16 -16
  884. package/dist/solutions-components/demos/assets/t9n/instant-apps-filter-list/resources_he.json +16 -16
  885. package/dist/solutions-components/demos/assets/t9n/instant-apps-filter-list/resources_hr.json +16 -16
  886. package/dist/solutions-components/demos/assets/t9n/instant-apps-filter-list/resources_hu.json +16 -16
  887. package/dist/solutions-components/demos/assets/t9n/instant-apps-filter-list/resources_id.json +16 -16
  888. package/dist/solutions-components/demos/assets/t9n/instant-apps-filter-list/resources_it.json +16 -16
  889. package/dist/solutions-components/demos/assets/t9n/instant-apps-filter-list/resources_ja.json +16 -16
  890. package/dist/solutions-components/demos/assets/t9n/instant-apps-filter-list/resources_ko.json +16 -16
  891. package/dist/solutions-components/demos/assets/t9n/instant-apps-filter-list/resources_lt.json +16 -16
  892. package/dist/solutions-components/demos/assets/t9n/instant-apps-filter-list/resources_lv.json +16 -16
  893. package/dist/solutions-components/demos/assets/t9n/instant-apps-filter-list/resources_nb.json +16 -16
  894. package/dist/solutions-components/demos/assets/t9n/instant-apps-filter-list/resources_nl.json +16 -16
  895. package/dist/solutions-components/demos/assets/t9n/instant-apps-filter-list/resources_pl.json +16 -16
  896. package/dist/solutions-components/demos/assets/t9n/instant-apps-filter-list/resources_pt-BR.json +16 -16
  897. package/dist/solutions-components/demos/assets/t9n/instant-apps-filter-list/resources_pt-PT.json +16 -16
  898. package/dist/solutions-components/demos/assets/t9n/instant-apps-filter-list/resources_ro.json +16 -16
  899. package/dist/solutions-components/demos/assets/t9n/instant-apps-filter-list/resources_ru.json +16 -16
  900. package/dist/solutions-components/demos/assets/t9n/instant-apps-filter-list/resources_sk.json +16 -16
  901. package/dist/solutions-components/demos/assets/t9n/instant-apps-filter-list/resources_sl.json +16 -16
  902. package/dist/solutions-components/demos/assets/t9n/instant-apps-filter-list/resources_sr.json +16 -16
  903. package/dist/solutions-components/demos/assets/t9n/instant-apps-filter-list/resources_sv.json +16 -16
  904. package/dist/solutions-components/demos/assets/t9n/instant-apps-filter-list/resources_th.json +16 -16
  905. package/dist/solutions-components/demos/assets/t9n/instant-apps-filter-list/resources_tr.json +16 -16
  906. package/dist/solutions-components/demos/assets/t9n/instant-apps-filter-list/resources_uk.json +16 -16
  907. package/dist/solutions-components/demos/assets/t9n/instant-apps-filter-list/resources_vi.json +16 -16
  908. package/dist/solutions-components/demos/assets/t9n/instant-apps-filter-list/resources_zh-CN.json +16 -16
  909. package/dist/solutions-components/demos/assets/t9n/instant-apps-filter-list/resources_zh-HK.json +16 -16
  910. package/dist/solutions-components/demos/assets/t9n/instant-apps-filter-list/resources_zh-TW.json +16 -16
  911. package/dist/solutions-components/demos/assets/t9n/instant-apps-interactive-legend/resources.json +15 -15
  912. package/dist/solutions-components/demos/assets/t9n/instant-apps-interactive-legend/resources_ar.json +15 -15
  913. package/dist/solutions-components/demos/assets/t9n/instant-apps-interactive-legend/resources_bg.json +15 -15
  914. package/dist/solutions-components/demos/assets/t9n/instant-apps-interactive-legend/resources_bs.json +15 -15
  915. package/dist/solutions-components/demos/assets/t9n/instant-apps-interactive-legend/resources_ca.json +15 -15
  916. package/dist/solutions-components/demos/assets/t9n/instant-apps-interactive-legend/resources_cs.json +15 -15
  917. package/dist/solutions-components/demos/assets/t9n/instant-apps-interactive-legend/resources_da.json +15 -15
  918. package/dist/solutions-components/demos/assets/t9n/instant-apps-interactive-legend/resources_de.json +15 -15
  919. package/dist/solutions-components/demos/assets/t9n/instant-apps-interactive-legend/resources_el.json +15 -15
  920. package/dist/solutions-components/demos/assets/t9n/instant-apps-interactive-legend/resources_en.json +15 -15
  921. package/dist/solutions-components/demos/assets/t9n/instant-apps-interactive-legend/resources_es.json +15 -15
  922. package/dist/solutions-components/demos/assets/t9n/instant-apps-interactive-legend/resources_et.json +15 -15
  923. package/dist/solutions-components/demos/assets/t9n/instant-apps-interactive-legend/resources_fi.json +15 -15
  924. package/dist/solutions-components/demos/assets/t9n/instant-apps-interactive-legend/resources_fr.json +15 -15
  925. package/dist/solutions-components/demos/assets/t9n/instant-apps-interactive-legend/resources_he.json +15 -15
  926. package/dist/solutions-components/demos/assets/t9n/instant-apps-interactive-legend/resources_hr.json +15 -15
  927. package/dist/solutions-components/demos/assets/t9n/instant-apps-interactive-legend/resources_hu.json +15 -15
  928. package/dist/solutions-components/demos/assets/t9n/instant-apps-interactive-legend/resources_id.json +15 -15
  929. package/dist/solutions-components/demos/assets/t9n/instant-apps-interactive-legend/resources_it.json +15 -15
  930. package/dist/solutions-components/demos/assets/t9n/instant-apps-interactive-legend/resources_ja.json +15 -15
  931. package/dist/solutions-components/demos/assets/t9n/instant-apps-interactive-legend/resources_ko.json +15 -15
  932. package/dist/solutions-components/demos/assets/t9n/instant-apps-interactive-legend/resources_lt.json +15 -15
  933. package/dist/solutions-components/demos/assets/t9n/instant-apps-interactive-legend/resources_lv.json +15 -15
  934. package/dist/solutions-components/demos/assets/t9n/instant-apps-interactive-legend/resources_nb.json +15 -15
  935. package/dist/solutions-components/demos/assets/t9n/instant-apps-interactive-legend/resources_nl.json +15 -15
  936. package/dist/solutions-components/demos/assets/t9n/instant-apps-interactive-legend/resources_pl.json +15 -15
  937. package/dist/solutions-components/demos/assets/t9n/instant-apps-interactive-legend/resources_pt-BR.json +15 -15
  938. package/dist/solutions-components/demos/assets/t9n/instant-apps-interactive-legend/resources_pt-PT.json +15 -15
  939. package/dist/solutions-components/demos/assets/t9n/instant-apps-interactive-legend/resources_ro.json +15 -15
  940. package/dist/solutions-components/demos/assets/t9n/instant-apps-interactive-legend/resources_ru.json +15 -15
  941. package/dist/solutions-components/demos/assets/t9n/instant-apps-interactive-legend/resources_sk.json +15 -15
  942. package/dist/solutions-components/demos/assets/t9n/instant-apps-interactive-legend/resources_sl.json +15 -15
  943. package/dist/solutions-components/demos/assets/t9n/instant-apps-interactive-legend/resources_sr.json +15 -15
  944. package/dist/solutions-components/demos/assets/t9n/instant-apps-interactive-legend/resources_sv.json +15 -15
  945. package/dist/solutions-components/demos/assets/t9n/instant-apps-interactive-legend/resources_th.json +15 -15
  946. package/dist/solutions-components/demos/assets/t9n/instant-apps-interactive-legend/resources_tr.json +15 -15
  947. package/dist/solutions-components/demos/assets/t9n/instant-apps-interactive-legend/resources_uk.json +15 -15
  948. package/dist/solutions-components/demos/assets/t9n/instant-apps-interactive-legend/resources_vi.json +15 -15
  949. package/dist/solutions-components/demos/assets/t9n/instant-apps-interactive-legend/resources_zh-CN.json +15 -15
  950. package/dist/solutions-components/demos/assets/t9n/instant-apps-interactive-legend/resources_zh-HK.json +15 -15
  951. package/dist/solutions-components/demos/assets/t9n/instant-apps-interactive-legend/resources_zh-TW.json +15 -15
  952. package/dist/solutions-components/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources.json +30 -30
  953. package/dist/solutions-components/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_ar.json +30 -30
  954. package/dist/solutions-components/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_bg.json +30 -30
  955. package/dist/solutions-components/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_bs.json +30 -30
  956. package/dist/solutions-components/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_ca.json +30 -30
  957. package/dist/solutions-components/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_cs.json +30 -30
  958. package/dist/solutions-components/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_da.json +30 -30
  959. package/dist/solutions-components/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_de.json +30 -30
  960. package/dist/solutions-components/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_el.json +30 -30
  961. package/dist/solutions-components/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_en.json +30 -30
  962. package/dist/solutions-components/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_es.json +30 -30
  963. package/dist/solutions-components/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_et.json +30 -30
  964. package/dist/solutions-components/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_fi.json +30 -30
  965. package/dist/solutions-components/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_fr.json +30 -30
  966. package/dist/solutions-components/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_he.json +30 -30
  967. package/dist/solutions-components/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_hr.json +30 -30
  968. package/dist/solutions-components/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_hu.json +30 -30
  969. package/dist/solutions-components/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_id.json +30 -30
  970. package/dist/solutions-components/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_it.json +30 -30
  971. package/dist/solutions-components/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_ja.json +30 -30
  972. package/dist/solutions-components/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_ko.json +30 -30
  973. package/dist/solutions-components/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_lt.json +30 -30
  974. package/dist/solutions-components/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_lv.json +30 -30
  975. package/dist/solutions-components/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_nb.json +30 -30
  976. package/dist/solutions-components/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_nl.json +30 -30
  977. package/dist/solutions-components/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_pl.json +30 -30
  978. package/dist/solutions-components/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_pt-BR.json +30 -30
  979. package/dist/solutions-components/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_pt-PT.json +30 -30
  980. package/dist/solutions-components/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_ro.json +30 -30
  981. package/dist/solutions-components/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_ru.json +30 -30
  982. package/dist/solutions-components/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_sk.json +30 -30
  983. package/dist/solutions-components/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_sl.json +30 -30
  984. package/dist/solutions-components/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_sr.json +30 -30
  985. package/dist/solutions-components/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_sv.json +30 -30
  986. package/dist/solutions-components/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_th.json +30 -30
  987. package/dist/solutions-components/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_tr.json +30 -30
  988. package/dist/solutions-components/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_uk.json +30 -30
  989. package/dist/solutions-components/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_vi.json +30 -30
  990. package/dist/solutions-components/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_zh-CN.json +30 -30
  991. package/dist/solutions-components/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_zh-HK.json +30 -30
  992. package/dist/solutions-components/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_zh-TW.json +30 -30
  993. package/dist/solutions-components/demos/assets/t9n/instant-apps-language-translator/resources.json +102 -102
  994. package/dist/solutions-components/demos/assets/t9n/instant-apps-language-translator/resources_ar.json +102 -102
  995. package/dist/solutions-components/demos/assets/t9n/instant-apps-language-translator/resources_bg.json +102 -102
  996. package/dist/solutions-components/demos/assets/t9n/instant-apps-language-translator/resources_bs.json +102 -102
  997. package/dist/solutions-components/demos/assets/t9n/instant-apps-language-translator/resources_ca.json +102 -102
  998. package/dist/solutions-components/demos/assets/t9n/instant-apps-language-translator/resources_cs.json +102 -102
  999. package/dist/solutions-components/demos/assets/t9n/instant-apps-language-translator/resources_da.json +102 -102
  1000. package/dist/solutions-components/demos/assets/t9n/instant-apps-language-translator/resources_de.json +102 -102
  1001. package/dist/solutions-components/demos/assets/t9n/instant-apps-language-translator/resources_el.json +102 -102
  1002. package/dist/solutions-components/demos/assets/t9n/instant-apps-language-translator/resources_en.json +102 -102
  1003. package/dist/solutions-components/demos/assets/t9n/instant-apps-language-translator/resources_es.json +102 -102
  1004. package/dist/solutions-components/demos/assets/t9n/instant-apps-language-translator/resources_et.json +102 -102
  1005. package/dist/solutions-components/demos/assets/t9n/instant-apps-language-translator/resources_fi.json +102 -102
  1006. package/dist/solutions-components/demos/assets/t9n/instant-apps-language-translator/resources_fr.json +102 -102
  1007. package/dist/solutions-components/demos/assets/t9n/instant-apps-language-translator/resources_he.json +102 -102
  1008. package/dist/solutions-components/demos/assets/t9n/instant-apps-language-translator/resources_hr.json +102 -102
  1009. package/dist/solutions-components/demos/assets/t9n/instant-apps-language-translator/resources_hu.json +102 -102
  1010. package/dist/solutions-components/demos/assets/t9n/instant-apps-language-translator/resources_id.json +102 -102
  1011. package/dist/solutions-components/demos/assets/t9n/instant-apps-language-translator/resources_it.json +102 -102
  1012. package/dist/solutions-components/demos/assets/t9n/instant-apps-language-translator/resources_ja.json +102 -102
  1013. package/dist/solutions-components/demos/assets/t9n/instant-apps-language-translator/resources_ko.json +102 -102
  1014. package/dist/solutions-components/demos/assets/t9n/instant-apps-language-translator/resources_lt.json +102 -102
  1015. package/dist/solutions-components/demos/assets/t9n/instant-apps-language-translator/resources_lv.json +102 -102
  1016. package/dist/solutions-components/demos/assets/t9n/instant-apps-language-translator/resources_nb.json +102 -102
  1017. package/dist/solutions-components/demos/assets/t9n/instant-apps-language-translator/resources_nl.json +102 -102
  1018. package/dist/solutions-components/demos/assets/t9n/instant-apps-language-translator/resources_pl.json +102 -102
  1019. package/dist/solutions-components/demos/assets/t9n/instant-apps-language-translator/resources_pt-BR.json +102 -102
  1020. package/dist/solutions-components/demos/assets/t9n/instant-apps-language-translator/resources_pt-PT.json +102 -102
  1021. package/dist/solutions-components/demos/assets/t9n/instant-apps-language-translator/resources_ro.json +102 -102
  1022. package/dist/solutions-components/demos/assets/t9n/instant-apps-language-translator/resources_ru.json +102 -102
  1023. package/dist/solutions-components/demos/assets/t9n/instant-apps-language-translator/resources_sk.json +102 -102
  1024. package/dist/solutions-components/demos/assets/t9n/instant-apps-language-translator/resources_sl.json +102 -102
  1025. package/dist/solutions-components/demos/assets/t9n/instant-apps-language-translator/resources_sr.json +102 -102
  1026. package/dist/solutions-components/demos/assets/t9n/instant-apps-language-translator/resources_sv.json +102 -102
  1027. package/dist/solutions-components/demos/assets/t9n/instant-apps-language-translator/resources_th.json +102 -102
  1028. package/dist/solutions-components/demos/assets/t9n/instant-apps-language-translator/resources_tr.json +102 -102
  1029. package/dist/solutions-components/demos/assets/t9n/instant-apps-language-translator/resources_uk.json +102 -102
  1030. package/dist/solutions-components/demos/assets/t9n/instant-apps-language-translator/resources_vi.json +102 -102
  1031. package/dist/solutions-components/demos/assets/t9n/instant-apps-language-translator/resources_zh-CN.json +102 -102
  1032. package/dist/solutions-components/demos/assets/t9n/instant-apps-language-translator/resources_zh-HK.json +102 -102
  1033. package/dist/solutions-components/demos/assets/t9n/instant-apps-language-translator/resources_zh-TW.json +102 -102
  1034. package/dist/solutions-components/demos/assets/t9n/instant-apps-measurement/resources.json +6 -6
  1035. package/dist/solutions-components/demos/assets/t9n/instant-apps-measurement/resources_ar.json +6 -6
  1036. package/dist/solutions-components/demos/assets/t9n/instant-apps-measurement/resources_bg.json +6 -6
  1037. package/dist/solutions-components/demos/assets/t9n/instant-apps-measurement/resources_bs.json +6 -6
  1038. package/dist/solutions-components/demos/assets/t9n/instant-apps-measurement/resources_ca.json +6 -6
  1039. package/dist/solutions-components/demos/assets/t9n/instant-apps-measurement/resources_cs.json +6 -6
  1040. package/dist/solutions-components/demos/assets/t9n/instant-apps-measurement/resources_da.json +6 -6
  1041. package/dist/solutions-components/demos/assets/t9n/instant-apps-measurement/resources_de.json +6 -6
  1042. package/dist/solutions-components/demos/assets/t9n/instant-apps-measurement/resources_el.json +6 -6
  1043. package/dist/solutions-components/demos/assets/t9n/instant-apps-measurement/resources_en.json +6 -6
  1044. package/dist/solutions-components/demos/assets/t9n/instant-apps-measurement/resources_es.json +6 -6
  1045. package/dist/solutions-components/demos/assets/t9n/instant-apps-measurement/resources_et.json +6 -6
  1046. package/dist/solutions-components/demos/assets/t9n/instant-apps-measurement/resources_fi.json +6 -6
  1047. package/dist/solutions-components/demos/assets/t9n/instant-apps-measurement/resources_fr.json +6 -6
  1048. package/dist/solutions-components/demos/assets/t9n/instant-apps-measurement/resources_he.json +6 -6
  1049. package/dist/solutions-components/demos/assets/t9n/instant-apps-measurement/resources_hr.json +6 -6
  1050. package/dist/solutions-components/demos/assets/t9n/instant-apps-measurement/resources_hu.json +6 -6
  1051. package/dist/solutions-components/demos/assets/t9n/instant-apps-measurement/resources_id.json +6 -6
  1052. package/dist/solutions-components/demos/assets/t9n/instant-apps-measurement/resources_it.json +6 -6
  1053. package/dist/solutions-components/demos/assets/t9n/instant-apps-measurement/resources_ja.json +6 -6
  1054. package/dist/solutions-components/demos/assets/t9n/instant-apps-measurement/resources_ko.json +6 -6
  1055. package/dist/solutions-components/demos/assets/t9n/instant-apps-measurement/resources_lt.json +6 -6
  1056. package/dist/solutions-components/demos/assets/t9n/instant-apps-measurement/resources_lv.json +6 -6
  1057. package/dist/solutions-components/demos/assets/t9n/instant-apps-measurement/resources_nb.json +6 -6
  1058. package/dist/solutions-components/demos/assets/t9n/instant-apps-measurement/resources_nl.json +6 -6
  1059. package/dist/solutions-components/demos/assets/t9n/instant-apps-measurement/resources_pl.json +6 -6
  1060. package/dist/solutions-components/demos/assets/t9n/instant-apps-measurement/resources_pt-BR.json +6 -6
  1061. package/dist/solutions-components/demos/assets/t9n/instant-apps-measurement/resources_pt-PT.json +6 -6
  1062. package/dist/solutions-components/demos/assets/t9n/instant-apps-measurement/resources_ro.json +6 -6
  1063. package/dist/solutions-components/demos/assets/t9n/instant-apps-measurement/resources_ru.json +6 -6
  1064. package/dist/solutions-components/demos/assets/t9n/instant-apps-measurement/resources_sk.json +6 -6
  1065. package/dist/solutions-components/demos/assets/t9n/instant-apps-measurement/resources_sl.json +6 -6
  1066. package/dist/solutions-components/demos/assets/t9n/instant-apps-measurement/resources_sr.json +6 -6
  1067. package/dist/solutions-components/demos/assets/t9n/instant-apps-measurement/resources_sv.json +6 -6
  1068. package/dist/solutions-components/demos/assets/t9n/instant-apps-measurement/resources_th.json +6 -6
  1069. package/dist/solutions-components/demos/assets/t9n/instant-apps-measurement/resources_tr.json +6 -6
  1070. package/dist/solutions-components/demos/assets/t9n/instant-apps-measurement/resources_uk.json +6 -6
  1071. package/dist/solutions-components/demos/assets/t9n/instant-apps-measurement/resources_vi.json +6 -6
  1072. package/dist/solutions-components/demos/assets/t9n/instant-apps-measurement/resources_zh-CN.json +6 -6
  1073. package/dist/solutions-components/demos/assets/t9n/instant-apps-measurement/resources_zh-HK.json +6 -6
  1074. package/dist/solutions-components/demos/assets/t9n/instant-apps-measurement/resources_zh-TW.json +6 -6
  1075. package/dist/solutions-components/demos/assets/t9n/instant-apps-popover/resources.json +7 -7
  1076. package/dist/solutions-components/demos/assets/t9n/instant-apps-popover/resources_ar.json +5 -5
  1077. package/dist/solutions-components/demos/assets/t9n/instant-apps-popover/resources_bg.json +5 -5
  1078. package/dist/solutions-components/demos/assets/t9n/instant-apps-popover/resources_bs.json +5 -5
  1079. package/dist/solutions-components/demos/assets/t9n/instant-apps-popover/resources_ca.json +5 -5
  1080. package/dist/solutions-components/demos/assets/t9n/instant-apps-popover/resources_cs.json +5 -5
  1081. package/dist/solutions-components/demos/assets/t9n/instant-apps-popover/resources_da.json +5 -5
  1082. package/dist/solutions-components/demos/assets/t9n/instant-apps-popover/resources_de.json +5 -5
  1083. package/dist/solutions-components/demos/assets/t9n/instant-apps-popover/resources_el.json +5 -5
  1084. package/dist/solutions-components/demos/assets/t9n/instant-apps-popover/resources_en.json +7 -7
  1085. package/dist/solutions-components/demos/assets/t9n/instant-apps-popover/resources_es.json +5 -5
  1086. package/dist/solutions-components/demos/assets/t9n/instant-apps-popover/resources_et.json +5 -5
  1087. package/dist/solutions-components/demos/assets/t9n/instant-apps-popover/resources_fi.json +5 -5
  1088. package/dist/solutions-components/demos/assets/t9n/instant-apps-popover/resources_fr.json +5 -5
  1089. package/dist/solutions-components/demos/assets/t9n/instant-apps-popover/resources_he.json +5 -5
  1090. package/dist/solutions-components/demos/assets/t9n/instant-apps-popover/resources_hr.json +5 -5
  1091. package/dist/solutions-components/demos/assets/t9n/instant-apps-popover/resources_hu.json +5 -5
  1092. package/dist/solutions-components/demos/assets/t9n/instant-apps-popover/resources_id.json +5 -5
  1093. package/dist/solutions-components/demos/assets/t9n/instant-apps-popover/resources_it.json +5 -5
  1094. package/dist/solutions-components/demos/assets/t9n/instant-apps-popover/resources_ja.json +5 -5
  1095. package/dist/solutions-components/demos/assets/t9n/instant-apps-popover/resources_ko.json +5 -5
  1096. package/dist/solutions-components/demos/assets/t9n/instant-apps-popover/resources_lt.json +5 -5
  1097. package/dist/solutions-components/demos/assets/t9n/instant-apps-popover/resources_lv.json +5 -5
  1098. package/dist/solutions-components/demos/assets/t9n/instant-apps-popover/resources_nb.json +5 -5
  1099. package/dist/solutions-components/demos/assets/t9n/instant-apps-popover/resources_nl.json +5 -5
  1100. package/dist/solutions-components/demos/assets/t9n/instant-apps-popover/resources_pl.json +5 -5
  1101. package/dist/solutions-components/demos/assets/t9n/instant-apps-popover/resources_pt-BR.json +5 -5
  1102. package/dist/solutions-components/demos/assets/t9n/instant-apps-popover/resources_pt-PT.json +5 -5
  1103. package/dist/solutions-components/demos/assets/t9n/instant-apps-popover/resources_ro.json +5 -5
  1104. package/dist/solutions-components/demos/assets/t9n/instant-apps-popover/resources_ru.json +5 -5
  1105. package/dist/solutions-components/demos/assets/t9n/instant-apps-popover/resources_sk.json +5 -5
  1106. package/dist/solutions-components/demos/assets/t9n/instant-apps-popover/resources_sl.json +5 -5
  1107. package/dist/solutions-components/demos/assets/t9n/instant-apps-popover/resources_sr.json +5 -5
  1108. package/dist/solutions-components/demos/assets/t9n/instant-apps-popover/resources_sv.json +5 -5
  1109. package/dist/solutions-components/demos/assets/t9n/instant-apps-popover/resources_th.json +5 -5
  1110. package/dist/solutions-components/demos/assets/t9n/instant-apps-popover/resources_tr.json +5 -5
  1111. package/dist/solutions-components/demos/assets/t9n/instant-apps-popover/resources_uk.json +5 -5
  1112. package/dist/solutions-components/demos/assets/t9n/instant-apps-popover/resources_vi.json +5 -5
  1113. package/dist/solutions-components/demos/assets/t9n/instant-apps-popover/resources_zh-CN.json +5 -5
  1114. package/dist/solutions-components/demos/assets/t9n/instant-apps-popover/resources_zh-HK.json +5 -5
  1115. package/dist/solutions-components/demos/assets/t9n/instant-apps-popover/resources_zh-TW.json +5 -5
  1116. package/dist/solutions-components/demos/assets/t9n/instant-apps-scoreboard/resources.json +6 -6
  1117. package/dist/solutions-components/demos/assets/t9n/instant-apps-scoreboard/resources_ar.json +6 -6
  1118. package/dist/solutions-components/demos/assets/t9n/instant-apps-scoreboard/resources_bg.json +6 -6
  1119. package/dist/solutions-components/demos/assets/t9n/instant-apps-scoreboard/resources_bs.json +6 -6
  1120. package/dist/solutions-components/demos/assets/t9n/instant-apps-scoreboard/resources_ca.json +6 -6
  1121. package/dist/solutions-components/demos/assets/t9n/instant-apps-scoreboard/resources_cs.json +6 -6
  1122. package/dist/solutions-components/demos/assets/t9n/instant-apps-scoreboard/resources_da.json +6 -6
  1123. package/dist/solutions-components/demos/assets/t9n/instant-apps-scoreboard/resources_de.json +6 -6
  1124. package/dist/solutions-components/demos/assets/t9n/instant-apps-scoreboard/resources_el.json +6 -6
  1125. package/dist/solutions-components/demos/assets/t9n/instant-apps-scoreboard/resources_en.json +6 -6
  1126. package/dist/solutions-components/demos/assets/t9n/instant-apps-scoreboard/resources_es.json +6 -6
  1127. package/dist/solutions-components/demos/assets/t9n/instant-apps-scoreboard/resources_et.json +6 -6
  1128. package/dist/solutions-components/demos/assets/t9n/instant-apps-scoreboard/resources_fi.json +6 -6
  1129. package/dist/solutions-components/demos/assets/t9n/instant-apps-scoreboard/resources_fr.json +6 -6
  1130. package/dist/solutions-components/demos/assets/t9n/instant-apps-scoreboard/resources_he.json +6 -6
  1131. package/dist/solutions-components/demos/assets/t9n/instant-apps-scoreboard/resources_hr.json +6 -6
  1132. package/dist/solutions-components/demos/assets/t9n/instant-apps-scoreboard/resources_hu.json +6 -6
  1133. package/dist/solutions-components/demos/assets/t9n/instant-apps-scoreboard/resources_id.json +6 -6
  1134. package/dist/solutions-components/demos/assets/t9n/instant-apps-scoreboard/resources_it.json +6 -6
  1135. package/dist/solutions-components/demos/assets/t9n/instant-apps-scoreboard/resources_ja.json +6 -6
  1136. package/dist/solutions-components/demos/assets/t9n/instant-apps-scoreboard/resources_ko.json +6 -6
  1137. package/dist/solutions-components/demos/assets/t9n/instant-apps-scoreboard/resources_lt.json +6 -6
  1138. package/dist/solutions-components/demos/assets/t9n/instant-apps-scoreboard/resources_lv.json +6 -6
  1139. package/dist/solutions-components/demos/assets/t9n/instant-apps-scoreboard/resources_nb.json +6 -6
  1140. package/dist/solutions-components/demos/assets/t9n/instant-apps-scoreboard/resources_nl.json +6 -6
  1141. package/dist/solutions-components/demos/assets/t9n/instant-apps-scoreboard/resources_pl.json +6 -6
  1142. package/dist/solutions-components/demos/assets/t9n/instant-apps-scoreboard/resources_pt-BR.json +6 -6
  1143. package/dist/solutions-components/demos/assets/t9n/instant-apps-scoreboard/resources_pt-PT.json +6 -6
  1144. package/dist/solutions-components/demos/assets/t9n/instant-apps-scoreboard/resources_ro.json +6 -6
  1145. package/dist/solutions-components/demos/assets/t9n/instant-apps-scoreboard/resources_ru.json +6 -6
  1146. package/dist/solutions-components/demos/assets/t9n/instant-apps-scoreboard/resources_sk.json +6 -6
  1147. package/dist/solutions-components/demos/assets/t9n/instant-apps-scoreboard/resources_sl.json +6 -6
  1148. package/dist/solutions-components/demos/assets/t9n/instant-apps-scoreboard/resources_sr.json +6 -6
  1149. package/dist/solutions-components/demos/assets/t9n/instant-apps-scoreboard/resources_sv.json +6 -6
  1150. package/dist/solutions-components/demos/assets/t9n/instant-apps-scoreboard/resources_th.json +6 -6
  1151. package/dist/solutions-components/demos/assets/t9n/instant-apps-scoreboard/resources_tr.json +6 -6
  1152. package/dist/solutions-components/demos/assets/t9n/instant-apps-scoreboard/resources_uk.json +6 -6
  1153. package/dist/solutions-components/demos/assets/t9n/instant-apps-scoreboard/resources_vi.json +6 -6
  1154. package/dist/solutions-components/demos/assets/t9n/instant-apps-scoreboard/resources_zh-CN.json +6 -6
  1155. package/dist/solutions-components/demos/assets/t9n/instant-apps-scoreboard/resources_zh-HK.json +6 -6
  1156. package/dist/solutions-components/demos/assets/t9n/instant-apps-scoreboard/resources_zh-TW.json +6 -6
  1157. package/dist/solutions-components/demos/assets/t9n/instant-apps-social-share/resources.json +38 -38
  1158. package/dist/solutions-components/demos/assets/t9n/instant-apps-social-share/resources_ar.json +37 -37
  1159. package/dist/solutions-components/demos/assets/t9n/instant-apps-social-share/resources_bg.json +37 -37
  1160. package/dist/solutions-components/demos/assets/t9n/instant-apps-social-share/resources_bs.json +37 -37
  1161. package/dist/solutions-components/demos/assets/t9n/instant-apps-social-share/resources_ca.json +37 -37
  1162. package/dist/solutions-components/demos/assets/t9n/instant-apps-social-share/resources_cs.json +37 -37
  1163. package/dist/solutions-components/demos/assets/t9n/instant-apps-social-share/resources_da.json +37 -37
  1164. package/dist/solutions-components/demos/assets/t9n/instant-apps-social-share/resources_de.json +37 -37
  1165. package/dist/solutions-components/demos/assets/t9n/instant-apps-social-share/resources_el.json +37 -37
  1166. package/dist/solutions-components/demos/assets/t9n/instant-apps-social-share/resources_en.json +38 -38
  1167. package/dist/solutions-components/demos/assets/t9n/instant-apps-social-share/resources_es.json +37 -37
  1168. package/dist/solutions-components/demos/assets/t9n/instant-apps-social-share/resources_et.json +37 -37
  1169. package/dist/solutions-components/demos/assets/t9n/instant-apps-social-share/resources_fi.json +37 -37
  1170. package/dist/solutions-components/demos/assets/t9n/instant-apps-social-share/resources_fr.json +37 -37
  1171. package/dist/solutions-components/demos/assets/t9n/instant-apps-social-share/resources_he.json +37 -37
  1172. package/dist/solutions-components/demos/assets/t9n/instant-apps-social-share/resources_hr.json +37 -37
  1173. package/dist/solutions-components/demos/assets/t9n/instant-apps-social-share/resources_hu.json +37 -37
  1174. package/dist/solutions-components/demos/assets/t9n/instant-apps-social-share/resources_id.json +37 -37
  1175. package/dist/solutions-components/demos/assets/t9n/instant-apps-social-share/resources_it.json +37 -37
  1176. package/dist/solutions-components/demos/assets/t9n/instant-apps-social-share/resources_ja.json +37 -37
  1177. package/dist/solutions-components/demos/assets/t9n/instant-apps-social-share/resources_ko.json +37 -37
  1178. package/dist/solutions-components/demos/assets/t9n/instant-apps-social-share/resources_lt.json +37 -37
  1179. package/dist/solutions-components/demos/assets/t9n/instant-apps-social-share/resources_lv.json +37 -37
  1180. package/dist/solutions-components/demos/assets/t9n/instant-apps-social-share/resources_nb.json +37 -37
  1181. package/dist/solutions-components/demos/assets/t9n/instant-apps-social-share/resources_nl.json +37 -37
  1182. package/dist/solutions-components/demos/assets/t9n/instant-apps-social-share/resources_pl.json +37 -37
  1183. package/dist/solutions-components/demos/assets/t9n/instant-apps-social-share/resources_pt-BR.json +37 -37
  1184. package/dist/solutions-components/demos/assets/t9n/instant-apps-social-share/resources_pt-PT.json +37 -37
  1185. package/dist/solutions-components/demos/assets/t9n/instant-apps-social-share/resources_ro.json +37 -37
  1186. package/dist/solutions-components/demos/assets/t9n/instant-apps-social-share/resources_ru.json +37 -37
  1187. package/dist/solutions-components/demos/assets/t9n/instant-apps-social-share/resources_sk.json +37 -37
  1188. package/dist/solutions-components/demos/assets/t9n/instant-apps-social-share/resources_sl.json +37 -37
  1189. package/dist/solutions-components/demos/assets/t9n/instant-apps-social-share/resources_sr.json +37 -37
  1190. package/dist/solutions-components/demos/assets/t9n/instant-apps-social-share/resources_sv.json +37 -37
  1191. package/dist/solutions-components/demos/assets/t9n/instant-apps-social-share/resources_th.json +37 -37
  1192. package/dist/solutions-components/demos/assets/t9n/instant-apps-social-share/resources_tr.json +37 -37
  1193. package/dist/solutions-components/demos/assets/t9n/instant-apps-social-share/resources_uk.json +37 -37
  1194. package/dist/solutions-components/demos/assets/t9n/instant-apps-social-share/resources_vi.json +37 -37
  1195. package/dist/solutions-components/demos/assets/t9n/instant-apps-social-share/resources_zh-CN.json +37 -37
  1196. package/dist/solutions-components/demos/assets/t9n/instant-apps-social-share/resources_zh-HK.json +37 -37
  1197. package/dist/solutions-components/demos/assets/t9n/instant-apps-social-share/resources_zh-TW.json +37 -37
  1198. package/dist/solutions-components/demos/assets/t9n/instant-apps-splash/resources.json +2 -2
  1199. package/dist/solutions-components/demos/assets/t9n/instant-apps-splash/resources_en.json +2 -2
  1200. package/dist/solutions-components/demos/crowdsource-manager.html +1 -1
  1201. package/dist/solutions-components/{p-c2b20b85.entry.js → p-1d56804c.entry.js} +18 -2
  1202. package/dist/solutions-components/p-24b3ad7d.entry.js +6 -0
  1203. package/dist/solutions-components/{p-6656c53e.entry.js → p-2abc02a1.entry.js} +1 -1
  1204. package/dist/solutions-components/{p-825c045a.entry.js → p-2ddd9cf8.entry.js} +1 -1
  1205. package/dist/solutions-components/{p-e8011829.entry.js → p-48a5ae32.entry.js} +1 -1
  1206. package/dist/solutions-components/p-5d9ad152.entry.js +18 -0
  1207. package/dist/solutions-components/{p-dfdb8411.js → p-72dbfa77.js} +1 -1
  1208. package/dist/solutions-components/p-89520d31.entry.js +12 -0
  1209. package/dist/solutions-components/p-9b1766ef.entry.js +6 -0
  1210. package/dist/solutions-components/{p-683cded6.entry.js → p-b1422b00.entry.js} +1 -1
  1211. package/dist/solutions-components/p-b5d1b979.js +36 -0
  1212. package/dist/solutions-components/p-cf24ce53.entry.js +6 -0
  1213. package/dist/solutions-components/{p-1bdd64a0.js → p-d4afcf86.js} +4 -4
  1214. package/dist/solutions-components/{p-13bfc206.entry.js → p-fdb1ace8.entry.js} +5 -5
  1215. package/dist/solutions-components/solutions-components.css +1 -1
  1216. package/dist/solutions-components/solutions-components.esm.js +1 -1
  1217. package/dist/solutions-components/utils/downloadUtils.ts +20 -12
  1218. package/dist/solutions-components/utils/interfaces.ts +7 -0
  1219. package/dist/solutions-components/utils/popupUtils.ts +104 -0
  1220. package/dist/solutions-components/utils/queryUtils.ts +5 -1
  1221. package/dist/types/components/basemap-gallery/basemap-gallery.d.ts +0 -2
  1222. package/dist/types/components/card-manager/card-manager.d.ts +4 -0
  1223. package/dist/types/components/crowdsource-manager/crowdsource-manager.d.ts +61 -10
  1224. package/dist/types/components/edit-card/edit-card.d.ts +0 -6
  1225. package/dist/types/components/floor-filter/floor-filter.d.ts +0 -4
  1226. package/dist/types/components/info-card/info-card.d.ts +29 -15
  1227. package/dist/types/components/layer-table/layer-table.d.ts +41 -67
  1228. package/dist/types/components/map-card/map-card.d.ts +0 -4
  1229. package/dist/types/components/map-draw-tools/map-draw-tools.d.ts +0 -2
  1230. package/dist/types/components/map-layer-picker/map-layer-picker.d.ts +20 -0
  1231. package/dist/types/components/map-legend/map-legend.d.ts +0 -4
  1232. package/dist/types/components/map-picker/map-picker.d.ts +0 -4
  1233. package/dist/types/components/map-tools/map-tools.d.ts +0 -16
  1234. package/dist/types/components.d.ts +40 -6
  1235. package/dist/types/preact.d.ts +2 -1
  1236. package/dist/types/utils/downloadUtils.d.ts +3 -3
  1237. package/dist/types/utils/interfaces.d.ts +6 -0
  1238. package/dist/types/utils/popupUtils.d.ts +46 -0
  1239. package/dist/types/utils/queryUtils.d.ts +1 -1
  1240. package/package.json +1 -1
  1241. package/dist/cjs/calcite-action-group_2.cjs.entry.js +0 -395
  1242. package/dist/cjs/calcite-shell.cjs.entry.js +0 -157
  1243. package/dist/esm/calcite-action-group_2.entry.js +0 -390
  1244. package/dist/esm/calcite-shell.entry.js +0 -153
  1245. package/dist/solutions-components/p-105bf4aa.entry.js +0 -6
  1246. package/dist/solutions-components/p-531d91d6.js +0 -36
  1247. package/dist/solutions-components/p-7440c114.entry.js +0 -11
  1248. package/dist/solutions-components/p-7c5191ff.entry.js +0 -6
  1249. package/dist/solutions-components/p-c147117f.entry.js +0 -17
  1250. package/dist/solutions-components/p-d9d213d4.entry.js +0 -6
  1251. package/dist/solutions-components/p-db1f5bd5.entry.js +0 -6
  1252. package/dist/solutions-components_commit.txt +0 -7
@@ -3,9 +3,25 @@
3
3
  * Licensed under the Apache License, Version 2.0
4
4
  * http://www.apache.org/licenses/LICENSE-2.0
5
5
  */
6
- import{r as t,c as i,h as e,H as s,g as o}from"./p-78780f63.js";import{u as a,t as n,g as l,x as r}from"./p-ca97465b.js";import{g as c}from"./p-0c07ad8a.js";import{s as h,a as d,c as p}from"./p-f10944e6.js";import{c as u,d as m,n as g}from"./p-ede84883.js";import{o as v}from"./p-653af7e0.js";import{c as f,s as b,d as w,u as k}from"./p-79ba73cb.js";import{K as y}from"./p-568822d4.js";import{l as x}from"./p-48ff9cea.js";import{g as z}from"./p-6b943f52.js";import{m as C}from"./p-531d91d6.js";import"./p-fcefdfff.js";import"./p-29d68474.js";import"./p-1e2ffee3.js";import"./p-5b566d55.js";import"./p-d918ec36.js";import"./p-e1a4994d.js";import"./p-4af32c75.js";
6
+ import{r as t,c as i,h as e,H as s,g as o}from"./p-78780f63.js";import{u as a,t as n,g as l,x as r}from"./p-ca97465b.js";import{g as c}from"./p-0c07ad8a.js";import{s as h,a as d,c as p}from"./p-f10944e6.js";import{c as u,d as m,n as g}from"./p-ede84883.js";import{o as v}from"./p-653af7e0.js";import{c as f,s as b,d as w,u as y}from"./p-79ba73cb.js";import{K as k}from"./p-568822d4.js";import{l as x}from"./p-48ff9cea.js";import{g as z}from"./p-6b943f52.js";import{m as C}from"./p-b5d1b979.js";import"./p-fcefdfff.js";import"./p-29d68474.js";import"./p-1e2ffee3.js";import"./p-5b566d55.js";import"./p-d918ec36.js";import"./p-e1a4994d.js";import"./p-4af32c75.js";
7
7
  /*!
8
8
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
9
9
  * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
10
10
  * v2.0.0
11
- */const _={slow:14e3,medium:1e4,fast:6e3},j="container",q=class{constructor(e){t(this,e),this.calciteAlertBeforeClose=i(this,"calciteAlertBeforeClose",6),this.calciteAlertClose=i(this,"calciteAlertClose",6),this.calciteAlertBeforeOpen=i(this,"calciteAlertBeforeOpen",6),this.calciteAlertOpen=i(this,"calciteAlertOpen",6),this.calciteInternalAlertSync=i(this,"calciteInternalAlertSync",6),this.calciteInternalAlertRegister=i(this,"calciteInternalAlertRegister",6),this.autoCloseTimeoutId=null,this.totalOpenTime=0,this.totalHoverTime=0,this.openTransitionProp="opacity",this.setTransitionEl=t=>{this.transitionEl=t},this.closeAlert=()=>{this.autoCloseTimeoutId=null,this.queued=!1,this.open=!1,this.queue=this.queue.filter((t=>t!==this.el)),this.determineActiveAlert(),this.calciteInternalAlertSync.emit({queue:this.queue})},this.actionsEndSlotChangeHandler=t=>{this.hasEndActions=a(t)},this.handleMouseOver=()=>{window.clearTimeout(this.autoCloseTimeoutId),this.totalOpenTime=Date.now()-this.initialOpenTime,this.lastMouseOverBegin=Date.now()},this.handleMouseLeave=()=>{const t=Date.now()-this.lastMouseOverBegin,i=_[this.autoCloseDuration]-this.totalOpenTime+this.totalHoverTime;this.totalHoverTime=this.totalHoverTime?t+this.totalHoverTime:t,this.autoCloseTimeoutId=window.setTimeout((()=>this.closeAlert()),i)},this.open=!1,this.autoClose=!1,this.autoCloseDuration="medium",this.kind="brand",this.icon=void 0,this.iconFlipRtl=!1,this.label=void 0,this.numberingSystem=void 0,this.placement="bottom",this.scale="m",this.messages=void 0,this.messageOverrides=void 0,this.slottedInShell=void 0,this.defaultMessages=void 0,this.effectiveLocale="",this.hasEndActions=!1,this.queue=[],this.queueLength=0,this.queued=!1}openHandler(){v(this),this.open&&!this.queued&&this.calciteInternalAlertRegister.emit(),this.open||(this.queue=this.queue.filter((t=>t!==this.el)),this.calciteInternalAlertSync.emit({queue:this.queue}))}onMessagesChange(){}updateDuration(){this.autoClose&&this.autoCloseTimeoutId&&(window.clearTimeout(this.autoCloseTimeoutId),this.autoCloseTimeoutId=window.setTimeout((()=>this.closeAlert()),_[this.autoCloseDuration]))}connectedCallback(){u(this),f(this),this.open&&!this.queued&&this.calciteInternalAlertRegister.emit()}async componentWillLoad(){h(this),await b(this),this.open&&v(this)}componentDidLoad(){d(this)}disconnectedCallback(){window.dispatchEvent(new CustomEvent("calciteInternalAlertUnregister",{detail:{alert:this.el}})),window.clearTimeout(this.autoCloseTimeoutId),window.clearTimeout(this.queueTimeout),m(this),w(this),this.slottedInShell=!1}render(){g.numberFormatOptions={locale:this.effectiveLocale,numberingSystem:this.numberingSystem,signDisplay:"always"};const{open:t,autoClose:i,label:o,placement:a,queued:l}=this,c=i?"alert":"alertdialog",h=!t,d=r(y,this.icon,this.kind),p=this.queueLength>1;return e(s,{"aria-hidden":n(h),"aria-label":o,"calcite-hydrated-hidden":h,role:c},e("div",{class:{[j]:!0,"container--queued":l,[`${j}--${a}`]:!0,"container--slotted-in-shell":this.slottedInShell},onPointerEnter:this.autoClose&&this.autoCloseTimeoutId?this.handleMouseOver:null,onPointerLeave:this.autoClose&&this.autoCloseTimeoutId?this.handleMouseLeave:null,ref:this.setTransitionEl},d&&this.renderIcon(d),e("div",{class:"text-container"},e("slot",{name:"title"}),e("slot",{name:"message"}),e("slot",{name:"link"})),this.renderActionsEnd(),p?this.renderQueueCount():null,this.renderCloseButton(),t&&!l&&i?e("div",{class:"dismiss-progress"}):null))}renderCloseButton(){return e("button",{"aria-label":this.messages.close,class:"close",key:"close",onClick:this.closeAlert,type:"button",ref:t=>this.closeButton=t},e("calcite-icon",{icon:"x",scale:c(this.scale)}))}renderQueueCount(){const t=g.numberFormatter.format(this.queueLength>2?this.queueLength-1:1);return e("div",{class:{"queue-count":!0,"queue-count--active":this.queueLength>1},key:"queue-count"},e("calcite-chip",{scale:this.scale,value:t},t))}renderActionsEnd(){return e("div",{class:"actions-end"},e("slot",{name:"actions-end",onSlotchange:this.actionsEndSlotChangeHandler}))}renderIcon(t){return e("div",{class:"icon"},e("calcite-icon",{flipRtl:this.iconFlipRtl,icon:t,scale:c(this.scale)}))}alertSync(t){this.queue!==t.detail.queue&&(this.queue=t.detail.queue),this.queueLength=this.queue.length,this.determineActiveAlert(),t.stopPropagation()}alertRegister(){this.open&&!this.queue.includes(this.el)&&(this.queued=!0,this.queue.push(this.el)),this.calciteInternalAlertSync.emit({queue:this.queue}),this.determineActiveAlert()}alertUnregister(t){const i=this.queue.filter((i=>i!==t.detail.alert));this.queue=i,window.dispatchEvent(new CustomEvent("calciteInternalAlertSync",{detail:{queue:i}}))}async setFocus(){await p(this);const t=l(this.el,{selector:"calcite-link"});if(this.closeButton||t)return t?t.setFocus():void(this.closeButton&&this.closeButton.focus())}effectiveLocaleChange(){k(this,this.effectiveLocale)}determineActiveAlert(){var t;(null===(t=this.queue)||void 0===t?void 0:t[0])===this.el&&(this.openAlert(),this.autoClose&&!this.autoCloseTimeoutId&&(this.initialOpenTime=Date.now(),this.autoCloseTimeoutId=window.setTimeout((()=>this.closeAlert()),_[this.autoCloseDuration])))}onBeforeOpen(){this.calciteAlertBeforeOpen.emit()}onOpen(){this.calciteAlertOpen.emit()}onBeforeClose(){this.calciteAlertBeforeClose.emit()}onClose(){this.calciteAlertClose.emit()}openAlert(){window.clearTimeout(this.queueTimeout),this.queueTimeout=window.setTimeout((()=>this.queued=!1),300)}static get assetsDirs(){return["assets"]}get el(){return o(this)}static get watchers(){return{open:["openHandler"],messageOverrides:["onMessagesChange"],autoCloseDuration:["updateDuration"],effectiveLocale:["effectiveLocaleChange"]}}};q.style=':host{--calcite-alert-edge-distance:2rem;--calcite-alert-dismiss-progress-background:var(--calcite-color-transparent-tint);display:block}.container{pointer-events:none;position:fixed;z-index:var(--calcite-z-index-toast);margin-inline:auto;margin-block:0px;box-sizing:border-box;display:flex;inline-size:100%;min-inline-size:-moz-min-content;min-inline-size:min-content;align-items:center;justify-content:center;background-color:var(--calcite-color-foreground-1);text-align:start;opacity:0;--tw-shadow:0 6px 20px -4px rgba(0, 0, 0, 0.1), 0 4px 12px -2px rgba(0, 0, 0, 0.08);--tw-shadow-colored:0 6px 20px -4px var(--tw-shadow-color), 0 4px 12px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);border-radius:var(--calcite-border-radius);border-block-start:0 solid transparent;border-inline:1px solid var(--calcite-color-border-3);border-block-end:1px solid var(--calcite-color-border-3);inline-size:var(--calcite-alert-width);max-inline-size:calc(100% - var(--calcite-alert-edge-distance) * 2);transition:var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), all var(--calcite-animation-timing) ease-in-out}.container--bottom,.container--top{inset-inline-end:0;inset-inline-start:0}.container[class*=bottom]{transform:translate3d(0, var(--calcite-alert-edge-distance), 0);inset-block-end:var(--calcite-alert-edge-distance)}.container[class*=top]{transform:translate3d(0, calc(-1 * var(--calcite-alert-edge-distance)), 0);inset-block-start:var(--calcite-alert-edge-distance)}.container[class*=start]{inset-inline-start:var(--calcite-alert-edge-distance);inset-inline-end:auto}.container[class*=end]{inset-inline-end:var(--calcite-alert-edge-distance);inset-inline-start:auto}.icon{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:0px;margin-block:auto;margin-inline-end:auto;padding-inline-start:var(--calcite-alert-spacing-token-large)}.close{display:flex;cursor:pointer;align-items:center;justify-content:flex-end;align-self:stretch;border-style:none;background-color:transparent;color:var(--calcite-color-text-3);outline:2px solid transparent;outline-offset:2px;-webkit-appearance:none;padding:var(--calcite-alert-spacing-token-large);outline-color:transparent}.close:focus{outline:2px solid var(--calcite-color-brand);outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n )}.close:hover,.close:focus{background-color:var(--calcite-color-foreground-2);color:var(--calcite-color-text-1)}.close:active{background-color:var(--calcite-color-foreground-3)}.queue-count{visibility:hidden;display:flex;min-inline-size:-moz-min-content;min-inline-size:min-content;cursor:default;align-items:center;justify-content:space-around;align-self:stretch;overflow:hidden;background-color:var(--calcite-color-foreground-1);text-align:center;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-2);opacity:0;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;border-inline:0 solid transparent;border-start-end-radius:0}.queue-count--active{visibility:visible;opacity:1}.dismiss-progress{position:absolute;display:block;inline-size:100%;overflow:hidden;inset-inline:0;inset-block-start:-2px;block-size:2px;border-radius:var(--calcite-border-radius) var(--calcite-border-radius) 0 0}.dismiss-progress:after{position:absolute;inset-block-start:0px;display:block;block-size:2px;content:"";background-color:var(--calcite-alert-dismiss-progress-background);inset-inline-end:0}.actions-end{display:flex;align-self:stretch}.text-container{box-sizing:border-box;display:flex;min-inline-size:0px;flex:1 1 auto;flex-direction:column;overflow-wrap:break-word;padding-block:var(--calcite-alert-spacing-token-small);padding-inline:var(--calcite-alert-spacing-token-large) var(--calcite-alert-spacing-token-small)}.footer{position:relative;display:flex;inline-size:auto;justify-content:flex-end;align-self:stretch;padding-block-start:1px;block-size:inherit}:host([scale=s]){--calcite-alert-width:40em;--calcite-alert-spacing-token-small:0.5rem;--calcite-alert-spacing-token-large:0.75rem;--calcite-alert-footer-height:2rem;--calcite-alert-footer-divider-gap:0.125rem}:host([scale=s]) slot[name=title]::slotted(*),:host([scale=s]) *::slotted([slot=title]){font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=s]) slot[name=message]::slotted(*),:host([scale=s]) *::slotted([slot=message]){font-size:var(--calcite-font-size--2);line-height:1.375}:host([scale=s]) slot[name=link]::slotted(*),:host([scale=s]) *::slotted([slot=link]){font-size:var(--calcite-font-size--2);line-height:1.375}:host([scale=s]) .queue-count{margin-inline:0.5rem}:host([scale=s]) .container{--calcite-alert-min-height:3.5rem}:host([scale=m]){--calcite-alert-width:50em;--calcite-alert-spacing-token-small:0.75rem;--calcite-alert-spacing-token-large:1rem;--calcite-alert-footer-height:3rem;--calcite-alert-footer-divider-gap:0.25rem}:host([scale=m]) slot[name=title]::slotted(*),:host([scale=m]) *::slotted([slot=title]){font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=m]) slot[name=message]::slotted(*),:host([scale=m]) *::slotted([slot=message]){font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=m]) slot[name=link]::slotted(*),:host([scale=m]) *::slotted([slot=link]){font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=m]) .queue-count{margin-inline:0.75rem}:host([scale=m]) .container{--calcite-alert-min-height:4.1875rem}:host([scale=l]){--calcite-alert-width:60em;--calcite-alert-spacing-token-small:1rem;--calcite-alert-spacing-token-large:1.25rem;--calcite-alert-footer-height:4rem;--calcite-alert-footer-divider-gap:0.5rem}:host([scale=l]) slot[name=title]::slotted(*),:host([scale=l]) *::slotted([slot=title]){margin-block-end:0.25rem;font-size:var(--calcite-font-size-1);line-height:1.375}:host([scale=l]) slot[name=message]::slotted(*),:host([scale=l]) *::slotted([slot=message]){font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=l]) slot[name=link]::slotted(*),:host([scale=l]) *::slotted([slot=link]){font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=l]) .queue-count{margin-inline:1rem}:host([scale=l]) .container{--calcite-alert-min-height:5.625rem}:host([open]) .container:not(.container--queued){border-block-start-width:2px;opacity:1;pointer-events:initial}:host([open]) .container:not(.container--queued)[class*=bottom]{transform:translate3d(0, calc(-1 * var(--calcite-alert-edge-distance)), inherit)}:host([open]) .container:not(.container--queued)[class*=top]{transform:translate3d(0, var(--calcite-alert-edge-distance), inherit)}:host([auto-close])>.queue-count{border-inline-end:0 solid transparent}slot[name=title]::slotted(*),*::slotted([slot=title]){font-size:var(--calcite-font-size-0);line-height:1.375;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-1)}slot[name=message]::slotted(*),*::slotted([slot=message]){margin:0px;display:inline;font-size:var(--calcite-font-size--1);line-height:1.375;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-color-text-2);margin-inline-end:0.5rem}slot[name=link]::slotted(*),*::slotted([slot=link]){display:inline-flex;color:var(--calcite-color-text-link)}:host([kind=brand]) .container{border-block-start-color:var(--calcite-color-brand)}:host([kind=brand]) .container .icon{color:var(--calcite-color-brand)}:host([kind=info]) .container{border-block-start-color:var(--calcite-color-status-info)}:host([kind=info]) .container .icon{color:var(--calcite-color-status-info)}:host([kind=danger]) .container{border-block-start-color:var(--calcite-color-status-danger)}:host([kind=danger]) .container .icon{color:var(--calcite-color-status-danger)}:host([kind=success]) .container{border-block-start-color:var(--calcite-color-status-success)}:host([kind=success]) .container .icon{color:var(--calcite-color-status-success)}:host([kind=warning]) .container{border-block-start-color:var(--calcite-color-status-warning)}:host([kind=warning]) .container .icon{color:var(--calcite-color-status-warning)}:host([auto-close-duration=fast]) .dismiss-progress:after{animation:dismissProgress 6000ms ease-out}:host(:hover[auto-close-duration=fast]) .dismiss-progress:after{animation-play-state:paused}:host([auto-close-duration=medium]) .dismiss-progress:after{animation:dismissProgress 10000ms ease-out}:host(:hover[auto-close-duration=medium]) .dismiss-progress:after{animation-play-state:paused}:host([auto-close-duration=slow]) .dismiss-progress:after{animation:dismissProgress 14000ms ease-out}:host(:hover[auto-close-duration=slow]) .dismiss-progress:after{animation-play-state:paused}@keyframes dismissProgress{0%{inline-size:0px;opacity:0.75}100%{inline-size:100%;opacity:1}}.container--slotted-in-shell{position:absolute}:host([hidden]){display:none}[hidden]{display:none}:host([calcite-hydrated-hidden]){visibility:hidden !important;pointer-events:none}';const W=class{constructor(e){t(this,e),this.closeEdit=i(this,"closeEdit",7),this.editsComplete=i(this,"editsComplete",7),this.refreshGraphics=i(this,"refreshGraphics",7),this._shouldClose=!1,this.graphics=void 0,this.mapView=void 0,this.open=!1,this.graphicIndex=0,this._editorLoading=!1,this._translations=void 0}async graphicsWatchHandler(){0===this.graphics.length&&await this._closeEdit()}async openWatchHandler(t){var i;t&&(null===(i=this.graphics)||void 0===i?void 0:i.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()}async featureSelectionChange(){await this._closeEdit()}async componentWillLoad(){await this._initModules(),await this._getTranslations()}async componentWillRender(){var t,i;(null===(t=this.graphics)||void 0===t?void 0:t.length)>0&&(null===(i=this.graphics[0])||void 0===i?void 0:i.layer)&&(this._layer=this.graphics[0].layer,this._layerEditHandle&&this._layerEditHandle.remove(),this._layerEditHandle=this._layer.on("edits",(()=>{this.editsComplete.emit(),this.open=!1})))}render(){var t;const i=!((null===(t=this.graphics)||void 0===t?void 0:t.length)>0&&this.graphics[0]&&this.graphics[0].layer.editingEnabled),o=this._editorLoading?"display-none":"position-absolute",a=this._editorLoading?"":"display-none";return e(s,null,e("div",{class:"position-absolute"},i?e("calcite-notice",{kind:"warning",open:!0,slot:"content-top",width:"full"},e("div",{slot:"message"},this._translations.enableEditing)):void 0,e("div",{class:"position-absolute",slot:"content"},e("div",{class:o,id:"feature-form",ref:t=>this._editContainer=t}),e("calcite-loader",{class:a,label:"",scale:"s"}))))}async _initModules(){const[t,i]=await x(["esri/widgets/Editor","esri/core/reactiveUtils"]);this.Editor=t,this.reactiveUtils=i}async _initEditorWidget(){if(this.mapView&&this.graphics&&this.graphics.length>0&&this.graphics[0]){this._editor&&this._editor.destroy();const t=document.createElement("div"),i=(await C(this.mapView)).map((t=>({layer:t,geometryUpdatesEnabled:!1})));this._editor=new this.Editor({allowedWorkflows:"update",view:this.mapView,layerInfos:i,visibleElements:{snappingControls:!1,sketchTooltipControls:!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((()=>{var t;return null===(t=this._editor.viewModel.activeWorkflow)||void 0===t?void 0:t.activeWorkflow}),(t=>{"update-table-record"!==(null==t?void 0:t.type)&&"create-features"!==(null==t?void 0:t.type)||(this._shouldClose=!1),(null==t?void 0:t.type)||(null==t?void 0:t.hasPendingEdits)||(this.open=!1)})),this._editContainer.appendChild(t)}}async _closeEdit(){var t,i,e,s;this._shouldClose=!0,(null===(t=this._editor)||void 0===t?void 0:t.activeWorkflow)&&await(null===(i=this._editor)||void 0===i?void 0:i.cancelWorkflow()),this.graphicIndex>-1&&(null===(e=this.graphics)||void 0===e?void 0:e.length)>0&&this.refreshGraphics.emit(this.graphics),null===(s=this._editor)||void 0===s||s.destroy(),this._shouldClose=!1,this.closeEdit.emit()}async _startUpdate(){await this._editor.startUpdateWorkflowAtFeatureEdit(this.graphics[this.graphicIndex]),this._shouldClose=!0}async _getTranslations(){const t=await z(this.el);this._translations=t[0]}get el(){return o(this)}static get watchers(){return{graphics:["graphicsWatchHandler"],open:["openWatchHandler"]}}};W.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{--calcite-color-background:none;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}";const E=class{constructor(e){t(this,e),this.selectionChanged=i(this,"selectionChanged",7),this.graphics=void 0,this.isLoading=!1,this.mapView=void 0,this.zoomAndScrollToSelected=void 0,this._alertOpen=!1,this._count="",this._editRecordOpen=!1,this._showListView=!1,this._translations=void 0}async graphicsWatchHandler(){var t;if(this._features||await this._initFeaturesWidget(),this.graphics.length>0){const i=null===(t=this.graphics[0])||void 0===t?void 0:t.layer;this._editEnabled=i.editingEnabled&&i.capabilities.operations.supportsUpdate,this._features.open({features:this.graphics})}else this._features.clear(),this._features.close()}async mapViewWatchHandler(){return await this._initFeaturesWidget()}async getSelectedFeature(){return this._features.selectedFeature}async closeEdit(){this._editRecordOpen=!1}async refreshGraphics(t){this.graphics=[...t.detail]}async componentWillLoad(){await this._initModules(),await this._getTranslations()}render(){var t,i,o;const a=this.isLoading||this._editRecordOpen?"display-none":"position-absolute",n=!this.isLoading&&this._editRecordOpen?"position-absolute":"display-none",l=!this.isLoading&&this._editRecordOpen||this._showListView?"display-none":"",r=(null===(i=null===(t=this._features)||void 0===t?void 0:t.features)||void 0===i?void 0:i.length)<2;return e(s,null,e("calcite-shell",null,e("calcite-loader",{class:this.isLoading?"":"display-none",label:this._translations.fetchingData}),e("div",{class:"esri-widget "+a,id:"features-node"}),e("div",{class:`${l} width-100`,slot:"footer"},e("div",{class:"display-flex top-border padding-1-2"},e("calcite-button",{appearance:"solid","icon-start":"pencil",id:"solutions-edit",onClick:()=>this._openEditRecord(),width:"full"},this._translations.edit),e("calcite-tooltip",{label:"",placement:"bottom","reference-element":"solutions-edit"},e("span",null,this._translations.edit))),e("div",{class:"display-flex padding-1-2 button-container top-border"},e("div",{class:"min-width-100"},e("calcite-button",{appearance:"outline",disabled:r,id:"solutions-back",onClick:()=>this._back(),width:"full"},this._translations.back),e("calcite-tooltip",{label:"",placement:"top","reference-element":"solutions-back"},e("span",null,this._translations.back))),e("div",null,e("calcite-action",{icon:"list",onClick:()=>this._toggleListView(),scale:"s",text:this._getCount(),textEnabled:!0})),e("div",{class:"min-width-100"},e("calcite-button",{appearance:"outline",disabled:r,id:"solutions-next",onClick:()=>this._next(),width:"full"},this._translations.next),e("calcite-tooltip",{label:"",placement:"top","reference-element":"solutions-next"},e("span",null,this._translations.next))))),e("edit-card",{class:n,graphicIndex:null===(o=this._features)||void 0===o?void 0:o.selectedFeatureIndex,graphics:this.graphics,mapView:this.mapView,open:this._editRecordOpen}),e("calcite-alert",{icon:"layer-broken",kind:"warning",label:"",onCalciteAlertClose:()=>this._alertClosed(),open:this._alertOpen,placement:"top"},e("div",{slot:"title"},this._translations.editDisabled),e("div",{slot:"message"},this._translations.enableEditing))))}async _initModules(){const[t,i]=await x(["esri/widgets/Features","esri/core/reactiveUtils"]);this.Features=t,this.reactiveUtils=i}async _initFeaturesWidget(){return await this.mapView.when((()=>{this._features?this._features.view=this.mapView:(this._features=new this.Features({view:this.mapView,container:"features-node",visibleElements:{actionBar:!1,closeButton:!1,heading:!0}}),this.reactiveUtils.watch((()=>this._features.viewModel.featureMenuOpen),(t=>{t||(this._showListView=t)})),this.zoomAndScrollToSelected&&this.reactiveUtils.watch((()=>this._features.selectedFeatureIndex),(t=>{t>-1&&this.selectionChanged.emit(this._features.selectedFeature)})))}))}_alertClosed(){this._alertOpen=!1}_editRecordClosed(){this._editRecordOpen=!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(){var t,i,e;const s=((null===(t=this._features)||void 0===t?void 0:t.viewModel.selectedFeatureIndex)+1).toString(),o=null===(e=null===(i=this._features)||void 0===i?void 0:i.features)||void 0===e?void 0:e.length.toString();return this._translations.indexOfTotal.replace("{{index}}",s).replace("{{total}}",o)}_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 z(this.el);this._translations=t[0]}get el(){return o(this)}static get watchers(){return{graphics:["graphicsWatchHandler"],mapView:["mapViewWatchHandler"]}}};E.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}.esri-features__footer{display:none !important}.button-container{justify-content:space-between;align-items:center}.top-border{border-top:1px solid var(--calcite-color-border-1)}.min-width-100{min-width:100px}.width-100{width:100%}.esri-features__container{padding:0.5rem !important;background-color:var(--calcite-color-foreground-1) !important;height:100% !important}";export{q as calcite_alert,W as edit_card,E as info_card}
11
+ */const _={slow:14e3,medium:1e4,fast:6e3},j="container",q=class{constructor(e){t(this,e),this.calciteAlertBeforeClose=i(this,"calciteAlertBeforeClose",6),this.calciteAlertClose=i(this,"calciteAlertClose",6),this.calciteAlertBeforeOpen=i(this,"calciteAlertBeforeOpen",6),this.calciteAlertOpen=i(this,"calciteAlertOpen",6),this.calciteInternalAlertSync=i(this,"calciteInternalAlertSync",6),this.calciteInternalAlertRegister=i(this,"calciteInternalAlertRegister",6),this.autoCloseTimeoutId=null,this.totalOpenTime=0,this.totalHoverTime=0,this.openTransitionProp="opacity",this.setTransitionEl=t=>{this.transitionEl=t},this.closeAlert=()=>{this.autoCloseTimeoutId=null,this.queued=!1,this.open=!1,this.queue=this.queue.filter((t=>t!==this.el)),this.determineActiveAlert(),this.calciteInternalAlertSync.emit({queue:this.queue})},this.actionsEndSlotChangeHandler=t=>{this.hasEndActions=a(t)},this.handleMouseOver=()=>{window.clearTimeout(this.autoCloseTimeoutId),this.totalOpenTime=Date.now()-this.initialOpenTime,this.lastMouseOverBegin=Date.now()},this.handleMouseLeave=()=>{const t=Date.now()-this.lastMouseOverBegin,i=_[this.autoCloseDuration]-this.totalOpenTime+this.totalHoverTime;this.totalHoverTime=this.totalHoverTime?t+this.totalHoverTime:t,this.autoCloseTimeoutId=window.setTimeout((()=>this.closeAlert()),i)},this.open=!1,this.autoClose=!1,this.autoCloseDuration="medium",this.kind="brand",this.icon=void 0,this.iconFlipRtl=!1,this.label=void 0,this.numberingSystem=void 0,this.placement="bottom",this.scale="m",this.messages=void 0,this.messageOverrides=void 0,this.slottedInShell=void 0,this.defaultMessages=void 0,this.effectiveLocale="",this.hasEndActions=!1,this.queue=[],this.queueLength=0,this.queued=!1}openHandler(){v(this),this.open&&!this.queued&&this.calciteInternalAlertRegister.emit(),this.open||(this.queue=this.queue.filter((t=>t!==this.el)),this.calciteInternalAlertSync.emit({queue:this.queue}))}onMessagesChange(){}updateDuration(){this.autoClose&&this.autoCloseTimeoutId&&(window.clearTimeout(this.autoCloseTimeoutId),this.autoCloseTimeoutId=window.setTimeout((()=>this.closeAlert()),_[this.autoCloseDuration]))}connectedCallback(){u(this),f(this),this.open&&!this.queued&&this.calciteInternalAlertRegister.emit()}async componentWillLoad(){h(this),await b(this),this.open&&v(this)}componentDidLoad(){d(this)}disconnectedCallback(){window.dispatchEvent(new CustomEvent("calciteInternalAlertUnregister",{detail:{alert:this.el}})),window.clearTimeout(this.autoCloseTimeoutId),window.clearTimeout(this.queueTimeout),m(this),w(this),this.slottedInShell=!1}render(){g.numberFormatOptions={locale:this.effectiveLocale,numberingSystem:this.numberingSystem,signDisplay:"always"};const{open:t,autoClose:i,label:o,placement:a,queued:l}=this,c=i?"alert":"alertdialog",h=!t,d=r(k,this.icon,this.kind),p=this.queueLength>1;return e(s,{"aria-hidden":n(h),"aria-label":o,"calcite-hydrated-hidden":h,role:c},e("div",{class:{[j]:!0,"container--queued":l,[`${j}--${a}`]:!0,"container--slotted-in-shell":this.slottedInShell},onPointerEnter:this.autoClose&&this.autoCloseTimeoutId?this.handleMouseOver:null,onPointerLeave:this.autoClose&&this.autoCloseTimeoutId?this.handleMouseLeave:null,ref:this.setTransitionEl},d&&this.renderIcon(d),e("div",{class:"text-container"},e("slot",{name:"title"}),e("slot",{name:"message"}),e("slot",{name:"link"})),this.renderActionsEnd(),p?this.renderQueueCount():null,this.renderCloseButton(),t&&!l&&i?e("div",{class:"dismiss-progress"}):null))}renderCloseButton(){return e("button",{"aria-label":this.messages.close,class:"close",key:"close",onClick:this.closeAlert,type:"button",ref:t=>this.closeButton=t},e("calcite-icon",{icon:"x",scale:c(this.scale)}))}renderQueueCount(){const t=g.numberFormatter.format(this.queueLength>2?this.queueLength-1:1);return e("div",{class:{"queue-count":!0,"queue-count--active":this.queueLength>1},key:"queue-count"},e("calcite-chip",{scale:this.scale,value:t},t))}renderActionsEnd(){return e("div",{class:"actions-end"},e("slot",{name:"actions-end",onSlotchange:this.actionsEndSlotChangeHandler}))}renderIcon(t){return e("div",{class:"icon"},e("calcite-icon",{flipRtl:this.iconFlipRtl,icon:t,scale:c(this.scale)}))}alertSync(t){this.queue!==t.detail.queue&&(this.queue=t.detail.queue),this.queueLength=this.queue.length,this.determineActiveAlert(),t.stopPropagation()}alertRegister(){this.open&&!this.queue.includes(this.el)&&(this.queued=!0,this.queue.push(this.el)),this.calciteInternalAlertSync.emit({queue:this.queue}),this.determineActiveAlert()}alertUnregister(t){const i=this.queue.filter((i=>i!==t.detail.alert));this.queue=i,window.dispatchEvent(new CustomEvent("calciteInternalAlertSync",{detail:{queue:i}}))}async setFocus(){await p(this);const t=l(this.el,{selector:"calcite-link"});if(this.closeButton||t)return t?t.setFocus():void(this.closeButton&&this.closeButton.focus())}effectiveLocaleChange(){y(this,this.effectiveLocale)}determineActiveAlert(){var t;(null===(t=this.queue)||void 0===t?void 0:t[0])===this.el&&(this.openAlert(),this.autoClose&&!this.autoCloseTimeoutId&&(this.initialOpenTime=Date.now(),this.autoCloseTimeoutId=window.setTimeout((()=>this.closeAlert()),_[this.autoCloseDuration])))}onBeforeOpen(){this.calciteAlertBeforeOpen.emit()}onOpen(){this.calciteAlertOpen.emit()}onBeforeClose(){this.calciteAlertBeforeClose.emit()}onClose(){this.calciteAlertClose.emit()}openAlert(){window.clearTimeout(this.queueTimeout),this.queueTimeout=window.setTimeout((()=>this.queued=!1),300)}static get assetsDirs(){return["assets"]}get el(){return o(this)}static get watchers(){return{open:["openHandler"],messageOverrides:["onMessagesChange"],autoCloseDuration:["updateDuration"],effectiveLocale:["effectiveLocaleChange"]}}};q.style=':host{--calcite-alert-edge-distance:2rem;--calcite-alert-dismiss-progress-background:var(--calcite-color-transparent-tint);display:block}.container{pointer-events:none;position:fixed;z-index:var(--calcite-z-index-toast);margin-inline:auto;margin-block:0px;box-sizing:border-box;display:flex;inline-size:100%;min-inline-size:-moz-min-content;min-inline-size:min-content;align-items:center;justify-content:center;background-color:var(--calcite-color-foreground-1);text-align:start;opacity:0;--tw-shadow:0 6px 20px -4px rgba(0, 0, 0, 0.1), 0 4px 12px -2px rgba(0, 0, 0, 0.08);--tw-shadow-colored:0 6px 20px -4px var(--tw-shadow-color), 0 4px 12px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);border-radius:var(--calcite-border-radius);border-block-start:0 solid transparent;border-inline:1px solid var(--calcite-color-border-3);border-block-end:1px solid var(--calcite-color-border-3);inline-size:var(--calcite-alert-width);max-inline-size:calc(100% - var(--calcite-alert-edge-distance) * 2);transition:var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), all var(--calcite-animation-timing) ease-in-out}.container--bottom,.container--top{inset-inline-end:0;inset-inline-start:0}.container[class*=bottom]{transform:translate3d(0, var(--calcite-alert-edge-distance), 0);inset-block-end:var(--calcite-alert-edge-distance)}.container[class*=top]{transform:translate3d(0, calc(-1 * var(--calcite-alert-edge-distance)), 0);inset-block-start:var(--calcite-alert-edge-distance)}.container[class*=start]{inset-inline-start:var(--calcite-alert-edge-distance);inset-inline-end:auto}.container[class*=end]{inset-inline-end:var(--calcite-alert-edge-distance);inset-inline-start:auto}.icon{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:0px;margin-block:auto;margin-inline-end:auto;padding-inline-start:var(--calcite-alert-spacing-token-large)}.close{display:flex;cursor:pointer;align-items:center;justify-content:flex-end;align-self:stretch;border-style:none;background-color:transparent;color:var(--calcite-color-text-3);outline:2px solid transparent;outline-offset:2px;-webkit-appearance:none;padding:var(--calcite-alert-spacing-token-large);outline-color:transparent}.close:focus{outline:2px solid var(--calcite-color-brand);outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n )}.close:hover,.close:focus{background-color:var(--calcite-color-foreground-2);color:var(--calcite-color-text-1)}.close:active{background-color:var(--calcite-color-foreground-3)}.queue-count{visibility:hidden;display:flex;min-inline-size:-moz-min-content;min-inline-size:min-content;cursor:default;align-items:center;justify-content:space-around;align-self:stretch;overflow:hidden;background-color:var(--calcite-color-foreground-1);text-align:center;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-2);opacity:0;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;border-inline:0 solid transparent;border-start-end-radius:0}.queue-count--active{visibility:visible;opacity:1}.dismiss-progress{position:absolute;display:block;inline-size:100%;overflow:hidden;inset-inline:0;inset-block-start:-2px;block-size:2px;border-radius:var(--calcite-border-radius) var(--calcite-border-radius) 0 0}.dismiss-progress:after{position:absolute;inset-block-start:0px;display:block;block-size:2px;content:"";background-color:var(--calcite-alert-dismiss-progress-background);inset-inline-end:0}.actions-end{display:flex;align-self:stretch}.text-container{box-sizing:border-box;display:flex;min-inline-size:0px;flex:1 1 auto;flex-direction:column;overflow-wrap:break-word;padding-block:var(--calcite-alert-spacing-token-small);padding-inline:var(--calcite-alert-spacing-token-large) var(--calcite-alert-spacing-token-small)}.footer{position:relative;display:flex;inline-size:auto;justify-content:flex-end;align-self:stretch;padding-block-start:1px;block-size:inherit}:host([scale=s]){--calcite-alert-width:40em;--calcite-alert-spacing-token-small:0.5rem;--calcite-alert-spacing-token-large:0.75rem;--calcite-alert-footer-height:2rem;--calcite-alert-footer-divider-gap:0.125rem}:host([scale=s]) slot[name=title]::slotted(*),:host([scale=s]) *::slotted([slot=title]){font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=s]) slot[name=message]::slotted(*),:host([scale=s]) *::slotted([slot=message]){font-size:var(--calcite-font-size--2);line-height:1.375}:host([scale=s]) slot[name=link]::slotted(*),:host([scale=s]) *::slotted([slot=link]){font-size:var(--calcite-font-size--2);line-height:1.375}:host([scale=s]) .queue-count{margin-inline:0.5rem}:host([scale=s]) .container{--calcite-alert-min-height:3.5rem}:host([scale=m]){--calcite-alert-width:50em;--calcite-alert-spacing-token-small:0.75rem;--calcite-alert-spacing-token-large:1rem;--calcite-alert-footer-height:3rem;--calcite-alert-footer-divider-gap:0.25rem}:host([scale=m]) slot[name=title]::slotted(*),:host([scale=m]) *::slotted([slot=title]){font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=m]) slot[name=message]::slotted(*),:host([scale=m]) *::slotted([slot=message]){font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=m]) slot[name=link]::slotted(*),:host([scale=m]) *::slotted([slot=link]){font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=m]) .queue-count{margin-inline:0.75rem}:host([scale=m]) .container{--calcite-alert-min-height:4.1875rem}:host([scale=l]){--calcite-alert-width:60em;--calcite-alert-spacing-token-small:1rem;--calcite-alert-spacing-token-large:1.25rem;--calcite-alert-footer-height:4rem;--calcite-alert-footer-divider-gap:0.5rem}:host([scale=l]) slot[name=title]::slotted(*),:host([scale=l]) *::slotted([slot=title]){margin-block-end:0.25rem;font-size:var(--calcite-font-size-1);line-height:1.375}:host([scale=l]) slot[name=message]::slotted(*),:host([scale=l]) *::slotted([slot=message]){font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=l]) slot[name=link]::slotted(*),:host([scale=l]) *::slotted([slot=link]){font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=l]) .queue-count{margin-inline:1rem}:host([scale=l]) .container{--calcite-alert-min-height:5.625rem}:host([open]) .container:not(.container--queued){border-block-start-width:2px;opacity:1;pointer-events:initial}:host([open]) .container:not(.container--queued)[class*=bottom]{transform:translate3d(0, calc(-1 * var(--calcite-alert-edge-distance)), inherit)}:host([open]) .container:not(.container--queued)[class*=top]{transform:translate3d(0, var(--calcite-alert-edge-distance), inherit)}:host([auto-close])>.queue-count{border-inline-end:0 solid transparent}slot[name=title]::slotted(*),*::slotted([slot=title]){font-size:var(--calcite-font-size-0);line-height:1.375;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-1)}slot[name=message]::slotted(*),*::slotted([slot=message]){margin:0px;display:inline;font-size:var(--calcite-font-size--1);line-height:1.375;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-color-text-2);margin-inline-end:0.5rem}slot[name=link]::slotted(*),*::slotted([slot=link]){display:inline-flex;color:var(--calcite-color-text-link)}:host([kind=brand]) .container{border-block-start-color:var(--calcite-color-brand)}:host([kind=brand]) .container .icon{color:var(--calcite-color-brand)}:host([kind=info]) .container{border-block-start-color:var(--calcite-color-status-info)}:host([kind=info]) .container .icon{color:var(--calcite-color-status-info)}:host([kind=danger]) .container{border-block-start-color:var(--calcite-color-status-danger)}:host([kind=danger]) .container .icon{color:var(--calcite-color-status-danger)}:host([kind=success]) .container{border-block-start-color:var(--calcite-color-status-success)}:host([kind=success]) .container .icon{color:var(--calcite-color-status-success)}:host([kind=warning]) .container{border-block-start-color:var(--calcite-color-status-warning)}:host([kind=warning]) .container .icon{color:var(--calcite-color-status-warning)}:host([auto-close-duration=fast]) .dismiss-progress:after{animation:dismissProgress 6000ms ease-out}:host(:hover[auto-close-duration=fast]) .dismiss-progress:after{animation-play-state:paused}:host([auto-close-duration=medium]) .dismiss-progress:after{animation:dismissProgress 10000ms ease-out}:host(:hover[auto-close-duration=medium]) .dismiss-progress:after{animation-play-state:paused}:host([auto-close-duration=slow]) .dismiss-progress:after{animation:dismissProgress 14000ms ease-out}:host(:hover[auto-close-duration=slow]) .dismiss-progress:after{animation-play-state:paused}@keyframes dismissProgress{0%{inline-size:0px;opacity:0.75}100%{inline-size:100%;opacity:1}}.container--slotted-in-shell{position:absolute}:host([hidden]){display:none}[hidden]{display:none}:host([calcite-hydrated-hidden]){visibility:hidden !important;pointer-events:none}';const W=class{constructor(e){t(this,e),this.closeEdit=i(this,"closeEdit",7),this.editsComplete=i(this,"editsComplete",7),this.refreshGraphics=i(this,"refreshGraphics",7),this._shouldClose=!1,this.graphics=void 0,this.mapView=void 0,this.open=!1,this.graphicIndex=0,this._editorLoading=!1,this._translations=void 0}async graphicsWatchHandler(){0===this.graphics.length&&await this._closeEdit()}async openWatchHandler(t){var i;t&&(null===(i=this.graphics)||void 0===i?void 0:i.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()}async featureSelectionChange(){await this._closeEdit()}async componentWillLoad(){await this._initModules(),await this._getTranslations()}async componentWillRender(){var t,i;(null===(t=this.graphics)||void 0===t?void 0:t.length)>0&&(null===(i=this.graphics[0])||void 0===i?void 0:i.layer)&&(this._layer=this.graphics[0].layer,this._layerEditHandle&&this._layerEditHandle.remove(),this._layerEditHandle=this._layer.on("edits",(()=>{this.editsComplete.emit(),this.open=!1})))}render(){var t;const i=!((null===(t=this.graphics)||void 0===t?void 0:t.length)>0&&this.graphics[0]&&this.graphics[0].layer.editingEnabled),o=this._editorLoading?"display-none":"position-absolute",a=this._editorLoading?"":"display-none";return e(s,null,e("div",{class:"position-absolute"},i?e("calcite-notice",{kind:"warning",open:!0,slot:"content-top",width:"full"},e("div",{slot:"message"},this._translations.enableEditing)):void 0,e("div",{class:"position-absolute",slot:"content"},e("div",{class:o,id:"feature-form",ref:t=>this._editContainer=t}),e("calcite-loader",{class:a,label:"",scale:"s"}))))}async _initModules(){const[t,i]=await x(["esri/widgets/Editor","esri/core/reactiveUtils"]);this.Editor=t,this.reactiveUtils=i}async _initEditorWidget(){if(this.mapView&&this.graphics&&this.graphics.length>0&&this.graphics[0]){this._editor&&this._editor.destroy();const t=document.createElement("div"),i=(await C(this.mapView)).map((t=>({layer:t,geometryUpdatesEnabled:!1})));this._editor=new this.Editor({allowedWorkflows:"update",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((()=>{var t;return null===(t=this._editor.viewModel.activeWorkflow)||void 0===t?void 0:t.activeWorkflow}),(t=>{"update-table-record"!==(null==t?void 0:t.type)&&"create-features"!==(null==t?void 0:t.type)||(this._shouldClose=!1),(null==t?void 0:t.type)||(null==t?void 0:t.hasPendingEdits)||(this.open=!1)})),this._editContainer.appendChild(t)}}async _closeEdit(){var t,i,e,s;this._shouldClose=!0,(null===(t=this._editor)||void 0===t?void 0:t.activeWorkflow)&&await(null===(i=this._editor)||void 0===i?void 0:i.cancelWorkflow()),this.graphicIndex>-1&&(null===(e=this.graphics)||void 0===e?void 0:e.length)>0&&this.refreshGraphics.emit(this.graphics),null===(s=this._editor)||void 0===s||s.destroy(),this._shouldClose=!1,this.closeEdit.emit()}async _startUpdate(){await this._editor.startUpdateWorkflowAtFeatureEdit(this.graphics[this.graphicIndex]),this._shouldClose=!0}async _getTranslations(){const t=await z(this.el);this._translations=t[0]}get el(){return o(this)}static get watchers(){return{graphics:["graphicsWatchHandler"],open:["openWatchHandler"]}}};W.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{--calcite-color-background:none;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}";
12
+ /** @license
13
+ * Copyright 2022 Esri
14
+ *
15
+ * Licensed under the Apache License, Version 2.0 (the "License");
16
+ * you may not use this file except in compliance with the License.
17
+ * You may obtain a copy of the License at
18
+ *
19
+ * http://www.apache.org/licenses/LICENSE-2.0
20
+ *
21
+ * Unless required by applicable law or agreed to in writing, software
22
+ * distributed under the License is distributed on an "AS IS" BASIS,
23
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
24
+ * See the License for the specific language governing permissions and
25
+ * limitations under the License.
26
+ */
27
+ class E{async getPopupTitle(t){var i,e,s;this.arcade||await this._initModules();let o={};for(const[i,e]of Object.entries(t.attributes))o=Object.assign(Object.assign({},o),{[`{${i.toUpperCase()}}`]:e});const a=t.layer,n=this._removeTags(null===(i=null==a?void 0:a.popupTemplate)||void 0===i?void 0:i.title);if(n.includes("{expression/expr")&&null!=(null===(e=null==a?void 0:a.popupTemplate)||void 0===e?void 0:e.expressionInfos))for(let i=0;i<(null===(s=a.popupTemplate)||void 0===s?void 0:s.expressionInfos.length);i++){const e=a.popupTemplate.expressionInfos[i],s={variables:[{name:"$feature",type:"feature"}]};try{const i=(await this.arcade.createArcadeExecutor(e.expression,s)).execute({$feature:t});null==i&&""===i||(o[`{expression/${e.name}}`.toUpperCase()]=i)}catch(t){continue}}return null==n?void 0:n.replace(/{.*?}/g,(t=>null!=o[t.toUpperCase()]?o[t.toUpperCase()]:""))}_removeTags(t){return null==t||""===t?"":t.toString().replace(/(<([^>]+)>)/gi,"")}async _initModules(){const[t]=await x(["esri/arcade"]);this.arcade=t}}const A=class{constructor(e){t(this,e),this.popupClosed=i(this,"popupClosed",7),this.selectionChanged=i(this,"selectionChanged",7),this.graphics=void 0,this.isLoading=!1,this.isMobile=void 0,this.mapView=void 0,this.zoomAndScrollToSelected=void 0,this._alertOpen=!1,this._count="",this._editRecordOpen=!1,this._mobileTitle="",this._showListView=!1,this._translations=void 0}async graphicsWatchHandler(){var t;if(this._features||await this._initFeaturesWidget(),this.graphics.length>0){const i=null===(t=this.graphics[0])||void 0===t?void 0:t.layer;this._editEnabled=i.editingEnabled&&i.capabilities.operations.supportsUpdate,this._mobileTitle=await this._popupUtils.getPopupTitle(this.graphics[0]),this._features.open({features:this.graphics})}else this._features.clear(),this._features.close()}async isMobileWatchHandler(){await this._initFeaturesWidget()}async mapViewWatchHandler(){return await this._initFeaturesWidget()}async getSelectedFeature(){return this._features.selectedFeature}async closeEdit(){this._editRecordOpen=!1}async refreshGraphics(t){this.graphics=[...t.detail]}async componentWillLoad(){await this._initModules(),await this._getTranslations(),this._popupUtils=new E}render(){var t,i,o;const a=this.isLoading?"":"display-none",n=this.isLoading||this._editRecordOpen?"visibility-hidden":"position-absolute",l=!this.isLoading&&this._editRecordOpen?"position-absolute":"display-none",r=!this.isLoading&&this._editRecordOpen||this._showListView?"display-none":"",c=(null===(i=null===(t=this._features)||void 0===t?void 0:t.features)||void 0===i?void 0:i.length)<2,h=this.isMobile?"display-none":"",d=this.isMobile&&!this._editRecordOpen?"padding-top-46":"";return e(s,null,this.isMobile&&!this._editRecordOpen?e("calcite-panel",null,e("calcite-action",{class:"end-border",icon:"chevron-left",iconFlipRtl:!0,onClick:()=>this._closePopup(),scale:"s",slot:"header-actions-start",text:""}),e("span",{class:"font-bold",slot:"header-content"},this._mobileTitle)):void 0,e("calcite-shell",{class:d},e("calcite-loader",{class:a,label:this._translations.fetchingData}),e("div",{class:"esri-widget "+n,id:"features-node"}),e("div",{class:`${r} width-100`,slot:"footer"},e("div",{class:"display-flex top-border padding-1-2"},e("calcite-button",{appearance:"solid",id:"solutions-edit",onClick:()=>this._openEditRecord(),width:"full"},this._translations.edit),this.isMobile?e("calcite-button",{appearance:"outline",class:"padding-inline-start-1",id:"solutions-cancel",onClick:()=>this._closePopup(),width:"full"},this._translations.cancel):void 0,e("calcite-tooltip",{label:"",placement:"bottom","reference-element":"solutions-edit"},e("span",null,this._translations.edit)),this.isMobile?e("calcite-tooltip",{label:"",placement:"bottom","reference-element":"solutions-cancel"},e("span",null,this._translations.cancel)):void 0),e("div",{class:`display-flex padding-1-2 button-container top-border ${h}`},e("div",{class:"min-width-100"},e("calcite-button",{appearance:"outline",disabled:c,id:"solutions-back",onClick:()=>this._back(),width:"full"},this._translations.back),e("calcite-tooltip",{label:"",placement:"top","reference-element":"solutions-back"},e("span",null,this._translations.back))),e("div",null,e("calcite-action",{icon:"list",onClick:()=>this._toggleListView(),scale:"s",text:this._getCount(),textEnabled:!0})),e("div",{class:"min-width-100"},e("calcite-button",{appearance:"outline",disabled:c,id:"solutions-next",onClick:()=>this._next(),width:"full"},this._translations.next),e("calcite-tooltip",{label:"",placement:"top","reference-element":"solutions-next"},e("span",null,this._translations.next))))),e("edit-card",{class:l,graphicIndex:null===(o=this._features)||void 0===o?void 0:o.selectedFeatureIndex,graphics:this.graphics,mapView:this.mapView,open:this._editRecordOpen}),e("calcite-alert",{icon:"layer-broken",kind:"warning",label:"",onCalciteAlertClose:()=>this._alertClosed(),open:this._alertOpen,placement:"top"},e("div",{slot:"title"},this._translations.editDisabled),e("div",{slot:"message"},this._translations.enableEditing))))}async _initModules(){const[t,i]=await x(["esri/widgets/Features","esri/core/reactiveUtils"]);this.Features=t,this.reactiveUtils=i}async _initFeaturesWidget(){var t;return void 0!==this.isMobile?await(null===(t=this.mapView)||void 0===t?void 0:t.when((()=>{this._features?(this._features.view=this.mapView,this._features.visibleElements.actionBar=!1,this._features.visibleElements.closeButton=!1,this._features.visibleElements.heading=!this.isMobile):(this._features=new this.Features({view:this.mapView,container:"features-node",visibleElements:{actionBar:!1,closeButton:!1,heading:!this.isMobile}}),this.reactiveUtils.watch((()=>this._features.viewModel.featureMenuOpen),(t=>{t||(this._showListView=t)})),this.zoomAndScrollToSelected&&this.reactiveUtils.watch((()=>this._features.selectedFeatureIndex),(t=>{t>-1&&this.selectionChanged.emit([this._features.selectedFeature])})))}))):Promise.resolve()}_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(){var t,i,e;const s=((null===(t=this._features)||void 0===t?void 0:t.viewModel.selectedFeatureIndex)+1).toString(),o=null===(e=null===(i=this._features)||void 0===i?void 0:i.features)||void 0===e?void 0:e.length.toString();return this._translations.indexOfTotal.replace("{{index}}",s).replace("{{total}}",o)}_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 z(this.el);this._translations=t[0]}get el(){return o(this)}static get watchers(){return{graphics:["graphicsWatchHandler"],isMobile:["isMobileWatchHandler"],mapView:["mapViewWatchHandler"]}}};A.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}.esri-features__footer{display:none !important}.button-container{justify-content:space-between;align-items:center}.top-border{border-top:1px solid var(--calcite-color-border-1)}.min-width-100{min-width:100px}.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}.padding-top-46{padding-top:46px}.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}";export{q as calcite_alert,W as edit_card,A as info_card}
@@ -0,0 +1,6 @@
1
+ /*!
2
+ * Copyright 2022 Esri
3
+ * Licensed under the Apache License, Version 2.0
4
+ * http://www.apache.org/licenses/LICENSE-2.0
5
+ */
6
+ import{r as i,h as t,H as e,g as s}from"./p-78780f63.js";import{g as h}from"./p-6b943f52.js";import{E as l}from"./p-4af32c75.js";import"./p-d918ec36.js";import"./p-e1a4994d.js";const o=class{constructor(t){i(this,t),this._shouldSetMapView=!1,this.classicGrid=!1,this.defaultCenter="",this.defaultGlobalId="",this.defaultLayer="",this.defaultLevel="",this.defaultOid="",this.defaultWebmap="",this.enableAutoRefresh=!1,this.enableColumnReorder=!0,this.enableCSV=!0,this.enableFloorFilter=!0,this.enableFullscreen=!0,this.enableInlineEdit=!1,this.enableLegend=!0,this.enableSearch=!0,this.enableShare=!1,this.enableHome=!0,this.enableZoom=!0,this.enableBasemap=!0,this.basemapConfig=void 0,this.showNewestFirst=!0,this.hideMap=!1,this.mapInfos=[],this.onlyShowUpdatableLayers=!0,this.searchConfiguration=void 0,this.shareIncludeEmbed=void 0,this.shareIncludeSocial=void 0,this.theme="light",this.zoomAndScrollToSelected=!1,this._expandPopup=!1,this._hideFooter=!1,this._hideTable=!1,this._isMobile=void 0,this._translations=void 0,this._layoutMode=l.GRID,this._mapInfo=void 0,this._mapView=void 0,this._panelOpen=!0,this._numSelected=0,this._tableOnly=!1}defaultCenterWatchHandler(){this._defaultCenter=this.defaultCenter?this.defaultCenter.split(";").map((i=>parseFloat(i))):void 0}defaultGlobalIdWatchHandler(){this._defaultGlobalId=this.defaultGlobalId?this.defaultGlobalId.indexOf(",")>-1?this.defaultGlobalId.split(","):[this.defaultGlobalId]:void 0}defaultOidWatchHandler(){this._defaultOid=this.defaultOid?this.defaultOid.indexOf(",")>-1?this.defaultOid.split(",").map((i=>parseInt(i,10))):[parseInt(this.defaultOid,10)]:void 0}defaultLevelWatchHandler(){this._defaultLevel=this.defaultLevel?parseInt(this.defaultLevel,10):void 0}enableZoomWatchHandler(){this._initMapZoom()}async _isMobileWatchHandler(){this.showHideMapPopupAndTable(!!this._isMobile&&this._numSelected>0)}async featureSelectionChange(i){var t;this._numSelected=null===(t=i.detail)||void 0===t?void 0:t.length}async popupClosed(){this._isMobile&&this.showHideMapPopupAndTable(!1)}async idsFound(i){const t=i.detail;this._tableOnly=t.tableIds.length>0&&0===t.layerIds.length,this._tableOnly&&(this._expandPopup=!0)}async layoutChanged(i){this._layoutMode=i.detail}async mapChanged(i){this._mapChange=i.detail,await this._mapChange.mapView.when((async()=>{await this._setMapView()}))}async beforeMapChanged(){this._expandPopup&&(this._shouldSetMapView=!0,this._expandPopup=!1)}async componentWillLoad(){await this._getTranslations(),this._resizeObserver=new ResizeObserver((()=>this._onResize()))}render(){return t(e,null,t("calcite-shell",{class:"position-relative"},t("calcite-panel",{class:"width-full height-full"},this._getBody(this._layoutMode,this._panelOpen,this.hideMap,this._hideTable)),this._getFooter()))}async componentDidRender(){this._shouldSetMapView&&(this._shouldSetMapView=!1,await this._setMapView())}async componentDidLoad(){this._resizeObserver.observe(this.el)}_getFooter(){return this._isMobile&&this._numSelected>0&&!this._hideFooter?t("div",{class:"width-100",slot:"footer"},t("div",{class:"display-flex padding-1-2"},t("calcite-button",{appearance:"solid",id:"solutions-show",onClick:()=>this.showHideMapPopupAndTable(!0),width:"full"},this._translations.view.replace("{{n}}",this._numSelected.toString())),t("calcite-button",{appearance:"outline",class:"padding-inline-start-1",id:"solutions-delete",kind:"danger",onClick:()=>this._layerTable.deleteFeatures(),width:"full"},this._translations.delete.replace("{{n}}",this._numSelected.toString())))):void 0}_getDividerIcon(i,t){let e="";switch(i){case l.HORIZONTAL:e=this.classicGrid?t?"chevrons-down":"chevrons-up":t?"chevrons-up":"chevrons-down";break;case l.VERTICAL:e=this.classicGrid?t?"chevrons-right":"chevrons-left":t?"chevrons-left":"chevrons-right";break;case l.GRID:e=this.classicGrid?t?"chevrons-up":"chevrons-down":t?"chevrons-left":"chevrons-right"}return e}_getMapSizeClass(i,t){let e="";switch(i){case l.HORIZONTAL:e=(this._isMobile&&this.hideMap?"height-0 ":t?"height-1-2 display-grid":"height-0")+" width-full position-relative";break;case l.GRID:e=this.classicGrid?(t?"position-relative":"position-absolute-53")+" height-full width-full display-flex":"height-full position-relative "+(t?"width-1-3":"width-0");break;case l.VERTICAL:e="height-full position-relative "+(t?"width-1-2":"width-0")}return e}_getTableSizeClass(i,t){let e="";switch(i){case l.HORIZONTAL:e=(t?"height-1-2":"height-full")+" width-full display-flex flex-column";break;case l.GRID:e=this.classicGrid?(t?"height-full":"height-53")+" position-relative width-full display-flex":(t?"width-2-3":"width-full")+" height-full display-flex";break;case l.VERTICAL:e=(t?"width-1-2":"width-full")+" height-full display-flex"}return e}_getBody(i,e,s,h){const o=this.classicGrid&&i===l.GRID&&e?"display-grid":i===l.HORIZONTAL?"":"display-flex";return t("calcite-panel",{class:"width-full height-full"},this.classicGrid?t("div",{class:`width-full height-full overflow-hidden ${o}`},this._getTable(i,e,h),this._getMapAndCard(i,e,s)):t("div",{class:`width-full height-full overflow-hidden ${o}`},this._getMapAndCard(i,e,s),this._getTable(i,e,h)))}_getMapAndCard(i,e,s){const h=this._getMapSizeClass(i,e);return this.classicGrid?t("div",{class:`${h} overflow-hidden`},this._getCardNode(),this._getMapNode(i,s)):t("div",{class:`${h} overflow-hidden`},this._getMapNode(i,s),this._getPopupExpandNode())}_getMapNode(i,e){var s;return t("div",{class:`${this.classicGrid&&i===l.GRID?"width-full":this._layoutMode!==l.HORIZONTAL||e?this._layoutMode===l.HORIZONTAL&&this._isMobile&&this.hideMap?"height-0":"adjusted-height-50":""} overflow-hidden ${this.classicGrid&&i===l.GRID?"display-flex height-full width-1-2":i===l.HORIZONTAL&&!e||i===l.GRID&&!e?"":"visibility-hidden"}`},t("map-card",{basemapConfig:this.basemapConfig,class:"width-full",defaultWebmapId:this.defaultWebmap,enableBasemap:this.enableBasemap,enableFloorFilter:this.enableFloorFilter,enableFullscreen:this.enableFullscreen,enableHome:this.enableHome,enableLegend:this.enableLegend,enableMapToolsExpand:!0,enableSearch:this.enableSearch,hidden:this._expandPopup,homeZoomIndex:3,homeZoomPosition:"top-left",homeZoomToolsSize:"s",mapInfos:null===(s=this.mapInfos)||void 0===s?void 0:s.filter((i=>!1!==i.visible)),mapWidgetsIndex:0,mapWidgetsPosition:"top-right",mapWidgetsSize:"m",stackTools:!0,theme:this.theme,toolOrder:["legend","search","fullscreen","basemap","floorfilter"]}))}_getPopupExpandNode(){var i;const e=this._expandPopup?"chevrons-down":"chevrons-up",s="expand-popup",h=this._expandPopup?this._translations.collapsePopup:this._translations.expandPopup,l="dark"===this.theme?"calcite-mode-dark":"calcite-mode-light",o=this._expandPopup?1===(null===(i=this.mapInfos)||void 0===i?void 0:i.length)||this._isMobile?"position-absolute-0":"position-absolute-50":"height-full",a=this._isMobile?"display-none height-0":"";return t("div",{class:`${this._isMobile?"calcite-mode-light":"calcite-mode-dark"} ${o} ${this._isMobile&&this._hideTable&&this.hideMap?"position-fixed width-full height-full":this._isMobile?"display-none height-0":""}`},t("calcite-panel",null,this._isMobile?void 0:t("div",{class:`display-flex align-items-center ${a}`,slot:"header-content"},t("calcite-icon",{icon:"information",scale:"s"}),t("div",{class:"padding-inline-start-75"},this._translations.information)),t("calcite-action",{class:a,disabled:this._tableOnly,icon:e,id:s,onClick:()=>this._togglePopup(),slot:"header-actions-end",text:""}),this._tableOnly?void 0:t("calcite-tooltip",{class:l,label:"",placement:"bottom","reference-element":s},t("span",null,h)),this._getCardNode()))}_togglePopup(){this._expandPopup=!this._expandPopup}_getCardNode(){return t("div",{class:"width-50 height-full "+("dark"===this.theme?"calcite-mode-dark":"calcite-mode-light")},t("card-manager",{class:(this._expandPopup||this._isMobile?"height-full":"height-50")+" width-full",isMobile:this._isMobile,mapView:null==this?void 0:this._mapView,zoomAndScrollToSelected:this.zoomAndScrollToSelected}))}_getTable(i,e,s){const h=s?"visibility-hidden":"",o=this._getTableSizeClass(i,e),a=this._getDividerIcon(i,e),d=e?this._translations.close:this._translations.open,n="toggle-layout",r=this.defaultWebmap&&this.defaultLayer;return t("calcite-shell",{class:`${o} ${h} border-bottom`},this._isMobile?void 0:t("calcite-action-bar",{class:"border-sides",expandDisabled:!0,layout:i===l.HORIZONTAL||this.classicGrid?"horizontal":"vertical",slot:this.classicGrid&&i!==l.VERTICAL?"footer":this.classicGrid&&i===l.VERTICAL?"panel-end":i===l.HORIZONTAL?"header":"panel-start"},t("calcite-action",{class:"toggle-node",icon:a,id:n,onClick:()=>this._toggleLayout(),text:""}),t("calcite-tooltip",{label:d,placement:"bottom","reference-element":n},t("span",null,d))),t("div",{class:"width-full height-full position-relative"},t("layer-table",{defaultGlobalId:r?this._defaultGlobalId:void 0,defaultLayerId:r?this.defaultLayer:"",defaultOid:r&&!this.defaultGlobalId?this._defaultOid:void 0,enableAutoRefresh:this.enableAutoRefresh,enableCSV:this.enableCSV,enableColumnReorder:this.enableColumnReorder,enableInlineEdit:this.enableInlineEdit,enableShare:this.enableShare,isMobile:this._isMobile,mapInfo:this._mapInfo,mapView:null==this?void 0:this._mapView,onlyShowUpdatableLayers:this.onlyShowUpdatableLayers,ref:i=>this._layerTable=i,shareIncludeEmbed:this.shareIncludeEmbed,shareIncludeSocial:this.shareIncludeSocial,showNewestFirst:this.showNewestFirst,zoomAndScrollToSelected:this.zoomAndScrollToSelected})))}_onResize(){this._isMobile=this.el.offsetWidth<1024,this._layoutMode=this._isMobile?l.HORIZONTAL:l.GRID,this._panelOpen=!0}_toggleLayout(){this._panelOpen=!this._panelOpen}showHideMapPopupAndTable(i){this.hideMap=i,this._expandPopup=!1,this._hideTable=i,this._hideFooter=i}_getMapInfo(i){let t;return this.mapInfos.some((e=>{if(e.id===i)return t=e,!0})),Object.assign({},t)}async _setMapView(){this._mapInfo=this._getMapInfo(this._mapChange.id),this._mapView=this._mapChange.mapView,this._initMapZoom(),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)}_initMapZoom(){this.enableZoom?this.enableZoom&&this._mapView.ui.add({component:"zoom",position:"top-left",index:0}):this._mapView.ui.remove("zoom")}async _getTranslations(){const i=await h(this.el);this._translations=i[0]}get el(){return s(this)}static get watchers(){return{defaultCenter:["defaultCenterWatchHandler"],defaultGlobalId:["defaultGlobalIdWatchHandler"],defaultOid:["defaultOidWatchHandler"],defaultLevel:["defaultLevelWatchHandler"],enableZoom:["enableZoomWatchHandler"],_isMobile:["_isMobileWatchHandler"]}}};o.style=":host{display:block;--calcite-label-margin-bottom:0px;--solutions-theme-foreground-color:var(--calcite-color-foreground-1)}.padding-1-2{padding:0.5rem}.display-flex{display:flex}.width-full{width:100%}.width-1-2{position:relative;width:50%}.width-1-3{position:relative;width:33.33%}.width-2-3{position:relative;width:66.66%}.width-0{width:0}.height-full{height:100%}.height-1-2{position:relative;height:50%}.height-0{height:0}.toggle-node{width:51px;height:51px}.overflow-hidden{overflow:hidden}.flex-column{flex-direction:column}.border{border:1px solid var(--calcite-color-border-3)}.border-bottom{border-bottom:1px solid var(--calcite-color-border-3)}.border-sides{border-left:1px solid var(--calcite-color-border-3);border-right:1px solid var(--calcite-color-border-3)}.position-relative{position:relative}.height-50{height:50%}.adjusted-height-50{height:calc(50% - 25px)}.adjusted-height-100{height:calc(100% - 50px)}.adjusted-height-100-50{height:calc(100% - 50px)}.display-none{display:none}.height-53{height:53px}.position-absolute-53{position:absolute;top:53px}.display-grid{display:grid}.height-50-px{height:50px}.padding-inline-start-75{padding-inline-start:0.75rem}.align-items-center{align-items:center}.esri-floor-filter__close-levels-button{width:40px !important;height:40px !important}.esri-floor-filter__level-button{width:40px !important;height:40px !important}.esri-floor-filter__browse-button{width:40px !important;height:40px !important}.position-absolute-50{position:absolute;top:50px;bottom:0px;left:0px;right:0px}.position-absolute-0{position:absolute;top:0px;bottom:0px;left:0px;right:0px}.visibility-hidden{visibility:hidden;height:0px}.position-fixed{position:fixed}";export{o as crowdsource_manager}
@@ -3,4 +3,4 @@
3
3
  * Licensed under the Apache License, Version 2.0
4
4
  * http://www.apache.org/licenses/LICENSE-2.0
5
5
  */
6
- import{r as t,c as i,a as s,h as e,H as a,g as l}from"./p-78780f63.js";import{a as o,b as n,c}from"./p-4af32c75.js";import{l as h}from"./p-48ff9cea.js";import{g as d,h as r}from"./p-531d91d6.js";import{s as p}from"./p-8684a905.js";import{g}from"./p-6b943f52.js";import{c as b,r as m}from"./p-1bdd64a0.js";import"./p-d918ec36.js";import"./p-e1a4994d.js";import"./p-225c4ca4.js";import"./p-d89fff3a.js";import"./p-a230b270.js";import"./p-220ec0d1.js";const u=class{constructor(s){t(this,s),this.searchConfigurationChange=i(this,"searchConfigurationChange",7),this._onboardingImageUrl="",this._titleValue=void 0,this._numSelected=0,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.featureEffect=void 0,this.featureHighlightEnabled=void 0,this.mapView=void 0,this.noResultText=void 0,this.searchConfiguration=void 0,this.selectionLayerIds=[],this.showRefineSelection=!1,this.showSearchSettings=!0,this.sketchLineSymbol=void 0,this.sketchPointSymbol=void 0,this.sketchPolygonSymbol=void 0,this._addMap=!1,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}async mapViewWatchHandler(t){(null==t?void 0:t.popup)&&(this._popupsEnabled=null==t?void 0:t.popup.autoOpenEnabled)}async watchSearchConfigurationHandler(t,i){const s=JSON.stringify(t);s!==JSON.stringify(i)&&(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){var s;if(this._checkPopups(),(null===(s=this.mapView)||void 0===s?void 0:s.popup)&&(this.mapView.popupEnabled=t===n.LIST&&this._popupsEnabled),t===n.EXPORT&&(this._fetchingData=!0,this._numDuplicates=await this._getNumDuplicates(),this._fetchingData=!1),this._clearHighlight(),i!==n.SELECT&&i!==n.REFINE||await this._clearSelection(),t!==n.SELECT)return this._highlightFeatures()}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=s("../assets/data/images/onboarding.png")}render(){return e(a,null,e("calcite-shell",null,e("calcite-action-bar",{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)))}disconnectedCallback(){this._mediaQuery.removeEventListener("change",(t=>this._setIsMobile(t)))}async _initModules(){const[t,i]=await h(["esri/geometry/geometryEngine","esri/symbols/support/jsonUtils"]);this._geometryEngine=t,this._jsonUtils=i}_initSymbols(){this._setLineSymbol(this.sketchLineSymbol),this._setPointSymbol(this.sketchPointSymbol),this._setPolygonSymbol(this.sketchPolygonSymbol)}_setLineSymbol(t){this.sketchLineSymbol="simple-line"===(null==t?void 0:t.type)?t:this._jsonUtils.fromJSON(t||{type:"esriSLS",color:[130,130,130,255],width:2,style:"esriSLSSolid"})}_setPointSymbol(t){this.sketchPointSymbol="simple-marker"===(null==t?void 0: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"===(null==t?void 0: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 e("calcite-action-group",{class:this.showRefineSelection?"w-1-3":"w-1-2",layout:"horizontal"},e("div",{class:"background-override"},e("calcite-action",{active:this._pageType===i,alignment:"center",class:"width-full height-full",compact:!1,icon:t,id:t,onClick:()=>{this._setPageType(i)},text:""})),e("calcite-tooltip",{label:"",placement:"bottom","reference-element":t},e("span",null,s)))}_setPageType(t){this._pageType=t}_getPage(t){let i;switch(t){case n.LIST:i=this._getListPage();break;case n.SELECT:i=this._getSelectPage();break;case n.EXPORT:i=this._getExportPage();break;case n.REFINE:i=this._getRefinePage()}return i}_getListPage(){const t=this._hasSelections();return e("calcite-panel",null,this._getLabel(this._translations.myLists),this._getNotice(t?this._translations.listHasSetsTip:this._translations.selectLayerAndAdd,"padding-sides-1 padding-bottom-1","word-wrap-anywhere"),t?this._getSelectionSetList():this._getOnboardingImage(),e("div",{class:"display-flex padding-1"},e("calcite-button",{onClick:()=>{this._setPageType(n.SELECT)},width:"full"},e("span",{class:"font-weight-500"},this._translations.add))))}_getOnboardingImage(){return e("div",{class:"display-flex padding-sides-1"},e("img",{class:"img-container",src:this._onboardingImageUrl}))}_getSelectionSetList(){return e("div",{class:"padding-top-1-2 padding-bottom-1-2"},e("calcite-list",{class:"list-border margin-sides-1"},this._selectionSets.reduce(((t,i,s)=>{var a;const l=this._getSelectionSetIds(i);let o=!0;return i.workflowType===c.REFINE&&(o=Object.keys(i.refineInfos).reduce(((t,s)=>{const e=i.refineInfos[s];return t+(e.addIds.length+e.removeIds.length)}),0)>0),o&&t.push(e("calcite-list-item",{label:i.label,onClick:()=>this._gotoSelection(i,this.mapView)},e("div",{slot:"content"},e("div",{class:"list-label"},i.label),e("div",{class:"list-description"},null===(a=null==i?void 0:i.layerView)||void 0===a?void 0:a.layer.title),e("div",{class:"list-description"},this._translations.selectedFeatures.replace("{{n}}",l.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!==c.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===c.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!==c.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 e("calcite-panel",null,this._getLabel(this._translations.stepTwoFull,!0),this._getNotice(t,"padding-1","word-wrap-anywhere"),e("div",null,e("map-select-tools",{bufferColor:this.bufferColor,bufferOutlineColor:this.bufferOutlineColor,class:"font-bold",customLabelEnabled:this.customLabelEnabled,defaultBufferDistance:this.defaultBufferDistance,defaultBufferUnit:this.defaultBufferUnit,enabledLayerIds:this.addresseeLayerIds,isUpdate:!!this._activeSelection,mapView:this.mapView,noResultText:this.noResultText,onSelectionSetChange:t=>this._updateForSelection(t),ref:t=>{this._selectTools=t},searchConfiguration:this._searchConfiguration,selectionLayerIds:this.selectionLayerIds,selectionSet:this._activeSelection,sketchLineSymbol:this.sketchLineSymbol,sketchPointSymbol:this.sketchPointSymbol,sketchPolygonSymbol:this.sketchPolygonSymbol})),this._getPageNavButtons(this._translations.done,0===this._numSelected,(()=>{this._saveSelection()}),this._translations.cancel,!1,(()=>{this._home()})))}_getExportPage(){const t=this._hasSelections(this.showRefineSelection),i=this._numDuplicates>0?"display-block":"display-none";return e("calcite-panel",null,e("div",null,this._getLabel(this._translations.export,!1),t?e("div",null,this._getNotice(this._translations.exportTip,"padding-sides-1"),this._getLabel(this._translations.exportListsLabel),this._getExportSelectionLists(),e("div",{class:"padding-sides-1 "+i},e("div",{class:"display-flex"},e("calcite-label",{layout:"inline"},e("calcite-checkbox",{ref:t=>{this._removeDuplicates=t}}),e("div",{class:"display-flex"},this._translations.removeDuplicate,e("div",{class:"info-message padding-start-1-2"},e("calcite-input-message",{class:"info-blue margin-top-0",scale:"m"},` ${this._translations.numDuplicates.replace("{{n}}",this._numDuplicates.toString())}`)))),e("calcite-icon",{class:"padding-start-1-2 icon",icon:"question",id:"remove-duplicates-icon",scale:"s"})),e("calcite-popover",{closable:!0,label:"",referenceElement:"remove-duplicates-icon"},e("span",{class:"tooltip-message"},this._translations.duplicatesTip))),e("div",{class:"border-bottom"}),e("div",{class:"padding-top-sides-1"},e("calcite-segmented-control",{class:"w-100",onCalciteSegmentedControlChange:t=>this._exportTypeChange(t)},e("calcite-segmented-control-item",{checked:this._exportType===o.PDF,class:"w-50 end-border",value:o.PDF},e("span",{class:"font-weight-500"},this._translations.pdf)),e("calcite-segmented-control-item",{checked:this._exportType===o.CSV,class:"w-50",value:o.CSV},e("span",{class:"font-weight-500"},this._translations.csv)))),e("div",{class:"padding-bottom-1"},this._getExportOptions()),e("div",{class:"padding-1 display-flex"},e("calcite-button",{disabled:!this._downloadActive||this._fetchingData,loading:this._fetchingData,onClick:()=>{this._export()},width:"full"},e("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._titleValue?this._titleValue:this.defaultExportTitle?this.defaultExportTitle:"";return e("div",{class:this._exportType===o.PDF?"display-block":"display-none"},this._getLabel(this._translations.pdfOptions,!0),e("div",{class:"padding-top-sides-1"},e("calcite-label",{class:"label-margin-0"},this._translations.selectPDFLabelOption)),e("div",{class:"padding-sides-1"},e("pdf-download",{defaultNumLabelsPerPage:parseInt(this.defaultNumLabelsPerPage.toString(),10),disabled:!this._downloadActive,ref:t=>{this._downloadTools=t}})),e("div",{class:"padding-top-sides-1"},e("calcite-label",{class:"label-margin-0",layout:"inline"},e("calcite-checkbox",{checked:this._addTitle,onCalciteCheckboxChange:()=>this._addTitle=!this._addTitle}),this._translations.addTitle)),e("div",{class:t},this._getLabel(this._translations.title,!0,""),e("calcite-input-text",{class:"padding-sides-1",onCalciteInputTextInput:()=>this._changeTitle(),placeholder:this._translations.titlePlaceholder,ref:t=>{this._titleElement=t},value:i})),e("div",{class:"padding-top-sides-1"},e("calcite-label",{class:"label-margin-0",layout:"inline"},e("calcite-checkbox",{checked:this._addMap,onCalciteCheckboxChange:()=>this._addMap=!this._addMap}),this._translations.includeMap)))}_getRefinePage(){const t=this._hasSelections();return e("calcite-panel",null,this._getLabel(this._translations.refineSelection),t?e("div",null,this._getNotice(this._translations.refineTip,"padding-sides-1"),e("refine-selection",{enabledLayerIds:this.selectionLayerIds,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,a,l,o){return e("div",{class:"padding-bottom-1"},e("div",{class:"display-flex padding-top-sides-1"},e("calcite-button",{disabled:i,onClick:s,width:"full"},e("span",{class:"font-weight-500"},t))),e("div",{class:"display-flex padding-top-1-2 padding-sides-1"},e("calcite-button",{appearance:"outline",disabled:l,onClick:o,width:"full"},e("span",{class:"font-weight-500"},a))))}_changeTitle(){this._titleValue=this._titleElement.value}_getNotice(t,i="padding-1",s=""){return e("calcite-notice",{class:i,icon:"lightbulb",kind:"success",open:!0},e("div",{class:s,slot:"message"},t))}_getLabel(t,i=!1,s="font-bold"){return e("div",{class:"padding-top-sides-1"},e("calcite-label",{class:s+=i?" label-margin-0":""},t))}_getExportSelectionLists(){return this._selectionSets.reduce(((t,i)=>{var s;const a=this._getSelectionSetIds(i),l=i.workflowType!==c.REFINE||a.length>0;return!this._downloadActive&&i.download&&l&&(this._downloadActive=!0),l&&t.push(e("div",{class:"display-flex padding-sides-1 padding-bottom-1"},e("calcite-checkbox",{checked:i.download,class:"align-center",onClick:()=>{this._toggleDownload(i.id)}}),e("calcite-list",{class:"list-border margin-start-1-2 width-full",id:"download-list"},e("calcite-list-item",{disabled:!i.download,label:i.label,onClick:()=>{this._toggleDownload(i.id)}},e("div",{slot:"content"},e("div",{class:"list-label"},i.label),e("div",{class:"list-description"},null===(s=null==i?void 0:i.layerView)||void 0===s?void 0:s.layer.title),e("div",{class:"list-description"},this._translations.selectedFeatures.replace("{{n}}",a.length.toString()))))))),t}),[])||e("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._downloadActive=i,this._fetchingData=!0,this._numDuplicates=await this._getNumDuplicates(),this._fetchingData=!1,await this._highlightFeatures()}async _export(){const t=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=null==t?void 0: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)=>{var s;if(i.workflowType===c.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 e=null===(s=null==i?void 0:i.layerView)||void 0===s?void 0:s.layer.id;t=this._updateExportInfos(t,e,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,a,l=!1,o=""){return e("calcite-action",{disabled:!t,icon:i,indicator:l,onClick:a,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(){var t,i;const s=await(null===(t=this._selectTools)||void 0===t?void 0:t.getSelection()),e=null===(i=this._selectTools)||void 0===i?void 0:i.isUpdate;return this._selectionSets=e?this._selectionSets.map((t=>t.id===s.id?s:t)):[...this._selectionSets,s],this._home()}async _clearSelection(){var t;await(null===(t=this._selectTools)||void 0===t?void 0:t.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===c.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]];p.highlightHandles.push(await r(e.ids,e.layerView,this.mapView))}}_checkPopups(){var t;"boolean"!=typeof this._popupsEnabled&&(this._popupsEnabled=null===(t=this.mapView)||void 0===t?void 0:t.popupEnabled)}_clearHighlight(){p&&p.highlightHandles&&p.removeHandles()}async _getTranslations(){const t=await g(this.el);this._translations=t[0]}get el(){return l(this)}static get watchers(){return{mapView:["mapViewWatchHandler"],searchConfiguration:["watchSearchConfigurationHandler"],sketchLineSymbol:["sketchLineSymbolWatchHandler"],sketchPointSymbol:["sketchPointSymbolWatchHandler"],sketchPolygonSymbol:["sketchPolygonSymbolWatchHandler"],_pageType:["pageTypeWatchHandler"]}}};u.style=':host{display:block;--calcite-input-message-spacing-value:0}.align-center{align-items:center}.border-bottom-1{border-width:0px;border-bottom-width:1px;border-style:solid;border-color:var(--calcite-color-border-3)}.action-bar-size{height:3.5rem;width:100%}.w-1-2{width:50%}.w-1-3{width:33.33%}.width-full{width:100%}.height-full{height:100%}.padding-1{padding:1rem}.padding-top-sides-1{padding-block-start:1rem;padding-inline-start:1rem;padding-inline-end:1rem}.padding-sides-1{padding-inline-start:1rem;padding-inline-end:1rem}.padding-end-1-2{padding-inline-end:.5rem}.padding-top-1-2{padding-block-start:.5rem}.padding-top-1{padding-top:1rem}.padding-bottom-1{padding-bottom:1rem}.padding-bottom-1-2{padding-bottom:.5rem}.info-blue{color:#00A0FF}.info-message{justify-content:center;display:grid}.font-bold{font-weight:bold}.display-flex{display:flex}.display-block{display:block}.display-none{display:none}.border-bottom{border-bottom:1px solid var(--calcite-color-border-2)}.padding-start-1-2{padding-inline-start:0.5rem}.list-border{border:1px solid var(--calcite-color-border-2)}.margin-sides-1{margin-inline-start:1rem;margin-inline-end:1rem}.margin-start-1-2{margin-inline-start:0.5rem}.float-right{float:right}.float-right[dir="rtl"]{float:left}.float-left{float:left}.float-left[dir="rtl"]{float:right}.margin-top-0{margin-block-start:0 !important}.height-1-1-2{height:1.5rem}.main-background{background-color:var(--calcite-color-foreground-2)}.position-right{position:absolute;right:1rem}.position-right[dir="rtl"]{position:absolute;left:1rem}.label-margin-0{--calcite-label-margin-bottom:0}.list-label{color:var(--calcite-color-text-1)}.list-label,.list-description{font-family:var(--calcite-sans-family);font-size:var(--calcite-font-size--2);font-weight:var(--calcite-font-weight-normal);overflow-wrap:break-word;word-break:break-word}.list-description{margin-block-start:0.125rem;color:var(--calcite-color-text-3)}.img-container{width:100%;height:100%}.font-weight-500{font-weight:500}.background-override{height:100%;width:100%;--calcite-color-foreground-3:var(--calcite-color-brand);--calcite-color-foreground-2:var(--calcite-color-brand-hover);--calcite-color-text-1:var(--calcite-color-text-inverse)}.word-wrap-anywhere{word-wrap:anywhere}';export{u as public_notification}
6
+ import{r as t,c as i,a as s,h as e,H as a,g as l}from"./p-78780f63.js";import{a as o,b as n,c}from"./p-4af32c75.js";import{l as h}from"./p-48ff9cea.js";import{g as d,h as r}from"./p-b5d1b979.js";import{s as p}from"./p-8684a905.js";import{g}from"./p-6b943f52.js";import{c as b,r as m}from"./p-d4afcf86.js";import"./p-d918ec36.js";import"./p-e1a4994d.js";import"./p-225c4ca4.js";import"./p-d89fff3a.js";import"./p-a230b270.js";import"./p-220ec0d1.js";const u=class{constructor(s){t(this,s),this.searchConfigurationChange=i(this,"searchConfigurationChange",7),this._onboardingImageUrl="",this._titleValue=void 0,this._numSelected=0,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.featureEffect=void 0,this.featureHighlightEnabled=void 0,this.mapView=void 0,this.noResultText=void 0,this.searchConfiguration=void 0,this.selectionLayerIds=[],this.showRefineSelection=!1,this.showSearchSettings=!0,this.sketchLineSymbol=void 0,this.sketchPointSymbol=void 0,this.sketchPolygonSymbol=void 0,this._addMap=!1,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}async mapViewWatchHandler(t){(null==t?void 0:t.popup)&&(this._popupsEnabled=null==t?void 0:t.popup.autoOpenEnabled)}async watchSearchConfigurationHandler(t,i){const s=JSON.stringify(t);s!==JSON.stringify(i)&&(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){var s;if(this._checkPopups(),(null===(s=this.mapView)||void 0===s?void 0:s.popup)&&(this.mapView.popupEnabled=t===n.LIST&&this._popupsEnabled),t===n.EXPORT&&(this._fetchingData=!0,this._numDuplicates=await this._getNumDuplicates(),this._fetchingData=!1),this._clearHighlight(),i!==n.SELECT&&i!==n.REFINE||await this._clearSelection(),t!==n.SELECT)return this._highlightFeatures()}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=s("../assets/data/images/onboarding.png")}render(){return e(a,null,e("calcite-shell",null,e("calcite-action-bar",{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)))}disconnectedCallback(){this._mediaQuery.removeEventListener("change",(t=>this._setIsMobile(t)))}async _initModules(){const[t,i]=await h(["esri/geometry/geometryEngine","esri/symbols/support/jsonUtils"]);this._geometryEngine=t,this._jsonUtils=i}_initSymbols(){this._setLineSymbol(this.sketchLineSymbol),this._setPointSymbol(this.sketchPointSymbol),this._setPolygonSymbol(this.sketchPolygonSymbol)}_setLineSymbol(t){this.sketchLineSymbol="simple-line"===(null==t?void 0:t.type)?t:this._jsonUtils.fromJSON(t||{type:"esriSLS",color:[130,130,130,255],width:2,style:"esriSLSSolid"})}_setPointSymbol(t){this.sketchPointSymbol="simple-marker"===(null==t?void 0: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"===(null==t?void 0: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 e("calcite-action-group",{class:this.showRefineSelection?"w-1-3":"w-1-2",layout:"horizontal"},e("div",{class:"background-override"},e("calcite-action",{active:this._pageType===i,alignment:"center",class:"width-full height-full",compact:!1,icon:t,id:t,onClick:()=>{this._setPageType(i)},text:""})),e("calcite-tooltip",{label:"",placement:"bottom","reference-element":t},e("span",null,s)))}_setPageType(t){this._pageType=t}_getPage(t){let i;switch(t){case n.LIST:i=this._getListPage();break;case n.SELECT:i=this._getSelectPage();break;case n.EXPORT:i=this._getExportPage();break;case n.REFINE:i=this._getRefinePage()}return i}_getListPage(){const t=this._hasSelections();return e("calcite-panel",null,this._getLabel(this._translations.myLists),this._getNotice(t?this._translations.listHasSetsTip:this._translations.selectLayerAndAdd,"padding-sides-1 padding-bottom-1","word-wrap-anywhere"),t?this._getSelectionSetList():this._getOnboardingImage(),e("div",{class:"display-flex padding-1"},e("calcite-button",{onClick:()=>{this._setPageType(n.SELECT)},width:"full"},e("span",{class:"font-weight-500"},this._translations.add))))}_getOnboardingImage(){return e("div",{class:"display-flex padding-sides-1"},e("img",{class:"img-container",src:this._onboardingImageUrl}))}_getSelectionSetList(){return e("div",{class:"padding-top-1-2 padding-bottom-1-2"},e("calcite-list",{class:"list-border margin-sides-1"},this._selectionSets.reduce(((t,i,s)=>{var a;const l=this._getSelectionSetIds(i);let o=!0;return i.workflowType===c.REFINE&&(o=Object.keys(i.refineInfos).reduce(((t,s)=>{const e=i.refineInfos[s];return t+(e.addIds.length+e.removeIds.length)}),0)>0),o&&t.push(e("calcite-list-item",{label:i.label,onClick:()=>this._gotoSelection(i,this.mapView)},e("div",{slot:"content"},e("div",{class:"list-label"},i.label),e("div",{class:"list-description"},null===(a=null==i?void 0:i.layerView)||void 0===a?void 0:a.layer.title),e("div",{class:"list-description"},this._translations.selectedFeatures.replace("{{n}}",l.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!==c.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===c.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!==c.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 e("calcite-panel",null,this._getLabel(this._translations.stepTwoFull,!0),this._getNotice(t,"padding-1","word-wrap-anywhere"),e("div",null,e("map-select-tools",{bufferColor:this.bufferColor,bufferOutlineColor:this.bufferOutlineColor,class:"font-bold",customLabelEnabled:this.customLabelEnabled,defaultBufferDistance:this.defaultBufferDistance,defaultBufferUnit:this.defaultBufferUnit,enabledLayerIds:this.addresseeLayerIds,isUpdate:!!this._activeSelection,mapView:this.mapView,noResultText:this.noResultText,onSelectionSetChange:t=>this._updateForSelection(t),ref:t=>{this._selectTools=t},searchConfiguration:this._searchConfiguration,selectionLayerIds:this.selectionLayerIds,selectionSet:this._activeSelection,sketchLineSymbol:this.sketchLineSymbol,sketchPointSymbol:this.sketchPointSymbol,sketchPolygonSymbol:this.sketchPolygonSymbol})),this._getPageNavButtons(this._translations.done,0===this._numSelected,(()=>{this._saveSelection()}),this._translations.cancel,!1,(()=>{this._home()})))}_getExportPage(){const t=this._hasSelections(this.showRefineSelection),i=this._numDuplicates>0?"display-block":"display-none";return e("calcite-panel",null,e("div",null,this._getLabel(this._translations.export,!1),t?e("div",null,this._getNotice(this._translations.exportTip,"padding-sides-1"),this._getLabel(this._translations.exportListsLabel),this._getExportSelectionLists(),e("div",{class:"padding-sides-1 "+i},e("div",{class:"display-flex"},e("calcite-label",{layout:"inline"},e("calcite-checkbox",{ref:t=>{this._removeDuplicates=t}}),e("div",{class:"display-flex"},this._translations.removeDuplicate,e("div",{class:"info-message padding-start-1-2"},e("calcite-input-message",{class:"info-blue margin-top-0",scale:"m"},` ${this._translations.numDuplicates.replace("{{n}}",this._numDuplicates.toString())}`)))),e("calcite-icon",{class:"padding-start-1-2 icon",icon:"question",id:"remove-duplicates-icon",scale:"s"})),e("calcite-popover",{closable:!0,label:"",referenceElement:"remove-duplicates-icon"},e("span",{class:"tooltip-message"},this._translations.duplicatesTip))),e("div",{class:"border-bottom"}),e("div",{class:"padding-top-sides-1"},e("calcite-segmented-control",{class:"w-100",onCalciteSegmentedControlChange:t=>this._exportTypeChange(t)},e("calcite-segmented-control-item",{checked:this._exportType===o.PDF,class:"w-50 end-border",value:o.PDF},e("span",{class:"font-weight-500"},this._translations.pdf)),e("calcite-segmented-control-item",{checked:this._exportType===o.CSV,class:"w-50",value:o.CSV},e("span",{class:"font-weight-500"},this._translations.csv)))),e("div",{class:"padding-bottom-1"},this._getExportOptions()),e("div",{class:"padding-1 display-flex"},e("calcite-button",{disabled:!this._downloadActive||this._fetchingData,loading:this._fetchingData,onClick:()=>{this._export()},width:"full"},e("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._titleValue?this._titleValue:this.defaultExportTitle?this.defaultExportTitle:"";return e("div",{class:this._exportType===o.PDF?"display-block":"display-none"},this._getLabel(this._translations.pdfOptions,!0),e("div",{class:"padding-top-sides-1"},e("calcite-label",{class:"label-margin-0"},this._translations.selectPDFLabelOption)),e("div",{class:"padding-sides-1"},e("pdf-download",{defaultNumLabelsPerPage:parseInt(this.defaultNumLabelsPerPage.toString(),10),disabled:!this._downloadActive,ref:t=>{this._downloadTools=t}})),e("div",{class:"padding-top-sides-1"},e("calcite-label",{class:"label-margin-0",layout:"inline"},e("calcite-checkbox",{checked:this._addTitle,onCalciteCheckboxChange:()=>this._addTitle=!this._addTitle}),this._translations.addTitle)),e("div",{class:t},this._getLabel(this._translations.title,!0,""),e("calcite-input-text",{class:"padding-sides-1",onCalciteInputTextInput:()=>this._changeTitle(),placeholder:this._translations.titlePlaceholder,ref:t=>{this._titleElement=t},value:i})),e("div",{class:"padding-top-sides-1"},e("calcite-label",{class:"label-margin-0",layout:"inline"},e("calcite-checkbox",{checked:this._addMap,onCalciteCheckboxChange:()=>this._addMap=!this._addMap}),this._translations.includeMap)))}_getRefinePage(){const t=this._hasSelections();return e("calcite-panel",null,this._getLabel(this._translations.refineSelection),t?e("div",null,this._getNotice(this._translations.refineTip,"padding-sides-1"),e("refine-selection",{enabledLayerIds:this.selectionLayerIds,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,a,l,o){return e("div",{class:"padding-bottom-1"},e("div",{class:"display-flex padding-top-sides-1"},e("calcite-button",{disabled:i,onClick:s,width:"full"},e("span",{class:"font-weight-500"},t))),e("div",{class:"display-flex padding-top-1-2 padding-sides-1"},e("calcite-button",{appearance:"outline",disabled:l,onClick:o,width:"full"},e("span",{class:"font-weight-500"},a))))}_changeTitle(){this._titleValue=this._titleElement.value}_getNotice(t,i="padding-1",s=""){return e("calcite-notice",{class:i,icon:"lightbulb",kind:"success",open:!0},e("div",{class:s,slot:"message"},t))}_getLabel(t,i=!1,s="font-bold"){return e("div",{class:"padding-top-sides-1"},e("calcite-label",{class:s+=i?" label-margin-0":""},t))}_getExportSelectionLists(){return this._selectionSets.reduce(((t,i)=>{var s;const a=this._getSelectionSetIds(i),l=i.workflowType!==c.REFINE||a.length>0;return!this._downloadActive&&i.download&&l&&(this._downloadActive=!0),l&&t.push(e("div",{class:"display-flex padding-sides-1 padding-bottom-1"},e("calcite-checkbox",{checked:i.download,class:"align-center",onClick:()=>{this._toggleDownload(i.id)}}),e("calcite-list",{class:"list-border margin-start-1-2 width-full",id:"download-list"},e("calcite-list-item",{disabled:!i.download,label:i.label,onClick:()=>{this._toggleDownload(i.id)}},e("div",{slot:"content"},e("div",{class:"list-label"},i.label),e("div",{class:"list-description"},null===(s=null==i?void 0:i.layerView)||void 0===s?void 0:s.layer.title),e("div",{class:"list-description"},this._translations.selectedFeatures.replace("{{n}}",a.length.toString()))))))),t}),[])||e("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._downloadActive=i,this._fetchingData=!0,this._numDuplicates=await this._getNumDuplicates(),this._fetchingData=!1,await this._highlightFeatures()}async _export(){const t=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=null==t?void 0: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)=>{var s;if(i.workflowType===c.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 e=null===(s=null==i?void 0:i.layerView)||void 0===s?void 0:s.layer.id;t=this._updateExportInfos(t,e,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,a,l=!1,o=""){return e("calcite-action",{disabled:!t,icon:i,indicator:l,onClick:a,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(){var t,i;const s=await(null===(t=this._selectTools)||void 0===t?void 0:t.getSelection()),e=null===(i=this._selectTools)||void 0===i?void 0:i.isUpdate;return this._selectionSets=e?this._selectionSets.map((t=>t.id===s.id?s:t)):[...this._selectionSets,s],this._home()}async _clearSelection(){var t;await(null===(t=this._selectTools)||void 0===t?void 0:t.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===c.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]];p.highlightHandles.push(await r(e.ids,e.layerView,this.mapView))}}_checkPopups(){var t;"boolean"!=typeof this._popupsEnabled&&(this._popupsEnabled=null===(t=this.mapView)||void 0===t?void 0:t.popupEnabled)}_clearHighlight(){p&&p.highlightHandles&&p.removeHandles()}async _getTranslations(){const t=await g(this.el);this._translations=t[0]}get el(){return l(this)}static get watchers(){return{mapView:["mapViewWatchHandler"],searchConfiguration:["watchSearchConfigurationHandler"],sketchLineSymbol:["sketchLineSymbolWatchHandler"],sketchPointSymbol:["sketchPointSymbolWatchHandler"],sketchPolygonSymbol:["sketchPolygonSymbolWatchHandler"],_pageType:["pageTypeWatchHandler"]}}};u.style=':host{display:block;--calcite-input-message-spacing-value:0}.align-center{align-items:center}.border-bottom-1{border-width:0px;border-bottom-width:1px;border-style:solid;border-color:var(--calcite-color-border-3)}.action-bar-size{height:3.5rem;width:100%}.w-1-2{width:50%}.w-1-3{width:33.33%}.width-full{width:100%}.height-full{height:100%}.padding-1{padding:1rem}.padding-top-sides-1{padding-block-start:1rem;padding-inline-start:1rem;padding-inline-end:1rem}.padding-sides-1{padding-inline-start:1rem;padding-inline-end:1rem}.padding-end-1-2{padding-inline-end:.5rem}.padding-top-1-2{padding-block-start:.5rem}.padding-top-1{padding-top:1rem}.padding-bottom-1{padding-bottom:1rem}.padding-bottom-1-2{padding-bottom:.5rem}.info-blue{color:#00A0FF}.info-message{justify-content:center;display:grid}.font-bold{font-weight:bold}.display-flex{display:flex}.display-block{display:block}.display-none{display:none}.border-bottom{border-bottom:1px solid var(--calcite-color-border-2)}.padding-start-1-2{padding-inline-start:0.5rem}.list-border{border:1px solid var(--calcite-color-border-2)}.margin-sides-1{margin-inline-start:1rem;margin-inline-end:1rem}.margin-start-1-2{margin-inline-start:0.5rem}.float-right{float:right}.float-right[dir="rtl"]{float:left}.float-left{float:left}.float-left[dir="rtl"]{float:right}.margin-top-0{margin-block-start:0 !important}.height-1-1-2{height:1.5rem}.main-background{background-color:var(--calcite-color-foreground-2)}.position-right{position:absolute;right:1rem}.position-right[dir="rtl"]{position:absolute;left:1rem}.label-margin-0{--calcite-label-margin-bottom:0}.list-label{color:var(--calcite-color-text-1)}.list-label,.list-description{font-family:var(--calcite-sans-family);font-size:var(--calcite-font-size--2);font-weight:var(--calcite-font-weight-normal);overflow-wrap:break-word;word-break:break-word}.list-description{margin-block-start:0.125rem;color:var(--calcite-color-text-3)}.img-container{width:100%;height:100%}.font-weight-500{font-weight:500}.background-override{height:100%;width:100%;--calcite-color-foreground-3:var(--calcite-color-brand);--calcite-color-foreground-2:var(--calcite-color-brand-hover);--calcite-color-text-1:var(--calcite-color-text-inverse)}.word-wrap-anywhere{word-wrap:anywhere}';export{u as public_notification}
@@ -3,4 +3,4 @@
3
3
  * Licensed under the Apache License, Version 2.0
4
4
  * http://www.apache.org/licenses/LICENSE-2.0
5
5
  */
6
- import{r as t,c as i,h as e,H as s,g as a}from"./p-78780f63.js";import{s as l}from"./p-36eb8399.js";import{g as c}from"./p-6b943f52.js";import{n}from"./p-9bcbc1cc.js";import"./p-225c4ca4.js";import"./p-4af32c75.js";import"./p-d89fff3a.js";import"./p-e1a4994d.js";import"./p-a230b270.js";import"./p-220ec0d1.js";import"./p-d918ec36.js";const r=class{constructor(e){t(this,e),this.solutionItemSelected=i(this,"solutionItemSelected",7),this.selectedItemId=void 0,this.templateHierarchy=[]}valueWatchHandler(t,i){t&&t!==i&&Array.isArray(t)&&t.length>0&&this._treeItemSelected(t[0].id)}componentWillLoad(){this.valueWatchHandler(this.templateHierarchy,[])}render(){return e(s,null,e("calcite-tree",null,this.renderHierarchy(this.templateHierarchy)))}renderHierarchy(t){return t.map((t=>{const i=this.selectedItemId&&this.selectedItemId===t.id;return t.dependencies&&t.dependencies.length>0?e("calcite-tree-item",{onClick:i=>this._treeItemSelected(t.id,i),selected:i},e("solution-item-icon",{type:t.type,typeKeywords:t.typeKeywords}),e("span",{class:"icon-text",title:t.title},t.title),e("calcite-tree",{slot:"children"},this.renderHierarchy(t.dependencies))):e("calcite-tree-item",{onClick:i=>this._treeItemSelected(t.id,i),selected:i},e("solution-item-icon",{type:t.type,typeKeywords:t.typeKeywords}),e("span",{class:"icon-text",title:t.title},t.title))}))}_treeItemSelected(t,i){var e;const s=null===(e=null==i?void 0:i.target)||void 0===e?void 0:e.closest("calcite-tree-item");s&&(s.expanded=!(null==s?void 0:s.expanded)),this.selectedItemId=t,this.solutionItemSelected.emit(t)}static get assetsDirs(){return["item-type-icons"]}get el(){return a(this)}static get watchers(){return{templateHierarchy:["valueWatchHandler"]}}};r.style=".icon-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}";const o=class{constructor(i){t(this,i),this.authentication=void 0,this.itemId="",this.solutionVariables="",this.organizationVariables="",this.itemType=void 0,this._translations=void 0}itemIdWatchHandler(){const t=l.getItemInfo(this.itemId);this.itemType=t.type}async componentWillLoad(){return this._getTranslations()}render(){return e(s,null,e("div",{class:"configuration-container"},e("div",{class:"configuration"},this._showGroupTabs("Group"===this.itemType),this._showItemTabs("Group"!==this.itemType))))}_showGroupTabs(t){return e("calcite-tabs",{class:"config-tabs",style:{display:t?"inherit":"none"}},e("calcite-tab-nav",{slot:"tab-nav"},e("calcite-tab-title",null,this._translations.groupDetailsTab),e("calcite-tab-title",null,this._translations.sharingTab)),e("calcite-tab",{class:"config-tab",id:"group-tab",selected:!0},e("solution-item-details",{"item-id":this.itemId})),e("calcite-tab",{class:"config-tab",id:"share-tab"},e("solution-item-sharing",{"group-id":this.itemId})))}_showItemTabs(t){return e("calcite-tabs",{class:"config-tabs",style:{display:t?"inherit":"none"}},e("calcite-tab-nav",{slot:"tab-nav"},e("calcite-tab-title",null,this._translations.itemDetailsTab),e("calcite-tab-title",null,this._translations.dataTab),e("calcite-tab-title",null,this._translations.propertiesTab),e("calcite-tab-title",null,this._translations.resourcesTab)),e("calcite-tab",{class:"config-tab",selected:!0},e("solution-item-details",{"item-id":this.itemId})),e("calcite-tab",{class:"config-tab",id:"data-tab"},e("solution-template-data",{instanceid:"data","item-id":this.itemId,"organization-variables":this.organizationVariables,"solution-variables":this.solutionVariables})),e("calcite-tab",{class:"config-tab",id:"props-tab"},e("solution-template-data",{instanceid:"properties","item-id":this.itemId,"organization-variables":this.organizationVariables,"solution-variables":this.solutionVariables})),e("calcite-tab",{class:"config-tab",id:"resources-tab"},e("solution-resource-item",{authentication:this.authentication,class:"solutions-resource-container","item-id":this.itemId})))}async _getTranslations(){const t=await c(this.el);this._translations=t[0]}get el(){return a(this)}static get watchers(){return{itemId:["itemIdWatchHandler"]}}};o.style=".configuration-container{position:relative;height:100%;width:100%}.configuration{position:absolute;top:0px;right:0px;bottom:0px;left:0px;display:flex;padding:0.5rem;border:1px #808080 solid}.config-tabs{width:100%}.config-tab{width:100%;overflow-y:auto;height:inherit}";const h=class{constructor(e){t(this,e),this.featureServiceSpatialReferenceChange=i(this,"featureServiceSpatialReferenceChange",7),this.defaultWkid=102100,this.loaded=!1,this.locked=!0,this.services=[],this.value=this.defaultWkid.toString(),this._srSearchText=void 0,this._translations=void 0}componentWillLoad(){return this._getTranslations()}render(){return e(s,null,e("div",{class:"spatial-ref"},e("div",{class:"spatial-ref-desc"},e("calcite-label",null,this._translations.paramDescription)),e("label",{class:"switch-label"},e("calcite-switch",{checked:!this.locked,class:"spatial-ref-switch",onCalciteSwitchChange:t=>this._updateLocked(t),scale:"m"}),this._translations.specifyParam),e("div",{class:"spatial-ref-component",id:"spatialRefDefn"},e("calcite-label",null,this._translations.spatialReferenceInfo,e("label",{class:"spatial-ref-default"},e("spatial-ref",{defaultWkid:this.defaultWkid,disabled:this.locked,value:this.value}))),this._getFeatureServices(this.services))))}spatialReferenceChange(t){this.value=t.detail.newValue}_updateLocked(t){this.locked=!t.detail.switched,this._updateStore(),this.loaded||(t.detail.switched&&this._setFeatureServiceDefaults(this.services),this.loaded=!0)}_setFeatureServiceDefaults(t){n(this.el.getElementsByClassName("spatial-ref-item-switch")).forEach((t=>t.checked=!0)),t.forEach((t=>this._updateEnabledServices({detail:{switched:!0}},t)))}_getFeatureServices(t){const i=l.getStoreInfo("spatialReferenceInfo"),s=t.filter((t=>Object.keys(i.services).some((i=>i===t))));return s&&s.length>0?e("div",null,e("label",{class:"spatial-ref-item-title"},this._translations.featureServicesHeading),s.map((t=>e("label",{class:"switch-label"},e("calcite-switch",{checked:i.services[t],class:"spatial-ref-item-switch",disabled:this.locked,onCalciteSwitchChange:i=>this._updateEnabledServices(i,t),scale:"m"}),t)))):null}_updateStore(){const t=l.getStoreInfo("spatialReferenceInfo");t.enabled=!this.locked,t.spatialReference=this.value,l.setStoreInfo("spatialReferenceInfo",t)}_updateEnabledServices(t,i){const e=l.getStoreInfo("spatialReferenceInfo");e.services[i]=t.detail.switched,l.setStoreInfo("spatialReferenceInfo",e),this.featureServiceSpatialReferenceChange.emit({name:i,enabled:t.detail.switched})}async _getTranslations(){const t=await c(this.el);this._translations=t[0]}get el(){return a(this)}};h.style=".spatial-ref-switch{margin-inline-end:0.5rem}.spatial-ref-component{margin-top:0.625rem;margin-inline-start:2.5rem}#spatialRefDefn .sc-calcite-label-h label.sc-calcite-label{margin:0px;background-color:#CBC3E3}.spatial-ref-default{margin:0px}.spatial-ref-item-title{margin-bottom:0.5rem;font-size:0.875rem;line-height:1.25rem}.spatial-ref-item-switch{margin-inline-end:0.5rem}.switch-label{margin:0.25rem;font-size:0.875rem;line-height:1.25rem}.disabled-div{pointer-events:none;opacity:0.4}.spatial-ref-desc{padding-bottom:0.5rem;padding-inline-start:0.25rem}";export{r as solution_contents,o as solution_item,h as solution_spatial_ref}
6
+ import{r as t,c as i,h as e,H as s,g as a}from"./p-78780f63.js";import{s as l}from"./p-36eb8399.js";import{g as c}from"./p-6b943f52.js";import{n}from"./p-9bcbc1cc.js";import"./p-225c4ca4.js";import"./p-4af32c75.js";import"./p-d89fff3a.js";import"./p-e1a4994d.js";import"./p-a230b270.js";import"./p-220ec0d1.js";import"./p-d918ec36.js";const r=class{constructor(e){t(this,e),this.solutionItemSelected=i(this,"solutionItemSelected",7),this.selectedItemId=void 0,this.templateHierarchy=[]}valueWatchHandler(t,i){t&&t!==i&&Array.isArray(t)&&t.length>0&&this._treeItemSelected(t[0].id)}componentWillLoad(){this.valueWatchHandler(this.templateHierarchy,[])}render(){return e(s,null,e("calcite-tree",null,this.renderHierarchy(this.templateHierarchy)))}renderHierarchy(t){return t.map((t=>{const i=this.selectedItemId&&this.selectedItemId===t.id;return t.dependencies&&t.dependencies.length>0?e("calcite-tree-item",{onClick:i=>this._treeItemSelected(t.id,i),selected:i},e("solution-item-icon",{type:t.type,typeKeywords:t.typeKeywords}),e("span",{class:"icon-text",title:t.title},t.title),e("calcite-tree",{slot:"children"},this.renderHierarchy(t.dependencies))):e("calcite-tree-item",{onClick:i=>this._treeItemSelected(t.id,i),selected:i},e("solution-item-icon",{type:t.type,typeKeywords:t.typeKeywords}),e("span",{class:"icon-text",title:t.title},t.title))}))}_treeItemSelected(t,i){var e;const s=null===(e=null==i?void 0:i.target)||void 0===e?void 0:e.closest("calcite-tree-item");s&&(s.expanded=!(null==s?void 0:s.expanded)),this.selectedItemId=t,this.solutionItemSelected.emit(t)}static get assetsDirs(){return["item-type-icons"]}get el(){return a(this)}static get watchers(){return{templateHierarchy:["valueWatchHandler"]}}};r.style=".icon-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}";const o=class{constructor(i){t(this,i),this.authentication=void 0,this.itemId="",this.solutionVariables="",this.organizationVariables="",this.itemType=void 0,this._translations=void 0}itemIdWatchHandler(){const t=l.getItemInfo(this.itemId);this.itemType=t.type}async componentWillLoad(){return this._getTranslations()}render(){return e(s,null,e("div",{class:"configuration-container"},e("div",{class:"configuration"},this._showGroupTabs("Group"===this.itemType),this._showItemTabs("Group"!==this.itemType))))}_showGroupTabs(t){return e("calcite-tabs",{class:"config-tabs",style:{display:t?"inherit":"none"}},e("calcite-tab-nav",{slot:"tab-nav"},e("calcite-tab-title",null,this._translations.groupDetailsTab),e("calcite-tab-title",null,this._translations.sharingTab)),e("calcite-tab",{class:"config-tab",id:"group-tab",selected:!0},e("solution-item-details",{"item-id":this.itemId})),e("calcite-tab",{class:"config-tab",id:"share-tab"},e("solution-item-sharing",{"group-id":this.itemId})))}_showItemTabs(t){return e("calcite-tabs",{class:"config-tabs",style:{display:t?"inherit":"none"}},e("calcite-tab-nav",{slot:"tab-nav"},e("calcite-tab-title",null,this._translations.itemDetailsTab),e("calcite-tab-title",null,this._translations.dataTab),e("calcite-tab-title",null,this._translations.propertiesTab),e("calcite-tab-title",null,this._translations.resourcesTab)),e("calcite-tab",{class:"config-tab",selected:!0},e("solution-item-details",{"item-id":this.itemId})),e("calcite-tab",{class:"config-tab",id:"data-tab"},e("solution-template-data",{instanceid:"data","item-id":this.itemId,"organization-variables":this.organizationVariables,"solution-variables":this.solutionVariables})),e("calcite-tab",{class:"config-tab",id:"props-tab"},e("solution-template-data",{instanceid:"properties","item-id":this.itemId,"organization-variables":this.organizationVariables,"solution-variables":this.solutionVariables})),e("calcite-tab",{class:"config-tab",id:"resources-tab"},e("solution-resource-item",{authentication:this.authentication,class:"solutions-resource-container","item-id":this.itemId})))}async _getTranslations(){const t=await c(this.el);this._translations=t[0]}get el(){return a(this)}static get watchers(){return{itemId:["itemIdWatchHandler"]}}};o.style=".configuration-container{position:relative;height:100%;width:100%}.configuration{position:absolute;top:0px;right:0px;bottom:0px;left:0px;display:flex;padding:0.5rem;border:1px #808080 solid}.config-tabs{width:100%}.config-tab{width:100%;overflow-y:auto;height:inherit}";const h=class{constructor(e){t(this,e),this.featureServiceSpatialReferenceChange=i(this,"featureServiceSpatialReferenceChange",7),this.defaultWkid=102100,this.loaded=!1,this.locked=!0,this.services=[],this.value=this.defaultWkid.toString(),this._srSearchText=void 0,this._translations=void 0}componentWillLoad(){return this._getTranslations()}render(){return e(s,null,e("div",{class:"spatial-ref"},e("div",{class:"spatial-ref-desc"},e("calcite-label",null,this._translations.paramDescription)),e("label",{class:"switch-label"},e("calcite-switch",{checked:!this.locked,class:"spatial-ref-switch",onCalciteSwitchChange:t=>this._updateLocked(t),scale:"m"}),this._translations.specifyParam),e("div",{class:"spatial-ref-component",id:"spatialRefDefn"},e("calcite-label",null,this._translations.spatialReferenceInfo,e("label",{class:"spatial-ref-default"},e("spatial-ref",{defaultWkid:this.defaultWkid,disabled:this.locked,value:this.value}))),this._getFeatureServices(this.services))))}spatialReferenceChange(t){this.value=t.detail.newValue}_updateLocked(t){this.locked=!t.target.checked,this._updateStore(),this.loaded||(t.target.checked&&this._setFeatureServiceDefaults(this.services),this.loaded=!0)}_setFeatureServiceDefaults(t){n(this.el.getElementsByClassName("spatial-ref-item-switch")).forEach((t=>t.checked=!0)),t.forEach((t=>this._updateEnabledServices({detail:{switched:!0}},t)))}_getFeatureServices(t){const i=l.getStoreInfo("spatialReferenceInfo"),s=t.filter((t=>Object.keys(i.services).some((i=>i===t))));return s&&s.length>0?e("div",null,e("label",{class:"spatial-ref-item-title"},this._translations.featureServicesHeading),s.map((t=>e("label",{class:"switch-label"},e("calcite-switch",{checked:i.services[t],class:"spatial-ref-item-switch",disabled:this.locked,onCalciteSwitchChange:i=>this._updateEnabledServices(i,t),scale:"m"}),t)))):null}_updateStore(){const t=l.getStoreInfo("spatialReferenceInfo");t.enabled=!this.locked,t.spatialReference=this.value,l.setStoreInfo("spatialReferenceInfo",t)}_updateEnabledServices(t,i){const e=l.getStoreInfo("spatialReferenceInfo");e.services[i]=t.target.checked,l.setStoreInfo("spatialReferenceInfo",e),this.featureServiceSpatialReferenceChange.emit({name:i,enabled:t.target.checked})}async _getTranslations(){const t=await c(this.el);this._translations=t[0]}get el(){return a(this)}};h.style=".spatial-ref-switch{margin-inline-end:0.5rem}.spatial-ref-component{margin-top:0.625rem;margin-inline-start:2.5rem}#spatialRefDefn .sc-calcite-label-h label.sc-calcite-label{margin:0px;background-color:#CBC3E3}.spatial-ref-default{margin:0px}.spatial-ref-item-title{margin-bottom:0.5rem;font-size:0.875rem;line-height:1.25rem}.spatial-ref-item-switch{margin-inline-end:0.5rem}.switch-label{margin:0.25rem;font-size:0.875rem;line-height:1.25rem}.disabled-div{pointer-events:none;opacity:0.4}.spatial-ref-desc{padding-bottom:0.5rem;padding-inline-start:0.25rem}";export{r as solution_contents,o as solution_item,h as solution_spatial_ref}
@@ -44,4 +44,4 @@ function yt(t,i,e){const{items:s,messages:o}=e,a=s.length,n=$(e,t)+1;return func
44
44
  * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
45
45
  * v2.0.0
46
46
  */
47
- const Ct="actions-end",Tt="actions-start",_t=class{constructor(i){t(this,i),this.calciteListItemChange=o(this,"calciteListItemChange",6),this.calciteListItemRemove=o(this,"calciteListItemRemove",7),this.calciteValueListItemDragHandleBlur=o(this,"calciteValueListItemDragHandleBlur",6),this.pickListItem=null,this.guid=`calcite-value-list-item-${I()}`,this.getPickListRef=t=>this.pickListItem=t,this.handleKeyDown=t=>{" "===t.key&&(this.handleActivated=!this.handleActivated)},this.handleBlur=()=>{this.handleActivated=!1,this.calciteValueListItemDragHandleBlur.emit({item:this.el,handle:this.handleEl})},this.handleSelectChange=t=>{this.selected=t.detail.selected},this.description=void 0,this.disabled=!1,this.deselectDisabled=!1,this.nonInteractive=!1,this.handleActivated=!1,this.icon=null,this.iconFlipRtl=!1,this.label=void 0,this.metadata=void 0,this.removable=!1,this.selected=!1,this.value=void 0}connectedCallback(){l(this),H(this)}disconnectedCallback(){r(this),j(this)}componentWillLoad(){W(this)}componentDidLoad(){D(this)}componentDidRender(){A(this,!!this.el.closest("calcite-value-list")&&"managed")}async toggleSelected(t){this.pickListItem.toggleSelected(t)}async setFocus(){var t;return await E(this),null===(t=this.pickListItem)||void 0===t?void 0:t.setFocus()}calciteListItemChangeHandler(t){t.detail.item=this.el}renderActionsEnd(){const{el:t}=this;return f(t,Ct)?i("slot",{name:Ct,slot:lt.actionsEnd}):null}renderActionsStart(){const{el:t}=this;return f(t,Tt)?i("slot",{name:Tt,slot:lt.actionsStart}):null}renderHandle(){const{icon:t,iconFlipRtl:e}=this;if(t===rt.grip)return i("span",{class:{[nt.handle]:!0,[nt.handleActivated]:this.handleActivated},"data-js-handle":!0,onBlur:this.handleBlur,onKeyDown:this.handleKeyDown,role:"button",tabindex:"0",ref:t=>this.handleEl=t},i("calcite-icon",{flipRtl:e,icon:"drag",scale:"s"}))}render(){return i(a,{id:this.el.id||this.guid},this.renderHandle(),i("calcite-pick-list-item",{description:this.description,deselectDisabled:this.deselectDisabled,disabled:this.disabled,label:this.label,metadata:this.metadata,nonInteractive:this.nonInteractive,onCalciteListItemChange:this.handleSelectChange,removable:this.removable,selected:this.selected,value:this.value,ref:this.getPickListRef},this.renderActionsStart(),this.renderActionsEnd()))}get el(){return s(this)}};_t.style=":host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{margin-block-end:1px;box-sizing:border-box;display:flex;background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size--1);color:var(--calcite-color-text-2);--tw-shadow:0 1px 0 var(--calcite-color-border-3);--tw-shadow-colored:0 1px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);transition:background-color var(--calcite-animation-timing), box-shadow var(--calcite-animation-timing)}:host *{box-sizing:border-box}calcite-pick-list-item{position:relative;margin:0px;flex-grow:1;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([active]),:host([selected]){--tw-shadow:0 0 0 1px var(--calcite-color-brand);--tw-shadow-colored:0 0 0 1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.handle{display:flex;cursor:move;align-items:center;justify-content:center;border-style:none;background-color:transparent;padding-block:0px;padding-inline:0.25rem;color:var(--calcite-color-border-input);outline-color:transparent}.handle:hover{background-color:var(--calcite-color-foreground-2);color:var(--calcite-color-text-1)}.handle:focus{outline:2px solid var(--calcite-color-brand);outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n )}.handle--activated{background-color:var(--calcite-color-foreground-3);color:var(--calcite-color-text-1)}.handle calcite-icon{color:inherit}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([hidden]){display:none}[hidden]{display:none}";const It=class{constructor(i){t(this,i),this._loaded=!1,this._useDiffEditor=!1,this.hasChanges=!1,this.hasErrors=!1,this.instanceid="",this.value=""}componentDidLoad(){const t=document.getElementById(`${this.instanceid}-container`);if(t){this._editor=monaco.editor.create(t,{value:this.value,language:"json",theme:"vs",minimap:{enabled:!1},automaticLayout:!0,scrollBeyondLastLine:!1}),this._currentModel=this._editor.getModel(),this._contentChanged=this._currentModel.onDidChangeContent(this._onEditorChange.bind(this));const i=monaco.editor.setModelMarkers,e=this;monaco.editor.setModelMarkers=function(t,s,o){var a,n;t.id===e._currentModel.id&&(e._flagEditorHasErrors(o.length>0),e.hasErrors||(e._flagEditorHasChanges(null===(a=e._currentModel)||void 0===a?void 0:a.canUndo()),(null===(n=e._currentModel)||void 0===n?void 0:n.canUndo())&&e._flagEditorContentChanged()),document.getElementById(`${e.instanceid}-errorFlag`).style.visibility=e.hasErrors?"visible":"hidden"),i.call(monaco.editor,t,s,o)},this._diffEditor=monaco.editor.createDiffEditor(document.getElementById(`${this.instanceid}-diff-container`),{automaticLayout:!0}),this._setDiffModel(),this._loaded=!0,this._toggleUndoRedo()}}async componentWillLoad(){this._initValueObserver(),await this._getTranslations()}render(){return i(a,null,i("div",{id:`${this.instanceid}-editor-container`,class:"editor-container padding-right"},i("div",{class:"editor-controls"},i("div",{class:"editor-buttons"},i("calcite-icon",{id:`${this.instanceid}-errorFlag`,icon:"exclamation-mark-triangle",title:this._translations.errorFlag,scale:"s",class:"edit-error-flag"}),i("calcite-button",{id:`${this.instanceid}-undo`,color:"blue",appearance:"solid",title:this._translations.undo,onClick:()=>this._undo(),scale:"s",class:"edit-button"},i("calcite-icon",{icon:"undo",scale:"s"})),i("calcite-button",{id:`${this.instanceid}-redo`,color:"blue",appearance:"solid",title:this._translations.redo,onClick:()=>this._redo(),scale:"s",class:"edit-button"},i("calcite-icon",{icon:"redo",scale:"s"})),i("calcite-button",{id:`${this.instanceid}-diff`,color:"blue",appearance:"solid",title:this._translations.diff,onClick:()=>this._toggleEditor(),scale:"s",class:"edit-button"},i("calcite-icon",{icon:"compare",scale:"s"})),i("calcite-button",{id:`${this.instanceid}-search`,appearance:"outline",color:"blue",title:this._translations.search,onClick:()=>this._search(),scale:"s",class:"edit-button"},i("calcite-icon",{icon:"search",scale:"s"})),i("calcite-button",{id:`${this.instanceid}-reset`,color:"blue",appearance:"solid",disabled:!0,title:this._translations.cancelEdits,onClick:()=>this._reset(),scale:"s",class:"edit-button"},i("calcite-icon",{icon:"reset",scale:"s"})))),i("div",{class:"edit-parent"},i("div",{id:`${this.instanceid}-container`,class:"json-edit-container"}),i("div",{id:`${this.instanceid}-diff-container`,class:"json-edit-container display-none"}))))}async getEditorContents(){return new Promise(((t,i)=>{try{t(this._currentModel.getValue())}catch(t){i(t)}}))}async prepareForDeletion(){var t,i,e,s,o;null===(t=this._searchBtnHandler)||void 0===t||t.removeEventListener("click",this._search),null===(i=this._cancelEditsBtnHandler)||void 0===i||i.removeEventListener("click",this._reset),null===(e=this._valueObserver)||void 0===e||e.disconnect(),null===(s=this._contentChanged)||void 0===s||s.dispose(),null===(o=this._editor)||void 0===o||o.dispose()}async replaceCurrentSelection(t){const i=this._editor.getSelection();this._editor.executeEdits("",[{range:i,text:t}])}async reset(){return new Promise(((t,i)=>{try{this._reset(),t({success:!0})}catch(t){i(t)}}))}_disableButton(t){var i;null===(i=document.getElementById(t))||void 0===i||i.setAttribute("disabled","")}_enableButton(t){var i;null===(i=document.getElementById(t))||void 0===i||i.removeAttribute("disabled")}_flagEditorContentChanged(){window.dispatchEvent(new CustomEvent("solutionEditorContentChanged",{detail:{id:this.instanceid,contents:this._currentModel.getValue()},bubbles:!0,cancelable:!1,composed:!0}))}_flagEditorHasChanges(t){this.hasChanges!==t&&(window.dispatchEvent(new CustomEvent("solutionEditorHasChanges",{detail:t,bubbles:!0,cancelable:!1,composed:!0})),this.hasChanges=t)}_flagEditorHasErrors(t){this.hasErrors!==t&&(window.dispatchEvent(new CustomEvent("solutionEditorHasErrors",{detail:t,bubbles:!0,cancelable:!1,composed:!0})),this.hasErrors=t)}async _getTranslations(){const t=await ct(this.el);this._translations=t[0]}_initValueObserver(){this._valueObserver=new MutationObserver((t=>{t.forEach((t=>{"attributes"===t.type&&"value"===t.attributeName&&t.target[t.attributeName]!==t.oldValue&&this._loaded&&this._currentModel.setValue(this.value)}))})),this._valueObserver.observe(this.el,{attributes:!0,attributeOldValue:!0})}_onEditorChange(){this._toggleUndoRedo()}_redo(){var t;(null===(t=this._currentModel)||void 0===t?void 0:t.canRedo())&&(this._currentModel.redo(),this._toggleUndoRedo())}_reset(){this._currentModel.setValue(this.value),this._toggleUndoRedo()}_search(){this._editor.trigger("toggleFind","actions.find")}_setDiffModel(){this._diffEditor&&this._diffEditor.setModel({original:monaco.editor.createModel(this.value,"json"),modified:this._editor.getModel()})}_toggleEditor(){this._useDiffEditor=!this._useDiffEditor;let t=document.getElementById(`${this.instanceid}-diff-container`),i=document.getElementById(`${this.instanceid}-container`);this._useDiffEditor?(this._setDiffModel(),t.classList.remove("display-none"),i.classList.add("display-none")):(t.classList.add("display-none"),i.classList.remove("display-none"))}_toggleUndoRedo(){var t,i,e,s;(null===(t=this._currentModel)||void 0===t?void 0:t.canUndo())?this._enableButton(`${this.instanceid}-undo`):this._disableButton(`${this.instanceid}-undo`),(null===(i=this._currentModel)||void 0===i?void 0:i.canRedo())?this._enableButton(`${this.instanceid}-redo`):this._disableButton(`${this.instanceid}-redo`),(null===(e=this._currentModel)||void 0===e?void 0:e.canUndo())||(null===(s=this._currentModel)||void 0===s?void 0:s.canRedo())?this._enableButton(`${this.instanceid}-reset`):this._disableButton(`${this.instanceid}-reset`)}_undo(){var t;(null===(t=this._currentModel)||void 0===t?void 0:t.canUndo())&&(this._currentModel.undo(),this._toggleUndoRedo())}static get assetsDirs(){return["assets"]}get el(){return s(this)}};It.style=":host{display:block}.editor-container{position:relative;height:100%}.editor-controls{height:2.75rem;padding-right:0.5rem;background-color:#F4F4F4}.editor-buttons{float:right}html[dir=rtl] .editor-buttons{float:left}.edit-error-flag{padding-top:0.5rem;color:red;visibility:hidden}.edit-button{padding-inline-start:0.5rem}.editor-text{width:100%;overflow-y:auto;background-color:#FFFFFF}.edit-width{width:100%}.edit-parent{box-sizing:border-box;width:100%;height:calc(100% - 46px)}.json-edit-container{height:100%;width:100%;border:1px #808080 solid}.padding-right{padding-inline-end:0.125rem}.btn{margin-bottom:1rem;display:flex;align-content:center;height:25px;width:120px}.select-ctrl{margin-bottom:1rem}.all-edits{margin-top:4rem}.floating-title{font-size:2rem;z-index:100;position:absolute;left:0.5rem;pointer-events:none}.floating-title-button{pointer-events:auto}.json-editor-position1{position:absolute;left:0px;top:0px;margin:0px;height:100%;width:100%;overflow:hidden;padding:0px;max-height:100% !important}.json-editor-position2a{position:absolute;left:0px;top:0px;margin:0px;height:100%;width:50%;overflow:hidden;padding:0px;max-height:100% !important}.json-editor-position2b{position:absolute;right:0px;top:0px;margin:0px;height:100%;width:50%;overflow:hidden;padding:0px;max-height:100% !important}";const Lt=class{constructor(i){t(this,i),this.itemId="",this.itemDetails={accessInformation:"",description:"",licenseInfo:"",snippet:"",tags:[],title:""},this.itemEdit=void 0,this._translations=void 0,this.thumbnail=void 0,this.thumbnailContainer=void 0}async componentWillLoad(){return this._getTranslations()}async componentWillRender(){return this.itemEdit=ht.getItemInfo(this.itemId),this.itemEdit&&(this.itemDetails=this.itemEdit.item,this.itemType=this.itemDetails.type),Promise.resolve()}render(){return i(a,null,i("div",{class:"parent-container"},i("div",{class:"inputBottomSeparation"},i("calcite-input",{id:"item-title",value:this.itemDetails.title})),i("div",{class:"inputBottomSeparation"},i("input",{accept:".jpg,.gif,.png,image/jpg,image/gif,image/png",class:"display-none",onChange:t=>this._updateThumbnail(t),ref:t=>this.browseForThumbnail=t,type:"file"}),i("button",{class:"font-size--3 btn-link inline-block trailer-quarter",onClick:()=>this._getThumbnail()},i("svg",{class:"icon-inline icon-inline--on-left",height:"16",viewBox:"0 0 16 16",width:"16"},i("path",{d:"M14.792 2.666l-1.414-1.413a.965.965 0 0 0-1.385-.03l-1.444 1.444-8.763 8.72L.03 15.481a.371.371 0 0 0 .488.488l4.096-1.756 8.763-8.72-.001-.001.002.002 1.443-1.444a.965.965 0 0 0-.03-1.385zM1.569 14.431l.554-1.293.74.739zm2.338-.924l-1.414-1.414 7.963-7.92 1.414 1.415zm8.67-8.626l-1.413-1.414 1.29-1.29a.306.306 0 0 1 .433 0l.981.98a.306.306 0 0 1 0 .433z"})),this._translations.editThumbnail),i("div",{class:"flex"},i("div",{class:"img-container",ref:t=>this.thumbnailContainer=t},i("img",{class:"scale-down",height:"133",id:"item-thumbnail",ref:t=>this.thumbnail=t,width:"200"})),i("div",{class:"snippet-count-container"},i("calcite-input",{id:"item-snippet",maxLength:250,type:"textarea",value:this.itemDetails.snippet}),i("label",{class:"font-size--3",id:"item-snippet-count",ref:t=>this.itemSnippetCount=t})))),i("calcite-label",null,this._translations.description,i("label",{id:"item-description-label"},i("calcite-input",{id:"item-description",type:"textarea",value:this.itemDetails.description}))),i("calcite-label",null,this._translations.tags,i("label",{id:"item-tags-label"},i("calcite-input",{id:"item-tags",value:(this.itemDetails.tags&&Array.isArray(this.itemDetails.tags)?this.itemDetails.tags:[this.itemDetails.tags]).join(",")}))),"Group"!==this.itemType?i("calcite-label",null,this._translations.credits,i("label",{id:"item-credits-label"},i("calcite-input",{id:"item-credits",value:this.itemDetails.accessInformation}))):null,"Group"!==this.itemType?i("calcite-label",null,i("label",{id:"item-terms-label"},this._translations.termsOfUse,i("calcite-input",{id:"item-terms",type:"textarea",value:this.itemDetails.licenseInfo}))):null))}componentDidRender(){this._loadThumb()}inputReceivedHandler(t){switch(t.target.id){case"item-title":this.itemDetails.title=t.target.value,this._updateStore();break;case"item-snippet":t.target.value.length>250&&(t.target.value=t.target.value.substring(0,250)),this.itemDetails.snippet=t.target.value,this._updateLengthLabel(this.itemDetails.snippet),this._updateStore();break;case"item-description":this.itemDetails.description=t.target.value,this._updateStore();break;case"item-tags":this.itemDetails.tags=t.target.value,this._updateStore();break;case"item-credits":this.itemDetails.accessInformation=t.target.value,this._updateStore();break;case"item-terms":this.itemDetails.licenseInfo=t.target.value,this._updateStore()}}_getThumbnail(){this.browseForThumbnail.click()}_loadThumb(){var t;this.thumbnail&&(null===(t=this.itemEdit)||void 0===t?void 0:t.thumbnail)?(this.thumbnail.src=URL.createObjectURL(this.itemEdit.thumbnail),this.thumbnailContainer.classList.remove("empty-box"),this.thumbnail.classList.remove("display-none")):(this.thumbnailContainer.classList.add("empty-box"),this.thumbnail.classList.add("display-none"))}_updateLengthLabel(t){this.itemSnippetCount.innerText=this._translations.snippetCountPattern.replace("{{n}}",t.length.toString())}_updateStore(){this.itemEdit=ht.getItemInfo(this.itemId),this.itemEdit.item=this.itemDetails,ht.setItemInfo(this.itemEdit)}_updateThumbnail(t){const i=t.target.files;i&&i[0]&&this.thumbnail&&(this.thumbnail.src=URL.createObjectURL(i[0]),this.itemEdit=ht.getItemInfo(this.itemId),this.itemEdit.thumbnail=i[0],ht.replaceItemThumbnail(this.itemEdit))}async _getTranslations(){const t=await ct(this.el);this._translations=t[0]}get el(){return s(this)}};Lt.style=".inputBottomSeparation{margin-left:0px;margin-right:0px;margin-top:0px;margin-bottom:1.5rem}.icon-inline--on-left,.icon-inline--on-right{display:inline;vertical-align:middle;margin-inline-end:0.375rem;fill:#0079c1}.scale-down{-o-object-fit:scale-down;object-fit:scale-down}.img-container{display:inline;margin-inline-end:1rem;max-width:363px}.summary-count-container{display:inline;flex-grow:1;margin-inline-start:0.75rem}.snippet-count-container{width:calc(100vw - 363px)}.parent-container{max-width:100%;padding:1rem}label{position:relative;margin-left:0px;margin-right:0px;margin-top:0px;margin-bottom:1.5rem;display:block;min-width:-moz-min-content;min-width:min-content}";const Ht=class{constructor(i){t(this,i),this.groupId="",this._translations=void 0,this.sharing=[]}itemIdWatchHandler(){const t=ht.getItemInfo(this.groupId);this.sharing=t.groupDetails}async componentWillLoad(){return this._getTranslations()}render(){return i(a,null,i("div",{class:"container-border"},i("calcite-label",null,this._translations.groupInfo),this._renderItems(this.sharing)))}async getShareInfo(){return this.sharing}_renderItems(t){return t&&t.length>0?t.map((t=>i("calcite-label",{layout:"inline"},i("calcite-switch",{checked:t.shareItem,id:t.id,name:"setting",onCalciteSwitchChange:t=>this._updateItem(t),scale:"m",value:"enabled"}),i("solution-item-icon",{type:t.type,typeKeywords:t.typeKeywords}),i("span",{class:"icon-text",title:t.title},t.title)))):null}_updateItem(t){const i=t.target.id;this.sharing=this.sharing.map((e=>{if(e.id===i){e.shareItem=t.detail.switched;const s=ht.getItemInfo(i);if(e.shareItem)s.groups?s.groups.indexOf(this.groupId)<0&&s.groups.push(this.groupId):s.groups=[this.groupId];else if(s.groups){const t=s.groups.indexOf(this.groupId);t>-1&&s.groups.splice(t,1)}ht.setItemInfo(s)}return e}))}async _getTranslations(){const t=await ct(this.el);this._translations=t[0]}get el(){return s(this)}static get watchers(){return{groupId:["itemIdWatchHandler"]}}};Ht.style=":host{display:block}.container-border{padding:1rem}.icon-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}";const jt=class{constructor(i){t(this,i),this.organizationVariableSelected=o(this,"organizationVariableSelected",7),this.value="",this._organizationVariables=[],this._translations=void 0}valueWatchHandler(){this._organizationVariables=JSON.parse(this.value)}async componentWillLoad(){return this._getTranslations()}render(){return i(a,null,i("div",null,i("h4",{class:"org-var-header"},this._translations.orgVariables)),i("div",{class:"container-border"},i("calcite-tree",{id:"variable-label"},this._renderHierarchy(this._organizationVariables))))}_renderHierarchy(t){return t.map((t=>i("calcite-tree-item",{onClick:()=>this._treeItemSelected(t.id,t.value)},t.title)))}_treeItemSelected(t,i){this.organizationVariableSelected.emit({itemId:t,value:i})}async _getTranslations(){const t=await ct(this.el);this._translations=t[0]}get el(){return s(this)}static get watchers(){return{value:["valueWatchHandler"]}}};jt.style=":host{display:block}.container-border{overflow-y:auto}.org-var-header{margin-left:0px;margin-right:0px;margin-top:0px;margin-bottom:1rem}";const At=class{constructor(i){t(this,i),this._removedResources={},this.authentication=void 0,this.itemId="",this.resourceFilePaths=[],this.resources=[],this._translations=void 0}itemIdWatchHandler(){const t=ht.getItemInfo(this.itemId);this.resourceFilePaths=t.resourceFilePaths,this.resources=t.resources.map((t=>t.substring(t.lastIndexOf("/")+1)))}componentWillLoad(){return this._getTranslations()}render(){const t=this._hasValidResources();return i(a,null,i("div",{class:"resource-item"},i("div",{class:"margin-bottom-1"},i("calcite-button",{appearance:"solid",class:"resource-button",color:"blue",onClick:()=>this._addNewResource()},this._translations.addResource),i("calcite-button",{appearance:"solid",color:"blue",disabled:!t,onClick:()=>this._downloadAll()},this._translations.downloadAll)),i("div",{class:"resources-container",style:{display:t?"inherit":"none"}},this._renderResourceList())))}_renderResourceList(){return i("calcite-value-list",{multiple:!0},this.resourceFilePaths.reduce(((t,i)=>(i.type!==pt.Thumbnail&&t.push(this._renderResource(i)),t)),[]))}_renderResource(t){const e=t.updateType===dt.Remove;return i("calcite-value-list-item",{class:e?"disabled":"",label:t.folder?t.folder+"/"+t.filename:t.filename,nonInteractive:!0,value:t.url},i("calcite-action-group",{"expand-disabled":"true",layout:"horizontal",slot:"actions-end"},i("calcite-action",{disabled:e,icon:"download",label:this._translations.download,onClick:()=>this._download(t.url,t.filename),scale:"m",text:this._translations.download,title:this._translations.download}),i("calcite-action",{disabled:e,icon:"upload-to",label:this._translations.update,onClick:()=>this._upload(t),scale:"m",text:this._translations.update,title:this._translations.update}),i("calcite-action",{disabled:e,icon:"trash",label:this._translations.delete,onClick:()=>this._delete(t),scale:"m",text:this._translations.delete,title:this._translations.delete}),e?i("calcite-action",{icon:"reset",label:this._translations.reset,onClick:()=>this._reset(t.filename),scale:"m",text:this._translations.reset,title:this._translations.reset}):i("div",{class:"display-none"})))}_delete(t){t.updateType=dt.Remove,this.resourceFilePaths=[...this.resourceFilePaths],this._updateStore()}_reset(t){this.resourceFilePaths=this.resources.some((i=>i===t))?this.resourceFilePaths.map((i=>(i.filename===t&&(i.updateType=dt.None),i))):this.resourceFilePaths.map((i=>(i.filename===t&&(i.updateType=dt.Add),i))),this._updateStore()}_downloadAll(){this.resourceFilePaths.forEach((t=>{this._download(t.url,t.filename)}))}_download(t,i){t.startsWith("blob")?this.downloadFile(t,i):this.fetchAndDownload(`${t}?token=${this.authentication.token}`,i)}downloadFile(t,i){const e=document.createElement("a");e.href=t,e.download=i,e.target="_blank",e.click()}_hasValidResources(){return this.resourceFilePaths.some((t=>t.url.indexOf("_info_thumbnail")<0))}async fetchAndDownload(t,i){const e=await fetch(t),s=await e.blob(),o=URL.createObjectURL(s);this.downloadFile(o,i)}_upload(t){const i=document.createElement("input");i.classList.add("display-none"),i.onchange=this._updateResource.bind(this,t),i.type="file",i.click()}_addNewResource(){const t=document.createElement("input");t.classList.add("display-none"),t.onchange=this._add.bind(this),t.type="file",t.click()}_updateResource(t,i){const e=i.target.files;e&&e[0]&&(t.blob=e[0],t.updateType=dt.Update,this._updateStore())}_add(t){const i=t.target.files;if(i&&i[0]){const t=URL.createObjectURL(i[0]),e=i[0].name;this.resourceFilePaths.some((i=>i.filename===e&&i.url===t))||(this.resourceFilePaths=[...this.resourceFilePaths,{url:t,type:pt.Data,folder:void 0,filename:e,blob:i[0],updateType:dt.Add}],this._updateStore())}}_updateStore(){const t=ht.getItemInfo(this.itemId);t.resourceFilePaths=this.resourceFilePaths,ht.setItemInfo(t)}async _getTranslations(){const t=await ct(this.el);this._translations=t[0]}get el(){return s(this)}static get watchers(){return{itemId:["itemIdWatchHandler"]}}};At.style=":host{display:block}.resource-item{padding:1rem}.resource-button{margin-inline-end:1rem}.resource-progress{padding-top:1rem}.resources-container{border:1px #808080 solid}.margin-bottom-1{margin-bottom:1rem}";const St=class{itemIdWatchHandler(){this._initializing=!0,this.value=JSON.stringify("data"===this.instanceid?ht.getItemInfo(this.itemId).data:ht.getItemInfo(this.itemId).properties,null,2)}constructor(i){t(this,i),this._initializing=!1,this.instanceid="",this.itemId="",this.organizationVariables="",this.solutionVariables="",this.varsOpen=!0,this._translations=void 0,this.value="",window.addEventListener("solutionEditorContentChanged",(t=>{if(this.itemId){const{id:i,contents:e}=t.detail,[s,o]=i.split("|");if(s==this.itemId&&o===this.instanceid){if(!this._initializing&&e.length>0){const t=ht.getItemInfo(s);"data"===o?t.data=JSON.parse(e):t.properties=JSON.parse(e),ht.setItemInfo(t)}this._initializing=!1}}}))}componentWillLoad(){return this._getTranslations()}render(){return i(a,null,i("div",{class:"solution-data-container"},i("calcite-shell",{class:"light var-container",dir:"ltr"},i("calcite-panel",{class:"json-editor"},i("div",{class:"solution-data-child-container calcite-match-height"},i("json-editor",{class:"solution-data-editor-container",instanceid:this.itemId+"|"+this.instanceid,value:this.value}))),i("calcite-shell-panel",{"height-scale":"l",position:"end",slot:"contextual-panel","width-scale":"xs"},i("div",{class:this.varsOpen?"solution-data-child-container":"solution-data-child-container-collapsed"},i("calcite-button",{appearance:"transparent",class:"collapse-btn","icon-start":this.varsOpen?"chevrons-right":"chevrons-left",id:"collapse-vars",onClick:()=>this._toggleVars(),scale:"s",title:this.varsOpen?this._translations.collapse:this._translations.expand}),i("div",{class:this.varsOpen?"org-vars":"org-vars display-none",id:"orgVars"},i("solution-organization-variables",{value:this.organizationVariables})),i("div",{class:this.varsOpen?"sol-vars":"sol-vars display-none",id:"solVars"},i("solution-variables",{value:this.solutionVariables})))))))}_toggleVars(){this.varsOpen=!this.varsOpen}async _getTranslations(){const t=await ct(this.el);this._translations=t[0]}get el(){return s(this)}static get watchers(){return{itemId:["itemIdWatchHandler"]}}};St.style=":host{display:flexbox}.solution-data-container{position:absolute;height:-moz-available;height:calc(100% - 48px);height:-webkit-fill-available;height:stretch;width:-moz-available;width:100%;width:-webkit-fill-available;width:stretch}.solution-data-child-container{display:flex;height:100%;width:100%;flex-direction:column;overflow-y:auto}.solution-data-editor-container{height:100%}.solution-data-child-container-collapsed{display:flex;height:100%;flex-direction:column;overflow:auto;width:50px}.inputBottomSeparation{margin-left:0px;margin-right:0px;margin-top:0px;margin-bottom:1.5rem}.json-editor{margin:1rem;width:auto;width:-webkit-fill-available -moz-available}.collapse-btn{padding-left:1rem;padding-right:1rem;padding-top:1rem;padding-bottom:0px}.org-vars{padding-left:1rem;padding-right:1rem;padding-top:1rem;padding-bottom:0px}.sol-vars{padding-top:0px;padding-bottom:0px;padding-left:1rem;padding-right:1rem;min-height:45%}.padding-1{padding:1rem}.light{background-color:#F4F4F4}";const Wt=class{constructor(i){t(this,i),this.solutionVariableSelected=o(this,"solutionVariableSelected",7),this.value="",this._solutionVariables=[],this._translations=void 0}valueWatchHandler(){this._solutionVariables=JSON.parse(this.value)}componentWillLoad(){return this._getTranslations()}render(){return i(a,null,i("div",null,i("h4",{class:"org-var-header"},this._translations.solVariables)),i("div",{class:"container-border"},i("calcite-tree",{id:"variable-label"},this._renderHierarchy(this._solutionVariables))))}_renderHierarchy(t){return t.map((t=>t.dependencies&&t.dependencies.length>0?i("calcite-tree-item",{onClick:t=>this._toggleExpand(t)},i("solution-item-icon",{type:t.type}),i("span",{class:"icon-text",title:t.title},t.title),i("calcite-tree",{slot:"children"},this._renderHierarchy(t.dependencies))):i("calcite-tree-item",{onClick:()=>this._treeItemSelected(t.id,t.value)},t.title)))}_treeItemSelected(t,i){this.solutionVariableSelected.emit({itemId:t,value:i})}_toggleExpand(t){var i;const e=null===(i=null==t?void 0:t.target)||void 0===i?void 0:i.closest("calcite-tree-item");e&&(e.expanded=!e.expanded)}async _getTranslations(){const t=await ct(this.el);this._translations=t[0]}get el(){return s(this)}static get watchers(){return{value:["valueWatchHandler"]}}};Wt.style=":host{display:block}.container-border{overflow-y:hidden}.org-var-header{margin-top:1rem;margin-bottom:1rem;margin-left:0px;margin-right:0px}.icon-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}";export{bt as calcite_shell_panel,ut as calcite_tab,mt as calcite_tab_nav,ft as calcite_tab_title,xt as calcite_tabs,zt as calcite_value_list,_t as calcite_value_list_item,It as json_editor,Lt as solution_item_details,Ht as solution_item_sharing,jt as solution_organization_variables,At as solution_resource_item,St as solution_template_data,Wt as solution_variables}
47
+ const Ct="actions-end",Tt="actions-start",_t=class{constructor(i){t(this,i),this.calciteListItemChange=o(this,"calciteListItemChange",6),this.calciteListItemRemove=o(this,"calciteListItemRemove",7),this.calciteValueListItemDragHandleBlur=o(this,"calciteValueListItemDragHandleBlur",6),this.pickListItem=null,this.guid=`calcite-value-list-item-${I()}`,this.getPickListRef=t=>this.pickListItem=t,this.handleKeyDown=t=>{" "===t.key&&(this.handleActivated=!this.handleActivated)},this.handleBlur=()=>{this.handleActivated=!1,this.calciteValueListItemDragHandleBlur.emit({item:this.el,handle:this.handleEl})},this.handleSelectChange=t=>{this.selected=t.detail.selected},this.description=void 0,this.disabled=!1,this.deselectDisabled=!1,this.nonInteractive=!1,this.handleActivated=!1,this.icon=null,this.iconFlipRtl=!1,this.label=void 0,this.metadata=void 0,this.removable=!1,this.selected=!1,this.value=void 0}connectedCallback(){l(this),H(this)}disconnectedCallback(){r(this),j(this)}componentWillLoad(){W(this)}componentDidLoad(){D(this)}componentDidRender(){A(this,!!this.el.closest("calcite-value-list")&&"managed")}async toggleSelected(t){this.pickListItem.toggleSelected(t)}async setFocus(){var t;return await E(this),null===(t=this.pickListItem)||void 0===t?void 0:t.setFocus()}calciteListItemChangeHandler(t){t.detail.item=this.el}renderActionsEnd(){const{el:t}=this;return f(t,Ct)?i("slot",{name:Ct,slot:lt.actionsEnd}):null}renderActionsStart(){const{el:t}=this;return f(t,Tt)?i("slot",{name:Tt,slot:lt.actionsStart}):null}renderHandle(){const{icon:t,iconFlipRtl:e}=this;if(t===rt.grip)return i("span",{class:{[nt.handle]:!0,[nt.handleActivated]:this.handleActivated},"data-js-handle":!0,onBlur:this.handleBlur,onKeyDown:this.handleKeyDown,role:"button",tabindex:"0",ref:t=>this.handleEl=t},i("calcite-icon",{flipRtl:e,icon:"drag",scale:"s"}))}render(){return i(a,{id:this.el.id||this.guid},this.renderHandle(),i("calcite-pick-list-item",{description:this.description,deselectDisabled:this.deselectDisabled,disabled:this.disabled,label:this.label,metadata:this.metadata,nonInteractive:this.nonInteractive,onCalciteListItemChange:this.handleSelectChange,removable:this.removable,selected:this.selected,value:this.value,ref:this.getPickListRef},this.renderActionsStart(),this.renderActionsEnd()))}get el(){return s(this)}};_t.style=":host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{margin-block-end:1px;box-sizing:border-box;display:flex;background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size--1);color:var(--calcite-color-text-2);--tw-shadow:0 1px 0 var(--calcite-color-border-3);--tw-shadow-colored:0 1px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);transition:background-color var(--calcite-animation-timing), box-shadow var(--calcite-animation-timing)}:host *{box-sizing:border-box}calcite-pick-list-item{position:relative;margin:0px;flex-grow:1;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([active]),:host([selected]){--tw-shadow:0 0 0 1px var(--calcite-color-brand);--tw-shadow-colored:0 0 0 1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.handle{display:flex;cursor:move;align-items:center;justify-content:center;border-style:none;background-color:transparent;padding-block:0px;padding-inline:0.25rem;color:var(--calcite-color-border-input);outline-color:transparent}.handle:hover{background-color:var(--calcite-color-foreground-2);color:var(--calcite-color-text-1)}.handle:focus{outline:2px solid var(--calcite-color-brand);outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n )}.handle--activated{background-color:var(--calcite-color-foreground-3);color:var(--calcite-color-text-1)}.handle calcite-icon{color:inherit}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([hidden]){display:none}[hidden]{display:none}";const It=class{constructor(i){t(this,i),this._loaded=!1,this._useDiffEditor=!1,this.hasChanges=!1,this.hasErrors=!1,this.instanceid="",this.value=""}componentDidLoad(){const t=document.getElementById(`${this.instanceid}-container`);if(t){this._editor=monaco.editor.create(t,{value:this.value,language:"json",theme:"vs",minimap:{enabled:!1},automaticLayout:!0,scrollBeyondLastLine:!1}),this._currentModel=this._editor.getModel(),this._contentChanged=this._currentModel.onDidChangeContent(this._onEditorChange.bind(this));const i=monaco.editor.setModelMarkers,e=this;monaco.editor.setModelMarkers=function(t,s,o){var a,n;t.id===e._currentModel.id&&(e._flagEditorHasErrors(o.length>0),e.hasErrors||(e._flagEditorHasChanges(null===(a=e._currentModel)||void 0===a?void 0:a.canUndo()),(null===(n=e._currentModel)||void 0===n?void 0:n.canUndo())&&e._flagEditorContentChanged()),document.getElementById(`${e.instanceid}-errorFlag`).style.visibility=e.hasErrors?"visible":"hidden"),i.call(monaco.editor,t,s,o)},this._diffEditor=monaco.editor.createDiffEditor(document.getElementById(`${this.instanceid}-diff-container`),{automaticLayout:!0}),this._setDiffModel(),this._loaded=!0,this._toggleUndoRedo()}}async componentWillLoad(){this._initValueObserver(),await this._getTranslations()}render(){return i(a,null,i("div",{id:`${this.instanceid}-editor-container`,class:"editor-container padding-right"},i("div",{class:"editor-controls"},i("div",{class:"editor-buttons"},i("calcite-icon",{id:`${this.instanceid}-errorFlag`,icon:"exclamation-mark-triangle",title:this._translations.errorFlag,scale:"s",class:"edit-error-flag"}),i("calcite-button",{id:`${this.instanceid}-undo`,color:"blue",appearance:"solid",title:this._translations.undo,onClick:()=>this._undo(),scale:"s",class:"edit-button"},i("calcite-icon",{icon:"undo",scale:"s"})),i("calcite-button",{id:`${this.instanceid}-redo`,color:"blue",appearance:"solid",title:this._translations.redo,onClick:()=>this._redo(),scale:"s",class:"edit-button"},i("calcite-icon",{icon:"redo",scale:"s"})),i("calcite-button",{id:`${this.instanceid}-diff`,color:"blue",appearance:"solid",title:this._translations.diff,onClick:()=>this._toggleEditor(),scale:"s",class:"edit-button"},i("calcite-icon",{icon:"compare",scale:"s"})),i("calcite-button",{id:`${this.instanceid}-search`,appearance:"outline",color:"blue",title:this._translations.search,onClick:()=>this._search(),scale:"s",class:"edit-button"},i("calcite-icon",{icon:"search",scale:"s"})),i("calcite-button",{id:`${this.instanceid}-reset`,color:"blue",appearance:"solid",disabled:!0,title:this._translations.cancelEdits,onClick:()=>this._reset(),scale:"s",class:"edit-button"},i("calcite-icon",{icon:"reset",scale:"s"})))),i("div",{class:"edit-parent"},i("div",{id:`${this.instanceid}-container`,class:"json-edit-container"}),i("div",{id:`${this.instanceid}-diff-container`,class:"json-edit-container display-none"}))))}async getEditorContents(){return new Promise(((t,i)=>{try{t(this._currentModel.getValue())}catch(t){i(t)}}))}async prepareForDeletion(){var t,i,e,s,o;null===(t=this._searchBtnHandler)||void 0===t||t.removeEventListener("click",this._search),null===(i=this._cancelEditsBtnHandler)||void 0===i||i.removeEventListener("click",this._reset),null===(e=this._valueObserver)||void 0===e||e.disconnect(),null===(s=this._contentChanged)||void 0===s||s.dispose(),null===(o=this._editor)||void 0===o||o.dispose()}async replaceCurrentSelection(t){const i=this._editor.getSelection();this._editor.executeEdits("",[{range:i,text:t}])}async reset(){return new Promise(((t,i)=>{try{this._reset(),t({success:!0})}catch(t){i(t)}}))}_disableButton(t){var i;null===(i=document.getElementById(t))||void 0===i||i.setAttribute("disabled","")}_enableButton(t){var i;null===(i=document.getElementById(t))||void 0===i||i.removeAttribute("disabled")}_flagEditorContentChanged(){window.dispatchEvent(new CustomEvent("solutionEditorContentChanged",{detail:{id:this.instanceid,contents:this._currentModel.getValue()},bubbles:!0,cancelable:!1,composed:!0}))}_flagEditorHasChanges(t){this.hasChanges!==t&&(window.dispatchEvent(new CustomEvent("solutionEditorHasChanges",{detail:t,bubbles:!0,cancelable:!1,composed:!0})),this.hasChanges=t)}_flagEditorHasErrors(t){this.hasErrors!==t&&(window.dispatchEvent(new CustomEvent("solutionEditorHasErrors",{detail:t,bubbles:!0,cancelable:!1,composed:!0})),this.hasErrors=t)}async _getTranslations(){const t=await ct(this.el);this._translations=t[0]}_initValueObserver(){this._valueObserver=new MutationObserver((t=>{t.forEach((t=>{"attributes"===t.type&&"value"===t.attributeName&&t.target[t.attributeName]!==t.oldValue&&this._loaded&&this._currentModel.setValue(this.value)}))})),this._valueObserver.observe(this.el,{attributes:!0,attributeOldValue:!0})}_onEditorChange(){this._toggleUndoRedo()}_redo(){var t;(null===(t=this._currentModel)||void 0===t?void 0:t.canRedo())&&(this._currentModel.redo(),this._toggleUndoRedo())}_reset(){this._currentModel.setValue(this.value),this._toggleUndoRedo()}_search(){this._editor.trigger("toggleFind","actions.find")}_setDiffModel(){this._diffEditor&&this._diffEditor.setModel({original:monaco.editor.createModel(this.value,"json"),modified:this._editor.getModel()})}_toggleEditor(){this._useDiffEditor=!this._useDiffEditor;let t=document.getElementById(`${this.instanceid}-diff-container`),i=document.getElementById(`${this.instanceid}-container`);this._useDiffEditor?(this._setDiffModel(),t.classList.remove("display-none"),i.classList.add("display-none")):(t.classList.add("display-none"),i.classList.remove("display-none"))}_toggleUndoRedo(){var t,i,e,s;(null===(t=this._currentModel)||void 0===t?void 0:t.canUndo())?this._enableButton(`${this.instanceid}-undo`):this._disableButton(`${this.instanceid}-undo`),(null===(i=this._currentModel)||void 0===i?void 0:i.canRedo())?this._enableButton(`${this.instanceid}-redo`):this._disableButton(`${this.instanceid}-redo`),(null===(e=this._currentModel)||void 0===e?void 0:e.canUndo())||(null===(s=this._currentModel)||void 0===s?void 0:s.canRedo())?this._enableButton(`${this.instanceid}-reset`):this._disableButton(`${this.instanceid}-reset`)}_undo(){var t;(null===(t=this._currentModel)||void 0===t?void 0:t.canUndo())&&(this._currentModel.undo(),this._toggleUndoRedo())}static get assetsDirs(){return["assets"]}get el(){return s(this)}};It.style=":host{display:block}.editor-container{position:relative;height:100%}.editor-controls{height:2.75rem;padding-right:0.5rem;background-color:#F4F4F4}.editor-buttons{float:right}html[dir=rtl] .editor-buttons{float:left}.edit-error-flag{padding-top:0.5rem;color:red;visibility:hidden}.edit-button{padding-inline-start:0.5rem}.editor-text{width:100%;overflow-y:auto;background-color:#FFFFFF}.edit-width{width:100%}.edit-parent{box-sizing:border-box;width:100%;height:calc(100% - 46px)}.json-edit-container{height:100%;width:100%;border:1px #808080 solid}.padding-right{padding-inline-end:0.125rem}.btn{margin-bottom:1rem;display:flex;align-content:center;height:25px;width:120px}.select-ctrl{margin-bottom:1rem}.all-edits{margin-top:4rem}.floating-title{font-size:2rem;z-index:100;position:absolute;left:0.5rem;pointer-events:none}.floating-title-button{pointer-events:auto}.json-editor-position1{position:absolute;left:0px;top:0px;margin:0px;height:100%;width:100%;overflow:hidden;padding:0px;max-height:100% !important}.json-editor-position2a{position:absolute;left:0px;top:0px;margin:0px;height:100%;width:50%;overflow:hidden;padding:0px;max-height:100% !important}.json-editor-position2b{position:absolute;right:0px;top:0px;margin:0px;height:100%;width:50%;overflow:hidden;padding:0px;max-height:100% !important}";const Lt=class{constructor(i){t(this,i),this.itemId="",this.itemDetails={accessInformation:"",description:"",licenseInfo:"",snippet:"",tags:[],title:""},this.itemEdit=void 0,this._translations=void 0,this.thumbnail=void 0,this.thumbnailContainer=void 0}async componentWillLoad(){return this._getTranslations()}async componentWillRender(){return this.itemEdit=ht.getItemInfo(this.itemId),this.itemEdit&&(this.itemDetails=this.itemEdit.item,this.itemType=this.itemDetails.type),Promise.resolve()}render(){return i(a,null,i("div",{class:"parent-container"},i("div",{class:"inputBottomSeparation"},i("calcite-input",{id:"item-title",value:this.itemDetails.title})),i("div",{class:"inputBottomSeparation"},i("input",{accept:".jpg,.gif,.png,image/jpg,image/gif,image/png",class:"display-none",onChange:t=>this._updateThumbnail(t),ref:t=>this.browseForThumbnail=t,type:"file"}),i("button",{class:"font-size--3 btn-link inline-block trailer-quarter",onClick:()=>this._getThumbnail()},i("svg",{class:"icon-inline icon-inline--on-left",height:"16",viewBox:"0 0 16 16",width:"16"},i("path",{d:"M14.792 2.666l-1.414-1.413a.965.965 0 0 0-1.385-.03l-1.444 1.444-8.763 8.72L.03 15.481a.371.371 0 0 0 .488.488l4.096-1.756 8.763-8.72-.001-.001.002.002 1.443-1.444a.965.965 0 0 0-.03-1.385zM1.569 14.431l.554-1.293.74.739zm2.338-.924l-1.414-1.414 7.963-7.92 1.414 1.415zm8.67-8.626l-1.413-1.414 1.29-1.29a.306.306 0 0 1 .433 0l.981.98a.306.306 0 0 1 0 .433z"})),this._translations.editThumbnail),i("div",{class:"flex"},i("div",{class:"img-container",ref:t=>this.thumbnailContainer=t},i("img",{class:"scale-down",height:"133",id:"item-thumbnail",ref:t=>this.thumbnail=t,width:"200"})),i("div",{class:"snippet-count-container"},i("calcite-input",{id:"item-snippet",maxLength:250,type:"textarea",value:this.itemDetails.snippet}),i("label",{class:"font-size--3",id:"item-snippet-count",ref:t=>this.itemSnippetCount=t})))),i("calcite-label",null,this._translations.description,i("label",{id:"item-description-label"},i("calcite-input",{id:"item-description",type:"textarea",value:this.itemDetails.description}))),i("calcite-label",null,this._translations.tags,i("label",{id:"item-tags-label"},i("calcite-input",{id:"item-tags",value:(this.itemDetails.tags&&Array.isArray(this.itemDetails.tags)?this.itemDetails.tags:[this.itemDetails.tags]).join(",")}))),"Group"!==this.itemType?i("calcite-label",null,this._translations.credits,i("label",{id:"item-credits-label"},i("calcite-input",{id:"item-credits",value:this.itemDetails.accessInformation}))):null,"Group"!==this.itemType?i("calcite-label",null,i("label",{id:"item-terms-label"},this._translations.termsOfUse,i("calcite-input",{id:"item-terms",type:"textarea",value:this.itemDetails.licenseInfo}))):null))}componentDidRender(){this._loadThumb()}inputReceivedHandler(t){switch(t.target.id){case"item-title":this.itemDetails.title=t.target.value,this._updateStore();break;case"item-snippet":t.target.value.length>250&&(t.target.value=t.target.value.substring(0,250)),this.itemDetails.snippet=t.target.value,this._updateLengthLabel(this.itemDetails.snippet),this._updateStore();break;case"item-description":this.itemDetails.description=t.target.value,this._updateStore();break;case"item-tags":this.itemDetails.tags=t.target.value,this._updateStore();break;case"item-credits":this.itemDetails.accessInformation=t.target.value,this._updateStore();break;case"item-terms":this.itemDetails.licenseInfo=t.target.value,this._updateStore()}}_getThumbnail(){this.browseForThumbnail.click()}_loadThumb(){var t;this.thumbnail&&(null===(t=this.itemEdit)||void 0===t?void 0:t.thumbnail)?(this.thumbnail.src=URL.createObjectURL(this.itemEdit.thumbnail),this.thumbnailContainer.classList.remove("empty-box"),this.thumbnail.classList.remove("display-none")):(this.thumbnailContainer.classList.add("empty-box"),this.thumbnail.classList.add("display-none"))}_updateLengthLabel(t){this.itemSnippetCount.innerText=this._translations.snippetCountPattern.replace("{{n}}",t.length.toString())}_updateStore(){this.itemEdit=ht.getItemInfo(this.itemId),this.itemEdit.item=this.itemDetails,ht.setItemInfo(this.itemEdit)}_updateThumbnail(t){const i=t.target.files;i&&i[0]&&this.thumbnail&&(this.thumbnail.src=URL.createObjectURL(i[0]),this.itemEdit=ht.getItemInfo(this.itemId),this.itemEdit.thumbnail=i[0],ht.replaceItemThumbnail(this.itemEdit))}async _getTranslations(){const t=await ct(this.el);this._translations=t[0]}get el(){return s(this)}};Lt.style=".inputBottomSeparation{margin-left:0px;margin-right:0px;margin-top:0px;margin-bottom:1.5rem}.icon-inline--on-left,.icon-inline--on-right{display:inline;vertical-align:middle;margin-inline-end:0.375rem;fill:#0079c1}.scale-down{-o-object-fit:scale-down;object-fit:scale-down}.img-container{display:inline;margin-inline-end:1rem;max-width:363px}.summary-count-container{display:inline;flex-grow:1;margin-inline-start:0.75rem}.snippet-count-container{width:calc(100vw - 363px)}.parent-container{max-width:100%;padding:1rem}label{position:relative;margin-left:0px;margin-right:0px;margin-top:0px;margin-bottom:1.5rem;display:block;min-width:-moz-min-content;min-width:min-content}";const Ht=class{constructor(i){t(this,i),this.groupId="",this._translations=void 0,this.sharing=[]}itemIdWatchHandler(){const t=ht.getItemInfo(this.groupId);this.sharing=t.groupDetails}async componentWillLoad(){return this._getTranslations()}render(){return i(a,null,i("div",{class:"container-border"},i("calcite-label",null,this._translations.groupInfo),this._renderItems(this.sharing)))}async getShareInfo(){return this.sharing}_renderItems(t){return t&&t.length>0?t.map((t=>i("calcite-label",{layout:"inline"},i("calcite-switch",{checked:t.shareItem,id:t.id,name:"setting",onCalciteSwitchChange:t=>this._updateItem(t),scale:"m",value:"enabled"}),i("solution-item-icon",{type:t.type,typeKeywords:t.typeKeywords}),i("span",{class:"icon-text",title:t.title},t.title)))):null}_updateItem(t){const i=t.target.id;this.sharing=this.sharing.map((e=>{if(e.id===i){e.shareItem=t.target.checked;const s=ht.getItemInfo(i);if(e.shareItem)s.groups?s.groups.indexOf(this.groupId)<0&&s.groups.push(this.groupId):s.groups=[this.groupId];else if(s.groups){const t=s.groups.indexOf(this.groupId);t>-1&&s.groups.splice(t,1)}ht.setItemInfo(s)}return e}))}async _getTranslations(){const t=await ct(this.el);this._translations=t[0]}get el(){return s(this)}static get watchers(){return{groupId:["itemIdWatchHandler"]}}};Ht.style=":host{display:block}.container-border{padding:1rem}.icon-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}";const jt=class{constructor(i){t(this,i),this.organizationVariableSelected=o(this,"organizationVariableSelected",7),this.value="",this._organizationVariables=[],this._translations=void 0}valueWatchHandler(){this._organizationVariables=JSON.parse(this.value)}async componentWillLoad(){return this._getTranslations()}render(){return i(a,null,i("div",null,i("h4",{class:"org-var-header"},this._translations.orgVariables)),i("div",{class:"container-border"},i("calcite-tree",{id:"variable-label"},this._renderHierarchy(this._organizationVariables))))}_renderHierarchy(t){return t.map((t=>i("calcite-tree-item",{onClick:()=>this._treeItemSelected(t.id,t.value)},t.title)))}_treeItemSelected(t,i){this.organizationVariableSelected.emit({itemId:t,value:i})}async _getTranslations(){const t=await ct(this.el);this._translations=t[0]}get el(){return s(this)}static get watchers(){return{value:["valueWatchHandler"]}}};jt.style=":host{display:block}.container-border{overflow-y:auto}.org-var-header{margin-left:0px;margin-right:0px;margin-top:0px;margin-bottom:1rem}";const At=class{constructor(i){t(this,i),this._removedResources={},this.authentication=void 0,this.itemId="",this.resourceFilePaths=[],this.resources=[],this._translations=void 0}itemIdWatchHandler(){const t=ht.getItemInfo(this.itemId);this.resourceFilePaths=t.resourceFilePaths,this.resources=t.resources.map((t=>t.substring(t.lastIndexOf("/")+1)))}componentWillLoad(){return this._getTranslations()}render(){const t=this._hasValidResources();return i(a,null,i("div",{class:"resource-item"},i("div",{class:"margin-bottom-1"},i("calcite-button",{appearance:"solid",class:"resource-button",color:"blue",onClick:()=>this._addNewResource()},this._translations.addResource),i("calcite-button",{appearance:"solid",color:"blue",disabled:!t,onClick:()=>this._downloadAll()},this._translations.downloadAll)),i("div",{class:"resources-container",style:{display:t?"inherit":"none"}},this._renderResourceList())))}_renderResourceList(){return i("calcite-value-list",{multiple:!0},this.resourceFilePaths.reduce(((t,i)=>(i.type!==pt.Thumbnail&&t.push(this._renderResource(i)),t)),[]))}_renderResource(t){const e=t.updateType===dt.Remove;return i("calcite-value-list-item",{class:e?"disabled":"",label:t.folder?t.folder+"/"+t.filename:t.filename,nonInteractive:!0,value:t.url},i("calcite-action-group",{"expand-disabled":"true",layout:"horizontal",slot:"actions-end"},i("calcite-action",{disabled:e,icon:"download",label:this._translations.download,onClick:()=>this._download(t.url,t.filename),scale:"m",text:this._translations.download,title:this._translations.download}),i("calcite-action",{disabled:e,icon:"upload-to",label:this._translations.update,onClick:()=>this._upload(t),scale:"m",text:this._translations.update,title:this._translations.update}),i("calcite-action",{disabled:e,icon:"trash",label:this._translations.delete,onClick:()=>this._delete(t),scale:"m",text:this._translations.delete,title:this._translations.delete}),e?i("calcite-action",{icon:"reset",label:this._translations.reset,onClick:()=>this._reset(t.filename),scale:"m",text:this._translations.reset,title:this._translations.reset}):i("div",{class:"display-none"})))}_delete(t){t.updateType=dt.Remove,this.resourceFilePaths=[...this.resourceFilePaths],this._updateStore()}_reset(t){this.resourceFilePaths=this.resources.some((i=>i===t))?this.resourceFilePaths.map((i=>(i.filename===t&&(i.updateType=dt.None),i))):this.resourceFilePaths.map((i=>(i.filename===t&&(i.updateType=dt.Add),i))),this._updateStore()}_downloadAll(){this.resourceFilePaths.forEach((t=>{this._download(t.url,t.filename)}))}_download(t,i){t.startsWith("blob")?this.downloadFile(t,i):this.fetchAndDownload(`${t}?token=${this.authentication.token}`,i)}downloadFile(t,i){const e=document.createElement("a");e.href=t,e.download=i,e.target="_blank",e.click()}_hasValidResources(){return this.resourceFilePaths.some((t=>t.url.indexOf("_info_thumbnail")<0))}async fetchAndDownload(t,i){const e=await fetch(t),s=await e.blob(),o=URL.createObjectURL(s);this.downloadFile(o,i)}_upload(t){const i=document.createElement("input");i.classList.add("display-none"),i.onchange=this._updateResource.bind(this,t),i.type="file",i.click()}_addNewResource(){const t=document.createElement("input");t.classList.add("display-none"),t.onchange=this._add.bind(this),t.type="file",t.click()}_updateResource(t,i){const e=i.target.files;e&&e[0]&&(t.blob=e[0],t.updateType=dt.Update,this._updateStore())}_add(t){const i=t.target.files;if(i&&i[0]){const t=URL.createObjectURL(i[0]),e=i[0].name;this.resourceFilePaths.some((i=>i.filename===e&&i.url===t))||(this.resourceFilePaths=[...this.resourceFilePaths,{url:t,type:pt.Data,folder:void 0,filename:e,blob:i[0],updateType:dt.Add}],this._updateStore())}}_updateStore(){const t=ht.getItemInfo(this.itemId);t.resourceFilePaths=this.resourceFilePaths,ht.setItemInfo(t)}async _getTranslations(){const t=await ct(this.el);this._translations=t[0]}get el(){return s(this)}static get watchers(){return{itemId:["itemIdWatchHandler"]}}};At.style=":host{display:block}.resource-item{padding:1rem}.resource-button{margin-inline-end:1rem}.resource-progress{padding-top:1rem}.resources-container{border:1px #808080 solid}.margin-bottom-1{margin-bottom:1rem}";const St=class{itemIdWatchHandler(){this._initializing=!0,this.value=JSON.stringify("data"===this.instanceid?ht.getItemInfo(this.itemId).data:ht.getItemInfo(this.itemId).properties,null,2)}constructor(i){t(this,i),this._initializing=!1,this.instanceid="",this.itemId="",this.organizationVariables="",this.solutionVariables="",this.varsOpen=!0,this._translations=void 0,this.value="",window.addEventListener("solutionEditorContentChanged",(t=>{if(this.itemId){const{id:i,contents:e}=t.detail,[s,o]=i.split("|");if(s==this.itemId&&o===this.instanceid){if(!this._initializing&&e.length>0){const t=ht.getItemInfo(s);"data"===o?t.data=JSON.parse(e):t.properties=JSON.parse(e),ht.setItemInfo(t)}this._initializing=!1}}}))}componentWillLoad(){return this._getTranslations()}render(){return i(a,null,i("div",{class:"solution-data-container"},i("calcite-shell",{class:"light var-container",dir:"ltr"},i("calcite-panel",{class:"json-editor"},i("div",{class:"solution-data-child-container calcite-match-height"},i("json-editor",{class:"solution-data-editor-container",instanceid:this.itemId+"|"+this.instanceid,value:this.value}))),i("calcite-shell-panel",{"height-scale":"l",position:"end",slot:"contextual-panel","width-scale":"xs"},i("div",{class:this.varsOpen?"solution-data-child-container":"solution-data-child-container-collapsed"},i("calcite-button",{appearance:"transparent",class:"collapse-btn","icon-start":this.varsOpen?"chevrons-right":"chevrons-left",id:"collapse-vars",onClick:()=>this._toggleVars(),scale:"s",title:this.varsOpen?this._translations.collapse:this._translations.expand}),i("div",{class:this.varsOpen?"org-vars":"org-vars display-none",id:"orgVars"},i("solution-organization-variables",{value:this.organizationVariables})),i("div",{class:this.varsOpen?"sol-vars":"sol-vars display-none",id:"solVars"},i("solution-variables",{value:this.solutionVariables})))))))}_toggleVars(){this.varsOpen=!this.varsOpen}async _getTranslations(){const t=await ct(this.el);this._translations=t[0]}get el(){return s(this)}static get watchers(){return{itemId:["itemIdWatchHandler"]}}};St.style=":host{display:flexbox}.solution-data-container{position:absolute;height:-moz-available;height:calc(100% - 48px);height:-webkit-fill-available;height:stretch;width:-moz-available;width:100%;width:-webkit-fill-available;width:stretch}.solution-data-child-container{display:flex;height:100%;width:100%;flex-direction:column;overflow-y:auto}.solution-data-editor-container{height:100%}.solution-data-child-container-collapsed{display:flex;height:100%;flex-direction:column;overflow:auto;width:50px}.inputBottomSeparation{margin-left:0px;margin-right:0px;margin-top:0px;margin-bottom:1.5rem}.json-editor{margin:1rem;width:auto;width:-webkit-fill-available -moz-available}.collapse-btn{padding-left:1rem;padding-right:1rem;padding-top:1rem;padding-bottom:0px}.org-vars{padding-left:1rem;padding-right:1rem;padding-top:1rem;padding-bottom:0px}.sol-vars{padding-top:0px;padding-bottom:0px;padding-left:1rem;padding-right:1rem;min-height:45%}.padding-1{padding:1rem}.light{background-color:#F4F4F4}";const Wt=class{constructor(i){t(this,i),this.solutionVariableSelected=o(this,"solutionVariableSelected",7),this.value="",this._solutionVariables=[],this._translations=void 0}valueWatchHandler(){this._solutionVariables=JSON.parse(this.value)}componentWillLoad(){return this._getTranslations()}render(){return i(a,null,i("div",null,i("h4",{class:"org-var-header"},this._translations.solVariables)),i("div",{class:"container-border"},i("calcite-tree",{id:"variable-label"},this._renderHierarchy(this._solutionVariables))))}_renderHierarchy(t){return t.map((t=>t.dependencies&&t.dependencies.length>0?i("calcite-tree-item",{onClick:t=>this._toggleExpand(t)},i("solution-item-icon",{type:t.type}),i("span",{class:"icon-text",title:t.title},t.title),i("calcite-tree",{slot:"children"},this._renderHierarchy(t.dependencies))):i("calcite-tree-item",{onClick:()=>this._treeItemSelected(t.id,t.value)},t.title)))}_treeItemSelected(t,i){this.solutionVariableSelected.emit({itemId:t,value:i})}_toggleExpand(t){var i;const e=null===(i=null==t?void 0:t.target)||void 0===i?void 0:i.closest("calcite-tree-item");e&&(e.expanded=!e.expanded)}async _getTranslations(){const t=await ct(this.el);this._translations=t[0]}get el(){return s(this)}static get watchers(){return{value:["valueWatchHandler"]}}};Wt.style=":host{display:block}.container-border{overflow-y:hidden}.org-var-header{margin-top:1rem;margin-bottom:1rem;margin-left:0px;margin-right:0px}.icon-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}";export{bt as calcite_shell_panel,ut as calcite_tab,mt as calcite_tab_nav,ft as calcite_tab_title,xt as calcite_tabs,zt as calcite_value_list,_t as calcite_value_list_item,It as json_editor,Lt as solution_item_details,Ht as solution_item_sharing,jt as solution_organization_variables,At as solution_resource_item,St as solution_template_data,Wt as solution_variables}
@@ -0,0 +1,18 @@
1
+ /*!
2
+ * Copyright 2022 Esri
3
+ * Licensed under the Apache License, Version 2.0
4
+ * http://www.apache.org/licenses/LICENSE-2.0
5
+ */
6
+ import{r as t,c as e,h as i,F as s,g as o,f as n,H as a}from"./p-78780f63.js";import{g as r}from"./p-77b43a94.js";import{t as l,i as c,e as h,f as d,q as p}from"./p-ca97465b.js";import{g as f}from"./p-fcefdfff.js";import{i as m}from"./p-1e2ffee3.js";import{s as u,a as v,c as g}from"./p-f10944e6.js";import{a as b,C as x,I as w,S as y}from"./p-ea83d12d.js";import{f as k,c as E,b as H,a as z,r as P,F as D}from"./p-0511c98c.js";import{d as j,a as I,c as C,u as A}from"./p-414240b2.js";import{o as M}from"./p-653af7e0.js";import{H as L}from"./p-259f6f81.js";import{c as O,d as B}from"./p-ede84883.js";import{u as F,c as S,s as $,d as R}from"./p-79ba73cb.js";import{c as T}from"./p-5b566d55.js";import{F as _}from"./p-f9e3a93d.js";import{g as U}from"./p-0c07ad8a.js";import"./p-29d68474.js";import"./p-a82f35c9.js";const W=["ArrowUp","ArrowDown","End","Home"],X=class{constructor(i){t(this,i),this.calciteActionMenuOpen=e(this,"calciteActionMenuOpen",6),this.actionElements=[],this.guid=`calcite-action-menu-${f()}`,this.menuId=`${this.guid}-menu`,this.menuButtonId=`${this.guid}-menu-button`,this.connectMenuButtonEl=()=>{const{menuButtonId:t,menuId:e,open:i,label:s}=this,o=this.slottedMenuButtonEl||this.defaultMenuButtonEl;this.menuButtonEl!==o&&(this.disconnectMenuButtonEl(),this.menuButtonEl=o,this.setTooltipReferenceElement(),o&&(o.active=i,o.setAttribute("aria-controls",e),o.setAttribute("aria-expanded",l(i)),o.setAttribute("aria-haspopup","true"),o.id||(o.id=t),o.label||(o.label=s),o.text||(o.text=s),o.addEventListener("pointerdown",this.menuButtonClick),o.addEventListener("keydown",this.menuButtonKeyDown)))},this.disconnectMenuButtonEl=()=>{const{menuButtonEl:t}=this;t&&(t.removeEventListener("pointerdown",this.menuButtonClick),t.removeEventListener("keydown",this.menuButtonKeyDown))},this.setMenuButtonEl=t=>{const e=t.target.assignedElements({flatten:!0}).filter((t=>null==t?void 0:t.matches("calcite-action")));this.slottedMenuButtonEl=e[0],this.connectMenuButtonEl()},this.setDefaultMenuButtonEl=t=>{this.defaultMenuButtonEl=t,this.connectMenuButtonEl()},this.handleCalciteActionClick=()=>{this.open=!1,this.setFocus()},this.menuButtonClick=t=>{c(t)&&this.toggleOpen()},this.updateTooltip=t=>{const e=t.target.assignedElements({flatten:!0}).filter((t=>null==t?void 0:t.matches("calcite-tooltip")));this.tooltipEl=e[0],this.setTooltipReferenceElement()},this.setTooltipReferenceElement=()=>{const{tooltipEl:t,expanded:e,menuButtonEl:i,open:s}=this;t&&(t.referenceElement=e||s?null:i)},this.updateAction=(t,e)=>{const{guid:i,activeMenuItemIndex:s}=this,o=`${i}-action-${e}`;t.tabIndex=-1,t.setAttribute("role","menuitem"),t.id||(t.id=o),t.toggleAttribute(b,e===s)},this.updateActions=t=>{null==t||t.forEach(this.updateAction)},this.handleDefaultSlotChange=t=>{const e=t.target.assignedElements({flatten:!0}).reduce(((t,e)=>(null==e?void 0:e.matches("calcite-action"))?(t.push(e),t):(null==e?void 0:e.matches("calcite-action-group"))?t.concat(Array.from(e.querySelectorAll("calcite-action"))):t),[]);this.actionElements=e},this.menuButtonKeyDown=t=>{const{key:e}=t,{actionElements:i,activeMenuItemIndex:s,open:o}=this;if(i.length){if(m(e)){if(t.preventDefault(),!o)return void this.toggleOpen();const e=i[s];e?e.click():this.toggleOpen(!1)}if("Tab"!==e)return"Escape"===e?(this.toggleOpen(!1),void t.preventDefault()):void this.handleActionNavigation(t,e,i);this.open=!1}},this.handleActionNavigation=(t,e,i)=>{if(!this.isValidKey(e,W))return;if(t.preventDefault(),!this.open)return this.toggleOpen(),"Home"!==e&&"ArrowDown"!==e||(this.activeMenuItemIndex=0),void("End"!==e&&"ArrowUp"!==e||(this.activeMenuItemIndex=i.length-1));"Home"===e&&(this.activeMenuItemIndex=0),"End"===e&&(this.activeMenuItemIndex=i.length-1);const s=this.activeMenuItemIndex;"ArrowUp"===e&&(this.activeMenuItemIndex=r(Math.max(s-1,-1),i.length)),"ArrowDown"===e&&(this.activeMenuItemIndex=r(s+1,i.length))},this.toggleOpenEnd=()=>{this.setFocus(),this.el.removeEventListener("calcitePopoverOpen",this.toggleOpenEnd)},this.toggleOpen=(t=!this.open)=>{this.el.addEventListener("calcitePopoverOpen",this.toggleOpenEnd),this.open=t},this.appearance="solid",this.expanded=!1,this.flipPlacements=void 0,this.label=void 0,this.open=!1,this.overlayPositioning="absolute",this.placement="auto",this.scale=void 0,this.menuButtonEl=void 0,this.activeMenuItemIndex=-1}componentWillLoad(){u(this)}componentDidLoad(){v(this)}disconnectedCallback(){this.disconnectMenuButtonEl()}expandedHandler(){this.open=!1,this.setTooltipReferenceElement()}openHandler(t){this.activeMenuItemIndex=this.open?0:-1,this.menuButtonEl&&(this.menuButtonEl.active=t),this.calciteActionMenuOpen.emit(),this.setTooltipReferenceElement()}closeCalciteActionMenuOnClick(t){c(t)&&(t.composedPath().includes(this.el)||(this.open=!1))}activeMenuItemIndexHandler(){this.updateActions(this.actionElements)}async setFocus(){return await g(this),h(this.menuButtonEl)}renderMenuButton(){const{appearance:t,label:e,scale:s,expanded:o}=this;return i("slot",{name:y.trigger,onSlotchange:this.setMenuButtonEl},i("calcite-action",{appearance:t,class:x.defaultTrigger,icon:w.menu,scale:s,text:e,textEnabled:o,ref:this.setDefaultMenuButtonEl}))}renderMenuItems(){const{actionElements:t,activeMenuItemIndex:e,open:s,menuId:o,menuButtonEl:n,label:a,placement:r,overlayPositioning:l,flipPlacements:c}=this,h=t[e];return i("calcite-popover",{flipPlacements:c,focusTrapDisabled:!0,label:a,offsetDistance:0,open:s,overlayPositioning:l,placement:r,pointerDisabled:!0,referenceElement:n},i("div",{"aria-activedescendant":(null==h?void 0:h.id)||null,"aria-labelledby":null==n?void 0:n.id,class:x.menu,id:o,onClick:this.handleCalciteActionClick,role:"menu",tabIndex:-1},i("slot",{onSlotchange:this.handleDefaultSlotChange})))}render(){return i(s,null,this.renderMenuButton(),this.renderMenuItems(),i("slot",{name:y.tooltip,onSlotchange:this.updateTooltip}))}isValidKey(t,e){return!!e.find((e=>e===t))}get el(){return o(this)}static get watchers(){return{expanded:["expandedHandler"],open:["openHandler"],activeMenuItemIndex:["activeMenuItemIndexHandler"]}}};X.style=":host{box-sizing:border-box;display:flex;flex-direction:column;font-size:var(--calcite-font-size-1);color:var(--calcite-color-text-2)}::slotted(calcite-action-group){border-block-end:1px solid var(--calcite-color-border-3)}::slotted(calcite-action-group:last-child){border-block-end:0}.default-trigger{position:relative;block-size:100%;flex:0 1 auto;align-self:stretch}slot[name=trigger]::slotted(calcite-action),calcite-action::slotted([slot=trigger]){position:relative;block-size:100%;flex:0 1 auto;align-self:stretch}.menu{max-block-size:45vh;flex-direction:column;flex-wrap:nowrap;overflow-y:auto;overflow-x:hidden;outline:2px solid transparent;outline-offset:2px}:host([hidden]){display:none}[hidden]{display:none}";
7
+ /*!
8
+ * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
9
+ * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
10
+ * v2.0.0
11
+ */
12
+ const Y="close-button-container",q="header",K="aria-controls",V="aria-expanded",G=new
13
+ /*!
14
+ * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
15
+ * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
16
+ * v2.0.0
17
+ */
18
+ class{constructor(){this.registeredElements=new Map,this.registeredElementCount=0,this.queryPopover=t=>{const{registeredElements:e}=this,i=t.find((t=>e.has(t)));return e.get(i)},this.togglePopovers=t=>{const e=t.composedPath(),i=this.queryPopover(e);i&&!i.triggerDisabled&&(i.open=!i.open),Array.from(this.registeredElements.values()).filter((t=>t!==i&&t.autoClose&&t.open&&!e.includes(t))).forEach((t=>t.open=!1))},this.keyHandler=t=>{t.defaultPrevented||("Escape"===t.key?this.closeAllPopovers():m(t.key)&&this.togglePopovers(t))},this.clickHandler=t=>{c(t)&&this.togglePopovers(t)}}registerElement(t,e){this.registeredElementCount++,this.registeredElements.set(t,e),1===this.registeredElementCount&&this.addListeners()}unregisterElement(t){this.registeredElements.delete(t)&&this.registeredElementCount--,0===this.registeredElementCount&&this.removeListeners()}closeAllPopovers(){Array.from(this.registeredElements.values()).forEach((t=>t.open=!1))}addListeners(){window.addEventListener("pointerdown",this.clickHandler,{capture:!0}),window.addEventListener("keydown",this.keyHandler,{capture:!0})}removeListeners(){window.removeEventListener("pointerdown",this.clickHandler,{capture:!0}),window.removeEventListener("keydown",this.keyHandler,{capture:!0})}},J=class{constructor(i){t(this,i),this.calcitePopoverBeforeClose=e(this,"calcitePopoverBeforeClose",6),this.calcitePopoverClose=e(this,"calcitePopoverClose",6),this.calcitePopoverBeforeOpen=e(this,"calcitePopoverBeforeOpen",6),this.calcitePopoverOpen=e(this,"calcitePopoverOpen",6),this.mutationObserver=T("mutation",(()=>this.updateFocusTrapElements())),this.guid=`calcite-popover-${f()}`,this.openTransitionProp="opacity",this.hasLoaded=!1,this.setTransitionEl=t=>{this.transitionEl=t},this.setFilteredPlacements=()=>{const{el:t,flipPlacements:e}=this;this.filteredFlipPlacements=e?k(e,t):null},this.setUpReferenceElement=(t=!0)=>{this.removeReferences(),this.effectiveReferenceElement=this.getReferenceElement(),E(this,this.effectiveReferenceElement,this.el);const{el:e,referenceElement:i,effectiveReferenceElement:s}=this;t&&i&&!s&&console.warn(`${e.tagName}: reference-element id "${i}" was not found.`,{el:e}),this.addReferences()},this.getId=()=>this.el.id||this.guid,this.setExpandedAttr=()=>{const{effectiveReferenceElement:t,open:e}=this;t&&"setAttribute"in t&&t.setAttribute(V,l(e))},this.addReferences=()=>{const{effectiveReferenceElement:t}=this;if(!t)return;const e=this.getId();"setAttribute"in t&&t.setAttribute(K,e),G.registerElement(t,this.el),this.setExpandedAttr()},this.removeReferences=()=>{const{effectiveReferenceElement:t}=this;t&&("removeAttribute"in t&&(t.removeAttribute(K),t.removeAttribute(V)),G.unregisterElement(t))},this.hide=()=>{this.open=!1},this.storeArrowEl=t=>{this.arrowEl=t,this.reposition(!0)},this.autoClose=!1,this.closable=!1,this.flipDisabled=!1,this.focusTrapDisabled=!1,this.pointerDisabled=!1,this.flipPlacements=void 0,this.heading=void 0,this.headingLevel=void 0,this.label=void 0,this.messageOverrides=void 0,this.messages=void 0,this.offsetDistance=H,this.offsetSkidding=0,this.open=!1,this.overlayPositioning="absolute",this.placement="auto",this.referenceElement=void 0,this.scale="m",this.triggerDisabled=!1,this.effectiveLocale="",this.floatingLayout="vertical",this.effectiveReferenceElement=void 0,this.defaultMessages=void 0}handleFocusTrapDisabled(t){this.open&&(t?j(this):I(this))}flipPlacementsHandler(){this.setFilteredPlacements(),this.reposition(!0)}onMessagesChange(){}offsetDistanceOffsetHandler(){this.reposition(!0)}offsetSkiddingHandler(){this.reposition(!0)}openHandler(){M(this),this.setExpandedAttr()}overlayPositioningHandler(){this.reposition(!0)}placementHandler(){this.reposition(!0)}referenceElementHandler(){this.setUpReferenceElement(),this.reposition(!0)}effectiveLocaleChange(){F(this,this.effectiveLocale)}connectedCallback(){this.setFilteredPlacements(),O(this),S(this),this.setUpReferenceElement(this.hasLoaded),C(this),this.open&&M(this),E(this,this.effectiveReferenceElement,this.el)}async componentWillLoad(){await $(this),u(this)}componentDidLoad(){v(this),this.referenceElement&&!this.effectiveReferenceElement&&this.setUpReferenceElement(),this.reposition(),this.hasLoaded=!0}disconnectedCallback(){this.removeReferences(),B(this),R(this),z(this,this.effectiveReferenceElement,this.el),j(this)}async reposition(t=!1){const{el:e,effectiveReferenceElement:i,placement:s,overlayPositioning:o,flipDisabled:n,filteredFlipPlacements:a,offsetDistance:r,offsetSkidding:l,arrowEl:c}=this;return P(this,{floatingEl:e,referenceEl:i,overlayPositioning:o,placement:s,flipDisabled:n,flipPlacements:a,offsetDistance:r,offsetSkidding:l,arrowEl:c,type:"popover"},t)}async setFocus(){await g(this),n(this.el),d(this.el)}async updateFocusTrapElements(){A(this)}getReferenceElement(){const{referenceElement:t,el:e}=this;return("string"==typeof t?p(e,{id:t}):t)||null}onBeforeOpen(){this.reposition(!0),this.calcitePopoverBeforeOpen.emit()}onOpen(){this.calcitePopoverOpen.emit(),I(this)}onBeforeClose(){this.calcitePopoverBeforeClose.emit()}onClose(){this.calcitePopoverClose.emit(),j(this),this.reposition(!0)}renderCloseButton(){const{messages:t,closable:e}=this;return e?i("div",{class:Y,key:Y},i("calcite-action",{appearance:"transparent",class:"close-button",onClick:this.hide,scale:this.scale,text:t.close,ref:t=>this.closeButtonEl=t},i("calcite-icon",{icon:"x",scale:U(this.scale)}))):null}renderHeader(){const{heading:t,headingLevel:e}=this,s=t?i(L,{class:"heading",level:e},t):null;return s?i("div",{class:q,key:q},s,this.renderCloseButton()):null}render(){const{effectiveReferenceElement:t,heading:e,label:s,open:o,pointerDisabled:n,floatingLayout:r}=this,c=t&&o,h=!c,d=n?null:i(_,{floatingLayout:r,key:"floating-arrow",ref:this.storeArrowEl});return i(a,{"aria-hidden":l(h),"aria-label":s,"aria-live":"polite","calcite-hydrated-hidden":h,id:this.getId(),role:"dialog"},i("div",{class:{[D.animation]:!0,[D.animationActive]:c},ref:this.setTransitionEl},d,i("div",{class:{"has-header":!!e,container:!0}},this.renderHeader(),i("div",{class:"content"},i("slot",null)),e?null:this.renderCloseButton())))}static get assetsDirs(){return["assets"]}get el(){return o(this)}static get watchers(){return{focusTrapDisabled:["handleFocusTrapDisabled"],flipPlacements:["flipPlacementsHandler"],messageOverrides:["onMessagesChange"],offsetDistance:["offsetDistanceOffsetHandler"],offsetSkidding:["offsetSkiddingHandler"],open:["openHandler"],overlayPositioning:["overlayPositioningHandler"],placement:["placementHandler"],referenceElement:["referenceElementHandler"],effectiveLocale:["effectiveLocaleChange"]}}};J.style=":host{--calcite-floating-ui-z-index:var(--calcite-popover-z-index, var(--calcite-z-index-popup));display:block;position:absolute;z-index:var(--calcite-floating-ui-z-index)}.calcite-floating-ui-anim{position:relative;transition:var(--calcite-floating-ui-transition);transition-property:transform, visibility, opacity;opacity:0;box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);z-index:var(--calcite-z-index);border-radius:0.25rem}:host([data-placement^=bottom]) .calcite-floating-ui-anim{transform:translateY(-5px)}:host([data-placement^=top]) .calcite-floating-ui-anim{transform:translateY(5px)}:host([data-placement^=left]) .calcite-floating-ui-anim{transform:translateX(5px)}:host([data-placement^=right]) .calcite-floating-ui-anim{transform:translateX(-5px)}:host([data-placement]) .calcite-floating-ui-anim--active{opacity:1;transform:translate(0)}:host([calcite-hydrated-hidden]){visibility:hidden !important;pointer-events:none}.calcite-floating-ui-arrow{pointer-events:none;position:absolute;z-index:calc(var(--calcite-z-index) * -1);fill:var(--calcite-color-foreground-1)}.calcite-floating-ui-arrow__stroke{stroke:var(--calcite-color-border-3)}:host([scale=s]) .heading{padding-inline:0.75rem;padding-block:0.5rem;font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=m]) .heading{padding-inline:1rem;padding-block:0.75rem;font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=l]) .heading{padding-inline:1.25rem;padding-block:1rem;font-size:var(--calcite-font-size-1);line-height:1.375}:host{pointer-events:none}:host([open]){pointer-events:initial}.calcite-floating-ui-anim{border-radius:0.25rem;border-width:1px;border-style:solid;border-color:var(--calcite-color-border-3);background-color:var(--calcite-color-foreground-1)}.arrow::before{outline:1px solid var(--calcite-color-border-3)}.header{display:flex;flex:1 1 auto;align-items:stretch;justify-content:flex-start;border-width:0px;border-block-end-width:1px;border-style:solid;border-block-end-color:var(--calcite-color-border-3)}.heading{margin:0px;display:block;flex:1 1 auto;align-self:center;white-space:normal;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-1);word-wrap:break-word;word-break:break-word}.container{position:relative;display:flex;block-size:100%;flex-direction:row;flex-wrap:nowrap;border-radius:0.25rem;color:var(--calcite-color-text-1)}.container.has-header{flex-direction:column}.content{display:flex;block-size:100%;inline-size:100%;flex-direction:column;flex-wrap:nowrap;align-self:center;word-wrap:break-word;word-break:break-word}.close-button-container{display:flex;overflow:hidden;flex:0 0 auto;border-start-end-radius:0.25rem;border-end-end-radius:0.25rem}::slotted(calcite-panel),::slotted(calcite-flow){block-size:100%}:host([hidden]){display:none}[hidden]{display:none}";export{X as calcite_action_menu,J as calcite_popover}