@arcgis/map-components 5.2.0-next.93 → 5.2.0-next.95

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 (329) hide show
  1. package/dist/cdn/{VNX2AHM5.js → 25ELW5DP.js} +1 -1
  2. package/dist/cdn/{43XQKUF6.js → 26OEUDIF.js} +1 -1
  3. package/dist/cdn/{UTOVD7WO.js → 26WVOAIW.js} +1 -1
  4. package/dist/cdn/{HRC67J4X.js → 2D6JTL4E.js} +1 -1
  5. package/dist/cdn/2F6NRCC5.js +2 -0
  6. package/dist/cdn/{GRVXZRHO.js → 2GDWXNYN.js} +1 -1
  7. package/dist/cdn/{SJJ7QEQX.js → 2HYRTMJ6.js} +1 -1
  8. package/dist/cdn/376WTHOL.js +2 -0
  9. package/dist/cdn/3TTIKHXP.js +2 -0
  10. package/dist/cdn/{36TZJXHA.js → 44ELZBSR.js} +1 -1
  11. package/dist/cdn/{3VE3XLKT.js → 4LJO7QFG.js} +1 -1
  12. package/dist/cdn/{LVUQ55Y3.js → 4P2WLM6E.js} +1 -1
  13. package/dist/cdn/4QGIFHEA.js +2 -0
  14. package/dist/cdn/{V2UDGBN4.js → 4SOK3D4T.js} +1 -1
  15. package/dist/cdn/{7HRK777D.js → 4U3UYYQ5.js} +1 -1
  16. package/dist/cdn/{IBHSU6LP.js → 4WKKBT3F.js} +1 -1
  17. package/dist/cdn/4YFREAQ2.js +2 -0
  18. package/dist/cdn/{IGFJHWQN.js → 54HCOOFG.js} +1 -1
  19. package/dist/cdn/{MJ2CLOUC.js → 54M2I4JP.js} +1 -1
  20. package/dist/cdn/{4FZ5GGDI.js → 55HFRR2W.js} +1 -1
  21. package/dist/cdn/{ENCUTG4J.js → 564IIZBI.js} +1 -1
  22. package/dist/cdn/{XZVWADEG.js → 57GMYMVT.js} +1 -1
  23. package/dist/cdn/{QWZOLPCK.js → 5CKRSEWZ.js} +1 -1
  24. package/dist/cdn/{PFX6VX2N.js → 5H4I5K6T.js} +1 -1
  25. package/dist/cdn/{TDGUCMON.js → 5LGT6I7Y.js} +1 -1
  26. package/dist/cdn/{NQ5OGG4I.js → 5MMZAQYH.js} +1 -1
  27. package/dist/cdn/{UTAQGRV3.js → 5SVULVBJ.js} +1 -1
  28. package/dist/cdn/{QX7CIDD3.js → 5TX463UL.js} +1 -1
  29. package/dist/cdn/{WVGSH2QD.js → 5UVZPECS.js} +1 -1
  30. package/dist/cdn/{3SCF2TGT.js → 5YUG57HI.js} +1 -1
  31. package/dist/cdn/{EEVHASMU.js → 6A365EUI.js} +1 -1
  32. package/dist/cdn/{5DI7RMZ6.js → 6ERK6Z6K.js} +1 -1
  33. package/dist/cdn/{LIK2D5WG.js → 6F3A7GUW.js} +1 -1
  34. package/dist/cdn/{B2HPLGXB.js → 6G2T2G3Q.js} +1 -1
  35. package/dist/cdn/{K66ZH3DH.js → 6LUL555P.js} +1 -1
  36. package/dist/cdn/{K4HD2F6W.js → 6NRNLMJK.js} +1 -1
  37. package/dist/cdn/{LBYKVAQ2.js → 6S3ODLME.js} +1 -1
  38. package/dist/cdn/{4H6N4JTU.js → 6T5SVWDF.js} +1 -1
  39. package/dist/cdn/{4TUA2QEW.js → 6YNNDY3K.js} +1 -1
  40. package/dist/cdn/{UVD3M6B5.js → 777PJUNL.js} +1 -1
  41. package/dist/cdn/{J6TT6SMU.js → 7EKSEHUY.js} +1 -1
  42. package/dist/cdn/{LINQYJP4.js → 7HZIEA5X.js} +1 -1
  43. package/dist/cdn/{VAOBL5U2.js → 7LR4MDUB.js} +1 -1
  44. package/dist/cdn/7N4V2IN6.js +2 -0
  45. package/dist/cdn/{HTDQ3T52.js → 7TKEMQVG.js} +1 -1
  46. package/dist/cdn/{VNT4QL2K.js → 7TTSWTGP.js} +1 -1
  47. package/dist/cdn/7ZZWKH2U.js +3 -0
  48. package/dist/cdn/{HAUHWMHN.js → A3DPBGUE.js} +1 -1
  49. package/dist/cdn/{EVKOQOVV.js → A6Z7H75I.js} +1 -1
  50. package/dist/cdn/{TY7RUZSW.js → ADSOI3MN.js} +1 -1
  51. package/dist/cdn/{RCGLBAHP.js → AEGRRGUN.js} +1 -1
  52. package/dist/cdn/{W2HQAUUA.js → AKNAVXKD.js} +1 -1
  53. package/dist/cdn/{6I6P36ZC.js → AUTF57U5.js} +1 -1
  54. package/dist/cdn/{YXKHHGAI.js → AXEVIUBZ.js} +1 -1
  55. package/dist/cdn/AY2PVEY5.js +2 -0
  56. package/dist/cdn/{PLQVU2Q5.js → B4DLIKAN.js} +1 -1
  57. package/dist/cdn/{D3G3JFB6.js → B4JHLZUL.js} +1 -1
  58. package/dist/cdn/{B35PDXSH.js → BAI3SYHE.js} +1 -1
  59. package/dist/cdn/{IWVSKFSS.js → BJL2DTRG.js} +1 -1
  60. package/dist/cdn/{3VFBYBX4.js → BNZQH6YD.js} +1 -1
  61. package/dist/cdn/{I22IJPSN.js → BQJHJ74K.js} +1 -1
  62. package/dist/cdn/BR6D5EO4.js +2 -0
  63. package/dist/cdn/{TTDOV3LD.js → BRWY53GW.js} +1 -1
  64. package/dist/cdn/BV3Q2Y7F.js +2 -0
  65. package/dist/cdn/{TVV525SY.js → BVVR27JR.js} +1 -1
  66. package/dist/cdn/{ZJEYDRKM.js → C23PR4ZX.js} +1 -1
  67. package/dist/cdn/{7BOYQGKF.js → C2PS2HSE.js} +1 -1
  68. package/dist/cdn/{IFWRNEPD.js → CA5LXWO6.js} +1 -1
  69. package/dist/cdn/{MAPYP35W.js → CB564G7T.js} +1 -1
  70. package/dist/cdn/{UEBDFBOK.js → CDMVB72W.js} +1 -1
  71. package/dist/cdn/CDWU62VR.js +2 -0
  72. package/dist/cdn/{AF65YZXZ.js → CEMBX25Q.js} +1 -1
  73. package/dist/cdn/{3TAYDIE5.js → CEQXB7WX.js} +1 -1
  74. package/dist/cdn/CEW4IP7H.js +2 -0
  75. package/dist/cdn/{RJZ424ZP.js → CIPZN7LE.js} +1 -1
  76. package/dist/cdn/{V2ZCE7D4.js → CJ536VHT.js} +1 -1
  77. package/dist/cdn/{NMQLILVV.js → CX3OZJEH.js} +1 -1
  78. package/dist/cdn/{XRTSGX32.js → D5TJRWW3.js} +1 -1
  79. package/dist/cdn/{L2LZHMH7.js → D6BWGR3Z.js} +1 -1
  80. package/dist/cdn/{5IXZDVTF.js → DATBQXOK.js} +1 -1
  81. package/dist/cdn/{QB7T5YZ4.js → DBLLBQTY.js} +1 -1
  82. package/dist/cdn/{5IEGTCFV.js → DCCWOMAC.js} +1 -1
  83. package/dist/cdn/{APQ2XNV7.js → DFKHGL3E.js} +1 -1
  84. package/dist/cdn/{HW3TRZY4.js → DSROAKFP.js} +1 -1
  85. package/dist/cdn/{56KR4KYO.js → E3ILZB5S.js} +1 -1
  86. package/dist/cdn/{YTRY74ZP.js → E5TRFG7X.js} +1 -1
  87. package/dist/cdn/{ARJHGUGG.js → EFOY5CY5.js} +1 -1
  88. package/dist/cdn/{MIHS4UUO.js → EHMCN2NS.js} +1 -1
  89. package/dist/cdn/{DNOSWCRM.js → ETXQKL6T.js} +1 -1
  90. package/dist/cdn/{QVFP6VNW.js → EVXKGM66.js} +1 -1
  91. package/dist/cdn/{NUPOLDDX.js → EYHS3JDR.js} +1 -1
  92. package/dist/cdn/{7PCTYMRK.js → F2ZADKF4.js} +1 -1
  93. package/dist/cdn/{NXBXO7PE.js → F3JDX4A7.js} +1 -1
  94. package/dist/cdn/{UREENOOH.js → F5G3VJU7.js} +1 -1
  95. package/dist/cdn/{LOTMKNUM.js → FECA7CTQ.js} +1 -1
  96. package/dist/cdn/{VIHVSV4P.js → FFAM2LIE.js} +1 -1
  97. package/dist/cdn/FIIA3N5X.js +2 -0
  98. package/dist/cdn/{4LKGHKBM.js → FJT32TIN.js} +1 -1
  99. package/dist/cdn/{IXS5O6G4.js → FRAZUJ7K.js} +1 -1
  100. package/dist/cdn/{XM2OSRTS.js → FRSROWP4.js} +1 -1
  101. package/dist/cdn/{2GM4O42V.js → FY6IGGPV.js} +1 -1
  102. package/dist/cdn/{Z3GGFI6Z.js → FZDURX2Y.js} +1 -1
  103. package/dist/cdn/{F3G626XT.js → G2BLA5NQ.js} +1 -1
  104. package/dist/cdn/{2AKHVAG7.js → G7HOUS4O.js} +1 -1
  105. package/dist/cdn/{MIRKEWHI.js → GG7KEBIO.js} +1 -1
  106. package/dist/cdn/GH2RPE3P.js +2 -0
  107. package/dist/cdn/{ZZHPGKBQ.js → GIQDIWW4.js} +1 -1
  108. package/dist/cdn/{PSX4TLHP.js → GMSIYMNC.js} +1 -1
  109. package/dist/cdn/{VRC5MLVY.js → GVALHSMR.js} +1 -1
  110. package/dist/cdn/HF3GCBAI.js +2 -0
  111. package/dist/cdn/{S7OFSONY.js → HIG6CVQX.js} +1 -1
  112. package/dist/cdn/{BSLVN2NW.js → HISWL3K3.js} +1 -1
  113. package/dist/cdn/{EV2EASMH.js → HOKDRJ4R.js} +1 -1
  114. package/dist/cdn/{FQBZ4RIZ.js → HPISDMLX.js} +1 -1
  115. package/dist/cdn/{QVM6UFNB.js → HVHQMAZ4.js} +1 -1
  116. package/dist/cdn/{NCYBFT2Y.js → HYRFW7KG.js} +1 -1
  117. package/dist/cdn/I3VQ46FA.js +2 -0
  118. package/dist/cdn/{BQUWJGGL.js → I4KA3CNC.js} +1 -1
  119. package/dist/cdn/{WXX3WGFE.js → IBNFHSSF.js} +1 -1
  120. package/dist/cdn/{AZYY5BTK.js → IE7XJM27.js} +1 -1
  121. package/dist/cdn/{3TRAIJXM.js → J3KQKQSU.js} +1 -1
  122. package/dist/cdn/{L2FVENA7.js → JBJNQGGE.js} +1 -1
  123. package/dist/cdn/{K4TLP5XG.js → JFVNGZNJ.js} +1 -1
  124. package/dist/cdn/{4GE4A5ZF.js → JHWTX3YJ.js} +1 -1
  125. package/dist/cdn/{WTTWWX57.js → JKB6V2RD.js} +1 -1
  126. package/dist/cdn/{DMFYRFSD.js → JKOIMKKL.js} +1 -1
  127. package/dist/cdn/{KX3XJGXZ.js → JOPAUFUX.js} +1 -1
  128. package/dist/cdn/{A5ZHWVI3.js → JOUNNARF.js} +1 -1
  129. package/dist/cdn/JVC76RB3.js +2 -0
  130. package/dist/cdn/K2FKS4AS.js +2 -0
  131. package/dist/cdn/{5POTZZ3V.js → KFL7RYUP.js} +1 -1
  132. package/dist/cdn/{4MUCONAD.js → KGFMFLEB.js} +1 -1
  133. package/dist/cdn/{UKJYTLTV.js → KGJLTL75.js} +1 -1
  134. package/dist/cdn/{3N2HSTRS.js → KJTWHP5I.js} +1 -1
  135. package/dist/cdn/{LGAYYLQL.js → KMV445BK.js} +1 -1
  136. package/dist/cdn/{RT4SQ4PV.js → KR4EB5AC.js} +1 -1
  137. package/dist/cdn/{IITMDFOP.js → KZPPV365.js} +1 -1
  138. package/dist/cdn/{SVXVFWF5.js → L3YJAQBN.js} +1 -1
  139. package/dist/cdn/{I5EJ7LOJ.js → LKCX5SXM.js} +1 -1
  140. package/dist/cdn/{KPOJXBNC.js → LMNH2RHA.js} +1 -1
  141. package/dist/cdn/{6BRAQ2VJ.js → LPB2JMJ5.js} +1 -1
  142. package/dist/cdn/{CQ7HNSA2.js → M4BXOW2Q.js} +1 -1
  143. package/dist/cdn/{Q7SMGP5R.js → M6LV7VM5.js} +1 -1
  144. package/dist/cdn/{RIBE2H6U.js → M7KQOIH2.js} +1 -1
  145. package/dist/cdn/{73N362E5.js → MH324PA6.js} +1 -1
  146. package/dist/cdn/MIIHAXAZ.js +2 -0
  147. package/dist/cdn/MLXWIPK2.js +2 -0
  148. package/dist/cdn/{NN4RJSCH.js → MPHO6N5K.js} +1 -1
  149. package/dist/cdn/{KENF5DVZ.js → MSQKXANF.js} +1 -1
  150. package/dist/cdn/{2U6EB7BN.js → MXYWUI34.js} +1 -1
  151. package/dist/cdn/{NOVBQIN5.js → NAEALB6J.js} +1 -1
  152. package/dist/cdn/{WUPMOIP3.js → NIGSZZQA.js} +1 -1
  153. package/dist/cdn/{JVP63EMR.js → NPIJLONQ.js} +1 -1
  154. package/dist/cdn/O6CGTOAO.js +2 -0
  155. package/dist/cdn/{I5SI3FWI.js → OCHBUJAT.js} +1 -1
  156. package/dist/cdn/{CH6EWFKV.js → OD3BO6AL.js} +1 -1
  157. package/dist/cdn/{PODV4OTG.js → ONZ7UTQO.js} +1 -1
  158. package/dist/cdn/{NIFDFP4Q.js → OVXR64PW.js} +1 -1
  159. package/dist/cdn/{IE5OHRX5.js → P63WHRTI.js} +1 -1
  160. package/dist/cdn/{MDICIYVG.js → P7DYWBMK.js} +1 -1
  161. package/dist/cdn/{TYEPGXJH.js → PAZBKL7R.js} +1 -1
  162. package/dist/cdn/{U2ZQWROE.js → PCRSL2XJ.js} +1 -1
  163. package/dist/cdn/{UYFMNOGK.js → PFP7KVAD.js} +1 -1
  164. package/dist/cdn/{JCSG35A7.js → PI55I5L7.js} +1 -1
  165. package/dist/cdn/{EQGGVVNX.js → PTKUNH6D.js} +1 -1
  166. package/dist/cdn/{5GN3PNTI.js → PWY44JI6.js} +1 -1
  167. package/dist/cdn/{35VRWQWE.js → PXSNOIDS.js} +1 -1
  168. package/dist/cdn/{B5WHS7ER.js → Q446NT7X.js} +1 -1
  169. package/dist/cdn/{5HNZ27R4.js → QD3GVN2C.js} +1 -1
  170. package/dist/cdn/{UP7UPFAE.js → QGJBQDLI.js} +1 -1
  171. package/dist/cdn/{RTFIAQWR.js → QMJTMBWB.js} +1 -1
  172. package/dist/cdn/{MU6AVJOK.js → QTGJ2TIJ.js} +1 -1
  173. package/dist/cdn/{CGDMP7IH.js → QVAISNQE.js} +1 -1
  174. package/dist/cdn/{KJSNL3R6.js → QY2MHZO6.js} +1 -1
  175. package/dist/cdn/{M3TJQPJ3.js → R54BWOJL.js} +1 -1
  176. package/dist/cdn/{H32EDCZG.js → RBQLAUGL.js} +1 -1
  177. package/dist/cdn/{FAQNHEA4.js → RC2T53I5.js} +1 -1
  178. package/dist/cdn/{FAS3CA6C.js → REOCH4MZ.js} +1 -1
  179. package/dist/cdn/{2QADMC6K.js → REUYYFCX.js} +1 -1
  180. package/dist/cdn/{32DXZW7Z.js → RIVFCEGS.js} +1 -1
  181. package/dist/cdn/{WTBRS6C4.js → RM4OPQBM.js} +3 -3
  182. package/dist/cdn/{X5M3AEQM.js → S3QMZKDY.js} +1 -1
  183. package/dist/cdn/{VLKHH2Y6.js → S5XIZ2L4.js} +1 -1
  184. package/dist/cdn/{B2FQHBTX.js → SB3WKE5H.js} +1 -1
  185. package/dist/cdn/{3WUSU6XP.js → SHMHGYVB.js} +1 -1
  186. package/dist/cdn/{QE6XRKDY.js → SLS6H5OI.js} +1 -1
  187. package/dist/cdn/SO3OASNI.js +2 -0
  188. package/dist/cdn/{EGJRBN3G.js → SOUZEOKR.js} +1 -1
  189. package/dist/cdn/{STWRT3F7.js → SQQKMKRG.js} +1 -1
  190. package/dist/cdn/{DDGXUCQU.js → SSJBKHEN.js} +1 -1
  191. package/dist/cdn/{VK2AQNZW.js → SSNWCNXP.js} +1 -1
  192. package/dist/cdn/{CYWMBY4Y.js → SSWT6Y3N.js} +1 -1
  193. package/dist/cdn/{JFHEHJOQ.js → T6NUABZU.js} +1 -1
  194. package/dist/cdn/{MR3VAM44.js → T7WPIWCX.js} +1 -1
  195. package/dist/cdn/{3BBEFRTR.js → TDUAPWT6.js} +1 -1
  196. package/dist/cdn/{LL7FJHEJ.js → TVMNE62W.js} +1 -1
  197. package/dist/cdn/{5W4MBIKY.js → TZ23FBZ7.js} +1 -1
  198. package/dist/cdn/{VNZUXNWJ.js → U4L3Z5QH.js} +1 -1
  199. package/dist/cdn/{W3M6NBVO.js → UAGCCYQB.js} +1 -1
  200. package/dist/cdn/{DSLMWFTR.js → UC26JN7I.js} +1 -1
  201. package/dist/cdn/{3RMUQ4SS.js → UDUPHECB.js} +1 -1
  202. package/dist/cdn/{XWHCPDF5.js → UKFAXZIW.js} +1 -1
  203. package/dist/cdn/{RFJWLEKY.js → UMYF32YV.js} +1 -1
  204. package/dist/cdn/{QV5ZPD7H.js → UUPYWQ7D.js} +1 -1
  205. package/dist/cdn/{2VLRQ46L.js → UXSGOUNZ.js} +1 -1
  206. package/dist/cdn/{ZFQLBEGC.js → V42KBFW7.js} +1 -1
  207. package/dist/cdn/{AL52T6VH.js → VC4YUXRW.js} +1 -1
  208. package/dist/cdn/{KNUETGYG.js → VHHRBGXN.js} +1 -1
  209. package/dist/cdn/{TBJOTUJP.js → VHMDAMVX.js} +1 -1
  210. package/dist/cdn/{KIDAEQ5W.js → VWV6XWSU.js} +1 -1
  211. package/dist/cdn/{2M33G6FR.js → W3NK36SU.js} +1 -1
  212. package/dist/cdn/W5LZWE6R.js +2 -0
  213. package/dist/cdn/{5OQPTYP5.js → WCQUCDIY.js} +1 -1
  214. package/dist/cdn/{ANSNQBZW.js → WFPR2VUW.js} +1 -1
  215. package/dist/cdn/{SSHNAKNA.js → WIW3AOTK.js} +1 -1
  216. package/dist/cdn/{24XXJOOX.js → WNJOIQDJ.js} +1 -1
  217. package/dist/cdn/{L72D4UTS.js → WNLMIARH.js} +1 -1
  218. package/dist/cdn/{OF6BYN4Z.js → XAZNEI2W.js} +1 -1
  219. package/dist/cdn/{DCGOOUOL.js → XFA3SAYB.js} +1 -1
  220. package/dist/cdn/{Q2GU7GDS.js → XKRMD24I.js} +1 -1
  221. package/dist/cdn/XQH6U57U.js +2 -0
  222. package/dist/cdn/{3J7PCUNV.js → XS3Z2WXL.js} +1 -1
  223. package/dist/cdn/{H4FPSA53.js → XWWXBWU2.js} +1 -1
  224. package/dist/cdn/{KPX2JCBN.js → XZ2BN6X5.js} +1 -1
  225. package/dist/cdn/{B23TN7FG.js → XZGU6TR6.js} +1 -1
  226. package/dist/cdn/{AOVBGBGS.js → YB3YZ6U5.js} +1 -1
  227. package/dist/cdn/YDP5A3EP.js +2 -0
  228. package/dist/cdn/{YNC35BAZ.js → YELCBIGX.js} +1 -1
  229. package/dist/cdn/{H2MG6U2T.js → YHNCQVNV.js} +1 -1
  230. package/dist/cdn/{FD7U6V53.js → YIAGW5MM.js} +1 -1
  231. package/dist/cdn/{XXA7VSON.js → YOIVWFJK.js} +1 -1
  232. package/dist/cdn/{KNMX3FG5.js → YQMGSWPQ.js} +1 -1
  233. package/dist/cdn/{L6B6VGZX.js → Z3UPOVNZ.js} +1 -1
  234. package/dist/cdn/{ZKW6OUEO.js → ZGGQQPWY.js} +1 -1
  235. package/dist/cdn/{SNO5W2NO.js → ZJP2RY4T.js} +1 -1
  236. package/dist/cdn/{X4RJMWSU.js → ZOZSYLAP.js} +1 -1
  237. package/dist/cdn/{DDGANMOY.js → ZSDNX326.js} +1 -1
  238. package/dist/cdn/{GC65JYR2.js → ZTLILWC7.js} +1 -1
  239. package/dist/cdn/assets/time-bar/t9n/messages.en.json +1 -1
  240. package/dist/cdn/assets/time-zone-chip/t9n/messages.en.json +1 -0
  241. package/dist/cdn/assets/time-zone-selector/t9n/messages.en.json +1 -0
  242. package/dist/cdn/assets/utility-network-elements-result-item/t9n/messages.en.json +1 -0
  243. package/dist/cdn/assets/utility-network-trace-configuration-picker/t9n/messages.en.json +1 -0
  244. package/dist/cdn/index.js +1 -1
  245. package/dist/cdn/main.css +1 -1
  246. package/dist/chunks/component-utils.js +75 -63
  247. package/dist/chunks/dateUtils.js +41 -58
  248. package/dist/chunks/keyboard-utils.js +14 -8
  249. package/dist/chunks/layer-list-item.js +13 -13
  250. package/dist/chunks/useArcgisViewReadyError.js +14 -9
  251. package/dist/components/arcgis-daylight/customElement.d.ts +6 -0
  252. package/dist/components/arcgis-daylight/customElement.js +429 -304
  253. package/dist/components/arcgis-daylight/index.js +1 -0
  254. package/dist/components/arcgis-directions/customElement.js +1 -1
  255. package/dist/components/arcgis-feature-media/customElement.js +47 -47
  256. package/dist/components/arcgis-feature-table/customElement.js +1 -1
  257. package/dist/components/arcgis-features/customElement.js +17 -17
  258. package/dist/components/arcgis-features-next/customElement.js +31 -27
  259. package/dist/components/arcgis-link-chart/customElement.js +23 -20
  260. package/dist/components/arcgis-map/customElement.js +15 -12
  261. package/dist/components/arcgis-navigation-toggle/customElement.js +1 -1
  262. package/dist/components/arcgis-scene/customElement.js +15 -12
  263. package/dist/components/arcgis-time-bar/TimeBarViewModel.d.ts +1 -1
  264. package/dist/components/arcgis-time-bar/customElement.d.ts +3 -15
  265. package/dist/components/arcgis-time-bar-settings/customElement.js +63 -88
  266. package/dist/components/arcgis-time-bar-settings/index.js +1 -0
  267. package/dist/components/arcgis-time-zone-chip/customElement.d.ts +36 -0
  268. package/dist/components/arcgis-time-zone-chip/customElement.js +36 -0
  269. package/dist/components/arcgis-time-zone-chip/index.js +4 -0
  270. package/dist/components/arcgis-time-zone-selector/customElement.js +56 -0
  271. package/dist/components/arcgis-time-zone-selector/index.js +6 -0
  272. package/dist/components/arcgis-utility-network-aggregated-geometry-result-item/customElement.d.ts +1 -1
  273. package/dist/components/arcgis-utility-network-aggregated-geometry-result-item/customElement.js +1 -1
  274. package/dist/components/arcgis-utility-network-elements-result-item/customElement.d.ts +193 -0
  275. package/dist/components/arcgis-utility-network-elements-result-item/customElement.js +175 -0
  276. package/dist/components/arcgis-utility-network-elements-result-item/index.js +6 -0
  277. package/dist/components/arcgis-utility-network-picker/customElement.js +18 -15
  278. package/dist/components/arcgis-utility-network-trace-analysis-next/customElement.d.ts +43 -0
  279. package/dist/components/arcgis-utility-network-trace-analysis-next/customElement.js +76 -99
  280. package/dist/components/arcgis-utility-network-trace-configuration-picker/customElement.d.ts +89 -0
  281. package/dist/components/arcgis-utility-network-trace-configuration-picker/customElement.js +137 -0
  282. package/dist/components/arcgis-utility-network-trace-configuration-picker/index.d.ts +1 -0
  283. package/dist/components/arcgis-utility-network-trace-configuration-picker/index.js +9 -0
  284. package/dist/components/arcgis-utility-network-trace-inputs-next/customElement.js +137 -206
  285. package/dist/components/arcgis-utility-network-trace-inputs-next/index.js +1 -6
  286. package/dist/components/arcgis-utility-network-trace-results-next/customElement.d.ts +51 -10
  287. package/dist/components/arcgis-utility-network-trace-results-next/customElement.js +67 -148
  288. package/dist/components/arcgis-utility-network-trace-results-next/index.js +1 -4
  289. package/dist/components/arcgis-version-management-version-properties/customElement.js +1 -1
  290. package/dist/components/arcgis-weather/customElement.js +1 -1
  291. package/dist/docs/api.json +1 -1
  292. package/dist/docs/docs.json +1 -1
  293. package/dist/docs/vscode.html-custom-data.json +1 -1
  294. package/dist/docs/web-types.json +1 -1
  295. package/dist/index.d.ts +29 -3
  296. package/dist/loader.js +7 -4
  297. package/dist/types/lumina.d.ts +24 -7
  298. package/dist/types/preact.d.ts +27 -8
  299. package/dist/types/react.d.ts +30 -9
  300. package/dist/types/stencil.d.ts +24 -7
  301. package/package.json +5 -5
  302. package/dist/cdn/323SSBOJ.js +0 -2
  303. package/dist/cdn/32XG4IQO.js +0 -2
  304. package/dist/cdn/34CXVCB3.js +0 -2
  305. package/dist/cdn/BXDUMWWE.js +0 -2
  306. package/dist/cdn/ECXFGOCB.js +0 -2
  307. package/dist/cdn/FLVENMD3.js +0 -2
  308. package/dist/cdn/FR3EHEIV.js +0 -2
  309. package/dist/cdn/HEYHZKI2.js +0 -3
  310. package/dist/cdn/I5DFLVVJ.js +0 -2
  311. package/dist/cdn/IORWRMMG.js +0 -2
  312. package/dist/cdn/J3743ZYD.js +0 -2
  313. package/dist/cdn/KGXZG3YI.js +0 -2
  314. package/dist/cdn/MSNVY4PH.js +0 -2
  315. package/dist/cdn/NO6MFBNV.js +0 -2
  316. package/dist/cdn/NP5NJFWN.js +0 -2
  317. package/dist/cdn/Q6TYHAOA.js +0 -2
  318. package/dist/cdn/R6ZUE6GP.js +0 -2
  319. package/dist/cdn/RJSJ53UD.js +0 -2
  320. package/dist/cdn/SYDGAFU5.js +0 -2
  321. package/dist/cdn/VY2FRIAX.js +0 -2
  322. package/dist/cdn/ZGEJX5IU.js +0 -2
  323. package/dist/cdn/ZTRUEI25.js +0 -2
  324. package/dist/cdn/assets/utility-network-subnetwork-info-next/t9n/messages.en.json +0 -1
  325. package/dist/components/arcgis-utility-network-subnetwork-info-next/customElement.d.ts +0 -29
  326. package/dist/components/arcgis-utility-network-subnetwork-info-next/customElement.js +0 -35
  327. package/dist/support/time-utils.d.ts +0 -7
  328. /package/dist/components/{arcgis-utility-network-subnetwork-info-next → arcgis-time-zone-chip}/index.d.ts +0 -0
  329. /package/dist/components/{arcgis-utility-network-subnetwork-info-next/index.js → arcgis-utility-network-elements-result-item/index.d.ts} +0 -0
