@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,7 +3,7 @@
3
3
  * Licensed under the Apache License, Version 2.0
4
4
  * http://www.apache.org/licenses/LICENSE-2.0
5
5
  */
6
- import{c as t,g as n}from"./p-e1a4994d.js";import{a as i}from"./p-78780f63.js";import{l as r}from"./p-48ff9cea.js";import{q as e}from"./p-531d91d6.js";import"./p-d89fff3a.js";import"./p-a230b270.js";import{_ as s,r as o,c as a,g as u}from"./p-220ec0d1.js";
6
+ import{c as t,g as n}from"./p-e1a4994d.js";import{a as i}from"./p-78780f63.js";import{l as r}from"./p-48ff9cea.js";import{q as e}from"./p-b5d1b979.js";import"./p-d89fff3a.js";import"./p-a230b270.js";import{_ as s,r as o,c as a,g as u}from"./p-220ec0d1.js";
7
7
  /* @preserve
8
8
  * arcgis-pdf-creator v0.0.1
9
9
  * Thu Apr 27 2023 17:20:32 GMT-0700 (Pacific Daylight Time)
@@ -310,7 +310,7 @@ function(t){var n=function(t){for(var n=t.length,i=new Uint8Array(n),r=0;r<n;r++
310
310
  * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
311
311
  * ====================================================================
312
312
  */
313
- function(){function t(){return(Z.canvg?Promise.resolve(Z.canvg):import("./p-dfdb8411.js")).catch((function(t){return Promise.reject(new Error("Could not load canvg: "+t))})).then((function(t){return t.default?t.default:t}))}Pt.API.addSvgAsImage=function(n,i,r,e,s,o,a,u){if(isNaN(i)||isNaN(r))throw tt.error("jsPDF.addSvgAsImage: Invalid coordinates",arguments),new Error("Invalid coordinates passed to jsPDF.addSvgAsImage");if(isNaN(e)||isNaN(s))throw tt.error("jsPDF.addSvgAsImage: Invalid measurements",arguments),new Error("Invalid measurements (width and/or height) passed to jsPDF.addSvgAsImage");var f=document.createElement("canvas");f.width=e,f.height=s;var c=f.getContext("2d");c.fillStyle="#fff",c.fillRect(0,0,f.width,f.height);var h={ignoreMouse:!0,ignoreAnimation:!0,ignoreDimensions:!0},l=this;return t().then((function(t){return t.fromString(c,n,h)}),(function(){return Promise.reject(new Error("Could not load canvg."))})).then((function(t){return t.render(h)})).then((function(){l.addImage(f.toDataURL("image/jpeg",1),i,r,e,s,a,u)}))}}(),Pt.API.putTotalPages=function(t){var n,i=0;parseInt(this.internal.getFont().id.substr(1),10)<15?(n=new RegExp(t,"g"),i=this.internal.getNumberOfPages()):(n=new RegExp(this.pdfEscape16(t,this.internal.getFont()),"g"),i=this.pdfEscape16(this.internal.getNumberOfPages()+"",this.internal.getFont()));for(var r=1;r<=this.internal.getNumberOfPages();r++)for(var e=0;e<this.internal.pages[r].length;e++)this.internal.pages[r][e]=this.internal.pages[r][e].replace(n,i);return this},Pt.API.viewerPreferences=function(t,n){var i;t=t||{},n=n||!1;var r,e,s,o={HideToolbar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideMenubar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideWindowUI:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},FitWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},CenterWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},DisplayDocTitle:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.4},NonFullScreenPageMode:{defaultValue:"UseNone",value:"UseNone",type:"name",explicitSet:!1,valueSet:["UseNone","UseOutlines","UseThumbs","UseOC"],pdfVersion:1.3},Direction:{defaultValue:"L2R",value:"L2R",type:"name",explicitSet:!1,valueSet:["L2R","R2L"],pdfVersion:1.3},ViewArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},ViewClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintScaling:{defaultValue:"AppDefault",value:"AppDefault",type:"name",explicitSet:!1,valueSet:["AppDefault","None"],pdfVersion:1.6},Duplex:{defaultValue:"",value:"none",type:"name",explicitSet:!1,valueSet:["Simplex","DuplexFlipShortEdge","DuplexFlipLongEdge","none"],pdfVersion:1.7},PickTrayByPDFSize:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.7},PrintPageRange:{defaultValue:"",value:"",type:"array",explicitSet:!1,valueSet:null,pdfVersion:1.7},NumCopies:{defaultValue:1,value:1,type:"integer",explicitSet:!1,valueSet:null,pdfVersion:1.7}},a=Object.keys(o),u=[],f=0,c=0,h=0;function v(t,n){var i,r=!1;for(i=0;i<t.length;i+=1)t[i]===n&&(r=!0);return r}if(void 0===this.internal.viewerpreferences&&(this.internal.viewerpreferences={},this.internal.viewerpreferences.configuration=JSON.parse(JSON.stringify(o)),this.internal.viewerpreferences.isSubscribed=!1),i=this.internal.viewerpreferences.configuration,"reset"===t||!0===n){var d=a.length;for(h=0;h<d;h+=1)i[a[h]].value=i[a[h]].defaultValue,i[a[h]].explicitSet=!1}if("object"===l(t))for(e in t)if(s=t[e],v(a,e)&&void 0!==s){if("boolean"===i[e].type&&"boolean"==typeof s)i[e].value=s;else if("name"===i[e].type&&v(i[e].valueSet,s))i[e].value=s;else if("integer"===i[e].type&&Number.isInteger(s))i[e].value=s;else if("array"===i[e].type){for(f=0;f<s.length;f+=1)if(r=!0,1===s[f].length&&"number"==typeof s[f][0])u.push(String(s[f]-1));else if(s[f].length>1){for(c=0;c<s[f].length;c+=1)"number"!=typeof s[f][c]&&(r=!1);!0===r&&u.push([s[f][0]-1,s[f][1]-1].join(" "))}i[e].value="["+u.join(" ")+"]"}else i[e].value=i[e].defaultValue;i[e].explicitSet=!0}return!1===this.internal.viewerpreferences.isSubscribed&&(this.internal.events.subscribe("putCatalog",(function(){var t,n=[];for(t in i)!0===i[t].explicitSet&&n.push("name"===i[t].type?"/"+t+" /"+i[t].value:"/"+t+" "+i[t].value);0!==n.length&&this.internal.write("/ViewerPreferences\n<<\n"+n.join("\n")+"\n>>")})),this.internal.viewerpreferences.isSubscribed=!0),this.internal.viewerpreferences.configuration=i,this
313
+ function(){function t(){return(Z.canvg?Promise.resolve(Z.canvg):import("./p-72dbfa77.js")).catch((function(t){return Promise.reject(new Error("Could not load canvg: "+t))})).then((function(t){return t.default?t.default:t}))}Pt.API.addSvgAsImage=function(n,i,r,e,s,o,a,u){if(isNaN(i)||isNaN(r))throw tt.error("jsPDF.addSvgAsImage: Invalid coordinates",arguments),new Error("Invalid coordinates passed to jsPDF.addSvgAsImage");if(isNaN(e)||isNaN(s))throw tt.error("jsPDF.addSvgAsImage: Invalid measurements",arguments),new Error("Invalid measurements (width and/or height) passed to jsPDF.addSvgAsImage");var f=document.createElement("canvas");f.width=e,f.height=s;var c=f.getContext("2d");c.fillStyle="#fff",c.fillRect(0,0,f.width,f.height);var h={ignoreMouse:!0,ignoreAnimation:!0,ignoreDimensions:!0},l=this;return t().then((function(t){return t.fromString(c,n,h)}),(function(){return Promise.reject(new Error("Could not load canvg."))})).then((function(t){return t.render(h)})).then((function(){l.addImage(f.toDataURL("image/jpeg",1),i,r,e,s,a,u)}))}}(),Pt.API.putTotalPages=function(t){var n,i=0;parseInt(this.internal.getFont().id.substr(1),10)<15?(n=new RegExp(t,"g"),i=this.internal.getNumberOfPages()):(n=new RegExp(this.pdfEscape16(t,this.internal.getFont()),"g"),i=this.pdfEscape16(this.internal.getNumberOfPages()+"",this.internal.getFont()));for(var r=1;r<=this.internal.getNumberOfPages();r++)for(var e=0;e<this.internal.pages[r].length;e++)this.internal.pages[r][e]=this.internal.pages[r][e].replace(n,i);return this},Pt.API.viewerPreferences=function(t,n){var i;t=t||{},n=n||!1;var r,e,s,o={HideToolbar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideMenubar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideWindowUI:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},FitWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},CenterWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},DisplayDocTitle:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.4},NonFullScreenPageMode:{defaultValue:"UseNone",value:"UseNone",type:"name",explicitSet:!1,valueSet:["UseNone","UseOutlines","UseThumbs","UseOC"],pdfVersion:1.3},Direction:{defaultValue:"L2R",value:"L2R",type:"name",explicitSet:!1,valueSet:["L2R","R2L"],pdfVersion:1.3},ViewArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},ViewClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintScaling:{defaultValue:"AppDefault",value:"AppDefault",type:"name",explicitSet:!1,valueSet:["AppDefault","None"],pdfVersion:1.6},Duplex:{defaultValue:"",value:"none",type:"name",explicitSet:!1,valueSet:["Simplex","DuplexFlipShortEdge","DuplexFlipLongEdge","none"],pdfVersion:1.7},PickTrayByPDFSize:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.7},PrintPageRange:{defaultValue:"",value:"",type:"array",explicitSet:!1,valueSet:null,pdfVersion:1.7},NumCopies:{defaultValue:1,value:1,type:"integer",explicitSet:!1,valueSet:null,pdfVersion:1.7}},a=Object.keys(o),u=[],f=0,c=0,h=0;function v(t,n){var i,r=!1;for(i=0;i<t.length;i+=1)t[i]===n&&(r=!0);return r}if(void 0===this.internal.viewerpreferences&&(this.internal.viewerpreferences={},this.internal.viewerpreferences.configuration=JSON.parse(JSON.stringify(o)),this.internal.viewerpreferences.isSubscribed=!1),i=this.internal.viewerpreferences.configuration,"reset"===t||!0===n){var d=a.length;for(h=0;h<d;h+=1)i[a[h]].value=i[a[h]].defaultValue,i[a[h]].explicitSet=!1}if("object"===l(t))for(e in t)if(s=t[e],v(a,e)&&void 0!==s){if("boolean"===i[e].type&&"boolean"==typeof s)i[e].value=s;else if("name"===i[e].type&&v(i[e].valueSet,s))i[e].value=s;else if("integer"===i[e].type&&Number.isInteger(s))i[e].value=s;else if("array"===i[e].type){for(f=0;f<s.length;f+=1)if(r=!0,1===s[f].length&&"number"==typeof s[f][0])u.push(String(s[f]-1));else if(s[f].length>1){for(c=0;c<s[f].length;c+=1)"number"!=typeof s[f][c]&&(r=!1);!0===r&&u.push([s[f][0]-1,s[f][1]-1].join(" "))}i[e].value="["+u.join(" ")+"]"}else i[e].value=i[e].defaultValue;i[e].explicitSet=!0}return!1===this.internal.viewerpreferences.isSubscribed&&(this.internal.events.subscribe("putCatalog",(function(){var t,n=[];for(t in i)!0===i[t].explicitSet&&n.push("name"===i[t].type?"/"+t+" /"+i[t].value:"/"+t+" "+i[t].value);0!==n.length&&this.internal.write("/ViewerPreferences\n<<\n"+n.join("\n")+"\n>>")})),this.internal.viewerpreferences.isSubscribed=!0),this.internal.viewerpreferences.configuration=i,this
314
314
  /** ====================================================================
315
315
  * @license
316
316
  * jsPDF XMP metadata plugin
@@ -454,7 +454,7 @@ var Ni=function(){return Ni=Object.assign||function(t){for(var n,i=1,r=arguments
454
454
  * See the License for the specific language governing permissions and
455
455
  * limitations under the License.
456
456
  */
