@arcgis/map-components 5.1.0-next.3 → 5.1.0-next.30

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 (602) hide show
  1. package/README.md +2 -2
  2. package/dist/cdn/227WPY6O.js +2 -0
  3. package/dist/cdn/22YBLZZ5.js +2 -0
  4. package/dist/cdn/{ATRTNMMR.js → 23HX6BD2.js} +1 -1
  5. package/dist/cdn/{HK6EWWUB.js → 2AHOSQID.js} +1 -1
  6. package/dist/cdn/2AYGSNEO.js +2 -0
  7. package/dist/cdn/{5UDFTH5U.js → 2CZVQJFN.js} +1 -1
  8. package/dist/cdn/2D47DQA5.js +2 -0
  9. package/dist/cdn/{XMZSFKKO.js → 2E5U7E4Y.js} +1 -1
  10. package/dist/cdn/{HXPCADLA.js → 2HRXVQNT.js} +1 -1
  11. package/dist/cdn/{GKW3DDEQ.js → 2NW3IA4C.js} +1 -1
  12. package/dist/cdn/2Q4WMDEY.js +2 -0
  13. package/dist/cdn/{B6T4CWYF.js → 34K7KDP3.js} +1 -1
  14. package/dist/cdn/{2IOCPFSI.js → 34Z77QHJ.js} +1 -1
  15. package/dist/cdn/37VDMTVJ.js +2 -0
  16. package/dist/cdn/{GLV3FW3Z.js → 3NTRW2I5.js} +1 -1
  17. package/dist/cdn/3ON5H2G5.js +2 -0
  18. package/dist/cdn/{AJHRJ5EA.js → 3W3MBD25.js} +1 -1
  19. package/dist/cdn/42IKCJ2T.js +2 -0
  20. package/dist/cdn/44APAUMM.js +2 -0
  21. package/dist/cdn/4J3CK2QK.js +2 -0
  22. package/dist/cdn/{3FSARSVN.js → 4JCY4NHX.js} +1 -1
  23. package/dist/cdn/{NGKNECON.js → 4MNQPYT6.js} +1 -1
  24. package/dist/cdn/{JBJ5NQTI.js → 4WKSSPS5.js} +1 -1
  25. package/dist/cdn/{ZYMCKBTT.js → 4YQZ3XVG.js} +1 -1
  26. package/dist/cdn/{CQ4QHVEL.js → 54WDNPKC.js} +1 -1
  27. package/dist/cdn/{ENDLVIST.js → 5KRCPR2U.js} +1 -1
  28. package/dist/cdn/5ZHD4P65.js +2 -0
  29. package/dist/cdn/{EYW7YQF6.js → 63N5ERFL.js} +1 -1
  30. package/dist/cdn/{AP2IFWYH.js → 6M6VT4H6.js} +1 -1
  31. package/dist/cdn/{BEXRPBHT.js → 6RKD6GFP.js} +1 -1
  32. package/dist/cdn/{C4DJABUI.js → 6UNF7T5E.js} +1 -1
  33. package/dist/cdn/{IFSGM32L.js → 7FS3KABY.js} +1 -1
  34. package/dist/cdn/7LEGZD2O.js +2 -0
  35. package/dist/cdn/{EENOVGOS.js → 7LYFC7SC.js} +1 -1
  36. package/dist/cdn/{THXN5VZY.js → 7RUBJPVS.js} +1 -1
  37. package/dist/cdn/{H5QDPW5Y.js → 7SZFENQP.js} +1 -1
  38. package/dist/cdn/{34V5UMTY.js → 7VRU553O.js} +1 -1
  39. package/dist/cdn/7WKBNAQD.js +2 -0
  40. package/dist/cdn/7WLTT4K3.js +2 -0
  41. package/dist/cdn/{KYOYYCFY.js → 7XJ2H56Y.js} +1 -1
  42. package/dist/cdn/{WAASVZRG.js → AA6JMN5J.js} +1 -1
  43. package/dist/cdn/{HO4JUZ6N.js → AH4HKYPE.js} +1 -1
  44. package/dist/cdn/AR47FOKN.js +2 -0
  45. package/dist/cdn/ATBESYRQ.js +2 -0
  46. package/dist/cdn/AZNCJT62.js +2 -0
  47. package/dist/cdn/{TVTQW6GC.js → B2G5OTNZ.js} +1 -1
  48. package/dist/cdn/{FARFUCNU.js → B4GFOGFO.js} +1 -1
  49. package/dist/cdn/BHB3PSCU.js +2 -0
  50. package/dist/cdn/BJEDYTXQ.js +2 -0
  51. package/dist/cdn/BTIV4UDX.js +2 -0
  52. package/dist/cdn/{6ZNO34O5.js → CCKYOWZO.js} +1 -1
  53. package/dist/cdn/CDVHDTSM.js +2 -0
  54. package/dist/cdn/{HY73HOSP.js → CDVPXUWH.js} +1 -1
  55. package/dist/cdn/D27YXH3W.js +2 -0
  56. package/dist/cdn/{3PQT2S7Z.js → D3WZ5UUP.js} +1 -1
  57. package/dist/cdn/DCI5XVB6.js +2 -0
  58. package/dist/cdn/DJMRUJ7O.js +2 -0
  59. package/dist/cdn/DVMAHZFP.js +2 -0
  60. package/dist/cdn/DW3K3W57.js +2 -0
  61. package/dist/cdn/E3ATQTQG.js +2 -0
  62. package/dist/cdn/{4363SIKC.js → EAQLT2UN.js} +1 -1
  63. package/dist/cdn/ED2GZNOR.js +2 -0
  64. package/dist/cdn/{OSPWEZQJ.js → EPII4PE5.js} +1 -1
  65. package/dist/cdn/EQPYSPT5.js +2 -0
  66. package/dist/cdn/{E2JLZZFR.js → ET6WL43W.js} +1 -1
  67. package/dist/cdn/EUFSNMR4.js +2 -0
  68. package/dist/cdn/{UKKUFJLL.js → EY7SYUYY.js} +1 -1
  69. package/dist/cdn/EYX4XXBU.js +2 -0
  70. package/dist/cdn/F42JMDII.js +2 -0
  71. package/dist/cdn/G3DJLLNR.js +2 -0
  72. package/dist/cdn/G44JDQZ4.js +2 -0
  73. package/dist/cdn/{B5XR4LXQ.js → GIICS6MH.js} +1 -1
  74. package/dist/cdn/{6RDB26PI.js → GKZICLQB.js} +1 -1
  75. package/dist/cdn/{GHFKQEFW.js → GST63XCD.js} +1 -1
  76. package/dist/cdn/{X26CF5AU.js → H337G76Z.js} +1 -1
  77. package/dist/cdn/HA465EKI.js +2 -0
  78. package/dist/cdn/{J7ZNOOZ4.js → HEAH7MYD.js} +1 -1
  79. package/dist/cdn/{QLPUP6A3.js → HHJN3Q6G.js} +1 -1
  80. package/dist/cdn/{PMQLTMQ4.js → IEC2UOVC.js} +1 -1
  81. package/dist/cdn/{5CYQI4SX.js → IEOFMCCO.js} +1 -1
  82. package/dist/cdn/INULU27Q.js +2 -0
  83. package/dist/cdn/IP6MMWXP.js +2 -0
  84. package/dist/cdn/IQPGSWSL.js +2 -0
  85. package/dist/cdn/ITTHJAUG.js +2 -0
  86. package/dist/cdn/{HOYFIMNJ.js → J5H3B35H.js} +1 -1
  87. package/dist/cdn/J756LIIM.js +2 -0
  88. package/dist/cdn/JF4W5UZ7.js +2 -0
  89. package/dist/cdn/{XOP2SCW3.js → JIZ6BEMO.js} +1 -1
  90. package/dist/cdn/JODAZMW3.js +2 -0
  91. package/dist/cdn/JWTRJAFZ.js +2 -0
  92. package/dist/cdn/{T2ZF4XIZ.js → JYDGMTWJ.js} +1 -1
  93. package/dist/cdn/KEKWNLTW.js +2 -0
  94. package/dist/cdn/{3YA25S2J.js → KUFUPG4B.js} +1 -1
  95. package/dist/cdn/KUFW2OOW.js +2 -0
  96. package/dist/cdn/{27HOTQNB.js → KUUX4Y7X.js} +1 -1
  97. package/dist/cdn/KUYMBEIV.js +2 -0
  98. package/dist/cdn/KV2UORZN.js +2 -0
  99. package/dist/cdn/KVIUDTBB.js +2 -0
  100. package/dist/cdn/KX25AEKF.js +2 -0
  101. package/dist/cdn/KX5PBTVM.js +2 -0
  102. package/dist/cdn/{UKNKW6MH.js → KYJD5CQL.js} +1 -1
  103. package/dist/cdn/{556MC5SF.js → L6D5F5SD.js} +1 -1
  104. package/dist/cdn/LB32PLWG.js +2 -0
  105. package/dist/cdn/LGEWMTBM.js +2 -0
  106. package/dist/cdn/{7ZAVSDBZ.js → LGO4NCZM.js} +1 -1
  107. package/dist/cdn/{3OE7JG5I.js → LO6QWIYR.js} +1 -1
  108. package/dist/cdn/{EQCNO3G4.js → LY5GZCVF.js} +1 -1
  109. package/dist/cdn/M67RIQAG.js +2 -0
  110. package/dist/cdn/{TPOLS4YM.js → M6ZVATVW.js} +1 -1
  111. package/dist/cdn/{JLK664TB.js → MBIE3GJO.js} +1 -1
  112. package/dist/cdn/MD2KA2VE.js +2 -0
  113. package/dist/cdn/{NW44UOKT.js → MFQWNYVF.js} +1 -1
  114. package/dist/cdn/MHVCLFTY.js +2 -0
  115. package/dist/cdn/MJQIWRRC.js +2 -0
  116. package/dist/cdn/{BQMLNDT6.js → MR5JAWKH.js} +1 -1
  117. package/dist/cdn/MX7LKRXI.js +2 -0
  118. package/dist/cdn/{C7YN3AZA.js → MYATZCJP.js} +1 -1
  119. package/dist/cdn/NBA6VGFB.js +2 -0
  120. package/dist/cdn/NQ53C2SG.js +2 -0
  121. package/dist/cdn/NWQEVQPN.js +2 -0
  122. package/dist/cdn/O5TDDX7K.js +2 -0
  123. package/dist/cdn/ODGZ4RGD.js +2 -0
  124. package/dist/cdn/OHUCKLK5.js +2 -0
  125. package/dist/cdn/ONRBFGY5.js +2 -0
  126. package/dist/cdn/{UM2FDZJJ.js → OPATO46Y.js} +1 -1
  127. package/dist/cdn/{IZOPV2VQ.js → OZICG5FF.js} +1 -1
  128. package/dist/cdn/P4DS6L6N.js +2 -0
  129. package/dist/cdn/P5MTPM2I.js +2 -0
  130. package/dist/cdn/{K27JJT2P.js → P6I2HVEZ.js} +1 -1
  131. package/dist/cdn/PL6H7VTE.js +2 -0
  132. package/dist/cdn/{MQ6HO6LA.js → PPOG4NAA.js} +1 -1
  133. package/dist/cdn/{37TNG76C.js → PUJPVTUS.js} +1 -1
  134. package/dist/cdn/PY4FXGEA.js +2 -0
  135. package/dist/cdn/PZC5TBXA.js +2 -0
  136. package/dist/cdn/QAXSOHDW.js +2 -0
  137. package/dist/cdn/QB7F6BBW.js +2 -0
  138. package/dist/cdn/{ZATCJZP2.js → QCCYKLEL.js} +1 -1
  139. package/dist/cdn/QDHEAX7N.js +2 -0
  140. package/dist/cdn/{D4BT63BV.js → QRIK2V22.js} +1 -1
  141. package/dist/cdn/{KAXJKSFB.js → QUBU7FFY.js} +1 -1
  142. package/dist/cdn/R5KGKAEB.js +4 -0
  143. package/dist/cdn/R7BJHEHH.js +2 -0
  144. package/dist/cdn/{CNMF4MVD.js → R7YMIGPE.js} +1 -1
  145. package/dist/cdn/RB4ZCMX4.js +2 -0
  146. package/dist/cdn/{JFDN4YD7.js → RG3A222F.js} +1 -1
  147. package/dist/cdn/{TCG6VGIB.js → RG4S7JVP.js} +1 -1
  148. package/dist/cdn/{FYYKRDW3.js → RVGCVXBV.js} +1 -1
  149. package/dist/cdn/S4I3X6AX.js +2 -0
  150. package/dist/cdn/{CIUAWIL5.js → S4NUCPRQ.js} +2 -2
  151. package/dist/cdn/{W2A4ONZA.js → SEPRRGUF.js} +1 -1
  152. package/dist/cdn/SJUWADQP.js +2 -0
  153. package/dist/cdn/SKEB63NG.js +2 -0
  154. package/dist/cdn/SMHB2XNO.js +2 -0
  155. package/dist/cdn/{TSPKG2WN.js → SUZEU5HH.js} +2 -2
  156. package/dist/cdn/SY5BLQ77.js +2 -0
  157. package/dist/cdn/T4WQQ7MP.js +2 -0
  158. package/dist/cdn/T5F57ZKY.js +2 -0
  159. package/dist/cdn/TLUXYPPY.js +2 -0
  160. package/dist/cdn/{RN44YUJM.js → TMXAN3O2.js} +1 -1
  161. package/dist/cdn/TTZN7HIT.js +2 -0
  162. package/dist/cdn/{7IBXOWTT.js → TZHRLKZR.js} +1 -1
  163. package/dist/cdn/TZXIPFOD.js +2 -0
  164. package/dist/cdn/U3CQZ6CI.js +2 -0
  165. package/dist/cdn/U557VRFM.js +2 -0
  166. package/dist/cdn/U5PXE2DX.js +2 -0
  167. package/dist/cdn/{YC6JWXOW.js → U7GSOBVS.js} +1 -1
  168. package/dist/cdn/{FC6W37TT.js → UCWDM6D2.js} +1 -1
  169. package/dist/cdn/UEF6TPIT.js +2 -0
  170. package/dist/cdn/UKG6DYFF.js +2 -0
  171. package/dist/cdn/{RP5SO6BA.js → UMYVF65X.js} +1 -1
  172. package/dist/cdn/{BUE7MOVD.js → US4GUOT3.js} +1 -1
  173. package/dist/cdn/UXYBJXLL.js +2 -0
  174. package/dist/cdn/{OKXZJQ2B.js → UZFDHLQM.js} +1 -1
  175. package/dist/cdn/V47NU4HK.js +2 -0
  176. package/dist/cdn/{GYTQDFSL.js → V5WAYR44.js} +1 -1
  177. package/dist/cdn/VE5FQNBP.js +2 -0
  178. package/dist/cdn/VGP43HGK.js +2 -0
  179. package/dist/cdn/VGR7AU6K.js +2 -0
  180. package/dist/cdn/VNCC2KP5.js +2 -0
  181. package/dist/cdn/{TUW6NLYY.js → VQ4QWOQY.js} +1 -1
  182. package/dist/cdn/VWHIK5GL.js +2 -0
  183. package/dist/cdn/{NWK2WHZF.js → W5TN3LOU.js} +1 -1
  184. package/dist/cdn/WJ4JHHNJ.js +2 -0
  185. package/dist/cdn/{H5UJFKXO.js → X7IBOHSI.js} +1 -1
  186. package/dist/cdn/XDDOM7RA.js +2 -0
  187. package/dist/cdn/{32K266S4.js → XIUUCICM.js} +1 -1
  188. package/dist/cdn/XP7ST6TO.js +2 -0
  189. package/dist/cdn/XUESBDWT.js +2 -0
  190. package/dist/cdn/XV2NVNDJ.js +2 -0
  191. package/dist/cdn/{ILPNFQWH.js → XW72RT5D.js} +1 -1
  192. package/dist/cdn/Y6CUKQ7R.js +2 -0
  193. package/dist/cdn/{ZHINQNZ2.js → Y6IN6NEC.js} +1 -1
  194. package/dist/cdn/{AFU3S7KW.js → YC5JACID.js} +1 -1
  195. package/dist/cdn/YOOYHZ7L.js +2 -0
  196. package/dist/cdn/YQMPW2VC.js +2 -0
  197. package/dist/cdn/YRUX64GE.js +2 -0
  198. package/dist/cdn/{WJ5HD2YN.js → YSPFHM7A.js} +1 -1
  199. package/dist/cdn/{JTFZMNCO.js → YTOLDZ6E.js} +1 -1
  200. package/dist/cdn/ZBANIHB3.js +2 -0
  201. package/dist/cdn/ZOAOTITT.js +2 -0
  202. package/dist/cdn/{62WRVJ3U.js → ZW733SWS.js} +1 -1
  203. package/dist/cdn/ZXEQN6RW.js +2 -0
  204. package/dist/cdn/ZZAD2X6F.js +2 -0
  205. package/dist/cdn/assets/elevation-profile/t9n/messages.en.json +1 -1
  206. package/dist/cdn/assets/fonts/CalciteWebCoreIcons.svg +197 -0
  207. package/dist/cdn/assets/fonts/CalciteWebCoreIcons.ttf +0 -0
  208. package/dist/cdn/assets/fonts/CalciteWebCoreIcons.woff +0 -0
  209. package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.en.json +1 -1
  210. package/dist/cdn/index.js +1 -1
  211. package/dist/cdn/main.css +1 -1
  212. package/dist/chunks/AnalysisViewModel.js +106 -99
  213. package/dist/chunks/action-utils.js +2 -2
  214. package/dist/chunks/component-utils.js +85 -72
  215. package/dist/chunks/esri-main.js +1 -1
  216. package/dist/chunks/feature-utils.js +73 -73
  217. package/dist/chunks/heading.js +2 -2
  218. package/dist/chunks/layer-utils.js +33 -16
  219. package/dist/chunks/measurementUtils.js +45 -22
  220. package/dist/chunks/slots.js +27 -27
  221. package/dist/chunks/time-utils.js +24 -22
  222. package/dist/chunks/useArcgisViewReadyError.js +7 -7
  223. package/dist/chunks/useViewModel.js +5 -5
  224. package/dist/components/arcgis-area-measurement-2d/customElement.d.ts +19 -11
  225. package/dist/components/arcgis-area-measurement-2d/customElement.js +100 -91
  226. package/dist/components/arcgis-area-measurement-2d/types.d.ts +1 -0
  227. package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +27 -25
  228. package/dist/components/arcgis-area-measurement-3d/customElement.js +73 -94
  229. package/dist/components/arcgis-area-measurement-3d/types.d.ts +1 -0
  230. package/dist/components/arcgis-attachments/customElement.d.ts +5 -6
  231. package/dist/components/arcgis-basemap-gallery/customElement.d.ts +4 -5
  232. package/dist/components/arcgis-basemap-gallery-item/customElement.js +16 -16
  233. package/dist/components/arcgis-basemap-layer-list/customElement.d.ts +127 -100
  234. package/dist/components/arcgis-basemap-toggle/customElement.d.ts +6 -6
  235. package/dist/components/arcgis-basemap-toggle/customElement.js +1 -1
  236. package/dist/components/arcgis-bookmarks/customElement.d.ts +12 -17
  237. package/dist/components/arcgis-bookmarks/types.d.ts +14 -7
  238. package/dist/components/arcgis-building-explorer/customElement.d.ts +16 -75
  239. package/dist/components/arcgis-building-explorer/customElement.js +3 -3
  240. package/dist/components/arcgis-catalog-layer-list/customElement.d.ts +121 -74
  241. package/dist/components/arcgis-clipboard/customElement.d.ts +3 -3
  242. package/dist/components/arcgis-compass/customElement.d.ts +2 -3
  243. package/dist/components/arcgis-compass/customElement.js +1 -1
  244. package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +14 -16
  245. package/dist/components/arcgis-coordinate-conversion/customElement.js +1 -1
  246. package/dist/components/arcgis-daylight/customElement.d.ts +31 -32
  247. package/dist/components/arcgis-daylight/customElement.js +202 -200
  248. package/dist/components/arcgis-daylight/types.d.ts +1 -0
  249. package/dist/components/arcgis-direct-line-measurement-3d/customElement.d.ts +24 -22
  250. package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +79 -100
  251. package/dist/components/arcgis-direct-line-measurement-3d/types.d.ts +1 -0
  252. package/dist/components/arcgis-directional-pad/customElement.d.ts +2 -4
  253. package/dist/components/arcgis-directions/customElement.d.ts +60 -14
  254. package/dist/components/arcgis-directions/customElement.js +31 -9
  255. package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +23 -11
  256. package/dist/components/arcgis-distance-measurement-2d/customElement.js +95 -86
  257. package/dist/components/arcgis-distance-measurement-2d/types.d.ts +1 -0
  258. package/dist/components/arcgis-editor/customElement.d.ts +46 -19
  259. package/dist/components/arcgis-editor/customElement.js +3 -3
  260. package/dist/components/arcgis-elevation-profile/customElement.d.ts +30 -29
  261. package/dist/components/arcgis-elevation-profile/customElement.js +100 -111
  262. package/dist/components/arcgis-elevation-profile-settings/customElement.js +22 -22
  263. package/dist/components/arcgis-elevation-profile-statistics/customElement.js +25 -31
  264. package/dist/components/arcgis-expand/customElement.d.ts +6 -7
  265. package/dist/components/arcgis-expand/types.d.ts +1 -0
  266. package/dist/components/arcgis-feature/customElement.d.ts +38 -39
  267. package/dist/components/arcgis-feature/customElement.js +39 -39
  268. package/dist/components/arcgis-feature-attachments/customElement.js +1 -1
  269. package/dist/components/arcgis-feature-expression/customElement.js +23 -26
  270. package/dist/components/arcgis-feature-fields/customElement.js +28 -27
  271. package/dist/components/arcgis-feature-form/customElement.d.ts +32 -14
  272. package/dist/components/arcgis-feature-form/customElement.js +2 -2
  273. package/dist/components/arcgis-feature-image/customElement.d.ts +5 -5
  274. package/dist/components/arcgis-feature-media/customElement.js +1 -1
  275. package/dist/components/arcgis-feature-relationship/customElement.js +13 -13
  276. package/dist/components/arcgis-feature-table/customElement.d.ts +183 -89
  277. package/dist/components/arcgis-feature-table/customElement.js +46 -30
  278. package/dist/components/arcgis-feature-templates-legacy/customElement.d.ts +126 -0
  279. package/dist/components/{arcgis-feature-templates → arcgis-feature-templates-legacy}/customElement.js +4 -4
  280. package/dist/components/arcgis-feature-title/customElement.d.ts +3 -3
  281. package/dist/components/arcgis-feature-utility-network-association-list/customElement.js +11 -8
  282. package/dist/components/arcgis-feature-utility-network-associations/customElement.js +62 -62
  283. package/dist/components/arcgis-features/customElement.d.ts +70 -70
  284. package/dist/components/arcgis-features/customElement.js +71 -76
  285. package/dist/components/arcgis-floor-filter/customElement.d.ts +12 -15
  286. package/dist/components/arcgis-floor-filter/customElement.js +1 -1
  287. package/dist/components/arcgis-fullscreen/customElement.d.ts +1 -1
  288. package/dist/components/arcgis-grid-controls/customElement.d.ts +10 -10
  289. package/dist/components/arcgis-histogram-range-slider/customElement.d.ts +36 -37
  290. package/dist/components/arcgis-home/customElement.d.ts +8 -10
  291. package/dist/components/arcgis-home/customElement.js +16 -14
  292. package/dist/components/arcgis-layer-list/customElement.d.ts +51 -54
  293. package/dist/components/arcgis-legend/customElement.d.ts +42 -43
  294. package/dist/components/arcgis-legend-classic-element/customElement.js +22 -24
  295. package/dist/components/arcgis-line-of-sight/customElement.d.ts +16 -14
  296. package/dist/components/arcgis-link-chart/customElement.d.ts +61 -71
  297. package/dist/components/arcgis-link-chart/customElement.js +16 -16
  298. package/dist/components/arcgis-link-chart-layout-switcher/customElement.d.ts +3 -5
  299. package/dist/components/arcgis-link-chart-layout-switcher/types.d.ts +1 -0
  300. package/dist/components/arcgis-link-chart-nonspatial-visibility-toggle/customElement.d.ts +9 -9
  301. package/dist/components/arcgis-link-chart-nonspatial-visibility-toggle/customElement.js +13 -13
  302. package/dist/components/arcgis-link-chart-nonspatial-visibility-toggle/types.d.ts +3 -0
  303. package/dist/components/arcgis-locate/customElement.d.ts +3 -4
  304. package/dist/components/arcgis-locate/customElement.js +17 -16
  305. package/dist/components/arcgis-map/customElement.d.ts +174 -184
  306. package/dist/components/arcgis-map/customElement.js +11 -11
  307. package/dist/components/arcgis-measurement/customElement.d.ts +4 -5
  308. package/dist/components/arcgis-multi-feature-form/customElement.d.ts +9 -11
  309. package/dist/components/arcgis-navigation-toggle/customElement.d.ts +7 -12
  310. package/dist/components/arcgis-navigation-toggle/customElement.js +9 -6
  311. package/dist/components/arcgis-navigation-toggle/types.d.ts +1 -0
  312. package/dist/components/arcgis-oriented-imagery-viewer/customElement.d.ts +10 -3
  313. package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +2 -2
  314. package/dist/components/arcgis-paste/ClipboardMove.d.ts +6 -3
  315. package/dist/components/arcgis-paste/PasteViewModel.d.ts +28 -16
  316. package/dist/components/arcgis-paste/commands/PasteCommand.d.ts +267 -123
  317. package/dist/components/arcgis-paste/commands/PasteCustomCommand.d.ts +117 -116
  318. package/dist/components/arcgis-paste/customElement.d.ts +5 -5
  319. package/dist/components/arcgis-paste/customElement.js +59 -54
  320. package/dist/components/arcgis-paste/index.js +1 -1
  321. package/dist/components/arcgis-popup/customElement.d.ts +87 -75
  322. package/dist/components/arcgis-popup/customElement.js +121 -125
  323. package/dist/components/arcgis-popup/types.d.ts +2 -2
  324. package/dist/components/arcgis-presentation/PresentationViewModel.d.ts +4 -3
  325. package/dist/components/arcgis-presentation/customElement.d.ts +1 -1
  326. package/dist/components/arcgis-presentation/customElement.js +6 -6
  327. package/dist/components/arcgis-print/customElement.d.ts +51 -31
  328. package/dist/components/arcgis-print/customElement.js +7 -7
  329. package/dist/components/arcgis-print-layout-advanced-options/customElement.js +7 -7
  330. package/dist/components/arcgis-print-layout-panel/customElement.js +6 -6
  331. package/dist/components/arcgis-print-main-panel/customElement.js +7 -7
  332. package/dist/components/arcgis-print-out-spatial-reference-input/customElement.js +1 -1
  333. package/dist/components/arcgis-reverse-geocode-list/customElement.d.ts +14 -2
  334. package/dist/components/arcgis-reverse-geocode-list/customElement.js +38 -41
  335. package/dist/components/arcgis-scale-bar/customElement.d.ts +3 -7
  336. package/dist/components/arcgis-scale-bar/customElement.js +7 -7
  337. package/dist/components/arcgis-scale-bar/types.d.ts +5 -0
  338. package/dist/components/arcgis-scale-range-slider/customElement.d.ts +7 -8
  339. package/dist/components/arcgis-scene/customElement.d.ts +185 -200
  340. package/dist/components/arcgis-scene/customElement.js +14 -14
  341. package/dist/components/arcgis-search/customElement.d.ts +63 -59
  342. package/dist/components/arcgis-search/customElement.js +19 -18
  343. package/dist/components/arcgis-search/types.d.ts +1 -0
  344. package/dist/components/arcgis-shadow-cast/customElement.d.ts +84 -40
  345. package/dist/components/arcgis-sketch/customElement.d.ts +78 -33
  346. package/dist/components/arcgis-sketch/customElement.js +21 -9
  347. package/dist/components/arcgis-slice/customElement.d.ts +26 -26
  348. package/dist/components/arcgis-slice/customElement.js +6 -6
  349. package/dist/components/arcgis-slice/types.d.ts +4 -0
  350. package/dist/components/arcgis-slider-binary-color-size-legacy/customElement.d.ts +128 -97
  351. package/dist/components/arcgis-slider-binary-color-size-legacy/customElement.js +6 -6
  352. package/dist/components/arcgis-slider-classed-color-legacy/customElement.d.ts +53 -59
  353. package/dist/components/arcgis-slider-classed-color-legacy/customElement.js +1 -1
  354. package/dist/components/arcgis-slider-classed-size-legacy/customElement.d.ts +55 -62
  355. package/dist/components/arcgis-slider-classed-size-legacy/customElement.js +1 -1
  356. package/dist/components/arcgis-slider-color-legacy/customElement.d.ts +112 -100
  357. package/dist/components/arcgis-slider-color-legacy/customElement.js +8 -8
  358. package/dist/components/arcgis-slider-color-size-legacy/customElement.d.ts +154 -99
  359. package/dist/components/arcgis-slider-color-size-legacy/customElement.js +6 -6
  360. package/dist/components/arcgis-slider-heatmap-legacy/customElement.d.ts +14 -17
  361. package/dist/components/arcgis-slider-heatmap-legacy/customElement.js +1 -1
  362. package/dist/components/arcgis-slider-opacity-legacy/customElement.d.ts +75 -93
  363. package/dist/components/arcgis-slider-opacity-legacy/customElement.js +1 -1
  364. package/dist/components/arcgis-slider-size-legacy/customElement.d.ts +85 -104
  365. package/dist/components/arcgis-slider-size-legacy/customElement.js +1 -1
  366. package/dist/components/arcgis-snapping-controls/customElement.d.ts +76 -16
  367. package/dist/components/arcgis-swipe/customElement.d.ts +11 -11
  368. package/dist/components/arcgis-table-list/customElement.d.ts +116 -81
  369. package/dist/components/arcgis-time-of-day-slider/customElement.d.ts +1 -0
  370. package/dist/components/arcgis-time-of-day-slider/customElement.js +11 -11
  371. package/dist/components/arcgis-time-slider/customElement.d.ts +23 -26
  372. package/dist/components/arcgis-time-slider/customElement.js +1 -1
  373. package/dist/components/arcgis-time-zone-label/customElement.d.ts +19 -33
  374. package/dist/components/arcgis-time-zone-label/customElement.js +19 -58
  375. package/dist/components/arcgis-time-zone-label/index.js +0 -1
  376. package/dist/components/arcgis-time-zone-label/types.d.ts +1 -0
  377. package/dist/components/arcgis-track/customElement.d.ts +6 -7
  378. package/dist/components/arcgis-utility-network-aggregated-geometry/customElement.d.ts +18 -10
  379. package/dist/components/arcgis-utility-network-aggregated-geometry/customElement.js +54 -59
  380. package/dist/components/arcgis-utility-network-aggregated-geometry/index.js +0 -1
  381. package/dist/components/arcgis-utility-network-associations/customElement.d.ts +5 -6
  382. package/dist/components/arcgis-utility-network-trace/customElement.d.ts +11 -8
  383. package/dist/components/arcgis-utility-network-trace/customElement.js +1 -1
  384. package/dist/components/arcgis-utility-network-trace-analysis/customElement.d.ts +86 -29
  385. package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +65 -58
  386. package/dist/components/arcgis-utility-network-trace-analysis/index.js +1 -1
  387. package/dist/components/arcgis-utility-network-trace-analysis/types.d.ts +1 -0
  388. package/dist/components/arcgis-utility-network-trace-inputs/customElement.d.ts +18 -6
  389. package/dist/components/arcgis-utility-network-trace-inputs/customElement.js +110 -73
  390. package/dist/components/arcgis-utility-network-trace-location/customElement.d.ts +10 -3
  391. package/dist/components/arcgis-utility-network-trace-location/customElement.js +96 -91
  392. package/dist/components/arcgis-utility-network-trace-location-list/customElement.js +2 -2
  393. package/dist/components/arcgis-utility-network-trace-results/customElement.d.ts +18 -2
  394. package/dist/components/arcgis-utility-network-trace-results/customElement.js +109 -89
  395. package/dist/components/arcgis-utility-network-trace-results/index.js +2 -1
  396. package/dist/components/arcgis-utility-network-validate-topology/customElement.d.ts +1 -2
  397. package/dist/components/arcgis-value-picker-legacy/customElement.d.ts +51 -53
  398. package/dist/components/arcgis-value-picker-legacy/customElement.js +1 -1
  399. package/dist/components/arcgis-version-management/customElement.d.ts +7 -21
  400. package/dist/components/arcgis-version-management/customElement.js +1 -1
  401. package/dist/components/arcgis-version-management/types.d.ts +15 -0
  402. package/dist/components/arcgis-video/customElement.d.ts +12 -12
  403. package/dist/components/arcgis-video-player/customElement.d.ts +6 -6
  404. package/dist/components/arcgis-video-player/customElement.js +2 -2
  405. package/dist/components/arcgis-volume-measurement/customElement.d.ts +46 -41
  406. package/dist/components/arcgis-volume-measurement/customElement.js +171 -171
  407. package/dist/components/arcgis-volume-measurement/index.js +1 -1
  408. package/dist/components/arcgis-volume-measurement/types.d.ts +1 -0
  409. package/dist/components/arcgis-weather/customElement.d.ts +17 -18
  410. package/dist/components/arcgis-zoom/customElement.d.ts +8 -7
  411. package/dist/components/arcgis-zoom/customElement.js +1 -1
  412. package/dist/components/arcgis-zoom/types.d.ts +3 -0
  413. package/dist/components/types.d.ts +58 -1
  414. package/dist/docs/api.json +1 -1
  415. package/dist/docs/docs.json +1 -1
  416. package/dist/docs/vscode.html-custom-data.json +1 -1
  417. package/dist/docs/web-types.json +1 -1
  418. package/dist/index.d.ts +13 -35
  419. package/dist/loader.js +36 -36
  420. package/dist/types/lumina.d.ts +36 -58
  421. package/dist/types/preact.d.ts +37 -63
  422. package/dist/types/react.d.ts +38 -68
  423. package/dist/types/stencil.d.ts +36 -58
  424. package/package.json +6 -6
  425. package/dist/cdn/22LNBUKE.js +0 -2
  426. package/dist/cdn/23UYZVTW.js +0 -2
  427. package/dist/cdn/2EJ4XRH4.js +0 -2
  428. package/dist/cdn/2VC2VUTP.js +0 -2
  429. package/dist/cdn/2XSXH4TM.js +0 -2
  430. package/dist/cdn/3DO7PVNW.js +0 -2
  431. package/dist/cdn/3GZCJE62.js +0 -2
  432. package/dist/cdn/3XMPN66U.js +0 -2
  433. package/dist/cdn/42UR6TXZ.js +0 -2
  434. package/dist/cdn/4EAZ4PIQ.js +0 -2
  435. package/dist/cdn/4TURMTXA.js +0 -2
  436. package/dist/cdn/52GXKBGP.js +0 -2
  437. package/dist/cdn/55QGHI47.js +0 -2
  438. package/dist/cdn/5PRNT4KD.js +0 -2
  439. package/dist/cdn/5RGFRTJS.js +0 -2
  440. package/dist/cdn/63P5VYGP.js +0 -2
  441. package/dist/cdn/64OEHFBZ.js +0 -2
  442. package/dist/cdn/7UR4M6PN.js +0 -2
  443. package/dist/cdn/7YLXQNEC.js +0 -2
  444. package/dist/cdn/A4UJ53JS.js +0 -2
  445. package/dist/cdn/AGYDL2DX.js +0 -2
  446. package/dist/cdn/BGOWWLCQ.js +0 -2
  447. package/dist/cdn/BMR2YFEM.js +0 -2
  448. package/dist/cdn/CC53K2CR.js +0 -2
  449. package/dist/cdn/CKNH5OMJ.js +0 -2
  450. package/dist/cdn/DOLELC6W.js +0 -2
  451. package/dist/cdn/DTVW3MYT.js +0 -2
  452. package/dist/cdn/E7FLH54K.js +0 -2
  453. package/dist/cdn/EL62JS5C.js +0 -2
  454. package/dist/cdn/EVRFMTMV.js +0 -2
  455. package/dist/cdn/EX22SAPL.js +0 -2
  456. package/dist/cdn/EYNKJZG3.js +0 -2
  457. package/dist/cdn/F2TXAMXM.js +0 -2
  458. package/dist/cdn/F4HWT5H3.js +0 -2
  459. package/dist/cdn/FEQLUSM2.js +0 -2
  460. package/dist/cdn/FJJVAOBW.js +0 -2
  461. package/dist/cdn/FQGKKJL7.js +0 -2
  462. package/dist/cdn/GNGZFV2C.js +0 -2
  463. package/dist/cdn/H6ILOF27.js +0 -2
  464. package/dist/cdn/HH6BDERO.js +0 -2
  465. package/dist/cdn/HNHCO4OD.js +0 -2
  466. package/dist/cdn/HR2OOT3F.js +0 -2
  467. package/dist/cdn/I2MQQXVU.js +0 -2
  468. package/dist/cdn/I5QTPPFJ.js +0 -2
  469. package/dist/cdn/IDDSHZVB.js +0 -2
  470. package/dist/cdn/J55YUTPM.js +0 -2
  471. package/dist/cdn/JDZWJLJX.js +0 -2
  472. package/dist/cdn/KECAR2NZ.js +0 -2
  473. package/dist/cdn/KEFY4XPI.js +0 -2
  474. package/dist/cdn/KHM3S4Q6.js +0 -2
  475. package/dist/cdn/KNAUIRT6.js +0 -2
  476. package/dist/cdn/KXF2562U.js +0 -2
  477. package/dist/cdn/KY4FMFIC.js +0 -2
  478. package/dist/cdn/LG4PZVHS.js +0 -2
  479. package/dist/cdn/LHEP4QSS.js +0 -2
  480. package/dist/cdn/LZFDWRYI.js +0 -2
  481. package/dist/cdn/M4L5EDRB.js +0 -2
  482. package/dist/cdn/M65HMJZA.js +0 -2
  483. package/dist/cdn/M7VTEC3S.js +0 -2
  484. package/dist/cdn/MAGJWMWM.js +0 -2
  485. package/dist/cdn/MSMDSEFM.js +0 -2
  486. package/dist/cdn/MW73TE2N.js +0 -2
  487. package/dist/cdn/MWBGBBXT.js +0 -2
  488. package/dist/cdn/NIUIKBRD.js +0 -2
  489. package/dist/cdn/NRV7VFJ7.js +0 -2
  490. package/dist/cdn/NVACRYY6.js +0 -2
  491. package/dist/cdn/NZ5M5SVG.js +0 -2
  492. package/dist/cdn/NZAO2BVV.js +0 -2
  493. package/dist/cdn/OCEXQCFT.js +0 -2
  494. package/dist/cdn/ORH27QWU.js +0 -2
  495. package/dist/cdn/PCQ5PXPF.js +0 -2
  496. package/dist/cdn/PISCYSA5.js +0 -2
  497. package/dist/cdn/PNDLNFML.js +0 -2
  498. package/dist/cdn/PTWLVTFS.js +0 -4
  499. package/dist/cdn/QVMTO5BV.js +0 -2
  500. package/dist/cdn/R4V6HGJH.js +0 -2
  501. package/dist/cdn/RCWZGU5T.js +0 -2
  502. package/dist/cdn/RJ76OXB6.js +0 -2
  503. package/dist/cdn/S4XGBADW.js +0 -2
  504. package/dist/cdn/S6G6XXTM.js +0 -2
  505. package/dist/cdn/SKW7HQZ6.js +0 -2
  506. package/dist/cdn/SRSYUCVL.js +0 -2
  507. package/dist/cdn/SZ5MNKOW.js +0 -2
  508. package/dist/cdn/TM5C2P2F.js +0 -2
  509. package/dist/cdn/U3LH3AZH.js +0 -2
  510. package/dist/cdn/UAO23YMW.js +0 -2
  511. package/dist/cdn/UTH3SGAS.js +0 -2
  512. package/dist/cdn/UVCYUIKZ.js +0 -2
  513. package/dist/cdn/VJMMA6UX.js +0 -2
  514. package/dist/cdn/W2E5L6DS.js +0 -2
  515. package/dist/cdn/WGWNMYUH.js +0 -2
  516. package/dist/cdn/WGXSSEAL.js +0 -2
  517. package/dist/cdn/WOV3LB6K.js +0 -2
  518. package/dist/cdn/WTMMFDEH.js +0 -2
  519. package/dist/cdn/WW6L6XX4.js +0 -2
  520. package/dist/cdn/X6OVNOLQ.js +0 -2
  521. package/dist/cdn/X7YUU7TS.js +0 -2
  522. package/dist/cdn/XO6U6OVM.js +0 -2
  523. package/dist/cdn/XRP25NGI.js +0 -2
  524. package/dist/cdn/Y53D5YAC.js +0 -2
  525. package/dist/cdn/YC423DBS.js +0 -2
  526. package/dist/cdn/YFUI4F5L.js +0 -2
  527. package/dist/cdn/YKTB6AFH.js +0 -2
  528. package/dist/cdn/YWQGP6MB.js +0 -2
  529. package/dist/cdn/YZ5ZVEPC.js +0 -2
  530. package/dist/cdn/ZD25GJYW.js +0 -2
  531. package/dist/cdn/ZMLRDNKR.js +0 -2
  532. package/dist/cdn/ZURN5EZI.js +0 -2
  533. package/dist/cdn/ZUTQE3OX.js +0 -2
  534. package/dist/cdn/ZVTPU2MO.js +0 -2
  535. package/dist/components/arcgis-building-discipline-tree/customElement.d.ts +0 -14
  536. package/dist/components/arcgis-building-explorer/building-filter/BuildingLevel.d.ts +0 -20
  537. package/dist/components/arcgis-building-explorer/building-filter/BuildingNumericFilterViewModel.d.ts +0 -93
  538. package/dist/components/arcgis-building-explorer/building-filter/BuildingPhase.d.ts +0 -24
  539. package/dist/components/arcgis-building-explorer/support/types.d.ts +0 -11
  540. package/dist/components/arcgis-building-level-item/customElement.d.ts +0 -25
  541. package/dist/components/arcgis-building-level-item/index.d.ts +0 -1
  542. package/dist/components/arcgis-building-level-picker/customElement.d.ts +0 -20
  543. package/dist/components/arcgis-building-level-picker/index.d.ts +0 -1
  544. package/dist/components/arcgis-building-phase-picker/customElement.d.ts +0 -19
  545. package/dist/components/arcgis-building-phase-picker/index.d.ts +0 -1
  546. package/dist/components/arcgis-daylight/daylight-utils.d.ts +0 -8
  547. package/dist/components/arcgis-expand/ExpandViewModel.d.ts +0 -44
  548. package/dist/components/arcgis-feature-templates/customElement.d.ts +0 -215
  549. package/dist/components/arcgis-feature-templates/index.d.ts +0 -1
  550. package/dist/components/arcgis-slice/SliceViewModel.d.ts +0 -4
  551. package/dist/components/support/goTo.d.ts +0 -37
  552. package/dist/controllers/useArcgisLoadError.d.ts +0 -9
  553. package/dist/support/heading.d.ts +0 -1
  554. package/dist/support/measurementUtils.d.ts +0 -1
  555. package/dist/utils/action-utils.d.ts +0 -3
  556. package/dist/utils/component-utils.d.ts +0 -5
  557. /package/dist/cdn/{UQ7E33T4.js → 2SQUOXWG.js} +0 -0
  558. /package/dist/cdn/{KAJ3U6DP.js → 3GVHNIXM.js} +0 -0
  559. /package/dist/cdn/{E2KWMQKQ.js → 3NF4UU3S.js} +0 -0
  560. /package/dist/cdn/{PHF2XKSK.js → 43UMYTXQ.js} +0 -0
  561. /package/dist/cdn/{CHDRBZNL.js → 47T624VO.js} +0 -0
  562. /package/dist/cdn/{X5H6ZUFX.js → 4NBXFFTY.js} +0 -0
  563. /package/dist/cdn/{DDI363AI.js → 5IPPKC3M.js} +0 -0
  564. /package/dist/cdn/{LCXF3AKY.js → 6JUTQDKC.js} +0 -0
  565. /package/dist/cdn/{YMU5IPMP.js → 6QPD32WT.js} +0 -0
  566. /package/dist/cdn/{M6TJN2I5.js → 7LEGS7EX.js} +0 -0
  567. /package/dist/cdn/{ORP3ZND2.js → AQG5RIV3.js} +0 -0
  568. /package/dist/cdn/{W5XM52J7.js → B3I4OKDQ.js} +0 -0
  569. /package/dist/cdn/{RCD5UKTW.js → BFHBS4MR.js} +0 -0
  570. /package/dist/cdn/{CRR65TKV.js → D3X7R3GD.js} +0 -0
  571. /package/dist/cdn/{7FMJZURP.js → DYC6OHKG.js} +0 -0
  572. /package/dist/cdn/{5OB4E5PR.js → DZG4EA6U.js} +0 -0
  573. /package/dist/cdn/{W5B5LTGN.js → ELF2SE5K.js} +0 -0
  574. /package/dist/cdn/{UVZZX6YP.js → FHSXSYA6.js} +0 -0
  575. /package/dist/cdn/{BQIH5T3S.js → FRWY77LH.js} +0 -0
  576. /package/dist/cdn/{ZFFBK3VO.js → FYVM32GJ.js} +0 -0
  577. /package/dist/cdn/{B7IYR676.js → GVW4OIR5.js} +0 -0
  578. /package/dist/cdn/{FPD3STSJ.js → H6LWU2FC.js} +0 -0
  579. /package/dist/cdn/{DEOCASGG.js → HEBLEJCT.js} +0 -0
  580. /package/dist/cdn/{OSRAPPNR.js → IDITPQDC.js} +0 -0
  581. /package/dist/cdn/{DWZIXPJ4.js → J3F5FPMC.js} +0 -0
  582. /package/dist/cdn/{YP3JKXC4.js → JMZA4GQB.js} +0 -0
  583. /package/dist/cdn/{JDPQMOEW.js → JPDYVHUZ.js} +0 -0
  584. /package/dist/cdn/{PUOWH3YL.js → KNFAPO3C.js} +0 -0
  585. /package/dist/cdn/{W2Q7NWBG.js → LEC4CIVO.js} +0 -0
  586. /package/dist/cdn/{JMDNJPNT.js → NCTWDKYG.js} +0 -0
  587. /package/dist/cdn/{RDW2NJPR.js → PDCUZMSB.js} +0 -0
  588. /package/dist/cdn/{76ESM6B2.js → RJTABGPK.js} +0 -0
  589. /package/dist/cdn/{2ZL4CF6P.js → SPXZXKMH.js} +0 -0
  590. /package/dist/cdn/{HZTWWEVM.js → TRPYDMNK.js} +0 -0
  591. /package/dist/cdn/{YHVFARHN.js → UYDFCELQ.js} +0 -0
  592. /package/dist/cdn/{55VMVXRK.js → V2D4QTRR.js} +0 -0
  593. /package/dist/cdn/{QAXR4LT6.js → WBZEEY5N.js} +0 -0
  594. /package/dist/cdn/{YDJGMRV3.js → WG5RPCHL.js} +0 -0
  595. /package/dist/cdn/{ZLIZCBGT.js → WL4J6REN.js} +0 -0
  596. /package/dist/cdn/{GB42YXHR.js → XJQRAKJ6.js} +0 -0
  597. /package/dist/cdn/{L4WRYSKZ.js → YGJ7NPDT.js} +0 -0
  598. /package/dist/cdn/{V3M37NHT.js → ZJ36DBTH.js} +0 -0
  599. /package/dist/components/{arcgis-building-discipline-tree → arcgis-feature-templates-legacy}/index.d.ts +0 -0
  600. /package/dist/components/{arcgis-feature-templates → arcgis-feature-templates-legacy}/index.js +0 -0
  601. /package/dist/components/arcgis-locate/{LocateViewModel.d.ts → types.d.ts} +0 -0
  602. /package/dist/components/arcgis-weather/{WeatherViewModel.d.ts → types.d.ts} +0 -0
