@arcgis/map-components 5.2.0 → 5.2.1

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 (281) hide show
  1. package/dist/cdn/{NFM3C6NI.js → 2B5ZBCBC.js} +1 -1
  2. package/dist/cdn/{77XQAHVN.js → 2BIVUQUJ.js} +1 -1
  3. package/dist/cdn/{T35GLNJC.js → 2U7CCJ2S.js} +1 -1
  4. package/dist/cdn/{JN5G6BEG.js → 2UK33Z5B.js} +1 -1
  5. package/dist/cdn/{IVUMKXQU.js → 2UMWGOD6.js} +1 -1
  6. package/dist/cdn/{7O6J4X7O.js → 36QNBIUL.js} +1 -1
  7. package/dist/cdn/{UWD3ONTH.js → 37DWQSFX.js} +1 -1
  8. package/dist/cdn/{XU47BEOW.js → 3AIJ2HNH.js} +1 -1
  9. package/dist/cdn/{74BV2UR2.js → 3D7NKMRY.js} +1 -1
  10. package/dist/cdn/{EX5MOEMN.js → 3DCNXWMF.js} +1 -1
  11. package/dist/cdn/{POWWSXNT.js → 3DNJW34H.js} +1 -1
  12. package/dist/cdn/{DYWNTGLO.js → 3E6R53RM.js} +1 -1
  13. package/dist/cdn/{PFAH4PTA.js → 3J2FOF6Y.js} +1 -1
  14. package/dist/cdn/{U5PTELUQ.js → 3NEHUVQJ.js} +1 -1
  15. package/dist/cdn/{YPWE3ZCH.js → 45JYMWYH.js} +1 -1
  16. package/dist/cdn/{Z2BR42XY.js → 4ACLFX6R.js} +1 -1
  17. package/dist/cdn/{C6VOZSIN.js → 4IQ3DDJS.js} +1 -1
  18. package/dist/cdn/{NRUPNXT4.js → 4MIFGQ34.js} +1 -1
  19. package/dist/cdn/{3SRUPOXP.js → 4RK7TSGR.js} +1 -1
  20. package/dist/cdn/{IP2FUUWH.js → 4TYS3KMW.js} +1 -1
  21. package/dist/cdn/{L7O6F2YJ.js → 523ZIMBT.js} +1 -1
  22. package/dist/cdn/{ZZKQ74HL.js → 52EXLNF3.js} +1 -1
  23. package/dist/cdn/{TYLCXOYA.js → 55R53CJL.js} +1 -1
  24. package/dist/cdn/5DEDGV3L.js +2 -0
  25. package/dist/cdn/{I53T7OAX.js → 5JEZ6WBC.js} +1 -1
  26. package/dist/cdn/{V2ACQ7VV.js → 5NIUVC2G.js} +1 -1
  27. package/dist/cdn/{P4JSASDL.js → 5PEEEZQP.js} +1 -1
  28. package/dist/cdn/{YOQMIKSF.js → 5SZ3EIHM.js} +1 -1
  29. package/dist/cdn/{YJJL5Z2Q.js → 5SZXH5TL.js} +1 -1
  30. package/dist/cdn/{4G6TVRCP.js → 5UJ6NGQR.js} +1 -1
  31. package/dist/cdn/5YNJEC5H.js +2 -0
  32. package/dist/cdn/67757SR2.js +2 -0
  33. package/dist/cdn/{6ILJDG3P.js → 67ONODLW.js} +1 -1
  34. package/dist/cdn/{HX3UNRCF.js → 6GRQHBXZ.js} +1 -1
  35. package/dist/cdn/{L7TEKVZH.js → 6HDFIN53.js} +1 -1
  36. package/dist/cdn/{BJCFTXR6.js → 6JFDD4W5.js} +1 -1
  37. package/dist/cdn/6K57LXHE.js +2 -0
  38. package/dist/cdn/{FBNWHWXH.js → 6RWCQ7PV.js} +1 -1
  39. package/dist/cdn/{3XINZ5UM.js → 6TXZ5J72.js} +1 -1
  40. package/dist/cdn/{ZZ75DOT6.js → 6YQXO5JT.js} +1 -1
  41. package/dist/cdn/{7UVJE6U5.js → 742BZS7E.js} +1 -1
  42. package/dist/cdn/{UHLA5H3N.js → 74GDAMZC.js} +1 -1
  43. package/dist/cdn/{TQM3VDGS.js → 74QAKLIH.js} +1 -1
  44. package/dist/cdn/{5QUTCNMJ.js → 7BB4VTIR.js} +1 -1
  45. package/dist/cdn/{LCT3F7GZ.js → 7ISW465B.js} +1 -1
  46. package/dist/cdn/{5OOBWPUF.js → 7P764RQK.js} +1 -1
  47. package/dist/cdn/{QJIYQN5J.js → 7PJ33BSP.js} +1 -1
  48. package/dist/cdn/{5K7D3NYX.js → 7TKFOCUV.js} +1 -1
  49. package/dist/cdn/{TJVFYBBR.js → 7UGAH42Q.js} +1 -1
  50. package/dist/cdn/{GHQTI3WE.js → 7Y2HNRED.js} +1 -1
  51. package/dist/cdn/{52MBSJME.js → A5CIX2NO.js} +1 -1
  52. package/dist/cdn/{VAODARUF.js → A5KWD6K6.js} +1 -1
  53. package/dist/cdn/{UG54GLP5.js → AIZDJ3PB.js} +1 -1
  54. package/dist/cdn/{D7HRVLNR.js → AJPFPKE7.js} +1 -1
  55. package/dist/cdn/{UDR5EDW6.js → ALMJB3TW.js} +1 -1
  56. package/dist/cdn/AN5DQCC2.js +2 -0
  57. package/dist/cdn/{H5OSJBGC.js → APP6ZSE2.js} +1 -1
  58. package/dist/cdn/{SUPGZ5FT.js → ASG4VT6J.js} +1 -1
  59. package/dist/cdn/{7OLUMTPU.js → AX3HHG3R.js} +1 -1
  60. package/dist/cdn/{YMSIBAGL.js → B4IKDLO5.js} +1 -1
  61. package/dist/cdn/{4IYTM3UE.js → BENRXHTP.js} +1 -1
  62. package/dist/cdn/{FWXD4CAA.js → BGOZEIAZ.js} +1 -1
  63. package/dist/cdn/{6J7G33BJ.js → BKD2PONE.js} +1 -1
  64. package/dist/cdn/{ECNWV7TN.js → BKY2NEXO.js} +1 -1
  65. package/dist/cdn/{4CXG6JXU.js → BM7VNBTJ.js} +1 -1
  66. package/dist/cdn/{KBMIXCB5.js → BMMF6MDA.js} +1 -1
  67. package/dist/cdn/{LTKY3GWH.js → BN6FTTMP.js} +1 -1
  68. package/dist/cdn/{FLNBBKNT.js → BNYNM6AS.js} +1 -1
  69. package/dist/cdn/{7S7WALCQ.js → BT4EZELN.js} +1 -1
  70. package/dist/cdn/{ZSJ2EBUQ.js → BVRYPIEV.js} +1 -1
  71. package/dist/cdn/{43AJEL4U.js → BYE5ZLTX.js} +1 -1
  72. package/dist/cdn/{FIVRSSG3.js → C23V3HGO.js} +1 -1
  73. package/dist/cdn/{S74ZRTKO.js → CAU5WQ5Y.js} +1 -1
  74. package/dist/cdn/{DSMAJT37.js → CBWNO7ML.js} +1 -1
  75. package/dist/cdn/{FGQBQOSC.js → CJ5NT4YN.js} +1 -1
  76. package/dist/cdn/CKGSCNX4.js +2 -0
  77. package/dist/cdn/{EY5JAMPL.js → CQB5QU43.js} +1 -1
  78. package/dist/cdn/{VCZGRW7Z.js → CRDMASYG.js} +1 -1
  79. package/dist/cdn/{C6O2VNAE.js → CTDDFF2G.js} +1 -1
  80. package/dist/cdn/{BQX6LWCS.js → CZJBFQY3.js} +1 -1
  81. package/dist/cdn/{Q6W3BX6Z.js → D4RUXOUS.js} +1 -1
  82. package/dist/cdn/{LXVKKWBF.js → D5ZX6F36.js} +1 -1
  83. package/dist/cdn/{6N76KI6B.js → D6BFF3WQ.js} +1 -1
  84. package/dist/cdn/{KFZKNGIN.js → D7VBUGLG.js} +1 -1
  85. package/dist/cdn/{PEBIRCQ6.js → DD2GM5SZ.js} +1 -1
  86. package/dist/cdn/{Q4Y4VV2K.js → DDHYBKQS.js} +1 -1
  87. package/dist/cdn/{ULVNML47.js → DIRRL7PQ.js} +1 -1
  88. package/dist/cdn/{3RLZEU77.js → DKHSXRHW.js} +1 -1
  89. package/dist/cdn/{KHBMCVWB.js → DWO4K6TH.js} +1 -1
  90. package/dist/cdn/{GOCVJEYD.js → DXVRQ6X2.js} +1 -1
  91. package/dist/cdn/{4K5KABJN.js → E4ZALCBH.js} +1 -1
  92. package/dist/cdn/{KOVYOFWR.js → E5IFMAIR.js} +1 -1
  93. package/dist/cdn/{UXNWNOKM.js → E5RVL5XY.js} +1 -1
  94. package/dist/cdn/{HYT3UPTO.js → ECXE4F53.js} +1 -1
  95. package/dist/cdn/{BWFAI6H2.js → EKH4R6RV.js} +1 -1
  96. package/dist/cdn/{3CATVA2O.js → EN3E2Y53.js} +1 -1
  97. package/dist/cdn/{WCOLD2O3.js → EN6BUAOX.js} +1 -1
  98. package/dist/cdn/{EKGMCVLS.js → EQDORETE.js} +1 -1
  99. package/dist/cdn/{EWO5PCIV.js → ESPEFWYB.js} +1 -1
  100. package/dist/cdn/{ZKNW2KW6.js → EW6WSDQY.js} +1 -1
  101. package/dist/cdn/{OUQ5UXAI.js → F5XGFR6J.js} +1 -1
  102. package/dist/cdn/{DDCVZ3TR.js → FDGTNPJ4.js} +1 -1
  103. package/dist/cdn/{VD6KWEWO.js → FGCPSLYU.js} +1 -1
  104. package/dist/cdn/{QCTY2P3U.js → FGVIEQ6S.js} +1 -1
  105. package/dist/cdn/{YVUS5Z33.js → FJHOQJES.js} +1 -1
  106. package/dist/cdn/{CG6DG47E.js → FNDE5YWY.js} +1 -1
  107. package/dist/cdn/{NUVHZA5W.js → G3NMXSN5.js} +1 -1
  108. package/dist/cdn/{XNLAXPWQ.js → G5KYVJPX.js} +1 -1
  109. package/dist/cdn/{OJSWOLIM.js → GCRO7OXP.js} +1 -1
  110. package/dist/cdn/{OJBZVPY6.js → GPLQXKBE.js} +1 -1
  111. package/dist/cdn/{IVITPRT5.js → GTOKBUPI.js} +1 -1
  112. package/dist/cdn/{TYMJFNRW.js → GTXUKJKD.js} +1 -1
  113. package/dist/cdn/GZDPWT5D.js +2 -0
  114. package/dist/cdn/{UCDMSAHY.js → GZKUP5OO.js} +1 -1
  115. package/dist/cdn/{S7HMLOW4.js → HCB4S5VR.js} +1 -1
  116. package/dist/cdn/{7LV3QIZJ.js → HG6DJZBS.js} +1 -1
  117. package/dist/cdn/{BEHE3J5Z.js → HIAOM7YK.js} +1 -1
  118. package/dist/cdn/{DNU4TU5L.js → HR5GNDNP.js} +1 -1
  119. package/dist/cdn/{7JE67CVJ.js → I5AHZ5AN.js} +1 -1
  120. package/dist/cdn/{7YZKCPR4.js → I7YXUEHB.js} +1 -1
  121. package/dist/cdn/{SZGZ5WGC.js → IB7FSBDN.js} +1 -1
  122. package/dist/cdn/{YD6RLPWT.js → IJLRHJS3.js} +1 -1
  123. package/dist/cdn/INMPH55C.js +2 -0
  124. package/dist/cdn/IQLDYLIK.js +2 -0
  125. package/dist/cdn/{OYDPICFN.js → IZ5LYYPH.js} +1 -1
  126. package/dist/cdn/{WEM6Y2HL.js → J75ODQCA.js} +1 -1
  127. package/dist/cdn/{A7QS6WHB.js → JBUJM5ZR.js} +1 -1
  128. package/dist/cdn/{CRVQR53S.js → JDPHCRFB.js} +1 -1
  129. package/dist/cdn/{M4VLJBQY.js → JF2JOBBT.js} +1 -1
  130. package/dist/cdn/{V3D5CKWL.js → JHVH2SNH.js} +1 -1
  131. package/dist/cdn/{G7L2YHQQ.js → JJUP6Q6X.js} +1 -1
  132. package/dist/cdn/{AUJMMALE.js → JWCMN7W4.js} +1 -1
  133. package/dist/cdn/{IAFR26VJ.js → JXPVXD5G.js} +1 -1
  134. package/dist/cdn/{42GZQRBT.js → K5J4F3S7.js} +1 -1
  135. package/dist/cdn/{QR43PYML.js → KFIB2GNP.js} +1 -1
  136. package/dist/cdn/{OJCIHEHE.js → KG4UNLN5.js} +1 -1
  137. package/dist/cdn/{IZ45CVO5.js → KTBY7426.js} +1 -1
  138. package/dist/cdn/{7MPCFWQO.js → KUTHLFNA.js} +1 -1
  139. package/dist/cdn/{H3NQ3JZQ.js → KVR2OGME.js} +1 -1
  140. package/dist/cdn/{TJUCGGUA.js → LF4TKQFV.js} +1 -1
  141. package/dist/cdn/{2SSOEJFI.js → LFFSHJEY.js} +1 -1
  142. package/dist/cdn/{DKY3FJ2L.js → LNULIDWQ.js} +1 -1
  143. package/dist/cdn/{HEQB2GHT.js → LPLAOXPN.js} +1 -1
  144. package/dist/cdn/{XWBX5I72.js → M2IIP36L.js} +1 -1
  145. package/dist/cdn/{S2FTBRV5.js → MJTCNAUG.js} +1 -1
  146. package/dist/cdn/{4GJFYHTJ.js → MU3XLCSC.js} +1 -1
  147. package/dist/cdn/{VEDHMG42.js → MYDOAT4O.js} +1 -1
  148. package/dist/cdn/{X7ZBJ4EV.js → N6YOZSOI.js} +1 -1
  149. package/dist/cdn/{YEOZIO4K.js → NWFNAH3U.js} +1 -1
  150. package/dist/cdn/{J2KUPLYF.js → O3LU7Z6Q.js} +1 -1
  151. package/dist/cdn/{A7W456AI.js → OBSVSEU5.js} +1 -1
  152. package/dist/cdn/{RKZHXOHI.js → OGSUDIU4.js} +1 -1
  153. package/dist/cdn/{KHO2GTRP.js → OHNHBIX3.js} +1 -1
  154. package/dist/cdn/{XTT36USG.js → OIWYATWW.js} +1 -1
  155. package/dist/cdn/{WLK6APNW.js → OPYV65WE.js} +1 -1
  156. package/dist/cdn/{GEZIDSYU.js → OSDSL2BD.js} +1 -1
  157. package/dist/cdn/{ME46MUVR.js → OY7NJO32.js} +1 -1
  158. package/dist/cdn/{7TGORQ2Y.js → PA2KEA2J.js} +1 -1
  159. package/dist/cdn/{VN5W3HPP.js → PNWXZKNY.js} +1 -1
  160. package/dist/cdn/{JRGLKWWK.js → PTR4HV5R.js} +1 -1
  161. package/dist/cdn/{2EUIZFG5.js → PXZOPLQK.js} +1 -1
  162. package/dist/cdn/{HIXTGR4X.js → Q7D3QQQK.js} +1 -1
  163. package/dist/cdn/{JOGGARMB.js → Q7MQ2DFI.js} +1 -1
  164. package/dist/cdn/{KLA4R4EG.js → QBQCKDWH.js} +1 -1
  165. package/dist/cdn/{C2J6S4Z2.js → QEYGFICX.js} +1 -1
  166. package/dist/cdn/{SA3FDVCF.js → QF3JOJK5.js} +1 -1
  167. package/dist/cdn/{5RSL2L45.js → QJTN5KIW.js} +1 -1
  168. package/dist/cdn/{MM2KKNTQ.js → QMAHST77.js} +1 -1
  169. package/dist/cdn/{ZRKBSIEK.js → QQBJOQ4C.js} +1 -1
  170. package/dist/cdn/{LKW5X4ZS.js → QU6522UD.js} +1 -1
  171. package/dist/cdn/{YL36JTMT.js → QWMOFNS7.js} +1 -1
  172. package/dist/cdn/{LXT673ON.js → QY4D7IWN.js} +1 -1
  173. package/dist/cdn/{M6RLO4DB.js → R4GHHBGK.js} +1 -1
  174. package/dist/cdn/{QRGIRHNW.js → RIFU4S3Q.js} +1 -1
  175. package/dist/cdn/{3BY3C6N6.js → RJY2ENZF.js} +1 -1
  176. package/dist/cdn/{4RK27XKR.js → RK5LPZSC.js} +1 -1
  177. package/dist/cdn/{CACN544U.js → RPCMN5TC.js} +1 -1
  178. package/dist/cdn/{AI5XYR3T.js → RSA3N5QR.js} +1 -1
  179. package/dist/cdn/{7DV5IVJT.js → RZA6CIF5.js} +1 -1
  180. package/dist/cdn/{X6OT67Y6.js → S4ZZAL7Y.js} +1 -1
  181. package/dist/cdn/{5RYIR2ON.js → SBWLULEJ.js} +1 -1
  182. package/dist/cdn/{2CEIEEYI.js → SESDEAIX.js} +1 -1
  183. package/dist/cdn/{WJLZSKQQ.js → SXFHWD6X.js} +1 -1
  184. package/dist/cdn/{JCIVO6PO.js → SZT6UTQV.js} +1 -1
  185. package/dist/cdn/{H3ZRCWWA.js → T2VESPJF.js} +1 -1
  186. package/dist/cdn/{WWRXQGB7.js → T3AQ655Q.js} +1 -1
  187. package/dist/cdn/{PCIOLOVZ.js → T3KOU37O.js} +1 -1
  188. package/dist/cdn/{NW52Y4ZG.js → T3ZR36FX.js} +1 -1
  189. package/dist/cdn/{RXIVAN2Z.js → T5K37OJA.js} +1 -1
  190. package/dist/cdn/{JRD6OT5Q.js → TEJMZYGH.js} +1 -1
  191. package/dist/cdn/{ONHLJM2G.js → TGTJMTNM.js} +1 -1
  192. package/dist/cdn/{3P2EA4FW.js → TRONHGHB.js} +1 -1
  193. package/dist/cdn/U3MVTXWF.js +2 -0
  194. package/dist/cdn/{M3637WEM.js → UGQZADTV.js} +1 -1
  195. package/dist/cdn/{42NI7MKM.js → UJFGERFD.js} +1 -1
  196. package/dist/cdn/{ZG67BSBM.js → UJPBFQ55.js} +1 -1
  197. package/dist/cdn/{OTVUOSDW.js → UNQGNCXT.js} +1 -1
  198. package/dist/cdn/{ZTKNT7ER.js → UQEH3MNE.js} +1 -1
  199. package/dist/cdn/{WRNOW2UH.js → UXOIUYNX.js} +1 -1
  200. package/dist/cdn/{544JD47Y.js → UZ2OW6YW.js} +1 -1
  201. package/dist/cdn/{JFM6XVOA.js → V4SZH6Z2.js} +1 -1
  202. package/dist/cdn/{V5QSVEJ6.js → VKL25ZPM.js} +1 -1
  203. package/dist/cdn/{CKCOZURU.js → VKZGLB6T.js} +1 -1
  204. package/dist/cdn/{2XVIXLFC.js → VNPZ24X5.js} +1 -1
  205. package/dist/cdn/{UQZKHDXL.js → VOKFRAQB.js} +1 -1
  206. package/dist/cdn/{Z62HXRNX.js → VTC6DO4Z.js} +1 -1
  207. package/dist/cdn/{635ILZB3.js → VUWQS77U.js} +1 -1
  208. package/dist/cdn/{N5DJYKIT.js → W2FEQRXI.js} +1 -1
  209. package/dist/cdn/{ABVDDPFU.js → W5GQ2NNA.js} +1 -1
  210. package/dist/cdn/{BYLDEVXF.js → W5MHYOEM.js} +1 -1
  211. package/dist/cdn/{47Y2IWSQ.js → W6INQNST.js} +1 -1
  212. package/dist/cdn/{ABBDUUM4.js → WCEBYECC.js} +1 -1
  213. package/dist/cdn/{355UQVMW.js → WD4OXDBG.js} +1 -1
  214. package/dist/cdn/{J2AURZ7G.js → WG4G6OC4.js} +1 -1
  215. package/dist/cdn/{QF5Z6LVC.js → WKWHTZ5I.js} +1 -1
  216. package/dist/cdn/WL25ML3J.js +2 -0
  217. package/dist/cdn/{NKL7OBTB.js → WLSLYAYJ.js} +1 -1
  218. package/dist/cdn/{LJE2TVXC.js → WQBUNNV2.js} +1 -1
  219. package/dist/cdn/{ZYLH4A35.js → WQSPATLU.js} +1 -1
  220. package/dist/cdn/{VKPN7XJZ.js → WZBOYXN3.js} +1 -1
  221. package/dist/cdn/{ERMYIPIW.js → X7U3U43Q.js} +1 -1
  222. package/dist/cdn/{ELUP4NED.js → XNSALZ6K.js} +1 -1
  223. package/dist/cdn/{H5LZNFXN.js → XOCJEYJ5.js} +1 -1
  224. package/dist/cdn/{J7XWWII7.js → XTF5GXPS.js} +1 -1
  225. package/dist/cdn/{75OQZ34G.js → XXJRFTYU.js} +1 -1
  226. package/dist/cdn/{F65FT4ZZ.js → Y3WE7JUP.js} +1 -1
  227. package/dist/cdn/{KSZYCJWG.js → YD2ZYMPU.js} +1 -1
  228. package/dist/cdn/{NHNKGCBI.js → YIULHL63.js} +1 -1
  229. package/dist/cdn/{D2DEAMTQ.js → YJSXFTU3.js} +1 -1
  230. package/dist/cdn/{NA7NW5A3.js → YLKK7K7Z.js} +1 -1
  231. package/dist/cdn/{QA5Y5IKK.js → YOAXX65E.js} +1 -1
  232. package/dist/cdn/{THUPX2LZ.js → YRSZBP3D.js} +1 -1
  233. package/dist/cdn/{2VGI6PON.js → YXF2NYTT.js} +1 -1
  234. package/dist/cdn/{YYTPIABA.js → YYBZV3ZS.js} +1 -1
  235. package/dist/cdn/{CROQUSJO.js → YZI2UCMD.js} +1 -1
  236. package/dist/cdn/{KDDEM52B.js → Z33YZHNN.js} +1 -1
  237. package/dist/cdn/{OXS3TM7H.js → Z5UWQQ7J.js} +1 -1
  238. package/dist/cdn/{ANEM6VG4.js → Z7AHDCJX.js} +1 -1
  239. package/dist/cdn/{4NSXW6XY.js → ZALR5MU6.js} +1 -1
  240. package/dist/cdn/{IYA4JZ27.js → ZB34KGZB.js} +1 -1
  241. package/dist/cdn/{NC2GQGJT.js → ZBY6MML3.js} +1 -1
  242. package/dist/cdn/{5P47MB6K.js → ZHB5LGHD.js} +1 -1
  243. package/dist/cdn/{EPSO4NIM.js → ZKENNZPL.js} +1 -1
  244. package/dist/cdn/{7OVOYRDL.js → ZLMH5LHT.js} +1 -1
  245. package/dist/cdn/{GMAVCAO3.js → ZVZCFZ3D.js} +1 -1
  246. package/dist/cdn/index.js +1 -1
  247. package/dist/chunks/runtime.js +1 -1
  248. package/dist/components/arcgis-expand/customElement.js +5 -5
  249. package/dist/components/arcgis-sketch/customElement.d.ts +23 -9
  250. package/dist/components/arcgis-sketch/customElement.js +215 -206
  251. package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +1 -1
  252. package/dist/components/arcgis-utility-network-trace-configuration-picker/customElement.js +1 -1
  253. package/dist/components/arcgis-utility-network-trace-locations/customElement.js +139 -109
  254. package/dist/components/arcgis-view-popover/customElement.d.ts +65 -33
  255. package/dist/components/arcgis-view-popover/customElement.js +196 -108
  256. package/dist/components/arcgis-view-popover/index.js +1 -1
  257. package/dist/docs/api.json +1 -1
  258. package/dist/docs/docs.json +1 -1
  259. package/dist/docs/vscode.html-custom-data.json +1 -1
  260. package/dist/docs/web-types.json +1 -1
  261. package/dist/loader.js +1 -1
  262. package/dist/types/lumina.d.ts +1 -1
  263. package/dist/types/preact.d.ts +1 -1
  264. package/dist/types/react.d.ts +1 -1
  265. package/dist/types/stencil.d.ts +1 -1
  266. package/package.json +6 -6
  267. package/dist/cdn/3NO7L32R.js +0 -2
  268. package/dist/cdn/5AERV4OR.js +0 -2
  269. package/dist/cdn/6VHWWOP2.js +0 -2
  270. package/dist/cdn/IMK2NZAE.js +0 -2
  271. package/dist/cdn/J357FPG4.js +0 -2
  272. package/dist/cdn/NOXJSP5K.js +0 -2
  273. package/dist/cdn/SYLER3OL.js +0 -2
  274. package/dist/cdn/UTQYSTJC.js +0 -2
  275. package/dist/cdn/UWQK6HGY.js +0 -2
  276. package/dist/cdn/V5C4GMKX.js +0 -2
  277. package/dist/cdn/W2FVAB6I.js +0 -2
  278. package/dist/components/arcgis-sketch/SketchComponentViewModel.d.ts +0 -84
  279. package/dist/components/arcgis-sketch/configuration.d.ts +0 -33
  280. package/dist/components/arcgis-sketch/support.d.ts +0 -17
  281. package/dist/components/arcgis-sketch/toolbar-sizing-controller.d.ts +0 -96
