@arcgis/map-components 6.0.0-next.4 → 6.0.0-next.40

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 (809) hide show
  1. package/dist/cdn/{ZBC5RBCD.js → 27TSPXYV.js} +1 -1
  2. package/dist/cdn/2BKWAHTD.js +2 -0
  3. package/dist/cdn/2EXFLJU6.js +2 -0
  4. package/dist/cdn/2J6WEB6T.js +2 -0
  5. package/dist/cdn/2JSC2QUL.js +2 -0
  6. package/dist/cdn/2PRSXEWN.js +2 -0
  7. package/dist/cdn/2TATEEFZ.js +2 -0
  8. package/dist/cdn/2X67IX24.js +2 -0
  9. package/dist/cdn/3AMV4V75.js +2 -0
  10. package/dist/cdn/3GEL52XF.js +2 -0
  11. package/dist/cdn/{QKZ552KI.js → 3SMFVQGP.js} +1 -1
  12. package/dist/cdn/3TKC6DSX.js +2 -0
  13. package/dist/cdn/3VFPLRD3.js +2 -0
  14. package/dist/cdn/42QIJYPN.js +2 -0
  15. package/dist/cdn/{AN7R3DP5.js → 43IGD6V3.js} +1 -1
  16. package/dist/cdn/{SAOLD6MH.js → 446K7RDY.js} +1 -1
  17. package/dist/cdn/44ZEP4IY.js +2 -0
  18. package/dist/cdn/46XABBUQ.js +2 -0
  19. package/dist/cdn/4DRKK3S6.js +2 -0
  20. package/dist/cdn/4HP7BSCJ.js +2 -0
  21. package/dist/cdn/4JR57ZIQ.js +2 -0
  22. package/dist/cdn/4KLQZIOV.js +2 -0
  23. package/dist/cdn/{QT7GRA34.js → 4LFTK2G2.js} +1 -1
  24. package/dist/cdn/{DUMHDAYP.js → 4O6ZYILT.js} +1 -1
  25. package/dist/cdn/4OOG2D4K.js +2 -0
  26. package/dist/cdn/4PM34QMT.js +2 -0
  27. package/dist/cdn/4U6DCBKV.js +2 -0
  28. package/dist/cdn/5CXJJCRX.js +2 -0
  29. package/dist/cdn/5GEEJRIV.js +2 -0
  30. package/dist/cdn/5IWCWL2Q.js +2 -0
  31. package/dist/cdn/5VK56DPB.js +2 -0
  32. package/dist/cdn/{ABOTJ6RE.js → 5XZKVLHC.js} +1 -1
  33. package/dist/cdn/{VTCE3YQW.js → 5YPWQQGI.js} +1 -1
  34. package/dist/cdn/625O4F4L.js +2 -0
  35. package/dist/cdn/64Z2GM4G.js +2 -0
  36. package/dist/cdn/6BT6RP22.js +2 -0
  37. package/dist/cdn/{ESOCZAMZ.js → 6DNLVSRG.js} +1 -1
  38. package/dist/cdn/6GFNMSM4.js +2 -0
  39. package/dist/cdn/6H3MIUBS.js +2 -0
  40. package/dist/cdn/6KYZMT4A.js +2 -0
  41. package/dist/cdn/6QZ7MAGX.js +2 -0
  42. package/dist/cdn/6SL7YNKF.js +2 -0
  43. package/dist/cdn/6WT5CUW4.js +2 -0
  44. package/dist/cdn/7LXH7MOG.js +2 -0
  45. package/dist/cdn/7P24CQF4.js +2 -0
  46. package/dist/cdn/7PMJ7HCH.js +2 -0
  47. package/dist/cdn/A6ANFEOT.js +2 -0
  48. package/dist/cdn/AGMTGWSW.js +2 -0
  49. package/dist/cdn/AMRGLUBB.js +2 -0
  50. package/dist/cdn/ANB7YZCR.js +2 -0
  51. package/dist/cdn/{V2YPYCU6.js → ANL4FWAY.js} +1 -1
  52. package/dist/cdn/{2SO5S66J.js → AV6RANT4.js} +1 -1
  53. package/dist/cdn/B5JHLGAR.js +2 -0
  54. package/dist/cdn/{KBA5OIES.js → BBCJXNKF.js} +1 -1
  55. package/dist/cdn/BDWZ4IDY.js +2 -0
  56. package/dist/cdn/BJUFDQGX.js +2 -0
  57. package/dist/cdn/BMCWYFA5.js +2 -0
  58. package/dist/cdn/BUJRBKUJ.js +2 -0
  59. package/dist/cdn/BXBPEOE3.js +2 -0
  60. package/dist/cdn/BZ7I4EVH.js +2 -0
  61. package/dist/cdn/C56JAWYF.js +2 -0
  62. package/dist/cdn/C6YBFPOZ.js +2 -0
  63. package/dist/cdn/CDZ5APA7.js +2 -0
  64. package/dist/cdn/CLAUPAZP.js +2 -0
  65. package/dist/cdn/CN4RPDZZ.js +2 -0
  66. package/dist/cdn/CNUAMIZQ.js +3 -0
  67. package/dist/cdn/CRF4QEYX.js +2 -0
  68. package/dist/cdn/CRJB272X.js +2 -0
  69. package/dist/cdn/CX23L4OX.js +2 -0
  70. package/dist/cdn/D3EEDNNQ.js +2 -0
  71. package/dist/cdn/{EK7Y6JBZ.js → D73SZKP6.js} +1 -1
  72. package/dist/cdn/D7RGMUI2.js +2 -0
  73. package/dist/cdn/DBDYLXR3.js +2 -0
  74. package/dist/cdn/DENZ276N.js +2 -0
  75. package/dist/cdn/DFNH6YRR.js +2 -0
  76. package/dist/cdn/DJTPCTD2.js +2 -0
  77. package/dist/cdn/{WBBTZNZU.js → DP2UXNPJ.js} +1 -1
  78. package/dist/cdn/DSIYRWN2.js +2 -0
  79. package/dist/cdn/DVH35LZL.js +2 -0
  80. package/dist/cdn/DVLTVCIH.js +2 -0
  81. package/dist/cdn/DXPNJHEM.js +2 -0
  82. package/dist/cdn/DYKRS7YX.js +2 -0
  83. package/dist/cdn/{HPWF3IQV.js → E3RBRDUV.js} +1 -1
  84. package/dist/cdn/EG2L67V5.js +2 -0
  85. package/dist/cdn/ELK22XFC.js +2 -0
  86. package/dist/cdn/EMOYKTQL.js +2 -0
  87. package/dist/cdn/EPPCGUBI.js +2 -0
  88. package/dist/cdn/{VUAYNF3K.js → EZFBYRI4.js} +1 -1
  89. package/dist/cdn/F5JWLUNT.js +2 -0
  90. package/dist/cdn/{WSHG4LV7.js → F5X65A3N.js} +1 -1
  91. package/dist/cdn/{RRSU6QD4.js → F6OOD4XH.js} +1 -1
  92. package/dist/cdn/FK6XIGNL.js +2 -0
  93. package/dist/cdn/{MA7GBKLW.js → FK7DDNOY.js} +1 -1
  94. package/dist/cdn/FPE4MRJJ.js +2 -0
  95. package/dist/cdn/FTRRLFYT.js +2 -0
  96. package/dist/cdn/FY7P5YLX.js +2 -0
  97. package/dist/cdn/{PPAFKBPN.js → G4CULX2V.js} +1 -1
  98. package/dist/cdn/G7UA3GCV.js +2 -0
  99. package/dist/cdn/GA75N36P.js +2 -0
  100. package/dist/cdn/GDE46UIN.js +2 -0
  101. package/dist/cdn/GEZIZQV6.js +2 -0
  102. package/dist/cdn/{V62TVP3T.js → GFC6LS4L.js} +1 -1
  103. package/dist/cdn/GGS33TQP.js +2 -0
  104. package/dist/cdn/{OUC5HWPQ.js → GKMKHUYO.js} +1 -1
  105. package/dist/cdn/GMXEWGVF.js +2 -0
  106. package/dist/cdn/GOMR7D5M.js +2 -0
  107. package/dist/cdn/GQDEVRKG.js +2 -0
  108. package/dist/cdn/GRZJXRZ5.js +2 -0
  109. package/dist/cdn/{65MI3MW2.js → GTQOMGD7.js} +1 -1
  110. package/dist/cdn/GZOFHTYL.js +2 -0
  111. package/dist/cdn/H3BORJ4D.js +2 -0
  112. package/dist/cdn/H7KPXXYG.js +2 -0
  113. package/dist/cdn/HKKNU4CX.js +2 -0
  114. package/dist/cdn/HOMM5T7F.js +2 -0
  115. package/dist/cdn/HR7ZYFTI.js +2 -0
  116. package/dist/cdn/{PGUZODKZ.js → HTUN6GST.js} +1 -1
  117. package/dist/cdn/HU2SSY4B.js +2 -0
  118. package/dist/cdn/{ZIBQTNB6.js → HU6UTBYZ.js} +1 -1
  119. package/dist/cdn/HUZLTULW.js +2 -0
  120. package/dist/cdn/HXQ26YHC.js +2 -0
  121. package/dist/cdn/I7XTEFQP.js +2 -0
  122. package/dist/cdn/ICVPF3HG.js +2 -0
  123. package/dist/cdn/{FHHVGI4H.js → IGJX57YC.js} +1 -1
  124. package/dist/cdn/IH2T7XRU.js +2 -0
  125. package/dist/cdn/IH7XQCY4.js +2 -0
  126. package/dist/cdn/IRDDLVT2.js +2 -0
  127. package/dist/cdn/IW3P4TGM.js +4 -0
  128. package/dist/cdn/{4HNRKSQ2.js → IZFEOYED.js} +1 -1
  129. package/dist/cdn/J2UKNBRU.js +2 -0
  130. package/dist/cdn/J4Q5N5D6.js +2 -0
  131. package/dist/cdn/JB6WQEFJ.js +2 -0
  132. package/dist/cdn/{ET4UP4EQ.js → JBD7Q5YD.js} +1 -1
  133. package/dist/cdn/JFE63ANJ.js +2 -0
  134. package/dist/cdn/JILA7S66.js +2 -0
  135. package/dist/cdn/JPQ5ELDQ.js +2 -0
  136. package/dist/cdn/JWCEHGEZ.js +2 -0
  137. package/dist/cdn/K2FK6DOL.js +2 -0
  138. package/dist/cdn/KBRYRH7T.js +2 -0
  139. package/dist/cdn/KKSTZRNG.js +2 -0
  140. package/dist/cdn/KLSIUZNN.js +2 -0
  141. package/dist/cdn/KMT6GH2D.js +2 -0
  142. package/dist/cdn/KWY77UEE.js +2 -0
  143. package/dist/cdn/{52CUDGKY.js → KWYTKFIZ.js} +1 -1
  144. package/dist/cdn/{S6BPBG7D.js → L2L5W4AL.js} +1 -1
  145. package/dist/cdn/L3G6WFXY.js +2 -0
  146. package/dist/cdn/L6B4S7NV.js +2 -0
  147. package/dist/cdn/LDNST76E.js +2 -0
  148. package/dist/cdn/LGBJIOTW.js +2 -0
  149. package/dist/cdn/LHH3PS5H.js +2 -0
  150. package/dist/cdn/{SIFBGT4D.js → LI3NOBHV.js} +1 -1
  151. package/dist/cdn/LQYTLVCL.js +2 -0
  152. package/dist/cdn/LU7T7KSQ.js +2 -0
  153. package/dist/cdn/LUXHFHRT.js +2 -0
  154. package/dist/cdn/LWX6L3JT.js +2 -0
  155. package/dist/cdn/LXME6MU5.js +2 -0
  156. package/dist/cdn/{YDZZPLVB.js → LZUAJU6O.js} +1 -1
  157. package/dist/cdn/M4PV743P.js +2 -0
  158. package/dist/cdn/{OAYNZFL2.js → M4RV2DCP.js} +1 -1
  159. package/dist/cdn/M5YUKXZG.js +2 -0
  160. package/dist/cdn/MG2HQ3FT.js +2 -0
  161. package/dist/cdn/MGERV5RP.js +2 -0
  162. package/dist/cdn/MVTCAJTE.js +2 -0
  163. package/dist/cdn/MVVX32NQ.js +2 -0
  164. package/dist/cdn/N4HZLXED.js +2 -0
  165. package/dist/cdn/NC7HMCQS.js +2 -0
  166. package/dist/cdn/NCI2IL35.js +2 -0
  167. package/dist/cdn/NF426VVG.js +2 -0
  168. package/dist/cdn/NITCLRB6.js +2 -0
  169. package/dist/cdn/{HQWUQFN5.js → NN4HL3RN.js} +1 -1
  170. package/dist/cdn/NPWUWO5D.js +2 -0
  171. package/dist/cdn/NTEKRSNB.js +2 -0
  172. package/dist/cdn/NYIKMTKG.js +2 -0
  173. package/dist/cdn/NZQCJQ4Q.js +2 -0
  174. package/dist/cdn/O2RCWKKW.js +2 -0
  175. package/dist/cdn/OAZQQASF.js +2 -0
  176. package/dist/cdn/OJDGKV5X.js +2 -0
  177. package/dist/cdn/OMDFAKMT.js +2 -0
  178. package/dist/cdn/{P2I63WVL.js → OT4D3TVG.js} +1 -1
  179. package/dist/cdn/OWJ5ENXR.js +2 -0
  180. package/dist/cdn/OZ7HDVE2.js +2 -0
  181. package/dist/cdn/PQ4HZRQ5.js +2 -0
  182. package/dist/cdn/PSBSMEOS.js +2 -0
  183. package/dist/cdn/PTJOLAFO.js +2 -0
  184. package/dist/cdn/PTS3BVGQ.js +2 -0
  185. package/dist/cdn/PWG3JEER.js +2 -0
  186. package/dist/cdn/PWMO74B5.js +2 -0
  187. package/dist/cdn/PXRN3VUN.js +2 -0
  188. package/dist/cdn/PYBUTNHM.js +2 -0
  189. package/dist/cdn/QHO5AMUP.js +2 -0
  190. package/dist/cdn/QNQOBXLM.js +2 -0
  191. package/dist/cdn/QVI5ZINK.js +2 -0
  192. package/dist/cdn/RC7AEIEI.js +2 -0
  193. package/dist/cdn/RCJ3GROZ.js +2 -0
  194. package/dist/cdn/RIWLSAPB.js +2 -0
  195. package/dist/cdn/RLG3UWIL.js +2 -0
  196. package/dist/cdn/RX7LVZ5V.js +2 -0
  197. package/dist/cdn/{ZSPYPXBY.js → SAI7K4OO.js} +1 -1
  198. package/dist/cdn/SC4BF7H6.js +2 -0
  199. package/dist/cdn/{RUYAWRPV.js → SKV3CQSZ.js} +1 -1
  200. package/dist/cdn/SMEVSYDK.js +2 -0
  201. package/dist/cdn/{MICLX7QW.js → SMMOQFAB.js} +1 -1
  202. package/dist/cdn/SN6VSKBM.js +2 -0
  203. package/dist/cdn/SPJZCPH4.js +2 -0
  204. package/dist/cdn/{M6YVO33A.js → SQH7I4MS.js} +1 -1
  205. package/dist/cdn/SRPQR7CY.js +2 -0
  206. package/dist/cdn/ST5CGV6Q.js +2 -0
  207. package/dist/cdn/{HI7BF3DL.js → SUGD5PEJ.js} +1 -1
  208. package/dist/cdn/T2BFHU2Z.js +2 -0
  209. package/dist/cdn/T2JBUILX.js +2 -0
  210. package/dist/cdn/TCY4IVTP.js +2 -0
  211. package/dist/cdn/TEEHMUMV.js +2 -0
  212. package/dist/cdn/THHQJGUB.js +2 -0
  213. package/dist/cdn/TII37L6V.js +2 -0
  214. package/dist/cdn/TJHVEY7T.js +2 -0
  215. package/dist/cdn/TLZBUTWJ.js +2 -0
  216. package/dist/cdn/{XKCB2DEP.js → TRRAIBBM.js} +1 -1
  217. package/dist/cdn/TXVB6WRV.js +2 -0
  218. package/dist/cdn/U2UY53UR.js +2 -0
  219. package/dist/cdn/U2XP3I7M.js +2 -0
  220. package/dist/cdn/U53HTVZS.js +2 -0
  221. package/dist/cdn/U6BOSBYA.js +2 -0
  222. package/dist/cdn/U6UL7OKY.js +2 -0
  223. package/dist/cdn/UI3RWIDZ.js +2 -0
  224. package/dist/cdn/UIDNNWPD.js +2 -0
  225. package/dist/cdn/UJBFSJDF.js +2 -0
  226. package/dist/cdn/UYDXI4AK.js +4 -0
  227. package/dist/cdn/V345T5CR.js +2 -0
  228. package/dist/cdn/{EV7IIQBP.js → V6CCL3L6.js} +1 -1
  229. package/dist/cdn/VQURMPYV.js +2 -0
  230. package/dist/cdn/VRUG5L4Z.js +2 -0
  231. package/dist/cdn/VVLJLOSE.js +2 -0
  232. package/dist/cdn/VZUPHB6L.js +2 -0
  233. package/dist/cdn/WNXQHRKE.js +2 -0
  234. package/dist/cdn/{Z2UUXST4.js → WRB2DEQ6.js} +1 -1
  235. package/dist/cdn/{FQSHLYKX.js → WV3Q2QUS.js} +1 -1
  236. package/dist/cdn/WVRIR3PK.js +2 -0
  237. package/dist/cdn/WYQAN63T.js +2 -0
  238. package/dist/cdn/X64WORSC.js +2 -0
  239. package/dist/cdn/XFQWANZ4.js +2 -0
  240. package/dist/cdn/{ZHSESERJ.js → XMYFUC6S.js} +1 -1
  241. package/dist/cdn/{N3DTZRST.js → XQRLK3FO.js} +1 -1
  242. package/dist/cdn/{OAMA6SL3.js → XRQKJFNJ.js} +1 -1
  243. package/dist/cdn/XWGAKGVP.js +2 -0
  244. package/dist/cdn/{TDZIH5OK.js → XXDJKZSO.js} +1 -1
  245. package/dist/cdn/Y4GL4RZF.js +2 -0
  246. package/dist/cdn/Y5BPYGSY.js +2 -0
  247. package/dist/cdn/Y6MM3GUE.js +2 -0
  248. package/dist/cdn/Y6WTYXVP.js +2 -0
  249. package/dist/cdn/{26URLKXD.js → Y6ZJNJZ7.js} +1 -1
  250. package/dist/cdn/Y6ZUXP3Q.js +2 -0
  251. package/dist/cdn/YAWLVMV6.js +2 -0
  252. package/dist/cdn/{CKS5ACAB.js → YDDOSD2C.js} +1 -1
  253. package/dist/cdn/YE6AOCCR.js +2 -0
  254. package/dist/cdn/YEPFWDQQ.js +2 -0
  255. package/dist/cdn/{PIDNZKSJ.js → YEPGUNSV.js} +1 -1
  256. package/dist/cdn/YGBYB3BZ.js +2 -0
  257. package/dist/cdn/{XP74F2F6.js → YGD6HMAF.js} +1 -1
  258. package/dist/cdn/YIN7QUD2.js +2 -0
  259. package/dist/cdn/YVXXZIP7.js +2 -0
  260. package/dist/cdn/YWKKRBFW.js +2 -0
  261. package/dist/cdn/Z6JIKBXL.js +2 -0
  262. package/dist/cdn/ZPA5JUPD.js +2 -0
  263. package/dist/cdn/{3ONY25MG.js → ZRBE5FVD.js} +1 -1
  264. package/dist/cdn/ZRT4RJ62.js +2 -0
  265. package/dist/cdn/ZSO62SMG.js +2 -0
  266. package/dist/cdn/{IAWXCNTX.js → ZXE7NGIY.js} +1 -1
  267. package/dist/cdn/assets/bookmarks/t9n/messages.en.json +1 -1
  268. package/dist/cdn/assets/feature-form-next/t9n/messages.en.json +1 -1
  269. package/dist/cdn/assets/feature-next/t9n/messages.en.json +1 -1
  270. package/dist/cdn/assets/features-next/t9n/messages.en.json +1 -1
  271. package/dist/cdn/assets/shadow-cast/t9n/messages.en.json +1 -1
  272. package/dist/cdn/assets/video-player/t9n/messages.en.json +1 -1
  273. package/dist/cdn/index.js +1 -1
  274. package/dist/cdn/main.css +1 -1
  275. package/dist/chunks/attachment-utils.js +5 -5
  276. package/dist/chunks/chart-utils.js +12 -12
  277. package/dist/chunks/esri-main.js +1 -1
  278. package/dist/chunks/layer-list-next.js +49 -4
  279. package/dist/chunks/loader-utils.js +43 -0
  280. package/dist/chunks/print-exports-panel-item-popover.js +1 -1
  281. package/dist/chunks/resources.js +10 -4
  282. package/dist/chunks/screenLocation.js +10 -10
  283. package/dist/chunks/slots.js +7 -7
  284. package/dist/chunks/useArcgisViewReadyError.js +226 -156
  285. package/dist/chunks/useViewModel.js +7 -7
  286. package/dist/chunks/utils.js +17 -17
  287. package/dist/chunks/utils5.js +2 -2
  288. package/dist/components/arcgis-add-attachment-view/customElement.d.ts +42 -9
  289. package/dist/components/arcgis-area-measurement-2d/customElement.d.ts +10 -5
  290. package/dist/components/arcgis-area-measurement-2d/customElement.js +5 -5
  291. package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +12 -6
  292. package/dist/components/arcgis-area-measurement-3d/customElement.js +3 -3
  293. package/dist/components/{arcgis-feature-form-field → arcgis-attachment-detail-view}/customElement.d.ts +72 -28
  294. package/dist/components/arcgis-attachment-detail-view/customElement.js +126 -0
  295. package/dist/components/arcgis-attachment-detail-view/index.js +8 -0
  296. package/dist/components/arcgis-attachment-preview/customElement.d.ts +47 -9
  297. package/dist/components/arcgis-attachment-preview/customElement.js +12 -10
  298. package/dist/components/arcgis-attachment-thumbnail/customElement.d.ts +42 -9
  299. package/dist/components/arcgis-attachment-validation-view/customElement.d.ts +42 -9
  300. package/dist/components/arcgis-attachments/customElement.js +3 -3
  301. package/dist/components/arcgis-basemap-gallery/customElement.d.ts +4 -4
  302. package/dist/components/arcgis-basemap-gallery/customElement.js +24 -24
  303. package/dist/components/arcgis-basemap-gallery-item/customElement.js +1 -1
  304. package/dist/components/arcgis-basemap-layer-list/customElement.d.ts +7 -7
  305. package/dist/components/arcgis-basemap-layer-list/customElement.js +1 -1
  306. package/dist/components/arcgis-basemap-layer-list-next/customElement.d.ts +7 -4
  307. package/dist/components/arcgis-basemap-layer-list-next/customElement.js +125 -122
  308. package/dist/components/arcgis-bookmarks/customElement.d.ts +1 -0
  309. package/dist/components/arcgis-bookmarks/customElement.js +1 -1
  310. package/dist/components/arcgis-bookmarks/types.d.ts +2 -2
  311. package/dist/components/arcgis-building-explorer/customElement.d.ts +5 -5
  312. package/dist/components/arcgis-building-level-item/customElement.js +1 -1
  313. package/dist/components/arcgis-building-level-picker/customElement.js +1 -1
  314. package/dist/components/arcgis-building-phase-picker/customElement.js +16 -16
  315. package/dist/components/arcgis-catalog-layer-list/customElement.d.ts +4 -4
  316. package/dist/components/arcgis-catalog-layer-list/customElement.js +4 -4
  317. package/dist/components/arcgis-catalog-layer-list-next/customElement.d.ts +10 -7
  318. package/dist/components/arcgis-catalog-layer-list-next/customElement.js +87 -86
  319. package/dist/components/arcgis-catalog-layer-list-next/types.d.ts +2 -2
  320. package/dist/components/arcgis-compass/customElement.js +1 -1
  321. package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +5 -0
  322. package/dist/components/arcgis-coordinate-conversion/customElement.js +1 -1
  323. package/dist/components/arcgis-coordinate-conversion-next/customElement.d.ts +6 -5
  324. package/dist/components/arcgis-coordinate-conversion-next/customElement.js +38 -38
  325. package/dist/components/arcgis-daylight/customElement.d.ts +32 -25
  326. package/dist/components/arcgis-daylight/customElement.js +136 -132
  327. package/dist/components/arcgis-direct-line-measurement-3d/customElement.d.ts +14 -9
  328. package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +3 -3
  329. package/dist/components/arcgis-directional-pad/customElement.js +53 -58
  330. package/dist/components/arcgis-directions/customElement.d.ts +4 -4
  331. package/dist/components/arcgis-directions/customElement.js +4 -4
  332. package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +10 -5
  333. package/dist/components/arcgis-distance-measurement-2d/customElement.js +3 -3
  334. package/dist/components/arcgis-editor/customElement.d.ts +44 -22
  335. package/dist/components/arcgis-editor/customElement.js +17 -12
  336. package/dist/components/arcgis-elevation-profile/customElement.d.ts +17 -9
  337. package/dist/components/arcgis-elevation-profile/customElement.js +95 -97
  338. package/dist/components/arcgis-elevation-profile-legend/customElement.js +4 -4
  339. package/dist/components/arcgis-elevation-profile-legend-item/customElement.js +1 -1
  340. package/dist/components/arcgis-elevation-profile-settings/customElement.js +5 -5
  341. package/dist/components/arcgis-elevation-profile-statistics/customElement.js +7 -7
  342. package/dist/components/arcgis-expand/customElement.d.ts +49 -2
  343. package/dist/components/arcgis-expand/customElement.js +47 -47
  344. package/dist/components/arcgis-exploratory-analysis/customElement.d.ts +7 -0
  345. package/dist/components/arcgis-exploratory-analysis/customElement.js +57 -54
  346. package/dist/components/arcgis-feature/customElement.js +1 -1
  347. package/dist/components/arcgis-feature-attachments/customElement.js +18 -18
  348. package/dist/components/arcgis-feature-content/customElement.js +4 -4
  349. package/dist/components/arcgis-feature-element-info/customElement.js +1 -1
  350. package/dist/components/arcgis-feature-expression/customElement.js +47 -47
  351. package/dist/components/arcgis-feature-fields/customElement.js +16 -16
  352. package/dist/components/arcgis-feature-form/customElement.d.ts +7 -7
  353. package/dist/components/arcgis-feature-form/customElement.js +1 -1
  354. package/dist/components/arcgis-feature-form-utility-network-association-settings/customElement.js +11 -11
  355. package/dist/components/arcgis-feature-media/customElement.js +263 -216
  356. package/dist/components/arcgis-feature-next/customElement.d.ts +1 -1
  357. package/dist/components/arcgis-feature-next/customElement.js +23 -16
  358. package/dist/components/arcgis-feature-relationship/customElement.js +97 -98
  359. package/dist/components/arcgis-feature-table/customElement.d.ts +83 -64
  360. package/dist/components/arcgis-feature-table/customElement.js +1 -1
  361. package/dist/components/arcgis-feature-templates/customElement.js +1 -1
  362. package/dist/components/arcgis-feature-utility-network-association-list/customElement.js +1 -1
  363. package/dist/components/arcgis-feature-utility-network-associations/customElement.js +1 -1
  364. package/dist/components/arcgis-features/customElement.d.ts +6 -6
  365. package/dist/components/arcgis-features/customElement.js +19 -18
  366. package/dist/components/arcgis-features-next/customElement.d.ts +14 -8
  367. package/dist/components/arcgis-features-next/customElement.js +190 -150
  368. package/dist/components/arcgis-floor-filter/customElement.d.ts +3 -0
  369. package/dist/components/arcgis-floor-filter/customElement.js +41 -41
  370. package/dist/components/arcgis-floor-filter/interfaces.d.ts +72 -0
  371. package/dist/components/arcgis-fullscreen/customElement.js +4 -4
  372. package/dist/components/arcgis-grid-controls/customElement.d.ts +1 -1
  373. package/dist/components/arcgis-grid-controls/customElement.js +1 -1
  374. package/dist/components/arcgis-histogram-range-slider/customElement.js +1 -1
  375. package/dist/components/arcgis-labeled-switch/customElement.js +5 -5
  376. package/dist/components/arcgis-layer-list/customElement.d.ts +2 -2
  377. package/dist/components/arcgis-layer-list/customElement.js +1 -1
  378. package/dist/components/arcgis-layer-list-item-indicator/customElement.js +2 -2
  379. package/dist/components/arcgis-layer-list-item-panel/customElement.js +9 -9
  380. package/dist/components/arcgis-layer-list-next/customElement.d.ts +8 -7
  381. package/dist/components/arcgis-layer-list-next/customElement.js +146 -135
  382. package/dist/components/arcgis-layer-list-next/layer-list-item/customElement.js +62 -62
  383. package/dist/components/arcgis-legend/customElement.d.ts +3 -1
  384. package/dist/components/arcgis-legend-classic-view/customElement.js +1 -1
  385. package/dist/components/arcgis-line-of-sight/customElement.d.ts +17 -5
  386. package/dist/components/arcgis-line-of-sight/customElement.js +1 -1
  387. package/dist/components/arcgis-link-chart/customElement.d.ts +41 -26
  388. package/dist/components/arcgis-link-chart/customElement.js +28 -28
  389. package/dist/components/arcgis-locate/customElement.js +6 -6
  390. package/dist/components/arcgis-map/customElement.d.ts +65 -53
  391. package/dist/components/arcgis-map/customElement.js +21 -21
  392. package/dist/components/arcgis-measurement-content/customElement.js +4 -4
  393. package/dist/components/arcgis-multi-feature-form/customElement.js +1 -1
  394. package/dist/components/arcgis-oriented-imagery-viewer/customElement.d.ts +0 -1
  395. package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +5 -5
  396. package/dist/components/arcgis-oriented-imagery-viewer-non-panoramic-viewer/customElement.js +6 -5
  397. package/dist/components/arcgis-oriented-imagery-viewer-panoramic-viewer/customElement.js +19 -18
  398. package/dist/components/arcgis-paste/customElement.js +1 -1
  399. package/dist/components/arcgis-popup/customElement.d.ts +18 -11
  400. package/dist/components/arcgis-popup/customElement.js +199 -183
  401. package/dist/components/arcgis-presentation/customElement.d.ts +5 -5
  402. package/dist/components/arcgis-presentation/customElement.js +74 -75
  403. package/dist/components/arcgis-presentation-captions/customElement.js +1 -1
  404. package/dist/components/arcgis-print/customElement.d.ts +1 -1
  405. package/dist/components/arcgis-print/customElement.js +1 -1
  406. package/dist/components/arcgis-print-datum-transformation-input/customElement.js +17 -17
  407. package/dist/components/arcgis-print-exports-panel/customElement.js +8 -8
  408. package/dist/components/arcgis-print-layout-advanced-options/customElement.js +1 -1
  409. package/dist/components/arcgis-print-layout-panel/customElement.js +1 -1
  410. package/dist/components/arcgis-print-main-panel/customElement.js +5 -5
  411. package/dist/components/arcgis-print-map-only-advanced-options/customElement.js +1 -1
  412. package/dist/components/arcgis-print-map-only-panel/customElement.js +4 -4
  413. package/dist/components/arcgis-print-out-spatial-reference-input/customElement.js +1 -1
  414. package/dist/components/arcgis-print-scale-section/customElement.js +1 -1
  415. package/dist/components/arcgis-print-template-select/customElement.js +1 -1
  416. package/dist/components/arcgis-print-template-selector/customElement.js +8 -8
  417. package/dist/components/arcgis-reverse-geocode-list/customElement.js +1 -1
  418. package/dist/components/arcgis-scale-bar/customElement.js +11 -11
  419. package/dist/components/arcgis-scene/customElement.d.ts +69 -33
  420. package/dist/components/arcgis-scene/customElement.js +19 -19
  421. package/dist/components/arcgis-search/customElement.d.ts +17 -6
  422. package/dist/components/arcgis-search/customElement.js +3 -0
  423. package/dist/components/arcgis-selection-list/customElement.d.ts +14 -2
  424. package/dist/components/arcgis-selection-list/customElement.js +11 -11
  425. package/dist/components/arcgis-selection-toolbar/customElement.d.ts +24 -6
  426. package/dist/components/arcgis-selection-toolbar/customElement.js +23 -17
  427. package/dist/components/arcgis-shadow-cast/customElement.d.ts +31 -12
  428. package/dist/components/arcgis-shadow-cast/customElement.js +88 -69
  429. package/dist/components/arcgis-shadow-cast/index.js +1 -0
  430. package/dist/components/arcgis-shadow-cast-discrete-config/customElement.js +1 -1
  431. package/dist/components/arcgis-shadow-cast-min-duration-config/customElement.js +1 -1
  432. package/dist/components/arcgis-shadow-cast-total-duration-config/customElement.js +1 -1
  433. package/dist/components/arcgis-sketch/customElement.d.ts +387 -50
  434. package/dist/components/arcgis-sketch/customElement.js +444 -248
  435. package/dist/components/arcgis-sketch-tooltip-controls/customElement.js +1 -1
  436. package/dist/components/arcgis-slice/customElement.d.ts +2 -2
  437. package/dist/components/arcgis-slice/customElement.js +24 -24
  438. package/dist/components/arcgis-slider-binary-color-size-legacy/customElement.d.ts +4 -3
  439. package/dist/components/arcgis-slider-binary-color-size-legacy/customElement.js +3 -3
  440. package/dist/components/arcgis-slider-classed-color-legacy/customElement.d.ts +2 -2
  441. package/dist/components/arcgis-slider-classed-color-legacy/customElement.js +1 -1
  442. package/dist/components/arcgis-slider-classed-size-legacy/customElement.d.ts +3 -3
  443. package/dist/components/arcgis-slider-classed-size-legacy/customElement.js +1 -1
  444. package/dist/components/arcgis-slider-color-legacy/customElement.d.ts +3 -3
  445. package/dist/components/arcgis-slider-color-legacy/customElement.js +1 -1
  446. package/dist/components/arcgis-slider-color-size-legacy/customElement.d.ts +5 -4
  447. package/dist/components/arcgis-slider-color-size-legacy/customElement.js +3 -3
  448. package/dist/components/arcgis-slider-heatmap-legacy/customElement.d.ts +2 -2
  449. package/dist/components/arcgis-slider-heatmap-legacy/customElement.js +1 -1
  450. package/dist/components/arcgis-slider-opacity-legacy/customElement.d.ts +2 -2
  451. package/dist/components/arcgis-slider-opacity-legacy/customElement.js +3 -3
  452. package/dist/components/arcgis-slider-scale-range/customElement.d.ts +15 -7
  453. package/dist/components/arcgis-slider-scale-range/customElement.js +5 -5
  454. package/dist/components/arcgis-slider-scale-range/spriteSheetsUtils.d.ts +8 -3
  455. package/dist/components/arcgis-slider-size-legacy/customElement.d.ts +3 -3
  456. package/dist/components/arcgis-slider-size-legacy/customElement.js +1 -1
  457. package/dist/components/arcgis-snapping-controls/customElement.js +1 -1
  458. package/dist/components/arcgis-spinner/customElement.js +1 -1
  459. package/dist/components/arcgis-swipe/customElement.d.ts +8 -29
  460. package/dist/components/arcgis-swipe/customElement.js +247 -65
  461. package/dist/components/arcgis-swipe/types.d.ts +3 -0
  462. package/dist/components/arcgis-table-list-next/customElement.d.ts +4 -1
  463. package/dist/components/arcgis-table-list-next/customElement.js +65 -63
  464. package/dist/components/arcgis-time-bar/customElement.d.ts +486 -409
  465. package/dist/components/arcgis-time-bar/customElement.js +122 -120
  466. package/dist/components/arcgis-time-bar/types.d.ts +36 -15
  467. package/dist/components/arcgis-time-bar-date/customElement.js +10 -10
  468. package/dist/components/arcgis-time-bar-extent/customElement.js +9 -9
  469. package/dist/components/arcgis-time-bar-settings/customElement.js +25 -25
  470. package/dist/components/arcgis-time-bar-slider/customElement.d.ts +196 -174
  471. package/dist/components/arcgis-time-bar-slider/customElement.js +62 -63
  472. package/dist/components/arcgis-time-slider/customElement.d.ts +9 -7
  473. package/dist/components/arcgis-time-slider/customElement.js +10 -9
  474. package/dist/components/arcgis-time-zone-chip/customElement.js +4 -4
  475. package/dist/components/arcgis-time-zone-label/customElement.js +1 -1
  476. package/dist/components/arcgis-time-zone-selector/customElement.js +5 -5
  477. package/dist/components/arcgis-track/customElement.d.ts +19 -10
  478. package/dist/components/arcgis-track/types.d.ts +1 -1
  479. package/dist/components/arcgis-unit-radio-button-group/customElement.js +1 -1
  480. package/dist/components/arcgis-unit-select/customElement.js +1 -1
  481. package/dist/components/arcgis-utility-network-associations/customElement.d.ts +1 -1
  482. package/dist/components/arcgis-utility-network-associations/customElement.js +1 -1
  483. package/dist/components/arcgis-utility-network-picker/customElement.d.ts +170 -6
  484. package/dist/components/arcgis-utility-network-picker/customElement.js +33 -32
  485. package/dist/components/arcgis-utility-network-trace/customElement.js +1 -1
  486. package/dist/components/arcgis-utility-network-trace-aggregated-geometry-result-item/customElement.d.ts +107 -19
  487. package/dist/components/arcgis-utility-network-trace-aggregated-geometry-result-item/customElement.js +34 -27
  488. package/dist/components/arcgis-utility-network-trace-analysis/customElement.d.ts +61 -17
  489. package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +85 -81
  490. package/dist/components/arcgis-utility-network-trace-analysis/types.d.ts +272 -9
  491. package/dist/components/arcgis-utility-network-trace-configuration-picker/customElement.d.ts +147 -12
  492. package/dist/components/arcgis-utility-network-trace-configuration-picker/customElement.js +32 -39
  493. package/dist/components/arcgis-utility-network-trace-configuration-picker/index.js +1 -2
  494. package/dist/components/arcgis-utility-network-trace-elements-result-item/customElement.d.ts +126 -30
  495. package/dist/components/arcgis-utility-network-trace-elements-result-item/customElement.js +88 -81
  496. package/dist/components/arcgis-utility-network-trace-functions-result-item/customElement.d.ts +63 -9
  497. package/dist/components/arcgis-utility-network-trace-functions-result-item/customElement.js +8 -4
  498. package/dist/components/arcgis-utility-network-trace-inputs/customElement.d.ts +243 -14
  499. package/dist/components/arcgis-utility-network-trace-inputs/customElement.js +124 -110
  500. package/dist/components/arcgis-utility-network-trace-inputs/index.js +0 -1
  501. package/dist/components/arcgis-utility-network-trace-locations/customElement.d.ts +177 -23
  502. package/dist/components/arcgis-utility-network-trace-locations/customElement.js +167 -129
  503. package/dist/components/arcgis-utility-network-trace-results/customElement.d.ts +170 -32
  504. package/dist/components/arcgis-utility-network-trace-results/customElement.js +132 -125
  505. package/dist/components/arcgis-utility-network-trace-results-pane/customElement.d.ts +159 -2
  506. package/dist/components/arcgis-utility-network-validate-network-topology/customElement.js +1 -1
  507. package/dist/components/arcgis-utility-network-validate-topology/customElement.js +1 -1
  508. package/dist/components/arcgis-version-management/customElement.js +37 -37
  509. package/dist/components/arcgis-video/customElement.d.ts +19 -1
  510. package/dist/components/arcgis-video/customElement.js +7 -4
  511. package/dist/components/arcgis-video-player/VideoPlayerViewModel.d.ts +2 -1
  512. package/dist/components/arcgis-video-player/customElement.d.ts +37 -6
  513. package/dist/components/arcgis-video-player/customElement.js +110 -102
  514. package/dist/components/arcgis-video-player/index.js +4 -4
  515. package/dist/components/arcgis-video-player/types.d.ts +6 -0
  516. package/dist/components/arcgis-video-player-action-bar/customElement.js +2 -2
  517. package/dist/components/arcgis-video-player-metadata/customElement.js +1 -1
  518. package/dist/components/arcgis-video-player-previews/customElement.js +159 -0
  519. package/dist/components/arcgis-video-player-settings/customElement.js +17 -16
  520. package/dist/components/arcgis-video-player-slider/customElement.js +23 -12
  521. package/dist/components/arcgis-video-player-slider/index.js +1 -0
  522. package/dist/components/arcgis-view-popover/customElement.d.ts +65 -33
  523. package/dist/components/arcgis-view-popover/customElement.js +196 -108
  524. package/dist/components/arcgis-view-popover/index.js +1 -1
  525. package/dist/components/arcgis-volume-measurement/customElement.d.ts +34 -14
  526. package/dist/components/arcgis-volume-measurement/customElement.js +64 -64
  527. package/dist/components/arcgis-weather/customElement.d.ts +1 -1
  528. package/dist/components/arcgis-weather/customElement.js +1 -1
  529. package/dist/components/slider-legacy/types.d.ts +2 -3
  530. package/dist/docs/api.json +1 -1
  531. package/dist/docs/docs.json +1 -1
  532. package/dist/docs/vscode.css-custom-data.json +1 -1
  533. package/dist/docs/vscode.html-custom-data.json +1 -1
  534. package/dist/docs/web-types.json +1 -1
  535. package/dist/index.d.ts +22 -24
  536. package/dist/loader.js +24 -24
  537. package/dist/types/lumina.d.ts +31 -45
  538. package/dist/types/preact.d.ts +32 -48
  539. package/dist/types/react.d.ts +33 -51
  540. package/dist/types/stencil.d.ts +31 -45
  541. package/package.json +9 -9
  542. package/dist/cdn/2BGZVOT3.js +0 -2
  543. package/dist/cdn/2F4IGA4W.js +0 -2
  544. package/dist/cdn/2KPCMM7D.js +0 -2
  545. package/dist/cdn/2S7DLLA7.js +0 -2
  546. package/dist/cdn/2TY3T3GH.js +0 -2
  547. package/dist/cdn/2U3VASQT.js +0 -2
  548. package/dist/cdn/2UKSCGYU.js +0 -2
  549. package/dist/cdn/3C6FN5WT.js +0 -2
  550. package/dist/cdn/3GHQZCMV.js +0 -2
  551. package/dist/cdn/3N5MWYUQ.js +0 -2
  552. package/dist/cdn/3UMLR76Y.js +0 -4
  553. package/dist/cdn/3VCGDZEU.js +0 -2
  554. package/dist/cdn/4432P7Z5.js +0 -2
  555. package/dist/cdn/44CQCIZB.js +0 -2
  556. package/dist/cdn/4B2TLORL.js +0 -2
  557. package/dist/cdn/4IWYFG2G.js +0 -2
  558. package/dist/cdn/4KQA2GRX.js +0 -2
  559. package/dist/cdn/4O3HLHQQ.js +0 -2
  560. package/dist/cdn/4PI54LJH.js +0 -2
  561. package/dist/cdn/4WKWYFIH.js +0 -2
  562. package/dist/cdn/4XJ6RYYC.js +0 -2
  563. package/dist/cdn/53OXTCE6.js +0 -2
  564. package/dist/cdn/5AMF6NZN.js +0 -2
  565. package/dist/cdn/5DY7GHBN.js +0 -2
  566. package/dist/cdn/5ESNA4SF.js +0 -2
  567. package/dist/cdn/5RAIBYCT.js +0 -2
  568. package/dist/cdn/62IE7RFR.js +0 -2
  569. package/dist/cdn/67PT3A4A.js +0 -2
  570. package/dist/cdn/6A2OF3TO.js +0 -2
  571. package/dist/cdn/6QH2NH2Z.js +0 -2
  572. package/dist/cdn/6UYEO5Q7.js +0 -2
  573. package/dist/cdn/6VO7G2UX.js +0 -2
  574. package/dist/cdn/77U2VO5P.js +0 -2
  575. package/dist/cdn/7DFCYS72.js +0 -2
  576. package/dist/cdn/7FCZLFJD.js +0 -2
  577. package/dist/cdn/7FFBCPVE.js +0 -2
  578. package/dist/cdn/7TULU5QF.js +0 -2
  579. package/dist/cdn/7VDBR3SK.js +0 -2
  580. package/dist/cdn/7VJQVX42.js +0 -2
  581. package/dist/cdn/A3DPMZWE.js +0 -2
  582. package/dist/cdn/A4VK42OW.js +0 -2
  583. package/dist/cdn/A7RLC6ZT.js +0 -2
  584. package/dist/cdn/AL3PLZEE.js +0 -2
  585. package/dist/cdn/ALVAGE57.js +0 -2
  586. package/dist/cdn/AS4FG6IT.js +0 -2
  587. package/dist/cdn/BI2SI2HK.js +0 -2
  588. package/dist/cdn/BJWJ6E3L.js +0 -2
  589. package/dist/cdn/BLOQ2AJ5.js +0 -2
  590. package/dist/cdn/BQBWXR6P.js +0 -2
  591. package/dist/cdn/BQGY4YCS.js +0 -2
  592. package/dist/cdn/BTVNXUZQ.js +0 -2
  593. package/dist/cdn/BVTEQMDF.js +0 -2
  594. package/dist/cdn/CBVICP6P.js +0 -2
  595. package/dist/cdn/CF54A7MK.js +0 -2
  596. package/dist/cdn/CNYZSE22.js +0 -2
  597. package/dist/cdn/CP5JALYQ.js +0 -2
  598. package/dist/cdn/CPYVZPJ7.js +0 -2
  599. package/dist/cdn/CR6PVUCT.js +0 -2
  600. package/dist/cdn/DDSIQO4G.js +0 -2
  601. package/dist/cdn/DK7HXJSX.js +0 -2
  602. package/dist/cdn/DLWQZHNA.js +0 -2
  603. package/dist/cdn/DTORO2OE.js +0 -2
  604. package/dist/cdn/DY2EOHFD.js +0 -2
  605. package/dist/cdn/DYUCS5QP.js +0 -2
  606. package/dist/cdn/DYWCAORU.js +0 -2
  607. package/dist/cdn/E54VGGFM.js +0 -2
  608. package/dist/cdn/EHEWQ23K.js +0 -2
  609. package/dist/cdn/EMXGW73P.js +0 -2
  610. package/dist/cdn/EOAVDNBZ.js +0 -2
  611. package/dist/cdn/EPH5BN6X.js +0 -2
  612. package/dist/cdn/EZCHUWDK.js +0 -2
  613. package/dist/cdn/F34QQ4DO.js +0 -2
  614. package/dist/cdn/F5IHFPKA.js +0 -2
  615. package/dist/cdn/FDJGQHUA.js +0 -2
  616. package/dist/cdn/FF7BSRYW.js +0 -2
  617. package/dist/cdn/FIZMK7GS.js +0 -1
  618. package/dist/cdn/FPPWXIBA.js +0 -2
  619. package/dist/cdn/FSBLGH6E.js +0 -2
  620. package/dist/cdn/FZAQZSRA.js +0 -2
  621. package/dist/cdn/G26V76WA.js +0 -2
  622. package/dist/cdn/GCEBFEZ5.js +0 -2
  623. package/dist/cdn/GFNCEZSN.js +0 -2
  624. package/dist/cdn/GHVT7W4O.js +0 -2
  625. package/dist/cdn/GII4POXM.js +0 -2
  626. package/dist/cdn/GIIYVCKT.js +0 -2
  627. package/dist/cdn/GJKFDTVX.js +0 -2
  628. package/dist/cdn/GK47522P.js +0 -2
  629. package/dist/cdn/GNSNEUMI.js +0 -2
  630. package/dist/cdn/GS2HJTMU.js +0 -2
  631. package/dist/cdn/GUHSWQMF.js +0 -2
  632. package/dist/cdn/GUZYCRYS.js +0 -2
  633. package/dist/cdn/H4LMELM2.js +0 -2
  634. package/dist/cdn/H7NR6B6S.js +0 -2
  635. package/dist/cdn/HDHWPKJ4.js +0 -2
  636. package/dist/cdn/HKLBQ7JD.js +0 -2
  637. package/dist/cdn/HQSY7TKA.js +0 -2
  638. package/dist/cdn/IDIAWXUO.js +0 -2
  639. package/dist/cdn/IFR4IYSI.js +0 -2
  640. package/dist/cdn/IITDAOGZ.js +0 -2
  641. package/dist/cdn/ILQDA7LL.js +0 -2
  642. package/dist/cdn/IQOQTYRR.js +0 -2
  643. package/dist/cdn/J3FRSWZD.js +0 -2
  644. package/dist/cdn/JBK5HTJ2.js +0 -2
  645. package/dist/cdn/JF7VJGL4.js +0 -2
  646. package/dist/cdn/K23R26AN.js +0 -2
  647. package/dist/cdn/K7ELALW4.js +0 -2
  648. package/dist/cdn/K7XSWKZ2.js +0 -2
  649. package/dist/cdn/KCLVDXWB.js +0 -2
  650. package/dist/cdn/KFTFKI6A.js +0 -2
  651. package/dist/cdn/KLVBRTYU.js +0 -2
  652. package/dist/cdn/KPUEQZ7O.js +0 -2
  653. package/dist/cdn/KVYBIOH5.js +0 -2
  654. package/dist/cdn/L46JLXJT.js +0 -2
  655. package/dist/cdn/LC37F7HF.js +0 -2
  656. package/dist/cdn/LKAJVIS2.js +0 -2
  657. package/dist/cdn/LOOJWRCW.js +0 -2
  658. package/dist/cdn/LU22VNJ7.js +0 -2
  659. package/dist/cdn/LY6LSUSY.js +0 -2
  660. package/dist/cdn/LZVMUNZC.js +0 -2
  661. package/dist/cdn/M2LKA37F.js +0 -2
  662. package/dist/cdn/M42QFFPZ.js +0 -2
  663. package/dist/cdn/M5KYBYZT.js +0 -2
  664. package/dist/cdn/MA2GVVQJ.js +0 -2
  665. package/dist/cdn/MBGCAZPS.js +0 -4
  666. package/dist/cdn/MCMACXJV.js +0 -2
  667. package/dist/cdn/MDWBYUFG.js +0 -2
  668. package/dist/cdn/MFWSWLBW.js +0 -2
  669. package/dist/cdn/MMYODAC2.js +0 -2
  670. package/dist/cdn/MUNSXJ5X.js +0 -2
  671. package/dist/cdn/MWIDHMQZ.js +0 -2
  672. package/dist/cdn/NDCZFJEK.js +0 -3
  673. package/dist/cdn/NFCFPU7K.js +0 -2
  674. package/dist/cdn/NJPPZJ3L.js +0 -2
  675. package/dist/cdn/NQOS7L2J.js +0 -2
  676. package/dist/cdn/NWFGMNGG.js +0 -2
  677. package/dist/cdn/NY7RHFLZ.js +0 -2
  678. package/dist/cdn/O5YJPUFM.js +0 -2
  679. package/dist/cdn/O6HYZKBU.js +0 -2
  680. package/dist/cdn/OAMPGCZF.js +0 -2
  681. package/dist/cdn/OPNJGHML.js +0 -2
  682. package/dist/cdn/OSDGWHZZ.js +0 -2
  683. package/dist/cdn/P3PXDT5V.js +0 -2
  684. package/dist/cdn/PBHNO4J7.js +0 -2
  685. package/dist/cdn/PBYHBRG7.js +0 -2
  686. package/dist/cdn/PDH2DA3L.js +0 -2
  687. package/dist/cdn/PGK2ZJCX.js +0 -2
  688. package/dist/cdn/PGSBUAGV.js +0 -2
  689. package/dist/cdn/PGXNWDD3.js +0 -2
  690. package/dist/cdn/PJ5OUPGO.js +0 -2
  691. package/dist/cdn/PWHXRRFU.js +0 -2
  692. package/dist/cdn/PZSKFFTG.js +0 -2
  693. package/dist/cdn/PZUVKZGQ.js +0 -2
  694. package/dist/cdn/QCVMDYJD.js +0 -2
  695. package/dist/cdn/QEPANMVK.js +0 -2
  696. package/dist/cdn/QOIURU47.js +0 -2
  697. package/dist/cdn/QPSAD5DG.js +0 -2
  698. package/dist/cdn/QTB5YKHB.js +0 -2
  699. package/dist/cdn/QWIDIEXY.js +0 -2
  700. package/dist/cdn/R5QMO5FY.js +0 -2
  701. package/dist/cdn/R5TCWJ6V.js +0 -2
  702. package/dist/cdn/R5YW65AI.js +0 -2
  703. package/dist/cdn/R67ZOCIR.js +0 -2
  704. package/dist/cdn/RGTUSH6U.js +0 -2
  705. package/dist/cdn/RVEUCXT4.js +0 -2
  706. package/dist/cdn/RZGWZ2FJ.js +0 -2
  707. package/dist/cdn/S7ORGB5E.js +0 -2
  708. package/dist/cdn/SEY3WDK2.js +0 -2
  709. package/dist/cdn/SG55TVJ5.js +0 -2
  710. package/dist/cdn/SHU4AE2X.js +0 -2
  711. package/dist/cdn/SIZZ3BQA.js +0 -2
  712. package/dist/cdn/SLAFIIZU.js +0 -2
  713. package/dist/cdn/SLSGW7B6.js +0 -2
  714. package/dist/cdn/SNNAV3AS.js +0 -2
  715. package/dist/cdn/SR4V2CUQ.js +0 -2
  716. package/dist/cdn/TA723HWT.js +0 -2
  717. package/dist/cdn/THJMCEEO.js +0 -2
  718. package/dist/cdn/TJQ3GP5V.js +0 -2
  719. package/dist/cdn/TKILR2SM.js +0 -2
  720. package/dist/cdn/TO6SOEDF.js +0 -2
  721. package/dist/cdn/TPVHN6P2.js +0 -2
  722. package/dist/cdn/TSNUOFL7.js +0 -2
  723. package/dist/cdn/U5DIWFPP.js +0 -2
  724. package/dist/cdn/UTV2A7J4.js +0 -2
  725. package/dist/cdn/VDEMMP33.js +0 -2
  726. package/dist/cdn/VDKEQI3H.js +0 -2
  727. package/dist/cdn/VOBRCUIE.js +0 -2
  728. package/dist/cdn/VZ6UFS6H.js +0 -2
  729. package/dist/cdn/W6PA72LV.js +0 -2
  730. package/dist/cdn/WK4TNKKC.js +0 -2
  731. package/dist/cdn/WO26ZR5Z.js +0 -2
  732. package/dist/cdn/WQI5PKS4.js +0 -2
  733. package/dist/cdn/WS46QSWM.js +0 -2
  734. package/dist/cdn/WUTCKBNC.js +0 -2
  735. package/dist/cdn/X7BOBKIH.js +0 -2
  736. package/dist/cdn/XCTPKDKL.js +0 -2
  737. package/dist/cdn/XYF36P2O.js +0 -2
  738. package/dist/cdn/Y42K6IOP.js +0 -2
  739. package/dist/cdn/YCHVPSSP.js +0 -2
  740. package/dist/cdn/YFTQR2WS.js +0 -2
  741. package/dist/cdn/YTLRTUMD.js +0 -2
  742. package/dist/cdn/YZUSPKNF.js +0 -2
  743. package/dist/cdn/Z3W7LQ5M.js +0 -2
  744. package/dist/cdn/Z6AVJWLP.js +0 -2
  745. package/dist/cdn/Z7H4V2JZ.js +0 -2
  746. package/dist/cdn/ZAUG5MSY.js +0 -2
  747. package/dist/cdn/ZF4DFDLT.js +0 -2
  748. package/dist/cdn/ZFO3PVZQ.js +0 -2
  749. package/dist/cdn/ZGOAZB5L.js +0 -2
  750. package/dist/cdn/ZKWI43WZ.js +0 -2
  751. package/dist/cdn/ZO7TUIUE.js +0 -2
  752. package/dist/components/arcgis-feature-form-field/index.d.ts +0 -1
  753. package/dist/components/arcgis-feature-form-field/types.d.ts +0 -7
  754. package/dist/components/arcgis-feature-form-field-number/customElement.d.ts +0 -4
  755. package/dist/components/arcgis-scale-range-slider/customElement.d.ts +0 -158
  756. package/dist/components/arcgis-scale-range-slider/customElement.js +0 -26
  757. package/dist/components/arcgis-scale-range-slider/index.d.ts +0 -1
  758. package/dist/components/arcgis-sketch/SketchComponentViewModel.d.ts +0 -84
  759. package/dist/components/arcgis-sketch/configuration.d.ts +0 -33
  760. package/dist/components/arcgis-sketch/support.d.ts +0 -17
  761. package/dist/components/arcgis-time-bar/TimeBarViewModel.d.ts +0 -75
  762. package/dist/components/arcgis-value-picker-legacy/customElement.d.ts +0 -642
  763. package/dist/components/arcgis-value-picker-legacy/customElement.js +0 -39
  764. package/dist/components/arcgis-value-picker-legacy/index.d.ts +0 -1
  765. package/dist/components/arcgis-value-picker-legacy/index.js +0 -1
  766. /package/dist/cdn/{LW4IDPBB.js → 2P5AJORF.js} +0 -0
  767. /package/dist/cdn/{M4D5WUVD.js → 4LWSF6AI.js} +0 -0
  768. /package/dist/cdn/{I4AEBGQM.js → 5GGAWGSN.js} +0 -0
  769. /package/dist/cdn/{RUW7CDCH.js → 5GTPIPN7.js} +0 -0
  770. /package/dist/cdn/{5WKEDXRT.js → 62HMPABL.js} +0 -0
  771. /package/dist/cdn/{Y37UMTGV.js → 7YT5W57B.js} +0 -0
  772. /package/dist/cdn/{WEOKELJE.js → AKTIOEYM.js} +0 -0
  773. /package/dist/cdn/{VKRAWBPC.js → AYQJ2LTV.js} +0 -0
  774. /package/dist/cdn/{REGHMH6D.js → CHMBPPHS.js} +0 -0
  775. /package/dist/cdn/{UHI54OG6.js → DLUFAV4S.js} +0 -0
  776. /package/dist/cdn/{7FGOCFTQ.js → DPEWQQEB.js} +0 -0
  777. /package/dist/cdn/{36ZT6IRE.js → ECA47Z37.js} +0 -0
  778. /package/dist/cdn/{IBN4TKBI.js → FJMXBIN5.js} +0 -0
  779. /package/dist/cdn/{OCQXPA57.js → G4IKO2R6.js} +0 -0
  780. /package/dist/cdn/{22I5XGTS.js → GCPR7XFU.js} +0 -0
  781. /package/dist/cdn/{QVAB57VJ.js → IAYL44LK.js} +0 -0
  782. /package/dist/cdn/{QNBNH7ME.js → IRFIHD5X.js} +0 -0
  783. /package/dist/cdn/{4657ONKJ.js → KOMTNQPT.js} +0 -0
  784. /package/dist/cdn/{CUVRESLH.js → LS4U4GD5.js} +0 -0
  785. /package/dist/cdn/{GUZCA62E.js → LVIYMA67.js} +0 -0
  786. /package/dist/cdn/{HJVHORPG.js → MEISDI2H.js} +0 -0
  787. /package/dist/cdn/{YHPASRFL.js → N2YWWQOS.js} +0 -0
  788. /package/dist/cdn/{DNE47HSP.js → NVKOZL7X.js} +0 -0
  789. /package/dist/cdn/{24MLXKMZ.js → NVN2CATF.js} +0 -0
  790. /package/dist/cdn/{4O6FFXUV.js → OFBWNR54.js} +0 -0
  791. /package/dist/cdn/{A7SZYQDH.js → OLSESBZ7.js} +0 -0
  792. /package/dist/cdn/{54GFXFK4.js → PWZHB6VD.js} +0 -0
  793. /package/dist/cdn/{XULIO6Y3.js → QWMDZDQA.js} +0 -0
  794. /package/dist/cdn/{ONFKLY6Q.js → RTDY3HLR.js} +0 -0
  795. /package/dist/cdn/{LUTUHOKB.js → SFDCS6A2.js} +0 -0
  796. /package/dist/cdn/{OX3WBUBR.js → SLNXNVPI.js} +0 -0
  797. /package/dist/cdn/{75UV3NKU.js → SLQPDAGN.js} +0 -0
  798. /package/dist/cdn/{R2D2TXL4.js → T34W3GKP.js} +0 -0
  799. /package/dist/cdn/{C5XAFXEL.js → TP2KQRW6.js} +0 -0
  800. /package/dist/cdn/{EH4CBZNF.js → UDXDE3LW.js} +0 -0
  801. /package/dist/cdn/{JZHZCJTJ.js → XCSF7KJK.js} +0 -0
  802. /package/dist/cdn/{NWRWQZGL.js → XGWYQ7FU.js} +0 -0
  803. /package/dist/cdn/{OCFIQBYK.js → XQ2WXTW7.js} +0 -0
  804. /package/dist/cdn/{PS3KSP2J.js → ZCL4XHIZ.js} +0 -0
  805. /package/dist/cdn/{42G6XTIG.js → ZHYXFOYU.js} +0 -0
  806. /package/dist/cdn/{PY5VGH7F.js → ZNIMZP5R.js} +0 -0
  807. /package/dist/cdn/{R2P5JM7G.js → ZSKO7HLH.js} +0 -0
  808. /package/dist/components/{arcgis-feature-form-field-number → arcgis-attachment-detail-view}/index.d.ts +0 -0
  809. /package/dist/components/{arcgis-scale-range-slider → arcgis-video-player-previews}/index.js +0 -0
