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

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 (495) hide show
  1. package/dist/cdn/{H3JJOTON.js → 27OLXDSF.js} +2 -2
  2. package/dist/cdn/{WVWW5FTO.js → 2DI73YIB.js} +2 -2
  3. package/dist/cdn/{LPV53QOR.js → 2F2NXYKC.js} +2 -2
  4. package/dist/cdn/{6TR3C4W7.js → 2HMB76Z5.js} +2 -2
  5. package/dist/cdn/{VSZ6MWHR.js → 2RQATXIO.js} +2 -2
  6. package/dist/cdn/{Y5ECN5RN.js → 2WWNPYIH.js} +2 -2
  7. package/dist/cdn/{TRGKRUEY.js → 32AM3PJ5.js} +2 -2
  8. package/dist/cdn/{HQRMKPHR.js → 3LIPNJER.js} +2 -2
  9. package/dist/cdn/{PTBGNUJM.js → 3PHUVNMO.js} +2 -2
  10. package/dist/cdn/{5RONE6G5.js → 3U4KMEXD.js} +2 -2
  11. package/dist/cdn/{TUU22AO6.js → 3YHA662Y.js} +2 -2
  12. package/dist/cdn/{PDTW4YVA.js → 3YNGI2TD.js} +2 -2
  13. package/dist/cdn/{QJQTAHNS.js → 44D2CQXK.js} +2 -2
  14. package/dist/cdn/{GRCPMP5I.js → 44LY3QB2.js} +2 -2
  15. package/dist/cdn/{5K7B7ZV3.js → 4HLE3NFA.js} +2 -2
  16. package/dist/cdn/{PIAPT753.js → 4RZ2KUNN.js} +2 -2
  17. package/dist/cdn/{6OBLJBSZ.js → 54WB3EST.js} +2 -2
  18. package/dist/cdn/{MIILDVMA.js → 576GJQTN.js} +2 -2
  19. package/dist/cdn/{ZQLSVPWL.js → 5T5JJGIY.js} +2 -2
  20. package/dist/cdn/5VJNY7VQ.js +4 -0
  21. package/dist/cdn/5WLA2JTM.js +4 -0
  22. package/dist/cdn/{IT3LUX3O.js → 62ACF4GK.js} +2 -2
  23. package/dist/cdn/{I52NZLXX.js → 6A5UTVGJ.js} +2 -2
  24. package/dist/cdn/{BXK33PBZ.js → 6DWBG7BD.js} +1 -1
  25. package/dist/cdn/{WPILMPPG.js → 6LADRP6U.js} +2 -2
  26. package/dist/cdn/{AT7HVKEZ.js → 6UMHGQQQ.js} +2 -2
  27. package/dist/cdn/{FRWCQ2AN.js → 75OXQ2H2.js} +1 -1
  28. package/dist/cdn/7AMVYS4J.js +4 -0
  29. package/dist/cdn/{2QQXT6S3.js → 7DDS4PSE.js} +2 -2
  30. package/dist/cdn/{VD6BHESH.js → 7MSVBRFX.js} +2 -2
  31. package/dist/cdn/7OFHFYVY.js +4 -0
  32. package/dist/cdn/{5AFYPDDT.js → 7ONVHE43.js} +2 -2
  33. package/dist/cdn/{PIH3NRT7.js → 7P4IZ3TJ.js} +2 -2
  34. package/dist/cdn/{I6QIB7JC.js → 7RMBEOAT.js} +2 -2
  35. package/dist/cdn/{RRTNNJPP.js → 7T3OMP3P.js} +2 -2
  36. package/dist/cdn/{SVWGIDDU.js → 7X66YHTY.js} +2 -2
  37. package/dist/cdn/{C7DCQBPT.js → 7ZTK5RNR.js} +2 -2
  38. package/dist/cdn/{EEVS67WB.js → A4XLJBOQ.js} +2 -2
  39. package/dist/cdn/{RQIUPQN4.js → AHWDCV4N.js} +2 -2
  40. package/dist/cdn/{RESW7W5U.js → AJTP62TS.js} +2 -2
  41. package/dist/cdn/{YWUALWAR.js → AMBRZDBB.js} +2 -2
  42. package/dist/cdn/{HYTYRGG4.js → AMFMXMYU.js} +2 -2
  43. package/dist/cdn/{4LHPWTSQ.js → AMG4CQWO.js} +2 -2
  44. package/dist/cdn/{LDR7F5EQ.js → API4DWYS.js} +2 -2
  45. package/dist/cdn/{D332NHX4.js → ARBQIEOZ.js} +2 -2
  46. package/dist/cdn/{RGWLLT5R.js → AVCXAEKW.js} +2 -2
  47. package/dist/cdn/{STEBIRS4.js → AZ2OINQZ.js} +2 -2
  48. package/dist/cdn/BAYBJSRA.js +4 -0
  49. package/dist/cdn/{X3ERGEZW.js → BHLLVXY4.js} +2 -2
  50. package/dist/cdn/{B3BDZMK4.js → BIW7LQAB.js} +2 -2
  51. package/dist/cdn/{REQDDBVN.js → BJLLWEDQ.js} +1 -1
  52. package/dist/cdn/{SNL2OTTM.js → BMHY3L6P.js} +2 -2
  53. package/dist/cdn/{WQTDRNT3.js → BR4XEJ4B.js} +2 -2
  54. package/dist/cdn/{TELHVYR4.js → BS72LKTC.js} +2 -2
  55. package/dist/cdn/{G54Y3XZX.js → BUQLVGX2.js} +2 -2
  56. package/dist/cdn/{ADXVD42H.js → BW3BKF7S.js} +2 -2
  57. package/dist/cdn/{UNORCWD2.js → BWTML5G2.js} +2 -2
  58. package/dist/cdn/{JY63CMAB.js → BZC6X3RM.js} +2 -2
  59. package/dist/cdn/{3LTZOKPZ.js → C2236CBZ.js} +1 -1
  60. package/dist/cdn/{RR5AN2LO.js → CF5WWETS.js} +2 -2
  61. package/dist/cdn/{RRFZLG2A.js → CKKEUYVF.js} +2 -2
  62. package/dist/cdn/{PQELEFJN.js → CRLVMPT6.js} +2 -2
  63. package/dist/cdn/{L5R3WRXO.js → CV67UIOI.js} +2 -2
  64. package/dist/cdn/{RRSFGBWH.js → DDDCENIA.js} +2 -2
  65. package/dist/cdn/{4J7UXW4V.js → DF6FT47K.js} +2 -2
  66. package/dist/cdn/{6V2MNKRP.js → DFGIY6KN.js} +2 -2
  67. package/dist/cdn/{4TPCMFWZ.js → DFXD6UAY.js} +2 -2
  68. package/dist/cdn/{VX7UD4NL.js → DOQSCVJD.js} +1 -1
  69. package/dist/cdn/{LJGUZAHH.js → DPL4VHPW.js} +2 -2
  70. package/dist/cdn/{7OXV6AQA.js → DTW55COI.js} +2 -2
  71. package/dist/cdn/{7BBQPJCM.js → DXMYVDTD.js} +2 -2
  72. package/dist/cdn/{JQ5GUQ7P.js → E5R6OKXP.js} +2 -2
  73. package/dist/cdn/{6DTQPNPV.js → E7UOBFTE.js} +2 -2
  74. package/dist/cdn/{UEGRTPH3.js → EAW4FQUJ.js} +2 -2
  75. package/dist/cdn/EHFI4NFD.js +4 -0
  76. package/dist/cdn/EHMZR5TR.js +4 -0
  77. package/dist/cdn/{MJTBUONI.js → EJG47NJ4.js} +2 -2
  78. package/dist/cdn/{YKC76WL2.js → EKGSDQRG.js} +2 -2
  79. package/dist/cdn/{HYQZEUBU.js → EO3JN6RG.js} +2 -2
  80. package/dist/cdn/{R47O2BDP.js → EOCT6FGC.js} +2 -2
  81. package/dist/cdn/{SWZPUBX6.js → EQBVGZUT.js} +2 -2
  82. package/dist/cdn/{JQMPF5IV.js → EQDSFFHS.js} +2 -2
  83. package/dist/cdn/{34OUIPI6.js → ES26WJJB.js} +2 -2
  84. package/dist/cdn/EU5DIWMP.js +4 -0
  85. package/dist/cdn/{NSWHZFRT.js → EVNKT7CS.js} +2 -2
  86. package/dist/cdn/{4LG44MCV.js → EZXIWACW.js} +2 -2
  87. package/dist/cdn/{LHRDTGQY.js → F7YID2WS.js} +2 -2
  88. package/dist/cdn/{AFQCY6M5.js → FBKD2FUV.js} +2 -2
  89. package/dist/cdn/{6P4FNYFK.js → FMOTQNWT.js} +2 -2
  90. package/dist/cdn/{7M3YBBT4.js → FO5HN26Z.js} +2 -2
  91. package/dist/cdn/{ZXFC3OPO.js → FPDZK5KF.js} +2 -2
  92. package/dist/cdn/{B3TRMHSU.js → FRJJS6WF.js} +2 -2
  93. package/dist/cdn/{LUIM6R3C.js → FYCB5LC4.js} +2 -2
  94. package/dist/cdn/{WK5SF3NM.js → G4FVGNVY.js} +2 -2
  95. package/dist/cdn/{O7W3JZFF.js → G5PMGVU4.js} +2 -2
  96. package/dist/cdn/{Y363VSHL.js → G7AINTVJ.js} +2 -2
  97. package/dist/cdn/{A7EK4YU5.js → GANTC2JR.js} +2 -2
  98. package/dist/cdn/{PTVDQWLH.js → GCLPCPGB.js} +2 -2
  99. package/dist/cdn/{XI2OTXXN.js → GFZEN7IR.js} +2 -2
  100. package/dist/cdn/{LHZIRPAB.js → GQTIMLNH.js} +2 -2
  101. package/dist/cdn/{IDDFJ4DV.js → GWSNNZXP.js} +2 -2
  102. package/dist/cdn/{H3LWJIDF.js → HDNA5F6G.js} +2 -2
  103. package/dist/cdn/{OKDOTHSU.js → HQVB755E.js} +2 -2
  104. package/dist/cdn/{66XP7ISP.js → HUMIV3VH.js} +2 -2
  105. package/dist/cdn/{PLSSYDMD.js → I3FHEM2H.js} +2 -2
  106. package/dist/cdn/IB4GIMGM.js +4 -0
  107. package/dist/cdn/{V27L2ZBV.js → IFZJKELT.js} +2 -2
  108. package/dist/cdn/{VFF44TJ6.js → IPFACLKD.js} +2 -2
  109. package/dist/cdn/{EHSC3ELP.js → IVS6B4TK.js} +2 -2
  110. package/dist/cdn/IWZMOW4V.js +4 -0
  111. package/dist/cdn/{PQFM7YFO.js → J4VS6ZIF.js} +2 -2
  112. package/dist/cdn/{IUY6HYRA.js → JCHQDIR6.js} +2 -2
  113. package/dist/cdn/{EBLK7WAD.js → JE4BSPXI.js} +2 -2
  114. package/dist/cdn/{CI7PXTLU.js → JLMYKOTB.js} +2 -2
  115. package/dist/cdn/{7HIVI5W6.js → JU3SPL5S.js} +2 -2
  116. package/dist/cdn/{752MVXWG.js → K2F7CBO6.js} +2 -2
  117. package/dist/cdn/{RYP3YAQU.js → KCGCGEF7.js} +2 -2
  118. package/dist/cdn/{3QEGCSXN.js → KD57RLBJ.js} +2 -2
  119. package/dist/cdn/{R52GAK7D.js → KGX5BMVF.js} +2 -2
  120. package/dist/cdn/{GFOOUTML.js → KSXL7KZW.js} +2 -2
  121. package/dist/cdn/{F67NPTF5.js → KUJNPIQB.js} +2 -2
  122. package/dist/cdn/{SAUW35NW.js → KYJ6ODES.js} +2 -2
  123. package/dist/cdn/{B4YSX2BI.js → LFERT3PE.js} +1 -1
  124. package/dist/cdn/{UODLYZYS.js → LHPNHGL5.js} +2 -2
  125. package/dist/cdn/LOD2SN53.js +4 -0
  126. package/dist/cdn/{BU6LB2N4.js → LU2ZEFNK.js} +2 -2
  127. package/dist/cdn/{IURKMZB2.js → M4TTKFBW.js} +2 -2
  128. package/dist/cdn/{F26G26OG.js → MD5JUHBL.js} +2 -2
  129. package/dist/cdn/{3LFISTCL.js → MFNCONT5.js} +2 -2
  130. package/dist/cdn/{HNRGCE2E.js → MI6G3PVS.js} +2 -2
  131. package/dist/cdn/{AN73DPMU.js → MIZIJT77.js} +1 -1
  132. package/dist/cdn/{WAQVWOOL.js → MK6DQGSF.js} +2 -2
  133. package/dist/cdn/{OM64AHWG.js → MLMK5DYB.js} +2 -2
  134. package/dist/cdn/MNQPVVH3.js +4 -0
  135. package/dist/cdn/{466INVOH.js → MQL4RPHT.js} +2 -2
  136. package/dist/cdn/{GLOIWZ3O.js → MQL72DKL.js} +2 -2
  137. package/dist/cdn/{7LENP7UQ.js → MSZQYK2V.js} +2 -2
  138. package/dist/cdn/{WFURIXQT.js → MUQAKAUR.js} +2 -2
  139. package/dist/cdn/{M57KTCMF.js → NIX62YJ5.js} +2 -2
  140. package/dist/cdn/{7IIYFAL2.js → NK4JJJ3J.js} +1 -1
  141. package/dist/cdn/{A7BICR4O.js → O3BCMGPN.js} +2 -2
  142. package/dist/cdn/O65PIWHP.js +4 -0
  143. package/dist/cdn/{HBH2NXCY.js → OI7L5JYC.js} +2 -2
  144. package/dist/cdn/{FFQ5PPQJ.js → OMYEERQN.js} +2 -2
  145. package/dist/cdn/{NCDGWPV7.js → OO7IZEBI.js} +2 -2
  146. package/dist/cdn/OXUZ35GH.js +5 -0
  147. package/dist/cdn/{FVILGVFZ.js → P34SUK6J.js} +2 -2
  148. package/dist/cdn/{X54JTEIS.js → PC45POAO.js} +2 -2
  149. package/dist/cdn/{OR5HVPGI.js → PG4JSSVK.js} +2 -2
  150. package/dist/cdn/{A2W2SQO4.js → PG4Z6IM6.js} +2 -2
  151. package/dist/cdn/PGKZ2HPF.js +4 -0
  152. package/dist/cdn/{M5TG4CFU.js → PM4SNJDH.js} +2 -2
  153. package/dist/cdn/PMSGGWUW.js +4 -0
  154. package/dist/cdn/{VS3WT3CK.js → Q6DSCXON.js} +2 -2
  155. package/dist/cdn/{CP2HQZUP.js → QMC3TY3W.js} +2 -2
  156. package/dist/cdn/QP3MAEDM.js +4 -0
  157. package/dist/cdn/{FON2DRNE.js → QWRWNIDQ.js} +2 -2
  158. package/dist/cdn/{CP23UGPK.js → QWW3MHGA.js} +2 -2
  159. package/dist/cdn/{Q6JTY2DJ.js → R2S3OK5G.js} +1 -1
  160. package/dist/cdn/{ILRNOAV4.js → R4DMYEQC.js} +2 -2
  161. package/dist/cdn/{GIBKNUFW.js → R5W7EQYL.js} +2 -2
  162. package/dist/cdn/{LUGLNVKJ.js → R67Q3OIO.js} +2 -2
  163. package/dist/cdn/{3TXEUTMX.js → R7CXX3HM.js} +2 -2
  164. package/dist/cdn/{RVLHZ2VH.js → RGNZOLUW.js} +2 -2
  165. package/dist/cdn/{QQ7NXCBU.js → RHKQGAZU.js} +2 -2
  166. package/dist/cdn/{XGEGIP2X.js → RJ2F4ZE6.js} +2 -2
  167. package/dist/cdn/{C63TPNGG.js → RJPMPWQK.js} +2 -2
  168. package/dist/cdn/RQX5L4VL.js +4 -0
  169. package/dist/cdn/{Q3ICPLQZ.js → RXFIRFZE.js} +2 -2
  170. package/dist/cdn/{RZEP2TRT.js → S2R2RQ6R.js} +2 -2
  171. package/dist/cdn/SDICLWFI.js +4 -0
  172. package/dist/cdn/{PD2HATHB.js → SEDGRHB7.js} +2 -2
  173. package/dist/cdn/SGARZDQH.js +4 -0
  174. package/dist/cdn/{6UIGZRW5.js → SIPZMYB4.js} +2 -2
  175. package/dist/cdn/{NAUZASE4.js → SNWM3QNT.js} +2 -2
  176. package/dist/cdn/{LYR5T5U2.js → STOVGTPC.js} +2 -2
  177. package/dist/cdn/{FESFNS34.js → U2SXGKX4.js} +2 -2
  178. package/dist/cdn/{AEQ2EA5V.js → UB43YIRC.js} +2 -2
  179. package/dist/cdn/{E734O7ZN.js → UBAX43ZI.js} +2 -2
  180. package/dist/cdn/UDXVD5XZ.js +4 -0
  181. package/dist/cdn/{UL7MLQKU.js → UEGTZRQO.js} +2 -2
  182. package/dist/cdn/{3BKVP63O.js → UFJJSQPL.js} +2 -2
  183. package/dist/cdn/UGGH2ZYL.js +4 -0
  184. package/dist/cdn/{SXGMPEP3.js → UP6V7HAC.js} +2 -2
  185. package/dist/cdn/{C3PGIIHL.js → UUBRHGGR.js} +2 -2
  186. package/dist/cdn/{HK3XAWSI.js → UVKUXDIO.js} +2 -2
  187. package/dist/cdn/VAE46PTT.js +4 -0
  188. package/dist/cdn/{NKFSCGG6.js → VCWGFFLB.js} +2 -2
  189. package/dist/cdn/{PV45DKP7.js → VF5ZEZIA.js} +2 -2
  190. package/dist/cdn/{W75DFBEN.js → VGOXORF3.js} +2 -2
  191. package/dist/cdn/{J6KG2Z45.js → VHLNK34F.js} +2 -2
  192. package/dist/cdn/VVFA7BGW.js +4 -0
  193. package/dist/cdn/{X2P2BANB.js → W2ENKEBL.js} +2 -2
  194. package/dist/cdn/{EBH3NORE.js → W5T3D66S.js} +2 -2
  195. package/dist/cdn/{ZCOROTYT.js → WDLQOKMF.js} +2 -2
  196. package/dist/cdn/WHXM4RSM.js +4 -0
  197. package/dist/cdn/{ZXUX6MFW.js → WI5OAAU5.js} +2 -2
  198. package/dist/cdn/{52TIW2GW.js → WPSYRM5U.js} +2 -2
  199. package/dist/cdn/WQX34SJR.js +4 -0
  200. package/dist/cdn/{O6ETD4MH.js → WSROCQLI.js} +2 -2
  201. package/dist/cdn/{MBMBYUJM.js → WYSUU2YF.js} +2 -2
  202. package/dist/cdn/{X262DH36.js → X2HGZACW.js} +2 -2
  203. package/dist/cdn/{DK6N3VRZ.js → X73IB46P.js} +2 -2
  204. package/dist/cdn/{XSRIC2UT.js → XAAWUQP3.js} +2 -2
  205. package/dist/cdn/{5PSO47CO.js → XITYDU6J.js} +2 -2
  206. package/dist/cdn/XPV6WDON.js +4 -0
  207. package/dist/cdn/{QL45S7N3.js → XUUYGDDT.js} +2 -2
  208. package/dist/cdn/{UTKHOHKS.js → Y3OSDFR4.js} +2 -2
  209. package/dist/cdn/{S6KB7IUN.js → YGHWVOXY.js} +2 -2
  210. package/dist/cdn/YIIAEYM6.js +4 -0
  211. package/dist/cdn/{ZG5YI3R5.js → YXSNZP3J.js} +2 -2
  212. package/dist/cdn/{U3KXM6JN.js → YY62WYQK.js} +1 -1
  213. package/dist/cdn/{V3W3XWBZ.js → Z3AW5R2E.js} +2 -2
  214. package/dist/cdn/Z3OUKTDA.js +4 -0
  215. package/dist/cdn/{DHEMTNFY.js → Z3P3YHQ6.js} +2 -2
  216. package/dist/cdn/{YA5LAKIG.js → ZEHTSMNI.js} +2 -2
  217. package/dist/cdn/{2NGYP2TU.js → ZEKB6D5C.js} +2 -2
  218. package/dist/cdn/{PHS7UW45.js → ZIIGODZS.js} +2 -2
  219. package/dist/cdn/{SSWX5ZC5.js → ZY3XCOUK.js} +2 -2
  220. package/dist/cdn/{KRGNBQ5Z.js → ZYM4PPCW.js} +2 -2
  221. package/dist/cdn/{ZJXPCSTB.js → ZZ7RT7QM.js} +2 -2
  222. package/dist/cdn/{4ELLMRLV.js → ZZRSXHDL.js} +2 -2
  223. package/dist/cdn/assets/feature/t9n/messages.en.json +1 -1
  224. package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.en.json +1 -1
  225. package/dist/cdn/assets/utility-network-trace-location/t9n/messages.en.json +1 -0
  226. package/dist/cdn/index.js +2 -2
  227. package/dist/cdn/main.css +1 -1
  228. package/dist/chunks/AnalysisViewModel.js +1 -1
  229. package/dist/chunks/action-utils.js +1 -1
  230. package/dist/chunks/async-utils.js +1 -1
  231. package/dist/chunks/basemap-gallery-resources.js +1 -1
  232. package/dist/chunks/chart-utils.js +1 -1
  233. package/dist/chunks/chartCommon.js +1 -1
  234. package/dist/chunks/component-utils.js +1 -1
  235. package/dist/chunks/createCloseEvent.js +1 -1
  236. package/dist/chunks/esri-main.js +2 -2
  237. package/dist/chunks/feature-utils.js +152 -107
  238. package/dist/chunks/globalCss.js +1 -1
  239. package/dist/chunks/heading.js +1 -1
  240. package/dist/chunks/layer-list.js +1 -1
  241. package/dist/chunks/legacyIcon.js +1 -1
  242. package/dist/chunks/maybe.js +1 -1
  243. package/dist/chunks/measurementUtils.js +1 -1
  244. package/dist/chunks/runtime.js +1 -1
  245. package/dist/chunks/screenLocation.js +1 -1
  246. package/dist/chunks/slots.js +1 -1
  247. package/dist/chunks/svgUtils.js +1 -1
  248. package/dist/chunks/univariateUtils.js +1 -1
  249. package/dist/chunks/useArcgisViewReadyError.js +86 -0
  250. package/dist/chunks/useHandles.js +1 -1
  251. package/dist/chunks/useT9n.js +1 -1
  252. package/dist/chunks/useView.js +1 -1
  253. package/dist/chunks/useViewModel.js +1 -1
  254. package/dist/chunks/useWidget.js +1 -1
  255. package/dist/chunks/utils.js +11 -16
  256. package/dist/chunks/utils2.js +1 -1
  257. package/dist/components/arcgis-area-measurement-2d/customElement.d.ts +2 -2
  258. package/dist/components/arcgis-area-measurement-2d/customElement.js +1 -1
  259. package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +1 -1
  260. package/dist/components/arcgis-area-measurement-3d/customElement.js +1 -1
  261. package/dist/components/arcgis-attachments/customElement.d.ts +4 -4
  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.d.ts +1 -1
  266. package/dist/components/arcgis-basemap-layer-list/customElement.js +1 -1
  267. package/dist/components/arcgis-basemap-toggle/customElement.js +1 -1
  268. package/dist/components/arcgis-bookmarks/customElement.js +1 -1
  269. package/dist/components/arcgis-building-explorer/customElement.d.ts +1 -1
  270. package/dist/components/arcgis-building-explorer/customElement.js +1 -1
  271. package/dist/components/arcgis-catalog-layer-list/customElement.d.ts +1 -1
  272. package/dist/components/arcgis-catalog-layer-list/customElement.js +1 -1
  273. package/dist/components/arcgis-compass/customElement.js +1 -1
  274. package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +2 -2
  275. package/dist/components/arcgis-coordinate-conversion/customElement.js +80 -71
  276. package/dist/components/arcgis-daylight/customElement.js +1 -1
  277. package/dist/components/arcgis-direct-line-measurement-3d/customElement.d.ts +1 -1
  278. package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +1 -1
  279. package/dist/components/arcgis-directional-pad/customElement.js +1 -1
  280. package/dist/components/arcgis-directions/customElement.d.ts +1 -1
  281. package/dist/components/arcgis-directions/customElement.js +1 -1
  282. package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +2 -2
  283. package/dist/components/arcgis-distance-measurement-2d/customElement.js +1 -1
  284. package/dist/components/arcgis-editor/customElement.d.ts +1 -1
  285. package/dist/components/arcgis-editor/customElement.js +1 -1
  286. package/dist/components/arcgis-elevation-profile/customElement.d.ts +4 -4
  287. package/dist/components/arcgis-elevation-profile/customElement.js +1 -1
  288. package/dist/components/arcgis-elevation-profile-legend/customElement.js +1 -1
  289. package/dist/components/arcgis-elevation-profile-legend-item/customElement.js +1 -1
  290. package/dist/components/arcgis-elevation-profile-next/customElement.d.ts +3 -3
  291. package/dist/components/arcgis-elevation-profile-next/customElement.js +1 -1
  292. package/dist/components/arcgis-elevation-profile-settings/customElement.js +1 -1
  293. package/dist/components/arcgis-elevation-profile-statistics/customElement.js +1 -1
  294. package/dist/components/arcgis-expand/customElement.js +1 -1
  295. package/dist/components/arcgis-feature/customElement.d.ts +5 -4
  296. package/dist/components/arcgis-feature/customElement.js +88 -75
  297. package/dist/components/arcgis-feature/index.d.ts +1 -0
  298. package/dist/components/arcgis-feature/index.js +1 -0
  299. package/dist/components/arcgis-feature-attachments/customElement.js +1 -1
  300. package/dist/components/arcgis-feature-content/customElement.js +2 -2
  301. package/dist/components/arcgis-feature-element-info/customElement.js +1 -1
  302. package/dist/components/arcgis-feature-expression/customElement.js +1 -1
  303. package/dist/components/arcgis-feature-fields/customElement.d.ts +5 -0
  304. package/dist/components/arcgis-feature-fields/customElement.js +38 -34
  305. package/dist/components/arcgis-feature-form/customElement.d.ts +3 -3
  306. package/dist/components/arcgis-feature-form/customElement.js +1 -1
  307. package/dist/components/arcgis-feature-media/customElement.js +177 -176
  308. package/dist/components/arcgis-feature-relationship/customElement.js +1 -1
  309. package/dist/components/arcgis-feature-table/customElement.d.ts +3 -3
  310. package/dist/components/arcgis-feature-table/customElement.js +1 -1
  311. package/dist/components/arcgis-feature-templates/customElement.d.ts +1 -1
  312. package/dist/components/arcgis-feature-templates/customElement.js +1 -1
  313. package/dist/components/arcgis-feature-utility-network-association-list/customElement.d.ts +23 -0
  314. package/dist/components/arcgis-feature-utility-network-association-list/customElement.js +123 -0
  315. package/dist/components/arcgis-feature-utility-network-association-list/index.d.ts +8 -0
  316. package/dist/components/arcgis-feature-utility-network-association-list/index.js +8 -0
  317. package/dist/components/arcgis-feature-utility-network-associations/customElement.d.ts +73 -0
  318. package/dist/components/arcgis-feature-utility-network-associations/customElement.js +506 -0
  319. package/dist/components/arcgis-feature-utility-network-associations/index.d.ts +8 -0
  320. package/dist/components/arcgis-feature-utility-network-associations/index.js +8 -0
  321. package/dist/components/arcgis-features/customElement.d.ts +3 -4
  322. package/dist/components/arcgis-features/customElement.js +3 -3
  323. package/dist/components/arcgis-floor-filter/customElement.d.ts +1 -1
  324. package/dist/components/arcgis-floor-filter/customElement.js +1 -1
  325. package/dist/components/arcgis-fullscreen/customElement.js +1 -1
  326. package/dist/components/arcgis-grid-controls/customElement.js +1 -1
  327. package/dist/components/arcgis-histogram-range-slider/customElement.d.ts +2 -2
  328. package/dist/components/arcgis-histogram-range-slider/customElement.js +1 -1
  329. package/dist/components/arcgis-home/customElement.d.ts +1 -1
  330. package/dist/components/arcgis-home/customElement.js +1 -1
  331. package/dist/components/arcgis-labeled-switch/customElement.js +1 -1
  332. package/dist/components/arcgis-layer-list/customElement.d.ts +1 -1
  333. package/dist/components/arcgis-layer-list/customElement.js +1 -1
  334. package/dist/components/arcgis-layer-list-item/customElement.js +1 -1
  335. package/dist/components/arcgis-legend/customElement.js +1 -1
  336. package/dist/components/arcgis-legend-card-color-ramp/customElement.js +1 -1
  337. package/dist/components/arcgis-legend-card-element/customElement.js +1 -1
  338. package/dist/components/arcgis-legend-card-size-ramp/customElement.js +1 -1
  339. package/dist/components/arcgis-legend-card-univariate-above-and-below-ramp/customElement.js +12 -12
  340. package/dist/components/arcgis-legend-card-univariate-color-size-ramp/customElement.js +9 -9
  341. package/dist/components/arcgis-legend-card-view/customElement.js +1 -1
  342. package/dist/components/arcgis-legend-classic-color-ramp/customElement.js +1 -1
  343. package/dist/components/arcgis-legend-classic-element/customElement.js +1 -1
  344. package/dist/components/arcgis-legend-classic-size-ramp/customElement.js +1 -1
  345. package/dist/components/arcgis-legend-classic-univariate-above-and-below-ramp/customElement.js +1 -1
  346. package/dist/components/arcgis-legend-classic-univariate-color-size-ramp/customElement.js +1 -1
  347. package/dist/components/arcgis-legend-classic-view/customElement.js +1 -1
  348. package/dist/components/arcgis-legend-relationship-ramp/customElement.js +1 -1
  349. package/dist/components/arcgis-legend-spike-ramp/customElement.js +1 -1
  350. package/dist/components/arcgis-line-of-sight/customElement.js +1 -1
  351. package/dist/components/arcgis-link-chart/customElement.d.ts +29 -3
  352. package/dist/components/arcgis-link-chart/customElement.js +11 -11
  353. package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +1 -1
  354. package/dist/components/arcgis-locate/customElement.js +1 -1
  355. package/dist/components/arcgis-map/customElement.d.ts +67 -36
  356. package/dist/components/arcgis-map/customElement.js +20 -20
  357. package/dist/components/arcgis-measurement/customElement.d.ts +4 -4
  358. package/dist/components/arcgis-measurement/customElement.js +1 -1
  359. package/dist/components/arcgis-measurement-content/customElement.js +1 -1
  360. package/dist/components/arcgis-navigation-toggle/customElement.js +1 -1
  361. package/dist/components/arcgis-oriented-imagery-viewer/customElement.d.ts +2 -2
  362. package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +1 -1
  363. package/dist/components/arcgis-placement/customElement.js +1 -1
  364. package/dist/components/arcgis-popup/customElement.d.ts +3 -4
  365. package/dist/components/arcgis-popup/customElement.js +1 -1
  366. package/dist/components/arcgis-print/customElement.js +1 -1
  367. package/dist/components/arcgis-print/utils.d.ts +1 -1
  368. package/dist/components/arcgis-print-custom-text-elements/customElement.js +1 -1
  369. package/dist/components/arcgis-print-dpi-input/customElement.js +1 -1
  370. package/dist/components/arcgis-print-export-button/customElement.js +1 -1
  371. package/dist/components/arcgis-print-exported-link/customElement.js +38 -48
  372. package/dist/components/arcgis-print-exports-panel/customElement.js +4 -4
  373. package/dist/components/arcgis-print-format-select/customElement.js +1 -1
  374. package/dist/components/arcgis-print-layout-advanced-options/customElement.js +1 -1
  375. package/dist/components/arcgis-print-layout-panel/customElement.js +1 -1
  376. package/dist/components/arcgis-print-main-panel/customElement.js +1 -1
  377. package/dist/components/arcgis-print-map-only-advanced-options/customElement.js +1 -1
  378. package/dist/components/arcgis-print-map-only-panel/customElement.js +1 -1
  379. package/dist/components/arcgis-print-out-spatial-reference-input/customElement.js +1 -1
  380. package/dist/components/arcgis-print-preview-input/customElement.js +1 -1
  381. package/dist/components/arcgis-print-scale-section/customElement.js +1 -1
  382. package/dist/components/arcgis-print-template-select/customElement.js +17 -15
  383. package/dist/components/arcgis-print-template-selector/customElement.js +1 -1
  384. package/dist/components/arcgis-scale-bar/customElement.js +1 -1
  385. package/dist/components/arcgis-scale-range-slider/customElement.d.ts +1 -1
  386. package/dist/components/arcgis-scale-range-slider/customElement.js +1 -1
  387. package/dist/components/arcgis-scene/customElement.d.ts +31 -5
  388. package/dist/components/arcgis-scene/customElement.js +16 -16
  389. package/dist/components/arcgis-search/customElement.d.ts +1 -1
  390. package/dist/components/arcgis-search/customElement.js +1 -1
  391. package/dist/components/arcgis-search-result-renderer/customElement.d.ts +2 -0
  392. package/dist/components/arcgis-search-result-renderer/customElement.js +1 -1
  393. package/dist/components/arcgis-shadow-cast/customElement.d.ts +2 -2
  394. package/dist/components/arcgis-shadow-cast/customElement.js +2 -2
  395. package/dist/components/arcgis-sketch/customElement.d.ts +3 -3
  396. package/dist/components/arcgis-sketch/customElement.js +1 -1
  397. package/dist/components/arcgis-slice/customElement.js +1 -1
  398. package/dist/components/arcgis-spinner/customElement.js +1 -1
  399. package/dist/components/arcgis-swipe/customElement.js +1 -1
  400. package/dist/components/arcgis-table-list/customElement.d.ts +2 -2
  401. package/dist/components/arcgis-table-list/customElement.js +1 -1
  402. package/dist/components/arcgis-time-slider/customElement.d.ts +2 -2
  403. package/dist/components/arcgis-time-slider/customElement.js +1 -1
  404. package/dist/components/arcgis-time-zone-label/customElement.js +1 -1
  405. package/dist/components/arcgis-track/customElement.js +1 -1
  406. package/dist/components/arcgis-unit-select/customElement.js +1 -1
  407. package/dist/components/arcgis-utility-network-association-list/customElement.d.ts +27 -0
  408. package/dist/components/arcgis-utility-network-association-list/customElement.js +110 -0
  409. package/dist/components/arcgis-utility-network-association-list/index.d.ts +4 -0
  410. package/dist/components/arcgis-utility-network-association-list/index.js +4 -0
  411. package/dist/components/arcgis-utility-network-association-list/types.d.ts +2 -0
  412. package/dist/components/arcgis-utility-network-associations/customElement.d.ts +1 -1
  413. package/dist/components/arcgis-utility-network-associations/customElement.js +2 -2
  414. package/dist/components/arcgis-utility-network-result-feature-list/customElement.js +1 -1
  415. package/dist/components/arcgis-utility-network-trace/customElement.d.ts +1 -1
  416. package/dist/components/arcgis-utility-network-trace/customElement.js +1 -1
  417. package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +13 -34
  418. package/dist/components/arcgis-utility-network-trace-inputs/customElement.d.ts +4 -2
  419. package/dist/components/arcgis-utility-network-trace-inputs/customElement.js +149 -35
  420. package/dist/components/arcgis-utility-network-trace-inputs/index.d.ts +6 -2
  421. package/dist/components/arcgis-utility-network-trace-inputs/index.js +6 -2
  422. package/dist/components/arcgis-utility-network-trace-location/customElement.d.ts +44 -0
  423. package/dist/components/arcgis-utility-network-trace-location/customElement.js +194 -0
  424. package/dist/components/arcgis-utility-network-trace-location/index.d.ts +3 -0
  425. package/dist/components/arcgis-utility-network-trace-location/index.js +3 -0
  426. package/dist/components/arcgis-utility-network-trace-results/customElement.js +1 -1
  427. package/dist/components/arcgis-utility-network-validate-topology/customElement.d.ts +1 -1
  428. package/dist/components/arcgis-utility-network-validate-topology/customElement.js +2 -2
  429. package/dist/components/arcgis-value-picker/customElement.d.ts +2 -2
  430. package/dist/components/arcgis-value-picker/customElement.js +1 -1
  431. package/dist/components/arcgis-version-management/customElement.js +2 -2
  432. package/dist/components/arcgis-version-management-service-item/customElement.js +1 -1
  433. package/dist/components/arcgis-version-management-version-list/customElement.js +42 -27
  434. package/dist/components/arcgis-version-management-version-list/index.d.ts +2 -1
  435. package/dist/components/arcgis-version-management-version-list/index.js +2 -1
  436. package/dist/components/arcgis-version-management-version-properties/customElement.js +1 -1
  437. package/dist/components/arcgis-video/customElement.d.ts +2 -2
  438. package/dist/components/arcgis-video/customElement.js +1 -1
  439. package/dist/components/arcgis-video-player/customElement.d.ts +1 -1
  440. package/dist/components/arcgis-video-player/customElement.js +1 -1
  441. package/dist/components/arcgis-video-player-action-bar/customElement.js +1 -1
  442. package/dist/components/arcgis-video-player-actions-group/customElement.js +1 -1
  443. package/dist/components/arcgis-video-player-controls-group/customElement.js +1 -1
  444. package/dist/components/arcgis-video-player-metadata/customElement.js +1 -1
  445. package/dist/components/arcgis-video-player-settings/customElement.js +1 -1
  446. package/dist/components/arcgis-video-player-slider/customElement.js +1 -1
  447. package/dist/components/arcgis-weather/customElement.js +1 -1
  448. package/dist/components/arcgis-zoom/customElement.js +1 -1
  449. package/dist/controllers/useArcgisLoadError.d.ts +27 -0
  450. package/dist/controllers/useArcgisViewReadyError.d.ts +17 -0
  451. package/dist/docs/api.json +674 -56
  452. package/dist/docs/docs.json +707 -78
  453. package/dist/docs/vscode.html-custom-data.json +39 -9
  454. package/dist/docs/web-types.json +200 -43
  455. package/dist/index.d.ts +27 -0
  456. package/dist/index.js +1 -1
  457. package/dist/loader.js +12 -9
  458. package/dist/support/measurementUtils.d.ts +2 -2
  459. package/dist/types/lumina.d.ts +17 -3
  460. package/dist/types/preact.d.ts +18 -3
  461. package/dist/types/preact10.d.ts +19 -3
  462. package/dist/types/react.d.ts +19 -3
  463. package/dist/types/stencil.d.ts +17 -3
  464. package/dist/utils/feature-utils.d.ts +16 -1
  465. package/dist/utils/layer-utils.d.ts +4 -0
  466. package/package.json +3 -3
  467. package/dist/cdn/26MREIVX.js +0 -4
  468. package/dist/cdn/2HCAQJDA.js +0 -4
  469. package/dist/cdn/2OPKEDRF.js +0 -4
  470. package/dist/cdn/2U56XZA5.js +0 -4
  471. package/dist/cdn/6WKL7XXK.js +0 -4
  472. package/dist/cdn/AWI3K6XR.js +0 -4
  473. package/dist/cdn/DELN7ZGL.js +0 -5
  474. package/dist/cdn/FENOD7H6.js +0 -4
  475. package/dist/cdn/FHIPTY2Q.js +0 -4
  476. package/dist/cdn/FSHOPPLQ.js +0 -4
  477. package/dist/cdn/FSU3E6AQ.js +0 -4
  478. package/dist/cdn/G4H5D4DJ.js +0 -4
  479. package/dist/cdn/H7YNL2TB.js +0 -4
  480. package/dist/cdn/HJU6AZMW.js +0 -4
  481. package/dist/cdn/HQCVE2GO.js +0 -4
  482. package/dist/cdn/HVWVEPEF.js +0 -4
  483. package/dist/cdn/IC6SSSQO.js +0 -4
  484. package/dist/cdn/IN4RK6U7.js +0 -4
  485. package/dist/cdn/KRM4ZBQX.js +0 -4
  486. package/dist/cdn/MDSY3NEJ.js +0 -4
  487. package/dist/cdn/MROG6VEE.js +0 -4
  488. package/dist/cdn/N4IL4AAP.js +0 -4
  489. package/dist/cdn/UKIS5KFN.js +0 -4
  490. package/dist/cdn/WVIM6FIJ.js +0 -4
  491. package/dist/chunks/uiController.js +0 -50
  492. package/dist/components/arcgis-version-management-version-item/customElement.d.ts +0 -22
  493. package/dist/components/arcgis-version-management-version-item/customElement.js +0 -30
  494. package/dist/components/arcgis-version-management-version-item/index.d.ts +0 -5
  495. package/dist/components/arcgis-version-management-version-item/index.js +0 -5
