@arcgis/map-components 6.0.0-next.27 → 6.0.0-next.28

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 (395) hide show
  1. package/dist/cdn/{Q2ZQOGM2.js → 25PLRKZK.js} +1 -1
  2. package/dist/cdn/{74WM2EIB.js → 2AMSAAH4.js} +1 -1
  3. package/dist/cdn/{A5IFDSOU.js → 2GV5JA27.js} +1 -1
  4. package/dist/cdn/2NMV3XLT.js +2 -0
  5. package/dist/cdn/2RTEHAVG.js +2 -0
  6. package/dist/cdn/{GZ6UBR6R.js → 3NUN6DK3.js} +1 -1
  7. package/dist/cdn/3P44HZ3K.js +2 -0
  8. package/dist/cdn/3RSMD7RR.js +2 -0
  9. package/dist/cdn/3XHI22WD.js +2 -0
  10. package/dist/cdn/{FMLDKHWP.js → 3Y6GBQLR.js} +1 -1
  11. package/dist/cdn/4CBB6BPG.js +2 -0
  12. package/dist/cdn/4ZAEHJPD.js +2 -0
  13. package/dist/cdn/5B22465P.js +2 -0
  14. package/dist/cdn/5OABHJND.js +2 -0
  15. package/dist/cdn/5XMKJYT6.js +2 -0
  16. package/dist/cdn/{4DPAOAMZ.js → 6NSO42OW.js} +1 -1
  17. package/dist/cdn/6TXZMHLZ.js +2 -0
  18. package/dist/cdn/6Y36YFPN.js +2 -0
  19. package/dist/cdn/7BU454HH.js +2 -0
  20. package/dist/cdn/{Y7IM3OFU.js → 7HBOZBSC.js} +1 -1
  21. package/dist/cdn/{2YXWKKNB.js → 7ID5HLPS.js} +1 -1
  22. package/dist/cdn/7RO6N4XQ.js +2 -0
  23. package/dist/cdn/AGXUHDNS.js +2 -0
  24. package/dist/cdn/ARLGT35P.js +2 -0
  25. package/dist/cdn/BBKQM2GF.js +2 -0
  26. package/dist/cdn/BZXGVKKW.js +2 -0
  27. package/dist/cdn/{VWUH2VUY.js → C53YBNQ4.js} +1 -1
  28. package/dist/cdn/{2UAH624K.js → C74S3MND.js} +1 -1
  29. package/dist/cdn/CNXH745H.js +2 -0
  30. package/dist/cdn/{DFZ22GLY.js → COC7IS2Z.js} +1 -1
  31. package/dist/cdn/D6UG734Y.js +2 -0
  32. package/dist/cdn/DF2MPD7N.js +2 -0
  33. package/dist/cdn/DGE5KKLM.js +2 -0
  34. package/dist/cdn/DU2IPXWR.js +2 -0
  35. package/dist/cdn/DXTK47ES.js +2 -0
  36. package/dist/cdn/DXXGERVD.js +2 -0
  37. package/dist/cdn/{FH6Q5A5L.js → ETD3FAGO.js} +1 -1
  38. package/dist/cdn/F2YSSNVY.js +2 -0
  39. package/dist/cdn/FUNBSU6V.js +2 -0
  40. package/dist/cdn/G6L4BDEL.js +2 -0
  41. package/dist/cdn/GBMEEEGZ.js +2 -0
  42. package/dist/cdn/HGEK42FO.js +2 -0
  43. package/dist/cdn/HSBDELT3.js +2 -0
  44. package/dist/cdn/HTYTZ7GK.js +2 -0
  45. package/dist/cdn/{7U2V3LDM.js → I5F7MVDT.js} +1 -1
  46. package/dist/cdn/IIX2OICP.js +2 -0
  47. package/dist/cdn/{2SQGIY7T.js → IUYW4QOS.js} +1 -1
  48. package/dist/cdn/{QQLN6RWA.js → IYMK2NGU.js} +1 -1
  49. package/dist/cdn/IZYFQNW2.js +2 -0
  50. package/dist/cdn/J4FR5WZG.js +2 -0
  51. package/dist/cdn/J4K4UZ37.js +2 -0
  52. package/dist/cdn/{4FFEPX2D.js → JJXJPZUK.js} +1 -1
  53. package/dist/cdn/JWHVCBA3.js +2 -0
  54. package/dist/cdn/KWIZ45T7.js +2 -0
  55. package/dist/cdn/{VW35MSDL.js → L3MJ5NAZ.js} +1 -1
  56. package/dist/cdn/LC2ZSIJY.js +2 -0
  57. package/dist/cdn/LFA3XEWF.js +2 -0
  58. package/dist/cdn/LNTE4FDB.js +2 -0
  59. package/dist/cdn/LXTP2MVM.js +2 -0
  60. package/dist/cdn/M4GAOTVS.js +2 -0
  61. package/dist/cdn/M7ENWEKN.js +2 -0
  62. package/dist/cdn/NEPTDMLE.js +2 -0
  63. package/dist/cdn/NQXXIEV2.js +2 -0
  64. package/dist/cdn/NRFCVOMM.js +2 -0
  65. package/dist/cdn/{NLG5U5ZN.js → NVPN3I72.js} +1 -1
  66. package/dist/cdn/O2LMVVKS.js +2 -0
  67. package/dist/cdn/{FGU7NUST.js → O6KVILZF.js} +1 -1
  68. package/dist/cdn/O7OKLWBW.js +2 -0
  69. package/dist/cdn/OKAGFDAM.js +2 -0
  70. package/dist/cdn/ORKCIBIY.js +2 -0
  71. package/dist/cdn/{WU4NDBMC.js → P5U37XIA.js} +1 -1
  72. package/dist/cdn/PD7SLPIK.js +2 -0
  73. package/dist/cdn/PLDTM6JH.js +2 -0
  74. package/dist/cdn/PMXSSYFB.js +2 -0
  75. package/dist/cdn/PSTG4I4W.js +2 -0
  76. package/dist/cdn/PYCFYJ6M.js +2 -0
  77. package/dist/cdn/{Q2GYNZYQ.js → Q6A6EI6P.js} +1 -1
  78. package/dist/cdn/{47CFYOUT.js → Q7CJUHNT.js} +1 -1
  79. package/dist/cdn/{NTT5IV4A.js → QVD4YHTQ.js} +1 -1
  80. package/dist/cdn/{XTCYIS4Z.js → R2FI35AK.js} +1 -1
  81. package/dist/cdn/R6X3R7P2.js +2 -0
  82. package/dist/cdn/RAADOJWX.js +2 -0
  83. package/dist/cdn/RVXA65TI.js +2 -0
  84. package/dist/cdn/SI6RI664.js +2 -0
  85. package/dist/cdn/{7EKBNXGL.js → SOIBQ3FH.js} +1 -1
  86. package/dist/cdn/SOLTOPI3.js +2 -0
  87. package/dist/cdn/SSB4SQXA.js +2 -0
  88. package/dist/cdn/{YTZZRJ7Z.js → T4DVKA6R.js} +1 -1
  89. package/dist/cdn/TEDWUEQ4.js +2 -0
  90. package/dist/cdn/TEPHXOQ2.js +2 -0
  91. package/dist/cdn/TI7UH6FZ.js +2 -0
  92. package/dist/cdn/TLAJ3GMX.js +2 -0
  93. package/dist/cdn/ULOXCWFO.js +2 -0
  94. package/dist/cdn/UTJTCZCF.js +2 -0
  95. package/dist/cdn/UXMKSIYL.js +2 -0
  96. package/dist/cdn/UYJB3OR4.js +2 -0
  97. package/dist/cdn/UZ4VANCL.js +2 -0
  98. package/dist/cdn/VHLDFKDS.js +2 -0
  99. package/dist/cdn/VPREN7P6.js +2 -0
  100. package/dist/cdn/VTDB4D2K.js +2 -0
  101. package/dist/cdn/{UJURQACP.js → VXPGE37T.js} +1 -1
  102. package/dist/cdn/{SJGWHUCR.js → VXXXOGU7.js} +1 -1
  103. package/dist/cdn/W73JDM22.js +2 -0
  104. package/dist/cdn/{RFO3M46K.js → WEMTOBBB.js} +1 -1
  105. package/dist/cdn/WGLTX4YP.js +2 -0
  106. package/dist/cdn/WKRW6DI5.js +2 -0
  107. package/dist/cdn/WPXCX7TX.js +2 -0
  108. package/dist/cdn/WYYUFJHO.js +2 -0
  109. package/dist/cdn/X2M3ZYHO.js +2 -0
  110. package/dist/cdn/XCDMOCWN.js +2 -0
  111. package/dist/cdn/XLYOZSWI.js +2 -0
  112. package/dist/cdn/XQBN6SO5.js +2 -0
  113. package/dist/cdn/{GKNGEZCO.js → XVZ74ZME.js} +1 -1
  114. package/dist/cdn/YBTMO6HU.js +2 -0
  115. package/dist/cdn/YFX2STSS.js +2 -0
  116. package/dist/cdn/{2Z36ICJZ.js → YME6EWHF.js} +1 -1
  117. package/dist/cdn/{62OAO327.js → Z42YLJMZ.js} +1 -1
  118. package/dist/cdn/{AKGUTL2V.js → Z46QEYSO.js} +1 -1
  119. package/dist/cdn/Z6ZEF6NC.js +2 -0
  120. package/dist/cdn/ZAW644CF.js +2 -0
  121. package/dist/cdn/ZCI6T4IU.js +2 -0
  122. package/dist/cdn/{XKGD4N75.js → ZEQHIKTN.js} +1 -1
  123. package/dist/cdn/ZMP3REWL.js +2 -0
  124. package/dist/cdn/ZP2VJX3N.js +2 -0
  125. package/dist/cdn/index.js +1 -1
  126. package/dist/chunks/esri-main.js +1 -1
  127. package/dist/chunks/layer-list-next.js +1 -1
  128. package/dist/chunks/screenLocation.js +10 -10
  129. package/dist/chunks/slots.js +6 -6
  130. package/dist/chunks/useArcgisViewReadyError.js +46 -46
  131. package/dist/components/arcgis-area-measurement-2d/customElement.js +4 -4
  132. package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +2 -1
  133. package/dist/components/arcgis-area-measurement-3d/customElement.js +1 -1
  134. package/dist/components/arcgis-attachments/customElement.js +3 -3
  135. package/dist/components/arcgis-basemap-layer-list/customElement.d.ts +7 -7
  136. package/dist/components/arcgis-basemap-layer-list/customElement.js +1 -1
  137. package/dist/components/arcgis-basemap-layer-list-next/customElement.d.ts +4 -4
  138. package/dist/components/arcgis-basemap-layer-list-next/customElement.js +15 -15
  139. package/dist/components/arcgis-bookmarks/customElement.d.ts +1 -0
  140. package/dist/components/arcgis-bookmarks/customElement.js +1 -1
  141. package/dist/components/arcgis-bookmarks/types.d.ts +2 -2
  142. package/dist/components/arcgis-building-explorer/customElement.d.ts +5 -5
  143. package/dist/components/arcgis-building-level-picker/customElement.js +1 -1
  144. package/dist/components/arcgis-building-phase-picker/customElement.js +16 -16
  145. package/dist/components/arcgis-catalog-layer-list/customElement.d.ts +4 -4
  146. package/dist/components/arcgis-catalog-layer-list/customElement.js +4 -4
  147. package/dist/components/arcgis-catalog-layer-list-next/customElement.d.ts +2 -2
  148. package/dist/components/arcgis-compass/customElement.js +1 -1
  149. package/dist/components/arcgis-coordinate-conversion/customElement.js +1 -1
  150. package/dist/components/arcgis-coordinate-conversion-next/customElement.js +9 -9
  151. package/dist/components/arcgis-daylight/customElement.d.ts +4 -4
  152. package/dist/components/arcgis-daylight/customElement.js +1 -1
  153. package/dist/components/arcgis-direct-line-measurement-3d/customElement.d.ts +4 -4
  154. package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +1 -1
  155. package/dist/components/arcgis-directional-pad/customElement.js +1 -1
  156. package/dist/components/arcgis-directions/customElement.d.ts +4 -4
  157. package/dist/components/arcgis-directions/customElement.js +4 -4
  158. package/dist/components/arcgis-distance-measurement-2d/customElement.js +1 -1
  159. package/dist/components/arcgis-editor/customElement.d.ts +19 -2
  160. package/dist/components/arcgis-editor/customElement.js +7 -7
  161. package/dist/components/arcgis-elevation-profile/customElement.js +10 -10
  162. package/dist/components/arcgis-elevation-profile-legend/customElement.js +4 -4
  163. package/dist/components/arcgis-elevation-profile-legend-item/customElement.js +1 -1
  164. package/dist/components/arcgis-elevation-profile-settings/customElement.js +5 -5
  165. package/dist/components/arcgis-elevation-profile-statistics/customElement.js +7 -7
  166. package/dist/components/arcgis-expand/customElement.d.ts +2 -1
  167. package/dist/components/arcgis-expand/customElement.js +1 -1
  168. package/dist/components/arcgis-exploratory-analysis/customElement.js +7 -7
  169. package/dist/components/arcgis-feature/customElement.js +1 -1
  170. package/dist/components/arcgis-feature-attachments/customElement.js +1 -1
  171. package/dist/components/arcgis-feature-content/customElement.js +4 -4
  172. package/dist/components/arcgis-feature-element-info/customElement.js +1 -1
  173. package/dist/components/arcgis-feature-expression/customElement.js +1 -1
  174. package/dist/components/arcgis-feature-fields/customElement.js +17 -17
  175. package/dist/components/arcgis-feature-form/customElement.d.ts +7 -7
  176. package/dist/components/arcgis-feature-form/customElement.js +1 -1
  177. package/dist/components/arcgis-feature-form-utility-network-association-settings/customElement.js +11 -11
  178. package/dist/components/arcgis-feature-media/customElement.js +1 -1
  179. package/dist/components/arcgis-feature-next/customElement.js +1 -1
  180. package/dist/components/arcgis-feature-relationship/customElement.js +1 -1
  181. package/dist/components/arcgis-feature-table/customElement.d.ts +25 -25
  182. package/dist/components/arcgis-feature-templates/customElement.js +1 -1
  183. package/dist/components/arcgis-feature-utility-network-association-list/customElement.js +1 -1
  184. package/dist/components/arcgis-feature-utility-network-associations/customElement.js +1 -1
  185. package/dist/components/arcgis-features/customElement.d.ts +5 -5
  186. package/dist/components/arcgis-features/customElement.js +8 -8
  187. package/dist/components/arcgis-features-next/customElement.d.ts +4 -4
  188. package/dist/components/arcgis-features-next/customElement.js +28 -27
  189. package/dist/components/arcgis-floor-filter/customElement.js +38 -38
  190. package/dist/components/arcgis-grid-controls/customElement.d.ts +1 -1
  191. package/dist/components/arcgis-grid-controls/customElement.js +1 -1
  192. package/dist/components/arcgis-histogram-range-slider/customElement.js +1 -1
  193. package/dist/components/arcgis-labeled-switch/customElement.js +5 -5
  194. package/dist/components/arcgis-layer-list/customElement.d.ts +2 -2
  195. package/dist/components/arcgis-layer-list/customElement.js +1 -1
  196. package/dist/components/arcgis-layer-list-next/customElement.d.ts +6 -6
  197. package/dist/components/arcgis-legend/customElement.d.ts +1 -1
  198. package/dist/components/arcgis-legend-classic-view/customElement.js +1 -1
  199. package/dist/components/arcgis-line-of-sight/customElement.d.ts +2 -2
  200. package/dist/components/arcgis-line-of-sight/customElement.js +1 -1
  201. package/dist/components/arcgis-link-chart/customElement.d.ts +14 -6
  202. package/dist/components/arcgis-map/customElement.d.ts +21 -17
  203. package/dist/components/arcgis-measurement-content/customElement.js +9 -9
  204. package/dist/components/arcgis-oriented-imagery-viewer/customElement.d.ts +0 -1
  205. package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +5 -5
  206. package/dist/components/arcgis-oriented-imagery-viewer-non-panoramic-viewer/customElement.js +6 -5
  207. package/dist/components/arcgis-oriented-imagery-viewer-panoramic-viewer/customElement.js +19 -18
  208. package/dist/components/arcgis-paste/customElement.js +1 -1
  209. package/dist/components/arcgis-popup/customElement.d.ts +8 -7
  210. package/dist/components/arcgis-popup/customElement.js +1 -1
  211. package/dist/components/arcgis-presentation/customElement.d.ts +5 -5
  212. package/dist/components/arcgis-presentation/customElement.js +1 -1
  213. package/dist/components/arcgis-presentation-captions/customElement.js +1 -1
  214. package/dist/components/arcgis-print/customElement.d.ts +1 -1
  215. package/dist/components/arcgis-print/customElement.js +1 -1
  216. package/dist/components/arcgis-print-exports-panel/customElement.js +8 -8
  217. package/dist/components/arcgis-print-layout-advanced-options/customElement.js +1 -1
  218. package/dist/components/arcgis-print-layout-panel/customElement.js +1 -1
  219. package/dist/components/arcgis-print-main-panel/customElement.js +5 -5
  220. package/dist/components/arcgis-print-map-only-advanced-options/customElement.js +1 -1
  221. package/dist/components/arcgis-print-map-only-panel/customElement.js +4 -4
  222. package/dist/components/arcgis-print-out-spatial-reference-input/customElement.js +1 -1
  223. package/dist/components/arcgis-print-scale-section/customElement.js +1 -1
  224. package/dist/components/arcgis-print-template-select/customElement.js +1 -1
  225. package/dist/components/arcgis-print-template-selector/customElement.js +8 -8
  226. package/dist/components/arcgis-reverse-geocode-list/customElement.js +1 -1
  227. package/dist/components/arcgis-scene/customElement.d.ts +42 -13
  228. package/dist/components/arcgis-search/customElement.d.ts +4 -4
  229. package/dist/components/arcgis-selection-list/customElement.d.ts +2 -2
  230. package/dist/components/arcgis-selection-list/customElement.js +9 -9
  231. package/dist/components/arcgis-selection-toolbar/customElement.d.ts +6 -6
  232. package/dist/components/arcgis-shadow-cast/customElement.js +45 -45
  233. package/dist/components/arcgis-shadow-cast-discrete-config/customElement.js +1 -1
  234. package/dist/components/arcgis-shadow-cast-min-duration-config/customElement.js +1 -1
  235. package/dist/components/arcgis-shadow-cast-total-duration-config/customElement.js +1 -1
  236. package/dist/components/arcgis-sketch/SketchComponentViewModel.d.ts +1 -1
  237. package/dist/components/arcgis-sketch/customElement.d.ts +20 -2
  238. package/dist/components/arcgis-sketch/customElement.js +144 -142
  239. package/dist/components/arcgis-sketch-tooltip-controls/customElement.js +1 -1
  240. package/dist/components/arcgis-slice/customElement.d.ts +2 -2
  241. package/dist/components/arcgis-slice/customElement.js +16 -16
  242. package/dist/components/arcgis-slider-binary-color-size-legacy/customElement.d.ts +4 -3
  243. package/dist/components/arcgis-slider-binary-color-size-legacy/customElement.js +3 -3
  244. package/dist/components/arcgis-slider-classed-color-legacy/customElement.d.ts +2 -2
  245. package/dist/components/arcgis-slider-classed-color-legacy/customElement.js +1 -1
  246. package/dist/components/arcgis-slider-classed-size-legacy/customElement.d.ts +3 -3
  247. package/dist/components/arcgis-slider-classed-size-legacy/customElement.js +1 -1
  248. package/dist/components/arcgis-slider-color-legacy/customElement.d.ts +3 -3
  249. package/dist/components/arcgis-slider-color-legacy/customElement.js +1 -1
  250. package/dist/components/arcgis-slider-color-size-legacy/customElement.d.ts +5 -4
  251. package/dist/components/arcgis-slider-color-size-legacy/customElement.js +3 -3
  252. package/dist/components/arcgis-slider-heatmap-legacy/customElement.d.ts +2 -2
  253. package/dist/components/arcgis-slider-heatmap-legacy/customElement.js +1 -1
  254. package/dist/components/arcgis-slider-opacity-legacy/customElement.d.ts +2 -2
  255. package/dist/components/arcgis-slider-opacity-legacy/customElement.js +3 -3
  256. package/dist/components/arcgis-slider-scale-range/customElement.d.ts +4 -4
  257. package/dist/components/arcgis-slider-size-legacy/customElement.d.ts +3 -3
  258. package/dist/components/arcgis-slider-size-legacy/customElement.js +1 -1
  259. package/dist/components/arcgis-snapping-controls/customElement.js +1 -1
  260. package/dist/components/arcgis-spinner/customElement.js +1 -1
  261. package/dist/components/arcgis-table-list-next/customElement.js +1 -1
  262. package/dist/components/arcgis-time-bar/customElement.js +1 -1
  263. package/dist/components/arcgis-time-bar-settings/customElement.js +25 -25
  264. package/dist/components/arcgis-time-bar-slider/customElement.d.ts +11 -14
  265. package/dist/components/arcgis-time-bar-slider/customElement.js +17 -17
  266. package/dist/components/arcgis-time-slider/customElement.d.ts +6 -5
  267. package/dist/components/arcgis-time-slider/customElement.js +4 -4
  268. package/dist/components/arcgis-time-zone-chip/customElement.js +4 -4
  269. package/dist/components/arcgis-time-zone-label/customElement.js +1 -1
  270. package/dist/components/arcgis-time-zone-selector/customElement.js +5 -5
  271. package/dist/components/arcgis-track/customElement.d.ts +4 -4
  272. package/dist/components/arcgis-unit-radio-button-group/customElement.js +1 -1
  273. package/dist/components/arcgis-unit-select/customElement.js +1 -1
  274. package/dist/components/arcgis-utility-network-associations/customElement.d.ts +1 -1
  275. package/dist/components/arcgis-utility-network-associations/customElement.js +1 -1
  276. package/dist/components/arcgis-utility-network-trace/customElement.js +1 -1
  277. package/dist/components/arcgis-utility-network-trace-aggregated-geometry-result-item/customElement.js +7 -7
  278. package/dist/components/arcgis-utility-network-trace-analysis/customElement.d.ts +1 -1
  279. package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +10 -10
  280. package/dist/components/arcgis-utility-network-trace-analysis/types.d.ts +272 -9
  281. package/dist/components/arcgis-utility-network-trace-configuration-picker/customElement.d.ts +1 -1
  282. package/dist/components/arcgis-utility-network-trace-configuration-picker/customElement.js +25 -33
  283. package/dist/components/arcgis-utility-network-trace-functions-result-item/customElement.js +1 -1
  284. package/dist/components/arcgis-utility-network-trace-inputs/customElement.js +13 -13
  285. package/dist/components/arcgis-utility-network-trace-locations/customElement.d.ts +1 -1
  286. package/dist/components/arcgis-utility-network-trace-results/customElement.js +1 -1
  287. package/dist/components/arcgis-utility-network-validate-network-topology/customElement.js +1 -1
  288. package/dist/components/arcgis-utility-network-validate-topology/customElement.js +1 -1
  289. package/dist/components/arcgis-version-management/customElement.js +1 -1
  290. package/dist/components/arcgis-video/customElement.d.ts +9 -1
  291. package/dist/components/arcgis-video-player/customElement.js +6 -6
  292. package/dist/components/arcgis-video-player-action-bar/customElement.js +1 -1
  293. package/dist/components/arcgis-video-player-metadata/customElement.js +1 -1
  294. package/dist/components/arcgis-video-player-slider/customElement.js +1 -1
  295. package/dist/components/arcgis-volume-measurement/customElement.d.ts +2 -2
  296. package/dist/components/arcgis-volume-measurement/customElement.js +1 -1
  297. package/dist/components/arcgis-weather/customElement.d.ts +1 -1
  298. package/dist/components/arcgis-weather/customElement.js +1 -1
  299. package/dist/components/slider-legacy/types.d.ts +2 -3
  300. package/dist/docs/api.json +1 -1
  301. package/dist/docs/docs.json +1 -1
  302. package/dist/docs/vscode.css-custom-data.json +1 -1
  303. package/dist/docs/vscode.html-custom-data.json +1 -1
  304. package/dist/docs/web-types.json +1 -1
  305. package/package.json +6 -6
  306. package/dist/cdn/22RLIDCP.js +0 -2
  307. package/dist/cdn/2PLAZVGP.js +0 -2
  308. package/dist/cdn/2RQGZLOJ.js +0 -2
  309. package/dist/cdn/2S6RQ6Q4.js +0 -2
  310. package/dist/cdn/3EXEL7AM.js +0 -2
  311. package/dist/cdn/3W7KESW7.js +0 -2
  312. package/dist/cdn/4N4XDCDQ.js +0 -2
  313. package/dist/cdn/4NG7CALI.js +0 -2
  314. package/dist/cdn/4PDZTEB2.js +0 -2
  315. package/dist/cdn/5DEJDR4W.js +0 -2
  316. package/dist/cdn/5PPYHS6V.js +0 -2
  317. package/dist/cdn/5V6BNJ5O.js +0 -2
  318. package/dist/cdn/5V6K43GW.js +0 -2
  319. package/dist/cdn/66GRDX36.js +0 -2
  320. package/dist/cdn/6G5QADEG.js +0 -2
  321. package/dist/cdn/6GE2WBKV.js +0 -2
  322. package/dist/cdn/6QWLMG5M.js +0 -2
  323. package/dist/cdn/6T4BDMND.js +0 -2
  324. package/dist/cdn/6VV5SX76.js +0 -2
  325. package/dist/cdn/74PUSJU5.js +0 -2
  326. package/dist/cdn/7JK4JGPG.js +0 -2
  327. package/dist/cdn/APFZ2FVO.js +0 -2
  328. package/dist/cdn/BJI5DVB5.js +0 -2
  329. package/dist/cdn/BM3FQ4OG.js +0 -2
  330. package/dist/cdn/CGE6E3O3.js +0 -2
  331. package/dist/cdn/CXXBV6RJ.js +0 -2
  332. package/dist/cdn/DEW5IWND.js +0 -2
  333. package/dist/cdn/E5CGORXN.js +0 -2
  334. package/dist/cdn/E5X5BYWA.js +0 -2
  335. package/dist/cdn/EB4V6SPF.js +0 -2
  336. package/dist/cdn/ECUVJOIW.js +0 -2
  337. package/dist/cdn/G2ACNJGG.js +0 -2
  338. package/dist/cdn/GIQT67VT.js +0 -2
  339. package/dist/cdn/H66E4VOY.js +0 -2
  340. package/dist/cdn/HL6WL2YA.js +0 -2
  341. package/dist/cdn/HTONXZBP.js +0 -2
  342. package/dist/cdn/HUWIY53T.js +0 -2
  343. package/dist/cdn/IJ7EV66N.js +0 -2
  344. package/dist/cdn/IOUO7KBT.js +0 -2
  345. package/dist/cdn/JRO4IBJP.js +0 -2
  346. package/dist/cdn/JUOOKKZJ.js +0 -2
  347. package/dist/cdn/KE2ER3F7.js +0 -2
  348. package/dist/cdn/KIHYSYOL.js +0 -2
  349. package/dist/cdn/KJISACOI.js +0 -2
  350. package/dist/cdn/L4WLEN3C.js +0 -2
  351. package/dist/cdn/LILX2DJE.js +0 -2
  352. package/dist/cdn/LP4ETJF7.js +0 -2
  353. package/dist/cdn/MDS3NVWM.js +0 -2
  354. package/dist/cdn/MW27GSDX.js +0 -2
  355. package/dist/cdn/NZQLQGTQ.js +0 -2
  356. package/dist/cdn/O46PVNMT.js +0 -2
  357. package/dist/cdn/ONYCZO7Y.js +0 -2
  358. package/dist/cdn/ORVSAF3Z.js +0 -2
  359. package/dist/cdn/OZF64H7N.js +0 -2
  360. package/dist/cdn/P65FMRMP.js +0 -2
  361. package/dist/cdn/PXDX3LCI.js +0 -2
  362. package/dist/cdn/QET5SVDO.js +0 -2
  363. package/dist/cdn/QUPDTNAC.js +0 -2
  364. package/dist/cdn/R5PT7JNG.js +0 -2
  365. package/dist/cdn/R6ARQKAY.js +0 -2
  366. package/dist/cdn/RBRDUDEY.js +0 -2
  367. package/dist/cdn/RQPOCDJS.js +0 -2
  368. package/dist/cdn/RSKBANQ5.js +0 -2
  369. package/dist/cdn/RT53VCER.js +0 -2
  370. package/dist/cdn/T3MDSQ3T.js +0 -2
  371. package/dist/cdn/TDQYO6FQ.js +0 -2
  372. package/dist/cdn/TKD5T5DW.js +0 -2
  373. package/dist/cdn/UB6BQW3G.js +0 -2
  374. package/dist/cdn/UFDB6U6V.js +0 -2
  375. package/dist/cdn/UI5E3MX7.js +0 -2
  376. package/dist/cdn/UKIVMO7H.js +0 -2
  377. package/dist/cdn/UR3Z5YHW.js +0 -2
  378. package/dist/cdn/VM5QVCMC.js +0 -2
  379. package/dist/cdn/VPDDFGYQ.js +0 -2
  380. package/dist/cdn/W4GNRGIN.js +0 -2
  381. package/dist/cdn/WG5PHRPT.js +0 -2
  382. package/dist/cdn/WW7YOPDY.js +0 -2
  383. package/dist/cdn/XN3MG6YU.js +0 -2
  384. package/dist/cdn/XWBR6FXI.js +0 -2
  385. package/dist/cdn/Y5ZZCA3R.js +0 -2
  386. package/dist/cdn/Y6NC7ML3.js +0 -2
  387. package/dist/cdn/Y7XSHXVA.js +0 -2
  388. package/dist/cdn/YBSEIOQX.js +0 -2
  389. package/dist/cdn/YC7VLNKI.js +0 -2
  390. package/dist/cdn/YITBBUPR.js +0 -2
  391. package/dist/cdn/YJROHURO.js +0 -2
  392. package/dist/cdn/YXIJXXTK.js +0 -2
  393. package/dist/cdn/Z3674FMT.js +0 -2
  394. package/dist/cdn/Z6NHKWWS.js +0 -2
  395. package/dist/cdn/ZKKZQVJT.js +0 -2
