@esri/solutions-components 0.7.42 → 0.7.44

Sign up to get free protection for your applications and to get access to all the features.
Files changed (452) hide show
  1. package/dist/assets/t9n/card-manager/resources_ar.json +1 -1
  2. package/dist/assets/t9n/card-manager/resources_bg.json +1 -1
  3. package/dist/assets/t9n/card-manager/resources_bs.json +1 -1
  4. package/dist/assets/t9n/card-manager/resources_ca.json +1 -1
  5. package/dist/assets/t9n/card-manager/resources_cs.json +1 -1
  6. package/dist/assets/t9n/card-manager/resources_da.json +1 -1
  7. package/dist/assets/t9n/card-manager/resources_de.json +1 -1
  8. package/dist/assets/t9n/card-manager/resources_el.json +1 -1
  9. package/dist/assets/t9n/card-manager/resources_es.json +1 -1
  10. package/dist/assets/t9n/card-manager/resources_et.json +1 -1
  11. package/dist/assets/t9n/card-manager/resources_fi.json +1 -1
  12. package/dist/assets/t9n/card-manager/resources_fr.json +1 -1
  13. package/dist/assets/t9n/card-manager/resources_he.json +1 -1
  14. package/dist/assets/t9n/card-manager/resources_hr.json +1 -1
  15. package/dist/assets/t9n/card-manager/resources_hu.json +1 -1
  16. package/dist/assets/t9n/card-manager/resources_id.json +1 -1
  17. package/dist/assets/t9n/card-manager/resources_it.json +1 -1
  18. package/dist/assets/t9n/card-manager/resources_ja.json +1 -1
  19. package/dist/assets/t9n/card-manager/resources_ko.json +1 -1
  20. package/dist/assets/t9n/card-manager/resources_lt.json +1 -1
  21. package/dist/assets/t9n/card-manager/resources_lv.json +1 -1
  22. package/dist/assets/t9n/card-manager/resources_nb.json +1 -1
  23. package/dist/assets/t9n/card-manager/resources_nl.json +1 -1
  24. package/dist/assets/t9n/card-manager/resources_pl.json +1 -1
  25. package/dist/assets/t9n/card-manager/resources_pt-BR.json +1 -1
  26. package/dist/assets/t9n/card-manager/resources_pt-PT.json +1 -1
  27. package/dist/assets/t9n/card-manager/resources_ro.json +1 -1
  28. package/dist/assets/t9n/card-manager/resources_ru.json +1 -1
  29. package/dist/assets/t9n/card-manager/resources_sk.json +1 -1
  30. package/dist/assets/t9n/card-manager/resources_sl.json +1 -1
  31. package/dist/assets/t9n/card-manager/resources_sr.json +1 -1
  32. package/dist/assets/t9n/card-manager/resources_sv.json +1 -1
  33. package/dist/assets/t9n/card-manager/resources_th.json +1 -1
  34. package/dist/assets/t9n/card-manager/resources_tr.json +1 -1
  35. package/dist/assets/t9n/card-manager/resources_uk.json +1 -1
  36. package/dist/assets/t9n/card-manager/resources_vi.json +1 -1
  37. package/dist/assets/t9n/card-manager/resources_zh-CN.json +1 -1
  38. package/dist/assets/t9n/card-manager/resources_zh-HK.json +1 -1
  39. package/dist/assets/t9n/card-manager/resources_zh-TW.json +1 -1
  40. package/dist/assets/t9n/crowdsource-manager/resources_ar.json +1 -1
  41. package/dist/assets/t9n/crowdsource-manager/resources_bg.json +1 -1
  42. package/dist/assets/t9n/crowdsource-manager/resources_bs.json +1 -1
  43. package/dist/assets/t9n/crowdsource-manager/resources_ca.json +1 -1
  44. package/dist/assets/t9n/crowdsource-manager/resources_cs.json +1 -1
  45. package/dist/assets/t9n/crowdsource-manager/resources_da.json +1 -1
  46. package/dist/assets/t9n/crowdsource-manager/resources_de.json +1 -1
  47. package/dist/assets/t9n/crowdsource-manager/resources_el.json +1 -1
  48. package/dist/assets/t9n/crowdsource-manager/resources_es.json +1 -1
  49. package/dist/assets/t9n/crowdsource-manager/resources_et.json +1 -1
  50. package/dist/assets/t9n/crowdsource-manager/resources_fi.json +1 -1
  51. package/dist/assets/t9n/crowdsource-manager/resources_fr.json +1 -1
  52. package/dist/assets/t9n/crowdsource-manager/resources_he.json +1 -1
  53. package/dist/assets/t9n/crowdsource-manager/resources_hr.json +1 -1
  54. package/dist/assets/t9n/crowdsource-manager/resources_hu.json +1 -1
  55. package/dist/assets/t9n/crowdsource-manager/resources_id.json +1 -1
  56. package/dist/assets/t9n/crowdsource-manager/resources_it.json +1 -1
  57. package/dist/assets/t9n/crowdsource-manager/resources_ja.json +1 -1
  58. package/dist/assets/t9n/crowdsource-manager/resources_ko.json +1 -1
  59. package/dist/assets/t9n/crowdsource-manager/resources_lt.json +1 -1
  60. package/dist/assets/t9n/crowdsource-manager/resources_lv.json +1 -1
  61. package/dist/assets/t9n/crowdsource-manager/resources_nb.json +1 -1
  62. package/dist/assets/t9n/crowdsource-manager/resources_nl.json +1 -1
  63. package/dist/assets/t9n/crowdsource-manager/resources_pl.json +1 -1
  64. package/dist/assets/t9n/crowdsource-manager/resources_pt-BR.json +1 -1
  65. package/dist/assets/t9n/crowdsource-manager/resources_pt-PT.json +1 -1
  66. package/dist/assets/t9n/crowdsource-manager/resources_ro.json +1 -1
  67. package/dist/assets/t9n/crowdsource-manager/resources_ru.json +1 -1
  68. package/dist/assets/t9n/crowdsource-manager/resources_sk.json +1 -1
  69. package/dist/assets/t9n/crowdsource-manager/resources_sl.json +1 -1
  70. package/dist/assets/t9n/crowdsource-manager/resources_sr.json +1 -1
  71. package/dist/assets/t9n/crowdsource-manager/resources_sv.json +1 -1
  72. package/dist/assets/t9n/crowdsource-manager/resources_th.json +1 -1
  73. package/dist/assets/t9n/crowdsource-manager/resources_tr.json +1 -1
  74. package/dist/assets/t9n/crowdsource-manager/resources_uk.json +1 -1
  75. package/dist/assets/t9n/crowdsource-manager/resources_vi.json +1 -1
  76. package/dist/assets/t9n/crowdsource-manager/resources_zh-CN.json +1 -1
  77. package/dist/assets/t9n/crowdsource-manager/resources_zh-HK.json +1 -1
  78. package/dist/assets/t9n/crowdsource-manager/resources_zh-TW.json +1 -1
  79. package/dist/assets/t9n/crowdsource-reporter/resources_ar.json +20 -18
  80. package/dist/assets/t9n/crowdsource-reporter/resources_bg.json +20 -18
  81. package/dist/assets/t9n/crowdsource-reporter/resources_bs.json +20 -18
  82. package/dist/assets/t9n/crowdsource-reporter/resources_ca.json +20 -18
  83. package/dist/assets/t9n/crowdsource-reporter/resources_cs.json +20 -18
  84. package/dist/assets/t9n/crowdsource-reporter/resources_da.json +20 -18
  85. package/dist/assets/t9n/crowdsource-reporter/resources_de.json +20 -18
  86. package/dist/assets/t9n/crowdsource-reporter/resources_el.json +20 -18
  87. package/dist/assets/t9n/crowdsource-reporter/resources_es.json +20 -18
  88. package/dist/assets/t9n/crowdsource-reporter/resources_et.json +20 -18
  89. package/dist/assets/t9n/crowdsource-reporter/resources_fi.json +20 -18
  90. package/dist/assets/t9n/crowdsource-reporter/resources_fr.json +20 -18
  91. package/dist/assets/t9n/crowdsource-reporter/resources_he.json +20 -18
  92. package/dist/assets/t9n/crowdsource-reporter/resources_hr.json +20 -18
  93. package/dist/assets/t9n/crowdsource-reporter/resources_hu.json +20 -18
  94. package/dist/assets/t9n/crowdsource-reporter/resources_id.json +20 -18
  95. package/dist/assets/t9n/crowdsource-reporter/resources_it.json +20 -18
  96. package/dist/assets/t9n/crowdsource-reporter/resources_ja.json +20 -18
  97. package/dist/assets/t9n/crowdsource-reporter/resources_ko.json +20 -18
  98. package/dist/assets/t9n/crowdsource-reporter/resources_lt.json +20 -18
  99. package/dist/assets/t9n/crowdsource-reporter/resources_lv.json +20 -18
  100. package/dist/assets/t9n/crowdsource-reporter/resources_nb.json +20 -18
  101. package/dist/assets/t9n/crowdsource-reporter/resources_nl.json +20 -18
  102. package/dist/assets/t9n/crowdsource-reporter/resources_pl.json +20 -18
  103. package/dist/assets/t9n/crowdsource-reporter/resources_pt-BR.json +20 -18
  104. package/dist/assets/t9n/crowdsource-reporter/resources_pt-PT.json +20 -18
  105. package/dist/assets/t9n/crowdsource-reporter/resources_ro.json +20 -18
  106. package/dist/assets/t9n/crowdsource-reporter/resources_ru.json +20 -18
  107. package/dist/assets/t9n/crowdsource-reporter/resources_sk.json +20 -18
  108. package/dist/assets/t9n/crowdsource-reporter/resources_sl.json +20 -18
  109. package/dist/assets/t9n/crowdsource-reporter/resources_sr.json +20 -18
  110. package/dist/assets/t9n/crowdsource-reporter/resources_sv.json +20 -18
  111. package/dist/assets/t9n/crowdsource-reporter/resources_th.json +20 -18
  112. package/dist/assets/t9n/crowdsource-reporter/resources_tr.json +20 -18
  113. package/dist/assets/t9n/crowdsource-reporter/resources_uk.json +20 -18
  114. package/dist/assets/t9n/crowdsource-reporter/resources_vi.json +20 -18
  115. package/dist/assets/t9n/crowdsource-reporter/resources_zh-CN.json +20 -18
  116. package/dist/assets/t9n/crowdsource-reporter/resources_zh-HK.json +20 -18
  117. package/dist/assets/t9n/crowdsource-reporter/resources_zh-TW.json +20 -18
  118. package/dist/assets/t9n/delete-button/resources_ar.json +6 -6
  119. package/dist/assets/t9n/delete-button/resources_bg.json +6 -6
  120. package/dist/assets/t9n/delete-button/resources_bs.json +6 -6
  121. package/dist/assets/t9n/delete-button/resources_ca.json +6 -6
  122. package/dist/assets/t9n/delete-button/resources_cs.json +6 -6
  123. package/dist/assets/t9n/delete-button/resources_da.json +6 -6
  124. package/dist/assets/t9n/delete-button/resources_de.json +6 -6
  125. package/dist/assets/t9n/delete-button/resources_el.json +6 -6
  126. package/dist/assets/t9n/delete-button/resources_es.json +6 -6
  127. package/dist/assets/t9n/delete-button/resources_et.json +6 -6
  128. package/dist/assets/t9n/delete-button/resources_fi.json +6 -6
  129. package/dist/assets/t9n/delete-button/resources_fr.json +6 -6
  130. package/dist/assets/t9n/delete-button/resources_he.json +6 -6
  131. package/dist/assets/t9n/delete-button/resources_hr.json +6 -6
  132. package/dist/assets/t9n/delete-button/resources_hu.json +6 -6
  133. package/dist/assets/t9n/delete-button/resources_id.json +6 -6
  134. package/dist/assets/t9n/delete-button/resources_it.json +6 -6
  135. package/dist/assets/t9n/delete-button/resources_ja.json +6 -6
  136. package/dist/assets/t9n/delete-button/resources_ko.json +6 -6
  137. package/dist/assets/t9n/delete-button/resources_lt.json +6 -6
  138. package/dist/assets/t9n/delete-button/resources_lv.json +6 -6
  139. package/dist/assets/t9n/delete-button/resources_nb.json +6 -6
  140. package/dist/assets/t9n/delete-button/resources_nl.json +6 -6
  141. package/dist/assets/t9n/delete-button/resources_pl.json +6 -6
  142. package/dist/assets/t9n/delete-button/resources_pt-BR.json +6 -6
  143. package/dist/assets/t9n/delete-button/resources_pt-PT.json +6 -6
  144. package/dist/assets/t9n/delete-button/resources_ro.json +6 -6
  145. package/dist/assets/t9n/delete-button/resources_ru.json +6 -6
  146. package/dist/assets/t9n/delete-button/resources_sk.json +6 -6
  147. package/dist/assets/t9n/delete-button/resources_sl.json +6 -6
  148. package/dist/assets/t9n/delete-button/resources_sr.json +6 -6
  149. package/dist/assets/t9n/delete-button/resources_sv.json +6 -6
  150. package/dist/assets/t9n/delete-button/resources_th.json +6 -6
  151. package/dist/assets/t9n/delete-button/resources_tr.json +6 -6
  152. package/dist/assets/t9n/delete-button/resources_uk.json +6 -6
  153. package/dist/assets/t9n/delete-button/resources_vi.json +6 -6
  154. package/dist/assets/t9n/delete-button/resources_zh-CN.json +6 -6
  155. package/dist/assets/t9n/delete-button/resources_zh-HK.json +6 -6
  156. package/dist/assets/t9n/delete-button/resources_zh-TW.json +6 -6
  157. package/dist/assets/t9n/feature-list/resources_ar.json +2 -2
  158. package/dist/assets/t9n/feature-list/resources_bg.json +2 -2
  159. package/dist/assets/t9n/feature-list/resources_bs.json +2 -2
  160. package/dist/assets/t9n/feature-list/resources_ca.json +2 -2
  161. package/dist/assets/t9n/feature-list/resources_cs.json +2 -2
  162. package/dist/assets/t9n/feature-list/resources_da.json +2 -2
  163. package/dist/assets/t9n/feature-list/resources_de.json +2 -2
  164. package/dist/assets/t9n/feature-list/resources_el.json +2 -2
  165. package/dist/assets/t9n/feature-list/resources_es.json +2 -2
  166. package/dist/assets/t9n/feature-list/resources_et.json +2 -2
  167. package/dist/assets/t9n/feature-list/resources_fi.json +2 -2
  168. package/dist/assets/t9n/feature-list/resources_fr.json +2 -2
  169. package/dist/assets/t9n/feature-list/resources_he.json +2 -2
  170. package/dist/assets/t9n/feature-list/resources_hr.json +2 -2
  171. package/dist/assets/t9n/feature-list/resources_hu.json +2 -2
  172. package/dist/assets/t9n/feature-list/resources_id.json +2 -2
  173. package/dist/assets/t9n/feature-list/resources_it.json +2 -2
  174. package/dist/assets/t9n/feature-list/resources_ja.json +2 -2
  175. package/dist/assets/t9n/feature-list/resources_ko.json +2 -2
  176. package/dist/assets/t9n/feature-list/resources_lt.json +2 -2
  177. package/dist/assets/t9n/feature-list/resources_lv.json +2 -2
  178. package/dist/assets/t9n/feature-list/resources_nb.json +2 -2
  179. package/dist/assets/t9n/feature-list/resources_nl.json +2 -2
  180. package/dist/assets/t9n/feature-list/resources_pl.json +2 -2
  181. package/dist/assets/t9n/feature-list/resources_pt-BR.json +2 -2
  182. package/dist/assets/t9n/feature-list/resources_pt-PT.json +2 -2
  183. package/dist/assets/t9n/feature-list/resources_ro.json +2 -2
  184. package/dist/assets/t9n/feature-list/resources_ru.json +2 -2
  185. package/dist/assets/t9n/feature-list/resources_sk.json +2 -2
  186. package/dist/assets/t9n/feature-list/resources_sl.json +2 -2
  187. package/dist/assets/t9n/feature-list/resources_sr.json +2 -2
  188. package/dist/assets/t9n/feature-list/resources_sv.json +2 -2
  189. package/dist/assets/t9n/feature-list/resources_th.json +2 -2
  190. package/dist/assets/t9n/feature-list/resources_tr.json +2 -2
  191. package/dist/assets/t9n/feature-list/resources_uk.json +2 -2
  192. package/dist/assets/t9n/feature-list/resources_vi.json +2 -2
  193. package/dist/assets/t9n/feature-list/resources_zh-CN.json +2 -2
  194. package/dist/assets/t9n/feature-list/resources_zh-HK.json +2 -2
  195. package/dist/assets/t9n/feature-list/resources_zh-TW.json +2 -2
  196. package/dist/assets/t9n/info-card/resources_ar.json +1 -1
  197. package/dist/assets/t9n/info-card/resources_bg.json +1 -1
  198. package/dist/assets/t9n/info-card/resources_bs.json +1 -1
  199. package/dist/assets/t9n/info-card/resources_ca.json +1 -1
  200. package/dist/assets/t9n/info-card/resources_cs.json +1 -1
  201. package/dist/assets/t9n/info-card/resources_da.json +1 -1
  202. package/dist/assets/t9n/info-card/resources_de.json +1 -1
  203. package/dist/assets/t9n/info-card/resources_el.json +1 -1
  204. package/dist/assets/t9n/info-card/resources_es.json +1 -1
  205. package/dist/assets/t9n/info-card/resources_et.json +1 -1
  206. package/dist/assets/t9n/info-card/resources_fi.json +1 -1
  207. package/dist/assets/t9n/info-card/resources_fr.json +1 -1
  208. package/dist/assets/t9n/info-card/resources_he.json +1 -1
  209. package/dist/assets/t9n/info-card/resources_hr.json +1 -1
  210. package/dist/assets/t9n/info-card/resources_hu.json +1 -1
  211. package/dist/assets/t9n/info-card/resources_id.json +1 -1
  212. package/dist/assets/t9n/info-card/resources_it.json +1 -1
  213. package/dist/assets/t9n/info-card/resources_ja.json +1 -1
  214. package/dist/assets/t9n/info-card/resources_ko.json +1 -1
  215. package/dist/assets/t9n/info-card/resources_lt.json +1 -1
  216. package/dist/assets/t9n/info-card/resources_lv.json +1 -1
  217. package/dist/assets/t9n/info-card/resources_nb.json +1 -1
  218. package/dist/assets/t9n/info-card/resources_nl.json +1 -1
  219. package/dist/assets/t9n/info-card/resources_pl.json +1 -1
  220. package/dist/assets/t9n/info-card/resources_pt-BR.json +1 -1
  221. package/dist/assets/t9n/info-card/resources_pt-PT.json +1 -1
  222. package/dist/assets/t9n/info-card/resources_ro.json +1 -1
  223. package/dist/assets/t9n/info-card/resources_ru.json +1 -1
  224. package/dist/assets/t9n/info-card/resources_sk.json +1 -1
  225. package/dist/assets/t9n/info-card/resources_sl.json +1 -1
  226. package/dist/assets/t9n/info-card/resources_sr.json +1 -1
  227. package/dist/assets/t9n/info-card/resources_sv.json +1 -1
  228. package/dist/assets/t9n/info-card/resources_th.json +1 -1
  229. package/dist/assets/t9n/info-card/resources_tr.json +1 -1
  230. package/dist/assets/t9n/info-card/resources_uk.json +1 -1
  231. package/dist/assets/t9n/info-card/resources_vi.json +1 -1
  232. package/dist/assets/t9n/info-card/resources_zh-CN.json +1 -1
  233. package/dist/assets/t9n/info-card/resources_zh-HK.json +1 -1
  234. package/dist/assets/t9n/info-card/resources_zh-TW.json +1 -1
  235. package/dist/assets/t9n/layer-list/resources_ar.json +2 -2
  236. package/dist/assets/t9n/layer-list/resources_bg.json +2 -2
  237. package/dist/assets/t9n/layer-list/resources_bs.json +2 -2
  238. package/dist/assets/t9n/layer-list/resources_ca.json +2 -2
  239. package/dist/assets/t9n/layer-list/resources_cs.json +2 -2
  240. package/dist/assets/t9n/layer-list/resources_da.json +2 -2
  241. package/dist/assets/t9n/layer-list/resources_de.json +2 -2
  242. package/dist/assets/t9n/layer-list/resources_el.json +2 -2
  243. package/dist/assets/t9n/layer-list/resources_es.json +2 -2
  244. package/dist/assets/t9n/layer-list/resources_et.json +2 -2
  245. package/dist/assets/t9n/layer-list/resources_fi.json +2 -2
  246. package/dist/assets/t9n/layer-list/resources_fr.json +2 -2
  247. package/dist/assets/t9n/layer-list/resources_he.json +2 -2
  248. package/dist/assets/t9n/layer-list/resources_hr.json +2 -2
  249. package/dist/assets/t9n/layer-list/resources_hu.json +2 -2
  250. package/dist/assets/t9n/layer-list/resources_id.json +2 -2
  251. package/dist/assets/t9n/layer-list/resources_it.json +2 -2
  252. package/dist/assets/t9n/layer-list/resources_ja.json +2 -2
  253. package/dist/assets/t9n/layer-list/resources_ko.json +2 -2
  254. package/dist/assets/t9n/layer-list/resources_lt.json +2 -2
  255. package/dist/assets/t9n/layer-list/resources_lv.json +2 -2
  256. package/dist/assets/t9n/layer-list/resources_nb.json +2 -2
  257. package/dist/assets/t9n/layer-list/resources_nl.json +2 -2
  258. package/dist/assets/t9n/layer-list/resources_pl.json +2 -2
  259. package/dist/assets/t9n/layer-list/resources_pt-BR.json +2 -2
  260. package/dist/assets/t9n/layer-list/resources_pt-PT.json +2 -2
  261. package/dist/assets/t9n/layer-list/resources_ro.json +2 -2
  262. package/dist/assets/t9n/layer-list/resources_ru.json +2 -2
  263. package/dist/assets/t9n/layer-list/resources_sk.json +2 -2
  264. package/dist/assets/t9n/layer-list/resources_sl.json +2 -2
  265. package/dist/assets/t9n/layer-list/resources_sr.json +2 -2
  266. package/dist/assets/t9n/layer-list/resources_sv.json +2 -2
  267. package/dist/assets/t9n/layer-list/resources_th.json +2 -2
  268. package/dist/assets/t9n/layer-list/resources_tr.json +2 -2
  269. package/dist/assets/t9n/layer-list/resources_uk.json +2 -2
  270. package/dist/assets/t9n/layer-list/resources_vi.json +2 -2
  271. package/dist/assets/t9n/layer-list/resources_zh-CN.json +2 -2
  272. package/dist/assets/t9n/layer-list/resources_zh-HK.json +2 -2
  273. package/dist/assets/t9n/layer-list/resources_zh-TW.json +2 -2
  274. package/dist/assets/t9n/layer-table/resources_ar.json +4 -4
  275. package/dist/assets/t9n/layer-table/resources_bg.json +4 -4
  276. package/dist/assets/t9n/layer-table/resources_bs.json +4 -4
  277. package/dist/assets/t9n/layer-table/resources_ca.json +4 -4
  278. package/dist/assets/t9n/layer-table/resources_cs.json +4 -4
  279. package/dist/assets/t9n/layer-table/resources_da.json +4 -4
  280. package/dist/assets/t9n/layer-table/resources_de.json +4 -4
  281. package/dist/assets/t9n/layer-table/resources_el.json +4 -4
  282. package/dist/assets/t9n/layer-table/resources_es.json +4 -4
  283. package/dist/assets/t9n/layer-table/resources_et.json +4 -4
  284. package/dist/assets/t9n/layer-table/resources_fi.json +4 -4
  285. package/dist/assets/t9n/layer-table/resources_fr.json +4 -4
  286. package/dist/assets/t9n/layer-table/resources_he.json +4 -4
  287. package/dist/assets/t9n/layer-table/resources_hr.json +4 -4
  288. package/dist/assets/t9n/layer-table/resources_hu.json +4 -4
  289. package/dist/assets/t9n/layer-table/resources_id.json +4 -4
  290. package/dist/assets/t9n/layer-table/resources_it.json +4 -4
  291. package/dist/assets/t9n/layer-table/resources_ja.json +4 -4
  292. package/dist/assets/t9n/layer-table/resources_ko.json +4 -4
  293. package/dist/assets/t9n/layer-table/resources_lt.json +4 -4
  294. package/dist/assets/t9n/layer-table/resources_lv.json +4 -4
  295. package/dist/assets/t9n/layer-table/resources_nb.json +4 -4
  296. package/dist/assets/t9n/layer-table/resources_nl.json +4 -4
  297. package/dist/assets/t9n/layer-table/resources_pl.json +4 -4
  298. package/dist/assets/t9n/layer-table/resources_pt-BR.json +4 -4
  299. package/dist/assets/t9n/layer-table/resources_pt-PT.json +4 -4
  300. package/dist/assets/t9n/layer-table/resources_ro.json +4 -4
  301. package/dist/assets/t9n/layer-table/resources_ru.json +4 -4
  302. package/dist/assets/t9n/layer-table/resources_sk.json +4 -4
  303. package/dist/assets/t9n/layer-table/resources_sl.json +4 -4
  304. package/dist/assets/t9n/layer-table/resources_sr.json +4 -4
  305. package/dist/assets/t9n/layer-table/resources_sv.json +4 -4
  306. package/dist/assets/t9n/layer-table/resources_th.json +4 -4
  307. package/dist/assets/t9n/layer-table/resources_tr.json +4 -4
  308. package/dist/assets/t9n/layer-table/resources_uk.json +4 -4
  309. package/dist/assets/t9n/layer-table/resources_vi.json +4 -4
  310. package/dist/assets/t9n/layer-table/resources_zh-CN.json +4 -4
  311. package/dist/assets/t9n/layer-table/resources_zh-HK.json +4 -4
  312. package/dist/assets/t9n/layer-table/resources_zh-TW.json +4 -4
  313. package/dist/assets/t9n/map-tools/resources_ar.json +2 -2
  314. package/dist/assets/t9n/map-tools/resources_bg.json +2 -2
  315. package/dist/assets/t9n/map-tools/resources_bs.json +2 -2
  316. package/dist/assets/t9n/map-tools/resources_ca.json +2 -2
  317. package/dist/assets/t9n/map-tools/resources_cs.json +2 -2
  318. package/dist/assets/t9n/map-tools/resources_da.json +2 -2
  319. package/dist/assets/t9n/map-tools/resources_de.json +2 -2
  320. package/dist/assets/t9n/map-tools/resources_el.json +2 -2
  321. package/dist/assets/t9n/map-tools/resources_es.json +2 -2
  322. package/dist/assets/t9n/map-tools/resources_et.json +2 -2
  323. package/dist/assets/t9n/map-tools/resources_fi.json +2 -2
  324. package/dist/assets/t9n/map-tools/resources_fr.json +2 -2
  325. package/dist/assets/t9n/map-tools/resources_he.json +2 -2
  326. package/dist/assets/t9n/map-tools/resources_hr.json +2 -2
  327. package/dist/assets/t9n/map-tools/resources_hu.json +2 -2
  328. package/dist/assets/t9n/map-tools/resources_id.json +2 -2
  329. package/dist/assets/t9n/map-tools/resources_it.json +2 -2
  330. package/dist/assets/t9n/map-tools/resources_ja.json +2 -2
  331. package/dist/assets/t9n/map-tools/resources_ko.json +2 -2
  332. package/dist/assets/t9n/map-tools/resources_lt.json +2 -2
  333. package/dist/assets/t9n/map-tools/resources_lv.json +2 -2
  334. package/dist/assets/t9n/map-tools/resources_nb.json +2 -2
  335. package/dist/assets/t9n/map-tools/resources_nl.json +2 -2
  336. package/dist/assets/t9n/map-tools/resources_pl.json +2 -2
  337. package/dist/assets/t9n/map-tools/resources_pt-BR.json +2 -2
  338. package/dist/assets/t9n/map-tools/resources_pt-PT.json +2 -2
  339. package/dist/assets/t9n/map-tools/resources_ro.json +2 -2
  340. package/dist/assets/t9n/map-tools/resources_ru.json +2 -2
  341. package/dist/assets/t9n/map-tools/resources_sk.json +2 -2
  342. package/dist/assets/t9n/map-tools/resources_sl.json +2 -2
  343. package/dist/assets/t9n/map-tools/resources_sr.json +2 -2
  344. package/dist/assets/t9n/map-tools/resources_sv.json +2 -2
  345. package/dist/assets/t9n/map-tools/resources_th.json +2 -2
  346. package/dist/assets/t9n/map-tools/resources_tr.json +2 -2
  347. package/dist/assets/t9n/map-tools/resources_uk.json +2 -2
  348. package/dist/assets/t9n/map-tools/resources_vi.json +2 -2
  349. package/dist/assets/t9n/map-tools/resources_zh-CN.json +2 -2
  350. package/dist/assets/t9n/map-tools/resources_zh-HK.json +2 -2
  351. package/dist/assets/t9n/map-tools/resources_zh-TW.json +2 -2
  352. package/dist/assets/t9n/public-notification/resources_ar.json +2 -2
  353. package/dist/assets/t9n/public-notification/resources_bg.json +2 -2
  354. package/dist/assets/t9n/public-notification/resources_bs.json +2 -2
  355. package/dist/assets/t9n/public-notification/resources_ca.json +2 -2
  356. package/dist/assets/t9n/public-notification/resources_cs.json +2 -2
  357. package/dist/assets/t9n/public-notification/resources_da.json +2 -2
  358. package/dist/assets/t9n/public-notification/resources_de.json +2 -2
  359. package/dist/assets/t9n/public-notification/resources_el.json +2 -2
  360. package/dist/assets/t9n/public-notification/resources_es.json +2 -2
  361. package/dist/assets/t9n/public-notification/resources_et.json +2 -2
  362. package/dist/assets/t9n/public-notification/resources_fi.json +2 -2
  363. package/dist/assets/t9n/public-notification/resources_fr.json +2 -2
  364. package/dist/assets/t9n/public-notification/resources_he.json +2 -2
  365. package/dist/assets/t9n/public-notification/resources_hr.json +2 -2
  366. package/dist/assets/t9n/public-notification/resources_hu.json +2 -2
  367. package/dist/assets/t9n/public-notification/resources_id.json +2 -2
  368. package/dist/assets/t9n/public-notification/resources_it.json +2 -2
  369. package/dist/assets/t9n/public-notification/resources_ja.json +2 -2
  370. package/dist/assets/t9n/public-notification/resources_ko.json +2 -2
  371. package/dist/assets/t9n/public-notification/resources_lt.json +2 -2
  372. package/dist/assets/t9n/public-notification/resources_lv.json +2 -2
  373. package/dist/assets/t9n/public-notification/resources_nb.json +2 -2
  374. package/dist/assets/t9n/public-notification/resources_nl.json +2 -2
  375. package/dist/assets/t9n/public-notification/resources_pl.json +2 -2
  376. package/dist/assets/t9n/public-notification/resources_pt-BR.json +2 -2
  377. package/dist/assets/t9n/public-notification/resources_pt-PT.json +2 -2
  378. package/dist/assets/t9n/public-notification/resources_ro.json +2 -2
  379. package/dist/assets/t9n/public-notification/resources_ru.json +2 -2
  380. package/dist/assets/t9n/public-notification/resources_sk.json +2 -2
  381. package/dist/assets/t9n/public-notification/resources_sl.json +2 -2
  382. package/dist/assets/t9n/public-notification/resources_sr.json +2 -2
  383. package/dist/assets/t9n/public-notification/resources_sv.json +2 -2
  384. package/dist/assets/t9n/public-notification/resources_th.json +2 -2
  385. package/dist/assets/t9n/public-notification/resources_tr.json +2 -2
  386. package/dist/assets/t9n/public-notification/resources_uk.json +2 -2
  387. package/dist/assets/t9n/public-notification/resources_vi.json +2 -2
  388. package/dist/assets/t9n/public-notification/resources_zh-CN.json +2 -2
  389. package/dist/assets/t9n/public-notification/resources_zh-HK.json +2 -2
  390. package/dist/assets/t9n/public-notification/resources_zh-TW.json +2 -2
  391. package/dist/cjs/calcite-input-date-picker_3.cjs.entry.js +11 -3
  392. package/dist/cjs/card-manager_3.cjs.entry.js +17 -33
  393. package/dist/cjs/{downloadUtils-7d4985c0.js → downloadUtils-abf7decd.js} +8 -11
  394. package/dist/cjs/{helpers-981dd775.js → helpers-e328869d.js} +22 -19
  395. package/dist/cjs/{index.es-8cef354a.js → index.es-478ec781.js} +1 -1
  396. package/dist/cjs/instant-apps-export.cjs.entry.js +50 -34
  397. package/dist/cjs/instant-apps-interactive-legend-classic.cjs.entry.js +15 -8
  398. package/dist/cjs/instant-apps-interactive-legend-count_2.cjs.entry.js +1 -1
  399. package/dist/cjs/instant-apps-interactive-legend-group-legend-element-caption.cjs.entry.js +1 -1
  400. package/dist/cjs/instant-apps-interactive-legend-group-legend-element_5.cjs.entry.js +1 -1
  401. package/dist/cjs/instant-apps-interactive-legend.cjs.entry.js +1 -1
  402. package/dist/cjs/loader.cjs.js +1 -1
  403. package/dist/cjs/map-select-tools_3.cjs.entry.js +1 -1
  404. package/dist/cjs/public-notification.cjs.entry.js +1 -1
  405. package/dist/cjs/solutions-components.cjs.js +1 -1
  406. package/dist/collection/components/layer-table/layer-table.js +17 -34
  407. package/dist/collection/utils/downloadUtils.js +7 -10
  408. package/dist/collection/utils/downloadUtils.ts +13 -13
  409. package/dist/components/downloadUtils.js +7 -10
  410. package/dist/components/helpers.js +22 -19
  411. package/dist/components/instant-apps-export.js +50 -34
  412. package/dist/components/instant-apps-filter-list2.js +13 -3
  413. package/dist/components/instant-apps-interactive-legend-classic2.js +14 -7
  414. package/dist/components/layer-table2.js +18 -35
  415. package/dist/esm/calcite-input-date-picker_3.entry.js +11 -3
  416. package/dist/esm/card-manager_3.entry.js +17 -33
  417. package/dist/esm/{downloadUtils-d5928e55.js → downloadUtils-be13a13d.js} +8 -11
  418. package/dist/esm/{helpers-e8852b4a.js → helpers-633917fe.js} +22 -19
  419. package/dist/esm/{index.es-a1725c19.js → index.es-623fddee.js} +1 -1
  420. package/dist/esm/instant-apps-export.entry.js +50 -34
  421. package/dist/esm/instant-apps-interactive-legend-classic.entry.js +15 -8
  422. package/dist/esm/instant-apps-interactive-legend-count_2.entry.js +1 -1
  423. package/dist/esm/instant-apps-interactive-legend-group-legend-element-caption.entry.js +1 -1
  424. package/dist/esm/instant-apps-interactive-legend-group-legend-element_5.entry.js +1 -1
  425. package/dist/esm/instant-apps-interactive-legend.entry.js +1 -1
  426. package/dist/esm/loader.js +1 -1
  427. package/dist/esm/map-select-tools_3.entry.js +1 -1
  428. package/dist/esm/public-notification.entry.js +1 -1
  429. package/dist/esm/solutions-components.js +1 -1
  430. package/dist/solutions-components/{p-3e88e0bd.entry.js → p-0c427d9a.entry.js} +1 -1
  431. package/dist/solutions-components/{p-732ae6e8.entry.js → p-23fed594.entry.js} +1 -1
  432. package/dist/solutions-components/{p-7f374ec7.js → p-2bec3d88.js} +1 -1
  433. package/dist/solutions-components/{p-62f2cea7.entry.js → p-6ac459d9.entry.js} +1 -1
  434. package/dist/solutions-components/p-704c9ba1.entry.js +17 -0
  435. package/dist/solutions-components/{p-2ba240b9.entry.js → p-91710f0e.entry.js} +1 -1
  436. package/dist/solutions-components/{p-ac9c29da.entry.js → p-9294f273.entry.js} +1 -1
  437. package/dist/solutions-components/p-ac2799f6.entry.js +6 -0
  438. package/dist/solutions-components/p-b756d01f.js +6 -0
  439. package/dist/solutions-components/{p-5fd1ae46.entry.js → p-ccfdd890.entry.js} +1 -1
  440. package/dist/solutions-components/{p-12fc82a9.js → p-dc4fcddc.js} +3 -3
  441. package/dist/solutions-components/p-f053c268.entry.js +6 -0
  442. package/dist/solutions-components/p-f5b259f3.entry.js +6 -0
  443. package/dist/solutions-components/solutions-components.esm.js +1 -1
  444. package/dist/solutions-components/utils/downloadUtils.ts +13 -13
  445. package/dist/types/components/layer-table/layer-table.d.ts +4 -12
  446. package/dist/types/utils/downloadUtils.d.ts +3 -3
  447. package/package.json +2 -2
  448. package/dist/solutions-components/p-11c85508.entry.js +0 -6
  449. package/dist/solutions-components/p-1c19b946.js +0 -6
  450. package/dist/solutions-components/p-52945707.entry.js +0 -6
  451. package/dist/solutions-components/p-57087d57.entry.js +0 -17
  452. package/dist/solutions-components/p-7480ac64.entry.js +0 -6