457
- const Li="|";async function gi(t,n,i=!0,s=!1,o=!1){const a=[];return Object.keys(n).forEach((u=>{var f;const c=n[u];a.push(async function(t,n,i,s=!0,o=!1){const a=await Mi(t,n,s),u=a.layer;let f=[];if(void 0!==a.relationshipId){const t=await function(t,n,i,r){const e=t.substring(t.lastIndexOf("/")+1);return isNaN(parseInt(e))&&(t+="/"+n.toString()),ji({definitionExpression:"1=1",httpMethod:"POST",objectIds:r,outFields:"*",relationshipId:i,url:t})}(n.url,n.layerId,a.relationshipId,i),r=[];t.forEach((t=>{t.relatedRecords.forEach((t=>{r.push(t.attributes)}))}));const e=n.objectIdField;if(r.sort(((t,n)=>t[e]<n[e]?-1:t[e]>n[e]?1:0)),f=r.filter(((t,n)=>0===n||t[e]!==r[n-1][e])),0===f.length)return Promise.resolve([])}else f=await e(i,u,[],!1);const c={},h={},l={};u.fields?u.fields.forEach((t=>{const n=t.name.toLowerCase();c[n]=t.name,l[n]=t.domain,h[n]=t.type})):Object.keys(f[0]).forEach((t=>{const n=t.toLowerCase();c[n]=t}));const v="pattern"===a.labelFormat.type?await async function(t,n,i,e,s,o,a,u=!1){var f;const[c]=await r(["esri/intl"]),h=function(t){const n=[];let i=0;for(;i<t.length;){const r=t.indexOf("{",i);if(r<0)break;const e=t.indexOf("}",r);if(e<0)break;const s=t.substring(r,e+1);n.push(s),i=e+1}const r=function(t){var n;return null!==(n=t.match(/\{expression\/\w+\}/g))&&void 0!==n?n:[]}(t);return n.filter((t=>r.indexOf(t)<0))}(a),l=h.map((t=>t.substring(1,t.length-1))),v=await async function(t,n){const i={};if(!Array.isArray(n.popupTemplate.expressionInfos)||0===n.popupTemplate.expressionInfos.length)return Promise.resolve(i);const e=t.match(/\{expression\/\w+\}/g);if(!e)return Promise.resolve(i);const[s]=await r(["esri/arcade"]),o={variables:[{name:"$feature",type:"feature"},{name:"$layer",type:"featureSet"},{name:"$datastore",type:"featureSetCollection"},{name:"$map",type:"featureSetCollection"}]},a={};e.forEach((t=>{const i=t.substring(t.indexOf("/")+1,t.length-1);(n.popupTemplate.expressionInfos||[]).forEach((t=>{t.name===i&&(a[i]=s.createArcadeExecutor(t.expression,o))}))}));const u=Object.values(a);return Promise.all(u).then((t=>{const n=Object.keys(a);for(let r=0;r<n.length;++r)i[n[r]]=t[r].valueOf();return i}))}(a,t),d=null!==(f=a.match(/\{expression\/\w+\}/g))&&void 0!==f?f:[],w=await Promise.all(n.map((async n=>{var r;let u=a;for(let i=0;i<d.length;i++){const r=d[i],e=r.substring(r.indexOf("/")+1,r.length-1),s=await v[e].executeAsync({$feature:n,$layer:t});u=u.replace(r,s)}const f=null!==(r=n.attributes)&&void 0!==r?r:n;l.forEach(((t,n)=>{const r=t.toLowerCase(),a=Pi(f[i[r]],e[r],s[r],o[r],c);u=u.replace(h[n],a)}));let w=u.split(Li);return w=w.map((t=>Si(t))),w})));return u&&w.unshift(l),Promise.resolve(w)}(n,f,c,h,l,a.attributeFormats,a.labelFormat.format,o):"executor"===a.labelFormat.type?await async function(t,n){const i=(await Promise.all(t.map((async t=>n.executeAsync({$feature:t}))))).filter((t=>t.text)).map((t=>Si(t.text).split(Li)));return Promise.resolve(i)}(f,a.labelFormat.format):await async function(t,n,i,e=!1){const[s]=await r(["esri/intl"]),o=t.map((t=>Object.keys(t.attributes).map((r=>{const e=r.toLowerCase();return Pi(t.attributes[r],n[e],i[e],null,s)}))));if(e){const n=[];Object.keys(t[0].attributes).forEach((t=>{n.push(t)})),o.unshift(n)}return Promise.resolve(o)}(f,h,l,o);return Promise.resolve(v)}(t,(null===(f=c.layerView)||void 0===f?void 0:f.layer)||c.layer,c.ids,i,s)),o&&a.push(Promise.resolve([[u]]))})),(await Promise.all(a)).reduce(((t,n)=>t.concat(n)),[])}async function Ai(t,n,i,r=!1,e=!1){let s=await gi(t,n,i,e,!0);s=r?ki(s):s;const o=Object.keys(n);let a=[];return s.forEach((t=>{const i=t[0];o.indexOf(i)<0?a.push(t):(
457
+ const Li="|";async function gi(t,n,i=!0,s=!1,o=!1,a=[]){const u=[];return Object.keys(n).forEach((f=>{var c;const h=n[f];u.push(async function(t,n,i,s=!0,o=!1,a=[]){const u=await Mi(t,n,s),f=u.layer;let c=[];if(void 0!==u.relationshipId){const t=await function(t,n,i,r){const e=t.substring(t.lastIndexOf("/")+1);return isNaN(parseInt(e))&&(t+="/"+n.toString()),ji({definitionExpression:"1=1",httpMethod:"POST",objectIds:r,outFields:"*",relationshipId:i,url:t})}(n.url,n.layerId,u.relationshipId,i),r=[];t.forEach((t=>{t.relatedRecords.forEach((t=>{r.push(t.attributes)}))}));const e=n.objectIdField;if(r.sort(((t,n)=>t[e]<n[e]?-1:t[e]>n[e]?1:0)),c=r.filter(((t,n)=>0===n||t[e]!==r[n-1][e])),0===c.length)return Promise.resolve([])}else{const t=a.length>0?a:void 0;c=await e(i,f,[],!1,void 0,t)}const h={},l={},v={};f.fields?f.fields.forEach((t=>{if(a.indexOf(t.name.toLowerCase())>-1){const n=t.name.toLowerCase();h[n]=t.name,v[n]=t.domain,l[n]=t.type}})):Object.keys(c[0]).forEach((t=>{if(a.indexOf(t.toLowerCase())>-1){const n=t.toLowerCase();h[n]=t}}));const d="pattern"===u.labelFormat.type?await async function(t,n,i,e,s,o,a,u=!1){var f;const[c]=await r(["esri/intl"]),h=function(t){const n=[];let i=0;for(;i<t.length;){const r=t.indexOf("{",i);if(r<0)break;const e=t.indexOf("}",r);if(e<0)break;const s=t.substring(r,e+1);n.push(s),i=e+1}const r=function(t){var n;return null!==(n=t.match(/\{expression\/\w+\}/g))&&void 0!==n?n:[]}(t);return n.filter((t=>r.indexOf(t)<0))}(a),l=h.map((t=>t.substring(1,t.length-1))),v=await async function(t,n){const i={};if(!Array.isArray(n.popupTemplate.expressionInfos)||0===n.popupTemplate.expressionInfos.length)return Promise.resolve(i);const e=t.match(/\{expression\/\w+\}/g);if(!e)return Promise.resolve(i);const[s]=await r(["esri/arcade"]),o={variables:[{name:"$feature",type:"feature"},{name:"$layer",type:"featureSet"},{name:"$datastore",type:"featureSetCollection"},{name:"$map",type:"featureSetCollection"}]},a={};e.forEach((t=>{const i=t.substring(t.indexOf("/")+1,t.length-1);(n.popupTemplate.expressionInfos||[]).forEach((t=>{t.name===i&&(a[i]=s.createArcadeExecutor(t.expression,o))}))}));const u=Object.values(a);return Promise.all(u).then((t=>{const n=Object.keys(a);for(let r=0;r<n.length;++r)i[n[r]]=t[r].valueOf();return i}))}(a,t),d=null!==(f=a.match(/\{expression\/\w+\}/g))&&void 0!==f?f:[],w=await Promise.all(n.map((async n=>{var r;let u=a;for(let i=0;i<d.length;i++){const r=d[i],e=r.substring(r.indexOf("/")+1,r.length-1),s=await v[e].executeAsync({$feature:n,$layer:t});u=u.replace(r,s)}const f=null!==(r=n.attributes)&&void 0!==r?r:n;l.forEach(((t,n)=>{const r=t.toLowerCase(),a=Pi(f[i[r]],e[r],s[r],o[r],c);u=u.replace(h[n],a)}));let w=u.split(Li);return w=w.map((t=>Si(t))),w})));return u&&w.unshift(l),Promise.resolve(w)}(n,c,h,l,v,u.attributeFormats,u.labelFormat.format,o):"executor"===u.labelFormat.type?await async function(t,n){const i=(await Promise.all(t.map((async t=>n.executeAsync({$feature:t}))))).filter((t=>t.text)).map((t=>Si(t.text).split(Li)));return Promise.resolve(i)}(c,u.labelFormat.format):await async function(t,n,i,e=!1){const[s]=await r(["esri/intl"]),o=t.map((t=>Object.keys(t.attributes).map((r=>{const e=r.toLowerCase();return Pi(t.attributes[r],n[e],i[e],null,s)}))));if(e){const n=[];Object.keys(t[0].attributes).forEach((t=>{n.push(t)})),o.unshift(n)}return Promise.resolve(o)}(c,l,v,o);return Promise.resolve(d)}(t,(null===(c=h.layerView)||void 0===c?void 0:c.layer)||h.layer,h.ids,i,s,a)),o&&u.push(Promise.resolve([[f]]))})),(await Promise.all(u)).reduce(((t,n)=>t.concat(n)),[])}async function Ai(t,n,i,r=!1,e=!1,s=[]){let o=await gi(t,n,i,e,!0,s);o=r?ki(o):o;const a=Object.keys(n);let u=[];return o.forEach((t=>{const i=t[0];a.indexOf(i)<0?u.push(t):(
458
458
  /** @license
459
459
  * Copyright 2022 Esri
460
460
  *
@@ -486,4 +486,4 @@ function(t,n){const i=n.map((t=>Object.values(t).map((t=>`"${t}"`)).join(",")+"\
486
486
  * See the License for the specific language governing permissions and
487
487
  * limitations under the License.
488
488
  */
489
- function(t,n){const i=document.createElement("a");void 0!==i.download&&(i.href=URL.createObjectURL(new Blob(n,{type:"text/csv;charset=utf-8;"})),i.download=`${t}.csv`||"export.csv",i.style.visibility="hidden",document.body.appendChild(i),i.click(),document.body.removeChild(i))}(t,i)}(qi(Ei(n,new RegExp(`\\b${i}\\b`))),a),a=[])})),Promise.resolve()}async function yi(t,n,r,e=!1,s="",o=""){let a=await gi(t,n);const u=Ei(n);return a=a.map((t=>t.filter((t=>t.length>0)))).filter((t=>t.length>0)),a=e?ki(a):a,function(t,n,r,e="",s=""){!function(t,n,r,e="",s=""){const o=new bi;o.initialize({pageType:"ANSI_A"},i("../assets/arcgis-pdf-creator/"),"en",t).then((()=>{const t=new pi;t.initialize(o).then((async()=>{const i=r.labelSpec;let a=1;if(s){const n=i.pageProperties,r=c.getPageSize(n.pageType);o.drawImage(s,{x:n.leftMargin,y:n.topMargin,width:r.width-n.leftMargin-n.rightMargin,height:r.height-n.topMargin-n.bottomMargin}),e&&t.drawSupplementalText(e,0,-.1),o.addPage(),++a}await t.addLabelsToDoc(n,i,a,e),o.save()}))}))}(t,n,r,e,s)}(s||qi(u),a,r,s,o),Promise.resolve()}function ki(t){const n=t.map((t=>JSON.stringify(t))),i=new Set(n);return Array.from(i,(t=>JSON.parse(t)))}function Si(t){for(t=(t=(t=(t=(t=(t=t.replace(/<br\s*\/?>/gi,Li)).replace(/<p[^>]*>/gi,Li).trim().replace(/^\|/,"")).replace(/<\/p>/gi,"")).replace(/\n/gi,"|")).replace(/<[\s.]*[^<>]*\/?>/gi,"").replace(/\xA0/gi," ").replace(/&lt;/gi,"<").replace(/&gt;/gi,">").replace(/&nbsp;/gi," ")).replace(/\s*\|\s*/g,"|");t.match(/\|\|/);)t=t.replace(/\|\|/,"|");return(t=t.replace(/^\|/,"")).replace(/\|$/,"")}function xi(t,n=!1){const i=[];return t.forEach((t=>{(t.visible||n)&&i.push(`{${t.fieldName}}`)})),{type:"pattern",format:i.join(Li)}}function qi(t){return t.length>0?t.join(", "):"download"}function ji(t,n=[],i=0){return function(t){var n=function(t,n,i){var r=s(s({params:{}},i),t);return r.params=["objectIds","relationshipId","definitionExpression","outFields"].reduce((function(n,i){return(t[i]||"boolean"==typeof t[i])&&(n[i]=t[i]),n}),r.params),["params","httpMethod","rawResponse","authentication","portal","fetch","maxUrlLength","headers"].reduce((function(t,n){return r[n]&&(t[n]=r[n]),t}),{})}(t,0,{httpMethod:"GET",params:Ni({definitionExpression:"1=1",outFields:"*",relationshipId:0},t.params)});return o(a(t.url)+"/queryRelatedRecords",n)}(Object.assign(Object.assign({},t),{params:{resultOffset:i}})).then((r=>(n.push(...r.relatedRecordGroups),r.exceededTransferLimit?ji(t,n,i+r.relatedRecordGroups.length):Promise.resolve(n))))}async function Mi(t,n,i){var e,s;let o={layer:n,attributeFormats:{},relationshipId:void 0,labelFormat:{type:"unsupported",format:void 0}};if(n.popupEnabled&&(n.popupTemplate.fieldInfos.forEach((t=>{t.format&&(o.attributeFormats[t.fieldName.toLowerCase()]=t.format)})),i)){const a=null===(s=null===(e=n.popupTemplate)||void 0===e?void 0:e.content[0])||void 0===s?void 0:s.type;if("relationship"===a){const r=n.popupTemplate.content[0].relationshipId,e=n.relationships.find((t=>t.id===r));let s=t.layers.toArray().concat(t.tables.toArray());if(s=s.filter((t=>"feature"===t.type&&t.layerId===e.relatedTableId)),s.length>0)o=await Mi(t,s[0],i),o.relationshipId=r;else{s=t.layers.toArray().concat(t.tables.toArray());const e=[];let a;s=s.filter((t=>{if("feature"===t.type&&t.layerId!=n.layerId&&t.url){const n=t.url+"/"+t.layerId.toString();return e.push(u(n)),!0}return!1})),(await Promise.all(e)).some(((n,e)=>!(!n.relationships||!n.relationships.some((t=>t.id===r))||(a=Mi(t,s[e],i),0))))?(o=await a,o.relationshipId=r):o.labelFormat=xi(n.popupTemplate.fieldInfos)}}else"fields"===a?(o.labelFormat=xi(n.popupTemplate.fieldInfos),0===o.labelFormat.format.length&&(o.labelFormat=n.popupTemplate.title&&"string"==typeof n.popupTemplate.title?{type:"pattern",format:n.popupTemplate.title}:xi(n.popupTemplate.fieldInfos,!0))):o.labelFormat="text"===a?{type:"pattern",format:Si(n.popupTemplate.content[0].text)}:"expression"===a?await async function(t){const[n]=await r(["esri/arcade"]),i=await n.createArcadeExecutor(t.expression,{variables:[{name:"$feature",type:"feature"},{name:"$layer",type:"featureSet"},{name:"$datastore",type:"featureSetCollection"},{name:"$map",type:"featureSetCollection"}]});return Promise.resolve({type:"executor",format:i})}(n.popupTemplate.content[0].expressionInfo):xi(n.popupTemplate.fieldInfos)}return Promise.resolve(o)}function Ei(t,n=/.+/){let i=[];return Object.keys(t).forEach((r=>{const e=t[r];n.test(r)&&(i=i.concat(e.selectionSetNames))})),i}function Pi(t,n,i,r,e){if(null==t)return"";if(i&&"coded-value"===i.type)return i.getName(t).toString();{let i=t;switch(n){case"date":if(null==r?void 0:r.dateFormat){const t=e.convertDateFormatToIntlOptions(r.dateFormat);i=e.formatDate(i,t)}else i=e.formatDate(i);i=i.replace(/\xe2\x80\xaf/g,"");break;case"date-only":if(null==r?void 0:r.dateFormat){const t=e.convertDateFormatToIntlOptions(r.dateFormat);i=e.formatDateOnly(i,t)}else i=e.formatDateOnly(i);break;case"time-only":if(null==r?void 0:r.dateFormat){const t=e.convertDateFormatToIntlOptions(r.dateFormat);i=e.formatTimeOnly(i,t)}else i=e.formatTimeOnly(i);break;case"double":case"integer":case"long":case"small-integer":if(r){const t=e.convertNumberFormatToIntlOptions(r);i=e.formatNumber(i,t)}else i=e.formatNumber(i)}return i}}export{h as _,yi as a,gi as c,Ai as d,ki as r}
489
+ function(t,n){const i=document.createElement("a");void 0!==i.download&&(i.href=URL.createObjectURL(new Blob(n,{type:"text/csv;charset=utf-8;"})),i.download=`${t}.csv`||"export.csv",i.style.visibility="hidden",document.body.appendChild(i),i.click(),document.body.removeChild(i))}(t,i)}(qi(Ei(n,new RegExp(`\\b${i}\\b`))),u),u=[])})),Promise.resolve()}async function yi(t,n,r,e=!1,s="",o=""){let a=await gi(t,n);const u=Ei(n);return a=a.map((t=>t.filter((t=>t.length>0)))).filter((t=>t.length>0)),a=e?ki(a):a,function(t,n,r,e="",s=""){!function(t,n,r,e="",s=""){const o=new bi;o.initialize({pageType:"ANSI_A"},i("../assets/arcgis-pdf-creator/"),"en",t).then((()=>{const t=new pi;t.initialize(o).then((async()=>{const i=r.labelSpec;let a=1;if(s){const n=i.pageProperties,r=c.getPageSize(n.pageType);o.drawImage(s,{x:n.leftMargin,y:n.topMargin,width:r.width-n.leftMargin-n.rightMargin,height:r.height-n.topMargin-n.bottomMargin}),e&&t.drawSupplementalText(e,0,-.1),o.addPage(),++a}await t.addLabelsToDoc(n,i,a,e),o.save()}))}))}(t,n,r,e,s)}(s||qi(u),a,r,s,o),Promise.resolve()}function ki(t){const n=t.map((t=>JSON.stringify(t))),i=new Set(n);return Array.from(i,(t=>JSON.parse(t)))}function Si(t){for(t=(t=(t=(t=(t=(t=t.replace(/<br\s*\/?>/gi,Li)).replace(/<p[^>]*>/gi,Li).trim().replace(/^\|/,"")).replace(/<\/p>/gi,"")).replace(/\n/gi,"|")).replace(/<[\s.]*[^<>]*\/?>/gi,"").replace(/\xA0/gi," ").replace(/&lt;/gi,"<").replace(/&gt;/gi,">").replace(/&nbsp;/gi," ")).replace(/\s*\|\s*/g,"|");t.match(/\|\|/);)t=t.replace(/\|\|/,"|");return(t=t.replace(/^\|/,"")).replace(/\|$/,"")}function xi(t,n=!1){const i=[];return t.forEach((t=>{(t.visible||n)&&i.push(`{${t.fieldName}}`)})),{type:"pattern",format:i.join(Li)}}function qi(t){return t.length>0?t.join(", "):"download"}function ji(t,n=[],i=0){return function(t){var n=function(t,n,i){var r=s(s({params:{}},i),t);return r.params=["objectIds","relationshipId","definitionExpression","outFields"].reduce((function(n,i){return(t[i]||"boolean"==typeof t[i])&&(n[i]=t[i]),n}),r.params),["params","httpMethod","rawResponse","authentication","portal","fetch","maxUrlLength","headers"].reduce((function(t,n){return r[n]&&(t[n]=r[n]),t}),{})}(t,0,{httpMethod:"GET",params:Ni({definitionExpression:"1=1",outFields:"*",relationshipId:0},t.params)});return o(a(t.url)+"/queryRelatedRecords",n)}(Object.assign(Object.assign({},t),{params:{resultOffset:i}})).then((r=>(n.push(...r.relatedRecordGroups),r.exceededTransferLimit?ji(t,n,i+r.relatedRecordGroups.length):Promise.resolve(n))))}async function Mi(t,n,i){var e,s;let o={layer:n,attributeFormats:{},relationshipId:void 0,labelFormat:{type:"unsupported",format:void 0}};if(n.popupEnabled&&(n.popupTemplate.fieldInfos.forEach((t=>{t.format&&(o.attributeFormats[t.fieldName.toLowerCase()]=t.format)})),i)){const a=null===(s=null===(e=n.popupTemplate)||void 0===e?void 0:e.content[0])||void 0===s?void 0:s.type;if("relationship"===a){const r=n.popupTemplate.content[0].relationshipId,e=n.relationships.find((t=>t.id===r));let s=t.layers.toArray().concat(t.tables.toArray());if(s=s.filter((t=>"feature"===t.type&&t.layerId===e.relatedTableId)),s.length>0)o=await Mi(t,s[0],i),o.relationshipId=r;else{s=t.layers.toArray().concat(t.tables.toArray());const e=[];let a;s=s.filter((t=>{if("feature"===t.type&&t.layerId!=n.layerId&&t.url){const n=t.url+"/"+t.layerId.toString();return e.push(u(n)),!0}return!1})),(await Promise.all(e)).some(((n,e)=>!(!n.relationships||!n.relationships.some((t=>t.id===r))||(a=Mi(t,s[e],i),0))))?(o=await a,o.relationshipId=r):o.labelFormat=xi(n.popupTemplate.fieldInfos)}}else"fields"===a?(o.labelFormat=xi(n.popupTemplate.fieldInfos),0===o.labelFormat.format.length&&(o.labelFormat=n.popupTemplate.title&&"string"==typeof n.popupTemplate.title?{type:"pattern",format:n.popupTemplate.title}:xi(n.popupTemplate.fieldInfos,!0))):o.labelFormat="text"===a?{type:"pattern",format:Si(n.popupTemplate.content[0].text)}:"expression"===a?await async function(t){const[n]=await r(["esri/arcade"]),i=await n.createArcadeExecutor(t.expression,{variables:[{name:"$feature",type:"feature"},{name:"$layer",type:"featureSet"},{name:"$datastore",type:"featureSetCollection"},{name:"$map",type:"featureSetCollection"}]});return Promise.resolve({type:"executor",format:i})}(n.popupTemplate.content[0].expressionInfo):xi(n.popupTemplate.fieldInfos)}return Promise.resolve(o)}function Ei(t,n=/.+/){let i=[];return Object.keys(t).forEach((r=>{const e=t[r];n.test(r)&&(i=i.concat(e.selectionSetNames))})),i}function Pi(t,n,i,r,e){if(null==t)return"";if(i&&"coded-value"===i.type)return i.getName(t).toString();{let i=t;switch(n){case"date":if(null==r?void 0:r.dateFormat){const t=e.convertDateFormatToIntlOptions(r.dateFormat);i=e.formatDate(i,t)}else i=e.formatDate(i);i=i.replace(/\xe2\x80\xaf/g,"");break;case"date-only":if(null==r?void 0:r.dateFormat){const t=e.convertDateFormatToIntlOptions(r.dateFormat);i=e.formatDateOnly(i,t)}else i=e.formatDateOnly(i);break;case"time-only":if(null==r?void 0:r.dateFormat){const t=e.convertDateFormatToIntlOptions(r.dateFormat);i=e.formatTimeOnly(i,t)}else i=e.formatTimeOnly(i);break;case"double":case"integer":case"long":case"small-integer":if(r){const t=e.convertNumberFormatToIntlOptions(r);i=e.formatNumber(i,t)}else i=e.formatNumber(i)}return i}}export{h as _,yi as a,gi as c,Ai as d,ki as r}
@@ -3,27 +3,27 @@
3
3
  * Licensed under the Apache License, Version 2.0
4
4
  * http://www.apache.org/licenses/LICENSE-2.0
5
5
  */
