@arcgis/map-components 5.0.0-next.53 → 5.0.0-next.55

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 (417) hide show
  1. package/dist/cdn/{RNGG4555.js → 23RK64EI.js} +2 -2
  2. package/dist/cdn/{7544KQ2F.js → 26LZWRPR.js} +2 -2
  3. package/dist/cdn/{VKJCFYCK.js → 27RQABPG.js} +2 -2
  4. package/dist/cdn/{VHVTCMXA.js → 2B6JO2AM.js} +2 -2
  5. package/dist/cdn/{EZTXUSSB.js → 2JLE3OAB.js} +2 -2
  6. package/dist/cdn/{Q7ZOKXNH.js → 2JZ3FKBD.js} +2 -2
  7. package/dist/cdn/{TOTUYNLQ.js → 2LGE7H36.js} +2 -2
  8. package/dist/cdn/{7UI3AVWM.js → 2MY756ZF.js} +2 -2
  9. package/dist/cdn/{JGL2GKEA.js → 2QHW6HZF.js} +2 -2
  10. package/dist/cdn/{32IBDJNW.js → 2VBIEPXE.js} +2 -2
  11. package/dist/cdn/{DGK2D75C.js → 33GIXQRC.js} +2 -2
  12. package/dist/cdn/{MIQDCYQT.js → 33ZC2LHJ.js} +2 -2
  13. package/dist/cdn/{QB62UW7V.js → 3IWH7TVT.js} +2 -2
  14. package/dist/cdn/{5PK4U5PI.js → 3PDYFRCC.js} +2 -2
  15. package/dist/cdn/{VPXZACCW.js → 3ZG4VE25.js} +2 -2
  16. package/dist/cdn/{YJBTYU6W.js → 44IPQBPH.js} +2 -2
  17. package/dist/cdn/{L3CQKOP6.js → 46MYOTD2.js} +2 -2
  18. package/dist/cdn/{BW4B4OPL.js → 4G4AM5HA.js} +2 -2
  19. package/dist/cdn/{PGB7NE5R.js → 4GKRSXIZ.js} +2 -2
  20. package/dist/cdn/{U4KJDHSS.js → 4QGMGQAW.js} +2 -2
  21. package/dist/cdn/{ZO5O34ER.js → 4UGDTVSI.js} +2 -2
  22. package/dist/cdn/{7IWXSXGD.js → 4XKHSDCI.js} +2 -2
  23. package/dist/cdn/{H27OBO35.js → 5ES43MMR.js} +2 -2
  24. package/dist/cdn/{4UVWPU77.js → 5SUG6UJB.js} +2 -2
  25. package/dist/cdn/{QS6XZK2C.js → 647EIHJL.js} +2 -2
  26. package/dist/cdn/{MF3JTBTQ.js → 66OSZMFV.js} +2 -2
  27. package/dist/cdn/{MX22WESR.js → 673WGPE4.js} +2 -2
  28. package/dist/cdn/{ACLLHUSO.js → 6DGG25J6.js} +2 -2
  29. package/dist/cdn/{MX6UKMQS.js → 6MFOINRN.js} +2 -2
  30. package/dist/cdn/{VV3HTROP.js → 6Q3EMM4X.js} +2 -2
  31. package/dist/cdn/{UF4X3JZO.js → 77L5CDBM.js} +2 -2
  32. package/dist/cdn/{QKFOYS3F.js → 7DVHSIKI.js} +1 -1
  33. package/dist/cdn/{OUBUCQKP.js → 7FLPBNLU.js} +2 -2
  34. package/dist/cdn/{PTFU5ZQI.js → 7GRIWDYT.js} +2 -2
  35. package/dist/cdn/{FVJU7VXV.js → 7IP7JTNI.js} +2 -2
  36. package/dist/cdn/{XNKTR6EO.js → 7IVLM7QO.js} +2 -2
  37. package/dist/cdn/{D3IIFTCI.js → 7MGOXNHG.js} +2 -2
  38. package/dist/cdn/{IIHDDHIO.js → 7O5IZDLS.js} +1 -1
  39. package/dist/cdn/{34KYMGMH.js → 7X76SHCJ.js} +2 -2
  40. package/dist/cdn/{3MQ6MPNV.js → AKXLG7NW.js} +1 -1
  41. package/dist/cdn/{YTYWLREF.js → APJBA35E.js} +2 -2
  42. package/dist/cdn/{RJ552XKF.js → AUWQRXBZ.js} +2 -2
  43. package/dist/cdn/AV77P4U3.js +4 -0
  44. package/dist/cdn/{RJLKBNSS.js → AVLTOBYM.js} +2 -2
  45. package/dist/cdn/{GBUQ3ANU.js → BDNKQD5F.js} +2 -2
  46. package/dist/cdn/{CKKPZNRC.js → BKKVWZN6.js} +2 -2
  47. package/dist/cdn/BLJPUD23.js +4 -0
  48. package/dist/cdn/{YKWR3QJL.js → BRBAMTVH.js} +2 -2
  49. package/dist/cdn/BSMAW3QV.js +4 -0
  50. package/dist/cdn/{VRIW2DED.js → BTDXCYNH.js} +2 -2
  51. package/dist/cdn/{3T43KR76.js → BTI3SDKH.js} +2 -2
  52. package/dist/cdn/{SDY4MF7C.js → BWPM3ANL.js} +2 -2
  53. package/dist/cdn/{XLQEN5YK.js → BXFUPGRG.js} +2 -2
  54. package/dist/cdn/{YQGCSIUX.js → BZKO5DJX.js} +2 -2
  55. package/dist/cdn/{LKCMBKZX.js → C3OIHBRI.js} +2 -2
  56. package/dist/cdn/{NR3UJP3L.js → CF4CF3QE.js} +2 -2
  57. package/dist/cdn/{IOULPB5I.js → CL3YZVHG.js} +2 -2
  58. package/dist/cdn/{QMUCAXWM.js → CO63ITUK.js} +2 -2
  59. package/dist/cdn/{O2VZBCPD.js → CV5R7XHE.js} +2 -2
  60. package/dist/cdn/{KOI4S75G.js → CVBP73AH.js} +2 -2
  61. package/dist/cdn/{NKFQN7IU.js → CVFP5DCU.js} +2 -2
  62. package/dist/cdn/{L7SFZ4MI.js → CX2T5UZ4.js} +2 -2
  63. package/dist/cdn/{H3ER5SE3.js → CY4U7JGQ.js} +2 -2
  64. package/dist/cdn/{2GRF47LA.js → CY5X6Z45.js} +2 -2
  65. package/dist/cdn/{FESLX5ZM.js → D7HIDCMD.js} +2 -2
  66. package/dist/cdn/DACZ26ZT.js +4 -0
  67. package/dist/cdn/{WLRLLU2S.js → DIN4USAE.js} +1 -1
  68. package/dist/cdn/{LOZLO5W5.js → DK5PXZ5H.js} +2 -2
  69. package/dist/cdn/{7FDLHXUE.js → DKAGIK7F.js} +2 -2
  70. package/dist/cdn/{MH6753J3.js → DQA5SEQI.js} +2 -2
  71. package/dist/cdn/{T6MXRQE6.js → E4STQIL2.js} +2 -2
  72. package/dist/cdn/{NBCGQDP5.js → EBRZL2LL.js} +2 -2
  73. package/dist/cdn/{4PRGZB4W.js → EDB3OSOS.js} +2 -2
  74. package/dist/cdn/{AJ7G5DZF.js → EF5LSTXI.js} +2 -2
  75. package/dist/cdn/{TM4AIEPA.js → EMBHA2B6.js} +2 -2
  76. package/dist/cdn/{DGH4W4DO.js → EWJFSS2P.js} +2 -2
  77. package/dist/cdn/{EDJ7CE6F.js → EWLDOLD5.js} +2 -2
  78. package/dist/cdn/{QQT7L2JY.js → EXZRFHYV.js} +2 -2
  79. package/dist/cdn/{GNNQKZGK.js → EZXHZFLW.js} +2 -2
  80. package/dist/cdn/{WCWTKVK2.js → F473V2FU.js} +2 -2
  81. package/dist/cdn/{52VENPDP.js → F6JRBZEH.js} +2 -2
  82. package/dist/cdn/FAISLP5C.js +4 -0
  83. package/dist/cdn/{327J25P5.js → FBACMQYY.js} +2 -2
  84. package/dist/cdn/{56CEP4BM.js → FCRCYOIQ.js} +2 -2
  85. package/dist/cdn/{5Y2XXX5T.js → FI2XEU24.js} +2 -2
  86. package/dist/cdn/{B6JR5YSA.js → FJKNT24U.js} +2 -2
  87. package/dist/cdn/{NIJRPVBI.js → FVLMMRVI.js} +2 -2
  88. package/dist/cdn/{MFYK3GNP.js → G27OQJT5.js} +2 -2
  89. package/dist/cdn/{5UUKE7WV.js → G46YZHRC.js} +2 -2
  90. package/dist/cdn/{ZWUO764R.js → GCE2SERZ.js} +2 -2
  91. package/dist/cdn/{CMJ72CHT.js → GEXSSC4P.js} +2 -2
  92. package/dist/cdn/{KCZNFDM6.js → GJUBPLUU.js} +2 -2
  93. package/dist/cdn/{5FNAWT4R.js → GKE4DB47.js} +2 -2
  94. package/dist/cdn/{MTH7YKOF.js → GPCDPFMW.js} +2 -2
  95. package/dist/cdn/{FSQRX544.js → GVUR33HP.js} +2 -2
  96. package/dist/cdn/{GBIXOQAS.js → GXUASIDR.js} +2 -2
  97. package/dist/cdn/{Q75ZC3RP.js → H3WYXDHV.js} +2 -2
  98. package/dist/cdn/{I5NU4R26.js → H4FY3GK2.js} +2 -2
  99. package/dist/cdn/{LDEQJMT2.js → H7JLBO2V.js} +2 -2
  100. package/dist/cdn/{HSL5OYTT.js → HDZQZ44A.js} +2 -2
  101. package/dist/cdn/{ZBNLNYDA.js → HRVLZPJW.js} +2 -2
  102. package/dist/cdn/{JISTRC2N.js → I2PDOIHB.js} +2 -2
  103. package/dist/cdn/{R4SZDNMY.js → I36GUK34.js} +2 -2
  104. package/dist/cdn/{GWJSKO2V.js → IA7B7F3S.js} +2 -2
  105. package/dist/cdn/{VDKZKZ6Z.js → IBNJKBBC.js} +2 -2
  106. package/dist/cdn/{PQNTCXLR.js → IEANBGWX.js} +1 -1
  107. package/dist/cdn/{JKFVCXJT.js → IZH5PLKG.js} +2 -2
  108. package/dist/cdn/J7WMSPMH.js +4 -0
  109. package/dist/cdn/{JHC7KVDI.js → JJACMB6V.js} +2 -2
  110. package/dist/cdn/{5KJTGGTF.js → JJTSF4X5.js} +2 -2
  111. package/dist/cdn/{HA2EKFT6.js → JKWPKJBL.js} +1 -1
  112. package/dist/cdn/{TTLJAG4U.js → JRKACLSX.js} +2 -2
  113. package/dist/cdn/{NXVCQDCO.js → JSNF2I47.js} +2 -2
  114. package/dist/cdn/{A35LVYUE.js → JXCCGBKP.js} +2 -2
  115. package/dist/cdn/{UDFBNRPY.js → KGSEURCS.js} +2 -2
  116. package/dist/cdn/{EDVUIHG3.js → L26ZFFLZ.js} +1 -1
  117. package/dist/cdn/{UAQZCDPE.js → L3ZLSBJP.js} +2 -2
  118. package/dist/cdn/{5EO3Y7GS.js → LASDY6CS.js} +2 -2
  119. package/dist/cdn/{PQYUE4MD.js → LFYO75WR.js} +2 -2
  120. package/dist/cdn/{TUZ47D6H.js → LH3WRQOB.js} +2 -2
  121. package/dist/cdn/LLPRP2YI.js +4 -0
  122. package/dist/cdn/{3LDM3STJ.js → LNFKDNNZ.js} +2 -2
  123. package/dist/cdn/{EGSVPEYJ.js → LNT7V2SO.js} +2 -2
  124. package/dist/cdn/LPABE6C4.js +4 -0
  125. package/dist/cdn/{TXC337W4.js → LS6LCQYE.js} +2 -2
  126. package/dist/cdn/{R6TKY4LJ.js → LSBKUDEV.js} +2 -2
  127. package/dist/cdn/{5A7LDNJ6.js → LVSXQ3IY.js} +2 -2
  128. package/dist/cdn/{QXLK4KPD.js → LWP2AVAF.js} +2 -2
  129. package/dist/cdn/{GQT4O6EY.js → M4I4NB2G.js} +2 -2
  130. package/dist/cdn/{P52AHWDR.js → M5YGTAMO.js} +1 -1
  131. package/dist/cdn/{IZLQNBXN.js → M7OW7BX3.js} +2 -2
  132. package/dist/cdn/{3JH5MR3K.js → ME7N6B6A.js} +2 -2
  133. package/dist/cdn/{MLMQDMFS.js → MFI2CXGK.js} +1 -1
  134. package/dist/cdn/{HL3X5R5B.js → MNQMOZ5M.js} +2 -2
  135. package/dist/cdn/{4TWCBVVV.js → MU5HBOYS.js} +2 -2
  136. package/dist/cdn/{TAOTEB2S.js → N2W4YPLQ.js} +2 -2
  137. package/dist/cdn/{42ITVROL.js → N7LDBZJQ.js} +2 -2
  138. package/dist/cdn/{VJP7Q5UK.js → NCT3J4CP.js} +2 -2
  139. package/dist/cdn/{BIB3ZM5Q.js → NGTEBB34.js} +2 -2
  140. package/dist/cdn/{CUL5YA6J.js → NLEKHXPO.js} +2 -2
  141. package/dist/cdn/{TCLOSOY6.js → NN6NU4TX.js} +2 -2
  142. package/dist/cdn/{HLUZFBDE.js → NRA7R54K.js} +2 -2
  143. package/dist/cdn/{XNTUPAEE.js → NSDIDNSS.js} +2 -2
  144. package/dist/cdn/{BIMYQB54.js → NTLNYO5O.js} +2 -2
  145. package/dist/cdn/{RCENDVVF.js → NUKAF3FU.js} +2 -2
  146. package/dist/cdn/{DEEIDYR3.js → NVATUUAI.js} +2 -2
  147. package/dist/cdn/{2PXYWVYO.js → NVS2PC75.js} +2 -2
  148. package/dist/cdn/{Z5UEQVVN.js → NYQZVJ7G.js} +2 -2
  149. package/dist/cdn/{KC2NCEMM.js → OAQT25MD.js} +2 -2
  150. package/dist/cdn/{6NQBSKGG.js → OHR5G476.js} +2 -2
  151. package/dist/cdn/{2KWH6B6S.js → OJ7XKSPF.js} +2 -2
  152. package/dist/cdn/{PSPY4FSX.js → OJQGNF6W.js} +2 -2
  153. package/dist/cdn/{ZWSKXLC5.js → OKGNTT6M.js} +2 -2
  154. package/dist/cdn/{RBL4D3Y4.js → OP5PRSF4.js} +2 -2
  155. package/dist/cdn/{BF7K4XT5.js → OS5GRDFE.js} +2 -2
  156. package/dist/cdn/{SPCLQERT.js → OXPP6PMU.js} +2 -2
  157. package/dist/cdn/{EDYXMZEW.js → P6MGM3RP.js} +1 -1
  158. package/dist/cdn/{ZXG7FSE3.js → P7ZEN2KR.js} +2 -2
  159. package/dist/cdn/{TNXKFB4Z.js → PEWEPZ4J.js} +2 -2
  160. package/dist/cdn/{36AOKR2T.js → PHBQRL6W.js} +2 -2
  161. package/dist/cdn/{3QWWR5XK.js → PWISX42X.js} +2 -2
  162. package/dist/cdn/{VAQBHWUB.js → PWJTFUYM.js} +2 -2
  163. package/dist/cdn/{GQXAHM5P.js → Q3RK2HPP.js} +2 -2
  164. package/dist/cdn/{S5EE7DM7.js → QIMAKWAJ.js} +2 -2
  165. package/dist/cdn/{O4TL2FPZ.js → QQKPSMZU.js} +1 -1
  166. package/dist/cdn/{4K76NSUV.js → QTXUSI4Z.js} +2 -2
  167. package/dist/cdn/{D3VCURAU.js → QY43MNEA.js} +2 -2
  168. package/dist/cdn/{C3U4NXSG.js → S27436SB.js} +2 -2
  169. package/dist/cdn/{CSIQWB2F.js → S427XV6S.js} +2 -2
  170. package/dist/cdn/{J3SNHGRP.js → SGDXTYIL.js} +2 -2
  171. package/dist/cdn/{TK3EFFAD.js → SJS66LBV.js} +2 -2
  172. package/dist/cdn/{OFSXEPA6.js → SMTYCVXZ.js} +2 -2
  173. package/dist/cdn/{K3FFA72P.js → SNEXQHWY.js} +2 -2
  174. package/dist/cdn/SOF6TW4O.js +4 -0
  175. package/dist/cdn/{T3NCBDA7.js → SVBKCOKC.js} +2 -2
  176. package/dist/cdn/{OSTGSCNO.js → SZ5UGGTB.js} +2 -2
  177. package/dist/cdn/{O4J4RMWT.js → SZULTQNN.js} +2 -2
  178. package/dist/cdn/{4NQU4BVD.js → T3OHNHC7.js} +2 -2
  179. package/dist/cdn/{C57HD5ZV.js → TBGNUQKU.js} +2 -2
  180. package/dist/cdn/{PW7NIT6R.js → THQGW6OH.js} +2 -2
  181. package/dist/cdn/{UHXVZMHO.js → THXFQ75V.js} +2 -2
  182. package/dist/cdn/{LGICEHYQ.js → TIV5VSW7.js} +2 -2
  183. package/dist/cdn/{IEPZYEF7.js → TJYG4YJ3.js} +2 -2
  184. package/dist/cdn/{R3J3T7WW.js → TKRONWAK.js} +2 -2
  185. package/dist/cdn/{7I56EYO7.js → TVMHSKJH.js} +2 -2
  186. package/dist/cdn/{LTPTGOZM.js → TWMQC5ZI.js} +1 -1
  187. package/dist/cdn/{QBLYSN3Y.js → TXGIOSRX.js} +2 -2
  188. package/dist/cdn/{VFFHWXBB.js → TZHDYOCX.js} +2 -2
  189. package/dist/cdn/{5B5JINBI.js → U2WIASPO.js} +2 -2
  190. package/dist/cdn/{Y3KUKAL7.js → U6XEGLHE.js} +2 -2
  191. package/dist/cdn/{T2H3JM4S.js → UFK5FFZ3.js} +2 -2
  192. package/dist/cdn/{OPVFCCYK.js → UR3XSSYS.js} +2 -2
  193. package/dist/cdn/{3PU7YUYS.js → UTDZE2WX.js} +2 -2
  194. package/dist/cdn/{QDN3MCIF.js → UUGFIZEF.js} +1 -1
  195. package/dist/cdn/{H7DUDLJX.js → VGWH5CME.js} +2 -2
  196. package/dist/cdn/{SUFAM7SO.js → VQVU4XXN.js} +2 -2
  197. package/dist/cdn/{APKVP76S.js → VV2PWH7F.js} +1 -1
  198. package/dist/cdn/{AMUY4X56.js → VXAHT3PN.js} +2 -2
  199. package/dist/cdn/{XKFJELTG.js → W7OFLEVR.js} +2 -2
  200. package/dist/cdn/{7JYTQ5TL.js → WE2Q67CR.js} +2 -2
  201. package/dist/cdn/{2OKF7OZ6.js → WO42KAHF.js} +2 -2
  202. package/dist/cdn/{WMXYOMKZ.js → WOGVDBZ6.js} +2 -2
  203. package/dist/cdn/{IKXTTX22.js → WRGVYGKX.js} +2 -2
  204. package/dist/cdn/{U5UKXDKS.js → WUVVPWA3.js} +2 -2
  205. package/dist/cdn/{X62WVVLC.js → WWUOTSJF.js} +2 -2
  206. package/dist/cdn/{7OZLXGJP.js → X5AQHWVC.js} +2 -2
  207. package/dist/cdn/{433UAHAW.js → X74N537T.js} +2 -2
  208. package/dist/cdn/{UYQOR2RU.js → XDJHURZM.js} +2 -2
  209. package/dist/cdn/{MZU6SFAT.js → XJCLYD3E.js} +2 -2
  210. package/dist/cdn/{7536OHIV.js → XJYNKBR6.js} +2 -2
  211. package/dist/cdn/{5M3RDU57.js → XK5AM6VX.js} +2 -2
  212. package/dist/cdn/{63ZMNUWZ.js → XY3UORGC.js} +2 -2
  213. package/dist/cdn/{IPCCME2R.js → XY6OSQJ3.js} +2 -2
  214. package/dist/cdn/{RYD5DFKJ.js → XYG5IARW.js} +2 -2
  215. package/dist/cdn/{UICGTMV7.js → YDRLWTX7.js} +2 -2
  216. package/dist/cdn/{YTVOFP7Y.js → YEGYWEPZ.js} +2 -2
  217. package/dist/cdn/{73ISLWAB.js → YJYO22MK.js} +2 -2
  218. package/dist/cdn/{IQPOKWCW.js → YLIX5HJX.js} +2 -2
  219. package/dist/cdn/{LM3ARJCO.js → YPL2ZIQ3.js} +2 -2
  220. package/dist/cdn/{U7CGEB53.js → YRVIQWEU.js} +2 -2
  221. package/dist/cdn/{BEDKNIPZ.js → Z7IYLHRM.js} +2 -2
  222. package/dist/cdn/{73IY5DZQ.js → ZERCRR6Q.js} +2 -2
  223. package/dist/cdn/{CHD2NZE3.js → ZRBKR7PF.js} +2 -2
  224. package/dist/cdn/{U64NIOWP.js → ZXPWL4UR.js} +3 -3
  225. package/dist/cdn/{LJPFN76E.js → ZXRDMD3D.js} +2 -2
  226. package/dist/cdn/{PKVQDJI5.js → ZYYUO5AI.js} +1 -1
  227. package/dist/cdn/index.js +2 -2
  228. package/dist/chunks/AnalysisViewModel.js +1 -1
  229. package/dist/chunks/action-utils.js +1 -1
  230. package/dist/chunks/async-utils.js +1 -1
  231. package/dist/chunks/basemap-gallery-resources.js +1 -1
  232. package/dist/chunks/chart-utils.js +1 -1
  233. package/dist/chunks/chartCommon.js +1 -1
  234. package/dist/chunks/component-utils.js +1 -1
  235. package/dist/chunks/createCloseEvent.js +1 -1
  236. package/dist/chunks/esri-main.js +1 -1
  237. package/dist/chunks/feature-utils.js +1 -1
  238. package/dist/chunks/globalCss.js +1 -1
  239. package/dist/chunks/handle.js +1 -1
  240. package/dist/chunks/heading.js +1 -1
  241. package/dist/chunks/layer-list.js +1 -1
  242. package/dist/chunks/legacyIcon.js +1 -1
  243. package/dist/chunks/maybe.js +1 -1
  244. package/dist/chunks/measurementUtils.js +1 -1
  245. package/dist/chunks/runtime.js +1 -1
  246. package/dist/chunks/screenLocation.js +1 -1
  247. package/dist/chunks/slots.js +1 -1
  248. package/dist/chunks/svgUtils.js +1 -1
  249. package/dist/chunks/univariateUtils.js +1 -1
  250. package/dist/chunks/useArcgisViewReadyError.js +1 -1
  251. package/dist/chunks/useHandles.js +1 -1
  252. package/dist/chunks/useT9n.js +1 -1
  253. package/dist/chunks/useView.js +1 -1
  254. package/dist/chunks/useViewModel.js +1 -1
  255. package/dist/chunks/useWidget.js +1 -1
  256. package/dist/chunks/utils.js +5 -5
  257. package/dist/chunks/utils2.js +1 -1
  258. package/dist/chunks/visible-element.js +1 -1
  259. package/dist/components/arcgis-area-measurement-2d/customElement.js +1 -1
  260. package/dist/components/arcgis-area-measurement-3d/customElement.js +1 -1
  261. package/dist/components/arcgis-attachments/customElement.js +1 -1
  262. package/dist/components/arcgis-basemap-gallery/customElement.js +1 -1
  263. package/dist/components/arcgis-basemap-gallery-item/customElement.js +1 -1
  264. package/dist/components/arcgis-basemap-layer-list/customElement.js +1 -1
  265. package/dist/components/arcgis-basemap-toggle/customElement.js +1 -1
  266. package/dist/components/arcgis-bookmarks/customElement.js +1 -1
  267. package/dist/components/arcgis-building-explorer/customElement.js +1 -1
  268. package/dist/components/arcgis-catalog-layer-list/customElement.js +1 -1
  269. package/dist/components/arcgis-color-select/customElement.js +1 -1
  270. package/dist/components/arcgis-compass/customElement.js +1 -1
  271. package/dist/components/arcgis-coordinate-conversion/customElement.js +1 -1
  272. package/dist/components/arcgis-daylight/customElement.js +1 -1
  273. package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +1 -1
  274. package/dist/components/arcgis-directional-pad/customElement.js +1 -1
  275. package/dist/components/arcgis-directions/customElement.js +1 -1
  276. package/dist/components/arcgis-distance-measurement-2d/customElement.js +1 -1
  277. package/dist/components/arcgis-editor/customElement.js +1 -1
  278. package/dist/components/arcgis-elevation-profile/customElement.js +1 -1
  279. package/dist/components/arcgis-elevation-profile-legend/customElement.js +1 -1
  280. package/dist/components/arcgis-elevation-profile-legend-item/customElement.js +1 -1
  281. package/dist/components/arcgis-elevation-profile-settings/customElement.js +1 -1
  282. package/dist/components/arcgis-elevation-profile-statistics/customElement.js +1 -1
  283. package/dist/components/arcgis-expand/customElement.js +1 -1
  284. package/dist/components/arcgis-feature/customElement.js +1 -1
  285. package/dist/components/arcgis-feature-attachments/customElement.js +1 -1
  286. package/dist/components/arcgis-feature-content/customElement.js +1 -1
  287. package/dist/components/arcgis-feature-element-info/customElement.js +1 -1
  288. package/dist/components/arcgis-feature-expression/customElement.js +1 -1
  289. package/dist/components/arcgis-feature-fields/customElement.js +1 -1
  290. package/dist/components/arcgis-feature-form/customElement.js +1 -1
  291. package/dist/components/arcgis-feature-media/customElement.js +1 -1
  292. package/dist/components/arcgis-feature-relationship/customElement.js +1 -1
  293. package/dist/components/arcgis-feature-table/customElement.js +1 -1
  294. package/dist/components/arcgis-feature-templates/customElement.js +1 -1
  295. package/dist/components/arcgis-feature-utility-network-association-list/customElement.js +1 -1
  296. package/dist/components/arcgis-feature-utility-network-associations/customElement.js +1 -1
  297. package/dist/components/arcgis-features/customElement.js +1 -1
  298. package/dist/components/arcgis-floor-filter/customElement.js +1 -1
  299. package/dist/components/arcgis-fullscreen/customElement.js +1 -1
  300. package/dist/components/arcgis-grid-controls/customElement.js +1 -1
  301. package/dist/components/arcgis-histogram-range-slider/customElement.js +1 -1
  302. package/dist/components/arcgis-home/customElement.js +1 -1
  303. package/dist/components/arcgis-labeled-switch/customElement.js +1 -1
  304. package/dist/components/arcgis-layer-list/customElement.js +1 -1
  305. package/dist/components/arcgis-layer-list-item/customElement.js +1 -1
  306. package/dist/components/arcgis-legend/customElement.js +1 -1
  307. package/dist/components/arcgis-legend-card-color-ramp/customElement.js +1 -1
  308. package/dist/components/arcgis-legend-card-element/customElement.js +1 -1
  309. package/dist/components/arcgis-legend-card-size-ramp/customElement.js +1 -1
  310. package/dist/components/arcgis-legend-card-univariate-above-and-below-ramp/customElement.js +1 -1
  311. package/dist/components/arcgis-legend-card-univariate-color-size-ramp/customElement.js +1 -1
  312. package/dist/components/arcgis-legend-card-view/customElement.js +1 -1
  313. package/dist/components/arcgis-legend-classic-color-ramp/customElement.js +1 -1
  314. package/dist/components/arcgis-legend-classic-element/customElement.js +1 -1
  315. package/dist/components/arcgis-legend-classic-size-ramp/customElement.js +1 -1
  316. package/dist/components/arcgis-legend-classic-univariate-above-and-below-ramp/customElement.js +1 -1
  317. package/dist/components/arcgis-legend-classic-univariate-color-size-ramp/customElement.js +1 -1
  318. package/dist/components/arcgis-legend-classic-view/customElement.js +1 -1
  319. package/dist/components/arcgis-legend-relationship-ramp/customElement.js +1 -1
  320. package/dist/components/arcgis-legend-spike-ramp/customElement.js +1 -1
  321. package/dist/components/arcgis-line-of-sight/customElement.js +1 -1
  322. package/dist/components/arcgis-link-chart/customElement.js +1 -1
  323. package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +1 -1
  324. package/dist/components/arcgis-locate/customElement.js +1 -1
  325. package/dist/components/arcgis-map/customElement.js +1 -1
  326. package/dist/components/arcgis-measurement/customElement.js +1 -1
  327. package/dist/components/arcgis-measurement-content/customElement.js +1 -1
  328. package/dist/components/arcgis-navigation-toggle/customElement.js +1 -1
  329. package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +1 -1
  330. package/dist/components/arcgis-placement/customElement.js +1 -1
  331. package/dist/components/arcgis-popup/customElement.js +1 -1
  332. package/dist/components/arcgis-print/customElement.d.ts +24 -6
  333. package/dist/components/arcgis-print/customElement.js +29 -23
  334. package/dist/components/arcgis-print-custom-text-elements/customElement.js +1 -1
  335. package/dist/components/arcgis-print-dpi-input/customElement.js +1 -1
  336. package/dist/components/arcgis-print-export-button/customElement.js +1 -1
  337. package/dist/components/arcgis-print-exports-panel/customElement.d.ts +4 -2
  338. package/dist/components/arcgis-print-exports-panel/customElement.js +16 -16
  339. package/dist/components/arcgis-print-format-select/customElement.js +1 -1
  340. package/dist/components/arcgis-print-layout-advanced-options/customElement.js +1 -1
  341. package/dist/components/arcgis-print-layout-panel/customElement.js +1 -1
  342. package/dist/components/arcgis-print-main-panel/customElement.d.ts +4 -2
  343. package/dist/components/arcgis-print-main-panel/customElement.js +6 -6
  344. package/dist/components/arcgis-print-map-only-advanced-options/customElement.js +1 -1
  345. package/dist/components/arcgis-print-map-only-panel/customElement.js +1 -1
  346. package/dist/components/arcgis-print-out-spatial-reference-input/customElement.js +1 -1
  347. package/dist/components/arcgis-print-preview-input/customElement.js +1 -1
  348. package/dist/components/arcgis-print-scale-section/customElement.js +1 -1
  349. package/dist/components/arcgis-print-template-select/customElement.js +1 -1
  350. package/dist/components/arcgis-print-template-selector/customElement.d.ts +0 -1
  351. package/dist/components/arcgis-print-template-selector/customElement.js +28 -32
  352. package/dist/components/arcgis-print-template-selector/index.d.ts +1 -1
  353. package/dist/components/arcgis-print-template-selector/index.js +1 -1
  354. package/dist/components/arcgis-scale-bar/customElement.js +1 -1
  355. package/dist/components/arcgis-scale-range-slider/customElement.js +1 -1
  356. package/dist/components/arcgis-scene/customElement.js +1 -1
  357. package/dist/components/arcgis-search/customElement.js +1 -1
  358. package/dist/components/arcgis-search-result-renderer/customElement.js +1 -1
  359. package/dist/components/arcgis-shadow-cast/customElement.js +1 -1
  360. package/dist/components/arcgis-sketch/customElement.js +1 -1
  361. package/dist/components/arcgis-slice/customElement.js +1 -1
  362. package/dist/components/arcgis-spinner/customElement.js +1 -1
  363. package/dist/components/arcgis-swipe/customElement.js +1 -1
  364. package/dist/components/arcgis-table-list/customElement.js +1 -1
  365. package/dist/components/arcgis-time-slider/customElement.js +1 -1
  366. package/dist/components/arcgis-time-zone-label/customElement.js +1 -1
  367. package/dist/components/arcgis-track/customElement.js +1 -1
  368. package/dist/components/arcgis-unit-select/customElement.js +1 -1
  369. package/dist/components/arcgis-utility-network-association-list/customElement.js +1 -1
  370. package/dist/components/arcgis-utility-network-associations/customElement.js +1 -1
  371. package/dist/components/arcgis-utility-network-result-feature-list/customElement.js +1 -1
  372. package/dist/components/arcgis-utility-network-subnetwork-info/customElement.js +1 -1
  373. package/dist/components/arcgis-utility-network-trace/customElement.js +1 -1
  374. package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +1 -1
  375. package/dist/components/arcgis-utility-network-trace-inputs/customElement.js +1 -1
  376. package/dist/components/arcgis-utility-network-trace-location/customElement.js +1 -1
  377. package/dist/components/arcgis-utility-network-trace-location-list/customElement.js +1 -1
  378. package/dist/components/arcgis-utility-network-trace-results/customElement.js +1 -1
  379. package/dist/components/arcgis-utility-network-validate-topology/customElement.js +1 -1
  380. package/dist/components/arcgis-value-picker/customElement.js +1 -1
  381. package/dist/components/arcgis-version-management/customElement.js +1 -1
  382. package/dist/components/arcgis-version-management-service-item/customElement.js +22 -22
  383. package/dist/components/arcgis-version-management-version-list/customElement.js +29 -29
  384. package/dist/components/arcgis-version-management-version-properties/customElement.js +1 -1
  385. package/dist/components/arcgis-video/customElement.js +1 -1
  386. package/dist/components/arcgis-video-player/customElement.js +1 -1
  387. package/dist/components/arcgis-video-player-action-bar/customElement.js +1 -1
  388. package/dist/components/arcgis-video-player-actions-group/customElement.js +1 -1
  389. package/dist/components/arcgis-video-player-controls-group/customElement.js +1 -1
  390. package/dist/components/arcgis-video-player-metadata/customElement.js +1 -1
  391. package/dist/components/arcgis-video-player-settings/customElement.js +1 -1
  392. package/dist/components/arcgis-video-player-slider/customElement.js +1 -1
  393. package/dist/components/arcgis-volume-measurement/customElement.js +1 -1
  394. package/dist/components/arcgis-weather/customElement.js +1 -1
  395. package/dist/components/arcgis-zoom/customElement.js +1 -1
  396. package/dist/docs/api.json +133 -66
  397. package/dist/docs/docs.json +111 -70
  398. package/dist/docs/vscode.html-custom-data.json +6 -1
  399. package/dist/docs/web-types.json +36 -15
  400. package/dist/index.d.ts +2 -0
  401. package/dist/index.js +1 -1
  402. package/dist/loader.js +5 -5
  403. package/dist/types/lumina.d.ts +4 -1
  404. package/dist/types/preact.d.ts +4 -1
  405. package/dist/types/preact10.d.ts +4 -1
  406. package/dist/types/react.d.ts +4 -1
  407. package/dist/types/stencil.d.ts +4 -1
  408. package/package.json +3 -3
  409. package/dist/cdn/HCVZ6VFZ.js +0 -4
  410. package/dist/cdn/IHX7BUQ3.js +0 -4
  411. package/dist/cdn/ISIZZ4ZM.js +0 -4
  412. package/dist/cdn/KIUMLTJY.js +0 -4
  413. package/dist/cdn/MIRHC3YS.js +0 -4
  414. package/dist/cdn/TIFRMKTX.js +0 -4
  415. package/dist/cdn/VEMWNSGF.js +0 -4
  416. package/dist/cdn/Y3TWTG75.js +0 -4
  417. package/dist/cdn/Y5CB7FNB.js +0 -4
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
3
3
  "name": "@arcgis/map-components",
