@arcgis/map-components 5.2.0-next.160 → 5.2.0-next.162

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 (288) hide show
  1. package/dist/cdn/{HCN3UC4W.js → 24P3B56P.js} +1 -1
  2. package/dist/cdn/{QX33OCXB.js → 2DTNZ5ZM.js} +1 -1
  3. package/dist/cdn/{DSDPDMLP.js → 2H2YCUTD.js} +1 -1
  4. package/dist/cdn/{3L2J4JFP.js → 2IAD3DI5.js} +1 -1
  5. package/dist/cdn/2MVAMDNS.js +2 -0
  6. package/dist/cdn/{RZQNEEP6.js → 2TXVUKFK.js} +1 -1
  7. package/dist/cdn/{UWKXYCO3.js → 2V3NZCGY.js} +1 -1
  8. package/dist/cdn/{HLGU3U73.js → 32AID6SI.js} +1 -1
  9. package/dist/cdn/{JPKB745U.js → 3QTRWVXW.js} +1 -1
  10. package/dist/cdn/{EESGZV4K.js → 3SFLR6O5.js} +1 -1
  11. package/dist/cdn/{YHKTMUY7.js → 3U73LNOL.js} +1 -1
  12. package/dist/cdn/{CQQM24VF.js → 3VWROBRU.js} +1 -1
  13. package/dist/cdn/{5V2DO6ZW.js → 425K6TZP.js} +1 -1
  14. package/dist/cdn/{RAOEF6YV.js → 4JUQKQVX.js} +1 -1
  15. package/dist/cdn/{XPGC5GAG.js → 4KEMJ2WV.js} +1 -1
  16. package/dist/cdn/{T4V5O3FK.js → 4LYPP56N.js} +1 -1
  17. package/dist/cdn/{4WAV5GOL.js → 4MORGCH6.js} +1 -1
  18. package/dist/cdn/{DMYMCGHJ.js → 4NZ7IXTN.js} +1 -1
  19. package/dist/cdn/{PRTHX6OC.js → 4OPDS2IX.js} +1 -1
  20. package/dist/cdn/{7DAQGPGD.js → 4RH7KXGJ.js} +1 -1
  21. package/dist/cdn/{B476G3EX.js → 4TTVR7UK.js} +1 -1
  22. package/dist/cdn/{WRJNCIEP.js → 4X4YC73A.js} +1 -1
  23. package/dist/cdn/{S6M66TIN.js → 53ZSDYUK.js} +1 -1
  24. package/dist/cdn/{YOUMOTN3.js → 54QHGR6M.js} +1 -1
  25. package/dist/cdn/55FMVRQF.js +2 -0
  26. package/dist/cdn/{VWFQCWGB.js → 5DSWKRMF.js} +1 -1
  27. package/dist/cdn/{IRZGEFF5.js → 5GMH7WO5.js} +1 -1
  28. package/dist/cdn/{27GJE7OY.js → 5J3TRMV4.js} +1 -1
  29. package/dist/cdn/{EOTKZ4F3.js → 5NOOFVO3.js} +1 -1
  30. package/dist/cdn/{XCWZZUSV.js → 5P3YDA2J.js} +1 -1
  31. package/dist/cdn/{OHLJ6POC.js → 5SPGDKNU.js} +1 -1
  32. package/dist/cdn/{FFJCCMDZ.js → 5SQOFA55.js} +1 -1
  33. package/dist/cdn/{7EQZKGJN.js → 5WVYY3F2.js} +1 -1
  34. package/dist/cdn/{CUF7GCDT.js → 67V3RORD.js} +1 -1
  35. package/dist/cdn/{5UOXHOVU.js → 6C5HYJTX.js} +1 -1
  36. package/dist/cdn/{MEZHGYCH.js → 6HBNUMMM.js} +1 -1
  37. package/dist/cdn/{ZW2ZBNX2.js → 6I4O4OP6.js} +1 -1
  38. package/dist/cdn/{J6MU74RO.js → 6PMF2LH7.js} +1 -1
  39. package/dist/cdn/{YKSVOTDV.js → 6QHFD6GE.js} +1 -1
  40. package/dist/cdn/{CF4OY56S.js → 6SRNQFHU.js} +1 -1
  41. package/dist/cdn/{3YXCLF3K.js → 7H7DAOEA.js} +1 -1
  42. package/dist/cdn/{7DDCU3NB.js → 7HL355FC.js} +1 -1
  43. package/dist/cdn/{OGAUCGGG.js → 7HZWKW7P.js} +1 -1
  44. package/dist/cdn/{MPKC74OS.js → 7KWAYOVZ.js} +1 -1
  45. package/dist/cdn/{BSTO7TGD.js → 7LHMQDVA.js} +1 -1
  46. package/dist/cdn/{AW3C3DKA.js → 7O24MNAQ.js} +1 -1
  47. package/dist/cdn/7PMSUAOO.js +2 -0
  48. package/dist/cdn/{3E56Q4ZY.js → 7QWDALXI.js} +1 -1
  49. package/dist/cdn/{N6VSP7BU.js → 7XHT5OZW.js} +1 -1
  50. package/dist/cdn/{VABVK3ZN.js → AAMMLBR5.js} +1 -1
  51. package/dist/cdn/{YAEJKOYY.js → ABISOC5K.js} +1 -1
  52. package/dist/cdn/{O57LOC52.js → AHTSFISJ.js} +1 -1
  53. package/dist/cdn/{XAD4PUBU.js → ALYYYAT6.js} +1 -1
  54. package/dist/cdn/{U6VZT3HC.js → ANACVHHA.js} +1 -1
  55. package/dist/cdn/{FZWFKZLW.js → ANTO53P2.js} +1 -1
  56. package/dist/cdn/{VTCM7AV2.js → B6T5J7AE.js} +1 -1
  57. package/dist/cdn/{54CLZESW.js → BBP7HJ56.js} +1 -1
  58. package/dist/cdn/BFMIWUQN.js +2 -0
  59. package/dist/cdn/{VCSX4G2U.js → BJ55UYFS.js} +1 -1
  60. package/dist/cdn/{GF7RZ4IH.js → BKUFQNUO.js} +1 -1
  61. package/dist/cdn/{FMIWBKT4.js → BL77QP2X.js} +1 -1
  62. package/dist/cdn/{JBR3FYAN.js → BQBZX2LN.js} +1 -1
  63. package/dist/cdn/{CX45KI3X.js → BRJV5N3H.js} +1 -1
  64. package/dist/cdn/{GV3IXBBT.js → BSB356TD.js} +1 -1
  65. package/dist/cdn/{R3IITUG6.js → BZF63OMM.js} +1 -1
  66. package/dist/cdn/{GVZKVOM7.js → C6T7AQOJ.js} +1 -1
  67. package/dist/cdn/{V2GMDCVJ.js → CBAVPTEE.js} +1 -1
  68. package/dist/cdn/{ZUAR3LO3.js → CJX7JGJD.js} +1 -1
  69. package/dist/cdn/{J23DTKII.js → CL4XDG6Z.js} +1 -1
  70. package/dist/cdn/{K6D2JHC4.js → CL5JQN4B.js} +1 -1
  71. package/dist/cdn/{7VVOJSSE.js → CO7SJMPF.js} +1 -1
  72. package/dist/cdn/{RQLMXLJC.js → CTWXAKDR.js} +1 -1
  73. package/dist/cdn/{DOEKV7G3.js → D33FNOVH.js} +1 -1
  74. package/dist/cdn/{QTDJVI5F.js → D7CBD7BC.js} +1 -1
  75. package/dist/cdn/{E53ARLWV.js → D7DOUWMR.js} +1 -1
  76. package/dist/cdn/{IXWGGAVX.js → DA7OOJVG.js} +1 -1
  77. package/dist/cdn/{XYNRLVTU.js → DHZABM2L.js} +1 -1
  78. package/dist/cdn/{LIN3GOTG.js → DQIPN7ZF.js} +1 -1
  79. package/dist/cdn/{3MQPSWL6.js → DQOQZ4MX.js} +1 -1
  80. package/dist/cdn/{X3DQNCTZ.js → DUVDBJYK.js} +1 -1
  81. package/dist/cdn/{HZX7MSQG.js → E6PKGP4K.js} +1 -1
  82. package/dist/cdn/{VJE33ARY.js → EAUQSXQK.js} +1 -1
  83. package/dist/cdn/{3O4SVNIK.js → EBXA4NR3.js} +1 -1
  84. package/dist/cdn/{RGBIJQV3.js → ECV3ABD6.js} +1 -1
  85. package/dist/cdn/{RHNZWKZV.js → EK2KOHA5.js} +1 -1
  86. package/dist/cdn/{WEAGLY7B.js → EMF6EVCU.js} +1 -1
  87. package/dist/cdn/{347XA2AR.js → EMGHJBT3.js} +1 -1
  88. package/dist/cdn/{Y2UYA3OR.js → EOLJLXXY.js} +1 -1
  89. package/dist/cdn/{IU22RA7Z.js → EQX7MHI6.js} +1 -1
  90. package/dist/cdn/{SBIOND5K.js → ERO6VEJC.js} +1 -1
  91. package/dist/cdn/{6BLFYSDN.js → EV2CPCXL.js} +1 -1
  92. package/dist/cdn/{OFGB5CLF.js → EZNPL6KC.js} +1 -1
  93. package/dist/cdn/{JCR7S6RP.js → F3JX74XA.js} +1 -1
  94. package/dist/cdn/{XTPRVANS.js → F47DLSXP.js} +1 -1
  95. package/dist/cdn/{GXRPNW37.js → F7O7VE64.js} +1 -1
  96. package/dist/cdn/{4F2ZWXO2.js → F7WGGRNJ.js} +1 -1
  97. package/dist/cdn/FDO6DYPA.js +2 -0
  98. package/dist/cdn/{CL2NYK7A.js → FDWA3SMO.js} +1 -1
  99. package/dist/cdn/{WVRJQQKH.js → FEOBPFWA.js} +1 -1
  100. package/dist/cdn/{4TTVVGYW.js → FHWZXMIK.js} +1 -1
  101. package/dist/cdn/{ZPH7M75T.js → FLECY5WX.js} +1 -1
  102. package/dist/cdn/{AAUN23S6.js → FRX7QU7D.js} +1 -1
  103. package/dist/cdn/{UCTJVPYB.js → FSS7JPXF.js} +1 -1
  104. package/dist/cdn/{I23AZWQL.js → FYPAQE4Y.js} +1 -1
  105. package/dist/cdn/G3DWZLJP.js +2 -0
  106. package/dist/cdn/{Z4WS2RBO.js → G62IMIVE.js} +1 -1
  107. package/dist/cdn/{H77SMV46.js → GARRMRRS.js} +1 -1
  108. package/dist/cdn/{CZOM5NWO.js → GAYVHR65.js} +1 -1
  109. package/dist/cdn/{B5GJ5JEW.js → GKNQZXPX.js} +1 -1
  110. package/dist/cdn/{J657IBDC.js → GOIKMQPW.js} +1 -1
  111. package/dist/cdn/{4JCUCTND.js → GQ7PSV5J.js} +1 -1
  112. package/dist/cdn/{SQYMNL75.js → GQWR6ITY.js} +1 -1
  113. package/dist/cdn/{CPIWLONX.js → GSUQ5AKK.js} +1 -1
  114. package/dist/cdn/{KVK6QLPV.js → GU37FSM6.js} +1 -1
  115. package/dist/cdn/{GCFCZZQX.js → GVI4ITFC.js} +1 -1
  116. package/dist/cdn/{N2BLQYTT.js → H6QQGYZN.js} +1 -1
  117. package/dist/cdn/{JAZGNQRP.js → HDDHFB4N.js} +1 -1
  118. package/dist/cdn/{HX4CDWS4.js → HSAD2CSX.js} +1 -1
  119. package/dist/cdn/{CROCDACG.js → HWLF3MJH.js} +1 -1
  120. package/dist/cdn/HYBKUYZ5.js +2 -0
  121. package/dist/cdn/{DMYAI77Y.js → HZ3DJS4Z.js} +1 -1
  122. package/dist/cdn/{AYNGSZAL.js → IBIZBZYQ.js} +1 -1
  123. package/dist/cdn/{ISIH65JW.js → IHCXEP2I.js} +1 -1
  124. package/dist/cdn/{I2A6UYGZ.js → IQ7JAUEM.js} +1 -1
  125. package/dist/cdn/{ITRD7ZY4.js → IVF3QBCM.js} +1 -1
  126. package/dist/cdn/{NBHZZ4E6.js → IY7PE5CE.js} +1 -1
  127. package/dist/cdn/{FGCIX2XQ.js → IZM3R6IJ.js} +1 -1
  128. package/dist/cdn/{SP73K22L.js → IZW2DVPQ.js} +1 -1
  129. package/dist/cdn/{XURL7UVF.js → J23NMWP3.js} +1 -1
  130. package/dist/cdn/{N2HG34QB.js → J3SYIHDA.js} +1 -1
  131. package/dist/cdn/{26LWK3XB.js → J56MRLAB.js} +1 -1
  132. package/dist/cdn/{JBHRVHGS.js → J6FGJ5GL.js} +1 -1
  133. package/dist/cdn/{GT6FFZHJ.js → J7ZUTV66.js} +1 -1
  134. package/dist/cdn/{TB4YNDRB.js → JFPYMOGN.js} +1 -1
  135. package/dist/cdn/{EKR2SAT2.js → JG5OBAGE.js} +2 -2
  136. package/dist/cdn/{3PVLBFNC.js → JQL6EOCO.js} +1 -1
  137. package/dist/cdn/{HX4CSRAB.js → JZEZ3NUX.js} +1 -1
  138. package/dist/cdn/{H5AYEQ6D.js → K4XQS23R.js} +1 -1
  139. package/dist/cdn/{V6RSLRWE.js → K664I5PA.js} +1 -1
  140. package/dist/cdn/{PBLEDNYS.js → K7OJO77W.js} +1 -1
  141. package/dist/cdn/{XJ6DZ6AN.js → KO5AS6VW.js} +1 -1
  142. package/dist/cdn/{UMHGXP3S.js → KUSJI634.js} +1 -1
  143. package/dist/cdn/{3HS3DM5B.js → KXZFSNU7.js} +1 -1
  144. package/dist/cdn/{3DUIQTNG.js → KZM4VCVX.js} +1 -1
  145. package/dist/cdn/{XPIX7Z2Q.js → KZNIQR4I.js} +1 -1
  146. package/dist/cdn/{4PGC5LTJ.js → LAJR3HCR.js} +1 -1
  147. package/dist/cdn/{3A7S62FX.js → LFYJSBDP.js} +1 -1
  148. package/dist/cdn/{OX55WUIT.js → LH26HXV7.js} +1 -1
  149. package/dist/cdn/{UVSORYXI.js → LNXDL2NJ.js} +1 -1
  150. package/dist/cdn/{CORNSRXU.js → LOKVW7BI.js} +1 -1
  151. package/dist/cdn/{E5JCJOB3.js → LSPD67GR.js} +1 -1
  152. package/dist/cdn/{5SL2HI4G.js → MDGBXXHA.js} +1 -1
  153. package/dist/cdn/{RQG75Q2X.js → MHV5G6SE.js} +1 -1
  154. package/dist/cdn/{74SNPIFY.js → MISUZ26F.js} +1 -1
  155. package/dist/cdn/{Z5C6UBYP.js → MLB4A6K7.js} +1 -1
  156. package/dist/cdn/{BQKVSKYK.js → MMCTIVCI.js} +1 -1
  157. package/dist/cdn/{F6BKCG5R.js → MQ6XEY2R.js} +1 -1
  158. package/dist/cdn/{W3ENDJ6U.js → MXSRK7K5.js} +1 -1
  159. package/dist/cdn/{X3DYJCL3.js → MZ47CPKO.js} +1 -1
  160. package/dist/cdn/{PLVTYVUG.js → N3R4MICW.js} +1 -1
  161. package/dist/cdn/{Y5LZUAMK.js → N5ISIJH5.js} +1 -1
  162. package/dist/cdn/{F5WKI5HZ.js → NII3CQS5.js} +1 -1
  163. package/dist/cdn/{SFFTE3TG.js → NNX5QNWQ.js} +1 -1
  164. package/dist/cdn/{TD5NCGK6.js → NUHQPZL4.js} +1 -1
  165. package/dist/cdn/{QTTIUOSW.js → NV6GXURX.js} +1 -1
  166. package/dist/cdn/{IMPFB7YV.js → NY6QZ4MA.js} +1 -1
  167. package/dist/cdn/{WBI4RS3V.js → NZLJG4BL.js} +1 -1
  168. package/dist/cdn/{WQMZ7BDQ.js → NZROZFUD.js} +1 -1
  169. package/dist/cdn/{DPPZZO5W.js → O5Y24FRM.js} +1 -1
  170. package/dist/cdn/{YWS5RHVM.js → O67NWBOY.js} +1 -1
  171. package/dist/cdn/{FWXRRSBS.js → OEDRJOWH.js} +1 -1
  172. package/dist/cdn/{ALROLX35.js → OEL57WQN.js} +1 -1
  173. package/dist/cdn/{ECNRW3D5.js → OLB6I4UK.js} +1 -1
  174. package/dist/cdn/{KT7MEZHJ.js → OP3MZHXU.js} +1 -1
  175. package/dist/cdn/{TC6HL72N.js → OQPX2UPC.js} +1 -1
  176. package/dist/cdn/{YPNJ5V4R.js → OVPNI75B.js} +1 -1
  177. package/dist/cdn/{E4NTQBM3.js → PGA77WC5.js} +1 -1
  178. package/dist/cdn/{IFMBHZHX.js → PIMHCTPI.js} +1 -1
  179. package/dist/cdn/{3A3DGDW5.js → PJCNEOQF.js} +1 -1
  180. package/dist/cdn/{F4O7DFPZ.js → PUAHNTEG.js} +1 -1
  181. package/dist/cdn/{N4MW5VBL.js → Q65F6MWR.js} +1 -1
  182. package/dist/cdn/{2GDB3C5I.js → QHAQOS2G.js} +1 -1
  183. package/dist/cdn/{A4U2PDJP.js → QJ5KZEMN.js} +1 -1
  184. package/dist/cdn/{Z42QB2QP.js → QNAOKY55.js} +1 -1
  185. package/dist/cdn/{HGMLU4M2.js → QXWPPVRF.js} +1 -1
  186. package/dist/cdn/{YYBNA7EL.js → QZPSM252.js} +1 -1
  187. package/dist/cdn/{PEH4U3YV.js → RBXGMK4A.js} +1 -1
  188. package/dist/cdn/{4WXSFT6G.js → RFNA2JVW.js} +1 -1
  189. package/dist/cdn/{KBHLE7HT.js → RIOVVINY.js} +1 -1
  190. package/dist/cdn/{IJLCJVC4.js → RISGMK3U.js} +1 -1
  191. package/dist/cdn/{R2IBOCMY.js → RRI5FB6J.js} +1 -1
  192. package/dist/cdn/{CJ4KIA26.js → RUEKYGP5.js} +1 -1
  193. package/dist/cdn/{TNFZHEWD.js → RYAAG272.js} +1 -1
  194. package/dist/cdn/{ZOTONI4L.js → RZ73VWA5.js} +1 -1
  195. package/dist/cdn/{ELYDZHP5.js → S3LQLHD6.js} +1 -1
  196. package/dist/cdn/{2DKTF2EL.js → SJ3PDY6L.js} +1 -1
  197. package/dist/cdn/{FNSGB45I.js → SVREDYVS.js} +1 -1
  198. package/dist/cdn/SYRJ7DOA.js +2 -0
  199. package/dist/cdn/{7MOL5GJB.js → T45S5TFC.js} +1 -1
  200. package/dist/cdn/{CGN2BQTU.js → T4UAJPSY.js} +1 -1
  201. package/dist/cdn/{6J55YK5V.js → TDM7GIQ3.js} +1 -1
  202. package/dist/cdn/{5XVK5ZBK.js → TE6BOLKS.js} +1 -1
  203. package/dist/cdn/THPKHOLK.js +2 -0
  204. package/dist/cdn/{Q22KIHFH.js → TJSRSIUW.js} +1 -1
  205. package/dist/cdn/{AWQXKVLZ.js → TVMAPTLG.js} +1 -1
  206. package/dist/cdn/TZAGTA3R.js +2 -0
  207. package/dist/cdn/{AAMRTS35.js → U3WVHX7O.js} +1 -1
  208. package/dist/cdn/{55AW5TTI.js → U6DC2MQH.js} +1 -1
  209. package/dist/cdn/{VSDQVSOV.js → UAUGYXU6.js} +1 -1
  210. package/dist/cdn/{TU6ZG6ZI.js → UIKE7YYX.js} +1 -1
  211. package/dist/cdn/{4T2A7PAO.js → UL22S2IY.js} +1 -1
  212. package/dist/cdn/{CIUI5B52.js → US5ULFSA.js} +1 -1
  213. package/dist/cdn/{LHFB44QW.js → VF23MMWZ.js} +1 -1
  214. package/dist/cdn/{VEAJ52RN.js → VHEW6B4T.js} +1 -1
  215. package/dist/cdn/{SFSWQGLY.js → VHM26W3Y.js} +1 -1
  216. package/dist/cdn/{QJWFZYU4.js → VNAQ67E4.js} +1 -1
  217. package/dist/cdn/{TNRY4WWO.js → VNJX65J7.js} +1 -1
  218. package/dist/cdn/{ZVZVHZYX.js → VRGWZTR7.js} +1 -1
  219. package/dist/cdn/{7V7IKYJG.js → VULIDWWD.js} +1 -1
  220. package/dist/cdn/{4WP4DUBT.js → VZH34OGM.js} +1 -1
  221. package/dist/cdn/{2KP3MSHV.js → W3F5JSCP.js} +1 -1
  222. package/dist/cdn/{LL7R6ETJ.js → WBGDEHVN.js} +1 -1
  223. package/dist/cdn/{5763ZV75.js → WBL4UUCC.js} +1 -1
  224. package/dist/cdn/{6IVEAPNI.js → WC6DROK5.js} +1 -1
  225. package/dist/cdn/{XAADUJ74.js → WHUUMSXM.js} +1 -1
  226. package/dist/cdn/{RPHJDEZH.js → WMF2MPES.js} +1 -1
  227. package/dist/cdn/{PPKJKXSQ.js → WQA6TRAU.js} +1 -1
  228. package/dist/cdn/{6GFUBVBL.js → WQDAN4E5.js} +1 -1
  229. package/dist/cdn/{OBMM7WJD.js → WR4FT2W6.js} +1 -1
  230. package/dist/cdn/{JIQ4P34C.js → WTJKJDQI.js} +1 -1
  231. package/dist/cdn/WWE4AYSF.js +2 -0
  232. package/dist/cdn/{2CWTV6TC.js → X4OCMVNC.js} +1 -1
  233. package/dist/cdn/{MKCJXRXB.js → X5PDNDLF.js} +1 -1
  234. package/dist/cdn/{SREWXCMU.js → XUTYBAR3.js} +1 -1
  235. package/dist/cdn/{3NL42TBJ.js → XVIU2QPW.js} +1 -1
  236. package/dist/cdn/{GQXUCZYM.js → XZDFPYIT.js} +1 -1
  237. package/dist/cdn/{NRJ6LV6O.js → Y5RUICI6.js} +1 -1
  238. package/dist/cdn/{YPNGSV66.js → YAVGZJYT.js} +1 -1
  239. package/dist/cdn/{YLC4L2QV.js → YFUWLCCU.js} +1 -1
  240. package/dist/cdn/{4RMVG2NH.js → YKDKGRAW.js} +1 -1
  241. package/dist/cdn/{Y2LELW5Y.js → YTZT4H7K.js} +1 -1
  242. package/dist/cdn/{BKVCAAPF.js → YUWVZYZY.js} +1 -1
  243. package/dist/cdn/{TZ2LE7KS.js → YWH5JCGP.js} +1 -1
  244. package/dist/cdn/ZOFSFHBV.js +2 -0
  245. package/dist/cdn/{3SG4AC5C.js → ZQELYLR7.js} +1 -1
  246. package/dist/cdn/index.js +1 -1
  247. package/dist/components/arcgis-coordinate-conversion-next/customElement.js +29 -29
  248. package/dist/components/arcgis-elevation-profile/customElement.js +14 -20
  249. package/dist/components/arcgis-features-next/customElement.d.ts +2 -2
  250. package/dist/components/arcgis-features-next/customElement.js +27 -20
  251. package/dist/components/arcgis-floor-filter/customElement.d.ts +3 -0
  252. package/dist/components/arcgis-floor-filter/customElement.js +3 -3
  253. package/dist/components/arcgis-floor-filter/interfaces.d.ts +72 -0
  254. package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +5 -5
  255. package/dist/components/arcgis-search/customElement.d.ts +1 -2
  256. package/dist/components/arcgis-selection-list/customElement.js +1 -1
  257. package/dist/components/arcgis-sketch/customElement.js +394 -204
  258. package/dist/components/arcgis-sketch/toolbar-sizing-controller.d.ts +96 -0
  259. package/dist/components/arcgis-time-bar-slider/customElement.d.ts +8 -0
  260. package/dist/components/arcgis-time-bar-slider/customElement.js +35 -35
  261. package/dist/components/arcgis-utility-network-trace-aggregated-geometry-result-item/customElement.d.ts +100 -20
  262. package/dist/components/arcgis-utility-network-trace-analysis/customElement.d.ts +0 -1
  263. package/dist/components/arcgis-utility-network-trace-elements-result-item/customElement.d.ts +117 -29
  264. package/dist/components/arcgis-utility-network-trace-elements-result-item/customElement.js +10 -10
  265. package/dist/components/arcgis-utility-network-trace-functions-result-item/customElement.d.ts +56 -9
  266. package/dist/docs/api.json +1 -1
  267. package/dist/docs/docs.json +1 -1
  268. package/dist/docs/vscode.html-custom-data.json +1 -1
  269. package/dist/docs/web-types.json +1 -1
  270. package/dist/index.d.ts +6 -0
  271. package/dist/loader.js +1 -1
  272. package/dist/types/lumina.d.ts +3 -1
  273. package/dist/types/preact.d.ts +3 -1
  274. package/dist/types/react.d.ts +3 -1
  275. package/dist/types/stencil.d.ts +3 -1
  276. package/package.json +6 -6
  277. package/dist/cdn/5K54VOLZ.js +0 -2
  278. package/dist/cdn/6JYHS4C3.js +0 -2
  279. package/dist/cdn/6YP2FZDY.js +0 -2
  280. package/dist/cdn/AN3BGKZP.js +0 -2
  281. package/dist/cdn/EZCNI254.js +0 -2
  282. package/dist/cdn/PT7IKQT5.js +0 -2
  283. package/dist/cdn/QQECON7F.js +0 -2
  284. package/dist/cdn/UN7EG7PC.js +0 -2
  285. package/dist/cdn/WYNLO2MH.js +0 -2
  286. package/dist/cdn/XKHGN6LQ.js +0 -2
  287. package/dist/cdn/YDB2XJRU.js +0 -2
  288. package/dist/cdn/YY45XUPP.js +0 -2
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import h from"./DJTW52JH.js";import g from"./CQQM24VF.js";import{a as $}from"./WEAGLY7B.js";import{a as P}from"./JD74LG7K.js";import e from"./FZWFKZLW.js";import d from"./JBHRVHGS.js";import{h as D}from"./JAZGNQRP.js";import"./Z5C6UBYP.js";import c from"./7V7IKYJG.js";import"./QUZTFUWM.js";import{e as M}from"./WQMZ7BDQ.js";import{N as v,O as w,P as _,R as b,X as T,a as f,b as a,x as p}from"./EKR2SAT2.js";import"./H6RQVSYM.js";export default $arcgis.t(([{watch:d},L,{property:l,subclass:S},,,,V,{b:m}])=>{var k=Object.defineProperty,x=Object.getOwnPropertyDescriptor,s=(e,i,n,h)=>{for(var r=h>1?void 0:h?x(i,n):i,y=e.length-1,c;y>=0;y--)(c=e[y])&&(r=(h?c(i,n,r):c(r))||r);return h&&r&&k(i,n,r),r},o={FrameCenterElevation:10025,FrameCenterLatitude:10023,FrameCenterLongitude:10024,MissionId:10003,PlatformCallSign:10059,PlatformDesignation:10010,PlatformGroundRange:10057,PlatformTailNumber:10004,PlatformTrueAirspeed:10008,PrecisionTimeStamp:10002};function g(e,i){let n={};for(let h of i){let r=e.get(h);r&&(n[r.name]=String(r.value))}return n}var t=class extends L{constructor(e){super(e),this.followingMode="follow-both",this.seekLength=10}initialize(){this.addHandles([d(()=>this.layer,(e,i)=>{i&&i.pause(),e&&e.load().then(()=>this._followTelemetry()).catch(()=>{})},{initial:!0}),d(()=>[this.followingMode],()=>this._followTelemetry(),{initial:!0})])}get buffered(){return this.layer?.buffered||0}get currentTime(){return this.layer?.currentTime||0}get duration(){return this.layer?.duration||0}get ended(){return this.layer?.ended??!0}get metadata(){let e=this.layer?.metadata;return e?{missionInfo:g(e,[o.MissionId,o.PrecisionTimeStamp]),platformInfo:g(e,[o.PlatformTailNumber,o.PlatformTrueAirspeed,o.PlatformCallSign,o.PlatformDesignation,o.PlatformGroundRange]),frameInfo:g(e,[o.FrameCenterElevation,o.FrameCenterLatitude,o.FrameCenterLongitude])}:null}get playing(){return this.layer?.playing??!1}previewsInfo(){return this.layer?.previewsInfo||null}get state(){return this.layer?.loadError?"error":this.layer?.state??"not-ready"}changeGraphicsColor(e){e&&this.layer.updateTelemetryColor(e)}changePlaybackSpeed(e){this.layer&&(this.layer.playbackRate=e)}pause(){this.layer?.pause()}play(){this.layer?.play()}seekBackward(){if(this.layer){let e=this.layer.currentTime-this.seekLength;e<=0?this.layer.reset():this.layer.setCurrentTime(e)}}seekForward(){if(this.layer){let e=this.layer.currentTime+this.seekLength;e>=this.layer.duration?this.layer.reset():this.layer.setCurrentTime(e)}}seekTo(e){this.layer?.setCurrentTime(e)}seekToBeginning(){this.layer?.setCurrentTime(0)}seekToEnding(){this.layer?.setCurrentTime(this.layer.duration)}toggleFrameCenterDisplay(){this.layer?.telemetryDisplay&&(this.layer.telemetryDisplay.frameCenter=!this.layer.telemetryDisplay.frameCenter)}toggleFrameDisplay(){this.layer?.telemetryDisplay&&(this.layer.telemetryDisplay.frame=!this.layer.telemetryDisplay.frame)}toggleFrameOutlineDisplay(){this.layer?.telemetryDisplay&&(this.layer.telemetryDisplay.frameOutline=!this.layer.telemetryDisplay.frameOutline)}toggleLoopPlayback(){this.layer&&(this.layer.loop=!this.layer.loop)}toggleSensorDisplay(){this.layer?.telemetryDisplay&&(this.layer.telemetryDisplay.sensorLocation=!this.layer.telemetryDisplay.sensorLocation)}toggleSensorPathDisplay(){this.layer?.telemetryDisplay&&(this.layer.telemetryDisplay.sensorPath=!this.layer.telemetryDisplay.sensorPath)}toggleSensorSightLineDisplay(){this.layer?.telemetryDisplay&&(this.layer.telemetryDisplay.lineOfSight=!this.layer.telemetryDisplay.lineOfSight)}toggleSensorTrailDisplay(){this.layer?.telemetryDisplay&&(this.layer.telemetryDisplay.sensorTrail=!this.layer.telemetryDisplay.sensorTrail)}_followTelemetry(){this.removeHandles("follow"),this.view&&this.layer&&this.addHandles(d(()=>this.layer?.telemetry,()=>{let e=[],i=this.followingMode==="follow-frame"||this.followingMode==="follow-both";if((this.followingMode==="follow-sensor"||this.followingMode==="follow-both")&&this.layer?.telemetry.sensorLocation&&e.push(this.layer.telemetry.sensorLocation),i&&this.layer?.telemetry.frameCenter&&e.push(this.layer.telemetry.frameCenter),!e.length){this.layer?.initialExtent&&this.followingMode!=="none"&&this.view?.goTo(this.layer.initialExtent).catch(()=>{});return}this.view?.goTo(e).catch(()=>{})},{initial:!0}),"follow")}};s([l({readOnly:!0})],t.prototype,"buffered",1);s([l({readOnly:!0})],t.prototype,"currentTime",1);s([l({readOnly:!0})],t.prototype,"duration",1);s([l({readOnly:!0})],t.prototype,"ended",1);s([l()],t.prototype,"followingMode",2);s([l()],t.prototype,"layer",2);s([l({readOnly:!0})],t.prototype,"metadata",1);s([l({readOnly:!0})],t.prototype,"playing",1);s([l({readOnly:!0})],t.prototype,"previewsInfo",1);s([l()],t.prototype,"seekLength",2);s([l({readOnly:!0})],t.prototype,"state",1);s([l()],t.prototype,"view",2);t=s([S("map-components.video-player.VideoPlayerViewModel")],t);var O=t,F=f`:host{--arcgis-internal-video-player-controls-spacing: 16px;width:531px;height:100%}:host([inline]){width:auto;height:auto}.root,.content{height:100%}.inline{display:flex;gap:var(--calcite-spacing-xs);background-color:var(--calcite-color-foreground-1);padding:var(--calcite-spacing-xxs)}.footer{flex:1}arcgis-video{display:flex;flex:1 1 auto;aspect-ratio:16 / 9;min-height:0}`,R=V(O),u=class extends _{constructor(){super(...arguments),this.messages=$({blocking:!0}),this.viewModel=R(this),this._videoViewRef=v(),this._metadataVisible=!1,this._duration=0,this._currentTime=0,this._bufferedValue=0,this._currentValue=0,this._isBuffering=!1,this._videoViewReady=!1,this._loopPlayback=!1,this.icon="video-web",this.state=this.viewModel.state,this.layer=this.viewModel.layer,this.autoDestroyDisabled=!1,this.inline=!1,this.showFullscreenToggle=!1,this.operationalDataVisible=!1,this.hideHeader=!1,this.view=this.viewModel.view,this.arcgisPropertyChange=D()("state","layer"),this.arcgisReady=p(),this.arcgisVideoReady=p()}static{this.properties={_metadataVisible:16,_duration:16,_currentTime:16,_bufferedValue:16,_currentValue:16,_isBuffering:16,_videoViewReady:16,_layerTitle:16,_isLive:16,_loopPlayback:16,referenceElement:1,icon:1,state:32,followingMode:1,layer:0,autoDestroyDisabled:5,messageOverrides:0,label:3,inline:7,showFullscreenToggle:5,operationalDataVisible:5,hideHeader:5,view:0}}static{this.styles=F}get followingMode(){return this.viewModel.followingMode}set followingMode(i){this.viewModel.followingMode=i}async destroy(){await this.manager.destroy()}loaded(){this.manager.onLifecycle(()=>[d(()=>[this.viewModel.currentTime,this.viewModel.duration,this.viewModel.buffered,this.viewModel.ended],()=>{let{buffered:i,currentTime:n,duration:h,ended:r}=this.viewModel,y=m(h),c=m(n),C=m(i);this._duration=y,this._currentTime=c,this._bufferedValue=C/(y||1),this._currentValue=c/(y||1),this._isBuffering=!r&&this._bufferedValue<this._currentValue}),d(()=>this.layer?.title,i=>{this._layerTitle=i??void 0},{initial:!0}),d(()=>this.layer?.isLive,i=>{this._isLive=i??void 0},{initial:!0}),d(()=>this.layer?.playbackRate,i=>{typeof i=="number"&&this.viewModel.changePlaybackSpeed(i)},{initial:!0}),d(()=>this.viewModel.view?.map,()=>this.requestUpdate())])}render(){return a`<div class=${b(M(this.inline?"inline":"root",P.widget))}><calcite-panel .heading=${this.hideHeader||this.inline?void 0:this._layerTitle??this.messages.videoPlayer}>${this.inline||this.hideHeader||!this.showFullscreenToggle?null:a`<calcite-action slot=header-actions-end icon=full-screen-exit text=minimize @click=${()=>this.inline=!this.inline}></calcite-action>`}${this.inline?a`<div class="inline">${this._renderActionBar()}${this._renderSlider()}${this.showFullscreenToggle?a`<calcite-action icon=full-screen text=maximize @click=${()=>this.inline=!this.inline}></calcite-action>`:null}</div>`:a`<div class="content">${this._renderLoadingScrim()}${this._renderBuffering()}${this._renderVideoSection()}</div>`}${this.inline?null:a`<div slot=footer class="footer">${this._renderSlider()}${this._renderActionBar()}${this._renderMetadataSection()}</div>`}</calcite-panel></div>`}_renderLoadingScrim(){return this._videoViewReady?null:a`<calcite-scrim .loading=${this.state!=="error"}>${this.state==="error"?this.messages.errorLoadingLayer:null}</calcite-scrim>`}_renderBuffering(){return this._isBuffering?a`<calcite-progress type=indeterminate></calcite-progress>`:null}_renderVideoSection(){return a`<arcgis-video .layer=${this.layer} .map=${this.viewModel.view?.map} .operationalDataVisible=${this.operationalDataVisible} @arcgisViewReadyChange=${()=>{this._videoViewReady=!0,this.arcgisVideoReady.emit()}} ${w(this._videoViewRef)}></arcgis-video>`}_renderSlider(){return this._isLive?null:a`<arcgis-video-player-slider .buffered=${this._bufferedValue} .messages=${this.messages} .value=${this._currentValue*100} .viewModel=${this.viewModel}></arcgis-video-player-slider>`}_renderActionBar(){return a`<arcgis-video-player-action-bar .currentTime=${this._currentTime} .duration=${this._duration} .messages=${this.messages} .toggleMetadata=${()=>this._metadataVisible=!this._metadataVisible} .viewModel=${this.viewModel} .inline=${this.inline}></arcgis-video-player-action-bar>`}_renderMetadataSection(){return this._metadataVisible?a`<arcgis-video-player-metadata .messages=${this.messages} .viewModel=${this.viewModel}></arcgis-video-player-metadata>`:null}};T("arcgis-video-player",u);return u},"core/reactiveUtils","core/Accessor","core/accessorSupport/decorators",c,d,e,g,h)
2
+ import h from"./DJTW52JH.js";import g from"./3VWROBRU.js";import{a as $}from"./EMF6EVCU.js";import{a as P}from"./JD74LG7K.js";import e from"./ANTO53P2.js";import d from"./J6FGJ5GL.js";import{h as D}from"./HDDHFB4N.js";import"./MLB4A6K7.js";import c from"./VULIDWWD.js";import"./QUZTFUWM.js";import{e as M}from"./NZROZFUD.js";import{N as v,O as w,P as _,R as b,X as T,a as f,b as a,x as p}from"./JG5OBAGE.js";import"./H6RQVSYM.js";export default $arcgis.t(([{watch:d},L,{property:l,subclass:S},,,,V,{b:m}])=>{var k=Object.defineProperty,x=Object.getOwnPropertyDescriptor,s=(e,i,n,h)=>{for(var r=h>1?void 0:h?x(i,n):i,y=e.length-1,c;y>=0;y--)(c=e[y])&&(r=(h?c(i,n,r):c(r))||r);return h&&r&&k(i,n,r),r},o={FrameCenterElevation:10025,FrameCenterLatitude:10023,FrameCenterLongitude:10024,MissionId:10003,PlatformCallSign:10059,PlatformDesignation:10010,PlatformGroundRange:10057,PlatformTailNumber:10004,PlatformTrueAirspeed:10008,PrecisionTimeStamp:10002};function g(e,i){let n={};for(let h of i){let r=e.get(h);r&&(n[r.name]=String(r.value))}return n}var t=class extends L{constructor(e){super(e),this.followingMode="follow-both",this.seekLength=10}initialize(){this.addHandles([d(()=>this.layer,(e,i)=>{i&&i.pause(),e&&e.load().then(()=>this._followTelemetry()).catch(()=>{})},{initial:!0}),d(()=>[this.followingMode],()=>this._followTelemetry(),{initial:!0})])}get buffered(){return this.layer?.buffered||0}get currentTime(){return this.layer?.currentTime||0}get duration(){return this.layer?.duration||0}get ended(){return this.layer?.ended??!0}get metadata(){let e=this.layer?.metadata;return e?{missionInfo:g(e,[o.MissionId,o.PrecisionTimeStamp]),platformInfo:g(e,[o.PlatformTailNumber,o.PlatformTrueAirspeed,o.PlatformCallSign,o.PlatformDesignation,o.PlatformGroundRange]),frameInfo:g(e,[o.FrameCenterElevation,o.FrameCenterLatitude,o.FrameCenterLongitude])}:null}get playing(){return this.layer?.playing??!1}previewsInfo(){return this.layer?.previewsInfo||null}get state(){return this.layer?.loadError?"error":this.layer?.state??"not-ready"}changeGraphicsColor(e){e&&this.layer.updateTelemetryColor(e)}changePlaybackSpeed(e){this.layer&&(this.layer.playbackRate=e)}pause(){this.layer?.pause()}play(){this.layer?.play()}seekBackward(){if(this.layer){let e=this.layer.currentTime-this.seekLength;e<=0?this.layer.reset():this.layer.setCurrentTime(e)}}seekForward(){if(this.layer){let e=this.layer.currentTime+this.seekLength;e>=this.layer.duration?this.layer.reset():this.layer.setCurrentTime(e)}}seekTo(e){this.layer?.setCurrentTime(e)}seekToBeginning(){this.layer?.setCurrentTime(0)}seekToEnding(){this.layer?.setCurrentTime(this.layer.duration)}toggleFrameCenterDisplay(){this.layer?.telemetryDisplay&&(this.layer.telemetryDisplay.frameCenter=!this.layer.telemetryDisplay.frameCenter)}toggleFrameDisplay(){this.layer?.telemetryDisplay&&(this.layer.telemetryDisplay.frame=!this.layer.telemetryDisplay.frame)}toggleFrameOutlineDisplay(){this.layer?.telemetryDisplay&&(this.layer.telemetryDisplay.frameOutline=!this.layer.telemetryDisplay.frameOutline)}toggleLoopPlayback(){this.layer&&(this.layer.loop=!this.layer.loop)}toggleSensorDisplay(){this.layer?.telemetryDisplay&&(this.layer.telemetryDisplay.sensorLocation=!this.layer.telemetryDisplay.sensorLocation)}toggleSensorPathDisplay(){this.layer?.telemetryDisplay&&(this.layer.telemetryDisplay.sensorPath=!this.layer.telemetryDisplay.sensorPath)}toggleSensorSightLineDisplay(){this.layer?.telemetryDisplay&&(this.layer.telemetryDisplay.lineOfSight=!this.layer.telemetryDisplay.lineOfSight)}toggleSensorTrailDisplay(){this.layer?.telemetryDisplay&&(this.layer.telemetryDisplay.sensorTrail=!this.layer.telemetryDisplay.sensorTrail)}_followTelemetry(){this.removeHandles("follow"),this.view&&this.layer&&this.addHandles(d(()=>this.layer?.telemetry,()=>{let e=[],i=this.followingMode==="follow-frame"||this.followingMode==="follow-both";if((this.followingMode==="follow-sensor"||this.followingMode==="follow-both")&&this.layer?.telemetry.sensorLocation&&e.push(this.layer.telemetry.sensorLocation),i&&this.layer?.telemetry.frameCenter&&e.push(this.layer.telemetry.frameCenter),!e.length){this.layer?.initialExtent&&this.followingMode!=="none"&&this.view?.goTo(this.layer.initialExtent).catch(()=>{});return}this.view?.goTo(e).catch(()=>{})},{initial:!0}),"follow")}};s([l({readOnly:!0})],t.prototype,"buffered",1);s([l({readOnly:!0})],t.prototype,"currentTime",1);s([l({readOnly:!0})],t.prototype,"duration",1);s([l({readOnly:!0})],t.prototype,"ended",1);s([l()],t.prototype,"followingMode",2);s([l()],t.prototype,"layer",2);s([l({readOnly:!0})],t.prototype,"metadata",1);s([l({readOnly:!0})],t.prototype,"playing",1);s([l({readOnly:!0})],t.prototype,"previewsInfo",1);s([l()],t.prototype,"seekLength",2);s([l({readOnly:!0})],t.prototype,"state",1);s([l()],t.prototype,"view",2);t=s([S("map-components.video-player.VideoPlayerViewModel")],t);var O=t,F=f`:host{--arcgis-internal-video-player-controls-spacing: 16px;width:531px;height:100%}:host([inline]){width:auto;height:auto}.root,.content{height:100%}.inline{display:flex;gap:var(--calcite-spacing-xs);background-color:var(--calcite-color-foreground-1);padding:var(--calcite-spacing-xxs)}.footer{flex:1}arcgis-video{display:flex;flex:1 1 auto;aspect-ratio:16 / 9;min-height:0}`,R=V(O),u=class extends _{constructor(){super(...arguments),this.messages=$({blocking:!0}),this.viewModel=R(this),this._videoViewRef=v(),this._metadataVisible=!1,this._duration=0,this._currentTime=0,this._bufferedValue=0,this._currentValue=0,this._isBuffering=!1,this._videoViewReady=!1,this._loopPlayback=!1,this.icon="video-web",this.state=this.viewModel.state,this.layer=this.viewModel.layer,this.autoDestroyDisabled=!1,this.inline=!1,this.showFullscreenToggle=!1,this.operationalDataVisible=!1,this.hideHeader=!1,this.view=this.viewModel.view,this.arcgisPropertyChange=D()("state","layer"),this.arcgisReady=p(),this.arcgisVideoReady=p()}static{this.properties={_metadataVisible:16,_duration:16,_currentTime:16,_bufferedValue:16,_currentValue:16,_isBuffering:16,_videoViewReady:16,_layerTitle:16,_isLive:16,_loopPlayback:16,referenceElement:1,icon:1,state:32,followingMode:1,layer:0,autoDestroyDisabled:5,messageOverrides:0,label:3,inline:7,showFullscreenToggle:5,operationalDataVisible:5,hideHeader:5,view:0}}static{this.styles=F}get followingMode(){return this.viewModel.followingMode}set followingMode(i){this.viewModel.followingMode=i}async destroy(){await this.manager.destroy()}loaded(){this.manager.onLifecycle(()=>[d(()=>[this.viewModel.currentTime,this.viewModel.duration,this.viewModel.buffered,this.viewModel.ended],()=>{let{buffered:i,currentTime:n,duration:h,ended:r}=this.viewModel,y=m(h),c=m(n),C=m(i);this._duration=y,this._currentTime=c,this._bufferedValue=C/(y||1),this._currentValue=c/(y||1),this._isBuffering=!r&&this._bufferedValue<this._currentValue}),d(()=>this.layer?.title,i=>{this._layerTitle=i??void 0},{initial:!0}),d(()=>this.layer?.isLive,i=>{this._isLive=i??void 0},{initial:!0}),d(()=>this.layer?.playbackRate,i=>{typeof i=="number"&&this.viewModel.changePlaybackSpeed(i)},{initial:!0}),d(()=>this.viewModel.view?.map,()=>this.requestUpdate())])}render(){return a`<div class=${b(M(this.inline?"inline":"root",P.widget))}><calcite-panel .heading=${this.hideHeader||this.inline?void 0:this._layerTitle??this.messages.videoPlayer}>${this.inline||this.hideHeader||!this.showFullscreenToggle?null:a`<calcite-action slot=header-actions-end icon=full-screen-exit text=minimize @click=${()=>this.inline=!this.inline}></calcite-action>`}${this.inline?a`<div class="inline">${this._renderActionBar()}${this._renderSlider()}${this.showFullscreenToggle?a`<calcite-action icon=full-screen text=maximize @click=${()=>this.inline=!this.inline}></calcite-action>`:null}</div>`:a`<div class="content">${this._renderLoadingScrim()}${this._renderBuffering()}${this._renderVideoSection()}</div>`}${this.inline?null:a`<div slot=footer class="footer">${this._renderSlider()}${this._renderActionBar()}${this._renderMetadataSection()}</div>`}</calcite-panel></div>`}_renderLoadingScrim(){return this._videoViewReady?null:a`<calcite-scrim .loading=${this.state!=="error"}>${this.state==="error"?this.messages.errorLoadingLayer:null}</calcite-scrim>`}_renderBuffering(){return this._isBuffering?a`<calcite-progress type=indeterminate></calcite-progress>`:null}_renderVideoSection(){return a`<arcgis-video .layer=${this.layer} .map=${this.viewModel.view?.map} .operationalDataVisible=${this.operationalDataVisible} @arcgisViewReadyChange=${()=>{this._videoViewReady=!0,this.arcgisVideoReady.emit()}} ${w(this._videoViewRef)}></arcgis-video>`}_renderSlider(){return this._isLive?null:a`<arcgis-video-player-slider .buffered=${this._bufferedValue} .messages=${this.messages} .value=${this._currentValue*100} .viewModel=${this.viewModel}></arcgis-video-player-slider>`}_renderActionBar(){return a`<arcgis-video-player-action-bar .currentTime=${this._currentTime} .duration=${this._duration} .messages=${this.messages} .toggleMetadata=${()=>this._metadataVisible=!this._metadataVisible} .viewModel=${this.viewModel} .inline=${this.inline}></arcgis-video-player-action-bar>`}_renderMetadataSection(){return this._metadataVisible?a`<arcgis-video-player-metadata .messages=${this.messages} .viewModel=${this.viewModel}></arcgis-video-player-metadata>`:null}};T("arcgis-video-player",u);return u},"core/reactiveUtils","core/Accessor","core/accessorSupport/decorators",c,d,e,g,h)
@@ -0,0 +1,2 @@
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
+ import{a as P}from"./IZ46HAUJ.js";import i from"./GKNQZXPX.js";import{d as y,k as w}from"./BAOWXZTE.js";import h from"./2H2YCUTD.js";import{a as B}from"./VJVKFKSG.js";import e from"./3VWROBRU.js";import{a as $}from"./EMF6EVCU.js";import{a as u}from"./JD74LG7K.js";import c from"./ANTO53P2.js";import b from"./J6FGJ5GL.js";import{h as D}from"./HDDHFB4N.js";import"./MLB4A6K7.js";import a from"./VULIDWWD.js";import"./QUZTFUWM.js";import{a as f}from"./NZROZFUD.js";import{O as U,P as k,R as v,U as g,X as M,a as C,b as d,x as S}from"./JG5OBAGE.js";import"./H6RQVSYM.js";export default $arcgis.t(([{createChart:F},{signal:L},{ignoreAbortErrors:b},{watch:m},A,{property:a,subclass:R},,,,z,{b:O,d:_},E])=>{var I=C`.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}.esri-widget{box-sizing:border-box;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget *,.esri-widget :before,.esri-widget :after{box-sizing:inherit}.esri-widget.esri-widget--disabled>*{opacity:.4;pointer-events:none}.esri-widget.esri-widget--compact{--esri-widget-padding-y: 0;--esri-widget-padding-x: 0}.esri-widget__anchor{color:var(--calcite-color-text-2)}.esri-widget__anchor:hover{color:var(--calcite-color-text-3)}.esri-widget__anchor:hover,.esri-widget__anchor:focus{text-decoration:underline}.esri-widget__anchor--disabled{opacity:.4;pointer-events:none}.esri-widget__header{background-color:var(--calcite-color-foreground-1);flex:1 0 100%;justify-content:space-between;align-items:center;width:100%;min-height:48px;padding:12px 0 12px 15px;display:flex}.esri-widget__heading{word-break:break-word}.esri-widget__header .esri-widget__heading{width:calc(100% - 48px);text-align:initial;color:var(--calcite-color-text-1);align-items:center;margin:0;padding:0;display:flex}.esri-widget__header-button{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);border:none;flex:0 0 48px;justify-content:center;align-self:stretch;align-items:center;width:48px;padding:0;display:flex}.esri-widget__footer{background-color:var(--calcite-color-foreground-1);justify-content:center;align-items:center;width:100%;min-height:48px;display:flex}.esri-widget__footer-pagination{color:var(--calcite-color-text-2);justify-content:space-between;align-items:center;display:flex}.esri-widget__footer-pagination-previous-button,.esri-widget__footer-pagination-next-button{cursor:pointer;background-color:var(--calcite-color-foreground-1);border:0;margin:0 7px;padding:12px 15px;transition:background-color .125s ease-in-out}.esri-widget__footer-pagination-previous-button:hover,.esri-widget__footer-pagination-previous-button:focus,.esri-widget__footer-pagination-next-button:hover,.esri-widget__footer-pagination-next-button:focus{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1)}.esri-menu{visibility:hidden;z-index:1;background-clip:padding;background-color:var(--calcite-color-foreground-1);background-clip:padding-box;width:100%;max-height:0;margin:2px 0 0;padding:0;font-size:var(--calcite-font-size);line-height:var(--calcite-spacing-xl);position:absolute;top:100%;left:0;overflow:hidden;box-shadow:0 1px 2px #0000004d}.esri-menu .esri-menu__header{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-inverse);padding:6px 12px}.esri-menu__list{margin:0;padding:0;list-style:none}.esri-menu__list-item{cursor:pointer;border-top:1px solid #adadad4d;border-left:3px solid #0000;padding:.8em 1em}.esri-menu__list-item [class^=esri-icon-],.esri-menu__list-item [class*=" esri-icon-"]{padding-right:2.8px}.esri-menu__list-item:first-child{border-top:none}.esri-menu__list-item--focus,.esri-menu__list-item:hover,.esri-menu__list-item:focus{background-color:var(--calcite-color-foreground-1)}.esri-menu__list-item:active{background-color:var(--calcite-color-foreground-current)}.esri-menu__list-item--active,.esri-menu__list-item--active:hover,.esri-menu__list-item--active:focus{background-color:var(--calcite-color-foreground-1);border-left-color:var(--calcite-color-brand)}.esri-widget__table{border-collapse:collapse;color:var(--calcite-color-text-1);border:none;width:100%;line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget__table tr:nth-child(odd){background-color:var(--calcite-color-transparent)}.esri-widget__table tr:nth-child(2n){background-color:var(--calcite-color-transparent-press)}.esri-widget__table tr a{color:var(--calcite-color-text-2)}.esri-widget__table tr a:hover,.esri-widget__table tr a:focus{color:var(--calcite-color-text-1)}.esri-widget__table tr td,.esri-widget__table tr th{vertical-align:top;word-break:break-word;padding:.5em .7em;font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular)}.esri-widget__table tr th{text-align:left;border-right:3px solid #0000000d;width:50%}.esri-widget__table tr td{width:50%}.esri-input{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1);border:1px solid #959595;font-size:var(--calcite-font-size)}.esri-input::-ms-clear{display:none}.esri-input::placeholder{opacity:1;color:var(--calcite-color-text-2)}.esri-input:placeholder-shown{text-overflow:ellipsis}.esri-input[type=text],.esri-input[type=password],.esri-input[type=number]{height:32px;padding:0 .5em}calcite-combobox.esri-input{border:none}.esri-widget__content--empty{text-align:center;color:var(--calcite-color-border-input);flex-flow:column wrap;align-items:center;padding:18px 22px;display:flex}.esri-widget__content--empty h1.esri-widget__heading,.esri-widget__content--empty h2.esri-widget__heading,.esri-widget__content--empty h3.esri-widget__heading,.esri-widget__content--empty h4.esri-widget__heading,.esri-widget__content--empty h5.esri-widget__heading{font-weight:var(--calcite-font-weight-regular)}.esri-widget__content-illustration--empty{width:128px;padding:1rem 0}.esri-widget__content-icon--empty{width:32px;padding:.5rem 0}.esri-select{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background:var(--calcite-color-foreground-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -8 32 32' width='32' height='32'%3E%3Cpath d='M8 11.207l-4-4V5.793l4 4 4-4v1.414z' fill='%23adadad' fillrule='nonzero'/%3E%3C/svg%3E") 100% no-repeat;border:1px solid #959595;border-radius:0;width:100%;height:32px;margin:0;padding:0 .5em;font-family:inherit;font-size:.85em;display:block}.esri-select[disabled]{cursor:auto}.esri-select::-ms-expand{display:none}.esri-disabled a,.esri-disabled [role=menu],.esri-disabled [role=checkbox],.esri-disabled [class^=esri-icon-],.esri-disabled [class*=" esri-icon-"]{color:var(--calcite-color-text-3)}.keynav-mode .esri-widget:focus,.keynav-mode .esri-widget :focus{z-index:1;outline-offset:2px;outline:2px solid #adadad}.esri-widget__loader-animation{border:.15em solid #adadad4d;border-top-color:var(--calcite-color-border-input);border-radius:100%;width:1em;height:1em;font-size:var(--calcite-font-size-md);animation:1.25s linear infinite esri-rotate;display:block;transform:translateZ(0)}:dir(rtl) .esri-widget__table th{text-align:right;border-left:3px solid #0000000d;border-right:none}:dir(rtl) .esri-select{background-position:0}:dir(rtl) .esri-menu__list-item{border-left:none;border-right:3px solid #0000}:dir(rtl) .esri-menu__list-item [class^=esri-icon-],:dir(rtl) .esri-menu__list-item [class*=" esri-icon-"]{padding-left:2px;padding-right:0}:dir(rtl) .esri-menu__list-item--active{border-right-color:var(--calcite-color-brand)}.esri-icon-font-fallback-text{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.esri-rotating{animation:1.25s linear infinite esri-rotate;transform:translateZ(0)}.esri-clearfix:before,.esri-clearfix:after{content:" ";display:table}.esri-clearfix:after{clear:both}.esri-interactive{cursor:pointer}.esri-hidden{display:none!important}.esri-invisible{visibility:hidden!important}.esri-offscreen{position:absolute;top:-999em;left:-999em}.esri-match-height{flex-direction:column;flex:auto;display:flex;overflow:hidden}.esri-widget--panel{min-width:300px;min-height:32px;padding:var(--arcgis-internal-padding);transition:max-height .25s ease-in-out;overflow-y:auto}:host{--internal-chart-height: 180px;--internal-gap: var(--calcite-spacing-sm-plus);width:550px;isolation:isolate;position:relative;container-type:inline-size}.root{display:flex;flex-direction:column;width:100%;min-width:0;gap:var(--internal-gap)}.header{display:flex;flex-direction:row;align-items:center;justify-content:flex-end;margin-bottom:calc(var(--internal-gap) * -1)}.actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:var(--calcite-spacing-xs)}.action-button{width:auto;min-height:32px}.main-container{display:flex;position:relative;flex-flow:column;width:100%;height:var(--internal-chart-height)}.chart-container{position:relative;width:100%;height:100%}.prompt-container{box-sizing:border-box;display:grid;place-content:center;padding-inline:var(--calcite-spacing-md);height:100%;text-align:center}.prompt-message{margin:0;width:100%}.spinner{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transition:opacity .15s ease-in-out;transition-delay:0;opacity:0;&.visible{transition-delay:50ms;opacity:1}&.small{inset-inline-start:0;inset-block-start:-24px;left:unset;transform:none;color:var(--calcite-color-brand)}}@container (max-width: 400px){.esri-widget--panel{height:auto}.actions{flex-direction:column}.action-button{align-self:stretch}}`;async function T(t,e,i){let s=await H(t,e);return O(i),Z(s)?s.highlight(e):P()}async function H(t,e){let i=e?.layer;if(!(!i||i.type==="subtype-sublayer"||i.type==="sublayer"||i.type==="building-component"))return await t.whenLayerView(i)}function Z(t){return t!=null&&"highlight"in t&&typeof t.highlight=="function"}function j({geometry:t}){return t?.type==="polyline"&&t.paths.length>0&&t.paths.every(e=>e.length>=2)}function G({geometry:t}){return t?.type==="polyline"&&t.paths.reduce((e,i)=>e+i.length,0)>0}function q(t){return t?.samples?.some(e=>e.z!=null)??!1}var J=Object.defineProperty,N=Object.getOwnPropertyDescriptor,o=(t,e,i,s)=>{for(var r=s>1?void 0:s?N(e,i):e,l=t.length-1,c;l>=0;l--)(c=t[l])&&(r=(s?c(e,i,r):c(r))||r);return s&&r&&J(e,i,r),r},n=class extends E{constructor(){super(...arguments),this._resettingUnits=!1,this.highlightDisabled=!1,this.uniformChartScaling=!1,this.shouldForceInteractive=!1,this.supportedViewType="both",this.unsupportedErrorMessage=""}get _hasSamples(){let{progress:t}=this;return!!this.analysisView?.results?.some(e=>e.available&&(t<1||q(e)))}get doneButtonAvailable(){return this.featureIsSelected?!1:this.analysisView?.canStopPlacing??!1}get effectiveDisplayUnits(){return this.analysisView?.effectiveDisplayUnits}get errorState(){if(!j(this.analysis))return"no-valid-input";let t=this.analysisView?.error;if(t)switch(t.name){case"too-complex":return"too-complex";case"elevation-query-error":return"no-valid-input";default:return"unknown"}return this._hasSamples?"none":"no-available-profiles"}get feature(){return this._selectedFeature}set feature(t){t?t!==this.feature&&(this.analysis.setGeometryFromFeature(t),this._selectedFeature=t):this._selectedFeature=void 0}get featureIsSelected(){return this.feature!=null}get hasVertices(){return G(this.analysis)}get indicatorRelativePosition(){return this.analysisView?.indicatorRelativePosition??void 0}get geometry(){return this.analysis.geometry}set geometry(t){this.analysis.geometry=t}get elevationInfo(){return this.analysis.elevationInfo}set elevationInfo(t){this.analysis.elevationInfo=t}get profiles(){return this.analysis.profiles}set profiles(t){this.analysis.profiles=t}get progress(){return this.analysisView?.progress??0}get results(){return this.analysisView?.results??[]}get selectButtonAvailable(){for(let t of this.view?.map?.allLayers.toArray()??[])if(t.type==="graphics"&&!("internal"in t&&t.internal)&&t.graphics.some(e=>e.geometry?.type==="polyline")||"geometryType"in t&&t.geometryType==="polyline")return!0;return!!this.view?.graphics?.some(t=>t.geometry?.type==="polyline")}get state(){return this.disabled||!this.ready?"disabled":this._selectingPromise?"selecting":this.operationState==="active"?"creating":this.analysis.valid?this.featureIsSelected?"selected":"created":"ready"}get distanceUnit(){return w({userUnit:this._userDistanceUnit,analysisUnit:this.analysis.displayUnits?.distance,options:this.distanceUnitOptions,defaultUnit:this.defaultMeasurementSystem,viewUnit:this.view?.options.displayUnits.length})}set distanceUnit(t){this._userDistanceUnit=t}get distanceUnitOptions(){return V(this._userDistanceUnitOptions)}set distanceUnitOptions(t){this._userDistanceUnitOptions=t}get elevationUnit(){return w({userUnit:this._userElevationUnit,analysisUnit:this.analysis.displayUnits?.elevation,options:this.elevationUnitOptions,defaultUnit:this.defaultMeasurementSystem,viewUnit:this.view?.options.displayUnits.verticalLength})}set elevationUnit(t){this._userElevationUnit=t}get elevationUnitOptions(){return V(this._userElevationUnitOptions)}set elevationUnitOptions(t){this._userElevationUnitOptions=t}get canResetDistanceUnit(){return this._userDistanceUnit!=null||this.analysis.displayUnits.distance!=null}get canResetElevationUnit(){return this._userElevationUnit!=null||this.analysis.displayUnits.elevation!=null}resetUnit(t){this._resettingUnits=!0;try{t==="distance"?this._userDistanceUnit=void 0:this._userElevationUnit=void 0,this.analysis.displayUnits[t]=null}finally{this._resettingUnits=!1}}initialize(){this.addHandles([m(()=>({analysis:this.analysis,unitDistance:this._userDistanceUnit,unitElevation:this._userElevationUnit}),({analysis:t,unitDistance:e,unitElevation:i})=>{this._resettingUnits||(i&&(t.displayUnits.elevation=i),e&&(t.displayUnits.distance=e))},{sync:!0,initial:!0}),m(()=>({selectedFeature:this.feature,profiles:this.analysis.profiles.toArray()}),({selectedFeature:t,profiles:e},i)=>{this._highlightSelectedFeature(this.highlightDisabled?void 0:t),this.analysis.viewOptions.geometryVisualizationVisible=!this.highlightDisabled&&t==null;let s=i?.selectedFeature;e.forEach(r=>{switch(r.type){case"scene":this._excludeSelectedFeatureFromProfile(r,t,s);break;case"input":r.chartOptions.lineVisible=t!=null,r.viewOptions.lineVisible=t!=null;break}})},{initial:!0})])}destroy(){this._removeSelectionHighlight()}async select(){if(this.interactionDisabled)return;let t=this.analysisView;if(!t)return;this.clear();let e=super.start({operation:async i=>{let s=await t.pickFeature(i);i?.signal?.aborted||(t.interactive=!1,this.feature=s.feature)},clear:!1});this._selectingPromise=e;try{await b(e)}finally{this._selectingPromise===e&&(this._selectingPromise=void 0)}}async place(t){await this.analysisView?.place(t)}clearAnalysis(){this.geometry=null,this.elevationInfo=null,this.feature=void 0}constructAnalysis(){return new A}_highlightSelectedFeature(t){this._removeSelectionHighlight();let e=this.view;!e||!t||(this._selectionHighlightTask=_(async i=>await T(e,t,{signal:i})))}_removeSelectionHighlight(){this._selectionHighlightTask?.value?.remove(),this._selectionHighlightTask=B(this._selectionHighlightTask)}_excludeSelectedFeatureFromProfile(t,e,i){let s=new Set(t.exclude??[]);i&&s.delete(i),e&&s.add(e),t.exclude=Array.from(s)}};o([a()],n.prototype,"_userDistanceUnit",2);o([a()],n.prototype,"_userDistanceUnitOptions",2);o([a()],n.prototype,"_userElevationUnit",2);o([a()],n.prototype,"_userElevationUnitOptions",2);o([a()],n.prototype,"_selectingPromise",2);o([a()],n.prototype,"_selectedFeature",2);o([a()],n.prototype,"_selectionHighlightTask",2);o([a()],n.prototype,"_hasSamples",1);o([a()],n.prototype,"doneButtonAvailable",1);o([a({readOnly:!0})],n.prototype,"effectiveDisplayUnits",1);o([a({readOnly:!0})],n.prototype,"errorState",1);o([a()],n.prototype,"feature",1);o([a()],n.prototype,"featureIsSelected",1);o([a({readOnly:!0})],n.prototype,"hasVertices",1);o([a()],n.prototype,"highlightDisabled",2);o([a()],n.prototype,"indicatorRelativePosition",1);o([a()],n.prototype,"geometry",1);o([a()],n.prototype,"elevationInfo",1);o([a()],n.prototype,"profiles",1);o([a({readOnly:!0})],n.prototype,"progress",1);o([a({readOnly:!0})],n.prototype,"results",1);o([a({readOnly:!0})],n.prototype,"selectButtonAvailable",1);o([a({readOnly:!0})],n.prototype,"state",1);o([a()],n.prototype,"uniformChartScaling",2);o([a()],n.prototype,"distanceUnit",1);o([a()],n.prototype,"distanceUnitOptions",1);o([a()],n.prototype,"elevationUnit",1);o([a()],n.prototype,"elevationUnitOptions",1);o([a({readOnly:!0})],n.prototype,"canResetDistanceUnit",1);o([a({readOnly:!0})],n.prototype,"canResetElevationUnit",1);n=o([R("components.elevation-profile.ElevationProfileViewModel")],n);function V(t){let e=t?.filter(i=>y.includes(i));return e&&e.length>0?e:y.slice()}var Q=z(n),x=class extends k{constructor(){super(...arguments),this.viewModel=Q(this),this._chartInitializationTask=L(void 0),this._messages=$(),this._hideZoomOutButton=!0,this._hasSettingsStartContent=!1,this._hasSettingsEndContent=!1,this.analysis=this.viewModel.analysis,this.view=this.viewModel.view,this.autoDestroyDisabled=!1,this.effectiveDisplayUnits=this.viewModel.effectiveDisplayUnits,this.feature=this.viewModel.feature,this.hideChart=!1,this.hideChartGridLines=!1,this.hideChartAxisLabels=!1,this.hideClearButton=!1,this.hideLegend=!1,this.hideSelectButton=!1,this.hideSettingsButton=!1,this.hideResetUnitsButton=!1,this.hideStartButton=!1,this.hideUniformChartScalingToggle=!1,this.hideDistanceDisplayUnitSelect=!1,this.hideElevationDisplayUnitSelect=!1,this.hideVisualization=this.viewModel.hideVisualization,this.highlightDisabled=this.viewModel.highlightDisabled,this.icon="altitude",this.indicatorRelativePosition=this.viewModel.indicatorRelativePosition,this.interactionDisabled=this.viewModel.interactionDisabled,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=D()("analysis","effectiveDisplayUnits","elevationInfo","feature","geometry","indicatorRelativePosition","interactionDisabled","progress","state"),this.arcgisReady=S()}static{this.properties={_messages:16,_hideZoomOutButton:16,_chartContainer:16,_hasSettingsStartContent:16,_hasSettingsEndContent:16,analysis:0,view:0,autoDestroyDisabled:5,effectiveDisplayUnits:32,feature:0,hideChart:5,hideChartGridLines:5,hideChartAxisLabels:5,hideClearButton:5,hideLegend:5,hideSelectButton:5,hideSettingsButton:5,hideResetUnitsButton:5,hideStartButton:5,hideUniformChartScalingToggle:5,hideDistanceDisplayUnitSelect:5,hideElevationDisplayUnitSelect:5,hideVisualization:5,highlightDisabled:5,icon:3,indicatorRelativePosition:40,interactionDisabled:5,geometry:0,elevationInfo:0,label:1,messageOverrides:0,referenceElement:1,profiles:0,progress:40,state:32,uniformChartScaling:5,distanceUnit:1,distanceUnitOptions:0,elevationUnit:1,elevationUnitOptions:0}}static{this.styles=I}get _selectButtonVisible(){return!this.hideSelectButton&&this.viewModel.selectButtonAvailable}get _chart(){return this._chartInitializationTask.value?.value}async clear(){this.viewModel.clear()}async destroy(){await this.manager.destroy()}async select(){b(this.viewModel.select())}async start(){b(this.viewModel.start())}async stop(){this.viewModel.stop()}load(){this.manager.onLifecycle(()=>[m(()=>({container:this._chartContainer,messages:this._messages}),({container:e,messages:i})=>{this._destroyChart(),!(!e||i._loading)&&(this._chartInitializationTask.value=_(async s=>await F({view:this.viewModel.view,analysisView:this.viewModel.analysisView,container:e,messages:i,signal:s,uniformScaling:this.viewModel.uniformChartScaling,onRangeChange:(r,l)=>{this._hideZoomOutButton=r===1&&l===1},onCursorPositionChange:(r,l)=>{let{analysisView:c}=this.viewModel;c&&(c.indicatorRelativePosition=r)}})))},{sync:!0,initial:!0}),m(()=>({chart:this._chart,messages:this._messages,view:this.viewModel.view,analysisView:this.viewModel.analysisView,uniformScaling:this.viewModel.uniformChartScaling,hideGridLines:this.hideChartGridLines,hideLabels:this.hideChartAxisLabels}),({chart:e,messages:i,view:s,analysisView:r,uniformScaling:l})=>{e&&(e.messages=i,e.view=s,e.analysisView=r,e.uniformScaling=l,e.hideGridLines=this.hideChartGridLines,e.hideAxisLabels=this.hideChartAxisLabels)},{sync:!0,initial:!0}),{remove:()=>this._destroyChart()}])}_destroyChart(){let e=this._chart;this._chartInitializationTask.value?.abort(),this._chartInitializationTask.value=void 0,e?.destroy()}_onCancelButtonClick(){this.viewModel.stop(),this.viewModel.clear()}_onDoneButtonClick(){this.viewModel.stop()}_getErrorMessage(){let e=W[this.viewModel.errorState];return e?this._messages?.errors?.[e]:void 0}_onClearButtonClick(){this.viewModel.clear()}_onZoomOutButtonClick(){this._chart?.zoomOut()}_onChartContainerRef(e){this._chartContainer=e}render(){return d`<div aria-label=${this._messages.componentLabel??g} class=${v({root:!0,[u.widget]:!0,[u.widgetDisabled]:this.viewModel.state==="disabled",[u.panel]:!0})} role=presentation>${this._renderContentForState()}</div>`}_renderContentForState(){switch(this.viewModel.state){case"ready":return this._renderContentForReadyState();case"selecting":return this._renderContentForSelectingState();case"creating":return this._renderContentForCreatingState();case"selected":return this._renderContentForSelectedState();case"created":return this._renderContentForCreatedState();case"disabled":return this._renderContentForReadyState()}}_renderContentForReadyState(){let{_messages:e,hideSelectButton:i,hideStartButton:s}=this,{selectButtonAvailable:r}=this.viewModel,l=!i&&r,c;return!s&&l?c=e.readyPrompt:s?l?c=e.readyPromptSelectOnly:c=e.errors?.noProfile:c=e.readyPromptCreateOnly,this._renderContent({prompt:c,chart:!1,actions:p})}_renderContentForSelectingState(){let{view:e}=this.viewModel;if(!e)return;let i=this._messages[`selectingPrompt-${e.type}`];return this._renderContent({prompt:i,chart:!1,actions:[{type:"select-cancel"}]})}_renderContentForCreatingState(){let{viewModel:e}=this,{view:i}=e;if(!i)return;let s=e.hasVertices?[{type:"sketch-cancel"},{type:"sketch-done",disabled:!e.doneButtonAvailable}]:[{type:"select"},{type:"sketch",disabled:!0}];if(e.errorState==="no-valid-input"){let l=this._messages[`creatingPrompt-${i.type}`];return this._renderContent({chart:!1,actions:s,prompt:l})}let r=this._getErrorMessage();return r?this._renderContent({chart:!1,actions:s,prompt:r}):this._renderContent({chart:!0,actions:s})}_renderContentForSelectedState(){let e=this._getErrorMessage();return e?this._renderContent({chart:!1,actions:p,prompt:e}):this._renderContent({chart:!0,actions:p})}_renderContentForCreatedState(){let e=this._getErrorMessage();return e?this._renderContent({chart:!1,actions:p,prompt:e}):this._renderContent({chart:!0,actions:p})}_renderContent(e){let{viewModel:i}=this,s=i.geometry!=null;return d`<header class="header">${h({hidden:this._hideZoomOutButton,children:this._renderZoomOutButton()})}${h({hidden:this.hideClearButton||!s,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)}`}_renderPrompt(e){return[d`<div class="prompt-container"><p class="prompt-message">${e}</p></div>`]}_renderZoomOutButton(){let e=this._messages.zoomOut??"";return d`<calcite-action icon=magnifying-glass-minus @click=${this._onZoomOutButtonClick} .text=${e} title=${e??g}></calcite-action>`}_renderChart(){if(this.hideChart)return;let e=this._chart;return d`${this._renderSpinner({size:e?.chartVisible?"small":"large",visible:e?.spinnerVisible??!1})}<div class="chart-container" ${U(this._onChartContainerRef)}></div>`}_renderSpinner(e){let i=e.size==="small",s=e.visible??!0;return d`<calcite-loader class=${v({spinner:!0,small:i,visible:s})} .inline=${i} label></calcite-loader>`}_renderClearButton(){let e=this._messages.clearProfile??"";return d`<calcite-action icon=trash @click=${this._onClearButtonClick} .text=${e} title=${e??g}></calcite-action>`}_renderLegend(){return d`<arcgis-elevation-profile-legend .effectiveDisplayUnits=${this.viewModel.effectiveDisplayUnits} .featureSelected=${this.viewModel.featureIsSelected} .messages=${this._messages} .profiles=${this.profiles} .results=${this.viewModel.results}></arcgis-elevation-profile-legend>`}_renderSettingsButton(){return d`<arcgis-elevation-profile-settings .hasCustomStartContent=${this._hasSettingsStartContent} .hasCustomEndContent=${this._hasSettingsEndContent} .viewModel=${this.viewModel} .hideUniformChartScalingToggle=${this.hideUniformChartScalingToggle} .hideDistanceDisplayUnitSelect=${this.hideDistanceDisplayUnitSelect} .hideElevationDisplayUnitSelect=${this.hideElevationDisplayUnitSelect} .hideResetUnitsButton=${this.hideResetUnitsButton} .messages=${this._messages} .messageOverrides=${this.messageOverrides} .uniformChartScaling=${this.viewModel.uniformChartScaling} .unitOptionsDistance=${this.viewModel.distanceUnitOptions} .unitOptionsElevation=${this.viewModel.elevationUnitOptions} @arcgisElevationProfileSettingsUniformChartScalingChange=${e=>{this.viewModel.uniformChartScaling=e.detail}}><slot name=settings-start slot=settings-start @slotchange=${e=>{this._hasSettingsStartContent=f(e)}}></slot><slot name=settings-end slot=settings-end @slotchange=${e=>{this._hasSettingsEndContent=f(e)}}></slot></arcgis-elevation-profile-settings>`}_renderActions({actions:e}){let i=this._messages,s=e.map(r=>{switch(r.type){case"sketch":return h({hidden:this.hideStartButton,children:this._renderAction({action:r,label:i.sketchButtonLabel,primary:!0,onClick:()=>{this.start()}})});case"sketch-cancel":return h({hidden:this.hideStartButton,children:this._renderAction({action:r,label:i.cancelButtonLabel,primary:!1,onClick:this._onCancelButtonClick})});case"sketch-done":return h({hidden:this.hideStartButton,children:this._renderAction({action:r,label:i.doneButtonLabel,primary:!0,onClick:this._onDoneButtonClick})});case"select":return h({hidden:!this._selectButtonVisible,children:this._renderAction({action:r,label:i.selectButtonLabel,primary:!1,onClick:()=>{this.select()}})});case"select-cancel":return h({hidden:!this._selectButtonVisible,children:this._renderAction({action:r,label:i.cancelButtonLabel,primary:!1,onClick:this._onCancelButtonClick})});default:return}}).filter(Boolean);return s.length?d`<footer class="actions">${s}</footer>`:void 0}_renderAction({action:e,label:i,onClick:s,primary:r}){return d`<calcite-button .appearance=${r?"solid":"outline-fill"} class="action-button" .disabled=${e.disabled||this.interactionDisabled&&(e.type==="sketch"||e.type==="select")} @click=${s}>${i}</calcite-button>`}};function h(t){return t.hidden?void 0:t.children}var p=[{type:"select"},{type:"sketch"}],W={none:void 0,"no-valid-input":"noProfile","no-available-profiles":"noProfile","too-complex":"tooComplex",unknown:"unknown"};M("arcgis-elevation-profile",x);return x},"applications/Components/analysisUtils","applications/Components/reactiveUtils","core/promiseUtils","core/reactiveUtils","analysis/ElevationProfileAnalysis","core/accessorSupport/decorators",a,b,c,e,h,i)
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import{a as y}from"./WEAGLY7B.js";import"./JAZGNQRP.js";import{a as b}from"./Z5C6UBYP.js";import"./QUZTFUWM.js";import"./WQMZ7BDQ.js";import{N as l,O as o,P as f,R as m,U as v,X as _,a as p,b as n,x as u}from"./EKR2SAT2.js";import"./H6RQVSYM.js";export default $arcgis.t(([{getAttachmentTypeCategory:F}])=>{var S=p`:host{--arcgis-internal-file-picker-minimum-height: 10.875rem;--arcgis-internal-dropzone-danger-background: var( --calcite-notice-background-color, color-mix(in srgb, var(--calcite-color-status-danger) 25%, var(--calcite-color-foreground-1)) );--calcite-button-background-color: var(--calcite-color-foreground-1)}.hidden-input{display:none}.drop-zone{min-block-size:var(--arcgis-internal-file-picker-minimum-height);border:var(--calcite-border-width-sm) dashed var(--calcite-color-border-input);border-radius:var(--calcite-corner-radius-sm);background-color:var(--calcite-color-surface-2);padding:var(--calcite-space-lg) var(--calcite-space-md);display:flex;flex-direction:column;justify-content:center;align-items:center;gap:var(--calcite-space-sm);-webkit-user-select:none;user-select:none;calcite-icon{color:var(--calcite-color-text-3);pointer-events:none}&.drag-active{background-color:var(--calcite-color-surface-highlight);border-color:var(--calcite-color-brand)}&.drag-danger{background-color:var(--arcgis-internal-dropzone-danger-background);border-color:var(--calcite-color-status-danger)}div{line-height:var(--calcite-font-line-height-fixed-base);color:var(--calcite-color-text-1);font-size:var(--calcite-font-size-0);font-weight:var(--calcite-font-weight-regular);text-align:center;pointer-events:none;&.detail{color:var(--calcite-color-text-2);font-size:var(--calcite-font-size--1)}}}`,C=new Set(["unknown"]),d=class extends f{constructor(){super(...arguments),this._messages=y({blocking:!1}),this.#i=l(),this.#e=l(),this._dragState="idle",this.disabled=!1,this.icon="upload",this.multipleEnabled=!1,this.arcgisFilesSelect=u()}static{this.properties={_dragState:16,accept:32,fileTypeCategories:0,disabled:5,heading:1,icon:1,messageOverrides:0,multipleEnabled:5}}static{this.styles=S}static{this.shadowRootOptions={mode:"open",delegatesFocus:!0}}#t;#i;#e;get accept(){let e=this.fileTypeCategories;if(!e?.size)return;let t=[];return e.has("image")&&t.push("image/*"),e.has("audio")&&t.push("audio/*"),e.has("video")&&t.push("video/*"),e.has("document")&&t.push("text/*","application/*","model/*"),t.length>0?t.join(","):void 0}async open(){this._openSync()}_handleUpload(e){let t=e.currentTarget,i=t.files;try{i&&this._processFileList(i)}finally{t.value=""}}_handleDrop(e){this._applyDropEffects(e),this._dragState="idle",!this.disabled&&e.dataTransfer&&this._processFileList(e.dataTransfer?.files)}_handlePaste(e){e.preventDefault(),!this.disabled&&e.clipboardData&&this._processFileList(e.clipboardData.files)}_handleDragOver(e){if(this._applyDropEffects(e),this.disabled)this._dragState="idle";else{let t=this._isValidTransfer(e.dataTransfer);this._dragState=t?"valid":"warning"}}_handleDragLeave({relatedTarget:e,currentTarget:t}){e&&(e===this.#e.value||e===t)||(this._dragState="idle")}_handleButtonClick(e){this.disabled||(e.preventDefault(),e.stopPropagation(),this._openSync())}_handleZoneClick(){this.disabled||(this.#e?.value?.setFocus(),this._dragState="idle")}_processFileList(e){let t=Array.from(e);t.length<1||this.disabled||this.arcgisFilesSelect.emit({files:t})}_isValidTransfer(e){if(!e)return!1;let t=Array.from(e.items);if(t.some(({kind:s})=>s!=="file"))return!1;let i=t.filter(({kind:s})=>s==="file");if(!i.length||i.length>1&&!this.multipleEnabled)return!1;let a=this.fileTypeCategories;return a?.size?!i.some(({type:s})=>!a?.has(F(s))):!0}_applyDropEffects(e){e.preventDefault(),e.stopPropagation(),e.dataTransfer&&(e.dataTransfer.dropEffect=this.disabled||!z(e.dataTransfer)?"none":"copy")}_openSync(){this.#i.value?.click()}_getFileTypeGuidance(){let e=this.fileTypeCategories;if(!e?.size||!e.isDisjointFrom(C))return null;let t=this._messages.fileCategory;if(!t)return null;let i=Array.from(e).map(a=>t[a]);if(this.#t?.resolvedOptions().locale!==this._messages._t9nLocale){let a=b(this.el);this.#t=new Intl.ListFormat(a.t9nLocale,{type:"conjunction",style:"long"})}return this.#t?.format(i)??null}render(){let{multipleEnabled:e,icon:t,disabled:i,heading:a,_dragState:s}=this,k=s==="valid"&&!i,$=s==="warning"&&!i,T=a||c(this._messages?.heading,e),D=c(this._messages.detailedGuidance,e),h=this._getFileTypeGuidance(),g=h===null?null:this._messages?.fileCategoryMessage?.replace("{fileCategories}",h);return n`<div><input accept=${this.accept??v} class="hidden-input" data-testid=native-input .disabled=${i} .multiple=${e} @change=${this._handleUpload} type=file ${o(this.#i)}><div .ariaDisabled=${i} class=${m({"drop-zone":!0,"drag-active":k,"drag-danger":$})} data-testid=drop-zone @click=${this._handleZoneClick} @dragend=${this._handleDragLeave} @dragleave=${this._handleDragLeave} @dragover=${this._handleDragOver} @drop=${this._handleDrop} @paste=${this._handlePaste}><calcite-icon scale=l .icon=${t} data-testid=icon></calcite-icon><div class="heading">${T}</div><div class="detail">${D}</div><calcite-button alignment=center appearance=transparent data-testid=upload-button .disabled=${i} icon-start=folder-open kind=brand @click=${this._handleButtonClick} scale=s width=auto ${o(this.#e)}>${c(this._messages.selectFileButton,e)}</calcite-button>${g!=null?n`<div class="detail" data-testid=file-type>${g}</div>`:void 0}</div></div>`}};function c(r,e=!1){return r?e?r.plural:r.singular:""}function z(r){return r?.items.length?Array.from(r.items).some(({kind:e})=>e==="file"):!1}_("arcgis-file-picker",d);return d},"widgets/Attachments/support/attachmentUtils")
2
+ import{a as y}from"./EMF6EVCU.js";import"./HDDHFB4N.js";import{a as b}from"./MLB4A6K7.js";import"./QUZTFUWM.js";import"./NZROZFUD.js";import{N as l,O as o,P as f,R as m,U as v,X as _,a as p,b as n,x as u}from"./JG5OBAGE.js";import"./H6RQVSYM.js";export default $arcgis.t(([{getAttachmentTypeCategory:F}])=>{var S=p`:host{--arcgis-internal-file-picker-minimum-height: 10.875rem;--arcgis-internal-dropzone-danger-background: var( --calcite-notice-background-color, color-mix(in srgb, var(--calcite-color-status-danger) 25%, var(--calcite-color-foreground-1)) );--calcite-button-background-color: var(--calcite-color-foreground-1)}.hidden-input{display:none}.drop-zone{min-block-size:var(--arcgis-internal-file-picker-minimum-height);border:var(--calcite-border-width-sm) dashed var(--calcite-color-border-input);border-radius:var(--calcite-corner-radius-sm);background-color:var(--calcite-color-surface-2);padding:var(--calcite-space-lg) var(--calcite-space-md);display:flex;flex-direction:column;justify-content:center;align-items:center;gap:var(--calcite-space-sm);-webkit-user-select:none;user-select:none;calcite-icon{color:var(--calcite-color-text-3);pointer-events:none}&.drag-active{background-color:var(--calcite-color-surface-highlight);border-color:var(--calcite-color-brand)}&.drag-danger{background-color:var(--arcgis-internal-dropzone-danger-background);border-color:var(--calcite-color-status-danger)}div{line-height:var(--calcite-font-line-height-fixed-base);color:var(--calcite-color-text-1);font-size:var(--calcite-font-size-0);font-weight:var(--calcite-font-weight-regular);text-align:center;pointer-events:none;&.detail{color:var(--calcite-color-text-2);font-size:var(--calcite-font-size--1)}}}`,C=new Set(["unknown"]),d=class extends f{constructor(){super(...arguments),this._messages=y({blocking:!1}),this.#i=l(),this.#e=l(),this._dragState="idle",this.disabled=!1,this.icon="upload",this.multipleEnabled=!1,this.arcgisFilesSelect=u()}static{this.properties={_dragState:16,accept:32,fileTypeCategories:0,disabled:5,heading:1,icon:1,messageOverrides:0,multipleEnabled:5}}static{this.styles=S}static{this.shadowRootOptions={mode:"open",delegatesFocus:!0}}#t;#i;#e;get accept(){let e=this.fileTypeCategories;if(!e?.size)return;let t=[];return e.has("image")&&t.push("image/*"),e.has("audio")&&t.push("audio/*"),e.has("video")&&t.push("video/*"),e.has("document")&&t.push("text/*","application/*","model/*"),t.length>0?t.join(","):void 0}async open(){this._openSync()}_handleUpload(e){let t=e.currentTarget,i=t.files;try{i&&this._processFileList(i)}finally{t.value=""}}_handleDrop(e){this._applyDropEffects(e),this._dragState="idle",!this.disabled&&e.dataTransfer&&this._processFileList(e.dataTransfer?.files)}_handlePaste(e){e.preventDefault(),!this.disabled&&e.clipboardData&&this._processFileList(e.clipboardData.files)}_handleDragOver(e){if(this._applyDropEffects(e),this.disabled)this._dragState="idle";else{let t=this._isValidTransfer(e.dataTransfer);this._dragState=t?"valid":"warning"}}_handleDragLeave({relatedTarget:e,currentTarget:t}){e&&(e===this.#e.value||e===t)||(this._dragState="idle")}_handleButtonClick(e){this.disabled||(e.preventDefault(),e.stopPropagation(),this._openSync())}_handleZoneClick(){this.disabled||(this.#e?.value?.setFocus(),this._dragState="idle")}_processFileList(e){let t=Array.from(e);t.length<1||this.disabled||this.arcgisFilesSelect.emit({files:t})}_isValidTransfer(e){if(!e)return!1;let t=Array.from(e.items);if(t.some(({kind:s})=>s!=="file"))return!1;let i=t.filter(({kind:s})=>s==="file");if(!i.length||i.length>1&&!this.multipleEnabled)return!1;let a=this.fileTypeCategories;return a?.size?!i.some(({type:s})=>!a?.has(F(s))):!0}_applyDropEffects(e){e.preventDefault(),e.stopPropagation(),e.dataTransfer&&(e.dataTransfer.dropEffect=this.disabled||!z(e.dataTransfer)?"none":"copy")}_openSync(){this.#i.value?.click()}_getFileTypeGuidance(){let e=this.fileTypeCategories;if(!e?.size||!e.isDisjointFrom(C))return null;let t=this._messages.fileCategory;if(!t)return null;let i=Array.from(e).map(a=>t[a]);if(this.#t?.resolvedOptions().locale!==this._messages._t9nLocale){let a=b(this.el);this.#t=new Intl.ListFormat(a.t9nLocale,{type:"conjunction",style:"long"})}return this.#t?.format(i)??null}render(){let{multipleEnabled:e,icon:t,disabled:i,heading:a,_dragState:s}=this,k=s==="valid"&&!i,$=s==="warning"&&!i,T=a||c(this._messages?.heading,e),D=c(this._messages.detailedGuidance,e),h=this._getFileTypeGuidance(),g=h===null?null:this._messages?.fileCategoryMessage?.replace("{fileCategories}",h);return n`<div><input accept=${this.accept??v} class="hidden-input" data-testid=native-input .disabled=${i} .multiple=${e} @change=${this._handleUpload} type=file ${o(this.#i)}><div .ariaDisabled=${i} class=${m({"drop-zone":!0,"drag-active":k,"drag-danger":$})} data-testid=drop-zone @click=${this._handleZoneClick} @dragend=${this._handleDragLeave} @dragleave=${this._handleDragLeave} @dragover=${this._handleDragOver} @drop=${this._handleDrop} @paste=${this._handlePaste}><calcite-icon scale=l .icon=${t} data-testid=icon></calcite-icon><div class="heading">${T}</div><div class="detail">${D}</div><calcite-button alignment=center appearance=transparent data-testid=upload-button .disabled=${i} icon-start=folder-open kind=brand @click=${this._handleButtonClick} scale=s width=auto ${o(this.#e)}>${c(this._messages.selectFileButton,e)}</calcite-button>${g!=null?n`<div class="detail" data-testid=file-type>${g}</div>`:void 0}</div></div>`}};function c(r,e=!1){return r?e?r.plural:r.singular:""}function z(r){return r?.items.length?Array.from(r.items).some(({kind:e})=>e==="file"):!1}_("arcgis-file-picker",d);return d},"widgets/Attachments/support/attachmentUtils")