@esri/solutions-components 0.6.22 → 0.6.23

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (505) hide show
  1. package/dist/assets/t9n/card-manager/resources_ar.json +4 -4
  2. package/dist/assets/t9n/card-manager/resources_bg.json +4 -4
  3. package/dist/assets/t9n/card-manager/resources_bs.json +4 -4
  4. package/dist/assets/t9n/card-manager/resources_ca.json +4 -4
  5. package/dist/assets/t9n/card-manager/resources_cs.json +4 -4
  6. package/dist/assets/t9n/card-manager/resources_da.json +4 -4
  7. package/dist/assets/t9n/card-manager/resources_de.json +4 -4
  8. package/dist/assets/t9n/card-manager/resources_el.json +4 -4
  9. package/dist/assets/t9n/card-manager/resources_es.json +4 -4
  10. package/dist/assets/t9n/card-manager/resources_et.json +4 -4
  11. package/dist/assets/t9n/card-manager/resources_fi.json +4 -4
  12. package/dist/assets/t9n/card-manager/resources_fr.json +4 -4
  13. package/dist/assets/t9n/card-manager/resources_he.json +4 -4
  14. package/dist/assets/t9n/card-manager/resources_hr.json +4 -4
  15. package/dist/assets/t9n/card-manager/resources_hu.json +4 -4
  16. package/dist/assets/t9n/card-manager/resources_id.json +4 -4
  17. package/dist/assets/t9n/card-manager/resources_it.json +4 -4
  18. package/dist/assets/t9n/card-manager/resources_ja.json +4 -4
  19. package/dist/assets/t9n/card-manager/resources_ko.json +4 -4
  20. package/dist/assets/t9n/card-manager/resources_lt.json +4 -4
  21. package/dist/assets/t9n/card-manager/resources_lv.json +4 -4
  22. package/dist/assets/t9n/card-manager/resources_nb.json +4 -4
  23. package/dist/assets/t9n/card-manager/resources_nl.json +4 -4
  24. package/dist/assets/t9n/card-manager/resources_pl.json +4 -4
  25. package/dist/assets/t9n/card-manager/resources_pt-BR.json +4 -4
  26. package/dist/assets/t9n/card-manager/resources_pt-PT.json +4 -4
  27. package/dist/assets/t9n/card-manager/resources_ro.json +4 -4
  28. package/dist/assets/t9n/card-manager/resources_ru.json +4 -4
  29. package/dist/assets/t9n/card-manager/resources_sk.json +4 -4
  30. package/dist/assets/t9n/card-manager/resources_sl.json +4 -4
  31. package/dist/assets/t9n/card-manager/resources_sr.json +4 -4
  32. package/dist/assets/t9n/card-manager/resources_sv.json +4 -4
  33. package/dist/assets/t9n/card-manager/resources_th.json +4 -4
  34. package/dist/assets/t9n/card-manager/resources_tr.json +4 -4
  35. package/dist/assets/t9n/card-manager/resources_uk.json +4 -4
  36. package/dist/assets/t9n/card-manager/resources_vi.json +4 -4
  37. package/dist/assets/t9n/card-manager/resources_zh-CN.json +4 -4
  38. package/dist/assets/t9n/card-manager/resources_zh-HK.json +4 -4
  39. package/dist/assets/t9n/card-manager/resources_zh-TW.json +4 -4
  40. package/dist/assets/t9n/comment-card/resources_ar.json +2 -2
  41. package/dist/assets/t9n/comment-card/resources_bg.json +2 -2
  42. package/dist/assets/t9n/comment-card/resources_bs.json +2 -2
  43. package/dist/assets/t9n/comment-card/resources_ca.json +2 -2
  44. package/dist/assets/t9n/comment-card/resources_cs.json +2 -2
  45. package/dist/assets/t9n/comment-card/resources_da.json +2 -2
  46. package/dist/assets/t9n/comment-card/resources_de.json +2 -2
  47. package/dist/assets/t9n/comment-card/resources_el.json +2 -2
  48. package/dist/assets/t9n/comment-card/resources_es.json +2 -2
  49. package/dist/assets/t9n/comment-card/resources_et.json +2 -2
  50. package/dist/assets/t9n/comment-card/resources_fi.json +2 -2
  51. package/dist/assets/t9n/comment-card/resources_fr.json +2 -2
  52. package/dist/assets/t9n/comment-card/resources_he.json +2 -2
  53. package/dist/assets/t9n/comment-card/resources_hr.json +2 -2
  54. package/dist/assets/t9n/comment-card/resources_hu.json +2 -2
  55. package/dist/assets/t9n/comment-card/resources_id.json +2 -2
  56. package/dist/assets/t9n/comment-card/resources_it.json +2 -2
  57. package/dist/assets/t9n/comment-card/resources_ja.json +2 -2
  58. package/dist/assets/t9n/comment-card/resources_ko.json +2 -2
  59. package/dist/assets/t9n/comment-card/resources_lt.json +2 -2
  60. package/dist/assets/t9n/comment-card/resources_lv.json +2 -2
  61. package/dist/assets/t9n/comment-card/resources_nb.json +2 -2
  62. package/dist/assets/t9n/comment-card/resources_nl.json +2 -2
  63. package/dist/assets/t9n/comment-card/resources_pl.json +2 -2
  64. package/dist/assets/t9n/comment-card/resources_pt-BR.json +2 -2
  65. package/dist/assets/t9n/comment-card/resources_pt-PT.json +2 -2
  66. package/dist/assets/t9n/comment-card/resources_ro.json +2 -2
  67. package/dist/assets/t9n/comment-card/resources_ru.json +2 -2
  68. package/dist/assets/t9n/comment-card/resources_sk.json +2 -2
  69. package/dist/assets/t9n/comment-card/resources_sl.json +2 -2
  70. package/dist/assets/t9n/comment-card/resources_sr.json +2 -2
  71. package/dist/assets/t9n/comment-card/resources_sv.json +2 -2
  72. package/dist/assets/t9n/comment-card/resources_th.json +2 -2
  73. package/dist/assets/t9n/comment-card/resources_tr.json +2 -2
  74. package/dist/assets/t9n/comment-card/resources_uk.json +2 -2
  75. package/dist/assets/t9n/comment-card/resources_vi.json +2 -2
  76. package/dist/assets/t9n/comment-card/resources_zh-CN.json +2 -2
  77. package/dist/assets/t9n/comment-card/resources_zh-HK.json +2 -2
  78. package/dist/assets/t9n/comment-card/resources_zh-TW.json +2 -2
  79. package/dist/assets/t9n/crowdsource-manager/resources_ar.json +6 -4
  80. package/dist/assets/t9n/crowdsource-manager/resources_bg.json +6 -4
  81. package/dist/assets/t9n/crowdsource-manager/resources_bs.json +6 -4
  82. package/dist/assets/t9n/crowdsource-manager/resources_ca.json +6 -4
  83. package/dist/assets/t9n/crowdsource-manager/resources_cs.json +6 -4
  84. package/dist/assets/t9n/crowdsource-manager/resources_da.json +6 -4
  85. package/dist/assets/t9n/crowdsource-manager/resources_de.json +6 -4
  86. package/dist/assets/t9n/crowdsource-manager/resources_el.json +6 -4
  87. package/dist/assets/t9n/crowdsource-manager/resources_es.json +6 -4
  88. package/dist/assets/t9n/crowdsource-manager/resources_et.json +6 -4
  89. package/dist/assets/t9n/crowdsource-manager/resources_fi.json +6 -4
  90. package/dist/assets/t9n/crowdsource-manager/resources_fr.json +6 -4
  91. package/dist/assets/t9n/crowdsource-manager/resources_he.json +6 -4
  92. package/dist/assets/t9n/crowdsource-manager/resources_hr.json +6 -4
  93. package/dist/assets/t9n/crowdsource-manager/resources_hu.json +6 -4
  94. package/dist/assets/t9n/crowdsource-manager/resources_id.json +6 -4
  95. package/dist/assets/t9n/crowdsource-manager/resources_it.json +6 -4
  96. package/dist/assets/t9n/crowdsource-manager/resources_ja.json +6 -4
  97. package/dist/assets/t9n/crowdsource-manager/resources_ko.json +6 -4
  98. package/dist/assets/t9n/crowdsource-manager/resources_lt.json +6 -4
  99. package/dist/assets/t9n/crowdsource-manager/resources_lv.json +6 -4
  100. package/dist/assets/t9n/crowdsource-manager/resources_nb.json +6 -4
  101. package/dist/assets/t9n/crowdsource-manager/resources_nl.json +6 -4
  102. package/dist/assets/t9n/crowdsource-manager/resources_pl.json +6 -4
  103. package/dist/assets/t9n/crowdsource-manager/resources_pt-BR.json +6 -4
  104. package/dist/assets/t9n/crowdsource-manager/resources_pt-PT.json +6 -4
  105. package/dist/assets/t9n/crowdsource-manager/resources_ro.json +6 -4
  106. package/dist/assets/t9n/crowdsource-manager/resources_ru.json +6 -4
  107. package/dist/assets/t9n/crowdsource-manager/resources_sk.json +6 -4
  108. package/dist/assets/t9n/crowdsource-manager/resources_sl.json +6 -4
  109. package/dist/assets/t9n/crowdsource-manager/resources_sr.json +6 -4
  110. package/dist/assets/t9n/crowdsource-manager/resources_sv.json +6 -4
  111. package/dist/assets/t9n/crowdsource-manager/resources_th.json +6 -4
  112. package/dist/assets/t9n/crowdsource-manager/resources_tr.json +6 -4
  113. package/dist/assets/t9n/crowdsource-manager/resources_uk.json +6 -4
  114. package/dist/assets/t9n/crowdsource-manager/resources_vi.json +6 -4
  115. package/dist/assets/t9n/crowdsource-manager/resources_zh-CN.json +6 -4
  116. package/dist/assets/t9n/crowdsource-manager/resources_zh-HK.json +6 -4
  117. package/dist/assets/t9n/crowdsource-manager/resources_zh-TW.json +6 -4
  118. package/dist/assets/t9n/info-card/resources_ar.json +7 -7
  119. package/dist/assets/t9n/info-card/resources_bg.json +7 -7
  120. package/dist/assets/t9n/info-card/resources_bs.json +7 -7
  121. package/dist/assets/t9n/info-card/resources_ca.json +7 -7
  122. package/dist/assets/t9n/info-card/resources_cs.json +7 -7
  123. package/dist/assets/t9n/info-card/resources_da.json +7 -7
  124. package/dist/assets/t9n/info-card/resources_de.json +7 -7
  125. package/dist/assets/t9n/info-card/resources_el.json +7 -7
  126. package/dist/assets/t9n/info-card/resources_es.json +7 -7
  127. package/dist/assets/t9n/info-card/resources_et.json +7 -7
  128. package/dist/assets/t9n/info-card/resources_fi.json +7 -7
  129. package/dist/assets/t9n/info-card/resources_fr.json +7 -7
  130. package/dist/assets/t9n/info-card/resources_he.json +7 -7
  131. package/dist/assets/t9n/info-card/resources_hr.json +7 -7
  132. package/dist/assets/t9n/info-card/resources_hu.json +7 -7
  133. package/dist/assets/t9n/info-card/resources_id.json +7 -7
  134. package/dist/assets/t9n/info-card/resources_it.json +7 -7
  135. package/dist/assets/t9n/info-card/resources_ja.json +7 -7
  136. package/dist/assets/t9n/info-card/resources_ko.json +7 -7
  137. package/dist/assets/t9n/info-card/resources_lt.json +7 -7
  138. package/dist/assets/t9n/info-card/resources_lv.json +7 -7
  139. package/dist/assets/t9n/info-card/resources_nb.json +7 -7
  140. package/dist/assets/t9n/info-card/resources_nl.json +7 -7
  141. package/dist/assets/t9n/info-card/resources_pl.json +7 -7
  142. package/dist/assets/t9n/info-card/resources_pt-BR.json +7 -7
  143. package/dist/assets/t9n/info-card/resources_pt-PT.json +7 -7
  144. package/dist/assets/t9n/info-card/resources_ro.json +7 -7
  145. package/dist/assets/t9n/info-card/resources_ru.json +7 -7
  146. package/dist/assets/t9n/info-card/resources_sk.json +7 -7
  147. package/dist/assets/t9n/info-card/resources_sl.json +7 -7
  148. package/dist/assets/t9n/info-card/resources_sr.json +7 -7
  149. package/dist/assets/t9n/info-card/resources_sv.json +7 -7
  150. package/dist/assets/t9n/info-card/resources_th.json +7 -7
  151. package/dist/assets/t9n/info-card/resources_tr.json +7 -7
  152. package/dist/assets/t9n/info-card/resources_uk.json +7 -7
  153. package/dist/assets/t9n/info-card/resources_vi.json +7 -7
  154. package/dist/assets/t9n/info-card/resources_zh-CN.json +7 -7
  155. package/dist/assets/t9n/info-card/resources_zh-HK.json +7 -7
  156. package/dist/assets/t9n/info-card/resources_zh-TW.json +7 -7
  157. package/dist/assets/t9n/layer-table/resources_ar.json +18 -17
  158. package/dist/assets/t9n/layer-table/resources_bg.json +18 -17
  159. package/dist/assets/t9n/layer-table/resources_bs.json +18 -17
  160. package/dist/assets/t9n/layer-table/resources_ca.json +18 -17
  161. package/dist/assets/t9n/layer-table/resources_cs.json +18 -17
  162. package/dist/assets/t9n/layer-table/resources_da.json +18 -17
  163. package/dist/assets/t9n/layer-table/resources_de.json +18 -17
  164. package/dist/assets/t9n/layer-table/resources_el.json +18 -17
  165. package/dist/assets/t9n/layer-table/resources_es.json +18 -17
  166. package/dist/assets/t9n/layer-table/resources_et.json +18 -17
  167. package/dist/assets/t9n/layer-table/resources_fi.json +18 -17
  168. package/dist/assets/t9n/layer-table/resources_fr.json +18 -17
  169. package/dist/assets/t9n/layer-table/resources_he.json +18 -17
  170. package/dist/assets/t9n/layer-table/resources_hr.json +18 -17
  171. package/dist/assets/t9n/layer-table/resources_hu.json +18 -17
  172. package/dist/assets/t9n/layer-table/resources_id.json +18 -17
  173. package/dist/assets/t9n/layer-table/resources_it.json +18 -17
  174. package/dist/assets/t9n/layer-table/resources_ja.json +18 -17
  175. package/dist/assets/t9n/layer-table/resources_ko.json +18 -17
  176. package/dist/assets/t9n/layer-table/resources_lt.json +18 -17
  177. package/dist/assets/t9n/layer-table/resources_lv.json +18 -17
  178. package/dist/assets/t9n/layer-table/resources_nb.json +18 -17
  179. package/dist/assets/t9n/layer-table/resources_nl.json +18 -17
  180. package/dist/assets/t9n/layer-table/resources_pl.json +18 -17
  181. package/dist/assets/t9n/layer-table/resources_pt-BR.json +18 -17
  182. package/dist/assets/t9n/layer-table/resources_pt-PT.json +18 -17
  183. package/dist/assets/t9n/layer-table/resources_ro.json +18 -17
  184. package/dist/assets/t9n/layer-table/resources_ru.json +18 -17
  185. package/dist/assets/t9n/layer-table/resources_sk.json +18 -17
  186. package/dist/assets/t9n/layer-table/resources_sl.json +18 -17
  187. package/dist/assets/t9n/layer-table/resources_sr.json +18 -17
  188. package/dist/assets/t9n/layer-table/resources_sv.json +18 -17
  189. package/dist/assets/t9n/layer-table/resources_th.json +18 -17
  190. package/dist/assets/t9n/layer-table/resources_tr.json +18 -17
  191. package/dist/assets/t9n/layer-table/resources_uk.json +18 -17
  192. package/dist/assets/t9n/layer-table/resources_vi.json +18 -17
  193. package/dist/assets/t9n/layer-table/resources_zh-CN.json +18 -17
  194. package/dist/assets/t9n/layer-table/resources_zh-HK.json +18 -17
  195. package/dist/assets/t9n/layer-table/resources_zh-TW.json +18 -17
  196. package/dist/assets/t9n/layout-manager/resources_ar.json +5 -5
  197. package/dist/assets/t9n/layout-manager/resources_bg.json +5 -5
  198. package/dist/assets/t9n/layout-manager/resources_bs.json +5 -5
  199. package/dist/assets/t9n/layout-manager/resources_ca.json +5 -5
  200. package/dist/assets/t9n/layout-manager/resources_cs.json +5 -5
  201. package/dist/assets/t9n/layout-manager/resources_da.json +5 -5
  202. package/dist/assets/t9n/layout-manager/resources_de.json +5 -5
  203. package/dist/assets/t9n/layout-manager/resources_el.json +5 -5
  204. package/dist/assets/t9n/layout-manager/resources_es.json +5 -5
  205. package/dist/assets/t9n/layout-manager/resources_et.json +5 -5
  206. package/dist/assets/t9n/layout-manager/resources_fi.json +5 -5
  207. package/dist/assets/t9n/layout-manager/resources_fr.json +5 -5
  208. package/dist/assets/t9n/layout-manager/resources_he.json +5 -5
  209. package/dist/assets/t9n/layout-manager/resources_hr.json +5 -5
  210. package/dist/assets/t9n/layout-manager/resources_hu.json +5 -5
  211. package/dist/assets/t9n/layout-manager/resources_id.json +5 -5
  212. package/dist/assets/t9n/layout-manager/resources_it.json +5 -5
  213. package/dist/assets/t9n/layout-manager/resources_ja.json +5 -5
  214. package/dist/assets/t9n/layout-manager/resources_ko.json +5 -5
  215. package/dist/assets/t9n/layout-manager/resources_lt.json +5 -5
  216. package/dist/assets/t9n/layout-manager/resources_lv.json +5 -5
  217. package/dist/assets/t9n/layout-manager/resources_nb.json +5 -5
  218. package/dist/assets/t9n/layout-manager/resources_nl.json +5 -5
  219. package/dist/assets/t9n/layout-manager/resources_pl.json +5 -5
  220. package/dist/assets/t9n/layout-manager/resources_pt-BR.json +5 -5
  221. package/dist/assets/t9n/layout-manager/resources_pt-PT.json +5 -5
  222. package/dist/assets/t9n/layout-manager/resources_ro.json +5 -5
  223. package/dist/assets/t9n/layout-manager/resources_ru.json +5 -5
  224. package/dist/assets/t9n/layout-manager/resources_sk.json +5 -5
  225. package/dist/assets/t9n/layout-manager/resources_sl.json +5 -5
  226. package/dist/assets/t9n/layout-manager/resources_sr.json +5 -5
  227. package/dist/assets/t9n/layout-manager/resources_sv.json +5 -5
  228. package/dist/assets/t9n/layout-manager/resources_th.json +5 -5
  229. package/dist/assets/t9n/layout-manager/resources_tr.json +5 -5
  230. package/dist/assets/t9n/layout-manager/resources_uk.json +5 -5
  231. package/dist/assets/t9n/layout-manager/resources_vi.json +5 -5
  232. package/dist/assets/t9n/layout-manager/resources_zh-CN.json +5 -5
  233. package/dist/assets/t9n/layout-manager/resources_zh-HK.json +5 -5
  234. package/dist/assets/t9n/layout-manager/resources_zh-TW.json +5 -5
  235. package/dist/assets/t9n/map-card/resources_ar.json +1 -1
  236. package/dist/assets/t9n/map-card/resources_bg.json +1 -1
  237. package/dist/assets/t9n/map-card/resources_bs.json +1 -1
  238. package/dist/assets/t9n/map-card/resources_ca.json +1 -1
  239. package/dist/assets/t9n/map-card/resources_cs.json +1 -1
  240. package/dist/assets/t9n/map-card/resources_da.json +1 -1
  241. package/dist/assets/t9n/map-card/resources_de.json +1 -1
  242. package/dist/assets/t9n/map-card/resources_el.json +1 -1
  243. package/dist/assets/t9n/map-card/resources_es.json +1 -1
  244. package/dist/assets/t9n/map-card/resources_et.json +1 -1
  245. package/dist/assets/t9n/map-card/resources_fi.json +1 -1
  246. package/dist/assets/t9n/map-card/resources_fr.json +1 -1
  247. package/dist/assets/t9n/map-card/resources_he.json +1 -1
  248. package/dist/assets/t9n/map-card/resources_hr.json +1 -1
  249. package/dist/assets/t9n/map-card/resources_hu.json +1 -1
  250. package/dist/assets/t9n/map-card/resources_id.json +1 -1
  251. package/dist/assets/t9n/map-card/resources_it.json +1 -1
  252. package/dist/assets/t9n/map-card/resources_ja.json +1 -1
  253. package/dist/assets/t9n/map-card/resources_ko.json +1 -1
  254. package/dist/assets/t9n/map-card/resources_lt.json +1 -1
  255. package/dist/assets/t9n/map-card/resources_lv.json +1 -1
  256. package/dist/assets/t9n/map-card/resources_nb.json +1 -1
  257. package/dist/assets/t9n/map-card/resources_nl.json +1 -1
  258. package/dist/assets/t9n/map-card/resources_pl.json +1 -1
  259. package/dist/assets/t9n/map-card/resources_pt-BR.json +1 -1
  260. package/dist/assets/t9n/map-card/resources_pt-PT.json +1 -1
  261. package/dist/assets/t9n/map-card/resources_ro.json +1 -1
  262. package/dist/assets/t9n/map-card/resources_ru.json +1 -1
  263. package/dist/assets/t9n/map-card/resources_sk.json +1 -1
  264. package/dist/assets/t9n/map-card/resources_sl.json +1 -1
  265. package/dist/assets/t9n/map-card/resources_sr.json +1 -1
  266. package/dist/assets/t9n/map-card/resources_sv.json +1 -1
  267. package/dist/assets/t9n/map-card/resources_th.json +1 -1
  268. package/dist/assets/t9n/map-card/resources_tr.json +1 -1
  269. package/dist/assets/t9n/map-card/resources_uk.json +1 -1
  270. package/dist/assets/t9n/map-card/resources_vi.json +1 -1
  271. package/dist/assets/t9n/map-card/resources_zh-CN.json +1 -1
  272. package/dist/assets/t9n/map-card/resources_zh-HK.json +1 -1
  273. package/dist/assets/t9n/map-card/resources_zh-TW.json +1 -1
  274. package/dist/assets/t9n/map-layer-picker/resources_ar.json +3 -2
  275. package/dist/assets/t9n/map-layer-picker/resources_bg.json +3 -2
  276. package/dist/assets/t9n/map-layer-picker/resources_bs.json +3 -2
  277. package/dist/assets/t9n/map-layer-picker/resources_ca.json +3 -2
  278. package/dist/assets/t9n/map-layer-picker/resources_cs.json +3 -2
  279. package/dist/assets/t9n/map-layer-picker/resources_da.json +3 -2
  280. package/dist/assets/t9n/map-layer-picker/resources_de.json +3 -2
  281. package/dist/assets/t9n/map-layer-picker/resources_el.json +3 -2
  282. package/dist/assets/t9n/map-layer-picker/resources_es.json +3 -2
  283. package/dist/assets/t9n/map-layer-picker/resources_et.json +3 -2
  284. package/dist/assets/t9n/map-layer-picker/resources_fi.json +3 -2
  285. package/dist/assets/t9n/map-layer-picker/resources_fr.json +3 -2
  286. package/dist/assets/t9n/map-layer-picker/resources_he.json +3 -2
  287. package/dist/assets/t9n/map-layer-picker/resources_hr.json +3 -2
  288. package/dist/assets/t9n/map-layer-picker/resources_hu.json +3 -2
  289. package/dist/assets/t9n/map-layer-picker/resources_id.json +3 -2
  290. package/dist/assets/t9n/map-layer-picker/resources_it.json +3 -2
  291. package/dist/assets/t9n/map-layer-picker/resources_ja.json +3 -2
  292. package/dist/assets/t9n/map-layer-picker/resources_ko.json +3 -2
  293. package/dist/assets/t9n/map-layer-picker/resources_lt.json +3 -2
  294. package/dist/assets/t9n/map-layer-picker/resources_lv.json +3 -2
  295. package/dist/assets/t9n/map-layer-picker/resources_nb.json +3 -2
  296. package/dist/assets/t9n/map-layer-picker/resources_nl.json +3 -2
  297. package/dist/assets/t9n/map-layer-picker/resources_pl.json +3 -2
  298. package/dist/assets/t9n/map-layer-picker/resources_pt-BR.json +3 -2
  299. package/dist/assets/t9n/map-layer-picker/resources_pt-PT.json +3 -2
  300. package/dist/assets/t9n/map-layer-picker/resources_ro.json +3 -2
  301. package/dist/assets/t9n/map-layer-picker/resources_ru.json +3 -2
  302. package/dist/assets/t9n/map-layer-picker/resources_sk.json +3 -2
  303. package/dist/assets/t9n/map-layer-picker/resources_sl.json +3 -2
  304. package/dist/assets/t9n/map-layer-picker/resources_sr.json +3 -2
  305. package/dist/assets/t9n/map-layer-picker/resources_sv.json +3 -2
  306. package/dist/assets/t9n/map-layer-picker/resources_th.json +3 -2
  307. package/dist/assets/t9n/map-layer-picker/resources_tr.json +3 -2
  308. package/dist/assets/t9n/map-layer-picker/resources_uk.json +3 -2
  309. package/dist/assets/t9n/map-layer-picker/resources_vi.json +3 -2
  310. package/dist/assets/t9n/map-layer-picker/resources_zh-CN.json +3 -2
  311. package/dist/assets/t9n/map-layer-picker/resources_zh-HK.json +3 -2
  312. package/dist/assets/t9n/map-layer-picker/resources_zh-TW.json +3 -2
  313. package/dist/assets/t9n/map-picker/resources_ar.json +3 -0
  314. package/dist/assets/t9n/map-picker/resources_bg.json +3 -0
  315. package/dist/assets/t9n/map-picker/resources_bs.json +3 -0
  316. package/dist/assets/t9n/map-picker/resources_ca.json +3 -0
  317. package/dist/assets/t9n/map-picker/resources_cs.json +3 -0
  318. package/dist/assets/t9n/map-picker/resources_da.json +3 -0
  319. package/dist/assets/t9n/map-picker/resources_de.json +3 -0
  320. package/dist/assets/t9n/map-picker/resources_el.json +3 -0
  321. package/dist/assets/t9n/map-picker/resources_es.json +3 -0
  322. package/dist/assets/t9n/map-picker/resources_et.json +3 -0
  323. package/dist/assets/t9n/map-picker/resources_fi.json +3 -0
  324. package/dist/assets/t9n/map-picker/resources_fr.json +3 -0
  325. package/dist/assets/t9n/map-picker/resources_he.json +3 -0
  326. package/dist/assets/t9n/map-picker/resources_hr.json +3 -0
  327. package/dist/assets/t9n/map-picker/resources_hu.json +3 -0
  328. package/dist/assets/t9n/map-picker/resources_id.json +3 -0
  329. package/dist/assets/t9n/map-picker/resources_it.json +3 -0
  330. package/dist/assets/t9n/map-picker/resources_ja.json +3 -0
  331. package/dist/assets/t9n/map-picker/resources_ko.json +3 -0
  332. package/dist/assets/t9n/map-picker/resources_lt.json +3 -0
  333. package/dist/assets/t9n/map-picker/resources_lv.json +3 -0
  334. package/dist/assets/t9n/map-picker/resources_nb.json +3 -0
  335. package/dist/assets/t9n/map-picker/resources_nl.json +3 -0
  336. package/dist/assets/t9n/map-picker/resources_pl.json +3 -0
  337. package/dist/assets/t9n/map-picker/resources_pt-BR.json +3 -0
  338. package/dist/assets/t9n/map-picker/resources_pt-PT.json +3 -0
  339. package/dist/assets/t9n/map-picker/resources_ro.json +3 -0
  340. package/dist/assets/t9n/map-picker/resources_ru.json +3 -0
  341. package/dist/assets/t9n/map-picker/resources_sk.json +3 -0
  342. package/dist/assets/t9n/map-picker/resources_sl.json +3 -0
  343. package/dist/assets/t9n/map-picker/resources_sr.json +3 -0
  344. package/dist/assets/t9n/map-picker/resources_sv.json +3 -0
  345. package/dist/assets/t9n/map-picker/resources_th.json +3 -0
  346. package/dist/assets/t9n/map-picker/resources_tr.json +3 -0
  347. package/dist/assets/t9n/map-picker/resources_uk.json +3 -0
  348. package/dist/assets/t9n/map-picker/resources_vi.json +3 -0
  349. package/dist/assets/t9n/map-picker/resources_zh-CN.json +3 -0
  350. package/dist/assets/t9n/map-picker/resources_zh-HK.json +3 -0
  351. package/dist/assets/t9n/map-picker/resources_zh-TW.json +3 -0
  352. package/dist/assets/t9n/map-search/resources_ar.json +1 -1
  353. package/dist/assets/t9n/map-search/resources_bg.json +1 -1
  354. package/dist/assets/t9n/map-search/resources_bs.json +1 -1
  355. package/dist/assets/t9n/map-search/resources_ca.json +1 -1
  356. package/dist/assets/t9n/map-search/resources_cs.json +1 -1
  357. package/dist/assets/t9n/map-search/resources_da.json +1 -1
  358. package/dist/assets/t9n/map-search/resources_de.json +1 -1
  359. package/dist/assets/t9n/map-search/resources_el.json +1 -1
  360. package/dist/assets/t9n/map-search/resources_es.json +1 -1
  361. package/dist/assets/t9n/map-search/resources_et.json +1 -1
  362. package/dist/assets/t9n/map-search/resources_fi.json +1 -1
  363. package/dist/assets/t9n/map-search/resources_fr.json +1 -1
  364. package/dist/assets/t9n/map-search/resources_he.json +1 -1
  365. package/dist/assets/t9n/map-search/resources_hr.json +1 -1
  366. package/dist/assets/t9n/map-search/resources_hu.json +1 -1
  367. package/dist/assets/t9n/map-search/resources_id.json +1 -1
  368. package/dist/assets/t9n/map-search/resources_it.json +1 -1
  369. package/dist/assets/t9n/map-search/resources_ja.json +1 -1
  370. package/dist/assets/t9n/map-search/resources_ko.json +1 -1
  371. package/dist/assets/t9n/map-search/resources_lt.json +1 -1
  372. package/dist/assets/t9n/map-search/resources_lv.json +1 -1
  373. package/dist/assets/t9n/map-search/resources_nb.json +1 -1
  374. package/dist/assets/t9n/map-search/resources_nl.json +1 -1
  375. package/dist/assets/t9n/map-search/resources_pl.json +1 -1
  376. package/dist/assets/t9n/map-search/resources_pt-BR.json +1 -1
  377. package/dist/assets/t9n/map-search/resources_pt-PT.json +1 -1
  378. package/dist/assets/t9n/map-search/resources_ro.json +1 -1
  379. package/dist/assets/t9n/map-search/resources_ru.json +1 -1
  380. package/dist/assets/t9n/map-search/resources_sk.json +1 -1
  381. package/dist/assets/t9n/map-search/resources_sl.json +1 -1
  382. package/dist/assets/t9n/map-search/resources_sr.json +1 -1
  383. package/dist/assets/t9n/map-search/resources_sv.json +1 -1
  384. package/dist/assets/t9n/map-search/resources_th.json +1 -1
  385. package/dist/assets/t9n/map-search/resources_tr.json +1 -1
  386. package/dist/assets/t9n/map-search/resources_uk.json +1 -1
  387. package/dist/assets/t9n/map-search/resources_vi.json +1 -1
  388. package/dist/assets/t9n/map-search/resources_zh-CN.json +1 -1
  389. package/dist/assets/t9n/map-search/resources_zh-HK.json +1 -1
  390. package/dist/assets/t9n/map-search/resources_zh-TW.json +1 -1
  391. package/dist/assets/t9n/map-select-tools/resources_ar.json +2 -1
  392. package/dist/assets/t9n/map-select-tools/resources_bg.json +2 -1
  393. package/dist/assets/t9n/map-select-tools/resources_bs.json +2 -1
  394. package/dist/assets/t9n/map-select-tools/resources_ca.json +2 -1
  395. package/dist/assets/t9n/map-select-tools/resources_cs.json +2 -1
  396. package/dist/assets/t9n/map-select-tools/resources_da.json +2 -1
  397. package/dist/assets/t9n/map-select-tools/resources_de.json +2 -1
  398. package/dist/assets/t9n/map-select-tools/resources_el.json +2 -1
  399. package/dist/assets/t9n/map-select-tools/resources_es.json +2 -1
  400. package/dist/assets/t9n/map-select-tools/resources_et.json +2 -1
  401. package/dist/assets/t9n/map-select-tools/resources_fi.json +2 -1
  402. package/dist/assets/t9n/map-select-tools/resources_fr.json +2 -1
  403. package/dist/assets/t9n/map-select-tools/resources_he.json +2 -1
  404. package/dist/assets/t9n/map-select-tools/resources_hr.json +2 -1
  405. package/dist/assets/t9n/map-select-tools/resources_hu.json +2 -1
  406. package/dist/assets/t9n/map-select-tools/resources_id.json +2 -1
  407. package/dist/assets/t9n/map-select-tools/resources_it.json +2 -1
  408. package/dist/assets/t9n/map-select-tools/resources_ja.json +2 -1
  409. package/dist/assets/t9n/map-select-tools/resources_ko.json +2 -1
  410. package/dist/assets/t9n/map-select-tools/resources_lt.json +2 -1
  411. package/dist/assets/t9n/map-select-tools/resources_lv.json +2 -1
  412. package/dist/assets/t9n/map-select-tools/resources_nb.json +2 -1
  413. package/dist/assets/t9n/map-select-tools/resources_nl.json +2 -1
  414. package/dist/assets/t9n/map-select-tools/resources_pl.json +2 -1
  415. package/dist/assets/t9n/map-select-tools/resources_pt-BR.json +2 -1
  416. package/dist/assets/t9n/map-select-tools/resources_pt-PT.json +2 -1
  417. package/dist/assets/t9n/map-select-tools/resources_ro.json +2 -1
  418. package/dist/assets/t9n/map-select-tools/resources_ru.json +2 -1
  419. package/dist/assets/t9n/map-select-tools/resources_sk.json +2 -1
  420. package/dist/assets/t9n/map-select-tools/resources_sl.json +2 -1
  421. package/dist/assets/t9n/map-select-tools/resources_sr.json +2 -1
  422. package/dist/assets/t9n/map-select-tools/resources_sv.json +2 -1
  423. package/dist/assets/t9n/map-select-tools/resources_th.json +2 -1
  424. package/dist/assets/t9n/map-select-tools/resources_tr.json +2 -1
  425. package/dist/assets/t9n/map-select-tools/resources_uk.json +2 -1
  426. package/dist/assets/t9n/map-select-tools/resources_vi.json +2 -1
  427. package/dist/assets/t9n/map-select-tools/resources_zh-CN.json +2 -1
  428. package/dist/assets/t9n/map-select-tools/resources_zh-HK.json +2 -1
  429. package/dist/assets/t9n/map-select-tools/resources_zh-TW.json +2 -1
  430. package/dist/assets/t9n/map-tools/resources_ar.json +8 -7
  431. package/dist/assets/t9n/map-tools/resources_bg.json +8 -7
  432. package/dist/assets/t9n/map-tools/resources_bs.json +8 -7
  433. package/dist/assets/t9n/map-tools/resources_ca.json +8 -7
  434. package/dist/assets/t9n/map-tools/resources_cs.json +8 -7
  435. package/dist/assets/t9n/map-tools/resources_da.json +8 -7
  436. package/dist/assets/t9n/map-tools/resources_de.json +8 -7
  437. package/dist/assets/t9n/map-tools/resources_el.json +8 -7
  438. package/dist/assets/t9n/map-tools/resources_es.json +8 -7
  439. package/dist/assets/t9n/map-tools/resources_et.json +8 -7
  440. package/dist/assets/t9n/map-tools/resources_fi.json +8 -7
  441. package/dist/assets/t9n/map-tools/resources_fr.json +8 -7
  442. package/dist/assets/t9n/map-tools/resources_he.json +8 -7
  443. package/dist/assets/t9n/map-tools/resources_hr.json +8 -7
  444. package/dist/assets/t9n/map-tools/resources_hu.json +8 -7
  445. package/dist/assets/t9n/map-tools/resources_id.json +8 -7
  446. package/dist/assets/t9n/map-tools/resources_it.json +8 -7
  447. package/dist/assets/t9n/map-tools/resources_ja.json +8 -7
  448. package/dist/assets/t9n/map-tools/resources_ko.json +8 -7
  449. package/dist/assets/t9n/map-tools/resources_lt.json +8 -7
  450. package/dist/assets/t9n/map-tools/resources_lv.json +8 -7
  451. package/dist/assets/t9n/map-tools/resources_nb.json +8 -7
  452. package/dist/assets/t9n/map-tools/resources_nl.json +8 -7
  453. package/dist/assets/t9n/map-tools/resources_pl.json +8 -7
  454. package/dist/assets/t9n/map-tools/resources_pt-BR.json +8 -7
  455. package/dist/assets/t9n/map-tools/resources_pt-PT.json +8 -7
  456. package/dist/assets/t9n/map-tools/resources_ro.json +8 -7
  457. package/dist/assets/t9n/map-tools/resources_ru.json +8 -7
  458. package/dist/assets/t9n/map-tools/resources_sk.json +8 -7
  459. package/dist/assets/t9n/map-tools/resources_sl.json +8 -7
  460. package/dist/assets/t9n/map-tools/resources_sr.json +8 -7
  461. package/dist/assets/t9n/map-tools/resources_sv.json +8 -7
  462. package/dist/assets/t9n/map-tools/resources_th.json +8 -7
  463. package/dist/assets/t9n/map-tools/resources_tr.json +8 -7
  464. package/dist/assets/t9n/map-tools/resources_uk.json +8 -7
  465. package/dist/assets/t9n/map-tools/resources_vi.json +8 -7
  466. package/dist/assets/t9n/map-tools/resources_zh-CN.json +8 -7
  467. package/dist/assets/t9n/map-tools/resources_zh-HK.json +8 -7
  468. package/dist/assets/t9n/map-tools/resources_zh-TW.json +8 -7
  469. package/dist/cjs/basemap-gallery_7.cjs.entry.js +1 -1
  470. package/dist/cjs/card-manager_3.cjs.entry.js +2 -2
  471. package/dist/cjs/{downloadUtils-3e8b45ec.js → downloadUtils-84024878.js} +25 -18
  472. package/dist/cjs/{index.es-bf2ee853.js → index.es-eb7cf427.js} +1 -1
  473. package/dist/cjs/map-select-tools_3.cjs.entry.js +1 -1
  474. package/dist/cjs/public-notification.cjs.entry.js +1 -1
  475. package/dist/collection/components/layer-table/layer-table.css +0 -4
  476. package/dist/collection/components/map-tools/map-tools.js +1 -1
  477. package/dist/collection/utils/downloadUtils.js +24 -17
  478. package/dist/collection/utils/downloadUtils.ts +32 -22
  479. package/dist/collection/utils/test/downloadUtils.spec.js +43 -0
  480. package/dist/collection/utils/test/downloadUtils.spec.tsx +48 -0
  481. package/dist/components/downloadUtils.js +24 -17
  482. package/dist/components/layer-table2.js +1 -1
  483. package/dist/components/map-tools2.js +1 -1
  484. package/dist/esm/basemap-gallery_7.entry.js +1 -1
  485. package/dist/esm/card-manager_3.entry.js +2 -2
  486. package/dist/esm/{downloadUtils-13d9188b.js → downloadUtils-fa2b3718.js} +25 -18
  487. package/dist/esm/{index.es-edd974bc.js → index.es-cc671fd2.js} +1 -1
  488. package/dist/esm/map-select-tools_3.entry.js +1 -1
  489. package/dist/esm/public-notification.entry.js +1 -1
  490. package/dist/solutions-components/{p-58c2de0d.js → p-37a58e04.js} +3 -3
  491. package/dist/solutions-components/{p-531ab1e1.entry.js → p-54190edb.entry.js} +1 -1
  492. package/dist/solutions-components/{p-fb1a6e2e.entry.js → p-5bd796dd.entry.js} +1 -1
  493. package/dist/solutions-components/{p-22edbea5.entry.js → p-ae221b83.entry.js} +1 -1
  494. package/dist/solutions-components/{p-6dcf404a.entry.js → p-dc477b27.entry.js} +1 -1
  495. package/dist/solutions-components/{p-63a6c23c.js → p-e94c7cf2.js} +1 -1
  496. package/dist/solutions-components/solutions-components.esm.js +1 -1
  497. package/dist/solutions-components/utils/downloadUtils.ts +32 -22
  498. package/dist/solutions-components/utils/test/downloadUtils.spec.tsx +48 -0
  499. package/dist/types/utils/downloadUtils.d.ts +9 -8
  500. package/package.json +1 -1
  501. package/dist/esm/polyfills/core-js.js +0 -11
  502. package/dist/esm/polyfills/dom.js +0 -79
  503. package/dist/esm/polyfills/es5-html-element.js +0 -1
  504. package/dist/esm/polyfills/index.js +0 -34
  505. package/dist/esm/polyfills/system.js +0 -6