@@ -1,39 +1,120 @@
1
- import { c } from "../../chunks/runtime.js";
2
- import { repeat as l } from "lit/directives/repeat.js";
3
- import { LitElement as u, createEvent as n } from "@arcgis/lumina";
4
- import { u as d } from "../../chunks/useT9n.js";
5
- import { css as h, html as s } from "lit";
1
+ import { c as f } from "../../chunks/runtime.js";
2
+ import { repeat as d } from "lit/directives/repeat.js";
3
+ import o from "@arcgis/core/core/Collection.js";
4
+ import k from "@arcgis/core/layers/GraphicsLayer.js";
5
+ import { LitElement as m, createEvent as h, safeClassMap as g } from "@arcgis/lumina";
6
+ import { css as _, html as c } from "lit";
7
+ import { u as L } from "../../chunks/useT9n.js";
8
+ import l from "@arcgis/core/views/interactive/snapping/FeatureSnappingLayerSource.js";
9
+ import $ from "@arcgis/core/widgets/Sketch/SketchViewModel.js";
6
10
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
7
11
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
8
- v5.0.0-next.5 */
9
- const g = h`:host{min-width:300px}.arcgis-utility-network-trace-inputs calcite-block{--calcite-block-border-color: transparent;margin:0;background-color:transparent}.arcgis-utility-network-trace-inputs calcite-block calcite-label:last-child{--calcite-label-margin-bottom: 0}.arcgis-utility-network-trace-inputs calcite-notice{padding:var(--calcite-spacing-xs)}`, o = "map-components:utility-network-trace-inputs";
10
- class w extends u {
12
+ v5.0.0-next.7 */
13
+ const b = _`:host{min-width:300px}.arcgis-utility-network-trace-inputs calcite-block{--calcite-block-content-space: 0;--calcite-block-border-color: transparent;margin:0}.arcgis-utility-network-trace-inputs calcite-block-group{margin-bottom:var(--calcite-spacing-md);background-color:var(--calcite-color-foreground-1)}.arcgis-utility-network-trace-inputs calcite-block calcite-select{padding:0 var(--calcite-spacing-md)}.arcgis-utility-network-trace-inputs calcite-block calcite-label:last-child{--calcite-label-margin-bottom: 0}.arcgis-utility-network-trace-inputs calcite-notice{padding:var(--calcite-spacing-xs)}.arcgis-utility-network-trace-inputs__add-spatial-mode{display:flex;padding:var(--calcite-spacing-xxl) var(--calcite-spacing-sm);flex-direction:column;justify-content:center;align-items:center;gap:var(--calcite-spacing-md);align-self:stretch}`, u = "arcgis-utility-network-trace-inputs", p = {
14
+ // popup renderer
15
+ base: u,
16
+ // containers and content
17
+ addSpatialMode: `${u}__add-spatial-mode`
18
+ }, s = "map-components:utility-network-trace-inputs", y = `utility-network-trace-inputs-sketch-${Date.now()}`, n = `utility-network-trace-inputs-flags-${Date.now()}`;
19
+ class T extends m {
11
20
  constructor() {
12
- super(...arguments), this.messages = d({ blocking: !0 }), this.traceConfigurations = [], this._state = "ready", this.arcgisTraceInputsChange = n(), this.arcgisUtilityNetworkChange = n();
21
+ super(...arguments), this.messages = L({ blocking: !0 }), this.startingPoints = new o(), this.barriers = new o(), this.stoppingPoints = new o(), this.traceConfigurations = [], this._state = "ready", this._mode = "default", this.arcgisTraceInputsChange = h(), this.arcgisUtilityNetworkChange = h();
13
22
  }
14
23
  static {
15
- this.properties = { traceConfigurations: 16, utilityNetworks: 16, _state: 16, view: 0, selectedUtilityNetwork: 0, selectedTraceConfiguration: 0, referenceElement: 1 };
24
+ this.properties = { traceConfigurations: 16, utilityNetworks: 16, _state: 16, _mode: 16, _activeTraceLocationType: 16, view: 0, selectedUtilityNetwork: 0, selectedTraceConfiguration: 0, referenceElement: 1, traceLocations: 32 };
16
25
  }
17
26
  static {
18
- this.styles = g;
27
+ this.styles = b;
28
+ }
29
+ get _allLayers() {
30
+ const { view: t } = this;
31
+ return t?.map ? t.map.allLayers.toArray().concat(t.map.allTables.toArray()) : [];
32
+ }
33
+ get traceLocations() {
34
+ const t = this.startingPoints.toArray().map((a) => a.traceLocation), e = this.barriers.toArray().map((a) => a.traceLocation), i = this.stoppingPoints.toArray().map((a) => a.traceLocation);
35
+ return [...t, ...e, ...i];
19
36
  }
20
37
  load() {
21
- this._setupUtilityNetwork();
38
+ this._setupUtilityNetwork(), this._setupSketchViewModel();
22
39
  }
23
40
  willUpdate(t) {
24
41
  const { utilityNetworks: e, selectedUtilityNetwork: i } = this;
25
- (t.has("utilityNetworks") || !e || e.length === 0 || !i || !e?.includes(i)) && this._handleUtilityNetworksChange(), t.has("selectedUtilityNetwork") && (this.arcgisUtilityNetworkChange.emit(), this._setupTraceConfigurations()), t.has("selectedTraceConfiguration") && (this.arcgisTraceInputsChange.emit(), this._handleTraceConfigChange());
42
+ (t.has("utilityNetworks") || !e || e.length === 0 || !i || !e?.includes(i)) && this._handleUtilityNetworksChange(), t.has("selectedUtilityNetwork") && (this.arcgisUtilityNetworkChange.emit(), this._handleSelectedUtilityNetworkChange()), t.has("selectedTraceConfiguration") && (this.arcgisTraceInputsChange.emit(), this._handleTraceConfigChange());
43
+ }
44
+ _clearTraceLocations() {
45
+ const { startingPoints: t, barriers: e, stoppingPoints: i } = this;
46
+ this._getGraphicLayer(n)?.removeAll(), t.removeAll(), e.removeAll(), i.removeAll();
47
+ }
48
+ _addUniqueLayer(t, e, i) {
49
+ if (!e || !t?.map)
50
+ return;
51
+ const { map: a } = t, r = a.layers.find((w) => w === e);
52
+ r || a.add(e, i), r && i != null && a.layers.reorder(r, i);
53
+ }
54
+ _createGraphicLayer(t) {
55
+ const { map: e } = this.view;
56
+ if (!e?.findLayerById(t)) {
57
+ const a = new k({
58
+ id: t,
59
+ listMode: "hide",
60
+ title: t
61
+ });
62
+ this._addUniqueLayer(this.view, a);
63
+ }
64
+ }
65
+ _getGraphicLayer(t) {
66
+ const { map: e } = this.view;
67
+ if (e) {
68
+ const i = e.findLayerById(t);
69
+ if (i && i.type === "graphics")
70
+ return i;
71
+ }
72
+ return null;
73
+ }
74
+ _setSnappingOption() {
75
+ const { _sketchViewModel: t, _unLayers: e } = this;
76
+ if (t && e && e.length > 0) {
77
+ const i = new o();
78
+ e.forEach((a) => {
79
+ a.type === "subtype-group" ? a.sublayers.forEach((r) => {
80
+ i.add(new l({
81
+ layer: r,
82
+ enabled: !0
83
+ }));
84
+ }) : i.add(new l({
85
+ layer: a,
86
+ enabled: !0
87
+ }));
88
+ }), t.snappingOptions = {
89
+ enabled: !0,
90
+ featureEnabled: !0,
91
+ featureSources: i
92
+ };
93
+ }
94
+ }
95
+ _initializeSketchViewModel() {
96
+ const { view: t, _unLayers: e } = this, i = this._getGraphicLayer(y), a = new o();
97
+ return e?.forEach((r) => a.add(new l({
98
+ layer: r,
99
+ enabled: !0
100
+ }))), new $({
101
+ layer: i,
102
+ view: t
103
+ });
104
+ }
105
+ _setupSketchViewModel() {
106
+ this._createGraphicLayer(y), this._createGraphicLayer(n), this._sketchViewModel = this._initializeSketchViewModel();
26
107
  }
27
108
  _handleSubnetworkTraceConfigChange(t) {
28
109
  if (!t.traceConfiguration) {
29
- console.error(`${o} - Trace configuration not found`);
110
+ console.error(`${s} - Trace configuration not found`);
30
111
  return;
31
112
  }
32
113
  }
33
114
  _selectTraceConfigurationByGuid(t) {
34
115
  const e = this.selectedUtilityNetwork?.sharedNamedTraceConfigurations.find((i) => i.globalId === t);
35
116
  if (!e) {
36
- console.error(`${o} - Trace configuration not found`);
117
+ console.error(`${s} - Trace configuration not found`);
37
118
  return;
38
119
  }
39
120
  this.selectedTraceConfiguration = e;
@@ -46,16 +127,23 @@ class w extends u {
46
127
  this._handleSubnetworkTraceConfigChange(t);
47
128
  break;
48
129
  default:
49
- console.error(`${o} - Unknown trace configuration type`);
130
+ console.error(`${s} - Unknown trace configuration type`);
50
131
  }
51
132
  }
52
- async _setupTraceConfigurations() {
53
- await this.selectedUtilityNetwork?.load(), this.traceConfigurations = this.selectedUtilityNetwork?.sharedNamedTraceConfigurations || [], this.selectedTraceConfiguration = this.traceConfigurations.at(0);
133
+ async _handleSelectedUtilityNetworkChange() {
134
+ await this.selectedUtilityNetwork?.load(), this._setupTraceConfigurations(), this._filterUnLayers(), this._clearTraceLocations();
135
+ }
136
+ _setupTraceConfigurations() {
137
+ this.traceConfigurations = this.selectedUtilityNetwork?.sharedNamedTraceConfigurations || [], this.selectedTraceConfiguration = this.traceConfigurations.at(0);
138
+ }
139
+ _filterUnLayers() {
140
+ const { selectedUtilityNetwork: t } = this;
141
+ this._unLayers = new o(this._allLayers.filter((e) => t?.isUtilityLayer(e))), this._setSnappingOption();
54
142
  }
55
143
  _handleUtilityNetworksChange() {
56
144
  const { utilityNetworks: t } = this;
57
145
  if (!t || t.length === 0) {
58
- this._state = "error", console.error(`${o} - No utility networks found in the map`);
146
+ this._state = "error", console.error(`${s} - No utility networks found in the map`);
59
147
  return;
60
148
  }
61
149
  (!this.selectedUtilityNetwork || !t.includes(this.selectedUtilityNetwork)) && (this.selectedUtilityNetwork = t.at(0));
@@ -65,39 +153,65 @@ class w extends u {
65
153
  const t = this.view.map;
66
154
  await t.load(), this.utilityNetworks = t.utilityNetworks || void 0;
67
155
  } else
68
- this._state = "disabled", console.error(`${o} - No view or map available to load utility networks`);
156
+ this._state = "disabled", console.error(`${s} - No view or map available to load utility networks`);
157
+ }
158
+ _handleTraceLocationSelectStart(t) {
159
+ this._activeTraceLocationType = t?.target?.traceLocationType, this._mode = "add-spatial";
160
+ }
161
+ _handleTraceLocationSelectEnd() {
162
+ this._activeTraceLocationType = void 0, this._mode = "default";
163
+ }
164
+ _handleFlowItemBack() {
165
+ this._mode = "default", this._activeTraceLocationType = void 0, this._sketchViewModel?.cancel();
69
166
  }
70
167
  renderError(t, e = !1) {
71
- return s`<calcite-notice .closable=${e} kind=danger open scale=s width=full><div slot=message>${t}</div></calcite-notice>`;
168
+ return c`<calcite-notice .closable=${e} kind=danger open scale=s width=full><div slot=message>${t}</div></calcite-notice>`;
72
169
  }
73
170
  renderLoader() {
74
- return s`<calcite-loader label=loading></calcite-loader>`;
171
+ return c`<calcite-loader label=loading></calcite-loader>`;
75
172
  }
76
173
  renderTraceSelection() {
77
174
  const { messages: t, traceConfigurations: e } = this, i = t.labels.traceConfiguration;
78
175
  if (e.length === 0)
79
176
  return this.renderError(t.errors.noTraceConfigurationError, !0);
80
- const r = l(e, (a) => a.globalId, (a) => s`<calcite-option .value=${a.globalId}>${a.title}</calcite-option>`);
81
- return s`<calcite-label>${i}<calcite-select .label=${i} .value=${this.selectedTraceConfiguration?.globalId || void 0} @calciteSelectChange=${(a) => {
82
- this._selectTraceConfigurationByGuid(a.target.value);
83
- }}>${r}</calcite-select></calcite-label>`;
177
+ const a = d(e, (r) => r.globalId, (r) => c`<calcite-option .value=${r.globalId}>${r.title}</calcite-option>`);
178
+ return c`<calcite-block .heading=${i} .label=${i} expanded><calcite-select .label=${i} .value=${this.selectedTraceConfiguration?.globalId || void 0} @calciteSelectChange=${(r) => {
179
+ this._selectTraceConfigurationByGuid(r.target.value);
180
+ }}>${a}</calcite-select></calcite-block>`;
84
181
  }
85
182
  renderUtilityNetworkSelection() {
86
- const { messages: t } = this, e = t.labels.utilityNetwork, i = l(this.utilityNetworks, (r) => r.id, (r) => s`<calcite-option .value=${r.id}>${r.title}</calcite-option>`);
87
- return s`<calcite-label>${e}<calcite-select .label=${e} .value=${this.selectedUtilityNetwork?.id} @calciteSelectChange=${(r) => {
88
- this.selectedUtilityNetwork?.id !== r.target.value && (this.selectedUtilityNetwork = this.utilityNetworks?.find((a) => a.id === r.target.value));
89
- }}>${i}</calcite-select></calcite-label>`;
183
+ const { messages: t } = this, e = t.labels.utilityNetwork, i = d(this.utilityNetworks, (a) => a.id, (a) => c`<calcite-option .value=${a.id}>${a.title}</calcite-option>`);
184
+ return c`<calcite-block .heading=${e} .label=${e} expanded><calcite-select .label=${e} .value=${this.selectedUtilityNetwork?.id} @calciteSelectChange=${(a) => {
185
+ this.selectedUtilityNetwork?.id !== a.target.value && (this.selectedUtilityNetwork = this.utilityNetworks?.find((r) => r.id === a.target.value));
186
+ }}>${i}</calcite-select></calcite-block>`;
187
+ }
188
+ renderDefaultMode() {
189
+ const { messages: t, _state: e, _mode: i } = this;
190
+ return c`<calcite-flow-item .selected=${i === "default"}><calcite-block-group .label=${t.labels.traceInputs}>${e === "disabled" ? this.renderError(t.errors.noMapError) : this.renderContent()}</calcite-block-group></calcite-flow-item>`;
191
+ }
192
+ renderAddSpatialMode() {
193
+ const { messages: t, _activeTraceLocationType: e } = this, i = e === "starting-point" ? t.labels.addSpatial.startingPoint : e === "barrier" ? t.labels.addSpatial.barrier : t.labels.addSpatial.stoppingPoint;
194
+ return c`<calcite-flow-item selected .heading=${i} @calciteFlowItemBack=${() => this._handleFlowItemBack()}><div class=${g(p.addSpatialMode)}><calcite-icon icon=pin-plus scale=l></calcite-icon>${t.instructions.addSpatial}</div></calcite-flow-item>`;
195
+ }
196
+ renderStartingPointSelection() {
197
+ return c`<arcgis-utility-network-trace-location .view=${this.view} trace-location-type=starting-point @arcgisTraceLocationSelectStart=${(t) => this._handleTraceLocationSelectStart(t)} @arcgisTraceLocationSelectEnd=${() => this._handleTraceLocationSelectEnd()} @arcgisTraceLocationChange=${() => this.arcgisTraceInputsChange.emit()} .sketchViewModel=${this._sketchViewModel} .utilityNetwork=${this.selectedUtilityNetwork} .filterLayers=${this._unLayers} .flagLayer=${this._getGraphicLayer(n)} .traceLocations=${this.startingPoints}></arcgis-utility-network-trace-location>`;
198
+ }
199
+ renderStoppingPointSelection() {
200
+ return c`<arcgis-utility-network-trace-location .view=${this.view} trace-location-type=stopping-point @arcgisTraceLocationSelectStart=${(t) => this._handleTraceLocationSelectStart(t)} @arcgisTraceLocationSelectEnd=${() => this._handleTraceLocationSelectEnd()} @arcgisTraceLocationChange=${() => this.arcgisTraceInputsChange.emit()} .sketchViewModel=${this._sketchViewModel} .utilityNetwork=${this.selectedUtilityNetwork} .filterLayers=${this._unLayers} .flagLayer=${this._getGraphicLayer(n)} .traceLocations=${this.stoppingPoints}></arcgis-utility-network-trace-location>`;
201
+ }
202
+ renderBarrierSelection() {
203
+ return c`<arcgis-utility-network-trace-location .view=${this.view} trace-location-type=barrier @arcgisTraceLocationSelectStart=${(t) => this._handleTraceLocationSelectStart(t)} @arcgisTraceLocationSelectEnd=${() => this._handleTraceLocationSelectEnd()} @arcgisTraceLocationChange=${() => this.arcgisTraceInputsChange.emit()} .sketchViewModel=${this._sketchViewModel} .utilityNetwork=${this.selectedUtilityNetwork} .filterLayers=${this._unLayers} .flagLayer=${this._getGraphicLayer(n)} .traceLocations=${this.barriers}></arcgis-utility-network-trace-location>`;
90
204
  }
91
205
  renderContent() {
92
206
  const { messages: t, utilityNetworks: e } = this;
93
- return !e || e.length === 0 ? this.renderError(t.errors.noUtilityNetworkError) : s`${e.length === 1 ? null : this.renderUtilityNetworkSelection()}${this.selectedUtilityNetwork?.loaded ? this.renderTraceSelection() : this.renderLoader()}`;
207
+ return !e || e.length === 0 ? this.renderError(t.errors.noUtilityNetworkError) : c`<calcite-block-group .label=${t.labels.traceInputs}>${e.length > 1 ? this.renderUtilityNetworkSelection() : null}${this.selectedUtilityNetwork?.loaded ? this.renderTraceSelection() : this.renderLoader()}${this.selectedTraceConfiguration ? this.renderStartingPointSelection() : null}${this.selectedTraceConfiguration ? this.renderStoppingPointSelection() : null}${this.selectedTraceConfiguration ? this.renderBarrierSelection() : null}</calcite-block-group>`;
94
208
  }
95
209
  render() {
96
- const { messages: t, _state: e } = this;
97
- return s`<div class="arcgis-utility-network-trace-inputs"><calcite-block expanded .label=${t.labels.traceInputs}>${e === "disabled" ? this.renderError(t.errors.noMapError) : this.renderContent()}</calcite-block></div>`;
210
+ const { _mode: t } = this;
211
+ return c`<div class=${g(p.base)}><calcite-flow>${this.renderDefaultMode()}${t === "add-spatial" ? this.renderAddSpatialMode() : null}</calcite-flow></div>`;
98
212
  }
99
213
  }
100
- c("arcgis-utility-network-trace-inputs", w);
214
+ f("arcgis-utility-network-trace-inputs", T);
101
215
  export {
102
- w as ArcgisUtilityNetworkTraceInputs
216
+ T as ArcgisUtilityNetworkTraceInputs
103
217
  };
@@ -1,7 +1,11 @@
1
1
  import "@esri/calcite-components/components/calcite-notice";
2
2
  import "@esri/calcite-components/components/calcite-loader";
3
3
  import "@esri/calcite-components/components/calcite-option";
4
- import "@esri/calcite-components/components/calcite-label";
5
- import "@esri/calcite-components/components/calcite-select";
6
4
  import "@esri/calcite-components/components/calcite-block";
5
+ import "@esri/calcite-components/components/calcite-select";
6
+ import "@esri/calcite-components/components/calcite-flow-item";
7
+ import "@esri/calcite-components/components/calcite-block-group";
8
+ import "@esri/calcite-components/components/calcite-icon";
9
+ import "../arcgis-utility-network-trace-location/index.js";
10
+ import "@esri/calcite-components/components/calcite-flow";
7
11
  export * from "./customElement.js";
@@ -1,7 +1,11 @@
1
1
  import "@esri/calcite-components/components/calcite-notice";
2
2
  import "@esri/calcite-components/components/calcite-loader";
3
3
  import "@esri/calcite-components/components/calcite-option";
4
- import "@esri/calcite-components/components/calcite-label";
5
- import "@esri/calcite-components/components/calcite-select";
6
4
  import "@esri/calcite-components/components/calcite-block";
5
+ import "@esri/calcite-components/components/calcite-select";
6
+ import "@esri/calcite-components/components/calcite-flow-item";
7
+ import "@esri/calcite-components/components/calcite-block-group";
8
+ import "@esri/calcite-components/components/calcite-icon";
9
+ import "../arcgis-utility-network-trace-location/index.js";
10
+ import "@esri/calcite-components/components/calcite-flow";
7
11
  export * from "./customElement.js";
@@ -0,0 +1,44 @@
1
+ /// <reference path="../../index.d.ts" />
2
+ import { default as Collection } from '@arcgis/core/core/Collection.js';
3
+ import { default as GraphicsLayer } from '@arcgis/core/layers/GraphicsLayer.js';
4
+ import { default as Layer } from '@arcgis/core/layers/Layer.js';
5
+ import { default as MapView } from '@arcgis/core/views/MapView.js';
6
+ import { default as SketchViewModel } from '@arcgis/core/widgets/Sketch/SketchViewModel.js';
7
+ import { PublicLitElement as LitElement, TargetedEvent, JsxNode } from '@arcgis/lumina';
8
+ import { default as UtilityNetwork } from '@arcgis/core/networks/UtilityNetwork.js';
9
+ import { default as TraceLocation } from '@arcgis/core/rest/networks/support/TraceLocation.js';
10
+ import { default as Point } from '@arcgis/core/geometry/Point.js';
11
+ import { default as Graphic } from '@arcgis/core/Graphic.js';
12
+ export interface FlagProperty {
13
+ traceLocation: TraceLocation;
14
+ mapPoint?: Point | null;
15
+ mapGraphic?: Graphic | null;
16
+ details?: Graphic | null;
17
+ }
18
+
19
+ /**
20
+ * This is a sub-component used by the **ArcgisUtilityNetworkTraceAnalysis** component.
21
+ *
22
+ * This sub-component takes a map view as an input.
23
+ * It allows users to select locations on the map to use as trace inputs.
24
+ *
25
+ * [Read more...](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-utility-network-trace-location/)
26
+ *
27
+ * @since 4.34
28
+ * @internal
29
+ */
30
+ export declare class ArcgisUtilityNetworkTraceLocation extends LitElement {
31
+ /** @required */
32
+ view?: MapView;
33
+ /** @default "starting-point" */
34
+ traceLocationType: "barrier" | "starting-point" | "stopping-point";
35
+ traceLocations?: Collection<FlagProperty>;
36
+ filterLayers?: Collection<Layer>;
37
+ sketchViewModel?: SketchViewModel;
38
+ flagLayer?: GraphicsLayer;
39
+ /** @required The utility network to perform the trace on. */
40
+ utilityNetwork?: UtilityNetwork;
41
+ readonly arcgisTraceLocationChange: TargetedEvent<this, void>;
42
+ readonly arcgisTraceLocationSelectEnd: TargetedEvent<this, void>;
43
+ readonly arcgisTraceLocationSelectStart: TargetedEvent<this, void>;
44
+ }
@@ -0,0 +1,194 @@
1
+ import { c as $ } from "../../chunks/runtime.js";
2
+ import { css as T, html as b } from "lit";
3
+ import v from "@arcgis/core/geometry/Polyline.js";
4
+ import x from "@arcgis/core/geometry/SpatialReference.js";
5
+ import { LitElement as C, createEvent as w, safeClassMap as y } from "@arcgis/lumina";
6
+ import { u as A } from "../../chunks/useT9n.js";
7
+ import _ from "@arcgis/core/rest/networks/support/TraceLocation.js";
8
+ import F from "@arcgis/core/Graphic.js";
9
+ import { SimpleMarkerSymbol as S } from "@arcgis/core/symbols.js";
10
+ import * as k from "@arcgis/core/geometry/operators/projectOperator.js";
11
+ import * as N from "@arcgis/core/geometry/operators/cutOperator.js";
12
+ import * as L from "@arcgis/core/geometry/operators/lengthOperator.js";
13
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
14
+ See https://js.arcgis.com/5.0/esri/copyright.txt for details.
15
+ v5.0.0-next.7 */
16
+ const R = T`.arcgis-utility-network-trace-location calcite-block{--calcite-block-content-space: 0;--calcite-block-border-color: transparent;margin:0}.arcgis-utility-network-trace-location calcite-notice{padding:var(--calcite-spacing-xs)}.arcgis-utility-network-trace-location__add-location-button{--calcite-button-border-color: var(--calcite-color-border-1);--calcite-button-icon-color: var(--calcite-color-text-1);--calcite-button-text-color: var(--calcite-color-text-1)}.arcgis-utility-network-trace-location__button-container{justify-content:center;display:grid}.arcgis-utility-network-trace-location__clear-button{--calcite-button-border-color: transparent}`, g = "arcgis-utility-network-trace-location", f = {
17
+ // popup renderer
18
+ base: g,
19
+ // containers and content
20
+ buttonContainer: `${g}__button-container`,
21
+ clearButton: `${g}__clear-button`,
22
+ addLocationButton: `${g}__add-location-button`
23
+ }, n = "map-components:utility-network-trace-location";
24
+ class B extends C {
25
+ constructor() {
26
+ super(...arguments), this.messages = A({ blocking: !0 }), this.traceLocationType = "starting-point", this.arcgisTraceLocationChange = w(), this.arcgisTraceLocationSelectEnd = w(), this.arcgisTraceLocationSelectStart = w();
27
+ }
28
+ static {
29
+ this.properties = { view: 0, traceLocationType: 1, traceLocations: 0, filterLayers: 0, sketchViewModel: 0, flagLayer: 0, utilityNetwork: 0 };
30
+ }
31
+ static {
32
+ this.styles = R;
33
+ }
34
+ async load() {
35
+ k.isLoaded() || await k.load();
36
+ }
37
+ _createPolyline(t, e) {
38
+ return new v({
39
+ hasZ: !1,
40
+ hasM: !0,
41
+ paths: t,
42
+ spatialReference: new x({ wkid: e })
43
+ });
44
+ }
45
+ _calculatePercentAlong(t, e) {
46
+ const o = t.spatialReference, r = this._createPolyline(t.paths, o.wkid), a = e.x - 0.5, s = e.x + 0.5, i = e.y - 0.5, c = e.y + 0.5, l = [
47
+ [
48
+ [a, i],
49
+ [s, c]
50
+ ]
51
+ ], p = this._createPolyline(l, e.spatialReference.wkid), d = k.execute(p, o);
52
+ if (!d)
53
+ return console.error(`${n} - Unable to project flag geometry to source geometry spatial reference.`), 0.5;
54
+ const u = N.execute(r, d);
55
+ if (u.length > 0) {
56
+ const h = L.execute(r, { unit: "feet" });
57
+ let m;
58
+ return u[0].paths[0][0][0] === r.paths[0][0][0] ? m = L.execute(u[0], { unit: "feet" }) : m = L.execute(u[1], { unit: "feet" }), m / h;
59
+ }
60
+ return console.warn(`${n} - Unable to cut the source geometry with the flag geometry.`), 0.5;
61
+ }
62
+ async _ensureNecessaryAttributes(t) {
63
+ const e = (t.layer?.type === "feature", t.layer), o = e.fieldsIndex?.get("assetgroup") ?? !1, r = e.fieldsIndex?.get("assetgroup")?.name ?? "assetgroup", a = e.fieldsIndex?.get("assettype") ?? !1, s = e.fieldsIndex?.get("assettype")?.name ?? "assettype", i = t.getGlobalId(), c = t.getObjectId(), l = o ? !!t.getAttribute(r) : !0, p = a ? !!t.getAttribute(s) : !0;
64
+ if (i && c && l && p)
65
+ return t;
66
+ const d = e.createQuery();
67
+ return d.objectIds = [c], (await e.queryFeatures(d))?.features[0] || null;
68
+ }
69
+ async _ensureNecessaryAttributesAndGenerateTraceLocation(t, e) {
70
+ const { view: o } = this;
71
+ if (!o || t.length === 0) {
72
+ console.log(`${n} - No view or results to process.`);
73
+ return;
74
+ }
75
+ const a = t[0].graphic, s = await this._ensureNecessaryAttributes(a);
76
+ if (!s) {
77
+ console.error(`${n} - Unable to get necessary attributes for trace location.`);
78
+ return;
79
+ }
80
+ this._generateTraceLocation(s, e);
81
+ }
82
+ _addFlagGraphic(t, e, o) {
83
+ const { flagLayer: r, view: a, traceLocationType: s } = this;
84
+ if (!r || !a)
85
+ return console.error(`${n} - Flag layer or view is not available.`), null;
86
+ const i = e.geometry?.type;
87
+ if (this.traceLocations?.some((h) => h.traceLocation.globalId === t) && i !== "polyline")
88
+ return console.warn(`${n} - A flag with the same globalId already exists.`), null;
89
+ const p = s === "starting-point" ? [21, 244, 21, 0.6] : [227, 27, 21, 0.6], d = new S({
90
+ color: p,
91
+ size: 12,
92
+ outline: {
93
+ color: p,
94
+ width: 0
95
+ }
96
+ }), u = new F({
97
+ geometry: o,
98
+ symbol: d,
99
+ attributes: e.attributes
100
+ });
101
+ return r.add(u), u;
102
+ }
103
+ _generateTraceLocation(t, e) {
104
+ const { traceLocationType: o, traceLocations: r, utilityNetwork: a } = this, s = t.getGlobalId() ?? "", i = t.geometry?.type, c = this._addFlagGraphic(s, t, e);
105
+ if (!c) {
106
+ console.warn(`${n} - Unable to add flag graphic.`);
107
+ return;
108
+ }
109
+ if (i === "point" || i === "polygon") {
110
+ const l = a?.getTerminalConfiguration(t);
111
+ r?.add({
112
+ traceLocation: new _({
113
+ type: o,
114
+ isFilterBarrier: !1,
115
+ globalId: s,
116
+ terminalId: l ? l.terminals[0].id || void 0 : 1
117
+ }),
118
+ mapPoint: e,
119
+ details: t,
120
+ mapGraphic: c
121
+ });
122
+ } else if (i === "polyline") {
123
+ const l = this._calculatePercentAlong(t.geometry, e);
124
+ r?.add({
125
+ traceLocation: new _({
126
+ type: o,
127
+ isFilterBarrier: !1,
128
+ globalId: s,
129
+ percentAlong: l
130
+ }),
131
+ mapPoint: e,
132
+ details: t,
133
+ mapGraphic: c
134
+ });
135
+ }
136
+ }
137
+ async _hitTest(t) {
138
+ const { view: e, utilityNetwork: o } = this;
139
+ if (!e || !o) {
140
+ console.error(`${n} - View or utility network is not available for hit test.`);
141
+ return;
142
+ }
143
+ const r = t.graphic?.geometry, a = this.view?.toScreen(r);
144
+ if (!a) {
145
+ console.warn(`${n} - No screen point available for hit test.`);
146
+ return;
147
+ }
148
+ const i = (await e.hitTest(a, {
149
+ include: this.filterLayers
150
+ })).results.filter((c) => c.type === "graphic" && c?.layer && c.graphic);
151
+ if (i.length === 0) {
152
+ console.log(`${n} - No usable hit test results found.`);
153
+ return;
154
+ }
155
+ this._ensureNecessaryAttributesAndGenerateTraceLocation(i, r);
156
+ }
157
+ _resetAfterSketch() {
158
+ const { view: t } = this;
159
+ if (!t) {
160
+ console.error(`${n} - View is not available to reset after sketch.`);
161
+ return;
162
+ }
163
+ this._clickHandler?.remove(), this._clickHandler = void 0, "acquireCursor" in t && t.acquireCursor("default"), this.arcgisTraceLocationSelectEnd.emit();
164
+ }
165
+ _handleSketchComplete(t) {
166
+ const { sketchViewModel: e, view: o } = this;
167
+ if (!e || !o) {
168
+ console.error(`${n} - SketchViewModel or view is not available on sketch complete.`);
169
+ return;
170
+ }
171
+ t.state === "complete" && t.graphic && (e.layer.remove(t.graphic), this._hitTest(t)), (t.state === "cancel" || t.state === "complete") && this._resetAfterSketch();
172
+ }
173
+ _handleAddButtonClick() {
174
+ const { view: t, sketchViewModel: e } = this;
175
+ t && e && (this._clickHandler?.remove(), this._clickHandler = e.on("create", this._handleSketchComplete.bind(this)), "acquireCursor" in t && t.acquireCursor("crosshair"), this.sketchViewModel?.create("point"), this.arcgisTraceLocationSelectStart.emit());
176
+ }
177
+ _handleClearButtonClick() {
178
+ const { flagLayer: t, traceLocations: e } = this;
179
+ e?.forEach((o) => {
180
+ o.mapGraphic && t && t.remove(o.mapGraphic);
181
+ }), e?.removeAll();
182
+ }
183
+ renderAddLocationBlock() {
184
+ const { traceLocationType: t, messages: e, traceLocations: o } = this, r = t === "starting-point" ? e.types.startingPoint : t === "barrier" ? e.types.barrier : e.types.stoppingPoint, a = r.heading, s = r.description, i = r.buttonText;
185
+ return b`<calcite-block .heading=${a} .label=${a} expanded .description=${s}>${o?.length ? b`<calcite-button class=${y(f.clearButton)} slot=actions-end appearance=transparent .label=${e.buttons.clear} @click=${() => this._handleClearButtonClick()}>${e.buttons.clear}</calcite-button>` : null}<div class=${y(f.buttonContainer)}><calcite-button class=${y(f.addLocationButton)} icon-start=select appearance=outline .label=${i} @click=${() => this._handleAddButtonClick()}>${i}</calcite-button></div></calcite-block>`;
186
+ }
187
+ render() {
188
+ return b`<div class=${y(f.base)}>${this.renderAddLocationBlock()}</div>`;
189
+ }
190
+ }
191
+ $("arcgis-utility-network-trace-location", B);
192
+ export {
193
+ B as ArcgisUtilityNetworkTraceLocation
194
+ };
@@ -0,0 +1,3 @@
1
+ import "@esri/calcite-components/components/calcite-block";
2
+ import "@esri/calcite-components/components/calcite-button";
3
+ export * from "./customElement.js";
@@ -0,0 +1,3 @@
1
+ import "@esri/calcite-components/components/calcite-block";
2
+ import "@esri/calcite-components/components/calcite-button";
3
+ export * from "./customElement.js";
@@ -5,7 +5,7 @@ import { createRef as u, ref as d } from "lit/directives/ref.js";
5
5
  import { u as g } from "../../chunks/useT9n.js";
6
6
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
7
7
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
8
- v5.0.0-next.5 */
8
+ v5.0.0-next.7 */
9
9
  const h = o`:host{min-height:300px}.results-heading{display:flex;flex-direction:column;padding:var(--calcite-spacing-md);gap:var(--calcite-spacing-xs)}.results-heading .results-heading-title{font-weight:var(--calcite-font-weight-medium);font-size:var(--calcite-font-size-1)}.results-heading .results-heading-subtitle{font-size:var(--calcite-font-size--1);color:var(--calcite-color-text-3)}.no-results-landing{display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;padding:var(--calcite-spacing-xl);gap:var(--calcite-spacing-md)}.no-results-landing calcite-icon{margin-bottom:var(--calcite-spacing-sm);--calcite-icon-color: var(--calcite-color-text-3)}.no-results-landing .no-results-heading{font-size:var(--calcite-font-size-2)}.no-results-landing .no-results-description{color:var(--calcite-color-text-3)}`;
10
10
  class m extends a {
11
11
  constructor() {
@@ -7,7 +7,7 @@ import { ArcgisReferenceElement } from '../../utils/component-utils';
7
7
 
8
8
  declare const useUtilityNetworkValidateTopologyWidget: (component: LitElement & Pick<UtilityNetworkValidateTopology & {
9
9
  viewModel: __esri.Accessor;
10
- }, "icon" | "label" | "utilityNetwork" | "viewModel" | "extentToValidate"> & {
10
+ }, "label" | "viewModel" | "icon" | "utilityNetwork" | "extentToValidate"> & {
11
11
  state?: unknown;
12
12
  viewModel?: (__esri.UtilityNetworkValidateTopologyViewModel & __esri.Accessor) | undefined;
13
13
  closed?: boolean;
@@ -7,8 +7,8 @@ import { m as s } from "../../chunks/useWidget.js";
7
7
  import { css as l } from "lit";
8
8
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
9
9
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
10
- v5.0.0-next.5 */
11
- const c = l`@keyframes esri-basemap-slide{0%{opacity:0;margin-top:0;margin-left:0}75%{opacity:0;margin-top:0;margin-left:0}to{opacity:1;margin-top:5px;margin-left:5px}}@keyframes esri-docking-animation{0%{opacity:0}25%{opacity:0}to{opacity:1}}@keyframes popup-intro-animation-down{0%{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translate(0)}}@keyframes popup-intro-animation-up{0%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translate(0)}}@supports (-ms-ime-align: auto){.esri-slider__anchor:focus{outline:1px dotted #000}}@keyframes esri-spinner--start-animation{0%{opacity:0;transform:scale(0)}to{opacity:1;transform:scale(1)}}@keyframes esri-spinner--finish-animation{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(0)}}@keyframes esri-spinner--rotate-animation{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@media (prefers-reduced-motion){.esri-utility-network-trace__reset-prompt{animation:none!important}}@media (prefers-reduced-motion){.esri-popup--aligned-top-center,.esri-popup--aligned-top-left,.esri-popup--aligned-top-right,.esri-popup--aligned-bottom-center,.esri-popup--aligned-bottom-left,.esri-popup--aligned-bottom-right,.esri-popup--is-docked{animation:none!important}}@media (prefers-reduced-motion: reduce){.esri-fov-overlay{animation:none!important}}@keyframes esri-fade-in-down{0%{opacity:0;transform:translateY(-5px)}25%{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translate(0)}}@keyframes esri-fade-in-up{0%{opacity:0;transform:translateY(5px)}25%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translate(0)}}@keyframes esri-fade-in{0%{opacity:0}25%{opacity:0}to{opacity:1}}@keyframes esri-fade-in-scale{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}@keyframes looping-progresss-bar-ani{0%{width:0;left:0}20%{width:20%;left:0}80%{width:20%;left:80%}to{width:0;left:100%}}@keyframes esri-rotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes panel-advance{0%{opacity:0;transform:translate(50px) scale(.99)}to{opacity:1;transform:translate(0) scale(1)}}@keyframes panel-retreat{0%{opacity:0;transform:translate(-50px) scale(.99)}to{opacity:1;transform:translate(0) scale(1)}}@keyframes panel-advance--rtl{0%{opacity:0;transform:translate(-50px) scale(.99)}to{opacity:1;transform:translate(0) scale(1)}}@keyframes panel-retreat--rtl{0%{opacity:0;transform:translate(50px) scale(.99)}to{opacity:1;transform:translate(0) scale(1)}}.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-un-validate-topology__container{width:330px}.esri-un-validate-topology__content{border-bottom:none;margin:0}.esri-un-validate-topology__controls-container{gap:.5rem;display:grid}.esri-un-validate-topology__status-icon-container{width:48px;height:48px}.esri-un-validate-topology__status-icon-error{--calcite-color-icon-color: var(--calcite-color-status-warning);padding-top:var(--calcite-spacing-xl);padding-left:var(--calcite-spacing-xl)}.esri-un-validate-topology__status-icon-success{--calcite-color-icon-color: var(--calcite-color-status-success);padding-top:var(--calcite-spacing-xl);padding-left:var(--calcite-spacing-xl)}`, d = s(
10
+ v5.0.0-next.7 */
11
+ const c = l`@keyframes esri-basemap-slide{0%{opacity:0;margin-top:0;margin-left:0}75%{opacity:0;margin-top:0;margin-left:0}to{opacity:1;margin-top:5px;margin-left:5px}}@keyframes esri-docking-animation{0%{opacity:0}25%{opacity:0}to{opacity:1}}@keyframes popup-intro-animation-down{0%{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translate(0)}}@keyframes popup-intro-animation-up{0%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translate(0)}}@supports (-ms-ime-align: auto){.esri-slider__anchor:focus{outline:1px dotted #000}}@keyframes esri-spinner--start-animation{0%{opacity:0;transform:scale(0)}to{opacity:1;transform:scale(1)}}@keyframes esri-spinner--finish-animation{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(0)}}@keyframes esri-spinner--rotate-animation{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@media (prefers-reduced-motion){.esri-utility-network-trace__reset-prompt{animation:none!important}}@media (prefers-reduced-motion){.esri-popup--aligned-top-center,.esri-popup--aligned-top-left,.esri-popup--aligned-top-right,.esri-popup--aligned-bottom-center,.esri-popup--aligned-bottom-left,.esri-popup--aligned-bottom-right,.esri-popup--is-docked{animation:none!important}}@media (prefers-reduced-motion: reduce){.esri-fov-overlay{animation:none!important}}@keyframes esri-fade-in-down{0%{opacity:0;transform:translateY(-5px)}25%{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translate(0)}}@keyframes esri-fade-in-up{0%{opacity:0;transform:translateY(5px)}25%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translate(0)}}@keyframes esri-fade-in{0%{opacity:0}25%{opacity:0}to{opacity:1}}@keyframes esri-fade-in-scale{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}@keyframes looping-progresss-bar-ani{0%{width:0;left:0}20%{width:20%;left:0}80%{width:20%;left:80%}to{width:0;left:100%}}@keyframes esri-rotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes panel-advance{0%{opacity:0;transform:translate(50px) scale(.99)}to{opacity:1;transform:translate(0) scale(1)}}@keyframes panel-retreat{0%{opacity:0;transform:translate(-50px) scale(.99)}to{opacity:1;transform:translate(0) scale(1)}}@keyframes panel-advance--rtl{0%{opacity:0;transform:translate(-50px) scale(.99)}to{opacity:1;transform:translate(0) scale(1)}}@keyframes panel-retreat--rtl{0%{opacity:0;transform:translate(50px) scale(.99)}to{opacity:1;transform:translate(0) scale(1)}}.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}:host{max-width:fit-content}.esri-un-validate-topology__container{width:350px}.esri-un-validate-topology__content{border-bottom:none;margin:0}.esri-un-validate-topology__controls-container{gap:.5rem;display:grid}.esri-un-validate-topology__status-icon-container{width:48px;height:48px}.esri-un-validate-topology__status-icon-error{--calcite-color-icon-color: var(--calcite-color-status-warning);padding-top:var(--calcite-spacing-xl);padding-left:var(--calcite-spacing-xl)}.esri-un-validate-topology__status-icon-success{--calcite-color-icon-color: var(--calcite-color-status-success);padding-top:var(--calcite-spacing-xl);padding-left:var(--calcite-spacing-xl)}`, d = s(
12
12
  // Workaround for https://devtopia.esri.com/WebGIS/arcgis-js-api/issues/69562
13
13
  o
14
14
  );
@@ -5,7 +5,7 @@ import { default as ValuePicker } from '@arcgis/core/widgets/ValuePicker.js';
5
5
  import { PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
6
6
  import { ArcgisReferenceElement } from '../../utils/component-utils';
7
7
 
8
- declare const useValuePickerWidget: (component: LitElement & Pick<ValuePicker, "icon" | "label" | "values" | "component" | "layout" | "caption" | "canPlay" | "canNext" | "canPrevious" | "loop" | "playRate"> & {
8
+ declare const useValuePickerWidget: (component: LitElement & Pick<ValuePicker, "caption" | "label" | "icon" | "component" | "values" | "layout" | "canPlay" | "loop" | "playRate" | "canNext" | "canPrevious"> & {
9
9
  state?: unknown;
10
10
  viewModel?: unknown;
11
11
  closed?: boolean;
@@ -131,7 +131,7 @@ export declare class ArcgisValuePicker extends LitElement {
131
131
  *
132
132
  * @default null
133
133
  */
134
- values: any[] | string[] | nullish | number[];
134
+ values: any[] | number[] | nullish | string[];
135
135
  /** Permanently destroy the component. */
136
136
  destroy(): Promise<void>;
137
137
  next(): Promise<void>;