@@ -1,25 +1,23 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import { c as b } from "../../chunks/runtime.js";
2
+ import { c as g } from "../../chunks/runtime.js";
3
3
  import { ref as d } from "lit/directives/ref.js";
4
4
  import c from "@arcgis/core/core/Collection.js";
5
- import { watch as w } from "@arcgis/core/core/reactiveUtils.js";
6
- import { substitute as y } from "@arcgis/core/intl.js";
7
- import k from "@arcgis/core/layers/GraphicsLayer.js";
8
- import S from "@arcgis/core/networks/support/UNTraceConfiguration.js";
9
- import T from "@arcgis/core/rest/networks/support/TraceLocation.js";
10
- import g from "@arcgis/core/views/interactive/snapping/FeatureSnappingLayerSource.js";
11
- import $ from "@arcgis/core/widgets/Sketch/SketchViewModel.js";
12
- import { LitElement as C, createEvent as l } from "@arcgis/lumina";
13
- import { usePropertyChange as N } from "@arcgis/lumina/controllers";
14
- import { log as u, composeMissingPropertyMessage as L } from "@arcgis/toolkit/log";
15
- import { css as v, html as r } from "lit";
16
- import { u as _ } from "../../chunks/useT9n.js";
17
- import { l as x } from "../../chunks/async-utils.js";
18
- import { a as I, i as p, c as F, q as f, b as E } from "../../chunks/layer-utils.js";
19
- const P = v`:host{height:100%;flex-grow:1}calcite-flow{min-height:var(--arcgis-internal-panel-height-sm, 240px)}calcite-block-group{flex-grow:1;padding-bottom:var(--calcite-spacing-md);background-color:var(--calcite-color-foreground-1)}calcite-block{--calcite-block-content-space: 0;--calcite-block-border-color: transparent;margin:0}calcite-block calcite-combobox,calcite-block calcite-input{margin:0 var(--calcite-spacing-md)}calcite-block calcite-input-message{padding:var(--calcite-spacing-sm) var(--calcite-spacing-md) 0}calcite-notice{margin:var(--calcite-spacing-md)}#subnetwork-info-block{margin:var(--calcite-spacing-md) var(--calcite-spacing-md) 0}#results-limited-message{padding:var(--calcite-spacing-sm)}.inline-loader{--calcite-loader-spacing: var(--calcite-spacing-md)}.add-spatial-mode{display:flex;flex-direction:column;gap:var(--calcite-spacing-md);margin:var(--calcite-spacing-md)}.heading{color:var(--calcite-color-text-1);margin:0 0 var(--calcite-spacing-md);font-size:var(--calcite-font-size);font-weight:var(--calcite-font-weight-medium)}`, m = `utility-network-trace-inputs-sketch-${Date.now()}`, D = 20;
20
- class U extends C {
5
+ import { watch as m } from "@arcgis/core/core/reactiveUtils.js";
6
+ import { substitute as f } from "@arcgis/core/intl.js";
7
+ import y from "@arcgis/core/layers/GraphicsLayer.js";
8
+ import w from "@arcgis/core/rest/networks/support/TraceLocation.js";
9
+ import u from "@arcgis/core/views/interactive/snapping/FeatureSnappingLayerSource.js";
10
+ import b from "@arcgis/core/widgets/Sketch/SketchViewModel.js";
11
+ import { LitElement as k, createEvent as n } from "@arcgis/lumina";
12
+ import { usePropertyChange as L } from "@arcgis/lumina/controllers";
13
+ import { css as T, html as s } from "lit";
14
+ import { u as $ } from "../../chunks/useT9n.js";
15
+ import { l as S } from "../../chunks/async-utils.js";
16
+ import { a as C, i as p, c as v, q as N, b as _ } from "../../chunks/layer-utils.js";
17
+ const P = T`:host{height:100%;flex-grow:1}calcite-flow{min-height:var(--arcgis-internal-panel-height-sm, 240px)}calcite-block-group{flex-grow:1;padding-bottom:var(--calcite-spacing-md);background-color:var(--calcite-color-foreground-1)}calcite-block{--calcite-block-content-space: 0;--calcite-block-border-color: transparent;margin:0}calcite-block calcite-combobox,calcite-block calcite-input{margin:0 var(--calcite-spacing-md)}calcite-block calcite-input-message{padding:var(--calcite-spacing-sm) var(--calcite-spacing-md) 0}calcite-notice{margin:var(--calcite-spacing-md)}.subnetwork-info-block{margin:var(--calcite-spacing-md) var(--calcite-spacing-md) 0}.results-limited-message{padding:var(--calcite-spacing-sm)}.inline-loader{--calcite-loader-spacing: var(--calcite-spacing-md)}.add-spatial-mode{display:flex;flex-direction:column;gap:var(--calcite-spacing-md);margin:var(--calcite-spacing-md)}.heading{color:var(--calcite-color-text-1);margin:0 0 var(--calcite-spacing-md);font-size:var(--calcite-font-size);font-weight:var(--calcite-font-weight-medium)}`, h = `utility-network-trace-inputs-sketch-${Date.now()}`;
18
+ class F extends k {
21
19
  constructor() {
22
- super(...arguments), this._messages = _({ blocking: !0 }), this.#h = !0, this.#u = /* @__PURE__ */ new Map(), this.#r = new c(), this.#s = new c(), this.#o = new c(), this.#b = /* @__PURE__ */ new Set(["subnetwork", "subnetwork-controller", "upstream", "downstream", "isolation"]), this.#i = null, this.#c = 20, this._candidateFeatures = [], this._compatibleSubnetworkNames = [], this._namedTraceConfigurations = [], this._subnetworkNamesState = "ready", this._exceedDisplayLimit = !1, this.autoDestroyDisabled = !1, this.hideActionBar = !1, this.mode = "default", this.arcgisPropertyChange = N()("mode"), this.arcgisSelectedNamedTraceConfigurationChange = l(), this.arcgisTraceInputsChange = l(), this.arcgisTraceLocationSelectEnd = l(), this.arcgisTraceLocationSelectStart = l(), this.arcgisUtilityNetworkChange = l();
20
+ super(...arguments), this._messages = $({ blocking: !0 }), this.#l = !0, this.#d = /* @__PURE__ */ new Map(), this.#a = new c(), this.#r = new c(), this.#s = new c(), this.#t = null, this.#c = 20, this._candidateFeatures = [], this._compatibleSubnetworkNames = [], this._namedTraceConfigurations = [], this._subnetworkNamesState = "ready", this._exceedDisplayLimit = !1, this.autoDestroyDisabled = !1, this.hideActionBar = !1, this.mode = "default", this.arcgisPropertyChange = L()("mode"), this.arcgisSelectedNamedTraceConfigurationChange = n(), this.arcgisTraceInputsChange = n(), this.arcgisTraceLocationSelectEnd = n(), this.arcgisTraceLocationSelectStart = n(), this.arcgisUtilityNetworkChange = n();
23
21
  }
24
22
  static {
25
23
  this.properties = { _selectedFeature: 16, _candidateFeatures: 16, _compatibleSubnetworkNames: 16, _subnetworksTable: 16, _namedTraceConfigurations: 16, _traceConfiguration: 16, _error: 16, _subnetworkNamesState: 16, _activeTraceLocationType: 16, _exceedDisplayLimit: 16, beforeTraceLocationSelectStart: 0, view: 0, selectedUtilityNetwork: 0, selectedNamedTraceConfiguration: 0, autoDestroyDisabled: 5, hideActionBar: 5, traceConfiguration: 32, isSubnetworkNameTraceSelected: 32, referenceElement: 1, mode: 3, traceLocationFlagInfos: 32, traceLocations: 32 };
@@ -27,38 +25,31 @@ class U extends C {
27
25
  static {
28
26
  this.styles = P;
29
27
  }
30
- get #e() {
31
- return this._traceConfiguration?.subnetworkName ?? void 0;
32
- }
33
- set #e(e) {
34
- this._traceConfiguration && (this._traceConfiguration.subnetworkName = e);
35
- }
36
- #h;
37
- get #v() {
28
+ #l;
29
+ get #S() {
38
30
  const { view: e } = this;
39
31
  return e?.map ? e.map.allLayers.toArray().concat(e.map.allTables.toArray()) : [];
40
32
  }
41
- #t;
33
+ #e;
34
+ #i;
35
+ #d;
42
36
  #a;
43
- #u;
44
37
  #r;
45
38
  #s;
39
+ #t;
46
40
  #o;
47
- #b;
48
- #i;
49
- #n;
50
- #w;
41
+ #m;
42
+ #f;
51
43
  #y;
52
- #k;
53
44
  #c;
54
- get #S() {
45
+ get #w() {
55
46
  return !this.isSubnetworkNameTraceSelected;
56
47
  }
