@arcgis/map-components 5.0.0-next.101 → 5.0.0-next.103

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 (433) hide show
  1. package/dist/cdn/{EJAU3OPM.js → 242YUEBL.js} +2 -2
  2. package/dist/cdn/{HMHEMUQP.js → 2CGANYZT.js} +2 -2
  3. package/dist/cdn/{Q3Y3EDKS.js → 2IUQ3QYS.js} +2 -2
  4. package/dist/cdn/2MLOUGV2.js +4 -0
  5. package/dist/cdn/2NUYTULZ.js +4 -0
  6. package/dist/cdn/{F7B6TBZF.js → 2XHFUXF2.js} +2 -2
  7. package/dist/cdn/{6OYCHZR3.js → 33JFULOQ.js} +1 -1
  8. package/dist/cdn/{A6RSYHJ3.js → 3CIX7MM5.js} +2 -2
  9. package/dist/cdn/{VHWNUEBL.js → 3GBJDWBL.js} +2 -2
  10. package/dist/cdn/{C2COYUAQ.js → 3PDQIO2J.js} +2 -2
  11. package/dist/cdn/{7D2I2WRW.js → 3RAQA7ZJ.js} +1 -1
  12. package/dist/cdn/{AUG7ZX2R.js → 3TQ4HLZH.js} +2 -2
  13. package/dist/cdn/{DAAYJNUV.js → 3UORN3MX.js} +2 -2
  14. package/dist/cdn/{RCZVHAZJ.js → 45KTQPDQ.js} +2 -2
  15. package/dist/cdn/{ABSPEBW6.js → 4A655SPZ.js} +2 -2
  16. package/dist/cdn/{T7LETE45.js → 4CBTGYA2.js} +2 -2
  17. package/dist/cdn/{OIN2ZTS3.js → 4EASCWVY.js} +2 -2
  18. package/dist/cdn/{QSJAINE2.js → 4EWVJO2J.js} +2 -2
  19. package/dist/cdn/{G35GJBF3.js → 4J5A37OP.js} +2 -2
  20. package/dist/cdn/{NLK7RXIT.js → 4NJMWI4N.js} +2 -2
  21. package/dist/cdn/{BRITVT2J.js → 4OQQ5EMA.js} +1 -1
  22. package/dist/cdn/{DJBG5RHH.js → 4RZJ36PN.js} +2 -2
  23. package/dist/cdn/{F6POCMUT.js → 4UNVY4T6.js} +2 -2
  24. package/dist/cdn/{6VDAI73U.js → 53E73FEJ.js} +2 -2
  25. package/dist/cdn/{VHT53LMZ.js → 57EEPCPB.js} +1 -1
  26. package/dist/cdn/{FEADG3MW.js → 57YKSG3Y.js} +2 -2
  27. package/dist/cdn/{IFPDYS23.js → 5D6HURLV.js} +2 -2
  28. package/dist/cdn/{ODSZD74S.js → 5VOWFZYD.js} +2 -2
  29. package/dist/cdn/{6O63CWJZ.js → 5VQ2F2P4.js} +2 -2
  30. package/dist/cdn/{2VHQMXDF.js → 64HV2BEF.js} +2 -2
  31. package/dist/cdn/{PDMOGKYE.js → 66KDCV2Y.js} +2 -2
  32. package/dist/cdn/{ACYRSXO2.js → 6DJD62EA.js} +2 -2
  33. package/dist/cdn/{QYCCS5O4.js → 6FQJDXYS.js} +2 -2
  34. package/dist/cdn/{EN62OW3Y.js → 6SFTOLHR.js} +2 -2
  35. package/dist/cdn/{FK6R7LSY.js → 74LRD3I5.js} +2 -2
  36. package/dist/cdn/{3D7Q6TCD.js → 77BTHCM7.js} +2 -2
  37. package/dist/cdn/{WAD2QUSE.js → 7BMG67CB.js} +2 -2
  38. package/dist/cdn/{4OPTJJYU.js → 7F5L6ICQ.js} +2 -2
  39. package/dist/cdn/{VEJGGFUF.js → 7FEA5YTR.js} +2 -2
  40. package/dist/cdn/{FNELY53E.js → 7FIEIJV4.js} +1 -1
  41. package/dist/cdn/{T3CMSY6Z.js → 7HVZDSEN.js} +2 -2
  42. package/dist/cdn/{ILTS3FTU.js → 7LOZPXXF.js} +2 -2
  43. package/dist/cdn/{DYHZRSSL.js → 7MPMG2ZE.js} +2 -2
  44. package/dist/cdn/{PACFB7HS.js → 7QKCQO4L.js} +2 -2
  45. package/dist/cdn/{JEJUZ6SK.js → 7RXKAAO7.js} +2 -2
  46. package/dist/cdn/{YVOW7ZKM.js → 7TQVL2AL.js} +2 -2
  47. package/dist/cdn/{QRSBOQ7O.js → 7VFCRQ64.js} +2 -2
  48. package/dist/cdn/{6LVTUEK3.js → 7VUKD6NU.js} +2 -2
  49. package/dist/cdn/{F4D33EOB.js → 7YV2ODPU.js} +2 -2
  50. package/dist/cdn/{3GDPMNA4.js → A6IKBZJ6.js} +2 -2
  51. package/dist/cdn/{ZOBB4BXH.js → ABB6IP5T.js} +2 -2
  52. package/dist/cdn/{GXZJ4MBQ.js → ABD7VZWG.js} +2 -2
  53. package/dist/cdn/{ODVSRDVZ.js → AEHONL3E.js} +2 -2
  54. package/dist/cdn/{ZIVINLNK.js → AKVAQWIB.js} +2 -2
  55. package/dist/cdn/{PEMGASE4.js → AOSE2KFV.js} +2 -2
  56. package/dist/cdn/{MN34GVKH.js → AWNHUPKX.js} +2 -2
  57. package/dist/cdn/{BEM6D2FZ.js → AZTSEIGE.js} +2 -2
  58. package/dist/cdn/{N7CGVIDR.js → B53R2GLM.js} +2 -2
  59. package/dist/cdn/{W7GMDQAP.js → BGJJSTV2.js} +2 -2
  60. package/dist/cdn/{34QBQBRW.js → BH4ZIH4L.js} +2 -2
  61. package/dist/cdn/{NP3NXW6U.js → BOINWTLA.js} +2 -2
  62. package/dist/cdn/{T3RB3RDD.js → BR2LP7VY.js} +2 -2
  63. package/dist/cdn/{A7QBBGVJ.js → C5JSEMAD.js} +1 -1
  64. package/dist/cdn/{ORAGFR6Z.js → CDCSHIBX.js} +1 -1
  65. package/dist/cdn/{D3ILKUC2.js → CSSOT6O3.js} +2 -2
  66. package/dist/cdn/{IXQVJU4V.js → CVG6ID5C.js} +2 -2
  67. package/dist/cdn/{J7GYU3KY.js → D77WXJDA.js} +2 -2
  68. package/dist/cdn/{5O7NVH66.js → D7P7YMAF.js} +2 -2
  69. package/dist/cdn/{LZZW3IKS.js → DEVEIRRU.js} +2 -2
  70. package/dist/cdn/{PXDJKRKT.js → DPBWO7RK.js} +2 -2
  71. package/dist/cdn/{EACLF5E3.js → DVUCVW4U.js} +2 -2
  72. package/dist/cdn/{GBI2ZXSQ.js → DWW7I4HR.js} +2 -2
  73. package/dist/cdn/{5TGKHKCJ.js → E5NT3TBJ.js} +2 -2
  74. package/dist/cdn/{FEUVU6LY.js → E7YDBQHK.js} +1 -1
  75. package/dist/cdn/{MZKCOA2S.js → EBPAIWYY.js} +2 -2
  76. package/dist/cdn/{ZON54W35.js → EDCFTG7P.js} +2 -2
  77. package/dist/cdn/{2XRVZ2W2.js → EGPW56QK.js} +2 -2
  78. package/dist/cdn/{WMJYDOTV.js → EHO3RHL2.js} +2 -2
  79. package/dist/cdn/{JUUE6J45.js → EN5B4VCY.js} +2 -2
  80. package/dist/cdn/{6Y4WGDPD.js → EOWGGFTZ.js} +2 -2
  81. package/dist/cdn/{VWDGAV5N.js → EVT4FB6X.js} +2 -2
  82. package/dist/cdn/{KMHHCKKZ.js → F7S4U34T.js} +2 -2
  83. package/dist/cdn/{EDG45JRZ.js → FVPH2ALB.js} +2 -2
  84. package/dist/cdn/{MXY4MYS7.js → G32HNWGR.js} +2 -2
  85. package/dist/cdn/{4KGRE2DW.js → G3YT653U.js} +2 -2
  86. package/dist/cdn/{XK5SHI3P.js → G656GA2K.js} +2 -2
  87. package/dist/cdn/{VFEYNP37.js → G7LZOWMQ.js} +2 -2
  88. package/dist/cdn/{F4GC2YAH.js → GB4IYGS7.js} +2 -2
  89. package/dist/cdn/{MMPA6MU7.js → GCUOIJNS.js} +2 -2
  90. package/dist/cdn/{R736LW4J.js → GMOLCYYA.js} +2 -2
  91. package/dist/cdn/{7V5IKWM5.js → GNG6N5TD.js} +2 -2
  92. package/dist/cdn/{VEZGAUVR.js → GTSJLUCF.js} +2 -2
  93. package/dist/cdn/{7YDN5V47.js → H35ZT6HX.js} +2 -2
  94. package/dist/cdn/{XCSJ6BFW.js → HAJMB2YB.js} +2 -2
  95. package/dist/cdn/{BN7ICUNA.js → HEFWMZIM.js} +2 -2
  96. package/dist/cdn/{S3PP3XNY.js → HEPI2WS7.js} +2 -2
  97. package/dist/cdn/{Q4TQ2RE2.js → HIFZ6WBW.js} +2 -2
  98. package/dist/cdn/{HVKNI37Q.js → HTQV6HJS.js} +2 -2
  99. package/dist/cdn/{D4S2GHKH.js → HUXBVNA4.js} +2 -2
  100. package/dist/cdn/{GER2252M.js → HVNBIVSK.js} +2 -2
  101. package/dist/cdn/{DIARY5WI.js → HVWCIXX4.js} +2 -2
  102. package/dist/cdn/{22JOJMPS.js → HZLY2IC2.js} +2 -2
  103. package/dist/cdn/{Q2KKLKZV.js → IFPKRFAA.js} +2 -2
  104. package/dist/cdn/{CLWQR6RP.js → IMCJX6CU.js} +2 -2
  105. package/dist/cdn/{SO36PLSU.js → IOBYJRBK.js} +2 -2
  106. package/dist/cdn/{ETYZ5A6U.js → J2JBNA7P.js} +2 -2
  107. package/dist/cdn/{QU2VILTK.js → JBIQMZ6K.js} +2 -2
  108. package/dist/cdn/{6ITWUNRS.js → JGPUNTU7.js} +2 -2
  109. package/dist/cdn/{SHYXVOGC.js → JQT3AHAK.js} +2 -2
  110. package/dist/cdn/{UNC7S6GY.js → JQWMEZ35.js} +2 -2
  111. package/dist/cdn/{Z22PZMGL.js → JUAACKN2.js} +2 -2
  112. package/dist/cdn/{V6P6N3MU.js → KAXXB7B7.js} +2 -2
  113. package/dist/cdn/{N524BF5E.js → KBH6J7HC.js} +2 -2
  114. package/dist/cdn/{X7U5OJTH.js → KM4YK4FQ.js} +2 -2
  115. package/dist/cdn/{H2E6VDJH.js → KM5OTL2Y.js} +2 -2
  116. package/dist/cdn/{QYGMV6TV.js → KMJQOBEN.js} +2 -2
  117. package/dist/cdn/{RGSN6KZM.js → KPAAO3UU.js} +2 -2
  118. package/dist/cdn/{CZ2JO6MW.js → KSX6V35C.js} +2 -2
  119. package/dist/cdn/{T3GKNKFU.js → L2OEUDJH.js} +2 -2
  120. package/dist/cdn/{DXI4HXRP.js → L6TUUIGI.js} +2 -2
  121. package/dist/cdn/{25LYOZ25.js → L6ZLQEME.js} +2 -2
  122. package/dist/cdn/{IIOCZ6X3.js → LJPCCEOL.js} +2 -2
  123. package/dist/cdn/{NMJ4TRCR.js → LKT5KKWB.js} +1 -1
  124. package/dist/cdn/{5MZRZQER.js → LPRBDGKS.js} +2 -2
  125. package/dist/cdn/{JEAIZQR5.js → LPWROFFZ.js} +2 -2
  126. package/dist/cdn/{V7GCCEZ4.js → LS3OJPEQ.js} +2 -2
  127. package/dist/cdn/{FFBFGRBV.js → LT5Q4RQV.js} +2 -2
  128. package/dist/cdn/{5QV6I7FV.js → LVDK3R63.js} +2 -2
  129. package/dist/cdn/{X3OEZYDB.js → LXMBU6C4.js} +2 -2
  130. package/dist/cdn/{B4ALRVAY.js → MBT2Y65C.js} +2 -2
  131. package/dist/cdn/{M6A7ARZE.js → MBURJ225.js} +2 -2
  132. package/dist/cdn/{4CVSZIGS.js → ME7JC76E.js} +2 -2
  133. package/dist/cdn/{3AUHO4B3.js → MFQWGOUH.js} +2 -2
  134. package/dist/cdn/{UFNUYXHV.js → MKDLUDEC.js} +2 -2
  135. package/dist/cdn/MMSYIA4Z.js +4 -0
  136. package/dist/cdn/{NWTJYPLQ.js → MPJFYSKR.js} +2 -2
  137. package/dist/cdn/{L3EKPIOK.js → MY25WSLQ.js} +2 -2
  138. package/dist/cdn/{FOOEOXXP.js → MZ55F2QN.js} +2 -2
  139. package/dist/cdn/{LLT2KCGX.js → NB6BHH2K.js} +2 -2
  140. package/dist/cdn/{5M43ZF5J.js → NJ3GN67E.js} +2 -2
  141. package/dist/cdn/{YC4OSGNN.js → NNJR335U.js} +2 -2
  142. package/dist/cdn/{CPSZWBHT.js → NPRDZ2QX.js} +2 -2
  143. package/dist/cdn/{EWCOZ7HV.js → O3KONMT5.js} +2 -2
  144. package/dist/cdn/{G4KAWW4T.js → OA3M5PTH.js} +2 -2
  145. package/dist/cdn/{GX7EIJG6.js → OCKIANQL.js} +2 -2
  146. package/dist/cdn/{6M2WVLLN.js → OFFKYLYZ.js} +1 -1
  147. package/dist/cdn/{4N4SVMI3.js → OGBF7AGM.js} +2 -2
  148. package/dist/cdn/{VVOXMVAN.js → OMU6ZMXR.js} +2 -2
  149. package/dist/cdn/{IVCWTDWG.js → OOSL7E6X.js} +2 -2
  150. package/dist/cdn/{ZJNEXSB2.js → OQIL624Q.js} +2 -2
  151. package/dist/cdn/{HM3IBVF4.js → OQOTNESW.js} +2 -2
  152. package/dist/cdn/{HNW6Y5AT.js → P2PMOHD7.js} +2 -2
  153. package/dist/cdn/{FJMM3XXI.js → P6NV2CF3.js} +2 -2
  154. package/dist/cdn/{OZ7UBSZE.js → P7JIG67D.js} +2 -2
  155. package/dist/cdn/{FVV4WZTE.js → PR2CR77T.js} +2 -2
  156. package/dist/cdn/{OMHRHXBT.js → PU3SFKNQ.js} +2 -2
  157. package/dist/cdn/{ZEGBPWDM.js → Q2WF7UDV.js} +2 -2
  158. package/dist/cdn/{7LWQWOSH.js → QDSDZE7R.js} +2 -2
  159. package/dist/cdn/{6BO4VMZQ.js → QEK62B65.js} +2 -2
  160. package/dist/cdn/{ZNFP2MQR.js → QGWV5GTB.js} +2 -2
  161. package/dist/cdn/{EPIMR433.js → QHKGCXAS.js} +2 -2
  162. package/dist/cdn/{TEGNCGDB.js → QI4TEX2Q.js} +2 -2
  163. package/dist/cdn/{ENWQ7KQD.js → QLQPHIA3.js} +1 -1
  164. package/dist/cdn/{V46PVVTX.js → R4O2IFF4.js} +2 -2
  165. package/dist/cdn/{67DQ7XHR.js → RCPLZHWS.js} +2 -2
  166. package/dist/cdn/{NP5J4RVM.js → RFTJEIRL.js} +2 -2
  167. package/dist/cdn/{5YDSGET4.js → RGS67BLR.js} +2 -2
  168. package/dist/cdn/{UA7F4GZY.js → RNIHUS3T.js} +1 -1
  169. package/dist/cdn/{Q6PMA2XA.js → RYOZABXT.js} +2 -2
  170. package/dist/cdn/{56GUV7HY.js → RYR2LU45.js} +2 -2
  171. package/dist/cdn/{NON4B5X3.js → SAGTCWIE.js} +1 -1
  172. package/dist/cdn/{7PT5NAIC.js → SAHZEFKF.js} +2 -2
  173. package/dist/cdn/{R4V43N22.js → SDOA6EK4.js} +1 -1
  174. package/dist/cdn/{HIMMVLAS.js → SIKKYHIX.js} +2 -2
  175. package/dist/cdn/{WVCPV6IZ.js → SNUM7ZHF.js} +2 -2
  176. package/dist/cdn/{7UVECO22.js → SQFS5TR6.js} +1 -1
  177. package/dist/cdn/{RIB3E5LQ.js → SR4RF4VT.js} +2 -2
  178. package/dist/cdn/{7KEXTXQY.js → SRBW357S.js} +2 -2
  179. package/dist/cdn/{PLRNCWNU.js → SUBEFIUS.js} +2 -2
  180. package/dist/cdn/{QE7LX45E.js → TAEXKZGZ.js} +2 -2
  181. package/dist/cdn/{23SXTWSO.js → TK37BHRB.js} +2 -2
  182. package/dist/cdn/{TYDXYNAB.js → TLQYUCWU.js} +2 -2
  183. package/dist/cdn/{SL6D4472.js → TOKHPWAO.js} +2 -2
  184. package/dist/cdn/{RJJINO7V.js → TPHADLNS.js} +2 -2
  185. package/dist/cdn/{BRKSM3NZ.js → TPO5LUEN.js} +2 -2
  186. package/dist/cdn/{CHGBXAOP.js → TSALSBFF.js} +1 -1
  187. package/dist/cdn/{ZSQVHC52.js → TVVQFQ2R.js} +2 -2
  188. package/dist/cdn/{NN7FAH33.js → TX7KHAJA.js} +2 -2
  189. package/dist/cdn/{7CKVKAC3.js → U4VWLFNE.js} +2 -2
  190. package/dist/cdn/{4VZKFFTO.js → U62U7J4O.js} +2 -2
  191. package/dist/cdn/{W2ZGKP4C.js → U7RB6QUL.js} +2 -2
  192. package/dist/cdn/{DQT2GEW3.js → UEODAEWA.js} +2 -2
  193. package/dist/cdn/{SXIH56LD.js → ULCS2BIR.js} +2 -2
  194. package/dist/cdn/{B7VQZTA5.js → UOQSA6NK.js} +2 -2
  195. package/dist/cdn/{WMENENEH.js → UPUV52BM.js} +1 -1
  196. package/dist/cdn/{NOAOKIIM.js → V2UNSPBJ.js} +2 -2
  197. package/dist/cdn/{NYMAG3O5.js → VGVC2TDJ.js} +2 -2
  198. package/dist/cdn/{6KIPSADA.js → VHPJSHOG.js} +2 -2
  199. package/dist/cdn/{BFENPKFJ.js → VJNCYMJB.js} +2 -2
  200. package/dist/cdn/{H5AWB7HV.js → VLN2JUV2.js} +2 -2
  201. package/dist/cdn/{ZPP4DTXB.js → VLPTI7WZ.js} +2 -2
  202. package/dist/cdn/{GTCY45XK.js → VNSRC6SW.js} +2 -2
  203. package/dist/cdn/{SMIU3LFD.js → VQR7NS5F.js} +2 -2
  204. package/dist/cdn/{YKI2OSMU.js → VZNF6YFE.js} +2 -2
  205. package/dist/cdn/{K6TNFFKL.js → W45OTLI7.js} +2 -2
  206. package/dist/cdn/{JEA5FQUB.js → W47PCI4X.js} +2 -2
  207. package/dist/cdn/{YRSEZVAG.js → W6A235GO.js} +2 -2
  208. package/dist/cdn/{XZHJAOOC.js → W7XPZH6M.js} +2 -2
  209. package/dist/cdn/{EZH5XQ2X.js → WC5ZTWSM.js} +2 -2
  210. package/dist/cdn/{JDFJ3MGS.js → WETIVVMA.js} +2 -2
  211. package/dist/cdn/{5PN3SQ47.js → WH2C3FSY.js} +2 -2
  212. package/dist/cdn/{V6LX4LCN.js → WLSSJO5O.js} +2 -2
  213. package/dist/cdn/{3P2PZEXQ.js → WPLG43UF.js} +2 -2
  214. package/dist/cdn/{J47NOZXC.js → X2PVT26V.js} +2 -2
  215. package/dist/cdn/{IKSFUF6K.js → X3PFJXIY.js} +2 -2
  216. package/dist/cdn/{N7XTJYPB.js → X3QCEDZR.js} +2 -2
  217. package/dist/cdn/{B2FGXX5G.js → X57EIFZG.js} +2 -2
  218. package/dist/cdn/{JRH4LPP2.js → XEFMTI2A.js} +2 -2
  219. package/dist/cdn/{ZQIUYZHT.js → XETJUCRS.js} +2 -2
  220. package/dist/cdn/{SGFXZVXF.js → XMUCOVO7.js} +2 -2
  221. package/dist/cdn/{EHA7MMJO.js → XVB5ZF4V.js} +2 -2
  222. package/dist/cdn/{UKUEQDSW.js → XVOJNFSF.js} +2 -2
  223. package/dist/cdn/{R2MSJOQU.js → XVPQRCKH.js} +2 -2
  224. package/dist/cdn/{UTOKASIA.js → Y455D2AY.js} +2 -2
  225. package/dist/cdn/{A363VEFI.js → Y6G6L5QY.js} +2 -2
  226. package/dist/cdn/{MLDITMZ2.js → YCG62ME3.js} +2 -2
  227. package/dist/cdn/{BI5DTDN4.js → YGN3GIDG.js} +3 -3
  228. package/dist/cdn/{MMZQ2W24.js → YOQ74QTD.js} +2 -2
  229. package/dist/cdn/{4I5IHSNG.js → YSE2XXLA.js} +2 -2
  230. package/dist/cdn/{WTQ4O4ZB.js → YXHWTKXH.js} +2 -2
  231. package/dist/cdn/{7OAZYSAH.js → YYTJTFBY.js} +2 -2
  232. package/dist/cdn/{VNIA5MVK.js → YZ74H673.js} +2 -2
  233. package/dist/cdn/{MKQZQPSS.js → Z22DHJB6.js} +2 -2
  234. package/dist/cdn/{FVO2RHQM.js → Z4XS4IRJ.js} +2 -2
  235. package/dist/cdn/{FDRWHYBA.js → ZDE2YPDZ.js} +2 -2
  236. package/dist/cdn/{Y3F4AQOD.js → ZE6COODM.js} +2 -2
  237. package/dist/cdn/{NM5RZ2NE.js → ZQM6AWZR.js} +2 -2
  238. package/dist/cdn/{W2ITFWGC.js → ZZJLXUBE.js} +2 -2
  239. package/dist/cdn/index.js +2 -2
  240. package/dist/chunks/AnalysisViewModel.js +1 -1
  241. package/dist/chunks/action-utils.js +1 -1
  242. package/dist/chunks/async-utils.js +1 -1
  243. package/dist/chunks/basemap-gallery-resources.js +1 -1
  244. package/dist/chunks/building-layer-utils.js +1 -1
  245. package/dist/chunks/chart-utils.js +1 -1
  246. package/dist/chunks/chartCommon.js +1 -1
  247. package/dist/chunks/component-utils.js +1 -1
  248. package/dist/chunks/component-wrapper.js +1 -1
  249. package/dist/chunks/constants.js +1 -1
  250. package/dist/chunks/createCloseEvent.js +1 -1
  251. package/dist/chunks/esri-main.js +1 -1
  252. package/dist/chunks/feature-utils.js +1 -1
  253. package/dist/chunks/globalCss.js +1 -1
  254. package/dist/chunks/handle.js +1 -1
  255. package/dist/chunks/heading.js +1 -1
  256. package/dist/chunks/layer-list.js +1 -1
  257. package/dist/chunks/legacyIcon.js +1 -1
  258. package/dist/chunks/maybe.js +1 -1
  259. package/dist/chunks/measurementUtils.js +1 -1
  260. package/dist/chunks/runtime.js +1 -1
  261. package/dist/chunks/screenLocation.js +1 -1
  262. package/dist/chunks/slots.js +1 -1
  263. package/dist/chunks/svgUtils.js +1 -1
  264. package/dist/chunks/time-utils.js +1 -1
  265. package/dist/chunks/univariateUtils.js +1 -1
  266. package/dist/chunks/useArcgisViewReadyError.js +1 -1
  267. package/dist/chunks/useHandles.js +1 -1
  268. package/dist/chunks/useT9n.js +1 -1
  269. package/dist/chunks/useView.js +1 -1
  270. package/dist/chunks/useViewModel.js +1 -1
  271. package/dist/chunks/useWidget.js +1 -1
  272. package/dist/chunks/utils.js +1 -1
  273. package/dist/chunks/utils2.js +1 -1
  274. package/dist/chunks/visible-element.js +1 -1
  275. package/dist/components/arcgis-area-measurement-2d/customElement.js +1 -1
  276. package/dist/components/arcgis-area-measurement-3d/customElement.js +1 -1
  277. package/dist/components/arcgis-attachments/customElement.js +1 -1
  278. package/dist/components/arcgis-basemap-gallery/customElement.js +1 -1
  279. package/dist/components/arcgis-basemap-gallery-item/customElement.js +1 -1
  280. package/dist/components/arcgis-basemap-layer-list/customElement.d.ts +8 -8
  281. package/dist/components/arcgis-basemap-layer-list/customElement.js +1 -1
  282. package/dist/components/arcgis-basemap-toggle/customElement.js +1 -1
  283. package/dist/components/arcgis-bookmarks/customElement.js +1 -1
  284. package/dist/components/arcgis-building-discipline-tree/customElement.js +1 -1
  285. package/dist/components/arcgis-building-explorer/customElement.js +1 -1
  286. package/dist/components/arcgis-building-level-item/customElement.js +1 -1
  287. package/dist/components/arcgis-building-level-picker/customElement.js +1 -1
  288. package/dist/components/arcgis-building-phase-picker/customElement.js +1 -1
  289. package/dist/components/arcgis-catalog-layer-list/customElement.js +1 -1
  290. package/dist/components/arcgis-color-select/customElement.js +1 -1
  291. package/dist/components/arcgis-compass/customElement.js +1 -1
  292. package/dist/components/arcgis-coordinate-conversion/customElement.js +1 -1
  293. package/dist/components/arcgis-daylight/customElement.js +1 -1
  294. package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +1 -1
  295. package/dist/components/arcgis-directional-pad/customElement.js +1 -1
  296. package/dist/components/arcgis-directions/customElement.js +1 -1
  297. package/dist/components/arcgis-distance-measurement-2d/customElement.js +1 -1
  298. package/dist/components/arcgis-editor/customElement.d.ts +0 -11
  299. package/dist/components/arcgis-editor/customElement.js +1 -1
  300. package/dist/components/arcgis-elevation-profile/customElement.js +1 -1
  301. package/dist/components/arcgis-elevation-profile-legend/customElement.js +1 -1
  302. package/dist/components/arcgis-elevation-profile-legend-item/customElement.js +1 -1
  303. package/dist/components/arcgis-elevation-profile-settings/customElement.js +1 -1
  304. package/dist/components/arcgis-elevation-profile-statistics/customElement.js +1 -1
  305. package/dist/components/arcgis-expand/customElement.js +1 -1
  306. package/dist/components/arcgis-feature/customElement.js +1 -1
  307. package/dist/components/arcgis-feature-attachments/customElement.js +1 -1
  308. package/dist/components/arcgis-feature-content/customElement.js +1 -1
  309. package/dist/components/arcgis-feature-element-info/customElement.js +1 -1
  310. package/dist/components/arcgis-feature-expression/customElement.js +1 -1
  311. package/dist/components/arcgis-feature-fields/customElement.js +1 -1
  312. package/dist/components/arcgis-feature-form/customElement.js +1 -1
  313. package/dist/components/arcgis-feature-media/customElement.js +1 -1
  314. package/dist/components/arcgis-feature-relationship/customElement.js +1 -1
  315. package/dist/components/arcgis-feature-table/customElement.d.ts +1 -6
  316. package/dist/components/arcgis-feature-table/customElement.js +1 -1
  317. package/dist/components/arcgis-feature-templates/customElement.js +1 -1
  318. package/dist/components/arcgis-feature-utility-network-association-list/customElement.js +1 -1
  319. package/dist/components/arcgis-feature-utility-network-associations/customElement.js +1 -1
  320. package/dist/components/arcgis-features/customElement.d.ts +1 -5
  321. package/dist/components/arcgis-features/customElement.js +1 -1
  322. package/dist/components/arcgis-floor-filter/customElement.js +1 -1
  323. package/dist/components/arcgis-fullscreen/customElement.js +1 -1
  324. package/dist/components/arcgis-grid-controls/customElement.js +1 -1
  325. package/dist/components/arcgis-histogram-range-slider/customElement.js +1 -1
  326. package/dist/components/arcgis-home/customElement.js +1 -1
  327. package/dist/components/arcgis-labeled-switch/customElement.js +1 -1
  328. package/dist/components/arcgis-layer-list/customElement.d.ts +8 -8
  329. package/dist/components/arcgis-layer-list/customElement.js +1 -1
  330. package/dist/components/arcgis-layer-list-item/customElement.js +1 -1
  331. package/dist/components/arcgis-legend/customElement.js +1 -1
  332. package/dist/components/arcgis-legend-card-color-ramp/customElement.js +1 -1
  333. package/dist/components/arcgis-legend-card-element/customElement.js +1 -1
  334. package/dist/components/arcgis-legend-card-size-ramp/customElement.js +1 -1
  335. package/dist/components/arcgis-legend-card-univariate-above-and-below-ramp/customElement.js +1 -1
  336. package/dist/components/arcgis-legend-card-univariate-color-size-ramp/customElement.js +1 -1
  337. package/dist/components/arcgis-legend-card-view/customElement.js +1 -1
  338. package/dist/components/arcgis-legend-classic-color-ramp/customElement.js +1 -1
  339. package/dist/components/arcgis-legend-classic-element/customElement.js +1 -1
  340. package/dist/components/arcgis-legend-classic-size-ramp/customElement.js +1 -1
  341. package/dist/components/arcgis-legend-classic-univariate-above-and-below-ramp/customElement.js +1 -1
  342. package/dist/components/arcgis-legend-classic-univariate-color-size-ramp/customElement.js +1 -1
  343. package/dist/components/arcgis-legend-classic-view/customElement.js +1 -1
  344. package/dist/components/arcgis-legend-relationship-ramp/customElement.js +1 -1
  345. package/dist/components/arcgis-legend-spike-ramp/customElement.js +1 -1
  346. package/dist/components/arcgis-line-of-sight/customElement.js +1 -1
  347. package/dist/components/arcgis-link-chart/customElement.d.ts +0 -2
  348. package/dist/components/arcgis-link-chart/customElement.js +1 -1
  349. package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +1 -1
  350. package/dist/components/arcgis-locate/customElement.js +1 -1
  351. package/dist/components/arcgis-map/customElement.d.ts +0 -4
  352. package/dist/components/arcgis-map/customElement.js +1 -1
  353. package/dist/components/arcgis-measurement/customElement.js +1 -1
  354. package/dist/components/arcgis-measurement-content/customElement.js +1 -1
  355. package/dist/components/arcgis-navigation-toggle/customElement.js +1 -1
  356. package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +1 -1
  357. package/dist/components/arcgis-placement/customElement.js +1 -1
  358. package/dist/components/arcgis-popup/customElement.js +1 -1
  359. package/dist/components/arcgis-presentation/PresentationViewModel.d.ts +2 -2
  360. package/dist/components/arcgis-presentation/customElement.js +2 -2
  361. package/dist/components/arcgis-print/customElement.d.ts +1 -1
  362. package/dist/components/arcgis-print/customElement.js +1 -1
  363. package/dist/components/arcgis-print-custom-text-elements/customElement.js +1 -1
  364. package/dist/components/arcgis-print-dpi-input/customElement.js +1 -1
  365. package/dist/components/arcgis-print-export-button/customElement.js +1 -1
  366. package/dist/components/arcgis-print-exports-panel/customElement.js +1 -1
  367. package/dist/components/arcgis-print-format-select/customElement.js +1 -1
  368. package/dist/components/arcgis-print-layout-advanced-options/customElement.js +1 -1
  369. package/dist/components/arcgis-print-layout-panel/customElement.js +1 -1
  370. package/dist/components/arcgis-print-main-panel/customElement.js +1 -1
  371. package/dist/components/arcgis-print-map-only-advanced-options/customElement.js +1 -1
  372. package/dist/components/arcgis-print-map-only-panel/customElement.js +1 -1
  373. package/dist/components/arcgis-print-out-spatial-reference-input/customElement.js +1 -1
  374. package/dist/components/arcgis-print-preview-input/customElement.js +1 -1
  375. package/dist/components/arcgis-print-scale-section/customElement.js +1 -1
  376. package/dist/components/arcgis-print-template-select/customElement.js +1 -1
  377. package/dist/components/arcgis-print-template-selector/customElement.js +1 -1
  378. package/dist/components/arcgis-scale-bar/customElement.js +1 -1
  379. package/dist/components/arcgis-scale-range-slider/customElement.js +1 -1
  380. package/dist/components/arcgis-scene/customElement.js +1 -1
  381. package/dist/components/arcgis-search/customElement.js +1 -1
  382. package/dist/components/arcgis-search-result-renderer/customElement.js +1 -1
  383. package/dist/components/arcgis-shadow-cast/customElement.js +1 -1
  384. package/dist/components/arcgis-shadow-cast-discrete-config/customElement.js +1 -1
  385. package/dist/components/arcgis-shadow-cast-min-duration-config/customElement.js +1 -1
  386. package/dist/components/arcgis-shadow-cast-total-duration-config/customElement.js +1 -1
  387. package/dist/components/arcgis-sketch/customElement.d.ts +0 -4
  388. package/dist/components/arcgis-sketch/customElement.js +1 -1
  389. package/dist/components/arcgis-slice/customElement.js +1 -1
  390. package/dist/components/arcgis-spinner/customElement.js +1 -1
  391. package/dist/components/arcgis-swipe/customElement.js +1 -1
  392. package/dist/components/arcgis-table-list/customElement.d.ts +7 -7
  393. package/dist/components/arcgis-table-list/customElement.js +1 -1
  394. package/dist/components/arcgis-time-slider/customElement.js +1 -1
  395. package/dist/components/arcgis-time-zone-label/customElement.js +1 -1
  396. package/dist/components/arcgis-track/customElement.js +1 -1
  397. package/dist/components/arcgis-unit-select/customElement.js +1 -1
  398. package/dist/components/arcgis-utility-network-association-list/customElement.js +1 -1
  399. package/dist/components/arcgis-utility-network-associations/customElement.js +1 -1
  400. package/dist/components/arcgis-utility-network-subnetwork-info/customElement.js +1 -1
  401. package/dist/components/arcgis-utility-network-trace/customElement.js +1 -1
  402. package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +1 -1
  403. package/dist/components/arcgis-utility-network-trace-inputs/customElement.js +1 -1
  404. package/dist/components/arcgis-utility-network-trace-location/customElement.js +1 -1
  405. package/dist/components/arcgis-utility-network-trace-location-list/customElement.js +1 -1
  406. package/dist/components/arcgis-utility-network-trace-results/customElement.js +1 -1
  407. package/dist/components/arcgis-utility-network-validate-topology/customElement.js +1 -1
  408. package/dist/components/arcgis-value-picker/customElement.js +1 -1
  409. package/dist/components/arcgis-version-management/customElement.js +1 -1
  410. package/dist/components/arcgis-version-management-service-item/customElement.js +1 -1
  411. package/dist/components/arcgis-version-management-version-list/customElement.js +1 -1
  412. package/dist/components/arcgis-version-management-version-properties/customElement.js +1 -1
  413. package/dist/components/arcgis-video/customElement.js +1 -1
  414. package/dist/components/arcgis-video-player/customElement.js +1 -1
  415. package/dist/components/arcgis-video-player-action-bar/customElement.js +1 -1
  416. package/dist/components/arcgis-video-player-actions-group/customElement.js +1 -1
  417. package/dist/components/arcgis-video-player-controls-group/customElement.js +1 -1
  418. package/dist/components/arcgis-video-player-metadata/customElement.js +1 -1
  419. package/dist/components/arcgis-video-player-settings/customElement.js +1 -1
  420. package/dist/components/arcgis-video-player-slider/customElement.js +1 -1
  421. package/dist/components/arcgis-volume-measurement/customElement.js +1 -1
  422. package/dist/components/arcgis-weather/customElement.js +1 -1
  423. package/dist/components/arcgis-zoom/customElement.js +1 -1
  424. package/dist/docs/api.json +59 -177
  425. package/dist/docs/docs.json +34 -145
  426. package/dist/docs/vscode.html-custom-data.json +23 -23
  427. package/dist/docs/web-types.json +47 -47
  428. package/dist/index.js +1 -1
  429. package/dist/loader.js +1 -1
  430. package/package.json +3 -3
  431. package/dist/cdn/ECSYLLLL.js +0 -4
  432. package/dist/cdn/EI6K722A.js +0 -4
  433. package/dist/cdn/OC7A2DYE.js +0 -4
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.101 */
4
- import"./BRITVT2J.js";var o={_decimalSeparator:".",_thousandSeparator:",",_percentPrefix:null,_percentSuffix:"%",_date_millisecond:"mm:ss SSS",_date_millisecond_full:"HH:mm:ss SSS",_date_second:"hh:mm:ss a",_date_second_full:"hh:mm:ss a",_date_minute:"hh:mm a",_date_minute_full:"hh:mm a - MMM dd, yyyy",_date_hour:"hh:mm a",_date_hour_short:"hhaaa",_date_hour_full:"hh:mm a - MMM dd, yyyy",_date_day:"MMM dd",_date_day_full:"MMM dd, yyyy",_date_week:"ww",_date_week_full:"MMM dd, yyyy",_date_month:"MMM",_date_month_full:"MMM, yyyy",_date_year:"yyyy",_duration_millisecond:"SSS",_duration_second:"ss",_duration_minute:"mm",_duration_hour:"hh",_duration_day:"dd",_duration_week:"ww",_duration_month:"MM",_duration_year:"yyyy",_era_ad:"AD",_era_bc:"BC",A:"",P:"",AM:"",PM:"","A.M.":"","P.M.":"",January:"",February:"",March:"",April:"",May:"",June:"",July:"",August:"",September:"",October:"",November:"",December:"",Jan:"",Feb:"",Mar:"",Apr:"","May(short)":"May",Jun:"",Jul:"",Aug:"",Sep:"",Oct:"",Nov:"",Dec:"",Sunday:"",Monday:"",Tuesday:"",Wednesday:"",Thursday:"",Friday:"",Saturday:"",Sun:"",Mon:"",Tue:"",Wed:"",Thu:"",Fri:"",Sat:"",_dateOrd:function(a){let e="th";if(a<11||a>13)switch(a%10){case 1:e="st";break;case 2:e="nd";break;case 3:e="rd";break}return e},Play:"",Stop:"","Zoom Out":"",Legend:"","Press ENTER to toggle":"",Loading:"",Home:"",Chart:"","Serial chart":"","X/Y chart":"","Pie chart":"","Gauge chart":"","Radar chart":"","Sankey diagram":"","Chord diagram":"","Flow diagram":"","TreeMap chart":"",Series:"","Candlestick Series":"","Column Series":"","Line Series":"","Pie Slice Series":"","X/Y Series":"",Map:"","Press ENTER to zoom in":"","Press ENTER to zoom out":"","Use arrow keys to zoom in and out":"","Use plus and minus keys on your keyboard to zoom in and out":"",Export:"",Image:"",Data:"",Print:"","Press ENTER to open":"","Press ENTER to print.":"","Press ENTER to export as %1.":"","(Press ESC to close this message)":"","Image Export Complete":"","Export operation took longer than expected. Something might have gone wrong.":"","Saved from":"",PNG:"",JPG:"",GIF:"",SVG:"",PDF:"",JSON:"",CSV:"",XLSX:"",HTML:"","Use TAB to select grip buttons or left and right arrows to change selection":"","Use left and right arrows to move selection":"","Use left and right arrows to move left selection":"","Use left and right arrows to move right selection":"","Use TAB select grip buttons or up and down arrows to change selection":"","Use up and down arrows to move selection":"","Use up and down arrows to move lower selection":"","Use up and down arrows to move upper selection":"","From %1 to %2":"","From %1":"","To %1":"","No parser available for file: %1":"","Error parsing file: %1":"","Unable to load file: %1":"","Invalid date":"",Close:"",Minimize:"",Confirm:""};export{o as default};
3
+ v5.0.0-next.103 */
4
+ import"./4OQQ5EMA.js";var o={_decimalSeparator:".",_thousandSeparator:",",_percentPrefix:null,_percentSuffix:"%",_date_millisecond:"mm:ss SSS",_date_millisecond_full:"HH:mm:ss SSS",_date_second:"hh:mm:ss a",_date_second_full:"hh:mm:ss a",_date_minute:"hh:mm a",_date_minute_full:"hh:mm a - MMM dd, yyyy",_date_hour:"hh:mm a",_date_hour_short:"hhaaa",_date_hour_full:"hh:mm a - MMM dd, yyyy",_date_day:"MMM dd",_date_day_full:"MMM dd, yyyy",_date_week:"ww",_date_week_full:"MMM dd, yyyy",_date_month:"MMM",_date_month_full:"MMM, yyyy",_date_year:"yyyy",_duration_millisecond:"SSS",_duration_second:"ss",_duration_minute:"mm",_duration_hour:"hh",_duration_day:"dd",_duration_week:"ww",_duration_month:"MM",_duration_year:"yyyy",_era_ad:"AD",_era_bc:"BC",A:"",P:"",AM:"",PM:"","A.M.":"","P.M.":"",January:"",February:"",March:"",April:"",May:"",June:"",July:"",August:"",September:"",October:"",November:"",December:"",Jan:"",Feb:"",Mar:"",Apr:"","May(short)":"May",Jun:"",Jul:"",Aug:"",Sep:"",Oct:"",Nov:"",Dec:"",Sunday:"",Monday:"",Tuesday:"",Wednesday:"",Thursday:"",Friday:"",Saturday:"",Sun:"",Mon:"",Tue:"",Wed:"",Thu:"",Fri:"",Sat:"",_dateOrd:function(a){let e="th";if(a<11||a>13)switch(a%10){case 1:e="st";break;case 2:e="nd";break;case 3:e="rd";break}return e},Play:"",Stop:"","Zoom Out":"",Legend:"","Press ENTER to toggle":"",Loading:"",Home:"",Chart:"","Serial chart":"","X/Y chart":"","Pie chart":"","Gauge chart":"","Radar chart":"","Sankey diagram":"","Chord diagram":"","Flow diagram":"","TreeMap chart":"",Series:"","Candlestick Series":"","Column Series":"","Line Series":"","Pie Slice Series":"","X/Y Series":"",Map:"","Press ENTER to zoom in":"","Press ENTER to zoom out":"","Use arrow keys to zoom in and out":"","Use plus and minus keys on your keyboard to zoom in and out":"",Export:"",Image:"",Data:"",Print:"","Press ENTER to open":"","Press ENTER to print.":"","Press ENTER to export as %1.":"","(Press ESC to close this message)":"","Image Export Complete":"","Export operation took longer than expected. Something might have gone wrong.":"","Saved from":"",PNG:"",JPG:"",GIF:"",SVG:"",PDF:"",JSON:"",CSV:"",XLSX:"",HTML:"","Use TAB to select grip buttons or left and right arrows to change selection":"","Use left and right arrows to move selection":"","Use left and right arrows to move left selection":"","Use left and right arrows to move right selection":"","Use TAB select grip buttons or up and down arrows to change selection":"","Use up and down arrows to move selection":"","Use up and down arrows to move lower selection":"","Use up and down arrows to move upper selection":"","From %1 to %2":"","From %1":"","To %1":"","No parser available for file: %1":"","Error parsing file: %1":"","Unable to load file: %1":"","Invalid date":"",Close:"",Minimize:"",Confirm:""};export{o as default};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.101 */
4
- import{a as p,e as $}from"./A7QBBGVJ.js";import{a as u}from"./FNELY53E.js";import i from"./DXI4HXRP.js";import f from"./OIN2ZTS3.js";import"./NMJ4TRCR.js";import{a as v}from"./A363VEFI.js";import"./MXY4MYS7.js";import e from"./SGFXZVXF.js";import{a as C}from"./LLT2KCGX.js";import{a as g}from"./7UVECO22.js";import d from"./G4KAWW4T.js";import a from"./22JOJMPS.js";import{g as _}from"./R2MSJOQU.js";import"./VEJGGFUF.js";import"./R4V43N22.js";import"./NON4B5X3.js";import{N as x,O as h,Q as b,T as y,a as w,b as c,x as D}from"./6M2WVLLN.js";import"./BRITVT2J.js";export default $arcgis.t(([P,{property:a,subclass:V},{watch:E,whenOnce:L},{forceInteractive:A},,,M,,O])=>{var R=w`.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}.esri-widget{--esri-widget-padding-x: 15px;--esri-widget-padding-y: var(--calcite-spacing-md);--esri-widget-padding: var(--esri-widget-padding-y) var(--esri-widget-padding-x);box-sizing:border-box;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget *,.esri-widget :before,.esri-widget :after{box-sizing:inherit}.esri-widget.esri-widget--disabled>*{opacity:.4;pointer-events:none}.esri-widget.esri-widget--compact{--esri-widget-padding-y: 0;--esri-widget-padding-x: 0}.esri-widget__anchor{color:var(--calcite-color-text-2)}.esri-widget__anchor:hover{color:var(--calcite-color-text-3)}.esri-widget__anchor:hover,.esri-widget__anchor:focus{text-decoration:underline}.esri-widget__anchor--disabled{opacity:.4;pointer-events:none}.esri-widget__header{background-color:var(--calcite-color-foreground-1);flex:1 0 100%;justify-content:space-between;align-items:center;width:100%;min-height:48px;padding:12px 0 12px 15px;display:flex}.esri-widget__header .esri-widget__heading{width:calc(100% - 48px);text-align:initial;color:var(--calcite-color-text-1);align-items:center;margin:0;padding:0;display:flex}.esri-widget__header-button{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);border:none;flex:0 0 48px;justify-content:center;align-self:stretch;align-items:center;width:48px;padding:0;display:flex}.esri-widget__footer{background-color:var(--calcite-color-foreground-1);justify-content:center;align-items:center;width:100%;min-height:48px;display:flex}.esri-widget__footer-pagination{color:var(--calcite-color-text-2);justify-content:space-between;align-items:center;display:flex}.esri-widget__footer-pagination-previous-button,.esri-widget__footer-pagination-next-button{cursor:pointer;background-color:var(--calcite-color-foreground-1);border:0;margin:0 7px;padding:12px 15px;transition:background-color .125s ease-in-out}.esri-widget__footer-pagination-previous-button:hover,.esri-widget__footer-pagination-previous-button:focus,.esri-widget__footer-pagination-next-button:hover,.esri-widget__footer-pagination-next-button:focus{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1)}.esri-menu{visibility:hidden;z-index:1;background-clip:padding;background-color:var(--calcite-color-foreground-1);background-clip:padding-box;width:100%;max-height:0;margin:2px 0 0;padding:0;font-size:var(--calcite-font-size);line-height:var(--calcite-spacing-xl);position:absolute;top:100%;left:0;overflow:hidden;box-shadow:0 1px 2px #0000004d}.esri-menu .esri-menu__header{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-inverse);padding:6px 12px}.esri-menu__list{margin:0;padding:0;list-style:none}.esri-menu__list-item{cursor:pointer;border-top:1px solid #adadad4d;border-left:3px solid #0000;padding:.8em 1em}.esri-menu__list-item [class^=esri-icon-],.esri-menu__list-item [class*=" esri-icon-"]{padding-right:2.8px}.esri-menu__list-item:first-child{border-top:none}.esri-menu__list-item--focus,.esri-menu__list-item:hover,.esri-menu__list-item:focus{background-color:var(--calcite-color-foreground-1)}.esri-menu__list-item:active{background-color:var(--calcite-color-foreground-current)}.esri-menu__list-item--active,.esri-menu__list-item--active:hover,.esri-menu__list-item--active:focus{background-color:var(--calcite-color-foreground-1);border-left-color:var(--calcite-color-brand)}.esri-widget__table{border-collapse:collapse;color:var(--calcite-color-text-1);border:none;width:100%;line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget__table tr:nth-child(odd){background-color:var(--calcite-color-transparent)}.esri-widget__table tr:nth-child(2n){background-color:var(--calcite-color-transparent-press)}.esri-widget__table tr a{color:var(--calcite-color-text-2)}.esri-widget__table tr a:hover,.esri-widget__table tr a:focus{color:var(--calcite-color-text-1)}.esri-widget__table tr td,.esri-widget__table tr th{vertical-align:top;word-break:break-word;padding:.5em .7em;font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular)}.esri-widget__table tr th{text-align:left;border-right:3px solid #0000000d;width:50%}.esri-widget__table tr td{width:50%}.esri-input{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1);border:1px solid #959595;font-size:var(--calcite-font-size)}.esri-input::-ms-clear{display:none}.esri-input::placeholder{opacity:1;color:var(--calcite-color-text-2)}.esri-input:placeholder-shown{text-overflow:ellipsis}.esri-input[type=text],.esri-input[type=password],.esri-input[type=number]{height:32px;padding:0 .5em}calcite-combobox.esri-input{border:none}.esri-widget__content--empty{text-align:center;color:var(--calcite-color-border-input);flex-flow:column wrap;align-items:center;padding:18px 22px;display:flex}.esri-widget__content--empty h1.esri-widget__heading,.esri-widget__content--empty h2.esri-widget__heading,.esri-widget__content--empty h3.esri-widget__heading,.esri-widget__content--empty h4.esri-widget__heading,.esri-widget__content--empty h5.esri-widget__heading{font-weight:var(--calcite-font-weight-regular)}.esri-widget__content-illustration--empty{width:128px;padding:1rem 0}.esri-widget__content-icon--empty{width:32px;padding:.5rem 0}.esri-select{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background:var(--calcite-color-foreground-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -8 32 32' width='32' height='32'%3E%3Cpath d='M8 11.207l-4-4V5.793l4 4 4-4v1.414z' fill='%23adadad' fillrule='nonzero'/%3E%3C/svg%3E") 100% no-repeat;border:1px solid #959595;border-radius:0;width:100%;height:32px;margin:0;padding:0 .5em;font-family:inherit;font-size:.85em;display:block}.esri-select[disabled]{cursor:auto}.esri-select::-ms-expand{display:none}.esri-disabled a,.esri-disabled [role=menu],.esri-disabled [role=checkbox],.esri-disabled [class^=esri-icon-],.esri-disabled [class*=" esri-icon-"]{color:var(--calcite-color-text-3)}.keynav-mode .esri-widget:focus,.keynav-mode .esri-widget :focus{z-index:1;outline-offset:2px;outline:2px solid #adadad}.esri-widget__loader-animation{border:.15em solid #adadad4d;border-top-color:var(--calcite-color-border-input);border-radius:100%;width:1em;height:1em;font-size:var(--calcite-font-size-md);animation:1.25s linear infinite esri-rotate;display:block;transform:translateZ(0)}:dir(rtl) .esri-widget__table th{text-align:right;border-left:3px solid #0000000d;border-right:none}:dir(rtl) .esri-select{background-position:0}:dir(rtl) .esri-menu__list-item{border-left:none;border-right:3px solid #0000}:dir(rtl) .esri-menu__list-item [class^=esri-icon-],:dir(rtl) .esri-menu__list-item [class*=" esri-icon-"]{padding-left:2px;padding-right:0}:dir(rtl) .esri-menu__list-item--active{border-right-color:var(--calcite-color-brand)}.esri-icon-font-fallback-text{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.esri-rotating{animation:1.25s linear infinite esri-rotate;transform:translateZ(0)}.esri-clearfix:before,.esri-clearfix:after{content:" ";display:table}.esri-clearfix:after{clear:both}.esri-interactive{cursor:pointer}.esri-hidden{display:none!important}.esri-invisible{visibility:hidden!important}.esri-offscreen{position:absolute;top:-999em;left:-999em}.esri-match-height{flex-direction:column;flex:auto;display:flex;overflow:hidden}.esri-widget--panel{min-width:300px;min-height:32px;padding:var(--esri-widget-padding);transition:max-height .25s ease-in-out;overflow-y:auto}:host{position:relative;overflow:hidden;width:300px;padding:var(--esri-widget-padding)}.container{display:flex;flex-direction:column;gap:var(--calcite-spacing-lg)}.time-range-section calcite-label:last-child,.visualization-options-section:last-child{--calcite-label-margin-bottom: 0}.date-picker{flex-grow:1;display:block}.visualization-options{flex-direction:column;display:flex;gap:var(--calcite-spacing-md)}.hidden-config{display:none}`,j=Object.defineProperty,H=Object.getOwnPropertyDescriptor,r=(i,t,n,s)=>{for(var e=s>1?void 0:s?H(t,n):t,l=i.length-1,d;l>=0;l--)(d=i[l])&&(e=(s?d(t,n,e):d(e))||e);return s&&e&&j(t,n,e),e},k=Symbol("interactiveHandle"),o=class extends O{constructor(){super(...arguments),this.supportedViewType="3d",this.unsupportedErrorMessage="The Shadow Cast component is only supported in 3D views.",this.shouldForceInteractive=!1,this.minMinDuration=0,this.maxMinDuration=p(8,"hours","milliseconds"),this.hideShadowDurationTooltip=!1}constructAnalysis(){return new P}initialize(){this.addHandles(E(()=>({analysisView:this.analysisView,tooltipVisible:!this.hideShadowDurationTooltip}),({analysisView:i,tooltipVisible:t})=>{this.removeHandles(k),i&&(i.interactive=t,t&&this.addHandles(A(i),k))},{sync:!0,initial:!0}))}get date(){return this.analysis.date}set date(i){this.analysis.date=i}get discreteColor(){return this.analysis.discreteOptions.color}set discreteColor(i){this.analysis.discreteOptions.color=i}get discreteInterval(){return this.analysis.discreteOptions.interval}set discreteInterval(i){this.analysis.discreteOptions.interval=i}get totalDurationColor(){return this.analysis.totalDurationOptions.color}set totalDurationColor(i){this.analysis.totalDurationOptions.color=i}get totalDurationMode(){return this.analysis.totalDurationOptions.mode}set totalDurationMode(i){this.analysis.totalDurationOptions.mode=i}get localDate(){return $(this.view)}get mode(){return this.analysis.mode}set mode(i){this.analysis.mode=i}get startTimeOfDay(){return this.analysis.startTimeOfDay}set startTimeOfDay(i){this.analysis.startTimeOfDay=i}get endTimeOfDay(){return this.analysis.endTimeOfDay}set endTimeOfDay(i){this.analysis.endTimeOfDay=i}get state(){return this.view?.ready&&this.analysisView?"ready":"disabled"}get minDurationColor(){return this.analysis.minDurationOptions.color}set minDurationColor(i){this.analysis.minDurationOptions.color=i}get minDuration(){return this.analysis.minDurationOptions.minDuration}set minDuration(i){this.analysis.minDurationOptions.minDuration=i}get minDurationContextEnabled(){return this.analysis.minDurationOptions.contextEnabled}set minDurationContextEnabled(i){this.analysis.minDurationOptions.contextEnabled=i}get minDurationContextColor(){return this.analysis.minDurationOptions.contextOptions.color}set minDurationContextColor(i){this.analysis.minDurationOptions.contextOptions.color=i}get minDurationContextInterval(){return this.analysis.minDurationOptions.contextOptions.interval}set minDurationContextInterval(i){this.analysis.minDurationOptions.contextOptions.interval=i}get utcOffset(){return this.analysis.utcOffset}set utcOffset(i){this.analysis.utcOffset=i}async getDurationAtScreen(i){return await(await L(()=>this.analysisView)).getDurationAtScreen(i)}};r([a()],o.prototype,"date",1);r([a()],o.prototype,"discreteColor",1);r([a()],o.prototype,"discreteInterval",1);r([a()],o.prototype,"totalDurationColor",1);r([a()],o.prototype,"totalDurationMode",1);r([a()],o.prototype,"localDate",1);r([a()],o.prototype,"mode",1);r([a()],o.prototype,"startTimeOfDay",1);r([a()],o.prototype,"endTimeOfDay",1);r([a()],o.prototype,"state",1);r([a()],o.prototype,"minDurationColor",1);r([a()],o.prototype,"minMinDuration",2);r([a()],o.prototype,"maxMinDuration",2);r([a()],o.prototype,"minDuration",1);r([a()],o.prototype,"minDurationContextEnabled",1);r([a()],o.prototype,"minDurationContextColor",1);r([a()],o.prototype,"minDurationContextInterval",1);r([a()],o.prototype,"utcOffset",1);r([a()],o.prototype,"hideShadowDurationTooltip",2);o=r([V("components.shadow-cast.ShadowCastViewModel")],o);var T=Math.round(p(1,"minutes","milliseconds")),m=Math.round(p(1,"hours","milliseconds")),F=M(o),f=class extends x{constructor(){super(...arguments),this.viewModel=F(this),this.messages=C(),this.#i="s",this.analysis=this.viewModel.analysis,this.view=this.viewModel.view,this.autoDestroyDisabled=!1,this.endTimeOfDay=this.viewModel.endTimeOfDay,this.headingLevel=4,this.hideTimeRangeSlider=!1,this.hideTimezone=!1,this.hideDatePicker=!1,this.hideShadowDurationTooltip=this.viewModel.hideShadowDurationTooltip,this.hideVisualization=this.viewModel.hideVisualization,this.hideVisualizationOptions=!1,this.hideDiscreteOptions=!1,this.hideDiscreteColorPicker=!1,this.hideDiscreteInterval=!1,this.hideTotalDurationOptions=!1,this.hideTotalDurationColorPicker=!1,this.hideTotalDurationModeSelect=!1,this.hideMinDurationOptions=!1,this.hideMinDurationColorPicker=!1,this.hideMinDurationSlider=!1,this.hideMinDurationContextOptions=!1,this.hideMinDurationContextToggle=!1,this.hideMinDurationContextColorPicker=!1,this.hideMinDurationContextInterval=!1,this.icon="measure-building-height-shadow",this.mode=this.viewModel.mode,this.startTimeOfDay=this.viewModel.startTimeOfDay,this.state=this.viewModel.state,this.utcOffset=this.viewModel.utcOffset,this.discreteColor=this.viewModel.discreteColor,this.discreteInterval=this.viewModel.discreteInterval,this.totalDurationColor=this.viewModel.totalDurationColor,this.totalDurationMode=this.viewModel.totalDurationMode,this.minDuration=this.viewModel.minDuration,this.minDurationColor=this.viewModel.minDurationColor,this.minMinDuration=this.viewModel.minMinDuration,this.maxMinDuration=this.viewModel.maxMinDuration,this.minDurationContextEnabled=this.viewModel.minDurationContextEnabled,this.minDurationContextColor=this.viewModel.minDurationContextColor,this.minDurationContextInterval=this.viewModel.minDurationContextInterval,this.arcgisPropertyChange=_()("state"),this.arcgisReady=D()}static{this.properties={analysis:0,view:0,autoDestroyDisabled:5,date:1,endTimeOfDay:9,headingLevel:9,hideTimeRangeSlider:5,hideTimezone:5,hideDatePicker:5,hideShadowDurationTooltip:5,hideVisualization:5,hideVisualizationOptions:5,hideDiscreteOptions:5,hideDiscreteColorPicker:5,hideDiscreteInterval:5,hideTotalDurationOptions:5,hideTotalDurationColorPicker:5,hideTotalDurationModeSelect:5,hideMinDurationOptions:5,hideMinDurationColorPicker:5,hideMinDurationSlider:5,hideMinDurationContextOptions:5,hideMinDurationContextToggle:5,hideMinDurationContextColorPicker:5,hideMinDurationContextInterval:5,icon:2,label:1,mode:1,position:1,referenceElement:1,startTimeOfDay:9,state:3,utcOffset:9,discreteColor:0,discreteInterval:9,totalDurationColor:0,totalDurationMode:1,minDuration:9,minDurationColor:0,minMinDuration:9,maxMinDuration:9,minDurationContextEnabled:5,minDurationContextColor:0,minDurationContextInterval:9}}static{this.styles=R}#i;get date(){return this.viewModel.date}set date(t){this.viewModel.date=t}async destroy(){await this.manager.destroy()}async getDurationAtScreen(t){return await this.viewModel.getDurationAtScreen(t)}render(){return c`<div aria-label=${this.messages.componentLabel??b} class=${h({container:!0,[g.widget]:!0,[g.widgetDisabled]:this.viewModel.state==="disabled",[g.panel]:!0})} role=presentation>${this._renderTimeRangeSection()}${u({hidden:this.hideVisualizationOptions,children:this._renderVisualizationOptionsSection()})}</div>`}_renderTimeRangeSection(){if(this.hideTimeRangeSlider&&this.hideDatePicker)return;let{messages:t,utcOffset:n,viewModel:s}=this,e=this.#i;return c`<section class="time-range-section">${v({level:this.headingLevel,children:t.timeRangeHeading})}${u({hidden:this.hideTimeRangeSlider,children:this._renderTimeRange()})}${u({hidden:this.hideTimezone,children:c`<calcite-label .scale=${e}>${t.timezoneLabel}<calcite-input-time-zone mode=offset overlay-positioning=fixed .referenceDate=${s.localDate} .scale=${e} .value=${`${p(n??0,"hours","minutes")}`} @calciteInputTimeZoneChange=${l=>{s.utcOffset=+l.target.value/60}}></calcite-input-time-zone></calcite-label>`})}${u({hidden:this.hideDatePicker,children:c`<calcite-label .scale=${e}>${t.dateLabel}<calcite-input-date-picker overlay-positioning=fixed placement=bottom .scale=${e} .valueAsDate=${s.date} @calciteInputDatePickerChange=${l=>{let d=l.currentTarget.valueAsDate;s.date=Array.isArray(d)?d[0]:d}}></calcite-input-date-picker></calcite-label>`})}</section>`}_renderTimeRange(){let{viewModel:t}=this;return c`<calcite-slider fill-placement=end .labelFormatter=${(n,s)=>{let e=Math.floor(n/m),l=Math.round(n%m/T);return s==="tick"?e%6!==0||l!==0?"":e.toFixed():`${e.toFixed(0).padStart(2,"0")}:${l.toFixed(0).padStart(2,"0")}`}} label-handles label-ticks min=0 .max=${m*24} .step=${T} .scale=${this.#i} .ticks=${m} .value=${[this.startTimeOfDay,this.endTimeOfDay]} @calciteSliderInput=${n=>{let[s,e]=n.currentTarget.value;t.startTimeOfDay=s,t.endTimeOfDay=e}}></calcite-slider>`}_renderVisualizationOptionsSection(){let{headingLevel:t,messages:n,viewModel:s}=this,e=(S,I)=>s.mode===S&&!I?void 0:"hidden-config",{discreteOptions:l,totalDurationOptions:d,minDurationOptions:z}=this.analysis;return c`<section class="visualization-options-section">${v({level:t,children:n.visualizationLabel})}<div class="visualization-options">${this._renderModeSelect()}<div class=${h(e("min-duration",this.hideMinDurationOptions))}><arcgis-shadow-cast-min-duration-config .hideColorPicker=${this.hideMinDurationColorPicker} .hideContextColorPicker=${this.hideMinDurationContextColorPicker} .hideContextInterval=${this.hideMinDurationContextInterval} .hideContextOptions=${this.hideMinDurationContextOptions} .hideContextToggle=${this.hideMinDurationContextToggle} .hideSlider=${this.hideMinDurationSlider} .minMinDuration=${this.minMinDuration} .maxMinDuration=${this.maxMinDuration} .messages=${n} .options=${z} .scale=${this.#i}></arcgis-shadow-cast-min-duration-config></div><div class=${h(e("total-duration",this.hideTotalDurationOptions))}><arcgis-shadow-cast-total-duration-config .hideColorPicker=${this.hideTotalDurationColorPicker} .hideModeSelect=${this.hideTotalDurationModeSelect} .messages=${n} .options=${d} .scale=${this.#i}></arcgis-shadow-cast-total-duration-config></div><div class=${h(e("discrete",this.hideDiscreteOptions))}><arcgis-shadow-cast-discrete-config .hideColorPicker=${this.hideDiscreteColorPicker} .hideInterval=${this.hideDiscreteInterval} .messages=${n} .options=${l} .scale=${this.#i}></arcgis-shadow-cast-discrete-config></div></div></section>`}_renderModeSelect(){let{messages:t,viewModel:n}=this,{mode:s}=n;return c`<calcite-select .label=${t.visualizationLabel??""} .scale=${this.#i} @calciteSelectChange=${e=>{let l=e.target.selectedOption?.value;n.mode=l??"min-duration"}}>${[{mode:"min-duration",label:t.minDuration?.optionLabel},{mode:"total-duration",label:t.totalDuration?.optionLabel},{mode:"discrete",label:t.discrete?.optionLabel}].map(({mode:e,label:l})=>c`<calcite-option .selected=${e===s} .value=${e} .label=${l}></calcite-option>`)}</calcite-select>`}};y("arcgis-shadow-cast",f);return f},"analysis/ShadowCastAnalysis","core/accessorSupport/decorators","core/reactiveUtils","applications/Components/analysisUtils",a,d,e,f,i)
3
+ v5.0.0-next.103 */
4
+ import{a as p,e as $}from"./C5JSEMAD.js";import{a as u}from"./7FIEIJV4.js";import i from"./L6TUUIGI.js";import f from"./4EASCWVY.js";import"./LKT5KKWB.js";import{a as v}from"./Y6G6L5QY.js";import"./G32HNWGR.js";import e from"./XMUCOVO7.js";import{a as C}from"./NB6BHH2K.js";import{a as g}from"./SQFS5TR6.js";import d from"./OA3M5PTH.js";import a from"./HZLY2IC2.js";import{g as _}from"./XVPQRCKH.js";import"./7FEA5YTR.js";import"./SDOA6EK4.js";import"./SAGTCWIE.js";import{N as x,O as h,Q as b,T as y,a as w,b as c,x as D}from"./OFFKYLYZ.js";import"./4OQQ5EMA.js";export default $arcgis.t(([P,{property:a,subclass:V},{watch:E,whenOnce:L},{forceInteractive:A},,,M,,O])=>{var R=w`.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}.esri-widget{--esri-widget-padding-x: 15px;--esri-widget-padding-y: var(--calcite-spacing-md);--esri-widget-padding: var(--esri-widget-padding-y) var(--esri-widget-padding-x);box-sizing:border-box;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget *,.esri-widget :before,.esri-widget :after{box-sizing:inherit}.esri-widget.esri-widget--disabled>*{opacity:.4;pointer-events:none}.esri-widget.esri-widget--compact{--esri-widget-padding-y: 0;--esri-widget-padding-x: 0}.esri-widget__anchor{color:var(--calcite-color-text-2)}.esri-widget__anchor:hover{color:var(--calcite-color-text-3)}.esri-widget__anchor:hover,.esri-widget__anchor:focus{text-decoration:underline}.esri-widget__anchor--disabled{opacity:.4;pointer-events:none}.esri-widget__header{background-color:var(--calcite-color-foreground-1);flex:1 0 100%;justify-content:space-between;align-items:center;width:100%;min-height:48px;padding:12px 0 12px 15px;display:flex}.esri-widget__header .esri-widget__heading{width:calc(100% - 48px);text-align:initial;color:var(--calcite-color-text-1);align-items:center;margin:0;padding:0;display:flex}.esri-widget__header-button{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);border:none;flex:0 0 48px;justify-content:center;align-self:stretch;align-items:center;width:48px;padding:0;display:flex}.esri-widget__footer{background-color:var(--calcite-color-foreground-1);justify-content:center;align-items:center;width:100%;min-height:48px;display:flex}.esri-widget__footer-pagination{color:var(--calcite-color-text-2);justify-content:space-between;align-items:center;display:flex}.esri-widget__footer-pagination-previous-button,.esri-widget__footer-pagination-next-button{cursor:pointer;background-color:var(--calcite-color-foreground-1);border:0;margin:0 7px;padding:12px 15px;transition:background-color .125s ease-in-out}.esri-widget__footer-pagination-previous-button:hover,.esri-widget__footer-pagination-previous-button:focus,.esri-widget__footer-pagination-next-button:hover,.esri-widget__footer-pagination-next-button:focus{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1)}.esri-menu{visibility:hidden;z-index:1;background-clip:padding;background-color:var(--calcite-color-foreground-1);background-clip:padding-box;width:100%;max-height:0;margin:2px 0 0;padding:0;font-size:var(--calcite-font-size);line-height:var(--calcite-spacing-xl);position:absolute;top:100%;left:0;overflow:hidden;box-shadow:0 1px 2px #0000004d}.esri-menu .esri-menu__header{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-inverse);padding:6px 12px}.esri-menu__list{margin:0;padding:0;list-style:none}.esri-menu__list-item{cursor:pointer;border-top:1px solid #adadad4d;border-left:3px solid #0000;padding:.8em 1em}.esri-menu__list-item [class^=esri-icon-],.esri-menu__list-item [class*=" esri-icon-"]{padding-right:2.8px}.esri-menu__list-item:first-child{border-top:none}.esri-menu__list-item--focus,.esri-menu__list-item:hover,.esri-menu__list-item:focus{background-color:var(--calcite-color-foreground-1)}.esri-menu__list-item:active{background-color:var(--calcite-color-foreground-current)}.esri-menu__list-item--active,.esri-menu__list-item--active:hover,.esri-menu__list-item--active:focus{background-color:var(--calcite-color-foreground-1);border-left-color:var(--calcite-color-brand)}.esri-widget__table{border-collapse:collapse;color:var(--calcite-color-text-1);border:none;width:100%;line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget__table tr:nth-child(odd){background-color:var(--calcite-color-transparent)}.esri-widget__table tr:nth-child(2n){background-color:var(--calcite-color-transparent-press)}.esri-widget__table tr a{color:var(--calcite-color-text-2)}.esri-widget__table tr a:hover,.esri-widget__table tr a:focus{color:var(--calcite-color-text-1)}.esri-widget__table tr td,.esri-widget__table tr th{vertical-align:top;word-break:break-word;padding:.5em .7em;font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular)}.esri-widget__table tr th{text-align:left;border-right:3px solid #0000000d;width:50%}.esri-widget__table tr td{width:50%}.esri-input{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1);border:1px solid #959595;font-size:var(--calcite-font-size)}.esri-input::-ms-clear{display:none}.esri-input::placeholder{opacity:1;color:var(--calcite-color-text-2)}.esri-input:placeholder-shown{text-overflow:ellipsis}.esri-input[type=text],.esri-input[type=password],.esri-input[type=number]{height:32px;padding:0 .5em}calcite-combobox.esri-input{border:none}.esri-widget__content--empty{text-align:center;color:var(--calcite-color-border-input);flex-flow:column wrap;align-items:center;padding:18px 22px;display:flex}.esri-widget__content--empty h1.esri-widget__heading,.esri-widget__content--empty h2.esri-widget__heading,.esri-widget__content--empty h3.esri-widget__heading,.esri-widget__content--empty h4.esri-widget__heading,.esri-widget__content--empty h5.esri-widget__heading{font-weight:var(--calcite-font-weight-regular)}.esri-widget__content-illustration--empty{width:128px;padding:1rem 0}.esri-widget__content-icon--empty{width:32px;padding:.5rem 0}.esri-select{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background:var(--calcite-color-foreground-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -8 32 32' width='32' height='32'%3E%3Cpath d='M8 11.207l-4-4V5.793l4 4 4-4v1.414z' fill='%23adadad' fillrule='nonzero'/%3E%3C/svg%3E") 100% no-repeat;border:1px solid #959595;border-radius:0;width:100%;height:32px;margin:0;padding:0 .5em;font-family:inherit;font-size:.85em;display:block}.esri-select[disabled]{cursor:auto}.esri-select::-ms-expand{display:none}.esri-disabled a,.esri-disabled [role=menu],.esri-disabled [role=checkbox],.esri-disabled [class^=esri-icon-],.esri-disabled [class*=" esri-icon-"]{color:var(--calcite-color-text-3)}.keynav-mode .esri-widget:focus,.keynav-mode .esri-widget :focus{z-index:1;outline-offset:2px;outline:2px solid #adadad}.esri-widget__loader-animation{border:.15em solid #adadad4d;border-top-color:var(--calcite-color-border-input);border-radius:100%;width:1em;height:1em;font-size:var(--calcite-font-size-md);animation:1.25s linear infinite esri-rotate;display:block;transform:translateZ(0)}:dir(rtl) .esri-widget__table th{text-align:right;border-left:3px solid #0000000d;border-right:none}:dir(rtl) .esri-select{background-position:0}:dir(rtl) .esri-menu__list-item{border-left:none;border-right:3px solid #0000}:dir(rtl) .esri-menu__list-item [class^=esri-icon-],:dir(rtl) .esri-menu__list-item [class*=" esri-icon-"]{padding-left:2px;padding-right:0}:dir(rtl) .esri-menu__list-item--active{border-right-color:var(--calcite-color-brand)}.esri-icon-font-fallback-text{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.esri-rotating{animation:1.25s linear infinite esri-rotate;transform:translateZ(0)}.esri-clearfix:before,.esri-clearfix:after{content:" ";display:table}.esri-clearfix:after{clear:both}.esri-interactive{cursor:pointer}.esri-hidden{display:none!important}.esri-invisible{visibility:hidden!important}.esri-offscreen{position:absolute;top:-999em;left:-999em}.esri-match-height{flex-direction:column;flex:auto;display:flex;overflow:hidden}.esri-widget--panel{min-width:300px;min-height:32px;padding:var(--esri-widget-padding);transition:max-height .25s ease-in-out;overflow-y:auto}:host{position:relative;overflow:hidden;width:300px;padding:var(--esri-widget-padding)}.container{display:flex;flex-direction:column;gap:var(--calcite-spacing-lg)}.time-range-section calcite-label:last-child,.visualization-options-section:last-child{--calcite-label-margin-bottom: 0}.date-picker{flex-grow:1;display:block}.visualization-options{flex-direction:column;display:flex;gap:var(--calcite-spacing-md)}.hidden-config{display:none}`,j=Object.defineProperty,H=Object.getOwnPropertyDescriptor,r=(i,t,n,s)=>{for(var e=s>1?void 0:s?H(t,n):t,l=i.length-1,d;l>=0;l--)(d=i[l])&&(e=(s?d(t,n,e):d(e))||e);return s&&e&&j(t,n,e),e},k=Symbol("interactiveHandle"),o=class extends O{constructor(){super(...arguments),this.supportedViewType="3d",this.unsupportedErrorMessage="The Shadow Cast component is only supported in 3D views.",this.shouldForceInteractive=!1,this.minMinDuration=0,this.maxMinDuration=p(8,"hours","milliseconds"),this.hideShadowDurationTooltip=!1}constructAnalysis(){return new P}initialize(){this.addHandles(E(()=>({analysisView:this.analysisView,tooltipVisible:!this.hideShadowDurationTooltip}),({analysisView:i,tooltipVisible:t})=>{this.removeHandles(k),i&&(i.interactive=t,t&&this.addHandles(A(i),k))},{sync:!0,initial:!0}))}get date(){return this.analysis.date}set date(i){this.analysis.date=i}get discreteColor(){return this.analysis.discreteOptions.color}set discreteColor(i){this.analysis.discreteOptions.color=i}get discreteInterval(){return this.analysis.discreteOptions.interval}set discreteInterval(i){this.analysis.discreteOptions.interval=i}get totalDurationColor(){return this.analysis.totalDurationOptions.color}set totalDurationColor(i){this.analysis.totalDurationOptions.color=i}get totalDurationMode(){return this.analysis.totalDurationOptions.mode}set totalDurationMode(i){this.analysis.totalDurationOptions.mode=i}get localDate(){return $(this.view)}get mode(){return this.analysis.mode}set mode(i){this.analysis.mode=i}get startTimeOfDay(){return this.analysis.startTimeOfDay}set startTimeOfDay(i){this.analysis.startTimeOfDay=i}get endTimeOfDay(){return this.analysis.endTimeOfDay}set endTimeOfDay(i){this.analysis.endTimeOfDay=i}get state(){return this.view?.ready&&this.analysisView?"ready":"disabled"}get minDurationColor(){return this.analysis.minDurationOptions.color}set minDurationColor(i){this.analysis.minDurationOptions.color=i}get minDuration(){return this.analysis.minDurationOptions.minDuration}set minDuration(i){this.analysis.minDurationOptions.minDuration=i}get minDurationContextEnabled(){return this.analysis.minDurationOptions.contextEnabled}set minDurationContextEnabled(i){this.analysis.minDurationOptions.contextEnabled=i}get minDurationContextColor(){return this.analysis.minDurationOptions.contextOptions.color}set minDurationContextColor(i){this.analysis.minDurationOptions.contextOptions.color=i}get minDurationContextInterval(){return this.analysis.minDurationOptions.contextOptions.interval}set minDurationContextInterval(i){this.analysis.minDurationOptions.contextOptions.interval=i}get utcOffset(){return this.analysis.utcOffset}set utcOffset(i){this.analysis.utcOffset=i}async getDurationAtScreen(i){return await(await L(()=>this.analysisView)).getDurationAtScreen(i)}};r([a()],o.prototype,"date",1);r([a()],o.prototype,"discreteColor",1);r([a()],o.prototype,"discreteInterval",1);r([a()],o.prototype,"totalDurationColor",1);r([a()],o.prototype,"totalDurationMode",1);r([a()],o.prototype,"localDate",1);r([a()],o.prototype,"mode",1);r([a()],o.prototype,"startTimeOfDay",1);r([a()],o.prototype,"endTimeOfDay",1);r([a()],o.prototype,"state",1);r([a()],o.prototype,"minDurationColor",1);r([a()],o.prototype,"minMinDuration",2);r([a()],o.prototype,"maxMinDuration",2);r([a()],o.prototype,"minDuration",1);r([a()],o.prototype,"minDurationContextEnabled",1);r([a()],o.prototype,"minDurationContextColor",1);r([a()],o.prototype,"minDurationContextInterval",1);r([a()],o.prototype,"utcOffset",1);r([a()],o.prototype,"hideShadowDurationTooltip",2);o=r([V("components.shadow-cast.ShadowCastViewModel")],o);var T=Math.round(p(1,"minutes","milliseconds")),m=Math.round(p(1,"hours","milliseconds")),F=M(o),f=class extends x{constructor(){super(...arguments),this.viewModel=F(this),this.messages=C(),this.#i="s",this.analysis=this.viewModel.analysis,this.view=this.viewModel.view,this.autoDestroyDisabled=!1,this.endTimeOfDay=this.viewModel.endTimeOfDay,this.headingLevel=4,this.hideTimeRangeSlider=!1,this.hideTimezone=!1,this.hideDatePicker=!1,this.hideShadowDurationTooltip=this.viewModel.hideShadowDurationTooltip,this.hideVisualization=this.viewModel.hideVisualization,this.hideVisualizationOptions=!1,this.hideDiscreteOptions=!1,this.hideDiscreteColorPicker=!1,this.hideDiscreteInterval=!1,this.hideTotalDurationOptions=!1,this.hideTotalDurationColorPicker=!1,this.hideTotalDurationModeSelect=!1,this.hideMinDurationOptions=!1,this.hideMinDurationColorPicker=!1,this.hideMinDurationSlider=!1,this.hideMinDurationContextOptions=!1,this.hideMinDurationContextToggle=!1,this.hideMinDurationContextColorPicker=!1,this.hideMinDurationContextInterval=!1,this.icon="measure-building-height-shadow",this.mode=this.viewModel.mode,this.startTimeOfDay=this.viewModel.startTimeOfDay,this.state=this.viewModel.state,this.utcOffset=this.viewModel.utcOffset,this.discreteColor=this.viewModel.discreteColor,this.discreteInterval=this.viewModel.discreteInterval,this.totalDurationColor=this.viewModel.totalDurationColor,this.totalDurationMode=this.viewModel.totalDurationMode,this.minDuration=this.viewModel.minDuration,this.minDurationColor=this.viewModel.minDurationColor,this.minMinDuration=this.viewModel.minMinDuration,this.maxMinDuration=this.viewModel.maxMinDuration,this.minDurationContextEnabled=this.viewModel.minDurationContextEnabled,this.minDurationContextColor=this.viewModel.minDurationContextColor,this.minDurationContextInterval=this.viewModel.minDurationContextInterval,this.arcgisPropertyChange=_()("state"),this.arcgisReady=D()}static{this.properties={analysis:0,view:0,autoDestroyDisabled:5,date:1,endTimeOfDay:9,headingLevel:9,hideTimeRangeSlider:5,hideTimezone:5,hideDatePicker:5,hideShadowDurationTooltip:5,hideVisualization:5,hideVisualizationOptions:5,hideDiscreteOptions:5,hideDiscreteColorPicker:5,hideDiscreteInterval:5,hideTotalDurationOptions:5,hideTotalDurationColorPicker:5,hideTotalDurationModeSelect:5,hideMinDurationOptions:5,hideMinDurationColorPicker:5,hideMinDurationSlider:5,hideMinDurationContextOptions:5,hideMinDurationContextToggle:5,hideMinDurationContextColorPicker:5,hideMinDurationContextInterval:5,icon:2,label:1,mode:1,position:1,referenceElement:1,startTimeOfDay:9,state:3,utcOffset:9,discreteColor:0,discreteInterval:9,totalDurationColor:0,totalDurationMode:1,minDuration:9,minDurationColor:0,minMinDuration:9,maxMinDuration:9,minDurationContextEnabled:5,minDurationContextColor:0,minDurationContextInterval:9}}static{this.styles=R}#i;get date(){return this.viewModel.date}set date(t){this.viewModel.date=t}async destroy(){await this.manager.destroy()}async getDurationAtScreen(t){return await this.viewModel.getDurationAtScreen(t)}render(){return c`<div aria-label=${this.messages.componentLabel??b} class=${h({container:!0,[g.widget]:!0,[g.widgetDisabled]:this.viewModel.state==="disabled",[g.panel]:!0})} role=presentation>${this._renderTimeRangeSection()}${u({hidden:this.hideVisualizationOptions,children:this._renderVisualizationOptionsSection()})}</div>`}_renderTimeRangeSection(){if(this.hideTimeRangeSlider&&this.hideDatePicker)return;let{messages:t,utcOffset:n,viewModel:s}=this,e=this.#i;return c`<section class="time-range-section">${v({level:this.headingLevel,children:t.timeRangeHeading})}${u({hidden:this.hideTimeRangeSlider,children:this._renderTimeRange()})}${u({hidden:this.hideTimezone,children:c`<calcite-label .scale=${e}>${t.timezoneLabel}<calcite-input-time-zone mode=offset overlay-positioning=fixed .referenceDate=${s.localDate} .scale=${e} .value=${`${p(n??0,"hours","minutes")}`} @calciteInputTimeZoneChange=${l=>{s.utcOffset=+l.target.value/60}}></calcite-input-time-zone></calcite-label>`})}${u({hidden:this.hideDatePicker,children:c`<calcite-label .scale=${e}>${t.dateLabel}<calcite-input-date-picker overlay-positioning=fixed placement=bottom .scale=${e} .valueAsDate=${s.date} @calciteInputDatePickerChange=${l=>{let d=l.currentTarget.valueAsDate;s.date=Array.isArray(d)?d[0]:d}}></calcite-input-date-picker></calcite-label>`})}</section>`}_renderTimeRange(){let{viewModel:t}=this;return c`<calcite-slider fill-placement=end .labelFormatter=${(n,s)=>{let e=Math.floor(n/m),l=Math.round(n%m/T);return s==="tick"?e%6!==0||l!==0?"":e.toFixed():`${e.toFixed(0).padStart(2,"0")}:${l.toFixed(0).padStart(2,"0")}`}} label-handles label-ticks min=0 .max=${m*24} .step=${T} .scale=${this.#i} .ticks=${m} .value=${[this.startTimeOfDay,this.endTimeOfDay]} @calciteSliderInput=${n=>{let[s,e]=n.currentTarget.value;t.startTimeOfDay=s,t.endTimeOfDay=e}}></calcite-slider>`}_renderVisualizationOptionsSection(){let{headingLevel:t,messages:n,viewModel:s}=this,e=(S,I)=>s.mode===S&&!I?void 0:"hidden-config",{discreteOptions:l,totalDurationOptions:d,minDurationOptions:z}=this.analysis;return c`<section class="visualization-options-section">${v({level:t,children:n.visualizationLabel})}<div class="visualization-options">${this._renderModeSelect()}<div class=${h(e("min-duration",this.hideMinDurationOptions))}><arcgis-shadow-cast-min-duration-config .hideColorPicker=${this.hideMinDurationColorPicker} .hideContextColorPicker=${this.hideMinDurationContextColorPicker} .hideContextInterval=${this.hideMinDurationContextInterval} .hideContextOptions=${this.hideMinDurationContextOptions} .hideContextToggle=${this.hideMinDurationContextToggle} .hideSlider=${this.hideMinDurationSlider} .minMinDuration=${this.minMinDuration} .maxMinDuration=${this.maxMinDuration} .messages=${n} .options=${z} .scale=${this.#i}></arcgis-shadow-cast-min-duration-config></div><div class=${h(e("total-duration",this.hideTotalDurationOptions))}><arcgis-shadow-cast-total-duration-config .hideColorPicker=${this.hideTotalDurationColorPicker} .hideModeSelect=${this.hideTotalDurationModeSelect} .messages=${n} .options=${d} .scale=${this.#i}></arcgis-shadow-cast-total-duration-config></div><div class=${h(e("discrete",this.hideDiscreteOptions))}><arcgis-shadow-cast-discrete-config .hideColorPicker=${this.hideDiscreteColorPicker} .hideInterval=${this.hideDiscreteInterval} .messages=${n} .options=${l} .scale=${this.#i}></arcgis-shadow-cast-discrete-config></div></div></section>`}_renderModeSelect(){let{messages:t,viewModel:n}=this,{mode:s}=n;return c`<calcite-select .label=${t.visualizationLabel??""} .scale=${this.#i} @calciteSelectChange=${e=>{let l=e.target.selectedOption?.value;n.mode=l??"min-duration"}}>${[{mode:"min-duration",label:t.minDuration?.optionLabel},{mode:"total-duration",label:t.totalDuration?.optionLabel},{mode:"discrete",label:t.discrete?.optionLabel}].map(({mode:e,label:l})=>c`<calcite-option .selected=${e===s} .value=${e} .label=${l}></calcite-option>`)}</calcite-select>`}};y("arcgis-shadow-cast",f);return f},"analysis/ShadowCastAnalysis","core/accessorSupport/decorators","core/reactiveUtils","applications/Components/analysisUtils",a,d,e,f,i)
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.101 */
4
- import{a as E}from"./V6LX4LCN.js";import c from"./VFEYNP37.js";import b from"./PDMOGKYE.js";import a from"./OIN2ZTS3.js";import"./NMJ4TRCR.js";import"./MXY4MYS7.js";import{a as w}from"./LLT2KCGX.js";import"./R2MSJOQU.js";import"./VEJGGFUF.js";import{h as S}from"./R4V43N22.js";import{b as y}from"./NON4B5X3.js";import{L as v,M as f,N as T,O as h,P as A,Q as o,T as M,b as r}from"./6M2WVLLN.js";import"./BRITVT2J.js";export default $arcgis.t(([{isLayerFromCatalog:O},,,{b:I,c:L}])=>{var D={hideChildren:"hide-children"};function R({exclusive:a,visible:e,visibilityAppearance:t}){let i=t==="checkbox";return e?a?"circle-f":i?"check-square-f":"view-visible":a?"circle":i?"square":"view-hide"}function P({connectionStatus:a,publishing:e}){return a?a==="connected"?"beacon":"offline":e?"square":"bullet-point"}function F(a){return a?.listMode===D.hideChildren}function k(a){let e=(a?.layer&&U(a.layer)?a.layer.layer:void 0)??a?.layer;return e?e.type==="catalog"?!1:B(e)??!0:!1}function U(a){return a!=null&&"layer"in a&&a.layer!=null}function B(a){let e=V(a);return e!=null&&"supportsDynamicLayers"in e?e.supportsDynamicLayers:void 0}function V(a){return a&&"capabilities"in a&&a.capabilities!=null&&"exportMap"in a.capabilities?a.capabilities.exportMap:void 0}function G(a){return a?.getAttribute("data-item")}function N(a){let{children:e,error:t}=a,i="incompatible"in a?a.incompatible:!1;return!!e?.filter(n=>!n.hidden).length&&!t&&!i}function q(a){for(let e of a)for(let t of e)if(t.type==="button"||t.type==="toggle")return t}function x(a,e){let t=a.parent,i=a.layer;if(i?.type!=="map-image"||!i.sourceJSON||!t)return!1;let n=i.sourceJSON.layers;if(!n)return!1;let s=n.find(l=>a.id===l.id),c=e==="footprints"?"Feature Layer":"Catalog Dynamic Group Layer";return s?.type!==c?!1:n.find(l=>l.id===t.id)?.type==="Catalog Layer"}var C=class extends T{constructor(){super(...arguments),this._itemRef=v(),this._noticeRef=v(),this.messages=w(),this.hideCatalogLayerList=!1,this.showCloseButton=!1,this.showCollapseButton=!1,this.showErrors=!1,this.showFilter=!1,this.hideFlow=!1,this.showHeading=!1,this.hideStatusIndicators=!1,this.showTemporaryLayerIndicators=!1,this.showTemporaryTableIndicators=!1,this.dragEnabled=!1,this.listModeDisabled=!1,this.autoDestroyDisabled=!1}static{this.properties={_title:16,_renderedItemStatus:16,_renderedItemTemporaryIcon:16,_renderedItemToggle:16,_renderedPanel:16,_renderedPanelAction:16,_renderedActions:16,_renderedActionMenu:16,_renderedActionMenuContent:16,_renderedCatalogFootprintIcon:16,_renderedCatalogDynamicIcon:16,_renderedCatalogSelectNode:16,_renderedChildList:16,_hasTables:16,_renderedTablesItem:16,_renderedItemMessage:16,_singleAction:16,_filteredSections:16,_actionsCount:16,activeItem:0,canMove:0,css:0,displayMode:1,hideCatalogLayerList:5,showCloseButton:5,showCollapseButton:5,showErrors:5,showFilter:5,hideFlow:5,showHeading:5,hideStatusIndicators:5,showTemporaryLayerIndicators:5,showTemporaryTableIndicators:5,dragEnabled:5,item:0,layerTablesEnabled:0,listModeDisabled:5,handleAction:0,handlePanelOpen:0,handleCatalogOpen:0,handleTablesOpen:0,handleSelectedDragItemLayerUidChange:0,handleTooltipReferenceChange:0,parent:0,parentTitles:0,rootGroupUid:1,selectionMode:1,selectedItems:0,selectedDragItemLayerUid:1,visibilityAppearance:1,autoDestroyDisabled:5}}static{this.styles=E}get _title(){let{messages:e}=this;return this.item.title||("untitledTable"in e?e.untitledTable:e.untitledLayer)}get _renderedItemStatus(){let{item:e,parent:t,hideStatusIndicators:i,css:n}=this;if(!i)return null;let{publishing:s}=e,c="updating"in e&&e.updating&&!t,l="connectionStatus"in e?e.connectionStatus:void 0,u=!!l;return r`<calcite-icon class=${h(y(n.statusIndicator,{[n.publishing]:s},"updating"in n&&{[n.updating]:c},"connectionStatus"in n&&{[n.connectionStatus]:u},"connectionStatusConnected"in n&&{[n.connectionStatusConnected]:u&&l==="connected"}))} .icon=${P({connectionStatus:l,publishing:s})} scale=s slot=content-end></calcite-icon>`}get _renderedItemTemporaryIcon(){let{item:e,showTemporaryLayerIndicators:t,showTemporaryTableIndicators:i,css:n}=this,{layer:s}=e,c=s&&"persistenceEnabled"in s&&(O(s)||!s.persistenceEnabled);return(t||i)&&c?r`<calcite-icon class=${h(n.itemTemporaryIcon)} icon=temporary scale=s slot=content-start title=${this.messages.temporary??o}></calcite-icon>`:null}get _renderedItemToggle(){let{item:e,parent:t,messages:i,visibilityAppearance:n,css:s}=this;if(!("visible"in e)||!("layerVisibility"in i)||!("visibleToggle"in s)||!n)return null;let{visible:c}=e,l=this._getParentVisibilityMode(t);if(l==="inherited")return null;let u=R({visible:c,exclusive:l==="exclusive",visibilityAppearance:n}),d=n==="checkbox",g=i.layerVisibility;return r`<calcite-action class=${h(s.visibleToggle)} .icon=${d?u:void 0} @click=${()=>this._toggleVisibility(e,t)} scale=s .slot=${d?"actions-start":"actions-end"} .text=${g??""} title=${g??o}>${d?null:r`<calcite-icon class=${h(y({[s.visibleIcon]:l!=="exclusive"&&c}))} .icon=${u} scale=s></calcite-icon>`}</calcite-action>`}get _renderedPanel(){let{panel:e}=this.item;return e?.open&&!e.disabled&&!e.flowEnabled?r`<div class=${h(this.css.itemContentBottom)} slot=content-bottom>${e.render()}</div>`:null}get _renderedPanelAction(){let{panel:e}=this.item;if(!e?.visible)return null;let{open:t,title:i,disabled:n}=e,s={icon:e.icon,image:e.image,indicator:!1};return r`<calcite-action .active=${t} .disabled=${n} .icon=${I(s)} @click=${()=>this._togglePanel(e)} scale=s slot=actions-end .text=${i??""} title=${i??void 0??o}>${this._renderFallbackIcon(e)}</calcite-action>`}get _renderedActions(){switch(this._actionsCount){case 0:return null;case 1:return this._singleAction;default:return this._renderedActionMenu}}get _renderedActionMenu(){let{item:e,messages:t}=this,i=t.options;return r`<calcite-action-menu appearance=transparent .label=${t.menu??""} .open=${e.actionsOpen} overlay-positioning=fixed placement=bottom-end scale=s slot=actions-end @calciteActionMenuOpen=${this._onActionMenuOpen}><calcite-action icon=ellipsis scale=s slot=trigger .text=${i??""} title=${i??o}></calcite-action>${this._renderedActionMenuContent}</calcite-action-menu>`}get _renderedActionMenuContent(){return this._filteredSections.toArray().map(e=>r`<calcite-action-group>${e.toArray().map(t=>this._renderAction({action:t,textEnabled:!0}))}</calcite-action-group>`)}get _renderedCatalogFootprintIcon(){let{css:e}=this,t=this.item.layer,i=t?.type==="catalog-footprint",n=t?.type==="sublayer"&&x(t,"footprints");return"itemCatalogIcon"in e&&(i||n)?r`<calcite-icon class=${h(e.itemCatalogIcon)} icon=footprint scale=s slot=content-start></calcite-icon>`:null}get _renderedCatalogDynamicIcon(){let{css:e}=this,t=this.item.layer,i=t?.type==="catalog-dynamic-group",n=t?.type==="sublayer"&&x(t,"layers-in-view");return"itemCatalogIcon"in e&&(i||n)?r`<calcite-icon class=${h(e.itemCatalogIcon)} icon=catalog-dataset scale=s slot=content-start></calcite-icon>`:null}get _renderedCatalogSelectNode(){let{_title:e,item:t,hideCatalogLayerList:i}=this;if(!("visible"in t))return;let{layer:n}=t,s=n?.type==="catalog-dynamic-group";return i&&s?r`<calcite-action .disabled=${!n.visible} icon=chevron-right icon-flip-rtl @click=${()=>this._triggerOnCatalogOpen(t)} scale=s slot=actions-end .text=${e}></calcite-action>`:null}get _renderedChildList(){let{dragEnabled:e,item:t,rootGroupUid:i,listModeDisabled:n,selectionMode:s,displayMode:c}=this;if(!("children"in t))return;let l=[...this.parentTitles??[],t.title],{children:u,layer:d}=t,g=d?.type!=="catalog-dynamic-group"&&N(t),$=n?!1:F(d),m=d?.type==="group",_=!$&&!g&&e&&m,b=e?"childrenSortable"in t&&t.childrenSortable&&k(t):!1;return g||_?r`<calcite-list .canPull=${p=>this.canMove?this.canMove(p,"pull"):!1} .canPut=${p=>this.canMove?this.canMove(p,"put"):!1} data-item=${t??o} data-layer-type=${i??o} .displayMode=${c} .dragEnabled=${b} .group=${m?i:`${i}-${d?.uid}`} .label=${t.title} selection-appearance=border .selectionMode=${s}>${u?.filter(p=>!p.hidden&&(this.showErrors||!p.error)).toArray().map(p=>this._renderItem(p,t,l))}${this._renderedTablesItem}</calcite-list>`:null}get _hasTables(){let{layerTablesEnabled:e}=this,t=this.item.layer;if(!e||!t)return!1;switch(t.type){case"knowledge-graph":return e.includes(t.type)&&"tables"in t&&!!t.tables?.length;case"map-image":case"tile":return e.includes(t.type)&&"subtables"in t&&!!t.subtables?.length;default:return!1}}get _renderedTablesItem(){let{item:e,messages:t,css:i}=this,{layer:n}=e;return"itemTableIcon"in i&&"visible"in e&&"tables"in t&&this._hasTables?r`<calcite-list-item class=${h(i.item)} data-layer-id=${n?.id??o} drag-disabled .label=${t.tables} title=${t.tables??o} @calciteListItemSelect=${()=>this._triggerOnTablesOpen(e)}><calcite-icon class=${h(i.itemTableIcon)} icon=table scale=s slot=content-start></calcite-icon><calcite-icon flip-rtl icon=chevron-right scale=s slot=content-end></calcite-icon></calcite-list-item>`:null}get _renderedItemMessage(){let{item:e,messages:t,css:i}=this;return e.error?r`<div class=${h(i.itemMessage)} slot=content-bottom><calcite-notice icon=exclamation-mark-triangle kind=warning open scale=s width=full><div slot=message>${"tableError"in t?t.tableError:t.layerError}</div></calcite-notice></div>`:"incompatible"in e&&e.incompatible&&"layerIncompatible"in t?r`<div class=${h(i.itemMessage)} slot=content-bottom><calcite-notice icon=exclamation-mark-triangle kind=warning open scale=s tabindex=0 width=full ${f(this._noticeRef)}><div slot=message>${t.layerIncompatible}</div></calcite-notice></div>`:null}get _singleAction(){return this._renderAction({action:q(this._filteredSections),textEnabled:!1})}get _filteredSections(){return this.item.actionsSections.map(e=>e.filter(t=>t.visible))}get _actionsCount(){return this.item.actionsSections.reduce((e,t)=>e+t.length,0)}async destroy(){await this.manager.destroy()}willUpdate(){this._itemRef.value&&this._focusSelectedDragEl(this._itemRef.value,this.item),this._noticeRef.value&&this._setTooltipReference(this._noticeRef.value)}updated(){this._itemRef.value&&this._focusSelectedDragEl(this._itemRef.value,this.item),this._noticeRef.value&&this._removeTooltipReference()}_onActionMenuOpen(e){this.item.actionsOpen=e.currentTarget.open}_setTooltipReference(e){this.handleTooltipReferenceChange?.(this.item.layer?.uid,e)}_removeTooltipReference(){this.handleTooltipReferenceChange?.(this.item.layer?.uid,null)}_triggerAction(e,t){!t||!e||(t.type==="toggle"&&(t.value=!t.value),this.handleAction(t,e))}_triggerOnTablesOpen(e){!e||!this.handleTablesOpen||this.handleTablesOpen(e)}_triggerOnCatalogOpen(e){e&&this.handleCatalogOpen?.(e)}_focusSelectedDragEl(e,t){this.selectedDragItemLayerUid===t.layer?.uid&&(S(e),this.handleSelectedDragItemLayerUidChange?.(null))}_handleCalciteListItemToggle(e,t){e.stopPropagation(),t.open=e.target.expanded}_getParentVisibilityMode(e){return e&&"visibilityMode"in e?e.visibilityMode:null}_handleCalciteListItemSelect(e,t,i){if(G(e.target)!==t)return;let n=this._getParentVisibilityMode(i);this.selectionMode!=="none"||n==="inherited"||this._toggleVisibility(t,i)}_togglePanel(e){e.open=!e.open,e.open&&this.handlePanelOpen()}_toggleVisibility(e,t){!e||!("visible"in e)||this._getParentVisibilityMode(t)==="exclusive"&&e.visible||(e.visible=!e.visible)}render(){let e=this.parentTitles??[],{_title:t,item:i,activeItem:n,selectionMode:s,selectedItems:c,messages:l,parent:u,css:d}=this,g="visibleAtCurrentTimeExtent"in i&&"layerInvisibleAtTime"in l&&!i.visibleAtCurrentTimeExtent?`${t} (${l.layerInvisibleAtTime})`:"visibleAtCurrentScale"in i&&"layerInvisibleAtScale"in l&&!i.visibleAtCurrentScale?`${t} (${l.layerInvisibleAtScale})`:t,$="parent"in i&&i.parent?.layer?.type==="catalog",{layer:m}=i,_="visibleAtCurrentScale"in i&&!i.visibleAtCurrentScale||"visibleAtCurrentTimeExtent"in i&&!i.visibleAtCurrentTimeExtent;return r`<calcite-list-item class=${h(y(d.item,"itemActive"in d&&{[d.itemActive]:n===i}))} data-item=${i??o} data-layer-id=${m?.id??o} .dragDisabled=${!("sortable"in i&&i.sortable)||$} id=${m?.uid??o} .label=${t} .metadata=${{parentTitles:e,_title:t}} .expanded=${"open"in i&&i.open} .selected=${s!=="none"?c.includes(i):!1} title=${g??o} .unavailable=${_} .value=${m?.uid} @calciteListItemSelect=${b=>"visible"in i&&this._handleCalciteListItemSelect(b,i,u)} @calciteListItemToggle=${b=>"open"in i&&this._handleCalciteListItemToggle(b,i)} ${f(this._itemRef)}>${this._renderedCatalogFootprintIcon}${this._renderedCatalogDynamicIcon}${this._renderedItemStatus}${this._renderedItemToggle}${this._renderedCatalogSelectNode}${this._renderedItemTemporaryIcon}${this._renderedChildList}${this._renderedItemMessage}${this._renderedPanel}${this._renderedPanelAction}${this._renderedActions}</calcite-list-item>`}_renderAction(e){let{item:t}=this,{action:i,textEnabled:n}=e;if(!i)return null;let{active:s,disabled:c,title:l,type:u,indicator:d}=i;return r`<calcite-action .active=${u==="toggle"?i.value:!1} data-action-id=${i.id??o} .disabled=${c} .icon=${I(i)} .indicator=${d} .loading=${s} @click=${()=>this._triggerAction(t,i)} scale=s slot=${(n?void 0:"actions-end")??o} .text=${l??""} .textEnabled=${n} title=${l??void 0??o}>${this._renderFallbackIcon(i)}</calcite-action>`}_renderFallbackIcon(e){let{css:t}=this,{icon:i}=e;if(i)return null;let n="image"in e?e.image:void 0,s={[t.itemActionImage]:!!n};return n?r`<span aria-hidden=true class=${h(y(t.itemActionIcon,s))} style=${A(L(n))}></span>`:null}_renderItem(e,t,i=[]){return r`<arcgis-layer-list-item .activeItem=${this.activeItem} .canMove=${this.canMove} .css=${this.css} .displayMode=${this.displayMode} .dragEnabled=${this.dragEnabled} .item=${e} .layerTablesEnabled=${this.layerTablesEnabled} .listModeDisabled=${this.listModeDisabled} .parent=${t} .parentTitles=${i} .rootGroupUid=${this.rootGroupUid} .selectedDragItemLayerUid=${this.selectedDragItemLayerUid} .selectedItems=${this.selectedItems} .selectionMode=${this.selectionMode} .visibilityAppearance=${this.visibilityAppearance} .handleAction=${this.handleAction} .handleCatalogOpen=${this.handleCatalogOpen} .handlePanelOpen=${this.handlePanelOpen} .handleSelectedDragItemLayerUidChange=${this.handleSelectedDragItemLayerUidChange} .handleTablesOpen=${this.handleTablesOpen} .handleTooltipReferenceChange=${this.handleTooltipReferenceChange} .hideCatalogLayerList=${this.hideCatalogLayerList} .showCloseButton=${this.showCloseButton} .showCollapseButton=${this.showCollapseButton} .showErrors=${this.showErrors} .showFilter=${this.showFilter} .hideFlow=${this.hideFlow} .showHeading=${this.showHeading} .hideStatusIndicators=${this.hideStatusIndicators} .showTemporaryLayerIndicators=${this.showTemporaryLayerIndicators} .showTemporaryTableIndicators=${this.showTemporaryTableIndicators}></arcgis-layer-list-item>`}};M("arcgis-layer-list-item",C);return C},"layers/catalog/catalogUtils",a,b,c)
3
+ v5.0.0-next.103 */
4
+ import{a as E}from"./WLSSJO5O.js";import c from"./G7LZOWMQ.js";import b from"./66KDCV2Y.js";import a from"./4EASCWVY.js";import"./LKT5KKWB.js";import"./G32HNWGR.js";import{a as w}from"./NB6BHH2K.js";import"./XVPQRCKH.js";import"./7FEA5YTR.js";import{h as S}from"./SDOA6EK4.js";import{b as y}from"./SAGTCWIE.js";import{L as v,M as f,N as T,O as h,P as A,Q as o,T as M,b as r}from"./OFFKYLYZ.js";import"./4OQQ5EMA.js";export default $arcgis.t(([{isLayerFromCatalog:O},,,{b:I,c:L}])=>{var D={hideChildren:"hide-children"};function R({exclusive:a,visible:e,visibilityAppearance:t}){let i=t==="checkbox";return e?a?"circle-f":i?"check-square-f":"view-visible":a?"circle":i?"square":"view-hide"}function P({connectionStatus:a,publishing:e}){return a?a==="connected"?"beacon":"offline":e?"square":"bullet-point"}function F(a){return a?.listMode===D.hideChildren}function k(a){let e=(a?.layer&&U(a.layer)?a.layer.layer:void 0)??a?.layer;return e?e.type==="catalog"?!1:B(e)??!0:!1}function U(a){return a!=null&&"layer"in a&&a.layer!=null}function B(a){let e=V(a);return e!=null&&"supportsDynamicLayers"in e?e.supportsDynamicLayers:void 0}function V(a){return a&&"capabilities"in a&&a.capabilities!=null&&"exportMap"in a.capabilities?a.capabilities.exportMap:void 0}function G(a){return a?.getAttribute("data-item")}function N(a){let{children:e,error:t}=a,i="incompatible"in a?a.incompatible:!1;return!!e?.filter(n=>!n.hidden).length&&!t&&!i}function q(a){for(let e of a)for(let t of e)if(t.type==="button"||t.type==="toggle")return t}function x(a,e){let t=a.parent,i=a.layer;if(i?.type!=="map-image"||!i.sourceJSON||!t)return!1;let n=i.sourceJSON.layers;if(!n)return!1;let s=n.find(l=>a.id===l.id),c=e==="footprints"?"Feature Layer":"Catalog Dynamic Group Layer";return s?.type!==c?!1:n.find(l=>l.id===t.id)?.type==="Catalog Layer"}var C=class extends T{constructor(){super(...arguments),this._itemRef=v(),this._noticeRef=v(),this.messages=w(),this.hideCatalogLayerList=!1,this.showCloseButton=!1,this.showCollapseButton=!1,this.showErrors=!1,this.showFilter=!1,this.hideFlow=!1,this.showHeading=!1,this.hideStatusIndicators=!1,this.showTemporaryLayerIndicators=!1,this.showTemporaryTableIndicators=!1,this.dragEnabled=!1,this.listModeDisabled=!1,this.autoDestroyDisabled=!1}static{this.properties={_title:16,_renderedItemStatus:16,_renderedItemTemporaryIcon:16,_renderedItemToggle:16,_renderedPanel:16,_renderedPanelAction:16,_renderedActions:16,_renderedActionMenu:16,_renderedActionMenuContent:16,_renderedCatalogFootprintIcon:16,_renderedCatalogDynamicIcon:16,_renderedCatalogSelectNode:16,_renderedChildList:16,_hasTables:16,_renderedTablesItem:16,_renderedItemMessage:16,_singleAction:16,_filteredSections:16,_actionsCount:16,activeItem:0,canMove:0,css:0,displayMode:1,hideCatalogLayerList:5,showCloseButton:5,showCollapseButton:5,showErrors:5,showFilter:5,hideFlow:5,showHeading:5,hideStatusIndicators:5,showTemporaryLayerIndicators:5,showTemporaryTableIndicators:5,dragEnabled:5,item:0,layerTablesEnabled:0,listModeDisabled:5,handleAction:0,handlePanelOpen:0,handleCatalogOpen:0,handleTablesOpen:0,handleSelectedDragItemLayerUidChange:0,handleTooltipReferenceChange:0,parent:0,parentTitles:0,rootGroupUid:1,selectionMode:1,selectedItems:0,selectedDragItemLayerUid:1,visibilityAppearance:1,autoDestroyDisabled:5}}static{this.styles=E}get _title(){let{messages:e}=this;return this.item.title||("untitledTable"in e?e.untitledTable:e.untitledLayer)}get _renderedItemStatus(){let{item:e,parent:t,hideStatusIndicators:i,css:n}=this;if(!i)return null;let{publishing:s}=e,c="updating"in e&&e.updating&&!t,l="connectionStatus"in e?e.connectionStatus:void 0,u=!!l;return r`<calcite-icon class=${h(y(n.statusIndicator,{[n.publishing]:s},"updating"in n&&{[n.updating]:c},"connectionStatus"in n&&{[n.connectionStatus]:u},"connectionStatusConnected"in n&&{[n.connectionStatusConnected]:u&&l==="connected"}))} .icon=${P({connectionStatus:l,publishing:s})} scale=s slot=content-end></calcite-icon>`}get _renderedItemTemporaryIcon(){let{item:e,showTemporaryLayerIndicators:t,showTemporaryTableIndicators:i,css:n}=this,{layer:s}=e,c=s&&"persistenceEnabled"in s&&(O(s)||!s.persistenceEnabled);return(t||i)&&c?r`<calcite-icon class=${h(n.itemTemporaryIcon)} icon=temporary scale=s slot=content-start title=${this.messages.temporary??o}></calcite-icon>`:null}get _renderedItemToggle(){let{item:e,parent:t,messages:i,visibilityAppearance:n,css:s}=this;if(!("visible"in e)||!("layerVisibility"in i)||!("visibleToggle"in s)||!n)return null;let{visible:c}=e,l=this._getParentVisibilityMode(t);if(l==="inherited")return null;let u=R({visible:c,exclusive:l==="exclusive",visibilityAppearance:n}),d=n==="checkbox",g=i.layerVisibility;return r`<calcite-action class=${h(s.visibleToggle)} .icon=${d?u:void 0} @click=${()=>this._toggleVisibility(e,t)} scale=s .slot=${d?"actions-start":"actions-end"} .text=${g??""} title=${g??o}>${d?null:r`<calcite-icon class=${h(y({[s.visibleIcon]:l!=="exclusive"&&c}))} .icon=${u} scale=s></calcite-icon>`}</calcite-action>`}get _renderedPanel(){let{panel:e}=this.item;return e?.open&&!e.disabled&&!e.flowEnabled?r`<div class=${h(this.css.itemContentBottom)} slot=content-bottom>${e.render()}</div>`:null}get _renderedPanelAction(){let{panel:e}=this.item;if(!e?.visible)return null;let{open:t,title:i,disabled:n}=e,s={icon:e.icon,image:e.image,indicator:!1};return r`<calcite-action .active=${t} .disabled=${n} .icon=${I(s)} @click=${()=>this._togglePanel(e)} scale=s slot=actions-end .text=${i??""} title=${i??void 0??o}>${this._renderFallbackIcon(e)}</calcite-action>`}get _renderedActions(){switch(this._actionsCount){case 0:return null;case 1:return this._singleAction;default:return this._renderedActionMenu}}get _renderedActionMenu(){let{item:e,messages:t}=this,i=t.options;return r`<calcite-action-menu appearance=transparent .label=${t.menu??""} .open=${e.actionsOpen} overlay-positioning=fixed placement=bottom-end scale=s slot=actions-end @calciteActionMenuOpen=${this._onActionMenuOpen}><calcite-action icon=ellipsis scale=s slot=trigger .text=${i??""} title=${i??o}></calcite-action>${this._renderedActionMenuContent}</calcite-action-menu>`}get _renderedActionMenuContent(){return this._filteredSections.toArray().map(e=>r`<calcite-action-group>${e.toArray().map(t=>this._renderAction({action:t,textEnabled:!0}))}</calcite-action-group>`)}get _renderedCatalogFootprintIcon(){let{css:e}=this,t=this.item.layer,i=t?.type==="catalog-footprint",n=t?.type==="sublayer"&&x(t,"footprints");return"itemCatalogIcon"in e&&(i||n)?r`<calcite-icon class=${h(e.itemCatalogIcon)} icon=footprint scale=s slot=content-start></calcite-icon>`:null}get _renderedCatalogDynamicIcon(){let{css:e}=this,t=this.item.layer,i=t?.type==="catalog-dynamic-group",n=t?.type==="sublayer"&&x(t,"layers-in-view");return"itemCatalogIcon"in e&&(i||n)?r`<calcite-icon class=${h(e.itemCatalogIcon)} icon=catalog-dataset scale=s slot=content-start></calcite-icon>`:null}get _renderedCatalogSelectNode(){let{_title:e,item:t,hideCatalogLayerList:i}=this;if(!("visible"in t))return;let{layer:n}=t,s=n?.type==="catalog-dynamic-group";return i&&s?r`<calcite-action .disabled=${!n.visible} icon=chevron-right icon-flip-rtl @click=${()=>this._triggerOnCatalogOpen(t)} scale=s slot=actions-end .text=${e}></calcite-action>`:null}get _renderedChildList(){let{dragEnabled:e,item:t,rootGroupUid:i,listModeDisabled:n,selectionMode:s,displayMode:c}=this;if(!("children"in t))return;let l=[...this.parentTitles??[],t.title],{children:u,layer:d}=t,g=d?.type!=="catalog-dynamic-group"&&N(t),$=n?!1:F(d),m=d?.type==="group",_=!$&&!g&&e&&m,b=e?"childrenSortable"in t&&t.childrenSortable&&k(t):!1;return g||_?r`<calcite-list .canPull=${p=>this.canMove?this.canMove(p,"pull"):!1} .canPut=${p=>this.canMove?this.canMove(p,"put"):!1} data-item=${t??o} data-layer-type=${i??o} .displayMode=${c} .dragEnabled=${b} .group=${m?i:`${i}-${d?.uid}`} .label=${t.title} selection-appearance=border .selectionMode=${s}>${u?.filter(p=>!p.hidden&&(this.showErrors||!p.error)).toArray().map(p=>this._renderItem(p,t,l))}${this._renderedTablesItem}</calcite-list>`:null}get _hasTables(){let{layerTablesEnabled:e}=this,t=this.item.layer;if(!e||!t)return!1;switch(t.type){case"knowledge-graph":return e.includes(t.type)&&"tables"in t&&!!t.tables?.length;case"map-image":case"tile":return e.includes(t.type)&&"subtables"in t&&!!t.subtables?.length;default:return!1}}get _renderedTablesItem(){let{item:e,messages:t,css:i}=this,{layer:n}=e;return"itemTableIcon"in i&&"visible"in e&&"tables"in t&&this._hasTables?r`<calcite-list-item class=${h(i.item)} data-layer-id=${n?.id??o} drag-disabled .label=${t.tables} title=${t.tables??o} @calciteListItemSelect=${()=>this._triggerOnTablesOpen(e)}><calcite-icon class=${h(i.itemTableIcon)} icon=table scale=s slot=content-start></calcite-icon><calcite-icon flip-rtl icon=chevron-right scale=s slot=content-end></calcite-icon></calcite-list-item>`:null}get _renderedItemMessage(){let{item:e,messages:t,css:i}=this;return e.error?r`<div class=${h(i.itemMessage)} slot=content-bottom><calcite-notice icon=exclamation-mark-triangle kind=warning open scale=s width=full><div slot=message>${"tableError"in t?t.tableError:t.layerError}</div></calcite-notice></div>`:"incompatible"in e&&e.incompatible&&"layerIncompatible"in t?r`<div class=${h(i.itemMessage)} slot=content-bottom><calcite-notice icon=exclamation-mark-triangle kind=warning open scale=s tabindex=0 width=full ${f(this._noticeRef)}><div slot=message>${t.layerIncompatible}</div></calcite-notice></div>`:null}get _singleAction(){return this._renderAction({action:q(this._filteredSections),textEnabled:!1})}get _filteredSections(){return this.item.actionsSections.map(e=>e.filter(t=>t.visible))}get _actionsCount(){return this.item.actionsSections.reduce((e,t)=>e+t.length,0)}async destroy(){await this.manager.destroy()}willUpdate(){this._itemRef.value&&this._focusSelectedDragEl(this._itemRef.value,this.item),this._noticeRef.value&&this._setTooltipReference(this._noticeRef.value)}updated(){this._itemRef.value&&this._focusSelectedDragEl(this._itemRef.value,this.item),this._noticeRef.value&&this._removeTooltipReference()}_onActionMenuOpen(e){this.item.actionsOpen=e.currentTarget.open}_setTooltipReference(e){this.handleTooltipReferenceChange?.(this.item.layer?.uid,e)}_removeTooltipReference(){this.handleTooltipReferenceChange?.(this.item.layer?.uid,null)}_triggerAction(e,t){!t||!e||(t.type==="toggle"&&(t.value=!t.value),this.handleAction(t,e))}_triggerOnTablesOpen(e){!e||!this.handleTablesOpen||this.handleTablesOpen(e)}_triggerOnCatalogOpen(e){e&&this.handleCatalogOpen?.(e)}_focusSelectedDragEl(e,t){this.selectedDragItemLayerUid===t.layer?.uid&&(S(e),this.handleSelectedDragItemLayerUidChange?.(null))}_handleCalciteListItemToggle(e,t){e.stopPropagation(),t.open=e.target.expanded}_getParentVisibilityMode(e){return e&&"visibilityMode"in e?e.visibilityMode:null}_handleCalciteListItemSelect(e,t,i){if(G(e.target)!==t)return;let n=this._getParentVisibilityMode(i);this.selectionMode!=="none"||n==="inherited"||this._toggleVisibility(t,i)}_togglePanel(e){e.open=!e.open,e.open&&this.handlePanelOpen()}_toggleVisibility(e,t){!e||!("visible"in e)||this._getParentVisibilityMode(t)==="exclusive"&&e.visible||(e.visible=!e.visible)}render(){let e=this.parentTitles??[],{_title:t,item:i,activeItem:n,selectionMode:s,selectedItems:c,messages:l,parent:u,css:d}=this,g="visibleAtCurrentTimeExtent"in i&&"layerInvisibleAtTime"in l&&!i.visibleAtCurrentTimeExtent?`${t} (${l.layerInvisibleAtTime})`:"visibleAtCurrentScale"in i&&"layerInvisibleAtScale"in l&&!i.visibleAtCurrentScale?`${t} (${l.layerInvisibleAtScale})`:t,$="parent"in i&&i.parent?.layer?.type==="catalog",{layer:m}=i,_="visibleAtCurrentScale"in i&&!i.visibleAtCurrentScale||"visibleAtCurrentTimeExtent"in i&&!i.visibleAtCurrentTimeExtent;return r`<calcite-list-item class=${h(y(d.item,"itemActive"in d&&{[d.itemActive]:n===i}))} data-item=${i??o} data-layer-id=${m?.id??o} .dragDisabled=${!("sortable"in i&&i.sortable)||$} id=${m?.uid??o} .label=${t} .metadata=${{parentTitles:e,_title:t}} .expanded=${"open"in i&&i.open} .selected=${s!=="none"?c.includes(i):!1} title=${g??o} .unavailable=${_} .value=${m?.uid} @calciteListItemSelect=${b=>"visible"in i&&this._handleCalciteListItemSelect(b,i,u)} @calciteListItemToggle=${b=>"open"in i&&this._handleCalciteListItemToggle(b,i)} ${f(this._itemRef)}>${this._renderedCatalogFootprintIcon}${this._renderedCatalogDynamicIcon}${this._renderedItemStatus}${this._renderedItemToggle}${this._renderedCatalogSelectNode}${this._renderedItemTemporaryIcon}${this._renderedChildList}${this._renderedItemMessage}${this._renderedPanel}${this._renderedPanelAction}${this._renderedActions}</calcite-list-item>`}_renderAction(e){let{item:t}=this,{action:i,textEnabled:n}=e;if(!i)return null;let{active:s,disabled:c,title:l,type:u,indicator:d}=i;return r`<calcite-action .active=${u==="toggle"?i.value:!1} data-action-id=${i.id??o} .disabled=${c} .icon=${I(i)} .indicator=${d} .loading=${s} @click=${()=>this._triggerAction(t,i)} scale=s slot=${(n?void 0:"actions-end")??o} .text=${l??""} .textEnabled=${n} title=${l??void 0??o}>${this._renderFallbackIcon(i)}</calcite-action>`}_renderFallbackIcon(e){let{css:t}=this,{icon:i}=e;if(i)return null;let n="image"in e?e.image:void 0,s={[t.itemActionImage]:!!n};return n?r`<span aria-hidden=true class=${h(y(t.itemActionIcon,s))} style=${A(L(n))}></span>`:null}_renderItem(e,t,i=[]){return r`<arcgis-layer-list-item .activeItem=${this.activeItem} .canMove=${this.canMove} .css=${this.css} .displayMode=${this.displayMode} .dragEnabled=${this.dragEnabled} .item=${e} .layerTablesEnabled=${this.layerTablesEnabled} .listModeDisabled=${this.listModeDisabled} .parent=${t} .parentTitles=${i} .rootGroupUid=${this.rootGroupUid} .selectedDragItemLayerUid=${this.selectedDragItemLayerUid} .selectedItems=${this.selectedItems} .selectionMode=${this.selectionMode} .visibilityAppearance=${this.visibilityAppearance} .handleAction=${this.handleAction} .handleCatalogOpen=${this.handleCatalogOpen} .handlePanelOpen=${this.handlePanelOpen} .handleSelectedDragItemLayerUidChange=${this.handleSelectedDragItemLayerUidChange} .handleTablesOpen=${this.handleTablesOpen} .handleTooltipReferenceChange=${this.handleTooltipReferenceChange} .hideCatalogLayerList=${this.hideCatalogLayerList} .showCloseButton=${this.showCloseButton} .showCollapseButton=${this.showCollapseButton} .showErrors=${this.showErrors} .showFilter=${this.showFilter} .hideFlow=${this.hideFlow} .showHeading=${this.showHeading} .hideStatusIndicators=${this.hideStatusIndicators} .showTemporaryLayerIndicators=${this.showTemporaryLayerIndicators} .showTemporaryTableIndicators=${this.showTemporaryTableIndicators}></arcgis-layer-list-item>`}};M("arcgis-layer-list-item",C);return C},"layers/catalog/catalogUtils",a,b,c)
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.101 */
4
- import"./BRITVT2J.js";var r={firstDayOfWeek:1,_decimalSeparator:",",_thousandSeparator:" ",_percentPrefix:null,_percentSuffix:"%",_big_number_suffix_3:"k",_big_number_suffix_6:"M",_big_number_suffix_9:"G",_big_number_suffix_12:"T",_big_number_suffix_15:"P",_big_number_suffix_18:"E",_big_number_suffix_21:"Z",_big_number_suffix_24:"Y",_small_number_suffix_3:"m",_small_number_suffix_6:"\u03BC",_small_number_suffix_9:"n",_small_number_suffix_12:"p",_small_number_suffix_15:"f",_small_number_suffix_18:"a",_small_number_suffix_21:"z",_small_number_suffix_24:"y",_byte_suffix_B:"B",_byte_suffix_KB:"KB",_byte_suffix_MB:"MB",_byte_suffix_GB:"GB",_byte_suffix_TB:"TB",_byte_suffix_PB:"PB",_date:"yyyy-MM-dd",_date_millisecond:"mm:ss SSS",_date_millisecond_full:"HH:mm:ss SSS",_date_second:"HH:mm:ss",_date_second_full:"HH:mm:ss",_date_minute:"HH:mm",_date_minute_full:"HH:mm - MMM dd, yyyy",_date_hour:"HH:mm",_date_hour_short:"HH",_date_hour_full:"HH:mm - MMM dd, yyyy",_date_day:"MMM dd",_date_day_full:"MMM dd, yyyy",_date_week:"ww",_date_week_full:"MMM dd, yyyy",_date_month:"MMM",_date_month_full:"MMM, yyyy",_date_year:"yyyy",_duration_millisecond:"SSS",_duration_millisecond_second:"ss.SSS",_duration_millisecond_minute:"mm:ss SSS",_duration_millisecond_hour:"hh:mm:ss SSS",_duration_millisecond_day:"d'd' mm:ss SSS",_duration_millisecond_week:"d'd' mm:ss SSS",_duration_millisecond_month:"M'm' dd'd' mm:ss SSS",_duration_millisecond_year:"y'y' MM'm' dd'd' mm:ss SSS",_duration_second:"ss",_duration_second_minute:"mm:ss",_duration_second_hour:"hh:mm:ss",_duration_second_day:"d'd' hh:mm:ss",_duration_second_week:"d'd' hh:mm:ss",_duration_second_month:"M'm' dd'd' hh:mm:ss",_duration_second_year:"y'y' MM'm' dd'd' hh:mm:ss",_duration_minute:"mm",_duration_minute_hour:"hh:mm",_duration_minute_day:"d'd' hh:mm",_duration_minute_week:"d'd' hh:mm",_duration_minute_month:"M'm' dd'd' hh:mm",_duration_minute_year:"y'y' MM'm' dd'd' hh:mm",_duration_hour:"hh'h'",_duration_hour_day:"d'd' hh'h'",_duration_hour_week:"d'd' hh'h'",_duration_hour_month:"M'm' dd'd' hh'h'",_duration_hour_year:"y'y' MM'm' dd'd' hh'h'",_duration_day:"d'd'",_duration_day_week:"d'd'",_duration_day_month:"M'm' dd'd'",_duration_day_year:"y'y' MM'm' dd'd'",_duration_week:"w'w'",_duration_week_month:"w'w'",_duration_week_year:"w'w'",_duration_month:"M'm'",_duration_month_year:"y'y' MM'm'",_duration_year:"y'y'",_era_ad:"AD",_era_bc:"BC",A:"",P:"",AM:"",PM:"","A.M.":"","P.M.":"",January:"\u044F\u043D\u0443\u0430\u0440\u0438",February:"\u0444\u0435\u0432\u0440\u0443\u0430\u0440\u0438",March:"\u043C\u0430\u0440\u0442",April:"\u0430\u043F\u0440\u0438\u043B",May:"\u043C\u0430\u0439",June:"\u044E\u043D\u0438",July:"\u044E\u043B\u0438",August:"\u0430\u0432\u0433\u0443\u0441\u0442",September:"\u0441\u0435\u043F\u0442\u0435\u043C\u0432\u0440\u0438",October:"\u043E\u043A\u0442\u043E\u043C\u0432\u0440\u0438",November:"\u043D\u043E\u0435\u043C\u0432\u0440\u0438",December:"\u0434\u0435\u043A\u0435\u043C\u0432\u0440\u0438",Jan:"\u044F\u043D\u0443\u0430\u0440\u0438",Feb:"\u0444\u0435\u0432\u0440\u0443\u0430\u0440\u0438",Mar:"\u043C\u0430\u0440\u0442",Apr:"\u0430\u043F\u0440\u0438\u043B","May (short)":"\u043C\u0430\u0439",Jun:"\u044E\u043D\u0438",Jul:"\u044E\u043B\u0438",Aug:"\u0430\u0432\u0433\u0443\u0441\u0442",Sep:"\u0441\u0435\u043F\u0442\u0435\u043C\u0432\u0440\u0438",Oct:"\u043E\u043A\u0442\u043E\u043C\u0432\u0440\u0438",Nov:"\u043D\u043E\u0435\u043C\u0432\u0440\u0438",Dec:"\u0434\u0435\u043A\u0435\u043C\u0432\u0440\u0438",Sunday:"\u043D\u0435\u0434\u0435\u043B\u044F",Monday:"\u043F\u043E\u043D\u0435\u0434\u0435\u043B\u043D\u0438\u043A",Tuesday:"\u0432\u0442\u043E\u0440\u043D\u0438\u043A",Wednesday:"\u0441\u0440\u044F\u0434\u0430",Thursday:"\u0447\u0435\u0442\u0432\u044A\u0440\u0442\u044A\u043A",Friday:"\u043F\u0435\u0442\u044A\u043A",Saturday:"\u0441\u044A\u0431\u043E\u0442\u0430",Sun:"\u043D\u0434",Mon:"\u043F\u043D",Tues:"\u0432\u0442",Wed:"\u0441\u0440",Thu:"\u0447\u0442",Fri:"\u043F\u0442",Sat:"\u0441\u0431",_dateOrd:function(_){let e="th";if(_<11||_>13)switch(_%10){case 1:e="st";break;case 2:e="nd";break;case 3:e="rd";break}return e},"Zoom Out":"\u041E\u0442\u0434\u0430\u043B\u0435\u0447\u0430\u0432\u0430\u043D\u0435",Play:"",Stop:"",Legend:"","Press ENTER to toggle":"",Loading:"",Home:"",Chart:"","Serial chart":"","X/Y chart":"","Pie chart":"","Gauge chart":"","Radar chart":"","Sankey diagram":"","Flow diagram":"","Chord diagram":"","TreeMap chart":"","Force directed tree":"","Sliced chart":"",Series:"","Candlestick Series":"","OHLC Series":"","Column Series":"","Line Series":"","Pie Slice Series":"","Funnel Series":"","Pyramid Series":"","X/Y Series":"",Map:"","Press ENTER to zoom in":"","Press ENTER to zoom out":"","Use arrow keys to zoom in and out":"","Use plus and minus keys on your keyboard to zoom in and out":"",Export:"",Image:"",Data:"",Print:"","Press ENTER or use arrow keys to navigate":"","Press ENTER to open":"","Press ENTER to print.":"","Press ENTER to export as %1.":"","(Press ESC to close this message)":"","Image Export Complete":"","Export operation took longer than expected. Something might have gone wrong.":"","Saved from":"",PNG:"",JPG:"",GIF:"",SVG:"",PDF:"",JSON:"",CSV:"",XLSX:"",HTML:"","Use TAB to select grip buttons or left and right arrows to change selection":"","Use left and right arrows to move selection":"","Use left and right arrows to move left selection":"","Use left and right arrows to move right selection":"","Use TAB select grip buttons or up and down arrows to change selection":"","Use up and down arrows to move selection":"","Use up and down arrows to move lower selection":"","Use up and down arrows to move upper selection":"","From %1 to %2":"\u041E\u0442 %1 \u0434\u043E %2","From %1":"\u041E\u0442 %1","To %1":"\u0414\u043E %1","No parser available for file: %1":"","Error parsing file: %1":"","Unable to load file: %1":"","Invalid date":"",Close:"",Minimize:"",Confirm:""};export{r as default};
3
+ v5.0.0-next.103 */
4
+ import"./4OQQ5EMA.js";var r={firstDayOfWeek:1,_decimalSeparator:",",_thousandSeparator:" ",_percentPrefix:null,_percentSuffix:"%",_big_number_suffix_3:"k",_big_number_suffix_6:"M",_big_number_suffix_9:"G",_big_number_suffix_12:"T",_big_number_suffix_15:"P",_big_number_suffix_18:"E",_big_number_suffix_21:"Z",_big_number_suffix_24:"Y",_small_number_suffix_3:"m",_small_number_suffix_6:"\u03BC",_small_number_suffix_9:"n",_small_number_suffix_12:"p",_small_number_suffix_15:"f",_small_number_suffix_18:"a",_small_number_suffix_21:"z",_small_number_suffix_24:"y",_byte_suffix_B:"B",_byte_suffix_KB:"KB",_byte_suffix_MB:"MB",_byte_suffix_GB:"GB",_byte_suffix_TB:"TB",_byte_suffix_PB:"PB",_date:"yyyy-MM-dd",_date_millisecond:"mm:ss SSS",_date_millisecond_full:"HH:mm:ss SSS",_date_second:"HH:mm:ss",_date_second_full:"HH:mm:ss",_date_minute:"HH:mm",_date_minute_full:"HH:mm - MMM dd, yyyy",_date_hour:"HH:mm",_date_hour_short:"HH",_date_hour_full:"HH:mm - MMM dd, yyyy",_date_day:"MMM dd",_date_day_full:"MMM dd, yyyy",_date_week:"ww",_date_week_full:"MMM dd, yyyy",_date_month:"MMM",_date_month_full:"MMM, yyyy",_date_year:"yyyy",_duration_millisecond:"SSS",_duration_millisecond_second:"ss.SSS",_duration_millisecond_minute:"mm:ss SSS",_duration_millisecond_hour:"hh:mm:ss SSS",_duration_millisecond_day:"d'd' mm:ss SSS",_duration_millisecond_week:"d'd' mm:ss SSS",_duration_millisecond_month:"M'm' dd'd' mm:ss SSS",_duration_millisecond_year:"y'y' MM'm' dd'd' mm:ss SSS",_duration_second:"ss",_duration_second_minute:"mm:ss",_duration_second_hour:"hh:mm:ss",_duration_second_day:"d'd' hh:mm:ss",_duration_second_week:"d'd' hh:mm:ss",_duration_second_month:"M'm' dd'd' hh:mm:ss",_duration_second_year:"y'y' MM'm' dd'd' hh:mm:ss",_duration_minute:"mm",_duration_minute_hour:"hh:mm",_duration_minute_day:"d'd' hh:mm",_duration_minute_week:"d'd' hh:mm",_duration_minute_month:"M'm' dd'd' hh:mm",_duration_minute_year:"y'y' MM'm' dd'd' hh:mm",_duration_hour:"hh'h'",_duration_hour_day:"d'd' hh'h'",_duration_hour_week:"d'd' hh'h'",_duration_hour_month:"M'm' dd'd' hh'h'",_duration_hour_year:"y'y' MM'm' dd'd' hh'h'",_duration_day:"d'd'",_duration_day_week:"d'd'",_duration_day_month:"M'm' dd'd'",_duration_day_year:"y'y' MM'm' dd'd'",_duration_week:"w'w'",_duration_week_month:"w'w'",_duration_week_year:"w'w'",_duration_month:"M'm'",_duration_month_year:"y'y' MM'm'",_duration_year:"y'y'",_era_ad:"AD",_era_bc:"BC",A:"",P:"",AM:"",PM:"","A.M.":"","P.M.":"",January:"\u044F\u043D\u0443\u0430\u0440\u0438",February:"\u0444\u0435\u0432\u0440\u0443\u0430\u0440\u0438",March:"\u043C\u0430\u0440\u0442",April:"\u0430\u043F\u0440\u0438\u043B",May:"\u043C\u0430\u0439",June:"\u044E\u043D\u0438",July:"\u044E\u043B\u0438",August:"\u0430\u0432\u0433\u0443\u0441\u0442",September:"\u0441\u0435\u043F\u0442\u0435\u043C\u0432\u0440\u0438",October:"\u043E\u043A\u0442\u043E\u043C\u0432\u0440\u0438",November:"\u043D\u043E\u0435\u043C\u0432\u0440\u0438",December:"\u0434\u0435\u043A\u0435\u043C\u0432\u0440\u0438",Jan:"\u044F\u043D\u0443\u0430\u0440\u0438",Feb:"\u0444\u0435\u0432\u0440\u0443\u0430\u0440\u0438",Mar:"\u043C\u0430\u0440\u0442",Apr:"\u0430\u043F\u0440\u0438\u043B","May (short)":"\u043C\u0430\u0439",Jun:"\u044E\u043D\u0438",Jul:"\u044E\u043B\u0438",Aug:"\u0430\u0432\u0433\u0443\u0441\u0442",Sep:"\u0441\u0435\u043F\u0442\u0435\u043C\u0432\u0440\u0438",Oct:"\u043E\u043A\u0442\u043E\u043C\u0432\u0440\u0438",Nov:"\u043D\u043E\u0435\u043C\u0432\u0440\u0438",Dec:"\u0434\u0435\u043A\u0435\u043C\u0432\u0440\u0438",Sunday:"\u043D\u0435\u0434\u0435\u043B\u044F",Monday:"\u043F\u043E\u043D\u0435\u0434\u0435\u043B\u043D\u0438\u043A",Tuesday:"\u0432\u0442\u043E\u0440\u043D\u0438\u043A",Wednesday:"\u0441\u0440\u044F\u0434\u0430",Thursday:"\u0447\u0435\u0442\u0432\u044A\u0440\u0442\u044A\u043A",Friday:"\u043F\u0435\u0442\u044A\u043A",Saturday:"\u0441\u044A\u0431\u043E\u0442\u0430",Sun:"\u043D\u0434",Mon:"\u043F\u043D",Tues:"\u0432\u0442",Wed:"\u0441\u0440",Thu:"\u0447\u0442",Fri:"\u043F\u0442",Sat:"\u0441\u0431",_dateOrd:function(_){let e="th";if(_<11||_>13)switch(_%10){case 1:e="st";break;case 2:e="nd";break;case 3:e="rd";break}return e},"Zoom Out":"\u041E\u0442\u0434\u0430\u043B\u0435\u0447\u0430\u0432\u0430\u043D\u0435",Play:"",Stop:"",Legend:"","Press ENTER to toggle":"",Loading:"",Home:"",Chart:"","Serial chart":"","X/Y chart":"","Pie chart":"","Gauge chart":"","Radar chart":"","Sankey diagram":"","Flow diagram":"","Chord diagram":"","TreeMap chart":"","Force directed tree":"","Sliced chart":"",Series:"","Candlestick Series":"","OHLC Series":"","Column Series":"","Line Series":"","Pie Slice Series":"","Funnel Series":"","Pyramid Series":"","X/Y Series":"",Map:"","Press ENTER to zoom in":"","Press ENTER to zoom out":"","Use arrow keys to zoom in and out":"","Use plus and minus keys on your keyboard to zoom in and out":"",Export:"",Image:"",Data:"",Print:"","Press ENTER or use arrow keys to navigate":"","Press ENTER to open":"","Press ENTER to print.":"","Press ENTER to export as %1.":"","(Press ESC to close this message)":"","Image Export Complete":"","Export operation took longer than expected. Something might have gone wrong.":"","Saved from":"",PNG:"",JPG:"",GIF:"",SVG:"",PDF:"",JSON:"",CSV:"",XLSX:"",HTML:"","Use TAB to select grip buttons or left and right arrows to change selection":"","Use left and right arrows to move selection":"","Use left and right arrows to move left selection":"","Use left and right arrows to move right selection":"","Use TAB select grip buttons or up and down arrows to change selection":"","Use up and down arrows to move selection":"","Use up and down arrows to move lower selection":"","Use up and down arrows to move upper selection":"","From %1 to %2":"\u041E\u0442 %1 \u0434\u043E %2","From %1":"\u041E\u0442 %1","To %1":"\u0414\u043E %1","No parser available for file: %1":"","Error parsing file: %1":"","Unable to load file: %1":"","Invalid date":"",Close:"",Minimize:"",Confirm:""};export{r as default};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.101 */
4
- import{a as x}from"./LLT2KCGX.js";import"./R2MSJOQU.js";import"./VEJGGFUF.js";import"./NON4B5X3.js";import{N as T,O as p,T as S,a as v,b as g,p as c,x as y}from"./6M2WVLLN.js";import"./BRITVT2J.js";export default $arcgis.t(([I,m,h,C,P,G,A,_])=>{var B=v`.arcgis-utility-network-trace-location calcite-block{--calcite-block-content-space: 0;--calcite-block-border-color: transparent;margin:0}.arcgis-utility-network-trace-location calcite-notice{padding:var(--calcite-spacing-xs)}.arcgis-utility-network-trace-location__add-location-button{--calcite-button-border-color: var(--calcite-color-border-1);--calcite-button-icon-color: var(--calcite-color-text-1);--calcite-button-text-color: var(--calcite-color-text-1)}.arcgis-utility-network-trace-location__button-container{justify-content:center;display:grid}.arcgis-utility-network-trace-location__clear-button{--calcite-button-border-color: transparent}`,f="arcgis-utility-network-trace-location",b={base:f,buttonContainer:`${f}__button-container`,clearButton:`${f}__clear-button`,addLocationButton:`${f}__add-location-button`},L=class extends T{constructor(){super(...arguments),this.messages=x({blocking:!0}),this.isSelectWaiting=!1,this.traceLocationType="starting-point",this.spatialTolerance=.05,this.arcgisTraceLocationChange=y(),this.arcgisTraceLocationSelectEnd=y(),this.arcgisTraceLocationSelectStart=y()}static{this.properties={isSelectWaiting:16,beforeTraceLocationSelectStart:0,view:0,traceLocationType:1,traceLocations:0,filterLayers:0,sketchViewModel:0,flagLayer:0,spatialTolerance:9,utilityNetwork:0}}static{this.styles=B}async load(){h.isLoaded()||await h.load()}_createPolyline(e,t){return new C({hasZ:!1,hasM:!0,paths:e,spatialReference:new P({wkid:t})})}_calculatePercentAlong(e,t){let r=e.spatialReference,a=this._createPolyline(e.paths,r.wkid),i=t.x-.5,o=t.x+.5,n=t.y-.5,s=t.y+.5,l=[[[i,n],[o,s]]],w=this._createPolyline(l,t.spatialReference.wkid),u=h.execute(w,r);if(!u)return c("error",this,"Unable to project flag geometry to source geometry spatial reference."),.5;let d=I.execute(a,u);if(d.length>0){let $=m.execute(a,{unit:"feet"}),k;return d[0].paths[0][0][0]===a.paths[0][0][0]?k=m.execute(d[0],{unit:"feet"}):k=m.execute(d[1],{unit:"feet"}),k/$}return c("warn",this,"Unable to cut the source geometry with the flag geometry."),.5}async _ensureNecessaryAttributes(e){let t=(e.layer?.type,e.layer),r=t.fieldsIndex?.get("assetgroup")??!1,a=t.fieldsIndex?.get("assetgroup")?.name??"assetgroup",i=t.fieldsIndex?.get("assettype")??!1,o=t.fieldsIndex?.get("assettype")?.name??"assettype",n=e.getGlobalId(),s=e.getObjectId(),l=r?!!e.getAttribute(a):!0,w=i?!!e.getAttribute(o):!0;if(n&&s&&l&&w)return e;let u=t.createQuery();return u.objectIds=[s],(await t.queryFeatures(u))?.features[0]||null}async _ensureNecessaryAttributesAndGenerateTraceLocation(e,t){let{view:r}=this;if(!r||e.length===0){c("error",this,"`view` is unavailable or there are no results to process.");return}let a=e[0].graphic,i=await this._ensureNecessaryAttributes(a);if(!i){c("error",this,"Unable to ensure necessary attributes on the selected graphic.");return}this._generateTraceLocation(i,t)}_createFlagSymbol(){let{traceLocationType:e}=this,t=[244,21,21,.6],r=[21,244,21,.6];return e==="stopping-point"?new _({color:t,style:"x",size:12,outline:{color:t,width:2}}):e==="barrier"?new _({color:t,style:"square",size:12,outline:{color:t,width:0}}):new _({color:r,style:"circle",size:12,outline:{color:r,width:0}})}_addFlagGraphic(e,t,r){let{flagLayer:a,view:i}=this;if(!a||!i)return c("error",this,"The properties `flagLayer` and `view` are required but either one or both are missing."),null;let o=t.geometry?.type;if(this.traceLocations?.some(l=>l.traceLocation.globalId===e)&&o!=="polyline")return c("warn",this,"A flag with the same globalId already exists."),null;let n=this._createFlagSymbol(),s=new G({geometry:r,symbol:n,attributes:t.attributes});return a.add(s),s}async _generateItemTitle(e){let{messages:t}=this,r=(e.layer?.type,e.layer);return("getFeatureTitle"in r?await r.getFeatureTitle(e):null)||e?.getObjectId()?.toString()||t.labels.unknown}async _generateFlagInfo(e,t){let{traceLocationType:r,utilityNetwork:a}=this,i=e.getGlobalId()??"",o=e.geometry?.type,n=await this._generateItemTitle(e);if(o==="point"||o==="polygon"){let s=a?.getTerminalConfiguration(e),l=s?s.terminals[0].id:1;return{traceLocation:new A({type:r,isFilterBarrier:!1,globalId:i,terminalId:l}),flagProperties:{title:n,expanded:!1,terminalConfiguration:s??void 0,selectedTerminals:s?new Set([l]):void 0},spatialProperties:{mapPoint:t,mapGraphic:e}}}else if(o==="polyline"){let s=this._calculatePercentAlong(e.geometry,t);return{traceLocation:new A({type:r,isFilterBarrier:!1,globalId:i,percentAlong:s}),flagProperties:{title:n,expanded:!1},spatialProperties:{mapPoint:t,mapGraphic:e}}}return null}async _generateTraceLocation(e,t){let{traceLocations:r}=this,a=e.getGlobalId()??"",i=e.geometry?.type,o=await this._generateFlagInfo(e,t);if(!o){c("error",this,"Unable to generate flag info for trace location.");return}let n=r?.filter(s=>s.spatialProperties.mapGraphic?.getGlobalId()===a)??[];if(n.length===0||i==="polyline"){if(i==="polyline"&&n.length>0&&n.some(l=>Math.abs(l.traceLocation.percentAlong-o.traceLocation.percentAlong)<=this.spatialTolerance)){c("warn",this,"A flag with the same globalId already exists within tolerance.");return}let s=this._addFlagGraphic(a,e,t);if(!s){c("warn",this,"Unable to add flag graphic.");return}o.spatialProperties.flagGraphic=s,r?.add(o);return}c("warn",this,"A flag with the same globalId already exists.")}async _hitTest(e){let{view:t,utilityNetwork:r}=this;if(!t||!r){c("error",this,"Either `utilityNetwork` or `view` is unavailable for hit test.");return}let a=e.graphic?.geometry,i=this.view?.toScreen(a);if(!i){c("warn",this,"No screen point available for hit test.");return}let o=(await t.hitTest(i,{include:this.filterLayers})).results.filter(n=>n.type==="graphic"&&n?.layer&&n.graphic);if(o.length===0){c("info",this,"No usable hit test results found.");return}this._ensureNecessaryAttributesAndGenerateTraceLocation(o,a)}_resetAfterSketch(){let{view:e}=this;if(!e){c("error",this,"View is not available to reset after sketch.");return}this._clickHandler?.remove(),this._clickHandler=void 0,"acquireCursor"in e&&e.acquireCursor("default"),this.arcgisTraceLocationSelectEnd.emit()}_handleSketchComplete(e){let{sketchViewModel:t,view:r}=this;if(!t||!r){c("error",this,"Either `sketchViewModel` or `view` is not available in sketch complete handler.");return}e.state==="complete"&&e.graphic&&(t.layer.remove(e.graphic),this._hitTest(e)),(e.state==="cancel"||e.state==="complete")&&this._resetAfterSketch()}async _handleAddButtonClick(){let{view:e,sketchViewModel:t}=this;if(!(e&&t)){c("error",this,"Cannot add trace location; `view` not found.");return}if(this.beforeTraceLocationSelectStart){this.isSelectWaiting=!0;try{await this.beforeTraceLocationSelectStart()}finally{this.isSelectWaiting=!1}}this.arcgisTraceLocationSelectStart.emit({cancelSelect:()=>t.cancel()}).defaultPrevented||(this._clickHandler?.remove(),this._clickHandler=t.on("create",this._handleSketchComplete.bind(this)),"acquireCursor"in e&&e.acquireCursor("crosshair"),this.sketchViewModel?.create("point"))}_handleClearButtonClick(){let{flagLayer:e,traceLocations:t}=this;t?.forEach(r=>{r.spatialProperties.flagGraphic&&e&&e.remove(r.spatialProperties.flagGraphic)}),t?.removeAll()}renderAddLocationBlock(){let{traceLocationType:e,messages:t,traceLocations:r}=this,a=e==="starting-point"?t.types.startingPoint:e==="barrier"?t.types.barrier:t.types.stoppingPoint,i=a.heading,o=a.description,n=a.buttonText;return g`<calcite-block .heading=${i} .label=${i} expanded .description=${o}>${r?.length?g`<calcite-button class=${p(b.clearButton)} slot=actions-end appearance=transparent .label=${t.buttons.clear} @click=${()=>this._handleClearButtonClick()}>${t.buttons.clear}</calcite-button>`:null}<arcgis-utility-network-trace-location-list .traceLocations=${r} .traceLocationType=${e}></arcgis-utility-network-trace-location-list><div class=${p(b.buttonContainer)}><calcite-button .loading=${this.isSelectWaiting} class=${p(b.addLocationButton)} icon-start=select appearance=outline .label=${n} @click=${()=>this._handleAddButtonClick()}>${n}</calcite-button></div></calcite-block>`}render(){return g`<div class=${p(b.base)}>${this.renderAddLocationBlock()}</div>`}};S("arcgis-utility-network-trace-location",L);return L},"geometry/operators/cutOperator","geometry/operators/lengthOperator","geometry/operators/projectOperator","geometry/Polyline","geometry/SpatialReference","Graphic","rest/networks/support/TraceLocation","symbols/SimpleMarkerSymbol")
3
+ v5.0.0-next.103 */
4
+ import{a as x}from"./NB6BHH2K.js";import"./XVPQRCKH.js";import"./7FEA5YTR.js";import"./SAGTCWIE.js";import{N as T,O as p,T as S,a as v,b as g,p as c,x as y}from"./OFFKYLYZ.js";import"./4OQQ5EMA.js";export default $arcgis.t(([I,m,h,C,P,G,A,_])=>{var B=v`.arcgis-utility-network-trace-location calcite-block{--calcite-block-content-space: 0;--calcite-block-border-color: transparent;margin:0}.arcgis-utility-network-trace-location calcite-notice{padding:var(--calcite-spacing-xs)}.arcgis-utility-network-trace-location__add-location-button{--calcite-button-border-color: var(--calcite-color-border-1);--calcite-button-icon-color: var(--calcite-color-text-1);--calcite-button-text-color: var(--calcite-color-text-1)}.arcgis-utility-network-trace-location__button-container{justify-content:center;display:grid}.arcgis-utility-network-trace-location__clear-button{--calcite-button-border-color: transparent}`,f="arcgis-utility-network-trace-location",b={base:f,buttonContainer:`${f}__button-container`,clearButton:`${f}__clear-button`,addLocationButton:`${f}__add-location-button`},L=class extends T{constructor(){super(...arguments),this.messages=x({blocking:!0}),this.isSelectWaiting=!1,this.traceLocationType="starting-point",this.spatialTolerance=.05,this.arcgisTraceLocationChange=y(),this.arcgisTraceLocationSelectEnd=y(),this.arcgisTraceLocationSelectStart=y()}static{this.properties={isSelectWaiting:16,beforeTraceLocationSelectStart:0,view:0,traceLocationType:1,traceLocations:0,filterLayers:0,sketchViewModel:0,flagLayer:0,spatialTolerance:9,utilityNetwork:0}}static{this.styles=B}async load(){h.isLoaded()||await h.load()}_createPolyline(e,t){return new C({hasZ:!1,hasM:!0,paths:e,spatialReference:new P({wkid:t})})}_calculatePercentAlong(e,t){let r=e.spatialReference,a=this._createPolyline(e.paths,r.wkid),i=t.x-.5,o=t.x+.5,n=t.y-.5,s=t.y+.5,l=[[[i,n],[o,s]]],w=this._createPolyline(l,t.spatialReference.wkid),u=h.execute(w,r);if(!u)return c("error",this,"Unable to project flag geometry to source geometry spatial reference."),.5;let d=I.execute(a,u);if(d.length>0){let $=m.execute(a,{unit:"feet"}),k;return d[0].paths[0][0][0]===a.paths[0][0][0]?k=m.execute(d[0],{unit:"feet"}):k=m.execute(d[1],{unit:"feet"}),k/$}return c("warn",this,"Unable to cut the source geometry with the flag geometry."),.5}async _ensureNecessaryAttributes(e){let t=(e.layer?.type,e.layer),r=t.fieldsIndex?.get("assetgroup")??!1,a=t.fieldsIndex?.get("assetgroup")?.name??"assetgroup",i=t.fieldsIndex?.get("assettype")??!1,o=t.fieldsIndex?.get("assettype")?.name??"assettype",n=e.getGlobalId(),s=e.getObjectId(),l=r?!!e.getAttribute(a):!0,w=i?!!e.getAttribute(o):!0;if(n&&s&&l&&w)return e;let u=t.createQuery();return u.objectIds=[s],(await t.queryFeatures(u))?.features[0]||null}async _ensureNecessaryAttributesAndGenerateTraceLocation(e,t){let{view:r}=this;if(!r||e.length===0){c("error",this,"`view` is unavailable or there are no results to process.");return}let a=e[0].graphic,i=await this._ensureNecessaryAttributes(a);if(!i){c("error",this,"Unable to ensure necessary attributes on the selected graphic.");return}this._generateTraceLocation(i,t)}_createFlagSymbol(){let{traceLocationType:e}=this,t=[244,21,21,.6],r=[21,244,21,.6];return e==="stopping-point"?new _({color:t,style:"x",size:12,outline:{color:t,width:2}}):e==="barrier"?new _({color:t,style:"square",size:12,outline:{color:t,width:0}}):new _({color:r,style:"circle",size:12,outline:{color:r,width:0}})}_addFlagGraphic(e,t,r){let{flagLayer:a,view:i}=this;if(!a||!i)return c("error",this,"The properties `flagLayer` and `view` are required but either one or both are missing."),null;let o=t.geometry?.type;if(this.traceLocations?.some(l=>l.traceLocation.globalId===e)&&o!=="polyline")return c("warn",this,"A flag with the same globalId already exists."),null;let n=this._createFlagSymbol(),s=new G({geometry:r,symbol:n,attributes:t.attributes});return a.add(s),s}async _generateItemTitle(e){let{messages:t}=this,r=(e.layer?.type,e.layer);return("getFeatureTitle"in r?await r.getFeatureTitle(e):null)||e?.getObjectId()?.toString()||t.labels.unknown}async _generateFlagInfo(e,t){let{traceLocationType:r,utilityNetwork:a}=this,i=e.getGlobalId()??"",o=e.geometry?.type,n=await this._generateItemTitle(e);if(o==="point"||o==="polygon"){let s=a?.getTerminalConfiguration(e),l=s?s.terminals[0].id:1;return{traceLocation:new A({type:r,isFilterBarrier:!1,globalId:i,terminalId:l}),flagProperties:{title:n,expanded:!1,terminalConfiguration:s??void 0,selectedTerminals:s?new Set([l]):void 0},spatialProperties:{mapPoint:t,mapGraphic:e}}}else if(o==="polyline"){let s=this._calculatePercentAlong(e.geometry,t);return{traceLocation:new A({type:r,isFilterBarrier:!1,globalId:i,percentAlong:s}),flagProperties:{title:n,expanded:!1},spatialProperties:{mapPoint:t,mapGraphic:e}}}return null}async _generateTraceLocation(e,t){let{traceLocations:r}=this,a=e.getGlobalId()??"",i=e.geometry?.type,o=await this._generateFlagInfo(e,t);if(!o){c("error",this,"Unable to generate flag info for trace location.");return}let n=r?.filter(s=>s.spatialProperties.mapGraphic?.getGlobalId()===a)??[];if(n.length===0||i==="polyline"){if(i==="polyline"&&n.length>0&&n.some(l=>Math.abs(l.traceLocation.percentAlong-o.traceLocation.percentAlong)<=this.spatialTolerance)){c("warn",this,"A flag with the same globalId already exists within tolerance.");return}let s=this._addFlagGraphic(a,e,t);if(!s){c("warn",this,"Unable to add flag graphic.");return}o.spatialProperties.flagGraphic=s,r?.add(o);return}c("warn",this,"A flag with the same globalId already exists.")}async _hitTest(e){let{view:t,utilityNetwork:r}=this;if(!t||!r){c("error",this,"Either `utilityNetwork` or `view` is unavailable for hit test.");return}let a=e.graphic?.geometry,i=this.view?.toScreen(a);if(!i){c("warn",this,"No screen point available for hit test.");return}let o=(await t.hitTest(i,{include:this.filterLayers})).results.filter(n=>n.type==="graphic"&&n?.layer&&n.graphic);if(o.length===0){c("info",this,"No usable hit test results found.");return}this._ensureNecessaryAttributesAndGenerateTraceLocation(o,a)}_resetAfterSketch(){let{view:e}=this;if(!e){c("error",this,"View is not available to reset after sketch.");return}this._clickHandler?.remove(),this._clickHandler=void 0,"acquireCursor"in e&&e.acquireCursor("default"),this.arcgisTraceLocationSelectEnd.emit()}_handleSketchComplete(e){let{sketchViewModel:t,view:r}=this;if(!t||!r){c("error",this,"Either `sketchViewModel` or `view` is not available in sketch complete handler.");return}e.state==="complete"&&e.graphic&&(t.layer.remove(e.graphic),this._hitTest(e)),(e.state==="cancel"||e.state==="complete")&&this._resetAfterSketch()}async _handleAddButtonClick(){let{view:e,sketchViewModel:t}=this;if(!(e&&t)){c("error",this,"Cannot add trace location; `view` not found.");return}if(this.beforeTraceLocationSelectStart){this.isSelectWaiting=!0;try{await this.beforeTraceLocationSelectStart()}finally{this.isSelectWaiting=!1}}this.arcgisTraceLocationSelectStart.emit({cancelSelect:()=>t.cancel()}).defaultPrevented||(this._clickHandler?.remove(),this._clickHandler=t.on("create",this._handleSketchComplete.bind(this)),"acquireCursor"in e&&e.acquireCursor("crosshair"),this.sketchViewModel?.create("point"))}_handleClearButtonClick(){let{flagLayer:e,traceLocations:t}=this;t?.forEach(r=>{r.spatialProperties.flagGraphic&&e&&e.remove(r.spatialProperties.flagGraphic)}),t?.removeAll()}renderAddLocationBlock(){let{traceLocationType:e,messages:t,traceLocations:r}=this,a=e==="starting-point"?t.types.startingPoint:e==="barrier"?t.types.barrier:t.types.stoppingPoint,i=a.heading,o=a.description,n=a.buttonText;return g`<calcite-block .heading=${i} .label=${i} expanded .description=${o}>${r?.length?g`<calcite-button class=${p(b.clearButton)} slot=actions-end appearance=transparent .label=${t.buttons.clear} @click=${()=>this._handleClearButtonClick()}>${t.buttons.clear}</calcite-button>`:null}<arcgis-utility-network-trace-location-list .traceLocations=${r} .traceLocationType=${e}></arcgis-utility-network-trace-location-list><div class=${p(b.buttonContainer)}><calcite-button .loading=${this.isSelectWaiting} class=${p(b.addLocationButton)} icon-start=select appearance=outline .label=${n} @click=${()=>this._handleAddButtonClick()}>${n}</calcite-button></div></calcite-block>`}render(){return g`<div class=${p(b.base)}>${this.renderAddLocationBlock()}</div>`}};S("arcgis-utility-network-trace-location",L);return L},"geometry/operators/cutOperator","geometry/operators/lengthOperator","geometry/operators/projectOperator","geometry/Polyline","geometry/SpatialReference","Graphic","rest/networks/support/TraceLocation","symbols/SimpleMarkerSymbol")
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.101 */
4
- import"./BRITVT2J.js";var a={_decimalSeparator:",",_thousandSeparator:"\xA0",_percentPrefix:null,_percentSuffix:"%",_big_number_suffix_3:"k",_big_number_suffix_6:"M",_big_number_suffix_9:"G",_big_number_suffix_12:"T",_big_number_suffix_15:"P",_big_number_suffix_18:"E",_big_number_suffix_21:"Z",_big_number_suffix_24:"Y",_small_number_suffix_3:"m",_small_number_suffix_6:"\u03BC",_small_number_suffix_9:"n",_small_number_suffix_12:"p",_small_number_suffix_15:"f",_small_number_suffix_18:"a",_small_number_suffix_21:"z",_small_number_suffix_24:"y",_byte_suffix_B:"B",_byte_suffix_KB:"KB",_byte_suffix_MB:"MB",_byte_suffix_GB:"GB",_byte_suffix_TB:"TB",_byte_suffix_PB:"PB",_date_millisecond:"mm:ss SSS",_date_millisecond_full:"HH:mm:ss SSS",_date_second:"HH:mm:ss",_date_second_full:"HH:mm:ss",_date_minute:"HH:mm",_date_minute_full:"HH:mm - MMM dd, yyyy",_date_hour:"HH:mm",_date_hour_short:"HH",_date_hour_full:"HH:mm - MMM dd, yyyy",_date_day:"MMM dd",_date_day_full:"MMM dd, yyyy",_date_week:"ww",_date_week_full:"MMM dd, yyyy",_date_month:"MMM",_date_month_full:"MMM, yyyy",_date_year:"yyyy",_duration_millisecond:"SSS",_duration_millisecond_second:"ss.SSS",_duration_millisecond_minute:"mm:ss SSS",_duration_millisecond_hour:"hh:mm:ss SSS",_duration_millisecond_day:"d'd' mm:ss SSS",_duration_millisecond_week:"d'd' mm:ss SSS",_duration_millisecond_month:"M'm' dd'd' mm:ss SSS",_duration_millisecond_year:"y'y' MM'm' dd'd' mm:ss SSS",_duration_second:"ss",_duration_second_minute:"mm:ss",_duration_second_hour:"hh:mm:ss",_duration_second_day:"d'd' hh:mm:ss",_duration_second_week:"d'd' hh:mm:ss",_duration_second_month:"M'm' dd'd' hh:mm:ss",_duration_second_year:"y'y' MM'm' dd'd' hh:mm:ss",_duration_minute:"mm",_duration_minute_hour:"hh:mm",_duration_minute_day:"d'd' hh:mm",_duration_minute_week:"d'd' hh:mm",_duration_minute_month:"M'm' dd'd' hh:mm",_duration_minute_year:"y'y' MM'm' dd'd' hh:mm",_duration_hour:"hh'h'",_duration_hour_day:"d'd' hh'h'",_duration_hour_week:"d'd' hh'h'",_duration_hour_month:"M'm' dd'd' hh'h'",_duration_hour_year:"y'y' MM'm' dd'd' hh'h'",_duration_day:"d'd'",_duration_day_week:"d'd'",_duration_day_month:"M'm' dd'd'",_duration_day_year:"y'y' MM'm' dd'd'",_duration_week:"w'w'",_duration_week_month:"w'w'",_duration_week_year:"w'w'",_duration_month:"M'm'",_duration_month_year:"y'y' MM'm'",_duration_year:"y'y'",_era_ad:"n.e.",_era_bc:"p.n.e.",A:"a",P:"p",AM:"AM",PM:"PM","A.M.":"AM","P.M.":"PM",January:"stycznia",February:"lutego",March:"marca",April:"kwietnia",May:"maja",June:"czerwca",July:"lipca",August:"sierpnia",September:"wrze\u015Bnia",October:"pa\u017Adziernika",November:"listopada",December:"grudnia",Jan:"sty",Feb:"lut",Mar:"mar",Apr:"kwi","May(short)":"maj",Jun:"cze",Jul:"lip",Aug:"sie",Sep:"wrz",Oct:"pa\u017A",Nov:"lis",Dec:"gru",Sunday:"niedziela",Monday:"poniedzia\u0142ek",Tuesday:"wtorek",Wednesday:"\u015Broda",Thursday:"czwartek",Friday:"pi\u0105tek",Saturday:"sobota",Sun:"niedz.",Mon:"pon.",Tue:"wt.",Wed:"\u015Br.",Thu:"czw.",Fri:"pt.",Sat:"sob.",_dateOrd:function(_){let e="th";if(_<11||_>13)switch(_%10){case 1:e="st";break;case 2:e="nd";break;case 3:e="rd";break}return e},"Zoom Out":"Zmiana skali",Play:"Odtwarzanie",Stop:"Zatrzymaj",Legend:"Legenda","Press ENTER to toggle":"",Loading:"Wczytywanie",Home:"Strona g\u0142\xF3wna",Chart:"","Serial chart":"","X/Y chart":"","Pie chart":"","Gauge chart":"","Radar chart":"","Sankey diagram":"","Flow diagram":"","Chord diagram":"","TreeMap chart":"","Sliced chart":"",Series:"","Candlestick Series":"","OHLC Series":"","Column Series":"","Line Series":"","Pie Slice Series":"","Funnel Series":"","Pyramid Series":"","X/Y Series":"",Map:"","Press ENTER to zoom in":"","Press ENTER to zoom out":"","Use arrow keys to zoom in and out":"","Use plus and minus keys on your keyboard to zoom in and out":"",Export:"Drukuj",Image:"Obraz",Data:"Dane",Print:"Drukuj","Press ENTER to open":"","Press ENTER to print.":"","Press ENTER to export as %1.":"","(Press ESC to close this message)":"","Image Export Complete":"","Export operation took longer than expected. Something might have gone wrong.":"","Saved from":"",PNG:"",JPG:"",GIF:"",SVG:"",PDF:"",JSON:"",CSV:"",XLSX:"",HTML:"","Use TAB to select grip buttons or left and right arrows to change selection":"","Use left and right arrows to move selection":"","Use left and right arrows to move left selection":"","Use left and right arrows to move right selection":"","Use TAB select grip buttons or up and down arrows to change selection":"","Use up and down arrows to move selection":"","Use up and down arrows to move lower selection":"","Use up and down arrows to move upper selection":"","From %1 to %2":"Od %1 do %2","From %1":"Od %1","To %1":"Do %1","No parser available for file: %1":"","Error parsing file: %1":"","Unable to load file: %1":"","Invalid date":"",Close:"",Minimize:"",Confirm:""};export{a as default};
3
+ v5.0.0-next.103 */
4
+ import"./4OQQ5EMA.js";var a={_decimalSeparator:",",_thousandSeparator:"\xA0",_percentPrefix:null,_percentSuffix:"%",_big_number_suffix_3:"k",_big_number_suffix_6:"M",_big_number_suffix_9:"G",_big_number_suffix_12:"T",_big_number_suffix_15:"P",_big_number_suffix_18:"E",_big_number_suffix_21:"Z",_big_number_suffix_24:"Y",_small_number_suffix_3:"m",_small_number_suffix_6:"\u03BC",_small_number_suffix_9:"n",_small_number_suffix_12:"p",_small_number_suffix_15:"f",_small_number_suffix_18:"a",_small_number_suffix_21:"z",_small_number_suffix_24:"y",_byte_suffix_B:"B",_byte_suffix_KB:"KB",_byte_suffix_MB:"MB",_byte_suffix_GB:"GB",_byte_suffix_TB:"TB",_byte_suffix_PB:"PB",_date_millisecond:"mm:ss SSS",_date_millisecond_full:"HH:mm:ss SSS",_date_second:"HH:mm:ss",_date_second_full:"HH:mm:ss",_date_minute:"HH:mm",_date_minute_full:"HH:mm - MMM dd, yyyy",_date_hour:"HH:mm",_date_hour_short:"HH",_date_hour_full:"HH:mm - MMM dd, yyyy",_date_day:"MMM dd",_date_day_full:"MMM dd, yyyy",_date_week:"ww",_date_week_full:"MMM dd, yyyy",_date_month:"MMM",_date_month_full:"MMM, yyyy",_date_year:"yyyy",_duration_millisecond:"SSS",_duration_millisecond_second:"ss.SSS",_duration_millisecond_minute:"mm:ss SSS",_duration_millisecond_hour:"hh:mm:ss SSS",_duration_millisecond_day:"d'd' mm:ss SSS",_duration_millisecond_week:"d'd' mm:ss SSS",_duration_millisecond_month:"M'm' dd'd' mm:ss SSS",_duration_millisecond_year:"y'y' MM'm' dd'd' mm:ss SSS",_duration_second:"ss",_duration_second_minute:"mm:ss",_duration_second_hour:"hh:mm:ss",_duration_second_day:"d'd' hh:mm:ss",_duration_second_week:"d'd' hh:mm:ss",_duration_second_month:"M'm' dd'd' hh:mm:ss",_duration_second_year:"y'y' MM'm' dd'd' hh:mm:ss",_duration_minute:"mm",_duration_minute_hour:"hh:mm",_duration_minute_day:"d'd' hh:mm",_duration_minute_week:"d'd' hh:mm",_duration_minute_month:"M'm' dd'd' hh:mm",_duration_minute_year:"y'y' MM'm' dd'd' hh:mm",_duration_hour:"hh'h'",_duration_hour_day:"d'd' hh'h'",_duration_hour_week:"d'd' hh'h'",_duration_hour_month:"M'm' dd'd' hh'h'",_duration_hour_year:"y'y' MM'm' dd'd' hh'h'",_duration_day:"d'd'",_duration_day_week:"d'd'",_duration_day_month:"M'm' dd'd'",_duration_day_year:"y'y' MM'm' dd'd'",_duration_week:"w'w'",_duration_week_month:"w'w'",_duration_week_year:"w'w'",_duration_month:"M'm'",_duration_month_year:"y'y' MM'm'",_duration_year:"y'y'",_era_ad:"n.e.",_era_bc:"p.n.e.",A:"a",P:"p",AM:"AM",PM:"PM","A.M.":"AM","P.M.":"PM",January:"stycznia",February:"lutego",March:"marca",April:"kwietnia",May:"maja",June:"czerwca",July:"lipca",August:"sierpnia",September:"wrze\u015Bnia",October:"pa\u017Adziernika",November:"listopada",December:"grudnia",Jan:"sty",Feb:"lut",Mar:"mar",Apr:"kwi","May(short)":"maj",Jun:"cze",Jul:"lip",Aug:"sie",Sep:"wrz",Oct:"pa\u017A",Nov:"lis",Dec:"gru",Sunday:"niedziela",Monday:"poniedzia\u0142ek",Tuesday:"wtorek",Wednesday:"\u015Broda",Thursday:"czwartek",Friday:"pi\u0105tek",Saturday:"sobota",Sun:"niedz.",Mon:"pon.",Tue:"wt.",Wed:"\u015Br.",Thu:"czw.",Fri:"pt.",Sat:"sob.",_dateOrd:function(_){let e="th";if(_<11||_>13)switch(_%10){case 1:e="st";break;case 2:e="nd";break;case 3:e="rd";break}return e},"Zoom Out":"Zmiana skali",Play:"Odtwarzanie",Stop:"Zatrzymaj",Legend:"Legenda","Press ENTER to toggle":"",Loading:"Wczytywanie",Home:"Strona g\u0142\xF3wna",Chart:"","Serial chart":"","X/Y chart":"","Pie chart":"","Gauge chart":"","Radar chart":"","Sankey diagram":"","Flow diagram":"","Chord diagram":"","TreeMap chart":"","Sliced chart":"",Series:"","Candlestick Series":"","OHLC Series":"","Column Series":"","Line Series":"","Pie Slice Series":"","Funnel Series":"","Pyramid Series":"","X/Y Series":"",Map:"","Press ENTER to zoom in":"","Press ENTER to zoom out":"","Use arrow keys to zoom in and out":"","Use plus and minus keys on your keyboard to zoom in and out":"",Export:"Drukuj",Image:"Obraz",Data:"Dane",Print:"Drukuj","Press ENTER to open":"","Press ENTER to print.":"","Press ENTER to export as %1.":"","(Press ESC to close this message)":"","Image Export Complete":"","Export operation took longer than expected. Something might have gone wrong.":"","Saved from":"",PNG:"",JPG:"",GIF:"",SVG:"",PDF:"",JSON:"",CSV:"",XLSX:"",HTML:"","Use TAB to select grip buttons or left and right arrows to change selection":"","Use left and right arrows to move selection":"","Use left and right arrows to move left selection":"","Use left and right arrows to move right selection":"","Use TAB select grip buttons or up and down arrows to change selection":"","Use up and down arrows to move selection":"","Use up and down arrows to move lower selection":"","Use up and down arrows to move upper selection":"","From %1 to %2":"Od %1 do %2","From %1":"Od %1","To %1":"Do %1","No parser available for file: %1":"","Error parsing file: %1":"","Unable to load file: %1":"","Invalid date":"",Close:"",Minimize:"",Confirm:""};export{a as default};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.101 */
4
- import{a as u}from"./H2E6VDJH.js";import{a as f}from"./LLT2KCGX.js";import{g as y}from"./R2MSJOQU.js";import"./VEJGGFUF.js";import"./NON4B5X3.js";import{N as k,O as d,T as b,a as p,b as r,p as n,r as w,s as m,x as c}from"./6M2WVLLN.js";import"./BRITVT2J.js";export default $arcgis.t(([{queryAllJSON:L},s,C,v,E,U,h,M])=>{var I=p`:host{width:100%}.arcgis-utility-network-trace-inputs calcite-block{--calcite-block-content-space: 0;--calcite-block-border-color: transparent;margin:0}.arcgis-utility-network-trace-inputs calcite-block-group{padding-bottom:var(--calcite-spacing-md);background-color:var(--calcite-color-foreground-1)}.arcgis-utility-network-trace-inputs calcite-block calcite-select,.arcgis-utility-network-trace-inputs calcite-block calcite-input{padding:0 var(--calcite-spacing-md)}.arcgis-utility-network-trace-inputs calcite-block calcite-label:last-child{--calcite-label-margin-bottom: 0}.arcgis-utility-network-trace-inputs calcite-notice{padding:var(--calcite-spacing-md)}.arcgis-utility-network-trace-inputs .inline-loader{--calcite-loader-spacing: var(--calcite-spacing-md)}.arcgis-utility-network-trace-inputs__add-spatial-mode{display:flex;height:300px;padding:var(--calcite-spacing-xxl) var(--calcite-spacing-sm);flex-direction:column;justify-content:center;align-items:center;gap:var(--calcite-spacing-md);align-self:stretch}.arcgis-utility-network-trace-inputs .subnetwork-info-block{padding-top:var(--calcite-spacing-md);padding-left:var(--calcite-spacing-md);padding-right:var(--calcite-spacing-md)}`,S="arcgis-utility-network-trace-inputs",_={base:S,addSpatialMode:`${S}__add-spatial-mode`},T=`utility-network-trace-inputs-sketch-${Date.now()}`,l=`utility-network-trace-inputs-flags-${Date.now()}`,A=20,g=class extends k{constructor(){super(...arguments),this._messages=f({blocking:!0}),this._startingPoints=new s,this._barriers=new s,this._stoppingPoints=new s,this._subnetworkTraceTypes=new Set(["subnetwork","subnetwork-controller","upstream","downstream","isolation"]),this._removeDuplicateSubnetworkNames=(e,t,i)=>t===0||e.getAttribute("SUBNETWORKNAME")!==i[t-1].getAttribute("SUBNETWORKNAME"),this.compatibleSubnetworkNames=[],this.traceConfigurations=[],this._state="ready",this.mode="default",this.arcgisTraceInputsChange=c(),this.arcgisUtilityNetworkChange=c(),this.arcgisTraceLocationSelectStart=c(),this.arcgisTraceLocationSelectEnd=c(),this.arcgisPropertyChange=y()("mode")}static{this.properties={compatibleSubnetworkNames:16,subnetworksTable:16,traceConfigurations:16,utilityNetworks:16,_unTraceConfiguration:16,_state:16,_activeTraceLocationType:16,beforeTraceLocationSelectStart:0,view:0,selectedUtilityNetwork:0,selectedNamedTraceConfiguration:0,unTraceConfiguration:32,referenceElement:1,mode:1,traceLocations:32}}static{this.styles=I}get selectedSubnetworkName(){return this._unTraceConfiguration?.subnetworkName??void 0}set selectedSubnetworkName(e){this._unTraceConfiguration&&(this._unTraceConfiguration.subnetworkName=e)}get _allLayers(){let{view:e}=this;return e?.map?e.map.allLayers.toArray().concat(e.map.allTables.toArray()):[]}get unTraceConfiguration(){return this._unTraceConfiguration}get traceLocations(){let e=[],t=i=>{i.flagProperties.terminalConfiguration&&i.flagProperties.selectedTerminals?i.flagProperties.selectedTerminals.forEach(a=>{e.push(new E({type:i.traceLocation.type,isFilterBarrier:i.traceLocation.isFilterBarrier,globalId:i.traceLocation.globalId,percentAlong:i.traceLocation.percentAlong,terminalId:a}))}):e.push(i.traceLocation)};return this._startingPoints.forEach(i=>t(i)),this._barriers.forEach(i=>t(i)),this._stoppingPoints.forEach(i=>t(i)),e}load(){this._setupUtilityNetwork(),this._setupSketchViewModel()}willUpdate(e){let{utilityNetworks:t,selectedUtilityNetwork:i}=this;(e.has("utilityNetworks")||!t||t.length===0||!i||!t?.includes(i))&&this._handleUtilityNetworksChange(),e.has("selectedUtilityNetwork")&&(this.arcgisUtilityNetworkChange.emit(),this._handleSelectedUtilityNetworkChange()),e.has("selectedNamedTraceConfiguration")&&(this.arcgisTraceInputsChange.emit(),this._handleTraceConfigChange()),e.has("selectedSubnetworkName")&&this.arcgisTraceInputsChange.emit()}_clearTraceLocations(){this._getGraphicLayer(l)?.removeAll(),this._startingPoints.removeAll(),this._barriers.removeAll(),this._stoppingPoints.removeAll()}_addUniqueLayer(e,t){if(!t||!e?.map)return;let{map:i}=e;i.layers.find(a=>a===t)||i.add(t),i.reorder(t,i.layers.length-1)}_createGraphicLayer(e){let{map:t}=this.view;if(!t?.findLayerById(e)){let i=new C({id:e,listMode:"hide",title:e});this._addUniqueLayer(this.view,i)}}_getGraphicLayer(e){let{map:t}=this.view;if(t){let i=t.findLayerById(e);if(i?.type==="graphics")return t.reorder(i,t.layers.length-1),i}return null}_setSnappingOption(){let{_sketchViewModel:e,_unLayers:t}=this;if(e&&t&&t.length>0){let i=new s;t.forEach(a=>{a.type==="subtype-group"?a.sublayers.forEach(o=>{i.add(new h({layer:o,enabled:!0}))}):i.add(new h({layer:a,enabled:!0}))}),e.snappingOptions={enabled:!0,featureEnabled:!0,featureSources:i}}}_initializeSketchViewModel(){let{view:e,_unLayers:t}=this,i=this._getGraphicLayer(T),a=new s;return t?.forEach(o=>a.add(new h({layer:o,enabled:!0}))),new M({layer:i,view:e})}_setupSketchViewModel(){this._createGraphicLayer(T),this._createGraphicLayer(l),this._sketchViewModel=this._initializeSketchViewModel()}_clearSubnetworks(){this.selectedSubnetworkName=void 0,this.subnetworksTable=void 0,this.compatibleSubnetworkNames=[]}async _loadSubnetworksTable(){this.subnetworksTable||(this.subnetworksTable=await this.selectedUtilityNetwork?.loadSubnetworksTable())}async _querySubnetworks(){let{subnetworksTable:e}=this;if(!e)return;let t=e.createQuery();t.gdbVersion=this.selectedUtilityNetwork?.gdbVersion,t.where=this._getSubnetworkQueryWhereClause(),t.outFields=["SUBNETWORKNAME"],t.orderByFields=["SUBNETWORKNAME"];let i=U.fromJSON(await L(e,t));this.compatibleSubnetworkNames=i.features.filter(this._removeDuplicateSubnetworkNames).map(a=>a.getAttribute("SUBNETWORKNAME"))}_getSubnetworkQueryWhereClause(){let e=this._unTraceConfiguration,t=`DOMAINNETWORKNAME = '${e.domainNetworkName}'`,i=`TIERNAME = '${e.tierName}'`;return[t,i].join(" AND ")}async _handleSubnetworkTraceConfigChange(e){await this._loadSubnetworksTable(),await this._querySubnetworks();let{compatibleSubnetworkNames:t}=this;e.subnetworkName&&!t.some(i=>i===e.subnetworkName)&&(this.selectedSubnetworkName=t.at(0))}_selectTraceConfigurationByGuid(e){let t=this.selectedUtilityNetwork?.sharedNamedTraceConfigurations.find(i=>i.globalId===e);if(!t){n("error",this,"`traceConfig` not found in `selectedUtilityNetwork.sharedNamedTraceConfigurations`");return}this.selectedNamedTraceConfiguration=t}_handleTraceConfigChange(){let{selectedNamedTraceConfiguration:e}=this;if(!(e?.traceConfiguration instanceof v)){n("error",this,w("selectedNamedTraceConfiguration.traceConfiguration")),this._unTraceConfiguration=void 0;return}switch(this._unTraceConfiguration=e.traceConfiguration.clone(),e.traceType){case"subnetwork":this._state="loading",this._handleSubnetworkTraceConfigChange(this._unTraceConfiguration).finally(()=>this._state="ready");break}}async _handleSelectedUtilityNetworkChange(){await this.selectedUtilityNetwork?.load(),this._clearSubnetworks(),this._setupTraceConfigurations(),this._filterUnLayers(),this._clearTraceLocations()}_setupTraceConfigurations(){this._unTraceConfiguration=void 0,this.traceConfigurations=this.selectedUtilityNetwork?.sharedNamedTraceConfigurations.filter(e=>e.traceType!=="path"&&e.traceType!=="circuit")||[],this.selectedNamedTraceConfiguration=this.traceConfigurations.at(0)}_filterUnLayers(){let{selectedUtilityNetwork:e}=this;this._unLayers=new s(this._allLayers.filter(t=>e?.isUtilityLayer(t))),this._setSnappingOption()}_handleUtilityNetworksChange(){let{utilityNetworks:e}=this;if(!e||e.length===0){this._state="error",n("error",this,m("utilityNetworks"));return}(!this.selectedUtilityNetwork||!e.includes(this.selectedUtilityNetwork))&&(this.selectedUtilityNetwork=e.at(0))}async _setupUtilityNetwork(){if(this.view?.map){let e=this.view.map;await e.load(),this.utilityNetworks=e.utilityNetworks||void 0}else this._state="disabled",n("error",this,"The property `view.map` is required to load utility networks but is missing.")}_handleTraceLocationSelectStart(e){if(e.stopPropagation(),this.arcgisTraceLocationSelectStart.emit(e.detail).defaultPrevented){e.preventDefault();return}this._activeTraceLocationType=e?.target?.traceLocationType,this.mode="add-spatial"}_handleTraceLocationSelectEnd(e){e.stopPropagation(),this.arcgisTraceLocationSelectEnd.emit(),this._activeTraceLocationType=void 0,this.mode="default"}_handleFlowItemBack(){this._activeTraceLocationType=void 0,this.mode="default",this._sketchViewModel?.cancel()}renderError(e,t=!1,i){return r`<calcite-notice .closable=${t} kind=danger open scale=s width=auto .icon=${i}><div slot=message>${e}</div></calcite-notice>`}renderLoader(){return r`<calcite-loader label=loading></calcite-loader>`}renderTraceSelection(){let{_messages:e,traceConfigurations:t}=this,i=e.labels.traceConfiguration;if(t.length===0)return this.renderError(e.errors.noTraceConfigurationError,!0);let a=u(t,o=>o.globalId,o=>r`<calcite-option .value=${o.globalId}>${o.title}</calcite-option>`);return r`<calcite-block .heading=${i} .label=${i} expanded><calcite-select .label=${i} .value=${this.selectedNamedTraceConfiguration?.globalId||void 0} @calciteSelectChange=${o=>{this._selectTraceConfigurationByGuid(o.target.value)}}>${a}</calcite-select></calcite-block>`}renderUtilityNetworkSelection(){let{_messages:e}=this,t=e.labels.utilityNetwork,i=u(this.utilityNetworks,a=>a.id,a=>r`<calcite-option .value=${a.id}>${a.title}</calcite-option>`).toArray();return r`<calcite-block .heading=${t} .label=${t} expanded><calcite-select .label=${t} .value=${this.selectedUtilityNetwork?.id} @calciteSelectChange=${a=>{this.selectedUtilityNetwork?.id!==a.target.value&&(this.selectedUtilityNetwork=this.utilityNetworks?.find(o=>o.id===a.target.value))}}>${i}</calcite-select></calcite-block>`}renderDefaultMode(){let{_messages:e,_state:t,mode:i}=this;return r`<calcite-flow-item .selected=${i==="default"}>${t==="disabled"?this.renderError(e.errors.noMapError):this.renderContent()}</calcite-flow-item>`}renderAddSpatialMode(){let{_messages:e,_activeTraceLocationType:t}=this,i=t==="starting-point"?e.labels.addSpatial.startingPoint:t==="barrier"?e.labels.addSpatial.barrier:e.labels.addSpatial.stoppingPoint;return r`<calcite-flow-item selected .heading=${i} @calciteFlowItemBack=${()=>this._handleFlowItemBack()}><div class=${d(_.addSpatialMode)}><calcite-icon icon=pin-plus scale=l></calcite-icon>${e.instructions.addSpatial}</div></calcite-flow-item>`}renderStartingPointSelection(){return r`<arcgis-utility-network-trace-location .view=${this.view} trace-location-type=starting-point .beforeTraceLocationSelectStart=${this.beforeTraceLocationSelectStart} @arcgisTraceLocationSelectStart=${this._handleTraceLocationSelectStart} @arcgisTraceLocationSelectEnd=${this._handleTraceLocationSelectEnd} @arcgisTraceLocationChange=${()=>this.arcgisTraceInputsChange.emit()} .sketchViewModel=${this._sketchViewModel} .utilityNetwork=${this.selectedUtilityNetwork} .filterLayers=${this._unLayers} .flagLayer=${this._getGraphicLayer(l)} .traceLocations=${this._startingPoints}></arcgis-utility-network-trace-location>`}renderStoppingPointSelection(){return r`<arcgis-utility-network-trace-location .view=${this.view} trace-location-type=stopping-point .beforeTraceLocationSelectStart=${this.beforeTraceLocationSelectStart} @arcgisTraceLocationSelectStart=${this._handleTraceLocationSelectStart} @arcgisTraceLocationSelectEnd=${this._handleTraceLocationSelectEnd} @arcgisTraceLocationChange=${()=>this.arcgisTraceInputsChange.emit()} .sketchViewModel=${this._sketchViewModel} .utilityNetwork=${this.selectedUtilityNetwork} .filterLayers=${this._unLayers} .flagLayer=${this._getGraphicLayer(l)} .traceLocations=${this._stoppingPoints}></arcgis-utility-network-trace-location>`}renderBarrierSelection(){return r`<arcgis-utility-network-trace-location .view=${this.view} trace-location-type=barrier .beforeTraceLocationSelectStart=${this.beforeTraceLocationSelectStart} @arcgisTraceLocationSelectStart=${this._handleTraceLocationSelectStart} @arcgisTraceLocationSelectEnd=${this._handleTraceLocationSelectEnd} @arcgisTraceLocationChange=${()=>this.arcgisTraceInputsChange.emit()} .sketchViewModel=${this._sketchViewModel} .utilityNetwork=${this.selectedUtilityNetwork} .filterLayers=${this._unLayers} .flagLayer=${this._getGraphicLayer(l)} .traceLocations=${this._barriers}></arcgis-utility-network-trace-location>`}renderSubnetworkNameInput(){return r`<calcite-input clearable type=text .placeholder=${this._messages.instructions.enterSubnetworkName} max-length=64 .value=${this.selectedSubnetworkName} @calciteInputInput=${e=>this.selectedSubnetworkName=e.target.value}></calcite-input>`}renderSubnetworkSelectList(){return r`<calcite-select .label=${this._messages.labels.subnetworkName} .value=${this.selectedSubnetworkName} @calciteSelectChange=${e=>this.selectedSubnetworkName=e.target.value}>${this.compatibleSubnetworkNames.map(e=>r`<calcite-option .value=${e}>${e}</calcite-option>`)}</calcite-select>`}renderSubnetworkSelection(){let{compatibleSubnetworkNames:e,selectedNamedTraceConfiguration:t}=this,i=this._messages.labels.subnetworkName;return t?.traceType!=="subnetwork"||!t.traceConfiguration.subnetworkName?null:this._state==="loading"?r`<calcite-loader class="inline-loader" label=loading scale=s></calcite-loader>`:e.length?r`<calcite-block .heading=${i} .label=${i} expanded>${e.length>A?this.renderSubnetworkNameInput():this.renderSubnetworkSelectList()}</calcite-block>`:this.renderError(this._messages.errors.noCompatibleSubnetworks,!1,"exclamation-mark-triangle")}renderSubnetworkInfo(){let{_messages:e,selectedNamedTraceConfiguration:t,_unTraceConfiguration:i}=this;return i&&t?.traceType&&this._subnetworkTraceTypes.has(t.traceType)?r`<calcite-block class="subnetwork-info-block" expanded .label=${e.labels.subnetworkInfo}><arcgis-utility-network-subnetwork-info .namedTraceConfig=${t}></arcgis-utility-network-subnetwork-info></calcite-block>`:null}renderContent(){let{utilityNetworks:e}=this,t=this.selectedNamedTraceConfiguration?.traceConfiguration;if(!e||e.length===0)return this.renderError(this._messages.errors.noUtilityNetworkError);let i=r`${this.renderTraceSelection()}${this.renderSubnetworkInfo()}${this.renderSubnetworkSelection()}`,a=this.selectedNamedTraceConfiguration?.traceType,o=!(t?.subnetworkName&&a==="subnetwork"),N=a==="path"||a==="circuit",$=r`${o?this.renderStartingPointSelection():null}${N?this.renderStoppingPointSelection():null}${this.renderBarrierSelection()}`;return r`<calcite-block-group .label=${this._messages.labels.traceInputs}>${e.length>1?this.renderUtilityNetworkSelection():null}${this.selectedUtilityNetwork?.loaded?i:this.renderLoader()}${t?$:null}</calcite-block-group>`}render(){let{mode:e}=this;return r`<div class=${d(_.base)}><calcite-flow>${this.renderDefaultMode()}${e==="add-spatial"?this.renderAddSpatialMode():null}</calcite-flow></div>`}};b("arcgis-utility-network-trace-inputs",g);return g},"applications/Components/featureUtils","core/Collection","layers/GraphicsLayer","networks/support/UNTraceConfiguration","rest/networks/support/TraceLocation","rest/support/FeatureSet","views/interactive/snapping/FeatureSnappingLayerSource","widgets/Sketch/SketchViewModel")
3
+ v5.0.0-next.103 */
4
+ import{a as u}from"./KM5OTL2Y.js";import{a as f}from"./NB6BHH2K.js";import{g as y}from"./XVPQRCKH.js";import"./7FEA5YTR.js";import"./SAGTCWIE.js";import{N as k,O as d,T as b,a as p,b as r,p as n,r as w,s as m,x as c}from"./OFFKYLYZ.js";import"./4OQQ5EMA.js";export default $arcgis.t(([{queryAllJSON:L},s,C,v,E,U,h,M])=>{var I=p`:host{width:100%}.arcgis-utility-network-trace-inputs calcite-block{--calcite-block-content-space: 0;--calcite-block-border-color: transparent;margin:0}.arcgis-utility-network-trace-inputs calcite-block-group{padding-bottom:var(--calcite-spacing-md);background-color:var(--calcite-color-foreground-1)}.arcgis-utility-network-trace-inputs calcite-block calcite-select,.arcgis-utility-network-trace-inputs calcite-block calcite-input{padding:0 var(--calcite-spacing-md)}.arcgis-utility-network-trace-inputs calcite-block calcite-label:last-child{--calcite-label-margin-bottom: 0}.arcgis-utility-network-trace-inputs calcite-notice{padding:var(--calcite-spacing-md)}.arcgis-utility-network-trace-inputs .inline-loader{--calcite-loader-spacing: var(--calcite-spacing-md)}.arcgis-utility-network-trace-inputs__add-spatial-mode{display:flex;height:300px;padding:var(--calcite-spacing-xxl) var(--calcite-spacing-sm);flex-direction:column;justify-content:center;align-items:center;gap:var(--calcite-spacing-md);align-self:stretch}.arcgis-utility-network-trace-inputs .subnetwork-info-block{padding-top:var(--calcite-spacing-md);padding-left:var(--calcite-spacing-md);padding-right:var(--calcite-spacing-md)}`,S="arcgis-utility-network-trace-inputs",_={base:S,addSpatialMode:`${S}__add-spatial-mode`},T=`utility-network-trace-inputs-sketch-${Date.now()}`,l=`utility-network-trace-inputs-flags-${Date.now()}`,A=20,g=class extends k{constructor(){super(...arguments),this._messages=f({blocking:!0}),this._startingPoints=new s,this._barriers=new s,this._stoppingPoints=new s,this._subnetworkTraceTypes=new Set(["subnetwork","subnetwork-controller","upstream","downstream","isolation"]),this._removeDuplicateSubnetworkNames=(e,t,i)=>t===0||e.getAttribute("SUBNETWORKNAME")!==i[t-1].getAttribute("SUBNETWORKNAME"),this.compatibleSubnetworkNames=[],this.traceConfigurations=[],this._state="ready",this.mode="default",this.arcgisTraceInputsChange=c(),this.arcgisUtilityNetworkChange=c(),this.arcgisTraceLocationSelectStart=c(),this.arcgisTraceLocationSelectEnd=c(),this.arcgisPropertyChange=y()("mode")}static{this.properties={compatibleSubnetworkNames:16,subnetworksTable:16,traceConfigurations:16,utilityNetworks:16,_unTraceConfiguration:16,_state:16,_activeTraceLocationType:16,beforeTraceLocationSelectStart:0,view:0,selectedUtilityNetwork:0,selectedNamedTraceConfiguration:0,unTraceConfiguration:32,referenceElement:1,mode:1,traceLocations:32}}static{this.styles=I}get selectedSubnetworkName(){return this._unTraceConfiguration?.subnetworkName??void 0}set selectedSubnetworkName(e){this._unTraceConfiguration&&(this._unTraceConfiguration.subnetworkName=e)}get _allLayers(){let{view:e}=this;return e?.map?e.map.allLayers.toArray().concat(e.map.allTables.toArray()):[]}get unTraceConfiguration(){return this._unTraceConfiguration}get traceLocations(){let e=[],t=i=>{i.flagProperties.terminalConfiguration&&i.flagProperties.selectedTerminals?i.flagProperties.selectedTerminals.forEach(a=>{e.push(new E({type:i.traceLocation.type,isFilterBarrier:i.traceLocation.isFilterBarrier,globalId:i.traceLocation.globalId,percentAlong:i.traceLocation.percentAlong,terminalId:a}))}):e.push(i.traceLocation)};return this._startingPoints.forEach(i=>t(i)),this._barriers.forEach(i=>t(i)),this._stoppingPoints.forEach(i=>t(i)),e}load(){this._setupUtilityNetwork(),this._setupSketchViewModel()}willUpdate(e){let{utilityNetworks:t,selectedUtilityNetwork:i}=this;(e.has("utilityNetworks")||!t||t.length===0||!i||!t?.includes(i))&&this._handleUtilityNetworksChange(),e.has("selectedUtilityNetwork")&&(this.arcgisUtilityNetworkChange.emit(),this._handleSelectedUtilityNetworkChange()),e.has("selectedNamedTraceConfiguration")&&(this.arcgisTraceInputsChange.emit(),this._handleTraceConfigChange()),e.has("selectedSubnetworkName")&&this.arcgisTraceInputsChange.emit()}_clearTraceLocations(){this._getGraphicLayer(l)?.removeAll(),this._startingPoints.removeAll(),this._barriers.removeAll(),this._stoppingPoints.removeAll()}_addUniqueLayer(e,t){if(!t||!e?.map)return;let{map:i}=e;i.layers.find(a=>a===t)||i.add(t),i.reorder(t,i.layers.length-1)}_createGraphicLayer(e){let{map:t}=this.view;if(!t?.findLayerById(e)){let i=new C({id:e,listMode:"hide",title:e});this._addUniqueLayer(this.view,i)}}_getGraphicLayer(e){let{map:t}=this.view;if(t){let i=t.findLayerById(e);if(i?.type==="graphics")return t.reorder(i,t.layers.length-1),i}return null}_setSnappingOption(){let{_sketchViewModel:e,_unLayers:t}=this;if(e&&t&&t.length>0){let i=new s;t.forEach(a=>{a.type==="subtype-group"?a.sublayers.forEach(o=>{i.add(new h({layer:o,enabled:!0}))}):i.add(new h({layer:a,enabled:!0}))}),e.snappingOptions={enabled:!0,featureEnabled:!0,featureSources:i}}}_initializeSketchViewModel(){let{view:e,_unLayers:t}=this,i=this._getGraphicLayer(T),a=new s;return t?.forEach(o=>a.add(new h({layer:o,enabled:!0}))),new M({layer:i,view:e})}_setupSketchViewModel(){this._createGraphicLayer(T),this._createGraphicLayer(l),this._sketchViewModel=this._initializeSketchViewModel()}_clearSubnetworks(){this.selectedSubnetworkName=void 0,this.subnetworksTable=void 0,this.compatibleSubnetworkNames=[]}async _loadSubnetworksTable(){this.subnetworksTable||(this.subnetworksTable=await this.selectedUtilityNetwork?.loadSubnetworksTable())}async _querySubnetworks(){let{subnetworksTable:e}=this;if(!e)return;let t=e.createQuery();t.gdbVersion=this.selectedUtilityNetwork?.gdbVersion,t.where=this._getSubnetworkQueryWhereClause(),t.outFields=["SUBNETWORKNAME"],t.orderByFields=["SUBNETWORKNAME"];let i=U.fromJSON(await L(e,t));this.compatibleSubnetworkNames=i.features.filter(this._removeDuplicateSubnetworkNames).map(a=>a.getAttribute("SUBNETWORKNAME"))}_getSubnetworkQueryWhereClause(){let e=this._unTraceConfiguration,t=`DOMAINNETWORKNAME = '${e.domainNetworkName}'`,i=`TIERNAME = '${e.tierName}'`;return[t,i].join(" AND ")}async _handleSubnetworkTraceConfigChange(e){await this._loadSubnetworksTable(),await this._querySubnetworks();let{compatibleSubnetworkNames:t}=this;e.subnetworkName&&!t.some(i=>i===e.subnetworkName)&&(this.selectedSubnetworkName=t.at(0))}_selectTraceConfigurationByGuid(e){let t=this.selectedUtilityNetwork?.sharedNamedTraceConfigurations.find(i=>i.globalId===e);if(!t){n("error",this,"`traceConfig` not found in `selectedUtilityNetwork.sharedNamedTraceConfigurations`");return}this.selectedNamedTraceConfiguration=t}_handleTraceConfigChange(){let{selectedNamedTraceConfiguration:e}=this;if(!(e?.traceConfiguration instanceof v)){n("error",this,w("selectedNamedTraceConfiguration.traceConfiguration")),this._unTraceConfiguration=void 0;return}switch(this._unTraceConfiguration=e.traceConfiguration.clone(),e.traceType){case"subnetwork":this._state="loading",this._handleSubnetworkTraceConfigChange(this._unTraceConfiguration).finally(()=>this._state="ready");break}}async _handleSelectedUtilityNetworkChange(){await this.selectedUtilityNetwork?.load(),this._clearSubnetworks(),this._setupTraceConfigurations(),this._filterUnLayers(),this._clearTraceLocations()}_setupTraceConfigurations(){this._unTraceConfiguration=void 0,this.traceConfigurations=this.selectedUtilityNetwork?.sharedNamedTraceConfigurations.filter(e=>e.traceType!=="path"&&e.traceType!=="circuit")||[],this.selectedNamedTraceConfiguration=this.traceConfigurations.at(0)}_filterUnLayers(){let{selectedUtilityNetwork:e}=this;this._unLayers=new s(this._allLayers.filter(t=>e?.isUtilityLayer(t))),this._setSnappingOption()}_handleUtilityNetworksChange(){let{utilityNetworks:e}=this;if(!e||e.length===0){this._state="error",n("error",this,m("utilityNetworks"));return}(!this.selectedUtilityNetwork||!e.includes(this.selectedUtilityNetwork))&&(this.selectedUtilityNetwork=e.at(0))}async _setupUtilityNetwork(){if(this.view?.map){let e=this.view.map;await e.load(),this.utilityNetworks=e.utilityNetworks||void 0}else this._state="disabled",n("error",this,"The property `view.map` is required to load utility networks but is missing.")}_handleTraceLocationSelectStart(e){if(e.stopPropagation(),this.arcgisTraceLocationSelectStart.emit(e.detail).defaultPrevented){e.preventDefault();return}this._activeTraceLocationType=e?.target?.traceLocationType,this.mode="add-spatial"}_handleTraceLocationSelectEnd(e){e.stopPropagation(),this.arcgisTraceLocationSelectEnd.emit(),this._activeTraceLocationType=void 0,this.mode="default"}_handleFlowItemBack(){this._activeTraceLocationType=void 0,this.mode="default",this._sketchViewModel?.cancel()}renderError(e,t=!1,i){return r`<calcite-notice .closable=${t} kind=danger open scale=s width=auto .icon=${i}><div slot=message>${e}</div></calcite-notice>`}renderLoader(){return r`<calcite-loader label=loading></calcite-loader>`}renderTraceSelection(){let{_messages:e,traceConfigurations:t}=this,i=e.labels.traceConfiguration;if(t.length===0)return this.renderError(e.errors.noTraceConfigurationError,!0);let a=u(t,o=>o.globalId,o=>r`<calcite-option .value=${o.globalId}>${o.title}</calcite-option>`);return r`<calcite-block .heading=${i} .label=${i} expanded><calcite-select .label=${i} .value=${this.selectedNamedTraceConfiguration?.globalId||void 0} @calciteSelectChange=${o=>{this._selectTraceConfigurationByGuid(o.target.value)}}>${a}</calcite-select></calcite-block>`}renderUtilityNetworkSelection(){let{_messages:e}=this,t=e.labels.utilityNetwork,i=u(this.utilityNetworks,a=>a.id,a=>r`<calcite-option .value=${a.id}>${a.title}</calcite-option>`).toArray();return r`<calcite-block .heading=${t} .label=${t} expanded><calcite-select .label=${t} .value=${this.selectedUtilityNetwork?.id} @calciteSelectChange=${a=>{this.selectedUtilityNetwork?.id!==a.target.value&&(this.selectedUtilityNetwork=this.utilityNetworks?.find(o=>o.id===a.target.value))}}>${i}</calcite-select></calcite-block>`}renderDefaultMode(){let{_messages:e,_state:t,mode:i}=this;return r`<calcite-flow-item .selected=${i==="default"}>${t==="disabled"?this.renderError(e.errors.noMapError):this.renderContent()}</calcite-flow-item>`}renderAddSpatialMode(){let{_messages:e,_activeTraceLocationType:t}=this,i=t==="starting-point"?e.labels.addSpatial.startingPoint:t==="barrier"?e.labels.addSpatial.barrier:e.labels.addSpatial.stoppingPoint;return r`<calcite-flow-item selected .heading=${i} @calciteFlowItemBack=${()=>this._handleFlowItemBack()}><div class=${d(_.addSpatialMode)}><calcite-icon icon=pin-plus scale=l></calcite-icon>${e.instructions.addSpatial}</div></calcite-flow-item>`}renderStartingPointSelection(){return r`<arcgis-utility-network-trace-location .view=${this.view} trace-location-type=starting-point .beforeTraceLocationSelectStart=${this.beforeTraceLocationSelectStart} @arcgisTraceLocationSelectStart=${this._handleTraceLocationSelectStart} @arcgisTraceLocationSelectEnd=${this._handleTraceLocationSelectEnd} @arcgisTraceLocationChange=${()=>this.arcgisTraceInputsChange.emit()} .sketchViewModel=${this._sketchViewModel} .utilityNetwork=${this.selectedUtilityNetwork} .filterLayers=${this._unLayers} .flagLayer=${this._getGraphicLayer(l)} .traceLocations=${this._startingPoints}></arcgis-utility-network-trace-location>`}renderStoppingPointSelection(){return r`<arcgis-utility-network-trace-location .view=${this.view} trace-location-type=stopping-point .beforeTraceLocationSelectStart=${this.beforeTraceLocationSelectStart} @arcgisTraceLocationSelectStart=${this._handleTraceLocationSelectStart} @arcgisTraceLocationSelectEnd=${this._handleTraceLocationSelectEnd} @arcgisTraceLocationChange=${()=>this.arcgisTraceInputsChange.emit()} .sketchViewModel=${this._sketchViewModel} .utilityNetwork=${this.selectedUtilityNetwork} .filterLayers=${this._unLayers} .flagLayer=${this._getGraphicLayer(l)} .traceLocations=${this._stoppingPoints}></arcgis-utility-network-trace-location>`}renderBarrierSelection(){return r`<arcgis-utility-network-trace-location .view=${this.view} trace-location-type=barrier .beforeTraceLocationSelectStart=${this.beforeTraceLocationSelectStart} @arcgisTraceLocationSelectStart=${this._handleTraceLocationSelectStart} @arcgisTraceLocationSelectEnd=${this._handleTraceLocationSelectEnd} @arcgisTraceLocationChange=${()=>this.arcgisTraceInputsChange.emit()} .sketchViewModel=${this._sketchViewModel} .utilityNetwork=${this.selectedUtilityNetwork} .filterLayers=${this._unLayers} .flagLayer=${this._getGraphicLayer(l)} .traceLocations=${this._barriers}></arcgis-utility-network-trace-location>`}renderSubnetworkNameInput(){return r`<calcite-input clearable type=text .placeholder=${this._messages.instructions.enterSubnetworkName} max-length=64 .value=${this.selectedSubnetworkName} @calciteInputInput=${e=>this.selectedSubnetworkName=e.target.value}></calcite-input>`}renderSubnetworkSelectList(){return r`<calcite-select .label=${this._messages.labels.subnetworkName} .value=${this.selectedSubnetworkName} @calciteSelectChange=${e=>this.selectedSubnetworkName=e.target.value}>${this.compatibleSubnetworkNames.map(e=>r`<calcite-option .value=${e}>${e}</calcite-option>`)}</calcite-select>`}renderSubnetworkSelection(){let{compatibleSubnetworkNames:e,selectedNamedTraceConfiguration:t}=this,i=this._messages.labels.subnetworkName;return t?.traceType!=="subnetwork"||!t.traceConfiguration.subnetworkName?null:this._state==="loading"?r`<calcite-loader class="inline-loader" label=loading scale=s></calcite-loader>`:e.length?r`<calcite-block .heading=${i} .label=${i} expanded>${e.length>A?this.renderSubnetworkNameInput():this.renderSubnetworkSelectList()}</calcite-block>`:this.renderError(this._messages.errors.noCompatibleSubnetworks,!1,"exclamation-mark-triangle")}renderSubnetworkInfo(){let{_messages:e,selectedNamedTraceConfiguration:t,_unTraceConfiguration:i}=this;return i&&t?.traceType&&this._subnetworkTraceTypes.has(t.traceType)?r`<calcite-block class="subnetwork-info-block" expanded .label=${e.labels.subnetworkInfo}><arcgis-utility-network-subnetwork-info .namedTraceConfig=${t}></arcgis-utility-network-subnetwork-info></calcite-block>`:null}renderContent(){let{utilityNetworks:e}=this,t=this.selectedNamedTraceConfiguration?.traceConfiguration;if(!e||e.length===0)return this.renderError(this._messages.errors.noUtilityNetworkError);let i=r`${this.renderTraceSelection()}${this.renderSubnetworkInfo()}${this.renderSubnetworkSelection()}`,a=this.selectedNamedTraceConfiguration?.traceType,o=!(t?.subnetworkName&&a==="subnetwork"),N=a==="path"||a==="circuit",$=r`${o?this.renderStartingPointSelection():null}${N?this.renderStoppingPointSelection():null}${this.renderBarrierSelection()}`;return r`<calcite-block-group .label=${this._messages.labels.traceInputs}>${e.length>1?this.renderUtilityNetworkSelection():null}${this.selectedUtilityNetwork?.loaded?i:this.renderLoader()}${t?$:null}</calcite-block-group>`}render(){let{mode:e}=this;return r`<div class=${d(_.base)}><calcite-flow>${this.renderDefaultMode()}${e==="add-spatial"?this.renderAddSpatialMode():null}</calcite-flow></div>`}};b("arcgis-utility-network-trace-inputs",g);return g},"applications/Components/featureUtils","core/Collection","layers/GraphicsLayer","networks/support/UNTraceConfiguration","rest/networks/support/TraceLocation","rest/support/FeatureSet","views/interactive/snapping/FeatureSnappingLayerSource","widgets/Sketch/SketchViewModel")
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.101 */
4
- import{a as h}from"./ZPP4DTXB.js";import{L as r,M as c,N as u,O as l,T as d,b as a}from"./6M2WVLLN.js";export default $arcgis.t(([{createReactiveMap:v},{watch:m},{substitute:F}])=>{var o=class extends u{constructor(){super(...arguments),this._associationFeaturesIntersectionObserver=new IntersectionObserver(([t])=>{t?.isIntersecting&&this._increaseFeaturePage()},{root:window.document}),this._associationFeaturesIntersectionObserverNode=r(),this._currentFeaturePage=1,this._increaseFeaturePage=()=>{let{state:t,showAllEnabled:e,associatedFeatureCount:i,featuresPerPage:s,currentFeaturePage:n}=this;t==="ready"&&e&&i>=s*n&&this.currentFeaturePage++},this._isFeatureCountNoticeOpen=!0,this.associationViewModels=new Map,this.featuresPerPage=50,this.maxFeatureCount=1e3,this.showAllEnabled=!1,this.state="ready",this.tooltipReferenceMap=v()}static{this.properties={associatedFeatureCount:32,associationViewModels:0,currentFeaturePage:9,featuresPerPage:9,maxFeatureCount:9,messages:0,parentFeatureViewModel:0,selectedLayer:0,showAllEnabled:5,state:1,tooltipReferenceMap:0}}get associatedFeatureCount(){let t=this.associationViewModels,e=this.selectedLayer?t.get(this.selectedLayer):null;return e?e.length:0}get currentFeaturePage(){return this._currentFeaturePage}set currentFeaturePage(t){let{featuresPerPage:e,associatedFeatureCount:i}=this,s=Math.ceil(i/e)||1,n=Math.max(Math.min(t,s),1);this._currentFeaturePage=n}loaded(){this.manager.onLifecycle(()=>[m(()=>[this.state,this.showAllEnabled,this._associationFeaturesIntersectionObserverNode],()=>{this._handleAssociationFeaturesObserverChange()},{initial:!0})])}getConnectivityTooltip(t){let{messages:e}=this;if(!e)return"";switch(t){case"connectivity":case"junction-junction-connectivity":return e.associationsJunctionJunction;case"junction-edge-from-connectivity":return e.associationsJunctionEdgeFrom;case"junction-edge-midspan-connectivity":return e.associationsJunctionEdgeMidspan;case"junction-edge-to-connectivity":return e.associationsJunctionEdgeTo;default:return""}}_handleAssociationFeaturesObserverChange(){this._unobserveAssociationFeaturesObserver();let{state:t,showAllEnabled:e}=this;this._associationFeaturesIntersectionObserverNode.value&&t==="ready"&&e&&this._associationFeaturesIntersectionObserver.observe(this._associationFeaturesIntersectionObserverNode.value)}_unobserveAssociationFeaturesObserver(){this._associationFeaturesIntersectionObserverNode.value&&this._associationFeaturesIntersectionObserver.unobserve(this._associationFeaturesIntersectionObserverNode.value)}_renderConnectivityIcon(t,e){let{tooltipReferenceMap:i}=this,s;switch(t){case"junction-edge-from-connectivity":s="connection-end-left";break;case"junction-edge-to-connectivity":s="connection-end-right";break;case"junction-edge-midspan-connectivity":s="connection-middle";break;case"connectivity":case"junction-junction-connectivity":default:s="connection-to-connection"}return a`<calcite-icon .icon=${s} @pointerover=${n=>{i.set(e,n.currentTarget)}} scale=s slot=content-start></calcite-icon>`}_renderFeatureCountWarning(){let{associatedFeatureCount:t,maxFeatureCount:e,messages:i}=this,s=F(i?.associationsLimitNoticeMessage??"",{number:e}),n=t>e,g=i?.associationsLimitNoticeTitle??"";return n?a`<calcite-notice class=${l(this._isFeatureCountNoticeOpen?"notice-container":"")} closable icon=information kind=info open scale=s width=full @calciteNoticeBeforeOpen=${()=>this._isFeatureCountNoticeOpen=!0} @calciteNoticeClose=${()=>this._isFeatureCountNoticeOpen=!1}><div slot=title>${g}</div><div slot=message>${s}</div></calcite-notice>`:null}_renderFeatureObserver(){return a`<div class="feature-observer" ${c(this._associationFeaturesIntersectionObserverNode)}></div>`}_renderLoading(){return h("loading-container",a`<div class="loading-container">${this._renderLoadingIcon()}</div>`)}_renderLoadingIcon(){let t=this.messages?.loading??"";return a`<calcite-loader inline .label=${t}></calcite-loader>`}};d("arcgis-utility-network-association-list",o);return o},"applications/Components/featureUtils","core/reactiveUtils","intl")
3
+ v5.0.0-next.103 */
4
+ import{a as h}from"./VLPTI7WZ.js";import{L as r,M as c,N as u,O as l,T as d,b as a}from"./OFFKYLYZ.js";export default $arcgis.t(([{createReactiveMap:v},{watch:m},{substitute:F}])=>{var o=class extends u{constructor(){super(...arguments),this._associationFeaturesIntersectionObserver=new IntersectionObserver(([t])=>{t?.isIntersecting&&this._increaseFeaturePage()},{root:window.document}),this._associationFeaturesIntersectionObserverNode=r(),this._currentFeaturePage=1,this._increaseFeaturePage=()=>{let{state:t,showAllEnabled:e,associatedFeatureCount:i,featuresPerPage:s,currentFeaturePage:n}=this;t==="ready"&&e&&i>=s*n&&this.currentFeaturePage++},this._isFeatureCountNoticeOpen=!0,this.associationViewModels=new Map,this.featuresPerPage=50,this.maxFeatureCount=1e3,this.showAllEnabled=!1,this.state="ready",this.tooltipReferenceMap=v()}static{this.properties={associatedFeatureCount:32,associationViewModels:0,currentFeaturePage:9,featuresPerPage:9,maxFeatureCount:9,messages:0,parentFeatureViewModel:0,selectedLayer:0,showAllEnabled:5,state:1,tooltipReferenceMap:0}}get associatedFeatureCount(){let t=this.associationViewModels,e=this.selectedLayer?t.get(this.selectedLayer):null;return e?e.length:0}get currentFeaturePage(){return this._currentFeaturePage}set currentFeaturePage(t){let{featuresPerPage:e,associatedFeatureCount:i}=this,s=Math.ceil(i/e)||1,n=Math.max(Math.min(t,s),1);this._currentFeaturePage=n}loaded(){this.manager.onLifecycle(()=>[m(()=>[this.state,this.showAllEnabled,this._associationFeaturesIntersectionObserverNode],()=>{this._handleAssociationFeaturesObserverChange()},{initial:!0})])}getConnectivityTooltip(t){let{messages:e}=this;if(!e)return"";switch(t){case"connectivity":case"junction-junction-connectivity":return e.associationsJunctionJunction;case"junction-edge-from-connectivity":return e.associationsJunctionEdgeFrom;case"junction-edge-midspan-connectivity":return e.associationsJunctionEdgeMidspan;case"junction-edge-to-connectivity":return e.associationsJunctionEdgeTo;default:return""}}_handleAssociationFeaturesObserverChange(){this._unobserveAssociationFeaturesObserver();let{state:t,showAllEnabled:e}=this;this._associationFeaturesIntersectionObserverNode.value&&t==="ready"&&e&&this._associationFeaturesIntersectionObserver.observe(this._associationFeaturesIntersectionObserverNode.value)}_unobserveAssociationFeaturesObserver(){this._associationFeaturesIntersectionObserverNode.value&&this._associationFeaturesIntersectionObserver.unobserve(this._associationFeaturesIntersectionObserverNode.value)}_renderConnectivityIcon(t,e){let{tooltipReferenceMap:i}=this,s;switch(t){case"junction-edge-from-connectivity":s="connection-end-left";break;case"junction-edge-to-connectivity":s="connection-end-right";break;case"junction-edge-midspan-connectivity":s="connection-middle";break;case"connectivity":case"junction-junction-connectivity":default:s="connection-to-connection"}return a`<calcite-icon .icon=${s} @pointerover=${n=>{i.set(e,n.currentTarget)}} scale=s slot=content-start></calcite-icon>`}_renderFeatureCountWarning(){let{associatedFeatureCount:t,maxFeatureCount:e,messages:i}=this,s=F(i?.associationsLimitNoticeMessage??"",{number:e}),n=t>e,g=i?.associationsLimitNoticeTitle??"";return n?a`<calcite-notice class=${l(this._isFeatureCountNoticeOpen?"notice-container":"")} closable icon=information kind=info open scale=s width=full @calciteNoticeBeforeOpen=${()=>this._isFeatureCountNoticeOpen=!0} @calciteNoticeClose=${()=>this._isFeatureCountNoticeOpen=!1}><div slot=title>${g}</div><div slot=message>${s}</div></calcite-notice>`:null}_renderFeatureObserver(){return a`<div class="feature-observer" ${c(this._associationFeaturesIntersectionObserverNode)}></div>`}_renderLoading(){return h("loading-container",a`<div class="loading-container">${this._renderLoadingIcon()}</div>`)}_renderLoadingIcon(){let t=this.messages?.loading??"";return a`<calcite-loader inline .label=${t}></calcite-loader>`}};d("arcgis-utility-network-association-list",o);return o},"applications/Components/featureUtils","core/reactiveUtils","intl")
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.101 */
4
- import{A as Aa,B as Fa,C as Ga,D as Ha,E as Ia,F as Ja,G as Ka,H as La,I as Ma,J as Oa,K as Pa,L as Qa,M as Ra,N as Sa,O as Ta,P as Ua,a as N,b as P,c as Q,d as R,e as S,f as T,g as U,h as W,i as X,j as Y,k as Z,l as _,m as ba,n as ca,o as da,p as ea,q as fa,r as ka,s as la,t as ma,u as na,v as ra,w as ta,x as ua,y as va,z as wa}from"./7KEXTXQY.js";import{a as $,b as aa,c as oa,d as za}from"./NWTJYPLQ.js";import{a as Ba}from"./6VDAI73U.js";import{A as D,C as E,D as F,E as G,F as H,G as I,H as J,I as K,K as L,L as M,M as O,P as ga,Q as ha,R as ia,S as ja,aa as pa,ba as qa,c as r,ca as sa,da as xa,ea as ya,ka as Ca,la as Da,ma as Ea,na as Na,q as s,r as t,s as u,t as v,u as w,v as x,w as y,x as A,y as B,z as C}from"./EPIMR433.js";import{P as o,Q as p,R as q,b as n}from"./CZ2JO6MW.js";import{a,b,c,d,e}from"./6OYCHZR3.js";import{D as g,J as h,L as i,M as j,N as k,O as l,P as m,U as z,V,l as f}from"./DAAYJNUV.js";import"./BRITVT2J.js";export{j as ArrayDisposer,D as BlendMode,_ as Bullet,aa as Button,Pa as CSVParser,X as CanvasLayer,W as CanvasRenderer,Ca as Chart,ca as Circle,Ia as CirclePattern,q as Color,Na as ColorSet,ja as Component,ba as ConfirmButton,L as Container,m as CounterDisposer,ia as DataItem,Qa as DataProcessor,T as DateFormatter,i as Disposer,U as DurationFormatter,oa as EditableLabel,ea as Ellipse,y as Entity,la as Gradient,Ga as GrainPattern,E as Graphics,J as GridLayout,na as HeatLegend,H as HorizontalLayout,N as InterfaceColors,Oa as JSONParser,ha as JsonData,O as Label,G as Layout,ra as Legend,sa as Line,Ja as LinePattern,ma as LinearGradient,va as Link,ga as ListData,r as ListTemplate,Z as Modal,k as MultiDisposer,l as MutableValueDisposer,R as NumberFormatter,Sa as NumericStepper,ua as OrthogonalLine,La as PathPattern,B as Pattern,Ma as PatternSet,a as Percent,wa as Picture,C as PicturePattern,P as PointedRectangle,da as Polygon,Ta as ProgressPie,Ha as RadialGradient,ya as RadialLabel,xa as RadialText,F as Rectangle,Ka as RectanglePattern,Y as Root,$ as RoundedRectangle,za as Scrollbar,Da as SerialChart,qa as Series,Ba as Slice,Aa as Slider,A as Sprite,Ra as SpriteResizer,fa as Star,z as Template,M as Text,K as TextFormatter,V as Theme,Ea as Tick,S as Timezone,Q as Tooltip,ta as Triangle,I as VerticalLayout,Fa as ZoomTools,ka as ZoomableContainer,v as addLicense,g as array,p as color,w as disposeAllRootElements,t as ease,x as getRootById,s as math,Ua as net,h as object,c as p0,d as p100,e as p50,b as percent,n as ready,u as registry,pa as time,f as type,o as utils};
3
+ v5.0.0-next.103 */
4
+ import{A as Aa,B as Fa,C as Ga,D as Ha,E as Ia,F as Ja,G as Ka,H as La,I as Ma,J as Oa,K as Pa,L as Qa,M as Ra,N as Sa,O as Ta,P as Ua,a as N,b as P,c as Q,d as R,e as S,f as T,g as U,h as W,i as X,j as Y,k as Z,l as _,m as ba,n as ca,o as da,p as ea,q as fa,r as ka,s as la,t as ma,u as na,v as ra,w as ta,x as ua,y as va,z as wa}from"./SRBW357S.js";import{a as $,b as aa,c as oa,d as za}from"./MPJFYSKR.js";import{a as Ba}from"./53E73FEJ.js";import{A as D,C as E,D as F,E as G,F as H,G as I,H as J,I as K,K as L,L as M,M as O,P as ga,Q as ha,R as ia,S as ja,aa as pa,ba as qa,c as r,ca as sa,da as xa,ea as ya,ka as Ca,la as Da,ma as Ea,na as Na,q as s,r as t,s as u,t as v,u as w,v as x,w as y,x as A,y as B,z as C}from"./QHKGCXAS.js";import{P as o,Q as p,R as q,b as n}from"./KSX6V35C.js";import{a,b,c,d,e}from"./33JFULOQ.js";import{D as g,J as h,L as i,M as j,N as k,O as l,P as m,U as z,V,l as f}from"./3UORN3MX.js";import"./4OQQ5EMA.js";export{j as ArrayDisposer,D as BlendMode,_ as Bullet,aa as Button,Pa as CSVParser,X as CanvasLayer,W as CanvasRenderer,Ca as Chart,ca as Circle,Ia as CirclePattern,q as Color,Na as ColorSet,ja as Component,ba as ConfirmButton,L as Container,m as CounterDisposer,ia as DataItem,Qa as DataProcessor,T as DateFormatter,i as Disposer,U as DurationFormatter,oa as EditableLabel,ea as Ellipse,y as Entity,la as Gradient,Ga as GrainPattern,E as Graphics,J as GridLayout,na as HeatLegend,H as HorizontalLayout,N as InterfaceColors,Oa as JSONParser,ha as JsonData,O as Label,G as Layout,ra as Legend,sa as Line,Ja as LinePattern,ma as LinearGradient,va as Link,ga as ListData,r as ListTemplate,Z as Modal,k as MultiDisposer,l as MutableValueDisposer,R as NumberFormatter,Sa as NumericStepper,ua as OrthogonalLine,La as PathPattern,B as Pattern,Ma as PatternSet,a as Percent,wa as Picture,C as PicturePattern,P as PointedRectangle,da as Polygon,Ta as ProgressPie,Ha as RadialGradient,ya as RadialLabel,xa as RadialText,F as Rectangle,Ka as RectanglePattern,Y as Root,$ as RoundedRectangle,za as Scrollbar,Da as SerialChart,qa as Series,Ba as Slice,Aa as Slider,A as Sprite,Ra as SpriteResizer,fa as Star,z as Template,M as Text,K as TextFormatter,V as Theme,Ea as Tick,S as Timezone,Q as Tooltip,ta as Triangle,I as VerticalLayout,Fa as ZoomTools,ka as ZoomableContainer,v as addLicense,g as array,p as color,w as disposeAllRootElements,t as ease,x as getRootById,s as math,Ua as net,h as object,c as p0,d as p100,e as p50,b as percent,n as ready,u as registry,pa as time,f as type,o as utils};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.101 */
4
- import{D as k,E as w,F as V,G as m,H as h,I as A,J as D,K as y,e as P}from"./6M2WVLLN.js";var b=(s,f,c)=>{let p=new Map;for(let e=f;e<=c;e++)p.set(s[e],e);return p},I=w(class extends V{constructor(s){if(super(s),s.type!==k.CHILD)throw Error("repeat() can only be used in text expressions")}dt(s,f,c){let p;c===void 0?c=f:f!==void 0&&(p=f);let e=[],n=[],o=0;for(let a of s)e[o]=p?p(a,o):o,n[o]=c(a,o),o++;return{values:n,keys:e}}render(s,f,c){return this.dt(s,f,c).values}update(s,[f,c,p]){let e=D(s),{values:n,keys:o}=this.dt(f,c,p);if(!Array.isArray(e))return this.ut=o,n;let a=this.ut??=[],u=[],v,g,t=0,l=e.length-1,r=0,i=n.length-1;for(;t<=l&&r<=i;)if(e[t]===null)t++;else if(e[l]===null)l--;else if(a[t]===o[r])u[r]=h(e[t],n[r]),t++,r++;else if(a[l]===o[i])u[i]=h(e[l],n[i]),l--,i--;else if(a[t]===o[i])u[i]=h(e[t],n[i]),m(s,u[i+1],e[t]),t++,i--;else if(a[l]===o[r])u[r]=h(e[l],n[r]),m(s,e[t],e[l]),l--,r++;else if(v===void 0&&(v=b(o,r,i),g=b(a,t,l)),v.has(a[t]))if(v.has(a[l])){let d=g.get(o[r]),x=d!==void 0?e[d]:null;if(x===null){let C=m(s,e[t]);h(C,n[r]),u[r]=C}else u[r]=h(x,n[r]),m(s,e[t],x),e[d]=null;r++}else y(e[l]),l--;else y(e[t]),t++;for(;r<=i;){let d=m(s,u[i+1]);h(d,n[r]),u[r++]=d}for(;t<=l;){let d=e[t++];d!==null&&y(d)}return this.ut=o,A(s,u),P}});export{I as a};
3
+ v5.0.0-next.103 */
4
+ import{D as k,E as w,F as V,G as m,H as h,I as A,J as D,K as y,e as P}from"./OFFKYLYZ.js";var b=(s,f,c)=>{let p=new Map;for(let e=f;e<=c;e++)p.set(s[e],e);return p},I=w(class extends V{constructor(s){if(super(s),s.type!==k.CHILD)throw Error("repeat() can only be used in text expressions")}dt(s,f,c){let p;c===void 0?c=f:f!==void 0&&(p=f);let e=[],n=[],o=0;for(let a of s)e[o]=p?p(a,o):o,n[o]=c(a,o),o++;return{values:n,keys:e}}render(s,f,c){return this.dt(s,f,c).values}update(s,[f,c,p]){let e=D(s),{values:n,keys:o}=this.dt(f,c,p);if(!Array.isArray(e))return this.ut=o,n;let a=this.ut??=[],u=[],v,g,t=0,l=e.length-1,r=0,i=n.length-1;for(;t<=l&&r<=i;)if(e[t]===null)t++;else if(e[l]===null)l--;else if(a[t]===o[r])u[r]=h(e[t],n[r]),t++,r++;else if(a[l]===o[i])u[i]=h(e[l],n[i]),l--,i--;else if(a[t]===o[i])u[i]=h(e[t],n[i]),m(s,u[i+1],e[t]),t++,i--;else if(a[l]===o[r])u[r]=h(e[l],n[r]),m(s,e[t],e[l]),l--,r++;else if(v===void 0&&(v=b(o,r,i),g=b(a,t,l)),v.has(a[t]))if(v.has(a[l])){let d=g.get(o[r]),x=d!==void 0?e[d]:null;if(x===null){let C=m(s,e[t]);h(C,n[r]),u[r]=C}else u[r]=h(x,n[r]),m(s,e[t],x),e[d]=null;r++}else y(e[l]),l--;else y(e[t]),t++;for(;r<=i;){let d=m(s,u[i+1]);h(d,n[r]),u[r++]=d}for(;t<=l;){let d=e[t++];d!==null&&y(d)}return this.ut=o,A(s,u),P}});export{I as a};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.101 */
4
- import c from"./FFBFGRBV.js";import b from"./7D2I2WRW.js";import{e as u}from"./R2MSJOQU.js";import"./VEJGGFUF.js";import"./NON4B5X3.js";import{N as w,O as a,P as t,T as _,a as h,b as l}from"./6M2WVLLN.js";import"./BRITVT2J.js";export default $arcgis.t(([,{a:x,b:n,c:$,d:c,e:E}])=>{var I=h`.arcgis-legend--card__layer-row{display:flex;align-items:center}.arcgis-legend--card__symbol{display:block;margin:auto}.arcgis-legend--card__symbol-container{position:relative}.arcgis-legend__ramp-labels{display:flex;flex-flow:column nowrap;justify-content:space-between}.arcgis-legend__layer-cell{padding:var(--calcite-spacing-xxs) 0;min-width:100px;vertical-align:middle;word-break:break-word}.arcgis-legend__layer-cell--info{padding-right:var(--calcite-spacing-sm);padding-left:var(--calcite-spacing-sm);max-width:250px;word-break:normal;word-wrap:normal;font-size:var(--calcite-font-size-sm)}.arcgis-univariate-above-and-below-ramp__color--card{position:relative}.arcgis-univariate-above-and-below-ramp__color--card:before{content:"";border-left:var(--calcite-border-width-sm) solid var(--calcite-color-background);border-right:var(--calcite-border-width-sm) solid var(--calcite-color-background);width:100%;height:15px;display:block;position:absolute;top:var(--calcite-border-width-sm)}.arcgis-univariate-above-and-below-ramp__symbol{display:flex;align-items:center;justify-content:center}`,i={layerRow:"arcgis-legend--card__layer-row",symbol:"arcgis-legend--card__symbol",symbolContainer:"arcgis-legend--card__symbol-container",rampLabelsContainer:"arcgis-legend__ramp-labels",layerInfo:"arcgis-legend__layer-cell arcgis-legend__layer-cell--info",univariateAboveAndBelowColorRamp:"arcgis-univariate-above-and-below-ramp__color--card"},d=class extends w{constructor(){super(...arguments),this._direction=u(),this.legendElement=null,this.opacity=1}static{this.properties={cssEffectFilter:1,legendElement:0,opacity:9,messages:0}}static{this.styles=I}render(){let{legendElement:C,opacity:s}=this,{sizeRampElement:e,colorRampElement:m}=E(C,this.messages,s,"horizontal");if(!e)return null;let z=$(e,"full",!0,"horizontal"),A=c(e,"above",!0,"horizontal"),R=c(e,"below",!0,"horizontal"),p=12,g=this.messages?.previewColorRampAriaLabel,b=n(m,{width:A,height:p,rampAlignment:"horizontal",opacity:s,type:"above",cssEffectFilter:this.cssEffectFilter,ariaLabel:g}),L=n(m,{width:R,height:p,rampAlignment:"horizontal",opacity:s,type:"below",cssEffectFilter:this.cssEffectFilter,ariaLabel:g}),v=x(e,"card"),f=e.infos.map(r=>r.label),k=f.length-1,F=f.map((r,y)=>y===0||y===k?l`<div>${r}</div>`:null),B={display:"flex",flexDirection:"column"},j={display:"flex",flexDirection:"row"},o={marginTop:"3px",display:"flex"};this._direction==="rtl"?o.marginRight=`${v}px`:o.marginLeft=`${v}px`;let D={width:`${z}px`,display:"flex",flexDirection:"row",justifyContent:"space-between"};return l`<div class=${a(i.layerRow)} style=${t(B)}><div class=${a(i.symbolContainer)} style=${t(j)}>${e.infos.map(r=>l`<div class=${a(i.symbol)}>${r.preview}</div>`)}</div>${b?l`<div class=${a(i.univariateAboveAndBelowColorRamp)} style=${t(o)}><div>${b}</div><div>${L}</div></div>`:null}<div class=${a(i.layerInfo)}><div class=${a(i.rampLabelsContainer)} style=${t(D)}>${F}</div></div></div>`}};_("arcgis-legend-card-univariate-above-and-below-ramp",d);return d},b,c)
3
+ v5.0.0-next.103 */
4
+ import c from"./LT5Q4RQV.js";import b from"./3RAQA7ZJ.js";import{e as u}from"./XVPQRCKH.js";import"./7FEA5YTR.js";import"./SAGTCWIE.js";import{N as w,O as a,P as t,T as _,a as h,b as l}from"./OFFKYLYZ.js";import"./4OQQ5EMA.js";export default $arcgis.t(([,{a:x,b:n,c:$,d:c,e:E}])=>{var I=h`.arcgis-legend--card__layer-row{display:flex;align-items:center}.arcgis-legend--card__symbol{display:block;margin:auto}.arcgis-legend--card__symbol-container{position:relative}.arcgis-legend__ramp-labels{display:flex;flex-flow:column nowrap;justify-content:space-between}.arcgis-legend__layer-cell{padding:var(--calcite-spacing-xxs) 0;min-width:100px;vertical-align:middle;word-break:break-word}.arcgis-legend__layer-cell--info{padding-right:var(--calcite-spacing-sm);padding-left:var(--calcite-spacing-sm);max-width:250px;word-break:normal;word-wrap:normal;font-size:var(--calcite-font-size-sm)}.arcgis-univariate-above-and-below-ramp__color--card{position:relative}.arcgis-univariate-above-and-below-ramp__color--card:before{content:"";border-left:var(--calcite-border-width-sm) solid var(--calcite-color-background);border-right:var(--calcite-border-width-sm) solid var(--calcite-color-background);width:100%;height:15px;display:block;position:absolute;top:var(--calcite-border-width-sm)}.arcgis-univariate-above-and-below-ramp__symbol{display:flex;align-items:center;justify-content:center}`,i={layerRow:"arcgis-legend--card__layer-row",symbol:"arcgis-legend--card__symbol",symbolContainer:"arcgis-legend--card__symbol-container",rampLabelsContainer:"arcgis-legend__ramp-labels",layerInfo:"arcgis-legend__layer-cell arcgis-legend__layer-cell--info",univariateAboveAndBelowColorRamp:"arcgis-univariate-above-and-below-ramp__color--card"},d=class extends w{constructor(){super(...arguments),this._direction=u(),this.legendElement=null,this.opacity=1}static{this.properties={cssEffectFilter:1,legendElement:0,opacity:9,messages:0}}static{this.styles=I}render(){let{legendElement:C,opacity:s}=this,{sizeRampElement:e,colorRampElement:m}=E(C,this.messages,s,"horizontal");if(!e)return null;let z=$(e,"full",!0,"horizontal"),A=c(e,"above",!0,"horizontal"),R=c(e,"below",!0,"horizontal"),p=12,g=this.messages?.previewColorRampAriaLabel,b=n(m,{width:A,height:p,rampAlignment:"horizontal",opacity:s,type:"above",cssEffectFilter:this.cssEffectFilter,ariaLabel:g}),L=n(m,{width:R,height:p,rampAlignment:"horizontal",opacity:s,type:"below",cssEffectFilter:this.cssEffectFilter,ariaLabel:g}),v=x(e,"card"),f=e.infos.map(r=>r.label),k=f.length-1,F=f.map((r,y)=>y===0||y===k?l`<div>${r}</div>`:null),B={display:"flex",flexDirection:"column"},j={display:"flex",flexDirection:"row"},o={marginTop:"3px",display:"flex"};this._direction==="rtl"?o.marginRight=`${v}px`:o.marginLeft=`${v}px`;let D={width:`${z}px`,display:"flex",flexDirection:"row",justifyContent:"space-between"};return l`<div class=${a(i.layerRow)} style=${t(B)}><div class=${a(i.symbolContainer)} style=${t(j)}>${e.infos.map(r=>l`<div class=${a(i.symbol)}>${r.preview}</div>`)}</div>${b?l`<div class=${a(i.univariateAboveAndBelowColorRamp)} style=${t(o)}><div>${b}</div><div>${L}</div></div>`:null}<div class=${a(i.layerInfo)}><div class=${a(i.rampLabelsContainer)} style=${t(D)}>${F}</div></div></div>`}};_("arcgis-legend-card-univariate-above-and-below-ramp",d);return d},b,c)
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.101 */
4
- import b from"./HNW6Y5AT.js";import a from"./7D2I2WRW.js";import{b as f}from"./NON4B5X3.js";import{N as h,O as t,P as y,T as _,a as g,b as n}from"./6M2WVLLN.js";import"./BRITVT2J.js";export default $arcgis.t(([{c:v},{e:$}])=>{var R=g`:host{display:flex}.arcgis-legend--card__layer-row{display:flex;flex:1}.arcgis-legend--card__color-ramp-container{justify-content:center}.arcgis-legend--card__symbol-container{display:flex;flex-direction:column}.arcgis-legend--card__interval-separators-container{text-align:center}.arcgis-legend--card__interval-separator{font-size:.5em}.arcgis-legend--card__ramp-label{margin:0 .5em;white-space:nowrap;height:25px;line-height:var(--calcite-font-line-height-fixed-xl)}`,i={layerRow:"arcgis-legend--card__layer-row",colorRampContainer:"arcgis-legend--card__color-ramp-container",symbolContainer:"arcgis-legend--card__symbol-container",intervalSeparatorsContainer:"arcgis-legend--card__interval-separators-container",intervalSeparator:"arcgis-legend--card__interval-separator",rampLabel:"arcgis-legend--card__ramp-label"},C=25,E=25,S=100,p=class extends h{constructor(){super(...arguments),this.legendElement=null,this.opacity=1}static{this.properties={cssEffectFilter:1,legendElement:0,opacity:9,messages:0}}static{this.styles=R}render(){let e=this.legendElement.infos.slice().reverse();return n`<div class=${t(f(i.layerRow,i.colorRampContainer))}>${this._renderRampLabel(e[0])}<div class=${t(i.symbolContainer)}>${this._renderPreview(e)}${this._renderMiddleStopRampLabel(e)}</div>${this._renderRampLabel(e.at(-1))}</div>`}_renderPreview(e){let{opacity:s}=this,d=this.legendElement.type==="heatmap-ramp",o=e.length-1,r=E,l=o>2&&!d?C*o:S,m=l+20,a=10,b=[[{shape:{type:"path",path:`M0 ${r/2} L${a} 0 L${a} ${r} Z`},fill:e[0].color,stroke:{width:0}},{shape:{type:"rect",x:a,y:0,width:l,height:r},fill:{type:"linear",x1:a,y1:0,x2:l+a,y2:0,colors:e.map((c,u)=>({color:c.color,offset:d&&"ratio"in c?c.ratio:u/o}))},stroke:{width:0}},{shape:{type:"path",path:`M${l+a} 0 L${m} ${r/2} L${l+a} ${r} Z`},fill:e[e.length-1].color,stroke:{width:0}}]],L=this.legendElement.type==="opacity-ramp"?this.messages.previewOpacityRampAriaLabel:this.messages.previewColorRampAriaLabel,w=$(b,m,r,{ariaLabel:L}),x={filter:this.cssEffectFilter,opacity:s==null?void 0:`${s}`};return n`<div style=${y(x)}>${w}</div>`}_renderMiddleStopRampLabel(e){let s=e.length%2!==0?e[e.length/2|0]:null;return s?n`<div class=${t(i.intervalSeparatorsContainer)}><div class=${t(i.intervalSeparator)}>|</div>${this._renderRampLabel(s)}</div>`:null}_renderRampLabel(e){return n`<div class=${t(i.rampLabel)}>${v(e,this.legendElement.type,this.messages)}</div>`}};_("arcgis-legend-card-color-ramp",p);return p},a,b)
3
+ v5.0.0-next.103 */
4
+ import b from"./P2PMOHD7.js";import a from"./3RAQA7ZJ.js";import{b as f}from"./SAGTCWIE.js";import{N as h,O as t,P as y,T as _,a as g,b as n}from"./OFFKYLYZ.js";import"./4OQQ5EMA.js";export default $arcgis.t(([{c:v},{e:$}])=>{var R=g`:host{display:flex}.arcgis-legend--card__layer-row{display:flex;flex:1}.arcgis-legend--card__color-ramp-container{justify-content:center}.arcgis-legend--card__symbol-container{display:flex;flex-direction:column}.arcgis-legend--card__interval-separators-container{text-align:center}.arcgis-legend--card__interval-separator{font-size:.5em}.arcgis-legend--card__ramp-label{margin:0 .5em;white-space:nowrap;height:25px;line-height:var(--calcite-font-line-height-fixed-xl)}`,i={layerRow:"arcgis-legend--card__layer-row",colorRampContainer:"arcgis-legend--card__color-ramp-container",symbolContainer:"arcgis-legend--card__symbol-container",intervalSeparatorsContainer:"arcgis-legend--card__interval-separators-container",intervalSeparator:"arcgis-legend--card__interval-separator",rampLabel:"arcgis-legend--card__ramp-label"},C=25,E=25,S=100,p=class extends h{constructor(){super(...arguments),this.legendElement=null,this.opacity=1}static{this.properties={cssEffectFilter:1,legendElement:0,opacity:9,messages:0}}static{this.styles=R}render(){let e=this.legendElement.infos.slice().reverse();return n`<div class=${t(f(i.layerRow,i.colorRampContainer))}>${this._renderRampLabel(e[0])}<div class=${t(i.symbolContainer)}>${this._renderPreview(e)}${this._renderMiddleStopRampLabel(e)}</div>${this._renderRampLabel(e.at(-1))}</div>`}_renderPreview(e){let{opacity:s}=this,d=this.legendElement.type==="heatmap-ramp",o=e.length-1,r=E,l=o>2&&!d?C*o:S,m=l+20,a=10,b=[[{shape:{type:"path",path:`M0 ${r/2} L${a} 0 L${a} ${r} Z`},fill:e[0].color,stroke:{width:0}},{shape:{type:"rect",x:a,y:0,width:l,height:r},fill:{type:"linear",x1:a,y1:0,x2:l+a,y2:0,colors:e.map((c,u)=>({color:c.color,offset:d&&"ratio"in c?c.ratio:u/o}))},stroke:{width:0}},{shape:{type:"path",path:`M${l+a} 0 L${m} ${r/2} L${l+a} ${r} Z`},fill:e[e.length-1].color,stroke:{width:0}}]],L=this.legendElement.type==="opacity-ramp"?this.messages.previewOpacityRampAriaLabel:this.messages.previewColorRampAriaLabel,w=$(b,m,r,{ariaLabel:L}),x={filter:this.cssEffectFilter,opacity:s==null?void 0:`${s}`};return n`<div style=${y(x)}>${w}</div>`}_renderMiddleStopRampLabel(e){let s=e.length%2!==0?e[e.length/2|0]:null;return s?n`<div class=${t(i.intervalSeparatorsContainer)}><div class=${t(i.intervalSeparator)}>|</div>${this._renderRampLabel(s)}</div>`:null}_renderRampLabel(e){return n`<div class=${t(i.rampLabel)}>${v(e,this.legendElement.type,this.messages)}</div>`}};_("arcgis-legend-card-color-ramp",p);return p},a,b)