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

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 (252) hide show
  1. package/dist/cdn/{GKTOQY3S.js → 2DEASVZD.js} +2 -2
  2. package/dist/cdn/{WCE2K76D.js → 2ESEAIA5.js} +2 -2
  3. package/dist/cdn/{SUN26GSO.js → 363OWKVL.js} +1 -1
  4. package/dist/cdn/{ZFGL2KSG.js → 3W2WGUDP.js} +1 -1
  5. package/dist/cdn/{OT64W62R.js → 46DOZMHG.js} +2 -2
  6. package/dist/cdn/{5UBOP6TA.js → 46FOHP5W.js} +1 -1
  7. package/dist/cdn/{JZCE5XQQ.js → 46NE5CD2.js} +2 -2
  8. package/dist/cdn/{A3ZUH4XX.js → 4H2W5GYD.js} +2 -2
  9. package/dist/cdn/{BKZWDNEP.js → 4IQYTQIS.js} +2 -2
  10. package/dist/cdn/{GD2FOHZY.js → 4QRBF4FC.js} +2 -2
  11. package/dist/cdn/{SNR7KGH5.js → 4USUAQ3M.js} +2 -2
  12. package/dist/cdn/{BY42MDY7.js → 4XMBZYKO.js} +2 -2
  13. package/dist/cdn/{VKE27GIN.js → 56EGKCO3.js} +2 -2
  14. package/dist/cdn/{4LBD2ITU.js → 5R5OWXAQ.js} +2 -2
  15. package/dist/cdn/{NW72HR5Z.js → 5VXQTBEA.js} +2 -2
  16. package/dist/cdn/{IISBCUIL.js → 5YG75FR4.js} +1 -1
  17. package/dist/cdn/{TPS72UKW.js → 67UXLU2S.js} +2 -2
  18. package/dist/cdn/{LOAE4AXM.js → 6EE4JJ2I.js} +2 -2
  19. package/dist/cdn/{HUQHZUJP.js → 6K7QBAMI.js} +2 -2
  20. package/dist/cdn/{NWMCC632.js → 6X6BDLCA.js} +2 -2
  21. package/dist/cdn/{2PMZSACT.js → 6Z56X76F.js} +2 -2
  22. package/dist/cdn/{Q4KIAHIP.js → 72K6PTPA.js} +1 -1
  23. package/dist/cdn/{DLCZJ6YJ.js → 7AXRMMLJ.js} +2 -2
  24. package/dist/cdn/{ZQYIIBP4.js → 7L5XBWYD.js} +2 -2
  25. package/dist/cdn/{UKDFYSBU.js → ALUNHIFF.js} +2 -2
  26. package/dist/cdn/{LEDULRXD.js → BKWCCZ53.js} +2 -2
  27. package/dist/cdn/{NUK4LTX5.js → BOZBPEOQ.js} +2 -2
  28. package/dist/cdn/{WXPRTXLW.js → BRHFFFB6.js} +1 -1
  29. package/dist/cdn/{YMMFWORE.js → C2GRKYPA.js} +2 -2
  30. package/dist/cdn/{IHZH53G7.js → C5VB62EV.js} +2 -2
  31. package/dist/cdn/{P45RF77O.js → CQMPO2FO.js} +2 -2
  32. package/dist/cdn/{WHEV5PJT.js → CV25FGWS.js} +2 -2
  33. package/dist/cdn/CWRD56OW.js +4 -0
  34. package/dist/cdn/{Q4IIAOMJ.js → D4UC6YNK.js} +2 -2
  35. package/dist/cdn/{NR7MHE2C.js → DPC4BXUO.js} +2 -2
  36. package/dist/cdn/{KVMUNOT7.js → DVRWN2X3.js} +2 -2
  37. package/dist/cdn/{WDIX45UN.js → DWMAF3AB.js} +2 -2
  38. package/dist/cdn/{ZZAJ47QE.js → EGAU2GAK.js} +2 -2
  39. package/dist/cdn/F3DQMWJ6.js +4 -0
  40. package/dist/cdn/{LR76QGNT.js → FGMM6TLQ.js} +2 -2
  41. package/dist/cdn/GKQV3GV7.js +4 -0
  42. package/dist/cdn/{O3GJVY5K.js → GOEEX3IG.js} +2 -2
  43. package/dist/cdn/{H53YT2KB.js → H34JBL4Z.js} +2 -2
  44. package/dist/cdn/{AO5ZDDOM.js → HAFNNW3D.js} +2 -2
  45. package/dist/cdn/{ER72C6UP.js → HJBXOC2I.js} +2 -2
  46. package/dist/cdn/{ZS6Q64CO.js → HLKSYNBA.js} +2 -2
  47. package/dist/cdn/{GWKKNXJA.js → HQEQV3QC.js} +2 -2
  48. package/dist/cdn/{2YDC2H7K.js → JCQD3YNR.js} +2 -2
  49. package/dist/cdn/{6V5QZCOZ.js → JDTYQCZK.js} +2 -2
  50. package/dist/cdn/{47SBNRJH.js → JI6FC2KZ.js} +2 -2
  51. package/dist/cdn/{OIWINM74.js → JLCRXIKZ.js} +2 -2
  52. package/dist/cdn/{BU6J42GD.js → JP5O6B5F.js} +2 -2
  53. package/dist/cdn/{ZS2434QV.js → JV24GCAP.js} +2 -2
  54. package/dist/cdn/{ZX3AAZ5M.js → K7UZ42V3.js} +2 -2
  55. package/dist/cdn/{ALWX2ALV.js → KXYEAIS4.js} +2 -2
  56. package/dist/cdn/{LPMVG6DA.js → L3OI72NI.js} +2 -2
  57. package/dist/cdn/{53RL6DKS.js → LEGQAMIG.js} +2 -2
  58. package/dist/cdn/{22XQ7GV5.js → LP4I37RY.js} +1 -1
  59. package/dist/cdn/{BQUOVH4M.js → LUJBBH5J.js} +2 -2
  60. package/dist/cdn/{CM5BYNTJ.js → LXPDH2BL.js} +2 -2
  61. package/dist/cdn/{WMS5BZ4X.js → M3YHSP3I.js} +2 -2
  62. package/dist/cdn/{5ZQJE4G7.js → MFJLKVY3.js} +2 -2
  63. package/dist/cdn/{MIZQTTX6.js → MSKYKJCN.js} +2 -2
  64. package/dist/cdn/{LLROZ25L.js → MT5RQBAH.js} +2 -2
  65. package/dist/cdn/{FXWPUPQW.js → MZ4A2RS4.js} +2 -2
  66. package/dist/cdn/{QL5NO5VC.js → N2AWMIHG.js} +2 -2
  67. package/dist/cdn/{2S6TIIDB.js → N4BQ2M5C.js} +2 -2
  68. package/dist/cdn/{P5UEKYVM.js → NFP7KMGH.js} +2 -2
  69. package/dist/cdn/{E3QCBVRR.js → NNWDJSAH.js} +2 -2
  70. package/dist/cdn/{EVMSZC42.js → O7ZKXOTB.js} +2 -2
  71. package/dist/cdn/{OJLHFLOO.js → OYIZFWCL.js} +2 -2
  72. package/dist/cdn/{R33QVEOL.js → OYUETUJJ.js} +2 -2
  73. package/dist/cdn/{PI7E2FA7.js → PPUKTTQ3.js} +2 -2
  74. package/dist/cdn/{IW6ZQMHZ.js → PQBBBIQU.js} +2 -2
  75. package/dist/cdn/PYZLIY6P.js +4 -0
  76. package/dist/cdn/{HNRED4RD.js → QPFJHO6Q.js} +2 -2
  77. package/dist/cdn/{XUQAYEQ6.js → QSM7LMGZ.js} +2 -2
  78. package/dist/cdn/{WT34MLXU.js → REMEYP6N.js} +2 -2
  79. package/dist/cdn/{UA2H4VN5.js → RFMOKDOF.js} +2 -2
  80. package/dist/cdn/{MWRZPTNS.js → RNXSFATM.js} +2 -2
  81. package/dist/cdn/{BUAKJ3P3.js → RURKZO7X.js} +2 -2
  82. package/dist/cdn/{VDHVIFNX.js → S2O5QLCT.js} +2 -2
  83. package/dist/cdn/{L3VADUDD.js → SHCBXBY3.js} +2 -2
  84. package/dist/cdn/SLDQ2YZY.js +4 -0
  85. package/dist/cdn/{QEUOOHFZ.js → SWDKYZ6Z.js} +2 -2
  86. package/dist/cdn/{HCWL6CLW.js → T3BMQYR2.js} +2 -2
  87. package/dist/cdn/{TK5LJKKZ.js → TG4WOIVN.js} +2 -2
  88. package/dist/cdn/{LNTAENM3.js → TJN54QWM.js} +2 -2
  89. package/dist/cdn/{FSXC25CK.js → TNVEJWIO.js} +2 -2
  90. package/dist/cdn/{ZSLEMX43.js → TRPGUDFV.js} +2 -2
  91. package/dist/cdn/{EZOOR7JX.js → TXZALV35.js} +2 -2
  92. package/dist/cdn/{G2YUVF2G.js → U2HHRTN2.js} +2 -2
  93. package/dist/cdn/{FMGROXJF.js → V2RJSRTT.js} +2 -2
  94. package/dist/cdn/{EFAEF7BP.js → V45UQX3A.js} +2 -2
  95. package/dist/cdn/{YKA3LQRU.js → V4COQWPL.js} +2 -2
  96. package/dist/cdn/{4SMGMTCR.js → V5ZNHCME.js} +2 -2
  97. package/dist/cdn/{AKHLLC2Q.js → VIDQXKDI.js} +2 -2
  98. package/dist/cdn/{F73UZHT5.js → VQD7JRM4.js} +2 -2
  99. package/dist/cdn/{RVFPHHL2.js → VXVE4ZXP.js} +2 -2
  100. package/dist/cdn/{K7F5M66S.js → W3XQBJXS.js} +2 -2
  101. package/dist/cdn/WG47QYRW.js +4 -0
  102. package/dist/cdn/{RALVTFOZ.js → WQJO5G7X.js} +2 -2
  103. package/dist/cdn/{5QLIBAHX.js → WUICCK44.js} +2 -2
  104. package/dist/cdn/{ZV5RZBYN.js → WY2EGIGS.js} +2 -2
  105. package/dist/cdn/{GFZEUBYN.js → XFRS3WPC.js} +2 -2
  106. package/dist/cdn/{4IVF56FV.js → XRRL7PHW.js} +2 -2
  107. package/dist/cdn/{F25ZYGOB.js → XUU76GOK.js} +2 -2
  108. package/dist/cdn/{B4VN3JAQ.js → Y3HMAR44.js} +1 -1
  109. package/dist/cdn/{QBP4ZPEY.js → Y5DTQNYQ.js} +2 -2
  110. package/dist/cdn/{6BNKLHHO.js → Y5TCYX4Y.js} +2 -2
  111. package/dist/cdn/{XQ5SHXYU.js → YPOT4P5O.js} +2 -2
  112. package/dist/cdn/{T3RJNBCT.js → Z5HH6M3E.js} +2 -2
  113. package/dist/cdn/{CJIDMDZA.js → Z5JQ33M4.js} +2 -2
  114. package/dist/cdn/{TWAC5OEP.js → ZAORUVUH.js} +2 -2
  115. package/dist/cdn/{JWWF5QWJ.js → ZDO5M5ZH.js} +2 -2
  116. package/dist/cdn/{EOI2WJEO.js → ZEVG6CNZ.js} +2 -2
  117. package/dist/cdn/{JLQNAXVY.js → ZHMO3DWS.js} +2 -2
  118. package/dist/cdn/{QGDMS6EA.js → ZS3C5VPV.js} +2 -2
  119. package/dist/cdn/{PTWQKH7N.js → ZUXJIOON.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.js +1 -1
  161. package/dist/components/arcgis-feature/customElement.js +1 -1
  162. package/dist/components/arcgis-feature-form/customElement.js +1 -1
  163. package/dist/components/arcgis-feature-table/customElement.js +1 -1
  164. package/dist/components/arcgis-feature-templates/customElement.js +1 -1
  165. package/dist/components/arcgis-features/customElement.js +1 -1
  166. package/dist/components/arcgis-floor-filter/customElement.js +1 -1
  167. package/dist/components/arcgis-fullscreen/customElement.js +1 -1
  168. package/dist/components/arcgis-grid-controls/customElement.js +1 -1
  169. package/dist/components/arcgis-histogram-range-slider/customElement.js +1 -1
  170. package/dist/components/arcgis-home/customElement.js +1 -1
  171. package/dist/components/arcgis-labeled-switch/customElement.js +1 -1
  172. package/dist/components/arcgis-layer-list/customElement.js +1 -1
  173. package/dist/components/arcgis-layer-list-item/customElement.js +1 -1
  174. package/dist/components/arcgis-legend/customElement.js +1 -1
  175. package/dist/components/arcgis-line-of-sight/LineOfSightViewModel.d.ts +2 -3
  176. package/dist/components/arcgis-line-of-sight/customElement.js +15 -15
  177. package/dist/components/arcgis-link-chart/customElement.js +1 -1
  178. package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +1 -1
  179. package/dist/components/arcgis-locate/customElement.js +1 -1
  180. package/dist/components/arcgis-map/customElement.js +1 -1
  181. package/dist/components/arcgis-measurement/customElement.js +1 -1
  182. package/dist/components/arcgis-measurement-content/customElement.js +1 -1
  183. package/dist/components/arcgis-navigation-toggle/customElement.js +1 -1
  184. package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +1 -1
  185. package/dist/components/arcgis-placement/customElement.js +1 -1
  186. package/dist/components/arcgis-print/customElement.js +1 -1
  187. package/dist/components/arcgis-print-custom-text-elements/customElement.js +1 -1
  188. package/dist/components/arcgis-print-dpi-input/customElement.js +1 -1
  189. package/dist/components/arcgis-print-export-button/customElement.js +1 -1
  190. package/dist/components/arcgis-print-exported-link/customElement.js +1 -1
  191. package/dist/components/arcgis-print-exports-panel/customElement.js +1 -1
  192. package/dist/components/arcgis-print-format-select/customElement.js +1 -1
  193. package/dist/components/arcgis-print-layout-advanced-options/customElement.js +1 -1
  194. package/dist/components/arcgis-print-layout-panel/customElement.js +1 -1
  195. package/dist/components/arcgis-print-main-panel/customElement.js +1 -1
  196. package/dist/components/arcgis-print-map-only-advanced-options/customElement.js +1 -1
  197. package/dist/components/arcgis-print-map-only-panel/customElement.js +1 -1
  198. package/dist/components/arcgis-print-out-spatial-reference-input/customElement.js +1 -1
  199. package/dist/components/arcgis-print-preview-input/customElement.js +1 -1
  200. package/dist/components/arcgis-print-scale-section/customElement.js +1 -1
  201. package/dist/components/arcgis-print-template-select/customElement.js +1 -1
  202. package/dist/components/arcgis-print-template-selector/customElement.js +1 -1
  203. package/dist/components/arcgis-scale-bar/customElement.js +1 -1
  204. package/dist/components/arcgis-scale-range-slider/customElement.js +1 -1
  205. package/dist/components/arcgis-scene/customElement.d.ts +1 -1
  206. package/dist/components/arcgis-scene/customElement.js +41 -28
  207. package/dist/components/arcgis-search/customElement.js +1 -1
  208. package/dist/components/arcgis-search-result-renderer/customElement.js +1 -1
  209. package/dist/components/arcgis-shadow-cast/customElement.js +1 -1
  210. package/dist/components/arcgis-sketch/customElement.js +1 -1
  211. package/dist/components/arcgis-slice/SliceViewModel.d.ts +3 -9
  212. package/dist/components/arcgis-slice/customElement.js +6 -3
  213. package/dist/components/arcgis-slider/customElement.js +1 -1
  214. package/dist/components/arcgis-swipe/customElement.js +1 -1
  215. package/dist/components/arcgis-table-list/customElement.js +1 -1
  216. package/dist/components/arcgis-time-slider/customElement.js +1 -1
  217. package/dist/components/arcgis-time-zone-label/customElement.js +1 -1
  218. package/dist/components/arcgis-track/customElement.js +1 -1
  219. package/dist/components/arcgis-unit-select/customElement.js +1 -1
  220. package/dist/components/arcgis-utility-network-associations/customElement.js +1 -1
  221. package/dist/components/arcgis-utility-network-trace/customElement.js +1 -1
  222. package/dist/components/arcgis-utility-network-validate-topology/customElement.js +1 -1
  223. package/dist/components/arcgis-value-picker/customElement.js +1 -1
  224. package/dist/components/arcgis-version-management/customElement.js +1 -1
  225. package/dist/components/arcgis-version-management-service-item/customElement.js +1 -1
  226. package/dist/components/arcgis-version-management-version-item/customElement.js +1 -1
  227. package/dist/components/arcgis-version-management-version-list/customElement.js +1 -1
  228. package/dist/components/arcgis-version-management-version-properties/customElement.js +1 -1
  229. package/dist/components/arcgis-video/customElement.js +1 -1
  230. package/dist/components/arcgis-video-player/customElement.js +1 -1
  231. package/dist/components/arcgis-video-player-action-bar/customElement.js +1 -1
  232. package/dist/components/arcgis-video-player-actions-group/customElement.js +1 -1
  233. package/dist/components/arcgis-video-player-controls-group/customElement.js +1 -1
  234. package/dist/components/arcgis-video-player-metadata/customElement.js +1 -1
  235. package/dist/components/arcgis-video-player-settings/customElement.js +1 -1
  236. package/dist/components/arcgis-video-player-slider/customElement.js +1 -1
  237. package/dist/components/arcgis-weather/customElement.js +1 -1
  238. package/dist/components/arcgis-zoom/customElement.js +1 -1
  239. package/dist/docs/api.json +3 -3
  240. package/dist/docs/docs.json +2 -2
  241. package/dist/docs/vscode.html-custom-data.json +1 -1
  242. package/dist/docs/web-types.json +1 -1
  243. package/dist/index.js +1 -1
  244. package/dist/loader.js +1 -1
  245. package/dist/support/AnalysisViewModel.d.ts +10 -13
  246. package/package.json +3 -3
  247. package/dist/cdn/4Q6PGIFK.js +0 -4
  248. package/dist/cdn/DM77T47F.js +0 -4
  249. package/dist/cdn/G4YI64GR.js +0 -4
  250. package/dist/cdn/GIRB3I36.js +0 -4
  251. package/dist/cdn/RCP73QYR.js +0 -4
  252. package/dist/cdn/VGUF7FV6.js +0 -4
@@ -11,7 +11,7 @@ import { g as c } from "../../chunks/globalCss.js";
11
11
  import { css as T } from "@lit/reactive-element/css-tag.js";
12
12
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
13
13
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
14
- v4.34.0-next.1 */
14
+ v4.34.0-next.3 */
15
15
  const y = T`@layer{arcgis-track{display:block}}`, $ = {
16
16
  base: "esri-track"
17
17
  }, D = b(v);
@@ -6,7 +6,7 @@ import { LitElement as g, createEvent as u, safeClassMap as p } from "@arcgis/lu
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.3 */
10
10
  const b = h`.arcgis-unit-select{width:100%}.arcgis-unit-select__label{--calcite-label-margin-bottom: 0;width:100%}`, $ = "arcgis-unit-select", d = {
11
11
  label: `${$}__label`
12
12
  };
@@ -4,7 +4,7 @@ import { LitElement as c, createEvent as r, noShadowRoot as h } from "@arcgis/lu
4
4
  import { m as A } from "../../chunks/useWidget.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.3 */
8
8
  const S = A(a);
9
9
  class g extends c {
10
10
  constructor() {
@@ -6,7 +6,7 @@ import { LitElement as r, createEvent as a, noShadowRoot as o } from "@arcgis/lu
6
6
  import { m as l } from "../../chunks/useWidget.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.3 */
10
10
  const d = l(s);
11
11
  class h extends r {
12
12
  constructor() {
@@ -6,7 +6,7 @@ import { LitElement as a, createEvent as r, noShadowRoot as l } from "@arcgis/lu
6
6
  import { m as h } from "../../chunks/useWidget.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.3 */
10
10
  const w = h(
11
11
  // Workaround for https://devtopia.esri.com/WebGIS/arcgis-js-api/issues/69562
12
12
  s
@@ -7,7 +7,7 @@ import { m as h } from "../../chunks/useWidget.js";
7
7
  import { css as r } from "@lit/reactive-element/css-tag.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 */
10
+ v4.34.0-next.3 */
11
11
  const l = r`@layer{arcgis-value-picker{display:block}}`, c = h(s);
12
12
  class u extends a {
13
13
  constructor() {
@@ -9,7 +9,7 @@ import { m as $ } from "../../chunks/useViewModel.js";
9
9
  import { css as T } from "@lit/reactive-element/css-tag.js";
10
10
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
11
11
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
12
- v4.34.0-next.1 */
12
+ v4.34.0-next.3 */
13
13
  const O = T`@layer{.arcgis-version-management{.component-container-flow{width:300px}.invalid-initial-version-notice{margin-bottom:1rem}.service-items-panel{z-index:unset!important}calcite-block{margin:0}}}`, U = $(C), I = "map-components:version-management";
14
14
  class R extends y {
15
15
  constructor() {
@@ -3,7 +3,7 @@ import { LitElement as U, createEvent as t, noShadowRoot as _, safeClassMap as v
3
3
  import { html as s, render as S } from "lit-html";
4
4
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
5
5
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
6
- v4.34.0-next.1 */
6
+ v4.34.0-next.3 */
7
7
  class F extends U {
8
8
  constructor() {
9
9
  super(...arguments), this._showInvalidVersionNotice = !0, this.arcgisCreateVersionList = t(), this.arcgisFlowItemBack = t(), this.arcgisFlowItemClose = t(), this.arcgisGetVersions = t(), this.arcgisManageVersion = t(), this.arcgisNewVersion = t();
@@ -3,7 +3,7 @@ import { html as c } from "lit-html";
3
3
  import { LitElement as b, createEvent as f, noShadowRoot as x, nothing as I } from "@arcgis/lumina";
4
4
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
5
5
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
6
- v4.34.0-next.1 */
6
+ v4.34.0-next.3 */
7
7
  class E extends b {
8
8
  constructor() {
9
9
  super(...arguments), this.arcgisManageVersion = f();
@@ -5,7 +5,7 @@ import { LitElement as y, createEvent as r } from "@arcgis/lumina";
5
5
  import { css as U } from "@lit/reactive-element/css-tag.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.3 */
9
9
  const A = U`:host{display:none;background:#bdf2c4}:host([selected]){display:flex}calcite-block{margin-block:0}calcite-pagination{justify-content:center}`;
10
10
  class N extends y {
11
11
  constructor() {
@@ -5,7 +5,7 @@ import { LitElement as V, createEvent as p, noShadowRoot as I } from "@arcgis/lu
5
5
  import { css as x } from "@lit/reactive-element/css-tag.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.3 */
9
9
  const C = x`@layer{:host{display:none;background:#bdf2c4}:host([selected]){display:flex}.properties-buttons{display:flex}}`;
10
10
  class k extends V {
11
11
  constructor() {
@@ -7,7 +7,7 @@ import { LitElement as o, createEvent as l, noShadowRoot as h } from "@arcgis/lu
7
7
  import { css as d } from "@lit/reactive-element/css-tag.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 */
10
+ v4.34.0-next.3 */
11
11
  const c = d`@layer{arcgis-video{display:block;height:100%;width:100%;.esri-view{height:100%;width:100%}}}`, n = s(a, {
12
12
  omitProps: ["container", "navigation", "scale", "ui"]
13
13
  });
@@ -12,7 +12,7 @@ import { g as w } from "../../chunks/globalCss.js";
12
12
  import { css as V } from "@lit/reactive-element/css-tag.js";
13
13
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
14
14
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
15
- v4.34.0-next.1 */
15
+ v4.34.0-next.3 */
16
16
  const $ = V`@layer{.arcgis-video-player{--esri-video-player-view-height: 300px;--esri-video-player-view-aspect-ratio: 1.77;--esri-video-player-controls-spacing: 16px;min-width:calc(var(--esri-video-player-view-height) * var(--esri-video-player-view-aspect-ratio))}.arcgis-video-player .arcgis-video-player__video-view{display:flex;height:var(--esri-video-player-view-height)}}`, d = "arcgis-video-player", l = {
17
17
  base: d,
18
18
  videoView: `${d}__video-view`
@@ -5,7 +5,7 @@ import { LitElement as n, safeClassMap as e } from "@arcgis/lumina";
5
5
  import { css as d } from "@lit/reactive-element/css-tag.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.3 */
9
9
  const p = d`.arcgis-video-player__toolbar{display:flex;align-items:center;background-color:var(--calcite-color-foreground-1);padding:0 calc(var(--esri-video-player-controls-spacing) / 2) calc(var(--esri-video-player-controls-spacing) / 2);font-size:var(--calcite-font-size--2)}.arcgis-video-player__timecode{display:flex;align-items:center;margin-inline:var(--calcite-size-12, 12px);color:var(--calcite-color-text-3)}.arcgis-video-player__controls-group{display:flex;flex:1 0 auto;justify-content:flex-end}`, o = "arcgis-video-player", r = {
10
10
  playerControlsGroup: `${o}__controls-group`,
11
11
  playerTimecode: `${o}__timecode`,
@@ -4,7 +4,7 @@ import { watch as g } from "@arcgis/core/core/reactiveUtils.js";
4
4
  import { LitElement as p, noShadowRoot as m } from "@arcgis/lumina";
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.3 */
8
8
  class $ extends p {
9
9
  constructor() {
10
10
  super(...arguments), this._disabled = !1, this._playing = !1;
@@ -4,7 +4,7 @@ import { watch as d } from "@arcgis/core/core/reactiveUtils.js";
4
4
  import { LitElement as m, noShadowRoot as g } from "@arcgis/lumina";
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.3 */
8
8
  function p(i) {
9
9
  return i.followingMode === "none" ? "circle-disallowed" : i.followingMode === "follow-sensor" ? "zoom-to-object" : i.followingMode === "follow-frame" ? "follow" : "video";
10
10
  }
@@ -5,7 +5,7 @@ import { LitElement as n, safeClassMap as a } from "@arcgis/lumina";
5
5
  import { css as m } from "@lit/reactive-element/css-tag.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.3 */
9
9
  const f = m`.arcgis-metadata-table{display:flex;flex-direction:column;border-top:1px solid var(--calcite-color-border-1)}.arcgis-metadata-table__row{display:flex;flex-direction:row;border-bottom:1px solid var(--calcite-color-border-1);border-right:1px solid var(--calcite-color-border-1)}.arcgis-metadata-table__data{flex:1;border-left:1px solid var(--calcite-color-border-1);padding:5px}.arcgis-metadata-table__empty-state{width:100%;max-inline-size:unset;transition-duration:0ms}`, o = "arcgis-metadata-table", t = {
10
10
  table: o,
11
11
  row: `${o}__row`,
@@ -6,7 +6,7 @@ import { LitElement as p } from "@arcgis/lumina";
6
6
  import { css as m } 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.3 */
10
10
  const v = m`.arcgis-video-player__settings-flow{min-width:var(--calcite-size-160)}`, $ = ["Auto"], g = [
11
11
  { label: "0.25x", value: 0.25 },
12
12
  { label: "0.5x", value: 0.5 },
@@ -4,7 +4,7 @@ import { LitElement as c, safeClassMap as s } from "@arcgis/lumina";
4
4
  import { css as t } from "@lit/reactive-element/css-tag.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.3 */
8
8
  const d = t`.arcgis-video-player__slider-progress-container{position:relative;z-index:1;width:100%}.arcgis-video-player__progress{--esri-video-player-progress-width: 2px;appearance:none;display:block;position:absolute;top:calc(50% - var(--esri-video-player-progress-width) / 2);left:var(--esri-video-player-controls-spacing);border:none;background:var(--calcite-color-border-1);cursor:pointer;width:calc(100% - var(--esri-video-player-controls-spacing) * 2);height:var(--esri-video-player-progress-width)}.arcgis-video-player__progress::-webkit-progress-bar{background-color:var(--calcite-color-border-3)}.arcgis-video-player__progress::-webkit-progress-value{background-color:var(--calcite-color-border-input)}.arcgis-video-player__progress::-moz-progress-bar{background-color:var(--calcite-color-border-3)}.arcgis-video-player__slider{--calcite-slider-track-color: transparent;background-color:var(--calcite-color-foreground-1);padding:calc(var(--esri-video-player-controls-spacing) / 4) calc(var(--esri-video-player-controls-spacing) / 2)}`, o = "arcgis-video-player", i = {
9
9
  progress: `${o}__progress`,
10
10
  slider: `${o}__slider`,
@@ -18,7 +18,7 @@ import $ from "@arcgis/core/views/3d/environment/SnowyWeather.js";
18
18
  import C from "@arcgis/core/views/3d/environment/SunnyWeather.js";
19
19
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
20
20
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
21
- v4.34.0-next.1 */
21
+ v4.34.0-next.3 */
22
22
  const c = "arcgis-weather", d = {
23
23
  base: c,
24
24
  content: `${c}__content`,
@@ -10,7 +10,7 @@ import { u as O } from "../../chunks/useView.js";
10
10
  import { css as Z } from "@lit/reactive-element/css-tag.js";
11
11
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
12
12
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
13
- v4.34.0-next.1 */
13
+ v4.34.0-next.3 */
14
14
  const a = {
15
15
  base: "arcgis-zoom",
16
16
  horizontalLayout: "arcgis-zoom--horizontal",
@@ -1,8 +1,8 @@
1
1
  {
2
- "timestamp": "2025-05-23T04:41:14",
2
+ "timestamp": "2025-05-25T04:37:51",
3
3
  "compiler": {
4
4
  "name": "@arcgis/lumina-compiler",
5
- "version": "4.34.0-next.1",
5
+ "version": "4.34.0-next.3",
6
6
  "typescriptVersion": "5.8.3"
7
7
  },
8
8
  "schemaVersion": "1.0.0",
@@ -37608,7 +37608,7 @@
37608
37608
  "url": "https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scale-range-slider/"
37609
37609
  },
37610
37610
  {
37611
- "description": "Scale Range Slider",
37611
+ "description": "Demo",
37612
37612
  "url": "https://developers.arcgis.com/javascript/latest/storybook/map-components/?path=/story/arcgis-scale-range-slider--demo&singleStory=true"
37613
37613
  }
37614
37614
  ],
@@ -1,8 +1,8 @@
1
1
  {
2
- "timestamp": "2025-05-23T04:41:14",
2
+ "timestamp": "2025-05-25T04:37:51",
3
3
  "compiler": {
4
4
  "name": "@arcgis/lumina-compiler",
5
- "version": "4.34.0-next.1",
5
+ "version": "4.34.0-next.3",
6
6
  "typescriptVersion": "5.8.3"
7
7
  },
8
8
  "components": [
@@ -5975,7 +5975,7 @@
5975
5975
  "url": "https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scale-range-slider/"
5976
5976
  },
5977
5977
  {
5978
- "name": "Scale Range Slider",
5978
+ "name": "Demo",
5979
5979
  "url": "https://developers.arcgis.com/javascript/latest/storybook/map-components/?path=/story/arcgis-scale-range-slider--demo&singleStory=true"
5980
5980
  }
5981
5981
  ]
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
3
3
  "name": "@arcgis/map-components",
4
- "version": "4.34.0-next.1",
4
+ "version": "4.34.0-next.3",
5
5
  "description-markup": "markdown",
6
6
  "contributions": {
7
7
  "html": {
package/dist/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { s, g as t } from "./chunks/runtime.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.3 */
5
5
  const a = s, A = t;
6
6
  export {
7
7
  A as getArcgisAssetPath,
package/dist/loader.js CHANGED
@@ -2,7 +2,7 @@ import { r as e } from "./chunks/runtime.js";
2
2
  import { makeDefineCustomElements as t } 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.3 */
6
6
  const a = t(e, {
7
7
  "arcgis-area-measurement-2d": [() => import("./components/arcgis-area-measurement-2d/customElement.js"), "autoDestroyDisabled,icon,label,position,referenceElement,snappingOptions:,state,unit,unitOptions:;clear,destroy,start"],
8
8
  "arcgis-area-measurement-3d": [() => import("./components/arcgis-area-measurement-3d/customElement.js"), "analysis:,autoDestroyDisabled,icon,label,position,referenceElement,state,unit,unitOptions:;clear,destroy,start"],
@@ -2,11 +2,6 @@
2
2
  import { default as Accessor } from '@arcgis/core/core/Accessor.js';
3
3
  import { AnalysisUnion, AnalysisViewUnion } from '@arcgis/core/unionTypes.js';
4
4
  import { default as SceneView } from '@arcgis/core/views/SceneView';
5
- export interface ConstructProperties<ViewType extends SceneView, AnalysisType extends AnalysisUnion> {
6
- analysis?: AnalysisType;
7
- view?: ViewType;
8
- visible: boolean;
9
- }
10
5
  export type AnalysisMap = {
11
6
  [Key in AnalysisUnion["type"]]: Extract<AnalysisUnion, {
12
7
  type: Key;
@@ -21,9 +16,8 @@ export type AnalysisViewMap = {
21
16
  };
22
17
  export type AnalysisViewFor<Analysis extends AnalysisUnion> = AnalysisViewMap[Analysis["type"]];
23
18
  type OperationState = "active" | "inactive";
24
- export declare abstract class AnalysisViewModel<IViewType extends SceneView, AnalysisType extends __esri.AnalysisUnion> extends Accessor implements ConstructProperties<IViewType, AnalysisType> {
25
- constructor(properties?: Partial<ConstructProperties<IViewType, AnalysisType>>);
26
- protected normalizeCtorArgs(properties: Partial<ConstructProperties<IViewType, AnalysisType>>): HashMap<unknown>;
19
+ export declare abstract class AnalysisViewModel<IViewType extends SceneView, AnalysisType extends __esri.AnalysisUnion> extends Accessor {
20
+ constructor();
27
21
  protected initialize(): void;
28
22
  destroy(): void;
29
23
  get supported(): boolean;
@@ -40,9 +34,12 @@ export declare abstract class AnalysisViewModel<IViewType extends SceneView, Ana
40
34
  get ready(): boolean;
41
35
  get connectingToView(): boolean;
42
36
  /**
43
- * If the viewmodel owns the analysis, it will remove and destroy it when the view model is destroyed.
37
+ * Whether the viewmodel owns the analysis. In that case, it will remove and destroy the analysis when it is is
38
+ * destroyed. An analysis is initially created by the view model if none is provided and the view model owns it until
39
+ * it is moved to a layer or removed from the view.
44
40
  */
45
- get isAnalysisOwner(): boolean;
41
+ private _ownsAnalysis;
42
+ private get _viewHasAnalysis();
46
43
  private _reconnectViewTask?;
47
44
  private _forceInteractiveHandle?;
48
45
  private _operationState;
@@ -52,12 +49,12 @@ export declare abstract class AnalysisViewModel<IViewType extends SceneView, Ana
52
49
  private _loggedUnsupportedErrorMessage;
53
50
  /**
54
51
  * Breaks the loop of:
55
- * analysis.parent change event
52
+ * Analysis move event
56
53
  * -> reconnect
57
54
  * -> remove analysis from view.analyses in disconnect
58
- * -> analysis.parent change event
55
+ * -> Analysis move event
59
56
  */
60
- private _parentChangeFromReconnect;
57
+ private _changeFromReconnect;
61
58
  private _startUserOperation;
62
59
  protected abstract constructAnalysis(): AnalysisType;
63
60
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arcgis/map-components",
3
- "version": "4.34.0-next.1",
3
+ "version": "4.34.0-next.3",
4
4
  "description": "ArcGIS Map Components",
5
5
  "keywords": [
6
6
  "ArcGIS",
@@ -42,8 +42,8 @@
42
42
  ],
43
43
  "license": "SEE LICENSE IN LICENSE.md",
44
44
  "dependencies": {
45
- "@arcgis/components-utils": "4.34.0-next.1",
46
- "@arcgis/lumina": "4.34.0-next.1",
45
+ "@arcgis/components-utils": "4.34.0-next.3",
46
+ "@arcgis/lumina": "4.34.0-next.3",
47
47
  "tslib": "^2.8.1"
48
48
  },
49
49
  "peerDependencies": {
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/4.34/esri/copyright.txt for details.
3
- v4.34.0-next.1 */
4
- import e from"./DM77T47F.js";import d from"./4LBD2ITU.js";import"./22XQ7GV5.js";import c from"./2S6TIIDB.js";import{a as $}from"./HCWL6CLW.js";import{a as p}from"./SUN26GSO.js";import b from"./K7F5M66S.js";import a from"./JWWF5QWJ.js";import{e as w}from"./TWAC5OEP.js";import"./5ZQJE4G7.js";import"./Q4KIAHIP.js";import{A as m,D as f,O as v,P as t,T as _,i as y,j as l}from"./IISBCUIL.js";export default $arcgis.t(([A,{property:O,subclass:C},,,b,,x])=>{var k=y`@layer{arcgis-line-of-sight{display:block}.arcgis-line-of-sight__container{display:flex;position:relative;flex-flow:column;gap:var(--calcite-spacing-md);padding:var(--esri-widget-padding);overflow-y:auto}.arcgis-line-of-sight__error{color:var(--calcite-color-status-danger)}.arcgis-line-of-sight__hint{display:flex;flex-direction:column;gap:var(--calcite-spacing-md)}.arcgis-line-of-sight__error,.arcgis-line-of-sight__hint{overflow:hidden;animation:arcgis-line-of-sight-fade-in .25s ease-in-out;p{margin:0;padding:0}}.arcgis-line-of-sight__actions{display:flex;flex-flow:column;gap:var(--calcite-spacing-xxs);justify-content:center}@keyframes arcgis-line-of-sight-fade-in{0%{opacity:0}25%{opacity:0}to{opacity:1}}}`,r="arcgis-line-of-sight",n={base:r,actions:`${r}__actions`,container:`${r}__container`,error:`${r}__error`,hint:`${r}__hint`,hintText:`${r}__hint-text`,newAnalysisButton:`${r}__new-analysis-button`},D=Object.defineProperty,S=Object.getOwnPropertyDescriptor,M=(e,s,a,o)=>{for(var i=o>1?void 0:o?S(s,a):s,d=e.length-1,h;d>=0;d--)(h=e[d])&&(i=(o?h(s,a,i):h(i))||i);return o&&i&&D(s,a,i),i},c=class extends x{constructor(e){super(e),this.supportedViewType="3d",this.unsupportedErrorMessage="The Line Of Sight component is only supported in 3D views."}get state(){return this.disabled||!this.ready?"disabled":this.operationState==="active"?"creating":this.analysis.valid?"created":"ready"}constructAnalysis(){return new A}clearAnalysis(){this.analysis.observer=null,this.analysis.targets.removeAll()}async place(e){return await this.analysisView?.place(e)}};M([O({readOnly:!0})],c.prototype,"state",1);c=M([C("esri.components.LineOfSight.LineOfSightViewModel")],c);var L=b(c),u=class extends v{constructor(){super(...arguments),this.viewModel=L(this),this._messages=$({blocking:!0}),this.view=this.viewModel.view,this.autoDestroyDisabled=!1,this.icon="line-of-sight",this.position="bottom-left",this.arcgisPropertyChange=w()("analysis","state"),this.arcgisReady=m()}static{this.properties={analysis:32,autoDestroyDisabled:5,icon:3,label:1,messageOverrides:0,position:1,referenceElement:1,state:32,_supported:16}}static{this.shadowRootOptions=f}static{this.styles=k}get analysis(){return this.viewModel.analysis}get state(){return this.viewModel.state}get _supported(){return this.view==null||this.view.type==="3d"}async clear(){this.viewModel.clear()}async continue(){this.viewModel.start()}async destroy(){await this.manager.destroy()}async start(){this.viewModel.startNewAnalysis()}async stop(){this.viewModel.stop()}render(){return l`<div class=${t({[n.base]:!0,[p.widget]:!0,[p.panel]:!0})} role=presentation>${this._renderContainerNode()}</div>`}_renderContainerNode(){if(!this._supported)return l`<div class=${t(n.error)}><p>${this._messages.unsupported}</p></div>`;let s=this.viewModel.state,a=s==="creating";return l`<div class=${t(n.container)}>${a?l`<div class=${t(n.hint)}><p class=${t(n.hintText)}>${this._messages.hint}</p></div>`:null}<div class=${t(n.actions)}>${s==="creating"?g({onClick:()=>{this.stop()},children:this._messages.done}):null}${s==="created"?g({onClick:()=>{this.continue()},children:this._messages.continueAnalysis}):null}${g({className:n.newAnalysisButton,onClick:()=>{this.start()},primary:!0,disabled:s==="disabled",children:this._messages.newAnalysis})}</div></div>`}};function g({className:e,onClick:s,primary:a,disabled:o,children:i}){return l`<calcite-button .appearance=${a?"solid":"outline-fill"} class=${t(e)} .disabled=${o} @click=${s}>${i}</calcite-button>`}_("arcgis-line-of-sight",u);return u},"analysis/LineOfSightAnalysis","core/accessorSupport/decorators",a,b,c,d,e)
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/4.34/esri/copyright.txt for details.
3
- v4.34.0-next.1 */
4
- import a from"./4LBD2ITU.js";import{a as l,b as p}from"./22XQ7GV5.js";export default $arcgis.t(([{forceInteractive:V},g,{property:a,subclass:m},{ignoreAbortErrors:O},{watch:w,whenOnce:f},{a:_,b:d,c:u,d:y}])=>{var A=Object.defineProperty,b=Object.getOwnPropertyDescriptor,n=(t,s,e,o)=>{for(var r=o>1?void 0:o?b(s,e):s,h=t.length-1,c;h>=0;h--)(c=t[h])&&(r=(o?c(s,e,r):c(r))||r);return o&&r&&A(s,e,r),r},i=class extends g{constructor(t={}){super(t),this._operationState="inactive",this._loggedUnsupportedErrorMessage=!1,this._parentChangeFromReconnect=!1,this._startUserOperation=null;let s=t?.analysis;s!=null?this.analysis=s:(this._set("analysis",this.constructAnalysis()),this._set("isAnalysisOwner",!0)),t?.visible!=null&&(this.visible=t.visible)}normalizeCtorArgs(t){let{analysis:s,...e}=t;return e}initialize(){this.addHandles([w(()=>({readyAndNotSupported:this.view!=null&&this.view.ready&&!this.supported}),({readyAndNotSupported:t})=>{t&&!this._loggedUnsupportedErrorMessage&&console.error(this.unsupportedErrorMessage)},{sync:!0,initial:!0}),w(()=>this.analysis?.parent,t=>{!this._parentChangeFromReconnect&&t!==this.view&&this._set("isAnalysisOwner",!1);let s=!this._parentChangeFromReconnect;this._parentChangeFromReconnect=!1,s&&this._scheduleViewReconnect()},{sync:!0}),w(()=>({view:this.view,ready:!!this.view?.ready,supported:this.supported}),({view:t},s)=>{let e=s?.view;t!==e&&(this._startUserOperation=l(this._startUserOperation),this._disconnectFromView(e)),this._scheduleViewReconnect()},{sync:!0,initial:!0})])}destroy(){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()}get supported(){return this.view==null||this.view.type===this.supportedViewType}set visible(t){this._set("visible",t),this._analysisView!=null&&(this._analysisView.visible=t)}get active(){return this._startUserOperation?.state===2}get disabled(){return this.view==null||!this.view.ready||!this.supported}set analysis(t){t!==this._get("analysis")&&(this._startUserOperation=l(this._startUserOperation),this._disconnectFromView(this.view),this._setExternalAnalysis(t),this._scheduleViewReconnect())}get analysisView(){return this._analysisView}get ready(){return this._analysisView!=null&&!this.connectingToView}get connectingToView(){return this._reconnectViewTask!=null}get isAnalysisOwner(){return this._get("isAnalysisOwner")}get operationState(){return this._operationState}clear(){this.clearAnalysis(),this._startUserOperation=l(this._startUserOperation)}async start(t){if(!this.visible){console.warn("Cannot start analysis when not visible");return}let s={task:null,abort:null,state:0},e=y(async o=>{if(s.state=1,await f(()=>this.ready,o),s.state=2,this._analysisView==null||this.view==null)return;this._operationState="active";let r=t?.({signal:o})??this.place({signal:o});await O(r)});return e.promise.finally(()=>{(this._startUserOperation===s||this._startUserOperation==null)&&(this._operationState="inactive")}),s.task=e,s.abort=()=>e.abort(),this._startUserOperation=s,await e.promise}async startNewAnalysis(){this.clear(),await this.start()}async continue(){await this.start()}stop(){this._startUserOperation=l(this._startUserOperation)}onConnectToAnalysisView(t){}onDisconnectFromAnalysisView(){}_scheduleViewReconnect(){this._reconnectViewTask=l(this._reconnectViewTask);let t=y(async s=>{try{await this._reconnectView(s)}catch(e){if(_(s),!u(e)){console.warn("Failed to use analysis in view model",e);return}throw e}finally{t===this._reconnectViewTask&&(this._reconnectViewTask=void 0)}});this._reconnectViewTask=t}async _reconnectView(t){let{view:s}=this,e=s!=null&&s.ready&&this.supported,o=this.analysis;if(this._startUserOperation=v(this._startUserOperation),this._disconnectFromView(s),!e||s==null||o==null)return;if(this.isAnalysisOwner){if(o.parent!=null){console.error("expected owned analysis to have null parent when connecting to view");return}this._parentChangeFromReconnect=!0,s.analyses.add(o)}let r=await s.whenAnalysisView(o);if(this._analysisView=r,d(t)){this._startUserOperation=v(this._startUserOperation);return}r.visible=this.visible,this._forceInteractiveHandle=V(r),this.addHandles(this._forceInteractiveHandle),this.onConnectToAnalysisView(r)}_disconnectFromView(t){t!=null&&this.isAnalysisOwner&&t.analyses.includes(this.analysis)&&(this._parentChangeFromReconnect=!0,this.analysis.clear(),t.analyses.remove(this.analysis)),this.onDisconnectFromAnalysisView(),this._forceInteractiveHandle=p(this._forceInteractiveHandle),this._analysisView=void 0}_setExternalAnalysis(t){this._analysisView!=null&&!this.isAnalysisOwner&&(this._analysisView.visible=void 0,this._forceInteractiveHandle=p(this._forceInteractiveHandle)),this._analysisView=void 0,this._set("isAnalysisOwner",!1),this._set("analysis",t),this._parentChangeFromReconnect=!1}};n([a()],i.prototype,"supported",1);n([a()],i.prototype,"view",2);n([a({type:Boolean,value:!0})],i.prototype,"visible",1);n([a()],i.prototype,"active",1);n([a()],i.prototype,"disabled",1);n([a()],i.prototype,"analysis",1);n([a()],i.prototype,"_analysisView",2);n([a()],i.prototype,"analysisView",1);n([a()],i.prototype,"ready",1);n([a()],i.prototype,"connectingToView",1);n([a({readOnly:!0})],i.prototype,"isAnalysisOwner",1);n([a()],i.prototype,"_reconnectViewTask",2);n([a()],i.prototype,"_forceInteractiveHandle",2);n([a()],i.prototype,"_operationState",2);n([a()],i.prototype,"operationState",1);i=n([m("esri.components.support.AnalysisViewModel")],i);function v(t){return t!=null&&t.state>=2?(t.abort(),null):t}return i},"applications/Components/analysisUtils","core/Accessor","core/accessorSupport/decorators","core/promiseUtils","core/reactiveUtils",a)
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/4.34/esri/copyright.txt for details.
3
- v4.34.0-next.1 */
4
- import b from"./K7F5M66S.js";import"./5ZQJE4G7.js";import{d as r,e as v,f as l,g}from"./Q4KIAHIP.js";import{A as a,D as w,O as c,T as m,i as o}from"./IISBCUIL.js";export default $arcgis.t(([{watch:h},u,y,V,{a:t,b:s,f:p}])=>{var f=o`@layer{arcgis-scene{display:block;height:100%;.esri-view{height:100%;width:100%}}}`,b=s(y,{}),E=s(u,{}),n=class extends c{constructor(){super(),this._map=b(this),this.view=E(this),this.allLayerViews=this.view.allLayerViews,this.alphaCompositingEnabled=this.view.alphaCompositingEnabled,this.analyses=this.view.analyses,this.autoDestroyDisabled=!1,this.basemap=this._map.basemap,this.basemapView=this.view.basemapView,this.clippingArea=this.view.clippingArea,this.constraints=this.view.constraints,this.displayFilterDisabled=this.view.displayFilterEnabled,this.environment=this.view.environment,this.fatalError=this.view.fatalError,this.floors=this.view.floors,this.graphics=this.view.graphics,this.ground=this._map.ground,this.groundView=this.view.groundView,this.highlights=this.view.highlights,this.highlightOptions=this.view.highlightOptions,this.layerViews=this.view.layerViews,this.magnifier=this.view.magnifier,this.map=this.view.map,this.navigation=this.view.navigation,this.padding=this.view.padding,this.popup=this.view.popup,this.popupDisabled=this.view.popupEnabled,this.qualityProfile=this.view.qualityProfile,this.ready=this.view.ready,this.spatialReference=this.view.spatialReference,this.suspended=this.view.suspended,this.theme=this.view.theme,this.timeExtent=this.view.timeExtent,this.updating=this.view.updating,this.viewingMode=this.view.viewingMode,this.visibleArea=this.view.visibleArea,this.arcgisViewChange=a(),this.arcgisViewClick=t(()=>this.view,"click"),this.arcgisViewDoubleClick=t(()=>this.view,"double-click"),this.arcgisViewDrag=t(()=>this.view,"drag"),this.arcgisViewHold=t(()=>this.view,"hold"),this.arcgisViewImmediateClick=t(()=>this.view,"immediate-click"),this.arcgisViewImmediateDoubleClick=t(()=>this.view,"immediate-double-click"),this.arcgisViewKeyDown=t(()=>this.view,"key-down"),this.arcgisViewKeyUp=t(()=>this.view,"key-up"),this.arcgisViewLayerviewCreate=t(()=>this.view,"layerview-create"),this.arcgisViewLayerviewCreateError=t(()=>this.view,"layerview-create-error"),this.arcgisViewLayerviewDestroy=t(()=>this.view,"layerview-destroy"),this.arcgisViewMouseWheel=t(()=>this.view,"mouse-wheel"),this.arcgisViewPointerDown=t(()=>this.view,"pointer-down"),this.arcgisViewPointerEnter=t(()=>this.view,"pointer-enter"),this.arcgisViewPointerLeave=t(()=>this.view,"pointer-leave"),this.arcgisViewPointerMove=t(()=>this.view,"pointer-move"),this.arcgisViewPointerUp=t(()=>this.view,"pointer-up"),this.arcgisViewReadyChange=a(),this.view.ui={components:["attribution"]}}static{this.properties={_map:16,view:32,allLayerViews:0,alphaCompositingEnabled:5,analyses:0,autoDestroyDisabled:5,basemap:1,basemapView:0,camera:0,cameraFov:9,cameraHeading:9,cameraPosition:1,cameraTilt:9,center:1,clippingArea:0,constraints:0,displayFilterDisabled:5,environment:0,extent:0,fatalError:0,floors:0,gamepad:32,graphics:0,ground:1,groundView:0,highlights:0,highlightOptions:0,interacting:32,itemId:3,layerViews:0,magnifier:0,map:0,navigating:32,navigation:0,padding:0,performanceInfo:32,popup:0,popupDisabled:5,qualityProfile:1,ready:4,resolution:32,scale:9,spatialReference:0,stationary:32,suspended:7,theme:0,timeExtent:0,updating:4,viewingMode:1,viewpoint:0,visibleArea:0,zoom:9}}static{this.shadowRootOptions=w}static{this.styles=f}get camera(){return this.view.camera}set camera(i){r(this.camera,i)||(this.view.camera=i)}get cameraFov(){return this.view.camera?.fov}set cameraFov(i){i!=null&&this._mutateCamera(e=>{e.fov=i})}get cameraHeading(){return this.view.camera?.heading}set cameraHeading(i){i!=null&&this._mutateCamera(e=>{e.heading=i})}get cameraPosition(){return this.view.camera?.position}set cameraPosition(i){let e=g(this.view.camera?.position,i);e&&this._mutateCamera(d=>{d.position=e})}get cameraTilt(){return this.view.camera?.tilt}set cameraTilt(i){i!=null&&this._mutateCamera(e=>{e.tilt=i})}get center(){return this.view.center}set center(i){let e=l(i,this.view);e&&(this.view.center=e)}get extent(){return this.view.extent}set extent(i){i&&!this.extent.equals(i)&&(this.view.extent=i)}get gamepad(){return this.view.input.gamepad}get interacting(){return this.view.interacting}get itemId(){return this._map.portalItem?.id}set itemId(i){p(this._map,this),this._map.portalItem={id:i},this.view.map=this._map}get navigating(){return this.view.navigating}get performanceInfo(){return this.view.performanceInfo}get resolution(){return this.view.resolution}get scale(){return this.view.scale}set scale(i){this.view.scale=i}get stationary(){return this.view.stationary}get viewpoint(){return this.view.viewpoint}set viewpoint(i){v(this.viewpoint,i)&&(this.view.viewpoint=i)}get zoom(){return this.view.zoom}set zoom(i){this.view.zoom=i}async addLayer(i,e){this.map.add(i,e)}async addLayers(i,e){this.map.addMany(i,e)}async addTable(i){this.map.tables.add(i)}async addTables(i,e){this.map.tables.addMany(i,e)}async closePopup(){this.view.closePopup()}async destroy(){await this.manager.destroy()}async goTo(i,e){return await this.view.goTo(i,e)}async hitTest(i,e){return await this.view.hitTest(i,e)}async openPopup(i){await this.view.openPopup(i)}async takeScreenshot(i){return await this.view.takeScreenshot(i)}toMap(i,e){return this.view.toMap(i,e)}toScreen(i){return this.view.toScreen(i)}async tryFatalErrorRecovery(){this.view.tryFatalErrorRecovery()}async viewOnReady(i,e){return await this.componentOnReady(),await this.view.whenReady().then(()=>i?.()).catch(e)}async whenAnalysisView(i){return await this.view.whenAnalysisView(i)}async whenLayerView(i){return await this.view.whenLayerView(i)}load(){let i=this;i.el.childElem=document.createElement("div"),i.el.append(i.el.childElem),this.view.container=i.el.childElem}loaded(){this.map||=this._map,this.manager.onLifecycle(()=>[h(()=>this.map,()=>this._map=this.map,{initial:!0,sync:!0}),h(()=>this.view.stationary,()=>this.arcgisViewChange.emit(),{initial:!0}),h(()=>this.view.ready,()=>this.arcgisViewReadyChange.emit(),{initial:this.view.ready})])}_mutateCamera(i){this.view.camera??=new V;let e=this.view.camera;i(e),r(this.view.camera,e)||(this.view.camera=e)}};m("arcgis-scene",n);return n},"core/reactiveUtils","views/SceneView","WebScene","Camera",b)
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/4.34/esri/copyright.txt for details.
3
- v4.34.0-next.1 */
4
- import h from"./DM77T47F.js";import e from"./4LBD2ITU.js";import"./22XQ7GV5.js";import{a as C}from"./Q4IIAOMJ.js";import"./BKZWDNEP.js";import d from"./2S6TIIDB.js";import{a as S}from"./HCWL6CLW.js";import{a as g}from"./SUN26GSO.js";import c from"./K7F5M66S.js";import a from"./JWWF5QWJ.js";import{e as M}from"./TWAC5OEP.js";import"./5ZQJE4G7.js";import"./Q4KIAHIP.js";import{A as f,D as $,O as L,P as s,R as b,T as w,i as v,j as l}from"./IISBCUIL.js";export default $arcgis.t(([V,{property:d,subclass:B},{ignoreAbortErrors:D},{watch:H},,,k,,E])=>{var O=v`@layer{arcgis-slice{display:block}.arcgis-slice__container{display:flex;padding:var(--esri-widget-padding-y) var(--esri-widget-padding-x);overflow-y:auto;--layer-item-background: var(--calcite-color-foreground-2)}.arcgis-slice__error{color:var(--calcite-color-status-danger)}.arcgis-slice__container,.arcgis-slice__hint{display:flex;flex-direction:column;gap:var(--calcite-spacing-md)}.arcgis-slice__error,.arcgis-slice__hint{overflow:hidden;animation:arcgis-slice-fade-in .25s ease-in-out}.arcgis-slice__error p,.arcgis-slice__hint p{margin:0;padding:0}.arcgis-slice__hint:not(:has(*)){display:none}.arcgis-slice__layer-item{--calcite-color-foreground-2: var(--layer-item-background);--calcite-color-foreground-1: var(--layer-item-background)}.arcgis-slice__actions{display:flex;flex-flow:column;gap:var(--calcite-spacing-xxs);justify-content:center}.arcgis-slice__actions:not(:has(*)){display:none}@keyframes arcgis-slice-fade-in{0%{opacity:0}25%{opacity:0}to{opacity:1}}}`,I=Object.defineProperty,P=Object.getOwnPropertyDescriptor,o=(e,i,t,u)=>{for(var c=u>1?void 0:u?P(i,t):i,y=e.length-1,h;y>=0;y--)(h=e[y])&&(c=(u?h(i,t,c):h(c))||c);return u&&c&&I(i,t,c),c},x=new Set,n=class extends E{constructor(e){super(e),this.supportedViewType="3d",this.unsupportedErrorMessage="SliceViewModel is only supported in 3D views.",x.add(this)}async pickLayerToExclude(){let e=this.analysisView;if(e){let i=super.start(t=>e.pickLayerToExclude(t));this._excludingLayers=i,i.finally(()=>{this._excludingLayers===i&&(this._excludingLayers=void 0)}),await i.catch()}}async place(e){await this.analysisView?.place(e)}clearAnalysis(){this.analysis.shape=null}destroy(){x.delete(this)}get state(){return this.disabled||!this.ready?"disabled":this.operationState==="active"?"slicing":this.layersMode==="exclude"?"excludingLayer":this.analysis.valid?"sliced":"ready"}get shape(){return this.analysis.shape}set shape(e){this.analysis.shape=e}get tiltEnabled(){return this.analysis.tiltEnabled}set tiltEnabled(e){this.analysis.tiltEnabled=e}get layersMode(){return this._excludingLayers?"exclude":"none"}get excludedLayers(){return this.analysis.excludedLayers}set excludedLayers(e){this.analysis.excludedLayers=e}get excludeGroundSurface(){return this.analysis.excludeGroundSurface}set excludeGroundSurface(e){this.analysis.excludeGroundSurface=e}async start(){x.forEach(e=>{e.view===this.view&&e!==this&&e.clear()}),this.clear(),await super.start()}onConnectToAnalysisView(e){e.active=!0}constructAnalysis(){return new V}};o([d()],n.prototype,"_excludingLayers",2);o([d({readOnly:!0})],n.prototype,"state",1);o([d()],n.prototype,"shape",1);o([d()],n.prototype,"tiltEnabled",1);o([d()],n.prototype,"layersMode",1);o([d()],n.prototype,"excludedLayers",1);o([d()],n.prototype,"excludeGroundSurface",1);n=o([B("esri.components.Slice.SliceViewModel")],n);var r="arcgis-slice",a={base:r,actions:`${r}__actions`,cancelButton:`${r}__cancel-button`,container:`${r}__container`,error:`${r}__error`,excludeButton:`${r}__exclude-button`,hint:`${r}__hint`,hintText:`${r}__hint-text`,layerItem:`${r}__layer-item`,layerList:`${r}__layer-list`,layerListHeading:`${r}__layer-list-title`,newSliceButton:`${r}__clear-button`},j=k(n),m=class extends L{constructor(){super(...arguments),this.viewModel=j(this),this._messages=S(),this._onNewSliceClick=()=>{D(this.viewModel.start())},this.analysis=this.viewModel.analysis,this.autoDestroyDisabled=!1,this.excludeGroundSurface=this.viewModel.excludeGroundSurface,this.excludedLayers=this.viewModel.excludedLayers,this.headingLevel=3,this.icon="slice",this.position="bottom-left",this.shape=this.viewModel.shape,this.state=this.viewModel.state,this.tiltEnabled=this.viewModel.tiltEnabled,this.arcgisPropertyChange=M()("analysis","state"),this.arcgisReady=f()}static{this.properties={_hasVoxelLayers:16,analysis:0,autoDestroyDisabled:5,excludeGroundSurface:5,excludedLayers:0,headingLevel:9,icon:3,label:1,messageOverrides:0,position:1,referenceElement:1,shape:0,state:3,tiltEnabled:5}}static{this.shadowRootOptions=$}static{this.styles=O}get _hasVoxelLayers(){let i=this.viewModel?.view;return i!=null?i.allLayerViews.some(t=>t.type==="voxel-3d"):!1}async clear(){this.viewModel.clear()}async destroy(){await this.manager.destroy()}async start(){this.viewModel.start()}load(){this.manager.onLifecycle(()=>[H(()=>this._renderContainerNode(),()=>this.requestUpdate())])}render(){return l`<div class=${s({[a.base]:!0,[g.widget]:!0,[g.panel]:!0})} role=presentation>${this._renderContainerNode()}</div>`}_renderContainerNode(){let i=this._messages,{state:t,visible:u,supported:c}=this.viewModel,y=t==="slicing"||t==="excludingLayer";if(!u||!c)return null;c||l`<div class=${s(a.container)}><div class=${s(a.error)}><p>${this._messages.unsupported}</p></div></div>`;let{excludedLayers:h}=this.viewModel,_=this.excludeGroundSurface,T=h.length>0||_,p=t==="disabled";return l`<div class=${s(a.container)}><div class=${s(a.hint)}>${t==="excludingLayer"?l`<p class=${s(a.hintText)}>${i.excludeHint}</p>`:null}${t==="slicing"?l`<p class=${s(a.hintText)}>${this._hasVoxelLayers?i.voxelHint:i.hint}</p><p class=${s(a.hintText)}>${i.verticalHint}</p>`:null}</div>${!y&&T?l`<div class=${s(a.layerList)}>${C({class:a.layerListHeading,level:this.headingLevel,children:i.excludedLayers})}${N({layers:h.toArray(),excludeGroundSurface:_,onLayerClick:A=>{this.excludedLayers.remove(A)},onGroundClick:()=>{this.excludeGroundSurface=!1},listLabel:i.excludedLayers,layerActionLabel:i.includeLayer,groundItemTitle:i.ground})}</div>`:null}<div class=${s(a.actions)}>${y?null:l`<calcite-button class=${s(a.newSliceButton)} .disabled=${p} @click=${this._onNewSliceClick}>${i.newSlice}</calcite-button>`}${t==="sliced"?l`<calcite-button appearance=outline-fill class=${s(a.excludeButton)} .disabled=${p} @click=${()=>this.viewModel.pickLayerToExclude()}>${i.excludeLayer}</calcite-button>`:null}${t==="excludingLayer"?l`<calcite-button appearance=outline-fill class=${s(a.cancelButton)} .disabled=${p} @click=${()=>{this.viewModel.layersMode==="exclude"&&this.viewModel.stop()}}>${i.cancel}</calcite-button>`:null}</div></div>`}};function G(e){return l`<calcite-list-item class=${s(a.layerItem)} data-testid=${`list-item-${e.uid}`} .label=${e.title??""}><calcite-action icon=x @click=${e.onClick} scale=s slot=actions-end .text=${e.actionLabel} title=${e.actionLabel??b}></calcite-action></calcite-list-item>`}function N(e){let i=e.layers.map(t=>G({uid:t.uid,title:t.title??"",onClick:()=>e.onLayerClick(t),actionLabel:e.layerActionLabel}));return e.excludeGroundSurface&&i.push(G({uid:"ground",title:e.groundItemTitle,onClick:e.onGroundClick,actionLabel:e.layerActionLabel})),l`<calcite-list .label=${e.listLabel} selection-mode=none>${i}</calcite-list>`}w("arcgis-slice",m);return m},"analysis/SliceAnalysis","core/accessorSupport/decorators","core/promiseUtils","core/reactiveUtils",a,c,d,e,h)
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/4.34/esri/copyright.txt for details.
3
- v4.34.0-next.1 */
4
- import{b as h,c}from"./ZFGL2KSG.js";import j from"./DM77T47F.js";import i from"./4LBD2ITU.js";import"./22XQ7GV5.js";import e from"./2S6TIIDB.js";import{a as $}from"./HCWL6CLW.js";import{a as p}from"./SUN26GSO.js";import d from"./K7F5M66S.js";import a from"./JWWF5QWJ.js";import{e as M}from"./TWAC5OEP.js";import"./5ZQJE4G7.js";import"./Q4KIAHIP.js";import{A as w,D as f,O as D,P as b,R as O,T as m,i as g,j as v}from"./IISBCUIL.js";export default $arcgis.t(([z,{isAboveGeodesicDistanceThreshold:A},{getDefaultUnitForView:S},{property:o,subclass:_},{watch:V},,,U,,L])=>{var x=g`@layer{arcgis-directline-measurement-3d,arcgis-direct-line-measurement-3d{display:block}.arcgis-direct-line-measurement-3d{position:relative;padding:var(--esri-widget-padding);overflow-y:auto}}`,C=Object.defineProperty,E=Object.getOwnPropertyDescriptor,n=(e,t,s,r)=>{for(var a=r>1?void 0:r?E(t,s):t,l=e.length-1,d;l>=0;l--)(d=e[l])&&(a=(r?d(t,s,a):d(a))||a);return r&&a&&C(t,s,a),a},i=class extends L{constructor(e){super(e),this.supportedViewType="3d",this.unsupportedErrorMessage="The Direct Line Measurement 3D component is only supported in 3D views."}initialize(){this.addHandles(V(()=>({analysis:this.analysis,unit:this.unit}),({analysis:e,unit:t})=>{e!=null&&(e.unit=t)},{sync:!0,initial:!0}))}get state(){return this.disabled||!this.ready?"disabled":this.operationState==="inactive"?this.analysis.valid?"measured":"ready":"measuring"}get displayState(){if(!this.supported)return"unsupported";switch(this.state){case"disabled":case"ready":return"ready";case"measuring":return this.analysis.startPoint==null?"measuring":"measured";case"measured":return"measured"}}get measurement(){let e=this.analysisView?.result,t=e?.mode??"euclidean";if(!this.analysis.valid)return{mode:t,directDistance:c(void 0),horizontalDistance:c(void 0),verticalDistance:c(void 0)};let s=e?.directDistance,r=s!=null&&A(s);return{mode:t??"euclidean",directDistance:c(r?void 0:s),horizontalDistance:c(e?.horizontalDistance),verticalDistance:c(e?.verticalDistance)}}get unitOptions(){let e=this._userUnitOptions?.filter(t=>h.includes(t));return e&&e.length>0?e:h.slice()}set unitOptions(e){this._userUnitOptions=e}get unit(){let e=this._userUnit,t=this.unitOptions;if(e&&t.includes(e))return e;let s=this.defaultUnit;return s&&t.includes(s)?s:t[0]}set unit(e){this._userUnit=e}get defaultUnit(){return this.view?S(this.view):void 0}async place(e){await this.analysisView?.place(e)}clearAnalysis(){this.analysis.startPoint=null,this.analysis.endPoint=null}constructAnalysis(){return new z}};n([o({readOnly:!0})],i.prototype,"state",1);n([o({readOnly:!0})],i.prototype,"displayState",1);n([o({readOnly:!0})],i.prototype,"measurement",1);n([o()],i.prototype,"unitOptions",1);n([o()],i.prototype,"_userUnitOptions",2);n([o()],i.prototype,"unit",1);n([o()],i.prototype,"_userUnit",2);n([o({readOnly:!0})],i.prototype,"defaultUnit",1);i=n([_("components.direct-line-measurement-3d.DirectLineMeasurement3dViewModel")],i);var R="arcgis-direct-line-measurement-3d",T={base:R},k=U(i),u=class extends D{constructor(){super(...arguments),this.viewModel=k(this),this.messages=$({name:"directline-measurement-3d",blocking:!0}),this.autoDestroyDisabled=!1,this.icon="measure-line",this.position="bottom-left",this.state=this.viewModel.state,this.unit=this.viewModel.unit,this.unitOptions=this.viewModel.unitOptions,this.arcgisPropertyChange=M()("analysis","state"),this.arcgisReady=w()}static{this.properties={analysis:32,autoDestroyDisabled:5,icon:3,label:1,position:1,referenceElement:1,state:1,unit:1,unitOptions:0}}static{this.shadowRootOptions=f}static{this.styles=x}get analysis(){return this.viewModel.analysis}async clear(){this.viewModel.clear()}async destroy(){await this.manager.destroy()}async start(){await this.viewModel.start()}render(){let{messages:t,unit:s,unitOptions:r,viewModel:a}=this,{measurement:l,state:d}=a;return v`<div aria-label=${t.componentLabel??O} class=${b({[T.base]:!0,[p.widget]:!0,[p.panel]:!0})} role=presentation><arcgis-measurement-content .state=${a.displayState} .hintLabel=${t.hint} .unsupportedLabel=${t.unsupported} .items=${[{title:t.direct,measurement:l.directDistance},{title:t.horizontal,measurement:l.horizontalDistance},{title:t.vertical,measurement:l.verticalDistance}]}><arcgis-unit-select slot=settings .options=${r} .selectLabel=${t.unit} .value=${s} @arcgisUnitSelectChange=${P=>{this.unit=P.detail}}></arcgis-unit-select><calcite-button slot=actions .disabled=${d==="disabled"} @click=${()=>{this.viewModel.clear(),this.viewModel.start()}}>${t.newMeasurement}</calcite-button></arcgis-measurement-content></div>`}},y=class extends u{constructor(){super(),console.warn('arcgis-directline-measurement-3d - this component is deprecated. Use the "arcgis-direct-line-measurement-3d" component instead.')}};m("arcgis-direct-line-measurement-3d",u);m("arcgis-directline-measurement-3d",y);return{ArcgisDirectLineMeasurement3d:u,DeprecatedArcgisDirectLineMeasurement3d:y}},"analysis/DirectLineMeasurementAnalysis","applications/Components/analysisUtils","applications/Components/getDefaultUnits","core/accessorSupport/decorators","core/reactiveUtils",a,d,e,i,j)
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/4.34/esri/copyright.txt for details.
3
- v4.34.0-next.1 */
4
- import{a as d,c as m}from"./ZFGL2KSG.js";import j from"./DM77T47F.js";import i from"./4LBD2ITU.js";import"./22XQ7GV5.js";import e from"./2S6TIIDB.js";import{a as $}from"./HCWL6CLW.js";import{a as p}from"./SUN26GSO.js";import c from"./K7F5M66S.js";import a from"./JWWF5QWJ.js";import{e as M}from"./TWAC5OEP.js";import"./5ZQJE4G7.js";import"./Q4KIAHIP.js";import{A as g,D as w,O as f,P as v,R as b,T as O,i as h,j as y}from"./IISBCUIL.js";export default $arcgis.t(([L,{getDefaultUnitForView:S},{property:o,subclass:V},{watch:_},{hasValidAreaResult:C},,,U,,A])=>{var E=h`@layer{arcgis-area-measurement-3d{display:block}.arcgis-area-measurement-3d{position:relative;padding:var(--esri-widget-padding);overflow-y:auto}}`,P=Object.defineProperty,R=Object.getOwnPropertyDescriptor,n=(e,t,s,r)=>{for(var a=r>1?void 0:r?R(t,s):t,l=e.length-1,u;l>=0;l--)(u=e[l])&&(a=(r?u(t,s,a):u(a))||a);return r&&a&&P(t,s,a),a},i=class extends A{constructor(e){super(e),this.supportedViewType="3d",this.unsupportedErrorMessage="The Area Measurement 3D component is only supported in 3D views."}initialize(){this.addHandles(_(()=>({analysis:this.analysis,unit:this.unit}),({analysis:e,unit:t})=>{e!=null&&(e.unit=t)},{sync:!0,initial:!0}))}get state(){return this.disabled||!this.ready?"disabled":this.operationState==="inactive"?this.analysis.valid?"measured":"ready":"measuring"}get displayState(){if(!this.supported)return"unsupported";switch(this.state){case"disabled":case"ready":return"ready";case"measuring":return this.analysis.geometry==null?"measuring":"measured";case"measured":return"measured"}}get measurement(){let{analysisView:e}=this,t=e?.result,s=t?.mode??"euclidean",r=e!=null&&C(e);return{mode:s,area:m(t?.area,r),perimeter:m(t?.perimeter,r)}}get unitOptions(){let e=this._userUnitOptions?.filter(t=>d.includes(t));return e&&e.length>0?e:d.slice()}set unitOptions(e){this._userUnitOptions=e}get unit(){let e=this._userUnit,t=this.unitOptions;if(e&&t.includes(e))return e;let s=this.defaultUnit;return s&&t.includes(s)?s:t[0]}set unit(e){this._userUnit=e}get defaultUnit(){return this.view?S(this.view):void 0}async place(e){await this.analysisView?.place(e)}clearAnalysis(){this.analysis.geometry=null}constructAnalysis(){return new L}};n([o({readOnly:!0})],i.prototype,"state",1);n([o({readOnly:!0})],i.prototype,"displayState",1);n([o({readOnly:!0})],i.prototype,"measurement",1);n([o()],i.prototype,"unitOptions",1);n([o()],i.prototype,"_userUnitOptions",2);n([o()],i.prototype,"unit",1);n([o()],i.prototype,"_userUnit",2);n([o({readOnly:!0})],i.prototype,"defaultUnit",1);i=n([V("components.area-measurement-3d.AreaMeasurement3dViewModel")],i);var x="arcgis-area-measurement-3d",k={base:x},T=U(i),c=class extends f{constructor(){super(...arguments),this.viewModel=T(this),this.messages=$({blocking:!0}),this.autoDestroyDisabled=!1,this.icon="measure-area",this.position="bottom-left",this.state=this.viewModel.state,this.unit=this.viewModel.unit,this.unitOptions=this.viewModel.unitOptions,this.arcgisPropertyChange=M()("analysis","state"),this.arcgisReady=g()}static{this.properties={analysis:32,autoDestroyDisabled:5,icon:3,label:1,position:1,referenceElement:1,state:3,unit:1,unitOptions:0}}static{this.shadowRootOptions=w}static{this.styles=E}get analysis(){return this.viewModel.analysis}async clear(){this.viewModel.clear()}async destroy(){await this.manager.destroy()}async start(){this.viewModel.start()}render(){let{messages:t,unit:s,unitOptions:r,viewModel:a}=this,{measurement:l,state:u}=a;return y`<div aria-label=${t.componentLabel??b} class=${v({[k.base]:!0,[p.widget]:!0,[p.panel]:!0})} role=presentation><arcgis-measurement-content .state=${a.displayState} .hintLabel=${t.hint} .unsupportedLabel=${t.unsupported} .items=${[{title:t.area,measurement:l.area},{title:t.perimeterLength,measurement:l.perimeter}]}><arcgis-unit-select slot=settings .options=${r} .selectLabel=${t.unit} .value=${s} @arcgisUnitSelectChange=${D=>{this.unit=D.detail}}></arcgis-unit-select><calcite-button slot=actions .disabled=${u==="disabled"} @click=${()=>{this.viewModel.clear(),this.viewModel.start()}}>${t.newMeasurement}</calcite-button></arcgis-measurement-content></div>`}};O("arcgis-area-measurement-3d",c);return c},"analysis/AreaMeasurementAnalysis","applications/Components/getDefaultUnits","core/accessorSupport/decorators","core/reactiveUtils","applications/Components/analysisUtils",a,c,e,i,j)