57
- get #T() {
48
+ get #b() {
58
49
  const e = this.selectedNamedTraceConfiguration?.traceType;
59
50
  return e === "path" || e === "circuit";
60
51
  }
61
- get #_() {
52
+ get #C() {
62
53
  const e = this.selectedUtilityNetwork?.dataElement?.domainNetworks;
63
54
  return e ? e.map((t) => t.subnetworkLayerId).filter((t) => t != null && t > -1) : [];
64
55
  }
@@ -70,52 +61,52 @@ class U extends C {
70
61
  return !!e?.traceConfiguration?.subnetworkName && e?.traceType === "subnetwork";
71
62
  }
72
63
  get traceLocationFlagInfos() {
73
- return new c([...this.#r, ...this.#s, ...this.#o]);
64
+ return new c([...this.#a, ...this.#r, ...this.#s]);
74
65
  }
75
66
  get traceLocations() {
76
67
  const e = [];
77
- return this.#S && this.#r.forEach((t) => e.push(...this.#m(t))), this.#T && this.#o.forEach((t) => e.push(...this.#m(t))), this.#s.forEach((t) => e.push(...this.#m(t))), e;
68
+ return this.#w && this.#a.forEach((t) => e.push(...this.#h(t))), this.#b && this.#s.forEach((t) => e.push(...this.#h(t))), this.#r.forEach((t) => e.push(...this.#h(t))), e;
78
69
  }
79
70
  async destroy() {
80
- this.#A(m), this.#C(), this.#t?.cancel(), this.#n?.destroy(), this.#w?.destroy(), this.#y?.destroy(), this.#k?.destroy(), await this.manager.destroy();
71
+ this.#D(h), this.#L(), this.#e?.cancel(), this.#o?.destroy(), this.#m?.destroy(), this.#f?.destroy(), this.#y?.destroy(), await this.manager.destroy();
81
72
  }
82
73
  load() {
83
- this.#$(), this.manager.onLifecycle(() => [
84
- w(() => this.view?.map, () => this.#$())
74
+ this.#k(), this.manager.onLifecycle(() => [
75
+ m(() => this.view?.map, () => this.#k())
85
76
  ]);
86
77
  }
87
78
  willUpdate(e) {
88
- e.has("selectedUtilityNetwork") && (this.arcgisUtilityNetworkChange.emit(), this.#H()), e.has("selectedNamedTraceConfiguration") && (this.arcgisTraceInputsChange.emit(), this.arcgisSelectedNamedTraceConfigurationChange.emit(), this.#z());
79
+ e.has("selectedUtilityNetwork") && (this.arcgisUtilityNetworkChange.emit(), this.#A()), e.has("selectedNamedTraceConfiguration") && (this.arcgisTraceInputsChange.emit(), this.arcgisSelectedNamedTraceConfigurationChange.emit());
89
80
  }
90
81
  disconnectedCallback() {
91
- super.disconnectedCallback(), this.#u.clear();
82
+ super.disconnectedCallback(), this.#d.clear();
92
83
  }
93
- #x({ detail: e, target: t }) {
84
+ #v({ detail: e, target: t }) {
94
85
  (e.name === "selectedDrillInFeature" || e.name === "selectedFeature") && (this._selectedFeature = t.selectedDrillInFeature ?? t.selectedFeature ?? void 0);
95
86
  }
96
- #$() {
87
+ #k() {
97
88
  if (this._error = void 0, !this.view?.map) {
98
89
  this._error = this._messages.errors.noView;
99
90
  return;
100
91
  }
101
92
  const e = this.view.map;
102
- this.#M(e);
103
- }
104
- #I(e) {
105
- e && (this.#w = e);
93
+ this.#x(e);
106
94
  }
107
- #F(e) {
108
- e && (this.#y = e);
95
+ #N(e) {
96
+ e && (this.#m = e);
109
97
  }
110
- #E(e) {
111
- e && (this.#k = e);
98
+ #_(e) {
99
+ e && (this.#f = e);
112
100
  }
113
101
  #P(e) {
114
- e && (this.#n = e);
102
+ e && (this.#y = e);
115
103
  }
116
- #m(e) {
104
+ #F(e) {
105
+ e && (this.#o = e);
106
+ }
107
+ #h(e) {
117
108
  const t = e.flagProperties.selectedTerminals;
118
- return e.flagProperties.terminalConfiguration && t?.size ? Array.from(t, (i) => new T({
109
+ return e.flagProperties.terminalConfiguration && t?.size ? Array.from(t, (i) => new w({
119
110
  type: e.traceLocation.type,
120
111
  isFilterBarrier: e.traceLocation.isFilterBarrier,
121
112
  globalId: e.traceLocation.globalId,
@@ -123,262 +114,202 @@ class U extends C {
123
114
  terminalId: i
124
115
  })) : [e.traceLocation];
125
116
  }
126
- #C() {
117
+ #L() {
127
118
  const { view: e } = this;
128
- this.#r.forEach((t) => {
119
+ this.#a.forEach((t) => {
129
120
  t.spatialProperties.flagGraphic && e?.graphics.remove(t.spatialProperties.flagGraphic);
130
- }), this.#r.removeAll(), this.#s.forEach((t) => {
121
+ }), this.#a.removeAll(), this.#r.forEach((t) => {
131
122
  t.spatialProperties.flagGraphic && e?.graphics.remove(t.spatialProperties.flagGraphic);
132
- }), this.#s.removeAll(), this.#o.forEach((t) => {
123
+ }), this.#r.removeAll(), this.#s.forEach((t) => {
133
124
  t.spatialProperties.flagGraphic && e?.graphics.remove(t.spatialProperties.flagGraphic);
134
- }), this.#o.removeAll();
125
+ }), this.#s.removeAll();
135
126
  }