@@ -1,24 +1,24 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/6.0/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 I, html as b } 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
- import { reEmitEvent as S } from "@arcgis/lumina-toolkit/reEmitEvent";
6
+ import { reEmitEvent as T } 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
9
  import { LitElement as ee, createEvent as te, nothing as D } from "@arcgis/lumina";
10
- import { watch as f, on as ie, whenOnce as oe } from "@arcgis/core/core/reactiveUtils.js";
10
+ import { watch as v, 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
- import { V as _ } from "../../chunks/visible-element.js";
14
- import { createRef as L, ref as M } from "lit/directives/ref.js";
13
+ import { V as M } from "../../chunks/visible-element.js";
14
+ import { createRef as O, ref as P } 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 E } 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 _ } 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
24
  import { c as ue } from "../../chunks/loader-utils.js";
@@ -45,7 +45,7 @@ function B(i, e) {
45
45
  }
46
46
  return typeof t == "string" ? t : void 0;
47
47
  }
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
+ 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%}`, we = {
49
49
  point: "pin",
50
50
  polyline: "line",
51
51
  polygon: "polygon",
@@ -56,45 +56,45 @@ const Se = q`.editing-controls-panel{min-inline-size:100px;max-inline-size:400px
56
56
  freehandPolygon: "freehand-area",
57
57
  freehandPolyline: "freehand",
58
58
  text: "text"
59
- }, we = {
59
+ }, Te = {
60
60
  selectionTools: {
61
- defaultPriority: T.Default,
61
+ defaultPriority: E.Default,
62
62
  groupKind: "split-button",
63
63
  overflowLabel: "selection"
64
64
  },
65
65
  selectionSet: {
66
- defaultPriority: T.High,
66
+ defaultPriority: E.High,
67
67
  groupKind: "actions"
68
68
  },
69
69
  createTools: {
70
- defaultPriority: T.High,
70
+ defaultPriority: E.High,
71
71
  groupKind: "more-button",
72
72
  overflowLabel: "drawing"
73
73
  },
74
74
  undoRedo: {
75
- defaultPriority: T.Medium,
75
+ defaultPriority: E.Medium,
76
76
  groupKind: "split-button",
77
77
  overflowLabel: "action",
78
78
  preferEndSlot: !0
79
79
  },
80
80
  settings: {
81
- defaultPriority: T.Max,
81
+ defaultPriority: E.Max,
82
82
  groupKind: "more-button",
83
83
  overflowLabel: "action",
84
84
  preferEndSlot: !0
85
85
  },
86
86
  geometrySimplification: {
87
- defaultPriority: T.Default,
87
+ defaultPriority: E.Default,
88
88
  groupKind: "actions",
89
89
  preferEndSlot: !0
90
90
  }
91
91
  };
