@arcgis/map-components 5.2.0-next.161 → 5.2.0-next.162

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 (277) hide show
  1. package/dist/cdn/{HCN3UC4W.js → 24P3B56P.js} +1 -1
  2. package/dist/cdn/{QX33OCXB.js → 2DTNZ5ZM.js} +1 -1
  3. package/dist/cdn/{DSDPDMLP.js → 2H2YCUTD.js} +1 -1
  4. package/dist/cdn/{3L2J4JFP.js → 2IAD3DI5.js} +1 -1
  5. package/dist/cdn/2MVAMDNS.js +2 -0
  6. package/dist/cdn/{RZQNEEP6.js → 2TXVUKFK.js} +1 -1
  7. package/dist/cdn/{UWKXYCO3.js → 2V3NZCGY.js} +1 -1
  8. package/dist/cdn/{HLGU3U73.js → 32AID6SI.js} +1 -1
  9. package/dist/cdn/{JPKB745U.js → 3QTRWVXW.js} +1 -1
  10. package/dist/cdn/{EESGZV4K.js → 3SFLR6O5.js} +1 -1
  11. package/dist/cdn/{YHKTMUY7.js → 3U73LNOL.js} +1 -1
  12. package/dist/cdn/{CQQM24VF.js → 3VWROBRU.js} +1 -1
  13. package/dist/cdn/{5V2DO6ZW.js → 425K6TZP.js} +1 -1
  14. package/dist/cdn/{RAOEF6YV.js → 4JUQKQVX.js} +1 -1
  15. package/dist/cdn/{XPGC5GAG.js → 4KEMJ2WV.js} +1 -1
  16. package/dist/cdn/{T4V5O3FK.js → 4LYPP56N.js} +1 -1
  17. package/dist/cdn/{4WAV5GOL.js → 4MORGCH6.js} +1 -1
  18. package/dist/cdn/{DMYMCGHJ.js → 4NZ7IXTN.js} +1 -1
  19. package/dist/cdn/{PRTHX6OC.js → 4OPDS2IX.js} +1 -1
  20. package/dist/cdn/{7DAQGPGD.js → 4RH7KXGJ.js} +1 -1
  21. package/dist/cdn/{B476G3EX.js → 4TTVR7UK.js} +1 -1
  22. package/dist/cdn/{WRJNCIEP.js → 4X4YC73A.js} +1 -1
  23. package/dist/cdn/{S6M66TIN.js → 53ZSDYUK.js} +1 -1
  24. package/dist/cdn/{YOUMOTN3.js → 54QHGR6M.js} +1 -1
  25. package/dist/cdn/55FMVRQF.js +2 -0
  26. package/dist/cdn/{VWFQCWGB.js → 5DSWKRMF.js} +1 -1
  27. package/dist/cdn/{IRZGEFF5.js → 5GMH7WO5.js} +1 -1
  28. package/dist/cdn/{27GJE7OY.js → 5J3TRMV4.js} +1 -1
  29. package/dist/cdn/{EOTKZ4F3.js → 5NOOFVO3.js} +1 -1
  30. package/dist/cdn/{XCWZZUSV.js → 5P3YDA2J.js} +1 -1
  31. package/dist/cdn/{OHLJ6POC.js → 5SPGDKNU.js} +1 -1
  32. package/dist/cdn/{FFJCCMDZ.js → 5SQOFA55.js} +1 -1
  33. package/dist/cdn/{7EQZKGJN.js → 5WVYY3F2.js} +1 -1
  34. package/dist/cdn/{CUF7GCDT.js → 67V3RORD.js} +1 -1
  35. package/dist/cdn/{5UOXHOVU.js → 6C5HYJTX.js} +1 -1
  36. package/dist/cdn/{MEZHGYCH.js → 6HBNUMMM.js} +1 -1
  37. package/dist/cdn/{ZW2ZBNX2.js → 6I4O4OP6.js} +1 -1
  38. package/dist/cdn/{J6MU74RO.js → 6PMF2LH7.js} +1 -1
  39. package/dist/cdn/{YKSVOTDV.js → 6QHFD6GE.js} +1 -1
  40. package/dist/cdn/{CF4OY56S.js → 6SRNQFHU.js} +1 -1
  41. package/dist/cdn/{3YXCLF3K.js → 7H7DAOEA.js} +1 -1
  42. package/dist/cdn/{7DDCU3NB.js → 7HL355FC.js} +1 -1
  43. package/dist/cdn/{OGAUCGGG.js → 7HZWKW7P.js} +1 -1
  44. package/dist/cdn/{MPKC74OS.js → 7KWAYOVZ.js} +1 -1
  45. package/dist/cdn/{BSTO7TGD.js → 7LHMQDVA.js} +1 -1
  46. package/dist/cdn/{AW3C3DKA.js → 7O24MNAQ.js} +1 -1
  47. package/dist/cdn/7PMSUAOO.js +2 -0
  48. package/dist/cdn/{3E56Q4ZY.js → 7QWDALXI.js} +1 -1
  49. package/dist/cdn/{N6VSP7BU.js → 7XHT5OZW.js} +1 -1
  50. package/dist/cdn/{VABVK3ZN.js → AAMMLBR5.js} +1 -1
  51. package/dist/cdn/{YAEJKOYY.js → ABISOC5K.js} +1 -1
  52. package/dist/cdn/{O57LOC52.js → AHTSFISJ.js} +1 -1
  53. package/dist/cdn/{XAD4PUBU.js → ALYYYAT6.js} +1 -1
  54. package/dist/cdn/{U6VZT3HC.js → ANACVHHA.js} +1 -1
  55. package/dist/cdn/{FZWFKZLW.js → ANTO53P2.js} +1 -1
  56. package/dist/cdn/{VTCM7AV2.js → B6T5J7AE.js} +1 -1
  57. package/dist/cdn/{54CLZESW.js → BBP7HJ56.js} +1 -1
  58. package/dist/cdn/BFMIWUQN.js +2 -0
  59. package/dist/cdn/{VCSX4G2U.js → BJ55UYFS.js} +1 -1
  60. package/dist/cdn/{GF7RZ4IH.js → BKUFQNUO.js} +1 -1
  61. package/dist/cdn/{FMIWBKT4.js → BL77QP2X.js} +1 -1
  62. package/dist/cdn/{JBR3FYAN.js → BQBZX2LN.js} +1 -1
  63. package/dist/cdn/{CX45KI3X.js → BRJV5N3H.js} +1 -1
  64. package/dist/cdn/{GV3IXBBT.js → BSB356TD.js} +1 -1
  65. package/dist/cdn/{R3IITUG6.js → BZF63OMM.js} +1 -1
  66. package/dist/cdn/{GVZKVOM7.js → C6T7AQOJ.js} +1 -1
  67. package/dist/cdn/{V2GMDCVJ.js → CBAVPTEE.js} +1 -1
  68. package/dist/cdn/{ZUAR3LO3.js → CJX7JGJD.js} +1 -1
  69. package/dist/cdn/{J23DTKII.js → CL4XDG6Z.js} +1 -1
  70. package/dist/cdn/{K6D2JHC4.js → CL5JQN4B.js} +1 -1
  71. package/dist/cdn/{7VVOJSSE.js → CO7SJMPF.js} +1 -1
  72. package/dist/cdn/{RQLMXLJC.js → CTWXAKDR.js} +1 -1
  73. package/dist/cdn/{DOEKV7G3.js → D33FNOVH.js} +1 -1
  74. package/dist/cdn/{QTDJVI5F.js → D7CBD7BC.js} +1 -1
  75. package/dist/cdn/{E53ARLWV.js → D7DOUWMR.js} +1 -1
  76. package/dist/cdn/{IXWGGAVX.js → DA7OOJVG.js} +1 -1
  77. package/dist/cdn/{XYNRLVTU.js → DHZABM2L.js} +1 -1
  78. package/dist/cdn/{LIN3GOTG.js → DQIPN7ZF.js} +1 -1
  79. package/dist/cdn/{3MQPSWL6.js → DQOQZ4MX.js} +1 -1
  80. package/dist/cdn/{X3DQNCTZ.js → DUVDBJYK.js} +1 -1
  81. package/dist/cdn/{HZX7MSQG.js → E6PKGP4K.js} +1 -1
  82. package/dist/cdn/{VJE33ARY.js → EAUQSXQK.js} +1 -1
  83. package/dist/cdn/{3O4SVNIK.js → EBXA4NR3.js} +1 -1
  84. package/dist/cdn/{RGBIJQV3.js → ECV3ABD6.js} +1 -1
  85. package/dist/cdn/{RHNZWKZV.js → EK2KOHA5.js} +1 -1
  86. package/dist/cdn/{WEAGLY7B.js → EMF6EVCU.js} +1 -1
  87. package/dist/cdn/{347XA2AR.js → EMGHJBT3.js} +1 -1
  88. package/dist/cdn/{Y2UYA3OR.js → EOLJLXXY.js} +1 -1
  89. package/dist/cdn/{IU22RA7Z.js → EQX7MHI6.js} +1 -1
  90. package/dist/cdn/{HLHQ2ITC.js → ERO6VEJC.js} +1 -1
  91. package/dist/cdn/{6BLFYSDN.js → EV2CPCXL.js} +1 -1
  92. package/dist/cdn/{OFGB5CLF.js → EZNPL6KC.js} +1 -1
  93. package/dist/cdn/{JCR7S6RP.js → F3JX74XA.js} +1 -1
  94. package/dist/cdn/{XTPRVANS.js → F47DLSXP.js} +1 -1
  95. package/dist/cdn/{GXRPNW37.js → F7O7VE64.js} +1 -1
  96. package/dist/cdn/{4F2ZWXO2.js → F7WGGRNJ.js} +1 -1
  97. package/dist/cdn/FDO6DYPA.js +2 -0
  98. package/dist/cdn/{CL2NYK7A.js → FDWA3SMO.js} +1 -1
  99. package/dist/cdn/{WVRJQQKH.js → FEOBPFWA.js} +1 -1
  100. package/dist/cdn/{4TTVVGYW.js → FHWZXMIK.js} +1 -1
  101. package/dist/cdn/{ZPH7M75T.js → FLECY5WX.js} +1 -1
  102. package/dist/cdn/{AAUN23S6.js → FRX7QU7D.js} +1 -1
  103. package/dist/cdn/{UCTJVPYB.js → FSS7JPXF.js} +1 -1
  104. package/dist/cdn/{I23AZWQL.js → FYPAQE4Y.js} +1 -1
  105. package/dist/cdn/G3DWZLJP.js +2 -0
  106. package/dist/cdn/{Z4WS2RBO.js → G62IMIVE.js} +1 -1
  107. package/dist/cdn/{H77SMV46.js → GARRMRRS.js} +1 -1
  108. package/dist/cdn/{CZOM5NWO.js → GAYVHR65.js} +1 -1
  109. package/dist/cdn/{B5GJ5JEW.js → GKNQZXPX.js} +1 -1
  110. package/dist/cdn/{J657IBDC.js → GOIKMQPW.js} +1 -1
  111. package/dist/cdn/{4JCUCTND.js → GQ7PSV5J.js} +1 -1
  112. package/dist/cdn/{SQYMNL75.js → GQWR6ITY.js} +1 -1
  113. package/dist/cdn/{CPIWLONX.js → GSUQ5AKK.js} +1 -1
  114. package/dist/cdn/{KVK6QLPV.js → GU37FSM6.js} +1 -1
  115. package/dist/cdn/{GCFCZZQX.js → GVI4ITFC.js} +1 -1
  116. package/dist/cdn/{N2BLQYTT.js → H6QQGYZN.js} +1 -1
  117. package/dist/cdn/{JAZGNQRP.js → HDDHFB4N.js} +1 -1
  118. package/dist/cdn/{HX4CDWS4.js → HSAD2CSX.js} +1 -1
  119. package/dist/cdn/{CROCDACG.js → HWLF3MJH.js} +1 -1
  120. package/dist/cdn/HYBKUYZ5.js +2 -0
  121. package/dist/cdn/{DMYAI77Y.js → HZ3DJS4Z.js} +1 -1
  122. package/dist/cdn/{AYNGSZAL.js → IBIZBZYQ.js} +1 -1
  123. package/dist/cdn/{ISIH65JW.js → IHCXEP2I.js} +1 -1
  124. package/dist/cdn/{I2A6UYGZ.js → IQ7JAUEM.js} +1 -1
  125. package/dist/cdn/{ITRD7ZY4.js → IVF3QBCM.js} +1 -1
  126. package/dist/cdn/{NBHZZ4E6.js → IY7PE5CE.js} +1 -1
  127. package/dist/cdn/{FGCIX2XQ.js → IZM3R6IJ.js} +1 -1
  128. package/dist/cdn/{SP73K22L.js → IZW2DVPQ.js} +1 -1
  129. package/dist/cdn/{XURL7UVF.js → J23NMWP3.js} +1 -1
  130. package/dist/cdn/{GPZIOLOS.js → J3SYIHDA.js} +1 -1
  131. package/dist/cdn/{26LWK3XB.js → J56MRLAB.js} +1 -1
  132. package/dist/cdn/{JBHRVHGS.js → J6FGJ5GL.js} +1 -1
  133. package/dist/cdn/{GT6FFZHJ.js → J7ZUTV66.js} +1 -1
  134. package/dist/cdn/{TB4YNDRB.js → JFPYMOGN.js} +1 -1
  135. package/dist/cdn/{EKR2SAT2.js → JG5OBAGE.js} +2 -2
  136. package/dist/cdn/{3PVLBFNC.js → JQL6EOCO.js} +1 -1
  137. package/dist/cdn/{HX4CSRAB.js → JZEZ3NUX.js} +1 -1
  138. package/dist/cdn/{H5AYEQ6D.js → K4XQS23R.js} +1 -1
  139. package/dist/cdn/{V6RSLRWE.js → K664I5PA.js} +1 -1
  140. package/dist/cdn/{PBLEDNYS.js → K7OJO77W.js} +1 -1
  141. package/dist/cdn/{XJ6DZ6AN.js → KO5AS6VW.js} +1 -1
  142. package/dist/cdn/{UMHGXP3S.js → KUSJI634.js} +1 -1
  143. package/dist/cdn/{3HS3DM5B.js → KXZFSNU7.js} +1 -1
  144. package/dist/cdn/{3DUIQTNG.js → KZM4VCVX.js} +1 -1
  145. package/dist/cdn/{XPIX7Z2Q.js → KZNIQR4I.js} +1 -1
  146. package/dist/cdn/{4PGC5LTJ.js → LAJR3HCR.js} +1 -1
  147. package/dist/cdn/{3A7S62FX.js → LFYJSBDP.js} +1 -1
  148. package/dist/cdn/{OX55WUIT.js → LH26HXV7.js} +1 -1
  149. package/dist/cdn/{UVSORYXI.js → LNXDL2NJ.js} +1 -1
  150. package/dist/cdn/{CORNSRXU.js → LOKVW7BI.js} +1 -1
  151. package/dist/cdn/{E5JCJOB3.js → LSPD67GR.js} +1 -1
  152. package/dist/cdn/{5SL2HI4G.js → MDGBXXHA.js} +1 -1
  153. package/dist/cdn/{RQG75Q2X.js → MHV5G6SE.js} +1 -1
  154. package/dist/cdn/{74SNPIFY.js → MISUZ26F.js} +1 -1
  155. package/dist/cdn/{Z5C6UBYP.js → MLB4A6K7.js} +1 -1
  156. package/dist/cdn/{BQKVSKYK.js → MMCTIVCI.js} +1 -1
  157. package/dist/cdn/{F6BKCG5R.js → MQ6XEY2R.js} +1 -1
  158. package/dist/cdn/{W3ENDJ6U.js → MXSRK7K5.js} +1 -1
  159. package/dist/cdn/{X3DYJCL3.js → MZ47CPKO.js} +1 -1
  160. package/dist/cdn/{PLVTYVUG.js → N3R4MICW.js} +1 -1
  161. package/dist/cdn/{Y5LZUAMK.js → N5ISIJH5.js} +1 -1
  162. package/dist/cdn/{F5WKI5HZ.js → NII3CQS5.js} +1 -1
  163. package/dist/cdn/{SFFTE3TG.js → NNX5QNWQ.js} +1 -1
  164. package/dist/cdn/{TD5NCGK6.js → NUHQPZL4.js} +1 -1
  165. package/dist/cdn/{QTTIUOSW.js → NV6GXURX.js} +1 -1
  166. package/dist/cdn/{IMPFB7YV.js → NY6QZ4MA.js} +1 -1
  167. package/dist/cdn/{WBI4RS3V.js → NZLJG4BL.js} +1 -1
  168. package/dist/cdn/{WQMZ7BDQ.js → NZROZFUD.js} +1 -1
  169. package/dist/cdn/{DPPZZO5W.js → O5Y24FRM.js} +1 -1
  170. package/dist/cdn/{YWS5RHVM.js → O67NWBOY.js} +1 -1
  171. package/dist/cdn/{FWXRRSBS.js → OEDRJOWH.js} +1 -1
  172. package/dist/cdn/{ALROLX35.js → OEL57WQN.js} +1 -1
  173. package/dist/cdn/{ECNRW3D5.js → OLB6I4UK.js} +1 -1
  174. package/dist/cdn/{KT7MEZHJ.js → OP3MZHXU.js} +1 -1
  175. package/dist/cdn/{TC6HL72N.js → OQPX2UPC.js} +1 -1
  176. package/dist/cdn/{PP6ZNQKD.js → OVPNI75B.js} +1 -1
  177. package/dist/cdn/{E4NTQBM3.js → PGA77WC5.js} +1 -1
  178. package/dist/cdn/{IFMBHZHX.js → PIMHCTPI.js} +1 -1
  179. package/dist/cdn/{3A3DGDW5.js → PJCNEOQF.js} +1 -1
  180. package/dist/cdn/{F4O7DFPZ.js → PUAHNTEG.js} +1 -1
  181. package/dist/cdn/{N4MW5VBL.js → Q65F6MWR.js} +1 -1
  182. package/dist/cdn/{2GDB3C5I.js → QHAQOS2G.js} +1 -1
  183. package/dist/cdn/{A4U2PDJP.js → QJ5KZEMN.js} +1 -1
  184. package/dist/cdn/{Z42QB2QP.js → QNAOKY55.js} +1 -1
  185. package/dist/cdn/{HGMLU4M2.js → QXWPPVRF.js} +1 -1
  186. package/dist/cdn/{YYBNA7EL.js → QZPSM252.js} +1 -1
  187. package/dist/cdn/{PEH4U3YV.js → RBXGMK4A.js} +1 -1
  188. package/dist/cdn/{4WXSFT6G.js → RFNA2JVW.js} +1 -1
  189. package/dist/cdn/{KBHLE7HT.js → RIOVVINY.js} +1 -1
  190. package/dist/cdn/{IJLCJVC4.js → RISGMK3U.js} +1 -1
  191. package/dist/cdn/{R2IBOCMY.js → RRI5FB6J.js} +1 -1
  192. package/dist/cdn/{CJ4KIA26.js → RUEKYGP5.js} +1 -1
  193. package/dist/cdn/{TNFZHEWD.js → RYAAG272.js} +1 -1
  194. package/dist/cdn/{ZOTONI4L.js → RZ73VWA5.js} +1 -1
  195. package/dist/cdn/{ELYDZHP5.js → S3LQLHD6.js} +1 -1
  196. package/dist/cdn/{2DKTF2EL.js → SJ3PDY6L.js} +1 -1
  197. package/dist/cdn/{FNSGB45I.js → SVREDYVS.js} +1 -1
  198. package/dist/cdn/SYRJ7DOA.js +2 -0
  199. package/dist/cdn/{7MOL5GJB.js → T45S5TFC.js} +1 -1
  200. package/dist/cdn/{CGN2BQTU.js → T4UAJPSY.js} +1 -1
  201. package/dist/cdn/{6J55YK5V.js → TDM7GIQ3.js} +1 -1
  202. package/dist/cdn/{5XVK5ZBK.js → TE6BOLKS.js} +1 -1
  203. package/dist/cdn/THPKHOLK.js +2 -0
  204. package/dist/cdn/{Q22KIHFH.js → TJSRSIUW.js} +1 -1
  205. package/dist/cdn/{AWQXKVLZ.js → TVMAPTLG.js} +1 -1
  206. package/dist/cdn/TZAGTA3R.js +2 -0
  207. package/dist/cdn/{AAMRTS35.js → U3WVHX7O.js} +1 -1
  208. package/dist/cdn/{55AW5TTI.js → U6DC2MQH.js} +1 -1
  209. package/dist/cdn/{VSDQVSOV.js → UAUGYXU6.js} +1 -1
  210. package/dist/cdn/{TU6ZG6ZI.js → UIKE7YYX.js} +1 -1
  211. package/dist/cdn/{4T2A7PAO.js → UL22S2IY.js} +1 -1
  212. package/dist/cdn/{CIUI5B52.js → US5ULFSA.js} +1 -1
  213. package/dist/cdn/{LHFB44QW.js → VF23MMWZ.js} +1 -1
  214. package/dist/cdn/{VEAJ52RN.js → VHEW6B4T.js} +1 -1
  215. package/dist/cdn/{SFSWQGLY.js → VHM26W3Y.js} +1 -1
  216. package/dist/cdn/{QJWFZYU4.js → VNAQ67E4.js} +1 -1
  217. package/dist/cdn/{TNRY4WWO.js → VNJX65J7.js} +1 -1
  218. package/dist/cdn/{ZVZVHZYX.js → VRGWZTR7.js} +1 -1
  219. package/dist/cdn/{7V7IKYJG.js → VULIDWWD.js} +1 -1
  220. package/dist/cdn/{4WP4DUBT.js → VZH34OGM.js} +1 -1
  221. package/dist/cdn/{2KP3MSHV.js → W3F5JSCP.js} +1 -1
  222. package/dist/cdn/{LL7R6ETJ.js → WBGDEHVN.js} +1 -1
  223. package/dist/cdn/{5763ZV75.js → WBL4UUCC.js} +1 -1
  224. package/dist/cdn/{6IVEAPNI.js → WC6DROK5.js} +1 -1
  225. package/dist/cdn/{XAADUJ74.js → WHUUMSXM.js} +1 -1
  226. package/dist/cdn/{RPHJDEZH.js → WMF2MPES.js} +1 -1
  227. package/dist/cdn/{PPKJKXSQ.js → WQA6TRAU.js} +1 -1
  228. package/dist/cdn/{6GFUBVBL.js → WQDAN4E5.js} +1 -1
  229. package/dist/cdn/{OBMM7WJD.js → WR4FT2W6.js} +1 -1
  230. package/dist/cdn/{JIQ4P34C.js → WTJKJDQI.js} +1 -1
  231. package/dist/cdn/WWE4AYSF.js +2 -0
  232. package/dist/cdn/{2CWTV6TC.js → X4OCMVNC.js} +1 -1
  233. package/dist/cdn/{MKCJXRXB.js → X5PDNDLF.js} +1 -1
  234. package/dist/cdn/{SREWXCMU.js → XUTYBAR3.js} +1 -1
  235. package/dist/cdn/{3NL42TBJ.js → XVIU2QPW.js} +1 -1
  236. package/dist/cdn/{GQXUCZYM.js → XZDFPYIT.js} +1 -1
  237. package/dist/cdn/{NRJ6LV6O.js → Y5RUICI6.js} +1 -1
  238. package/dist/cdn/{YPNGSV66.js → YAVGZJYT.js} +1 -1
  239. package/dist/cdn/{YLC4L2QV.js → YFUWLCCU.js} +1 -1
  240. package/dist/cdn/{4RMVG2NH.js → YKDKGRAW.js} +1 -1
  241. package/dist/cdn/{Y2LELW5Y.js → YTZT4H7K.js} +1 -1
  242. package/dist/cdn/{BKVCAAPF.js → YUWVZYZY.js} +1 -1
  243. package/dist/cdn/{TZ2LE7KS.js → YWH5JCGP.js} +1 -1
  244. package/dist/cdn/ZOFSFHBV.js +2 -0
  245. package/dist/cdn/{3SG4AC5C.js → ZQELYLR7.js} +1 -1
  246. package/dist/cdn/index.js +1 -1
  247. package/dist/components/arcgis-coordinate-conversion-next/customElement.js +29 -29
  248. package/dist/components/arcgis-elevation-profile/customElement.js +14 -20
  249. package/dist/components/arcgis-features-next/customElement.d.ts +2 -2
  250. package/dist/components/arcgis-features-next/customElement.js +27 -20
  251. package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +5 -5
  252. package/dist/components/arcgis-sketch/customElement.js +394 -204
  253. package/dist/components/arcgis-sketch/toolbar-sizing-controller.d.ts +96 -0
  254. package/dist/components/arcgis-time-bar-slider/customElement.d.ts +8 -0
  255. package/dist/components/arcgis-time-bar-slider/customElement.js +35 -35
  256. package/dist/docs/api.json +1 -1
  257. package/dist/docs/docs.json +1 -1
  258. package/dist/docs/vscode.html-custom-data.json +1 -1
  259. package/dist/docs/web-types.json +1 -1
  260. package/dist/index.d.ts +6 -0
  261. package/dist/types/lumina.d.ts +2 -0
  262. package/dist/types/preact.d.ts +2 -0
  263. package/dist/types/react.d.ts +2 -0
  264. package/dist/types/stencil.d.ts +2 -0
  265. package/package.json +6 -6
  266. package/dist/cdn/5K54VOLZ.js +0 -2
  267. package/dist/cdn/6JYHS4C3.js +0 -2
  268. package/dist/cdn/6YP2FZDY.js +0 -2
  269. package/dist/cdn/AN3BGKZP.js +0 -2
  270. package/dist/cdn/EZCNI254.js +0 -2
  271. package/dist/cdn/PT7IKQT5.js +0 -2
  272. package/dist/cdn/QQECON7F.js +0 -2
  273. package/dist/cdn/UN7EG7PC.js +0 -2
  274. package/dist/cdn/WYNLO2MH.js +0 -2
  275. package/dist/cdn/XKHGN6LQ.js +0 -2
  276. package/dist/cdn/YDB2XJRU.js +0 -2
  277. package/dist/cdn/YY45XUPP.js +0 -2