136
- #D(e, t) {
127
+ #I(e, t) {
137
128
  if (!e.findLayerById(t)) {
138
- const a = new k({
129
+ const a = new y({
139
130
  id: t,
140
131
  listMode: "hide",
141
132
  title: t
142
133
  });
143
- I(this.view, a);
134
+ C(this.view, a);
144
135
  }
145
136
  }
146
- #U(e, t) {
137
+ #E(e, t) {
147
138
  const i = e.findLayerById(t);
148
139
  return p(i) ? (e.reorder(i, e.layers.length - 1), i) : null;
149
140
  }
150
- #A(e) {
141
+ #D(e) {
151
142
  if (!this.view?.map)
152
143
  return;
153
144
  const { map: t } = this.view, i = t?.findLayerById(e);
154
145
  i && p(i) && t?.remove(i);
155
146
  }
156
- #N() {
157
- if (!this.#t)
147
+ #T() {
148
+ if (!this.#e)
158
149
  return;
159
150
  const e = new c();
160
- this.#a?.forEach((t) => {
161
- F(t) ? t.sublayers.forEach((i) => {
162
- e.add(new g({
151
+ this.#i?.forEach((t) => {
152
+ v(t) ? t.sublayers.forEach((i) => {
153
+ e.add(new u({
163
154
  layer: i,
164
155
  enabled: !0
165
156
  }));
166
- }) : e.add(new g({
157
+ }) : e.add(new u({
167
158
  layer: t,
168
159
  enabled: !0
169
160
  }));
170
- }), this.#t.snappingOptions = {
161
+ }), this.#e.snappingOptions = {
171
162
  enabled: !1,
172
163
  featureSources: e
173
164
  };
174
165
  }
175
- #B(e) {
176
- const { view: t } = this, i = this.#U(e, m);
177
- return new $({
166
+ #U(e) {
167
+ const { view: t } = this, i = this.#E(e, h);
168
+ return new b({
178
169
  layer: i,
179
170
  view: t
180
171
  });
181
172
  }
182
- #M(e) {
183
- this.#D(e, m), this.#t = this.#B(e), this.#N();
184
- }
185
- #G() {
186
- this.#e = void 0, this._subnetworksTable = void 0, this._compatibleSubnetworkNames = [];
187
- }
188
- async #V() {
189
- this._subnetworksTable || (this._subnetworksTable = await this.selectedUtilityNetwork?.loadSubnetworksTable());
190
- }
191
- async #q() {
192
- const { _subnetworksTable: e } = this;
193
- if (!e)
194
- return;
195
- const t = e.fieldsIndex.get("SUBNETWORKNAME"), i = (o, n, h) => n === 0 || o.getAttribute(t.name) !== h[n - 1].getAttribute(t.name), a = e.createQuery();
196
- a.gdbVersion = this.selectedUtilityNetwork?.gdbVersion, a.where = this.#O(), a.outFields = [t.name], a.orderByFields = [t.name];
197
- const { features: s } = await f(e, a, void 0, !1);
198
- this._compatibleSubnetworkNames = s.filter(i).map((o) => o.getAttribute(t.name));
199
- }
200
- #O() {
201
- const e = this._traceConfiguration, t = `DOMAINNETWORKNAME = '${e.domainNetworkName}'`, i = `TIERNAME = '${e.tierName}'`;
202
- return [t, i].join(" AND ");
203
- }
204
- async #R(e) {
205
- await this.#V(), await this.#q(), e.subnetworkName && !this._compatibleSubnetworkNames.some((t) => t === e.subnetworkName) && (this.#e = this._compatibleSubnetworkNames.at(0));
173
+ #x(e) {
174
+ this.#I(e, h), this.#e = this.#U(e), this.#T();
206
175
  }