@@ -10,7 +10,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
10
10
  const index = require('./index-105cf2b9.js');
11
11
  const locale = require('./locale-8c42ba7a.js');
12
12
  const mapViewUtils = require('./mapViewUtils-290dbc9e.js');
13
- const downloadUtils = require('./downloadUtils-7d4985c0.js');
13
+ const downloadUtils = require('./downloadUtils-abf7decd.js');
14
14
  require('./esri-loader-a91c0ec1.js');
15
15
  require('./_commonjsHelpers-384729db.js');
16
16
  require('./interfaces-7cd0a48a.js');
@@ -144,10 +144,6 @@ const LayerTable = class {
144
144
  * boolean: When true any onChange handeling will be skipped
145
145
  */
146
146
  this._skipOnChange = false;
147
- /**
148
- * bool: When true the table is being sorted
149
- */
150
- this._tableSorting = false;
151
147
  /**
152
148
  * Store a reference to the table node after it's first created
153
149
  * and initializes the FeatureTable
@@ -184,7 +180,6 @@ const LayerTable = class {
184
180
  this._selectAllActive = false;
185
181
  this._showHideOpen = false;
186
182
  this._showOnlySelected = false;
187
- this._sortActive = false;
188
183
  this._translations = undefined;
189
184
  }
190
185
  //--------------------------------------------------------------------------
@@ -244,6 +239,13 @@ const LayerTable = class {
244
239
  this._initToolInfos();
245
240
  }
246
241
  }
242
+ /**
243
+ * watch for changes in map info and update the toolbar
244
+ */
245
+ async mapInfoWatchHandler() {
246
+ this._initToolInfos();
247
+ this._updateToolbar();
248
+ }
247
249
  /**
248
250
  * watch for changes in map view and get the first layer
249
251
  */
@@ -282,14 +284,6 @@ const LayerTable = class {
282
284
  this._selectAllActive = false;
283
285
  }
284
286
  }