6
- import{h as t,r as i,c as e,H as s,g as n}from"./p-78780f63.js";import{f as o}from"./p-25dd768d.js";import{A as a,B as l,i as c,t as r,g as h,d,e as p}from"./p-ca97465b.js";import{d as m,f as u,c as b,r as g,a as f,F as v}from"./p-0511c98c.js";import{s as x,c as w,a as y,d as k,H as C}from"./p-cfccae7c.js";import{g as z}from"./p-fcefdfff.js";import{c as I,u as D,d as E}from"./p-0c97de08.js";import{c as H,d as $,g as S}from"./p-722ae773.js";import{b as j,c as A,s as P,a as O}from"./p-f10944e6.js";import{c as L,d as _}from"./p-ede84883.js";import{c as F}from"./p-5b566d55.js";import{o as M}from"./p-653af7e0.js";import{c as R,s as W,d as T,u as B}from"./p-79ba73cb.js";import{i as V,h as G,C as q,b as U,c as N,d as K,e as X,f as Y,g as J,a as Q}from"./p-f9eb2f2d.js";import{g as Z}from"./p-0c07ad8a.js";import{d as tt}from"./p-a82f35c9.js";import{c as it,d as et}from"./p-1be63b50.js";import{i as st}from"./p-1e2ffee3.js";import{g as nt}from"./p-6b943f52.js";import{n as ot,o as at}from"./p-531d91d6.js";import{s as lt}from"./p-8684a905.js";import"./p-29d68474.js";import"./p-c92fff33.js";import"./p-d918ec36.js";import"./p-e1a4994d.js";import"./p-4af32c75.js";import"./p-225c4ca4.js";
6
+ import{h as t,r as i,c as e,H as s,g as n}from"./p-78780f63.js";import{f as o}from"./p-25dd768d.js";import{A as a,B as l,i as c,t as r,g as h,d,e as p}from"./p-ca97465b.js";import{d as m,f as u,c as b,r as g,a as f,F as v}from"./p-0511c98c.js";import{s as w,c as x,a as y,d as k,H as C}from"./p-cfccae7c.js";import{g as z}from"./p-fcefdfff.js";import{c as I,u as D,d as E}from"./p-0c97de08.js";import{c as H,d as $,g as S}from"./p-722ae773.js";import{b as j,c as A,s as O,a as P}from"./p-f10944e6.js";import{c as L,d as _}from"./p-ede84883.js";import{c as F}from"./p-5b566d55.js";import{o as M}from"./p-653af7e0.js";import{c as B,s as R,d as W,u as T}from"./p-79ba73cb.js";import{i as V,h as G,C as q,b as U,c as N,d as K,e as X,f as Y,g as J,a as Q}from"./p-f9eb2f2d.js";import{g as Z}from"./p-0c07ad8a.js";import{d as tt}from"./p-a82f35c9.js";import{c as it,d as et}from"./p-1be63b50.js";import{i as st}from"./p-1e2ffee3.js";import{g as nt}from"./p-6b943f52.js";import{n as ot,o as at}from"./p-b5d1b979.js";import{s as lt}from"./p-8684a905.js";import"./p-29d68474.js";import"./p-c92fff33.js";import"./p-d918ec36.js";import"./p-e1a4994d.js";import"./p-4af32c75.js";import"./p-225c4ca4.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 ct="x-button";function rt({disabled:i,key:e,label:s,onClick:n,ref:o,scale:a}){return t("button",{"aria-label":s,class:ct,disabled:i,key:e,onClick:n,tabIndex:-1,type:"button",ref:o},t("calcite-icon",{icon:"x",scale:Z(a)}))}const ht="combobox-item-",dt="combobox-chip-",pt="combobox-label-",mt="combobox-listbox-",ut="combobox-input-",bt=class{constructor(t){i(this,t),this.calciteComboboxChange=e(this,"calciteComboboxChange",6),this.calciteComboboxFilterChange=e(this,"calciteComboboxFilterChange",6),this.calciteComboboxChipClose=e(this,"calciteComboboxChipClose",6),this.calciteComboboxBeforeClose=e(this,"calciteComboboxBeforeClose",6),this.calciteComboboxClose=e(this,"calciteComboboxClose",6),this.calciteComboboxBeforeOpen=e(this,"calciteComboboxBeforeOpen",6),this.calciteComboboxOpen=e(this,"calciteComboboxOpen",6),this.placement=m,this.internalValueChangeFlag=!1,this.textInput=null,this.mutationObserver=F("mutation",(()=>this.updateItems())),this.resizeObserver=F("resize",(()=>{this.setMaxScrollerHeight(),this.refreshSelectionDisplay()})),this.guid=z(),this.inputHeight=0,this.ignoreSelectedEventsFlag=!1,this.openTransitionProp="opacity",this.setFilteredPlacements=()=>{const{el:t,flipPlacements:i}=this;this.filteredFlipPlacements=i?u(i,t):null},this.getValue=()=>{const t=this.selectedItems.map((t=>{var i;return null===(i=null==t?void 0:t.value)||void 0===i?void 0:i.toString()}));return(null==t?void 0:t.length)?t.length>1?t:t[0]:""},this.onLabelClick=()=>{this.setFocus()},this.keyDownHandler=t=>{const{key:i}=t;switch(i){case"Tab":this.activeChipIndex=-1,this.activeItemIndex=-1,this.allowCustomValues&&this.text?(this.addCustomChip(this.text,!0),t.preventDefault()):this.open?(this.open=!1,t.preventDefault()):!this.allowCustomValues&&this.text&&(this.clearInputValue(),this.filterItems(""),this.updateActiveItemIndex(-1));break;case"ArrowLeft":this.previousChip(),t.preventDefault();break;case"ArrowRight":this.nextChip(),t.preventDefault();break;case"ArrowUp":t.preventDefault(),this.open&&this.shiftActiveItemIndex(-1),this.comboboxInViewport()||this.el.scrollIntoView();break;case"ArrowDown":t.preventDefault(),this.open?this.shiftActiveItemIndex(1):(this.open=!0,this.ensureRecentSelectedItemIsActive()),this.comboboxInViewport()||this.el.scrollIntoView();break;case" ":this.textInput.value||(this.open||(this.open=!0,this.shiftActiveItemIndex(1)),t.preventDefault());break;case"Home":if(!this.open)return;t.preventDefault(),this.updateActiveItemIndex(0),this.scrollToActiveItem(),this.comboboxInViewport()||this.el.scrollIntoView();break;case"End":if(!this.open)return;t.preventDefault(),this.updateActiveItemIndex(this.filteredItems.length-1),this.scrollToActiveItem(),this.comboboxInViewport()||this.el.scrollIntoView();break;case"Escape":this.clearDisabled||this.open||this.clearValue(),this.open=!1,t.preventDefault();break;case"Enter":this.activeItemIndex>-1?(this.toggleSelection(this.filteredItems[this.activeItemIndex]),t.preventDefault()):this.activeChipIndex>-1?(this.removeActiveChip(),t.preventDefault()):this.allowCustomValues&&this.text?(this.addCustomChip(this.text,!0),t.preventDefault()):t.defaultPrevented||x(this)&&t.preventDefault();break;case"Delete":case"Backspace":this.activeChipIndex>-1?(t.preventDefault(),this.removeActiveChip()):!this.text&&this.isMulti()&&(t.preventDefault(),this.removeLastChip())}},this.toggleCloseEnd=()=>{this.open=!1,this.el.removeEventListener("calciteComboboxClose",this.toggleCloseEnd)},this.toggleOpenEnd=()=>{this.open=!1,this.el.removeEventListener("calciteComboboxOpen",this.toggleOpenEnd)},this.setMaxScrollerHeight=async()=>{const{listContainerEl:t,open:i,referenceEl:e}=this;if(!t||!i)return;await this.reposition(!0);const s=this.getMaxScrollerHeight();t.style.maxHeight=s>0?`${s}px`:"",t.style.minWidth=`${e.clientWidth}px`,await this.reposition(!0)},this.calciteChipCloseHandler=t=>{this.open=!1;const i=this.items.find((i=>i===t));i&&this.toggleSelection(i,!1),this.calciteComboboxChipClose.emit()},this.clickHandler=t=>{const i=t.composedPath();return i.some((t=>"CALCITE-CHIP"===t.tagName))?(this.open=!1,void t.preventDefault()):i.some((t=>{var i;return null===(i=t.classList)||void 0===i?void 0:i.contains(ct)}))?(this.clearValue(),void t.preventDefault()):(this.open=!this.open,void this.ensureRecentSelectedItemIsActive())},this.refreshSelectionDisplay=async()=>{if(await j(this),V(this.selectionMode))return;if(!this.textInput)return;const{allSelectedIndicatorChipEl:t,chipContainerEl:i,selectionDisplay:e,placeholder:s,selectedIndicatorChipEl:n,textInput:o}=this,c=parseInt(getComputedStyle(i).gap.replace("px","")),r=a(i),{fontSize:h,fontFamily:d}=getComputedStyle(o),p=(l(s,`${h} ${d}`)||parseInt("48px"))+c,m=a(t),u=a(n),b=Math.max(m,u);if(this.setCompactSelectionDisplay({chipContainerElGap:c,chipContainerElWidth:r,inputWidth:p,largestSelectedIndicatorChipWidth:b}),"fit"===e){const t=Array.from(this.el.shadowRoot.querySelectorAll("calcite-chip")).filter((t=>t.closable)),i=Math.round(r-((this.selectedHiddenChipsCount>0?u:0)+c+p+c));this.refreshChipDisplay({availableHorizontalChipElSpace:i,chipContainerElGap:c,chipEls:t}),this.setVisibleAndHiddenChips(t)}},this.setFloatingEl=t=>{this.floatingEl=t,b(this,this.referenceEl,this.floatingEl)},this.setContainerEl=t=>{this.resizeObserver.observe(t),this.listContainerEl=t,this.transitionEl=t},this.setChipContainerEl=t=>{this.resizeObserver.observe(t),this.chipContainerEl=t},this.setReferenceEl=t=>{this.referenceEl=t,b(this,this.referenceEl,this.floatingEl)},this.setAllSelectedIndicatorChipEl=t=>{this.allSelectedIndicatorChipEl=t},this.setSelectedIndicatorChipEl=t=>{this.selectedIndicatorChipEl=t},this.inputHandler=t=>{const i=t.target.value;this.text=i,this.filterItems(i),i&&(this.activeChipIndex=-1)},this.filterItems=(()=>{const t=(t,i)=>t&&i.some((({label:i,value:e})=>t.tagName===Y?i===t.label:e===t.value&&i===t.textLabel));return tt((i=>{const e=o(this.data,i);this.getItemsAndGroups().forEach((i=>{const s=!t(i,e);i.hidden=s;const[n,o]=i.ancestors;(t(n,e)||t(o,e))&&(i.hidden=!1),s||i.ancestors.forEach((t=>t.hidden=!1))})),this.filteredItems=this.getFilteredItems(),this.calciteComboboxFilterChange.emit()}),100)})(),this.internalComboboxChangeEvent=()=>{this.calciteComboboxChange.emit()},this.emitComboboxChange=tt(this.internalComboboxChangeEvent,0),this.getSelectedItems=()=>{if(!this.isMulti()){const t=this.items.find((({selected:t})=>t));return t?[t]:[]}return this.items.filter((t=>t.selected&&("ancestors"!==this.selectionMode||!G(t)))).sort(((t,i)=>{const e=this.selectedItems.indexOf(t),s=this.selectedItems.indexOf(i);return e>-1&&s>-1?e-s:s-e}))},this.updateItems=()=>{this.items=this.getItems(),this.groupItems=this.getGroupItems(),this.data=this.getData(),this.selectedItems=this.getSelectedItems(),this.filteredItems=this.getFilteredItems(),this.needsIcon=this.getNeedsIcon(),this.items.forEach((t=>{t.selectionMode=this.selectionMode,t.scale=this.scale})),this.allowCustomValues||this.setMaxScrollerHeight(),this.groupItems.forEach(((t,i,e)=>{0===i&&(t.afterEmptyGroup=!1);const s=e[i+1];s&&(s.afterEmptyGroup=0===t.children.length)}))},this.scrollToActiveItem=()=>{const t=this.filteredItems[this.activeItemIndex];if(!t)return;const i=this.calculateSingleItemHeight(t),{offsetHeight:e,scrollTop:s}=this.listContainerEl;e+s<t.offsetTop+i?this.listContainerEl.scrollTop=t.offsetTop-e+i:t.offsetTop<s&&(this.listContainerEl.scrollTop=t.offsetTop)},this.comboboxFocusHandler=()=>{var t;this.disabled||null===(t=this.textInput)||void 0===t||t.focus()},this.clearDisabled=!1,this.selectionDisplay="all",this.open=!1,this.disabled=!1,this.form=void 0,this.label=void 0,this.placeholder=void 0,this.placeholderIcon=void 0,this.placeholderIconFlipRtl=!1,this.maxItems=0,this.name=void 0,this.allowCustomValues=void 0,this.overlayPositioning="absolute",this.required=!1,this.selectionMode="multiple",this.scale="m",this.status="idle",this.value=null,this.flipPlacements=void 0,this.messages=void 0,this.messageOverrides=void 0,this.selectedItems=[],this.filteredItems=[],this.items=[],this.groupItems=[],this.needsIcon=void 0,this.activeItemIndex=-1,this.activeChipIndex=-1,this.activeDescendant="",this.compactSelectionDisplay=!1,this.selectedHiddenChipsCount=0,this.selectedVisibleChipsCount=0,this.text="",this.effectiveLocale=void 0,this.defaultMessages=void 0}openHandler(){M(this),this.disabled?this.open=!1:this.setMaxScrollerHeight()}handleDisabledChange(t){t||(this.open=!1)}maxItemsHandler(){this.setMaxScrollerHeight()}overlayPositioningHandler(){this.reposition(!0)}handlePropsChange(){this.updateItems()}valueHandler(t){if(!this.internalValueChangeFlag){const i=this.getItems();Array.isArray(t)?i.forEach((i=>i.selected=t.includes(i.value))):i.forEach(t?i=>i.selected=t===i.value:t=>t.selected=!1),this.updateItems()}}onMessagesChange(){}flipPlacementsHandler(){this.setFilteredPlacements(),this.reposition(!0)}selectedItemsHandler(){this.internalValueChangeFlag=!0,this.value=this.getValue(),this.internalValueChangeFlag=!1}documentClickHandler(t){if(this.disabled||!c(t))return;const i=t.composedPath();i.includes(this.el)||i.includes(this.referenceEl)||(!this.allowCustomValues&&this.textInput.value&&(this.clearInputValue(),this.filterItems(""),this.updateActiveItemIndex(-1)),this.allowCustomValues&&this.text.trim().length&&this.addCustomChip(this.text),this.open=!1)}calciteComboboxItemChangeHandler(t){if(this.ignoreSelectedEventsFlag)return;const i=t.target,e=this.filteredItems.indexOf(i);this.updateActiveItemIndex(e),this.toggleSelection(i,i.selected)}async reposition(t=!1){const{floatingEl:i,referenceEl:e,placement:s,overlayPositioning:n,filteredFlipPlacements:o}=this;return g(this,{floatingEl:i,referenceEl:e,overlayPositioning:n,placement:s,flipPlacements:o,type:"menu"},t)}async setFocus(){var t;await A(this),null===(t=this.textInput)||void 0===t||t.focus(),this.activeChipIndex=-1,this.activeItemIndex=-1}connectedCallback(){var t;I(this),L(this),R(this),H(this),w(this),this.internalValueChangeFlag=!0,this.value=this.getValue(),this.internalValueChangeFlag=!1,null===(t=this.mutationObserver)||void 0===t||t.observe(this.el,{childList:!0,subtree:!0}),this.updateItems(),this.setFilteredPlacements(),this.reposition(!0),this.open&&(this.openHandler(),M(this)),b(this,this.referenceEl,this.floatingEl)}async componentWillLoad(){P(this),this.updateItems(),await W(this)}componentDidLoad(){y(this,this.getValue()),this.reposition(!0),O(this)}componentDidRender(){this.el.offsetHeight!==this.inputHeight&&(this.reposition(!0),this.inputHeight=this.el.offsetHeight),D(this)}componentDidUpdate(){this.refreshSelectionDisplay()}disconnectedCallback(){var t,i;null===(t=this.mutationObserver)||void 0===t||t.disconnect(),null===(i=this.resizeObserver)||void 0===i||i.disconnect(),E(this),$(this),k(this),f(this,this.referenceEl,this.floatingEl),_(this),T(this)}textHandler(){this.updateActiveItemIndex(-1)}effectiveLocaleChange(){B(this,this.effectiveLocale)}clearValue(){this.ignoreSelectedEventsFlag=!0,this.items.forEach((t=>t.selected=!1)),this.ignoreSelectedEventsFlag=!1,this.selectedItems=[],this.emitComboboxChange(),this.open=!1,this.updateActiveItemIndex(-1),this.resetText(),this.filterItems(""),this.setFocus()}clearInputValue(){this.textInput.value="",this.text=""}comboboxInViewport(){const t=this.el.getBoundingClientRect();return t.top>=0&&t.left>=0&&t.right<=(window.innerWidth||document.documentElement.clientWidth)&&t.bottom<=(window.innerHeight||document.documentElement.clientHeight)}onBeforeOpen(){this.scrollToActiveItem(),this.calciteComboboxBeforeOpen.emit()}onOpen(){this.calciteComboboxOpen.emit()}onBeforeClose(){this.calciteComboboxBeforeClose.emit()}onClose(){this.calciteComboboxClose.emit()}ensureRecentSelectedItemIsActive(){const{selectedItems:t}=this,i=0===t.length?0:this.items.indexOf(t[t.length-1]);this.updateActiveItemIndex(i)}hideChip(t){t.classList.add(q.chipInvisible)}showChip(t){t.classList.remove(q.chipInvisible)}refreshChipDisplay({chipEls:t,availableHorizontalChipElSpace:i,chipContainerElGap:e}){t.forEach((t=>{if(t.selected){const s=a(t);if(s&&s<i)return i-=s+e,void this.showChip(t)}else this.hideChip(t);this.hideChip(t)}))}setCompactSelectionDisplay({chipContainerElGap:t,chipContainerElWidth:i,inputWidth:e,largestSelectedIndicatorChipWidth:s}){const n=Math.round(s+t+e);(!this.maxCompactBreakpoint||this.maxCompactBreakpoint<n)&&(this.maxCompactBreakpoint=n),this.compactSelectionDisplay=i<this.maxCompactBreakpoint}setVisibleAndHiddenChips(t){let i=0;t.forEach((t=>{t.selected&&!t.classList.contains(q.chipInvisible)&&i++})),i!==this.selectedVisibleChipsCount&&(this.selectedVisibleChipsCount=i);const e=this.getSelectedItems().length-i;e!==this.selectedHiddenChipsCount&&(this.selectedHiddenChipsCount=e)}getMaxScrollerHeight(){const t=this.getItemsAndGroups().filter((t=>!t.hidden)),{maxItems:i}=this;let e=0,s=0;return t.length>i&&t.forEach((t=>{if(e<i&&i>0){const i=this.calculateSingleItemHeight(t);i>0&&(s+=i,e++)}})),s}calculateSingleItemHeight(t){if(!t)return;let i=t.offsetHeight;return Array.from(t.querySelectorAll(U)).map((t=>null==t?void 0:t.offsetHeight)).forEach((t=>{i-=t})),i}getItemsAndGroups(){return[...this.groupItems,...this.items]}toggleSelection(t,i=!t.selected){!t||"single-persist"===this.selectionMode&&t.selected&&t.value===this.value||(this.isMulti()?(t.selected=i,this.updateAncestors(t),this.selectedItems=this.getSelectedItems(),this.emitComboboxChange(),this.resetText(),this.filterItems("")):(this.ignoreSelectedEventsFlag=!0,this.items.forEach((e=>e.selected=e===t&&i)),this.ignoreSelectedEventsFlag=!1,this.selectedItems=this.getSelectedItems(),this.emitComboboxChange(),this.textInput&&(this.textInput.value=t.textLabel),this.open=!1,this.updateActiveItemIndex(-1),this.resetText(),this.filterItems("")))}updateAncestors(t){if("ancestors"!==this.selectionMode)return;const i=N(t),e=K(t);t.selected?i.forEach((t=>{t.selected=!0})):(e.forEach((t=>t.selected=!1)),[...i].forEach((t=>{G(t)||(t.selected=!1)})))}getFilteredItems(){return this.items.filter((t=>!t.hidden))}getData(){return this.items.map((t=>({filterDisabled:t.filterDisabled,value:t.value,label:t.textLabel})))}getNeedsIcon(){return V(this.selectionMode)&&this.items.some((t=>t.icon))}resetText(){this.textInput&&(this.textInput.value=""),this.text=""}getItems(){return Array.from(this.el.querySelectorAll(X)).filter((t=>!t.disabled))}getGroupItems(){return Array.from(this.el.querySelectorAll(Y))}addCustomChip(t,i){const e=this.items.find((i=>i.textLabel===t));if(e)this.toggleSelection(e,!0);else{this.isMulti()||this.toggleSelection(this.selectedItems[this.selectedItems.length-1],!1);const e=document.createElement(X);e.value=t,e.textLabel=t,e.selected=!0,this.el.appendChild(e),this.resetText(),i&&this.setFocus(),this.updateItems(),this.filterItems(""),this.emitComboboxChange()}}removeActiveChip(){this.toggleSelection(this.selectedItems[this.activeChipIndex],!1),this.setFocus()}removeLastChip(){this.toggleSelection(this.selectedItems[this.selectedItems.length-1],!1),this.setFocus()}previousChip(){if(this.text)return;const t=this.activeChipIndex;this.activeChipIndex=-1===t?this.selectedItems.length-1:Math.max(t-1,0),this.updateActiveItemIndex(-1),this.focusChip()}nextChip(){if(this.text||-1===this.activeChipIndex)return;const t=this.activeChipIndex+1;t>this.selectedItems.length-1?(this.activeChipIndex=-1,this.setFocus()):(this.activeChipIndex=t,this.focusChip()),this.updateActiveItemIndex(-1)}focusChip(){var t;const i=null===(t=this.selectedItems[this.activeChipIndex])||void 0===t?void 0:t.guid,e=i?this.referenceEl.querySelector(`#${dt}${i}`):null;null==e||e.setFocus()}shiftActiveItemIndex(t){const{length:i}=this.filteredItems;this.updateActiveItemIndex((this.activeItemIndex+i+t)%i),this.scrollToActiveItem()}updateActiveItemIndex(t){this.activeItemIndex=t;let i=null;this.filteredItems.forEach(((e,s)=>{s===t?(e.active=!0,i=`${ht}${e.guid}`):e.active=!1})),this.activeDescendant=i,this.activeItemIndex>-1&&(this.activeChipIndex=-1)}isAllSelected(){return this.getItems().length===this.getSelectedItems().length}isMulti(){return!V(this.selectionMode)}renderChips(){const{activeChipIndex:i,scale:e,selectionMode:s,messages:n}=this;return this.selectedItems.map(((o,a)=>{const l={chip:!0,"chip--active":i===a},c=[...[...N(o)].reverse(),o].map((t=>t.textLabel)),r="ancestors"!==s?o.textLabel:c.join(" / ");return t("calcite-chip",{class:l,closable:!0,icon:o.icon,iconFlipRtl:o.iconFlipRtl,id:o.guid?`${dt}${o.guid}`:null,key:o.textLabel,messageOverrides:{dismissLabel:n.removeTag},onCalciteChipClose:()=>this.calciteChipCloseHandler(o),scale:e,selected:o.selected,title:r,value:o.value},r)}))}renderAllSelectedIndicatorChip(){const{compactSelectionDisplay:i,scale:e,selectedVisibleChipsCount:s,setAllSelectedIndicatorChipEl:n}=this,o=this.messages.allSelected;return t("calcite-chip",{class:{chip:!0,[q.chipInvisible]:!(this.isAllSelected()&&!s&&!i)},scale:e,title:o,value:"",ref:n},o)}renderAllSelectedIndicatorChipCompact(){const{compactSelectionDisplay:i,scale:e,selectedVisibleChipsCount:s}=this,n=this.messages.all||"All";return t("calcite-chip",{class:{chip:!0,[q.chipInvisible]:!(this.isAllSelected()&&!s&&i)},scale:e,title:n,value:""},n)}renderSelectedIndicatorChip(){const{compactSelectionDisplay:i,selectionDisplay:e,getSelectedItems:s,scale:n,selectedHiddenChipsCount:o,selectedVisibleChipsCount:a,setSelectedIndicatorChipEl:l}=this;let c,r;if(i)c=!0;else if("single"===e){const t=s().length;c=!(!this.isAllSelected()&&t>0),r=`${t} ${this.messages.selected}`}else"fit"===e&&(c=!!(this.isAllSelected()&&0===a||0===o),r=a>0?`+${o}`:`${o} ${this.messages.selected}`);return t("calcite-chip",{class:{chip:!0,[q.chipInvisible]:c},scale:n,title:r,value:"",ref:l},r)}renderSelectedIndicatorChipCompact(){const{compactSelectionDisplay:i,selectionDisplay:e,getSelectedItems:s,scale:n,selectedHiddenChipsCount:o}=this;let a,l;if(i){const t=s().length;this.isAllSelected()?a=!0:"fit"===e?(a=!(o>0),l=`${o||0}`):"single"===e&&(a=!(t>0),l=`${t}`)}else a=!0;return t("calcite-chip",{class:{chip:!0,[q.chipInvisible]:a},scale:n,title:l,value:""},l)}renderInput(){const{guid:i,disabled:e,placeholder:s,selectionMode:n,selectedItems:o,open:a}=this,l=V(n),c=o[0],r=!a&&l&&!!c;return t("span",{class:{"input-wrap":!0,"input-wrap--single":l}},r&&t("span",{class:{label:!0,"label--icon":!!(null==c?void 0:c.icon)},key:"label"},c.textLabel),t("input",{"aria-activedescendant":this.activeDescendant,"aria-autocomplete":"list","aria-controls":`${mt}${i}`,"aria-label":S(this),class:{input:!0,"input--single":!0,"input--transparent":this.activeChipIndex>-1,"input--hidden":r,"input--icon":!!this.placeholderIcon},disabled:e,id:`${ut}${i}`,key:"input",onFocus:this.comboboxFocusHandler,onInput:this.inputHandler,placeholder:s,type:"text",ref:t=>this.textInput=t}))}renderListBoxOptions(){return this.filteredItems.map((i=>t("li",{"aria-selected":r(i.selected),id:i.guid?`${ht}${i.guid}`:null,role:"option",tabindex:"-1"},i.textLabel)))}renderFloatingUIContainer(){const{setFloatingEl:i,setContainerEl:e,open:s}=this;return t("div",{"aria-hidden":"true",class:{"floating-ui-container":!0,"floating-ui-container--active":s},ref:i},t("div",{class:{[q.listContainer]:!0,[v.animation]:!0,[v.animationActive]:s},ref:e},t("ul",{class:{list:!0,"list--hide":!s}},t("slot",null))))}renderIconStart(){const{selectedItems:i,placeholderIcon:e,selectionMode:s,placeholderIconFlipRtl:n}=this,o=i[0],a=null==o?void 0:o.icon,l=V(s);return(!this.open&&o?!!a&&l:!!this.placeholderIcon&&(!o||l))&&t("span",{class:"icon-start"},t("calcite-icon",{class:"selected-icon",flipRtl:this.open&&o?o.iconFlipRtl:n,icon:!this.open&&o?a:e,scale:Z(this.scale)}))}renderIconEnd(){const{open:i}=this;return t("span",{class:"icon-end"},t("calcite-icon",{icon:i?"chevron-up":"chevron-down",scale:Z(this.scale)}))}render(){var i;const{selectionDisplay:e,guid:n,label:o,open:a}=this,l=V(this.selectionMode),c="all"===e,h="single"===e,d=!l&&"fit"===e,p=!this.clearDisabled&&(null===(i=this.value)||void 0===i?void 0:i.length)>0;return t(s,{onClick:this.comboboxFocusHandler},t("div",{"aria-autocomplete":"list","aria-controls":`${mt}${n}`,"aria-expanded":r(a),"aria-haspopup":"listbox","aria-label":S(this),"aria-live":"polite","aria-owns":`${mt}${n}`,class:{wrapper:!0,"wrapper--single":l||!this.selectedItems.length,"wrapper--active":a},onClick:this.clickHandler,onKeyDown:this.keyDownHandler,role:"combobox",ref:this.setReferenceEl},t("div",{class:{"grid-input":!0,[q.selectionDisplayFit]:d,[q.selectionDisplaySingle]:h},ref:this.setChipContainerEl},this.renderIconStart(),!l&&!h&&this.renderChips(),!l&&!c&&[this.renderSelectedIndicatorChip(),this.renderSelectedIndicatorChipCompact(),this.renderAllSelectedIndicatorChip(),this.renderAllSelectedIndicatorChipCompact()],t("label",{class:"screen-readers-only",htmlFor:`${ut}${n}`,id:`${pt}${n}`},o),this.renderInput()),p?t(rt,{disabled:this.disabled,key:"close-button",label:this.messages.clear,scale:this.scale}):null,this.renderIconEnd()),t("ul",{"aria-labelledby":`${pt}${n}`,"aria-multiselectable":"true",class:"screen-readers-only",id:`${mt}${n}`,role:"listbox",tabIndex:-1},this.renderListBoxOptions()),this.renderFloatingUIContainer(),t(C,{component:this}))}static get assetsDirs(){return["assets"]}get el(){return n(this)}static get watchers(){return{open:["openHandler"],disabled:["handleDisabledChange"],maxItems:["maxItemsHandler"],overlayPositioning:["overlayPositioningHandler"],selectionMode:["handlePropsChange"],scale:["handlePropsChange"],value:["valueHandler"],messageOverrides:["onMessagesChange"],flipPlacements:["flipPlacementsHandler"],selectedItems:["selectedItemsHandler"],text:["textHandler"],effectiveLocale:["effectiveLocaleChange"]}}};bt.style=":host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{position:relative;display:block}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([scale=s]) .x-button{inline-size:1rem;block-size:1rem}:host([scale=m]) .x-button{inline-size:1.5rem;block-size:1.5rem}:host([scale=l]) .x-button{inline-size:2rem;block-size:2rem}.x-button{margin:0px;display:flex;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;align-content:center;align-items:center;justify-content:center;align-self:center;border-width:2px;background-color:transparent;color:var(--calcite-color-text-3);outline-color:transparent;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;border-radius:50%;border-color:transparent;background-color:var(--calcite-color-foreground-2)}.x-button:active,.x-button:hover{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-3)}.x-button:active{border-style:solid;border-color:var(--calcite-color-brand)}.x-button calcite-icon{color:inherit}:host([scale=s]){font-size:var(--calcite-font-size--2);--calcite-combobox-item-spacing-unit-l:0.5rem;--calcite-combobox-item-spacing-unit-s:0.25rem;--calcite-combobox-input-height:1rem;--calcite-internal-combobox-input-margin-block:calc(0.25rem - 1px)}:host([scale=s]) .x-button{margin-inline:0.5rem}:host([scale=m]){font-size:var(--calcite-font-size--1);--calcite-combobox-item-spacing-unit-l:0.75rem;--calcite-combobox-item-spacing-unit-s:0.5rem;--calcite-combobox-input-height:1rem;--calcite-internal-combobox-input-margin-block:calc(0.5rem - 1px)}:host([scale=m]) .x-button{margin-inline-end:0.75rem}:host([scale=l]){font-size:var(--calcite-font-size-0);--calcite-combobox-item-spacing-unit-l:1rem;--calcite-combobox-item-spacing-unit-s:0.75rem;--calcite-combobox-input-height:1.5rem;--calcite-internal-combobox-input-margin-block:calc(0.625rem - 1px)}:host([scale=l]) .x-button{margin-inline-end:1rem}.wrapper{display:flex;border-width:1px;border-style:solid;border-color:var(--calcite-color-border-input);background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-1);outline-color:transparent;padding-block:calc(var(--calcite-combobox-item-spacing-unit-s) / 4);padding-inline:var(--calcite-combobox-item-spacing-unit-l)}:host(:focus-within) .wrapper,.wrapper--active{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 )}:host([status=invalid]) .wrapper{border-color:var(--calcite-color-status-danger)}:host([status=invalid]:focus-within) .wrapper{outline:2px solid var(--calcite-color-status-danger);outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n )}.wrapper--single{padding-block:0;padding-inline:var(--calcite-combobox-item-spacing-unit-l);cursor:pointer;flex-wrap:nowrap}.grid-input{position:relative;display:flex;flex-grow:1;flex-wrap:wrap;align-items:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0px;gap:var(--calcite-combobox-item-spacing-unit-s)}.grid-input.selection-display-fit,.grid-input.selection-display-single{flex-wrap:nowrap;overflow:hidden}.input{flex-grow:1;-webkit-appearance:none;-moz-appearance:none;appearance:none;text-overflow:ellipsis;border-style:none;background-color:transparent;padding:0px;font-family:inherit;color:var(--calcite-color-text-1);font-size:inherit;block-size:var(--calcite-combobox-input-height);line-height:var(--calcite-combobox-input-height);inline-size:100%;margin-block-end:var(--calcite-combobox-item-spacing-unit-s);min-inline-size:4.8125rem}.input:focus{outline:2px solid transparent;outline-offset:2px}.input:-moz-placeholder-shown{text-overflow:ellipsis}.input:placeholder-shown{text-overflow:ellipsis}.input--transparent{opacity:0}.input--single{padding:0px;margin-block:var(--calcite-internal-combobox-input-margin-block)}.wrapper--active .input-single{cursor:text}.input--hidden{pointer-events:none;inline-size:0px;min-inline-size:0px;opacity:0}.input--icon{padding-block:0;padding-inline:var(--calcite-combobox-item-spacing-unit-s)}:host([scale=m]) .input--icon,:host([scale=l]) .input--icon{padding-inline:0.25rem}.input-wrap{display:flex;flex-grow:1;align-items:center}.input-wrap--single{flex:1 1 0%;overflow:hidden}.label{pointer-events:none;display:flex;max-inline-size:100%;flex:1 1 auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0px;font-weight:var(--calcite-font-weight-normal);block-size:var(--calcite-combobox-input-height);line-height:var(--calcite-combobox-input-height)}.label--icon{padding-inline:var(--calcite-combobox-item-spacing-unit-l)}.icon-end,.icon-start{display:flex;cursor:pointer;align-items:center}.icon-end{flex:none}.floating-ui-container{--calcite-floating-ui-z-index:var(--calcite-z-index-dropdown);display:block;position:absolute;z-index:var(--calcite-floating-ui-z-index);visibility:hidden}.floating-ui-container .calcite-floating-ui-anim{position:relative;transition:var(--calcite-floating-ui-transition);transition-property: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}.floating-ui-container[data-placement^=bottom] .calcite-floating-ui-anim{transform:translateY(-5px)}.floating-ui-container[data-placement^=top] .calcite-floating-ui-anim{transform:translateY(5px)}.floating-ui-container[data-placement^=left] .calcite-floating-ui-anim{transform:translateX(5px)}.floating-ui-container[data-placement^=right] .calcite-floating-ui-anim{transform:translateX(-5px)}.floating-ui-container[data-placement] .calcite-floating-ui-anim--active{opacity:1;transform:translate(0)}.floating-ui-container--active{visibility:visible}@media (forced-colors: active){.wrapper,.floating-ui-container--active{border:1px solid canvasText}}.screen-readers-only{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}.list-container{max-block-size:45vh;overflow-y:auto;background-color:var(--calcite-color-foreground-1);inline-size:var(--calcite-dropdown-width)}.list{margin:0px;display:block;padding:0px}.list--hide{block-size:0px;overflow:hidden}calcite-chip{--calcite-animation-timing:0}.chip{margin-block:calc(var(--calcite-combobox-item-spacing-unit-s) / 4);max-inline-size:100%}.chip--active{background-color:var(--calcite-color-foreground-3)}.chip--invisible{visibility:hidden;position:absolute}.item{display:block}::slotted(input[slot=hidden-form-input]){margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}:host([hidden]){display:none}[hidden]{display:none}::slotted(calcite-combobox-item-group:not(:first-child)){padding-block-start:var(--calcite-combobox-item-spacing-unit-l)}";
11
+ */const ct="x-button";function rt({disabled:i,key:e,label:s,onClick:n,ref:o,scale:a}){return t("button",{"aria-label":s,class:ct,disabled:i,key:e,onClick:n,tabIndex:-1,type:"button",ref:o},t("calcite-icon",{icon:"x",scale:Z(a)}))}const ht="combobox-item-",dt="combobox-chip-",pt="combobox-label-",mt="combobox-listbox-",ut="combobox-input-",bt=class{constructor(t){i(this,t),this.calciteComboboxChange=e(this,"calciteComboboxChange",6),this.calciteComboboxFilterChange=e(this,"calciteComboboxFilterChange",6),this.calciteComboboxChipClose=e(this,"calciteComboboxChipClose",6),this.calciteComboboxBeforeClose=e(this,"calciteComboboxBeforeClose",6),this.calciteComboboxClose=e(this,"calciteComboboxClose",6),this.calciteComboboxBeforeOpen=e(this,"calciteComboboxBeforeOpen",6),this.calciteComboboxOpen=e(this,"calciteComboboxOpen",6),this.placement=m,this.internalValueChangeFlag=!1,this.textInput=null,this.mutationObserver=F("mutation",(()=>this.updateItems())),this.resizeObserver=F("resize",(()=>{this.setMaxScrollerHeight(),this.refreshSelectionDisplay()})),this.guid=z(),this.inputHeight=0,this.ignoreSelectedEventsFlag=!1,this.openTransitionProp="opacity",this.setFilteredPlacements=()=>{const{el:t,flipPlacements:i}=this;this.filteredFlipPlacements=i?u(i,t):null},this.getValue=()=>{const t=this.selectedItems.map((t=>{var i;return null===(i=null==t?void 0:t.value)||void 0===i?void 0:i.toString()}));return(null==t?void 0:t.length)?t.length>1?t:t[0]:""},this.onLabelClick=()=>{this.setFocus()},this.keyDownHandler=t=>{const{key:i}=t;switch(i){case"Tab":this.activeChipIndex=-1,this.activeItemIndex=-1,this.allowCustomValues&&this.text?(this.addCustomChip(this.text,!0),t.preventDefault()):this.open?(this.open=!1,t.preventDefault()):!this.allowCustomValues&&this.text&&(this.clearInputValue(),this.filterItems(""),this.updateActiveItemIndex(-1));break;case"ArrowLeft":this.previousChip(),t.preventDefault();break;case"ArrowRight":this.nextChip(),t.preventDefault();break;case"ArrowUp":t.preventDefault(),this.open&&this.shiftActiveItemIndex(-1),this.comboboxInViewport()||this.el.scrollIntoView();break;case"ArrowDown":t.preventDefault(),this.open?this.shiftActiveItemIndex(1):(this.open=!0,this.ensureRecentSelectedItemIsActive()),this.comboboxInViewport()||this.el.scrollIntoView();break;case" ":this.textInput.value||(this.open||(this.open=!0,this.shiftActiveItemIndex(1)),t.preventDefault());break;case"Home":if(!this.open)return;t.preventDefault(),this.updateActiveItemIndex(0),this.scrollToActiveItem(),this.comboboxInViewport()||this.el.scrollIntoView();break;case"End":if(!this.open)return;t.preventDefault(),this.updateActiveItemIndex(this.filteredItems.length-1),this.scrollToActiveItem(),this.comboboxInViewport()||this.el.scrollIntoView();break;case"Escape":this.clearDisabled||this.open||this.clearValue(),this.open=!1,t.preventDefault();break;case"Enter":this.activeItemIndex>-1?(this.toggleSelection(this.filteredItems[this.activeItemIndex]),t.preventDefault()):this.activeChipIndex>-1?(this.removeActiveChip(),t.preventDefault()):this.allowCustomValues&&this.text?(this.addCustomChip(this.text,!0),t.preventDefault()):t.defaultPrevented||w(this)&&t.preventDefault();break;case"Delete":case"Backspace":this.activeChipIndex>-1?(t.preventDefault(),this.removeActiveChip()):!this.text&&this.isMulti()&&(t.preventDefault(),this.removeLastChip())}},this.toggleCloseEnd=()=>{this.open=!1,this.el.removeEventListener("calciteComboboxClose",this.toggleCloseEnd)},this.toggleOpenEnd=()=>{this.open=!1,this.el.removeEventListener("calciteComboboxOpen",this.toggleOpenEnd)},this.setMaxScrollerHeight=async()=>{const{listContainerEl:t,open:i,referenceEl:e}=this;if(!t||!i)return;await this.reposition(!0);const s=this.getMaxScrollerHeight();t.style.maxHeight=s>0?`${s}px`:"",t.style.minWidth=`${e.clientWidth}px`,await this.reposition(!0)},this.calciteChipCloseHandler=t=>{this.open=!1;const i=this.items.find((i=>i===t));i&&this.toggleSelection(i,!1),this.calciteComboboxChipClose.emit()},this.clickHandler=t=>{const i=t.composedPath();return i.some((t=>"CALCITE-CHIP"===t.tagName))?(this.open=!1,void t.preventDefault()):i.some((t=>{var i;return null===(i=t.classList)||void 0===i?void 0:i.contains(ct)}))?(this.clearValue(),void t.preventDefault()):(this.open=!this.open,void this.ensureRecentSelectedItemIsActive())},this.refreshSelectionDisplay=async()=>{if(await j(this),V(this.selectionMode))return;if(!this.textInput)return;const{allSelectedIndicatorChipEl:t,chipContainerEl:i,selectionDisplay:e,placeholder:s,selectedIndicatorChipEl:n,textInput:o}=this,c=parseInt(getComputedStyle(i).gap.replace("px","")),r=a(i),{fontSize:h,fontFamily:d}=getComputedStyle(o),p=(l(s,`${h} ${d}`)||parseInt("48px"))+c,m=a(t),u=a(n),b=Math.max(m,u);if(this.setCompactSelectionDisplay({chipContainerElGap:c,chipContainerElWidth:r,inputWidth:p,largestSelectedIndicatorChipWidth:b}),"fit"===e){const t=Array.from(this.el.shadowRoot.querySelectorAll("calcite-chip")).filter((t=>t.closable)),i=Math.round(r-((this.selectedHiddenChipsCount>0?u:0)+c+p+c));this.refreshChipDisplay({availableHorizontalChipElSpace:i,chipContainerElGap:c,chipEls:t}),this.setVisibleAndHiddenChips(t)}},this.setFloatingEl=t=>{this.floatingEl=t,b(this,this.referenceEl,this.floatingEl)},this.setContainerEl=t=>{this.resizeObserver.observe(t),this.listContainerEl=t,this.transitionEl=t},this.setChipContainerEl=t=>{this.resizeObserver.observe(t),this.chipContainerEl=t},this.setReferenceEl=t=>{this.referenceEl=t,b(this,this.referenceEl,this.floatingEl)},this.setAllSelectedIndicatorChipEl=t=>{this.allSelectedIndicatorChipEl=t},this.setSelectedIndicatorChipEl=t=>{this.selectedIndicatorChipEl=t},this.inputHandler=t=>{const i=t.target.value;this.text=i,this.filterItems(i),i&&(this.activeChipIndex=-1)},this.filterItems=(()=>{const t=(t,i)=>t&&i.some((({label:i,value:e})=>t.tagName===Y?i===t.label:e===t.value&&i===t.textLabel));return tt((i=>{const e=o(this.data,i);this.getItemsAndGroups().forEach((i=>{const s=!t(i,e);i.hidden=s;const[n,o]=i.ancestors;(t(n,e)||t(o,e))&&(i.hidden=!1),s||i.ancestors.forEach((t=>t.hidden=!1))})),this.filteredItems=this.getFilteredItems(),this.calciteComboboxFilterChange.emit()}),100)})(),this.internalComboboxChangeEvent=()=>{this.calciteComboboxChange.emit()},this.emitComboboxChange=tt(this.internalComboboxChangeEvent,0),this.getSelectedItems=()=>{if(!this.isMulti()){const t=this.items.find((({selected:t})=>t));return t?[t]:[]}return this.items.filter((t=>t.selected&&("ancestors"!==this.selectionMode||!G(t)))).sort(((t,i)=>{const e=this.selectedItems.indexOf(t),s=this.selectedItems.indexOf(i);return e>-1&&s>-1?e-s:s-e}))},this.updateItems=()=>{this.items=this.getItems(),this.groupItems=this.getGroupItems(),this.data=this.getData(),this.selectedItems=this.getSelectedItems(),this.filteredItems=this.getFilteredItems(),this.needsIcon=this.getNeedsIcon(),this.items.forEach((t=>{t.selectionMode=this.selectionMode,t.scale=this.scale})),this.allowCustomValues||this.setMaxScrollerHeight(),this.groupItems.forEach(((t,i,e)=>{0===i&&(t.afterEmptyGroup=!1);const s=e[i+1];s&&(s.afterEmptyGroup=0===t.children.length)}))},this.scrollToActiveItem=()=>{const t=this.filteredItems[this.activeItemIndex];if(!t)return;const i=this.calculateSingleItemHeight(t),{offsetHeight:e,scrollTop:s}=this.listContainerEl;e+s<t.offsetTop+i?this.listContainerEl.scrollTop=t.offsetTop-e+i:t.offsetTop<s&&(this.listContainerEl.scrollTop=t.offsetTop)},this.comboboxFocusHandler=()=>{var t;this.disabled||null===(t=this.textInput)||void 0===t||t.focus()},this.clearDisabled=!1,this.selectionDisplay="all",this.open=!1,this.disabled=!1,this.form=void 0,this.label=void 0,this.placeholder=void 0,this.placeholderIcon=void 0,this.placeholderIconFlipRtl=!1,this.maxItems=0,this.name=void 0,this.allowCustomValues=void 0,this.overlayPositioning="absolute",this.required=!1,this.selectionMode="multiple",this.scale="m",this.status="idle",this.value=null,this.flipPlacements=void 0,this.messages=void 0,this.messageOverrides=void 0,this.selectedItems=[],this.filteredItems=[],this.items=[],this.groupItems=[],this.needsIcon=void 0,this.activeItemIndex=-1,this.activeChipIndex=-1,this.activeDescendant="",this.compactSelectionDisplay=!1,this.selectedHiddenChipsCount=0,this.selectedVisibleChipsCount=0,this.text="",this.effectiveLocale=void 0,this.defaultMessages=void 0}openHandler(){M(this),this.disabled?this.open=!1:this.setMaxScrollerHeight()}handleDisabledChange(t){t||(this.open=!1)}maxItemsHandler(){this.setMaxScrollerHeight()}overlayPositioningHandler(){this.reposition(!0)}handlePropsChange(){this.updateItems()}valueHandler(t){if(!this.internalValueChangeFlag){const i=this.getItems();Array.isArray(t)?i.forEach((i=>i.selected=t.includes(i.value))):i.forEach(t?i=>i.selected=t===i.value:t=>t.selected=!1),this.updateItems()}}onMessagesChange(){}flipPlacementsHandler(){this.setFilteredPlacements(),this.reposition(!0)}selectedItemsHandler(){this.internalValueChangeFlag=!0,this.value=this.getValue(),this.internalValueChangeFlag=!1}documentClickHandler(t){if(this.disabled||!c(t))return;const i=t.composedPath();i.includes(this.el)||i.includes(this.referenceEl)||(!this.allowCustomValues&&this.textInput.value&&(this.clearInputValue(),this.filterItems(""),this.updateActiveItemIndex(-1)),this.allowCustomValues&&this.text.trim().length&&this.addCustomChip(this.text),this.open=!1)}calciteComboboxItemChangeHandler(t){if(this.ignoreSelectedEventsFlag)return;const i=t.target,e=this.filteredItems.indexOf(i);this.updateActiveItemIndex(e),this.toggleSelection(i,i.selected)}async reposition(t=!1){const{floatingEl:i,referenceEl:e,placement:s,overlayPositioning:n,filteredFlipPlacements:o}=this;return g(this,{floatingEl:i,referenceEl:e,overlayPositioning:n,placement:s,flipPlacements:o,type:"menu"},t)}async setFocus(){var t;await A(this),null===(t=this.textInput)||void 0===t||t.focus(),this.activeChipIndex=-1,this.activeItemIndex=-1}connectedCallback(){var t;I(this),L(this),B(this),H(this),x(this),this.internalValueChangeFlag=!0,this.value=this.getValue(),this.internalValueChangeFlag=!1,null===(t=this.mutationObserver)||void 0===t||t.observe(this.el,{childList:!0,subtree:!0}),this.updateItems(),this.setFilteredPlacements(),this.reposition(!0),this.open&&(this.openHandler(),M(this)),b(this,this.referenceEl,this.floatingEl)}async componentWillLoad(){O(this),this.updateItems(),await R(this)}componentDidLoad(){y(this,this.getValue()),this.reposition(!0),P(this)}componentDidRender(){this.el.offsetHeight!==this.inputHeight&&(this.reposition(!0),this.inputHeight=this.el.offsetHeight),D(this)}componentDidUpdate(){this.refreshSelectionDisplay()}disconnectedCallback(){var t,i;null===(t=this.mutationObserver)||void 0===t||t.disconnect(),null===(i=this.resizeObserver)||void 0===i||i.disconnect(),E(this),$(this),k(this),f(this,this.referenceEl,this.floatingEl),_(this),W(this)}textHandler(){this.updateActiveItemIndex(-1)}effectiveLocaleChange(){T(this,this.effectiveLocale)}clearValue(){this.ignoreSelectedEventsFlag=!0,this.items.forEach((t=>t.selected=!1)),this.ignoreSelectedEventsFlag=!1,this.selectedItems=[],this.emitComboboxChange(),this.open=!1,this.updateActiveItemIndex(-1),this.resetText(),this.filterItems(""),this.setFocus()}clearInputValue(){this.textInput.value="",this.text=""}comboboxInViewport(){const t=this.el.getBoundingClientRect();return t.top>=0&&t.left>=0&&t.right<=(window.innerWidth||document.documentElement.clientWidth)&&t.bottom<=(window.innerHeight||document.documentElement.clientHeight)}onBeforeOpen(){this.scrollToActiveItem(),this.calciteComboboxBeforeOpen.emit()}onOpen(){this.calciteComboboxOpen.emit()}onBeforeClose(){this.calciteComboboxBeforeClose.emit()}onClose(){this.calciteComboboxClose.emit()}ensureRecentSelectedItemIsActive(){const{selectedItems:t}=this,i=0===t.length?0:this.items.indexOf(t[t.length-1]);this.updateActiveItemIndex(i)}hideChip(t){t.classList.add(q.chipInvisible)}showChip(t){t.classList.remove(q.chipInvisible)}refreshChipDisplay({chipEls:t,availableHorizontalChipElSpace:i,chipContainerElGap:e}){t.forEach((t=>{if(t.selected){const s=a(t);if(s&&s<i)return i-=s+e,void this.showChip(t)}else this.hideChip(t);this.hideChip(t)}))}setCompactSelectionDisplay({chipContainerElGap:t,chipContainerElWidth:i,inputWidth:e,largestSelectedIndicatorChipWidth:s}){const n=Math.round(s+t+e);(!this.maxCompactBreakpoint||this.maxCompactBreakpoint<n)&&(this.maxCompactBreakpoint=n),this.compactSelectionDisplay=i<this.maxCompactBreakpoint}setVisibleAndHiddenChips(t){let i=0;t.forEach((t=>{t.selected&&!t.classList.contains(q.chipInvisible)&&i++})),i!==this.selectedVisibleChipsCount&&(this.selectedVisibleChipsCount=i);const e=this.getSelectedItems().length-i;e!==this.selectedHiddenChipsCount&&(this.selectedHiddenChipsCount=e)}getMaxScrollerHeight(){const t=this.getItemsAndGroups().filter((t=>!t.hidden)),{maxItems:i}=this;let e=0,s=0;return t.length>i&&t.forEach((t=>{if(e<i&&i>0){const i=this.calculateSingleItemHeight(t);i>0&&(s+=i,e++)}})),s}calculateSingleItemHeight(t){if(!t)return;let i=t.offsetHeight;return Array.from(t.querySelectorAll(U)).map((t=>null==t?void 0:t.offsetHeight)).forEach((t=>{i-=t})),i}getItemsAndGroups(){return[...this.groupItems,...this.items]}toggleSelection(t,i=!t.selected){!t||"single-persist"===this.selectionMode&&t.selected&&t.value===this.value||(this.isMulti()?(t.selected=i,this.updateAncestors(t),this.selectedItems=this.getSelectedItems(),this.emitComboboxChange(),this.resetText(),this.filterItems("")):(this.ignoreSelectedEventsFlag=!0,this.items.forEach((e=>e.selected=e===t&&i)),this.ignoreSelectedEventsFlag=!1,this.selectedItems=this.getSelectedItems(),this.emitComboboxChange(),this.textInput&&(this.textInput.value=t.textLabel),this.open=!1,this.updateActiveItemIndex(-1),this.resetText(),this.filterItems("")))}updateAncestors(t){if("ancestors"!==this.selectionMode)return;const i=N(t),e=K(t);t.selected?i.forEach((t=>{t.selected=!0})):(e.forEach((t=>t.selected=!1)),[...i].forEach((t=>{G(t)||(t.selected=!1)})))}getFilteredItems(){return this.items.filter((t=>!t.hidden))}getData(){return this.items.map((t=>({filterDisabled:t.filterDisabled,value:t.value,label:t.textLabel})))}getNeedsIcon(){return V(this.selectionMode)&&this.items.some((t=>t.icon))}resetText(){this.textInput&&(this.textInput.value=""),this.text=""}getItems(){return Array.from(this.el.querySelectorAll(X)).filter((t=>!t.disabled))}getGroupItems(){return Array.from(this.el.querySelectorAll(Y))}addCustomChip(t,i){const e=this.items.find((i=>i.textLabel===t));if(e)this.toggleSelection(e,!0);else{this.isMulti()||this.toggleSelection(this.selectedItems[this.selectedItems.length-1],!1);const e=document.createElement(X);e.value=t,e.textLabel=t,e.selected=!0,this.el.appendChild(e),this.resetText(),i&&this.setFocus(),this.updateItems(),this.filterItems(""),this.emitComboboxChange()}}removeActiveChip(){this.toggleSelection(this.selectedItems[this.activeChipIndex],!1),this.setFocus()}removeLastChip(){this.toggleSelection(this.selectedItems[this.selectedItems.length-1],!1),this.setFocus()}previousChip(){if(this.text)return;const t=this.activeChipIndex;this.activeChipIndex=-1===t?this.selectedItems.length-1:Math.max(t-1,0),this.updateActiveItemIndex(-1),this.focusChip()}nextChip(){if(this.text||-1===this.activeChipIndex)return;const t=this.activeChipIndex+1;t>this.selectedItems.length-1?(this.activeChipIndex=-1,this.setFocus()):(this.activeChipIndex=t,this.focusChip()),this.updateActiveItemIndex(-1)}focusChip(){var t;const i=null===(t=this.selectedItems[this.activeChipIndex])||void 0===t?void 0:t.guid,e=i?this.referenceEl.querySelector(`#${dt}${i}`):null;null==e||e.setFocus()}shiftActiveItemIndex(t){const{length:i}=this.filteredItems;this.updateActiveItemIndex((this.activeItemIndex+i+t)%i),this.scrollToActiveItem()}updateActiveItemIndex(t){this.activeItemIndex=t;let i=null;this.filteredItems.forEach(((e,s)=>{s===t?(e.active=!0,i=`${ht}${e.guid}`):e.active=!1})),this.activeDescendant=i,this.activeItemIndex>-1&&(this.activeChipIndex=-1)}isAllSelected(){return this.getItems().length===this.getSelectedItems().length}isMulti(){return!V(this.selectionMode)}renderChips(){const{activeChipIndex:i,scale:e,selectionMode:s,messages:n}=this;return this.selectedItems.map(((o,a)=>{const l={chip:!0,"chip--active":i===a},c=[...[...N(o)].reverse(),o].map((t=>t.textLabel)),r="ancestors"!==s?o.textLabel:c.join(" / ");return t("calcite-chip",{class:l,closable:!0,icon:o.icon,iconFlipRtl:o.iconFlipRtl,id:o.guid?`${dt}${o.guid}`:null,key:o.textLabel,messageOverrides:{dismissLabel:n.removeTag},onCalciteChipClose:()=>this.calciteChipCloseHandler(o),scale:e,selected:o.selected,title:r,value:o.value},r)}))}renderAllSelectedIndicatorChip(){const{compactSelectionDisplay:i,scale:e,selectedVisibleChipsCount:s,setAllSelectedIndicatorChipEl:n}=this,o=this.messages.allSelected;return t("calcite-chip",{class:{chip:!0,[q.chipInvisible]:!(this.isAllSelected()&&!s&&!i)},scale:e,title:o,value:"",ref:n},o)}renderAllSelectedIndicatorChipCompact(){const{compactSelectionDisplay:i,scale:e,selectedVisibleChipsCount:s}=this,n=this.messages.all||"All";return t("calcite-chip",{class:{chip:!0,[q.chipInvisible]:!(this.isAllSelected()&&!s&&i)},scale:e,title:n,value:""},n)}renderSelectedIndicatorChip(){const{compactSelectionDisplay:i,selectionDisplay:e,getSelectedItems:s,scale:n,selectedHiddenChipsCount:o,selectedVisibleChipsCount:a,setSelectedIndicatorChipEl:l}=this;let c,r;if(i)c=!0;else if("single"===e){const t=s().length;c=!(!this.isAllSelected()&&t>0),r=`${t} ${this.messages.selected}`}else"fit"===e&&(c=!!(this.isAllSelected()&&0===a||0===o),r=a>0?`+${o}`:`${o} ${this.messages.selected}`);return t("calcite-chip",{class:{chip:!0,[q.chipInvisible]:c},scale:n,title:r,value:"",ref:l},r)}renderSelectedIndicatorChipCompact(){const{compactSelectionDisplay:i,selectionDisplay:e,getSelectedItems:s,scale:n,selectedHiddenChipsCount:o}=this;let a,l;if(i){const t=s().length;this.isAllSelected()?a=!0:"fit"===e?(a=!(o>0),l=`${o||0}`):"single"===e&&(a=!(t>0),l=`${t}`)}else a=!0;return t("calcite-chip",{class:{chip:!0,[q.chipInvisible]:a},scale:n,title:l,value:""},l)}renderInput(){const{guid:i,disabled:e,placeholder:s,selectionMode:n,selectedItems:o,open:a}=this,l=V(n),c=o[0],r=!a&&l&&!!c;return t("span",{class:{"input-wrap":!0,"input-wrap--single":l}},r&&t("span",{class:{label:!0,"label--icon":!!(null==c?void 0:c.icon)},key:"label"},c.textLabel),t("input",{"aria-activedescendant":this.activeDescendant,"aria-autocomplete":"list","aria-controls":`${mt}${i}`,"aria-label":S(this),class:{input:!0,"input--single":!0,"input--transparent":this.activeChipIndex>-1,"input--hidden":r,"input--icon":!!this.placeholderIcon},disabled:e,id:`${ut}${i}`,key:"input",onFocus:this.comboboxFocusHandler,onInput:this.inputHandler,placeholder:s,type:"text",ref:t=>this.textInput=t}))}renderListBoxOptions(){return this.filteredItems.map((i=>t("li",{"aria-selected":r(i.selected),id:i.guid?`${ht}${i.guid}`:null,role:"option",tabindex:"-1"},i.textLabel)))}renderFloatingUIContainer(){const{setFloatingEl:i,setContainerEl:e,open:s}=this;return t("div",{"aria-hidden":"true",class:{"floating-ui-container":!0,"floating-ui-container--active":s},ref:i},t("div",{class:{[q.listContainer]:!0,[v.animation]:!0,[v.animationActive]:s},ref:e},t("ul",{class:{list:!0,"list--hide":!s}},t("slot",null))))}renderIconStart(){const{selectedItems:i,placeholderIcon:e,selectionMode:s,placeholderIconFlipRtl:n}=this,o=i[0],a=null==o?void 0:o.icon,l=V(s);return(!this.open&&o?!!a&&l:!!this.placeholderIcon&&(!o||l))&&t("span",{class:"icon-start"},t("calcite-icon",{class:"selected-icon",flipRtl:this.open&&o?o.iconFlipRtl:n,icon:!this.open&&o?a:e,scale:Z(this.scale)}))}renderIconEnd(){const{open:i}=this;return t("span",{class:"icon-end"},t("calcite-icon",{icon:i?"chevron-up":"chevron-down",scale:Z(this.scale)}))}render(){var i;const{selectionDisplay:e,guid:n,label:o,open:a}=this,l=V(this.selectionMode),c="all"===e,h="single"===e,d=!l&&"fit"===e,p=!this.clearDisabled&&(null===(i=this.value)||void 0===i?void 0:i.length)>0;return t(s,{onClick:this.comboboxFocusHandler},t("div",{"aria-autocomplete":"list","aria-controls":`${mt}${n}`,"aria-expanded":r(a),"aria-haspopup":"listbox","aria-label":S(this),"aria-live":"polite","aria-owns":`${mt}${n}`,class:{wrapper:!0,"wrapper--single":l||!this.selectedItems.length,"wrapper--active":a},onClick:this.clickHandler,onKeyDown:this.keyDownHandler,role:"combobox",ref:this.setReferenceEl},t("div",{class:{"grid-input":!0,[q.selectionDisplayFit]:d,[q.selectionDisplaySingle]:h},ref:this.setChipContainerEl},this.renderIconStart(),!l&&!h&&this.renderChips(),!l&&!c&&[this.renderSelectedIndicatorChip(),this.renderSelectedIndicatorChipCompact(),this.renderAllSelectedIndicatorChip(),this.renderAllSelectedIndicatorChipCompact()],t("label",{class:"screen-readers-only",htmlFor:`${ut}${n}`,id:`${pt}${n}`},o),this.renderInput()),p?t(rt,{disabled:this.disabled,key:"close-button",label:this.messages.clear,scale:this.scale}):null,this.renderIconEnd()),t("ul",{"aria-labelledby":`${pt}${n}`,"aria-multiselectable":"true",class:"screen-readers-only",id:`${mt}${n}`,role:"listbox",tabIndex:-1},this.renderListBoxOptions()),this.renderFloatingUIContainer(),t(C,{component:this}))}static get assetsDirs(){return["assets"]}get el(){return n(this)}static get watchers(){return{open:["openHandler"],disabled:["handleDisabledChange"],maxItems:["maxItemsHandler"],overlayPositioning:["overlayPositioningHandler"],selectionMode:["handlePropsChange"],scale:["handlePropsChange"],value:["valueHandler"],messageOverrides:["onMessagesChange"],flipPlacements:["flipPlacementsHandler"],selectedItems:["selectedItemsHandler"],text:["textHandler"],effectiveLocale:["effectiveLocaleChange"]}}};bt.style=":host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{position:relative;display:block}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([scale=s]) .x-button{inline-size:1rem;block-size:1rem}:host([scale=m]) .x-button{inline-size:1.5rem;block-size:1.5rem}:host([scale=l]) .x-button{inline-size:2rem;block-size:2rem}.x-button{margin:0px;display:flex;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;align-content:center;align-items:center;justify-content:center;align-self:center;border-width:2px;background-color:transparent;color:var(--calcite-color-text-3);outline-color:transparent;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;border-radius:50%;border-color:transparent;background-color:var(--calcite-color-foreground-2)}.x-button:active,.x-button:hover{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-3)}.x-button:active{border-style:solid;border-color:var(--calcite-color-brand)}.x-button calcite-icon{color:inherit}:host([scale=s]){font-size:var(--calcite-font-size--2);--calcite-combobox-item-spacing-unit-l:0.5rem;--calcite-combobox-item-spacing-unit-s:0.25rem;--calcite-combobox-input-height:1rem;--calcite-internal-combobox-input-margin-block:calc(0.25rem - 1px)}:host([scale=s]) .x-button{margin-inline:0.5rem}:host([scale=m]){font-size:var(--calcite-font-size--1);--calcite-combobox-item-spacing-unit-l:0.75rem;--calcite-combobox-item-spacing-unit-s:0.5rem;--calcite-combobox-input-height:1rem;--calcite-internal-combobox-input-margin-block:calc(0.5rem - 1px)}:host([scale=m]) .x-button{margin-inline-end:0.75rem}:host([scale=l]){font-size:var(--calcite-font-size-0);--calcite-combobox-item-spacing-unit-l:1rem;--calcite-combobox-item-spacing-unit-s:0.75rem;--calcite-combobox-input-height:1.5rem;--calcite-internal-combobox-input-margin-block:calc(0.625rem - 1px)}:host([scale=l]) .x-button{margin-inline-end:1rem}.wrapper{display:flex;border-width:1px;border-style:solid;border-color:var(--calcite-color-border-input);background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-1);outline-color:transparent;padding-block:calc(var(--calcite-combobox-item-spacing-unit-s) / 4);padding-inline:var(--calcite-combobox-item-spacing-unit-l)}:host(:focus-within) .wrapper,.wrapper--active{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 )}:host([status=invalid]) .wrapper{border-color:var(--calcite-color-status-danger)}:host([status=invalid]:focus-within) .wrapper{outline:2px solid var(--calcite-color-status-danger);outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n )}.wrapper--single{padding-block:0;padding-inline:var(--calcite-combobox-item-spacing-unit-l);cursor:pointer;flex-wrap:nowrap}.grid-input{position:relative;display:flex;flex-grow:1;flex-wrap:wrap;align-items:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0px;gap:var(--calcite-combobox-item-spacing-unit-s)}.grid-input.selection-display-fit,.grid-input.selection-display-single{flex-wrap:nowrap;overflow:hidden}.input{flex-grow:1;-webkit-appearance:none;-moz-appearance:none;appearance:none;text-overflow:ellipsis;border-style:none;background-color:transparent;padding:0px;font-family:inherit;color:var(--calcite-color-text-1);font-size:inherit;block-size:var(--calcite-combobox-input-height);line-height:var(--calcite-combobox-input-height);inline-size:100%;margin-block-end:var(--calcite-combobox-item-spacing-unit-s);min-inline-size:4.8125rem}.input:focus{outline:2px solid transparent;outline-offset:2px}.input:-moz-placeholder-shown{text-overflow:ellipsis}.input:placeholder-shown{text-overflow:ellipsis}.input--transparent{opacity:0}.input--single{padding:0px;margin-block:var(--calcite-internal-combobox-input-margin-block)}.wrapper--active .input-single{cursor:text}.input--hidden{pointer-events:none;inline-size:0px;min-inline-size:0px;opacity:0}.input--icon{padding-block:0;padding-inline:var(--calcite-combobox-item-spacing-unit-s)}:host([scale=m]) .input--icon,:host([scale=l]) .input--icon{padding-inline:0.25rem}.input-wrap{display:flex;flex-grow:1;align-items:center}.input-wrap--single{flex:1 1 0%;overflow:hidden}.label{pointer-events:none;display:flex;max-inline-size:100%;flex:1 1 auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0px;font-weight:var(--calcite-font-weight-normal);block-size:var(--calcite-combobox-input-height);line-height:var(--calcite-combobox-input-height)}.label--icon{padding-inline:var(--calcite-combobox-item-spacing-unit-l)}.icon-end,.icon-start{display:flex;cursor:pointer;align-items:center}.icon-end{flex:none}.floating-ui-container{--calcite-floating-ui-z-index:var(--calcite-z-index-dropdown);display:block;position:absolute;z-index:var(--calcite-floating-ui-z-index);visibility:hidden}.floating-ui-container .calcite-floating-ui-anim{position:relative;transition:var(--calcite-floating-ui-transition);transition-property: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}.floating-ui-container[data-placement^=bottom] .calcite-floating-ui-anim{transform:translateY(-5px)}.floating-ui-container[data-placement^=top] .calcite-floating-ui-anim{transform:translateY(5px)}.floating-ui-container[data-placement^=left] .calcite-floating-ui-anim{transform:translateX(5px)}.floating-ui-container[data-placement^=right] .calcite-floating-ui-anim{transform:translateX(-5px)}.floating-ui-container[data-placement] .calcite-floating-ui-anim--active{opacity:1;transform:translate(0)}.floating-ui-container--active{visibility:visible}@media (forced-colors: active){.wrapper,.floating-ui-container--active{border:1px solid canvasText}}.screen-readers-only{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}.list-container{max-block-size:45vh;overflow-y:auto;background-color:var(--calcite-color-foreground-1);inline-size:var(--calcite-dropdown-width)}.list{margin:0px;display:block;padding:0px}.list--hide{block-size:0px;overflow:hidden}calcite-chip{--calcite-animation-timing:0}.chip{margin-block:calc(var(--calcite-combobox-item-spacing-unit-s) / 4);max-inline-size:100%}.chip--active{background-color:var(--calcite-color-foreground-3)}.chip--invisible{visibility:hidden;position:absolute}.item{display:block}::slotted(input[slot=hidden-form-input]){margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}:host([hidden]){display:none}[hidden]{display:none}::slotted(calcite-combobox-item-group:not(:first-child)){padding-block-start:var(--calcite-combobox-item-spacing-unit-l)}";
12
12
  /*!
13
13
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
14
14
  * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
15
15
  * v2.0.0
16
16
  */