207
- #j(e) {
208
- const t = this.selectedUtilityNetwork?.sharedNamedTraceConfigurations.find((i) => i.globalId === e);
209
- if (!t) {
210
- u("error", this, "`traceConfig` not found in `selectedUtilityNetwork.sharedNamedTraceConfigurations`");
211
- return;
212
- }
213
- this.selectedNamedTraceConfiguration = t;
214
- }
215
- async #z() {
216
- const { selectedNamedTraceConfiguration: e } = this;
217
- if (!(e?.traceConfiguration instanceof S)) {
218
- u("error", this, L("selectedNamedTraceConfiguration.traceConfiguration")), this._traceConfiguration = void 0;
219
- return;
220
- }
221
- this._traceConfiguration = e.traceConfiguration.clone(), this.isSubnetworkNameTraceSelected && (this._subnetworkNamesState = "loading", await this.#R(this._traceConfiguration), this._subnetworkNamesState = "ready");
222
- }
223
- async #H() {
176
+ async #A() {
224
177
  const { selectedUtilityNetwork: e } = this;
225
178
  try {
226
179
  e && !e.loaded && await e.load();
227
180
  } catch (t) {
228
- x(t, this, "Error while loading the selected utility network");
181
+ S(t, this, "Error while loading the selected utility network");
229
182
  }