@@ -1,42 +1,32 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
2
  import { c as N } from "../../chunks/runtime.js";
3
- import { css as q, noChange as I, html as y } from "lit";
3
+ import { css as q, noChange as z, html as y } from "lit";
4
4
  import { substitute as j } from "@arcgis/core/intl.js";
5
5
  import { GenericController as J, usePropertyChange as Q, useWatchAttributes as X } from "@arcgis/lumina/controllers";
6
6
  import { reEmitEvent as S } from "@arcgis/lumina-toolkit/reEmitEvent";
7
7
  import Y from "@arcgis/core/layers/GraphicsLayer.js";
8
8
  import Z from "@arcgis/core/symbols/TextSymbol.js";
9
- import { LitElement as ee, createEvent as te, nothing as D } from "@arcgis/lumina";
9
+ import { LitElement as ee, createEvent as te, nothing as I } from "@arcgis/lumina";
10
10
  import { watch as f, on as ie, whenOnce as oe } from "@arcgis/core/core/reactiveUtils.js";
11
11
  import { u as se } from "../../chunks/useT9n.js";
12
12
  import { m as ne } from "../../chunks/useViewModel.js";
13
13
  import { V as _ } from "../../chunks/visible-element.js";
14
- import { createRef as O, ref as M } from "lit/directives/ref.js";
14
+ import { createRef as L, ref as M } from "lit/directives/ref.js";
15
15
  import le from "@arcgis/core/widgets/Sketch/SketchViewModel.js";