@@ -1,27 +1,38 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
- import { c as i } from "../../chunks/runtime.js";
3
- import { css as o, html as t } from "lit";
4
- import { LitElement as a } from "@arcgis/lumina";
5
- const l = o`:host{min-width:100px;flex:1 1 auto;display:flex;align-items:center;justify-content:center}.slider-progress-container{position:relative;z-index:1;flex:1 1 auto;display:flex;flex-direction:column;align-items:center;justify-content:center}.progress{--arcgis-internal-video-player-progress-width: 2px;appearance:none;position:absolute;top:calc(50% - var(--arcgis-internal-video-player-progress-width) / 2);left:var(--calcite-spacing-xs);border:none;background:var(--calcite-color-border-1);cursor:pointer;width:calc(100% - var(--calcite-spacing-xs) * 2);height:var(--arcgis-internal-video-player-progress-width)}.progress::-webkit-progress-bar{background-color:var(--calcite-color-border-3)}.progress::-webkit-progress-value{background-color:var(--calcite-color-border-input)}.progress::-moz-progress-bar{background-color:var(--calcite-color-border-3)}.slider{--calcite-slider-track-color: transparent;width:100%}`;
6
- class c extends a {
2
+ import { c } from "../../chunks/runtime.js";
3
+ import { css as n, html as o } from "lit";
4
+ import { watch as p } from "@arcgis/core/core/reactiveUtils.js";
5
+ import { LitElement as d } from "@arcgis/lumina";
6
+ import { createRef as v, ref as u } from "lit/directives/ref.js";
7
+ import { f as t } from "../../chunks/video-utils.js";
8
+ const g = n`:host{min-width:100px;flex:1 1 auto;display:flex;align-items:center;justify-content:center;overflow:visible;position:relative;z-index:2}.slider-progress-container{position:relative;z-index:2;flex:1 1 auto;display:flex;flex-direction:column;align-items:center;justify-content:center}.progress{--arcgis-internal-video-player-progress-width: 2px;appearance:none;position:absolute;top:calc(50% - var(--arcgis-internal-video-player-progress-width) / 2);left:var(--calcite-space-xs);border:none;background:var(--calcite-color-border-1);cursor:pointer;width:calc(100% - var(--calcite-space-xs) * 2);height:var(--arcgis-internal-video-player-progress-width)}.progress::-webkit-progress-bar{background-color:var(--calcite-color-border-3)}.progress::-webkit-progress-value{background-color:var(--calcite-color-border-input)}.progress::-moz-progress-bar{background-color:var(--calcite-color-border-3)}.slider{--calcite-slider-track-color: transparent;cursor:pointer;width:100%}`;
9
+ class m extends d {
10
+ constructor() {
11
+ super(...arguments), this._progressContainer = v(), this._supportsPreviews = !1;
12
+ }
7
13
  static {
8
- this.properties = { viewModel: 0, buffered: 9, messages: 0, value: 9 };
14
+ this.properties = { _supportsPreviews: 16, buffered: 9, messages: 0, value: 9, viewModel: 0 };
9
15
  }
10
16
  static {
11
- this.styles = l;
17
+ this.styles = g;
18
+ }
19
+ loaded() {
20
+ this.manager.onLifecycle(() => p(() => this.viewModel.layer?.loaded && this.viewModel.layer.capabilities?.operations?.supportsPreviews, (e) => {
21
+ this._supportsPreviews = !!e;
22
+ }, { initial: !0 }));
12
23
  }
13
- _onSliderInput({ currentTarget: e }) {
24
+ #e({ currentTarget: e }) {
14
25
  if (typeof e.value == "number") {
15
26
  const r = e.value * this.viewModel.duration / 100;
16
27
  this.viewModel.seekTo(r);
17
28
  }
18
29
  }
19
30
  render() {
20
- const { buffered: e, messages: r, value: s } = this;
21
- return t`<div class="slider-progress-container" dir=ltr><progress class="progress" max=1 .value=${`${e}`}></progress><div class="slider"><calcite-slider .label=${r.playbackProgress} max=100 min=0 .value=${s} @calciteSliderInput=${this._onSliderInput}></calcite-slider></div></div>`;
31
+ const { buffered: e, messages: r, value: s } = this, i = this.viewModel.duration, a = t(s * i / 100), l = t(i);
32
+ return o`<div class="slider-progress-container" dir=ltr ${u(this._progressContainer)}><progress class="progress" aria-hidden=true max=1 .value=${`${e}`}></progress><div class="slider"><calcite-slider .label=${`${r.playbackProgress}: ${a} / ${l}`} max=100 min=0 .value=${s} @calciteSliderInput=${this.#e}></calcite-slider></div>${this._supportsPreviews ? o`<arcgis-video-player-previews .referenceElement=${this._progressContainer.value} .viewModel=${this.viewModel}></arcgis-video-player-previews>` : null}</div>`;
22
33
  }
23
34
  }
24
- i("arcgis-video-player-slider", c);
35
+ c("arcgis-video-player-slider", m);
25
36
  export {
26
- c as VideoPlayerSlider
37
+ m as VideoPlayerSlider
27
38
  };
@@ -1,2 +1,3 @@
1
1
  import "@esri/calcite-components/components/calcite-slider";
2
+ import "../arcgis-video-player-previews/index.js";
2
3
  export * from "./customElement.js";
@@ -1,81 +1,113 @@
1
1
  /// <reference path="../../index.d.ts" />
2
- import type MapView from "@arcgis/core/views/MapView.js";
3
- import type SceneView from "@arcgis/core/views/SceneView.js";
4
2
  import type { PublicLitElement as LitElement } from "@arcgis/lumina";
5
3
  import type { ActionBar as ActionBar } from "@esri/calcite-components/components/calcite-action-bar";
6
4
  import type { Button as Button } from "@esri/calcite-components/components/calcite-button";
7
5
 
8
6
  /**
9
- * The View Popover component provides view-aware placement and sizing for popovers anchored to actions inside
10
- * a map or scene view. This component is critical to enabling a great user experience with popovers
11
- * when the exact placement and content of the popover is highly variable.
7
+ * View popover solves the problem of showing dynamically sized content in a popover, which could be anchored just
8
+ * about anywhere and in any context, while ensuring a visually-consistent appearance.
12
9
  *
13
- * This component was originally added to support arcgis-sketch, which can be placed in all corners
14
- * of the view, in multiple orientations, and with highly configurable settings contents.
10
+ * Key requirements driving this design (and that calcite-popover does not handle):
15
11
  *
16
- * Because layer lists and grid controls are included in the settings popover, it is very common for
17
- * the popover to overflow the view. It is equally common for the settings popover to be quite compact.
12
+ * - Does not expand to fill space; it is as small as it can be for the natural size of the content it is showing
13
+ * - Respects arcgis-map/arcgis-scene margins if slotted into a view, unless available width falls below
14
+ * `minimumUsableWidth`. Otherwise, applies a small margin between it and viewport edges;
15
+ * chosen to match the margin it applies between the popover and the anchoring bar.
16
+ * - Chooses the right 'side' of the anchoring element to open into; e.g. above or below the bar. It chooses
17
+ * optimally to give the most space to the content
18
+ * - Aligns the popover with the action and toolbar it is anchored to. This avoids old behavior where it was
19
+ * awkwardly offset.
18
20
  *
19
- * Provide the popover content through the default slot and assign a [view](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-view-popover/#view),
20
- * [anchorElement](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-view-popover/#anchorElement), and [actionBarElement](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-view-popover/#actionBarElement)
21
- * to enable automatic positioning within the view.
21
+ * An earlier iteration of this component relied on setting various calcite-popover properties, but this was
22
+ * untenable; it essentially had two layout systems fighting each other and couldn't quite get to what we wanted.
22
23
  *
23
- * @since 5.1
24
+ * Assign [anchorElement](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-view-popover/#anchorElement) and
25
+ * [actionBarElement](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-view-popover/#actionBarElement) for toolbar-edge alignment.
26
+ *
27
+ * The panel aligns with the **toolbar** edge nearest the action, or centers on the action
28
+ * when edge alignment cannot keep the tail pointed at it.
29
+ *
30
+ * The header always includes a close action and remains visible while overflowing content scrolls.
31
+ * The tail is hidden when the action is fully clipped or cannot be reached without overlapping a corner;
32
+ * the popover is hidden when its action bar (or the action, when no bar is assigned) is fully clipped.
33
+ * Neither changes the requested open state.
34
+ *
35
+ * **Limitation**: Positioning responds to resizing, scrolling, component properties, and direct toolbar/view
36
+ * attribute changes. Position-only changes from ancestor layout or CSS animations are not tracked.
37
+ *
38
+ * Layout process overview:
39
+ *
40
+ * - Viewport selection: `_containingView` identifies the anchor's map/scene ancestor; otherwise viewport bounds apply.
41
+ * - Bounds measurement: `measureVisibleViewport`, `measurePaddedView`, and `measureFrameBounds` determine the outer usable area.
42
+ * - Frame: `showNativePopoverLayer` opens a native top-layer popover over that area, avoiding ancestor clipping.
43
+ * - Bounds element: inside the frame, CSS reserves the map/scene's inherited overlay-UI spacing.
44
+ * `_positionPopover` measures this inset rectangle to determine the panel's available space
45
+ * and positioning origin, letting the browser resolve CSS lengths into pixels.
46
+ * - Opening direction: `getToolbarCorner` and `getAttachmentInsets` reserve the attachment edge and tail gap.
47
+ * - Content sizing: `_layoutSurface` retries with viewport bounds if view-constrained width is below `minimumUsableWidth`,
48
+ * supplies size limits, then lets CSS and Calcite measure the content-sized panel.
49
+ * - Alignment: `alignPanelWithAction` chooses toolbar-edge alignment or action centering along the cross axis.
50
+ * - Placement: `applySurfacePosition` and `setPixelStyles` apply panel insets and the tail offset.
51
+ * - Presentation: `render` builds the frame/bounds/surface layers; `_renderPanel` supplies the heading, close action,
52
+ * scrolling content, and Calcite focus handling. CSS draws the optional tail without affecting layout.
53
+ * - Updates: `_observePosition` combines DOM observations, shadow-root scroll listeners, and view subscriptions;
54
+ * `_scheduleReposition` combines notifications to efficiently update the position.
55
+ * - Visibility and dismissal: `_hidePopover` hides unavailable or closed content; the close and keyboard handlers update `open`.
56
+ *
57
+ * @since 5.2
24
58
  * @internal
25
59
  */
26
60
  export abstract class ArcgisViewPopover extends LitElement {
27
- /** The calcite action bar that owns the anchor action; must be set for correct layout. */
61
+ /** The action bar whose visible edges align with the popover. */
28
62
  accessor actionBarElement: ActionBar | undefined;
63
+ /** Resolves the toolbar orientation used to determine the main (opening up/down vs left/right) and cross axes (used for aligning the sides). */
29
64
  get actionBarLayout(): ActionBarLayout;
30
65
  /** The action element that anchors the popover. */
31
66
  accessor anchorElement: HTMLElement | undefined;
32
- /**
33
- * Indicates whether the popover includes a close action in the header.
34
- *
35
- * @default true
36
- */
37
- accessor closable: boolean;
38
- /** The popover heading. */
67
+ /** The visible popover heading and accessible dialog name. */
39
68
  accessor heading: string | undefined;
40
- /** Accessible label for the popover. */
41
- accessor label: string | undefined;
42
69
  /**
43
- * Maximum content width, in pixels, applied to the slotted popover content.
70
+ * Maximum content width in pixels, further limited by available space.
44
71
  *
45
72
  * @default 400
46
73
  */
47
74
  accessor maxContentWidth: number;
48
75
  /**
49
- * Minimum content width, in pixels, applied to the slotted popover content.
76
+ * Preferred minimum content width in pixels; yields to smaller bounds.
50
77
  *
51
78
  * @default 300
52
79
  */
53
80
  accessor minContentWidth: number;
54
81
  /**
55
- * Indicates whether the popover is open.
82
+ * Minimum available width in pixels before view-constrained layout falls back to viewport bounds.
83
+ * This does not enforce a minimum content width. Set to `0` to disable the fallback.
56
84
  *
57
- * Listen for [@arcgisPropertyChange](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-view-popover/#event-arcgisPropertyChange) to react to user-driven close actions.
85
+ * @default 200
86
+ */
87
+ accessor minimumUsableWidth: number;
88
+ /**
89
+ * Indicates whether the popover is open.
90
+ * Listen for [@arcgisPropertyChange](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-view-popover/#event-arcgisPropertyChange) for user-driven closing.
58
91
  *
59
92
  * @default false
60
93
  */
61
94
  accessor open: boolean;
62
95
  /**
63
- * Controls whether the popover appears attached to the action itself or to the containing action bar.
96
+ * Whether the tail attaches to the action or its containing bar.
64
97
  *
65
98
  * @default "bar"
66
99
  */
67
100
  accessor tailAttachmentAppearance: TailAttachmentAppearance;
68
- /** The view that constrains popover placement and sizing. */
69
- accessor view: MapView | SceneView | undefined;
70
101
  /**
71
- * Minimum inset, in pixels, between the popover and the edges of the view.
72
- * The bottom edge will be relative to the attribution bar, if it is visible.
102
+ * Minimum inset from each usable view edge for anchors inside a map or scene, in pixels.
103
+ * View padding, visual layout-overlay spacing, and visible attribution are reserved separately.
104
+ * Anchors outside a map or scene instead use the measured anchor gap as their edge inset.
73
105
  *
74
106
  * @default 16
75
107
  */
76
108
  accessor viewEdgeMargin: number;
77
109
  /**
78
- * Visual scale for the popover; this applies only to the header and close button.
110
+ * Visual scale for the header and close action.
79
111
  *
80
112
  * @default "m"
81
113
  */
@@ -1,128 +1,216 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
- import { c as u } from "../../chunks/runtime.js";
3
- import { LitElement as _, safeStyleMap as w } from "@arcgis/lumina";
4
- import { css as M, html as b } from "lit";
5
- import { usePropertyChange as E } from "@arcgis/lumina/controllers";
6
- const R = M`:host{display:block;pointer-events:initial}calcite-popover{pointer-events:initial}.content{min-inline-size:min(calc(100cqw - var(--arcgis-view-popover-width-reserve, 32px)),var(--arcgis-view-popover-min-inline-size, 300px));max-inline-size:min(calc(100cqw - var(--arcgis-view-popover-width-reserve, 32px)),var(--arcgis-view-popover-max-inline-size, 400px));max-height:var( --arcgis-view-popover-content-max-height, calc(100cqh - var(--arcgis-view-popover-height-reserve, 77px)) );-webkit-user-select:none;user-select:none;overflow-y:auto}`, l = 6, z = 2, S = 32, x = 77, y = 0;
7
- function O(t) {
8
- const e = B(t), i = t.actionBarLayout === "vertical" ? 0 : e;
9
- return {
10
- effectiveTailOffset: e,
11
- horizontalMargin: A(t),
12
- verticalMargin: k(t) + i + t.headerRect.height,
13
- offsetSkidding: P(t),
14
- placement: C(t)
15
- };
16
- }
17
- function B({ actionBarLayout: t, actionRect: e, barRect: i, tailAttachmentAppearance: a }) {
18
- const r = a === "bar" ? t === "vertical" ? Math.max(0, e.left - i.left) : Math.max(0, e.top - i.top) : 0;
19
- return l + r;
20
- }
21
- function A({ actionBarLayout: t, barRect: { left: e, right: i }, actionRect: { left: a }, tailAttachmentAppearance: r, viewEdgeMargin: n }) {
22
- const o = n * 2;
23
- if (t === "vertical") {
24
- const h = i - e, v = r === "action" ? -(a - e - l) : l;
25
- return o + h + v;
26
- }
27
- return o;
28
- }
29
- function P(t) {
30
- return t.actionBarLayout === "vertical" || f(t) === "left" ? t.viewEdgeMargin : -t.viewEdgeMargin;
31
- }
32
- function C(t) {
33
- const { actionBarLayout: e, actionRect: i, viewRect: a } = t, r = f(t);
34
- if (e === "vertical")
35
- return r === "left" ? "right-end" : "left-end";
36
- const n = i.bottom - a.top < a.height / 2 ? "bottom" : "top";
37
- return r === "left" ? `${n}-end` : `${n}-start`;
38
- }
39
- function f({ barRect: { left: t, right: e }, viewRect: { left: i, right: a } }) {
40
- return t - i < a - e ? "left" : "right";
41
- }
42
- function $({ actionRect: t, viewRect: e }) {
43
- return t.top - e.top > e.height / 2 ? "bottom" : "top";
44
- }
45
- function k(t) {
46
- const { actionBarLayout: e, actionRect: i, attributionHeight: a, viewEdgeMargin: r, viewRect: n } = t, o = $(t), h = i.bottom - n.top, v = i.top - n.top, g = o === "top" ? h : r, d = r, p = a + r, m = o === "top" ? p : n.height - v;
47
- return (e === "vertical" ? d + p : g + m) + z;
48
- }
49
- function s() {
50
- return new DOMRect(0, 0, 0, 0);
51
- }
52
- function c(t) {
53
- return t?.getBoundingClientRect() ?? s();
54
- }
55
- class T extends _ {
2
+ import { c as E } from "../../chunks/runtime.js";
3
+ import { css as S, html as R } from "lit";
4
+ import { watch as A } from "@arcgis/core/core/reactiveUtils.js";
5
+ import { LitElement as C, safeStyleMap as M } from "@arcgis/lumina";
6
+ import { usePropertyChange as O } from "@arcgis/lumina/controllers";
7
+ import { getClosestElement as k } from "@arcgis/toolkit/dom";
8
+ import { clamp as w } from "@arcgis/toolkit/number";
9
+ import { createRef as m, ref as b } from "lit/directives/ref.js";
10
+ import { m as P } from "../../chunks/handle.js";
11
+ const B = S`:host{--arcgis-internal-view-popover-tail-size: 10px;display:block}.layout-metrics{position:absolute;visibility:hidden;pointer-events:none;width:var(--calcite-spacing-sm);height:var(--arcgis-internal-view-popover-tail-size)}.frame{position:fixed;inset:auto;margin:0;padding:0;border:0;overflow:visible;background:transparent;color:var(--calcite-color-text-1);pointer-events:none}.bounds{position:absolute;inset:0}[data-in-view] .bounds{top:var(--arcgis-layout-overlay-space-top, 0px);right:var(--arcgis-layout-overlay-space-right, 0px);bottom:var(--arcgis-layout-overlay-space-bottom, 0px);left:var(--arcgis-layout-overlay-space-left, 0px)}.surface{--arcgis-internal-view-popover-border-width: 1px;position:absolute;top:var(--top);right:var(--right);bottom:var(--bottom);left:var(--left);display:flex;flex-direction:column;width:max-content;height:fit-content;min-width:min(var(--min-content-width),var(--max-content-width),var(--available-width));max-width:min(var(--max-content-width),var(--available-width));max-height:var(--available-height);pointer-events:auto;box-sizing:border-box;border:var(--arcgis-internal-view-popover-border-width) solid var(--calcite-color-border-3);filter:drop-shadow(0 6px 10px rgb(0 0 0 / 10%)) drop-shadow(0 4px 6px rgb(0 0 0 / 8%));border-radius:var(--calcite-corner-radius-sm);background:var(--calcite-color-surface-2)}calcite-panel{--calcite-panel-corner-radius: var(--calcite-corner-radius-sm);--calcite-panel-background-color: var(--calcite-color-surface-2);block-size:auto;flex:1 1 auto;min-height:0;min-width:0;max-height:inherit}.content{flex:none;font-size:var(--calcite-font-size-0);color:var(--calcite-color-text-1);-webkit-user-select:none;user-select:none}.surface:before{--arcgis-internal-view-popover-tail-half-size: calc(var(--arcgis-internal-view-popover-tail-size) / 2);--arcgis-internal-view-popover-tail-half-diagonal: calc(var(--arcgis-internal-view-popover-tail-half-size) * sqrt(2));--arcgis-internal-view-popover-tail-stretch: calc( (var(--anchor-gap) + var(--arcgis-internal-view-popover-border-width)) / var(--arcgis-internal-view-popover-tail-half-diagonal) );content:"";position:absolute;box-sizing:border-box;width:var(--arcgis-internal-view-popover-tail-size);height:var(--arcgis-internal-view-popover-tail-size);background:var(--calcite-color-surface-2);border:calc(var(--arcgis-internal-view-popover-tail-size) / 10) solid var(--calcite-color-border-3);pointer-events:none;opacity:var(--arcgis-internal-view-popover-tail-opacity, 1);z-index:1}[data-anchor-hidden] .surface:before,[data-tail-hidden] .surface:before{display:none}[data-layout=horizontal][data-vertical=top] .surface:before{top:calc(-1 * var(--arcgis-internal-view-popover-tail-half-size));clip-path:polygon(0 0,100% 0,0 100%);border-right-color:transparent;border-bottom-color:transparent}[data-layout=horizontal][data-vertical=bottom] .surface:before{bottom:calc(-1 * var(--arcgis-internal-view-popover-tail-half-size));clip-path:polygon(100% 100%,100% 0,0 100%);border-left-color:transparent;border-top-color:transparent}[data-layout=horizontal] .surface:before{transform:scaleY(var(--arcgis-internal-view-popover-tail-stretch)) rotate(45deg);left:calc(var(--tail-offset) - var(--arcgis-internal-view-popover-tail-half-size) - var(--arcgis-internal-view-popover-border-width))}[data-layout=vertical][data-horizontal=left] .surface:before{left:calc(-1 * var(--arcgis-internal-view-popover-tail-half-size));clip-path:polygon(0 0,0 100%,100% 100%);border-right-color:transparent;border-top-color:transparent}[data-layout=vertical][data-horizontal=right] .surface:before{right:calc(-1 * var(--arcgis-internal-view-popover-tail-half-size));clip-path:polygon(0 0,100% 0,100% 100%);border-left-color:transparent;border-bottom-color:transparent}[data-layout=vertical] .surface:before{transform:scaleX(var(--arcgis-internal-view-popover-tail-stretch)) rotate(45deg);top:calc(var(--tail-offset) - var(--arcgis-internal-view-popover-tail-half-size) - var(--arcgis-internal-view-popover-border-width))}`;
12
+ class V extends C {
56
13
  constructor() {
57
- super(...arguments), this._handlePopoverBeforeOpen = (e) => {
58
- if (e.target !== e.currentTarget)
59
- return;
60
- const i = e.currentTarget;
61
- this._headerElement = i.shadowRoot?.querySelector(".header") ?? void 0, this._observeMeasurementElements(), this._remeasureAndSolve();
62
- }, this._handlePopoverClose = (e) => {
63
- e.target === e.currentTarget && (e.preventDefault(), this.open = !1, this._stopMeasuring());
64
- }, this._viewRect = s(), this._barRect = s(), this._actionRect = s(), this._headerRect = s(), this._resizeObserver = new ResizeObserver(() => this._remeasureAndSolve()), this._placement = "bottom-end", this._effectiveTailOffset = l, this._offsetSkidding = y, this._horizontalMargin = S, this._verticalMargin = x, this.closable = !0, this.open = !1, this.maxContentWidth = 400, this.minContentWidth = 300, this.viewEdgeMargin = 16, this.visualScale = "m", this.tailAttachmentAppearance = "bar", this.arcgisPropertyChange = E()("open");
14
+ super(...arguments), this._nativePopoverLayer = m(), this._bounds = m(), this._surface = m(), this._calcitePanel = m(), this._layoutMetrics = m(), this._visibilityTrackedElements = /* @__PURE__ */ new Map(), this._scheduleReposition = () => {
15
+ !this.isConnected || !this.open || this._positionAnimationFrame !== void 0 || (this._positionAnimationFrame = requestAnimationFrame(() => {
16
+ this._positionAnimationFrame = void 0, this.isConnected && this.open && this._positionPopover();
17
+ }));
18
+ }, this._isPositionedAndVisible = !1, this.open = !1, this.maxContentWidth = 400, this.minContentWidth = 300, this.minimumUsableWidth = 200, this.viewEdgeMargin = 16, this.visualScale = "m", this.tailAttachmentAppearance = "bar", this.arcgisPropertyChange = O()("open");
65
19
  }
66
20
  static {
67
- this.properties = { _placement: 16, _effectiveTailOffset: 16, _offsetSkidding: 16, _horizontalMargin: 16, _verticalMargin: 16, view: 0, actionBarLayout: 32, actionBarElement: 0, anchorElement: 0, closable: 5, heading: 1, label: 1, open: 5, maxContentWidth: 9, minContentWidth: 9, viewEdgeMargin: 9, visualScale: 1, tailAttachmentAppearance: 1 };
21
+ this.properties = { _isPositionedAndVisible: 16, actionBarLayout: 32, actionBarElement: 0, anchorElement: 0, heading: 1, open: 5, maxContentWidth: 9, minContentWidth: 9, minimumUsableWidth: 9, viewEdgeMargin: 9, visualScale: 1, tailAttachmentAppearance: 1 };
68
22
  }
69
23
  static {
70
- this.styles = R;
24
+ this.styles = B;
71
25
  }
72
- get _viewElement() {
73
- return this.view?.container ?? void 0;
26
+ get _containingView() {
27
+ return k(this.anchorElement ?? this.el, "arcgis-map, arcgis-scene");
74
28
  }
75
29
  get actionBarLayout() {
76
30
  return this.actionBarElement?.layout === "vertical" ? "vertical" : "horizontal";
77
31
  }
78
- willUpdate(e) {
79
- e.has("open") && !this.open ? this._stopMeasuring() : this.open && this._hasParameterInputChange(e) ? this._remeasureAndSolve() : this.open && this._hasObservedElementChange(e) && this._observeMeasurementElements();
32
+ loaded() {
33
+ this.listenOn(window, "resize", this._scheduleReposition), this.listenOn(window, "scroll", this._scheduleReposition, { capture: !0 }), window.visualViewport && (this.listenOn(window.visualViewport, "resize", this._scheduleReposition), this.listenOn(window.visualViewport, "scroll", this._scheduleReposition));
34
+ }
35
+ updated() {
36
+ this._cancelRepositionAndStopObserving(), this.isConnected && this.open ? (this._observePosition(), this._scheduleReposition()) : (this._visibilityTrackedElements.clear(), this._hidePopover());
37
+ }
38
+ willUpdate() {
39
+ this.open || (this._isPositionedAndVisible = !1);
80
40
  }
81
41
  disconnectedCallback() {
82
- super.disconnectedCallback(), this._stopMeasuring();
83
- }
84
- _hasObservedElementChange(e) {
85
- return e.has("actionBarElement") || e.has("anchorElement") || e.has("view");
86
- }
87
- _hasParameterInputChange(e) {
88
- return e.has("open") && this.open || e.has("tailAttachmentAppearance") || e.has("viewEdgeMargin") || e.has("visualScale");
89
- }
90
- _observeMeasurementElements() {
91
- this._resizeObserver.disconnect();
92
- for (const e of [this.anchorElement, this.actionBarElement, this._viewElement, this._headerElement])
93
- e && this._resizeObserver.observe(e);
94
- this._remeasureAndSolve();
95
- }
96
- _stopMeasuring() {
97
- this._resizeObserver.disconnect(), this._headerElement = void 0;
98
- }
99
- _remeasureAndSolve() {
100
- this._actionRect = c(this.anchorElement), this._barRect = c(this.actionBarElement), this._headerRect = c(this._headerElement), this._viewRect = c(this._viewElement), this._solveLayoutAndUpdate();
101
- }
102
- _solveLayoutAndUpdate() {
103
- const { effectiveTailOffset: e, horizontalMargin: i, verticalMargin: a, offsetSkidding: r, placement: n } = O({
104
- actionBarLayout: this.actionBarLayout,
105
- actionRect: this._actionRect,
106
- attributionHeight: this.view?.attributionHeight ?? 0,
107
- barRect: this._barRect,
108
- headerRect: this._headerRect,
109
- visualScale: this.visualScale,
110
- tailAttachmentAppearance: this.tailAttachmentAppearance,
111
- viewEdgeMargin: this.viewEdgeMargin,
112
- viewRect: this._viewRect
42
+ super.disconnectedCallback(), this._cancelRepositionAndStopObserving(), this._visibilityTrackedElements.clear(), this._hidePopover();
43
+ }
44
+ _observePosition() {
45
+ const t = this._containingView?.view, e = this._observeLayoutElements(t), o = A(() => [t?.padding.left, t?.padding.right, t?.padding.top, t?.padding.bottom, t?.attributionHeight], this._scheduleReposition);
46
+ this._observableHandle = P(() => {
47
+ e.remove(), o.remove();
113
48
  });
114
- this._effectiveTailOffset = e, this._horizontalMargin = i, this._verticalMargin = a, this._offsetSkidding = r, this._placement = n;
49
+ }
50
+ _observeLayoutElements(t) {
51
+ const { anchorElement: e, actionBarElement: o } = this, a = /* @__PURE__ */ new Set([e, o ?? e]);
52
+ for (const r of this._visibilityTrackedElements.keys())
53
+ a.has(r) || this._visibilityTrackedElements.delete(r);
54
+ const n = new IntersectionObserver(
55
+ (r) => {
56
+ for (const h of r) {
57
+ const d = h.intersectionRect.width > 0 && h.intersectionRect.height > 0;
58
+ this._visibilityTrackedElements.get(h.target) !== d && (this._visibilityTrackedElements.set(h.target, d), this._scheduleReposition());
59
+ }
60
+ },
61
+ // Edge contact counts as intersecting at threshold 0, but has no visible area.
62
+ { threshold: Number.EPSILON }
63
+ );
64
+ for (const r of a)
65
+ r && n.observe(r);
66
+ const l = new ResizeObserver(this._scheduleReposition), s = new MutationObserver(this._scheduleReposition);
67
+ for (const r of [this.el, e, o, t?.container])
68
+ r && (l.observe(r), s.observe(r, {
69
+ attributes: !0,
70
+ attributeFilter: [
71
+ "style",
72
+ "class",
73
+ "hidden",
74
+ "slot",
75
+ "layout",
76
+ "dir",
77
+ "scale",
78
+ "expanded",
79
+ "expand-position"
80
+ ],
81
+ childList: r === o,
82
+ // Actions inside slotted groups can move the anchor without resizing the bar.
83
+ // Only observe descendants of the action bar, not the entire view.
84
+ subtree: r === o
85
+ }));
86
+ for (const r of [this._bounds.value, this._surface.value, this._layoutMetrics.value])
87
+ r && l.observe(r);
88
+ const c = L([e, o]);
89
+ for (const r of c)
90
+ r.addEventListener("scroll", this._scheduleReposition, !0);
91
+ return P(() => {
92
+ n.disconnect(), l.disconnect(), s.disconnect();
93
+ for (const r of c)
94
+ r.removeEventListener("scroll", this._scheduleReposition, !0);
95
+ });
96
+ }
97
+ _cancelRepositionAndStopObserving() {
98
+ this._observableHandle?.remove(), this._observableHandle = void 0, this._positionAnimationFrame !== void 0 && (cancelAnimationFrame(this._positionAnimationFrame), this._positionAnimationFrame = void 0);
99
+ }
100
+ _hidePopover() {
101
+ this._isPositionedAndVisible = !1, this._nativePopoverLayer.value?.hidePopover();
102
+ }
103
+ _positionPopover(t = !0) {
104
+ const e = this._nativePopoverLayer.value, o = this._bounds.value, a = this._surface.value, n = this._layoutMetrics.value, l = this.anchorElement, s = this.actionBarElement ?? l;
105
+ if (!e || !o || !a || !n || !l?.isConnected || !s || !this._visibilityTrackedElements.get(s)) {
106
+ this._hidePopover();
107
+ return;
108
+ }
109
+ const c = l.getBoundingClientRect(), r = s.getBoundingClientRect(), h = this.actionBarElement ? T(c, r, this.actionBarLayout, getComputedStyle(s).direction === "rtl") : n.getBoundingClientRect().width, d = t ? this._containingView : void 0, v = d ? this.viewEdgeMargin : h, p = U(d?.view, v);
110
+ if (!p.width || !p.height || !c.width || !c.height || !r.width || !r.height) {
111
+ this._hidePopover();
112
+ return;
113
+ }
114
+ $(e, p, !!d), e.toggleAttribute("data-anchor-hidden", !this._visibilityTrackedElements.get(l));
115
+ const u = o.getBoundingClientRect();
116
+ this._layoutSurface(e, a, { action: c, toolbar: r }, u, h);
117
+ }
118
+ _layoutSurface(t, e, o, a, n) {
119
+ const { action: l, toolbar: s } = o, c = this.actionBarLayout, r = D(s, a), h = this.tailAttachmentAppearance === "action" ? l : s, d = q(h, a, c, r, n), v = a.width - d.left - d.right, p = a.height - d.top - d.bottom;
120
+ if (t.hasAttribute("data-in-view") && v < this.minimumUsableWidth) {
121
+ this._positionPopover(!1);
122
+ return;
123
+ }
124
+ if (v <= 0 || p <= 0) {
125
+ this._hidePopover();
126
+ return;
127
+ }
128
+ _(t, { "available-width": v, "available-height": p, "anchor-gap": n }, !0);
129
+ const u = e.getBoundingClientRect(), f = F(e), g = W(o, a, u, c, f), y = c === "vertical" ? u.height : u.width;
130
+ t.toggleAttribute("data-tail-hidden", g.tailOffset < f || g.tailOffset > y - f), H(t, c, r, d, g), this._isPositionedAndVisible = !0;
131
+ }
132
+ _handlePanelClose(t) {
133
+ t.target === this._calcitePanel.value && (t.preventDefault(), this.open = !1);
115
134
  }
116
135
  render() {
117
- return this.anchorElement ? b`<calcite-popover .closable=${this.closable} .heading=${this.heading} .label=${this.label ?? ""} .open=${this.open} .offsetDistance=${this._effectiveTailOffset} .offsetSkidding=${this._offsetSkidding} overlay-positioning=fixed flip-disabled .placement=${this._placement} .referenceElement=${this.anchorElement} @calcitePopoverBeforeOpen=${this._handlePopoverBeforeOpen} .scale=${this.visualScale} style=${w({
118
- "--arcgis-view-popover-max-inline-size": `${this.maxContentWidth}px`,
119
- "--arcgis-view-popover-min-inline-size": `${this.minContentWidth}px`,
120
- "--arcgis-view-popover-height-reserve": `${this._verticalMargin}px`,
121
- "--arcgis-view-popover-width-reserve": `${this._horizontalMargin}px`
122
- })} trigger-disabled @calcitePopoverClose=${this._handlePopoverClose}><div class="content"><slot></slot></div></calcite-popover>` : null;
136
+ return R`<div class="layout-metrics" aria-hidden=true ${b(this._layoutMetrics)}></div><div class="frame" popover=manual style=${M({
137
+ "--min-content-width": `${this.minContentWidth}px`,
138
+ "--max-content-width": `${this.maxContentWidth}px`
139
+ })} ${b(this._nativePopoverLayer)}><div class="bounds" ${b(this._bounds)}><div class="surface" ${b(this._surface)}>${this._renderPanel()}</div></div></div>`;
140
+ }
141
+ _renderPanel() {
142
+ return R`<calcite-panel .closed=${!this.open} closable .heading=${this.heading} .scale=${this.visualScale} .focusTrapEnabled=${this.open && this._isPositionedAndVisible} @calcitePanelClose=${this._handlePanelClose} ${b(this._calcitePanel)}><div class="content"><slot></slot></div></calcite-panel>`;
143
+ }
144
+ }
145
+ function L(i) {
146
+ const t = /* @__PURE__ */ new Set();
147
+ for (let e of i)
148
+ for (; e; ) {
149
+ const o = e.getRootNode();
150
+ o instanceof ShadowRoot && t.add(o), e.shadowRoot && t.add(e.shadowRoot), e = e.assignedSlot ?? e.parentElement ?? (o instanceof ShadowRoot ? o.host : void 0);
151
+ }
152
+ return t;
153
+ }
154
+ function T(i, t, e, o) {
155
+ return e === "horizontal" ? i.top - t.top : o ? t.right - i.right : i.left - t.left;
156
+ }
157
+ function F(i) {
158
+ const t = getComputedStyle(i), e = getComputedStyle(i, "::before"), o = Math.max(...[
159
+ t.borderTopLeftRadius,
160
+ t.borderTopRightRadius,
161
+ t.borderBottomLeftRadius,
162
+ t.borderBottomRightRadius
163
+ ].flatMap((n) => n.split(" ").map(Number.parseFloat))), a = Math.hypot(Number.parseFloat(e.width), Number.parseFloat(e.height)) / 2;
164
+ return Math.ceil(o + a);
165
+ }
166
+ function $(i, t, e) {
167
+ i.toggleAttribute("data-in-view", e), _(i, { left: t.x, top: t.y, width: t.width, height: t.height }), i.showPopover();
168
+ }
169
+ function H(i, t, e, o, a) {
170
+ const n = { left: "auto", right: "auto", top: "auto", bottom: "auto" };
171
+ t === "vertical" ? (n[e.horizontal] = o[e.horizontal], n.top = a.panelStart) : (n[e.vertical] = o[e.vertical], n.left = a.panelStart), _(i, { ...n, "tail-offset": a.tailOffset }, !0), i.dataset.horizontal = e.horizontal, i.dataset.vertical = e.vertical, i.dataset.layout = t;
172
+ }
173
+ function W(i, t, e, o, a) {
174
+ const { action: n, toolbar: l } = i, s = o === "vertical" ? "top" : "left", c = o === "vertical" ? "bottom" : "right", r = o === "vertical" ? "height" : "width", h = (n[s] + n[c]) / 2 - t[s], d = l[s] - t[s], v = l[c] - t[s], p = e[r], u = t[r], f = h - d <= v - h ? d : v - p, g = h - f, z = g >= a && g <= p - a ? f : h - p / 2, x = w(z, 0, Math.max(0, u - p));
175
+ return { panelStart: x, tailOffset: h - x };
176
+ }
177
+ function N() {
178
+ const i = window.visualViewport;
179
+ return new DOMRect(i?.offsetLeft ?? 0, i?.offsetTop ?? 0, i?.width ?? document.documentElement.clientWidth, i?.height ?? document.documentElement.clientHeight);
180
+ }
181
+ function I(i) {
182
+ const t = i?.container?.getBoundingClientRect();
183
+ if (!t)
184
+ return;
185
+ const e = i?.padding, o = i?.attributionHeight ?? 0;
186
+ return {
187
+ left: t.left + (e?.left ?? 0),
188
+ top: t.top + (e?.top ?? 0),
189
+ right: t.right - (e?.right ?? 0),
190
+ bottom: t.bottom - (e?.bottom ?? 0) - o
191
+ };
192
+ }
193
+ function U(i, t) {
194
+ const e = N(), o = I(i) ?? e, a = Math.max(e.left, o.left) + t, n = Math.max(e.top, o.top) + t, l = Math.min(e.right, o.right) - t, s = Math.min(e.bottom, o.bottom) - t;
195
+ return new DOMRect(a, n, Math.max(0, l - a), Math.max(0, s - n));
196
+ }
197
+ function D(i, t) {
198
+ return {
199
+ horizontal: i.left - t.left <= t.right - i.right ? "left" : "right",
200
+ vertical: i.top - t.top <= t.bottom - i.bottom ? "top" : "bottom"
201
+ };
202
+ }
203
+ function q(i, t, e, o, a) {
204
+ const n = { top: 0, right: 0, bottom: 0, left: 0 };
205
+ return e === "vertical" ? o.horizontal === "left" ? n.left = w(i.right - t.left + a, 0, t.width) : n.right = w(t.right - i.left + a, 0, t.width) : o.vertical === "top" ? n.top = w(i.bottom - t.top + a, 0, t.height) : n.bottom = w(t.bottom - i.top + a, 0, t.height), n;
206
+ }
207
+ function _(i, t, e = !1) {
208
+ for (const [o, a] of Object.entries(t)) {
209
+ const n = e ? `--${o}` : o, l = typeof a == "number" ? `${a}px` : a;
210
+ i.style.setProperty(n, l);
123
211
  }
124
212
  }
125
- u("arcgis-view-popover", T);
213
+ E("arcgis-view-popover", V);
126
214
  export {
127
- T as ArcgisViewPopover
215
+ V as ArcgisViewPopover
128
216
  };
@@ -1,2 +1,2 @@
1
- import "@esri/calcite-components/components/calcite-popover";
1
+ import "@esri/calcite-components/components/calcite-panel";
2
2
  export * from "./customElement.js";