230
- this.#G(), this.#W(), this.#Q(), this.#C();
183
+ this.#B(), this.#M(), this.#L();
231
184
  }
232
- #W() {
233
- this._traceConfiguration = void 0, this.selectedNamedTraceConfiguration = void 0, this._namedTraceConfigurations = this.selectedUtilityNetwork?.sharedNamedTraceConfigurations.filter(Boolean).filter((e) => e.traceType !== "circuit").sort((e, t) => e.title.localeCompare(t.title)) || [], this._namedTraceConfigurations.length ? this.selectedNamedTraceConfiguration = this._namedTraceConfigurations.at(0) : u("error", this, "The selected utility network has no compatible named trace configurations.");
185
+ #B() {
186
+ this._traceConfiguration = void 0, this.selectedNamedTraceConfiguration = void 0, this._namedTraceConfigurations = this.selectedUtilityNetwork?.sharedNamedTraceConfigurations.filter(Boolean).filter((e) => e.traceType !== "circuit").sort((e, t) => e.title.localeCompare(t.title)) || [];
234
187
  }
235
- #Q() {
188
+ #M() {
236
189
  const { selectedUtilityNetwork: e } = this;
237
- this.#a = new c(this.#v.filter((t) => e?.isUtilityLayer(t) && !this.#_.includes(t.layerId))), this.#N();
190
+ this.#i = new c(this.#S.filter((t) => e?.isUtilityLayer(t) && !this.#C.includes(t.layerId))), this.#T();
238
191
  }
239
- #g(e) {
192
+ #u(e) {
240
193
  if (e.stopPropagation(), this.arcgisTraceLocationSelectStart.emit(e.detail).defaultPrevented) {
241
194
  e.preventDefault();
242
195
  return;
243
196
  }
244
197
  this._activeTraceLocationType = e?.target?.traceLocationType, this.mode = "add-spatial-instructions";
245
198
  }
246
- #K(e) {
199
+ #G(e) {
247
200
  if (e == null)
248
201
  return;
249
- const t = this.#u, i = this.#a, a = t.get(e);
202
+ const t = this.#d, i = this.#i, a = t.get(e);
250
203
  if (a)
251
204
  return a;
252
205
  if (!i)
253
206
  return;
254
- const s = i.find((o) => "layerId" in o && o.layerId === e);
255
- return s && t.set(e, s), s;
207
+ const r = i.find((o) => "layerId" in o && o.layerId === e);
208
+ return r && t.set(e, r), r;
256
209
  }
257
- async #J(e, t) {
210
+ async #V(e, t) {
258
211
  const i = e.createQuery();
259
- i.gdbVersion = this.selectedUtilityNetwork?.gdbVersion, i.objectIds = t.map((s) => s.getObjectId()), i.outFields = ["*"];
260
- const { features: a } = await f(e, i);
261
- return a.forEach((s) => {
262
- if (!s.getEffectivePopupTemplate(this.#h)) {
263
- const o = s.layer;
264
- s.popupTemplate = o.createPopupTemplate();
212
+ i.gdbVersion = this.selectedUtilityNetwork?.gdbVersion, i.objectIds = t.map((r) => r.getObjectId()), i.outFields = ["*"];
213
+ const { features: a } = await N(e, i);
214
+ return a.forEach((r) => {
215
+ if (!r.getEffectivePopupTemplate(this.#l)) {
216
+ const o = r.layer;
217
+ r.popupTemplate = o.createPopupTemplate();
265
218
  }
266
219
  }), a;
267
220
  }
268
- async #X(e) {
221
+ async #q(e) {
269
222
  const t = /* @__PURE__ */ new Map(), i = [];
270
223
  return e.forEach((a) => {
271
- const s = E(a.layer) ? a.layer.parent : a.layer;
272
- if (s) {
273
- const o = this.#K(s.layerId);
224
+ const r = _(a.layer) ? a.layer.parent : a.layer;
225
+ if (r) {
226
+ const o = this.#G(r.layerId);
274
227
  if (o) {
275
- const n = t.get(o) || [];
276
- n.push(a), t.set(o, n);
228
+ const l = t.get(o) || [];
229
+ l.push(a), t.set(o, l);
277
230
  }
278
231
  }
279
232
  }), await Promise.all(Array.from(t.keys()).map(async (a) => {
280
- const s = t.get(a) ?? [], o = await this.#J(a, s);
233
+ const r = t.get(a) ?? [], o = await this.#V(a, r);
281
234
  i.push(...o);
282
235
  })), i;
283
236
  }
284
237
  async #p(e) {
285
- return this._exceedDisplayLimit = e.length > this.#c, this._candidateFeatures = await this.#X(e.slice(0, this.#c)), this._candidateFeatures.length === 0 ? (this.#l(), await Promise.reject(Error("No features found"))) : (this._candidateFeatures.length === 1 && (this._selectedFeature = this._candidateFeatures.at(0)), this.mode = "add-spatial-feature", this.#i?.reject(), this.#i = Promise.withResolvers(), await this.#i.promise);
238
+ return this._exceedDisplayLimit = e.length > this.#c, this._candidateFeatures = await this.#q(e.slice(0, this.#c)), this._candidateFeatures.length === 0 ? (this.#n(), await Promise.reject(Error("No features found"))) : (this._candidateFeatures.length === 1 && (this._selectedFeature = this._candidateFeatures.at(0)), this.mode = "add-spatial-feature", this.#t?.reject(), this.#t = Promise.withResolvers(), await this.#t.promise);
286
239
  }
287
- #f(e) {
288
- e.stopPropagation(), this.arcgisTraceLocationSelectEnd.emit(), this._activeTraceLocationType = void 0, this.mode = "default", this.#l();
240
+ #g(e) {
241
+ e.stopPropagation(), this.arcgisTraceLocationSelectEnd.emit(), this._activeTraceLocationType = void 0, this.mode = "default", this.#n();
289
242
  }
290
- #l(e) {
291
- e?.stopPropagation(), this.#n?.clear(), this.#L(), this.#t?.cancel();
243
+ #n(e) {
244
+ e?.stopPropagation(), this.#o?.clear(), this.#$(), this.#e?.cancel();
292
245
  }
293
- #L() {
294
- this.mode = "default", this._candidateFeatures = [], this._selectedFeature = void 0, this.#i?.reject(), this.#i = null;
246
+ #$() {
247
+ this.mode = "default", this._candidateFeatures = [], this._selectedFeature = void 0, this.#t?.reject(), this.#t = null;
295
248
  }
