@arcgis/map-components 5.1.0-next.81 → 5.1.0-next.83

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 (292) hide show
  1. package/dist/cdn/{LNCRYO2V.js → 2D2ZSKWM.js} +1 -1
  2. package/dist/cdn/{V3KSSGFP.js → 2DMGAVGS.js} +1 -1
  3. package/dist/cdn/{YPTHEAW7.js → 2H2DMVMF.js} +1 -1
  4. package/dist/cdn/{GRKGTWUF.js → 2RQSR7BC.js} +1 -1
  5. package/dist/cdn/{ZCLVDWMK.js → 3ASRRVAX.js} +1 -1
  6. package/dist/cdn/{B7CBHTRK.js → 3DLPQGFS.js} +1 -1
  7. package/dist/cdn/{52MIKBO5.js → 3ILSWQHC.js} +1 -1
  8. package/dist/cdn/3M7YKCX7.js +2 -0
  9. package/dist/cdn/{CXPHSAIT.js → 3ODUJMJ5.js} +1 -1
  10. package/dist/cdn/{HPCCUTBX.js → 3VGXWPQK.js} +1 -1
  11. package/dist/cdn/{SMF2ZF5W.js → 46JVFHXL.js} +1 -1
  12. package/dist/cdn/{SFWUJGG4.js → 4Z4RREKH.js} +1 -1
  13. package/dist/cdn/{ECKKHMMU.js → 4ZDRPGCJ.js} +1 -1
  14. package/dist/cdn/{O4ILRFUM.js → 54JWVQJQ.js} +1 -1
  15. package/dist/cdn/{WM2XTDRW.js → 5MURAVII.js} +1 -1
  16. package/dist/cdn/{X2DKSJNC.js → 5OMDHZ57.js} +1 -1
  17. package/dist/cdn/{3V3C2ZU3.js → 5POIGC3F.js} +1 -1
  18. package/dist/cdn/{E5YUWMMG.js → 5RDAIWG2.js} +1 -1
  19. package/dist/cdn/{AG7ZLICT.js → 5S64MDG5.js} +1 -1
  20. package/dist/cdn/{F3ZKDMWI.js → 5SWQQWAZ.js} +1 -1
  21. package/dist/cdn/5UBX7NJZ.js +2 -0
  22. package/dist/cdn/{DUQC4HHR.js → 62G4GYVI.js} +1 -1
  23. package/dist/cdn/{JNCJIAH5.js → 6BD74YDF.js} +1 -1
  24. package/dist/cdn/6BESCJK6.js +2 -0
  25. package/dist/cdn/{DJDKXMR4.js → 6ECAKVHP.js} +1 -1
  26. package/dist/cdn/6F7YV6IW.js +2 -0
  27. package/dist/cdn/{ONFCJKLO.js → 6PHYFOHH.js} +1 -1
  28. package/dist/cdn/{TTRFFI7Y.js → 6V7YOGR4.js} +1 -1
  29. package/dist/cdn/{AE2KWD5P.js → 6WVU3Z5X.js} +1 -1
  30. package/dist/cdn/7752ICPP.js +2 -0
  31. package/dist/cdn/{HQOJ5IRW.js → 77K74IPU.js} +1 -1
  32. package/dist/cdn/{IVOKWKIJ.js → 7DQQFAVI.js} +1 -1
  33. package/dist/cdn/{RQ44NHSK.js → 7EBEAMCO.js} +1 -1
  34. package/dist/cdn/{TGYMEHXI.js → 7I55Z3PZ.js} +1 -1
  35. package/dist/cdn/{NX4CKJEK.js → 7NFLP5PG.js} +1 -1
  36. package/dist/cdn/{4BIYVGRT.js → 7QNEKM7I.js} +1 -1
  37. package/dist/cdn/{CI7OTBUT.js → 7T5DT6RO.js} +1 -1
  38. package/dist/cdn/{F3RHLUTC.js → 7TRV2EOI.js} +1 -1
  39. package/dist/cdn/7VOC4SRD.js +2 -0
  40. package/dist/cdn/{254JE3ZB.js → A6P7RDWG.js} +1 -1
  41. package/dist/cdn/{JI6G3SRC.js → AHAEFJXW.js} +1 -1
  42. package/dist/cdn/{5XBBZKIV.js → AJJUFRY2.js} +1 -1
  43. package/dist/cdn/{TTIZKN62.js → AQ77FNME.js} +2 -2
  44. package/dist/cdn/{SITLYLLQ.js → ATDE5M7Y.js} +1 -1
  45. package/dist/cdn/{77TGNHGP.js → ATTV2K2S.js} +1 -1
  46. package/dist/cdn/{VPBJEJAA.js → AW7QBRKJ.js} +1 -1
  47. package/dist/cdn/{6DVM7BMM.js → BB63FLAA.js} +1 -1
  48. package/dist/cdn/{GAJMF6RP.js → BBIOP3C4.js} +1 -1
  49. package/dist/cdn/{W4GZ7I6Q.js → BDASTP3D.js} +1 -1
  50. package/dist/cdn/{RAOQLYGB.js → BNFOQCW6.js} +1 -1
  51. package/dist/cdn/{YKQGIXEZ.js → BQGVSWX3.js} +1 -1
  52. package/dist/cdn/{L7GAWVJH.js → BVHIMMQZ.js} +1 -1
  53. package/dist/cdn/{ZVK3LXXI.js → BZPFKOQX.js} +1 -1
  54. package/dist/cdn/{M7RQ3L6H.js → CKGSEXVO.js} +1 -1
  55. package/dist/cdn/{FQUXYFDU.js → CQ7BRDZC.js} +1 -1
  56. package/dist/cdn/{4NEKB2OV.js → CVNE57KC.js} +1 -1
  57. package/dist/cdn/CZKMCZP6.js +2 -0
  58. package/dist/cdn/{FJN7WJ5N.js → DBXLBXKP.js} +1 -1
  59. package/dist/cdn/DCKEJ6NB.js +2 -0
  60. package/dist/cdn/{ABIDHISH.js → DTRSQHPV.js} +1 -1
  61. package/dist/cdn/{OZFNTMYH.js → E33LBHQA.js} +1 -1
  62. package/dist/cdn/{5DFJGBYK.js → EDXV5ILJ.js} +1 -1
  63. package/dist/cdn/{SY54XMAK.js → EVANZ72I.js} +1 -1
  64. package/dist/cdn/{HVEHKM52.js → EVT4CSFI.js} +1 -1
  65. package/dist/cdn/{6OQ6BUPD.js → F7UR4A5G.js} +1 -1
  66. package/dist/cdn/{3ST3R6TY.js → FMTWGY6C.js} +1 -1
  67. package/dist/cdn/{WCB77MWJ.js → FSBQ3QHA.js} +1 -1
  68. package/dist/cdn/{UHU5IUW2.js → G4QTXMBQ.js} +1 -1
  69. package/dist/cdn/{W3OI3KIT.js → GCFIJLPC.js} +1 -1
  70. package/dist/cdn/{FIZUMN7H.js → GDHU6FB7.js} +1 -1
  71. package/dist/cdn/{YDPROZGV.js → GKVKQU57.js} +1 -1
  72. package/dist/cdn/GPU57C3Y.js +2 -0
  73. package/dist/cdn/{N3ERK6NB.js → GSLG4BGG.js} +1 -1
  74. package/dist/cdn/{HU5IRGRQ.js → GVYS3KF5.js} +1 -1
  75. package/dist/cdn/{WXPZZDF2.js → H4LUQZPZ.js} +1 -1
  76. package/dist/cdn/{CKATA7TG.js → HBEEL7IW.js} +1 -1
  77. package/dist/cdn/{BYU3MXJ6.js → HCAJWILB.js} +1 -1
  78. package/dist/cdn/{SF2FK3DX.js → HLLELVOY.js} +1 -1
  79. package/dist/cdn/{TG33URMT.js → HOOOJCUS.js} +1 -1
  80. package/dist/cdn/HV3Q65XH.js +2 -0
  81. package/dist/cdn/{KTDKJ5G6.js → I473RVY4.js} +1 -1
  82. package/dist/cdn/{H3DRTTRE.js → IA3VOFHV.js} +1 -1
  83. package/dist/cdn/{K3ZOWUVQ.js → ID2QTTT2.js} +1 -1
  84. package/dist/cdn/{HNJYF5XR.js → IDDXJ7F2.js} +1 -1
  85. package/dist/cdn/{G4FGSUWN.js → IFIOUBWT.js} +1 -1
  86. package/dist/cdn/IFMQCWXY.js +2 -0
  87. package/dist/cdn/{GUHQ4SWM.js → IJULQXYC.js} +1 -1
  88. package/dist/cdn/{H2XQENEQ.js → IUIMMOGL.js} +1 -1
  89. package/dist/cdn/{RGMMJ7FD.js → IVHHFY62.js} +1 -1
  90. package/dist/cdn/{2A3CQYQ7.js → JDJ76XB7.js} +1 -1
  91. package/dist/cdn/{NLYC7Z54.js → JFBRLXW3.js} +1 -1
  92. package/dist/cdn/{GUBMV5YD.js → JITTSIXQ.js} +1 -1
  93. package/dist/cdn/{IN3VBXB7.js → JT5PIQU5.js} +1 -1
  94. package/dist/cdn/{E6EUQGDP.js → JWHIGOCO.js} +1 -1
  95. package/dist/cdn/{Q3NKAVJC.js → K2RCQ3S4.js} +1 -1
  96. package/dist/cdn/{QKSU7LVE.js → K6DM6L64.js} +1 -1
  97. package/dist/cdn/{OYDYD5BC.js → K7H4JUDB.js} +1 -1
  98. package/dist/cdn/K7IUUDPU.js +2 -0
  99. package/dist/cdn/{4ZVO47Z6.js → KU42UI2H.js} +1 -1
  100. package/dist/cdn/{RKMX5UC5.js → L3OVLVI3.js} +1 -1
  101. package/dist/cdn/{AVBES3CX.js → L5IMMLTK.js} +1 -1
  102. package/dist/cdn/{ACMP5JBE.js → L65EXZFU.js} +1 -1
  103. package/dist/cdn/L7EMNGSL.js +2 -0
  104. package/dist/cdn/{UDIXZHUY.js → LBMRY3LJ.js} +1 -1
  105. package/dist/cdn/{RB3WCYIH.js → LCRY66VB.js} +1 -1
  106. package/dist/cdn/{V5P7S2DT.js → LHMODP3Q.js} +1 -1
  107. package/dist/cdn/{JA3BIJG2.js → LJT6EZCS.js} +1 -1
  108. package/dist/cdn/{RNPB43PI.js → LOSI5OB3.js} +1 -1
  109. package/dist/cdn/{4LH2UCIP.js → LY3CCUTZ.js} +1 -1
  110. package/dist/cdn/{EWNALU5W.js → MCGKNN23.js} +1 -1
  111. package/dist/cdn/{ST65RBHQ.js → MTCQMJU6.js} +1 -1
  112. package/dist/cdn/{CEEUQZJV.js → MVULTZL6.js} +1 -1
  113. package/dist/cdn/{B47ZBN7H.js → NABXYQM6.js} +1 -1
  114. package/dist/cdn/{LLBKJRR4.js → NGAZTR7Y.js} +1 -1
  115. package/dist/cdn/{J4LX4RDC.js → NIBKXKYP.js} +1 -1
  116. package/dist/cdn/{E6N6QLP4.js → NIRIMR5R.js} +1 -1
  117. package/dist/cdn/NSN5TBKU.js +2 -0
  118. package/dist/cdn/{VCAZSMBN.js → NUNGBEW4.js} +1 -1
  119. package/dist/cdn/{HU65S62F.js → NVRFQSZB.js} +1 -1
  120. package/dist/cdn/{MC6MYJLJ.js → NXIFPTVQ.js} +1 -1
  121. package/dist/cdn/{Q6MNNDO4.js → NZH3RKL2.js} +1 -1
  122. package/dist/cdn/{LQTNAFPN.js → O53VUY2U.js} +1 -1
  123. package/dist/cdn/{3DR3T6WY.js → ODIQOLIK.js} +1 -1
  124. package/dist/cdn/OHF7YMVK.js +2 -0
  125. package/dist/cdn/{SWLLHKOO.js → OSKVGOGF.js} +1 -1
  126. package/dist/cdn/{VNFPWEKG.js → OWODXLED.js} +1 -1
  127. package/dist/cdn/{2DBALWLV.js → OZ5I3YQW.js} +1 -1
  128. package/dist/cdn/{RYVHAKPU.js → OZZ7CYLP.js} +1 -1
  129. package/dist/cdn/{QLPEWWE3.js → PAGCWPDT.js} +1 -1
  130. package/dist/cdn/{SYVDOPTD.js → PG52GEPB.js} +1 -1
  131. package/dist/cdn/{VJHLWJIR.js → PLIFNESQ.js} +1 -1
  132. package/dist/cdn/{YJCBOLKI.js → PLVNROBW.js} +1 -1
  133. package/dist/cdn/{GAEUASLL.js → PN6OLHQX.js} +1 -1
  134. package/dist/cdn/{FJPZU3ZV.js → PQSRQNWY.js} +1 -1
  135. package/dist/cdn/{NVVDARUC.js → PUGRPSE4.js} +1 -1
  136. package/dist/cdn/{S7EA4UD5.js → PVSWR6OP.js} +1 -1
  137. package/dist/cdn/{SMNPXSQD.js → PXRFPA5R.js} +1 -1
  138. package/dist/cdn/{NMSTKGMQ.js → QATUESST.js} +1 -1
  139. package/dist/cdn/{SUJZJB5H.js → QC3D2TWK.js} +1 -1
  140. package/dist/cdn/{76SW3QWO.js → QCWXVSVT.js} +1 -1
  141. package/dist/cdn/{2EETEGWH.js → QD6FFBIJ.js} +1 -1
  142. package/dist/cdn/{6K6PF7RA.js → QGMXX4OK.js} +1 -1
  143. package/dist/cdn/{FRGRZ42K.js → QLTX4J5N.js} +1 -1
  144. package/dist/cdn/{RRGRQMTZ.js → QNZTAT5I.js} +1 -1
  145. package/dist/cdn/{OGUICK2F.js → QXRPFQIH.js} +1 -1
  146. package/dist/cdn/{AFCNMKZ5.js → QYDPHZP7.js} +1 -1
  147. package/dist/cdn/{7DXKBUXN.js → QYH4FI23.js} +1 -1
  148. package/dist/cdn/{CQJXWT5R.js → R643Q3PN.js} +1 -1
  149. package/dist/cdn/{ZZAXMSMP.js → RHD7UOR2.js} +1 -1
  150. package/dist/cdn/{K455WYX6.js → RHK3OQ5J.js} +1 -1
  151. package/dist/cdn/{HBAGN3SY.js → RMXESNDP.js} +1 -1
  152. package/dist/cdn/{7EE3HT3N.js → RX2LAZXL.js} +1 -1
  153. package/dist/cdn/{NQQXH4BL.js → RYU3ARF7.js} +1 -1
  154. package/dist/cdn/{PXGQNGKC.js → S2IGQZN6.js} +1 -1
  155. package/dist/cdn/{MKOWJU7V.js → SKUO7YQD.js} +1 -1
  156. package/dist/cdn/{YTUCYHBY.js → SLO3RS7Y.js} +1 -1
  157. package/dist/cdn/{SJ4ZOWRE.js → SLYIBJYA.js} +1 -1
  158. package/dist/cdn/{QJOZC53I.js → SN73654V.js} +1 -1
  159. package/dist/cdn/{TYJXD6AO.js → SSN6BZ43.js} +1 -1
  160. package/dist/cdn/SWPUZKGU.js +2 -0
  161. package/dist/cdn/{IIQQUUEG.js → T5K2XFNK.js} +1 -1
  162. package/dist/cdn/{JPCROHRC.js → TEDPQX2I.js} +1 -1
  163. package/dist/cdn/{USYUV75O.js → TH3C6YTI.js} +1 -1
  164. package/dist/cdn/{D7I26KVL.js → TME6NCLA.js} +1 -1
  165. package/dist/cdn/{LYZMPNI4.js → TVJAVDVQ.js} +1 -1
  166. package/dist/cdn/{SAVKJMII.js → TXOZLKGW.js} +1 -1
  167. package/dist/cdn/{EMIPZ32D.js → UB3EEHLW.js} +1 -1
  168. package/dist/cdn/{6QDIKQCW.js → UHLP4JQM.js} +1 -1
  169. package/dist/cdn/{X4JLEHWK.js → UOOE5336.js} +1 -1
  170. package/dist/cdn/{ESB62TDV.js → V2H57VKE.js} +1 -1
  171. package/dist/cdn/{Z25OUO3N.js → V4RMKJUW.js} +1 -1
  172. package/dist/cdn/{EE2HPZ4A.js → V6F3SIA2.js} +1 -1
  173. package/dist/cdn/{KDZBWP74.js → V6FILY6M.js} +1 -1
  174. package/dist/cdn/{ZG53RUE3.js → VEGB3Z7Z.js} +1 -1
  175. package/dist/cdn/{6XMHKAAL.js → VEVJEIFK.js} +1 -1
  176. package/dist/cdn/VFIPW22C.js +2 -0
  177. package/dist/cdn/{RSCIGL3Q.js → VQ7UIUFE.js} +1 -1
  178. package/dist/cdn/{CNP4VKEY.js → VSKUN6HM.js} +1 -1
  179. package/dist/cdn/{VRZYHJKU.js → VUNTFVQY.js} +1 -1
  180. package/dist/cdn/{53F4NPVF.js → VWL5JQZ4.js} +1 -1
  181. package/dist/cdn/{CSWPJZDK.js → VZZFI5LH.js} +1 -1
  182. package/dist/cdn/{U7JHREJL.js → WFWY62WP.js} +1 -1
  183. package/dist/cdn/{P4TQOIJG.js → WKA6U2M7.js} +1 -1
  184. package/dist/cdn/{XBK2NLNS.js → WW6DO3EN.js} +1 -1
  185. package/dist/cdn/{KDIBOT2K.js → WYQVL6XP.js} +1 -1
  186. package/dist/cdn/{6TKSPKND.js → X43QDFKP.js} +1 -1
  187. package/dist/cdn/{3Y2I6Q3J.js → X5PGXXNB.js} +1 -1
  188. package/dist/cdn/{KTYMX423.js → XU2LZ5PF.js} +1 -1
  189. package/dist/cdn/{ODALKFNW.js → XUYGLABO.js} +1 -1
  190. package/dist/cdn/{YJUZU6GA.js → YCIA6ESZ.js} +1 -1
  191. package/dist/cdn/{B5RFEJJ7.js → YDT6E7HC.js} +1 -1
  192. package/dist/cdn/{JTXEOZ4U.js → Z5ZYDPSC.js} +1 -1
  193. package/dist/cdn/{YPB6RGI6.js → ZATRTCI7.js} +1 -1
  194. package/dist/cdn/{3UIFEHVN.js → ZBAHKPR7.js} +1 -1
  195. package/dist/cdn/{BZIK6Z7E.js → ZDGTAZF7.js} +1 -1
  196. package/dist/cdn/{SLTCC6CD.js → ZTFE5VIJ.js} +1 -1
  197. package/dist/cdn/{UD6LNBVQ.js → ZXJWPP5J.js} +1 -1
  198. package/dist/cdn/{ZTHEDAG5.js → ZYKCW3VZ.js} +1 -1
  199. package/dist/cdn/assets/features/t9n/messages.en.json +1 -1
  200. package/dist/cdn/assets/presentation/t9n/messages.ar.json +1 -1
  201. package/dist/cdn/assets/presentation/t9n/messages.bg.json +1 -1
  202. package/dist/cdn/assets/presentation/t9n/messages.bs.json +1 -1
  203. package/dist/cdn/assets/presentation/t9n/messages.ca.json +1 -1
  204. package/dist/cdn/assets/presentation/t9n/messages.cs.json +1 -1
  205. package/dist/cdn/assets/presentation/t9n/messages.da.json +1 -1
  206. package/dist/cdn/assets/presentation/t9n/messages.de.json +1 -1
  207. package/dist/cdn/assets/presentation/t9n/messages.el.json +1 -1
  208. package/dist/cdn/assets/presentation/t9n/messages.es.json +1 -1
  209. package/dist/cdn/assets/presentation/t9n/messages.et.json +1 -1
  210. package/dist/cdn/assets/presentation/t9n/messages.fi.json +1 -1
  211. package/dist/cdn/assets/presentation/t9n/messages.fr.json +1 -1
  212. package/dist/cdn/assets/presentation/t9n/messages.he.json +1 -1
  213. package/dist/cdn/assets/presentation/t9n/messages.hr.json +1 -1
  214. package/dist/cdn/assets/presentation/t9n/messages.hu.json +1 -1
  215. package/dist/cdn/assets/presentation/t9n/messages.id.json +1 -1
  216. package/dist/cdn/assets/presentation/t9n/messages.it.json +1 -1
  217. package/dist/cdn/assets/presentation/t9n/messages.ja.json +1 -1
  218. package/dist/cdn/assets/presentation/t9n/messages.ko.json +1 -1
  219. package/dist/cdn/assets/presentation/t9n/messages.lt.json +1 -1
  220. package/dist/cdn/assets/presentation/t9n/messages.lv.json +1 -1
  221. package/dist/cdn/assets/presentation/t9n/messages.nl.json +1 -1
  222. package/dist/cdn/assets/presentation/t9n/messages.no.json +1 -1
  223. package/dist/cdn/assets/presentation/t9n/messages.pl.json +1 -1
  224. package/dist/cdn/assets/presentation/t9n/messages.pt-BR.json +1 -1
  225. package/dist/cdn/assets/presentation/t9n/messages.pt-PT.json +1 -1
  226. package/dist/cdn/assets/presentation/t9n/messages.ro.json +1 -1
  227. package/dist/cdn/assets/presentation/t9n/messages.ru.json +1 -1
  228. package/dist/cdn/assets/presentation/t9n/messages.sk.json +1 -1
  229. package/dist/cdn/assets/presentation/t9n/messages.sl.json +1 -1
  230. package/dist/cdn/assets/presentation/t9n/messages.sr.json +1 -1
  231. package/dist/cdn/assets/presentation/t9n/messages.sv.json +1 -1
  232. package/dist/cdn/assets/presentation/t9n/messages.th.json +1 -1
  233. package/dist/cdn/assets/presentation/t9n/messages.tr.json +1 -1
  234. package/dist/cdn/assets/presentation/t9n/messages.uk.json +1 -1
  235. package/dist/cdn/assets/presentation/t9n/messages.vi.json +1 -1
  236. package/dist/cdn/assets/presentation/t9n/messages.zh-CN.json +1 -1
  237. package/dist/cdn/assets/presentation/t9n/messages.zh-HK.json +1 -1
  238. package/dist/cdn/assets/presentation/t9n/messages.zh-TW.json +1 -1
  239. package/dist/cdn/assets/utility-network-validate-network-topology/t9n/messages.en.json +1 -0
  240. package/dist/cdn/index.js +1 -1
  241. package/dist/cdn/main.css +1 -1
  242. package/dist/chunks/action-utils.js +53 -78
  243. package/dist/chunks/feature-utils.js +3 -6
  244. package/dist/chunks/slots.js +1 -1
  245. package/dist/chunks/useLayerById.js +29 -0
  246. package/dist/components/arcgis-aggregated-features/customElement.js +144 -0
  247. package/dist/components/arcgis-aggregated-features/index.js +6 -0
  248. package/dist/components/arcgis-directions/customElement.d.ts +7 -0
  249. package/dist/components/arcgis-directions/customElement.js +10 -7
  250. package/dist/components/arcgis-elevation-profile/customElement.d.ts +2 -1
  251. package/dist/components/arcgis-feature/customElement.js +1 -1
  252. package/dist/components/arcgis-feature-attachments/customElement.js +8 -8
  253. package/dist/components/arcgis-feature-table/customElement.d.ts +9 -2
  254. package/dist/components/arcgis-feature-table/customElement.js +11 -8
  255. package/dist/components/arcgis-features/customElement.d.ts +17 -8
  256. package/dist/components/arcgis-features/customElement.js +125 -108
  257. package/dist/components/arcgis-features/index.js +1 -0
  258. package/dist/components/arcgis-home/customElement.js +4 -4
  259. package/dist/components/arcgis-layer-list-new/layer-list-item/customElement.js +1 -1
  260. package/dist/components/arcgis-oriented-imagery-viewer/customElement.d.ts +30 -0
  261. package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +17 -11
  262. package/dist/components/arcgis-utility-network-validate-network-topology/customElement.d.ts +173 -0
  263. package/dist/components/arcgis-utility-network-validate-network-topology/customElement.js +208 -0
  264. package/dist/components/arcgis-utility-network-validate-network-topology/index.d.ts +1 -0
  265. package/dist/components/arcgis-utility-network-validate-network-topology/index.js +9 -0
  266. package/dist/docs/api.json +1 -1
  267. package/dist/docs/docs.json +1 -1
  268. package/dist/docs/vscode.html-custom-data.json +1 -1
  269. package/dist/docs/web-types.json +1 -1
  270. package/dist/index.d.ts +10 -0
  271. package/dist/loader.js +5 -3
  272. package/dist/types/lumina.d.ts +11 -3
  273. package/dist/types/preact.d.ts +12 -3
  274. package/dist/types/react.d.ts +13 -3
  275. package/dist/types/stencil.d.ts +11 -3
  276. package/dist/utils/async-utils.d.ts +3 -0
  277. package/package.json +5 -5
  278. package/dist/cdn/2ZIVMDLT.js +0 -2
  279. package/dist/cdn/4VZNRZ26.js +0 -2
  280. package/dist/cdn/6XJ6D6RZ.js +0 -2
  281. package/dist/cdn/7U7KUYWO.js +0 -2
  282. package/dist/cdn/APNPUX7C.js +0 -2
  283. package/dist/cdn/BKAPYSAA.js +0 -2
  284. package/dist/cdn/DUG7JSW6.js +0 -2
  285. package/dist/cdn/FVQUTZLR.js +0 -2
  286. package/dist/cdn/HYKQPCTD.js +0 -2
  287. package/dist/cdn/OX64ONZE.js +0 -2
  288. package/dist/cdn/PT4OAWSU.js +0 -2
  289. package/dist/cdn/S4NYFQGB.js +0 -2
  290. package/dist/cdn/VA3K45XS.js +0 -2
  291. package/dist/cdn/VWQIPGRP.js +0 -2
  292. /package/dist/cdn/{Z4O75QMV.js → DDD7772O.js} +0 -0
