@arcgis/map-components 5.0.0-next.37 → 5.0.0-next.39

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 (413) hide show
  1. package/dist/cdn/{WNJPXV2N.js → 22IV475U.js} +2 -2
  2. package/dist/cdn/{TEUTIHGO.js → 26JK4J7D.js} +2 -2
  3. package/dist/cdn/{WA2XIDJS.js → 2FN3JUGR.js} +2 -2
  4. package/dist/cdn/{ZVFWDKAV.js → 2K2RK5MW.js} +2 -2
  5. package/dist/cdn/{F2PZDFFE.js → 2NF4I3RC.js} +2 -2
  6. package/dist/cdn/2S5XLNQZ.js +4 -0
  7. package/dist/cdn/{3F5BWIWV.js → 2TIEZUOH.js} +2 -2
  8. package/dist/cdn/{Y5RS3RQX.js → 36WYW33S.js} +2 -2
  9. package/dist/cdn/{UZLVSUUU.js → 3C2UZQP4.js} +2 -2
  10. package/dist/cdn/{HLU4UTQS.js → 3QFW2DO7.js} +1 -1
  11. package/dist/cdn/{CKDJ6BW3.js → 3U3IZOY3.js} +2 -2
  12. package/dist/cdn/{3WEG4LAP.js → 3UE5UOHC.js} +2 -2
  13. package/dist/cdn/{G7LS6PTG.js → 3X7ZNZVH.js} +2 -2
  14. package/dist/cdn/{EQFIJYHE.js → 3YYO6OMY.js} +2 -2
  15. package/dist/cdn/{R3LPKZPL.js → 42NFH5HV.js} +2 -2
  16. package/dist/cdn/{M4ZQ6IHO.js → 42QQ4KV3.js} +2 -2
  17. package/dist/cdn/{T526U6I7.js → 46UFZIVW.js} +2 -2
  18. package/dist/cdn/{DN7O6WUE.js → 4EVIY7WK.js} +2 -2
  19. package/dist/cdn/{VORTGEUR.js → 4I44QADI.js} +2 -2
  20. package/dist/cdn/{7SD6HCIF.js → 4NAKMJWQ.js} +2 -2
  21. package/dist/cdn/{GRFB2XL7.js → 4PNNRRYJ.js} +2 -2
  22. package/dist/cdn/{BVLQGDK6.js → 4Y24IJUY.js} +2 -2
  23. package/dist/cdn/{KXURJYEV.js → 55LZWI6D.js} +1 -1
  24. package/dist/cdn/{BATICWFO.js → 5FU5ZOOK.js} +2 -2
  25. package/dist/cdn/{4VWBCPQU.js → 5QURQY44.js} +1 -1
  26. package/dist/cdn/{Z4RJR5WI.js → 5SF4GU2A.js} +2 -2
  27. package/dist/cdn/{GRPPWVXA.js → 5WPHUC66.js} +2 -2
  28. package/dist/cdn/{Q77JCS6Y.js → 5YFRYAJQ.js} +2 -2
  29. package/dist/cdn/{NV55I5D4.js → 62QHMEJU.js} +2 -2
  30. package/dist/cdn/{TFGAKKLA.js → 6BCZYWF6.js} +2 -2
  31. package/dist/cdn/{N2UCDNZ7.js → 6CP7XPH3.js} +2 -2
  32. package/dist/cdn/{F35TUXEN.js → 6ELCUXIZ.js} +2 -2
  33. package/dist/cdn/{YVXXMU5E.js → 6PUG4SGN.js} +2 -2
  34. package/dist/cdn/{VYQL7FQY.js → 6RSGECKA.js} +2 -2
  35. package/dist/cdn/{J2TT3S5P.js → 6W2NAUCC.js} +2 -2
  36. package/dist/cdn/{6PDH4QQI.js → 6WD2FY4W.js} +2 -2
  37. package/dist/cdn/{SOCHLRN7.js → 6WEX6YLK.js} +2 -2
  38. package/dist/cdn/{6E44JV4B.js → 73LYRI73.js} +2 -2
  39. package/dist/cdn/{ZT5RAC7D.js → 77EGZAPU.js} +2 -2
  40. package/dist/cdn/{RETPEMT2.js → 7CXYKIRR.js} +2 -2
  41. package/dist/cdn/{LUHLBBQG.js → 7DJTGYOW.js} +2 -2
  42. package/dist/cdn/{PSHZROCK.js → 7FRKOYNS.js} +2 -2
  43. package/dist/cdn/{MMB6JHC2.js → 7OSLRAIZ.js} +2 -2
  44. package/dist/cdn/{J4N4CELN.js → 7QDU6ZGM.js} +2 -2
  45. package/dist/cdn/{7ONF45EA.js → 7YEAIFIR.js} +2 -2
  46. package/dist/cdn/{OT26OVJY.js → A4MVEW53.js} +2 -2
  47. package/dist/cdn/{F2HK6GJU.js → A5V225PW.js} +2 -2
  48. package/dist/cdn/{LXPFMOVU.js → A6YWPLE7.js} +2 -2
  49. package/dist/cdn/{YJCVVKWW.js → A76MUKYV.js} +2 -2
  50. package/dist/cdn/{TXIFEERG.js → AIBGICUN.js} +2 -2
  51. package/dist/cdn/{2RIX2L4E.js → AQANDVXZ.js} +2 -2
  52. package/dist/cdn/{VMEBTCTG.js → AZBR4MML.js} +2 -2
  53. package/dist/cdn/{EBDKZ452.js → B24NMQOK.js} +2 -2
  54. package/dist/cdn/{VUNDAV7D.js → B2X6QCDC.js} +2 -2
  55. package/dist/cdn/{72FUQHOO.js → B5TUOHMI.js} +2 -2
  56. package/dist/cdn/{OTGD45MC.js → BMA7SR6K.js} +2 -2
  57. package/dist/cdn/{PWLUYK2L.js → BONMOFLF.js} +2 -2
  58. package/dist/cdn/{EJ5I3EO2.js → BOSCPS37.js} +2 -2
  59. package/dist/cdn/{2F5GUJUU.js → BPFX2JC7.js} +1 -1
  60. package/dist/cdn/{J4OYZZ3N.js → BUTHYYJO.js} +2 -2
  61. package/dist/cdn/{2ERLDLOV.js → BVU47JJJ.js} +2 -2
  62. package/dist/cdn/{7OOG3KYO.js → BX7FRXJU.js} +2 -2
  63. package/dist/cdn/{DLMDEVV6.js → C5NAPWNJ.js} +2 -2
  64. package/dist/cdn/{DHC57QK3.js → CCGDLDWY.js} +2 -2
  65. package/dist/cdn/{SCF6ZOVR.js → CFLY4SLF.js} +2 -2
  66. package/dist/cdn/{KO2QPRQ5.js → CITAJCLK.js} +2 -2
  67. package/dist/cdn/{RTQ4ZH6R.js → CITKZOZS.js} +1 -1
  68. package/dist/cdn/{7QZQOHIT.js → CMGY5RPU.js} +2 -2
  69. package/dist/cdn/{N7ZKNRNB.js → CSIWD5V4.js} +1 -1
  70. package/dist/cdn/{X37CKIUL.js → CYKYRWIX.js} +2 -2
  71. package/dist/cdn/{UY3AHW7O.js → D3SKCWKQ.js} +1 -1
  72. package/dist/cdn/{HI5SMRS6.js → D73J4CCU.js} +1 -1
  73. package/dist/cdn/{VDHA76OZ.js → D7GWIE4D.js} +2 -2
  74. package/dist/cdn/{IQEEIX5N.js → DDDIXNZR.js} +2 -2
  75. package/dist/cdn/{76DPDGD3.js → DJHSC543.js} +2 -2
  76. package/dist/cdn/{GB72CWLS.js → DJT3VPSJ.js} +2 -2
  77. package/dist/cdn/{JUDLMDN5.js → DN4E6LHM.js} +2 -2
  78. package/dist/cdn/{P4QUA7FO.js → DNYRFCHM.js} +2 -2
  79. package/dist/cdn/{7S7KGAQZ.js → DVXSQYL2.js} +2 -2
  80. package/dist/cdn/{W44SQKDK.js → EIMOQUTJ.js} +2 -2
  81. package/dist/cdn/{ZQMYVIVB.js → EKVFT7YW.js} +1 -1
  82. package/dist/cdn/{WKONOVLG.js → ERZHAE7W.js} +2 -2
  83. package/dist/cdn/{REX2ASI4.js → EUUMRV4W.js} +2 -2
  84. package/dist/cdn/{S5BBMQZC.js → EUYJVJRM.js} +2 -2
  85. package/dist/cdn/{S5SAAYWH.js → EWZJH2SA.js} +2 -2
  86. package/dist/cdn/{YZ34APXV.js → EYBM3UYB.js} +2 -2
  87. package/dist/cdn/{XUXUCBEP.js → FDM6V4W6.js} +2 -2
  88. package/dist/cdn/{CT65UHWF.js → FDXFYPYM.js} +2 -2
  89. package/dist/cdn/{FM4TWF5Y.js → FEJC2AQI.js} +2 -2
  90. package/dist/cdn/{MAERPOIR.js → FNFA3KFM.js} +2 -2
  91. package/dist/cdn/{DHW4R26Y.js → FQJRBRDS.js} +2 -2
  92. package/dist/cdn/{KNLIRA5Z.js → FV72QMZH.js} +2 -2
  93. package/dist/cdn/{FRUOT26C.js → G45IFNWL.js} +2 -2
  94. package/dist/cdn/{ZK3GNRHH.js → G7WOXKHO.js} +2 -2
  95. package/dist/cdn/{SRAT5AYK.js → GPKQ3JFB.js} +2 -2
  96. package/dist/cdn/{XRR7ZJA6.js → GQXLYYQJ.js} +2 -2
  97. package/dist/cdn/{5ZO4FMAR.js → GREVTN7Z.js} +2 -2
  98. package/dist/cdn/{HEVL4BIX.js → GRFIN5JH.js} +2 -2
  99. package/dist/cdn/{FGML3XI5.js → GWCVEN4O.js} +2 -2
  100. package/dist/cdn/{FFC7UHII.js → H7Z53QBT.js} +2 -2
  101. package/dist/cdn/{4RLD7KEU.js → HADPOTWU.js} +2 -2
  102. package/dist/cdn/{GQDYQJMS.js → HAIYR75N.js} +2 -2
  103. package/dist/cdn/{QNGMX4WS.js → HDKC6YDI.js} +2 -2
  104. package/dist/cdn/{ALWKJ7RU.js → HH2OFWYR.js} +2 -2
  105. package/dist/cdn/HH63ALLM.js +4 -0
  106. package/dist/cdn/{RGXVCGIV.js → HJ7W53SB.js} +2 -2
  107. package/dist/cdn/{43NR6EC4.js → HNBK6XSY.js} +2 -2
  108. package/dist/cdn/{6KBIMG4D.js → HPFK7PVI.js} +2 -2
  109. package/dist/cdn/{XRI6YWZL.js → HRUCWALO.js} +2 -2
  110. package/dist/cdn/{H2UWUXOZ.js → HSRSEK2D.js} +2 -2
  111. package/dist/cdn/{3RDT5P2I.js → HTSFOD5X.js} +2 -2
  112. package/dist/cdn/{PSGS6NMN.js → HVBILNGK.js} +2 -2
  113. package/dist/cdn/HWFPE4GY.js +4 -0
  114. package/dist/cdn/{L63H4C6J.js → HXUE5EAF.js} +2 -2
  115. package/dist/cdn/{IBNUSMHT.js → I33IQWBP.js} +1 -1
  116. package/dist/cdn/{MV2SUNWN.js → IB6WMOVA.js} +2 -2
  117. package/dist/cdn/{C7ZEOPEC.js → IEZ2IT2K.js} +2 -2
  118. package/dist/cdn/{J6N6TF7X.js → IGKTIIFY.js} +2 -2
  119. package/dist/cdn/{RETBYBEU.js → IKA2MLFA.js} +2 -2
  120. package/dist/cdn/{YE4RTMVS.js → IL6Q25MF.js} +2 -2
  121. package/dist/cdn/{BA7GMTG3.js → INW4HTB3.js} +2 -2
  122. package/dist/cdn/{TKT7UBQR.js → IT43UD4G.js} +2 -2
  123. package/dist/cdn/{M5MH2V4B.js → J3IJ36PF.js} +2 -2
  124. package/dist/cdn/{C3XMGCZG.js → J5CZPXGS.js} +2 -2
  125. package/dist/cdn/{DWC7ATZQ.js → J6VWBGE2.js} +2 -2
  126. package/dist/cdn/{5RBXY763.js → JAIB2DTF.js} +2 -2
  127. package/dist/cdn/{TPW7AHO4.js → JE2ORVV3.js} +1 -1
  128. package/dist/cdn/{CMFAOWSC.js → JH6BKDPH.js} +2 -2
  129. package/dist/cdn/{O7XQPY53.js → JMFKK2PD.js} +2 -2
  130. package/dist/cdn/{ZZDYD6GH.js → JNDCFULE.js} +2 -2
  131. package/dist/cdn/{2L3E2PU6.js → JW4LNQ7I.js} +2 -2
  132. package/dist/cdn/{3IZ3OJQB.js → JXVLWACP.js} +2 -2
  133. package/dist/cdn/{UNXAXV6T.js → K32SVQB7.js} +2 -2
  134. package/dist/cdn/{XPIULVEZ.js → K45PFBYW.js} +2 -2
  135. package/dist/cdn/{YKKDAPCQ.js → K64I3FMO.js} +2 -2
  136. package/dist/cdn/{C2LSCT5G.js → K6SZ4E2Y.js} +2 -2
  137. package/dist/cdn/{ACC7BINE.js → KAE6TF6E.js} +2 -2
  138. package/dist/cdn/KBAPE5WO.js +4 -0
  139. package/dist/cdn/{J7F5HIQ5.js → KZGQO4U3.js} +2 -2
  140. package/dist/cdn/{Z53GK763.js → L7HC3EJN.js} +2 -2
  141. package/dist/cdn/{KSV5WIF6.js → LLJSBFD5.js} +2 -2
  142. package/dist/cdn/{6WAKPHHX.js → LNN7GLRA.js} +2 -2
  143. package/dist/cdn/{F3OUZ5UP.js → LPKTLWF3.js} +2 -2
  144. package/dist/cdn/{DMFIV2PO.js → LRENRLFQ.js} +2 -2
  145. package/dist/cdn/LYC6QXIN.js +4 -0
  146. package/dist/cdn/{HR5N76QI.js → M2JKJG5Z.js} +2 -2
  147. package/dist/cdn/{BGGTIZZD.js → M5JWL4QR.js} +2 -2
  148. package/dist/cdn/{CV23B45Y.js → MMQM6IG3.js} +3 -3
  149. package/dist/cdn/{UQFQA43A.js → MNUVBRPJ.js} +2 -2
  150. package/dist/cdn/{T7AYC3JQ.js → MP5QBZDQ.js} +2 -2
  151. package/dist/cdn/{B2NV7VCA.js → MSV35DG3.js} +1 -1
  152. package/dist/cdn/{YRKZ6WCH.js → MT5XP2ME.js} +2 -2
  153. package/dist/cdn/{KE4AR6IE.js → MTXWSX77.js} +2 -2
  154. package/dist/cdn/{O7LXVDI3.js → NDD5L7QA.js} +2 -2
  155. package/dist/cdn/{4NIDNKC6.js → NHGSPJM5.js} +2 -2
  156. package/dist/cdn/{D5L6UNJX.js → NILSN5KL.js} +2 -2
  157. package/dist/cdn/{OI723SEX.js → NMU3Z6UZ.js} +2 -2
  158. package/dist/cdn/{P7RZ2B3H.js → NSKXUBL5.js} +2 -2
  159. package/dist/cdn/{KBQ6EG33.js → O5XEJ7OW.js} +2 -2
  160. package/dist/cdn/{COUSFTBO.js → OBWCS5B6.js} +2 -2
  161. package/dist/cdn/{WRZ6AWOC.js → OCVOMZTN.js} +2 -2
  162. package/dist/cdn/{F57M2PTM.js → OD6KMSXQ.js} +2 -2
  163. package/dist/cdn/{XF6BYP66.js → OLK2FNS5.js} +2 -2
  164. package/dist/cdn/{JKCOLZI6.js → OSZK4H7B.js} +2 -2
  165. package/dist/cdn/{VEOBIIHV.js → OUT7IFX3.js} +2 -2
  166. package/dist/cdn/{OD7H2GMI.js → P5HTEXKW.js} +2 -2
  167. package/dist/cdn/{GVYJVCME.js → P7A7OEXE.js} +2 -2
  168. package/dist/cdn/{RS6O7S6W.js → PDVBGIUF.js} +2 -2
  169. package/dist/cdn/{4X4NX5VN.js → PEWL2DGY.js} +2 -2
  170. package/dist/cdn/{YXDJU7FA.js → PIR72KVC.js} +1 -1
  171. package/dist/cdn/{TYJO4MZC.js → PTZ3O3CW.js} +2 -2
  172. package/dist/cdn/{VU7FZY2H.js → Q33IH4BN.js} +2 -2
  173. package/dist/cdn/{YL2K3ZXY.js → QGFIEFII.js} +2 -2
  174. package/dist/cdn/{BXEFL377.js → QV2GJNE4.js} +2 -2
  175. package/dist/cdn/{IECAGJVB.js → QY4MZE6R.js} +2 -2
  176. package/dist/cdn/{MUHIUQUT.js → QZ2ZZ6YJ.js} +2 -2
  177. package/dist/cdn/{MQTJOLPM.js → R6C6LY2L.js} +2 -2
  178. package/dist/cdn/{HTIIORTK.js → RF7WMV4Z.js} +2 -2
  179. package/dist/cdn/{4BBVWVBY.js → RSUJKYYQ.js} +2 -2
  180. package/dist/cdn/{CEW7DBKQ.js → S26ITSEP.js} +2 -2
  181. package/dist/cdn/{WGOT74Q5.js → S2A2LGA4.js} +2 -2
  182. package/dist/cdn/{AI4ESZHO.js → S3ENLIFO.js} +1 -1
  183. package/dist/cdn/{VIN3JXVK.js → SIDPAHG4.js} +2 -2
  184. package/dist/cdn/{4UP5BSOI.js → SQ3Z3H2F.js} +2 -2
  185. package/dist/cdn/{6VDAO7RG.js → SUEYCXFD.js} +2 -2
  186. package/dist/cdn/{FDLYFPJD.js → SWNW4QOI.js} +2 -2
  187. package/dist/cdn/{UL5ZABW4.js → SXGGVRPM.js} +2 -2
  188. package/dist/cdn/{UUEMBBCZ.js → TCFJ5AAI.js} +2 -2
  189. package/dist/cdn/{WYQG7IVY.js → TFKX5L63.js} +2 -2
  190. package/dist/cdn/{E3EPYWDM.js → TUYVM333.js} +2 -2
  191. package/dist/cdn/{MO2H6CHS.js → U3EEAXKY.js} +2 -2
  192. package/dist/cdn/{HK7NDQ4Y.js → UBLGJMXB.js} +2 -2
  193. package/dist/cdn/{TUJKKS5D.js → UMVO6ZJG.js} +2 -2
  194. package/dist/cdn/{K2H4PAYF.js → UPRSLGKW.js} +2 -2
  195. package/dist/cdn/{Q5FZY63C.js → UQGGWG57.js} +2 -2
  196. package/dist/cdn/UUZWDQPK.js +4 -0
  197. package/dist/cdn/{SXDKTX2P.js → UWGI4UXM.js} +2 -2
  198. package/dist/cdn/{56G6XDD7.js → UX3WSMX2.js} +2 -2
  199. package/dist/cdn/{XA7JDFPN.js → VIWQV3WE.js} +2 -2
  200. package/dist/cdn/{OU5ELNSA.js → VKYSMI45.js} +2 -2
  201. package/dist/cdn/{MT3DTQFO.js → VSYYMHVT.js} +2 -2
  202. package/dist/cdn/{OKAXBB4C.js → VUIVSE5T.js} +2 -2
  203. package/dist/cdn/{HMZ4MFIW.js → W3EI5WHJ.js} +2 -2
  204. package/dist/cdn/{ZQTWGYTW.js → WBUSIBYR.js} +2 -2
  205. package/dist/cdn/{J6UCHM45.js → WDS225UU.js} +2 -2
  206. package/dist/cdn/{KYMBQG3E.js → WEPVTOUG.js} +2 -2
  207. package/dist/cdn/{RWAHER6H.js → WKH5QSAU.js} +2 -2
  208. package/dist/cdn/{NNCKMWOT.js → WR2JONYV.js} +2 -2
  209. package/dist/cdn/{KPWESUJW.js → WTU2KL7N.js} +2 -2
  210. package/dist/cdn/{5N2VB45Z.js → WXO4UREA.js} +1 -1
  211. package/dist/cdn/{DCG4HDHJ.js → XELXJUPD.js} +2 -2
  212. package/dist/cdn/{XQAH4CUZ.js → XLPQTPVQ.js} +2 -2
  213. package/dist/cdn/{UGNMKLQ2.js → XVBSD223.js} +2 -2
  214. package/dist/cdn/{OSGGELZB.js → XXXI6JM4.js} +2 -2
  215. package/dist/cdn/{X4375CVD.js → Y5NFPOSO.js} +2 -2
  216. package/dist/cdn/{H6MHM5HZ.js → YA232SPZ.js} +2 -2
  217. package/dist/cdn/{GTX2M7D5.js → YZUXSFRW.js} +2 -2
  218. package/dist/cdn/{ZF3HA6VM.js → Z266EG6R.js} +2 -2
  219. package/dist/cdn/{QJW2D7F5.js → Z362LHCK.js} +2 -2
  220. package/dist/cdn/{D5YSQJ2U.js → Z5WKJ3EQ.js} +2 -2
  221. package/dist/cdn/{63QUKC54.js → ZARTZC54.js} +2 -2
  222. package/dist/cdn/{NWZH4BAB.js → ZGW5H5IW.js} +2 -2
  223. package/dist/cdn/{SS7EYEZX.js → ZVWW4HQR.js} +2 -2
  224. package/dist/cdn/{HMRPQIC2.js → ZZJ5FFJC.js} +2 -2
  225. package/dist/cdn/assets/utility-network-trace-location/t9n/messages.en.json +1 -1
  226. package/dist/cdn/assets/utility-network-trace-location-list/t9n/messages.en.json +1 -0
  227. package/dist/cdn/index.js +2 -2
  228. package/dist/cdn/main.css +1 -1
  229. package/dist/chunks/AnalysisViewModel.js +1 -1
  230. package/dist/chunks/action-utils.js +1 -1
  231. package/dist/chunks/async-utils.js +1 -1
  232. package/dist/chunks/basemap-gallery-resources.js +1 -1
  233. package/dist/chunks/chart-utils.js +1 -1
  234. package/dist/chunks/chartCommon.js +1 -1
  235. package/dist/chunks/component-utils.js +1 -1
  236. package/dist/chunks/createCloseEvent.js +1 -1
  237. package/dist/chunks/esri-main.js +1 -1
  238. package/dist/chunks/feature-utils.js +1 -1
  239. package/dist/chunks/globalCss.js +1 -1
  240. package/dist/chunks/handle.js +1 -1
  241. package/dist/chunks/heading.js +1 -1
  242. package/dist/chunks/layer-list.js +1 -1
  243. package/dist/chunks/legacyIcon.js +1 -1
  244. package/dist/chunks/maybe.js +1 -1
  245. package/dist/chunks/measurementUtils.js +1 -1
  246. package/dist/chunks/runtime.js +1 -1
  247. package/dist/chunks/screenLocation.js +1 -1
  248. package/dist/chunks/slots.js +1 -1
  249. package/dist/chunks/svgUtils.js +1 -1
  250. package/dist/chunks/univariateUtils.js +1 -1
  251. package/dist/chunks/useArcgisViewReadyError.js +1 -1
  252. package/dist/chunks/useHandles.js +1 -1
  253. package/dist/chunks/useT9n.js +1 -1
  254. package/dist/chunks/useView.js +1 -1
  255. package/dist/chunks/useViewModel.js +1 -1
  256. package/dist/chunks/useWidget.js +1 -1
  257. package/dist/chunks/utils.js +1 -1
  258. package/dist/chunks/utils2.js +1 -1
  259. package/dist/components/arcgis-area-measurement-2d/customElement.js +1 -1
  260. package/dist/components/arcgis-area-measurement-3d/customElement.js +2 -2
  261. package/dist/components/arcgis-attachments/customElement.js +1 -1
  262. package/dist/components/arcgis-basemap-gallery/customElement.js +1 -1
  263. package/dist/components/arcgis-basemap-gallery-item/customElement.js +1 -1
  264. package/dist/components/arcgis-basemap-layer-list/customElement.js +1 -1
  265. package/dist/components/arcgis-basemap-toggle/customElement.js +1 -1
  266. package/dist/components/arcgis-bookmarks/customElement.js +1 -1
  267. package/dist/components/arcgis-building-explorer/customElement.js +1 -1
  268. package/dist/components/arcgis-catalog-layer-list/customElement.js +1 -1
  269. package/dist/components/arcgis-compass/customElement.js +1 -1
  270. package/dist/components/arcgis-coordinate-conversion/customElement.js +1 -1
  271. package/dist/components/arcgis-daylight/customElement.js +1 -1
  272. package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +19 -19
  273. package/dist/components/arcgis-directional-pad/customElement.js +1 -1
  274. package/dist/components/arcgis-directions/customElement.js +1 -1
  275. package/dist/components/arcgis-distance-measurement-2d/customElement.js +1 -1
  276. package/dist/components/arcgis-editor/customElement.js +1 -1
  277. package/dist/components/arcgis-elevation-profile/customElement.js +1 -1
  278. package/dist/components/arcgis-elevation-profile-legend/customElement.js +1 -1
  279. package/dist/components/arcgis-elevation-profile-legend-item/customElement.js +1 -1
  280. package/dist/components/arcgis-elevation-profile-settings/customElement.js +1 -1
  281. package/dist/components/arcgis-elevation-profile-statistics/customElement.js +1 -1
  282. package/dist/components/arcgis-expand/customElement.js +1 -1
  283. package/dist/components/arcgis-feature/customElement.js +1 -1
  284. package/dist/components/arcgis-feature-attachments/customElement.js +1 -1
  285. package/dist/components/arcgis-feature-content/customElement.js +1 -1
  286. package/dist/components/arcgis-feature-element-info/customElement.js +1 -1
  287. package/dist/components/arcgis-feature-expression/customElement.js +1 -1
  288. package/dist/components/arcgis-feature-fields/customElement.js +1 -1
  289. package/dist/components/arcgis-feature-form/customElement.js +1 -1
  290. package/dist/components/arcgis-feature-media/customElement.js +1 -1
  291. package/dist/components/arcgis-feature-relationship/customElement.js +1 -1
  292. package/dist/components/arcgis-feature-table/customElement.js +1 -1
  293. package/dist/components/arcgis-feature-templates/customElement.js +1 -1
  294. package/dist/components/arcgis-feature-utility-network-association-list/customElement.js +1 -1
  295. package/dist/components/arcgis-feature-utility-network-associations/customElement.js +1 -1
  296. package/dist/components/arcgis-features/customElement.js +2 -2
  297. package/dist/components/arcgis-floor-filter/customElement.js +1 -1
  298. package/dist/components/arcgis-fullscreen/customElement.js +1 -1
  299. package/dist/components/arcgis-grid-controls/customElement.js +1 -1
  300. package/dist/components/arcgis-histogram-range-slider/customElement.js +1 -1
  301. package/dist/components/arcgis-home/customElement.js +1 -1
  302. package/dist/components/arcgis-labeled-switch/customElement.js +1 -1
  303. package/dist/components/arcgis-layer-list/customElement.js +1 -1
  304. package/dist/components/arcgis-layer-list-item/customElement.js +1 -1
  305. package/dist/components/arcgis-legend/customElement.js +1 -1
  306. package/dist/components/arcgis-legend-card-color-ramp/customElement.js +1 -1
  307. package/dist/components/arcgis-legend-card-element/customElement.js +1 -1
  308. package/dist/components/arcgis-legend-card-size-ramp/customElement.js +1 -1
  309. package/dist/components/arcgis-legend-card-univariate-above-and-below-ramp/customElement.js +1 -1
  310. package/dist/components/arcgis-legend-card-univariate-color-size-ramp/customElement.js +1 -1
  311. package/dist/components/arcgis-legend-card-view/customElement.js +1 -1
  312. package/dist/components/arcgis-legend-classic-color-ramp/customElement.js +1 -1
  313. package/dist/components/arcgis-legend-classic-element/customElement.js +1 -1
  314. package/dist/components/arcgis-legend-classic-size-ramp/customElement.js +1 -1
  315. package/dist/components/arcgis-legend-classic-univariate-above-and-below-ramp/customElement.js +1 -1
  316. package/dist/components/arcgis-legend-classic-univariate-color-size-ramp/customElement.js +1 -1
  317. package/dist/components/arcgis-legend-classic-view/customElement.js +1 -1
  318. package/dist/components/arcgis-legend-relationship-ramp/customElement.js +1 -1
  319. package/dist/components/arcgis-legend-spike-ramp/customElement.js +1 -1
  320. package/dist/components/arcgis-line-of-sight/customElement.js +1 -1
  321. package/dist/components/arcgis-link-chart/customElement.js +1 -1
  322. package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +1 -1
  323. package/dist/components/arcgis-locate/customElement.js +1 -1
  324. package/dist/components/arcgis-map/customElement.js +1 -1
  325. package/dist/components/arcgis-measurement/customElement.js +1 -1
  326. package/dist/components/arcgis-measurement-content/customElement.js +1 -1
  327. package/dist/components/arcgis-navigation-toggle/customElement.js +1 -1
  328. package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +1 -1
  329. package/dist/components/arcgis-placement/customElement.js +1 -1
  330. package/dist/components/arcgis-popup/customElement.js +1 -1
  331. package/dist/components/arcgis-print/customElement.js +1 -1
  332. package/dist/components/arcgis-print-custom-text-elements/customElement.js +1 -1
  333. package/dist/components/arcgis-print-dpi-input/customElement.js +1 -1
  334. package/dist/components/arcgis-print-export-button/customElement.js +1 -1
  335. package/dist/components/arcgis-print-exported-link/customElement.js +1 -1
  336. package/dist/components/arcgis-print-exports-panel/customElement.js +1 -1
  337. package/dist/components/arcgis-print-format-select/customElement.js +1 -1
  338. package/dist/components/arcgis-print-layout-advanced-options/customElement.js +1 -1
  339. package/dist/components/arcgis-print-layout-panel/customElement.js +1 -1
  340. package/dist/components/arcgis-print-main-panel/customElement.js +1 -1
  341. package/dist/components/arcgis-print-map-only-advanced-options/customElement.js +1 -1
  342. package/dist/components/arcgis-print-map-only-panel/customElement.js +1 -1
  343. package/dist/components/arcgis-print-out-spatial-reference-input/customElement.js +1 -1
  344. package/dist/components/arcgis-print-preview-input/customElement.js +1 -1
  345. package/dist/components/arcgis-print-scale-section/customElement.js +1 -1
  346. package/dist/components/arcgis-print-template-select/customElement.js +1 -1
  347. package/dist/components/arcgis-print-template-selector/customElement.js +1 -1
  348. package/dist/components/arcgis-scale-bar/customElement.js +1 -1
  349. package/dist/components/arcgis-scale-range-slider/customElement.js +1 -1
  350. package/dist/components/arcgis-scene/customElement.js +1 -1
  351. package/dist/components/arcgis-search/customElement.js +1 -1
  352. package/dist/components/arcgis-search-result-renderer/customElement.js +1 -1
  353. package/dist/components/arcgis-shadow-cast/customElement.js +1 -1
  354. package/dist/components/arcgis-sketch/customElement.js +1 -1
  355. package/dist/components/arcgis-slice/customElement.js +1 -1
  356. package/dist/components/arcgis-spinner/customElement.js +1 -1
  357. package/dist/components/arcgis-swipe/customElement.js +1 -1
  358. package/dist/components/arcgis-table-list/customElement.js +1 -1
  359. package/dist/components/arcgis-time-slider/customElement.js +1 -1
  360. package/dist/components/arcgis-time-zone-label/customElement.js +1 -1
  361. package/dist/components/arcgis-track/customElement.js +1 -1
  362. package/dist/components/arcgis-unit-select/customElement.js +1 -1
  363. package/dist/components/arcgis-utility-network-association-list/customElement.js +1 -1
  364. package/dist/components/arcgis-utility-network-associations/customElement.js +1 -1
  365. package/dist/components/arcgis-utility-network-result-feature-list/customElement.js +1 -1
  366. package/dist/components/arcgis-utility-network-subnetwork-info/customElement.js +1 -1
  367. package/dist/components/arcgis-utility-network-trace/customElement.js +1 -1
  368. package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +14 -8
  369. package/dist/components/arcgis-utility-network-trace-inputs/customElement.d.ts +5 -0
  370. package/dist/components/arcgis-utility-network-trace-inputs/customElement.js +48 -36
  371. package/dist/components/arcgis-utility-network-trace-location/customElement.d.ts +18 -6
  372. package/dist/components/arcgis-utility-network-trace-location/customElement.js +173 -117
  373. package/dist/components/arcgis-utility-network-trace-location/index.d.ts +1 -0
  374. package/dist/components/arcgis-utility-network-trace-location/index.js +1 -0
  375. package/dist/components/arcgis-utility-network-trace-location-list/customElement.d.ts +21 -0
  376. package/dist/components/arcgis-utility-network-trace-location-list/customElement.js +75 -0
  377. package/dist/components/arcgis-utility-network-trace-location-list/index.d.ts +9 -0
  378. package/dist/components/arcgis-utility-network-trace-location-list/index.js +9 -0
  379. package/dist/components/arcgis-utility-network-trace-results/customElement.js +1 -1
  380. package/dist/components/arcgis-utility-network-validate-topology/customElement.js +1 -1
  381. package/dist/components/arcgis-value-picker/customElement.js +1 -1
  382. package/dist/components/arcgis-version-management/customElement.js +1 -1
  383. package/dist/components/arcgis-version-management-service-item/customElement.js +1 -1
  384. package/dist/components/arcgis-version-management-version-list/customElement.js +1 -1
  385. package/dist/components/arcgis-version-management-version-properties/customElement.js +1 -1
  386. package/dist/components/arcgis-video/customElement.js +1 -1
  387. package/dist/components/arcgis-video-player/customElement.js +1 -1
  388. package/dist/components/arcgis-video-player-action-bar/customElement.js +1 -1
  389. package/dist/components/arcgis-video-player-actions-group/customElement.js +1 -1
  390. package/dist/components/arcgis-video-player-controls-group/customElement.js +1 -1
  391. package/dist/components/arcgis-video-player-metadata/customElement.js +1 -1
  392. package/dist/components/arcgis-video-player-settings/customElement.js +1 -1
  393. package/dist/components/arcgis-video-player-slider/customElement.js +1 -1
  394. package/dist/components/arcgis-weather/customElement.js +1 -1
  395. package/dist/components/arcgis-zoom/customElement.js +1 -1
  396. package/dist/docs/api.json +227 -5
  397. package/dist/docs/docs.json +197 -6
  398. package/dist/docs/vscode.html-custom-data.json +42 -1
  399. package/dist/docs/web-types.json +68 -3
  400. package/dist/index.d.ts +6 -0
  401. package/dist/index.js +1 -1
  402. package/dist/loader.js +4 -3
  403. package/dist/types/lumina.d.ts +8 -2
  404. package/dist/types/preact.d.ts +9 -2
  405. package/dist/types/preact10.d.ts +10 -2
  406. package/dist/types/react.d.ts +10 -2
  407. package/dist/types/stencil.d.ts +8 -2
  408. package/package.json +3 -3
  409. package/dist/cdn/2FHHPE2U.js +0 -4
  410. package/dist/cdn/3U5ALAM7.js +0 -4
  411. package/dist/cdn/75OYXED5.js +0 -4
  412. package/dist/cdn/M2E32NEN.js +0 -4
  413. package/dist/cdn/TQVYF6AA.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.37 */
