@esri/solutions-components 0.5.7 → 0.5.9

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 (231) hide show
  1. package/dist/assets/t9n/buffer-tools/resources_ar.json +4 -4
  2. package/dist/assets/t9n/buffer-tools/resources_bg.json +4 -4
  3. package/dist/assets/t9n/buffer-tools/resources_bs.json +4 -4
  4. package/dist/assets/t9n/buffer-tools/resources_ca.json +4 -4
  5. package/dist/assets/t9n/buffer-tools/resources_cs.json +4 -4
  6. package/dist/assets/t9n/buffer-tools/resources_da.json +4 -4
  7. package/dist/assets/t9n/buffer-tools/resources_de.json +4 -4
  8. package/dist/assets/t9n/buffer-tools/resources_el.json +4 -4
  9. package/dist/assets/t9n/buffer-tools/resources_es.json +4 -4
  10. package/dist/assets/t9n/buffer-tools/resources_et.json +4 -4
  11. package/dist/assets/t9n/buffer-tools/resources_fi.json +4 -4
  12. package/dist/assets/t9n/buffer-tools/resources_fr.json +4 -4
  13. package/dist/assets/t9n/buffer-tools/resources_he.json +4 -4
  14. package/dist/assets/t9n/buffer-tools/resources_hr.json +4 -4
  15. package/dist/assets/t9n/buffer-tools/resources_hu.json +4 -4
  16. package/dist/assets/t9n/buffer-tools/resources_id.json +4 -4
  17. package/dist/assets/t9n/buffer-tools/resources_it.json +4 -4
  18. package/dist/assets/t9n/buffer-tools/resources_ja.json +4 -4
  19. package/dist/assets/t9n/buffer-tools/resources_ko.json +4 -4
  20. package/dist/assets/t9n/buffer-tools/resources_lt.json +4 -4
  21. package/dist/assets/t9n/buffer-tools/resources_lv.json +4 -4
  22. package/dist/assets/t9n/buffer-tools/resources_nb.json +4 -4
  23. package/dist/assets/t9n/buffer-tools/resources_nl.json +4 -4
  24. package/dist/assets/t9n/buffer-tools/resources_pl.json +4 -4
  25. package/dist/assets/t9n/buffer-tools/resources_pt-BR.json +4 -4
  26. package/dist/assets/t9n/buffer-tools/resources_pt-PT.json +4 -4
  27. package/dist/assets/t9n/buffer-tools/resources_ro.json +4 -4
  28. package/dist/assets/t9n/buffer-tools/resources_ru.json +4 -4
  29. package/dist/assets/t9n/buffer-tools/resources_sk.json +4 -4
  30. package/dist/assets/t9n/buffer-tools/resources_sl.json +4 -4
  31. package/dist/assets/t9n/buffer-tools/resources_sr.json +4 -4
  32. package/dist/assets/t9n/buffer-tools/resources_sv.json +4 -4
  33. package/dist/assets/t9n/buffer-tools/resources_th.json +4 -4
  34. package/dist/assets/t9n/buffer-tools/resources_tr.json +4 -4
  35. package/dist/assets/t9n/buffer-tools/resources_uk.json +4 -4
  36. package/dist/assets/t9n/buffer-tools/resources_vi.json +4 -4
  37. package/dist/assets/t9n/buffer-tools/resources_zh-CN.json +4 -4
  38. package/dist/assets/t9n/buffer-tools/resources_zh-HK.json +4 -4
  39. package/dist/assets/t9n/buffer-tools/resources_zh-TW.json +4 -4
  40. package/dist/assets/t9n/map-draw-tools/resources_ar.json +3 -3
  41. package/dist/assets/t9n/map-draw-tools/resources_bg.json +3 -3
  42. package/dist/assets/t9n/map-draw-tools/resources_bs.json +3 -3
  43. package/dist/assets/t9n/map-draw-tools/resources_ca.json +3 -3
  44. package/dist/assets/t9n/map-draw-tools/resources_cs.json +3 -3
  45. package/dist/assets/t9n/map-draw-tools/resources_da.json +3 -3
  46. package/dist/assets/t9n/map-draw-tools/resources_de.json +3 -3
  47. package/dist/assets/t9n/map-draw-tools/resources_el.json +3 -3
  48. package/dist/assets/t9n/map-draw-tools/resources_es.json +3 -3
  49. package/dist/assets/t9n/map-draw-tools/resources_et.json +3 -3
  50. package/dist/assets/t9n/map-draw-tools/resources_fi.json +3 -3
  51. package/dist/assets/t9n/map-draw-tools/resources_fr.json +3 -3
  52. package/dist/assets/t9n/map-draw-tools/resources_he.json +3 -3
  53. package/dist/assets/t9n/map-draw-tools/resources_hr.json +3 -3
  54. package/dist/assets/t9n/map-draw-tools/resources_hu.json +3 -3
  55. package/dist/assets/t9n/map-draw-tools/resources_id.json +3 -3
  56. package/dist/assets/t9n/map-draw-tools/resources_it.json +3 -3
  57. package/dist/assets/t9n/map-draw-tools/resources_ja.json +3 -3
  58. package/dist/assets/t9n/map-draw-tools/resources_ko.json +3 -3
  59. package/dist/assets/t9n/map-draw-tools/resources_lt.json +3 -3
  60. package/dist/assets/t9n/map-draw-tools/resources_lv.json +3 -3
  61. package/dist/assets/t9n/map-draw-tools/resources_nb.json +3 -3
  62. package/dist/assets/t9n/map-draw-tools/resources_nl.json +3 -3
  63. package/dist/assets/t9n/map-draw-tools/resources_pl.json +3 -3
  64. package/dist/assets/t9n/map-draw-tools/resources_pt-BR.json +3 -3
  65. package/dist/assets/t9n/map-draw-tools/resources_pt-PT.json +3 -3
  66. package/dist/assets/t9n/map-draw-tools/resources_ro.json +3 -3
  67. package/dist/assets/t9n/map-draw-tools/resources_ru.json +3 -3
  68. package/dist/assets/t9n/map-draw-tools/resources_sk.json +3 -3
  69. package/dist/assets/t9n/map-draw-tools/resources_sl.json +3 -3
  70. package/dist/assets/t9n/map-draw-tools/resources_sr.json +3 -3
  71. package/dist/assets/t9n/map-draw-tools/resources_sv.json +3 -3
  72. package/dist/assets/t9n/map-draw-tools/resources_th.json +3 -3
  73. package/dist/assets/t9n/map-draw-tools/resources_tr.json +3 -3
  74. package/dist/assets/t9n/map-draw-tools/resources_uk.json +3 -3
  75. package/dist/assets/t9n/map-draw-tools/resources_vi.json +3 -3
  76. package/dist/assets/t9n/map-draw-tools/resources_zh-CN.json +3 -3
  77. package/dist/assets/t9n/map-draw-tools/resources_zh-HK.json +3 -3
  78. package/dist/assets/t9n/map-draw-tools/resources_zh-TW.json +3 -3
  79. package/dist/assets/t9n/map-select-tools/resources_ar.json +13 -11
  80. package/dist/assets/t9n/map-select-tools/resources_bg.json +13 -11
  81. package/dist/assets/t9n/map-select-tools/resources_bs.json +13 -11
  82. package/dist/assets/t9n/map-select-tools/resources_ca.json +13 -11
  83. package/dist/assets/t9n/map-select-tools/resources_cs.json +13 -11
  84. package/dist/assets/t9n/map-select-tools/resources_da.json +13 -11
  85. package/dist/assets/t9n/map-select-tools/resources_de.json +13 -11
  86. package/dist/assets/t9n/map-select-tools/resources_el.json +13 -11
  87. package/dist/assets/t9n/map-select-tools/resources_es.json +13 -11
  88. package/dist/assets/t9n/map-select-tools/resources_et.json +13 -11
  89. package/dist/assets/t9n/map-select-tools/resources_fi.json +13 -11
  90. package/dist/assets/t9n/map-select-tools/resources_fr.json +13 -11
  91. package/dist/assets/t9n/map-select-tools/resources_he.json +13 -11
  92. package/dist/assets/t9n/map-select-tools/resources_hr.json +13 -11
  93. package/dist/assets/t9n/map-select-tools/resources_hu.json +13 -11
  94. package/dist/assets/t9n/map-select-tools/resources_id.json +13 -11
  95. package/dist/assets/t9n/map-select-tools/resources_it.json +13 -11
  96. package/dist/assets/t9n/map-select-tools/resources_ja.json +13 -11
  97. package/dist/assets/t9n/map-select-tools/resources_ko.json +13 -11
  98. package/dist/assets/t9n/map-select-tools/resources_lt.json +13 -11
  99. package/dist/assets/t9n/map-select-tools/resources_lv.json +13 -11
  100. package/dist/assets/t9n/map-select-tools/resources_nb.json +13 -11
  101. package/dist/assets/t9n/map-select-tools/resources_nl.json +13 -11
  102. package/dist/assets/t9n/map-select-tools/resources_pl.json +13 -11
  103. package/dist/assets/t9n/map-select-tools/resources_pt-BR.json +13 -11
  104. package/dist/assets/t9n/map-select-tools/resources_pt-PT.json +13 -11
  105. package/dist/assets/t9n/map-select-tools/resources_ro.json +13 -11
  106. package/dist/assets/t9n/map-select-tools/resources_ru.json +13 -11
  107. package/dist/assets/t9n/map-select-tools/resources_sk.json +13 -11
  108. package/dist/assets/t9n/map-select-tools/resources_sl.json +13 -11
  109. package/dist/assets/t9n/map-select-tools/resources_sr.json +13 -11
  110. package/dist/assets/t9n/map-select-tools/resources_sv.json +13 -11
  111. package/dist/assets/t9n/map-select-tools/resources_th.json +13 -11
  112. package/dist/assets/t9n/map-select-tools/resources_tr.json +13 -11
  113. package/dist/assets/t9n/map-select-tools/resources_uk.json +13 -11
  114. package/dist/assets/t9n/map-select-tools/resources_vi.json +13 -11
  115. package/dist/assets/t9n/map-select-tools/resources_zh-CN.json +13 -11
  116. package/dist/assets/t9n/map-select-tools/resources_zh-HK.json +13 -11
  117. package/dist/assets/t9n/map-select-tools/resources_zh-TW.json +13 -11
  118. package/dist/assets/t9n/pdf-download/resources_ar.json +1 -1
  119. package/dist/assets/t9n/pdf-download/resources_bg.json +1 -1
  120. package/dist/assets/t9n/pdf-download/resources_bs.json +1 -1
  121. package/dist/assets/t9n/pdf-download/resources_ca.json +1 -1
  122. package/dist/assets/t9n/pdf-download/resources_cs.json +1 -1
  123. package/dist/assets/t9n/pdf-download/resources_da.json +1 -1
  124. package/dist/assets/t9n/pdf-download/resources_de.json +1 -1
  125. package/dist/assets/t9n/pdf-download/resources_el.json +1 -1
  126. package/dist/assets/t9n/pdf-download/resources_es.json +1 -1
  127. package/dist/assets/t9n/pdf-download/resources_et.json +1 -1
  128. package/dist/assets/t9n/pdf-download/resources_fi.json +1 -1
  129. package/dist/assets/t9n/pdf-download/resources_fr.json +1 -1
  130. package/dist/assets/t9n/pdf-download/resources_he.json +1 -1
  131. package/dist/assets/t9n/pdf-download/resources_hr.json +1 -1
  132. package/dist/assets/t9n/pdf-download/resources_hu.json +1 -1
  133. package/dist/assets/t9n/pdf-download/resources_id.json +1 -1
  134. package/dist/assets/t9n/pdf-download/resources_it.json +1 -1
  135. package/dist/assets/t9n/pdf-download/resources_ja.json +1 -1
  136. package/dist/assets/t9n/pdf-download/resources_ko.json +1 -1
  137. package/dist/assets/t9n/pdf-download/resources_lt.json +1 -1
  138. package/dist/assets/t9n/pdf-download/resources_lv.json +1 -1
  139. package/dist/assets/t9n/pdf-download/resources_nb.json +1 -1
  140. package/dist/assets/t9n/pdf-download/resources_nl.json +1 -1
  141. package/dist/assets/t9n/pdf-download/resources_pl.json +1 -1
  142. package/dist/assets/t9n/pdf-download/resources_pt-BR.json +1 -1
  143. package/dist/assets/t9n/pdf-download/resources_pt-PT.json +1 -1
  144. package/dist/assets/t9n/pdf-download/resources_ro.json +1 -1
  145. package/dist/assets/t9n/pdf-download/resources_ru.json +1 -1
  146. package/dist/assets/t9n/pdf-download/resources_sk.json +1 -1
  147. package/dist/assets/t9n/pdf-download/resources_sl.json +1 -1
  148. package/dist/assets/t9n/pdf-download/resources_sr.json +1 -1
  149. package/dist/assets/t9n/pdf-download/resources_sv.json +1 -1
  150. package/dist/assets/t9n/pdf-download/resources_th.json +1 -1
  151. package/dist/assets/t9n/pdf-download/resources_tr.json +1 -1
  152. package/dist/assets/t9n/pdf-download/resources_uk.json +1 -1
  153. package/dist/assets/t9n/pdf-download/resources_vi.json +1 -1
  154. package/dist/assets/t9n/pdf-download/resources_zh-CN.json +1 -1
  155. package/dist/assets/t9n/pdf-download/resources_zh-HK.json +1 -1
  156. package/dist/assets/t9n/pdf-download/resources_zh-TW.json +1 -1
  157. package/dist/assets/t9n/public-notification/resources.json +11 -9
  158. package/dist/assets/t9n/public-notification/resources_ar.json +39 -38
  159. package/dist/assets/t9n/public-notification/resources_bg.json +39 -38
  160. package/dist/assets/t9n/public-notification/resources_bs.json +39 -38
  161. package/dist/assets/t9n/public-notification/resources_ca.json +39 -38
  162. package/dist/assets/t9n/public-notification/resources_cs.json +39 -38
  163. package/dist/assets/t9n/public-notification/resources_da.json +39 -38
  164. package/dist/assets/t9n/public-notification/resources_de.json +39 -38
  165. package/dist/assets/t9n/public-notification/resources_el.json +39 -38
  166. package/dist/assets/t9n/public-notification/resources_en.json +11 -9
  167. package/dist/assets/t9n/public-notification/resources_es.json +39 -38
  168. package/dist/assets/t9n/public-notification/resources_et.json +39 -38
  169. package/dist/assets/t9n/public-notification/resources_fi.json +39 -38
  170. package/dist/assets/t9n/public-notification/resources_fr.json +39 -38
  171. package/dist/assets/t9n/public-notification/resources_he.json +39 -38
  172. package/dist/assets/t9n/public-notification/resources_hr.json +39 -38
  173. package/dist/assets/t9n/public-notification/resources_hu.json +39 -38
  174. package/dist/assets/t9n/public-notification/resources_id.json +39 -38
  175. package/dist/assets/t9n/public-notification/resources_it.json +39 -38
  176. package/dist/assets/t9n/public-notification/resources_ja.json +39 -38
  177. package/dist/assets/t9n/public-notification/resources_ko.json +39 -38
  178. package/dist/assets/t9n/public-notification/resources_lt.json +39 -38
  179. package/dist/assets/t9n/public-notification/resources_lv.json +39 -38
  180. package/dist/assets/t9n/public-notification/resources_nb.json +39 -38
  181. package/dist/assets/t9n/public-notification/resources_nl.json +39 -38
  182. package/dist/assets/t9n/public-notification/resources_pl.json +39 -38
  183. package/dist/assets/t9n/public-notification/resources_pt-BR.json +39 -38
  184. package/dist/assets/t9n/public-notification/resources_pt-PT.json +39 -38
  185. package/dist/assets/t9n/public-notification/resources_ro.json +39 -38
  186. package/dist/assets/t9n/public-notification/resources_ru.json +39 -38
  187. package/dist/assets/t9n/public-notification/resources_sk.json +39 -38
  188. package/dist/assets/t9n/public-notification/resources_sl.json +39 -38
  189. package/dist/assets/t9n/public-notification/resources_sr.json +39 -38
  190. package/dist/assets/t9n/public-notification/resources_sv.json +39 -38
  191. package/dist/assets/t9n/public-notification/resources_th.json +39 -38
  192. package/dist/assets/t9n/public-notification/resources_tr.json +39 -38
  193. package/dist/assets/t9n/public-notification/resources_uk.json +39 -38
  194. package/dist/assets/t9n/public-notification/resources_vi.json +39 -38
  195. package/dist/assets/t9n/public-notification/resources_zh-CN.json +39 -38
  196. package/dist/assets/t9n/public-notification/resources_zh-HK.json +39 -38
  197. package/dist/assets/t9n/public-notification/resources_zh-TW.json +39 -38
  198. package/dist/assets/t9n/refine-selection/resources.json +3 -1
  199. package/dist/assets/t9n/refine-selection/resources_en.json +3 -1
  200. package/dist/cjs/calcite-input-text_5.cjs.entry.js +3 -3
  201. package/dist/cjs/{downloadUtils-06876768.js → downloadUtils-4ef4b28b.js} +87 -21
  202. package/dist/cjs/{index.es-d07646b4.js → index.es-cbe67d5b.js} +1 -1
  203. package/dist/cjs/layer-table_2.cjs.entry.js +1 -1
  204. package/dist/cjs/loader.cjs.js +1 -1
  205. package/dist/cjs/public-notification.cjs.entry.js +2 -2
  206. package/dist/cjs/solutions-components.cjs.js +1 -1
  207. package/dist/collection/components/public-notification/public-notification.js +2 -2
  208. package/dist/collection/components/refine-selection/refine-selection.css +106 -85
  209. package/dist/collection/components/refine-selection/refine-selection.js +1 -1
  210. package/dist/collection/utils/downloadUtils.js +86 -20
  211. package/dist/collection/utils/downloadUtils.ts +139 -27
  212. package/dist/components/downloadUtils.js +86 -20
  213. package/dist/components/public-notification.js +2 -2
  214. package/dist/components/refine-selection2.js +36 -24
  215. package/dist/esm/calcite-input-text_5.entry.js +3 -3
  216. package/dist/esm/{downloadUtils-046ce0aa.js → downloadUtils-2ebeb46d.js} +87 -21
  217. package/dist/esm/{index.es-3fd0e8f6.js → index.es-6dd27a48.js} +1 -1
  218. package/dist/esm/layer-table_2.entry.js +1 -1
  219. package/dist/esm/loader.js +1 -1
  220. package/dist/esm/public-notification.entry.js +2 -2
  221. package/dist/esm/solutions-components.js +1 -1
  222. package/dist/solutions-components/{p-2e0db581.js → p-657caece.js} +11 -11
  223. package/dist/solutions-components/{p-1b08d9d6.entry.js → p-6f27bea2.entry.js} +2 -2
  224. package/dist/solutions-components/{p-99aec087.js → p-ad82c173.js} +1 -1
  225. package/dist/solutions-components/p-db82a9ce.entry.js +6 -0
  226. package/dist/solutions-components/{p-1850a763.entry.js → p-deb90ce7.entry.js} +1 -1
  227. package/dist/solutions-components/solutions-components.esm.js +1 -1
  228. package/dist/solutions-components/utils/downloadUtils.ts +139 -27
  229. package/dist/types/utils/downloadUtils.d.ts +21 -0
  230. package/package.json +1 -1
  231. package/dist/solutions-components/p-f66a7ea7.entry.js +0 -6