4
- "version": "5.0.0-next.53",
4
+ "version": "5.0.0-next.55",
5
5
  "description-markup": "markdown",
6
6
  "contributions": {
7
7
  "html": {
@@ -12311,7 +12311,7 @@
12311
12311
  },
12312
12312
  {
12313
12313
  "name": "arcgis-print",
12314
- "description": "The Print component connects your application with a [printing service](https://enterprise.arcgis.com/en/portal/latest/administer/windows/configure-the-portal-to-print-maps.htm) to allow the map to be printed.\nIt takes advantage of server-side, high-quality, full cartographic print functionality using the ExportWebMap service of ArcGIS,\nwhich can be configured with custom layout templates. One is provided that shows the map only, while another provides a layout with legend, etc.\nThe Print component works with the [print](https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-print.html) module, which generates a printer-ready version of the map.\n\nThe Print component uses the ArcGIS Online print service by default, but it can be configured to use a custom print service with the [printServiceUrl](#printServiceUrl) property.\nThe component can preserve map scale or map extent in the printout. By default, the map extent is preserved. Use\n[TemplateOptions.scaleEnabled](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Print-TemplateOptions.html#scaleEnabled) to preserve scale instead.\n\nThe Print component prints a localized date for all [layouts](https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-support-PrintTemplate.html#layout)\nexcept `map-only`. If using a custom print service, then `customTextElements` are supported for each print\ntemplate. Values found there will be populated in the Print component under `Advanced options`. These values can\nbe overwritten in the Print component UI, or programmatically using the\n[templateCustomTextElements](#templateCustomTextElements) property.\n\nFor more information about printing with the `MAP_ONLY` layout, please see\n[exportOptions](https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-support-PrintTemplate.html#exportOptions).\n\n**Known limitations**\n\nSee [print](https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-print.html) for a detailed list of known limitations.\n\n```html\n<arcgis-map item-id=\"45725ba7d9fb47a0925398919b13d1fa\">\n <arcgis-print slot=\"top-right\"></arcgis-print>\n</arcgis-map>\n```\n\n```js\n// get a reference to the component\nconst components = document.querySelectorAll(\"arcgis-print\");\n\nconst portal = new Portal({\n url: \"https://user.maps.arcgis.com/sharing\",\n authMode: \"immediate\",\n authorizedCrossOriginDomains: [\"https://user.maps.arcgis.com\"],\n});\n\ncomponents.forEach((component) => {\n component.portal = portal;\n});\n```\n--\n\n### Events\n- **arcgisComplete** - Emitted when the component is complete.\n- **arcgisPropertyChange** - Emitted when the value of a property is changed. Use this to listen to changes to properties.\n- **arcgisReady** - Emitted when the component associated with a map or scene view is ready to be interacted with.\n- **arcgisSubmit** - Emitted when the component is submitted.\n\n### Methods\n- `componentOnReady(): Promise<void>` - Create a promise that resolves once component is fully loaded.\n- `destroy(): Promise<void>` - Permanently destroy the component.",
12314
+ "description": "The Print component connects your application with a [printing service](https://enterprise.arcgis.com/en/portal/latest/administer/windows/configure-the-portal-to-print-maps.htm) to allow the map to be printed.\nIt takes advantage of server-side, high-quality, full cartographic print functionality using the ExportWebMap service of ArcGIS,\nwhich can be configured with custom layout templates. One is provided that shows the map only, while another provides a layout with legend, etc.\nThe Print component works with the [print](https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-print.html) module, which generates a printer-ready version of the map.\n\nThe Print component uses the ArcGIS Online print service by default, but it can be configured to use a custom print service with the [printServiceUrl](#printServiceUrl) property.\nThe component can preserve map scale or map extent in the printout. By default, the map extent is preserved. Use\n[TemplateOptions.scaleEnabled](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Print-TemplateOptions.html#scaleEnabled) to preserve scale instead.\n\nThe Print component prints a localized date for all [layouts](https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-support-PrintTemplate.html#layout)\nexcept `map-only`. If using a custom print service, then `customTextElements` are supported for each print\ntemplate. Values found there will be populated in the Print component under `Advanced options`. These values can\nbe overwritten in the Print component UI, or programmatically using the\n[templateCustomTextElements](#templateCustomTextElements) property.\n\nFor more information about printing with the `MAP_ONLY` layout, please see\n[exportOptions](https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-support-PrintTemplate.html#exportOptions).\n\n**Known limitations**\n\nSee [print](https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-print.html) for a detailed list of known limitations.\n\n```html\n<arcgis-map item-id=\"45725ba7d9fb47a0925398919b13d1fa\">\n <arcgis-print slot=\"top-right\"></arcgis-print>\n</arcgis-map>\n```\n\n```js\n// get a reference to the component\nconst components = document.querySelectorAll(\"arcgis-print\");\n\nconst portal = new Portal({\n url: \"https://user.maps.arcgis.com/sharing\",\n authMode: \"immediate\",\n authorizedCrossOriginDomains: [\"https://user.maps.arcgis.com\"],\n});\n\ncomponents.forEach((component) => {\n component.portal = portal;\n});\n```\n--\n\n### Events\n- **arcgisBrowseTemplatesChange** - Emitted when the collection of browse templates changes.\n- **arcgisComplete** - Emitted when the component is complete.\n- **arcgisPropertyChange** - Emitted when the value of a property is changed. Use this to listen to changes to properties.\n- **arcgisReady** - Emitted when the component associated with a map or scene view is ready to be interacted with.\n- **arcgisSaveAs** - Emitted when the user saves an exported map printout.\n- **arcgisSubmit** - Emitted when the component is submitted.\n\n### Methods\n- `addPortalTemplate(portalItem: __esri.PortalItem): Promise<void>` - Adds a portal item to a collection of browse templates available in the Print component UI.\n- `componentOnReady(): Promise<void>` - Create a promise that resolves once component is fully loaded.\n- `destroy(): Promise<void>` - Permanently destroy the component.",
12315
12315
  "doc-url": "https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-print/",
12316
12316
  "attributes": [
12317
12317
  {
@@ -12461,6 +12461,14 @@
12461
12461
  "type": "boolean"
12462
12462
  }
12463
12463
  },
12464
+ {
12465
+ "name": "show-save-as",
12466
+ "description": "Indicates whether to show the \"Save As\" option in the Print component UI.",
12467
+ "default": "false",
12468
+ "value": {
12469
+ "type": "boolean"
12470
+ }
12471
+ },
12464
12472
  {
12465
12473
  "name": "state",
12466
12474
  "description": "The state of the Print component.",
@@ -12476,6 +12484,11 @@
12476
12484
  }
12477
12485
  ],
12478
12486
  "events": [
12487
+ {
12488
+ "name": "arcgisBrowseTemplatesChange",
12489
+ "type": "CollectionChangeEvent<CustomTemplate>",
12490
+ "description": "Emitted when the collection of browse templates changes."
12491
+ },
12479
12492
  {
12480
12493
  "name": "arcgisComplete",
12481
12494
  "type": "PrintCompleteEvent",
@@ -12491,6 +12504,11 @@
12491
12504
  "type": "void",
12492
12505
  "description": "Emitted when the component associated with a map or scene view is ready to be interacted with."
12493
12506
  },
12507
+ {
12508
+ "name": "arcgisSaveAs",
12509
+ "type": "FileLink",
12510
+ "description": "Emitted when the user saves an exported map printout."
12511
+ },
12494
12512
  {
12495
12513
  "name": "arcgisSubmit",
12496
12514
  "type": "PrintSubmitEvent",
@@ -12524,10 +12542,6 @@
12524
12542
  "description": "Indicates whether to automatically populate the author field in the print layout advanced options\nwith the username of the current portal user.\n\nThis only takes effect if there is a portal with a signed-in user assigned to the [portal](#portal) property.",
12525
12543
  "type": "boolean"
12526
12544
  },
12527
- {
12528
- "name": "browseTemplateButtonOnClick",
12529
- "type": "((() => void))"
12530
- },
12531
12545
  {
12532
12546
  "name": "excludeDefaultTemplates",
12533
12547
  "description": "Indicates whether or not to include [defaultTemplates](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Print-PrintViewModel.html#defaultTemplates).",
@@ -12602,15 +12616,16 @@
12602
12616
  "description": "By passing the `id` of the Map or Scene component into this property, you can position components from the `@arcgis/map-components`\npackage anywhere in the DOM while still maintaining a connection to the Map or Scene.\n\nSee [Associate components with a Map or Scene component](https://developers.arcgis.com/javascript/latest/programming-patterns/#associate-components-with-a-map-or-scene-component).",
12603
12617
  "type": "HTMLArcgisLinkChartElement | HTMLArcgisMapElement | HTMLArcgisSceneElement | string"
12604
12618
  },
12605
- {
12606
- "name": "saveAsButtonCallback",
12607
- "type": "(((exportedLink: FileLink) => Promise<void | PortalItem>))"
12608
- },
12609
12619
  {
12610
12620
  "name": "showPrintAreaEnabled",
12611
12621
  "description": "The initial state of the print area toggle in the Print component UI.\nWhen set to `true`, the print area toggle is enabled by default.\nWhen set to `false`, the print area toggle is disabled by default.",
12612
12622
  "type": "boolean"
12613
12623
  },
12624
+ {
12625
+ "name": "showSaveAs",
12626
+ "description": "Indicates whether to show the \"Save As\" option in the Print component UI.",
12627
+ "type": "boolean"
12628
+ },
12614
12629
  {
12615
12630
  "name": "state",
12616
12631
  "description": "The state of the Print component.",
@@ -12624,19 +12639,20 @@
12624
12639
  {
12625
12640
  "name": "templateOptions",
12626
12641
  "description": "Defines the layout template options used by the Print component to generate the print page.",
12627
- "type": "TemplateOptions"
12642
+ "type": "{\n attributionEnabled?: boolean | undefined;\n author?: string | nullish;\n copyright?: string | nullish;\n customTextElements?: Array<any> | nullish;\n dpi?: number | undefined;\n fileName?: string | nullish;\n forceFeatureAttributes?: boolean | undefined;\n format?: \"eps\" | \"svg\" | \"jpg\" | \"png8\" | \"png32\" | \"pdf\" | \"gif\" | \"svgz\" | \"aix\" | \"tiff\" | undefined;\n height?: number | nullish;\n readonly id?: string | nullish;\n includeTables?: boolean | undefined;\n layout?: nullish | \"a3-landscape\" | \"a3-portrait\" | \"a4-landscape\" | \"a4-portrait\" | \"map-only\" | \"letter-ansi-a-landscape\" | \"letter-ansi-a-portrait\" | \"tabloid-ansi-b-landscape\" | \"tabloid-ansi-b-portrait\";\n legendEnabled?: boolean | nullish;\n northArrowEnabled?: boolean | nullish;\n scale?: number | nullish;\n scaleBarEnabled?: boolean | nullish;\n scaleEnabled?: boolean | undefined;\n readonly state?: \"ready\" | \"error\" | \"pending\" | undefined;\n title?: string | nullish;\n width?: number | nullish;\n layoutItem?: nullish | PortalItem;\n destroyed?: boolean | undefined;\n initialized?: boolean | undefined;\n declaredClass?: string | undefined;\n destroy?: (() => void) | undefined;\n set?: {\n <T>(propertyName: string, value: T): TemplateOptions;\n (props: HashMap<any>): TemplateOptions;\n } | undefined;\n watch?: ((path: string | Array<string>, callback: WatchCallback, sync?: boolean | undefined) => WatchHandle) | undefined;\n addHandles?: (<T>(handles: IHandle | Array<IHandle>, groupKey?: Exclude<T, IHandle> | undefined) => void) | undefined;\n removeHandles?: (<T>(groupKey?: Exclude<T, IHandle> | undefined) => void) | undefined;\n hasHandles?: (<T>(groupKey?: Exclude<T, IHandle> | undefined) => boolean) | undefined;\n}"
12628
12643
  },
12629
12644
  {
12630
12645
  "name": "view",
12631
12646
  "description": "The view associated with the component. \n > **Note:** The recommended approach is to fully migrate applications to use map and scene components and avoid using MapView and SceneView directly. However, if you are migrating a large application from widgets to components, you might prefer a more gradual transition. To support this use case, the SDK includes this `view` property which connects a component to a MapView or SceneView. Ultimately, once migration is complete, the Print component will be associated with a map or scene component rather than using the `view` property.",
12632
12647
  "type": "MapView"
12633
- },
12634
- {
12635
- "name": "viewModel",
12636
- "type": "PrintViewModel"
12637
12648
  }
12638
12649
  ],
12639
12650
  "events": [
12651
+ {
12652
+ "name": "arcgisBrowseTemplatesChange",
12653
+ "type": "CollectionChangeEvent<CustomTemplate>",
12654
+ "description": "Emitted when the collection of browse templates changes."
12655
+ },
12640
12656
  {
12641
12657
  "name": "arcgisComplete",
12642
12658
  "type": "PrintCompleteEvent",
@@ -12652,6 +12668,11 @@
12652
12668
  "type": "void",
12653
12669
  "description": "Emitted when the component associated with a map or scene view is ready to be interacted with."
12654
12670
  },
12671
+ {
12672
+ "name": "arcgisSaveAs",
12673
+ "type": "FileLink",
12674
+ "description": "Emitted when the user saves an exported map printout."
12675
+ },
12655
12676
  {
12656
12677
  "name": "arcgisSubmit",
12657
12678
  "type": "PrintSubmitEvent",
package/dist/index.d.ts CHANGED
@@ -1123,9 +1123,11 @@ declare global {
1123
1123
  removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
1124
1124
  }
1125
1125
  interface HTMLArcgisPrintElementEventMap {
1126
+ "arcgisBrowseTemplatesChange": ArcgisPrint["arcgisBrowseTemplatesChange"]["detail"];
1126
1127
  "arcgisComplete": ArcgisPrint["arcgisComplete"]["detail"];
1127
1128
  "arcgisPropertyChange": ArcgisPrint["arcgisPropertyChange"]["detail"];
1128
1129
  "arcgisReady": ArcgisPrint["arcgisReady"]["detail"];
1130
+ "arcgisSaveAs": ArcgisPrint["arcgisSaveAs"]["detail"];
1129
1131
  "arcgisSubmit": ArcgisPrint["arcgisSubmit"]["detail"];
1130
1132
  }
1131
1133
 
package/dist/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { s, g as t } from "./chunks/runtime.js";
2
2
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
4
- v5.0.0-next.53 */
4
+ v5.0.0-next.55 */
5
5
  const a = s, A = t;
6
6
  export {
7
7
  A as getArcgisAssetPath,
package/dist/loader.js CHANGED
@@ -2,7 +2,7 @@ import { r as e } from "./chunks/runtime.js";
2
2
  import { makeDefineCustomElements as t } from "@arcgis/lumina";
3
3
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
4
4
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
5
- v5.0.0-next.53 */
5
+ v5.0.0-next.55 */
6
6
  const o = t(e, {
7
7
  "arcgis-area-measurement-2d": [() => import("./components/arcgis-area-measurement-2d/customElement.js"), "analysis:,autoDestroyDisabled,icon,label,position,referenceElement,state,unit,unitOptions:,view:;clear,destroy,start"],
8
8
  "arcgis-area-measurement-3d": [() => import("./components/arcgis-area-measurement-3d/customElement.js"), "analysis:,autoDestroyDisabled,icon,label,position,referenceElement,state,unit,unitOptions:,view:;clear,destroy,start"],
@@ -74,22 +74,22 @@ const o = t(e, {
74
74
  "arcgis-oriented-imagery-viewer": [() => import("./components/arcgis-oriented-imagery-viewer/customElement.js"), "autoDestroyDisabled,currentCoverageVisible,dataCaptureEnabled,disabled,galleryOpened,icon,imageEnhancementToolActive,imageGalleryEnabled:,imageOverlaysOpened,isAdditionalCoverageVisible,isAdditionalPointSourcesVisible,label,layer:,mapImageConversionToolState,navigationToolActive,orientedImageryLayerItemId,position,referenceElement,referencePoint:,view:;destroy"],
75
75
  "arcgis-placement": [() => import("./components/arcgis-placement/customElement.js"), "position,referenceElement,view:"],
76
76
  "arcgis-popup": [() => import("./components/arcgis-popup/customElement.js"), "actions:,active:,alignment,autoCloseEnabled,autoDestroyDisabled,collapsed:,content,currentAlignment:,currentDockPosition:,defaultPopupTemplateEnabled,dockEnabled,dockOptions:,featureCount:,featureMenuOpen,features:,goToOverride:,heading,headingLevel,hideActionBar,hideCloseButton,hideCollapseButton,hideFeatureListLayerTitle,hideFeatureMenuHeading,hideFeatureNavigation,hideHeading,hideSpinner,highlightDisabled,includeDefaultActionsDisabled,initialDisplayMode,label,location:,messageOverrides:,promises:,referenceElement,selectedDrillInFeature:,selectedFeature:,selectedFeatureComponent:,selectedFeatureIndex,state,updateLocationEnabled,view:,visible;clear,destroy,fetchFeatures,handleViewClick,next,open,previous,setFocus,triggerAction"],
77
- "arcgis-print": [() => import("./components/arcgis-print/customElement.js"), "allowedFormats,allowedFormatsForSaving,allowedLayouts,autoDestroyDisabled,autoPopulateAuthor,browseTemplateButtonOnClick:,excludeDefaultTemplates,excludeOrganizationTemplates,exportedLinks:,extraParameters,headingLevel,hideAdvancedOptions,hideHeader,icon,label,messageOverrides:,outSpatialReference:,portal:,position,printServiceUrl,referenceElement,saveAsButtonCallback:,showPrintAreaEnabled,state,templateCustomTextElements:,templateOptions:,view:,viewModel:;destroy"],
77
+ "arcgis-print": [() => import("./components/arcgis-print/customElement.js"), "allowedFormats,allowedFormatsForSaving,allowedLayouts,autoDestroyDisabled,autoPopulateAuthor,excludeDefaultTemplates,excludeOrganizationTemplates,exportedLinks:,extraParameters,headingLevel,hideAdvancedOptions,hideHeader,icon,label,messageOverrides:,outSpatialReference:,portal:,position,printServiceUrl,referenceElement,showPrintAreaEnabled,showSaveAs,state,templateCustomTextElements:,templateOptions:,view:;destroy;addPortalTemplate"],
78
78
  "arcgis-print-custom-text-elements": [() => import("./components/arcgis-print-custom-text-elements/customElement.js"), "viewModel:"],
79
79
  "arcgis-print-dpi-input": [() => import("./components/arcgis-print-dpi-input/customElement.js"), "messages:,viewModel:"],
80
80
  "arcgis-print-export-button": [() => import("./components/arcgis-print-export-button/customElement.js"), "fileName,messages:,selectExportsTab:,viewModel:"],
81
- "arcgis-print-exports-panel": [() => import("./components/arcgis-print-exports-panel/customElement.js"), "allowedFormatsForSaving,messages:,saveAsButtonCallback:,viewModel:"],
81
+ "arcgis-print-exports-panel": [() => import("./components/arcgis-print-exports-panel/customElement.js"), "allowedFormatsForSaving,arcgisSaveAs:,messages:,showSaveAs,viewModel:"],
82
82
  "arcgis-print-format-select": [() => import("./components/arcgis-print-format-select/customElement.js"), "messages:,viewModel:"],
83
83
  "arcgis-print-layout-advanced-options": [() => import("./components/arcgis-print-layout-advanced-options/customElement.js"), "autoPopulateAuthor,messages:,viewModel:"],
84
84
  "arcgis-print-layout-panel": [() => import("./components/arcgis-print-layout-panel/customElement.js"), "autoPopulateAuthor,hideAdvancedOptions,messages:,selectExportsTab:,showTemplateSelector:,viewModel:"],
85
- "arcgis-print-main-panel": [() => import("./components/arcgis-print-main-panel/customElement.js"), "allowedFormatsForSaving,autoPopulateAuthor,hideAdvancedOptions,messages:,saveAsButtonCallback:,showTemplateSelector:,viewModel:"],
85
+ "arcgis-print-main-panel": [() => import("./components/arcgis-print-main-panel/customElement.js"), "allowedFormatsForSaving,arcgisSaveAs:,autoPopulateAuthor,hideAdvancedOptions,messages:,showSaveAs,showTemplateSelector:,viewModel:"],
86
86
  "arcgis-print-map-only-advanced-options": [() => import("./components/arcgis-print-map-only-advanced-options/customElement.js"), "messages:,viewModel:"],
87
87
  "arcgis-print-map-only-panel": [() => import("./components/arcgis-print-map-only-panel/customElement.js"), "hideAdvancedOptions,messages:,selectExportsTab:,viewModel:"],
88
88
  "arcgis-print-out-spatial-reference-input": [() => import("./components/arcgis-print-out-spatial-reference-input/customElement.js"), "messages:,templateOptions:,viewModel:"],
89
89
  "arcgis-print-preview-input": [() => import("./components/arcgis-print-preview-input/customElement.js"), "messages:,viewModel:"],
90
90
  "arcgis-print-scale-section": [() => import("./components/arcgis-print-scale-section/customElement.js"), "messages:,viewModel:"],
91
91
  "arcgis-print-template-select": [() => import("./components/arcgis-print-template-select/customElement.js"), "messages:,showTemplateSelector:,viewModel:"],
92
- "arcgis-print-template-selector": [() => import("./components/arcgis-print-template-selector/customElement.js"), "browseTemplateButtonOnClick:,excludeOrganizationTemplates,hideTemplateSelector:,messages:,viewModel:"],
92
+ "arcgis-print-template-selector": [() => import("./components/arcgis-print-template-selector/customElement.js"), "excludeOrganizationTemplates,hideTemplateSelector:,messages:,viewModel:"],
93
93
  "arcgis-scale-bar": [() => import("./components/arcgis-scale-bar/customElement.js"), "autoDestroyDisabled,barStyle,icon,label,messageOverrides:,position,referenceElement,unit,view:;destroy"],
94
94
  "arcgis-scale-range-slider": [() => import("./components/arcgis-scale-range-slider/customElement.js"), "autoDestroyDisabled,disabled,hidePreview,hideScaleMenusMaxScaleMenu,hideScaleMenusMinScaleMenu,icon,label,layer:,maxScale,maxScaleLimit,minScale,minScaleLimit,mode,position,referenceElement,region:,showWorldValue,state,view:;destroy"],
95
95
  "arcgis-scene": [() => import("./components/arcgis-scene/customElement.js"), "allLayerViews:,alphaCompositingEnabled,analyses:,animationsDisabled,aria:,attributionItems:,autoDestroyDisabled,basemap,basemapView:,camera:,cameraFov,cameraHeading,cameraPosition,cameraTilt,center,clippingArea:,constraints:,displayFilterDisabled,environment:,extent:,fatalError:,floors:,focusAreas:,gamepad:,graphics:,ground,groundView:,highlightOptions:,highlights:,interacting:,itemId,layerViews:,loadErrorSources:,magnifier:,map:,navigating:,navigation:,padding:,performanceInfo:,popup:,popupDisabled,qualityProfile,ready:,resolution:,scale,spatialReference:,stationary:,suspended,theme:,timeExtent:,updating:,view:,viewingMode,viewpoint:,visibleArea:,zoom;addLayer,addLayers,addTable,addTables,closePopup,destroy,goTo,hitTest,openPopup,takeScreenshot,tryFatalErrorRecovery,viewOnReady,whenAnalysisView,whenLayerView;toMap,toScreen"],
@@ -356,12 +356,15 @@ interface LuminaArcgisPopup extends Partial<Pick<ArcgisPopup, 'actions' | 'align
356
356
  onarcgisTriggerAction?: EventHandler<HTMLArcgisPopupElement["arcgisTriggerAction"]>;
357
357
  }
358
358
 
359
- interface LuminaArcgisPrint extends Partial<Pick<ArcgisPrint, 'allowedFormats' | 'allowedFormatsForSaving' | 'allowedLayouts' | 'autoDestroyDisabled' | 'autoPopulateAuthor' | 'browseTemplateButtonOnClick' | 'excludeDefaultTemplates' | 'excludeOrganizationTemplates' | 'exportedLinks' | 'extraParameters' | 'headingLevel' | 'hideAdvancedOptions' | 'hideHeader' | 'icon' | 'label' | 'messageOverrides' | 'outSpatialReference' | 'portal' | 'position' | 'printServiceUrl' | 'referenceElement' | 'saveAsButtonCallback' | 'showPrintAreaEnabled' | 'templateCustomTextElements' | 'templateOptions' | 'view' | 'viewModel'>>, h.JSX.HTMLAttributes<HTMLArcgisPrintElement> {
359
+ interface LuminaArcgisPrint extends Partial<Pick<ArcgisPrint, 'allowedFormats' | 'allowedFormatsForSaving' | 'allowedLayouts' | 'autoDestroyDisabled' | 'autoPopulateAuthor' | 'excludeDefaultTemplates' | 'excludeOrganizationTemplates' | 'exportedLinks' | 'extraParameters' | 'headingLevel' | 'hideAdvancedOptions' | 'hideHeader' | 'icon' | 'label' | 'messageOverrides' | 'outSpatialReference' | 'portal' | 'position' | 'printServiceUrl' | 'referenceElement' | 'showPrintAreaEnabled' | 'showSaveAs' | 'templateCustomTextElements' | 'view'>>, ArcgisPrintSetterTypes, h.JSX.HTMLAttributes<HTMLArcgisPrintElement> {
360
+ onarcgisBrowseTemplatesChange?: EventHandler<HTMLArcgisPrintElement["arcgisBrowseTemplatesChange"]>;
360
361
  onarcgisComplete?: EventHandler<HTMLArcgisPrintElement["arcgisComplete"]>;
361
362
  onarcgisPropertyChange?: EventHandler<HTMLArcgisPrintElement["arcgisPropertyChange"]>;
362
363
  onarcgisReady?: EventHandler<HTMLArcgisPrintElement["arcgisReady"]>;
364
+ onarcgisSaveAs?: EventHandler<HTMLArcgisPrintElement["arcgisSaveAs"]>;
363
365
  onarcgisSubmit?: EventHandler<HTMLArcgisPrintElement["arcgisSubmit"]>;
364
366
  }
367
+ type ArcgisPrintSetterTypes = ArcgisPrint["_setterTypes"]
365
368
 
366
369
  interface LuminaArcgisScaleBar extends Partial<Pick<ArcgisScaleBar, 'autoDestroyDisabled' | 'barStyle' | 'icon' | 'label' | 'messageOverrides' | 'position' | 'referenceElement' | 'unit' | 'view'>>, h.JSX.HTMLAttributes<HTMLArcgisScaleBarElement> {
367
370
  onarcgisReady?: EventHandler<HTMLArcgisScaleBarElement["arcgisReady"]>;
@@ -357,12 +357,15 @@ interface PreactArcgisPopup extends Partial<Pick<ArcgisPopup, 'actions' | 'align
357
357
  onarcgisTriggerAction?: EventHandler<HTMLArcgisPopupElement["arcgisTriggerAction"]>;
358
358
  }
359
359
 
360
- interface PreactArcgisPrint extends Partial<Pick<ArcgisPrint, 'allowedFormats' | 'allowedFormatsForSaving' | 'allowedLayouts' | 'autoDestroyDisabled' | 'autoPopulateAuthor' | 'browseTemplateButtonOnClick' | 'excludeDefaultTemplates' | 'excludeOrganizationTemplates' | 'exportedLinks' | 'extraParameters' | 'headingLevel' | 'hideAdvancedOptions' | 'hideHeader' | 'icon' | 'label' | 'messageOverrides' | 'outSpatialReference' | 'portal' | 'position' | 'printServiceUrl' | 'referenceElement' | 'saveAsButtonCallback' | 'showPrintAreaEnabled' | 'templateCustomTextElements' | 'templateOptions' | 'view' | 'viewModel'>>, HTMLAttributes<HTMLArcgisPrintElement> {
360
+ interface PreactArcgisPrint extends Partial<Pick<ArcgisPrint, 'allowedFormats' | 'allowedFormatsForSaving' | 'allowedLayouts' | 'autoDestroyDisabled' | 'autoPopulateAuthor' | 'excludeDefaultTemplates' | 'excludeOrganizationTemplates' | 'exportedLinks' | 'extraParameters' | 'headingLevel' | 'hideAdvancedOptions' | 'hideHeader' | 'icon' | 'label' | 'messageOverrides' | 'outSpatialReference' | 'portal' | 'position' | 'printServiceUrl' | 'referenceElement' | 'showPrintAreaEnabled' | 'showSaveAs' | 'templateCustomTextElements' | 'view'>>, ArcgisPrintSetterTypes, HTMLAttributes<HTMLArcgisPrintElement> {
361
+ onarcgisBrowseTemplatesChange?: EventHandler<HTMLArcgisPrintElement["arcgisBrowseTemplatesChange"]>;
361
362
  onarcgisComplete?: EventHandler<HTMLArcgisPrintElement["arcgisComplete"]>;
362
363
  onarcgisPropertyChange?: EventHandler<HTMLArcgisPrintElement["arcgisPropertyChange"]>;
363
364
  onarcgisReady?: EventHandler<HTMLArcgisPrintElement["arcgisReady"]>;
365
+ onarcgisSaveAs?: EventHandler<HTMLArcgisPrintElement["arcgisSaveAs"]>;
364
366
  onarcgisSubmit?: EventHandler<HTMLArcgisPrintElement["arcgisSubmit"]>;
365
367
  }
368
+ type ArcgisPrintSetterTypes = ArcgisPrint["_setterTypes"]
366
369
 
367
370
  interface PreactArcgisScaleBar extends Partial<Pick<ArcgisScaleBar, 'autoDestroyDisabled' | 'barStyle' | 'icon' | 'label' | 'messageOverrides' | 'position' | 'referenceElement' | 'unit' | 'view'>>, HTMLAttributes<HTMLArcgisScaleBarElement> {
368
371
  onarcgisReady?: EventHandler<HTMLArcgisScaleBarElement["arcgisReady"]>;
@@ -399,12 +399,15 @@ interface PreactArcgisPopup extends Partial<Pick<ArcgisPopup, 'actions' | 'align
399
399
  }
400
400
 
401
401
  /** @deprecated Update to Preact 10.27.2+ or 11+ and consume types/preact file over types/preact10 */
402
- interface PreactArcgisPrint extends Partial<Pick<ArcgisPrint, 'allowedFormats' | 'allowedFormatsForSaving' | 'allowedLayouts' | 'autoDestroyDisabled' | 'autoPopulateAuthor' | 'browseTemplateButtonOnClick' | 'excludeDefaultTemplates' | 'excludeOrganizationTemplates' | 'exportedLinks' | 'extraParameters' | 'headingLevel' | 'hideAdvancedOptions' | 'hideHeader' | 'icon' | 'label' | 'messageOverrides' | 'outSpatialReference' | 'portal' | 'position' | 'printServiceUrl' | 'referenceElement' | 'saveAsButtonCallback' | 'showPrintAreaEnabled' | 'templateCustomTextElements' | 'templateOptions' | 'view' | 'viewModel'>>, PreactJsx.HTMLAttributes<HTMLArcgisPrintElement> {
402
+ interface PreactArcgisPrint extends Partial<Pick<ArcgisPrint, 'allowedFormats' | 'allowedFormatsForSaving' | 'allowedLayouts' | 'autoDestroyDisabled' | 'autoPopulateAuthor' | 'excludeDefaultTemplates' | 'excludeOrganizationTemplates' | 'exportedLinks' | 'extraParameters' | 'headingLevel' | 'hideAdvancedOptions' | 'hideHeader' | 'icon' | 'label' | 'messageOverrides' | 'outSpatialReference' | 'portal' | 'position' | 'printServiceUrl' | 'referenceElement' | 'showPrintAreaEnabled' | 'showSaveAs' | 'templateCustomTextElements' | 'view'>>, ArcgisPrintSetterTypes, PreactJsx.HTMLAttributes<HTMLArcgisPrintElement> {
403
+ onarcgisBrowseTemplatesChange?: EventHandler<HTMLArcgisPrintElement["arcgisBrowseTemplatesChange"]>;
403
404
  onarcgisComplete?: EventHandler<HTMLArcgisPrintElement["arcgisComplete"]>;
404
405
  onarcgisPropertyChange?: EventHandler<HTMLArcgisPrintElement["arcgisPropertyChange"]>;
405
406
  onarcgisReady?: EventHandler<HTMLArcgisPrintElement["arcgisReady"]>;
407
+ onarcgisSaveAs?: EventHandler<HTMLArcgisPrintElement["arcgisSaveAs"]>;
406
408
  onarcgisSubmit?: EventHandler<HTMLArcgisPrintElement["arcgisSubmit"]>;
407
409
  }
410
+ type ArcgisPrintSetterTypes = ArcgisPrint["_setterTypes"]
408
411
 
409
412
  /** @deprecated Update to Preact 10.27.2+ or 11+ and consume types/preact file over types/preact10 */
410
413
  interface PreactArcgisScaleBar extends Partial<Pick<ArcgisScaleBar, 'autoDestroyDisabled' | 'barStyle' | 'icon' | 'label' | 'messageOverrides' | 'position' | 'referenceElement' | 'unit' | 'view'>>, PreactJsx.HTMLAttributes<HTMLArcgisScaleBarElement> {
@@ -357,12 +357,15 @@ interface ReactArcgisPopup extends Partial<Pick<ArcgisPopup, 'actions' | 'alignm
357
357
  onarcgisTriggerAction?: EventHandler<HTMLArcgisPopupElement["arcgisTriggerAction"]>;
358
358
  }
359
359
 
360
- interface ReactArcgisPrint extends Partial<Pick<ArcgisPrint, 'allowedFormats' | 'allowedFormatsForSaving' | 'allowedLayouts' | 'autoDestroyDisabled' | 'autoPopulateAuthor' | 'browseTemplateButtonOnClick' | 'excludeDefaultTemplates' | 'excludeOrganizationTemplates' | 'exportedLinks' | 'extraParameters' | 'headingLevel' | 'hideAdvancedOptions' | 'hideHeader' | 'icon' | 'label' | 'messageOverrides' | 'outSpatialReference' | 'portal' | 'position' | 'printServiceUrl' | 'referenceElement' | 'saveAsButtonCallback' | 'showPrintAreaEnabled' | 'templateCustomTextElements' | 'templateOptions' | 'view' | 'viewModel'>>, HTMLProps<HTMLArcgisPrintElement> {
360
+ interface ReactArcgisPrint extends Partial<Pick<ArcgisPrint, 'allowedFormats' | 'allowedFormatsForSaving' | 'allowedLayouts' | 'autoDestroyDisabled' | 'autoPopulateAuthor' | 'excludeDefaultTemplates' | 'excludeOrganizationTemplates' | 'exportedLinks' | 'extraParameters' | 'headingLevel' | 'hideAdvancedOptions' | 'hideHeader' | 'icon' | 'label' | 'messageOverrides' | 'outSpatialReference' | 'portal' | 'position' | 'printServiceUrl' | 'referenceElement' | 'showPrintAreaEnabled' | 'showSaveAs' | 'templateCustomTextElements' | 'view'>>, ArcgisPrintSetterTypes, HTMLProps<HTMLArcgisPrintElement> {
361
+ onarcgisBrowseTemplatesChange?: EventHandler<HTMLArcgisPrintElement["arcgisBrowseTemplatesChange"]>;
361
362
  onarcgisComplete?: EventHandler<HTMLArcgisPrintElement["arcgisComplete"]>;
362
363
  onarcgisPropertyChange?: EventHandler<HTMLArcgisPrintElement["arcgisPropertyChange"]>;
363
364
  onarcgisReady?: EventHandler<HTMLArcgisPrintElement["arcgisReady"]>;
365
+ onarcgisSaveAs?: EventHandler<HTMLArcgisPrintElement["arcgisSaveAs"]>;
364
366
  onarcgisSubmit?: EventHandler<HTMLArcgisPrintElement["arcgisSubmit"]>;
365
367
  }
368
+ type ArcgisPrintSetterTypes = ArcgisPrint["_setterTypes"]
366
369
 
367
370
  interface ReactArcgisScaleBar extends Partial<Pick<ArcgisScaleBar, 'autoDestroyDisabled' | 'barStyle' | 'icon' | 'label' | 'messageOverrides' | 'position' | 'referenceElement' | 'unit' | 'view'>>, HTMLProps<HTMLArcgisScaleBarElement> {
368
371
  onarcgisReady?: EventHandler<HTMLArcgisScaleBarElement["arcgisReady"]>;
@@ -357,12 +357,15 @@ interface StencilArcgisPopup extends Partial<Pick<ArcgisPopup, 'actions' | 'alig
357
357
  onArcgisTriggerAction?: EventHandler<HTMLArcgisPopupElement["arcgisTriggerAction"]>;
358
358
  }
359
359
 
360
- interface StencilArcgisPrint extends Partial<Pick<ArcgisPrint, 'allowedFormats' | 'allowedFormatsForSaving' | 'allowedLayouts' | 'autoDestroyDisabled' | 'autoPopulateAuthor' | 'browseTemplateButtonOnClick' | 'excludeDefaultTemplates' | 'excludeOrganizationTemplates' | 'exportedLinks' | 'extraParameters' | 'headingLevel' | 'hideAdvancedOptions' | 'hideHeader' | 'icon' | 'label' | 'messageOverrides' | 'outSpatialReference' | 'portal' | 'position' | 'printServiceUrl' | 'referenceElement' | 'saveAsButtonCallback' | 'showPrintAreaEnabled' | 'templateCustomTextElements' | 'templateOptions' | 'view' | 'viewModel'>>, StencilJsx.HTMLAttributes<HTMLArcgisPrintElement> {
360
+ interface StencilArcgisPrint extends Partial<Pick<ArcgisPrint, 'allowedFormats' | 'allowedFormatsForSaving' | 'allowedLayouts' | 'autoDestroyDisabled' | 'autoPopulateAuthor' | 'excludeDefaultTemplates' | 'excludeOrganizationTemplates' | 'exportedLinks' | 'extraParameters' | 'headingLevel' | 'hideAdvancedOptions' | 'hideHeader' | 'icon' | 'label' | 'messageOverrides' | 'outSpatialReference' | 'portal' | 'position' | 'printServiceUrl' | 'referenceElement' | 'showPrintAreaEnabled' | 'showSaveAs' | 'templateCustomTextElements' | 'view'>>, ArcgisPrintSetterTypes, StencilJsx.HTMLAttributes<HTMLArcgisPrintElement> {
361
+ onArcgisBrowseTemplatesChange?: EventHandler<HTMLArcgisPrintElement["arcgisBrowseTemplatesChange"]>;
361
362
  onArcgisComplete?: EventHandler<HTMLArcgisPrintElement["arcgisComplete"]>;
362
363
  onArcgisPropertyChange?: EventHandler<HTMLArcgisPrintElement["arcgisPropertyChange"]>;
363
364
  onArcgisReady?: EventHandler<HTMLArcgisPrintElement["arcgisReady"]>;
365
+ onArcgisSaveAs?: EventHandler<HTMLArcgisPrintElement["arcgisSaveAs"]>;
364
366
  onArcgisSubmit?: EventHandler<HTMLArcgisPrintElement["arcgisSubmit"]>;
365
367
  }
368
+ type ArcgisPrintSetterTypes = ArcgisPrint["_setterTypes"]
366
369
 
367
370
  interface StencilArcgisScaleBar extends Partial<Pick<ArcgisScaleBar, 'autoDestroyDisabled' | 'barStyle' | 'icon' | 'label' | 'messageOverrides' | 'position' | 'referenceElement' | 'unit' | 'view'>>, StencilJsx.HTMLAttributes<HTMLArcgisScaleBarElement> {
368
371
  onArcgisReady?: EventHandler<HTMLArcgisScaleBarElement["arcgisReady"]>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arcgis/map-components",
3
- "version": "5.0.0-next.53",
3
+ "version": "5.0.0-next.55",
4
4
  "description": "ArcGIS Map Components",
5
5
  "keywords": [
6
6
  "ArcGIS",
@@ -43,8 +43,8 @@
43
43
  "license": "SEE LICENSE IN LICENSE.md",
44
44
  "dependencies": {
45
45
  "@amcharts/amcharts5": "~5.14.4",
46
- "@arcgis/lumina": "5.0.0-next.53",
47
- "@arcgis/toolkit": "5.0.0-next.53",
46
+ "@arcgis/lumina": "5.0.0-next.55",
47
+ "@arcgis/toolkit": "5.0.0-next.55",
48
48
  "lit": "^3.3.0",
49
49
  "tslib": "^2.8.1"
50
50
  },
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.53 */
4
- export default $arcgis.t(([{formatNumber:r}])=>{var p=new Map([["a3-landscape","a3-landscape"],["a3-portrait","a3-portrait"],["a4-landscape","a4-landscape"],["a4-portrait","a4-portrait"],["letter-ansi-a-landscape","ansi-a-landscape"],["letter-ansi-a-portrait","ansi-a-portrait"],["tabloid-ansi-b-landscape","ansi-b-landscape"],["tabloid-ansi-b-portrait","ansi-b-portrait"]]),c=/^https:\/\/([a-z\d-]+)(\.maps([^.]*))?\.arcgis\.com/iu;function u(a){if(!a)return;let t=a.layoutTemplateInfo;if(!t)return;let[e,n]=t.pageSize;return`${r(e)} \xD7 ${r(n)} ${a.pageUnits}`}function d(a,t){let{label:e,layout:n,layoutItem:i,type:s}=a;return s==="print-service-template"&&t[n]?t[n]:(e??n??i?.id)?.replaceAll("_"," ")??t.untitled}function f(a){return p.get(a)}var g=new Map([["AIX","aix"],["EPS","eps"],["GIF","gif"],["JPG","jpg"],["PDF","pdf"],["PNG32","png32"],["PNG8","png8"],["SVG","svg"],["SVGZ","svgz"],["TIFF","tiff"]]),o="map-only";function m(a){return a?.toLowerCase()===o}return{a:c,b:u,c:d,d:f,e:g,f:m}},"intl")
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.53 */
4
- import{I as V,J as d,O as I,b as s,g as p,s as t}from"./EDYXMZEW.js";import"./QDN3MCIF.js";var g=class extends V{constructor(){super(...arguments),this._showInvalidVersionNotice=!0,this.arcgisCreateVersionList=t(),this.arcgisFlowItemBack=t(),this.arcgisFlowItemClose=t(),this.arcgisGetVersions=t(),this.arcgisManageVersion=t(),this.arcgisNewVersion=t()}static{this.properties={_showInvalidVersionNotice:16,serviceItemElementProps:0}}disconnectedCallback(){super.disconnectedCallback(),this.versionListContainer?.remove()}render(){let{serviceItemElementProps:{allowEditing:$,closable:b,currentUser:f,executionError:u,currentVersionIdentifier:a,flowElement:w,heading:N,isInitialVersionInvalid:C,isVersionAdministrator:E,isVersioningApiAvailable:x,mode:A,pageSize:k,serviceName:n,serviceUrl:c,state:L,strings:o,versionInfos:r}}=this,{_versionList:l}=this,M=C.get(c)&&this._showInvalidVersionNotice?s`<calcite-notice class=${d(this._showInvalidVersionNotice?"invalid-initial-version-notice":"")} closable kind=warning open scale=s width=full icon @calciteNoticeClose=${()=>this._showInvalidVersionNotice=!1}><div slot=title>${o.headers.invalidInitialVersion}</div><div slot=message>${o.loadErrors.invalidInitialVersion}</div></calcite-notice>`:void 0,U=s`<calcite-combobox clear-disabled .label=${n} max-items=5 overlay-positioning=fixed selection-mode=single-persist @calciteComboboxChange=${i=>{let m=i.target,e=r.find(_=>_.versionIdentifier.guid===m.value);this.arcgisManageVersion.emit({actionType:"changeVersion",serviceUrl:c,versionInfo:e})}}>${r?r.map(i=>s`<calcite-combobox-item class=${d(A==="dialog"?"":"calcite-combobox-item")} .selected=${a.guid===i.versionIdentifier.guid&&a.name===i.versionIdentifier.name} .textLabel=${i.versionIdentifier.name} .value=${i.versionIdentifier.guid}></calcite-combobox-item>`):void 0}</calcite-combobox>`,v,h;return $&&(v=s`<calcite-action .id=${`actionManageVersions_${n}`} icon=list scale=s slot=control text @click=${async()=>{let i={closable:b,currentUser:f,currentVersionIdentifier:a,executionError:u,heading:N,isVersionAdministrator:E,isVersioningApiAvailable:x,pageSize:k,serviceName:n,serviceUrl:c,state:L,strings:o,versionInfos:r};this.versionListContainer=document.createElement("div");let m=p(s`<arcgis-version-management-version-list .versionListElementProps=${i} selected show-back-button @arcgisFlowItemBack=${e=>{e.preventDefault(),this.arcgisFlowItemBack.emit()}} @arcgisFlowItemClose=${()=>this.arcgisFlowItemClose.emit()} @arcgisGetVersions=${e=>this.arcgisGetVersions.emit({serviceUrl:e.detail.serviceUrl})} @arcgisManageVersion=${e=>this.arcgisManageVersion.emit(e.detail)} @arcgisNewVersion=${e=>this.arcgisNewVersion.emit({serviceUrl:e.detail.serviceUrl})}></arcgis-version-management-version-list>`,this.versionListContainer);l=Array.from(m.parentNode.childNodes).find(e=>e.nodeName.toUpperCase()==="ARCGIS-VERSION-MANAGEMENT-VERSION-LIST"),w?.append(l),this.arcgisCreateVersionList.emit(l)}}></calcite-action>`,h=s`<calcite-tooltip overlay-positioning=fixed .referenceElement=${`actionManageVersions_${n}`}><span>${o.headers.manageVersions}</span></calcite-tooltip>`),s`<calcite-block open .heading=${n}>${M}${U}${v}${h}</calcite-block>`}};I("arcgis-version-management-service-item",g);export{g as ArcgisVersionManagementServiceItem};
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.53 */
4
- import a from"./Y3KUKAL7.js";import"./D3VCURAU.js";import"./EDYXMZEW.js";import"./QDN3MCIF.js";export default $arcgis.t(([a])=>{return a},a)
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.53 */
4
- import b from"./HCVZ6VFZ.js";import{a as _}from"./RYD5DFKJ.js";import"./MZU6SFAT.js";import"./MLMQDMFS.js";import{I as g,J as i,L as v,O as w,a as h,b as a}from"./EDYXMZEW.js";import"./QDN3MCIF.js";export default $arcgis.t(([{watch:y},{a:$,b:f,c:T,d:b,f:m}])=>{var x=h`:host{overflow-y:hidden;display:flex;flex:1 0}.arcgis-print__template-select-flow-item-container{display:flex;flex-direction:column;justify-content:space-between;overflow-y:hidden;flex-grow:1}.arcgis-print__template-select-flow-item-container .arcgis-print__template-select-flow-item-content{display:flex;flex-direction:column;overflow-y:auto;flex:1 0}.arcgis-print__template-select-flow-item-container .arcgis-print__template-select-flow-item-content .arcgis-print__template-select-flow-item-list-heading{display:flex;gap:var(--calcite-spacing-xs);align-items:center;padding:var(--calcite-spacing-md) var(--calcite-spacing-lg);background-color:var(--calcite-color-foreground-2);border-bottom:1px solid var(--calcite-color-border-3);font-weight:var(--calcite-font-weight-semibold)}.arcgis-print__template-button-container{padding:var(--calcite-spacing-md)}.arcgis-print__template-done-button{width:100%}.arcgis-print__browse-template-button-container{padding:var(--calcite-spacing-md)}.arcgis-print__browse-template-button-container-filter{margin-right:var(--calcite-spacing-md)}`,o="arcgis-print",s={templateSelectError:`${o}__template-select-error`,templateButtonContainer:`${o}__template-button-container`,templateDoneButton:`${o}__template-done-button`,templateSelectFlowItemContainer:`${o}__template-select-flow-item-container`,templateSelectFlowItemContent:`${o}__template-select-flow-item-content`,templateSelectFlowItemListHeading:`${o}__template-select-flow-item-list-heading`,browseTemplateButtonContainer:`${o}__browse-template-button-container`,browseTemplateButtonContainerFilter:`${o}__browse-template-button-container-filter`},d=class extends g{constructor(){super(...arguments),this._handles=_("disconnect")}static{this.properties={_selectedTemplate:16,excludeOrganizationTemplates:5,browseTemplateButtonOnClick:0,viewModel:0,messages:0,hideTemplateSelector:0}}static{this.styles=x}loaded(){this.manager.onLifecycle(()=>[y(()=>this.viewModel.templateOptions.id,e=>{this._handles.removeHandles("template-handle"),this._selectedTemplate=e?this.viewModel.getLayoutTemplateById(e)??void 0:void 0,this._handles.addHandles(y(()=>this._selectedTemplate?.state,()=>this.requestUpdate(),{initial:!0}),"template-handle")},{initial:!0})])}_getPortalTemplates(){let{portalTemplateIds:e}=this.viewModel;return this.viewModel.includeDefaultTemplates&&!this.excludeOrganizationTemplates?this.viewModel.defaultTemplates.toArray().filter(({layout:n,layoutItem:l})=>!m(n)&&!!l?.id&&e.includes(l.id)):[]}_getDefaultTemplates(){let{portalTemplateIds:e}=this.viewModel;return this.viewModel.includeDefaultTemplates?this.viewModel.defaultTemplates.toArray().filter(({layout:n,layoutItem:l})=>!m(n)&&(!l?.id||!e.includes(l.id))):[]}_getPrintServiceTemplates(){return!this.viewModel.includeDefaultTemplates||!this._getDefaultTemplates().length?this.viewModel.printServiceTemplates.toArray().filter(({layout:e})=>!m(e)):[]}render(){let{messages:e}=this,n=$.test(this.viewModel.portal?.url),l=this.viewModel.browseTemplates.toArray(),t=this._getPortalTemplates(),c=this._getDefaultTemplates(),p=this._getPrintServiceTemplates(),r=l.length+t.length+c.length+p.length>15,u=this.browseTemplateButtonOnClick?a`<calcite-button appearance=outline class=${i(r?s.browseTemplateButtonContainerFilter:s.browseTemplateButtonContainer)} icon-start=folder @click=${this.browseTemplateButtonOnClick} .slot=${r?"filter-actions-end":"default"}>${r?null:e.browseTemplates}</calcite-button>`:null;return a`<div class=${i(s.templateSelectFlowItemContainer)}><div class=${i(s.templateSelectFlowItemContent)}>${r?null:u}<calcite-list .filterEnabled=${r} .filterProps=${["label"]} .label=${e.templateList} selection-mode=single-persist @calciteListChange=${({currentTarget:L})=>this.viewModel.applyTemplate(L.selectedItems[0]?.value)}>${r?u:null}${l.length?a`<div><div class=${i(s.templateSelectFlowItemListHeading)}>${e.myTemplates}${n?a`<calcite-chip appearance=outline kind=neutral .label=${e.beta} scale=s>${e.beta}</calcite-chip>`:null}</div>${this._renderLayoutTemplates(l,!0,!0)}</div>`:null}${t.length?a`<div><div class=${i(s.templateSelectFlowItemListHeading)}>${e.organizationTemplates}${n?a`<calcite-chip appearance=outline kind=neutral .label=${e.beta} scale=s>${e.beta}</calcite-chip>`:null}</div>${this._renderLayoutTemplates(t)}</div>`:null}${l.length||t.length?c.length?a`<div><div class=${i(s.templateSelectFlowItemListHeading)}>${e.defaultTemplates}</div>${this._renderLayoutTemplates(c,!0)}</div>`:null:this._renderLayoutTemplates(c,!0)}${l.length||t.length?p.length?a`<div><div class=${i(s.templateSelectFlowItemListHeading)}>${e.defaultTemplates}</div>${this._renderLayoutTemplates(p)}</div>`:null:this._renderLayoutTemplates(p)}</calcite-list></div><div class=${i(s.templateButtonContainer)}><calcite-button class=${i(s.templateDoneButton)} @click=${this.hideTemplateSelector}>Done</calcite-button></div></div>`}_renderLayoutTemplates(e,n=!1,l=!1){return n&&e.sort((t,c)=>(t.label??"")>(c.label??"")?1:-1),e.map(t=>a`<calcite-list-item .description=${f(t)} .label=${T(t,this.messages)} .selected=${t.id===this.viewModel.templateOptions.id} title=${t.description??""??v} .value=${t}><calcite-icon .icon=${(t.layout?b(t.layout):null)||"custom-print"} slot=content-start></calcite-icon>${t.state==="loading"?a`<calcite-loader inline label=loading scale=s slot=content-end></calcite-loader>`:null}${t?.state==="error"?a`<calcite-icon class=${i(s.templateSelectError)} icon=exclamation-mark-circle scale=s slot=content-end></calcite-icon>`:null}${l?a`<calcite-action icon=trash @click=${()=>this.viewModel.removePortalTemplate(t)} slot=actions-end text=delete></calcite-action>`:null}</calcite-list-item>`)}};w("arcgis-print-template-selector",d);return d},"core/reactiveUtils",b)
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.53 */
4
- import{b as h}from"./MLMQDMFS.js";import{I as f,J as a,L as u,O as g,a as x,b as n}from"./EDYXMZEW.js";import"./QDN3MCIF.js";export default $arcgis.t(([{whenOnce:_}])=>{var v=(o,e,i=!1)=>{if(!o||!e)return!1;let t=new URL(o),r=new URL(e);return!i&&t.protocol!==r.protocol||t.host==null||r.host==null?!1:t.host.toLowerCase()===r.host.toLowerCase()&&t.port===r.port};var b=x`.arcgis-print__export-section{padding:var(--calcite-spacing-xxs)}.arcgis-print__export-section--centered{text-align:center}.arcgis-print__exported-files-empty{display:flex;flex-direction:column;align-items:center;padding:var(--calcite-spacing-lg) var(--calcite-spacing-sm);font-size:small}.arcgis-print__export-title{font-weight:700;font-size:var(--calcite-font-size)}.arcgis-print__exported-file{display:flex;align-items:center;justify-content:space-between}.arcgis-print__exported-file-link-title,.arcgis-print__exported-file-link-description{word-wrap:break-word;word-break:break-all;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical}`,c="arcgis-print",p={exportSection:`${c}__export-section`,exportedFilesEmpty:`${c}__exported-files-empty`,exportedFilesTitle:`${c}__export-title`,exportSectionCentered:`${c}__export-section--centered`,exportedFile:`${c}__exported-file`,exportedFileLinkTitle:`${c}__exported-file-link-title`,exportedFileLinkDescription:`${c}__exported-file-link-description`};function L(o){let{state:e,extension:i}=o;switch(e){case"pending":return"spinner";case"error":return"exclamation-mark-circle";default:return i?.toLowerCase()?.includes("pdf")?"file-pdf":"file"}}function $(o,e){return!o||o==="all"||!!(e&&o.includes(e))}var m=class extends f{constructor(){super(...arguments),this._handleLinkClick=e=>{if(!e||e.state!=="ready"||!e.url)return;let i=e.url,t=document.createElement("a");t.target="_blank",t.href=i,t.rel="noreferrer",t.download=e.formattedName??"";{t.click();return}}}static{this.properties={saveAsButtonCallback:0,viewModel:0,messages:0,allowedFormatsForSaving:1}}static{this.styles=b}loaded(){this.manager.onLifecycle(()=>[this.viewModel.exportedLinks.on("change",()=>this.requestUpdate())])}render(){let e=this.viewModel.exportedLinks,i={[p.exportSectionCentered]:!e.length};return n`<section class=${a(h(p.exportSection,i))}>${e.length===0?n`<div class=${a(p.exportedFilesEmpty)}><calcite-icon icon=file scale=l></calcite-icon><div><p class=${a(p.exportedFilesTitle)}>${this.messages.noExportedFiles}</p><div>${this.messages.exportHint}</div></div></div>`:n`<calcite-list .filterEnabled=${e.length>10} .label=${this.messages.exportedLinksList} selection-mode=none>${e.map(t=>n`<calcite-list-item .label=${t.formattedName??""}>${this._renderExportedLinkItemContent(t)}${this._renderExportedLinkItemIcon(t)}${this._renderExportedLinkItemAction(t)}</calcite-list-item>${this._renderExportedLinkItemPopover(t)}`)}</calcite-list>`}</section>`}_renderExportedLinkItemPopover(e){let i=this.messages,t=e.formattedName??"",{state:r}=e,d=this.saveAsButtonCallback&&r!=="error"&&$(this.allowedFormatsForSaving,e.extension);return r!=="pending"&&d?n`<calcite-popover auto-close label=Popover offset-distance=1 overlay-positioning=fixed pointer-disabled .referenceElement=${`${t}-popover-button`} scale=s><calcite-list label>${e.portalItem?n`<calcite-list-item .label=${i.openItem} @calciteListItemSelect=${()=>{let s=e.portalItem;if(!s?.itemPageUrl)return;let l=document.createElement("a");l.target="_blank",l.href=s.itemPageUrl,l.rel="noreferrer",l.click()}}><calcite-icon icon=launch2 scale=s slot=content-start></calcite-icon></calcite-list-item>`:n`<calcite-list-item .label=${i.saveAs} @calciteListItemSelect=${async()=>{this.saveAsButtonCallback&&(_(()=>e.portalItem).then(s=>{s.itemPageUrl&&this.requestUpdate()}),await this.saveAsButtonCallback(e))}}><calcite-icon icon=save scale=s slot=content-start></calcite-icon></calcite-list-item>`}<calcite-list-item label=Delete @calciteListItemSelect=${()=>this.viewModel.exportedLinks.remove(e)}><calcite-icon icon=trash scale=s slot=content-start></calcite-icon></calcite-list-item></calcite-list></calcite-popover>`:null}_renderExportedLinkItemContent(e){let i=this.messages,{url:t,state:r,error:d}=e,s=e.formattedName??"",l=v(t||null,document.location.href),k=r==="error"?d?.name==="print-task:cim-symbol-unsupported"?i.exportWebMapCIMError:i.exportWebMapError:null;return n`<div class=${a(p.exportedFile)} slot=content @click=${()=>this._handleLinkClick(e)}><div><div class=${a(p.exportedFileLinkTitle)}>${s}</div><div class=${a(p.exportedFileLinkDescription)}>${r==="pending"?i.generatingExport:k||(l?i.ready:i.linkReady)}</div></div>${r==="ready"?n`<calcite-icon .ariaLabel=${`${s}. ${i.linkReady}`} .icon=${l?"download-to":"launch"} scale=s slot=content-end></calcite-icon>`:null}</div>`}_renderExportedLinkItemIcon(e){return e.state==="pending"?n`<calcite-loader inline .label=${this.messages.generatingExport} scale=m slot=content-start></calcite-loader>`:n`<calcite-icon .icon=${L(e)} scale=s slot=content-start></calcite-icon>`}_renderExportedLinkItemAction(e){let{state:i}=e,t=e.formattedName??"",r=this.saveAsButtonCallback&&i!=="error"&&$(this.allowedFormatsForSaving,e.extension);return i!=="pending"?n`<calcite-action .icon=${r?"ellipsis":"x"} id=${(r?`${t}-popover-button`:void 0)??u} @click=${r?void 0:()=>{this.viewModel.exportedLinks.remove(e)}} slot=actions-end .text=${r?"options":"remove"}></calcite-action>`:null}};g("arcgis-print-exports-panel",m);return m},"core/reactiveUtils")
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.53 */
4
- import{G as E,H as x,I as P,O as U,a as k,b as t,f as C,s as g}from"./EDYXMZEW.js";import"./QDN3MCIF.js";var M=k`:host{display:none;background:#bdf2c4}:host([selected]){display:flex}calcite-block{margin-block:0}calcite-pagination{justify-content:center}`,w=class extends P{constructor(){super(...arguments),this._filterInputElement=E(),this._flowItemElement=E(),this.currentPage=1,this.selected=!1,this.showBackButton=!1,this.arcgisFlowItemBack=g(),this.arcgisFlowItemClose=g(),this.arcgisGetVersions=g(),this.arcgisManageVersion=g(),this.arcgisNewVersion=g()}static{this.properties={_filteredVersionInfos:16,currentPage:11,selected:7,showBackButton:7,versionListElementProps:0}}static{this.styles=M}load(){this._filteredVersionInfos=this.versionListElementProps.versionInfos}willUpdate(e){if(e.has("versionListElementProps")){let i=e.get("versionListElementProps"),s=this.versionListElementProps;i?.versionInfos!==s.versionInfos&&(this._filteredVersionInfos=s.versionInfos,this._filterInputElement.value&&this._handleFilterChange())}}updated(){this._filterInputElement.value?.setFocus()}async setFocus(){this._flowItemElement.value?.setFocus()}goBack(){}_handleFilterChange(){let{versionListElementProps:{versionInfos:e}}=this,i=this._filterInputElement.value.value.toUpperCase();this._filteredVersionInfos=i===""?e:e.filter(s=>s.versionIdentifier.name.toUpperCase().includes(i)||s.versionIdentifier.guid.toUpperCase().includes(i)),this._filteredVersionInfos.length&&(this.currentPage=1)}_handleNoticeClosed(){this.versionListElementProps={...this.versionListElementProps,executionError:void 0}}_handlePaginationChange(e){this.currentPage=e.target.startItem}_getExecutionError(e){let{versionListElementProps:{strings:{executionErrors:i}}}=this;switch(e){case"no-feature-service-found":return i.noFeatureServiceFound;case"no-valid-enterprise-version":return i.notValidEnterpriseVersion;case"no-valid-version-name":return i.invalidVersionName;default:return e}}_paginate(e,i,s){return e.slice((s-1)*i,s*i)}render(){let{currentPage:e,selected:i,showBackButton:s,versionListElementProps:{closable:u,currentUser:v,currentVersionIdentifier:c,executionError:l,heading:n,isVersionAdministrator:d,isVersioningApiAvailable:p,pageSize:r,serviceName:m,serviceUrl:h,state:f,strings:{headers:a},strings:o,versionInfos:$}}=this,I=t`<calcite-block .heading=${a.currentVersion} .description=${c.name} overlay-positioning=fixed></calcite-block>`,V=t`<calcite-action id=actionRefreshVersions icon=refresh text @click=${()=>this.arcgisGetVersions.emit({serviceUrl:h})} slot=header-actions-end><calcite-tooltip overlay-positioning=fixed reference-element=actionRefreshVersions><span>${o.actions.refreshVersions}</span></calcite-tooltip></calcite-action>`;this._paginatedVersionInfos=this._filteredVersionInfos.length>r?this._paginate(this._filteredVersionInfos,r,e):this._filteredVersionInfos;let _=this._filteredVersionInfos.length>r?t`<calcite-pagination @calcitePaginationChange=${this._handlePaginationChange} page-size=1 .startItem=${e} .totalItems=${Math.ceil(this._filteredVersionInfos.length/r)}></calcite-pagination>`:void 0,b=this._paginate(this._paginatedVersionInfos,r,1).map(A=>{let T={currentUser:v,currentVersionIdentifier:c,isCurrentVersionCard:!1,isVersionAdministrator:d,isVersioningApiAvailable:p,serviceUrl:h,strings:o,versionInfo:A};return this._renderListItem(T)}),F=$.length>r?t`<calcite-block heading .label=${a.filterVersions} open><calcite-input-text clearable icon=search @calciteInputTextInput=${this._handleFilterChange} .placeholder=${o.actions.searchVersions} ${x(this._filterInputElement)}></calcite-input-text></calcite-block>`:void 0,L=t`<calcite-list .label=${o.labels.versionList}>${b}</calcite-list>`,y=p?t`<calcite-fab appearance=outline-fill slot=fab text-enabled .text=${o.actions.newVersion} @click=${()=>this.arcgisNewVersion.emit({serviceUrl:h})}></calcite-fab>`:void 0,B=l?t`<calcite-notice @calciteNoticeClose=${this._handleNoticeClosed} class="notice" closable kind=warning open scale=s slot=footer width=full><div slot=message>${this._getExecutionError(l)}</div></calcite-notice>`:void 0;return t`<calcite-flow-item .closable=${u} .description=${m} .heading=${n} .selected=${i} .showBackButton=${s} @calciteFlowItemBack=${()=>this.arcgisFlowItemBack.emit()} @calciteFlowItemClose=${()=>this.arcgisFlowItemClose.emit()} ${x(this._flowItemElement)}><calcite-panel .loading=${f==="executing"}>${I}<calcite-panel .heading=${this._filteredVersionInfos.length?`${o.headers.manageVersions} (${this._filteredVersionInfos.length})`:o.headers.manageVersions}>${V}${F}${L}${y}</calcite-panel>${_}${B}</calcite-panel></calcite-flow-item>`}_renderListItem(e){let{currentUser:i,currentVersionIdentifier:s,isVersionAdministrator:u,isVersioningApiAvailable:v,serviceUrl:c,strings:{actions:l},versionInfo:n}=e,d=n.versionIdentifier.name,p=d.substring(d.lastIndexOf(".")+1),r=d.substring(0,d.lastIndexOf(".")),m=n.versionIdentifier.guid,h=`actionSwitchToVersion_${m}`,f=r.toUpperCase()===i.toUpperCase()&&v||u,a=s.guid===n.versionIdentifier.guid,o=t`<calcite-action .disabled=${a} icon=code-branch @click=${()=>{this.arcgisManageVersion.emit({actionType:"changeVersion",serviceUrl:c,versionInfo:n})}} scale=s .text=${l.switchToVersion} text-enabled></calcite-action>`,$=t`<calcite-action .disabled=${!f||f&&a} icon=trash @click=${()=>{this.arcgisManageVersion.emit({actionType:"deleteVersion",serviceUrl:c,versionInfo:n})}} scale=s .text=${l.deleteVersion} text-enabled></calcite-action>`,I=t`<calcite-action .disabled=${!f||a} icon=code-branch-edit @click=${()=>{this.arcgisManageVersion.emit({actionType:"editVersion",serviceUrl:c,versionInfo:n})}} scale=s .text=${l.editVersion} text-enabled></calcite-action>`,V=t`<calcite-action-menu overlay-positioning=fixed slot=actions-end label>${o}${I}${$}</calcite-action-menu>`,_=a?void 0:t`<calcite-tooltip overlay-positioning=fixed .referenceElement=${h}><span>${l.switchToVersion}</span></calcite-tooltip>`,b=t`<div slot=actions-start><calcite-action appearance=transparent .disabled=${a} id=${h??C} icon=code-branch text @click=${()=>{this.arcgisManageVersion.emit({actionType:"changeVersion",serviceUrl:c,versionInfo:n})}}></calcite-action>${_}</div>`;return t`<calcite-list-item .description=${r} .label=${p} .value=${m}>${b}${V}</calcite-list-item>`}};U("arcgis-version-management-version-list",w);export{w as ArcgisVersionManagementVersionList};
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.53 */
4
- import a from"./HCVZ6VFZ.js";import{a as o}from"./RYD5DFKJ.js";import"./MZU6SFAT.js";import"./MLMQDMFS.js";import{I as i,O as l,a as s,b as t}from"./EDYXMZEW.js";import"./QDN3MCIF.js";export default $arcgis.t(([{watch:d},{f:c}])=>{var p=s`:host{display:flex;flex-direction:column;flex-grow:1}calcite-tabs{flex-grow:1}calcite-tab{--calcite-tab-content-block-padding: 0}calcite-loader{margin-right:var(--calcite-spacing-xxs)}`,a=class extends i{constructor(){super(...arguments),this._prevLayoutTemplateId=null,this._handles=o("disconnect"),this._selectedTab="layout",this._hasPendingExport=!1,this.hideAdvancedOptions=!1,this.autoPopulateAuthor=!1}static{this.properties={_selectedTab:16,_hasPendingExport:16,hideAdvancedOptions:5,autoPopulateAuthor:5,saveAsButtonCallback:0,viewModel:0,messages:0,showTemplateSelector:0,allowedFormatsForSaving:1}}static{this.styles=p}loaded(){this.manager.onLifecycle(()=>[this.viewModel.exportedLinks.on("change",()=>{this._handles.removeHandles("pending-exports"),this._handles.addHandles(this.viewModel.exportedLinks.toArray().map(e=>d(()=>e.state,()=>this.requestUpdate(),{initial:!0})),"pending-exports")})])}async _layoutTabChangeHandler(){let e=(this._prevLayoutTemplateId?this.viewModel.getLayoutTemplateById(this._prevLayoutTemplateId):null)??this.viewModel.defaultTemplate;await this.viewModel.applyTemplate(e),this._prevLayoutTemplateId=e?.id,this._selectedTab="layout"}async _mapOnlyTabChangeHandler(){this._updatePrevLayoutTemplateId(),await this.viewModel.applyTemplate("map-only"),this._selectedTab="map-only"}async _exportsTabChangeHandler(){this._updatePrevLayoutTemplateId(),this._selectedTab="exports"}_selectExportsTab(){this._updatePrevLayoutTemplateId(),this._selectedTab="exports"}_updatePrevLayoutTemplateId(){!c(this.viewModel.templateOptions.layout)&&this.viewModel.templateOptions.id&&(this._prevLayoutTemplateId=this.viewModel.templateOptions.id)}render(){let e=this.viewModel.exportedLinks.some(({state:n})=>n==="pending");return t`<calcite-tabs layout=center bordered><calcite-tab-nav slot=title-group><calcite-tab-title @calciteTabsActivate=${this._layoutTabChangeHandler} .selected=${this._selectedTab==="layout"}>${this.messages.layoutTab}</calcite-tab-title><calcite-tab-title @calciteTabsActivate=${this._mapOnlyTabChangeHandler} .selected=${this._selectedTab==="map-only"}>${this.messages.mapOnlyTab}</calcite-tab-title><calcite-tab-title @calciteTabsActivate=${this._exportsTabChangeHandler} .selected=${this._selectedTab==="exports"}>${e?t`<calcite-loader inline label=loading scale=s></calcite-loader>`:null}${this.messages.exportsTab}</calcite-tab-title></calcite-tab-nav><calcite-tab selected><arcgis-print-layout-panel .messages=${this.messages} .viewModel=${this.viewModel} .hideAdvancedOptions=${this.hideAdvancedOptions} .autoPopulateAuthor=${this.autoPopulateAuthor} .showTemplateSelector=${this.showTemplateSelector} .selectExportsTab=${this._selectExportsTab.bind(this)}></arcgis-print-layout-panel></calcite-tab><calcite-tab><arcgis-print-map-only-panel .messages=${this.messages} .viewModel=${this.viewModel} .hideAdvancedOptions=${this.hideAdvancedOptions} .selectExportsTab=${this._selectExportsTab.bind(this)}></arcgis-print-map-only-panel></calcite-tab><calcite-tab><arcgis-print-exports-panel .messages=${this.messages} .viewModel=${this.viewModel} .allowedFormatsForSaving=${this.allowedFormatsForSaving} .saveAsButtonCallback=${this.saveAsButtonCallback}></arcgis-print-exports-panel></calcite-tab></calcite-tabs>`}};l("arcgis-print-main-panel",a);return a},"core/reactiveUtils",a)
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.53 */
4
- import{j as m}from"./36AOKR2T.js";import"./7544KQ2F.js";import"./JKFVCXJT.js";import{t as p}from"./XNKTR6EO.js";import"./5FNAWT4R.js";import"./3MQ6MPNV.js";import"./NXVCQDCO.js";import"./QDN3MCIF.js";export default $arcgis.t(([{getLocale:a,getLocaleLanguage:n}])=>{p("AM5C241025748");var e="en-US",o=new Map([["ar",()=>import("./GBIXOQAS.js")],["bg-BG",()=>import("./ZBNLNYDA.js")],["bs-BA",()=>import("./KC2NCEMM.js")],["ca-ES",()=>import("./VV3HTROP.js")],["cs-CZ",()=>import("./5B5JINBI.js")],["da-DK",()=>import("./HLUZFBDE.js")],["de-DE",()=>import("./AJ7G5DZF.js")],["de-CH",()=>import("./GQT4O6EY.js")],["el-GR",()=>import("./3LDM3STJ.js")],["en-US",()=>import("./EZTXUSSB.js")],["en-CA",()=>import("./GWJSKO2V.js")],["es-ES",()=>import("./UAQZCDPE.js")],["et-EE",()=>import("./RCENDVVF.js")],["fi-FI",()=>import("./MIQDCYQT.js")],["fr-FR",()=>import("./HSL5OYTT.js")],["he-IL",()=>import("./C57HD5ZV.js")],["hr-HR",()=>import("./L3CQKOP6.js")],["hu-HU",()=>import("./7JYTQ5TL.js")],["id-ID",()=>import("./R6TKY4LJ.js")],["it-IT",()=>import("./QQT7L2JY.js")],["ja-JP",()=>import("./MH6753J3.js")],["ko-KR",()=>import("./KCZNFDM6.js")],["lt-LT",()=>import("./OUBUCQKP.js")],["lv-LV",()=>import("./O4J4RMWT.js")],["no-NO",()=>import("./IKXTTX22.js")],["nb-NO",()=>import("./IKXTTX22.js")],["nl-NL",()=>import("./IOULPB5I.js")],["pl-PL",()=>import("./DEEIDYR3.js")],["pt-BR",()=>import("./5KJTGGTF.js")],["pt-PT",()=>import("./3PU7YUYS.js")],["ro-RO",()=>import("./42ITVROL.js")],["ru-RU",()=>import("./BF7K4XT5.js")],["sk-SK",()=>import("./S5EE7DM7.js")],["sl-SL",()=>import("./J3SNHGRP.js")],["sr-RS",()=>import("./BEDKNIPZ.js")],["sv-SE",()=>import("./UDFBNRPY.js")],["th-TH",()=>import("./TCLOSOY6.js")],["tr-TR",()=>import("./2KWH6B6S.js")],["uk-UA",()=>import("./U4KJDHSS.js")],["vi-VN",()=>import("./IEPZYEF7.js")],["zh-CN",()=>import("./5Y2XXX5T.js")],["zh-HK",()=>import("./5PK4U5PI.js")],["zh-TW",()=>import("./5PK4U5PI.js")]]);function s(t){if(!t)return e;if(o.has(t))return t;let r=n();return r&&o.has(r)?r:e}async function l(t,r=a()){let i=m.new(t);return i.locale=(await o.get(s(r))()).default,i}return l},"intl")
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.53 */
4
- import a from"./Q7ZOKXNH.js";import"./D3VCURAU.js";import"./PQNTCXLR.js";import"./MLMQDMFS.js";import"./EDYXMZEW.js";import"./QDN3MCIF.js";export default $arcgis.t(([a])=>{return a},a)