@@ -1,19 +1,20 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
2
  import { forceInteractive as _ } from "@arcgis/core/applications/Components/analysisUtils.js";
3
3
  import f from "@arcgis/core/core/Accessor.js";
4
- import { property as r, subclass as V } from "@arcgis/core/core/accessorSupport/decorators.js";
4
+ import { property as o, subclass as V } from "@arcgis/core/core/accessorSupport/decorators.js";
5
5
  import { ignoreAbortErrors as v } from "@arcgis/core/core/promiseUtils.js";
6
6
  import { when as m, watch as w, on as A, whenOnce as g } from "@arcgis/core/core/reactiveUtils.js";
7
7
  import { log as p } from "@arcgis/toolkit/log";
8
8
  import { c as u, t as O, i as I, a as b } from "./async-utils.js";
9
9
  import { a as h } from "./maybe.js";
10
- var F = Object.defineProperty, T = Object.getOwnPropertyDescriptor, a = (s, e, i, n) => {
11
- for (var o = n > 1 ? void 0 : n ? T(e, i) : e, c = s.length - 1, l; c >= 0; c--)
12
- (l = s[c]) && (o = (n ? l(e, i, o) : l(o)) || o);
13
- return n && o && F(e, i, o), o;
10
+ import { getDefaultUnitForView as F } from "@arcgis/core/applications/Components/getDefaultUnits.js";
11
+ var T = Object.defineProperty, R = Object.getOwnPropertyDescriptor, n = (e, s, t, a) => {
12
+ for (var r = a > 1 ? void 0 : a ? R(s, t) : s, l = e.length - 1, c; l >= 0; l--)
13
+ (c = e[l]) && (r = (a ? c(s, t, r) : c(r)) || r);
14
+ return a && r && T(s, t, r), r;
14
15
  };
15
16
  const y = Symbol("interactiveHandle");
16
- let t = class extends f {
17
+ let i = class extends f {
17
18
  // #region Lifecycle
18
19
  // Intentionally keep constructor side-effect free: callers may set properties in any order after instantiation.
19
20
  constructor() {
@@ -21,10 +22,10 @@ let t = class extends f {
21
22
  }
22
23
  initialize() {
23
24
  this._set("analysis", this.constructAnalysis()), this._ownsAnalysis = !0;
24
- const s = () => {
25
+ const e = () => {
25
26
  !this._changeFromReconnect && !this._viewHasAnalysis && (this._ownsAnalysis = !1);
26
- const e = !this._changeFromReconnect;
27
- this._changeFromReconnect = !1, e && this._scheduleViewReconnect();
27
+ const s = !this._changeFromReconnect;
28
+ this._changeFromReconnect = !1, s && this._scheduleViewReconnect();
28
29
  };
29
30
  this.addHandles([
30
31
  m(
@@ -34,12 +35,12 @@ let t = class extends f {
34
35
  },
35
36
  { sync: !0, initial: !0 }
36
37
  ),
37
- w(() => [this.analysis, this._viewHasAnalysis], s, { sync: !0 }),
38
+ w(() => [this.analysis, this._viewHasAnalysis], e, { sync: !0 }),
38
39
  A(
39
40
  () => this.view,
40
41
  "analysis-view-destroy",
41
- (e) => {
42
- e.analysis === this.analysis && s();
42
+ (s) => {
43
+ s.analysis === this.analysis && e();
43
44
  }
44
45
  ),
45
46
  w(
@@ -48,9 +49,9 @@ let t = class extends f {
48
49
  ready: !!this.view?.ready,
49
50
  supported: this.supported
50
51
  }),
51
- ({ view: e }, i) => {
52
- const n = i?.view;
53
- e !== n && (this._userOperationInfo = h(this._userOperationInfo), this._disconnectFromView(n)), this._scheduleViewReconnect();
52
+ ({ view: s }, t) => {
53
+ const a = t?.view;
54
+ s !== a && (this._userOperationInfo = h(this._userOperationInfo), this._disconnectFromView(a)), this._scheduleViewReconnect();
54
55
  },
55
56
  { sync: !0, initial: !0 }
56
57
  )
@@ -59,11 +60,14 @@ let t = class extends f {
59
60
  destroy() {
60
61
  this._reconnectViewTask = h(this._reconnectViewTask), this._userOperationInfo = h(this._userOperationInfo), this.analysisView != null && (this.analysisView.visible = void 0), this._disconnectFromView(this.view), this._set("view", null), this._ownsAnalysis && this.analysis?.destroy();
61
62
  }
63
+ get defaultMeasurementSystem() {
64
+ return this.view?.ready ? F(this.view) : "metric";
65
+ }
62
66
  get active() {
63
67
  return this._userOperationInfo?.state === "running";
64
68
  }
65
- set analysis(s) {
66
- s !== this._get("analysis") && (this._userOperationInfo = h(this._userOperationInfo), this._disconnectFromView(this.view), this._setExternalAnalysis(s), this._scheduleViewReconnect());
69
+ set analysis(e) {
70
+ e !== this._get("analysis") && (this._userOperationInfo = h(this._userOperationInfo), this._disconnectFromView(this.view), this._setExternalAnalysis(e), this._scheduleViewReconnect());
67
71
  }
68
72
  get connectingToView() {
69
73
  return !!this._reconnectViewTask;
@@ -71,8 +75,8 @@ let t = class extends f {
71
75
  get disabled() {
72
76
  return !this.view?.ready || !this.supported;
73
77
  }
74
- set hideVisualization(s) {
75
- this._set("hideVisualization", s), this.analysisView && (this.analysisView.visible = !s);
78
+ set hideVisualization(e) {
79
+ this._set("hideVisualization", e), this.analysisView && (this.analysisView.visible = !e);
76
80
  }
77
81
  get ready() {
78
82
  return !!this.analysisView && !this.connectingToView;
@@ -81,8 +85,8 @@ let t = class extends f {
81
85
  return !this.view || this.supportedViewType === "both" || this.view.type === this.supportedViewType;
82
86
  }
83
87
  get _viewHasAnalysis() {
84
- const { view: s } = this;
85
- return s?.analyses.includes(this.analysis) === !0;
88
+ const { view: e } = this;
89
+ return e?.analyses.includes(this.analysis) === !0;
86
90
  }
87
91
  // #endregion
88
92
  // #region Public Methods
@@ -98,26 +102,26 @@ let t = class extends f {
98
102
  * If the required analysis inputs are missing, this calls `place()` once the view is ready. You can provide a custom
99
103
  * `operation` to override the default behavior. Set `clear: false` to retain existing analysis inputs.
100
104
  */
101
- async start(s) {
105
+ async start(e) {
102
106
  if (this.hideVisualization) {
103
107
  p("warn", this, "Cannot start analysis when not visible");
104
108
  return;
105
109
  }
106
- this.stop(), s?.clear !== !1 && this.clear();
107
- const e = {
110
+ this.stop(), e?.clear !== !1 && this.clear();
111
+ const s = {
108
112
  task: null,
109
113
  abort: null,
110
114
  state: "pending"
111
- }, i = u(async (n) => {
112
- if (e.state = "wait-for-view-ready", await g(() => this.ready, n), e.state = "running", !this.analysisView || !this.view)
115
+ }, t = u(async (a) => {
116
+ if (s.state = "wait-for-view-ready", await g(() => this.ready, a), s.state = "running", !this.analysisView || !this.view)
113
117
  return;
114
118
  this.operationState = "active";
115
- const o = s?.operation?.({ signal: n }) ?? this.place({ signal: n });
116
- await v(o);
119
+ const r = e?.operation?.({ signal: a }) ?? this.place({ signal: a });
120
+ await v(r);
117
121
  });
118
- return i.promise.finally(() => {
119
- (this._userOperationInfo === e || !this._userOperationInfo) && (this.operationState = "inactive");
120
- }), e.task = i, e.abort = () => i.abort(), this._userOperationInfo = e, await i.promise;
122
+ return t.promise.finally(() => {
123
+ (this._userOperationInfo === s || !this._userOperationInfo) && (this.operationState = "inactive");
124
+ }), s.task = t, s.abort = () => t.abort(), this._userOperationInfo = s, await t.promise;
121
125
  }
122
126
  /**
123
127
  * Stop the active user operation, if any.
@@ -131,7 +135,7 @@ let t = class extends f {
131
135
  * Define the interactive placement workflow for the analysis.
132
136
  * Implement in subclasses to collect required inputs. Honor `AbortSignal`.
133
137
  */
134
- place(s) {
138
+ place(e) {
135
139
  throw new Error("place() not implemented for this analysis view model");
136
140
  }
137
141
  /**
@@ -143,7 +147,7 @@ let t = class extends f {
143
147
  * Hook for subclasses managing an analysis that belongs to a layer.
144
148
  * Called when the view is ready and the `analysisView` is created.
145
149
  */
146
- onConnectToAnalysisView(s) {
150
+ onConnectToAnalysisView(e) {
147
151
  }
148
152
  /**
149
153
  * Hook for subclasses to react when the view becomes unready and the
@@ -153,99 +157,102 @@ let t = class extends f {
153
157
  }
154
158
  _scheduleViewReconnect() {
155
159
  this._reconnectViewTask = h(this._reconnectViewTask);
156
- const s = u(async (e) => {
160
+ const e = u(async (s) => {
157
161
  try {
158
- await this._reconnectView(e);
159
- } catch (i) {
160
- if (O(e), !I(i)) {
161
- p("warn", this, `Failed to use analysis in view model. ${String(i)}`);
162
+ await this._reconnectView(s);
163
+ } catch (t) {
164
+ if (O(s), !I(t)) {
165
+ p("warn", this, `Failed to use analysis in view model. ${String(t)}`);
162
166
  return;
163
167
  }
164
- throw i;
168
+ throw t;
165
169
  } finally {
166
- s === this._reconnectViewTask && (this._reconnectViewTask = void 0);
170
+ e === this._reconnectViewTask && (this._reconnectViewTask = void 0);
167
171
  }
168
172
  });
169
- this._reconnectViewTask = s;
173
+ this._reconnectViewTask = e;
170
174
  }
171
175
  /**
172
176
  * Reconnect the analysis to the current view, obtaining an `analysisView` when supported and ready.
173
177
  * Aborts active operations that are past the "waiting for view" phase.
174
178
  */
175
- async _reconnectView(s) {
176
- const { view: e } = this, i = e?.ready && this.supported, n = this.analysis;
177
- if (this._userOperationInfo = d(this._userOperationInfo), this._disconnectFromView(e), !i || !e || !n)
179
+ async _reconnectView(e) {
180
+ const { view: s } = this, t = s?.ready && this.supported, a = this.analysis;
181
+ if (this._userOperationInfo = d(this._userOperationInfo), this._disconnectFromView(s), !t || !s || !a)
178
182
  return;
179
- this._ownsAnalysis && (this._changeFromReconnect = !0, e.analyses.add(n));
180
- const o = await e.whenAnalysisView(n);
181
- if (this.analysisView = o, b(s)) {
183
+ this._ownsAnalysis && (this._changeFromReconnect = !0, s.analyses.add(a));
184
+ const r = await s.whenAnalysisView(a);
185
+ if (this.analysisView = r, b(e)) {
182
186
  this._userOperationInfo = d(this._userOperationInfo);
183
187
  return;
184
188
  }
185
- o.visible = !this.hideVisualization, this.shouldForceInteractive && this.addHandles(_(o), y), this.onConnectToAnalysisView(o);
189
+ r.visible = !this.hideVisualization, this.shouldForceInteractive && this.addHandles(_(r), y), this.onConnectToAnalysisView(r);
186
190
  }
187
191
  /**
188
192
  * Disconnect the analysis from the given view.
189
193
  */
190
- _disconnectFromView(s) {
191
- this._ownsAnalysis && s?.analyses.includes(this.analysis) && (this._changeFromReconnect = !0, this.clearAnalysis(), s.analyses.remove(this.analysis)), this.onDisconnectFromAnalysisView(), this.removeHandles(y), this.analysisView = void 0;
194
+ _disconnectFromView(e) {
195
+ this._ownsAnalysis && e?.analyses.includes(this.analysis) && (this._changeFromReconnect = !0, this.clearAnalysis(), e.analyses.remove(this.analysis)), this.onDisconnectFromAnalysisView(), this.removeHandles(y), this.analysisView = void 0;
192
196
  }
193
197
  /**
194
198
  * Set an externally owned analysis.
195
199
  */
196
- _setExternalAnalysis(s) {
197
- this.analysisView && !this._ownsAnalysis && (this.analysisView.visible = void 0, this.removeHandles(y)), this.analysisView = void 0, this._ownsAnalysis = !1, this._set("analysis", s), this._changeFromReconnect = !1;
200
+ _setExternalAnalysis(e) {
201
+ this.analysisView && !this._ownsAnalysis && (this.analysisView.visible = void 0, this.removeHandles(y)), this.analysisView = void 0, this._ownsAnalysis = !1, this._set("analysis", e), this._changeFromReconnect = !1;
198
202
  }
199
203
  // #endregion
200
204
  };
201
- a([
202
- r()
203
- ], t.prototype, "active", 1);
204
- a([
205
- r()
206
- ], t.prototype, "analysis", 1);
207
- a([
208
- r()
209
- ], t.prototype, "connectingToView", 1);
210
- a([
211
- r()
212
- ], t.prototype, "disabled", 1);
213
- a([
214
- r()
215
- ], t.prototype, "hideVisualization", 1);
216
- a([
217
- r()
218
- ], t.prototype, "operationState", 2);
219
- a([
220
- r()
221
- ], t.prototype, "ready", 1);
222
- a([
223
- r()
224
- ], t.prototype, "supported", 1);
225
- a([
226
- r()
227
- ], t.prototype, "view", 2);
228
- a([
229
- r()
230
- ], t.prototype, "_ownsAnalysis", 2);
231
- a([
232
- r()
233
- ], t.prototype, "_viewHasAnalysis", 1);
234
- a([
235
- r()
236
- ], t.prototype, "_reconnectViewTask", 2);
237
- a([
238
- r()
239
- ], t.prototype, "analysisView", 2);
240
- a([
241
- r()
242
- ], t.prototype, "shouldForceInteractive", 2);
243
- t = a([
205
+ n([
206
+ o()
207
+ ], i.prototype, "defaultMeasurementSystem", 1);
208
+ n([
209
+ o()
210
+ ], i.prototype, "active", 1);
211
+ n([
212
+ o()
213
+ ], i.prototype, "analysis", 1);
214
+ n([
215
+ o()
216
+ ], i.prototype, "connectingToView", 1);
217
+ n([
218
+ o()
219
+ ], i.prototype, "disabled", 1);
220
+ n([
221
+ o()
222
+ ], i.prototype, "hideVisualization", 1);
223
+ n([
224
+ o()
225
+ ], i.prototype, "operationState", 2);
226
+ n([
227
+ o()
228
+ ], i.prototype, "ready", 1);
229
+ n([
230
+ o()
231
+ ], i.prototype, "supported", 1);
232
+ n([
233
+ o()
234
+ ], i.prototype, "view", 2);
235
+ n([
236
+ o()
237
+ ], i.prototype, "_ownsAnalysis", 2);
238
+ n([
239
+ o()
240
+ ], i.prototype, "_viewHasAnalysis", 1);
241
+ n([
242
+ o()
243
+ ], i.prototype, "_reconnectViewTask", 2);
244
+ n([
245
+ o()
246
+ ], i.prototype, "analysisView", 2);
247
+ n([
248
+ o()
249
+ ], i.prototype, "shouldForceInteractive", 2);
250
+ i = n([
244
251
  V("esri.components.support.AnalysisViewModel")
245
- ], t);
246
- function d(s) {
247
- return s?.state === "running" ? (s.abort(), null) : s;
252
+ ], i);
253
+ function d(e) {
254
+ return e?.state === "running" ? (e.abort(), null) : e;
248
255
  }
249
256
  export {
250
- t as A
257
+ i as A
251
258
  };
@@ -111,8 +111,8 @@ const Z = async (e, t) => {
111
111
  };
112
112
  export {
113
113
  Q as a,
114
- C as b,
114
+ n as b,
115
115
  P as g,
116
116
  Z as t,
117
- n as z
117
+ C as z
118
118
  };
@@ -1,100 +1,113 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
+ import { watch as u } from "@arcgis/core/core/reactiveUtils.js";
2
3
  import "@arcgis/toolkit/log";
3
- function v(t) {
4
- t.el.childElem && (t.el.childElem.ownedBy = t.el);
5
- const e = u(t);
6
- if (!e) {
7
- const i = h(t);
8
- if (!i) {
9
- c(t);
4
+ function N(e) {
5
+ e.el.childElem && (e.el.childElem.ownedBy = e.el);
6
+ const t = g(e);
7
+ if (!t) {
8
+ const r = y(e);
9
+ if (!r) {
10
+ c(e);
10
11
  return;
11
12
  }
12
- return l(i, t, !0), i;
13
+ return a(r, e, !0), r;
13
14
  }
14
- return g(e, t.el.parent) || (t.el.parent = e, e.localName === "arcgis-expand" ? y(e, t) : l(e, t, !1)), e;
15
+ return E(t, e.el.parent) || (e.el.parent = t, t.localName === "arcgis-expand" ? h(t, e) : a(t, e, !1)), t;
15
16
  }
16
- function u({ el: t }) {
17
- for (let e = t.parentElement; e; e = e?.parentElement ?? null) {
18
- if (a.has(e.localName))
19
- return e;
20
- if ("ownedBy" in e && e.ownedBy instanceof HTMLElement && a.has(e.ownedBy.localName))
21
- return e.ownedBy;
17
+ function g({ el: e }) {
18
+ for (let t = e.parentElement; t; t = t?.parentElement ?? null) {
19
+ if (o.has(t.localName))
20
+ return t;
21
+ if ("ownedBy" in t && t.ownedBy instanceof HTMLElement && o.has(t.ownedBy.localName))
22
+ return t.ownedBy;
22
23
  }
23
24
  }
24
- const a = /* @__PURE__ */ new Set(["arcgis-map", "arcgis-scene", "arcgis-link-chart", "arcgis-expand"]);
25
- function g(t, e) {
26
- return t !== e ? !1 : t.localName === "arcgis-expand";
25
+ const o = /* @__PURE__ */ new Set(["arcgis-map", "arcgis-scene", "arcgis-link-chart", "arcgis-expand"]);
26
+ function E(e, t) {
27
+ return e !== t ? !1 : e.localName === "arcgis-expand";
27
28
  }
28
- function s(t, e, i = "arcgisReady") {
29
- const r = t;
30
- if (r.view)
31
- e(r.view);
29
+ function s(e, t, r = "arcgisReady") {
30
+ const i = e;
31
+ if (i.view)
32
+ t(i.view);
32
33
  else {
33
- let n = function(o) {
34
- o.target === t && (s(t, e, i), t.removeEventListener(i, n));
34
+ let n = function(l) {
35
+ l.target === e && (s(e, t, r), e.removeEventListener(r, n));
35
36
  };
36
- t.addEventListener(i, n);
37
+ e.addEventListener(r, n);
37
38
  }
38
39
  }
39
- const y = (t, e) => s(t, (i) => {
40
- const r = d(e);
41
- e.el.shadowRoot ? t.content = e.el : e.el.childElem && t.content != null && r.append(e.el.childElem), e.el.view = i;
42
- }), l = (t, e, i) => s(
43
- t,
44
- (r) => {
45
- i && c(e), e.el.view = r, e.referenceElement = t;
40
+ const h = (e, t) => s(e, (r) => {
41
+ const i = d(t);
42
+ if (t.el.shadowRoot ? e.content = t.el : t.el.childElem && e.content != null && i.append(t.el.childElem), t.el.view = r, e.referenceElement) {
43
+ t.referenceElement = e.referenceElement;
44
+ return;
45
+ }
46
+ u(
47
+ () => e.referenceElement,
48
+ (n) => {
49
+ t.referenceElement = n;
50
+ },
51
+ {
52
+ once: !0
53
+ }
54
+ );
55
+ }), a = (e, t, r) => s(
56
+ e,
57
+ (i) => {
58
+ r && c(t), t.el.view = i, t.referenceElement = e;
46
59
  },
47
60
  "arcgisViewReadyChange"
48
61
  );
49
- function C(t) {
50
- return t == null || t === "";
62
+ function S(e) {
63
+ return e == null || e === "";
51
64
  }
52
- function N(t, e) {
53
- return t?.position === e?.position && t?.heading === e.heading && t?.tilt === e.tilt && t?.fov === e.fov;
65
+ function T(e, t) {
66
+ return e?.position === t?.position && e?.heading === t.heading && e?.tilt === t.tilt && e?.fov === t.fov;
54
67
  }
55
- function S(t, e) {
56
- return e === void 0 || t?.targetGeometry !== e?.targetGeometry || t?.rotation !== e?.rotation || t?.scale !== e?.scale;
68
+ function B(e, t) {
69
+ return t === void 0 || e?.targetGeometry !== t?.targetGeometry || e?.rotation !== t?.rotation || e?.scale !== t?.scale;
57
70
  }
58
- function R(t, e) {
59
- return f(e?.center, t);
71
+ function m(e, t) {
72
+ return f(t?.center, e);
60
73
  }
61
- function f(t, e) {
62
- if (typeof e == "string")
63
- return f(t, e.split(",").map(Number));
64
- if (!t)
65
- return e;
66
- if (Array.isArray(e)) {
67
- const i = e[0], r = e[1], n = e.length > 2 ? e[2] : void 0;
68
- if (i !== t.longitude || r !== t.latitude || n !== t.z)
69
- return e;
70
- } else if (e && !t?.equals(e))
71
- return e;
74
+ function f(e, t) {
75
+ if (typeof t == "string")
76
+ return f(e, t.split(",").map(Number));
77
+ if (!e)
78
+ return t;
79
+ if (Array.isArray(t)) {
80
+ const r = t[0], i = t[1], n = t.length > 2 ? t[2] : void 0;
81
+ if (r !== e.longitude || i !== e.latitude || n !== e.z)
82
+ return t;
83
+ } else if (t && !e?.equals(t))
84
+ return t;
72
85
  }
73
- function c(t) {
74
- t.el.childElem && d(t).append(t.el.childElem);
86
+ function c(e) {
87
+ e.el.childElem && d(e).append(e.el.childElem);
75
88
  }
76
- function d(t) {
77
- return t.el.shadowRoot ?? t.el;
89
+ function d(e) {
90
+ return e.el.shadowRoot ?? e.el;
78
91
  }
79
- function h(t, e) {
80
- const i = t.referenceElement;
81
- if (typeof i != "string")
82
- return i ?? void 0;
83
- const r = i.includes("#") || i.includes(".") || i.includes("["), n = t.el.getRootNode();
84
- return (r ? void 0 : n.querySelector(`#${i}`)) ?? n.querySelector(i) ?? void 0;
92
+ function y(e, t) {
93
+ const r = e.referenceElement;
94
+ if (typeof r != "string")
95
+ return r ?? void 0;
96
+ const i = r.includes("#") || r.includes(".") || r.includes("["), n = e.el.getRootNode();
97
+ return (i ? void 0 : n.querySelector(`#${r}`)) ?? n.querySelector(r) ?? void 0;
85
98
  }
86
- const T = (t) => t.el.childElem;
87
- async function p(t) {
88
- const e = typeof t == "function" ? t() : t;
89
- e && ("setFocus" in e && typeof e.setFocus == "function" ? await e.setFocus() : e instanceof HTMLElement && e.focus());
99
+ const q = (e) => e.el.childElem;
100
+ async function F(e) {
101
+ const t = typeof e == "function" ? e() : e;
102
+ t && ("setFocus" in t && typeof t.setFocus == "function" ? await t.setFocus() : t instanceof HTMLElement && t.focus());
90
103
  }
91
104
  export {
92
- v as a,
93
- N as b,
105
+ N as a,
106
+ T as b,
94
107
  f as c,
95
- C as d,
96
- T as g,
97
- S as i,
98
- R as p,
99
- p as s
108
+ S as d,
109
+ q as g,
110
+ B as i,
111
+ m as p,
112
+ F as s
100
113
  };