@arcgis/map-components 5.0.0-next.5 → 5.0.0-next.50

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 (731) hide show
  1. package/dist/cdn/22EJFQA3.js +4 -0
  2. package/dist/cdn/{QQ7NXCBU.js → 2552S7TN.js} +2 -2
  3. package/dist/cdn/{A7BICR4O.js → 2CDBOTOD.js} +2 -2
  4. package/dist/cdn/2FFCR3WK.js +4 -0
  5. package/dist/cdn/{FON2DRNE.js → 2KHTCDTT.js} +2 -2
  6. package/dist/cdn/2MAXVAYG.js +4 -0
  7. package/dist/cdn/2QPPR4SF.js +4 -0
  8. package/dist/cdn/2X3QZJ2G.js +4 -0
  9. package/dist/cdn/34SUNVNN.js +4 -0
  10. package/dist/cdn/3EKEVDCN.js +4 -0
  11. package/dist/cdn/3GM4UCRN.js +4 -0
  12. package/dist/cdn/{B3BDZMK4.js → 3JD6NDKX.js} +2 -2
  13. package/dist/cdn/{DK6N3VRZ.js → 3LF246WI.js} +2 -2
  14. package/dist/cdn/3M2UECAM.js +4 -0
  15. package/dist/cdn/{5RONE6G5.js → 3RYCCDWO.js} +2 -2
  16. package/dist/cdn/3SHZ222B.js +4 -0
  17. package/dist/cdn/47EDHC6U.js +4 -0
  18. package/dist/cdn/4DEHSIZC.js +4 -0
  19. package/dist/cdn/4ONELZYV.js +4 -0
  20. package/dist/cdn/{A2W2SQO4.js → 4YDCZM2V.js} +2 -2
  21. package/dist/cdn/{H3LWJIDF.js → 5F3ZBBNJ.js} +2 -2
  22. package/dist/cdn/5IWKMLAS.js +4 -0
  23. package/dist/cdn/5MBFHIAX.js +4 -0
  24. package/dist/cdn/{PD2HATHB.js → 5O3WPUFV.js} +2 -2
  25. package/dist/cdn/5VKCHFDP.js +4 -0
  26. package/dist/cdn/{466INVOH.js → 646M3XKC.js} +2 -2
  27. package/dist/cdn/{F26G26OG.js → 65TFIVRA.js} +2 -2
  28. package/dist/cdn/{6P4FNYFK.js → 66UL2VHD.js} +2 -2
  29. package/dist/cdn/6GDJV2BR.js +4 -0
  30. package/dist/cdn/6I3V6MNF.js +4 -0
  31. package/dist/cdn/6LVRO4RA.js +4 -0
  32. package/dist/cdn/{IURKMZB2.js → 6OY6X4HM.js} +2 -2
  33. package/dist/cdn/{34OUIPI6.js → 7FCMAEXM.js} +2 -2
  34. package/dist/cdn/7N5LDFPW.js +4 -0
  35. package/dist/cdn/{U3KXM6JN.js → 7NL3RPF3.js} +1 -1
  36. package/dist/cdn/{UTKHOHKS.js → 7POX3S4I.js} +2 -2
  37. package/dist/cdn/7V7S7CCH.js +4 -0
  38. package/dist/cdn/7YY657FV.js +4 -0
  39. package/dist/cdn/7ZZWMYJZ.js +4 -0
  40. package/dist/cdn/{PHS7UW45.js → A2DJ5QV6.js} +2 -2
  41. package/dist/cdn/AQQ4IJSA.js +4 -0
  42. package/dist/cdn/{RQIUPQN4.js → B6EYKL3W.js} +2 -2
  43. package/dist/cdn/{YA5LAKIG.js → BPFCVN3N.js} +2 -2
  44. package/dist/cdn/{PIH3NRT7.js → BSCK636J.js} +2 -2
  45. package/dist/cdn/BUIGWZLN.js +4 -0
  46. package/dist/cdn/BXFTYU6B.js +4 -0
  47. package/dist/cdn/{4TPCMFWZ.js → C2S5Q3QQ.js} +2 -2
  48. package/dist/cdn/{WVWW5FTO.js → C5V56QB2.js} +2 -2
  49. package/dist/cdn/C5WDTNGW.js +4 -0
  50. package/dist/cdn/{AWI3K6XR.js → CIZFZWAM.js} +2 -2
  51. package/dist/cdn/CSZZU2SN.js +4 -0
  52. package/dist/cdn/{E734O7ZN.js → D5MKLTGH.js} +2 -2
  53. package/dist/cdn/{NCDGWPV7.js → D7LBTUJD.js} +2 -2
  54. package/dist/cdn/{I52NZLXX.js → DE3HGA3W.js} +2 -2
  55. package/dist/cdn/DGUQLDGC.js +4 -0
  56. package/dist/cdn/DSANSYU7.js +4 -0
  57. package/dist/cdn/{Y5ECN5RN.js → DVQS46GU.js} +2 -2
  58. package/dist/cdn/E3NALOTD.js +4 -0
  59. package/dist/cdn/E5IDX7Q3.js +4 -0
  60. package/dist/cdn/{4LHPWTSQ.js → E6FF6DBL.js} +2 -2
  61. package/dist/cdn/{QJQTAHNS.js → EE55ZK2A.js} +2 -2
  62. package/dist/cdn/EGGL7Z2R.js +4 -0
  63. package/dist/cdn/EHDTMDN6.js +4 -0
  64. package/dist/cdn/EIF252V6.js +4 -0
  65. package/dist/cdn/{FENOD7H6.js → EMPVEOEM.js} +2 -2
  66. package/dist/cdn/EPHCA6YC.js +4 -0
  67. package/dist/cdn/{V27L2ZBV.js → ETZYF4HD.js} +2 -2
  68. package/dist/cdn/F6EXNNGE.js +4 -0
  69. package/dist/cdn/FCPYVACN.js +4 -0
  70. package/dist/cdn/FD66EEY3.js +4 -0
  71. package/dist/cdn/{IN4RK6U7.js → FGRQ5OJY.js} +2 -2
  72. package/dist/cdn/FJJF7IY7.js +4 -0
  73. package/dist/cdn/{XSRIC2UT.js → FKN5F5DP.js} +2 -2
  74. package/dist/cdn/FRPECK4L.js +4 -0
  75. package/dist/cdn/G2GICTH7.js +4 -0
  76. package/dist/cdn/{AEQ2EA5V.js → G4MNRG5J.js} +2 -2
  77. package/dist/cdn/{6TR3C4W7.js → G4UI7FTV.js} +2 -2
  78. package/dist/cdn/G5DPKPMX.js +4 -0
  79. package/dist/cdn/G5UU3U7V.js +4 -0
  80. package/dist/cdn/GDK2O7ML.js +4 -0
  81. package/dist/cdn/{AFQCY6M5.js → GIHSIKR7.js} +2 -2
  82. package/dist/cdn/GMWNUBMY.js +4 -0
  83. package/dist/cdn/{LUGLNVKJ.js → GSPTV7LS.js} +2 -2
  84. package/dist/cdn/GWH6CLMG.js +4 -0
  85. package/dist/cdn/H3HX4U4A.js +4 -0
  86. package/dist/cdn/H6KX7BI6.js +4 -0
  87. package/dist/cdn/H7Z7Q333.js +4 -0
  88. package/dist/cdn/HHHVEKPC.js +4 -0
  89. package/dist/cdn/HLDCLA6W.js +4 -0
  90. package/dist/cdn/HNLZKWMD.js +4 -0
  91. package/dist/cdn/{REQDDBVN.js → HNN7ILDY.js} +1 -1
  92. package/dist/cdn/HUVVO7RV.js +4 -0
  93. package/dist/cdn/HYL7OPOR.js +4 -0
  94. package/dist/cdn/I34RGBR7.js +4 -0
  95. package/dist/cdn/IBE4RYG7.js +4 -0
  96. package/dist/cdn/IEILJ3IG.js +4 -0
  97. package/dist/cdn/{3BKVP63O.js → IGGOQYSO.js} +2 -2
  98. package/dist/cdn/{ZXFC3OPO.js → IJRWPAVO.js} +2 -2
  99. package/dist/cdn/INKCXO6L.js +4 -0
  100. package/dist/cdn/{ZQLSVPWL.js → INNHOO4N.js} +2 -2
  101. package/dist/cdn/{UEGRTPH3.js → IWBEDREE.js} +2 -2
  102. package/dist/cdn/IYQA6UQT.js +4 -0
  103. package/dist/cdn/{FRWCQ2AN.js → J3S54ODM.js} +1 -1
  104. package/dist/cdn/{UODLYZYS.js → J7NVMVYP.js} +2 -2
  105. package/dist/cdn/JAVUSUSN.js +4 -0
  106. package/dist/cdn/JAY4MRTJ.js +4 -0
  107. package/dist/cdn/JVJ5EIWH.js +4 -0
  108. package/dist/cdn/K6AAGZWM.js +4 -0
  109. package/dist/cdn/KBPU7HBF.js +4 -0
  110. package/dist/cdn/{UL7MLQKU.js → KDHKRP7Y.js} +2 -2
  111. package/dist/cdn/KF2NRWDA.js +4 -0
  112. package/dist/cdn/KX53I3PU.js +4 -0
  113. package/dist/cdn/{R47O2BDP.js → KXGPSCU3.js} +2 -2
  114. package/dist/cdn/KYNVUKEO.js +4 -0
  115. package/dist/cdn/{WK5SF3NM.js → KZP4ZJO4.js} +2 -2
  116. package/dist/cdn/L5CJKTGE.js +4 -0
  117. package/dist/cdn/{TUU22AO6.js → LVTLDQRA.js} +2 -2
  118. package/dist/cdn/M4EPETKM.js +4 -0
  119. package/dist/cdn/MDP2QMXY.js +4 -0
  120. package/dist/cdn/MFZDBUW2.js +4 -0
  121. package/dist/cdn/{Q6JTY2DJ.js → MOKYAZ5A.js} +1 -1
  122. package/dist/cdn/MVJOS6OA.js +4 -0
  123. package/dist/cdn/MWUCMJ2C.js +4 -0
  124. package/dist/cdn/N4AQOI5W.js +4 -0
  125. package/dist/cdn/{O7W3JZFF.js → NAPKZQSB.js} +2 -2
  126. package/dist/cdn/{X2P2BANB.js → NBW76VEY.js} +2 -2
  127. package/dist/cdn/NBWMRH5T.js +5 -0
  128. package/dist/cdn/NFO3P3SG.js +4 -0
  129. package/dist/cdn/NG2OOWKJ.js +4 -0
  130. package/dist/cdn/{UNORCWD2.js → NQQ4X5LJ.js} +2 -2
  131. package/dist/cdn/NSGVZY5H.js +4 -0
  132. package/dist/cdn/{C7DCQBPT.js → NWJNICMV.js} +2 -2
  133. package/dist/cdn/{RYP3YAQU.js → O5AGD4Q2.js} +2 -2
  134. package/dist/cdn/{HNRGCE2E.js → OCQRHJGG.js} +2 -2
  135. package/dist/cdn/OPVOXCXP.js +4 -0
  136. package/dist/cdn/OR3JXZIY.js +4 -0
  137. package/dist/cdn/{PQFM7YFO.js → OSDRTOSG.js} +2 -2
  138. package/dist/cdn/{3LTZOKPZ.js → P4QDKFSO.js} +1 -1
  139. package/dist/cdn/PC4KI623.js +4 -0
  140. package/dist/cdn/PCUP3GVD.js +4 -0
  141. package/dist/cdn/{6DTQPNPV.js → PGFTK4XG.js} +2 -2
  142. package/dist/cdn/PH52RU2E.js +4 -0
  143. package/dist/cdn/{EBH3NORE.js → PRWYOY6V.js} +2 -2
  144. package/dist/cdn/{4J7UXW4V.js → PVIU5CKI.js} +1 -1
  145. package/dist/cdn/{VFF44TJ6.js → PW64HQIJ.js} +2 -2
  146. package/dist/cdn/{JY63CMAB.js → Q24AASG2.js} +2 -2
  147. package/dist/cdn/{B4YSX2BI.js → Q26EAKYK.js} +1 -1
  148. package/dist/cdn/Q3OGWCHR.js +4 -0
  149. package/dist/cdn/Q4RFATVD.js +4 -0
  150. package/dist/cdn/Q77ZJGUY.js +4 -0
  151. package/dist/cdn/{ZXUX6MFW.js → QD3TTLK7.js} +2 -2
  152. package/dist/cdn/{J6KG2Z45.js → QIEEG657.js} +2 -2
  153. package/dist/cdn/QQFFFD5W.js +4 -0
  154. package/dist/cdn/{ADXVD42H.js → QRJTASDQ.js} +2 -2
  155. package/dist/cdn/QX4XNWPY.js +4 -0
  156. package/dist/cdn/QXB4K6I3.js +4 -0
  157. package/dist/cdn/{7BBQPJCM.js → RCG3NDM4.js} +2 -2
  158. package/dist/cdn/{C63TPNGG.js → RESL63EF.js} +2 -2
  159. package/dist/cdn/{Q3ICPLQZ.js → RPEBP4JY.js} +2 -2
  160. package/dist/cdn/{GRCPMP5I.js → S4URGOCU.js} +2 -2
  161. package/dist/cdn/S53PYRAV.js +4 -0
  162. package/dist/cdn/SETGZM6K.js +4 -0
  163. package/dist/cdn/SMFYDVY4.js +4 -0
  164. package/dist/cdn/{C3PGIIHL.js → SQALZT73.js} +2 -2
  165. package/dist/cdn/{HQRMKPHR.js → SSE3UXIJ.js} +2 -2
  166. package/dist/cdn/STFNXGNF.js +4 -0
  167. package/dist/cdn/{AN73DPMU.js → SVL5D73B.js} +1 -1
  168. package/dist/cdn/T4JL6JM7.js +4 -0
  169. package/dist/cdn/{OR5HVPGI.js → T4O44H5O.js} +2 -2
  170. package/dist/cdn/TAZP7HOH.js +4 -0
  171. package/dist/cdn/{WAQVWOOL.js → THO5FW3Z.js} +2 -2
  172. package/dist/cdn/TIHDAREN.js +4 -0
  173. package/dist/cdn/{LUIM6R3C.js → TIKJZVKU.js} +2 -2
  174. package/dist/cdn/TNNTYOKT.js +4 -0
  175. package/dist/cdn/TR5KANC7.js +4 -0
  176. package/dist/cdn/{BXK33PBZ.js → TUSRIHUK.js} +1 -1
  177. package/dist/cdn/TZJWH436.js +4 -0
  178. package/dist/cdn/U6KQSKUM.js +4 -0
  179. package/dist/cdn/UBSQLMCM.js +9 -0
  180. package/dist/cdn/{GIBKNUFW.js → UBYRQTVD.js} +2 -2
  181. package/dist/cdn/UEQKP7ER.js +4 -0
  182. package/dist/cdn/{A7EK4YU5.js → UFHIQCA7.js} +2 -2
  183. package/dist/cdn/UHYBCCWR.js +4 -0
  184. package/dist/cdn/{VSZ6MWHR.js → UL2A42VF.js} +2 -2
  185. package/dist/cdn/{5PSO47CO.js → UM7JKW3A.js} +2 -2
  186. package/dist/cdn/UPAOBJRF.js +4 -0
  187. package/dist/cdn/{I6QIB7JC.js → UTGU63V4.js} +2 -2
  188. package/dist/cdn/V3ARDBG4.js +4 -0
  189. package/dist/cdn/VFQLMQ77.js +4 -0
  190. package/dist/cdn/VINTC2MB.js +4 -0
  191. package/dist/cdn/VJIWITUJ.js +4 -0
  192. package/dist/cdn/VMZIMSUB.js +4 -0
  193. package/dist/cdn/{WQTDRNT3.js → VSVCPTPZ.js} +2 -2
  194. package/dist/cdn/VTLBT44Y.js +4 -0
  195. package/dist/cdn/{L5R3WRXO.js → VZOXMFQJ.js} +2 -2
  196. package/dist/cdn/{B3TRMHSU.js → W5ICVIVH.js} +2 -2
  197. package/dist/cdn/W7SKQWJO.js +4 -0
  198. package/dist/cdn/WGGM6PEB.js +4 -0
  199. package/dist/cdn/{TRGKRUEY.js → WH6NRJUB.js} +2 -2
  200. package/dist/cdn/{66XP7ISP.js → WJ322XM2.js} +2 -2
  201. package/dist/cdn/WM3GRNHB.js +4 -0
  202. package/dist/cdn/{M57KTCMF.js → WQUXOJ6K.js} +2 -2
  203. package/dist/cdn/WT77ZKLM.js +4 -0
  204. package/dist/cdn/X43CYNQI.js +4 -0
  205. package/dist/cdn/X4HK55ZN.js +4 -0
  206. package/dist/cdn/XAWGK42X.js +4 -0
  207. package/dist/cdn/XEMZO4M7.js +4 -0
  208. package/dist/cdn/XEXGUQSP.js +4 -0
  209. package/dist/cdn/{LHZIRPAB.js → XJFCWOTP.js} +2 -2
  210. package/dist/cdn/XQASFJWZ.js +4 -0
  211. package/dist/cdn/{5AFYPDDT.js → XQJD2O4Y.js} +2 -2
  212. package/dist/cdn/XS4A64DB.js +4 -0
  213. package/dist/cdn/{ZG5YI3R5.js → XWSUHUY3.js} +2 -2
  214. package/dist/cdn/XYZK654D.js +4 -0
  215. package/dist/cdn/YCA7PPCW.js +4 -0
  216. package/dist/cdn/YCTLI7T4.js +4 -0
  217. package/dist/cdn/YJKIV3ZU.js +4 -0
  218. package/dist/cdn/YP7WQYDY.js +4 -0
  219. package/dist/cdn/{LPV53QOR.js → YSD2GY77.js} +2 -2
  220. package/dist/cdn/{VX7UD4NL.js → YUYTDDAR.js} +1 -1
  221. package/dist/cdn/{HBH2NXCY.js → YVMAHJVO.js} +2 -2
  222. package/dist/cdn/YYVGPHDO.js +4 -0
  223. package/dist/cdn/ZCYVKR6L.js +4 -0
  224. package/dist/cdn/ZFGSORSH.js +4 -0
  225. package/dist/cdn/ZUFGJ4KN.js +4 -0
  226. package/dist/cdn/assets/area-measurement-2d/t9n/messages.en.json +1 -1
  227. package/dist/cdn/assets/elevation-profile/t9n/messages.en.json +1 -0
  228. package/dist/cdn/assets/feature/t9n/messages.en.json +1 -1
  229. package/dist/cdn/assets/utility-network-subnetwork-info/t9n/messages.en.json +1 -0
  230. package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.en.json +1 -1
  231. package/dist/cdn/assets/utility-network-trace-location/t9n/messages.en.json +1 -0
  232. package/dist/cdn/assets/utility-network-trace-location-list/t9n/messages.en.json +1 -0
  233. package/dist/cdn/assets/volume-measurement/t9n/messages.en.json +1 -0
  234. package/dist/cdn/assets/weather/t9n/messages.en.json +1 -1
  235. package/dist/cdn/index.js +2 -2
  236. package/dist/cdn/main.css +1 -1
  237. package/dist/chunks/AnalysisViewModel.js +42 -38
  238. package/dist/chunks/action-utils.js +2 -2
  239. package/dist/chunks/async-utils.js +79 -61
  240. package/dist/chunks/basemap-gallery-resources.js +1 -1
  241. package/dist/chunks/chart-utils.js +1 -1
  242. package/dist/chunks/chartCommon.js +1 -1
  243. package/dist/chunks/component-utils.js +1 -1
  244. package/dist/chunks/createCloseEvent.js +1 -1
  245. package/dist/chunks/esri-main.js +2 -2
  246. package/dist/chunks/feature-utils.js +152 -107
  247. package/dist/chunks/globalCss.js +1 -1
  248. package/dist/chunks/handle.js +14 -0
  249. package/dist/chunks/heading.js +1 -1
  250. package/dist/chunks/layer-list.js +1 -1
  251. package/dist/chunks/legacyIcon.js +1 -1
  252. package/dist/chunks/maybe.js +1 -1
  253. package/dist/chunks/measurementUtils.js +24 -10
  254. package/dist/chunks/runtime.js +1 -1
  255. package/dist/chunks/screenLocation.js +1 -1
  256. package/dist/chunks/slots.js +5 -5
  257. package/dist/chunks/svgUtils.js +1 -1
  258. package/dist/chunks/univariateUtils.js +1 -1
  259. package/dist/chunks/useArcgisViewReadyError.js +91 -0
  260. package/dist/chunks/useHandles.js +1 -1
  261. package/dist/chunks/useT9n.js +1 -1
  262. package/dist/chunks/useView.js +1 -1
  263. package/dist/chunks/useViewModel.js +1 -1
  264. package/dist/chunks/useWidget.js +1 -1
  265. package/dist/chunks/utils.js +11 -16
  266. package/dist/chunks/utils2.js +1 -1
  267. package/dist/chunks/visible-element.js +9 -0
  268. package/dist/components/arcgis-area-measurement-2d/AreaMeasurement2dViewModel.d.ts +40 -0
  269. package/dist/components/arcgis-area-measurement-2d/customElement.d.ts +71 -55
  270. package/dist/components/arcgis-area-measurement-2d/customElement.js +131 -19
  271. package/dist/components/arcgis-area-measurement-2d/index.d.ts +3 -0
  272. package/dist/components/arcgis-area-measurement-2d/index.js +3 -0
  273. package/dist/components/arcgis-area-measurement-3d/AreaMeasurement3dViewModel.d.ts +10 -10
  274. package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +3 -3
  275. package/dist/components/arcgis-area-measurement-3d/customElement.js +31 -32
  276. package/dist/components/arcgis-attachments/customElement.d.ts +6 -6
  277. package/dist/components/arcgis-attachments/customElement.js +6 -6
  278. package/dist/components/arcgis-basemap-gallery/customElement.d.ts +4 -4
  279. package/dist/components/arcgis-basemap-gallery/customElement.js +1 -1
  280. package/dist/components/arcgis-basemap-gallery-item/customElement.js +4 -4
  281. package/dist/components/arcgis-basemap-layer-list/customElement.d.ts +5 -5
  282. package/dist/components/arcgis-basemap-layer-list/customElement.js +1 -1
  283. package/dist/components/arcgis-basemap-toggle/customElement.d.ts +4 -4
  284. package/dist/components/arcgis-basemap-toggle/customElement.js +1 -1
  285. package/dist/components/arcgis-bookmarks/customElement.d.ts +17 -7
  286. package/dist/components/arcgis-bookmarks/customElement.js +57 -55
  287. package/dist/components/arcgis-building-explorer/customElement.d.ts +5 -5
  288. package/dist/components/arcgis-building-explorer/customElement.js +1 -1
  289. package/dist/components/arcgis-catalog-layer-list/customElement.d.ts +5 -5
  290. package/dist/components/arcgis-catalog-layer-list/customElement.js +1 -1
  291. package/dist/components/arcgis-compass/customElement.d.ts +4 -4
  292. package/dist/components/arcgis-compass/customElement.js +6 -6
  293. package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +55 -56
  294. package/dist/components/arcgis-coordinate-conversion/customElement.js +91 -82
  295. package/dist/components/arcgis-daylight/customElement.d.ts +119 -56
  296. package/dist/components/arcgis-daylight/customElement.js +158 -160
  297. package/dist/components/arcgis-daylight/index.d.ts +1 -0
  298. package/dist/components/arcgis-daylight/index.js +1 -0
  299. package/dist/components/arcgis-direct-line-measurement-3d/DirectLineMeasurement3dViewModel.d.ts +11 -11
  300. package/dist/components/arcgis-direct-line-measurement-3d/customElement.d.ts +3 -13
  301. package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +43 -51
  302. package/dist/components/arcgis-directional-pad/customElement.d.ts +3 -3
  303. package/dist/components/arcgis-directional-pad/customElement.js +2 -2
  304. package/dist/components/arcgis-directions/customElement.d.ts +4 -4
  305. package/dist/components/arcgis-directions/customElement.js +1 -1
  306. package/dist/components/arcgis-distance-measurement-2d/DistanceMeasurement2dViewModel.d.ts +39 -0
  307. package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +70 -51
  308. package/dist/components/arcgis-distance-measurement-2d/customElement.js +126 -16
  309. package/dist/components/arcgis-distance-measurement-2d/index.d.ts +3 -0
  310. package/dist/components/arcgis-distance-measurement-2d/index.js +3 -0
  311. package/dist/components/arcgis-editor/customElement.d.ts +29 -7
  312. package/dist/components/arcgis-editor/customElement.js +4 -4
  313. package/dist/components/{arcgis-elevation-profile-next → arcgis-elevation-profile}/ElevationProfileViewModel.d.ts +30 -19
  314. package/dist/components/arcgis-elevation-profile/customElement.d.ts +192 -79
  315. package/dist/components/arcgis-elevation-profile/customElement.js +576 -16
  316. package/dist/components/{arcgis-elevation-profile-next → arcgis-elevation-profile}/geometryUtils.d.ts +1 -1
  317. package/dist/components/arcgis-elevation-profile/index.d.ts +5 -0
  318. package/dist/components/arcgis-elevation-profile/index.js +5 -0
  319. package/dist/components/{arcgis-elevation-profile-next → arcgis-elevation-profile}/interfaces.d.ts +2 -11
  320. package/dist/components/arcgis-elevation-profile-legend/customElement.d.ts +5 -2
  321. package/dist/components/arcgis-elevation-profile-legend/customElement.js +11 -11
  322. package/dist/components/arcgis-elevation-profile-legend-item/customElement.d.ts +5 -2
  323. package/dist/components/arcgis-elevation-profile-legend-item/customElement.js +18 -15
  324. package/dist/components/arcgis-elevation-profile-settings/customElement.d.ts +1 -1
  325. package/dist/components/arcgis-elevation-profile-settings/customElement.js +1 -1
  326. package/dist/components/arcgis-elevation-profile-statistics/customElement.d.ts +3 -2
  327. package/dist/components/arcgis-elevation-profile-statistics/customElement.js +6 -6
  328. package/dist/components/arcgis-expand/ExpandViewModel.d.ts +48 -0
  329. package/dist/components/arcgis-expand/customElement.d.ts +13 -12
  330. package/dist/components/arcgis-expand/customElement.js +152 -45
  331. package/dist/components/arcgis-feature/customElement.d.ts +20 -24
  332. package/dist/components/arcgis-feature/customElement.js +90 -77
  333. package/dist/components/arcgis-feature/index.d.ts +1 -0
  334. package/dist/components/arcgis-feature/index.js +1 -0
  335. package/dist/components/arcgis-feature-attachments/customElement.js +1 -1
  336. package/dist/components/arcgis-feature-content/customElement.js +2 -2
  337. package/dist/components/arcgis-feature-element-info/customElement.js +1 -1
  338. package/dist/components/arcgis-feature-expression/customElement.js +1 -1
  339. package/dist/components/arcgis-feature-fields/customElement.d.ts +4 -0
  340. package/dist/components/arcgis-feature-fields/customElement.js +36 -32
  341. package/dist/components/arcgis-feature-form/customElement.d.ts +4 -4
  342. package/dist/components/arcgis-feature-form/customElement.js +2 -2
  343. package/dist/components/arcgis-feature-media/customElement.d.ts +1 -2
  344. package/dist/components/arcgis-feature-media/customElement.js +179 -178
  345. package/dist/components/arcgis-feature-relationship/customElement.js +1 -1
  346. package/dist/components/arcgis-feature-table/customElement.d.ts +11 -10
  347. package/dist/components/arcgis-feature-table/customElement.js +1 -1
  348. package/dist/components/arcgis-feature-templates/customElement.d.ts +3 -3
  349. package/dist/components/arcgis-feature-templates/customElement.js +1 -1
  350. package/dist/components/arcgis-feature-utility-network-association-list/customElement.d.ts +23 -0
  351. package/dist/components/arcgis-feature-utility-network-association-list/customElement.js +123 -0
  352. package/dist/components/arcgis-feature-utility-network-association-list/index.d.ts +8 -0
  353. package/dist/components/arcgis-feature-utility-network-association-list/index.js +8 -0
  354. package/dist/components/arcgis-feature-utility-network-associations/customElement.d.ts +73 -0
  355. package/dist/components/arcgis-feature-utility-network-associations/customElement.js +506 -0
  356. package/dist/components/{arcgis-print-exported-link → arcgis-feature-utility-network-associations}/index.d.ts +4 -3
  357. package/dist/components/{arcgis-print-exported-link → arcgis-feature-utility-network-associations}/index.js +4 -3
  358. package/dist/components/arcgis-features/customElement.d.ts +29 -14
  359. package/dist/components/arcgis-features/customElement.js +8 -8
  360. package/dist/components/arcgis-floor-filter/customElement.d.ts +4 -4
  361. package/dist/components/arcgis-floor-filter/customElement.js +7 -7
  362. package/dist/components/arcgis-fullscreen/customElement.d.ts +1 -1
  363. package/dist/components/arcgis-fullscreen/customElement.js +2 -2
  364. package/dist/components/arcgis-grid-controls/customElement.d.ts +4 -4
  365. package/dist/components/arcgis-grid-controls/customElement.js +1 -1
  366. package/dist/components/arcgis-histogram-range-slider/customElement.d.ts +3 -3
  367. package/dist/components/arcgis-histogram-range-slider/customElement.js +1 -1
  368. package/dist/components/arcgis-home/customElement.d.ts +4 -4
  369. package/dist/components/arcgis-home/customElement.js +2 -2
  370. package/dist/components/arcgis-labeled-switch/customElement.js +1 -1
  371. package/dist/components/arcgis-layer-list/customElement.d.ts +5 -5
  372. package/dist/components/arcgis-layer-list/customElement.js +1 -1
  373. package/dist/components/arcgis-layer-list-item/customElement.js +1 -1
  374. package/dist/components/arcgis-legend/customElement.d.ts +19 -4
  375. package/dist/components/arcgis-legend/customElement.js +1 -1
  376. package/dist/components/arcgis-legend-card-color-ramp/customElement.js +1 -1
  377. package/dist/components/arcgis-legend-card-element/customElement.js +1 -1
  378. package/dist/components/arcgis-legend-card-size-ramp/customElement.js +1 -1
  379. package/dist/components/arcgis-legend-card-univariate-above-and-below-ramp/customElement.js +12 -12
  380. package/dist/components/arcgis-legend-card-univariate-color-size-ramp/customElement.js +9 -9
  381. package/dist/components/arcgis-legend-card-view/customElement.js +1 -1
  382. package/dist/components/arcgis-legend-classic-color-ramp/customElement.js +10 -10
  383. package/dist/components/arcgis-legend-classic-element/customElement.js +1 -1
  384. package/dist/components/arcgis-legend-classic-size-ramp/customElement.js +1 -1
  385. package/dist/components/arcgis-legend-classic-univariate-above-and-below-ramp/customElement.js +5 -5
  386. package/dist/components/arcgis-legend-classic-univariate-color-size-ramp/customElement.js +9 -9
  387. package/dist/components/arcgis-legend-classic-view/customElement.js +1 -1
  388. package/dist/components/arcgis-legend-relationship-ramp/customElement.js +1 -1
  389. package/dist/components/arcgis-legend-spike-ramp/customElement.js +4 -4
  390. package/dist/components/arcgis-line-of-sight/customElement.d.ts +3 -3
  391. package/dist/components/arcgis-line-of-sight/customElement.js +28 -27
  392. package/dist/components/arcgis-link-chart/customElement.d.ts +73 -8
  393. package/dist/components/arcgis-link-chart/customElement.js +22 -27
  394. package/dist/components/arcgis-link-chart-layout-switcher/customElement.d.ts +4 -4
  395. package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +1 -1
  396. package/dist/components/arcgis-locate/customElement.d.ts +2 -2
  397. package/dist/components/arcgis-locate/customElement.js +3 -3
  398. package/dist/components/arcgis-map/customElement.d.ts +479 -64
  399. package/dist/components/arcgis-map/customElement.js +28 -33
  400. package/dist/components/arcgis-measurement/customElement.d.ts +4 -4
  401. package/dist/components/arcgis-measurement/customElement.js +1 -1
  402. package/dist/components/arcgis-measurement-content/customElement.d.ts +2 -0
  403. package/dist/components/arcgis-measurement-content/customElement.js +25 -34
  404. package/dist/components/arcgis-measurement-content/index.d.ts +1 -0
  405. package/dist/components/arcgis-measurement-content/index.js +1 -0
  406. package/dist/components/arcgis-navigation-toggle/customElement.d.ts +14 -2
  407. package/dist/components/arcgis-navigation-toggle/customElement.js +11 -8
  408. package/dist/components/arcgis-oriented-imagery-viewer/customElement.d.ts +5 -5
  409. package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +2 -2
  410. package/dist/components/arcgis-placement/customElement.d.ts +2 -2
  411. package/dist/components/arcgis-placement/customElement.js +1 -1
  412. package/dist/components/arcgis-popup/customElement.d.ts +43 -10
  413. package/dist/components/arcgis-popup/customElement.js +8 -5
  414. package/dist/components/arcgis-print/customElement.d.ts +22 -6
  415. package/dist/components/arcgis-print/customElement.js +22 -19
  416. package/dist/components/arcgis-print/utils.d.ts +1 -2
  417. package/dist/components/arcgis-print-custom-text-elements/customElement.js +1 -1
  418. package/dist/components/arcgis-print-dpi-input/customElement.js +1 -1
  419. package/dist/components/arcgis-print-export-button/customElement.js +1 -1
  420. package/dist/components/arcgis-print-exports-panel/customElement.d.ts +2 -2
  421. package/dist/components/arcgis-print-exports-panel/customElement.js +75 -18
  422. package/dist/components/arcgis-print-exports-panel/index.d.ts +4 -1
  423. package/dist/components/arcgis-print-exports-panel/index.js +4 -1
  424. package/dist/components/arcgis-print-format-select/customElement.js +15 -16
  425. package/dist/components/arcgis-print-layout-advanced-options/customElement.d.ts +2 -0
  426. package/dist/components/arcgis-print-layout-advanced-options/customElement.js +22 -20
  427. package/dist/components/arcgis-print-layout-panel/customElement.d.ts +4 -0
  428. package/dist/components/arcgis-print-layout-panel/customElement.js +18 -19
  429. package/dist/components/arcgis-print-main-panel/customElement.d.ts +5 -1
  430. package/dist/components/arcgis-print-main-panel/customElement.js +10 -10
  431. package/dist/components/arcgis-print-map-only-advanced-options/customElement.js +1 -1
  432. package/dist/components/arcgis-print-map-only-panel/customElement.d.ts +2 -0
  433. package/dist/components/arcgis-print-map-only-panel/customElement.js +23 -21
  434. package/dist/components/arcgis-print-out-spatial-reference-input/customElement.js +18 -19
  435. package/dist/components/arcgis-print-preview-input/customElement.js +1 -1
  436. package/dist/components/arcgis-print-scale-section/customElement.js +1 -1
  437. package/dist/components/arcgis-print-template-select/customElement.js +23 -22
  438. package/dist/components/arcgis-print-template-selector/customElement.js +16 -17
  439. package/dist/components/arcgis-scale-bar/customElement.d.ts +3 -3
  440. package/dist/components/arcgis-scale-bar/customElement.js +1 -1
  441. package/dist/components/arcgis-scale-range-slider/customElement.d.ts +5 -4
  442. package/dist/components/arcgis-scale-range-slider/customElement.js +1 -1
  443. package/dist/components/arcgis-scene/customElement.d.ts +66 -11
  444. package/dist/components/arcgis-scene/customElement.js +25 -30
  445. package/dist/components/arcgis-search/customElement.d.ts +19 -21
  446. package/dist/components/arcgis-search/customElement.js +1 -1
  447. package/dist/components/arcgis-search-result-renderer/customElement.d.ts +2 -0
  448. package/dist/components/arcgis-search-result-renderer/customElement.js +1 -1
  449. package/dist/components/arcgis-shadow-cast/customElement.d.ts +8 -8
  450. package/dist/components/arcgis-shadow-cast/customElement.js +2 -2
  451. package/dist/components/arcgis-sketch/customElement.d.ts +28 -11
  452. package/dist/components/arcgis-sketch/customElement.js +18 -10
  453. package/dist/components/arcgis-slice/customElement.d.ts +3 -3
  454. package/dist/components/arcgis-slice/customElement.js +14 -15
  455. package/dist/components/arcgis-spinner/customElement.js +1 -1
  456. package/dist/components/arcgis-swipe/customElement.d.ts +5 -3
  457. package/dist/components/arcgis-swipe/customElement.js +2 -2
  458. package/dist/components/arcgis-table-list/customElement.d.ts +7 -5
  459. package/dist/components/arcgis-table-list/customElement.js +1 -1
  460. package/dist/components/arcgis-time-slider/customElement.d.ts +5 -5
  461. package/dist/components/arcgis-time-slider/customElement.js +2 -2
  462. package/dist/components/arcgis-time-zone-label/customElement.d.ts +12 -13
  463. package/dist/components/arcgis-time-zone-label/customElement.js +41 -49
  464. package/dist/components/arcgis-track/customElement.d.ts +3 -3
  465. package/dist/components/arcgis-track/customElement.js +2 -2
  466. package/dist/components/arcgis-unit-select/customElement.d.ts +2 -2
  467. package/dist/components/arcgis-unit-select/customElement.js +1 -1
  468. package/dist/components/arcgis-utility-network-association-list/customElement.d.ts +27 -0
  469. package/dist/components/arcgis-utility-network-association-list/customElement.js +110 -0
  470. package/dist/components/arcgis-utility-network-association-list/index.d.ts +4 -0
  471. package/dist/components/arcgis-utility-network-association-list/index.js +4 -0
  472. package/dist/components/arcgis-utility-network-association-list/types.d.ts +2 -0
  473. package/dist/components/arcgis-utility-network-associations/customElement.d.ts +70 -26
  474. package/dist/components/arcgis-utility-network-associations/customElement.js +3 -3
  475. package/dist/components/arcgis-utility-network-result-feature-list/customElement.js +1 -1
  476. package/dist/components/arcgis-utility-network-subnetwork-info/customElement.d.ts +20 -0
  477. package/dist/components/arcgis-utility-network-subnetwork-info/customElement.js +36 -0
  478. package/dist/components/arcgis-utility-network-subnetwork-info/index.d.ts +1 -0
  479. package/dist/components/arcgis-utility-network-subnetwork-info/index.js +1 -0
  480. package/dist/components/arcgis-utility-network-trace/customElement.d.ts +6 -4
  481. package/dist/components/arcgis-utility-network-trace/customElement.js +2 -2
  482. package/dist/components/arcgis-utility-network-trace-analysis/customElement.d.ts +4 -50
  483. package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +38 -52
  484. package/dist/components/arcgis-utility-network-trace-inputs/customElement.d.ts +17 -7
  485. package/dist/components/arcgis-utility-network-trace-inputs/customElement.js +241 -62
  486. package/dist/components/arcgis-utility-network-trace-inputs/index.d.ts +7 -2
  487. package/dist/components/arcgis-utility-network-trace-inputs/index.js +7 -2
  488. package/dist/components/arcgis-utility-network-trace-location/customElement.d.ts +56 -0
  489. package/dist/components/arcgis-utility-network-trace-location/customElement.js +250 -0
  490. package/dist/components/arcgis-utility-network-trace-location/index.d.ts +4 -0
  491. package/dist/components/arcgis-utility-network-trace-location/index.js +4 -0
  492. package/dist/components/arcgis-utility-network-trace-location-list/customElement.d.ts +21 -0
  493. package/dist/components/arcgis-utility-network-trace-location-list/customElement.js +75 -0
  494. package/dist/components/arcgis-utility-network-trace-location-list/index.d.ts +9 -0
  495. package/dist/components/arcgis-utility-network-trace-location-list/index.js +9 -0
  496. package/dist/components/arcgis-utility-network-trace-results/customElement.js +2 -2
  497. package/dist/components/arcgis-utility-network-validate-topology/customElement.d.ts +5 -5
  498. package/dist/components/arcgis-utility-network-validate-topology/customElement.js +2 -2
  499. package/dist/components/arcgis-value-picker/customElement.d.ts +3 -3
  500. package/dist/components/arcgis-value-picker/customElement.js +1 -1
  501. package/dist/components/arcgis-version-management/customElement.d.ts +2 -2
  502. package/dist/components/arcgis-version-management/customElement.js +2 -2
  503. package/dist/components/arcgis-version-management-service-item/customElement.js +1 -1
  504. package/dist/components/arcgis-version-management-version-list/customElement.js +42 -27
  505. package/dist/components/arcgis-version-management-version-list/index.d.ts +2 -1
  506. package/dist/components/arcgis-version-management-version-list/index.js +2 -1
  507. package/dist/components/arcgis-version-management-version-properties/customElement.js +1 -1
  508. package/dist/components/arcgis-video/customElement.d.ts +4 -4
  509. package/dist/components/arcgis-video/customElement.js +1 -1
  510. package/dist/components/arcgis-video-player/customElement.d.ts +4 -4
  511. package/dist/components/arcgis-video-player/customElement.js +4 -4
  512. package/dist/components/arcgis-video-player-action-bar/customElement.js +18 -18
  513. package/dist/components/arcgis-video-player-actions-group/customElement.js +13 -12
  514. package/dist/components/arcgis-video-player-controls-group/customElement.js +23 -23
  515. package/dist/components/arcgis-video-player-metadata/customElement.js +1 -1
  516. package/dist/components/arcgis-video-player-settings/customElement.js +19 -18
  517. package/dist/components/arcgis-video-player-slider/customElement.js +2 -2
  518. package/dist/components/arcgis-volume-measurement/VolumeMeasurementViewModel.d.ts +55 -0
  519. package/dist/components/arcgis-volume-measurement/customElement.d.ts +114 -0
  520. package/dist/components/arcgis-volume-measurement/customElement.js +236 -0
  521. package/dist/components/arcgis-volume-measurement/index.d.ts +10 -0
  522. package/dist/components/arcgis-volume-measurement/index.js +10 -0
  523. package/dist/components/arcgis-volume-measurement/volume-measurement-test-utils.d.ts +1 -0
  524. package/dist/components/arcgis-weather/LabeledSlider.d.ts +3 -2
  525. package/dist/components/arcgis-weather/customElement.d.ts +18 -2
  526. package/dist/components/arcgis-weather/customElement.js +150 -132
  527. package/dist/components/arcgis-zoom/customElement.d.ts +2 -2
  528. package/dist/components/arcgis-zoom/customElement.js +2 -2
  529. package/dist/components/support/utility-components/component-wrapper.d.ts +1 -1
  530. package/dist/controllers/uiController.d.ts +5 -0
  531. package/dist/controllers/useArcgisLoadError.d.ts +27 -0
  532. package/dist/controllers/useArcgisViewReadyError.d.ts +17 -0
  533. package/dist/controllers/useHandles.d.ts +1 -1
  534. package/dist/controllers/useViewModel.d.ts +1 -1
  535. package/dist/controllers/useWidget.d.ts +1 -1
  536. package/dist/docs/api.json +11667 -10489
  537. package/dist/docs/docs.json +6659 -5580
  538. package/dist/docs/vscode.css-custom-data.json +16 -16
  539. package/dist/docs/vscode.html-custom-data.json +555 -506
  540. package/dist/docs/web-types.json +1375 -1117
  541. package/dist/index.d.ts +59 -40
  542. package/dist/index.js +1 -1
  543. package/dist/loader.js +33 -30
  544. package/dist/support/AnalysisViewModel.d.ts +2 -1
  545. package/dist/support/handle.d.ts +1 -1
  546. package/dist/support/measurementUtils.d.ts +7 -4
  547. package/dist/types/lumina.d.ts +48 -29
  548. package/dist/types/preact.d.ts +52 -31
  549. package/dist/types/preact10.d.ts +56 -33
  550. package/dist/types/react.d.ts +56 -33
  551. package/dist/types/stencil.d.ts +48 -29
  552. package/dist/utils/async-utils.d.ts +19 -0
  553. package/dist/utils/feature-utils.d.ts +16 -1
  554. package/dist/utils/highlight-utils.d.ts +22 -0
  555. package/dist/utils/layer-utils.d.ts +4 -0
  556. package/package.json +5 -5
  557. package/dist/cdn/26MREIVX.js +0 -4
  558. package/dist/cdn/2HCAQJDA.js +0 -4
  559. package/dist/cdn/2NGYP2TU.js +0 -4
  560. package/dist/cdn/2OPKEDRF.js +0 -4
  561. package/dist/cdn/2QQXT6S3.js +0 -4
  562. package/dist/cdn/2U56XZA5.js +0 -4
  563. package/dist/cdn/3LFISTCL.js +0 -4
  564. package/dist/cdn/3QEGCSXN.js +0 -4
  565. package/dist/cdn/3TXEUTMX.js +0 -4
  566. package/dist/cdn/4ELLMRLV.js +0 -4
  567. package/dist/cdn/4LG44MCV.js +0 -4
  568. package/dist/cdn/52TIW2GW.js +0 -4
  569. package/dist/cdn/5K7B7ZV3.js +0 -4
  570. package/dist/cdn/6OBLJBSZ.js +0 -4
  571. package/dist/cdn/6UIGZRW5.js +0 -4
  572. package/dist/cdn/6V2MNKRP.js +0 -4
  573. package/dist/cdn/6WKL7XXK.js +0 -4
  574. package/dist/cdn/752MVXWG.js +0 -4
  575. package/dist/cdn/7HIVI5W6.js +0 -4
  576. package/dist/cdn/7IIYFAL2.js +0 -4
  577. package/dist/cdn/7LENP7UQ.js +0 -4
  578. package/dist/cdn/7M3YBBT4.js +0 -4
  579. package/dist/cdn/7OXV6AQA.js +0 -4
  580. package/dist/cdn/AT7HVKEZ.js +0 -4
  581. package/dist/cdn/BU6LB2N4.js +0 -4
  582. package/dist/cdn/CI7PXTLU.js +0 -4
  583. package/dist/cdn/CP23UGPK.js +0 -4
  584. package/dist/cdn/CP2HQZUP.js +0 -9
  585. package/dist/cdn/D332NHX4.js +0 -4
  586. package/dist/cdn/DELN7ZGL.js +0 -5
  587. package/dist/cdn/DHEMTNFY.js +0 -4
  588. package/dist/cdn/EBLK7WAD.js +0 -4
  589. package/dist/cdn/EEVS67WB.js +0 -4
  590. package/dist/cdn/EHSC3ELP.js +0 -4
  591. package/dist/cdn/F67NPTF5.js +0 -4
  592. package/dist/cdn/FESFNS34.js +0 -4
  593. package/dist/cdn/FFQ5PPQJ.js +0 -4
  594. package/dist/cdn/FHIPTY2Q.js +0 -4
  595. package/dist/cdn/FSHOPPLQ.js +0 -4
  596. package/dist/cdn/FSU3E6AQ.js +0 -4
  597. package/dist/cdn/FVILGVFZ.js +0 -4
  598. package/dist/cdn/G4H5D4DJ.js +0 -4
  599. package/dist/cdn/G54Y3XZX.js +0 -4
  600. package/dist/cdn/GFOOUTML.js +0 -4
  601. package/dist/cdn/GLOIWZ3O.js +0 -4
  602. package/dist/cdn/H3JJOTON.js +0 -4
  603. package/dist/cdn/H7YNL2TB.js +0 -4
  604. package/dist/cdn/HJU6AZMW.js +0 -4
  605. package/dist/cdn/HK3XAWSI.js +0 -4
  606. package/dist/cdn/HQCVE2GO.js +0 -4
  607. package/dist/cdn/HVWVEPEF.js +0 -4
  608. package/dist/cdn/HYQZEUBU.js +0 -4
  609. package/dist/cdn/HYTYRGG4.js +0 -4
  610. package/dist/cdn/IC6SSSQO.js +0 -4
  611. package/dist/cdn/IDDFJ4DV.js +0 -4
  612. package/dist/cdn/ILRNOAV4.js +0 -4
  613. package/dist/cdn/IT3LUX3O.js +0 -4
  614. package/dist/cdn/IUY6HYRA.js +0 -4
  615. package/dist/cdn/JQ5GUQ7P.js +0 -4
  616. package/dist/cdn/JQMPF5IV.js +0 -4
  617. package/dist/cdn/KRGNBQ5Z.js +0 -4
  618. package/dist/cdn/KRM4ZBQX.js +0 -4
  619. package/dist/cdn/LDR7F5EQ.js +0 -4
  620. package/dist/cdn/LHRDTGQY.js +0 -4
  621. package/dist/cdn/LJGUZAHH.js +0 -4
  622. package/dist/cdn/LYR5T5U2.js +0 -4
  623. package/dist/cdn/M5TG4CFU.js +0 -4
  624. package/dist/cdn/MBMBYUJM.js +0 -4
  625. package/dist/cdn/MDSY3NEJ.js +0 -4
  626. package/dist/cdn/MIILDVMA.js +0 -4
  627. package/dist/cdn/MJTBUONI.js +0 -4
  628. package/dist/cdn/MROG6VEE.js +0 -4
  629. package/dist/cdn/N4IL4AAP.js +0 -4
  630. package/dist/cdn/NAUZASE4.js +0 -4
  631. package/dist/cdn/NKFSCGG6.js +0 -4
  632. package/dist/cdn/NSWHZFRT.js +0 -4
  633. package/dist/cdn/O6ETD4MH.js +0 -4
  634. package/dist/cdn/OKDOTHSU.js +0 -4
  635. package/dist/cdn/OM64AHWG.js +0 -4
  636. package/dist/cdn/PDTW4YVA.js +0 -4
  637. package/dist/cdn/PIAPT753.js +0 -4
  638. package/dist/cdn/PLSSYDMD.js +0 -4
  639. package/dist/cdn/PQELEFJN.js +0 -4
  640. package/dist/cdn/PTBGNUJM.js +0 -4
  641. package/dist/cdn/PTVDQWLH.js +0 -4
  642. package/dist/cdn/PV45DKP7.js +0 -4
  643. package/dist/cdn/QL45S7N3.js +0 -4
  644. package/dist/cdn/R52GAK7D.js +0 -4
  645. package/dist/cdn/RESW7W5U.js +0 -4
  646. package/dist/cdn/RGWLLT5R.js +0 -4
  647. package/dist/cdn/RR5AN2LO.js +0 -4
  648. package/dist/cdn/RRFZLG2A.js +0 -4
  649. package/dist/cdn/RRSFGBWH.js +0 -4
  650. package/dist/cdn/RRTNNJPP.js +0 -4
  651. package/dist/cdn/RVLHZ2VH.js +0 -4
  652. package/dist/cdn/RZEP2TRT.js +0 -4
  653. package/dist/cdn/S6KB7IUN.js +0 -4
  654. package/dist/cdn/SAUW35NW.js +0 -4
  655. package/dist/cdn/SNL2OTTM.js +0 -4
  656. package/dist/cdn/SSWX5ZC5.js +0 -4
  657. package/dist/cdn/STEBIRS4.js +0 -4
  658. package/dist/cdn/SVWGIDDU.js +0 -4
  659. package/dist/cdn/SWZPUBX6.js +0 -4
  660. package/dist/cdn/SXGMPEP3.js +0 -4
  661. package/dist/cdn/TELHVYR4.js +0 -4
  662. package/dist/cdn/UKIS5KFN.js +0 -4
  663. package/dist/cdn/V3W3XWBZ.js +0 -4
  664. package/dist/cdn/VD6BHESH.js +0 -4
  665. package/dist/cdn/VS3WT3CK.js +0 -4
  666. package/dist/cdn/W75DFBEN.js +0 -4
  667. package/dist/cdn/WFURIXQT.js +0 -4
  668. package/dist/cdn/WPILMPPG.js +0 -4
  669. package/dist/cdn/WVIM6FIJ.js +0 -4
  670. package/dist/cdn/X262DH36.js +0 -4
  671. package/dist/cdn/X3ERGEZW.js +0 -4
  672. package/dist/cdn/X54JTEIS.js +0 -4
  673. package/dist/cdn/XGEGIP2X.js +0 -4
  674. package/dist/cdn/XI2OTXXN.js +0 -4
  675. package/dist/cdn/Y363VSHL.js +0 -4
  676. package/dist/cdn/YKC76WL2.js +0 -4
  677. package/dist/cdn/YWUALWAR.js +0 -4
  678. package/dist/cdn/ZCOROTYT.js +0 -4
  679. package/dist/cdn/ZJXPCSTB.js +0 -4
  680. package/dist/cdn/assets/elevation-profile-next/t9n/messages.en.json +0 -1
  681. package/dist/chunks/uiController.js +0 -50
  682. package/dist/components/arcgis-elevation-profile-next/customElement.d.ts +0 -208
  683. package/dist/components/arcgis-elevation-profile-next/customElement.js +0 -542
  684. package/dist/components/arcgis-elevation-profile-next/index.d.ts +0 -6
  685. package/dist/components/arcgis-elevation-profile-next/index.js +0 -6
  686. package/dist/components/arcgis-print-exported-link/customElement.d.ts +0 -14
  687. package/dist/components/arcgis-print-exported-link/customElement.js +0 -100
  688. package/dist/components/arcgis-version-management-version-item/customElement.d.ts +0 -22
  689. package/dist/components/arcgis-version-management-version-item/customElement.js +0 -30
  690. package/dist/components/arcgis-version-management-version-item/index.d.ts +0 -5
  691. package/dist/components/arcgis-version-management-version-item/index.js +0 -5
  692. package/dist/utils/mapping-utils.d.ts +0 -2
  693. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.ar.json +0 -0
  694. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.bg.json +0 -0
  695. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.bs.json +0 -0
  696. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.ca.json +0 -0
  697. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.cs.json +0 -0
  698. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.da.json +0 -0
  699. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.de.json +0 -0
  700. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.el.json +0 -0
  701. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.es.json +0 -0
  702. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.et.json +0 -0
  703. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.fi.json +0 -0
  704. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.fr.json +0 -0
  705. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.he.json +0 -0
  706. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.hr.json +0 -0
  707. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.hu.json +0 -0
  708. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.id.json +0 -0
  709. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.it.json +0 -0
  710. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.ja.json +0 -0
  711. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.ko.json +0 -0
  712. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.lt.json +0 -0
  713. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.lv.json +0 -0
  714. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.nl.json +0 -0
  715. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.no.json +0 -0
  716. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.pl.json +0 -0
  717. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.pt-BR.json +0 -0
  718. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.pt-PT.json +0 -0
  719. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.ro.json +0 -0
  720. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.ru.json +0 -0
  721. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.sk.json +0 -0
  722. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.sl.json +0 -0
  723. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.sr.json +0 -0
  724. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.sv.json +0 -0
  725. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.th.json +0 -0
  726. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.tr.json +0 -0
  727. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.uk.json +0 -0
  728. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.vi.json +0 -0
  729. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.zh-CN.json +0 -0
  730. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.zh-HK.json +0 -0
  731. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.zh-TW.json +0 -0
