@arcgis/map-components 5.0.0-next.45 → 5.0.0-next.47

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 (449) hide show
  1. package/dist/cdn/{TT2DQCSB.js → 22Z2B7OD.js} +2 -2
  2. package/dist/cdn/{AKEEFKAZ.js → 27VIXFEA.js} +1 -1
  3. package/dist/cdn/2AUIA6QP.js +4 -0
  4. package/dist/cdn/{LV6AM4TU.js → 2BEVAVXV.js} +2 -2
  5. package/dist/cdn/{4XALUUUS.js → 2DBO377J.js} +2 -2
  6. package/dist/cdn/{L2OAM3DD.js → 2WRJGTYC.js} +2 -2
  7. package/dist/cdn/{LTYWYINN.js → 36Q7TFB3.js} +2 -2
  8. package/dist/cdn/{SV7PCOYK.js → 3HKI2FG7.js} +2 -2
  9. package/dist/cdn/{HOUE3IUC.js → 3MGMXGL6.js} +2 -2
  10. package/dist/cdn/{5UBYY6LG.js → 3RNVTLSN.js} +2 -2
  11. package/dist/cdn/{XNPPHVVF.js → 3UMOFUPW.js} +1 -1
  12. package/dist/cdn/3YBIXVNH.js +4 -0
  13. package/dist/cdn/{WGVVMDAB.js → 423C3G76.js} +2 -2
  14. package/dist/cdn/4DKUQANG.js +4 -0
  15. package/dist/cdn/{46KNCKZS.js → 4DSYLNHU.js} +2 -2
  16. package/dist/cdn/{WVC2TR4A.js → 4FXXSNXQ.js} +2 -2
  17. package/dist/cdn/{DLGTQM2H.js → 4JB6RAYX.js} +2 -2
  18. package/dist/cdn/{3AZ5BHBB.js → 4LCUD45H.js} +2 -2
  19. package/dist/cdn/{VMIE5DUC.js → 4LHATIYM.js} +2 -2
  20. package/dist/cdn/{DGB47JVZ.js → 4QMB3UCQ.js} +2 -2
  21. package/dist/cdn/{NZHDXXML.js → 4S5QFPIZ.js} +2 -2
  22. package/dist/cdn/{LDBYGJLK.js → 4UNSCQ66.js} +2 -2
  23. package/dist/cdn/{PRFSO7X7.js → 4WL5KD76.js} +2 -2
  24. package/dist/cdn/{LNRKRA25.js → 4WLS3Z5B.js} +2 -2
  25. package/dist/cdn/{A3TQHO2T.js → 52ET5EYA.js} +2 -2
  26. package/dist/cdn/{6JIRYMJ2.js → 53FQYULJ.js} +2 -2
  27. package/dist/cdn/{WYPHXKNU.js → 53MDULE2.js} +2 -2
  28. package/dist/cdn/{73PFLCSO.js → 54XMWU2Z.js} +2 -2
  29. package/dist/cdn/5GXJXQAT.js +4 -0
  30. package/dist/cdn/{RPWYZMJC.js → 5RCJIOX7.js} +2 -2
  31. package/dist/cdn/{B3S37QQK.js → 5YKAAETY.js} +2 -2
  32. package/dist/cdn/{TQGQULGT.js → 64FLEJUX.js} +2 -2
  33. package/dist/cdn/{PRLZOT4G.js → 66L5XCRI.js} +2 -2
  34. package/dist/cdn/6CZDDCL2.js +4 -0
  35. package/dist/cdn/{MYQYS5SO.js → 6HY547X4.js} +2 -2
  36. package/dist/cdn/{L7H4WSGC.js → 6IGBYFYS.js} +2 -2
  37. package/dist/cdn/{NLWWSFV7.js → 6RNQ4PFF.js} +2 -2
  38. package/dist/cdn/{GOJD76FN.js → 7D5F24I3.js} +2 -2
  39. package/dist/cdn/{W2N3M4HO.js → 7SKIXGQK.js} +2 -2
  40. package/dist/cdn/{QOA32RXH.js → 7VKIZ3WT.js} +2 -2
  41. package/dist/cdn/7YJFBK3O.js +4 -0
  42. package/dist/cdn/{3EVGUVT7.js → A6Z7SBTU.js} +2 -2
  43. package/dist/cdn/{RNB4TBUQ.js → AFH4RBPZ.js} +2 -2
  44. package/dist/cdn/{H24R3H46.js → AI2KVIDA.js} +2 -2
  45. package/dist/cdn/{ITF6Z2CE.js → AM6Q4O2B.js} +2 -2
  46. package/dist/cdn/{CTI6WFC3.js → AR2NBV32.js} +2 -2
  47. package/dist/cdn/AVHVZME6.js +4 -0
  48. package/dist/cdn/{E5ILYL4M.js → AWF4PEFP.js} +2 -2
  49. package/dist/cdn/{45JIBN2Y.js → AYLSOHU7.js} +2 -2
  50. package/dist/cdn/B7LT2QHF.js +4 -0
  51. package/dist/cdn/BBOM3OSE.js +4 -0
  52. package/dist/cdn/{2MSLCTUI.js → BDLAWMZD.js} +2 -2
  53. package/dist/cdn/{D525QZBW.js → BDUITYCF.js} +2 -2
  54. package/dist/cdn/{YRACS6VV.js → BHS6JCMO.js} +2 -2
  55. package/dist/cdn/{HYXCJ2XM.js → BS5FDP7C.js} +2 -2
  56. package/dist/cdn/{PKMK7FDJ.js → BSX3NHVB.js} +2 -2
  57. package/dist/cdn/{LNJIWBPD.js → BW4GQH3T.js} +2 -2
  58. package/dist/cdn/{MPUQMGAW.js → C3QQQVKH.js} +2 -2
  59. package/dist/cdn/{OVLARY5X.js → C5SQMLYD.js} +2 -2
  60. package/dist/cdn/{W5HJN7IZ.js → CAP6GMPQ.js} +2 -2
  61. package/dist/cdn/{BJJKB7ZP.js → CFA5NLAW.js} +2 -2
  62. package/dist/cdn/{AKGDUEIL.js → CI2B342B.js} +2 -2
  63. package/dist/cdn/CMDENGON.js +5 -0
  64. package/dist/cdn/{CSUVM77H.js → COZ7Q57C.js} +1 -1
  65. package/dist/cdn/{OTWGUSAI.js → D2XHSMKB.js} +2 -2
  66. package/dist/cdn/{23YTRFIQ.js → D44MJGEP.js} +2 -2
  67. package/dist/cdn/DCEEIFSW.js +4 -0
  68. package/dist/cdn/{2R24PTWB.js → DEJJYH6F.js} +2 -2
  69. package/dist/cdn/{6XMPPBPI.js → DI74RZVL.js} +2 -2
  70. package/dist/cdn/{R5FNMP4E.js → DUALV4E3.js} +2 -2
  71. package/dist/cdn/{2QX4JJCK.js → DXCIID7Q.js} +2 -2
  72. package/dist/cdn/DXD2PNBP.js +4 -0
  73. package/dist/cdn/{YEM4DEJ4.js → DYJLMFU2.js} +1 -1
  74. package/dist/cdn/E642BP3H.js +4 -0
  75. package/dist/cdn/{626QYAZ2.js → E7RIQX5W.js} +2 -2
  76. package/dist/cdn/{T62AAI3G.js → EB4L23RJ.js} +1 -1
  77. package/dist/cdn/{73KOZ5YV.js → EEXBWTQP.js} +2 -2
  78. package/dist/cdn/{QXQLTCYC.js → ESWVCVZK.js} +2 -2
  79. package/dist/cdn/{HB46KJN5.js → EXY4F2CS.js} +2 -2
  80. package/dist/cdn/{2CON7KRH.js → EZIJAI33.js} +2 -2
  81. package/dist/cdn/{ZXHIQ54E.js → EZMVT6LS.js} +2 -2
  82. package/dist/cdn/{XAMB4PJQ.js → F4LJVNVD.js} +2 -2
  83. package/dist/cdn/{JVHGDL53.js → FL5FS6F3.js} +2 -2
  84. package/dist/cdn/{OQP2APZM.js → FO7JA65B.js} +2 -2
  85. package/dist/cdn/{54ZETTXB.js → G3V6PUYG.js} +1 -1
  86. package/dist/cdn/{AKBUGEFY.js → G6XMVQXG.js} +2 -2
  87. package/dist/cdn/{MO5XRU7V.js → GF7NSJ4P.js} +2 -2
  88. package/dist/cdn/{HLYQV63F.js → GHAECGBH.js} +2 -2
  89. package/dist/cdn/{W3CCPXRG.js → GKOPKM4O.js} +2 -2
  90. package/dist/cdn/{KJL53257.js → GLYKFQGK.js} +2 -2
  91. package/dist/cdn/{IHEBCXLZ.js → GU5Y7IOR.js} +2 -2
  92. package/dist/cdn/{H63IWYAY.js → H2S5CS56.js} +2 -2
  93. package/dist/cdn/{46LMCLKA.js → H3JQG2UP.js} +2 -2
  94. package/dist/cdn/{APXOKMH3.js → HRTYR54Z.js} +2 -2
  95. package/dist/cdn/{I57LAEP4.js → HUOHLCB6.js} +2 -2
  96. package/dist/cdn/{YZQ2Y3VV.js → HUVCWB3B.js} +2 -2
  97. package/dist/cdn/{56SYEEAD.js → I7HJL5E4.js} +2 -2
  98. package/dist/cdn/{ULQMCA4A.js → IABNK6MZ.js} +2 -2
  99. package/dist/cdn/{ZTJR7ZFE.js → IAGONHPF.js} +2 -2
  100. package/dist/cdn/{X647FXB5.js → II56KMJO.js} +2 -2
  101. package/dist/cdn/{6OY7DUCG.js → IUYPOYOL.js} +2 -2
  102. package/dist/cdn/{7WBPAFT4.js → J2F2UITJ.js} +2 -2
  103. package/dist/cdn/J3LWOCAM.js +4 -0
  104. package/dist/cdn/{YYDZH6UL.js → JEPGLQKG.js} +2 -2
  105. package/dist/cdn/{SREUOKJU.js → JVKK4ZM5.js} +1 -1
  106. package/dist/cdn/{NXYFXVN3.js → K75ALVL5.js} +2 -2
  107. package/dist/cdn/{CIKYVMDV.js → K77JVRAU.js} +2 -2
  108. package/dist/cdn/{Z3JDXCW7.js → KBZAMMBW.js} +2 -2
  109. package/dist/cdn/{IU2SNR3K.js → KCMRP4P6.js} +2 -2
  110. package/dist/cdn/{I7DJ4YLK.js → KG4X3L2U.js} +2 -2
  111. package/dist/cdn/KNAH6S2Q.js +4 -0
  112. package/dist/cdn/{KEH2FQ6Y.js → KPKXLX4Z.js} +2 -2
  113. package/dist/cdn/{HXA2SYUR.js → KY4XRVQK.js} +2 -2
  114. package/dist/cdn/{VXSXXMC3.js → LNRJBJQZ.js} +2 -2
  115. package/dist/cdn/{RA2D4DOL.js → LUT3OBTY.js} +2 -2
  116. package/dist/cdn/LUU2ATNG.js +4 -0
  117. package/dist/cdn/{AQ5UFBUW.js → LVJZ7BTL.js} +2 -2
  118. package/dist/cdn/{O4MWD2V7.js → M35PDGHE.js} +2 -2
  119. package/dist/cdn/{Q4WYWIF7.js → MC7FXHEI.js} +1 -1
  120. package/dist/cdn/{VHKVGKCY.js → MRKVXZW5.js} +2 -2
  121. package/dist/cdn/{MCDMCYJS.js → MUJXRMAO.js} +2 -2
  122. package/dist/cdn/{WPUSRAWF.js → MVINNXD7.js} +2 -2
  123. package/dist/cdn/{WE247OE6.js → MYCEN3CR.js} +2 -2
  124. package/dist/cdn/{IE4RVOYY.js → N5DF5N7U.js} +2 -2
  125. package/dist/cdn/{ILPKMXL6.js → NLNG7MRH.js} +2 -2
  126. package/dist/cdn/{BMCDMPQV.js → NNBJYJNI.js} +2 -2
  127. package/dist/cdn/{SVEJGDGN.js → NSVQHO6H.js} +2 -2
  128. package/dist/cdn/{UIFJID3C.js → O234APQV.js} +2 -2
  129. package/dist/cdn/{MEH5P3HF.js → ONF4FL5Y.js} +2 -2
  130. package/dist/cdn/{436W42UI.js → ONHOQHNR.js} +2 -2
  131. package/dist/cdn/{F4VUGJ7D.js → OV6CYHZE.js} +2 -2
  132. package/dist/cdn/{TNXQP4RR.js → OVWUJVC2.js} +2 -2
  133. package/dist/cdn/{S5JR6MZQ.js → OYJFYYGC.js} +1 -1
  134. package/dist/cdn/{35KILYC2.js → P56IJKQD.js} +2 -2
  135. package/dist/cdn/{Y6YMMY5R.js → P5ODQ5OJ.js} +2 -2
  136. package/dist/cdn/{KGQI7O2O.js → P7EMGZF7.js} +2 -2
  137. package/dist/cdn/{JHIRWR6J.js → PA6IX63K.js} +2 -2
  138. package/dist/cdn/{O6RQT5VP.js → PBI2OU5P.js} +2 -2
  139. package/dist/cdn/{UKVZHNFD.js → PBYYJJ6I.js} +2 -2
  140. package/dist/cdn/{EA3U2RIA.js → PE7VDNSB.js} +2 -2
  141. package/dist/cdn/PG4OMBJD.js +4 -0
  142. package/dist/cdn/PGDTWRHH.js +9 -0
  143. package/dist/cdn/{ONUD26W3.js → PR3MLH4J.js} +2 -2
  144. package/dist/cdn/{AE4HWU6M.js → PSFMK3EO.js} +2 -2
  145. package/dist/cdn/{AACJ3UIF.js → PVWHYHGZ.js} +2 -2
  146. package/dist/cdn/{OEP32AKL.js → Q3JBH3LP.js} +2 -2
  147. package/dist/cdn/{76CBRIYH.js → QB7HAUCF.js} +2 -2
  148. package/dist/cdn/{BM3J6BGW.js → QH6JFLEN.js} +2 -2
  149. package/dist/cdn/{4NR6HE3X.js → QITOIIOK.js} +2 -2
  150. package/dist/cdn/{PWNXKFHU.js → QOA25AXP.js} +2 -2
  151. package/dist/cdn/{773TTTKY.js → QRBWU65F.js} +2 -2
  152. package/dist/cdn/{Z77KP7ZW.js → QUJUXYZT.js} +2 -2
  153. package/dist/cdn/{5B7JQS7Z.js → QUQ3TCDU.js} +2 -2
  154. package/dist/cdn/{DTGDNU2R.js → QWZSLJSA.js} +2 -2
  155. package/dist/cdn/{BEONH2BL.js → R2M5QN5P.js} +2 -2
  156. package/dist/cdn/{TOSQ3VTR.js → RJ7FNN5X.js} +1 -1
  157. package/dist/cdn/{YWVO7NVR.js → RPJUPH5M.js} +2 -2
  158. package/dist/cdn/RTSEQ3T3.js +4 -0
  159. package/dist/cdn/{3OYC4FCZ.js → RWJV25XI.js} +2 -2
  160. package/dist/cdn/{6V5XIASO.js → S3U5WPXF.js} +2 -2
  161. package/dist/cdn/{U2DFIJ43.js → S3W2WGHS.js} +2 -2
  162. package/dist/cdn/{YDT7PUGT.js → SHMRPBOS.js} +2 -2
  163. package/dist/cdn/{EPUCXPOV.js → SK3AB3JF.js} +2 -2
  164. package/dist/cdn/{HXTDRWT7.js → SKF3JONO.js} +2 -2
  165. package/dist/cdn/{NSYDRGDR.js → SLBNZ46O.js} +2 -2
  166. package/dist/cdn/{SJMSU2UR.js → SNSOZ7LD.js} +2 -2
  167. package/dist/cdn/{XCWZGBQT.js → SNXNXQCF.js} +2 -2
  168. package/dist/cdn/SNYQFS4W.js +4 -0
  169. package/dist/cdn/{RZY4GX6P.js → SQMHGFE4.js} +2 -2
  170. package/dist/cdn/{6HXY4AJC.js → SSTHNJMW.js} +2 -2
  171. package/dist/cdn/{U4GCNAE6.js → T56S2LJV.js} +2 -2
  172. package/dist/cdn/{OE6J4GDA.js → TBJM6FYN.js} +1 -1
  173. package/dist/cdn/{JPALKWKM.js → TGJDO3CJ.js} +2 -2
  174. package/dist/cdn/{PFUXXEB2.js → TM4FCQQ2.js} +2 -2
  175. package/dist/cdn/{2SB6KD7D.js → TNJNTPYK.js} +2 -2
  176. package/dist/cdn/{JAONYTDD.js → TNYUEB3Z.js} +2 -2
  177. package/dist/cdn/{LPJW2WKT.js → TSB5JI2B.js} +2 -2
  178. package/dist/cdn/{FKKWSU66.js → TW2M25RF.js} +2 -2
  179. package/dist/cdn/{V3UUIIWQ.js → TWBKBMRM.js} +2 -2
  180. package/dist/cdn/{B7L54QSR.js → UNBHHGWR.js} +2 -2
  181. package/dist/cdn/URDZKFEW.js +4 -0
  182. package/dist/cdn/{DCKBE62S.js → UUFFX4EB.js} +2 -2
  183. package/dist/cdn/{AQJ2GU26.js → V3G3T6GZ.js} +2 -2
  184. package/dist/cdn/{3ROJYSNX.js → VCUW4LCR.js} +2 -2
  185. package/dist/cdn/{J4WW6NV3.js → VDVUNHBQ.js} +2 -2
  186. package/dist/cdn/{S7VMPS4Q.js → VEIDUULH.js} +2 -2
  187. package/dist/cdn/{MMMXYSLR.js → VJ3VGD5H.js} +2 -2
  188. package/dist/cdn/{NIHUCLEN.js → VPEOBCKJ.js} +2 -2
  189. package/dist/cdn/VQYUEBUC.js +4 -0
  190. package/dist/cdn/{GEF4P33B.js → VZ26OHYV.js} +2 -2
  191. package/dist/cdn/{37ZTTTJJ.js → W7ZUEQBC.js} +2 -2
  192. package/dist/cdn/{TSSPM57L.js → WDCHJ4HJ.js} +2 -2
  193. package/dist/cdn/{62QY2FAE.js → WFDMNW26.js} +2 -2
  194. package/dist/cdn/{QTYYBWZH.js → WH7T6MLM.js} +2 -2
  195. package/dist/cdn/{UMP2U6RM.js → WLNZUTJC.js} +2 -2
  196. package/dist/cdn/{CMJU233E.js → X2TFQAF3.js} +2 -2
  197. package/dist/cdn/{QNMBIAMJ.js → X3RQZ2E3.js} +2 -2
  198. package/dist/cdn/{DLZL2QQU.js → XC4O47FK.js} +2 -2
  199. package/dist/cdn/{WVQYNL7M.js → XCDNNK5D.js} +2 -2
  200. package/dist/cdn/{XNOCQI6V.js → XCLNHGZA.js} +2 -2
  201. package/dist/cdn/XFZWM2F6.js +4 -0
  202. package/dist/cdn/{JUGL7PI2.js → XGYSIOWT.js} +2 -2
  203. package/dist/cdn/{TQOKL7SC.js → XH7E3MFA.js} +2 -2
  204. package/dist/cdn/{Y4LIQWM4.js → XK3QH57N.js} +2 -2
  205. package/dist/cdn/{Z2MTFUSZ.js → XMBWHEBM.js} +2 -2
  206. package/dist/cdn/{U3MCZLX3.js → XQLSBG6J.js} +2 -2
  207. package/dist/cdn/{YZ5SCSPI.js → XWBGWK2F.js} +2 -2
  208. package/dist/cdn/{DTDDQT5L.js → XZ5QHCNS.js} +1 -1
  209. package/dist/cdn/{SPYLNXDG.js → Y7UIUQOW.js} +2 -2
  210. package/dist/cdn/{Y6VAGYCU.js → YF5MEUNK.js} +2 -2
  211. package/dist/cdn/{3GNK47HG.js → YJYSVPFO.js} +2 -2
  212. package/dist/cdn/{TWH7WGER.js → YMG7ELSI.js} +1 -1
  213. package/dist/cdn/{MBNP4YBK.js → YO3GQZ7K.js} +2 -2
  214. package/dist/cdn/{2Y3ZEE6L.js → YTMMXPGK.js} +2 -2
  215. package/dist/cdn/{574VQHI6.js → YUI2BVHW.js} +2 -2
  216. package/dist/cdn/{U2FYZXTF.js → YV2OBNQQ.js} +2 -2
  217. package/dist/cdn/{HB7I7QDO.js → YVGMNOD5.js} +2 -2
  218. package/dist/cdn/{ON3LQQWK.js → YWOYCOY3.js} +2 -2
  219. package/dist/cdn/{Y47C7JZM.js → YX3PRK4T.js} +2 -2
  220. package/dist/cdn/{WRUBE2NR.js → YYPYEVN5.js} +2 -2
  221. package/dist/cdn/{SPPGESJF.js → ZABWAIMB.js} +2 -2
  222. package/dist/cdn/ZBDCGOBE.js +4 -0
  223. package/dist/cdn/{2GD2QTXU.js → ZCXHMRBF.js} +2 -2
  224. package/dist/cdn/ZVYWFDKR.js +4 -0
  225. package/dist/cdn/{DYCJM5MC.js → ZZYXFNHV.js} +2 -2
  226. package/dist/cdn/assets/volume-measurement/t9n/messages.en.json +1 -0
  227. package/dist/cdn/index.js +2 -2
  228. package/dist/cdn/main.css +1 -1
  229. package/dist/chunks/AnalysisViewModel.js +2 -2
  230. package/dist/chunks/action-utils.js +2 -2
  231. package/dist/chunks/async-utils.js +4 -4
  232. package/dist/chunks/basemap-gallery-resources.js +1 -1
  233. package/dist/chunks/chart-utils.js +1 -1
  234. package/dist/chunks/chartCommon.js +1 -1
  235. package/dist/chunks/component-utils.js +1 -1
  236. package/dist/chunks/createCloseEvent.js +1 -1
  237. package/dist/chunks/esri-main.js +1 -1
  238. package/dist/chunks/feature-utils.js +1 -1
  239. package/dist/chunks/globalCss.js +1 -1
  240. package/dist/chunks/handle.js +1 -1
  241. package/dist/chunks/heading.js +1 -1
  242. package/dist/chunks/layer-list.js +1 -1
  243. package/dist/chunks/legacyIcon.js +1 -1
  244. package/dist/chunks/maybe.js +1 -1
  245. package/dist/chunks/measurementUtils.js +24 -10
  246. package/dist/chunks/runtime.js +1 -1
  247. package/dist/chunks/screenLocation.js +1 -1
  248. package/dist/chunks/slots.js +1 -1
  249. package/dist/chunks/svgUtils.js +1 -1
  250. package/dist/chunks/univariateUtils.js +1 -1
  251. package/dist/chunks/useArcgisViewReadyError.js +1 -1
  252. package/dist/chunks/useHandles.js +1 -1
  253. package/dist/chunks/useT9n.js +1 -1
  254. package/dist/chunks/useView.js +1 -1
  255. package/dist/chunks/useViewModel.js +1 -1
  256. package/dist/chunks/useWidget.js +1 -1
  257. package/dist/chunks/utils.js +1 -1
  258. package/dist/chunks/utils2.js +1 -1
  259. package/dist/chunks/visible-element.js +9 -0
  260. package/dist/components/arcgis-area-measurement-2d/customElement.js +3 -3
  261. package/dist/components/arcgis-area-measurement-3d/customElement.js +3 -3
  262. package/dist/components/arcgis-attachments/customElement.js +1 -1
  263. package/dist/components/arcgis-basemap-gallery/customElement.js +1 -1
  264. package/dist/components/arcgis-basemap-gallery-item/customElement.js +1 -1
  265. package/dist/components/arcgis-basemap-layer-list/customElement.js +1 -1
  266. package/dist/components/arcgis-basemap-toggle/customElement.js +1 -1
  267. package/dist/components/arcgis-bookmarks/customElement.js +1 -1
  268. package/dist/components/arcgis-building-explorer/customElement.js +1 -1
  269. package/dist/components/arcgis-catalog-layer-list/customElement.js +1 -1
  270. package/dist/components/arcgis-compass/customElement.js +1 -1
  271. package/dist/components/arcgis-coordinate-conversion/customElement.js +1 -1
  272. package/dist/components/arcgis-daylight/customElement.js +3 -5
  273. package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +3 -3
  274. package/dist/components/arcgis-directional-pad/customElement.js +1 -1
  275. package/dist/components/arcgis-directions/customElement.js +1 -1
  276. package/dist/components/arcgis-distance-measurement-2d/customElement.js +3 -3
  277. package/dist/components/arcgis-editor/customElement.js +1 -1
  278. package/dist/components/arcgis-elevation-profile/customElement.d.ts +5 -1
  279. package/dist/components/arcgis-elevation-profile/customElement.js +3 -3
  280. package/dist/components/arcgis-elevation-profile-legend/customElement.js +1 -1
  281. package/dist/components/arcgis-elevation-profile-legend-item/customElement.js +1 -1
  282. package/dist/components/arcgis-elevation-profile-settings/customElement.js +1 -1
  283. package/dist/components/arcgis-elevation-profile-statistics/customElement.js +1 -1
  284. package/dist/components/arcgis-expand/customElement.js +1 -1
  285. package/dist/components/arcgis-feature/customElement.js +1 -1
  286. package/dist/components/arcgis-feature-attachments/customElement.js +1 -1
  287. package/dist/components/arcgis-feature-content/customElement.js +1 -1
  288. package/dist/components/arcgis-feature-element-info/customElement.js +1 -1
  289. package/dist/components/arcgis-feature-expression/customElement.js +1 -1
  290. package/dist/components/arcgis-feature-fields/customElement.js +1 -1
  291. package/dist/components/arcgis-feature-form/customElement.js +1 -1
  292. package/dist/components/arcgis-feature-media/customElement.js +1 -1
  293. package/dist/components/arcgis-feature-relationship/customElement.js +1 -1
  294. package/dist/components/arcgis-feature-table/customElement.js +1 -1
  295. package/dist/components/arcgis-feature-templates/customElement.js +1 -1
  296. package/dist/components/arcgis-feature-utility-network-association-list/customElement.js +1 -1
  297. package/dist/components/arcgis-feature-utility-network-associations/customElement.js +1 -1
  298. package/dist/components/arcgis-features/customElement.js +1 -1
  299. package/dist/components/arcgis-floor-filter/customElement.js +1 -1
  300. package/dist/components/arcgis-fullscreen/customElement.js +1 -1
  301. package/dist/components/arcgis-grid-controls/customElement.js +1 -1
  302. package/dist/components/arcgis-histogram-range-slider/customElement.js +1 -1
  303. package/dist/components/arcgis-home/customElement.js +1 -1
  304. package/dist/components/arcgis-labeled-switch/customElement.js +1 -1
  305. package/dist/components/arcgis-layer-list/customElement.js +1 -1
  306. package/dist/components/arcgis-layer-list-item/customElement.js +1 -1
  307. package/dist/components/arcgis-legend/customElement.js +1 -1
  308. package/dist/components/arcgis-legend-card-color-ramp/customElement.js +1 -1
  309. package/dist/components/arcgis-legend-card-element/customElement.js +1 -1
  310. package/dist/components/arcgis-legend-card-size-ramp/customElement.js +1 -1
  311. package/dist/components/arcgis-legend-card-univariate-above-and-below-ramp/customElement.js +1 -1
  312. package/dist/components/arcgis-legend-card-univariate-color-size-ramp/customElement.js +1 -1
  313. package/dist/components/arcgis-legend-card-view/customElement.js +1 -1
  314. package/dist/components/arcgis-legend-classic-color-ramp/customElement.js +1 -1
  315. package/dist/components/arcgis-legend-classic-element/customElement.js +1 -1
  316. package/dist/components/arcgis-legend-classic-size-ramp/customElement.js +1 -1
  317. package/dist/components/arcgis-legend-classic-univariate-above-and-below-ramp/customElement.js +1 -1
  318. package/dist/components/arcgis-legend-classic-univariate-color-size-ramp/customElement.js +1 -1
  319. package/dist/components/arcgis-legend-classic-view/customElement.js +1 -1
  320. package/dist/components/arcgis-legend-relationship-ramp/customElement.js +1 -1
  321. package/dist/components/arcgis-legend-spike-ramp/customElement.js +1 -1
  322. package/dist/components/arcgis-line-of-sight/customElement.js +2 -2
  323. package/dist/components/arcgis-link-chart/customElement.js +1 -1
  324. package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +1 -1
  325. package/dist/components/arcgis-locate/customElement.js +2 -2
  326. package/dist/components/arcgis-map/customElement.js +1 -1
  327. package/dist/components/arcgis-measurement/customElement.js +1 -1
  328. package/dist/components/arcgis-measurement-content/customElement.d.ts +2 -0
  329. package/dist/components/arcgis-measurement-content/customElement.js +25 -34
  330. package/dist/components/arcgis-measurement-content/index.d.ts +1 -0
  331. package/dist/components/arcgis-measurement-content/index.js +1 -0
  332. package/dist/components/arcgis-navigation-toggle/customElement.js +1 -1
  333. package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +1 -1
  334. package/dist/components/arcgis-placement/customElement.js +1 -1
  335. package/dist/components/arcgis-popup/customElement.js +1 -1
  336. package/dist/components/arcgis-print/customElement.d.ts +19 -3
  337. package/dist/components/arcgis-print/customElement.js +22 -19
  338. package/dist/components/arcgis-print-custom-text-elements/customElement.js +1 -1
  339. package/dist/components/arcgis-print-dpi-input/customElement.js +1 -1
  340. package/dist/components/arcgis-print-export-button/customElement.js +1 -1
  341. package/dist/components/arcgis-print-exports-panel/customElement.d.ts +2 -2
  342. package/dist/components/arcgis-print-exports-panel/customElement.js +75 -18
  343. package/dist/components/arcgis-print-exports-panel/index.d.ts +4 -1
  344. package/dist/components/arcgis-print-exports-panel/index.js +4 -1
  345. package/dist/components/arcgis-print-format-select/customElement.js +15 -16
  346. package/dist/components/arcgis-print-layout-advanced-options/customElement.d.ts +2 -0
  347. package/dist/components/arcgis-print-layout-advanced-options/customElement.js +22 -20
  348. package/dist/components/arcgis-print-layout-panel/customElement.d.ts +4 -0
  349. package/dist/components/arcgis-print-layout-panel/customElement.js +18 -19
  350. package/dist/components/arcgis-print-main-panel/customElement.d.ts +5 -1
  351. package/dist/components/arcgis-print-main-panel/customElement.js +10 -10
  352. package/dist/components/arcgis-print-map-only-advanced-options/customElement.js +1 -1
  353. package/dist/components/arcgis-print-map-only-panel/customElement.d.ts +2 -0
  354. package/dist/components/arcgis-print-map-only-panel/customElement.js +23 -21
  355. package/dist/components/arcgis-print-out-spatial-reference-input/customElement.js +18 -19
  356. package/dist/components/arcgis-print-preview-input/customElement.js +1 -1
  357. package/dist/components/arcgis-print-scale-section/customElement.js +1 -1
  358. package/dist/components/arcgis-print-template-select/customElement.js +22 -23
  359. package/dist/components/arcgis-print-template-selector/customElement.js +16 -17
  360. package/dist/components/arcgis-scale-bar/customElement.js +1 -1
  361. package/dist/components/arcgis-scale-range-slider/customElement.js +1 -1
  362. package/dist/components/arcgis-scene/customElement.js +1 -1
  363. package/dist/components/arcgis-search/customElement.js +1 -1
  364. package/dist/components/arcgis-search-result-renderer/customElement.js +1 -1
  365. package/dist/components/arcgis-shadow-cast/customElement.js +1 -1
  366. package/dist/components/arcgis-sketch/customElement.js +1 -1
  367. package/dist/components/arcgis-slice/customElement.js +1 -1
  368. package/dist/components/arcgis-spinner/customElement.js +1 -1
  369. package/dist/components/arcgis-swipe/customElement.js +1 -1
  370. package/dist/components/arcgis-table-list/customElement.js +1 -1
  371. package/dist/components/arcgis-time-slider/customElement.js +1 -1
  372. package/dist/components/arcgis-time-zone-label/customElement.js +1 -1
  373. package/dist/components/arcgis-track/customElement.js +1 -1
  374. package/dist/components/arcgis-unit-select/customElement.d.ts +2 -2
  375. package/dist/components/arcgis-unit-select/customElement.js +1 -1
  376. package/dist/components/arcgis-utility-network-association-list/customElement.js +1 -1
  377. package/dist/components/arcgis-utility-network-associations/customElement.js +1 -1
  378. package/dist/components/arcgis-utility-network-result-feature-list/customElement.js +1 -1
  379. package/dist/components/arcgis-utility-network-subnetwork-info/customElement.js +1 -1
  380. package/dist/components/arcgis-utility-network-trace/customElement.js +1 -1
  381. package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +1 -1
  382. package/dist/components/arcgis-utility-network-trace-inputs/customElement.js +1 -1
  383. package/dist/components/arcgis-utility-network-trace-location/customElement.js +1 -1
  384. package/dist/components/arcgis-utility-network-trace-location-list/customElement.js +1 -1
  385. package/dist/components/arcgis-utility-network-trace-results/customElement.js +1 -1
  386. package/dist/components/arcgis-utility-network-validate-topology/customElement.js +1 -1
  387. package/dist/components/arcgis-value-picker/customElement.js +1 -1
  388. package/dist/components/arcgis-version-management/customElement.js +1 -1
  389. package/dist/components/arcgis-version-management-service-item/customElement.js +1 -1
  390. package/dist/components/arcgis-version-management-version-list/customElement.js +1 -1
  391. package/dist/components/arcgis-version-management-version-properties/customElement.js +1 -1
  392. package/dist/components/arcgis-video/customElement.js +1 -1
  393. package/dist/components/arcgis-video-player/customElement.js +1 -1
  394. package/dist/components/arcgis-video-player-action-bar/customElement.js +1 -1
  395. package/dist/components/arcgis-video-player-actions-group/customElement.js +1 -1
  396. package/dist/components/arcgis-video-player-controls-group/customElement.js +1 -1
  397. package/dist/components/arcgis-video-player-metadata/customElement.js +1 -1
  398. package/dist/components/arcgis-video-player-settings/customElement.js +1 -1
  399. package/dist/components/arcgis-video-player-slider/customElement.js +1 -1
  400. package/dist/components/arcgis-volume-measurement/VolumeMeasurementViewModel.d.ts +55 -0
  401. package/dist/components/arcgis-volume-measurement/customElement.d.ts +114 -0
  402. package/dist/components/arcgis-volume-measurement/customElement.js +236 -0
  403. package/dist/components/arcgis-volume-measurement/index.d.ts +10 -0
  404. package/dist/components/arcgis-volume-measurement/index.js +10 -0
  405. package/dist/components/arcgis-volume-measurement/volume-measurement-test-utils.d.ts +1 -0
  406. package/dist/components/arcgis-weather/customElement.js +1 -1
  407. package/dist/components/arcgis-zoom/customElement.js +1 -1
  408. package/dist/docs/api.json +1345 -340
  409. package/dist/docs/docs.json +781 -6
  410. package/dist/docs/vscode.html-custom-data.json +221 -0
  411. package/dist/docs/web-types.json +282 -3
  412. package/dist/index.d.ts +20 -0
  413. package/dist/index.js +1 -1
  414. package/dist/loader.js +8 -8
  415. package/dist/support/measurementUtils.d.ts +6 -2
  416. package/dist/types/lumina.d.ts +8 -1
  417. package/dist/types/preact.d.ts +9 -1
  418. package/dist/types/preact10.d.ts +10 -1
  419. package/dist/types/react.d.ts +10 -1
  420. package/dist/types/stencil.d.ts +8 -1
  421. package/package.json +3 -3
  422. package/dist/cdn/37JSZTRU.js +0 -4
  423. package/dist/cdn/3B5EI2ZD.js +0 -4
  424. package/dist/cdn/3LDDVOT6.js +0 -4
  425. package/dist/cdn/3Z77UJQG.js +0 -4
  426. package/dist/cdn/44CZFNZQ.js +0 -4
  427. package/dist/cdn/7HAURD65.js +0 -4
  428. package/dist/cdn/DDAULI3V.js +0 -4
  429. package/dist/cdn/DOOR63SG.js +0 -4
  430. package/dist/cdn/DWDB6OSO.js +0 -4
  431. package/dist/cdn/EDE5RPU4.js +0 -4
  432. package/dist/cdn/FVFMMWVO.js +0 -4
  433. package/dist/cdn/GYMZD5VC.js +0 -5
  434. package/dist/cdn/GZMZAERM.js +0 -4
  435. package/dist/cdn/JR36GC5U.js +0 -4
  436. package/dist/cdn/KMA4W7EL.js +0 -4
  437. package/dist/cdn/LHID566J.js +0 -4
  438. package/dist/cdn/O33EVUFU.js +0 -4
  439. package/dist/cdn/OYU3NNIF.js +0 -4
  440. package/dist/cdn/QDKCHOFG.js +0 -9
  441. package/dist/cdn/R2TQHFUD.js +0 -4
  442. package/dist/cdn/SSIYK4ZB.js +0 -4
  443. package/dist/cdn/TQ6HKBPF.js +0 -4
  444. package/dist/cdn/TRY5RACP.js +0 -4
  445. package/dist/cdn/ZCHDOUJ4.js +0 -4
  446. package/dist/components/arcgis-print-exported-link/customElement.d.ts +0 -14
  447. package/dist/components/arcgis-print-exported-link/customElement.js +0 -90
  448. package/dist/components/arcgis-print-exported-link/index.d.ts +0 -7
  449. package/dist/components/arcgis-print-exported-link/index.js +0 -7