@@ -1,30 +1,36 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
2
  import { c as r } from "../../chunks/runtime.js";
3
3
  import { usePropertyChange as t } from "@arcgis/lumina/controllers";
4
- import o from "@arcgis/core/layers/OrientedImageryLayer.js";
5
- import a from "@arcgis/core/widgets/OrientedImageryViewer.js";
4
+ import a from "@arcgis/core/layers/OrientedImageryLayer.js";
5
+ import o from "@arcgis/core/widgets/OrientedImageryViewer.js";
6
6
  import { LitElement as n, createEvent as s } from "@arcgis/lumina";
7
7
  import { m as d } from "../../chunks/useWidget.js";
8
8
  import { css as l } from "lit";
9
- import { s as c } from "../../chunks/esri-main.js";
10
- const g = l`.esri-imagery-viewer{width:100%;height:100%}.esri-oriented-imagery-viewer{--esri-oriented-imagery-viewer-action-icon-size: 8px;--esri-oriented-imagery-viewer-min-width: 288px;--esri-oriented-imagery-viewer-min-height: 348px;--calcite-dialog-size-x: 210px;--calcite-dialog-min-size-y: 90px;--calcite-icon-size: var(--esri-oriented-imagery-viewer-action-icon-size);box-sizing:border-box;z-index:1;width:100%;min-width:var(--esri-oriented-imagery-viewer-min-width);height:100%;min-height:var(--esri-oriented-imagery-viewer-min-height);flex-direction:column;align-items:flex-start;display:flex;overflow:hidden}.esri-oriented-imagery-viewer:has(.esri-widget .esri-oriented-imagery-viewer__image-overlays-no-result){--esri-oriented-imagery-viewer-min-height: 420px}.esri-oriented-imagery-viewer__body{flex-direction:column;flex:1 0 auto;order:1;align-self:stretch;height:100%;display:flex}.esri-oriented-imagery-viewer__body-current-coverage{--calcite-icon-color: var(--calcite-color-status-danger)}.esri-oriented-imagery-viewer__body-additional-camera-locations{--calcite-icon-color: var(--calcite-color-brand)}.esri-oriented-imagery-viewer__body-additional-coverage{--calcite-icon-color: var(--calcite-color-status-info)}.esri-oriented-imagery-viewer__body-footprint{--calcite-icon-color: var(--calcite-color-status-success)}.esri-oriented-imagery-viewer__carousel{z-index:1;border:1px solid var(--calcite-color-border-2);align-items:center;width:98%;height:140px;margin:auto 1% 0;position:absolute;bottom:0;box-shadow:0 0 1px #0000004d}.esri-oriented-imagery-viewer__carousel-container{height:auto;display:inline-block;overflow:auto hidden}.esri-oriented-imagery-viewer__carousel header{--calcite-font-weight-medium: $font-weight--light;--calcite-font-size-0: $font-size--tiny}.esri-oriented-imagery-viewer__carousel-item{width:100px;height:70px}.esri-oriented-imagery-viewer__carousel-item-wrapper{box-sizing:border-box;justify-content:center;align-items:center;width:106px;height:78px;margin:auto 10px;display:flex;box-shadow:0 1px 2px #0000004d}.esri-oriented-imagery-viewer__carousel-item-wrapper--selected{box-sizing:border-box;border:2px solid var(--calcite-color-brand);justify-content:center;align-items:center;width:106px;height:78px;margin:auto 10px;display:flex;box-shadow:0 1px 2px #0000004d}.esri-oriented-imagery-viewer__carousel-content{display:flex}.esri-oriented-imagery-viewer__close{background:var(--calcite-color-foreground-1);flex-direction:row;flex-grow:0;order:7;justify-content:center;align-items:center;width:48px;height:59px;display:flex}.esri-oriented-imagery-viewer__image-enhancement-wrapper{z-index:1;border:1px solid var(--calcite-color-border-2);align-items:center;width:98%;height:140px;margin:auto 1% 0;position:absolute;bottom:0;box-shadow:0 0 1px #0000004d}.esri-oriented-imagery-viewer__image-enhancement-tools{display:flex}.esri-oriented-imagery-viewer__image-enhancement-tool-container{width:50%;margin-block:2px;padding-inline:.75rem}.esri-oriented-imagery-viewer__image-overlays{z-index:1;margin:auto;border:1px solid var(--calcite-color-border-2);align-items:center;width:100%;position:absolute;bottom:0;overflow-y:auto;box-shadow:0 0 1px #0000004d}.esri-oriented-imagery-viewer__image-overlays-layer-list,.esri-oriented-imagery-viewer__image-overlays-switch{padding:0 var(--calcite-spacing-md)}.esri-oriented-imagery-viewer__image-overlays-container{height:auto;display:flex}.esri-oriented-imagery-viewer__image-overlays-no-result{z-index:1;border:1px solid var(--calcite-color-border-2);align-items:center;width:98%;height:auto;margin:auto 1% 0;position:absolute;bottom:0;overflow-y:auto;box-shadow:0 0 1px #0000004d}.esri-oriented-imagery-viewer__image-overlays-no-result-layer-list,.esri-oriented-imagery-viewer__image-overlays-no-result-switch{padding:0 var(--calcite-spacing-md)}.esri-oriented-imagery-viewer__image-overlays-increased-height{z-index:1;border:1px solid var(--calcite-color-border-2);align-items:center;width:98%;height:200px;margin:auto 1% 0;position:absolute;bottom:0;overflow-y:auto;box-shadow:0 0 1px #0000004d}.esri-oriented-imagery-viewer__image-overlays-increased-height-layer-list,.esri-oriented-imagery-viewer__image-overlays-increased-height-switch{padding:0 var(--calcite-spacing-md)}.esri-oriented-imagery-viewer__measurement-results{width:auto;height:fit-content}.esri-oriented-imagery-viewer__measurements-table{margin-block-start:var(--calcite-spacing-sm)}.esri-oriented-imagery-viewer__measurements-bar{flex-wrap:nowrap;display:flex}.esri-oriented-imagery-viewer__measurements-button{display:flex}.esri-oriented-imagery-viewer__measurement-display{text-align:center;margin-block-end:var(--calcite-spacing-xxs)}.esri-oriented-imagery-viewer__viewer{cursor:url(data:text/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20height%3D%2226%22%20width%3D%2226%22%3E%0A%3Cpath%20stroke%3D%22%23000%22%20stroke-width%3D%221px%22%20fill%3D%22%23fff%22%20d%3D%22m15.3%2020.5s6.38-6.73%204.64-8.24-3.47%201.01-3.47%201.01%203.61-5.72%201.41-6.49c-2.2-0.769-3.33%204.36-3.33%204.36s0.873-5.76-1.06-5.76-1.58%205.39-1.58%205.39-0.574-4.59-2.18-4.12c-1.61%200.468-0.572%205.51-0.572%205.51s-1.58-4.89-2.93-3.79c-1.35%201.11%200.258%205.25%200.572%206.62%200.836%202.43%202.03%202.94%202.17%205.55%22%2F%3E%0A%3C%2Fsvg%3E%0A);flex-grow:1;width:100%;margin:0;display:flex}.esri-oriented-imagery-viewer__viewer--hidden{display:none}.esri-oriented-imagery-viewer__viewer-container{border-top:1px solid var(--calcite-color-border-3);background:var(--calcite-color-foreground-1);border-radius:0 0 3px 3px;flex:1 0 auto;order:1;align-self:stretch;width:100%;height:100%;display:flex}.esri-oriented-imagery-viewer__alert{inset-block-end:var(--calcite-spacing-md);inset-inline:var(--calcite-spacing-md);position:absolute}@keyframes rotateOrientedImageryNavigationTool{0%{transform:rotate(var(--oi-navigation-tool-rotation-from, 0deg))}to{transform:rotate(var(--oi-navigation-tool-rotation-to, 0deg))}}.esri-oriented-imagery-viewer__message-box{text-align:center;word-break:break-word;justify-content:center;align-items:center;width:100%;height:100%;padding:0 25%;font-size:var(--calcite-font-size-sm);display:flex;position:relative}.esri-oriented-imagery-viewer__navigation{transform:rotate(var(--oi-navigation-tool-rotation-to, 0deg))}.esri-oriented-imagery-viewer__navigation-animate{animation:.7s linear forwards rotateOrientedImageryNavigationTool}.esri-oriented-imagery-viewer__navigation-feature{fill:var(--calcite-color-brand);stroke:var(--calcite-color-foreground-1);stroke-width:1px}.esri-oriented-imagery-viewer__navigation-feature.selected{fill:var(--calcite-color-status-danger)}.esri-oriented-imagery-viewer__navigation-feature-path{pointer-events:none}.esri-oriented-imagery-viewer__navigation-feature-path-stop-offset-0{stop-color:var(--calcite-color-status-danger);stop-opacity:.4}.esri-oriented-imagery-viewer__navigation-feature-path-stop-offset-1{stop-color:var(--calcite-color-status-danger);stop-opacity:.2}.esri-oriented-imagery-viewer__navigation-pointer{fill:var(--calcite-color-foreground-1);fill-rule:evenodd;stroke:#0000;stroke-dasharray:none;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-width:0}.esri-oriented-imagery-viewer__navigation-pointer-north{fill:var(--calcite-color-status-danger)}.esri-oriented-imagery-viewer__navigation-wrapper{z-index:1;position:absolute;bottom:0;right:0;overflow:hidden}.esri-oriented-imagery-viewer__navigation-wrapper--zoomed{transform-origin:100% 100%;transform:scale(1.5)}.esri-oriented-imagery-viewer__navigation-wrapper-boundary{fill:var(--calcite-color-foreground-1);fill-opacity:.25;stroke:var(--calcite-color-border-2)}.esri-oriented-imagery-viewer__navigation-sector{fill:none}.esri-oriented-imagery-viewer__navigation-sector-separator{stroke:var(--calcite-color-border-2);stroke-width:1px}.esri-oriented-imagery-viewer__navigation-sector-cross{stroke:var(--calcite-color-status-danger);stroke-width:1px}.esri-oriented-imagery-viewer__navigation-sector-enabled{fill:var(--calcite-color-foreground-1);stroke:var(--calcite-color-border-2);stroke-width:1px}.esri-oriented-imagery-viewer__navigation-sector-disabled{fill:var(--calcite-color-foreground-3);stroke:var(--calcite-color-border-2);stroke-width:1px}.esri-oriented-imagery-viewer__navigation-sector-outer{fill:var(--calcite-color-foreground-1);fill-opacity:.4;stroke:none}.esri-oriented-imagery-viewer__pro .esri-oriented-imagery-viewer{width:100%;max-width:unset;height:100%;max-height:unset;position:static}.esri-oriented-imagery-viewer__sketch-tools{justify-content:center;align-items:center;width:100%;display:flex;position:absolute;bottom:0}.esri-oriented-imagery-viewer__navigation-ui{box-sizing:border-box;inset-block-end:var(--calcite-spacing-md);inset-inline:var(--calcite-spacing-md);transform-style:preserve-3d;z-index:var(--calcite-z-index-overlay);pointer-events:none;flex-direction:column;align-items:center;display:flex;position:absolute;overflow:hidden}.esri-oriented-imagery-viewer__navigation-ui__direction{--esri-oriented-imagery-viewer__navigation-ui-direction-color: wheat;--calcite-icon-color: var(--esri-oriented-imagery-viewer__navigation-ui-direction-color);cursor:not-allowed;width:160px;height:160px;position:absolute}.esri-oriented-imagery-viewer__navigation-ui__direction:not([disabled]){cursor:pointer;pointer-events:auto}.esri-oriented-imagery-viewer__navigation-ui__direction:not([disabled]):hover{--calcite-icon-color: var(--calcite-color-brand);background-color:rgba(var(--calcite-color-brand),var(--calcite-opacity-half));border-radius:50%}.esri-oriented-imagery-viewer__navigation-ui__direction-pad{box-sizing:border-box;transform:perspective(400px) rotateX(60deg) var(--rotate-transform);filter:drop-shadow(0 2px 1px #00000080);width:330px;height:330px}.esri-oriented-imagery-viewer__navigation-ui__direction--top{transform-style:preserve-3d;top:0;left:50%;transform:translate(-50%)}.esri-oriented-imagery-viewer__navigation-ui__direction--bottom{transform-style:preserve-3d;bottom:0;left:50%;transform:translate(-50%)}.esri-oriented-imagery-viewer__navigation-ui__direction--left{transform-style:preserve-3d;top:50%;left:0;transform:translateY(-50%)}.esri-oriented-imagery-viewer__navigation-ui__direction--right{transform-style:preserve-3d;top:50%;right:0;transform:translateY(-50%)}.esri-panoramic-viewer{z-index:1;position:relative;width:100%;height:100%}`, m = d(a);
11
- class v extends n {
9
+ import { s as g } from "../../chunks/esri-main.js";
10
+ import { u as c } from "../../chunks/useLayerById.js";
11
+ const m = l`.esri-imagery-viewer{width:100%;height:100%}.esri-oriented-imagery-viewer{--esri-oriented-imagery-viewer-action-icon-size: 8px;--esri-oriented-imagery-viewer-min-width: 288px;--esri-oriented-imagery-viewer-min-height: 348px;--calcite-dialog-size-x: 210px;--calcite-dialog-min-size-y: 90px;--calcite-icon-size: var(--esri-oriented-imagery-viewer-action-icon-size);box-sizing:border-box;z-index:1;width:100%;min-width:var(--esri-oriented-imagery-viewer-min-width);height:100%;min-height:var(--esri-oriented-imagery-viewer-min-height);flex-direction:column;align-items:flex-start;display:flex;overflow:hidden}.esri-oriented-imagery-viewer:has(.esri-widget .esri-oriented-imagery-viewer__image-overlays-no-result){--esri-oriented-imagery-viewer-min-height: 420px}.esri-oriented-imagery-viewer__body{flex-direction:column;flex:1 0 auto;order:1;align-self:stretch;height:100%;display:flex}.esri-oriented-imagery-viewer__body-current-coverage{--calcite-icon-color: var(--calcite-color-status-danger)}.esri-oriented-imagery-viewer__body-additional-camera-locations{--calcite-icon-color: var(--calcite-color-brand)}.esri-oriented-imagery-viewer__body-additional-coverage{--calcite-icon-color: var(--calcite-color-status-info)}.esri-oriented-imagery-viewer__body-footprint{--calcite-icon-color: var(--calcite-color-status-success)}.esri-oriented-imagery-viewer__carousel{z-index:1;border:1px solid var(--calcite-color-border-2);align-items:center;width:98%;height:140px;margin:auto 1% 0;position:absolute;bottom:0;box-shadow:0 0 1px #0000004d}.esri-oriented-imagery-viewer__carousel-container{height:auto;display:inline-block;overflow:auto hidden}.esri-oriented-imagery-viewer__carousel header{--calcite-font-weight-medium: $font-weight--light;--calcite-font-size-0: $font-size--tiny}.esri-oriented-imagery-viewer__carousel-item{width:100px;height:70px}.esri-oriented-imagery-viewer__carousel-item-wrapper{box-sizing:border-box;justify-content:center;align-items:center;width:106px;height:78px;margin:auto 10px;display:flex;box-shadow:0 1px 2px #0000004d}.esri-oriented-imagery-viewer__carousel-item-wrapper--selected{box-sizing:border-box;border:2px solid var(--calcite-color-brand);justify-content:center;align-items:center;width:106px;height:78px;margin:auto 10px;display:flex;box-shadow:0 1px 2px #0000004d}.esri-oriented-imagery-viewer__carousel-content{display:flex}.esri-oriented-imagery-viewer__close{background:var(--calcite-color-foreground-1);flex-direction:row;flex-grow:0;order:7;justify-content:center;align-items:center;width:48px;height:59px;display:flex}.esri-oriented-imagery-viewer__image-enhancement-wrapper{z-index:1;border:1px solid var(--calcite-color-border-2);align-items:center;width:98%;height:140px;margin:auto 1% 0;position:absolute;bottom:0;box-shadow:0 0 1px #0000004d}.esri-oriented-imagery-viewer__image-enhancement-tools{display:flex}.esri-oriented-imagery-viewer__image-enhancement-tool-container{width:50%;margin-block:2px;padding-inline:.75rem}.esri-oriented-imagery-viewer__image-overlays{z-index:1;margin:auto;border:1px solid var(--calcite-color-border-2);align-items:center;width:100%;position:absolute;bottom:0;overflow-y:auto;box-shadow:0 0 1px #0000004d}.esri-oriented-imagery-viewer__image-overlays-layer-list,.esri-oriented-imagery-viewer__image-overlays-switch{padding:0 var(--calcite-spacing-md)}.esri-oriented-imagery-viewer__image-overlays-container{height:auto;display:flex}.esri-oriented-imagery-viewer__image-overlays-no-result{z-index:1;border:1px solid var(--calcite-color-border-2);align-items:center;width:98%;height:auto;margin:auto 1% 0;position:absolute;bottom:0;overflow-y:auto;box-shadow:0 0 1px #0000004d}.esri-oriented-imagery-viewer__image-overlays-no-result-layer-list,.esri-oriented-imagery-viewer__image-overlays-no-result-switch{padding:0 var(--calcite-spacing-md)}.esri-oriented-imagery-viewer__image-overlays-increased-height{z-index:1;border:1px solid var(--calcite-color-border-2);align-items:center;width:98%;height:200px;margin:auto 1% 0;position:absolute;bottom:0;overflow-y:auto;box-shadow:0 0 1px #0000004d}.esri-oriented-imagery-viewer__image-overlays-increased-height-layer-list,.esri-oriented-imagery-viewer__image-overlays-increased-height-switch{padding:0 var(--calcite-spacing-md)}.esri-oriented-imagery-viewer__measurement-results{width:auto;height:fit-content}.esri-oriented-imagery-viewer__measurements-table{margin-block-start:var(--calcite-spacing-sm)}.esri-oriented-imagery-viewer__measurements-bar{flex-wrap:nowrap;display:flex}.esri-oriented-imagery-viewer__measurements-button{display:flex}.esri-oriented-imagery-viewer__measurement-display{text-align:center;margin-block-end:var(--calcite-spacing-xxs)}.esri-oriented-imagery-viewer__viewer{cursor:url(data:text/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20height%3D%2226%22%20width%3D%2226%22%3E%0A%3Cpath%20stroke%3D%22%23000%22%20stroke-width%3D%221px%22%20fill%3D%22%23fff%22%20d%3D%22m15.3%2020.5s6.38-6.73%204.64-8.24-3.47%201.01-3.47%201.01%203.61-5.72%201.41-6.49c-2.2-0.769-3.33%204.36-3.33%204.36s0.873-5.76-1.06-5.76-1.58%205.39-1.58%205.39-0.574-4.59-2.18-4.12c-1.61%200.468-0.572%205.51-0.572%205.51s-1.58-4.89-2.93-3.79c-1.35%201.11%200.258%205.25%200.572%206.62%200.836%202.43%202.03%202.94%202.17%205.55%22%2F%3E%0A%3C%2Fsvg%3E%0A);flex-grow:1;width:100%;margin:0;display:flex}.esri-oriented-imagery-viewer__viewer--hidden{display:none}.esri-oriented-imagery-viewer__viewer-container{border-top:1px solid var(--calcite-color-border-3);background:var(--calcite-color-foreground-1);border-radius:0 0 3px 3px;flex:1 0 auto;order:1;align-self:stretch;width:100%;height:100%;display:flex}.esri-oriented-imagery-viewer__alert{inset-block-end:var(--calcite-spacing-md);inset-inline:var(--calcite-spacing-md);position:absolute}@keyframes rotateOrientedImageryNavigationTool{0%{transform:rotate(var(--oi-navigation-tool-rotation-from, 0deg))}to{transform:rotate(var(--oi-navigation-tool-rotation-to, 0deg))}}.esri-oriented-imagery-viewer__message-box{text-align:center;word-break:break-word;justify-content:center;align-items:center;width:100%;height:100%;padding:0 25%;font-size:var(--calcite-font-size-sm);display:flex;position:relative}.esri-oriented-imagery-viewer__navigation{transform:rotate(var(--oi-navigation-tool-rotation-to, 0deg))}.esri-oriented-imagery-viewer__navigation-animate{animation:.7s linear forwards rotateOrientedImageryNavigationTool}.esri-oriented-imagery-viewer__navigation-feature{fill:var(--calcite-color-brand);stroke:var(--calcite-color-foreground-1);stroke-width:1px}.esri-oriented-imagery-viewer__navigation-feature.selected{fill:var(--calcite-color-status-danger)}.esri-oriented-imagery-viewer__navigation-feature-path{pointer-events:none}.esri-oriented-imagery-viewer__navigation-feature-path-stop-offset-0{stop-color:var(--calcite-color-status-danger);stop-opacity:.4}.esri-oriented-imagery-viewer__navigation-feature-path-stop-offset-1{stop-color:var(--calcite-color-status-danger);stop-opacity:.2}.esri-oriented-imagery-viewer__navigation-pointer{fill:var(--calcite-color-foreground-1);fill-rule:evenodd;stroke:#0000;stroke-dasharray:none;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-width:0}.esri-oriented-imagery-viewer__navigation-pointer-north{fill:var(--calcite-color-status-danger)}.esri-oriented-imagery-viewer__navigation-wrapper{z-index:1;position:absolute;bottom:0;right:0;overflow:hidden}.esri-oriented-imagery-viewer__navigation-wrapper--zoomed{transform-origin:100% 100%;transform:scale(1.5)}.esri-oriented-imagery-viewer__navigation-wrapper-boundary{fill:var(--calcite-color-foreground-1);fill-opacity:.25;stroke:var(--calcite-color-border-2)}.esri-oriented-imagery-viewer__navigation-sector{fill:none}.esri-oriented-imagery-viewer__navigation-sector-separator{stroke:var(--calcite-color-border-2);stroke-width:1px}.esri-oriented-imagery-viewer__navigation-sector-cross{stroke:var(--calcite-color-status-danger);stroke-width:1px}.esri-oriented-imagery-viewer__navigation-sector-enabled{fill:var(--calcite-color-foreground-1);stroke:var(--calcite-color-border-2);stroke-width:1px}.esri-oriented-imagery-viewer__navigation-sector-disabled{fill:var(--calcite-color-foreground-3);stroke:var(--calcite-color-border-2);stroke-width:1px}.esri-oriented-imagery-viewer__navigation-sector-outer{fill:var(--calcite-color-foreground-1);fill-opacity:.4;stroke:none}.esri-oriented-imagery-viewer__pro .esri-oriented-imagery-viewer{width:100%;max-width:unset;height:100%;max-height:unset;position:static}.esri-oriented-imagery-viewer__sketch-tools{justify-content:center;align-items:center;width:100%;display:flex;position:absolute;bottom:0}.esri-oriented-imagery-viewer__navigation-ui{box-sizing:border-box;inset-block-end:var(--calcite-spacing-md);inset-inline:var(--calcite-spacing-md);transform-style:preserve-3d;z-index:var(--calcite-z-index-overlay);pointer-events:none;flex-direction:column;align-items:center;display:flex;position:absolute;overflow:hidden}.esri-oriented-imagery-viewer__navigation-ui__direction{--esri-oriented-imagery-viewer__navigation-ui-direction-color: wheat;--calcite-icon-color: var(--esri-oriented-imagery-viewer__navigation-ui-direction-color);cursor:not-allowed;width:160px;height:160px;position:absolute}.esri-oriented-imagery-viewer__navigation-ui__direction:not([disabled]){cursor:pointer;pointer-events:auto}.esri-oriented-imagery-viewer__navigation-ui__direction:not([disabled]):hover{--calcite-icon-color: var(--calcite-color-brand);background-color:rgba(var(--calcite-color-brand),var(--calcite-opacity-half));border-radius:50%}.esri-oriented-imagery-viewer__navigation-ui__direction-pad{box-sizing:border-box;transform:perspective(400px) rotateX(60deg) var(--rotate-transform);filter:drop-shadow(0 2px 1px #00000080);width:330px;height:330px}.esri-oriented-imagery-viewer__navigation-ui__direction--top{transform-style:preserve-3d;top:0;left:50%;transform:translate(-50%)}.esri-oriented-imagery-viewer__navigation-ui__direction--bottom{transform-style:preserve-3d;bottom:0;left:50%;transform:translate(-50%)}.esri-oriented-imagery-viewer__navigation-ui__direction--left{transform-style:preserve-3d;top:50%;left:0;transform:translateY(-50%)}.esri-oriented-imagery-viewer__navigation-ui__direction--right{transform-style:preserve-3d;top:50%;right:0;transform:translateY(-50%)}.esri-panoramic-viewer{z-index:1;position:relative;width:100%;height:100%}`, v = d(o);
12
+ class h extends n {
12
13
  constructor() {
13
- super(...arguments), this.widget = m(this), this._hasOrientedImageryLayerToAdd = !1, this.viewModel = this.widget.viewModel, this.view = this.widget.view, this.autoDestroyDisabled = !1, this.currentCoverageVisible = this.widget.currentCoverageVisible, this.dataCaptureEnabled = this.widget.dataCaptureEnabled, this.disabled = this.widget.disabled, this.galleryOpened = this.widget.galleryOpened, this.icon = this.widget.icon, this.imageEnhancementToolActive = this.widget.imageEnhancementToolActive, this.imageGalleryEnabled = this.widget.imageGalleryEnabled, this.imageOverlaysOpened = this.widget.imageOverlaysOpened, this.isAdditionalCoverageVisible = this.widget.isAdditionalCoverageVisible, this.isAdditionalPointSourcesVisible = this.widget.isAdditionalPointSourcesVisible, this.label = this.widget.label, this.layer = this.widget.layer, this.mapImageConversionToolState = this.widget.mapImageConversionToolState, this.navigationToolActive = this.widget.navigationToolActive, this.preloadMedia = this.widget.preloadMedia, this.referencePoint = this.widget.referencePoint, this.arcgisPropertyChange = t()("imageGalleryEnabled", "layer"), this.arcgisReady = s();
14
+ super(...arguments), this.widget = v(this), this._hasOrientedImageryLayerToAdd = !1, this.viewModel = this.widget.viewModel, this.view = this.widget.view, this.autoDestroyDisabled = !1, this.currentCoverageVisible = this.widget.currentCoverageVisible, this.dataCaptureEnabled = this.widget.dataCaptureEnabled, this.disabled = this.widget.disabled, this.galleryOpened = this.widget.galleryOpened, this.hideHeader = this.widget.visibleElements.header, this.hideMenu = this.widget.visibleElements.menu, this.icon = this.widget.icon, this.imageEnhancementToolActive = this.widget.imageEnhancementToolActive, this.imageGalleryEnabled = this.widget.imageGalleryEnabled, this.imageOverlaysOpened = this.widget.imageOverlaysOpened, this.isAdditionalCoverageVisible = this.widget.isAdditionalCoverageVisible, this.isAdditionalPointSourcesVisible = this.widget.isAdditionalPointSourcesVisible, this.label = this.widget.label, this.layer = this.widget.layer, this.layerId = c(this, (e) => {
15
+ this.layer = e;
16
+ }), this.mapImageConversionToolState = this.widget.mapImageConversionToolState, this.navigationToolActive = this.widget.navigationToolActive, this.preloadMedia = this.widget.preloadMedia, this.referencePoint = this.widget.referencePoint, this.arcgisPropertyChange = t()("imageGalleryEnabled", "layer"), this.arcgisReady = s();
14
17
  }
15
18
  static {
16
- this.properties = { view: 0, autoDestroyDisabled: 5, currentCoverageVisible: 5, dataCaptureEnabled: 5, disabled: 5, galleryOpened: 5, icon: 1, imageEnhancementToolActive: 5, imageGalleryEnabled: 36, imageOverlaysOpened: 5, isAdditionalCoverageVisible: 5, isAdditionalPointSourcesVisible: 5, label: 1, layer: 0, mapImageConversionToolState: 5, navigationToolActive: 5, orientedImageryLayerItemId: 1, preloadMedia: 5, referenceElement: 1, referencePoint: 32 };
19
+ this.properties = { view: 0, autoDestroyDisabled: 5, currentCoverageVisible: 5, dataCaptureEnabled: 5, disabled: 5, galleryOpened: 5, hideHeader: 5, hideMenu: 5, icon: 1, imageEnhancementToolActive: 5, imageGalleryEnabled: 36, imageOverlaysOpened: 5, isAdditionalCoverageVisible: 5, isAdditionalPointSourcesVisible: 5, label: 1, layer: 0, layerId: 1, mapImageConversionToolState: 5, navigationToolActive: 5, orientedImageryLayerItemId: 1, preloadMedia: 5, referenceElement: 1, referencePoint: 32 };
17
20
  }
18
21
  static {
19
- this.styles = [c, g];
22
+ this.styles = [g, m];
20
23
  }
21
24
  async destroy() {
22
25
  await this.manager.destroy();
23
26
  }
27
+ async loadBestImage(e, i) {
28
+ return await this.widget.loadBestImage(e, i);
29
+ }
24
30
  willUpdate(e) {
25
31
  if (e.has("orientedImageryLayerItemId")) {
26
32
  const i = this.orientedImageryLayerItemId;
27
- i && this.widget && (this.layer = new o({ portalItem: { id: i } }), this.widget.view ? this.widget.view.map?.add(this.layer) : this._hasOrientedImageryLayerToAdd = !0);
33
+ i && this.widget && (this.layer = new a({ portalItem: { id: i } }), this.widget.view ? this.widget.view.map?.add(this.layer) : this._hasOrientedImageryLayerToAdd = !0);
28
34
  }
29
35
  }
30
36
  loaded() {
@@ -37,7 +43,7 @@ class v extends n {
37
43
  e && (this.widget.view?.map?.add(e), this._hasOrientedImageryLayerToAdd = !1);
38
44
  }
39
45
  }
40
- r("arcgis-oriented-imagery-viewer", v);
46
+ r("arcgis-oriented-imagery-viewer", h);
41
47
  export {
42
- v as ArcgisOrientedImageryViewer
48
+ h as ArcgisOrientedImageryViewer
43
49
  };
@@ -0,0 +1,173 @@
1
+ /// <reference path="../../index.d.ts" />
2
+ import type UtilityNetwork from "@arcgis/core/networks/UtilityNetwork.js";
3
+ import type ValidateNetworkTopologyResult from "@arcgis/core/rest/networks/support/ValidateNetworkTopologyResult.js";
4
+ import type MapView from "@arcgis/core/views/MapView.js";
5
+ import type { PublicLitElement as LitElement } from "@arcgis/lumina";
6
+ import type { ArcgisReferenceElement } from "../types.js";
7
+ import type { T9nMeta } from "@arcgis/lumina/controllers";
8
+
9
+ export abstract class ArcgisUtilityNetworkValidateNetworkTopology extends LitElement {
10
+ /** @internal */
11
+ protected _messages: {
12
+ componentLabel: string;
13
+ actions: { validateTopology: string; };
14
+ errors: {
15
+ cannotAcquireVersionLock: string;
16
+ noAdvancedEditingUserTypeExtension: string;
17
+ noDirtyAreasInExtent: string;
18
+ noDirtyAreasLayer: string;
19
+ noUtilityNetwork: string;
20
+ noUtilityNetworks: string;
21
+ noUtilityNetworkServiceUserTypeExtension: string;
22
+ noView: string;
23
+ operationOnlyAllowedByOwner: string;
24
+ sceneViewNotSupported: string;
25
+ setup: string;
26
+ };
27
+ info: { validateCanceled: string; };
28
+ input: {
29
+ selectExtent: {
30
+ label: string;
31
+ options: {
32
+ currentExtent: string;
33
+ entireExtent: string;
34
+ };
35
+ };
36
+ selectUtilityNetwork: { label: string; };
37
+ };
38
+ status: {
39
+ executing: string;
40
+ success: string;
41
+ };
42
+ } & T9nMeta<{
43
+ componentLabel: string;
44
+ actions: { validateTopology: string; };
45
+ errors: {
46
+ cannotAcquireVersionLock: string;
47
+ noAdvancedEditingUserTypeExtension: string;
48
+ noDirtyAreasInExtent: string;
49
+ noDirtyAreasLayer: string;
50
+ noUtilityNetwork: string;
51
+ noUtilityNetworks: string;
52
+ noUtilityNetworkServiceUserTypeExtension: string;
53
+ noView: string;
54
+ operationOnlyAllowedByOwner: string;
55
+ sceneViewNotSupported: string;
56
+ setup: string;
57
+ };
58
+ info: { validateCanceled: string; };
59
+ input: {
60
+ selectExtent: {
61
+ label: string;
62
+ options: {
63
+ currentExtent: string;
64
+ entireExtent: string;
65
+ };
66
+ };
67
+ selectUtilityNetwork: { label: string; };
68
+ };
69
+ status: {
70
+ executing: string;
71
+ success: string;
72
+ };
73
+ }>;
74
+ /**
75
+ * A function to run before validate utility network topology starts.
76
+ *
77
+ * @internal
78
+ */
79
+ accessor beforeValidateNetworkTopologyStart: (() => Promise<void>) | undefined;
80
+ /** @default false */
81
+ accessor disabled: boolean;
82
+ /** @default "current" */
83
+ accessor extentToValidate: ExtentOption;
84
+ /** @default false */
85
+ accessor hideUtilityNetworkSelect: boolean;
86
+ /** The component's default label. */
87
+ accessor label: string | undefined;
88
+ /**
89
+ * Replace localized message strings with your own strings.
90
+ *
91
+ * _**Note**: Individual message keys may change between releases._
92
+ */
93
+ accessor messageOverrides: {
94
+ componentLabel?: string | undefined;
95
+ actions?: { validateTopology?: string | undefined; } | undefined;
96
+ errors?: {
97
+ cannotAcquireVersionLock?: string | undefined;
98
+ noAdvancedEditingUserTypeExtension?: string | undefined;
99
+ noDirtyAreasInExtent?: string | undefined;
100
+ noDirtyAreasLayer?: string | undefined;
101
+ noUtilityNetwork?: string | undefined;
102
+ noUtilityNetworks?: string | undefined;
103
+ noUtilityNetworkServiceUserTypeExtension?: string | undefined;
104
+ noView?: string | undefined;
105
+ operationOnlyAllowedByOwner?: string | undefined;
106
+ sceneViewNotSupported?: string | undefined;
107
+ setup?: string | undefined;
108
+ } | undefined;
109
+ info?: { validateCanceled?: string | undefined; } | undefined;
110
+ input?: {
111
+ selectExtent?: {
112
+ label?: string | undefined;
113
+ options?: {
114
+ currentExtent?: string | undefined;
115
+ entireExtent?: string | undefined;
116
+ } | undefined;
117
+ } | undefined;
118
+ selectUtilityNetwork?: { label?: string | undefined; } | undefined;
119
+ } | undefined;
120
+ status?: {
121
+ executing?: string | undefined;
122
+ success?: string | undefined;
123
+ } | undefined;
124
+ };
125
+ /**
126
+ * By assigning the `id` attribute of the Map or Scene component to this property, you can position a child component anywhere in the DOM while still maintaining a connection to the Map or Scene.
127
+ *
128
+ * @see [Associate components with a Map or Scene component](https://developers.arcgis.com/javascript/latest/programming-patterns/#associate-components-with-a-map-or-scene-component)
129
+ */
130
+ accessor referenceElement: ArcgisReferenceElement | string | undefined;
131
+ accessor result: ValidateNetworkTopologyResult | undefined;
132
+ accessor state: State;
133
+ accessor utilityNetwork: UtilityNetwork | undefined;
134
+ accessor view: MapView | undefined;
135
+ readonly arcgisReady: import("@arcgis/lumina").TargetedEvent<this, void>;
136
+ readonly arcgisValidateNetworkTopologyEnd: import("@arcgis/lumina").TargetedEvent<this, void>;
137
+ readonly arcgisValidateNetworkTopologyStart: import("@arcgis/lumina").TargetedEvent<this, void>;
138
+ readonly "@eventTypes": {
139
+ arcgisReady: ArcgisUtilityNetworkValidateNetworkTopology["arcgisReady"]["detail"];
140
+ arcgisValidateNetworkTopologyEnd: ArcgisUtilityNetworkValidateNetworkTopology["arcgisValidateNetworkTopologyEnd"]["detail"];
141
+ arcgisValidateNetworkTopologyStart: ArcgisUtilityNetworkValidateNetworkTopology["arcgisValidateNetworkTopologyStart"]["detail"];
142
+ };
143
+ }
144
+
145
+ export type ExtentOption = "current" | "entire";
146
+
147
+ export type State = Disabled | Executing | Loading | Ready | Success | ValidateNetworkTopologyError;
148
+
149
+ export interface Disabled {
150
+ type: "disabled";
151
+ }
152
+
153
+ export interface Executing {
154
+ type: "executing";
155
+ }
156
+
157
+ export interface Loading {
158
+ type: "loading";
159
+ }
160
+
161
+ export interface Ready {
162
+ type: "ready";
163
+ }
164
+
165
+ export interface Success {
166
+ type: "success";
167
+ message: string;
168
+ }
169
+
170
+ export interface ValidateNetworkTopologyError {
171
+ type: "error-disable-component" | "error-disable-execute" | "error-info";
172
+ message: string;
173
+ }
@@ -0,0 +1,208 @@
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
+ import { c as k } from "../../chunks/runtime.js";
3
+ import { css as _, html as s } from "lit";
4
+ import { getOwningPortalUrl as N, hasUserTypeExtension as V } from "@arcgis/core/applications/Components/featureUtils.js";
5
+ import "@arcgis/core/core/Error.js";
6
+ import { on as b, watch as $ } from "@arcgis/core/core/reactiveUtils.js";
7
+ import T from "@arcgis/core/portal/Portal.js";
8
+ import "@arcgis/core/rest/networks/support/ValidateNetworkTopologyResult.js";
9
+ import { LitElement as A, createEvent as u, nothing as l } from "@arcgis/lumina";
10
+ import { log as d, composeMissingPropertyMessage as y } from "@arcgis/toolkit/log";
11
+ import { generateGuid as E } from "@arcgis/toolkit/string";
12
+ import { u as U } from "../../chunks/useT9n.js";
13
+ import { u as L } from "../../chunks/useView.js";
14
+ import { c as S, i as C, l as I, t as n } from "../../chunks/async-utils.js";
15
+ import { d as O } from "../../chunks/layer-utils.js";
16
+ const D = _`:host{--arcgis-internal-color-black-30: color-mix(in srgb, #000000 30.2%, transparent);--arcgis-internal-box-shadow: var(--calcite-spacing-none) var(--calcite-spacing-px) var(--calcite-spacing-base) var(--arcgis-internal-color-black-30);--arcgis-internal-top-max-width: calc(min(100cqw, 100vw) - var(--calcite-spacing-xxxl));--arcgis-internal-panel-width: 300px;--arcgis-internal-panel-height: 100%;--arcgis-internal-panel-height-sm: 240px;--arcgis-internal-panel-height-md: 420px;--arcgis-internal-panel-height-lg: 540px;--arcgis-internal-panel-height-xl: 680px;--arcgis-internal-panel-gap: var(--calcite-spacing-lg);--arcgis-internal-panel-actions-gap: var(--calcite-spacing-sm);--arcgis-internal-basemap-gallery-width-lg: 450px;--arcgis-internal-collapse-icon-flip: scaleX(1);--arcgis-internal-row-direction: row;--arcgis-internal-legend-width: 300px;--arcgis-internal-layout-overlay-space-top: var(--arcgis-layout-overlay-space-top, 0px);--arcgis-internal-layout-overlay-space-bottom: var(--arcgis-layout-overlay-space-bottom, 0px);--arcgis-internal-layout-overlay-space-left: var(--arcgis-layout-overlay-space-left, 0px);--arcgis-internal-layout-overlay-space-right: var(--arcgis-layout-overlay-space-right, 0px);--arcgis-internal-view-color-focus: var(--arcgis-view-color-focus, var(--calcite-color-brand));--arcgis-internal-attribution-space-bottom: var(--arcgis-internal-layout-overlay-space-bottom);--arcgis-internal-attribution-space-left: var(--arcgis-internal-layout-overlay-space-left);--arcgis-internal-attribution-space-right: var(--arcgis-internal-layout-overlay-space-right);--arcgis-internal-attribution-font-size: var(--calcite-font-size-sm);--arcgis-internal-attribution-font-size-sm: var(--calcite-font-size-xs);--arcgis-internal-sketch-justify-content: flex-start}:host{display:flex;flex-direction:column;height:var(--arcgis-internal-panel-height, 100%)}calcite-block{margin:0;border-bottom:none}calcite-combobox{margin-bottom:var(--calcite-spacing-sm)}calcite-icon{width:32px}`, p = {
17
+ noDirtyAreasInExtent: -2147208940,
18
+ operationOnlyAllowedByOwner: -2147217144,
19
+ cannotAcquireVersionLockV10: -2147217146,
20
+ cannotAcquireVersionLockV11: -2147220947
21
+ };
22
+ class q extends A {
23
+ constructor() {
24
+ super(...arguments), this._messages = U({ blocking: !0 }), this._unVntGuid = `unvnt_${E()}`, this.disabled = !1, this.extentToValidate = "current", this.hideUtilityNetworkSelect = !1, this.state = { type: "disabled" }, this.view = L(this), this.arcgisReady = u(), this.arcgisValidateNetworkTopologyEnd = u(), this.arcgisValidateNetworkTopologyStart = u();
25
+ }
26
+ static {
27
+ this.properties = { beforeValidateNetworkTopologyStart: 0, disabled: 5, extentToValidate: 1, hideUtilityNetworkSelect: 5, label: 1, messageOverrides: 0, referenceElement: 1, result: 0, state: 0, utilityNetwork: 0, view: 0 };
28
+ }
29
+ static {
30
+ this.styles = D;
31
+ }
32
+ async loaded() {
33
+ this.manager.onLifecycle(() => [
34
+ b(() => this.view?.map?.allLayers, "change", (e) => {
35
+ const t = e.added.concat(e.removed);
36
+ this._getDirtyAreasLayer(t) && this._runSetup();
37
+ }),
38
+ b(() => this.view?.map?.utilityNetworks, "change", () => {
39
+ this._runSetup();
40
+ }),
41
+ $(() => this.view, () => {
42
+ this._runSetup();
43
+ }, { initial: !0 })
44
+ ]);
45
+ }
46
+ _getDirtyAreasLayer(e) {
47
+ const t = this.utilityNetwork?.networkSystemLayers.dirtyAreasLayerUrl;
48
+ if (t)
49
+ return e.find((i) => O(i) && `${i.url}/${i.layerId}` === t);
50
+ }
51
+ async _handleValidateNetworkTopologyAction() {
52
+ try {
53
+ if (this.result = void 0, !this.view) {
54
+ this.state = { type: "error-disable-component", message: this._messages.errors.noView };
55
+ return;
56
+ }
57
+ if (!this.utilityNetwork) {
58
+ this.state = { type: "error-disable-component", message: this._messages.errors.noUtilityNetworks };
59
+ return;
60
+ }
61
+ this.beforeValidateNetworkTopologyStart && await this.beforeValidateNetworkTopologyStart();
62
+ const { view: e, utilityNetwork: t } = this;
63
+ if (!e) {
64
+ this.state = { type: "error-disable-component", message: this._messages.errors.noView };
65
+ return;
66
+ }
67
+ if (!t) {
68
+ this.state = { type: "error-disable-component", message: this._messages.errors.noUtilityNetwork }, d("warn", this, y("utilityNetwork"));
69
+ return;
70
+ }
71
+ if (this.arcgisValidateNetworkTopologyStart.emit().defaultPrevented) {
72
+ d("info", this, this._messages.info.validateCanceled);
73
+ return;
74
+ }
75
+ this.state = { type: "executing" };
76
+ const r = {
77
+ outSpatialReference: e.spatialReference?.clone() || null,
78
+ validateArea: this.extentToValidate === "current" || !t.fullExtent ? e.extent.clone() : t.fullExtent.clone()
79
+ };
80
+ this.result = await t.validateTopology(r), this.state = { type: "success", message: this._messages.status.success };
81
+ } catch (e) {
82
+ const { _messages: { errors: { cannotAcquireVersionLock: t, noDirtyAreasInExtent: i, operationOnlyAllowedByOwner: r } } } = this;
83
+ this.result = void 0;
84
+ const o = e, a = o.details?.raw?.extendedCode;
85
+ let c = o.message;
86
+ switch (a) {
87
+ case p.noDirtyAreasInExtent:
88
+ c = i;
89
+ break;
90
+ case p.cannotAcquireVersionLockV10:
91
+ case p.cannotAcquireVersionLockV11:
92
+ c = t;
93
+ break;
94
+ case p.operationOnlyAllowedByOwner:
95
+ c = r;
96
+ break;
97
+ }
98
+ this.state = { type: "error-info", message: c };
99
+ } finally {
100
+ this.arcgisValidateNetworkTopologyEnd.emit();
101
+ }
102
+ }
103
+ async _runSetup() {
104
+ this._setupTask?.abort();
105
+ const e = S(async (t) => {
106
+ this.state = { type: "loading" }, this.result = void 0;
107
+ const { view: i } = this;
108
+ if (!i) {
109
+ this.utilityNetwork = void 0, this.state = { type: "error-disable-component", message: this._messages.errors.noView }, d("warn", this, y("view"));
110
+ return;
111
+ }
112
+ if (i.type !== "2d") {
113
+ this.utilityNetwork = void 0, this.state = { type: "error-disable-component", message: this._messages.errors.sceneViewNotSupported };
114
+ return;
115
+ }
116
+ const r = i.map;
117
+ await r.load({ signal: t }), n(t);
118
+ const o = r.utilityNetworks ?? null;
119
+ if (!o?.length) {
120
+ this.utilityNetwork = void 0, this.state = { type: "error-disable-component", message: this._messages.errors.noUtilityNetworks };
121
+ return;
122
+ }
123
+ let a = this.utilityNetwork;
124
+ if ((!a || !o.find((f) => f.id === a?.id)) && (a = o.getItemAt(0)), !a) {
125
+ this.state = { type: "error-disable-component", message: this._messages.errors.noUtilityNetworks }, d("warn", this, y("utilityNetwork"));
126
+ return;
127
+ }
128
+ await a.load({ signal: t }), n(t);
129
+ const g = (Number(a.sourceJSON.currentVersion) || 0) <= 11.1 ? "utilityNetwork" : "advediting", w = await N(a.layerUrl, { signal: t }) ?? void 0;
130
+ n(t);
131
+ const h = new T({ url: w });
132
+ await h.load({ signal: t }), n(t);
133
+ const x = h.user?.username ?? "", v = await V(h, x, g);
134
+ if (n(t), this._utilityNetworks = o, this.utilityNetwork = a, !v) {
135
+ this.state = g === "advediting" ? { type: "error-disable-execute", message: this._messages.errors.noAdvancedEditingUserTypeExtension } : {
136
+ type: "error-disable-execute",
137
+ message: this._messages.errors.noUtilityNetworkServiceUserTypeExtension
138
+ };
139
+ return;
140
+ }
141
+ const m = this._getDirtyAreasLayer(r.allLayers.toArray());
142
+ if (!m) {
143
+ this.state = { type: "error-disable-execute", message: this._messages.errors.noDirtyAreasLayer };
144
+ return;
145
+ }
146
+ await m.load({ signal: t }), n(t), this.state = { type: "ready" };
147
+ });
148
+ this._setupTask = e;
149
+ try {
150
+ await e.promise;
151
+ } catch (t) {
152
+ if (C(t))
153
+ return;
154
+ this.utilityNetwork = void 0, this.state = { type: "error-disable-component", message: this._messages.errors.setup }, I(t, this, this.state.message);
155
+ } finally {
156
+ this._setupTask === e && (this._setupTask = void 0);
157
+ }
158
+ }
159
+ _renderExtentToValidateCombobox() {
160
+ if (this.state.type !== "error-disable-component")
161
+ return s`<calcite-combobox .disabled=${this.disabled || this.state.type === "disabled" || this.state.type === "executing"} .label=${this._messages.input.selectExtent.label} .labelText=${this._messages.input.selectExtent.label} selection-mode=single-persist @calciteComboboxChange=${(e) => {
162
+ this.extentToValidate = e.target.value;
163
+ }}><calcite-combobox-item .heading=${this._messages.input.selectExtent.options.currentExtent} .selected=${this.extentToValidate === "current"} value=current></calcite-combobox-item><calcite-combobox-item .heading=${this._messages.input.selectExtent.options.entireExtent} .selected=${this.extentToValidate === "entire"} value=entire></calcite-combobox-item></calcite-combobox>`;
164
+ }
165
+ _renderInfoNotice() {
166
+ if (this.state.type === "error-disable-component" || this.state.type === "error-disable-execute" || this.state.type === "error-info" || this.state.type === "success")
167
+ return s`<calcite-notice .closable=${this.state.type === "error-info" || this.state.type === "success"} .kind=${this.state.type === "success" ? "success" : "warning"} open scale=s width=full @calciteNoticeClose=${() => this.state = { type: "ready" }}><div slot=message>${this.state.message}</div></calcite-notice>`;
168
+ }
169
+ _renderStatusIcon() {
170
+ const e = `${this._unVntGuid}_status-icon`;
171
+ switch (this.state.type) {
172
+ case "error-disable-component":
173
+ case "error-disable-execute":
174
+ case "error-info":
175
+ return s`<calcite-icon icon=exclamation-mark-triangle id=${e ?? l} scale=s slot=actions-end></calcite-icon>`;
176
+ case "executing":
177
+ return s`<calcite-action loading disabled slot=actions-end .text=${this._messages.status.executing}></calcite-action>`;
178
+ case "success":
179
+ return s`<calcite-icon icon=check-circle id=${e ?? l} scale=s slot=actions-end></calcite-icon>`;
180
+ default:
181
+ return s`<calcite-icon icon=blank scale=m slot=actions-end></calcite-icon>`;
182
+ }
183
+ }
184
+ _renderUtilityNetworkCombobox() {
185
+ if (!(!this._utilityNetworks || this._utilityNetworks?.length === 1 || this.state.type === "error-disable-component" || this.hideUtilityNetworkSelect))
186
+ return s`<calcite-combobox .disabled=${this.state.type === "executing"} .label=${this._messages.input.selectUtilityNetwork.label} .labelText=${this._messages.input.selectUtilityNetwork.label} selection-mode=single-persist @calciteComboboxChange=${(e) => {
187
+ const t = e.target.value;
188
+ this.utilityNetwork = this._utilityNetworks?.find((i) => i.id === t), this._runSetup();
189
+ }}>${this._utilityNetworks.map((e) => s`<calcite-combobox-item .heading=${e.title} .selected=${e === this.utilityNetwork} .value=${e.id}></calcite-combobox-item>`)}</calcite-combobox>`;
190
+ }
191
+ _renderValidateNetworkTopologyAction() {
192
+ if (this.state.type === "error-disable-component")
193
+ return;
194
+ const e = `${this._unVntGuid}_execute-action`;
195
+ return [
196
+ s`<calcite-action .disabled=${this.disabled || this.state.type === "disabled" || this.state.type === "error-disable-execute" || this.state.type === "executing"} icon=play-f id=${e ?? l} @click=${this._handleValidateNetworkTopologyAction} slot=actions-end .text=${this._messages.actions.validateTopology}></calcite-action>`,
197
+ s`<calcite-tooltip reference-element=${e ?? l}><span>${this._messages.actions.validateTopology}</span></calcite-tooltip>`
198
+ ];
199
+ }
200
+ render() {
201
+ const e = this._renderStatusIcon(), t = this._renderValidateNetworkTopologyAction(), i = this._renderUtilityNetworkCombobox(), r = this._renderExtentToValidateCombobox(), o = this._renderInfoNotice();
202
+ return s`<calcite-panel .loading=${this.state.type === "loading"}><calcite-block collapsible expanded .heading=${this.label}>${e}${t}${i}${r}${o}</calcite-block></calcite-panel>`;
203
+ }
204
+ }
205
+ k("arcgis-utility-network-validate-network-topology", q);
206
+ export {
207
+ q as ArcgisUtilityNetworkValidateNetworkTopology
208
+ };
@@ -0,0 +1 @@
1
+ export * from "./customElement.js";
@@ -0,0 +1,9 @@
1
+ import "@esri/calcite-components/components/calcite-combobox";
2
+ import "@esri/calcite-components/components/calcite-combobox-item";
3
+ import "@esri/calcite-components/components/calcite-notice";
4
+ import "@esri/calcite-components/components/calcite-icon";
5
+ import "@esri/calcite-components/components/calcite-action";
6
+ import "@esri/calcite-components/components/calcite-tooltip";
7
+ import "@esri/calcite-components/components/calcite-panel";
8
+ import "@esri/calcite-components/components/calcite-block";
9
+ export * from "./customElement.js";