92
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);
93
+ for (var s = o > 1 ? void 0 : o ? _e(e, t) : e, n = i.length - 1, u; n >= 0; n--)
94
+ (u = i[n]) && (s = (o ? u(e, t, s) : u(s)) || s);
95
95
  return o && s && Ee(e, t, s), s;
96
96
  };
97
- let a = class extends ce {
97
+ let c = class extends ce {
98
98
  //#region Lifecycle
99
99
  constructor(i) {
100
100
  super(i), this._effectiveRenderStateCache = /* @__PURE__ */ new Map(), this._effectiveGeometrySimplificationInProgress = !1, this.visibleElements = new de(), this.settingsPopoverOpen = !1, this.availableCreateTools = [
@@ -109,7 +109,7 @@ let a = class extends ce {
109
109
  }
110
110
  initialize() {
111
111
  this.selectionViewModel ??= new pe({ persistSelection: !1 }), this.addHandles([
112
- f(
112
+ v(
113
113
  () => this.sketchViewModel,
114
114
  (i, e) => {
115
115
  i !== e && this._effectiveRenderStateCache.clear();
@@ -122,7 +122,7 @@ let a = class extends ce {
122
122
  this._effectiveGeometrySimplificationInProgress = i;
123
123
  }
124
124
  }),
125
- f(
125
+ v(
126
126
  () => this.view,
127
127
  (i) => {
128
128
  this.selectionViewModel.view = i;
@@ -130,16 +130,23 @@ let a = class extends ce {
130
130
  { initial: !0, sync: !0 }
131
131
  ),
132
132
  // Ensure the SelectionViewModel always has the latest layer
133
- f(
133
+ v(
134
134
  () => this.sketchViewModel?.layer,
135
135
  (i) => this.selectionViewModel.sources = i ? [i] : [],
136
136
  { initial: !0, sync: !0 }
137
137
  ),
138
138
  this.selectionViewModel.on("complete", ({ selection: i }) => {
139
- i.length && this.update(i);
139
+ const { sketchViewModel: e } = this;
140
+ if (i.length && e) {
141
+ const { defaultUpdateOptions: t } = e, { tool: o } = t;
142
+ this.update(i, {
143
+ ...t,
144
+ tool: i.length > 1 && o === "reshape" ? "transform" : o
145
+ });
146
+ }
140
147
  }),
141
148
  // Cancel active tool when selection activates
142
- f(
149
+ v(
143
150
  () => this.selectionViewModel.activeOperation,
144
151
  (i) => {
145
152
  i && (this.sketchViewModel?.cancel(), this._activeCustomToolOptions = void 0);
@@ -153,7 +160,7 @@ let a = class extends ce {
153
160
  i.state === "complete" && this.sketchViewModel?.creationMode !== "continuous" && (this._activeCustomToolOptions = void 0);
154
161
  }
155
162
  ),
156
- f(
163
+ v(
157
164
  () => this.visibleElements.settingsMenu,
158
165
  (i) => {
159
166
  i || (this.settingsPopoverOpen = !1);
@@ -209,27 +216,27 @@ let a = class extends ce {
209
216
  const { sketchViewModel: i } = this;
210
217
  if (!i)
211
218
  return [];
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,
219
+ const e = i.effectiveAvailablePlugins, t = this.state === "disabled", o = this.visibleElements.createTools, s = this.activeTool, n = this._activeCustomToolOptions, u = n || !i.firstPluginWithSwappableLeaf ? this._customToolOptions : [], a = i.rootPlugins, r = u?.map((l) => ({
220
+ active: l === n,
214
221
  disabled: t,
215
222
  icon: l.icon,
216
223
  labelKey: l.label,
217
- onClick: l === c ? () => this._cancelActiveOperation() : () => this._activateLegacyDrawTool(l.toolName, l.createOptions, l)
224
+ onClick: l === n ? () => this._cancelActiveOperation() : () => this._activateLegacyDrawTool(l.toolName, l.createOptions, l)
218
225
  })) ?? [];
219
- if (c && r)
220
- return [...this._pluginsToActions(r), ...n];
226
+ if (n && a)
227
+ return [...this._pluginsToActions(a), ...r];
221
228
  if (e?.length && this.view?.type !== "3d")
222
- return [...this._pluginsToActions(e), ...n];
223
- const u = this.view?.type === "3d";
229
+ return [...this._pluginsToActions(e), ...r];
230
+ const d = this.view?.type === "3d";
224
231
  return [
225
- ...this.availableCreateTools?.filter((l) => u && l === "multipoint" ? !1 : l === "mesh" ? !0 : o[l])?.map((l) => ({
232
+ ...this.availableCreateTools?.filter((l) => d && l === "multipoint" ? !1 : l === "mesh" ? !0 : o[l])?.map((l) => ({
226
233
  active: l === s,
227
234
  disabled: t,
228
- icon: Te[l],
235
+ icon: we[l],
229
236
  labelKey: `draw.${l}`,
230
237
  onClick: l === s ? () => this._cancelActiveOperation() : () => this._activateLegacyDrawTool(l)
231
238
  })) ?? [],
232
- ...n
239
+ ...r
233
240
  ];
234
241
  }
235
242
  get _shouldShowBackButton() {
@@ -277,30 +284,30 @@ let a = class extends ce {
277
284
  return t === "polygon" && o === "freehand" && e?.includes("freehandPolygon") ? "freehandPolygon" : t === "polyline" && o === "freehand" && e?.includes("freehandPolyline") ? "freehandPolyline" : t ?? void 0;
278
285
  }
279
286
  get _selectionCommands() {
280
- const { state: i, visibleElements: e, _activeSelectionTool: t, _customActions: o } = this, s = this.state === "disabled", c = [];
281
- this.sketchViewModel?.updateOnGraphicClick !== !1 && c.push({
287
+ const { state: i, visibleElements: e, _activeSelectionTool: t, _customActions: o } = this, s = this.state === "disabled", n = [];
288
+ this.sketchViewModel?.updateOnGraphicClick !== !1 && n.push({
282
289
  active: i === "ready" && this._activeSelectionTool == null,
283
290
  disabled: s,
284
291
  icon: "cursor",
285
292
  labelKey: "selectFeature",
286
293
  onClick: () => this._activateDefaultSelectionTool()
287
294
  });
288
- const d = e.selectionTools;
289
- d["rectangle-selection"] && c.push({
295
+ const u = e.selectionTools;
296
+ u["rectangle-selection"] && n.push({
290
297
  active: t === "rectangle-selection",
291
298
  disabled: s,
292
299
  icon: "cursor-marquee",
293
300
  labelKey: "rectangleSelection",
294
301
  onClick: () => this._activateSelectionTool("rectangle-selection")
295
- }), d["lasso-selection"] && c.push({
302
+ }), u["lasso-selection"] && n.push({
296
303
  active: t === "lasso-selection",
297
304
  disabled: s,
298
305
  icon: "lasso-select",
299
306
  labelKey: "lassoSelection",
300
307
  onClick: () => this._activateSelectionTool("lasso-selection")
301
308
  });
302
- const r = o?.get("selection-toolbar");
303
- return r && c.push(...this._customActionsToSketchActions(r)), c;
309
+ const a = o?.get("selection-toolbar");
310
+ return a && n.push(...this._customActionsToSketchActions(a)), n;
304
311
  }
305
312
  get _selectionSetActions() {
306
313
  const i = this.sketchViewModel?.updateGraphics.length ?? 0;
@@ -412,7 +419,7 @@ let a = class extends ce {
412
419
  await this._executeWhenReady(async () => {
413
420
  this.cancelAll();
414
421
  const t = this.sketchViewModel;
415
- t && await w(t.create(i, e));
422
+ t && await _(t.create(i, e));
416
423
  });
417
424
  }
418
425
  /**
@@ -423,7 +430,7 @@ let a = class extends ce {
423
430
  const e = new AbortController();
424
431
  this._pendingCommandAbortController = e;
425
432
  try {
426
- await w(
433
+ await _(
427
434
  (async () => {
428
435
  this.sketchViewModel?.geometrySimplificationInProgress && await oe(() => !this.sketchViewModel?.geometrySimplificationInProgress, e.signal), e.signal.aborted || await i();
429
436
  })()
@@ -464,7 +471,7 @@ let a = class extends ce {
464
471
  async update(i, e) {
465
472
  await this._executeWhenReady(async () => {
466
473
  const t = this.sketchViewModel;
467
- t && await w(t.update(i, e));
474
+ t && await _(t.update(i, e));
468
475
  });
469
476
  }
470
477
  // #endregion
@@ -495,10 +502,10 @@ let a = class extends ce {
495
502
  const t = this.sketchViewModel;
496
503
  if (t) {
497
504
  if (e) {
498
- t.cancel(), w(t.create(i));
505
+ t.cancel(), _(t.create(i));
499
506
  return;
500
507
  }
501
- t.firstPluginWithSwappableLeaf ? (t.replaceLeaf(i), this.view?.focus()) : w(t.create(i));
508
+ t.firstPluginWithSwappableLeaf ? (t.replaceLeaf(i), this.view?.focus()) : _(t.create(i));
502
509
  }
503
510
  });
504
511
  }
@@ -506,7 +513,7 @@ let a = class extends ce {
506
513
  this._executeWhenReady(() => {
507
514
  this._cancelSupportingOperations();
508
515
  const o = this.sketchViewModel;
509
- o && (this._activeCustomToolOptions = t, w(o.create(i, e)));
516
+ o && (this._activeCustomToolOptions = t, _(o.create(i, e)));
510
517
  });
511
518
  }
512
519
  _activateSelectionTool(i) {
@@ -575,85 +582,85 @@ let a = class extends ce {
575
582
  };
576
583
  h([
577
584
  p()
578
- ], a.prototype, "_isEffectiveRenderStateFrozen", 1);
585
+ ], c.prototype, "_isEffectiveRenderStateFrozen", 1);
579
586
  h([
580
587
  p()
581
- ], a.prototype, "_effectiveGeometrySimplificationInProgress", 2);
588
+ ], c.prototype, "_effectiveGeometrySimplificationInProgress", 2);
582
589
  h([
583
590
  p()
584
- ], a.prototype, "_state", 1);
591
+ ], c.prototype, "_state", 1);
585
592
  h([
586
593
  p()
587
- ], a.prototype, "_customToolOptions", 2);
594
+ ], c.prototype, "_customToolOptions", 2);
588
595
  h([
589
596
  p()
590
- ], a.prototype, "_activeCustomToolOptions", 2);
597
+ ], c.prototype, "_activeCustomToolOptions", 2);
591
598
  h([
592
599
  p()
593
- ], a.prototype, "_customActions", 2);
600
+ ], c.prototype, "_customActions", 2);
594
601
  h([
595
602
  p()
596
- ], a.prototype, "selectionViewModel", 2);
603
+ ], c.prototype, "selectionViewModel", 2);
597
604
  h([
598
605
  p()
599
- ], a.prototype, "_activeSelectionTool", 1);
606
+ ], c.prototype, "_activeSelectionTool", 1);
600
607
  h([
601
608
  p()
602
- ], a.prototype, "_activePluginUniqueIds", 1);
609
+ ], c.prototype, "_activePluginUniqueIds", 1);
603
610
  h([
604
611
  p()
605
- ], a.prototype, "_createToolActions", 1);
612
+ ], c.prototype, "_createToolActions", 1);
606
613
  h([
607
614
  p()
608
- ], a.prototype, "_shouldShowBackButton", 1);
615
+ ], c.prototype, "_shouldShowBackButton", 1);
609
616
  h([
610
617
  p()
611
- ], a.prototype, "_selectionToolActions", 1);
618
+ ], c.prototype, "_selectionToolActions", 1);
612
619
  h([
613
620
  p()
614
- ], a.prototype, "_settingsActions", 1);
621
+ ], c.prototype, "_settingsActions", 1);
615
622
  h([
616
623
  p()
617
- ], a.prototype, "_activeTool", 1);
624
+ ], c.prototype, "_activeTool", 1);
618
625
  h([
619
626
  p()
620
- ], a.prototype, "_selectionCommands", 1);
627
+ ], c.prototype, "_selectionCommands", 1);
621
628
  h([
622
629
  p()
623
- ], a.prototype, "_selectionSetActions", 1);
630
+ ], c.prototype, "_selectionSetActions", 1);
624
631
  h([
625
632
  p()
626
- ], a.prototype, "_undoRedoActions", 1);
633
+ ], c.prototype, "_undoRedoActions", 1);
627
634
  h([
628
635
  p()
629
- ], a.prototype, "sketchViewModel", 2);
636
+ ], c.prototype, "sketchViewModel", 2);
630
637
  h([
631
638
  p()
632
- ], a.prototype, "visibleElements", 2);
639
+ ], c.prototype, "visibleElements", 2);
633
640
  h([
634
641
  p()
635
- ], a.prototype, "view", 2);
642
+ ], c.prototype, "view", 2);
636
643
  h([
637
644
  p()
638
- ], a.prototype, "settingsPopoverOpen", 2);
645
+ ], c.prototype, "settingsPopoverOpen", 2);
639
646
  h([
640
647
  p()
641
- ], a.prototype, "availableCreateTools", 2);
648
+ ], c.prototype, "availableCreateTools", 2);
642
649
  h([
643
650
  p()
644
- ], a.prototype, "state", 1);
651
+ ], c.prototype, "state", 1);
645
652
  h([
646
653
  p()
647
- ], a.prototype, "activeTool", 1);
654
+ ], c.prototype, "activeTool", 1);
648
655
  h([
649
656
  p()
650
- ], a.prototype, "activePluginIds", 1);
657
+ ], c.prototype, "activePluginIds", 1);
651
658
  h([
652
659
  p()
653
- ], a.prototype, "groupedActions", 1);
654
- a = h([
660
+ ], c.prototype, "groupedActions", 1);
661
+ c = h([
655
662
  he("components.sketch.SketchComponentViewModel")
656
- ], a);
663
+ ], c);
657
664
  class Me extends ge {
658
665
  #t;
659
666
  #e = !1;
@@ -694,7 +701,7 @@ class Ae extends J {
694
701
  }, this.#u = () => this.#c(), this.exports = void 0, this.onConnected(() => this.#m()), this.onUpdated(() => {
695
702
  this.#d !== this.component.layout && this.#c();
696
703
  }), this.onDisconnected(() => this.#b()), this.onLifecycle(
697
- () => f(
704
+ () => v(
698
705
  () => this.component.view?.attributionHeight,
699
706
  () => {
700
707
  this.#m();
@@ -732,24 +739,24 @@ class Ae extends J {
732
739
  this.#y(), this.#b();
733
740
  return;
734
741
  }
735
- this.#C(e.toolbar), this.#S(e), this.#T(e), this.#v(e);
742
+ this.#C(e.toolbar), this.#S(e), this.#w(e), this.#v(e);
736
743
  }
737
744
  #f() {
738
745
  const e = this.component.el, t = e.parentElement, o = this.#o, s = e.assignedSlot;
739
746
  if (!t || !Pe.has(t.localName) || !o || !s?.parentElement)
740
747
  return;
741
- const c = getComputedStyle(t).direction === "rtl" ? "rtl" : "ltr", d = U(e.slot, c);
742
- if (!d)
748
+ const n = getComputedStyle(t).direction === "rtl" ? "rtl" : "ltr", u = U(e.slot, n);
749
+ if (!u)
743
750
  return;
744
- const r = Array.from(t.children).filter(
745
- (n) => n instanceof HTMLElement && n.localName !== "arcgis-sketch"
751
+ const a = Array.from(t.children).filter(
752
+ (r) => r instanceof HTMLElement && r.localName !== "arcgis-sketch"
746
753
  );
747
754
  return {
748
755
  assignedSlot: s,
749
- content: r,
750
- direction: c,
756
+ content: a,
757
+ direction: n,
751
758
  parent: t,
752
- position: d,
759
+ position: u,
753
760
  toolbar: o
754
761
  };
755
762
  }
@@ -769,7 +776,7 @@ class Ae extends J {
769
776
  subtree: !1
770
777
  }));
771
778
  }
772
- #T(e) {
779
+ #w(e) {
773
780
  const t = [e.parent, ...e.content];
774
781
  Ge(this.#h, t) || (this.#e.disconnect(), t.forEach((o) => this.#e.observe(o)), this.#h = t);
775
782
  }
@@ -778,23 +785,18 @@ class Ae extends J {
778
785
  this.#y();
779
786
  return;
780
787
  }
781
- const t = this.component.layout, o = Le({
782
- content: Oe(e),
788
+ const t = this.component.layout, o = Oe({
789
+ content: Le(e),
783
790
  gap: ke,
784
791
  layout: t,
785
792
  position: e.position,
786
- sameSlotReserve: $e(
787
- e.assignedSlot,
788
- this.component.el,
789
- t,
790
- e.assignedSlot.parentElement
791
- ),
793
+ sameSlotReserve: $e(e.assignedSlot, this.component.el, t, e.assignedSlot),
792
794
  toolbarBounds: e.toolbar.getBoundingClientRect(),
793
795
  viewBounds: e.parent.getBoundingClientRect()
794
796
  });
795
- this.#w(e.toolbar, t, o);
797
+ this.#T(e.toolbar, t, o);
796
798
  }
797
- #w(e, t, o) {
799
+ #T(e, t, o) {
798
800
  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
801
  }
800
802
  /** Remove controller-owned inline sizing when the stack leaves a supported view slot. */
@@ -806,36 +808,36 @@ class Ae extends J {
806
808
  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
809
  }
808
810
  }
809
- function Le({
811
+ function Oe({
810
812
  content: i,
811
813
  gap: e,
812
814
  layout: t,
813
815
  position: o,
814
816
  sameSlotReserve: s,
815
- toolbarBounds: c,
816
- viewBounds: d
817
+ toolbarBounds: n,
818
+ viewBounds: u
817
819
  }) {
818
- const r = O(d, t), n = O(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)
820
+ const a = L(u, t), r = L(n, t), d = z(o, t), g = d ? r.start - a.start : a.end - r.end;
821
+ let l = 0, f = !1;
822
+ for (const C of i) {
823
+ if (z(C.position, t) === d)
822
824
  continue;
823
- const C = O(b.bounds, t);
824
- if (!(C.crossStart < n.crossEnd && C.crossEnd > n.crossStart))
825
+ const y = L(C.bounds, t);
826
+ if (!(y.crossStart < r.crossEnd && y.crossEnd > r.crossStart))
825
827
  continue;
826
- const E = u ? r.end - C.start : C.end - r.start;
827
- l = Math.max(l, E), v = !0;
828
+ const w = d ? a.end - y.start : y.end - a.start;
829
+ l = Math.max(l, w), f = !0;
828
830
  }
829
- const m = v ? e : 0;
830
- return Math.max(0, r.length - Math.max(0, g) - s - l - m);
831
+ const m = f ? e : 0;
832
+ return Math.max(0, a.length - Math.max(0, g) - s - l - m);
831
833
  }
832
- function O(i, e) {
834
+ function L(i, e) {
833
835
  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
836
  }
835
837
  function z(i, e) {
836
838
  return e === "horizontal" ? i.endsWith("left") : i.startsWith("top");
837
839
  }
838
- function Oe(i) {
840
+ function Le(i) {
839
841
  return i.content.flatMap((e) => {
840
842
  if (e.assignedSlot === i.assignedSlot)
841
843
  return [];
@@ -847,17 +849,17 @@ function Ge(i, e) {
847
849
  return i.length === e.length && i.every((t, o) => t === e[o]);
848
850
  }
849
851
  function $e(i, e, t, o) {
850
- const s = getComputedStyle(o).flexDirection;
851
- if (!(t === "horizontal" ? s.startsWith("row") : s.startsWith("column")))
852
+ const s = getComputedStyle(o), n = s.flexDirection;
853
+ if (!(t === "horizontal" ? n.startsWith("row") : n.startsWith("column")))
852
854
  return 0;
853
- const d = i.assignedElements().filter((g) => g instanceof HTMLElement), r = d.indexOf(e);
855
+ const a = i.assignedElements().filter((m) => m instanceof HTMLElement), r = a.indexOf(e);
854
856
  if (r < 0)
855
857
  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);
858
+ const d = getComputedStyle(e), g = n === "row" ? Number.parseFloat(d.marginRight) : n === "row-reverse" ? Number.parseFloat(d.marginLeft) : n === "column" ? Number.parseFloat(d.marginBottom) : Number.parseFloat(d.marginTop), l = a.slice(r + 1), f = Number.parseFloat(t === "horizontal" ? s.columnGap : s.rowGap);
859
+ return l.reduce((m, C) => {
860
+ const y = C.getBoundingClientRect(), S = getComputedStyle(C), w = t === "horizontal" ? y.width + Number.parseFloat(S.marginLeft) + Number.parseFloat(S.marginRight) : y.height + Number.parseFloat(S.marginTop) + Number.parseFloat(S.marginBottom);
861
+ return m + w + f;
862
+ }, g);
861
863
  }
862
864
  function U(i, e) {
863
865
  const [t, o] = i.split("-");
@@ -875,25 +877,25 @@ const Re = ne((i) => new le({
875
877
  }));
876
878
  class Ve extends ee {
877
879
  constructor() {
878
- super(), this.#t = new a(), this.#l = L(), this.#s = new Ae(this), this.#n = L(), this._defaultGraphicsLayer = null, this._messages = se(), this.test = {
880
+ super(), this.#t = new c(), this.#l = O(), this.#s = new Ae(this), this.#n = O(), this._defaultGraphicsLayer = null, this._messages = se(), this.test = {
879
881
  componentViewModel: this.#t
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.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"], () => {
882
+ }, 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 = T(() => this.viewModel, "create"), this.arcgisDelete = T(() => this.viewModel, "delete"), this.arcgisDuplicate = T(() => this.viewModel, "duplicate"), this.arcgisPropertyChange = Q()("activeTool", "geometrySimplificationInProgress", "state"), this.arcgisReady = te(), this.arcgisRedo = T(() => this.viewModel, "redo"), this.arcgisUndo = T(() => this.viewModel, "undo"), this.arcgisUpdate = T(() => this.viewModel, "update"), X(["slot"], () => {
881
883
  this.requestUpdate();
882
884
  }), this.manager.onLifecycle(() => [
883
- f(() => this.el.view?.map, (e, t) => {
885
+ v(() => this.el.view?.map, (e, t) => {
884
886
  const o = this._defaultGraphicsLayer;
885
887
  o && (t?.allLayers.includes(o) && t.remove(o), o && !e?.allLayers.includes(o) && e?.add(o));
886
888
  }),
887
- f(() => this.el.view, (e) => {
889
+ v(() => this.el.view, (e) => {
888
890
  this.viewModel.view = e, this.#t.view = e ?? void 0;
889
891
  }, { initial: !0 }),
890
- f(() => this.viewModel, (e) => {
892
+ v(() => this.viewModel, (e) => {
891
893
  this.#t.sketchViewModel = e, this.viewModel.pluginManager.sketch = this;
892
894
  }, { initial: !0 }),
893
- f(() => this.#t.state, (e, t) => {
895
+ v(() => this.#t.state, (e, t) => {
894
896
  this.requestUpdate("state", t);
895
897
  }, { initial: !0 }),
896
- f(() => this.#t.activeTool, () => this.arcgisPropertyChange.emit({ name: "activeTool" }), { sync: !0 })
898
+ v(() => this.#t.activeTool, () => this.arcgisPropertyChange.emit({ name: "activeTool" }), { sync: !0 })
897
899
  ]), this.manager.onDestroy(() => {
898
900
  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();
899
901
  });
@@ -1232,43 +1234,43 @@ class Ve extends ee {
1232
1234
  this._defaultGraphicsLayer && this.view?.map?.allLayers.includes(this._defaultGraphicsLayer) && this.view?.map?.remove(this._defaultGraphicsLayer), this.cancel(), super.disconnectedCallback();
1233
1235
  }
1234
1236
  render() {
1235
- 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");
1236
- 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>` })}`;
1237
+ const e = this._refMap.get("settings")?.value?.actionElement, t = this.#t.groupedActions, { visualScale: o, layout: s, toolbarKind: n, relativePosition: u, _contextualToolLocation: a } = this, r = t.find(({ name: g }) => g === "selectionSet"), d = t.filter(({ name: g }) => g !== "selectionSet");
1238
+ return b`<div class="toolbar-container"><arcgis-toolbar-stack .layout=${s} .toolbarKind=${n} .relativePosition=${u} .scale=${o} tooltip-appearance=calcite ${P(this.#s.ref)}><arcgis-toolbar ${P(this.#l)}>${M({ hidden: !r?.visible || a !== "inline", children: this._renderActionGroup(r) })}${d.map((g) => this._renderActionGroup(g))}${M({ hidden: !r?.visible || a !== "inline-end", children: this._renderActionGroup(r) })}</arcgis-toolbar>${M({ hidden: !r?.visible || a !== "separate", children: b`<arcgis-toolbar>${this._renderActionGroup(r)}</arcgis-toolbar>` })}</arcgis-toolbar-stack></div>${M({ hidden: this.hideSettingsMenu, children: b`<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>` })}`;
1237
1239
  }
1238
1240
  _renderSettings() {
1239
- const { autoDestroyDisabled: e, hideLabelsToggle: t, hideSnappingControls: o, hideTooltipsToggle: s, showSnappingControlsElementsHeader: c, useViewOptions: d, view: r, viewModel: n } = this;
1240
- 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) => {
1241
- u.stopPropagation();
1242
- const { labelsEnabled: g, tooltipsEnabled: l, directionMode: v } = u.currentTarget, m = this.viewModel;
1243
- switch (u.detail.name) {
1241
+ const { autoDestroyDisabled: e, hideLabelsToggle: t, hideSnappingControls: o, hideTooltipsToggle: s, showSnappingControlsElementsHeader: n, useViewOptions: u, view: a, viewModel: r } = this;
1242
+ return b`<div class="editing-controls-panel"><arcgis-sketch-tooltip-controls .hideLabelsToggle=${t} .hideTooltipsToggle=${u || s} .directionMode=${r.valueOptions.directionMode} .labelsEnabled=${r.labelOptions.enabled} .tooltipsEnabled=${r.tooltipOptions.enabled} @arcgisPropertyChange=${(d) => {
1243
+ d.stopPropagation();
1244
+ const { labelsEnabled: g, tooltipsEnabled: l, directionMode: f } = d.currentTarget, m = this.viewModel;
1245
+ switch (d.detail.name) {
1244
1246
  case "labelsEnabled":
1245
1247
  m.labelOptions.enabled = g;
1246
1248
  break;
1247
1249
  case "directionMode":
1248
- m.valueOptions.directionMode = v;
1250
+ m.valueOptions.directionMode = f;
1249
1251
  break;
1250
1252
  case "tooltipsEnabled":
1251
1253
  m.tooltipOptions.enabled = l;
1252
1254
  break;
1253
1255
  }
1254
- }}></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>`;
1256
+ }}></arcgis-sketch-tooltip-controls>${!u && !o ? b`<arcgis-snapping-controls .autoDestroyDisabled=${e} .view=${a} .visibleElements=${this.#e.snappingControlsElements} .snappingOptions=${r.snappingOptions} .showHeader=${n} @arcgisPropertyChange=${(d) => d.stopPropagation()}></arcgis-snapping-controls>` : void 0}</div>`;
1255
1257
  }
1256
1258
  _renderActionGroup({ visible: e, commands: t, name: o }) {
1257
1259
  if (!e || !t.length)
1258
1260
  return;
1259
- 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);
1260
- switch (c) {
1261
+ const { defaultPriority: s, groupKind: n, overflowLabel: u, preferEndSlot: a } = Te[o], d = (o === "geometrySimplification" ? void 0 : this._groupLayoutPriorityOverrides.get(o)) ?? s, g = t.map((f) => this._renderCommand(f)), l = B(`more.${u}`, this._messages);
1262
+ switch (n) {
1261
1263
  case "more-button":
1262
- 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>`;
1264
+ return b`<arcgis-toolbar-group .priority=${d} .preferEndSlot=${a}><arcgis-toolbar-more-button .overflowActionLabel=${l} .priority=${d}>${g}</arcgis-toolbar-more-button></arcgis-toolbar-group>`;
1263
1265
  case "split-button":
1264
- 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>`;
1266
+ return b`<arcgis-toolbar-group .priority=${d} .preferEndSlot=${a}><arcgis-toolbar-split-button .overflowActionLabel=${l} .priority=${d}>${g}</arcgis-toolbar-split-button></arcgis-toolbar-group>`;
1265
1267
  case "actions":
1266
- return y`<arcgis-toolbar-group .priority=${u} .preferEndSlot=${r}>${g}</arcgis-toolbar-group>`;
1268
+ return b`<arcgis-toolbar-group .priority=${d} .preferEndSlot=${a}>${g}</arcgis-toolbar-group>`;
1267
1269
  }
1268
1270
  }
1269
- _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 }) {
1270
- 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, L) : this.#n, x = { afterCreate: t, afterRemoved: o, afterUpdate: s };
1271
- 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>`;
1271
+ _renderCommand({ active: e, afterCreate: t, afterRemoved: o, afterUpdate: s, appearance: n, icon: u, disabled: a, id: r, kind: d, labelKey: g, labelParameters: l, loading: f, tooltipKey: m, iconFlipRTL: C, onClick: y, refKey: S, textEnabled: w, renderAsAction: K }) {
1272
+ 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 = S ? F(H, S, O) : this.#n, x = { afterCreate: t, afterRemoved: o, afterUpdate: s };
1273
+ return K ? b`<arcgis-toolbar-action .active=${e} .appearance=${n} .disabled=${a} .icon=${u} .iconFlipRtl=${C} id=${r ?? D} .kind=${d} .loading=${f} .labelText=${$ === "horizontal" ? A : ""} .textEnabled=${w} .tooltipText=${$ === "horizontal" && w ? "" : R} @arcgisToolbarItemSelected=${y} ${W(x)} ${P(V)}></arcgis-toolbar-action>` : b`<arcgis-toolbar-item .active=${e} .disabled=${a} .icon=${u} id=${r ?? D} .iconFlipRtl=${C} .labelText=${A} .tooltipText=${R} @arcgisItemSelected=${y} ${W(x)} ${P(V)}></arcgis-toolbar-item>`;
1272
1274
  }
1273
1275
  }
1274
1276
  N("arcgis-sketch", Ve);