@@ -1,34 +1,594 @@
1
- import { c as e } from "../../chunks/runtime.js";
2
- import { usePropertyChange as i } from "@arcgis/lumina/controllers";
3
- import t from "@arcgis/core/widgets/ElevationProfile.js";
4
- import { LitElement as r, createEvent as o } from "@arcgis/lumina";
5
- import { m as a } from "../../chunks/useWidget.js";
6
- import { css as n } from "lit";
1
+ import { c as x } from "../../chunks/runtime.js";
2
+ import { css as C, html as c } from "lit";
3
+ import { ref as S } from "lit/directives/ref.js";
4
+ import { ignoreAbortErrors as m } from "@arcgis/core/core/promiseUtils.js";
5
+ import { LitElement as k, createEvent as U, nothing as u, safeClassMap as v } from "@arcgis/lumina";
6
+ import { usePropertyChange as M } from "@arcgis/lumina/controllers";
7
+ import { u as B } from "../../chunks/useT9n.js";
8
+ import { m as O } from "../../chunks/useViewModel.js";
9
+ import { g as f } from "../../chunks/globalCss.js";
10
+ import P from "@arcgis/core/analysis/ElevationProfileAnalysis.js";
11
+ import { getDefaultUnitForView as V } from "@arcgis/core/applications/Components/getDefaultUnits.js";
12
+ import { property as a, subclass as $ } from "@arcgis/core/core/accessorSupport/decorators.js";
13
+ import { watch as g } from "@arcgis/core/core/reactiveUtils.js";
14
+ import { A as z } from "../../chunks/AnalysisViewModel.js";
15
+ import { a as D } from "../../chunks/maybe.js";
16
+ import { a as _ } from "../../chunks/measurementUtils.js";
17
+ import { t as E, c as b } from "../../chunks/async-utils.js";
18
+ import { m as F } from "../../chunks/handle.js";
19
+ import { createChart as A } from "@arcgis/core/applications/Components/analysisUtils.js";
7
20
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
8
21
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
9
- v5.0.0-next.5 */
10
- const s = n`.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{--esri-widget-padding-x: 15px;--esri-widget-padding-y: var(--calcite-spacing-md);--esri-widget-padding: var(--esri-widget-padding-y) var(--esri-widget-padding-x);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__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(--esri-widget-padding);transition:max-height .25s ease-in-out;overflow-y:auto}:host{display:flex;width:550px}.esri-elevation-profile{--popover-padding: 12px 15px;--chart-height: 180px;--calcite-label-margin-bottom: 0;--actions-spacing-h: 7px;--actions-spacing-v: 6px;isolation:isolate;padding:var(--esri-widget-padding);position:relative;container-type:inline-size}.esri-widget--panel{width:100%}.esri-elevation-profile__header{flex-direction:row;justify-content:flex-end;align-items:center;display:flex}.esri-elevation-profile__footer{flex-wrap:wrap;justify-content:flex-end;align-items:center;margin-top:var(--calcite-spacing-md);display:flex}.esri-elevation-profile__footer calcite-button{min-height:var(--calcite-spacing-xxxl)}.esri-elevation-profile__action-button{width:auto;margin-inline-start:var(--actions-spacing-h)}.esri-elevation-profile__main-container{width:100%;height:var(--chart-height);flex-flow:column;display:flex;position:relative}.esri-elevation-profile__chart-container{width:100%;height:100%;position:relative}.esri-elevation-profile__prompt-container{box-sizing:border-box;text-align:center;justify-content:center;align-items:center;height:100%;margin-bottom:0;padding:var(--popover-padding);display:flex}.esri-elevation-profile__prompt-container>p{width:100%;margin:0}.esri-elevation-profile__chart-spinner{transition:opacity .15s ease-in-out;transition-delay:0;opacity:0;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.esri-elevation-profile__chart-spinner--visible{opacity:1;transition-delay:50ms}.esri-elevation-profile__chart-spinner--small{inset-inline-start:0;top:-22px;left:unset;color:var(--calcite-color-brand);transform:none}@container (width<=400px){.esri-elevation-profile .esri-component.esri-widget--panel{height:auto}.esri-elevation-profile .esri-elevation-profile__footer{flex-direction:column}.esri-elevation-profile .esri-elevation-profile__action-button{align-self:stretch;margin-inline-start:0}.esri-elevation-profile .esri-elevation-profile__action-button:not(:last-of-type){margin-bottom:var(--actions-spacing-v)}}.esri-elevation-profile-settings calcite-popover[calcite-hydrated-hidden]{inset-block-start:-999999px;inset-inline-start:-999999px}.esri-elevation-profile-settings__popover-content{padding:var(--popover-padding);color:var(--calcite-color-text-1);flex-direction:column;gap:var(--calcite-spacing-md);min-width:180px;font-size:var(--calcite-font-size-sm);display:flex}.esri-elevation-profile-legend{margin-top:6px}.esri-elevation-profile-legend-item{background:var(--calcite-color-foreground-3);position:relative}.esri-elevation-profile-legend-item:not(:last-of-type){margin-bottom:2px}.esri-elevation-profile-legend-item--disabled{filter:grayscale();opacity:.4}.esri-elevation-profile-legend-item__color-indicator{inset-inline-start:0;width:3px;height:100%;position:absolute;top:0}.esri-elevation-profile-legend-item__header{flex-direction:row;justify-content:flex-start;align-items:center;display:flex}.esri-elevation-profile-legend-item__content{padding:0 15px 12px;display:block}.esri-elevation-profile-legend-item__collapse-toggle{flex-shrink:0;width:var(--calcite-spacing-xxxl);height:var(--calcite-spacing-xxxl)}.esri-elevation-profile-legend-item__label{flex-grow:1;flex-shrink:1;min-width:0;padding-inline-start:15px}.esri-elevation-profile-statistics{--max-width: 1px;grid-template-columns:repeat(auto-fit,minmax(var(--max-width),1fr));contain:layout paint style;gap:2px 22px;width:100%;display:grid}.esri-elevation-profile-statistics__statistic{text-align:start;white-space:nowrap;width:max-content;display:block}.esri-elevation-profile-statistics__statistic__label{font-size:var(--calcite-font-size-xs);font-weight:var(--calcite-font-weight-regular)}.esri-elevation-profile-statistics__statistic__value{margin-top:-.15em;font-size:var(--calcite-font-size-xs);font-weight:var(--calcite-font-weight-semibold)}.esri-elevation-profile-statistics__slope-value{align-items:center;display:flex}.esri-elevation-profile-statistics__slope-value calcite-icon{width:var(--calcite-spacing-xl);height:var(--calcite-spacing-xl)}.esri-view-height-xsmall .esri-elevation-profile{--chart-height: 68px}.esri-elevation-profile--portrait .esri-elevation-profile-statistics{gap:6px 22px;margin-bottom:var(--calcite-spacing-md)}.esri-elevation-profile--portrait .esri-elevation-profile-statistics__statistic__value{margin-top:var(--calcite-spacing-base)}`, l = a(t);
11
- class c extends r {
22
+ v5.0.0-next.50 */
23
+ const T = 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{--esri-widget-padding-x: 15px;--esri-widget-padding-y: var(--calcite-spacing-md);--esri-widget-padding: var(--esri-widget-padding-y) var(--esri-widget-padding-x);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__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(--esri-widget-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;padding:var(--esri-widget-padding);position:relative;container-type:inline-size;resize:horizontal}.container{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;top:-22px;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}}`;
24
+ function I({ geometry: t }) {
25
+ return t != null && t.type === "polyline" && t.paths.length > 0 && t.paths.every((e) => e.length >= 2);
26
+ }
27
+ function L({ geometry: t }) {
28
+ return t?.type === "polyline" && t.paths.reduce((e, i) => e + i.length, 0) > 0;
29
+ }
30
+ function H(t) {
31
+ return t?.samples?.some((e) => e.z != null) ?? !1;
32
+ }
33
+ function Z(t) {
34
+ return t?.type === "polyline";
35
+ }
36
+ async function j(t, e, i) {
37
+ const r = await R(t, e);
38
+ return E(i), q(r) ? r.highlight(e) : F();
39
+ }
40
+ async function R(t, e) {
41
+ const i = e?.layer;
42
+ if (!(!i || i.type === "subtype-sublayer" || i.type === "sublayer" || i.type === "building-component"))
43
+ return await t.whenLayerView(i);
44
+ }
45
+ function q(t) {
46
+ return t != null && "highlight" in t && typeof t.highlight == "function";
47
+ }
48
+ var N = Object.defineProperty, G = Object.getOwnPropertyDescriptor, o = (t, e, i, r) => {
49
+ for (var n = r > 1 ? void 0 : r ? G(e, i) : e, l = t.length - 1, d; l >= 0; l--)
50
+ (d = t[l]) && (n = (r ? d(e, i, n) : d(n)) || n);
51
+ return r && n && N(e, i, n), n;
52
+ };
53
+ let s = class extends z {
12
54
  constructor() {
13
- super(...arguments), this.widget = l(this), this.viewModel = this.widget.viewModel, this.view = this.widget.view, this.autoDestroyDisabled = !1, this.effectiveUnits = this.viewModel.effectiveUnits, this.hideChart = this.widget.visibleElements.chart, this.hideClearButton = this.widget.visibleElements.clearButton, this.hideLegend = this.widget.visibleElements.legend, this.hideSelectButton = this.widget.visibleElements.selectButton, this.hideSettingsButton = this.widget.visibleElements.settingsButton, this.hideSketchButton = this.widget.visibleElements.sketchButton, this.hideUniformChartScalingToggle = this.widget.visibleElements.uniformChartScalingToggle, this.hideUnitSelector = this.widget.visibleElements.unitSelector, this.highlightEnabled = this.viewModel.highlightEnabled, this.hoveredChartPosition = this.viewModel.hoveredChartPosition, this.icon = this.widget.icon, this.input = this.widget.input, this.label = this.widget.label, this.profiles = this.widget.profiles, this.progress = this.viewModel.progress, this.state = this.viewModel.state, this.uniformChartScaling = this.viewModel.uniformChartScaling, this.unit = this.widget.unit, this.unitOptions = this.widget.unitOptions, this.arcgisPropertyChange = i()("input", "effectiveUnits", "progress", "state"), this.arcgisReady = o();
55
+ super(...arguments), this.highlightDisabled = !1, this.uniformChartScaling = !1, this.shouldForceInteractive = !1, this.supportedViewType = "both", this.unsupportedErrorMessage = "";
56
+ }
57
+ get _measurementSystem() {
58
+ return this.view ? V(this.view) : void 0;
59
+ }
60
+ get _hasSamples() {
61
+ const { progress: t } = this;
62
+ return this._analysisView?.results?.some((e) => e.available && (t < 1 || H(e))) ?? !1;
63
+ }
64
+ get doneButtonAvailable() {
65
+ if (this.featureSelected)
66
+ return !1;
67
+ const { geometry: t } = this.analysis;
68
+ return Z(t) && t.paths.length > 0 && t.paths[0].length > 2;
69
+ }
70
+ get effectiveDisplayUnits() {
71
+ return this.analysisView?.effectiveDisplayUnits;
72
+ }
73
+ get errorState() {
74
+ if (!I(this.analysis))
75
+ return "no-valid-input";
76
+ const t = this.analysisView?.error;
77
+ if (t)
78
+ switch (t.name) {
79
+ case "too-complex":
80
+ return "too-complex";
81
+ case "elevation-query-error":
82
+ return "no-valid-input";
83
+ default:
84
+ return "unknown";
85
+ }
86
+ return this._hasSamples ? "none" : "no-available-profiles";
87
+ }
88
+ get featureSelected() {
89
+ return this._selectedFeature != null;
90
+ }
91
+ get hasVertices() {
92
+ return L(this.analysis);
93
+ }
94
+ get hoveredPosition() {
95
+ return this.analysisView?.hoveredPosition ?? void 0;
96
+ }
97
+ get geometry() {
98
+ return this.analysis.geometry;
99
+ }
100
+ set geometry(t) {
101
+ this.analysis.geometry = t;
102
+ }
103
+ get elevationInfo() {
104
+ return this.analysis.elevationInfo;
105
+ }
106
+ set elevationInfo(t) {
107
+ this.analysis.elevationInfo = t;
108
+ }
109
+ get profiles() {
110
+ return this.analysis.profiles;
111
+ }
112
+ set profiles(t) {
113
+ this.analysis.profiles = t;
114
+ }
115
+ get progress() {
116
+ return this.analysisView?.progress ?? 0;
117
+ }
118
+ get results() {
119
+ return this.analysisView?.results ?? [];
120
+ }
121
+ get selectButtonAvailable() {
122
+ for (const t of this.view?.map?.allLayers.toArray() ?? [])
123
+ if (t.type === "graphics" && !("internal" in t && t.internal) && t.graphics.some((e) => e.geometry?.type === "polyline") || "geometryType" in t && t.geometryType === "polyline")
124
+ return !0;
125
+ return !!this.view?.graphics?.some((t) => t.geometry?.type === "polyline");
126
+ }
127
+ get state() {
128
+ return this.disabled || !this.ready ? "disabled" : this._selectingPromise ? "selecting" : this.operationState === "active" ? "creating" : this.analysis.valid ? this.featureSelected ? "selected" : "created" : "ready";
129
+ }
130
+ get distanceUnit() {
131
+ return y(
132
+ this._userDistanceUnit ?? this.analysis.displayUnits?.distance ?? void 0,
133
+ this.distanceUnitOptions,
134
+ this._measurementSystem
135
+ );
136
+ }
137
+ set distanceUnit(t) {
138
+ this._userDistanceUnit = t;
139
+ }
140
+ get distanceUnitOptions() {
141
+ return w(this._userDistanceUnitOptions);
142
+ }
143
+ set distanceUnitOptions(t) {
144
+ this._userDistanceUnitOptions = t;
145
+ }
146
+ get elevationUnit() {
147
+ return y(
148
+ this._userElevationUnit ?? this.analysis.displayUnits?.elevation ?? void 0,
149
+ this.elevationUnitOptions,
150
+ this._measurementSystem
151
+ );
152
+ }
153
+ set elevationUnit(t) {
154
+ this._userElevationUnit = t;
155
+ }
156
+ get elevationUnitOptions() {
157
+ return w(this._userElevationUnitOptions);
158
+ }
159
+ set elevationUnitOptions(t) {
160
+ this._userElevationUnitOptions = t;
161
+ }
162
+ //#endregion
163
+ //#region Public Methods
164
+ initialize() {
165
+ this.addHandles([
166
+ g(
167
+ () => ({
168
+ analysis: this.analysis,
169
+ unitDistance: this.distanceUnit,
170
+ unitElevation: this.elevationUnit
171
+ }),
172
+ ({ analysis: t, unitDistance: e, unitElevation: i }) => {
173
+ if (t != null) {
174
+ const r = t.displayUnits;
175
+ r.elevation = i, r.distance = e;
176
+ }
177
+ },
178
+ { sync: !0, initial: !0 }
179
+ ),
180
+ g(
181
+ () => ({
182
+ selectedFeature: this._selectedFeature,
183
+ profiles: this.analysis.profiles.toArray()
184
+ }),
185
+ ({ selectedFeature: t, profiles: e }, i) => {
186
+ this._highlightSelectedFeature(this.highlightDisabled ? void 0 : t), this.analysis.viewOptions.geometryVisualizationVisible = !this.highlightDisabled && t == null;
187
+ const r = i?.selectedFeature;
188
+ e.forEach((n) => {
189
+ switch (n.type) {
190
+ case "scene":
191
+ this._excludeSelectedFeatureFromProfile(n, t, r);
192
+ break;
193
+ case "input":
194
+ n.chartOptions.lineVisible = t != null, n.viewOptions.lineVisible = t != null;
195
+ break;
196
+ }
197
+ });
198
+ },
199
+ { initial: !0 }
200
+ )
201
+ ]);
202
+ }
203
+ destroy() {
204
+ this._removeSelectionHighlight();
205
+ }
206
+ async select() {
207
+ const t = this.analysisView;
208
+ if (!t)
209
+ return;
210
+ const e = super.start({
211
+ operation: async (i) => {
212
+ const r = await t.pickFeature(i);
213
+ i?.signal?.aborted || (t.interactive = !1, this._selectedFeature = r.feature);
214
+ },
215
+ clear: !1
216
+ });
217
+ e.finally(() => {
218
+ this._selectingPromise === e && (this._selectingPromise = void 0);
219
+ }), this._selectingPromise = e, await e.catch();
220
+ }
221
+ async place(t) {
222
+ await this.analysisView?.place(t);
223
+ }
224
+ clearAnalysis() {
225
+ this.geometry = null, this.elevationInfo = null, this._selectedFeature = void 0;
226
+ }
227
+ // Should never happen because both 2d and 3d are supported
228
+ constructAnalysis() {
229
+ return new P();
230
+ }
231
+ _highlightSelectedFeature(t) {
232
+ this._removeSelectionHighlight();
233
+ const e = this.view;
234
+ !e || !t || (this._selectionHighlightTask = b(
235
+ async (i) => await j(e, t, { signal: i })
236
+ ));
237
+ }
238
+ _removeSelectionHighlight() {
239
+ this._selectionHighlightTask?.value?.remove(), this._selectionHighlightTask = D(this._selectionHighlightTask);
240
+ }
241
+ _excludeSelectedFeatureFromProfile(t, e, i) {
242
+ const r = new Set(t.exclude ?? []);
243
+ i && r.delete(i), e && r.add(e), t.exclude = Array.from(r);
244
+ }
245
+ //#endregion
246
+ };
247
+ o([
248
+ a()
249
+ ], s.prototype, "_userDistanceUnit", 2);
250
+ o([
251
+ a()
252
+ ], s.prototype, "_userDistanceUnitOptions", 2);
253
+ o([
254
+ a()
255
+ ], s.prototype, "_userElevationUnit", 2);
256
+ o([
257
+ a()
258
+ ], s.prototype, "_userElevationUnitOptions", 2);
259
+ o([
260
+ a({ readOnly: !0 })
261
+ ], s.prototype, "_measurementSystem", 1);
262
+ o([
263
+ a()
264
+ ], s.prototype, "_selectingPromise", 2);
265
+ o([
266
+ a()
267
+ ], s.prototype, "_selectedFeature", 2);
268
+ o([
269
+ a()
270
+ ], s.prototype, "_selectionHighlightTask", 2);
271
+ o([
272
+ a()
273
+ ], s.prototype, "_hasSamples", 1);
274
+ o([
275
+ a()
276
+ ], s.prototype, "doneButtonAvailable", 1);
277
+ o([
278
+ a({ readOnly: !0 })
279
+ ], s.prototype, "effectiveDisplayUnits", 1);
280
+ o([
281
+ a({ readOnly: !0 })
282
+ ], s.prototype, "errorState", 1);
283
+ o([
284
+ a()
285
+ ], s.prototype, "featureSelected", 1);
286
+ o([
287
+ a({ readOnly: !0 })
288
+ ], s.prototype, "hasVertices", 1);
289
+ o([
290
+ a()
291
+ ], s.prototype, "highlightDisabled", 2);
292
+ o([
293
+ a()
294
+ ], s.prototype, "hoveredPosition", 1);
295
+ o([
296
+ a()
297
+ ], s.prototype, "geometry", 1);
298
+ o([
299
+ a()
300
+ ], s.prototype, "elevationInfo", 1);
301
+ o([
302
+ a()
303
+ ], s.prototype, "profiles", 1);
304
+ o([
305
+ a({ readOnly: !0 })
306
+ ], s.prototype, "progress", 1);
307
+ o([
308
+ a({ readOnly: !0 })
309
+ ], s.prototype, "results", 1);
310
+ o([
311
+ a({ readOnly: !0 })
312
+ ], s.prototype, "selectButtonAvailable", 1);
313
+ o([
314
+ a({ readOnly: !0 })
315
+ ], s.prototype, "state", 1);
316
+ o([
317
+ a()
318
+ ], s.prototype, "uniformChartScaling", 2);
319
+ o([
320
+ a()
321
+ ], s.prototype, "distanceUnit", 1);
322
+ o([
323
+ a()
324
+ ], s.prototype, "distanceUnitOptions", 1);
325
+ o([
326
+ a()
327
+ ], s.prototype, "elevationUnit", 1);
328
+ o([
329
+ a()
330
+ ], s.prototype, "elevationUnitOptions", 1);
331
+ s = o([
332
+ $("components.elevation-profile.ElevationProfileViewModel")
333
+ ], s);
334
+ function y(t, e, i) {
335
+ return t && e.includes(t) ? t : i && e.includes(i) ? i : e[0];
336
+ }
337
+ function w(t) {
338
+ const e = t?.filter((i) => _.includes(i));
339
+ return e && e.length > 0 ? e : _.slice();
340
+ }
341
+ const J = O(s);
342
+ class K extends k {
343
+ constructor() {
344
+ super(...arguments), this.viewModel = J(this), this._messages = B(), this._hideZoomOutButton = !0, this.analysis = this.viewModel.analysis, this.view = this.viewModel.view, this.autoDestroyDisabled = !1, this.effectiveDisplayUnits = this.viewModel.effectiveDisplayUnits, this.hideChart = !1, this.hideClearButton = !1, this.hideLegend = !1, this.hideSelectButton = !1, this.hideSettingsButton = !1, this.hideSketchButton = !1, this.hideUniformChartScalingToggle = !1, this.hideUnitSelector = !1, this.highlightDisabled = this.viewModel.highlightDisabled, this.hoveredPosition = this.viewModel.hoveredPosition, this.icon = "altitude", 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 = M()("geometry", "effectiveDisplayUnits", "progress", "state"), this.arcgisReady = U();
14
345
  }
15
346
  static {
16
- this.properties = { view: 0, autoDestroyDisabled: 5, effectiveUnits: 0, hideChart: 5, hideClearButton: 5, hideLegend: 5, hideSelectButton: 5, hideSettingsButton: 5, hideSketchButton: 5, hideUniformChartScalingToggle: 5, hideUnitSelector: 5, highlightEnabled: 5, hoveredChartPosition: 9, icon: 1, input: 0, label: 1, position: 1, profiles: 0, progress: 8, referenceElement: 1, state: 3, uniformChartScaling: 5, unit: 1, unitOptions: 0 };
347
+ this.properties = { _hideZoomOutButton: 16, _chartContainer: 16, analysis: 0, view: 0, autoDestroyDisabled: 5, effectiveDisplayUnits: 32, hideChart: 5, hideClearButton: 5, hideLegend: 5, hideSelectButton: 5, hideSettingsButton: 5, hideSketchButton: 5, hideUniformChartScalingToggle: 5, hideUnitSelector: 5, highlightDisabled: 5, hoveredPosition: 9, icon: 3, geometry: 0, elevationInfo: 0, label: 1, messageOverrides: 0, position: 1, referenceElement: 1, profiles: 0, progress: 40, state: 3, uniformChartScaling: 5, distanceUnit: 1, distanceUnitOptions: 0, elevationUnit: 1, elevationUnitOptions: 0 };
17
348
  }
18
349
  static {
19
- this.styles = s;
350
+ this.styles = T;
351
+ }
352
+ get _selectButtonVisible() {
353
+ return !this.hideSelectButton && this.viewModel.selectButtonAvailable;
354
+ }
355
+ get _chart() {
356
+ return this._chartInitializationTask?.value;
20
357
  }
21
358
  async destroy() {
22
359
  await this.manager.destroy();
23
360
  }
361
+ async select() {
362
+ m(this.viewModel.select());
363
+ }
24
364
  async start() {
25
- this.widget.viewModel.start();
365
+ m(this.viewModel.start());
26
366
  }
27
367
  async stop() {
28
- this.widget.viewModel.stop();
368
+ this.viewModel.stop();
369
+ }
370
+ async clear() {
371
+ this.viewModel.clear();
372
+ }
373
+ load() {
374
+ this.manager.onLifecycle(() => [
375
+ g(() => ({ container: this._chartContainer }), ({ container: e }) => {
376
+ this._destroyChart(), e && (this._chartInitializationTask = b(async (i) => await A({
377
+ view: this.viewModel.view,
378
+ analysisView: this.viewModel.analysisView,
379
+ container: e,
380
+ messages: this._messages,
381
+ signal: i,
382
+ uniformScaling: this.viewModel.uniformChartScaling,
383
+ onRangeChange: (r, n) => {
384
+ this._hideZoomOutButton = r === 1 && n === 1;
385
+ },
386
+ onCursorPositionChange: (r, n) => {
387
+ const { analysisView: l } = this.viewModel;
388
+ l && (l.hoveredPosition = r);
389
+ }
390
+ })));
391
+ }, { sync: !0, initial: !0 }),
392
+ g(() => ({
393
+ chart: this._chart,
394
+ view: this.viewModel.view,
395
+ analysisView: this.viewModel.analysisView,
396
+ uniformScaling: this.viewModel.uniformChartScaling
397
+ }), ({ chart: e, view: i, analysisView: r, uniformScaling: n }) => {
398
+ e && (e.view = i, e.analysisView = r, e.uniformScaling = n);
399
+ }, { sync: !0, initial: !0 }),
400
+ // Make sure to destroy the chart when the component is disconnected.
401
+ { remove: () => this._destroyChart() }
402
+ ]);
403
+ }
404
+ _destroyChart() {
405
+ const e = this._chart;
406
+ this._chartInitializationTask?.abort(), this._chartInitializationTask = void 0, e?.destroy();
407
+ }
408
+ _onCancelButtonClick() {
409
+ this.viewModel.stop(), this.viewModel.clear();
410
+ }
411
+ _onDoneButtonClick() {
412
+ this.viewModel.stop();
413
+ }
414
+ _getErrorMessage() {
415
+ const e = Q[this.viewModel.errorState];
416
+ return e ? this._messages?.errors?.[e] : void 0;
417
+ }
418
+ _onClearButtonClick() {
419
+ this.viewModel.clear();
420
+ }
421
+ _onZoomOutButtonClick() {
422
+ this._chart?.zoomOut();
423
+ }
424
+ _onChartContainerRef(e) {
425
+ this._chartContainer = e;
426
+ }
427
+ render() {
428
+ return c`<div aria-label=${this._messages.componentLabel ?? u} class=${v({
429
+ container: !0,
430
+ [f.widget]: !0,
431
+ [f.widgetDisabled]: this.viewModel.state === "disabled",
432
+ [f.panel]: !0
433
+ })} role=presentation>${this._renderContentForState()}</div>`;
434
+ }
435
+ _renderContentForState() {
436
+ switch (this.viewModel.state) {
437
+ case "ready":
438
+ return this._renderContentForReadyState();
439
+ case "selecting":
440
+ return this._renderContentForSelectingState();
441
+ case "creating":
442
+ return this._renderContentForCreatingState();
443
+ case "selected":
444
+ return this._renderContentForSelectedState();
445
+ case "created":
446
+ return this._renderContentForCreatedState();
447
+ case "disabled":
448
+ return this._renderContentForReadyState();
449
+ }
450
+ }
451
+ _renderContentForReadyState() {
452
+ const { _messages: e, hideSelectButton: i, hideSketchButton: r } = this, { selectButtonAvailable: n } = this.viewModel, l = !i && n;
453
+ let d;
454
+ 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 });
455
+ }
456
+ _renderContentForSelectingState() {
457
+ const { view: e } = this.viewModel;
458
+ if (!e)
459
+ return;
460
+ const i = this._messages[`selectingPrompt-${e.type}`];
461
+ return this._renderContent({
462
+ prompt: i,
463
+ chart: !1,
464
+ actions: [{ type: "select-cancel" }]
465
+ });
466
+ }
467
+ _renderContentForCreatingState() {
468
+ const { viewModel: e } = this, { view: i } = e;
469
+ if (!i)
470
+ return;
471
+ const r = e.hasVertices ? [{ type: "sketch-cancel" }, { type: "sketch-done", disabled: !e.doneButtonAvailable }] : [{ type: "select" }, { type: "sketch", disabled: !0 }];
472
+ if (e.errorState === "no-valid-input") {
473
+ const l = this._messages[`creatingPrompt-${i.type}`];
474
+ return this._renderContent({
475
+ chart: !1,
476
+ actions: r,
477
+ prompt: l
478
+ });
479
+ }
480
+ const n = this._getErrorMessage();
481
+ return n ? this._renderContent({ chart: !1, actions: r, prompt: n }) : this._renderContent({ chart: !0, actions: r });
482
+ }
483
+ _renderContentForSelectedState() {
484
+ const e = this._getErrorMessage();
485
+ return e ? this._renderContent({ chart: !1, actions: p, prompt: e }) : this._renderContent({ chart: !0, actions: p });
486
+ }
487
+ _renderContentForCreatedState() {
488
+ const e = this._getErrorMessage();
489
+ return e ? this._renderContent({ chart: !1, actions: p, prompt: e }) : this._renderContent({ chart: !0, actions: p });
490
+ }
491
+ _renderContent(e) {
492
+ const { viewModel: i } = this, r = i.geometry != null;
493
+ return c`<header class="header">${h({ hidden: this._hideZoomOutButton, children: this._renderZoomOutButton() })}${h({ hidden: this.hideClearButton || !r, children: this._renderClearButton() })}${h({ hidden: this.hideSettingsButton, children: this._renderSettingsButton() })}</header><div class="main-container">${e.prompt != null ? this._renderPrompt(e.prompt) : e.chart ? this._renderChart() : void 0}</div>${h({ hidden: this.hideLegend, children: this._renderLegend() })}${this._renderActions(e)}`;
494
+ }
495
+ _renderPrompt(e) {
496
+ return [
497
+ c`<div class="prompt-container"><p class="prompt-message">${e}</p></div>`
498
+ ];
499
+ }
500
+ _renderZoomOutButton() {
501
+ const e = this._messages.zoomOut ?? "";
502
+ return c`<calcite-action appearance=transparent icon=magnifying-glass-minus @click=${this._onZoomOutButtonClick} scale=s .text=${e} title=${e ?? u}></calcite-action>`;
503
+ }
504
+ _renderChart() {
505
+ if (this.hideChart)
506
+ return;
507
+ const e = this._chart;
508
+ return c`${this._renderSpinner({
509
+ size: e?.chartVisible ? "small" : "large",
510
+ visible: e?.spinnerVisible ?? !1
511
+ })}<div class="chart-container" ${S(this._onChartContainerRef)}></div>`;
512
+ }
513
+ _renderSpinner(e) {
514
+ const i = e.size === "small", r = e.visible ?? !0;
515
+ return c`<calcite-loader class=${v({
516
+ spinner: !0,
517
+ small: i,
518
+ visible: r
519
+ })} .inline=${i} label scale=s></calcite-loader>`;
520
+ }
521
+ _renderClearButton() {
522
+ const e = this._messages.clearProfile ?? "";
523
+ return c`<calcite-action appearance=transparent icon=trash @click=${this._onClearButtonClick} scale=s .text=${e} title=${e ?? u}></calcite-action>`;
524
+ }
525
+ _renderLegend() {
526
+ return c`<arcgis-elevation-profile-legend .effectiveDisplayUnits=${this.viewModel.effectiveDisplayUnits} .featureSelected=${this.viewModel.featureSelected} .messages=${this._messages} .results=${this.viewModel.results}></arcgis-elevation-profile-legend>`;
527
+ }
528
+ _renderSettingsButton() {
529
+ return c`<arcgis-elevation-profile-settings .analysis=${this.viewModel.analysis} .hideUniformChartScalingToggle=${this.hideUniformChartScalingToggle} .hideUnitSelector=${this.hideUnitSelector} .messages=${this._messages} .uniformChartScaling=${this.viewModel.uniformChartScaling} .unitOptionsDistance=${this.viewModel.distanceUnitOptions} .unitOptionsElevation=${this.viewModel.elevationUnitOptions} @arcgisElevationProfileSettingsUniformChartScalingChange=${(e) => {
530
+ this.viewModel.uniformChartScaling = e.detail;
531
+ }}></arcgis-elevation-profile-settings>`;
532
+ }
533
+ _renderActions({ actions: e }) {
534
+ const i = this._messages, r = e.map((n) => {
535
+ switch (n.type) {
536
+ case "sketch":
537
+ return h({ hidden: this.hideSketchButton, children: this._renderAction({
538
+ action: n,
539
+ label: i.sketchButtonLabel,
540
+ primary: !0,
541
+ onClick: () => void this.start()
542
+ }) });
543
+ case "sketch-cancel":
544
+ return h({ hidden: this.hideSketchButton, children: this._renderAction({
545
+ action: n,
546
+ label: i.cancelButtonLabel,
547
+ primary: !1,
548
+ onClick: this._onCancelButtonClick
549
+ }) });
550
+ case "sketch-done":
551
+ return h({ hidden: this.hideSketchButton, children: this._renderAction({
552
+ action: n,
553
+ label: i.doneButtonLabel,
554
+ primary: !0,
555
+ onClick: this._onDoneButtonClick
556
+ }) });
557
+ case "select":
558
+ return h({ hidden: !this._selectButtonVisible, children: this._renderAction({
559
+ action: n,
560
+ label: i.selectButtonLabel,
561
+ primary: !1,
562
+ onClick: () => void this.select()
563
+ }) });
564
+ case "select-cancel":
565
+ return h({ hidden: !this._selectButtonVisible, children: this._renderAction({
566
+ action: n,
567
+ label: i.cancelButtonLabel,
568
+ primary: !1,
569
+ onClick: this._onCancelButtonClick
570
+ }) });
571
+ default:
572
+ return;
573
+ }
574
+ }).filter(Boolean);
575
+ return r.length ? c`<footer class="actions">${r}</footer>` : void 0;
576
+ }
577
+ _renderAction({ action: e, label: i, onClick: r, primary: n }) {
578
+ return c`<calcite-button .appearance=${n ? "solid" : "outline-fill"} class="action-button" .disabled=${e.disabled || void 0} @click=${r}>${i}</calcite-button>`;
29
579
  }
30
580
  }
31
- e("arcgis-elevation-profile", c);
581
+ function h(t) {
582
+ return t.hidden ? void 0 : t.children;
583
+ }
584
+ const p = [{ type: "select" }, { type: "sketch" }], Q = {
585
+ none: void 0,
586
+ "no-valid-input": "noProfile",
587
+ "no-available-profiles": "noProfile",
588
+ "too-complex": "tooComplex",
589
+ unknown: "unknown"
590
+ };
591
+ x("arcgis-elevation-profile", K);
32
592
  export {
33
- c as ArcgisElevationProfile
593
+ K as ArcgisElevationProfile
34
594
  };
@@ -1,7 +1,7 @@
1
1
  /// <reference types="@arcgis/core/interfaces.d.ts" />
2
2
  import { default as ElevationProfileAnalysis } from '@arcgis/core/analysis/ElevationProfileAnalysis.js';
3
3
  import { default as Polyline } from '@arcgis/core/geometry/Polyline.js';
4
- import { ElevationProfileResult } from './interfaces';
4
+ import { default as ElevationProfileResult } from '@arcgis/core/views/analysis/ElevationProfile/ElevationProfileResult';
5
5
  export declare function inputIsValid({ geometry }: ElevationProfileAnalysis): boolean;
6
6
  export declare function hasVertices({ geometry }: ElevationProfileAnalysis): boolean;
7
7
  export declare function resultHasSamples(result: ElevationProfileResult | nullish): boolean;
@@ -1 +1,6 @@
1
+ import "@esri/calcite-components/components/calcite-action";
2
+ import "@esri/calcite-components/components/calcite-loader";
3
+ import "../arcgis-elevation-profile-legend/index.js";
4
+ import "../arcgis-elevation-profile-settings/index.js";
5
+ import "@esri/calcite-components/components/calcite-button";
1
6
  export * from "./customElement.js";