@@ -1,40 +1,41 @@
1
1
  {
2
- "pdf": "試_PDF_______驗",
3
- "exportPDF": "試_Export PDF_____________________驗",
4
- "csv": "試_CSV_______驗",
5
- "exportCSV": "試_Export CSV_____________________驗",
6
- "downloadNoLists": "試_There are no lists to export. Go to My lists to create a list of features______________________________________驗.",
7
- "add": "試_Create new list________________驗",
8
- "remove": "試_Remove_____________驗",
9
- "back": "試_Back_________驗",
10
- "selectedFeatures": "試_{{n}} selected features________________________驗",
11
- "noNotifications": "試_You have no notification list yet__________________驗.",
12
- "notifications": "試_Notifications______________驗",
13
- "myLists": "試_My lists_________________驗",
14
- "stepTwoFull": "試_Create new list________________驗",
15
- "cancel": "試_Cancel_____________驗",
16
- "done": "試_Done_________驗",
17
- "selectPDFLabelOption": "試_PDF label option_________________驗",
18
- "removeDuplicate": "試_Remove duplicates___________________驗:",
19
- "numDuplicates": "試_{{n}} duplicates_________________驗",
20
- "selectLayerAndAdd": "試_To create a list, select an input layer and click Create new list. Features from the selected input layer will be added to your list____________________________________________________________________驗.",
21
- "selectSearchTip": "試_Use tools like sketch, search distance, or selection layer to select features from the input layer to add to your list_____________________________________________________________驗.",
22
- "selectLayerTip": "試_Draw shapes to select features from the chosen selection layer; the results will be used to select features from the addressee layer___________________________________________________________________驗",
23
- "selectSketchTip": "試_Use sketch tools to draw graphics in the map to select intersecting features in the addressee layer___________________________________________________驗.",
24
- "optionalSearchDistance": "試_and optionally add search distance___________________驗.",
25
- "listHasSetsTip": "試_Edit or delete existing lists or choose a layer and click Create new list______________________________________驗",
26
- "uniqueCout": "試_Unique Count: {{n}}____________________驗",
27
- "searchDistance": "試_Search distance________________驗",
28
- "useLayerFeatures": "試_Use layer features___________________驗",
29
- "export": "試_Export_____________驗",
30
- "exportTip": "試_Select lists to include in file export. Choose to export lists to either a .csv or .pdf file________________________________________________驗.",
31
- "title": "試_Title___________驗",
32
- "addTitle": "試_Add title___________________驗",
33
- "titlePlaceholder": "試_Enter title here_________________驗",
34
- "includeMap": "試_Include map____________驗",
35
- "pdfOptions": "試_PDF Options____________驗",
36
- "csvOptions": "試_CSV Options____________驗",
37
- "refineSelection": "試_Refine selection_________________驗",
2
+ "pdf": "PDF",
3
+ "exportPDF": "匯出 PDF",
4
+ "csv": "CSV",
5
+ "exportCSV": "匯出 CSV",
6
+ "downloadNoLists": "沒有要匯出的清單。 移至「我的清單」以建立圖徵清單。",
7
+ "add": "建立新清單",
8
+ "remove": "移除",
9
+ "back": "上一步",
10
+ "selectedFeatures": "{{n}} 個選擇的圖徵",
11
+ "noNotifications": "您還沒有通知清單。",
12
+ "notifications": "通知",
13
+ "myLists": "試_Create and edit lists______________________驗",
14
+ "stepTwoFull": "建立新清單",
15
+ "cancel": "取消",
16
+ "done": "完成",
17
+ "selectPDFLabelOption": "PDF 標籤選項",
18
+ "removeDuplicate": "試_Remove duplicate labels_________________________驗:",
19
+ "numDuplicates": "{{n}} 個重複項目",
20
+ "selectLayerAndAdd": "試_Use selection tools to choose which features to include and then click Create list___________________________________________驗.",
21
+ "selectSearchTip": "試_Select features from the input layer to add to your list. Draw with sketch tools, specify a search distance, and use features from another layer to select overlapping features_________________________________________________________________________________________驗.",
22
+ "selectLayerTip": "繪製形狀以從選定的選擇圖層中選擇圖徵;結果將用於從收件者圖層中選擇圖徵",
23
+ "selectSketchTip": "使用描繪工具,在地圖中繪製圖形以選擇地址圖層中的相交圖徵。",
24
+ "optionalSearchDistance": "並選擇性地新增搜尋距離。",
25
+ "listHasSetsTip": "試_Edit or delete existing lists or click Create new list_____________________________驗.",
26
+ "uniqueCout": "唯一計數: {{n}}",
27
+ "searchDistance": "搜尋距離",
28
+ "useLayerFeatures": "使用圖層圖徵",
29
+ "export": "匯出",
30
+ "exportTip": "試_Select lists to include in the exported file. Export lists as CSV and PDF______________________________________驗.",
31
+ "title": "標題",
32
+ "addTitle": "新增標題",
33
+ "titlePlaceholder": "在這裡輸入標題",
34
+ "includeMap": "包含地圖",
35
+ "pdfOptions": "PDF 選項",
36
+ "csvOptions": "CSV 選項",
37
+ "refineSelection": "精細化選擇",
38
38
  "refineTip": "試_Refine and finalize your lists by using sketch tools to add or remove features across all selection sets______________________________________________________驗.",
39
- "refineTipNoSelections": "試_There are no selections to refine. Go to My lists to create a list of features_________________________________________驗."
40
- }
39
+ "refineTipNoSelections": "沒有要精細化的選擇。 移至「我的清單」以建立圖徵清單。",
40
+ "duplicatesTip": "試_Duplicate features are always removed. When enabled labels from each layer will be compared and any duplicate labels will be removed____________________________________________________________________驗."
41
+ }
@@ -1,40 +1,41 @@
1
1
  {
2
- "pdf": "試_PDF_______驗",
3
- "exportPDF": "試_Export PDF_____________________驗",
4
- "csv": "試_CSV_______驗",
5
- "exportCSV": "試_Export CSV_____________________驗",
6
- "downloadNoLists": "試_There are no lists to export. Go to My lists to create a list of features______________________________________驗.",
7
- "add": "試_Create new list________________驗",
8
- "remove": "試_Remove_____________驗",
9
- "back": "試_Back_________驗",
10
- "selectedFeatures": "試_{{n}} selected features________________________驗",
11
- "noNotifications": "試_You have no notification list yet__________________驗.",
12
- "notifications": "試_Notifications______________驗",
13
- "myLists": "試_My lists_________________驗",
14
- "stepTwoFull": "試_Create new list________________驗",
15
- "cancel": "試_Cancel_____________驗",
16
- "done": "試_Done_________驗",
17
- "selectPDFLabelOption": "試_PDF label option_________________驗",
18
- "removeDuplicate": "試_Remove duplicates___________________驗:",
19
- "numDuplicates": "試_{{n}} duplicates_________________驗",
20
- "selectLayerAndAdd": "試_To create a list, select an input layer and click Create new list. Features from the selected input layer will be added to your list____________________________________________________________________驗.",
21
- "selectSearchTip": "試_Use tools like sketch, search distance, or selection layer to select features from the input layer to add to your list_____________________________________________________________驗.",
22
- "selectLayerTip": "試_Draw shapes to select features from the chosen selection layer; the results will be used to select features from the addressee layer___________________________________________________________________驗",
23
- "selectSketchTip": "試_Use sketch tools to draw graphics in the map to select intersecting features in the addressee layer___________________________________________________驗.",
24
- "optionalSearchDistance": "試_and optionally add search distance___________________驗.",
25
- "listHasSetsTip": "試_Edit or delete existing lists or choose a layer and click Create new list______________________________________驗",
26
- "uniqueCout": "試_Unique Count: {{n}}____________________驗",
27
- "searchDistance": "試_Search distance________________驗",
28
- "useLayerFeatures": "試_Use layer features___________________驗",
29
- "export": "試_Export_____________驗",
30
- "exportTip": "試_Select lists to include in file export. Choose to export lists to either a .csv or .pdf file________________________________________________驗.",
31
- "title": "試_Title___________驗",
32
- "addTitle": "試_Add title___________________驗",
33
- "titlePlaceholder": "試_Enter title here_________________驗",
34
- "includeMap": "試_Include map____________驗",
35
- "pdfOptions": "試_PDF Options____________驗",
36
- "csvOptions": "試_CSV Options____________驗",
37
- "refineSelection": "試_Refine selection_________________驗",
2
+ "pdf": "PDF",
3
+ "exportPDF": "匯出 PDF",
4
+ "csv": "CSV",
5
+ "exportCSV": "匯出 CSV",
6
+ "downloadNoLists": "沒有要匯出的清單。 移至「我的清單」以建立圖徵清單。",
7
+ "add": "建立新清單",
8
+ "remove": "移除",
9
+ "back": "上一步",
10
+ "selectedFeatures": "{{n}} 個選擇的圖徵",
11
+ "noNotifications": "您還沒有通知清單。",
12
+ "notifications": "通知",
13
+ "myLists": "試_Create and edit lists______________________驗",
14
+ "stepTwoFull": "建立新清單",
15
+ "cancel": "取消",
16
+ "done": "完成",
17
+ "selectPDFLabelOption": "PDF 標籤選項",
18
+ "removeDuplicate": "試_Remove duplicate labels_________________________驗:",
19
+ "numDuplicates": "{{n}} 個重複項目",
20
+ "selectLayerAndAdd": "試_Use selection tools to choose which features to include and then click Create list___________________________________________驗.",
21
+ "selectSearchTip": "試_Select features from the input layer to add to your list. Draw with sketch tools, specify a search distance, and use features from another layer to select overlapping features_________________________________________________________________________________________驗.",
22
+ "selectLayerTip": "繪製形狀以從選定的選擇圖層中選擇圖徵;結果將用於從收件者圖層中選擇圖徵",
23
+ "selectSketchTip": "使用描繪工具,在地圖中繪製圖形以選擇地址圖層中的相交圖徵。",
24
+ "optionalSearchDistance": "並選擇性地新增搜尋距離。",
25
+ "listHasSetsTip": "試_Edit or delete existing lists or click Create new list_____________________________驗.",
26
+ "uniqueCout": "唯一計數: {{n}}",
27
+ "searchDistance": "搜尋距離",
28
+ "useLayerFeatures": "使用圖層圖徵",
29
+ "export": "匯出",
30
+ "exportTip": "試_Select lists to include in the exported file. Export lists as CSV and PDF______________________________________驗.",
31
+ "title": "標題",
32
+ "addTitle": "新增標題",
33
+ "titlePlaceholder": "在這裡輸入標題",
34
+ "includeMap": "包含地圖",
35
+ "pdfOptions": "PDF 選項",
36
+ "csvOptions": "CSV 選項",
37
+ "refineSelection": "精細化選擇",
38
38
  "refineTip": "試_Refine and finalize your lists by using sketch tools to add or remove features across all selection sets______________________________________________________驗.",
39
- "refineTipNoSelections": "試_There are no selections to refine. Go to My lists to create a list of features_________________________________________驗."
40
- }
39
+ "refineTipNoSelections": "沒有要精細化的選擇。 移至「我的清單」以建立圖徵清單。",
40
+ "duplicatesTip": "試_Duplicate features are always removed. When enabled labels from each layer will be compared and any duplicate labels will be removed____________________________________________________________________驗."
41
+ }
@@ -3,5 +3,7 @@
3
3
  "remove": "Remove",
