@arcgis/map-components 4.34.0-next.7 → 4.34.0-next.71

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 (655) hide show
  1. package/dist/cdn/22X7STGS.js +4 -0
  2. package/dist/cdn/265TCEJW.js +4 -0
  3. package/dist/cdn/{7MLMQPS2.js → 2FSODJ3U.js} +1 -1
  4. package/dist/cdn/2OI3FE6A.js +4 -0
  5. package/dist/cdn/2VBF7LQX.js +4 -0
  6. package/dist/cdn/{TD3FQAZG.js → 35SXAPH2.js} +1 -1
  7. package/dist/cdn/3NLDEMKW.js +4 -0
  8. package/dist/cdn/3NSWX5SC.js +4 -0
  9. package/dist/cdn/3PDR7LMU.js +4 -0
  10. package/dist/cdn/3TXTKPTE.js +4 -0
  11. package/dist/cdn/43XZ7D76.js +4 -0
  12. package/dist/cdn/{73246WZV.js → 47F2WFRU.js} +2 -2
  13. package/dist/cdn/{QAP64MEA.js → 47SSWVOY.js} +1 -1
  14. package/dist/cdn/4CYQA32L.js +4 -0
  15. package/dist/cdn/4MHQTJS3.js +4 -0
  16. package/dist/cdn/4MVZJW57.js +4 -0
  17. package/dist/cdn/4R5UNHP6.js +4 -0
  18. package/dist/cdn/4XZXNS7R.js +4 -0
  19. package/dist/cdn/4ZLIUYSY.js +4 -0
  20. package/dist/cdn/527WINZ2.js +4 -0
  21. package/dist/cdn/5FQAWKJJ.js +4 -0
  22. package/dist/cdn/5HYMBWIX.js +4 -0
  23. package/dist/cdn/5J2LKM2H.js +4 -0
  24. package/dist/cdn/5MMPGU63.js +4 -0
  25. package/dist/cdn/5XTGVILB.js +4 -0
  26. package/dist/cdn/{LUASKWWP.js → 6IUHASSR.js} +2 -2
  27. package/dist/cdn/6SIRAA5V.js +4 -0
  28. package/dist/cdn/76ED2DMX.js +4 -0
  29. package/dist/cdn/7L6HE6DW.js +4 -0
  30. package/dist/cdn/7NFC4TNM.js +4 -0
  31. package/dist/cdn/7PR3L2OV.js +4 -0
  32. package/dist/cdn/7WEQOTVL.js +4 -0
  33. package/dist/cdn/ADTMB5TC.js +4 -0
  34. package/dist/cdn/AFM7S5A3.js +4 -0
  35. package/dist/cdn/AFNEYDRV.js +4 -0
  36. package/dist/cdn/{B7KN6YTQ.js → AI6OUQKC.js} +2 -2
  37. package/dist/cdn/B47TJSXZ.js +4 -0
  38. package/dist/cdn/BHVCTAUP.js +4 -0
  39. package/dist/cdn/BLT2HI4R.js +4 -0
  40. package/dist/cdn/BW63M57P.js +4 -0
  41. package/dist/cdn/C5R2OWCM.js +4 -0
  42. package/dist/cdn/CIOLPG7A.js +4 -0
  43. package/dist/cdn/CJ3R6CHO.js +4 -0
  44. package/dist/cdn/CNI6MBVU.js +5 -0
  45. package/dist/cdn/D22G7OKP.js +4 -0
  46. package/dist/cdn/DC6MKJ4B.js +4 -0
  47. package/dist/cdn/DCZG5RWR.js +4 -0
  48. package/dist/cdn/DDK4Z6FU.js +4 -0
  49. package/dist/cdn/{BKCPYV3Y.js → DFSRHIJR.js} +1 -1
  50. package/dist/cdn/DW27FAIG.js +4 -0
  51. package/dist/cdn/DZYD65XX.js +4 -0
  52. package/dist/cdn/E4PSGDQ6.js +4 -0
  53. package/dist/cdn/E6SVKT36.js +4 -0
  54. package/dist/cdn/EGRNM3I2.js +4 -0
  55. package/dist/cdn/EHNDFVDW.js +4 -0
  56. package/dist/cdn/EIF4XQRG.js +4 -0
  57. package/dist/cdn/ENUEOUXF.js +4 -0
  58. package/dist/cdn/ETTUZLRW.js +4 -0
  59. package/dist/cdn/EUP574Z6.js +4 -0
  60. package/dist/cdn/F4XCZYR2.js +4 -0
  61. package/dist/cdn/F7X3EMOC.js +4 -0
  62. package/dist/cdn/FAHZ7GBF.js +4 -0
  63. package/dist/cdn/FDLYT5BL.js +4 -0
  64. package/dist/cdn/FHE6FKBH.js +4 -0
  65. package/dist/cdn/FIA4WYAT.js +4 -0
  66. package/dist/cdn/FV2NSC2M.js +4 -0
  67. package/dist/cdn/{62NV7NFZ.js → GGHSRKPD.js} +2 -2
  68. package/dist/cdn/H2MNGVXP.js +4 -0
  69. package/dist/cdn/HAOAM42I.js +4 -0
  70. package/dist/cdn/HME3GEPD.js +4 -0
  71. package/dist/cdn/{DDSDEOST.js → HOGUDQUS.js} +2 -2
  72. package/dist/cdn/HXPU2PJA.js +4 -0
  73. package/dist/cdn/HXZF7WPI.js +4 -0
  74. package/dist/cdn/HZSLL2N5.js +4 -0
  75. package/dist/cdn/II62D2B2.js +4 -0
  76. package/dist/cdn/IK6XIUZS.js +4 -0
  77. package/dist/cdn/IT6F22UE.js +4 -0
  78. package/dist/cdn/IVFIS2ZY.js +4 -0
  79. package/dist/cdn/IWOZRWG5.js +4 -0
  80. package/dist/cdn/J373HHAG.js +4 -0
  81. package/dist/cdn/JB5DOYCK.js +4 -0
  82. package/dist/cdn/JEQL6W5F.js +4 -0
  83. package/dist/cdn/JN5WH5UO.js +4 -0
  84. package/dist/cdn/JOJ5HWTU.js +4 -0
  85. package/dist/cdn/JSLZTVLT.js +4 -0
  86. package/dist/cdn/JYXCD6K6.js +4 -0
  87. package/dist/cdn/K5JFIJYY.js +4 -0
  88. package/dist/cdn/KA7RTGZF.js +4 -0
  89. package/dist/cdn/KDXAJ2PF.js +4 -0
  90. package/dist/cdn/{576TH74N.js → KFU4FBPI.js} +2 -2
  91. package/dist/cdn/KNYAUQLT.js +4 -0
  92. package/dist/cdn/KV7BE32J.js +4 -0
  93. package/dist/cdn/{EAVGPD6R.js → KWPQQSWJ.js} +1 -1
  94. package/dist/cdn/L3TZXE7U.js +4 -0
  95. package/dist/cdn/L3UPIUSP.js +4 -0
  96. package/dist/cdn/L64TZAYM.js +4 -0
  97. package/dist/cdn/LUZFWSLE.js +4 -0
  98. package/dist/cdn/M2CQVZZQ.js +4 -0
  99. package/dist/cdn/MF2UZ4DS.js +4 -0
  100. package/dist/cdn/MQRVQSQO.js +4 -0
  101. package/dist/cdn/MTM5YXKA.js +4 -0
  102. package/dist/cdn/MYEUYNZG.js +4 -0
  103. package/dist/cdn/N3DOEQLW.js +4 -0
  104. package/dist/cdn/NI2EMAJK.js +4 -0
  105. package/dist/cdn/O45EQXMY.js +4 -0
  106. package/dist/cdn/O5XKNA2L.js +4 -0
  107. package/dist/cdn/{EF5ADWHS.js → OAUIDKTP.js} +2 -2
  108. package/dist/cdn/OENOZGUO.js +4 -0
  109. package/dist/cdn/OGZ5IQI2.js +4 -0
  110. package/dist/cdn/OHLL7HZ4.js +4 -0
  111. package/dist/cdn/ONEKKLUN.js +4 -0
  112. package/dist/cdn/OOEL7QRQ.js +4 -0
  113. package/dist/cdn/OTFS7I2S.js +4 -0
  114. package/dist/cdn/{42FXNNW7.js → OTNCYF7D.js} +2 -2
  115. package/dist/cdn/OVIDLFD3.js +4 -0
  116. package/dist/cdn/OWLBDSIW.js +4 -0
  117. package/dist/cdn/P3XN27OY.js +4 -0
  118. package/dist/cdn/PGLET25S.js +4 -0
  119. package/dist/cdn/PJJZJI7M.js +4 -0
  120. package/dist/cdn/PZDGEZBM.js +4 -0
  121. package/dist/cdn/Q4RO35KE.js +4 -0
  122. package/dist/cdn/QASLBTBE.js +4 -0
  123. package/dist/cdn/{JSWLDDUC.js → QAWJU2QZ.js} +2 -2
  124. package/dist/cdn/QLJTAQZR.js +4 -0
  125. package/dist/cdn/QNQGIIJ4.js +4 -0
  126. package/dist/cdn/QZZI4SSK.js +4 -0
  127. package/dist/cdn/RCXJRTX5.js +4 -0
  128. package/dist/cdn/RNGVIEDV.js +4 -0
  129. package/dist/cdn/RUTMKSSP.js +4 -0
  130. package/dist/cdn/RUZSHIBF.js +4 -0
  131. package/dist/cdn/{4SFJ5GIR.js → RVGB6BNP.js} +1 -1
  132. package/dist/cdn/RYV524NG.js +4 -0
  133. package/dist/cdn/RZ7L4GPL.js +4 -0
  134. package/dist/cdn/S2LQP7SU.js +4 -0
  135. package/dist/cdn/S2VZKVYR.js +4 -0
  136. package/dist/cdn/SCQ5NIO7.js +4 -0
  137. package/dist/cdn/SIGPGXCA.js +4 -0
  138. package/dist/cdn/T4QINXNP.js +4 -0
  139. package/dist/cdn/T4ZBPEFI.js +4 -0
  140. package/dist/cdn/T5ZEEMCI.js +4 -0
  141. package/dist/cdn/TCVYA3VV.js +4 -0
  142. package/dist/cdn/TO263CW6.js +4 -0
  143. package/dist/cdn/UE4A5S34.js +4 -0
  144. package/dist/cdn/UHJMZJAE.js +4 -0
  145. package/dist/cdn/UHPYLOGM.js +4 -0
  146. package/dist/cdn/UHQ353FB.js +4 -0
  147. package/dist/cdn/URQZQ3LP.js +4 -0
  148. package/dist/cdn/UWADOIHL.js +4 -0
  149. package/dist/cdn/V74QKMUM.js +4 -0
  150. package/dist/cdn/VDFYBG6F.js +4 -0
  151. package/dist/cdn/VHCING2F.js +4 -0
  152. package/dist/cdn/VJZBYWG4.js +4 -0
  153. package/dist/cdn/{IN5MEX7L.js → VNLCD6TK.js} +2 -2
  154. package/dist/cdn/VRWNISAC.js +4 -0
  155. package/dist/cdn/WERYCZML.js +4 -0
  156. package/dist/cdn/WHNVCVG3.js +4 -0
  157. package/dist/cdn/WKVJFH6H.js +4 -0
  158. package/dist/cdn/WNL7632P.js +4 -0
  159. package/dist/cdn/WTYPZRFL.js +4 -0
  160. package/dist/cdn/X4XPFXRS.js +4 -0
  161. package/dist/cdn/XAT5AY2U.js +4 -0
  162. package/dist/cdn/{ECQIBBNZ.js → XFC6AOZZ.js} +2 -2
  163. package/dist/cdn/XGXLEYTE.js +4 -0
  164. package/dist/cdn/XHCCMEFB.js +4 -0
  165. package/dist/cdn/{KXFOXBSW.js → XLQS7KD2.js} +1 -1
  166. package/dist/cdn/XLXT24WY.js +4 -0
  167. package/dist/cdn/XNWZSDE4.js +4 -0
  168. package/dist/cdn/XOUITREH.js +4 -0
  169. package/dist/cdn/XTB5AY2U.js +4 -0
  170. package/dist/cdn/XTCWV4PB.js +4 -0
  171. package/dist/cdn/Y3RWBZE2.js +4 -0
  172. package/dist/cdn/Y3VSPTZ3.js +4 -0
  173. package/dist/cdn/YCAWVYSX.js +4 -0
  174. package/dist/cdn/YEJ4M5TX.js +4 -0
  175. package/dist/cdn/YFJYUNP3.js +4 -0
  176. package/dist/cdn/YGKAQOWJ.js +6 -0
  177. package/dist/cdn/YK5TO43F.js +4 -0
  178. package/dist/cdn/YY2FXBYX.js +4 -0
  179. package/dist/cdn/Z3K7YNWF.js +4 -0
  180. package/dist/cdn/ZFJ6UVXS.js +4 -0
  181. package/dist/cdn/ZLUAXOY2.js +4 -0
  182. package/dist/cdn/ZPG7H3IY.js +4 -0
  183. package/dist/cdn/{FAJWL466.js → ZTQLAO3A.js} +2 -2
  184. package/dist/cdn/ZXLJ7HYQ.js +4 -0
  185. package/dist/cdn/ZXPA2E6M.js +4 -0
  186. package/dist/cdn/ZZ66XDQV.js +4 -0
  187. package/dist/cdn/assets/bookmarks/t9n/messages.ar.json +1 -0
  188. package/dist/cdn/assets/bookmarks/t9n/messages.bg.json +1 -0
  189. package/dist/cdn/assets/bookmarks/t9n/messages.bs.json +1 -0
  190. package/dist/cdn/assets/bookmarks/t9n/messages.ca.json +1 -0
  191. package/dist/cdn/assets/bookmarks/t9n/messages.cs.json +1 -0
  192. package/dist/cdn/assets/bookmarks/t9n/messages.da.json +1 -0
  193. package/dist/cdn/assets/bookmarks/t9n/messages.de.json +1 -0
  194. package/dist/cdn/assets/bookmarks/t9n/messages.el.json +1 -0
  195. package/dist/cdn/assets/bookmarks/t9n/messages.en.json +1 -0
  196. package/dist/cdn/assets/bookmarks/t9n/messages.es.json +1 -0
  197. package/dist/cdn/assets/bookmarks/t9n/messages.et.json +1 -0
  198. package/dist/cdn/assets/bookmarks/t9n/messages.fi.json +1 -0
  199. package/dist/cdn/assets/bookmarks/t9n/messages.fr.json +1 -0
  200. package/dist/cdn/assets/bookmarks/t9n/messages.he.json +1 -0
  201. package/dist/cdn/assets/bookmarks/t9n/messages.hr.json +1 -0
  202. package/dist/cdn/assets/bookmarks/t9n/messages.hu.json +1 -0
  203. package/dist/cdn/assets/bookmarks/t9n/messages.id.json +1 -0
  204. package/dist/cdn/assets/bookmarks/t9n/messages.it.json +1 -0
  205. package/dist/cdn/assets/bookmarks/t9n/messages.ja.json +1 -0
  206. package/dist/cdn/assets/bookmarks/t9n/messages.ko.json +1 -0
  207. package/dist/cdn/assets/bookmarks/t9n/messages.lt.json +1 -0
  208. package/dist/cdn/assets/bookmarks/t9n/messages.lv.json +1 -0
  209. package/dist/cdn/assets/bookmarks/t9n/messages.nl.json +1 -0
  210. package/dist/cdn/assets/bookmarks/t9n/messages.no.json +1 -0
  211. package/dist/cdn/assets/bookmarks/t9n/messages.pl.json +1 -0
  212. package/dist/cdn/assets/bookmarks/t9n/messages.pt-BR.json +1 -0
  213. package/dist/cdn/assets/bookmarks/t9n/messages.pt-PT.json +1 -0
  214. package/dist/cdn/assets/bookmarks/t9n/messages.ro.json +1 -0
  215. package/dist/cdn/assets/bookmarks/t9n/messages.ru.json +1 -0
  216. package/dist/cdn/assets/bookmarks/t9n/messages.sk.json +1 -0
  217. package/dist/cdn/assets/bookmarks/t9n/messages.sl.json +1 -0
  218. package/dist/cdn/assets/bookmarks/t9n/messages.sr.json +1 -0
  219. package/dist/cdn/assets/bookmarks/t9n/messages.sv.json +1 -0
  220. package/dist/cdn/assets/bookmarks/t9n/messages.th.json +1 -0
  221. package/dist/cdn/assets/bookmarks/t9n/messages.tr.json +1 -0
  222. package/dist/cdn/assets/bookmarks/t9n/messages.uk.json +1 -0
  223. package/dist/cdn/assets/bookmarks/t9n/messages.vi.json +1 -0
  224. package/dist/cdn/assets/bookmarks/t9n/messages.zh-CN.json +1 -0
  225. package/dist/cdn/assets/bookmarks/t9n/messages.zh-HK.json +1 -0
  226. package/dist/cdn/assets/bookmarks/t9n/messages.zh-TW.json +1 -0
  227. package/dist/cdn/assets/feature/t9n/messages.ar.json +1 -0
  228. package/dist/cdn/assets/feature/t9n/messages.bg.json +1 -0
  229. package/dist/cdn/assets/feature/t9n/messages.bs.json +1 -0
  230. package/dist/cdn/assets/feature/t9n/messages.ca.json +1 -0
  231. package/dist/cdn/assets/feature/t9n/messages.cs.json +1 -0
  232. package/dist/cdn/assets/feature/t9n/messages.da.json +1 -0
  233. package/dist/cdn/assets/feature/t9n/messages.de.json +1 -0
  234. package/dist/cdn/assets/feature/t9n/messages.el.json +1 -0
  235. package/dist/cdn/assets/feature/t9n/messages.en.json +1 -0
  236. package/dist/cdn/assets/feature/t9n/messages.es.json +1 -0
  237. package/dist/cdn/assets/feature/t9n/messages.et.json +1 -0
  238. package/dist/cdn/assets/feature/t9n/messages.fi.json +1 -0
  239. package/dist/cdn/assets/feature/t9n/messages.fr.json +1 -0
  240. package/dist/cdn/assets/feature/t9n/messages.he.json +1 -0
  241. package/dist/cdn/assets/feature/t9n/messages.hr.json +1 -0
  242. package/dist/cdn/assets/feature/t9n/messages.hu.json +1 -0
  243. package/dist/cdn/assets/feature/t9n/messages.id.json +1 -0
  244. package/dist/cdn/assets/feature/t9n/messages.it.json +1 -0
  245. package/dist/cdn/assets/feature/t9n/messages.ja.json +1 -0
  246. package/dist/cdn/assets/feature/t9n/messages.ko.json +1 -0
  247. package/dist/cdn/assets/feature/t9n/messages.lt.json +1 -0
  248. package/dist/cdn/assets/feature/t9n/messages.lv.json +1 -0
  249. package/dist/cdn/assets/feature/t9n/messages.nl.json +1 -0
  250. package/dist/cdn/assets/feature/t9n/messages.no.json +1 -0
  251. package/dist/cdn/assets/feature/t9n/messages.pl.json +1 -0
  252. package/dist/cdn/assets/feature/t9n/messages.pt-BR.json +1 -0
  253. package/dist/cdn/assets/feature/t9n/messages.pt-PT.json +1 -0
  254. package/dist/cdn/assets/feature/t9n/messages.ro.json +1 -0
  255. package/dist/cdn/assets/feature/t9n/messages.ru.json +1 -0
  256. package/dist/cdn/assets/feature/t9n/messages.sk.json +1 -0
  257. package/dist/cdn/assets/feature/t9n/messages.sl.json +1 -0
  258. package/dist/cdn/assets/feature/t9n/messages.sr.json +1 -0
  259. package/dist/cdn/assets/feature/t9n/messages.sv.json +1 -0
  260. package/dist/cdn/assets/feature/t9n/messages.th.json +1 -0
  261. package/dist/cdn/assets/feature/t9n/messages.tr.json +1 -0
  262. package/dist/cdn/assets/feature/t9n/messages.uk.json +1 -0
  263. package/dist/cdn/assets/feature/t9n/messages.vi.json +1 -0
  264. package/dist/cdn/assets/feature/t9n/messages.zh-CN.json +1 -0
  265. package/dist/cdn/assets/feature/t9n/messages.zh-HK.json +1 -0
  266. package/dist/cdn/assets/feature/t9n/messages.zh-TW.json +1 -0
  267. package/dist/cdn/assets/version-management/t9n/messages.en.json +1 -1
  268. package/dist/cdn/index.js +2 -2
  269. package/dist/cdn/main.css +1 -1
  270. package/dist/chunks/AnalysisViewModel.js +4 -4
  271. package/dist/chunks/async-utils.js +3 -3
  272. package/dist/chunks/basemap-gallery-resources.js +1 -1
  273. package/dist/chunks/chart-utils.js +66 -0
  274. package/dist/chunks/chartCommon.js +19 -0
  275. package/dist/chunks/component-utils.js +1 -1
  276. package/dist/chunks/createCloseEvent.js +1 -1
  277. package/dist/chunks/feature-utils.js +178 -0
  278. package/dist/chunks/globalCss.js +1 -1
  279. package/dist/chunks/heading.js +13 -13
  280. package/dist/chunks/layer-list.js +2 -2
  281. package/dist/chunks/legacyIcon.js +1 -1
  282. package/dist/chunks/maybe.js +1 -1
  283. package/dist/chunks/measurementUtils.js +1 -1
  284. package/dist/chunks/runtime.js +1 -1
  285. package/dist/chunks/useHandles.js +4 -4
  286. package/dist/chunks/useT9n.js +1 -1
  287. package/dist/chunks/useView.js +1 -1
  288. package/dist/chunks/useViewModel.js +2 -2
  289. package/dist/chunks/useWidget.js +2 -2
  290. package/dist/chunks/utils.js +1 -1
  291. package/dist/components/arcgis-area-measurement-2d/customElement.d.ts +10 -5
  292. package/dist/components/arcgis-area-measurement-2d/customElement.js +2 -2
  293. package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +113 -11
  294. package/dist/components/arcgis-area-measurement-3d/customElement.js +19 -23
  295. package/dist/components/arcgis-attachments/customElement.d.ts +16 -5
  296. package/dist/components/arcgis-attachments/customElement.js +8 -8
  297. package/dist/components/arcgis-basemap-gallery/customElement.d.ts +13 -4
  298. package/dist/components/arcgis-basemap-gallery/customElement.js +31 -29
  299. package/dist/components/arcgis-basemap-gallery-item/customElement.d.ts +1 -1
  300. package/dist/components/arcgis-basemap-gallery-item/customElement.js +2 -2
  301. package/dist/components/arcgis-basemap-layer-list/customElement.d.ts +10 -5
  302. package/dist/components/arcgis-basemap-layer-list/customElement.js +2 -2
  303. package/dist/components/arcgis-basemap-toggle/customElement.d.ts +13 -4
  304. package/dist/components/arcgis-basemap-toggle/customElement.js +17 -18
  305. package/dist/components/arcgis-bookmarks/css.d.ts +22 -0
  306. package/dist/components/arcgis-bookmarks/customElement.d.ts +241 -84
  307. package/dist/components/arcgis-bookmarks/customElement.js +457 -17
  308. package/dist/components/arcgis-bookmarks/index.d.ts +21 -0
  309. package/dist/components/arcgis-bookmarks/index.js +21 -0
  310. package/dist/components/arcgis-bookmarks/interfaces.d.ts +12 -0
  311. package/dist/components/arcgis-bookmarks/user-state.d.ts +26 -0
  312. package/dist/components/arcgis-building-explorer/customElement.d.ts +30 -18
  313. package/dist/components/arcgis-building-explorer/customElement.js +2 -2
  314. package/dist/components/arcgis-catalog-layer-list/customElement.d.ts +10 -5
  315. package/dist/components/arcgis-catalog-layer-list/customElement.js +2 -2
  316. package/dist/components/arcgis-compass/customElement.d.ts +12 -3
  317. package/dist/components/arcgis-compass/customElement.js +15 -16
  318. package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +10 -5
  319. package/dist/components/arcgis-coordinate-conversion/customElement.js +4 -4
  320. package/dist/components/arcgis-daylight/customElement.d.ts +36 -18
  321. package/dist/components/arcgis-daylight/customElement.js +2 -2
  322. package/dist/components/arcgis-direct-line-measurement-3d/customElement.d.ts +114 -11
  323. package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +13 -17
  324. package/dist/components/arcgis-directional-pad/customElement.d.ts +12 -3
  325. package/dist/components/arcgis-directional-pad/customElement.js +20 -21
  326. package/dist/components/arcgis-directional-pad/utils.d.ts +2 -2
  327. package/dist/components/arcgis-directions/customElement.d.ts +11 -6
  328. package/dist/components/arcgis-directions/customElement.js +2 -2
  329. package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +10 -5
  330. package/dist/components/arcgis-distance-measurement-2d/customElement.js +2 -2
  331. package/dist/components/arcgis-editor/customElement.d.ts +10 -5
  332. package/dist/components/arcgis-editor/customElement.js +2 -2
  333. package/dist/components/arcgis-elevation-profile/customElement.d.ts +34 -26
  334. package/dist/components/arcgis-elevation-profile/customElement.js +2 -2
  335. package/dist/components/arcgis-expand/customElement.d.ts +14 -8
  336. package/dist/components/arcgis-expand/customElement.js +2 -2
  337. package/dist/components/arcgis-feature/customElement.d.ts +200 -86
  338. package/dist/components/arcgis-feature/customElement.js +208 -21
  339. package/dist/components/arcgis-feature/index.d.ts +8 -0
  340. package/dist/components/arcgis-feature/index.js +8 -0
  341. package/dist/components/arcgis-feature-attachments/customElement.d.ts +17 -0
  342. package/dist/components/arcgis-feature-attachments/customElement.js +37 -0
  343. package/dist/components/arcgis-feature-attachments/index.d.ts +3 -0
  344. package/dist/components/arcgis-feature-attachments/index.js +3 -0
  345. package/dist/components/arcgis-feature-content/customElement.d.ts +11 -0
  346. package/dist/components/arcgis-feature-content/customElement.js +65 -0
  347. package/dist/components/arcgis-feature-content/index.d.ts +2 -0
  348. package/dist/components/arcgis-feature-content/index.js +2 -0
  349. package/dist/components/arcgis-feature-element-info/customElement.d.ts +11 -0
  350. package/dist/components/arcgis-feature-element-info/customElement.js +42 -0
  351. package/dist/components/arcgis-feature-element-info/index.d.ts +1 -0
  352. package/dist/components/arcgis-feature-element-info/index.js +1 -0
  353. package/dist/components/arcgis-feature-expression/customElement.d.ts +21 -0
  354. package/dist/components/arcgis-feature-expression/customElement.js +248 -0
  355. package/dist/components/arcgis-feature-expression/index.d.ts +5 -0
  356. package/dist/components/arcgis-feature-expression/index.js +5 -0
  357. package/dist/components/arcgis-feature-fields/customElement.d.ts +17 -0
  358. package/dist/components/arcgis-feature-fields/customElement.js +142 -0
  359. package/dist/components/arcgis-feature-fields/index.d.ts +2 -0
  360. package/dist/components/arcgis-feature-fields/index.js +2 -0
  361. package/dist/components/arcgis-feature-form/customElement.d.ts +11 -6
  362. package/dist/components/arcgis-feature-form/customElement.js +2 -2
  363. package/dist/components/arcgis-feature-media/chartCommon.d.ts +1 -0
  364. package/dist/components/arcgis-feature-media/customElement.d.ts +36 -0
  365. package/dist/components/arcgis-feature-media/customElement.js +571 -0
  366. package/dist/components/arcgis-feature-media/index.d.ts +3 -0
  367. package/dist/components/arcgis-feature-media/index.js +3 -0
  368. package/dist/components/arcgis-feature-relationship/customElement.d.ts +86 -0
  369. package/dist/components/arcgis-feature-relationship/customElement.js +402 -0
  370. package/dist/components/arcgis-feature-relationship/index.d.ts +10 -0
  371. package/dist/components/arcgis-feature-relationship/index.js +10 -0
  372. package/dist/components/arcgis-feature-table/customElement.d.ts +11 -5
  373. package/dist/components/arcgis-feature-table/customElement.js +2 -2
  374. package/dist/components/arcgis-feature-templates/customElement.d.ts +12 -5
  375. package/dist/components/arcgis-feature-templates/customElement.js +2 -2
  376. package/dist/components/arcgis-features/customElement.d.ts +9 -4
  377. package/dist/components/arcgis-features/customElement.js +2 -2
  378. package/dist/components/arcgis-floor-filter/customElement.d.ts +12 -5
  379. package/dist/components/arcgis-floor-filter/customElement.js +2 -2
  380. package/dist/components/arcgis-fullscreen/customElement.d.ts +23 -4
  381. package/dist/components/arcgis-fullscreen/customElement.js +32 -19
  382. package/dist/components/arcgis-grid-controls/customElement.d.ts +16 -7
  383. package/dist/components/arcgis-grid-controls/customElement.js +16 -16
  384. package/dist/components/arcgis-grid-controls/gridUtils.d.ts +6 -6
  385. package/dist/components/arcgis-histogram-range-slider/customElement.d.ts +9 -4
  386. package/dist/components/arcgis-histogram-range-slider/customElement.js +2 -2
  387. package/dist/components/arcgis-home/customElement.d.ts +31 -10
  388. package/dist/components/arcgis-home/customElement.js +14 -15
  389. package/dist/components/arcgis-labeled-switch/customElement.d.ts +1 -1
  390. package/dist/components/arcgis-labeled-switch/customElement.js +10 -11
  391. package/dist/components/arcgis-layer-list/customElement.d.ts +14 -6
  392. package/dist/components/arcgis-layer-list/customElement.js +1 -1
  393. package/dist/components/arcgis-layer-list-item/customElement.d.ts +1 -1
  394. package/dist/components/arcgis-layer-list-item/customElement.js +3 -3
  395. package/dist/components/arcgis-legend/customElement.d.ts +9 -4
  396. package/dist/components/arcgis-legend/customElement.js +2 -2
  397. package/dist/components/arcgis-line-of-sight/customElement.d.ts +77 -21
  398. package/dist/components/arcgis-line-of-sight/customElement.js +19 -23
  399. package/dist/components/arcgis-link-chart/customElement.d.ts +26 -16
  400. package/dist/components/arcgis-link-chart/customElement.js +20 -9
  401. package/dist/components/arcgis-link-chart-layout-switcher/customElement.d.ts +13 -3
  402. package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +25 -27
  403. package/dist/components/arcgis-link-chart-layout-switcher/index.d.ts +1 -2
  404. package/dist/components/arcgis-link-chart-layout-switcher/index.js +1 -2
  405. package/dist/components/arcgis-locate/LocateViewModel.d.ts +4 -5
  406. package/dist/components/arcgis-locate/customElement.d.ts +19 -7
  407. package/dist/components/arcgis-locate/customElement.js +115 -113
  408. package/dist/components/arcgis-locate/index.d.ts +0 -1
  409. package/dist/components/arcgis-locate/index.js +0 -1
  410. package/dist/components/arcgis-map/customElement.d.ts +33 -20
  411. package/dist/components/arcgis-map/customElement.js +26 -15
  412. package/dist/components/arcgis-measurement/customElement.d.ts +11 -6
  413. package/dist/components/arcgis-measurement/customElement.js +2 -2
  414. package/dist/components/arcgis-measurement-content/customElement.d.ts +1 -1
  415. package/dist/components/arcgis-measurement-content/customElement.js +12 -13
  416. package/dist/components/arcgis-navigation-toggle/customElement.d.ts +19 -15
  417. package/dist/components/arcgis-navigation-toggle/customElement.js +17 -15
  418. package/dist/components/arcgis-oriented-imagery-viewer/customElement.d.ts +9 -4
  419. package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +2 -2
  420. package/dist/components/arcgis-placement/customElement.d.ts +7 -2
  421. package/dist/components/arcgis-placement/customElement.js +2 -2
  422. package/dist/components/arcgis-print/customElement.d.ts +57 -43
  423. package/dist/components/arcgis-print/customElement.js +38 -33
  424. package/dist/components/arcgis-print/types.d.ts +40 -0
  425. package/dist/components/arcgis-print/utils.d.ts +6 -6
  426. package/dist/components/arcgis-print-custom-text-elements/customElement.d.ts +1 -1
  427. package/dist/components/arcgis-print-custom-text-elements/customElement.js +2 -2
  428. package/dist/components/arcgis-print-dpi-input/customElement.d.ts +1 -1
  429. package/dist/components/arcgis-print-dpi-input/customElement.js +18 -23
  430. package/dist/components/arcgis-print-export-button/customElement.d.ts +2 -8
  431. package/dist/components/arcgis-print-export-button/customElement.js +4 -5
  432. package/dist/components/arcgis-print-exported-link/customElement.d.ts +2 -2
  433. package/dist/components/arcgis-print-exported-link/customElement.js +24 -25
  434. package/dist/components/arcgis-print-exports-panel/customElement.d.ts +2 -2
  435. package/dist/components/arcgis-print-exports-panel/customElement.js +10 -11
  436. package/dist/components/arcgis-print-format-select/customElement.d.ts +2 -2
  437. package/dist/components/arcgis-print-format-select/customElement.js +3 -3
  438. package/dist/components/arcgis-print-layout-advanced-options/customElement.d.ts +1 -1
  439. package/dist/components/arcgis-print-layout-advanced-options/customElement.js +9 -10
  440. package/dist/components/arcgis-print-layout-panel/customElement.d.ts +2 -8
  441. package/dist/components/arcgis-print-layout-panel/customElement.js +14 -15
  442. package/dist/components/arcgis-print-main-panel/customElement.d.ts +3 -9
  443. package/dist/components/arcgis-print-main-panel/customElement.js +12 -13
  444. package/dist/components/arcgis-print-map-only-advanced-options/customElement.d.ts +1 -1
  445. package/dist/components/arcgis-print-map-only-advanced-options/customElement.js +6 -7
  446. package/dist/components/arcgis-print-map-only-panel/customElement.d.ts +2 -8
  447. package/dist/components/arcgis-print-map-only-panel/customElement.js +28 -23
  448. package/dist/components/arcgis-print-out-spatial-reference-input/customElement.d.ts +1 -1
  449. package/dist/components/arcgis-print-out-spatial-reference-input/customElement.js +26 -22
  450. package/dist/components/arcgis-print-preview-input/customElement.d.ts +1 -1
  451. package/dist/components/arcgis-print-preview-input/customElement.js +2 -2
  452. package/dist/components/arcgis-print-scale-section/customElement.d.ts +2 -2
  453. package/dist/components/arcgis-print-scale-section/customElement.js +26 -20
  454. package/dist/components/arcgis-print-template-select/customElement.d.ts +1 -1
  455. package/dist/components/arcgis-print-template-select/customElement.js +11 -12
  456. package/dist/components/arcgis-print-template-selector/customElement.d.ts +1 -1
  457. package/dist/components/arcgis-print-template-selector/customElement.js +9 -10
  458. package/dist/components/arcgis-scale-bar/customElement.d.ts +13 -4
  459. package/dist/components/arcgis-scale-bar/customElement.js +66 -65
  460. package/dist/components/arcgis-scale-range-slider/customElement.d.ts +9 -4
  461. package/dist/components/arcgis-scale-range-slider/customElement.js +2 -2
  462. package/dist/components/arcgis-scene/customElement.d.ts +158 -95
  463. package/dist/components/arcgis-scene/customElement.js +28 -17
  464. package/dist/components/arcgis-search/customElement.d.ts +59 -27
  465. package/dist/components/arcgis-search/customElement.js +42 -39
  466. package/dist/components/arcgis-search-result-renderer/customElement.d.ts +2 -2
  467. package/dist/components/arcgis-search-result-renderer/customElement.js +14 -15
  468. package/dist/components/arcgis-shadow-cast/customElement.d.ts +97 -34
  469. package/dist/components/arcgis-shadow-cast/customElement.js +2 -2
  470. package/dist/components/arcgis-sketch/customElement.d.ts +13 -8
  471. package/dist/components/arcgis-sketch/customElement.js +27 -19
  472. package/dist/components/arcgis-slice/SliceViewModel.d.ts +0 -1
  473. package/dist/components/arcgis-slice/customElement.d.ts +109 -23
  474. package/dist/components/arcgis-slice/customElement.js +32 -41
  475. package/dist/components/arcgis-slider/customElement.d.ts +11 -6
  476. package/dist/components/arcgis-slider/customElement.js +2 -2
  477. package/dist/components/arcgis-swipe/customElement.d.ts +31 -5
  478. package/dist/components/arcgis-swipe/customElement.js +44 -45
  479. package/dist/components/arcgis-table-list/customElement.d.ts +10 -5
  480. package/dist/components/arcgis-table-list/customElement.js +2 -2
  481. package/dist/components/arcgis-time-slider/customElement.d.ts +9 -4
  482. package/dist/components/arcgis-time-slider/customElement.js +2 -2
  483. package/dist/components/arcgis-time-zone-label/customElement.d.ts +5 -3
  484. package/dist/components/arcgis-time-zone-label/customElement.js +11 -12
  485. package/dist/components/arcgis-track/customElement.d.ts +28 -11
  486. package/dist/components/arcgis-track/customElement.js +14 -15
  487. package/dist/components/arcgis-unit-select/customElement.d.ts +7 -3
  488. package/dist/components/arcgis-unit-select/customElement.js +22 -16
  489. package/dist/components/arcgis-utility-network-associations/customElement.d.ts +20 -17
  490. package/dist/components/arcgis-utility-network-associations/customElement.js +1 -1
  491. package/dist/components/arcgis-utility-network-trace/customElement.d.ts +10 -5
  492. package/dist/components/arcgis-utility-network-trace/customElement.js +1 -1
  493. package/dist/components/arcgis-utility-network-validate-topology/customElement.d.ts +12 -5
  494. package/dist/components/arcgis-utility-network-validate-topology/customElement.js +1 -1
  495. package/dist/components/arcgis-value-picker/customElement.d.ts +10 -5
  496. package/dist/components/arcgis-value-picker/customElement.js +2 -2
  497. package/dist/components/arcgis-version-management/customElement.d.ts +16 -9
  498. package/dist/components/arcgis-version-management/customElement.js +49 -51
  499. package/dist/components/arcgis-version-management-service-item/customElement.d.ts +3 -4
  500. package/dist/components/arcgis-version-management-service-item/customElement.js +19 -20
  501. package/dist/components/arcgis-version-management-version-item/customElement.d.ts +1 -2
  502. package/dist/components/arcgis-version-management-version-item/customElement.js +12 -12
  503. package/dist/components/arcgis-version-management-version-list/customElement.d.ts +1 -2
  504. package/dist/components/arcgis-version-management-version-list/customElement.js +18 -22
  505. package/dist/components/arcgis-version-management-version-properties/customElement.d.ts +1 -2
  506. package/dist/components/arcgis-version-management-version-properties/customElement.js +43 -44
  507. package/dist/components/arcgis-video/customElement.d.ts +28 -11
  508. package/dist/components/arcgis-video/customElement.js +15 -24
  509. package/dist/components/arcgis-video-player/customElement.d.ts +23 -7
  510. package/dist/components/arcgis-video-player/customElement.js +39 -33
  511. package/dist/components/arcgis-video-player-action-bar/customElement.d.ts +1 -1
  512. package/dist/components/arcgis-video-player-action-bar/customElement.js +11 -12
  513. package/dist/components/arcgis-video-player-actions-group/customElement.d.ts +1 -1
  514. package/dist/components/arcgis-video-player-actions-group/customElement.js +2 -2
  515. package/dist/components/arcgis-video-player-controls-group/customElement.d.ts +1 -1
  516. package/dist/components/arcgis-video-player-controls-group/customElement.js +13 -13
  517. package/dist/components/arcgis-video-player-metadata/customElement.d.ts +1 -1
  518. package/dist/components/arcgis-video-player-metadata/customElement.js +10 -11
  519. package/dist/components/arcgis-video-player-settings/customElement.d.ts +1 -1
  520. package/dist/components/arcgis-video-player-settings/customElement.js +8 -9
  521. package/dist/components/arcgis-video-player-slider/customElement.d.ts +1 -1
  522. package/dist/components/arcgis-video-player-slider/customElement.js +6 -7
  523. package/dist/components/arcgis-weather/WeatherViewModel.d.ts +1 -1
  524. package/dist/components/arcgis-weather/customElement.d.ts +54 -5
  525. package/dist/components/arcgis-weather/customElement.js +17 -18
  526. package/dist/components/arcgis-zoom/customElement.d.ts +12 -3
  527. package/dist/components/arcgis-zoom/customElement.js +12 -13
  528. package/dist/controllers/Handles.d.ts +4 -4
  529. package/dist/controllers/useHandles.d.ts +5 -5
  530. package/dist/controllers/useView.d.ts +3 -3
  531. package/dist/controllers/useViewModel.d.ts +4 -4
  532. package/dist/controllers/useWidget.d.ts +9 -9
  533. package/dist/docs/api.json +3785 -1107
  534. package/dist/docs/docs.json +2854 -925
  535. package/dist/docs/vscode.html-custom-data.json +467 -174
  536. package/dist/docs/web-types.json +1076 -488
  537. package/dist/geolocation/GeolocationPositioning.d.ts +5 -6
  538. package/dist/index.d.ts +12 -3
  539. package/dist/index.js +1 -1
  540. package/dist/loader.js +27 -20
  541. package/dist/support/heading.d.ts +2 -1
  542. package/dist/support/maybe.d.ts +3 -3
  543. package/dist/types/lumina.d.ts +28 -18
  544. package/dist/types/preact.d.ts +29 -18
  545. package/dist/types/react.d.ts +30 -18
  546. package/dist/types/stencil.d.ts +28 -18
  547. package/dist/utils/async-utils.d.ts +7 -7
  548. package/dist/utils/chart-utils.d.ts +6 -0
  549. package/dist/utils/component-utils.d.ts +9 -9
  550. package/dist/utils/feature-form-utils.d.ts +6 -0
  551. package/dist/utils/feature-utils.d.ts +33 -0
  552. package/dist/utils/layer-list-utils.d.ts +17 -17
  553. package/dist/utils/related-feature-utils.d.ts +6 -0
  554. package/dist/utils/uri-utils.d.ts +4 -0
  555. package/package.json +7 -5
  556. package/dist/cdn/3CVTJ6IR.js +0 -4
  557. package/dist/cdn/3K4LQ5ZH.js +0 -4
  558. package/dist/cdn/3NYGB5KC.js +0 -4
  559. package/dist/cdn/3V7IRFXL.js +0 -4
  560. package/dist/cdn/43IJVAZP.js +0 -4
  561. package/dist/cdn/4QHWO73K.js +0 -4
  562. package/dist/cdn/4V2M77YV.js +0 -4
  563. package/dist/cdn/5FZJ2H3A.js +0 -4
  564. package/dist/cdn/5H7D7TSV.js +0 -4
  565. package/dist/cdn/5KK3XQQZ.js +0 -4
  566. package/dist/cdn/5LHNWCSF.js +0 -4
  567. package/dist/cdn/5N4BVYD2.js +0 -4
  568. package/dist/cdn/5ZJSJBH7.js +0 -4
  569. package/dist/cdn/6DLNCYNJ.js +0 -4
  570. package/dist/cdn/6EUTPSR3.js +0 -4
  571. package/dist/cdn/6JC3X4DH.js +0 -4
  572. package/dist/cdn/6VMYCMSX.js +0 -4
  573. package/dist/cdn/7DA7Y4DS.js +0 -4
  574. package/dist/cdn/7S7U4ABF.js +0 -4
  575. package/dist/cdn/AGNZOUXO.js +0 -4
  576. package/dist/cdn/APM7HWPV.js +0 -4
  577. package/dist/cdn/AXC7MHUY.js +0 -6
  578. package/dist/cdn/B7YWZFHG.js +0 -4
  579. package/dist/cdn/BGL6T3KT.js +0 -4
  580. package/dist/cdn/BIDDZ56Y.js +0 -4
  581. package/dist/cdn/BNXSE33Y.js +0 -4
  582. package/dist/cdn/BTMPB2XP.js +0 -4
  583. package/dist/cdn/BWZL65MZ.js +0 -4
  584. package/dist/cdn/C3JX4XWF.js +0 -4
  585. package/dist/cdn/C4TSJEJH.js +0 -4
  586. package/dist/cdn/C5Y2CFYN.js +0 -4
  587. package/dist/cdn/CPW7VJRT.js +0 -4
  588. package/dist/cdn/CTEALHBJ.js +0 -4
  589. package/dist/cdn/CXJCTNJJ.js +0 -4
  590. package/dist/cdn/CXVJEZRT.js +0 -4
  591. package/dist/cdn/DMKGED3D.js +0 -4
  592. package/dist/cdn/DZRQ3FJN.js +0 -4
  593. package/dist/cdn/EGXWFLZ6.js +0 -4
  594. package/dist/cdn/ESO25JEU.js +0 -4
  595. package/dist/cdn/FEHLXR64.js +0 -4
  596. package/dist/cdn/FOZYNPTO.js +0 -4
  597. package/dist/cdn/FUIIOE5K.js +0 -4
  598. package/dist/cdn/G6V7COIW.js +0 -4
  599. package/dist/cdn/GXHWA464.js +0 -4
  600. package/dist/cdn/HLUINBW7.js +0 -4
  601. package/dist/cdn/I3YONNOJ.js +0 -4
  602. package/dist/cdn/IFU5E2LC.js +0 -4
  603. package/dist/cdn/IKGGVPEL.js +0 -4
  604. package/dist/cdn/ITWSP5JU.js +0 -4
  605. package/dist/cdn/JCV3FTL7.js +0 -4
  606. package/dist/cdn/JP5OTXJX.js +0 -4
  607. package/dist/cdn/JZ6AB7NM.js +0 -4
  608. package/dist/cdn/JZO3ICTU.js +0 -4
  609. package/dist/cdn/KGJHCOZ4.js +0 -4
  610. package/dist/cdn/KHCCACST.js +0 -4
  611. package/dist/cdn/KPKM24HM.js +0 -4
  612. package/dist/cdn/L7LDYNLW.js +0 -4
  613. package/dist/cdn/LHUB6IIZ.js +0 -4
  614. package/dist/cdn/LJC6WRCS.js +0 -4
  615. package/dist/cdn/LJSRLQJH.js +0 -4
  616. package/dist/cdn/LTOXWTO6.js +0 -4
  617. package/dist/cdn/MHERALSB.js +0 -4
  618. package/dist/cdn/N2HYKSZN.js +0 -4
  619. package/dist/cdn/N3UCR7B4.js +0 -4
  620. package/dist/cdn/N7QZNEIJ.js +0 -4
  621. package/dist/cdn/NAGYELAG.js +0 -4
  622. package/dist/cdn/NH4L7TUF.js +0 -4
  623. package/dist/cdn/PITGRP5J.js +0 -4
  624. package/dist/cdn/Q4LEDOCN.js +0 -4
  625. package/dist/cdn/QGSP733R.js +0 -4
  626. package/dist/cdn/QX4PFK5W.js +0 -4
  627. package/dist/cdn/R4OCIRWR.js +0 -4
  628. package/dist/cdn/RR5F3SPW.js +0 -4
  629. package/dist/cdn/RTEPILHE.js +0 -4
  630. package/dist/cdn/RYH4JLMG.js +0 -4
  631. package/dist/cdn/SVIUUV22.js +0 -4
  632. package/dist/cdn/T4FMPBKP.js +0 -4
  633. package/dist/cdn/T7AW36YP.js +0 -4
  634. package/dist/cdn/TC2TTTMU.js +0 -4
  635. package/dist/cdn/TE3QJZJW.js +0 -4
  636. package/dist/cdn/TQV4YCGY.js +0 -4
  637. package/dist/cdn/TUT5QPQJ.js +0 -4
  638. package/dist/cdn/TY2YZASD.js +0 -4
  639. package/dist/cdn/UOH2BTYV.js +0 -4
  640. package/dist/cdn/UQXB5REP.js +0 -4
  641. package/dist/cdn/UV5D3ZXY.js +0 -4
  642. package/dist/cdn/VENK34O7.js +0 -4
  643. package/dist/cdn/VGV6LYWI.js +0 -4
  644. package/dist/cdn/VRTJXWFO.js +0 -4
  645. package/dist/cdn/VT73N5VK.js +0 -4
  646. package/dist/cdn/VZX6PQA2.js +0 -4
  647. package/dist/cdn/W2EA6D3X.js +0 -4
  648. package/dist/cdn/WFTKJB4P.js +0 -4
  649. package/dist/cdn/WOY7XX7B.js +0 -4
  650. package/dist/cdn/XGXYIF65.js +0 -4
  651. package/dist/cdn/XJ6BZ6DU.js +0 -4
  652. package/dist/cdn/XV6MSZ6U.js +0 -4
  653. package/dist/cdn/YTBQINZ7.js +0 -4
  654. package/dist/cdn/ZEROK655.js +0 -4
  655. package/dist/cdn/ZH4LI6ZS.js +0 -4
