@arcgis/map-components 4.34.0-next.1 → 4.34.0-next.11

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 (265) hide show
  1. package/dist/cdn/{R33QVEOL.js → 22UYFIUF.js} +2 -2
  2. package/dist/cdn/{FSXC25CK.js → 26IWFGIY.js} +2 -2
  3. package/dist/cdn/{5ZQJE4G7.js → 27NNFMDQ.js} +2 -2
  4. package/dist/cdn/{XQ5SHXYU.js → 2TH2TGFF.js} +2 -2
  5. package/dist/cdn/{NR7MHE2C.js → 36V76L4O.js} +2 -2
  6. package/dist/cdn/37KIEGUM.js +4 -0
  7. package/dist/cdn/{PI7E2FA7.js → 3FTLUNH6.js} +2 -2
  8. package/dist/cdn/{LEDULRXD.js → 43LE646O.js} +2 -2
  9. package/dist/cdn/{WT34MLXU.js → 47OHBP6L.js} +2 -2
  10. package/dist/cdn/{A3ZUH4XX.js → 4O5TQLV5.js} +2 -2
  11. package/dist/cdn/4ZOM52TO.js +4 -0
  12. package/dist/cdn/{53RL6DKS.js → 55YAOCFG.js} +2 -2
  13. package/dist/cdn/{XUQAYEQ6.js → 5FUCHXBQ.js} +2 -2
  14. package/dist/cdn/{LNTAENM3.js → 5N76VRE3.js} +2 -2
  15. package/dist/cdn/{Q4KIAHIP.js → 6BGLAKME.js} +1 -1
  16. package/dist/cdn/{NUK4LTX5.js → 6CWGK7GK.js} +2 -2
  17. package/dist/cdn/{WMS5BZ4X.js → 76C5MXVX.js} +2 -2
  18. package/dist/cdn/{4IVF56FV.js → 77ZOCFGU.js} +2 -2
  19. package/dist/cdn/{4SMGMTCR.js → 7FEV6CLA.js} +2 -2
  20. package/dist/cdn/{SUN26GSO.js → A2O4GORB.js} +1 -1
  21. package/dist/cdn/{BKZWDNEP.js → ADLXQOTP.js} +2 -2
  22. package/dist/cdn/{E3QCBVRR.js → AMO55OJ4.js} +2 -2
  23. package/dist/cdn/{ZFGL2KSG.js → ASTB2QVH.js} +1 -1
  24. package/dist/cdn/{JZCE5XQQ.js → AYIGS3LJ.js} +2 -2
  25. package/dist/cdn/{T3RJNBCT.js → B2QGWC23.js} +2 -2
  26. package/dist/cdn/{AO5ZDDOM.js → B3PIXSHU.js} +2 -2
  27. package/dist/cdn/{F73UZHT5.js → BA25TG5C.js} +2 -2
  28. package/dist/cdn/{PTWQKH7N.js → BEHMO7NX.js} +2 -2
  29. package/dist/cdn/{JLQNAXVY.js → BV4KJ55H.js} +2 -2
  30. package/dist/cdn/{BUAKJ3P3.js → CIWGEKIT.js} +2 -2
  31. package/dist/cdn/{LPMVG6DA.js → CPEJ4JYK.js} +2 -2
  32. package/dist/cdn/{QEUOOHFZ.js → CZMOWNQT.js} +2 -2
  33. package/dist/cdn/{MIZQTTX6.js → DJ67MYWB.js} +2 -2
  34. package/dist/cdn/{EZOOR7JX.js → DUL424RL.js} +2 -2
  35. package/dist/cdn/{AKHLLC2Q.js → E5PJXNAD.js} +2 -2
  36. package/dist/cdn/{ALWX2ALV.js → EN57TVLK.js} +2 -2
  37. package/dist/cdn/{K7F5M66S.js → EVJHZBHC.js} +2 -2
  38. package/dist/cdn/{B4VN3JAQ.js → F5HXVQAO.js} +1 -1
  39. package/dist/cdn/{LLROZ25L.js → FB5GIA3P.js} +2 -2
  40. package/dist/cdn/{BY42MDY7.js → FIPWG54A.js} +2 -2
  41. package/dist/cdn/{UA2H4VN5.js → FLXL3G3T.js} +2 -2
  42. package/dist/cdn/{2S6TIIDB.js → FPNKVZZW.js} +2 -2
  43. package/dist/cdn/{SNR7KGH5.js → FZCPC7HT.js} +2 -2
  44. package/dist/cdn/{WXPRTXLW.js → GIVKIK2R.js} +1 -1
  45. package/dist/cdn/{ER72C6UP.js → GULDE2SJ.js} +2 -2
  46. package/dist/cdn/{Q4IIAOMJ.js → H2AVTS5Z.js} +2 -2
  47. package/dist/cdn/{IW6ZQMHZ.js → H7FQIHUP.js} +2 -2
  48. package/dist/cdn/HCFNUQYM.js +4 -0
  49. package/dist/cdn/{LR76QGNT.js → HRQRPXI4.js} +2 -2
  50. package/dist/cdn/{TK5LJKKZ.js → HSYWXNGY.js} +2 -2
  51. package/dist/cdn/{HCWL6CLW.js → HU4BCPVL.js} +2 -2
  52. package/dist/cdn/{IISBCUIL.js → IA5T6GVL.js} +1 -1
  53. package/dist/cdn/{VKE27GIN.js → INRCUKBG.js} +2 -2
  54. package/dist/cdn/{FMGROXJF.js → IOROYQEE.js} +2 -2
  55. package/dist/cdn/{WCE2K76D.js → ITZ3AIFK.js} +2 -2
  56. package/dist/cdn/{47SBNRJH.js → IXLAJIBT.js} +2 -2
  57. package/dist/cdn/{MWRZPTNS.js → JDAADWMS.js} +2 -2
  58. package/dist/cdn/{OJLHFLOO.js → JEHZFFFN.js} +2 -2
  59. package/dist/cdn/JQ7Z55RM.js +4 -0
  60. package/dist/cdn/{ZS6Q64CO.js → KBKOJD3M.js} +2 -2
  61. package/dist/cdn/KG2T4JIZ.js +4 -0
  62. package/dist/cdn/{H53YT2KB.js → KGHZNOAR.js} +2 -2
  63. package/dist/cdn/{L3VADUDD.js → KOFOS2K4.js} +2 -2
  64. package/dist/cdn/{EOI2WJEO.js → LADNYOYI.js} +2 -2
  65. package/dist/cdn/{BQUOVH4M.js → LNHB4KVO.js} +2 -2
  66. package/dist/cdn/{IHZH53G7.js → MB4OLCQP.js} +2 -2
  67. package/dist/cdn/{ZQYIIBP4.js → MDTL3SC3.js} +2 -2
  68. package/dist/cdn/{5QLIBAHX.js → MFGUYCWQ.js} +2 -2
  69. package/dist/cdn/{QL5NO5VC.js → MGKTKWIO.js} +2 -2
  70. package/dist/cdn/{YMMFWORE.js → MQRGQ4QM.js} +2 -2
  71. package/dist/cdn/{NW72HR5Z.js → NBO77VRE.js} +2 -2
  72. package/dist/cdn/{HUQHZUJP.js → NX2B5N76.js} +2 -2
  73. package/dist/cdn/{LOAE4AXM.js → O4YHKS25.js} +2 -2
  74. package/dist/cdn/{CJIDMDZA.js → OKSNE5LR.js} +2 -2
  75. package/dist/cdn/{YKA3LQRU.js → OMMQU2HM.js} +2 -2
  76. package/dist/cdn/{OIWINM74.js → OSLYCWET.js} +2 -2
  77. package/dist/cdn/{HNRED4RD.js → OZS47465.js} +2 -2
  78. package/dist/cdn/{ZS2434QV.js → PAQPHI6A.js} +2 -2
  79. package/dist/cdn/{2YDC2H7K.js → Q2YO7SA7.js} +2 -2
  80. package/dist/cdn/{6BNKLHHO.js → Q73OYWEO.js} +2 -2
  81. package/dist/cdn/QKQSVNWB.js +4 -0
  82. package/dist/cdn/{5UBOP6TA.js → QML3CAKY.js} +1 -1
  83. package/dist/cdn/{ZX3AAZ5M.js → QPLHCOSX.js} +2 -2
  84. package/dist/cdn/{6V5QZCOZ.js → QUJ2TADI.js} +2 -2
  85. package/dist/cdn/{CM5BYNTJ.js → QULJXSPW.js} +2 -2
  86. package/dist/cdn/{VDHVIFNX.js → R27VM7QW.js} +2 -2
  87. package/dist/cdn/{O3GJVY5K.js → R37RLANU.js} +2 -2
  88. package/dist/cdn/{F25ZYGOB.js → R4VTOWCT.js} +2 -2
  89. package/dist/cdn/{G2YUVF2G.js → SSMOYX4N.js} +2 -2
  90. package/dist/cdn/{GKTOQY3S.js → SSNAE5AG.js} +2 -2
  91. package/dist/cdn/{RVFPHHL2.js → SX6GY6NP.js} +2 -2
  92. package/dist/cdn/{KVMUNOT7.js → TM6WVSCR.js} +2 -2
  93. package/dist/cdn/{4LBD2ITU.js → U3QF7SFT.js} +2 -2
  94. package/dist/cdn/{P45RF77O.js → UDJ3KMV2.js} +2 -2
  95. package/dist/cdn/{QBP4ZPEY.js → UEZ6RXYK.js} +2 -2
  96. package/dist/cdn/{GWKKNXJA.js → UJDRIHHE.js} +2 -2
  97. package/dist/cdn/{NWMCC632.js → UNLNHQ7G.js} +2 -2
  98. package/dist/cdn/{EFAEF7BP.js → V6YI3FM7.js} +2 -2
  99. package/dist/cdn/{WDIX45UN.js → WBNDH3VC.js} +2 -2
  100. package/dist/cdn/{GD2FOHZY.js → WLJL2YW6.js} +2 -2
  101. package/dist/cdn/{TWAC5OEP.js → WPMH5KSD.js} +2 -2
  102. package/dist/cdn/{BU6J42GD.js → WYMOQDWL.js} +2 -2
  103. package/dist/cdn/{JWWF5QWJ.js → XBRVCQYL.js} +2 -2
  104. package/dist/cdn/{22XQ7GV5.js → XGXUHDK7.js} +1 -1
  105. package/dist/cdn/{ZZAJ47QE.js → XHZZR2AJ.js} +2 -2
  106. package/dist/cdn/XMXD3AH6.js +4 -0
  107. package/dist/cdn/{DLCZJ6YJ.js → XO4MC5HD.js} +2 -2
  108. package/dist/cdn/{2PMZSACT.js → XQTYN36K.js} +2 -2
  109. package/dist/cdn/{EVMSZC42.js → XV7YJNDU.js} +2 -2
  110. package/dist/cdn/{UKDFYSBU.js → Y3UHULUW.js} +2 -2
  111. package/dist/cdn/YBXSSS2I.js +4 -0
  112. package/dist/cdn/{ZV5RZBYN.js → YCSFWBHK.js} +2 -2
  113. package/dist/cdn/{FXWPUPQW.js → YYRHTFTP.js} +2 -2
  114. package/dist/cdn/{ZSLEMX43.js → ZAAWM2I2.js} +2 -2
  115. package/dist/cdn/ZFRKLFRQ.js +4 -0
  116. package/dist/cdn/{OT64W62R.js → ZLMOQWIJ.js} +2 -2
  117. package/dist/cdn/{GFZEUBYN.js → ZMUVUFYT.js} +2 -2
  118. package/dist/cdn/{WHEV5PJT.js → ZQGF5IO5.js} +2 -2
  119. package/dist/cdn/{QGDMS6EA.js → ZTJHP2SJ.js} +2 -2
  120. package/dist/cdn/index.js +2 -2
  121. package/dist/chunks/AnalysisViewModel.js +123 -128
  122. package/dist/chunks/async-utils.js +1 -1
  123. package/dist/chunks/basemap-gallery-resources.js +1 -1
  124. package/dist/chunks/component-utils.js +1 -1
  125. package/dist/chunks/createCloseEvent.js +1 -1
  126. package/dist/chunks/globalCss.js +1 -1
  127. package/dist/chunks/heading.js +1 -1
  128. package/dist/chunks/layer-list.js +1 -1
  129. package/dist/chunks/legacyIcon.js +1 -1
  130. package/dist/chunks/maybe.js +1 -1
  131. package/dist/chunks/measurementUtils.js +1 -1
  132. package/dist/chunks/runtime.js +1 -1
  133. package/dist/chunks/useHandles.js +1 -1
  134. package/dist/chunks/useT9n.js +1 -1
  135. package/dist/chunks/useView.js +1 -1
  136. package/dist/chunks/useViewModel.js +1 -1
  137. package/dist/chunks/useWidget.js +1 -1
  138. package/dist/chunks/utils.js +1 -1
  139. package/dist/components/arcgis-area-measurement-2d/customElement.js +1 -1
  140. package/dist/components/arcgis-area-measurement-3d/AreaMeasurement3dViewModel.d.ts +2 -8
  141. package/dist/components/arcgis-area-measurement-3d/customElement.js +9 -9
  142. package/dist/components/arcgis-attachments/customElement.js +1 -1
  143. package/dist/components/arcgis-basemap-gallery/customElement.js +1 -1
  144. package/dist/components/arcgis-basemap-gallery-item/customElement.js +1 -1
  145. package/dist/components/arcgis-basemap-layer-list/customElement.js +1 -1
  146. package/dist/components/arcgis-basemap-toggle/customElement.js +1 -1
  147. package/dist/components/arcgis-bookmarks/customElement.js +1 -1
  148. package/dist/components/arcgis-building-explorer/customElement.js +1 -1
  149. package/dist/components/arcgis-catalog-layer-list/customElement.js +1 -1
  150. package/dist/components/arcgis-compass/customElement.js +1 -1
  151. package/dist/components/arcgis-coordinate-conversion/customElement.js +1 -1
  152. package/dist/components/arcgis-daylight/customElement.js +1 -1
  153. package/dist/components/arcgis-direct-line-measurement-3d/DirectLineMeasurement3dViewModel.d.ts +2 -8
  154. package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +3 -3
  155. package/dist/components/arcgis-directional-pad/customElement.js +1 -1
  156. package/dist/components/arcgis-directions/customElement.js +1 -1
  157. package/dist/components/arcgis-distance-measurement-2d/customElement.js +1 -1
  158. package/dist/components/arcgis-editor/customElement.js +1 -1
  159. package/dist/components/arcgis-elevation-profile/customElement.js +1 -1
  160. package/dist/components/arcgis-expand/customElement.d.ts +1 -1
  161. package/dist/components/arcgis-expand/customElement.js +1 -1
  162. package/dist/components/arcgis-feature/customElement.js +1 -1
  163. package/dist/components/arcgis-feature-form/customElement.js +1 -1
  164. package/dist/components/arcgis-feature-table/customElement.js +1 -1
  165. package/dist/components/arcgis-feature-templates/customElement.js +1 -1
  166. package/dist/components/arcgis-features/customElement.js +1 -1
  167. package/dist/components/arcgis-floor-filter/customElement.js +1 -1
  168. package/dist/components/arcgis-fullscreen/customElement.js +1 -1
  169. package/dist/components/arcgis-grid-controls/customElement.js +1 -1
  170. package/dist/components/arcgis-histogram-range-slider/customElement.js +1 -1
  171. package/dist/components/arcgis-home/customElement.d.ts +11 -9
  172. package/dist/components/arcgis-home/customElement.js +1 -1
  173. package/dist/components/arcgis-labeled-switch/customElement.js +1 -1
  174. package/dist/components/arcgis-layer-list/customElement.js +1 -1
  175. package/dist/components/arcgis-layer-list-item/customElement.js +1 -1
  176. package/dist/components/arcgis-legend/customElement.js +1 -1
  177. package/dist/components/arcgis-line-of-sight/LineOfSightViewModel.d.ts +2 -3
  178. package/dist/components/arcgis-line-of-sight/customElement.js +15 -15
  179. package/dist/components/arcgis-link-chart/customElement.js +1 -1
  180. package/dist/components/arcgis-link-chart-layout-switcher/customElement.d.ts +2 -1
  181. package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +1 -1
  182. package/dist/components/arcgis-locate/customElement.js +1 -1
  183. package/dist/components/arcgis-map/customElement.js +1 -1
  184. package/dist/components/arcgis-measurement/customElement.js +1 -1
  185. package/dist/components/arcgis-measurement-content/customElement.js +1 -1
  186. package/dist/components/arcgis-navigation-toggle/customElement.js +1 -1
  187. package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +1 -1
  188. package/dist/components/arcgis-placement/customElement.js +1 -1
  189. package/dist/components/arcgis-print/customElement.js +1 -1
  190. package/dist/components/arcgis-print-custom-text-elements/customElement.js +1 -1
  191. package/dist/components/arcgis-print-dpi-input/customElement.js +1 -1
  192. package/dist/components/arcgis-print-export-button/customElement.js +1 -1
  193. package/dist/components/arcgis-print-exported-link/customElement.js +1 -1
  194. package/dist/components/arcgis-print-exports-panel/customElement.js +1 -1
  195. package/dist/components/arcgis-print-format-select/customElement.js +1 -1
  196. package/dist/components/arcgis-print-layout-advanced-options/customElement.js +1 -1
  197. package/dist/components/arcgis-print-layout-panel/customElement.js +1 -1
  198. package/dist/components/arcgis-print-main-panel/customElement.js +1 -1
  199. package/dist/components/arcgis-print-map-only-advanced-options/customElement.js +1 -1
  200. package/dist/components/arcgis-print-map-only-panel/customElement.js +1 -1
  201. package/dist/components/arcgis-print-out-spatial-reference-input/customElement.js +1 -1
  202. package/dist/components/arcgis-print-preview-input/customElement.js +1 -1
  203. package/dist/components/arcgis-print-scale-section/customElement.js +1 -1
  204. package/dist/components/arcgis-print-template-select/customElement.js +1 -1
  205. package/dist/components/arcgis-print-template-selector/customElement.js +1 -1
  206. package/dist/components/arcgis-scale-bar/customElement.js +1 -1
  207. package/dist/components/arcgis-scale-range-slider/customElement.js +1 -1
  208. package/dist/components/arcgis-scene/customElement.d.ts +1 -1
  209. package/dist/components/arcgis-scene/customElement.js +41 -28
  210. package/dist/components/arcgis-search/customElement.d.ts +21 -0
  211. package/dist/components/arcgis-search/customElement.js +12 -12
  212. package/dist/components/arcgis-search-result-renderer/customElement.js +1 -1
  213. package/dist/components/arcgis-shadow-cast/customElement.js +1 -1
  214. package/dist/components/arcgis-sketch/customElement.js +1 -1
  215. package/dist/components/arcgis-slice/SliceViewModel.d.ts +3 -9
  216. package/dist/components/arcgis-slice/customElement.js +6 -3
  217. package/dist/components/arcgis-slider/customElement.js +1 -1
  218. package/dist/components/arcgis-swipe/customElement.js +1 -1
  219. package/dist/components/arcgis-table-list/customElement.js +1 -1
  220. package/dist/components/arcgis-time-slider/customElement.js +1 -1
  221. package/dist/components/arcgis-time-zone-label/customElement.js +1 -1
  222. package/dist/components/arcgis-track/customElement.js +1 -1
  223. package/dist/components/arcgis-unit-select/customElement.js +1 -1
  224. package/dist/components/arcgis-utility-network-associations/customElement.js +1 -1
  225. package/dist/components/arcgis-utility-network-trace/customElement.js +1 -1
  226. package/dist/components/arcgis-utility-network-validate-topology/customElement.js +1 -1
  227. package/dist/components/arcgis-value-picker/customElement.js +1 -1
  228. package/dist/components/arcgis-version-management/customElement.js +1 -1
  229. package/dist/components/arcgis-version-management-service-item/customElement.js +1 -1
  230. package/dist/components/arcgis-version-management-version-item/customElement.js +1 -1
  231. package/dist/components/arcgis-version-management-version-list/customElement.js +1 -1
  232. package/dist/components/arcgis-version-management-version-properties/customElement.js +1 -1
  233. package/dist/components/arcgis-video/customElement.d.ts +18 -7
  234. package/dist/components/arcgis-video/customElement.js +10 -19
  235. package/dist/components/arcgis-video-player/customElement.d.ts +9 -0
  236. package/dist/components/arcgis-video-player/customElement.js +32 -26
  237. package/dist/components/arcgis-video-player-action-bar/customElement.js +1 -1
  238. package/dist/components/arcgis-video-player-actions-group/customElement.js +1 -1
  239. package/dist/components/arcgis-video-player-controls-group/customElement.js +12 -12
  240. package/dist/components/arcgis-video-player-metadata/customElement.js +1 -1
  241. package/dist/components/arcgis-video-player-settings/customElement.js +1 -1
  242. package/dist/components/arcgis-video-player-slider/customElement.js +1 -1
  243. package/dist/components/arcgis-weather/customElement.js +1 -1
  244. package/dist/components/arcgis-zoom/customElement.js +1 -1
  245. package/dist/docs/api.json +222 -48
  246. package/dist/docs/docs.json +162 -40
  247. package/dist/docs/vscode.html-custom-data.json +28 -10
  248. package/dist/docs/web-types.json +23 -15
  249. package/dist/index.js +1 -1
  250. package/dist/loader.js +4 -4
  251. package/dist/support/AnalysisViewModel.d.ts +10 -13
  252. package/dist/types/lumina.d.ts +2 -2
  253. package/dist/types/preact.d.ts +2 -2
  254. package/dist/types/react.d.ts +2 -2
  255. package/dist/types/stencil.d.ts +2 -2
  256. package/package.json +3 -3
  257. package/dist/cdn/4Q6PGIFK.js +0 -4
  258. package/dist/cdn/DM77T47F.js +0 -4
  259. package/dist/cdn/G4YI64GR.js +0 -4
  260. package/dist/cdn/GIRB3I36.js +0 -4
  261. package/dist/cdn/P5UEKYVM.js +0 -4
  262. package/dist/cdn/RALVTFOZ.js +0 -4
  263. package/dist/cdn/RCP73QYR.js +0 -4
  264. package/dist/cdn/TPS72UKW.js +0 -4
  265. package/dist/cdn/VGUF7FV6.js +0 -4