4
4
  "featuresAdded": "Features added: {{n}}",
5
5
  "featuresRemoved": "Features removed: {{n}}",
6
- "totalSelected": "Total selected: {{n}}"
6
+ "totalSelected": "Total selected: {{n}}",
7
+ "inputLayer": "Input layer",
8
+ "inputLayerTip": "Choose input layer to review selected features from, update selected features from one input layer at a time."
7
9
  }
@@ -3,5 +3,7 @@
3
3
  "remove": "Remove",
4
4
  "featuresAdded": "Features added: {{n}}",
5
5
  "featuresRemoved": "Features removed: {{n}}",
6
- "totalSelected": "Total selected: {{n}}"
6
+ "totalSelected": "Total selected: {{n}}",
7
+ "inputLayer": "Input layer",
8
+ "inputLayerTip": "Choose input layer to review selected features from, update selected features from one input layer at a time."
7
9
  }
@@ -24,7 +24,7 @@ const mapViewUtils = require('./mapViewUtils-c45571b9.js');
24
24
  const interfaces = require('./interfaces-842c84a1.js');
25
25
  const publicNotificationStore = require('./publicNotificationStore-cd1a32c3.js');
26
26
  const locale$1 = require('./locale-b113c6b2.js');
27
- const downloadUtils = require('./downloadUtils-06876768.js');
27
+ const downloadUtils = require('./downloadUtils-4ef4b28b.js');
28
28
  require('./guid-c58d5ead.js');