285
- /**
286
- * When sortActive is false the user has not defined a sort and we should use the default sort
287
- */
288
- async _sortActiveWatchHandler() {
289
- if (!this._sortActive) {
290
- await this._sortTable();
291
- }
292
- }
293
287
  /**
294
288
  * Scroll and zoom to the selected feature from the Features widget.
295
289
  *
@@ -950,11 +944,6 @@ const LayerTable = class {
950
944
  this._table.highlightIds.on("change", (evt) => {
951
945
  void this._handleOnChange(evt);
952
946
  });
953
- this.reactiveUtils.watch(() => this._table.activeSortOrders, (sortOrders) => {
954
- var _a, _b, _c, _d;
955
- this._sortActive = this._layer ? (sortOrders.length > 0 && ((_a = sortOrders[0]) === null || _a === void 0 ? void 0 : _a.direction) === "asc" || ((_b = sortOrders[0]) === null || _b === void 0 ? void 0 : _b.direction) === "desc") ||
956
- ((_c = sortOrders[0]) === null || _c === void 0 ? void 0 : _c.direction) === null && ((_d = sortOrders[0]) === null || _d === void 0 ? void 0 : _d.fieldName) === this._layer.objectIdField : false;
957
- });
958
947
  });
959
948
  }
960
949
  }
@@ -1104,7 +1093,6 @@ const LayerTable = class {
1104
1093
  this._defaultFilterHonored = true;
1105
1094
  }
1106
1095
  this._showOnlySelected = false;
1107
- this._sortActive = false;
1108
1096
  await this._sortTable();
1109
1097
  this._updateToolbar();
1110
1098
  });
@@ -1157,15 +1145,11 @@ const LayerTable = class {
1157
1145
  * Sort the objectid field in descending order
1158
1146
  */