16
16
  import { S as re } from "../../chunks/resources.js";
17
17
  import { getOrCreateMapValue as F, createReactiveMap as ae } from "@arcgis/core/applications/Components/featureUtils.js";
18
- import { LayoutPriorities as T } from "@arcgis/common-components";
18
+ import { LayoutPriorities as w } from "@arcgis/common-components";
19
19
  import ce from "@arcgis/core/core/Accessor.js";
20
20
  import { property as p, subclass as he } from "@arcgis/core/core/accessorSupport/decorators.js";
21
- import { ignoreAbortErrors as w } from "@arcgis/core/core/promiseUtils.js";
21
+ import { ignoreAbortErrors as T } from "@arcgis/core/core/promiseUtils.js";
22
22
  import de from "@arcgis/core/widgets/Sketch/VisibleElements.js";
23
23
  import pe from "@arcgis/core/widgets/support/SelectionToolbar/SelectionToolbarViewModel.js";
24
- import { c as ue } from "../../chunks/loader-utils.js";
25
- import { AsyncDirective as ge } from "lit/async-directive.js";
24
+ import { c as ge } from "../../chunks/loader-utils.js";
25
+ import { AsyncDirective as ue } from "lit/async-directive.js";
26
26
  import { directive as me, PartType as ve } from "lit/directive.js";
27
27
  import { r as fe } from "../../chunks/async-utils.js";
28
28
  import { observeAncestorsMutation as ye } from "@arcgis/toolkit/dom";