@@ -1508,7 +1508,7 @@ function(t){var e=function(t){for(var e=t.length,r=new Uint8Array(e),n=0;n<e;n++
1508
1508
  * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
1509
1509
  * ====================================================================
1510
1510
  */
1511
- function(t){function e(){return (n.canvg?Promise.resolve(n.canvg):Promise.resolve().then(function () { return require('./index.es-bf2ee853.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},
1511
+ function(t){function e(){return (n.canvg?Promise.resolve(n.canvg):Promise.resolve().then(function () { return require('./index.es-eb7cf427.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},
1512
1512
  /** ====================================================================
1513
1513
  * @license
1514
1514
  * jsPDF XMP metadata plugin
@@ -2347,21 +2347,6 @@ function queryRelated(requestOptions) {
2347
2347
  * limitations under the License.
2348
2348
  */
2349
2349
  const lineSeparatorChar = "|";
2350
- /**
2351
- * Get the related records for a feature service.
2352
- *
2353
- * @param url Feature service's URL, e.g., layer.url
2354
- * @param relationshipId Id of relationship
2355
- * @param objectIds Objects in the feature service whose related records are sought
2356
- */
2357
- function getFeatureServiceRelatedRecords(url, relationshipId, objectIds) {
2358
- const options = {
2359
- url: url + `/${relationshipId}`,
2360
- relationshipId,
2361
- objectIds
2362
- };
2363
- return queryRelated(options);
2364
- }
2365
2350
  //#endregion
2366
2351
  // ------------------------------------------------------------------------------------------------------------------ //
2367
2352
  //#region Public functions
@@ -2440,7 +2425,8 @@ async function downloadPDF(webmap, exportInfos, labelPageDescription, removeDupl
2440
2425
  // Remove empty labels
2441
2426
  .filter(label => label.length > 0);
2442
2427
  labels = removeDuplicates ? removeDuplicateLabels(labels) : labels;
2443
- exportPDF(_createFilename(selectionSetNames), labels, labelPageDescription, title, initialImageDataUrl);
2428
+ const exportTitle = title ? title : _createFilename(selectionSetNames);
2429
+ exportPDF(exportTitle, labels, labelPageDescription, title, initialImageDataUrl);
2444
2430
  return Promise.resolve();
2445
2431
  }
2446
2432
  /**
@@ -2665,6 +2651,27 @@ function _getExpressionsFromLabel(labelFormat) {
2665
2651
  const arcadeExpressionRegExp = /\{expression\/\w+\}/g;
2666
2652
  return (_a = labelFormat.match(arcadeExpressionRegExp)) !== null && _a !== void 0 ? _a : [];
2667
2653
  }
2654
+ /**
2655
+ * Get the related records for a feature service.
2656
+ *
2657
+ * @param url Feature service's URL, e.g., layer.url
2658
+ * @param layerId Id of layer within a feature service
2659
+ * @param relationshipId Id of relationship
2660
+ * @param objectIds Objects in the feature service whose related records are sought
2661
+ */
2662
+ function _getFeatureServiceRelatedRecords(url, layerId, relationshipId, objectIds) {
2663
+ // See if the URL points to a service rather than a layer
2664
+ const endOfUrl = url.substring(url.lastIndexOf("/") + 1);
2665
+ if (isNaN(parseInt(endOfUrl))) {
2666
+ url += "/" + layerId.toString();
2667
+ }
2668
+ const options = {
2669
+ url,
2670
+ relationshipId,
2671
+ objectIds
2672
+ };
2673
+ return queryRelated(options);
2674
+ }
2668
2675
  /**
2669
2676
  * Extracts field name expressions from the lines of a label format.
2670
2677
  *
@@ -2860,7 +2867,7 @@ async function _prepareLabels(webmap, layer, ids, formatUsingLayerPopup = true,
2860
2867
  let featureSet = [];
2861
2868
  if (typeof (labelFormatProps.relationshipId) !== "undefined") {
2862
2869
  // Get the related items for each id
2863
- const relatedRecResponse = await getFeatureServiceRelatedRecords(layer.url, labelFormatProps.relationshipId, ids);
2870
+ const relatedRecResponse = await _getFeatureServiceRelatedRecords(layer.url, layer.layerId, labelFormatProps.relationshipId, ids);
2864
2871
  const objectIdField = layer.objectIdField;
2865
2872
  let relatedFeatureIds = [];
2866
2873
  relatedRecResponse.relatedRecordGroups.forEach((relatedRecGroup) => {
@@ -6,7 +6,7 @@
6
6
  'use strict';
7
7
 
8
8
  const _commonjsHelpers = require('./_commonjsHelpers-384729db.js');
9
- const downloadUtils = require('./downloadUtils-3e8b45ec.js');
9
+ const downloadUtils = require('./downloadUtils-84024878.js');
10
10
  require('./index-1ffa261f.js');
11
11
  require('./loadModules-03328b9d.js');
12
12
  require('./locale-d50f3250.js');
@@ -13,7 +13,7 @@ const mapViewUtils = require('./mapViewUtils-786a219b.js');
13
13
  const interfaces = require('./interfaces-000be6de.js');
14
14
  const publicNotificationStore = require('./publicNotificationStore-9c812ef4.js');
15
15
  const locale = require('./locale-d50f3250.js');
16
- const downloadUtils = require('./downloadUtils-3e8b45ec.js');
16
+ const downloadUtils = require('./downloadUtils-84024878.js');
17
17
  require('./index-2bdbac04.js');
18
18
  require('./_commonjsHelpers-384729db.js');
19
19
  require('./clean-url-d5326abb.js');
@@ -13,7 +13,7 @@ const loadModules = require('./loadModules-03328b9d.js');
13
13
  const mapViewUtils = require('./mapViewUtils-786a219b.js');
14
14
  const publicNotificationStore = require('./publicNotificationStore-9c812ef4.js');
15
15
  const locale = require('./locale-d50f3250.js');
16
- const downloadUtils = require('./downloadUtils-3e8b45ec.js');
16
+ const downloadUtils = require('./downloadUtils-84024878.js');
17
17
  require('./index-2bdbac04.js');
18
18
  require('./_commonjsHelpers-384729db.js');
19
19
  require('./clean-url-d5326abb.js');
@@ -86,7 +86,3 @@ vaadin-grid-cell-content {
86
86
  padding: var(--lumo-space-xs) var(--lumo-space-m) !important;
87
87
  font-size: 14px !important;
88
88
  }
89
-
90
- .esri-field-column__header-content {
91
- background-color: var(--calcite-ui-foreground-3);
92
- }
@@ -159,7 +159,7 @@ export class MapTools {
159
159
  this._getActionGroup("basemap", false, this._translations.basemap, () => this._toggleBasemapPicker()) :
160
160
  undefined, this.enableFloorFilter ?
161
161
  this._getActionGroup("urban-model", false, this._translations.floorFilter, () => this._toggleFloorFilter()) :
162
- undefined)), h("basemap-gallery", { basemapConfig: this.basemapConfig, class: basemapClass, mapView: this.mapView, ref: (el) => { this._basemapElement = el; } }), h("map-search", { class: searchClass, mapView: this.mapView, ref: (el) => { this._searchElement = el; }, searchConfiguration: this.searchConfiguration }), h("map-legend", { class: legendClass, mapView: this.mapView, ref: (el) => { this._legendElement = el; } }), h("map-fullscreen", { class: fullscreenClass, mapView: this.mapView, ref: (el) => { this._fullscreenElement = el; } }), h("floor-filter", { class: floorFilterClass, enabled: this.enableFloorFilter, mapView: this.mapView, ref: (el) => { this._floorFilterElement = el; } })));
162
+ undefined)), h("basemap-gallery", { basemapConfig: this.basemapConfig, class: basemapClass, mapView: this.mapView, ref: (el) => { this._basemapElement = el; } }), h("map-search", { class: searchClass, mapView: this.mapView, ref: (el) => { this._searchElement = el; }, resultGraphicEnabled: true, searchConfiguration: this.searchConfiguration }), h("map-legend", { class: legendClass, mapView: this.mapView, ref: (el) => { this._legendElement = el; } }), h("map-fullscreen", { class: fullscreenClass, mapView: this.mapView, ref: (el) => { this._fullscreenElement = el; } }), h("floor-filter", { class: floorFilterClass, enabled: this.enableFloorFilter, mapView: this.mapView, ref: (el) => { this._floorFilterElement = el; } })));
163
163
  }
164
164
  //--------------------------------------------------------------------------
165
165
  //
@@ -27,21 +27,6 @@ import { queryFeaturesByID } from "./queryUtils";
27
27
  export { ILabel } from "./pdfUtils";
28
28
  const lineSeparatorChar = "|";
29
29
  import { queryRelated } from "@esri/arcgis-rest-feature-layer";
30
- /**
31
- * Get the related records for a feature service.
32
- *
33
- * @param url Feature service's URL, e.g., layer.url
34
- * @param relationshipId Id of relationship
35
- * @param objectIds Objects in the feature service whose related records are sought
36
- */
37
- export function getFeatureServiceRelatedRecords(url, relationshipId, objectIds) {
38
- const options = {
39
- url: url + `/${relationshipId}`,
40
- relationshipId,
41
- objectIds
42
- };
43
- return queryRelated(options);
44
- }
45
30
  //#endregion
46
31
  // ------------------------------------------------------------------------------------------------------------------ //
47
32
  //#region Public functions
@@ -120,7 +105,8 @@ export async function downloadPDF(webmap, exportInfos, labelPageDescription, rem
120
105
  // Remove empty labels
121
106
  .filter(label => label.length > 0);
122
107
  labels = removeDuplicates ? removeDuplicateLabels(labels) : labels;
123
- exportPDF(_createFilename(selectionSetNames), labels, labelPageDescription, title, initialImageDataUrl);
108
+ const exportTitle = title ? title : _createFilename(selectionSetNames);
109
+ exportPDF(exportTitle, labels, labelPageDescription, title, initialImageDataUrl);
124
110
  return Promise.resolve();
125
111
  }
126
112
  /**
@@ -348,6 +334,27 @@ export function _getExpressionsFromLabel(labelFormat) {
348
334
  const arcadeExpressionRegExp = /\{expression\/\w+\}/g;
349
335
  return (_a = labelFormat.match(arcadeExpressionRegExp)) !== null && _a !== void 0 ? _a : [];
350
336
  }
337
+ /**
338
+ * Get the related records for a feature service.
339
+ *
340
+ * @param url Feature service's URL, e.g., layer.url
341
+ * @param layerId Id of layer within a feature service
342
+ * @param relationshipId Id of relationship
343
+ * @param objectIds Objects in the feature service whose related records are sought
344
+ */
345
+ export function _getFeatureServiceRelatedRecords(url, layerId, relationshipId, objectIds) {
346
+ // See if the URL points to a service rather than a layer
347
+ const endOfUrl = url.substring(url.lastIndexOf("/") + 1);
348
+ if (isNaN(parseInt(endOfUrl))) {
349
+ url += "/" + layerId.toString();
350
+ }
351
+ const options = {
352
+ url,
353
+ relationshipId,
354
+ objectIds
355
+ };
356
+ return queryRelated(options);
357
+ }
351
358
  /**
352
359
  * Extracts field name expressions from the lines of a label format.
353
360
  *
@@ -543,7 +550,7 @@ export async function _prepareLabels(webmap, layer, ids, formatUsingLayerPopup =
543
550
  let featureSet = [];
544
551
  if (typeof (labelFormatProps.relationshipId) !== "undefined") {
545
552
  // Get the related items for each id
546
- const relatedRecResponse = await getFeatureServiceRelatedRecords(layer.url, labelFormatProps.relationshipId, ids);
553
+ const relatedRecResponse = await _getFeatureServiceRelatedRecords(layer.url, layer.layerId, labelFormatProps.relationshipId, ids);
547
554
  const objectIdField = layer.objectIdField;
548
555
  let relatedFeatureIds = [];
549
556
  relatedRecResponse.relatedRecordGroups.forEach((relatedRecGroup) => {
@@ -91,26 +91,6 @@ import {
91
91
  IRelatedRecordGroup,
92
92
  queryRelated
93
93
  } from "@esri/arcgis-rest-feature-layer";
94
- /**
95
- * Get the related records for a feature service.
96
- *
97
- * @param url Feature service's URL, e.g., layer.url
98
- * @param relationshipId Id of relationship
99
- * @param objectIds Objects in the feature service whose related records are sought
100
- */
101
- export function getFeatureServiceRelatedRecords(
102
- url: string,
103
- relationshipId?: number,
104
- objectIds?: number[]
105
- ): Promise<IQueryRelatedResponse> {
106
- const options: IQueryRelatedOptions = {
107
- url: url + `/${relationshipId}`,
108
- relationshipId,
109
- objectIds
110
- }
111
-
112
- return queryRelated(options);
113
- }
114
94
 
115
95
  //#endregion
116
96
  // ------------------------------------------------------------------------------------------------------------------ //
@@ -221,7 +201,8 @@ export async function downloadPDF(
221
201
 
222
202
  labels = removeDuplicates ? removeDuplicateLabels(labels) : labels;
223
203
 
224
- exportPDF(_createFilename(selectionSetNames), labels, labelPageDescription, title, initialImageDataUrl);
204
+ const exportTitle = title ? title : _createFilename(selectionSetNames);
205
+ exportPDF(exportTitle, labels, labelPageDescription, title, initialImageDataUrl);
225
206
 
226
207
  return Promise.resolve();
227
208
  }
@@ -486,6 +467,35 @@ export function _getExpressionsFromLabel(
486
467
  return labelFormat.match(arcadeExpressionRegExp) ?? [];
487
468
  }
488
469
 
470
+ /**
471
+ * Get the related records for a feature service.
472
+ *
473
+ * @param url Feature service's URL, e.g., layer.url
474
+ * @param layerId Id of layer within a feature service
475
+ * @param relationshipId Id of relationship
476
+ * @param objectIds Objects in the feature service whose related records are sought
477
+ */
478
+ export function _getFeatureServiceRelatedRecords(
479
+ url: string,
480
+ layerId: number,
481
+ relationshipId?: number,
482
+ objectIds?: number[]
483
+ ): Promise<IQueryRelatedResponse> {
484
+ // See if the URL points to a service rather than a layer
485
+ const endOfUrl = url.substring(url.lastIndexOf("/") + 1);
486
+ if (isNaN(parseInt(endOfUrl))) {
487
+ url += "/" + layerId.toString();
488
+ }
489
+
490
+ const options: IQueryRelatedOptions = {
491
+ url,
492
+ relationshipId,
493
+ objectIds
494
+ }
495
+
496
+ return queryRelated(options);
497
+ }
498
+
489
499
  /**
490
500
  * Extracts field name expressions from the lines of a label format.
491
501
  *
@@ -722,7 +732,7 @@ export async function _prepareLabels(
722
732
  let featureSet: __esri.Graphic[] = [];
723
733
  if (typeof(labelFormatProps.relationshipId) !== "undefined") {
724
734
  // Get the related items for each id
725
- const relatedRecResponse = await getFeatureServiceRelatedRecords(layer.url, labelFormatProps.relationshipId, ids);
735
+ const relatedRecResponse = await _getFeatureServiceRelatedRecords(layer.url, layer.layerId, labelFormatProps.relationshipId, ids);
726
736
 
727
737
  const objectIdField = layer.objectIdField;
728
738
  let relatedFeatureIds: number[] = [];
@@ -20,6 +20,7 @@
20
20
  */
21
21
  import * as downloadUtils from "../downloadUtils";
22
22
  import * as esriLoader from "esri-loader";
23
+ import * as restFeatureLayer from "@esri/arcgis-rest-feature-layer";
23
24
  describe("downloadUtils", () => {
24
25
  describe('removeDuplicateLabels', () => {
25
26
  it('should remove duplicate labels', () => {
@@ -196,6 +197,48 @@ describe("downloadUtils", () => {
196
197
  expect(expressions).toEqual(expectedExpressions);
197
198
  });
198
199
  });
200
+ describe("_getFeatureServiceRelatedRecords", () => {
201
+ it("handles a feature layer", () => {
202
+ const url = "https://servicesdev.arcgis.com/D2C14713795/ArcGIS/rest/services/addresses/FeatureServer/0";
203
+ const layerId = 5;
204
+ const expectedOptions = {
205
+ url
206
+ };
207
+ const queryResponse = { relatedRecordGroups: [] };
208
+ const queryRelatedSpy = jest.spyOn(restFeatureLayer, "queryRelated").mockResolvedValue(queryResponse);
209
+ void downloadUtils._getFeatureServiceRelatedRecords(url, layerId);
210
+ expect(queryRelatedSpy).toHaveBeenCalledWith(expectedOptions);
211
+ queryRelatedSpy.mockRestore();
212
+ });
213
+ it("handles a feature service", () => {
214
+ const url = "https://servicesdev.arcgis.com/D2C14713795/ArcGIS/rest/services/addresses/FeatureServer";
215
+ const layerId = 5;
216
+ const expectedOptions = {
217
+ url: "https://servicesdev.arcgis.com/D2C14713795/ArcGIS/rest/services/addresses/FeatureServer/5"
218
+ };
219
+ const queryResponse = { relatedRecordGroups: [] };
220
+ const queryRelatedSpy = jest.spyOn(restFeatureLayer, "queryRelated").mockResolvedValue(queryResponse);
221
+ void downloadUtils._getFeatureServiceRelatedRecords(url, layerId);
222
+ expect(queryRelatedSpy).toHaveBeenCalledWith(expectedOptions);
223
+ queryRelatedSpy.mockRestore();
224
+ });
225
+ it("handles a feature layer with relationship id and object ids supplied", () => {
226
+ const url = "https://servicesdev.arcgis.com/D2C14713795/ArcGIS/rest/services/addresses/FeatureServer/0";
227
+ const layerId = 5;
228
+ const relationshipId = 3;
229
+ const objectIds = [7, 8, 9];
230
+ const expectedOptions = {
231
+ url,
232
+ relationshipId,
233
+ objectIds
234
+ };
235
+ const queryResponse = { relatedRecordGroups: [] };
236
+ const queryRelatedSpy = jest.spyOn(restFeatureLayer, "queryRelated").mockResolvedValue(queryResponse);
237
+ void downloadUtils._getFeatureServiceRelatedRecords(url, layerId, relationshipId, objectIds);
238
+ expect(queryRelatedSpy).toHaveBeenCalledWith(expectedOptions);
239
+ queryRelatedSpy.mockRestore();
240
+ });
241
+ });
199
242
  describe("_getFieldExpressionsFromLabel", () => {
200
243
  it("handles a label with ASCII field names", () => {
201
244
  const labelSpec = "{expression/expr0}\n{OWNERNM1}\n{PSTLADDRESS}\n{PSTLCITY}, {PSTLSTATE} {PSTLZIP5}";
@@ -16,6 +16,7 @@
16
16
 
17
17
  import * as downloadUtils from "../downloadUtils";
18
18
  import * as esriLoader from 'esri-loader';
19
+ import * as restFeatureLayer from "@esri/arcgis-rest-feature-layer";
19
20
 
20
21
  describe("downloadUtils", () => {
21
22
 
@@ -261,6 +262,53 @@ describe("downloadUtils", () => {
261
262
 
262
263
  });
263
264
 
265
+ describe("_getFeatureServiceRelatedRecords", () => {
266
+
267
+ it("handles a feature layer", () => {
268
+ const url = "https://servicesdev.arcgis.com/D2C14713795/ArcGIS/rest/services/addresses/FeatureServer/0";
269
+ const layerId = 5;
270
+ const expectedOptions: restFeatureLayer.IQueryRelatedOptions = {
271
+ url
272
+ };
273
+ const queryResponse: restFeatureLayer.IQueryRelatedResponse = { relatedRecordGroups: [] };
274
+ const queryRelatedSpy = jest.spyOn(restFeatureLayer, "queryRelated").mockResolvedValue(queryResponse);
275
+ void downloadUtils._getFeatureServiceRelatedRecords(url, layerId);
276
+ expect(queryRelatedSpy).toHaveBeenCalledWith(expectedOptions);
277
+ queryRelatedSpy.mockRestore();
278
+ });
279
+
280
+ it("handles a feature service", () => {
281
+ const url = "https://servicesdev.arcgis.com/D2C14713795/ArcGIS/rest/services/addresses/FeatureServer";
282
+ const layerId = 5;
283
+ const expectedOptions: restFeatureLayer.IQueryRelatedOptions = {
284
+ url: "https://servicesdev.arcgis.com/D2C14713795/ArcGIS/rest/services/addresses/FeatureServer/5"
285
+ };
286
+ const queryResponse: restFeatureLayer.IQueryRelatedResponse = { relatedRecordGroups: [] };
287
+ const queryRelatedSpy = jest.spyOn(restFeatureLayer, "queryRelated").mockResolvedValue(queryResponse);
288
+ void downloadUtils._getFeatureServiceRelatedRecords(url, layerId);
289
+ expect(queryRelatedSpy).toHaveBeenCalledWith(expectedOptions);
290
+ queryRelatedSpy.mockRestore();
291
+ });
292
+
293
+ it("handles a feature layer with relationship id and object ids supplied", () => {
294
+ const url = "https://servicesdev.arcgis.com/D2C14713795/ArcGIS/rest/services/addresses/FeatureServer/0";
295
+ const layerId = 5;
296
+ const relationshipId = 3;
297
+ const objectIds = [7, 8, 9];
298
+ const expectedOptions: restFeatureLayer.IQueryRelatedOptions = {
299
+ url,
300
+ relationshipId,
301
+ objectIds
302
+ };
303
+ const queryResponse: restFeatureLayer.IQueryRelatedResponse = { relatedRecordGroups: [] };
304
+ const queryRelatedSpy = jest.spyOn(restFeatureLayer, "queryRelated").mockResolvedValue(queryResponse);
305
+ void downloadUtils._getFeatureServiceRelatedRecords(url, layerId, relationshipId, objectIds);
306
+ expect(queryRelatedSpy).toHaveBeenCalledWith(expectedOptions);
307
+ queryRelatedSpy.mockRestore();
308
+ });
309
+
310
+ });
311
+
264
312
  describe("_getFieldExpressionsFromLabel", () => {
265
313
 
266
314
  it("handles a label with ASCII field names", () => {
@@ -2345,21 +2345,6 @@ function queryRelated(requestOptions) {
2345
2345
  * limitations under the License.
2346
2346
  */
2347
2347
  const lineSeparatorChar = "|";
2348
- /**
2349
- * Get the related records for a feature service.
2350
- *
2351
- * @param url Feature service's URL, e.g., layer.url
2352
- * @param relationshipId Id of relationship
2353
- * @param objectIds Objects in the feature service whose related records are sought
2354
- */
2355
- function getFeatureServiceRelatedRecords(url, relationshipId, objectIds) {
2356
- const options = {
2357
- url: url + `/${relationshipId}`,
2358
- relationshipId,
2359
- objectIds
2360
- };
2361
- return queryRelated(options);
2362
- }
2363
2348
  //#endregion
2364
2349
  // ------------------------------------------------------------------------------------------------------------------ //
2365
2350
  //#region Public functions
@@ -2438,7 +2423,8 @@ async function downloadPDF(webmap, exportInfos, labelPageDescription, removeDupl
2438
2423
  // Remove empty labels
2439
2424
  .filter(label => label.length > 0);
2440
2425
  labels = removeDuplicates ? removeDuplicateLabels(labels) : labels;
2441
- exportPDF(_createFilename(selectionSetNames), labels, labelPageDescription, title, initialImageDataUrl);
2426
+ const exportTitle = title ? title : _createFilename(selectionSetNames);
2427
+ exportPDF(exportTitle, labels, labelPageDescription, title, initialImageDataUrl);
2442
2428
  return Promise.resolve();
2443
2429
  }
2444
2430
  /**
@@ -2663,6 +2649,27 @@ function _getExpressionsFromLabel(labelFormat) {
2663
2649
  const arcadeExpressionRegExp = /\{expression\/\w+\}/g;
2664
2650
  return (_a = labelFormat.match(arcadeExpressionRegExp)) !== null && _a !== void 0 ? _a : [];
2665
2651
  }
2652
+ /**
2653
+ * Get the related records for a feature service.
2654
+ *
2655
+ * @param url Feature service's URL, e.g., layer.url
2656
+ * @param layerId Id of layer within a feature service
2657
+ * @param relationshipId Id of relationship
2658
+ * @param objectIds Objects in the feature service whose related records are sought
2659
+ */
2660
+ function _getFeatureServiceRelatedRecords(url, layerId, relationshipId, objectIds) {
2661
+ // See if the URL points to a service rather than a layer
2662
+ const endOfUrl = url.substring(url.lastIndexOf("/") + 1);
2663
+ if (isNaN(parseInt(endOfUrl))) {
2664
+ url += "/" + layerId.toString();
2665
+ }
2666
+ const options = {
2667
+ url,
2668
+ relationshipId,
2669
+ objectIds
2670
+ };
2671
+ return queryRelated(options);
2672
+ }
2666
2673
  /**
2667
2674
  * Extracts field name expressions from the lines of a label format.
2668
2675
  *
@@ -2858,7 +2865,7 @@ async function _prepareLabels(webmap, layer, ids, formatUsingLayerPopup = true,
2858
2865
  let featureSet = [];
2859
2866
  if (typeof (labelFormatProps.relationshipId) !== "undefined") {
2860
2867
  // Get the related items for each id
2861
- const relatedRecResponse = await getFeatureServiceRelatedRecords(layer.url, labelFormatProps.relationshipId, ids);
2868
+ const relatedRecResponse = await _getFeatureServiceRelatedRecords(layer.url, layer.layerId, labelFormatProps.relationshipId, ids);
2862
2869
  const objectIdField = layer.objectIdField;
2863
2870
  let relatedFeatureIds = [];
2864
2871
  relatedRecResponse.relatedRecordGroups.forEach((relatedRecGroup) => {
@@ -34,7 +34,7 @@ import { d as defineCustomElement$3 } from './shell.js';
34
34
  import { d as defineCustomElement$2 } from './tooltip.js';
35
35
  import { d as defineCustomElement$1 } from './map-layer-picker2.js';
36
36
 
37
- const layerTableCss = ":host{display:block}.height-full{height:100%}.width-full{width:100%}.display-flex{display:flex}.table-border{border:1px solid var(--calcite-ui-border-2)}.border-end{border-inline-end:1px solid var(--calcite-ui-border-2)}.padding-5{padding:5px}.padding-end-1{padding-inline-end:1rem}.height-51{height:51px}.bottom-left{position:absolute;left:0;bottom:0}html[dir=\"rtl\"] .bottom-left{position:absolute;right:0;bottom:0}.background{background-color:var(--calcite-ui-background)}.text-color{color:var(--calcite-ui-text-1)}.align-center{align-items:center}.danger-color{color:var(--calcite-ui-danger)}.esri-feature-table vaadin-grid{border:none !important}vaadin-grid-cell-content{padding:var(--lumo-space-xs) var(--lumo-space-m) !important;font-size:14px !important}.esri-field-column__header-content{background-color:var(--calcite-ui-foreground-3)}";
37
+ const layerTableCss = ":host{display:block}.height-full{height:100%}.width-full{width:100%}.display-flex{display:flex}.table-border{border:1px solid var(--calcite-ui-border-2)}.border-end{border-inline-end:1px solid var(--calcite-ui-border-2)}.padding-5{padding:5px}.padding-end-1{padding-inline-end:1rem}.height-51{height:51px}.bottom-left{position:absolute;left:0;bottom:0}html[dir=\"rtl\"] .bottom-left{position:absolute;right:0;bottom:0}.background{background-color:var(--calcite-ui-background)}.text-color{color:var(--calcite-ui-text-1)}.align-center{align-items:center}.danger-color{color:var(--calcite-ui-danger)}.esri-feature-table vaadin-grid{border:none !important}vaadin-grid-cell-content{padding:var(--lumo-space-xs) var(--lumo-space-m) !important;font-size:14px !important}";
38
38
 
39
39
  const LayerTable = /*@__PURE__*/ proxyCustomElement(class LayerTable extends HTMLElement {
40
40
  constructor() {
@@ -159,7 +159,7 @@ const MapTools = /*@__PURE__*/ proxyCustomElement(class MapTools extends HTMLEle
159
159
  this._getActionGroup("basemap", false, this._translations.basemap, () => this._toggleBasemapPicker()) :
160
160
  undefined, this.enableFloorFilter ?
161
161
  this._getActionGroup("urban-model", false, this._translations.floorFilter, () => this._toggleFloorFilter()) :
162
- undefined)), h("basemap-gallery", { basemapConfig: this.basemapConfig, class: basemapClass, mapView: this.mapView, ref: (el) => { this._basemapElement = el; } }), h("map-search", { class: searchClass, mapView: this.mapView, ref: (el) => { this._searchElement = el; }, searchConfiguration: this.searchConfiguration }), h("map-legend", { class: legendClass, mapView: this.mapView, ref: (el) => { this._legendElement = el; } }), h("map-fullscreen", { class: fullscreenClass, mapView: this.mapView, ref: (el) => { this._fullscreenElement = el; } }), h("floor-filter", { class: floorFilterClass, enabled: this.enableFloorFilter, mapView: this.mapView, ref: (el) => { this._floorFilterElement = el; } })));
162
+ undefined)), h("basemap-gallery", { basemapConfig: this.basemapConfig, class: basemapClass, mapView: this.mapView, ref: (el) => { this._basemapElement = el; } }), h("map-search", { class: searchClass, mapView: this.mapView, ref: (el) => { this._searchElement = el; }, resultGraphicEnabled: true, searchConfiguration: this.searchConfiguration }), h("map-legend", { class: legendClass, mapView: this.mapView, ref: (el) => { this._legendElement = el; } }), h("map-fullscreen", { class: fullscreenClass, mapView: this.mapView, ref: (el) => { this._fullscreenElement = el; } }), h("floor-filter", { class: floorFilterClass, enabled: this.enableFloorFilter, mapView: this.mapView, ref: (el) => { this._floorFilterElement = el; } })));
163
163
  }
164
164
  //--------------------------------------------------------------------------
165
165
  //
@@ -848,7 +848,7 @@ const MapTools = class {
848
848
  this._getActionGroup("basemap", false, this._translations.basemap, () => this._toggleBasemapPicker()) :
849
849
  undefined, this.enableFloorFilter ?
850
850
  this._getActionGroup("urban-model", false, this._translations.floorFilter, () => this._toggleFloorFilter()) :
851
- undefined)), h("basemap-gallery", { basemapConfig: this.basemapConfig, class: basemapClass, mapView: this.mapView, ref: (el) => { this._basemapElement = el; } }), h("map-search", { class: searchClass, mapView: this.mapView, ref: (el) => { this._searchElement = el; }, searchConfiguration: this.searchConfiguration }), h("map-legend", { class: legendClass, mapView: this.mapView, ref: (el) => { this._legendElement = el; } }), h("map-fullscreen", { class: fullscreenClass, mapView: this.mapView, ref: (el) => { this._fullscreenElement = el; } }), h("floor-filter", { class: floorFilterClass, enabled: this.enableFloorFilter, mapView: this.mapView, ref: (el) => { this._floorFilterElement = el; } })));
851
+ undefined)), h("basemap-gallery", { basemapConfig: this.basemapConfig, class: basemapClass, mapView: this.mapView, ref: (el) => { this._basemapElement = el; } }), h("map-search", { class: searchClass, mapView: this.mapView, ref: (el) => { this._searchElement = el; }, resultGraphicEnabled: true, searchConfiguration: this.searchConfiguration }), h("map-legend", { class: legendClass, mapView: this.mapView, ref: (el) => { this._legendElement = el; } }), h("map-fullscreen", { class: fullscreenClass, mapView: this.mapView, ref: (el) => { this._fullscreenElement = el; } }), h("floor-filter", { class: floorFilterClass, enabled: this.enableFloorFilter, mapView: this.mapView, ref: (el) => { this._floorFilterElement = el; } })));
852
852
  }
853
853
  //--------------------------------------------------------------------------
854
854
  //
@@ -7,7 +7,7 @@ import { r as registerInstance, h, H as Host, g as getElement, c as createEvent
7
7
  import { g as getLocaleComponentStrings } from './locale-6be4e8f0.js';
8
8
  import { q as queryFeaturesByID, a as getLayerOrTable, g as goToSelection, b as queryAllIds } from './mapViewUtils-8bfabd80.js';
9
9
  import { l as loadModules } from './loadModules-687a30c5.js';
10
- import { d as downloadCSV } from './downloadUtils-13d9188b.js';
10
+ import { d as downloadCSV } from './downloadUtils-fa2b3718.js';
11
11
  import './_commonjsHelpers-d5f9d613.js';
12
12
  import './interfaces-7470d906.js';
13
13
  import './clean-url-bce022e6.js';
@@ -98,7 +98,7 @@ const CardManager = class {
98
98
  };
99
99
  CardManager.style = cardManagerCss;
100
100
 
101
- const layerTableCss = ":host{display:block}.height-full{height:100%}.width-full{width:100%}.display-flex{display:flex}.table-border{border:1px solid var(--calcite-ui-border-2)}.border-end{border-inline-end:1px solid var(--calcite-ui-border-2)}.padding-5{padding:5px}.padding-end-1{padding-inline-end:1rem}.height-51{height:51px}.bottom-left{position:absolute;left:0;bottom:0}html[dir=\"rtl\"] .bottom-left{position:absolute;right:0;bottom:0}.background{background-color:var(--calcite-ui-background)}.text-color{color:var(--calcite-ui-text-1)}.align-center{align-items:center}.danger-color{color:var(--calcite-ui-danger)}.esri-feature-table vaadin-grid{border:none !important}vaadin-grid-cell-content{padding:var(--lumo-space-xs) var(--lumo-space-m) !important;font-size:14px !important}.esri-field-column__header-content{background-color:var(--calcite-ui-foreground-3)}";
101
+ const layerTableCss = ":host{display:block}.height-full{height:100%}.width-full{width:100%}.display-flex{display:flex}.table-border{border:1px solid var(--calcite-ui-border-2)}.border-end{border-inline-end:1px solid var(--calcite-ui-border-2)}.padding-5{padding:5px}.padding-end-1{padding-inline-end:1rem}.height-51{height:51px}.bottom-left{position:absolute;left:0;bottom:0}html[dir=\"rtl\"] .bottom-left{position:absolute;right:0;bottom:0}.background{background-color:var(--calcite-ui-background)}.text-color{color:var(--calcite-ui-text-1)}.align-center{align-items:center}.danger-color{color:var(--calcite-ui-danger)}.esri-feature-table vaadin-grid{border:none !important}vaadin-grid-cell-content{padding:var(--lumo-space-xs) var(--lumo-space-m) !important;font-size:14px !important}";
102
102
 
103
103
  const LayerTable = class {
104
104
  constructor(hostRef) {