296
- #Y() {
297
- const e = this.#i, t = this.#n, { _selectedFeature: i } = this;
249
+ #j() {
250
+ const e = this.#t, t = this.#o, { _selectedFeature: i } = this;
298
251
  if (e && t) {
299
252
  if (!i)
300
253
  return;
301
- e.resolve(i), this.#i = null;
254
+ e.resolve(i), this.#t = null;
302
255
  }
303
256
  }
304
- #d(e, t = !1, i) {
305
- return r`<calcite-notice .closable=${t} kind=danger open scale=s width=auto .icon=${i}><div slot=message>${e}</div></calcite-notice>`;
257
+ #R(e, t = !1, i) {
258
+ return s`<calcite-notice .closable=${t} kind=danger open scale=s width=auto .icon=${i}><div slot=message>${e}</div></calcite-notice>`;
306
259
  }
307
- #Z() {
308
- const e = this._namedTraceConfigurations.map((i) => r`<calcite-combobox-item .value=${i.globalId} .heading=${i.title} .selected=${i.globalId === this.selectedNamedTraceConfiguration?.globalId}></calcite-combobox-item>`), t = this._messages.labels.traceConfiguration;
309
- return r`<calcite-block .heading=${t} .label=${t} expanded><calcite-combobox .label=${t} selection-mode=single-persist @calciteComboboxChange=${({ currentTarget: i }) => {
310
- const a = i.selectedItems[0]?.value;
311
- this.#j(a);
312
- }}>${e}</calcite-combobox></calcite-block>`;
260
+ #z() {
261
+ const { _namedTraceConfigurations: e, selectedUtilityNetwork: t } = this;
262
+ return s`<arcgis-utility-network-trace-configuration-picker .traceConfigurations=${e} .utilityNetwork=${t} @arcgisPropertyChange=${(i) => {
263
+ i.stopPropagation(), i.detail.name === "selectedNamedTraceConfiguration" && (this.selectedNamedTraceConfiguration = i.target.selectedNamedTraceConfiguration), i.detail.name === "traceConfiguration" && (this._traceConfiguration = i.target.traceConfiguration);
264
+ }}></arcgis-utility-network-trace-configuration-picker>`;
313
265
  }
314
- #ee() {
266
+ #H() {
315
267
  const { selectedUtilityNetwork: e, view: t } = this;
316
- return r`<arcgis-utility-network-picker .selectedUtilityNetwork=${e} .view=${t} @arcgisPropertyChange=${(i) => {
268
+ return s`<arcgis-utility-network-picker .selectedUtilityNetwork=${e} .view=${t} @arcgisPropertyChange=${(i) => {
317
269
  i.detail.name === "selectedUtilityNetwork" && (this.selectedUtilityNetwork = i.target.selectedUtilityNetwork);
318
270
  }}></arcgis-utility-network-picker>`;
319
271
  }
320
- #te() {
272
+ #O() {
321
273
  const { _error: e } = this, { noView: t } = this._messages.errors;
322
274
  let i;
323
- return e === t ? i = this.#d(e, !1, "exclamation-mark-triangle") : i = this.#ue(), r`<calcite-flow-item .selected=${this.mode === "default"}>${i}</calcite-flow-item>`;
275
+ return e === t ? i = this.#R(e, !1, "exclamation-mark-triangle") : i = this.#Z(), s`<calcite-flow-item .selected=${this.mode === "default"}>${i}</calcite-flow-item>`;
324
276
  }
325
- #ie() {
277
+ #Q() {
326
278
  const { _messages: e, mode: t } = this, i = this._activeTraceLocationType === "starting-point" ? e.labels.addSpatial.startingPoint : this._activeTraceLocationType === "barrier" ? e.labels.addSpatial.barrier : e.labels.addSpatial.stoppingPoint;
327
- return r`<calcite-flow-item .selected=${t === "add-spatial-instructions"} .heading=${i} @calciteFlowItemBack=${(a) => this.#l(a)}><div class="add-spatial-mode"><div><h5 class="heading">${e.instructions.addSpatial.selectFeature.heading}</h5>${e.instructions.addSpatial.selectFeature.subheading}</div><div><h5 class="heading">${e.instructions.addSpatial.selectAssociatedFeature.heading}</h5>${e.instructions.addSpatial.selectAssociatedFeature.subheading}</div></div></calcite-flow-item>`;
279
+ return s`<calcite-flow-item .selected=${t === "add-spatial-instructions"} .heading=${i} @calciteFlowItemBack=${(a) => this.#n(a)}><div class="add-spatial-mode"><div><h5 class="heading">${e.instructions.addSpatial.selectFeature.heading}</h5>${e.instructions.addSpatial.selectFeature.subheading}</div><div><h5 class="heading">${e.instructions.addSpatial.selectAssociatedFeature.heading}</h5>${e.instructions.addSpatial.selectAssociatedFeature.subheading}</div></div></calcite-flow-item>`;
328
280
  }
329
- #ae() {
281
+ #W() {
330
282
  const { _activeTraceLocationType: e, _candidateFeatures: t, _messages: i } = this;
331
283
  if (!t.length)
332
284
  return this.mode = "default", null;
333
- const a = e === "starting-point" ? i.labels.addSpatial.startingPoint : e === "barrier" ? i.labels.addSpatial.barrier : i.labels.addSpatial.stoppingPoint, s = t.length === 1 ? "feature" : "list";
334
- return r`<arcgis-features-next .autoDestroyDisabled=${this.autoDestroyDisabled} .defaultPopupTemplateEnabled=${this.#h} .features=${this._candidateFeatures} .featureMenuTitle=${a} .hideActionBar=${this.hideActionBar} hide-select-feature .initialDisplayMode=${s} @arcgisClose=${() => this.#L()} @arcgisPropertyChange=${this.#x} open .referenceElement=${this.referenceElement} .view=${this.view} ${d(this.#P)}></arcgis-features-next>`;
285
+ const a = e === "starting-point" ? i.labels.addSpatial.startingPoint : e === "barrier" ? i.labels.addSpatial.barrier : i.labels.addSpatial.stoppingPoint, r = t.length === 1 ? "feature" : "list";
286
+ return s`<arcgis-features-next .autoDestroyDisabled=${this.autoDestroyDisabled} .defaultPopupTemplateEnabled=${this.#l} .features=${this._candidateFeatures} .featureMenuTitle=${a} .hideActionBar=${this.hideActionBar} hide-select-feature .initialDisplayMode=${r} @arcgisClose=${() => this.#$()} @arcgisPropertyChange=${this.#v} open .referenceElement=${this.referenceElement} .view=${this.view} ${d(this.#F)}></arcgis-features-next>`;
335
287
  }
336
- #re() {
337
- const { mode: e, _messages: t, _selectedFeature: i, selectedUtilityNetwork: a } = this, s = e === "add-spatial-feature" && this._exceedDisplayLimit && !i, o = y(t.warnings.exceededDisplayLimit, {
288
+ #J() {
289
+ const { mode: e, _messages: t, _selectedFeature: i, selectedUtilityNetwork: a } = this, r = e === "add-spatial-feature" && this._exceedDisplayLimit && !i, o = f(t.warnings.exceededDisplayLimit, {
338
290
  limit: this.#c.toString()
339
- }), n = i ? !(a?.isUtilityLayer(i.layer) ?? !0) : !0;
340
- return r`${s && r`<calcite-input-message id=results-limited-message icon=exclamation-mark-circle status=idle>${o}</calcite-input-message>` || ""}<calcite-button appearance=outline width=full @click=${() => this.#l()} slot=footer>${t.buttons.cancel}</calcite-button>${e === "add-spatial-feature" && r`<calcite-button width=full slot=footer appearance=solid @click=${() => this.#Y()} .disabled=${n}>${t.buttons.add}</calcite-button>` || ""}`;
341
- }
342
- #se() {
343
- return r`<arcgis-utility-network-trace-location-next .view=${this.view} trace-location-type=starting-point .beforeTraceLocationSelectStart=${this.beforeTraceLocationSelectStart} @arcgisTraceLocationSelectStart=${this.#g} @arcgisTraceLocationSelectEnd=${this.#f} @arcgisTraceLocationChange=${() => this.arcgisTraceInputsChange.emit()} .sketchViewModel=${this.#t} .utilityNetwork=${this.selectedUtilityNetwork} .filterLayers=${this.#a} .traceLocations=${this.#r} .afterHitTest=${this.#p.bind(this)} .autoDestroyDisabled=${this.autoDestroyDisabled} ${d(this.#I)}></arcgis-utility-network-trace-location-next>`;
291
+ }), l = i ? !(a?.isUtilityLayer(i.layer) ?? !0) : !0;
292
+ return s`${r && s`<calcite-input-message class="results-limited-message" icon=exclamation-mark-circle status=idle>${o}</calcite-input-message>` || ""}<calcite-button appearance=outline width=full @click=${() => this.#n()} slot=footer>${t.buttons.cancel}</calcite-button>${e === "add-spatial-feature" && s`<calcite-button width=full slot=footer appearance=solid @click=${() => this.#j()} .disabled=${l}>${t.buttons.add}</calcite-button>` || ""}`;
344
293
  }