1159
1147
  async _sortTable() {
1160
- if (this._table && this._layer && !this._sortActive) {
1161
- if (!this._tableSorting && this.showNewestFirst) {
1162
- this._tableSorting = true;
1163
- await this._table.when();
1164
- await this._layer.when(() => {
1165
- this._table.sortColumn(this._layer.objectIdField, "desc");
1166
- this._tableSorting = false;
1167
- });
1168
- }
1148
+ if (this._table && this._layer && this.showNewestFirst) {
1149
+ await this._table.when();
1150
+ await this._layer.when(() => {
1151
+ this._table.sortColumn(this._layer.objectIdField, "desc");
1152
+ });
1169
1153
  }
1170
1154
  }
1171
1155
  /**
@@ -1228,7 +1212,7 @@ const LayerTable = class {
1228
1212
  */
1229
1213
  _filterModal() {
1230
1214
  var _a, _b, _c;
1231
- return (index.h("calcite-modal", { "aria-labelledby": "modal-title", class: "modal", kind: "brand", onCalciteModalClose: () => void this._closeFilter(), open: this._filterOpen, widthScale: "s" }, index.h("div", { class: "display-flex align-center", id: "modal-title", slot: "header" }, (_b = (_a = this._translations) === null || _a === void 0 ? void 0 : _a.filter) === null || _b === void 0 ? void 0 : _b.replace("{{title}}", (_c = this._layer) === null || _c === void 0 ? void 0 : _c.title)), index.h("div", { slot: "content" }, index.h("instant-apps-filter-list", { autoUpdateUrl: false, closeBtn: true, closeBtnOnClick: async () => this._closeFilter(), layerExpressions: this._layerExpressions, onFilterListReset: () => this._handleFilterListReset(), onFilterUpdate: () => this._handleFilterUpdate(), ref: (el) => this._filterList = el, view: this.mapView, zoomBtn: false }))));
1215
+ return (index.h("calcite-modal", { "aria-labelledby": "modal-title", class: "modal", kind: "brand", onCalciteModalClose: () => void this._closeFilter(), open: this._filterOpen, widthScale: "s" }, index.h("div", { class: "display-flex align-center", id: "modal-title", slot: "header" }, (_b = (_a = this._translations) === null || _a === void 0 ? void 0 : _a.filter) === null || _b === void 0 ? void 0 : _b.replace("{{title}}", (_c = this._layer) === null || _c === void 0 ? void 0 : _c.title)), index.h("div", { slot: "content" }, index.h("instant-apps-filter-list", { autoUpdateUrl: false, closeBtn: true, closeBtnOnClick: async () => this._closeFilter(), comboboxOverlayPositioning: "fixed", layerExpressions: this._layerExpressions, onFilterListReset: () => this._handleFilterListReset(), onFilterUpdate: () => this._handleFilterUpdate(), ref: (el) => this._filterList = el, view: this.mapView, zoomBtn: false }))));
1232
1216
  }
1233
1217
  /**
1234
1218
  * Reset the filter active prop
@@ -1373,7 +1357,7 @@ const LayerTable = class {
1373
1357
  exportInfos, false, // formatUsingLayerPopup
1374
1358
  false, // removeDuplicates
1375
1359
  true, // addColumnTitle
1376
- fields, true);
1360
+ fields, true, true);
1377
1361
  this._updateToolInfoLoading("export", false);
1378
1362
  this._csvExporting = false;
1379
1363
  }
@@ -1518,10 +1502,10 @@ const LayerTable = class {
1518
1502
  "enableShare": ["enableShareWatchHandler"],
1519
1503
  "_controlsThatFit": ["_controlsThatFitWatchHandler"],
1520
1504
  "isMobile": ["isMobileWatchHandler"],
1505
+ "mapInfo": ["mapInfoWatchHandler"],
1521
1506
  "mapView": ["mapViewWatchHandler"],
1522
1507
  "_layer": ["_layerWatchHandler"],
1523
- "selectedIds": ["selectedIdsWatchHandler"],
1524
- "_sortActive": ["_sortActiveWatchHandler"]
1508
+ "selectedIds": ["selectedIdsWatchHandler"]
1525
1509
  }; }
1526
1510
  };
1527
1511
  LayerTable.style = layerTableCss;
@@ -1510,7 +1510,7 @@ function(t){var e=function(t){for(var e=t.length,r=new Uint8Array(e),n=0;n<e;n++
1510
1510
  * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
1511
1511
  * ====================================================================
1512
1512
  */
1513
- function(t){function e(){return (n.canvg?Promise.resolve(n.canvg):Promise.resolve().then(function () { return require('./index.es-8cef354a.js'); })).catch((function(t){return Promise.reject(new Error("Could not load canvg: "+t))})).then((function(t){return t.default?t.default:t}))}E.API.addSvgAsImage=function(t,r,n,i,o,s,c,u){if(isNaN(r)||isNaN(n))throw a.error("jsPDF.addSvgAsImage: Invalid coordinates",arguments),new Error("Invalid coordinates passed to jsPDF.addSvgAsImage");if(isNaN(i)||isNaN(o))throw a.error("jsPDF.addSvgAsImage: Invalid measurements",arguments),new Error("Invalid measurements (width and/or height) passed to jsPDF.addSvgAsImage");var h=document.createElement("canvas");h.width=i,h.height=o;var l=h.getContext("2d");l.fillStyle="#fff",l.fillRect(0,0,h.width,h.height);var f={ignoreMouse:!0,ignoreAnimation:!0,ignoreDimensions:!0},d=this;return e().then((function(e){return e.fromString(l,t,f)}),(function(){return Promise.reject(new Error("Could not load canvg."))})).then((function(t){return t.render(f)})).then((function(){d.addImage(h.toDataURL("image/jpeg",1),r,n,i,o,c,u);}))};}(),E.API.putTotalPages=function(t){var e,r=0;parseInt(this.internal.getFont().id.substr(1),10)<15?(e=new RegExp(t,"g"),r=this.internal.getNumberOfPages()):(e=new RegExp(this.pdfEscape16(t,this.internal.getFont()),"g"),r=this.pdfEscape16(this.internal.getNumberOfPages()+"",this.internal.getFont()));for(var n=1;n<=this.internal.getNumberOfPages();n++)for(var i=0;i<this.internal.pages[n].length;i++)this.internal.pages[n][i]=this.internal.pages[n][i].replace(e,r);return this},E.API.viewerPreferences=function(e,r){var n;e=e||{},r=r||!1;var i,a,o,s={HideToolbar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideMenubar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideWindowUI:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},FitWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},CenterWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},DisplayDocTitle:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.4},NonFullScreenPageMode:{defaultValue:"UseNone",value:"UseNone",type:"name",explicitSet:!1,valueSet:["UseNone","UseOutlines","UseThumbs","UseOC"],pdfVersion:1.3},Direction:{defaultValue:"L2R",value:"L2R",type:"name",explicitSet:!1,valueSet:["L2R","R2L"],pdfVersion:1.3},ViewArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},ViewClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintScaling:{defaultValue:"AppDefault",value:"AppDefault",type:"name",explicitSet:!1,valueSet:["AppDefault","None"],pdfVersion:1.6},Duplex:{defaultValue:"",value:"none",type:"name",explicitSet:!1,valueSet:["Simplex","DuplexFlipShortEdge","DuplexFlipLongEdge","none"],pdfVersion:1.7},PickTrayByPDFSize:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.7},PrintPageRange:{defaultValue:"",value:"",type:"array",explicitSet:!1,valueSet:null,pdfVersion:1.7},NumCopies:{defaultValue:1,value:1,type:"integer",explicitSet:!1,valueSet:null,pdfVersion:1.7}},c=Object.keys(s),u=[],h=0,l=0,f=0;function d(t,e){var r,n=!1;for(r=0;r<t.length;r+=1)t[r]===e&&(n=!0);return n}if(void 0===this.internal.viewerpreferences&&(this.internal.viewerpreferences={},this.internal.viewerpreferences.configuration=JSON.parse(JSON.stringify(s)),this.internal.viewerpreferences.isSubscribed=!1),n=this.internal.viewerpreferences.configuration,"reset"===e||!0===r){var p=c.length;for(f=0;f<p;f+=1)n[c[f]].value=n[c[f]].defaultValue,n[c[f]].explicitSet=!1;}if("object"===t(e))for(a in e)if(o=e[a],d(c,a)&&void 0!==o){if("boolean"===n[a].type&&"boolean"==typeof o)n[a].value=o;else if("name"===n[a].type&&d(n[a].valueSet,o))n[a].value=o;else if("integer"===n[a].type&&Number.isInteger(o))n[a].value=o;else if("array"===n[a].type){for(h=0;h<o.length;h+=1)if(i=!0,1===o[h].length&&"number"==typeof o[h][0])u.push(String(o[h]-1));else if(o[h].length>1){for(l=0;l<o[h].length;l+=1)"number"!=typeof o[h][l]&&(i=!1);!0===i&&u.push([o[h][0]-1,o[h][1]-1].join(" "));}n[a].value="["+u.join(" ")+"]";}else n[a].value=n[a].defaultValue;n[a].explicitSet=!0;}return !1===this.internal.viewerpreferences.isSubscribed&&(this.internal.events.subscribe("putCatalog",(function(){var t,e=[];for(t in n)!0===n[t].explicitSet&&("name"===n[t].type?e.push("/"+t+" /"+n[t].value):e.push("/"+t+" "+n[t].value));0!==e.length&&this.internal.write("/ViewerPreferences\n<<\n"+e.join("\n")+"\n>>");})),this.internal.viewerpreferences.isSubscribed=!0),this.internal.viewerpreferences.configuration=n,this},
1513
+ function(t){function e(){return (n.canvg?Promise.resolve(n.canvg):Promise.resolve().then(function () { return require('./index.es-478ec781.js'); })).catch((function(t){return Promise.reject(new Error("Could not load canvg: "+t))})).then((function(t){return t.default?t.default:t}))}E.API.addSvgAsImage=function(t,r,n,i,o,s,c,u){if(isNaN(r)||isNaN(n))throw a.error("jsPDF.addSvgAsImage: Invalid coordinates",arguments),new Error("Invalid coordinates passed to jsPDF.addSvgAsImage");if(isNaN(i)||isNaN(o))throw a.error("jsPDF.addSvgAsImage: Invalid measurements",arguments),new Error("Invalid measurements (width and/or height) passed to jsPDF.addSvgAsImage");var h=document.createElement("canvas");h.width=i,h.height=o;var l=h.getContext("2d");l.fillStyle="#fff",l.fillRect(0,0,h.width,h.height);var f={ignoreMouse:!0,ignoreAnimation:!0,ignoreDimensions:!0},d=this;return e().then((function(e){return e.fromString(l,t,f)}),(function(){return Promise.reject(new Error("Could not load canvg."))})).then((function(t){return t.render(f)})).then((function(){d.addImage(h.toDataURL("image/jpeg",1),r,n,i,o,c,u);}))};}(),E.API.putTotalPages=function(t){var e,r=0;parseInt(this.internal.getFont().id.substr(1),10)<15?(e=new RegExp(t,"g"),r=this.internal.getNumberOfPages()):(e=new RegExp(this.pdfEscape16(t,this.internal.getFont()),"g"),r=this.pdfEscape16(this.internal.getNumberOfPages()+"",this.internal.getFont()));for(var n=1;n<=this.internal.getNumberOfPages();n++)for(var i=0;i<this.internal.pages[n].length;i++)this.internal.pages[n][i]=this.internal.pages[n][i].replace(e,r);return this},E.API.viewerPreferences=function(e,r){var n;e=e||{},r=r||!1;var i,a,o,s={HideToolbar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideMenubar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideWindowUI:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},FitWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},CenterWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},DisplayDocTitle:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.4},NonFullScreenPageMode:{defaultValue:"UseNone",value:"UseNone",type:"name",explicitSet:!1,valueSet:["UseNone","UseOutlines","UseThumbs","UseOC"],pdfVersion:1.3},Direction:{defaultValue:"L2R",value:"L2R",type:"name",explicitSet:!1,valueSet:["L2R","R2L"],pdfVersion:1.3},ViewArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},ViewClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintScaling:{defaultValue:"AppDefault",value:"AppDefault",type:"name",explicitSet:!1,valueSet:["AppDefault","None"],pdfVersion:1.6},Duplex:{defaultValue:"",value:"none",type:"name",explicitSet:!1,valueSet:["Simplex","DuplexFlipShortEdge","DuplexFlipLongEdge","none"],pdfVersion:1.7},PickTrayByPDFSize:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.7},PrintPageRange:{defaultValue:"",value:"",type:"array",explicitSet:!1,valueSet:null,pdfVersion:1.7},NumCopies:{defaultValue:1,value:1,type:"integer",explicitSet:!1,valueSet:null,pdfVersion:1.7}},c=Object.keys(s),u=[],h=0,l=0,f=0;function d(t,e){var r,n=!1;for(r=0;r<t.length;r+=1)t[r]===e&&(n=!0);return n}if(void 0===this.internal.viewerpreferences&&(this.internal.viewerpreferences={},this.internal.viewerpreferences.configuration=JSON.parse(JSON.stringify(s)),this.internal.viewerpreferences.isSubscribed=!1),n=this.internal.viewerpreferences.configuration,"reset"===e||!0===r){var p=c.length;for(f=0;f<p;f+=1)n[c[f]].value=n[c[f]].defaultValue,n[c[f]].explicitSet=!1;}if("object"===t(e))for(a in e)if(o=e[a],d(c,a)&&void 0!==o){if("boolean"===n[a].type&&"boolean"==typeof o)n[a].value=o;else if("name"===n[a].type&&d(n[a].valueSet,o))n[a].value=o;else if("integer"===n[a].type&&Number.isInteger(o))n[a].value=o;else if("array"===n[a].type){for(h=0;h<o.length;h+=1)if(i=!0,1===o[h].length&&"number"==typeof o[h][0])u.push(String(o[h]-1));else if(o[h].length>1){for(l=0;l<o[h].length;l+=1)"number"!=typeof o[h][l]&&(i=!1);!0===i&&u.push([o[h][0]-1,o[h][1]-1].join(" "));}n[a].value="["+u.join(" ")+"]";}else n[a].value=n[a].defaultValue;n[a].explicitSet=!0;}return !1===this.internal.viewerpreferences.isSubscribed&&(this.internal.events.subscribe("putCatalog",(function(){var t,e=[];for(t in n)!0===n[t].explicitSet&&("name"===n[t].type?e.push("/"+t+" /"+n[t].value):e.push("/"+t+" "+n[t].value));0!==e.length&&this.internal.write("/ViewerPreferences\n<<\n"+e.join("\n")+"\n>>");})),this.internal.viewerpreferences.isSubscribed=!0),this.internal.viewerpreferences.configuration=n,this},
1514
1514
  /** ====================================================================
1515
1515
  * @license
1516
1516
  * jsPDF XMP metadata plugin
@@ -2364,12 +2364,12 @@ const lineSeparatorChar = "|";
2364
2364
  * @param includeHeaderNames Add the label format at the front of the list of generated labels
2365
2365
  * @returns selectionSetNames that will be used for export filenames
2366
2366
  */