29
29
  require('./key-d55baa11.js');
30
30
  require('./index-e1b1954f.js');
@@ -1554,7 +1554,7 @@ const PdfDownload = class {
1554
1554
  };
1555
1555
  PdfDownload.style = pdfDownloadCss;
1556
1556
 
1557
- const refineSelectionCss = ":host{display:block}.div-visible{display:inherit}.div-not-visible{display:none !important}.padding-top-1-2{padding-top:.5rem}.main-label{display:flex;float:left}html[dir=\"rtl\"] .main-label{display:flex;float:right}.border{outline:1px solid var(--calcite-ui-border-input)}.margin-top-1{margin-top:1rem}.esri-sketch{display:flex;flex-flow:column wrap}.esri-widget{box-sizing:border-box;color:#323232;font-size:14px;font-family:\"Avenir Next\",\"Helvetica Neue\",Helvetica,Arial,sans-serif;line-height:1.3em;background-color:var(--calcite-ui-foreground-1)}.esri-sketch__panel{align-items:center;display:flex;flex-flow:row nowrap;padding:0}*/ .esri-sketch__tool-section{border-right:1px solid rgba(110,110,110,.3)}.esri-sketch__section{align-items:center;display:flex;flex-flow:row nowrap;padding:0 7px;margin:6px 0;border-right:1px solid rgba(110,110,110,.3)}";
1557
+ const refineSelectionCss = ":host{display:block}.div-visible{display:inherit}.div-not-visible{display:none !important}.padding-top-1-2{padding-top:.5rem}.main-label{display:flex;float:left}html[dir=\"rtl\"] .main-label{display:flex;float:right}.border{outline:1px solid var(--calcite-ui-border-input)}.margin-top-1{margin-top:1rem}.esri-sketch{display:flex;flex-flow:column wrap}.esri-widget{box-sizing:border-box;color:#323232;font-size:14px;font-family:\"Avenir Next\",\"Helvetica Neue\",Helvetica,Arial,sans-serif;line-height:1.3em;background-color:var(--calcite-ui-foreground-1)}.esri-sketch__panel{align-items:center;display:flex;flex-flow:row nowrap;padding:0}*/ .esri-sketch__tool-section{border-right:1px solid rgba(110,110,110,.3)}.esri-sketch__section{align-items:center;display:flex;flex-flow:row nowrap;padding:0 7px;margin:6px 0;border-right:1px solid rgba(110,110,110,.3)}.display-flex{display:flex}.font-bold{font-weight:bold}.width-full{width:100%}.label-margin-0{--calcite-label-margin-bottom:0}.padding-start-1-2{-webkit-padding-start:0.5rem;padding-inline-start:0.5rem}";
1558
1558
 
