@arcgis/map-components 5.0.0-next.163 → 5.0.0-next.165

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 (229) hide show
  1. package/dist/cdn/27EX7BAT.js +2 -0
  2. package/dist/cdn/{ANP7PYGJ.js → 2FBKLGCE.js} +1 -1
  3. package/dist/cdn/{U3H7EVCU.js → 2GYHEEJC.js} +1 -1
  4. package/dist/cdn/2KXVCJMQ.js +2 -0
  5. package/dist/cdn/{K4PC3ILQ.js → 2TODV24L.js} +1 -1
  6. package/dist/cdn/{MAM7YHLA.js → 2VVXUYOF.js} +1 -1
  7. package/dist/cdn/{QUHJMEBB.js → 2YI467ME.js} +1 -1
  8. package/dist/cdn/34S3BZS7.js +2 -0
  9. package/dist/cdn/{JCW65STL.js → 36NT6EOS.js} +1 -1
  10. package/dist/cdn/{7NOD6U2Y.js → 3K3Q3L5Z.js} +1 -1
  11. package/dist/cdn/{ORVYHFUJ.js → 3L6KP67K.js} +1 -1
  12. package/dist/cdn/{UELD2T53.js → 3O5MUEQE.js} +1 -1
  13. package/dist/cdn/{ILFME5US.js → 3RF66PN5.js} +1 -1
  14. package/dist/cdn/{PYMUS3H4.js → 46XRVUAH.js} +1 -1
  15. package/dist/cdn/{CO7UZYM2.js → 4IFHPHVF.js} +1 -1
  16. package/dist/cdn/{42WUBROP.js → 4OMTR2QQ.js} +1 -1
  17. package/dist/cdn/{RZ4T32PU.js → 4PK3GJ4F.js} +1 -1
  18. package/dist/cdn/{BGG5VIEL.js → 53LWO7HI.js} +1 -1
  19. package/dist/cdn/{TGUIWWDN.js → 5M4DDFN6.js} +1 -1
  20. package/dist/cdn/{JWT66RP2.js → 5PG27K3A.js} +1 -1
  21. package/dist/cdn/{U4TAMNG3.js → 5UFFQJSU.js} +1 -1
  22. package/dist/cdn/{TQRR2FH6.js → 5Y6NI7HQ.js} +1 -1
  23. package/dist/cdn/{KAZBQ6OA.js → 67G4OVIE.js} +1 -1
  24. package/dist/cdn/{QKSSTPS3.js → 7INPCVND.js} +1 -1
  25. package/dist/cdn/{LE7AXIL2.js → 7QF7HEDI.js} +1 -1
  26. package/dist/cdn/{7AGJFQHK.js → AAH2GFLP.js} +1 -1
  27. package/dist/cdn/AC3NQPKC.js +2 -0
  28. package/dist/cdn/{26SX6MF4.js → AGY724TJ.js} +1 -1
  29. package/dist/cdn/AHTIA2R6.js +2 -0
  30. package/dist/cdn/{25HB2UBJ.js → AIRTNDBH.js} +1 -1
  31. package/dist/cdn/{JZXMWXVD.js → AOZ2GPBD.js} +1 -1
  32. package/dist/cdn/{PZ2JPHRS.js → AX67NWFX.js} +1 -1
  33. package/dist/cdn/{WDTFIXMM.js → BHWPGG7Z.js} +1 -1
  34. package/dist/cdn/{F2HPTFLQ.js → BPZSPB4L.js} +1 -1
  35. package/dist/cdn/{67DKLGTW.js → BQDOPZG6.js} +1 -1
  36. package/dist/cdn/{H5RGMC7S.js → BYVF7WOC.js} +1 -1
  37. package/dist/cdn/{KGJGLAWM.js → CAW2JA3E.js} +1 -1
  38. package/dist/cdn/{JUHCPSPF.js → CAYSZWRK.js} +1 -1
  39. package/dist/cdn/{CSU7GLED.js → CBR6PUEY.js} +1 -1
  40. package/dist/cdn/{CEB3VR24.js → CFZXYFU7.js} +1 -1
  41. package/dist/cdn/{R2FIOZIL.js → CGRFWSSV.js} +1 -1
  42. package/dist/cdn/{KWIBK4I5.js → CGROBDHE.js} +1 -1
  43. package/dist/cdn/{N7QKWBTM.js → COEDZB6D.js} +1 -1
  44. package/dist/cdn/{BKYII5LQ.js → CQ6KMSIO.js} +1 -1
  45. package/dist/cdn/CXJGKZ7S.js +2 -0
  46. package/dist/cdn/{5LG4S2WV.js → DGDL4K6G.js} +1 -1
  47. package/dist/cdn/{4ESEDU4X.js → DHOVN4JA.js} +1 -1
  48. package/dist/cdn/{IQ7EVFBF.js → DI66GYDO.js} +1 -1
  49. package/dist/cdn/{M3AVHGBC.js → DMUVML6L.js} +1 -1
  50. package/dist/cdn/{ZOBY4YF2.js → DXJ7TMEQ.js} +1 -1
  51. package/dist/cdn/EGCQFNG3.js +2 -0
  52. package/dist/cdn/EOFEVRA3.js +2 -0
  53. package/dist/cdn/{XCDPFMHG.js → FFKZELBO.js} +1 -1
  54. package/dist/cdn/{EO66UQLI.js → FNAMDUKT.js} +1 -1
  55. package/dist/cdn/{HYBTGX3N.js → FOLIPPYI.js} +1 -1
  56. package/dist/cdn/{4WMWNIPN.js → FZVLJT66.js} +1 -1
  57. package/dist/cdn/{NMUWFJ4U.js → GD4LUFAZ.js} +1 -1
  58. package/dist/cdn/{WV6XSMZW.js → GK5T2FD6.js} +1 -1
  59. package/dist/cdn/{AJ64UYFM.js → GNCHWVNF.js} +1 -1
  60. package/dist/cdn/{IL56ZRDO.js → GOBIBDSA.js} +1 -1
  61. package/dist/cdn/HOBC5TEW.js +2 -0
  62. package/dist/cdn/{YLSIF5R2.js → HVRIARCB.js} +1 -1
  63. package/dist/cdn/{7WJ6TNOT.js → IEH4OYWP.js} +1 -1
  64. package/dist/cdn/IMPTONCA.js +2 -0
  65. package/dist/cdn/{RYKRMJMK.js → IPCQCFE3.js} +1 -1
  66. package/dist/cdn/{FRGWWVJK.js → J2N4NGSM.js} +1 -1
  67. package/dist/cdn/{F6QNNUIN.js → J4BNEHAO.js} +1 -1
  68. package/dist/cdn/JDP3YCBM.js +2 -0
  69. package/dist/cdn/{RE2BXNZ3.js → JPZMCGTS.js} +1 -1
  70. package/dist/cdn/{2FTXKTA4.js → JW5X664C.js} +1 -1
  71. package/dist/cdn/{NXZJ43G3.js → JYJBSAJT.js} +1 -1
  72. package/dist/cdn/{RB7GCEEB.js → K6Z5GBWL.js} +1 -1
  73. package/dist/cdn/{6424II7L.js → KBQK73Z2.js} +1 -1
  74. package/dist/cdn/{UQKKALKO.js → KCQB4NNK.js} +1 -1
  75. package/dist/cdn/{DT74YNQP.js → KRVZWYAS.js} +1 -1
  76. package/dist/cdn/{OFQNQF6N.js → KVJKF3VJ.js} +1 -1
  77. package/dist/cdn/{J4XU75P7.js → KXTLXAZQ.js} +1 -1
  78. package/dist/cdn/{Z6LXLPK7.js → LRUQSH7S.js} +1 -1
  79. package/dist/cdn/{X7QWBVC2.js → M3LMLGTS.js} +1 -1
  80. package/dist/cdn/{SQFVC4KA.js → MJBV536L.js} +1 -1
  81. package/dist/cdn/{FA3Z6QOE.js → MQYKZ2MY.js} +1 -1
  82. package/dist/cdn/{AX23Q2XH.js → N7JZUN7G.js} +1 -1
  83. package/dist/cdn/{ESNK6MCY.js → NMKZ77A3.js} +1 -1
  84. package/dist/cdn/{6IPVLMFQ.js → OJCRKH55.js} +1 -1
  85. package/dist/cdn/{WLNRPTCN.js → OKSHNWO7.js} +1 -1
  86. package/dist/cdn/{HKVQWRPL.js → OROETUZO.js} +1 -1
  87. package/dist/cdn/OY3WQBQM.js +2 -0
  88. package/dist/cdn/{KRVBBG4M.js → QGNFMBBV.js} +1 -1
  89. package/dist/cdn/{UW3G2BPO.js → QNCFWECI.js} +1 -1
  90. package/dist/cdn/{B7SDETM6.js → QSOGE4GS.js} +1 -1
  91. package/dist/cdn/{OKRTKYGF.js → QTOSV4XU.js} +1 -1
  92. package/dist/cdn/RTC24EVK.js +2 -0
  93. package/dist/cdn/{ONPN5M3Z.js → RTLNV5MH.js} +1 -1
  94. package/dist/cdn/RUC6NG6L.js +2 -0
  95. package/dist/cdn/RYH43ZOR.js +2 -0
  96. package/dist/cdn/{RMFIN5AS.js → RZDIL4FK.js} +1 -1
  97. package/dist/cdn/{NWXN5M4S.js → SAGJDTGS.js} +1 -1
  98. package/dist/cdn/SI3PITPE.js +2 -0
  99. package/dist/cdn/{AJIZTCGT.js → SS3BP5JY.js} +1 -1
  100. package/dist/cdn/{RU5U2DVA.js → STZ7NN7N.js} +1 -1
  101. package/dist/cdn/{T3JWZEB6.js → TBPQMJ3U.js} +1 -1
  102. package/dist/cdn/TCNK7NLA.js +2 -0
  103. package/dist/cdn/{3HYCJV4V.js → UCRB5RGH.js} +1 -1
  104. package/dist/cdn/{GAH6OGQE.js → UEUYXTE3.js} +1 -1
  105. package/dist/cdn/{LT5ALQM5.js → UFQOOCIO.js} +1 -1
  106. package/dist/cdn/{6IUQ5UHX.js → UFWKXIL5.js} +1 -1
  107. package/dist/cdn/UJXCCQWE.js +2 -0
  108. package/dist/cdn/{FD4A66OJ.js → V2QY34FP.js} +1 -1
  109. package/dist/cdn/{ZVTV4UKT.js → V4E5MPHA.js} +1 -1
  110. package/dist/cdn/{SK6O74LF.js → VAXL3OO6.js} +1 -1
  111. package/dist/cdn/{AHGLOKZI.js → VB66GDWY.js} +1 -1
  112. package/dist/cdn/{INYYRLED.js → VEBPC4NS.js} +1 -1
  113. package/dist/cdn/W627TIVM.js +2 -0
  114. package/dist/cdn/{DB2NOQ3D.js → WVRJP4IF.js} +1 -1
  115. package/dist/cdn/{QF7RABZH.js → WX4UNUXQ.js} +1 -1
  116. package/dist/cdn/{UBGE4QNR.js → WXQJ3OSA.js} +1 -1
  117. package/dist/cdn/{CGASUBOS.js → WXXTKBUN.js} +1 -1
  118. package/dist/cdn/{IKOLSNGV.js → WZVTF32R.js} +1 -1
  119. package/dist/cdn/X25QBU47.js +2 -0
  120. package/dist/cdn/{WBGZAAEK.js → X446GLUI.js} +1 -1
  121. package/dist/cdn/{G4FP7GXM.js → X4DF5NLE.js} +1 -1
  122. package/dist/cdn/{PQ5PGLJM.js → X4M3A7NY.js} +1 -1
  123. package/dist/cdn/{AEMKZZZS.js → X4PMY7Z5.js} +1 -1
  124. package/dist/cdn/{5DEOSU7J.js → X72XPU7O.js} +1 -1
  125. package/dist/cdn/{XIOIZK7A.js → X7Z2SLR4.js} +1 -1
  126. package/dist/cdn/{L5JWLRD3.js → XFCXD5BV.js} +1 -1
  127. package/dist/cdn/{D4PJU376.js → XL4ZVZQO.js} +1 -1
  128. package/dist/cdn/{SDWQW3ZX.js → XT5EYUOZ.js} +1 -1
  129. package/dist/cdn/{GCFNRINR.js → XUMBGLCM.js} +1 -1
  130. package/dist/cdn/{2AHY7O7C.js → Y7HAR5TE.js} +1 -1
  131. package/dist/cdn/{7OOAOM5T.js → YBPTQSLR.js} +1 -1
  132. package/dist/cdn/{YXYCWJFF.js → YGFR3GKE.js} +1 -1
  133. package/dist/cdn/{75LFOVPY.js → YJQ24JUD.js} +1 -1
  134. package/dist/cdn/{E5SXPWDJ.js → YOZLJOIM.js} +1 -1
  135. package/dist/cdn/{522HNMQI.js → YQ7TCV5A.js} +1 -1
  136. package/dist/cdn/{MD36SH63.js → YZSRJTGJ.js} +1 -1
  137. package/dist/cdn/{CXHSL2Y4.js → ZFHIU6DT.js} +1 -1
  138. package/dist/cdn/ZNBKMZP7.js +2 -0
  139. package/dist/cdn/{GMR2QJNU.js → ZY32LRC5.js} +1 -1
  140. package/dist/cdn/index.js +1 -1
  141. package/dist/chunks/esri-main.js +1 -1
  142. package/dist/chunks/measurementUtils.js +3 -3
  143. package/dist/components/arcgis-area-measurement-2d/customElement.js +62 -74
  144. package/dist/components/arcgis-area-measurement-3d/customElement.js +52 -64
  145. package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +59 -71
  146. package/dist/components/arcgis-directions/customElement.d.ts +17 -0
  147. package/dist/components/arcgis-directions/customElement.js +5 -5
  148. package/dist/components/arcgis-distance-measurement-2d/customElement.js +58 -70
  149. package/dist/components/arcgis-elevation-profile/customElement.js +100 -111
  150. package/dist/components/arcgis-elevation-profile-settings/customElement.js +22 -22
  151. package/dist/components/arcgis-feature/customElement.js +6 -6
  152. package/dist/components/arcgis-feature-table/customElement.d.ts +57 -2
  153. package/dist/components/arcgis-feature-table/customElement.js +28 -13
  154. package/dist/components/arcgis-feature-templates/customElement.d.ts +3 -0
  155. package/dist/components/arcgis-feature-templates/customElement.js +2 -2
  156. package/dist/components/arcgis-feature-utility-network-association-list/customElement.js +16 -16
  157. package/dist/components/arcgis-feature-utility-network-associations/customElement.js +55 -55
  158. package/dist/components/arcgis-features/customElement.js +46 -52
  159. package/dist/components/arcgis-link-chart/customElement.js +10 -15
  160. package/dist/components/arcgis-map/customElement.js +1 -6
  161. package/dist/components/arcgis-paste/PasteViewModel.d.ts +1 -1
  162. package/dist/components/arcgis-paste/customElement.js +51 -47
  163. package/dist/components/arcgis-popup/customElement.js +106 -99
  164. package/dist/components/arcgis-popup/types.d.ts +1 -1
  165. package/dist/components/arcgis-print/customElement.d.ts +10 -0
  166. package/dist/components/arcgis-print/customElement.js +7 -7
  167. package/dist/components/arcgis-print-layout-advanced-options/customElement.js +12 -12
  168. package/dist/components/arcgis-print-layout-panel/customElement.js +6 -6
  169. package/dist/components/arcgis-print-main-panel/customElement.js +7 -7
  170. package/dist/components/arcgis-scene/customElement.js +8 -13
  171. package/dist/components/arcgis-slider-binary-color-size-legacy/customElement.d.ts +1 -1
  172. package/dist/components/arcgis-slider-binary-color-size-legacy/customElement.js +1 -1
  173. package/dist/components/arcgis-slider-classed-color-legacy/customElement.d.ts +1 -1
  174. package/dist/components/arcgis-slider-classed-color-legacy/customElement.js +1 -1
  175. package/dist/components/arcgis-slider-classed-size-legacy/customElement.d.ts +1 -1
  176. package/dist/components/arcgis-slider-classed-size-legacy/customElement.js +1 -1
  177. package/dist/components/arcgis-slider-color-size-legacy/customElement.d.ts +1 -1
  178. package/dist/components/arcgis-slider-color-size-legacy/customElement.js +1 -1
  179. package/dist/components/arcgis-slider-heatmap-legacy/customElement.d.ts +1 -1
  180. package/dist/components/arcgis-slider-heatmap-legacy/customElement.js +1 -1
  181. package/dist/components/arcgis-slider-opacity-legacy/customElement.d.ts +1 -1
  182. package/dist/components/arcgis-slider-opacity-legacy/customElement.js +1 -1
  183. package/dist/components/arcgis-slider-size-legacy/customElement.d.ts +1 -1
  184. package/dist/components/arcgis-slider-size-legacy/customElement.js +1 -1
  185. package/dist/components/arcgis-utility-network-aggregated-geometry/customElement.d.ts +12 -0
  186. package/dist/components/arcgis-utility-network-aggregated-geometry/customElement.js +7 -7
  187. package/dist/components/arcgis-utility-network-trace/customElement.d.ts +7 -2
  188. package/dist/components/arcgis-utility-network-trace/customElement.js +1 -1
  189. package/dist/components/arcgis-utility-network-trace-analysis/customElement.d.ts +74 -14
  190. package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +47 -40
  191. package/dist/components/arcgis-utility-network-trace-inputs/customElement.d.ts +12 -0
  192. package/dist/components/arcgis-utility-network-trace-inputs/customElement.js +80 -65
  193. package/dist/components/arcgis-utility-network-trace-location/customElement.d.ts +4 -0
  194. package/dist/components/arcgis-utility-network-trace-location/customElement.js +17 -14
  195. package/dist/components/arcgis-utility-network-trace-results/customElement.d.ts +13 -0
  196. package/dist/components/arcgis-utility-network-trace-results/customElement.js +39 -26
  197. package/dist/components/arcgis-volume-measurement/customElement.js +84 -84
  198. package/dist/components/types.d.ts +5 -3
  199. package/dist/docs/api.json +1 -1
  200. package/dist/docs/docs.json +1 -1
  201. package/dist/docs/vscode.html-custom-data.json +1 -1
  202. package/dist/docs/web-types.json +1 -1
  203. package/dist/loader.js +21 -21
  204. package/dist/types/lumina.d.ts +14 -14
  205. package/dist/types/preact.d.ts +14 -14
  206. package/dist/types/react.d.ts +14 -14
  207. package/dist/types/stencil.d.ts +14 -14
  208. package/package.json +4 -4
  209. package/dist/cdn/3URKZO5O.js +0 -2
  210. package/dist/cdn/55TRWAT7.js +0 -2
  211. package/dist/cdn/BHPXKX47.js +0 -2
  212. package/dist/cdn/D4LTASH2.js +0 -2
  213. package/dist/cdn/FKQSJXNW.js +0 -2
  214. package/dist/cdn/H7O5I4IF.js +0 -2
  215. package/dist/cdn/I5M2Z7WS.js +0 -2
  216. package/dist/cdn/L6YZXUBB.js +0 -2
  217. package/dist/cdn/LEUHIPSJ.js +0 -2
  218. package/dist/cdn/NZXDNMVC.js +0 -2
  219. package/dist/cdn/ODGGFBDK.js +0 -2
  220. package/dist/cdn/P76K34HQ.js +0 -2
  221. package/dist/cdn/P7PWOUNZ.js +0 -2
  222. package/dist/cdn/Q4B4MXH4.js +0 -2
  223. package/dist/cdn/RN57AN5P.js +0 -2
  224. package/dist/cdn/SKIP3GUP.js +0 -2
  225. package/dist/cdn/UNLAUFXF.js +0 -2
  226. package/dist/cdn/URUFNID2.js +0 -2
  227. package/dist/cdn/WREEAAEV.js +0 -2
  228. package/dist/cdn/WTTBFFC2.js +0 -2
  229. package/dist/cdn/Y4RMI55P.js +0 -2