@@ -1,31 +1,32 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import { c as F } from "../../chunks/runtime.js";
3
- import { css as H, noChange as x, html as m } from "lit";
4
- import { substitute as q } from "@arcgis/core/intl.js";
5
- import { usePropertyChange as z, useWatchAttributes as N } from "@arcgis/lumina/controllers";
6
- import { reEmitEvent as f } from "@arcgis/lumina-toolkit/reEmitEvent";
7
- import j from "@arcgis/core/layers/GraphicsLayer.js";
8
- import J from "@arcgis/core/symbols/TextSymbol.js";
9
- import { LitElement as Q, createEvent as X, nothing as I } from "@arcgis/lumina";
10
- import { watch as v, on as Y, whenOnce as Z } from "@arcgis/core/core/reactiveUtils.js";
11
- import { u as ee } from "../../chunks/useT9n.js";
12
- import { m as te } from "../../chunks/useViewModel.js";
13
- import { V as T } from "../../chunks/visible-element.js";
14
- import { createRef as E, ref as M } from "lit/directives/ref.js";
15
- import ie from "@arcgis/core/widgets/Sketch/SketchViewModel.js";
16
- import { S as oe } from "../../chunks/resources.js";
17
- import { getOrCreateMapValue as W, createReactiveMap as se } from "@arcgis/core/applications/Components/featureUtils.js";
18
- import { LayoutPriorities as y } from "@arcgis/common-components";
19
- import ne from "@arcgis/core/core/Accessor.js";
20
- import { property as a, subclass as le } from "@arcgis/core/core/accessorSupport/decorators.js";
21
- import { ignoreAbortErrors as C } from "@arcgis/core/core/promiseUtils.js";
22
- import ae from "@arcgis/core/widgets/Sketch/VisibleElements.js";
23
- import re from "@arcgis/core/widgets/support/SelectionToolbar/SelectionToolbarViewModel.js";
24
- import { c as ce } from "../../chunks/loader-utils.js";
25
- import { AsyncDirective as de } from "lit/async-directive.js";
26
- import { directive as he, PartType as pe } from "lit/directive.js";
27
- import { r as ue } from "../../chunks/async-utils.js";
28
- const ge = [
2
+ import { c as N } from "../../chunks/runtime.js";
3
+ import { css as q, noChange as I, html as y } from "lit";
4
+ import { substitute as j } from "@arcgis/core/intl.js";
5
+ import { GenericController as J, usePropertyChange as Q, useWatchAttributes as X } from "@arcgis/lumina/controllers";
6
+ import { reEmitEvent as S } from "@arcgis/lumina-toolkit/reEmitEvent";
7
+ import Y from "@arcgis/core/layers/GraphicsLayer.js";
8
+ import Z from "@arcgis/core/symbols/TextSymbol.js";
9
+ import { LitElement as ee, createEvent as te, nothing as B } from "@arcgis/lumina";
10
+ import { watch as f, on as ie, whenOnce as oe } from "@arcgis/core/core/reactiveUtils.js";
11
+ import { u as se } from "../../chunks/useT9n.js";
12
+ import { m as ne } from "../../chunks/useViewModel.js";
13
+ import { V as _ } from "../../chunks/visible-element.js";
14
+ import { createRef as O, ref as M } from "lit/directives/ref.js";
15
+ import le from "@arcgis/core/widgets/Sketch/SketchViewModel.js";
16
+ import { S as re } from "../../chunks/resources.js";
17
+ import { getOrCreateMapValue as F, createReactiveMap as ae } from "@arcgis/core/applications/Components/featureUtils.js";
18
+ import { LayoutPriorities as T } from "@arcgis/common-components";
19
+ import ce from "@arcgis/core/core/Accessor.js";
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";
22
+ import de from "@arcgis/core/widgets/Sketch/VisibleElements.js";
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";
26
+ import { directive as me, PartType as ve } from "lit/directive.js";
27
+ import { r as fe } from "../../chunks/async-utils.js";
28
+ import { observeAncestorsMutation as ye } from "@arcgis/toolkit/dom";
29
+ const be = [
29
30
  "bottom-end",
30
31
  "bottom-start",
31
32
  "bottom-left",
@@ -34,7 +35,7 @@ const ge = [
34
35
  "top-start",
35
36
  "top-left",
36
37
  "top-right"
37
- ], me = new Set(ge);
38
+ ], Ce = new Set(be);
38
39
  function D(i, e) {
39
40
  let t = e;
40
41
  for (const o of i.split(".")) {
@@ -44,7 +45,7 @@ function D(i, e) {
44
45
  }
45
46
  return typeof t == "string" ? t : void 0;
46
47
  }
47
- const ve = H`.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}`, fe = {
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 = {
48
49
  point: "pin",
49
50
  polyline: "line",
50
51
  polygon: "polygon",
@@ -55,45 +56,48 @@ const ve = H`.editing-controls-panel{min-inline-size:100px;max-inline-size:400px
55
56
  freehandPolygon: "freehand-area",
56
57
  freehandPolyline: "freehand",
57
58
  text: "text"
58
- }, ye = {
59
+ }, we = {
59
60
  selectionTools: {
60
- defaultPriority: y.Default,
61
+ defaultPriority: T.Default,
61
62
  groupKind: "split-button",
62
63
  overflowLabel: "selection"
63
64
  },
64
65
  selectionSet: {
65
- defaultPriority: y.High,
66
+ defaultPriority: T.High,
66
67
  groupKind: "actions"
67
68
  },
68
69
  createTools: {
69
- defaultPriority: y.High,
70
+ defaultPriority: T.High,
70
71
  groupKind: "more-button",
71
72
  overflowLabel: "drawing"
72
73
  },
73
74
  undoRedo: {
74
- defaultPriority: y.Medium,
75
+ defaultPriority: T.Medium,
75
76
  groupKind: "split-button",
76
- overflowLabel: "action"
77
+ overflowLabel: "action",
78
+ preferEndSlot: !0
77
79
  },
78
80
  settings: {
79
- defaultPriority: y.Max,
81
+ defaultPriority: T.Max,
80
82
  groupKind: "more-button",
81
- overflowLabel: "action"
83
+ overflowLabel: "action",
84
+ preferEndSlot: !0
82
85
  },
83
86
  geometrySimplification: {
84
- defaultPriority: y.Default,
85
- groupKind: "actions"
87
+ defaultPriority: T.Default,
88
+ groupKind: "actions",
89
+ preferEndSlot: !0
86
90
  }
87
91
  };
88
- var Ce = Object.defineProperty, be = Object.getOwnPropertyDescriptor, l = (i, e, t, o) => {
89
- for (var s = o > 1 ? void 0 : o ? be(e, t) : e, d = i.length - 1, h; d >= 0; d--)
90
- (h = i[d]) && (s = (o ? h(e, t, s) : h(s)) || s);
91
- return o && s && Ce(e, t, s), s;
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;
92
96
  };
93
- let n = class extends ne {
97
+ let a = class extends ce {
94
98
  //#region Lifecycle
95
99
  constructor(i) {
96
- super(i), this._effectiveRenderStateCache = /* @__PURE__ */ new Map(), this._effectiveGeometrySimplificationInProgress = !1, this.visibleElements = new ae(), this.settingsPopoverOpen = !1, this.availableCreateTools = [
100
+ super(i), this._effectiveRenderStateCache = /* @__PURE__ */ new Map(), this._effectiveGeometrySimplificationInProgress = !1, this.visibleElements = new de(), this.settingsPopoverOpen = !1, this.availableCreateTools = [
97
101
  "point",
98
102
  "polyline",
99
103
  "freehandPolyline",
@@ -104,21 +108,21 @@ let n = class extends ne {
104
108
  ];
105
109
  }
106
110
  initialize() {
107
- this.selectionViewModel ??= new re({ persistSelection: !1 }), this.addHandles([
108
- v(
111
+ this.selectionViewModel ??= new pe({ persistSelection: !1 }), this.addHandles([
112
+ f(
109
113
  () => this.sketchViewModel,
110
114
  (i, e) => {
111
115
  i !== e && this._effectiveRenderStateCache.clear();
112
116
  },
113
117
  { sync: !0 }
114
118
  ),
115
- ce({
119
+ ue({
116
120
  getLoading: () => this.sketchViewModel?.geometrySimplificationInProgress ?? !1,
117
121
  setEffectiveLoading: (i) => {
118
122
  this._effectiveGeometrySimplificationInProgress = i;
119
123
  }
120
124
  }),
121
- v(
125
+ f(
122
126
  () => this.view,
123
127
  (i) => {
124
128
  this.selectionViewModel.view = i;
@@ -126,7 +130,7 @@ let n = class extends ne {
126
130
  { initial: !0, sync: !0 }
127
131
  ),
128
132
  // Ensure the SelectionViewModel always has the latest layer
129
- v(
133
+ f(
130
134
  () => this.sketchViewModel?.layer,
131
135
  (i) => this.selectionViewModel.sources = i ? [i] : [],
132
136
  { initial: !0, sync: !0 }
@@ -135,21 +139,21 @@ let n = class extends ne {
135
139
  i.length && this.update(i);
136
140
  }),
137
141
  // Cancel active tool when selection activates
138
- v(
142
+ f(
139
143
  () => this.selectionViewModel.activeOperation,
140
144
  (i) => {
141
145
  i && (this.sketchViewModel?.cancel(), this._activeCustomToolOptions = void 0);
142
146
  },
143
147
  { sync: !0 }
144
148
  ),
145
- Y(
149
+ ie(
146
150
  () => this.sketchViewModel,
147
151
  "create",
148
152
  (i) => {
149
153
  i.state === "complete" && this.sketchViewModel?.creationMode !== "continuous" && (this._activeCustomToolOptions = void 0);
150
154
  }
151
155
  ),
152
- v(
156
+ f(
153
157
  () => this.visibleElements.settingsMenu,
154
158
  (i) => {
155
159
  i || (this.settingsPopoverOpen = !1);
@@ -205,27 +209,27 @@ let n = class extends ne {
205
209
  const { sketchViewModel: i } = this;
206
210
  if (!i)
207
211
  return [];
208
- const e = i.effectiveAvailablePlugins, t = this.state === "disabled", o = this.visibleElements.createTools, s = this.activeTool, d = this._activeCustomToolOptions, h = d || !i.firstPluginWithSwappableLeaf ? this._customToolOptions : [], u = i.rootPlugins, r = h?.map((c) => ({
209
- active: c === d,
212
+ 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) => ({
213
+ active: l === c,
210
214
  disabled: t,
211
- icon: c.icon,
212
- labelKey: c.label,
213
- onClick: c === d ? () => this._cancelActiveOperation() : () => this._activateLegacyDrawTool(c.toolName, c.createOptions, c)
215
+ icon: l.icon,
216
+ labelKey: l.label,
217
+ onClick: l === c ? () => this._cancelActiveOperation() : () => this._activateLegacyDrawTool(l.toolName, l.createOptions, l)
214
218
  })) ?? [];
215
- if (d && u)
216
- return [...this._pluginsToActions(u), ...r];
219
+ if (c && r)
220
+ return [...this._pluginsToActions(r), ...n];
217
221
  if (e?.length && this.view?.type !== "3d")
218
- return [...this._pluginsToActions(e), ...r];
219
- const g = this.view?.type === "3d";
222
+ return [...this._pluginsToActions(e), ...n];
223
+ const u = this.view?.type === "3d";
220
224
  return [
221
- ...this.availableCreateTools?.filter((c) => g && c === "multipoint" ? !1 : c === "mesh" ? !0 : o[c])?.map((c) => ({
222
- active: c === s,
225
+ ...this.availableCreateTools?.filter((l) => u && l === "multipoint" ? !1 : l === "mesh" ? !0 : o[l])?.map((l) => ({
226
+ active: l === s,
223
227
  disabled: t,
224
- icon: fe[c],
225
- labelKey: `draw.${c}`,
226
- onClick: c === s ? () => this._cancelActiveOperation() : () => this._activateLegacyDrawTool(c)
228
+ icon: Te[l],
229
+ labelKey: `draw.${l}`,
230
+ onClick: l === s ? () => this._cancelActiveOperation() : () => this._activateLegacyDrawTool(l)
227
231
  })) ?? [],
228
- ...r
232
+ ...n
229
233
  ];
230
234
  }
231
235
  get _shouldShowBackButton() {
@@ -273,30 +277,30 @@ let n = class extends ne {
273
277
  return t === "polygon" && o === "freehand" && e?.includes("freehandPolygon") ? "freehandPolygon" : t === "polyline" && o === "freehand" && e?.includes("freehandPolyline") ? "freehandPolyline" : t ?? void 0;
274
278
  }
275
279
  get _selectionCommands() {
276
- const { state: i, visibleElements: e, _activeSelectionTool: t, _customActions: o } = this, s = this.state === "disabled", d = [];
277
- this.sketchViewModel?.updateOnGraphicClick !== !1 && d.push({
280
+ const { state: i, visibleElements: e, _activeSelectionTool: t, _customActions: o } = this, s = this.state === "disabled", c = [];
281
+ this.sketchViewModel?.updateOnGraphicClick !== !1 && c.push({
278
282
  active: i === "ready" && this._activeSelectionTool == null,
279
283
  disabled: s,
280
284
  icon: "cursor",
281
285
  labelKey: "selectFeature",
282
286
  onClick: () => this._activateDefaultSelectionTool()
283
287
  });
284
- const h = e.selectionTools;
285
- h["rectangle-selection"] && d.push({
288
+ const d = e.selectionTools;
289
+ d["rectangle-selection"] && c.push({
286
290
  active: t === "rectangle-selection",
287
291
  disabled: s,
288
292
  icon: "cursor-marquee",
289
293
  labelKey: "rectangleSelection",
290
294
  onClick: () => this._activateSelectionTool("rectangle-selection")
291
- }), h["lasso-selection"] && d.push({
295
+ }), d["lasso-selection"] && c.push({
292
296
  active: t === "lasso-selection",
293
297
  disabled: s,
294
298
  icon: "lasso-select",
295
299
  labelKey: "lassoSelection",
296
300
  onClick: () => this._activateSelectionTool("lasso-selection")
297
301
  });
298
- const u = o?.get("selection-toolbar");
299
- return u && d.push(...this._customActionsToSketchActions(u)), d;
302
+ const r = o?.get("selection-toolbar");
303
+ return r && c.push(...this._customActionsToSketchActions(r)), c;
300
304
  }
301
305
  get _selectionSetActions() {
302
306
  const i = this.sketchViewModel?.updateGraphics.length ?? 0;
@@ -408,7 +412,7 @@ let n = class extends ne {
408
412
  await this._executeWhenReady(async () => {
409
413
  this.cancelAll();
410
414
  const t = this.sketchViewModel;
411
- t && await C(t.create(i, e));
415
+ t && await w(t.create(i, e));
412
416
  });
413
417
  }
414
418
  /**
@@ -419,9 +423,9 @@ let n = class extends ne {
419
423
  const e = new AbortController();
420
424
  this._pendingCommandAbortController = e;
421
425
  try {
422
- await C(
426
+ await w(
423
427
  (async () => {
424
- this.sketchViewModel?.geometrySimplificationInProgress && await Z(() => !this.sketchViewModel?.geometrySimplificationInProgress, e.signal), e.signal.aborted || await i();
428
+ this.sketchViewModel?.geometrySimplificationInProgress && await oe(() => !this.sketchViewModel?.geometrySimplificationInProgress, e.signal), e.signal.aborted || await i();
425
429
  })()
426
430
  );
427
431
  } finally {
@@ -443,7 +447,7 @@ let n = class extends ne {
443
447
  if (e?.length) {
444
448
  const o = /* @__PURE__ */ new Map();
445
449
  for (const s of e)
446
- W(o, s.position, () => []).push(s);
450
+ F(o, s.position, () => []).push(s);
447
451
  this._customActions = o;
448
452
  } else
449
453
  this._customActions = void 0;
@@ -460,7 +464,7 @@ let n = class extends ne {
460
464
  async update(i, e) {
461
465
  await this._executeWhenReady(async () => {
462
466
  const t = this.sketchViewModel;
463
- t && await C(t.update(i, e));
467
+ t && await w(t.update(i, e));
464
468
  });
465
469
  }
466
470
  // #endregion
@@ -491,10 +495,10 @@ let n = class extends ne {
491
495
  const t = this.sketchViewModel;
492
496
  if (t) {
493
497
  if (e) {
494
- t.cancel(), C(t.create(i));
498
+ t.cancel(), w(t.create(i));
495
499
  return;
496
500
  }
497
- t.firstPluginWithSwappableLeaf ? (t.replaceLeaf(i), this.view?.focus()) : C(t.create(i));
501
+ t.firstPluginWithSwappableLeaf ? (t.replaceLeaf(i), this.view?.focus()) : w(t.create(i));
498
502
  }
499
503
  });
500
504
  }
@@ -502,7 +506,7 @@ let n = class extends ne {
502
506
  this._executeWhenReady(() => {
503
507
  this._cancelSupportingOperations();
504
508
  const o = this.sketchViewModel;
505
- o && (this._activeCustomToolOptions = t, C(o.create(i, e)));
509
+ o && (this._activeCustomToolOptions = t, w(o.create(i, e)));
506
510
  });
507
511
  }
508
512
  _activateSelectionTool(i) {
@@ -569,97 +573,97 @@ let n = class extends ne {
569
573
  }
570
574
  // #endregion
571
575
  };
572
- l([
573
- a()
574
- ], n.prototype, "_isEffectiveRenderStateFrozen", 1);
575
- l([
576
- a()
577
- ], n.prototype, "_effectiveGeometrySimplificationInProgress", 2);
578
- l([
579
- a()
580
- ], n.prototype, "_state", 1);
581
- l([
582
- a()
583
- ], n.prototype, "_customToolOptions", 2);
584
- l([
585
- a()
586
- ], n.prototype, "_activeCustomToolOptions", 2);
587
- l([
588
- a()
589
- ], n.prototype, "_customActions", 2);
590
- l([
591
- a()
592
- ], n.prototype, "selectionViewModel", 2);
593
- l([
594
- a()
595
- ], n.prototype, "_activeSelectionTool", 1);
596
- l([
597
- a()
598
- ], n.prototype, "_activePluginUniqueIds", 1);
599
- l([
600
- a()
601
- ], n.prototype, "_createToolActions", 1);
602
- l([
603
- a()
604
- ], n.prototype, "_shouldShowBackButton", 1);
605
- l([
606
- a()
607
- ], n.prototype, "_selectionToolActions", 1);
608
- l([
609
- a()
610
- ], n.prototype, "_settingsActions", 1);
611
- l([
612
- a()
613
- ], n.prototype, "_activeTool", 1);
614
- l([
615
- a()
616
- ], n.prototype, "_selectionCommands", 1);
617
- l([
618
- a()
619
- ], n.prototype, "_selectionSetActions", 1);
620
- l([
621
- a()
622
- ], n.prototype, "_undoRedoActions", 1);
623
- l([
624
- a()
625
- ], n.prototype, "sketchViewModel", 2);
626
- l([
627
- a()
628
- ], n.prototype, "visibleElements", 2);
629
- l([
630
- a()
631
- ], n.prototype, "view", 2);
632
- l([
633
- a()
634
- ], n.prototype, "settingsPopoverOpen", 2);
635
- l([
636
- a()
637
- ], n.prototype, "availableCreateTools", 2);
638
- l([
639
- a()
640
- ], n.prototype, "state", 1);
641
- l([
642
- a()
643
- ], n.prototype, "activeTool", 1);
644
- l([
645
- a()
646
- ], n.prototype, "activePluginIds", 1);
647
- l([
648
- a()
649
- ], n.prototype, "groupedActions", 1);
650
- n = l([
651
- le("components.sketch.SketchComponentViewModel")
652
- ], n);
653
- class Te extends de {
576
+ h([
577
+ p()
578
+ ], a.prototype, "_isEffectiveRenderStateFrozen", 1);
579
+ h([
580
+ p()
581
+ ], a.prototype, "_effectiveGeometrySimplificationInProgress", 2);
582
+ h([
583
+ p()
584
+ ], a.prototype, "_state", 1);
585
+ h([
586
+ p()
587
+ ], a.prototype, "_customToolOptions", 2);
588
+ h([
589
+ p()
590
+ ], a.prototype, "_activeCustomToolOptions", 2);
591
+ h([
592
+ p()
593
+ ], a.prototype, "_customActions", 2);
594
+ h([
595
+ p()
596
+ ], a.prototype, "selectionViewModel", 2);
597
+ h([
598
+ p()
599
+ ], a.prototype, "_activeSelectionTool", 1);
600
+ h([
601
+ p()
602
+ ], a.prototype, "_activePluginUniqueIds", 1);
603
+ h([
604
+ p()
605
+ ], a.prototype, "_createToolActions", 1);
606
+ h([
607
+ p()
608
+ ], a.prototype, "_shouldShowBackButton", 1);
609
+ h([
610
+ p()
611
+ ], a.prototype, "_selectionToolActions", 1);
612
+ h([
613
+ p()
614
+ ], a.prototype, "_settingsActions", 1);
615
+ h([
616
+ p()
617
+ ], a.prototype, "_activeTool", 1);
618
+ h([
619
+ p()
620
+ ], a.prototype, "_selectionCommands", 1);
621
+ h([
622
+ p()
623
+ ], a.prototype, "_selectionSetActions", 1);
624
+ h([
625
+ p()
626
+ ], a.prototype, "_undoRedoActions", 1);
627
+ h([
628
+ p()
629
+ ], a.prototype, "sketchViewModel", 2);
630
+ h([
631
+ p()
632
+ ], a.prototype, "visibleElements", 2);
633
+ h([
634
+ p()
635
+ ], a.prototype, "view", 2);
636
+ h([
637
+ p()
638
+ ], a.prototype, "settingsPopoverOpen", 2);
639
+ h([
640
+ p()
641
+ ], a.prototype, "availableCreateTools", 2);
642
+ h([
643
+ p()
644
+ ], a.prototype, "state", 1);
645
+ h([
646
+ p()
647
+ ], a.prototype, "activeTool", 1);
648
+ h([
649
+ p()
650
+ ], a.prototype, "activePluginIds", 1);
651
+ h([
652
+ p()
653
+ ], a.prototype, "groupedActions", 1);
654
+ a = h([
655
+ he("components.sketch.SketchComponentViewModel")
656
+ ], a);
657
+ class Me extends ge {
654
658
  #t;
655
659
  #e = !1;
656
660
  #i;
657
661
  constructor(e) {
658
- if (super(e), e.type !== pe.ELEMENT)
662
+ if (super(e), e.type !== ve.ELEMENT)
659
663
  throw new Error("nodeHooks() can only be used on elements");
660
664
  }
661
665
  render(e) {
662
- return x;
666
+ return I;
663
667
  }
664
668
  update(e, [t]) {
665
669
  const o = e.element;
@@ -668,43 +672,228 @@ class Te extends de {
668
672
  const s = this.#e ? t.afterUpdate : t.afterCreate;
669
673
  return this.#t = o, this.#e = !0, this.#i = t, queueMicrotask(() => {
670
674
  o.isConnected && s?.(o);
671
- }), x;
675
+ }), I;
672
676
  }
673
677
  disconnected() {
674
678
  const e = this.#t, t = this.#i?.afterRemoved;
675
679
  !e || !t || queueMicrotask(() => {
676
- e.isConnected || ue(() => t(e), { timeout: 16 });
680
+ e.isConnected || fe(() => t(e), { timeout: 16 });
677
681
  });
678
682
  }
679
683
  }
680
- const B = he(Te), we = te((i) => new ie({
684
+ const W = me(Me), Pe = /* @__PURE__ */ new Set(["arcgis-map", "arcgis-scene"]), ke = 8;
685
+ class Ae extends J {
686
+ constructor(e) {
687
+ super(e), this.#t = new MutationObserver(() => this.#c()), this.#e = new ResizeObserver(() => this.#v()), this.#i = new ResizeObserver(([t]) => {
688
+ if (!t)
689
+ return;
690
+ const o = this.component.layout === "horizontal" ? t.contentRect.height : t.contentRect.width;
691
+ o !== this.#s && (this.#s = o, this.#v());
692
+ }), this.#h = [], this.ref = (t) => {
693
+ this.#o !== t && (this.#o = t, this.#r = void 0, this.#a = void 0, this.#c());
694
+ }, this.#u = () => this.#c(), this.exports = void 0, this.onConnected(() => this.#m()), this.onUpdated(() => {
695
+ this.#d !== this.component.layout && this.#c();
696
+ }), this.onDisconnected(() => this.#b()), this.onLifecycle(
697
+ () => f(
698
+ () => this.component.view?.attributionHeight,
699
+ () => {
700
+ this.#m();
701
+ },
702
+ { initial: !0 }
703
+ )
704
+ );
705
+ }
706
+ #t;
707
+ #e;
708
+ #i;
709
+ /** Same as #toolbarStack, but specifically used to track resize observations. */
710
+ #l;
711
+ /** Last observed height for horizontal layout, or width for vertical layout. */
712
+ #s;
713
+ #n;
714
+ #h;
715
+ #g;
716
+ #o;
717
+ /** Last style-write inputs, used to avoid repeating equivalent writes from observer notifications. */
718
+ #r;
719
+ #a;
720
+ /** Layout for which the current context was synchronized; distinct from the last applied style layout. */
721
+ #d;
722
+ /** Re-uses the same direction observation helper as useDirection; that API has onLifecycle-based cleanup API. */
723
+ #p;
724
+ #m() {
725
+ queueMicrotask(() => {
726
+ this.component.el.isConnected && this.#c();
727
+ });
728
+ }
729
+ #c() {
730
+ const e = this.#f();
731
+ if (!e) {
732
+ this.#y(), this.#b();
733
+ return;
734
+ }
735
+ this.#C(e.toolbar), this.#S(e), this.#T(e), this.#v(e);
736
+ }
737
+ #f() {
738
+ const e = this.component.el, t = e.parentElement, o = this.#o, s = e.assignedSlot;
739
+ if (!t || !Pe.has(t.localName) || !o || !s?.parentElement)
740
+ return;
741
+ const c = getComputedStyle(t).direction === "rtl" ? "rtl" : "ltr", d = K(e.slot, c);
742
+ if (!d)
743
+ return;
744
+ const r = Array.from(t.children).filter(
745
+ (n) => n instanceof HTMLElement && n.localName !== "arcgis-sketch"
746
+ );
747
+ return {
748
+ assignedSlot: s,
749
+ content: r,
750
+ direction: c,
751
+ parent: t,
752
+ position: d,
753
+ toolbar: o
754
+ };
755
+ }
756
+ #u;
757
+ /**
758
+ * Keep track of the cross-axis size changes to ensure layout solution remains up-to-date.
759
+ */
760
+ #C(e) {
761
+ 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));
762
+ }
763
+ #S(e) {
764
+ const t = e.assignedSlot;
765
+ 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"], () => {
766
+ this.#m();
767
+ }), this.#t.observe(e.parent, {
768
+ childList: !0,
769
+ subtree: !1
770
+ }));
771
+ }
772
+ #T(e) {
773
+ const t = [e.parent, ...e.content];
774
+ Ge(this.#h, t) || (this.#e.disconnect(), t.forEach((o) => this.#e.observe(o)), this.#h = t);
775
+ }
776
+ #v(e = this.#f()) {
777
+ if (!e) {
778
+ this.#y();
779
+ return;
780
+ }
781
+ const t = this.component.layout, o = Oe({
782
+ content: Le(e),
783
+ gap: ke,
784
+ layout: t,
785
+ position: e.position,
786
+ sameSlotReserve: $e(
787
+ e.assignedSlot,
788
+ this.component.el,
789
+ t,
790
+ e.assignedSlot.parentElement
791
+ ),
792
+ toolbarBounds: e.toolbar.getBoundingClientRect(),
793
+ viewBounds: e.parent.getBoundingClientRect()
794
+ });
795
+ this.#w(e.toolbar, t, o);
796
+ }
797
+ #w(e, t, o) {
798
+ 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 = ""));
799
+ }
800
+ /** Remove controller-owned inline sizing when the stack leaves a supported view slot. */
801
+ #y() {
802
+ 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);
803
+ }
804
+ /** Release subscriptions and cached measurements before disconnecting or entering a new context. */
805
+ #b() {
806
+ 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;
807
+ }
808
+ }
809
+ function Oe({
810
+ content: i,
811
+ gap: e,
812
+ layout: t,
813
+ position: o,
814
+ sameSlotReserve: s,
815
+ toolbarBounds: c,
816
+ viewBounds: d
817
+ }) {
818
+ const r = L(d, t), n = L(c, t), u = z(o, t), g = u ? n.start - r.start : r.end - n.end;
819
+ let l = 0, v = !1;
820
+ for (const b of i) {
821
+ if (z(b.position, t) === u)
822
+ continue;
823
+ const C = L(b.bounds, t);
824
+ if (!(C.crossStart < n.crossEnd && C.crossEnd > n.crossStart))
825
+ continue;
826
+ const E = u ? r.end - C.start : C.end - r.start;
827
+ l = Math.max(l, E), v = !0;
828
+ }
829
+ const m = v ? e : 0;
830
+ return Math.max(0, r.length - Math.max(0, g) - s - l - m);
831
+ }
832
+ function L(i, e) {
833
+ 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 };
834
+ }
835
+ function z(i, e) {
836
+ return e === "horizontal" ? i.endsWith("left") : i.startsWith("top");
837
+ }
838
+ function Le(i) {
839
+ return i.content.flatMap((e) => {
840
+ if (e.assignedSlot === i.assignedSlot)
841
+ return [];
842
+ const t = K(e.slot, i.direction);
843
+ return t ? [{ bounds: e.getBoundingClientRect(), position: t }] : [];
844
+ });
845
+ }
846
+ function Ge(i, e) {
847
+ return i.length === e.length && i.every((t, o) => t === e[o]);
848
+ }
849
+ function $e(i, e, t, o) {
850
+ const s = getComputedStyle(o).flexDirection;
851
+ if (!(t === "horizontal" ? s.startsWith("row") : s.startsWith("column")))
852
+ return 0;
853
+ const d = i.assignedElements().filter((g) => g instanceof HTMLElement), r = d.indexOf(e);
854
+ if (r < 0)
855
+ return 0;
856
+ 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);
857
+ return d.slice(r + 1).reduce((g, l) => {
858
+ 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);
859
+ return g + b;
860
+ }, u);
861
+ }
862
+ function K(i, e) {
863
+ const [t, o] = i.split("-");
864
+ if (t !== "bottom" && t !== "top")
865
+ return;
866
+ const s = o === "start" ? e === "ltr" ? "left" : "right" : o === "end" ? e === "ltr" ? "right" : "left" : o;
867
+ return s === "left" || s === "right" ? `${t}-${s}` : void 0;
868
+ }
869
+ const Re = ne((i) => new le({
681
870
  ...i,
682
871
  cancelUpdateOnClickAway: !0,
683
872
  creationMode: "continuous",
684
- textSymbol: new J({ text: "hello world" }),
873
+ textSymbol: new Z({ text: "hello world" }),
685
874
  useLegacyCreateTools: !1
686
875
  }));
687
- class Se extends Q {
876
+ class Ve extends ee {
688
877
  constructor() {
689
- super(), this.#t = new n(), this.#o = E(), this.#s = E(), this._defaultGraphicsLayer = null, this._messages = ee(), this.test = {
878
+ super(), this.#t = new a(), this.#l = O(), this.#s = new Ae(this), this.#n = O(), this._defaultGraphicsLayer = null, this._messages = se(), this.test = {
690
879
  componentViewModel: this.#t
691
- }, this._groupLayoutPriorityOverrides = /* @__PURE__ */ new Map(), this._contextualToolLocation = "separate", this._refMap = se(), this.viewModel = we(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.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.arcgisCreate = f(() => this.viewModel, "create"), this.arcgisDelete = f(() => this.viewModel, "delete"), this.arcgisDuplicate = f(() => this.viewModel, "duplicate"), this.arcgisPropertyChange = z()("activeTool", "geometrySimplificationInProgress", "state"), this.arcgisReady = X(), this.arcgisRedo = f(() => this.viewModel, "redo"), this.arcgisUndo = f(() => this.viewModel, "undo"), this.arcgisUpdate = f(() => this.viewModel, "update"), N(["slot"], () => {
880
+ }, 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.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.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"], () => {
692
881
  this.requestUpdate();
693
882
  }), this.manager.onLifecycle(() => [
694
- v(() => this.el.view?.map, (e, t) => {
883
+ f(() => this.el.view?.map, (e, t) => {
695
884
  const o = this._defaultGraphicsLayer;
696
885
  o && (t?.allLayers.includes(o) && t.remove(o), o && !e?.allLayers.includes(o) && e?.add(o));
697
886
  }),
698
- v(() => this.el.view, (e) => {
887
+ f(() => this.el.view, (e) => {
699
888
  this.viewModel.view = e, this.#t.view = e ?? void 0;
700
889
  }, { initial: !0 }),
701
- v(() => this.viewModel, (e) => {
890
+ f(() => this.viewModel, (e) => {
702
891
  this.#t.sketchViewModel = e, this.viewModel.pluginManager.sketch = this;
703
892
  }, { initial: !0 }),
704
- v(() => this.#t.state, (e, t) => {
893
+ f(() => this.#t.state, (e, t) => {
705
894
  this.requestUpdate("state", t);
706
895
  }, { initial: !0 }),
707
- v(() => this.#t.activeTool, () => this.arcgisPropertyChange.emit({ name: "activeTool" }), { sync: !0 })
896
+ f(() => this.#t.activeTool, () => this.arcgisPropertyChange.emit({ name: "activeTool" }), { sync: !0 })
708
897
  ]), this.manager.onDestroy(() => {
709
898
  this._defaultGraphicsLayer && this.el.view?.map?.allLayers.includes(this._defaultGraphicsLayer) && this.el.view?.map?.remove(this._defaultGraphicsLayer), this._defaultGraphicsLayer?.destroy(), this._defaultGraphicsLayer = null, this.#t.destroy();
710
899
  });
@@ -713,15 +902,16 @@ class Se extends Q {
713
902
  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, 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 };
714
903
  }
715
904
  static {
716
- this.styles = ve;
905
+ this.styles = Se;
717
906
  }
718
907
  #t;
719
908
  get #e() {
720
909
  return this.#t.visibleElements;
721
910
  }
722
911
  #i;
723
- #o;
912
+ #l;
724
913
  #s;
914
+ #n;
725
915
  get activeTool() {
726
916
  return this.#t.activeTool;
727
917
  }
@@ -919,7 +1109,7 @@ class Se extends Q {
919
1109
  }
920
1110
  get relativePosition() {
921
1111
  const e = this.el.slot;
922
- return this.#i ?? (me.has(e) ? e : oe.topRight);
1112
+ return this.#i ?? (Ce.has(e) ? e : re.topRight);
923
1113
  }
924
1114
  set relativePosition(e) {
925
1115
  this.#i = e;
@@ -1009,52 +1199,52 @@ class Se extends Q {
1009
1199
  this.#t.sketchViewModel?.undo();
1010
1200
  }
1011
1201
  connectedCallback() {
1012
- super.connectedCallback(), this.defaultGraphicsLayerDisabled || (this._defaultGraphicsLayer?.destroyed && (this._defaultGraphicsLayer = null), this._defaultGraphicsLayer ??= new j({ title: "Sketch Layer" }), this.layer = this._defaultGraphicsLayer, this.view?.map?.add(this.layer), this.viewModel.layer = this._defaultGraphicsLayer);
1202
+ super.connectedCallback(), this.defaultGraphicsLayerDisabled || (this._defaultGraphicsLayer?.destroyed && (this._defaultGraphicsLayer = null), this._defaultGraphicsLayer ??= new Y({ title: "Sketch Layer" }), this.layer = this._defaultGraphicsLayer, this.view?.map?.add(this.layer), this.viewModel.layer = this._defaultGraphicsLayer);
1013
1203
  }
1014
1204
  disconnectedCallback() {
1015
1205
  this._defaultGraphicsLayer && this.view?.map?.allLayers.includes(this._defaultGraphicsLayer) && this.view?.map?.remove(this._defaultGraphicsLayer), super.disconnectedCallback();
1016
1206
  }
1017
1207
  render() {
1018
- const e = this._refMap.get("settings")?.value?.actionElement, t = this.#t.groupedActions, { visualScale: o, layout: s, toolbarKind: d, relativePosition: h, _contextualToolLocation: u } = this, r = t.find(({ name: p }) => p === "selectionSet"), g = t.filter(({ name: p }) => p !== "selectionSet");
1019
- return m`<div class="toolbar-container"><arcgis-toolbar-stack .layout=${s} .toolbarKind=${d} .relativePosition=${h} .scale=${o} tooltip-appearance=calcite><arcgis-toolbar ${M(this.#o)}>${T({ hidden: !r?.visible || u !== "inline", children: this._renderActionGroup(r) })}${g.map((p) => this._renderActionGroup(p))}${T({ hidden: !r?.visible || u !== "inline-end", children: this._renderActionGroup(r) })}</arcgis-toolbar>${T({ hidden: !r?.visible || u !== "separate", children: m`<arcgis-toolbar>${this._renderActionGroup(r)}</arcgis-toolbar>` })}</arcgis-toolbar-stack></div>${T({ hidden: this.hideSettingsMenu, children: m`<arcgis-view-popover .open=${this.#t.settingsPopoverOpen} closable .heading=${this._messages.settings?.heading} .label=${this._messages.settings?.heading} .anchorElement=${e} .visualScale=${o} .actionBarElement=${this.#o.value?.barElement} @arcgisPropertyChange=${(p) => this.#t.settingsPopoverOpen = p.target.open ?? !1} .view=${this.view ?? void 0}>${this._renderSettings()}</arcgis-view-popover>` })}`;
1208
+ 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");
1209
+ 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>` })}`;
1020
1210
  }
1021
1211
  _renderSettings() {
1022
- const { autoDestroyDisabled: e, hideLabelsToggle: t, hideSnappingControls: o, hideTooltipsToggle: s, showSnappingControlsElementsHeader: d, useViewOptions: h, view: u, viewModel: r } = this;
1023
- return m`<div class="editing-controls-panel"><arcgis-sketch-tooltip-controls .hideLabelsToggle=${t} .hideTooltipsToggle=${h || s} .directionMode=${r.valueOptions.directionMode} .labelsEnabled=${r.labelOptions.enabled} .tooltipsEnabled=${r.tooltipOptions.enabled} @arcgisPropertyChange=${(g) => {
1024
- g.stopPropagation();
1025
- const { labelsEnabled: p, tooltipsEnabled: c, directionMode: w } = g.currentTarget, b = this.viewModel;
1026
- switch (g.detail.name) {
1212
+ const { autoDestroyDisabled: e, hideLabelsToggle: t, hideSnappingControls: o, hideTooltipsToggle: s, showSnappingControlsElementsHeader: c, useViewOptions: d, view: r, viewModel: n } = this;
1213
+ 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) => {
1214
+ u.stopPropagation();
1215
+ const { labelsEnabled: g, tooltipsEnabled: l, directionMode: v } = u.currentTarget, m = this.viewModel;
1216
+ switch (u.detail.name) {
1027
1217
  case "labelsEnabled":
1028
- b.labelOptions.enabled = p;
1218
+ m.labelOptions.enabled = g;
1029
1219
  break;
1030
1220
  case "directionMode":
1031
- b.valueOptions.directionMode = w;
1221
+ m.valueOptions.directionMode = v;
1032
1222
  break;
1033
1223
  case "tooltipsEnabled":
1034
- b.tooltipOptions.enabled = c;
1224
+ m.tooltipOptions.enabled = l;
1035
1225
  break;
1036
1226
  }
1037
- }}></arcgis-sketch-tooltip-controls>${!h && !o ? m`<arcgis-snapping-controls .autoDestroyDisabled=${e} .view=${u} .visibleElements=${this.#e.snappingControlsElements} .snappingOptions=${r.snappingOptions} .showHeader=${d} @arcgisPropertyChange=${(g) => g.stopPropagation()}></arcgis-snapping-controls>` : void 0}</div>`;
1227
+ }}></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>`;
1038
1228
  }
1039
1229
  _renderActionGroup({ visible: e, commands: t, name: o }) {
1040
1230
  if (!e || !t.length)
1041
1231
  return;
1042
- const { defaultPriority: s, groupKind: d, overflowLabel: h } = ye[o], r = (o === "geometrySimplification" ? void 0 : this._groupLayoutPriorityOverrides.get(o)) ?? s, g = t.map((c) => this._renderCommand(c)), p = D(`more.${h}`, this._messages);
1043
- switch (d) {
1232
+ 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 = D(`more.${d}`, this._messages);
1233
+ switch (c) {
1044
1234
  case "more-button":
1045
- return m`<arcgis-toolbar-group .priority=${r}><arcgis-toolbar-more-button .overflowActionLabel=${p} .priority=${r}>${g}</arcgis-toolbar-more-button></arcgis-toolbar-group>`;
1235
+ 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>`;
1046
1236
  case "split-button":
1047
- return m`<arcgis-toolbar-group .priority=${r}><arcgis-toolbar-split-button .overflowActionLabel=${p} .priority=${r}>${g}</arcgis-toolbar-split-button></arcgis-toolbar-group>`;
1237
+ 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>`;
1048
1238
  case "actions":
1049
- return m`<arcgis-toolbar-group .priority=${r}>${g}</arcgis-toolbar-group>`;
1239
+ return y`<arcgis-toolbar-group .priority=${u} .preferEndSlot=${r}>${g}</arcgis-toolbar-group>`;
1050
1240
  }
1051
1241
  }
1052
- _renderCommand({ active: e, afterCreate: t, afterRemoved: o, afterUpdate: s, appearance: d, icon: h, disabled: u, id: r, kind: g, labelKey: p, labelParameters: c, loading: w, tooltipKey: b, iconFlipRTL: P, onClick: k, refKey: A, textEnabled: O, renderAsAction: K }) {
1053
- const { _messages: L, _refMap: U, layout: G } = this, S = D(p, L), _ = S === void 0 ? p : c ? q(S, c) : S, V = L?.[b] ?? _, $ = A ? W(U, A, E) : this.#s, R = { afterCreate: t, afterRemoved: o, afterUpdate: s };
1054
- return K ? m`<arcgis-toolbar-action .active=${e} .appearance=${d} .disabled=${u} .icon=${h} .iconFlipRtl=${P} id=${r ?? I} .kind=${g} .loading=${w} .labelText=${G === "horizontal" ? _ : ""} .textEnabled=${O} .tooltipText=${G === "horizontal" && O ? "" : V} @arcgisToolbarItemSelected=${k} ${B(R)} ${M($)}></arcgis-toolbar-action>` : m`<arcgis-toolbar-item .active=${e} .disabled=${u} .icon=${h} id=${r ?? I} .iconFlipRtl=${P} .labelText=${_} .tooltipText=${V} @arcgisItemSelected=${k} ${B(R)} ${M($)}></arcgis-toolbar-item>`;
1242
+ _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: U }) {
1243
+ const { _messages: G, _refMap: H, layout: $ } = this, k = D(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 };
1244
+ return U ? y`<arcgis-toolbar-action .active=${e} .appearance=${c} .disabled=${r} .icon=${d} .iconFlipRtl=${b} id=${n ?? B} .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 ?? B} .iconFlipRtl=${b} .labelText=${A} .tooltipText=${R} @arcgisItemSelected=${C} ${W(x)} ${M(V)}></arcgis-toolbar-item>`;
1055
1245
  }
1056
1246
  }
1057
- F("arcgis-sketch", Se);
1247
+ N("arcgis-sketch", Ve);
1058
1248
  export {
1059
- Se as ArcgisSketch
1249
+ Ve as ArcgisSketch
1060
1250
  };