@esri/solutions-components 0.7.29 → 0.7.31

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 (461) hide show
  1. package/dist/assets/t9n/card-manager/resources_ar.json +1 -4
  2. package/dist/assets/t9n/card-manager/resources_bg.json +1 -4
  3. package/dist/assets/t9n/card-manager/resources_bs.json +1 -4
  4. package/dist/assets/t9n/card-manager/resources_ca.json +1 -4
  5. package/dist/assets/t9n/card-manager/resources_cs.json +1 -4
  6. package/dist/assets/t9n/card-manager/resources_da.json +1 -4
  7. package/dist/assets/t9n/card-manager/resources_de.json +1 -4
  8. package/dist/assets/t9n/card-manager/resources_el.json +1 -4
  9. package/dist/assets/t9n/card-manager/resources_es.json +1 -4
  10. package/dist/assets/t9n/card-manager/resources_et.json +1 -4
  11. package/dist/assets/t9n/card-manager/resources_fi.json +1 -4
  12. package/dist/assets/t9n/card-manager/resources_fr.json +1 -4
  13. package/dist/assets/t9n/card-manager/resources_he.json +1 -4
  14. package/dist/assets/t9n/card-manager/resources_hr.json +1 -4
  15. package/dist/assets/t9n/card-manager/resources_hu.json +1 -4
  16. package/dist/assets/t9n/card-manager/resources_id.json +1 -4
  17. package/dist/assets/t9n/card-manager/resources_it.json +1 -4
  18. package/dist/assets/t9n/card-manager/resources_ja.json +1 -4
  19. package/dist/assets/t9n/card-manager/resources_ko.json +1 -4
  20. package/dist/assets/t9n/card-manager/resources_lt.json +1 -4
  21. package/dist/assets/t9n/card-manager/resources_lv.json +1 -4
  22. package/dist/assets/t9n/card-manager/resources_nb.json +1 -4
  23. package/dist/assets/t9n/card-manager/resources_nl.json +1 -4
  24. package/dist/assets/t9n/card-manager/resources_pl.json +1 -4
  25. package/dist/assets/t9n/card-manager/resources_pt-BR.json +1 -4
  26. package/dist/assets/t9n/card-manager/resources_pt-PT.json +1 -4
  27. package/dist/assets/t9n/card-manager/resources_ro.json +1 -4
  28. package/dist/assets/t9n/card-manager/resources_ru.json +1 -4
  29. package/dist/assets/t9n/card-manager/resources_sk.json +1 -4
  30. package/dist/assets/t9n/card-manager/resources_sl.json +1 -4
  31. package/dist/assets/t9n/card-manager/resources_sr.json +1 -4
  32. package/dist/assets/t9n/card-manager/resources_sv.json +1 -4
  33. package/dist/assets/t9n/card-manager/resources_th.json +1 -4
  34. package/dist/assets/t9n/card-manager/resources_tr.json +1 -4
  35. package/dist/assets/t9n/card-manager/resources_uk.json +1 -4
  36. package/dist/assets/t9n/card-manager/resources_vi.json +1 -4
  37. package/dist/assets/t9n/card-manager/resources_zh-CN.json +1 -4
  38. package/dist/assets/t9n/card-manager/resources_zh-HK.json +1 -4
  39. package/dist/assets/t9n/card-manager/resources_zh-TW.json +1 -4
  40. package/dist/assets/t9n/crowdsource-manager/resources_ar.json +2 -2
  41. package/dist/assets/t9n/crowdsource-manager/resources_bg.json +2 -2
  42. package/dist/assets/t9n/crowdsource-manager/resources_bs.json +2 -2
  43. package/dist/assets/t9n/crowdsource-manager/resources_ca.json +2 -2
  44. package/dist/assets/t9n/crowdsource-manager/resources_cs.json +2 -2
  45. package/dist/assets/t9n/crowdsource-manager/resources_da.json +2 -2
  46. package/dist/assets/t9n/crowdsource-manager/resources_de.json +2 -2
  47. package/dist/assets/t9n/crowdsource-manager/resources_el.json +2 -2
  48. package/dist/assets/t9n/crowdsource-manager/resources_es.json +2 -2
  49. package/dist/assets/t9n/crowdsource-manager/resources_et.json +2 -2
  50. package/dist/assets/t9n/crowdsource-manager/resources_fi.json +2 -2
  51. package/dist/assets/t9n/crowdsource-manager/resources_fr.json +2 -2
  52. package/dist/assets/t9n/crowdsource-manager/resources_he.json +2 -2
  53. package/dist/assets/t9n/crowdsource-manager/resources_hr.json +2 -2
  54. package/dist/assets/t9n/crowdsource-manager/resources_hu.json +2 -2
  55. package/dist/assets/t9n/crowdsource-manager/resources_id.json +2 -2
  56. package/dist/assets/t9n/crowdsource-manager/resources_it.json +2 -2
  57. package/dist/assets/t9n/crowdsource-manager/resources_ja.json +2 -2
  58. package/dist/assets/t9n/crowdsource-manager/resources_ko.json +2 -2
  59. package/dist/assets/t9n/crowdsource-manager/resources_lt.json +2 -2
  60. package/dist/assets/t9n/crowdsource-manager/resources_lv.json +2 -2
  61. package/dist/assets/t9n/crowdsource-manager/resources_nb.json +2 -2
  62. package/dist/assets/t9n/crowdsource-manager/resources_nl.json +2 -2
  63. package/dist/assets/t9n/crowdsource-manager/resources_pl.json +2 -2
  64. package/dist/assets/t9n/crowdsource-manager/resources_pt-BR.json +2 -2
  65. package/dist/assets/t9n/crowdsource-manager/resources_pt-PT.json +2 -2
  66. package/dist/assets/t9n/crowdsource-manager/resources_ro.json +2 -2
  67. package/dist/assets/t9n/crowdsource-manager/resources_ru.json +2 -2
  68. package/dist/assets/t9n/crowdsource-manager/resources_sk.json +2 -2
  69. package/dist/assets/t9n/crowdsource-manager/resources_sl.json +2 -2
  70. package/dist/assets/t9n/crowdsource-manager/resources_sr.json +2 -2
  71. package/dist/assets/t9n/crowdsource-manager/resources_sv.json +2 -2
  72. package/dist/assets/t9n/crowdsource-manager/resources_th.json +2 -2
  73. package/dist/assets/t9n/crowdsource-manager/resources_tr.json +2 -2
  74. package/dist/assets/t9n/crowdsource-manager/resources_uk.json +2 -2
  75. package/dist/assets/t9n/crowdsource-manager/resources_vi.json +2 -2
  76. package/dist/assets/t9n/crowdsource-manager/resources_zh-CN.json +2 -2
  77. package/dist/assets/t9n/crowdsource-manager/resources_zh-HK.json +2 -2
  78. package/dist/assets/t9n/crowdsource-manager/resources_zh-TW.json +2 -2
  79. package/dist/assets/t9n/crowdsource-reporter/resources.json +7 -5
  80. package/dist/assets/t9n/crowdsource-reporter/resources_ar.json +20 -0
  81. package/dist/assets/t9n/crowdsource-reporter/resources_bg.json +20 -0
  82. package/dist/assets/t9n/crowdsource-reporter/resources_bs.json +20 -0
  83. package/dist/assets/t9n/crowdsource-reporter/resources_ca.json +20 -0
  84. package/dist/assets/t9n/crowdsource-reporter/resources_cs.json +20 -0
  85. package/dist/assets/t9n/crowdsource-reporter/resources_da.json +20 -0
  86. package/dist/assets/t9n/crowdsource-reporter/resources_de.json +20 -0
  87. package/dist/assets/t9n/crowdsource-reporter/resources_el.json +20 -0
  88. package/dist/assets/t9n/crowdsource-reporter/resources_en.json +7 -5
  89. package/dist/assets/t9n/crowdsource-reporter/resources_es.json +20 -0
  90. package/dist/assets/t9n/crowdsource-reporter/resources_et.json +20 -0
  91. package/dist/assets/t9n/crowdsource-reporter/resources_fi.json +20 -0
  92. package/dist/assets/t9n/crowdsource-reporter/resources_fr.json +20 -0
  93. package/dist/assets/t9n/crowdsource-reporter/resources_he.json +20 -0
  94. package/dist/assets/t9n/crowdsource-reporter/resources_hr.json +20 -0
  95. package/dist/assets/t9n/crowdsource-reporter/resources_hu.json +20 -0
  96. package/dist/assets/t9n/crowdsource-reporter/resources_id.json +20 -0
  97. package/dist/assets/t9n/crowdsource-reporter/resources_it.json +20 -0
  98. package/dist/assets/t9n/crowdsource-reporter/resources_ja.json +20 -0
  99. package/dist/assets/t9n/crowdsource-reporter/resources_ko.json +20 -0
  100. package/dist/assets/t9n/crowdsource-reporter/resources_lt.json +20 -0
  101. package/dist/assets/t9n/crowdsource-reporter/resources_lv.json +20 -0
  102. package/dist/assets/t9n/crowdsource-reporter/resources_nb.json +20 -0
  103. package/dist/assets/t9n/crowdsource-reporter/resources_nl.json +20 -0
  104. package/dist/assets/t9n/crowdsource-reporter/resources_pl.json +20 -0
  105. package/dist/assets/t9n/crowdsource-reporter/resources_pt-BR.json +20 -0
  106. package/dist/assets/t9n/crowdsource-reporter/resources_pt-PT.json +20 -0
  107. package/dist/assets/t9n/crowdsource-reporter/resources_ro.json +20 -0
  108. package/dist/assets/t9n/crowdsource-reporter/resources_ru.json +20 -0
  109. package/dist/assets/t9n/crowdsource-reporter/resources_sk.json +20 -0
  110. package/dist/assets/t9n/crowdsource-reporter/resources_sl.json +20 -0
  111. package/dist/assets/t9n/crowdsource-reporter/resources_sr.json +20 -0
  112. package/dist/assets/t9n/crowdsource-reporter/resources_sv.json +20 -0
  113. package/dist/assets/t9n/crowdsource-reporter/resources_th.json +20 -0
  114. package/dist/assets/t9n/crowdsource-reporter/resources_tr.json +20 -0
  115. package/dist/assets/t9n/crowdsource-reporter/resources_uk.json +20 -0
  116. package/dist/assets/t9n/crowdsource-reporter/resources_vi.json +20 -0
  117. package/dist/assets/t9n/crowdsource-reporter/resources_zh-CN.json +20 -0
  118. package/dist/assets/t9n/crowdsource-reporter/resources_zh-HK.json +20 -0
  119. package/dist/assets/t9n/crowdsource-reporter/resources_zh-TW.json +20 -0
  120. package/dist/assets/t9n/delete-button/resources_ar.json +8 -0
  121. package/dist/assets/t9n/delete-button/resources_bg.json +8 -0
  122. package/dist/assets/t9n/delete-button/resources_bs.json +8 -0
  123. package/dist/assets/t9n/delete-button/resources_ca.json +8 -0
  124. package/dist/assets/t9n/delete-button/resources_cs.json +8 -0
  125. package/dist/assets/t9n/delete-button/resources_da.json +8 -0
  126. package/dist/assets/t9n/delete-button/resources_de.json +8 -0
  127. package/dist/assets/t9n/delete-button/resources_el.json +8 -0
  128. package/dist/assets/t9n/delete-button/resources_es.json +8 -0
  129. package/dist/assets/t9n/delete-button/resources_et.json +8 -0
  130. package/dist/assets/t9n/delete-button/resources_fi.json +8 -0
  131. package/dist/assets/t9n/delete-button/resources_fr.json +8 -0
  132. package/dist/assets/t9n/delete-button/resources_he.json +8 -0
  133. package/dist/assets/t9n/delete-button/resources_hr.json +8 -0
  134. package/dist/assets/t9n/delete-button/resources_hu.json +8 -0
  135. package/dist/assets/t9n/delete-button/resources_id.json +8 -0
  136. package/dist/assets/t9n/delete-button/resources_it.json +8 -0
  137. package/dist/assets/t9n/delete-button/resources_ja.json +8 -0
  138. package/dist/assets/t9n/delete-button/resources_ko.json +8 -0
  139. package/dist/assets/t9n/delete-button/resources_lt.json +8 -0
  140. package/dist/assets/t9n/delete-button/resources_lv.json +8 -0
  141. package/dist/assets/t9n/delete-button/resources_nb.json +8 -0
  142. package/dist/assets/t9n/delete-button/resources_nl.json +8 -0
  143. package/dist/assets/t9n/delete-button/resources_pl.json +8 -0
  144. package/dist/assets/t9n/delete-button/resources_pt-BR.json +8 -0
  145. package/dist/assets/t9n/delete-button/resources_pt-PT.json +8 -0
  146. package/dist/assets/t9n/delete-button/resources_ro.json +8 -0
  147. package/dist/assets/t9n/delete-button/resources_ru.json +8 -0
  148. package/dist/assets/t9n/delete-button/resources_sk.json +8 -0
  149. package/dist/assets/t9n/delete-button/resources_sl.json +8 -0
  150. package/dist/assets/t9n/delete-button/resources_sr.json +8 -0
  151. package/dist/assets/t9n/delete-button/resources_sv.json +8 -0
  152. package/dist/assets/t9n/delete-button/resources_th.json +8 -0
  153. package/dist/assets/t9n/delete-button/resources_tr.json +8 -0
  154. package/dist/assets/t9n/delete-button/resources_uk.json +8 -0
  155. package/dist/assets/t9n/delete-button/resources_vi.json +8 -0
  156. package/dist/assets/t9n/delete-button/resources_zh-CN.json +8 -0
  157. package/dist/assets/t9n/delete-button/resources_zh-HK.json +8 -0
  158. package/dist/assets/t9n/delete-button/resources_zh-TW.json +8 -0
  159. package/dist/assets/t9n/feature-list/resources.json +1 -1
  160. package/dist/assets/t9n/feature-list/resources_ar.json +4 -0
  161. package/dist/assets/t9n/feature-list/resources_bg.json +4 -0
  162. package/dist/assets/t9n/feature-list/resources_bs.json +4 -0
  163. package/dist/assets/t9n/feature-list/resources_ca.json +4 -0
  164. package/dist/assets/t9n/feature-list/resources_cs.json +4 -0
  165. package/dist/assets/t9n/feature-list/resources_da.json +4 -0
  166. package/dist/assets/t9n/feature-list/resources_de.json +4 -0
  167. package/dist/assets/t9n/feature-list/resources_el.json +4 -0
  168. package/dist/assets/t9n/feature-list/resources_en.json +1 -1
  169. package/dist/assets/t9n/feature-list/resources_es.json +4 -0
  170. package/dist/assets/t9n/feature-list/resources_et.json +4 -0
  171. package/dist/assets/t9n/feature-list/resources_fi.json +4 -0
  172. package/dist/assets/t9n/feature-list/resources_fr.json +4 -0
  173. package/dist/assets/t9n/feature-list/resources_he.json +4 -0
  174. package/dist/assets/t9n/feature-list/resources_hr.json +4 -0
  175. package/dist/assets/t9n/feature-list/resources_hu.json +4 -0
  176. package/dist/assets/t9n/feature-list/resources_id.json +4 -0
  177. package/dist/assets/t9n/feature-list/resources_it.json +4 -0
  178. package/dist/assets/t9n/feature-list/resources_ja.json +4 -0
  179. package/dist/assets/t9n/feature-list/resources_ko.json +4 -0
  180. package/dist/assets/t9n/feature-list/resources_lt.json +4 -0
  181. package/dist/assets/t9n/feature-list/resources_lv.json +4 -0
  182. package/dist/assets/t9n/feature-list/resources_nb.json +4 -0
  183. package/dist/assets/t9n/feature-list/resources_nl.json +4 -0
  184. package/dist/assets/t9n/feature-list/resources_pl.json +4 -0
  185. package/dist/assets/t9n/feature-list/resources_pt-BR.json +4 -0
  186. package/dist/assets/t9n/feature-list/resources_pt-PT.json +4 -0
  187. package/dist/assets/t9n/feature-list/resources_ro.json +4 -0
  188. package/dist/assets/t9n/feature-list/resources_ru.json +4 -0
  189. package/dist/assets/t9n/feature-list/resources_sk.json +4 -0
  190. package/dist/assets/t9n/feature-list/resources_sl.json +4 -0
  191. package/dist/assets/t9n/feature-list/resources_sr.json +4 -0
  192. package/dist/assets/t9n/feature-list/resources_sv.json +4 -0
  193. package/dist/assets/t9n/feature-list/resources_th.json +4 -0
  194. package/dist/assets/t9n/feature-list/resources_tr.json +4 -0
  195. package/dist/assets/t9n/feature-list/resources_uk.json +4 -0
  196. package/dist/assets/t9n/feature-list/resources_vi.json +4 -0
  197. package/dist/assets/t9n/feature-list/resources_zh-CN.json +4 -0
  198. package/dist/assets/t9n/feature-list/resources_zh-HK.json +4 -0
  199. package/dist/assets/t9n/feature-list/resources_zh-TW.json +4 -0
  200. package/dist/assets/t9n/info-card/resources_ar.json +2 -1
  201. package/dist/assets/t9n/info-card/resources_bg.json +2 -1
  202. package/dist/assets/t9n/info-card/resources_bs.json +2 -1
  203. package/dist/assets/t9n/info-card/resources_ca.json +2 -1
  204. package/dist/assets/t9n/info-card/resources_cs.json +2 -1
  205. package/dist/assets/t9n/info-card/resources_da.json +2 -1
  206. package/dist/assets/t9n/info-card/resources_de.json +2 -1
  207. package/dist/assets/t9n/info-card/resources_el.json +2 -1
  208. package/dist/assets/t9n/info-card/resources_es.json +2 -1
  209. package/dist/assets/t9n/info-card/resources_et.json +2 -1
  210. package/dist/assets/t9n/info-card/resources_fi.json +2 -1
  211. package/dist/assets/t9n/info-card/resources_fr.json +2 -1
  212. package/dist/assets/t9n/info-card/resources_he.json +2 -1
  213. package/dist/assets/t9n/info-card/resources_hr.json +2 -1
  214. package/dist/assets/t9n/info-card/resources_hu.json +2 -1
  215. package/dist/assets/t9n/info-card/resources_id.json +2 -1
  216. package/dist/assets/t9n/info-card/resources_it.json +2 -1
  217. package/dist/assets/t9n/info-card/resources_ja.json +2 -1
  218. package/dist/assets/t9n/info-card/resources_ko.json +2 -1
  219. package/dist/assets/t9n/info-card/resources_lt.json +2 -1
  220. package/dist/assets/t9n/info-card/resources_lv.json +2 -1
  221. package/dist/assets/t9n/info-card/resources_nb.json +2 -1
  222. package/dist/assets/t9n/info-card/resources_nl.json +2 -1
  223. package/dist/assets/t9n/info-card/resources_pl.json +2 -1
  224. package/dist/assets/t9n/info-card/resources_pt-BR.json +2 -1
  225. package/dist/assets/t9n/info-card/resources_pt-PT.json +2 -1
  226. package/dist/assets/t9n/info-card/resources_ro.json +2 -1
  227. package/dist/assets/t9n/info-card/resources_ru.json +2 -1
  228. package/dist/assets/t9n/info-card/resources_sk.json +2 -1
  229. package/dist/assets/t9n/info-card/resources_sl.json +2 -1
  230. package/dist/assets/t9n/info-card/resources_sr.json +2 -1
  231. package/dist/assets/t9n/info-card/resources_sv.json +2 -1
  232. package/dist/assets/t9n/info-card/resources_th.json +2 -1
  233. package/dist/assets/t9n/info-card/resources_tr.json +2 -1
  234. package/dist/assets/t9n/info-card/resources_uk.json +2 -1
  235. package/dist/assets/t9n/info-card/resources_vi.json +2 -1
  236. package/dist/assets/t9n/info-card/resources_zh-CN.json +2 -1
  237. package/dist/assets/t9n/info-card/resources_zh-HK.json +2 -1
  238. package/dist/assets/t9n/info-card/resources_zh-TW.json +2 -1
  239. package/dist/assets/t9n/layer-list/resources.json +1 -1
  240. package/dist/assets/t9n/layer-list/resources_ar.json +4 -0
  241. package/dist/assets/t9n/layer-list/resources_bg.json +4 -0
  242. package/dist/assets/t9n/layer-list/resources_bs.json +4 -0
  243. package/dist/assets/t9n/layer-list/resources_ca.json +4 -0
  244. package/dist/assets/t9n/layer-list/resources_cs.json +4 -0
  245. package/dist/assets/t9n/layer-list/resources_da.json +4 -0
  246. package/dist/assets/t9n/layer-list/resources_de.json +4 -0
  247. package/dist/assets/t9n/layer-list/resources_el.json +4 -0
  248. package/dist/assets/t9n/layer-list/resources_en.json +1 -1
  249. package/dist/assets/t9n/layer-list/resources_es.json +4 -0
  250. package/dist/assets/t9n/layer-list/resources_et.json +4 -0
  251. package/dist/assets/t9n/layer-list/resources_fi.json +4 -0
  252. package/dist/assets/t9n/layer-list/resources_fr.json +4 -0
  253. package/dist/assets/t9n/layer-list/resources_he.json +4 -0
  254. package/dist/assets/t9n/layer-list/resources_hr.json +4 -0
  255. package/dist/assets/t9n/layer-list/resources_hu.json +4 -0
  256. package/dist/assets/t9n/layer-list/resources_id.json +4 -0
  257. package/dist/assets/t9n/layer-list/resources_it.json +4 -0
  258. package/dist/assets/t9n/layer-list/resources_ja.json +4 -0
  259. package/dist/assets/t9n/layer-list/resources_ko.json +4 -0
  260. package/dist/assets/t9n/layer-list/resources_lt.json +4 -0
  261. package/dist/assets/t9n/layer-list/resources_lv.json +4 -0
  262. package/dist/assets/t9n/layer-list/resources_nb.json +4 -0
  263. package/dist/assets/t9n/layer-list/resources_nl.json +4 -0
  264. package/dist/assets/t9n/layer-list/resources_pl.json +4 -0
  265. package/dist/assets/t9n/layer-list/resources_pt-BR.json +4 -0
  266. package/dist/assets/t9n/layer-list/resources_pt-PT.json +4 -0
  267. package/dist/assets/t9n/layer-list/resources_ro.json +4 -0
  268. package/dist/assets/t9n/layer-list/resources_ru.json +4 -0
  269. package/dist/assets/t9n/layer-list/resources_sk.json +4 -0
  270. package/dist/assets/t9n/layer-list/resources_sl.json +4 -0
  271. package/dist/assets/t9n/layer-list/resources_sr.json +4 -0
  272. package/dist/assets/t9n/layer-list/resources_sv.json +4 -0
  273. package/dist/assets/t9n/layer-list/resources_th.json +4 -0
  274. package/dist/assets/t9n/layer-list/resources_tr.json +4 -0
  275. package/dist/assets/t9n/layer-list/resources_uk.json +4 -0
  276. package/dist/assets/t9n/layer-list/resources_vi.json +4 -0
  277. package/dist/assets/t9n/layer-list/resources_zh-CN.json +4 -0
  278. package/dist/assets/t9n/layer-list/resources_zh-HK.json +4 -0
  279. package/dist/assets/t9n/layer-list/resources_zh-TW.json +4 -0
  280. package/dist/assets/t9n/layer-table/resources_ar.json +5 -9
  281. package/dist/assets/t9n/layer-table/resources_bg.json +5 -9
  282. package/dist/assets/t9n/layer-table/resources_bs.json +5 -9
  283. package/dist/assets/t9n/layer-table/resources_ca.json +5 -9
  284. package/dist/assets/t9n/layer-table/resources_cs.json +5 -9
  285. package/dist/assets/t9n/layer-table/resources_da.json +5 -9
  286. package/dist/assets/t9n/layer-table/resources_de.json +5 -9
  287. package/dist/assets/t9n/layer-table/resources_el.json +5 -9
  288. package/dist/assets/t9n/layer-table/resources_es.json +5 -9
  289. package/dist/assets/t9n/layer-table/resources_et.json +5 -9
  290. package/dist/assets/t9n/layer-table/resources_fi.json +5 -9
  291. package/dist/assets/t9n/layer-table/resources_fr.json +5 -9
  292. package/dist/assets/t9n/layer-table/resources_he.json +5 -9
  293. package/dist/assets/t9n/layer-table/resources_hr.json +5 -9
  294. package/dist/assets/t9n/layer-table/resources_hu.json +5 -9
  295. package/dist/assets/t9n/layer-table/resources_id.json +5 -9
  296. package/dist/assets/t9n/layer-table/resources_it.json +5 -9
  297. package/dist/assets/t9n/layer-table/resources_ja.json +5 -9
  298. package/dist/assets/t9n/layer-table/resources_ko.json +5 -9
  299. package/dist/assets/t9n/layer-table/resources_lt.json +5 -9
  300. package/dist/assets/t9n/layer-table/resources_lv.json +5 -9
  301. package/dist/assets/t9n/layer-table/resources_nb.json +5 -9
  302. package/dist/assets/t9n/layer-table/resources_nl.json +5 -9
  303. package/dist/assets/t9n/layer-table/resources_pl.json +5 -9
  304. package/dist/assets/t9n/layer-table/resources_pt-BR.json +5 -9
  305. package/dist/assets/t9n/layer-table/resources_pt-PT.json +5 -9
  306. package/dist/assets/t9n/layer-table/resources_ro.json +5 -9
  307. package/dist/assets/t9n/layer-table/resources_ru.json +5 -9
  308. package/dist/assets/t9n/layer-table/resources_sk.json +5 -9
  309. package/dist/assets/t9n/layer-table/resources_sl.json +5 -9
  310. package/dist/assets/t9n/layer-table/resources_sr.json +5 -9
  311. package/dist/assets/t9n/layer-table/resources_sv.json +5 -9
  312. package/dist/assets/t9n/layer-table/resources_th.json +5 -9
  313. package/dist/assets/t9n/layer-table/resources_tr.json +5 -9
  314. package/dist/assets/t9n/layer-table/resources_uk.json +5 -9
  315. package/dist/assets/t9n/layer-table/resources_vi.json +5 -9
  316. package/dist/assets/t9n/layer-table/resources_zh-CN.json +5 -9
  317. package/dist/assets/t9n/layer-table/resources_zh-HK.json +5 -9
  318. package/dist/assets/t9n/layer-table/resources_zh-TW.json +5 -9
  319. package/dist/assets/t9n/map-tools/resources_ar.json +2 -2
  320. package/dist/assets/t9n/map-tools/resources_bg.json +2 -2
  321. package/dist/assets/t9n/map-tools/resources_bs.json +2 -2
  322. package/dist/assets/t9n/map-tools/resources_ca.json +2 -2
  323. package/dist/assets/t9n/map-tools/resources_cs.json +2 -2
  324. package/dist/assets/t9n/map-tools/resources_da.json +2 -2
  325. package/dist/assets/t9n/map-tools/resources_de.json +2 -2
  326. package/dist/assets/t9n/map-tools/resources_el.json +2 -2
  327. package/dist/assets/t9n/map-tools/resources_es.json +2 -2
  328. package/dist/assets/t9n/map-tools/resources_et.json +2 -2
  329. package/dist/assets/t9n/map-tools/resources_fi.json +2 -2
  330. package/dist/assets/t9n/map-tools/resources_fr.json +2 -2
  331. package/dist/assets/t9n/map-tools/resources_he.json +2 -2
  332. package/dist/assets/t9n/map-tools/resources_hr.json +2 -2
  333. package/dist/assets/t9n/map-tools/resources_hu.json +2 -2
  334. package/dist/assets/t9n/map-tools/resources_id.json +2 -2
  335. package/dist/assets/t9n/map-tools/resources_it.json +2 -2
  336. package/dist/assets/t9n/map-tools/resources_ja.json +2 -2
  337. package/dist/assets/t9n/map-tools/resources_ko.json +2 -2
  338. package/dist/assets/t9n/map-tools/resources_lt.json +2 -2
  339. package/dist/assets/t9n/map-tools/resources_lv.json +2 -2
  340. package/dist/assets/t9n/map-tools/resources_nb.json +2 -2
  341. package/dist/assets/t9n/map-tools/resources_nl.json +2 -2
  342. package/dist/assets/t9n/map-tools/resources_pl.json +2 -2
  343. package/dist/assets/t9n/map-tools/resources_pt-BR.json +2 -2
  344. package/dist/assets/t9n/map-tools/resources_pt-PT.json +2 -2
  345. package/dist/assets/t9n/map-tools/resources_ro.json +2 -2
  346. package/dist/assets/t9n/map-tools/resources_ru.json +2 -2
  347. package/dist/assets/t9n/map-tools/resources_sk.json +2 -2
  348. package/dist/assets/t9n/map-tools/resources_sl.json +2 -2
  349. package/dist/assets/t9n/map-tools/resources_sr.json +2 -2
  350. package/dist/assets/t9n/map-tools/resources_sv.json +2 -2
  351. package/dist/assets/t9n/map-tools/resources_th.json +2 -2
  352. package/dist/assets/t9n/map-tools/resources_tr.json +2 -2
  353. package/dist/assets/t9n/map-tools/resources_uk.json +2 -2
  354. package/dist/assets/t9n/map-tools/resources_vi.json +2 -2
  355. package/dist/assets/t9n/map-tools/resources_zh-CN.json +2 -2
  356. package/dist/assets/t9n/map-tools/resources_zh-HK.json +2 -2
  357. package/dist/assets/t9n/map-tools/resources_zh-TW.json +2 -2
  358. package/dist/assets/t9n/public-notification/resources_ar.json +2 -2
  359. package/dist/assets/t9n/public-notification/resources_bg.json +2 -2
  360. package/dist/assets/t9n/public-notification/resources_bs.json +2 -2
  361. package/dist/assets/t9n/public-notification/resources_ca.json +2 -2
  362. package/dist/assets/t9n/public-notification/resources_cs.json +2 -2
  363. package/dist/assets/t9n/public-notification/resources_da.json +2 -2
  364. package/dist/assets/t9n/public-notification/resources_de.json +2 -2
  365. package/dist/assets/t9n/public-notification/resources_el.json +2 -2
  366. package/dist/assets/t9n/public-notification/resources_es.json +2 -2
  367. package/dist/assets/t9n/public-notification/resources_et.json +2 -2
  368. package/dist/assets/t9n/public-notification/resources_fi.json +2 -2
  369. package/dist/assets/t9n/public-notification/resources_fr.json +2 -2
  370. package/dist/assets/t9n/public-notification/resources_he.json +2 -2
  371. package/dist/assets/t9n/public-notification/resources_hr.json +2 -2
  372. package/dist/assets/t9n/public-notification/resources_hu.json +2 -2
  373. package/dist/assets/t9n/public-notification/resources_id.json +2 -2
  374. package/dist/assets/t9n/public-notification/resources_it.json +2 -2
  375. package/dist/assets/t9n/public-notification/resources_ja.json +2 -2
  376. package/dist/assets/t9n/public-notification/resources_ko.json +2 -2
  377. package/dist/assets/t9n/public-notification/resources_lt.json +2 -2
  378. package/dist/assets/t9n/public-notification/resources_lv.json +2 -2
  379. package/dist/assets/t9n/public-notification/resources_nb.json +2 -2
  380. package/dist/assets/t9n/public-notification/resources_nl.json +2 -2
  381. package/dist/assets/t9n/public-notification/resources_pl.json +2 -2
  382. package/dist/assets/t9n/public-notification/resources_pt-BR.json +2 -2
  383. package/dist/assets/t9n/public-notification/resources_pt-PT.json +2 -2
  384. package/dist/assets/t9n/public-notification/resources_ro.json +2 -2
  385. package/dist/assets/t9n/public-notification/resources_ru.json +2 -2
  386. package/dist/assets/t9n/public-notification/resources_sk.json +2 -2
  387. package/dist/assets/t9n/public-notification/resources_sl.json +2 -2
  388. package/dist/assets/t9n/public-notification/resources_sr.json +2 -2
  389. package/dist/assets/t9n/public-notification/resources_sv.json +2 -2
  390. package/dist/assets/t9n/public-notification/resources_th.json +2 -2
  391. package/dist/assets/t9n/public-notification/resources_tr.json +2 -2
  392. package/dist/assets/t9n/public-notification/resources_uk.json +2 -2
  393. package/dist/assets/t9n/public-notification/resources_vi.json +2 -2
  394. package/dist/assets/t9n/public-notification/resources_zh-CN.json +2 -2
  395. package/dist/assets/t9n/public-notification/resources_zh-HK.json +2 -2
  396. package/dist/assets/t9n/public-notification/resources_zh-TW.json +2 -2
  397. package/dist/cjs/{calcite-flow_4.cjs.entry.js → calcite-flow_5.cjs.entry.js} +241 -22
  398. package/dist/cjs/card-manager_3.cjs.entry.js +1 -1
  399. package/dist/cjs/crowdsource-reporter.cjs.entry.js +285 -12
  400. package/dist/cjs/{downloadUtils-83c6d3c3.js → downloadUtils-10e0de31.js} +2 -2
  401. package/dist/cjs/{index.es-bd1a93b2.js → index.es-72dc7ab9.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/collection-manifest.json +1 -0
  407. package/dist/collection/components/create-feature/create-feature.css +23 -0
  408. package/dist/collection/components/create-feature/create-feature.js +361 -0
  409. package/dist/collection/components/crowdsource-reporter/crowdsource-reporter.css +10 -1
  410. package/dist/collection/components/crowdsource-reporter/crowdsource-reporter.js +324 -12
  411. package/dist/collection/components/feature-list/feature-list.js +2 -0
  412. package/dist/collection/components/layer-list/layer-list.css +4 -0
  413. package/dist/collection/components/layer-list/layer-list.js +100 -18
  414. package/dist/collection/demos/crowdsource-reporter.html +30 -15
  415. package/dist/collection/demos/feature-list.html +1 -1
  416. package/dist/collection/utils/downloadUtils.js +1 -1
  417. package/dist/collection/utils/downloadUtils.ts +1 -1
  418. package/dist/components/create-feature.d.ts +11 -0
  419. package/dist/components/create-feature.js +11 -0
  420. package/dist/components/create-feature2.js +226 -0
  421. package/dist/components/crowdsource-reporter.js +361 -69
  422. package/dist/components/downloadUtils.js +1 -1
  423. package/dist/components/feature-list2.js +2 -0
  424. package/dist/components/layer-list2.js +45 -20
  425. package/dist/esm/calcite-alert_4.entry.js +1 -1
  426. package/dist/esm/calcite-combobox_6.entry.js +1 -1
  427. package/dist/esm/{calcite-flow_4.entry.js → calcite-flow_5.entry.js} +241 -23
  428. package/dist/esm/card-manager_3.entry.js +2 -2
  429. package/dist/esm/crowdsource-manager.entry.js +1 -1
  430. package/dist/esm/crowdsource-reporter.entry.js +286 -13
  431. package/dist/esm/{downloadUtils-a301c193.js → downloadUtils-d297078f.js} +3 -3
  432. package/dist/esm/{index.es-37a9907e.js → index.es-3b4fa9d0.js} +2 -2
  433. package/dist/esm/loader.js +1 -1
  434. package/dist/esm/map-select-tools_3.entry.js +2 -2
  435. package/dist/esm/{mapViewUtils-6daedef8.js → mapViewUtils-cf05e880.js} +1 -1
  436. package/dist/esm/public-notification.entry.js +2 -2
  437. package/dist/esm/solutions-components.js +1 -1
  438. package/dist/solutions-components/demos/crowdsource-reporter.html +30 -15
  439. package/dist/solutions-components/demos/feature-list.html +1 -1
  440. package/dist/solutions-components/{p-78e720cc.entry.js → p-09ec8c8f.entry.js} +1 -1
  441. package/dist/solutions-components/{p-a603e673.js → p-103c5318.js} +3 -3
  442. package/dist/solutions-components/{p-4566438a.js → p-2c382841.js} +1 -1
  443. package/dist/solutions-components/{p-fe295e9d.entry.js → p-57d49d15.entry.js} +1 -1
  444. package/dist/solutions-components/{p-12de822a.entry.js → p-6b2b8b41.entry.js} +1 -1
  445. package/dist/solutions-components/{p-dbe62aaf.entry.js → p-802acc51.entry.js} +1 -1
  446. package/dist/solutions-components/{p-0587972d.js → p-8ec25bf4.js} +1 -1
  447. package/dist/solutions-components/{p-b37ec1f3.entry.js → p-921f21d5.entry.js} +1 -1
  448. package/dist/solutions-components/p-b4e2cac4.entry.js +17 -0
  449. package/dist/solutions-components/{p-643e7ee1.entry.js → p-b699637f.entry.js} +1 -1
  450. package/dist/solutions-components/p-bb6562ab.entry.js +6 -0
  451. package/dist/solutions-components/solutions-components.esm.js +1 -1
  452. package/dist/solutions-components/utils/downloadUtils.ts +1 -1
  453. package/dist/types/components/create-feature/create-feature.d.ts +107 -0
  454. package/dist/types/components/crowdsource-reporter/crowdsource-reporter.d.ts +165 -8
  455. package/dist/types/components/feature-list/feature-list.d.ts +2 -0
  456. package/dist/types/components/layer-list/layer-list.d.ts +16 -2
  457. package/dist/types/components.d.ts +105 -0
  458. package/dist/types/preact.d.ts +6 -0
  459. package/package.json +1 -1
  460. package/dist/solutions-components/p-6a452a84.entry.js +0 -17
  461. package/dist/solutions-components/p-8756eebb.entry.js +0 -6
@@ -9,10 +9,12 @@ Object.defineProperty(exports, '__esModule', { value: true });
9
9
 
10
10
  const index = require('./index-b8a649fc.js');
11
11
  const locale = require('./locale-a476e15d.js');
12
+ const mapViewUtils = require('./mapViewUtils-8aa325de.js');
12
13
  require('./esri-loader-a91c0ec1.js');
13
14
  require('./_commonjsHelpers-384729db.js');
15
+ require('./interfaces-7cd0a48a.js');
14
16
 
15
- const crowdsourceReporterCss = ":host{display:block;--calcite-label-margin-bottom:0px;--solutions-theme-foreground-color:var(--calcite-color-foreground-1)}.width-full{width:100% !important}.width-0{width:0}.height-full{height:100% !important}.height-0{height:0}.overflow-hidden{overflow:hidden}.border{border:1px solid var(--calcite-color-border-3)}.error-msg{padding:10px}";
17
+ const crowdsourceReporterCss = ":host{display:block;--calcite-label-margin-bottom:0px;--solutions-theme-foreground-color:var(--calcite-color-foreground-1)}.width-full{width:100% !important}.width-0{width:0}.height-full{height:100% !important}.height-0{height:0}.overflow-hidden{overflow:hidden}.border{border:1px solid var(--calcite-color-border-3)}.notice-msg{padding:10px;width:calc(100% - 20px)}.footer-top-button{padding-bottom:7px}.footer-button{height:35px}";
16
18
 
17
19
  const CrowdsourceReporter = class {
18
20
  constructor(hostRef) {
@@ -28,6 +30,8 @@ const CrowdsourceReporter = class {
28
30
  this.layers = undefined;
29
31
  this.loginTitle = undefined;
30
32
  this.mapView = undefined;
33
+ this.layerId = undefined;
34
+ this.objectId = undefined;
31
35
  this.reportButtonText = undefined;
32
36
  this.reportsHeader = undefined;
33
37
  this.reportSubmittedMessage = undefined;
@@ -44,6 +48,10 @@ const CrowdsourceReporter = class {
44
48
  this._sidePanelCollapsed = false;
45
49
  this._translations = undefined;
46
50
  this._hasValidLayers = false;
51
+ this._selectedLayerName = undefined;
52
+ this._reportSubmitted = false;
53
+ this._showSubmitCancelButton = false;
54
+ this._featureCreationFailedErrorMsg = undefined;
47
55
  }
48
56
  //--------------------------------------------------------------------------
49
57
  //
@@ -75,19 +83,43 @@ const CrowdsourceReporter = class {
75
83
  * @returns Promise when complete
76
84
  */
77
85
  async componentWillLoad() {
86
+ await this._initModules();
78
87
  await this._getTranslations();
79
88
  }
80
89
  /**
81
90
  * Renders the component.
82
91
  */
83
92
  render() {
84
- return (index.h(index.Host, null, index.h("div", null, index.h("calcite-shell", { "content-behind": true }, this._getReporter()))));
93
+ const themeClass = this.theme === "dark" ? "calcite-mode-dark" : "calcite-mode-light";
94
+ return (index.h(index.Host, null, this._reportSubmitted && index.h("calcite-alert", { "auto-close": true, class: themeClass, closable: true, icon: "check-circle", kind: "success", onCalciteAlertClose: () => { this._reportSubmitted = false; }, open: true, placement: "top" }, index.h("div", { slot: "title" }, this._translations.reportSubmit), index.h("div", { slot: "message" }, this._translations.submitMsg)), this._featureCreationFailedErrorMsg && index.h("calcite-alert", { "auto-close": true, class: themeClass, closable: true, icon: "x-octagon", kind: "danger", onCalciteAlertClose: () => { this._featureCreationFailedErrorMsg = ""; }, open: true, placement: "top" }, index.h("div", { slot: "title" }, this._translations.error), index.h("div", { slot: "message" }, this._featureCreationFailedErrorMsg)), index.h("div", null, index.h("calcite-shell", { "content-behind": true }, this._getReporter()))));
85
95
  }
86
96
  //--------------------------------------------------------------------------
87
97
  //
88
98
  // Functions (protected)
89
99
  //
90
100
  //--------------------------------------------------------------------------
101
+ /**
102
+ * Load esri javascript api modules
103
+ *
104
+ * @returns Promise resolving when function is done
105
+ *
106
+ * @protected
107
+ */
108
+ async _initModules() {
109
+ const [reactiveUtils] = await locale.loadModules([
110
+ "esri/core/reactiveUtils"
111
+ ]);
112
+ this.reactiveUtils = reactiveUtils;
113
+ }
114
+ /**
115
+ * Set the selected layer id and layer name
116
+ * @param layerId string layerId of the selected layer
117
+ * @param layerName string layerName of the selected layer
118
+ */
119
+ setSelectedLayer(layerId, layerName) {
120
+ this._selectedLayerId = layerId;
121
+ this._selectedLayerName = layerName;
122
+ }
91
123
  /**
92
124
  * Get the reporter app functionality
93
125
  * @protected
@@ -105,6 +137,12 @@ const CrowdsourceReporter = class {
105
137
  case "feature-details":
106
138
  renderLists.push(this.getFeatureDetailsFlowItem());
107
139
  break;
140
+ case "reporting-layer-list":
141
+ renderLists.push(this.getChooseCategoryFlowItem());
142
+ break;
143
+ case "feature-create":
144
+ renderLists.push(this.getFeatureCreateFlowItem());
145
+ break;
108
146
  }
109
147
  });
110
148
  const themeClass = this.theme === "dark" ? "calcite-mode-dark" : "calcite-mode-light";
@@ -121,33 +159,135 @@ const CrowdsourceReporter = class {
121
159
  return (index.h("calcite-flow-item", { collapsed: this.isMobile && this._sidePanelCollapsed, heading: this.reportsHeader }, this._hasValidLayers &&
122
160
  index.h("calcite-action", { icon: "sort-ascending-arrow", slot: this.isMobile ? "header-menu-actions" : "header-actions-end", text: this._translations.sort, "text-enabled": this.isMobile }), this._hasValidLayers &&
123
161
  index.h("calcite-action", { icon: "filter", slot: this.isMobile ? "header-menu-actions" : "header-actions-end", text: this._translations.filter, "text-enabled": this.isMobile }), this.isMobile && this.getActionToExpandCollapsePanel(), this._hasValidLayers && this.enableNewReports &&
124
- index.h("calcite-button", { appearance: "secondary", slot: "footer", width: "full" }, this.reportButtonText), index.h("calcite-panel", { "full-height": true, "full-width": true }, index.h("layer-list", { class: "height-full", layers: this.layers, mapView: this.mapView, noLayerErrorMsg: this._translations.noLayerToDisplayErrorMsg, onLayerSelect: this.displayFeaturesList.bind(this), onLayersListLoaded: this.layerListLoaded.bind(this) }))));
162
+ index.h("calcite-button", { appearance: "secondary", onClick: this.navigateToChooseCategory.bind(this), slot: "footer", width: "full" }, this.reportButtonText), index.h("calcite-panel", { "full-height": true, "full-width": true }, index.h("layer-list", { class: "height-full", layers: this.layers, mapView: this.mapView, noLayerErrorMsg: this._translations.noLayerToDisplayErrorMsg, onLayerSelect: this.displayFeaturesList.bind(this), onLayersListLoaded: this.layerListLoaded.bind(this), ref: el => this._layerList = el, showFeatureCount: true, showNextIcon: true }))));
163
+ }
164
+ /**
165
+ * Get the layer list for creating a report
166
+ * @returns Choose category flow item
167
+ * @protected
168
+ */
169
+ getChooseCategoryFlowItem() {
170
+ return (index.h("calcite-flow-item", { collapsed: this.isMobile && this._sidePanelCollapsed, heading: this._translations.createReportHeader, onCalciteFlowItemBack: this.backFromSelectedPanel.bind(this) }, this.isMobile && this.getActionToExpandCollapsePanel(), index.h("div", { class: "width-full", slot: "footer" }, index.h("calcite-button", { appearance: "secondary", class: "footer-top-button footer-button", disabled: !this._selectedLayerId, onClick: this.navigateToCreateFeature.bind(this), width: "full" }, this._translations.next), index.h("calcite-button", { appearance: "outline", class: "footer-button", onClick: this.backFromSelectedPanel.bind(this), width: "full" }, this._translations.cancel)), index.h("calcite-panel", { "full-height": true, "full-width": true }, index.h("calcite-notice", { class: "notice-msg", icon: "lightbulb", kind: "success", open: true }, index.h("div", { slot: "message" }, this._translations.chooseCategoryMsg)), index.h("layer-list", { class: "height-full", layers: this.layers, mapView: this.mapView, noLayerErrorMsg: this._translations.noLayerToDisplayErrorMsg, onLayerSelect: this.highlightSelectedLayer.bind(this), showFeatureCount: false, showNextIcon: false }))));
171
+ }
172
+ /**
173
+ * Get Feature create form of the selected feature layer
174
+ * @returns feature create form
175
+ * @protected
176
+ */
177
+ getFeatureCreateFlowItem() {
178
+ return (index.h("calcite-flow-item", { collapsed: this.isMobile && this._sidePanelCollapsed, heading: this._selectedLayerName, onCalciteFlowItemBack: this.backFromCreateFeaturePanel.bind(this) }, this.isMobile && this.getActionToExpandCollapsePanel(), this._showSubmitCancelButton && index.h("div", { class: "width-full", slot: "footer" }, index.h("calcite-button", { appearance: "secondary", class: "footer-top-button footer-button", onClick: this.onSubmitButtonClick.bind(this), width: "full" }, this._translations.submit), index.h("calcite-button", { appearance: "outline", class: "footer-button", onClick: this.backFromCreateFeaturePanel.bind(this), width: "full" }, this._translations.cancel)), index.h("calcite-panel", { "full-height": true, "full-width": true }, index.h("calcite-notice", { class: "notice-msg", icon: "lightbulb", kind: "success", open: true }, index.h("div", { slot: "message" }, this._translations.featureEditFormInfoMsg)), index.h("create-feature", { mapView: this.mapView, onDrawComplete: this.showSubmitCancelButton.bind(this), onFail: this.createFeatureFailed.bind(this), onSuccess: this.navigateHomePage.bind(this), ref: el => this._createFeature = el, selectedLayerId: this._selectedLayerId }))));
179
+ }
180
+ /**
181
+ * When drawing of incident location completed on map show the submit and cancel button
182
+ * @protected
183
+ */
184
+ showSubmitCancelButton() {
185
+ this._showSubmitCancelButton = true;
186
+ }
187
+ /**
188
+ * On back from create feature, call submit editor to destroy the Editor widget instance
189
+ * @protected
190
+ */
191
+ onSubmitButtonClick() {
192
+ if (this._createFeature) {
193
+ this._createFeature.submit();
194
+ }
195
+ }
196
+ /**
197
+ * On back from create feature, call close editor to destroy the Editor widget instance
198
+ * @protected
199
+ */
200
+ backFromCreateFeaturePanel() {
201
+ if (this._createFeature) {
202
+ this._createFeature.close();
203
+ }
204
+ this.backFromSelectedPanel();
205
+ }
206
+ /**
207
+ * On creating the feature is failed, show the error message
208
+ * @param evt Event which has feature failed message
209
+ * @protected
210
+ */
211
+ createFeatureFailed(evt) {
212
+ console.error(evt.detail);
213
+ this._featureCreationFailedErrorMsg = evt.detail.message;
214
+ }
215
+ /**
216
+ * On submit report navigate to the layer list home page and refresh the layer list
217
+ * @protected
218
+ */
219
+ navigateHomePage() {
220
+ this._reportSubmitted = true;
221
+ if (this._layerList) {
222
+ this._layerList.refresh();
223
+ }
224
+ this._flowItems = ["layer-list"];
225
+ }
226
+ /**
227
+ * Update the selected layer id and name
228
+ * @param evt Event which has details of selected layerId and layerName
229
+ * @protected
230
+ */
231
+ highlightSelectedLayer(evt) {
232
+ this.setSelectedLayer(evt.detail.layerId, evt.detail.layerName);
233
+ }
234
+ /**
235
+ * On next button click open the feature create flow item
236
+ * @protected
237
+ */
238
+ async navigateToCreateFeature() {
239
+ this._showSubmitCancelButton = false;
240
+ this._flowItems = [...this._flowItems, "feature-create"];
241
+ }
242
+ /**
243
+ * On report an incident button click open the create a report panel with the layer list
244
+ * @protected
245
+ */
246
+ navigateToChooseCategory() {
247
+ this._flowItems = [...this._flowItems, "reporting-layer-list"];
125
248
  }
126
249
  /**
127
250
  * When layer list is loaded, we will receive the list of layers, if its means we don't have any valid layer to be listed
128
251
  * @param evt Event which has list of layers
129
252
  * @protected
130
253
  */
131
- layerListLoaded(evt) {
254
+ async layerListLoaded(evt) {
132
255
  const layersListed = evt.detail;
256
+ //consider only the layers listed in the layer-list component
257
+ const allMapLayers = await mapViewUtils.getAllLayers(this.mapView);
258
+ this._validLayers = [];
259
+ allMapLayers.forEach((eachLayer) => {
260
+ if (layersListed.includes(eachLayer.id)) {
261
+ this._validLayers.push(eachLayer);
262
+ }
263
+ });
264
+ //handleMap click on layer list loaded
265
+ this.handleMapClick();
266
+ //update the has valid layer state
133
267
  this._hasValidLayers = layersListed.length > 0;
268
+ //navigate to the feature details if URL params found
269
+ await this.loadFeatureFromURLParams();
134
270
  }
135
271
  /**On click of layer list item show feature list
136
272
  * @param evt Event which has details of selected layerId and layerName
137
273
  * @protected
138
274
  */
139
275
  displayFeaturesList(evt) {
140
- this._selectedLayerId = evt.detail.layerId;
141
- this._selectedLayerName = evt.detail.layerName;
276
+ this.setSelectedLayer(evt.detail.layerId, evt.detail.layerName);
142
277
  this._flowItems = [...this._flowItems, "feature-list"];
143
278
  }
144
279
  /**
145
- * On back from feature list navigate to the Layer list panel
280
+ * On back from selected panel navigate to the previous panel
146
281
  * @protected
147
282
  */
148
- backFromFeatureList() {
283
+ backFromSelectedPanel() {
149
284
  const updatedFlowItems = [...this._flowItems];
150
285
  updatedFlowItems.pop();
286
+ //clear the selected layer and feature when back to layer list
287
+ if (updatedFlowItems.length === 1) {
288
+ this.setSelectedLayer('', '');
289
+ this.setSelectedFeatures([]);
290
+ }
151
291
  this._flowItems = [...updatedFlowItems];
152
292
  }
153
293
  /**
@@ -163,28 +303,61 @@ const CrowdsourceReporter = class {
163
303
  * @param evt Event which has details of selected feature
164
304
  */
165
305
  async onFeatureSelectFromList(evt) {
166
- this._selectedFeature = [evt.detail];
306
+ this.setSelectedFeatures([evt.detail]);
167
307
  this._flowItems = [...this._flowItems, "feature-details"];
168
308
  }
169
309
  /**
170
310
  * Get feature list of the selected feature layer
171
311
  * @param layerId Layer id
312
+ * @param layerName Layer name
172
313
  * @returns feature list node
173
314
  * @protected
174
315
  */
175
316
  getFeatureListFlowItem(layerId, layerName) {
176
- return (index.h("calcite-flow-item", { collapsed: this.isMobile && this._sidePanelCollapsed, heading: layerName, onCalciteFlowItemBack: this.backFromFeatureList.bind(this) }, index.h("calcite-action", { icon: "sort-ascending-arrow", slot: this.isMobile ? "header-menu-actions" : "header-actions-end", text: this._translations.sort, "text-enabled": this.isMobile }), index.h("calcite-action", { icon: "filter", slot: this.isMobile ? "header-menu-actions" : "header-actions-end", text: this._translations.filter, "text-enabled": this.isMobile }), this.isMobile && this.getActionToExpandCollapsePanel(), this.enableNewReports &&
177
- index.h("calcite-button", { appearance: "secondary", slot: "footer", width: "full" }, this.reportButtonText), index.h("calcite-panel", { "full-height": true }, index.h("feature-list", { class: "height-full", highlightOnMap: true, mapView: this.mapView, noFeaturesFoundMsg: this._translations.featureErrorMsg, onFeatureSelect: this.onFeatureSelectFromList.bind(this), pageSize: 30, selectedLayerId: layerId }))));
317
+ return (index.h("calcite-flow-item", { collapsed: this.isMobile && this._sidePanelCollapsed, heading: layerName, onCalciteFlowItemBack: this.backFromSelectedPanel.bind(this) }, index.h("calcite-action", { icon: "sort-ascending-arrow", slot: this.isMobile ? "header-menu-actions" : "header-actions-end", text: this._translations.sort, "text-enabled": this.isMobile }), index.h("calcite-action", { icon: "filter", slot: this.isMobile ? "header-menu-actions" : "header-actions-end", text: this._translations.filter, "text-enabled": this.isMobile }), this.isMobile && this.getActionToExpandCollapsePanel(), this.enableNewReports &&
318
+ index.h("calcite-button", { appearance: "secondary", onClick: this.navigateToCreateFeature.bind(this), slot: "footer", width: "full" }, this.reportButtonText), index.h("calcite-panel", { "full-height": true }, index.h("feature-list", { class: "height-full", highlightOnMap: true, mapView: this.mapView, noFeaturesFoundMsg: this._translations.featureErrorMsg, onFeatureSelect: this.onFeatureSelectFromList.bind(this), pageSize: 30, selectedLayerId: layerId }))));
178
319
  }
179
320
  /**
180
321
  * Returns the calcite-flow item for feature details
181
322
  * @returns Node
182
323
  */
183
324
  getFeatureDetailsFlowItem() {
184
- return (index.h("calcite-flow-item", { collapsed: this.isMobile && this._sidePanelCollapsed, heading: this._selectedLayerName, onCalciteFlowItemBack: this.backFromFeatureList.bind(this) }, this.isMobile && this.getActionToExpandCollapsePanel(), index.h("calcite-action", { icon: "share", slot: "header-actions-end", text: this._translations.share }), index.h("calcite-panel", { "full-height": true }, index.h("info-card", { allowEditing: false, graphics: this._selectedFeature, isLoading: false, isMobile: false, mapView: this.mapView, zoomAndScrollToSelected: true }))));
325
+ return (index.h("calcite-flow-item", { collapsed: this.isMobile && this._sidePanelCollapsed, heading: this._selectedLayerName, onCalciteFlowItemBack: this.backFromSelectedPanel.bind(this) }, this.isMobile && this.getActionToExpandCollapsePanel(), index.h("instant-apps-social-share", { autoUpdateShareUrl: false, embed: false, popoverButtonIconScale: "s", ref: el => this._shareNode = el, scale: "m", shareButtonColor: "neutral", shareButtonType: "action", slot: "header-actions-end", socialMedia: true, view: this.mapView }), index.h("calcite-panel", { "full-height": true }, index.h("info-card", { allowEditing: false, graphics: this._selectedFeature, isLoading: false, isMobile: false, mapView: this.mapView, onSelectionChanged: this.featureDetailsChanged.bind(this), zoomAndScrollToSelected: true }))));
326
+ }
327
+ /**
328
+ * Sets the selected features and updates the first feature as the current selected feature
329
+ * @param features Graphics array of the features selected
330
+ */
331
+ setSelectedFeatures(features) {
332
+ this._selectedFeature = features;
333
+ this.setCurrentFeature(this._selectedFeature.length ? this._selectedFeature[0] : null);
334
+ }
335
+ /**
336
+ * Set the object id of the current selected feature, and also updates the current selected layer details
337
+ * @param selectedFeature Graphic currently shown in feature details
338
+ */
339
+ setCurrentFeature(selectedFeature) {
340
+ if (selectedFeature && selectedFeature.layer) {
341
+ const layer = selectedFeature.layer;
342
+ this.setSelectedLayer(layer.id, layer.title);
343
+ this._currentFeatureId = selectedFeature.attributes[layer.objectIdField];
344
+ }
345
+ else {
346
+ this.setSelectedLayer('', '');
347
+ this._currentFeatureId = '';
348
+ }
349
+ this._updateShareURL();
350
+ }
351
+ /**
352
+ * On Feature details change update the Layer title and the current selected layer id
353
+ * @param evt Event hold the details of current feature graphic in the info-card
354
+ */
355
+ featureDetailsChanged(evt) {
356
+ this.setCurrentFeature(evt.detail[0]);
185
357
  }
186
358
  /**
187
359
  * Returns the action button to Expand/Collapse side panel in mobile mode
360
+ * @protected
188
361
  */
189
362
  getActionToExpandCollapsePanel() {
190
363
  return (index.h("calcite-action", { icon: this._sidePanelCollapsed ? "chevrons-up" : "chevrons-down", onClick: this.toggleSidePanel.bind(this), slot: "header-actions-end", text: this._sidePanelCollapsed ? this._translations.expand : this._translations.collapse }));
@@ -204,6 +377,53 @@ const CrowdsourceReporter = class {
204
377
  this._defaultLevel = undefined;
205
378
  }
206
379
  }
380
+ /**
381
+ * Handle map click event
382
+ * @param layers Array of layerIds
383
+ *
384
+ * @protected
385
+ */
386
+ handleMapClick() {
387
+ if (this._mapClickHandle) {
388
+ this._mapClickHandle.remove();
389
+ }
390
+ this._mapClickHandle = this.reactiveUtils.on(() => this.mapView, "click", this.onMapClick.bind(this));
391
+ }
392
+ /**
393
+ * On map click do hitTest and get the clicked graphics of valid layers and show feature details
394
+ * @param event IMapClick map click event details
395
+ *
396
+ * @protected
397
+ */
398
+ async onMapClick(event) {
399
+ //disable map popup
400
+ this.mapView.popupEnabled = false;
401
+ // only include graphics from valid layers listed in the layer list widget
402
+ const opts = {
403
+ include: this._validLayers
404
+ };
405
+ // Perform a hitTest on the View
406
+ const hitTest = await this.mapView.hitTest(event, opts);
407
+ if (hitTest.results.length > 0) {
408
+ const clickedGraphics = [];
409
+ hitTest.results.forEach(function (result) {
410
+ // check if the result type is graphic
411
+ if (result.type === 'graphic') {
412
+ clickedGraphics.push(result.graphic);
413
+ }
414
+ });
415
+ //update the selectedFeature
416
+ this.setSelectedFeatures(clickedGraphics);
417
+ //if featureDetails not open then add it to the list else just reInit flowItems which will update details with newly selected features
418
+ // eslint-disable-next-line unicorn/prefer-ternary
419
+ if (this._flowItems.length && this._flowItems[this._flowItems.length - 1] !== "feature-details") {
420
+ this._flowItems = [...this._flowItems, "feature-details"];
421
+ }
422
+ else {
423
+ this._flowItems = [...this._flowItems];
424
+ }
425
+ }
426
+ }
207
427
  /**
208
428
  * Fetches the component's translations
209
429
  * @returns Promise when complete
@@ -213,6 +433,59 @@ const CrowdsourceReporter = class {
213
433
  const messages = await locale.getLocaleComponentStrings(this.el);
214
434
  this._translations = messages[0];
215
435
  }
436
+ /**
437
+ * Updates the share url for current selected feature
438
+ * @returns
439
+ * @protected
440
+ */
441
+ _updateShareURL() {
442
+ var _a, _b;
443
+ const url = (_a = this._shareNode) === null || _a === void 0 ? void 0 : _a.shareUrl;
444
+ if (!url) {
445
+ return;
446
+ }
447
+ const urlObj = new URL(url);
448
+ //set the selected layers id
449
+ if (this._selectedLayerId) {
450
+ urlObj.searchParams.set("layerid", this._selectedLayerId);
451
+ }
452
+ else {
453
+ urlObj.searchParams.delete("layerid");
454
+ }
455
+ //Set the selected features objectid
456
+ if ((_b = this._selectedFeature) === null || _b === void 0 ? void 0 : _b.length) {
457
+ urlObj.searchParams.set("oid", this._currentFeatureId);
458
+ }
459
+ else {
460
+ urlObj.searchParams.delete("oid");
461
+ }
462
+ //update the url in share component
463
+ this._shareNode.shareUrl = urlObj.href;
464
+ }
465
+ /**
466
+ * Navigates to selected features detail based on the URL params
467
+ */
468
+ async loadFeatureFromURLParams() {
469
+ if (this.layerId && this.objectId) {
470
+ const layer = await mapViewUtils.getLayerOrTable(this.mapView, this.layerId);
471
+ if (layer) {
472
+ // only query if we have some ids...query with no ids will result in all features being returned
473
+ const featureSet = await mapViewUtils.queryFeaturesByID([Number(this.objectId)], layer, [], false, this.mapView.spatialReference);
474
+ if (featureSet.length) {
475
+ //update the selectedFeature
476
+ this._selectedFeature = featureSet;
477
+ //if featureDetails not open then add it to the list else just reInit flowItems which will update details with newly selected features
478
+ // eslint-disable-next-line unicorn/prefer-ternary
479
+ if (this._flowItems.length && this._flowItems[this._flowItems.length - 1] !== "feature-details") {
480
+ this._flowItems = [...this._flowItems, "feature-details"];
481
+ }
482
+ else {
483
+ this._flowItems = [...this._flowItems];
484
+ }
485
+ }
486
+ }
487
+ }
488
+ }
216
489
  get el() { return index.getElement(this); }
217
490
  static get watchers() { return {
218
491
  "isMobile": ["isMobileWatchHandler"],
@@ -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-bd1a93b2.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-72dc7ab9.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
@@ -2861,7 +2861,7 @@ function _prepareAttributeValue(attributeValue, attributeType, attributeDomain,
2861
2861
  if (attributeDomain && attributeDomain.type === "coded-value") {
2862
2862
  // "coded-value" domain field
2863
2863
  const value = attributeDomain.getName(attributeValue);
2864
- return value.toString();
2864
+ return value === null || value === void 0 ? void 0 : value.toString();
2865
2865
  }
2866
2866
  else {
2867
2867
  // Non-domain field or unsupported domain type
@@ -6,7 +6,7 @@
6
6
  'use strict';
7
7
 
8
8
  const _commonjsHelpers = require('./_commonjsHelpers-384729db.js');
9
- const downloadUtils = require('./downloadUtils-83c6d3c3.js');
9
+ const downloadUtils = require('./downloadUtils-10e0de31.js');
10
10
  require('./index-b8a649fc.js');
11
11
  require('./locale-a476e15d.js');
12
12
  require('./esri-loader-a91c0ec1.js');