@@ -12,66 +12,62 @@ import { m as D } from "../../chunks/useViewModel.js";
12
12
  import { t as V, c as b } from "../../chunks/async-utils.js";
13
13
  import { g as f } from "../../chunks/globalCss.js";
14
14
  import P from "@arcgis/core/analysis/ElevationProfileAnalysis.js";
15
- import { getDefaultUnitForView as $ } from "@arcgis/core/applications/Components/getDefaultUnits.js";
16
- import { property as a, subclass as z } from "@arcgis/core/core/accessorSupport/decorators.js";
17
- import { A as E } from "../../chunks/AnalysisViewModel.js";
18
- import { a as F } from "../../chunks/maybe.js";
19
- import { c as _ } from "../../chunks/measurementUtils.js";
20
- import { m as A } from "../../chunks/handle.js";
21
- const I = C`.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}.esri-widget{box-sizing:border-box;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget *,.esri-widget :before,.esri-widget :after{box-sizing:inherit}.esri-widget.esri-widget--disabled>*{opacity:.4;pointer-events:none}.esri-widget.esri-widget--compact{--esri-widget-padding-y: 0;--esri-widget-padding-x: 0}.esri-widget__anchor{color:var(--calcite-color-text-2)}.esri-widget__anchor:hover{color:var(--calcite-color-text-3)}.esri-widget__anchor:hover,.esri-widget__anchor:focus{text-decoration:underline}.esri-widget__anchor--disabled{opacity:.4;pointer-events:none}.esri-widget__header{background-color:var(--calcite-color-foreground-1);flex:1 0 100%;justify-content:space-between;align-items:center;width:100%;min-height:48px;padding:12px 0 12px 15px;display:flex}.esri-widget__heading{word-break:break-word}.esri-widget__header .esri-widget__heading{width:calc(100% - 48px);text-align:initial;color:var(--calcite-color-text-1);align-items:center;margin:0;padding:0;display:flex}.esri-widget__header-button{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);border:none;flex:0 0 48px;justify-content:center;align-self:stretch;align-items:center;width:48px;padding:0;display:flex}.esri-widget__footer{background-color:var(--calcite-color-foreground-1);justify-content:center;align-items:center;width:100%;min-height:48px;display:flex}.esri-widget__footer-pagination{color:var(--calcite-color-text-2);justify-content:space-between;align-items:center;display:flex}.esri-widget__footer-pagination-previous-button,.esri-widget__footer-pagination-next-button{cursor:pointer;background-color:var(--calcite-color-foreground-1);border:0;margin:0 7px;padding:12px 15px;transition:background-color .125s ease-in-out}.esri-widget__footer-pagination-previous-button:hover,.esri-widget__footer-pagination-previous-button:focus,.esri-widget__footer-pagination-next-button:hover,.esri-widget__footer-pagination-next-button:focus{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1)}.esri-menu{visibility:hidden;z-index:1;background-clip:padding;background-color:var(--calcite-color-foreground-1);background-clip:padding-box;width:100%;max-height:0;margin:2px 0 0;padding:0;font-size:var(--calcite-font-size);line-height:var(--calcite-spacing-xl);position:absolute;top:100%;left:0;overflow:hidden;box-shadow:0 1px 2px #0000004d}.esri-menu .esri-menu__header{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-inverse);padding:6px 12px}.esri-menu__list{margin:0;padding:0;list-style:none}.esri-menu__list-item{cursor:pointer;border-top:1px solid #adadad4d;border-left:3px solid #0000;padding:.8em 1em}.esri-menu__list-item [class^=esri-icon-],.esri-menu__list-item [class*=" esri-icon-"]{padding-right:2.8px}.esri-menu__list-item:first-child{border-top:none}.esri-menu__list-item--focus,.esri-menu__list-item:hover,.esri-menu__list-item:focus{background-color:var(--calcite-color-foreground-1)}.esri-menu__list-item:active{background-color:var(--calcite-color-foreground-current)}.esri-menu__list-item--active,.esri-menu__list-item--active:hover,.esri-menu__list-item--active:focus{background-color:var(--calcite-color-foreground-1);border-left-color:var(--calcite-color-brand)}.esri-widget__table{border-collapse:collapse;color:var(--calcite-color-text-1);border:none;width:100%;line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget__table tr:nth-child(odd){background-color:var(--calcite-color-transparent)}.esri-widget__table tr:nth-child(2n){background-color:var(--calcite-color-transparent-press)}.esri-widget__table tr a{color:var(--calcite-color-text-2)}.esri-widget__table tr a:hover,.esri-widget__table tr a:focus{color:var(--calcite-color-text-1)}.esri-widget__table tr td,.esri-widget__table tr th{vertical-align:top;word-break:break-word;padding:.5em .7em;font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular)}.esri-widget__table tr th{text-align:left;border-right:3px solid #0000000d;width:50%}.esri-widget__table tr td{width:50%}.esri-input{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1);border:1px solid #959595;font-size:var(--calcite-font-size)}.esri-input::-ms-clear{display:none}.esri-input::placeholder{opacity:1;color:var(--calcite-color-text-2)}.esri-input:placeholder-shown{text-overflow:ellipsis}.esri-input[type=text],.esri-input[type=password],.esri-input[type=number]{height:32px;padding:0 .5em}calcite-combobox.esri-input{border:none}.esri-widget__content--empty{text-align:center;color:var(--calcite-color-border-input);flex-flow:column wrap;align-items:center;padding:18px 22px;display:flex}.esri-widget__content--empty h1.esri-widget__heading,.esri-widget__content--empty h2.esri-widget__heading,.esri-widget__content--empty h3.esri-widget__heading,.esri-widget__content--empty h4.esri-widget__heading,.esri-widget__content--empty h5.esri-widget__heading{font-weight:var(--calcite-font-weight-regular)}.esri-widget__content-illustration--empty{width:128px;padding:1rem 0}.esri-widget__content-icon--empty{width:32px;padding:.5rem 0}.esri-select{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background:var(--calcite-color-foreground-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -8 32 32' width='32' height='32'%3E%3Cpath d='M8 11.207l-4-4V5.793l4 4 4-4v1.414z' fill='%23adadad' fillrule='nonzero'/%3E%3C/svg%3E") 100% no-repeat;border:1px solid #959595;border-radius:0;width:100%;height:32px;margin:0;padding:0 .5em;font-family:inherit;font-size:.85em;display:block}.esri-select[disabled]{cursor:auto}.esri-select::-ms-expand{display:none}.esri-disabled a,.esri-disabled [role=menu],.esri-disabled [role=checkbox],.esri-disabled [class^=esri-icon-],.esri-disabled [class*=" esri-icon-"]{color:var(--calcite-color-text-3)}.keynav-mode .esri-widget:focus,.keynav-mode .esri-widget :focus{z-index:1;outline-offset:2px;outline:2px solid #adadad}.esri-widget__loader-animation{border:.15em solid #adadad4d;border-top-color:var(--calcite-color-border-input);border-radius:100%;width:1em;height:1em;font-size:var(--calcite-font-size-md);animation:1.25s linear infinite esri-rotate;display:block;transform:translateZ(0)}:dir(rtl) .esri-widget__table th{text-align:right;border-left:3px solid #0000000d;border-right:none}:dir(rtl) .esri-select{background-position:0}:dir(rtl) .esri-menu__list-item{border-left:none;border-right:3px solid #0000}:dir(rtl) .esri-menu__list-item [class^=esri-icon-],:dir(rtl) .esri-menu__list-item [class*=" esri-icon-"]{padding-left:2px;padding-right:0}:dir(rtl) .esri-menu__list-item--active{border-right-color:var(--calcite-color-brand)}.esri-icon-font-fallback-text{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.esri-rotating{animation:1.25s linear infinite esri-rotate;transform:translateZ(0)}.esri-clearfix:before,.esri-clearfix:after{content:" ";display:table}.esri-clearfix:after{clear:both}.esri-interactive{cursor:pointer}.esri-hidden{display:none!important}.esri-invisible{visibility:hidden!important}.esri-offscreen{position:absolute;top:-999em;left:-999em}.esri-match-height{flex-direction:column;flex:auto;display:flex;overflow:hidden}.esri-widget--panel{min-width:300px;min-height:32px;padding:var(--arcgis-internal-padding);transition:max-height .25s ease-in-out;overflow-y:auto}:host{--internal-chart-height: 180px;--internal-gap: var(--calcite-spacing-sm-plus);width:550px;isolation:isolate;position:relative;container-type:inline-size}.root{display:flex;flex-direction:column;width:100%;min-width:0;gap:var(--internal-gap)}.header{display:flex;flex-direction:row;align-items:center;justify-content:flex-end;margin-bottom:calc(var(--internal-gap) * -1)}.actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:var(--calcite-spacing-xs)}.action-button{width:auto;min-height:32px}.main-container{display:flex;position:relative;flex-flow:column;width:100%;height:var(--internal-chart-height)}.chart-container{position:relative;width:100%;height:100%}.prompt-container{box-sizing:border-box;display:grid;place-content:center;padding-inline:var(--calcite-spacing-md);height:100%;text-align:center}.prompt-message{margin:0;width:100%}.spinner{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transition:opacity .15s ease-in-out;transition-delay:0;opacity:0;&.visible{transition-delay:50ms;opacity:1}&.small{inset-inline-start:0;inset-block-start:-24px;left:unset;transform:none;color:var(--calcite-color-brand)}}@container (max-width: 400px){.esri-widget--panel{height:auto}.actions{flex-direction:column}.action-button{align-self:stretch}}`;
22
- async function T(t, e, i) {
23
- const r = await L(t, e);
24
- return V(i), R(r) ? r.highlight(e) : A();
15
+ import { property as a, subclass as $ } from "@arcgis/core/core/accessorSupport/decorators.js";
16
+ import { A as z } from "../../chunks/AnalysisViewModel.js";
17
+ import { a as E } from "../../chunks/maybe.js";
18
+ import { c as _, d as y } from "../../chunks/measurementUtils.js";
19
+ import { m as F } from "../../chunks/handle.js";
20
+ const A = C`.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}.esri-widget{box-sizing:border-box;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget *,.esri-widget :before,.esri-widget :after{box-sizing:inherit}.esri-widget.esri-widget--disabled>*{opacity:.4;pointer-events:none}.esri-widget.esri-widget--compact{--esri-widget-padding-y: 0;--esri-widget-padding-x: 0}.esri-widget__anchor{color:var(--calcite-color-text-2)}.esri-widget__anchor:hover{color:var(--calcite-color-text-3)}.esri-widget__anchor:hover,.esri-widget__anchor:focus{text-decoration:underline}.esri-widget__anchor--disabled{opacity:.4;pointer-events:none}.esri-widget__header{background-color:var(--calcite-color-foreground-1);flex:1 0 100%;justify-content:space-between;align-items:center;width:100%;min-height:48px;padding:12px 0 12px 15px;display:flex}.esri-widget__heading{word-break:break-word}.esri-widget__header .esri-widget__heading{width:calc(100% - 48px);text-align:initial;color:var(--calcite-color-text-1);align-items:center;margin:0;padding:0;display:flex}.esri-widget__header-button{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);border:none;flex:0 0 48px;justify-content:center;align-self:stretch;align-items:center;width:48px;padding:0;display:flex}.esri-widget__footer{background-color:var(--calcite-color-foreground-1);justify-content:center;align-items:center;width:100%;min-height:48px;display:flex}.esri-widget__footer-pagination{color:var(--calcite-color-text-2);justify-content:space-between;align-items:center;display:flex}.esri-widget__footer-pagination-previous-button,.esri-widget__footer-pagination-next-button{cursor:pointer;background-color:var(--calcite-color-foreground-1);border:0;margin:0 7px;padding:12px 15px;transition:background-color .125s ease-in-out}.esri-widget__footer-pagination-previous-button:hover,.esri-widget__footer-pagination-previous-button:focus,.esri-widget__footer-pagination-next-button:hover,.esri-widget__footer-pagination-next-button:focus{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1)}.esri-menu{visibility:hidden;z-index:1;background-clip:padding;background-color:var(--calcite-color-foreground-1);background-clip:padding-box;width:100%;max-height:0;margin:2px 0 0;padding:0;font-size:var(--calcite-font-size);line-height:var(--calcite-spacing-xl);position:absolute;top:100%;left:0;overflow:hidden;box-shadow:0 1px 2px #0000004d}.esri-menu .esri-menu__header{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-inverse);padding:6px 12px}.esri-menu__list{margin:0;padding:0;list-style:none}.esri-menu__list-item{cursor:pointer;border-top:1px solid #adadad4d;border-left:3px solid #0000;padding:.8em 1em}.esri-menu__list-item [class^=esri-icon-],.esri-menu__list-item [class*=" esri-icon-"]{padding-right:2.8px}.esri-menu__list-item:first-child{border-top:none}.esri-menu__list-item--focus,.esri-menu__list-item:hover,.esri-menu__list-item:focus{background-color:var(--calcite-color-foreground-1)}.esri-menu__list-item:active{background-color:var(--calcite-color-foreground-current)}.esri-menu__list-item--active,.esri-menu__list-item--active:hover,.esri-menu__list-item--active:focus{background-color:var(--calcite-color-foreground-1);border-left-color:var(--calcite-color-brand)}.esri-widget__table{border-collapse:collapse;color:var(--calcite-color-text-1);border:none;width:100%;line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget__table tr:nth-child(odd){background-color:var(--calcite-color-transparent)}.esri-widget__table tr:nth-child(2n){background-color:var(--calcite-color-transparent-press)}.esri-widget__table tr a{color:var(--calcite-color-text-2)}.esri-widget__table tr a:hover,.esri-widget__table tr a:focus{color:var(--calcite-color-text-1)}.esri-widget__table tr td,.esri-widget__table tr th{vertical-align:top;word-break:break-word;padding:.5em .7em;font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular)}.esri-widget__table tr th{text-align:left;border-right:3px solid #0000000d;width:50%}.esri-widget__table tr td{width:50%}.esri-input{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1);border:1px solid #959595;font-size:var(--calcite-font-size)}.esri-input::-ms-clear{display:none}.esri-input::placeholder{opacity:1;color:var(--calcite-color-text-2)}.esri-input:placeholder-shown{text-overflow:ellipsis}.esri-input[type=text],.esri-input[type=password],.esri-input[type=number]{height:32px;padding:0 .5em}calcite-combobox.esri-input{border:none}.esri-widget__content--empty{text-align:center;color:var(--calcite-color-border-input);flex-flow:column wrap;align-items:center;padding:18px 22px;display:flex}.esri-widget__content--empty h1.esri-widget__heading,.esri-widget__content--empty h2.esri-widget__heading,.esri-widget__content--empty h3.esri-widget__heading,.esri-widget__content--empty h4.esri-widget__heading,.esri-widget__content--empty h5.esri-widget__heading{font-weight:var(--calcite-font-weight-regular)}.esri-widget__content-illustration--empty{width:128px;padding:1rem 0}.esri-widget__content-icon--empty{width:32px;padding:.5rem 0}.esri-select{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background:var(--calcite-color-foreground-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -8 32 32' width='32' height='32'%3E%3Cpath d='M8 11.207l-4-4V5.793l4 4 4-4v1.414z' fill='%23adadad' fillrule='nonzero'/%3E%3C/svg%3E") 100% no-repeat;border:1px solid #959595;border-radius:0;width:100%;height:32px;margin:0;padding:0 .5em;font-family:inherit;font-size:.85em;display:block}.esri-select[disabled]{cursor:auto}.esri-select::-ms-expand{display:none}.esri-disabled a,.esri-disabled [role=menu],.esri-disabled [role=checkbox],.esri-disabled [class^=esri-icon-],.esri-disabled [class*=" esri-icon-"]{color:var(--calcite-color-text-3)}.keynav-mode .esri-widget:focus,.keynav-mode .esri-widget :focus{z-index:1;outline-offset:2px;outline:2px solid #adadad}.esri-widget__loader-animation{border:.15em solid #adadad4d;border-top-color:var(--calcite-color-border-input);border-radius:100%;width:1em;height:1em;font-size:var(--calcite-font-size-md);animation:1.25s linear infinite esri-rotate;display:block;transform:translateZ(0)}:dir(rtl) .esri-widget__table th{text-align:right;border-left:3px solid #0000000d;border-right:none}:dir(rtl) .esri-select{background-position:0}:dir(rtl) .esri-menu__list-item{border-left:none;border-right:3px solid #0000}:dir(rtl) .esri-menu__list-item [class^=esri-icon-],:dir(rtl) .esri-menu__list-item [class*=" esri-icon-"]{padding-left:2px;padding-right:0}:dir(rtl) .esri-menu__list-item--active{border-right-color:var(--calcite-color-brand)}.esri-icon-font-fallback-text{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.esri-rotating{animation:1.25s linear infinite esri-rotate;transform:translateZ(0)}.esri-clearfix:before,.esri-clearfix:after{content:" ";display:table}.esri-clearfix:after{clear:both}.esri-interactive{cursor:pointer}.esri-hidden{display:none!important}.esri-invisible{visibility:hidden!important}.esri-offscreen{position:absolute;top:-999em;left:-999em}.esri-match-height{flex-direction:column;flex:auto;display:flex;overflow:hidden}.esri-widget--panel{min-width:300px;min-height:32px;padding:var(--arcgis-internal-padding);transition:max-height .25s ease-in-out;overflow-y:auto}:host{--internal-chart-height: 180px;--internal-gap: var(--calcite-spacing-sm-plus);width:550px;isolation:isolate;position:relative;container-type:inline-size}.root{display:flex;flex-direction:column;width:100%;min-width:0;gap:var(--internal-gap)}.header{display:flex;flex-direction:row;align-items:center;justify-content:flex-end;margin-bottom:calc(var(--internal-gap) * -1)}.actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:var(--calcite-spacing-xs)}.action-button{width:auto;min-height:32px}.main-container{display:flex;position:relative;flex-flow:column;width:100%;height:var(--internal-chart-height)}.chart-container{position:relative;width:100%;height:100%}.prompt-container{box-sizing:border-box;display:grid;place-content:center;padding-inline:var(--calcite-spacing-md);height:100%;text-align:center}.prompt-message{margin:0;width:100%}.spinner{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transition:opacity .15s ease-in-out;transition-delay:0;opacity:0;&.visible{transition-delay:50ms;opacity:1}&.small{inset-inline-start:0;inset-block-start:-24px;left:unset;transform:none;color:var(--calcite-color-brand)}}@container (max-width: 400px){.esri-widget--panel{height:auto}.actions{flex-direction:column}.action-button{align-self:stretch}}`;
21
+ async function I(t, e, i) {
22
+ const r = await T(t, e);
23
+ return V(i), L(r) ? r.highlight(e) : F();
25
24
  }
26
- async function L(t, e) {
25
+ async function T(t, e) {
27
26
  const i = e?.layer;
28
27
  if (!(!i || i.type === "subtype-sublayer" || i.type === "sublayer" || i.type === "building-component"))
29
28
  return await t.whenLayerView(i);
30
29
  }
31
- function R(t) {
30
+ function L(t) {
32
31
  return t != null && "highlight" in t && typeof t.highlight == "function";
33
32
  }
34
- function H({ geometry: t }) {
33
+ function R({ geometry: t }) {
35
34
  return t?.type === "polyline" && t.paths.length > 0 && t.paths.every((e) => e.length >= 2);
36
35
  }
37
- function Z({ geometry: t }) {
36
+ function H({ geometry: t }) {
38
37
  return t?.type === "polyline" && t.paths.reduce((e, i) => e + i.length, 0) > 0;
39
38
  }
40
- function j(t) {
39
+ function Z(t) {
41
40
  return t?.samples?.some((e) => e.z != null) ?? !1;
42
41
  }
43
- function q(t) {
42
+ function j(t) {
44
43
  return t?.type === "polyline";
45
44
  }
46
- var G = Object.defineProperty, N = Object.getOwnPropertyDescriptor, o = (t, e, i, r) => {
47
- for (var s = r > 1 ? void 0 : r ? N(e, i) : e, l = t.length - 1, d; l >= 0; l--)
48
- (d = t[l]) && (s = (r ? d(e, i, s) : d(s)) || s);
49
- return r && s && G(e, i, s), s;
45
+ var q = Object.defineProperty, G = Object.getOwnPropertyDescriptor, o = (t, e, i, r) => {
46
+ for (var n = r > 1 ? void 0 : r ? G(e, i) : e, l = t.length - 1, d; l >= 0; l--)
47
+ (d = t[l]) && (n = (r ? d(e, i, n) : d(n)) || n);
48
+ return r && n && q(e, i, n), n;
50
49
  };
51
- let n = class extends E {
50
+ let s = class extends z {
52
51
  constructor() {
53
52
  super(...arguments), this.highlightDisabled = !1, this.uniformChartScaling = !1, this.shouldForceInteractive = !1, this.supportedViewType = "both", this.unsupportedErrorMessage = "";
54
53
  }
55
- get _measurementSystem() {
56
- return this.view ? $(this.view) : void 0;
57
- }
58
54
  get _hasSamples() {
59
55
  const { progress: t } = this;
60
56
  return !!this.analysisView?.results?.some(
61
- (e) => e.available && (t < 1 || j(e))
57
+ (e) => e.available && (t < 1 || Z(e))
62
58
  );
63
59
  }
64
60
  get doneButtonAvailable() {
65
61
  if (this.featureIsSelected)
66
62
  return !1;
67
63
  const { geometry: t } = this.analysis;
68
- return q(t) && t.paths.length > 0 && t.paths[0].length > 2;
64
+ return j(t) && t.paths.length > 0 && t.paths[0].length > 2;
69
65
  }
70
66
  get effectiveDisplayUnits() {
71
67
  return this.analysisView?.effectiveDisplayUnits;
72
68
  }
73
69
  get errorState() {
74
- if (!H(this.analysis))
70
+ if (!R(this.analysis))
75
71
  return "no-valid-input";
76
72
  const t = this.analysisView?.error;
77
73
  if (t)
@@ -95,7 +91,7 @@ let n = class extends E {
95
91
  return this.feature != null;
96
92
  }
97
93
  get hasVertices() {
98
- return Z(this.analysis);
94
+ return H(this.analysis);
99
95
  }
100
96
  get indicatorRelativePosition() {
101
97
  return this.analysisView?.indicatorRelativePosition ?? void 0;
@@ -134,10 +130,11 @@ let n = class extends E {
134
130
  return this.disabled || !this.ready ? "disabled" : this._selectingPromise ? "selecting" : this.operationState === "active" ? "creating" : this.analysis.valid ? this.featureIsSelected ? "selected" : "created" : "ready";
135
131
  }
136
132
  get distanceUnit() {
137
- return y(
138
- this._userDistanceUnit ?? this.analysis.displayUnits?.distance ?? void 0,
133
+ return _(
134
+ this._userDistanceUnit,
135
+ this.analysis.displayUnits?.distance,
139
136
  this.distanceUnitOptions,
140
- this._measurementSystem
137
+ this.defaultMeasurementSystem
141
138
  );
142
139
  }
143
140
  set distanceUnit(t) {
@@ -150,10 +147,11 @@ let n = class extends E {
150
147
  this._userDistanceUnitOptions = t;
151
148
  }
152
149
  get elevationUnit() {
153
- return y(
154
- this._userElevationUnit ?? this.analysis.displayUnits?.elevation ?? void 0,
150
+ return _(
151
+ this._userElevationUnit,
152
+ this.analysis.displayUnits?.elevation,
155
153
  this.elevationUnitOptions,
156
- this._measurementSystem
154
+ this.defaultMeasurementSystem
157
155
  );
158
156
  }
159
157
  set elevationUnit(t) {
@@ -172,14 +170,11 @@ let n = class extends E {
172
170
  g(
173
171
  () => ({
174
172
  analysis: this.analysis,
175
- unitDistance: this.distanceUnit,
176
- unitElevation: this.elevationUnit
173
+ unitDistance: this._userDistanceUnit,
174
+ unitElevation: this._userElevationUnit
177
175
  }),
178
176
  ({ analysis: t, unitDistance: e, unitElevation: i }) => {
179
- if (t != null) {
180
- const r = t.displayUnits;
181
- r.elevation = i, r.distance = e;
182
- }
177
+ i && (t.displayUnits.elevation = i), e && (t.displayUnits.distance = e);
183
178
  },
184
179
  { sync: !0, initial: !0 }
185
180
  ),
@@ -191,13 +186,13 @@ let n = class extends E {
191
186
  ({ selectedFeature: t, profiles: e }, i) => {
192
187
  this._highlightSelectedFeature(this.highlightDisabled ? void 0 : t), this.analysis.viewOptions.geometryVisualizationVisible = !this.highlightDisabled && t == null;
193
188
  const r = i?.selectedFeature;
194
- e.forEach((s) => {
195
- switch (s.type) {
189
+ e.forEach((n) => {
190
+ switch (n.type) {
196
191
  case "scene":
197
- this._excludeSelectedFeatureFromProfile(s, t, r);
192
+ this._excludeSelectedFeatureFromProfile(n, t, r);
198
193
  break;
199
194
  case "input":
200
- s.chartOptions.lineVisible = t != null, s.viewOptions.lineVisible = t != null;
195
+ n.chartOptions.lineVisible = t != null, n.viewOptions.lineVisible = t != null;
201
196
  break;
202
197
  }
203
198
  });
@@ -239,11 +234,11 @@ let n = class extends E {
239
234
  this._removeSelectionHighlight();
240
235
  const e = this.view;
241
236
  !e || !t || (this._selectionHighlightTask = b(
242
- async (i) => await T(e, t, { signal: i })
237
+ async (i) => await I(e, t, { signal: i })
243
238
  ));
244
239
  }
245
240
  _removeSelectionHighlight() {
246
- this._selectionHighlightTask?.value?.remove(), this._selectionHighlightTask = F(this._selectionHighlightTask);
241
+ this._selectionHighlightTask?.value?.remove(), this._selectionHighlightTask = E(this._selectionHighlightTask);
247
242
  }
248
243
  _excludeSelectedFeatureFromProfile(t, e, i) {
249
244
  const r = new Set(t.exclude ?? []);
@@ -253,111 +248,105 @@ let n = class extends E {
253
248
  };
254
249
  o([
255
250
  a()
256
- ], n.prototype, "_userDistanceUnit", 2);
251
+ ], s.prototype, "_userDistanceUnit", 2);
257
252
  o([
258
253
  a()
259
- ], n.prototype, "_userDistanceUnitOptions", 2);
254
+ ], s.prototype, "_userDistanceUnitOptions", 2);
260
255
  o([
261
256
  a()
262
- ], n.prototype, "_userElevationUnit", 2);
257
+ ], s.prototype, "_userElevationUnit", 2);
263
258
  o([
264
259
  a()
265
- ], n.prototype, "_userElevationUnitOptions", 2);
266
- o([
267
- a({ readOnly: !0 })
268
- ], n.prototype, "_measurementSystem", 1);
260
+ ], s.prototype, "_userElevationUnitOptions", 2);
269
261
  o([
270
262
  a()
271
- ], n.prototype, "_selectingPromise", 2);
263
+ ], s.prototype, "_selectingPromise", 2);
272
264
  o([
273
265
  a()
274
- ], n.prototype, "_selectedFeature", 2);
266
+ ], s.prototype, "_selectedFeature", 2);
275
267
  o([
276
268
  a()
277
- ], n.prototype, "_selectionHighlightTask", 2);
269
+ ], s.prototype, "_selectionHighlightTask", 2);
278
270
  o([
279
271
  a()
280
- ], n.prototype, "_hasSamples", 1);
272
+ ], s.prototype, "_hasSamples", 1);
281
273
  o([
282
274
  a()
283
- ], n.prototype, "doneButtonAvailable", 1);
275
+ ], s.prototype, "doneButtonAvailable", 1);
284
276
  o([
285
277
  a({ readOnly: !0 })
286
- ], n.prototype, "effectiveDisplayUnits", 1);
278
+ ], s.prototype, "effectiveDisplayUnits", 1);
287
279
  o([
288
280
  a({ readOnly: !0 })
289
- ], n.prototype, "errorState", 1);
281
+ ], s.prototype, "errorState", 1);
290
282
  o([
291
283
  a()
292
- ], n.prototype, "feature", 1);
284
+ ], s.prototype, "feature", 1);
293
285
  o([
294
286
  a()
295
- ], n.prototype, "featureIsSelected", 1);
287
+ ], s.prototype, "featureIsSelected", 1);
296
288
  o([
297
289
  a({ readOnly: !0 })
298
- ], n.prototype, "hasVertices", 1);
290
+ ], s.prototype, "hasVertices", 1);
299
291
  o([
300
292
  a()
301
- ], n.prototype, "highlightDisabled", 2);
293
+ ], s.prototype, "highlightDisabled", 2);
302
294
  o([
303
295
  a()
304
- ], n.prototype, "indicatorRelativePosition", 1);
296
+ ], s.prototype, "indicatorRelativePosition", 1);
305
297
  o([
306
298
  a()
307
- ], n.prototype, "geometry", 1);
299
+ ], s.prototype, "geometry", 1);
308
300
  o([
309
301
  a()
310
- ], n.prototype, "elevationInfo", 1);
302
+ ], s.prototype, "elevationInfo", 1);
311
303
  o([
312
304
  a()
313
- ], n.prototype, "profiles", 1);
305
+ ], s.prototype, "profiles", 1);
314
306
  o([
315
307
  a({ readOnly: !0 })
316
- ], n.prototype, "progress", 1);
308
+ ], s.prototype, "progress", 1);
317
309
  o([
318
310
  a({ readOnly: !0 })
319
- ], n.prototype, "results", 1);
311
+ ], s.prototype, "results", 1);
320
312
  o([
321
313
  a({ readOnly: !0 })
322
- ], n.prototype, "selectButtonAvailable", 1);
314
+ ], s.prototype, "selectButtonAvailable", 1);
323
315
  o([
324
316
  a({ readOnly: !0 })
325
- ], n.prototype, "state", 1);
317
+ ], s.prototype, "state", 1);
326
318
  o([
327
319
  a()
328
- ], n.prototype, "uniformChartScaling", 2);
320
+ ], s.prototype, "uniformChartScaling", 2);
329
321
  o([
330
322
  a()
331
- ], n.prototype, "distanceUnit", 1);
323
+ ], s.prototype, "distanceUnit", 1);
332
324
  o([
333
325
  a()
334
- ], n.prototype, "distanceUnitOptions", 1);
326
+ ], s.prototype, "distanceUnitOptions", 1);
335
327
  o([
336
328
  a()
337
- ], n.prototype, "elevationUnit", 1);
329
+ ], s.prototype, "elevationUnit", 1);
338
330
  o([
339
331
  a()
340
- ], n.prototype, "elevationUnitOptions", 1);
341
- n = o([
342
- z("components.elevation-profile.ElevationProfileViewModel")
343
- ], n);
344
- function y(t, e, i) {
345
- return t && e.includes(t) ? t : i && e.includes(i) ? i : e[0];
346
- }
332
+ ], s.prototype, "elevationUnitOptions", 1);
333
+ s = o([
334
+ $("components.elevation-profile.ElevationProfileViewModel")
335
+ ], s);
347
336
  function w(t) {
348
- const e = t?.filter((i) => _.includes(i));
349
- return e && e.length > 0 ? e : _.slice();
337
+ const e = t?.filter((i) => y.includes(i));
338
+ return e && e.length > 0 ? e : y.slice();
350
339
  }