1559
1559
  const RefineSelection = class {
1560
1560
  constructor(hostRef) {
@@ -1612,7 +1612,7 @@ const RefineSelection = class {
1612
1612
  render() {
1613
1613
  var _a, _b;
1614
1614
  const layerPickerClass = this._enabledLayerIds.length > 1 ? "display-block" : "display-none";
1615
- return (index.h(index.Host, null, index.h("div", { class: layerPickerClass + " padding-top-sides-1" }, index.h("map-layer-picker", { enabledLayerIds: this._enabledLayerIds, mapView: this.mapView, onLayerSelectionChange: (evt) => { void this._layerSelectionChange(evt); }, ref: (el) => { this._layerPicker = el; }, selectedLayerIds: [this._refineLayer.layer.id], selectionMode: "single" })), index.h("div", { class: "padding-1" }, index.h("div", { class: "padding-bottom-1" }, index.h("calcite-segmented-control", { class: "w-100" }, index.h("calcite-segmented-control-item", { checked: this._addEnabled, class: "w-50", onClick: () => this._setSelectionMode(interfaces.ESelectionMode.ADD), value: interfaces.ESelectionMode.ADD }, this._translations.add), index.h("calcite-segmented-control-item", { checked: !this._addEnabled, class: "w-50", onClick: () => this._setSelectionMode(interfaces.ESelectionMode.REMOVE), value: interfaces.ESelectionMode.REMOVE }, this._translations.remove))), index.h("div", null, index.h("map-draw-tools", { active: true, drawMode: interfaces.EDrawMode.REFINE, mapView: this.mapView, onDrawRedo: () => this._redo(), onDrawUndo: () => this._undo(), onSketchGraphicsChange: (evt) => this._sketchGraphicsChanged(evt), pointSymbol: this.sketchPointSymbol, polygonSymbol: this.sketchPolygonSymbol, polylineSymbol: this.sketchLineSymbol, redoEnabled: ((_a = this._refineSelectionSet) === null || _a === void 0 ? void 0 : _a.redoStack.length) > 0, ref: (el) => { this._drawTools = el; }, undoEnabled: ((_b = this._refineSelectionSet) === null || _b === void 0 ? void 0 : _b.undoStack.length) > 0 })), index.h("br", null), (index.h("calcite-list", { class: "list-border" }, this._getRefineSelectionSetList())))));
1615
+ return (index.h(index.Host, null, index.h("div", { class: layerPickerClass + " padding-top-sides-1" }, index.h("div", { class: "display-flex" }, index.h("calcite-label", { class: "font-bold width-full label-margin-0" }, index.h("div", { class: "display-flex" }, this._translations.inputLayer, index.h("calcite-icon", { class: "padding-start-1-2 icon", icon: "question", id: "refine-input-layer", scale: "s" })), index.h("map-layer-picker", { enabledLayerIds: this._enabledLayerIds, mapView: this.mapView, onLayerSelectionChange: (evt) => { void this._layerSelectionChange(evt); }, ref: (el) => { this._layerPicker = el; }, selectedLayerIds: [this._refineLayer.layer.id], selectionMode: "single" })), index.h("calcite-popover", { closable: true, label: "", referenceElement: "refine-input-layer" }, index.h("span", { class: "tooltip-message" }, this._translations.inputLayerTip)))), index.h("div", { class: "padding-1" }, index.h("div", { class: "padding-bottom-1" }, index.h("calcite-segmented-control", { class: "w-100" }, index.h("calcite-segmented-control-item", { checked: this._addEnabled, class: "w-50", onClick: () => this._setSelectionMode(interfaces.ESelectionMode.ADD), value: interfaces.ESelectionMode.ADD }, this._translations.add), index.h("calcite-segmented-control-item", { checked: !this._addEnabled, class: "w-50", onClick: () => this._setSelectionMode(interfaces.ESelectionMode.REMOVE), value: interfaces.ESelectionMode.REMOVE }, this._translations.remove))), index.h("div", null, index.h("map-draw-tools", { active: true, drawMode: interfaces.EDrawMode.REFINE, mapView: this.mapView, onDrawRedo: () => this._redo(), onDrawUndo: () => this._undo(), onSketchGraphicsChange: (evt) => this._sketchGraphicsChanged(evt), pointSymbol: this.sketchPointSymbol, polygonSymbol: this.sketchPolygonSymbol, polylineSymbol: this.sketchLineSymbol, redoEnabled: ((_a = this._refineSelectionSet) === null || _a === void 0 ? void 0 : _a.redoStack.length) > 0, ref: (el) => { this._drawTools = el; }, undoEnabled: ((_b = this._refineSelectionSet) === null || _b === void 0 ? void 0 : _b.undoStack.length) > 0 })), index.h("br", null), (index.h("calcite-list", { class: "list-border" }, this._getRefineSelectionSetList())))));
1616
1616
  }
1617
1617
  //--------------------------------------------------------------------------
1618
1618
  //
@@ -1507,7 +1507,7 @@ function(t){var e=function(t){for(var e=t.length,r=new Uint8Array(e),n=0;n<e;n++
1507
1507
  * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
1508
1508
  * ====================================================================
1509
1509
  */
1510
- function(t){function e(){return (n.canvg?Promise.resolve(n.canvg):Promise.resolve().then(function () { return require('./index.es-d07646b4.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},
1510
+ function(t){function e(){return (n.canvg?Promise.resolve(n.canvg):Promise.resolve().then(function () { return require('./index.es-cbe67d5b.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
1511
  /** ====================================================================
1512
1512
  * @license
1513
1513
  * jsPDF XMP metadata plugin
@@ -2427,6 +2427,38 @@ function _createFilename(selectionSetNames) {
2427
2427
  const title = selectionSetNames.length > 0 ? selectionSetNames.join(", ") : "download";
2428
2428
  return title;
2429
2429
  }
2430
+ /**
2431
+ * Creates relationship queries for each relationship flag in a popup.
2432
+ * @param layer Layer whose popup is to be examined
2433
+ * @return Hash of relationships by their id, or null if there are no relationship flags in the
2434
+ * popup; each relationship has the properties layer and relatedQuery for the related layer
2435
+ * and the query for that layer
2436
+ */
2437
+ function _createRelationshipQueries(layer) {
2438
+ const relationships = {};
2439
+ const relationshipFieldPattern = /\{relationships\/\d+\//gm;
2440
+ const relationshipIdPattern = /\d+/;
2441
+ // Test if this popup has any relationship references
2442
+ const matches = layer.popupTemplate.content[0].text.match(relationshipFieldPattern);
2443
+ if (matches) {
2444
+ matches.forEach(match => {
2445
+ // Add a query to a found relationship if we don't already have one
2446
+ const id = match.match(relationshipIdPattern)[0];
2447
+ if (!relationships.hasOwnProperty(id)) {
2448
+ const relatedQuery = {
2449
+ outFields: ['*'],
2450
+ relationshipId: id,
2451
+ returnGeometry: false
2452
+ };
2453
+ relationships[id] = {
2454
+ layer,
2455
+ relatedQuery
2456
+ };
2457
+ }
2458
+ });
2459
+ }
2460
+ return relationships;
2461
+ }
2430
2462
  /**
2431
2463
  * Prepares an attribute's value by applying domain and type information.
2432
2464
  *
@@ -2487,7 +2519,7 @@ function _prepareAttributeValue(attributeValue, attributeType, attributeDomain,
2487
2519
  * @returns Promise resolving when function is done
2488
2520
  */
2489
2521
  async function _prepareLabels(layer, ids, removeDuplicates = true, formatUsingLayerPopup = true, includeHeaderNames = false) {
2490
- var _a, _b, _c, _d;
2522
+ var _a, _b, _c, _d, _e, _f;
2491
2523
  const [intl] = await loadModules.loadModules(["esri/intl"]);
2492
2524
  // Get the features to export
2493
2525
  const featureSet = await mapViewUtils.queryFeaturesByID(ids, layer);
@@ -2501,6 +2533,7 @@ async function _prepareLabels(layer, ids, removeDuplicates = true, formatUsingLa
2501
2533
  const attributeFormats = {};
2502
2534
  // Get the label formatting, if any
2503
2535
  let labelFormat;
2536
+ let relationshipQueries = {};
2504
2537
  let arcadeExecutors = {};
2505
2538
  if (layer.popupEnabled) {
2506
2539
  layer.popupTemplate.fieldInfos.forEach(
@@ -2529,6 +2562,8 @@ async function _prepareLabels(layer, ids, removeDuplicates = true, formatUsingLa
2529
2562
  }
2530
2563
  else if (formatUsingLayerPopup && ((_d = (_c = layer.popupTemplate) === null || _c === void 0 ? void 0 : _c.content[0]) === null || _d === void 0 ? void 0 : _d.type) === "text") {
2531
2564
  labelFormat = _convertPopupTextToLabelSpec(layer.popupTemplate.content[0].text);
2565
+ // Do we need any relationship queries?
2566
+ relationshipQueries = _createRelationshipQueries(layer);
2532
2567
  // Do we need any Arcade executors?
2533
2568
  arcadeExecutors = await _createArcadeExecutors(labelFormat, layer);
2534
2569
  }
@@ -2540,33 +2575,64 @@ async function _prepareLabels(layer, ids, removeDuplicates = true, formatUsingLa
2540
2575
  const arcadeExpressionRegExp = /\{expression\/\w+\}/g;
2541
2576
  const attributeRegExp = /\{\w+\}/g;
2542
2577
  // Find the label fields that we need to replace with values
2543
- const arcadeExpressionMatches = labelFormat.match(arcadeExpressionRegExp);
2544
- const attributeMatches = labelFormat.match(attributeRegExp);
2578
+ const arcadeExpressionMatches = (_e = labelFormat.match(arcadeExpressionRegExp)) !== null && _e !== void 0 ? _e : [];
2579
+ const attributeMatches = (_f = labelFormat.match(attributeRegExp)) !== null && _f !== void 0 ? _f : [];
2545
2580
  // Convert feature attributes into an array of labels
2546
- labels = featureSet.features.map(feature => {
2581
+ const relationshipKeys = Object.keys(relationshipQueries);
2582
+ labels = await Promise.all(featureSet.features.map(async (feature) => {
2547
2583
  let labelPrep = labelFormat;
2548
- // Replace Arcade expressions
2549
- if (arcadeExpressionMatches) {
2550
- arcadeExpressionMatches.forEach((match) => {
2551
- const expressionName = match.substring(match.indexOf("/") + 1, match.length - 1);
2552
- const value = arcadeExecutors[expressionName].execute({ "$feature": feature });
2553
- labelPrep = labelPrep.replace(match, value);
2554
- });
2555
- }
2556
- // Replace non-Arcade fields
2557
- if (attributeMatches) {
2558
- attributeMatches.forEach((match) => {
2559
- const attributeName = match.substring(1, match.length - 1);
2560
- const value = _prepareAttributeValue(feature.attributes[attributeName], attributeTypes[attributeName], attributeDomains[attributeName], attributeFormats[attributeName], intl);
2561
- labelPrep = labelPrep.replace(match, value);
2584
+ // Replace Arcade expressions in this feature
2585
+ arcadeExpressionMatches.forEach((match) => {
2586
+ const expressionName = match.substring(match.indexOf("/") + 1, match.length - 1);
2587
+ const value = arcadeExecutors[expressionName].execute({ "$feature": feature });
2588
+ labelPrep = labelPrep.replace(match, value);
2589
+ });
2590
+ // Replace relationship expressions in this feature
2591
+ const relatedFeatureQueries = [];
2592
+ const relationshipIds = [];
2593
+ relationshipKeys.forEach((relationshipId) => {
2594
+ const relationship = relationshipQueries[relationshipId];
2595
+ const objectId = feature.attributes[relationship.layer.objectIdField];
2596
+ const relatedQuery = Object.assign(Object.assign({}, relationship.relatedQuery), { objectIds: [objectId] });
2597
+ relatedFeatureQueries.push(relationship.layer.queryRelatedFeatures(relatedQuery));
2598
+ relationshipIds.push(relationshipId);
2599
+ });
2600
+ // Wait for all of the queries for related records for this label
2601
+ const relatedFeatureQueryResults = await Promise.all(relatedFeatureQueries);
2602
+ relatedFeatureQueryResults.forEach((relatedFeatureQueryResult, i) => {
2603
+ // We have an object with FeatureSets grouped by source layer or table objectIds
2604
+ const relationshipId = relationshipIds[i];
2605
+ // Run through the source layer or table objectIds
2606
+ Object.keys(relatedFeatureQueryResult).forEach(relatedFeatureSetId => {
2607
+ // We have a feature set
2608
+ const relatedFeatures = relatedFeatureQueryResult[relatedFeatureSetId].features;
2609
+ // Get the values from each feature and replace them in the label
2610
+ relatedFeatures.forEach(feature => {
2611
+ // Merge the base and related feature attributes and create the label
2612
+ // Prefix related feature's attributes with "relationships/<id>/" to match popup
2613
+ const rePrefix = "\{relationships/" + relationshipId + "/";
2614
+ const reSuffix = "\}";
2615
+ const attributes = feature.attributes;
2616
+ Object.keys(attributes).forEach(attributeName => {
2617
+ // Replace the value using the attribute name as a relationship
2618
+ const attributeRelationshipRegExp = new RegExp(rePrefix + attributeName + reSuffix, "g");
2619
+ labelPrep = labelPrep.replaceAll(attributeRelationshipRegExp, attributes[attributeName]);
2620
+ });
2621
+ });
2562
2622
  });
2563
- }
2623
+ });
2624
+ // Replace non-Arcade fields in this feature
2625
+ attributeMatches.forEach((match) => {
2626
+ const attributeName = match.substring(1, match.length - 1);
2627
+ const value = _prepareAttributeValue(feature.attributes[attributeName], attributeTypes[attributeName], attributeDomains[attributeName], attributeFormats[attributeName], intl);
2628
+ labelPrep = labelPrep.replace(match, value);
2629
+ });
2564
2630
  // Split label into lines
2565
2631
  let label = labelPrep.split(lineSeparatorChar);
2566
2632
  // Trim lines
2567
2633
  label = label.map(line => line.trim());
2568
2634
  return label;
2569
- });
2635
+ }));
2570
2636
  }
2571
2637
  else {
2572
2638
  // Export all attributes
@@ -6,7 +6,7 @@
6
6
  'use strict';
7
7
 
8
8
  const _commonjsHelpers = require('./_commonjsHelpers-384729db.js');
9
- const downloadUtils = require('./downloadUtils-06876768.js');
9
+ const downloadUtils = require('./downloadUtils-4ef4b28b.js');
10
10
  require('./index-6654298b.js');
11
11
  require('./loadModules-ae7715f2.js');
12
12
  require('./locale-b113c6b2.js');
@@ -11,7 +11,7 @@ const index = require('./index-6654298b.js');
11
11
  const loadModules = require('./loadModules-ae7715f2.js');
12
12
  const locale = require('./locale-b113c6b2.js');
13
13
  const mapViewUtils = require('./mapViewUtils-c45571b9.js');
14
- const downloadUtils = require('./downloadUtils-06876768.js');
14
+ const downloadUtils = require('./downloadUtils-4ef4b28b.js');
15
15
  const interfaces = require('./interfaces-842c84a1.js');
16
16
  require('./_commonjsHelpers-384729db.js');
17
17