package/dist/loader.js CHANGED
@@ -2,7 +2,7 @@ import { r as e } from "./chunks/runtime.js";
2
2
  import { makeDefineCustomElements as t } from "@arcgis/lumina";
3
3
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
4
4
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
5
- v5.0.0-next.45 */
5
+ v5.0.0-next.47 */
6
6
  const o = t(e, {
7
7
  "arcgis-area-measurement-2d": [() => import("./components/arcgis-area-measurement-2d/customElement.js"), "analysis:,autoDestroyDisabled,icon,label,position,referenceElement,state,unit,unitOptions:,view:;clear,destroy,start"],
8
8
  "arcgis-area-measurement-3d": [() => import("./components/arcgis-area-measurement-3d/customElement.js"), "analysis:,autoDestroyDisabled,icon,label,position,referenceElement,state,unit,unitOptions:,view:;clear,destroy,start"],
@@ -74,18 +74,17 @@ const o = t(e, {
74
74
  "arcgis-oriented-imagery-viewer": [() => import("./components/arcgis-oriented-imagery-viewer/customElement.js"), "autoDestroyDisabled,currentCoverageVisible,dataCaptureEnabled,disabled,galleryOpened,icon,imageEnhancementToolActive,imageGalleryEnabled:,imageOverlaysOpened,isAdditionalCoverageVisible,isAdditionalPointSourcesVisible,label,layer:,mapImageConversionToolState,navigationToolActive,orientedImageryLayerItemId,position,referenceElement,referencePoint:,view:;destroy"],
75
75
  "arcgis-placement": [() => import("./components/arcgis-placement/customElement.js"), "position,referenceElement,view:"],
76
76
  "arcgis-popup": [() => import("./components/arcgis-popup/customElement.js"), "actions:,active:,alignment,autoCloseEnabled,autoDestroyDisabled,collapsed:,content,currentAlignment:,currentDockPosition:,defaultPopupTemplateEnabled,dockEnabled,dockOptions:,featureCount:,featureMenuOpen,features:,goToOverride:,heading,headingLevel,hideActionBar,hideCloseButton,hideCollapseButton,hideFeatureListLayerTitle,hideFeatureMenuHeading,hideFeatureNavigation,hideHeading,hideSpinner,highlightDisabled,includeDefaultActionsDisabled,initialDisplayMode,label,location:,messageOverrides:,promises:,referenceElement,selectedDrillInFeature:,selectedFeature:,selectedFeatureComponent:,selectedFeatureIndex,state,updateLocationEnabled,view:,visible;clear,destroy,fetchFeatures,handleViewClick,next,open,previous,setFocus,triggerAction"],
77
- "arcgis-print": [() => import("./components/arcgis-print/customElement.js"), "allowedFormats,allowedFormatsForSaving,allowedLayouts,autoDestroyDisabled,browseTemplateButtonOnClick:,excludeDefaultTemplates,excludeOrganizationTemplates,exportedLinks:,extraParameters,headingLevel,hideHeader,icon,label,messageOverrides:,outSpatialReference:,portal:,position,printServiceUrl,referenceElement,saveAsButtonCallback:,showPrintAreaEnabled,state,templateCustomTextElements:,templateOptions:,view:;destroy"],
77
+ "arcgis-print": [() => import("./components/arcgis-print/customElement.js"), "allowedFormats,allowedFormatsForSaving,allowedLayouts,autoDestroyDisabled,autoPopulateAuthor,browseTemplateButtonOnClick:,excludeDefaultTemplates,excludeOrganizationTemplates,exportedLinks:,extraParameters,headingLevel,hideAdvancedOptions,hideHeader,icon,label,messageOverrides:,outSpatialReference:,portal:,position,printServiceUrl,referenceElement,saveAsButtonCallback:,showPrintAreaEnabled,state,templateCustomTextElements:,templateOptions:,view:,viewModel:;destroy"],
78
78
  "arcgis-print-custom-text-elements": [() => import("./components/arcgis-print-custom-text-elements/customElement.js"), "viewModel:"],
79
79
  "arcgis-print-dpi-input": [() => import("./components/arcgis-print-dpi-input/customElement.js"), "messages:,viewModel:"],
80
80
  "arcgis-print-export-button": [() => import("./components/arcgis-print-export-button/customElement.js"), "fileName,messages:,selectExportsTab:,viewModel:"],
81
- "arcgis-print-exported-link": [() => import("./components/arcgis-print-exported-link/customElement.js"), "allowedFormatsForSaving,exportedLink:,messages:,saveAsButtonCallback:,viewModel:"],
82
81
  "arcgis-print-exports-panel": [() => import("./components/arcgis-print-exports-panel/customElement.js"), "allowedFormatsForSaving,messages:,saveAsButtonCallback:,viewModel:"],
83
82
  "arcgis-print-format-select": [() => import("./components/arcgis-print-format-select/customElement.js"), "messages:,viewModel:"],
84
- "arcgis-print-layout-advanced-options": [() => import("./components/arcgis-print-layout-advanced-options/customElement.js"), "messages:,viewModel:"],
85
- "arcgis-print-layout-panel": [() => import("./components/arcgis-print-layout-panel/customElement.js"), "messages:,selectExportsTab:,showTemplateSelector:,viewModel:"],
86
- "arcgis-print-main-panel": [() => import("./components/arcgis-print-main-panel/customElement.js"), "allowedFormatsForSaving,messages:,saveAsButtonCallback:,showTemplateSelector:,viewModel:"],
83
+ "arcgis-print-layout-advanced-options": [() => import("./components/arcgis-print-layout-advanced-options/customElement.js"), "autoPopulateAuthor,messages:,viewModel:"],
84
+ "arcgis-print-layout-panel": [() => import("./components/arcgis-print-layout-panel/customElement.js"), "autoPopulateAuthor,hideAdvancedOptions,messages:,selectExportsTab:,showTemplateSelector:,viewModel:"],
85
+ "arcgis-print-main-panel": [() => import("./components/arcgis-print-main-panel/customElement.js"), "allowedFormatsForSaving,autoPopulateAuthor,hideAdvancedOptions,messages:,saveAsButtonCallback:,showTemplateSelector:,viewModel:"],
87
86
  "arcgis-print-map-only-advanced-options": [() => import("./components/arcgis-print-map-only-advanced-options/customElement.js"), "messages:,viewModel:"],
88
- "arcgis-print-map-only-panel": [() => import("./components/arcgis-print-map-only-panel/customElement.js"), "messages:,selectExportsTab:,viewModel:"],
87
+ "arcgis-print-map-only-panel": [() => import("./components/arcgis-print-map-only-panel/customElement.js"), "hideAdvancedOptions,messages:,selectExportsTab:,viewModel:"],
89
88
  "arcgis-print-out-spatial-reference-input": [() => import("./components/arcgis-print-out-spatial-reference-input/customElement.js"), "messages:,templateOptions:,viewModel:"],
90
89
  "arcgis-print-preview-input": [() => import("./components/arcgis-print-preview-input/customElement.js"), "messages:,viewModel:"],
91
90
  "arcgis-print-scale-section": [() => import("./components/arcgis-print-scale-section/customElement.js"), "messages:,viewModel:"],
@@ -101,7 +100,7 @@ const o = t(e, {
101
100
  "arcgis-slice": [() => import("./components/arcgis-slice/customElement.js"), "analysis:,autoDestroyDisabled,excludedLayers:,excludeGroundSurface,headingLevel,icon,label,messageOverrides:,position,referenceElement,shape:,state,tiltEnabled,view:;clear,destroy,start"],
102
101
  "arcgis-spinner": [() => import("./components/arcgis-spinner/customElement.js"), "autoDestroyDisabled,label,location:,screenLocation:,trackLocation,view:;destroy"],
103
102
  "arcgis-labeled-switch": [() => import("./components/arcgis-labeled-switch/customElement.js"), "checked,disabled,hint,hintIcon,hintKind,label;destroy"],
104
- "arcgis-measurement-content": [() => import("./components/arcgis-measurement-content/customElement.js"), "hintLabel,items:,state,unsupportedLabel"],
103
+ "arcgis-measurement-content": [() => import("./components/arcgis-measurement-content/customElement.js"), "hintLabel,items:,layout,state,unsupportedLabel"],
105
104
  "arcgis-utility-network-association-list": [() => import("./components/arcgis-utility-network-association-list/customElement.js"), "associatedFeatureCount:,associationViewModels:,currentFeaturePage,featuresPerPage,maxFeatureCount,messages:,parentFeatureViewModel:,selectedLayer:,showAllEnabled,state,tooltipReferenceMap:"],
106
105
  "arcgis-swipe": [() => import("./components/arcgis-swipe/customElement.js"), "autoDestroyDisabled,direction,disabled,hideDivider,hideHandle,icon,label,leadingLayers:,messageOverrides:,position,referenceElement,state,swipePosition,trailingLayers:,view:;destroy"],
107
106
  "arcgis-table-list": [() => import("./components/arcgis-table-list/customElement.js"), "autoDestroyDisabled,closed,collapsed,dragEnabled,filterPlaceholder,filterPredicate:,filterText,hideFlow,hideStatusIndicators,icon,label,listItemCreatedFunction:,map:,minDragEnabledItems,minFilterItems,position,referenceElement,selectedItems:,selectionMode,showCloseButton,showCollapseButton,showErrors,showFilter,showHeading,showTemporaryTableIndicators,state,tableItems:,view:;destroy"],
@@ -132,6 +131,7 @@ const o = t(e, {
132
131
  "arcgis-video-player-metadata": [() => import("./components/arcgis-video-player-metadata/customElement.js"), "messages:,viewModel:"],
133
132
  "arcgis-video-player-settings": [() => import("./components/arcgis-video-player-settings/customElement.js"), "messages:,viewModel:"],
134
133
  "arcgis-video-player-slider": [() => import("./components/arcgis-video-player-slider/customElement.js"), "buffered,value,viewModel:"],
134
+ "arcgis-volume-measurement": [() => import("./components/arcgis-volume-measurement/customElement.js"), "analysis:,autoDestroyDisabled,elevationUnit,elevationUnitOptions:,headingLevel,hideHeader,hideModeSelect,hideUnits,icon,label,position,referenceElement,state,view:,volumeUnit,volumeUnitOptions:;clear,destroy,start"],
135
135
  "arcgis-weather": [() => import("./components/arcgis-weather/customElement.js"), "autoDestroyDisabled,headingLevel,hideHeader,icon,label,messageOverrides:,position,referenceElement,state,view:;destroy"],
136
136
  "arcgis-zoom": [() => import("./components/arcgis-zoom/customElement.js"), "autoDestroyDisabled,icon,label,layout,messageOverrides:,position,referenceElement,state,view:;destroy,zoomIn,zoomOut"]
137
137
  });
@@ -7,7 +7,10 @@ export type SystemOrLengthUnit = __esri.SystemOrLengthUnit;
7
7
  export type Area = __esri.Area;
8
8
  export type AreaUnit = __esri.AreaUnit;
9
9
  export type SystemOrAreaUnit = __esri.SystemOrAreaUnit;
10
- export type Quantity = Area | Length;
10
+ export type Volume = __esri.Volume;
11
+ export type VolumeUnit = __esri.VolumeUnit;
12
+ export type SystemOrVolumeUnit = __esri.SystemOrVolumeUnit;
13
+ export type Quantity = Area | Length | Volume;
11
14
  export type MeasurementState = "disabled" | "measured" | "measuring" | "ready" | "unsupported";
12
15
  export type MeasurementValue<T extends Quantity = Quantity> = {
13
16
  state: "available";
@@ -19,8 +22,9 @@ export type MeasurementValue<T extends Quantity = Quantity> = {
19
22
  state: "unavailable";
20
23
  value?: never;
21
24
  };
22
- export declare const measurementAreaUnits: ("imperial" | "metric" | "square-millimeters" | "square-centimeters" | "square-decimeters" | "square-meters" | "square-kilometers" | "square-inches" | "square-feet" | "square-yards" | "square-miles" | "square-nautical-miles" | "square-us-feet" | "acres" | "ares" | "hectares")[];
23
25
  export declare const measurementLengthUnits: ("imperial" | "metric" | "millimeters" | "centimeters" | "decimeters" | "meters" | "kilometers" | "inches" | "feet" | "yards" | "miles" | "nautical-miles" | "us-feet")[];
26
+ export declare const measurementAreaUnits: ("imperial" | "metric" | "square-millimeters" | "square-centimeters" | "square-decimeters" | "square-meters" | "square-kilometers" | "square-inches" | "square-feet" | "square-yards" | "square-miles" | "square-nautical-miles" | "square-us-feet" | "acres" | "ares" | "hectares")[];
27
+ export declare const measurementVolumeUnits: ("imperial" | "metric" | "liters" | "cubic-millimeters" | "cubic-centimeters" | "cubic-decimeters" | "cubic-meters" | "cubic-kilometers" | "cubic-inches" | "cubic-feet" | "cubic-yards" | "cubic-miles")[];
24
28
  export declare function getMeasurementValue<T extends Quantity>(value: nullish | T, valid?: boolean): MeasurementValue<T>;
25
29
  export declare function formatQuantity(formatter: QuantityFormatter, quantity: Quantity): string;
26
30
  export declare function isMeasurementSystem(value: string): value is MeasurementSystem;
@@ -68,6 +68,7 @@ import type { ArcgisValuePicker } from "../components/arcgis-value-picker";
68
68
  import type { ArcgisVersionManagement } from "../components/arcgis-version-management";
69
69
  import type { ArcgisVideo } from "../components/arcgis-video";
70
70
  import type { ArcgisVideoPlayer } from "../components/arcgis-video-player";
71
+ import type { ArcgisVolumeMeasurement } from "../components/arcgis-volume-measurement";
71
72
  import type { ArcgisWeather } from "../components/arcgis-weather";
72
73
  import type { ArcgisZoom } from "../components/arcgis-zoom";
73
74
  import type { h, EventHandler } from "@arcgis/lumina";
@@ -354,7 +355,7 @@ interface LuminaArcgisPopup extends Partial<Pick<ArcgisPopup, 'actions' | 'align
354
355
  onarcgisTriggerAction?: EventHandler<HTMLArcgisPopupElement["arcgisTriggerAction"]>;
355
356
  }
356
357
 
357
- interface LuminaArcgisPrint extends Partial<Pick<ArcgisPrint, 'allowedFormats' | 'allowedFormatsForSaving' | 'allowedLayouts' | 'autoDestroyDisabled' | 'browseTemplateButtonOnClick' | 'excludeDefaultTemplates' | 'excludeOrganizationTemplates' | 'exportedLinks' | 'extraParameters' | 'headingLevel' | 'hideHeader' | 'icon' | 'label' | 'messageOverrides' | 'outSpatialReference' | 'portal' | 'position' | 'printServiceUrl' | 'referenceElement' | 'saveAsButtonCallback' | 'showPrintAreaEnabled' | 'templateCustomTextElements' | 'templateOptions' | 'view'>>, h.JSX.HTMLAttributes<HTMLArcgisPrintElement> {
358
+ interface LuminaArcgisPrint extends Partial<Pick<ArcgisPrint, 'allowedFormats' | 'allowedFormatsForSaving' | 'allowedLayouts' | 'autoDestroyDisabled' | 'autoPopulateAuthor' | 'browseTemplateButtonOnClick' | 'excludeDefaultTemplates' | 'excludeOrganizationTemplates' | 'exportedLinks' | 'extraParameters' | 'headingLevel' | 'hideAdvancedOptions' | 'hideHeader' | 'icon' | 'label' | 'messageOverrides' | 'outSpatialReference' | 'portal' | 'position' | 'printServiceUrl' | 'referenceElement' | 'saveAsButtonCallback' | 'showPrintAreaEnabled' | 'templateCustomTextElements' | 'templateOptions' | 'view' | 'viewModel'>>, h.JSX.HTMLAttributes<HTMLArcgisPrintElement> {
358
359
  onarcgisComplete?: EventHandler<HTMLArcgisPrintElement["arcgisComplete"]>;
359
360
  onarcgisPropertyChange?: EventHandler<HTMLArcgisPrintElement["arcgisPropertyChange"]>;
360
361
  onarcgisReady?: EventHandler<HTMLArcgisPrintElement["arcgisReady"]>;
@@ -542,6 +543,11 @@ interface LuminaArcgisVideoPlayer extends Partial<Pick<ArcgisVideoPlayer, 'autoD
542
543
  onarcgisVideoReady?: EventHandler<HTMLArcgisVideoPlayerElement["arcgisVideoReady"]>;
543
544
  }
544
545
 
546
+ interface LuminaArcgisVolumeMeasurement extends Partial<Pick<ArcgisVolumeMeasurement, 'analysis' | 'autoDestroyDisabled' | 'elevationUnit' | 'elevationUnitOptions' | 'headingLevel' | 'hideHeader' | 'hideModeSelect' | 'hideUnits' | 'icon' | 'label' | 'position' | 'referenceElement' | 'view' | 'volumeUnit' | 'volumeUnitOptions'>>, h.JSX.HTMLAttributes<HTMLArcgisVolumeMeasurementElement> {
547
+ onarcgisPropertyChange?: EventHandler<HTMLArcgisVolumeMeasurementElement["arcgisPropertyChange"]>;
548
+ onarcgisReady?: EventHandler<HTMLArcgisVolumeMeasurementElement["arcgisReady"]>;
549
+ }
550
+
545
551
  interface LuminaArcgisWeather extends Partial<Pick<ArcgisWeather, 'autoDestroyDisabled' | 'headingLevel' | 'hideHeader' | 'icon' | 'label' | 'messageOverrides' | 'position' | 'referenceElement' | 'view'>>, h.JSX.HTMLAttributes<HTMLArcgisWeatherElement> {
546
552
  onarcgisPropertyChange?: EventHandler<HTMLArcgisWeatherElement["arcgisPropertyChange"]>;
547
553
  onarcgisReady?: EventHandler<HTMLArcgisWeatherElement["arcgisReady"]>;
@@ -624,6 +630,7 @@ declare module "@arcgis/lumina" {
624
630
  "arcgis-version-management": LuminaArcgisVersionManagement;
625
631
  "arcgis-video": LuminaArcgisVideo;
626
632
  "arcgis-video-player": LuminaArcgisVideoPlayer;
633
+ "arcgis-volume-measurement": LuminaArcgisVolumeMeasurement;
627
634
  "arcgis-weather": LuminaArcgisWeather;
628
635
  "arcgis-zoom": LuminaArcgisZoom;
629
636
  }
@@ -68,6 +68,7 @@ import type { ArcgisValuePicker } from "../components/arcgis-value-picker";
68
68
  import type { ArcgisVersionManagement } from "../components/arcgis-version-management";
69
69
  import type { ArcgisVideo } from "../components/arcgis-video";
70
70
  import type { ArcgisVideoPlayer } from "../components/arcgis-video-player";
71
+ import type { ArcgisVolumeMeasurement } from "../components/arcgis-volume-measurement";
71
72
  import type { ArcgisWeather } from "../components/arcgis-weather";
72
73
  import type { ArcgisZoom } from "../components/arcgis-zoom";
73
74
  import { HTMLAttributes } from "preact";
@@ -355,7 +356,7 @@ interface PreactArcgisPopup extends Partial<Pick<ArcgisPopup, 'actions' | 'align
355
356
  onarcgisTriggerAction?: EventHandler<HTMLArcgisPopupElement["arcgisTriggerAction"]>;
356
357
  }
357
358
 
358
- interface PreactArcgisPrint extends Partial<Pick<ArcgisPrint, 'allowedFormats' | 'allowedFormatsForSaving' | 'allowedLayouts' | 'autoDestroyDisabled' | 'browseTemplateButtonOnClick' | 'excludeDefaultTemplates' | 'excludeOrganizationTemplates' | 'exportedLinks' | 'extraParameters' | 'headingLevel' | 'hideHeader' | 'icon' | 'label' | 'messageOverrides' | 'outSpatialReference' | 'portal' | 'position' | 'printServiceUrl' | 'referenceElement' | 'saveAsButtonCallback' | 'showPrintAreaEnabled' | 'templateCustomTextElements' | 'templateOptions' | 'view'>>, HTMLAttributes<HTMLArcgisPrintElement> {
359
+ interface PreactArcgisPrint extends Partial<Pick<ArcgisPrint, 'allowedFormats' | 'allowedFormatsForSaving' | 'allowedLayouts' | 'autoDestroyDisabled' | 'autoPopulateAuthor' | 'browseTemplateButtonOnClick' | 'excludeDefaultTemplates' | 'excludeOrganizationTemplates' | 'exportedLinks' | 'extraParameters' | 'headingLevel' | 'hideAdvancedOptions' | 'hideHeader' | 'icon' | 'label' | 'messageOverrides' | 'outSpatialReference' | 'portal' | 'position' | 'printServiceUrl' | 'referenceElement' | 'saveAsButtonCallback' | 'showPrintAreaEnabled' | 'templateCustomTextElements' | 'templateOptions' | 'view' | 'viewModel'>>, HTMLAttributes<HTMLArcgisPrintElement> {
359
360
  onarcgisComplete?: EventHandler<HTMLArcgisPrintElement["arcgisComplete"]>;
360
361
  onarcgisPropertyChange?: EventHandler<HTMLArcgisPrintElement["arcgisPropertyChange"]>;
361
362
  onarcgisReady?: EventHandler<HTMLArcgisPrintElement["arcgisReady"]>;
@@ -543,6 +544,11 @@ interface PreactArcgisVideoPlayer extends Partial<Pick<ArcgisVideoPlayer, 'autoD
543
544
  onarcgisVideoReady?: EventHandler<HTMLArcgisVideoPlayerElement["arcgisVideoReady"]>;
544
545
  }
545
546
 
547
+ interface PreactArcgisVolumeMeasurement extends Partial<Pick<ArcgisVolumeMeasurement, 'analysis' | 'autoDestroyDisabled' | 'elevationUnit' | 'elevationUnitOptions' | 'headingLevel' | 'hideHeader' | 'hideModeSelect' | 'hideUnits' | 'icon' | 'label' | 'position' | 'referenceElement' | 'view' | 'volumeUnit' | 'volumeUnitOptions'>>, HTMLAttributes<HTMLArcgisVolumeMeasurementElement> {
548
+ onarcgisPropertyChange?: EventHandler<HTMLArcgisVolumeMeasurementElement["arcgisPropertyChange"]>;
549
+ onarcgisReady?: EventHandler<HTMLArcgisVolumeMeasurementElement["arcgisReady"]>;
550
+ }
551
+
546
552
  interface PreactArcgisWeather extends Partial<Pick<ArcgisWeather, 'autoDestroyDisabled' | 'headingLevel' | 'hideHeader' | 'icon' | 'label' | 'messageOverrides' | 'position' | 'referenceElement' | 'view'>>, HTMLAttributes<HTMLArcgisWeatherElement> {
547
553
  onarcgisPropertyChange?: EventHandler<HTMLArcgisWeatherElement["arcgisPropertyChange"]>;
548
554
  onarcgisReady?: EventHandler<HTMLArcgisWeatherElement["arcgisReady"]>;
@@ -625,6 +631,7 @@ declare module 'preact' {
625
631
  "arcgis-version-management": PreactArcgisVersionManagement;
626
632
  "arcgis-video": PreactArcgisVideo;
627
633
  "arcgis-video-player": PreactArcgisVideoPlayer;
634
+ "arcgis-volume-measurement": PreactArcgisVolumeMeasurement;
628
635
  "arcgis-weather": PreactArcgisWeather;
629
636
  "arcgis-zoom": PreactArcgisZoom;
630
637
  }
@@ -700,6 +707,7 @@ declare module 'preact' {
700
707
  "arcgis-version-management": PreactArcgisVersionManagement;
701
708
  "arcgis-video": PreactArcgisVideo;
702
709
  "arcgis-video-player": PreactArcgisVideoPlayer;
710
+ "arcgis-volume-measurement": PreactArcgisVolumeMeasurement;
703
711
  "arcgis-weather": PreactArcgisWeather;
704
712
  "arcgis-zoom": PreactArcgisZoom;
705
713
  }
@@ -68,6 +68,7 @@ import type { ArcgisValuePicker } from "../components/arcgis-value-picker";
68
68
  import type { ArcgisVersionManagement } from "../components/arcgis-version-management";
69
69
  import type { ArcgisVideo } from "../components/arcgis-video";
70
70
  import type { ArcgisVideoPlayer } from "../components/arcgis-video-player";
71
+ import type { ArcgisVolumeMeasurement } from "../components/arcgis-volume-measurement";
71
72
  import type { ArcgisWeather } from "../components/arcgis-weather";
72
73
  import type { ArcgisZoom } from "../components/arcgis-zoom";
73
74
  import { JSX as PreactJsx } from "preact";
@@ -397,7 +398,7 @@ interface PreactArcgisPopup extends Partial<Pick<ArcgisPopup, 'actions' | 'align
397
398
  }
398
399
 
399
400
  /** @deprecated Update to Preact 10.27.2+ or 11+ and consume types/preact file over types/preact10 */
400
- interface PreactArcgisPrint extends Partial<Pick<ArcgisPrint, 'allowedFormats' | 'allowedFormatsForSaving' | 'allowedLayouts' | 'autoDestroyDisabled' | 'browseTemplateButtonOnClick' | 'excludeDefaultTemplates' | 'excludeOrganizationTemplates' | 'exportedLinks' | 'extraParameters' | 'headingLevel' | 'hideHeader' | 'icon' | 'label' | 'messageOverrides' | 'outSpatialReference' | 'portal' | 'position' | 'printServiceUrl' | 'referenceElement' | 'saveAsButtonCallback' | 'showPrintAreaEnabled' | 'templateCustomTextElements' | 'templateOptions' | 'view'>>, PreactJsx.HTMLAttributes<HTMLArcgisPrintElement> {
401
+ interface PreactArcgisPrint extends Partial<Pick<ArcgisPrint, 'allowedFormats' | 'allowedFormatsForSaving' | 'allowedLayouts' | 'autoDestroyDisabled' | 'autoPopulateAuthor' | 'browseTemplateButtonOnClick' | 'excludeDefaultTemplates' | 'excludeOrganizationTemplates' | 'exportedLinks' | 'extraParameters' | 'headingLevel' | 'hideAdvancedOptions' | 'hideHeader' | 'icon' | 'label' | 'messageOverrides' | 'outSpatialReference' | 'portal' | 'position' | 'printServiceUrl' | 'referenceElement' | 'saveAsButtonCallback' | 'showPrintAreaEnabled' | 'templateCustomTextElements' | 'templateOptions' | 'view' | 'viewModel'>>, PreactJsx.HTMLAttributes<HTMLArcgisPrintElement> {
401
402
  onarcgisComplete?: EventHandler<HTMLArcgisPrintElement["arcgisComplete"]>;
402
403
  onarcgisPropertyChange?: EventHandler<HTMLArcgisPrintElement["arcgisPropertyChange"]>;
403
404
  onarcgisReady?: EventHandler<HTMLArcgisPrintElement["arcgisReady"]>;
@@ -612,6 +613,12 @@ interface PreactArcgisVideoPlayer extends Partial<Pick<ArcgisVideoPlayer, 'autoD
612
613
  onarcgisVideoReady?: EventHandler<HTMLArcgisVideoPlayerElement["arcgisVideoReady"]>;
613
614
  }
614
615
 
616
+ /** @deprecated Update to Preact 10.27.2+ or 11+ and consume types/preact file over types/preact10 */
617
+ interface PreactArcgisVolumeMeasurement extends Partial<Pick<ArcgisVolumeMeasurement, 'analysis' | 'autoDestroyDisabled' | 'elevationUnit' | 'elevationUnitOptions' | 'headingLevel' | 'hideHeader' | 'hideModeSelect' | 'hideUnits' | 'icon' | 'label' | 'position' | 'referenceElement' | 'view' | 'volumeUnit' | 'volumeUnitOptions'>>, PreactJsx.HTMLAttributes<HTMLArcgisVolumeMeasurementElement> {
618
+ onarcgisPropertyChange?: EventHandler<HTMLArcgisVolumeMeasurementElement["arcgisPropertyChange"]>;
619
+ onarcgisReady?: EventHandler<HTMLArcgisVolumeMeasurementElement["arcgisReady"]>;
620
+ }
621
+
615
622
  /** @deprecated Update to Preact 10.27.2+ or 11+ and consume types/preact file over types/preact10 */
616
623
  interface PreactArcgisWeather extends Partial<Pick<ArcgisWeather, 'autoDestroyDisabled' | 'headingLevel' | 'hideHeader' | 'icon' | 'label' | 'messageOverrides' | 'position' | 'referenceElement' | 'view'>>, PreactJsx.HTMLAttributes<HTMLArcgisWeatherElement> {
617
624
  onarcgisPropertyChange?: EventHandler<HTMLArcgisWeatherElement["arcgisPropertyChange"]>;
@@ -696,6 +703,7 @@ declare module 'preact' {
696
703
  "arcgis-version-management": PreactArcgisVersionManagement;
697
704
  "arcgis-video": PreactArcgisVideo;
698
705
  "arcgis-video-player": PreactArcgisVideoPlayer;
706
+ "arcgis-volume-measurement": PreactArcgisVolumeMeasurement;
699
707
  "arcgis-weather": PreactArcgisWeather;
700
708
  "arcgis-zoom": PreactArcgisZoom;
701
709
  }
@@ -771,6 +779,7 @@ declare module 'preact' {
771
779
  "arcgis-version-management": PreactArcgisVersionManagement;
772
780
  "arcgis-video": PreactArcgisVideo;
773
781
  "arcgis-video-player": PreactArcgisVideoPlayer;
782
+ "arcgis-volume-measurement": PreactArcgisVolumeMeasurement;
774
783
  "arcgis-weather": PreactArcgisWeather;
775
784
  "arcgis-zoom": PreactArcgisZoom;
776
785
  }
@@ -68,6 +68,7 @@ import type { ArcgisValuePicker } from "../components/arcgis-value-picker";
68
68
  import type { ArcgisVersionManagement } from "../components/arcgis-version-management";
69
69
  import type { ArcgisVideo } from "../components/arcgis-video";
70
70
  import type { ArcgisVideoPlayer } from "../components/arcgis-video-player";
71
+ import type { ArcgisVolumeMeasurement } from "../components/arcgis-volume-measurement";
71
72
  import type { ArcgisWeather } from "../components/arcgis-weather";
72
73
  import type { ArcgisZoom } from "../components/arcgis-zoom";
73
74
  import type { HTMLProps } from 'react';
@@ -355,7 +356,7 @@ interface ReactArcgisPopup extends Partial<Pick<ArcgisPopup, 'actions' | 'alignm
355
356
  onarcgisTriggerAction?: EventHandler<HTMLArcgisPopupElement["arcgisTriggerAction"]>;
356
357
  }
357
358
 
358
- interface ReactArcgisPrint extends Partial<Pick<ArcgisPrint, 'allowedFormats' | 'allowedFormatsForSaving' | 'allowedLayouts' | 'autoDestroyDisabled' | 'browseTemplateButtonOnClick' | 'excludeDefaultTemplates' | 'excludeOrganizationTemplates' | 'exportedLinks' | 'extraParameters' | 'headingLevel' | 'hideHeader' | 'icon' | 'label' | 'messageOverrides' | 'outSpatialReference' | 'portal' | 'position' | 'printServiceUrl' | 'referenceElement' | 'saveAsButtonCallback' | 'showPrintAreaEnabled' | 'templateCustomTextElements' | 'templateOptions' | 'view'>>, HTMLProps<HTMLArcgisPrintElement> {
359
+ interface ReactArcgisPrint extends Partial<Pick<ArcgisPrint, 'allowedFormats' | 'allowedFormatsForSaving' | 'allowedLayouts' | 'autoDestroyDisabled' | 'autoPopulateAuthor' | 'browseTemplateButtonOnClick' | 'excludeDefaultTemplates' | 'excludeOrganizationTemplates' | 'exportedLinks' | 'extraParameters' | 'headingLevel' | 'hideAdvancedOptions' | 'hideHeader' | 'icon' | 'label' | 'messageOverrides' | 'outSpatialReference' | 'portal' | 'position' | 'printServiceUrl' | 'referenceElement' | 'saveAsButtonCallback' | 'showPrintAreaEnabled' | 'templateCustomTextElements' | 'templateOptions' | 'view' | 'viewModel'>>, HTMLProps<HTMLArcgisPrintElement> {
359
360
  onarcgisComplete?: EventHandler<HTMLArcgisPrintElement["arcgisComplete"]>;
360
361
  onarcgisPropertyChange?: EventHandler<HTMLArcgisPrintElement["arcgisPropertyChange"]>;
361
362
  onarcgisReady?: EventHandler<HTMLArcgisPrintElement["arcgisReady"]>;
@@ -543,6 +544,11 @@ interface ReactArcgisVideoPlayer extends Partial<Pick<ArcgisVideoPlayer, 'autoDe
543
544
  onarcgisVideoReady?: EventHandler<HTMLArcgisVideoPlayerElement["arcgisVideoReady"]>;
544
545
  }
545
546
 
547
+ interface ReactArcgisVolumeMeasurement extends Partial<Pick<ArcgisVolumeMeasurement, 'analysis' | 'autoDestroyDisabled' | 'elevationUnit' | 'elevationUnitOptions' | 'headingLevel' | 'hideHeader' | 'hideModeSelect' | 'hideUnits' | 'icon' | 'label' | 'position' | 'referenceElement' | 'view' | 'volumeUnit' | 'volumeUnitOptions'>>, HTMLProps<HTMLArcgisVolumeMeasurementElement> {
548
+ onarcgisPropertyChange?: EventHandler<HTMLArcgisVolumeMeasurementElement["arcgisPropertyChange"]>;
549
+ onarcgisReady?: EventHandler<HTMLArcgisVolumeMeasurementElement["arcgisReady"]>;
550
+ }
551
+
546
552
  interface ReactArcgisWeather extends Partial<Pick<ArcgisWeather, 'autoDestroyDisabled' | 'headingLevel' | 'hideHeader' | 'icon' | 'label' | 'messageOverrides' | 'position' | 'referenceElement' | 'view'>>, HTMLProps<HTMLArcgisWeatherElement> {
547
553
  onarcgisPropertyChange?: EventHandler<HTMLArcgisWeatherElement["arcgisPropertyChange"]>;
548
554
  onarcgisReady?: EventHandler<HTMLArcgisWeatherElement["arcgisReady"]>;
@@ -625,6 +631,7 @@ declare module "react" {
625
631
  "arcgis-version-management": ReactArcgisVersionManagement;
626
632
  "arcgis-video": ReactArcgisVideo;
627
633
  "arcgis-video-player": ReactArcgisVideoPlayer;
634
+ "arcgis-volume-measurement": ReactArcgisVolumeMeasurement;
628
635
  "arcgis-weather": ReactArcgisWeather;
629
636
  "arcgis-zoom": ReactArcgisZoom;
630
637
  }
@@ -702,6 +709,7 @@ declare module "react/jsx-runtime" {
702
709
  "arcgis-version-management": ReactArcgisVersionManagement;
703
710
  "arcgis-video": ReactArcgisVideo;
704
711
  "arcgis-video-player": ReactArcgisVideoPlayer;
712
+ "arcgis-volume-measurement": ReactArcgisVolumeMeasurement;
705
713
  "arcgis-weather": ReactArcgisWeather;
706
714
  "arcgis-zoom": ReactArcgisZoom;
707
715
  }
@@ -779,6 +787,7 @@ declare module "react/jsx-dev-runtime" {
779
787
  "arcgis-version-management": ReactArcgisVersionManagement;
780
788
  "arcgis-video": ReactArcgisVideo;
781
789
  "arcgis-video-player": ReactArcgisVideoPlayer;
790
+ "arcgis-volume-measurement": ReactArcgisVolumeMeasurement;
782
791
  "arcgis-weather": ReactArcgisWeather;
783
792
  "arcgis-zoom": ReactArcgisZoom;
784
793
  }
@@ -68,6 +68,7 @@ import type { ArcgisValuePicker } from "../components/arcgis-value-picker";
68
68
  import type { ArcgisVersionManagement } from "../components/arcgis-version-management";
69
69
  import type { ArcgisVideo } from "../components/arcgis-video";
70
70
  import type { ArcgisVideoPlayer } from "../components/arcgis-video-player";
71
+ import type { ArcgisVolumeMeasurement } from "../components/arcgis-volume-measurement";
71
72
  import type { ArcgisWeather } from "../components/arcgis-weather";
72
73
  import type { ArcgisZoom } from "../components/arcgis-zoom";
73
74
  import { JSXBase as StencilJsx } from "@stencil/core/internal";
@@ -355,7 +356,7 @@ interface StencilArcgisPopup extends Partial<Pick<ArcgisPopup, 'actions' | 'alig
355
356
  onArcgisTriggerAction?: EventHandler<HTMLArcgisPopupElement["arcgisTriggerAction"]>;
356
357
  }
357
358
 
358
- interface StencilArcgisPrint extends Partial<Pick<ArcgisPrint, 'allowedFormats' | 'allowedFormatsForSaving' | 'allowedLayouts' | 'autoDestroyDisabled' | 'browseTemplateButtonOnClick' | 'excludeDefaultTemplates' | 'excludeOrganizationTemplates' | 'exportedLinks' | 'extraParameters' | 'headingLevel' | 'hideHeader' | 'icon' | 'label' | 'messageOverrides' | 'outSpatialReference' | 'portal' | 'position' | 'printServiceUrl' | 'referenceElement' | 'saveAsButtonCallback' | 'showPrintAreaEnabled' | 'templateCustomTextElements' | 'templateOptions' | 'view'>>, StencilJsx.HTMLAttributes<HTMLArcgisPrintElement> {
359
+ interface StencilArcgisPrint extends Partial<Pick<ArcgisPrint, 'allowedFormats' | 'allowedFormatsForSaving' | 'allowedLayouts' | 'autoDestroyDisabled' | 'autoPopulateAuthor' | 'browseTemplateButtonOnClick' | 'excludeDefaultTemplates' | 'excludeOrganizationTemplates' | 'exportedLinks' | 'extraParameters' | 'headingLevel' | 'hideAdvancedOptions' | 'hideHeader' | 'icon' | 'label' | 'messageOverrides' | 'outSpatialReference' | 'portal' | 'position' | 'printServiceUrl' | 'referenceElement' | 'saveAsButtonCallback' | 'showPrintAreaEnabled' | 'templateCustomTextElements' | 'templateOptions' | 'view' | 'viewModel'>>, StencilJsx.HTMLAttributes<HTMLArcgisPrintElement> {
359
360
  onArcgisComplete?: EventHandler<HTMLArcgisPrintElement["arcgisComplete"]>;
360
361
  onArcgisPropertyChange?: EventHandler<HTMLArcgisPrintElement["arcgisPropertyChange"]>;
361
362
  onArcgisReady?: EventHandler<HTMLArcgisPrintElement["arcgisReady"]>;
@@ -543,6 +544,11 @@ interface StencilArcgisVideoPlayer extends Partial<Pick<ArcgisVideoPlayer, 'auto
543
544
  onArcgisVideoReady?: EventHandler<HTMLArcgisVideoPlayerElement["arcgisVideoReady"]>;
544
545
  }
545
546
 
547
+ interface StencilArcgisVolumeMeasurement extends Partial<Pick<ArcgisVolumeMeasurement, 'analysis' | 'autoDestroyDisabled' | 'elevationUnit' | 'elevationUnitOptions' | 'headingLevel' | 'hideHeader' | 'hideModeSelect' | 'hideUnits' | 'icon' | 'label' | 'position' | 'referenceElement' | 'view' | 'volumeUnit' | 'volumeUnitOptions'>>, StencilJsx.HTMLAttributes<HTMLArcgisVolumeMeasurementElement> {
548
+ onArcgisPropertyChange?: EventHandler<HTMLArcgisVolumeMeasurementElement["arcgisPropertyChange"]>;
549
+ onArcgisReady?: EventHandler<HTMLArcgisVolumeMeasurementElement["arcgisReady"]>;
550
+ }
551
+
546
552
  interface StencilArcgisWeather extends Partial<Pick<ArcgisWeather, 'autoDestroyDisabled' | 'headingLevel' | 'hideHeader' | 'icon' | 'label' | 'messageOverrides' | 'position' | 'referenceElement' | 'view'>>, StencilJsx.HTMLAttributes<HTMLArcgisWeatherElement> {
547
553
  onArcgisPropertyChange?: EventHandler<HTMLArcgisWeatherElement["arcgisPropertyChange"]>;
548
554
  onArcgisReady?: EventHandler<HTMLArcgisWeatherElement["arcgisReady"]>;
@@ -623,6 +629,7 @@ interface ExposedElements {
623
629
  "arcgis-version-management": StencilArcgisVersionManagement;
624
630
  "arcgis-video": StencilArcgisVideo;
625
631
  "arcgis-video-player": StencilArcgisVideoPlayer;
632
+ "arcgis-volume-measurement": StencilArcgisVolumeMeasurement;
626
633
  "arcgis-weather": StencilArcgisWeather;
627
634
  "arcgis-zoom": StencilArcgisZoom;
628
635
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arcgis/map-components",
3
- "version": "5.0.0-next.45",
3
+ "version": "5.0.0-next.47",
4
4
  "description": "ArcGIS Map Components",
5
5
  "keywords": [
6
6
  "ArcGIS",
@@ -43,8 +43,8 @@
43
43
  "license": "SEE LICENSE IN LICENSE.md",
44
44
  "dependencies": {
45
45
  "@amcharts/amcharts5": "~5.14.3",
46
- "@arcgis/lumina": "5.0.0-next.45",
47
- "@arcgis/toolkit": "5.0.0-next.45",
46
+ "@arcgis/lumina": "5.0.0-next.47",
47
+ "@arcgis/toolkit": "5.0.0-next.47",
48
48
  "lit": "^3.3.0",
49
49
  "tslib": "^2.8.1"
50
50
  },
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.45 */
4
- import{a as p}from"./5UBYY6LG.js";import{J as u,K as l,P as o,a as c,b as r}from"./H63IWYAY.js";import"./Q4WYWIF7.js";export default $arcgis.t(([{watch:m},v])=>{var _=c`.arcgis-print__sr-label{display:flex;gap:var(--calcite-spacing-xs)}.arcgis-print__invalid-wkid-text{color:var(--calcite-color-status-danger);font-size:var(--calcite-font-size--0)}`,d="arcgis-print",f={srLabel:`${d}__sr-label`,invalidWkidText:`${d}__invalid-wkid-text`};function b(e){if(e==null)return!1;let t=e.wkid;return t!=null&&t>=2e3?!0:e.wkt2!=null||e.wkt!=null}function g(e){return e==null?e:Math.round(Number.parseFloat(e))}var n=class extends u{constructor(){super(...arguments),this._isValidSpatialReference=!0}static{this.properties={_isValidSpatialReference:16,_outSpatialReference:16,templateOptions:0,viewModel:0,messages:0}}static{this.styles=_}loaded(){this.manager.onLifecycle(()=>[m(()=>this.viewModel.outSpatialReference,t=>{this._outSpatialReference=t??void 0},{initial:!0})])}render(){let{messages:t,_outSpatialReference:a}=this;return r`<div><calcite-label><div class=${l(f.srLabel)}>${t.outSpatialReference}<calcite-link href=https://developers.arcgis.com/rest/services-reference/enterprise/using-spatial-references/ target=_blank>(WKID)</calcite-link></div><calcite-input-number data-input-name=outSpatialReference integer number-button-type=none .value=${this._outSpatialReference?.wkid?.toString()??""} .max=${Number.MAX_SAFE_INTEGER} @calciteInputNumberInput=${({currentTarget:s})=>{let i=g(s.value);if(Number.isNaN(i)||i==null||i<=0||!Number.isFinite(i)){s.value=`${a?.wkid??""}`;return}this.viewModel.outSpatialReference=Number.isNaN(i)||i==null?null:new v({wkid:i}),this._isValidSpatialReference=!a||b(a)}}></calcite-input-number>${this._isValidSpatialReference?null:p(`out-sr-${a?.wkid}`,r`<div class=${l(f.invalidWkidText)}>${t.invalidWkid}</div>`)}</calcite-label></div>`}};o("arcgis-print-out-spatial-reference-input",n);return n},"core/reactiveUtils","geometry/SpatialReference")
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.45 */
4
- import{a as k}from"./XNPPHVVF.js";import d from"./6V5XIASO.js";import"./SREUOKJU.js";import c from"./OQP2APZM.js";import{a as L}from"./2QX4JJCK.js";import{a as U}from"./TWH7WGER.js";import b from"./L7H4WSGC.js";import a from"./PFUXXEB2.js";import{g as N}from"./73PFLCSO.js";import"./CSUVM77H.js";import{b as T}from"./T62AAI3G.js";import{H as S,I as C,J as P,K as v,M as x,P as O,a as M,b as m,s as g}from"./H63IWYAY.js";import"./Q4WYWIF7.js";export default $arcgis.t(([{watch:b},{property:n,subclass:Q},h,{onLocaleChange:X},Z,Y,$,H,ee,te,f,I,{geographicToWebMercator:oe},ie,{project:re},ae,,,R,{a:D,c:w}])=>{var se=M`.arcgis-button{--calcite-icon-color: var(--calcite-color-text-3);--calcite-button-background-color: var(--calcite-color-foreground-1);color:var(--calcite-color-text-3);line-height:var(--calcite-font-line-height-relative-tight);display:flex;flex-flow:column;cursor:pointer;background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);:hover{--calcite-icon-color: var(--calcite-color-text-1);--calcite-button-background-color: var(--calcite-color-transparent-hover)}calcite-button{width:var(--calcite-spacing-xxxl);height:var(--calcite-spacing-xxxl)}}:host{width:var(--calcite-spacing-xxxl);height:var(--calcite-spacing-xxxl)}`,z=!1,ne={maximumAge:0,timeout:15e3,enableHighAccuracy:!0};function ce(){let t="geolocation"in navigator;return t||console.warn("geolocation-unsupported","Geolocation unsupported."),t}function le(){let t=window.isSecureContext;return t||z||(z=!0,console.warn("insecure-context","Geolocation requires a secure origin.")),t}function pe(){return ce()&&le()}function de(t){return t??=ne,new Promise((e,o)=>{setTimeout(()=>o(new h("geolocation:timeout","getting the current geolocation position timed out")),t?.timeout??15e3),navigator.geolocation.getCurrentPosition(e,o,t??void 0)})}function he(t,e){let{position:o,view:r}=t,i=ue(o)?.coords;if(!i)throw new h("geometry-service:no-coords","Geolocation has no coordinates");let a=me(i);return ge(a,r,e)}function ue(t){let e=t?.coords||{},o={accuracy:e.accuracy,altitude:e.altitude,altitudeAccuracy:e.altitudeAccuracy,heading:e.heading,latitude:e.latitude,longitude:e.longitude,speed:e.speed,toJSON(){return{}}};return t&&{coords:o,timestamp:t.timestamp,toJSON(){return{}}}}function me({longitude:t,latitude:e,altitude:o}){return new te({longitude:t,latitude:e,z:o||void 0,spatialReference:{wkid:4326}})}async function ge(t,e,o){if(!e)return await Promise.resolve(t);let r=e.spatialReference;return r.isWGS84?await Promise.resolve(t):r.isWebMercator?await Promise.resolve(oe(t)):f.isLoaded()?await Promise.resolve(f.execute(t,r)):await fe(o).then(async i=>{if(!i)throw new h("geometry-service:missing-url","Geometry service URL is missing");let a=new ae({geometries:[t],outSpatialReference:r});return(await re(i,a,o))[0]})}async function fe(t){if(I.geometryServiceUrl)return await Promise.resolve(I.geometryServiceUrl);let e=ie.getDefault();try{await e.load(t)}catch{}return e.helperServices?.geometry?.url}var ye=Object.defineProperty,ve=Object.getOwnPropertyDescriptor,p=(t,e,o,r)=>{for(var i=r>1?void 0:r?ve(e,o):e,a=t.length-1,s;a>=0;a--)(s=t[a])&&(i=(r?s(e,o,i):s(i))||i);return r&&i&&ye(e,o,i),i},we=2500;function K(t){let e={type:"CIMVectorMarker",enable:!0,anchorPoint:{x:0,y:0},anchorPointUnits:"Relative",dominantSizeAxis3D:"Y",size:t==="background"?16:14,billboardMode3D:"FaceNearPlane",frame:{xmin:0,ymin:0,xmax:17,ymax:17},markerGraphics:[{type:"CIMMarkerGraphic",geometry:{rings:[[[8.5,0],[7.02,.13],[5.59,.51],[4.25,1.14],[3.04,1.99],[1.99,3.04],[1.14,4.25],[.51,5.59],[.13,7.02],[0,8.5],[.13,9.98],[.51,11.41],[1.14,12.75],[1.99,13.96],[3.04,15.01],[4.25,15.86],[5.59,16.49],[7.02,16.87],[8.5,17],[9.98,16.87],[11.41,16.49],[12.75,15.86],[13.96,15.01],[15.01,13.96],[15.86,12.75],[16.49,11.41],[16.87,9.98],[17,8.5],[16.87,7.02],[16.49,5.59],[15.86,4.25],[15.01,3.04],[13.96,1.99],[12.75,1.14],[11.41,.51],[9.98,.13],[8.5,0]]]},symbol:{type:"CIMPolygonSymbol",symbolLayers:[{type:"CIMSolidStroke",enable:!0,capStyle:"Round",joinStyle:"Round",lineStyle3D:"Strip",miterLimit:10,width:t==="background"?0:2,color:[255,255,255,255]},{type:"CIMSolidFill",enable:!0,color:t==="background"?[0,0,0,66]:[0,122,194,255]}]}}],scaleSymbolsProportionally:!0,respectFrame:!0};return t==="background"&&(e.offsetX=0,e.offsetY=-1),e}var V={type:"CIMPictureMarker",primitiveName:"headingOverride",enable:!0,anchorPoint:{x:0,y:-.5},anchorPointUnits:"Relative",dominantSizeAxis3D:"Y",size:36,billboardMode3D:"FaceNearPlane",invertBackfaceTexture:!0,scaleX:1,textureFilter:"Picture",url:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAkCAYAAACe0YppAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAYaSURBVHgBvVfNb1VFFD/nzP16xRYJKYREEiJoDLLShQkrSNzoHv8I2QgxwY8FJWHhxoVxISEu2AordWNiQjAxEBeEsKAmhCCwkPDRAn1t33v33jnH37n3Fam0pa8kTjOde+/MnN/5+J0z85jW08yYTpxgfzx0bS+fO0R0YHqyeb9w7YEtLTv+9rSdOH7ciNleJJJX/Do1JQ3AltdlT35fiN6gG8kD8akdmzO+6w/zM7wdw725rUY78DBXtmATA6PZntFgm9Kjm6o/HFJpdi5Xhp+16sDBC+H+gUmZfjIXHKC+35U42ZHZfpe30BZS7okNFnhu8wTRk2ek5LEV2q+N8nEj6yuNVRjHddftrt4ahyJbOxF+Uppi/Rf47NlA05Pp9vkyRNkkD8sqUJHwOGfSpYFQFXhTJryQBaZSeAxbFus+U1K0gJm2oy3QKwuZzqeuSK5kpW6BEsE6+nCsAHDXQWuaOljzU8uP/ToxUW4KcwKg8QzOSdFL6Swm0hurAC7N2qIW7ncwNgYKF4la3/w7RnzrUK29KseXWqmTKXGl45Zrd9CLrsSjr96fcw4kS46mTsJznSTrVBR6VQJQdDbpZTWexxgCYCFz30cquD8oYVQgtUAUzfo8wGtqGoNRFmFZ1KKulJMQu3Vpm/I8Pup3ekvES57GaabXo4lsszEA6zrkhcmAAkBNshi59O9wVsokBLZUCQAxllXVBkyCDRQuTlLLiLSEqw3gfUqU0kVdsKymsnzyPLm8fXZxDxVZgvUhg9QyaKDI7AhpSlRVEaA83JM+/V8pGO0PMTHyZwra9FQVk4i1e0D6dPK9v5agkmXAhc0Bw5MjlAQQE0lSDbUmbBX4kGfsiiQWuSZtdle1S4F73cUKJgviyw4mmmqlVSoR/FAK2d1noWQZ8N79MySw0tgNzhN00jRFaPM6y3IyLWBxXuOdvMfhaIy1MQctmvnEMGrMq2Y/ekC3dHF14I84gmZP2s0pgiJFHVwYhIIrMC1zgT4fQgsS0CG48LWtslAsgeKZK5U1c5Slj+nEvvJZqOWubr5ks8iE3bVqCMQCz4p5aiUqpMrOdHz2qLFTxAMSPLwY8WpmntNwrXIMCWvESGH+7n9hVi6ZJ6/sR5gnycFFQgsCQEEB8T9TbsCGy4PrZrEBjGyIt4EApoGRXWKP6Mt3fnvOvhWBjR4gdjtJEDmGQQkBSCS6Teys5qECABTPWOBwcPWgAPIU+E2+Rq3J8lsrQawMHNPbqAXvRqasWcMB/mK42N3twM6/FsbJTZK2Fru15K7niPVIp6RHn++9vRKErAg8ta+MFq4LBxAJKY1EajpxLj5KUzFzOMTni4btxoUzXPzIIOwLnEPxGVqlyWoTdO/WNRUXJhDmAgNAJVd0eABj8FTCvLbpEnxdOycJlFNXVq6MDvzthwOQ654LaMGGVofQWIWtXhM9xaCQp85QIZFMPXcpuUPH3uquJj6htVonvySD+KY6c2AulPAzHdVaZElvPCGBgvkIRUECr1J4qmV6LdGyJvAnu+94HZMla1Eg1AuGVyQWnNCwzqsUXK5+AIsUyPRc1Rbpi93X1xK9tsXtkj9U7INWSWvU0DaZ6OlVAmUDiqgbrwY2Z3ThRVKFXrgi/R0x9GMplxAyER6ynAtZin1DQoLVznLMU+/mywMf3dlDpbyMlbjLQDhLw/Sh24sm5dhTrlHKgS/T0X2zLw/sLeGr5OlEbg2uHwAFw5reKuKsJj8kcIj0zq9H5PqAj+z6E8y+YRIaUhnAEOrcWgv9m3shQ1H7mz5duVJtDLhZqZcNlrEDwXKwCzncdFg+PJeVf1m3uPUupLR7Hq6tHNyLhw1TCmdGbm0BmaUjr63LzaMBH943D9f+yO5uZ7HfcLktqdwqMU0jtPUDN6vDOfzgKFrXtta6q83vfHU4M5KoURbT4W3zsPIqrgQFO8GozV8ocZGOTN4dRdRowN6CnOLmKkk5t7H1i+HPNGJj2kj7buYajoRXh2+36eOt+2nENrrF3ozODEmFC0D4hjbQNgYc+DSYjd9qqGSJXqL/tZ16/DWdfvw9bbCt41hcpYn9RAEX9Q22fwC74ny5v9iplQAAAABJRU5ErkJggg=="},be=K("layer"),Ae=K("background"),Ee=new ee({data:{type:"CIMSymbolReference",symbol:{type:"CIMPointSymbol",symbolLayers:[be,Ae,V],angleAlignment:"Map"},primitiveOverrides:[{type:"CIMPrimitiveOverride",primitiveName:"headingOverride",propertyName:"Rotation",valueExpressionInfo:{type:"CIMExpressionInfo",title:"Rotation override",expression:"360 - $feature.heading",returnType:"Default"}},{type:"CIMPrimitiveOverride",primitiveName:"headingOverride",propertyName:"TintColor",valueExpressionInfo:{type:"CIMExpressionInfo",title:"TintColor override",expression:"IIF(IsEmpty($feature.heading), [255, 255, 255, 0], [255, 255, 255, 1])",returnType:"Default"}}]}}),c=class extends ${constructor(){super(...arguments),this._geolocationUsable=!0,this.goToLocationEnabled=!0,this.graphic=new H({symbol:Ee}),this.rotationEnabled=!0}initialize(){pe()||(this._geolocationUsable=!1),this.addHandles([b(()=>this.view?.type,()=>this._handleViewTypeChange(),{initial:!0})])}destroy(){this._clearGraphic(),this.view=void 0}_clearGraphic(){let{view:t,graphic:e}=this;t&&e&&t.graphics.remove(e)}_addGraphic(){let{view:t,graphic:e}=this;!t?.graphics||!e||t.graphics.includes(e)||t.graphics.push(e)}_handleViewTypeChange(){V.enable=this.view?.type==="2d"}_getScaleWithinConstraints(t,e){if(!e)return t;if(e.type==="2d"){let{effectiveMaxScale:o,effectiveMinScale:r}=e.constraints;return Math.min(r,Math.max(o,t))}return t}_getScale(t){let{scale:e}=this,o=typeof e=="number"?e:we;return this._getScaleWithinConstraints(o,t)}_getHeading(t,e){let o=e?.spatialReference,r=o?.isWebMercator||o?.isGeographic,i=t.coords?.heading;return!r||typeof i!="number"||Number.isNaN(i)||i<0||i>360?null:i}_addHeading(t){let{heading:e,target:o,view:r}=t;if(!(!r||e===null)){if(r.type==="3d"){o.heading=e;return}r.type==="2d"&&(o.rotation=360-e)}}async _animatePoint(t,e,o,r){let{view:i}=this;if(!this.goToLocationEnabled||!i)return;let a={target:t,scale:e};this.rotationEnabled&&this._addHeading({heading:o,target:a,view:i});let s={signal:r.signal};D(s),this.goToOverride&&i&&this.goToOverride(i,{target:a,options:s}),await i.goTo(a,s)}async updatePosition(t,e){try{let o=this.view,r=await he({position:t,view:o},{signal:e.signal}),{graphic:i}=this,{timestamp:a,coords:s}=t,{accuracy:y,altitude:u,altitudeAccuracy:J,latitude:j,longitude:q,speed:_}=s,E=this._getHeading(t,o),W={timestamp:a,accuracy:y,altitude:u,altitudeAccuracy:J,heading:E,latitude:j,longitude:q,speed:_};i&&(i.geometry=r,i.attributes=W);let B=this._getScale(o);await this._animatePoint(r,B,E,e)}catch(o){if(!w(o))throw new h("geolocation-positioning:invalid-point","Cannot position invalid point",{error:o})}return t}};p([n()],c.prototype,"_geolocationUsable",2);p([n()],c.prototype,"geolocationOptions",2);p([n()],c.prototype,"goToLocationEnabled",2);p([n()],c.prototype,"goToOverride",2);p([n({type:H})],c.prototype,"graphic",2);p([n()],c.prototype,"scale",2);p([n()],c.prototype,"rotationEnabled",2);p([n()],c.prototype,"view",2);c=p([Q("map-components.geolocation.GeolocationPositioning")],c);var Me=Object.defineProperty,Se=Object.getOwnPropertyDescriptor,d=(t,e,o,r)=>{for(var i=r>1?void 0:r?Se(e,o):e,a=t.length-1,s;a>=0;a--)(s=t[a])&&(i=(r?s(e,o,i):s(i))||i);return r&&i&&Me(e,o,i),i},Ce=new Y({icon:"trash",id:"remove-selected-feature",title:"{messages.remove}",className:"esri-icon-trash"});function Pe(t){return new Z({title:t.currentLocation,fieldInfos:[{fieldName:"timestamp",label:t.timestamp,format:{dateFormat:"short-date-short-time"}},{fieldName:"latitude",label:t.latitude,format:{places:4,digitSeparator:!0}},{fieldName:"longitude",label:t.longitude,format:{places:4,digitSeparator:!0}},{fieldName:"accuracy",label:t.accuracy,format:{places:0,digitSeparator:!0}},{fieldName:"altitude",label:t.altitude,format:{places:0,digitSeparator:!0}},{fieldName:"altitudeAccuracy",label:t.altitudeAccuracy,format:{places:0,digitSeparator:!0}},{fieldName:"heading",label:t.heading,format:{places:0,digitSeparator:!0}},{fieldName:"speed",label:t.speed,format:{places:0,digitSeparator:!0}}],actions:[Ce.clone()],content:[{type:"fields"}]})}var l=class extends c{constructor(t){super(t),this.popupEnabled=!0,this.locate=this.locate.bind(this)}initialize(){this.addHandles([X(()=>{let{graphic:t,view:e}=this;t&&e?.graphics?.includes(t)&&this._updatePopupTemplate(t)})])}destroy(){this.cancelLocate()}get state(){return this._geolocationUsable?this.view?.ready?this._locateController?"locating":this.error!=null?"error":"ready":"disabled":"feature-unsupported"}async locate(){if(this.cancelLocate(),this.state==="disabled")throw new h("locate:disabled-state","Cannot locate when disabled.");if(this.state==="feature-unsupported")throw new h("locate:feature-unsupported-state","Cannot locate in unsecure domain.");let t=new AbortController;this._locateController=t,this.error=void 0;try{let e=await de(this.geolocationOptions);if(await this.updatePosition(e,t),this._locateController!==t)return null;let{graphic:o}=this;return o&&this._updatePopupTemplate(o),this._addGraphic(),this.currentPosition=e,this._locateController=void 0,e}catch(e){if(w(e))return null;throw t===this._locateController&&(this._locateController=void 0),this.error=e,e}}cancelLocate(){this._clearGraphic(),this._locateController&&this._locateController.abort(),this._locateController=void 0}_updatePopupTemplate(t){if(!this.popupEnabled)return;let e=Pe(this.messages),o=t!==this.graphic;this.destroyed||o||(t.popupTemplate=e)}};d([n()],l.prototype,"_locateController",2);d([n()],l.prototype,"currentPosition",2);d([n()],l.prototype,"error",2);d([n()],l.prototype,"messages",2);d([n()],l.prototype,"popupEnabled",2);d([n({readOnly:!0})],l.prototype,"state",1);l=d([Q("map-components.locate.LocateViewModel")],l);var F={base:"locate",button:"arcgis-button"},G="gps-off",xe=R(l),A=class extends P{constructor(){super(),this.locateButtonElement=S(),this.messages=L(),this.viewModel=xe(this),this.hideErrorTooltip=()=>{this.isErrorTooltipOpen=!1},this.isErrorTooltipOpen=!1,this.view=this.viewModel.view,this.autoDestroyDisabled=!1,this.geolocationOptions=this.viewModel.geolocationOptions,this.goToLocationDisabled=this.viewModel.goToLocationEnabled,this.goToOverride=this.viewModel.goToOverride,this.graphic=this.viewModel.graphic,this.icon=G,this.popupDisabled=this.viewModel.popupEnabled,this.scale=this.viewModel.scale,this.state=this.viewModel.state,this.arcgisError=g(),this.arcgisPropertyChange=N()("state"),this.arcgisReady=g(),this.arcgisSuccess=g(),this.listenOn(document,"click",this.hideErrorTooltip)}static{this.properties={isErrorTooltipOpen:16,view:0,autoDestroyDisabled:5,geolocationOptions:0,goToLocationDisabled:7,goToOverride:0,graphic:0,icon:1,label:1,messageOverrides:0,popupDisabled:5,position:3,referenceElement:1,scale:9,state:3}}static{this.styles=se}async cancelLocate(){this.viewModel.cancelLocate()}async destroy(){await this.manager.destroy()}async locate(){return await this.viewModel.locate()}loaded(){this.viewModel.messages={...this.messages,...this.messageOverrides},this.manager.onLifecycle(()=>[b(()=>this.viewModel.error,e=>{this.isErrorTooltipOpen=!!e,this.arcgisError.emit({error:e})}),b(()=>this.viewModel.currentPosition,e=>{this.arcgisSuccess.emit({position:e})})])}_localizeError(e){if(e instanceof GeolocationPositionError)return e.code===GeolocationPositionError.PERMISSION_DENIED?this.messages?.permissionError:e.code===GeolocationPositionError.TIMEOUT?this.messages?.timeoutError:this.messages?.positionUnavailable;if(e instanceof Error)return e.message}_locate(){let{viewModel:e}=this;e.state==="locating"?e.cancelLocate():e.locate().catch(()=>{})}render(){let{viewModel:e,icon:o}=this,{state:r}=e,i=r==="locating",a=i?this.messages.cancel:this.messages.title,s=r==="feature-unsupported",y=k===void 0?G:void 0,u=this._localizeError(this.viewModel?.error);return m`<div class=${v(T(F.base,F.button))}>${!s&&m`<calcite-button class=${v(U.widgetButton)} .disabled=${r==="disabled"} .loading=${i} .iconStart=${i?void 0:o??y} kind=neutral .label=${a} @click=${this._locate} title=${a??x} ${C(this.locateButtonElement)}></calcite-button>`||""}${u?m`<calcite-tooltip .open=${this.isErrorTooltipOpen} overlay-positioning=fixed .referenceElement=${this.locateButtonElement.value}>${u}</calcite-tooltip>`:null}</div>`}};O("arcgis-locate",A);return A},"core/reactiveUtils","core/accessorSupport/decorators","core/Error","intl","PopupTemplate","support/actions/ActionButton","core/Accessor","Graphic","symbols/CIMSymbol","geometry/Point","geometry/operators/projectOperator","config","geometry/support/webMercatorUtils","portal/Portal","rest/geometryService","rest/support/ProjectParameters",a,b,c,d)
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.45 */
4
- import{a as y}from"./2CON7KRH.js";import"./RA2D4DOL.js";import d from"./OQP2APZM.js";import{a as P}from"./2QX4JJCK.js";import{a as x}from"./TWH7WGER.js";import c from"./L7H4WSGC.js";import b from"./PFUXXEB2.js";import{g as M}from"./73PFLCSO.js";import"./CSUVM77H.js";import{b as f}from"./T62AAI3G.js";import{H as z,I,J as F,K as s,M as a,P as B,a as T,b as h,s as _}from"./H63IWYAY.js";import"./Q4WYWIF7.js";export default $arcgis.t(([{hasDisplayProperties:$},L,D,E,,,S])=>{var l="arcgis-coordinate-conversion",r={base:l,expandUp:`${l}__conversions-view--expand-up`,expandDown:`${l}__conversions-view--expand-down`,noBasemap:`${l}__no-basemap`,coordDisplay:`${l}__coordinate-display`,conversionRow:`${l}__conversion-row`,rowSelect:`${l}__row-select`,conversionsView:`${l}__conversions-view`,conversionsList:`${l}__conversion-list`,toolDisplay:`${l}__tool-display`,copyButton:`${l}__copy-button`,coordinateConversionAlert:`${l}__alert`,coordinateInput:`${l}__coordinate-input`,inputForm:`${l}__input-form`,sectionHeading:`${l}__section-heading`,inputFormGroup:`${l}__coordinate-input__form-group`,inputSelect:`${l}__coordinate-input__select`,sectionTitle:`${l}__section-title`,patternInput:`${l}__pattern-input`,previewCoordinate:`${l}__preview-coordinate`,settings:`${l}__settings`,firstSettingsGroup:`${l}__settings__form-group-first`,settingsFormGroup:`${l}__settings__form-group`,settingsFormGroupHorizontal:`${l}__settings__form-group-horizontal`},A=T`[class^=esri-icon-],[class*=" esri-icon-"]{speak:none;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-style:normal;font-weight:var(--calcite-font-weight-normal);line-height:1;font-family:CalciteWebCoreIcons!important}.esri-icon-close:before{content:"";color:inherit}.esri-icon-drag-horizontal:before{content:"";color:inherit}.esri-icon-drag-vertical:before{content:"";color:inherit}.esri-icon-handle-horizontal:before{content:"";color:inherit}.esri-icon-handle-vertical:before{content:"";color:inherit}.esri-icon-check-mark:before{content:"";color:inherit}.esri-icon-left-triangle-arrow:before{content:"";color:inherit}.esri-icon-right-triangle-arrow:before{content:"";color:inherit}.esri-icon-down-arrow:before{content:"";color:inherit}.esri-icon-up-arrow:before{content:"";color:inherit}.esri-icon-overview-arrow-bottom-left:before{content:"";color:inherit}.esri-icon-overview-arrow-bottom-right:before{content:"";color:inherit}.esri-icon-overview-arrow-top-left:before{content:"";color:inherit}.esri-icon-overview-arrow-top-right:before{content:"";color:inherit}.esri-icon-maximize:before{content:"";color:inherit}.esri-icon-minimize:before{content:"";color:inherit}.esri-icon-checkbox-unchecked:before{content:"";color:inherit}.esri-icon-checkbox-checked:before{content:"";color:inherit}.esri-icon-radio-unchecked:before{content:"";color:inherit}.esri-icon-radio-checked:before{content:"";color:inherit}.esri-icon-up-arrow-circled:before{content:"";color:inherit}.esri-icon-down-arrow-circled:before{content:"";color:inherit}.esri-icon-left-arrow-circled:before{content:"";color:inherit}.esri-icon-right-arrow-circled:before{content:"";color:inherit}.esri-icon-zoom-out-fixed:before{content:"";color:inherit}.esri-icon-zoom-in-fixed:before{content:"";color:inherit}.esri-icon-refresh:before{content:"";color:inherit}.esri-icon-edit:before{content:"";color:inherit}.esri-icon-authorize:before{content:"";color:inherit}.esri-icon-map-pin:before{content:"";color:inherit}.esri-icon-blank-map-pin:before{content:"";color:inherit}.esri-icon-table:before{content:"";color:inherit}.esri-icon-plus:before{content:"+";color:inherit}.esri-icon-minus:before{content:"";color:inherit}.esri-icon-beginning:before{content:"";color:inherit}.esri-icon-reverse:before{content:"";color:inherit}.esri-icon-pause:before{content:"";color:inherit}.esri-icon-play:before{content:"";color:inherit}.esri-icon-forward:before{content:"";color:inherit}.esri-icon-end:before{content:"";color:inherit}.esri-icon-erase:before{content:"";color:inherit}.esri-icon-up-down-arrows:before{content:"";color:inherit}.esri-icon-left:before{content:"";color:inherit}.esri-icon-right:before{content:"";color:inherit}.esri-icon-announcement:before{content:"";color:inherit}.esri-icon-notice-round:before{content:"";color:inherit}.esri-icon-notice-triangle:before{content:"";color:inherit}.esri-icon-home:before{content:"";color:inherit}.esri-icon-locate:before{content:"";color:inherit}.esri-icon-expand:before{content:"";color:inherit}.esri-icon-collapse:before{content:"";color:inherit}.esri-icon-layer-list:before{content:"";color:inherit}.esri-icon-basemap:before{content:"";color:inherit}.esri-icon-globe:before{content:"";color:inherit}.esri-icon-applications:before{content:"";color:inherit}.esri-icon-arrow-up-circled:before{content:"";color:inherit}.esri-icon-arrow-down-circled:before{content:"";color:inherit}.esri-icon-arrow-left-circled:before{content:"";color:inherit}.esri-icon-arrow-right-circled:before{content:"";color:inherit}.esri-icon-minus-circled:before{content:"";color:inherit}.esri-icon-plus-circled:before{content:"";color:inherit}.esri-icon-add-attachment:before{content:"";color:inherit}.esri-icon-attachment:before{content:"";color:inherit}.esri-icon-calendar:before{content:"";color:inherit}.esri-icon-close-circled:before{content:"";color:inherit}.esri-icon-browser:before{content:"";color:inherit}.esri-icon-collection:before{content:"";color:inherit}.esri-icon-comment:before{content:"";color:inherit}.esri-icon-configure-popup:before{content:"";color:inherit}.esri-icon-contact:before{content:"";color:inherit}.esri-icon-dashboard:before{content:"";color:inherit}.esri-icon-deny:before{content:"";color:inherit}.esri-icon-description:before{content:"";color:inherit}.esri-icon-directions:before{content:"";color:inherit}.esri-icon-directions2:before{content:"";color:inherit}.esri-icon-documentation:before{content:"";color:inherit}.esri-icon-duplicate:before{content:"";color:inherit}.esri-icon-review:before{content:"";color:inherit}.esri-icon-environment-settings:before{content:"";color:inherit}.esri-icon-error:before{content:"";color:inherit}.esri-icon-error2:before{content:"";color:inherit}.esri-icon-experimental:before{content:"";color:inherit}.esri-icon-feature-layer:before{content:"";color:inherit}.esri-icon-filter:before{content:"";color:inherit}.esri-icon-grant:before{content:"";color:inherit}.esri-icon-group:before{content:"";color:inherit}.esri-icon-key:before{content:"";color:inherit}.esri-icon-labels:before{content:"";color:inherit}.esri-icon-tag:before{content:"";color:inherit}.esri-icon-layers:before{content:"";color:inherit}.esri-icon-left-arrow:before{content:"";color:inherit}.esri-icon-right-arrow:before{content:"";color:inherit}.esri-icon-link-external:before{content:"";color:inherit}.esri-icon-link:before{content:"";color:inherit}.esri-icon-loading-indicator:before{content:"";color:inherit}.esri-icon-maps:before{content:"";color:inherit}.esri-icon-marketplace:before{content:"";color:inherit}.esri-icon-media:before{content:"";color:inherit}.esri-icon-media2:before{content:"";color:inherit}.esri-icon-menu:before{content:"";color:inherit}.esri-icon-mobile:before{content:"";color:inherit}.esri-icon-phone:before{content:"";color:inherit}.esri-icon-navigation:before{content:"";color:inherit}.esri-icon-pan:before{content:"";color:inherit}.esri-icon-printer:before{content:"";color:inherit}.esri-icon-pie-chart:before{content:"";color:inherit}.esri-icon-chart:before{content:"";color:inherit}.esri-icon-line-chart:before{content:"";color:inherit}.esri-icon-question:before{content:"";color:inherit}.esri-icon-resend-invitation:before{content:"";color:inherit}.esri-icon-rotate:before{content:"";color:inherit}.esri-icon-save:before{content:"";color:inherit}.esri-icon-settings:before{content:"";color:inherit}.esri-icon-settings2:before{content:"";color:inherit}.esri-icon-share:before{content:"";color:inherit}.esri-icon-sign-out:before{content:"";color:inherit}.esri-icon-support:before{content:"";color:inherit}.esri-icon-user:before{content:"";color:inherit}.esri-icon-time-clock:before{content:"";color:inherit}.esri-icon-trash:before{content:"";color:inherit}.esri-icon-upload:before{content:"";color:inherit}.esri-icon-download:before{content:"";color:inherit}.esri-icon-zoom-in-magnifying-glass:before{content:"";color:inherit}.esri-icon-search:before{content:"";color:inherit}.esri-icon-zoom-out-magnifying-glass:before{content:"";color:inherit}.esri-icon-locked:before{content:"";color:inherit}.esri-icon-unlocked:before{content:"";color:inherit}.esri-icon-favorites:before{content:"";color:inherit}.esri-icon-compass:before{content:"";color:inherit}.esri-icon-down:before{content:"";color:inherit}.esri-icon-up:before{content:"";color:inherit}.esri-icon-chat:before{content:"";color:inherit}.esri-icon-dock-bottom:before{content:"";color:inherit}.esri-icon-dock-left:before{content:"";color:inherit}.esri-icon-dock-right:before{content:"";color:inherit}.esri-icon-organization:before{content:"";color:inherit}.esri-icon-north-navigation:before{content:"";color:inherit}.esri-icon-locate-circled:before{content:"";color:inherit}.esri-icon-dial:before{content:"";color:inherit}.esri-icon-polygon:before{content:"";color:inherit}.esri-icon-polyline:before{content:"";color:inherit}.esri-icon-visible:before{content:"";color:inherit}.esri-icon-non-visible:before{content:"";color:inherit}.esri-icon-link-vertical:before{content:"";color:inherit}.esri-icon-unlocked-link-vertical:before{content:"";color:inherit}.esri-icon-link-horizontal:before{content:"";color:inherit}.esri-icon-unlocked-link-horizontal:before{content:"";color:inherit}.esri-icon-swap:before{content:"";color:inherit}.esri-icon-cta-link-external:before{content:"";color:inherit}.esri-icon-reply:before{content:"";color:inherit}.esri-icon-public:before{content:"";color:inherit}.esri-icon-share2:before{content:"";color:inherit}.esri-icon-launch-link-external:before{content:"";color:inherit}.esri-icon-rotate-back:before{content:"";color:inherit}.esri-icon-pan2:before{content:"";color:inherit}.esri-icon-tracking:before{content:"";color:inherit}.esri-icon-expand2:before{content:"";color:inherit}.esri-icon-arrow-down:before{content:"";color:inherit}.esri-icon-arrow-up:before{content:"";color:inherit}.esri-icon-hollow-eye:before{content:"";color:inherit}.esri-icon-play-circled:before{content:"";color:inherit}.esri-icon-volume-off:before{content:"";color:inherit}.esri-icon-volume-on:before{content:"";color:inherit}.esri-icon-bookmark:before{content:"";color:inherit}.esri-icon-lightbulb:before{content:"";color:inherit}.esri-icon-sketch-rectangle:before{content:"";color:inherit}.esri-icon-north-navigation-filled:before{content:"";color:inherit}.esri-icon-default-action:before{content:"";color:inherit}.esri-icon-undo:before{content:"";color:inherit}.esri-icon-redo:before{content:"";color:inherit}.esri-icon-cursor:before{content:"";color:inherit}.esri-icon-cursor-filled:before{content:"";color:inherit}.esri-icon-measure:before{content:"";color:inherit}.esri-icon-measure-line:before{content:"";color:inherit}.esri-icon-measure-area:before{content:"";color:inherit}.esri-icon-legend:before{content:"";color:inherit}.esri-icon-sliders:before{content:"";color:inherit}.esri-icon-sliders-horizontal:before{content:"";color:inherit}.esri-icon-cursor-marquee:before{content:"";color:inherit}.esri-icon-lasso:before{content:"";color:inherit}.esri-icon-elevation-profile:before{content:"";color:inherit}.esri-icon-slice:before{content:"";color:inherit}.esri-icon-line-of-sight:before{content:"";color:inherit}.esri-icon-zoom-to-object:before{content:"";color:inherit}.esri-icon-urban-model:before{content:"";color:inherit}.esri-icon-measure-building-height-shadow:before{content:"";color:inherit}.esri-icon-partly-cloudy:before{content:"";color:inherit}.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-button{box-sizing:border-box;cursor:pointer;white-space:normal;word-break:normal;color:var(--calcite-color-text-1);background-color:var(--calcite-color-status-info);border:var(--calcite-spacing-px) solid var(--calcite-color-status-info);justify-content:center;align-items:center;width:100%;min-height:var(--calcite-spacing-xxxl);padding:6px 7px;font-family:inherit;font-size:var(--calcite-font-size);transition:background-color .125s ease-in-out,border .125s ease-in-out;display:flex;overflow:hidden;&:hover{color:var(--calcite-color-text-1);background-color:var(--calcite-color-status-info-hover);border:var(--calcite-spacing-px) solid var(--calcite-color-status-info-hover)}}.esri-button:hover{color:var(--calcite-color-text-1);background-color:var(--calcite-color-text-2);border:1px solid var(--calcite-color-text-2)}.esri-button.esri-button--small{min-height:var(--calcite-spacing-xl);font-size:var(--calcite-font-size-sm)}.esri-button.esri-button--half{width:50%;display:inline-block}.esri-button.esri-button--third{width:33%;display:inline-block}.esri-button--secondary{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1)}.esri-button--tertiary{color:var(--calcite-color-brand);background-color:var(--calcite-color-transparent);border-color:var(--calcite-color-transparent)}.esri-button--tertiary:hover{color:var(--calcite-color-brand-hover);background-color:var(--calcite-color-foreground-2);border-color:var(--calcite-color-transparent)}.esri-button--disabled{opacity:.4;pointer-events:none}.esri-button--drill-in{outline-offset:-4px;cursor:pointer;text-align:unset;background-color:var(--calcite-color-foreground-1);border:none;border-radius:2px;justify-content:space-between;align-items:center;margin:var(--calcite-spacing-md) 7px;padding:var(--calcite-spacing-md) 7px;text-decoration:none;transition:background-color .125s ease-in-out;display:flex;box-shadow:0 0 0 1px #adadad4d}.esri-button--drill-in:hover,.esri-button--drill-in:focus{background-color:var(--calcite-color-foreground-2)}.esri-button--drill-in__title{font-size:var(--calcite-font-size)}.esri-button--drill-in [class^=esri-icon-],.esri-button--drill-in [class*=" esri-icon-"]{padding:0 7px}.esri-widget--button{cursor:pointer;text-align:center;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);flex-flow:row;justify-content:center;align-items:center;width:var(--calcite-spacing-xxxl);height:var(--calcite-spacing-xxxl);margin:0;padding:0;font-size:var(--calcite-font-size);transition:background-color .125s ease-in-out;display:flex;overflow:hidden}.esri-widget--button:is(calcite-button):not(:hover){--calcite-icon-color: var(--calcite-color-text-3)}.esri-widget--button:not([appearance]),.esri-widget--button[appearance=solid]{--calcite-color-foreground-3: var(--calcite-color-foreground-1)}.esri-widget--button:is(calcite-button){--calcite-offset-invert-focus: 1}.esri-widget--button calcite-loader[inline]{margin:auto}.esri-button--secondary{color:var(--calcite-color-brand);background-color:var(--calcite-color-foreground-1);&:hover{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-status-info);border:1px solid var(--calcite-color-status-info)}}:host{background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-2);--coordinate-conversion-width: 425px;--coordinate-font-size: var(--calcite-font-size-sm);--alert-width: 225px;--arcgis-coordinate-conversion-flex-direction: column;width:var(--coordinate-conversion-width)}calcite-alert{width:var(--alert-width);position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);margin-top:12.5%}.arcgis-coordinate-conversion__no-basemap{padding:var(--calcite-spacing-xxs)}.arcgis-coordinate-conversion{background-color:var(--calcite-color-foreground-1);position:relative;width:var(--coordinate-conversion-width)}.arcgis-coordinate-conversion__conversions-view{display:flex;flex-direction:var(--arcgis-coordinate-conversion-flex-direction)}.arcgis-coordinate-conversion__conversion-list{flex-direction:var(--arcgis-coordinate-conversion-flex-direction)}.arcgis-coordinate-conversion__conversions-view--expand-down{display:flex;flex-direction:column}.arcgis-coordinate-conversion__conversions-view--expand-down .arcgis-coordinate-conversion__conversion-list{flex-direction:column}.arcgis-coordinate-conversion__conversions-view--expand-up{display:flex;flex-direction:column-reverse}.arcgis-coordinate-conversion__conversions-view--expand-up .arcgis-coordinate-conversion__conversion-list{flex-direction:column-reverse}.arcgis-coordinate-conversion__conversion-list{display:flex;padding-left:0;margin:0}.arcgis-coordinate-conversion__tool-display{list-style:none;display:flex;margin:0;padding:0;font-size:var(--calcite-font-size-sm)}.arcgis-coordinate-conversion__conversion-row{padding:0 var(--esri-widget-padding-y);justify-content:space-between;align-items:center;display:flex}.arcgis-coordinate-conversion__conversion-row:hover .arcgis-coordinate-conversion__copy-button{display:block}.arcgis-coordinate-conversion__conversions-view{padding:var(--calcite-spacing-md)}.arcgis-coordinate-conversion__coordinate-display{font-size:var(--coordinate-font-size);word-break:break-word;word-wrap:break-word;direction:ltr;flex:auto;display:flex;align-items:center;padding-left:var(--calcite-spacing-sm);min-height:var(--calcite-spacing-xxxl)}.arcgis-coordinate-conversion__coordinate-display:hover{background:var(--calcite-color-transparent-hover)}.arcgis-coordinate-conversion__copy-button{display:none}.arcgis-coordinate-conversion__row-select{width:5rem;flex-shrink:0;text-align-last:center}.arcgis-coordinate-conversion__section-heading{display:flex;align-items:center;background-color:var(--calcite-color-background);width:100%;height:var(--calcite-size-fixed-xxxl)}.arcgis-coordinate-conversion__section-title{margin:0 auto!important}.arcgis-coordinate-conversion__coordinate-input__form-group{display:flex;align-items:center;justify-content:space-between;margin:var(--calcite-spacing-md) auto var(--calcite-spacing-md) auto;width:80%}.arcgis-coordinate-conversion__input-form{display:flex;flex-direction:column}.arcgis-coordinate-conversion__coordinate-input{flex:1;margin:0;font-size:var(--coordinate-font-size)}.arcgis-coordinate-conversion__settings{display:flex;flex-direction:column;align-items:center}.arcgis-coordinate-conversion__settings__form-group{display:flex;flex-direction:column;align-items:center;width:60%}.arcgis-coordinate-conversion__settings__form-group-horizontal{display:flex;position:relative;flex-direction:row;width:100%}.arcgis-coordinate-conversion__settings__form-group-first{margin-top:var(--calcite-spacing-sm)}.arcgis-coordinate-conversion__settings__form-group:last-child{width:100%;text-align:center}.arcgis-coordinate-conversion__preview-coordinate{min-height:var(--calcite-spacing-xl)}`,O=2500,U=1e3,G=new L({x:0,y:0}),g={chevronDown:"chevron-down",chevronUp:"chevron-up",copy:"copy",pinTear:"pin-tear",pinTearF:"pin-tear-f",arrowLeft:"arrow-left",refresh:"refresh"},j=S(E),k=class extends F{constructor(){super(...arguments),this.alertTimer=-1,this.messages=P(),this._coordinateInput=z(),this._currentView="conversions",this._multipleConversionsDisabled=!1,this.viewModel=j(this),this.clearAlertTimeout=()=>{window.clearTimeout(this.alertTimer),this.alertProperties={...this.alertProperties,open:!1}},this.alertProperties={kind:"brand",message:null,title:null,open:!1},this.invalidInput=!1,this.goToEnabled=!1,this.inputFormat=null,this.previewConversion=null,this.settingsFormat=null,this.view=this.viewModel.view,this.autoDestroyDisabled=!1,this.conversions=this.viewModel.conversions,this.currentLocation=this.viewModel.currentLocation,this.expanded=!1,this.formats=this.viewModel.formats,this.goToOverride=this.viewModel.goToOverride,this.headingLevel=4,this.hideCaptureButton=!1,this.hideInputButton=!1,this.hideExpandButton=!1,this.hideSettingsButton=!1,this.icon="coordinate-system",this.label=this.messages?.componentLabel,this.locationSymbol=this.viewModel.locationSymbol,this.mode=this.viewModel.mode,this.orientation="auto",this.state=this.viewModel.state,this.storageDisabled=this.viewModel.storageEnabled,this.storageType=this.viewModel.storageType,this.arcgisConversionChange=_(),this.arcgisPropertyChange=M()("currentLocation","state","expanded","mode"),this.arcgisReady=_()}static{this.properties={alertProperties:16,invalidInput:16,currentView:16,goToEnabled:16,inputFormat:16,previewConversion:16,settingsFormat:16,view:0,autoDestroyDisabled:5,conversions:0,currentLocation:0,expanded:7,formats:0,goToOverride:0,headingLevel:9,hideCaptureButton:7,hideInputButton:7,hideExpandButton:7,hideSettingsButton:7,icon:1,label:1,locationSymbol:0,mode:3,multipleConversionsDisabled:7,orientation:3,position:3,referenceElement:1,state:3,storageDisabled:7,storageType:1}}static{this.styles=A}get currentView(){return this._currentView}set currentView(e){e!=="conversions"?this.viewModel.pause():this.viewModel.resume(),e==="settings"&&this.setPreviewConversion(),this._currentView=e}get multipleConversionsDisabled(){return this._multipleConversionsDisabled}set multipleConversionsDisabled(e){e&&(this.expanded=!1,this.conversions.splice(1,this.conversions.length-1)),this._multipleConversionsDisabled=e}async destroy(){this.clearAlertTimeout(),await this.manager.destroy()}async reverseConvert(e,o){return await this.viewModel.reverseConvert(e,o)}addConversion(e){let o=e.target,t=o.selectedOption.value,i=R(o);if(t==null||i==null)return;let n=new D({format:t});o.value="default",i>=0?(this.conversions.removeAt(i),this.conversions.add(n,i)):this.conversions.add(n),this.arcgisConversionChange.emit()}async copyToClipboard(e){e&&(e=e.replace(/‎/gu,""),await navigator.clipboard.writeText(e),this.showAlertMessage(null,this.messages.copySuccessMessage,"success",U))}findSettingsFormat(){return this.settingsFormat||this.conversions.reduceRight((e,o)=>{let t=o.format;return t&&$(t)?t:e},null)||this.formats.find(e=>$(e))||null}getId(e){return`arcgis-coordinate-conversion-${e}`}async processUserInput(e,o){let{viewModel:t}=this;try{let i=await this._reverseConvert(e,o);if(!i)throw new Error("failed to process user input");this.mode==="capture"?t.resume():this.mode="capture",this.invalidInput=!1,this.currentLocation=i??void 0,t.setLocation(i),this.currentView="conversions",this._coordinateInput.value&&(this._coordinateInput.value.value="")}catch(i){console.error(i),this.showAlertMessage(null,this.messages?.invalidCoordinate,"warning"),this.invalidInput=!0}}async processUserKeyboardInput(e){let{key:o}=e;if(o==="Enter"){let t=this.inputFormat||this.conversions.at(0)?.format,i=this._coordinateInput.value?.value;if(!t||!i)return;await this.processUserInput(i,t)}else this.invalidInput=!1}async processUserMouseInput(){let e=this.inputFormat||this.conversions.at(0)?.format,o=this._coordinateInput.value?.value;!e||!o||await this.processUserInput(o,e)}removeConversion(e){this.conversions.remove(e),this.arcgisConversionChange.emit()}async _reverseConvert(e,o){let t=this.viewModel,i=await o.reverseConvert(e);return this.goToEnabled&&i&&t.goToLocation(i).catch(n=>{console.warn(n),this.showAlertMessage(null,this.messages?.locationOffBasemap,"warning")}),i}setDefaultPattern(e){e.stopPropagation();let o=this.findSettingsFormat();o?.defaultPattern&&(o.currentPattern=o.defaultPattern)}setInputFormat(e){let o=e.target.selectedOption.value;o!=null&&(this.inputFormat=o)}setPreviewConversion(){let e=this.findSettingsFormat(),o=this.viewModel;if(e){let t=this.conversions.find(i=>i.format===e);this.previewConversion=new D({format:e,position:{location:this.currentLocation,coordinate:t?.position?.coordinate}}),this.previewConversion.position?.coordinate||o.previewConversion(this.previewConversion,o.currentLocation??G)}}setSettingsFormat(e){let o=e.target.selectedOption.value;o!=null&&(this.settingsFormat=o,this.setPreviewConversion())}showAlertMessage(e,o,t,i=O){this.alertProperties={...this.alertProperties,title:e,message:o,kind:t,open:!0},window.clearTimeout(this.alertTimer),this.alertTimer=window.setTimeout(()=>{this.alertProperties={...this.alertProperties,open:!1}},i)}toggleGoTo(){this.goToEnabled=!this.goToEnabled}toggleMode(){this.mode=this.mode==="live"?"capture":"live"}updateCurrentPattern(e){e.stopPropagation();let o=e.target,t=this.findSettingsFormat();t&&(t.currentPattern=o.value)}render(){let{currentView:e}=this,o;return this.viewModel.state==="disabled"||e==="no-basemap"?o=this.renderNoBasemapView():e==="coordinate-input"?o=this.renderCoordinateInputView():e==="settings"?o=this.renderSettingsView():o=this.renderConversionsView(),h`<div class=${s(f(r.base))}>${o}${this.renderAlert()}</div>`}renderAlert(){let{messages:e}=this,{open:o,message:t,title:i,kind:n}=this.alertProperties;return h`<calcite-alert class=${s(r.coordinateConversionAlert)} .open=${o} scale=s .kind=${n} .label=${e.alertLabel} @calciteAlertClose=${this.clearAlertTimeout}>${i?h`<div slot=title>${i}</div>`:null}${t?h`<div slot=message>${t}</div>`:null}</calcite-alert>`}renderConversionOptions(e,o,t){let i=this.conversions.at(0),n=i?.format?.name;return e.map((c,p)=>{let u=o??!i?!1:n===c.name||this.conversions.map(d=>d.format?.name).includes(c.name);return h`<calcite-option .disabled=${u} .label=${c.label.toUpperCase()} .selected=${p===t} .value=${c}>${c.label}</calcite-option>`})}renderConversionView(e,o){let{messages:t}=this,{format:i}=e,n=i?.label??"",c=o===0,p=this.getId(`list-item-${o}`),u=t.conversionOutput.replace("{format name}",n),d=c||this.expanded,b=c?this.renderFirstConversionTools(e):this.renderTools(e,p),v=c&&!e.displayCoordinate?t.noLocation:e.displayCoordinate,m=h`<div aria-label=${v??a} class=${s(r.coordDisplay)} data-conversion=${e??a} tabindex=0 title=${v??""??a}>${v}</div>`,w=this.renderConversionOptions(this.formats.filter(V=>V!==i));return d?h`<li aria-label=${u??a} class=${s(r.conversionRow)} id=${p??a} tabindex=0><calcite-select aria-controls=${p??a} class=${s(r.rowSelect)} data-index=${String(o)??a} .label=${t.selectFormat??""} scale=s @calciteSelectChange=${this.addConversion}><calcite-option .label=${n.toUpperCase()} selected>${n.toUpperCase()}</calcite-option>${w}</calcite-select>${m}${b}</li>`:null}renderConversionsView(){let{messages:e}=this,o=this.viewModel.conversions.map(this.renderConversionView.bind(this)),t=this.getId("conversion-list"),i=this.expanded?h`<div class=${s(r.conversionRow)}><calcite-select aria-controls=${t??a} data-index=-1 .label=${e.addConversion} scale=s @calciteSelectChange=${this.addConversion} title=${e.addConversion??a}><calcite-option disabled selected value=default>${e.addConversion}</calcite-option>${this.renderConversionOptions(this.formats)}</calcite-select>${this.renderPrimaryTools()}</div>`:null,n={[r.expandUp]:this.orientation==="expand-up",[r.expandDown]:this.orientation==="expand-down"};return h`<div class=${s(f(r.conversionsView,n))}><ul aria-expanded=${this.expanded??a} class=${s(r.conversionsList)} id=${t??a}>${o}</ul>${i}</div>`}renderCoordinateInputView(){let e=this.inputFormat??this.conversions.at(0)?.format,o=this.formats.findIndex(d=>d.name===e?.name),t=this.getId(r.coordinateInput),i=this.getId(`${r.coordinateInput}__header`),n=this.renderConversionOptions(this.formats,!1,o),{messages:c,headingLevel:p}=this;if(!c)return null;let u=this.renderIconButton({iconType:g.arrowLeft,flipRtl:!0,clickFunction:()=>{this.currentView="conversions"},label:c.back,title:c.back});return h`<div aria-labelledby=${i??a} class=${s(r.inputForm)} role=search><div class=${s(r.sectionHeading)}>${u}${y({class:f(r.sectionTitle,x.heading),id:i,level:p,children:c.inputCoordTitle})}</div><div class=${s(r.inputFormGroup)}><calcite-select aria-controls=${t??a} class=${s(r.inputSelect)} .label=${c.selectFormat} scale=s @calciteSelectChange=${this.setInputFormat}>${n}</calcite-select><calcite-input aria-labelledby=${i??a} class=${s(r.coordinateInput)} data-format=${e??a} id=${t??a} @keydown=${this.processUserKeyboardInput} .placeholder=${c.inputCoordTitle} required scale=s .status=${this.invalidInput?"invalid":"idle"} ${I(this._coordinateInput)}></calcite-input></div><div class=${s(r.inputFormGroup)}><calcite-label layout=inline scale=s><calcite-checkbox .checked=${this.goToEnabled} @calciteCheckboxChange=${this.toggleGoTo}></calcite-checkbox>${c.goTo}</calcite-label><calcite-button appearance=outline kind=neutral @click=${this.processUserMouseInput} type=button width=auto>${c.convert}</calcite-button></div></div>`}renderCopyButton(e){let{messages:o}=this;return this.renderIconButton({iconType:g.copy,clickFunction:()=>this.copyToClipboard(e.displayCoordinate),buttonClasses:[r.copyButton],ariaLabel:o.copy,title:o.copy})}renderFirstConversionTools(e){let{messages:o,multipleConversionsDisabled:t,hideCaptureButton:i,hideExpandButton:n}=this;if(!o)return null;let c=this.mode==="live"?o.captureMode:o.liveMode,p=this.expanded?o.collapse:o.expand,u=e.displayCoordinate&&this.mode==="capture"?this.renderCopyButton(e):null,d=!t&&!n?this.renderIconButton({iconType:this.expanded?g.chevronDown:g.chevronUp,clickFunction:()=>{this.expanded=!this.expanded},ariaControls:this.getId("conversion-list"),label:p,title:p}):null,b=t&&!i?this.renderIconButton({iconType:this.mode==="live"?g.pinTear:g.pinTearF,clickFunction:this.toggleMode,label:c,title:c}):null;return h`<ul class=${s(r.toolDisplay)}><li>${u}</li><li>${d}</li><li>${b}</li></ul>`}renderIconButton(e){let{iconType:o,clickFunction:t,buttonClasses:i,ariaLabel:n,ariaControls:c,label:p,flipRtl:u,title:d}=e;return h`<calcite-button appearance=transparent aria-label=${n??a} aria-controls=${c??a} class=${s(f(i))} .iconFlipRtl=${u?"start":void 0} .iconStart=${o} kind=neutral .label=${p} @click=${t} title=${d??a}></calcite-button>`}renderNoBasemapView(){return h`<div class=${s(f(r.noBasemap,r.base))}>${this.messages.noBasemap}</div>`}renderPrimaryTools(){let{messages:e,hideInputButton:o,hideCaptureButton:t,hideSettingsButton:i}=this;if(!e)return null;let n=this.mode==="live"?e.captureMode:e.liveMode,c=o?null:this.renderIconButton({iconType:"pencil",clickFunction:()=>{this.currentView="coordinate-input"},label:e.inputCoordTitle,title:e.inputCoordTitle}),p=t?null:this.renderIconButton({iconType:this.mode==="live"?g.pinTear:g.pinTearF,clickFunction:this.toggleMode,label:n,title:n}),u=i?null:this.renderIconButton({iconType:"gear",clickFunction:()=>{this.currentView="settings"},label:e.settingsTitle,title:e.settingsTitle});return h`<ul class=${s(r.toolDisplay)}><li>${c}</li><li>${p}</li><li>${u}</li></ul>`}renderSettingsView(){let e=this.getId(r.patternInput),o=this.getId(`${r.patternInput}__header`),t=this.getId(r.previewCoordinate),i=this.formats.filter(w=>$(w)),n=this.findSettingsFormat(),c=n?i.indexOf(n):-1,p=this.renderConversionOptions(i,!0,c),u=n?.currentPattern,{messages:d,headingLevel:b}=this;if(!d)return null;let v=this.renderIconButton({iconType:g.arrowLeft,flipRtl:!0,clickFunction:()=>{this.currentView="conversions"},label:d.back,title:d.back}),m=this.renderIconButton({iconType:g.refresh,clickFunction:this.setDefaultPattern,label:d.defaultPattern,title:d.defaultPattern});return h`<div aria-labelledby=${o??a} class=${s(r.settings)}><div class=${s(r.sectionHeading)}>${v}${y({class:f(r.sectionTitle,x.heading),id:o,level:b,children:d.settingsTitle})}</div><div class=${s(f(r.settingsFormGroup,r.firstSettingsGroup))}><calcite-label alignment=center .for=${e} scale=s>${d.changeCoordinateDisplay}<calcite-select .label=${d.selectFormat} width=full @calciteSelectChange=${this.setSettingsFormat}>${p}</calcite-select><div class=${s(r.settingsFormGroupHorizontal)}><calcite-input aria-controls=${t??a} class=${s(r.patternInput)} id=${e??a} type=text .value=${u} @calciteInputInput=${this.updateCurrentPattern}></calcite-input>${m}</div></calcite-label></div><div class=${s(r.settingsFormGroup)}><calcite-label alignment=center scale=s>${d.preview}<div class=${s(r.previewCoordinate)} id=${t??a} tabindex=0>${this.previewConversion?.displayCoordinate}</div></calcite-label></div></div>`}renderTools(e,o){let t=e.displayCoordinate&&this.mode==="capture"?this.renderCopyButton(e):null,{messages:i}=this;if(!i)return null;let n=this.renderIconButton({iconType:"x",clickFunction:()=>this.removeConversion(e),ariaControls:o,label:i.removeConversion,title:i.removeConversion});return h`<ul class=${s(r.toolDisplay)}><li>${t}</li><li>${n}</li></ul>`}};function R(C){let e=C.getAttribute("data-index");return e?window.parseInt(e):null}B("arcgis-coordinate-conversion",k);return k},"applications/Components/formatUtils","geometry/Point","widgets/CoordinateConversion/support/Conversion","widgets/CoordinateConversion/CoordinateConversionViewModel",b,c,d)
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.45 */
4
- import{J as f,K as s,M as k,P as x,a as u,b as o,x as h}from"./H63IWYAY.js";import"./Q4WYWIF7.js";export default $arcgis.t(([{watch:b,whenOnce:L}])=>{var v=(n,e,t=!1)=>{if(!n||!e)return!1;let i=new URL(n),r=new URL(e);return!t&&i.protocol!==r.protocol||i.host==null||r.host==null?!1:i.host.toLowerCase()===r.host.toLowerCase()&&i.port===r.port};var w=u`@layer{.arcgis-print__exported-file{display:flex;align-items:center;justify-content:space-between}.arcgis-print__exported-file-link-title,.arcgis-print__exported-file-link-description{word-wrap:break-word;word-break:break-all;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical}}`,d="arcgis-print",p={exportedFile:`${d}__exported-file`,exportedFileLinkTitle:`${d}__exported-file-link-title`,exportedFileLinkDescription:`${d}__exported-file-link-description`};function _(n){let{state:e,extension:t}=n;switch(e){case"pending":return"spinner";case"error":return"exclamation-mark-circle";default:return t?.toLowerCase()?.includes("pdf")?"file-pdf":"file"}}function $(n,e){return!n||n==="all"||!!(e&&n.includes(e))}var m=class extends f{constructor(){super(...arguments),this._handleLinkClick=e=>{if(!e||e.state!=="ready"||!e.url)return;let t=e.url,i=document.createElement("a");i.target="_blank",i.href=t,i.rel="noreferrer",i.download=e.formattedName??"";{i.click();return}}}static{this.properties={saveAsButtonCallback:0,allowedFormatsForSaving:1,exportedLink:0,viewModel:0,messages:0}}static{this.styles=w}static{this.shadowRootOptions=h}loaded(){this.manager.onLifecycle(()=>[b(()=>this.exportedLink.state,()=>this.requestUpdate())])}render(){let{exportedLink:e}=this,t=e.formattedName??"";return o`<calcite-list-item .label=${t}>${this._renderExportedLinkItemContent(e)}${this._renderExportedLinkItemIcon(e)}${this._renderExportedLinkItemAction(e)}</calcite-list-item>${this._renderExportedLinkItemPopover(e)}`}_renderExportedLinkItemPopover(e){let t=this.messages,i=e.formattedName??"",{state:r}=e,c=this.saveAsButtonCallback&&r!=="error"&&$(this.allowedFormatsForSaving,e.extension);return r!=="pending"&&c?o`<calcite-popover auto-close label=Popover offset-distance=1 overlay-positioning=fixed pointer-disabled .referenceElement=${`${i}-popover-button`} scale=s><calcite-list label>${e.portalItem?o`<calcite-list-item .label=${t.openItem} @calciteListItemSelect=${()=>{let a=e.portalItem;if(!a?.itemPageUrl)return;let l=document.createElement("a");l.target="_blank",l.href=a.itemPageUrl,l.rel="noreferrer",l.click()}}><calcite-icon icon=launch2 scale=s slot=content-start></calcite-icon></calcite-list-item>`:o`<calcite-list-item .label=${t.saveAs} @calciteListItemSelect=${async()=>{this.saveAsButtonCallback&&(L(()=>e.portalItem).then(a=>{a.itemPageUrl&&this.requestUpdate()}),await this.saveAsButtonCallback(e))}}><calcite-icon icon=save scale=s slot=content-start></calcite-icon></calcite-list-item>`}<calcite-list-item label=Delete @calciteListItemSelect=${()=>this.viewModel.exportedLinks.remove(e)}><calcite-icon icon=trash scale=s slot=content-start></calcite-icon></calcite-list-item></calcite-list></calcite-popover>`:null}_renderExportedLinkItemContent(e){let t=this.messages,{url:i,state:r,error:c}=e,a=e.formattedName??"",l=v(i||null,document.location.href),g=r==="error"?c?.name==="print-task:cim-symbol-unsupported"?t.exportWebMapCIMError:t.exportWebMapError:null;return o`<div class=${s(p.exportedFile)} slot=content @click=${()=>this._handleLinkClick(e)}><div><div class=${s(p.exportedFileLinkTitle)}>${a}</div><div class=${s(p.exportedFileLinkDescription)}>${r==="pending"?t.generatingExport:g||(l?t.ready:t.linkReady)}</div></div>${r==="ready"?o`<calcite-icon .ariaLabel=${`${a}. ${t.linkReady}`} .icon=${l?"download-to":"launch"} scale=s slot=content-end></calcite-icon>`:null}</div>`}_renderExportedLinkItemIcon(e){return e.state==="pending"?o`<calcite-loader inline .label=${this.messages.generatingExport} scale=m slot=content-start></calcite-loader>`:o`<calcite-icon .icon=${_(e)} scale=s slot=content-start></calcite-icon>`}_renderExportedLinkItemAction(e){let{state:t}=e,i=e.formattedName??"",r=this.saveAsButtonCallback&&t!=="error"&&$(this.allowedFormatsForSaving,e.extension);return t!=="pending"?o`<calcite-action .icon=${r?"ellipsis":"x"} id=${(r?`${i}-popover-button`:void 0)??k} @click=${r?void 0:()=>{this.viewModel.exportedLinks.remove(e)}} slot=actions-end .text=${r?"options":"remove"}></calcite-action>`:null}};x("arcgis-print-exported-link",m);return m},"core/reactiveUtils")
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.45 */
4
- import a from"./TOSQ3VTR.js";import{a as d}from"./EA3U2RIA.js";import{a as s}from"./5UBYY6LG.js";import{e as p}from"./73PFLCSO.js";import"./T62AAI3G.js";import{J as n,K as l,P as m,a as o,b as t}from"./H63IWYAY.js";import"./Q4WYWIF7.js";export default $arcgis.t(([{watch:$},{b:h,c:_,d:g}])=>{var S=o`.arcgis-print__template-select-container{border:1px solid var(--calcite-color-border-1);cursor:pointer}.arcgis-print__template-select-container .arcgis-print__template-select-error,.arcgis-print__template-select-container .arcgis-print__template-select-arrow{display:flex;align-self:center;margin-right:var(--calcite-spacing-md)}`,i="arcgis-print",c={templateSelectContainer:`${i}__template-select-container`,templateSelectError:`${i}__template-select-error`,templateSelectArrow:`${i}__template-select-arrow`},r=class extends n{constructor(){super(...arguments),this._handles=d("disconnect"),this._direction=p(),this._templateState="not-loaded"}static{this.properties={_selectedTemplate:16,_templateState:16,viewModel:0,messages:0,showTemplateSelector:0}}static{this.styles=S}loaded(){this.manager.onLifecycle(()=>[$(()=>this.viewModel.templateOptions.id,e=>{this._handles.removeHandles("template-handle"),this._selectedTemplate=e?this.viewModel.getLayoutTemplateById(e)??void 0:void 0,this._handles.addHandles($(()=>this._selectedTemplate?.state,a=>this._templateState=a??"not-loaded",{initial:!0}),"template-handle")},{initial:!0})])}render(){let e=this._selectedTemplate?_(this._selectedTemplate,this.messages):this.messages.selectTemplate;return t`<calcite-block class=${l(c.templateSelectContainer)} .description=${h(this._selectedTemplate)} .heading=${e} .label=${e} .loading=${this._templateState==="loading"} @click=${this.showTemplateSelector} @keydown=${a=>{(a.key==="Enter"||a.key===" ")&&this.showTemplateSelector()}} tabindex=0>${s("template-select-icon",t`<calcite-icon .icon=${(this._selectedTemplate?.layout?g(this._selectedTemplate.layout):null)||"custom-print"} scale=l slot=content-start></calcite-icon>`)}${this._templateState==="error"?s("template-select-error",t`<calcite-icon class=${l(c.templateSelectError)} icon=exclamation-mark-circle scale=s slot=actions-end></calcite-icon>`):null}${s("template-select-arrow",t`<calcite-icon class=${l(c.templateSelectArrow)} .icon=${this._direction==="rtl"?"chevron-left":"chevron-right"} scale=s slot=actions-end></calcite-icon>`)}</calcite-block>`}};m("arcgis-print-template-select",r);return r},"core/reactiveUtils",a)
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.45 */
4
- import{d as l}from"./JR36GC5U.js";import{J as o,K as e,P as c,a as n,b as i}from"./H63IWYAY.js";import"./Q4WYWIF7.js";export default $arcgis.t(([u])=>{var p=n`:host,.hint,.error,.section,.actions,.item{display:flex;flex-direction:column;gap:var(--calcite-spacing-md);animation:esri-fade-in .25s ease-in-out}.error{color:var(--calcite-color-status-danger)}.error,.hint{overflow:hidden;p{margin:0;padding:0}}.item-disabled{color:var(--calcite-color-text-1);opacity:var(--calcite-opacity-light)}.item-value{font-weight:var(--calcite-font-weight-semibold)}.actions{justify-content:center}`,s={error:"error",hint:"hint",actions:"actions",section:"section",item:"item",itemDisabled:"item-disabled",itemTitle:"item-title",itemValue:"item-value"},r=class extends o{constructor(){super(...arguments),this._formatter=new u,this.items=[],this.state="disabled",this.unsupportedLabel=""}static{this.properties={hintLabel:1,items:0,state:1,unsupportedLabel:1}}static{this.styles=p}async load(){await this._formatter.when()}render(){switch(this.state){case"unsupported":return i`<section class=${e(s.error)}><p>${this.unsupportedLabel}</p></section>`;case"measuring":return i`<section class=${e(s.hint)}><p>${this.hintLabel}</p></section>`;case"ready":return i`<div class=${e(s.actions)}><slot name=actions></slot></div>`;default:return i`<slot name=settings></slot>${d({formatter:this._formatter,items:this.items})}<div class=${e(s.actions)}><slot name=actions></slot></div>`}}};function d(t){return i`<section class=${e(s.section)}>${t.items.map(a=>h({formatter:t.formatter,measurement:a.measurement,title:a.title}))}</section>`}function h(t){let a=t.measurement.state==="available"?l(t.formatter,t.measurement.value):null,m=t.measurement.state==="unavailable";return i`<div class=${e({[s.item]:!0,[s.itemDisabled]:m})}><span class=${e(s.itemTitle)}>${t.title}</span><span aria-live=polite class=${e(s.itemValue)}>${a??"-"}</span></div>`}c("arcgis-measurement-content",r);return r},"applications/Components/QuantityFormatter")
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.45 */
4
- import{b as c}from"./T62AAI3G.js";import{J as l,K as t,P as r,a as o,b as e}from"./H63IWYAY.js";import"./Q4WYWIF7.js";var m=o`.arcgis-print__export-section--centered{text-align:center}.arcgis-print__panel-container{display:flex;flex:1 0;flex-direction:column;gap:var(--calcite-spacing-sm)}.arcgis-print__exported-files-empty{display:flex;flex-direction:column;align-items:center;padding:var(--calcite-spacing-lg) var(--calcite-spacing-sm);font-size:small}.arcgis-print__export-title{font-weight:700;font-size:var(--calcite-font-size)}`,i="arcgis-print",s={exportSection:`${i}__export-section`,panelContainer:`${i}__panel-container`,exportedFilesEmpty:`${i}__exported-files-empty`,exportedFilesTitle:`${i}__export-title`,exportSectionCentered:`${i}__export-section--centered`},n=class extends l{static{this.properties={saveAsButtonCallback:0,viewModel:0,messages:0,allowedFormatsForSaving:1}}static{this.styles=m}loaded(){this.manager.onLifecycle(()=>[this.viewModel.exportedLinks.on("change",()=>this.requestUpdate())])}render(){let a=this.viewModel.exportedLinks,p={[s.exportSectionCentered]:!a.length};return e`<section class=${t(c(s.exportSection,p))} role=tabpanel><div class=${t(s.panelContainer)}>${a.length===0?e`<div class=${t(s.exportedFilesEmpty)}><calcite-icon icon=file scale=l></calcite-icon><div><p class=${t(s.exportedFilesTitle)}>${this.messages.noExportedFiles}</p><div>${this.messages.exportHint}</div></div></div>`:e`<calcite-list .filterEnabled=${a.length>10} .label=${this.messages.exportedLinksList} selection-mode=none>${a.map(d=>e`<arcgis-print-exported-link .exportedLink=${d} .viewModel=${this.viewModel} .messages=${this.messages} .allowedFormatsForSaving=${this.allowedFormatsForSaving} .saveAsButtonCallback=${this.saveAsButtonCallback}></arcgis-print-exported-link>`)}</calcite-list>`}</div></section>`}};r("arcgis-print-exports-panel",n);export{n as PrintExportsPanel};
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.45 */
4
- import{a as p}from"./EA3U2RIA.js";import"./73PFLCSO.js";import{b as c}from"./T62AAI3G.js";import{J as o,K as s,P as r,a as n,b as e}from"./H63IWYAY.js";import"./Q4WYWIF7.js";export default $arcgis.t(([{watch:d}])=>{var v=n`.arcgis-print__advanced-options-section{border:1px solid var(--calcite-color-border-1);margin-bottom:var(--calcite-spacing-sm)}.arcgis-print__layout-section{padding:var(--calcite-spacing-sm) var(--calcite-spacing-sm)}.arcgis-print__panel-container{display:flex;flex:1 0;flex-direction:column;gap:var(--calcite-spacing-sm)}`,a="arcgis-print",i={advancedOptionsSection:`${a}__advanced-options-section`,layoutSection:`${a}__layout-section`,panelContainer:`${a}__panel-container`},l=class extends o{constructor(){super(...arguments),this._handles=p("disconnect")}static{this.properties={_selectedTemplate:16,_showSelectedTemplateTitleText:16,viewModel:0,messages:0,showTemplateSelector:0,selectExportsTab:0}}static{this.styles=v}loaded(){this.manager.onLifecycle(()=>[d(()=>this.viewModel.templateOptions.id,t=>{this._handles.removeHandles("template-handle"),this._selectedTemplate=t?this.viewModel.getLayoutTemplateById(t)??void 0:void 0,this._handles.addHandles(d(()=>this._selectedTemplate?.layoutTemplateInfo?.layoutOptions?.hasTitleText,()=>{this._showSelectedTemplateTitleText=this._selectedTemplate?.layoutTemplateInfo?.layoutOptions?.hasTitleText??!0},{initial:!0}),"template-handle")},{initial:!0})])}render(){return e`<section class=${s(i.layoutSection)} role=tabpanel><div class=${s(i.panelContainer)}>${this._renderTitleInput()}${this._renderTemplateSelect()}${this._renderFileFormatSection()}${this._renderAdvancedSection()}${this._renderExportButton()}</div></section>`}_renderTitleInput(){if(!this._showSelectedTemplateTitleText)return null;let{title:t,titlePlaceHolder:m}=this.messages;return e`<calcite-label>${t}<calcite-input .placeholder=${m} .value=${this.viewModel.templateOptions.title??""} @calciteInputInput=${h=>{this.viewModel.templateOptions.title=h.currentTarget.value}}></calcite-input></calcite-label>`}_renderTemplateSelect(){return e`<div><calcite-label>${this.messages.template}<arcgis-print-template-select .messages=${this.messages} .viewModel=${this.viewModel} .showTemplateSelector=${this.showTemplateSelector}></arcgis-print-template-select></calcite-label><arcgis-print-preview-input .viewModel=${this.viewModel} .messages=${this.messages}></arcgis-print-preview-input></div>`}_renderFileFormatSection(){return e`<arcgis-print-format-select .viewModel=${this.viewModel} .messages=${this.messages}></arcgis-print-format-select>`}_renderAdvancedSection(){return e`<calcite-block .ariaLabel=${this.messages.advancedOptions} class=${s(c(i.panelContainer,i.advancedOptionsSection))} collapsible .disabled=${!this._selectedTemplate} .heading=${this.messages.advancedOptions}><arcgis-print-layout-advanced-options .messages=${this.messages} .viewModel=${this.viewModel}></arcgis-print-layout-advanced-options></calcite-block>`}_renderExportButton(){return e`<arcgis-print-export-button .fileName=${this.viewModel.templateOptions.title??void 0} .messages=${this.messages} .viewModel=${this.viewModel} .selectExportsTab=${this.selectExportsTab}></arcgis-print-export-button>`}};r("arcgis-print-layout-panel",l);return l},"core/reactiveUtils")