351
- const J = D(n);
352
- class K extends k {
340
+ const N = D(s);
341
+ class J extends k {
353
342
  constructor() {
354
- super(...arguments), this.viewModel = J(this), this._messages = O(), this._hideZoomOutButton = !0, this.analysis = this.viewModel.analysis, this.view = this.viewModel.view, this.autoDestroyDisabled = !1, this.effectiveDisplayUnits = this.viewModel.effectiveDisplayUnits, this.feature = this.viewModel.feature, this.hideChart = !1, this.hideClearButton = !1, this.hideLegend = !1, this.hideSelectButton = !1, this.hideSettingsButton = !1, this.hideStartButton = !1, this.hideUniformChartScalingToggle = !1, this.hideDistanceDisplayUnitSelect = !1, this.hideElevationDisplayUnitSelect = !1, this.hideVisualization = this.viewModel.hideVisualization, this.highlightDisabled = this.viewModel.highlightDisabled, this.icon = "altitude", this.indicatorRelativePosition = this.viewModel.indicatorRelativePosition, this.geometry = this.viewModel.geometry, this.elevationInfo = this.viewModel.elevationInfo, this.profiles = this.viewModel.profiles, this.progress = this.viewModel.progress, this.state = this.viewModel.state, this.uniformChartScaling = this.viewModel.uniformChartScaling, this.distanceUnit = this.viewModel.distanceUnit, this.distanceUnitOptions = this.viewModel.distanceUnitOptions, this.elevationUnit = this.viewModel.elevationUnit, this.elevationUnitOptions = this.viewModel.elevationUnitOptions, this.arcgisPropertyChange = B()("analysis", "effectiveDisplayUnits", "elevationInfo", "feature", "geometry", "indicatorRelativePosition", "progress", "state"), this.arcgisReady = M();
343
+ super(...arguments), this.viewModel = N(this), this._messages = O(), this._hideZoomOutButton = !0, this.analysis = this.viewModel.analysis, this.view = this.viewModel.view, this.autoDestroyDisabled = !1, this.effectiveDisplayUnits = this.viewModel.effectiveDisplayUnits, this.feature = this.viewModel.feature, this.hideChart = !1, this.hideClearButton = !1, this.hideLegend = !1, this.hideSelectButton = !1, this.hideSettingsButton = !1, this.hideStartButton = !1, this.hideUniformChartScalingToggle = !1, this.hideDistanceDisplayUnitSelect = !1, this.hideElevationDisplayUnitSelect = !1, this.hideVisualization = this.viewModel.hideVisualization, this.highlightDisabled = this.viewModel.highlightDisabled, this.icon = "altitude", this.indicatorRelativePosition = this.viewModel.indicatorRelativePosition, this.geometry = this.viewModel.geometry, this.elevationInfo = this.viewModel.elevationInfo, this.profiles = this.viewModel.profiles, this.progress = this.viewModel.progress, this.state = this.viewModel.state, this.uniformChartScaling = this.viewModel.uniformChartScaling, this.distanceUnit = this.viewModel.distanceUnit, this.distanceUnitOptions = this.viewModel.distanceUnitOptions, this.elevationUnit = this.viewModel.elevationUnit, this.elevationUnitOptions = this.viewModel.elevationUnitOptions, this.arcgisPropertyChange = B()("analysis", "effectiveDisplayUnits", "elevationInfo", "feature", "geometry", "indicatorRelativePosition", "progress", "state"), this.arcgisReady = M();
355
344
  }
356
345
  static {
357
346
  this.properties = { _hideZoomOutButton: 16, _chartContainer: 16, analysis: 0, view: 0, autoDestroyDisabled: 5, effectiveDisplayUnits: 32, feature: 0, hideChart: 5, hideClearButton: 5, hideLegend: 5, hideSelectButton: 5, hideSettingsButton: 5, hideStartButton: 5, hideUniformChartScalingToggle: 5, hideDistanceDisplayUnitSelect: 5, hideElevationDisplayUnitSelect: 5, hideVisualization: 5, highlightDisabled: 5, icon: 3, indicatorRelativePosition: 40, geometry: 0, elevationInfo: 0, label: 1, messageOverrides: 0, referenceElement: 1, profiles: 0, progress: 40, state: 32, uniformChartScaling: 5, distanceUnit: 1, distanceUnitOptions: 0, elevationUnit: 1, elevationUnitOptions: 0 };
358
347
  }
359
348
  static {
360
- this.styles = I;
349
+ this.styles = A;
361
350
  }
362
351
  get _selectButtonVisible() {
363
352
  return !this.hideSelectButton && this.viewModel.selectButtonAvailable;
@@ -390,10 +379,10 @@ class K extends k {
390
379
  messages: this._messages,
391
380
  signal: i,
392
381
  uniformScaling: this.viewModel.uniformChartScaling,
393
- onRangeChange: (r, s) => {
394
- this._hideZoomOutButton = r === 1 && s === 1;
382
+ onRangeChange: (r, n) => {
383
+ this._hideZoomOutButton = r === 1 && n === 1;
395
384
  },
396
- onCursorPositionChange: (r, s) => {
385
+ onCursorPositionChange: (r, n) => {
397
386
  const { analysisView: l } = this.viewModel;
398
387
  l && (l.indicatorRelativePosition = r);
399
388
  }
@@ -404,8 +393,8 @@ class K extends k {
404
393
  view: this.viewModel.view,
405
394
  analysisView: this.viewModel.analysisView,
406
395
  uniformScaling: this.viewModel.uniformChartScaling
407
- }), ({ chart: e, view: i, analysisView: r, uniformScaling: s }) => {
408
- e && (e.view = i, e.analysisView = r, e.uniformScaling = s);
396
+ }), ({ chart: e, view: i, analysisView: r, uniformScaling: n }) => {
397
+ e && (e.view = i, e.analysisView = r, e.uniformScaling = n);
409
398
  }, { sync: !0, initial: !0 }),
410
399
  // Make sure to destroy the chart when the component is disconnected.
411
400
  { remove: () => this._destroyChart() }
@@ -422,7 +411,7 @@ class K extends k {
422
411
  this.viewModel.stop();
423
412
  }
424
413
  _getErrorMessage() {
425
- const e = Q[this.viewModel.errorState];
414
+ const e = K[this.viewModel.errorState];
426
415
  return e ? this._messages?.errors?.[e] : void 0;
427
416
  }
428
417
  _onClearButtonClick() {
@@ -459,7 +448,7 @@ class K extends k {
459
448
  }
460
449
  }
461
450
  _renderContentForReadyState() {
462
- const { _messages: e, hideSelectButton: i, hideStartButton: r } = this, { selectButtonAvailable: s } = this.viewModel, l = !i && s;
451
+ const { _messages: e, hideSelectButton: i, hideStartButton: r } = this, { selectButtonAvailable: n } = this.viewModel, l = !i && n;
463
452
  let d;
464
453
  return !r && l ? d = e.readyPrompt : r ? l ? d = e.readyPromptSelectOnly : d = e.errors?.noProfile : d = e.readyPromptCreateOnly, this._renderContent({ prompt: d, chart: !1, actions: p });
465
454
  }
@@ -487,8 +476,8 @@ class K extends k {
487
476
  prompt: l
488
477
  });
489
478
  }
490
- const s = this._getErrorMessage();
491
- return s ? this._renderContent({ chart: !1, actions: r, prompt: s }) : this._renderContent({ chart: !0, actions: r });
479
+ const n = this._getErrorMessage();
480
+ return n ? this._renderContent({ chart: !1, actions: r, prompt: n }) : this._renderContent({ chart: !0, actions: r });
492
481
  }