17
- const gt="icon",ft="icon--active",vt="icon--indent",xt=class{constructor(t){i(this,t),this.calciteComboboxItemChange=e(this,"calciteComboboxItemChange",6),this.itemClickHandler=()=>{this.toggleSelected()},this.disabled=!1,this.selected=!1,this.active=!1,this.ancestors=void 0,this.guid=z(),this.icon=void 0,this.iconFlipRtl=!1,this.textLabel=void 0,this.value=void 0,this.filterDisabled=void 0,this.selectionMode="multiple",this.scale="m"}selectedWatchHandler(){this.calciteComboboxItemChange.emit()}connectedCallback(){this.ancestors=J(this.el),it(this),I(this)}disconnectedCallback(){et(this),E(this)}componentDidRender(){D(this)}toggleSelected(){this.disabled||"single-persist"===this.selectionMode&&this.selected||(this.selected=!this.selected)}renderIcon(i){return this.icon?t("calcite-icon",{class:{"icon--custom":!!this.icon,[ft]:this.icon&&this.selected,[vt]:!0},flipRtl:this.iconFlipRtl,icon:this.icon||i,key:"icon",scale:Z(this.scale)}):null}renderSelectIndicator(i,e){return i?t("span",{class:{[gt]:!0,"icon--dot":!0,[vt]:!0}}):t("calcite-icon",{class:{[gt]:!0,[ft]:this.selected,[vt]:!0},flipRtl:this.iconFlipRtl,icon:e,key:"indicator",scale:Z(this.scale)})}renderChildren(){return h(this.el)?t("ul",{key:"default-slot-container"},t("slot",null)):null}render(){const i=V(this.selectionMode),e=i&&!this.disabled,n=this.disabled?"":i?"dot":"check",o={label:!0,"label--selected":this.selected,"label--active":this.active,"label--single":i},a=Q(this.el);return t(s,{"aria-hidden":"true"},t("div",{class:`container scale--${this.scale}`,style:{"--calcite-combobox-item-spacing-indent-multiplier":`${a}`}},t("li",{class:o,id:this.guid,onClick:this.itemClickHandler},this.renderSelectIndicator(e,n),this.renderIcon(n),t("span",{class:"title"},this.textLabel)),this.renderChildren()))}get el(){return n(this)}static get watchers(){return{selected:["selectedWatchHandler"]}}};xt.style='@charset "UTF-8";: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([hidden]){display:none}[hidden]{display:none}.scale--s{font-size:var(--calcite-font-size--2);line-height:1rem;--calcite-combobox-item-spacing-unit-l:0.5rem;--calcite-combobox-item-spacing-unit-s:0.25rem;--calcite-combobox-item-spacing-indent:0.5rem;--calcite-combobox-item-selector-icon-size:1rem}.scale--m{font-size:var(--calcite-font-size--1);line-height:1rem;--calcite-combobox-item-spacing-unit-l:0.75rem;--calcite-combobox-item-spacing-unit-s:0.5rem;--calcite-combobox-item-spacing-indent:0.75rem;--calcite-combobox-item-selector-icon-size:1rem}.scale--l{font-size:var(--calcite-font-size-0);line-height:1.25rem;--calcite-combobox-item-spacing-unit-l:1rem;--calcite-combobox-item-spacing-unit-s:0.625rem;--calcite-combobox-item-spacing-indent:1rem;--calcite-combobox-item-selector-icon-size:1.5rem}.container{--calcite-combobox-item-indent-value:calc(\n var(--calcite-combobox-item-spacing-indent) * var(--calcite-combobox-item-spacing-indent-multiplier)\n )}:host(:focus){--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([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host,ul{margin:0px;display:flex;flex-direction:column;padding:0px}:host(:focus),ul:focus{outline:2px solid transparent;outline-offset:2px}.label{position:relative;box-sizing:border-box;display:flex;inline-size:100%;min-inline-size:100%;cursor:pointer;align-items:center;color:var(--calcite-color-text-3);-webkit-text-decoration-line:none;text-decoration-line:none;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);outline-color:transparent;word-wrap:break-word;word-break:break-word;padding-block:var(--calcite-combobox-item-spacing-unit-s);padding-inline:var(--calcite-combobox-item-spacing-unit-l)}:host([disabled]) .label{cursor:default}.label--selected{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-1)}.label--active{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 )}.label:hover,.label:active{background-color:var(--calcite-color-foreground-2);color:var(--calcite-color-text-1);-webkit-text-decoration-line:none;text-decoration-line:none;--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)}.title{padding-block:0;padding-inline:var(--calcite-combobox-item-spacing-unit-l)}.icon{display:inline-flex;opacity:0;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);color:var(--calcite-color-border-1)}.icon--indent{padding-inline-start:var(--calcite-combobox-item-indent-value)}.icon--custom{margin-block-start:-1px;padding-inline-start:var(--calcite-combobox-item-spacing-unit-l);color:var(--calcite-color-text-3)}.icon--active{color:var(--calcite-color-text-1)}.icon--dot{display:flex;justify-content:center;min-inline-size:var(--calcite-combobox-item-selector-icon-size)}.icon--dot:before{text-align:start;content:"•"}.label--active .icon{opacity:1}.label--selected .icon{opacity:1;color:var(--calcite-color-brand)}:host(:hover[disabled]) .icon{opacity:1}';
17
+ const gt="icon",ft="icon--active",vt="icon--indent",wt=class{constructor(t){i(this,t),this.calciteComboboxItemChange=e(this,"calciteComboboxItemChange",6),this.itemClickHandler=()=>{this.toggleSelected()},this.disabled=!1,this.selected=!1,this.active=!1,this.ancestors=void 0,this.guid=z(),this.icon=void 0,this.iconFlipRtl=!1,this.textLabel=void 0,this.value=void 0,this.filterDisabled=void 0,this.selectionMode="multiple",this.scale="m"}selectedWatchHandler(){this.calciteComboboxItemChange.emit()}connectedCallback(){this.ancestors=J(this.el),it(this),I(this)}disconnectedCallback(){et(this),E(this)}componentDidRender(){D(this)}toggleSelected(){this.disabled||"single-persist"===this.selectionMode&&this.selected||(this.selected=!this.selected)}renderIcon(i){return this.icon?t("calcite-icon",{class:{"icon--custom":!!this.icon,[ft]:this.icon&&this.selected,[vt]:!0},flipRtl:this.iconFlipRtl,icon:this.icon||i,key:"icon",scale:Z(this.scale)}):null}renderSelectIndicator(i,e){return i?t("span",{class:{[gt]:!0,"icon--dot":!0,[vt]:!0}}):t("calcite-icon",{class:{[gt]:!0,[ft]:this.selected,[vt]:!0},flipRtl:this.iconFlipRtl,icon:e,key:"indicator",scale:Z(this.scale)})}renderChildren(){return h(this.el)?t("ul",{key:"default-slot-container"},t("slot",null)):null}render(){const i=V(this.selectionMode),e=i&&!this.disabled,n=this.disabled?"":i?"dot":"check",o={label:!0,"label--selected":this.selected,"label--active":this.active,"label--single":i},a=Q(this.el);return t(s,{"aria-hidden":"true"},t("div",{class:`container scale--${this.scale}`,style:{"--calcite-combobox-item-spacing-indent-multiplier":`${a}`}},t("li",{class:o,id:this.guid,onClick:this.itemClickHandler},this.renderSelectIndicator(e,n),this.renderIcon(n),t("span",{class:"title"},this.textLabel)),this.renderChildren()))}get el(){return n(this)}static get watchers(){return{selected:["selectedWatchHandler"]}}};wt.style='@charset "UTF-8";: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([hidden]){display:none}[hidden]{display:none}.scale--s{font-size:var(--calcite-font-size--2);line-height:1rem;--calcite-combobox-item-spacing-unit-l:0.5rem;--calcite-combobox-item-spacing-unit-s:0.25rem;--calcite-combobox-item-spacing-indent:0.5rem;--calcite-combobox-item-selector-icon-size:1rem}.scale--m{font-size:var(--calcite-font-size--1);line-height:1rem;--calcite-combobox-item-spacing-unit-l:0.75rem;--calcite-combobox-item-spacing-unit-s:0.5rem;--calcite-combobox-item-spacing-indent:0.75rem;--calcite-combobox-item-selector-icon-size:1rem}.scale--l{font-size:var(--calcite-font-size-0);line-height:1.25rem;--calcite-combobox-item-spacing-unit-l:1rem;--calcite-combobox-item-spacing-unit-s:0.625rem;--calcite-combobox-item-spacing-indent:1rem;--calcite-combobox-item-selector-icon-size:1.5rem}.container{--calcite-combobox-item-indent-value:calc(\n var(--calcite-combobox-item-spacing-indent) * var(--calcite-combobox-item-spacing-indent-multiplier)\n )}:host(:focus){--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([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host,ul{margin:0px;display:flex;flex-direction:column;padding:0px}:host(:focus),ul:focus{outline:2px solid transparent;outline-offset:2px}.label{position:relative;box-sizing:border-box;display:flex;inline-size:100%;min-inline-size:100%;cursor:pointer;align-items:center;color:var(--calcite-color-text-3);-webkit-text-decoration-line:none;text-decoration-line:none;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);outline-color:transparent;word-wrap:break-word;word-break:break-word;padding-block:var(--calcite-combobox-item-spacing-unit-s);padding-inline:var(--calcite-combobox-item-spacing-unit-l)}:host([disabled]) .label{cursor:default}.label--selected{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-1)}.label--active{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 )}.label:hover,.label:active{background-color:var(--calcite-color-foreground-2);color:var(--calcite-color-text-1);-webkit-text-decoration-line:none;text-decoration-line:none;--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)}.title{padding-block:0;padding-inline:var(--calcite-combobox-item-spacing-unit-l)}.icon{display:inline-flex;opacity:0;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);color:var(--calcite-color-border-1)}.icon--indent{padding-inline-start:var(--calcite-combobox-item-indent-value)}.icon--custom{margin-block-start:-1px;padding-inline-start:var(--calcite-combobox-item-spacing-unit-l);color:var(--calcite-color-text-3)}.icon--active{color:var(--calcite-color-text-1)}.icon--dot{display:flex;justify-content:center;min-inline-size:var(--calcite-combobox-item-selector-icon-size)}.icon--dot:before{text-align:start;content:"•"}.label--active .icon{opacity:1}.label--selected .icon{opacity:1;color:var(--calcite-color-brand)}:host(:hover[disabled]) .icon{opacity:1}';
18
18
  /*!
19
19
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
20
20
  * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
21
21
  * v2.0.0
22
22
  */
