@esri/solutions-components 0.7.19 → 0.7.21

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/instant-apps-export/resources.json +12 -12
  2. package/dist/assets/t9n/instant-apps-export/resources_ar.json +11 -11
  3. package/dist/assets/t9n/instant-apps-export/resources_bg.json +11 -11
  4. package/dist/assets/t9n/instant-apps-export/resources_bs.json +11 -11
  5. package/dist/assets/t9n/instant-apps-export/resources_ca.json +11 -11
  6. package/dist/assets/t9n/instant-apps-export/resources_cs.json +11 -11
  7. package/dist/assets/t9n/instant-apps-export/resources_da.json +11 -11
  8. package/dist/assets/t9n/instant-apps-export/resources_de.json +11 -11
  9. package/dist/assets/t9n/instant-apps-export/resources_el.json +11 -11
  10. package/dist/assets/t9n/instant-apps-export/resources_en.json +12 -12
  11. package/dist/assets/t9n/instant-apps-export/resources_es.json +11 -11
  12. package/dist/assets/t9n/instant-apps-export/resources_et.json +11 -11
  13. package/dist/assets/t9n/instant-apps-export/resources_fi.json +11 -11
  14. package/dist/assets/t9n/instant-apps-export/resources_fr.json +11 -11
  15. package/dist/assets/t9n/instant-apps-export/resources_he.json +11 -11
  16. package/dist/assets/t9n/instant-apps-export/resources_hr.json +11 -11
  17. package/dist/assets/t9n/instant-apps-export/resources_hu.json +11 -11
  18. package/dist/assets/t9n/instant-apps-export/resources_id.json +11 -11
  19. package/dist/assets/t9n/instant-apps-export/resources_it.json +11 -11
  20. package/dist/assets/t9n/instant-apps-export/resources_ja.json +11 -11
  21. package/dist/assets/t9n/instant-apps-export/resources_ko.json +11 -11
  22. package/dist/assets/t9n/instant-apps-export/resources_lt.json +11 -11
  23. package/dist/assets/t9n/instant-apps-export/resources_lv.json +11 -11
  24. package/dist/assets/t9n/instant-apps-export/resources_nb.json +11 -11
  25. package/dist/assets/t9n/instant-apps-export/resources_nl.json +11 -11
  26. package/dist/assets/t9n/instant-apps-export/resources_pl.json +11 -11
  27. package/dist/assets/t9n/instant-apps-export/resources_pt-BR.json +11 -11
  28. package/dist/assets/t9n/instant-apps-export/resources_pt-PT.json +11 -11
  29. package/dist/assets/t9n/instant-apps-export/resources_ro.json +11 -11
  30. package/dist/assets/t9n/instant-apps-export/resources_ru.json +11 -11
  31. package/dist/assets/t9n/instant-apps-export/resources_sk.json +11 -11
  32. package/dist/assets/t9n/instant-apps-export/resources_sl.json +11 -11
  33. package/dist/assets/t9n/instant-apps-export/resources_sr.json +11 -11
  34. package/dist/assets/t9n/instant-apps-export/resources_sv.json +11 -11
  35. package/dist/assets/t9n/instant-apps-export/resources_th.json +11 -11
  36. package/dist/assets/t9n/instant-apps-export/resources_tr.json +11 -11
  37. package/dist/assets/t9n/instant-apps-export/resources_uk.json +11 -11
  38. package/dist/assets/t9n/instant-apps-export/resources_vi.json +11 -11
  39. package/dist/assets/t9n/instant-apps-export/resources_zh-CN.json +11 -11
  40. package/dist/assets/t9n/instant-apps-export/resources_zh-HK.json +11 -11
  41. package/dist/assets/t9n/instant-apps-export/resources_zh-TW.json +11 -11
  42. package/dist/assets/t9n/instant-apps-filter-list/resources.json +16 -16
  43. package/dist/assets/t9n/instant-apps-filter-list/resources_ar.json +16 -16
  44. package/dist/assets/t9n/instant-apps-filter-list/resources_bg.json +16 -16
  45. package/dist/assets/t9n/instant-apps-filter-list/resources_bs.json +16 -16
  46. package/dist/assets/t9n/instant-apps-filter-list/resources_ca.json +16 -16
  47. package/dist/assets/t9n/instant-apps-filter-list/resources_cs.json +16 -16
  48. package/dist/assets/t9n/instant-apps-filter-list/resources_da.json +16 -16
  49. package/dist/assets/t9n/instant-apps-filter-list/resources_de.json +16 -16
  50. package/dist/assets/t9n/instant-apps-filter-list/resources_el.json +16 -16
  51. package/dist/assets/t9n/instant-apps-filter-list/resources_en.json +16 -16
  52. package/dist/assets/t9n/instant-apps-filter-list/resources_es.json +16 -16
  53. package/dist/assets/t9n/instant-apps-filter-list/resources_et.json +16 -16
  54. package/dist/assets/t9n/instant-apps-filter-list/resources_fi.json +16 -16
  55. package/dist/assets/t9n/instant-apps-filter-list/resources_fr.json +16 -16
  56. package/dist/assets/t9n/instant-apps-filter-list/resources_he.json +16 -16
  57. package/dist/assets/t9n/instant-apps-filter-list/resources_hr.json +16 -16
  58. package/dist/assets/t9n/instant-apps-filter-list/resources_hu.json +16 -16
  59. package/dist/assets/t9n/instant-apps-filter-list/resources_id.json +16 -16
  60. package/dist/assets/t9n/instant-apps-filter-list/resources_it.json +16 -16
  61. package/dist/assets/t9n/instant-apps-filter-list/resources_ja.json +16 -16
  62. package/dist/assets/t9n/instant-apps-filter-list/resources_ko.json +16 -16
  63. package/dist/assets/t9n/instant-apps-filter-list/resources_lt.json +16 -16
  64. package/dist/assets/t9n/instant-apps-filter-list/resources_lv.json +16 -16
  65. package/dist/assets/t9n/instant-apps-filter-list/resources_nb.json +16 -16
  66. package/dist/assets/t9n/instant-apps-filter-list/resources_nl.json +16 -16
  67. package/dist/assets/t9n/instant-apps-filter-list/resources_pl.json +16 -16
  68. package/dist/assets/t9n/instant-apps-filter-list/resources_pt-BR.json +16 -16
  69. package/dist/assets/t9n/instant-apps-filter-list/resources_pt-PT.json +16 -16
  70. package/dist/assets/t9n/instant-apps-filter-list/resources_ro.json +16 -16
  71. package/dist/assets/t9n/instant-apps-filter-list/resources_ru.json +16 -16
  72. package/dist/assets/t9n/instant-apps-filter-list/resources_sk.json +16 -16
  73. package/dist/assets/t9n/instant-apps-filter-list/resources_sl.json +16 -16
  74. package/dist/assets/t9n/instant-apps-filter-list/resources_sr.json +16 -16
  75. package/dist/assets/t9n/instant-apps-filter-list/resources_sv.json +16 -16
  76. package/dist/assets/t9n/instant-apps-filter-list/resources_th.json +16 -16
  77. package/dist/assets/t9n/instant-apps-filter-list/resources_tr.json +16 -16
  78. package/dist/assets/t9n/instant-apps-filter-list/resources_uk.json +16 -16
  79. package/dist/assets/t9n/instant-apps-filter-list/resources_vi.json +16 -16
  80. package/dist/assets/t9n/instant-apps-filter-list/resources_zh-CN.json +16 -16
  81. package/dist/assets/t9n/instant-apps-filter-list/resources_zh-HK.json +16 -16
  82. package/dist/assets/t9n/instant-apps-filter-list/resources_zh-TW.json +16 -16
  83. package/dist/assets/t9n/instant-apps-interactive-legend/resources.json +15 -15
  84. package/dist/assets/t9n/instant-apps-interactive-legend/resources_ar.json +15 -15
  85. package/dist/assets/t9n/instant-apps-interactive-legend/resources_bg.json +15 -15
  86. package/dist/assets/t9n/instant-apps-interactive-legend/resources_bs.json +15 -15
  87. package/dist/assets/t9n/instant-apps-interactive-legend/resources_ca.json +15 -15
  88. package/dist/assets/t9n/instant-apps-interactive-legend/resources_cs.json +15 -15
  89. package/dist/assets/t9n/instant-apps-interactive-legend/resources_da.json +15 -15
  90. package/dist/assets/t9n/instant-apps-interactive-legend/resources_de.json +15 -15
  91. package/dist/assets/t9n/instant-apps-interactive-legend/resources_el.json +15 -15
  92. package/dist/assets/t9n/instant-apps-interactive-legend/resources_en.json +15 -15
  93. package/dist/assets/t9n/instant-apps-interactive-legend/resources_es.json +15 -15
  94. package/dist/assets/t9n/instant-apps-interactive-legend/resources_et.json +15 -15
  95. package/dist/assets/t9n/instant-apps-interactive-legend/resources_fi.json +15 -15
  96. package/dist/assets/t9n/instant-apps-interactive-legend/resources_fr.json +15 -15
  97. package/dist/assets/t9n/instant-apps-interactive-legend/resources_he.json +15 -15
  98. package/dist/assets/t9n/instant-apps-interactive-legend/resources_hr.json +15 -15
  99. package/dist/assets/t9n/instant-apps-interactive-legend/resources_hu.json +15 -15
  100. package/dist/assets/t9n/instant-apps-interactive-legend/resources_id.json +15 -15
  101. package/dist/assets/t9n/instant-apps-interactive-legend/resources_it.json +15 -15
  102. package/dist/assets/t9n/instant-apps-interactive-legend/resources_ja.json +15 -15
  103. package/dist/assets/t9n/instant-apps-interactive-legend/resources_ko.json +15 -15
  104. package/dist/assets/t9n/instant-apps-interactive-legend/resources_lt.json +15 -15
  105. package/dist/assets/t9n/instant-apps-interactive-legend/resources_lv.json +15 -15
  106. package/dist/assets/t9n/instant-apps-interactive-legend/resources_nb.json +15 -15
  107. package/dist/assets/t9n/instant-apps-interactive-legend/resources_nl.json +15 -15
  108. package/dist/assets/t9n/instant-apps-interactive-legend/resources_pl.json +15 -15
  109. package/dist/assets/t9n/instant-apps-interactive-legend/resources_pt-BR.json +15 -15
  110. package/dist/assets/t9n/instant-apps-interactive-legend/resources_pt-PT.json +15 -15
  111. package/dist/assets/t9n/instant-apps-interactive-legend/resources_ro.json +15 -15
  112. package/dist/assets/t9n/instant-apps-interactive-legend/resources_ru.json +15 -15
  113. package/dist/assets/t9n/instant-apps-interactive-legend/resources_sk.json +15 -15
  114. package/dist/assets/t9n/instant-apps-interactive-legend/resources_sl.json +15 -15
  115. package/dist/assets/t9n/instant-apps-interactive-legend/resources_sr.json +15 -15
  116. package/dist/assets/t9n/instant-apps-interactive-legend/resources_sv.json +15 -15
  117. package/dist/assets/t9n/instant-apps-interactive-legend/resources_th.json +15 -15
  118. package/dist/assets/t9n/instant-apps-interactive-legend/resources_tr.json +15 -15
  119. package/dist/assets/t9n/instant-apps-interactive-legend/resources_uk.json +15 -15
  120. package/dist/assets/t9n/instant-apps-interactive-legend/resources_vi.json +15 -15
  121. package/dist/assets/t9n/instant-apps-interactive-legend/resources_zh-CN.json +15 -15
  122. package/dist/assets/t9n/instant-apps-interactive-legend/resources_zh-HK.json +15 -15
  123. package/dist/assets/t9n/instant-apps-interactive-legend/resources_zh-TW.json +15 -15
  124. package/dist/assets/t9n/instant-apps-keyboard-shortcuts/resources.json +30 -30
  125. package/dist/assets/t9n/instant-apps-keyboard-shortcuts/resources_ar.json +30 -30
  126. package/dist/assets/t9n/instant-apps-keyboard-shortcuts/resources_bg.json +30 -30
  127. package/dist/assets/t9n/instant-apps-keyboard-shortcuts/resources_bs.json +30 -30
  128. package/dist/assets/t9n/instant-apps-keyboard-shortcuts/resources_ca.json +30 -30
  129. package/dist/assets/t9n/instant-apps-keyboard-shortcuts/resources_cs.json +30 -30
  130. package/dist/assets/t9n/instant-apps-keyboard-shortcuts/resources_da.json +30 -30
  131. package/dist/assets/t9n/instant-apps-keyboard-shortcuts/resources_de.json +30 -30
  132. package/dist/assets/t9n/instant-apps-keyboard-shortcuts/resources_el.json +30 -30
  133. package/dist/assets/t9n/instant-apps-keyboard-shortcuts/resources_en.json +30 -30
  134. package/dist/assets/t9n/instant-apps-keyboard-shortcuts/resources_es.json +30 -30
  135. package/dist/assets/t9n/instant-apps-keyboard-shortcuts/resources_et.json +30 -30
  136. package/dist/assets/t9n/instant-apps-keyboard-shortcuts/resources_fi.json +30 -30
  137. package/dist/assets/t9n/instant-apps-keyboard-shortcuts/resources_fr.json +30 -30
  138. package/dist/assets/t9n/instant-apps-keyboard-shortcuts/resources_he.json +30 -30
  139. package/dist/assets/t9n/instant-apps-keyboard-shortcuts/resources_hr.json +30 -30
  140. package/dist/assets/t9n/instant-apps-keyboard-shortcuts/resources_hu.json +30 -30
  141. package/dist/assets/t9n/instant-apps-keyboard-shortcuts/resources_id.json +30 -30
  142. package/dist/assets/t9n/instant-apps-keyboard-shortcuts/resources_it.json +30 -30
  143. package/dist/assets/t9n/instant-apps-keyboard-shortcuts/resources_ja.json +30 -30
  144. package/dist/assets/t9n/instant-apps-keyboard-shortcuts/resources_ko.json +30 -30
  145. package/dist/assets/t9n/instant-apps-keyboard-shortcuts/resources_lt.json +30 -30
  146. package/dist/assets/t9n/instant-apps-keyboard-shortcuts/resources_lv.json +30 -30
  147. package/dist/assets/t9n/instant-apps-keyboard-shortcuts/resources_nb.json +30 -30
  148. package/dist/assets/t9n/instant-apps-keyboard-shortcuts/resources_nl.json +30 -30
  149. package/dist/assets/t9n/instant-apps-keyboard-shortcuts/resources_pl.json +30 -30
  150. package/dist/assets/t9n/instant-apps-keyboard-shortcuts/resources_pt-BR.json +30 -30
  151. package/dist/assets/t9n/instant-apps-keyboard-shortcuts/resources_pt-PT.json +30 -30
  152. package/dist/assets/t9n/instant-apps-keyboard-shortcuts/resources_ro.json +30 -30
  153. package/dist/assets/t9n/instant-apps-keyboard-shortcuts/resources_ru.json +30 -30
  154. package/dist/assets/t9n/instant-apps-keyboard-shortcuts/resources_sk.json +30 -30
  155. package/dist/assets/t9n/instant-apps-keyboard-shortcuts/resources_sl.json +30 -30
  156. package/dist/assets/t9n/instant-apps-keyboard-shortcuts/resources_sr.json +30 -30
  157. package/dist/assets/t9n/instant-apps-keyboard-shortcuts/resources_sv.json +30 -30
  158. package/dist/assets/t9n/instant-apps-keyboard-shortcuts/resources_th.json +30 -30
  159. package/dist/assets/t9n/instant-apps-keyboard-shortcuts/resources_tr.json +30 -30
  160. package/dist/assets/t9n/instant-apps-keyboard-shortcuts/resources_uk.json +30 -30
  161. package/dist/assets/t9n/instant-apps-keyboard-shortcuts/resources_vi.json +30 -30
  162. package/dist/assets/t9n/instant-apps-keyboard-shortcuts/resources_zh-CN.json +30 -30
  163. package/dist/assets/t9n/instant-apps-keyboard-shortcuts/resources_zh-HK.json +30 -30
  164. package/dist/assets/t9n/instant-apps-keyboard-shortcuts/resources_zh-TW.json +30 -30
  165. package/dist/assets/t9n/instant-apps-language-translator/resources.json +102 -102
  166. package/dist/assets/t9n/instant-apps-language-translator/resources_ar.json +102 -102
  167. package/dist/assets/t9n/instant-apps-language-translator/resources_bg.json +102 -102
  168. package/dist/assets/t9n/instant-apps-language-translator/resources_bs.json +102 -102
  169. package/dist/assets/t9n/instant-apps-language-translator/resources_ca.json +102 -102
  170. package/dist/assets/t9n/instant-apps-language-translator/resources_cs.json +102 -102
  171. package/dist/assets/t9n/instant-apps-language-translator/resources_da.json +102 -102
  172. package/dist/assets/t9n/instant-apps-language-translator/resources_de.json +102 -102
  173. package/dist/assets/t9n/instant-apps-language-translator/resources_el.json +102 -102
  174. package/dist/assets/t9n/instant-apps-language-translator/resources_en.json +102 -102
  175. package/dist/assets/t9n/instant-apps-language-translator/resources_es.json +102 -102
  176. package/dist/assets/t9n/instant-apps-language-translator/resources_et.json +102 -102
  177. package/dist/assets/t9n/instant-apps-language-translator/resources_fi.json +102 -102
  178. package/dist/assets/t9n/instant-apps-language-translator/resources_fr.json +102 -102
  179. package/dist/assets/t9n/instant-apps-language-translator/resources_he.json +102 -102
  180. package/dist/assets/t9n/instant-apps-language-translator/resources_hr.json +102 -102
  181. package/dist/assets/t9n/instant-apps-language-translator/resources_hu.json +102 -102
  182. package/dist/assets/t9n/instant-apps-language-translator/resources_id.json +102 -102
  183. package/dist/assets/t9n/instant-apps-language-translator/resources_it.json +102 -102
  184. package/dist/assets/t9n/instant-apps-language-translator/resources_ja.json +102 -102
  185. package/dist/assets/t9n/instant-apps-language-translator/resources_ko.json +102 -102
  186. package/dist/assets/t9n/instant-apps-language-translator/resources_lt.json +102 -102
  187. package/dist/assets/t9n/instant-apps-language-translator/resources_lv.json +102 -102
  188. package/dist/assets/t9n/instant-apps-language-translator/resources_nb.json +102 -102
  189. package/dist/assets/t9n/instant-apps-language-translator/resources_nl.json +102 -102
  190. package/dist/assets/t9n/instant-apps-language-translator/resources_pl.json +102 -102
  191. package/dist/assets/t9n/instant-apps-language-translator/resources_pt-BR.json +102 -102
  192. package/dist/assets/t9n/instant-apps-language-translator/resources_pt-PT.json +102 -102
  193. package/dist/assets/t9n/instant-apps-language-translator/resources_ro.json +102 -102
  194. package/dist/assets/t9n/instant-apps-language-translator/resources_ru.json +102 -102
  195. package/dist/assets/t9n/instant-apps-language-translator/resources_sk.json +102 -102
  196. package/dist/assets/t9n/instant-apps-language-translator/resources_sl.json +102 -102
  197. package/dist/assets/t9n/instant-apps-language-translator/resources_sr.json +102 -102
  198. package/dist/assets/t9n/instant-apps-language-translator/resources_sv.json +102 -102
  199. package/dist/assets/t9n/instant-apps-language-translator/resources_th.json +102 -102
  200. package/dist/assets/t9n/instant-apps-language-translator/resources_tr.json +102 -102
  201. package/dist/assets/t9n/instant-apps-language-translator/resources_uk.json +102 -102
  202. package/dist/assets/t9n/instant-apps-language-translator/resources_vi.json +102 -102
  203. package/dist/assets/t9n/instant-apps-language-translator/resources_zh-CN.json +102 -102
  204. package/dist/assets/t9n/instant-apps-language-translator/resources_zh-HK.json +102 -102
  205. package/dist/assets/t9n/instant-apps-language-translator/resources_zh-TW.json +102 -102
  206. package/dist/assets/t9n/instant-apps-measurement/resources.json +6 -6
  207. package/dist/assets/t9n/instant-apps-measurement/resources_ar.json +6 -6
  208. package/dist/assets/t9n/instant-apps-measurement/resources_bg.json +6 -6
  209. package/dist/assets/t9n/instant-apps-measurement/resources_bs.json +6 -6
  210. package/dist/assets/t9n/instant-apps-measurement/resources_ca.json +6 -6
  211. package/dist/assets/t9n/instant-apps-measurement/resources_cs.json +6 -6
  212. package/dist/assets/t9n/instant-apps-measurement/resources_da.json +6 -6
  213. package/dist/assets/t9n/instant-apps-measurement/resources_de.json +6 -6
  214. package/dist/assets/t9n/instant-apps-measurement/resources_el.json +6 -6
  215. package/dist/assets/t9n/instant-apps-measurement/resources_en.json +6 -6
  216. package/dist/assets/t9n/instant-apps-measurement/resources_es.json +6 -6
  217. package/dist/assets/t9n/instant-apps-measurement/resources_et.json +6 -6
  218. package/dist/assets/t9n/instant-apps-measurement/resources_fi.json +6 -6
  219. package/dist/assets/t9n/instant-apps-measurement/resources_fr.json +6 -6
  220. package/dist/assets/t9n/instant-apps-measurement/resources_he.json +6 -6
  221. package/dist/assets/t9n/instant-apps-measurement/resources_hr.json +6 -6
  222. package/dist/assets/t9n/instant-apps-measurement/resources_hu.json +6 -6
  223. package/dist/assets/t9n/instant-apps-measurement/resources_id.json +6 -6
  224. package/dist/assets/t9n/instant-apps-measurement/resources_it.json +6 -6
  225. package/dist/assets/t9n/instant-apps-measurement/resources_ja.json +6 -6
  226. package/dist/assets/t9n/instant-apps-measurement/resources_ko.json +6 -6
  227. package/dist/assets/t9n/instant-apps-measurement/resources_lt.json +6 -6
  228. package/dist/assets/t9n/instant-apps-measurement/resources_lv.json +6 -6
  229. package/dist/assets/t9n/instant-apps-measurement/resources_nb.json +6 -6
  230. package/dist/assets/t9n/instant-apps-measurement/resources_nl.json +6 -6
  231. package/dist/assets/t9n/instant-apps-measurement/resources_pl.json +6 -6
  232. package/dist/assets/t9n/instant-apps-measurement/resources_pt-BR.json +6 -6
  233. package/dist/assets/t9n/instant-apps-measurement/resources_pt-PT.json +6 -6
  234. package/dist/assets/t9n/instant-apps-measurement/resources_ro.json +6 -6
  235. package/dist/assets/t9n/instant-apps-measurement/resources_ru.json +6 -6
  236. package/dist/assets/t9n/instant-apps-measurement/resources_sk.json +6 -6
  237. package/dist/assets/t9n/instant-apps-measurement/resources_sl.json +6 -6
  238. package/dist/assets/t9n/instant-apps-measurement/resources_sr.json +6 -6
  239. package/dist/assets/t9n/instant-apps-measurement/resources_sv.json +6 -6
  240. package/dist/assets/t9n/instant-apps-measurement/resources_th.json +6 -6
  241. package/dist/assets/t9n/instant-apps-measurement/resources_tr.json +6 -6
  242. package/dist/assets/t9n/instant-apps-measurement/resources_uk.json +6 -6
  243. package/dist/assets/t9n/instant-apps-measurement/resources_vi.json +6 -6
  244. package/dist/assets/t9n/instant-apps-measurement/resources_zh-CN.json +6 -6
  245. package/dist/assets/t9n/instant-apps-measurement/resources_zh-HK.json +6 -6
  246. package/dist/assets/t9n/instant-apps-measurement/resources_zh-TW.json +6 -6
  247. package/dist/assets/t9n/instant-apps-popover/resources.json +7 -7
  248. package/dist/assets/t9n/instant-apps-popover/resources_ar.json +5 -5
  249. package/dist/assets/t9n/instant-apps-popover/resources_bg.json +5 -5
  250. package/dist/assets/t9n/instant-apps-popover/resources_bs.json +5 -5
  251. package/dist/assets/t9n/instant-apps-popover/resources_ca.json +5 -5
  252. package/dist/assets/t9n/instant-apps-popover/resources_cs.json +5 -5
  253. package/dist/assets/t9n/instant-apps-popover/resources_da.json +5 -5
  254. package/dist/assets/t9n/instant-apps-popover/resources_de.json +5 -5
  255. package/dist/assets/t9n/instant-apps-popover/resources_el.json +5 -5
  256. package/dist/assets/t9n/instant-apps-popover/resources_en.json +7 -7
  257. package/dist/assets/t9n/instant-apps-popover/resources_es.json +5 -5
  258. package/dist/assets/t9n/instant-apps-popover/resources_et.json +5 -5
  259. package/dist/assets/t9n/instant-apps-popover/resources_fi.json +5 -5
  260. package/dist/assets/t9n/instant-apps-popover/resources_fr.json +5 -5
  261. package/dist/assets/t9n/instant-apps-popover/resources_he.json +5 -5
  262. package/dist/assets/t9n/instant-apps-popover/resources_hr.json +5 -5
  263. package/dist/assets/t9n/instant-apps-popover/resources_hu.json +5 -5
  264. package/dist/assets/t9n/instant-apps-popover/resources_id.json +5 -5
  265. package/dist/assets/t9n/instant-apps-popover/resources_it.json +5 -5
  266. package/dist/assets/t9n/instant-apps-popover/resources_ja.json +5 -5
  267. package/dist/assets/t9n/instant-apps-popover/resources_ko.json +5 -5
  268. package/dist/assets/t9n/instant-apps-popover/resources_lt.json +5 -5
  269. package/dist/assets/t9n/instant-apps-popover/resources_lv.json +5 -5
  270. package/dist/assets/t9n/instant-apps-popover/resources_nb.json +5 -5
  271. package/dist/assets/t9n/instant-apps-popover/resources_nl.json +5 -5
  272. package/dist/assets/t9n/instant-apps-popover/resources_pl.json +5 -5
  273. package/dist/assets/t9n/instant-apps-popover/resources_pt-BR.json +5 -5
  274. package/dist/assets/t9n/instant-apps-popover/resources_pt-PT.json +5 -5
  275. package/dist/assets/t9n/instant-apps-popover/resources_ro.json +5 -5
  276. package/dist/assets/t9n/instant-apps-popover/resources_ru.json +5 -5
  277. package/dist/assets/t9n/instant-apps-popover/resources_sk.json +5 -5
  278. package/dist/assets/t9n/instant-apps-popover/resources_sl.json +5 -5
  279. package/dist/assets/t9n/instant-apps-popover/resources_sr.json +5 -5
  280. package/dist/assets/t9n/instant-apps-popover/resources_sv.json +5 -5
  281. package/dist/assets/t9n/instant-apps-popover/resources_th.json +5 -5
  282. package/dist/assets/t9n/instant-apps-popover/resources_tr.json +5 -5
  283. package/dist/assets/t9n/instant-apps-popover/resources_uk.json +5 -5
  284. package/dist/assets/t9n/instant-apps-popover/resources_vi.json +5 -5
  285. package/dist/assets/t9n/instant-apps-popover/resources_zh-CN.json +5 -5
  286. package/dist/assets/t9n/instant-apps-popover/resources_zh-HK.json +5 -5
  287. package/dist/assets/t9n/instant-apps-popover/resources_zh-TW.json +5 -5
  288. package/dist/assets/t9n/instant-apps-scoreboard/resources.json +6 -6
  289. package/dist/assets/t9n/instant-apps-scoreboard/resources_ar.json +6 -6
  290. package/dist/assets/t9n/instant-apps-scoreboard/resources_bg.json +6 -6
  291. package/dist/assets/t9n/instant-apps-scoreboard/resources_bs.json +6 -6
  292. package/dist/assets/t9n/instant-apps-scoreboard/resources_ca.json +6 -6
  293. package/dist/assets/t9n/instant-apps-scoreboard/resources_cs.json +6 -6
  294. package/dist/assets/t9n/instant-apps-scoreboard/resources_da.json +6 -6
  295. package/dist/assets/t9n/instant-apps-scoreboard/resources_de.json +6 -6
  296. package/dist/assets/t9n/instant-apps-scoreboard/resources_el.json +6 -6
  297. package/dist/assets/t9n/instant-apps-scoreboard/resources_en.json +6 -6
  298. package/dist/assets/t9n/instant-apps-scoreboard/resources_es.json +6 -6
  299. package/dist/assets/t9n/instant-apps-scoreboard/resources_et.json +6 -6
  300. package/dist/assets/t9n/instant-apps-scoreboard/resources_fi.json +6 -6
  301. package/dist/assets/t9n/instant-apps-scoreboard/resources_fr.json +6 -6
  302. package/dist/assets/t9n/instant-apps-scoreboard/resources_he.json +6 -6
  303. package/dist/assets/t9n/instant-apps-scoreboard/resources_hr.json +6 -6
  304. package/dist/assets/t9n/instant-apps-scoreboard/resources_hu.json +6 -6
  305. package/dist/assets/t9n/instant-apps-scoreboard/resources_id.json +6 -6
  306. package/dist/assets/t9n/instant-apps-scoreboard/resources_it.json +6 -6
  307. package/dist/assets/t9n/instant-apps-scoreboard/resources_ja.json +6 -6
  308. package/dist/assets/t9n/instant-apps-scoreboard/resources_ko.json +6 -6
  309. package/dist/assets/t9n/instant-apps-scoreboard/resources_lt.json +6 -6
  310. package/dist/assets/t9n/instant-apps-scoreboard/resources_lv.json +6 -6
  311. package/dist/assets/t9n/instant-apps-scoreboard/resources_nb.json +6 -6
  312. package/dist/assets/t9n/instant-apps-scoreboard/resources_nl.json +6 -6
  313. package/dist/assets/t9n/instant-apps-scoreboard/resources_pl.json +6 -6
  314. package/dist/assets/t9n/instant-apps-scoreboard/resources_pt-BR.json +6 -6
  315. package/dist/assets/t9n/instant-apps-scoreboard/resources_pt-PT.json +6 -6
  316. package/dist/assets/t9n/instant-apps-scoreboard/resources_ro.json +6 -6
  317. package/dist/assets/t9n/instant-apps-scoreboard/resources_ru.json +6 -6
  318. package/dist/assets/t9n/instant-apps-scoreboard/resources_sk.json +6 -6
  319. package/dist/assets/t9n/instant-apps-scoreboard/resources_sl.json +6 -6
  320. package/dist/assets/t9n/instant-apps-scoreboard/resources_sr.json +6 -6
  321. package/dist/assets/t9n/instant-apps-scoreboard/resources_sv.json +6 -6
  322. package/dist/assets/t9n/instant-apps-scoreboard/resources_th.json +6 -6
  323. package/dist/assets/t9n/instant-apps-scoreboard/resources_tr.json +6 -6
  324. package/dist/assets/t9n/instant-apps-scoreboard/resources_uk.json +6 -6
  325. package/dist/assets/t9n/instant-apps-scoreboard/resources_vi.json +6 -6
  326. package/dist/assets/t9n/instant-apps-scoreboard/resources_zh-CN.json +6 -6
  327. package/dist/assets/t9n/instant-apps-scoreboard/resources_zh-HK.json +6 -6
  328. package/dist/assets/t9n/instant-apps-scoreboard/resources_zh-TW.json +6 -6
  329. package/dist/assets/t9n/instant-apps-social-share/resources.json +38 -38
  330. package/dist/assets/t9n/instant-apps-social-share/resources_ar.json +37 -37
  331. package/dist/assets/t9n/instant-apps-social-share/resources_bg.json +37 -37
  332. package/dist/assets/t9n/instant-apps-social-share/resources_bs.json +37 -37
  333. package/dist/assets/t9n/instant-apps-social-share/resources_ca.json +37 -37
  334. package/dist/assets/t9n/instant-apps-social-share/resources_cs.json +37 -37
  335. package/dist/assets/t9n/instant-apps-social-share/resources_da.json +37 -37
  336. package/dist/assets/t9n/instant-apps-social-share/resources_de.json +37 -37
  337. package/dist/assets/t9n/instant-apps-social-share/resources_el.json +37 -37
  338. package/dist/assets/t9n/instant-apps-social-share/resources_en.json +38 -38
  339. package/dist/assets/t9n/instant-apps-social-share/resources_es.json +37 -37
  340. package/dist/assets/t9n/instant-apps-social-share/resources_et.json +37 -37
  341. package/dist/assets/t9n/instant-apps-social-share/resources_fi.json +37 -37
  342. package/dist/assets/t9n/instant-apps-social-share/resources_fr.json +37 -37
  343. package/dist/assets/t9n/instant-apps-social-share/resources_he.json +37 -37
  344. package/dist/assets/t9n/instant-apps-social-share/resources_hr.json +37 -37
  345. package/dist/assets/t9n/instant-apps-social-share/resources_hu.json +37 -37
  346. package/dist/assets/t9n/instant-apps-social-share/resources_id.json +37 -37
  347. package/dist/assets/t9n/instant-apps-social-share/resources_it.json +37 -37
  348. package/dist/assets/t9n/instant-apps-social-share/resources_ja.json +37 -37
  349. package/dist/assets/t9n/instant-apps-social-share/resources_ko.json +37 -37
  350. package/dist/assets/t9n/instant-apps-social-share/resources_lt.json +37 -37
  351. package/dist/assets/t9n/instant-apps-social-share/resources_lv.json +37 -37
  352. package/dist/assets/t9n/instant-apps-social-share/resources_nb.json +37 -37
  353. package/dist/assets/t9n/instant-apps-social-share/resources_nl.json +37 -37
  354. package/dist/assets/t9n/instant-apps-social-share/resources_pl.json +37 -37
  355. package/dist/assets/t9n/instant-apps-social-share/resources_pt-BR.json +37 -37
  356. package/dist/assets/t9n/instant-apps-social-share/resources_pt-PT.json +37 -37
  357. package/dist/assets/t9n/instant-apps-social-share/resources_ro.json +37 -37
  358. package/dist/assets/t9n/instant-apps-social-share/resources_ru.json +37 -37
  359. package/dist/assets/t9n/instant-apps-social-share/resources_sk.json +37 -37
  360. package/dist/assets/t9n/instant-apps-social-share/resources_sl.json +37 -37
  361. package/dist/assets/t9n/instant-apps-social-share/resources_sr.json +37 -37
  362. package/dist/assets/t9n/instant-apps-social-share/resources_sv.json +37 -37
  363. package/dist/assets/t9n/instant-apps-social-share/resources_th.json +37 -37
  364. package/dist/assets/t9n/instant-apps-social-share/resources_tr.json +37 -37
  365. package/dist/assets/t9n/instant-apps-social-share/resources_uk.json +37 -37
  366. package/dist/assets/t9n/instant-apps-social-share/resources_vi.json +37 -37
  367. package/dist/assets/t9n/instant-apps-social-share/resources_zh-CN.json +37 -37
  368. package/dist/assets/t9n/instant-apps-social-share/resources_zh-HK.json +37 -37
  369. package/dist/assets/t9n/instant-apps-social-share/resources_zh-TW.json +37 -37
  370. package/dist/assets/t9n/instant-apps-splash/resources.json +2 -2
  371. package/dist/assets/t9n/instant-apps-splash/resources_en.json +2 -2
  372. package/dist/assets/t9n/public-notification/resources.json +2 -1
  373. package/dist/assets/t9n/public-notification/resources_en.json +2 -1
  374. package/dist/cjs/basemap-gallery_7.cjs.entry.js +74 -24
  375. package/dist/cjs/calcite-alert_3.cjs.entry.js +10 -1
  376. package/dist/cjs/calcite-input-date-picker_3.cjs.entry.js +7 -4
  377. package/dist/cjs/card-manager_3.cjs.entry.js +39 -7
  378. package/dist/cjs/crowdsource-manager.cjs.entry.js +30 -50
  379. package/dist/cjs/{downloadUtils-9a13c6ac.js → downloadUtils-401356b5.js} +5 -3
  380. package/dist/cjs/{index.es-284a020c.js → index.es-a9a4ff08.js} +1 -1
  381. package/dist/cjs/instant-apps-ckeditor-wrapper_3.cjs.entry.js +149 -66
  382. package/dist/cjs/instant-apps-export.cjs.entry.js +254 -35
  383. package/dist/cjs/instant-apps-header.cjs.entry.js +2 -1
  384. package/dist/cjs/instant-apps-interactive-legend.cjs.entry.js +1 -1
  385. package/dist/cjs/instant-apps-keyboard-shortcuts.cjs.entry.js +1 -1
  386. package/dist/cjs/instant-apps-landing-page.cjs.entry.js +21 -7
  387. package/dist/cjs/instant-apps-language-switcher.cjs.entry.js +2 -2
  388. package/dist/cjs/instant-apps-language-translator.cjs.entry.js +5 -5
  389. package/dist/cjs/instant-apps-measurement.cjs.entry.js +1 -1
  390. package/dist/cjs/instant-apps-popover.cjs.entry.js +2 -3
  391. package/dist/cjs/instant-apps-scoreboard.cjs.entry.js +1 -1
  392. package/dist/cjs/instant-apps-splash.cjs.entry.js +2 -2
  393. package/dist/cjs/loader.cjs.js +1 -1
  394. package/dist/cjs/{locale-9b9d0e94.js → locale-dab3f46a.js} +17 -8
  395. package/dist/cjs/map-select-tools_3.cjs.entry.js +1 -1
  396. package/dist/cjs/public-notification.cjs.entry.js +7 -4
  397. package/dist/cjs/solutions-components.cjs.js +1 -1
  398. package/dist/cjs/spatial-ref.cjs.entry.js +8 -4
  399. package/dist/cjs/styles-c9e1375a.js +13 -0
  400. package/dist/cjs/{utils-35b31785.js → utils-6c713ba8.js} +14 -4
  401. package/dist/collection/components/crowdsource-manager/crowdsource-manager.js +41 -79
  402. package/dist/collection/components/info-card/info-card.js +16 -1
  403. package/dist/collection/components/layer-table/layer-table.js +66 -13
  404. package/dist/collection/components/map-card/map-card.js +5 -5
  405. package/dist/collection/components/map-tools/map-tools.js +118 -27
  406. package/dist/collection/components/public-notification/public-notification.js +7 -3
  407. package/dist/collection/components/solution-spatial-ref/test/solution-spatial-ref.e2e.js +0 -3
  408. package/dist/collection/components/spatial-ref/spatial-ref.js +9 -4
  409. package/dist/collection/demos/assets/t9n/instant-apps-export/resources.json +12 -12
  410. package/dist/collection/demos/assets/t9n/instant-apps-export/resources_ar.json +11 -11
  411. package/dist/collection/demos/assets/t9n/instant-apps-export/resources_bg.json +11 -11
  412. package/dist/collection/demos/assets/t9n/instant-apps-export/resources_bs.json +11 -11
  413. package/dist/collection/demos/assets/t9n/instant-apps-export/resources_ca.json +11 -11
  414. package/dist/collection/demos/assets/t9n/instant-apps-export/resources_cs.json +11 -11
  415. package/dist/collection/demos/assets/t9n/instant-apps-export/resources_da.json +11 -11
  416. package/dist/collection/demos/assets/t9n/instant-apps-export/resources_de.json +11 -11
  417. package/dist/collection/demos/assets/t9n/instant-apps-export/resources_el.json +11 -11
  418. package/dist/collection/demos/assets/t9n/instant-apps-export/resources_en.json +12 -12
  419. package/dist/collection/demos/assets/t9n/instant-apps-export/resources_es.json +11 -11
  420. package/dist/collection/demos/assets/t9n/instant-apps-export/resources_et.json +11 -11
  421. package/dist/collection/demos/assets/t9n/instant-apps-export/resources_fi.json +11 -11
  422. package/dist/collection/demos/assets/t9n/instant-apps-export/resources_fr.json +11 -11
  423. package/dist/collection/demos/assets/t9n/instant-apps-export/resources_he.json +11 -11
  424. package/dist/collection/demos/assets/t9n/instant-apps-export/resources_hr.json +11 -11
  425. package/dist/collection/demos/assets/t9n/instant-apps-export/resources_hu.json +11 -11
  426. package/dist/collection/demos/assets/t9n/instant-apps-export/resources_id.json +11 -11
  427. package/dist/collection/demos/assets/t9n/instant-apps-export/resources_it.json +11 -11
  428. package/dist/collection/demos/assets/t9n/instant-apps-export/resources_ja.json +11 -11
  429. package/dist/collection/demos/assets/t9n/instant-apps-export/resources_ko.json +11 -11
  430. package/dist/collection/demos/assets/t9n/instant-apps-export/resources_lt.json +11 -11
  431. package/dist/collection/demos/assets/t9n/instant-apps-export/resources_lv.json +11 -11
  432. package/dist/collection/demos/assets/t9n/instant-apps-export/resources_nb.json +11 -11
  433. package/dist/collection/demos/assets/t9n/instant-apps-export/resources_nl.json +11 -11
  434. package/dist/collection/demos/assets/t9n/instant-apps-export/resources_pl.json +11 -11
  435. package/dist/collection/demos/assets/t9n/instant-apps-export/resources_pt-BR.json +11 -11
  436. package/dist/collection/demos/assets/t9n/instant-apps-export/resources_pt-PT.json +11 -11
  437. package/dist/collection/demos/assets/t9n/instant-apps-export/resources_ro.json +11 -11
  438. package/dist/collection/demos/assets/t9n/instant-apps-export/resources_ru.json +11 -11
  439. package/dist/collection/demos/assets/t9n/instant-apps-export/resources_sk.json +11 -11
  440. package/dist/collection/demos/assets/t9n/instant-apps-export/resources_sl.json +11 -11
  441. package/dist/collection/demos/assets/t9n/instant-apps-export/resources_sr.json +11 -11
  442. package/dist/collection/demos/assets/t9n/instant-apps-export/resources_sv.json +11 -11
  443. package/dist/collection/demos/assets/t9n/instant-apps-export/resources_th.json +11 -11
  444. package/dist/collection/demos/assets/t9n/instant-apps-export/resources_tr.json +11 -11
  445. package/dist/collection/demos/assets/t9n/instant-apps-export/resources_uk.json +11 -11
  446. package/dist/collection/demos/assets/t9n/instant-apps-export/resources_vi.json +11 -11
  447. package/dist/collection/demos/assets/t9n/instant-apps-export/resources_zh-CN.json +11 -11
  448. package/dist/collection/demos/assets/t9n/instant-apps-export/resources_zh-HK.json +11 -11
  449. package/dist/collection/demos/assets/t9n/instant-apps-export/resources_zh-TW.json +11 -11
  450. package/dist/collection/demos/assets/t9n/instant-apps-filter-list/resources.json +16 -16
  451. package/dist/collection/demos/assets/t9n/instant-apps-filter-list/resources_ar.json +16 -16
  452. package/dist/collection/demos/assets/t9n/instant-apps-filter-list/resources_bg.json +16 -16
  453. package/dist/collection/demos/assets/t9n/instant-apps-filter-list/resources_bs.json +16 -16
  454. package/dist/collection/demos/assets/t9n/instant-apps-filter-list/resources_ca.json +16 -16
  455. package/dist/collection/demos/assets/t9n/instant-apps-filter-list/resources_cs.json +16 -16
  456. package/dist/collection/demos/assets/t9n/instant-apps-filter-list/resources_da.json +16 -16
  457. package/dist/collection/demos/assets/t9n/instant-apps-filter-list/resources_de.json +16 -16
  458. package/dist/collection/demos/assets/t9n/instant-apps-filter-list/resources_el.json +16 -16
  459. package/dist/collection/demos/assets/t9n/instant-apps-filter-list/resources_en.json +16 -16
  460. package/dist/collection/demos/assets/t9n/instant-apps-filter-list/resources_es.json +16 -16
  461. package/dist/collection/demos/assets/t9n/instant-apps-filter-list/resources_et.json +16 -16
  462. package/dist/collection/demos/assets/t9n/instant-apps-filter-list/resources_fi.json +16 -16
  463. package/dist/collection/demos/assets/t9n/instant-apps-filter-list/resources_fr.json +16 -16
  464. package/dist/collection/demos/assets/t9n/instant-apps-filter-list/resources_he.json +16 -16
  465. package/dist/collection/demos/assets/t9n/instant-apps-filter-list/resources_hr.json +16 -16
  466. package/dist/collection/demos/assets/t9n/instant-apps-filter-list/resources_hu.json +16 -16
  467. package/dist/collection/demos/assets/t9n/instant-apps-filter-list/resources_id.json +16 -16
  468. package/dist/collection/demos/assets/t9n/instant-apps-filter-list/resources_it.json +16 -16
  469. package/dist/collection/demos/assets/t9n/instant-apps-filter-list/resources_ja.json +16 -16
  470. package/dist/collection/demos/assets/t9n/instant-apps-filter-list/resources_ko.json +16 -16
  471. package/dist/collection/demos/assets/t9n/instant-apps-filter-list/resources_lt.json +16 -16
  472. package/dist/collection/demos/assets/t9n/instant-apps-filter-list/resources_lv.json +16 -16
  473. package/dist/collection/demos/assets/t9n/instant-apps-filter-list/resources_nb.json +16 -16
  474. package/dist/collection/demos/assets/t9n/instant-apps-filter-list/resources_nl.json +16 -16
  475. package/dist/collection/demos/assets/t9n/instant-apps-filter-list/resources_pl.json +16 -16
  476. package/dist/collection/demos/assets/t9n/instant-apps-filter-list/resources_pt-BR.json +16 -16
  477. package/dist/collection/demos/assets/t9n/instant-apps-filter-list/resources_pt-PT.json +16 -16
  478. package/dist/collection/demos/assets/t9n/instant-apps-filter-list/resources_ro.json +16 -16
  479. package/dist/collection/demos/assets/t9n/instant-apps-filter-list/resources_ru.json +16 -16
  480. package/dist/collection/demos/assets/t9n/instant-apps-filter-list/resources_sk.json +16 -16
  481. package/dist/collection/demos/assets/t9n/instant-apps-filter-list/resources_sl.json +16 -16
  482. package/dist/collection/demos/assets/t9n/instant-apps-filter-list/resources_sr.json +16 -16
  483. package/dist/collection/demos/assets/t9n/instant-apps-filter-list/resources_sv.json +16 -16
  484. package/dist/collection/demos/assets/t9n/instant-apps-filter-list/resources_th.json +16 -16
  485. package/dist/collection/demos/assets/t9n/instant-apps-filter-list/resources_tr.json +16 -16
  486. package/dist/collection/demos/assets/t9n/instant-apps-filter-list/resources_uk.json +16 -16
  487. package/dist/collection/demos/assets/t9n/instant-apps-filter-list/resources_vi.json +16 -16
  488. package/dist/collection/demos/assets/t9n/instant-apps-filter-list/resources_zh-CN.json +16 -16
  489. package/dist/collection/demos/assets/t9n/instant-apps-filter-list/resources_zh-HK.json +16 -16
  490. package/dist/collection/demos/assets/t9n/instant-apps-filter-list/resources_zh-TW.json +16 -16
  491. package/dist/collection/demos/assets/t9n/instant-apps-interactive-legend/resources.json +15 -15
  492. package/dist/collection/demos/assets/t9n/instant-apps-interactive-legend/resources_ar.json +15 -15
  493. package/dist/collection/demos/assets/t9n/instant-apps-interactive-legend/resources_bg.json +15 -15
  494. package/dist/collection/demos/assets/t9n/instant-apps-interactive-legend/resources_bs.json +15 -15
  495. package/dist/collection/demos/assets/t9n/instant-apps-interactive-legend/resources_ca.json +15 -15
  496. package/dist/collection/demos/assets/t9n/instant-apps-interactive-legend/resources_cs.json +15 -15
  497. package/dist/collection/demos/assets/t9n/instant-apps-interactive-legend/resources_da.json +15 -15
  498. package/dist/collection/demos/assets/t9n/instant-apps-interactive-legend/resources_de.json +15 -15
  499. package/dist/collection/demos/assets/t9n/instant-apps-interactive-legend/resources_el.json +15 -15
  500. package/dist/collection/demos/assets/t9n/instant-apps-interactive-legend/resources_en.json +15 -15
  501. package/dist/collection/demos/assets/t9n/instant-apps-interactive-legend/resources_es.json +15 -15
  502. package/dist/collection/demos/assets/t9n/instant-apps-interactive-legend/resources_et.json +15 -15
  503. package/dist/collection/demos/assets/t9n/instant-apps-interactive-legend/resources_fi.json +15 -15
  504. package/dist/collection/demos/assets/t9n/instant-apps-interactive-legend/resources_fr.json +15 -15
  505. package/dist/collection/demos/assets/t9n/instant-apps-interactive-legend/resources_he.json +15 -15
  506. package/dist/collection/demos/assets/t9n/instant-apps-interactive-legend/resources_hr.json +15 -15
  507. package/dist/collection/demos/assets/t9n/instant-apps-interactive-legend/resources_hu.json +15 -15
  508. package/dist/collection/demos/assets/t9n/instant-apps-interactive-legend/resources_id.json +15 -15
  509. package/dist/collection/demos/assets/t9n/instant-apps-interactive-legend/resources_it.json +15 -15
  510. package/dist/collection/demos/assets/t9n/instant-apps-interactive-legend/resources_ja.json +15 -15
  511. package/dist/collection/demos/assets/t9n/instant-apps-interactive-legend/resources_ko.json +15 -15
  512. package/dist/collection/demos/assets/t9n/instant-apps-interactive-legend/resources_lt.json +15 -15
  513. package/dist/collection/demos/assets/t9n/instant-apps-interactive-legend/resources_lv.json +15 -15
  514. package/dist/collection/demos/assets/t9n/instant-apps-interactive-legend/resources_nb.json +15 -15
  515. package/dist/collection/demos/assets/t9n/instant-apps-interactive-legend/resources_nl.json +15 -15
  516. package/dist/collection/demos/assets/t9n/instant-apps-interactive-legend/resources_pl.json +15 -15
  517. package/dist/collection/demos/assets/t9n/instant-apps-interactive-legend/resources_pt-BR.json +15 -15
  518. package/dist/collection/demos/assets/t9n/instant-apps-interactive-legend/resources_pt-PT.json +15 -15
  519. package/dist/collection/demos/assets/t9n/instant-apps-interactive-legend/resources_ro.json +15 -15
  520. package/dist/collection/demos/assets/t9n/instant-apps-interactive-legend/resources_ru.json +15 -15
  521. package/dist/collection/demos/assets/t9n/instant-apps-interactive-legend/resources_sk.json +15 -15
  522. package/dist/collection/demos/assets/t9n/instant-apps-interactive-legend/resources_sl.json +15 -15
  523. package/dist/collection/demos/assets/t9n/instant-apps-interactive-legend/resources_sr.json +15 -15
  524. package/dist/collection/demos/assets/t9n/instant-apps-interactive-legend/resources_sv.json +15 -15
  525. package/dist/collection/demos/assets/t9n/instant-apps-interactive-legend/resources_th.json +15 -15
  526. package/dist/collection/demos/assets/t9n/instant-apps-interactive-legend/resources_tr.json +15 -15
  527. package/dist/collection/demos/assets/t9n/instant-apps-interactive-legend/resources_uk.json +15 -15
  528. package/dist/collection/demos/assets/t9n/instant-apps-interactive-legend/resources_vi.json +15 -15
  529. package/dist/collection/demos/assets/t9n/instant-apps-interactive-legend/resources_zh-CN.json +15 -15
  530. package/dist/collection/demos/assets/t9n/instant-apps-interactive-legend/resources_zh-HK.json +15 -15
  531. package/dist/collection/demos/assets/t9n/instant-apps-interactive-legend/resources_zh-TW.json +15 -15
  532. package/dist/collection/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources.json +30 -30
  533. package/dist/collection/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_ar.json +30 -30
  534. package/dist/collection/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_bg.json +30 -30
  535. package/dist/collection/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_bs.json +30 -30
  536. package/dist/collection/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_ca.json +30 -30
  537. package/dist/collection/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_cs.json +30 -30
  538. package/dist/collection/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_da.json +30 -30
  539. package/dist/collection/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_de.json +30 -30
  540. package/dist/collection/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_el.json +30 -30
  541. package/dist/collection/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_en.json +30 -30
  542. package/dist/collection/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_es.json +30 -30
  543. package/dist/collection/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_et.json +30 -30
  544. package/dist/collection/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_fi.json +30 -30
  545. package/dist/collection/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_fr.json +30 -30
  546. package/dist/collection/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_he.json +30 -30
  547. package/dist/collection/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_hr.json +30 -30
  548. package/dist/collection/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_hu.json +30 -30
  549. package/dist/collection/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_id.json +30 -30
  550. package/dist/collection/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_it.json +30 -30
  551. package/dist/collection/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_ja.json +30 -30
  552. package/dist/collection/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_ko.json +30 -30
  553. package/dist/collection/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_lt.json +30 -30
  554. package/dist/collection/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_lv.json +30 -30
  555. package/dist/collection/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_nb.json +30 -30
  556. package/dist/collection/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_nl.json +30 -30
  557. package/dist/collection/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_pl.json +30 -30
  558. package/dist/collection/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_pt-BR.json +30 -30
  559. package/dist/collection/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_pt-PT.json +30 -30
  560. package/dist/collection/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_ro.json +30 -30
  561. package/dist/collection/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_ru.json +30 -30
  562. package/dist/collection/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_sk.json +30 -30
  563. package/dist/collection/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_sl.json +30 -30
  564. package/dist/collection/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_sr.json +30 -30
  565. package/dist/collection/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_sv.json +30 -30
  566. package/dist/collection/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_th.json +30 -30
  567. package/dist/collection/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_tr.json +30 -30
  568. package/dist/collection/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_uk.json +30 -30
  569. package/dist/collection/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_vi.json +30 -30
  570. package/dist/collection/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_zh-CN.json +30 -30
  571. package/dist/collection/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_zh-HK.json +30 -30
  572. package/dist/collection/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_zh-TW.json +30 -30
  573. package/dist/collection/demos/assets/t9n/instant-apps-language-translator/resources.json +102 -102
  574. package/dist/collection/demos/assets/t9n/instant-apps-language-translator/resources_ar.json +102 -102
  575. package/dist/collection/demos/assets/t9n/instant-apps-language-translator/resources_bg.json +102 -102
  576. package/dist/collection/demos/assets/t9n/instant-apps-language-translator/resources_bs.json +102 -102
  577. package/dist/collection/demos/assets/t9n/instant-apps-language-translator/resources_ca.json +102 -102
  578. package/dist/collection/demos/assets/t9n/instant-apps-language-translator/resources_cs.json +102 -102
  579. package/dist/collection/demos/assets/t9n/instant-apps-language-translator/resources_da.json +102 -102
  580. package/dist/collection/demos/assets/t9n/instant-apps-language-translator/resources_de.json +102 -102
  581. package/dist/collection/demos/assets/t9n/instant-apps-language-translator/resources_el.json +102 -102
  582. package/dist/collection/demos/assets/t9n/instant-apps-language-translator/resources_en.json +102 -102
  583. package/dist/collection/demos/assets/t9n/instant-apps-language-translator/resources_es.json +102 -102
  584. package/dist/collection/demos/assets/t9n/instant-apps-language-translator/resources_et.json +102 -102
  585. package/dist/collection/demos/assets/t9n/instant-apps-language-translator/resources_fi.json +102 -102
  586. package/dist/collection/demos/assets/t9n/instant-apps-language-translator/resources_fr.json +102 -102
  587. package/dist/collection/demos/assets/t9n/instant-apps-language-translator/resources_he.json +102 -102
  588. package/dist/collection/demos/assets/t9n/instant-apps-language-translator/resources_hr.json +102 -102
  589. package/dist/collection/demos/assets/t9n/instant-apps-language-translator/resources_hu.json +102 -102
  590. package/dist/collection/demos/assets/t9n/instant-apps-language-translator/resources_id.json +102 -102
  591. package/dist/collection/demos/assets/t9n/instant-apps-language-translator/resources_it.json +102 -102
  592. package/dist/collection/demos/assets/t9n/instant-apps-language-translator/resources_ja.json +102 -102
  593. package/dist/collection/demos/assets/t9n/instant-apps-language-translator/resources_ko.json +102 -102
  594. package/dist/collection/demos/assets/t9n/instant-apps-language-translator/resources_lt.json +102 -102
  595. package/dist/collection/demos/assets/t9n/instant-apps-language-translator/resources_lv.json +102 -102
  596. package/dist/collection/demos/assets/t9n/instant-apps-language-translator/resources_nb.json +102 -102
  597. package/dist/collection/demos/assets/t9n/instant-apps-language-translator/resources_nl.json +102 -102
  598. package/dist/collection/demos/assets/t9n/instant-apps-language-translator/resources_pl.json +102 -102
  599. package/dist/collection/demos/assets/t9n/instant-apps-language-translator/resources_pt-BR.json +102 -102
  600. package/dist/collection/demos/assets/t9n/instant-apps-language-translator/resources_pt-PT.json +102 -102
  601. package/dist/collection/demos/assets/t9n/instant-apps-language-translator/resources_ro.json +102 -102
  602. package/dist/collection/demos/assets/t9n/instant-apps-language-translator/resources_ru.json +102 -102
  603. package/dist/collection/demos/assets/t9n/instant-apps-language-translator/resources_sk.json +102 -102
  604. package/dist/collection/demos/assets/t9n/instant-apps-language-translator/resources_sl.json +102 -102
  605. package/dist/collection/demos/assets/t9n/instant-apps-language-translator/resources_sr.json +102 -102
  606. package/dist/collection/demos/assets/t9n/instant-apps-language-translator/resources_sv.json +102 -102
  607. package/dist/collection/demos/assets/t9n/instant-apps-language-translator/resources_th.json +102 -102
  608. package/dist/collection/demos/assets/t9n/instant-apps-language-translator/resources_tr.json +102 -102
  609. package/dist/collection/demos/assets/t9n/instant-apps-language-translator/resources_uk.json +102 -102
  610. package/dist/collection/demos/assets/t9n/instant-apps-language-translator/resources_vi.json +102 -102
  611. package/dist/collection/demos/assets/t9n/instant-apps-language-translator/resources_zh-CN.json +102 -102
  612. package/dist/collection/demos/assets/t9n/instant-apps-language-translator/resources_zh-HK.json +102 -102
  613. package/dist/collection/demos/assets/t9n/instant-apps-language-translator/resources_zh-TW.json +102 -102
  614. package/dist/collection/demos/assets/t9n/instant-apps-measurement/resources.json +6 -6
  615. package/dist/collection/demos/assets/t9n/instant-apps-measurement/resources_ar.json +6 -6
  616. package/dist/collection/demos/assets/t9n/instant-apps-measurement/resources_bg.json +6 -6
  617. package/dist/collection/demos/assets/t9n/instant-apps-measurement/resources_bs.json +6 -6
  618. package/dist/collection/demos/assets/t9n/instant-apps-measurement/resources_ca.json +6 -6
  619. package/dist/collection/demos/assets/t9n/instant-apps-measurement/resources_cs.json +6 -6
  620. package/dist/collection/demos/assets/t9n/instant-apps-measurement/resources_da.json +6 -6
  621. package/dist/collection/demos/assets/t9n/instant-apps-measurement/resources_de.json +6 -6
  622. package/dist/collection/demos/assets/t9n/instant-apps-measurement/resources_el.json +6 -6
  623. package/dist/collection/demos/assets/t9n/instant-apps-measurement/resources_en.json +6 -6
  624. package/dist/collection/demos/assets/t9n/instant-apps-measurement/resources_es.json +6 -6
  625. package/dist/collection/demos/assets/t9n/instant-apps-measurement/resources_et.json +6 -6
  626. package/dist/collection/demos/assets/t9n/instant-apps-measurement/resources_fi.json +6 -6
  627. package/dist/collection/demos/assets/t9n/instant-apps-measurement/resources_fr.json +6 -6
  628. package/dist/collection/demos/assets/t9n/instant-apps-measurement/resources_he.json +6 -6
  629. package/dist/collection/demos/assets/t9n/instant-apps-measurement/resources_hr.json +6 -6
  630. package/dist/collection/demos/assets/t9n/instant-apps-measurement/resources_hu.json +6 -6
  631. package/dist/collection/demos/assets/t9n/instant-apps-measurement/resources_id.json +6 -6
  632. package/dist/collection/demos/assets/t9n/instant-apps-measurement/resources_it.json +6 -6
  633. package/dist/collection/demos/assets/t9n/instant-apps-measurement/resources_ja.json +6 -6
  634. package/dist/collection/demos/assets/t9n/instant-apps-measurement/resources_ko.json +6 -6
  635. package/dist/collection/demos/assets/t9n/instant-apps-measurement/resources_lt.json +6 -6
  636. package/dist/collection/demos/assets/t9n/instant-apps-measurement/resources_lv.json +6 -6
  637. package/dist/collection/demos/assets/t9n/instant-apps-measurement/resources_nb.json +6 -6
  638. package/dist/collection/demos/assets/t9n/instant-apps-measurement/resources_nl.json +6 -6
  639. package/dist/collection/demos/assets/t9n/instant-apps-measurement/resources_pl.json +6 -6
  640. package/dist/collection/demos/assets/t9n/instant-apps-measurement/resources_pt-BR.json +6 -6
  641. package/dist/collection/demos/assets/t9n/instant-apps-measurement/resources_pt-PT.json +6 -6
  642. package/dist/collection/demos/assets/t9n/instant-apps-measurement/resources_ro.json +6 -6
  643. package/dist/collection/demos/assets/t9n/instant-apps-measurement/resources_ru.json +6 -6
  644. package/dist/collection/demos/assets/t9n/instant-apps-measurement/resources_sk.json +6 -6
  645. package/dist/collection/demos/assets/t9n/instant-apps-measurement/resources_sl.json +6 -6
  646. package/dist/collection/demos/assets/t9n/instant-apps-measurement/resources_sr.json +6 -6
  647. package/dist/collection/demos/assets/t9n/instant-apps-measurement/resources_sv.json +6 -6
  648. package/dist/collection/demos/assets/t9n/instant-apps-measurement/resources_th.json +6 -6
  649. package/dist/collection/demos/assets/t9n/instant-apps-measurement/resources_tr.json +6 -6
  650. package/dist/collection/demos/assets/t9n/instant-apps-measurement/resources_uk.json +6 -6
  651. package/dist/collection/demos/assets/t9n/instant-apps-measurement/resources_vi.json +6 -6
  652. package/dist/collection/demos/assets/t9n/instant-apps-measurement/resources_zh-CN.json +6 -6
  653. package/dist/collection/demos/assets/t9n/instant-apps-measurement/resources_zh-HK.json +6 -6
  654. package/dist/collection/demos/assets/t9n/instant-apps-measurement/resources_zh-TW.json +6 -6
  655. package/dist/collection/demos/assets/t9n/instant-apps-popover/resources.json +7 -7
  656. package/dist/collection/demos/assets/t9n/instant-apps-popover/resources_ar.json +5 -5
  657. package/dist/collection/demos/assets/t9n/instant-apps-popover/resources_bg.json +5 -5
  658. package/dist/collection/demos/assets/t9n/instant-apps-popover/resources_bs.json +5 -5
  659. package/dist/collection/demos/assets/t9n/instant-apps-popover/resources_ca.json +5 -5
  660. package/dist/collection/demos/assets/t9n/instant-apps-popover/resources_cs.json +5 -5
  661. package/dist/collection/demos/assets/t9n/instant-apps-popover/resources_da.json +5 -5
  662. package/dist/collection/demos/assets/t9n/instant-apps-popover/resources_de.json +5 -5
  663. package/dist/collection/demos/assets/t9n/instant-apps-popover/resources_el.json +5 -5
  664. package/dist/collection/demos/assets/t9n/instant-apps-popover/resources_en.json +7 -7
  665. package/dist/collection/demos/assets/t9n/instant-apps-popover/resources_es.json +5 -5
  666. package/dist/collection/demos/assets/t9n/instant-apps-popover/resources_et.json +5 -5
  667. package/dist/collection/demos/assets/t9n/instant-apps-popover/resources_fi.json +5 -5
  668. package/dist/collection/demos/assets/t9n/instant-apps-popover/resources_fr.json +5 -5
  669. package/dist/collection/demos/assets/t9n/instant-apps-popover/resources_he.json +5 -5
  670. package/dist/collection/demos/assets/t9n/instant-apps-popover/resources_hr.json +5 -5
  671. package/dist/collection/demos/assets/t9n/instant-apps-popover/resources_hu.json +5 -5
  672. package/dist/collection/demos/assets/t9n/instant-apps-popover/resources_id.json +5 -5
  673. package/dist/collection/demos/assets/t9n/instant-apps-popover/resources_it.json +5 -5
  674. package/dist/collection/demos/assets/t9n/instant-apps-popover/resources_ja.json +5 -5
  675. package/dist/collection/demos/assets/t9n/instant-apps-popover/resources_ko.json +5 -5
  676. package/dist/collection/demos/assets/t9n/instant-apps-popover/resources_lt.json +5 -5
  677. package/dist/collection/demos/assets/t9n/instant-apps-popover/resources_lv.json +5 -5
  678. package/dist/collection/demos/assets/t9n/instant-apps-popover/resources_nb.json +5 -5
  679. package/dist/collection/demos/assets/t9n/instant-apps-popover/resources_nl.json +5 -5
  680. package/dist/collection/demos/assets/t9n/instant-apps-popover/resources_pl.json +5 -5
  681. package/dist/collection/demos/assets/t9n/instant-apps-popover/resources_pt-BR.json +5 -5
  682. package/dist/collection/demos/assets/t9n/instant-apps-popover/resources_pt-PT.json +5 -5
  683. package/dist/collection/demos/assets/t9n/instant-apps-popover/resources_ro.json +5 -5
  684. package/dist/collection/demos/assets/t9n/instant-apps-popover/resources_ru.json +5 -5
  685. package/dist/collection/demos/assets/t9n/instant-apps-popover/resources_sk.json +5 -5
  686. package/dist/collection/demos/assets/t9n/instant-apps-popover/resources_sl.json +5 -5
  687. package/dist/collection/demos/assets/t9n/instant-apps-popover/resources_sr.json +5 -5
  688. package/dist/collection/demos/assets/t9n/instant-apps-popover/resources_sv.json +5 -5
  689. package/dist/collection/demos/assets/t9n/instant-apps-popover/resources_th.json +5 -5
  690. package/dist/collection/demos/assets/t9n/instant-apps-popover/resources_tr.json +5 -5
  691. package/dist/collection/demos/assets/t9n/instant-apps-popover/resources_uk.json +5 -5
  692. package/dist/collection/demos/assets/t9n/instant-apps-popover/resources_vi.json +5 -5
  693. package/dist/collection/demos/assets/t9n/instant-apps-popover/resources_zh-CN.json +5 -5
  694. package/dist/collection/demos/assets/t9n/instant-apps-popover/resources_zh-HK.json +5 -5
  695. package/dist/collection/demos/assets/t9n/instant-apps-popover/resources_zh-TW.json +5 -5
  696. package/dist/collection/demos/assets/t9n/instant-apps-scoreboard/resources.json +6 -6
  697. package/dist/collection/demos/assets/t9n/instant-apps-scoreboard/resources_ar.json +6 -6
  698. package/dist/collection/demos/assets/t9n/instant-apps-scoreboard/resources_bg.json +6 -6
  699. package/dist/collection/demos/assets/t9n/instant-apps-scoreboard/resources_bs.json +6 -6
  700. package/dist/collection/demos/assets/t9n/instant-apps-scoreboard/resources_ca.json +6 -6
  701. package/dist/collection/demos/assets/t9n/instant-apps-scoreboard/resources_cs.json +6 -6
  702. package/dist/collection/demos/assets/t9n/instant-apps-scoreboard/resources_da.json +6 -6
  703. package/dist/collection/demos/assets/t9n/instant-apps-scoreboard/resources_de.json +6 -6
  704. package/dist/collection/demos/assets/t9n/instant-apps-scoreboard/resources_el.json +6 -6
  705. package/dist/collection/demos/assets/t9n/instant-apps-scoreboard/resources_en.json +6 -6
  706. package/dist/collection/demos/assets/t9n/instant-apps-scoreboard/resources_es.json +6 -6
  707. package/dist/collection/demos/assets/t9n/instant-apps-scoreboard/resources_et.json +6 -6
  708. package/dist/collection/demos/assets/t9n/instant-apps-scoreboard/resources_fi.json +6 -6
  709. package/dist/collection/demos/assets/t9n/instant-apps-scoreboard/resources_fr.json +6 -6
  710. package/dist/collection/demos/assets/t9n/instant-apps-scoreboard/resources_he.json +6 -6
  711. package/dist/collection/demos/assets/t9n/instant-apps-scoreboard/resources_hr.json +6 -6
  712. package/dist/collection/demos/assets/t9n/instant-apps-scoreboard/resources_hu.json +6 -6
  713. package/dist/collection/demos/assets/t9n/instant-apps-scoreboard/resources_id.json +6 -6
  714. package/dist/collection/demos/assets/t9n/instant-apps-scoreboard/resources_it.json +6 -6
  715. package/dist/collection/demos/assets/t9n/instant-apps-scoreboard/resources_ja.json +6 -6
  716. package/dist/collection/demos/assets/t9n/instant-apps-scoreboard/resources_ko.json +6 -6
  717. package/dist/collection/demos/assets/t9n/instant-apps-scoreboard/resources_lt.json +6 -6
  718. package/dist/collection/demos/assets/t9n/instant-apps-scoreboard/resources_lv.json +6 -6
  719. package/dist/collection/demos/assets/t9n/instant-apps-scoreboard/resources_nb.json +6 -6
  720. package/dist/collection/demos/assets/t9n/instant-apps-scoreboard/resources_nl.json +6 -6
  721. package/dist/collection/demos/assets/t9n/instant-apps-scoreboard/resources_pl.json +6 -6
  722. package/dist/collection/demos/assets/t9n/instant-apps-scoreboard/resources_pt-BR.json +6 -6
  723. package/dist/collection/demos/assets/t9n/instant-apps-scoreboard/resources_pt-PT.json +6 -6
  724. package/dist/collection/demos/assets/t9n/instant-apps-scoreboard/resources_ro.json +6 -6
  725. package/dist/collection/demos/assets/t9n/instant-apps-scoreboard/resources_ru.json +6 -6
  726. package/dist/collection/demos/assets/t9n/instant-apps-scoreboard/resources_sk.json +6 -6
  727. package/dist/collection/demos/assets/t9n/instant-apps-scoreboard/resources_sl.json +6 -6
  728. package/dist/collection/demos/assets/t9n/instant-apps-scoreboard/resources_sr.json +6 -6
  729. package/dist/collection/demos/assets/t9n/instant-apps-scoreboard/resources_sv.json +6 -6
  730. package/dist/collection/demos/assets/t9n/instant-apps-scoreboard/resources_th.json +6 -6
  731. package/dist/collection/demos/assets/t9n/instant-apps-scoreboard/resources_tr.json +6 -6
  732. package/dist/collection/demos/assets/t9n/instant-apps-scoreboard/resources_uk.json +6 -6
  733. package/dist/collection/demos/assets/t9n/instant-apps-scoreboard/resources_vi.json +6 -6
  734. package/dist/collection/demos/assets/t9n/instant-apps-scoreboard/resources_zh-CN.json +6 -6
  735. package/dist/collection/demos/assets/t9n/instant-apps-scoreboard/resources_zh-HK.json +6 -6
  736. package/dist/collection/demos/assets/t9n/instant-apps-scoreboard/resources_zh-TW.json +6 -6
  737. package/dist/collection/demos/assets/t9n/instant-apps-social-share/resources.json +38 -38
  738. package/dist/collection/demos/assets/t9n/instant-apps-social-share/resources_ar.json +37 -37
  739. package/dist/collection/demos/assets/t9n/instant-apps-social-share/resources_bg.json +37 -37
  740. package/dist/collection/demos/assets/t9n/instant-apps-social-share/resources_bs.json +37 -37
  741. package/dist/collection/demos/assets/t9n/instant-apps-social-share/resources_ca.json +37 -37
  742. package/dist/collection/demos/assets/t9n/instant-apps-social-share/resources_cs.json +37 -37
  743. package/dist/collection/demos/assets/t9n/instant-apps-social-share/resources_da.json +37 -37
  744. package/dist/collection/demos/assets/t9n/instant-apps-social-share/resources_de.json +37 -37
  745. package/dist/collection/demos/assets/t9n/instant-apps-social-share/resources_el.json +37 -37
  746. package/dist/collection/demos/assets/t9n/instant-apps-social-share/resources_en.json +38 -38
  747. package/dist/collection/demos/assets/t9n/instant-apps-social-share/resources_es.json +37 -37
  748. package/dist/collection/demos/assets/t9n/instant-apps-social-share/resources_et.json +37 -37
  749. package/dist/collection/demos/assets/t9n/instant-apps-social-share/resources_fi.json +37 -37
  750. package/dist/collection/demos/assets/t9n/instant-apps-social-share/resources_fr.json +37 -37
  751. package/dist/collection/demos/assets/t9n/instant-apps-social-share/resources_he.json +37 -37
  752. package/dist/collection/demos/assets/t9n/instant-apps-social-share/resources_hr.json +37 -37
  753. package/dist/collection/demos/assets/t9n/instant-apps-social-share/resources_hu.json +37 -37
  754. package/dist/collection/demos/assets/t9n/instant-apps-social-share/resources_id.json +37 -37
  755. package/dist/collection/demos/assets/t9n/instant-apps-social-share/resources_it.json +37 -37
  756. package/dist/collection/demos/assets/t9n/instant-apps-social-share/resources_ja.json +37 -37
  757. package/dist/collection/demos/assets/t9n/instant-apps-social-share/resources_ko.json +37 -37
  758. package/dist/collection/demos/assets/t9n/instant-apps-social-share/resources_lt.json +37 -37
  759. package/dist/collection/demos/assets/t9n/instant-apps-social-share/resources_lv.json +37 -37
  760. package/dist/collection/demos/assets/t9n/instant-apps-social-share/resources_nb.json +37 -37
  761. package/dist/collection/demos/assets/t9n/instant-apps-social-share/resources_nl.json +37 -37
  762. package/dist/collection/demos/assets/t9n/instant-apps-social-share/resources_pl.json +37 -37
  763. package/dist/collection/demos/assets/t9n/instant-apps-social-share/resources_pt-BR.json +37 -37
  764. package/dist/collection/demos/assets/t9n/instant-apps-social-share/resources_pt-PT.json +37 -37
  765. package/dist/collection/demos/assets/t9n/instant-apps-social-share/resources_ro.json +37 -37
  766. package/dist/collection/demos/assets/t9n/instant-apps-social-share/resources_ru.json +37 -37
  767. package/dist/collection/demos/assets/t9n/instant-apps-social-share/resources_sk.json +37 -37
  768. package/dist/collection/demos/assets/t9n/instant-apps-social-share/resources_sl.json +37 -37
  769. package/dist/collection/demos/assets/t9n/instant-apps-social-share/resources_sr.json +37 -37
  770. package/dist/collection/demos/assets/t9n/instant-apps-social-share/resources_sv.json +37 -37
  771. package/dist/collection/demos/assets/t9n/instant-apps-social-share/resources_th.json +37 -37
  772. package/dist/collection/demos/assets/t9n/instant-apps-social-share/resources_tr.json +37 -37
  773. package/dist/collection/demos/assets/t9n/instant-apps-social-share/resources_uk.json +37 -37
  774. package/dist/collection/demos/assets/t9n/instant-apps-social-share/resources_vi.json +37 -37
  775. package/dist/collection/demos/assets/t9n/instant-apps-social-share/resources_zh-CN.json +37 -37
  776. package/dist/collection/demos/assets/t9n/instant-apps-social-share/resources_zh-HK.json +37 -37
  777. package/dist/collection/demos/assets/t9n/instant-apps-social-share/resources_zh-TW.json +37 -37
  778. package/dist/collection/demos/assets/t9n/instant-apps-splash/resources.json +2 -2
  779. package/dist/collection/demos/assets/t9n/instant-apps-splash/resources_en.json +2 -2
  780. package/dist/collection/demos/crowdsource-manager.html +1 -7
  781. package/dist/collection/utils/pdfUtils.js +4 -2
  782. package/dist/collection/utils/pdfUtils.ts +4 -2
  783. package/dist/components/crowdsource-manager.js +33 -54
  784. package/dist/components/downloadUtils.js +4 -2
  785. package/dist/components/info-card2.js +11 -2
  786. package/dist/components/instant-apps-export.js +254 -33
  787. package/dist/components/instant-apps-filter-list2.js +3 -1
  788. package/dist/components/instant-apps-header2.js +2 -1
  789. package/dist/components/instant-apps-landing-page.js +26 -9
  790. package/dist/components/instant-apps-language-translator-item2.js +151 -68
  791. package/dist/components/instant-apps-language-translator2.js +3 -3
  792. package/dist/components/instant-apps-popover.js +1 -2
  793. package/dist/components/instant-apps-social-share2.js +5 -2
  794. package/dist/components/instant-apps-splash.js +1 -1
  795. package/dist/components/layer-table2.js +38 -5
  796. package/dist/components/locale3.js +17 -8
  797. package/dist/components/map-card2.js +3 -3
  798. package/dist/components/map-tools2.js +78 -25
  799. package/dist/components/public-notification.js +7 -3
  800. package/dist/components/spatial-ref2.js +9 -4
  801. package/dist/components/styles.js +11 -0
  802. package/dist/components/utils4.js +13 -3
  803. package/dist/esm/basemap-gallery_7.entry.js +74 -24
  804. package/dist/esm/calcite-alert_3.entry.js +10 -1
  805. package/dist/esm/calcite-input-date-picker_3.entry.js +7 -4
  806. package/dist/esm/card-manager_3.entry.js +39 -7
  807. package/dist/esm/crowdsource-manager.entry.js +30 -50
  808. package/dist/esm/{downloadUtils-a4bbdb1d.js → downloadUtils-13579d93.js} +5 -3
  809. package/dist/esm/{index.es-48fdb288.js → index.es-04d2e63e.js} +1 -1
  810. package/dist/esm/instant-apps-ckeditor-wrapper_3.entry.js +150 -67
  811. package/dist/esm/instant-apps-export.entry.js +254 -35
  812. package/dist/esm/instant-apps-header.entry.js +2 -1
  813. package/dist/esm/instant-apps-interactive-legend.entry.js +1 -1
  814. package/dist/esm/instant-apps-keyboard-shortcuts.entry.js +1 -1
  815. package/dist/esm/instant-apps-landing-page.entry.js +22 -8
  816. package/dist/esm/instant-apps-language-switcher.entry.js +2 -2
  817. package/dist/esm/instant-apps-language-translator.entry.js +5 -5
  818. package/dist/esm/instant-apps-measurement.entry.js +1 -1
  819. package/dist/esm/instant-apps-popover.entry.js +2 -3
  820. package/dist/esm/instant-apps-scoreboard.entry.js +1 -1
  821. package/dist/esm/instant-apps-splash.entry.js +2 -2
  822. package/dist/esm/loader.js +1 -1
  823. package/dist/esm/{locale-89b49505.js → locale-c7d9e9aa.js} +17 -8
  824. package/dist/esm/map-select-tools_3.entry.js +1 -1
  825. package/dist/esm/public-notification.entry.js +7 -4
  826. package/dist/esm/solutions-components.js +1 -1
  827. package/dist/esm/spatial-ref.entry.js +8 -4
  828. package/dist/esm/styles-367380b5.js +11 -0
  829. package/dist/esm/{utils-b1bd777e.js → utils-5ec65194.js} +14 -4
  830. package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-export/instant-apps-export.css +11 -0
  831. package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-language-translator/instant-apps-language-translator-item/instant-apps-language-translator-item.css +7 -0
  832. package/dist/solutions-components/demos/assets/t9n/instant-apps-export/resources.json +12 -12
  833. package/dist/solutions-components/demos/assets/t9n/instant-apps-export/resources_ar.json +11 -11
  834. package/dist/solutions-components/demos/assets/t9n/instant-apps-export/resources_bg.json +11 -11
  835. package/dist/solutions-components/demos/assets/t9n/instant-apps-export/resources_bs.json +11 -11
  836. package/dist/solutions-components/demos/assets/t9n/instant-apps-export/resources_ca.json +11 -11
  837. package/dist/solutions-components/demos/assets/t9n/instant-apps-export/resources_cs.json +11 -11
  838. package/dist/solutions-components/demos/assets/t9n/instant-apps-export/resources_da.json +11 -11
  839. package/dist/solutions-components/demos/assets/t9n/instant-apps-export/resources_de.json +11 -11
  840. package/dist/solutions-components/demos/assets/t9n/instant-apps-export/resources_el.json +11 -11
  841. package/dist/solutions-components/demos/assets/t9n/instant-apps-export/resources_en.json +12 -12
  842. package/dist/solutions-components/demos/assets/t9n/instant-apps-export/resources_es.json +11 -11
  843. package/dist/solutions-components/demos/assets/t9n/instant-apps-export/resources_et.json +11 -11
  844. package/dist/solutions-components/demos/assets/t9n/instant-apps-export/resources_fi.json +11 -11
  845. package/dist/solutions-components/demos/assets/t9n/instant-apps-export/resources_fr.json +11 -11
  846. package/dist/solutions-components/demos/assets/t9n/instant-apps-export/resources_he.json +11 -11
  847. package/dist/solutions-components/demos/assets/t9n/instant-apps-export/resources_hr.json +11 -11
  848. package/dist/solutions-components/demos/assets/t9n/instant-apps-export/resources_hu.json +11 -11
  849. package/dist/solutions-components/demos/assets/t9n/instant-apps-export/resources_id.json +11 -11
  850. package/dist/solutions-components/demos/assets/t9n/instant-apps-export/resources_it.json +11 -11
  851. package/dist/solutions-components/demos/assets/t9n/instant-apps-export/resources_ja.json +11 -11
  852. package/dist/solutions-components/demos/assets/t9n/instant-apps-export/resources_ko.json +11 -11
  853. package/dist/solutions-components/demos/assets/t9n/instant-apps-export/resources_lt.json +11 -11
  854. package/dist/solutions-components/demos/assets/t9n/instant-apps-export/resources_lv.json +11 -11
  855. package/dist/solutions-components/demos/assets/t9n/instant-apps-export/resources_nb.json +11 -11
  856. package/dist/solutions-components/demos/assets/t9n/instant-apps-export/resources_nl.json +11 -11
  857. package/dist/solutions-components/demos/assets/t9n/instant-apps-export/resources_pl.json +11 -11
  858. package/dist/solutions-components/demos/assets/t9n/instant-apps-export/resources_pt-BR.json +11 -11
  859. package/dist/solutions-components/demos/assets/t9n/instant-apps-export/resources_pt-PT.json +11 -11
  860. package/dist/solutions-components/demos/assets/t9n/instant-apps-export/resources_ro.json +11 -11
  861. package/dist/solutions-components/demos/assets/t9n/instant-apps-export/resources_ru.json +11 -11
  862. package/dist/solutions-components/demos/assets/t9n/instant-apps-export/resources_sk.json +11 -11
  863. package/dist/solutions-components/demos/assets/t9n/instant-apps-export/resources_sl.json +11 -11
  864. package/dist/solutions-components/demos/assets/t9n/instant-apps-export/resources_sr.json +11 -11
  865. package/dist/solutions-components/demos/assets/t9n/instant-apps-export/resources_sv.json +11 -11
  866. package/dist/solutions-components/demos/assets/t9n/instant-apps-export/resources_th.json +11 -11
  867. package/dist/solutions-components/demos/assets/t9n/instant-apps-export/resources_tr.json +11 -11
  868. package/dist/solutions-components/demos/assets/t9n/instant-apps-export/resources_uk.json +11 -11
  869. package/dist/solutions-components/demos/assets/t9n/instant-apps-export/resources_vi.json +11 -11
  870. package/dist/solutions-components/demos/assets/t9n/instant-apps-export/resources_zh-CN.json +11 -11
  871. package/dist/solutions-components/demos/assets/t9n/instant-apps-export/resources_zh-HK.json +11 -11
  872. package/dist/solutions-components/demos/assets/t9n/instant-apps-export/resources_zh-TW.json +11 -11
  873. package/dist/solutions-components/demos/assets/t9n/instant-apps-filter-list/resources.json +16 -16
  874. package/dist/solutions-components/demos/assets/t9n/instant-apps-filter-list/resources_ar.json +16 -16
  875. package/dist/solutions-components/demos/assets/t9n/instant-apps-filter-list/resources_bg.json +16 -16
  876. package/dist/solutions-components/demos/assets/t9n/instant-apps-filter-list/resources_bs.json +16 -16
  877. package/dist/solutions-components/demos/assets/t9n/instant-apps-filter-list/resources_ca.json +16 -16
  878. package/dist/solutions-components/demos/assets/t9n/instant-apps-filter-list/resources_cs.json +16 -16
  879. package/dist/solutions-components/demos/assets/t9n/instant-apps-filter-list/resources_da.json +16 -16
  880. package/dist/solutions-components/demos/assets/t9n/instant-apps-filter-list/resources_de.json +16 -16
  881. package/dist/solutions-components/demos/assets/t9n/instant-apps-filter-list/resources_el.json +16 -16
  882. package/dist/solutions-components/demos/assets/t9n/instant-apps-filter-list/resources_en.json +16 -16
  883. package/dist/solutions-components/demos/assets/t9n/instant-apps-filter-list/resources_es.json +16 -16
  884. package/dist/solutions-components/demos/assets/t9n/instant-apps-filter-list/resources_et.json +16 -16
  885. package/dist/solutions-components/demos/assets/t9n/instant-apps-filter-list/resources_fi.json +16 -16
  886. package/dist/solutions-components/demos/assets/t9n/instant-apps-filter-list/resources_fr.json +16 -16
  887. package/dist/solutions-components/demos/assets/t9n/instant-apps-filter-list/resources_he.json +16 -16
  888. package/dist/solutions-components/demos/assets/t9n/instant-apps-filter-list/resources_hr.json +16 -16
  889. package/dist/solutions-components/demos/assets/t9n/instant-apps-filter-list/resources_hu.json +16 -16
  890. package/dist/solutions-components/demos/assets/t9n/instant-apps-filter-list/resources_id.json +16 -16
  891. package/dist/solutions-components/demos/assets/t9n/instant-apps-filter-list/resources_it.json +16 -16
  892. package/dist/solutions-components/demos/assets/t9n/instant-apps-filter-list/resources_ja.json +16 -16
  893. package/dist/solutions-components/demos/assets/t9n/instant-apps-filter-list/resources_ko.json +16 -16
  894. package/dist/solutions-components/demos/assets/t9n/instant-apps-filter-list/resources_lt.json +16 -16
  895. package/dist/solutions-components/demos/assets/t9n/instant-apps-filter-list/resources_lv.json +16 -16
  896. package/dist/solutions-components/demos/assets/t9n/instant-apps-filter-list/resources_nb.json +16 -16
  897. package/dist/solutions-components/demos/assets/t9n/instant-apps-filter-list/resources_nl.json +16 -16
  898. package/dist/solutions-components/demos/assets/t9n/instant-apps-filter-list/resources_pl.json +16 -16
  899. package/dist/solutions-components/demos/assets/t9n/instant-apps-filter-list/resources_pt-BR.json +16 -16
  900. package/dist/solutions-components/demos/assets/t9n/instant-apps-filter-list/resources_pt-PT.json +16 -16
  901. package/dist/solutions-components/demos/assets/t9n/instant-apps-filter-list/resources_ro.json +16 -16
  902. package/dist/solutions-components/demos/assets/t9n/instant-apps-filter-list/resources_ru.json +16 -16
  903. package/dist/solutions-components/demos/assets/t9n/instant-apps-filter-list/resources_sk.json +16 -16
  904. package/dist/solutions-components/demos/assets/t9n/instant-apps-filter-list/resources_sl.json +16 -16
  905. package/dist/solutions-components/demos/assets/t9n/instant-apps-filter-list/resources_sr.json +16 -16
  906. package/dist/solutions-components/demos/assets/t9n/instant-apps-filter-list/resources_sv.json +16 -16
  907. package/dist/solutions-components/demos/assets/t9n/instant-apps-filter-list/resources_th.json +16 -16
  908. package/dist/solutions-components/demos/assets/t9n/instant-apps-filter-list/resources_tr.json +16 -16
  909. package/dist/solutions-components/demos/assets/t9n/instant-apps-filter-list/resources_uk.json +16 -16
  910. package/dist/solutions-components/demos/assets/t9n/instant-apps-filter-list/resources_vi.json +16 -16
  911. package/dist/solutions-components/demos/assets/t9n/instant-apps-filter-list/resources_zh-CN.json +16 -16
  912. package/dist/solutions-components/demos/assets/t9n/instant-apps-filter-list/resources_zh-HK.json +16 -16
  913. package/dist/solutions-components/demos/assets/t9n/instant-apps-filter-list/resources_zh-TW.json +16 -16
  914. package/dist/solutions-components/demos/assets/t9n/instant-apps-interactive-legend/resources.json +15 -15
  915. package/dist/solutions-components/demos/assets/t9n/instant-apps-interactive-legend/resources_ar.json +15 -15
  916. package/dist/solutions-components/demos/assets/t9n/instant-apps-interactive-legend/resources_bg.json +15 -15
  917. package/dist/solutions-components/demos/assets/t9n/instant-apps-interactive-legend/resources_bs.json +15 -15
  918. package/dist/solutions-components/demos/assets/t9n/instant-apps-interactive-legend/resources_ca.json +15 -15
  919. package/dist/solutions-components/demos/assets/t9n/instant-apps-interactive-legend/resources_cs.json +15 -15
  920. package/dist/solutions-components/demos/assets/t9n/instant-apps-interactive-legend/resources_da.json +15 -15
  921. package/dist/solutions-components/demos/assets/t9n/instant-apps-interactive-legend/resources_de.json +15 -15
  922. package/dist/solutions-components/demos/assets/t9n/instant-apps-interactive-legend/resources_el.json +15 -15
  923. package/dist/solutions-components/demos/assets/t9n/instant-apps-interactive-legend/resources_en.json +15 -15
  924. package/dist/solutions-components/demos/assets/t9n/instant-apps-interactive-legend/resources_es.json +15 -15
  925. package/dist/solutions-components/demos/assets/t9n/instant-apps-interactive-legend/resources_et.json +15 -15
  926. package/dist/solutions-components/demos/assets/t9n/instant-apps-interactive-legend/resources_fi.json +15 -15
  927. package/dist/solutions-components/demos/assets/t9n/instant-apps-interactive-legend/resources_fr.json +15 -15
  928. package/dist/solutions-components/demos/assets/t9n/instant-apps-interactive-legend/resources_he.json +15 -15
  929. package/dist/solutions-components/demos/assets/t9n/instant-apps-interactive-legend/resources_hr.json +15 -15
  930. package/dist/solutions-components/demos/assets/t9n/instant-apps-interactive-legend/resources_hu.json +15 -15
  931. package/dist/solutions-components/demos/assets/t9n/instant-apps-interactive-legend/resources_id.json +15 -15
  932. package/dist/solutions-components/demos/assets/t9n/instant-apps-interactive-legend/resources_it.json +15 -15
  933. package/dist/solutions-components/demos/assets/t9n/instant-apps-interactive-legend/resources_ja.json +15 -15
  934. package/dist/solutions-components/demos/assets/t9n/instant-apps-interactive-legend/resources_ko.json +15 -15
  935. package/dist/solutions-components/demos/assets/t9n/instant-apps-interactive-legend/resources_lt.json +15 -15
  936. package/dist/solutions-components/demos/assets/t9n/instant-apps-interactive-legend/resources_lv.json +15 -15
  937. package/dist/solutions-components/demos/assets/t9n/instant-apps-interactive-legend/resources_nb.json +15 -15
  938. package/dist/solutions-components/demos/assets/t9n/instant-apps-interactive-legend/resources_nl.json +15 -15
  939. package/dist/solutions-components/demos/assets/t9n/instant-apps-interactive-legend/resources_pl.json +15 -15
  940. package/dist/solutions-components/demos/assets/t9n/instant-apps-interactive-legend/resources_pt-BR.json +15 -15
  941. package/dist/solutions-components/demos/assets/t9n/instant-apps-interactive-legend/resources_pt-PT.json +15 -15
  942. package/dist/solutions-components/demos/assets/t9n/instant-apps-interactive-legend/resources_ro.json +15 -15
  943. package/dist/solutions-components/demos/assets/t9n/instant-apps-interactive-legend/resources_ru.json +15 -15
  944. package/dist/solutions-components/demos/assets/t9n/instant-apps-interactive-legend/resources_sk.json +15 -15
  945. package/dist/solutions-components/demos/assets/t9n/instant-apps-interactive-legend/resources_sl.json +15 -15
  946. package/dist/solutions-components/demos/assets/t9n/instant-apps-interactive-legend/resources_sr.json +15 -15
  947. package/dist/solutions-components/demos/assets/t9n/instant-apps-interactive-legend/resources_sv.json +15 -15
  948. package/dist/solutions-components/demos/assets/t9n/instant-apps-interactive-legend/resources_th.json +15 -15
  949. package/dist/solutions-components/demos/assets/t9n/instant-apps-interactive-legend/resources_tr.json +15 -15
  950. package/dist/solutions-components/demos/assets/t9n/instant-apps-interactive-legend/resources_uk.json +15 -15
  951. package/dist/solutions-components/demos/assets/t9n/instant-apps-interactive-legend/resources_vi.json +15 -15
  952. package/dist/solutions-components/demos/assets/t9n/instant-apps-interactive-legend/resources_zh-CN.json +15 -15
  953. package/dist/solutions-components/demos/assets/t9n/instant-apps-interactive-legend/resources_zh-HK.json +15 -15
  954. package/dist/solutions-components/demos/assets/t9n/instant-apps-interactive-legend/resources_zh-TW.json +15 -15
  955. package/dist/solutions-components/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources.json +30 -30
  956. package/dist/solutions-components/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_ar.json +30 -30
  957. package/dist/solutions-components/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_bg.json +30 -30
  958. package/dist/solutions-components/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_bs.json +30 -30
  959. package/dist/solutions-components/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_ca.json +30 -30
  960. package/dist/solutions-components/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_cs.json +30 -30
  961. package/dist/solutions-components/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_da.json +30 -30
  962. package/dist/solutions-components/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_de.json +30 -30
  963. package/dist/solutions-components/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_el.json +30 -30
  964. package/dist/solutions-components/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_en.json +30 -30
  965. package/dist/solutions-components/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_es.json +30 -30
  966. package/dist/solutions-components/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_et.json +30 -30
  967. package/dist/solutions-components/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_fi.json +30 -30
  968. package/dist/solutions-components/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_fr.json +30 -30
  969. package/dist/solutions-components/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_he.json +30 -30
  970. package/dist/solutions-components/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_hr.json +30 -30
  971. package/dist/solutions-components/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_hu.json +30 -30
  972. package/dist/solutions-components/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_id.json +30 -30
  973. package/dist/solutions-components/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_it.json +30 -30
  974. package/dist/solutions-components/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_ja.json +30 -30
  975. package/dist/solutions-components/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_ko.json +30 -30
  976. package/dist/solutions-components/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_lt.json +30 -30
  977. package/dist/solutions-components/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_lv.json +30 -30
  978. package/dist/solutions-components/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_nb.json +30 -30
  979. package/dist/solutions-components/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_nl.json +30 -30
  980. package/dist/solutions-components/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_pl.json +30 -30
  981. package/dist/solutions-components/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_pt-BR.json +30 -30
  982. package/dist/solutions-components/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_pt-PT.json +30 -30
  983. package/dist/solutions-components/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_ro.json +30 -30
  984. package/dist/solutions-components/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_ru.json +30 -30
  985. package/dist/solutions-components/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_sk.json +30 -30
  986. package/dist/solutions-components/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_sl.json +30 -30
  987. package/dist/solutions-components/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_sr.json +30 -30
  988. package/dist/solutions-components/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_sv.json +30 -30
  989. package/dist/solutions-components/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_th.json +30 -30
  990. package/dist/solutions-components/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_tr.json +30 -30
  991. package/dist/solutions-components/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_uk.json +30 -30
  992. package/dist/solutions-components/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_vi.json +30 -30
  993. package/dist/solutions-components/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_zh-CN.json +30 -30
  994. package/dist/solutions-components/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_zh-HK.json +30 -30
  995. package/dist/solutions-components/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_zh-TW.json +30 -30
  996. package/dist/solutions-components/demos/assets/t9n/instant-apps-language-translator/resources.json +102 -102
  997. package/dist/solutions-components/demos/assets/t9n/instant-apps-language-translator/resources_ar.json +102 -102
  998. package/dist/solutions-components/demos/assets/t9n/instant-apps-language-translator/resources_bg.json +102 -102
  999. package/dist/solutions-components/demos/assets/t9n/instant-apps-language-translator/resources_bs.json +102 -102
  1000. package/dist/solutions-components/demos/assets/t9n/instant-apps-language-translator/resources_ca.json +102 -102
  1001. package/dist/solutions-components/demos/assets/t9n/instant-apps-language-translator/resources_cs.json +102 -102
  1002. package/dist/solutions-components/demos/assets/t9n/instant-apps-language-translator/resources_da.json +102 -102
  1003. package/dist/solutions-components/demos/assets/t9n/instant-apps-language-translator/resources_de.json +102 -102
  1004. package/dist/solutions-components/demos/assets/t9n/instant-apps-language-translator/resources_el.json +102 -102
  1005. package/dist/solutions-components/demos/assets/t9n/instant-apps-language-translator/resources_en.json +102 -102
  1006. package/dist/solutions-components/demos/assets/t9n/instant-apps-language-translator/resources_es.json +102 -102
  1007. package/dist/solutions-components/demos/assets/t9n/instant-apps-language-translator/resources_et.json +102 -102
  1008. package/dist/solutions-components/demos/assets/t9n/instant-apps-language-translator/resources_fi.json +102 -102
  1009. package/dist/solutions-components/demos/assets/t9n/instant-apps-language-translator/resources_fr.json +102 -102
  1010. package/dist/solutions-components/demos/assets/t9n/instant-apps-language-translator/resources_he.json +102 -102
  1011. package/dist/solutions-components/demos/assets/t9n/instant-apps-language-translator/resources_hr.json +102 -102
  1012. package/dist/solutions-components/demos/assets/t9n/instant-apps-language-translator/resources_hu.json +102 -102
  1013. package/dist/solutions-components/demos/assets/t9n/instant-apps-language-translator/resources_id.json +102 -102
  1014. package/dist/solutions-components/demos/assets/t9n/instant-apps-language-translator/resources_it.json +102 -102
  1015. package/dist/solutions-components/demos/assets/t9n/instant-apps-language-translator/resources_ja.json +102 -102
  1016. package/dist/solutions-components/demos/assets/t9n/instant-apps-language-translator/resources_ko.json +102 -102
  1017. package/dist/solutions-components/demos/assets/t9n/instant-apps-language-translator/resources_lt.json +102 -102
  1018. package/dist/solutions-components/demos/assets/t9n/instant-apps-language-translator/resources_lv.json +102 -102
  1019. package/dist/solutions-components/demos/assets/t9n/instant-apps-language-translator/resources_nb.json +102 -102
  1020. package/dist/solutions-components/demos/assets/t9n/instant-apps-language-translator/resources_nl.json +102 -102
  1021. package/dist/solutions-components/demos/assets/t9n/instant-apps-language-translator/resources_pl.json +102 -102
  1022. package/dist/solutions-components/demos/assets/t9n/instant-apps-language-translator/resources_pt-BR.json +102 -102
  1023. package/dist/solutions-components/demos/assets/t9n/instant-apps-language-translator/resources_pt-PT.json +102 -102
  1024. package/dist/solutions-components/demos/assets/t9n/instant-apps-language-translator/resources_ro.json +102 -102
  1025. package/dist/solutions-components/demos/assets/t9n/instant-apps-language-translator/resources_ru.json +102 -102
  1026. package/dist/solutions-components/demos/assets/t9n/instant-apps-language-translator/resources_sk.json +102 -102
  1027. package/dist/solutions-components/demos/assets/t9n/instant-apps-language-translator/resources_sl.json +102 -102
  1028. package/dist/solutions-components/demos/assets/t9n/instant-apps-language-translator/resources_sr.json +102 -102
  1029. package/dist/solutions-components/demos/assets/t9n/instant-apps-language-translator/resources_sv.json +102 -102
  1030. package/dist/solutions-components/demos/assets/t9n/instant-apps-language-translator/resources_th.json +102 -102
  1031. package/dist/solutions-components/demos/assets/t9n/instant-apps-language-translator/resources_tr.json +102 -102
  1032. package/dist/solutions-components/demos/assets/t9n/instant-apps-language-translator/resources_uk.json +102 -102
  1033. package/dist/solutions-components/demos/assets/t9n/instant-apps-language-translator/resources_vi.json +102 -102
  1034. package/dist/solutions-components/demos/assets/t9n/instant-apps-language-translator/resources_zh-CN.json +102 -102
  1035. package/dist/solutions-components/demos/assets/t9n/instant-apps-language-translator/resources_zh-HK.json +102 -102
  1036. package/dist/solutions-components/demos/assets/t9n/instant-apps-language-translator/resources_zh-TW.json +102 -102
  1037. package/dist/solutions-components/demos/assets/t9n/instant-apps-measurement/resources.json +6 -6
  1038. package/dist/solutions-components/demos/assets/t9n/instant-apps-measurement/resources_ar.json +6 -6
  1039. package/dist/solutions-components/demos/assets/t9n/instant-apps-measurement/resources_bg.json +6 -6
  1040. package/dist/solutions-components/demos/assets/t9n/instant-apps-measurement/resources_bs.json +6 -6
  1041. package/dist/solutions-components/demos/assets/t9n/instant-apps-measurement/resources_ca.json +6 -6
  1042. package/dist/solutions-components/demos/assets/t9n/instant-apps-measurement/resources_cs.json +6 -6
  1043. package/dist/solutions-components/demos/assets/t9n/instant-apps-measurement/resources_da.json +6 -6
  1044. package/dist/solutions-components/demos/assets/t9n/instant-apps-measurement/resources_de.json +6 -6
  1045. package/dist/solutions-components/demos/assets/t9n/instant-apps-measurement/resources_el.json +6 -6
  1046. package/dist/solutions-components/demos/assets/t9n/instant-apps-measurement/resources_en.json +6 -6
  1047. package/dist/solutions-components/demos/assets/t9n/instant-apps-measurement/resources_es.json +6 -6
  1048. package/dist/solutions-components/demos/assets/t9n/instant-apps-measurement/resources_et.json +6 -6
  1049. package/dist/solutions-components/demos/assets/t9n/instant-apps-measurement/resources_fi.json +6 -6
  1050. package/dist/solutions-components/demos/assets/t9n/instant-apps-measurement/resources_fr.json +6 -6
  1051. package/dist/solutions-components/demos/assets/t9n/instant-apps-measurement/resources_he.json +6 -6
  1052. package/dist/solutions-components/demos/assets/t9n/instant-apps-measurement/resources_hr.json +6 -6
  1053. package/dist/solutions-components/demos/assets/t9n/instant-apps-measurement/resources_hu.json +6 -6
  1054. package/dist/solutions-components/demos/assets/t9n/instant-apps-measurement/resources_id.json +6 -6
  1055. package/dist/solutions-components/demos/assets/t9n/instant-apps-measurement/resources_it.json +6 -6
  1056. package/dist/solutions-components/demos/assets/t9n/instant-apps-measurement/resources_ja.json +6 -6
  1057. package/dist/solutions-components/demos/assets/t9n/instant-apps-measurement/resources_ko.json +6 -6
  1058. package/dist/solutions-components/demos/assets/t9n/instant-apps-measurement/resources_lt.json +6 -6
  1059. package/dist/solutions-components/demos/assets/t9n/instant-apps-measurement/resources_lv.json +6 -6
  1060. package/dist/solutions-components/demos/assets/t9n/instant-apps-measurement/resources_nb.json +6 -6
  1061. package/dist/solutions-components/demos/assets/t9n/instant-apps-measurement/resources_nl.json +6 -6
  1062. package/dist/solutions-components/demos/assets/t9n/instant-apps-measurement/resources_pl.json +6 -6
  1063. package/dist/solutions-components/demos/assets/t9n/instant-apps-measurement/resources_pt-BR.json +6 -6
  1064. package/dist/solutions-components/demos/assets/t9n/instant-apps-measurement/resources_pt-PT.json +6 -6
  1065. package/dist/solutions-components/demos/assets/t9n/instant-apps-measurement/resources_ro.json +6 -6
  1066. package/dist/solutions-components/demos/assets/t9n/instant-apps-measurement/resources_ru.json +6 -6
  1067. package/dist/solutions-components/demos/assets/t9n/instant-apps-measurement/resources_sk.json +6 -6
  1068. package/dist/solutions-components/demos/assets/t9n/instant-apps-measurement/resources_sl.json +6 -6
  1069. package/dist/solutions-components/demos/assets/t9n/instant-apps-measurement/resources_sr.json +6 -6
  1070. package/dist/solutions-components/demos/assets/t9n/instant-apps-measurement/resources_sv.json +6 -6
  1071. package/dist/solutions-components/demos/assets/t9n/instant-apps-measurement/resources_th.json +6 -6
  1072. package/dist/solutions-components/demos/assets/t9n/instant-apps-measurement/resources_tr.json +6 -6
  1073. package/dist/solutions-components/demos/assets/t9n/instant-apps-measurement/resources_uk.json +6 -6
  1074. package/dist/solutions-components/demos/assets/t9n/instant-apps-measurement/resources_vi.json +6 -6
  1075. package/dist/solutions-components/demos/assets/t9n/instant-apps-measurement/resources_zh-CN.json +6 -6
  1076. package/dist/solutions-components/demos/assets/t9n/instant-apps-measurement/resources_zh-HK.json +6 -6
  1077. package/dist/solutions-components/demos/assets/t9n/instant-apps-measurement/resources_zh-TW.json +6 -6
  1078. package/dist/solutions-components/demos/assets/t9n/instant-apps-popover/resources.json +7 -7
  1079. package/dist/solutions-components/demos/assets/t9n/instant-apps-popover/resources_ar.json +5 -5
  1080. package/dist/solutions-components/demos/assets/t9n/instant-apps-popover/resources_bg.json +5 -5
  1081. package/dist/solutions-components/demos/assets/t9n/instant-apps-popover/resources_bs.json +5 -5
  1082. package/dist/solutions-components/demos/assets/t9n/instant-apps-popover/resources_ca.json +5 -5
  1083. package/dist/solutions-components/demos/assets/t9n/instant-apps-popover/resources_cs.json +5 -5
  1084. package/dist/solutions-components/demos/assets/t9n/instant-apps-popover/resources_da.json +5 -5
  1085. package/dist/solutions-components/demos/assets/t9n/instant-apps-popover/resources_de.json +5 -5
  1086. package/dist/solutions-components/demos/assets/t9n/instant-apps-popover/resources_el.json +5 -5
  1087. package/dist/solutions-components/demos/assets/t9n/instant-apps-popover/resources_en.json +7 -7
  1088. package/dist/solutions-components/demos/assets/t9n/instant-apps-popover/resources_es.json +5 -5
  1089. package/dist/solutions-components/demos/assets/t9n/instant-apps-popover/resources_et.json +5 -5
  1090. package/dist/solutions-components/demos/assets/t9n/instant-apps-popover/resources_fi.json +5 -5
  1091. package/dist/solutions-components/demos/assets/t9n/instant-apps-popover/resources_fr.json +5 -5
  1092. package/dist/solutions-components/demos/assets/t9n/instant-apps-popover/resources_he.json +5 -5
  1093. package/dist/solutions-components/demos/assets/t9n/instant-apps-popover/resources_hr.json +5 -5
  1094. package/dist/solutions-components/demos/assets/t9n/instant-apps-popover/resources_hu.json +5 -5
  1095. package/dist/solutions-components/demos/assets/t9n/instant-apps-popover/resources_id.json +5 -5
  1096. package/dist/solutions-components/demos/assets/t9n/instant-apps-popover/resources_it.json +5 -5
  1097. package/dist/solutions-components/demos/assets/t9n/instant-apps-popover/resources_ja.json +5 -5
  1098. package/dist/solutions-components/demos/assets/t9n/instant-apps-popover/resources_ko.json +5 -5
  1099. package/dist/solutions-components/demos/assets/t9n/instant-apps-popover/resources_lt.json +5 -5
  1100. package/dist/solutions-components/demos/assets/t9n/instant-apps-popover/resources_lv.json +5 -5
  1101. package/dist/solutions-components/demos/assets/t9n/instant-apps-popover/resources_nb.json +5 -5
  1102. package/dist/solutions-components/demos/assets/t9n/instant-apps-popover/resources_nl.json +5 -5
  1103. package/dist/solutions-components/demos/assets/t9n/instant-apps-popover/resources_pl.json +5 -5
  1104. package/dist/solutions-components/demos/assets/t9n/instant-apps-popover/resources_pt-BR.json +5 -5
  1105. package/dist/solutions-components/demos/assets/t9n/instant-apps-popover/resources_pt-PT.json +5 -5
  1106. package/dist/solutions-components/demos/assets/t9n/instant-apps-popover/resources_ro.json +5 -5
  1107. package/dist/solutions-components/demos/assets/t9n/instant-apps-popover/resources_ru.json +5 -5
  1108. package/dist/solutions-components/demos/assets/t9n/instant-apps-popover/resources_sk.json +5 -5
  1109. package/dist/solutions-components/demos/assets/t9n/instant-apps-popover/resources_sl.json +5 -5
  1110. package/dist/solutions-components/demos/assets/t9n/instant-apps-popover/resources_sr.json +5 -5
  1111. package/dist/solutions-components/demos/assets/t9n/instant-apps-popover/resources_sv.json +5 -5
  1112. package/dist/solutions-components/demos/assets/t9n/instant-apps-popover/resources_th.json +5 -5
  1113. package/dist/solutions-components/demos/assets/t9n/instant-apps-popover/resources_tr.json +5 -5
  1114. package/dist/solutions-components/demos/assets/t9n/instant-apps-popover/resources_uk.json +5 -5
  1115. package/dist/solutions-components/demos/assets/t9n/instant-apps-popover/resources_vi.json +5 -5
  1116. package/dist/solutions-components/demos/assets/t9n/instant-apps-popover/resources_zh-CN.json +5 -5
  1117. package/dist/solutions-components/demos/assets/t9n/instant-apps-popover/resources_zh-HK.json +5 -5
  1118. package/dist/solutions-components/demos/assets/t9n/instant-apps-popover/resources_zh-TW.json +5 -5
  1119. package/dist/solutions-components/demos/assets/t9n/instant-apps-scoreboard/resources.json +6 -6
  1120. package/dist/solutions-components/demos/assets/t9n/instant-apps-scoreboard/resources_ar.json +6 -6
  1121. package/dist/solutions-components/demos/assets/t9n/instant-apps-scoreboard/resources_bg.json +6 -6
  1122. package/dist/solutions-components/demos/assets/t9n/instant-apps-scoreboard/resources_bs.json +6 -6
  1123. package/dist/solutions-components/demos/assets/t9n/instant-apps-scoreboard/resources_ca.json +6 -6
  1124. package/dist/solutions-components/demos/assets/t9n/instant-apps-scoreboard/resources_cs.json +6 -6
  1125. package/dist/solutions-components/demos/assets/t9n/instant-apps-scoreboard/resources_da.json +6 -6
  1126. package/dist/solutions-components/demos/assets/t9n/instant-apps-scoreboard/resources_de.json +6 -6
  1127. package/dist/solutions-components/demos/assets/t9n/instant-apps-scoreboard/resources_el.json +6 -6
  1128. package/dist/solutions-components/demos/assets/t9n/instant-apps-scoreboard/resources_en.json +6 -6
  1129. package/dist/solutions-components/demos/assets/t9n/instant-apps-scoreboard/resources_es.json +6 -6
  1130. package/dist/solutions-components/demos/assets/t9n/instant-apps-scoreboard/resources_et.json +6 -6
  1131. package/dist/solutions-components/demos/assets/t9n/instant-apps-scoreboard/resources_fi.json +6 -6
  1132. package/dist/solutions-components/demos/assets/t9n/instant-apps-scoreboard/resources_fr.json +6 -6
  1133. package/dist/solutions-components/demos/assets/t9n/instant-apps-scoreboard/resources_he.json +6 -6
  1134. package/dist/solutions-components/demos/assets/t9n/instant-apps-scoreboard/resources_hr.json +6 -6
  1135. package/dist/solutions-components/demos/assets/t9n/instant-apps-scoreboard/resources_hu.json +6 -6
  1136. package/dist/solutions-components/demos/assets/t9n/instant-apps-scoreboard/resources_id.json +6 -6
  1137. package/dist/solutions-components/demos/assets/t9n/instant-apps-scoreboard/resources_it.json +6 -6
  1138. package/dist/solutions-components/demos/assets/t9n/instant-apps-scoreboard/resources_ja.json +6 -6
  1139. package/dist/solutions-components/demos/assets/t9n/instant-apps-scoreboard/resources_ko.json +6 -6
  1140. package/dist/solutions-components/demos/assets/t9n/instant-apps-scoreboard/resources_lt.json +6 -6
  1141. package/dist/solutions-components/demos/assets/t9n/instant-apps-scoreboard/resources_lv.json +6 -6
  1142. package/dist/solutions-components/demos/assets/t9n/instant-apps-scoreboard/resources_nb.json +6 -6
  1143. package/dist/solutions-components/demos/assets/t9n/instant-apps-scoreboard/resources_nl.json +6 -6
  1144. package/dist/solutions-components/demos/assets/t9n/instant-apps-scoreboard/resources_pl.json +6 -6
  1145. package/dist/solutions-components/demos/assets/t9n/instant-apps-scoreboard/resources_pt-BR.json +6 -6
  1146. package/dist/solutions-components/demos/assets/t9n/instant-apps-scoreboard/resources_pt-PT.json +6 -6
  1147. package/dist/solutions-components/demos/assets/t9n/instant-apps-scoreboard/resources_ro.json +6 -6
  1148. package/dist/solutions-components/demos/assets/t9n/instant-apps-scoreboard/resources_ru.json +6 -6
  1149. package/dist/solutions-components/demos/assets/t9n/instant-apps-scoreboard/resources_sk.json +6 -6
  1150. package/dist/solutions-components/demos/assets/t9n/instant-apps-scoreboard/resources_sl.json +6 -6
  1151. package/dist/solutions-components/demos/assets/t9n/instant-apps-scoreboard/resources_sr.json +6 -6
  1152. package/dist/solutions-components/demos/assets/t9n/instant-apps-scoreboard/resources_sv.json +6 -6
  1153. package/dist/solutions-components/demos/assets/t9n/instant-apps-scoreboard/resources_th.json +6 -6
  1154. package/dist/solutions-components/demos/assets/t9n/instant-apps-scoreboard/resources_tr.json +6 -6
  1155. package/dist/solutions-components/demos/assets/t9n/instant-apps-scoreboard/resources_uk.json +6 -6
  1156. package/dist/solutions-components/demos/assets/t9n/instant-apps-scoreboard/resources_vi.json +6 -6
  1157. package/dist/solutions-components/demos/assets/t9n/instant-apps-scoreboard/resources_zh-CN.json +6 -6
  1158. package/dist/solutions-components/demos/assets/t9n/instant-apps-scoreboard/resources_zh-HK.json +6 -6
  1159. package/dist/solutions-components/demos/assets/t9n/instant-apps-scoreboard/resources_zh-TW.json +6 -6
  1160. package/dist/solutions-components/demos/assets/t9n/instant-apps-social-share/resources.json +38 -38
  1161. package/dist/solutions-components/demos/assets/t9n/instant-apps-social-share/resources_ar.json +37 -37
  1162. package/dist/solutions-components/demos/assets/t9n/instant-apps-social-share/resources_bg.json +37 -37
  1163. package/dist/solutions-components/demos/assets/t9n/instant-apps-social-share/resources_bs.json +37 -37
  1164. package/dist/solutions-components/demos/assets/t9n/instant-apps-social-share/resources_ca.json +37 -37
  1165. package/dist/solutions-components/demos/assets/t9n/instant-apps-social-share/resources_cs.json +37 -37
  1166. package/dist/solutions-components/demos/assets/t9n/instant-apps-social-share/resources_da.json +37 -37
  1167. package/dist/solutions-components/demos/assets/t9n/instant-apps-social-share/resources_de.json +37 -37
  1168. package/dist/solutions-components/demos/assets/t9n/instant-apps-social-share/resources_el.json +37 -37
  1169. package/dist/solutions-components/demos/assets/t9n/instant-apps-social-share/resources_en.json +38 -38
  1170. package/dist/solutions-components/demos/assets/t9n/instant-apps-social-share/resources_es.json +37 -37
  1171. package/dist/solutions-components/demos/assets/t9n/instant-apps-social-share/resources_et.json +37 -37
  1172. package/dist/solutions-components/demos/assets/t9n/instant-apps-social-share/resources_fi.json +37 -37
  1173. package/dist/solutions-components/demos/assets/t9n/instant-apps-social-share/resources_fr.json +37 -37
  1174. package/dist/solutions-components/demos/assets/t9n/instant-apps-social-share/resources_he.json +37 -37
  1175. package/dist/solutions-components/demos/assets/t9n/instant-apps-social-share/resources_hr.json +37 -37
  1176. package/dist/solutions-components/demos/assets/t9n/instant-apps-social-share/resources_hu.json +37 -37
  1177. package/dist/solutions-components/demos/assets/t9n/instant-apps-social-share/resources_id.json +37 -37
  1178. package/dist/solutions-components/demos/assets/t9n/instant-apps-social-share/resources_it.json +37 -37
  1179. package/dist/solutions-components/demos/assets/t9n/instant-apps-social-share/resources_ja.json +37 -37
  1180. package/dist/solutions-components/demos/assets/t9n/instant-apps-social-share/resources_ko.json +37 -37
  1181. package/dist/solutions-components/demos/assets/t9n/instant-apps-social-share/resources_lt.json +37 -37
  1182. package/dist/solutions-components/demos/assets/t9n/instant-apps-social-share/resources_lv.json +37 -37
  1183. package/dist/solutions-components/demos/assets/t9n/instant-apps-social-share/resources_nb.json +37 -37
  1184. package/dist/solutions-components/demos/assets/t9n/instant-apps-social-share/resources_nl.json +37 -37
  1185. package/dist/solutions-components/demos/assets/t9n/instant-apps-social-share/resources_pl.json +37 -37
  1186. package/dist/solutions-components/demos/assets/t9n/instant-apps-social-share/resources_pt-BR.json +37 -37
  1187. package/dist/solutions-components/demos/assets/t9n/instant-apps-social-share/resources_pt-PT.json +37 -37
  1188. package/dist/solutions-components/demos/assets/t9n/instant-apps-social-share/resources_ro.json +37 -37
  1189. package/dist/solutions-components/demos/assets/t9n/instant-apps-social-share/resources_ru.json +37 -37
  1190. package/dist/solutions-components/demos/assets/t9n/instant-apps-social-share/resources_sk.json +37 -37
  1191. package/dist/solutions-components/demos/assets/t9n/instant-apps-social-share/resources_sl.json +37 -37
  1192. package/dist/solutions-components/demos/assets/t9n/instant-apps-social-share/resources_sr.json +37 -37
  1193. package/dist/solutions-components/demos/assets/t9n/instant-apps-social-share/resources_sv.json +37 -37
  1194. package/dist/solutions-components/demos/assets/t9n/instant-apps-social-share/resources_th.json +37 -37
  1195. package/dist/solutions-components/demos/assets/t9n/instant-apps-social-share/resources_tr.json +37 -37
  1196. package/dist/solutions-components/demos/assets/t9n/instant-apps-social-share/resources_uk.json +37 -37
  1197. package/dist/solutions-components/demos/assets/t9n/instant-apps-social-share/resources_vi.json +37 -37
  1198. package/dist/solutions-components/demos/assets/t9n/instant-apps-social-share/resources_zh-CN.json +37 -37
  1199. package/dist/solutions-components/demos/assets/t9n/instant-apps-social-share/resources_zh-HK.json +37 -37
  1200. package/dist/solutions-components/demos/assets/t9n/instant-apps-social-share/resources_zh-TW.json +37 -37
  1201. package/dist/solutions-components/demos/assets/t9n/instant-apps-splash/resources.json +2 -2
  1202. package/dist/solutions-components/demos/assets/t9n/instant-apps-splash/resources_en.json +2 -2
  1203. package/dist/solutions-components/demos/crowdsource-manager.html +1 -7
  1204. package/dist/solutions-components/p-02fad071.entry.js +6 -0
  1205. package/dist/solutions-components/{p-14097810.entry.js → p-08bde7db.entry.js} +1 -1
  1206. package/dist/solutions-components/p-0f156577.entry.js +6 -0
  1207. package/dist/solutions-components/{p-4ee789e1.entry.js → p-16df3a9e.entry.js} +1 -1
  1208. package/dist/solutions-components/{p-b1422b00.entry.js → p-24286e8c.entry.js} +1 -1
  1209. package/dist/solutions-components/p-3ca39d08.entry.js +6 -0
  1210. package/dist/solutions-components/p-3cf20613.entry.js +17 -0
  1211. package/dist/solutions-components/p-5302f406.entry.js +6 -0
  1212. package/dist/solutions-components/{p-3ea18af7.entry.js → p-668c9fd9.entry.js} +1 -1
  1213. package/dist/solutions-components/{p-789f606f.entry.js → p-67b9b58f.entry.js} +1 -1
  1214. package/dist/solutions-components/{p-33f07da5.entry.js → p-704da348.entry.js} +1 -1
  1215. package/dist/solutions-components/{p-75f7bfe3.entry.js → p-758d94ea.entry.js} +1 -1
  1216. package/dist/solutions-components/p-86b21da1.js +6 -0
  1217. package/dist/solutions-components/{p-cc774829.entry.js → p-8953a9cc.entry.js} +1 -1
  1218. package/dist/solutions-components/p-95aba86b.entry.js +6 -0
  1219. package/dist/solutions-components/{p-1d56804c.entry.js → p-a40a1eab.entry.js} +1 -1
  1220. package/dist/solutions-components/p-ad9fbb2a.entry.js +6 -0
  1221. package/dist/solutions-components/p-c5db42ad.entry.js +6 -0
  1222. package/dist/solutions-components/{p-72dbfa77.js → p-c68a6d4f.js} +1 -1
  1223. package/dist/solutions-components/{p-3bf0115f.entry.js → p-c77ff1b4.entry.js} +1 -1
  1224. package/dist/solutions-components/p-c9bd3666.js +6 -0
  1225. package/dist/solutions-components/{p-d4afcf86.js → p-c9f87acb.js} +2 -2
  1226. package/dist/solutions-components/p-d3085b7a.entry.js +6 -0
  1227. package/dist/solutions-components/p-eeee7c7a.js +6 -0
  1228. package/dist/solutions-components/p-f6253a08.entry.js +6 -0
  1229. package/dist/solutions-components/solutions-components.esm.js +1 -1
  1230. package/dist/solutions-components/utils/pdfUtils.ts +4 -2
  1231. package/dist/types/components/crowdsource-manager/crowdsource-manager.d.ts +17 -18
  1232. package/dist/types/components/info-card/info-card.d.ts +4 -0
  1233. package/dist/types/components/layer-table/layer-table.d.ts +14 -5
  1234. package/dist/types/components/map-card/map-card.d.ts +3 -2
  1235. package/dist/types/components/map-tools/map-tools.d.ts +45 -2
  1236. package/dist/types/components/public-notification/public-notification.d.ts +4 -0
  1237. package/dist/types/components/spatial-ref/spatial-ref.d.ts +4 -0
  1238. package/dist/types/components.d.ts +50 -32
  1239. package/dist/types/preact.d.ts +4 -1
  1240. package/package.json +2 -2
  1241. package/dist/solutions-components/p-24b3ad7d.entry.js +0 -6
  1242. package/dist/solutions-components/p-2abc02a1.entry.js +0 -6
  1243. package/dist/solutions-components/p-62e92138.js +0 -6
  1244. package/dist/solutions-components/p-83225907.js +0 -6
  1245. package/dist/solutions-components/p-99ca7674.entry.js +0 -6
  1246. package/dist/solutions-components/p-a0b8cecf.entry.js +0 -6
  1247. package/dist/solutions-components/p-a9f21aaf.entry.js +0 -6
  1248. package/dist/solutions-components/p-c99843aa.entry.js +0 -6
  1249. package/dist/solutions-components/p-ced4e208.entry.js +0 -6
  1250. package/dist/solutions-components/p-cf24ce53.entry.js +0 -6
  1251. package/dist/solutions-components/p-d78f13cb.entry.js +0 -6
  1252. package/dist/solutions-components/p-db3ca38d.entry.js +0 -17
@@ -1,6 +0,0 @@
1
- /*!
2
- * Copyright 2022 Esri
3
- * Licensed under the Apache License, Version 2.0
4
- * http://www.apache.org/licenses/LICENSE-2.0
5
- */
6
- import{r as t,c as a,h as n,H as s,g as e}from"./p-78780f63.js";import{d as i,s as r,i as o,e as l,f as c,E as p,l as u,h as g,c as h}from"./p-62e92138.js";import"./p-83225907.js";import"./p-a8a0187d.js";import"./p-d918ec36.js";import"./p-e1a4994d.js";import"./p-14a48b14.js";import"./p-225c4ca4.js";const d="instant-apps-components__ckeditor-wrapper",m=class{constructor(n){t(this,n),this.isFocused=a(this,"isFocused",7),this.dataChanged=a(this,"dataChanged",7),this.value=void 0,this.editorInstance=void 0,this.config=void 0}updateValue(){this.value&&this.editorInstance.setData(this.value)}async componentDidLoad(){this.init()}componentDidUpdate(){this.editorInstance.setData(this.value)}render(){return n(s,null,n("div",null))}init(){this.applyStyles(),this.initEditor()}applyStyles(){if(document.getElementById(d))return;const t=document.createElement("style");t.id=d,t.innerHTML="\n .ck.ck-reset.ck-editor.ck-rounded-corners {\n margin-top: 10px !important;\n margin-left: 55px !important;\n }\n .ck-editor__editable {\n height: 70px !important;\n font-size: 0.875rem !important;\n line-height: \t1.375 !important;\n color: var(--calcite-color-text-1) !important;\n }\n\n .ck.ck-editor__editable_inline>:first-child,\n .ck.ck-editor__editable_inline>:last-child {\n --ck-spacing-large: 0.5rem !important;\n }\n\n .ck.ck-balloon-panel.ck-powered-by-balloon {\n --ck-z-modal: 700;\n z-index: 700;\n }\n\n .calcite-mode-dark .ck-editor__editable {\n color: var(--calcite-color-text-inverse) !important;\n }\n",document.head.prepend(t)}async initEditor(){const t=await this.createEditor();t&&(this.editorInstance=t,(this.value||""===this.value)&&t.setData(this.value),t.editing.view.document.on("change:isFocused",this.getEditorFocusedCallback(t)))}async createEditor(){try{let t;return t=this.config?await ClassicEditor.create(this.el,this.config):await ClassicEditor.create(this.el),this.editorInstance=t,Promise.resolve(t)}catch(t){return console.error(t),Promise.reject(null)}}getEditorFocusedCallback(t){return(a,n,s)=>{if(s)this.isFocused.emit();else{const a=t.getData();this.value!==a&&(this.value=a,this.dataChanged.emit(a))}}}get el(){return e(this)}static get watchers(){return{value:["updateValue"]}}};m.style=":host{display:block}";const v="instant-apps-language-translator-item",_={section:`${v}__section`,selected:`${v}__section--selected`,collapsed:`${v}__section--collapsed`,topRow:`${v}__top-row`,labelContainer:`${v}__label-container`,label:`${v}__label`,uiLocationPopoverContent:`${v}__ui-location-popover-content`,uiLocationItems:`${v}__ui-location-items`,uiLocationItem:`${v}__ui-location-item`,infoIcon:`${v}__info-icon`,infoButton:`${v}__info-button`,tip:`${v}__tip`},f=class{constructor(n){t(this,n),this.translatorItemDataUpdated=a(this,"translatorItemDataUpdated",7),this.fieldName=void 0,this.translatedLanguageLabel=void 0,this.type=void 0,this.userLocaleInputOnChangeCallback=void 0,this.translatedLocaleInputOnChangeCallback=void 0}componentDidLoad(){this.init()}init(){this.type===i.TextEditor&&r.onChange("uiData",(()=>this.handleEditorCollapse()))}render(){const t=this.getUIDataItem();return n(s,{class:`${o()?l.Dark:l.Light}`},this.renderBase(t),this.renderPopover(t))}renderBase(t){return n("div",{class:v},this.renderUserLocaleSection(t),this.renderTranslatedLanguageSection())}renderUserLocaleSection(t){const a=null==t?void 0:t.userLocaleData,s=null==a?void 0:a.value;return n("div",{class:`${_.section}${(null==t?void 0:t.selected)?` ${_.selected}`:""}`},this.renderItemHeader(c.User,null==a?void 0:a.label),(null==t?void 0:t.expanded)?this.renderInput(s,c.User):null)}renderTranslatedLanguageSection(){var t;const a=this.getUIDataItem(),s=null==a?void 0:a.selected,e=r.get("currentLanguage"),i=r.get("portalItemResourceT9n"),o=null===(t=null==i?void 0:i[e])||void 0===t?void 0:t[this.fieldName];return n("div",{class:`${_.section}${s?` ${_.selected}`:""}`},this.renderItemHeader(c.Translation,this.translatedLanguageLabel),(null==a?void 0:a.expanded)?this.renderInput(o,c.Translation):null)}renderInput(t,a){return"string"===this.type||"textarea"===this.type?a===c.User?this.renderUserLocaleInput(t):this.renderTranslatedLanguageInput(t):this.renderTextEditor(t,a)}renderUserLocaleInput(t){return n("calcite-input",{class:l.Light,ref:t=>this.userLocaleInput=t,"data-field-name":this.fieldName,value:t,onFocus:this.handleSelection,onCalciteInputChange:this.handleUserInputChange.bind(this)})}renderTranslatedLanguageInput(t){return n("calcite-input",{class:l.Light,ref:t=>this.translatedLangInput=t,"data-field-name":this.fieldName,onFocus:this.handleSelection,onCalciteInputChange:this.handleTranslatedInputChange.bind(this),value:t})}renderTextEditor(t,a){return n("instant-apps-ckeditor-wrapper",{ref:this.setEditor.bind(this,a),onDataChanged:this.handleTextEditorDataChange.bind(this,a),onIsFocused:this.handleSelection,value:null!=t?t:"","data-field-name":this.fieldName,config:{toolbar:[]}})}renderItemHeader(t,a){return n("div",{class:_.topRow},n("div",{class:_.labelContainer},this.renderExpandCollapseButton(),n("calcite-icon",{icon:p.SettingIndicator,scale:"s"}),n("span",{class:_.label},t===c.Translation?this.translatedLanguageLabel:a),t===c.User?n("button",{id:`${this.fieldName}goTo`,class:_.infoButton},n("calcite-icon",{class:_.infoIcon,icon:p.Popover,scale:"s"})):null),this.renderCopyButton(t))}renderExpandCollapseButton(){const t=this.getUIDataItem();return n("calcite-action",{onClick:this.handleExpand.bind(this,t),icon:(null==t?void 0:t.expanded)?p.Expanded:p.Collapsed,scale:"s",appearance:"transparent",text:""})}renderPopover(t){const a=this.getTip(t);return n("calcite-popover",{referenceElement:`${this.fieldName}goTo`,label:"","auto-close":"true",placement:"trailing",closable:!0},n("span",{class:_.uiLocationPopoverContent},n("span",{class:_.uiLocationItems},this.getUILocation(t)),a?n("span",{class:_.tip},a):null))}renderCopyButton(t){const a=o();return n("calcite-action",{class:a?l.Dark:l.Light,onClick:this.copySelection.bind(this,t),slot:"action",icon:p.Copy,appearance:"transparent",text:""})}getUIDataItem(){if(u.uiData)return u.uiData.get(this.fieldName)}updateT9nStore(t,a){const n=r.get("currentLanguage"),s=g(n,{[t]:a});r.set("portalItemResourceT9n",s)}handleExpand(t){t.expanded=!t.expanded;const a=new Map(u.uiData);a.set(this.fieldName,t),r.set("uiData",a)}handleEditorCollapse(){var t,a;const n=r.get("uiData"),s=null==n?void 0:n.get(this.fieldName);if(!(null==s?void 0:s.expanded)&&(null===(t=this.userEditorWrapper)||void 0===t?void 0:t.editorInstance)&&(null===(a=this.translatedEditorWrapper)||void 0===a?void 0:a.editorInstance)){const{userEditorWrapper:t,translatedEditorWrapper:a}=this,n=t.editorInstance.getData();t.value=n;const s=a.editorInstance.getData();a.value=s,t.editorInstance.destroy(),a.editorInstance.destroy()}}handleSelection(t){const a=new Map(u.uiData),n=h();n.forEach((t=>{(null==a?void 0:a.get(t)).selected=!1})),n.forEach((n=>{var s;n===(null===(s=null==t?void 0:t.target)||void 0===s?void 0:s.getAttribute("data-field-name"))&&((null==a?void 0:a.get(n)).selected=!0)})),r.set("uiData",a)}getUILocation(t){const{uiLocation:a,userLocaleData:s}=t,{section:e,subsection:i}=a,r=[e.label,i.label,s.label].filter((t=>!!t));return r.map(((t,a)=>n("span",{class:_.uiLocationItem},n("span",null,t),a!==r.length-1?n("calcite-icon",{icon:"chevron-right",scale:"s"}):null)))}getTip(t){const{tip:a}=t;return a}copySelection(t){this.type===i.TextEditor?this.copyTextEditorContent(t):this.copyCalciteInputContent(t)}copyTextEditorContent(t){var a,n;const s=t===c.User?null===(a=this.userEditorWrapper)||void 0===a?void 0:a.editorInstance:null===(n=this.translatedEditorWrapper)||void 0===n?void 0:n.editorInstance;setTimeout((()=>{this.selectContent(s),setTimeout((()=>this.selectContent(s)),50)}),50),this.copyContent(s)}selectContent(t){t.editing.view.focus();const{model:a}=t,n=a.createRangeIn(a.document.getRoot());a.change((t=>t.setSelection(n)))}copyContent(t){const a=t.getData(),n=document.createElement("div");n.contentEditable="true",n.innerHTML=a,document.body.appendChild(n);const s=document.createRange();s.selectNodeContents(n);const e=window.getSelection();null==e||e.removeAllRanges(),null==e||e.addRange(s),document.execCommand("copy"),document.body.removeChild(n)}copyCalciteInputContent(t){const a=t===c.User?this.userLocaleInput:this.translatedLangInput;a.selectText(),navigator.clipboard.writeText(a.value)}setEditor(t,a){t===c.User?this.userEditorWrapper=a:this.translatedEditorWrapper=a}async handleUserInputChange(t){r.set("saving",!0);try{const a=t.target.value;this.getUIDataItem().userLocaleData.value=a,await this.userLocaleInputOnChangeCallback(this.fieldName,a),r.set("saving",!1)}catch(t){r.set("saving",!1)}}async handleUserTextEditorChange(t){r.set("saving",!0);try{const a=t.detail;this.getUIDataItem().userLocaleData.value=a,await this.userLocaleInputOnChangeCallback(this.fieldName,a),r.set("saving",!1)}catch(t){r.set("saving",!1)}}async handleTranslatedInputChange(t){r.set("saving",!0);try{const a=t.composedPath();this.updateT9nStore(this.fieldName,a[0].value);const{fieldName:n,locale:s,resource:e}=this.getTranslatedLocaleCallbackData(),i=t.target.value;await this.translatedLocaleInputOnChangeCallback(n,i,s,e),setTimeout((()=>r.set("saving",!1)),1500),this.translatorItemDataUpdated.emit()}catch(t){console.error("Error writing to portal item resource: ",t),r.set("saving",!1)}}async handleTranslatedTextEditorChange(t){r.set("saving",!0);try{this.updateT9nStore(this.fieldName,t.detail);const{fieldName:a,locale:n,resource:s}=this.getTranslatedLocaleCallbackData(),e=t.detail;await this.translatedLocaleInputOnChangeCallback(a,e,n,s),setTimeout((()=>r.set("saving",!1)),1500),this.translatorItemDataUpdated.emit()}catch(t){console.error("Error writing to portal item resource: ",t),r.set("saving",!1)}}handleTextEditorDataChange(t,a){t===c.User?this.handleUserTextEditorChange(a):this.handleTranslatedTextEditorChange(a)}getTranslatedLocaleCallbackData(){const{fieldName:t}=this;return{fieldName:t,locale:r.get("currentLanguage"),resource:r.get("portalItemResource")}}get el(){return e(this)}};f.style=".sc-instant-apps-language-translator-item-h{display:block}.sc-instant-apps-language-translator-item-h .instant-apps-language-translator-item.sc-instant-apps-language-translator-item{display:flex}.sc-instant-apps-language-translator-item-h .instant-apps-language-translator-item__section.sc-instant-apps-language-translator-item{padding:10px;border-bottom:1px solid var(--calcite-color-border-1);background-color:var(--calcite-color-foreground-2);width:49%}.sc-instant-apps-language-translator-item-h .instant-apps-language-translator-item__section.sc-instant-apps-language-translator-item .instant-apps-language-translator-item__top-row.sc-instant-apps-language-translator-item{display:flex;align-items:center;justify-content:space-between}.sc-instant-apps-language-translator-item-h .instant-apps-language-translator-item__section.sc-instant-apps-language-translator-item .instant-apps-language-translator-item__label-container.sc-instant-apps-language-translator-item{display:flex;align-items:center}.sc-instant-apps-language-translator-item-h .instant-apps-language-translator-item__section.sc-instant-apps-language-translator-item .instant-apps-language-translator-item__label.sc-instant-apps-language-translator-item{display:inline-block;margin-left:10px;font-size:14px;font-weight:var(--calcite-font-weight-medium)}.sc-instant-apps-language-translator-item-h .instant-apps-language-translator-item__section.sc-instant-apps-language-translator-item calcite-input.sc-instant-apps-language-translator-item{margin-top:10px;margin-left:55px}.sc-instant-apps-language-translator-item-h .instant-apps-language-translator-item__section--last-item.sc-instant-apps-language-translator-item{border-bottom:none}.sc-instant-apps-language-translator-item-h .instant-apps-language-translator-item__section--selected.sc-instant-apps-language-translator-item{background-color:#f1faff}.sc-instant-apps-language-translator-item-h .instant-apps-language-translator-item__section.sc-instant-apps-language-translator-item:first-child{margin-right:1%}.sc-instant-apps-language-translator-item-h .instant-apps-language-translator-item__ui-location-popover-content.sc-instant-apps-language-translator-item{display:inline-block;padding:10px;max-width:400px}.sc-instant-apps-language-translator-item-h .instant-apps-language-translator-item__ui-location-items.sc-instant-apps-language-translator-item{display:flex}.sc-instant-apps-language-translator-item-h .instant-apps-language-translator-item__ui-location-item.sc-instant-apps-language-translator-item{display:flex;align-items:center;font-weight:var(--calcite-font-weight-medium);font-size:14px}.sc-instant-apps-language-translator-item-h .instant-apps-language-translator-item__tip.sc-instant-apps-language-translator-item{display:inline-block;font-size:14px;line-height:22px}.sc-instant-apps-language-translator-item-h .instant-apps-language-translator-item__info-icon.sc-instant-apps-language-translator-item{color:var(--calcite-color-brand)}.sc-instant-apps-language-translator-item-h .instant-apps-language-translator-item__info-button.sc-instant-apps-language-translator-item{border:0;background-color:transparent;cursor:pointer}.calcite-mode-dark.sc-instant-apps-language-translator-item-h .instant-apps-language-translator-item__section--selected.sc-instant-apps-language-translator-item{background-color:#f1faff;background-color:var(--calcite-color-brand);color:var(--calcite-color-text-inverse)}.calcite-mode-dark.sc-instant-apps-language-translator-item-h .instant-apps-language-translator-item__section--selected.sc-instant-apps-language-translator-item calcite-action.sc-instant-apps-language-translator-item{--calcite-ui-icon-color:var(--calcite-color-text-inverse)}.calcite-mode-dark.sc-instant-apps-language-translator-item-h .instant-apps-language-translator-item__section--selected.sc-instant-apps-language-translator-item calcite-icon.sc-instant-apps-language-translator-item{color:var(--calcite-color-text-inverse)}.instant-apps-language-translator--last-item.sc-instant-apps-language-translator-item-h .instant-apps-language-translator-item__section.sc-instant-apps-language-translator-item{border-bottom:none}";const b="instant-apps-language-translator-search",x={base:b,input:`${b}__input`,suggestionList:`${b}__suggestion-list`,suggestionListItem:`${b}__suggestion-list-item`},k=class{constructor(n){t(this,n),this.suggestionSelected=a(this,"suggestionSelected",7),this.t9nPlaceholder=void 0,this.results=[]}render(){return n(s,null,this.renderSearchInput(),this.renderSuggestions())}renderSearchInput(){return n("calcite-input",{ref:t=>this.searchInput=t,class:x.input,onCalciteInputInput:this.handleSearch.bind(this),type:"search",placeholder:this.t9nPlaceholder,icon:"search"})}renderSuggestions(){return this.results.length>0?this.renderSuggestionList():null}renderSuggestionList(){return n("ul",{class:x.suggestionList},this.results.map((t=>this.renderSuggestionListItem(t))))}renderSuggestionListItem(t){return n("li",{onClick:this.selectSuggestion.bind(this),class:x.suggestionListItem,"data-field-name":t.fieldName},t.userLocaleData.label)}handleSearch(t){var a,n;const s=null===(n=null===(a=t.target.value)||void 0===a?void 0:a.toLowerCase())||void 0===n?void 0:n.trim(),e=r.get("uiData"),i=h(),o=r.get("portalItemResourceT9n"),l=r.get("currentLanguage"),c=o[l],p=this.getSettingDataItems(i).filter(this.matchedResultsCallback(e,c,s,l));this.results=[...p.map((t=>Object.assign({fieldName:t},e.get(t))))]}matchedResultsCallback(t,a,n,s){return e=>{var i;const r=t.get(e),{label:o}=r.userLocaleData,{value:l}=r.userLocaleData,c=t.get("translatedLanguageLabels"),p=null===(i=null==c?void 0:c[s])||void 0===i?void 0:i[e],u=null==a?void 0:a[e],g=this.testUserInput(o,n),h=this.testUserInput(l,n),d=this.testUserInput(p,n),m=this.testUserInput(u,n);return g||h||d||m}}getSettingDataItems(t){return t.filter((t=>"locales"!==t&&"translatedLanguageLabels"!==t))}testUserInput(t,a){var n;return!!(null==t?void 0:t.trim())&&!!(null==a?void 0:a.trim())&&-1!==(null===(n=null==t?void 0:t.toLowerCase())||void 0===n?void 0:n.search(a))}selectSuggestion(t){const a=t.target.getAttribute("data-field-name");this.suggestionSelected.emit(a),this.resetSearchInput()}resetSearchInput(){this.searchInput.value="",this.results=[]}};k.style=".sc-instant-apps-language-translator-search-h{display:block;position:relative}.sc-instant-apps-language-translator-search-h .instant-apps-language-translator-search__input.sc-instant-apps-language-translator-search{width:235.5px}.sc-instant-apps-language-translator-search-h .instant-apps-language-translator-search__suggestion-list.sc-instant-apps-language-translator-search{position:absolute;margin:0;padding:0;width:100%;max-height:30vh;overflow:auto;border-left:none;background-color:var(--calcite-color-foreground-1);border:1px solid #c0c0c0;z-index:702}.sc-instant-apps-language-translator-search-h .instant-apps-language-translator-search__suggestion-list-item.sc-instant-apps-language-translator-search:first-child{border:none}.sc-instant-apps-language-translator-search-h .instant-apps-language-translator-search__suggestion-list-item.sc-instant-apps-language-translator-search{margin-top:0;padding:0.8em 1em;border-top:solid 1px rgba(110, 110, 110, 0.3);display:flex;flex-direction:column;cursor:pointer;word-break:break-word}.sc-instant-apps-language-translator-search-h .instant-apps-language-translator-search__suggestion-list-item.sc-instant-apps-language-translator-search:hover{background-color:var(--calcite-color-foreground-2)}";export{m as instant_apps_ckeditor_wrapper,f as instant_apps_language_translator_item,k as instant_apps_language_translator_search}
@@ -1,6 +0,0 @@
1
- /*!
2
- * Copyright 2022 Esri
3
- * Licensed under the Apache License, Version 2.0
4
- * http://www.apache.org/licenses/LICENSE-2.0
5
- */
6
- import{r as a,c as t,h as n,H as s,g as e}from"./p-78780f63.js";import{g as i,a as l,s as r,E as o,b as c,l as p,c as g}from"./p-62e92138.js";import{l as d}from"./p-a8a0187d.js";import{c as u}from"./p-83225907.js";import{g as h,f as v}from"./p-00f9774c.js";import"./p-225c4ca4.js";import"./p-d918ec36.js";import"./p-e1a4994d.js";import"./p-14a48b14.js";const m="instant-apps-language-translator",_={BASE:m,header:`${m}__header`,headerText:`${m}__header-text`,savingIndicator:`${m}__saving-indicator`,closeButton:`${m}__close-button`,headerTip:`${m}__header-tip`,topBar:`${m}__top-bar`,topBarSection:`${m}__top-bar-section`,collapseSearchContainer:`${m}__collapse-search-container`,userLangText:`${m}__user-lang-text`,lastItem:`${m}--last-item`,writingIcon:`${m}__writing-icon`},b=class{constructor(n){a(this,n),this.translatorDataUpdated=t(this,"translatorDataUpdated",7),this.portalItem=void 0,this.appSettings=void 0,this.locales=void 0,this.open=!1,this.userLocaleInputOnChangeCallback=void 0,this.translatedLocaleInputOnChangeCallback=void 0,this.saving=!1,this.messages=void 0,this.isCollapse=!0}handleT9nItemUpdate(){this.translatorDataUpdated.emit()}handleLocaleChange(){this.initUIData(),this.initSelectLanguage()}handleAppSettings(){this.initUIData(),this.initSelectLanguage()}async componentDidLoad(){this.initialize()}async initialize(){const[a,t]=await d(["esri/intl","esri/request"]);this.intl=a,this.request=t,await this.initMessages(),this.initUIData(),this.initPortalItemResourceT9nData(),this.initSelectLanguage()}async initMessages(){try{const{el:a}=this,t=await i(a);return this.messages=t,Promise.resolve()}catch(a){return Promise.reject()}}initUIData(){const{appSettings:a,locales:t}=this,n=l(a,t);r.set("uiData",n)}initSelectLanguage(){var a,t;if(!this.intl)return;const{locales:n}=this,s=null!==(t=null===(a=null==n?void 0:n[0])||void 0===a?void 0:a.locale)&&void 0!==t?t:this.intl.getLocale(),e=r.get("currentLanguage");0===this.locales.filter((a=>a.locale===e)).length&&r.set("currentLanguage",s)}async initPortalItemResourceT9nData(){try{const a=await h(this.portalItem);r.set("portalItemResource",a);const t=await v(this.request,a);r.set("portalItemResourceT9n",null!=t?t:{})}catch(a){}}render(){return n(s,null,this.renderModal(),this.renderPopoverTip())}renderModal(){return n("calcite-modal",{open:this.open,scale:"l",fullscreen:!0,onCalciteModalClose:this.close.bind(this)},this.renderHeader(),this.renderContent(),this.renderPrimaryButton())}renderPopoverTip(){var a;return n("calcite-popover",{label:"",referenceElement:"headerTip",placement:"trailing","auto-close":!0,closable:!0},n("div",{class:_.headerTip},null===(a=this.messages)||void 0===a?void 0:a.headerTip))}renderHeader(){const a=r.get("saving");return n("header",{class:_.header,slot:"header"},this.renderHeaderText(),a?this.renderSavingIndicator():null)}renderHeaderText(){const{messages:a}=this;return n("div",{class:_.headerText},n("span",null,null==a?void 0:a.header),n("calcite-button",{id:"headerTip",appearance:"transparent"},n("calcite-icon",{icon:o.Popover,scale:"s"})))}renderSavingIndicator(){var a;const t=r.get("saving"),s=null===(a=this.messages)||void 0===a?void 0:a.saving;return n("div",{class:_.savingIndicator},t?n("calcite-loader",{label:s,inline:!0}):null,n("span",null,s))}renderContent(){const a=c(this.locales);return n("div",{slot:"content"},this.renderTopBar(),(null==a?void 0:a.length)>0?this.renderUIData():this.renderNotice())}renderTopBar(){return n("div",{class:_.topBar},this.renderLeadingTopBarSection(),this.renderTrailingTopBarSection())}renderLeadingTopBarSection(){return n("div",{class:_.topBarSection},this.renderUserLocale(),this.renderCollapseSearchContainer())}renderUserLocale(){var a;const t=null===(a=this.messages)||void 0===a?void 0:a.languages,s=u(this.el);return n("div",{class:_.userLangText},null==t?void 0:t[s])}renderCollapseSearchContainer(){return n("div",{class:_.collapseSearchContainer},this.renderExpandCollapseButton(),this.renderSearch())}renderExpandCollapseButton(){const{isCollapse:a,messages:t}=this,s=a?null==t?void 0:t.collapseAll:null==t?void 0:t.expandAll;return n("calcite-button",{onClick:this.handleExpandCollapseAll.bind(this),appearance:"transparent","icon-start":o.ExpandCollapse},s)}renderSearch(){var a;return n("instant-apps-language-translator-search",{onSuggestionSelected:this.onSuggestionSelect.bind(this),t9nPlaceholder:null===(a=this.messages)||void 0===a?void 0:a.searchPlaceholder})}renderTrailingTopBarSection(){return n("div",{class:_.topBarSection},this.renderLanguageSelection())}renderLanguageSelection(){var a;return n("calcite-label",{layout:"inline"},null===(a=this.messages)||void 0===a?void 0:a.translatedLanguage,n("calcite-select",{label:"",onCalciteSelectChange:this.handleLanguageSelection.bind(this)},this.renderTranslatedLangOptions()))}renderTranslatedLangOptions(){const a=r.get("uiData"),t=null==a?void 0:a.get("locales"),s=c(t);return null==s?void 0:s.map((a=>{const{messages:t}=this,s=null==t?void 0:t.translatedLanguageNames,e=null==t?void 0:t.languages;return n("calcite-option",{key:`translated-lang-option-${a}`,value:a},`${null==s?void 0:s[a]} - ${null==e?void 0:e[a]}`)}))}renderUIData(){if(!(null==p?void 0:p.uiData))return;const a=g();return n("div",null,null==a?void 0:a.map(((t,n)=>this.renderUIDataItem(t,n,a.length))))}renderNotice(){var a;const t=null===(a=this.messages)||void 0===a?void 0:a.noLanguage;return n("calcite-notice",{open:!0,icon:"exclamation-mark-triangle",kind:"warning"},n("div",{slot:"title"},null==t?void 0:t.title),n("div",{slot:"message"},null==t?void 0:t.message))}renderUIDataItem(a,t,s){var e,i,l;const r=null===(l=null===(i=null===(e=this.appSettings)||void 0===e?void 0:e.translatedLanguageLabels)||void 0===i?void 0:i[p.currentLanguage])||void 0===l?void 0:l[a],o=`${t===s-1?_.lastItem:""}`,c=this.appSettings.content.filter((t=>t.id===a))[0];return n("instant-apps-language-translator-item",{key:`${a}-${t}`,class:o,fieldName:a,translatedLanguageLabel:r,type:c.type,userLocaleInputOnChangeCallback:this.userLocaleInputOnChangeCallback,translatedLocaleInputOnChangeCallback:this.translatedLocaleInputOnChangeCallback})}renderPrimaryButton(){var a;return n("calcite-button",{onClick:()=>this.open=!1,slot:"primary",class:_.closeButton},null===(a=this.messages)||void 0===a?void 0:a.close)}handleExpandCollapseAll(){this.isCollapse=!this.isCollapse;const a=new Map(p.uiData);g().forEach((t=>a.get(t).expanded=this.isCollapse)),r.set("uiData",a)}onSuggestionSelect(a){const t=a.detail,n=new Map(p.uiData);g().forEach((a=>{n.get(a).selected=a===t})),r.set("uiData",n)}close(){this.open=!1}handleLanguageSelection(a){r.set("currentLanguage",a.target.value)}get el(){return e(this)}static get watchers(){return{locales:["handleLocaleChange"],appSettings:["handleAppSettings"]}}};b.style=".sc-instant-apps-language-translator-h{display:block}.sc-instant-apps-language-translator-h calcite-modal.sc-instant-apps-language-translator{--calcite-modal-content-padding:0}.sc-instant-apps-language-translator-h .instant-apps-language-translator__header.sc-instant-apps-language-translator{display:flex;justify-content:space-between;width:100%}.sc-instant-apps-language-translator-h .instant-apps-language-translator__header-text.sc-instant-apps-language-translator{font-size:18px}.sc-instant-apps-language-translator-h .instant-apps-language-translator__saving-indicator.sc-instant-apps-language-translator{display:flex;align-items:center;font-size:14.5px;color:var(--calcite-color-brand)}.sc-instant-apps-language-translator-h .instant-apps-language-translator__writing-icon.sc-instant-apps-language-translator{display:flex;justify-content:center;align-items:center;margin-right:5px}.sc-instant-apps-language-translator-h .instant-apps-language-translator__close-button.sc-instant-apps-language-translator{width:175px}.sc-instant-apps-language-translator-h .instant-apps-language-translator__header-tip.sc-instant-apps-language-translator{padding:20px;max-width:45vw}.sc-instant-apps-language-translator-h .instant-apps-language-translator__top-bar.sc-instant-apps-language-translator{display:flex;width:100%;position:sticky;top:0;background:var(--calcite-color-foreground-1);z-index:1}.sc-instant-apps-language-translator-h .instant-apps-language-translator__top-bar.sc-instant-apps-language-translator calcite-label.sc-instant-apps-language-translator{--calcite-label-margin-bottom:0;font-weight:var(--calcite-font-weight-medium)}.sc-instant-apps-language-translator-h .instant-apps-language-translator__top-bar-section.sc-instant-apps-language-translator{box-sizing:border-box;display:flex;align-items:center;width:50%;padding:0.5%}.sc-instant-apps-language-translator-h .instant-apps-language-translator__user-lang-text.sc-instant-apps-language-translator{font-weight:var(--calcite-font-weight-medium)}.sc-instant-apps-language-translator-h .instant-apps-language-translator__top-bar-section.sc-instant-apps-language-translator:first-child{display:flex;justify-content:space-between}.sc-instant-apps-language-translator-h .instant-apps-language-translator__top-bar-section.sc-instant-apps-language-translator:nth-child(2) calcite-select.sc-instant-apps-language-translator{width:255px}.sc-instant-apps-language-translator-h .instant-apps-language-translator__collapse-search-container.sc-instant-apps-language-translator{display:flex;justify-content:space-between}.sc-instant-apps-language-translator-h .instant-apps-language-translator__collapse-search-container.sc-instant-apps-language-translator calcite-input.sc-instant-apps-language-translator{width:300px;margin-left:30px}.ck.ck-reset.ck-editor.ck-rounded-corners.sc-instant-apps-language-translator{margin-top:10px !important;margin-left:55px !important}.ck-editor__editable.sc-instant-apps-language-translator{height:70px !important;font-size:0.875rem !important;line-height:1.375 !important}.ck.ck-editor__editable_inline.sc-instant-apps-language-translator>.sc-instant-apps-language-translator:first-child,.ck.ck-editor__editable_inline.sc-instant-apps-language-translator>.sc-instant-apps-language-translator:last-child{--ck-spacing-large:0.5rem !important}";export{b as instant_apps_language_translator}
@@ -1,6 +0,0 @@
1
- /*!
2
- * Copyright 2022 Esri
3
- * Licensed under the Apache License, Version 2.0
4
- * http://www.apache.org/licenses/LICENSE-2.0
5
- */
6
- import{r as t,c as e,h as a,H as s,g as i}from"./p-78780f63.js";import{g as h}from"./p-14a48b14.js";import{S as n}from"./p-a230b270.js";import{w as o}from"./p-abea8ef5.js";import"./p-d918ec36.js";import"./p-e1a4994d.js";const r={base:"instant-apps-header--standard",headerContainer:"instant-apps-header__header-container",headerContent:"instant-apps-header__header-content",flipRtl:"instant-apps-header--rtl",logoScale:"instant-apps-header__logo-scale--",logoHeight:"instant-apps-header__logo-height--",standardHeight:"instant-apps-header__standard-height",alignment:{center:"instant-apps-header__header-content--center",right:"instant-apps-header__header-content--right"}},d=class{constructor(a){t(this,a),this.infoIsOpenChanged=e(this,"infoIsOpenChanged",6),this._sanitizer=new n({whiteList:{h1:["style"],h2:["style"],h3:["style"],h4:["style"],h5:["style"],h6:["style"],img:["style","src","width","height"],pre:["style"],p:["id","class","style"],div:["id","class","style","role"],span:["id","class","style","role"],figure:["class","style"],header:["id","class","style","role"]}},!0),this.dir=void 0,this.titleText=void 0,this.titleTextLink=void 0,this.backgroundColor=void 0,this.textColor=void 0,this.logoImage=void 0,this.logoScale="m",this.logoImageAltText=void 0,this.logoLink=void 0,this.infoButton=!1,this.infoIsOpen=!1,this.infoTitleText=void 0,this.customHeaderHtml=void 0,this.headerAlignment="left",this.customHeaderCss=void 0,this.fontFamily="var(--calcite-sans-family);",this.mobileWidthBreakpoint=o.medium[1],this.initialScale="m"}sanitizeCustomHeaderHtml(){this.customHeaderHtml=this._sanitizer.sanitize(this.customHeaderHtml)}componentWillLoad(){this.dir=h(this.el),this.handleMobileBreakpoints(),this.dir=h(this.el),this.customHeaderHtml=this._sanitizer.sanitize(this.customHeaderHtml)}render(){var t,e,i,h;const n="undefined"===this.logoImage||"undefined"===(null===(e=null===(t=this.logoImage)||void 0===t?void 0:t.split("?"))||void 0===e?void 0:e[0])||""===(null===(h=null===(i=this.logoImage)||void 0===i?void 0:i.split("?"))||void 0===h?void 0:h[0])||!this.logoImage,o=this.renderLogo(n),d=this.renderTitle(),l="right"===this.headerAlignment||"center"===this.headerAlignment?r.headerContent.concat(" ",r.alignment[this.headerAlignment]):r.headerContent,p=null==this.fontFamily?'"Avenir Next","Avenir","Helvetica Neue",sans-serif':this.fontFamily;return a(s,null,this.customHeaderHtml?[a("style",null,this.customHeaderCss),a("div",{id:"customHeader",innerHTML:this.customHeaderHtml})]:a("header",{class:`${r.base}${"rtl"===this.dir?` ${r.flipRtl}`:""}${this.logoImage&&!n?` ${r.logoHeight}${this.logoScale}`:` ${r.standardHeight}`}`,style:{backgroundColor:this.backgroundColor,fontFamily:p}},a("div",{class:r.headerContainer},a("span",{class:l},o,d,this.infoButton?a("calcite-button",{style:{"--calcite-color-text-1":this.textColor},id:"infoButton",alignment:"start",appearance:"transparent",kind:"neutral","icon-start":"information-f",scale:"s",label:this.infoTitleText,title:this.infoTitleText,onClick:this.toggleInfo.bind(this)}):null),a("slot",{name:"actions-end"}))))}renderLogo(t){return t?"":this.logoImage&&this.logoLink?a("a",{href:`${this.logoLink}`,target:"_blank"},a("img",{class:`${r.logoScale}${this.logoScale}`,src:`${this.logoImage}`,alt:`${this.logoImageAltText}`})):this.logoImage?a("img",{class:`${r.logoScale}${this.logoScale}`,src:`${this.logoImage}`,alt:this.logoImageAltText}):""}renderTitle(){return this.titleText&&this.titleTextLink?a("a",{style:{color:this.textColor},href:`${this.titleTextLink}`,rel:"noopener noreferrer",target:"_blank"},a("h1",{style:{color:this.textColor}},this.titleText)):a("h1",{style:{color:this.textColor}},this.titleText)}toggleInfo(){this.infoIsOpen=!this.infoIsOpen,this.infoIsOpenChanged.emit(this.infoIsOpen)}mqlCallback(){return t=>{const{matches:e}=t;this.logoScale=e?"s":this.initialScale}}handleMobileBreakpoints(){this.initialScale=this.logoScale;const t=window.matchMedia(`(max-width: ${this.mobileWidthBreakpoint}px)`);t.matches&&(this.logoScale="s"),t.addEventListener("change",this.mqlCallback())}get el(){return i(this)}static get watchers(){return{customHeaderHtml:["sanitizeCustomHeaderHtml"]}}};d.style=":host{--instant-apps-header-height:auto;--instant-apps-header-min-height:50px;--instant-apps-header-title-text-link-decoration:underline;--instant-apps-header-height--logo-scale--s:55px;--instant-apps-header-logo-width--logo-scale--s:35px;--instant-apps-header-logo-height--logo-scale--s:35px;--instant-apps-header-height--logo-scale--m:70px;--instant-apps-header-logo-width--logo-scale--m:50px;--instant-apps-header-logo-height--logo-scale--m:50px;--instant-apps-header-height--logo-scale--l:80px;--instant-apps-header-logo-width--logo-scale--l:60px;--instant-apps-header-logo-height--logo-scale--l:60px;width:100%}:host .instant-apps-header--standard{box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;width:100%;height:var(--instant-apps-header-height);background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-1);font-family:var(--calcite-sans-family);min-height:var(--instant-apps-header-min-height)}:host .instant-apps-header--standard .instant-apps-header__header-container{display:flex;align-items:center;width:100%;height:inherit}:host .instant-apps-header--standard .instant-apps-header__header-container slot{display:flex;height:inherit}:host .instant-apps-header--standard .instant-apps-header__header-container ::slotted(*){display:flex;min-height:var(--instant-apps-header-min-height);height:var(--instant-apps-header-height)}:host .instant-apps-header--standard .instant-apps-header__header-container ::slotted(*) calcite-button{height:100%}:host .instant-apps-header--standard .instant-apps-header__header-content{box-sizing:border-box;display:flex;align-items:center;width:100%;min-width:0;height:inherit;padding:5px 10px}:host .instant-apps-header--standard .instant-apps-header__header-content a{display:flex;align-items:center;-webkit-text-decoration:var(--instant-apps-header-title-text-link-decoration);text-decoration:var(--instant-apps-header-title-text-link-decoration)}:host .instant-apps-header--standard .instant-apps-header__header-content a img{padding-right:0}:host .instant-apps-header--standard .instant-apps-header__header-content img{margin:10px}:host .instant-apps-header--standard .instant-apps-header__header-content h1{margin:0;font-size:1.25rem;color:var(--calcite-color-text-1);font-weight:430;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}:host .instant-apps-header--standard .instant-apps-header__header-content #infoButton{margin-inline-start:10px}:host .instant-apps-header--standard .instant-apps-header__header-content--center{justify-content:center}:host .instant-apps-header--standard .instant-apps-header__header-content--right{justify-content:end}:host .instant-apps-header__logo-height--s{height:var(--instant-apps-header-height--logo-scale--s)}:host .instant-apps-header__logo-height--s .instant-apps-header__header-content h1{font-size:1.125rem}:host .instant-apps-header__logo-scale--s{width:var(--instant-apps-header-logo-width--logo-scale--s);height:var(--instant-apps-header-logo-height--logo-scale--s)}:host .instant-apps-header__logo-height--m{height:var(--instant-apps-header-height--logo-scale--m)}:host .instant-apps-header__logo-scale--m{width:var(--instant-apps-header-logo-width--logo-scale--m);height:var(--instant-apps-header-logo-height--logo-scale--m)}:host .instant-apps-header__logo-height--l{height:var(--instant-apps-header-height--logo-scale--l)}:host .instant-apps-header__logo-height--l .instant-apps-header__header-content h1{font-size:1.375rem}:host .instant-apps-header__logo-scale--l{width:var(--instant-apps-header-logo-width--logo-scale--l);height:var(--instant-apps-header-logo-height--logo-scale--l)}:host .instant-apps-header__logo-height--s,:host .instant-apps-header__logo-height--m,:host .instant-apps-header__logo-height--l{padding-right:10px}:host .instant-apps-header--rtl.instant-apps-header__logo-height--s,:host .instant-apps-header--rtl.instant-apps-header__logo-height--m,:host .instant-apps-header--rtl.instant-apps-header__logo-height--l{padding-right:0;padding-left:10px}";export{d as instant_apps_header}
@@ -1,6 +0,0 @@
1
- /*!
2
- * Copyright 2022 Esri
3
- * Licensed under the Apache License, Version 2.0
4
- * http://www.apache.org/licenses/LICENSE-2.0
5
- */
6
- import{r as t,c as n,h as i,H as s,g as e}from"./p-78780f63.js";import{g as o}from"./p-83225907.js";import{l as a}from"./p-a8a0187d.js";import{g as r}from"./p-c96eb2db.js";import"./p-14a48b14.js";import"./p-d918ec36.js";import"./p-e1a4994d.js";const p="instant-apps-export calcite-mode-light",l="instant-apps-export-print",c="instant-apps-export-print__extra-container",h="instant-apps-export-print__legend-container",d="instant-apps-export-print__compass-container",u="instant-apps-export-print__scale-bar-container",x="instant-apps-export-print__popup-container",v="instant-apps-export-print__popup-content",_="instant-apps-export-print__popup-title",g="instant-apps-export-print__view",b="instant-apps-export-print__view-container",f="instant-apps-export-print__view-wrapper",m=class{constructor(i){t(this,i),this.exportOutputUpdated=n(this,"exportOutputUpdated",7),this.output=void 0,this.beforeExport=()=>Promise.resolve(),this.popoverIcon="export",this.extraContent=void 0,this.extraContentLabel=void 0,this.headerTitle="",this.includeExtraContent=!0,this.includeLegend=!0,this.includeMap=!0,this.includePopup=!1,this.mode="popover",this.popoverPositioning="absolute",this.popoverPlacement="auto",this.scale="m",this.showHeaderTitle=!0,this.showIncludeLegend=!0,this.showIncludeMap=!1,this.showIncludePopup=!0,this.showScaleBar=!0,this.view=void 0,this.baseClass=p,this.exportIsLoading=void 0,this.messages=void 0}watchIncludeMap(t){t&&this.updateLegend()}componentWillLoad(){this.baseClass="dark"===r(this.el)?"instant-apps-export calcite-mode-dark":p,o(this),this.initializeModules()}componentDidLoad(){this.printContainerEl.prepend(this.printEl)}disconnectedCallback(){var t,n;null===(t=this.handles)||void 0===t||t.removeAll(),null===(n=this.handles)||void 0===n||n.destroy(),this.handles=null}async initializeModules(){const[t]=await a(["esri/core/Handles"]);return this.handles=new t,Promise.resolve()}render(){const t="popover"===this.mode?this.renderPopover():this.renderPanel(),n=this.renderCompass();return i(s,null,i("div",{class:this.baseClass,onMouseEnter:this.handleWidgetCreation.bind(this),onFocusin:this.handleWidgetCreation.bind(this)},t,i("div",{class:"instant-apps-export__visually-hidden"},n)))}renderPopover(){var t,n,s;const e=this.renderPanel();return[i("calcite-popover",{referenceElement:"export-popover-btn",label:null===(t=this.messages)||void 0===t?void 0:t.exportPopover,overlayPositioning:this.popoverPositioning,placement:this.popoverPlacement,autoClose:!0,ref:t=>this.popoverEl=t},e),i("calcite-action",{id:"export-popover-btn",alignment:"center",icon:this.popoverIcon,scale:this.scale,title:null===(n=this.messages)||void 0===n?void 0:n.exportBtn,text:null===(s=this.messages)||void 0===s?void 0:s.exportBtn})]}renderPanel(){var t;const n=this.showHeaderTitle?this.renderTitle():null,s=null!=this.extraContent?this.renderSwitch("includeExtraContent",this.extraContentLabel):null,e=this.showIncludeMap?this.renderSwitch("includeMap"):null,o=this.includeMap?this.renderMapOptions():null,a=this.renderPrint();return i("div",{class:"inline"===this.mode?"instant-apps-export__inline-container":"instant-apps-export__popover-container"},n,s,e,o,i("calcite-button",{width:"full",onClick:this.exportOnClick.bind(this),loading:this.exportIsLoading,disabled:this.exportIsLoading},null===(t=this.messages)||void 0===t?void 0:t.export),a)}renderTitle(){var t;return i("calcite-label",null,null===(t=this.messages)||void 0===t?void 0:t.title,i("calcite-input",{value:this.headerTitle,onCalciteInputInput:this.updateHeaderTitle.bind(this)}))}renderSwitch(t,n){var s;const e=null!=n?n:null===(s=this.messages)||void 0===s?void 0:s[t];return i("calcite-label",{layout:"inline-space-between"},e,i("calcite-switch",{checked:this[t],value:t,onCalciteSwitchChange:this.optionOnChange.bind(this)}))}renderMapOptions(){const t=this.showIncludeLegend?this.renderSwitch("includeLegend"):null,n=this.showIncludePopup?this.renderSwitch("includePopup"):null;return i("div",null,t,n)}renderPrint(){const t=this.includeMap?this.renderPrintMap():null,n=this.renderExtraContent(),s=this.includeMap&&this.showIncludeLegend?this.renderLegend():null,e=this.includeMap&&this.showIncludePopup?this.renderPopup():null;return i("div",{ref:t=>this.printContainerEl=t},i("div",{class:l,ref:t=>this.printEl=t},t,s,e,n))}renderPrintMap(){const t=this.renderScaleBar();return i("div",{class:b,ref:t=>this.viewContainerEl=t},i("div",{class:f,ref:t=>this.viewWrapperEl=t},this.headerTitle?i("instant-apps-header",{titleText:this.headerTitle,backgroundColor:"#fff",textColor:"#323232"}):null,i("div",{class:g,ref:t=>this.viewEl=t}),t))}renderLegend(){return i("div",{class:h,ref:t=>this.legendContainerEl=t})}renderCompass(){return i("div",{class:d,ref:t=>this.compassContainerEl=t})}renderScaleBar(){return i("div",{class:u,ref:t=>this.scaleBarContainerEl=t})}renderPopup(){return i("div",{class:x,ref:t=>this.popupContainerEl=t},i("div",{ref:t=>this.popupTitleEl=t,class:_}),i("div",{ref:t=>this.popupContentEl=t,class:v}))}renderExtraContent(){return i("div",{class:c,id:"export-content",ref:t=>this.extraContainerEl=t})}optionOnChange(t){const{checked:n,value:i}=t.target;this[i]=n,this.updateExportOutput()}updateHeaderTitle(t){this.headerTitle=t.target.value,this.updateExportOutput()}async exportOnClick(){await this.beforeExport(),null==this.viewWrapperEl||this.viewWrapperEl.contains(this.compassContainerEl)||this.viewWrapperEl.append(this.compassContainerEl),this.handleViewExportOnClick(),null!=this.popoverEl&&(this.popoverEl.open=!1)}async handleViewExportOnClick(){null!=this.view?(this.addPrintStyling(),document.body.prepend(this.printEl),this.handleExtraContent(),this.includeMap?(null!=this.viewContainerEl&&(this.viewContainerEl.style.display="flex"),this.updatePopupToPrint(),this.viewScreenshot(),this.handleImgLoaded()):this.handleImgLoaded()):null!=this.popoverEl&&(this.popoverEl.open=!1)}addPrintStyling(){null==this.printStyleEl&&(this.printStyleEl=document.createElement("style"),this.printStyleEl.innerHTML='\n @media print {\n @page {\n size: Portrait;\n margin: .25in;\n }\n\n html, body {\n padding: 0;\n margin: 0;\n height: 100%;\n width: 100%;\n }\n\n body > *:not(.instant-apps-export-print) { display: none; }\n }\n\n * {\n -webkit-print-color-adjust: exact;\n color-adjust: exact;\n }\n\n\n .instant-apps-export-print {\n height: 100%;\n width: 100%;\n position: absolute;\n z-index: -999;\n color: #323232 !important;\n display: flex;\n flex-flow: row wrap;\n align-content: flex-start;\n gap: 36px;\n --esri-calcite-mode-name: "light";\n }\n\n .instant-apps-export-print, .instant-apps-export-print * {\n box-sizing: border-box;\n }\n\n .instant-apps-export-print__view-section {\n height: 100%;\n }\n\n .instant-apps-export-print__view-container {\n height: 60%;\n width: 100%;\n display: flex;\n justify-content: center;\n }\n\n .instant-apps-export-print__view-wrapper {\n position: relative;\n height: 100%;\n width: 100%;\n display: flex;\n flex-direction: column;\n border: 2pt solid #323232;\n }\n\n .instant-apps-export-print__view {\n height: 100%;\n width: 100%;\n background-position: center;\n background-repeat: no-repeat;\n }\n\n .instant-apps-export-print__popup-container {\n height: min-content;\n max-width: 350px;\n display: none;\n color: #323232;\n background: #fff;\n border: 1pt solid #323232;\n break-inside: avoid;\n }\n\n .instant-apps-export-print__popup-title {\n border-bottom: 1pt solid #323232;\n }\n\n .instant-apps-export-print__popup-content {\n background: #fff;\n padding-top: 8pt;\n }\n\n .instant-apps-export-print__popup-content .esri-feature-media__chart {\n background: #fff;\n }\n\n .instant-apps-export-print__legend-container {\n height: min-content;\n max-width: 300px;\n background: #fff;\n }\n\n .esri-legend--card, .esri-legend--card__service-content {\n flex-flow: row wrap;\n }\n\n .instant-apps-export-print .esri-widget > *:not(.instant-apps-export-print__scale-bar-container > *) {\n background: #fff;\n color: #323232;\n }\n\n .instant-apps-export-print__popup-content * {\n color: #323232;\n }\n\n .instant-apps-export-print .esri-widget__heading {\n margin: 2pt 7pt;\n padding: 0;\n color: #323232;\n }\n\n .instant-apps-export-print .esri-legend__ramp-label:before {\n border-color: rgba(0,0,0,0) rgba(50,50,50,.8) rgba(0,0,0,0) rgba(0,0,0,0);\n }\n\n .instant-apps-export-print .esri-legend--card__section {\n padding: 4pt 0 4pt;\n min-width: unset;\n border-left: none;\n }\n\n .instant-apps-export-print .esri-legend--card__section:first-child {\n border-left: none;\n }\n\n .instant-apps-export-print .esri-legend--card__service {\n border: none;\n flex: 0 1 auto;\n break-inside: avoid;\n }\n\n .instant-apps-export-print .esri-legend--card {\n border: none;\n gap: 6pt 12pt;\n }\n\n .instant-apps-export-print .esri-legend--card:not(:first-child),\n .instant-apps-export-print .esri-compass.esri-widget:not(:first-child) {\n display: none;\n }\n\n .instant-apps-export-print .esri-legend--card__service-caption-container {\n height: unset;\n padding: 0;\n border-bottom: none;\n }\n\n .instant-apps-export-print .esri-legend--card__service-caption-text {\n padding-bottom: 0;\n }\n\n .instant-apps-export-print__compass-container {\n position: absolute;\n top: 65px;\n left: 15px;\n background: #fff;\n box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);\n --calcite-ui-icon-color: #000;\n border-radius: 50%;\n height: fit-content;\n }\n\n .instant-apps-export-print__compass-container .esri-compass {\n background: #fff;\n }\n\n .instant-apps-export-print__compass-container .esri-compass__icon.esri-icon-compass {\n color: #000;\n }\n\n .instant-apps-export-print__compass-container.esri-compass.esri-widget--button {\n background: #fff;\n }\n\n .instant-apps-export-print__scale-bar-container {\n position: absolute;\n bottom: 15px;\n left: 15px;\n }\n\n .instant-apps-export-print__scale-bar-container .esri-scale-bar__bar-container:nth-child(1n+3) {\n display: none;\n }\n\n .instant-apps-export-print__scale-bar-container .esri-scale-bar__line {\n background-color: rgba(255, 255, 255, 0.66);\n }\n\n .instant-apps-export-print__scale-bar-container .esri-scale-bar__line--top {\n border-bottom: 2px solid #323232;\n }\n\n .instant-apps-export-print__scale-bar-container .esri-scale-bar__label {\n color: #323232;\n }\n\n .instant-apps-export-print__scale-bar-container .esri-scale-bar__line--top:before,\n .instant-apps-export-print__scale-bar-container .esri-scale-bar__line--top:after,\n .instant-apps-export-print__scale-bar-container .esri-scale-bar__line--bottom:before,\n .instant-apps-export-print__scale-bar-container .esri-scale-bar__line--bottom:after {\n background-color: #323232;\n border-right: 2px solid #323232;\n }\n\n .instant-apps-export-print__popup-container .esri-feature-media__item-navigation {\n display: none;\n }\n\n .instant-apps-export-print__popup-container .esri-feature-media__chart.esri-feature-media__chart--rendered * {\n width: 100%!important;\n }\n\n .instant-apps-export-print__popup-content .esri-popup__content {\n margin: 0;\n }',document.body.prepend(this.printStyleEl))}handleImgLoaded(){this.exportIsLoading=!0,setTimeout((()=>{this.exportIsLoading=void 0,this.setupViewPrintElements()}),1500)}handleExtraContent(){const t=this.printEl.querySelector("#export-content");null!=t&&(t.innerHTML="",null!=this.extraContent&&this.includeExtraContent?(t.style.display="block",t.append(this.extraContent.cloneNode(!0))):t.style.display="none")}resetPrintContent(){var t,n;if(null!=this.view){null===(t=this.printContainerEl)||void 0===t||t.prepend(this.printEl),null===(n=this.printStyleEl)||void 0===n||n.remove(),this.printStyleEl=void 0;const i=this.printEl.querySelector("#export-content");i&&(i.innerHTML="")}}async updatePopupToPrint(){var t,n;if(null!=this.view&&(null!=this.popupContainerEl&&(this.popupContainerEl.style.display=this.includePopup&&this.view.popup.visible?"block":"none",this.checkPopupOpen()),this.view.popup.visible&&null!=this.view.popup.selectedFeature)){const i=document.createElement(`h${null!==(t=this.view.popup.headingLevel)&&void 0!==t?t:2}`);i.innerHTML=null!==(n=this.view.popup.title)&&void 0!==n?n:"",i.className="esri-widget__heading esri-popup__header-title",null!=this.popupTitleEl&&(this.popupTitleEl.style.display=this.view.popup.title?"block":"none",this.popupTitleEl.innerHTML="",this.popupTitleEl.prepend(i))}}updateExportOutput(){this.output={},this.showHeaderTitle&&(this.output.headerTitle=this.headerTitle),this.showIncludeLegend&&(this.output.includeLegend=this.includeLegend),this.showIncludeMap&&(this.output.includeMap=this.includeMap),this.showIncludePopup&&(this.output.includePopup=this.includePopup),this.exportOutputUpdated.emit()}setupViewPrintElements(){if(null!=this.view){this.handleLegendSetup();const t=document.title;this.showHeaderTitle&&this.headerTitle&&(document.title=this.headerTitle),window.print(),document.title=t,setTimeout((()=>{this.resetPrintContent()}),1e3)}}handleLegendSetup(){this.showIncludeLegend&&null!=this.view&&this.includeMap&&null!=this.legendContainerEl&&(this.legendContainerEl.style.display=this.includeLegend?"block":"none")}handleWidgetCreation(){this.handleLegendCreation(),this.handleCompassCreation(),this.handleScaleBarCreation()}handleLegendCreation(){var t,n;if(this.includeMap&&null!=this.view&&this.showIncludeLegend&&null!=this.legendContainerEl){const i=this.view.map,s=null===(n=null===(t=this.legend)||void 0===t?void 0:t.view)||void 0===n?void 0:n.map;(null==i?void 0:i.portalItem.id)===(null==s?void 0:s.portalItem.id)||this.updateLegend()}}updateLegend(){var t;null===(t=this.view)||void 0===t||t.when((async t=>{var n;if(null===(n=this.legend)||void 0===n||n.destroy(),null!=this.legendContainerEl){this.legendContainerEl.innerHTML="";const[n]=await a(["esri/widgets/Legend"]);this.legend=new n({container:this.legendContainerEl,view:t,style:{type:"card",layout:"side-by-side"}})}}))}handleCompassCreation(){var t,n;if(this.includeMap&&null!=this.view&&null!=this.compassContainerEl){const i=this.view.map,s=null===(n=null===(t=this.compass)||void 0===t?void 0:t.view)||void 0===n?void 0:n.map;(null==i?void 0:i.portalItem.id)===(null==s?void 0:s.portalItem.id)||this.updateCompass()}}updateCompass(){var t;null===(t=this.view)||void 0===t||t.when((async t=>{var n;null===(n=this.compass)||void 0===n||n.destroy(),this.compass=null;const i=document.createElement("div");this.compassContainerEl.append(i);const[s]=await a(["esri/widgets/Compass"]);this.compass=new s({container:i,view:t})}))}handleScaleBarCreation(){var t,n;if(this.showScaleBar&&this.includeMap&&null!=this.view&&"2d"===this.view.type&&null!=this.scaleBarContainerEl){const i=this.view.map,s=null===(n=null===(t=this.scaleBar)||void 0===t?void 0:t.view)||void 0===n?void 0:n.map;(null==i?void 0:i.portalItem.id)===(null==s?void 0:s.portalItem.id)&&this.scaleBarContainerEl.innerHTML||this.updateScaleBar()}}updateScaleBar(){var t;null===(t=this.view)||void 0===t||t.when((async t=>{var n;null===(n=this.scaleBar)||void 0===n||n.destroy(),this.scaleBar=null,this.scaleBarContainerEl.innerHTML="";const[i]=await a(["esri/widgets/ScaleBar"]);this.scaleBar=new i({container:this.scaleBarContainerEl,unit:"dual",view:t})}))}async viewScreenshot(){if(null!=this.view&&this.includeMap){const t=await this.view.takeScreenshot({width:this.view.width,height:this.view.height}),n=494;null!=this.viewEl&&null!=this.viewWrapperEl&&(this.view.width<800?(this.viewWrapperEl.style.width=`${this.view.width}px`,this.viewWrapperEl.style.maxWidth=""):(this.viewWrapperEl.style.maxWidth=`${this.view.width}px`,this.viewWrapperEl.style.width=""),this.viewWrapperEl.style.height=this.view.height<n?`${this.view.height}px`:"",this.viewEl.style.backgroundImage=`url("${t.dataUrl}")`)}}checkPopupOpen(){if(null!=this.view){const t=this.view.popup.container,n=null==t?void 0:t.querySelector(".esri-popup .esri-feature__main-container");if(null!=n){const t=n.querySelectorAll("canvas");this.popupContentEl.innerHTML="",this.popupContentEl.append(n.cloneNode(!0));const i=this.popupContentEl.querySelectorAll("canvas");t.forEach(((t,n)=>{var s;const e=t.toDataURL(),o=document.createElement("img");o.src=e;const a=t.getAttribute("style");a&&o.setAttribute("style",a);const r=i[n];null!=r&&(r.replaceWith(o),document.querySelector("link[href*='esri/themes/dark/main.css']")&&null!=(null===(s=o.parentElement)||void 0===s?void 0:s.parentElement)&&(o.parentElement.style.background="#242424",o.parentElement.parentElement.style.background="#242424"))}))}}}get el(){return e(this)}static get watchers(){return{includeMap:["watchIncludeMap"]}}};m.style=":host{display:block;--instant-apps-export-action-background:var(--calcite-color-foreground-1);--instant-apps-export-action-background-hover:var(--calcite-color-foreground-2);--instant-apps-export-action-background-press:var(--calcite-color-foreground-3);--instant-apps-export-action-height:100%;--instant-apps-export-action-width:fit-content;--instant-apps-export-action-icon-color:var(--calcite-color-text-3);--instant-apps-export-action-icon-hover-color:var(--calcite-color-text-1);--instant-apps-export-background:var(--calcite-color-foreground-1);--instant-apps-export-text-color:var(--calcite-color-text-1);--instant-apps-export-popover-width:250px}.instant-apps-export{height:100%}.instant-apps-export *{box-sizing:border-box}.instant-apps-export__popover-container,.instant-apps-export__inline-container{padding:12px;background:var(--instant-apps-export-background);--calcite-color-text-1:var(--instant-apps-export-text-color)}.instant-apps-export__popover-container{width:var(--instant-apps-export-popover-width)}.instant-apps-export calcite-action{height:var(--instant-apps-export-action-height);width:var(--instant-apps-export-action-width);--calcite-color-foreground-1:var(--instant-apps-export-action-background);--calcite-color-foreground-2:var(--instant-apps-export-action-background-hover);--calcite-color-foreground-3:var(--instant-apps-export-action-background-press);--calcite-color-text-3:var(--instant-apps-export-action-icon-color);--calcite-color-text-1:var(--instant-apps-export-action-icon-hover-color)}.instant-apps-export .instant-apps-export-print{display:none}.instant-apps-export__visually-hidden{position:absolute;top:0;z-index:-1;visibility:hidden}.instant-apps-export calcite-input{--calcite-color-foreground-1:var(--instant-apps-export-background);--calcite-color-text-1:var(--instant-apps-export-text-color)}.instant-apps-export calcite-popover{--calcite-color-foreground-1:var(--instant-apps-export-background)}.instant-apps-export calcite-switch{--calcite-color-foreground-1:#fff;--calcite-color-foreground-2:#f3f3f3}.instant-apps-export .calcite-mode-dark calcite-switch{--calcite-color-foreground-1:#2b2b2b;--calcite-color-foreground-2:#202020}.instant-apps-export__compass-container.esri-widget{background:#fff;box-shadow:0 1px 2px rgba(0, 0, 0, 0.3)}.instant-apps-export__compass-container.esri-widget .esri-compass__icon.esri-icon-compass{color:#6e6e6e}";export{m as instant_apps_export}
@@ -1,6 +0,0 @@
1
- /*!
2
- * Copyright 2022 Esri
3
- * Licensed under the Apache License, Version 2.0
4
- * http://www.apache.org/licenses/LICENSE-2.0
5
- */
6
- import{r as t,h as n,H as a,g as i}from"./p-78780f63.js";var e;!function(t){t.TopLeft="top-left",t.TopCenter="top-center",t.TopRight="top-right",t.CenterLeft="center-left",t.Center="center",t.CenterRight="center-right",t.BottomLeft="bottom-left",t.BottomCenter="bottom-center",t.BottomRight="bottom-right"}(e||(e={}));const s={s:" instant-apps-landing-page__icon-image-scale--s",m:" instant-apps-landing-page__icon-image-scale--m",l:" instant-apps-landing-page__icon-image-scale--l"},p=class{constructor(n){t(this,n),this.titleText=void 0,this.subtitleText=void 0,this.descriptionText=void 0,this.entryButtonText=void 0,this.iconImage=void 0,this.iconImageScale="m",this.iconImageAltText=void 0,this.alignment=e.Center,this.disableTransition=!0,this.backgroundImageSrc=void 0,this.open=!0,this.entryButtonScale="l"}render(){return n(a,null,this.renderLandingPageContent())}renderLandingPageContent(){const t=this.open?"":this.disableTransition?" instant-apps-landing-page--closed-no-transition":" instant-apps-landing-page--closed",a=this.getAlignmentClass();return n("div",{style:this.backgroundImageSrc?{backgroundSize:"cover",backgroundImage:`url("${this.backgroundImageSrc}")`,backgroundRepeat:"no-repeat"}:{},class:`instant-apps-landing-page${a}${t}${this.disableTransition?" instant-apps-landing-page__remove-transition":""}`},n("div",{class:"instant-apps-landing-page__content-container"},this.renderIconImage(),this.renderTitleText(),this.renderSubtitleText(),this.renderDescriptionText()),n("div",{class:"instant-apps-landing-page__button-container"},this.renderEntryButton(),n("slot",{name:"secondary-action"})))}renderIconImage(){return this.iconImage?n("img",{class:`instant-apps-landing-page__icon-image${this.getIconImageScale()}`,src:this.iconImage,alt:this.iconImageAltText}):null}renderTitleText(){return n("h1",{class:"instant-apps-landing-page__title-text"},this.titleText)}renderSubtitleText(){return n("span",{class:"instant-apps-landing-page__subtitle-text"},this.subtitleText)}renderDescriptionText(){return n("p",{class:"instant-apps-landing-page__description-text"},this.descriptionText)}renderEntryButton(){return n("calcite-button",{class:"instant-apps-landing-page__entry-button",onClick:()=>this.open=!1,scale:this.entryButtonScale,appearance:"outline-fill"},this.entryButtonText)}getAlignmentClass(){return` instant-apps-landing-page__alignment--${this.alignment}`}getIconImageScale(){const{iconImageScale:t}=this,{s:n,m:a,l:i}=s;return"l"===t?i:"s"===t?n:a}get el(){return i(this)}};p.style=":host{--instant-apps-landing-page-background-color:var(--calcite-color-brand);--instant-apps-landing-page-text-color:var(--calcite-color-text-inverse);--instant-apps-landing-page-entry-button-color:var(--calcite-color-brand);--instant-apps-landing-page-title-text-font-size:var(--calcite-font-size-6);--instant-apps-landing-page-subtitle-text-font-size:var(--calcite-font-size-3);--instant-apps-landing-page-description-text-font-size:var(--calcite-font-size-0);--instant-apps-landing-page-icon-image-scale--s:100px;--instant-apps-landing-page-icon-image-scale--m:250px;--instant-apps-landing-page-icon-image-scale--l:500px;--instant-apps-landing-page-entry-button-margin:0}:host .instant-apps-landing-page{box-sizing:border-box;position:absolute;top:0;left:0;z-index:9000;display:flex;flex-direction:column;width:100%;height:100%;padding:2.5%;transition:top 0.5s ease-in-out;background-color:var(--instant-apps-landing-page-background-color);color:var(--instant-apps-landing-page-text-color)}:host .instant-apps-landing-page__title-text{color:var(--instant-apps-landing-page-text-color);font-size:var(--instant-apps-landing-page-title-text-font-size);margin:0}:host .instant-apps-landing-page__subtitle-text{font-weight:var(--calcite-font-weight-medium);font-size:var(--instant-apps-landing-page-subtitle-text-font-size);text-align:center}:host .instant-apps-landing-page__description-text{font-size:var(--instant-apps-landing-page-description-text-font-size);width:50%;min-width:250px}:host .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__subtitle-text{text-shadow:0px 4px 3px rgba(0, 0, 0, 0.4), 0px 8px 13px rgba(0, 0, 0, 0.1), 0px 18px 23px rgba(0, 0, 0, 0.1)}:host .instant-apps-landing-page__icon-image{margin-bottom:5px;max-width:50%}:host .instant-apps-landing-page__icon-image-scale--s{width:100px}:host .instant-apps-landing-page__icon-image-scale--m{width:250px}:host .instant-apps-landing-page__icon-image-scale--l{width:500px}:host .instant-apps-landing-page__button-container{display:flex}:host .instant-apps-landing-page__button-container .instant-apps-landing-page__entry-button{margin:var(--instant-apps-landing-page-entry-button-margin)}:host .instant-apps-landing-page__entry-button{--calcite-color-brand:var(--instant-apps-landing-page-entry-button-color);--calcite-color-brand-hover:var(--instant-apps-landing-page-entry-button-color);--calcite-color-brand-press:var(--instant-apps-landing-page-entry-button-color)}:host .instant-apps-landing-page__remove-transition{transition:none}:host .instant-apps-landing-page--closed-no-transition{display:none}:host .instant-apps-landing-page--closed{top:-100%}:host .instant-apps-landing-page__alignment--top-center{justify-content:flex-start;align-items:center}:host .instant-apps-landing-page__alignment--top-center .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:center;justify-content:center}:host .instant-apps-landing-page__alignment--top-center .instant-apps-landing-page__description-text{text-align:center}:host .instant-apps-landing-page__alignment--center{justify-content:center;align-items:center}:host .instant-apps-landing-page__alignment--center .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:center}:host .instant-apps-landing-page__alignment--center .instant-apps-landing-page__description-text{text-align:center}:host .instant-apps-landing-page__alignment--bottom-center{justify-content:flex-end;align-items:center}:host .instant-apps-landing-page__alignment--bottom-center .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:center}:host .instant-apps-landing-page__alignment--bottom-center .instant-apps-landing-page__description-text{text-align:center}:host .instant-apps-landing-page__alignment--top-left{justify-content:flex-start;align-items:flex-start}:host .instant-apps-landing-page__alignment--top-left .instant-apps-landing-page__description-text{text-align:left}:host .instant-apps-landing-page__alignment--center-left{justify-content:center;align-items:flex-start}:host .instant-apps-landing-page__alignment--center-left .instant-apps-landing-page__description-text{text-align:left}:host .instant-apps-landing-page__alignment--bottom-left{justify-content:flex-end;align-items:flex-start}:host .instant-apps-landing-page__alignment--bottom-left .instant-apps-landing-page__description-text{text-align:left}:host .instant-apps-landing-page__alignment--top-right{justify-content:flex-start;align-items:flex-end}:host .instant-apps-landing-page__alignment--top-right .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:flex-end}:host .instant-apps-landing-page__alignment--top-right .instant-apps-landing-page__description-text{text-align:right}:host .instant-apps-landing-page__alignment--center-right{justify-content:center;align-items:flex-end}:host .instant-apps-landing-page__alignment--center-right .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:flex-end}:host .instant-apps-landing-page__alignment--center-right .instant-apps-landing-page__description-text{text-align:right}:host .instant-apps-landing-page__alignment--bottom-right{justify-content:flex-end;align-items:flex-end}:host .instant-apps-landing-page__alignment--bottom-right .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:flex-end}:host .instant-apps-landing-page__alignment--bottom-right .instant-apps-landing-page__description-text{text-align:right}@media only screen and (max-width: 768px){:host .instant-apps-landing-page__icon-image{max-width:70%;margin-bottom:20px}:host .instant-apps-landing-page__description-text{width:80%}:host .instant-apps-landing-page__title-text{font-size:var(--calcite-font-size-3)}:host .instant-apps-landing-page__subtitle-text{font-size:var(--calcite-font-size-0)}:host .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:center;margin-top:auto}:host .instant-apps-landing-page__button-container{display:flex;flex-direction:column;width:100%;margin-top:auto}:host .instant-apps-landing-page__button-container .instant-apps-landing-page__entry-button{width:100%;margin-right:unset;margin-bottom:10px}}@media only screen and (max-width: 896px) and (orientation: landscape){:host .instant-apps-landing-page__icon-image{max-width:25%}}";export{p as instant_apps_landing_page}
@@ -1,6 +0,0 @@
1
- /*!
2
- * Copyright 2022 Esri
3
- * Licensed under the Apache License, Version 2.0
4
- * http://www.apache.org/licenses/LICENSE-2.0
5
- */
6
- import{r as i,h as t,H as s,g as e,c as h}from"./p-78780f63.js";import{g as o}from"./p-6b943f52.js";import{q as a,a as l,g as n,b as d,c as r,d as c}from"./p-b5d1b979.js";import{l as p}from"./p-48ff9cea.js";import{d as v}from"./p-d4afcf86.js";import"./p-d918ec36.js";import"./p-e1a4994d.js";import"./p-4af32c75.js";import"./p-d89fff3a.js";import"./p-a230b270.js";import"./p-220ec0d1.js";const u=class{constructor(t){i(this,t),this.isMobile=void 0,this.layer=void 0,this.mapView=void 0,this.zoomAndScrollToSelected=void 0,this._cardLoading=!1,this._graphics=void 0,this._translations=void 0}async featureSelectionChange(i){const t=i.detail;this._cardLoading=!0;const s=t.length>0?await a(t,this.layer,[],!1,this.mapView.spatialReference):[];this._graphics=s.sort(((i,s)=>t.indexOf(i.getObjectId())-t.indexOf(s.getObjectId()))),this._cardLoading=!1}async layerSelectionChange(i){const t=i.detail[0];this.layer=await l(this.mapView,t)}async componentWillLoad(){await this._getTranslations()}render(){var i,e;const h=(null===(i=this._graphics)||void 0===i?void 0:i.length)>0?"":"display-none",o=(null===(e=this._graphics)||void 0===e?void 0:e.length)>0?"display-none":"";return t(s,null,t("div",{class:"overflow-auto height-full"},t("calcite-shell",{class:"position-relative "+h},t("div",null,t("info-card",{graphics:this._graphics,isLoading:this._cardLoading,isMobile:this.isMobile,mapView:this.mapView,zoomAndScrollToSelected:this.zoomAndScrollToSelected}))),t("calcite-shell",{class:"position-relative "+o},t("div",{class:"padding-1"},t("calcite-notice",{icon:"table",open:!0},t("div",{slot:"message"},this._translations.selectFeaturesToStart))))))}async _getTranslations(){const i=await o(this.el);this._translations=i[0]}get el(){return e(this)}};u.style=":host{display:block !important}.display-flex{display:flex}.display-none{display:none}.w-100{width:100%}.padding-bottom-1{padding-bottom:1rem}.padding-1{padding:1rem}.position-relative{position:relative}.focus-margin{margin:1px 1px 0px 1px}.overflow-auto{overflow:auto}.height-full{height:100%}card-manager{display:block}";const b=class{constructor(t){i(this,t),this.featureSelectionChange=h(this,"featureSelectionChange",7),this._allIds=[],this._ctrlIsPressed=!1,this._defaultGlobalIdHonored=!1,this._defaultOidHonored=!1,this._observerSet=!1,this._shiftIsPressed=!1,this._skipOnChange=!1,this._tableSorting=!1,this.onTableNodeCreate=i=>{this._tableNode=i},this.defaultLayerId=void 0,this.defaultGlobalId=void 0,this.defaultOid=void 0,this.enableAutoRefresh=void 0,this.enableColumnReorder=!0,this.enableCSV=void 0,this.enableInlineEdit=void 0,this.enableShare=void 0,this.isMobile=void 0,this.mapInfo=void 0,this.mapView=void 0,this.onlyShowUpdatableLayers=void 0,this.shareIncludeEmbed=void 0,this.shareIncludeSocial=void 0,this.showNewestFirst=void 0,this.zoomAndScrollToSelected=void 0,this._confirmDelete=!1,this._controlsThatFit=void 0,this._fetchingData=!1,this._filterActive=!1,this._filterOpen=!1,this._isDeleting=!1,this._layer=void 0,this._selectAllActive=!1,this._selectedIndexes=[],this._showHideOpen=!1,this._showOnlySelected=!1,this._sortActive=!1,this._translations=void 0}enableCSVWatchHandler(){var i;(null===(i=this._toolInfos)||void 0===i?void 0:i.length)>0&&this._initToolInfos()}enableInlineEditWatchHandler(){this._table&&(this._table.editingEnabled=this._editEnabled&&this.enableInlineEdit)}_controlsThatFitWatchHandler(){var i;const t=this._controlsThatFit?this._controlsThatFit.reduce(((i,t)=>(i.push(t.id),i)),[]):[];this._toolInfos=null===(i=this._toolInfos)||void 0===i?void 0:i.map((i=>{if(i&&this._controlsThatFit){const s=this._getId(i.icon);return i.isOverflow=t.indexOf(s)<0,i}}))}isMobileWatchHandler(){this._toolInfos||this.isMobile||this._initToolInfos()}async mapInfoWatchHandler(){var i;(null===(i=this._toolInfos)||void 0===i?void 0:i.length)>0&&this._initToolInfos()}async mapViewWatchHandler(){this._mapClickHandle&&this._mapClickHandle.remove(),this.mapView&&(this._updateShareUrl(),this._mapClickHandle=this.reactiveUtils.on((()=>this.mapView),"click",(i=>{this._mapClicked(i)})))}async _layerWatchHandler(){this._fetchingData=!0,this._definitionExpression=this._layer.definitionExpression,await this._resetTable(),this._updateShareUrl(),this._initLayerExpressions(),this._fetchingData=!1}async _selectedIndexesWatchHandler(){this._updateShareUrl(),this._validateEnabledActions(),this._selectAllActive&&this._selectedIndexes.length!==this._allIds.length&&(this._selectAllActive=!1)}async _sortActiveWatchHandler(){this._sortActive||await this._sortTable()}async deleteFeatures(){return this._delete()}async selectionChanged(i){const t=i.detail[0],s=t.getObjectId();if(this.zoomAndScrollToSelected){const i=this._table.viewModel.getObjectIdIndex(s);this._table.scrollToIndex(i);const e=t.layer;let h;this.mapView.allLayerViews.toArray().some((i=>{if(i.layer.title===e.title&&"feature"===i.layer.type)return h=i,!0})),h&&await n([s],h,this.mapView,!0)}}async editsComplete(){await this._refresh()}noLayersFound(){this._layer=void 0,this._allIds=[],this._clearSelection()}async componentWillLoad(){await this._getTranslations(),await this._initModules(),this._initToolInfos(),this._resizeObserver||(this._resizeObserver=new ResizeObserver((()=>this._onResize())))}render(){const i=this._fetchingData?"display-none":"",e=this._fetchingData?"":"display-none",h=this._allIds.length.toString(),o=this._selectedIndexes.length.toString(),a=this.isMobile?"height-full":"height-full-adjusted";return this._validateActiveActions(),t(s,null,t("calcite-shell",null,this._getTableControlRow("header"),t("div",{class:`width-full ${a}`},t("calcite-panel",{class:"height-full width-full"},t("calcite-loader",{class:e,label:this._translations.fetchingData,scale:"l"}),t("div",{class:i,ref:this.onTableNodeCreate})),this.isMobile?void 0:t("div",{class:"bottom-left text-color height-19"},this._translations.recordsSelected.replace("{{total}}",h).replace("{{selected}}",o)))),this._deleteMessage(),this._filterModal())}async componentDidLoad(){this.isMobile||this._observerSet||(this._resizeObserver.observe(this._toolbar),this._observerSet=!0),document.onclick=i=>this._handleDocumentClick(i),document.onkeydown=i=>this._handleKeyDown(i),document.onkeyup=i=>this._handleKeyUp(i)}componentDidRender(){this._updateToolbar()}async _initModules(){const[i,t]=await p(["esri/widgets/FeatureTable","esri/core/reactiveUtils"]);this.FeatureTable=i,this.reactiveUtils=t}_onResize(){this._updateToolbar()}_getTableControlRow(i){return t("div",{class:"display-flex border-bottom height-51",ref:i=>this._toolbar=i,slot:i},this._getActionBar(),this.isMobile?void 0:this._getDropdown("more-table-options"),this.enableShare&&!this.isMobile?this._getShare("share"):void 0)}_getActionBar(){const i=this.isMobile?"width-full":"",s=this.isMobile?"border-top":"";return t("calcite-action-bar",{class:i,expandDisabled:!0,expanded:!0,id:this._getId("bar"),layout:"horizontal"},t("div",{class:`border-end ${i} ${s}`,id:"solutions-map-layer-picker-container"},t("map-layer-picker",{appearance:"transparent",defaultLayerId:this.defaultLayerId,display:"inline-flex",height:50,isMobile:this.isMobile,mapView:this.mapView,onLayerSelectionChange:i=>this._layerSelectionChanged(i),onlyShowUpdatableLayers:this.onlyShowUpdatableLayers,placeholderIcon:"layers",scale:"l",showSingleLayerAsLabel:!0,showTables:!0,type:"dropdown"})),this.isMobile?void 0:this._getActions())}_getActions(){return this._getActionItems().reduce(((i,s)=>(s&&!s.isOverflow&&i.push(s.isDanger?this._getDangerAction(s.icon,s.label,s.func,s.disabled):s.isSublist?t("calcite-dropdown",{closeOnSelectDisabled:!0,id:this._getId(s.icon),onCalciteDropdownBeforeClose:()=>this._forceShowHide(),ref:i=>this._showHideDropdown=i},this._getAction(s.active,this._showHideOpen?"chevron-down":s.icon,s.indicator,s.label,s.func,s.disabled,"trigger"),this._showHideOpen?this._getFieldlist():void 0):this._getAction(s.active,s.icon,s.indicator,s.label,s.func,s.disabled)),i)),[])}_getFieldlist(){return this._columnsInfo?t("calcite-dropdown-group",{"selection-mode":"multiple"},Object.keys(this._columnsInfo).map((i=>t("calcite-dropdown-item",{id:i,onClick:i=>{const t=i.target;this._columnsInfo[t.id]=t.selected,t.selected?this._table.showColumn(t.id):this._table.hideColumn(t.id)},selected:this._columnsInfo[i]},i)))):void 0}_validateEnabledActions(){var i;const t=this._featuresSelected(),s=["zoom-to-object","trash","erase","selected-items-filter"];null===(i=this._toolInfos)||void 0===i||i.forEach((i=>{i&&s.indexOf(i.icon)>-1&&(i.disabled=!t)}))}_validateActiveActions(){var i;const t=["filter","list-check-all"];null===(i=this._toolInfos)||void 0===i||i.forEach((i=>{i&&t.indexOf(i.icon)>-1&&("filter"===i.icon&&(i.indicator=this._filterActive),"list-check-all"===i.icon&&(i.active=this._selectAllActive))}))}_initToolInfos(){const i=this._featuresSelected(),t=this._featuresEmpty(),s=this._hasFilterExpressions();this._toolInfos=[{active:!1,icon:"zoom-to-object",indicator:!1,label:this._translations.zoom,func:()=>this._zoom(),disabled:!i,isOverflow:!1},s?{active:!1,icon:"filter",indicator:!1,label:this._translations.filters,func:()=>this._toggleFilter(),disabled:!1,isOverflow:!1}:void 0,this._deleteEnabled?{active:!1,icon:"trash",indicator:!1,label:this._translations.delete,func:()=>this._delete(),disabled:!i,isDanger:!0,isOverflow:!1}:void 0,{active:!1,icon:"erase",indicator:!1,label:this._translations.clearSelection,func:()=>this._clearSelection(),disabled:!i,isOverflow:!1},{active:!1,icon:"selected-items-filter",indicator:!1,label:this._showOnlySelected?this._translations.showAll:this._translations.showSelected,func:()=>this._toggleShowSelected(),disabled:!i,isOverflow:!1},{active:!1,icon:"list-check-all",indicator:!1,func:()=>this._selectAll(),label:this._translations.selectAll,disabled:t,isOverflow:!1},{active:!1,icon:"compare",indicator:!1,func:()=>this._switchSelected(),label:this._translations.switchSelected,disabled:t,isOverflow:!1},{active:!1,icon:"refresh",indicator:!1,func:()=>this._refresh(),label:this._translations.refresh,disabled:!1,isOverflow:!1},this.enableCSV?{active:!1,icon:"export",indicator:!1,func:()=>{this._exportToCSV()},label:this._translations.exportCSV,disabled:t,isOverflow:!1}:void 0,{active:!1,icon:this._showHideOpen?"chevron-down":"chevron-right",indicator:!1,func:()=>this._toggleShowHide(),label:this._translations.showHideColumns,disabled:!1,isOverflow:!1,isSublist:!0}],this._defaultVisibleToolSizeInfos=void 0}_featuresSelected(){return this._selectedIndexes.length>0}_featuresEmpty(){return 0===this._allIds.length}_hasFilterExpressions(){var i,t,s;let e;return(null===(t=null===(i=this.mapInfo)||void 0===i?void 0:i.filterConfig)||void 0===t?void 0:t.layerExpressions)&&(null===(s=this._layer)||void 0===s?void 0:s.id)&&(e=this.mapInfo.filterConfig.layerExpressions.filter((i=>i.id===this._layer.id))),(null==e?void 0:e.length)>0}_updateToolbar(){this._timeout&&clearTimeout(this._timeout),this.isMobile||(this._timeout=setTimeout((()=>{clearTimeout(this._timeout),this._setToolbarSizeInfos();const i=this._toolbar.offsetWidth;let t=this._toolbarSizeInfos.reduce(((i,t)=>i+t.width),0);const s=["solutions-more","solutions-map-layer-picker-container","solutions-action-share"];if(t>i){if(this._toolbarSizeInfos.length>0){const e=[...this._toolbarSizeInfos].reverse().reduce(((e,h)=>(s.indexOf(h.id)<0&&(t>i?t-=h.width:e.push(h)),e)),[]).reverse();this._setControlsThatFit(e,s)}}else if(this._defaultVisibleToolSizeInfos){const e=this._toolbarSizeInfos.reduce(((i,t)=>(i.push(t.id),i)),[]);let h=!1;const o=[...this._defaultVisibleToolSizeInfos].reduce(((o,a)=>(!h&&s.indexOf(a.id)<0&&(e.indexOf(a.id)>-1||t+a.width<=i)?(e.indexOf(a.id)<0&&(t+=a.width),o.push(a)):s.indexOf(a.id)<0&&t+a.width>i&&(h=!0),o)),[]);this._setControlsThatFit(o,s)}}),5))}_setControlsThatFit(i,t){let s=JSON.stringify(i)!==JSON.stringify(this._controlsThatFit);document.getElementById("solutions-action-bar").childNodes.forEach((i=>{t.indexOf(i.id)<0&&!s&&(s=this._controlsThatFit.map((i=>i.id)).indexOf(i.id)<0)})),s&&(this._controlsThatFit=[...i])}_setToolbarSizeInfos(){let i=!1;this._toolbarSizeInfos=[],this._toolbar.childNodes.forEach(((t,s)=>{0===s?t.childNodes.forEach((t=>{this._toolbarSizeInfos.push({id:t.id,width:t.offsetWidth}),i||(i=t.offsetWidth>0)})):t.referenceElement||(this._toolbarSizeInfos.push({id:t.id,width:t.offsetWidth}),i||(i=t.offsetWidth>0))})),i&&!this._defaultVisibleToolSizeInfos&&(this._defaultVisibleToolSizeInfos=[...this._toolbarSizeInfos])}_getActionItems(){var i;return null===(i=this._toolInfos)||void 0===i?void 0:i.filter((i=>i&&!i.isOverflow))}_getDropdown(i){const s=this._getDropdownItems();return s.length>0?t("calcite-dropdown",{closeOnSelectDisabled:!0,disabled:void 0===this._layer,id:"solutions-more",onCalciteDropdownBeforeClose:()=>this._forceShowHide(),ref:i=>this._moreDropdown=i},t("calcite-action",{appearance:"solid",id:i,label:"",onClick:()=>this._closeShowHide(),slot:"trigger",text:""},t("calcite-button",{appearance:"transparent",iconEnd:"chevron-down",kind:"neutral"},this._translations.more)),t("calcite-dropdown-group",{"selection-mode":"none"},s.map((i=>t("calcite-dropdown-group",{class:i.disabled?"disabled":"",selectionMode:i.disabled?"none":"single"},t("calcite-dropdown-item",{iconStart:i.isSublist&&this._showHideOpen?"chevron-down":i.icon,id:"solutions-subset-list",onClick:i.func},i.label))))),this._showHideOpen?this._getFieldlist():void 0):void 0}_getDropdownItems(){var i;return null===(i=this._toolInfos)||void 0===i?void 0:i.filter((i=>i&&i.isOverflow))}_getAction(i,s,e,h,o,a,l){const n=void 0===this._layer||a;return t("div",{class:"display-flex",id:this._getId(s),slot:l},t("calcite-action",{active:i,appearance:"solid",disabled:n,icon:s,id:s,indicator:e,label:h,onClick:o,text:h,textEnabled:!0}),this._getToolTip("bottom",s,h))}_getShare(i){return t("div",{class:"share-action",id:this._getId(i)},t("instant-apps-social-share",{autoUpdateShareUrl:!1,class:"instant-app-share",embed:this.shareIncludeEmbed,popoverButtonIconScale:"s",ref:i=>this._shareNode=i,scale:"m",shareButtonColor:"neutral",shareButtonType:"action",socialMedia:this.shareIncludeSocial,view:this.mapView}),this._getToolTip("bottom",i,this._translations.share))}_updateShareUrl(){var i,t,s,e;const h=null===(i=this._shareNode)||void 0===i?void 0:i.shareUrl;if(!h)return;const o=new URL(h);(null===(t=this.mapInfo)||void 0===t?void 0:t.id)&&o.searchParams.set("webmap",this.mapInfo.id),(null===(s=this._layer)||void 0===s?void 0:s.id)&&o.searchParams.set("layer",this._layer.id),(null===(e=this._selectedIndexes)||void 0===e?void 0:e.length)>0&&o.searchParams.set("oid",this._selectedIndexes.join(",")),this._shareNode.shareUrl=o.href}_getToolTip(i,s,e){return t("calcite-tooltip",{placement:i,"reference-element":s},t("span",null,e))}_getId(i){return`solutions-action-${i}`}_getDangerAction(i,s,e,h){const o=void 0===this._layer||h;return t("div",{class:"display-flex",id:this._getId(i)},t("calcite-action",{appearance:"solid",disabled:o,id:i,onClick:e,text:""},t("calcite-button",{appearance:"transparent",iconStart:i,kind:"danger"},s)),this._getToolTip("bottom",i,s))}async _getTable(i,t){this._layer&&(await this._layer.when((()=>{this._table=new this.FeatureTable({autoRefreshEnabled:this.enableAutoRefresh,layer:this._layer,view:this.mapView,columnReorderingEnabled:this.enableColumnReorder,editingEnabled:this._editEnabled&&this.enableInlineEdit,highlightEnabled:!0,multiSortEnabled:!1,visibleElements:{header:!1,menu:!1},tableTemplate:{columnTemplates:t},container:i})})),this._initColumnsInfo(),this._checkEditEnabled(),await this._table.when((()=>{this._table.highlightIds.on("change",(i=>{this._handleOnChange(i)})),this.reactiveUtils.watch((()=>this._table.activeSortOrders),(i=>{var t,s,e,h;this._sortActive=!!this._layer&&(i.length>0&&"asc"===(null===(t=i[0])||void 0===t?void 0:t.direction)||"desc"===(null===(s=i[0])||void 0===s?void 0:s.direction)||null===(null===(e=i[0])||void 0===e?void 0:e.direction)&&(null===(h=i[0])||void 0===h?void 0:h.fieldName)===this._layer.objectIdField)}))})))}async _handleOnChange(i){const t=[...this._table.highlightIds.toArray()];if(this._skipOnChange)this._skipOnChange=!1;else{if(this._ctrlIsPressed||this._shiftIsPressed){if(this._ctrlIsPressed)this._selectedIndexes=t.reverse();else if(this._shiftIsPressed&&(this._skipOnChange=!0,this._previousCurrentId=this._currentId,this._currentId=[...this._table.highlightIds.toArray()].reverse()[0],this._previousCurrentId!==this._currentId)){const i=this._table.activeSortOrders.reduce(((i,t)=>(i.push(`${t.fieldName} ${t.direction}`),i)),[]),s=await d(this._layer,this._layer.definitionExpression,i);let e=!1;const h=this._table.viewModel.getObjectIdIndex(this._previousCurrentId),o=this._table.viewModel.getObjectIdIndex(this._currentId),a=h<o?h:o,l=o>h?o:h;this._selectedIndexes=s.reduce(((i,t)=>{const s=t,h=this._table.viewModel.getObjectIdIndex(s);return s!==this._currentId&&s!==this._previousCurrentId||(e=!e,i.indexOf(s)<0&&i.push(s)),e&&i.indexOf(s)<0&&i.push(s),(this._selectedIndexes.indexOf(s)>-1||h>=a&&h<=l)&&i.indexOf(s)<0&&h>-1&&i.push(s),i}),[]),this._table.highlightIds.addMany(this._selectedIndexes.filter((i=>t.indexOf(i)<0)))}}else if(this._selectedIndexes.length>0){this._skipOnChange=!0;const s=this._selectedIndexes.length>1&&1===i.removed.length?i.removed:t.filter((i=>this._selectedIndexes.indexOf(i)<0));this._clearSelection(),this._selectedIndexes=[...s],s.length>0?this._table.highlightIds.add(s[0]):this._skipOnChange=!1}else this._selectedIndexes=t.reverse();this._finishOnChange()}this._currentId=[...this._table.highlightIds.toArray()].reverse()[0]}_finishOnChange(){this._showOnlySelected&&(this._featuresSelected()?this._table.filterBySelection():this._toggleShowSelected()),this.featureSelectionChange.emit(this._selectedIndexes)}async _resetTable(){var i;this._clearSelection(),this._allIds=[],this.featureSelectionChange.emit(this._selectedIndexes);const t=this._getColumnTemplates(this._layer.id,null===(i=this._layer)||void 0===i?void 0:i.fields);this._allIds=await r(this._layer),this._table?t&&(this._table.tableTemplate.columnTemplates=t):await this._getTable(this._tableNode,t),this._table.layer=this._layer,this._table.view=this.mapView,this._checkEditEnabled(),this._table.editingEnabled=this._editEnabled&&this.enableInlineEdit,this._initToolInfos(),await this._table.when((async()=>{var i,t;if(this._table.highlightIds.removeAll(),this._table.clearSelectionFilter(),this._initColumnsInfo(),!this._defaultOidHonored&&(null===(i=this.defaultOid)||void 0===i?void 0:i.length)>0&&this.defaultOid[0]>-1&&(this._selectDefaultFeature(this.defaultOid),this._defaultOidHonored=!0),!this._defaultGlobalIdHonored&&(null===(t=this.defaultGlobalId)||void 0===t?void 0:t.length)>0){const i=await c(this.defaultGlobalId,this._layer),t=(null==i?void 0:i.length)>0?i.map((i=>i.getObjectId())):void 0;t&&this._selectDefaultFeature(t),this._defaultGlobalIdHonored=!0}})),this._showOnlySelected=!1,this._sortActive=!1,await this._sortTable()}_initColumnsInfo(){this._columnsInfo=this._table.columns.reduce(((i,t)=>(i[t.name]=!t.hidden,i)),{})}_selectDefaultFeature(i){i.length>0&&(this._table.highlightIds.addMany(i),this._table.when((()=>{const t=this._table.viewModel.getObjectIdIndex(i[0]);this._table.viewModel.scrollToIndex(t)})))}_checkEditEnabled(){this._editEnabled=this._layer.editingEnabled&&this._layer.capabilities.operations.supportsUpdate,this._deleteEnabled=this._layer.editingEnabled&&this._layer.capabilities.operations.supportsDelete}async _sortTable(){this._table&&this._layer&&!this._sortActive&&!this._tableSorting&&this.showNewestFirst&&(this._tableSorting=!0,await this._table.when(),await this._layer.when((()=>{this._table.sortColumn(this._layer.objectIdField,"desc"),this._tableSorting=!1})))}_forceShowHide(){this._showHideDropdown&&(this._showHideDropdown.open=this._showHideOpen),this._moreDropdown&&(this._moreDropdown.open=this._showHideOpen)}_toggleShowHide(){this._showHideOpen=!this._showHideOpen}_closeShowHide(){this._showHideOpen=!1}_handleDocumentClick(i){var t;const s=null===(t=i.target)||void 0===t?void 0:t.id;this._showHideOpen&&Object.keys(this._columnsInfo).indexOf(s)<0&&"solutions-subset-list"!==s&&"chevron-right"!==s&&(this._closeShowHide(),this._moreDropdown&&(this._moreDropdown.open=!1),this._showHideDropdown&&(this._showHideDropdown.open=!1))}_handleKeyDown(i){this._ctrlIsPressed=i.ctrlKey,this._shiftIsPressed=i.shiftKey}_handleKeyUp(i){this._ctrlIsPressed=i.ctrlKey,this._shiftIsPressed=i.shiftKey}_filterModal(){var i,s,e;return t("calcite-modal",{"aria-labelledby":"modal-title",class:"modal",kind:"brand",onCalciteModalClose:async()=>this._closeFilter(),open:this._filterOpen,widthScale:"s"},t("div",{class:"display-flex align-center",id:"modal-title",slot:"header"},null===(s=null===(i=this._translations)||void 0===i?void 0:i.filter)||void 0===s?void 0:s.replace("{{title}}",null===(e=this._layer)||void 0===e?void 0:e.title)),t("div",{slot:"content"},t("instant-apps-filter-list",{autoUpdateUrl:!1,closeBtn:!0,closeBtnOnClick:async()=>this._closeFilter(),layerExpressions:this._layerExpressions,onFilterListReset:()=>this._handleFilterListReset(),onFilterUpdate:()=>this._handleFilterUpdate(),ref:i=>this._filterList=i,view:this.mapView})))}_handleFilterListReset(){this._filterActive=!1}_handleFilterUpdate(){this._filterActive=this._definitionExpression!==this._layer.definitionExpression}async _closeFilter(){this._filterOpen&&(this._allIds=await r(this._layer),this._filterOpen=!1)}_deleteMessage(){return t("calcite-modal",{"aria-labelledby":"modal-title",kind:"danger",onCalciteModalClose:()=>this._deleteClosed(),open:this._confirmDelete},t("div",{class:"display-flex align-center",id:"modal-title",slot:"header"},this._translations.deleteFeature),t("div",{slot:"content"},this._translations.confirm),t("calcite-button",{appearance:"outline",kind:"danger",onClick:()=>this._deleteClosed(),slot:"secondary",width:"full"},this._translations.cancel),t("calcite-button",{kind:"danger",loading:this._isDeleting,onClick:()=>{this._deleteFeatures()},slot:"primary",width:"full"},this._translations.delete))}async _deleteFeatures(){this._isDeleting=!0;const i=this._table.highlightIds.toArray().map((i=>({objectId:i})));await this._layer.applyEdits({deleteFeatures:i}),await this._table.refresh(),this._allIds=await r(this._layer),this._isDeleting=!1,this._deleteClosed()}async _mapClicked(i){const t={include:this._layer},s=await this.mapView.hitTest(i.screenPoint,t);s.results.length>0&&(s.results.forEach((i=>{this._clearSelection();const t=i.graphic.getObjectId(),s=this._table.highlightIds.indexOf(t);s>-1?this._table.highlightIds.removeAt(s):this._table.highlightIds.add(t)})),this._showOnlySelected&&this._table.filterBySelection())}_deleteClosed(){this._confirmDelete=!1}_selectAll(){const i=this._allIds;this._table.highlightIds.removeAll(),this._skipOnChange=!0,this._table.highlightIds.addMany(i),this._selectedIndexes=i,this._finishOnChange(),this._selectAllActive=!0}_toggleShowSelected(){this._showOnlySelected=!this._showOnlySelected,this._showOnlySelected?this._table.filterBySelection():this._table.clearSelectionFilter()}_clearSelection(){var i;this._selectedIndexes=[],null===(i=this._table)||void 0===i||i.highlightIds.removeAll()}_toggleFilter(){this._filterOpen=!this._filterOpen}_initLayerExpressions(){var i,t;const s=null===(t=null===(i=this.mapInfo)||void 0===i?void 0:i.filterConfig)||void 0===t?void 0:t.layerExpressions;this._layerExpressions=s?s.filter((i=>i.id===this._layer.id)):[]}_switchSelected(){const i=[...this._selectedIndexes];this._table.highlightIds.removeAll();const t=this._allIds.reduce(((t,s)=>(i.indexOf(s)<0&&t.push(s),t)),[]).sort(((i,t)=>i-t));this._skipOnChange=!0,this._table.highlightIds.addMany(t),this._selectedIndexes=t,this._finishOnChange()}async _exportToCSV(){const i={},t=this._table.highlightIds.toArray();i[this._layer.id]={selectionSetNames:[this._layer.title],ids:t,layer:this._layer};const s=this._table.columns.toArray().reduce(((i,t)=>(t.hidden||i.push(t.name.toLocaleLowerCase()),i)),[]);v(null,i,!1,!1,!0,s)}async _refresh(){await this._table.refresh(),this.featureSelectionChange.emit(this._selectedIndexes)}_zoom(){this._table.zoomToSelection()}_delete(){this._confirmDelete=!0}async _layerSelectionChanged(i){var t;const s=i.detail[0];if(s!==(null===(t=this._layer)||void 0===t?void 0:t.id)||this._featuresEmpty()){this._fetchingData=!0;const i=await l(this.mapView,s);await i.when((()=>{this._layer=i}))}this._fetchingData=!1}_getColumnTemplates(i,t){var s;let e;null===(s=this.mapInfo.layerInfos)||void 0===s||s.some((t=>{if(t.id===i)return e=t,!0}));let h=null==e?void 0:e.columnTemplates;return t&&(h=h?h.map((i=>(t.some((t=>{if(t.name===i.fieldName)return i.label=t.alias,i.menuConfig=this._getMenuConfig(t.name),!0})),i))):t.map((i=>({type:"field",fieldName:i.name,label:i.alias,menuConfig:this._getMenuConfig(i.name)})))),h}_getMenuConfig(i){return{items:[{label:this._translations.hideField,iconClass:"esri-icon-non-visible",autoCloseMenu:!0,clickFunction:()=>{this._handleHideClick(i)}}]}}_handleHideClick(i){this._columnsInfo[i]=!1,this._table.hideColumn(i),this._table.tableTemplate.columnTemplates.forEach((t=>{t.fieldName===i&&(t.visible=!1)}))}async _getTranslations(){const i=await o(this.el);this._translations=i[0]}get el(){return e(this)}static get watchers(){return{enableCSV:["enableCSVWatchHandler"],enableInlineEdit:["enableInlineEditWatchHandler"],_controlsThatFit:["_controlsThatFitWatchHandler"],isMobile:["isMobileWatchHandler"],mapInfo:["mapInfoWatchHandler"],mapView:["mapViewWatchHandler"],_layer:["_layerWatchHandler"],_selectedIndexes:["_selectedIndexesWatchHandler"],_sortActive:["_sortActiveWatchHandler"]}}};b.style=':host{display:block}.height-full{height:100%}.height-full-adjusted{height:calc(100% - 20px)}.width-full{width:100%}.display-flex{display:flex}.table-border{border:1px solid var(--calcite-color-border-2)}.border-end{border-inline-end:1px solid var(--calcite-color-border-2)}.border-bottom{border-bottom:1px solid var(--calcite-color-border-2)}.padding-5{padding:5px}.padding-end-1{padding-inline-end:1rem}.height-51{height:51px}.height-50-px{height:50px}.bottom-left{position:absolute;left:0;bottom:0;padding-left:5px}html[dir="rtl"] .bottom-left{position:absolute;right:0;bottom:0;padding-right:5px}.height-19{height:19px}.background{background-color:var(--calcite-color-background)}.text-color{color:var(--calcite-color-text-1)}.align-center{align-items:center}.danger-color{color:var(--calcite-color-status-danger)}.esri-feature-table vaadin-grid{border:none !important}vaadin-grid-cell-content{font-size:14px !important;color:var(--calcite-color-text-3) !important}.share-action{position:absolute;right:0}html[dir="rtl"] .share-action{left:0}.disabled{cursor:default !important;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled);pointer-events:none}.instant-app-share{height:50px !important;display:inline-flex}.border-top{border-top:1px solid var(--calcite-color-border-2)}.modal{--calcite-modal-content-padding:0}';const m=class{constructor(t){i(this,t),this.mapChanged=h(this,"mapChanged",7),this.beforeMapChanged=h(this,"beforeMapChanged",7),this._defaultWebmapHonored=!1,this._loadedId="",this.defaultWebmapId="",this.enableHome=void 0,this.enableLegend=void 0,this.enableFloorFilter=void 0,this.enableFullscreen=void 0,this.enableMapToolsExpand=!0,this.enableSearch=void 0,this.enableBasemap=void 0,this.basemapConfig=void 0,this.hidden=void 0,this.homeZoomIndex=3,this.homeZoomPosition="top-left",this.homeZoomToolsSize="m",this.mapInfos=[],this.mapWidgetsIndex=0,this.mapWidgetsPosition="top-right",this.mapWidgetsSize="m",this.mapView=void 0,this.stackTools=!0,this.theme=void 0,this.toolOrder=void 0,this._searchConfiguration=void 0,this._webMapInfo=void 0}enableHomeWatchHandler(){this._initHome()}async mapInfoChange(i){await this._loadMap(i.detail)}async componentWillLoad(){await this._initModules()}render(){var i,e;const h=this.hidden?"visibility-hidden":"",o="dark"===this.theme?"calcite-mode-dark":"calcite-mode-light",a=(null===(i=this.mapInfos)||void 0===i?void 0:i.length)>1?"":"display-none",l=(null===(e=this.mapInfos)||void 0===e?void 0:e.length)>1?"map-height":"height-full";return t(s,null,t("map-picker",{class:a,mapInfos:this.mapInfos,ref:i=>this._mapPicker=i}),t("div",{class:`${l} ${h}`,ref:i=>this._mapDiv=i}),t("map-tools",{basemapConfig:this.basemapConfig,class:`box-shadow ${o}`,enableBasemap:this.enableBasemap,enableFloorFilter:this.enableFloorFilter,enableFullscreen:this.enableFullscreen,enableLegend:this.enableLegend,enableMapToolsExpand:this.enableMapToolsExpand,enableSearch:this.enableSearch,homeZoomToolsSize:this.homeZoomToolsSize,mapView:this.mapView,mapWidgetsSize:this.mapWidgetsSize,ref:i=>this._mapTools=i,searchConfiguration:this._searchConfiguration,stackTools:this.stackTools,toolOrder:this.toolOrder}))}async _initModules(){const[i,t,s]=await p(["esri/WebMap","esri/views/MapView","esri/widgets/Home"]);this.WebMap=i,this.MapView=t,this.Home=s}async _loadMap(i){var t;const s=!this._defaultWebmapHonored&&this.defaultWebmapId,e=null===(t=this.mapInfos)||void 0===t?void 0:t.filter((i=>i.id===this.defaultWebmapId)),h=JSON.stringify(i)!==JSON.stringify(this._webMapInfo);this._webMapInfo=s&&e?e[0]:!(null==i?void 0:i.id)&&this.mapInfos.length>0?this.mapInfos[0]:i;const o=this._webMapInfo.id,a=s&&(null==i?void 0:i.id)===this.defaultWebmapId;if(this._loadedId!==o&&!s||a){const i=new this.WebMap({portalItem:{id:o}});this.mapView=new this.MapView({container:this._mapDiv,map:i,resizeAlign:"center"}),this._loadedId=o,this._searchConfiguration=this._webMapInfo.searchConfiguration,this.beforeMapChanged.emit(),await this.mapView.when((()=>{this._initHome(),this.mapView.ui.add(this._mapTools,{position:this.mapWidgetsPosition,index:this.mapWidgetsIndex}),this._defaultWebmapHonored=!!a||this._defaultWebmapHonored,this.mapChanged.emit({id:o,mapView:this.mapView})}))}else s?(this._defaultWebmapHonored=!0,this._mapPicker.setMapByID(o)):h&&(this._searchConfiguration=this._webMapInfo.searchConfiguration,this.beforeMapChanged.emit(),this.mapChanged.emit({id:o,mapView:this.mapView}))}_initHome(){if(this.enableHome){this._homeWidget=new this.Home({view:this.mapView}),this.mapView.ui.add(this._homeWidget,{position:this.homeZoomPosition,index:this.homeZoomIndex});const i="s"===this.homeZoomToolsSize?"32px":"m"===this.homeZoomToolsSize?"40px":"48px";this._homeWidget.domNode.style.height=i,this._homeWidget.domNode.style.width=i}else this._homeWidget&&this.mapView.ui.remove(this._homeWidget)}get el(){return e(this)}static get watchers(){return{enableHome:["enableHomeWatchHandler"]}}};m.style=":host{display:block;--calcite-label-margin-bottom:0;--calcite-block-padding:0}.map-height{height:calc(100% - 51px)}.height-full{height:100%}.box-shadow{box-shadow:none !important}.visibility-hidden{visibility:hidden}.display-none{display:none}";export{u as card_manager,b as layer_table,m as map_card}
@@ -1,6 +0,0 @@
1
- /*!
2
- * Copyright 2022 Esri
3
- * Licensed under the Apache License, Version 2.0
4
- * http://www.apache.org/licenses/LICENSE-2.0
5
- */
6
- import{r as t,h as i,g as o}from"./p-78780f63.js";import{g as n}from"./p-83225907.js";import"./p-a8a0187d.js";import"./p-d918ec36.js";import"./p-e1a4994d.js";import"./p-14a48b14.js";const s=class{constructor(i){t(this,i),this.popoverTitle=void 0,this.subtitle=void 0,this.content=void 0,this.imgSrc=void 0,this.imgAlt=void 0,this.mediaSrc=void 0,this.index=void 0,this.referenceElement=void 0,this.parent=void 0,this.placement="trailing-start",this.refId=void 0,this.pagination=!1,this.disableAction=!1,this.popoverAction=void 0,this.messages=void 0,this.messageOverrides=void 0}async componentDidLoad(){n(this),this.messages=Object.assign(Object.assign({},this.messages),this.messageOverrides)}componentDidUpdate(){this.popoverEl.referenceElement=this.referenceElement}render(){var t,o,n,s,a;return i("calcite-popover",{ref:t=>this.popoverEl=t,heading:this.popoverTitle,"auto-close":!0,placement:this.placement,messageOverrides:{close:null===(t=this.messages)||void 0===t?void 0:t.close},"trigger-disabled":!0,"ref-id":this.refId,closable:!0,referenceElement:this.referenceElement,label:this.popoverTitle},i("div",{class:"instant-apps-popover__content"+(this.disableAction?" instant-apps-popover--action-disabled":"")},this.disableAction?null:i("calcite-action",{key:"popover-action",class:"instant-apps-popover__action",onClick:this.popoverAction,icon:"rtl"===document.dir?"chevron-right":"chevron-left",compact:!0,"text-enabled":!0,text:(null===(o=this.messageOverrides)||void 0===o?void 0:o.popoverAction)?this.messageOverrides.popoverAction:this.messages.back}),i("section",null,i("span",{id:"subtitle"},this.subtitle),i("p",null,this.content),this.imgSrc?i("img",{key:`iac-popover-img-${this.refId}`,class:"instant-apps-popover__img",src:this.imgSrc,alt:this.imgAlt?this.imgAlt:""}):null),this.pagination?i("div",{key:`iac-popover-footer-${this.index}`,class:"instant-apps-popover__footer"},i("span",null,this.index+1," ",null===(n=this.messages)||void 0===n?void 0:n.of," ",null===(a=null===(s=this.parent)||void 0===s?void 0:s.instantAppsPopovers)||void 0===a?void 0:a.size),this.renderPagination()):null))}renderPagination(){var t,o;const{index:n,messages:s,parent:a}=this,e=n===(null===(o=null===(t=this.parent)||void 0===t?void 0:t.instantAppsPopovers)||void 0===o?void 0:o.size)-1;return i("div",{key:"pagination-button-container",class:"instant-apps-popover__button-container"},0===n?null:i("calcite-button",{key:"prev",onClick:()=>null==a?void 0:a.previous(),appearance:"outline",kind:"neutral"},null==s?void 0:s.back),i("calcite-button",{key:"next",onClick:()=>{e?null==a||a.done():null==a||a.next()}},e?null==s?void 0:s.done:null==s?void 0:s.next))}get el(){return o(this)}};s.style=":host{display:block}.instant-apps-popover__content{display:flex;flex-direction:column;padding:0 5% 5% 5%;max-width:35vw;font-family:var(--calcite-sans-family);font-size:0.875rem}.instant-apps-popover__content .instant-apps-popover__action{align-self:flex-start;--calcite-color-foreground-2:transparent}.instant-apps-popover__content span{display:inline-block;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-1);margin:0 0 10px 0;font-family:var(--calcite-sans-family)}.instant-apps-popover__content p{line-height:19.12px;margin:0;margin-bottom:10px;font-family:var(--calcite-sans-family)}.instant-apps-popover__content .instant-apps-popover__footer{display:flex;flex-direction:row;align-items:center;justify-content:space-between}.instant-apps-popover__content .instant-apps-popover__footer span{margin-bottom:0;font-weight:normal;font-size:0.875rem;font-family:var(--calcite-sans-family)}.instant-apps-popover__content .instant-apps-popover__footer calcite-button:first-child{--calcite-color-foreground-3:transparent}.instant-apps-popover__content .instant-apps-popover__footer calcite-button:last-child{margin-left:5px}.instant-apps-popover__content .instant-apps-popover__img{width:100%;margin-bottom:10px}.instant-apps-popover__content.instant-apps-popover--action-disabled{padding:5%}.instant-apps-popover__content.instant-apps-popover--action-disabled #subtitle{margin:0 0 10px 0}";export{s as instant_apps_popover}
@@ -1,17 +0,0 @@
1
- /*!
2
- * Copyright 2022 Esri
3
- * Licensed under the Apache License, Version 2.0
4
- * http://www.apache.org/licenses/LICENSE-2.0
5
- */
6
- import{r as t,c as i,h as s,H as e,g as n}from"./p-78780f63.js";import{d as a,a as o,b as l,i as r,c,e as h,f as d}from"./p-1fc220c7.js";import{t as p}from"./p-ca97465b.js";import{f as u,c as v,d as m,r as f,a as g,F as b}from"./p-0511c98c.js";import{s as _,c as x,d as w,H as y}from"./p-cfccae7c.js";import{c as k,d as $,u as C}from"./p-0c97de08.js";import{n as z}from"./p-1e2ffee3.js";import{c as E,d as D}from"./p-722ae773.js";import{c as I,s as P,a as F}from"./p-f10944e6.js";import{n as R,c as S,d as j,f as L}from"./p-ede84883.js";import{o as N}from"./p-653af7e0.js";import{g as O,a as T}from"./p-337acb3c.js";import{c as A,s as M,d as U}from"./p-79ba73cb.js";import{c as B,d as W,a as H}from"./p-414240b2.js";import{g as V}from"./p-fcefdfff.js";import{g as J}from"./p-0c07ad8a.js";import{l as K}from"./p-a8a0187d.js";import{g as q}from"./p-83225907.js";import{g as Y}from"./p-c96eb2db.js";import"./p-29d68474.js";import"./p-a82f35c9.js";import"./p-c92fff33.js";import"./p-5b566d55.js";import"./p-d918ec36.js";import"./p-e1a4994d.js";import"./p-14a48b14.js";
7
- /*!
8
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
9
- * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
10
- * v2.0.0
11
- */const Z=class{constructor(s){t(this,s),this.calciteInputDatePickerChange=i(this,"calciteInputDatePickerChange",6),this.calciteInputDatePickerBeforeClose=i(this,"calciteInputDatePickerBeforeClose",6),this.calciteInputDatePickerClose=i(this,"calciteInputDatePickerClose",6),this.calciteInputDatePickerBeforeOpen=i(this,"calciteInputDatePickerBeforeOpen",6),this.calciteInputDatePickerOpen=i(this,"calciteInputDatePickerOpen",6),this.calciteInternalInputInputHandler=t=>{const i=t.target,s=i.value,e=this.parseNumerals(s),n=this.formatNumerals(e);i.value=n;const{year:a}=o(s,this.localeData);if(a&&a.length<4)return;const c=l(s,this.localeData);r(c,this.min,this.max)&&(this.datePickerActiveDate=c)},this.calciteInternalInputBlurHandler=()=>{this.commitValue()},this.dialogId=`date-picker-dialog--${V()}`,this.focusOnOpen=!1,this.lastBlurredInput="none",this.userChangedValue=!1,this.openTransitionProp="opacity",this.valueAsDateChangedExternally=!1,this.placeholderTextId=`calcite-input-date-picker-placeholder-${V()}`,this.onInputWrapperClick=()=>{this.range&&"none"!==this.lastBlurredInput&&this.open||(this.open=!this.open),this.lastBlurredInput="none"},this.setFilteredPlacements=()=>{const{el:t,flipPlacements:i}=this;this.filteredFlipPlacements=i?u(i,t):null},this.setTransitionEl=t=>{this.transitionEl=t},this.setStartInput=t=>{this.startInput=t},this.setEndInput=t=>{this.endInput=t},this.deactivate=()=>{this.open=!1,this.lastBlurredInput="none"},this.keyDownHandler=t=>{var i,s;const{defaultPrevented:e,key:n}=t;e||("Enter"===n?(this.commitValue(),this.shouldFocusRangeEnd()?null===(i=this.endInput)||void 0===i||i.setFocus():this.shouldFocusRangeStart()&&(null===(s=this.startInput)||void 0===s||s.setFocus()),_(this)&&(t.preventDefault(),this.restoreInputFocus())):"ArrowDown"===n?(this.open=!0,this.focusOnOpen=!0,t.preventDefault()):"Escape"===n&&(this.open=!1,t.preventDefault(),this.restoreInputFocus()))},this.startInputFocus=()=>{this.focusedInput="start"},this.startEndInputFocus=t=>{const i=t.relatedTarget;this.lastBlurredInput=i===this.startInput?"start":i===this.endInput?"end":"none"},this.endInputFocus=()=>{this.focusedInput="end"},this.setFloatingEl=t=>{this.floatingEl=t,v(this,this.referenceEl,this.floatingEl)},this.setStartWrapper=t=>{this.startWrapper=t,this.setReferenceEl()},this.setEndWrapper=t=>{this.endWrapper=t,this.setReferenceEl()},this.setDatePickerRef=t=>{this.datePickerEl=t,B(this,{focusTrapEl:t,focusTrapOptions:{initialFocus:!1,setReturnFocus:!1}})},this.handleDateChange=t=>{this.range||(t.stopPropagation(),this.setValue(t.target.valueAsDate),this.localizeInputValues(),this.restoreInputFocus())},this.handleDateRangeChange=t=>{this.range&&(t.stopPropagation(),this.setRangeValue(t.target.valueAsDate),this.localizeInputValues(),this.restoreInputFocus())},this.setInputValue=(t,i="start")=>{const s=this[`${i}Input`];s&&(s.value=t)},this.setRangeValue=t=>{if(!this.range)return;const{value:i}=this,s=Array.isArray(i),e=Array.isArray(t);let n=e?c(e?t[0]:null):"";n&&(n=this.getNormalizedDate(n));let a=e?c(e?t[1]:null):"";a&&(a=this.getNormalizedDate(a));const o=n||a?[n,a]:"";if(o===i)return;this.userChangedValue=!0,this.value=o,this.valueAsDate=o?O(o):void 0;const l=this.calciteInputDatePickerChange.emit();l&&l.defaultPrevented&&(this.value=i,s?(this.setInputValue(i[0],"start"),this.setInputValue(i[1],"end")):(this.value=i,this.setInputValue(i)))},this.setValue=t=>{if(this.range)return;const i=this.value;let s=c(t);s=this.getNormalizedDate(s),s!==i&&(this.userChangedValue=!0,this.valueAsDate=s?h(s):void 0,this.value=s||"",this.calciteInputDatePickerChange.emit().defaultPrevented&&(this.value=i,this.setInputValue(i)))},this.commonDateSeparators=[".","-","/"],this.formatNumerals=t=>t?t.split("").map((t=>{var i,s,e;return(null===(i=this.commonDateSeparators)||void 0===i?void 0:i.includes(t))?null===(s=this.localeData)||void 0===s?void 0:s.separator:(null==z?void 0:z.includes(t))?null===(e=null==R?void 0:R.numberFormatter)||void 0===e?void 0:e.format(Number(t)):t})).join(""):"",this.parseNumerals=t=>t?t.split("").map((t=>z.includes(t)?R.delocalize(t):t)).join(""):"",this.disabled=!1,this.focusTrapDisabled=!1,this.form=void 0,this.readOnly=!1,this.value="",this.flipPlacements=void 0,this.headingLevel=void 0,this.valueAsDate=void 0,this.messageOverrides=void 0,this.messages=void 0,this.minAsDate=void 0,this.maxAsDate=void 0,this.min=void 0,this.max=void 0,this.open=!1,this.name=void 0,this.numberingSystem=void 0,this.scale="m",this.status="idle",this.placement=m,this.range=!1,this.required=!1,this.overlayPositioning="absolute",this.proximitySelectionDisabled=!1,this.layout="horizontal",this.datePickerActiveDate=void 0,this.defaultMessages=void 0,this.effectiveLocale="",this.focusedInput="start",this.localeData=void 0}handleFocusTrapDisabled(t){this.open&&(t?W(this):H(this))}handleDisabledAndReadOnlyChange(t){t||(this.open=!1)}valueWatcher(t){if(!this.userChangedValue){let i;i=Array.isArray(t)?O(t):t?h(t):void 0,this.valueAsDateChangedExternally||i===this.valueAsDate||(this.valueAsDate=i),this.localizeInputValues()}this.userChangedValue=!1}valueAsDateWatcher(t){this.datePickerActiveDate=t;const i=this.range&&Array.isArray(t)?[c(t[0]),c(t[1])]:c(t);this.value!==i&&(this.valueAsDateChangedExternally=!0,this.value=i,this.valueAsDateChangedExternally=!1)}flipPlacementsHandler(){this.setFilteredPlacements(),this.reposition(!0)}onMessagesChange(){}onMinChanged(t){t&&(this.minAsDate=h(t))}onMaxChanged(t){t&&(this.maxAsDate=h(t))}openHandler(){N(this),(this.disabled||this.readOnly)&&(this.open=!1)}overlayPositioningHandler(){this.reposition(!0)}calciteDaySelectHandler(){this.shouldFocusRangeStart()||this.shouldFocusRangeEnd()||(this.open=!1)}async setFocus(){await I(this),this.el.focus()}async reposition(t=!1){const{floatingEl:i,referenceEl:s,placement:e,overlayPositioning:n,filteredFlipPlacements:a}=this;return f(this,{floatingEl:i,referenceEl:s,overlayPositioning:n,placement:e,flipPlacements:a,type:"menu"},t)}connectedCallback(){k(this),S(this);const{open:t}=this;if(t&&this.openHandler(),Array.isArray(this.value))this.valueAsDate=O(this.value);else if(this.value)try{this.valueAsDate=h(this.value)}catch(t){this.warnAboutInvalidValue(this.value),this.value=""}else this.range&&this.valueAsDate&&this.setRangeValue(this.valueAsDate);this.min&&(this.minAsDate=h(this.min)),this.max&&(this.maxAsDate=h(this.max)),E(this),x(this),A(this),this.setFilteredPlacements(),this.reposition(!0),R.numberFormatOptions={numberingSystem:this.numberingSystem,locale:this.effectiveLocale,useGrouping:!1},this.open&&N(this),v(this,this.referenceEl,this.floatingEl)}async componentWillLoad(){P(this),await Promise.all([this.loadLocaleData(),M(this)]),this.onMinChanged(this.min),this.onMaxChanged(this.max)}componentDidLoad(){F(this),this.localizeInputValues(),this.reposition(!0)}disconnectedCallback(){W(this),$(this),D(this),w(this),g(this,this.referenceEl,this.floatingEl),j(this),U(this)}componentDidRender(){C(this)}render(){var t,i,n;const{disabled:a,effectiveLocale:o,messages:l,numberingSystem:r,readOnly:c}=this;return R.numberFormatOptions={numberingSystem:r,locale:o,useGrouping:!1},s(e,{onBlur:this.deactivate,onKeyDown:this.keyDownHandler},this.localeData&&s("div",{class:"input-container"},s("div",{class:"input-wrapper",onClick:this.onInputWrapperClick,ref:this.setStartWrapper},s("calcite-input-text",{"aria-autocomplete":"none","aria-controls":this.dialogId,"aria-describedby":this.placeholderTextId,"aria-expanded":p(this.open),"aria-haspopup":"dialog",class:"input "+("vertical"===this.layout&&this.range?"no-bottom-border":""),disabled:a,icon:"calendar",onCalciteInputTextInput:this.calciteInternalInputInputHandler,onCalciteInternalInputTextBlur:this.calciteInternalInputBlurHandler,onCalciteInternalInputTextFocus:this.startInputFocus,onFocus:this.startEndInputFocus,placeholder:null===(t=this.localeData)||void 0===t?void 0:t.placeholder,readOnly:c,role:"combobox",scale:this.scale,status:this.status,ref:this.setStartInput}),!this.readOnly&&this.renderToggleIcon(this.open&&"start"===this.focusedInput),s("span",{"aria-hidden":"true",class:"assistive-text",id:this.placeholderTextId},"Date Format: ",null===(i=this.localeData)||void 0===i?void 0:i.placeholder)),s("div",{"aria-hidden":p(!this.open),"aria-label":l.chooseDate,"aria-live":"polite","aria-modal":"true",class:{"menu-container":!0,"menu-container--active":this.open},id:this.dialogId,role:"dialog",ref:this.setFloatingEl},s("div",{class:{"calendar-picker-wrapper":!0,"calendar-picker-wrapper--end":"end"===this.focusedInput,[b.animation]:!0,[b.animationActive]:this.open},ref:this.setTransitionEl},s("calcite-date-picker",{activeDate:this.datePickerActiveDate,activeRange:this.focusedInput,headingLevel:this.headingLevel,max:this.max,maxAsDate:this.maxAsDate,messageOverrides:this.messageOverrides,min:this.min,minAsDate:this.minAsDate,numberingSystem:r,onCalciteDatePickerChange:this.handleDateChange,onCalciteDatePickerRangeChange:this.handleDateRangeChange,proximitySelectionDisabled:this.proximitySelectionDisabled,range:this.range,scale:this.scale,tabIndex:this.open?void 0:-1,valueAsDate:this.valueAsDate,ref:this.setDatePickerRef}))),this.range&&"horizontal"===this.layout&&s("div",{class:"horizontal-arrow-container"},s("calcite-icon",{flipRtl:!0,icon:"arrow-right",scale:J(this.scale)})),this.range&&"vertical"===this.layout&&"s"!==this.scale&&s("div",{class:"vertical-arrow-container"},s("calcite-icon",{icon:"arrow-down",scale:J(this.scale)})),this.range&&s("div",{class:"input-wrapper",onClick:this.onInputWrapperClick,ref:this.setEndWrapper},s("calcite-input-text",{"aria-autocomplete":"none","aria-controls":this.dialogId,"aria-expanded":p(this.open),"aria-haspopup":"dialog",class:{input:!0,"border-top-color-one":"vertical"===this.layout&&this.range},disabled:a,icon:"calendar",onCalciteInputTextInput:this.calciteInternalInputInputHandler,onCalciteInternalInputTextBlur:this.calciteInternalInputBlurHandler,onCalciteInternalInputTextFocus:this.endInputFocus,onFocus:this.startEndInputFocus,placeholder:null===(n=this.localeData)||void 0===n?void 0:n.placeholder,readOnly:c,role:"combobox",scale:this.scale,status:this.status,ref:this.setEndInput}),!this.readOnly&&this.renderToggleIcon(this.open&&"end"===this.focusedInput))),s(y,{component:this}))}renderToggleIcon(t){return s("span",{class:"toggle-icon"},s("calcite-icon",{icon:t?"chevron-up":"chevron-down",scale:J(this.scale)}))}setReferenceEl(){const{focusedInput:t,layout:i,endWrapper:s,startWrapper:e}=this;this.referenceEl="end"===t||"vertical"===i?s||e:e||s,requestAnimationFrame((()=>v(this,this.referenceEl,this.floatingEl)))}onLabelClick(){this.setFocus()}onBeforeOpen(){this.reposition(!0),this.calciteInputDatePickerBeforeOpen.emit()}onOpen(){H(this,{onActivate:()=>{this.focusOnOpen&&(this.datePickerEl.setFocus(),this.focusOnOpen=!1)}}),this.calciteInputDatePickerOpen.emit()}onBeforeClose(){this.calciteInputDatePickerBeforeClose.emit()}onClose(){this.calciteInputDatePickerClose.emit(),W(this),this.restoreInputFocus(),this.focusOnOpen=!1,this.datePickerEl.reset(),this.reposition(!0)}commitValue(){const{focusedInput:t,value:i}=this,s=l(this[`${t}Input`].value,this.localeData),e=c(s),n=Array.isArray(i);if(this.range)if(n){if(e===i["start"===t?0:1])return;s?(this.setRangeValue(["start"===t?s:h(i[0]),"end"===t?s:h(i[1])]),this.localizeInputValues()):this.setRangeValue(["end"===t&&h(i[0]),"start"===t&&h(i[1])])}else s&&(this.setRangeValue(["start"===t?s:h(i[0]),"end"===t?s:h(i[1])]),this.localizeInputValues());else{if(e===i)return;this.setValue(s),this.localizeInputValues()}}async loadLocaleData(){R.numberFormatOptions={numberingSystem:this.numberingSystem,locale:this.effectiveLocale,useGrouping:!1},this.localeData=await T(this.effectiveLocale),this.localizeInputValues()}shouldFocusRangeStart(){return!(!this.value[1]||this.value[0]||"end"!==this.focusedInput||!this.startInput)}shouldFocusRangeEnd(){return!(!this.value[0]||this.value[1]||"start"!==this.focusedInput||!this.endInput)}restoreInputFocus(){this.range?("start"===this.focusedInput?this.startInput:this.endInput).setFocus():this.startInput.setFocus()}localizeInputValues(){var t;const i=d(this.range?Array.isArray(this.valueAsDate)&&this.valueAsDate[0]||void 0:this.valueAsDate,this.minAsDate,this.maxAsDate),s=this.range?d(Array.isArray(this.valueAsDate)&&this.valueAsDate[1]||void 0,this.minAsDate,this.maxAsDate):null,e={numberingSystem:L},n=i&&this.formatNumerals(i.toLocaleDateString(this.effectiveLocale,e)),a=s&&this.formatNumerals(s.toLocaleDateString(this.effectiveLocale,e));this.setInputValue(null!=n?n:"","start"),this.setInputValue(null!==(t=this.range&&a)&&void 0!==t?t:"","end")}warnAboutInvalidValue(t){console.warn(`The specified value "${t}" does not conform to the required format, "YYYY-MM-DD".`)}getNormalizedDate(t){if(!t)return"";if(!
12
- /*!
13
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
14
- * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
15
- * v2.0.0
16
- */
17
- function(t){if(!t)return!1;const{year:i}=a(t);return Number(i)<100}(t))return t;const{day:i,month:s,year:e}=a(t);return`${function(t){const i=(new Date).getFullYear();return 100*Math.floor(i/100)+t}(Number(e))}-${s}-${i}`}static get delegatesFocus(){return!0}static get assetsDirs(){return["assets"]}get el(){return n(this)}static get watchers(){return{focusTrapDisabled:["handleFocusTrapDisabled"],disabled:["handleDisabledAndReadOnlyChange"],readOnly:["handleDisabledAndReadOnlyChange"],value:["valueWatcher"],valueAsDate:["valueAsDateWatcher"],flipPlacements:["flipPlacementsHandler"],messageOverrides:["onMessagesChange"],min:["onMinChanged"],max:["onMaxChanged"],open:["openHandler"],overlayPositioning:["overlayPositioningHandler"],layout:["setReferenceEl"],focusedInput:["setReferenceEl"],effectiveLocale:["loadLocaleData"]}}};Z.style=":host{--calcite-icon-size:1rem;--calcite-spacing-eighth:0.125rem;--calcite-spacing-quarter:0.25rem;--calcite-spacing-half:0.5rem;--calcite-spacing-three-quarters:0.75rem;--calcite-spacing:1rem;--calcite-spacing-plus-quarter:1.25rem;--calcite-spacing-plus-half:1.5rem;--calcite-spacing-double:2rem;--calcite-menu-min-width:10rem;--calcite-header-min-height:3rem;--calcite-footer-min-height:3rem}: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:inline-block;inline-size:100%;overflow:visible;vertical-align:top;--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 .menu-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}:host .menu-container[data-placement^=bottom] .calcite-floating-ui-anim{transform:translateY(-5px)}:host .menu-container[data-placement^=top] .calcite-floating-ui-anim{transform:translateY(5px)}:host .menu-container[data-placement^=left] .calcite-floating-ui-anim{transform:translateX(5px)}:host .menu-container[data-placement^=right] .calcite-floating-ui-anim{transform:translateX(-5px)}:host .menu-container[data-placement] .calcite-floating-ui-anim--active{opacity:1;transform:translate(0)}:host([scale=s]){--calcite-toggle-spacing:0.5rem;--calcite-internal-input-text-input-padding-inline-end:calc(var(--calcite-toggle-spacing) + 1rem)}:host([scale=m]){--calcite-toggle-spacing:0.75rem;--calcite-internal-input-text-input-padding-inline-end:calc(var(--calcite-toggle-spacing) + 1.5rem)}:host([scale=l]){--calcite-toggle-spacing:1rem;--calcite-internal-input-text-input-padding-inline-end:calc(var(--calcite-toggle-spacing) + 2rem)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.calendar-picker-wrapper{--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);transform:translate3d(0, 0, 0)}.input-wrapper{position:relative}.toggle-icon{position:absolute;display:flex;cursor:pointer;align-items:center;inset-inline-end:0;inset-block:0;padding-inline:var(--calcite-toggle-spacing)}:host([range]) .input-container{display:flex}:host([range]) .input-wrapper{flex:1 1 auto}:host([range]) .horizontal-arrow-container{display:flex;align-items:center;border-width:1px;border-inline-start-width:0px;border-inline-end-width:0px;border-style:solid;border-color:var(--calcite-color-border-input);background-color:var(--calcite-color-background);padding-block:0px;padding-inline:0.25rem}:host([range][layout=vertical]) .input-wrapper{inline-size:100%}:host([range][layout=vertical]) .input-container{flex-direction:column;align-items:flex-start}:host([range][layout=vertical]) .calendar-picker-wrapper--end{transform:translate3d(0, 0, 0)}:host([range][layout=vertical]) .vertical-arrow-container{inset-block-start:1.5rem;position:absolute;z-index:var(--calcite-z-index);margin-inline:1px;background-color:var(--calcite-color-foreground-1);padding-inline:0.625rem;inset-inline-start:0}.menu-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}.menu-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}.menu-container[data-placement^=bottom] .calcite-floating-ui-anim{transform:translateY(-5px)}.menu-container[data-placement^=top] .calcite-floating-ui-anim{transform:translateY(5px)}.menu-container[data-placement^=left] .calcite-floating-ui-anim{transform:translateX(5px)}.menu-container[data-placement^=right] .calcite-floating-ui-anim{transform:translateX(-5px)}.menu-container[data-placement] .calcite-floating-ui-anim--active{opacity:1;transform:translate(0)}:host([open]) .menu-container{visibility:visible}.menu-container--active{visibility:visible}.input .calcite-input__wrapper{margin-block-start:0px}:host([range][layout=vertical][scale=m]) .vertical-arrow-container{inset-block-start:1.5rem;padding-inline-start:0.75rem}:host([range][layout=vertical][scale=m]) .vertical-arrow-container calcite-icon{block-size:0.75rem;inline-size:0.75rem;min-inline-size:0px}:host([range][layout=vertical][scale=l]) .vertical-arrow-container{inset-block-start:2.25rem;padding-inline:0.875rem}:host([range][layout=vertical][open]) .vertical-arrow-container{display:none}::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}.assistive-text{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}:host([hidden]){display:none}[hidden]{display:none}";const G="instant-apps-filter-list calcite-mode-light",X=["feature","geojson","wfs","csv","scene","subtype-group","point-cloud","map-image","sublayer"];function Q(t){return t.replaceAll("'","''")}function tt(t,i=!1){if(t){const s=new Date(t),e=`${s.getFullYear()}-${s.getMonth()+1}-${s.getDate()}`;return i?`${e} ${s.getHours()}:${s.getMinutes()}:${s.getSeconds()}`:e}}function it(t){var i;if(null!=t){t.value=["",""];const s=null===(i=t.shadowRoot)||void 0===i?void 0:i.querySelectorAll("calcite-input");if(null!=s)for(const t of s)t.value=""}}const st="instant-apps-filter-list__footer",et="instant-apps-filter-list__item-container--user-input",nt=class{constructor(s){t(this,s),this.filterListReset=i(this,"filterListReset",7),this.filterUpdate=i(this,"filterUpdate",7),this.layerExpressions=void 0,this.autoUpdateUrl=!1,this.closeBtn=!1,this.closeBtnOnClick=void 0,this.closeBtnText=void 0,this.openFilters=!1,this.extentSelector=!1,this.extentSelectorConfig=void 0,this.urlParams=void 0,this.view=void 0,this.loading=void 0,this.filterLayerExpressions=void 0,this.messages=void 0,this.baseClass=G,this.disabled=!0,this.hasLayerExpression=!1,this.initDefExpressions=void 0,this.initMapImageExpressions=void 0,this.initPointCloudFilters=void 0}watchViewHandler(){this.handleWhenView()}watchLayerExpressions(){this.hasLayerExpression||(this.filterLayerExpressions=JSON.parse(JSON.stringify(this.layerExpressions)),this.handleLayerExpressionsUpdate(),this.hasLayerExpression=!0)}async componentWillLoad(){var t;this.baseClass="dark"===Y(this.el)?"instant-apps-filter-list calcite-mode-dark":G,await this.initializeModules(),q(this),this.hasLayerExpression=null!=this.layerExpressions,this.filterLayerExpressions=null!=this.layerExpressions?JSON.parse(JSON.stringify(this.layerExpressions)):void 0,this.disabled=!(null===(t=this.filterLayerExpressions)||void 0===t?void 0:t.length)||void 0,this.reactiveUtils.whenOnce((()=>this.view)).then((()=>this.handleLayerExpressionsUpdate()))}componentShouldUpdate(t,i,s){"view"===s&&null!=t?this.handleWhenView():"layerExpressions"===s&&(this.hasLayerExpression&&this.resetAllFilters(),this.filterLayerExpressions=JSON.parse(JSON.stringify(this.layerExpressions)),this.handleLayerExpressionsUpdate(),this.hasLayerExpression=!0)}componentWillRender(){var t;this.disabled=!((null===(t=this.filterLayerExpressions)||void 0===t?void 0:t.length)>0)||void 0}disconnectedCallback(){this.filterLayerExpressions=JSON.parse(JSON.stringify(this.layerExpressions)),this.resetAllFilters()}async initializeModules(){const[t,i,s]=await K(["esri/intl","esri/geometry/support/jsonUtils","esri/core/reactiveUtils"]);return this.geometryJsonUtils=i,this.reactiveUtils=s,this.locale=t.getLocale(),Promise.resolve()}render(){const t=this.loading?this.renderLoading():this.initFilterConfig(),i=this.closeBtn?this.renderFullFooter():this.renderFooter();return s(e,null,s("calcite-panel",{class:this.baseClass,ref:t=>this.panelEl=t},s("slot",{slot:"header-content",name:"filter-header-content"}),s("slot",{slot:"header-actions-end",name:"filter-header-actions-end"}),s("div",{key:"filter-container",class:"instant-apps-filter-list__container"},t,i)))}renderLoading(){return s("calcite-loader",{label:"Loading filters..."})}renderFilter(t){const{id:i}=t;return t.expressions.map(((e,n)=>"checkbox"==e.type||null==e.type?s("div",{key:`${i}-${n}`,class:"instant-apps-filter-list__item-container"},s("div",{class:"instant-apps-filter-list__title"},s("p",null,e.name)),s("div",{class:"instant-apps-filter-list__checkbox-container"},s("calcite-checkbox",{id:e.id.toString(),scale:"l",checked:null==e?void 0:e.active,onCalciteCheckboxChange:this.handleCheckboxChange.bind(this,t,e)}))):this.initInput(t,e)))}renderLayerBlock(){return this.filterLayerExpressions.map((t=>this.renderFilterBlocks(t)))}renderFilterBlocks(t){var i;const e=this.renderFilter(t),{operator:n}=t,a="OR"===(null==n?void 0:n.trim())?"orOperator":"andOperator",o=this.renderZoomTo(t);return s("calcite-block",{key:t.id,heading:t.title,description:null===(i=this.messages)||void 0===i?void 0:i[a],open:!!this.openFilters||void 0,collapsible:!0},o,e)}renderCombobox(t,i){var e;return s("label",{key:"combo-select",class:et},s("span",null,i.name),s("calcite-combobox",{id:i.id.toString(),onCalciteComboboxChange:this.handleComboSelect.bind(this,i,t),label:i.name,placeholder:i.placeholder,overlayPositioning:"fixed",selectionMode:"multiple",scale:"s","max-items":"6"},null===(e=i.fields)||void 0===e?void 0:e.map(((t,s)=>this.renderComboboxItem(i,t,s)))))}renderComboboxItem(t,i,e){var n,a;let o=i;"coded-value"===t.type?o=null===(n=t.codedValues)||void 0===n?void 0:n[i]:"number"===t.type&&"number"==typeof i&&null!=t.format&&(null!=t.format.places&&(o=this.roundNumber(i,t.format.places)),t.format.digitSeparator&&(o=this.numberWithCommas(o)));const l=null==t?void 0:t.selectedFields,r=null!==(a=null==l?void 0:l.includes(i))&&void 0!==a&&a;return s("calcite-combobox-item",{key:`${o}-${e}`,value:i,textLabel:`${o}`,selected:r})}initFilterConfig(){var t,i;if((null===(t=this.filterLayerExpressions)||void 0===t?void 0:t.length)>0){if(1===this.filterLayerExpressions.length){const{operator:t}=this.filterLayerExpressions[0],e="OR"===(null==t?void 0:t.trim())?"orOperator":"andOperator",n=this.renderZoomTo(this.filterLayerExpressions[0]);return s("calcite-block",{class:"instant-apps-filter-list__operator-description",heading:null===(i=this.messages)||void 0===i?void 0:i[e],open:!0},n,this.renderFilter(this.filterLayerExpressions[0]))}if(this.filterLayerExpressions.length>1)return this.renderLayerBlock()}}renderNumberSlider(t,i){var e,n,a,o,l,r,c,h;const d=null==i?void 0:i.min,p=null==i?void 0:i.max,u=(null==i?void 0:i.step)?i.step:1,v=null!==(e=null==i?void 0:i.field)&&void 0!==e?e:"",m=[null!=(null===(n=null==i?void 0:i.range)||void 0===n?void 0:n.min)?i.range.min:d,null!=(null===(a=null==i?void 0:i.range)||void 0===a?void 0:a.max)?i.range.max:p];return null!=d&&null!=p?s("label",{key:null==i?void 0:i.id.toString(),class:et},s("span",null,null==i?void 0:i.name),s("div",{class:"instant-apps-filter-list__number-input-container"},s("calcite-slider",{id:null==i?void 0:i.id.toString(),onCalciteSliderChange:this.handleSliderChange.bind(this,i,t),min:d,max:p,minValue:d,maxValue:p,"min-label":null===(l=null===(o=this.messages)||void 0===o?void 0:o.minSlider)||void 0===l?void 0:l.replace("{field}",v),"max-label":null===(c=null===(r=this.messages)||void 0===r?void 0:r.maxSlider)||void 0===c?void 0:c.replace("{field}",v),step:u,labelHandles:!0,snap:!0,value:m,"group-separator":null===(h=null==i?void 0:i.format)||void 0===h?void 0:h.digitSeparator}))):void 0}renderDatePicker(t,i){var e,n,a,o;const l=tt(i.min),r=tt(i.max),c=[null===(e=null==i?void 0:i.range)||void 0===e?void 0:e.min,null===(n=null==i?void 0:i.range)||void 0===n?void 0:n.max];return null!=l&&null!=r?s("label",{class:et},s("span",null,null==i?void 0:i.name),s("div",{class:"instant-apps-filter-list__date-picker-input-container"},s("calcite-input-date-picker",{id:null==i?void 0:i.id.toString(),onCalciteInputDatePickerChange:this.handleDatePickerRangeChange.bind(this,i,t),min:l,max:r,scale:"s",lang:null!==(a=this.locale)&&void 0!==a?a:"en","overlay-positioning":"fixed",layout:"vertical",value:c,range:!0}),s("calcite-action",{onClick:this.handleResetDatePicker.bind(this,i,t),icon:"reset",text:null===(o=this.messages)||void 0===o?void 0:o.resetDatePicker,scale:"s"}))):null}renderFooter(){var t;return s("div",{class:st,slot:"footer"},s("calcite-button",{appearance:"outline",width:"full",disabled:this.disabled,onClick:this.handleResetFilter.bind(this)},null===(t=this.messages)||void 0===t?void 0:t.resetFilter))}renderFullFooter(){var t,i,e;const n=null!=this.closeBtnText?this.closeBtnText:null===(t=this.messages)||void 0===t?void 0:t.close;return s("div",{class:st,slot:"footer"},s("calcite-button",{appearance:"outline",width:"half",disabled:this.disabled,onClick:this.handleResetFilter.bind(this)},null===(i=this.messages)||void 0===i?void 0:i.resetFilter),s("calcite-button",{appearance:"solid",width:"half",kind:"brand",onClick:null===(e=this.closeBtnOnClick)||void 0===e?void 0:e.bind(this)},n))}renderZoomTo(t){var i;return s("div",{class:"instant-apps-filter-list__zoom-to"},s("calcite-button",{id:(null==t?void 0:t.sublayerId)?`zoom-to-${t.id}-${t.sublayerId}`:`zoom-to-${t.id}`,appearance:"transparent",kind:"neutral",scale:"s",iconStart:"magnifying-glass-plus",onClick:this.handleZoomTo.bind(this,t)},null===(i=this.messages)||void 0===i?void 0:i.zoomTo))}handleResetDatePicker(t,i){it(this.panelEl.querySelector(`[id='${t.id}']`)),t.active=!1,t.definitionExpression=void 0,t.range=void 0,this.generateOutput(i)}initInput(t,i){const{type:s}=i;return"string"===s||"coded-value"==s?this.renderCombobox(t,i):"number"===s||"range"==s?"drop-down"===(null==i?void 0:i.numDisplayOption)?this.renderCombobox(t,i):this.renderNumberSlider(t,i):"date"===s?this.renderDatePicker(t,i):void 0}async initExpressions(){if(this.loading=!0,null==this.filterLayerExpressions)return;const t=this.filterLayerExpressions;for(let i=0;i<(null==t?void 0:t.length);i++){const s=t[i].expressions;for(let e=0;e<(null==s?void 0:s.length);e++)null==s[e].active&&null!=s[e].definitionExpression&&(s[e].active=!1),await this.setInitExpression(t[i],s[e])}this.loading=!1,this.filterLayerExpressions=[...t]}handleResetFilter(){var t;null===(t=this.filterLayerExpressions)||void 0===t||t.forEach((t=>{var i;null===(i=t.expressions)||void 0===i||i.forEach((t=>{const{type:i}=t;"string"===i||"coded-value"===i?this.resetCombobox(t):"date"===i?this.resetDatePicker(t):"number"===i||"range"===i?"drop-down"===(null==t?void 0:t.numDisplayOption)?this.resetCombobox(t):this.resetNumberRange(t):this.resetCheckbox(t),t.active=!1}))})),this.resetAllFilters(),this.generateURLParams(),this.filterListReset.emit()}resetCombobox(t){const{id:i}=t;t.selectedFields=void 0;const s=this.panelEl.querySelector(`[id='${i}']`);if(null!=s)for(let t=0;t<s.children.length;t++)s.children[t].selected=!1}resetDatePicker(t){const{id:i}=t;t.range=void 0,it(this.panelEl.querySelector(`[id='${i}']`))}resetNumberRange(t){t.range=void 0;const{id:i,max:s,min:e}=t,n=this.panelEl.querySelector(`[id='${i}']`);null!=n&&(n.minValue=e,n.maxValue=s)}resetCheckbox(t){const{id:i}=t,s=this.panelEl.querySelector(`[id='${i}']`);null!=s&&(s.checked=!1)}resetAllFilters(){var t,i,s;null===(s=null===(i=null===(t=this.view)||void 0===t?void 0:t.map)||void 0===i?void 0:i.allLayers)||void 0===s||s.forEach((t=>{var i,s;if(X.includes(t.type)){const e=t;"point-cloud"===e.type?e.filters=null===(i=this.initPointCloudFilters)||void 0===i?void 0:i[e.id]:"map-image"===e.type?e.allSublayers.forEach((t=>{var i,s;t.definitionExpression=null===(s=null===(i=this.initMapImageExpressions)||void 0===i?void 0:i[e.id])||void 0===s?void 0:s[t.id]})):e.definitionExpression=null===(s=this.initDefExpressions)||void 0===s?void 0:s[e.id]}}))}async updateStringExpression(t,i){const{field:s}=i,e=this.findFilterLayer(t);if(i.fields=await this.getFeatureAttributes(e,s),null==i?void 0:i.selectedFields){const t=i.selectedFields.map((t=>"number"==typeof t?t:`'${Q(t)}'`));return i.definitionExpression=`${s} IN (${t.join(",")})`,Promise.resolve(!0)}return Promise.resolve(!1)}async updateNumberExpression(t,i){var s,e;if(!(null==i?void 0:i.min)&&0!==(null==i?void 0:i.min)||!(null==i?void 0:i.max)&&0!==(null==i?void 0:i.max)){const n=this.findFilterLayer(t),{field:a}=i;if(null!=a)if(this.setExpressionFormat(n,i,a),"drop-down"===(null==i?void 0:i.numDisplayOption)){const t=await this.getFeatureAttributes(n,a);t.sort(((t,i)=>t-i)),i.fields=t}else{const t=await this.calculateMinMaxStatistics(n,a),o=null===(s=null==t?void 0:t[0])||void 0===s?void 0:s.attributes;if(null!=(null===(e=i.format)||void 0===e?void 0:e.places)?(i.min=this.roundMinNumberDown(o[`min${a}`],i.format.places),i.max=this.roundMaxNumberUp(o[`max${a}`],i.format.places)):(i.min=o[`min${a}`],i.max=o[`max${a}`]),(null==i?void 0:i.range)&&Object.keys(i.range).length){const{min:t,max:s}=i.range;return i.definitionExpression=`${i.field} BETWEEN ${t} AND ${s}`,!0}}}return!1}async updateDateExpression(t,i){var s;const{field:e,range:n}=i,a=this.findFilterLayer(t),o=await this.calculateMinMaxStatistics(a,e),l=null===(s=null==o?void 0:o[0])||void 0===s?void 0:s.attributes;if(i.min=tt(l[`min${e}`]),i.max=tt(l[`max${e}`]),null!=n&&(null!=(null==n?void 0:n.max)||null!=(null==n?void 0:n.min))){let{min:t,max:s}=n;if(t=null==t?void 0:t.replace("+"," "),s=null==s?void 0:s.replace("+"," "),t||s){const n=s&&!t?"<":!s&&t?">":null;return i.definitionExpression=n?`${e} ${n} '${null!=t?t:s}'`:`${e} BETWEEN '${t}' AND '${s}'`,!0}}return!1}updateCodedValueExpression(t,i){var s;const{field:e}=t,n=[];t.codedValues={};const a=null==i?void 0:i.domain;if(null===(s=null==a?void 0:a.codedValues)||void 0===s||s.forEach((i=>{const{code:s,name:e}=i;n.push(s),null!=t.codedValues&&(t.codedValues[s]=e)})),t.fields=n,null==t?void 0:t.selectedFields){const i=t.selectedFields.map((t=>"number"==typeof t?t:`'${Q(t)}'`)),s=`${e} IN (${i.join(",")})`;return t.definitionExpression=s,!0}return!1}updateRangeExpression(t,i){const{field:s,range:e}=t,n=null==i?void 0:i.domain;if(t.min=null==n?void 0:n.minValue,t.max=null==n?void 0:n.maxValue,e&&Object.keys(e).length){const{min:i,max:n}=e;return t.definitionExpression=`${s} BETWEEN ${i} AND ${n}`,!0}return!1}async getFeatureAttributes(t,i){var s,e,n;if(t&&X.includes(t.type)){const a=t.createQuery();if((null===(e=null===(s=null==t?void 0:t.capabilities)||void 0===s?void 0:s.query)||void 0===e?void 0:e.supportsCacheHint)&&(a.cacheHint=!0),i){const s=this.getInitDefExprFromLayer(t);if(a.where=s||"1=1",a.outFields=[i],a.orderByFields=[`${i} DESC`],a.returnDistinctValues=!0,a.returnGeometry=!1,a.maxRecordCountFactor=3,this.extentSelector&&this.extentSelectorConfig){const t=this.getExtent(this.extentSelector,this.extentSelectorConfig);null!=t&&(a.geometry=t),a.spatialRelationship="intersects"}return null===(n=await this.queryForFeatures(t,a,i))||void 0===n?void 0:n.sort()}}return[]}async queryForFeatures(t,i,s){const e=await t.queryFeatures(i),n=null==e?void 0:e.features.filter((t=>{var i;return null===(i=t.attributes)||void 0===i?void 0:i[s]}));return null==n?void 0:n.map((t=>{var i;return null===(i=t.attributes)||void 0===i?void 0:i[s]}))}async calculateMinMaxStatistics(t,i){var s,e;if(t&&X.includes(t.type)){const n=t.createQuery();let a=this.getInitDefExprFromLayer(t);if(n.where=a||"1=1",(null===(e=null===(s=null==t?void 0:t.capabilities)||void 0===s?void 0:s.query)||void 0===e?void 0:e.supportsCacheHint)&&(n.cacheHint=!0),i){if(n.outStatistics=[{onStatisticField:i,outStatisticFieldName:`max${i}`,statisticType:"max"},{onStatisticField:i,outStatisticFieldName:`min${i}`,statisticType:"min"}],this.extentSelector&&this.extentSelectorConfig){const t=this.getExtent(this.extentSelector,this.extentSelectorConfig);null!=t&&(n.geometry=t),n.spatialRelationship="intersects"}const s=await t.queryFeatures(n);return null==s?void 0:s.features}}return[]}getExtent(t,i){if(t&&i){const{constraints:t}=i;let s=Object.assign({},t);const e=null==s?void 0:s.geometry;if(e){const t=this.geometryJsonUtils.fromJSON(e);if(t&&("extent"===(null==t?void 0:t.type)||"polygon"===(null==t?void 0:t.type)))return t}}}setInitExpression(t,i){if(i.field&&i.type){const s=this.findFilterLayer(t);return null==s?Promise.resolve():("not-loaded"!==s.loadStatus&&"failed"!==s.loadStatus||s.load(),s.when((async()=>{var e,n;const a=null===(e=s.fields)||void 0===e?void 0:e.find((({name:t})=>t===i.field)),o=null===(n=null==a?void 0:a.domain)||void 0===n?void 0:n.type;i.type="coded-value"===o||"range"===o?o:i.type,await this.updateExpression(t,i,a)})))}return this.updateExpression(t,i,void 0),Promise.resolve()}async updateExpression(t,i,s){let e=!1;const{type:n}=i;"string"===n?e=await this.updateStringExpression(t,i):"number"===n?e=await this.updateNumberExpression(t,i):"date"===n?e=await this.updateDateExpression(t,i):"coded-value"===n?e=this.updateCodedValueExpression(i,s):"range"===n?e=this.updateRangeExpression(i,s):!i.active||"checkbox"!==n&&null!=n||(e=!0),e&&this.generateOutput(t)}updateRangeExpressions(t,i,s,e){const n=this.getInitDefExprFromLayerExpression(i);!e&&0!==e||!s&&0!==s||(e===(null==t?void 0:t.min)&&s===(null==t?void 0:t.max)?(t.definitionExpression=void 0,t.active=!1):(t.definitionExpression=n?`(${n}) AND ${null==t?void 0:t.field} BETWEEN ${e} AND ${s}`:`${null==t?void 0:t.field} BETWEEN ${e} AND ${s}`,t.active=!0)),t.range={min:e,max:s}}handleCheckboxChange(t,i,s){i.active=s.target.checked,this.generateOutput(t)}handleSliderChange(t,i,s){const{maxValue:e,minValue:n}=s.target;this.updateRangeExpressions(t,i,e,n),this.generateOutput(i)}handleComboSelect(t,i,s){const e=s.target.selectedItems,{field:n}=t;if(e&&e.length){const i=e.map((({value:t})=>"number"==typeof t?t:`'${Q(t)}'`));t.selectedFields=e.map((({value:t})=>t));const s=`${n} IN (${i.join(",")})`;t.definitionExpression=s,t.active=!0}else t.definitionExpression=void 0,t.active=!1;this.generateOutput(i)}handleDatePickerRangeChange(t,i,s){const e=s.target,[n,a]=e.valueAsDate,o=null!=n?tt(Math.floor(n.getTime()),!0):void 0,l=null!=a?tt(Math.floor(a.getTime()),!0):void 0;if(null!=o||null!=l){const s=l&&null==o?"<":null==l&&o?">":null;t.definitionExpression=s?`${t.field} ${s} '${null!=o?o:l}'`:`${t.field} BETWEEN '${o}' AND '${l}'`,t.range={min:o,max:l},t.active=!0,this.generateOutput(i)}}handleURLParams(){var t;if("URLSearchParams"in window){const i=null===(t=new URLSearchParams(document.location.search).get("filter"))||void 0===t?void 0:t.split(";");null==i||i.forEach((t=>{var i;const s=JSON.parse(t);null===(i=this.filterLayerExpressions)||void 0===i||i.forEach((t=>{var i;(null==s?void 0:s.layerId)===t.id&&(null===(i=t.expressions)||void 0===i||i.forEach((t=>{var i,e;(null===(i=t.id)||void 0===i?void 0:i.toString())===(null===(e=null==s?void 0:s.expressionId)||void 0===e?void 0:e.toString())&&(t.active=!0,"range"===s.type?t.range=s.range:"select"===s.type&&(t.selectedFields=s.selectedFields))})))}))}))}}createURLParamExpression(t,i){const{id:s,range:e,selectedFields:n,type:a}=i;return"number"===a||"range"===a||"date"===a?{type:"range",layerId:t.id,expressionId:s.toString(),range:e}:"string"===a||"coded-value"===a?{type:"select",layerId:t.id,expressionId:s.toString(),selectedFields:n}:{layerId:t.id,expressionId:s.toString()}}autoUpdateURLCheck(t){this.autoUpdateUrl&&(t.toString()?window.history.replaceState({},"",`${window.location.pathname}?${t} `):window.history.replaceState({},"",window.location.pathname))}generateURLParams(){var t;if("URLSearchParams"in window){const i=new URLSearchParams(window.location.search),s=[];null===(t=this.filterLayerExpressions)||void 0===t||t.forEach((t=>{var i;null===(i=null==t?void 0:t.expressions)||void 0===i||i.forEach((i=>{if(i.active){const e=this.createURLParamExpression(t,i);s.push(JSON.stringify(e))}}))})),s.length>0?i.set("filter",s.join(";")):i.delete("filter"),this.autoUpdateURLCheck(i),this.urlParams=i}}updateFilter(t,i,s){const{id:e}=t,n=this.view.map.findLayerById(e);if(null!=n)if("point-cloud"===n.type)this.updateFilterLayerPCLFilter(n,s);else if("map-image"===n.type){const s=n.findSublayerById(null==t?void 0:t.sublayerId);null!=s&&this.updateFilterLayerDefExpression(s,i,t)}else this.updateFilterLayerDefExpression(n,i,t)}updateFilterLayerDefExpression(t,i,s){const{operator:e}=s;let n=this.getInitDefExprFromLayer(t);const a=(null==i?void 0:i.length)>0&&null!=n?`(${i.join(e)}) AND (${n})`:i.length>0?i.join(e):n;t.definitionExpression=a}updateFilterLayerPCLFilter(t,i){t.filters=i}async handleWhenView(){if(null==this.view)return;const t=this.view.map;await t.loadAll(),this.handleLayerExpressionsUpdate()}async handleLayerExpressionsUpdate(){if(null==this.view)return;const t=this.view.map;this.initDefExpressions={},this.initPointCloudFilters={},this.initMapImageExpressions={};for(let i=0;i<t.allLayers.length;i++){const s=t.allLayers.getItemAt(i);if(X.includes(s.type)){const t=s;"point-cloud"===t.type?this.initPointCloudFilters[t.id]=t.filters:"map-image"===t.type?(this.initMapImageExpressions[t.id]={},t.allSublayers.forEach((i=>{this.initMapImageExpressions[t.id][i.id]=i.definitionExpression}))):this.initDefExpressions[t.id]=t.definitionExpression}}this.initExpressions(),this.handleURLParams()}async handleZoomTo(t){const i=this.panelEl.querySelector((null==t?void 0:t.sublayerId)?`#zoom-to-${t.id}-${t.sublayerId}`:`#zoom-to-${t.id}`);null!=i&&(i.loading=!0,i.disabled=!0),this.zoomToGraphics=[];let s=0,e=!1;const n=setInterval((()=>{s>=1e3&&e&&(this.view.goTo(this.zoomToGraphics),null!=i&&(i.loading=!1,i.disabled=!1),clearInterval(n)),s+=500}),500);await this.getZoomToGraphics(t),e=!0}async getZoomToGraphics(t){var i,s,e,n,a;const o=this.view.allLayerViews.find((({layer:i})=>i.id===t.id)),l=o.layer,r="map-image"===l.type?l.findSublayerById(t.sublayerId):l;if("point-cloud"!==r.type&&X.includes(null==r?void 0:r.type)){const t=r.createQuery();if((null===(s=null===(i=null==l?void 0:l.capabilities)||void 0===i?void 0:i.query)||void 0===s?void 0:s.supportsCacheHint)&&(t.cacheHint=!0),t.where=null!==(e=r.definitionExpression)&&void 0!==e?e:"1=1",t.returnGeometry=!0,t.returnDistinctValues=!0,t.maxRecordCountFactor=3,t.returnExceededLimitFeatures=!0,t.outFields=[],this.extentSelector&&this.extentSelectorConfig){const i=this.getExtent(this.extentSelector,this.extentSelectorConfig);null!=i&&(t.geometry=i),t.spatialRelationship="intersects"}const c=null!=(null===(n=null==o?void 0:o.featureEffect)||void 0===n?void 0:n.filter)?o.featureEffect.filter:o.filter;null!=c&&(null!=c.objectIds&&(t.objectIds=c.objectIds),null!=c.distance&&(t.distance=c.distance),null!=c.geometry&&(t.geometry=c.geometry),null!=c.distance&&(t.distance=c.distance),null!=c.spatialRelationship&&(t.spatialRelationship=c.spatialRelationship),null!=c.units&&(t.units=c.units),null!=c.where&&(t.where=c.where),null!=c.timeExtent&&(t.timeExtent=c.timeExtent));try{const i=await r.queryFeatures(t);this.zoomToGraphics.push(...i.features)}catch(i){if(null===(a=null==i?void 0:i.message)||void 0===a?void 0:a.toLowerCase().includes("distinct"))try{t.returnDistinctValues=!1;const i=await r.queryFeatures(t);this.zoomToGraphics.push(...i.features)}catch(t){}}}return Promise.resolve()}generateOutput(t){if(null==this.view)return;const i=[];let s=[];if(t){for(const e of t.expressions){const{active:t,definitionExpression:n,pointCloudFilters:a}=e;t&&n&&i.push(`(${n})`),t&&null!=a&&a.length>0&&(s=s.concat(a))}this.updateFilter(t,i,s),this.generateURLParams(),this.filterUpdate.emit()}}numberWithCommas(t){return t.toLocaleString("en-US",{maximumFractionDigits:20})}roundMinNumberDown(t,i){if(null!=t){if((""+t).includes("e")){var s=(""+t).split("e"),e="";return+s[1]+i>0&&(e="+"),+(Math.floor(+s[0]+"e"+e+(+s[1]+i))+"e-"+i)}return+(Math.floor(t+"e+"+i)+"e-"+i)}}roundMaxNumberUp(t,i){if(null!=t){if((""+t).includes("e")){var s=(""+t).split("e"),e="";return+s[1]+i>0&&(e="+"),+(Math.ceil(+s[0]+"e"+e+(+s[1]+i))+"e-"+i)}return+(Math.ceil(t+"e+"+i)+"e-"+i)}}roundNumber(t,i){if(null!=t){if((""+t).includes("e")){var s=(""+t).split("e"),e="";return+s[1]+i>0&&(e="+"),+(Math.round(+s[0]+"e"+e+(+s[1]+i))+"e-"+i)}return+(Math.round(t+"e+"+i)+"e-"+i)}}setExpressionFormat(t,i,s){if(null!=(null==t?void 0:t.popupTemplate)){const e=t.popupTemplate.fieldInfos.find((({fieldName:t})=>t===s));i.format=null==e?void 0:e.format}}getInitDefExprFromLayer(t){var i,s,e;return"sublayer"===t.type?null===(s=null===(i=this.initMapImageExpressions)||void 0===i?void 0:i[t.layer.id])||void 0===s?void 0:s[t.id]:null===(e=this.initDefExpressions)||void 0===e?void 0:e[t.id]}getInitDefExprFromLayerExpression(t){var i,s,e;return null!=(null==t?void 0:t.sublayerId)?null===(s=null===(i=this.initMapImageExpressions)||void 0===i?void 0:i[t.id])||void 0===s?void 0:s[t.sublayerId]:null===(e=this.initDefExpressions)||void 0===e?void 0:e[t.id]}findFilterLayer(t){const i=this.view.map.allLayers.find((({id:i})=>i===t.id));return"map-image"===i.type?null==i?void 0:i.findSublayerById(t.sublayerId):i}get el(){return n(this)}static get watchers(){return{view:["watchViewHandler"],layerExpressions:["watchLayerExpressions"]}}};nt.style=":host{display:block}.instant-apps-filter-list *{box-sizing:border-box}.instant-apps-filter-list__container{height:100%}.instant-apps-filter-list__container calcite-block:last-of-type{margin-bottom:0}.instant-apps-filter-list__footer{padding:12px;display:flex}.instant-apps-filter-list__footer calcite-button:nth-child(2){margin-left:6px}.instant-apps-filter-list__item-container,.instant-apps-filter-list__item-container--user-input{display:flex;justify-content:space-between;align-items:center}.instant-apps-filter-list__item-container:not(:last-child),.instant-apps-filter-list__item-container--user-input:not(:last-child){padding-bottom:20px}.instant-apps-filter-list__item-container--user-input{margin:0;display:flex;flex-direction:column;align-items:flex-start}.instant-apps-filter-list__item-container--user-input>span{margin:0 0 6px;font-size:14px;font-weight:normal}.instant-apps-filter-list__item-container--user-input calcite-combobox{width:100%;font-size:16px}.instant-apps-filter-list__number-input-container{width:100%;display:flex;justify-content:center}.instant-apps-filter-list__number-input-container calcite-slider{width:90%}.instant-apps-filter-list__date-picker-input-container{display:flex;align-items:center;justify-content:unset;width:100%}.instant-apps-filter-list__date-picker-input-container calcite-action{height:48px;border-top:1px solid var(--calcite-color-border-input);border-right:1px solid var(--calcite-color-border-input);border-bottom:1px solid var(--calcite-color-border-input)}.instant-apps-filter-list__title{margin-right:20px}.instant-apps-filter-list__title>p{font-size:14px;font-weight:normal;margin:0}.instant-apps-filter-list__checkbox-container{display:flex}.instant-apps-filter-list__checkbox-container calcite-checkbox{height:18px}.instant-apps-filter-list__operator-description{margin:0;--calcite-font-size--1:12px}.instant-apps-filter-list__zoom-to{display:flex;justify-content:flex-end;margin:8px 0 20px}.instant-apps-filter-list__zoom-to calcite-action{width:-moz-min-content;width:min-content}@media (prefers-reduced-motion){.instant-apps-filter-list calcite-loader{--calcite-internal-duration-factor:2;--calcite-internal-animation-timing-slow:calc(300ms * 2)}}.instant-apps-filter-list.calcite-mode-dark .instant-apps-filter-list__header-container{background:#2b2b2b;color:#fff}.instant-apps-filter-list.calcite-mode-dark .instant-apps-filter-list__operator-description{background:#353535}";const at="instant-apps-social-share",ot={base:at,dialog:`${at}__dialog`,dialogEmbed:`${at}__dialog-embed`,dialogContent:`${at}__dialog-content`,options:`${at}__options`,tipContainer:`${at}__tip`,tipHeader:`${at}__tip-header`,tipContent:`${at}__tip-content`,icon:`${at}__icon`,iconContainer:`${at}__icon-container`,optionText:`${at}__option-text`,popoverButton:`${at}__popover-button`,layout:{vertical:`${at}__layout--vertical`,horizontal:`${at}__layout--horizontal`},success:{container:`${at}__success`,header:`${at}__success-header`,message:`${at}__success-message`,icon:`${at}__success-icon`},embed:{container:`${at}__embed`,header:`${at}__embed-header`,embedCode:{container:`${at}__embed-code`,textArea:`${at}__embed-code-text-area`,copyButton:`${at}__embed-code-copy-button`},textAreaText:`${at}__embed-text-area-text`,dimensions:{container:`${at}__embed-dimensions`,input:`${at}__embed-dimensions-input`}},rtl:{optionText:`${at}__option-text--rtl`,textArea:`${at}__text-area--rtl`}},lt={facebook:"https://www.facebook.com/sharer/sharer.php?u={url}",twitter:"https://twitter.com/intent/tweet?text={text}&url={url}",linkedIn:"https://www.linkedin.com/sharing/share-offsite/?url={url}"},rt=class{constructor(i){t(this,i),this.mode="popover",this.shareUrl=window.location.href,this.autoUpdateShareUrl=!0,this.shareText="",this.embed=!1,this.shareButtonColor="neutral",this.shareButtonType="button",this.iframeInnerText="",this.popoverButtonIconScale="m",this.view=void 0,this.displayTipText=!0,this.shortenShareUrl=!0,this.socialMedia=!0,this.shareIconsLayout="vertical",this.scale="m",this.successMessage="",this.defaultUrlParams=null,this.inlineSuccessPopoverPlacement="trailing",this.messages=void 0,this.opened=!1,this.copied=!1,this.inlineCopyLinkOpened=!1,this.inlineCopyEmbedOpened=!1,this.embedWidth=400,this.embedHeight=600}componentDidLoad(){var t,i;q(this),this.setupAutoCloseListeners(),"popover"===this.mode&&(this.opened&&(this.popoverRef.open=!0),this.popoverRef.addEventListener("calcitePopoverOpen",(()=>{this.shareListRef&&this.shareListRef.children[0].focus()})),this.popoverRef.addEventListener("keydown",this.handlePopoverRefKeyDown.bind(this))),this.embed&&(null===(t=this.embedWidthRef)||void 0===t||t.addEventListener("change",this.updateDimensions.bind(this,"width")),null===(i=this.embedHeightRef)||void 0===i||i.addEventListener("change",this.updateDimensions.bind(this,"height")))}disconnectedCallback(){var t,i,s;document.documentElement.removeEventListener("click",this.autoCloseCallback.bind(this)),"popover"===this.mode?null!=this.popoverRef&&(this.popoverRef.removeEventListener("click",this.stopPropagationCallback.bind(this)),this.popoverRef.removeEventListener("calcitePopoverClose",this.resetPopoverCopyState.bind(this)),this.popoverRef.removeEventListener("keydown",this.handlePopoverRefKeyDown.bind(this))):(null===(t=this.embedWidthRef)||void 0===t||t.removeEventListener("change",this.updateDimensions.bind(this)),null===(i=this.embedHeightRef)||void 0===i||i.removeEventListener("change",this.updateDimensions.bind(this)),null===(s=this.dialogContentRef)||void 0===s||s.removeEventListener("click",this.stopPropagationCallback.bind(this)))}setupAutoCloseListeners(){var t,i,s;document.documentElement.addEventListener("click",this.autoCloseCallback.bind(this)),"popover"===this.mode?(null===(t=this.popoverRef)||void 0===t||t.addEventListener("click",this.stopPropagationCallback.bind(this)),null===(i=this.popoverRef)||void 0===i||i.addEventListener("calcitePopoverClose",this.resetPopoverCopyState.bind(this))):null===(s=this.dialogContentRef)||void 0===s||s.addEventListener("click",this.stopPropagationCallback.bind(this))}handlePopoverRefKeyDown(t){var i,s;if("Tab"===t.code){if(!this.shareListRef)return;const s=t.target,e=this.shareListRef.children[0],n=this.shareListRef.children[(null===(i=this.shareListRef)||void 0===i?void 0:i.children.length)-1];t.shiftKey&&s===e?(t.preventDefault(),n.focus()):t.shiftKey||s!==n||(t.preventDefault(),e.focus())}else"Escape"===t.code&&(this.closePopover(),null===(s=this.popoverButtonRef)||void 0===s||s.setFocus())}autoCloseCallback(){"popover"===this.mode?(this.opened=!1,this.popoverRef.open=this.opened):(this.copyLinkPopoverRef&&(this.copyLinkPopoverRef.open=!1),this.inlineCopyLinkOpened=!1,this.copyEmbedPopoverRef&&(this.copyEmbedPopoverRef.open=!1),this.inlineCopyEmbedOpened=!1)}stopPropagationCallback(t){t.stopPropagation()}resetPopoverCopyState(){var t;null===(t=this.popoverButtonRef)||void 0===t||t.setFocus(),setTimeout((()=>{this.copied=!1}),200)}updateDimensions(t){var i,s;if("width"===t){const t=null===(i=this.embedWidthRef)||void 0===i?void 0:i.value;this.embedWidth=parseInt(t)}else{const t=null===(s=this.embedHeightRef)||void 0===s?void 0:s.value;this.embedHeight=parseInt(t)}}render(){var t,i,n,a,o,l;const r=this.copied&&"popover"===this.mode?this.renderSuccess():s("div",{class:ot.dialogContent},this.renderOptions(),this.displayTipText?this.renderTip():null,this.embed?this.renderEmbed():null),c=s("div",{ref:t=>this.dialogContentRef=t,class:`${ot.dialog}${"vertical"===this.shareIconsLayout?` ${ot.layout.vertical}`:` ${ot.layout.horizontal}`}`},r);return s(e,null,"popover"===this.mode?[s("calcite-popover",{ref:t=>this.popoverRef=t,label:null===(i=null===(t=this.messages)||void 0===t?void 0:t.share)||void 0===i?void 0:i.label,referenceElement:"shareButton",placement:"bottom-start",scale:this.scale},c),this.renderButton()]:[c,s("calcite-popover",{ref:t=>this.copyLinkPopoverRef=t,label:null===(a=null===(n=this.messages)||void 0===n?void 0:n.share)||void 0===a?void 0:a.label,referenceElement:"copyToClipboard",placement:this.inlineSuccessPopoverPlacement,scale:this.scale},this.renderSuccess()),s("calcite-popover",{ref:t=>this.copyEmbedPopoverRef=t,label:null===(l=null===(o=this.messages)||void 0===o?void 0:o.share)||void 0===l?void 0:l.label,referenceElement:"copyEmbedToClipboard",placement:this.inlineSuccessPopoverPlacement,scale:this.scale},this.renderEmbedSuccess())])}renderButton(){var t,i,e,n,a,o,l,r;return"button"===this.shareButtonType?s("calcite-button",{ref:t=>this.popoverButtonRef=t,onClick:this.togglePopover.bind(this),id:"shareButton",class:ot.popoverButton,kind:this.shareButtonColor,appearance:"transparent",label:null===(i=null===(t=this.messages)||void 0===t?void 0:t.share)||void 0===i?void 0:i.label,title:null===(n=null===(e=this.messages)||void 0===e?void 0:e.share)||void 0===n?void 0:n.label,scale:this.scale},s("div",{class:ot.iconContainer},s("calcite-icon",{icon:"share",scale:this.popoverButtonIconScale}))):s("calcite-action",{ref:t=>this.popoverButtonRef=t,onClick:this.togglePopover.bind(this),id:"shareButton",class:ot.popoverButton,appearance:"transparent",label:null===(o=null===(a=this.messages)||void 0===a?void 0:a.share)||void 0===o?void 0:o.label,title:null===(r=null===(l=this.messages)||void 0===l?void 0:l.share)||void 0===r?void 0:r.label,scale:this.scale,text:""},s("div",{class:ot.iconContainer},s("calcite-icon",{icon:"share",scale:this.popoverButtonIconScale})))}renderSuccess(){var t;const i=null===(t=this.messages)||void 0===t?void 0:t.success;return s("div",{class:ot.success.container},s("span",{class:ot.success.header},s("span",{class:ot.success.icon},s("calcite-icon",{icon:"check-circle-f",scale:this.scale})),null==i?void 0:i.label),s("span",{class:ot.success.message},this.successMessage||(null==i?void 0:i.url)))}renderEmbedSuccess(){var t;const i=null===(t=this.messages)||void 0===t?void 0:t.success;return s("div",{class:ot.success.container},s("span",{class:ot.success.header},s("span",{class:ot.success.icon},s("calcite-icon",{icon:"check-circle-f",scale:this.scale})),null==i?void 0:i.label),s("span",{class:ot.success.message},null==i?void 0:i.embed))}renderOptions(){var t,i,e,n;const a=null===(t=this.messages)||void 0===t?void 0:t.options,o="rtl"===document.dir?` ${ot.rtl.optionText}`:"";return s("ul",{ref:t=>this.shareListRef=t,class:ot.options,role:"menu"},s("li",{id:"copyToClipboard",onClick:this.handleShareItem.bind(this,"link"),onKeyDown:this.handleOptionKeyDown("link"),role:"menuitem",tabindex:"0"},s("span",{class:ot.icon},s("calcite-icon",{icon:"link",scale:this.scale})),s("span",{class:`${ot.optionText}${o}`},null===(i=null==a?void 0:a.link)||void 0===i?void 0:i.label)),this.socialMedia?[s("li",{onClick:this.handleShareItem.bind(this,"facebook"),onKeyDown:this.handleOptionKeyDown("facebook"),role:"menuitem",tabindex:"0"},s("span",{class:ot.icon},this.renderFacebookIcon()),s("span",{class:`${ot.optionText}${o}`},null===(e=null==a?void 0:a.facebook)||void 0===e?void 0:e.label)),s("li",{onClick:this.handleShareItem.bind(this,"twitter"),onKeyDown:this.handleOptionKeyDown("twitter"),role:"menuitem",tabindex:"0"},s("span",{class:ot.icon},this.renderTwitterIcon()),s("span",{class:`${ot.optionText}${o}`},"Twitter")),s("li",{onClick:this.handleShareItem.bind(this,"linkedIn"),onKeyDown:this.handleOptionKeyDown("linkedIn"),role:"menuitem",tabindex:"0"},s("span",{class:ot.icon},this.renderLinkedInIcon()),s("span",{class:`${ot.optionText}${o}`},null===(n=null==a?void 0:a.linkedIn)||void 0===n?void 0:n.label))]:null)}handleOptionKeyDown(t){return i=>{const s=i.code;("Space"===s||"Enter"===s)&&this.handleShareItem(t)}}renderFacebookIcon(){return s("svg",{height:"100%",style:{fillRule:"evenodd",clipRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:"2"},version:"1.1",viewBox:"0 0 512 512",width:"100%",xmlns:"http://www.w3.org/2000/svg"},s("g",null,s("path",{d:"M512,256c0,-141.385 -114.615,-256 -256,-256c-141.385,0 -256,114.615 -256,256c0,127.777 93.616,233.685 216,252.89l0,-178.89l-65,0l0,-74l65,0l0,-56.4c0,-64.16 38.219,-99.6 96.695,-99.6c28.009,0 57.305,5 57.305,5l0,63l-32.281,0c-31.801,0 -41.719,19.733 -41.719,39.978l0,48.022l71,0l-11.35,74l-59.65,0l0,178.89c122.385,-19.205 216,-125.113 216,-252.89Z",style:{fill:"#1877f2",fillRule:"nonzero"}}),s("path",{d:"M355.65,330l11.35,-74l-71,0l0,-48.022c0,-20.245 9.917,-39.978 41.719,-39.978l32.281,0l0,-63c0,0 -29.297,-5 -57.305,-5c-58.476,0 -96.695,35.44 -96.695,99.6l0,56.4l-65,0l0,74l65,0l0,178.89c13.033,2.045 26.392,3.11 40,3.11c13.608,0 26.966,-1.065 40,-3.11l0,-178.89l59.65,0Z",style:{fill:"#fff",fillRule:"nonzero"}})))}renderTwitterIcon(){return s("svg",{height:"100%",style:{fillRule:"evenodd",clipRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:"2"},version:"1.1",viewBox:"0 0 512 512",width:"100%",xmlns:"http://www.w3.org/2000/svg"},s("rect",{height:"400",style:{fill:"none"},width:"400",x:"56",y:"56"}),s("path",{d:"M161.014,464.013c193.208,0 298.885,-160.071 298.885,-298.885c0,-4.546 0,-9.072 -0.307,-13.578c20.558,-14.871 38.305,-33.282 52.408,-54.374c-19.171,8.495 -39.51,14.065 -60.334,16.527c21.924,-13.124 38.343,-33.782 46.182,-58.102c-20.619,12.235 -43.18,20.859 -66.703,25.498c-19.862,-21.121 -47.602,-33.112 -76.593,-33.112c-57.682,0 -105.145,47.464 -105.145,105.144c0,8.002 0.914,15.979 2.722,23.773c-84.418,-4.231 -163.18,-44.161 -216.494,-109.752c-27.724,47.726 -13.379,109.576 32.522,140.226c-16.715,-0.495 -33.071,-5.005 -47.677,-13.148l0,1.331c0.014,49.814 35.447,93.111 84.275,102.974c-15.464,4.217 -31.693,4.833 -47.431,1.802c13.727,42.685 53.311,72.108 98.14,72.95c-37.19,29.227 -83.157,45.103 -130.458,45.056c-8.358,-0.016 -16.708,-0.522 -25.006,-1.516c48.034,30.825 103.94,47.18 161.014,47.104",style:{fill:"#1da1f2",fillRule:"nonzero"}}))}renderLinkedInIcon(){return s("svg",{height:"100%",style:{fillRule:"evenodd",clipRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:"2"},version:"1.1",viewBox:"0 0 512 512",width:"100%",xmlns:"http://www.w3.org/2000/svg"},s("g",{id:"g5891"},s("path",{d:"M512,64c0,-35.323 -28.677,-64 -64,-64l-384,0c-35.323,0 -64,28.677 -64,64l0,384c0,35.323 28.677,64 64,64l384,0c35.323,0 64,-28.677 64,-64l0,-384Z",id:"background",style:{fill:"#2867b2"}}),s("g",{id:"shapes"},s("rect",{height:"257.962",id:"rect11",style:{fill:"#fff"},width:"85.76",x:"61.053",y:"178.667"}),s("path",{d:"M104.512,54.28c-29.341,0 -48.512,19.29 -48.512,44.573c0,24.752 18.588,44.574 47.377,44.574l0.554,0c29.903,0 48.516,-19.822 48.516,-44.574c-0.555,-25.283 -18.611,-44.573 -47.935,-44.573Z",id:"path13-0",style:{fill:"#fff",fillRule:"nonzero"}}),s("path",{d:"M357.278,172.601c-45.49,0 -65.866,25.017 -77.276,42.589l0,-36.523l-85.738,0c1.137,24.197 0,257.961 0,257.961l85.737,0l0,-144.064c0,-7.711 0.554,-15.42 2.827,-20.931c6.188,-15.4 20.305,-31.352 43.993,-31.352c31.012,0 43.436,23.664 43.436,58.327l0,138.02l85.741,0l0,-147.93c0,-79.237 -42.305,-116.097 -98.72,-116.097Z",id:"path15",style:{fill:"#fff",fillRule:"nonzero"}}))))}renderTip(){var t;const i=null===(t=this.messages)||void 0===t?void 0:t.info;return s("div",{class:ot.tipContainer},s("span",{class:ot.tipHeader},s("calcite-icon",{icon:"lightbulb",scale:this.scale}),s("span",null,null==i?void 0:i.label)),s("p",{class:ot.tipContent},null==i?void 0:i.tooltip))}renderEmbed(){var t,i,e;const n=null===(t=this.messages)||void 0===t?void 0:t.embed,a="rtl"===document.dir?` ${ot.rtl.textArea}`:"";return s("div",{class:ot.embed.container},s("span",{class:ot.embed.header},s("calcite-icon",{icon:"code",scale:this.scale}),s("span",null,null===(e=null===(i=this.messages)||void 0===i?void 0:i.embed)||void 0===e?void 0:e.label)),s("div",{class:ot.embed.embedCode.container},s("div",{class:ot.embed.embedCode.textArea},s("textarea",{ref:t=>this.embedCodeRef=t,cols:30,rows:5,readonly:!0,class:a,value:this.getEmbedCode()}),s("button",{id:"copyEmbedToClipboard",onClick:this.copyEmbedCode.bind(this),class:ot.embed.embedCode.copyButton},s("calcite-icon",{icon:"copy",scale:this.scale}),s("span",null,null==n?void 0:n.copy))),s("span",{class:ot.embed.textAreaText},s("slot",{name:"text-area-text"})),s("div",{class:ot.embed.dimensions.container},s("label",{class:ot.embed.dimensions.input},s("span",null,null==n?void 0:n.width),s("input",{ref:t=>this.embedWidthRef=t,type:"number",onKeyDown:t=>["e","E","+","-"].includes(t.key)&&t.preventDefault(),onChange:this.handleNumberInputOnChange("width"),value:this.embedWidth,min:"1"})),s("label",{class:ot.embed.dimensions.input},s("span",null,null==n?void 0:n.height),s("input",{ref:t=>this.embedHeightRef=t,type:"number",onKeyDown:t=>["e","E","+","-"].includes(t.key)&&t.preventDefault(),onChange:this.handleNumberInputOnChange("height"),value:this.embedHeight,min:"1"})))))}handleNumberInputOnChange(t){const i="width"===t?this.embedWidthRef:this.embedHeightRef,s="width"===t?"embedWidth":"embedHeight";return()=>{i&&parseFloat(i.value)<=0&&(this[s]=parseInt("1"),i.value="1")}}togglePopover(t){t.stopPropagation(),this.opened=!this.opened,this.popoverRef.open=this.opened}closePopover(){this.opened=!1,this.popoverRef.open=this.opened}async handleShareItem(t){var i,s,e,n;this.shareUrl=await this.generateShareUrl();let a=null;const o=null!==(s=null===(i=null===navigator||void 0===navigator?void 0:navigator.userAgent)||void 0===i?void 0:i.includes("Chrome"))&&void 0!==s&&s,l=null!==(n=null===(e=null===navigator||void 0===navigator?void 0:navigator.userAgent)||void 0===e?void 0:e.includes("Safari"))&&void 0!==n&&n&&!o;!l&&this.shortenShareUrl&&(a=await this.shortenUrl(this.shareUrl));let r=a||this.shareUrl;switch(t){case"link":return navigator.clipboard.writeText(r),this.embed&&(this.copyEmbedPopoverRef.open=!1,this.inlineCopyEmbedOpened=!1),"inline"===this.mode&&(this.copyLinkPopoverRef.open=!0,setTimeout((()=>this.copyLinkPopoverRef.open=!1),3e3)),this.inlineCopyLinkOpened=!0,this.copied=!0,void("popover"===this.mode&&setTimeout((()=>this.closePopover()),2e3));case"facebook":case"twitter":case"linkedIn":let i;l&&(i=window.open("","_blank"),this.shortenShareUrl&&(r=await this.shortenUrl(this.shareUrl)||r));const s={url:encodeURI(r)},e="twitter"===t?Object.assign(Object.assign({},s),{text:this.shareText}):s,[n]=await K(["esri/intl"]),a=n.substitute(lt[t],e);return"popover"===this.mode&&this.closePopover(),void(l&&i?(i.location=a,i.focus()):window.open(encodeURI(a),"_blank"))}}async shortenUrl(t){var i,s;const[e]=await K(["esri/request"]),n=await e("https://arcg.is/prod/shorten",{query:{longUrl:t,f:"json"}}),a=null===(s=null===(i=null==n?void 0:n.data)||void 0===i?void 0:i.data)||void 0===s?void 0:s.url;if(a)return a.replace("http://","https://")}getEmbedCode(){return`<iframe src="${this.shareUrl}" width="${this.embedWidth}" height="${this.embedHeight}" frameborder="0" style="border:0" allowfullscreen>${this.iframeInnerText}</iframe>`}copyEmbedCode(){navigator.clipboard.writeText(this.getEmbedCode()),this.copyLinkPopoverRef.open=!1,this.inlineCopyLinkOpened=!1,this.copyEmbedPopoverRef.open=!0,setTimeout((()=>this.copyEmbedPopoverRef.open=!1),3e3),this.inlineCopyEmbedOpened=!0}async generateShareUrl(){var t;if(this.autoUpdateShareUrl&&(this.shareUrl=window.location.href),!this.view||!(null===(t=this.view)||void 0===t?void 0:t.ready))return this.shareUrl;const{x:i,y:s}=this.view.center,{spatialReference:e}=this.view,[n,a]=await K(["esri/geometry/Point","esri/geometry/SpatialReference"]),o=new n({x:i,y:s,spatialReference:new a(Object.assign({},e.toJSON()))}),l=await this.processPoint(o),{isWGS84:r,isWebMercator:c}=l.spatialReference;return this.generateShareUrlParams(l,r||c)}async processPoint(t){const{isWGS84:i,isWebMercator:s}=t.spatialReference;if(i||s)return t;const[e,n]=await K(["esri/geometry/SpatialReference","esri/geometry/projection"]),a=new e({wkid:4326});try{await n.load();const i=n.project(t,a);return Promise.resolve(i)}catch(t){return console.error("Failed to project point",t),Promise.reject(null)}}generateShareUrlParams(t,i){var s,e,n,a;const{longitude:o,latitude:l,x:r,y:c}=t;if(void 0===o||void 0===l)return this.shareUrl;const h=this.roundValue(i?o:r),d=this.roundValue(i?l:c),{zoom:p}=this.view,u=this.roundValue(p),v=null===(e=null===(s=this.view)||void 0===s?void 0:s.popup)||void 0===e?void 0:e.selectedFeature,m=null===(a=null===(n=this.view)||void 0===n?void 0:n.popup)||void 0===a?void 0:a.visible;let f,g;if(v&&m){const t=null==v?void 0:v.layer;f=t.id,g=v.attributes[t.objectIdField]}const b=this.view.map.allLayers.filter((t=>!t.visible)).toArray().map((t=>t.id)).toString().replaceAll(",",";"),{type:_}=this.view,{defaultUrlParams:x}=this,w=new URL(this.shareUrl),{searchParams:y}=w;if(y.get("center")&&y.delete("center"),y.get("level")&&y.delete("level"),y.get("selectedFeature")&&y.delete("selectedFeature"),y.get("hiddenLayers")&&y.delete("hiddenLayers"),y.get("viewpoint")&&y.delete("viewpoint"),"3d"===_){const{camera:t}=this.view,{heading:i,position:s,tilt:e}=t,{longitude:n,latitude:a,z:o}=s,l={longitude:this.roundValue(n,8),latitude:this.roundValue(a,8),z:this.roundValue(o,3),heading:this.roundValue(i,3),tilt:this.roundValue(e,3)};return!1!==(null==x?void 0:x.viewpoint)&&w.searchParams.set("viewpoint",`cam:${l.longitude},${l.latitude},${l.z};${l.heading},${l.tilt}`),f&&g&&!1!==(null==x?void 0:x.selectedFeature)&&w.searchParams.set("selectedFeature",`${f};${g}`),b&&!1!==(null==x?void 0:x.hiddenLayers)&&w.searchParams.set("hiddenLayers",b),w.search=decodeURIComponent(w.search),w.href}return!1!==(null==x?void 0:x.center)&&w.searchParams.set("center",`${h};${d}`),!1!==(null==x?void 0:x.level)&&w.searchParams.set("level",`${u}`),f&&g&&!1!==(null==x?void 0:x.selectedFeature)&&w.searchParams.set("selectedFeature",`${f};${g}`),b&&!1!==(null==x?void 0:x.hiddenLayers)&&w.searchParams.set("hiddenLayers",b),w.search=decodeURIComponent(w.search),w.href}roundValue(t,i=4){return parseFloat(t.toFixed(i))}get el(){return n(this)}};rt.style=":host{display:block;--instant-apps-social-share-width--s:200px;--instant-apps-social-share-width--m:280px;--instant-apps-social-share-width--l:320px;--instant-apps-social-share-width-horizontal--s:300px;--instant-apps-social-share-width-horizontal--m:380px;--instant-apps-social-share-width-horizontal--l:420px;--instant-apps-social-share-background-color:var(--calcite-color-foreground-1);--instant-apps-social-share-popover-button-background-color:transparent;--instant-apps-social-share-popover-button-icon-color:var(--calcite-ui-icon-color);--instant-apps-social-share-embed-border:1px solid $border;--instant-apps-social-share-embed-text-area-text:#468540}:host .instant-apps-social-share__popover-button{background-color:var(--instant-apps-social-share-popover-button-background-color)}:host .instant-apps-social-share__popover-button calcite-icon{color:var(--instant-apps-social-share-popover-button-icon-color)}:host .instant-apps-social-share__dialog,:host .instant-apps-social-share__dialog-embed{background-color:var(--instant-apps-social-share-background-color);border:var(--instant-apps-social-share-embed-border)}:host .instant-apps-social-share__dialog{box-sizing:border-box;height:auto;padding:10px 0;border-radius:5px}:host .instant-apps-social-share__options{margin:0;padding:1% 0 0 0;list-style-type:none}:host .instant-apps-social-share__options li{box-sizing:border-box;display:flex;align-items:center;width:100%;padding:5%;transition:background-color 0.15s ease-out 0s}:host .instant-apps-social-share__options li .instant-apps-social-share__icon,:host .instant-apps-social-share__options li .instant-apps-social-share__option-text{display:inline-block}:host .instant-apps-social-share__options li .instant-apps-social-share__icon{display:flex;align-items:center}:host .instant-apps-social-share__options li .instant-apps-social-share__option-text{width:85%;margin-left:10px;word-break:break-word}:host .instant-apps-social-share__options li .instant-apps-social-share__option-text--rtl{margin-left:0;margin-right:10px}:host .instant-apps-social-share__options li:hover{cursor:pointer;background-color:var(--calcite-color-foreground-2)}:host .instant-apps-social-share__tip{box-sizing:border-box;padding:0 5% 1% 5%}:host .instant-apps-social-share__tip-header{display:flex;align-items:center;color:#007ac2;margin:8px 0 5px 0}:host .instant-apps-social-share__tip-header calcite-icon{margin-right:5px}:host .instant-apps-social-share__tip-content{line-height:17px;margin:0;padding-top:2%}:host .instant-apps-social-share__success{display:flex;flex-direction:column;padding:15px}:host .instant-apps-social-share__success-header{display:flex;align-items:center;font-weight:bold;margin-bottom:10px}:host .instant-apps-social-share__success-icon{display:flex;align-items:center;margin-right:5px}:host .instant-apps-social-share__success-icon calcite-icon{color:var(--calcite-color-status-success)}:host .instant-apps-social-share__success-message{line-height:16px}:host .instant-apps-social-share__embed{box-sizing:border-box;width:100%;padding:5%;margin-bottom:10px;border-top:1px solid #d3d3d3}:host .instant-apps-social-share__embed-header{display:flex;align-items:center;margin-bottom:5px}:host .instant-apps-social-share__embed-header calcite-icon{margin-right:5px}:host .instant-apps-social-share__embed-code-text-area{border:1px solid #d3d3d3}:host .instant-apps-social-share__embed-code-text-area textarea{box-sizing:border-box;padding:4%;border:none;resize:none;background:transparent;width:100%;font-family:var(--calcite-sans-family);color:var(--calcite-color-text-1)}:host .instant-apps-social-share__embed-code-text-area button{display:flex;align-items:center;text-align:start;width:100%;border:none;border-top:1px solid #d3d3d3;background-color:transparent;line-height:16px;font-weight:400;padding:3%;color:var(--calcite-color-text-1)}:host .instant-apps-social-share__embed-code-text-area button calcite-icon{color:#007ac2;margin-right:3px}:host .instant-apps-social-share__embed-code-text-area button:hover{cursor:pointer;background-color:var(--calcite-color-foreground-2);transition:background-color 0.15s ease-out 0s}:host .instant-apps-social-share__embed-text-area-text{font-weight:600;color:var(--instant-apps-social-share-embed-text-area-text)}:host .instant-apps-social-share__embed .instant-apps-social-share__text-area--rtl{text-align:left}:host .instant-apps-social-share__embed-dimensions{display:flex;justify-content:space-between;margin-top:10px}:host .instant-apps-social-share__embed-dimensions-input{width:47%;box-sizing:border-box}:host .instant-apps-social-share__embed-dimensions-input input{border:1px solid #d3d3d3;width:100%;height:25px;font-family:var(--calcite-sans-family)}:host .instant-apps-social-share__layout--horizontal .instant-apps-social-share__options{display:flex;justify-content:space-around;margin-bottom:8%}:host .instant-apps-social-share__layout--horizontal .instant-apps-social-share__options li{flex-direction:column;padding:0}:host .instant-apps-social-share__layout--horizontal .instant-apps-social-share__options li .instant-apps-social-share__option-text{word-break:break-word;margin-left:0;margin-top:10px;text-align:center}:host .instant-apps-social-share__layout--horizontal .instant-apps-social-share__options li:hover{background-color:unset}:host .instant-apps-social-share__icon-container{display:flex;align-items:center}:host([scale=s]) .instant-apps-social-share__dialog{width:var(--instant-apps-social-share-width--s)}:host([scale=s]) .instant-apps-social-share__icon{width:16px;height:16px}:host([scale=s]) .instant-apps-social-share__option-text{font-size:var(--calcite-font-size--1)}:host([scale=s]) .instant-apps-social-share__dialog.instant-apps-social-share__layout--horizontal{width:var(--instant-apps-social-share-width-horizontal--s)}:host([scale=s]) .instant-apps-social-share__tip-header,:host([scale=s]) .instant-apps-social-share__tip-content,:host([scale=s]) .instant-apps-social-share__embed-header,:host([scale=s]) .instant-apps-social-share__embed-dimensions-input{font-size:var(--calcite-font-size--2)}:host([scale=m]) .instant-apps-social-share__dialog{width:var(--instant-apps-social-share-width--m)}:host([scale=m]) .instant-apps-social-share__icon{width:24px;height:24px}:host([scale=m]) .instant-apps-social-share__option-text{font-size:var(--calcite-font-size-0)}:host([scale=m]) .instant-apps-social-share__dialog.instant-apps-social-share__layout--horizontal{width:var(--instant-apps-social-share-width-horizontal--m)}:host([scale=m]) .instant-apps-social-share__tip-header,:host([scale=m]) .instant-apps-social-share__tip-content,:host([scale=m]) .instant-apps-social-share__embed-header,:host([scale=m]) .instant-apps-social-share__embed-dimensions-input{font-size:var(--calcite-font-size--1)}:host([scale=l]) .instant-apps-social-share__dialog{width:var(--instant-apps-social-share-width--l)}:host([scale=l]) .instant-apps-social-share__icon{width:32px;height:32px}:host([scale=l]) .instant-apps-social-share__option-text{font-size:var(--calcite-font-size-1)}:host([scale=l]) .instant-apps-social-share__dialog.instant-apps-social-share__layout--horizontal{width:var(--instant-apps-social-share-width-horizontal--l)}:host([scale=l]) .instant-apps-social-share__tip-header,:host([scale=l]) .instant-apps-social-share__tip-content,:host([scale=l]) .instant-apps-social-share__embed-header,:host([scale=l]) .instant-apps-social-share__embed-dimensions-input{font-size:var(--calcite-font-size-0)}";export{Z as calcite_input_date_picker,nt as instant_apps_filter_list,rt as instant_apps_social_share}