345
- #oe() {
346
- return r`<arcgis-utility-network-trace-location-next .view=${this.view} trace-location-type=stopping-point .beforeTraceLocationSelectStart=${this.beforeTraceLocationSelectStart} @arcgisTraceLocationSelectStart=${this.#g} @arcgisTraceLocationSelectEnd=${this.#f} @arcgisTraceLocationChange=${() => this.arcgisTraceInputsChange.emit()} .sketchViewModel=${this.#t} .utilityNetwork=${this.selectedUtilityNetwork} .filterLayers=${this.#a} .traceLocations=${this.#o} .afterHitTest=${this.#p.bind(this)} .autoDestroyDisabled=${this.autoDestroyDisabled} ${d(this.#E)}></arcgis-utility-network-trace-location-next>`;
294
+ #K() {
295
+ return s`<arcgis-utility-network-trace-location-next .view=${this.view} trace-location-type=starting-point .beforeTraceLocationSelectStart=${this.beforeTraceLocationSelectStart} @arcgisTraceLocationSelectStart=${this.#u} @arcgisTraceLocationSelectEnd=${this.#g} @arcgisTraceLocationChange=${() => this.arcgisTraceInputsChange.emit()} .sketchViewModel=${this.#e} .utilityNetwork=${this.selectedUtilityNetwork} .filterLayers=${this.#i} .traceLocations=${this.#a} .afterHitTest=${this.#p.bind(this)} .autoDestroyDisabled=${this.autoDestroyDisabled} ${d(this.#N)}></arcgis-utility-network-trace-location-next>`;
347
296
  }
348
- #ne() {
349
- return r`<arcgis-utility-network-trace-location-next .view=${this.view} trace-location-type=barrier .beforeTraceLocationSelectStart=${this.beforeTraceLocationSelectStart} @arcgisTraceLocationSelectStart=${this.#g} @arcgisTraceLocationSelectEnd=${this.#f} @arcgisTraceLocationChange=${() => this.arcgisTraceInputsChange.emit()} .sketchViewModel=${this.#t} .utilityNetwork=${this.selectedUtilityNetwork} .filterLayers=${this.#a} .traceLocations=${this.#s} .afterHitTest=${this.#p.bind(this)} .autoDestroyDisabled=${this.autoDestroyDisabled} ${d(this.#F)}></arcgis-utility-network-trace-location-next>`;
297
+ #X() {
298
+ return s`<arcgis-utility-network-trace-location-next .view=${this.view} trace-location-type=stopping-point .beforeTraceLocationSelectStart=${this.beforeTraceLocationSelectStart} @arcgisTraceLocationSelectStart=${this.#u} @arcgisTraceLocationSelectEnd=${this.#g} @arcgisTraceLocationChange=${() => this.arcgisTraceInputsChange.emit()} .sketchViewModel=${this.#e} .utilityNetwork=${this.selectedUtilityNetwork} .filterLayers=${this.#i} .traceLocations=${this.#s} .afterHitTest=${this.#p.bind(this)} .autoDestroyDisabled=${this.autoDestroyDisabled} ${d(this.#P)}></arcgis-utility-network-trace-location-next>`;
350
299
  }
351
- #ce() {
352
- const { _messages: e } = this;
353
- return r`<calcite-input clearable type=text .placeholder=${e.instructions.enterSubnetworkName} max-length=64 .status=${this.#e ? "valid" : "invalid"} .value=${this.#e} @calciteInputInput=${(t) => this.#e = t.target.value}></calcite-input><calcite-input-message icon=exclamation-mark-triangle status=idle>${e.labels.tooManySubnetworks}</calcite-input-message>`;
354
- }
355
- #le() {
356
- return r`<calcite-combobox .label=${this._messages.labels.subnetworkName} selection-mode=single-persist @calciteComboboxChange=${({ currentTarget: e }) => {
357
- const t = e.selectedItems[0]?.value;
358
- this.#e = t;
359
- }}>${this._compatibleSubnetworkNames.map((e) => r`<calcite-combobox-item .value=${e} .heading=${e} .selected=${e === this.#e}></calcite-combobox-item>`)}</calcite-combobox>`;
360
- }
361
- #de() {
362
- const { _messages: e } = this, t = e.labels.subnetworkName;
363
- return this.isSubnetworkNameTraceSelected ? this._subnetworkNamesState === "loading" ? r`<calcite-loader class="inline-loader" label=loading scale=s></calcite-loader>` : this._compatibleSubnetworkNames.length ? r`<calcite-block .heading=${t} .label=${t} expanded>${this._compatibleSubnetworkNames.length > D ? this.#ce() : this.#le()}</calcite-block>` : this.#d(e.errors.noCompatibleSubnetworks, !1, "exclamation-mark-triangle") : null;
364
- }
365
- #he() {
366
- const { selectedNamedTraceConfiguration: e } = this;
367
- return this._traceConfiguration && e?.traceType && this.#b.has(e.traceType) ? r`<calcite-block id=subnetwork-info-block expanded .label=${this._messages.labels.subnetworkInfo}><arcgis-utility-network-subnetwork-info-next .namedTraceConfiguration=${e}></arcgis-utility-network-subnetwork-info-next></calcite-block>` : null;
300
+ #Y() {
301
+ return s`<arcgis-utility-network-trace-location-next .view=${this.view} trace-location-type=barrier .beforeTraceLocationSelectStart=${this.beforeTraceLocationSelectStart} @arcgisTraceLocationSelectStart=${this.#u} @arcgisTraceLocationSelectEnd=${this.#g} @arcgisTraceLocationChange=${() => this.arcgisTraceInputsChange.emit()} .sketchViewModel=${this.#e} .utilityNetwork=${this.selectedUtilityNetwork} .filterLayers=${this.#i} .traceLocations=${this.#r} .afterHitTest=${this.#p.bind(this)} .autoDestroyDisabled=${this.autoDestroyDisabled} ${d(this.#_)}></arcgis-utility-network-trace-location-next>`;
368
302
  }
369
- #ue() {
370
- const { _messages: e } = this, { noTraceConfiguration: t, noNamedTraceConfigurations: i } = e.errors, a = this.#ee();
371
- let s;
372
- this._namedTraceConfigurations.length || (s = this.#d(i, !1, "exclamation-mark-triangle"));
373
- const o = r`${this.#Z()}${this.#he()}${this.#de()}`, n = this.traceConfiguration ? r`${this.#S ? this.#se() : null}${this.#T ? this.#oe() : null}${this.#ne()}` : this.#d(t, !1, "exclamation-mark-triangle"), h = this.selectedUtilityNetwork?.loaded ? s ?? r`${o}${n}` : null;
374
- return r`<calcite-block-group .label=${e.labels.traceInputs}>${a}${h}</calcite-block-group>`;
303
+ #Z() {
304
+ const { _messages: e } = this, t = this.#H(), i = this.#z(), a = this._namedTraceConfigurations.length && this.traceConfiguration ? s`${this.#w ? this.#K() : null}${this.#b ? this.#X() : null}${this.#Y()}` : null, r = this.selectedUtilityNetwork?.loaded ? s`${i}${a}` : null;
305
+ return s`<calcite-block-group .label=${e.labels.traceInputs}>${t}${r}</calcite-block-group>`;
375
306
  }
376
307
  render() {
377
308
  const { mode: e } = this;
378
- return r`<calcite-panel>${e === "add-spatial-feature" ? this.#ae() : null}<calcite-flow .hidden=${e === "add-spatial-feature"}>${this.#te()}${this.#ie()}</calcite-flow>${e !== "default" ? this.#re() : null}</calcite-panel>`;
309
+ return s`<calcite-panel>${e === "add-spatial-feature" ? this.#W() : null}<calcite-flow .hidden=${e === "add-spatial-feature"}>${this.#O()}${this.#Q()}</calcite-flow>${e !== "default" ? this.#J() : null}</calcite-panel>`;
379
310
  }
380
311
  }
381
- b("arcgis-utility-network-trace-inputs-next", U);
312
+ g("arcgis-utility-network-trace-inputs-next", F);
382
313
  export {
383
- U as ArcgisUtilityNetworkTraceInputsNext
314
+ F as ArcgisUtilityNetworkTraceInputsNext
384
315
  };
@@ -1,16 +1,11 @@
1
1
  import "@esri/calcite-components/components/calcite-notice";
2
- import "@esri/calcite-components/components/calcite-combobox-item";
3
- import "@esri/calcite-components/components/calcite-block";
4
- import "@esri/calcite-components/components/calcite-combobox";
2
+ import "../arcgis-utility-network-trace-configuration-picker/index.js";
5
3
  import "../arcgis-utility-network-picker/index.js";
6
4
  import "@esri/calcite-components/components/calcite-flow-item";
7
5
  import "../arcgis-features-next/index.js";
8
6
  import "@esri/calcite-components/components/calcite-input-message";
9
7
  import "@esri/calcite-components/components/calcite-button";
10
8
  import "../arcgis-utility-network-trace-location-next/index.js";
11
- import "@esri/calcite-components/components/calcite-input";
12
- import "@esri/calcite-components/components/calcite-loader";
13
- import "../arcgis-utility-network-subnetwork-info-next/index.js";
14
9
  import "@esri/calcite-components/components/calcite-block-group";
15
10
  import "@esri/calcite-components/components/calcite-panel";
16
11
  import "@esri/calcite-components/components/calcite-flow";