493
482
  _renderContentForSelectedState() {
494
483
  const e = this._getErrorMessage();
@@ -536,44 +525,44 @@ class K extends k {
536
525
  return c`<arcgis-elevation-profile-legend .effectiveDisplayUnits=${this.viewModel.effectiveDisplayUnits} .featureSelected=${this.viewModel.featureIsSelected} .messages=${this._messages} .results=${this.viewModel.results}></arcgis-elevation-profile-legend>`;
537
526
  }
538
527
  _renderSettingsButton() {
539
- return c`<arcgis-elevation-profile-settings .analysis=${this.viewModel.analysis} .hideUniformChartScalingToggle=${this.hideUniformChartScalingToggle} .hideDistanceDisplayUnitSelect=${this.hideDistanceDisplayUnitSelect} .hideElevationDisplayUnitSelect=${this.hideElevationDisplayUnitSelect} .messages=${this._messages} .uniformChartScaling=${this.viewModel.uniformChartScaling} .unitOptionsDistance=${this.viewModel.distanceUnitOptions} .unitOptionsElevation=${this.viewModel.elevationUnitOptions} @arcgisElevationProfileSettingsUniformChartScalingChange=${(e) => {
528
+ return c`<arcgis-elevation-profile-settings .viewModel=${this.viewModel} .hideUniformChartScalingToggle=${this.hideUniformChartScalingToggle} .hideDistanceDisplayUnitSelect=${this.hideDistanceDisplayUnitSelect} .hideElevationDisplayUnitSelect=${this.hideElevationDisplayUnitSelect} .messages=${this._messages} .uniformChartScaling=${this.viewModel.uniformChartScaling} .unitOptionsDistance=${this.viewModel.distanceUnitOptions} .unitOptionsElevation=${this.viewModel.elevationUnitOptions} @arcgisElevationProfileSettingsUniformChartScalingChange=${(e) => {
540
529
  this.viewModel.uniformChartScaling = e.detail;
541
530
  }}></arcgis-elevation-profile-settings>`;
542
531
  }
543
532
  _renderActions({ actions: e }) {
544
- const i = this._messages, r = e.map((s) => {
545
- switch (s.type) {
533
+ const i = this._messages, r = e.map((n) => {
534
+ switch (n.type) {
546
535
  case "sketch":
547
536
  return h({ hidden: this.hideStartButton, children: this._renderAction({
548
- action: s,
537
+ action: n,
549
538
  label: i.sketchButtonLabel,
550
539
  primary: !0,
551
540
  onClick: () => void this.start()
552
541
  }) });
553
542
  case "sketch-cancel":
554
543
  return h({ hidden: this.hideStartButton, children: this._renderAction({
555
- action: s,
544
+ action: n,
556
545
  label: i.cancelButtonLabel,
557
546
  primary: !1,
558
547
  onClick: this._onCancelButtonClick
559
548
  }) });
560
549
  case "sketch-done":
561
550
  return h({ hidden: this.hideStartButton, children: this._renderAction({
562
- action: s,
551
+ action: n,
563
552
  label: i.doneButtonLabel,
564
553
  primary: !0,
565
554
  onClick: this._onDoneButtonClick
566
555
  }) });
567
556
  case "select":
568
557
  return h({ hidden: !this._selectButtonVisible, children: this._renderAction({
569
- action: s,
558
+ action: n,
570
559
  label: i.selectButtonLabel,
571
560
  primary: !1,
572
561
  onClick: () => void this.select()
573
562
  }) });
574
563
  case "select-cancel":
575
564
  return h({ hidden: !this._selectButtonVisible, children: this._renderAction({
576
- action: s,
565
+ action: n,
577
566
  label: i.cancelButtonLabel,
578
567
  primary: !1,
579
568
  onClick: this._onCancelButtonClick
@@ -584,21 +573,21 @@ class K extends k {
584
573
  }).filter(Boolean);
585
574
  return r.length ? c`<footer class="actions">${r}</footer>` : void 0;
586
575
  }
587
- _renderAction({ action: e, label: i, onClick: r, primary: s }) {
588
- return c`<calcite-button .appearance=${s ? "solid" : "outline-fill"} class="action-button" .disabled=${e.disabled || void 0} @click=${r}>${i}</calcite-button>`;
576
+ _renderAction({ action: e, label: i, onClick: r, primary: n }) {
577
+ return c`<calcite-button .appearance=${n ? "solid" : "outline-fill"} class="action-button" .disabled=${e.disabled || void 0} @click=${r}>${i}</calcite-button>`;
589
578
  }
590
579
  }
591
580
  function h(t) {
592
581
  return t.hidden ? void 0 : t.children;
593
582
  }
594
- const p = [{ type: "select" }, { type: "sketch" }], Q = {
583
+ const p = [{ type: "select" }, { type: "sketch" }], K = {
595
584
  none: void 0,
596
585
  "no-valid-input": "noProfile",
597
586
  "no-available-profiles": "noProfile",
598
587
  "too-complex": "tooComplex",
599
588
  unknown: "unknown"
600
589
  };
601
- x("arcgis-elevation-profile", K);
590
+ x("arcgis-elevation-profile", J);
602
591
  export {
603
- K as ArcgisElevationProfile
592
+ J as ArcgisElevationProfile
604
593
  };
@@ -1,23 +1,23 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.0/LICENSE.txt */
2
- import { c as o } from "../../chunks/runtime.js";
3
- import { ref as r } from "lit/directives/ref.js";
4
- import { css as h, html as n } from "lit";
5
- import { LitElement as p, createEvent as g, nothing as l } from "@arcgis/lumina";
6
- import { V as c } from "../../chunks/visible-element.js";
7
- const d = h`:host{--arcgis-unit-select-inline-size: 180px}calcite-popover[calcite-hydrated-hidden]{inset-block-start:-999999px;inset-inline-start:-999999px}.popover-content{display:flex;flex-direction:column;gap:var(--calcite-spacing-md);padding:var(--calcite-spacing-md);max-width:300px}.uniform-chart-scaling-label{--calcite-label-margin-bottom: 0}.uniform-chart-scaling-checkbox-wrapper{width:var(--arcgis-unit-select-inline-size);flex-shrink:0}`;
8
- class m extends p {
2
+ import { c } from "../../chunks/runtime.js";
3
+ import { ref as o } from "lit/directives/ref.js";
4
+ import { css as r, html as t } from "lit";
5
+ import { LitElement as h, createEvent as p, nothing as s } from "@arcgis/lumina";
6
+ import { V as l } from "../../chunks/visible-element.js";
7
+ const g = r`:host{--arcgis-unit-select-inline-size: 180px}calcite-popover[calcite-hydrated-hidden]{inset-block-start:-999999px;inset-inline-start:-999999px}.popover-content{display:flex;flex-direction:column;gap:var(--calcite-spacing-md);padding:var(--calcite-spacing-md);max-width:300px}.uniform-chart-scaling-label{--calcite-label-margin-bottom: 0}.uniform-chart-scaling-checkbox-wrapper{width:var(--arcgis-unit-select-inline-size);flex-shrink:0}`;
8
+ class d extends h {
9
9
  constructor() {
10
10
  super(...arguments), this._onUniformChartScalingChange = (e) => {
11
11
  this.arcgisElevationProfileSettingsUniformChartScalingChange.emit(e.currentTarget.checked);
12
12
  }, this._onActionRef = (e) => {
13
13
  this._actionElement = e ?? void 0;
14
- }, this._popoverIsOpen = !1, this.hideDistanceDisplayUnitSelect = !1, this.hideElevationDisplayUnitSelect = !1, this.hideUniformChartScalingToggle = !1, this.arcgisElevationProfileSettingsUniformChartScalingChange = g();
14
+ }, this._popoverIsOpen = !1, this.hideDistanceDisplayUnitSelect = !1, this.hideElevationDisplayUnitSelect = !1, this.hideUniformChartScalingToggle = !1, this.arcgisElevationProfileSettingsUniformChartScalingChange = p();
15
15
  }
16
16
  static {
17
- this.properties = { _popoverIsOpen: 16, _actionElement: 16, analysis: 0, hideDistanceDisplayUnitSelect: 5, hideElevationDisplayUnitSelect: 5, hideUniformChartScalingToggle: 5, messages: 0, uniformChartScaling: 5, unitOptionsDistance: 0, unitOptionsElevation: 0 };
17
+ this.properties = { _popoverIsOpen: 16, _actionElement: 16, viewModel: 0, hideDistanceDisplayUnitSelect: 5, hideElevationDisplayUnitSelect: 5, hideUniformChartScalingToggle: 5, messages: 0, uniformChartScaling: 5, unitOptionsDistance: 0, unitOptionsElevation: 0 };
18
18
  }
19
19
  static {
20
- this.styles = d;
20
+ this.styles = g;
21
21
  }
22
22
  async destroy() {
23
23
  await this.manager.destroy();
@@ -33,28 +33,28 @@ class m extends p {
33
33
  if (!e || this.hideDistanceDisplayUnitSelect && this.hideElevationDisplayUnitSelect && this.hideUniformChartScalingToggle)
34
34
  return;
35
35
  const i = (this._popoverIsOpen ? e.hideSettings : e.showSettings) ?? "";
36
- return n`<calcite-action data-testid=settings-button icon=gear .text=${i} title=${i ?? l} ${r(this._onActionRef)}></calcite-action>${this._actionElement ? n`<calcite-popover auto-close .label=${i} placement=bottom-end .referenceElement=${this._actionElement} @calcitePopoverOpen=${this._onPopoverOpen} @calcitePopoverClose=${this._onPopoverClose}><div class="popover-content">${this._renderUnitSelector()}${this._renderUniformChartScalingToggle()}</div></calcite-popover>` : void 0}`;
36
+ return t`<calcite-action data-testid=settings-button icon=gear .text=${i} title=${i ?? s} ${o(this._onActionRef)}></calcite-action>${this._actionElement ? t`<calcite-popover auto-close .label=${i} placement=bottom-end .referenceElement=${this._actionElement} @calcitePopoverOpen=${this._onPopoverOpen} @calcitePopoverClose=${this._onPopoverClose}><div class="popover-content">${this._renderUnitSelector()}${this._renderUniformChartScalingToggle()}</div></calcite-popover>` : void 0}`;
37
37
  }
38
38
  _renderUnitSelector() {
39
- const { analysis: e, messages: i } = this;
39
+ const { viewModel: e, messages: i } = this;
40
40
  if (!e || this.hideDistanceDisplayUnitSelect && this.hideElevationDisplayUnitSelect)
41
41
  return;
42
- const { displayUnits: t } = e, a = "inline-space-between";
43
- return n`${c({ hidden: this.hideDistanceDisplayUnitSelect, children: n`<arcgis-unit-select .options=${this.unitOptionsDistance} .selectLabel=${i.unitDistanceSelectLabel} .value=${t.distance ?? void 0} .layout=${a} @arcgisUnitSelectChange=${(s) => {
44
- t.distance = s.detail;
45
- }}></arcgis-unit-select>` })}${c({ hidden: this.hideElevationDisplayUnitSelect, children: n`<arcgis-unit-select .options=${this.unitOptionsElevation} .selectLabel=${i.unitElevationSelectLabel} .value=${t.elevation ?? void 0} .layout=${a} @arcgisUnitSelectChange=${(s) => {
46
- t.elevation = s.detail;
42
+ const n = "inline-space-between";
43
+ return t`${l({ hidden: this.hideDistanceDisplayUnitSelect, children: t`<arcgis-unit-select .options=${this.unitOptionsDistance} .selectLabel=${i.unitDistanceSelectLabel} .value=${e.distanceUnit} .layout=${n} @arcgisUnitSelectChange=${(a) => {
44
+ e.distanceUnit = a.detail;
45
+ }}></arcgis-unit-select>` })}${l({ hidden: this.hideElevationDisplayUnitSelect, children: t`<arcgis-unit-select .options=${this.unitOptionsElevation} .selectLabel=${i.unitElevationSelectLabel} .value=${e.elevationUnit} .layout=${n} @arcgisUnitSelectChange=${(a) => {
46
+ e.elevationUnit = a.detail;
47
47
  }}></arcgis-unit-select>` })}`;
48
48
  }
49
49
  _renderUniformChartScalingToggle() {
50
- const { messages: e, hideUniformChartScalingToggle: i, uniformChartScaling: t } = this;
50
+ const { messages: e, hideUniformChartScalingToggle: i, uniformChartScaling: n } = this;
51
51
  if (i)
52
52
  return;
53
- const a = e?.[t ? "uniformChartScalingDisable" : "uniformChartScalingEnable"] ?? "";
54
- return n`<calcite-label class="uniform-chart-scaling-label" layout=inline-space-between>${e?.uniformChartScalingLabel}<div class="uniform-chart-scaling-checkbox-wrapper"><calcite-checkbox .checked=${t} title=${a ?? l} @calciteCheckboxChange=${this._onUniformChartScalingChange}></calcite-checkbox></div></calcite-label>`;
53
+ const a = e?.[n ? "uniformChartScalingDisable" : "uniformChartScalingEnable"] ?? "";
54
+ return t`<calcite-label class="uniform-chart-scaling-label" layout=inline-space-between>${e?.uniformChartScalingLabel}<div class="uniform-chart-scaling-checkbox-wrapper"><calcite-checkbox .checked=${n} title=${a ?? s} @calciteCheckboxChange=${this._onUniformChartScalingChange}></calcite-checkbox></div></calcite-label>`;
55
55
  }
56
56
  }
57
- o("arcgis-elevation-profile-settings", m);
57
+ c("arcgis-elevation-profile-settings", d);
58
58
  export {
59
- m as ArcgisElevationProfileSettings
59
+ d as ArcgisElevationProfileSettings
60
60
  };
@@ -12,17 +12,17 @@ import { substitute as A } from "@arcgis/core/intl.js";
12
12
  import { g as k, a as R, c as V, b as D, s as c, i as B, d as N } from "../../chunks/feature-utils.js";
13
13
  import P from "@arcgis/core/core/Collection.js";
14
14
  import { watch as Z } from "@arcgis/core/core/reactiveUtils.js";
15
- import { stripHTML as H } from "@arcgis/core/applications/Components/stringUtils.js";
16
- const U = w`:host{display:flex;flex:1 1 auto;background-color:var(--calcite-color-foreground-1);--calcite-color-background: var(--calcite-color-foreground-1)}.root{flex:1 1 auto}.root calcite-icon{box-sizing:content-box}.loading-container{display:flex;justify-content:center;padding:var(--calcite-spacing-md) 0;width:100%}.content-element{margin-bottom:var(--calcite-spacing-lg);padding:0 var(--calcite-spacing-sm);display:flex;flex-direction:column}.content-element:only-child,.content-element:last-child{margin-bottom:var(--calcite-spacing-xxs)}.last-edited-info{padding-top:var(--calcite-spacing-xs);font-size:var(--calcite-font-size-sm)}`, E = F(I);
15
+ import { stripHTML as E } from "@arcgis/core/applications/Components/stringUtils.js";
16
+ const H = w`:host{display:flex;flex:1 1 auto;background-color:var(--calcite-color-foreground-1);--calcite-color-background: var(--calcite-color-foreground-1)}.root{flex:1 1 auto}.root calcite-icon{box-sizing:content-box}.loading-container{display:flex;justify-content:center;padding:var(--calcite-spacing-md) 0;width:100%}.content-element{margin-bottom:var(--calcite-spacing-lg);padding:0 var(--calcite-spacing-sm);display:flex;flex-direction:column}.content-element:only-child,.content-element:last-child{margin-bottom:var(--calcite-spacing-xxs)}.last-edited-info{padding-top:var(--calcite-spacing-xs);font-size:var(--calcite-font-size-sm)}`, U = F(I);
17
17
  class z extends b {
18
18
  constructor() {
19
- super(...arguments), this.messages = M(), this._rootFlowNode = null, this.flowType = "feature", this.internalFlowItems = new P(), this.viewModel = E(this), this.view = this.viewModel.view, this.icon = "icon", this.isFeatureFromTable = this.viewModel.isFeatureFromTable, this.graphic = this.viewModel.graphic, this.defaultPopupTemplateEnabled = this.viewModel.defaultPopupTemplateEnabled, this.headingLevel = 2, this.spatialReference = this.viewModel.spatialReference, this.timeZone = this.viewModel.timeZone, this.heading = this.viewModel.title, this.map = this.viewModel.map, this.chartAnimationDisabled = this.viewModel.abilities.chartAnimation, this.hideHeading = !1, this.hideContent = !1, this.hideAttachmentsContent = !1, this.hideCustomContent = !1, this.hideExpressionContent = !1, this.hideFieldsContent = !1, this.hideMediaContent = !1, this.showRelationshipContent = !1, this.hideTextContent = !1, this.showUtilityNetworkContent = !1, this.hideLastEditedInfo = !1, this.autoDestroyDisabled = !1, this.location = this.viewModel.location, this.state = this.viewModel.state, this.arcgisPropertyChange = x()("flowItems", "state"), this.arcgisReady = _();
19
+ super(...arguments), this.messages = M(), this._rootFlowNode = null, this.flowType = "feature", this.internalFlowItems = new P(), this.viewModel = U(this), this.view = this.viewModel.view, this.icon = "icon", this.isFeatureFromTable = this.viewModel.isFeatureFromTable, this.graphic = this.viewModel.graphic, this.defaultPopupTemplateEnabled = this.viewModel.defaultPopupTemplateEnabled, this.headingLevel = 2, this.spatialReference = this.viewModel.spatialReference, this.timeZone = this.viewModel.timeZone, this.heading = this.viewModel.title, this.map = this.viewModel.map, this.chartAnimationDisabled = this.viewModel.abilities.chartAnimation, this.hideHeading = !1, this.hideContent = !1, this.hideAttachmentsContent = !1, this.hideCustomContent = !1, this.hideExpressionContent = !1, this.hideFieldsContent = !1, this.hideMediaContent = !1, this.showRelationshipContent = !1, this.hideTextContent = !1, this.showUtilityNetworkContent = !1, this.hideLastEditedInfo = !1, this.autoDestroyDisabled = !1, this.location = this.viewModel.location, this.state = this.viewModel.state, this.arcgisPropertyChange = x()("flowItems", "state"), this.arcgisReady = _();
20
20
  }
21
21
  static {
22
22
  this.properties = { flowType: 16, popupTemplate: 16, sourceLayer: 16, fieldInfoMap: 16, values: 16, globalValues: 16, internalFlowItems: 16, viewModel: 0, view: 0, flowItems: 0, referenceElement: 1, icon: 1, isFeatureFromTable: 36, graphic: 0, defaultPopupTemplateEnabled: 5, headingLevel: 9, spatialReference: 0, timeZone: 1, heading: 0, map: 0, chartAnimationDisabled: 5, hideHeading: 5, hideContent: 5, hideAttachmentsContent: 5, hideCustomContent: 5, hideExpressionContent: 5, hideFieldsContent: 5, hideMediaContent: 5, showRelationshipContent: 5, hideTextContent: 5, showUtilityNetworkContent: 5, hideLastEditedInfo: 5, autoDestroyDisabled: 5, messageOverrides: 0, label: 1, location: 0, state: 32 };
23
23
  }
24
24
  static {
25
- this.styles = U;
25
+ this.styles = H;
26
26
  }
27
27
  get popupTemplate() {
28
28
  return k(this.graphic, this.defaultPopupTemplateEnabled) ?? void 0;
@@ -182,7 +182,7 @@ class z extends b {
182
182
  layer: s,
183
183
  text: e.description
184
184
  });
185
- return n`<arcgis-feature-utility-network-associations .associationTypes=${e.associationTypes} class="content-element" .description=${d} .flowItems=${this.flowItems ?? this.internalFlowItems} .graphic=${o ?? void 0} .heading=${l} .headingLevel=${this.headingLevel} .layer=${s} .map=${this.map ?? void 0} .messages=${a} .parentFeatureViewModel=${this.viewModel} .spatialReference=${this.spatialReference ?? void 0} .timeZone=${this.timeZone ?? void 0} .view=${this.viewModel.view ?? void 0}></arcgis-feature-utility-network-associations>`;
185
+ return n`<arcgis-feature-utility-network-associations .associationTypes=${e.associationTypes} class="content-element" .description=${d} .flowItems=${this.flowItems ?? this.internalFlowItems} .graphic=${o ?? void 0} .heading=${l} .headingLevel=${this.headingLevel} .layer=${s} .map=${this.map ?? void 0} .messages=${a} .parentFeatureViewModel=${this.viewModel} .referenceElement=${this.referenceElement} .spatialReference=${this.spatialReference ?? void 0} .timeZone=${this.timeZone ?? void 0} .view=${this.viewModel.view ?? void 0}></arcgis-feature-utility-network-associations>`;
186
186
  }
187
187
  _renderContentElement(e, t) {
188
188
  switch (e.type) {
@@ -215,7 +215,7 @@ class z extends b {
215
215
  if (e)
216
216
  return null;
217
217
  const s = n`<div class="main">${[this._renderContent(), this._renderLastEditInfo()]}</div>`, r = a.returnToInitialFeature ?? "";
218
- return this.flowItems ? s : n`<calcite-flow ${y(this._storeRootFlowNode)}><calcite-flow-item .loading=${o === "loading"} .headingLevel=${i} .heading=${this.hideHeading ? void 0 : H(this.heading)} .selected=${!t.length}>${s}</calcite-flow-item>${t.toArray().map((l, d) => n`<calcite-flow-item @calciteFlowItemBack=${(h) => {
218
+ return this.flowItems ? s : n`<calcite-flow ${y(this._storeRootFlowNode)}><calcite-flow-item .loading=${o === "loading"} .headingLevel=${i} .heading=${this.hideHeading ? void 0 : E(this.heading)} .selected=${!t.length}>${s}</calcite-flow-item>${t.toArray().map((l, d) => n`<calcite-flow-item @calciteFlowItemBack=${(h) => {
219
219
  h.preventDefault(), this._handleDrillInBackClick();
220
220
  }} .loading=${o === "loading"} .headingLevel=${i} .selected=${d === t.length - 1}><calcite-action icon=move-up @click=${this._removeFlowItems} slot=header-actions-start .text=${r} title=${r ?? L}></calcite-action>${l}</calcite-flow-item>`)}</calcite-flow>`;
221
221
  }