2367
- async function consolidateLabels(webmap, exportInfos, formatUsingLayerPopup = true, includeHeaderNames = false, isCSVExport = false, fields = [], useFieldAliasNames = false) {
2367
+ async function consolidateLabels(webmap, exportInfos, formatUsingLayerPopup = true, includeHeaderNames = false, isCSVExport = false, fields = undefined, useFieldAliasNames = false, filterFields = false) {
2368
2368
  const labelRequests = [];
2369
2369
  Object.keys(exportInfos).forEach(k => {
2370
2370
  var _a;
2371
2371
  const labelInfo = exportInfos[k];
2372
- labelRequests.push(_prepareLabels(webmap, ((_a = labelInfo.layerView) === null || _a === void 0 ? void 0 : _a.layer) || labelInfo.layer, labelInfo.ids, formatUsingLayerPopup, includeHeaderNames, fields, useFieldAliasNames));
2372
+ labelRequests.push(_prepareLabels(webmap, ((_a = labelInfo.layerView) === null || _a === void 0 ? void 0 : _a.layer) || labelInfo.layer, labelInfo.ids, formatUsingLayerPopup, includeHeaderNames, fields, useFieldAliasNames, filterFields));
2373
2373
  if (isCSVExport) {
2374
2374
  // add the layer id as a temp value separator that we can use to split values for CSV export
2375
2375
  labelRequests.push(Promise.resolve([[k]]));
@@ -2389,8 +2389,8 @@ async function consolidateLabels(webmap, exportInfos, formatUsingLayerPopup = tr
2389
2389
  * @param addColumnTitle Indicates if column headings should be included in output
2390
2390
  * @returns Promise resolving when function is done
2391
2391
  */
2392
- async function downloadCSV(webmap, exportInfos, formatUsingLayerPopup, removeDuplicates = false, addColumnTitle = false, fields = [], useFieldAliasNames = false) {
2393
- let labels = await consolidateLabels(webmap, exportInfos, formatUsingLayerPopup, addColumnTitle, true, fields, useFieldAliasNames);
2392
+ async function downloadCSV(webmap, exportInfos, formatUsingLayerPopup, removeDuplicates = false, addColumnTitle = false, fields = undefined, useFieldAliasNames = false, filterFields = false) {
2393
+ let labels = await consolidateLabels(webmap, exportInfos, formatUsingLayerPopup, addColumnTitle, true, fields, useFieldAliasNames, filterFields);
2394
2394
  labels = removeDuplicates ? removeDuplicateLabels(labels) : labels;
2395
2395
  const layerIds = Object.keys(exportInfos);
2396
2396
  let layerLabels = [];
@@ -2926,10 +2926,7 @@ function _prepareAttributeValue(attributeValue, attributeType, attributeDomain,
2926
2926
  * @param includeHeaderNames Add the label format at the front of the list of generated labels
2927
2927
  * @returns Promise resolving when function is done
2928
2928
  */
2929
- async function _prepareLabels(webmap, layer, ids, formatUsingLayerPopup = true, includeHeaderNames = false, fields = [], useFieldAliasNames = false) {
2930
- if (fields.length === 0) {
2931
- fields = layer.fields.map(f => f.name.toLowerCase());
2932
- }
2929
+ async function _prepareLabels(webmap, layer, ids, formatUsingLayerPopup = true, includeHeaderNames = false, fields = undefined, useFieldAliasNames = false, filterFields = false) {
2933
2930
  // Get the label formatting, if any
2934
2931
  const labelFormatProps = await _getLabelFormat(webmap, layer, formatUsingLayerPopup);
2935
2932
  // Because the label may actually come from a related layer, we'll use the layer that comes back from _getLabelFormat.
@@ -2996,7 +2993,7 @@ async function _prepareLabels(webmap, layer, ids, formatUsingLayerPopup = true,
2996
2993
  const attributeDomains = {};
2997
2994
  if (featureLayer.fields) {
2998
2995
  featureLayer.fields.forEach(field => {
2999
- if (fields.indexOf(field.name.toLowerCase()) > -1) {
2996
+ if (filterFields ? fields.indexOf(field.name.toLowerCase()) > -1 : true) {
3000
2997
  const lowercaseFieldname = field.name.toLowerCase();
3001
2998
  attributeOrigNames[lowercaseFieldname] = field.name;
3002
2999
  attributeDomains[lowercaseFieldname] = field.domain;
@@ -3007,7 +3004,7 @@ async function _prepareLabels(webmap, layer, ids, formatUsingLayerPopup = true,
3007
3004
  else {
3008
3005
  // Feature layer is missing fields, so get info from first feature
3009
3006
  Object.keys(featureSet[0]).forEach(fieldName => {
3010
- if (fields.indexOf(fieldName.toLowerCase()) > -1) {
3007
+ if (filterFields ? fields.indexOf(fieldName.toLowerCase()) > -1 : true) {
3011
3008
  const lowercaseFieldname = fieldName.toLowerCase();
3012
3009
  attributeOrigNames[lowercaseFieldname] = fieldName;
3013
3010
  }
@@ -149,7 +149,7 @@ async function createInteractiveLegendDataForLayer(legendViewModel, activeLayerI
149
149
  // Get Feature Layer View to query
150
150
  const fLayerView = await legendViewModel.view.whenLayerView(fLayer);
151
151
  await reactiveUtils.whenOnce(() => (fLayerView === null || fLayerView === void 0 ? void 0 : fLayerView.updating) === false);
152
- const field = (_g = fLayer.renderer) === null || _g === void 0 ? void 0 : _g.get('field');
152
+ const field = (_g = fLayer.renderer) === null || _g === void 0 ? void 0 : _g.field;
153
153
  if (legendElement !== undefined) {
154
154
  (_h = legendElement === null || legendElement === void 0 ? void 0 : legendElement.infos) === null || _h === void 0 ? void 0 : _h.forEach(legendElementInfo => {
155
155
  var _a;
@@ -351,9 +351,11 @@ function generateQueryExpressions(data, info, infoIndex, parentLegendElementInfo
351
351
  let queryExpression = isPredominance
352
352
  ? handlePredominanceExpression(info, fLayerView)
353
353
  : generateQueryExpression(info, field, infoIndex, legendElement, legendElementInfos, '');
354
- const category = parentLegendElementInfo
355
- ? (_b = (_a = categories.get(parentLegendElementInfo.title)) === null || _a === void 0 ? void 0 : _a.nestedInfos) === null || _b === void 0 ? void 0 : _b[infoIndex]
356
- : categories.get((_c = info.label) !== null && _c !== void 0 ? _c : (_d = fLayerView === null || fLayerView === void 0 ? void 0 : fLayerView.layer) === null || _d === void 0 ? void 0 : _d.id);
354
+ const category = categories
355
+ ? parentLegendElementInfo
356
+ ? (_b = (_a = categories.get(parentLegendElementInfo.title)) === null || _a === void 0 ? void 0 : _a.nestedInfos) === null || _b === void 0 ? void 0 : _b[infoIndex]
357
+ : categories.get((_c = info.label) !== null && _c !== void 0 ? _c : (_d = fLayerView === null || fLayerView === void 0 ? void 0 : fLayerView.layer) === null || _d === void 0 ? void 0 : _d.id)
358
+ : null;
357
359
  if (category)
358
360
  category.selected = !(category === null || category === void 0 ? void 0 : category.selected);
359
361
  const hasOneValue = legendElementInfos && legendElementInfos.length === 1;
@@ -427,7 +429,7 @@ function generateQueryExpressions(data, info, infoIndex, parentLegendElementInfo
427
429
  }
428
430
  function generateQueryExpression(info, field, infoIndex, legendElement, legendElementInfos, normalizationField) {
429
431
  const { value } = info;
430
- if (legendElement.type === 'symbol-table') {
432
+ if ((legendElement === null || legendElement === void 0 ? void 0 : legendElement.type) === 'symbol-table') {
431
433
  // Classify data size/color ramp
432
434
  if (!info.hasOwnProperty('value') || (Array.isArray(info.value) && (legendElementInfos === null || legendElementInfos === void 0 ? void 0 : legendElementInfos.length) === 1)) {
433
435
  // Classify data size/color ramp - 'Other' category
@@ -502,7 +504,8 @@ function checkNoneSelected(data) {
502
504
  }
503
505
  }
504
506
  function checkPredominance(fLayerView) {
505
- const authoringInfoType = fLayerView === null || fLayerView === void 0 ? void 0 : fLayerView.get('layer.renderer.authoringInfo.type');
507
+ var _a, _b, _c;
508
+ const authoringInfoType = (_c = (_b = (_a = fLayerView === null || fLayerView === void 0 ? void 0 : fLayerView.layer) === null || _a === void 0 ? void 0 : _a.renderer) === null || _b === void 0 ? void 0 : _b.authoringInfo) === null || _c === void 0 ? void 0 : _c.type;
506
509
  return authoringInfoType === 'predominance';
507
510
  }
508
511
  function checkRelationshipRamp(activeLayerInfo) {
@@ -510,24 +513,24 @@ function checkRelationshipRamp(activeLayerInfo) {
510
513
  return ((_a = activeLayerInfo === null || activeLayerInfo === void 0 ? void 0 : activeLayerInfo.legendElements[1]) === null || _a === void 0 ? void 0 : _a.type) === 'relationship-ramp';
511
514
  }
512
515
  function validateInteractivity(activeLayerInfo, legendElement, legendElementIndex) {
513
- var _a, _b, _c, _d, _e, _f, _g, _h, _j;
516
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u;
514
517
  const fLayer = activeLayerInfo.layer;
515
518
  const field = (_a = fLayer === null || fLayer === void 0 ? void 0 : fLayer.renderer) === null || _a === void 0 ? void 0 : _a.field;
516
519
  const type = legendElement === null || legendElement === void 0 ? void 0 : legendElement.type;
517
- const layerView = activeLayerInfo.get('layerView');
518
- const classBreakInfos = layerView === null || layerView === void 0 ? void 0 : layerView.get('layer.renderer.classBreakInfos');
519
- const uniqueValueInfos = (layerView === null || layerView === void 0 ? void 0 : layerView.get('layer.renderer.uniqueValueInfos')) && field;
520
+ const layerView = activeLayerInfo === null || activeLayerInfo === void 0 ? void 0 : activeLayerInfo.layerView;
521
+ const classBreakInfos = (_c = (_b = layerView === null || layerView === void 0 ? void 0 : layerView.layer) === null || _b === void 0 ? void 0 : _b.renderer) === null || _c === void 0 ? void 0 : _c.classBreakInfos;
522
+ const uniqueValueInfos = ((_e = (_d = layerView === null || layerView === void 0 ? void 0 : layerView.layer) === null || _d === void 0 ? void 0 : _d.renderer) === null || _e === void 0 ? void 0 : _e.uniqueValueInfos) && field;
520
523
  const isSizeRamp = type === 'size-ramp';
521
524
  const isColorRamp = type === 'color-ramp';
522
525
  const opacityRamp = type === 'opacity-ramp';
523
526
  const heatmapRamp = type === 'heatmap-ramp';
524
527
  const hasMoreThanOneClassBreak = layerView && classBreakInfos && classBreakInfos.length > 1;
525
- const authoringInfoType = layerView === null || layerView === void 0 ? void 0 : layerView.get('layer.renderer.authoringInfo.type');
528
+ const authoringInfoType = (_h = (_g = (_f = layerView === null || layerView === void 0 ? void 0 : layerView.layer) === null || _f === void 0 ? void 0 : _f.renderer) === null || _g === void 0 ? void 0 : _g.authoringInfo) === null || _h === void 0 ? void 0 : _h.type;
526
529
  const classifyDataCheckedColorRamp = authoringInfoType === 'class-breaks-color';
527
530
  const classifyDataCheckedSizeRamp = authoringInfoType === 'class-breaks-size';
528
- const singleSymbol = ((_b = legendElement === null || legendElement === void 0 ? void 0 : legendElement.infos) === null || _b === void 0 ? void 0 : _b.length) === 1 && !field;
531
+ const singleSymbol = ((_j = legendElement === null || legendElement === void 0 ? void 0 : legendElement.infos) === null || _j === void 0 ? void 0 : _j.length) === 1 && !field;
529
532
  const isRelationshipRamp = authoringInfoType === 'relationship' && (legendElement === null || legendElement === void 0 ? void 0 : legendElement.type) !== 'size-ramp' && (legendElement === null || legendElement === void 0 ? void 0 : legendElement.type) !== 'symbol-table';
530
- const isFeatureLayer = (activeLayerInfo === null || activeLayerInfo === void 0 ? void 0 : activeLayerInfo.get('layer.type')) === 'feature';
533
+ const isFeatureLayer = ((_k = activeLayerInfo === null || activeLayerInfo === void 0 ? void 0 : activeLayerInfo.layer) === null || _k === void 0 ? void 0 : _k.type) === 'feature';
531
534
  const moreThanOneClassBreak = isFeatureLayer && field && !isColorRamp && !isSizeRamp && hasMoreThanOneClassBreak;
532
535
  const oneClassBreak = isFeatureLayer && field && !isColorRamp && !isSizeRamp && !hasMoreThanOneClassBreak ? true : false;
533
536
  const validate = oneClassBreak ||
@@ -539,14 +542,14 @@ function validateInteractivity(activeLayerInfo, legendElement, legendElementInde
539
542
  uniqueValueInfos
540
543
  ? true
541
544
  : false;
542
- const hasClustering = (activeLayerInfo === null || activeLayerInfo === void 0 ? void 0 : activeLayerInfo.get('layer.featureReduction')) && ((_c = activeLayerInfo === null || activeLayerInfo === void 0 ? void 0 : activeLayerInfo.legendElements[legendElementIndex]) === null || _c === void 0 ? void 0 : _c.type) === 'size-ramp';
543
- const isSingleSymbol = (legendElement === null || legendElement === void 0 ? void 0 : legendElement.type) === 'symbol-table' && ((_d = legendElement === null || legendElement === void 0 ? void 0 : legendElement.infos) === null || _d === void 0 ? void 0 : _d.length) === 1;
545
+ const hasClustering = ((_l = activeLayerInfo === null || activeLayerInfo === void 0 ? void 0 : activeLayerInfo.layer) === null || _l === void 0 ? void 0 : _l.featureReduction) && ((_o = (_m = activeLayerInfo === null || activeLayerInfo === void 0 ? void 0 : activeLayerInfo.legendElements) === null || _m === void 0 ? void 0 : _m[legendElementIndex]) === null || _o === void 0 ? void 0 : _o.type) === 'size-ramp';
546
+ const isSingleSymbol = (legendElement === null || legendElement === void 0 ? void 0 : legendElement.type) === 'symbol-table' && ((_p = legendElement === null || legendElement === void 0 ? void 0 : legendElement.infos) === null || _p === void 0 ? void 0 : _p.length) === 1;
544
547
  const hasColorRamp = !(activeLayerInfo === null || activeLayerInfo === void 0 ? void 0 : activeLayerInfo.legendElements.every(legendElement => legendElement.type !== 'color-ramp'));
545
548
  const hasSizeRamp = !(activeLayerInfo === null || activeLayerInfo === void 0 ? void 0 : activeLayerInfo.legendElements.every(legendElement => legendElement.type !== 'size-ramp'));
546
549
  const singleSymbolColor = isSingleSymbol && hasColorRamp;
547
550
  const singleSymbolSize = isSingleSymbol && hasSizeRamp;
548
- const isUnclassifiedSizeRamp = (_e = legendElement === null || legendElement === void 0 ? void 0 : legendElement.infos) === null || _e === void 0 ? void 0 : _e.every(info => typeof info.value === 'number');
549
- const isBinning = ((_g = (_f = activeLayerInfo === null || activeLayerInfo === void 0 ? void 0 : activeLayerInfo.legendElements) === null || _f === void 0 ? void 0 : _f[0]) === null || _g === void 0 ? void 0 : _g.type) === 'symbol-table' && ((_j = (_h = activeLayerInfo === null || activeLayerInfo === void 0 ? void 0 : activeLayerInfo.legendElements) === null || _h === void 0 ? void 0 : _h[1]) === null || _j === void 0 ? void 0 : _j.type) === 'color-ramp';
551
+ const isUnclassifiedSizeRamp = (_q = legendElement === null || legendElement === void 0 ? void 0 : legendElement.infos) === null || _q === void 0 ? void 0 : _q.every(info => typeof info.value === 'number');
552
+ const isBinning = ((_s = (_r = activeLayerInfo === null || activeLayerInfo === void 0 ? void 0 : activeLayerInfo.legendElements) === null || _r === void 0 ? void 0 : _r[0]) === null || _s === void 0 ? void 0 : _s.type) === 'symbol-table' && ((_u = (_t = activeLayerInfo === null || activeLayerInfo === void 0 ? void 0 : activeLayerInfo.legendElements) === null || _t === void 0 ? void 0 : _t[1]) === null || _u === void 0 ? void 0 : _u.type) === 'color-ramp';
550
553
  const isDotDensity = authoringInfoType === 'dot-density';
551
554
  const isValidated = isFeatureLayer && !hasClustering && !opacityRamp && !heatmapRamp && !singleSymbolColor && !singleSymbolSize && !isUnclassifiedSizeRamp && !isBinning && !isDotDensity
552
555
  ? classBreakInfos
@@ -682,7 +685,7 @@ async function handleFeatureCount(legendViewModel, data) {
682
685
  const legendElement = activeLayerInfo.legendElements[0];
683
686
  const fLayer = activeLayerInfo.layer;
684
687
  const fLayerView = (_b = data[(_a = activeLayerInfo === null || activeLayerInfo === void 0 ? void 0 : activeLayerInfo.layer) === null || _a === void 0 ? void 0 : _a.id]) === null || _b === void 0 ? void 0 : _b.fLayerView;
685
- const field = (_c = fLayer.renderer) === null || _c === void 0 ? void 0 : _c.get('field');
688
+ const field = (_c = fLayer.renderer) === null || _c === void 0 ? void 0 : _c.field;
686
689
  const counts = [];
687
690
  countPromises[activeLayerInfo.layer.id] = [];
688
691
  (_d = legendElement === null || legendElement === void 0 ? void 0 : legendElement.infos) === null || _d === void 0 ? void 0 : _d.forEach((info, infoIndex) => {
@@ -707,7 +710,7 @@ async function handleFeatureCount(legendViewModel, data) {
707
710
  const legendElement = aliChild.legendElements[0];
708
711
  const fLayer = aliChild.layer;
709
712
  const fLayerView = (_b = data[(_a = aliChild === null || aliChild === void 0 ? void 0 : aliChild.layer) === null || _a === void 0 ? void 0 : _a.id]) === null || _b === void 0 ? void 0 : _b.fLayerView;
710
- const field = (_c = fLayer.renderer) === null || _c === void 0 ? void 0 : _c.get('field');
713
+ const field = (_c = fLayer.renderer) === null || _c === void 0 ? void 0 : _c.field;
711
714
  (_d = legendElement === null || legendElement === void 0 ? void 0 : legendElement.infos) === null || _d === void 0 ? void 0 : _d.forEach((info, infoIndex) => childCounts.push(getInfoCount(legendViewModel.view.extent, fLayerView, field, info, infoIndex, legendElement)));
712
715
  countPromises[aliChild.layer.id] = childCounts;
713
716
  };
@@ -6,7 +6,7 @@
6
6
  'use strict';
7
7
 
8
8
  const _commonjsHelpers = require('./_commonjsHelpers-384729db.js');
9
- const downloadUtils = require('./downloadUtils-7d4985c0.js');
9
+ const downloadUtils = require('./downloadUtils-abf7decd.js');
10
10
  require('./index-105cf2b9.js');
11
11
  require('./locale-8c42ba7a.js');
12
12
  require('./esri-loader-a91c0ec1.js');
@@ -194,17 +194,29 @@ const printStyling = `
194
194
  width: 100%;
195
195
  position: absolute;
196
196
  bottom: 15px;
197
- left: 15px;
197
+ margin: 0 15px;
198
198
  }
199
199
 
200
200
  .instant-apps-export-print__scale-bar-container .esri-scale-bar__label {
201
+ color: #323232;
201
202
  font-size: 10px;
203
+ padding: 0 4px;
204
+ }
205
+
206
+ .instant-apps-export-print__scale-bar-container--position .esri-scale-bar__label {
207
+ height: 10px;
208
+ padding: 0 2px;
209
+ line-height: 11px;
202
210
  }
203
211
 
204
212
  .instant-apps-export-print__scale-bar-container .esri-scale-bar__bar-container:nth-child(1n+3) {
205
213
  display: none;
206
214
  }
207
215
 
216
+ .instant-apps-export-print__scale-bar-container--position .esri-scale-bar__bar-container.esri-scale-bar__bar-container--line {
217
+ align-items: center;
218
+ }
219
+
208
220
  .instant-apps-export-print__scale-bar-container .esri-scale-bar__line {
209
221
  background-color: rgba(255, 255, 255, 0.66);
210
222
  }
@@ -216,10 +228,16 @@ const printStyling = `
216
228
 
217
229
  .instant-apps-export-print__scale-bar-container .esri-scale-bar__line--bottom {
218
230
  width: var(--instant-apps-scale-bar-bottom) !important;
231
+ border-top: 2px solid #323232;
219
232
  }
220
233
 
221
- .instant-apps-export-print__scale-bar-container .esri-scale-bar__label {
222
- color: #323232;
234
+ .instant-apps-export-print__scale-bar-container--position .esri-scale-bar__label-container--line {
235
+ position: unset;
236
+ margin: 0 2px;
237
+ background-color: rgba(255, 255, 255, 0.66);
238
+ height: 10px;
239
+ display: flex;
240
+ align-items: center;
223
241
  }
224
242
 
225
243
  .instant-apps-export-print__scale-bar-container .esri-scale-bar__line--top:before,
@@ -306,8 +324,7 @@ const screenshotStyling = `
306
324
 
307
325
  .screenshot-img-container calcite-button {
308
326
  margin: 5px;
309
- }
310
- `;
327
+ }`;
311
328
 
312
329
  const instantAppsExportCss = ":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-button:last-of-type{margin-top:0.5rem}.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}.hide{display:none}.screenshotCursor{cursor:crosshair}";
313
330
 
@@ -356,7 +373,7 @@ const InstantAppsExport = class {
356
373
  this.showIncludeLegend = true;
357
374
  this.showIncludeMap = false;
358
375
  this.showIncludePopup = true;
359
- this.showScaleBar = true;
376
+ this.showScaleBar = false;
360
377
  this.view = undefined;
361
378
  this.maskBackground = 'rgba(255, 51, 0, 0.1)';
362
379
  this.maskBorder = '2px dashed rgb(255, 51, 0)';
@@ -364,8 +381,8 @@ const InstantAppsExport = class {
364
381
  this.exportIsLoading = undefined;
365
382
  this.messages = undefined;
366
383
  }
367
- watchIncludeMap(newValue) {
368
- if (newValue) {
384
+ watchIncludeMap(includeMap) {
385
+ if (includeMap) {
369
386
  this.updateLegend();
370
387
  }
371
388
  }
@@ -435,7 +452,7 @@ const InstantAppsExport = class {
435
452
  return (index.h("div", { ref: (el) => (this.printContainerEl = el) }, index.h("div", { class: CSS.print.base, ref: (el) => (this.printEl = el) }, printMap, legend, index.h("div", { class: CSS.print.contentContainer }, popup, extraContent))));
436
453
  }
437
454
  renderPrintMap() {
438
- return (index.h("div", { class: CSS.print.viewContainer, ref: (el) => (this.viewContainerEl = el) }, index.h("div", { class: CSS.print.viewWrapper, ref: (el) => (this.viewWrapperEl = el) }, this.headerTitle ? index.h("instant-apps-header", { titleText: this.headerTitle, backgroundColor: "#fff", textColor: "#323232" }) : null, index.h("img", { class: CSS.print.view, ref: (el) => (this.viewEl = el) }), index.h("div", { class: CSS.print.scaleBarContainer, ref: this.handleScaleBarContainerEl.bind(this) }))));
455
+ return (index.h("div", { class: CSS.print.viewContainer, ref: (el) => (this.viewContainerEl = el) }, index.h("div", { class: CSS.print.viewWrapper, ref: (el) => (this.viewWrapperEl = el) }, this.headerTitle ? index.h("instant-apps-header", { titleText: this.headerTitle, backgroundColor: "#fff", textColor: "#323232" }) : null, index.h("img", { class: CSS.print.view, ref: (el) => (this.viewEl = el) }), index.h("div", { class: CSS.print.scaleBarContainer, ref: (el) => (this.scaleBarContainerEl = el) }))));
439
456
  }
440
457
  renderLegend() {
441
458
  return index.h("div", { class: CSS.print.legendContainer, ref: (el) => (this.legendContainerEl = el) });
@@ -475,6 +492,7 @@ const InstantAppsExport = class {
475
492
  document.body.prepend(this.printEl);
476
493
  this.handleExtraContent();
477
494
  if (this.includeMap) {
495
+ this.updateScaleBar();
478
496
  this.updatePopupToPrint();
479
497
  this.viewScreenshot();
480
498
  this.handleImgLoaded();
@@ -588,11 +606,11 @@ const InstantAppsExport = class {
588
606
  this.handleCompassCreation();
589
607
  }
590
608
  handleLegendCreation() {
591
- var _a, _b;
609
+ var _a, _b, _c, _d;
592
610
  if (this.includeMap && this.view != null && this.showIncludeLegend && this.legendContainerEl != null) {
593
611
  const map = this.view.map;
594
612
  const legendMap = (_b = (_a = this.legend) === null || _a === void 0 ? void 0 : _a.view) === null || _b === void 0 ? void 0 : _b.map;
595
- const checkId = (map === null || map === void 0 ? void 0 : map.portalItem.id) === (legendMap === null || legendMap === void 0 ? void 0 : legendMap.portalItem.id);
613
+ const checkId = ((_c = map === null || map === void 0 ? void 0 : map.portalItem) === null || _c === void 0 ? void 0 : _c.id) === ((_d = legendMap === null || legendMap === void 0 ? void 0 : legendMap.portalItem) === null || _d === void 0 ? void 0 : _d.id);
596
614
  if (!checkId) {
597
615
  this.updateLegend();
598
616
  }
@@ -618,11 +636,11 @@ const InstantAppsExport = class {
618
636
  });
619
637
  }
620
638
  handleCompassCreation() {
621
- var _a, _b;
639
+ var _a, _b, _c, _d;
622
640
  if (this.includeMap && this.view != null && this.compassContainerEl != null) {
623
641
  const map = this.view.map;
624
642
  const compassMap = (_b = (_a = this.compass) === null || _a === void 0 ? void 0 : _a.view) === null || _b === void 0 ? void 0 : _b.map;
625
- const checkId = (map === null || map === void 0 ? void 0 : map.portalItem.id) === (compassMap === null || compassMap === void 0 ? void 0 : compassMap.portalItem.id);
643
+ const checkId = ((_c = map === null || map === void 0 ? void 0 : map.portalItem) === null || _c === void 0 ? void 0 : _c.id) === ((_d = compassMap === null || compassMap === void 0 ? void 0 : compassMap.portalItem) === null || _d === void 0 ? void 0 : _d.id);
626
644
  if (!checkId) {
627
645
  this.updateCompass();
628
646
  }
@@ -641,18 +659,22 @@ const InstantAppsExport = class {
641
659
  });
642
660
  }
643
661
  updateScaleBar() {
644
- var _a;
645
- (_a = this.view) === null || _a === void 0 ? void 0 : _a.when(async (view) => {
646
- var _a;
647
- (_a = this.scaleBar) === null || _a === void 0 ? void 0 : _a.destroy();
648
- this.scaleBar = null;
649
- const [ScaleBar] = await loadModules.loadModules(['esri/widgets/ScaleBar']);
650
- this.scaleBar = new ScaleBar({ container: this.scaleBarContainerEl, unit: 'dual', view });
651
- });
662
+ var _a, _b, _c;
663
+ if (this.scaleBarContainerEl) {
664
+ this.scaleBarContainerEl.innerHTML = '';
665
+ if (this.showScaleBar) {
666
+ const scaleBar = (_c = (_b = (_a = this.view) === null || _a === void 0 ? void 0 : _a.container) === null || _b === void 0 ? void 0 : _b.querySelector('.esri-scale-bar.esri-widget')) === null || _c === void 0 ? void 0 : _c.cloneNode(true);
667
+ if (scaleBar != null) {
668
+ this.scaleBarContainerEl.append(scaleBar);
669
+ }
670
+ }
671
+ }
652
672
  }
653
673
  async viewScreenshot() {
674
+ var _a;
654
675
  if (this.view != null && this.includeMap) {
655
676
  if (this.screenshot == null) {
677
+ (_a = this.scaleBarContainerEl) === null || _a === void 0 ? void 0 : _a.classList.toggle('instant-apps-export-print__scale-bar-container--position', this.view.width > 1000);
656
678
  this.screenshot = await this.view.takeScreenshot({
657
679
  width: this.view.width * 2,
658
680
  height: this.view.height * 2,
@@ -790,10 +812,15 @@ const InstantAppsExport = class {
790
812
  }
791
813
  }
792
814
  maskScreenshot() {
815
+ var _a;
793
816
  if (this.view != null && this.area != null) {
794
817
  this.view.removeHandles(dragHandlerName);
795
818
  const height = this.area.height;
796
819
  const width = this.area.width;
820
+ if (this.showScaleBar) {
821
+ const moveSBUnit = this.view.width > 1000 && this.view.width * 0.75 < width;
822
+ (_a = this.scaleBarContainerEl) === null || _a === void 0 ? void 0 : _a.classList.toggle('instant-apps-export-print__scale-bar-container--position', moveSBUnit);
823
+ }
797
824
  this.view.takeScreenshot({ area: this.area, width: width * 2, height: height * 2, format: 'jpg' }).then(screenshot => {
798
825
  var _a;
799
826
  this.screenshot = screenshot;
@@ -836,11 +863,12 @@ const InstantAppsExport = class {
836
863
  }
837
864
  }
838
865
  setScalebarWidth(bar, position) {
866
+ var _a;
839
867
  if (bar != null && this.screenshot != null) {
840
868
  const width = this.screenshot.data.width / 2;
841
869
  const barWidth = Number(bar.style.width.replace('px', ''));
842
870
  const widthPercentage = (barWidth / width) * 100;
843
- bar.style.setProperty(`--instant-apps-scale-bar-${position}`, `${widthPercentage}%`);
871
+ (_a = this.scaleBarContainerEl) === null || _a === void 0 ? void 0 : _a.style.setProperty(`--instant-apps-scale-bar-${position}`, `${widthPercentage}%`);
844
872
  }
845
873
  }
846
874
  removeScreenshotElements() {
@@ -848,18 +876,6 @@ const InstantAppsExport = class {
848
876
  (_a = this.screenshotPreview) === null || _a === void 0 ? void 0 : _a.remove();
849
877
  (_b = this.screenshotStyle) === null || _b === void 0 ? void 0 : _b.remove();
850
878
  }
851
- handleScaleBarContainerEl(el) {
852
- var _a, _b, _c;
853
- if (this.showScaleBar && ((_a = this.view) === null || _a === void 0 ? void 0 : _a.type) === '2d') {
854
- const map = this.view.map;
855
- const scaleBarMap = (_c = (_b = this.scaleBar) === null || _b === void 0 ? void 0 : _b.view) === null || _c === void 0 ? void 0 : _c.map;
856
- this.scaleBarContainerEl = el;
857
- const checkId = (map === null || map === void 0 ? void 0 : map.portalItem.id) === (scaleBarMap === null || scaleBarMap === void 0 ? void 0 : scaleBarMap.portalItem.id);
858
- if (!checkId) {
859
- this.updateScaleBar();
860
- }
861
- }
862
- }
863
879
  get el() { return index.getElement(this); }
864
880
  static get watchers() { return {
865
881
  "includeMap": ["watchIncludeMap"]
@@ -8,7 +8,7 @@
8
8
  Object.defineProperty(exports, '__esModule', { value: true });
9
9
 
10
10
  const index = require('./index-105cf2b9.js');
11
- const helpers = require('./helpers-981dd775.js');
11
+ const helpers = require('./helpers-e328869d.js');
12
12
  const _commonjsHelpers = require('./_commonjsHelpers-384729db.js');
13
13
  const loadModules = require('./loadModules-51c30ab9.js');
14
14
  require('./index-ae65e42f.js');
@@ -1183,20 +1183,27 @@ const InstantAppsInteractiveLegendClassic = class {
1183
1183
  this.intl = intl;
1184
1184
  }
1185
1185
  async componentDidLoad() {
1186
+ this.initLegend();
1187
+ }
1188
+ async initLegend() {
1186
1189
  try {
1187
1190
  await this.reactiveUtils.whenOnce(() => { var _a; return (_a = this.legendvm) === null || _a === void 0 ? void 0 : _a.view; });
1188
1191
  this.legendvm.view.when(async () => {
1189
- var _a, _b;
1192
+ var _a, _b, _c, _d;
1190
1193
  try {
1191
- await ((_b = (_a = this.legendvm) === null || _a === void 0 ? void 0 : _a.view) === null || _b === void 0 ? void 0 : _b.map).loadAll();
1192
- await this.reactiveUtils.whenOnce(() => { var _a, _b; return ((_b = (_a = this.legendvm) === null || _a === void 0 ? void 0 : _a.view) === null || _b === void 0 ? void 0 : _b.updating) === false; });
1193
1194
  // Initial data setup
1195
+ const map = await ((_c = (_b = (_a = this.legendvm) === null || _a === void 0 ? void 0 : _a.view) === null || _b === void 0 ? void 0 : _b.map) === null || _c === void 0 ? void 0 : _c.load());
1196
+ await ((_d = map === null || map === void 0 ? void 0 : map.basemap) === null || _d === void 0 ? void 0 : _d.load());
1197
+ const allLayers = map === null || map === void 0 ? void 0 : map.allLayers;
1198
+ const promises = allLayers === null || allLayers === void 0 ? void 0 : allLayers.map(layer => layer.load());
1199
+ await Promise.allSettled(promises);
1194
1200
  const data = await helpers.generateData(this.legendvm, this.reactiveUtils);
1195
1201
  helpers.store.set('data', Object.assign(Object.assign({}, helpers.interactiveLegendState.data), data));
1196
1202
  this.isLoading = false;
1197
1203
  this.setupWatchersAndListeners();
1198
1204
  }
1199
- catch (_c) {
1205
+ catch (err) {
1206
+ console.error(err);
1200
1207
  this.isLoading = false;
1201
1208
  }
1202
1209
  });
@@ -1449,7 +1456,7 @@ const InstantAppsInteractiveLegendClassic = class {
1449
1456
  }
1450
1457
  getTitle(messages, titleInfo, // RendererTitle | DotDensityTitle | RampTitle | StretchMultibandTitle | ClusterTitle | string,
1451
1458
  isRamp) {
1452
- var _a;
1459
+ var _a, _b;
1453
1460
  if (!titleInfo) {
1454
1461
  return undefined;
1455
1462
  }
@@ -1457,7 +1464,7 @@ const InstantAppsInteractiveLegendClassic = class {
1457
1464
  return titleInfo;
1458
1465
  }
1459
1466
  if ('value' in titleInfo || 'unit' in titleInfo) {
1460
- return this.intl.substitute(messages.dotValue, titleInfo);
1467
+ return this.intl.substitute((_a = messages === null || messages === void 0 ? void 0 : messages.dotValue) !== null && _a !== void 0 ? _a : '', titleInfo);
1461
1468
  }
1462
1469
  if ('colorName' in titleInfo || 'bandName' in titleInfo) {
1463
1470
  return messages[titleInfo.colorName] + ': ' + (messages[titleInfo.bandName] || titleInfo.bandName);
@@ -1484,7 +1491,7 @@ const InstantAppsInteractiveLegendClassic = class {
1484
1491
  bundleKey = titleInfo.normField ? 'showNormField' : titleInfo.normByPct ? 'showNormPct' : titleInfo.field ? 'showField' : null;
1485
1492
  }
1486
1493
  return bundleKey
1487
- ? (_a = this.intl) === null || _a === void 0 ? void 0 : _a.substitute(bundleKey === 'showField' ? '{field}' : messages[bundleKey], {
1494
+ ? (_b = this.intl) === null || _b === void 0 ? void 0 : _b.substitute(bundleKey === 'showField' ? '{field}' : messages[bundleKey], {
1488
1495
  field: titleInfo.field,
1489
1496
  normField: titleInfo.normField,
1490
1497
  })
@@ -9,7 +9,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
9
9
 
10
10
  const index = require('./index-105cf2b9.js');
11
11
  const loadModules = require('./loadModules-51c30ab9.js');
12
- const helpers = require('./helpers-981dd775.js');
12
+ const helpers = require('./helpers-e328869d.js');
13
13
  require('./esri-loader-a91c0ec1.js');
14
14
  require('./_commonjsHelpers-384729db.js');
15
15
  require('./index-ae65e42f.js');