@arcgis/map-components 5.0.0-next.6 → 5.0.0-next.61

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 (791) hide show
  1. package/dist/cdn/{XE4A4ZAW.js → 24N7ZFI7.js} +2 -2
  2. package/dist/cdn/24YDUJ32.js +4 -0
  3. package/dist/cdn/{Q4MGAVXA.js → 2CBIZP4K.js} +1 -1
  4. package/dist/cdn/2DCUF4VL.js +4 -0
  5. package/dist/cdn/2GHQBLP4.js +4 -0
  6. package/dist/cdn/2KDNRIJW.js +4 -0
  7. package/dist/cdn/2OA7VME3.js +4 -0
  8. package/dist/cdn/2PM6KEBB.js +4 -0
  9. package/dist/cdn/2SS4QXYT.js +4 -0
  10. package/dist/cdn/2UCZPUSU.js +4 -0
  11. package/dist/cdn/37E3AUI6.js +4 -0
  12. package/dist/cdn/3AKTUCMB.js +4 -0
  13. package/dist/cdn/{J52AVBWV.js → 3DGTO2NU.js} +2 -2
  14. package/dist/cdn/3HKR4QZF.js +4 -0
  15. package/dist/cdn/3L3DC5RT.js +4 -0
  16. package/dist/cdn/3T7XJ5LK.js +4 -0
  17. package/dist/cdn/3VVCNCN7.js +4 -0
  18. package/dist/cdn/42D4PZLX.js +4 -0
  19. package/dist/cdn/46ELVHX3.js +4 -0
  20. package/dist/cdn/4MNUOO5M.js +4 -0
  21. package/dist/cdn/4NZOUEIS.js +4 -0
  22. package/dist/cdn/4OPKC3J6.js +4 -0
  23. package/dist/cdn/4QKNGD47.js +4 -0
  24. package/dist/cdn/4RAHNBG2.js +4 -0
  25. package/dist/cdn/{NNNE2APH.js → 4RC7U36R.js} +2 -2
  26. package/dist/cdn/4UHLD2H4.js +4 -0
  27. package/dist/cdn/{ABX2KJWQ.js → 4YW6OMVH.js} +2 -2
  28. package/dist/cdn/4ZKYGMM7.js +4 -0
  29. package/dist/cdn/54H3TYCT.js +4 -0
  30. package/dist/cdn/54NZR5AN.js +4 -0
  31. package/dist/cdn/5ASUP2KA.js +4 -0
  32. package/dist/cdn/{KOTDYNET.js → 5B4IIJCQ.js} +2 -2
  33. package/dist/cdn/{NTGYJRE6.js → 5CBBYTHY.js} +2 -2
  34. package/dist/cdn/5GCT5CAE.js +4 -0
  35. package/dist/cdn/5LM7DQCY.js +4 -0
  36. package/dist/cdn/5SKIEDUF.js +4 -0
  37. package/dist/cdn/5STLZ7KJ.js +4 -0
  38. package/dist/cdn/{6AJF75LJ.js → 5VZ2G3BC.js} +2 -2
  39. package/dist/cdn/{UK5FKXNT.js → 62U6WUET.js} +2 -2
  40. package/dist/cdn/{MKR5A67F.js → 63WLAZ7C.js} +2 -2
  41. package/dist/cdn/6BXFDJQ5.js +4 -0
  42. package/dist/cdn/6CLPFGHY.js +4 -0
  43. package/dist/cdn/6EGCFDAR.js +4 -0
  44. package/dist/cdn/6KSTVCPI.js +4 -0
  45. package/dist/cdn/{3R4HANKL.js → 6SQFKV7L.js} +1 -1
  46. package/dist/cdn/6VJIO3RQ.js +4 -0
  47. package/dist/cdn/7753EF7Z.js +4 -0
  48. package/dist/cdn/{F2RWK5EM.js → 77IKSSKQ.js} +2 -2
  49. package/dist/cdn/7IQITIFQ.js +4 -0
  50. package/dist/cdn/7J53IW5D.js +4 -0
  51. package/dist/cdn/7OBTMDLB.js +4 -0
  52. package/dist/cdn/7SFPPDN3.js +4 -0
  53. package/dist/cdn/{4LLXQ7MU.js → 7T4FMKII.js} +1 -1
  54. package/dist/cdn/7T73TS7R.js +4 -0
  55. package/dist/cdn/{B2W4EWK6.js → 7XQ3ZW5M.js} +2 -2
  56. package/dist/cdn/A4S5R6HX.js +4 -0
  57. package/dist/cdn/{XHJW7EJB.js → A77M6QF4.js} +2 -2
  58. package/dist/cdn/ACKTQSX7.js +4 -0
  59. package/dist/cdn/AFBRQSEP.js +4 -0
  60. package/dist/cdn/{2PXF3GPF.js → AHMO5GF3.js} +2 -2
  61. package/dist/cdn/AOR72WLV.js +4 -0
  62. package/dist/cdn/ASGTNPJ5.js +4 -0
  63. package/dist/cdn/AUZVCZHO.js +4 -0
  64. package/dist/cdn/{VRJQ2TUN.js → AZJ35KNG.js} +2 -2
  65. package/dist/cdn/B3TPMWMM.js +4 -0
  66. package/dist/cdn/B5FXCJIX.js +4 -0
  67. package/dist/cdn/BACIKAJK.js +4 -0
  68. package/dist/cdn/BBQULQFS.js +4 -0
  69. package/dist/cdn/BEZSPE45.js +4 -0
  70. package/dist/cdn/{YNUARQV3.js → BFKE3DTE.js} +2 -2
  71. package/dist/cdn/BH6A7YJC.js +4 -0
  72. package/dist/cdn/{LB5CIPFL.js → BLFQ5YCF.js} +2 -2
  73. package/dist/cdn/BORZLOJB.js +4 -0
  74. package/dist/cdn/BPGM6ASE.js +4 -0
  75. package/dist/cdn/BYRCAJ3X.js +4 -0
  76. package/dist/cdn/C6PDV5NL.js +5 -0
  77. package/dist/cdn/CGKKWQY2.js +4 -0
  78. package/dist/cdn/CGRP26FE.js +4 -0
  79. package/dist/cdn/CISNLHE3.js +4 -0
  80. package/dist/cdn/CQ7NIPDK.js +4 -0
  81. package/dist/cdn/CW2DNMQC.js +4 -0
  82. package/dist/cdn/CXUPNFGO.js +4 -0
  83. package/dist/cdn/{TELKXVUT.js → DAUCXKQ3.js} +2 -2
  84. package/dist/cdn/DCRBY6EZ.js +4 -0
  85. package/dist/cdn/DFACPQIY.js +4 -0
  86. package/dist/cdn/DPHIKLFL.js +4 -0
  87. package/dist/cdn/{ER5OU65T.js → DQEMS4TV.js} +2 -2
  88. package/dist/cdn/DRY2PFYI.js +4 -0
  89. package/dist/cdn/DTOZDGYJ.js +4 -0
  90. package/dist/cdn/DZZ2W2M3.js +4 -0
  91. package/dist/cdn/E3BF23WS.js +4 -0
  92. package/dist/cdn/E66CDEVB.js +4 -0
  93. package/dist/cdn/EHNS3ZP4.js +4 -0
  94. package/dist/cdn/EHW5YSOA.js +4 -0
  95. package/dist/cdn/EIVDGFMO.js +4 -0
  96. package/dist/cdn/EKX4ICKA.js +4 -0
  97. package/dist/cdn/EO7BJNYA.js +4 -0
  98. package/dist/cdn/EVLBHYIR.js +4 -0
  99. package/dist/cdn/{C7O5KTPB.js → EX436JRL.js} +2 -2
  100. package/dist/cdn/FCGKMQ2R.js +4 -0
  101. package/dist/cdn/FCHT2AIW.js +4 -0
  102. package/dist/cdn/{RBW5EUUZ.js → FDXMGXXG.js} +2 -2
  103. package/dist/cdn/{UAIGXACR.js → FPFH6QVN.js} +2 -2
  104. package/dist/cdn/FSOFYNXV.js +4 -0
  105. package/dist/cdn/{PKTRQSJ3.js → G7ZLZ3NV.js} +2 -2
  106. package/dist/cdn/GM3XNTKY.js +4 -0
  107. package/dist/cdn/{GLODJKMZ.js → GMPQ3CFJ.js} +2 -2
  108. package/dist/cdn/GUBPWM2B.js +4 -0
  109. package/dist/cdn/HFQ6535G.js +4 -0
  110. package/dist/cdn/HLGHY3ZB.js +4 -0
  111. package/dist/cdn/HUOXAINS.js +4 -0
  112. package/dist/cdn/HZ7PZPU6.js +4 -0
  113. package/dist/cdn/{6JZBRZQZ.js → HZPIIQNW.js} +2 -2
  114. package/dist/cdn/ID5CTKGZ.js +4 -0
  115. package/dist/cdn/IGOPSLGZ.js +4 -0
  116. package/dist/cdn/IHIXDKWO.js +4 -0
  117. package/dist/cdn/{ISGJWGMP.js → IKEYPA3J.js} +2 -2
  118. package/dist/cdn/IKXJELAU.js +4 -0
  119. package/dist/cdn/ILIPEEOD.js +4 -0
  120. package/dist/cdn/ILONFAQ2.js +4 -0
  121. package/dist/cdn/IQZXBVXH.js +4 -0
  122. package/dist/cdn/IRRGVGF3.js +4 -0
  123. package/dist/cdn/ISUCMT33.js +4 -0
  124. package/dist/cdn/IZITN5BA.js +4 -0
  125. package/dist/cdn/J2CXQZTJ.js +4 -0
  126. package/dist/cdn/J7W3ISTQ.js +4 -0
  127. package/dist/cdn/{NINFL2YQ.js → JBUH3ZM7.js} +2 -2
  128. package/dist/cdn/{YEZT5OD7.js → JIS647IW.js} +2 -2
  129. package/dist/cdn/{5KTQXHUJ.js → JO5CIE5V.js} +2 -2
  130. package/dist/cdn/JQASP53G.js +4 -0
  131. package/dist/cdn/JUEALVOG.js +4 -0
  132. package/dist/cdn/JVJWU5AC.js +4 -0
  133. package/dist/cdn/JWZVKIHO.js +4 -0
  134. package/dist/cdn/K4EFI4LB.js +4 -0
  135. package/dist/cdn/KE56VKHZ.js +4 -0
  136. package/dist/cdn/KT53545Y.js +4 -0
  137. package/dist/cdn/KWA5ADG6.js +4 -0
  138. package/dist/cdn/KZ4BWGN5.js +4 -0
  139. package/dist/cdn/LBSQLWT7.js +4 -0
  140. package/dist/cdn/{3UTRV5F5.js → LE3OVQBO.js} +2 -2
  141. package/dist/cdn/LR3QCVR5.js +4 -0
  142. package/dist/cdn/LZ3BGZ2S.js +4 -0
  143. package/dist/cdn/LZUOXZGP.js +4 -0
  144. package/dist/cdn/{K7O52SLI.js → M4EODGCJ.js} +1 -1
  145. package/dist/cdn/MCDB3P3V.js +4 -0
  146. package/dist/cdn/{OOARTTCF.js → MGAGZGOO.js} +2 -2
  147. package/dist/cdn/MJYBZMWX.js +4 -0
  148. package/dist/cdn/MNJW65S6.js +4 -0
  149. package/dist/cdn/{YXLQEOV6.js → MQCLO2B7.js} +2 -2
  150. package/dist/cdn/MTSW3OCQ.js +4 -0
  151. package/dist/cdn/MZMXI34W.js +4 -0
  152. package/dist/cdn/N4WDNNTW.js +4 -0
  153. package/dist/cdn/{5S42PJTM.js → NCJ6EWY7.js} +2 -2
  154. package/dist/cdn/NH34COAB.js +4 -0
  155. package/dist/cdn/NM2SQVAH.js +4 -0
  156. package/dist/cdn/NW4EFEGW.js +4 -0
  157. package/dist/cdn/O5SYBKLE.js +4 -0
  158. package/dist/cdn/OABDETRV.js +4 -0
  159. package/dist/cdn/{IRJJTNFE.js → OCVT4HTF.js} +2 -2
  160. package/dist/cdn/OEPMAGA6.js +4 -0
  161. package/dist/cdn/OG2KWTTJ.js +4 -0
  162. package/dist/cdn/OIRV2L45.js +4 -0
  163. package/dist/cdn/OISCNYZJ.js +4 -0
  164. package/dist/cdn/OIVCBH74.js +4 -0
  165. package/dist/cdn/ONXKA4E4.js +4 -0
  166. package/dist/cdn/{6H5AZ4GE.js → OQR6NVSY.js} +1 -1
  167. package/dist/cdn/OSUKG22M.js +4 -0
  168. package/dist/cdn/{4MWLYDY5.js → P5A3Y4U7.js} +2 -2
  169. package/dist/cdn/PEMBFLD2.js +4 -0
  170. package/dist/cdn/PEZ3QR6G.js +4 -0
  171. package/dist/cdn/{EMMLC2ML.js → PMW7SA3U.js} +2 -2
  172. package/dist/cdn/PRHNBUMR.js +4 -0
  173. package/dist/cdn/PYQ26L77.js +4 -0
  174. package/dist/cdn/QDY3OTV7.js +4 -0
  175. package/dist/cdn/QILC2U33.js +4 -0
  176. package/dist/cdn/QJDVZAOM.js +4 -0
  177. package/dist/cdn/QVCIRUY5.js +9 -0
  178. package/dist/cdn/{6XWHYYCL.js → R2TRUEEM.js} +2 -2
  179. package/dist/cdn/{GTFTLDMW.js → R35CYEVS.js} +2 -2
  180. package/dist/cdn/R6HLGEOI.js +4 -0
  181. package/dist/cdn/{KK2JJGUK.js → RFZ6FAG4.js} +2 -2
  182. package/dist/cdn/RHNWIASD.js +4 -0
  183. package/dist/cdn/{U4PIL5HO.js → SDSQWC6T.js} +1 -1
  184. package/dist/cdn/{G6YBBKHU.js → SGP2LZOZ.js} +2 -2
  185. package/dist/cdn/{3MHCWB64.js → SI4K5AN4.js} +2 -2
  186. package/dist/cdn/{7333ELLT.js → SNCE25BN.js} +2 -2
  187. package/dist/cdn/SNO2H7XF.js +4 -0
  188. package/dist/cdn/T6FWTXD6.js +4 -0
  189. package/dist/cdn/{JCYH652U.js → TN7YZIHV.js} +2 -2
  190. package/dist/cdn/TUUV22ZP.js +4 -0
  191. package/dist/cdn/{QMJS7YYV.js → UALOLV7U.js} +2 -2
  192. package/dist/cdn/UDBXARK3.js +4 -0
  193. package/dist/cdn/UFHUPDBV.js +4 -0
  194. package/dist/cdn/{PIEJP6YZ.js → UJX5A7BX.js} +2 -2
  195. package/dist/cdn/{OAVOMLYV.js → ULLFYZM4.js} +2 -2
  196. package/dist/cdn/ULPU42MD.js +4 -0
  197. package/dist/cdn/UP7NTWDH.js +4 -0
  198. package/dist/cdn/{VVDPWDSN.js → VAFUFBYU.js} +2 -2
  199. package/dist/cdn/VBMQ4ERG.js +4 -0
  200. package/dist/cdn/VBO5G4ZM.js +4 -0
  201. package/dist/cdn/{BZSTQJWD.js → VJZGUYRM.js} +2 -2
  202. package/dist/cdn/VKSPRSKJ.js +4 -0
  203. package/dist/cdn/{5GGEMLNR.js → VOZZXMLX.js} +1 -1
  204. package/dist/cdn/VTULJSKK.js +4 -0
  205. package/dist/cdn/{YLUUTWQL.js → VWCN6LNJ.js} +1 -1
  206. package/dist/cdn/{MJ4YBES2.js → W5TFIW6E.js} +2 -2
  207. package/dist/cdn/WARGUXRG.js +4 -0
  208. package/dist/cdn/{C56GZNCL.js → WEEXHLGA.js} +2 -2
  209. package/dist/cdn/WFNRVG2K.js +4 -0
  210. package/dist/cdn/WNMBOTIH.js +4 -0
  211. package/dist/cdn/WUNEE4ZB.js +4 -0
  212. package/dist/cdn/{3KXHDPQI.js → WV34UHDZ.js} +1 -1
  213. package/dist/cdn/WVMKCOZE.js +4 -0
  214. package/dist/cdn/{ZNGXUT36.js → X5ECFNBT.js} +1 -1
  215. package/dist/cdn/X7HDMC7U.js +4 -0
  216. package/dist/cdn/XFRWBVAK.js +4 -0
  217. package/dist/cdn/XQNGYJOB.js +4 -0
  218. package/dist/cdn/XYW34P4N.js +4 -0
  219. package/dist/cdn/YAPH6OMA.js +6 -0
  220. package/dist/cdn/YBV7OQB6.js +4 -0
  221. package/dist/cdn/YNH22HZQ.js +4 -0
  222. package/dist/cdn/YVEMTHTT.js +4 -0
  223. package/dist/cdn/YVUTWYS7.js +4 -0
  224. package/dist/cdn/YYJPXEL4.js +4 -0
  225. package/dist/cdn/YZ45MOKO.js +4 -0
  226. package/dist/cdn/{CJGNIR2H.js → Z3NPNSMW.js} +2 -2
  227. package/dist/cdn/Z46HPO46.js +4 -0
  228. package/dist/cdn/{2ZOE2EB7.js → Z7QV55N4.js} +2 -2
  229. package/dist/cdn/ZC3HL5R7.js +4 -0
  230. package/dist/cdn/ZKZMTSPP.js +4 -0
  231. package/dist/cdn/ZL2RFJT5.js +4 -0
  232. package/dist/cdn/ZZEZJKG7.js +4 -0
  233. package/dist/cdn/assets/area-measurement-2d/t9n/messages.en.json +1 -1
  234. package/dist/cdn/assets/color-select/t9n/messages.en.json +1 -0
  235. package/dist/cdn/assets/elevation-profile/t9n/messages.en.json +1 -0
  236. package/dist/cdn/assets/shadow-cast/t9n/messages.en.json +1 -0
  237. package/dist/cdn/assets/utility-network-subnetwork-info/t9n/messages.en.json +1 -0
  238. package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.en.json +1 -1
  239. package/dist/cdn/assets/utility-network-trace-location/t9n/messages.en.json +1 -0
  240. package/dist/cdn/assets/utility-network-trace-location-list/t9n/messages.en.json +1 -0
  241. package/dist/cdn/assets/volume-measurement/t9n/messages.en.json +1 -0
  242. package/dist/cdn/assets/weather/t9n/messages.en.json +1 -1
  243. package/dist/cdn/index.js +2 -2
  244. package/dist/cdn/main.css +1 -1
  245. package/dist/chunks/AnalysisViewModel.js +52 -43
  246. package/dist/chunks/action-utils.js +2 -2
  247. package/dist/chunks/async-utils.js +79 -61
  248. package/dist/chunks/basemap-gallery-resources.js +1 -1
  249. package/dist/chunks/chart-utils.js +1 -1
  250. package/dist/chunks/chartCommon.js +1 -1
  251. package/dist/chunks/component-utils.js +1 -1
  252. package/dist/chunks/constants.js +10 -0
  253. package/dist/chunks/createCloseEvent.js +1 -1
  254. package/dist/chunks/esri-main.js +2 -2
  255. package/dist/chunks/feature-utils.js +152 -107
  256. package/dist/chunks/globalCss.js +1 -1
  257. package/dist/chunks/handle.js +14 -0
  258. package/dist/chunks/heading.js +1 -1
  259. package/dist/chunks/layer-list.js +2 -2
  260. package/dist/chunks/legacyIcon.js +1 -1
  261. package/dist/chunks/maybe.js +1 -1
  262. package/dist/chunks/measurementUtils.js +24 -10
  263. package/dist/chunks/runtime.js +1 -1
  264. package/dist/chunks/screenLocation.js +1 -1
  265. package/dist/chunks/slots.js +5 -5
  266. package/dist/chunks/svgUtils.js +1 -1
  267. package/dist/chunks/time-utils.js +53 -0
  268. package/dist/chunks/univariateUtils.js +1 -1
  269. package/dist/chunks/useArcgisViewReadyError.js +44 -38
  270. package/dist/chunks/useHandles.js +1 -1
  271. package/dist/chunks/useT9n.js +1 -1
  272. package/dist/chunks/useView.js +1 -1
  273. package/dist/chunks/useViewModel.js +1 -1
  274. package/dist/chunks/useWidget.js +1 -1
  275. package/dist/chunks/utils.js +13 -18
  276. package/dist/chunks/utils2.js +1 -1
  277. package/dist/chunks/visible-element.js +9 -0
  278. package/dist/components/arcgis-area-measurement-2d/AreaMeasurement2dViewModel.d.ts +40 -0
  279. package/dist/components/arcgis-area-measurement-2d/customElement.d.ts +72 -56
  280. package/dist/components/arcgis-area-measurement-2d/customElement.js +131 -19
  281. package/dist/components/arcgis-area-measurement-2d/index.d.ts +3 -0
  282. package/dist/components/arcgis-area-measurement-2d/index.js +3 -0
  283. package/dist/components/arcgis-area-measurement-3d/AreaMeasurement3dViewModel.d.ts +10 -10
  284. package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +5 -5
  285. package/dist/components/arcgis-area-measurement-3d/customElement.js +31 -32
  286. package/dist/components/arcgis-attachments/customElement.d.ts +3 -3
  287. package/dist/components/arcgis-attachments/customElement.js +6 -6
  288. package/dist/components/arcgis-basemap-gallery/customElement.d.ts +5 -5
  289. package/dist/components/arcgis-basemap-gallery/customElement.js +2 -2
  290. package/dist/components/arcgis-basemap-gallery-item/customElement.js +4 -4
  291. package/dist/components/arcgis-basemap-layer-list/customElement.d.ts +6 -6
  292. package/dist/components/arcgis-basemap-layer-list/customElement.js +2 -2
  293. package/dist/components/arcgis-basemap-toggle/customElement.d.ts +5 -5
  294. package/dist/components/arcgis-basemap-toggle/customElement.js +1 -1
  295. package/dist/components/arcgis-bookmarks/customElement.d.ts +33 -22
  296. package/dist/components/arcgis-bookmarks/customElement.js +57 -55
  297. package/dist/components/arcgis-building-explorer/customElement.d.ts +5 -5
  298. package/dist/components/arcgis-building-explorer/customElement.js +1 -1
  299. package/dist/components/arcgis-catalog-layer-list/customElement.d.ts +6 -6
  300. package/dist/components/arcgis-catalog-layer-list/customElement.js +2 -2
  301. package/dist/components/arcgis-color-select/customElement.d.ts +25 -0
  302. package/dist/components/arcgis-color-select/customElement.js +59 -0
  303. package/dist/components/arcgis-color-select/index.d.ts +5 -0
  304. package/dist/components/arcgis-color-select/index.js +5 -0
  305. package/dist/components/arcgis-compass/customElement.d.ts +4 -4
  306. package/dist/components/arcgis-compass/customElement.js +6 -6
  307. package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +66 -65
  308. package/dist/components/arcgis-coordinate-conversion/customElement.js +91 -82
  309. package/dist/components/arcgis-daylight/customElement.d.ts +120 -57
  310. package/dist/components/arcgis-daylight/customElement.js +207 -250
  311. package/dist/components/arcgis-daylight/daylight-utils.d.ts +0 -4
  312. package/dist/components/arcgis-daylight/index.d.ts +1 -0
  313. package/dist/components/arcgis-daylight/index.js +1 -0
  314. package/dist/components/arcgis-direct-line-measurement-3d/DirectLineMeasurement3dViewModel.d.ts +11 -11
  315. package/dist/components/arcgis-direct-line-measurement-3d/customElement.d.ts +5 -15
  316. package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +43 -51
  317. package/dist/components/arcgis-directional-pad/customElement.d.ts +4 -4
  318. package/dist/components/arcgis-directional-pad/customElement.js +2 -2
  319. package/dist/components/arcgis-directions/customElement.d.ts +9 -5
  320. package/dist/components/arcgis-directions/customElement.js +1 -1
  321. package/dist/components/arcgis-distance-measurement-2d/DistanceMeasurement2dViewModel.d.ts +39 -0
  322. package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +71 -52
  323. package/dist/components/arcgis-distance-measurement-2d/customElement.js +126 -16
  324. package/dist/components/arcgis-distance-measurement-2d/index.d.ts +3 -0
  325. package/dist/components/arcgis-distance-measurement-2d/index.js +3 -0
  326. package/dist/components/arcgis-editor/customElement.d.ts +33 -8
  327. package/dist/components/arcgis-editor/customElement.js +4 -4
  328. package/dist/components/{arcgis-elevation-profile-next → arcgis-elevation-profile}/ElevationProfileViewModel.d.ts +37 -20
  329. package/dist/components/arcgis-elevation-profile/customElement.d.ts +200 -80
  330. package/dist/components/arcgis-elevation-profile/customElement.js +585 -16
  331. package/dist/components/{arcgis-elevation-profile-next → arcgis-elevation-profile}/geometryUtils.d.ts +1 -1
  332. package/dist/components/arcgis-elevation-profile/index.d.ts +5 -0
  333. package/dist/components/arcgis-elevation-profile/index.js +5 -0
  334. package/dist/components/{arcgis-elevation-profile-next → arcgis-elevation-profile}/interfaces.d.ts +2 -11
  335. package/dist/components/arcgis-elevation-profile-legend/customElement.d.ts +5 -2
  336. package/dist/components/arcgis-elevation-profile-legend/customElement.js +11 -11
  337. package/dist/components/arcgis-elevation-profile-legend-item/customElement.d.ts +5 -2
  338. package/dist/components/arcgis-elevation-profile-legend-item/customElement.js +18 -15
  339. package/dist/components/arcgis-elevation-profile-settings/customElement.d.ts +1 -1
  340. package/dist/components/arcgis-elevation-profile-settings/customElement.js +1 -1
  341. package/dist/components/arcgis-elevation-profile-statistics/customElement.d.ts +3 -2
  342. package/dist/components/arcgis-elevation-profile-statistics/customElement.js +6 -6
  343. package/dist/components/arcgis-expand/ExpandViewModel.d.ts +48 -0
  344. package/dist/components/arcgis-expand/customElement.d.ts +16 -15
  345. package/dist/components/arcgis-expand/customElement.js +152 -45
  346. package/dist/components/arcgis-feature/customElement.d.ts +37 -31
  347. package/dist/components/arcgis-feature/customElement.js +46 -46
  348. package/dist/components/arcgis-feature-attachments/customElement.js +1 -1
  349. package/dist/components/arcgis-feature-content/customElement.js +2 -2
  350. package/dist/components/arcgis-feature-element-info/customElement.js +1 -1
  351. package/dist/components/arcgis-feature-expression/customElement.js +1 -1
  352. package/dist/components/arcgis-feature-fields/customElement.d.ts +4 -0
  353. package/dist/components/arcgis-feature-fields/customElement.js +36 -32
  354. package/dist/components/arcgis-feature-form/customElement.d.ts +2 -2
  355. package/dist/components/arcgis-feature-form/customElement.js +2 -2
  356. package/dist/components/arcgis-feature-media/customElement.d.ts +2 -2
  357. package/dist/components/arcgis-feature-media/customElement.js +179 -178
  358. package/dist/components/arcgis-feature-relationship/customElement.js +1 -1
  359. package/dist/components/arcgis-feature-table/customElement.d.ts +21 -8
  360. package/dist/components/arcgis-feature-table/customElement.js +1 -1
  361. package/dist/components/arcgis-feature-templates/customElement.d.ts +3 -3
  362. package/dist/components/arcgis-feature-templates/customElement.js +1 -1
  363. package/dist/components/arcgis-feature-utility-network-association-list/customElement.d.ts +1 -0
  364. package/dist/components/arcgis-feature-utility-network-association-list/customElement.js +63 -63
  365. package/dist/components/arcgis-feature-utility-network-associations/customElement.js +8 -8
  366. package/dist/components/arcgis-features/customElement.d.ts +37 -16
  367. package/dist/components/arcgis-features/customElement.js +10 -12
  368. package/dist/components/arcgis-floor-filter/customElement.d.ts +5 -4
  369. package/dist/components/arcgis-floor-filter/customElement.js +7 -7
  370. package/dist/components/arcgis-fullscreen/customElement.d.ts +1 -1
  371. package/dist/components/arcgis-fullscreen/customElement.js +2 -2
  372. package/dist/components/arcgis-grid-controls/customElement.d.ts +6 -5
  373. package/dist/components/arcgis-grid-controls/customElement.js +1 -1
  374. package/dist/components/arcgis-histogram-range-slider/customElement.d.ts +5 -3
  375. package/dist/components/arcgis-histogram-range-slider/customElement.js +1 -1
  376. package/dist/components/arcgis-home/customElement.d.ts +5 -5
  377. package/dist/components/arcgis-home/customElement.js +2 -2
  378. package/dist/components/arcgis-labeled-switch/customElement.js +1 -1
  379. package/dist/components/arcgis-layer-list/customElement.d.ts +10 -6
  380. package/dist/components/arcgis-layer-list/customElement.js +1 -1
  381. package/dist/components/arcgis-layer-list-item/customElement.js +1 -1
  382. package/dist/components/arcgis-legend/customElement.d.ts +29 -14
  383. package/dist/components/arcgis-legend/customElement.js +1 -1
  384. package/dist/components/arcgis-legend-card-color-ramp/customElement.js +1 -1
  385. package/dist/components/arcgis-legend-card-element/customElement.js +1 -1
  386. package/dist/components/arcgis-legend-card-size-ramp/customElement.js +1 -1
  387. package/dist/components/arcgis-legend-card-univariate-above-and-below-ramp/customElement.js +12 -12
  388. package/dist/components/arcgis-legend-card-univariate-color-size-ramp/customElement.js +9 -9
  389. package/dist/components/arcgis-legend-card-view/customElement.js +1 -1
  390. package/dist/components/arcgis-legend-classic-color-ramp/customElement.js +10 -10
  391. package/dist/components/arcgis-legend-classic-element/customElement.js +1 -1
  392. package/dist/components/arcgis-legend-classic-size-ramp/customElement.js +1 -1
  393. package/dist/components/arcgis-legend-classic-univariate-above-and-below-ramp/customElement.js +5 -5
  394. package/dist/components/arcgis-legend-classic-univariate-color-size-ramp/customElement.js +9 -9
  395. package/dist/components/arcgis-legend-classic-view/customElement.js +1 -1
  396. package/dist/components/arcgis-legend-relationship-ramp/customElement.js +1 -1
  397. package/dist/components/arcgis-legend-spike-ramp/customElement.js +4 -4
  398. package/dist/components/arcgis-line-of-sight/customElement.d.ts +4 -4
  399. package/dist/components/arcgis-line-of-sight/customElement.js +28 -27
  400. package/dist/components/arcgis-link-chart/customElement.d.ts +83 -21
  401. package/dist/components/arcgis-link-chart/customElement.js +17 -22
  402. package/dist/components/arcgis-link-chart-layout-switcher/customElement.d.ts +12 -8
  403. package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +1 -1
  404. package/dist/components/arcgis-locate/customElement.d.ts +3 -3
  405. package/dist/components/arcgis-locate/customElement.js +9 -7
  406. package/dist/components/arcgis-map/customElement.d.ts +525 -74
  407. package/dist/components/arcgis-map/customElement.js +14 -19
  408. package/dist/components/arcgis-measurement/customElement.d.ts +7 -7
  409. package/dist/components/arcgis-measurement/customElement.js +1 -1
  410. package/dist/components/arcgis-measurement-content/customElement.d.ts +2 -0
  411. package/dist/components/arcgis-measurement-content/customElement.js +25 -34
  412. package/dist/components/arcgis-measurement-content/index.d.ts +1 -0
  413. package/dist/components/arcgis-measurement-content/index.js +1 -0
  414. package/dist/components/arcgis-navigation-toggle/customElement.d.ts +14 -2
  415. package/dist/components/arcgis-navigation-toggle/customElement.js +11 -8
  416. package/dist/components/arcgis-oriented-imagery-viewer/customElement.d.ts +5 -5
  417. package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +2 -2
  418. package/dist/components/arcgis-placement/customElement.d.ts +3 -3
  419. package/dist/components/arcgis-placement/customElement.js +1 -1
  420. package/dist/components/arcgis-popup/customElement.d.ts +54 -12
  421. package/dist/components/arcgis-popup/customElement.js +9 -6
  422. package/dist/components/arcgis-print/customElement.d.ts +46 -11
  423. package/dist/components/arcgis-print/customElement.js +34 -25
  424. package/dist/components/arcgis-print/utils.d.ts +1 -2
  425. package/dist/components/arcgis-print-custom-text-elements/customElement.js +1 -1
  426. package/dist/components/arcgis-print-dpi-input/customElement.js +1 -1
  427. package/dist/components/arcgis-print-export-button/customElement.js +1 -1
  428. package/dist/components/arcgis-print-exports-panel/customElement.d.ts +5 -3
  429. package/dist/components/arcgis-print-exports-panel/customElement.js +76 -19
  430. package/dist/components/arcgis-print-exports-panel/index.d.ts +4 -1
  431. package/dist/components/arcgis-print-exports-panel/index.js +4 -1
  432. package/dist/components/arcgis-print-format-select/customElement.js +15 -16
  433. package/dist/components/arcgis-print-layout-advanced-options/customElement.d.ts +2 -0
  434. package/dist/components/arcgis-print-layout-advanced-options/customElement.js +22 -20
  435. package/dist/components/arcgis-print-layout-panel/customElement.d.ts +4 -0
  436. package/dist/components/arcgis-print-layout-panel/customElement.js +18 -19
  437. package/dist/components/arcgis-print-main-panel/customElement.d.ts +8 -2
  438. package/dist/components/arcgis-print-main-panel/customElement.js +8 -8
  439. package/dist/components/arcgis-print-map-only-advanced-options/customElement.js +1 -1
  440. package/dist/components/arcgis-print-map-only-panel/customElement.d.ts +2 -0
  441. package/dist/components/arcgis-print-map-only-panel/customElement.js +23 -21
  442. package/dist/components/arcgis-print-out-spatial-reference-input/customElement.js +18 -19
  443. package/dist/components/arcgis-print-preview-input/customElement.js +1 -1
  444. package/dist/components/arcgis-print-scale-section/customElement.js +1 -1
  445. package/dist/components/arcgis-print-template-select/customElement.js +23 -22
  446. package/dist/components/arcgis-print-template-selector/customElement.d.ts +0 -1
  447. package/dist/components/arcgis-print-template-selector/customElement.js +28 -33
  448. package/dist/components/arcgis-print-template-selector/index.d.ts +1 -1
  449. package/dist/components/arcgis-print-template-selector/index.js +1 -1
  450. package/dist/components/arcgis-scale-bar/customElement.d.ts +4 -4
  451. package/dist/components/arcgis-scale-bar/customElement.js +1 -1
  452. package/dist/components/arcgis-scale-range-slider/customElement.d.ts +6 -5
  453. package/dist/components/arcgis-scale-range-slider/customElement.js +1 -1
  454. package/dist/components/arcgis-scene/customElement.d.ts +129 -22
  455. package/dist/components/arcgis-scene/customElement.js +15 -20
  456. package/dist/components/arcgis-search/customElement.d.ts +25 -23
  457. package/dist/components/arcgis-search/customElement.js +1 -1
  458. package/dist/components/arcgis-search-result-renderer/customElement.js +1 -1
  459. package/dist/components/arcgis-shadow-cast/ShadowCastViewModel.d.ts +44 -0
  460. package/dist/components/arcgis-shadow-cast/constants.d.ts +3 -0
  461. package/dist/components/arcgis-shadow-cast/customElement.d.ts +220 -89
  462. package/dist/components/arcgis-shadow-cast/customElement.js +243 -22
  463. package/dist/components/arcgis-shadow-cast/index.d.ts +9 -0
  464. package/dist/components/arcgis-shadow-cast/index.js +9 -0
  465. package/dist/components/arcgis-shadow-cast/interfaces.d.ts +55 -0
  466. package/dist/components/arcgis-shadow-cast-discrete-config/customElement.d.ts +20 -0
  467. package/dist/components/arcgis-shadow-cast-discrete-config/customElement.js +50 -0
  468. package/dist/components/arcgis-shadow-cast-discrete-config/index.d.ts +5 -0
  469. package/dist/components/arcgis-shadow-cast-discrete-config/index.js +5 -0
  470. package/dist/components/arcgis-shadow-cast-duration-config/customElement.d.ts +20 -0
  471. package/dist/components/arcgis-shadow-cast-duration-config/customElement.js +34 -0
  472. package/dist/components/arcgis-shadow-cast-duration-config/index.d.ts +5 -0
  473. package/dist/components/arcgis-shadow-cast-duration-config/index.js +5 -0
  474. package/dist/components/arcgis-shadow-cast-threshold-config/customElement.d.ts +31 -0
  475. package/dist/components/arcgis-shadow-cast-threshold-config/customElement.js +44 -0
  476. package/dist/components/arcgis-shadow-cast-threshold-config/index.d.ts +6 -0
  477. package/dist/components/arcgis-shadow-cast-threshold-config/index.js +6 -0
  478. package/dist/components/arcgis-sketch/customElement.d.ts +49 -18
  479. package/dist/components/arcgis-sketch/customElement.js +18 -10
  480. package/dist/components/arcgis-slice/customElement.d.ts +4 -4
  481. package/dist/components/arcgis-slice/customElement.js +14 -15
  482. package/dist/components/arcgis-spinner/customElement.js +1 -1
  483. package/dist/components/arcgis-swipe/customElement.d.ts +6 -4
  484. package/dist/components/arcgis-swipe/customElement.js +2 -2
  485. package/dist/components/arcgis-table-list/customElement.d.ts +8 -6
  486. package/dist/components/arcgis-table-list/customElement.js +2 -2
  487. package/dist/components/arcgis-time-slider/customElement.d.ts +7 -5
  488. package/dist/components/arcgis-time-slider/customElement.js +2 -2
  489. package/dist/components/arcgis-time-zone-label/customElement.d.ts +12 -13
  490. package/dist/components/arcgis-time-zone-label/customElement.js +41 -49
  491. package/dist/components/arcgis-track/customElement.d.ts +5 -5
  492. package/dist/components/arcgis-track/customElement.js +2 -2
  493. package/dist/components/arcgis-unit-select/customElement.d.ts +2 -2
  494. package/dist/components/arcgis-unit-select/customElement.js +1 -1
  495. package/dist/components/arcgis-utility-network-association-list/customElement.js +1 -1
  496. package/dist/components/arcgis-utility-network-associations/customElement.d.ts +70 -26
  497. package/dist/components/arcgis-utility-network-associations/customElement.js +3 -3
  498. package/dist/components/arcgis-utility-network-result-feature-list/customElement.d.ts +11 -1
  499. package/dist/components/arcgis-utility-network-result-feature-list/customElement.js +98 -46
  500. package/dist/components/arcgis-utility-network-result-feature-list/index.d.ts +0 -1
  501. package/dist/components/arcgis-utility-network-result-feature-list/index.js +0 -1
  502. package/dist/components/arcgis-utility-network-subnetwork-info/customElement.d.ts +20 -0
  503. package/dist/components/arcgis-utility-network-subnetwork-info/customElement.js +36 -0
  504. package/dist/components/arcgis-utility-network-subnetwork-info/index.d.ts +1 -0
  505. package/dist/components/arcgis-utility-network-subnetwork-info/index.js +1 -0
  506. package/dist/components/arcgis-utility-network-trace/customElement.d.ts +7 -5
  507. package/dist/components/arcgis-utility-network-trace/customElement.js +2 -2
  508. package/dist/components/arcgis-utility-network-trace-analysis/customElement.d.ts +4 -50
  509. package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +72 -63
  510. package/dist/components/arcgis-utility-network-trace-inputs/customElement.d.ts +17 -7
  511. package/dist/components/arcgis-utility-network-trace-inputs/customElement.js +241 -62
  512. package/dist/components/arcgis-utility-network-trace-inputs/index.d.ts +7 -2
  513. package/dist/components/arcgis-utility-network-trace-inputs/index.js +7 -2
  514. package/dist/components/arcgis-utility-network-trace-location/customElement.d.ts +56 -0
  515. package/dist/components/arcgis-utility-network-trace-location/customElement.js +250 -0
  516. package/dist/components/arcgis-utility-network-trace-location/index.d.ts +4 -0
  517. package/dist/components/arcgis-utility-network-trace-location/index.js +4 -0
  518. package/dist/components/arcgis-utility-network-trace-location-list/customElement.d.ts +21 -0
  519. package/dist/components/arcgis-utility-network-trace-location-list/customElement.js +75 -0
  520. package/dist/components/arcgis-utility-network-trace-location-list/index.d.ts +9 -0
  521. package/dist/components/arcgis-utility-network-trace-location-list/index.js +9 -0
  522. package/dist/components/arcgis-utility-network-trace-results/customElement.d.ts +6 -3
  523. package/dist/components/arcgis-utility-network-trace-results/customElement.js +32 -37
  524. package/dist/components/arcgis-utility-network-trace-results/index.d.ts +2 -1
  525. package/dist/components/arcgis-utility-network-trace-results/index.js +2 -1
  526. package/dist/components/arcgis-utility-network-validate-topology/customElement.d.ts +5 -5
  527. package/dist/components/arcgis-utility-network-validate-topology/customElement.js +2 -2
  528. package/dist/components/arcgis-value-picker/customElement.d.ts +3 -3
  529. package/dist/components/arcgis-value-picker/customElement.js +1 -1
  530. package/dist/components/arcgis-version-management/customElement.d.ts +2 -2
  531. package/dist/components/arcgis-version-management/customElement.js +1 -1
  532. package/dist/components/arcgis-version-management-service-item/customElement.js +22 -22
  533. package/dist/components/arcgis-version-management-version-list/customElement.js +29 -29
  534. package/dist/components/arcgis-version-management-version-properties/customElement.js +1 -1
  535. package/dist/components/arcgis-video/customElement.d.ts +13 -13
  536. package/dist/components/arcgis-video/customElement.js +1 -1
  537. package/dist/components/arcgis-video-player/customElement.d.ts +6 -6
  538. package/dist/components/arcgis-video-player/customElement.js +4 -4
  539. package/dist/components/arcgis-video-player-action-bar/customElement.js +18 -18
  540. package/dist/components/arcgis-video-player-actions-group/customElement.js +13 -12
  541. package/dist/components/arcgis-video-player-controls-group/customElement.js +23 -23
  542. package/dist/components/arcgis-video-player-metadata/customElement.js +1 -1
  543. package/dist/components/arcgis-video-player-settings/customElement.js +19 -18
  544. package/dist/components/arcgis-video-player-slider/customElement.js +2 -2
  545. package/dist/components/arcgis-volume-measurement/VolumeMeasurementViewModel.d.ts +55 -0
  546. package/dist/components/arcgis-volume-measurement/customElement.d.ts +220 -0
  547. package/dist/components/arcgis-volume-measurement/customElement.js +236 -0
  548. package/dist/components/arcgis-volume-measurement/index.d.ts +10 -0
  549. package/dist/components/arcgis-volume-measurement/index.js +10 -0
  550. package/dist/components/arcgis-volume-measurement/volume-measurement-test-utils.d.ts +1 -0
  551. package/dist/components/arcgis-weather/LabeledSlider.d.ts +3 -2
  552. package/dist/components/arcgis-weather/customElement.d.ts +20 -4
  553. package/dist/components/arcgis-weather/customElement.js +150 -132
  554. package/dist/components/arcgis-zoom/customElement.d.ts +3 -3
  555. package/dist/components/arcgis-zoom/customElement.js +2 -2
  556. package/dist/components/support/utility-components/component-wrapper.d.ts +1 -1
  557. package/dist/controllers/uiController.d.ts +5 -0
  558. package/dist/controllers/useHandles.d.ts +1 -1
  559. package/dist/controllers/useViewModel.d.ts +1 -1
  560. package/dist/controllers/useWidget.d.ts +1 -1
  561. package/dist/docs/api.json +11891 -10366
  562. package/dist/docs/docs.json +7214 -5729
  563. package/dist/docs/vscode.css-custom-data.json +16 -16
  564. package/dist/docs/vscode.html-custom-data.json +746 -536
  565. package/dist/docs/web-types.json +1727 -1191
  566. package/dist/index.d.ts +74 -40
  567. package/dist/index.js +1 -1
  568. package/dist/loader.js +41 -36
  569. package/dist/support/AnalysisViewModel.d.ts +4 -3
  570. package/dist/support/handle.d.ts +1 -1
  571. package/dist/support/measurementUtils.d.ts +6 -3
  572. package/dist/support/time-utils.d.ts +6 -0
  573. package/dist/types/lumina.d.ts +54 -32
  574. package/dist/types/preact.d.ts +59 -34
  575. package/dist/types/preact10.d.ts +64 -36
  576. package/dist/types/react.d.ts +64 -36
  577. package/dist/types/stencil.d.ts +54 -32
  578. package/dist/utils/async-utils.d.ts +19 -0
  579. package/dist/utils/feature-utils.d.ts +16 -1
  580. package/dist/utils/highlight-utils.d.ts +22 -0
  581. package/dist/utils/layer-utils.d.ts +4 -0
  582. package/package.json +5 -5
  583. package/dist/cdn/24FIOFGL.js +0 -4
  584. package/dist/cdn/2QAML4P7.js +0 -4
  585. package/dist/cdn/2QEVKF3M.js +0 -4
  586. package/dist/cdn/2TT7JHKU.js +0 -4
  587. package/dist/cdn/2WK2MSUI.js +0 -4
  588. package/dist/cdn/36IQDZ3G.js +0 -4
  589. package/dist/cdn/3ETI3KHD.js +0 -4
  590. package/dist/cdn/3GLBQK27.js +0 -4
  591. package/dist/cdn/4P5DFLTX.js +0 -5
  592. package/dist/cdn/4PNCM4AX.js +0 -4
  593. package/dist/cdn/4VC56N4L.js +0 -4
  594. package/dist/cdn/4VJ33WZ7.js +0 -4
  595. package/dist/cdn/4WMRWSKE.js +0 -4
  596. package/dist/cdn/4XPC3USH.js +0 -4
  597. package/dist/cdn/5KFUEZNB.js +0 -4
  598. package/dist/cdn/5NGQ34PO.js +0 -4
  599. package/dist/cdn/5PLNMTFM.js +0 -4
  600. package/dist/cdn/5ROISKK5.js +0 -4
  601. package/dist/cdn/5VFO3P34.js +0 -4
  602. package/dist/cdn/637CWHOC.js +0 -4
  603. package/dist/cdn/65HNRYB4.js +0 -4
  604. package/dist/cdn/6AFC4KYA.js +0 -4
  605. package/dist/cdn/6L4TZHKU.js +0 -4
  606. package/dist/cdn/6N5YEI5U.js +0 -4
  607. package/dist/cdn/7B3GFLM4.js +0 -4
  608. package/dist/cdn/7BDY3BU7.js +0 -4
  609. package/dist/cdn/7KMCO32Q.js +0 -4
  610. package/dist/cdn/7L55KE2V.js +0 -4
  611. package/dist/cdn/A3MI5N43.js +0 -4
  612. package/dist/cdn/A4AKT4LY.js +0 -4
  613. package/dist/cdn/A5LDRWTA.js +0 -4
  614. package/dist/cdn/B2ZFGOXD.js +0 -4
  615. package/dist/cdn/BD5LNODX.js +0 -4
  616. package/dist/cdn/BIUV2EW2.js +0 -4
  617. package/dist/cdn/BL6DFV7R.js +0 -4
  618. package/dist/cdn/BUFQD3QO.js +0 -4
  619. package/dist/cdn/CGL4MV5F.js +0 -4
  620. package/dist/cdn/CHYFQH6P.js +0 -4
  621. package/dist/cdn/CZZ7Y35Z.js +0 -4
  622. package/dist/cdn/D2LJXS5O.js +0 -4
  623. package/dist/cdn/D67SAEXC.js +0 -4
  624. package/dist/cdn/DPDBGZUQ.js +0 -4
  625. package/dist/cdn/DQFSD3BZ.js +0 -4
  626. package/dist/cdn/DRMOWRTY.js +0 -4
  627. package/dist/cdn/DUZNF3KO.js +0 -4
  628. package/dist/cdn/DXPNHQ2A.js +0 -4
  629. package/dist/cdn/E5DTA2QE.js +0 -4
  630. package/dist/cdn/EDBEJKG4.js +0 -4
  631. package/dist/cdn/EJLSAJ7Z.js +0 -4
  632. package/dist/cdn/EMQJDRYZ.js +0 -4
  633. package/dist/cdn/ENPAUNXX.js +0 -4
  634. package/dist/cdn/F32DNIAM.js +0 -4
  635. package/dist/cdn/F75STQIS.js +0 -4
  636. package/dist/cdn/FEJPBDMX.js +0 -4
  637. package/dist/cdn/FGRJXTC4.js +0 -4
  638. package/dist/cdn/FIOK6KKP.js +0 -4
  639. package/dist/cdn/FQHCN5PI.js +0 -4
  640. package/dist/cdn/FUNOEGEP.js +0 -4
  641. package/dist/cdn/FYLKCHLA.js +0 -4
  642. package/dist/cdn/FYLZIBTR.js +0 -4
  643. package/dist/cdn/G4KOFHHD.js +0 -4
  644. package/dist/cdn/G6RKDMGY.js +0 -4
  645. package/dist/cdn/GBFC7BDF.js +0 -4
  646. package/dist/cdn/GHCICMTZ.js +0 -4
  647. package/dist/cdn/GIDT5OTS.js +0 -4
  648. package/dist/cdn/GLWAKTJ6.js +0 -4
  649. package/dist/cdn/GLZM6JSO.js +0 -4
  650. package/dist/cdn/GOGBHK5W.js +0 -4
  651. package/dist/cdn/GPNRFEBQ.js +0 -4
  652. package/dist/cdn/H4FO43TQ.js +0 -4
  653. package/dist/cdn/HAD7DDQH.js +0 -4
  654. package/dist/cdn/HD7BQXXH.js +0 -4
  655. package/dist/cdn/HSORIPSD.js +0 -4
  656. package/dist/cdn/HT5P52JJ.js +0 -4
  657. package/dist/cdn/HTTTUKFU.js +0 -4
  658. package/dist/cdn/HXA2FJLS.js +0 -4
  659. package/dist/cdn/I3NH27UL.js +0 -4
  660. package/dist/cdn/IBLIJJ2U.js +0 -4
  661. package/dist/cdn/ILS226ZZ.js +0 -4
  662. package/dist/cdn/IM3WBCCU.js +0 -4
  663. package/dist/cdn/IQ2UBST6.js +0 -4
  664. package/dist/cdn/ISU7UB5C.js +0 -4
  665. package/dist/cdn/IXUH65C6.js +0 -4
  666. package/dist/cdn/J376WYHL.js +0 -4
  667. package/dist/cdn/J5DMYV4L.js +0 -4
  668. package/dist/cdn/JEKQ4FH3.js +0 -4
  669. package/dist/cdn/JGAMA7FC.js +0 -4
  670. package/dist/cdn/JO46OYZR.js +0 -4
  671. package/dist/cdn/JT24YIBS.js +0 -4
  672. package/dist/cdn/KD63FUE7.js +0 -4
  673. package/dist/cdn/KKW7L2H6.js +0 -4
  674. package/dist/cdn/KQBARG67.js +0 -4
  675. package/dist/cdn/KRJQ47FX.js +0 -4
  676. package/dist/cdn/KTUEXPGY.js +0 -4
  677. package/dist/cdn/KUGNRX5I.js +0 -4
  678. package/dist/cdn/KY4EUKNJ.js +0 -4
  679. package/dist/cdn/KYK5G6U6.js +0 -4
  680. package/dist/cdn/L4NOWY7R.js +0 -4
  681. package/dist/cdn/LDRCHRH6.js +0 -4
  682. package/dist/cdn/LM6HXX6Z.js +0 -4
  683. package/dist/cdn/LNOGOTUO.js +0 -4
  684. package/dist/cdn/M35EWG3A.js +0 -4
  685. package/dist/cdn/M3JCFUWF.js +0 -4
  686. package/dist/cdn/M6XAZZYO.js +0 -4
  687. package/dist/cdn/MA6HL7K7.js +0 -4
  688. package/dist/cdn/MBMAIEIY.js +0 -4
  689. package/dist/cdn/MGEO265K.js +0 -4
  690. package/dist/cdn/MSBMMGC7.js +0 -4
  691. package/dist/cdn/MTOZCJE4.js +0 -4
  692. package/dist/cdn/N35AGRPR.js +0 -4
  693. package/dist/cdn/N54JLHJH.js +0 -4
  694. package/dist/cdn/NHJUZYR7.js +0 -4
  695. package/dist/cdn/NICHIV22.js +0 -4
  696. package/dist/cdn/NYJGMFYD.js +0 -4
  697. package/dist/cdn/OAL2DV3H.js +0 -4
  698. package/dist/cdn/OB7MFKZ2.js +0 -4
  699. package/dist/cdn/OLAIRBN2.js +0 -4
  700. package/dist/cdn/OM5T7IMH.js +0 -4
  701. package/dist/cdn/OO6TJIN7.js +0 -4
  702. package/dist/cdn/OODU2NAN.js +0 -4
  703. package/dist/cdn/P7BS2OQL.js +0 -4
  704. package/dist/cdn/PF2BHU63.js +0 -4
  705. package/dist/cdn/PKSMBCZG.js +0 -4
  706. package/dist/cdn/Q4AC6G46.js +0 -4
  707. package/dist/cdn/Q7E3BJCS.js +0 -4
  708. package/dist/cdn/Q7RJTSMT.js +0 -4
  709. package/dist/cdn/QNRNXYW4.js +0 -4
  710. package/dist/cdn/QQHBOFYP.js +0 -4
  711. package/dist/cdn/QZVSJ65F.js +0 -4
  712. package/dist/cdn/R4KHFOUZ.js +0 -4
  713. package/dist/cdn/RTELX7UO.js +0 -4
  714. package/dist/cdn/RYZGV3PB.js +0 -4
  715. package/dist/cdn/SI3EGWNU.js +0 -4
  716. package/dist/cdn/SN7O2A3T.js +0 -4
  717. package/dist/cdn/SNZU6GQA.js +0 -4
  718. package/dist/cdn/SQHW7ZPZ.js +0 -4
  719. package/dist/cdn/SRQV7IAC.js +0 -4
  720. package/dist/cdn/TDWHOSGC.js +0 -4
  721. package/dist/cdn/TSL3GRQ7.js +0 -4
  722. package/dist/cdn/TVDSU7R2.js +0 -4
  723. package/dist/cdn/U4WWVT6W.js +0 -4
  724. package/dist/cdn/UKRZFM6L.js +0 -9
  725. package/dist/cdn/VA6J4CYT.js +0 -6
  726. package/dist/cdn/VGTBOKKG.js +0 -4
  727. package/dist/cdn/VN5JPWXN.js +0 -4
  728. package/dist/cdn/VOZF6LQJ.js +0 -4
  729. package/dist/cdn/X3OIHTMN.js +0 -4
  730. package/dist/cdn/XCQMZYFT.js +0 -4
  731. package/dist/cdn/XOUKYVQ4.js +0 -4
  732. package/dist/cdn/Y3TA75KJ.js +0 -4
  733. package/dist/cdn/YGES3DLF.js +0 -4
  734. package/dist/cdn/YHSECDVX.js +0 -4
  735. package/dist/cdn/YUWKUAFN.js +0 -4
  736. package/dist/cdn/YWD7ZFOR.js +0 -4
  737. package/dist/cdn/ZJE52YLT.js +0 -4
  738. package/dist/cdn/ZNSS52UU.js +0 -4
  739. package/dist/cdn/ZON57F3Z.js +0 -4
  740. package/dist/cdn/ZTB6OSGP.js +0 -4
  741. package/dist/cdn/ZWJFEUXM.js +0 -4
  742. package/dist/cdn/ZXP6O3VA.js +0 -4
  743. package/dist/cdn/assets/elevation-profile-next/t9n/messages.en.json +0 -1
  744. package/dist/components/arcgis-elevation-profile-next/customElement.d.ts +0 -208
  745. package/dist/components/arcgis-elevation-profile-next/customElement.js +0 -542
  746. package/dist/components/arcgis-elevation-profile-next/index.d.ts +0 -6
  747. package/dist/components/arcgis-elevation-profile-next/index.js +0 -6
  748. package/dist/components/arcgis-print-exported-link/customElement.d.ts +0 -14
  749. package/dist/components/arcgis-print-exported-link/customElement.js +0 -100
  750. package/dist/components/arcgis-print-exported-link/index.d.ts +0 -7
  751. package/dist/components/arcgis-print-exported-link/index.js +0 -7
  752. package/dist/utils/mapping-utils.d.ts +0 -2
  753. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.ar.json +0 -0
  754. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.bg.json +0 -0
  755. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.bs.json +0 -0
  756. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.ca.json +0 -0
  757. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.cs.json +0 -0
  758. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.da.json +0 -0
  759. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.de.json +0 -0
  760. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.el.json +0 -0
  761. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.es.json +0 -0
  762. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.et.json +0 -0
  763. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.fi.json +0 -0
  764. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.fr.json +0 -0
  765. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.he.json +0 -0
  766. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.hr.json +0 -0
  767. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.hu.json +0 -0
  768. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.id.json +0 -0
  769. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.it.json +0 -0
  770. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.ja.json +0 -0
  771. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.ko.json +0 -0
  772. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.lt.json +0 -0
  773. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.lv.json +0 -0
  774. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.nl.json +0 -0
  775. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.no.json +0 -0
  776. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.pl.json +0 -0
  777. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.pt-BR.json +0 -0
  778. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.pt-PT.json +0 -0
  779. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.ro.json +0 -0
  780. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.ru.json +0 -0
  781. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.sk.json +0 -0
  782. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.sl.json +0 -0
  783. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.sr.json +0 -0
  784. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.sv.json +0 -0
  785. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.th.json +0 -0
  786. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.tr.json +0 -0
  787. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.uk.json +0 -0
  788. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.vi.json +0 -0
  789. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.zh-CN.json +0 -0
  790. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.zh-HK.json +0 -0
  791. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.zh-TW.json +0 -0