29
- const be = [
30
- "bottom-end",
31
- "bottom-start",
32
- "bottom-left",
33
- "bottom-right",
34
- "top-end",
35
- "top-start",
36
- "top-left",
37
- "top-right"
38
- ], Ce = new Set(be);
39
- function B(i, e) {
29
+ function D(i, e) {
40
30
  let t = e;
41
31
  for (const o of i.split(".")) {
42
32
  if (typeof t != "object" || t === null)
@@ -45,7 +35,7 @@ function B(i, e) {
45
35
  }
46
36
  return typeof t == "string" ? t : void 0;
47
37
  }
48
- const Se = q`.editing-controls-panel{min-inline-size:100px;max-inline-size:400px;-webkit-user-select:none;user-select:none;pointer-events:initial;padding:var(--calcite-space-sm);arcgis-sketch-tooltip-controls+arcgis-snapping-controls{border-block-start:1px solid var(--calcite-color-border-3)}}:host{pointer-events:none}.toolbar-container{block-size:100%;min-block-size:0;min-inline-size:0}arcgis-toolbar-stack[layout=vertical]{block-size:100cqh;min-block-size:100%;max-block-size:100%}`, Te = {
38
+ const be = q`.editing-controls-panel{min-inline-size:100px;max-inline-size:400px;-webkit-user-select:none;user-select:none;pointer-events:initial;padding:var(--calcite-space-sm);arcgis-sketch-tooltip-controls+arcgis-snapping-controls{border-block-start:1px solid var(--calcite-color-border-3)}}:host{pointer-events:none}.toolbar-container{block-size:100%;min-block-size:0;min-inline-size:0}arcgis-toolbar-stack[layout=vertical]{block-size:100cqh;min-block-size:100%;max-block-size:100%}:host([data-intrinsic-toolbar-sizing]){min-inline-size:0;min-block-size:0;max-inline-size:100%;max-block-size:100%;arcgis-toolbar-stack[layout=vertical]{block-size:100%}}:host([data-intrinsic-toolbar-sizing][layout="vertical"]){display:grid;grid-template-columns:minmax(min-content,1fr);grid-template-rows:minmax(0,1fr);inline-size:fit-content;block-size:100%;.toolbar-container{block-size:auto}.toolbar-container,arcgis-view-popover{grid-area:1 / 1}}:host([data-intrinsic-toolbar-sizing][layout="vertical"][toolbar-kind="floating"]){block-size:auto}`, Ce = {
49
39
  point: "pin",
50
40
  polyline: "line",
51
41
  polygon: "polygon",
@@ -56,45 +46,45 @@ const Se = q`.editing-controls-panel{min-inline-size:100px;max-inline-size:400px
56
46
  freehandPolygon: "freehand-area",
57
47
  freehandPolyline: "freehand",
58
48
  text: "text"
59
- }, we = {
49
+ }, Se = {
60
50
  selectionTools: {
61
- defaultPriority: T.Default,
51
+ defaultPriority: w.Default,
62
52
  groupKind: "split-button",
63
53
  overflowLabel: "selection"
64
54
  },
65
55
  selectionSet: {
66
- defaultPriority: T.High,
56
+ defaultPriority: w.High,
67
57
  groupKind: "actions"
68
58
  },
69
59
  createTools: {
70
- defaultPriority: T.High,
60
+ defaultPriority: w.High,
71
61
  groupKind: "more-button",
72
62
  overflowLabel: "drawing"
73
63
  },
74
64
  undoRedo: {
75
- defaultPriority: T.Medium,
65
+ defaultPriority: w.Medium,
76
66
  groupKind: "split-button",
77
67
  overflowLabel: "action",
78
68
  preferEndSlot: !0
79
69
  },
80
70
  settings: {
81
- defaultPriority: T.Max,
71
+ defaultPriority: w.Max,
82
72
  groupKind: "more-button",
83
73
  overflowLabel: "action",
84
74
  preferEndSlot: !0
85
75
  },
86
76
  geometrySimplification: {
87
- defaultPriority: T.Default,
77
+ defaultPriority: w.Default,
88
78
  groupKind: "actions",
89
79
  preferEndSlot: !0
90
80
  }
91
81
  };
92
- var Ee = Object.defineProperty, _e = Object.getOwnPropertyDescriptor, h = (i, e, t, o) => {
93
- for (var s = o > 1 ? void 0 : o ? _e(e, t) : e, c = i.length - 1, d; c >= 0; c--)
94
- (d = i[c]) && (s = (o ? d(e, t, s) : d(s)) || s);
95
- return o && s && Ee(e, t, s), s;
82
+ var we = Object.defineProperty, Te = Object.getOwnPropertyDescriptor, d = (i, e, t, o) => {
83
+ for (var s = o > 1 ? void 0 : o ? Te(e, t) : e, a = i.length - 1, c; a >= 0; a--)
84
+ (c = i[a]) && (s = (o ? c(e, t, s) : c(s)) || s);
85
+ return o && s && we(e, t, s), s;
96
86
  };
97
- let a = class extends ce {
87
+ let h = class extends ce {
98
88
  //#region Lifecycle
99
89
  constructor(i) {
100
90
  super(i), this._effectiveRenderStateCache = /* @__PURE__ */ new Map(), this._effectiveGeometrySimplificationInProgress = !1, this.visibleElements = new de(), this.settingsPopoverOpen = !1, this.availableCreateTools = [
@@ -116,7 +106,7 @@ let a = class extends ce {
116
106
  },
117
107
  { sync: !0 }
118
108
  ),
119
- ue({
109
+ ge({
120
110
  getLoading: () => this.sketchViewModel?.geometrySimplificationInProgress ?? !1,
121
111
  setEffectiveLoading: (i) => {
122
112
  this._effectiveGeometrySimplificationInProgress = i;
@@ -216,25 +206,25 @@ let a = class extends ce {
216
206
  const { sketchViewModel: i } = this;
217
207
  if (!i)
218
208
  return [];
219
- const e = i.effectiveAvailablePlugins, t = this.state === "disabled", o = this.visibleElements.createTools, s = this.activeTool, c = this._activeCustomToolOptions, d = c || !i.firstPluginWithSwappableLeaf ? this._customToolOptions : [], r = i.rootPlugins, n = d?.map((l) => ({
220
- active: l === c,
209
+ const e = i.effectiveAvailablePlugins, t = this.state === "disabled", o = this.visibleElements.createTools, s = this.activeTool, a = this._activeCustomToolOptions, c = a || !i.firstPluginWithSwappableLeaf ? this._customToolOptions : [], l = i.rootPlugins, n = c?.map((r) => ({
210
+ active: r === a,
221
211
  disabled: t,
222
- icon: l.icon,
223
- labelKey: l.label,
224
- onClick: l === c ? () => this._cancelActiveOperation() : () => this._activateLegacyDrawTool(l.toolName, l.createOptions, l)
212
+ icon: r.icon,
213
+ labelKey: r.label,
214
+ onClick: r === a ? () => this._cancelActiveOperation() : () => this._activateLegacyDrawTool(r.toolName, r.createOptions, r)
225
215
  })) ?? [];
226
- if (c && r)
227
- return [...this._pluginsToActions(r), ...n];
216
+ if (a && l)
217
+ return [...this._pluginsToActions(l), ...n];
228
218
  if (e?.length && this.view?.type !== "3d")
229
219
  return [...this._pluginsToActions(e), ...n];
230
- const u = this.view?.type === "3d";
220
+ const g = this.view?.type === "3d";
231
221
  return [
232
- ...this.availableCreateTools?.filter((l) => u && l === "multipoint" ? !1 : l === "mesh" ? !0 : o[l])?.map((l) => ({
233
- active: l === s,
222
+ ...this.availableCreateTools?.filter((r) => g && r === "multipoint" ? !1 : r === "mesh" ? !0 : o[r])?.map((r) => ({
223
+ active: r === s,
234
224
  disabled: t,
235
- icon: Te[l],
236
- labelKey: `draw.${l}`,
237
- onClick: l === s ? () => this._cancelActiveOperation() : () => this._activateLegacyDrawTool(l)
225
+ icon: Ce[r],
226
+ labelKey: `draw.${r}`,
227
+ onClick: r === s ? () => this._cancelActiveOperation() : () => this._activateLegacyDrawTool(r)
238
228
  })) ?? [],
239
229
  ...n
240
230
  ];
@@ -284,30 +274,30 @@ let a = class extends ce {
284
274
  return t === "polygon" && o === "freehand" && e?.includes("freehandPolygon") ? "freehandPolygon" : t === "polyline" && o === "freehand" && e?.includes("freehandPolyline") ? "freehandPolyline" : t ?? void 0;
285
275
  }
286
276
  get _selectionCommands() {
287
- const { state: i, visibleElements: e, _activeSelectionTool: t, _customActions: o } = this, s = this.state === "disabled", c = [];
288
- this.sketchViewModel?.updateOnGraphicClick !== !1 && c.push({
277
+ const { state: i, visibleElements: e, _activeSelectionTool: t, _customActions: o } = this, s = this.state === "disabled", a = [];
278
+ this.sketchViewModel?.updateOnGraphicClick !== !1 && a.push({
289
279
  active: i === "ready" && this._activeSelectionTool == null,
290
280
  disabled: s,
291
281
  icon: "cursor",
292
282
  labelKey: "selectFeature",
293
283
  onClick: () => this._activateDefaultSelectionTool()
294
284
  });
295
- const d = e.selectionTools;
296
- d["rectangle-selection"] && c.push({
285
+ const c = e.selectionTools;
286
+ c["rectangle-selection"] && a.push({
297
287
  active: t === "rectangle-selection",
298
288
  disabled: s,
299
289
  icon: "cursor-marquee",
300
290
  labelKey: "rectangleSelection",
301
291
  onClick: () => this._activateSelectionTool("rectangle-selection")
302
- }), d["lasso-selection"] && c.push({
292
+ }), c["lasso-selection"] && a.push({
303
293
  active: t === "lasso-selection",
304
294
  disabled: s,
305
295
  icon: "lasso-select",
306
296
  labelKey: "lassoSelection",
307
297
  onClick: () => this._activateSelectionTool("lasso-selection")
308
298
  });
309
- const r = o?.get("selection-toolbar");
310
- return r && c.push(...this._customActionsToSketchActions(r)), c;
299
+ const l = o?.get("selection-toolbar");
300
+ return l && a.push(...this._customActionsToSketchActions(l)), a;
311
301
  }
312
302
  get _selectionSetActions() {
313
303
  const i = this.sketchViewModel?.updateGraphics.length ?? 0;
@@ -419,7 +409,7 @@ let a = class extends ce {
419
409
  await this._executeWhenReady(async () => {
420
410
  this.cancelAll();
421
411
  const t = this.sketchViewModel;
422
- t && await w(t.create(i, e));
412
+ t && await T(t.create(i, e));
423
413
  });
424
414
  }
425
415
  /**
@@ -430,7 +420,7 @@ let a = class extends ce {
430
420
  const e = new AbortController();
431
421
  this._pendingCommandAbortController = e;
432
422
  try {
433
- await w(
423
+ await T(
434
424
  (async () => {
435
425
  this.sketchViewModel?.geometrySimplificationInProgress && await oe(() => !this.sketchViewModel?.geometrySimplificationInProgress, e.signal), e.signal.aborted || await i();
436
426
  })()
@@ -471,7 +461,7 @@ let a = class extends ce {
471
461
  async update(i, e) {
472
462
  await this._executeWhenReady(async () => {
473
463
  const t = this.sketchViewModel;
474
- t && await w(t.update(i, e));
464
+ t && await T(t.update(i, e));
475
465
  });
476
466
  }
477
467
  // #endregion
@@ -502,10 +492,10 @@ let a = class extends ce {
502
492
  const t = this.sketchViewModel;
503
493
  if (t) {
504
494
  if (e) {
505
- t.cancel(), w(t.create(i));
495
+ t.cancel(), T(t.create(i));
506
496
  return;
507
497
  }
508
- t.firstPluginWithSwappableLeaf ? (t.replaceLeaf(i), this.view?.focus()) : w(t.create(i));
498
+ t.firstPluginWithSwappableLeaf ? (t.replaceLeaf(i), this.view?.focus()) : T(t.create(i));
509
499
  }
510
500
  });
511
501
  }
@@ -513,7 +503,7 @@ let a = class extends ce {
513
503
  this._executeWhenReady(() => {
514
504
  this._cancelSupportingOperations();
515
505
  const o = this.sketchViewModel;
516
- o && (this._activeCustomToolOptions = t, w(o.create(i, e)));
506
+ o && (this._activeCustomToolOptions = t, T(o.create(i, e)));
517
507
  });
518
508
  }
519
509
  _activateSelectionTool(i) {
@@ -580,88 +570,88 @@ let a = class extends ce {
580
570
  }
581
571
  // #endregion
582
572
  };
583
- h([
573
+ d([
584
574
  p()
585
- ], a.prototype, "_isEffectiveRenderStateFrozen", 1);
586
- h([
575
+ ], h.prototype, "_isEffectiveRenderStateFrozen", 1);
576
+ d([
587
577
  p()
588
- ], a.prototype, "_effectiveGeometrySimplificationInProgress", 2);
589
- h([
578
+ ], h.prototype, "_effectiveGeometrySimplificationInProgress", 2);
579
+ d([
590
580
  p()
591
- ], a.prototype, "_state", 1);
592
- h([
581
+ ], h.prototype, "_state", 1);
582
+ d([
593
583
  p()
594
- ], a.prototype, "_customToolOptions", 2);
595
- h([
584
+ ], h.prototype, "_customToolOptions", 2);
585
+ d([
596
586
  p()
597
- ], a.prototype, "_activeCustomToolOptions", 2);
598
- h([
587
+ ], h.prototype, "_activeCustomToolOptions", 2);
588
+ d([
599
589
  p()
600
- ], a.prototype, "_customActions", 2);
601
- h([
590
+ ], h.prototype, "_customActions", 2);
591
+ d([
602
592
  p()
603
- ], a.prototype, "selectionViewModel", 2);
604
- h([
593
+ ], h.prototype, "selectionViewModel", 2);
594
+ d([
605
595
  p()
606
- ], a.prototype, "_activeSelectionTool", 1);
607
- h([
596
+ ], h.prototype, "_activeSelectionTool", 1);
597
+ d([
608
598
  p()
609
- ], a.prototype, "_activePluginUniqueIds", 1);
610
- h([
599
+ ], h.prototype, "_activePluginUniqueIds", 1);
600
+ d([
611
601
  p()
612
- ], a.prototype, "_createToolActions", 1);
613
- h([
602
+ ], h.prototype, "_createToolActions", 1);
603
+ d([
614
604
  p()
615
- ], a.prototype, "_shouldShowBackButton", 1);
616
- h([
605
+ ], h.prototype, "_shouldShowBackButton", 1);
606
+ d([
617
607
  p()
618
- ], a.prototype, "_selectionToolActions", 1);
619
- h([
608
+ ], h.prototype, "_selectionToolActions", 1);
609
+ d([
620
610
  p()
621
- ], a.prototype, "_settingsActions", 1);
622
- h([
611
+ ], h.prototype, "_settingsActions", 1);
612
+ d([
623
613
  p()
624
- ], a.prototype, "_activeTool", 1);
625
- h([
614
+ ], h.prototype, "_activeTool", 1);
615
+ d([
626
616
  p()
627
- ], a.prototype, "_selectionCommands", 1);
628
- h([
617
+ ], h.prototype, "_selectionCommands", 1);
618
+ d([
629
619
  p()
630
- ], a.prototype, "_selectionSetActions", 1);
631
- h([
620
+ ], h.prototype, "_selectionSetActions", 1);
621
+ d([
632
622
  p()
633
- ], a.prototype, "_undoRedoActions", 1);
634
- h([
623
+ ], h.prototype, "_undoRedoActions", 1);
624
+ d([
635
625
  p()
636
- ], a.prototype, "sketchViewModel", 2);
637
- h([
626
+ ], h.prototype, "sketchViewModel", 2);
627
+ d([
638
628
  p()
639
- ], a.prototype, "visibleElements", 2);
640
- h([
629
+ ], h.prototype, "visibleElements", 2);
630
+ d([
641
631
  p()
642
- ], a.prototype, "view", 2);
643
- h([
632
+ ], h.prototype, "view", 2);
633
+ d([
644
634
  p()
645
- ], a.prototype, "settingsPopoverOpen", 2);
646
- h([
635
+ ], h.prototype, "settingsPopoverOpen", 2);
636
+ d([
647
637
  p()
648
- ], a.prototype, "availableCreateTools", 2);
649
- h([
638
+ ], h.prototype, "availableCreateTools", 2);
639
+ d([
650
640
  p()
651
- ], a.prototype, "state", 1);
652
- h([
641
+ ], h.prototype, "state", 1);
642
+ d([
653
643
  p()
654
- ], a.prototype, "activeTool", 1);
655
- h([
644
+ ], h.prototype, "activeTool", 1);
645
+ d([
656
646
  p()
657
- ], a.prototype, "activePluginIds", 1);
658
- h([
647
+ ], h.prototype, "activePluginIds", 1);
648
+ d([
659
649
  p()
660
- ], a.prototype, "groupedActions", 1);
661
- a = h([
650
+ ], h.prototype, "groupedActions", 1);
651
+ h = d([
662
652
  he("components.sketch.SketchComponentViewModel")
663
- ], a);
664
- class Me extends ge {
653
+ ], h);
654
+ class Ee extends ue {
665
655
  #t;
666
656
  #e = !1;
667
657
  #i;
@@ -670,7 +660,7 @@ class Me extends ge {
670
660
  throw new Error("nodeHooks() can only be used on elements");
671
661
  }
672
662
  render(e) {
673
- return I;
663
+ return z;
674
664
  }
675
665
  update(e, [t]) {
676
666
  const o = e.element;
@@ -679,7 +669,7 @@ class Me extends ge {
679
669
  const s = this.#e ? t.afterUpdate : t.afterCreate;
680
670
  return this.#t = o, this.#e = !0, this.#i = t, queueMicrotask(() => {
681
671
  o.isConnected && s?.(o);
682
- }), I;
672
+ }), z;
683
673
  }
684
674
  disconnected() {
685
675
  const e = this.#t, t = this.#i?.afterRemoved;
@@ -688,8 +678,8 @@ class Me extends ge {
688
678
  });
689
679
  }
690
680
  }
691
- const W = me(Me), Pe = /* @__PURE__ */ new Set(["arcgis-map", "arcgis-scene"]), ke = 8;
692
- class Ae extends J {
681
+ const B = me(Ee), _e = /* @__PURE__ */ new Set(["arcgis-map", "arcgis-scene"]), Me = 8;
682
+ class ke extends J {
693
683
  constructor(e) {
694
684
  super(e), this.#t = new MutationObserver(() => this.#c()), this.#e = new ResizeObserver(() => this.#v()), this.#i = new ResizeObserver(([t]) => {
695
685
  if (!t)
@@ -698,13 +688,13 @@ class Ae extends J {
698
688
  o !== this.#s && (this.#s = o, this.#v());
699
689
  }), this.#h = [], this.ref = (t) => {
700
690
  this.#o !== t && (this.#o = t, this.#r = void 0, this.#a = void 0, this.#c());
701
- }, this.#u = () => this.#c(), this.exports = void 0, this.onConnected(() => this.#m()), this.onUpdated(() => {
702
- this.#d !== this.component.layout && this.#c();
703
- }), this.onDisconnected(() => this.#b()), this.onLifecycle(
691
+ }, this.#u = () => this.#c(), this.exports = void 0, e.listenOn(window, "resize", () => this.#g()), this.onConnected(() => this.#g()), this.onUpdated(() => {
692
+ (this.#d !== this.component.layout || this.#f !== this.component.toolbarKind) && this.#c();
693
+ }), this.onDisconnected(() => this.#C()), this.onLifecycle(
704
694
  () => f(
705
695
  () => this.component.view?.attributionHeight,
706
696
  () => {
707
- this.#m();
697
+ this.#g();
708
698
  },
709
699
  { initial: !0 }
710
700
  )
@@ -719,44 +709,46 @@ class Ae extends J {
719
709
  #s;
720
710
  #n;
721
711
  #h;
722
- #g;
712
+ #m;
723
713
  #o;
724
714
  /** Last style-write inputs, used to avoid repeating equivalent writes from observer notifications. */
725
715
  #r;
726
716
  #a;
727
717
  /** Layout for which the current context was synchronized; distinct from the last applied style layout. */
728
718
  #d;
719
+ #f;
729
720
  /** Re-uses the same direction observation helper as useDirection; that API has onLifecycle-based cleanup API. */
730
721
  #p;
731
- #m() {
722
+ #g() {
732
723
  queueMicrotask(() => {
733
724
  this.component.el.isConnected && this.#c();
734
725
  });
735
726
  }
736
727
  #c() {
737
- const e = this.#f();
738
- if (!e) {
739
- this.#y(), this.#b();
728
+ this.#f = this.component.toolbarKind;
729
+ const e = this.#y();
730
+ if (this.component.el.toggleAttribute("data-intrinsic-toolbar-sizing", !e), !e) {
731
+ this.#b(), this.#C();
740
732
  return;
741
733
  }
742
- this.#C(e.toolbar), this.#S(e), this.#T(e), this.#v(e);
734
+ this.#S(e.toolbar), this.#w(e), this.#T(e), this.#v(e);
743
735
  }
744
- #f() {
736
+ #y() {
745
737
  const e = this.component.el, t = e.parentElement, o = this.#o, s = e.assignedSlot;
746
- if (!t || !Pe.has(t.localName) || !o || !s?.parentElement)
738
+ if (!t || !_e.has(t.localName) || !o || !s?.parentElement)
747
739
  return;
748
- const c = getComputedStyle(t).direction === "rtl" ? "rtl" : "ltr", d = U(e.slot, c);
749
- if (!d)
740
+ const a = getComputedStyle(t).direction === "rtl" ? "rtl" : "ltr", c = K(e.slot, a);
741
+ if (!c)
750
742
  return;
751
- const r = Array.from(t.children).filter(
743
+ const l = Array.from(t.children).filter(
752
744
  (n) => n instanceof HTMLElement && n.localName !== "arcgis-sketch"
753
745
  );
754
746
  return {
755
747
  assignedSlot: s,
756
- content: r,
757
- direction: c,
748
+ content: l,
749
+ direction: a,
758
750
  parent: t,
759
- position: d,
751
+ position: c,
760
752
  toolbar: o
761
753
  };
762
754
  }
@@ -764,13 +756,13 @@ class Ae extends J {
764
756
  /**
765
757
  * Keep track of the cross-axis size changes to ensure layout solution remains up-to-date.
766
758
  */
767
- #C(e) {
759
+ #S(e) {
768
760
  this.#d !== this.component.layout && (this.#s = void 0, this.#d = this.component.layout), this.#l !== e && (this.#i.disconnect(), this.#l = e, this.#s = void 0, this.#i.observe(e));
769
761
  }
770
- #S(e) {
762
+ #w(e) {
771
763
  const t = e.assignedSlot;
772
- this.#n !== t && (this.#n?.removeEventListener("slotchange", this.#u), this.#n = t, t.addEventListener("slotchange", this.#u)), this.#g !== e.parent && (this.#t.disconnect(), this.#p?.(), this.#g = e.parent, this.#p = ye(e.parent, ["dir"], () => {
773
- this.#m();
764
+ this.#n !== t && (this.#n?.removeEventListener("slotchange", this.#u), this.#n = t, t.addEventListener("slotchange", this.#u)), this.#m !== e.parent && (this.#t.disconnect(), this.#p?.(), this.#m = e.parent, this.#p = ye(e.parent, ["dir"], () => {
765
+ this.#g();
774
766
  }), this.#t.observe(e.parent, {
775
767
  childList: !0,
776
768
  subtree: !1
@@ -778,113 +770,130 @@ class Ae extends J {
778
770
  }
779
771
  #T(e) {
780
772
  const t = [e.parent, ...e.content];
781
- Ge(this.#h, t) || (this.#e.disconnect(), t.forEach((o) => this.#e.observe(o)), this.#h = t);
773
+ Le(this.#h, t) || (this.#e.disconnect(), t.forEach((o) => this.#e.observe(o)), this.#h = t);
782
774
  }
783
- #v(e = this.#f()) {
775
+ #v(e = this.#y()) {
784
776
  if (!e) {
785
- this.#y();
777
+ this.#b();
786
778
  return;
787
779
  }
788
- const t = this.component.layout, o = Oe({
789
- content: Le(e),
790
- gap: ke,
780
+ const t = this.component.layout, o = e.parent.getBoundingClientRect(), s = Pe({
781
+ content: Ae(e),
782
+ gap: Me,
791
783
  layout: t,
792
784
  position: e.position,
793
- sameSlotReserve: $e(
785
+ sameSlotReserve: Oe(
794
786
  e.assignedSlot,
795
787
  this.component.el,
796
788
  t,
797
789
  e.assignedSlot.parentElement
798
790
  ),
799
791
  toolbarBounds: e.toolbar.getBoundingClientRect(),
800
- viewBounds: e.parent.getBoundingClientRect()
792
+ viewBounds: o
801
793
  });
802
- this.#w(e.toolbar, t, o);
794
+ let a = s;
795
+ if (e.toolbar.toolbarKind === "floating") {
796
+ const c = getComputedStyle(e.assignedSlot.parentElement.parentElement), l = Math.max(Number.parseFloat(c.marginLeft), Number.parseFloat(c.marginRight)), n = t === "horizontal" ? window.innerWidth : window.innerHeight, g = t === "horizontal" ? o.width : o.height, u = t === "vertical" ? this.component.view?.attributionHeight ?? 0 : 0;
797
+ a = Math.max(
798
+ 0,
799
+ Math.min(s, g - 2 * l - u, n - 2 * l)
800
+ );
801
+ }
802
+ this.#E(e.toolbar, t, s, a);
803
803
  }
804
- #w(e, t, o) {
805
- o === this.#r && t === this.#a || (this.#r = o, this.#a = t, e.style.setProperty("--arcgis-internal-toolbar-available-length", `${o}px`), t === "horizontal" ? (e.style.height = "", e.style.maxHeight = "", e.style.maxWidth = `${o}px`, e.style.width = "fit-content") : (e.style.height = "fit-content", e.style.maxHeight = `${o}px`, e.style.maxWidth = "", e.style.width = ""));
804
+ #E(e, t, o, s) {
805
+ o === this.#r && s === e.allocatedLength && t === this.#a || (this.#r = o, this.#a = t, e.allocatedLength = s, t === "horizontal" ? (e.style.height = "", e.style.maxHeight = "", e.style.maxWidth = `${o}px`, e.style.width = "fit-content") : (e.style.height = "fit-content", e.style.maxHeight = `${o}px`, e.style.maxWidth = "", e.style.width = ""));
806
806
  }
807
807
  /** Remove controller-owned inline sizing when the stack leaves a supported view slot. */
808
- #y() {
809
- this.#o && (this.#o.style.maxHeight = "", this.#o.style.maxWidth = "", this.#o.style.height = "", this.#o.style.width = "", this.#o.style.removeProperty("--arcgis-internal-toolbar-available-length"), this.#r = void 0, this.#a = void 0);
808
+ #b() {
809
+ this.#o && (this.#o.style.maxHeight = "", this.#o.style.maxWidth = "", this.#o.style.height = "", this.#o.style.width = "", this.#o.allocatedLength = void 0, this.#r = void 0, this.#a = void 0);
810
810
  }
811
811
  /** Release subscriptions and cached measurements before disconnecting or entering a new context. */
812
- #b() {
813
- this.#t.disconnect(), this.#p?.(), this.#p = void 0, this.#e.disconnect(), this.#i.disconnect(), this.#l = void 0, this.#s = void 0, this.#h = [], this.#n?.removeEventListener("slotchange", this.#u), this.#n = void 0, this.#r = void 0, this.#a = void 0, this.#d = void 0, this.#g = void 0;
812
+ #C() {
813
+ this.#t.disconnect(), this.#p?.(), this.#p = void 0, this.#e.disconnect(), this.#i.disconnect(), this.#l = void 0, this.#s = void 0, this.#h = [], this.#n?.removeEventListener("slotchange", this.#u), this.#n = void 0, this.#r = void 0, this.#a = void 0, this.#d = void 0, this.#m = void 0;
814
814
  }
815
815
  }
816
- function Oe({
816
+ function Pe({
817
817
  content: i,
818
818
  gap: e,
819
819
  layout: t,
820
820
  position: o,
821
821
  sameSlotReserve: s,
822
- toolbarBounds: c,
823
- viewBounds: d
822
+ toolbarBounds: a,
823
+ viewBounds: c
824
824
  }) {
825
- const r = L(d, t), n = L(c, t), u = z(o, t), g = u ? n.start - r.start : r.end - n.end;
826
- let l = 0, v = !1;
825
+ const l = O(c, t), n = O(a, t), g = W(o, t), u = g ? n.start - l.start : l.end - n.end;
826
+ let r = 0, v = !1;
827
827
  for (const b of i) {
828
- if (z(b.position, t) === u)
828
+ if (W(b.position, t) === g)
829
829
  continue;
830
- const C = L(b.bounds, t);
830
+ const C = O(b.bounds, t);
831
831
  if (!(C.crossStart < n.crossEnd && C.crossEnd > n.crossStart))
832
832
  continue;
833
- const E = u ? r.end - C.start : C.end - r.start;
834
- l = Math.max(l, E), v = !0;
833
+ const E = g ? l.end - C.start : C.end - l.start;
834
+ r = Math.max(r, E), v = !0;
835
835
  }
836
836
  const m = v ? e : 0;
837
- return Math.max(0, r.length - Math.max(0, g) - s - l - m);
837
+ return Math.max(0, l.length - Math.max(0, u) - s - r - m);
838
838
  }
839
- function L(i, e) {
839
+ function O(i, e) {
840
840
  return e === "horizontal" ? { start: i.left, end: i.right, length: i.width, crossStart: i.top, crossEnd: i.bottom } : { start: i.top, end: i.bottom, length: i.height, crossStart: i.left, crossEnd: i.right };
841
841
  }
842
- function z(i, e) {
842
+ function W(i, e) {
843
843
  return e === "horizontal" ? i.endsWith("left") : i.startsWith("top");
844
844
  }
845
- function Le(i) {
845
+ function Ae(i) {
846
846
  return i.content.flatMap((e) => {
847
847
  if (e.assignedSlot === i.assignedSlot)
848
848
  return [];
849
- const t = U(e.slot, i.direction);
849
+ const t = K(e.slot, i.direction);
850
850
  return t ? [{ bounds: e.getBoundingClientRect(), position: t }] : [];
851
851
  });
852
852
  }
853
- function Ge(i, e) {
853
+ function Le(i, e) {
854
854
  return i.length === e.length && i.every((t, o) => t === e[o]);
855
855
  }
856
- function $e(i, e, t, o) {
856
+ function Oe(i, e, t, o) {
857
857
  const s = getComputedStyle(o).flexDirection;
858
858
  if (!(t === "horizontal" ? s.startsWith("row") : s.startsWith("column")))
859
859
  return 0;
860
- const d = i.assignedElements().filter((g) => g instanceof HTMLElement), r = d.indexOf(e);
861
- if (r < 0)
860
+ const c = i.assignedElements().filter((u) => u instanceof HTMLElement), l = c.indexOf(e);
861
+ if (l < 0)
862
862
  return 0;
863
- const n = getComputedStyle(e), u = s === "row" ? Number.parseFloat(n.marginRight) : s === "row-reverse" ? Number.parseFloat(n.marginLeft) : s === "column" ? Number.parseFloat(n.marginBottom) : Number.parseFloat(n.marginTop);
864
- return d.slice(r + 1).reduce((g, l) => {
865
- const v = l.getBoundingClientRect(), m = getComputedStyle(l), b = t === "horizontal" ? v.width + Number.parseFloat(m.marginLeft) + Number.parseFloat(m.marginRight) : v.height + Number.parseFloat(m.marginTop) + Number.parseFloat(m.marginBottom);
866
- return g + b;
867
- }, u);
863
+ const n = getComputedStyle(e), g = s === "row" ? Number.parseFloat(n.marginRight) : s === "row-reverse" ? Number.parseFloat(n.marginLeft) : s === "column" ? Number.parseFloat(n.marginBottom) : Number.parseFloat(n.marginTop);
864
+ return c.slice(l + 1).reduce((u, r) => {
865
+ const v = r.getBoundingClientRect(), m = getComputedStyle(r), b = t === "horizontal" ? v.width + Number.parseFloat(m.marginLeft) + Number.parseFloat(m.marginRight) : v.height + Number.parseFloat(m.marginTop) + Number.parseFloat(m.marginBottom);
866
+ return u + b;
867
+ }, g);
868
868
  }
869
- function U(i, e) {
869
+ function K(i, e) {
870
870
  const [t, o] = i.split("-");
871
871
  if (t !== "bottom" && t !== "top")
872
872
  return;
873
873
  const s = o === "start" ? e === "ltr" ? "left" : "right" : o === "end" ? e === "ltr" ? "right" : "left" : o;
874
874
  return s === "left" || s === "right" ? `${t}-${s}` : void 0;
875
875
  }
876
- const Re = ne((i) => new le({
876
+ const Ge = [
877
+ "bottom-end",
878
+ "bottom-start",
879
+ "bottom-left",
880
+ "bottom-right",
881
+ "top-end",
882
+ "top-start",
883
+ "top-left",
884
+ "top-right"
885
+ ], Re = new Set(Ge), Ve = ne((i) => new le({
877
886
  ...i,
878
887
  cancelUpdateOnClickAway: !0,
879
888
  creationMode: "continuous",
880
889
  textSymbol: new Z({ text: "hello world" }),
881
890
  useLegacyCreateTools: !1
882
891
  }));
883
- class Ve extends ee {
892
+ class $e extends ee {
884
893
  constructor() {
885
- super(), this.#t = new a(), this.#l = O(), this.#s = new Ae(this), this.#n = O(), this._defaultGraphicsLayer = null, this._messages = se(), this.test = {
894
+ super(), this.#t = new h(), this.#l = L(), this.#s = new ke(this), this.#n = L(), this._defaultGraphicsLayer = null, this._messages = se(), this.test = {
886
895
  componentViewModel: this.#t
887
- }, this._groupLayoutPriorityOverrides = /* @__PURE__ */ new Map(), this._contextualToolLocation = "separate", this._refMap = ae(), this.viewModel = Re(this), this.view = this.viewModel.view, this.autoDestroyDisabled = !1, this.createGraphic = this.viewModel.createGraphic, this.creationMode = this.viewModel.creationMode, this.defaultCreateOptions = this.viewModel.defaultCreateOptions, this.defaultGraphicsLayerDisabled = !1, this.defaultUpdateOptions = this.viewModel.defaultUpdateOptions, this.geometrySimplificationInProgress = this.viewModel.geometrySimplificationInProgress, this.icon = "pencil", this.label = this._messages?.componentLabel, this.labelOptions = this.viewModel.labelOptions, this.layer = this.viewModel.layer, this.layout = "horizontal", this.pointSymbol = this.viewModel.pointSymbol, this.polygonSymbol = this.viewModel.polygonSymbol, this.polylineSymbol = this.viewModel.polylineSymbol, this.activeFillSymbol = this.viewModel.activeFillSymbol, this.activeLineSymbol = this.viewModel.activeLineSymbol, this.activeVertexSymbol = this.viewModel.activeVertexSymbol, this.activeCreateToolDrawMode = this.viewModel.activeCreateToolDrawMode, this.visualScale = "m", this.snappingOptions = this.viewModel.snappingOptions, this.textSymbol = this.viewModel.textSymbol, this.toolbarKind = "floating", this.tooltipOptions = this.viewModel.tooltipOptions, this.useViewOptions = this.viewModel.useViewOptions, this.valueOptions = this.viewModel.valueOptions, this.useLegacyCreateTools = this.viewModel.useLegacyCreateTools, this.updateOnGraphicClickDisabled = this.viewModel.updateOnGraphicClick, this.updateGraphics = this.viewModel.updateGraphics, this.activeTooltip = this.viewModel.activeTooltip, this.arcgisCreate = S(() => this.viewModel, "create"), this.arcgisDelete = S(() => this.viewModel, "delete"), this.arcgisDuplicate = S(() => this.viewModel, "duplicate"), this.arcgisPropertyChange = Q()("activeTool", "geometrySimplificationInProgress", "state"), this.arcgisReady = te(), this.arcgisRedo = S(() => this.viewModel, "redo"), this.arcgisUndo = S(() => this.viewModel, "undo"), this.arcgisUpdate = S(() => this.viewModel, "update"), X(["slot"], () => {
896
+ }, this._groupLayoutPriorityOverrides = /* @__PURE__ */ new Map(), this._contextualToolLocation = "separate", this._refMap = ae(), this.viewModel = Ve(this), this.view = this.viewModel.view, this.autoDestroyDisabled = !1, this.createGraphic = this.viewModel.createGraphic, this.creationMode = this.viewModel.creationMode, this.defaultCreateOptions = this.viewModel.defaultCreateOptions, this.defaultGraphicsLayerDisabled = !1, this.defaultUpdateOptions = this.viewModel.defaultUpdateOptions, this.geometrySimplificationInProgress = this.viewModel.geometrySimplificationInProgress, this.icon = "pencil", this.label = this._messages?.componentLabel, this.labelOptions = this.viewModel.labelOptions, this.layer = this.viewModel.layer, this.layout = "horizontal", this.pointSymbol = this.viewModel.pointSymbol, this.polygonSymbol = this.viewModel.polygonSymbol, this.polylineSymbol = this.viewModel.polylineSymbol, this.activeFillSymbol = this.viewModel.activeFillSymbol, this.activeLineSymbol = this.viewModel.activeLineSymbol, this.activeVertexSymbol = this.viewModel.activeVertexSymbol, this.activeCreateToolDrawMode = this.viewModel.activeCreateToolDrawMode, this.visualScale = "m", this.snappingOptions = this.viewModel.snappingOptions, this.textSymbol = this.viewModel.textSymbol, this.toolbarKind = "floating", this.tooltipOptions = this.viewModel.tooltipOptions, this.useViewOptions = this.viewModel.useViewOptions, this.valueOptions = this.viewModel.valueOptions, this.useLegacyCreateTools = this.viewModel.useLegacyCreateTools, this.updateOnGraphicClickDisabled = this.viewModel.updateOnGraphicClick, this.updateGraphics = this.viewModel.updateGraphics, this.activeTooltip = this.viewModel.activeTooltip, this.arcgisCreate = S(() => this.viewModel, "create"), this.arcgisDelete = S(() => this.viewModel, "delete"), this.arcgisDuplicate = S(() => this.viewModel, "duplicate"), this.arcgisPropertyChange = Q()("activeTool", "geometrySimplificationInProgress", "state"), this.arcgisReady = te(), this.arcgisRedo = S(() => this.viewModel, "redo"), this.arcgisUndo = S(() => this.viewModel, "undo"), this.arcgisUpdate = S(() => this.viewModel, "update"), X(["slot"], () => {
888
897
  this.requestUpdate();
889
898
  }), this.manager.onLifecycle(() => [
890
899
  f(() => this.el.view?.map, (e, t) => {
@@ -906,10 +915,10 @@ class Ve extends ee {
906
915
  });
907
916
  }
908
917
  static {
909
- this.properties = { _groupLayoutPriorityOverrides: 16, _contextualToolLocation: 16, _refMap: 16, viewModel: 0, view: 0, activeTool: 32, autoDestroyDisabled: 5, visibleElements: 0, availableCreateTools: 0, createGraphic: 32, creationMode: 1, defaultCreateOptions: 0, defaultGraphicsLayerDisabled: 5, defaultUpdateOptions: 0, geometrySimplificationInProgress: 36, hideCreateToolsCircle: 5, hideCreateToolsMultipoint: 5, hideCreateToolsPoint: 5, hideCreateToolsPolygon: 5, hideCreateToolsPolyline: 5, hideCreateToolsRectangle: 5, hideDuplicateButton: 5, hideDeleteButton: 5, hideSelectionCountLabel: 5, hideLabelsToggle: 5, hideSelectionToolsLassoSelection: 5, hideSelectionToolsRectangleSelection: 5, hideSettingsMenu: 5, hideSinglePluginBackButton: 5, hideSnappingControls: 5, hideSnappingControlsElementsEnabledToggle: 5, hideSnappingControlsElementsFeatureEnabledToggle: 5, hideSnappingControlsElementsLayerList: 5, hideSnappingControlsElementsSelfEnabledToggle: 5, hideSnappingControlsElementsGridEnabledToggle: 5, hideSnappingControlsElementsGridControls: 5, hideSnappingControlsElementsGridControlsElementsColorSelection: 5, hideSnappingControlsElementsGridControlsElementsDynamicScaleToggle: 5, hideSnappingControlsElementsGridControlsElementsLineIntervalInput: 5, hideSnappingControlsElementsGridControlsElementsNumericInputs: 5, hideSnappingControlsElementsGridControlsElementsOutOfScaleWarning: 5, hideSnappingControlsElementsGridControlsElementsPlacementButtons: 5, hideSnappingControlsElementsGridControlsElementsRotateWithMapToggle: 5, hideTooltipsToggle: 5, hideUndoRedoMenu: 5, icon: 1, label: 1, labelOptions: 0, layer: 0, layout: 1, pointSymbol: 0, polygonSymbol: 0, polylineSymbol: 0, activeFillSymbol: 0, activeLineSymbol: 0, activeVertexSymbol: 0, activeCreateToolDrawMode: 1, referenceElement: 1, relativePosition: 1, scale: 1, visualScale: 1, showSnappingControlsElementsHeader: 5, showCreateToolsFreehandPolygon: 5, showCreateToolsFreehandPolyline: 5, showCreateToolsText: 5, hideGeometrySimplificationActivityIndicator: 5, snappingOptions: 0, state: 32, textSymbol: 0, toolbarKind: 1, tooltipOptions: 0, useViewOptions: 5, valueOptions: 0, useLegacyCreateTools: 5, updateOnGraphicClickDisabled: 5, cancelUpdateOnClickAwayDisabled: 5, updateGraphics: 32, activeTooltip: 0 };
918
+ this.properties = { _groupLayoutPriorityOverrides: 16, _contextualToolLocation: 16, _refMap: 16, viewModel: 0, view: 0, activeTool: 32, autoDestroyDisabled: 5, visibleElements: 0, availableCreateTools: 0, createGraphic: 32, creationMode: 1, defaultCreateOptions: 0, defaultGraphicsLayerDisabled: 5, defaultUpdateOptions: 0, geometrySimplificationInProgress: 36, hideCreateToolsCircle: 5, hideCreateToolsMultipoint: 5, hideCreateToolsPoint: 5, hideCreateToolsPolygon: 5, hideCreateToolsPolyline: 5, hideCreateToolsRectangle: 5, hideDuplicateButton: 5, hideDeleteButton: 5, hideSelectionCountLabel: 5, hideLabelsToggle: 5, hideSelectionToolsLassoSelection: 5, hideSelectionToolsRectangleSelection: 5, hideSettingsMenu: 5, hideSinglePluginBackButton: 5, hideSnappingControls: 5, hideSnappingControlsElementsEnabledToggle: 5, hideSnappingControlsElementsFeatureEnabledToggle: 5, hideSnappingControlsElementsLayerList: 5, hideSnappingControlsElementsSelfEnabledToggle: 5, hideSnappingControlsElementsGridEnabledToggle: 5, hideSnappingControlsElementsGridControls: 5, hideSnappingControlsElementsGridControlsElementsColorSelection: 5, hideSnappingControlsElementsGridControlsElementsDynamicScaleToggle: 5, hideSnappingControlsElementsGridControlsElementsLineIntervalInput: 5, hideSnappingControlsElementsGridControlsElementsNumericInputs: 5, hideSnappingControlsElementsGridControlsElementsOutOfScaleWarning: 5, hideSnappingControlsElementsGridControlsElementsPlacementButtons: 5, hideSnappingControlsElementsGridControlsElementsRotateWithMapToggle: 5, hideTooltipsToggle: 5, hideUndoRedoMenu: 5, icon: 1, label: 1, labelOptions: 0, layer: 0, layout: 3, pointSymbol: 0, polygonSymbol: 0, polylineSymbol: 0, activeFillSymbol: 0, activeLineSymbol: 0, activeVertexSymbol: 0, activeCreateToolDrawMode: 1, referenceElement: 1, relativePosition: 1, scale: 1, visualScale: 1, showSnappingControlsElementsHeader: 5, showCreateToolsFreehandPolygon: 5, showCreateToolsFreehandPolyline: 5, showCreateToolsText: 5, hideGeometrySimplificationActivityIndicator: 5, snappingOptions: 0, state: 32, textSymbol: 0, toolbarKind: 3, tooltipOptions: 0, useViewOptions: 5, valueOptions: 0, useLegacyCreateTools: 5, updateOnGraphicClickDisabled: 5, cancelUpdateOnClickAwayDisabled: 5, updateGraphics: 32, activeTooltip: 0 };
910
919
  }
911
920
  static {
912
- this.styles = Se;
921
+ this.styles = be;
913
922
  }
914
923
  #t;
915
924
  get #e() {
@@ -1115,8 +1124,8 @@ class Ve extends ee {
1115
1124
  this.#e.undoRedoMenu = !e;
1116
1125
  }
1117
1126
  get relativePosition() {
1118
- const e = this.el.slot;
1119
- return this.#i ?? (Ce.has(e) ? e : re.topRight);
1127
+ const e = this.el.slot || this.el.closest("arcgis-expand")?.slot || "";
1128
+ return this.#i ?? (Re.has(e) ? e : re.topRight);
1120
1129
  }
1121
1130
  set relativePosition(e) {
1122
1131
  this.#i = e;
@@ -1239,46 +1248,46 @@ class Ve extends ee {
1239
1248
  this._defaultGraphicsLayer && this.view?.map?.allLayers.includes(this._defaultGraphicsLayer) && this.view?.map?.remove(this._defaultGraphicsLayer), this.cancel(), super.disconnectedCallback();
1240
1249
  }
1241
1250
  render() {
1242
- const e = this._refMap.get("settings")?.value?.actionElement, t = this.#t.groupedActions, { visualScale: o, layout: s, toolbarKind: c, relativePosition: d, _contextualToolLocation: r } = this, n = t.find(({ name: g }) => g === "selectionSet"), u = t.filter(({ name: g }) => g !== "selectionSet");
1243
- return y`<div class="toolbar-container"><arcgis-toolbar-stack .layout=${s} .toolbarKind=${c} .relativePosition=${d} .scale=${o} tooltip-appearance=calcite ${M(this.#s.ref)}><arcgis-toolbar ${M(this.#l)}>${_({ hidden: !n?.visible || r !== "inline", children: this._renderActionGroup(n) })}${u.map((g) => this._renderActionGroup(g))}${_({ hidden: !n?.visible || r !== "inline-end", children: this._renderActionGroup(n) })}</arcgis-toolbar>${_({ hidden: !n?.visible || r !== "separate", children: y`<arcgis-toolbar>${this._renderActionGroup(n)}</arcgis-toolbar>` })}</arcgis-toolbar-stack></div>${_({ hidden: this.hideSettingsMenu, children: y`<arcgis-view-popover .open=${this.#t.settingsPopoverOpen} closable .heading=${this._messages.settings?.heading} .label=${this._messages.settings?.heading} .anchorElement=${e} .visualScale=${o} .actionBarElement=${this.#l.value?.barElement} @arcgisPropertyChange=${(g) => this.#t.settingsPopoverOpen = g.target.open ?? !1} .view=${this.view ?? void 0}>${this._renderSettings()}</arcgis-view-popover>` })}`;
1251
+ const e = this._refMap.get("settings")?.value?.actionElement, t = this.#t.groupedActions, { visualScale: o, layout: s, toolbarKind: a, relativePosition: c, _contextualToolLocation: l } = this, n = t.find(({ name: u }) => u === "selectionSet"), g = t.filter(({ name: u }) => u !== "selectionSet");
1252
+ return y`<div class="toolbar-container"><arcgis-toolbar-stack .layout=${s} .toolbarKind=${a} .relativePosition=${c} .scale=${o} tooltip-appearance=calcite ${M(this.#s.ref)}><arcgis-toolbar ${M(this.#l)}>${_({ hidden: !n?.visible || l !== "inline", children: this._renderActionGroup(n) })}${g.map((u) => this._renderActionGroup(u))}${_({ hidden: !n?.visible || l !== "inline-end", children: this._renderActionGroup(n) })}</arcgis-toolbar>${_({ hidden: !n?.visible || l !== "separate", children: y`<arcgis-toolbar>${this._renderActionGroup(n)}</arcgis-toolbar>` })}</arcgis-toolbar-stack></div>${_({ hidden: this.hideSettingsMenu, children: y`<arcgis-view-popover .open=${this.#t.settingsPopoverOpen} .heading=${this._messages.settings?.heading} .anchorElement=${e} .visualScale=${o} .actionBarElement=${this.#l.value?.barElement} @arcgisPropertyChange=${(u) => this.#t.settingsPopoverOpen = u.target.open ?? !1}>${this._renderSettings()}</arcgis-view-popover>` })}`;
1244
1253
  }
1245
1254
  _renderSettings() {
1246
- const { autoDestroyDisabled: e, hideLabelsToggle: t, hideSnappingControls: o, hideTooltipsToggle: s, showSnappingControlsElementsHeader: c, useViewOptions: d, view: r, viewModel: n } = this;
1247
- return y`<div class="editing-controls-panel"><arcgis-sketch-tooltip-controls .hideLabelsToggle=${t} .hideTooltipsToggle=${d || s} .directionMode=${n.valueOptions.directionMode} .labelsEnabled=${n.labelOptions.enabled} .tooltipsEnabled=${n.tooltipOptions.enabled} @arcgisPropertyChange=${(u) => {
1248
- u.stopPropagation();
1249
- const { labelsEnabled: g, tooltipsEnabled: l, directionMode: v } = u.currentTarget, m = this.viewModel;
1250
- switch (u.detail.name) {
1255
+ const { autoDestroyDisabled: e, hideLabelsToggle: t, hideSnappingControls: o, hideTooltipsToggle: s, showSnappingControlsElementsHeader: a, useViewOptions: c, view: l, viewModel: n } = this;
1256
+ return y`<div class="editing-controls-panel"><arcgis-sketch-tooltip-controls .hideLabelsToggle=${t} .hideTooltipsToggle=${c || s} .directionMode=${n.valueOptions.directionMode} .labelsEnabled=${n.labelOptions.enabled} .tooltipsEnabled=${n.tooltipOptions.enabled} @arcgisPropertyChange=${(g) => {
1257
+ g.stopPropagation();
1258
+ const { labelsEnabled: u, tooltipsEnabled: r, directionMode: v } = g.currentTarget, m = this.viewModel;
1259
+ switch (g.detail.name) {
1251
1260
  case "labelsEnabled":
1252
- m.labelOptions.enabled = g;
1261
+ m.labelOptions.enabled = u;
1253
1262
  break;
1254
1263
  case "directionMode":
1255
1264
  m.valueOptions.directionMode = v;
1256
1265
  break;
1257
1266
  case "tooltipsEnabled":
1258
- m.tooltipOptions.enabled = l;
1267
+ m.tooltipOptions.enabled = r;
1259
1268
  break;
1260
1269
  }
1261
- }}></arcgis-sketch-tooltip-controls>${!d && !o ? y`<arcgis-snapping-controls .autoDestroyDisabled=${e} .view=${r} .visibleElements=${this.#e.snappingControlsElements} .snappingOptions=${n.snappingOptions} .showHeader=${c} @arcgisPropertyChange=${(u) => u.stopPropagation()}></arcgis-snapping-controls>` : void 0}</div>`;
1270
+ }}></arcgis-sketch-tooltip-controls>${!c && !o ? y`<arcgis-snapping-controls .autoDestroyDisabled=${e} .view=${l} .visibleElements=${this.#e.snappingControlsElements} .snappingOptions=${n.snappingOptions} .showHeader=${a} @arcgisPropertyChange=${(g) => g.stopPropagation()}></arcgis-snapping-controls>` : void 0}</div>`;
1262
1271
  }
1263
1272
  _renderActionGroup({ visible: e, commands: t, name: o }) {
1264
1273
  if (!e || !t.length)
1265
1274
  return;
1266
- const { defaultPriority: s, groupKind: c, overflowLabel: d, preferEndSlot: r } = we[o], u = (o === "geometrySimplification" ? void 0 : this._groupLayoutPriorityOverrides.get(o)) ?? s, g = t.map((v) => this._renderCommand(v)), l = B(`more.${d}`, this._messages);
1267
- switch (c) {
1275
+ const { defaultPriority: s, groupKind: a, overflowLabel: c, preferEndSlot: l } = Se[o], g = (o === "geometrySimplification" ? void 0 : this._groupLayoutPriorityOverrides.get(o)) ?? s, u = t.map((v) => this._renderCommand(v)), r = D(`more.${c}`, this._messages);
1276
+ switch (a) {
1268
1277
  case "more-button":
1269
- return y`<arcgis-toolbar-group .priority=${u} .preferEndSlot=${r}><arcgis-toolbar-more-button .overflowActionLabel=${l} .priority=${u}>${g}</arcgis-toolbar-more-button></arcgis-toolbar-group>`;
1278
+ return y`<arcgis-toolbar-group .priority=${g} .preferEndSlot=${l}><arcgis-toolbar-more-button .overflowActionLabel=${r} .priority=${g}>${u}</arcgis-toolbar-more-button></arcgis-toolbar-group>`;
1270
1279
  case "split-button":
1271
- return y`<arcgis-toolbar-group .priority=${u} .preferEndSlot=${r}><arcgis-toolbar-split-button .overflowActionLabel=${l} .priority=${u}>${g}</arcgis-toolbar-split-button></arcgis-toolbar-group>`;
1280
+ return y`<arcgis-toolbar-group .priority=${g} .preferEndSlot=${l}><arcgis-toolbar-split-button .overflowActionLabel=${r} .priority=${g}>${u}</arcgis-toolbar-split-button></arcgis-toolbar-group>`;
1272
1281
  case "actions":
1273
- return y`<arcgis-toolbar-group .priority=${u} .preferEndSlot=${r}>${g}</arcgis-toolbar-group>`;
1282
+ return y`<arcgis-toolbar-group .priority=${g} .preferEndSlot=${l}>${u}</arcgis-toolbar-group>`;
1274
1283
  }
1275
1284
  }
1276
- _renderCommand({ active: e, afterCreate: t, afterRemoved: o, afterUpdate: s, appearance: c, icon: d, disabled: r, id: n, kind: u, labelKey: g, labelParameters: l, loading: v, tooltipKey: m, iconFlipRTL: b, onClick: C, refKey: P, textEnabled: E, renderAsAction: K }) {
1277
- const { _messages: G, _refMap: H, layout: $ } = this, k = B(g, G), A = k === void 0 ? g : l ? j(k, l) : k, R = G?.[m] ?? A, V = P ? F(H, P, O) : this.#n, x = { afterCreate: t, afterRemoved: o, afterUpdate: s };
1278
- return K ? y`<arcgis-toolbar-action .active=${e} .appearance=${c} .disabled=${r} .icon=${d} .iconFlipRtl=${b} id=${n ?? D} .kind=${u} .loading=${v} .labelText=${$ === "horizontal" ? A : ""} .textEnabled=${E} .tooltipText=${$ === "horizontal" && E ? "" : R} @arcgisToolbarItemSelected=${C} ${W(x)} ${M(V)}></arcgis-toolbar-action>` : y`<arcgis-toolbar-item .active=${e} .disabled=${r} .icon=${d} id=${n ?? D} .iconFlipRtl=${b} .labelText=${A} .tooltipText=${R} @arcgisItemSelected=${C} ${W(x)} ${M(V)}></arcgis-toolbar-item>`;
1285
+ _renderCommand({ active: e, afterCreate: t, afterRemoved: o, afterUpdate: s, appearance: a, icon: c, disabled: l, id: n, kind: g, labelKey: u, labelParameters: r, loading: v, tooltipKey: m, iconFlipRTL: b, onClick: C, refKey: k, textEnabled: E, renderAsAction: U }) {
1286
+ const { _messages: G, _refMap: H, layout: R } = this, P = D(u, G), A = P === void 0 ? u : r ? j(P, r) : P, V = G?.[m] ?? A, $ = k ? F(H, k, L) : this.#n, x = { afterCreate: t, afterRemoved: o, afterUpdate: s };
1287
+ return U ? y`<arcgis-toolbar-action .active=${e} .appearance=${a} .disabled=${l} .icon=${c} .iconFlipRtl=${b} id=${n ?? I} .kind=${g} .loading=${v} .labelText=${R === "horizontal" ? A : ""} .textEnabled=${E} .tooltipText=${R === "horizontal" && E ? "" : V} @arcgisToolbarItemSelected=${C} ${B(x)} ${M($)}></arcgis-toolbar-action>` : y`<arcgis-toolbar-item .active=${e} .disabled=${l} .icon=${c} id=${n ?? I} .iconFlipRtl=${b} .labelText=${A} .tooltipText=${V} @arcgisItemSelected=${C} ${B(x)} ${M($)}></arcgis-toolbar-item>`;
1279
1288
  }
1280
1289
  }
1281
- N("arcgis-sketch", Ve);
1290
+ N("arcgis-sketch", $e);
1282
1291
  export {
1283
- Ve as ArcgisSketch
1292
+ $e as ArcgisSketch
1284
1293
  };