@@ -1,33 +1,473 @@
1
- import { c as i } from "../../chunks/runtime.js";
2
- import { usePropertyChange as e } from "@arcgis/lumina/controllers";
3
- import { reEmitEvent as t } from "@arcgis/lumina/controllers/accessor";
4
- import s from "@arcgis/core/widgets/Bookmarks.js";
5
- import { LitElement as o, createEvent as l, noShadowRoot as a } from "@arcgis/lumina";
6
- import { m as h } from "../../chunks/useWidget.js";
7
- import { css as r } from "@lit/reactive-element/css-tag.js";
8
- import { c as d } from "../../chunks/createCloseEvent.js";
1
+ import { c as A } from "../../chunks/runtime.js";
2
+ import { css as M, html as r } from "lit";
3
+ import { ref as $ } from "lit/directives/ref.js";
4
+ import { keyed as N } from "lit/directives/keyed.js";
5
+ import L from "@arcgis/core/widgets/Bookmarks/BookmarksViewModel.js";
6
+ import { g as S } from "../../chunks/globalCss.js";
7
+ import { u as O } from "../../chunks/useT9n.js";
8
+ import { H as P } from "../../chunks/heading.js";
9
+ import { generateGuid as V } from "@arcgis/toolkit/string";
10
+ import { classes as x } from "@arcgis/toolkit/dom";
11
+ import { usePropertyChange as R } from "@arcgis/lumina/controllers";
12
+ import { m as q } from "../../chunks/useViewModel.js";
13
+ import { LitElement as H, createEvent as I, noShadowRoot as Z, safeClassMap as c, nothing as w } from "@arcgis/lumina";
14
+ import { formatDate as F, convertDateFormatToIntlOptions as U } from "@arcgis/core/intl.js";
15
+ import { isHTTPSProtocol as b, isDataProtocol as T } from "@arcgis/core/core/urlUtils.js";
16
+ import { watch as E } from "@arcgis/core/core/reactiveUtils.js";
17
+ import z from "@arcgis/core/core/Accessor.js";
18
+ import { property as _, subclass as j } from "@arcgis/core/core/accessorSupport/decorators.js";
9
19
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
10
20
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
11
- v4.34.0-next.7 */
12
- const n = r`@layer{arcgis-bookmarks{display:block}}`, m = h(s);
13
- class g extends o {
21
+ v4.34.0-next.71 */
22
+ const d = "arcgis-bookmarks", y = `${d}__authoring`, C = `${d}__bookmark`, l = {
23
+ base: d,
24
+ empty: `${d}__empty`,
25
+ noBookmarksHeader: `${d}__no-bookmarks-heading`,
26
+ noBookmarksDescription: `${d}__no-bookmarks-description`,
27
+ form: `${d}__form`,
28
+ list: `${d}__list`,
29
+ loader: `${d}__loader`,
30
+ filterNoResults: `${d}__filter-no-results`,
31
+ formContent: `${d}__form-content`,
32
+ addBookmarkButton: `${d}__add-bookmark-button`,
33
+ editBookmarkInput: `${d}__edit-bookmark-input`,
34
+ addBookmarkInput: `${d}__add-bookmark-input`,
35
+ dragEnabled: `${d}--drag-enabled`,
36
+ bookmarkImage: `${d}__image`,
37
+ bookmarkImageContainer: `${C}-image-container`,
38
+ bookmarkContent: `${C}-content`,
39
+ bookmarkContentLabel: `${C}-content-label`,
40
+ authoring: y,
41
+ authoringImageContainer: `${y}-image-container`,
42
+ authoringRefreshThumbnailButton: `${y}-refresh-thumbnail-button`
43
+ }, G = M`@layer{arcgis-bookmarks{display:block}.arcgis-bookmarks{display:flex;background-color:transparent}.arcgis-bookmarks__empty{display:flex;flex-flow:column wrap;align-items:center;padding:var(--calcite-spacing-md) var(--calcite-spacing-lg);text-align:center;color:var(--calcite-color-text-1)}.arcgis-bookmarks .arcgis-widget__content--empty{background-color:var(--calcite-color-foreground-2)}.arcgis-bookmarks calcite-flow-item[loading]{min-height:150px}.arcgis-bookmarks__loader{margin-inline-end:0}.arcgis-bookmarks__filter-no-results{padding:var(--calcite-spacing-md) var(--calcite-spacing-lg)}.arcgis-bookmarks__bookmark-image-container{display:flex;position:relative;margin:0;margin-inline-start:var(--calcite-spacing-xs);min-width:16px;min-height:16px}.arcgis-bookmarks__bookmark-image-container .arcgis-bookmarks__image{max-width:64px;overflow:hidden}.arcgis-bookmarks--drag-enabled .arcgis-bookmarks__bookmark-image-container{margin-inline-start:0}.arcgis-bookmarks__no-bookmarks-heading{margin:0;margin-block-start:var(--calcite-spacing-md);font-size:16px;font-weight:400}.arcgis-bookmarks__authoring{display:flex;flex-direction:column}.arcgis-bookmarks__authoring-image-container{display:flex;align-items:middle;justify-content:center;margin-block-end:var(--calcite-spacing-md);margin-inline-end:var(--calcite-spacing-lg);background-image:repeating-conic-gradient(#ccc 0% 25%,#fff 0% 50%);background-position:0 0,10px 10px;background-size:20px 20px;background-color:#fff;width:128px;height:128px;text-align:center}.arcgis-bookmarks__authoring-image-container .arcgis-bookmarks__image{max-width:128px;max-height:128px}.arcgis-bookmarks__form{display:flex;height:100%}.arcgis-bookmarks__form-content{padding-block:var(--calcite-spacing-md);padding-inline:var(--calcite-spacing-lg)}.arcgis-bookmarks__authoring-refresh-thumbnail-button{margin-block-end:var(--calcite-spacing-md)}.arcgis-bookmarks__bookmark-content-label{color:var(--calcite-color-text-1);font-size:var(--calcite-font-size--2)}.arcgis-bookmarks__bookmark-content calcite-table{margin-inline-start:-.25rem}.arcgis-bookmarks__bookmark-content calcite-table,.arcgis-bookmarks__bookmark-content calcite-table-row{--calcite-color-border-3: transparent;--calcite-color-text-1: var(--calcite-color-text-3);--calcite-internal-table-row-background: transparent;pointer-events:none}}`;
44
+ var J = Object.defineProperty, K = Object.getOwnPropertyDescriptor, k = (s, t, e, i) => {
45
+ for (var a = i > 1 ? void 0 : i ? K(t, e) : t, o = s.length - 1, n; o >= 0; o--)
46
+ (n = s[o]) && (a = (i ? n(t, e, a) : n(a)) || a);
47
+ return i && a && J(t, e, a), a;
48
+ };
49
+ let m = class extends z {
50
+ constructor(s) {
51
+ super(s);
52
+ }
53
+ get editedBookmark() {
54
+ const { bookmark: s } = this;
55
+ return s ? this._get("editedBookmark") || s.clone() : null;
56
+ }
57
+ get customUrl() {
58
+ if (this._customUrl)
59
+ return this._customUrl;
60
+ const s = this.editedBookmark?.thumbnail?.url ?? "";
61
+ return s ?? (b(s) ? s : null);
62
+ }
63
+ set customUrl(s) {
64
+ this._customUrl = s;
65
+ }
66
+ get screenshotUrl() {
67
+ if (this._screenshotUrl)
68
+ return this._screenshotUrl;
69
+ const s = this.editedBookmark?.thumbnail?.url ?? "";
70
+ return s ?? (T(s) ? s : null);
71
+ }
72
+ set screenshotUrl(s) {
73
+ this._screenshotUrl = s;
74
+ }
75
+ get state() {
76
+ return this._get("state");
77
+ }
78
+ set state(s) {
79
+ this.validationState = void 0, this.creatingBookmark = void 0, this._set("state", s);
80
+ }
81
+ get thumbnailState() {
82
+ if (this._thumbnailState)
83
+ return this._thumbnailState;
84
+ const s = this.editedBookmark?.thumbnail?.url;
85
+ return s ? b(s) ? "url" : "screenshot" : "none";
86
+ }
87
+ set thumbnailState(s) {
88
+ this._thumbnailState = s;
89
+ }
90
+ };
91
+ k([
92
+ _()
93
+ ], m.prototype, "bookmark", 2);
94
+ k([
95
+ _({ readOnly: !0 })
96
+ ], m.prototype, "editedBookmark", 1);
97
+ k([
98
+ _()
99
+ ], m.prototype, "_customUrl", 2);
100
+ k([
101
+ _()
102
+ ], m.prototype, "customUrl", 1);
103
+ k([
104
+ _()
105
+ ], m.prototype, "_screenshotUrl", 2);
106
+ k([
107
+ _()
108
+ ], m.prototype, "screenshotUrl", 1);
109
+ k([
110
+ _()
111
+ ], m.prototype, "state", 1);
112
+ k([
113
+ _()
114
+ ], m.prototype, "_thumbnailState", 2);
115
+ k([
116
+ _()
117
+ ], m.prototype, "thumbnailState", 1);
118
+ k([
119
+ _()
120
+ ], m.prototype, "validationState", 2);
121
+ k([
122
+ _()
123
+ ], m.prototype, "creatingBookmark", 2);
124
+ m = k([
125
+ j("UserState")
126
+ ], m);
127
+ const Q = q(L);
128
+ class W extends H {
14
129
  constructor() {
15
- super(...arguments), this.widget = m(this), this.viewModel = this.widget.viewModel, this.arcgisClose = d(this), this.autoDestroyDisabled = !1, this.bookmarks = this.widget.bookmarks, this.closed = !1, this.defaultCreateOptions = this.widget.defaultCreateOptions, this.defaultEditOptions = this.widget.defaultEditOptions, this.disabled = this.widget.disabled, this.dragEnabled = this.widget.dragEnabled, this.filterPlaceholder = this.widget.filterPlaceholder, this.filterText = this.widget.filterText, this.goToOverride = this.widget.goToOverride, this.hideFlow = this.widget.visibleElements.flow, this.hideThumbnail = this.widget.visibleElements.thumbnail, this.hideTime = this.widget.visibleElements.time, this.icon = this.widget.icon, this.label = this.widget.label, this.position = "bottom-left", this.showAddBookmarkButton = this.widget.visibleElements.addBookmarkButton, this.showCloseButton = this.widget.visibleElements.closeButton, this.showCollapseButton = this.widget.visibleElements.collapseButton, this.showEditBookmarkButton = this.widget.visibleElements.editBookmarkButton, this.showFilter = this.widget.visibleElements.filter, this.showHeading = this.widget.visibleElements.heading, this.state = this.viewModel.state, this.arcgisEdit = t(() => this.widget, "bookmark-edit"), this.arcgisPropertyChange = e()("state"), this.arcgisReady = l(), this.arcgisSelect = t(() => this.widget, "bookmark-select");
130
+ super(...arguments), this._guid = V(), this._addInputNode = null, this._editInputNode = null, this._urlEditInputNode = null, this._lastDragDetail = null, this.messages = O({}), this.viewModel = Q(this), this._storeEditFlowItemNode = (t) => {
131
+ this._editFlowItemEl = t;
132
+ }, this._storeRootFlowItem = (t) => {
133
+ this._rootFlowItemEl = t;
134
+ }, this._storeAddFlowItemNode = (t) => {
135
+ this._addFlowItemEl = t;
136
+ }, this._userState = null, this._userCreatingBookmark = !1, this.editIncludeTimeExtent = !1, this.position = "top-left", this.icon = "icon", this.closed = !1, this.defaultCreateOptions = this.viewModel.defaultCreateOptions, this.defaultEditOptions = this.viewModel.defaultEditOptions, this.bookmarks = this.viewModel.bookmarks, this.disabled = !1, this.dragEnabled = !1, this.filterPlaceholder = "", this.filterText = "", this.headingLevel = 2, this.goToOverride = this.viewModel.goToOverride, this.showAddBookmarkButton = !1, this.showCloseButton = !1, this.showCollapseButton = !1, this.showEditBookmarkButton = !1, this.showFilter = !1, this.hideFlow = !1, this.showHeading = !1, this.hideThumbnail = !1, this.hideTime = !1, this.timeDisabled = this.viewModel.capabilities.time, this.autoDestroyDisabled = !1, this.state = this.viewModel.state, this.arcgisBookmarkEdit = I(), this.arcgisBookmarkSelect = I(), this.arcgisPropertyChange = R()("state"), this.arcgisReady = I();
16
137
  }
17
138
  static {
18
- this.properties = { autoDestroyDisabled: 5, bookmarks: 0, closed: 5, defaultCreateOptions: 0, defaultEditOptions: 0, disabled: 7, dragEnabled: 5, filterPlaceholder: 1, filterText: 1, goToOverride: 0, hideFlow: 5, hideThumbnail: 5, hideTime: 5, icon: 1, label: 1, position: 1, referenceElement: 1, showAddBookmarkButton: 5, showCloseButton: 5, showCollapseButton: 5, showEditBookmarkButton: 5, showFilter: 5, showHeading: 5, state: 3 };
139
+ this.properties = { _userState: 16, _userStateValue: 16, _userValidationState: 16, _userThumbnailState: 16, _userCreatingBookmark: 16, editIncludeTimeExtent: 16, referenceElement: 1, position: 3, icon: 1, closed: 5, defaultCreateOptions: 0, defaultEditOptions: 0, bookmarks: 0, disabled: 5, dragEnabled: 5, filterPlaceholder: 1, filterText: 1, headingLevel: 9, goToOverride: 0, showAddBookmarkButton: 5, showCloseButton: 5, showCollapseButton: 5, showEditBookmarkButton: 5, showFilter: 5, hideFlow: 5, showHeading: 5, hideThumbnail: 5, hideTime: 5, timeDisabled: 5, autoDestroyDisabled: 5, messageOverrides: 0, label: 1, state: 3 };
19
140
  }
20
141
  static {
21
- this.shadowRootOptions = a;
142
+ this.styles = G;
22
143
  }
23
144
  static {
24
- this.styles = n;
145
+ this.shadowRootOptions = Z;
25
146
  }
26
147
  async destroy() {
27
148
  await this.manager.destroy();
28
149
  }
150
+ goTo(t) {
151
+ return this.viewModel.goTo(t);
152
+ }
153
+ loaded() {
154
+ this.manager.onLifecycle(() => [
155
+ this.viewModel.on("bookmark-select", this.arcgisBookmarkSelect.emit),
156
+ this.viewModel.on("bookmark-edit", this.arcgisBookmarkEdit.emit),
157
+ E(() => this._userState?.state, (t) => this._userStateValue = t, { initial: !0 }),
158
+ E(() => this._userState?.validationState, (t) => this._userValidationState = t, { initial: !0 }),
159
+ E(() => this._userState?.thumbnailState, (t) => this._userThumbnailState = t, { initial: !0 }),
160
+ E(() => this._userState?.creatingBookmark, (t) => this._userCreatingBookmark = !!t, { initial: !0 })
161
+ ]);
162
+ }
163
+ startAddBookmark() {
164
+ this._userState = new m({
165
+ state: "add"
166
+ }), requestAnimationFrame(() => {
167
+ this._addFlowItemEl?.setFocus();
168
+ });
169
+ }
170
+ _clearState() {
171
+ this._userState = null;
172
+ }
173
+ _getTimeExtentStrings(t) {
174
+ const { hideTime: e } = this, { timeExtent: i } = t;
175
+ if (!i)
176
+ return {};
177
+ const { start: a, end: o } = i, n = o != null && (a == null || a.getTime() !== o.getTime()), u = a ? this._formatDate(a) : "", h = a && !e ? this._formatTime(a) : "";
178
+ if (!n)
179
+ return { startDate: u, startTime: h };
180
+ const f = this._formatDate(o), g = e ? "" : this._formatTime(o);
181
+ return { startDate: u, startTime: h, endDate: f, endTime: g };
182
+ }
183
+ _handleUrlEditInputChange() {
184
+ const { _userState: t, _urlEditInputNode: e } = this, i = e?.value;
185
+ if (!t?.editedBookmark || !i)
186
+ return;
187
+ t.validationState = void 0, T(t.editedBookmark.thumbnail?.url ?? "") && (t.screenshotUrl = t.editedBookmark.thumbnail?.url);
188
+ const a = { url: i };
189
+ b(a.url) && (t.customUrl = i, t.editedBookmark.thumbnail = a);
190
+ }
191
+ _getBookmarkTitle(t) {
192
+ return (t?.name || this.messages.untitled) ?? "";
193
+ }
194
+ _formatDate(t) {
195
+ if (!t)
196
+ return "";
197
+ const e = this.viewModel.view, i = e && "timeZone" in e ? e.timeZone : "system";
198
+ return F(t, {
199
+ ...U("short-date"),
200
+ timeZone: i
201
+ });
202
+ }
203
+ _formatTime(t) {
204
+ if (!t)
205
+ return "";
206
+ const e = this.viewModel.view, i = e && "timeZone" in e ? e.timeZone : "system";
207
+ return F(t, {
208
+ ...U("long-time"),
209
+ timeZone: i
210
+ });
211
+ }
212
+ _onCalciteListOrderChange(t) {
213
+ const { _lastDragDetail: e, bookmarks: i } = this, { toEl: a, fromEl: o, dragEl: n, newIndex: u } = t;
214
+ if (!i.length)
215
+ return;
216
+ const h = e?.newIndex === u && e?.dragEl === n && e?.toEl === a && e?.fromEl === o;
217
+ if (!o || !a || h)
218
+ return;
219
+ this._lastDragDetail = t;
220
+ const f = Array.from(o.children).filter((g) => g?.matches("calcite-list-item")).map((g) => g.value);
221
+ i.sort((g, D) => {
222
+ const v = f.indexOf(g.uid), B = f.indexOf(D.uid);
223
+ return v > B ? 1 : v < B ? -1 : 0;
224
+ });
225
+ }
226
+ _endAddBookmark() {
227
+ this._clearState(), this._focusRootFlowItem();
228
+ }
229
+ _showEditBookmarkForm(t) {
230
+ t && (this.editIncludeTimeExtent = !!t.timeExtent, this._userState = new m({
231
+ bookmark: t,
232
+ state: "edit"
233
+ }), requestAnimationFrame(() => {
234
+ this._editFlowItemEl?.setFocus();
235
+ }), this.viewModel.goTo(t));
236
+ }
237
+ async _createNewScreenshotUrl() {
238
+ return (await this.viewModel.createBookmark()).thumbnail?.url ?? null;
239
+ }
240
+ _storeCurrentUrl() {
241
+ const { _userState: t } = this, e = t?.editedBookmark?.thumbnail?.url;
242
+ e && (b(e) ? t.customUrl = e : T(e) && (t.screenshotUrl = e));
243
+ }
244
+ async _handleThumbnailTypeSelect(t) {
245
+ const { _userState: e } = this;
246
+ if (!e)
247
+ return;
248
+ const { screenshotUrl: i, customUrl: a, editedBookmark: o } = e, n = t === "screenshot" ? i ?? await this._createNewScreenshotUrl() : t === "url" && a ? a : null;
249
+ this._storeCurrentUrl(), o && n && (o.thumbnail = {
250
+ url: n
251
+ }), e.validationState = void 0, e.thumbnailState = t;
252
+ }
253
+ _focusRootFlowItem() {
254
+ requestAnimationFrame(() => {
255
+ this._rootFlowItemEl?.setFocus();
256
+ });
257
+ }
258
+ _closeEditBookmarkForm() {
259
+ this._clearState(), this._focusRootFlowItem();
260
+ }
261
+ _addBookmarkSubmitClick(t) {
262
+ t.preventDefault(), this._addBookmarkSubmit();
263
+ }
264
+ async _addBookmarkSubmit() {
265
+ const { _addInputNode: t, _userState: e, viewModel: i, viewModel: { bookmarks: a } } = this;
266
+ if (!e)
267
+ return;
268
+ const o = t ? t.value.trim() : null;
269
+ if (!o) {
270
+ e.validationState = "name-required";
271
+ return;
272
+ }
273
+ e.creatingBookmark = !0;
274
+ const n = await i.createBookmark();
275
+ n.name = o, a.add(n), this._endAddBookmark();
276
+ }
277
+ async _editBookmarkAndClose(t, e) {
278
+ const { viewModel: i, viewModel: { defaultEditOptions: a } } = this;
279
+ await i.editBookmark(t, {
280
+ ...a,
281
+ ...e
282
+ }), this._closeEditBookmarkForm();
283
+ }
284
+ _editBookmarkSubmit(t) {
285
+ t.preventDefault();
286
+ const { _userState: e, _editInputNode: i, editIncludeTimeExtent: a, _urlEditInputNode: o } = this;
287
+ if (!e?.bookmark || !e.editedBookmark)
288
+ return;
289
+ e.validationState = void 0, e.customUrl = void 0, e.screenshotUrl = void 0;
290
+ const n = i?.value.trim();
291
+ if (!n) {
292
+ e.validationState = "name-required";
293
+ return;
294
+ }
295
+ if (e.bookmark.name = n, e.bookmark.thumbnail = e.editedBookmark.thumbnail, a || (e.bookmark.timeExtent = null), e.thumbnailState === "url" && o) {
296
+ const h = { url: o.value };
297
+ if (!b(h.url)) {
298
+ e.validationState = "absolute-url-required";
299
+ return;
300
+ }
301
+ e.bookmark.thumbnail = h;
302
+ } else e.thumbnailState === "none" && (e.bookmark.thumbnail = null);
303
+ this._editBookmarkAndClose(e.bookmark, {
304
+ takeScreenshot: !1,
305
+ captureTimeExtent: a
306
+ });
307
+ }
308
+ _storeEditInput(t) {
309
+ this._editInputNode = t;
310
+ }
311
+ _storeAddInput(t) {
312
+ this._addInputNode = t;
313
+ }
314
+ _storeUrlEditInput(t) {
315
+ this._urlEditInputNode = t;
316
+ }
317
+ _deleteBookmark(t) {
318
+ this._closeEditBookmarkForm(), t && (this.viewModel.bookmarks.remove(t), t.destroy());
319
+ }
320
+ _goToBookmark(t) {
321
+ this._clearState(), this.viewModel.goTo(t);
322
+ }
323
+ async _updateThumbnail() {
324
+ const { _userState: t, viewModel: e } = this;
325
+ t && (t.validationState = void 0, await e.editBookmark(t.editedBookmark, {
326
+ takeScreenshot: !0,
327
+ captureViewpoint: !1,
328
+ captureRotation: !1,
329
+ captureScale: !1,
330
+ captureTimeExtent: !1
331
+ }));
332
+ }
333
+ _handleCalciteListDragEnd(t) {
334
+ const { fromEl: e, dragEl: i, oldIndex: a } = t;
335
+ e.insertBefore(i, e.children[a]);
336
+ }
337
+ render() {
338
+ return r`<div class=${c(x(l.base, S.widget, { [S.panel]: !this.closed }))}>${this._renderBookmarksContainer()}</div>`;
339
+ }
340
+ _renderNoBookmarksContainer(t) {
341
+ const { messages: e, viewModel: { state: i } } = this;
342
+ return !t.length && i !== "loading" ? r`<div class=${c(l.empty)}><calcite-icon icon=bookmark scale=l></calcite-icon>${P({ class: x(S.heading, l.noBookmarksHeader), level: this.headingLevel, children: e.noBookmarksHeading })}<p class=${c(l.noBookmarksDescription)}>${e.noBookmarksDescription}</p></div>` : null;
343
+ }
344
+ _renderEditBookmarkFlowItems() {
345
+ const t = this._userStateValue === "edit", e = this._userState?.editedBookmark;
346
+ return !e || !t ? [] : this._renderEditingBookmark(e);
347
+ }
348
+ _renderBookmarkItems(t) {
349
+ return t ? t.toArray().map((e) => this._renderBookmark(e)) : [];
350
+ }
351
+ _renderBookmarksContainer() {
352
+ const { viewModel: { state: t, bookmarks: e }, dragEnabled: i, messages: a, disabled: o, filterPlaceholder: n, filterText: u, closed: h, headingLevel: f } = this, g = e.filter((p) => p != null), v = g.length ? r`<calcite-list class=${c(l.list)} display-mode=flat .dragEnabled=${i} .filterEnabled=${this.showFilter} .filterPlaceholder=${n} .filterProps=${["label", "description", "metadata"]} .filterText=${u} .group=${`bookmarks-${this._guid}`} .label=${a.componentLabel ?? ""} selection-appearance=border selection-mode=none @calciteListDragEnd=${(p) => this._handleCalciteListDragEnd(p.detail)} @calciteListFilter=${(p) => this.filterText = p.currentTarget?.filterText ?? ""} @calciteListOrderChange=${(p) => this._onCalciteListOrderChange(p.detail)}>${this._renderBookmarkItems(g)}${this.showFilter ? r`<div class=${c(l.filterNoResults)} slot=filter-no-results><calcite-notice kind=info open width=full><div slot=message>${a.noBookmarksHeading}</div>;</calcite-notice></div>` : null}</calcite-list>` : null, B = [
353
+ r`<calcite-flow-item .closable=${this.showCloseButton} .closed=${h} .collapsible=${this.showCollapseButton} .disabled=${o} .heading=${this.showHeading ? a.componentLabel : void 0} .headingLevel=${f} .loading=${t === "loading"} .selected=${!this._userStateValue} @calciteFlowItemClose=${() => this.closed = !0} ${$(this._storeRootFlowItem)}>${this._renderNoBookmarksContainer(g)}${v}${this._renderAddBookmarkButton()}</calcite-flow-item>`,
354
+ this._renderAddingBookmark(),
355
+ this._renderEditBookmarkFlowItems()
356
+ ];
357
+ return h ? null : this.hideFlow ? B : r`<calcite-flow>${B}</calcite-flow>`;
358
+ }
359
+ _renderAddBookmarkButton() {
360
+ const { messages: t, disabled: e, viewModel: { view: i, state: a } } = this, o = this._userCreatingBookmark;
361
+ return i && a !== "loading" && this.showAddBookmarkButton ? r`<calcite-fab appearance=outline-fill class=${c(l.addBookmarkButton)} .disabled=${e || o} icon=plus kind=neutral .loading=${o} @click=${this.startAddBookmark} slot=fab .text=${t.addBookmark} text-enabled title=${t.addBookmark ?? w}></calcite-fab>` : null;
362
+ }
363
+ _renderEditContainer(t) {
364
+ const { messages: e } = this, i = `${e.edit} ${this._getBookmarkTitle(t)}`;
365
+ return this.showEditBookmarkButton ? r`<calcite-action appearance=transparent icon=pencil @click=${() => this._showEditBookmarkForm(t)} slot=actions-end .text=${i} title=${i ?? w}></calcite-action>` : null;
366
+ }
367
+ _renderBookmarkImage(t, e) {
368
+ return e ? r`<img alt class=${c(l.bookmarkImage)} src=${t.thumbnail?.url ?? w}>` : null;
369
+ }
370
+ _renderBookmarkTimeSwitch(t) {
371
+ const { messages: e, viewModel: { view: i } } = this, { timeExtent: a } = t;
372
+ return i?.timeExtent ?? a ? r`<calcite-label layout=inline-space-between>${e.includeTimeExtent}<calcite-switch .checked=${!!a} @calciteSwitchChange=${(o) => {
373
+ this.editIncludeTimeExtent = !!o.currentTarget.checked;
374
+ }}></calcite-switch></calcite-label>` : null;
375
+ }
376
+ _renderEditBookmarkTimeExtent(t) {
377
+ return this.editIncludeTimeExtent ? this._renderBookmarkTimeExtent(t) : null;
378
+ }
379
+ _renderTimeExtentDescription(t) {
380
+ const { startDate: e, startTime: i, endDate: a, endTime: o } = this._getTimeExtentStrings(t);
381
+ if (!e)
382
+ return "";
383
+ const n = `${e} ${i}`, u = `${a} ${o}`;
384
+ return a ? `${n} - ${u}` : n;
385
+ }
386
+ _renderBookmarkTimeExtent(t, e = !1) {
387
+ const { messages: i } = this, { startDate: a, startTime: o, endDate: n, endTime: u } = this._getTimeExtentStrings(t), h = e ? null : r`<calcite-table-row slot=table-header><calcite-table-header .heading=${i.startDate}></calcite-table-header>${n ? r`<calcite-table-header .heading=${i.endDate}></calcite-table-header>` : null}</calcite-table-row>`;
388
+ return a ? r`<calcite-table .caption=${i.timeExtent ?? ""} scale=s>${h}<calcite-table-row><calcite-table-cell>${a} ${o ? [r`<br>`, o] : null}</calcite-table-cell>${n ? r`<calcite-table-cell>${n}${u ? [r`<br>`, u] : null}</calcite-table-cell>` : null}</calcite-table-row></calcite-table>` : null;
389
+ }
390
+ _renderBookmarkActiveScrim(t, e) {
391
+ return this.viewModel.activeBookmark === t && e ? r`<calcite-scrim loading></calcite-scrim>` : null;
392
+ }
393
+ _renderBookmarkActiveLoader(t, e) {
394
+ return this.viewModel.activeBookmark === t && !e ? r`<calcite-loader class=${c(l.loader)} inline .label=${this.messages.loading ?? ""}></calcite-loader>` : null;
395
+ }
396
+ _renderBookmarkImageIcon(t, e) {
397
+ return this.viewModel.activeBookmark !== t && !e ? r`<calcite-icon icon=bookmark scale=s></calcite-icon>` : null;
398
+ }
399
+ _renderBookmarkThumbnail(t) {
400
+ const e = !this.hideThumbnail && !!t.thumbnail?.url;
401
+ return r`<div class=${c(l.bookmarkImageContainer)} slot=content-start>${this._renderBookmarkActiveScrim(t, e)}${this._renderBookmarkImage(t, e)}${this._renderBookmarkActiveLoader(t, e)}${this._renderBookmarkImageIcon(t, e)}</div>`;
402
+ }
403
+ _renderBookmark(t) {
404
+ return N(t.uid, r`<calcite-list-item class=${c(x({ [l.dragEnabled]: this.dragEnabled }))} .description=${this._renderTimeExtentDescription(t)} .label=${this._getBookmarkTitle(t)} .value=${t.uid} @calciteListItemSelect=${() => this._goToBookmark(t)}>${this._renderBookmarkThumbnail(t)}${this._renderBookmarkContent(t)}${this._renderEditContainer(t)}</calcite-list-item>`);
405
+ }
406
+ _renderBookmarkContent(t) {
407
+ return r`<div class=${c(l.bookmarkContent)} slot=content><span class=${c(l.bookmarkContentLabel)}>${this._getBookmarkTitle(t)}</span>${this._renderBookmarkTimeExtent(t, !0)}</div>`;
408
+ }
409
+ _renderEditingBookmarkName(t) {
410
+ const { messages: e } = this, i = this._userValidationState === "name-required";
411
+ return r`<calcite-label>${e.title}<calcite-input class=${c(l.editBookmarkInput)} name=bookmark-name .placeholder=${e.titlePlaceholder} required type=text .value=${t.name} ${$(this._storeEditInput)}></calcite-input>${i ? r`<calcite-input-message icon=exclamation-mark-triangle status=invalid>${e.invalidTitle}</calcite-input-message>` : null}</calcite-label>`;
412
+ }
413
+ _renderEditingBookmarkActions() {
414
+ const { messages: t, _userState: e } = this, i = e?.bookmark;
415
+ return [
416
+ r`<calcite-button appearance=transparent kind=danger @click=${() => this._deleteBookmark(i)} slot=footer type=button width=full>${t.delete}</calcite-button>`,
417
+ r`<calcite-button appearance=outline @click=${this._closeEditBookmarkForm} slot=footer type=button width=full>${t.cancel}</calcite-button>`,
418
+ r`<calcite-button slot=footer type=submit width=full>${t.save}</calcite-button>`
419
+ ];
420
+ }
421
+ _renderEditingTimeExtent(t) {
422
+ const { capabilities: e, view: i } = this.viewModel, { timeExtent: a } = t;
423
+ return e.time && (i?.timeExtent ?? a) ? r`<div>${this._renderBookmarkTimeSwitch(t)}${this._renderEditBookmarkTimeExtent(t)}</div>` : null;
424
+ }
425
+ _renderEditingBookmarkImage(t) {
426
+ const { _userThumbnailState: e } = this, i = t.thumbnail?.url ?? "", a = b(i) ? e === "url" : T(i) ? e === "screenshot" : null;
427
+ if (a)
428
+ return this._renderBookmarkImage(t, a);
429
+ }
430
+ _renderEditingThumbnail(t) {
431
+ const { _userThumbnailState: e, hideThumbnail: i } = this;
432
+ return !i && e !== "none" ? r`<div class=${c(l.authoringImageContainer)}>${this._renderEditingBookmarkImage(t)}</div>` : null;
433
+ }
434
+ _renderUpdateThumbnailButton() {
435
+ const { hideThumbnail: t, messages: e, _userThumbnailState: i } = this;
436
+ return !t && i === "screenshot" ? r`<calcite-button appearance=outline class=${c(l.authoringRefreshThumbnailButton)} icon-start=refresh kind=neutral @click=${() => void this._updateThumbnail()} width=full>${e.updateThumbnail}</calcite-button>` : null;
437
+ }
438
+ _renderEditingBookmarkUrlInput(t) {
439
+ const { messages: e, _userValidationState: i, _userThumbnailState: a } = this, o = t.thumbnail?.url ?? "", n = b(o) ? o : void 0, u = o && i === "absolute-url-required";
440
+ return a === "url" ? r`<calcite-label><calcite-input name=bookmark-thumbnail-url pattern=https://.* .placeholder=${e ? `https://<${e.imageUrlPlaceholder}>` : void 0} required title=${e.imageUrlTooltip ?? w} type=text .value=${n} @calciteInputChange=${this._handleUrlEditInputChange} @calciteInputInput=${this._handleUrlEditInputChange} ${$(this._storeUrlEditInput)}></calcite-input>${u ? r`<calcite-input-message icon=exclamation-mark-triangle status=invalid>${e.invalidImageUrl}</calcite-input-message>` : null}</calcite-label>` : null;
441
+ }
442
+ _renderThumbnailSelector() {
443
+ const { hideThumbnail: t, messages: e, _userThumbnailState: i } = this;
444
+ return t ? null : r`<calcite-label>${e.thumbnail}<calcite-chip-group .label=${e.thumbnail ?? ""} selection-mode=single-persist @calciteChipGroupSelect=${(a) => this._handleThumbnailTypeSelect(a.currentTarget.selectedItems[0].value)}><calcite-chip .label=${e.screenshot ?? ""} .selected=${i === "screenshot"} value=screenshot>${e.screenshot}</calcite-chip><calcite-chip .label=${e.url ?? ""} .selected=${i === "url"} value=url>${e.url}</calcite-chip><calcite-chip .label=${e.none ?? ""} .selected=${i === "none"} value=none>${e.none}</calcite-chip></calcite-chip-group></calcite-label>`;
445
+ }
446
+ _renderEditingBookmark(t) {
447
+ const { disabled: e, messages: i, headingLevel: a } = this;
448
+ return t ? r`<form class=${c(l.form)} @submit=${this._editBookmarkSubmit}><calcite-flow-item .disabled=${e} .heading=${i.edit ?? ""} .headingLevel=${a} .selected=${this._userStateValue === "edit"} @calciteFlowItemBack=${(o) => {
449
+ o.preventDefault(), this._closeEditBookmarkForm();
450
+ }} ${$(this._storeEditFlowItemNode)}><div class=${c(l.formContent)}><div class=${c(l.authoring)}>${this._renderEditingBookmarkName(t)}${this._renderThumbnailSelector()}${this._renderEditingThumbnail(t)}${this._renderEditingBookmarkUrlInput(t)}${this._renderUpdateThumbnailButton()}${this._renderEditingTimeExtent(t)}</div></div>${this._renderEditingBookmarkActions()}</calcite-flow-item></form>` : null;
451
+ }
452
+ _renderAddingBookmarkName() {
453
+ const { messages: t } = this, e = this._userValidationState === "name-required";
454
+ return r`<calcite-label>${t.title}<calcite-input class=${c(l.addBookmarkInput)} name=bookmark-name .placeholder=${t.titlePlaceholder} required type=text value ${$(this._storeAddInput)}></calcite-input>${e ? r`<calcite-input-message icon=exclamation-mark-triangle status=invalid>${t.invalidTitle}</calcite-input-message>` : null}</calcite-label>`;
455
+ }
456
+ _renderAddingBookmarkActions() {
457
+ const { messages: t } = this;
458
+ return [
459
+ r`<calcite-button appearance=outline @click=${this._endAddBookmark} slot=footer type=button width=full>${t.cancel}</calcite-button>`,
460
+ r`<calcite-button slot=footer type=submit width=full>${t.add}</calcite-button>`
461
+ ];
462
+ }
463
+ _renderAddingBookmark() {
464
+ const { disabled: t, messages: e, headingLevel: i, _userStateValue: a } = this;
465
+ return a === "add" ? r`<form class=${c(l.form)} @submit=${this._addBookmarkSubmitClick}><calcite-flow-item .disabled=${t} .heading=${e.addBookmark} .headingLevel=${i} selected @calciteFlowItemBack=${(o) => {
466
+ o.preventDefault(), this._endAddBookmark();
467
+ }} ${$(this._storeAddFlowItemNode)}><div class=${c(l.formContent)}>${this._renderAddingBookmarkName()}</div>${this._renderAddingBookmarkActions()}</calcite-flow-item></form>` : null;
468
+ }
29
469
  }
30
- i("arcgis-bookmarks", g);
470
+ A("arcgis-bookmarks", W);
31
471
  export {
32
- g as ArcgisBookmarks
472
+ W as ArcgisBookmarks
33
473
  };
@@ -1 +1,22 @@
1
+ import "@esri/calcite-components/components/calcite-icon";
2
+ import "@esri/calcite-components/components/calcite-list";
3
+ import "@esri/calcite-components/components/calcite-notice";
4
+ import "@esri/calcite-components/components/calcite-flow-item";
5
+ import "@esri/calcite-components/components/calcite-flow";
6
+ import "@esri/calcite-components/components/calcite-fab";
7
+ import "@esri/calcite-components/components/calcite-action";
8
+ import "@esri/calcite-components/components/calcite-label";
9
+ import "@esri/calcite-components/components/calcite-switch";
10
+ import "@esri/calcite-components/components/calcite-table-row";
11
+ import "@esri/calcite-components/components/calcite-table-header";
12
+ import "@esri/calcite-components/components/calcite-table";
13
+ import "@esri/calcite-components/components/calcite-table-cell";
14
+ import "@esri/calcite-components/components/calcite-scrim";
15
+ import "@esri/calcite-components/components/calcite-loader";
16
+ import "@esri/calcite-components/components/calcite-list-item";
17
+ import "@esri/calcite-components/components/calcite-input";
18
+ import "@esri/calcite-components/components/calcite-input-message";
19
+ import "@esri/calcite-components/components/calcite-button";
20
+ import "@esri/calcite-components/components/calcite-chip-group";
21
+ import "@esri/calcite-components/components/calcite-chip";
1
22
  export * from "./customElement.js";
@@ -1 +1,22 @@
1
+ import "@esri/calcite-components/components/calcite-icon";
2
+ import "@esri/calcite-components/components/calcite-list";
3
+ import "@esri/calcite-components/components/calcite-notice";
4
+ import "@esri/calcite-components/components/calcite-flow-item";
5
+ import "@esri/calcite-components/components/calcite-flow";
6
+ import "@esri/calcite-components/components/calcite-fab";
7
+ import "@esri/calcite-components/components/calcite-action";
8
+ import "@esri/calcite-components/components/calcite-label";
9
+ import "@esri/calcite-components/components/calcite-switch";
10
+ import "@esri/calcite-components/components/calcite-table-row";
11
+ import "@esri/calcite-components/components/calcite-table-header";
12
+ import "@esri/calcite-components/components/calcite-table";
13
+ import "@esri/calcite-components/components/calcite-table-cell";
14
+ import "@esri/calcite-components/components/calcite-scrim";
15
+ import "@esri/calcite-components/components/calcite-loader";
16
+ import "@esri/calcite-components/components/calcite-list-item";
17
+ import "@esri/calcite-components/components/calcite-input";
18
+ import "@esri/calcite-components/components/calcite-input-message";
19
+ import "@esri/calcite-components/components/calcite-button";
20
+ import "@esri/calcite-components/components/calcite-chip-group";
21
+ import "@esri/calcite-components/components/calcite-chip";
1
22
  export * from "./customElement.js";
@@ -0,0 +1,12 @@
1
+ /// <reference types="@arcgis/core/interfaces.d.ts" />
2
+ export interface BookmarkOptions {
3
+ takeScreenshot?: boolean;
4
+ captureViewpoint?: boolean;
5
+ captureRotation?: boolean;
6
+ captureScale?: boolean;
7
+ screenshotSettings?: Partial<__esri.MapViewTakeScreenshotOptions>;
8
+ captureTimeExtent?: boolean;
9
+ }
10
+ export interface BookmarksCapabilities {
11
+ time?: boolean;
12
+ }
@@ -0,0 +1,26 @@
1
+ import { nil } from '@arcgis/toolkit/type';
2
+ import { default as Accessor } from '@arcgis/core/core/Accessor.js';
3
+ import { default as Bookmark } from '@arcgis/core/webmap/Bookmark.js';
4
+ export type State = "add" | "edit";
5
+ export type ThumbnailState = "none" | "screenshot" | "url";
6
+ export type ValidationState = "absolute-url-required" | "name-required";
7
+ type ConstructProperties = Partial<Pick<UserState, "bookmark" | "creatingBookmark" | "customUrl" | "editedBookmark" | "screenshotUrl" | "state" | "thumbnailState" | "validationState">>;
8
+ export declare class UserState extends Accessor {
9
+ constructor(properties?: ConstructProperties);
10
+ bookmark?: Bookmark;
11
+ get editedBookmark(): Bookmark | nil;
12
+ private _customUrl?;
13
+ get customUrl(): string | undefined;
14
+ set customUrl(value: string | undefined);
15
+ private _screenshotUrl?;
16
+ get screenshotUrl(): string | undefined;
17
+ set screenshotUrl(value: string | undefined);
18
+ get state(): State;
19
+ set state(value: State);
20
+ private _thumbnailState?;
21
+ get thumbnailState(): ThumbnailState;
22
+ set thumbnailState(value: ThumbnailState);
23
+ validationState?: ValidationState;
24
+ creatingBookmark?: boolean;
25
+ }
26
+ export {};