@@ -17,6 +17,40 @@ declare const useFeaturesViewModel: (component: LitElement & Pick<FeaturesViewMo
17
17
  * by providing users with a simple way to interact with and view attributes in a layer.
18
18
  * They play an important role in relaying information to the user, which improves the storytelling capabilities of the application.
19
19
  *
20
+ * The [arcgis-map](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-map/), [arcgis-scene](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/), and [arcgis-link-chart](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-link-chart/) components currently use the [Popup widget](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Popup.html) by default.
21
+ * To use the Popup component, add it to the [arcgis-map.popup](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-map/#popup), [arcgis-scene.popup](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/#popup), or [arcgis-link-chart.popup](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-link-chart/#popup) component using the `popup` slot.
22
+ * The Popup component will be opened automatically to display the selected feature's popup template when features in the Map, Scene, or Link Chart are clicked.
23
+ *
24
+ * ```html
25
+ * <arcgis-map id="06ca49d0ddb447e7817cfc343ca30df9">
26
+ * <!-- Add the popup component to the popup slot. -->
27
+ * <arcgis-popup slot="popup"></arcgis-popup>
28
+ * </arcgis-map>
29
+ * ```
30
+ * The Popup component can also be opened manually at a specific location with custom content specified in the method parameters using the `open()` method.
31
+ * To prevent the popup from opening automatically when clicking on features within view components, set the `popup-disabled` attribute to `true`.
32
+ *
33
+ * ```html
34
+ * <!-- Set popup-disabled attribute -->
35
+ * <arcgis-map id="06ca49d0ddb447e7817cfc343ca30df9" popup-disabled>
36
+ * <!-- Add the popup component to the popup slot. -->
37
+ * <arcgis-popup slot="popup"></arcgis-popup>
38
+ * </arcgis-map>
39
+ * <script>
40
+ * const viewElement = document.querySelector("arcgis-map");
41
+ * const popupComponent = document.querySelector("arcgis-popup");
42
+ * // Listen for clicks on the view and open the popup at the clicked location with custom content.
43
+ * viewElement.addEventListener("arcgisViewClick", (event) => {
44
+ * const { mapPoint } = event.detail;
45
+ * popupComponent.open({
46
+ * location: mapPoint,
47
+ * heading: "You clicked here",
48
+ * content: "Latitude: " + mapPoint.latitude.toFixed(3) + ", Longitude: " + mapPoint.longitude.toFixed(3)
49
+ * });
50
+ * });
51
+ * </script>
52
+ * ```
53
+ *
20
54
  * ## Popup UI
21
55
  * The [arcgis-map](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-map/), [arcgis-scene](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/), or [arcgis-link-chart](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-link-chart/) components contain a default popup.
22
56
  * This popup can display generic content, which is set in its [heading](#heading)
@@ -102,12 +136,12 @@ export declare class ArcgisPopup extends LitElement {
102
136
  * to explicitly control where the popup displays in relation to the feature, choose
103
137
  * an option besides `auto`.
104
138
  *
139
+ * @default "auto"
105
140
  * @example
106
141
  * ```js
107
142
  * // Popup will display on the bottom-right of the selected feature regardless of where that feature is located
108
143
  * popupComponent.alignment = "bottom-right";
109
144
  * ```
110
- * @default "auto"
111
145
  */
112
146
  alignment: Alignment;
113
147
  /**
@@ -146,7 +180,7 @@ export declare class ArcgisPopup extends LitElement {
146
180
  * popupComponent.content = "Click a feature on the map to view its attributes";
147
181
  * ```
148
182
  */
149
- content: string | HTMLElement | nullish | __esri.Widget;
183
+ content: string | nullish | HTMLElement | __esri.Widget;
150
184
  /** Dock position in the [arcgis-map](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-map/), [arcgis-scene](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/), or [arcgis-link-chart](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-link-chart/) component. */
151
185
  get currentDockPosition(): nil | PopupPositionResult;
152
186
  /**
@@ -187,6 +221,7 @@ export declare class ArcgisPopup extends LitElement {
187
221
  *
188
222
  * See [dockOptions](#dockOptions) to override default options related to docking the popup.
189
223
  *
224
+ * @default false
190
225
  * @example
191
226
  * ```html
192
227
  * <!-- Setting this property in HTML -->
@@ -198,7 +233,6 @@ export declare class ArcgisPopup extends LitElement {
198
233
  * // The popup will automatically be dockEnabled when made visible
199
234
  * popupComponent.dockEnabled = true;
200
235
  * ```
201
- * @default false
202
236
  */
203
237
  dockEnabled: boolean;
204
238
  /**
@@ -313,6 +347,7 @@ export declare class ArcgisPopup extends LitElement {
313
347
  * in your app, you may need to adjust this heading for proper semantics. This is
314
348
  * important for meeting accessibility standards.
315
349
  *
350
+ * @default 2
316
351
  * @see [Heading Elements](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Heading_Elements)
317
352
  * @see [heading](#heading)
318
353
  * @example
@@ -320,7 +355,6 @@ export declare class ArcgisPopup extends LitElement {
320
355
  * <!-- Render the popup heading as a level 3 heading -->
321
356
  * <arcgis-popup heading="Popup title" heading-level="3"></arcgis-popup>
322
357
  * ```
323
- * @default 2
324
358
  */
325
359
  headingLevel: HeadingLevel;
326
360
  /**
@@ -468,20 +502,23 @@ export declare class ArcgisPopup extends LitElement {
468
502
  readonly state: "ready" | "disabled";
469
503
  /**
470
504
  * The view associated with the component.
471
- * > **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 ArcgisPopup component will be associated with a map or scene component rather than using the `view` property.
505
+ * > **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 Popup component will be associated with a map or scene component rather than using the `view` property.
472
506
  */
473
- view?: __esri.MapView | __esri.SceneView | nullish;
507
+ view?: nullish | __esri.MapView | __esri.SceneView;
474
508
  /**
475
509
  * Indicates whether the popup is visible. This property is `true` when the popup is querying for results, even if it is not open.
476
- * Use the property to check if the popup is visible and is not.
510
+ * Use the property to check if the popup is visible.
477
511
  *
512
+ * @default false
478
513
  * @name visible
479
514
  * @type {boolean}
480
- * @default false
481
515
  */
482
516
  visible: boolean;
483
- /** @internal */
484
- handleViewClick(event: Event): Promise<void>;
517
+ /**
518
+ * @param event
519
+ * @internal
520
+ */
521
+ handleViewClick(event: __esri.ViewClickEvent): Promise<__esri.FeaturesViewModelOpenOptions>;
485
522
  /**
486
523
  * Removes all [promises](#promises), [features](#features), [content](#content),
487
524
  * [heading](#heading) and [location](#location) from the Popup.
@@ -495,6 +532,8 @@ export declare class ArcgisPopup extends LitElement {
495
532
  * in the [view](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-View.html). In order to use this, a layer must already have an
496
533
  * associated [PopupTemplate](https://developers.arcgis.com/javascript/latest/api-reference/esri-PopupTemplate.html) and have its [popupEnabled](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#popupEnabled).
497
534
  *
535
+ * @param screenPoint
536
+ * @param options
498
537
  * @example
499
538
  * ```js
500
539
  * // Example showing how to use fetchFeatures in an application
@@ -533,6 +572,7 @@ export declare class ArcgisPopup extends LitElement {
533
572
  * The popup will only display if the [arcgis-map](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-map/) or [arcgis-scene](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/) size constraints in [dockOptions](#dockOptions) are met or the [location](#location)
534
573
  * property is set to a geometry.
535
574
  *
575
+ * @param options
536
576
  * @see [visible](#visible)
537
577
  * @example
538
578
  * ```js
@@ -581,15 +621,17 @@ export declare class ArcgisPopup extends LitElement {
581
621
  * @see [selectedFeatureIndex](#selectedFeatureIndex)
582
622
  */
583
623
  previous(): Promise<FeaturesViewModel>;
584
- /** Use this method to give focus to the Widget if the widget is able to be focused. */
624
+ /** Use this method to give focus to the component if the component is able to be focused. */
585
625
  setFocus(): Promise<void>;
586
626
  /**
587
627
  * Triggers the [arcgisTriggerAction](#arcgisTriggerAction) event and executes the [action](#actions)
588
628
  * at the specified index in the [actions](#actions) array.
629
+ *
630
+ * @param action
589
631
  */
590
632
  triggerAction(action: __esri.ActionButton | __esri.ActionToggle): Promise<void>;
591
633
  readonly arcgisPropertyChange: TargetedEvent<this, {
592
- name: "state" | "active" | "collapsed" | "featureCount" | "visible" | "selectedFeature" | "featureMenuOpen" | "features" | "promises" | "selectedFeatureIndex" | "selectedDrillInFeature" | "selectedFeatureComponent" | "currentAlignment" | "dockEnabled";
634
+ name: "active" | "visible" | "state" | "collapsed" | "featureCount" | "selectedFeature" | "featureMenuOpen" | "features" | "promises" | "selectedFeatureIndex" | "selectedDrillInFeature" | "selectedFeatureComponent" | "currentAlignment" | "dockEnabled";
593
635
  }>;
594
636
  /** Emitted when the component associated with a map or scene view is ready to be interacted with. */
595
637
  readonly arcgisReady: TargetedEvent<this, void>;
@@ -5,7 +5,7 @@ import P from "@arcgis/core/widgets/Features/FeaturesViewModel.js";
5
5
  import { u as T } from "../../chunks/useT9n.js";
6
6
  import { usePropertyChange as H } from "@arcgis/lumina/controllers";
7
7
  import { m as N } from "../../chunks/useViewModel.js";
8
- import { LitElement as S, createEvent as M, safeStyleMap as O, safeClassMap as b } from "@arcgis/lumina";
8
+ import { LitElement as S, createEvent as y, safeStyleMap as O, safeClassMap as b } from "@arcgis/lumina";
9
9
  import { stripHTML as W } from "@arcgis/core/applications/Components/stringUtils.js";
10
10
  import { unsafeGetElementDirection as D, classes as x } from "@arcgis/toolkit/dom";
11
11
  import { createRef as v, ref as _ } from "lit-html/directives/ref.js";
@@ -15,7 +15,7 @@ import { t as I } from "../../chunks/screenLocation.js";
15
15
  import "../arcgis-search-result-renderer/customElement.js";
16
16
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
17
17
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
18
- v5.0.0-next.6 */
18
+ v5.0.0-next.61 */
19
19
  const p = "arcgis-popup", u = `${p}--is-docked`, a = {
20
20
  base: p,
21
21
  baseHidden: `${p}--hidden`,
@@ -48,7 +48,7 @@ const p = "arcgis-popup", u = `${p}--is-docked`, a = {
48
48
  // pointer
49
49
  pointer: `${p}__pointer`,
50
50
  pointerDirection: `${p}__pointer-direction`
51
- }, R = F`:host{display:contents;--arcgis-internal-popup-pointer-size: 12px;--arcgis-internal-popup-content-small-size: 280px;--arcgis-internal-popup-content-medium-size: 340px;--arcgis-internal-popup-content-large-size: 400px;--arcgis-internal-popup-content-x-large-size: 460px;--arcgis-internal-popup-content-min-size-y: 48px;--arcgis-internal-popup-pointer-size-half: calc(var(--arcgis-internal-popup-pointer-size) / 2);--arcgis-internal-popup-pointer-size-half-negative: calc(var(--arcgis-internal-popup-pointer-size-half) * -1)}.arcgis-popup{display:flex;position:absolute;flex-flow:column nowrap;z-index:1;pointer-events:none}.arcgis-popup--hidden{visibility:hidden}arcgis-features{flex:1;width:100%}.arcgis-popup--shadow{box-shadow:var(--calcite-shadow-sm)}.arcgis-popup--aligned-top-center{transform-origin:50% 100%}.arcgis-popup--aligned-bottom-center{transform-origin:50% -5%}.arcgis-popup--aligned-top-left,.arcgis-popup--aligned-bottom-left{transform-origin:100% 50%}.arcgis-popup--aligned-top-right,.arcgis-popup--aligned-bottom-right{transform-origin:-5% 50%}.arcgis-popup--aligned-top-center,.arcgis-popup--aligned-top-left,.arcgis-popup--aligned-top-right{animation:popup-intro-animation-down .2s ease-in-out}.arcgis-popup--aligned-bottom-center,.arcgis-popup--aligned-bottom-left,.arcgis-popup--aligned-bottom-right{animation:popup-intro-animation-up .2s ease-in-out}.arcgis-popup__main-container{display:flex;position:relative;z-index:1;background-color:var(--calcite-color-foreground-1);width:var(--arcgis-internal-popup-content-medium-size);min-height:var(--arcgis-internal-popup-content-min-size-y);max-height:var(--arcgis-internal-popup-content-medium-size);overflow:hidden;pointer-events:auto}.arcgis-popup__pointer{position:absolute;width:0;height:0}.arcgis-popup__pointer-direction{position:absolute;width:var(--arcgis-internal-popup-pointer-size);height:var(--arcgis-internal-popup-pointer-size);content:"";background-color:var(--calcite-color-foreground-1)}.arcgis-popup--aligned-top-center .arcgis-popup__pointer{top:100%;left:50%;margin:0 0 0 var(--arcgis-internal-popup-pointer-size-half-negative)}.arcgis-popup--aligned-bottom-center .arcgis-popup__pointer{bottom:100%;left:50%;margin:0 0 0 var(--arcgis-internal-popup-pointer-size-half-negative)}.arcgis-popup--aligned-top-left .arcgis-popup__pointer{right:var(--arcgis-internal-popup-pointer-size-half);bottom:var(--arcgis-internal-popup-pointer-size-half);transform:rotate(-45deg)}.arcgis-popup--aligned-bottom-left .arcgis-popup__pointer{top:var(--arcgis-internal-popup-pointer-size-half);right:var(--arcgis-internal-popup-pointer-size-half);transform:rotate(45deg)}.arcgis-popup--aligned-top-right .arcgis-popup__pointer{bottom:var(--arcgis-internal-popup-pointer-size-half);left:var(--arcgis-internal-popup-pointer-size-half);transform:rotate(45deg)}.arcgis-popup--aligned-bottom-right .arcgis-popup__pointer{top:var(--arcgis-internal-popup-pointer-size-half);left:var(--arcgis-internal-popup-pointer-size-half);transform:rotate(-45deg)}.arcgis-popup--aligned-top-center .arcgis-popup__pointer-direction,.arcgis-popup--aligned-bottom-center .arcgis-popup__pointer-direction{transform:scale(.75,2) rotate(45deg)}.arcgis-popup--aligned-top-left .arcgis-popup__pointer-direction,.arcgis-popup--aligned-bottom-left .arcgis-popup__pointer-direction,.arcgis-popup--aligned-top-right .arcgis-popup__pointer-direction,.arcgis-popup--aligned-bottom-right .arcgis-popup__pointer-direction{top:var(--arcgis-internal-popup-pointer-size-half-negative);left:var(--arcgis-internal-popup-pointer-size-half-negative);transform:scale(.75,2.5) rotate(45deg)}.arcgis-popup--aligned-top-center .arcgis-popup__pointer-direction{top:var(--arcgis-internal-popup-pointer-size-half-negative);left:0}.arcgis-popup--aligned-bottom-center .arcgis-popup__pointer-direction{bottom:var(--arcgis-internal-popup-pointer-size-half-negative);left:0}.arcgis-popup--is-xl-width-breakpoint .arcgis-popup__main-container{width:var(--arcgis-internal-popup-content-x-large-size)}.arcgis-popup--is-lg-width-breakpoint .arcgis-popup__main-container{width:var(--arcgis-internal-popup-content-large-size)}.arcgis-popup--is-md-width-breakpoint .arcgis-popup__main-container{width:var(--arcgis-internal-popup-content-medium-size)}.arcgis-popup--is-sm-width-breakpoint .arcgis-popup__main-container,.arcgis-popup--is-xs-width-breakpoint .arcgis-popup__main-container{width:var(--arcgis-internal-popup-content-small-size)}.arcgis-popup--is-xs-width-breakpoint.arcgis-popup--is-docked-top-center,.arcgis-popup--is-xs-width-breakpoint.arcgis-popup--is-docked-bottom-center{margin:0;width:auto}.arcgis-popup--is-xs-width-breakpoint.arcgis-popup--is-docked-top-center .arcgis-popup__main-container,.arcgis-popup--is-xs-width-breakpoint.arcgis-popup--is-docked-bottom-center .arcgis-popup__main-container{position:absolute;right:0;left:0;width:100%;max-height:75%}.arcgis-popup--is-xs-width-breakpoint.arcgis-popup--is-docked-bottom-center .arcgis-popup__main-container{bottom:0}.arcgis-popup--is-xs-width-breakpoint.arcgis-popup--is-docked-top-center .arcgis-popup__main-container{top:0}.arcgis-popup--is-xl-height-breakpoint .arcgis-popup__main-container{max-height:var(--arcgis-internal-popup-content-x-large-size)}.arcgis-popup--is-lg-height-breakpoint .arcgis-popup__main-container{max-height:var(--arcgis-internal-popup-content-large-size)}.arcgis-popup--is-sm-height-breakpoint .arcgis-popup__main-container,.arcgis-popup--is-xs-height-breakpoint .arcgis-popup__main-container{max-height:var(--arcgis-internal-popup-content-small-size)}.arcgis-popup--is-docked{inset:0;margin:var(--calcite-spacing-lg) var(--calcite-spacing-lg) var(--calcite-spacing-xxxl) var(--calcite-spacing-lg);animation:docking-animation .25s ease-out}.arcgis-popup--is-docked-top-left,.arcgis-popup--is-docked-top-center,.arcgis-popup--is-docked-top-right{align-items:flex-start}.arcgis-popup--is-docked-bottom-left,.arcgis-popup--is-docked-bottom-center,.arcgis-popup--is-docked-bottom-right{align-items:flex-end}.arcgis-popup--is-docked-top-left,.arcgis-popup--is-docked-bottom-left{justify-content:flex-start}.arcgis-popup--is-docked-top-center,.arcgis-popup--is-docked-bottom-center{justify-content:center}.arcgis-popup--is-docked-top-right,.arcgis-popup--is-docked-bottom-right{justify-content:flex-end}.arcgis-popup--is-docked-top-left .arcgis-popup__main-container,.arcgis-popup--is-docked-top-right .arcgis-popup__main-container,.arcgis-popup--is-docked-bottom-left .arcgis-popup__main-container,.arcgis-popup--is-docked-bottom-right .arcgis-popup__main-container{max-height:80%}.arcgis-popup--is-docked-top-center .arcgis-popup__main-container,.arcgis-popup--is-docked-bottom-center .arcgis-popup__main-container{max-height:40%}.arcgis-popup--is-docked{flex-flow:row nowrap}:dir(rtl) .arcgis-popup--is-docked-top-left,:dir(rtl) .arcgis-popup--is-docked-bottom-left{justify-content:flex-end}:dir(rtl) .arcgis-popup--is-docked-top-right,:dir(rtl) .arcgis-popup--is-docked-bottom-right{justify-content:flex-start}@media (prefers-reduced-motion){.arcgis-popup--aligned-top-center,.arcgis-popup--aligned-top-left,.arcgis-popup--aligned-top-right,.arcgis-popup--aligned-bottom-center,.arcgis-popup--aligned-bottom-left,.arcgis-popup--aligned-bottom-right{animation:none}}@media (prefers-reduced-motion){.arcgis-popup--is-docked{animation:none}}@keyframes docking-animation{0%{opacity:0}25%{opacity:0}to{opacity:1}}@keyframes popup-intro-animation-down{0%{transform:translateY(calc(var(--calcite-spacing-xs) * -1));opacity:0}to{transform:translate(0);opacity:1}}@keyframes popup-intro-animation-up{0%{transform:translateY(var(--calcite-spacing-xs));opacity:0}to{transform:translate(0);opacity:1}}`;
51
+ }, R = F`:host{display:contents;--arcgis-internal-popup-pointer-size: 12px;--arcgis-internal-popup-content-small-size: 280px;--arcgis-internal-popup-content-medium-size: 340px;--arcgis-internal-popup-content-large-size: 400px;--arcgis-internal-popup-content-x-large-size: 460px;--arcgis-internal-popup-content-min-size-y: 48px;--arcgis-internal-popup-pointer-size-half: calc(var(--arcgis-internal-popup-pointer-size) / 2);--arcgis-internal-popup-pointer-size-half-negative: calc(var(--arcgis-internal-popup-pointer-size-half) * -1)}.arcgis-popup{display:flex;position:absolute;flex-flow:column nowrap;z-index:1;pointer-events:none}.arcgis-popup--hidden{visibility:hidden}arcgis-features{flex:1;width:100%}.arcgis-popup--shadow{box-shadow:var(--calcite-shadow-sm)}.arcgis-popup--aligned-top-center{transform-origin:50% 100%}.arcgis-popup--aligned-bottom-center{transform-origin:50% -5%}.arcgis-popup--aligned-top-left,.arcgis-popup--aligned-bottom-left{transform-origin:100% 50%}.arcgis-popup--aligned-top-right,.arcgis-popup--aligned-bottom-right{transform-origin:-5% 50%}.arcgis-popup--aligned-top-center,.arcgis-popup--aligned-top-left,.arcgis-popup--aligned-top-right{animation:popup-intro-animation-down .2s ease-in-out}.arcgis-popup--aligned-bottom-center,.arcgis-popup--aligned-bottom-left,.arcgis-popup--aligned-bottom-right{animation:popup-intro-animation-up .2s ease-in-out}.arcgis-popup__main-container{display:flex;position:relative;z-index:1;background-color:var(--calcite-color-foreground-1);width:var(--arcgis-internal-popup-content-medium-size);min-height:var(--arcgis-internal-popup-content-min-size-y);max-height:var(--arcgis-internal-popup-content-medium-size);overflow:hidden;pointer-events:auto}.arcgis-popup__pointer{position:absolute;width:0;height:0}.arcgis-popup__pointer-direction{position:absolute;width:var(--arcgis-internal-popup-pointer-size);height:var(--arcgis-internal-popup-pointer-size);content:"";background-color:var(--calcite-color-foreground-1)}.arcgis-popup--aligned-top-center .arcgis-popup__pointer{top:100%;left:50%;margin:0 0 0 var(--arcgis-internal-popup-pointer-size-half-negative)}.arcgis-popup--aligned-bottom-center .arcgis-popup__pointer{bottom:100%;left:50%;margin:0 0 0 var(--arcgis-internal-popup-pointer-size-half-negative)}.arcgis-popup--aligned-top-left .arcgis-popup__pointer{right:var(--arcgis-internal-popup-pointer-size-half);bottom:var(--arcgis-internal-popup-pointer-size-half);transform:rotate(-45deg)}.arcgis-popup--aligned-bottom-left .arcgis-popup__pointer{top:var(--arcgis-internal-popup-pointer-size-half);right:var(--arcgis-internal-popup-pointer-size-half);transform:rotate(45deg)}.arcgis-popup--aligned-top-right .arcgis-popup__pointer{bottom:var(--arcgis-internal-popup-pointer-size-half);left:var(--arcgis-internal-popup-pointer-size-half);transform:rotate(45deg)}.arcgis-popup--aligned-bottom-right .arcgis-popup__pointer{top:var(--arcgis-internal-popup-pointer-size-half);left:var(--arcgis-internal-popup-pointer-size-half);transform:rotate(-45deg)}.arcgis-popup--aligned-top-center .arcgis-popup__pointer-direction,.arcgis-popup--aligned-bottom-center .arcgis-popup__pointer-direction{transform:scale(.75,2) rotate(45deg)}.arcgis-popup--aligned-top-left .arcgis-popup__pointer-direction,.arcgis-popup--aligned-bottom-left .arcgis-popup__pointer-direction,.arcgis-popup--aligned-top-right .arcgis-popup__pointer-direction,.arcgis-popup--aligned-bottom-right .arcgis-popup__pointer-direction{top:var(--arcgis-internal-popup-pointer-size-half-negative);left:var(--arcgis-internal-popup-pointer-size-half-negative);transform:scale(.75,2.5) rotate(45deg)}.arcgis-popup--aligned-top-center .arcgis-popup__pointer-direction{top:var(--arcgis-internal-popup-pointer-size-half-negative);left:0}.arcgis-popup--aligned-bottom-center .arcgis-popup__pointer-direction{bottom:var(--arcgis-internal-popup-pointer-size-half-negative);left:0}.arcgis-popup--is-xl-width-breakpoint .arcgis-popup__main-container{width:var(--arcgis-internal-popup-content-x-large-size)}.arcgis-popup--is-lg-width-breakpoint .arcgis-popup__main-container{width:var(--arcgis-internal-popup-content-large-size)}.arcgis-popup--is-md-width-breakpoint .arcgis-popup__main-container{width:var(--arcgis-internal-popup-content-medium-size)}.arcgis-popup--is-sm-width-breakpoint .arcgis-popup__main-container,.arcgis-popup--is-xs-width-breakpoint .arcgis-popup__main-container{width:var(--arcgis-internal-popup-content-small-size)}.arcgis-popup--is-xs-width-breakpoint.arcgis-popup--is-docked-top-center,.arcgis-popup--is-xs-width-breakpoint.arcgis-popup--is-docked-bottom-center{margin:0;width:auto}.arcgis-popup--is-xs-width-breakpoint.arcgis-popup--is-docked-top-center .arcgis-popup__main-container,.arcgis-popup--is-xs-width-breakpoint.arcgis-popup--is-docked-bottom-center .arcgis-popup__main-container{position:absolute;right:0;left:0;width:100%;max-height:75%}.arcgis-popup--is-xs-width-breakpoint.arcgis-popup--is-docked-bottom-center .arcgis-popup__main-container{bottom:0}.arcgis-popup--is-xs-width-breakpoint.arcgis-popup--is-docked-top-center .arcgis-popup__main-container{top:0}.arcgis-popup--is-xl-height-breakpoint .arcgis-popup__main-container{max-height:var(--arcgis-internal-popup-content-x-large-size)}.arcgis-popup--is-lg-height-breakpoint .arcgis-popup__main-container{max-height:var(--arcgis-internal-popup-content-large-size)}.arcgis-popup--is-sm-height-breakpoint .arcgis-popup__main-container,.arcgis-popup--is-xs-height-breakpoint .arcgis-popup__main-container{max-height:var(--arcgis-internal-popup-content-small-size)}.arcgis-popup--is-docked{inset:0;margin:var(--calcite-spacing-lg) var(--calcite-spacing-lg) var(--calcite-spacing-xxxl) var(--calcite-spacing-lg);animation:docking-animation .25s ease-out}.arcgis-popup--is-docked-top-left,.arcgis-popup--is-docked-top-center,.arcgis-popup--is-docked-top-right{align-items:flex-start}.arcgis-popup--is-docked-bottom-left,.arcgis-popup--is-docked-bottom-center,.arcgis-popup--is-docked-bottom-right{align-items:flex-end}.arcgis-popup--is-docked-top-left,.arcgis-popup--is-docked-bottom-left{justify-content:flex-start}.arcgis-popup--is-docked-top-center,.arcgis-popup--is-docked-bottom-center{justify-content:center}.arcgis-popup--is-docked-top-right,.arcgis-popup--is-docked-bottom-right{justify-content:flex-end}.arcgis-popup--is-docked-top-left .arcgis-popup__main-container,.arcgis-popup--is-docked-top-right .arcgis-popup__main-container,.arcgis-popup--is-docked-bottom-left .arcgis-popup__main-container,.arcgis-popup--is-docked-bottom-right .arcgis-popup__main-container{max-height:80%}.arcgis-popup--is-docked-top-center .arcgis-popup__main-container,.arcgis-popup--is-docked-bottom-center .arcgis-popup__main-container{max-height:40%}.arcgis-popup--is-docked{flex-flow:row nowrap}:dir(rtl) .arcgis-popup--is-docked-top-left,:dir(rtl) .arcgis-popup--is-docked-bottom-left{justify-content:flex-end}:dir(rtl) .arcgis-popup--is-docked-top-right,:dir(rtl) .arcgis-popup--is-docked-bottom-right{justify-content:flex-start}@media(prefers-reduced-motion){.arcgis-popup--aligned-top-center,.arcgis-popup--aligned-top-left,.arcgis-popup--aligned-top-right,.arcgis-popup--aligned-bottom-center,.arcgis-popup--aligned-bottom-left,.arcgis-popup--aligned-bottom-right{animation:none}}@media(prefers-reduced-motion){.arcgis-popup--is-docked{animation:none}}@keyframes docking-animation{0%{opacity:0}25%{opacity:0}to{opacity:1}}@keyframes popup-intro-animation-down{0%{transform:translateY(calc(var(--calcite-spacing-xs) * -1));opacity:0}to{transform:translate(0);opacity:1}}@keyframes popup-intro-animation-up{0%{transform:translateY(var(--calcite-spacing-xs));opacity:0}to{transform:translate(0);opacity:1}}`;
52
52
  function w(C) {
53
53
  return C && Number.parseInt(C.replaceAll(/[^-\d.]/gu, ""), 10) || 0;
54
54
  }
@@ -61,7 +61,7 @@ const j = N(P), $ = {
61
61
  };
62
62
  class X extends S {
63
63
  constructor() {
64
- super(...arguments), this._featuresComponent = v(), this._dockAction = new V({ id: "popup-dock-action" }), this._mainContainerNode = v(), this._pointerNode = v(), this.messages = T({}), this.viewModel = j(this), this._containerNode = v(), this.screenLocation = I(this), this.actions = this.viewModel.actions, this.active = this.viewModel.active, this.alignment = "auto", this.autoCloseEnabled = this.viewModel.autoCloseEnabled, this.autoDestroyDisabled = !1, this.collapsed = !1, this.content = this.viewModel.content, this.defaultPopupTemplateEnabled = this.viewModel.defaultPopupTemplateEnabled, this.dockEnabled = !1, this.featureCount = this.viewModel.featureCount, this.featureMenuOpen = this.viewModel.featureMenuOpen, this.features = this.viewModel.features, this.goToOverride = this.viewModel.goToOverride, this.heading = this.viewModel.title, this.headingLevel = 2, this.hideActionBar = !1, this.hideCloseButton = !1, this.hideCollapseButton = !1, this.hideFeatureMenuHeading = !1, this.hideFeatureNavigation = !1, this.hideFeatureListLayerTitle = !1, this.hideHeading = !1, this.hideSpinner = !1, this.highlightDisabled = this.viewModel.highlightEnabled, this.includeDefaultActionsDisabled = this.viewModel.includeDefaultActions, this.initialDisplayMode = this.viewModel.initialDisplayMode, this.location = this.viewModel.location, this.promises = this.viewModel.promises, this.selectedFeature = this.viewModel.selectedFeature, this.selectedFeatureIndex = this.viewModel.selectedFeatureIndex, this.state = this.viewModel.state, this.updateLocationEnabled = this.viewModel.updateLocationEnabled, this.view = this.viewModel.view, this.visible = this.viewModel.visible, this.arcgisPropertyChange = H()("active", "collapsed", "currentAlignment", "dockEnabled", "featureCount", "featureMenuOpen", "features", "promises", "selectedDrillInFeature", "selectedFeature", "selectedFeatureComponent", "selectedFeatureIndex", "state", "visible"), this.arcgisReady = M(), this.arcgisClose = M(), this.arcgisTriggerAction = M();
64
+ super(...arguments), this._featuresComponent = v(), this._dockAction = new V({ id: "popup-dock-action" }), this._mainContainerNode = v(), this._pointerNode = v(), this.messages = T({}), this.viewModel = j(this), this._containerNode = v(), this.screenLocation = I(this), this.actions = this.viewModel.actions, this.active = this.viewModel.active, this.alignment = "auto", this.autoCloseEnabled = this.viewModel.autoCloseEnabled, this.autoDestroyDisabled = !1, this.collapsed = !1, this.content = this.viewModel.content, this.defaultPopupTemplateEnabled = this.viewModel.defaultPopupTemplateEnabled, this.dockEnabled = !1, this.featureCount = this.viewModel.featureCount, this.featureMenuOpen = this.viewModel.featureMenuOpen, this.features = this.viewModel.features, this.goToOverride = this.viewModel.goToOverride, this.heading = this.viewModel.title, this.headingLevel = 2, this.hideActionBar = !1, this.hideCloseButton = !1, this.hideCollapseButton = !1, this.hideFeatureMenuHeading = !1, this.hideFeatureNavigation = !1, this.hideFeatureListLayerTitle = !1, this.hideHeading = !1, this.hideSpinner = !1, this.highlightDisabled = this.viewModel.highlightEnabled, this.includeDefaultActionsDisabled = this.viewModel.includeDefaultActions, this.initialDisplayMode = this.viewModel.initialDisplayMode, this.location = this.viewModel.location, this.promises = this.viewModel.promises, this.selectedFeature = this.viewModel.selectedFeature, this.selectedFeatureIndex = this.viewModel.selectedFeatureIndex, this.state = this.viewModel.state, this.updateLocationEnabled = this.viewModel.updateLocationEnabled, this.view = this.viewModel.view, this.visible = this.viewModel.visible, this.arcgisPropertyChange = H()("active", "collapsed", "currentAlignment", "dockEnabled", "featureCount", "featureMenuOpen", "features", "promises", "selectedDrillInFeature", "selectedFeature", "selectedFeatureComponent", "selectedFeatureIndex", "state", "visible"), this.arcgisReady = y(), this.arcgisClose = y(), this.arcgisTriggerAction = y();
65
65
  }
66
66
  static {
67
67
  this.properties = { screenLocation: 16, positionStyle: 16, _featureNavigationTop: 16, actions: 0, active: 0, alignment: 1, autoCloseEnabled: 5, autoDestroyDisabled: 5, collapsed: 0, content: 1, currentAlignment: 32, currentDockPosition: 32, defaultPopupTemplateEnabled: 5, dockEnabled: 5, dockOptions: 0, featureCount: 0, featureMenuOpen: 5, features: 0, goToOverride: 0, heading: 1, headingLevel: 9, hideActionBar: 5, hideCloseButton: 5, hideCollapseButton: 5, hideFeatureMenuHeading: 5, hideFeatureNavigation: 5, hideFeatureListLayerTitle: 5, hideHeading: 5, hideSpinner: 5, highlightDisabled: 5, includeDefaultActionsDisabled: 5, initialDisplayMode: 1, label: 1, location: 0, messageOverrides: 0, promises: 0, referenceElement: 1, selectedDrillInFeature: 32, selectedFeature: 0, selectedFeatureComponent: 32, selectedFeatureIndex: 9, state: 3, updateLocationEnabled: 5, view: 0, visible: 5 };
@@ -148,6 +148,9 @@ class X extends S {
148
148
  ], () => this._positionContainer(), { initial: !0 }),
149
149
  g(() => this.viewModel?.view?.size, (t, e) => this._updateDockEnabledForViewSize(t, e)),
150
150
  g(() => this.viewModel?.view?.ready, () => this._setDockEnabledForViewSize(this.dockOptions), { initial: !0 }),
151
+ g(() => this.view?.map, (t) => {
152
+ this.viewModel.map = t;
153
+ }, { initial: !0 }),
151
154
  g(() => this.screenLocation, (t, e) => this._autoClose(t, e))
152
155
  ]);
153
156
  }
@@ -192,7 +195,7 @@ class X extends S {
192
195
  screenLocation: i,
193
196
  side: "left",
194
197
  view: s
195
- }), y = this._isOutsideView({
198
+ }), M = this._isOutsideView({
196
199
  popupHeight: f,
197
200
  popupWidth: m,
198
201
  screenLocation: i,
@@ -205,7 +208,7 @@ class X extends S {
205
208
  side: "bottom",
206
209
  view: s
207
210
  });
208
- return B ? y ? "bottom-right" : "top-right" : z ? y ? "bottom-left" : "top-left" : y ? A ? "top-center" : "bottom-center" : "top-center";
211
+ return B ? M ? "bottom-right" : "top-right" : z ? M ? "bottom-left" : "top-left" : M ? A ? "top-center" : "bottom-center" : "top-center";
209
212
  }
210
213
  _callCurrentAlignment(t) {
211
214
  return typeof t == "function" ? t.call(this) : t;
@@ -59,9 +59,9 @@ declare const usePrintViewModel: (component: LitElement & Pick<PrintViewModel, n
59
59
  export declare class ArcgisPrint extends LitElement {
60
60
  /**
61
61
  * The view associated with the component.
62
- * > **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 ArcgisPrint component will be associated with a map or scene component rather than using the `view` property.
62
+ * > **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.
63
63
  */
64
- view?: __esri.MapView | nullish;
64
+ view?: nullish | __esri.MapView;
65
65
  /**
66
66
  * Indicates whether the component's header is hidden.
67
67
  *
@@ -75,16 +75,22 @@ export declare class ArcgisPrint extends LitElement {
75
75
  * See [Associate components with a Map or Scene component](https://developers.arcgis.com/javascript/latest/programming-patterns/#associate-components-with-a-map-or-scene-component).
76
76
  */
77
77
  referenceElement?: ArcgisReferenceElement | string;
78
- /** @deprecated since 4.34, use `slot` instead. */
78
+ /** @deprecated since 4.34, use [`slot`](https://developers.arcgis.com/javascript/latest/building-your-ui/#slots) instead. */
79
79
  position?: __esri.UIPosition;
80
80
  /**
81
81
  * Icon which represents the component.
82
82
  * Typically used when the component is controlled by another component (e.g. by the Expand component).
83
83
  *
84
- * @see [Calcite Icons](https://developers.arcgis.com/calcite-design-system/icons/)
85
84
  * @default "print"
85
+ * @see [Calcite Icons](https://developers.arcgis.com/calcite-design-system/icons/)
86
86
  */
87
87
  icon?: string;
88
+ /**
89
+ * Indicates whether the advanced options section in the Print component UI is hidden.
90
+ *
91
+ * @default false
92
+ */
93
+ hideAdvancedOptions: boolean;
88
94
  /**
89
95
  * Specify the print output file format(s) that the user can select based on the options available from the print service.
90
96
  * This property can take a string value or an array of string values.
@@ -107,8 +113,15 @@ export declare class ArcgisPrint extends LitElement {
107
113
  * @default "all"
108
114
  */
109
115
  allowedLayouts: string | string[];
110
- /** @internal */
111
- browseTemplateButtonOnClick?: () => void;
116
+ /**
117
+ * Indicates whether to automatically populate the author field in the print layout advanced options
118
+ * with the username of the current portal user.
119
+ *
120
+ * This only takes effect if there is a portal with a signed-in user assigned to the [portal](#portal) property.
121
+ *
122
+ * @default false
123
+ */
124
+ autoPopulateAuthor: boolean;
112
125
  /**
113
126
  * Specifies the print output file format(s) that the user can select when saving the exported map printout.
114
127
  * This property can take a string value or an array of string values.
@@ -164,8 +177,13 @@ export declare class ArcgisPrint extends LitElement {
164
177
  * If the [portal](#portal) property is set, this property will use the portal's print service URL.
165
178
  */
166
179
  printServiceUrl: string | nullish;
167
- /** @internal */
168
- saveAsButtonCallback?: (exportedLink: __esri.FileLink) => Promise<__esri.PortalItem>;
180
+ /**
181
+ * Indicates whether to show the "Save As" option in the Print component UI.
182
+ *
183
+ * @default false
184
+ * @internal
185
+ */
186
+ showSaveAs?: boolean;
169
187
  /**
170
188
  * An object containing an array of `customTextElements` name-value pair objects
171
189
  * for each print template in a custom print service. Use this property to update
@@ -184,7 +202,8 @@ export declare class ArcgisPrint extends LitElement {
184
202
  */
185
203
  templateCustomTextElements: nullish | HashMap<HashMap<string>[]>;
186
204
  /** Defines the layout template options used by the Print component to generate the print page. */
187
- templateOptions: __esri.TemplateOptions;
205
+ get templateOptions(): typeof this.viewModel.templateOptions;
206
+ set templateOptions(value: Partial<__esri.TemplateOptions>);
188
207
  /**
189
208
  * If true, the component will not be destroyed automatically when it is
190
209
  * disconnected from the document. This is useful when you want to move the
@@ -209,18 +228,30 @@ export declare class ArcgisPrint extends LitElement {
209
228
  * @default "disabled"
210
229
  */
211
230
  readonly state: "ready" | "disabled" | "error" | "initializing";
231
+ /**
232
+ * Adds a portal item to a collection of browse templates available in the Print component UI.
233
+ *
234
+ * @param portalItem
235
+ * @param portalItem
236
+ * @returns
237
+ */
238
+ addPortalTemplate(portalItem: __esri.PortalItem): Promise<void>;
212
239
  /** Permanently destroy the component. */
213
240
  destroy(): Promise<void>;
241
+ /** Emitted when the component is complete. */
242
+ readonly arcgisComplete: TargetedEvent<this, __esri.PrintCompleteEvent>;
214
243
  /** Emitted when the value of a property is changed. Use this to listen to changes to properties. */
215
244
  readonly arcgisPropertyChange: TargetedEvent<this, {
216
245
  name: "state";
217
246
  }>;
218
247
  /** Emitted when the component associated with a map or scene view is ready to be interacted with. */
219
248
  readonly arcgisReady: TargetedEvent<this, void>;
220
- /** Emitted when the component is complete. */
221
- readonly arcgisComplete: TargetedEvent<this, __esri.PrintCompleteEvent>;
222
249
  /** Emitted when the component is submitted. */
223
250
  readonly arcgisSubmit: TargetedEvent<this, __esri.PrintSubmitEvent>;
251
+ /** Emitted when the collection of browse templates changes. */
252
+ readonly arcgisBrowseTemplatesChange: TargetedEvent<this, __esri.CollectionChangeEvent<__esri.CustomTemplate>>;
253
+ /** Emitted when the user saves an exported map printout. */
254
+ readonly arcgisSaveAs: TargetedEvent<this, __esri.FileLink>;
224
255
  private messages: {
225
256
  componentLabel: string;
226
257
  title: string;
@@ -364,5 +395,9 @@ export declare class ArcgisPrint extends LitElement {
364
395
  saveAs: string;
365
396
  openItem: string;
366
397
  }>;
398
+ private viewModel: PrintViewModel;
399
+ readonly _setterTypes: {
400
+ templateOptions?: Partial<__esri.TemplateOptions>;
401
+ };
367
402
  }
368
403
  export {};
@@ -1,43 +1,52 @@
1
- import { c } from "../../chunks/runtime.js";
2
- import { css as g, html as t } from "lit";
3
- import { classes as p } from "@arcgis/toolkit/dom";
4
- import h from "@arcgis/core/widgets/Print/PrintViewModel.js";
5
- import { LitElement as m, createEvent as w, safeClassMap as s } from "@arcgis/lumina";
6
- import { usePropertyChange as _ } from "@arcgis/lumina/controllers";
7
- import { reEmitEvent as l } from "@arcgis/lumina/controllers/accessor";
8
- import { u } from "../../chunks/useT9n.js";
9
- import { m as v } from "../../chunks/useViewModel.js";
10
- import { g as n } from "../../chunks/globalCss.js";
1
+ import { c as p } from "../../chunks/runtime.js";
2
+ import { css as h, html as t } from "lit";
3
+ import { classes as m } from "@arcgis/toolkit/dom";
4
+ import w from "@arcgis/core/widgets/Print/PrintViewModel.js";
5
+ import { LitElement as u, createEvent as n, safeClassMap as l } from "@arcgis/lumina";
6
+ import { usePropertyChange as v } from "@arcgis/lumina/controllers";
7
+ import { reEmitEvent as d } from "@arcgis/lumina/controllers/accessor";
8
+ import { u as _ } from "../../chunks/useT9n.js";
9
+ import { m as f } from "../../chunks/useViewModel.js";
10
+ import { g as c } from "../../chunks/globalCss.js";
11
+ import { watch as x } from "@arcgis/core/core/reactiveUtils.js";
11
12
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
12
13
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
13
- v5.0.0-next.6 */
14
- const f = g`.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}.esri-widget{--esri-widget-padding-x: 15px;--esri-widget-padding-y: var(--calcite-spacing-md);--esri-widget-padding: var(--esri-widget-padding-y) var(--esri-widget-padding-x);box-sizing:border-box;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget *,.esri-widget :before,.esri-widget :after{box-sizing:inherit}.esri-widget.esri-widget--disabled>*{opacity:.4;pointer-events:none}.esri-widget.esri-widget--compact{--esri-widget-padding-y: 0;--esri-widget-padding-x: 0}.esri-widget__anchor{color:var(--calcite-color-text-2)}.esri-widget__anchor:hover{color:var(--calcite-color-text-3)}.esri-widget__anchor:hover,.esri-widget__anchor:focus{text-decoration:underline}.esri-widget__anchor--disabled{opacity:.4;pointer-events:none}.esri-widget__header{background-color:var(--calcite-color-foreground-1);flex:1 0 100%;justify-content:space-between;align-items:center;width:100%;min-height:48px;padding:12px 0 12px 15px;display:flex}.esri-widget__header .esri-widget__heading{width:calc(100% - 48px);text-align:initial;color:var(--calcite-color-text-1);align-items:center;margin:0;padding:0;display:flex}.esri-widget__header-button{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);border:none;flex:0 0 48px;justify-content:center;align-self:stretch;align-items:center;width:48px;padding:0;display:flex}.esri-widget__footer{background-color:var(--calcite-color-foreground-1);justify-content:center;align-items:center;width:100%;min-height:48px;display:flex}.esri-widget__footer-pagination{color:var(--calcite-color-text-2);justify-content:space-between;align-items:center;display:flex}.esri-widget__footer-pagination-previous-button,.esri-widget__footer-pagination-next-button{cursor:pointer;background-color:var(--calcite-color-foreground-1);border:0;margin:0 7px;padding:12px 15px;transition:background-color .125s ease-in-out}.esri-widget__footer-pagination-previous-button:hover,.esri-widget__footer-pagination-previous-button:focus,.esri-widget__footer-pagination-next-button:hover,.esri-widget__footer-pagination-next-button:focus{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1)}.esri-menu{visibility:hidden;z-index:1;background-clip:padding;background-color:var(--calcite-color-foreground-1);background-clip:padding-box;width:100%;max-height:0;margin:2px 0 0;padding:0;font-size:var(--calcite-font-size);line-height:var(--calcite-spacing-xl);position:absolute;top:100%;left:0;overflow:hidden;box-shadow:0 1px 2px #0000004d}.esri-menu .esri-menu__header{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-inverse);padding:6px 12px}.esri-menu__list{margin:0;padding:0;list-style:none}.esri-menu__list-item{cursor:pointer;border-top:1px solid #adadad4d;border-left:3px solid #0000;padding:.8em 1em}.esri-menu__list-item [class^=esri-icon-],.esri-menu__list-item [class*=" esri-icon-"]{padding-right:2.8px}.esri-menu__list-item:first-child{border-top:none}.esri-menu__list-item--focus,.esri-menu__list-item:hover,.esri-menu__list-item:focus{background-color:var(--calcite-color-foreground-1)}.esri-menu__list-item:active{background-color:var(--calcite-color-foreground-current)}.esri-menu__list-item--active,.esri-menu__list-item--active:hover,.esri-menu__list-item--active:focus{background-color:var(--calcite-color-foreground-1);border-left-color:var(--calcite-color-brand)}.esri-widget__table{border-collapse:collapse;color:var(--calcite-color-text-1);border:none;width:100%;line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget__table tr:nth-child(odd){background-color:var(--calcite-color-transparent)}.esri-widget__table tr:nth-child(2n){background-color:var(--calcite-color-transparent-press)}.esri-widget__table tr a{color:var(--calcite-color-text-2)}.esri-widget__table tr a:hover,.esri-widget__table tr a:focus{color:var(--calcite-color-text-1)}.esri-widget__table tr td,.esri-widget__table tr th{vertical-align:top;word-break:break-word;padding:.5em .7em;font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular)}.esri-widget__table tr th{text-align:left;border-right:3px solid #0000000d;width:50%}.esri-widget__table tr td{width:50%}.esri-input{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1);border:1px solid #959595;font-size:var(--calcite-font-size)}.esri-input::-ms-clear{display:none}.esri-input::placeholder{opacity:1;color:var(--calcite-color-text-2)}.esri-input:placeholder-shown{text-overflow:ellipsis}.esri-input[type=text],.esri-input[type=password],.esri-input[type=number]{height:32px;padding:0 .5em}calcite-combobox.esri-input{border:none}.esri-widget__content--empty{text-align:center;color:var(--calcite-color-border-input);flex-flow:column wrap;align-items:center;padding:18px 22px;display:flex}.esri-widget__content--empty h1.esri-widget__heading,.esri-widget__content--empty h2.esri-widget__heading,.esri-widget__content--empty h3.esri-widget__heading,.esri-widget__content--empty h4.esri-widget__heading,.esri-widget__content--empty h5.esri-widget__heading{font-weight:var(--calcite-font-weight-regular)}.esri-widget__content-illustration--empty{width:128px;padding:1rem 0}.esri-widget__content-icon--empty{width:32px;padding:.5rem 0}.esri-select{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background:var(--calcite-color-foreground-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -8 32 32' width='32' height='32'%3E%3Cpath d='M8 11.207l-4-4V5.793l4 4 4-4v1.414z' fill='%23adadad' fillrule='nonzero'/%3E%3C/svg%3E") 100% no-repeat;border:1px solid #959595;border-radius:0;width:100%;height:32px;margin:0;padding:0 .5em;font-family:inherit;font-size:.85em;display:block}.esri-select[disabled]{cursor:auto}.esri-select::-ms-expand{display:none}.esri-disabled a,.esri-disabled [role=menu],.esri-disabled [role=checkbox],.esri-disabled [class^=esri-icon-],.esri-disabled [class*=" esri-icon-"]{color:var(--calcite-color-text-3)}.keynav-mode .esri-widget:focus,.keynav-mode .esri-widget :focus{z-index:1;outline-offset:2px;outline:2px solid #adadad}.esri-widget__loader-animation{border:.15em solid #adadad4d;border-top-color:var(--calcite-color-border-input);border-radius:100%;width:1em;height:1em;font-size:var(--calcite-font-size-md);animation:1.25s linear infinite esri-rotate;display:block;transform:translateZ(0)}:dir(rtl) .esri-widget__table th{text-align:right;border-left:3px solid #0000000d;border-right:none}:dir(rtl) .esri-select{background-position:0}:dir(rtl) .esri-menu__list-item{border-left:none;border-right:3px solid #0000}:dir(rtl) .esri-menu__list-item [class^=esri-icon-],:dir(rtl) .esri-menu__list-item [class*=" esri-icon-"]{padding-left:2px;padding-right:0}:dir(rtl) .esri-menu__list-item--active{border-right-color:var(--calcite-color-brand)}.esri-icon-font-fallback-text{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.esri-rotating{animation:1.25s linear infinite esri-rotate;transform:translateZ(0)}.esri-clearfix:before,.esri-clearfix:after{content:" ";display:table}.esri-clearfix:after{clear:both}.esri-interactive{cursor:pointer}.esri-hidden{display:none!important}.esri-invisible{visibility:hidden!important}.esri-offscreen{position:absolute;top:-999em;left:-999em}.esri-match-height{flex-direction:column;flex:auto;display:flex;overflow:hidden}:host{--panel-min-height--large: 240px;--side-spacing: var(--calcite-spacing-lg);--cap-spacing: var(--calcite-spacing-md);overflow-y:auto}.arcgis-print{display:flex;position:relative;flex-grow:1;padding:0;min-height:var(--panel-min-height--large)!important}.arcgis-print section[aria-hidden=true]{display:none}.arcgis-print__panel-items--centered{display:flex;align-items:center}.arcgis-print__container{display:flex;flex-direction:column;flex-grow:1}.arcgis-print__header-title{margin:0 auto 0 0;padding:var(--calcite-spacing-md) var(--calcite-spacing-lg);font-size:var(--calcite-font-size-0);font-weight:var(--calcite-font-weight-bold)}.arcgis-print__panel--error{color:var(--calcite-color-status-danger)}arcgis-print-template-selector{overflow-y:hidden;display:flex}`, o = "arcgis-print", a = {
14
+ v5.0.0-next.61 */
15
+ const b = h`.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}.esri-widget{--esri-widget-padding-x: 15px;--esri-widget-padding-y: var(--calcite-spacing-md);--esri-widget-padding: var(--esri-widget-padding-y) var(--esri-widget-padding-x);box-sizing:border-box;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget *,.esri-widget :before,.esri-widget :after{box-sizing:inherit}.esri-widget.esri-widget--disabled>*{opacity:.4;pointer-events:none}.esri-widget.esri-widget--compact{--esri-widget-padding-y: 0;--esri-widget-padding-x: 0}.esri-widget__anchor{color:var(--calcite-color-text-2)}.esri-widget__anchor:hover{color:var(--calcite-color-text-3)}.esri-widget__anchor:hover,.esri-widget__anchor:focus{text-decoration:underline}.esri-widget__anchor--disabled{opacity:.4;pointer-events:none}.esri-widget__header{background-color:var(--calcite-color-foreground-1);flex:1 0 100%;justify-content:space-between;align-items:center;width:100%;min-height:48px;padding:12px 0 12px 15px;display:flex}.esri-widget__header .esri-widget__heading{width:calc(100% - 48px);text-align:initial;color:var(--calcite-color-text-1);align-items:center;margin:0;padding:0;display:flex}.esri-widget__header-button{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);border:none;flex:0 0 48px;justify-content:center;align-self:stretch;align-items:center;width:48px;padding:0;display:flex}.esri-widget__footer{background-color:var(--calcite-color-foreground-1);justify-content:center;align-items:center;width:100%;min-height:48px;display:flex}.esri-widget__footer-pagination{color:var(--calcite-color-text-2);justify-content:space-between;align-items:center;display:flex}.esri-widget__footer-pagination-previous-button,.esri-widget__footer-pagination-next-button{cursor:pointer;background-color:var(--calcite-color-foreground-1);border:0;margin:0 7px;padding:12px 15px;transition:background-color .125s ease-in-out}.esri-widget__footer-pagination-previous-button:hover,.esri-widget__footer-pagination-previous-button:focus,.esri-widget__footer-pagination-next-button:hover,.esri-widget__footer-pagination-next-button:focus{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1)}.esri-menu{visibility:hidden;z-index:1;background-clip:padding;background-color:var(--calcite-color-foreground-1);background-clip:padding-box;width:100%;max-height:0;margin:2px 0 0;padding:0;font-size:var(--calcite-font-size);line-height:var(--calcite-spacing-xl);position:absolute;top:100%;left:0;overflow:hidden;box-shadow:0 1px 2px #0000004d}.esri-menu .esri-menu__header{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-inverse);padding:6px 12px}.esri-menu__list{margin:0;padding:0;list-style:none}.esri-menu__list-item{cursor:pointer;border-top:1px solid #adadad4d;border-left:3px solid #0000;padding:.8em 1em}.esri-menu__list-item [class^=esri-icon-],.esri-menu__list-item [class*=" esri-icon-"]{padding-right:2.8px}.esri-menu__list-item:first-child{border-top:none}.esri-menu__list-item--focus,.esri-menu__list-item:hover,.esri-menu__list-item:focus{background-color:var(--calcite-color-foreground-1)}.esri-menu__list-item:active{background-color:var(--calcite-color-foreground-current)}.esri-menu__list-item--active,.esri-menu__list-item--active:hover,.esri-menu__list-item--active:focus{background-color:var(--calcite-color-foreground-1);border-left-color:var(--calcite-color-brand)}.esri-widget__table{border-collapse:collapse;color:var(--calcite-color-text-1);border:none;width:100%;line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget__table tr:nth-child(odd){background-color:var(--calcite-color-transparent)}.esri-widget__table tr:nth-child(2n){background-color:var(--calcite-color-transparent-press)}.esri-widget__table tr a{color:var(--calcite-color-text-2)}.esri-widget__table tr a:hover,.esri-widget__table tr a:focus{color:var(--calcite-color-text-1)}.esri-widget__table tr td,.esri-widget__table tr th{vertical-align:top;word-break:break-word;padding:.5em .7em;font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular)}.esri-widget__table tr th{text-align:left;border-right:3px solid #0000000d;width:50%}.esri-widget__table tr td{width:50%}.esri-input{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1);border:1px solid #959595;font-size:var(--calcite-font-size)}.esri-input::-ms-clear{display:none}.esri-input::placeholder{opacity:1;color:var(--calcite-color-text-2)}.esri-input:placeholder-shown{text-overflow:ellipsis}.esri-input[type=text],.esri-input[type=password],.esri-input[type=number]{height:32px;padding:0 .5em}calcite-combobox.esri-input{border:none}.esri-widget__content--empty{text-align:center;color:var(--calcite-color-border-input);flex-flow:column wrap;align-items:center;padding:18px 22px;display:flex}.esri-widget__content--empty h1.esri-widget__heading,.esri-widget__content--empty h2.esri-widget__heading,.esri-widget__content--empty h3.esri-widget__heading,.esri-widget__content--empty h4.esri-widget__heading,.esri-widget__content--empty h5.esri-widget__heading{font-weight:var(--calcite-font-weight-regular)}.esri-widget__content-illustration--empty{width:128px;padding:1rem 0}.esri-widget__content-icon--empty{width:32px;padding:.5rem 0}.esri-select{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background:var(--calcite-color-foreground-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -8 32 32' width='32' height='32'%3E%3Cpath d='M8 11.207l-4-4V5.793l4 4 4-4v1.414z' fill='%23adadad' fillrule='nonzero'/%3E%3C/svg%3E") 100% no-repeat;border:1px solid #959595;border-radius:0;width:100%;height:32px;margin:0;padding:0 .5em;font-family:inherit;font-size:.85em;display:block}.esri-select[disabled]{cursor:auto}.esri-select::-ms-expand{display:none}.esri-disabled a,.esri-disabled [role=menu],.esri-disabled [role=checkbox],.esri-disabled [class^=esri-icon-],.esri-disabled [class*=" esri-icon-"]{color:var(--calcite-color-text-3)}.keynav-mode .esri-widget:focus,.keynav-mode .esri-widget :focus{z-index:1;outline-offset:2px;outline:2px solid #adadad}.esri-widget__loader-animation{border:.15em solid #adadad4d;border-top-color:var(--calcite-color-border-input);border-radius:100%;width:1em;height:1em;font-size:var(--calcite-font-size-md);animation:1.25s linear infinite esri-rotate;display:block;transform:translateZ(0)}:dir(rtl) .esri-widget__table th{text-align:right;border-left:3px solid #0000000d;border-right:none}:dir(rtl) .esri-select{background-position:0}:dir(rtl) .esri-menu__list-item{border-left:none;border-right:3px solid #0000}:dir(rtl) .esri-menu__list-item [class^=esri-icon-],:dir(rtl) .esri-menu__list-item [class*=" esri-icon-"]{padding-left:2px;padding-right:0}:dir(rtl) .esri-menu__list-item--active{border-right-color:var(--calcite-color-brand)}.esri-icon-font-fallback-text{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.esri-rotating{animation:1.25s linear infinite esri-rotate;transform:translateZ(0)}.esri-clearfix:before,.esri-clearfix:after{content:" ";display:table}.esri-clearfix:after{clear:both}.esri-interactive{cursor:pointer}.esri-hidden{display:none!important}.esri-invisible{visibility:hidden!important}.esri-offscreen{position:absolute;top:-999em;left:-999em}.esri-match-height{flex-direction:column;flex:auto;display:flex;overflow:hidden}:host{--panel-min-height--large: 240px;display:flex;flex-direction:column;flex-grow:1}.arcgis-print{display:flex;position:relative;flex-grow:1;min-height:var(--panel-min-height--large)}.arcgis-print section[aria-hidden=true]{display:none}.arcgis-print__panel-items--centered{display:flex;align-items:center}.arcgis-print__container{display:flex;flex-direction:column;flex-grow:1}.arcgis-print__header-title{margin:0 auto 0 0;padding:var(--calcite-spacing-md) var(--calcite-spacing-lg);font-size:var(--calcite-font-size-0);font-weight:var(--calcite-font-weight-bold)}.arcgis-print__panel--error{color:var(--calcite-color-status-danger)}`, o = "arcgis-print", a = {
15
16
  base: o,
16
17
  headerTitle: `${o}__header-title`,
17
18
  panelItemsCentered: `${o}__panel-items--centered`,
18
19
  printWidgetContainer: `${o}__container`,
19
20
  panelError: `${o}__panel--error`
20
- }, x = v(h), d = (r) => {
21
+ }, y = f(w), g = (r) => {
21
22
  if (!r)
22
23
  return "all";
23
24
  const e = typeof r == "string" ? r.split(",").map((i) => i.trim()).filter((i) => i) : [r];
24
25
  return !e.length || e.includes("all") ? "all" : e;
25
26
  };
26
- class b extends m {
27
+ class M extends u {
27
28
  constructor() {
28
- super(...arguments), this.messages = u({ blocking: !0 }), this.viewModel = x(this), this._showTemplates = !1, this.error = this.viewModel.error, this.view = this.viewModel.view, this.hideHeader = !1, this.icon = "print", this.allowedFormats = this.viewModel.allowedFormats, this.allowedLayouts = this.viewModel.allowedLayouts, this.exportedLinks = this.viewModel.exportedLinks, this.extraParameters = this.viewModel.extraParameters, this.headingLevel = 3, this.excludeDefaultTemplates = !this.viewModel.includeDefaultTemplates, this.excludeOrganizationTemplates = !1, this.outSpatialReference = this.viewModel.outSpatialReference, this.portal = this.viewModel.portal, this.showPrintAreaEnabled = this.viewModel.showPrintAreaEnabled, this.printServiceUrl = this.viewModel.printServiceUrl, this.templateCustomTextElements = this.viewModel.templateCustomTextElements, this.templateOptions = this.viewModel.templateOptions, this.autoDestroyDisabled = !1, this.state = this.viewModel.state, this.arcgisPropertyChange = _()("state"), this.arcgisReady = w(), this.arcgisComplete = l(() => this.viewModel, "complete"), this.arcgisSubmit = l(() => this.viewModel, "submit");
29
+ super(...arguments), this.messages = _({ blocking: !0 }), this.viewModel = y(this), this.error = null, this._showTemplates = !1, this.view = this.viewModel.view, this.hideHeader = !1, this.icon = "print", this.hideAdvancedOptions = !1, this.allowedFormats = this.viewModel.allowedFormats, this.allowedLayouts = this.viewModel.allowedLayouts, this.autoPopulateAuthor = !1, this.exportedLinks = this.viewModel.exportedLinks, this.extraParameters = this.viewModel.extraParameters, this.headingLevel = 3, this.excludeDefaultTemplates = !this.viewModel.includeDefaultTemplates, this.excludeOrganizationTemplates = !1, this.outSpatialReference = this.viewModel.outSpatialReference, this.portal = this.viewModel.portal, this.showPrintAreaEnabled = this.viewModel.showPrintAreaEnabled, this.printServiceUrl = this.viewModel.printServiceUrl, this.templateCustomTextElements = this.viewModel.templateCustomTextElements, this.templateOptions = this.viewModel.templateOptions, this.autoDestroyDisabled = !1, this.state = this.viewModel.state, this.arcgisComplete = d(() => this.viewModel, "complete"), this.arcgisPropertyChange = v()("state"), this.arcgisReady = n(), this.arcgisSubmit = d(() => this.viewModel, "submit"), this.arcgisBrowseTemplatesChange = n(), this.arcgisSaveAs = n();
29
30
  }
30
31
  static {
31
- this.properties = { _showTemplates: 16, error: 16, view: 0, hideHeader: 5, referenceElement: 1, position: 3, icon: 1, allowedFormats: [1, { type: String, converter: d }], allowedLayouts: [1, { type: String, converter: d }], browseTemplateButtonOnClick: 0, allowedFormatsForSaving: 1, exportedLinks: 0, extraParameters: 1, headingLevel: 9, excludeDefaultTemplates: 5, excludeOrganizationTemplates: 5, outSpatialReference: 0, portal: 0, showPrintAreaEnabled: 5, printServiceUrl: 1, saveAsButtonCallback: 0, templateCustomTextElements: 0, templateOptions: 0, autoDestroyDisabled: 5, messageOverrides: 0, label: 1, state: 3 };
32
+ this.properties = { error: 16, _showTemplates: 16, view: 0, hideHeader: 5, referenceElement: 1, position: 3, icon: 1, hideAdvancedOptions: 5, allowedFormats: [1, { type: String, converter: g }], allowedLayouts: [1, { type: String, converter: g }], autoPopulateAuthor: 5, allowedFormatsForSaving: 1, exportedLinks: 0, extraParameters: 1, headingLevel: 9, excludeDefaultTemplates: 5, excludeOrganizationTemplates: 5, outSpatialReference: 0, portal: 0, showPrintAreaEnabled: 5, printServiceUrl: 1, showSaveAs: 5, templateCustomTextElements: 0, templateOptions: 0, autoDestroyDisabled: 5, messageOverrides: 0, label: 1, state: 3 };
32
33
  }
33
34
  static {
34
- this.styles = f;
35
+ this.styles = b;
36
+ }
37
+ addPortalTemplate(e) {
38
+ return this.viewModel.addPortalTemplate(e);
35
39
  }
36
40
  async destroy() {
37
41
  await this.manager.destroy(), this.viewModel.destroy();
38
42
  }
39
43
  loaded() {
40
- this.manager.onLifecycle(() => []), this.viewModel.load();
44
+ this.manager.onLifecycle(() => [
45
+ x(() => this.viewModel.error, (s) => this.error = s),
46
+ this.viewModel.browseTemplates.on("change", (s) => {
47
+ this.arcgisBrowseTemplatesChange.emit(s);
48
+ })
49
+ ]), this.viewModel.load();
41
50
  const { height: e, width: i } = this.viewModel.templateOptions;
42
51
  this.viewModel.templateOptions.width = i || 800, this.viewModel.templateOptions.height = e || 1100;
43
52
  }
@@ -51,22 +60,22 @@ class b extends m {
51
60
  const e = {
52
61
  [a.panelItemsCentered]: this.viewModel.state === "initializing"
53
62
  };
54
- return t`<div class=${s(p(a.base, n.widget, n.panel, e))}>${this._renderPanel()}</div>`;
63
+ return t`<div class=${l(m(a.base, c.widget, c.panel, e))}>${this._renderPanel()}</div>`;
55
64
  }
56
65
  _renderPanel() {
57
- return this.viewModel.state === "initializing" ? t`<calcite-loader label=loading scale=m></calcite-loader>` : t`<calcite-flow><calcite-flow-item .selected=${!this._showTemplates}><div class=${s(a.printWidgetContainer)}>${this._renderPanelHeader()}${this._renderPanelContent()}</div></calcite-flow-item><calcite-flow-item .heading=${this.messages.chooseTemplate} .selected=${this._showTemplates} @calciteFlowItemBack=${(e) => {
66
+ return this.viewModel.state === "initializing" ? t`<calcite-loader label=loading scale=m></calcite-loader>` : t`<calcite-flow><calcite-flow-item .selected=${!this._showTemplates}><div class=${l(a.printWidgetContainer)}>${this._renderPanelHeader()}${this._renderPanelContent()}</div></calcite-flow-item><calcite-flow-item .heading=${this.messages.chooseTemplate} .selected=${this._showTemplates} @calciteFlowItemBack=${(e) => {
58
67
  e.preventDefault(), this._showTemplates = !1;
59
- }}><arcgis-print-template-selector .messages=${this.messages} .viewModel=${this.viewModel} .browseTemplateButtonOnClick=${this.browseTemplateButtonOnClick} .hideTemplateSelector=${this._hideTemplateSelector.bind(this)} .excludeOrganizationTemplates=${this.excludeOrganizationTemplates}></arcgis-print-template-selector></calcite-flow-item></calcite-flow>`;
68
+ }}><arcgis-print-template-selector .messages=${this.messages} .viewModel=${this.viewModel} .hideTemplateSelector=${this._hideTemplateSelector.bind(this)} .excludeOrganizationTemplates=${this.excludeOrganizationTemplates}><slot name=browse-template-button></slot></arcgis-print-template-selector></calcite-flow-item></calcite-flow>`;
60
69
  }
61
70
  _renderPanelHeader() {
62
- return this.hideHeader ? null : t`<header class=${s(a.headerTitle)}>${this.messages.export}</header>`;
71
+ return this.hideHeader ? null : t`<header class=${l(a.headerTitle)}>${this.messages.export}</header>`;
63
72
  }
64
73
  _renderPanelContent() {
65
74
  const e = this.viewModel.view, i = e?.type !== "2d";
66
- return !!this.error || i ? t`<div class=${s(a.panelError)}>${e ? i ? this.messages.sceneViewError : this.messages.serviceError : this.messages.noViewError}</div>` : t`<arcgis-print-main-panel .messages=${this.messages} .viewModel=${this.viewModel} .showTemplateSelector=${this._showTemplateSelector.bind(this)} .allowedFormatsForSaving=${this.allowedFormatsForSaving} .saveAsButtonCallback=${this.saveAsButtonCallback}></arcgis-print-main-panel>`;
75
+ return !!this.error || i ? t`<div class=${l(a.panelError)}>${e ? i ? this.messages.sceneViewError : this.messages.serviceError : this.messages.noViewError}</div>` : t`<arcgis-print-main-panel .messages=${this.messages} .viewModel=${this.viewModel} .showTemplateSelector=${this._showTemplateSelector.bind(this)} .hideAdvancedOptions=${this.hideAdvancedOptions} .allowedFormatsForSaving=${this.allowedFormatsForSaving} .autoPopulateAuthor=${this.autoPopulateAuthor} .showSaveAs=${this.showSaveAs} .arcgisSaveAs=${this.arcgisSaveAs}></arcgis-print-main-panel>`;
67
76
  }
68
77
  }
69
- c("arcgis-print", b);
78
+ p("arcgis-print", M);
70
79
  export {
71
- b as ArcgisPrint
80
+ M as ArcgisPrint
72
81
  };
@@ -3,10 +3,9 @@ import { nil } from '@arcgis/toolkit/type';
3
3
  import { ArcgisPrint } from './customElement.js';
4
4
  import { FileFormatJSON, LayoutTemplate, LayoutTemplateJSON } from './types';
5
5
  export declare const reArcGISOnlineDomain: RegExp;
6
- export declare function isRTL(el?: HTMLElement | nil): boolean;
7
6
  export declare function getPageSizeLabel(template: __esri.CustomTemplate | nil): string | undefined;
8
7
  export declare function getTemplateLabel(template: __esri.CustomTemplate, messages: ArcgisPrint["messages"]): string;
9
8
  export declare function getLayoutIcon(layout: string): string | undefined;
10
- export declare const formatJsonMap: Map<FileFormatJSON, "eps" | "svg" | "jpg" | "aix" | "gif" | "pdf" | "png8" | "png32" | "svgz" | "tiff">;
9
+ export declare const formatJsonMap: Map<FileFormatJSON, "eps" | "svg" | "jpg" | "png8" | "png32" | "pdf" | "gif" | "svgz" | "aix" | "tiff">;
11
10
  export declare const layoutKebabDict: Map<LayoutTemplateJSON, LayoutTemplate>;
12
11
  export declare function isMapOnlyLayout(layout: nil | string): boolean;
@@ -4,7 +4,7 @@ import { watch as a } from "@arcgis/core/core/reactiveUtils.js";
4
4
  import { LitElement as u } from "@arcgis/lumina";
5
5
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
6
6
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
7
- v5.0.0-next.6 */
7
+ v5.0.0-next.61 */
8
8
  class p extends u {
9
9
  static {
10
10
  this.properties = { viewModel: 0 };
@@ -4,7 +4,7 @@ import { watch as n } from "@arcgis/core/core/reactiveUtils.js";
4
4
  import { LitElement as s } from "@arcgis/lumina";
5
5
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
6
6
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
7
- v5.0.0-next.6 */
7
+ v5.0.0-next.61 */
8
8
  class p extends s {
9
9
  constructor() {
10
10
  super(...arguments), this._dpi = 1;
@@ -3,7 +3,7 @@ import { html as r } from "lit";
3
3
  import { LitElement as l } from "@arcgis/lumina";
4
4
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
5
5
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
6
- v5.0.0-next.6 */
6
+ v5.0.0-next.61 */
7
7
  class n extends l {
8
8
  static {
9
9
  this.properties = { viewModel: 0, messages: 0, fileName: 1, selectExportsTab: 0 };
@@ -1,13 +1,15 @@
1
1
  /// <reference types="@arcgis/core/interfaces.d.ts" />
2
2
  /// <reference path="../../index.d.ts" />
3
- import { JsxNode, PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
4
- import { Formats } from '../arcgis-print/types';
3
+ import { EventEmitter, JsxNode, PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
5
4
  import { ArcgisPrint } from '../arcgis-print/customElement.js';
5
+ import { Formats } from '../arcgis-print/types';
6
6
 
7
7
  /** @private */
8
8
  export declare class PrintExportsPanel extends LitElement {
9
- saveAsButtonCallback?: (exportedLink: __esri.FileLink) => Promise<__esri.PortalItem>;
9
+ /** @default false */
10
+ showSaveAs?: boolean;
10
11
  viewModel: __esri.PrintViewModel;
11
12
  messages: ArcgisPrint["messages"];
12
13
  allowedFormatsForSaving?: Formats;
14
+ arcgisSaveAs: EventEmitter<__esri.FileLink>;
13
15
  }