@arcgis/map-components 5.0.0-next.35 → 5.0.0-next.37

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 (499) hide show
  1. package/dist/cdn/{L7ECOUCJ.js → 2ERLDLOV.js} +2 -2
  2. package/dist/cdn/{MS4H2ZNG.js → 2F5GUJUU.js} +1 -1
  3. package/dist/cdn/2FHHPE2U.js +4 -0
  4. package/dist/cdn/{QCUUWZMP.js → 2L3E2PU6.js} +2 -2
  5. package/dist/cdn/{D6XOHSHH.js → 2RIX2L4E.js} +2 -2
  6. package/dist/cdn/{WHFA2MWO.js → 3F5BWIWV.js} +2 -2
  7. package/dist/cdn/{Z7L64P7N.js → 3IZ3OJQB.js} +2 -2
  8. package/dist/cdn/{6A2VCXEK.js → 3RDT5P2I.js} +2 -2
  9. package/dist/cdn/{EZBHHUWP.js → 3U5ALAM7.js} +2 -2
  10. package/dist/cdn/{5VXGXT72.js → 3WEG4LAP.js} +2 -2
  11. package/dist/cdn/{HFMGDDYV.js → 43NR6EC4.js} +2 -2
  12. package/dist/cdn/{J4L6FN7N.js → 4BBVWVBY.js} +2 -2
  13. package/dist/cdn/{6LSEE7B7.js → 4NIDNKC6.js} +2 -2
  14. package/dist/cdn/{RM2MOREY.js → 4RLD7KEU.js} +2 -2
  15. package/dist/cdn/{KWDY6C5P.js → 4UP5BSOI.js} +2 -2
  16. package/dist/cdn/{7YJRFST3.js → 4VWBCPQU.js} +1 -1
  17. package/dist/cdn/{DCWWVVMM.js → 4X4NX5VN.js} +2 -2
  18. package/dist/cdn/{2F2K4X6U.js → 56G6XDD7.js} +2 -2
  19. package/dist/cdn/{AQZZFULE.js → 5N2VB45Z.js} +1 -1
  20. package/dist/cdn/{53GKDMR3.js → 5RBXY763.js} +2 -2
  21. package/dist/cdn/{OAR25NIZ.js → 5ZO4FMAR.js} +2 -2
  22. package/dist/cdn/{UVSONQCM.js → 63QUKC54.js} +2 -2
  23. package/dist/cdn/{ZEMMR7KB.js → 6E44JV4B.js} +2 -2
  24. package/dist/cdn/{S4BI6GVO.js → 6KBIMG4D.js} +2 -2
  25. package/dist/cdn/{4PEZ4FRJ.js → 6PDH4QQI.js} +2 -2
  26. package/dist/cdn/{22FWFJSW.js → 6VDAO7RG.js} +2 -2
  27. package/dist/cdn/{224X3SAZ.js → 6WAKPHHX.js} +2 -2
  28. package/dist/cdn/{R6HCQHD5.js → 72FUQHOO.js} +2 -2
  29. package/dist/cdn/75OYXED5.js +4 -0
  30. package/dist/cdn/{7NXTAHEK.js → 76DPDGD3.js} +2 -2
  31. package/dist/cdn/{YSXJTFT6.js → 7ONF45EA.js} +2 -2
  32. package/dist/cdn/{TYTL4AUF.js → 7OOG3KYO.js} +2 -2
  33. package/dist/cdn/{7IVKOZAV.js → 7QZQOHIT.js} +2 -2
  34. package/dist/cdn/{YL274O23.js → 7S7KGAQZ.js} +2 -2
  35. package/dist/cdn/{KRFMFKPZ.js → 7SD6HCIF.js} +2 -2
  36. package/dist/cdn/{MXOXRFRN.js → ACC7BINE.js} +2 -2
  37. package/dist/cdn/{S5UW7FUT.js → AI4ESZHO.js} +1 -1
  38. package/dist/cdn/{T3AJYWX6.js → ALWKJ7RU.js} +2 -2
  39. package/dist/cdn/{75CBICXV.js → B2NV7VCA.js} +1 -1
  40. package/dist/cdn/{NXIYJUC5.js → BA7GMTG3.js} +2 -2
  41. package/dist/cdn/{OMFGAJHJ.js → BATICWFO.js} +2 -2
  42. package/dist/cdn/{OJGL2JIU.js → BGGTIZZD.js} +2 -2
  43. package/dist/cdn/{ALMKHLQP.js → BVLQGDK6.js} +2 -2
  44. package/dist/cdn/{MYHIA2LW.js → BXEFL377.js} +2 -2
  45. package/dist/cdn/{6YRD3JH2.js → C2LSCT5G.js} +2 -2
  46. package/dist/cdn/{QK4CFIQR.js → C3XMGCZG.js} +2 -2
  47. package/dist/cdn/{WO4GVL4Q.js → C7ZEOPEC.js} +2 -2
  48. package/dist/cdn/{OSHBXR2D.js → CEW7DBKQ.js} +2 -2
  49. package/dist/cdn/{G36UH75X.js → CKDJ6BW3.js} +2 -2
  50. package/dist/cdn/{U77CJERQ.js → CMFAOWSC.js} +2 -2
  51. package/dist/cdn/{K56L7KLU.js → COUSFTBO.js} +2 -2
  52. package/dist/cdn/{PA4HRSTZ.js → CT65UHWF.js} +2 -2
  53. package/dist/cdn/{WGLOEGZA.js → CV23B45Y.js} +3 -3
  54. package/dist/cdn/{G5NQ2EYT.js → D5L6UNJX.js} +2 -2
  55. package/dist/cdn/{OD6LZQLN.js → D5YSQJ2U.js} +2 -2
  56. package/dist/cdn/{UCJBWQ3I.js → DCG4HDHJ.js} +2 -2
  57. package/dist/cdn/{WZGJNWVQ.js → DHC57QK3.js} +2 -2
  58. package/dist/cdn/{FMQZU7VT.js → DHW4R26Y.js} +2 -2
  59. package/dist/cdn/{U6DAFFSJ.js → DLMDEVV6.js} +2 -2
  60. package/dist/cdn/{WWKYOWLH.js → DMFIV2PO.js} +2 -2
  61. package/dist/cdn/{2ZRRWIDQ.js → DN7O6WUE.js} +2 -2
  62. package/dist/cdn/{T65V4IVX.js → DWC7ATZQ.js} +2 -2
  63. package/dist/cdn/{I6NHLFZC.js → E3EPYWDM.js} +2 -2
  64. package/dist/cdn/{KM3LWTRC.js → EBDKZ452.js} +2 -2
  65. package/dist/cdn/{BB44SHP3.js → EJ5I3EO2.js} +2 -2
  66. package/dist/cdn/{CFRULRGC.js → EQFIJYHE.js} +2 -2
  67. package/dist/cdn/{4ZCQWMLP.js → F2HK6GJU.js} +2 -2
  68. package/dist/cdn/F2PZDFFE.js +4 -0
  69. package/dist/cdn/{NRTCLTUA.js → F35TUXEN.js} +2 -2
  70. package/dist/cdn/{FN5TDCVF.js → F3OUZ5UP.js} +2 -2
  71. package/dist/cdn/{WG52LNMF.js → F57M2PTM.js} +2 -2
  72. package/dist/cdn/{3WTZNLXL.js → FDLYFPJD.js} +2 -2
  73. package/dist/cdn/{WOMF5TYE.js → FFC7UHII.js} +2 -2
  74. package/dist/cdn/{DMNR6JBU.js → FGML3XI5.js} +2 -2
  75. package/dist/cdn/{56Z3OQNJ.js → FM4TWF5Y.js} +2 -2
  76. package/dist/cdn/{2REH2SRN.js → FRUOT26C.js} +2 -2
  77. package/dist/cdn/{PJJN5ROW.js → G7LS6PTG.js} +2 -2
  78. package/dist/cdn/{B6JPREHA.js → GB72CWLS.js} +2 -2
  79. package/dist/cdn/{QKXDCADK.js → GQDYQJMS.js} +2 -2
  80. package/dist/cdn/{ICIWQKCZ.js → GRFB2XL7.js} +2 -2
  81. package/dist/cdn/{PN5PBFAQ.js → GRPPWVXA.js} +2 -2
  82. package/dist/cdn/{JOER24XS.js → GTX2M7D5.js} +2 -2
  83. package/dist/cdn/{AVAAMOCP.js → GVYJVCME.js} +2 -2
  84. package/dist/cdn/{QFTWVR6L.js → H2UWUXOZ.js} +2 -2
  85. package/dist/cdn/{263U4AAO.js → H6MHM5HZ.js} +2 -2
  86. package/dist/cdn/{FRMGV36M.js → HEVL4BIX.js} +2 -2
  87. package/dist/cdn/{LAAP3BRO.js → HI5SMRS6.js} +1 -1
  88. package/dist/cdn/{543DEVTA.js → HK7NDQ4Y.js} +2 -2
  89. package/dist/cdn/{EL5TFDTF.js → HLU4UTQS.js} +1 -1
  90. package/dist/cdn/{ZSIXH6LL.js → HMRPQIC2.js} +2 -2
  91. package/dist/cdn/{ZDI45V74.js → HMZ4MFIW.js} +2 -2
  92. package/dist/cdn/{D3F72YAY.js → HR5N76QI.js} +2 -2
  93. package/dist/cdn/{ABE66HJK.js → HTIIORTK.js} +2 -2
  94. package/dist/cdn/{PQHPJVPH.js → IBNUSMHT.js} +1 -1
  95. package/dist/cdn/{QOHDMAS7.js → IECAGJVB.js} +2 -2
  96. package/dist/cdn/{DRIX6INP.js → IQEEIX5N.js} +2 -2
  97. package/dist/cdn/{6PFJZM2W.js → J2TT3S5P.js} +2 -2
  98. package/dist/cdn/{ZC75XSUD.js → J4N4CELN.js} +2 -2
  99. package/dist/cdn/{A2VBJEKV.js → J4OYZZ3N.js} +2 -2
  100. package/dist/cdn/{7EJMJJUR.js → J6N6TF7X.js} +2 -2
  101. package/dist/cdn/{FXIH42ZE.js → J6UCHM45.js} +2 -2
  102. package/dist/cdn/{NHNFRZDQ.js → J7F5HIQ5.js} +2 -2
  103. package/dist/cdn/{EHNFJ2WK.js → JKCOLZI6.js} +2 -2
  104. package/dist/cdn/{TZR43QZT.js → JUDLMDN5.js} +2 -2
  105. package/dist/cdn/{FMVSJOD6.js → K2H4PAYF.js} +2 -2
  106. package/dist/cdn/{545RONET.js → KBQ6EG33.js} +2 -2
  107. package/dist/cdn/{ZDWKFXZT.js → KE4AR6IE.js} +2 -2
  108. package/dist/cdn/{EDNPDD2G.js → KNLIRA5Z.js} +2 -2
  109. package/dist/cdn/KO2QPRQ5.js +4 -0
  110. package/dist/cdn/{YOWBZDFU.js → KPWESUJW.js} +2 -2
  111. package/dist/cdn/{2MZTN4GZ.js → KSV5WIF6.js} +2 -2
  112. package/dist/cdn/{LTHBGX26.js → KXURJYEV.js} +1 -1
  113. package/dist/cdn/KYMBQG3E.js +4 -0
  114. package/dist/cdn/{COJWOXUI.js → L63H4C6J.js} +2 -2
  115. package/dist/cdn/{TGZVNHIA.js → LUHLBBQG.js} +2 -2
  116. package/dist/cdn/{RBAZJ74K.js → LXPFMOVU.js} +2 -2
  117. package/dist/cdn/M2E32NEN.js +4 -0
  118. package/dist/cdn/{5GLZHIOI.js → M4ZQ6IHO.js} +2 -2
  119. package/dist/cdn/{23ZGEGTJ.js → M5MH2V4B.js} +2 -2
  120. package/dist/cdn/{Q2Z3TB7I.js → MAERPOIR.js} +2 -2
  121. package/dist/cdn/{EWSFR5DD.js → MMB6JHC2.js} +2 -2
  122. package/dist/cdn/{DR6VT244.js → MO2H6CHS.js} +2 -2
  123. package/dist/cdn/{AXHHPPY5.js → MQTJOLPM.js} +2 -2
  124. package/dist/cdn/{IFORKMFB.js → MT3DTQFO.js} +2 -2
  125. package/dist/cdn/{PTOJPQ2T.js → MUHIUQUT.js} +2 -2
  126. package/dist/cdn/{FVIA35SY.js → MV2SUNWN.js} +2 -2
  127. package/dist/cdn/{I26JMKTF.js → N2UCDNZ7.js} +2 -2
  128. package/dist/cdn/{RY5TWSDX.js → N7ZKNRNB.js} +1 -1
  129. package/dist/cdn/{OX3HKB5I.js → NNCKMWOT.js} +2 -2
  130. package/dist/cdn/{P25VOKM6.js → NV55I5D4.js} +2 -2
  131. package/dist/cdn/{6ISXPN7W.js → NWZH4BAB.js} +2 -2
  132. package/dist/cdn/{X4APY3QO.js → O7LXVDI3.js} +2 -2
  133. package/dist/cdn/{4LKXH4VM.js → O7XQPY53.js} +2 -2
  134. package/dist/cdn/{E3DVB47G.js → OD7H2GMI.js} +2 -2
  135. package/dist/cdn/{NGRYMS33.js → OI723SEX.js} +2 -2
  136. package/dist/cdn/{PRWX4UWO.js → OKAXBB4C.js} +2 -2
  137. package/dist/cdn/{JRPPPCTD.js → OSGGELZB.js} +2 -2
  138. package/dist/cdn/{5YRAMF5K.js → OT26OVJY.js} +2 -2
  139. package/dist/cdn/{5EBLDKX2.js → OTGD45MC.js} +2 -2
  140. package/dist/cdn/{44KQKSBE.js → OU5ELNSA.js} +2 -2
  141. package/dist/cdn/{WZYSENNW.js → P4QUA7FO.js} +2 -2
  142. package/dist/cdn/{LWKAI63E.js → P7RZ2B3H.js} +2 -2
  143. package/dist/cdn/{VZK2EM2U.js → PSGS6NMN.js} +2 -2
  144. package/dist/cdn/{M4BAKHIL.js → PSHZROCK.js} +2 -2
  145. package/dist/cdn/{MNZO2BXW.js → PWLUYK2L.js} +2 -2
  146. package/dist/cdn/{BR75DTZM.js → Q5FZY63C.js} +2 -2
  147. package/dist/cdn/{5K5ZMFCQ.js → Q77JCS6Y.js} +2 -2
  148. package/dist/cdn/{CNJ6KRCJ.js → QJW2D7F5.js} +2 -2
  149. package/dist/cdn/{45ZVS7AI.js → QNGMX4WS.js} +2 -2
  150. package/dist/cdn/{XGYBHRZZ.js → R3LPKZPL.js} +2 -2
  151. package/dist/cdn/{3NBREEJO.js → RETBYBEU.js} +2 -2
  152. package/dist/cdn/{TFAOBI26.js → RETPEMT2.js} +2 -2
  153. package/dist/cdn/{RBQPEGAP.js → REX2ASI4.js} +2 -2
  154. package/dist/cdn/{VFQT35OV.js → RGXVCGIV.js} +2 -2
  155. package/dist/cdn/{4SFA7EFU.js → RS6O7S6W.js} +2 -2
  156. package/dist/cdn/{JQRXUJSX.js → RTQ4ZH6R.js} +1 -1
  157. package/dist/cdn/{LDVXBXVB.js → RWAHER6H.js} +2 -2
  158. package/dist/cdn/{64RG6DKB.js → S5BBMQZC.js} +2 -2
  159. package/dist/cdn/{EMRSUSFQ.js → S5SAAYWH.js} +2 -2
  160. package/dist/cdn/{O3VWHVBO.js → SCF6ZOVR.js} +2 -2
  161. package/dist/cdn/{3TO5FKAG.js → SOCHLRN7.js} +2 -2
  162. package/dist/cdn/{LT44YFB3.js → SRAT5AYK.js} +2 -2
  163. package/dist/cdn/{AB2UOG3O.js → SS7EYEZX.js} +2 -2
  164. package/dist/cdn/{QEQSIFKV.js → SXDKTX2P.js} +2 -2
  165. package/dist/cdn/{762WAMRW.js → T526U6I7.js} +2 -2
  166. package/dist/cdn/{M37OTBC5.js → T7AYC3JQ.js} +2 -2
  167. package/dist/cdn/{E3R6REBD.js → TEUTIHGO.js} +2 -2
  168. package/dist/cdn/{ZSYPONCO.js → TFGAKKLA.js} +2 -2
  169. package/dist/cdn/{443VLXJU.js → TKT7UBQR.js} +2 -2
  170. package/dist/cdn/{AEOUOJIC.js → TPW7AHO4.js} +1 -1
  171. package/dist/cdn/{L5TR3ISI.js → TQVYF6AA.js} +2 -2
  172. package/dist/cdn/{6G524JYP.js → TUJKKS5D.js} +2 -2
  173. package/dist/cdn/{EJ6BRSS3.js → TXIFEERG.js} +2 -2
  174. package/dist/cdn/{R6GB4OLF.js → TYJO4MZC.js} +2 -2
  175. package/dist/cdn/{54AZNCLM.js → UGNMKLQ2.js} +2 -2
  176. package/dist/cdn/{BEM6AIJ5.js → UL5ZABW4.js} +2 -2
  177. package/dist/cdn/{U6BKK7ES.js → UNXAXV6T.js} +2 -2
  178. package/dist/cdn/{NOQKBJX5.js → UQFQA43A.js} +2 -2
  179. package/dist/cdn/{6PAV3H7H.js → UUEMBBCZ.js} +2 -2
  180. package/dist/cdn/{J7CBRHF3.js → UY3AHW7O.js} +1 -1
  181. package/dist/cdn/{MD4MQWAZ.js → UZLVSUUU.js} +2 -2
  182. package/dist/cdn/{SQFZPOSN.js → VDHA76OZ.js} +2 -2
  183. package/dist/cdn/VEOBIIHV.js +4 -0
  184. package/dist/cdn/{2ML55H4Y.js → VIN3JXVK.js} +2 -2
  185. package/dist/cdn/{F2Z422XX.js → VMEBTCTG.js} +2 -2
  186. package/dist/cdn/{JVHV4IYE.js → VORTGEUR.js} +2 -2
  187. package/dist/cdn/{D5HNOBJH.js → VU7FZY2H.js} +2 -2
  188. package/dist/cdn/{YTZOYRRL.js → VUNDAV7D.js} +2 -2
  189. package/dist/cdn/{2NJ7SNSF.js → VYQL7FQY.js} +2 -2
  190. package/dist/cdn/{63FS7QVJ.js → W44SQKDK.js} +2 -2
  191. package/dist/cdn/{5JC54MR3.js → WA2XIDJS.js} +2 -2
  192. package/dist/cdn/{AXXKYYKZ.js → WGOT74Q5.js} +2 -2
  193. package/dist/cdn/{KME7NPJK.js → WKONOVLG.js} +2 -2
  194. package/dist/cdn/{VEL5HAZW.js → WNJPXV2N.js} +2 -2
  195. package/dist/cdn/{FFC7OGSF.js → WRZ6AWOC.js} +2 -2
  196. package/dist/cdn/{KLZKBVIU.js → WYQG7IVY.js} +2 -2
  197. package/dist/cdn/{IYUKHMVB.js → X37CKIUL.js} +2 -2
  198. package/dist/cdn/{OA2KWN6G.js → X4375CVD.js} +2 -2
  199. package/dist/cdn/{GGTFELQC.js → XA7JDFPN.js} +2 -2
  200. package/dist/cdn/{EG5RX2QV.js → XF6BYP66.js} +2 -2
  201. package/dist/cdn/{YDKOT22A.js → XPIULVEZ.js} +2 -2
  202. package/dist/cdn/{CTRHER4R.js → XQAH4CUZ.js} +2 -2
  203. package/dist/cdn/{5BM4Y5TU.js → XRI6YWZL.js} +2 -2
  204. package/dist/cdn/{S5FZKHWF.js → XRR7ZJA6.js} +2 -2
  205. package/dist/cdn/{YLS7SLBG.js → XUXUCBEP.js} +2 -2
  206. package/dist/cdn/{XI4AR7X2.js → Y5RS3RQX.js} +2 -2
  207. package/dist/cdn/{NY2ROMUK.js → YE4RTMVS.js} +2 -2
  208. package/dist/cdn/{43ALRTOT.js → YJCVVKWW.js} +2 -2
  209. package/dist/cdn/{UYLAGUQB.js → YKKDAPCQ.js} +2 -2
  210. package/dist/cdn/{L65I7LRN.js → YL2K3ZXY.js} +2 -2
  211. package/dist/cdn/{DMDOQPVQ.js → YRKZ6WCH.js} +2 -2
  212. package/dist/cdn/{DCSNQICV.js → YVXXMU5E.js} +2 -2
  213. package/dist/cdn/{ONFARU7F.js → YXDJU7FA.js} +1 -1
  214. package/dist/cdn/{JUCIVK2C.js → YZ34APXV.js} +2 -2
  215. package/dist/cdn/{54RPVCND.js → Z4RJR5WI.js} +2 -2
  216. package/dist/cdn/{VHHOMETN.js → Z53GK763.js} +2 -2
  217. package/dist/cdn/{OA74E4I3.js → ZF3HA6VM.js} +2 -2
  218. package/dist/cdn/{PEBUQEDM.js → ZK3GNRHH.js} +2 -2
  219. package/dist/cdn/{BXIJ6Y23.js → ZQMYVIVB.js} +1 -1
  220. package/dist/cdn/{34PX5RXG.js → ZQTWGYTW.js} +2 -2
  221. package/dist/cdn/{W4Z2KOS5.js → ZT5RAC7D.js} +2 -2
  222. package/dist/cdn/{M5LMYWQC.js → ZVFWDKAV.js} +2 -2
  223. package/dist/cdn/{7GBQ53WK.js → ZZDYD6GH.js} +2 -2
  224. package/dist/cdn/assets/area-measurement-2d/t9n/messages.en.json +1 -1
  225. package/dist/cdn/index.js +2 -2
  226. package/dist/cdn/main.css +1 -1
  227. package/dist/chunks/AnalysisViewModel.js +1 -1
  228. package/dist/chunks/action-utils.js +1 -1
  229. package/dist/chunks/async-utils.js +1 -1
  230. package/dist/chunks/basemap-gallery-resources.js +1 -1
  231. package/dist/chunks/chart-utils.js +1 -1
  232. package/dist/chunks/chartCommon.js +1 -1
  233. package/dist/chunks/component-utils.js +1 -1
  234. package/dist/chunks/createCloseEvent.js +1 -1
  235. package/dist/chunks/esri-main.js +1 -1
  236. package/dist/chunks/feature-utils.js +1 -1
  237. package/dist/chunks/globalCss.js +1 -1
  238. package/dist/chunks/handle.js +1 -1
  239. package/dist/chunks/heading.js +1 -1
  240. package/dist/chunks/layer-list.js +1 -1
  241. package/dist/chunks/legacyIcon.js +1 -1
  242. package/dist/chunks/maybe.js +1 -1
  243. package/dist/chunks/measurementUtils.js +1 -1
  244. package/dist/chunks/runtime.js +1 -1
  245. package/dist/chunks/screenLocation.js +1 -1
  246. package/dist/chunks/slots.js +1 -1
  247. package/dist/chunks/svgUtils.js +1 -1
  248. package/dist/chunks/univariateUtils.js +1 -1
  249. package/dist/chunks/useArcgisViewReadyError.js +1 -1
  250. package/dist/chunks/useHandles.js +1 -1
  251. package/dist/chunks/useT9n.js +1 -1
  252. package/dist/chunks/useView.js +1 -1
  253. package/dist/chunks/useViewModel.js +1 -1
  254. package/dist/chunks/useWidget.js +1 -1
  255. package/dist/chunks/utils.js +1 -1
  256. package/dist/chunks/utils2.js +1 -1
  257. package/dist/components/arcgis-area-measurement-2d/AreaMeasurement2dViewModel.d.ts +39 -0
  258. package/dist/components/arcgis-area-measurement-2d/customElement.d.ts +69 -53
  259. package/dist/components/arcgis-area-measurement-2d/customElement.js +131 -19
  260. package/dist/components/arcgis-area-measurement-2d/index.d.ts +3 -0
  261. package/dist/components/arcgis-area-measurement-2d/index.js +3 -0
  262. package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +2 -2
  263. package/dist/components/arcgis-area-measurement-3d/customElement.js +1 -1
  264. package/dist/components/arcgis-attachments/customElement.js +1 -1
  265. package/dist/components/arcgis-basemap-gallery/customElement.d.ts +1 -1
  266. package/dist/components/arcgis-basemap-gallery/customElement.js +1 -1
  267. package/dist/components/arcgis-basemap-gallery-item/customElement.js +1 -1
  268. package/dist/components/arcgis-basemap-layer-list/customElement.js +1 -1
  269. package/dist/components/arcgis-basemap-toggle/customElement.js +1 -1
  270. package/dist/components/arcgis-bookmarks/customElement.js +1 -1
  271. package/dist/components/arcgis-building-explorer/customElement.js +1 -1
  272. package/dist/components/arcgis-catalog-layer-list/customElement.js +1 -1
  273. package/dist/components/arcgis-compass/customElement.js +1 -1
  274. package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +1 -1
  275. package/dist/components/arcgis-coordinate-conversion/customElement.js +1 -1
  276. package/dist/components/arcgis-daylight/customElement.d.ts +4 -0
  277. package/dist/components/arcgis-daylight/customElement.js +1 -1
  278. package/dist/components/arcgis-direct-line-measurement-3d/customElement.d.ts +2 -2
  279. package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +2 -2
  280. package/dist/components/arcgis-directional-pad/customElement.js +1 -1
  281. package/dist/components/arcgis-directions/customElement.d.ts +1 -1
  282. package/dist/components/arcgis-directions/customElement.js +1 -1
  283. package/dist/components/arcgis-distance-measurement-2d/DistanceMeasurement2dViewModel.d.ts +38 -0
  284. package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +68 -49
  285. package/dist/components/arcgis-distance-measurement-2d/customElement.js +126 -16
  286. package/dist/components/arcgis-distance-measurement-2d/index.d.ts +3 -0
  287. package/dist/components/arcgis-distance-measurement-2d/index.js +3 -0
  288. package/dist/components/arcgis-editor/customElement.d.ts +1 -1
  289. package/dist/components/arcgis-editor/customElement.js +1 -1
  290. package/dist/components/arcgis-elevation-profile/customElement.d.ts +107 -72
  291. package/dist/components/arcgis-elevation-profile/customElement.js +573 -16
  292. package/dist/components/arcgis-elevation-profile/index.d.ts +5 -0
  293. package/dist/components/arcgis-elevation-profile/index.js +5 -0
  294. package/dist/components/arcgis-elevation-profile-legend/customElement.d.ts +1 -1
  295. package/dist/components/arcgis-elevation-profile-legend/customElement.js +1 -1
  296. package/dist/components/arcgis-elevation-profile-legend-item/customElement.d.ts +1 -1
  297. package/dist/components/arcgis-elevation-profile-legend-item/customElement.js +1 -1
  298. package/dist/components/arcgis-elevation-profile-settings/customElement.d.ts +1 -1
  299. package/dist/components/arcgis-elevation-profile-settings/customElement.js +1 -1
  300. package/dist/components/arcgis-elevation-profile-statistics/customElement.d.ts +1 -1
  301. package/dist/components/arcgis-elevation-profile-statistics/customElement.js +1 -1
  302. package/dist/components/arcgis-expand/customElement.d.ts +1 -1
  303. package/dist/components/arcgis-expand/customElement.js +1 -1
  304. package/dist/components/arcgis-feature/customElement.js +1 -1
  305. package/dist/components/arcgis-feature-attachments/customElement.js +1 -1
  306. package/dist/components/arcgis-feature-content/customElement.js +1 -1
  307. package/dist/components/arcgis-feature-element-info/customElement.js +1 -1
  308. package/dist/components/arcgis-feature-expression/customElement.js +1 -1
  309. package/dist/components/arcgis-feature-fields/customElement.js +1 -1
  310. package/dist/components/arcgis-feature-form/customElement.js +1 -1
  311. package/dist/components/arcgis-feature-media/customElement.js +1 -1
  312. package/dist/components/arcgis-feature-relationship/customElement.js +1 -1
  313. package/dist/components/arcgis-feature-table/customElement.d.ts +3 -3
  314. package/dist/components/arcgis-feature-table/customElement.js +1 -1
  315. package/dist/components/arcgis-feature-templates/customElement.js +1 -1
  316. package/dist/components/arcgis-feature-utility-network-association-list/customElement.js +1 -1
  317. package/dist/components/arcgis-feature-utility-network-associations/customElement.js +1 -1
  318. package/dist/components/arcgis-features/customElement.d.ts +2 -2
  319. package/dist/components/arcgis-features/customElement.js +1 -1
  320. package/dist/components/arcgis-floor-filter/customElement.js +1 -1
  321. package/dist/components/arcgis-fullscreen/customElement.js +1 -1
  322. package/dist/components/arcgis-grid-controls/customElement.d.ts +1 -1
  323. package/dist/components/arcgis-grid-controls/customElement.js +1 -1
  324. package/dist/components/arcgis-histogram-range-slider/customElement.d.ts +1 -1
  325. package/dist/components/arcgis-histogram-range-slider/customElement.js +1 -1
  326. package/dist/components/arcgis-home/customElement.js +1 -1
  327. package/dist/components/arcgis-labeled-switch/customElement.js +1 -1
  328. package/dist/components/arcgis-layer-list/customElement.js +1 -1
  329. package/dist/components/arcgis-layer-list-item/customElement.js +1 -1
  330. package/dist/components/arcgis-legend/customElement.js +1 -1
  331. package/dist/components/arcgis-legend-card-color-ramp/customElement.js +1 -1
  332. package/dist/components/arcgis-legend-card-element/customElement.js +1 -1
  333. package/dist/components/arcgis-legend-card-size-ramp/customElement.js +1 -1
  334. package/dist/components/arcgis-legend-card-univariate-above-and-below-ramp/customElement.js +1 -1
  335. package/dist/components/arcgis-legend-card-univariate-color-size-ramp/customElement.js +1 -1
  336. package/dist/components/arcgis-legend-card-view/customElement.js +1 -1
  337. package/dist/components/arcgis-legend-classic-color-ramp/customElement.js +1 -1
  338. package/dist/components/arcgis-legend-classic-element/customElement.js +1 -1
  339. package/dist/components/arcgis-legend-classic-size-ramp/customElement.js +1 -1
  340. package/dist/components/arcgis-legend-classic-univariate-above-and-below-ramp/customElement.js +1 -1
  341. package/dist/components/arcgis-legend-classic-univariate-color-size-ramp/customElement.js +1 -1
  342. package/dist/components/arcgis-legend-classic-view/customElement.js +1 -1
  343. package/dist/components/arcgis-legend-relationship-ramp/customElement.js +1 -1
  344. package/dist/components/arcgis-legend-spike-ramp/customElement.js +1 -1
  345. package/dist/components/arcgis-line-of-sight/customElement.d.ts +1 -1
  346. package/dist/components/arcgis-line-of-sight/customElement.js +1 -1
  347. package/dist/components/arcgis-link-chart/customElement.d.ts +3 -3
  348. package/dist/components/arcgis-link-chart/customElement.js +1 -1
  349. package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +1 -1
  350. package/dist/components/arcgis-locate/customElement.js +1 -1
  351. package/dist/components/arcgis-map/customElement.d.ts +3 -3
  352. package/dist/components/arcgis-map/customElement.js +1 -1
  353. package/dist/components/arcgis-measurement/customElement.d.ts +3 -3
  354. package/dist/components/arcgis-measurement/customElement.js +1 -1
  355. package/dist/components/arcgis-measurement-content/customElement.js +1 -1
  356. package/dist/components/arcgis-navigation-toggle/customElement.d.ts +12 -0
  357. package/dist/components/arcgis-navigation-toggle/customElement.js +11 -8
  358. package/dist/components/arcgis-oriented-imagery-viewer/customElement.d.ts +1 -1
  359. package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +1 -1
  360. package/dist/components/arcgis-placement/customElement.js +1 -1
  361. package/dist/components/arcgis-popup/customElement.d.ts +2 -2
  362. package/dist/components/arcgis-popup/customElement.js +1 -1
  363. package/dist/components/arcgis-print/customElement.js +1 -1
  364. package/dist/components/arcgis-print-custom-text-elements/customElement.js +1 -1
  365. package/dist/components/arcgis-print-dpi-input/customElement.js +1 -1
  366. package/dist/components/arcgis-print-export-button/customElement.js +1 -1
  367. package/dist/components/arcgis-print-exported-link/customElement.js +1 -1
  368. package/dist/components/arcgis-print-exports-panel/customElement.js +1 -1
  369. package/dist/components/arcgis-print-format-select/customElement.js +1 -1
  370. package/dist/components/arcgis-print-layout-advanced-options/customElement.js +1 -1
  371. package/dist/components/arcgis-print-layout-panel/customElement.js +1 -1
  372. package/dist/components/arcgis-print-main-panel/customElement.js +1 -1
  373. package/dist/components/arcgis-print-map-only-advanced-options/customElement.js +1 -1
  374. package/dist/components/arcgis-print-map-only-panel/customElement.js +1 -1
  375. package/dist/components/arcgis-print-out-spatial-reference-input/customElement.js +1 -1
  376. package/dist/components/arcgis-print-preview-input/customElement.js +1 -1
  377. package/dist/components/arcgis-print-scale-section/customElement.js +1 -1
  378. package/dist/components/arcgis-print-template-select/customElement.js +1 -1
  379. package/dist/components/arcgis-print-template-selector/customElement.js +1 -1
  380. package/dist/components/arcgis-scale-bar/customElement.js +1 -1
  381. package/dist/components/arcgis-scale-range-slider/customElement.d.ts +1 -1
  382. package/dist/components/arcgis-scale-range-slider/customElement.js +1 -1
  383. package/dist/components/arcgis-scene/customElement.d.ts +21 -5
  384. package/dist/components/arcgis-scene/customElement.js +6 -6
  385. package/dist/components/arcgis-search/customElement.js +1 -1
  386. package/dist/components/arcgis-search-result-renderer/customElement.js +1 -1
  387. package/dist/components/arcgis-shadow-cast/customElement.d.ts +1 -1
  388. package/dist/components/arcgis-shadow-cast/customElement.js +1 -1
  389. package/dist/components/arcgis-sketch/customElement.d.ts +4 -4
  390. package/dist/components/arcgis-sketch/customElement.js +1 -1
  391. package/dist/components/arcgis-slice/customElement.d.ts +1 -1
  392. package/dist/components/arcgis-slice/customElement.js +1 -1
  393. package/dist/components/arcgis-spinner/customElement.js +1 -1
  394. package/dist/components/arcgis-swipe/customElement.js +1 -1
  395. package/dist/components/arcgis-table-list/customElement.d.ts +1 -1
  396. package/dist/components/arcgis-table-list/customElement.js +1 -1
  397. package/dist/components/arcgis-time-slider/customElement.d.ts +1 -1
  398. package/dist/components/arcgis-time-slider/customElement.js +1 -1
  399. package/dist/components/arcgis-time-zone-label/customElement.js +1 -1
  400. package/dist/components/arcgis-track/customElement.js +1 -1
  401. package/dist/components/arcgis-unit-select/customElement.js +1 -1
  402. package/dist/components/arcgis-utility-network-association-list/customElement.js +1 -1
  403. package/dist/components/arcgis-utility-network-associations/customElement.js +1 -1
  404. package/dist/components/arcgis-utility-network-result-feature-list/customElement.js +1 -1
  405. package/dist/components/arcgis-utility-network-subnetwork-info/customElement.js +1 -1
  406. package/dist/components/arcgis-utility-network-trace/customElement.d.ts +1 -1
  407. package/dist/components/arcgis-utility-network-trace/customElement.js +1 -1
  408. package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +1 -1
  409. package/dist/components/arcgis-utility-network-trace-inputs/customElement.js +1 -1
  410. package/dist/components/arcgis-utility-network-trace-location/customElement.js +1 -1
  411. package/dist/components/arcgis-utility-network-trace-results/customElement.js +1 -1
  412. package/dist/components/arcgis-utility-network-validate-topology/customElement.js +1 -1
  413. package/dist/components/arcgis-value-picker/customElement.d.ts +1 -1
  414. package/dist/components/arcgis-value-picker/customElement.js +1 -1
  415. package/dist/components/arcgis-version-management/customElement.js +1 -1
  416. package/dist/components/arcgis-version-management-service-item/customElement.js +1 -1
  417. package/dist/components/arcgis-version-management-version-list/customElement.js +1 -1
  418. package/dist/components/arcgis-version-management-version-properties/customElement.js +1 -1
  419. package/dist/components/arcgis-video/customElement.d.ts +2 -2
  420. package/dist/components/arcgis-video/customElement.js +1 -1
  421. package/dist/components/arcgis-video-player/customElement.js +1 -1
  422. package/dist/components/arcgis-video-player-action-bar/customElement.js +1 -1
  423. package/dist/components/arcgis-video-player-actions-group/customElement.js +1 -1
  424. package/dist/components/arcgis-video-player-controls-group/customElement.js +1 -1
  425. package/dist/components/arcgis-video-player-metadata/customElement.js +1 -1
  426. package/dist/components/arcgis-video-player-settings/customElement.js +1 -1
  427. package/dist/components/arcgis-video-player-slider/customElement.js +1 -1
  428. package/dist/components/arcgis-weather/customElement.js +1 -1
  429. package/dist/components/arcgis-zoom/customElement.js +1 -1
  430. package/dist/docs/api.json +357 -1322
  431. package/dist/docs/docs.json +721 -1512
  432. package/dist/docs/vscode.html-custom-data.json +29 -198
  433. package/dist/docs/web-types.json +92 -373
  434. package/dist/index.d.ts +0 -20
  435. package/dist/index.js +1 -1
  436. package/dist/loader.js +6 -7
  437. package/dist/support/AnalysisViewModel.d.ts +1 -1
  438. package/dist/support/measurementUtils.d.ts +1 -1
  439. package/dist/types/lumina.d.ts +5 -12
  440. package/dist/types/preact.d.ts +5 -13
  441. package/dist/types/preact10.d.ts +5 -14
  442. package/dist/types/react.d.ts +5 -14
  443. package/dist/types/stencil.d.ts +5 -12
  444. package/package.json +3 -3
  445. package/dist/cdn/5JFFWKKI.js +0 -4
  446. package/dist/cdn/5YJGV2R4.js +0 -4
  447. package/dist/cdn/DBF66NYQ.js +0 -4
  448. package/dist/cdn/IAL27HEE.js +0 -4
  449. package/dist/cdn/RSNRSZIA.js +0 -4
  450. package/dist/cdn/VX5F6HDA.js +0 -4
  451. package/dist/cdn/Y7IYHRCV.js +0 -4
  452. package/dist/cdn/YNAFOPMY.js +0 -4
  453. package/dist/components/arcgis-elevation-profile-next/customElement.d.ts +0 -208
  454. package/dist/components/arcgis-elevation-profile-next/customElement.js +0 -591
  455. package/dist/components/arcgis-elevation-profile-next/index.d.ts +0 -6
  456. package/dist/components/arcgis-elevation-profile-next/index.js +0 -6
  457. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.ar.json +0 -0
  458. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.bg.json +0 -0
  459. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.bs.json +0 -0
  460. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.ca.json +0 -0
  461. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.cs.json +0 -0
  462. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.da.json +0 -0
  463. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.de.json +0 -0
  464. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.el.json +0 -0
  465. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.en.json +0 -0
  466. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.es.json +0 -0
  467. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.et.json +0 -0
  468. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.fi.json +0 -0
  469. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.fr.json +0 -0
  470. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.he.json +0 -0
  471. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.hr.json +0 -0
  472. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.hu.json +0 -0
  473. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.id.json +0 -0
  474. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.it.json +0 -0
  475. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.ja.json +0 -0
  476. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.ko.json +0 -0
  477. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.lt.json +0 -0
  478. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.lv.json +0 -0
  479. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.nl.json +0 -0
  480. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.no.json +0 -0
  481. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.pl.json +0 -0
  482. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.pt-BR.json +0 -0
  483. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.pt-PT.json +0 -0
  484. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.ro.json +0 -0
  485. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.ru.json +0 -0
  486. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.sk.json +0 -0
  487. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.sl.json +0 -0
  488. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.sr.json +0 -0
  489. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.sv.json +0 -0
  490. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.th.json +0 -0
  491. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.tr.json +0 -0
  492. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.uk.json +0 -0
  493. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.vi.json +0 -0
  494. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.zh-CN.json +0 -0
  495. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.zh-HK.json +0 -0
  496. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.zh-TW.json +0 -0
  497. /package/dist/components/{arcgis-elevation-profile-next → arcgis-elevation-profile}/ElevationProfileViewModel.d.ts +0 -0
  498. /package/dist/components/{arcgis-elevation-profile-next → arcgis-elevation-profile}/geometryUtils.d.ts +0 -0
  499. /package/dist/components/{arcgis-elevation-profile-next → arcgis-elevation-profile}/interfaces.d.ts +0 -0