23
- const wt=class{constructor(t){i(this,t),this.calciteDropdownSelect=e(this,"calciteDropdownSelect",6),this.calciteDropdownBeforeClose=e(this,"calciteDropdownBeforeClose",6),this.calciteDropdownClose=e(this,"calciteDropdownClose",6),this.calciteDropdownBeforeOpen=e(this,"calciteDropdownBeforeOpen",6),this.calciteDropdownOpen=e(this,"calciteDropdownOpen",6),this.items=[],this.groups=[],this.mutationObserver=F("mutation",(()=>this.updateItems())),this.resizeObserver=F("resize",(t=>this.resizeObserverCallback(t))),this.openTransitionProp="opacity",this.guid=`calcite-dropdown-${z()}`,this.defaultAssignedElements=[],this.slotChangeHandler=t=>{this.defaultAssignedElements=t.target.assignedElements({flatten:!0}),this.updateItems()},this.setFilteredPlacements=()=>{const{el:t,flipPlacements:i}=this;this.filteredFlipPlacements=i?u(i,t):null},this.updateTriggers=t=>{this.triggers=t.target.assignedElements({flatten:!0}),this.reposition(!0)},this.updateItems=()=>{this.items=this.groups.map((t=>Array.from(null==t?void 0:t.querySelectorAll("calcite-dropdown-item")))).reduce(((t,i)=>[...t,...i]),[]),this.updateSelectedItems(),this.reposition(!0),this.items.forEach((t=>t.scale=this.scale))},this.updateGroups=t=>{const i=t.target.assignedElements({flatten:!0}).filter((t=>null==t?void 0:t.matches("calcite-dropdown-group")));this.groups=i,this.updateItems()},this.resizeObserverCallback=t=>{t.forEach((t=>{const{target:i}=t;i===this.referenceEl?this.setDropdownWidth():i===this.scrollerEl&&this.setMaxScrollerHeight()}))},this.setDropdownWidth=()=>{const{referenceEl:t,scrollerEl:i}=this,e=null==t?void 0:t.clientWidth;e&&i&&(i.style.minWidth=`${e}px`)},this.setMaxScrollerHeight=()=>{const{scrollerEl:t}=this;if(!t)return;this.reposition(!0);const i=this.getMaxScrollerHeight();t.style.maxHeight=i>0?`${i}px`:"",this.reposition(!0)},this.setScrollerAndTransitionEl=t=>{this.resizeObserver.observe(t),this.scrollerEl=t,this.transitionEl=t},this.setReferenceEl=t=>{this.referenceEl=t,b(this,this.referenceEl,this.floatingEl),this.resizeObserver.observe(t)},this.setFloatingEl=t=>{this.floatingEl=t,b(this,this.referenceEl,this.floatingEl)},this.keyDownHandler=t=>{if(!t.composedPath().includes(this.referenceEl))return;const{defaultPrevented:i,key:e}=t;if(!i){if(this.open){if("Escape"===e)return this.closeCalciteDropdown(),void t.preventDefault();if(t.shiftKey&&"Tab"===e)return this.closeCalciteDropdown(),void t.preventDefault()}st(e)?(this.openCalciteDropdown(),t.preventDefault()):"Escape"===e&&(this.closeCalciteDropdown(),t.preventDefault())}},this.focusOnFirstActiveOrFirstItem=()=>{this.getFocusableElement(this.items.find((t=>t.selected))||this.items[0])},this.toggleOpenEnd=()=>{this.focusOnFirstActiveOrFirstItem(),this.el.removeEventListener("calciteDropdownOpen",this.toggleOpenEnd)},this.openCalciteDropdown=()=>{this.open=!this.open,this.open&&this.el.addEventListener("calciteDropdownOpen",this.toggleOpenEnd)},this.open=!1,this.closeOnSelectDisabled=!1,this.disabled=!1,this.flipPlacements=void 0,this.maxItems=0,this.overlayPositioning="absolute",this.placement=m,this.selectedItems=[],this.type="click",this.widthScale=void 0,this.scale="m"}openHandler(){this.disabled?this.open=!1:M(this)}handleDisabledChange(t){t||(this.open=!1)}flipPlacementsHandler(){this.setFilteredPlacements(),this.reposition(!0)}maxItemsHandler(){this.setMaxScrollerHeight()}overlayPositioningHandler(){this.reposition(!0)}placementHandler(){this.reposition(!0)}handlePropsChange(){this.updateItems()}async setFocus(){await A(this),this.el.focus()}connectedCallback(){var t;null===(t=this.mutationObserver)||void 0===t||t.observe(this.el,{childList:!0,subtree:!0}),this.setFilteredPlacements(),this.reposition(!0),this.open&&(this.openHandler(),M(this)),I(this),this.updateItems(),b(this,this.referenceEl,this.floatingEl)}componentWillLoad(){P(this)}componentDidLoad(){O(this),this.reposition(!0)}componentDidRender(){D(this)}disconnectedCallback(){var t,i;null===(t=this.mutationObserver)||void 0===t||t.disconnect(),null===(i=this.resizeObserver)||void 0===i||i.disconnect(),E(this),f(this,this.referenceEl,this.floatingEl)}render(){const{open:i,guid:e}=this;return t(s,null,t("div",{class:"calcite-trigger-container",id:`${e}-menubutton`,onClick:this.openCalciteDropdown,onKeyDown:this.keyDownHandler,ref:this.setReferenceEl},t("slot",{"aria-controls":`${e}-menu`,"aria-expanded":r(i),"aria-haspopup":"menu",name:"trigger",onSlotchange:this.updateTriggers})),t("div",{"aria-hidden":r(!i),class:"calcite-dropdown-wrapper",ref:this.setFloatingEl},t("div",{"aria-labelledby":`${e}-menubutton`,class:{"calcite-dropdown-content":!0,[v.animation]:!0,[v.animationActive]:i},id:`${e}-menu`,role:"menu",ref:this.setScrollerAndTransitionEl},t("slot",{onSlotchange:this.updateGroups}))))}async reposition(t=!1){const{floatingEl:i,referenceEl:e,placement:s,overlayPositioning:n,filteredFlipPlacements:o}=this;return g(this,{floatingEl:i,referenceEl:e,overlayPositioning:n,placement:s,flipPlacements:o,type:"menu"},t)}closeCalciteDropdownOnClick(t){!this.disabled&&c(t)&&this.open&&!t.composedPath().includes(this.el)&&this.closeCalciteDropdown(!1)}closeCalciteDropdownOnEvent(t){this.closeCalciteDropdown(),t.stopPropagation()}closeCalciteDropdownOnOpenEvent(t){t.composedPath().includes(this.el)||(this.open=!1)}pointerEnterHandler(){this.disabled||"hover"!==this.type||this.openCalciteDropdown()}pointerLeaveHandler(){this.disabled||"hover"!==this.type||this.closeCalciteDropdown()}calciteInternalDropdownItemKeyEvent(t){const{keyboardEvent:i}=t.detail,e=i.target;switch(i.key){case"Tab":this.open=!1,this.updateTabIndexOfItems(e);break;case"ArrowDown":d(this.items,e,"next");break;case"ArrowUp":d(this.items,e,"previous");break;case"Home":d(this.items,e,"first");break;case"End":d(this.items,e,"last")}t.stopPropagation()}handleItemSelect(t){this.updateSelectedItems(),t.stopPropagation(),this.calciteDropdownSelect.emit(),this.closeOnSelectDisabled&&"none"!==t.detail.requestedDropdownGroup.selectionMode||this.closeCalciteDropdown(),t.stopPropagation()}onBeforeOpen(){this.reposition(!0),this.calciteDropdownBeforeOpen.emit()}onOpen(){this.calciteDropdownOpen.emit()}onBeforeClose(){this.calciteDropdownBeforeClose.emit()}onClose(){this.calciteDropdownClose.emit(),this.reposition(!0)}updateSelectedItems(){this.selectedItems=this.items.filter((t=>t.selected))}getMaxScrollerHeight(){const{maxItems:t,items:i}=this;let e,s=0,n=0;return this.groups.forEach((i=>{t>0&&s<t&&Array.from(i.children).forEach(((i,o)=>{0===o&&(isNaN(e)&&(e=i.offsetTop),n+=e),s<t&&(n+=i.offsetHeight,s+=1)}))})),i.length>t?n:0}closeCalciteDropdown(t=!0){this.open=!1,t&&p(this.triggers[0])}getFocusableElement(t){if(!t)return;const i=t.attributes.isLink?t.shadowRoot.querySelector("a"):t;p(i)}updateTabIndexOfItems(t){this.items.forEach((i=>{i.tabIndex=t!==i?-1:0}))}static get delegatesFocus(){return!0}get el(){return n(this)}static get watchers(){return{open:["openHandler"],disabled:["handleDisabledChange"],flipPlacements:["flipPlacementsHandler"],maxItems:["maxItemsHandler"],overlayPositioning:["overlayPositioningHandler"],placement:["placementHandler"],scale:["handlePropsChange"]}}};wt.style=":host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:inline-block}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host .calcite-dropdown-wrapper{--calcite-floating-ui-z-index:var(--calcite-z-index-dropdown);display:block;position:absolute;z-index:var(--calcite-floating-ui-z-index);visibility:hidden}.calcite-dropdown-wrapper .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}.calcite-dropdown-wrapper[data-placement^=bottom] .calcite-floating-ui-anim{transform:translateY(-5px)}.calcite-dropdown-wrapper[data-placement^=top] .calcite-floating-ui-anim{transform:translateY(5px)}.calcite-dropdown-wrapper[data-placement^=left] .calcite-floating-ui-anim{transform:translateX(5px)}.calcite-dropdown-wrapper[data-placement^=right] .calcite-floating-ui-anim{transform:translateX(-5px)}.calcite-dropdown-wrapper[data-placement] .calcite-floating-ui-anim--active{opacity:1;transform:translate(0)}:host([open]) .calcite-dropdown-wrapper{visibility:visible}:host .calcite-dropdown-content{max-block-size:45vh;inline-size:auto;overflow-y:auto;overflow-x:hidden;background-color:var(--calcite-color-foreground-1);inline-size:var(--calcite-dropdown-width)}.calcite-trigger-container{position:relative;display:flex;block-size:100%;flex:1 1 auto;word-wrap:break-word;word-break:break-word}@media (forced-colors: active){:host([open]) .calcite-dropdown-wrapper{border:1px solid canvasText}}:host([width-scale=s]){--calcite-dropdown-width:12rem}:host([width-scale=m]){--calcite-dropdown-width:14rem}:host([width-scale=l]){--calcite-dropdown-width:16rem}:host([hidden]){display:none}[hidden]{display:none}";
23
+ const xt=class{constructor(t){i(this,t),this.calciteDropdownSelect=e(this,"calciteDropdownSelect",6),this.calciteDropdownBeforeClose=e(this,"calciteDropdownBeforeClose",6),this.calciteDropdownClose=e(this,"calciteDropdownClose",6),this.calciteDropdownBeforeOpen=e(this,"calciteDropdownBeforeOpen",6),this.calciteDropdownOpen=e(this,"calciteDropdownOpen",6),this.items=[],this.groups=[],this.mutationObserver=F("mutation",(()=>this.updateItems())),this.resizeObserver=F("resize",(t=>this.resizeObserverCallback(t))),this.openTransitionProp="opacity",this.guid=`calcite-dropdown-${z()}`,this.defaultAssignedElements=[],this.slotChangeHandler=t=>{this.defaultAssignedElements=t.target.assignedElements({flatten:!0}),this.updateItems()},this.setFilteredPlacements=()=>{const{el:t,flipPlacements:i}=this;this.filteredFlipPlacements=i?u(i,t):null},this.updateTriggers=t=>{this.triggers=t.target.assignedElements({flatten:!0}),this.reposition(!0)},this.updateItems=()=>{this.items=this.groups.map((t=>Array.from(null==t?void 0:t.querySelectorAll("calcite-dropdown-item")))).reduce(((t,i)=>[...t,...i]),[]),this.updateSelectedItems(),this.reposition(!0),this.items.forEach((t=>t.scale=this.scale))},this.updateGroups=t=>{const i=t.target.assignedElements({flatten:!0}).filter((t=>null==t?void 0:t.matches("calcite-dropdown-group")));this.groups=i,this.updateItems()},this.resizeObserverCallback=t=>{t.forEach((t=>{const{target:i}=t;i===this.referenceEl?this.setDropdownWidth():i===this.scrollerEl&&this.setMaxScrollerHeight()}))},this.setDropdownWidth=()=>{const{referenceEl:t,scrollerEl:i}=this,e=null==t?void 0:t.clientWidth;e&&i&&(i.style.minWidth=`${e}px`)},this.setMaxScrollerHeight=()=>{const{scrollerEl:t}=this;if(!t)return;this.reposition(!0);const i=this.getMaxScrollerHeight();t.style.maxHeight=i>0?`${i}px`:"",this.reposition(!0)},this.setScrollerAndTransitionEl=t=>{this.resizeObserver.observe(t),this.scrollerEl=t,this.transitionEl=t},this.setReferenceEl=t=>{this.referenceEl=t,b(this,this.referenceEl,this.floatingEl),this.resizeObserver.observe(t)},this.setFloatingEl=t=>{this.floatingEl=t,b(this,this.referenceEl,this.floatingEl)},this.keyDownHandler=t=>{if(!t.composedPath().includes(this.referenceEl))return;const{defaultPrevented:i,key:e}=t;if(!i){if(this.open){if("Escape"===e)return this.closeCalciteDropdown(),void t.preventDefault();if(t.shiftKey&&"Tab"===e)return this.closeCalciteDropdown(),void t.preventDefault()}st(e)?(this.openCalciteDropdown(),t.preventDefault()):"Escape"===e&&(this.closeCalciteDropdown(),t.preventDefault())}},this.focusOnFirstActiveOrFirstItem=()=>{this.getFocusableElement(this.items.find((t=>t.selected))||this.items[0])},this.toggleOpenEnd=()=>{this.focusOnFirstActiveOrFirstItem(),this.el.removeEventListener("calciteDropdownOpen",this.toggleOpenEnd)},this.openCalciteDropdown=()=>{this.open=!this.open,this.open&&this.el.addEventListener("calciteDropdownOpen",this.toggleOpenEnd)},this.open=!1,this.closeOnSelectDisabled=!1,this.disabled=!1,this.flipPlacements=void 0,this.maxItems=0,this.overlayPositioning="absolute",this.placement=m,this.selectedItems=[],this.type="click",this.widthScale=void 0,this.scale="m"}openHandler(){this.disabled?this.open=!1:M(this)}handleDisabledChange(t){t||(this.open=!1)}flipPlacementsHandler(){this.setFilteredPlacements(),this.reposition(!0)}maxItemsHandler(){this.setMaxScrollerHeight()}overlayPositioningHandler(){this.reposition(!0)}placementHandler(){this.reposition(!0)}handlePropsChange(){this.updateItems()}async setFocus(){await A(this),this.el.focus()}connectedCallback(){var t;null===(t=this.mutationObserver)||void 0===t||t.observe(this.el,{childList:!0,subtree:!0}),this.setFilteredPlacements(),this.reposition(!0),this.open&&(this.openHandler(),M(this)),I(this),this.updateItems(),b(this,this.referenceEl,this.floatingEl)}componentWillLoad(){O(this)}componentDidLoad(){P(this),this.reposition(!0)}componentDidRender(){D(this)}disconnectedCallback(){var t,i;null===(t=this.mutationObserver)||void 0===t||t.disconnect(),null===(i=this.resizeObserver)||void 0===i||i.disconnect(),E(this),f(this,this.referenceEl,this.floatingEl)}render(){const{open:i,guid:e}=this;return t(s,null,t("div",{class:"calcite-trigger-container",id:`${e}-menubutton`,onClick:this.openCalciteDropdown,onKeyDown:this.keyDownHandler,ref:this.setReferenceEl},t("slot",{"aria-controls":`${e}-menu`,"aria-expanded":r(i),"aria-haspopup":"menu",name:"trigger",onSlotchange:this.updateTriggers})),t("div",{"aria-hidden":r(!i),class:"calcite-dropdown-wrapper",ref:this.setFloatingEl},t("div",{"aria-labelledby":`${e}-menubutton`,class:{"calcite-dropdown-content":!0,[v.animation]:!0,[v.animationActive]:i},id:`${e}-menu`,role:"menu",ref:this.setScrollerAndTransitionEl},t("slot",{onSlotchange:this.updateGroups}))))}async reposition(t=!1){const{floatingEl:i,referenceEl:e,placement:s,overlayPositioning:n,filteredFlipPlacements:o}=this;return g(this,{floatingEl:i,referenceEl:e,overlayPositioning:n,placement:s,flipPlacements:o,type:"menu"},t)}closeCalciteDropdownOnClick(t){!this.disabled&&c(t)&&this.open&&!t.composedPath().includes(this.el)&&this.closeCalciteDropdown(!1)}closeCalciteDropdownOnEvent(t){this.closeCalciteDropdown(),t.stopPropagation()}closeCalciteDropdownOnOpenEvent(t){t.composedPath().includes(this.el)||(this.open=!1)}pointerEnterHandler(){this.disabled||"hover"!==this.type||this.openCalciteDropdown()}pointerLeaveHandler(){this.disabled||"hover"!==this.type||this.closeCalciteDropdown()}calciteInternalDropdownItemKeyEvent(t){const{keyboardEvent:i}=t.detail,e=i.target;switch(i.key){case"Tab":this.open=!1,this.updateTabIndexOfItems(e);break;case"ArrowDown":d(this.items,e,"next");break;case"ArrowUp":d(this.items,e,"previous");break;case"Home":d(this.items,e,"first");break;case"End":d(this.items,e,"last")}t.stopPropagation()}handleItemSelect(t){this.updateSelectedItems(),t.stopPropagation(),this.calciteDropdownSelect.emit(),this.closeOnSelectDisabled&&"none"!==t.detail.requestedDropdownGroup.selectionMode||this.closeCalciteDropdown(),t.stopPropagation()}onBeforeOpen(){this.reposition(!0),this.calciteDropdownBeforeOpen.emit()}onOpen(){this.calciteDropdownOpen.emit()}onBeforeClose(){this.calciteDropdownBeforeClose.emit()}onClose(){this.calciteDropdownClose.emit(),this.reposition(!0)}updateSelectedItems(){this.selectedItems=this.items.filter((t=>t.selected))}getMaxScrollerHeight(){const{maxItems:t,items:i}=this;let e,s=0,n=0;return this.groups.forEach((i=>{t>0&&s<t&&Array.from(i.children).forEach(((i,o)=>{0===o&&(isNaN(e)&&(e=i.offsetTop),n+=e),s<t&&(n+=i.offsetHeight,s+=1)}))})),i.length>t?n:0}closeCalciteDropdown(t=!0){this.open=!1,t&&p(this.triggers[0])}getFocusableElement(t){if(!t)return;const i=t.attributes.isLink?t.shadowRoot.querySelector("a"):t;p(i)}updateTabIndexOfItems(t){this.items.forEach((i=>{i.tabIndex=t!==i?-1:0}))}static get delegatesFocus(){return!0}get el(){return n(this)}static get watchers(){return{open:["openHandler"],disabled:["handleDisabledChange"],flipPlacements:["flipPlacementsHandler"],maxItems:["maxItemsHandler"],overlayPositioning:["overlayPositioningHandler"],placement:["placementHandler"],scale:["handlePropsChange"]}}};xt.style=":host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:inline-block}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host .calcite-dropdown-wrapper{--calcite-floating-ui-z-index:var(--calcite-z-index-dropdown);display:block;position:absolute;z-index:var(--calcite-floating-ui-z-index);visibility:hidden}.calcite-dropdown-wrapper .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}.calcite-dropdown-wrapper[data-placement^=bottom] .calcite-floating-ui-anim{transform:translateY(-5px)}.calcite-dropdown-wrapper[data-placement^=top] .calcite-floating-ui-anim{transform:translateY(5px)}.calcite-dropdown-wrapper[data-placement^=left] .calcite-floating-ui-anim{transform:translateX(5px)}.calcite-dropdown-wrapper[data-placement^=right] .calcite-floating-ui-anim{transform:translateX(-5px)}.calcite-dropdown-wrapper[data-placement] .calcite-floating-ui-anim--active{opacity:1;transform:translate(0)}:host([open]) .calcite-dropdown-wrapper{visibility:visible}:host .calcite-dropdown-content{max-block-size:45vh;inline-size:auto;overflow-y:auto;overflow-x:hidden;background-color:var(--calcite-color-foreground-1);inline-size:var(--calcite-dropdown-width)}.calcite-trigger-container{position:relative;display:flex;block-size:100%;flex:1 1 auto;word-wrap:break-word;word-break:break-word}@media (forced-colors: active){:host([open]) .calcite-dropdown-wrapper{border:1px solid canvasText}}:host([width-scale=s]){--calcite-dropdown-width:12rem}:host([width-scale=m]){--calcite-dropdown-width:14rem}:host([width-scale=l]){--calcite-dropdown-width:16rem}:host([hidden]){display:none}[hidden]{display:none}";
24
24
  /*!
25
25
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
26
26
  * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
27
27
  * v2.0.0
28
28
  */