4
- import c from"./43NR6EC4.js";import{a as E}from"./GB72CWLS.js";import b from"./6KBIMG4D.js";import a from"./4NIDNKC6.js";import"./5RBXY763.js";import"./UY3AHW7O.js";import"./5N2VB45Z.js";import{H as x,I,J as y,K as k,P as V,a as w,b as h,g as _,s as v}from"./ZQMYVIVB.js";import"./RTQ4ZH6R.js";export default $arcgis.t(([{once:F,watch:M},$,,,S])=>{var A=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-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-hidden{display:none!important}[class^=esri-icon-],[class*=" esri-icon-"]{speak:none;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-style:normal;font-weight:var(--calcite-font-weight-normal);line-height:1;font-family:CalciteWebCoreIcons!important}.esri-icon-close:before{content:"";color:inherit}.esri-icon-drag-horizontal:before{content:"";color:inherit}.esri-icon-drag-vertical:before{content:"";color:inherit}.esri-icon-handle-horizontal:before{content:"";color:inherit}.esri-icon-handle-vertical:before{content:"";color:inherit}.esri-icon-check-mark:before{content:"";color:inherit}.esri-icon-left-triangle-arrow:before{content:"";color:inherit}.esri-icon-right-triangle-arrow:before{content:"";color:inherit}.esri-icon-down-arrow:before{content:"";color:inherit}.esri-icon-up-arrow:before{content:"";color:inherit}.esri-icon-overview-arrow-bottom-left:before{content:"";color:inherit}.esri-icon-overview-arrow-bottom-right:before{content:"";color:inherit}.esri-icon-overview-arrow-top-left:before{content:"";color:inherit}.esri-icon-overview-arrow-top-right:before{content:"";color:inherit}.esri-icon-maximize:before{content:"";color:inherit}.esri-icon-minimize:before{content:"";color:inherit}.esri-icon-checkbox-unchecked:before{content:"";color:inherit}.esri-icon-checkbox-checked:before{content:"";color:inherit}.esri-icon-radio-unchecked:before{content:"";color:inherit}.esri-icon-radio-checked:before{content:"";color:inherit}.esri-icon-up-arrow-circled:before{content:"";color:inherit}.esri-icon-down-arrow-circled:before{content:"";color:inherit}.esri-icon-left-arrow-circled:before{content:"";color:inherit}.esri-icon-right-arrow-circled:before{content:"";color:inherit}.esri-icon-zoom-out-fixed:before{content:"";color:inherit}.esri-icon-zoom-in-fixed:before{content:"";color:inherit}.esri-icon-refresh:before{content:"";color:inherit}.esri-icon-edit:before{content:"";color:inherit}.esri-icon-authorize:before{content:"";color:inherit}.esri-icon-map-pin:before{content:"";color:inherit}.esri-icon-blank-map-pin:before{content:"";color:inherit}.esri-icon-table:before{content:"";color:inherit}.esri-icon-plus:before{content:"+";color:inherit}.esri-icon-minus:before{content:"";color:inherit}.esri-icon-beginning:before{content:"";color:inherit}.esri-icon-reverse:before{content:"";color:inherit}.esri-icon-pause:before{content:"";color:inherit}.esri-icon-play:before{content:"";color:inherit}.esri-icon-forward:before{content:"";color:inherit}.esri-icon-end:before{content:"";color:inherit}.esri-icon-erase:before{content:"";color:inherit}.esri-icon-up-down-arrows:before{content:"";color:inherit}.esri-icon-left:before{content:"";color:inherit}.esri-icon-right:before{content:"";color:inherit}.esri-icon-announcement:before{content:"";color:inherit}.esri-icon-notice-round:before{content:"";color:inherit}.esri-icon-notice-triangle:before{content:"";color:inherit}.esri-icon-home:before{content:"";color:inherit}.esri-icon-locate:before{content:"";color:inherit}.esri-icon-expand:before{content:"";color:inherit}.esri-icon-collapse:before{content:"";color:inherit}.esri-icon-layer-list:before{content:"";color:inherit}.esri-icon-basemap:before{content:"";color:inherit}.esri-icon-globe:before{content:"";color:inherit}.esri-icon-applications:before{content:"";color:inherit}.esri-icon-arrow-up-circled:before{content:"";color:inherit}.esri-icon-arrow-down-circled:before{content:"";color:inherit}.esri-icon-arrow-left-circled:before{content:"";color:inherit}.esri-icon-arrow-right-circled:before{content:"";color:inherit}.esri-icon-minus-circled:before{content:"";color:inherit}.esri-icon-plus-circled:before{content:"";color:inherit}.esri-icon-add-attachment:before{content:"";color:inherit}.esri-icon-attachment:before{content:"";color:inherit}.esri-icon-calendar:before{content:"";color:inherit}.esri-icon-close-circled:before{content:"";color:inherit}.esri-icon-browser:before{content:"";color:inherit}.esri-icon-collection:before{content:"";color:inherit}.esri-icon-comment:before{content:"";color:inherit}.esri-icon-configure-popup:before{content:"";color:inherit}.esri-icon-contact:before{content:"";color:inherit}.esri-icon-dashboard:before{content:"";color:inherit}.esri-icon-deny:before{content:"";color:inherit}.esri-icon-description:before{content:"";color:inherit}.esri-icon-directions:before{content:"";color:inherit}.esri-icon-directions2:before{content:"";color:inherit}.esri-icon-documentation:before{content:"";color:inherit}.esri-icon-duplicate:before{content:"";color:inherit}.esri-icon-review:before{content:"";color:inherit}.esri-icon-environment-settings:before{content:"";color:inherit}.esri-icon-error:before{content:"";color:inherit}.esri-icon-error2:before{content:"";color:inherit}.esri-icon-experimental:before{content:"";color:inherit}.esri-icon-feature-layer:before{content:"";color:inherit}.esri-icon-filter:before{content:"";color:inherit}.esri-icon-grant:before{content:"";color:inherit}.esri-icon-group:before{content:"";color:inherit}.esri-icon-key:before{content:"";color:inherit}.esri-icon-labels:before{content:"";color:inherit}.esri-icon-tag:before{content:"";color:inherit}.esri-icon-layers:before{content:"";color:inherit}.esri-icon-left-arrow:before{content:"";color:inherit}.esri-icon-right-arrow:before{content:"";color:inherit}.esri-icon-link-external:before{content:"";color:inherit}.esri-icon-link:before{content:"";color:inherit}.esri-icon-loading-indicator:before{content:"";color:inherit}.esri-icon-maps:before{content:"";color:inherit}.esri-icon-marketplace:before{content:"";color:inherit}.esri-icon-media:before{content:"";color:inherit}.esri-icon-media2:before{content:"";color:inherit}.esri-icon-menu:before{content:"";color:inherit}.esri-icon-mobile:before{content:"";color:inherit}.esri-icon-phone:before{content:"";color:inherit}.esri-icon-navigation:before{content:"";color:inherit}.esri-icon-pan:before{content:"";color:inherit}.esri-icon-printer:before{content:"";color:inherit}.esri-icon-pie-chart:before{content:"";color:inherit}.esri-icon-chart:before{content:"";color:inherit}.esri-icon-line-chart:before{content:"";color:inherit}.esri-icon-question:before{content:"";color:inherit}.esri-icon-resend-invitation:before{content:"";color:inherit}.esri-icon-rotate:before{content:"";color:inherit}.esri-icon-save:before{content:"";color:inherit}.esri-icon-settings:before{content:"";color:inherit}.esri-icon-settings2:before{content:"";color:inherit}.esri-icon-share:before{content:"";color:inherit}.esri-icon-sign-out:before{content:"";color:inherit}.esri-icon-support:before{content:"";color:inherit}.esri-icon-user:before{content:"";color:inherit}.esri-icon-time-clock:before{content:"";color:inherit}.esri-icon-trash:before{content:"";color:inherit}.esri-icon-upload:before{content:"";color:inherit}.esri-icon-download:before{content:"";color:inherit}.esri-icon-zoom-in-magnifying-glass:before{content:"";color:inherit}.esri-icon-search:before{content:"";color:inherit}.esri-icon-zoom-out-magnifying-glass:before{content:"";color:inherit}.esri-icon-locked:before{content:"";color:inherit}.esri-icon-unlocked:before{content:"";color:inherit}.esri-icon-favorites:before{content:"";color:inherit}.esri-icon-compass:before{content:"";color:inherit}.esri-icon-down:before{content:"";color:inherit}.esri-icon-up:before{content:"";color:inherit}.esri-icon-chat:before{content:"";color:inherit}.esri-icon-dock-bottom:before{content:"";color:inherit}.esri-icon-dock-left:before{content:"";color:inherit}.esri-icon-dock-right:before{content:"";color:inherit}.esri-icon-organization:before{content:"";color:inherit}.esri-icon-north-navigation:before{content:"";color:inherit}.esri-icon-locate-circled:before{content:"";color:inherit}.esri-icon-dial:before{content:"";color:inherit}.esri-icon-polygon:before{content:"";color:inherit}.esri-icon-polyline:before{content:"";color:inherit}.esri-icon-visible:before{content:"";color:inherit}.esri-icon-non-visible:before{content:"";color:inherit}.esri-icon-link-vertical:before{content:"";color:inherit}.esri-icon-unlocked-link-vertical:before{content:"";color:inherit}.esri-icon-link-horizontal:before{content:"";color:inherit}.esri-icon-unlocked-link-horizontal:before{content:"";color:inherit}.esri-icon-swap:before{content:"";color:inherit}.esri-icon-cta-link-external:before{content:"";color:inherit}.esri-icon-reply:before{content:"";color:inherit}.esri-icon-public:before{content:"";color:inherit}.esri-icon-share2:before{content:"";color:inherit}.esri-icon-launch-link-external:before{content:"";color:inherit}.esri-icon-rotate-back:before{content:"";color:inherit}.esri-icon-pan2:before{content:"";color:inherit}.esri-icon-tracking:before{content:"";color:inherit}.esri-icon-expand2:before{content:"";color:inherit}.esri-icon-arrow-down:before{content:"";color:inherit}.esri-icon-arrow-up:before{content:"";color:inherit}.esri-icon-hollow-eye:before{content:"";color:inherit}.esri-icon-play-circled:before{content:"";color:inherit}.esri-icon-volume-off:before{content:"";color:inherit}.esri-icon-volume-on:before{content:"";color:inherit}.esri-icon-bookmark:before{content:"";color:inherit}.esri-icon-lightbulb:before{content:"";color:inherit}.esri-icon-sketch-rectangle:before{content:"";color:inherit}.esri-icon-north-navigation-filled:before{content:"";color:inherit}.esri-icon-default-action:before{content:"";color:inherit}.esri-icon-undo:before{content:"";color:inherit}.esri-icon-redo:before{content:"";color:inherit}.esri-icon-cursor:before{content:"";color:inherit}.esri-icon-cursor-filled:before{content:"";color:inherit}.esri-icon-measure:before{content:"";color:inherit}.esri-icon-measure-line:before{content:"";color:inherit}.esri-icon-measure-area:before{content:"";color:inherit}.esri-icon-legend:before{content:"";color:inherit}.esri-icon-sliders:before{content:"";color:inherit}.esri-icon-sliders-horizontal:before{content:"";color:inherit}.esri-icon-cursor-marquee:before{content:"";color:inherit}.esri-icon-lasso:before{content:"";color:inherit}.esri-icon-elevation-profile:before{content:"";color:inherit}.esri-icon-slice:before{content:"";color:inherit}.esri-icon-line-of-sight:before{content:"";color:inherit}.esri-icon-zoom-to-object:before{content:"";color:inherit}.esri-icon-urban-model:before{content:"";color:inherit}.esri-icon-measure-building-height-shadow:before{content:"";color:inherit}.esri-icon-partly-cloudy:before{content:"";color:inherit}:host{max-width:fit-content}.arcgis-version-management{.component-container-flow{width:350px}.invalid-initial-version-notice{margin-bottom:1rem}.service-items-panel{z-index:unset!important}calcite-block{margin:0}}`,U=S($),L="map-components:version-management",p=class extends y{constructor(){super(...arguments),this.flowElement=x(),this.messages=E({blocking:!0}),this.viewModel=U(this),this._isInitialVersionInvalid=new Map,this._initialVersionInfos=[],this._showInvalidFeatureServiceNotice=!1,this.allowEditingDisabled=!1,this.autoDestroyDisabled=!1,this.closable=!1,this.pageSize=5,this.state=this.viewModel.state,this.versioningStates=this.viewModel.versioningStates,this.view=this.viewModel.view,this.arcgisReady=v(),this.arcgisVersioningStateChanged=v()}static{this.properties={versionList:16,_showInvalidFeatureServiceNotice:16,allowEditingDisabled:5,autoDestroyDisabled:5,closable:7,initialVersionInfos:0,icon:1,label:3,messageOverrides:0,mode:1,pageSize:9,position:1,referenceElement:1,state:3,versioningStates:0,view:0}}static{this.styles=A}get initialVersionInfos(){return this._initialVersionInfos}set initialVersionInfos(e){this._initialVersionInfos=e.map(i=>({...i,url:this._removeTrailingSlash(i.url)}))}async destroy(){await this.manager.destroy()}async load(){F(()=>this.viewModel.state==="ready").then(()=>{this.initialVersionInfos.forEach(e=>{try{this._changeToInitialVersion(e)}catch(i){console.error(i)}})}),this.manager.onLifecycle(()=>[M(()=>this.viewModel.state,e=>{let{flowElement:{value:i},versionList:r}=this,o=i?.getElementsByTagName("arcgis-version-management-version-properties")[0];if(e==="disabled"&&i){o&&this._removeVersionPropertiesFlowItem(i),r&&this._removeVersionListFlowItem(i);return}r&&(r.versionListElementProps={...r.versionListElementProps,executionError:this.viewModel.executionError},r.versionListElementProps={...r.versionListElementProps,state:e}),o&&(o.versionPropertiesElementProps={...o.versionPropertiesElementProps,state:e})})])}disconnectedCallback(){super.disconnectedCallback(),this.versionPropertiesContainer?.remove()}_removeTrailingSlash(e){return e.replace(/\/+$/u,"")}_createVersionPropertiesFlowItem(e,i){let{closable:r,viewModel:o,viewModel:{state:n}}=this,c={closable:r,currentUser:o.userLookup.get(e),isVersionAdministrator:o.versionAdministratorLookup.get(e),serviceUrl:e,state:n,strings:this.messages,versionInfo:i};this.versionPropertiesContainer=document.createElement("div");let t=_(h`<arcgis-version-management-version-properties .versionPropertiesElementProps=${c} selected show-back-button></arcgis-version-management-version-properties>`,this.versionPropertiesContainer),s=Array.from(t.parentNode.childNodes).find(a=>a.nodeName.toUpperCase()==="ARCGIS-VERSION-MANAGEMENT-VERSION-PROPERTIES");return this.listenOn(s,"arcgisFlowItemBack",()=>{this._removeVersionPropertiesFlowItem(this.flowElement.value)}),this.listenOn(s,"calciteFlowItemBack",a=>{a.preventDefault(),this._removeVersionPropertiesFlowItem(this.flowElement.value),this.versionList&&(this.versionList.selected=!0)}),this.listenOn(s,"calciteFlowItemClose",this._handleFlowItemClose),this.listenOn(s,"arcgisCreateVersion",this._handleCreateVersion),this.listenOn(s,"arcgisAlterVersion",this._handleAlterVersion),s}_getLoadError(e){let{messages:i}=this;switch(e){case"no-feature-services":return i.loadErrors.noFeatureServices;case"no-view-property":return i.loadErrors.noViewProperty;default:return e}}async _handleAlterVersion(e){let{flowElement:{value:i},viewModel:r}=this,{alterVersionParameters:o}=e.detail;await r.alterVersion(o).then(async n=>{n&&this.arcgisVersioningStateChanged.emit({type:"version-changed",versionIdentifier:o.versionIdentifier,versioningState:r.versioningStateLookup.get(o.featureServerUrl)}),await this._refreshVersionList(o.featureServerUrl)}).finally(()=>{i&&this._removeVersionPropertiesFlowItem(i)})}_handleCreateVersion(e){let{flowElement:{value:i},viewModel:r}=this,{createVersionParameters:o,switchToVersion:n}=e.detail;r.createVersion(o).then(async c=>{c&&this.arcgisVersioningStateChanged.emit({type:"version-created",versionIdentifier:c.versionIdentifier,versioningState:r.versioningStateLookup.get(o.featureServerUrl)}),n&&await this.viewModel.changeVersion(o.featureServerUrl,c.versionIdentifier.name,c.versionIdentifier.guid).then(t=>{t&&this.arcgisVersioningStateChanged.emit({type:"version-switched",versionIdentifier:c.versionIdentifier,versioningState:r.versioningStateLookup.get(o.featureServerUrl)})}),await this._refreshVersionList(o.featureServerUrl)}).finally(()=>{i&&this._removeVersionPropertiesFlowItem(i)})}_changeToInitialVersion(e){let{_isInitialVersionInvalid:i,viewModel:r}=this,{url:o,name:n}=e,c=r.versioningStateLookup.get(o);if(!c)throw this._showInvalidFeatureServiceNotice=!0,new Error(`${L} - no versioning state found for feature service ${o}`);let t=c?.versionInfos.find(g=>g.versionIdentifier.name===n);if(!t)throw i.set(o,!0),new Error(`${L} - version ${n} not found in the versioning state for feature service ${o}`);let s=t.versionIdentifier,a=c?.currentVersionInfo?.versionIdentifier;s.guid!==a?.guid&&r.changeVersion(o,s.name,s.guid)}_handleFlowItemClose(){let e=document.querySelector("arcgis-version-management");e.parentElement?.removeChild(e)}async _handleNewVersionAction(e){let i=this._createVersionPropertiesFlowItem(e.detail.serviceUrl,void 0);this.flowElement.value?.appendChild(i),this.versionList&&(this.versionList.selected=!1)}async _handleManageVersionAction(e){let{actionType:i,serviceUrl:r,versionInfo:o}=e.detail,{viewModel:n,flowElement:c}=this;switch(i){case"changeVersion":{n.changeVersion(r,o.versionIdentifier.name,o.versionIdentifier.guid).then(t=>{t&&this.arcgisVersioningStateChanged.emit({type:"version-switched",versionIdentifier:o.versionIdentifier,versioningState:n.versioningStateLookup.get(r)});let{versionList:s}=this;s&&(s.versionListElementProps={...s.versionListElementProps,currentVersionIdentifier:n.versioningStateLookup.get(r).currentVersionInfo.versionIdentifier})});break}case"deleteVersion":{n.deleteVersion(r,o.versionIdentifier.name,o.versionIdentifier.guid).then(async t=>{t&&this.arcgisVersioningStateChanged.emit({type:"version-deleted",versionIdentifier:o.versionIdentifier,versioningState:n.versioningStateLookup.get(r)}),await this._refreshVersionList(r)});break}case"editVersion":{let t=this._createVersionPropertiesFlowItem(r,o);c.value?.appendChild(t),this.versionList&&(this.versionList.selected=!1);break}}}async _refreshVersionList(e){let{flowElement:{value:i},versionList:r,viewModel:o}=this;if(i){let n=await o.getVersionInfos(e),c=i.getElementsByTagName("arcgis-version-management-service-item");for(let t of c)t.serviceItemElementProps.serviceUrl===e&&(t.serviceItemElementProps={...t.serviceItemElementProps,versionInfos:n});r&&(r.versionListElementProps={...r.versionListElementProps,currentVersionIdentifier:o.versioningStateLookup.get(e).currentVersionInfo.versionIdentifier,versionInfos:n})}}_removeVersionListFlowItem(e){for(let i of e.childNodes)i.nodeName.toUpperCase()==="ARCGIS-VERSION-MANAGEMENT-VERSION-LIST"&&(e.removeChild(i),this.versionList=void 0),i.nodeName.toUpperCase()==="CALCITE-FLOW-ITEM"&&(i.hidden=!1)}_removeVersionPropertiesFlowItem(e){for(let i of e.childNodes)i.nodeName.toUpperCase()==="ARCGIS-VERSION-MANAGEMENT-VERSION-PROPERTIES"&&e.removeChild(i)}render(){let{allowEditingDisabled:e,closable:i,flowElement:{value:r},initialVersionInfos:o,_isInitialVersionInvalid:n,label:c,messages:t,mode:s,pageSize:a,versionList:g,viewModel:d,viewModel:{loadError:u,state:f}}=this,z=Array.from(d.serviceNameLookup,([l,b])=>({url:l,name:b})),C=f!=="disabled"?z.map(l=>{let b={allowEditing:!e,closable:i,currentUser:d.userLookup.get(l.url),currentVersionIdentifier:d.versioningStateLookup.get(l.url).currentVersionInfo.versionIdentifier,executionError:void 0,flowElement:r,heading:c,initialVersionInfos:o,isInitialVersionInvalid:n,isVersionAdministrator:d.versionAdministratorLookup.get(l.url),isVersioningApiAvailable:(d.serverVersionLookup.get(l.url)??0)>=11.2,mode:s,pageSize:a,serviceName:l.name,state:f,serviceUrl:l.url,strings:t,versionInfos:d.versioningStateLookup.get(l.url)?.versionInfos??[]};return h`<arcgis-version-management-service-item .serviceItemElementProps=${b} @arcgisFlowItemBack=${()=>{r&&(this._removeVersionListFlowItem(r),this.versionList=void 0)}} @arcgisFlowItemClose=${()=>this._handleFlowItemClose()} @arcgisGetVersions=${async m=>{await this._refreshVersionList(m.detail.serviceUrl)}} @arcgisManageVersion=${this._handleManageVersionAction} @arcgisNewVersion=${this._handleNewVersionAction} @arcgisCreateVersionList=${m=>this.versionList=m.detail}></arcgis-version-management-service-item>`}):void 0,P=f==="disabled"&&u!=null?h`<calcite-notice class="notice" kind=warning open scale=s slot=footer width=full><div slot=message>${this._getLoadError(u)}</div></calcite-notice>`:void 0,N=this._showInvalidFeatureServiceNotice?h`<calcite-notice closable kind=warning open scale=s slot=content-top width=full icon @calciteNoticeClose=${()=>this._showInvalidFeatureServiceNotice=!1}><div slot=title>${t.headers.invalidInitialFeatureService}</div><div slot=message>${t.loadErrors.invalidInitialFeatureService}</div></calcite-notice>`:void 0;return h`<div class="arcgis-version-management"><calcite-flow custom-item-selectors="arcgis-version-management-version-list, arcgis-version-management-version-properties" class=${k(this.mode==="dialog"?"":"component-container-flow")} ${I(this.flowElement)}><calcite-flow-item .closable=${this.closable} .heading=${c??void 0} @calciteFlowItemClose=${()=>this._handleFlowItemClose()} .selected=${!g}>${N}<calcite-panel class="service-items-panel" .loading=${f==="loading"||f==="executing"}>${C}${P}</calcite-panel></calcite-flow-item></calcite-flow></div>`}};V("arcgis-version-management",p);return p},"core/reactiveUtils","widgets/VersionManagement/VersionManagementViewModel",a,b,c)
3
+ v5.0.0-next.39 */
4
+ import c from"./HNBK6XSY.js";import{a as E}from"./DJT3VPSJ.js";import b from"./HPFK7PVI.js";import a from"./NHGSPJM5.js";import"./JAIB2DTF.js";import"./D3SKCWKQ.js";import"./WXO4UREA.js";import{H as x,I,J as y,K as k,P as V,a as w,b as h,g as _,s as v}from"./EKVFT7YW.js";import"./CITKZOZS.js";export default $arcgis.t(([{once:F,watch:M},$,,,S])=>{var A=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-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-hidden{display:none!important}[class^=esri-icon-],[class*=" esri-icon-"]{speak:none;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-style:normal;font-weight:var(--calcite-font-weight-normal);line-height:1;font-family:CalciteWebCoreIcons!important}.esri-icon-close:before{content:"";color:inherit}.esri-icon-drag-horizontal:before{content:"";color:inherit}.esri-icon-drag-vertical:before{content:"";color:inherit}.esri-icon-handle-horizontal:before{content:"";color:inherit}.esri-icon-handle-vertical:before{content:"";color:inherit}.esri-icon-check-mark:before{content:"";color:inherit}.esri-icon-left-triangle-arrow:before{content:"";color:inherit}.esri-icon-right-triangle-arrow:before{content:"";color:inherit}.esri-icon-down-arrow:before{content:"";color:inherit}.esri-icon-up-arrow:before{content:"";color:inherit}.esri-icon-overview-arrow-bottom-left:before{content:"";color:inherit}.esri-icon-overview-arrow-bottom-right:before{content:"";color:inherit}.esri-icon-overview-arrow-top-left:before{content:"";color:inherit}.esri-icon-overview-arrow-top-right:before{content:"";color:inherit}.esri-icon-maximize:before{content:"";color:inherit}.esri-icon-minimize:before{content:"";color:inherit}.esri-icon-checkbox-unchecked:before{content:"";color:inherit}.esri-icon-checkbox-checked:before{content:"";color:inherit}.esri-icon-radio-unchecked:before{content:"";color:inherit}.esri-icon-radio-checked:before{content:"";color:inherit}.esri-icon-up-arrow-circled:before{content:"";color:inherit}.esri-icon-down-arrow-circled:before{content:"";color:inherit}.esri-icon-left-arrow-circled:before{content:"";color:inherit}.esri-icon-right-arrow-circled:before{content:"";color:inherit}.esri-icon-zoom-out-fixed:before{content:"";color:inherit}.esri-icon-zoom-in-fixed:before{content:"";color:inherit}.esri-icon-refresh:before{content:"";color:inherit}.esri-icon-edit:before{content:"";color:inherit}.esri-icon-authorize:before{content:"";color:inherit}.esri-icon-map-pin:before{content:"";color:inherit}.esri-icon-blank-map-pin:before{content:"";color:inherit}.esri-icon-table:before{content:"";color:inherit}.esri-icon-plus:before{content:"+";color:inherit}.esri-icon-minus:before{content:"";color:inherit}.esri-icon-beginning:before{content:"";color:inherit}.esri-icon-reverse:before{content:"";color:inherit}.esri-icon-pause:before{content:"";color:inherit}.esri-icon-play:before{content:"";color:inherit}.esri-icon-forward:before{content:"";color:inherit}.esri-icon-end:before{content:"";color:inherit}.esri-icon-erase:before{content:"";color:inherit}.esri-icon-up-down-arrows:before{content:"";color:inherit}.esri-icon-left:before{content:"";color:inherit}.esri-icon-right:before{content:"";color:inherit}.esri-icon-announcement:before{content:"";color:inherit}.esri-icon-notice-round:before{content:"";color:inherit}.esri-icon-notice-triangle:before{content:"";color:inherit}.esri-icon-home:before{content:"";color:inherit}.esri-icon-locate:before{content:"";color:inherit}.esri-icon-expand:before{content:"";color:inherit}.esri-icon-collapse:before{content:"";color:inherit}.esri-icon-layer-list:before{content:"";color:inherit}.esri-icon-basemap:before{content:"";color:inherit}.esri-icon-globe:before{content:"";color:inherit}.esri-icon-applications:before{content:"";color:inherit}.esri-icon-arrow-up-circled:before{content:"";color:inherit}.esri-icon-arrow-down-circled:before{content:"";color:inherit}.esri-icon-arrow-left-circled:before{content:"";color:inherit}.esri-icon-arrow-right-circled:before{content:"";color:inherit}.esri-icon-minus-circled:before{content:"";color:inherit}.esri-icon-plus-circled:before{content:"";color:inherit}.esri-icon-add-attachment:before{content:"";color:inherit}.esri-icon-attachment:before{content:"";color:inherit}.esri-icon-calendar:before{content:"";color:inherit}.esri-icon-close-circled:before{content:"";color:inherit}.esri-icon-browser:before{content:"";color:inherit}.esri-icon-collection:before{content:"";color:inherit}.esri-icon-comment:before{content:"";color:inherit}.esri-icon-configure-popup:before{content:"";color:inherit}.esri-icon-contact:before{content:"";color:inherit}.esri-icon-dashboard:before{content:"";color:inherit}.esri-icon-deny:before{content:"";color:inherit}.esri-icon-description:before{content:"";color:inherit}.esri-icon-directions:before{content:"";color:inherit}.esri-icon-directions2:before{content:"";color:inherit}.esri-icon-documentation:before{content:"";color:inherit}.esri-icon-duplicate:before{content:"";color:inherit}.esri-icon-review:before{content:"";color:inherit}.esri-icon-environment-settings:before{content:"";color:inherit}.esri-icon-error:before{content:"";color:inherit}.esri-icon-error2:before{content:"";color:inherit}.esri-icon-experimental:before{content:"";color:inherit}.esri-icon-feature-layer:before{content:"";color:inherit}.esri-icon-filter:before{content:"";color:inherit}.esri-icon-grant:before{content:"";color:inherit}.esri-icon-group:before{content:"";color:inherit}.esri-icon-key:before{content:"";color:inherit}.esri-icon-labels:before{content:"";color:inherit}.esri-icon-tag:before{content:"";color:inherit}.esri-icon-layers:before{content:"";color:inherit}.esri-icon-left-arrow:before{content:"";color:inherit}.esri-icon-right-arrow:before{content:"";color:inherit}.esri-icon-link-external:before{content:"";color:inherit}.esri-icon-link:before{content:"";color:inherit}.esri-icon-loading-indicator:before{content:"";color:inherit}.esri-icon-maps:before{content:"";color:inherit}.esri-icon-marketplace:before{content:"";color:inherit}.esri-icon-media:before{content:"";color:inherit}.esri-icon-media2:before{content:"";color:inherit}.esri-icon-menu:before{content:"";color:inherit}.esri-icon-mobile:before{content:"";color:inherit}.esri-icon-phone:before{content:"";color:inherit}.esri-icon-navigation:before{content:"";color:inherit}.esri-icon-pan:before{content:"";color:inherit}.esri-icon-printer:before{content:"";color:inherit}.esri-icon-pie-chart:before{content:"";color:inherit}.esri-icon-chart:before{content:"";color:inherit}.esri-icon-line-chart:before{content:"";color:inherit}.esri-icon-question:before{content:"";color:inherit}.esri-icon-resend-invitation:before{content:"";color:inherit}.esri-icon-rotate:before{content:"";color:inherit}.esri-icon-save:before{content:"";color:inherit}.esri-icon-settings:before{content:"";color:inherit}.esri-icon-settings2:before{content:"";color:inherit}.esri-icon-share:before{content:"";color:inherit}.esri-icon-sign-out:before{content:"";color:inherit}.esri-icon-support:before{content:"";color:inherit}.esri-icon-user:before{content:"";color:inherit}.esri-icon-time-clock:before{content:"";color:inherit}.esri-icon-trash:before{content:"";color:inherit}.esri-icon-upload:before{content:"";color:inherit}.esri-icon-download:before{content:"";color:inherit}.esri-icon-zoom-in-magnifying-glass:before{content:"";color:inherit}.esri-icon-search:before{content:"";color:inherit}.esri-icon-zoom-out-magnifying-glass:before{content:"";color:inherit}.esri-icon-locked:before{content:"";color:inherit}.esri-icon-unlocked:before{content:"";color:inherit}.esri-icon-favorites:before{content:"";color:inherit}.esri-icon-compass:before{content:"";color:inherit}.esri-icon-down:before{content:"";color:inherit}.esri-icon-up:before{content:"";color:inherit}.esri-icon-chat:before{content:"";color:inherit}.esri-icon-dock-bottom:before{content:"";color:inherit}.esri-icon-dock-left:before{content:"";color:inherit}.esri-icon-dock-right:before{content:"";color:inherit}.esri-icon-organization:before{content:"";color:inherit}.esri-icon-north-navigation:before{content:"";color:inherit}.esri-icon-locate-circled:before{content:"";color:inherit}.esri-icon-dial:before{content:"";color:inherit}.esri-icon-polygon:before{content:"";color:inherit}.esri-icon-polyline:before{content:"";color:inherit}.esri-icon-visible:before{content:"";color:inherit}.esri-icon-non-visible:before{content:"";color:inherit}.esri-icon-link-vertical:before{content:"";color:inherit}.esri-icon-unlocked-link-vertical:before{content:"";color:inherit}.esri-icon-link-horizontal:before{content:"";color:inherit}.esri-icon-unlocked-link-horizontal:before{content:"";color:inherit}.esri-icon-swap:before{content:"";color:inherit}.esri-icon-cta-link-external:before{content:"";color:inherit}.esri-icon-reply:before{content:"";color:inherit}.esri-icon-public:before{content:"";color:inherit}.esri-icon-share2:before{content:"";color:inherit}.esri-icon-launch-link-external:before{content:"";color:inherit}.esri-icon-rotate-back:before{content:"";color:inherit}.esri-icon-pan2:before{content:"";color:inherit}.esri-icon-tracking:before{content:"";color:inherit}.esri-icon-expand2:before{content:"";color:inherit}.esri-icon-arrow-down:before{content:"";color:inherit}.esri-icon-arrow-up:before{content:"";color:inherit}.esri-icon-hollow-eye:before{content:"";color:inherit}.esri-icon-play-circled:before{content:"";color:inherit}.esri-icon-volume-off:before{content:"";color:inherit}.esri-icon-volume-on:before{content:"";color:inherit}.esri-icon-bookmark:before{content:"";color:inherit}.esri-icon-lightbulb:before{content:"";color:inherit}.esri-icon-sketch-rectangle:before{content:"";color:inherit}.esri-icon-north-navigation-filled:before{content:"";color:inherit}.esri-icon-default-action:before{content:"";color:inherit}.esri-icon-undo:before{content:"";color:inherit}.esri-icon-redo:before{content:"";color:inherit}.esri-icon-cursor:before{content:"";color:inherit}.esri-icon-cursor-filled:before{content:"";color:inherit}.esri-icon-measure:before{content:"";color:inherit}.esri-icon-measure-line:before{content:"";color:inherit}.esri-icon-measure-area:before{content:"";color:inherit}.esri-icon-legend:before{content:"";color:inherit}.esri-icon-sliders:before{content:"";color:inherit}.esri-icon-sliders-horizontal:before{content:"";color:inherit}.esri-icon-cursor-marquee:before{content:"";color:inherit}.esri-icon-lasso:before{content:"";color:inherit}.esri-icon-elevation-profile:before{content:"";color:inherit}.esri-icon-slice:before{content:"";color:inherit}.esri-icon-line-of-sight:before{content:"";color:inherit}.esri-icon-zoom-to-object:before{content:"";color:inherit}.esri-icon-urban-model:before{content:"";color:inherit}.esri-icon-measure-building-height-shadow:before{content:"";color:inherit}.esri-icon-partly-cloudy:before{content:"";color:inherit}:host{max-width:fit-content}.arcgis-version-management{.component-container-flow{width:350px}.invalid-initial-version-notice{margin-bottom:1rem}.service-items-panel{z-index:unset!important}calcite-block{margin:0}}`,U=S($),L="map-components:version-management",p=class extends y{constructor(){super(...arguments),this.flowElement=x(),this.messages=E({blocking:!0}),this.viewModel=U(this),this._isInitialVersionInvalid=new Map,this._initialVersionInfos=[],this._showInvalidFeatureServiceNotice=!1,this.allowEditingDisabled=!1,this.autoDestroyDisabled=!1,this.closable=!1,this.pageSize=5,this.state=this.viewModel.state,this.versioningStates=this.viewModel.versioningStates,this.view=this.viewModel.view,this.arcgisReady=v(),this.arcgisVersioningStateChanged=v()}static{this.properties={versionList:16,_showInvalidFeatureServiceNotice:16,allowEditingDisabled:5,autoDestroyDisabled:5,closable:7,initialVersionInfos:0,icon:1,label:3,messageOverrides:0,mode:1,pageSize:9,position:1,referenceElement:1,state:3,versioningStates:0,view:0}}static{this.styles=A}get initialVersionInfos(){return this._initialVersionInfos}set initialVersionInfos(e){this._initialVersionInfos=e.map(i=>({...i,url:this._removeTrailingSlash(i.url)}))}async destroy(){await this.manager.destroy()}async load(){F(()=>this.viewModel.state==="ready").then(()=>{this.initialVersionInfos.forEach(e=>{try{this._changeToInitialVersion(e)}catch(i){console.error(i)}})}),this.manager.onLifecycle(()=>[M(()=>this.viewModel.state,e=>{let{flowElement:{value:i},versionList:r}=this,o=i?.getElementsByTagName("arcgis-version-management-version-properties")[0];if(e==="disabled"&&i){o&&this._removeVersionPropertiesFlowItem(i),r&&this._removeVersionListFlowItem(i);return}r&&(r.versionListElementProps={...r.versionListElementProps,executionError:this.viewModel.executionError},r.versionListElementProps={...r.versionListElementProps,state:e}),o&&(o.versionPropertiesElementProps={...o.versionPropertiesElementProps,state:e})})])}disconnectedCallback(){super.disconnectedCallback(),this.versionPropertiesContainer?.remove()}_removeTrailingSlash(e){return e.replace(/\/+$/u,"")}_createVersionPropertiesFlowItem(e,i){let{closable:r,viewModel:o,viewModel:{state:n}}=this,c={closable:r,currentUser:o.userLookup.get(e),isVersionAdministrator:o.versionAdministratorLookup.get(e),serviceUrl:e,state:n,strings:this.messages,versionInfo:i};this.versionPropertiesContainer=document.createElement("div");let t=_(h`<arcgis-version-management-version-properties .versionPropertiesElementProps=${c} selected show-back-button></arcgis-version-management-version-properties>`,this.versionPropertiesContainer),s=Array.from(t.parentNode.childNodes).find(a=>a.nodeName.toUpperCase()==="ARCGIS-VERSION-MANAGEMENT-VERSION-PROPERTIES");return this.listenOn(s,"arcgisFlowItemBack",()=>{this._removeVersionPropertiesFlowItem(this.flowElement.value)}),this.listenOn(s,"calciteFlowItemBack",a=>{a.preventDefault(),this._removeVersionPropertiesFlowItem(this.flowElement.value),this.versionList&&(this.versionList.selected=!0)}),this.listenOn(s,"calciteFlowItemClose",this._handleFlowItemClose),this.listenOn(s,"arcgisCreateVersion",this._handleCreateVersion),this.listenOn(s,"arcgisAlterVersion",this._handleAlterVersion),s}_getLoadError(e){let{messages:i}=this;switch(e){case"no-feature-services":return i.loadErrors.noFeatureServices;case"no-view-property":return i.loadErrors.noViewProperty;default:return e}}async _handleAlterVersion(e){let{flowElement:{value:i},viewModel:r}=this,{alterVersionParameters:o}=e.detail;await r.alterVersion(o).then(async n=>{n&&this.arcgisVersioningStateChanged.emit({type:"version-changed",versionIdentifier:o.versionIdentifier,versioningState:r.versioningStateLookup.get(o.featureServerUrl)}),await this._refreshVersionList(o.featureServerUrl)}).finally(()=>{i&&this._removeVersionPropertiesFlowItem(i)})}_handleCreateVersion(e){let{flowElement:{value:i},viewModel:r}=this,{createVersionParameters:o,switchToVersion:n}=e.detail;r.createVersion(o).then(async c=>{c&&this.arcgisVersioningStateChanged.emit({type:"version-created",versionIdentifier:c.versionIdentifier,versioningState:r.versioningStateLookup.get(o.featureServerUrl)}),n&&await this.viewModel.changeVersion(o.featureServerUrl,c.versionIdentifier.name,c.versionIdentifier.guid).then(t=>{t&&this.arcgisVersioningStateChanged.emit({type:"version-switched",versionIdentifier:c.versionIdentifier,versioningState:r.versioningStateLookup.get(o.featureServerUrl)})}),await this._refreshVersionList(o.featureServerUrl)}).finally(()=>{i&&this._removeVersionPropertiesFlowItem(i)})}_changeToInitialVersion(e){let{_isInitialVersionInvalid:i,viewModel:r}=this,{url:o,name:n}=e,c=r.versioningStateLookup.get(o);if(!c)throw this._showInvalidFeatureServiceNotice=!0,new Error(`${L} - no versioning state found for feature service ${o}`);let t=c?.versionInfos.find(g=>g.versionIdentifier.name===n);if(!t)throw i.set(o,!0),new Error(`${L} - version ${n} not found in the versioning state for feature service ${o}`);let s=t.versionIdentifier,a=c?.currentVersionInfo?.versionIdentifier;s.guid!==a?.guid&&r.changeVersion(o,s.name,s.guid)}_handleFlowItemClose(){let e=document.querySelector("arcgis-version-management");e.parentElement?.removeChild(e)}async _handleNewVersionAction(e){let i=this._createVersionPropertiesFlowItem(e.detail.serviceUrl,void 0);this.flowElement.value?.appendChild(i),this.versionList&&(this.versionList.selected=!1)}async _handleManageVersionAction(e){let{actionType:i,serviceUrl:r,versionInfo:o}=e.detail,{viewModel:n,flowElement:c}=this;switch(i){case"changeVersion":{n.changeVersion(r,o.versionIdentifier.name,o.versionIdentifier.guid).then(t=>{t&&this.arcgisVersioningStateChanged.emit({type:"version-switched",versionIdentifier:o.versionIdentifier,versioningState:n.versioningStateLookup.get(r)});let{versionList:s}=this;s&&(s.versionListElementProps={...s.versionListElementProps,currentVersionIdentifier:n.versioningStateLookup.get(r).currentVersionInfo.versionIdentifier})});break}case"deleteVersion":{n.deleteVersion(r,o.versionIdentifier.name,o.versionIdentifier.guid).then(async t=>{t&&this.arcgisVersioningStateChanged.emit({type:"version-deleted",versionIdentifier:o.versionIdentifier,versioningState:n.versioningStateLookup.get(r)}),await this._refreshVersionList(r)});break}case"editVersion":{let t=this._createVersionPropertiesFlowItem(r,o);c.value?.appendChild(t),this.versionList&&(this.versionList.selected=!1);break}}}async _refreshVersionList(e){let{flowElement:{value:i},versionList:r,viewModel:o}=this;if(i){let n=await o.getVersionInfos(e),c=i.getElementsByTagName("arcgis-version-management-service-item");for(let t of c)t.serviceItemElementProps.serviceUrl===e&&(t.serviceItemElementProps={...t.serviceItemElementProps,versionInfos:n});r&&(r.versionListElementProps={...r.versionListElementProps,currentVersionIdentifier:o.versioningStateLookup.get(e).currentVersionInfo.versionIdentifier,versionInfos:n})}}_removeVersionListFlowItem(e){for(let i of e.childNodes)i.nodeName.toUpperCase()==="ARCGIS-VERSION-MANAGEMENT-VERSION-LIST"&&(e.removeChild(i),this.versionList=void 0),i.nodeName.toUpperCase()==="CALCITE-FLOW-ITEM"&&(i.hidden=!1)}_removeVersionPropertiesFlowItem(e){for(let i of e.childNodes)i.nodeName.toUpperCase()==="ARCGIS-VERSION-MANAGEMENT-VERSION-PROPERTIES"&&e.removeChild(i)}render(){let{allowEditingDisabled:e,closable:i,flowElement:{value:r},initialVersionInfos:o,_isInitialVersionInvalid:n,label:c,messages:t,mode:s,pageSize:a,versionList:g,viewModel:d,viewModel:{loadError:u,state:f}}=this,z=Array.from(d.serviceNameLookup,([l,b])=>({url:l,name:b})),C=f!=="disabled"?z.map(l=>{let b={allowEditing:!e,closable:i,currentUser:d.userLookup.get(l.url),currentVersionIdentifier:d.versioningStateLookup.get(l.url).currentVersionInfo.versionIdentifier,executionError:void 0,flowElement:r,heading:c,initialVersionInfos:o,isInitialVersionInvalid:n,isVersionAdministrator:d.versionAdministratorLookup.get(l.url),isVersioningApiAvailable:(d.serverVersionLookup.get(l.url)??0)>=11.2,mode:s,pageSize:a,serviceName:l.name,state:f,serviceUrl:l.url,strings:t,versionInfos:d.versioningStateLookup.get(l.url)?.versionInfos??[]};return h`<arcgis-version-management-service-item .serviceItemElementProps=${b} @arcgisFlowItemBack=${()=>{r&&(this._removeVersionListFlowItem(r),this.versionList=void 0)}} @arcgisFlowItemClose=${()=>this._handleFlowItemClose()} @arcgisGetVersions=${async m=>{await this._refreshVersionList(m.detail.serviceUrl)}} @arcgisManageVersion=${this._handleManageVersionAction} @arcgisNewVersion=${this._handleNewVersionAction} @arcgisCreateVersionList=${m=>this.versionList=m.detail}></arcgis-version-management-service-item>`}):void 0,P=f==="disabled"&&u!=null?h`<calcite-notice class="notice" kind=warning open scale=s slot=footer width=full><div slot=message>${this._getLoadError(u)}</div></calcite-notice>`:void 0,N=this._showInvalidFeatureServiceNotice?h`<calcite-notice closable kind=warning open scale=s slot=content-top width=full icon @calciteNoticeClose=${()=>this._showInvalidFeatureServiceNotice=!1}><div slot=title>${t.headers.invalidInitialFeatureService}</div><div slot=message>${t.loadErrors.invalidInitialFeatureService}</div></calcite-notice>`:void 0;return h`<div class="arcgis-version-management"><calcite-flow custom-item-selectors="arcgis-version-management-version-list, arcgis-version-management-version-properties" class=${k(this.mode==="dialog"?"":"component-container-flow")} ${I(this.flowElement)}><calcite-flow-item .closable=${this.closable} .heading=${c??void 0} @calciteFlowItemClose=${()=>this._handleFlowItemClose()} .selected=${!g}>${N}<calcite-panel class="service-items-panel" .loading=${f==="loading"||f==="executing"}>${C}${P}</calcite-panel></calcite-flow-item></calcite-flow></div>`}};V("arcgis-version-management",p);return p},"core/reactiveUtils","widgets/VersionManagement/VersionManagementViewModel",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.37 */
4
- import{V as i}from"./SXDKTX2P.js";import"./RTQ4ZH6R.js";var t=class extends i{setupDefaultRules(){super.setupDefaultRules(),this.rule("Component").setAll({interpolationDuration:600}),this.rule("Hierarchy").set("animationDuration",600),this.rule("Scrollbar").set("animationDuration",600),this.rule("Tooltip").set("animationDuration",300),this.rule("MapChart").set("animationDuration",1e3),this.rule("MapChart").set("wheelDuration",300),this.rule("Entity").setAll({stateAnimationDuration:600}),this.rule("Sprite").states.create("default",{stateAnimationDuration:600}),this.rule("Tooltip",["axis"]).setAll({animationDuration:200}),this.rule("WordCloud").set("animationDuration",500),this.rule("Polygon").set("animationDuration",600),this.rule("ArcDiagram").set("animationDuration",600)}};var n=t;export{n as default};
3
+ v5.0.0-next.39 */
4
+ import{V as i}from"./UWGI4UXM.js";import"./CITKZOZS.js";var t=class extends i{setupDefaultRules(){super.setupDefaultRules(),this.rule("Component").setAll({interpolationDuration:600}),this.rule("Hierarchy").set("animationDuration",600),this.rule("Scrollbar").set("animationDuration",600),this.rule("Tooltip").set("animationDuration",300),this.rule("MapChart").set("animationDuration",1e3),this.rule("MapChart").set("wheelDuration",300),this.rule("Entity").setAll({stateAnimationDuration:600}),this.rule("Sprite").states.create("default",{stateAnimationDuration:600}),this.rule("Tooltip",["axis"]).setAll({animationDuration:200}),this.rule("WordCloud").set("animationDuration",500),this.rule("Polygon").set("animationDuration",600),this.rule("ArcDiagram").set("animationDuration",600)}};var n=t;export{n 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.37 */
4
- import c from"./MT3DTQFO.js";import{a as E}from"./X4375CVD.js";import b from"./AI4ESZHO.js";import a from"./F2HK6GJU.js";import"./N7ZKNRNB.js";import"./SCF6ZOVR.js";import{a as w}from"./GB72CWLS.js";import"./5RBXY763.js";import{h as S}from"./UY3AHW7O.js";import{b as y}from"./5N2VB45Z.js";import{H as v,I as f,J as T,K as h,L as A,M as o,P as M,b as r}from"./ZQMYVIVB.js";import"./RTQ4ZH6R.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 appearance=transparent 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} appearance=transparent .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 appearance=transparent 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 appearance=transparent .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} appearance=transparent 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.39 */
4
+ import c from"./VSYYMHVT.js";import{a as E}from"./Y5NFPOSO.js";import b from"./S3ENLIFO.js";import a from"./A5V225PW.js";import"./CSIWD5V4.js";import"./CFLY4SLF.js";import{a as w}from"./DJT3VPSJ.js";import"./JAIB2DTF.js";import{h as S}from"./D3SKCWKQ.js";import{b as y}from"./WXO4UREA.js";import{H as v,I as f,J as T,K as h,L as A,M as o,P as M,b as r}from"./EKVFT7YW.js";import"./CITKZOZS.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 appearance=transparent 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} appearance=transparent .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 appearance=transparent 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 appearance=transparent .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} appearance=transparent 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.37 */
4
- import"./RTQ4ZH6R.js";var a={_decimalSeparator:",",_thousandSeparator:".",_percentPrefix:null,_percentSuffix:"%",_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 - dd MMM",_date_hour:"HH:mm",_date_hour_short:"HH",_date_hour_full:"HH:mm - dd MMM",_date_day:"dd MMM",_date_day_full:"dd MMM",_date_week:"ww",_date_week_full:"dd MMM",_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:"DC",_era_bc:"AC",A:"",P:"",AM:"",PM:"","A.M.":"","P.M.":"",January:"Janeiro",February:"Fevereiro",March:"Mar\xE7o",April:"Abril",May:"Maio",June:"Junho",July:"Julho",August:"Agosto",September:"Setembro",October:"Outubro",November:"Novembro",December:"Dezembro",Jan:"Jan",Feb:"Fev",Mar:"Mar",Apr:"Abr","May(short)":"Mai",Jun:"Jun",Jul:"Jul",Aug:"Ago",Sep:"Set",Oct:"Out",Nov:"Nov",Dec:"Dez",Sunday:"Domingo",Monday:"Segunda-feira",Tuesday:"Ter\xE7a-feira",Wednesday:"Quarta-feira",Thursday:"Quinta-feira",Friday:"Sexta-feira",Saturday:"S\xE1bado",Sun:"Dom",Mon:"Seg",Tue:"Ter",Wed:"Qua",Thu:"Qui",Fri:"Sex",Sat:"S\xE1b",_dateOrd:function(e){return"\xBA"},"Zoom Out":"Reduzir Zoom",Play:"Play",Stop:"Parar",Legend:"Legenda","Press ENTER to toggle":"Clique, toque ou pressione ENTER para alternar",Loading:"Carregando",Home:"In\xEDcio",Chart:"Gr\xE1fico","Serial chart":"Gr\xE1fico Serial","X/Y chart":"Gr\xE1fico XY","Pie chart":"Gr\xE1fico de Pizza","Gauge chart":"Gr\xE1fico Indicador","Radar chart":"Gr\xE1fico de Radar","Sankey diagram":"Diagrama Sankey","Chord diagram":"Diagram Chord","Flow diagram":"Diagrama Flow","TreeMap chart":"Gr\xE1fico de Mapa de \xC1rvore",Series:"S\xE9ries","Candlestick Series":"S\xE9ries do Candlestick","Column Series":"S\xE9ries de Colunas","Line Series":"S\xE9ries de Linhas","Pie Slice Series":"S\xE9ries de Fatias de Pizza","X/Y Series":"S\xE9ries de XY",Map:"Mapa","Press ENTER to zoom in":"Pressione ENTER para aumentar o zoom","Press ENTER to zoom out":"Pressione ENTER para diminuir o zoom","Use arrow keys to zoom in and out":"Use as setas para diminuir ou aumentar o zoom","Use plus and minus keys on your keyboard to zoom in and out":"Use as teclas mais ou menos no seu teclado para diminuir ou aumentar o zoom",Export:"Exportar",Image:"Imagem",Data:"Dados",Print:"Imprimir","Press ENTER to open":"Clique, toque ou pressione ENTER para abrir","Press ENTER to print.":"Clique, toque ou pressione ENTER para imprimir","Press ENTER to export as %1.":"Clique, toque ou pressione ENTER para exportar como %1.","(Press ESC to close this message)":"(Pressione ESC para fechar esta mensagem)","Image Export Complete":"A exporta\xE7\xE3o da imagem foi completada","Export operation took longer than expected. Something might have gone wrong.":"A exporta\xE7\xE3o da imagem demorou mais do que o experado. Algo deve ter dado errado.","Saved from":"Salvo de",PNG:"",JPG:"",GIF:"",SVG:"",PDF:"",JSON:"",CSV:"",XLSX:"",HTML:"","Use TAB to select grip buttons or left and right arrows to change selection":"Use TAB para selecionar os bot\xF5es ou setas para a direita ou esquerda para mudar a sele\xE7\xE3o","Use left and right arrows to move selection":"Use as setas para a esquerda ou direita para mover a sele\xE7\xE3o","Use left and right arrows to move left selection":"Use as setas para a esquerda ou direita para mover a sele\xE7\xE3o da esquerda","Use left and right arrows to move right selection":"Use as setas para a esquerda ou direita para mover a sele\xE7\xE3o da direita","Use TAB select grip buttons or up and down arrows to change selection":"Use TAB para selecionar os bot\xF5es ou setas para cima ou para baixo para mudar a sele\xE7\xE3o","Use up and down arrows to move selection":"Use as setas para cima ou para baixo para mover a sele\xE7\xE3o","Use up and down arrows to move lower selection":"Use as setas para cima ou para baixo para mover a sele\xE7\xE3o de baixo","Use up and down arrows to move upper selection":"Use as setas para cima ou para baixo para mover a sele\xE7\xE3o de cima","From %1 to %2":"De %1 at\xE9 %2","From %1":"De %1","To %1":"At\xE9 %1","No parser available for file: %1":"Nenhum interpretador est\xE1 dispon\xEDvel para este arquivo: %1","Error parsing file: %1":"Erro ao analizar o arquivo: %1","Unable to load file: %1":"O arquivo n\xE3o p\xF4de ser carregado: %1","Invalid date":"Data inv\xE1lida",Close:"",Minimize:"",Confirm:""};export{a as default};
3
+ v5.0.0-next.39 */
4
+ import"./CITKZOZS.js";var a={_decimalSeparator:",",_thousandSeparator:".",_percentPrefix:null,_percentSuffix:"%",_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 - dd MMM",_date_hour:"HH:mm",_date_hour_short:"HH",_date_hour_full:"HH:mm - dd MMM",_date_day:"dd MMM",_date_day_full:"dd MMM",_date_week:"ww",_date_week_full:"dd MMM",_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:"DC",_era_bc:"AC",A:"",P:"",AM:"",PM:"","A.M.":"","P.M.":"",January:"Janeiro",February:"Fevereiro",March:"Mar\xE7o",April:"Abril",May:"Maio",June:"Junho",July:"Julho",August:"Agosto",September:"Setembro",October:"Outubro",November:"Novembro",December:"Dezembro",Jan:"Jan",Feb:"Fev",Mar:"Mar",Apr:"Abr","May(short)":"Mai",Jun:"Jun",Jul:"Jul",Aug:"Ago",Sep:"Set",Oct:"Out",Nov:"Nov",Dec:"Dez",Sunday:"Domingo",Monday:"Segunda-feira",Tuesday:"Ter\xE7a-feira",Wednesday:"Quarta-feira",Thursday:"Quinta-feira",Friday:"Sexta-feira",Saturday:"S\xE1bado",Sun:"Dom",Mon:"Seg",Tue:"Ter",Wed:"Qua",Thu:"Qui",Fri:"Sex",Sat:"S\xE1b",_dateOrd:function(e){return"\xBA"},"Zoom Out":"Reduzir Zoom",Play:"Play",Stop:"Parar",Legend:"Legenda","Press ENTER to toggle":"Clique, toque ou pressione ENTER para alternar",Loading:"Carregando",Home:"In\xEDcio",Chart:"Gr\xE1fico","Serial chart":"Gr\xE1fico Serial","X/Y chart":"Gr\xE1fico XY","Pie chart":"Gr\xE1fico de Pizza","Gauge chart":"Gr\xE1fico Indicador","Radar chart":"Gr\xE1fico de Radar","Sankey diagram":"Diagrama Sankey","Chord diagram":"Diagram Chord","Flow diagram":"Diagrama Flow","TreeMap chart":"Gr\xE1fico de Mapa de \xC1rvore",Series:"S\xE9ries","Candlestick Series":"S\xE9ries do Candlestick","Column Series":"S\xE9ries de Colunas","Line Series":"S\xE9ries de Linhas","Pie Slice Series":"S\xE9ries de Fatias de Pizza","X/Y Series":"S\xE9ries de XY",Map:"Mapa","Press ENTER to zoom in":"Pressione ENTER para aumentar o zoom","Press ENTER to zoom out":"Pressione ENTER para diminuir o zoom","Use arrow keys to zoom in and out":"Use as setas para diminuir ou aumentar o zoom","Use plus and minus keys on your keyboard to zoom in and out":"Use as teclas mais ou menos no seu teclado para diminuir ou aumentar o zoom",Export:"Exportar",Image:"Imagem",Data:"Dados",Print:"Imprimir","Press ENTER to open":"Clique, toque ou pressione ENTER para abrir","Press ENTER to print.":"Clique, toque ou pressione ENTER para imprimir","Press ENTER to export as %1.":"Clique, toque ou pressione ENTER para exportar como %1.","(Press ESC to close this message)":"(Pressione ESC para fechar esta mensagem)","Image Export Complete":"A exporta\xE7\xE3o da imagem foi completada","Export operation took longer than expected. Something might have gone wrong.":"A exporta\xE7\xE3o da imagem demorou mais do que o experado. Algo deve ter dado errado.","Saved from":"Salvo de",PNG:"",JPG:"",GIF:"",SVG:"",PDF:"",JSON:"",CSV:"",XLSX:"",HTML:"","Use TAB to select grip buttons or left and right arrows to change selection":"Use TAB para selecionar os bot\xF5es ou setas para a direita ou esquerda para mudar a sele\xE7\xE3o","Use left and right arrows to move selection":"Use as setas para a esquerda ou direita para mover a sele\xE7\xE3o","Use left and right arrows to move left selection":"Use as setas para a esquerda ou direita para mover a sele\xE7\xE3o da esquerda","Use left and right arrows to move right selection":"Use as setas para a esquerda ou direita para mover a sele\xE7\xE3o da direita","Use TAB select grip buttons or up and down arrows to change selection":"Use TAB para selecionar os bot\xF5es ou setas para cima ou para baixo para mudar a sele\xE7\xE3o","Use up and down arrows to move selection":"Use as setas para cima ou para baixo para mover a sele\xE7\xE3o","Use up and down arrows to move lower selection":"Use as setas para cima ou para baixo para mover a sele\xE7\xE3o de baixo","Use up and down arrows to move upper selection":"Use as setas para cima ou para baixo para mover a sele\xE7\xE3o de cima","From %1 to %2":"De %1 at\xE9 %2","From %1":"De %1","To %1":"At\xE9 %1","No parser available for file: %1":"Nenhum interpretador est\xE1 dispon\xEDvel para este arquivo: %1","Error parsing file: %1":"Erro ao analizar o arquivo: %1","Unable to load file: %1":"O arquivo n\xE3o p\xF4de ser carregado: %1","Invalid date":"Data inv\xE1lida",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.37 */
4
- import b from"./HTIIORTK.js";import a from"./YXDJU7FA.js";import{b as _}from"./5N2VB45Z.js";import{J as p,K as i,L as e,P as m,a as g,b as t}from"./ZQMYVIVB.js";import"./RTQ4ZH6R.js";export default $arcgis.t(([,{a:v,b:b,d:f,f:y,g:h,h:s,i:u}])=>{var F=g`.arcgis-legend__layer-body{margin-left:var(--calcite-spacing-sm)}:dir(rtl) .arcgis-legend__layer-body{margin-right:var(--calcite-spacing-sm);margin-left:0;overflow:auto}.arcgis-legend__layer-row,.arcgis-legend__symbol{display:flex;justify-content:center}.arcgis-legend__ramps{margin-left:var(--calcite-spacing-md)}:dir(rtl) .arcgis-legend__ramps{margin-right:var(--calcite-spacing-md);margin-left:auto}.arcgis-legend__size-ramp~.arcgis-legend__layer-cell--info{width:80%;max-width:80%}.arcgis-legend__ramp-labels{display:flex;flex-flow:column nowrap;justify-content:space-between}.arcgis-legend__ramp-label{position:relative;padding:0 var(--calcite-spacing-sm);line-height:1em;white-space:nowrap;font-size:var(--calcite-font-size-sm)}.arcgis-legend__ramp-label:before{display:block;position:absolute;top:.25em;right:100%;border-width:3px 4px 3px 0;border-style:solid;border-color:transparent var(--calcite-color-text-1) transparent transparent;width:0;height:0;content:""}.arcgis-legend__ramp-label:first-child{margin-top:calc(var(--calcite-font-size-sm) / 3 * -1)}.arcgis-legend__ramp-label:last-child{bottom:calc(var(--calcite-font-size-sm) * .25 * -1)}:dir(rtl) .arcgis-legend__ramp-label:before{right:auto;left:100%;border-width:3px 0 3px 4px;border-color:transparent transparent transparent var(--calcite-color-text-1)}.arcgis-legend__univariate-label{position:relative;margin-left:7px;line-height:1em;white-space:nowrap;font-size:var(--calcite-font-size-sm)}.arcgis-legend__univariate-label:before{display:block;position:absolute;top:.45em;left:-19px;border-width:1px 0 0;border-style:solid;width:14px;height:0;content:""}.arcgis-legend__univariate-label:first-child{top:calc(var(--calcite-font-size-sm) / 2.2 * -1)}.arcgis-legend__univariate-label:last-child{bottom:calc(var(--calcite-font-size-sm) / 2.2 * -1)}:dir(rtl) .arcgis-legend__univariate-label{margin-right:var(--calcite-spacing-sm);margin-left:auto}:dir(rtl) .arcgis-legend__univariate-label:before{right:-19px;left:auto}.arcgis-univariate-above-and-below-ramp__symbol{display:flex;align-items:center;justify-content:center}`,a={layerBody:"arcgis-legend__layer-body",layerRow:"arcgis-legend__layer-row",symbol:"arcgis-legend__symbol",rampContainer:"arcgis-legend__ramps",sizeRamp:"arcgis-legend__size-ramp",rampLabelsContainer:"arcgis-legend__ramp-labels",rampLabel:"arcgis-legend__ramp-label",univariateLabel:"arcgis-legend__univariate-label"},n=class extends p{constructor(){super(...arguments),this.legendElement=null,this.opacity=1}static{this.properties={cssEffectFilter:1,legendElement:0,opacity:9,messages:0}}static{this.styles=F}render(){let{legendElement:w,opacity:x}=this,{sizeRampElement:l,colorRampElement:c}=y(w,this.messages);if(!l)return null;let $=v(l),z=12,o=f(l,"full",!1),L=b(c,{width:z,height:o,rampAlignment:"vertical",opacity:x,type:"full",cssEffectFilter:this.cssEffectFilter,ariaLabel:this.messages.previewColorRampAriaLabel}),E=l.infos.length-1,C=l.infos.map((r,d)=>d===0||d===E?t`<div class=${i(r.label?c?a.univariateLabel:a.rampLabel:void 0)}>${r.label}</div>`:null),R={display:"table-cell",verticalAlign:"middle"},j={marginTop:`${$}px`},A={height:`${o}px`};return t`<div style=${e(u)}><div class=${i(a.layerBody)}>${l.infos.map(r=>t`<div class=${i(_(a.layerRow,a.sizeRamp))}><div class=${i(a.symbol)} style=${e(R)}>${r.preview}</div></div>`)}</div><div style=${e(j)}><div style=${e(h)}><div style=${e(s)}><div class=${i(a.rampContainer)}>${L}</div></div><div style=${e(s)}><div class=${i(a.rampLabelsContainer)} style=${e(A)}>${C}</div></div></div></div></div>`}};m("arcgis-legend-classic-univariate-color-size-ramp",n);return n},a,b)
3
+ v5.0.0-next.39 */
4
+ import b from"./RF7WMV4Z.js";import a from"./PIR72KVC.js";import{b as _}from"./WXO4UREA.js";import{J as p,K as i,L as e,P as m,a as g,b as t}from"./EKVFT7YW.js";import"./CITKZOZS.js";export default $arcgis.t(([,{a:v,b:b,d:f,f:y,g:h,h:s,i:u}])=>{var F=g`.arcgis-legend__layer-body{margin-left:var(--calcite-spacing-sm)}:dir(rtl) .arcgis-legend__layer-body{margin-right:var(--calcite-spacing-sm);margin-left:0;overflow:auto}.arcgis-legend__layer-row,.arcgis-legend__symbol{display:flex;justify-content:center}.arcgis-legend__ramps{margin-left:var(--calcite-spacing-md)}:dir(rtl) .arcgis-legend__ramps{margin-right:var(--calcite-spacing-md);margin-left:auto}.arcgis-legend__size-ramp~.arcgis-legend__layer-cell--info{width:80%;max-width:80%}.arcgis-legend__ramp-labels{display:flex;flex-flow:column nowrap;justify-content:space-between}.arcgis-legend__ramp-label{position:relative;padding:0 var(--calcite-spacing-sm);line-height:1em;white-space:nowrap;font-size:var(--calcite-font-size-sm)}.arcgis-legend__ramp-label:before{display:block;position:absolute;top:.25em;right:100%;border-width:3px 4px 3px 0;border-style:solid;border-color:transparent var(--calcite-color-text-1) transparent transparent;width:0;height:0;content:""}.arcgis-legend__ramp-label:first-child{margin-top:calc(var(--calcite-font-size-sm) / 3 * -1)}.arcgis-legend__ramp-label:last-child{bottom:calc(var(--calcite-font-size-sm) * .25 * -1)}:dir(rtl) .arcgis-legend__ramp-label:before{right:auto;left:100%;border-width:3px 0 3px 4px;border-color:transparent transparent transparent var(--calcite-color-text-1)}.arcgis-legend__univariate-label{position:relative;margin-left:7px;line-height:1em;white-space:nowrap;font-size:var(--calcite-font-size-sm)}.arcgis-legend__univariate-label:before{display:block;position:absolute;top:.45em;left:-19px;border-width:1px 0 0;border-style:solid;width:14px;height:0;content:""}.arcgis-legend__univariate-label:first-child{top:calc(var(--calcite-font-size-sm) / 2.2 * -1)}.arcgis-legend__univariate-label:last-child{bottom:calc(var(--calcite-font-size-sm) / 2.2 * -1)}:dir(rtl) .arcgis-legend__univariate-label{margin-right:var(--calcite-spacing-sm);margin-left:auto}:dir(rtl) .arcgis-legend__univariate-label:before{right:-19px;left:auto}.arcgis-univariate-above-and-below-ramp__symbol{display:flex;align-items:center;justify-content:center}`,a={layerBody:"arcgis-legend__layer-body",layerRow:"arcgis-legend__layer-row",symbol:"arcgis-legend__symbol",rampContainer:"arcgis-legend__ramps",sizeRamp:"arcgis-legend__size-ramp",rampLabelsContainer:"arcgis-legend__ramp-labels",rampLabel:"arcgis-legend__ramp-label",univariateLabel:"arcgis-legend__univariate-label"},n=class extends p{constructor(){super(...arguments),this.legendElement=null,this.opacity=1}static{this.properties={cssEffectFilter:1,legendElement:0,opacity:9,messages:0}}static{this.styles=F}render(){let{legendElement:w,opacity:x}=this,{sizeRampElement:l,colorRampElement:c}=y(w,this.messages);if(!l)return null;let $=v(l),z=12,o=f(l,"full",!1),L=b(c,{width:z,height:o,rampAlignment:"vertical",opacity:x,type:"full",cssEffectFilter:this.cssEffectFilter,ariaLabel:this.messages.previewColorRampAriaLabel}),E=l.infos.length-1,C=l.infos.map((r,d)=>d===0||d===E?t`<div class=${i(r.label?c?a.univariateLabel:a.rampLabel:void 0)}>${r.label}</div>`:null),R={display:"table-cell",verticalAlign:"middle"},j={marginTop:`${$}px`},A={height:`${o}px`};return t`<div style=${e(u)}><div class=${i(a.layerBody)}>${l.infos.map(r=>t`<div class=${i(_(a.layerRow,a.sizeRamp))}><div class=${i(a.symbol)} style=${e(R)}>${r.preview}</div></div>`)}</div><div style=${e(j)}><div style=${e(h)}><div style=${e(s)}><div class=${i(a.rampContainer)}>${L}</div></div><div style=${e(s)}><div class=${i(a.rampLabelsContainer)} style=${e(A)}>${C}</div></div></div></div></div>`}};m("arcgis-legend-classic-univariate-color-size-ramp",n);return n},a,b)
@@ -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.37 */
4
- import{c as f,g}from"./5N2VB45Z.js";import{h as O,j as w,k as N,l as u,m,n as $,o as b,q as y,r as _,t as k}from"./ZQMYVIVB.js";var A=t=>(...s)=>{let o=m(),e=new t(...s),r=e.exports;u(o.at(-1));let n=e.component.manager;n.W(e,r),e.watchExports(n.W.bind(n,e)),$(e);let a=[e.component,...o].reverse();return y(a,i=>i===void 0?void 0:U(e,i,r),r)},U=(t,{host:s,key:o,isReactive:e},r)=>{let n=s,a=n[o]!==t.exports,i=n[o]!==r,c=r!==t.exports;if(a&&!i&&c&&(n[o]=t.exports),s===t.component){if(e){let l=t.component.manager;i&&l.W(t,n[o]),t.onUpdate(h=>{if(h.has(o)){let P=n[o];P!==t.exports&&l.W(t,P)}})}t.O=e?void 0:o}let d=t.component.constructor.elementProperties.get(o)?.readOnly;t.watchExports(()=>{n[o]!==t.exports&&(d?b(()=>{n[o]=t.exports}):n[o]=t.exports)})};var D="ar,bg,bs,ca,cs,da,de,el,en,es,et,fi,fr,he,hr,hu,id,it,ja,ko,lt,lv,nl,nb,no,pl,pt-BR,pt-PT,ro,ru,sk,sl,sr,sv,th,tr,uk,vi,zh-CN,zh-HK,zh-TW".split(","),F=new Set(D),v="en",K={pt:"pt-PT",nb:"no",nn:"no",zh:"zh-CN"},W=async(t,s,o="")=>{let e=`${s}/${o}`,r=`${e}${t}.json`;return E[r]??(E[r]=S(t,e)),await E[r]},E={},S=async(t,s)=>{let o=`${s}${t}.json`;try{let e=await fetch(o);if(e.ok)return await e.json()}catch(e){return console.error(e),{}}return t===v?{}:await S(v,s)},x=t=>{let s=g(t,"lang",globalThis.navigator?.language||v);return{lang:s,t9nLocale:V(s)}},V=t=>{let[s,o]=t.split("-"),e=s.toLowerCase(),r=e;return o&&(r=`${e}-${o.toUpperCase()}`),r=K[r]??r,F.has(r)?r:o?V(e):v},j=(t,s,o,e)=>{let r,n=()=>I(t,s(),e).then(a=>{(r?.lang!==a.lang||r.t9nLocale!==a.t9nLocale||r.t9nStrings!==a.t9nStrings)&&o(a),r=a}).catch(console.error);return queueMicrotask(n),f(t,["lang"],n)},I=async(t,s,o=t.localName.split("-").slice(1).join("-"))=>{let{lang:e,t9nLocale:r}=x(t),n=`${s}/${o}/t9n`,i=o===null?{}:await W(r,n,"messages.");return{lang:e,t9nLocale:r,t9nStrings:i}};var L=t=>z(void 0,t),mt=t=>s=>z(s,t),C=class extends k{constructor(s,o){super(s);let e=this.exports;try{w(this.component);let r=o(this.component,this),n=this.exports!==e;if(O(r)){n||this.setProvisionalExports(r);let a=r.then(i=>{this.exports=i,super.catchUpLifecycle()}).catch(i=>{this.P.reject(i),console.error(i)});this.onLoad(async()=>await a)}else(!n||r!==void 0)&&(this.exports=r),queueMicrotask(()=>super.catchUpLifecycle())}catch(r){this.P.reject(r),console.error(r)}}catchUpLifecycle(){}},z=A(C);var ft=t=>(...s)=>{let o=m(),e=new t(...s);return u(o.at(-1)),e},gt=t=>L((s,o)=>{let e=globalThis.matchMedia(t),r=()=>{o.exports=e.matches};r(),o.onLifecycle(()=>(e.addEventListener("change",r),()=>e.removeEventListener("change",r)))}),M="ltr",vt=()=>L((t,s)=>{s.exports=M,s.onLifecycle(()=>{let o=()=>{let e=g(t.el,"dir",M);s.exports=e==="rtl"?"rtl":"ltr"};return o(),f(t.el,["dir"],o)})}),bt=t=>(s={})=>L((o,e)=>{let r=x(o.el),n={_lang:r.lang,_t9nLocale:r.t9nLocale,_loading:!0},a=o;e.onLifecycle(()=>j(o.el,()=>t("./assets"),({t9nLocale:c,t9nStrings:p,lang:d})=>{let l={...p,_lang:d,_t9nLocale:c,_loading:!1};e.exports=l;let h=p.componentLabel;typeof h=="string"&&"label"in o&&o.label==null&&(o.label??=h),i(a.messageOverrides)},s.name));let i=c=>{let p=e.exports,d=p._original??p,l=T(d,c);c&&(l._original=d),e.exports=l};return"messageOverrides"in a&&e.onUpdate(c=>{c.has("messageOverrides")&&i(a.messageOverrides)}),s.blocking?(e.setProvisionalExports(n,!1),e.ready):n}),T=(t,s)=>{if(!s)return t;let o={...t};return Object.entries(s).forEach(([e,r])=>{typeof r=="object"?o[e]=T(t[e],r):o[e]=r??t[e]}),o},yt=t=>q,R="arcgisPropertyChange",q=(...t)=>{let s=N(),o=_(R,void 0,s),e=!0;return s.manager.onUpdated(r=>{if(e||!s.el.isConnected){e=!1;return}for(let n of t)r.has(n)&&o.emit({name:n})}),o};export{A as a,mt as b,ft as c,gt as d,vt as e,bt as f,yt as g};
3
+ v5.0.0-next.39 */
4
+ import{c as f,g}from"./WXO4UREA.js";import{h as O,j as w,k as N,l as u,m,n as $,o as b,q as y,r as _,t as k}from"./EKVFT7YW.js";var A=t=>(...s)=>{let o=m(),e=new t(...s),r=e.exports;u(o.at(-1));let n=e.component.manager;n.W(e,r),e.watchExports(n.W.bind(n,e)),$(e);let a=[e.component,...o].reverse();return y(a,i=>i===void 0?void 0:U(e,i,r),r)},U=(t,{host:s,key:o,isReactive:e},r)=>{let n=s,a=n[o]!==t.exports,i=n[o]!==r,c=r!==t.exports;if(a&&!i&&c&&(n[o]=t.exports),s===t.component){if(e){let l=t.component.manager;i&&l.W(t,n[o]),t.onUpdate(h=>{if(h.has(o)){let P=n[o];P!==t.exports&&l.W(t,P)}})}t.O=e?void 0:o}let d=t.component.constructor.elementProperties.get(o)?.readOnly;t.watchExports(()=>{n[o]!==t.exports&&(d?b(()=>{n[o]=t.exports}):n[o]=t.exports)})};var D="ar,bg,bs,ca,cs,da,de,el,en,es,et,fi,fr,he,hr,hu,id,it,ja,ko,lt,lv,nl,nb,no,pl,pt-BR,pt-PT,ro,ru,sk,sl,sr,sv,th,tr,uk,vi,zh-CN,zh-HK,zh-TW".split(","),F=new Set(D),v="en",K={pt:"pt-PT",nb:"no",nn:"no",zh:"zh-CN"},W=async(t,s,o="")=>{let e=`${s}/${o}`,r=`${e}${t}.json`;return E[r]??(E[r]=S(t,e)),await E[r]},E={},S=async(t,s)=>{let o=`${s}${t}.json`;try{let e=await fetch(o);if(e.ok)return await e.json()}catch(e){return console.error(e),{}}return t===v?{}:await S(v,s)},x=t=>{let s=g(t,"lang",globalThis.navigator?.language||v);return{lang:s,t9nLocale:V(s)}},V=t=>{let[s,o]=t.split("-"),e=s.toLowerCase(),r=e;return o&&(r=`${e}-${o.toUpperCase()}`),r=K[r]??r,F.has(r)?r:o?V(e):v},j=(t,s,o,e)=>{let r,n=()=>I(t,s(),e).then(a=>{(r?.lang!==a.lang||r.t9nLocale!==a.t9nLocale||r.t9nStrings!==a.t9nStrings)&&o(a),r=a}).catch(console.error);return queueMicrotask(n),f(t,["lang"],n)},I=async(t,s,o=t.localName.split("-").slice(1).join("-"))=>{let{lang:e,t9nLocale:r}=x(t),n=`${s}/${o}/t9n`,i=o===null?{}:await W(r,n,"messages.");return{lang:e,t9nLocale:r,t9nStrings:i}};var L=t=>z(void 0,t),mt=t=>s=>z(s,t),C=class extends k{constructor(s,o){super(s);let e=this.exports;try{w(this.component);let r=o(this.component,this),n=this.exports!==e;if(O(r)){n||this.setProvisionalExports(r);let a=r.then(i=>{this.exports=i,super.catchUpLifecycle()}).catch(i=>{this.P.reject(i),console.error(i)});this.onLoad(async()=>await a)}else(!n||r!==void 0)&&(this.exports=r),queueMicrotask(()=>super.catchUpLifecycle())}catch(r){this.P.reject(r),console.error(r)}}catchUpLifecycle(){}},z=A(C);var ft=t=>(...s)=>{let o=m(),e=new t(...s);return u(o.at(-1)),e},gt=t=>L((s,o)=>{let e=globalThis.matchMedia(t),r=()=>{o.exports=e.matches};r(),o.onLifecycle(()=>(e.addEventListener("change",r),()=>e.removeEventListener("change",r)))}),M="ltr",vt=()=>L((t,s)=>{s.exports=M,s.onLifecycle(()=>{let o=()=>{let e=g(t.el,"dir",M);s.exports=e==="rtl"?"rtl":"ltr"};return o(),f(t.el,["dir"],o)})}),bt=t=>(s={})=>L((o,e)=>{let r=x(o.el),n={_lang:r.lang,_t9nLocale:r.t9nLocale,_loading:!0},a=o;e.onLifecycle(()=>j(o.el,()=>t("./assets"),({t9nLocale:c,t9nStrings:p,lang:d})=>{let l={...p,_lang:d,_t9nLocale:c,_loading:!1};e.exports=l;let h=p.componentLabel;typeof h=="string"&&"label"in o&&o.label==null&&(o.label??=h),i(a.messageOverrides)},s.name));let i=c=>{let p=e.exports,d=p._original??p,l=T(d,c);c&&(l._original=d),e.exports=l};return"messageOverrides"in a&&e.onUpdate(c=>{c.has("messageOverrides")&&i(a.messageOverrides)}),s.blocking?(e.setProvisionalExports(n,!1),e.ready):n}),T=(t,s)=>{if(!s)return t;let o={...t};return Object.entries(s).forEach(([e,r])=>{typeof r=="object"?o[e]=T(t[e],r):o[e]=r??t[e]}),o},yt=t=>q,R="arcgisPropertyChange",q=(...t)=>{let s=N(),o=_(R,void 0,s),e=!0;return s.manager.onUpdated(r=>{if(e||!s.el.isConnected){e=!1;return}for(let n of t)r.has(n)&&o.emit({name:n})}),o};export{A as a,mt as b,ft as c,gt as d,vt as e,bt as f,yt as g};
@@ -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.37 */
3
+ v5.0.0-next.39 */
4
4
  var e={disabled:"esri-disabled",empty:"esri-widget__content--empty",heading:"esri-widget__heading",loaderAnimation:"esri-widget__loader-animation",panel:"esri-widget--panel",widget:"esri-widget",widgetButton:"esri-widget--button",widgetDisabled:"esri-widget--disabled"};export{e 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.37 */
4
- import a from"./4VWBCPQU.js";import{a as o}from"./6VDAO7RG.js";import"./5RBXY763.js";import"./5N2VB45Z.js";import{J as i,P as l,a as s,b as t}from"./ZQMYVIVB.js";import"./RTQ4ZH6R.js";export default $arcgis.t(([{watch:p},{f:c}])=>{var r=s`calcite-tab{--calcite-tab-content-block-padding: 0}calcite-loader{margin-right:var(--calcite-spacing-xxs)}`,a=class extends i{constructor(){super(...arguments),this._prevLayoutTemplateId=null,this._handles=o("disconnect"),this._selectedTab="layout",this._hasPendingExport=!1}static{this.properties={_selectedTab:16,_hasPendingExport:16,saveAsButtonCallback:0,viewModel:0,messages:0,showTemplateSelector:0,allowedFormatsForSaving:1}}static{this.styles=r}loaded(){this.manager.onLifecycle(()=>[this.viewModel.exportedLinks.on("change",()=>{this._handles.removeHandles("pending-exports"),this._handles.addHandles(this.viewModel.exportedLinks.toArray().map(e=>p(()=>e.state,()=>this.requestUpdate(),{initial:!0})),"pending-exports")})])}async _layoutTabChangeHandler(){let e=(this._prevLayoutTemplateId?this.viewModel.getLayoutTemplateById(this._prevLayoutTemplateId):null)??this.viewModel.defaultTemplate;await this.viewModel.applyTemplate(e),this._prevLayoutTemplateId=e?.id,this._selectedTab="layout"}async _mapOnlyTabChangeHandler(){this._updatePrevLayoutTemplateId(),await this.viewModel.applyTemplate("map-only"),this._selectedTab="map-only"}async _exportsTabChangeHandler(){this._updatePrevLayoutTemplateId(),this._selectedTab="exports"}_selectExportsTab(){this._updatePrevLayoutTemplateId(),this._selectedTab="exports"}_updatePrevLayoutTemplateId(){!c(this.viewModel.templateOptions.layout)&&this.viewModel.templateOptions.id&&(this._prevLayoutTemplateId=this.viewModel.templateOptions.id)}render(){let e=this.viewModel.exportedLinks.some(({state:n})=>n==="pending");return t`<div><calcite-tabs layout=center bordered><calcite-tab-nav slot=title-group><calcite-tab-title @calciteTabsActivate=${this._layoutTabChangeHandler} .selected=${this._selectedTab==="layout"}>${this.messages.layoutTab}</calcite-tab-title><calcite-tab-title @calciteTabsActivate=${this._mapOnlyTabChangeHandler} .selected=${this._selectedTab==="map-only"}>${this.messages.mapOnlyTab}</calcite-tab-title><calcite-tab-title @calciteTabsActivate=${this._exportsTabChangeHandler} .selected=${this._selectedTab==="exports"}>${e?t`<calcite-loader inline label=loading scale=s></calcite-loader>`:null}${this.messages.exportsTab}</calcite-tab-title></calcite-tab-nav><calcite-tab selected><arcgis-print-layout-panel .messages=${this.messages} .viewModel=${this.viewModel} .showTemplateSelector=${this.showTemplateSelector} .selectExportsTab=${this._selectExportsTab.bind(this)}></arcgis-print-layout-panel></calcite-tab><calcite-tab><arcgis-print-map-only-panel .messages=${this.messages} .viewModel=${this.viewModel} .selectExportsTab=${this._selectExportsTab.bind(this)}></arcgis-print-map-only-panel></calcite-tab><calcite-tab><arcgis-print-exports-panel .messages=${this.messages} .viewModel=${this.viewModel} .allowedFormatsForSaving=${this.allowedFormatsForSaving} .saveAsButtonCallback=${this.saveAsButtonCallback}></arcgis-print-exports-panel></calcite-tab></calcite-tabs></div>`}};l("arcgis-print-main-panel",a);return a},"core/reactiveUtils",a)
3
+ v5.0.0-next.39 */
4
+ import a from"./5QURQY44.js";import{a as o}from"./SUEYCXFD.js";import"./JAIB2DTF.js";import"./WXO4UREA.js";import{J as i,P as l,a as s,b as t}from"./EKVFT7YW.js";import"./CITKZOZS.js";export default $arcgis.t(([{watch:p},{f:c}])=>{var r=s`calcite-tab{--calcite-tab-content-block-padding: 0}calcite-loader{margin-right:var(--calcite-spacing-xxs)}`,a=class extends i{constructor(){super(...arguments),this._prevLayoutTemplateId=null,this._handles=o("disconnect"),this._selectedTab="layout",this._hasPendingExport=!1}static{this.properties={_selectedTab:16,_hasPendingExport:16,saveAsButtonCallback:0,viewModel:0,messages:0,showTemplateSelector:0,allowedFormatsForSaving:1}}static{this.styles=r}loaded(){this.manager.onLifecycle(()=>[this.viewModel.exportedLinks.on("change",()=>{this._handles.removeHandles("pending-exports"),this._handles.addHandles(this.viewModel.exportedLinks.toArray().map(e=>p(()=>e.state,()=>this.requestUpdate(),{initial:!0})),"pending-exports")})])}async _layoutTabChangeHandler(){let e=(this._prevLayoutTemplateId?this.viewModel.getLayoutTemplateById(this._prevLayoutTemplateId):null)??this.viewModel.defaultTemplate;await this.viewModel.applyTemplate(e),this._prevLayoutTemplateId=e?.id,this._selectedTab="layout"}async _mapOnlyTabChangeHandler(){this._updatePrevLayoutTemplateId(),await this.viewModel.applyTemplate("map-only"),this._selectedTab="map-only"}async _exportsTabChangeHandler(){this._updatePrevLayoutTemplateId(),this._selectedTab="exports"}_selectExportsTab(){this._updatePrevLayoutTemplateId(),this._selectedTab="exports"}_updatePrevLayoutTemplateId(){!c(this.viewModel.templateOptions.layout)&&this.viewModel.templateOptions.id&&(this._prevLayoutTemplateId=this.viewModel.templateOptions.id)}render(){let e=this.viewModel.exportedLinks.some(({state:n})=>n==="pending");return t`<div><calcite-tabs layout=center bordered><calcite-tab-nav slot=title-group><calcite-tab-title @calciteTabsActivate=${this._layoutTabChangeHandler} .selected=${this._selectedTab==="layout"}>${this.messages.layoutTab}</calcite-tab-title><calcite-tab-title @calciteTabsActivate=${this._mapOnlyTabChangeHandler} .selected=${this._selectedTab==="map-only"}>${this.messages.mapOnlyTab}</calcite-tab-title><calcite-tab-title @calciteTabsActivate=${this._exportsTabChangeHandler} .selected=${this._selectedTab==="exports"}>${e?t`<calcite-loader inline label=loading scale=s></calcite-loader>`:null}${this.messages.exportsTab}</calcite-tab-title></calcite-tab-nav><calcite-tab selected><arcgis-print-layout-panel .messages=${this.messages} .viewModel=${this.viewModel} .showTemplateSelector=${this.showTemplateSelector} .selectExportsTab=${this._selectExportsTab.bind(this)}></arcgis-print-layout-panel></calcite-tab><calcite-tab><arcgis-print-map-only-panel .messages=${this.messages} .viewModel=${this.viewModel} .selectExportsTab=${this._selectExportsTab.bind(this)}></arcgis-print-map-only-panel></calcite-tab><calcite-tab><arcgis-print-exports-panel .messages=${this.messages} .viewModel=${this.viewModel} .allowedFormatsForSaving=${this.allowedFormatsForSaving} .saveAsButtonCallback=${this.saveAsButtonCallback}></arcgis-print-exports-panel></calcite-tab></calcite-tabs></div>`}};l("arcgis-print-main-panel",a);return a},"core/reactiveUtils",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.37 */
4
- import c from"./HTIIORTK.js";import b from"./YXDJU7FA.js";import{e as u}from"./5RBXY763.js";import"./5N2VB45Z.js";import{J as w,K as a,L as t,P as _,a as h,b as l}from"./ZQMYVIVB.js";import"./RTQ4ZH6R.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.39 */
4
+ import c from"./RF7WMV4Z.js";import b from"./PIR72KVC.js";import{e as u}from"./JAIB2DTF.js";import"./WXO4UREA.js";import{J as w,K as a,L as t,P as _,a as h,b as l}from"./EKVFT7YW.js";import"./CITKZOZS.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.37 */
4
- import{a as u}from"./GB72CWLS.js";import"./5RBXY763.js";import"./5N2VB45Z.js";import{J as y,P as d,b as l,s as c}from"./ZQMYVIVB.js";import"./RTQ4ZH6R.js";var n="map-components:arcgis-utility-network-result-feature-list",o=class extends y{constructor(){super(...arguments),this._layerByLayerId=new Map,this._messages=u({blocking:!0}),this._compareByLayerTitle=([e],[t])=>{let s=this._getLayerBySourceId(e),r=this._getLayerBySourceId(t),i=s?.title??"",a=r?.title??"";return i.localeCompare(a,void 0,{numeric:!0})},this._state="ready",this.elements=[],this.layers=[],this.arcgisSelectedLayerChange=c(),this._renderLayerListItem=([e,t])=>{let{utilityNetwork:s,_messages:r}=this,i=s.getLayerIdBySourceId(e),a=this._getLayerByLayerId(i),h=a?.title||r.unknown;return l`<calcite-list-item .label=${h} @calciteListItemSelect=${()=>this._selectedLayer=a}><calcite-chip .label=${r.labels.numberOfElements} slot=content-end>${t.toString()}</calcite-chip><calcite-icon icon=chevron-right slot=content-end></calcite-icon></calcite-list-item>`}}static{this.properties={_selectedLayer:16,_state:16,elements:0,layers:0,messageOverrides:0,selectedLayer:32,utilityNetwork:0}}get _sourceIdToFeatureCount(){let e=new Map;return this.elements.forEach(t=>{let s=e.get(t.networkSourceId);s==null?e.set(t.networkSourceId,1):e.set(t.networkSourceId,s+1)}),e}get selectedLayer(){return this._selectedLayer}willUpdate(e){e.has("_selectedLayer")&&this.arcgisSelectedLayerChange.emit(),(e.has("layers")||e.has("utilityNetwork"))&&this._loadDependencies()}load(){this._loadDependencies()}loaded(){this.elements.length===0&&console.warn(`${n} was rendered without any elements set for the \`elements\` property.`),this.utilityNetwork||console.warn(`${n} was rendered without the required \`utilityNetwork\` property.`),this.layers.length===0&&console.warn(`${n} was rendered without any layers set for the \`layers\` property.`)}_getLayerBySourceId(e){let t=this.utilityNetwork.getLayerIdBySourceId(e);return this._getLayerByLayerId(t)}_getLayerByLayerId(e){if(e==null)return;let{_layerByLayerId:t,layers:s}=this;if(t.get(e))return t.get(e);let r=s.find(i=>"layerId"in i&&i.layerId===e);return r&&t.set(e,r),r}async _loadDependencies(){let{layers:e,utilityNetwork:t}=this;if(!t)return;t.loaded||(this._state="loading",await t.load());let s=e.filter(r=>!r.loaded&&t.isUtilityLayer(r)).map(r=>r.load());s.length>0&&(this._state="loading",await Promise.allSettled(s)),this._state="ready"}render(){if(!this.utilityNetwork)return;let{_messages:e}=this,t=Array.from(this._sourceIdToFeatureCount.entries()).sort(this._compareByLayerTitle).map(this._renderLayerListItem);return l`<calcite-panel .loading=${this._state==="loading"}><calcite-list .label=${e.labels.traceResultElementsByLayer}>${t}</calcite-list></calcite-panel>`}};d("arcgis-utility-network-result-feature-list",o);export{o as ArcgisUtilityNetworkResultFeatureList};
3
+ v5.0.0-next.39 */
4
+ import{a as u}from"./DJT3VPSJ.js";import"./JAIB2DTF.js";import"./WXO4UREA.js";import{J as y,P as d,b as l,s as c}from"./EKVFT7YW.js";import"./CITKZOZS.js";var n="map-components:arcgis-utility-network-result-feature-list",o=class extends y{constructor(){super(...arguments),this._layerByLayerId=new Map,this._messages=u({blocking:!0}),this._compareByLayerTitle=([e],[t])=>{let s=this._getLayerBySourceId(e),r=this._getLayerBySourceId(t),i=s?.title??"",a=r?.title??"";return i.localeCompare(a,void 0,{numeric:!0})},this._state="ready",this.elements=[],this.layers=[],this.arcgisSelectedLayerChange=c(),this._renderLayerListItem=([e,t])=>{let{utilityNetwork:s,_messages:r}=this,i=s.getLayerIdBySourceId(e),a=this._getLayerByLayerId(i),h=a?.title||r.unknown;return l`<calcite-list-item .label=${h} @calciteListItemSelect=${()=>this._selectedLayer=a}><calcite-chip .label=${r.labels.numberOfElements} slot=content-end>${t.toString()}</calcite-chip><calcite-icon icon=chevron-right slot=content-end></calcite-icon></calcite-list-item>`}}static{this.properties={_selectedLayer:16,_state:16,elements:0,layers:0,messageOverrides:0,selectedLayer:32,utilityNetwork:0}}get _sourceIdToFeatureCount(){let e=new Map;return this.elements.forEach(t=>{let s=e.get(t.networkSourceId);s==null?e.set(t.networkSourceId,1):e.set(t.networkSourceId,s+1)}),e}get selectedLayer(){return this._selectedLayer}willUpdate(e){e.has("_selectedLayer")&&this.arcgisSelectedLayerChange.emit(),(e.has("layers")||e.has("utilityNetwork"))&&this._loadDependencies()}load(){this._loadDependencies()}loaded(){this.elements.length===0&&console.warn(`${n} was rendered without any elements set for the \`elements\` property.`),this.utilityNetwork||console.warn(`${n} was rendered without the required \`utilityNetwork\` property.`),this.layers.length===0&&console.warn(`${n} was rendered without any layers set for the \`layers\` property.`)}_getLayerBySourceId(e){let t=this.utilityNetwork.getLayerIdBySourceId(e);return this._getLayerByLayerId(t)}_getLayerByLayerId(e){if(e==null)return;let{_layerByLayerId:t,layers:s}=this;if(t.get(e))return t.get(e);let r=s.find(i=>"layerId"in i&&i.layerId===e);return r&&t.set(e,r),r}async _loadDependencies(){let{layers:e,utilityNetwork:t}=this;if(!t)return;t.loaded||(this._state="loading",await t.load());let s=e.filter(r=>!r.loaded&&t.isUtilityLayer(r)).map(r=>r.load());s.length>0&&(this._state="loading",await Promise.allSettled(s)),this._state="ready"}render(){if(!this.utilityNetwork)return;let{_messages:e}=this,t=Array.from(this._sourceIdToFeatureCount.entries()).sort(this._compareByLayerTitle).map(this._renderLayerListItem);return l`<calcite-panel .loading=${this._state==="loading"}><calcite-list .label=${e.labels.traceResultElementsByLayer}>${t}</calcite-list></calcite-panel>`}};d("arcgis-utility-network-result-feature-list",o);export{o as ArcgisUtilityNetworkResultFeatureList};