@@ -1,591 +0,0 @@
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 M, nothing as g, safeClassMap as v } from "@arcgis/lumina";
6
- import { usePropertyChange as B } from "@arcgis/lumina/controllers";
7
- import { u as E } from "../../chunks/useT9n.js";
8
- import { m as O } from "../../chunks/useViewModel.js";
9
- import { g as f } from "../../chunks/globalCss.js";
10
- import D from "@arcgis/core/analysis/ElevationProfileAnalysis.js";
11
- import { getDefaultUnitForView as P } from "@arcgis/core/applications/Components/getDefaultUnits.js";
12
- import { property as a, subclass as V } from "@arcgis/core/core/accessorSupport/decorators.js";
13
- import { watch as p } from "@arcgis/core/core/reactiveUtils.js";
14
- import { A as $ } from "../../chunks/AnalysisViewModel.js";
15
- import { a as z } from "../../chunks/maybe.js";
16
- import { m as _ } from "../../chunks/measurementUtils.js";
17
- import { t as U, 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";
20
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
21
- See https://js.arcgis.com/5.0/esri/copyright.txt for details.
22
- v5.0.0-next.35 */
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 U(i), N(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 N(t) {
46
- return t != null && "highlight" in t && typeof t.highlight == "function";
47
- }
48
- var q = 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 && q(e, i, n), n;
52
- };
53
- let s = class extends $ {
54
- constructor() {
55
- super(...arguments), this.highlightEnabled = !0, this.uniformChartScaling = !1, this.shouldForceInteractive = !1, this.supportedViewType = "both", this.unsupportedErrorMessage = "";
56
- }
57
- get _measurementSystem() {
58
- return this.view ? P(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 unitDistance() {
131
- return y(
132
- this._userUnitDistance ?? this.analysis.displayUnits?.distance ?? void 0,
133
- this.unitOptionsDistance,
134
- this._measurementSystem
135
- );
136
- }
137
- set unitDistance(t) {
138
- this._userUnitDistance = t;
139
- }
140
- get unitElevation() {
141
- return y(
142
- this._userUnitElevation ?? this.analysis.displayUnits?.elevation ?? void 0,
143
- this.unitOptionsElevation,
144
- this._measurementSystem
145
- );
146
- }
147
- set unitElevation(t) {
148
- this._userUnitElevation = t;
149
- }
150
- get unitOptionsDistance() {
151
- return w(this._userUnitOptionsDistance);
152
- }
153
- set unitOptionsDistance(t) {
154
- this._userUnitOptionsDistance = t;
155
- }
156
- get unitOptionsElevation() {
157
- return w(this._userUnitOptionsElevation);
158
- }
159
- set unitOptionsElevation(t) {
160
- this._userUnitOptionsElevation = t;
161
- }
162
- //#endregion
163
- //#region Public Methods
164
- initialize() {
165
- this.addHandles([
166
- p(
167
- () => ({
168
- analysis: this.analysis,
169
- unitDistance: this.unitDistance,
170
- unitElevation: this.unitElevation
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
- p(
181
- () => ({
182
- selectedFeature: this._selectedFeature,
183
- profiles: this.analysis.profiles.toArray()
184
- }),
185
- ({ selectedFeature: t, profiles: e }, i) => {
186
- this._highlightSelectedFeature(this.highlightEnabled ? t : void 0), this.analysis.viewOptions.geometryVisualizationVisible = this.highlightEnabled && 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 D();
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 = z(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, "_userUnitOptionsDistance", 2);
250
- o([
251
- a()
252
- ], s.prototype, "_userUnitOptionsElevation", 2);
253
- o([
254
- a()
255
- ], s.prototype, "_userUnitDistance", 2);
256
- o([
257
- a()
258
- ], s.prototype, "_userUnitElevation", 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, "highlightEnabled", 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, "unitDistance", 1);
322
- o([
323
- a()
324
- ], s.prototype, "unitElevation", 1);
325
- o([
326
- a()
327
- ], s.prototype, "unitOptionsDistance", 1);
328
- o([
329
- a()
330
- ], s.prototype, "unitOptionsElevation", 1);
331
- s = o([
332
- V("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 = E(), 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.highlightEnabled = this.viewModel.highlightEnabled, 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.unitDistance = this.viewModel.unitDistance, this.unitElevation = this.viewModel.unitElevation, this.unitOptionsDistance = this.viewModel.unitOptionsDistance, this.unitOptionsElevation = this.viewModel.unitOptionsElevation, this.arcgisPropertyChange = B()("geometry", "effectiveDisplayUnits", "progress", "state"), this.arcgisReady = M();
345
- }
346
- static {
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, highlightEnabled: 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, unitDistance: 1, unitElevation: 1, unitOptionsDistance: 0, unitOptionsElevation: 0 };
348
- }
349
- static {
350
- this.styles = T;
351
- }
352
- get _selectButtonVisible() {
353
- return !this.hideSelectButton && this.viewModel.selectButtonAvailable;
354
- }
355
- get _chart() {
356
- return this._chartInitializationTask?.value;
357
- }
358
- async destroy() {
359
- await this.manager.destroy();
360
- }
361
- async select() {
362
- m(this.viewModel.select());
363
- }
364
- async start() {
365
- m(this.viewModel.start());
366
- }
367
- async stop() {
368
- this.viewModel.stop();
369
- }
370
- load() {
371
- this.manager.onLifecycle(() => [
372
- p(() => ({ container: this._chartContainer }), ({ container: e }) => {
373
- this._destroyChart(), e && (this._chartInitializationTask = b(async (i) => await A({
374
- view: this.viewModel.view,
375
- analysisView: this.viewModel.analysisView,
376
- container: e,
377
- messages: this._messages,
378
- signal: i,
379
- uniformScaling: this.viewModel.uniformChartScaling,
380
- onRangeChange: (r, n) => {
381
- this._hideZoomOutButton = r === 1 && n === 1;
382
- },
383
- onCursorPositionChange: (r, n) => {
384
- const { analysisView: l } = this.viewModel;
385
- l && (l.hoveredPosition = r);
386
- }
387
- })));
388
- }, { sync: !0, initial: !0 }),
389
- p(() => ({
390
- chart: this._chart,
391
- view: this.viewModel.view,
392
- analysisView: this.viewModel.analysisView,
393
- uniformScaling: this.viewModel.uniformChartScaling
394
- }), ({ chart: e, view: i, analysisView: r, uniformScaling: n }) => {
395
- e && (e.view = i, e.analysisView = r, e.uniformScaling = n);
396
- }, { sync: !0, initial: !0 }),
397
- // Make sure to destroy the chart when the component is disconnected.
398
- { remove: () => this._destroyChart() }
399
- ]);
400
- }
401
- _destroyChart() {
402
- const e = this._chart;
403
- this._chartInitializationTask?.abort(), this._chartInitializationTask = void 0, e?.destroy();
404
- }
405
- _onCancelButtonClick() {
406
- this.viewModel.stop();
407
- }
408
- _onDoneButtonClick() {
409
- this.viewModel.stop();
410
- }
411
- _getErrorMessage() {
412
- const e = Q[this.viewModel.errorState];
413
- return e ? this._messages?.errors?.[e] : void 0;
414
- }
415
- _onClearButtonClick() {
416
- this.viewModel.clear();
417
- }
418
- _onZoomOutButtonClick() {
419
- this._chart?.zoomOut();
420
- }
421
- _onChartContainerRef(e) {
422
- this._chartContainer = e;
423
- }
424
- render() {
425
- return c`<div aria-label=${this._messages.componentLabel ?? g} class=${v({
426
- container: !0,
427
- [f.widget]: !0,
428
- [f.widgetDisabled]: this.viewModel.state === "disabled",
429
- [f.panel]: !0
430
- })} role=presentation>${this._renderContentForState()}</div>`;
431
- }
432
- _renderContentForState() {
433
- switch (this.viewModel.state) {
434
- case "ready":
435
- return this._renderContentForReadyState();
436
- case "selecting":
437
- return this._renderContentForSelectingState();
438
- case "creating":
439
- return this._renderContentForCreatingState();
440
- case "selected":
441
- return this._renderContentForSelectedState();
442
- case "created":
443
- return this._renderContentForCreatedState();
444
- case "disabled":
445
- return this._renderContentForReadyState();
446
- }
447
- }
448
- _renderContentForReadyState() {
449
- const { _messages: e, hideSelectButton: i, hideSketchButton: r } = this, { selectButtonAvailable: n } = this.viewModel, l = !i && n;
450
- let d;
451
- 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: u });
452
- }
453
- _renderContentForSelectingState() {
454
- const { view: e } = this.viewModel;
455
- if (!e)
456
- return;
457
- const i = this._messages[`selectingPrompt-${e.type}`];
458
- return this._renderContent({
459
- prompt: i,
460
- chart: !1,
461
- actions: [{ type: "select-cancel" }]
462
- });
463
- }
464
- _renderContentForCreatingState() {
465
- const { viewModel: e } = this, { view: i } = e;
466
- if (!i)
467
- return;
468
- const r = e.hasVertices ? [{ type: "sketch-cancel" }, { type: "sketch-done", disabled: !e.doneButtonAvailable }] : [{ type: "select" }, { type: "sketch", disabled: !0 }];
469
- if (e.errorState === "no-valid-input") {
470
- const l = this._messages[`creatingPrompt-${i.type}`];
471
- return this._renderContent({
472
- chart: !1,
473
- actions: r,
474
- prompt: l
475
- });
476
- }
477
- const n = this._getErrorMessage();
478
- return n ? this._renderContent({ chart: !1, actions: r, prompt: n }) : this._renderContent({ chart: !0, actions: r });
479
- }
480
- _renderContentForSelectedState() {
481
- const e = this._getErrorMessage();
482
- return e ? this._renderContent({ chart: !1, actions: u, prompt: e }) : this._renderContent({ chart: !0, actions: u });
483
- }
484
- _renderContentForCreatedState() {
485
- const e = this._getErrorMessage();
486
- return e ? this._renderContent({ chart: !1, actions: u, prompt: e }) : this._renderContent({ chart: !0, actions: u });
487
- }
488
- _renderContent(e) {
489
- const { viewModel: i } = this, r = i.geometry != null;
490
- 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)}`;
491
- }
492
- _renderPrompt(e) {
493
- return [
494
- c`<div class="prompt-container"><p class="prompt-message">${e}</p></div>`
495
- ];
496
- }
497
- _renderZoomOutButton() {
498
- const e = this._messages.zoomOut ?? "";
499
- return c`<calcite-action appearance=transparent icon=magnifying-glass-minus @click=${this._onZoomOutButtonClick} scale=s .text=${e} title=${e ?? g}></calcite-action>`;
500
- }
501
- _renderChart() {
502
- if (this.hideChart)
503
- return;
504
- const e = this._chart;
505
- return c`${this._renderSpinner({
506
- size: e?.chartVisible ? "small" : "large",
507
- visible: e?.spinnerVisible ?? !1
508
- })}<div class="chart-container" ${S(this._onChartContainerRef)}></div>`;
509
- }
510
- _renderSpinner(e) {
511
- const i = e.size === "small", r = e.visible ?? !0;
512
- return c`<calcite-loader class=${v({
513
- spinner: !0,
514
- small: i,
515
- visible: r
516
- })} .inline=${i} label scale=s></calcite-loader>`;
517
- }
518
- _renderClearButton() {
519
- const e = this._messages.clearProfile ?? "";
520
- return c`<calcite-action appearance=transparent icon=trash @click=${this._onClearButtonClick} scale=s .text=${e} title=${e ?? g}></calcite-action>`;
521
- }
522
- _renderLegend() {
523
- 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>`;
524
- }
525
- _renderSettingsButton() {
526
- 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.unitOptionsDistance} .unitOptionsElevation=${this.viewModel.unitOptionsElevation} @arcgisElevationProfileSettingsUniformChartScalingChange=${(e) => {
527
- this.viewModel.uniformChartScaling = e.detail;
528
- }}></arcgis-elevation-profile-settings>`;
529
- }
530
- _renderActions({ actions: e }) {
531
- const i = this._messages, r = e.map((n) => {
532
- switch (n.type) {
533
- case "sketch":
534
- return h({ hidden: this.hideSketchButton, children: this._renderAction({
535
- action: n,
536
- label: i.sketchButtonLabel,
537
- primary: !0,
538
- onClick: () => void this.start()
539
- }) });
540
- case "sketch-cancel":
541
- return h({ hidden: this.hideSketchButton, children: this._renderAction({
542
- action: n,
543
- label: i.cancelButtonLabel,
544
- primary: !1,
545
- onClick: this._onCancelButtonClick
546
- }) });
547
- case "sketch-done":
548
- return h({ hidden: this.hideSketchButton, children: this._renderAction({
549
- action: n,
550
- label: i.doneButtonLabel,
551
- primary: !0,
552
- onClick: this._onDoneButtonClick
553
- }) });
554
- case "select":
555
- return h({ hidden: !this._selectButtonVisible, children: this._renderAction({
556
- action: n,
557
- label: i.selectButtonLabel,
558
- primary: !1,
559
- onClick: () => void this.select()
560
- }) });
561
- case "select-cancel":
562
- return h({ hidden: !this._selectButtonVisible, children: this._renderAction({
563
- action: n,
564
- label: i.cancelButtonLabel,
565
- primary: !1,
566
- onClick: this._onCancelButtonClick
567
- }) });
568
- default:
569
- return;
570
- }
571
- }).filter(Boolean);
572
- return r.length ? c`<footer class="actions">${r}</footer>` : void 0;
573
- }
574
- _renderAction({ action: e, label: i, onClick: r, primary: n }) {
575
- return c`<calcite-button .appearance=${n ? "solid" : "outline-fill"} class="action-button" .disabled=${e.disabled || void 0} @click=${r}>${i}</calcite-button>`;
576
- }
577
- }
578
- function h(t) {
579
- return t.hidden ? void 0 : t.children;
580
- }
581
- const u = [{ type: "select" }, { type: "sketch" }], Q = {
582
- none: void 0,
583
- "no-valid-input": "noProfile",
584
- "no-available-profiles": "noProfile",
585
- "too-complex": "tooComplex",
586
- unknown: "unknown"
587
- };
588
- x("arcgis-elevation-profile-next", K);
589
- export {
590
- K as ArcgisElevationProfileNext
591
- };
@@ -1,6 +0,0 @@
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";
6
- export * from "./customElement.js";
@@ -1,6 +0,0 @@
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";
6
- export * from "./customElement.js";