29
- const yt="container",kt=class{constructor(t){i(this,t),this.calciteInternalDropdownItemChange=e(this,"calciteInternalDropdownItemChange",6),this.updateItems=()=>{Array.from(this.el.querySelectorAll("calcite-dropdown-item")).forEach((t=>t.selectionMode=this.selectionMode))},this.mutationObserver=F("mutation",(()=>this.updateItems())),this.groupTitle=void 0,this.scale="m",this.selectionMode="single"}handlePropsChange(){this.updateItems()}connectedCallback(){var t;this.updateItems(),null===(t=this.mutationObserver)||void 0===t||t.observe(this.el,{childList:!0})}componentWillLoad(){this.groupPosition=this.getGroupPosition()}disconnectedCallback(){var t;null===(t=this.mutationObserver)||void 0===t||t.disconnect()}render(){const i=this.groupTitle?t("span",{"aria-hidden":"true",class:"dropdown-title"},this.groupTitle):null,e=this.groupPosition>0?t("div",{class:"dropdown-separator",role:"separator"}):null;return t(s,{"aria-label":this.groupTitle,role:"group"},t("div",{class:{[yt]:!0,[`${yt}--${this.scale}`]:!0}},e,i,t("slot",null)))}updateActiveItemOnChange(t){this.requestedDropdownGroup=t.detail.requestedDropdownGroup,this.requestedDropdownItem=t.detail.requestedDropdownItem,this.calciteInternalDropdownItemChange.emit({requestedDropdownGroup:this.requestedDropdownGroup,requestedDropdownItem:this.requestedDropdownItem})}getGroupPosition(){return Array.prototype.indexOf.call(this.el.parentElement.querySelectorAll("calcite-dropdown-group"),this.el)}static get delegatesFocus(){return!0}get el(){return n(this)}static get watchers(){return{selectionMode:["handlePropsChange"]}}};kt.style=":host{position:relative;display:block}.container{text-align:start}.container--s{font-size:var(--calcite-font-size--2);line-height:1rem}.container--s .dropdown-title{padding:0.5rem}.container--m{font-size:var(--calcite-font-size--1);line-height:1rem}.container--m .dropdown-title{padding:0.75rem}.container--l{font-size:var(--calcite-font-size-0);line-height:1.25rem}.container--l .dropdown-title{padding:1rem}.dropdown-title{margin-block-end:-1px;display:block;cursor:default;overflow-wrap:break-word;border-width:0px;border-block-end-width:1px;border-style:solid;border-color:var(--calcite-color-border-3);font-weight:var(--calcite-font-weight-bold);color:var(--calcite-color-text-2)}.dropdown-separator{display:block;block-size:1px;background-color:var(--calcite-color-border-3)}:host([hidden]){display:none}[hidden]{display:none}";const Ct=class{constructor(t){i(this,t),this.calciteDropdownItemSelect=e(this,"calciteDropdownItemSelect",6),this.calciteInternalDropdownItemSelect=e(this,"calciteInternalDropdownItemSelect",6),this.calciteInternalDropdownItemKeyEvent=e(this,"calciteInternalDropdownItemKeyEvent",6),this.calciteInternalDropdownCloseRequest=e(this,"calciteInternalDropdownCloseRequest",6),this.selected=!1,this.iconFlipRtl=void 0,this.iconStart=void 0,this.iconEnd=void 0,this.href=void 0,this.label=void 0,this.rel=void 0,this.target=void 0,this.selectionMode="single",this.scale="m"}async setFocus(){var t;await A(this),null===(t=this.el)||void 0===t||t.focus()}componentWillLoad(){P(this),this.initialize()}componentDidLoad(){O(this)}connectedCallback(){this.initialize()}render(){const{href:i,selectionMode:e,label:n,iconFlipRtl:o,scale:a}=this,l=t("calcite-icon",{class:"dropdown-item-icon-start",flipRtl:"start"===o||"both"===o,icon:this.iconStart,scale:Z(this.scale)}),c=t("span",{class:"dropdown-item-content"},t("slot",null)),h=t("calcite-icon",{class:"dropdown-item-icon-end",flipRtl:"end"===o||"both"===o,icon:this.iconEnd,scale:Z(this.scale)}),d=this.iconStart&&this.iconEnd?[l,c,h]:this.iconStart?[l,c]:this.iconEnd?[c,h]:c,p=i?t("a",{"aria-label":n,class:"dropdown-link",href:i,rel:this.rel,tabIndex:-1,target:this.target,ref:t=>this.childLink=t},d):d,m=i?null:"single"===e?"menuitemradio":"multiple"===e?"menuitemcheckbox":"menuitem",u="none"!==e?r(this.selected):null;return t(s,{"aria-checked":u,"aria-label":i?"":n,role:m,tabindex:"0"},t("div",{class:{[yt]:!0,"container--link":!!i,[`${yt}--${a}`]:!0,"container--multi-selection":"multiple"===e,"container--single-selection":"single"===e,"container--none-selection":"none"===e}},"none"!==e?t("calcite-icon",{class:"dropdown-item-icon",icon:"multiple"===e?"check":"bullet-point",scale:Z(this.scale)}):null,p))}onClick(){this.emitRequestedItem()}keyDownHandler(t){switch(t.key){case" ":case"Enter":this.emitRequestedItem(),this.href&&this.childLink.click(),t.preventDefault();break;case"Escape":this.calciteInternalDropdownCloseRequest.emit(),t.preventDefault();break;case"Tab":this.calciteInternalDropdownItemKeyEvent.emit({keyboardEvent:t});break;case"ArrowUp":case"ArrowDown":case"Home":case"End":t.preventDefault(),this.calciteInternalDropdownItemKeyEvent.emit({keyboardEvent:t})}}updateActiveItemOnChange(t){t.composedPath().includes(this.parentDropdownGroupEl)&&(this.requestedDropdownGroup=t.detail.requestedDropdownGroup,this.requestedDropdownItem=t.detail.requestedDropdownItem,this.determineActiveItem()),t.stopPropagation()}initialize(){this.parentDropdownGroupEl=this.el.closest("calcite-dropdown-group"),"none"===this.selectionMode&&(this.selected=!1)}determineActiveItem(){switch(this.selectionMode){case"multiple":this.el===this.requestedDropdownItem&&(this.selected=!this.selected);break;case"single":this.el===this.requestedDropdownItem?this.selected=!0:this.requestedDropdownGroup===this.parentDropdownGroupEl&&(this.selected=!1);break;case"none":this.selected=!1}}emitRequestedItem(){this.calciteDropdownItemSelect.emit(),this.calciteInternalDropdownItemSelect.emit({requestedDropdownItem:this.el,requestedDropdownGroup:this.parentDropdownGroupEl})}get el(){return n(this)}};Ct.style=".container--s{padding-block:0.25rem;font-size:var(--calcite-font-size--2);line-height:1rem;padding-inline-end:0.5rem;padding-inline-start:1.5rem}.container--m{padding-block:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem;padding-inline-end:0.75rem;padding-inline-start:2rem}.container--l{padding-block:0.625rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;padding-inline-end:1rem;padding-inline-start:2.5rem}.container--s.container--none-selection{padding-inline-start:0.25rem}.container--s.container--none-selection .dropdown-link{padding-inline-start:0px}.container--m.container--none-selection{padding-inline-start:0.5rem}.container--m.container--none-selection .dropdown-link{padding-inline-start:0px}.container--l.container--none-selection{padding-inline-start:0.75rem}.container--l.container--none-selection .dropdown-link{padding-inline-start:0px}:host{position:relative;display:flex;flex-grow:1;align-items:center}.container{position:relative;display:flex;flex-grow:1;cursor:pointer;align-items:center;color:var(--calcite-color-text-3);-webkit-text-decoration-line:none;text-decoration-line:none;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);text-align:start}.dropdown-item-content{flex:1 1 auto;padding-block:0.125rem;padding-inline-end:auto;padding-inline-start:0.25rem}:host,.container--link a{outline-color:transparent}:host(:focus){outline:2px solid transparent;outline-offset:2px;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 )}.container--link{padding:0px}.container--link a{position:relative;display:flex;flex-grow:1;cursor:pointer;align-items:center;color:var(--calcite-color-text-3);-webkit-text-decoration-line:none;text-decoration-line:none;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}.container--s .dropdown-link{padding-block:0.25rem;font-size:var(--calcite-font-size--2);line-height:1rem;padding-inline-end:0.5rem;padding-inline-start:1.5rem}.container--m .dropdown-link{padding-block:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem;padding-inline-end:0.75rem;padding-inline-start:2rem}.container--l .dropdown-link{padding-block:0.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;padding-inline-end:1rem;padding-inline-start:2.5rem}:host(:hover) .container,:host(:active) .container{background-color:var(--calcite-color-foreground-2);color:var(--calcite-color-text-1);-webkit-text-decoration-line:none;text-decoration-line:none}:host(:hover) .container--link .dropdown-link,:host(:active) .container--link .dropdown-link{color:var(--calcite-color-text-1)}:host(:focus) .container{color:var(--calcite-color-text-1);-webkit-text-decoration-line:none;text-decoration-line:none}:host(:active) .container{background-color:var(--calcite-color-foreground-3)}:host(:hover) .container:before,:host(:active) .container:before,:host(:focus) .container:before{opacity:1}:host([selected]) .container:not(.container--none-selection),:host([selected]) .container--link .dropdown-link{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-1)}:host([selected]) .container:not(.container--none-selection):before,:host([selected]) .container--link .dropdown-link:before{opacity:1;color:var(--calcite-color-brand)}:host([selected]) .container:not(.container--none-selection) calcite-icon,:host([selected]) .container--link .dropdown-link calcite-icon{color:var(--calcite-color-brand)}.container--multi-selection:before,.container--none-selection:before{display:none}.container--s:before{inset-inline-start:0.5rem}.container--m:before{inset-inline-start:0.75rem}.container--l:before{inset-inline-start:1rem}.dropdown-item-icon{position:absolute;opacity:0;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transform:scale(0.9)}.container--s .dropdown-item-icon{inset-inline-start:0.25rem}.container--m .dropdown-item-icon{inset-inline-start:0.5rem}.container--l .dropdown-item-icon{inset-inline-start:0.75rem}:host(:hover) .dropdown-item-icon{color:var(--calcite-color-border-1);opacity:1}:host([selected]) .dropdown-item-icon{color:var(--calcite-color-brand);opacity:1}.container--s .dropdown-item-icon-start{margin-inline-end:0.5rem;margin-inline-start:0.25rem}.container--s .dropdown-item-icon-end{margin-inline-start:0.5rem}.container--m .dropdown-item-icon-start{margin-inline-end:0.75rem;margin-inline-start:0.25rem}.container--m .dropdown-item-icon-end{margin-inline-start:0.75rem}.container--l .dropdown-item-icon-start{margin-inline-end:1rem;margin-inline-start:0.25rem}.container--l .dropdown-item-icon-end{margin-inline-start:1rem}:host([hidden]){display:none}[hidden]{display:none}";const zt=class{constructor(t){i(this,t),this.idsFound=e(this,"idsFound",7),this.noLayersFound=e(this,"noLayersFound",7),this.layerSelectionChange=e(this,"layerSelectionChange",7),this.defaultLayerHonored=!1,this.appearance="transparent",this.defaultLayerId="",this.display="inline-block",this.enabledLayerIds=[],this.enabledTableIds=[],this.height=void 0,this.mapView=void 0,this.onlyShowUpdatableLayers=void 0,this.placeholderIcon="",this.selectedIds=[],this.scale="m",this.showTables=void 0,this.showSingleLayerAsLabel=!1,this.type="select",this._hasMultipleLayers=!0,this._hasValidLayers=!0,this.ids=[],this.selectedName="",this._translations=void 0}async mapViewWatchHandler(){await this._setLayers(),this.ids.length>0?(this._hasValidLayers=!0,this._hasMultipleLayers=this.ids.length>1,this._setSelectedLayer(this.ids[0])):(this._hasValidLayers=!1,this.noLayersFound.emit())}async componentWillLoad(){await this._getTranslations(),await this._setLayers(),(this.ids.length>0||1===this.selectedIds.length)&&this.layerSelectionChange.emit(1===this.selectedIds.length?[this.selectedIds[0]]:[this.ids[0]])}render(){const i="map-layer-picker";let e=this.height>0?{height:`${this.height.toString()}px`}:{};return e=Object.assign(Object.assign({},e),{display:this.display}),t(s,null,t("div",{class:"map-layer-picker-container",style:e},t("div",{class:"map-layer-picker",style:e},this._hasValidLayers?!this._hasMultipleLayers&&this.showSingleLayerAsLabel?this._getSingleLayerPlaceholder():"combobox"===this.type?this._getCombobox(i):"select"===this.type?this._getSelect(i):this._getDropdown(i):this._getInvalidPlaceholder(),t("calcite-tooltip",{label:"",placement:"bottom","reference-element":i},t("span",null,this._translations.switchLayer)))))}async componentDidLoad(){if(this.ids.length>0||1===this.selectedIds.length){const t=1===this.selectedIds.length?this.selectedIds[0]:this.ids[0];"select"===this.type?this._layerElement.value=t:"dropdown"===this.type&&(this.selectedName=Object.keys(this._layerNameHash).indexOf(t)>-1?this._layerNameHash[t].name:Object.keys(this._tableNameHash).indexOf(t)>-1?this._tableNameHash[t].name:"")}}_getInvalidPlaceholder(){return t("div",null,t("calcite-notice",{class:"height-100",icon:"exclamation-mark-triangle",id:"no-valid-layers",kind:"danger",open:!0},t("div",{slot:"message"},this._translations.noLayersFound)),t("calcite-tooltip",{label:this._translations.enableEditUpdate,placement:"bottom","reference-element":"no-valid-layers"},t("span",null,this._translations.enableEditUpdate)))}_getSingleLayerPlaceholder(){return t("div",{class:"layer-picker-label-container cursor-default"},t("calcite-icon",{icon:"layers",scale:"s"}),t("calcite-label",{class:"no-bottom-margin padding-start-1"},this.selectedName))}_getSelect(i){return t("calcite-select",{id:i,label:"",onCalciteSelectChange:()=>this._layerSelectionChange(),ref:t=>{this._layerElement=t},scale:this.scale},this._getMapLayerOptions())}_getCombobox(i){return t("calcite-combobox",{clearDisabled:!0,id:i,label:"",onCalciteComboboxChange:()=>this._layerSelectionChange(),"placeholder-icon":this.placeholderIcon,ref:t=>{this._layerElement=t},scale:this.scale,"selection-mode":"single"},this._getMapLayerOptions())}_getDropdown(i){return t("calcite-dropdown",{class:"layer-picker-dropdown"},t("calcite-action",{id:i,slot:"trigger",text:""},t("calcite-button",{alignment:"icon-end-space-between",appearance:this.appearance,class:"max-width-350",iconEnd:"chevron-down",iconStart:"layers",kind:"neutral",width:"full"},t("div",null,this.selectedName))),t("calcite-dropdown-group",{"selection-mode":"single"},this._getMapLayerOptions()))}_getMapLayerOptions(){return this.ids.reduce(((t,i)=>(this._validLayer(i)?t.push(this._getItem(i,"layer")):this._validTable(i)&&t.push(this._getItem(i,"table")),t)),[])}_getItem(i,e){const s="layer"===e?this._layerNameHash[i]:this._tableNameHash[i],n=!!this.onlyShowUpdatableLayers&&!s.supportsUpdate,o=s.name,a=this.selectedIds.indexOf(i)>-1;return"combobox"===this.type?t("calcite-combobox-item",{disabled:n,selected:a,textLabel:o,value:i}):"select"===this.type?t("calcite-option",{disabled:n,label:o,selected:a,value:i}):t("calcite-dropdown-group",{class:n?"disabled":"",selectionMode:n?"none":"single"},t("calcite-dropdown-item",{onClick:n?void 0:()=>{this._setSelectedLayer(i)},selected:a},o))}_setSelectedLayer(t){let i;this.defaultLayerId&&!this.defaultLayerHonored&&(i=this._getLayerFromHash(this.defaultLayerId),this.defaultLayerHonored=void 0!==i,t=this.defaultLayerHonored?this.defaultLayerId:t),i=i||this._getLayerFromHash(t),this.selectedName=null==i?void 0:i.name,this.selectedIds=[t],this.layerSelectionChange.emit(this.selectedIds)}_getLayerFromHash(t){return Object.keys(this._layerNameHash).indexOf(t)>-1?this._layerNameHash[t]:Object.keys(this._tableNameHash).indexOf(t)>-1?this._tableNameHash[t]:void 0}async _setLayers(){if(this.mapView){await this._initLayerTableHash();const t=this.onlyShowUpdatableLayers?this._getEditableIds(this._layerNameHash):Object.keys(this._layerNameHash),i=this.showTables?this.onlyShowUpdatableLayers?this._getEditableIds(this._tableNameHash):Object.keys(this._tableNameHash):[];this.ids=[...t.reverse().filter((t=>{var i;return!((null===(i=this.enabledLayerIds)||void 0===i?void 0:i.length)>0)||this.enabledLayerIds.reverse().indexOf(t)>-1})),...i.reverse().filter((t=>{var i;return!((null===(i=this.enabledTableIds)||void 0===i?void 0:i.length)>0)||this.enabledTableIds.reverse().indexOf(t)>-1}))],this.idsFound.emit({layerIds:t,tableIds:i})}}_getEditableIds(t){return Object.keys(t).reduce(((i,e)=>(t[e].supportsUpdate&&i.push(e),i)),[])}async _initLayerTableHash(){this._layerNameHash=await ot(this.mapView,this.onlyShowUpdatableLayers),this._tableNameHash=this.showTables?await at(this.mapView,this.onlyShowUpdatableLayers):{}}_validLayer(t){var i;const e=null===(i=this._layerNameHash[t])||void 0===i?void 0:i.name;return e&&lt.managedLayers.indexOf(e)<0&&(!(this.enabledLayerIds.length>0)||this.enabledLayerIds.indexOf(t)>-1)}_validTable(t){var i;const e=null===(i=this._tableNameHash[t])||void 0===i?void 0:i.name,s=e&&this.showTables;return s?lt.managedTables.indexOf(e)<0&&(!(this.enabledTableIds.length>0)||this.enabledTableIds.indexOf(t)>-1):s}_layerSelectionChange(){const t=Array.isArray(this._layerElement.value)?this._layerElement.value:[this._layerElement.value];JSON.stringify(t)!==JSON.stringify([""])&&(this.selectedIds=t,this.layerSelectionChange.emit(this.selectedIds))}async _getTranslations(){const t=await nt(this.el);this._translations=t[0]}get el(){return n(this)}static get watchers(){return{mapView:["mapViewWatchHandler"]}}};zt.style=":host{display:block}.map-layer-picker-container{width:100%;align-items:center}.map-layer-picker{position:relative;width:100%;display:inline-block}.padding-bottom-1{padding-bottom:1rem}.layer-picker-dropdown{height:100%;width:100%}.max-width-350{max-width:350px}.height-100{height:100%}.disabled{cursor:default !important;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled);pointer-events:none}.no-bottom-margin{--calcite-label-margin-bottom:0px}.layer-picker-label-container{align-items:center;display:inline-flex;height:100%;padding-inline-start:1rem;padding-inline-end:1rem}.padding-start-1{padding-inline-start:1rem}.cursor-default{cursor:default}";export{bt as calcite_combobox,xt as calcite_combobox_item,wt as calcite_dropdown,kt as calcite_dropdown_group,Ct as calcite_dropdown_item,zt as map_layer_picker}
29
+ const yt="container",kt=class{constructor(t){i(this,t),this.calciteInternalDropdownItemChange=e(this,"calciteInternalDropdownItemChange",6),this.updateItems=()=>{Array.from(this.el.querySelectorAll("calcite-dropdown-item")).forEach((t=>t.selectionMode=this.selectionMode))},this.mutationObserver=F("mutation",(()=>this.updateItems())),this.groupTitle=void 0,this.scale="m",this.selectionMode="single"}handlePropsChange(){this.updateItems()}connectedCallback(){var t;this.updateItems(),null===(t=this.mutationObserver)||void 0===t||t.observe(this.el,{childList:!0})}componentWillLoad(){this.groupPosition=this.getGroupPosition()}disconnectedCallback(){var t;null===(t=this.mutationObserver)||void 0===t||t.disconnect()}render(){const i=this.groupTitle?t("span",{"aria-hidden":"true",class:"dropdown-title"},this.groupTitle):null,e=this.groupPosition>0?t("div",{class:"dropdown-separator",role:"separator"}):null;return t(s,{"aria-label":this.groupTitle,role:"group"},t("div",{class:{[yt]:!0,[`${yt}--${this.scale}`]:!0}},e,i,t("slot",null)))}updateActiveItemOnChange(t){this.requestedDropdownGroup=t.detail.requestedDropdownGroup,this.requestedDropdownItem=t.detail.requestedDropdownItem,this.calciteInternalDropdownItemChange.emit({requestedDropdownGroup:this.requestedDropdownGroup,requestedDropdownItem:this.requestedDropdownItem})}getGroupPosition(){return Array.prototype.indexOf.call(this.el.parentElement.querySelectorAll("calcite-dropdown-group"),this.el)}static get delegatesFocus(){return!0}get el(){return n(this)}static get watchers(){return{selectionMode:["handlePropsChange"]}}};kt.style=":host{position:relative;display:block}.container{text-align:start}.container--s{font-size:var(--calcite-font-size--2);line-height:1rem}.container--s .dropdown-title{padding:0.5rem}.container--m{font-size:var(--calcite-font-size--1);line-height:1rem}.container--m .dropdown-title{padding:0.75rem}.container--l{font-size:var(--calcite-font-size-0);line-height:1.25rem}.container--l .dropdown-title{padding:1rem}.dropdown-title{margin-block-end:-1px;display:block;cursor:default;overflow-wrap:break-word;border-width:0px;border-block-end-width:1px;border-style:solid;border-color:var(--calcite-color-border-3);font-weight:var(--calcite-font-weight-bold);color:var(--calcite-color-text-2)}.dropdown-separator{display:block;block-size:1px;background-color:var(--calcite-color-border-3)}:host([hidden]){display:none}[hidden]{display:none}";const Ct=class{constructor(t){i(this,t),this.calciteDropdownItemSelect=e(this,"calciteDropdownItemSelect",6),this.calciteInternalDropdownItemSelect=e(this,"calciteInternalDropdownItemSelect",6),this.calciteInternalDropdownItemKeyEvent=e(this,"calciteInternalDropdownItemKeyEvent",6),this.calciteInternalDropdownCloseRequest=e(this,"calciteInternalDropdownCloseRequest",6),this.selected=!1,this.iconFlipRtl=void 0,this.iconStart=void 0,this.iconEnd=void 0,this.href=void 0,this.label=void 0,this.rel=void 0,this.target=void 0,this.selectionMode="single",this.scale="m"}async setFocus(){var t;await A(this),null===(t=this.el)||void 0===t||t.focus()}componentWillLoad(){O(this),this.initialize()}componentDidLoad(){P(this)}connectedCallback(){this.initialize()}render(){const{href:i,selectionMode:e,label:n,iconFlipRtl:o,scale:a}=this,l=t("calcite-icon",{class:"dropdown-item-icon-start",flipRtl:"start"===o||"both"===o,icon:this.iconStart,scale:Z(this.scale)}),c=t("span",{class:"dropdown-item-content"},t("slot",null)),h=t("calcite-icon",{class:"dropdown-item-icon-end",flipRtl:"end"===o||"both"===o,icon:this.iconEnd,scale:Z(this.scale)}),d=this.iconStart&&this.iconEnd?[l,c,h]:this.iconStart?[l,c]:this.iconEnd?[c,h]:c,p=i?t("a",{"aria-label":n,class:"dropdown-link",href:i,rel:this.rel,tabIndex:-1,target:this.target,ref:t=>this.childLink=t},d):d,m=i?null:"single"===e?"menuitemradio":"multiple"===e?"menuitemcheckbox":"menuitem",u="none"!==e?r(this.selected):null;return t(s,{"aria-checked":u,"aria-label":i?"":n,role:m,tabindex:"0"},t("div",{class:{[yt]:!0,"container--link":!!i,[`${yt}--${a}`]:!0,"container--multi-selection":"multiple"===e,"container--single-selection":"single"===e,"container--none-selection":"none"===e}},"none"!==e?t("calcite-icon",{class:"dropdown-item-icon",icon:"multiple"===e?"check":"bullet-point",scale:Z(this.scale)}):null,p))}onClick(){this.emitRequestedItem()}keyDownHandler(t){switch(t.key){case" ":case"Enter":this.emitRequestedItem(),this.href&&this.childLink.click(),t.preventDefault();break;case"Escape":this.calciteInternalDropdownCloseRequest.emit(),t.preventDefault();break;case"Tab":this.calciteInternalDropdownItemKeyEvent.emit({keyboardEvent:t});break;case"ArrowUp":case"ArrowDown":case"Home":case"End":t.preventDefault(),this.calciteInternalDropdownItemKeyEvent.emit({keyboardEvent:t})}}updateActiveItemOnChange(t){t.composedPath().includes(this.parentDropdownGroupEl)&&(this.requestedDropdownGroup=t.detail.requestedDropdownGroup,this.requestedDropdownItem=t.detail.requestedDropdownItem,this.determineActiveItem()),t.stopPropagation()}initialize(){this.parentDropdownGroupEl=this.el.closest("calcite-dropdown-group"),"none"===this.selectionMode&&(this.selected=!1)}determineActiveItem(){switch(this.selectionMode){case"multiple":this.el===this.requestedDropdownItem&&(this.selected=!this.selected);break;case"single":this.el===this.requestedDropdownItem?this.selected=!0:this.requestedDropdownGroup===this.parentDropdownGroupEl&&(this.selected=!1);break;case"none":this.selected=!1}}emitRequestedItem(){this.calciteDropdownItemSelect.emit(),this.calciteInternalDropdownItemSelect.emit({requestedDropdownItem:this.el,requestedDropdownGroup:this.parentDropdownGroupEl})}get el(){return n(this)}};Ct.style=".container--s{padding-block:0.25rem;font-size:var(--calcite-font-size--2);line-height:1rem;padding-inline-end:0.5rem;padding-inline-start:1.5rem}.container--m{padding-block:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem;padding-inline-end:0.75rem;padding-inline-start:2rem}.container--l{padding-block:0.625rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;padding-inline-end:1rem;padding-inline-start:2.5rem}.container--s.container--none-selection{padding-inline-start:0.25rem}.container--s.container--none-selection .dropdown-link{padding-inline-start:0px}.container--m.container--none-selection{padding-inline-start:0.5rem}.container--m.container--none-selection .dropdown-link{padding-inline-start:0px}.container--l.container--none-selection{padding-inline-start:0.75rem}.container--l.container--none-selection .dropdown-link{padding-inline-start:0px}:host{position:relative;display:flex;flex-grow:1;align-items:center}.container{position:relative;display:flex;flex-grow:1;cursor:pointer;align-items:center;color:var(--calcite-color-text-3);-webkit-text-decoration-line:none;text-decoration-line:none;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);text-align:start}.dropdown-item-content{flex:1 1 auto;padding-block:0.125rem;padding-inline-end:auto;padding-inline-start:0.25rem}:host,.container--link a{outline-color:transparent}:host(:focus){outline:2px solid transparent;outline-offset:2px;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 )}.container--link{padding:0px}.container--link a{position:relative;display:flex;flex-grow:1;cursor:pointer;align-items:center;color:var(--calcite-color-text-3);-webkit-text-decoration-line:none;text-decoration-line:none;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}.container--s .dropdown-link{padding-block:0.25rem;font-size:var(--calcite-font-size--2);line-height:1rem;padding-inline-end:0.5rem;padding-inline-start:1.5rem}.container--m .dropdown-link{padding-block:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem;padding-inline-end:0.75rem;padding-inline-start:2rem}.container--l .dropdown-link{padding-block:0.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;padding-inline-end:1rem;padding-inline-start:2.5rem}:host(:hover) .container,:host(:active) .container{background-color:var(--calcite-color-foreground-2);color:var(--calcite-color-text-1);-webkit-text-decoration-line:none;text-decoration-line:none}:host(:hover) .container--link .dropdown-link,:host(:active) .container--link .dropdown-link{color:var(--calcite-color-text-1)}:host(:focus) .container{color:var(--calcite-color-text-1);-webkit-text-decoration-line:none;text-decoration-line:none}:host(:active) .container{background-color:var(--calcite-color-foreground-3)}:host(:hover) .container:before,:host(:active) .container:before,:host(:focus) .container:before{opacity:1}:host([selected]) .container:not(.container--none-selection),:host([selected]) .container--link .dropdown-link{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-1)}:host([selected]) .container:not(.container--none-selection):before,:host([selected]) .container--link .dropdown-link:before{opacity:1;color:var(--calcite-color-brand)}:host([selected]) .container:not(.container--none-selection) calcite-icon,:host([selected]) .container--link .dropdown-link calcite-icon{color:var(--calcite-color-brand)}.container--multi-selection:before,.container--none-selection:before{display:none}.container--s:before{inset-inline-start:0.5rem}.container--m:before{inset-inline-start:0.75rem}.container--l:before{inset-inline-start:1rem}.dropdown-item-icon{position:absolute;opacity:0;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transform:scale(0.9)}.container--s .dropdown-item-icon{inset-inline-start:0.25rem}.container--m .dropdown-item-icon{inset-inline-start:0.5rem}.container--l .dropdown-item-icon{inset-inline-start:0.75rem}:host(:hover) .dropdown-item-icon{color:var(--calcite-color-border-1);opacity:1}:host([selected]) .dropdown-item-icon{color:var(--calcite-color-brand);opacity:1}.container--s .dropdown-item-icon-start{margin-inline-end:0.5rem;margin-inline-start:0.25rem}.container--s .dropdown-item-icon-end{margin-inline-start:0.5rem}.container--m .dropdown-item-icon-start{margin-inline-end:0.75rem;margin-inline-start:0.25rem}.container--m .dropdown-item-icon-end{margin-inline-start:0.75rem}.container--l .dropdown-item-icon-start{margin-inline-end:1rem;margin-inline-start:0.25rem}.container--l .dropdown-item-icon-end{margin-inline-start:1rem}:host([hidden]){display:none}[hidden]{display:none}";const zt=class{constructor(t){i(this,t),this.idsFound=e(this,"idsFound",7),this.noLayersFound=e(this,"noLayersFound",7),this.layerSelectionChange=e(this,"layerSelectionChange",7),this.defaultLayerHonored=!1,this.appearance="transparent",this.defaultLayerId="",this.display="inline-block",this.enabledLayerIds=[],this.enabledTableIds=[],this.height=void 0,this.isMobile=void 0,this.mapView=void 0,this.onlyShowUpdatableLayers=void 0,this.placeholderIcon="",this.selectedIds=[],this.scale="m",this.showTables=void 0,this.showSingleLayerAsLabel=!1,this.type="select",this._hasMultipleLayers=!0,this._hasValidLayers=!0,this._isDropdownOpen=void 0,this.ids=[],this.selectedName="",this._translations=void 0}async mapViewWatchHandler(){await this._setLayers(),this.ids.length>0?(this._hasValidLayers=!0,this._hasMultipleLayers=this.ids.length>1,this._setSelectedLayer(this.ids[0])):(this._hasValidLayers=!1,this.noLayersFound.emit())}async componentWillLoad(){await this._getTranslations(),await this._setLayers(),(this.ids.length>0||1===this.selectedIds.length)&&this.layerSelectionChange.emit(1===this.selectedIds.length?[this.selectedIds[0]]:[this.ids[0]])}render(){const i="map-layer-picker";let e=this.height>0?{height:`${this.height.toString()}px`}:{};return e=Object.assign(Object.assign({},e),{display:this.display}),t(s,null,t("div",{class:"map-layer-picker-container",style:e},t("div",{class:"map-layer-picker",style:e},this._hasValidLayers?!this._hasMultipleLayers&&this.showSingleLayerAsLabel?this._getSingleLayerPlaceholder():"combobox"===this.type?this._getCombobox(i):"select"===this.type?this._getSelect(i):this._getDropdown(i):this._getInvalidPlaceholder(),t("calcite-tooltip",{label:"",placement:"bottom","reference-element":i},t("span",null,this._translations.switchLayer)))))}async componentDidLoad(){if(this.ids.length>0||1===this.selectedIds.length){const t=1===this.selectedIds.length?this.selectedIds[0]:this.ids[0];"select"===this.type?this._layerElement.value=t:"dropdown"===this.type&&(this.selectedName=Object.keys(this._layerNameHash).indexOf(t)>-1?this._layerNameHash[t].name:Object.keys(this._tableNameHash).indexOf(t)>-1?this._tableNameHash[t].name:"")}}_getInvalidPlaceholder(){return t("div",null,t("calcite-notice",{class:"height-100",icon:"exclamation-mark-triangle",id:"no-valid-layers",kind:"danger",open:!0},t("div",{slot:"message"},this._translations.noLayersFound)),t("calcite-tooltip",{label:this._translations.enableEditUpdate,placement:"bottom","reference-element":"no-valid-layers"},t("span",null,this._translations.enableEditUpdate)))}_getSingleLayerPlaceholder(){return t("div",{class:"layer-picker-label-container cursor-default"},t("calcite-icon",{icon:"layers",scale:"s"}),t("calcite-label",{class:"no-bottom-margin padding-start-1"},this.selectedName))}_getSelect(i){return t("calcite-select",{id:i,label:"",onCalciteSelectChange:()=>this._layerSelectionChange(),ref:t=>{this._layerElement=t},scale:this.scale},this._getMapLayerOptions())}_getCombobox(i){return t("calcite-combobox",{clearDisabled:!0,id:i,label:"",onCalciteComboboxChange:()=>this._layerSelectionChange(),"placeholder-icon":this.placeholderIcon,ref:t=>{this._layerElement=t},scale:this.scale,"selection-mode":"single"},this._getMapLayerOptions())}_getDropdown(i){return t("calcite-dropdown",{calciteDropdownOpen:()=>alert("open"),class:"layer-picker-dropdown",onCalciteDropdownBeforeClose:()=>this._isDropdownOpen=!1,onCalciteDropdownBeforeOpen:()=>this._isDropdownOpen=!0},this.isMobile?this._getDropdownButton():this._getActionDropdownButton(i),t("calcite-dropdown-group",{"selection-mode":"single"},this._getMapLayerOptions()))}_getActionDropdownButton(i){return t("calcite-action",{id:i,slot:"trigger",text:""},this._getDropdownButton())}_getDropdownButton(){return t("calcite-button",{alignment:"icon-end-space-between",appearance:this.appearance,class:this.isMobile?"":"max-width-350",iconEnd:this._isDropdownOpen?"chevron-up":"chevron-down",iconStart:"layers",kind:"neutral",slot:this.isMobile?"trigger":"",width:"full"},t("div",null,this.selectedName))}_getMapLayerOptions(){return this.ids.reduce(((t,i)=>(this._validLayer(i)?t.push(this._getItem(i,"layer")):this._validTable(i)&&t.push(this._getItem(i,"table")),t)),[])}_getItem(i,e){const s="layer"===e?this._layerNameHash[i]:this._tableNameHash[i],n=!!this.onlyShowUpdatableLayers&&!s.supportsUpdate,o=s.name,a=this.selectedIds.indexOf(i)>-1;return"combobox"===this.type?t("calcite-combobox-item",{disabled:n,selected:a,textLabel:o,value:i}):"select"===this.type?t("calcite-option",{disabled:n,label:o,selected:a,value:i}):t("calcite-dropdown-group",{class:n?"disabled":"",selectionMode:n?"none":"single"},t("calcite-dropdown-item",{onClick:n?void 0:()=>{this._setSelectedLayer(i)},selected:a},o))}_setSelectedLayer(t){let i;this.defaultLayerId&&!this.defaultLayerHonored&&(i=this._getLayerFromHash(this.defaultLayerId),this.defaultLayerHonored=void 0!==i,t=this.defaultLayerHonored?this.defaultLayerId:t),i=i||this._getLayerFromHash(t),this.selectedName=null==i?void 0:i.name,this.selectedIds=[t],this.layerSelectionChange.emit(this.selectedIds)}_getLayerFromHash(t){return Object.keys(this._layerNameHash).indexOf(t)>-1?this._layerNameHash[t]:Object.keys(this._tableNameHash).indexOf(t)>-1?this._tableNameHash[t]:void 0}async _setLayers(){if(this.mapView){await this._initLayerTableHash();const t=this.onlyShowUpdatableLayers?this._getEditableIds(this._layerNameHash):Object.keys(this._layerNameHash),i=this.showTables?this.onlyShowUpdatableLayers?this._getEditableIds(this._tableNameHash):Object.keys(this._tableNameHash):[];this.ids=[...t.reverse().filter((t=>{var i;return!((null===(i=this.enabledLayerIds)||void 0===i?void 0:i.length)>0)||this.enabledLayerIds.reverse().indexOf(t)>-1})),...i.reverse().filter((t=>{var i;return!((null===(i=this.enabledTableIds)||void 0===i?void 0:i.length)>0)||this.enabledTableIds.reverse().indexOf(t)>-1}))],this.idsFound.emit({layerIds:t,tableIds:i})}}_getEditableIds(t){return Object.keys(t).reduce(((i,e)=>(t[e].supportsUpdate&&i.push(e),i)),[])}async _initLayerTableHash(){this._layerNameHash=await ot(this.mapView,this.onlyShowUpdatableLayers),this._tableNameHash=this.showTables?await at(this.mapView,this.onlyShowUpdatableLayers):{}}_validLayer(t){var i;const e=null===(i=this._layerNameHash[t])||void 0===i?void 0:i.name;return e&&lt.managedLayers.indexOf(e)<0&&(!(this.enabledLayerIds.length>0)||this.enabledLayerIds.indexOf(t)>-1)}_validTable(t){var i;const e=null===(i=this._tableNameHash[t])||void 0===i?void 0:i.name,s=e&&this.showTables;return s?lt.managedTables.indexOf(e)<0&&(!(this.enabledTableIds.length>0)||this.enabledTableIds.indexOf(t)>-1):s}_layerSelectionChange(){const t=Array.isArray(this._layerElement.value)?this._layerElement.value:[this._layerElement.value];JSON.stringify(t)!==JSON.stringify([""])&&(this.selectedIds=t,this.layerSelectionChange.emit(this.selectedIds))}async _getTranslations(){const t=await nt(this.el);this._translations=t[0]}get el(){return n(this)}static get watchers(){return{mapView:["mapViewWatchHandler"]}}};zt.style=":host{display:block}.map-layer-picker-container{width:100%;align-items:center}.map-layer-picker{position:relative;width:100%;display:inline-block}.padding-bottom-1{padding-bottom:1rem}.layer-picker-dropdown{height:100%;width:100%}.max-width-350{max-width:350px}.height-100{height:100%}.disabled{cursor:default !important;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled);pointer-events:none}.no-bottom-margin{--calcite-label-margin-bottom:0px}.layer-picker-label-container{align-items:center;display:inline-flex;height:100%;padding-inline-start:1rem;padding-inline-end:1rem}.padding-start-1{padding-inline-start:1rem}.cursor-default{cursor:default}";export{bt as calcite_combobox,wt as calcite_combobox_item,xt as calcite_dropdown,kt as calcite_dropdown_group,Ct as calcite_dropdown_item,zt as map_layer_picker}
@@ -1 +1 @@
1
- html,body{display:flex;height:100%;width:100%;overflow-y:hidden;background-color:#F4F4F4;margin:0px}h1{line-height:unset;margin:unset;font-size:2rem;padding-left:0.5rem}#appContainer{height:100%;opacity:0;transition:1s}.block-group{margin-inline-start:0.625rem;margin-inline-end:0.625rem}calcite-tree-item[highlight]>div{font-weight:700}calcite-tree-item[childselected]>div{font-weight:700}calcite-tree-item>a:hover{text-decoration:none}calcite-switch>input{display:none}calcite-switch{position:static}calcite-tree a{color:black}input.input-group-input,.input-group-input{width:unset;display:flex;flex:auto}.display-none{display:none}.empty-box{width:200px;aspect-ratio:auto 200/133;border:1px dotted gray}
1
+ html,body{height:100%;width:100%;overflow-y:hidden;background-color:#F4F4F4;margin:0px}h1{line-height:unset;margin:unset;font-size:2rem;padding-left:0.5rem}#appContainer{height:100%;opacity:0;transition:1s}.block-group{margin-inline-start:0.625rem;margin-inline-end:0.625rem}calcite-tree-item[highlight]>div{font-weight:700}calcite-tree-item[childselected]>div{font-weight:700}calcite-tree-item>a:hover{text-decoration:none}calcite-switch>input{display:none}calcite-switch{position:static}calcite-tree a{color:black}input.input-group-input,.input-group-input{width:unset;display:flex;flex:auto}.display-none{display:none}.empty-box{width:200px;aspect-ratio:auto 200/133;border:1px dotted gray}