@@ -1,72 +1,69 @@
1
1
  import { forceInteractive as u } from "@arcgis/core/applications/Components/analysisUtils.js";
2
2
  import d from "@arcgis/core/core/Accessor.js";
3
- import { property as r, subclass as v } from "@arcgis/core/core/accessorSupport/decorators.js";
3
+ import { property as a, subclass as v } from "@arcgis/core/core/accessorSupport/decorators.js";
4
4
  import { ignoreAbortErrors as f } from "@arcgis/core/core/promiseUtils.js";
5
- import { watch as p, whenOnce as V } from "@arcgis/core/core/reactiveUtils.js";
6
- import { c as y, i as O, t as m, a as A } from "./async-utils.js";
5
+ import { when as V, watch as y, on as m, whenOnce as A } from "@arcgis/core/core/reactiveUtils.js";
6
+ import { c as p, i as b, t as g, a as O } from "./async-utils.js";
7
7
  import { a as l, r as w } from "./maybe.js";
8
8
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
9
9
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
10
- v4.34.0-next.1 */
11
- var b = Object.defineProperty, g = Object.getOwnPropertyDescriptor, n = (t, e, s, o) => {
12
- for (var a = o > 1 ? void 0 : o ? g(e, s) : e, c = t.length - 1, h; c >= 0; c--)
13
- (h = t[c]) && (a = (o ? h(e, s, a) : h(a)) || a);
14
- return o && a && b(e, s, a), a;
10
+ v4.34.0-next.11 */
11
+ var U = Object.defineProperty, F = Object.getOwnPropertyDescriptor, i = (s, t, n, r) => {
12
+ for (var o = r > 1 ? void 0 : r ? F(t, n) : t, c = s.length - 1, h; c >= 0; c--)
13
+ (h = s[c]) && (o = (r ? h(t, n, o) : h(o)) || o);
14
+ return r && o && U(t, n, o), o;
15
15
  };
16
- let i = class extends d {
17
- constructor(t = {}) {
18
- super(t), this._operationState = "inactive", this._loggedUnsupportedErrorMessage = !1, this._parentChangeFromReconnect = !1, this._startUserOperation = null;
19
- const e = t?.analysis;
20
- e != null ? this.analysis = e : (this._set("analysis", this.constructAnalysis()), this._set("isAnalysisOwner", !0)), t?.visible != null && (this.visible = t.visible);
21
- }
22
- // @ts-expect-error TODO - ignore
23
- normalizeCtorArgs(t) {
24
- const { analysis: e, ...s } = t;
25
- return s;
16
+ let e = class extends d {
17
+ // No properties are set in the constructor. The component should support assignments at any time and component
18
+ // properties are only assigned after the view models is constructed.
19
+ constructor() {
20
+ super({}), this._ownsAnalysis = !1, this._operationState = "inactive", this._loggedUnsupportedErrorMessage = !1, this._changeFromReconnect = !1, this._startUserOperation = null;
26
21
  }
27
22
  initialize() {
23
+ this._set("analysis", this.constructAnalysis()), this._ownsAnalysis = !0;
24
+ const s = () => {
25
+ !this._changeFromReconnect && !this._viewHasAnalysis && (this._ownsAnalysis = !1);
26
+ const t = !this._changeFromReconnect;
27
+ this._changeFromReconnect = !1, t && this._scheduleViewReconnect();
28
+ };
28
29
  this.addHandles([
29
- p(
30
- () => ({ readyAndNotSupported: this.view != null && this.view.ready && !this.supported }),
31
- ({ readyAndNotSupported: t }) => {
32
- t && !this._loggedUnsupportedErrorMessage && console.error(this.unsupportedErrorMessage);
30
+ V(
31
+ () => this.view != null && this.view.ready && !this.supported,
32
+ () => {
33
+ this._loggedUnsupportedErrorMessage || console.error(this.unsupportedErrorMessage);
33
34
  },
34
35
  { sync: !0, initial: !0 }
35
36
  ),
36
- p(
37
- () => (
38
- // @ts-expect-error this should become unnecessary with https://devtopia.esri.com/WebGIS/arcgis-js-api/issues/70835
39
- this.analysis?.parent
40
- ),
37
+ y(() => [this.analysis, this._viewHasAnalysis], s, { sync: !0 }),
38
+ m(
39
+ () => this.view,
40
+ "analysis-view-destroy",
41
41
  (t) => {
42
- !this._parentChangeFromReconnect && t !== this.view && this._set("isAnalysisOwner", !1);
43
- const e = !this._parentChangeFromReconnect;
44
- this._parentChangeFromReconnect = !1, e && this._scheduleViewReconnect();
45
- },
46
- { sync: !0 }
42
+ t.analysis === this.analysis && s();
43
+ }
47
44
  ),
48
- p(
45
+ y(
49
46
  () => ({
50
47
  view: this.view,
51
48
  ready: !!this.view?.ready,
52
49
  supported: this.supported
53
50
  }),
54
- ({ view: t }, e) => {
55
- const s = e?.view;
56
- t !== s && (this._startUserOperation = l(this._startUserOperation), this._disconnectFromView(s)), this._scheduleViewReconnect();
51
+ ({ view: t }, n) => {
52
+ const r = n?.view;
53
+ t !== r && (this._startUserOperation = l(this._startUserOperation), this._disconnectFromView(r)), this._scheduleViewReconnect();
57
54
  },
58
55
  { sync: !0, initial: !0 }
59
56
  )
60
57
  ]);
61
58
  }
62
59
  destroy() {
63
- this._reconnectViewTask = l(this._reconnectViewTask), this._startUserOperation = l(this._startUserOperation), this._analysisView != null && (this._analysisView.visible = void 0), this._disconnectFromView(this.view), this._set("view", null), this.isAnalysisOwner && this.analysis?.destroy();
60
+ this._reconnectViewTask = l(this._reconnectViewTask), this._startUserOperation = l(this._startUserOperation), this._analysisView != null && (this._analysisView.visible = void 0), this._disconnectFromView(this.view), this._set("view", null), this._ownsAnalysis && this.analysis?.destroy();
64
61
  }
65
62
  get supported() {
66
63
  return this.view == null || this.view.type === this.supportedViewType;
67
64
  }
68
- set visible(t) {
69
- this._set("visible", t), this._analysisView != null && (this._analysisView.visible = t);
65
+ set visible(s) {
66
+ this._set("visible", s), this._analysisView != null && (this._analysisView.visible = s);
70
67
  }
71
68
  get active() {
72
69
  return this._startUserOperation?.state === 2;
@@ -74,8 +71,8 @@ let i = class extends d {
74
71
  get disabled() {
75
72
  return this.view == null || !this.view.ready || !this.supported;
76
73
  }
77
- set analysis(t) {
78
- t !== this._get("analysis") && (this._startUserOperation = l(this._startUserOperation), this._disconnectFromView(this.view), this._setExternalAnalysis(t), this._scheduleViewReconnect());
74
+ set analysis(s) {
75
+ s !== this._get("analysis") && (this._startUserOperation = l(this._startUserOperation), this._disconnectFromView(this.view), this._setExternalAnalysis(s), this._scheduleViewReconnect());
79
76
  }
80
77
  get analysisView() {
81
78
  return this._analysisView;
@@ -86,8 +83,9 @@ let i = class extends d {
86
83
  get connectingToView() {
87
84
  return this._reconnectViewTask != null;
88
85
  }
89
- get isAnalysisOwner() {
90
- return this._get("isAnalysisOwner");
86
+ get _viewHasAnalysis() {
87
+ const { view: s } = this;
88
+ return s?.analyses.includes(this.analysis) === !0;
91
89
  }
92
90
  get operationState() {
93
91
  return this._operationState;
@@ -101,26 +99,26 @@ let i = class extends d {
101
99
  /**
102
100
  * If analysis has unset inputs, start() will kick off the user operation to specify those inputs.
103
101
  */
104
- async start(t) {
102
+ async start(s) {
105
103
  if (!this.visible) {
106
104
  console.warn("Cannot start analysis when not visible");
107
105
  return;
108
106
  }
109
- const e = {
107
+ const t = {
110
108
  task: null,
111
109
  abort: null,
112
110
  state: 0
113
111
  /* PENDING */
114
- }, s = y(async (o) => {
115
- if (e.state = 1, await V(() => this.ready, o), e.state = 2, this._analysisView == null || this.view == null)
112
+ }, n = p(async (r) => {
113
+ if (t.state = 1, await A(() => this.ready, r), t.state = 2, this._analysisView == null || this.view == null)
116
114
  return;
117
115
  this._operationState = "active";
118
- const a = t?.({ signal: o }) ?? this.place({ signal: o });
119
- await f(a);
116
+ const o = s?.({ signal: r }) ?? this.place({ signal: r });
117
+ await f(o);
120
118
  });
121
- return s.promise.finally(() => {
122
- (this._startUserOperation === e || this._startUserOperation == null) && (this._operationState = "inactive");
123
- }), e.task = s, e.abort = () => s.abort(), this._startUserOperation = e, await s.promise;
119
+ return n.promise.finally(() => {
120
+ (this._startUserOperation === t || this._startUserOperation == null) && (this._operationState = "inactive");
121
+ }), t.task = n, t.abort = () => n.abort(), this._startUserOperation = t, await n.promise;
124
122
  }
125
123
  async startNewAnalysis() {
126
124
  this.clear(), await this.start();
@@ -137,7 +135,7 @@ let i = class extends d {
137
135
  * The function will be called each time the view becomes ready, the internal Layer of
138
136
  * the view model has been added to the map and the analysis view of the analysis has been created.
139
137
  */
140
- onConnectToAnalysisView(t) {
138
+ onConnectToAnalysisView(s) {
141
139
  }
142
140
  /**
143
141
  * A callback used by view models that manage an analysis.
@@ -149,97 +147,94 @@ let i = class extends d {
149
147
  }
150
148
  _scheduleViewReconnect() {
151
149
  this._reconnectViewTask = l(this._reconnectViewTask);
152
- const t = y(async (e) => {
150
+ const s = p(async (t) => {
153
151
  try {
154
- await this._reconnectView(e);
155
- } catch (s) {
156
- if (m(e), !A(s)) {
157
- console.warn("Failed to use analysis in view model", s);
152
+ await this._reconnectView(t);
153
+ } catch (n) {
154
+ if (g(t), !O(n)) {
155
+ console.warn("Failed to use analysis in view model", n);
158
156
  return;
159
157
  }
160
- throw s;
158
+ throw n;
161
159
  } finally {
162
- t === this._reconnectViewTask && (this._reconnectViewTask = void 0);
160
+ s === this._reconnectViewTask && (this._reconnectViewTask = void 0);
163
161
  }
164
162
  });
165
- this._reconnectViewTask = t;
163
+ this._reconnectViewTask = s;
166
164
  }
167
- async _reconnectView(t) {
168
- const { view: e } = this, s = e != null && e.ready && this.supported, o = this.analysis;
169
- if (this._startUserOperation = _(this._startUserOperation), this._disconnectFromView(e), !s || e == null || o == null)
165
+ async _reconnectView(s) {
166
+ const { view: t } = this, n = t != null && t.ready && this.supported, r = this.analysis;
167
+ if (this._startUserOperation = _(this._startUserOperation), this._disconnectFromView(t), !n || t == null || r == null)
170
168
  return;
171
- if (this.isAnalysisOwner) {
172
- if (o.parent != null) {
173
- console.error("expected owned analysis to have null parent when connecting to view");
174
- return;
175
- }
176
- this._parentChangeFromReconnect = !0, e.analyses.add(o);
177
- }
178
- const a = await e.whenAnalysisView(o);
179
- if (this._analysisView = a, O(t)) {
169
+ this._ownsAnalysis && (this._changeFromReconnect = !0, t.analyses.add(r));
170
+ const o = await t.whenAnalysisView(r);
171
+ if (this._analysisView = o, b(s)) {
180
172
  this._startUserOperation = _(this._startUserOperation);
181
173
  return;
182
174
  }
183
- a.visible = this.visible, this._forceInteractiveHandle = u(a), this.addHandles(this._forceInteractiveHandle), this.onConnectToAnalysisView(a);
175
+ o.visible = this.visible, this._forceInteractiveHandle = u(o), this.addHandles(this._forceInteractiveHandle), this.onConnectToAnalysisView(o);
184
176
  }
185
- _disconnectFromView(t) {
186
- t != null && this.isAnalysisOwner && t.analyses.includes(this.analysis) && (this._parentChangeFromReconnect = !0, this.analysis.clear(), t.analyses.remove(this.analysis)), this.onDisconnectFromAnalysisView(), this._forceInteractiveHandle = w(this._forceInteractiveHandle), this._analysisView = void 0;
177
+ _disconnectFromView(s) {
178
+ s != null && this._ownsAnalysis && s.analyses.includes(this.analysis) && (this._changeFromReconnect = !0, this.analysis.clear(), s.analyses.remove(this.analysis)), this.onDisconnectFromAnalysisView(), this._forceInteractiveHandle = w(this._forceInteractiveHandle), this._analysisView = void 0;
187
179
  }
188
- _setExternalAnalysis(t) {
189
- this._analysisView != null && !this.isAnalysisOwner && (this._analysisView.visible = void 0, this._forceInteractiveHandle = w(this._forceInteractiveHandle)), this._analysisView = void 0, this._set("isAnalysisOwner", !1), this._set("analysis", t), this._parentChangeFromReconnect = !1;
180
+ _setExternalAnalysis(s) {
181
+ this._analysisView != null && !this._ownsAnalysis && (this._analysisView.visible = void 0, this._forceInteractiveHandle = w(this._forceInteractiveHandle)), this._analysisView = void 0, this._ownsAnalysis = !1, this._set("analysis", s), this._changeFromReconnect = !1;
190
182
  }
191
183
  };
192
- n([
193
- r()
194
- ], i.prototype, "supported", 1);
195
- n([
196
- r()
197
- ], i.prototype, "view", 2);
198
- n([
199
- r({ type: Boolean, value: !0 })
200
- ], i.prototype, "visible", 1);
201
- n([
202
- r()
203
- ], i.prototype, "active", 1);
204
- n([
205
- r()
206
- ], i.prototype, "disabled", 1);
207
- n([
208
- r()
209
- ], i.prototype, "analysis", 1);
210
- n([
211
- r()
212
- ], i.prototype, "_analysisView", 2);
213
- n([
214
- r()
215
- ], i.prototype, "analysisView", 1);
216
- n([
217
- r()
218
- ], i.prototype, "ready", 1);
219
- n([
220
- r()
221
- ], i.prototype, "connectingToView", 1);
222
- n([
223
- r({ readOnly: !0 })
224
- ], i.prototype, "isAnalysisOwner", 1);
225
- n([
226
- r()
227
- ], i.prototype, "_reconnectViewTask", 2);
228
- n([
229
- r()
230
- ], i.prototype, "_forceInteractiveHandle", 2);
231
- n([
232
- r()
233
- ], i.prototype, "_operationState", 2);
234
- n([
235
- r()
236
- ], i.prototype, "operationState", 1);
237
- i = n([
184
+ i([
185
+ a()
186
+ ], e.prototype, "supported", 1);
187
+ i([
188
+ a()
189
+ ], e.prototype, "view", 2);
190
+ i([
191
+ a({ type: Boolean, value: !0 })
192
+ ], e.prototype, "visible", 1);
193
+ i([
194
+ a()
195
+ ], e.prototype, "active", 1);
196
+ i([
197
+ a()
198
+ ], e.prototype, "disabled", 1);
199
+ i([
200
+ a()
201
+ ], e.prototype, "analysis", 1);
202
+ i([
203
+ a()
204
+ ], e.prototype, "_analysisView", 2);
205
+ i([
206
+ a()
207
+ ], e.prototype, "analysisView", 1);
208
+ i([
209
+ a()
210
+ ], e.prototype, "ready", 1);
211
+ i([
212
+ a()
213
+ ], e.prototype, "connectingToView", 1);
214
+ i([
215
+ a()
216
+ ], e.prototype, "_ownsAnalysis", 2);
217
+ i([
218
+ a()
219
+ ], e.prototype, "_viewHasAnalysis", 1);
220
+ i([
221
+ a()
222
+ ], e.prototype, "_reconnectViewTask", 2);
223
+ i([
224
+ a()
225
+ ], e.prototype, "_forceInteractiveHandle", 2);
226
+ i([
227
+ a()
228
+ ], e.prototype, "_operationState", 2);
229
+ i([
230
+ a()
231
+ ], e.prototype, "operationState", 1);
232
+ e = i([
238
233
  v("esri.components.support.AnalysisViewModel")
239
- ], i);
240
- function _(t) {
241
- return t != null && t.state >= 2 ? (t.abort(), null) : t;
234
+ ], e);
235
+ function _(s) {
236
+ return s != null && s.state >= 2 ? (s.abort(), null) : s;
242
237
  }
243
238
  export {
244
- i as A
239
+ e as A
245
240
  };
@@ -4,7 +4,7 @@ import p from "@arcgis/core/core/Error.js";
4
4
  import { a as f, r as _ } from "./maybe.js";
5
5
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
6
6
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
7
- v4.34.0-next.1 */
7
+ v4.34.0-next.11 */
8
8
  var v = Object.defineProperty, m = Object.getOwnPropertyDescriptor, i = (r, t, o, e) => {
9
9
  for (var s = e > 1 ? void 0 : e ? m(t, o) : t, a = r.length - 1, u; a >= 0; a--)
10
10
  (u = r[a]) && (s = (e ? u(t, o, s) : u(s)) || s);
@@ -1,6 +1,6 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
3
- v4.34.0-next.1 */
3
+ v4.34.0-next.11 */
4
4
  const e = "esri-basemap-gallery", t = {
5
5
  base: e,
6
6
  sourceLoading: `${e}--source-loading`,
@@ -1,6 +1,6 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
3
- v4.34.0-next.1 */
3
+ v4.34.0-next.11 */
4
4
  function N(e) {
5
5
  e.el.childElem && (e.el.childElem.ownedBy = e.el);
6
6
  const i = v(e);
@@ -2,7 +2,7 @@ import { makeGenericController as l } from "@arcgis/lumina/controllers";
2
2
  import { createEvent as s } from "@arcgis/lumina";
3
3
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
4
4
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
5
- v4.34.0-next.1 */
5
+ v4.34.0-next.11 */
6
6
  const a = l((e, r) => (r.onLoaded(() => {
7
7
  const t = e.el;
8
8
  e.listenOn(t.childElem, "calciteFlowItemClose", () => {
@@ -1,6 +1,6 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
3
- v4.34.0-next.1 */
3
+ v4.34.0-next.11 */
4
4
  const e = {
5
5
  disabled: "esri-disabled",
6
6
  empty: "esri-widget__content--empty",
@@ -4,7 +4,7 @@ import { unsafeStatic as l, html as m } from "lit/static-html.js";
4
4
  import { g as c } from "./globalCss.js";
5
5
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
6
6
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
7
- v4.34.0-next.1 */
7
+ v4.34.0-next.11 */
8
8
  function d({ level: a, class: t, children: e }) {
9
9
  const n = g(a), s = `h${n}`, r = l(s);
10
10
  return m`<${r} .ariaLevel=${String(n)} class=${o(i(c.heading, t))} role=heading>${e}</${r}>`;
@@ -1,7 +1,7 @@
1
1
  import { css as i } from "@lit/reactive-element/css-tag.js";
2
2
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
4
- v4.34.0-next.1 */
4
+ v4.34.0-next.11 */
5
5
  const t = i`@layer{arcgis-layer-list{display:block;.arcgis-layer-list{display:flex}.arcgis-layer-list__filter-no-results{padding:var(--calcite-spacing-md) var(--calcite-spacing-lg)}.arcgis-layer-list__item{--calcite-list-item-icon-center: 8.5px}.arcgis-layer-list__item-table-icon,.arcgis-layer-list__item-catalog-icon{margin-inline-end:0}.arcgis-layer-list__item-action-image{flex:0 0 var(--calcite-spacing-xl);background-position:50%;background-repeat:no-repeat;background-size:contain;width:var(--calcite-spacing-xl);height:var(--calcite-spacing-xl);text-align:center;font-size:var(--calcite-font-size)}.arcgis-layer-list__action-menu .arcgis-layer-list__action-group{display:none}.arcgis-layer-list__action-menu[open] .arcgis-layer-list__action-group{display:flex}.arcgis-layer-list__visible-icon{visibility:hidden}.arcgis-layer-list__item--active:hover,.arcgis-layer-list__item--active:focus,.arcgis-layer-list__item--active:focus-within{>.arcgis-layer-list__visible-toggle>.arcgis-layer-list__visible-icon{visibility:visible}}.arcgis-layer-list__status-indicator{visibility:hidden;margin-inline:0;color:transparent}.arcgis-layer-list__publishing{visibility:visible;color:var(--calcite-color-foreground-2);transform-origin:var(--calcite-list-item-icon-center) var(--calcite-list-item-icon-center);animation:arcgis-layer-list__publishing-anim 2s normal infinite}.arcgis-layer-list__updating{visibility:visible;animation:arcgis-layer-list__updating-anim 2s normal infinite}.arcgis-layer-list__connection-status{visibility:visible;margin-inline:calc(var(--calcite-spacing-lg) * .5);width:calc(var(--calcite-spacing-xxxl) * .5);height:calc(var(--calcite-spacing-xxxl) * .5);color:var(--calcite-color-status-danger)}.arcgis-layer-list__connection-status--connected{color:var(--calcite-color-status-success)}.arcgis-layer-list__item-content-bottom{margin:var(--calcite-spacing-md) var(--calcite-spacing-lg)}.arcgis-layer-list__item-content-bottom .arcgis-legend__service{padding:0 0 var(--calcite-spacing-md) 0}.arcgis-layer-list__item-message{margin:var(--calcite-spacing-md) var(--calcite-spacing-lg)}@keyframes arcgis-layer-list__updating-anim{0%,40%{color:transparent}50%,80%{color:var(--calcite-color-brand)}to{color:transparent}}@keyframes arcgis-layer-list__publishing-anim{0%,20%{transform:rotate(45deg)}80%,to{transform:rotate(135deg)}}}}`;
6
6
  export {
7
7
  t as s
@@ -1,6 +1,6 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
3
- v4.34.0-next.1 */
3
+ v4.34.0-next.11 */
4
4
  const r = {
5
5
  dragHorizontal: "esri-icon-drag-horizontal",
6
6
  dragVertical: "esri-icon-drag-vertical"
@@ -1,6 +1,6 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
3
- v4.34.0-next.1 */
3
+ v4.34.0-next.11 */
4
4
  function e(r) {
5
5
  r?.abort();
6
6
  }
@@ -1,6 +1,6 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
3
- v4.34.0-next.1 */
3
+ v4.34.0-next.11 */
4
4
  const t = ["metric", "imperial"], r = [
5
5
  "inches",
6
6
  "feet",
@@ -2,7 +2,7 @@ import { makeRuntime as e } from "@arcgis/lumina";
2
2
  import { trackAccess as s, createObservable as a, createTrackingTarget as r, runTracked as c } from "@arcgis/core/applications/Components/reactiveUtils.js";
3
3
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
4
4
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
5
- v4.34.0-next.1 */
5
+ v4.34.0-next.11 */
6
6
  const t = e({ defaultAssetPath: "https://jsdev.arcgis.com/next/map-components/", hydratedAttribute: "hydrated" }), { customElement: n, getAssetPath: d, setAssetPath: i } = t;
7
7
  t.t = s;
8
8
  t.o = a;
@@ -1,7 +1,7 @@
1
1
  import { toFunction as i, Controller as n } from "@arcgis/lumina/controllers";
2
2
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
4
- v4.34.0-next.1 */
4
+ v4.34.0-next.11 */
5
5
  class o {
6
6
  constructor() {
7
7
  this._groups = /* @__PURE__ */ new Map();
@@ -2,7 +2,7 @@ import { makeT9nController as o } from "@arcgis/lumina/controllers";
2
2
  import { g as t } from "./runtime.js";
3
3
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
4
4
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
5
- v4.34.0-next.1 */
5
+ v4.34.0-next.11 */
6
6
  const s = o(t);
7
7
  export {
8
8
  s as u
@@ -4,7 +4,7 @@ import { signal as a } from "@arcgis/core/applications/Components/reactiveUtils.
4
4
  import { a as i } from "./component-utils.js";
5
5
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
6
6
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
7
- v4.34.0-next.1 */
7
+ v4.34.0-next.11 */
8
8
  const v = (s) => m(s);
9
9
  class d extends c {
10
10
  #e = a(void 0);
@@ -5,7 +5,7 @@ import { V as m } from "./useView.js";
5
5
  import { watch as p } from "@arcgis/core/core/reactiveUtils.js";
6
6
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
7
7
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
8
- v4.34.0-next.1 */
8
+ v4.34.0-next.11 */
9
9
  const v = (t, o) => (e) => a(e, t);
10
10
  class r extends i {
11
11
  #o = void 0;
@@ -5,7 +5,7 @@ import { V as g } from "./useView.js";
5
5
  import { watch as m } from "@arcgis/core/core/reactiveUtils.js";
6
6
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
7
7
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
8
- v4.34.0-next.1 */
8
+ v4.34.0-next.11 */
9
9
  const I = (d, e) => (t) => P(t, d);
10
10
  class f extends b {
11
11
  #o = /* @__PURE__ */ new Map();
@@ -1,7 +1,7 @@
1
1
  import { formatNumber as r } from "@arcgis/core/intl.js";
2
2
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
4
- v4.34.0-next.1 */
4
+ v4.34.0-next.11 */
5
5
  const s = /* @__PURE__ */ new Map([
6
6
  ["a3-landscape", "a3-landscape"],
7
7
  ["a3-portrait", "a3-portrait"],
@@ -6,7 +6,7 @@ import { m as r } from "../../chunks/useWidget.js";
6
6
  import { css as n } from "@lit/reactive-element/css-tag.js";
7
7
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
8
8
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
9
- v4.34.0-next.1 */
9
+ v4.34.0-next.11 */
10
10
  const h = n`@layer{arcgis-area-measurement-2d{display:block}}`, l = r(
11
11
  // Workaround for https://devtopia.esri.com/WebGIS/arcgis-js-api/issues/61559
12
12
  s
@@ -1,19 +1,14 @@
1
1
  /// <reference types="@arcgis/core/interfaces.d.ts" />
2
2
  import { default as AreaMeasurementAnalysis } from '@arcgis/core/analysis/AreaMeasurementAnalysis.js';
3
3
  import { default as SceneView } from '@arcgis/core/views/SceneView';
4
- import { ConstructProperties as AnalysisViewModelConstructProperties, AnalysisViewModel } from '../../support/AnalysisViewModel';
4
+ import { AnalysisViewModel } from '../../support/AnalysisViewModel';
5
5
  import { MeasurementModeString, MeasurementState, MeasurementValue } from '../../support/measurementUtils';
6
- interface ConstructProperties extends AnalysisViewModelConstructProperties<SceneView, AreaMeasurementAnalysis> {
7
- unitOptions: __esri.SystemOrAreaUnit[];
8
- unit: __esri.SystemOrAreaUnit;
9
- }
10
6
  export interface Measurement {
11
7
  readonly mode: MeasurementModeString;
12
8
  readonly area: MeasurementValue<__esri.Area>;
13
9
  readonly perimeter: MeasurementValue<__esri.Length>;
14
10
  }
15
- export default class AreaMeasurement3dViewModel extends AnalysisViewModel<SceneView, AreaMeasurementAnalysis> implements ConstructProperties {
16
- constructor(properties?: Partial<ConstructProperties>);
11
+ export default class AreaMeasurement3dViewModel extends AnalysisViewModel<SceneView, AreaMeasurementAnalysis> {
17
12
  initialize(): void;
18
13
  get state(): Exclude<MeasurementState, "unsupported">;
19
14
  get displayState(): MeasurementState;
@@ -42,4 +37,3 @@ export default class AreaMeasurement3dViewModel extends AnalysisViewModel<SceneV
42
37
  protected readonly unsupportedErrorMessage = "The Area Measurement 3D component is only supported in 3D views.";
43
38
  protected constructAnalysis(): AreaMeasurementAnalysis;
44
39
  }
45
- export {};
@@ -4,18 +4,18 @@ import { LitElement as g, createEvent as f, noShadowRoot as w, nothing as v, saf
4
4
  import { usePropertyChange as M } from "@arcgis/lumina/controllers";
5
5
  import { u as O } from "../../chunks/useT9n.js";
6
6
  import { m as $ } from "../../chunks/useViewModel.js";
7
- import { g as p } from "../../chunks/globalCss.js";
7
+ import { g as m } from "../../chunks/globalCss.js";
8
8
  import { css as A } from "@lit/reactive-element/css-tag.js";
9
9
  import U from "@arcgis/core/analysis/AreaMeasurementAnalysis.js";
10
10
  import { getDefaultUnitForView as V } from "@arcgis/core/applications/Components/getDefaultUnits.js";
11
11
  import { property as o, subclass as _ } from "@arcgis/core/core/accessorSupport/decorators.js";
12
12
  import { watch as D } from "@arcgis/core/core/reactiveUtils.js";
13
13
  import { A as C } from "../../chunks/AnalysisViewModel.js";
14
- import { g as m, a as d } from "../../chunks/measurementUtils.js";
14
+ import { g as p, a as d } from "../../chunks/measurementUtils.js";
15
15
  import { hasValidAreaResult as L } from "@arcgis/core/applications/Components/analysisUtils.js";
16
16
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
17
17
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
18
- v4.34.0-next.1 */
18
+ v4.34.0-next.11 */
19
19
  const P = A`@layer{arcgis-area-measurement-3d{display:block}.arcgis-area-measurement-3d{position:relative;padding:var(--esri-widget-padding);overflow-y:auto}}`;
20
20
  var S = Object.defineProperty, E = Object.getOwnPropertyDescriptor, n = (e, t, s, a) => {
21
21
  for (var r = a > 1 ? void 0 : a ? E(t, s) : t, l = e.length - 1, u; l >= 0; l--)
@@ -23,8 +23,8 @@ var S = Object.defineProperty, E = Object.getOwnPropertyDescriptor, n = (e, t, s
23
23
  return a && r && S(t, s, r), r;
24
24
  };
25
25
  let i = class extends C {
26
- constructor(e) {
27
- super(e), this.supportedViewType = "3d", this.unsupportedErrorMessage = "The Area Measurement 3D component is only supported in 3D views.";
26
+ constructor() {
27
+ super(...arguments), this.supportedViewType = "3d", this.unsupportedErrorMessage = "The Area Measurement 3D component is only supported in 3D views.";
28
28
  }
29
29
  initialize() {
30
30
  this.addHandles(
@@ -61,8 +61,8 @@ let i = class extends C {
61
61
  const { analysisView: e } = this, t = e?.result, s = t?.mode ?? "euclidean", a = e != null && L(e);
62
62
  return {
63
63
  mode: s,
64
- area: m(t?.area, a),
65
- perimeter: m(t?.perimeter, a)
64
+ area: p(t?.area, a),
65
+ perimeter: p(t?.perimeter, a)
66
66
  };
67
67
  }
68
68
  get unitOptions() {
@@ -152,8 +152,8 @@ class j extends g {
152
152
  const { messages: t, unit: s, unitOptions: a, viewModel: r } = this, { measurement: l, state: u } = r;
153
153
  return y`<div aria-label=${t.componentLabel ?? v} class=${b({
154
154
  [x.base]: !0,
155
- [p.widget]: !0,
156
- [p.panel]: !0
155
+ [m.widget]: !0,
156
+ [m.panel]: !0
157
157
  })} role=presentation><arcgis-measurement-content .state=${r.displayState} .hintLabel=${t.hint} .unsupportedLabel=${t.unsupported} .items=${[
158
158
  {
159
159
  title: t.area,
@@ -6,7 +6,7 @@ import { m as o } from "../../chunks/useWidget.js";
6
6
  import { css as h } from "@lit/reactive-element/css-tag.js";
7
7
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
8
8
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
9
- v4.34.0-next.1 */
9
+ v4.34.0-next.11 */
10
10
  const n = h`@layer{arcgis-attachments{display:block}}`, r = o(i);
11
11
  class l extends s {
12
12
  constructor() {
@@ -13,7 +13,7 @@ import { c as a } from "../../chunks/basemap-gallery-resources.js";
13
13
  import { css as L } from "@lit/reactive-element/css-tag.js";
14
14
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
15
15
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
16
- v4.34.0-next.1 */
16
+ v4.34.0-next.11 */
17
17
  const D = L`@layer{arcgis-basemap-gallery{display:block}}`, A = B(f), m = {
18
18
  // Below this width, items are displayed as a single column and the thumbnail is placed above the title.
19
19
  small: 200,