@arcgis/map-components 5.0.0-next.112 → 5.0.0-next.113

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 (453) hide show
  1. package/dist/cdn/{VOA7ZJVN.js → 26LREXXX.js} +2 -2
  2. package/dist/cdn/{GNLZ4HML.js → 27IC3H52.js} +2 -2
  3. package/dist/cdn/{IC7WEAOR.js → 27ZIKUTZ.js} +2 -2
  4. package/dist/cdn/{PDW7WEHF.js → 2CBCCC42.js} +2 -2
  5. package/dist/cdn/{BJO6IO6J.js → 2GXJU3AS.js} +2 -2
  6. package/dist/cdn/{4SNTXNE5.js → 2HOZZCBX.js} +2 -2
  7. package/dist/cdn/{CWNJBBAC.js → 2PHQ26MW.js} +2 -2
  8. package/dist/cdn/{RIS6P2XR.js → 2WQ475IE.js} +2 -2
  9. package/dist/cdn/{3EP7NW5K.js → 2WXTFNMF.js} +2 -2
  10. package/dist/cdn/{H4RSSO4L.js → 3DFEHWZN.js} +2 -2
  11. package/dist/cdn/{3OLGZN2U.js → 3Q4OD32L.js} +2 -2
  12. package/dist/cdn/{3BMBW4KE.js → 3QLVC4AE.js} +2 -2
  13. package/dist/cdn/{ZIJSCW56.js → 3UVTANAS.js} +2 -2
  14. package/dist/cdn/{QLWXRLT4.js → 42EMYFHF.js} +2 -2
  15. package/dist/cdn/{UG63H4SU.js → 4FDVYE2A.js} +2 -2
  16. package/dist/cdn/{6JSXY353.js → 4MJBZHW7.js} +2 -2
  17. package/dist/cdn/{RAV6QK2C.js → 4N57H3BC.js} +2 -2
  18. package/dist/cdn/{DRVGNETO.js → 4YDZXQVY.js} +2 -2
  19. package/dist/cdn/{GBEHWQQA.js → 577ECLH3.js} +2 -2
  20. package/dist/cdn/{J3QYAK7E.js → 57PQBIHM.js} +2 -2
  21. package/dist/cdn/{EIJDFMIZ.js → 5DNURQFB.js} +2 -2
  22. package/dist/cdn/{5UF275BY.js → 5FDAP3EP.js} +2 -2
  23. package/dist/cdn/5HMDEHNU.js +4 -0
  24. package/dist/cdn/{F5ORRWHF.js → 5IWNASCQ.js} +2 -2
  25. package/dist/cdn/{PB6Q6WJW.js → 5KTMTWYR.js} +2 -2
  26. package/dist/cdn/{DT2SI32M.js → 5ODB3J2T.js} +2 -2
  27. package/dist/cdn/{73P5VC2Z.js → 5RBYRVWN.js} +2 -2
  28. package/dist/cdn/{WBRG24M6.js → 64NEB5DT.js} +2 -2
  29. package/dist/cdn/{2XQJJYPB.js → 6ECDGXCK.js} +2 -2
  30. package/dist/cdn/{3SCDBBVW.js → 6ER3WFHG.js} +2 -2
  31. package/dist/cdn/{4ABU4U4Y.js → 6G5SZDHU.js} +2 -2
  32. package/dist/cdn/{SZHIAQ7E.js → 6HCA26JM.js} +2 -2
  33. package/dist/cdn/{R2GLGQG3.js → 6J4OXTGB.js} +2 -2
  34. package/dist/cdn/{B3BV37T5.js → 6JTZ3KJZ.js} +2 -2
  35. package/dist/cdn/{UIH2XZ4T.js → 6LFRCQTJ.js} +2 -2
  36. package/dist/cdn/{XEGVC2BB.js → 6LK73UYA.js} +2 -2
  37. package/dist/cdn/6R7FZXKX.js +4 -0
  38. package/dist/cdn/{L2MAUYFX.js → 6WF3WKER.js} +2 -2
  39. package/dist/cdn/{SDPRHRZH.js → 7A72G5FH.js} +2 -2
  40. package/dist/cdn/{ATJZO2AS.js → 7MNGDOZS.js} +2 -2
  41. package/dist/cdn/{GYUSGCGK.js → 7NCI3NAB.js} +2 -2
  42. package/dist/cdn/{MF2SCGJR.js → 7OLLNYGO.js} +2 -2
  43. package/dist/cdn/{H5JCNKNX.js → A6HYU4R6.js} +2 -2
  44. package/dist/cdn/{O3IKGMUG.js → AMVHVD3Y.js} +2 -2
  45. package/dist/cdn/{PRWIHAFS.js → ANV3Z4MJ.js} +2 -2
  46. package/dist/cdn/APZLFYA2.js +4 -0
  47. package/dist/cdn/{UTJ76JUA.js → B25ZXCGB.js} +2 -2
  48. package/dist/cdn/{IRZUIF6J.js → BC2DYMZL.js} +2 -2
  49. package/dist/cdn/{U2ZJBEHK.js → BNM2G7QF.js} +2 -2
  50. package/dist/cdn/{MRT7QRUE.js → BYL4J4FJ.js} +2 -2
  51. package/dist/cdn/{YA75GN3S.js → C3XDYBLF.js} +2 -2
  52. package/dist/cdn/C4D4WXC7.js +4 -0
  53. package/dist/cdn/{LPQ74LKF.js → CG622VMC.js} +2 -2
  54. package/dist/cdn/{VHBES7AQ.js → CQIOWJMW.js} +2 -2
  55. package/dist/cdn/{THIPMCA4.js → CVCS4YMI.js} +2 -2
  56. package/dist/cdn/{EB6P6V47.js → D3XNYAYA.js} +2 -2
  57. package/dist/cdn/{IZM6IFLC.js → D5HFUYW4.js} +2 -2
  58. package/dist/cdn/{2462SKAR.js → DRIWHLPW.js} +1 -1
  59. package/dist/cdn/{T4ZXFBNY.js → E4VNN24G.js} +2 -2
  60. package/dist/cdn/{B7PZNMWX.js → E63JMXZW.js} +2 -2
  61. package/dist/cdn/{DG76NAEZ.js → E6ILSTXN.js} +2 -2
  62. package/dist/cdn/{45VEYI6V.js → EKJFLMP6.js} +2 -2
  63. package/dist/cdn/{WMDCD57H.js → EOSBFHWK.js} +2 -2
  64. package/dist/cdn/{UZE5D6HO.js → EPAETZEU.js} +2 -2
  65. package/dist/cdn/{LDIURQAZ.js → ETQPDSXE.js} +2 -2
  66. package/dist/cdn/{AUKTGBHO.js → EYHREG2E.js} +2 -2
  67. package/dist/cdn/{DHTDPI44.js → FCEXSHBR.js} +2 -2
  68. package/dist/cdn/{NYR2BJTF.js → FF53SBIG.js} +2 -2
  69. package/dist/cdn/{M4FJ5NOR.js → FGVPTVGT.js} +2 -2
  70. package/dist/cdn/{2GXMQR67.js → FPFREFIP.js} +2 -2
  71. package/dist/cdn/{5ZQAM3ZW.js → FS4R7HUF.js} +1 -1
  72. package/dist/cdn/{OSOSDDAU.js → FS5DDJPW.js} +2 -2
  73. package/dist/cdn/{GYCZHQSC.js → FSGQNZUE.js} +2 -2
  74. package/dist/cdn/{W6WB6RZ5.js → FSPISFLJ.js} +2 -2
  75. package/dist/cdn/{OKZQNUJD.js → FUVBDC2M.js} +2 -2
  76. package/dist/cdn/{GDLFCNKA.js → G2N6JRUK.js} +2 -2
  77. package/dist/cdn/{6EHIPGCN.js → GB6IEFXX.js} +2 -2
  78. package/dist/cdn/{3PMX34FD.js → GG2ST7ZT.js} +2 -2
  79. package/dist/cdn/{UBFLCINO.js → GITXEKSU.js} +1 -1
  80. package/dist/cdn/{GZ5DRNXI.js → GTQ3GFPT.js} +2 -2
  81. package/dist/cdn/GUESPPYH.js +4 -0
  82. package/dist/cdn/{I55STFKI.js → GXVKG6J6.js} +2 -2
  83. package/dist/cdn/{44N7E3GS.js → GXXL4KGL.js} +2 -2
  84. package/dist/cdn/{4POX532L.js → H5CWP5X2.js} +2 -2
  85. package/dist/cdn/{EQH3QF6R.js → HCBBVQBK.js} +2 -2
  86. package/dist/cdn/{25TVKQGR.js → HFWJBUUX.js} +1 -1
  87. package/dist/cdn/{DQ66WZPX.js → HG2XLQM4.js} +2 -2
  88. package/dist/cdn/{2CMS6CKA.js → HHC3DVXP.js} +2 -2
  89. package/dist/cdn/{HBJFGGEJ.js → HJHFONPQ.js} +2 -2
  90. package/dist/cdn/{T3TMOY7Z.js → HLPU2MML.js} +2 -2
  91. package/dist/cdn/HROM7FYY.js +4 -0
  92. package/dist/cdn/{Q4IZ2VB3.js → HZOLSRAL.js} +2 -2
  93. package/dist/cdn/{U7RXMTSV.js → I7MY2YK4.js} +2 -2
  94. package/dist/cdn/{BFTRJC4C.js → IJGG54N2.js} +2 -2
  95. package/dist/cdn/{BEQM47S2.js → IQNYADZH.js} +2 -2
  96. package/dist/cdn/{5OMRUE4C.js → IZX3GY3S.js} +2 -2
  97. package/dist/cdn/{XSAJ4V34.js → J2X4E36I.js} +2 -2
  98. package/dist/cdn/{XFFLH5GS.js → J3H4J6MR.js} +2 -2
  99. package/dist/cdn/{7C56K5BN.js → JD65AY52.js} +2 -2
  100. package/dist/cdn/{XKY2QXCL.js → JGYXII67.js} +2 -2
  101. package/dist/cdn/{ELUIJNSD.js → JJ54LMGN.js} +2 -2
  102. package/dist/cdn/{Z2TSI7BE.js → K5FO4RN2.js} +1 -1
  103. package/dist/cdn/{7POVO5EC.js → K7D35YOF.js} +2 -2
  104. package/dist/cdn/{ACNXENK5.js → KA6DBSSM.js} +2 -2
  105. package/dist/cdn/{RKWRBQZP.js → KHTT4HE3.js} +2 -2
  106. package/dist/cdn/{YLT7I7EZ.js → KMTNWFEP.js} +2 -2
  107. package/dist/cdn/{OQNZ7UDL.js → KN2EIZQQ.js} +2 -2
  108. package/dist/cdn/{BJCM3DBL.js → KRHUQRE3.js} +2 -2
  109. package/dist/cdn/{Z74DF7VI.js → KTDH7PI6.js} +2 -2
  110. package/dist/cdn/{O4KQWJY5.js → KUFRGP6V.js} +2 -2
  111. package/dist/cdn/{NX6GH7XJ.js → L4MQQY2K.js} +2 -2
  112. package/dist/cdn/{J673QGJU.js → L5C7OWS3.js} +1 -1
  113. package/dist/cdn/{OLWCN4US.js → LAIHB6FF.js} +2 -2
  114. package/dist/cdn/LIUWBPW5.js +4 -0
  115. package/dist/cdn/{E2AHKJEC.js → LMQYW7LU.js} +2 -2
  116. package/dist/cdn/{4SISPQ4E.js → LOAGLFX4.js} +1 -1
  117. package/dist/cdn/{7S7OAT22.js → LUARTDQI.js} +2 -2
  118. package/dist/cdn/{ZN7EIBGI.js → M5WJ4CVF.js} +2 -2
  119. package/dist/cdn/{OAGOXZ6J.js → M65DZMZ2.js} +2 -2
  120. package/dist/cdn/{ZXT67AGG.js → M6B7ETXY.js} +2 -2
  121. package/dist/cdn/{IJVRBKED.js → M6FUONTE.js} +1 -1
  122. package/dist/cdn/{3NLFBEHY.js → MGQRJ4VF.js} +1 -1
  123. package/dist/cdn/{QKMKIWCQ.js → N5MR7L5Y.js} +1 -1
  124. package/dist/cdn/{T5LILKGJ.js → N6K4WRNP.js} +2 -2
  125. package/dist/cdn/{PASAZAZ6.js → NA42PH6H.js} +2 -2
  126. package/dist/cdn/NA5GYA2J.js +4 -0
  127. package/dist/cdn/{PHD6BHQ4.js → NCMTS4KE.js} +2 -2
  128. package/dist/cdn/{YGY35OTX.js → NG7W6LLR.js} +1 -1
  129. package/dist/cdn/{AWJAC3ZG.js → NI6A3RKX.js} +2 -2
  130. package/dist/cdn/{UPHFWPPT.js → NLEQLYWM.js} +2 -2
  131. package/dist/cdn/{YWTX6CRL.js → NQN434RN.js} +2 -2
  132. package/dist/cdn/{RMVTG3N6.js → NUDE543V.js} +2 -2
  133. package/dist/cdn/{HVXSBF72.js → NZBUPXCA.js} +2 -2
  134. package/dist/cdn/{REUAJT4B.js → OEFCP2LJ.js} +2 -2
  135. package/dist/cdn/{L3GBY26H.js → OMGEEBI7.js} +2 -2
  136. package/dist/cdn/{TBQCN5F7.js → OQSEBVGG.js} +2 -2
  137. package/dist/cdn/{KYYSWZKG.js → ORQ5ZQGA.js} +2 -2
  138. package/dist/cdn/OVUSUYCQ.js +4 -0
  139. package/dist/cdn/{XAZWFYEX.js → OWQQYBUW.js} +2 -2
  140. package/dist/cdn/{FS77PPPR.js → OY6PUSPW.js} +2 -2
  141. package/dist/cdn/{2PPCEXUK.js → P2QHZLMW.js} +1 -1
  142. package/dist/cdn/{W4VWTV5O.js → PKNW4SHC.js} +2 -2
  143. package/dist/cdn/{DBHPOBLO.js → PM2J24RZ.js} +2 -2
  144. package/dist/cdn/{TTVCQCL3.js → PPTPSTXM.js} +2 -2
  145. package/dist/cdn/{QC4MAENR.js → PQXNB5YK.js} +2 -2
  146. package/dist/cdn/{Z7R7GFWS.js → PRRDZNZP.js} +2 -2
  147. package/dist/cdn/{KCSMQ2DE.js → Q4QUFH6V.js} +2 -2
  148. package/dist/cdn/{UJQ6PF3S.js → QBB2BUIX.js} +2 -2
  149. package/dist/cdn/{JNAVHESL.js → QD6OUP7A.js} +2 -2
  150. package/dist/cdn/{5LV3N4YV.js → QI7TSXMS.js} +2 -2
  151. package/dist/cdn/{AC6PXW6L.js → QKNQFMKI.js} +2 -2
  152. package/dist/cdn/{WREUUUSY.js → QPE42V6V.js} +2 -2
  153. package/dist/cdn/{K7TIKTYY.js → QPF632AH.js} +2 -2
  154. package/dist/cdn/{YDBLGHSQ.js → QTJD6ZFD.js} +2 -2
  155. package/dist/cdn/{HUJ5MU7J.js → QV36OARF.js} +2 -2
  156. package/dist/cdn/{5IA4B4SD.js → QZ6MGRW3.js} +1 -1
  157. package/dist/cdn/{MM5JXM3J.js → R2T7PR2R.js} +2 -2
  158. package/dist/cdn/{3SF6VYM4.js → R3UL3JRN.js} +2 -2
  159. package/dist/cdn/{7JZ3IVF5.js → R54CKEII.js} +2 -2
  160. package/dist/cdn/{7B5JDTDR.js → RE52MOYH.js} +2 -2
  161. package/dist/cdn/{U24GE4JJ.js → RFKOJHD4.js} +2 -2
  162. package/dist/cdn/{XJLMKLXL.js → RILBE66Z.js} +1 -1
  163. package/dist/cdn/{A7SBCP3Y.js → RK5KUYI2.js} +2 -2
  164. package/dist/cdn/{DUCOJ7ZJ.js → RKDO6JIB.js} +2 -2
  165. package/dist/cdn/{FOHUY3ON.js → RWTAG5AP.js} +2 -2
  166. package/dist/cdn/{YGQGUA3J.js → RZUAADKP.js} +2 -2
  167. package/dist/cdn/{TQR7K5IL.js → SCG4UYAX.js} +2 -2
  168. package/dist/cdn/{676IW7PA.js → SD47C2CQ.js} +2 -2
  169. package/dist/cdn/{T2M3BZ6N.js → SKUGJBUE.js} +2 -2
  170. package/dist/cdn/{2SHR4KKW.js → SOUCMBM4.js} +2 -2
  171. package/dist/cdn/{RJ2UO54I.js → SQVGPK44.js} +2 -2
  172. package/dist/cdn/{YD7AZIJ5.js → SVOVGDTK.js} +2 -2
  173. package/dist/cdn/{DZTRRCGX.js → T5ACPDH5.js} +2 -2
  174. package/dist/cdn/{RN3J7V4V.js → T7MJUBQ2.js} +1 -1
  175. package/dist/cdn/{ZKV75NEH.js → TFDJ6C5O.js} +2 -2
  176. package/dist/cdn/{VNQOTQRJ.js → THZBFZMV.js} +2 -2
  177. package/dist/cdn/{CNJA6MO5.js → TRALUQ5Y.js} +2 -2
  178. package/dist/cdn/{ZAD2WJPA.js → TZ2ATSOZ.js} +2 -2
  179. package/dist/cdn/{6BGHQDA4.js → U42PNF6K.js} +2 -2
  180. package/dist/cdn/{DF3XOYMX.js → U4MODUYE.js} +2 -2
  181. package/dist/cdn/{XE5O2CWI.js → UBK5AYQV.js} +2 -2
  182. package/dist/cdn/{YL2Q5PYV.js → UDRNG6CK.js} +2 -2
  183. package/dist/cdn/{BU2B7HJE.js → UEZNSGRO.js} +2 -2
  184. package/dist/cdn/{FVTSXMKW.js → UFYNNEXQ.js} +2 -2
  185. package/dist/cdn/{IEXYTN3M.js → UMBBV4WK.js} +2 -2
  186. package/dist/cdn/{KQTZ7EWW.js → USGWVRNT.js} +2 -2
  187. package/dist/cdn/{LEKYDFHK.js → UYDDWXQK.js} +2 -2
  188. package/dist/cdn/{HMV6VR2W.js → V2SNYM3M.js} +2 -2
  189. package/dist/cdn/{SYHOQAFK.js → V4I4WI44.js} +2 -2
  190. package/dist/cdn/{6FH3UD5I.js → VCLNI7QQ.js} +2 -2
  191. package/dist/cdn/{MPGIZEHH.js → VE7G2BJF.js} +2 -2
  192. package/dist/cdn/{PN7DBKMU.js → VKHUXVVU.js} +2 -2
  193. package/dist/cdn/VL6GZSYS.js +4 -0
  194. package/dist/cdn/{WXIQV32T.js → VLZQ6YBU.js} +2 -2
  195. package/dist/cdn/{ZONQCDTD.js → VPA4XQE6.js} +2 -2
  196. package/dist/cdn/{B6ZO3PQV.js → VQTOGHJB.js} +2 -2
  197. package/dist/cdn/{SWC7LWJY.js → VTBXNS7L.js} +2 -2
  198. package/dist/cdn/{2BAJ2HDE.js → VUYNYKYT.js} +2 -2
  199. package/dist/cdn/{2HCLJAMJ.js → VX4XRBV7.js} +2 -2
  200. package/dist/cdn/{V2SFJMTS.js → WB34TKBF.js} +2 -2
  201. package/dist/cdn/{MAGDX6YE.js → WCW6IOAD.js} +2 -2
  202. package/dist/cdn/{2OWCMKXP.js → WFBXYUGS.js} +2 -2
  203. package/dist/cdn/{BFCN4YA5.js → WJTKRFKL.js} +2 -2
  204. package/dist/cdn/{Z26OFSTL.js → WODQUPUD.js} +2 -2
  205. package/dist/cdn/{WWFXN7YB.js → WOFYZXJP.js} +2 -2
  206. package/dist/cdn/{QFL2NSB2.js → X46LRDVO.js} +2 -2
  207. package/dist/cdn/{4S7NBKBX.js → XCK7SHHN.js} +2 -2
  208. package/dist/cdn/{SWIB7SK7.js → XCZD46XC.js} +1 -1
  209. package/dist/cdn/{6WI5BQPD.js → XF6OEPLG.js} +2 -2
  210. package/dist/cdn/{IXOEH75J.js → XNID3AWF.js} +2 -2
  211. package/dist/cdn/{NIMMFX7W.js → XNJLXONH.js} +2 -2
  212. package/dist/cdn/{Z2ORNXHH.js → XOIQJKUM.js} +2 -2
  213. package/dist/cdn/{H44N2MVM.js → XQHLQIKT.js} +2 -2
  214. package/dist/cdn/{XSAWK4SO.js → XQZMY2OP.js} +2 -2
  215. package/dist/cdn/{SVZP7CO6.js → XUENNBHS.js} +2 -2
  216. package/dist/cdn/{M7XCKYMQ.js → XXN3AGU4.js} +2 -2
  217. package/dist/cdn/{7XSGMD5K.js → XXTQ7DZ7.js} +2 -2
  218. package/dist/cdn/{QW7V5HNE.js → Y2WWYMD3.js} +2 -2
  219. package/dist/cdn/{7BJBNXY2.js → Y3MYGRJ3.js} +2 -2
  220. package/dist/cdn/{NZ4C2L4C.js → Y3YWVJBK.js} +2 -2
  221. package/dist/cdn/{TAQ7RO6H.js → Y77BRIBS.js} +2 -2
  222. package/dist/cdn/{ZILTBWX3.js → YG4TXLHX.js} +2 -2
  223. package/dist/cdn/{YA6QQBQY.js → YKPP6IDP.js} +2 -2
  224. package/dist/cdn/{LKERPBBW.js → YNY5J65A.js} +1 -1
  225. package/dist/cdn/{CQ6NIQMQ.js → YOJPVROP.js} +2 -2
  226. package/dist/cdn/{JY5RZFSK.js → YSIXVCCD.js} +3 -3
  227. package/dist/cdn/{7SVCJ4WQ.js → YYUSZB7W.js} +2 -2
  228. package/dist/cdn/{6V3NLBUA.js → Z6SUFPW6.js} +2 -2
  229. package/dist/cdn/{5W6WOCUZ.js → Z7UVS26N.js} +2 -2
  230. package/dist/cdn/{MFO2MWAL.js → Z7ZPBUE3.js} +2 -2
  231. package/dist/cdn/{2HYJW3J7.js → ZFFSREMA.js} +2 -2
  232. package/dist/cdn/{U243RXYQ.js → ZFRBDVAB.js} +2 -2
  233. package/dist/cdn/{3BY7LVIJ.js → ZKICXPEE.js} +2 -2
  234. package/dist/cdn/{LSTS3Z66.js → ZO4YQKXV.js} +2 -2
  235. package/dist/cdn/{MCEDEIY2.js → ZOR2XTVD.js} +2 -2
  236. package/dist/cdn/{J5EOZ6SQ.js → ZQNETVUR.js} +2 -2
  237. package/dist/cdn/{OAPQTMJ5.js → ZRFEQWCQ.js} +2 -2
  238. package/dist/cdn/{HY74Y7XU.js → ZX7XEJ5S.js} +2 -2
  239. package/dist/cdn/index.js +2 -2
  240. package/dist/cdn/main.css +1 -1
  241. package/dist/chunks/AnalysisViewModel.js +1 -1
  242. package/dist/chunks/action-utils.js +1 -1
  243. package/dist/chunks/async-utils.js +1 -1
  244. package/dist/chunks/basemap-gallery-resources.js +1 -1
  245. package/dist/chunks/building-layer-utils.js +1 -1
  246. package/dist/chunks/chart-utils.js +1 -1
  247. package/dist/chunks/chartCommon.js +1 -1
  248. package/dist/chunks/component-utils.js +1 -1
  249. package/dist/chunks/component-wrapper.js +1 -1
  250. package/dist/chunks/constants.js +1 -1
  251. package/dist/chunks/createCloseEvent.js +1 -1
  252. package/dist/chunks/esri-main.js +1 -1
  253. package/dist/chunks/feature-utils.js +1 -1
  254. package/dist/chunks/globalCss.js +1 -1
  255. package/dist/chunks/handle.js +1 -1
  256. package/dist/chunks/heading.js +1 -1
  257. package/dist/chunks/layer-list.js +1 -1
  258. package/dist/chunks/legacyIcon.js +1 -1
  259. package/dist/chunks/maybe.js +1 -1
  260. package/dist/chunks/measurementUtils.js +1 -1
  261. package/dist/chunks/runtime.js +1 -1
  262. package/dist/chunks/screenLocation.js +1 -1
  263. package/dist/chunks/slots.js +1 -1
  264. package/dist/chunks/svgUtils.js +1 -1
  265. package/dist/chunks/time-utils.js +1 -1
  266. package/dist/chunks/univariateUtils.js +1 -1
  267. package/dist/chunks/useArcgisViewReadyError.js +1 -1
  268. package/dist/chunks/useHandles.js +1 -1
  269. package/dist/chunks/useT9n.js +1 -1
  270. package/dist/chunks/useView.js +1 -1
  271. package/dist/chunks/useViewModel.js +1 -1
  272. package/dist/chunks/useWidget.js +1 -1
  273. package/dist/chunks/utils.js +1 -1
  274. package/dist/chunks/utils2.js +1 -1
  275. package/dist/chunks/visible-element.js +1 -1
  276. package/dist/components/arcgis-area-measurement-2d/customElement.d.ts +1 -1
  277. package/dist/components/arcgis-area-measurement-2d/customElement.js +1 -1
  278. package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +1 -1
  279. package/dist/components/arcgis-area-measurement-3d/customElement.js +1 -1
  280. package/dist/components/arcgis-attachments/customElement.js +1 -1
  281. package/dist/components/arcgis-basemap-gallery/customElement.js +1 -1
  282. package/dist/components/arcgis-basemap-gallery-item/customElement.js +1 -1
  283. package/dist/components/arcgis-basemap-layer-list/customElement.js +1 -1
  284. package/dist/components/arcgis-basemap-toggle/customElement.js +1 -1
  285. package/dist/components/arcgis-bookmarks/customElement.js +1 -1
  286. package/dist/components/arcgis-building-discipline-tree/customElement.d.ts +1 -1
  287. package/dist/components/arcgis-building-discipline-tree/customElement.js +1 -1
  288. package/dist/components/arcgis-building-explorer/building-filter/BuildingNumericFilterViewModel.d.ts +10 -9
  289. package/dist/components/arcgis-building-explorer/customElement.d.ts +52 -5
  290. package/dist/components/arcgis-building-explorer/customElement.js +125 -105
  291. package/dist/components/arcgis-building-level-item/customElement.js +1 -1
  292. package/dist/components/arcgis-building-level-picker/customElement.d.ts +5 -1
  293. package/dist/components/arcgis-building-level-picker/customElement.js +54 -44
  294. package/dist/components/arcgis-building-phase-picker/customElement.d.ts +5 -1
  295. package/dist/components/arcgis-building-phase-picker/customElement.js +47 -33
  296. package/dist/components/arcgis-catalog-layer-list/customElement.js +1 -1
  297. package/dist/components/arcgis-color-select/customElement.js +1 -1
  298. package/dist/components/arcgis-compass/customElement.js +1 -1
  299. package/dist/components/arcgis-coordinate-conversion/customElement.js +1 -1
  300. package/dist/components/arcgis-daylight/customElement.js +1 -1
  301. package/dist/components/arcgis-direct-line-measurement-3d/customElement.d.ts +1 -1
  302. package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +1 -1
  303. package/dist/components/arcgis-directional-pad/customElement.js +1 -1
  304. package/dist/components/arcgis-directions/customElement.js +1 -1
  305. package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +1 -1
  306. package/dist/components/arcgis-distance-measurement-2d/customElement.js +1 -1
  307. package/dist/components/arcgis-editor/customElement.js +1 -1
  308. package/dist/components/arcgis-elevation-profile/customElement.d.ts +2 -2
  309. package/dist/components/arcgis-elevation-profile/customElement.js +1 -1
  310. package/dist/components/arcgis-elevation-profile-legend/customElement.js +1 -1
  311. package/dist/components/arcgis-elevation-profile-legend-item/customElement.js +1 -1
  312. package/dist/components/arcgis-elevation-profile-settings/customElement.js +1 -1
  313. package/dist/components/arcgis-elevation-profile-statistics/customElement.js +1 -1
  314. package/dist/components/arcgis-expand/customElement.js +1 -1
  315. package/dist/components/arcgis-feature/customElement.js +1 -1
  316. package/dist/components/arcgis-feature-attachments/customElement.js +1 -1
  317. package/dist/components/arcgis-feature-content/customElement.js +1 -1
  318. package/dist/components/arcgis-feature-element-info/customElement.js +1 -1
  319. package/dist/components/arcgis-feature-expression/customElement.js +1 -1
  320. package/dist/components/arcgis-feature-fields/customElement.js +1 -1
  321. package/dist/components/arcgis-feature-form/customElement.js +1 -1
  322. package/dist/components/arcgis-feature-media/customElement.js +1 -1
  323. package/dist/components/arcgis-feature-relationship/customElement.js +1 -1
  324. package/dist/components/arcgis-feature-table/customElement.js +1 -1
  325. package/dist/components/arcgis-feature-templates/customElement.js +1 -1
  326. package/dist/components/arcgis-feature-utility-network-association-list/customElement.js +1 -1
  327. package/dist/components/arcgis-feature-utility-network-associations/customElement.js +1 -1
  328. package/dist/components/arcgis-features/customElement.js +1 -1
  329. package/dist/components/arcgis-floor-filter/customElement.js +1 -1
  330. package/dist/components/arcgis-fullscreen/customElement.js +1 -1
  331. package/dist/components/arcgis-grid-controls/customElement.js +1 -1
  332. package/dist/components/arcgis-histogram-range-slider/customElement.js +1 -1
  333. package/dist/components/arcgis-home/customElement.js +1 -1
  334. package/dist/components/arcgis-labeled-switch/customElement.js +1 -1
  335. package/dist/components/arcgis-layer-list/customElement.js +1 -1
  336. package/dist/components/arcgis-layer-list-item/customElement.js +1 -1
  337. package/dist/components/arcgis-legend/customElement.js +1 -1
  338. package/dist/components/arcgis-legend-card-color-ramp/customElement.js +1 -1
  339. package/dist/components/arcgis-legend-card-element/customElement.js +1 -1
  340. package/dist/components/arcgis-legend-card-size-ramp/customElement.js +1 -1
  341. package/dist/components/arcgis-legend-card-univariate-above-and-below-ramp/customElement.js +1 -1
  342. package/dist/components/arcgis-legend-card-univariate-color-size-ramp/customElement.js +1 -1
  343. package/dist/components/arcgis-legend-card-view/customElement.js +1 -1
  344. package/dist/components/arcgis-legend-classic-color-ramp/customElement.js +1 -1
  345. package/dist/components/arcgis-legend-classic-element/customElement.js +1 -1
  346. package/dist/components/arcgis-legend-classic-size-ramp/customElement.js +1 -1
  347. package/dist/components/arcgis-legend-classic-univariate-above-and-below-ramp/customElement.js +1 -1
  348. package/dist/components/arcgis-legend-classic-univariate-color-size-ramp/customElement.js +1 -1
  349. package/dist/components/arcgis-legend-classic-view/customElement.js +1 -1
  350. package/dist/components/arcgis-legend-relationship-ramp/customElement.js +1 -1
  351. package/dist/components/arcgis-legend-spike-ramp/customElement.js +1 -1
  352. package/dist/components/arcgis-line-of-sight/customElement.d.ts +1 -1
  353. package/dist/components/arcgis-line-of-sight/customElement.js +1 -1
  354. package/dist/components/arcgis-link-chart/customElement.d.ts +1 -1
  355. package/dist/components/arcgis-link-chart/customElement.js +1 -1
  356. package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +1 -1
  357. package/dist/components/arcgis-locate/customElement.js +1 -1
  358. package/dist/components/arcgis-map/customElement.d.ts +1 -1
  359. package/dist/components/arcgis-map/customElement.js +1 -1
  360. package/dist/components/arcgis-measurement/customElement.js +1 -1
  361. package/dist/components/arcgis-measurement-content/customElement.js +1 -1
  362. package/dist/components/arcgis-navigation-toggle/customElement.js +1 -1
  363. package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +1 -1
  364. package/dist/components/arcgis-popup/customElement.js +1 -1
  365. package/dist/components/arcgis-presentation/customElement.js +1 -1
  366. package/dist/components/arcgis-print/customElement.js +1 -1
  367. package/dist/components/arcgis-print-custom-text-elements/customElement.js +1 -1
  368. package/dist/components/arcgis-print-dpi-input/customElement.js +1 -1
  369. package/dist/components/arcgis-print-export-button/customElement.js +1 -1
  370. package/dist/components/arcgis-print-exports-panel/customElement.js +1 -1
  371. package/dist/components/arcgis-print-format-select/customElement.js +1 -1
  372. package/dist/components/arcgis-print-layout-advanced-options/customElement.js +1 -1
  373. package/dist/components/arcgis-print-layout-panel/customElement.js +1 -1
  374. package/dist/components/arcgis-print-main-panel/customElement.js +1 -1
  375. package/dist/components/arcgis-print-map-only-advanced-options/customElement.js +1 -1
  376. package/dist/components/arcgis-print-map-only-panel/customElement.js +1 -1
  377. package/dist/components/arcgis-print-out-spatial-reference-input/customElement.js +1 -1
  378. package/dist/components/arcgis-print-preview-input/customElement.js +1 -1
  379. package/dist/components/arcgis-print-scale-section/customElement.js +1 -1
  380. package/dist/components/arcgis-print-template-select/customElement.js +1 -1
  381. package/dist/components/arcgis-print-template-selector/customElement.js +1 -1
  382. package/dist/components/arcgis-scale-bar/customElement.js +1 -1
  383. package/dist/components/arcgis-scale-range-slider/customElement.js +1 -1
  384. package/dist/components/arcgis-scene/customElement.d.ts +1 -1
  385. package/dist/components/arcgis-scene/customElement.js +1 -1
  386. package/dist/components/arcgis-search/customElement.js +1 -1
  387. package/dist/components/arcgis-search-result-renderer/customElement.js +1 -1
  388. package/dist/components/arcgis-shadow-cast/customElement.d.ts +1 -1
  389. package/dist/components/arcgis-shadow-cast/customElement.js +1 -1
  390. package/dist/components/arcgis-shadow-cast-discrete-config/customElement.js +1 -1
  391. package/dist/components/arcgis-shadow-cast-min-duration-config/customElement.js +1 -1
  392. package/dist/components/arcgis-shadow-cast-total-duration-config/customElement.js +1 -1
  393. package/dist/components/arcgis-sketch/customElement.js +1 -1
  394. package/dist/components/arcgis-slice/customElement.d.ts +1 -1
  395. package/dist/components/arcgis-slice/customElement.js +1 -1
  396. package/dist/components/arcgis-spinner/customElement.js +1 -1
  397. package/dist/components/arcgis-swipe/customElement.js +1 -1
  398. package/dist/components/arcgis-table-list/customElement.js +1 -1
  399. package/dist/components/arcgis-time-slider/customElement.js +1 -1
  400. package/dist/components/arcgis-time-zone-label/customElement.js +1 -1
  401. package/dist/components/arcgis-track/customElement.js +1 -1
  402. package/dist/components/arcgis-unit-select/customElement.js +1 -1
  403. package/dist/components/arcgis-utility-network-association-list/customElement.js +1 -1
  404. package/dist/components/arcgis-utility-network-associations/customElement.js +1 -1
  405. package/dist/components/arcgis-utility-network-subnetwork-info/customElement.js +1 -1
  406. package/dist/components/arcgis-utility-network-trace/customElement.js +1 -1
  407. package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +1 -1
  408. package/dist/components/arcgis-utility-network-trace-inputs/customElement.js +1 -1
  409. package/dist/components/arcgis-utility-network-trace-location/customElement.js +1 -1
  410. package/dist/components/arcgis-utility-network-trace-location-list/customElement.js +1 -1
  411. package/dist/components/arcgis-utility-network-trace-results/customElement.js +1 -1
  412. package/dist/components/arcgis-utility-network-validate-topology/customElement.js +1 -1
  413. package/dist/components/arcgis-value-picker/customElement.js +1 -1
  414. package/dist/components/arcgis-version-management/customElement.js +1 -1
  415. package/dist/components/arcgis-version-management-service-item/customElement.js +1 -1
  416. package/dist/components/arcgis-version-management-version-list/customElement.js +1 -1
  417. package/dist/components/arcgis-version-management-version-properties/customElement.js +1 -1
  418. package/dist/components/arcgis-video/customElement.js +1 -1
  419. package/dist/components/arcgis-video-player/customElement.js +1 -1
  420. package/dist/components/arcgis-video-player-action-bar/customElement.js +1 -1
  421. package/dist/components/arcgis-video-player-actions-group/customElement.js +1 -1
  422. package/dist/components/arcgis-video-player-controls-group/customElement.js +1 -1
  423. package/dist/components/arcgis-video-player-metadata/customElement.js +1 -1
  424. package/dist/components/arcgis-video-player-settings/customElement.js +1 -1
  425. package/dist/components/arcgis-video-player-slider/customElement.js +1 -1
  426. package/dist/components/arcgis-volume-measurement/customElement.d.ts +1 -1
  427. package/dist/components/arcgis-volume-measurement/customElement.js +1 -1
  428. package/dist/components/arcgis-weather/customElement.js +1 -1
  429. package/dist/components/arcgis-webgl-error/customElement.js +1 -1
  430. package/dist/components/arcgis-zoom/customElement.js +1 -1
  431. package/dist/docs/api.json +143 -371
  432. package/dist/docs/docs.json +127 -455
  433. package/dist/docs/vscode.html-custom-data.json +25 -51
  434. package/dist/docs/web-types.json +75 -127
  435. package/dist/index.d.ts +0 -15
  436. package/dist/index.js +1 -1
  437. package/dist/loader.js +2 -2
  438. package/dist/support/AnalysisViewModel.d.ts +1 -1
  439. package/dist/types/lumina.d.ts +3 -17
  440. package/dist/types/preact.d.ts +3 -20
  441. package/dist/types/react.d.ts +3 -23
  442. package/dist/types/stencil.d.ts +3 -17
  443. package/package.json +4 -4
  444. package/dist/cdn/36QBY2A7.js +0 -4
  445. package/dist/cdn/4OSDK2AV.js +0 -4
  446. package/dist/cdn/AM2G5MLW.js +0 -4
  447. package/dist/cdn/DTLHQTUZ.js +0 -4
  448. package/dist/cdn/IYRMQI4G.js +0 -4
  449. package/dist/cdn/N33Z7OIV.js +0 -4
  450. package/dist/cdn/SRKH3O76.js +0 -4
  451. package/dist/cdn/UJUPDEDC.js +0 -4
  452. package/dist/cdn/WMC46E4D.js +0 -4
  453. package/dist/cdn/WTRZH2WJ.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.112 */
4
- import{a as l}from"./W4VWTV5O.js";import e from"./2BAJ2HDE.js";import{a as p}from"./W6WB6RZ5.js";import d from"./SYHOQAFK.js";import b from"./RAV6QK2C.js";import"./RIS6P2XR.js";import"./2XQJJYPB.js";import"./IJVRBKED.js";import"./YGY35OTX.js";import{L as s,M as a,N as g,T as u,a as f,b as t,p as c,x as n}from"./XJLMKLXL.js";import"./25TVKQGR.js";export default $arcgis.t(([y,,,m])=>{var x=f`.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;max-height:100%;overflow:auto;arcgis-utility-network-trace-inputs::slotted{overflow-y:auto;max-height:450px}}.arcgis-utility-network-trace-analysis{flex:auto;width:300px}.arcgis-utility-network-trace-analysis calcite-tab{background-color:var(--calcite-color-foreground-1);padding-top:0;padding-bottom:0;min-height:300px;--calcite-tab-content-space-y: 0}.arcgis-utility-network-trace-analysis calcite-tab:not([selected]){flex:0}.arcgis-utility-network-trace-analysis calcite-block{--calcite-block-border-color: transparent;margin:0;background-color:transparent}.arcgis-utility-network-trace-analysis calcite-block calcite-label:last-child{--calcite-label-margin-bottom: 0}.arcgis-utility-network-trace-analysis calcite-notice{padding:var(--calcite-spacing-xs)}`,k=m(y),h=class extends g{constructor(){super(...arguments),this._messages=p({blocking:!0}),this._viewModel=k(this),this._traceInputsRef=s(),this._traceResultsRef=s(),this._highlightHandles=[],this.activeTab="input",this._mode="default",this.allowEditingDisabled=!1,this.autoDestroyDisabled=!1,this.closable=!1,this.state=this._viewModel.state,this.view=this._viewModel.view,this.arcgisTraceLocationSelectStart=n(),this.arcgisTraceLocationSelectEnd=n(),this.arcgisTraceResultFeaturesReady=n(),this.arcgisReady=n()}static{this.properties={activeTab:16,traceResult:16,_mode:16,allowEditingDisabled:5,autoDestroyDisabled:5,beforeTraceLocationSelectStart:0,closable:7,icon:1,label:3,messageOverrides:0,mode:1,traceResultFeatures:32,referenceElement:1,state:3,view:0}}static{this.styles=x}get _allLayers(){let{view:e}=this;return e?.map?e.map.allLayers.toArray().concat(e.map.allTables.toArray()):[]}get _traceResultsReady(){return!!this.traceResult&&this._numTraceResults>0&&this._traceResultsRef.value?.state==="ready"}get _numTraceResults(){let{traceResult:e}=this;return e?e.elements.length+e.globalFunctionResults.length:0}get traceResultFeatures(){return this._traceResultsRef.value?.traceResultFeatures??[]}async destroy(){await this.manager.destroy()}_clearTraceResult(){this.traceResult=void 0,this._clearHighlights()}_switchTab(e){this.activeTab=e}_getLoadError(e){let{_messages:i}=this;switch(e){case"no-user-type-extension":return i.loadErrors.noUserTypeExtension;case"no-utility-network":return i.loadErrors.noUtilityNetwork;case"no-view":return i.loadErrors.noView;case"sceneView-not-supported":return i.loadErrors.sceneViewNotSupported;default:return e}}_clearHighlights(){this._highlightHandles.forEach(e=>e.remove()),this._highlightHandles=[]}_highlightResults(){this._clearHighlights();let{traceResult:e,view:i}=this,o=this._viewModel.utilityNetwork;!o||!e?.elements||!i||o.getObjectIdsFromElements(e.elements).forEach(r=>{let d=i.allLayerViews.find(_=>{let b=_.layer;if(o.isUtilityLayer(b)){let v=Number(r.layerUrl.split("/").pop());return b.layerId===v}return!1});if(!d)return;let w=d.highlight(r.objectIds);this._highlightHandles.push(w)})}async _runTrace(){let e=this._traceInputsRef.value?.selectedNamedTraceConfiguration,i=this._traceInputsRef.value?.unTraceConfiguration;if(!(e?.traceType&&i)){c("error",this,"Trace configuration not found");return}let o=this._traceInputsRef.value?.traceLocations;try{this.traceResult=await this._viewModel.executeTraceConfiguration({traceType:e.traceType,traceConfiguration:i,traceLocations:o??[]}),this._highlightResults()}catch(r){c("error",this,`Error while running trace. ${r}`),this.traceResult=void 0}}_handleTraceLocationSelectStart(e){e.stopPropagation(),this.arcgisTraceLocationSelectStart.emit(e.detail).defaultPrevented&&e.preventDefault()}_handleTraceLocationSelectEnd(e){e.stopPropagation(),this.arcgisTraceLocationSelectEnd.emit()}_handleTraceResultFeaturesReady(e){e.stopPropagation(),this.arcgisTraceResultFeaturesReady.emit()}_handleTraceInputsChange(){}_handleUtilityNetworkChange(){this._viewModel.utilityNetwork=this._traceInputsRef.value?.selectedUtilityNetwork}renderResultsTab(){return l(`${this.el.id}__results-tab-item`,t`<calcite-tab .selected=${this.activeTab==="results"}>${this._viewModel.state==="executing"?t`<calcite-loader .label=${this._messages.runningTrace} .text=${this._messages.runningTrace}></calcite-loader>`:t`<arcgis-utility-network-trace-results .referenceElement=${this.referenceElement} .layers=${this._allLayers} .traceConfigTitle=${this._selectedTraceConfig?.title} .traceResult=${this.traceResult} .utilityNetwork=${this._viewModel.utilityNetwork??void 0} .view=${this.view??void 0} @arcgisTraceResultFeaturesReady=${this._handleTraceResultFeaturesReady} ${a(this._traceResultsRef)}></arcgis-utility-network-trace-results>`}</calcite-tab>`)}renderResultsFooter(){let{_mode:e}=this;return e==="add-spatial"?null:t`<calcite-button appearance=outline width=full @click=${()=>{this._switchTab("input"),this._clearTraceResult()}} .disabled=${!this._traceResultsReady} slot=footer>${this._traceResultsReady?this._messages.buttons.clearResultsCustom.replace("{number}",this.traceResultFeatures.length.toString()):this._messages.buttons.clearResultsGeneric}</calcite-button>`}renderInputTab(){return l(`${this.el.id}__inputs-tab-item`,t`<calcite-tab .selected=${this.activeTab==="input"}><arcgis-utility-network-trace-inputs .view=${this.view||void 0} .beforeTraceLocationSelectStart=${this.beforeTraceLocationSelectStart} @arcgisTraceInputsChange=${this._handleTraceInputsChange} @arcgisUtilityNetworkChange=${this._handleUtilityNetworkChange} @arcgisTraceLocationSelectStart=${this._handleTraceLocationSelectStart} @arcgisTraceLocationSelectEnd=${this._handleTraceLocationSelectEnd} @arcgisPropertyChange=${e=>{e.stopPropagation(),e.detail.name==="mode"&&(this._mode=e.target.mode)}} ${a(this._traceInputsRef)}></arcgis-utility-network-trace-inputs></calcite-tab>`)}renderInputFooter(){let{_mode:e}=this;return e==="add-spatial"?null:t`<calcite-button appearance=solid width=full @click=${()=>{this._switchTab("results"),this._runTrace()}} slot=footer>${this._messages.buttons.getResults}</calcite-button>`}render(){let{_messages:e,_viewModel:{loadError:i,state:o}}=this,r=o==="disabled"&&i!=null&&i!=="no-utility-network"?t`<calcite-notice kind=warning open scale=s slot=content-top width=full><div slot=message>${this._getLoadError(i)}</div></calcite-notice>`:void 0;return t`<div class="arcgis-utility-network-trace-analysis"><calcite-panel .loading=${this.view===void 0}><calcite-tabs layout=center position=top><calcite-tab-nav slot=title-group><calcite-tab-title @click=${()=>{this._switchTab("input")}} .selected=${this.activeTab==="input"}>${e.tabs.inputTab}</calcite-tab-title><calcite-tab-title @click=${()=>{this._switchTab("results")}} .selected=${this.activeTab==="results"}>${e.tabs.resultsTab}</calcite-tab-title></calcite-tab-nav>${this.view?this.renderInputTab():null}${this.view&&this._viewModel.utilityNetwork?this.renderResultsTab():null}</calcite-tabs>${r}${this.activeTab==="input"?this.renderInputFooter():null}${this.activeTab==="results"?this.renderResultsFooter():null}</calcite-panel></div>`}};u("arcgis-utility-network-trace-analysis",h);return h},"networks/UtilityNetworkTraceAnalysis",b,d,e)
3
+ v5.0.0-next.113 */
4
+ import{a as l}from"./PKNW4SHC.js";import e from"./VUYNYKYT.js";import{a as p}from"./FSPISFLJ.js";import d from"./V4I4WI44.js";import b from"./4N57H3BC.js";import"./2WQ475IE.js";import"./6ECDGXCK.js";import"./M6FUONTE.js";import"./NG7W6LLR.js";import{L as s,M as a,N as g,T as u,a as f,b as t,p as c,x as n}from"./RILBE66Z.js";import"./HFWJBUUX.js";export default $arcgis.t(([y,,,m])=>{var x=f`.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;max-height:100%;overflow:auto;arcgis-utility-network-trace-inputs::slotted{overflow-y:auto;max-height:450px}}.arcgis-utility-network-trace-analysis{flex:auto;width:300px}.arcgis-utility-network-trace-analysis calcite-tab{background-color:var(--calcite-color-foreground-1);padding-top:0;padding-bottom:0;min-height:300px;--calcite-tab-content-space-y: 0}.arcgis-utility-network-trace-analysis calcite-tab:not([selected]){flex:0}.arcgis-utility-network-trace-analysis calcite-block{--calcite-block-border-color: transparent;margin:0;background-color:transparent}.arcgis-utility-network-trace-analysis calcite-block calcite-label:last-child{--calcite-label-margin-bottom: 0}.arcgis-utility-network-trace-analysis calcite-notice{padding:var(--calcite-spacing-xs)}`,k=m(y),h=class extends g{constructor(){super(...arguments),this._messages=p({blocking:!0}),this._viewModel=k(this),this._traceInputsRef=s(),this._traceResultsRef=s(),this._highlightHandles=[],this.activeTab="input",this._mode="default",this.allowEditingDisabled=!1,this.autoDestroyDisabled=!1,this.closable=!1,this.state=this._viewModel.state,this.view=this._viewModel.view,this.arcgisTraceLocationSelectStart=n(),this.arcgisTraceLocationSelectEnd=n(),this.arcgisTraceResultFeaturesReady=n(),this.arcgisReady=n()}static{this.properties={activeTab:16,traceResult:16,_mode:16,allowEditingDisabled:5,autoDestroyDisabled:5,beforeTraceLocationSelectStart:0,closable:7,icon:1,label:3,messageOverrides:0,mode:1,traceResultFeatures:32,referenceElement:1,state:3,view:0}}static{this.styles=x}get _allLayers(){let{view:e}=this;return e?.map?e.map.allLayers.toArray().concat(e.map.allTables.toArray()):[]}get _traceResultsReady(){return!!this.traceResult&&this._numTraceResults>0&&this._traceResultsRef.value?.state==="ready"}get _numTraceResults(){let{traceResult:e}=this;return e?e.elements.length+e.globalFunctionResults.length:0}get traceResultFeatures(){return this._traceResultsRef.value?.traceResultFeatures??[]}async destroy(){await this.manager.destroy()}_clearTraceResult(){this.traceResult=void 0,this._clearHighlights()}_switchTab(e){this.activeTab=e}_getLoadError(e){let{_messages:i}=this;switch(e){case"no-user-type-extension":return i.loadErrors.noUserTypeExtension;case"no-utility-network":return i.loadErrors.noUtilityNetwork;case"no-view":return i.loadErrors.noView;case"sceneView-not-supported":return i.loadErrors.sceneViewNotSupported;default:return e}}_clearHighlights(){this._highlightHandles.forEach(e=>e.remove()),this._highlightHandles=[]}_highlightResults(){this._clearHighlights();let{traceResult:e,view:i}=this,o=this._viewModel.utilityNetwork;!o||!e?.elements||!i||o.getObjectIdsFromElements(e.elements).forEach(r=>{let d=i.allLayerViews.find(_=>{let b=_.layer;if(o.isUtilityLayer(b)){let v=Number(r.layerUrl.split("/").pop());return b.layerId===v}return!1});if(!d)return;let w=d.highlight(r.objectIds);this._highlightHandles.push(w)})}async _runTrace(){let e=this._traceInputsRef.value?.selectedNamedTraceConfiguration,i=this._traceInputsRef.value?.unTraceConfiguration;if(!(e?.traceType&&i)){c("error",this,"Trace configuration not found");return}let o=this._traceInputsRef.value?.traceLocations;try{this.traceResult=await this._viewModel.executeTraceConfiguration({traceType:e.traceType,traceConfiguration:i,traceLocations:o??[]}),this._highlightResults()}catch(r){c("error",this,`Error while running trace. ${r}`),this.traceResult=void 0}}_handleTraceLocationSelectStart(e){e.stopPropagation(),this.arcgisTraceLocationSelectStart.emit(e.detail).defaultPrevented&&e.preventDefault()}_handleTraceLocationSelectEnd(e){e.stopPropagation(),this.arcgisTraceLocationSelectEnd.emit()}_handleTraceResultFeaturesReady(e){e.stopPropagation(),this.arcgisTraceResultFeaturesReady.emit()}_handleTraceInputsChange(){}_handleUtilityNetworkChange(){this._viewModel.utilityNetwork=this._traceInputsRef.value?.selectedUtilityNetwork}renderResultsTab(){return l(`${this.el.id}__results-tab-item`,t`<calcite-tab .selected=${this.activeTab==="results"}>${this._viewModel.state==="executing"?t`<calcite-loader .label=${this._messages.runningTrace} .text=${this._messages.runningTrace}></calcite-loader>`:t`<arcgis-utility-network-trace-results .referenceElement=${this.referenceElement} .layers=${this._allLayers} .traceConfigTitle=${this._selectedTraceConfig?.title} .traceResult=${this.traceResult} .utilityNetwork=${this._viewModel.utilityNetwork??void 0} .view=${this.view??void 0} @arcgisTraceResultFeaturesReady=${this._handleTraceResultFeaturesReady} ${a(this._traceResultsRef)}></arcgis-utility-network-trace-results>`}</calcite-tab>`)}renderResultsFooter(){let{_mode:e}=this;return e==="add-spatial"?null:t`<calcite-button appearance=outline width=full @click=${()=>{this._switchTab("input"),this._clearTraceResult()}} .disabled=${!this._traceResultsReady} slot=footer>${this._traceResultsReady?this._messages.buttons.clearResultsCustom.replace("{number}",this.traceResultFeatures.length.toString()):this._messages.buttons.clearResultsGeneric}</calcite-button>`}renderInputTab(){return l(`${this.el.id}__inputs-tab-item`,t`<calcite-tab .selected=${this.activeTab==="input"}><arcgis-utility-network-trace-inputs .view=${this.view||void 0} .beforeTraceLocationSelectStart=${this.beforeTraceLocationSelectStart} @arcgisTraceInputsChange=${this._handleTraceInputsChange} @arcgisUtilityNetworkChange=${this._handleUtilityNetworkChange} @arcgisTraceLocationSelectStart=${this._handleTraceLocationSelectStart} @arcgisTraceLocationSelectEnd=${this._handleTraceLocationSelectEnd} @arcgisPropertyChange=${e=>{e.stopPropagation(),e.detail.name==="mode"&&(this._mode=e.target.mode)}} ${a(this._traceInputsRef)}></arcgis-utility-network-trace-inputs></calcite-tab>`)}renderInputFooter(){let{_mode:e}=this;return e==="add-spatial"?null:t`<calcite-button appearance=solid width=full @click=${()=>{this._switchTab("results"),this._runTrace()}} slot=footer>${this._messages.buttons.getResults}</calcite-button>`}render(){let{_messages:e,_viewModel:{loadError:i,state:o}}=this,r=o==="disabled"&&i!=null&&i!=="no-utility-network"?t`<calcite-notice kind=warning open scale=s slot=content-top width=full><div slot=message>${this._getLoadError(i)}</div></calcite-notice>`:void 0;return t`<div class="arcgis-utility-network-trace-analysis"><calcite-panel .loading=${this.view===void 0}><calcite-tabs layout=center position=top><calcite-tab-nav slot=title-group><calcite-tab-title @click=${()=>{this._switchTab("input")}} .selected=${this.activeTab==="input"}>${e.tabs.inputTab}</calcite-tab-title><calcite-tab-title @click=${()=>{this._switchTab("results")}} .selected=${this.activeTab==="results"}>${e.tabs.resultsTab}</calcite-tab-title></calcite-tab-nav>${this.view?this.renderInputTab():null}${this.view&&this._viewModel.utilityNetwork?this.renderResultsTab():null}</calcite-tabs>${r}${this.activeTab==="input"?this.renderInputFooter():null}${this.activeTab==="results"?this.renderResultsFooter():null}</calcite-panel></div>`}};u("arcgis-utility-network-trace-analysis",h);return h},"networks/UtilityNetworkTraceAnalysis",b,d,e)
@@ -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.112 */
4
- import a from"./LKERPBBW.js";import{b as r}from"./YGY35OTX.js";import{N as m,O as s,T as g,a as c,b as l}from"./XJLMKLXL.js";import"./25TVKQGR.js";export default $arcgis.t(([{a:d,g:o,h:p}])=>{var _=c`.arcgis-legend__size-ramp--container{margin-left:var(--calcite-spacing-sm);display:table}:dir(rtl) .arcgis-legend__size-ramp--container{margin-right:var(--calcite-spacing-sm);margin-left:0;overflow:auto}.arcgis-legend__size-ramp--row{display:table-row}.arcgis-legend__size-ramp--cell{padding:var(--calcite-spacing-xxs) 0;min-width:100px;vertical-align:middle;word-break:break-word;display:table-cell}.arcgis-legend__size-ramp--label{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-legend__size-ramp--symbol-container{min-width:10px;text-align:center}.arcgis-legend__size-ramp--symbol{display:flex;justify-content:center}`,e={container:"arcgis-legend__size-ramp--container",row:"arcgis-legend__size-ramp--row",cell:"arcgis-legend__size-ramp--cell",label:"arcgis-legend__size-ramp--label",symbol:"arcgis-legend__size-ramp--symbol",symbolContainer:"arcgis-legend__size-ramp--symbol-container"},n=class extends m{constructor(){super(...arguments),this.legendElement=null}static{this.properties={legendElement:0,messages:0}}static{this.styles=_}render(){let a=this.legendElement.infos.map(i=>this._renderRow(i)).filter(Boolean);return a.length?this.legendElement.theme==="spike"?l`<arcgis-legend-spike-ramp .legendElement=${this.legendElement} .messages=${this.messages}></arcgis-legend-spike-ramp>`:l`<div class=${s(e.container)}>${a}</div>`:null}_renderRow(a){let{preview:i}=a;if(!i)return null;let t=d(this.messages,a.label,!1);return p(i,o(this.messages,t)),l`<div class=${s(e.row)}><div class=${s(r(e.cell,e.symbolContainer))}><div class=${s(e.symbol)}>${i}</div></div><div class=${s(r(e.cell,e.label))}>${t}</div></div>`}};g("arcgis-legend-classic-size-ramp",n);return n},a)
3
+ v5.0.0-next.113 */
4
+ import a from"./YNY5J65A.js";import{b as r}from"./NG7W6LLR.js";import{N as m,O as s,T as g,a as c,b as l}from"./RILBE66Z.js";import"./HFWJBUUX.js";export default $arcgis.t(([{a:d,g:o,h:p}])=>{var _=c`.arcgis-legend__size-ramp--container{margin-left:var(--calcite-spacing-sm);display:table}:dir(rtl) .arcgis-legend__size-ramp--container{margin-right:var(--calcite-spacing-sm);margin-left:0;overflow:auto}.arcgis-legend__size-ramp--row{display:table-row}.arcgis-legend__size-ramp--cell{padding:var(--calcite-spacing-xxs) 0;min-width:100px;vertical-align:middle;word-break:break-word;display:table-cell}.arcgis-legend__size-ramp--label{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-legend__size-ramp--symbol-container{min-width:10px;text-align:center}.arcgis-legend__size-ramp--symbol{display:flex;justify-content:center}`,e={container:"arcgis-legend__size-ramp--container",row:"arcgis-legend__size-ramp--row",cell:"arcgis-legend__size-ramp--cell",label:"arcgis-legend__size-ramp--label",symbol:"arcgis-legend__size-ramp--symbol",symbolContainer:"arcgis-legend__size-ramp--symbol-container"},n=class extends m{constructor(){super(...arguments),this.legendElement=null}static{this.properties={legendElement:0,messages:0}}static{this.styles=_}render(){let a=this.legendElement.infos.map(i=>this._renderRow(i)).filter(Boolean);return a.length?this.legendElement.theme==="spike"?l`<arcgis-legend-spike-ramp .legendElement=${this.legendElement} .messages=${this.messages}></arcgis-legend-spike-ramp>`:l`<div class=${s(e.container)}>${a}</div>`:null}_renderRow(a){let{preview:i}=a;if(!i)return null;let t=d(this.messages,a.label,!1);return p(i,o(this.messages,t)),l`<div class=${s(e.row)}><div class=${s(r(e.cell,e.symbolContainer))}><div class=${s(e.symbol)}>${i}</div></div><div class=${s(r(e.cell,e.label))}>${t}</div></div>`}};g("arcgis-legend-classic-size-ramp",n);return n},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.112 */
4
- import{a as $}from"./5ZQAM3ZW.js";import{a as _}from"./UBFLCINO.js";import f from"./JNAVHESL.js";import e from"./3SF6VYM4.js";import{a as B}from"./4SISPQ4E.js";import d from"./2BAJ2HDE.js";import{a as U}from"./W6WB6RZ5.js";import{a as u}from"./5IA4B4SD.js";import c from"./SYHOQAFK.js";import a from"./RAV6QK2C.js";import{g as k}from"./RIS6P2XR.js";import"./2XQJJYPB.js";import"./IJVRBKED.js";import"./YGY35OTX.js";import{M as x,N as C,O as v,Q as g,T as S,a as w,b as l,x as b}from"./XJLMKLXL.js";import"./25TVKQGR.js";export default $arcgis.t(([{ignoreAbortErrors:V},F,{getDefaultUnitForView:E},{property:a,subclass:A},{watch:m},{createChart:I},,,M,{a:O,d:f},z])=>{var T=w`.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}.esri-widget{--esri-widget-padding-x: 15px;--esri-widget-padding-y: var(--calcite-spacing-md);--esri-widget-padding: var(--esri-widget-padding-y) var(--esri-widget-padding-x);box-sizing:border-box;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget *,.esri-widget :before,.esri-widget :after{box-sizing:inherit}.esri-widget.esri-widget--disabled>*{opacity:.4;pointer-events:none}.esri-widget.esri-widget--compact{--esri-widget-padding-y: 0;--esri-widget-padding-x: 0}.esri-widget__anchor{color:var(--calcite-color-text-2)}.esri-widget__anchor:hover{color:var(--calcite-color-text-3)}.esri-widget__anchor:hover,.esri-widget__anchor:focus{text-decoration:underline}.esri-widget__anchor--disabled{opacity:.4;pointer-events:none}.esri-widget__header{background-color:var(--calcite-color-foreground-1);flex:1 0 100%;justify-content:space-between;align-items:center;width:100%;min-height:48px;padding:12px 0 12px 15px;display:flex}.esri-widget__header .esri-widget__heading{width:calc(100% - 48px);text-align:initial;color:var(--calcite-color-text-1);align-items:center;margin:0;padding:0;display:flex}.esri-widget__header-button{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);border:none;flex:0 0 48px;justify-content:center;align-self:stretch;align-items:center;width:48px;padding:0;display:flex}.esri-widget__footer{background-color:var(--calcite-color-foreground-1);justify-content:center;align-items:center;width:100%;min-height:48px;display:flex}.esri-widget__footer-pagination{color:var(--calcite-color-text-2);justify-content:space-between;align-items:center;display:flex}.esri-widget__footer-pagination-previous-button,.esri-widget__footer-pagination-next-button{cursor:pointer;background-color:var(--calcite-color-foreground-1);border:0;margin:0 7px;padding:12px 15px;transition:background-color .125s ease-in-out}.esri-widget__footer-pagination-previous-button:hover,.esri-widget__footer-pagination-previous-button:focus,.esri-widget__footer-pagination-next-button:hover,.esri-widget__footer-pagination-next-button:focus{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1)}.esri-menu{visibility:hidden;z-index:1;background-clip:padding;background-color:var(--calcite-color-foreground-1);background-clip:padding-box;width:100%;max-height:0;margin:2px 0 0;padding:0;font-size:var(--calcite-font-size);line-height:var(--calcite-spacing-xl);position:absolute;top:100%;left:0;overflow:hidden;box-shadow:0 1px 2px #0000004d}.esri-menu .esri-menu__header{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-inverse);padding:6px 12px}.esri-menu__list{margin:0;padding:0;list-style:none}.esri-menu__list-item{cursor:pointer;border-top:1px solid #adadad4d;border-left:3px solid #0000;padding:.8em 1em}.esri-menu__list-item [class^=esri-icon-],.esri-menu__list-item [class*=" esri-icon-"]{padding-right:2.8px}.esri-menu__list-item:first-child{border-top:none}.esri-menu__list-item--focus,.esri-menu__list-item:hover,.esri-menu__list-item:focus{background-color:var(--calcite-color-foreground-1)}.esri-menu__list-item:active{background-color:var(--calcite-color-foreground-current)}.esri-menu__list-item--active,.esri-menu__list-item--active:hover,.esri-menu__list-item--active:focus{background-color:var(--calcite-color-foreground-1);border-left-color:var(--calcite-color-brand)}.esri-widget__table{border-collapse:collapse;color:var(--calcite-color-text-1);border:none;width:100%;line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget__table tr:nth-child(odd){background-color:var(--calcite-color-transparent)}.esri-widget__table tr:nth-child(2n){background-color:var(--calcite-color-transparent-press)}.esri-widget__table tr a{color:var(--calcite-color-text-2)}.esri-widget__table tr a:hover,.esri-widget__table tr a:focus{color:var(--calcite-color-text-1)}.esri-widget__table tr td,.esri-widget__table tr th{vertical-align:top;word-break:break-word;padding:.5em .7em;font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular)}.esri-widget__table tr th{text-align:left;border-right:3px solid #0000000d;width:50%}.esri-widget__table tr td{width:50%}.esri-input{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1);border:1px solid #959595;font-size:var(--calcite-font-size)}.esri-input::-ms-clear{display:none}.esri-input::placeholder{opacity:1;color:var(--calcite-color-text-2)}.esri-input:placeholder-shown{text-overflow:ellipsis}.esri-input[type=text],.esri-input[type=password],.esri-input[type=number]{height:32px;padding:0 .5em}calcite-combobox.esri-input{border:none}.esri-widget__content--empty{text-align:center;color:var(--calcite-color-border-input);flex-flow:column wrap;align-items:center;padding:18px 22px;display:flex}.esri-widget__content--empty h1.esri-widget__heading,.esri-widget__content--empty h2.esri-widget__heading,.esri-widget__content--empty h3.esri-widget__heading,.esri-widget__content--empty h4.esri-widget__heading,.esri-widget__content--empty h5.esri-widget__heading{font-weight:var(--calcite-font-weight-regular)}.esri-widget__content-illustration--empty{width:128px;padding:1rem 0}.esri-widget__content-icon--empty{width:32px;padding:.5rem 0}.esri-select{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background:var(--calcite-color-foreground-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -8 32 32' width='32' height='32'%3E%3Cpath d='M8 11.207l-4-4V5.793l4 4 4-4v1.414z' fill='%23adadad' fillrule='nonzero'/%3E%3C/svg%3E") 100% no-repeat;border:1px solid #959595;border-radius:0;width:100%;height:32px;margin:0;padding:0 .5em;font-family:inherit;font-size:.85em;display:block}.esri-select[disabled]{cursor:auto}.esri-select::-ms-expand{display:none}.esri-disabled a,.esri-disabled [role=menu],.esri-disabled [role=checkbox],.esri-disabled [class^=esri-icon-],.esri-disabled [class*=" esri-icon-"]{color:var(--calcite-color-text-3)}.keynav-mode .esri-widget:focus,.keynav-mode .esri-widget :focus{z-index:1;outline-offset:2px;outline:2px solid #adadad}.esri-widget__loader-animation{border:.15em solid #adadad4d;border-top-color:var(--calcite-color-border-input);border-radius:100%;width:1em;height:1em;font-size:var(--calcite-font-size-md);animation:1.25s linear infinite esri-rotate;display:block;transform:translateZ(0)}:dir(rtl) .esri-widget__table th{text-align:right;border-left:3px solid #0000000d;border-right:none}:dir(rtl) .esri-select{background-position:0}:dir(rtl) .esri-menu__list-item{border-left:none;border-right:3px solid #0000}:dir(rtl) .esri-menu__list-item [class^=esri-icon-],:dir(rtl) .esri-menu__list-item [class*=" esri-icon-"]{padding-left:2px;padding-right:0}:dir(rtl) .esri-menu__list-item--active{border-right-color:var(--calcite-color-brand)}.esri-icon-font-fallback-text{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.esri-rotating{animation:1.25s linear infinite esri-rotate;transform:translateZ(0)}.esri-clearfix:before,.esri-clearfix:after{content:" ";display:table}.esri-clearfix:after{clear:both}.esri-interactive{cursor:pointer}.esri-hidden{display:none!important}.esri-invisible{visibility:hidden!important}.esri-offscreen{position:absolute;top:-999em;left:-999em}.esri-match-height{flex-direction:column;flex:auto;display:flex;overflow:hidden}.esri-widget--panel{min-width:300px;min-height:32px;padding:var(--esri-widget-padding);transition:max-height .25s ease-in-out;overflow-y:auto}:host{--internal-chart-height: 180px;--internal-gap: var(--calcite-spacing-sm-plus);width:550px;isolation:isolate;padding:var(--esri-widget-padding);position:relative;container-type:inline-size}.container{display:flex;flex-direction:column;width:100%;min-width:0;gap:var(--internal-gap)}.header{display:flex;flex-direction:row;align-items:center;justify-content:flex-end;margin-bottom:calc(var(--internal-gap) * -1)}.actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:var(--calcite-spacing-xs)}.action-button{width:auto;min-height:32px}.main-container{display:flex;position:relative;flex-flow:column;width:100%;height:var(--internal-chart-height)}.chart-container{position:relative;width:100%;height:100%}.prompt-container{box-sizing:border-box;display:grid;place-content:center;padding-inline:var(--calcite-spacing-md);height:100%;text-align:center}.prompt-message{margin:0;width:100%}.spinner{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transition:opacity .15s ease-in-out;transition-delay:0;opacity:0;&.visible{transition-delay:50ms;opacity:1}&.small{inset-inline-start:0;top:-22px;left:unset;transform:none;color:var(--calcite-color-brand)}}@container (max-width: 400px){.esri-widget--panel{height:auto}.actions{flex-direction:column}.action-button{align-self:stretch}}`;function L({geometry:t}){return t!=null&&t.type==="polyline"&&t.paths.length>0&&t.paths.every(e=>e.length>=2)}function R({geometry:t}){return t?.type==="polyline"&&t.paths.reduce((e,i)=>e+i.length,0)>0}function Z(t){return t?.samples?.some(e=>e.z!=null)??!1}function H(t){return t?.type==="polyline"}async function j(t,e,i){let r=await q(t,e);return O(i),G(r)?r.highlight(e):$()}async function q(t,e){let i=e?.layer;if(!(!i||i.type==="subtype-sublayer"||i.type==="sublayer"||i.type==="building-component"))return await t.whenLayerView(i)}function G(t){return t!=null&&"highlight"in t&&typeof t.highlight=="function"}var J=Object.defineProperty,N=Object.getOwnPropertyDescriptor,s=(t,e,i,r)=>{for(var o=r>1?void 0:r?N(e,i):e,c=t.length-1,d;c>=0;c--)(d=t[c])&&(o=(r?d(e,i,o):d(o))||o);return r&&o&&J(e,i,o),o},n=class extends z{constructor(){super(...arguments),this.highlightDisabled=!1,this.uniformChartScaling=!1,this.shouldForceInteractive=!1,this.supportedViewType="both",this.unsupportedErrorMessage=""}get _measurementSystem(){return this.view?E(this.view):void 0}get _hasSamples(){let{progress:t}=this;return!!this.analysisView?.results?.some(e=>e.available&&(t<1||Z(e)))}get doneButtonAvailable(){if(this.featureIsSelected)return!1;let{geometry:t}=this.analysis;return H(t)&&t.paths.length>0&&t.paths[0].length>2}get effectiveDisplayUnits(){return this.analysisView?.effectiveDisplayUnits}get errorState(){if(!L(this.analysis))return"no-valid-input";let t=this.analysisView?.error;if(t)switch(t.name){case"too-complex":return"too-complex";case"elevation-query-error":return"no-valid-input";default:return"unknown"}return this._hasSamples?"none":"no-available-profiles"}get feature(){return this._selectedFeature}set feature(t){t?t!==this.feature&&(this.analysis.setGeometryFromFeature(t),this._selectedFeature=t):this._selectedFeature=void 0}get featureIsSelected(){return this.feature!=null}get hasVertices(){return R(this.analysis)}get indicatorRelativePosition(){return this.analysisView?.indicatorRelativePosition??void 0}get geometry(){return this.analysis.geometry}set geometry(t){this.analysis.geometry=t}get elevationInfo(){return this.analysis.elevationInfo}set elevationInfo(t){this.analysis.elevationInfo=t}get profiles(){return this.analysis.profiles}set profiles(t){this.analysis.profiles=t}get progress(){return this.analysisView?.progress??0}get results(){return this.analysisView?.results??[]}get selectButtonAvailable(){for(let t of this.view?.map?.allLayers.toArray()??[])if(t.type==="graphics"&&!("internal"in t&&t.internal)&&t.graphics.some(e=>e.geometry?.type==="polyline")||"geometryType"in t&&t.geometryType==="polyline")return!0;return!!this.view?.graphics?.some(t=>t.geometry?.type==="polyline")}get state(){return this.disabled||!this.ready?"disabled":this._selectingPromise?"selecting":this.operationState==="active"?"creating":this.analysis.valid?this.featureIsSelected?"selected":"created":"ready"}get distanceUnit(){return D(this._userDistanceUnit??this.analysis.displayUnits?.distance??void 0,this.distanceUnitOptions,this._measurementSystem)}set distanceUnit(t){this._userDistanceUnit=t}get distanceUnitOptions(){return P(this._userDistanceUnitOptions)}set distanceUnitOptions(t){this._userDistanceUnitOptions=t}get elevationUnit(){return D(this._userElevationUnit??this.analysis.displayUnits?.elevation??void 0,this.elevationUnitOptions,this._measurementSystem)}set elevationUnit(t){this._userElevationUnit=t}get elevationUnitOptions(){return P(this._userElevationUnitOptions)}set elevationUnitOptions(t){this._userElevationUnitOptions=t}initialize(){this.addHandles([m(()=>({analysis:this.analysis,unitDistance:this.distanceUnit,unitElevation:this.elevationUnit}),({analysis:t,unitDistance:e,unitElevation:i})=>{if(t!=null){let r=t.displayUnits;r.elevation=i,r.distance=e}},{sync:!0,initial:!0}),m(()=>({selectedFeature:this.feature,profiles:this.analysis.profiles.toArray()}),({selectedFeature:t,profiles:e},i)=>{this._highlightSelectedFeature(this.highlightDisabled?void 0:t),this.analysis.viewOptions.geometryVisualizationVisible=!this.highlightDisabled&&t==null;let r=i?.selectedFeature;e.forEach(o=>{switch(o.type){case"scene":this._excludeSelectedFeatureFromProfile(o,t,r);break;case"input":o.chartOptions.lineVisible=t!=null,o.viewOptions.lineVisible=t!=null;break}})},{initial:!0})])}destroy(){this._removeSelectionHighlight()}async select(){let t=this.analysisView;if(!t)return;let e=super.start({operation:async i=>{let r=await t.pickFeature(i);i?.signal?.aborted||(t.interactive=!1,this.feature=r.feature)},clear:!1});e.finally(()=>{this._selectingPromise===e&&(this._selectingPromise=void 0)}),this._selectingPromise=e,await e.catch()}async place(t){await this.analysisView?.place(t)}clearAnalysis(){this.geometry=null,this.elevationInfo=null,this.feature=void 0}constructAnalysis(){return new F}_highlightSelectedFeature(t){this._removeSelectionHighlight();let e=this.view;!e||!t||(this._selectionHighlightTask=f(async i=>await j(e,t,{signal:i})))}_removeSelectionHighlight(){this._selectionHighlightTask?.value?.remove(),this._selectionHighlightTask=B(this._selectionHighlightTask)}_excludeSelectedFeatureFromProfile(t,e,i){let r=new Set(t.exclude??[]);i&&r.delete(i),e&&r.add(e),t.exclude=Array.from(r)}};s([a()],n.prototype,"_userDistanceUnit",2);s([a()],n.prototype,"_userDistanceUnitOptions",2);s([a()],n.prototype,"_userElevationUnit",2);s([a()],n.prototype,"_userElevationUnitOptions",2);s([a({readOnly:!0})],n.prototype,"_measurementSystem",1);s([a()],n.prototype,"_selectingPromise",2);s([a()],n.prototype,"_selectedFeature",2);s([a()],n.prototype,"_selectionHighlightTask",2);s([a()],n.prototype,"_hasSamples",1);s([a()],n.prototype,"doneButtonAvailable",1);s([a({readOnly:!0})],n.prototype,"effectiveDisplayUnits",1);s([a({readOnly:!0})],n.prototype,"errorState",1);s([a()],n.prototype,"feature",1);s([a()],n.prototype,"featureIsSelected",1);s([a({readOnly:!0})],n.prototype,"hasVertices",1);s([a()],n.prototype,"highlightDisabled",2);s([a()],n.prototype,"indicatorRelativePosition",1);s([a()],n.prototype,"geometry",1);s([a()],n.prototype,"elevationInfo",1);s([a()],n.prototype,"profiles",1);s([a({readOnly:!0})],n.prototype,"progress",1);s([a({readOnly:!0})],n.prototype,"results",1);s([a({readOnly:!0})],n.prototype,"selectButtonAvailable",1);s([a({readOnly:!0})],n.prototype,"state",1);s([a()],n.prototype,"uniformChartScaling",2);s([a()],n.prototype,"distanceUnit",1);s([a()],n.prototype,"distanceUnitOptions",1);s([a()],n.prototype,"elevationUnit",1);s([a()],n.prototype,"elevationUnitOptions",1);n=s([A("components.elevation-profile.ElevationProfileViewModel")],n);function D(t,e,i){return t&&e.includes(t)?t:i&&e.includes(i)?i:e[0]}function P(t){let e=t?.filter(i=>_.includes(i));return e&&e.length>0?e:_.slice()}var Q=M(n),y=class extends C{constructor(){super(...arguments),this.viewModel=Q(this),this._messages=U(),this._hideZoomOutButton=!0,this.analysis=this.viewModel.analysis,this.view=this.viewModel.view,this.autoDestroyDisabled=!1,this.effectiveDisplayUnits=this.viewModel.effectiveDisplayUnits,this.feature=this.viewModel.feature,this.hideChart=!1,this.hideClearButton=!1,this.hideLegend=!1,this.hideSelectButton=!1,this.hideSettingsButton=!1,this.hideSketchButton=!1,this.hideUniformChartScalingToggle=!1,this.hideUnitSelector=!1,this.hideVisualization=this.viewModel.hideVisualization,this.highlightDisabled=this.viewModel.highlightDisabled,this.indicatorRelativePosition=this.viewModel.indicatorRelativePosition,this.icon="altitude",this.geometry=this.viewModel.geometry,this.elevationInfo=this.viewModel.elevationInfo,this.profiles=this.viewModel.profiles,this.progress=this.viewModel.progress,this.state=this.viewModel.state,this.uniformChartScaling=this.viewModel.uniformChartScaling,this.distanceUnit=this.viewModel.distanceUnit,this.distanceUnitOptions=this.viewModel.distanceUnitOptions,this.elevationUnit=this.viewModel.elevationUnit,this.elevationUnitOptions=this.viewModel.elevationUnitOptions,this.arcgisPropertyChange=k()("analysis","effectiveDisplayUnits","elevationInfo","feature","geometry","indicatorRelativePosition","progress","state"),this.arcgisReady=b()}static{this.properties={_hideZoomOutButton:16,_chartContainer:16,analysis:0,view:0,autoDestroyDisabled:5,effectiveDisplayUnits:32,feature:0,hideChart:5,hideClearButton:5,hideLegend:5,hideSelectButton:5,hideSettingsButton:5,hideSketchButton:5,hideUniformChartScalingToggle:5,hideUnitSelector:5,hideVisualization:5,highlightDisabled:5,indicatorRelativePosition:40,icon:2,geometry:0,elevationInfo:0,label:1,messageOverrides:0,referenceElement:1,profiles:0,progress:40,state:3,uniformChartScaling:5,distanceUnit:1,distanceUnitOptions:0,elevationUnit:1,elevationUnitOptions:0}}static{this.styles=T}get _selectButtonVisible(){return!this.hideSelectButton&&this.viewModel.selectButtonAvailable}get _chart(){return this._chartInitializationTask?.value}async destroy(){await this.manager.destroy()}async select(){V(this.viewModel.select())}async start(){V(this.viewModel.start())}async stop(){this.viewModel.stop()}async clear(){this.viewModel.clear()}load(){this.manager.onLifecycle(()=>[m(()=>({container:this._chartContainer}),({container:e})=>{this._destroyChart(),e&&(this._chartInitializationTask=f(async i=>await I({view:this.viewModel.view,analysisView:this.viewModel.analysisView,container:e,messages:this._messages,signal:i,uniformScaling:this.viewModel.uniformChartScaling,onRangeChange:(r,o)=>{this._hideZoomOutButton=r===1&&o===1},onCursorPositionChange:(r,o)=>{let{analysisView:c}=this.viewModel;c&&(c.indicatorRelativePosition=r)}})))},{sync:!0,initial:!0}),m(()=>({chart:this._chart,view:this.viewModel.view,analysisView:this.viewModel.analysisView,uniformScaling:this.viewModel.uniformChartScaling}),({chart:e,view:i,analysisView:r,uniformScaling:o})=>{e&&(e.view=i,e.analysisView=r,e.uniformScaling=o)},{sync:!0,initial:!0}),{remove:()=>this._destroyChart()}])}_destroyChart(){let e=this._chart;this._chartInitializationTask?.abort(),this._chartInitializationTask=void 0,e?.destroy()}_onCancelButtonClick(){this.viewModel.stop(),this.viewModel.clear()}_onDoneButtonClick(){this.viewModel.stop()}_getErrorMessage(){let e=W[this.viewModel.errorState];return e?this._messages?.errors?.[e]:void 0}_onClearButtonClick(){this.viewModel.clear()}_onZoomOutButtonClick(){this._chart?.zoomOut()}_onChartContainerRef(e){this._chartContainer=e}render(){return l`<div aria-label=${this._messages.componentLabel??g} class=${v({container:!0,[u.widget]:!0,[u.widgetDisabled]:this.viewModel.state==="disabled",[u.panel]:!0})} role=presentation>${this._renderContentForState()}</div>`}_renderContentForState(){switch(this.viewModel.state){case"ready":return this._renderContentForReadyState();case"selecting":return this._renderContentForSelectingState();case"creating":return this._renderContentForCreatingState();case"selected":return this._renderContentForSelectedState();case"created":return this._renderContentForCreatedState();case"disabled":return this._renderContentForReadyState()}}_renderContentForReadyState(){let{_messages:e,hideSelectButton:i,hideSketchButton:r}=this,{selectButtonAvailable:o}=this.viewModel,c=!i&&o,d;return!r&&c?d=e.readyPrompt:r?c?d=e.readyPromptSelectOnly:d=e.errors?.noProfile:d=e.readyPromptCreateOnly,this._renderContent({prompt:d,chart:!1,actions:p})}_renderContentForSelectingState(){let{view:e}=this.viewModel;if(!e)return;let i=this._messages[`selectingPrompt-${e.type}`];return this._renderContent({prompt:i,chart:!1,actions:[{type:"select-cancel"}]})}_renderContentForCreatingState(){let{viewModel:e}=this,{view:i}=e;if(!i)return;let r=e.hasVertices?[{type:"sketch-cancel"},{type:"sketch-done",disabled:!e.doneButtonAvailable}]:[{type:"select"},{type:"sketch",disabled:!0}];if(e.errorState==="no-valid-input"){let c=this._messages[`creatingPrompt-${i.type}`];return this._renderContent({chart:!1,actions:r,prompt:c})}let o=this._getErrorMessage();return o?this._renderContent({chart:!1,actions:r,prompt:o}):this._renderContent({chart:!0,actions:r})}_renderContentForSelectedState(){let e=this._getErrorMessage();return e?this._renderContent({chart:!1,actions:p,prompt:e}):this._renderContent({chart:!0,actions:p})}_renderContentForCreatedState(){let e=this._getErrorMessage();return e?this._renderContent({chart:!1,actions:p,prompt:e}):this._renderContent({chart:!0,actions:p})}_renderContent(e){let{viewModel:i}=this,r=i.geometry!=null;return l`<header class="header">${h({hidden:this._hideZoomOutButton,children:this._renderZoomOutButton()})}${h({hidden:this.hideClearButton||!r,children:this._renderClearButton()})}${h({hidden:this.hideSettingsButton,children:this._renderSettingsButton()})}</header><div class="main-container">${e.prompt!=null?this._renderPrompt(e.prompt):e.chart?this._renderChart():void 0}</div>${h({hidden:this.hideLegend,children:this._renderLegend()})}${this._renderActions(e)}`}_renderPrompt(e){return[l`<div class="prompt-container"><p class="prompt-message">${e}</p></div>`]}_renderZoomOutButton(){let e=this._messages.zoomOut??"";return l`<calcite-action icon=magnifying-glass-minus @click=${this._onZoomOutButtonClick} .text=${e} title=${e??g}></calcite-action>`}_renderChart(){if(this.hideChart)return;let e=this._chart;return l`${this._renderSpinner({size:e?.chartVisible?"small":"large",visible:e?.spinnerVisible??!1})}<div class="chart-container" ${x(this._onChartContainerRef)}></div>`}_renderSpinner(e){let i=e.size==="small",r=e.visible??!0;return l`<calcite-loader class=${v({spinner:!0,small:i,visible:r})} .inline=${i} label></calcite-loader>`}_renderClearButton(){let e=this._messages.clearProfile??"";return l`<calcite-action icon=trash @click=${this._onClearButtonClick} .text=${e} title=${e??g}></calcite-action>`}_renderLegend(){return l`<arcgis-elevation-profile-legend .effectiveDisplayUnits=${this.viewModel.effectiveDisplayUnits} .featureSelected=${this.viewModel.featureIsSelected} .messages=${this._messages} .results=${this.viewModel.results}></arcgis-elevation-profile-legend>`}_renderSettingsButton(){return l`<arcgis-elevation-profile-settings .analysis=${this.viewModel.analysis} .hideUniformChartScalingToggle=${this.hideUniformChartScalingToggle} .hideUnitSelector=${this.hideUnitSelector} .messages=${this._messages} .uniformChartScaling=${this.viewModel.uniformChartScaling} .unitOptionsDistance=${this.viewModel.distanceUnitOptions} .unitOptionsElevation=${this.viewModel.elevationUnitOptions} @arcgisElevationProfileSettingsUniformChartScalingChange=${e=>{this.viewModel.uniformChartScaling=e.detail}}></arcgis-elevation-profile-settings>`}_renderActions({actions:e}){let i=this._messages,r=e.map(o=>{switch(o.type){case"sketch":return h({hidden:this.hideSketchButton,children:this._renderAction({action:o,label:i.sketchButtonLabel,primary:!0,onClick:()=>void this.start()})});case"sketch-cancel":return h({hidden:this.hideSketchButton,children:this._renderAction({action:o,label:i.cancelButtonLabel,primary:!1,onClick:this._onCancelButtonClick})});case"sketch-done":return h({hidden:this.hideSketchButton,children:this._renderAction({action:o,label:i.doneButtonLabel,primary:!0,onClick:this._onDoneButtonClick})});case"select":return h({hidden:!this._selectButtonVisible,children:this._renderAction({action:o,label:i.selectButtonLabel,primary:!1,onClick:()=>void this.select()})});case"select-cancel":return h({hidden:!this._selectButtonVisible,children:this._renderAction({action:o,label:i.cancelButtonLabel,primary:!1,onClick:this._onCancelButtonClick})});default:return}}).filter(Boolean);return r.length?l`<footer class="actions">${r}</footer>`:void 0}_renderAction({action:e,label:i,onClick:r,primary:o}){return l`<calcite-button .appearance=${o?"solid":"outline-fill"} class="action-button" .disabled=${e.disabled||void 0} @click=${r}>${i}</calcite-button>`}};function h(t){return t.hidden?void 0:t.children}var p=[{type:"select"},{type:"sketch"}],W={none:void 0,"no-valid-input":"noProfile","no-available-profiles":"noProfile","too-complex":"tooComplex",unknown:"unknown"};S("arcgis-elevation-profile",y);return y},"core/promiseUtils","analysis/ElevationProfileAnalysis","applications/Components/getDefaultUnits","core/accessorSupport/decorators","core/reactiveUtils","applications/Components/analysisUtils",a,c,d,e,f)
3
+ v5.0.0-next.113 */
4
+ import{a as $}from"./FS4R7HUF.js";import{a as _}from"./GITXEKSU.js";import f from"./QD6OUP7A.js";import e from"./R3UL3JRN.js";import{a as B}from"./LOAGLFX4.js";import d from"./VUYNYKYT.js";import{a as U}from"./FSPISFLJ.js";import{a as u}from"./QZ6MGRW3.js";import c from"./V4I4WI44.js";import a from"./4N57H3BC.js";import{g as k}from"./2WQ475IE.js";import"./6ECDGXCK.js";import"./M6FUONTE.js";import"./NG7W6LLR.js";import{M as x,N as C,O as v,Q as g,T as S,a as w,b as l,x as b}from"./RILBE66Z.js";import"./HFWJBUUX.js";export default $arcgis.t(([{ignoreAbortErrors:V},F,{getDefaultUnitForView:E},{property:a,subclass:A},{watch:m},{createChart:I},,,M,{a:O,d:f},z])=>{var T=w`.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}.esri-widget{--esri-widget-padding-x: 15px;--esri-widget-padding-y: var(--calcite-spacing-md);--esri-widget-padding: var(--esri-widget-padding-y) var(--esri-widget-padding-x);box-sizing:border-box;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget *,.esri-widget :before,.esri-widget :after{box-sizing:inherit}.esri-widget.esri-widget--disabled>*{opacity:.4;pointer-events:none}.esri-widget.esri-widget--compact{--esri-widget-padding-y: 0;--esri-widget-padding-x: 0}.esri-widget__anchor{color:var(--calcite-color-text-2)}.esri-widget__anchor:hover{color:var(--calcite-color-text-3)}.esri-widget__anchor:hover,.esri-widget__anchor:focus{text-decoration:underline}.esri-widget__anchor--disabled{opacity:.4;pointer-events:none}.esri-widget__header{background-color:var(--calcite-color-foreground-1);flex:1 0 100%;justify-content:space-between;align-items:center;width:100%;min-height:48px;padding:12px 0 12px 15px;display:flex}.esri-widget__header .esri-widget__heading{width:calc(100% - 48px);text-align:initial;color:var(--calcite-color-text-1);align-items:center;margin:0;padding:0;display:flex}.esri-widget__header-button{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);border:none;flex:0 0 48px;justify-content:center;align-self:stretch;align-items:center;width:48px;padding:0;display:flex}.esri-widget__footer{background-color:var(--calcite-color-foreground-1);justify-content:center;align-items:center;width:100%;min-height:48px;display:flex}.esri-widget__footer-pagination{color:var(--calcite-color-text-2);justify-content:space-between;align-items:center;display:flex}.esri-widget__footer-pagination-previous-button,.esri-widget__footer-pagination-next-button{cursor:pointer;background-color:var(--calcite-color-foreground-1);border:0;margin:0 7px;padding:12px 15px;transition:background-color .125s ease-in-out}.esri-widget__footer-pagination-previous-button:hover,.esri-widget__footer-pagination-previous-button:focus,.esri-widget__footer-pagination-next-button:hover,.esri-widget__footer-pagination-next-button:focus{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1)}.esri-menu{visibility:hidden;z-index:1;background-clip:padding;background-color:var(--calcite-color-foreground-1);background-clip:padding-box;width:100%;max-height:0;margin:2px 0 0;padding:0;font-size:var(--calcite-font-size);line-height:var(--calcite-spacing-xl);position:absolute;top:100%;left:0;overflow:hidden;box-shadow:0 1px 2px #0000004d}.esri-menu .esri-menu__header{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-inverse);padding:6px 12px}.esri-menu__list{margin:0;padding:0;list-style:none}.esri-menu__list-item{cursor:pointer;border-top:1px solid #adadad4d;border-left:3px solid #0000;padding:.8em 1em}.esri-menu__list-item [class^=esri-icon-],.esri-menu__list-item [class*=" esri-icon-"]{padding-right:2.8px}.esri-menu__list-item:first-child{border-top:none}.esri-menu__list-item--focus,.esri-menu__list-item:hover,.esri-menu__list-item:focus{background-color:var(--calcite-color-foreground-1)}.esri-menu__list-item:active{background-color:var(--calcite-color-foreground-current)}.esri-menu__list-item--active,.esri-menu__list-item--active:hover,.esri-menu__list-item--active:focus{background-color:var(--calcite-color-foreground-1);border-left-color:var(--calcite-color-brand)}.esri-widget__table{border-collapse:collapse;color:var(--calcite-color-text-1);border:none;width:100%;line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget__table tr:nth-child(odd){background-color:var(--calcite-color-transparent)}.esri-widget__table tr:nth-child(2n){background-color:var(--calcite-color-transparent-press)}.esri-widget__table tr a{color:var(--calcite-color-text-2)}.esri-widget__table tr a:hover,.esri-widget__table tr a:focus{color:var(--calcite-color-text-1)}.esri-widget__table tr td,.esri-widget__table tr th{vertical-align:top;word-break:break-word;padding:.5em .7em;font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular)}.esri-widget__table tr th{text-align:left;border-right:3px solid #0000000d;width:50%}.esri-widget__table tr td{width:50%}.esri-input{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1);border:1px solid #959595;font-size:var(--calcite-font-size)}.esri-input::-ms-clear{display:none}.esri-input::placeholder{opacity:1;color:var(--calcite-color-text-2)}.esri-input:placeholder-shown{text-overflow:ellipsis}.esri-input[type=text],.esri-input[type=password],.esri-input[type=number]{height:32px;padding:0 .5em}calcite-combobox.esri-input{border:none}.esri-widget__content--empty{text-align:center;color:var(--calcite-color-border-input);flex-flow:column wrap;align-items:center;padding:18px 22px;display:flex}.esri-widget__content--empty h1.esri-widget__heading,.esri-widget__content--empty h2.esri-widget__heading,.esri-widget__content--empty h3.esri-widget__heading,.esri-widget__content--empty h4.esri-widget__heading,.esri-widget__content--empty h5.esri-widget__heading{font-weight:var(--calcite-font-weight-regular)}.esri-widget__content-illustration--empty{width:128px;padding:1rem 0}.esri-widget__content-icon--empty{width:32px;padding:.5rem 0}.esri-select{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background:var(--calcite-color-foreground-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -8 32 32' width='32' height='32'%3E%3Cpath d='M8 11.207l-4-4V5.793l4 4 4-4v1.414z' fill='%23adadad' fillrule='nonzero'/%3E%3C/svg%3E") 100% no-repeat;border:1px solid #959595;border-radius:0;width:100%;height:32px;margin:0;padding:0 .5em;font-family:inherit;font-size:.85em;display:block}.esri-select[disabled]{cursor:auto}.esri-select::-ms-expand{display:none}.esri-disabled a,.esri-disabled [role=menu],.esri-disabled [role=checkbox],.esri-disabled [class^=esri-icon-],.esri-disabled [class*=" esri-icon-"]{color:var(--calcite-color-text-3)}.keynav-mode .esri-widget:focus,.keynav-mode .esri-widget :focus{z-index:1;outline-offset:2px;outline:2px solid #adadad}.esri-widget__loader-animation{border:.15em solid #adadad4d;border-top-color:var(--calcite-color-border-input);border-radius:100%;width:1em;height:1em;font-size:var(--calcite-font-size-md);animation:1.25s linear infinite esri-rotate;display:block;transform:translateZ(0)}:dir(rtl) .esri-widget__table th{text-align:right;border-left:3px solid #0000000d;border-right:none}:dir(rtl) .esri-select{background-position:0}:dir(rtl) .esri-menu__list-item{border-left:none;border-right:3px solid #0000}:dir(rtl) .esri-menu__list-item [class^=esri-icon-],:dir(rtl) .esri-menu__list-item [class*=" esri-icon-"]{padding-left:2px;padding-right:0}:dir(rtl) .esri-menu__list-item--active{border-right-color:var(--calcite-color-brand)}.esri-icon-font-fallback-text{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.esri-rotating{animation:1.25s linear infinite esri-rotate;transform:translateZ(0)}.esri-clearfix:before,.esri-clearfix:after{content:" ";display:table}.esri-clearfix:after{clear:both}.esri-interactive{cursor:pointer}.esri-hidden{display:none!important}.esri-invisible{visibility:hidden!important}.esri-offscreen{position:absolute;top:-999em;left:-999em}.esri-match-height{flex-direction:column;flex:auto;display:flex;overflow:hidden}.esri-widget--panel{min-width:300px;min-height:32px;padding:var(--esri-widget-padding);transition:max-height .25s ease-in-out;overflow-y:auto}:host{--internal-chart-height: 180px;--internal-gap: var(--calcite-spacing-sm-plus);width:550px;isolation:isolate;padding:var(--esri-widget-padding);position:relative;container-type:inline-size}.container{display:flex;flex-direction:column;width:100%;min-width:0;gap:var(--internal-gap)}.header{display:flex;flex-direction:row;align-items:center;justify-content:flex-end;margin-bottom:calc(var(--internal-gap) * -1)}.actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:var(--calcite-spacing-xs)}.action-button{width:auto;min-height:32px}.main-container{display:flex;position:relative;flex-flow:column;width:100%;height:var(--internal-chart-height)}.chart-container{position:relative;width:100%;height:100%}.prompt-container{box-sizing:border-box;display:grid;place-content:center;padding-inline:var(--calcite-spacing-md);height:100%;text-align:center}.prompt-message{margin:0;width:100%}.spinner{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transition:opacity .15s ease-in-out;transition-delay:0;opacity:0;&.visible{transition-delay:50ms;opacity:1}&.small{inset-inline-start:0;top:-22px;left:unset;transform:none;color:var(--calcite-color-brand)}}@container (max-width: 400px){.esri-widget--panel{height:auto}.actions{flex-direction:column}.action-button{align-self:stretch}}`;function L({geometry:t}){return t!=null&&t.type==="polyline"&&t.paths.length>0&&t.paths.every(e=>e.length>=2)}function R({geometry:t}){return t?.type==="polyline"&&t.paths.reduce((e,i)=>e+i.length,0)>0}function Z(t){return t?.samples?.some(e=>e.z!=null)??!1}function H(t){return t?.type==="polyline"}async function j(t,e,i){let r=await q(t,e);return O(i),G(r)?r.highlight(e):$()}async function q(t,e){let i=e?.layer;if(!(!i||i.type==="subtype-sublayer"||i.type==="sublayer"||i.type==="building-component"))return await t.whenLayerView(i)}function G(t){return t!=null&&"highlight"in t&&typeof t.highlight=="function"}var J=Object.defineProperty,N=Object.getOwnPropertyDescriptor,s=(t,e,i,r)=>{for(var o=r>1?void 0:r?N(e,i):e,c=t.length-1,d;c>=0;c--)(d=t[c])&&(o=(r?d(e,i,o):d(o))||o);return r&&o&&J(e,i,o),o},n=class extends z{constructor(){super(...arguments),this.highlightDisabled=!1,this.uniformChartScaling=!1,this.shouldForceInteractive=!1,this.supportedViewType="both",this.unsupportedErrorMessage=""}get _measurementSystem(){return this.view?E(this.view):void 0}get _hasSamples(){let{progress:t}=this;return!!this.analysisView?.results?.some(e=>e.available&&(t<1||Z(e)))}get doneButtonAvailable(){if(this.featureIsSelected)return!1;let{geometry:t}=this.analysis;return H(t)&&t.paths.length>0&&t.paths[0].length>2}get effectiveDisplayUnits(){return this.analysisView?.effectiveDisplayUnits}get errorState(){if(!L(this.analysis))return"no-valid-input";let t=this.analysisView?.error;if(t)switch(t.name){case"too-complex":return"too-complex";case"elevation-query-error":return"no-valid-input";default:return"unknown"}return this._hasSamples?"none":"no-available-profiles"}get feature(){return this._selectedFeature}set feature(t){t?t!==this.feature&&(this.analysis.setGeometryFromFeature(t),this._selectedFeature=t):this._selectedFeature=void 0}get featureIsSelected(){return this.feature!=null}get hasVertices(){return R(this.analysis)}get indicatorRelativePosition(){return this.analysisView?.indicatorRelativePosition??void 0}get geometry(){return this.analysis.geometry}set geometry(t){this.analysis.geometry=t}get elevationInfo(){return this.analysis.elevationInfo}set elevationInfo(t){this.analysis.elevationInfo=t}get profiles(){return this.analysis.profiles}set profiles(t){this.analysis.profiles=t}get progress(){return this.analysisView?.progress??0}get results(){return this.analysisView?.results??[]}get selectButtonAvailable(){for(let t of this.view?.map?.allLayers.toArray()??[])if(t.type==="graphics"&&!("internal"in t&&t.internal)&&t.graphics.some(e=>e.geometry?.type==="polyline")||"geometryType"in t&&t.geometryType==="polyline")return!0;return!!this.view?.graphics?.some(t=>t.geometry?.type==="polyline")}get state(){return this.disabled||!this.ready?"disabled":this._selectingPromise?"selecting":this.operationState==="active"?"creating":this.analysis.valid?this.featureIsSelected?"selected":"created":"ready"}get distanceUnit(){return D(this._userDistanceUnit??this.analysis.displayUnits?.distance??void 0,this.distanceUnitOptions,this._measurementSystem)}set distanceUnit(t){this._userDistanceUnit=t}get distanceUnitOptions(){return P(this._userDistanceUnitOptions)}set distanceUnitOptions(t){this._userDistanceUnitOptions=t}get elevationUnit(){return D(this._userElevationUnit??this.analysis.displayUnits?.elevation??void 0,this.elevationUnitOptions,this._measurementSystem)}set elevationUnit(t){this._userElevationUnit=t}get elevationUnitOptions(){return P(this._userElevationUnitOptions)}set elevationUnitOptions(t){this._userElevationUnitOptions=t}initialize(){this.addHandles([m(()=>({analysis:this.analysis,unitDistance:this.distanceUnit,unitElevation:this.elevationUnit}),({analysis:t,unitDistance:e,unitElevation:i})=>{if(t!=null){let r=t.displayUnits;r.elevation=i,r.distance=e}},{sync:!0,initial:!0}),m(()=>({selectedFeature:this.feature,profiles:this.analysis.profiles.toArray()}),({selectedFeature:t,profiles:e},i)=>{this._highlightSelectedFeature(this.highlightDisabled?void 0:t),this.analysis.viewOptions.geometryVisualizationVisible=!this.highlightDisabled&&t==null;let r=i?.selectedFeature;e.forEach(o=>{switch(o.type){case"scene":this._excludeSelectedFeatureFromProfile(o,t,r);break;case"input":o.chartOptions.lineVisible=t!=null,o.viewOptions.lineVisible=t!=null;break}})},{initial:!0})])}destroy(){this._removeSelectionHighlight()}async select(){let t=this.analysisView;if(!t)return;let e=super.start({operation:async i=>{let r=await t.pickFeature(i);i?.signal?.aborted||(t.interactive=!1,this.feature=r.feature)},clear:!1});e.finally(()=>{this._selectingPromise===e&&(this._selectingPromise=void 0)}),this._selectingPromise=e,await e.catch()}async place(t){await this.analysisView?.place(t)}clearAnalysis(){this.geometry=null,this.elevationInfo=null,this.feature=void 0}constructAnalysis(){return new F}_highlightSelectedFeature(t){this._removeSelectionHighlight();let e=this.view;!e||!t||(this._selectionHighlightTask=f(async i=>await j(e,t,{signal:i})))}_removeSelectionHighlight(){this._selectionHighlightTask?.value?.remove(),this._selectionHighlightTask=B(this._selectionHighlightTask)}_excludeSelectedFeatureFromProfile(t,e,i){let r=new Set(t.exclude??[]);i&&r.delete(i),e&&r.add(e),t.exclude=Array.from(r)}};s([a()],n.prototype,"_userDistanceUnit",2);s([a()],n.prototype,"_userDistanceUnitOptions",2);s([a()],n.prototype,"_userElevationUnit",2);s([a()],n.prototype,"_userElevationUnitOptions",2);s([a({readOnly:!0})],n.prototype,"_measurementSystem",1);s([a()],n.prototype,"_selectingPromise",2);s([a()],n.prototype,"_selectedFeature",2);s([a()],n.prototype,"_selectionHighlightTask",2);s([a()],n.prototype,"_hasSamples",1);s([a()],n.prototype,"doneButtonAvailable",1);s([a({readOnly:!0})],n.prototype,"effectiveDisplayUnits",1);s([a({readOnly:!0})],n.prototype,"errorState",1);s([a()],n.prototype,"feature",1);s([a()],n.prototype,"featureIsSelected",1);s([a({readOnly:!0})],n.prototype,"hasVertices",1);s([a()],n.prototype,"highlightDisabled",2);s([a()],n.prototype,"indicatorRelativePosition",1);s([a()],n.prototype,"geometry",1);s([a()],n.prototype,"elevationInfo",1);s([a()],n.prototype,"profiles",1);s([a({readOnly:!0})],n.prototype,"progress",1);s([a({readOnly:!0})],n.prototype,"results",1);s([a({readOnly:!0})],n.prototype,"selectButtonAvailable",1);s([a({readOnly:!0})],n.prototype,"state",1);s([a()],n.prototype,"uniformChartScaling",2);s([a()],n.prototype,"distanceUnit",1);s([a()],n.prototype,"distanceUnitOptions",1);s([a()],n.prototype,"elevationUnit",1);s([a()],n.prototype,"elevationUnitOptions",1);n=s([A("components.elevation-profile.ElevationProfileViewModel")],n);function D(t,e,i){return t&&e.includes(t)?t:i&&e.includes(i)?i:e[0]}function P(t){let e=t?.filter(i=>_.includes(i));return e&&e.length>0?e:_.slice()}var Q=M(n),y=class extends C{constructor(){super(...arguments),this.viewModel=Q(this),this._messages=U(),this._hideZoomOutButton=!0,this.analysis=this.viewModel.analysis,this.view=this.viewModel.view,this.autoDestroyDisabled=!1,this.effectiveDisplayUnits=this.viewModel.effectiveDisplayUnits,this.feature=this.viewModel.feature,this.hideChart=!1,this.hideClearButton=!1,this.hideLegend=!1,this.hideSelectButton=!1,this.hideSettingsButton=!1,this.hideSketchButton=!1,this.hideUniformChartScalingToggle=!1,this.hideUnitSelector=!1,this.hideVisualization=this.viewModel.hideVisualization,this.highlightDisabled=this.viewModel.highlightDisabled,this.indicatorRelativePosition=this.viewModel.indicatorRelativePosition,this.icon="altitude",this.geometry=this.viewModel.geometry,this.elevationInfo=this.viewModel.elevationInfo,this.profiles=this.viewModel.profiles,this.progress=this.viewModel.progress,this.state=this.viewModel.state,this.uniformChartScaling=this.viewModel.uniformChartScaling,this.distanceUnit=this.viewModel.distanceUnit,this.distanceUnitOptions=this.viewModel.distanceUnitOptions,this.elevationUnit=this.viewModel.elevationUnit,this.elevationUnitOptions=this.viewModel.elevationUnitOptions,this.arcgisPropertyChange=k()("analysis","effectiveDisplayUnits","elevationInfo","feature","geometry","indicatorRelativePosition","progress","state"),this.arcgisReady=b()}static{this.properties={_hideZoomOutButton:16,_chartContainer:16,analysis:0,view:0,autoDestroyDisabled:5,effectiveDisplayUnits:32,feature:0,hideChart:5,hideClearButton:5,hideLegend:5,hideSelectButton:5,hideSettingsButton:5,hideSketchButton:5,hideUniformChartScalingToggle:5,hideUnitSelector:5,hideVisualization:5,highlightDisabled:5,indicatorRelativePosition:40,icon:2,geometry:0,elevationInfo:0,label:1,messageOverrides:0,referenceElement:1,profiles:0,progress:40,state:3,uniformChartScaling:5,distanceUnit:1,distanceUnitOptions:0,elevationUnit:1,elevationUnitOptions:0}}static{this.styles=T}get _selectButtonVisible(){return!this.hideSelectButton&&this.viewModel.selectButtonAvailable}get _chart(){return this._chartInitializationTask?.value}async destroy(){await this.manager.destroy()}async select(){V(this.viewModel.select())}async start(){V(this.viewModel.start())}async stop(){this.viewModel.stop()}async clear(){this.viewModel.clear()}load(){this.manager.onLifecycle(()=>[m(()=>({container:this._chartContainer}),({container:e})=>{this._destroyChart(),e&&(this._chartInitializationTask=f(async i=>await I({view:this.viewModel.view,analysisView:this.viewModel.analysisView,container:e,messages:this._messages,signal:i,uniformScaling:this.viewModel.uniformChartScaling,onRangeChange:(r,o)=>{this._hideZoomOutButton=r===1&&o===1},onCursorPositionChange:(r,o)=>{let{analysisView:c}=this.viewModel;c&&(c.indicatorRelativePosition=r)}})))},{sync:!0,initial:!0}),m(()=>({chart:this._chart,view:this.viewModel.view,analysisView:this.viewModel.analysisView,uniformScaling:this.viewModel.uniformChartScaling}),({chart:e,view:i,analysisView:r,uniformScaling:o})=>{e&&(e.view=i,e.analysisView=r,e.uniformScaling=o)},{sync:!0,initial:!0}),{remove:()=>this._destroyChart()}])}_destroyChart(){let e=this._chart;this._chartInitializationTask?.abort(),this._chartInitializationTask=void 0,e?.destroy()}_onCancelButtonClick(){this.viewModel.stop(),this.viewModel.clear()}_onDoneButtonClick(){this.viewModel.stop()}_getErrorMessage(){let e=W[this.viewModel.errorState];return e?this._messages?.errors?.[e]:void 0}_onClearButtonClick(){this.viewModel.clear()}_onZoomOutButtonClick(){this._chart?.zoomOut()}_onChartContainerRef(e){this._chartContainer=e}render(){return l`<div aria-label=${this._messages.componentLabel??g} class=${v({container:!0,[u.widget]:!0,[u.widgetDisabled]:this.viewModel.state==="disabled",[u.panel]:!0})} role=presentation>${this._renderContentForState()}</div>`}_renderContentForState(){switch(this.viewModel.state){case"ready":return this._renderContentForReadyState();case"selecting":return this._renderContentForSelectingState();case"creating":return this._renderContentForCreatingState();case"selected":return this._renderContentForSelectedState();case"created":return this._renderContentForCreatedState();case"disabled":return this._renderContentForReadyState()}}_renderContentForReadyState(){let{_messages:e,hideSelectButton:i,hideSketchButton:r}=this,{selectButtonAvailable:o}=this.viewModel,c=!i&&o,d;return!r&&c?d=e.readyPrompt:r?c?d=e.readyPromptSelectOnly:d=e.errors?.noProfile:d=e.readyPromptCreateOnly,this._renderContent({prompt:d,chart:!1,actions:p})}_renderContentForSelectingState(){let{view:e}=this.viewModel;if(!e)return;let i=this._messages[`selectingPrompt-${e.type}`];return this._renderContent({prompt:i,chart:!1,actions:[{type:"select-cancel"}]})}_renderContentForCreatingState(){let{viewModel:e}=this,{view:i}=e;if(!i)return;let r=e.hasVertices?[{type:"sketch-cancel"},{type:"sketch-done",disabled:!e.doneButtonAvailable}]:[{type:"select"},{type:"sketch",disabled:!0}];if(e.errorState==="no-valid-input"){let c=this._messages[`creatingPrompt-${i.type}`];return this._renderContent({chart:!1,actions:r,prompt:c})}let o=this._getErrorMessage();return o?this._renderContent({chart:!1,actions:r,prompt:o}):this._renderContent({chart:!0,actions:r})}_renderContentForSelectedState(){let e=this._getErrorMessage();return e?this._renderContent({chart:!1,actions:p,prompt:e}):this._renderContent({chart:!0,actions:p})}_renderContentForCreatedState(){let e=this._getErrorMessage();return e?this._renderContent({chart:!1,actions:p,prompt:e}):this._renderContent({chart:!0,actions:p})}_renderContent(e){let{viewModel:i}=this,r=i.geometry!=null;return l`<header class="header">${h({hidden:this._hideZoomOutButton,children:this._renderZoomOutButton()})}${h({hidden:this.hideClearButton||!r,children:this._renderClearButton()})}${h({hidden:this.hideSettingsButton,children:this._renderSettingsButton()})}</header><div class="main-container">${e.prompt!=null?this._renderPrompt(e.prompt):e.chart?this._renderChart():void 0}</div>${h({hidden:this.hideLegend,children:this._renderLegend()})}${this._renderActions(e)}`}_renderPrompt(e){return[l`<div class="prompt-container"><p class="prompt-message">${e}</p></div>`]}_renderZoomOutButton(){let e=this._messages.zoomOut??"";return l`<calcite-action icon=magnifying-glass-minus @click=${this._onZoomOutButtonClick} .text=${e} title=${e??g}></calcite-action>`}_renderChart(){if(this.hideChart)return;let e=this._chart;return l`${this._renderSpinner({size:e?.chartVisible?"small":"large",visible:e?.spinnerVisible??!1})}<div class="chart-container" ${x(this._onChartContainerRef)}></div>`}_renderSpinner(e){let i=e.size==="small",r=e.visible??!0;return l`<calcite-loader class=${v({spinner:!0,small:i,visible:r})} .inline=${i} label></calcite-loader>`}_renderClearButton(){let e=this._messages.clearProfile??"";return l`<calcite-action icon=trash @click=${this._onClearButtonClick} .text=${e} title=${e??g}></calcite-action>`}_renderLegend(){return l`<arcgis-elevation-profile-legend .effectiveDisplayUnits=${this.viewModel.effectiveDisplayUnits} .featureSelected=${this.viewModel.featureIsSelected} .messages=${this._messages} .results=${this.viewModel.results}></arcgis-elevation-profile-legend>`}_renderSettingsButton(){return l`<arcgis-elevation-profile-settings .analysis=${this.viewModel.analysis} .hideUniformChartScalingToggle=${this.hideUniformChartScalingToggle} .hideUnitSelector=${this.hideUnitSelector} .messages=${this._messages} .uniformChartScaling=${this.viewModel.uniformChartScaling} .unitOptionsDistance=${this.viewModel.distanceUnitOptions} .unitOptionsElevation=${this.viewModel.elevationUnitOptions} @arcgisElevationProfileSettingsUniformChartScalingChange=${e=>{this.viewModel.uniformChartScaling=e.detail}}></arcgis-elevation-profile-settings>`}_renderActions({actions:e}){let i=this._messages,r=e.map(o=>{switch(o.type){case"sketch":return h({hidden:this.hideSketchButton,children:this._renderAction({action:o,label:i.sketchButtonLabel,primary:!0,onClick:()=>void this.start()})});case"sketch-cancel":return h({hidden:this.hideSketchButton,children:this._renderAction({action:o,label:i.cancelButtonLabel,primary:!1,onClick:this._onCancelButtonClick})});case"sketch-done":return h({hidden:this.hideSketchButton,children:this._renderAction({action:o,label:i.doneButtonLabel,primary:!0,onClick:this._onDoneButtonClick})});case"select":return h({hidden:!this._selectButtonVisible,children:this._renderAction({action:o,label:i.selectButtonLabel,primary:!1,onClick:()=>void this.select()})});case"select-cancel":return h({hidden:!this._selectButtonVisible,children:this._renderAction({action:o,label:i.cancelButtonLabel,primary:!1,onClick:this._onCancelButtonClick})});default:return}}).filter(Boolean);return r.length?l`<footer class="actions">${r}</footer>`:void 0}_renderAction({action:e,label:i,onClick:r,primary:o}){return l`<calcite-button .appearance=${o?"solid":"outline-fill"} class="action-button" .disabled=${e.disabled||void 0} @click=${r}>${i}</calcite-button>`}};function h(t){return t.hidden?void 0:t.children}var p=[{type:"select"},{type:"sketch"}],W={none:void 0,"no-valid-input":"noProfile","no-available-profiles":"noProfile","too-complex":"tooComplex",unknown:"unknown"};S("arcgis-elevation-profile",y);return y},"core/promiseUtils","analysis/ElevationProfileAnalysis","applications/Components/getDefaultUnits","core/accessorSupport/decorators","core/reactiveUtils","applications/Components/analysisUtils",a,c,d,e,f)
@@ -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.112 */
3
+ v5.0.0-next.113 */
4
4
  var n=(e,o=100)=>{let t;return(...c)=>{let i=()=>{clearTimeout(t),e(...c)};clearTimeout(t),t=setTimeout(i,o)}};export{n 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.112 */
4
- import{a as c}from"./J673QGJU.js";import{a as s}from"./2PPCEXUK.js";import{N as p,O as g,T as u,a as m,b as i}from"./XJLMKLXL.js";import"./25TVKQGR.js";var b=m`:host{--calcite-label-margin-bottom: 0;gap:var(--calcite-spacing-md);flex-direction:column;display:flex}.label{display:block}.discrete-label-text{font-weight:var(--calcite-font-weight-medium);opacity:var(--calcite-opacity-disabled)}.label-open{&:not(.label-empty){margin-bottom:var(--calcite-spacing-xs)}.discrete-label-text{opacity:1}}arcgis-shadow-cast-discrete-config{padding:0 var(--calcite-spacing-xs)}`,d=class extends p{constructor(){super(...arguments),this.scale="s",this.minMinDuration=0,this.maxMinDuration=c(8,"hours","milliseconds"),this.hideColorPicker=!1,this.hideSlider=!1,this.hideContextOptions=!1,this.hideContextToggle=!1,this.hideContextColorPicker=!1,this.hideContextInterval=!1}static{this.properties={options:0,scale:1,minMinDuration:9,maxMinDuration:9,messages:0,hideColorPicker:5,hideSlider:5,hideContextOptions:5,hideContextToggle:5,hideContextColorPicker:5,hideContextInterval:5}}static{this.styles=b}render(){let{options:o,scale:t}=this,e=this.messages?.minDuration;return i`${s({hidden:this.hideSlider,children:i`<calcite-label .scale=${t}>${e?.minDurationLabel}<calcite-slider fill-placement=end label-ticks .min=${r(this.minMinDuration)} .max=${r(this.maxMinDuration)} .value=${r(o.minDuration)} snap step=0.5 .scale=${t} ticks=1 @calciteSliderInput=${a=>{o.minDuration=f(a.currentTarget.value)}}></calcite-slider></calcite-label>`})}${s({hidden:this.hideColorPicker,children:i`<arcgis-color-select .color=${this.options.color} .label=${e?.colorLabel} @arcgisColorChanged=${a=>{o.color=a.detail}}></arcgis-color-select>`})}${s({hidden:this.hideContextOptions,children:this._renderContextOptions()})}`}_renderContextOptions(){let{options:o,scale:t}=this,e=o.contextEnabled,a=this.messages?.minDuration,l=!this.hideContextToggle,x=!this.hideContextColorPicker,C=!this.hideContextInterval,h=x||C;if(!(!l&&(!e||!h)))return i`<div><calcite-label class=${g({label:!0,"label-open":e,"label-empty":!h})} .layout=${l?"inline-space-between":"default"} .scale=${t}><span class="discrete-label-text">${a?.discreteLabel??"foo"}</span>${s({hidden:!l,children:i`<calcite-switch .checked=${e} .scale=${t} @calciteSwitchChange=${$=>{this.options.contextEnabled=$.target.checked}}></calcite-switch>`})}</calcite-label>${s({hidden:!e,children:i`<arcgis-shadow-cast-discrete-config .hideColorPicker=${this.hideContextColorPicker} .hideInterval=${this.hideContextInterval} .messages=${this.messages} .options=${this.options.contextOptions} .scale=${t}></arcgis-shadow-cast-discrete-config>`})}</div>`}};function r(n){return c(n,"milliseconds","hours")}function f(n){return Math.round(c(n,"hours","milliseconds"))}u("arcgis-shadow-cast-min-duration-config",d);export{d as ArcgisShadowCastMinDurationConfig};
3
+ v5.0.0-next.113 */
4
+ import{a as c}from"./L5C7OWS3.js";import{a as s}from"./P2QHZLMW.js";import{N as p,O as g,T as u,a as m,b as i}from"./RILBE66Z.js";import"./HFWJBUUX.js";var b=m`:host{--calcite-label-margin-bottom: 0;gap:var(--calcite-spacing-md);flex-direction:column;display:flex}.label{display:block}.discrete-label-text{font-weight:var(--calcite-font-weight-medium);opacity:var(--calcite-opacity-disabled)}.label-open{&:not(.label-empty){margin-bottom:var(--calcite-spacing-xs)}.discrete-label-text{opacity:1}}arcgis-shadow-cast-discrete-config{padding:0 var(--calcite-spacing-xs)}`,d=class extends p{constructor(){super(...arguments),this.scale="s",this.minMinDuration=0,this.maxMinDuration=c(8,"hours","milliseconds"),this.hideColorPicker=!1,this.hideSlider=!1,this.hideContextOptions=!1,this.hideContextToggle=!1,this.hideContextColorPicker=!1,this.hideContextInterval=!1}static{this.properties={options:0,scale:1,minMinDuration:9,maxMinDuration:9,messages:0,hideColorPicker:5,hideSlider:5,hideContextOptions:5,hideContextToggle:5,hideContextColorPicker:5,hideContextInterval:5}}static{this.styles=b}render(){let{options:o,scale:t}=this,e=this.messages?.minDuration;return i`${s({hidden:this.hideSlider,children:i`<calcite-label .scale=${t}>${e?.minDurationLabel}<calcite-slider fill-placement=end label-ticks .min=${r(this.minMinDuration)} .max=${r(this.maxMinDuration)} .value=${r(o.minDuration)} snap step=0.5 .scale=${t} ticks=1 @calciteSliderInput=${a=>{o.minDuration=f(a.currentTarget.value)}}></calcite-slider></calcite-label>`})}${s({hidden:this.hideColorPicker,children:i`<arcgis-color-select .color=${this.options.color} .label=${e?.colorLabel} @arcgisColorChanged=${a=>{o.color=a.detail}}></arcgis-color-select>`})}${s({hidden:this.hideContextOptions,children:this._renderContextOptions()})}`}_renderContextOptions(){let{options:o,scale:t}=this,e=o.contextEnabled,a=this.messages?.minDuration,l=!this.hideContextToggle,x=!this.hideContextColorPicker,C=!this.hideContextInterval,h=x||C;if(!(!l&&(!e||!h)))return i`<div><calcite-label class=${g({label:!0,"label-open":e,"label-empty":!h})} .layout=${l?"inline-space-between":"default"} .scale=${t}><span class="discrete-label-text">${a?.discreteLabel??"foo"}</span>${s({hidden:!l,children:i`<calcite-switch .checked=${e} .scale=${t} @calciteSwitchChange=${$=>{this.options.contextEnabled=$.target.checked}}></calcite-switch>`})}</calcite-label>${s({hidden:!e,children:i`<arcgis-shadow-cast-discrete-config .hideColorPicker=${this.hideContextColorPicker} .hideInterval=${this.hideContextInterval} .messages=${this.messages} .options=${this.options.contextOptions} .scale=${t}></arcgis-shadow-cast-discrete-config>`})}</div>`}};function r(n){return c(n,"milliseconds","hours")}function f(n){return Math.round(c(n,"hours","milliseconds"))}u("arcgis-shadow-cast-min-duration-config",d);export{d as ArcgisShadowCastMinDurationConfig};
@@ -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.112 */
4
- import"./25TVKQGR.js";var o={_decimalSeparator:",",_thousandSeparator:" ",_percentPrefix:null,_percentSuffix:"%",_big_number_suffix_3:"k",_big_number_suffix_6:"M",_big_number_suffix_9:"G",_big_number_suffix_12:"T",_big_number_suffix_15:"P",_big_number_suffix_18:"E",_big_number_suffix_21:"Z",_big_number_suffix_24:"Y",_small_number_suffix_3:"m",_small_number_suffix_6:"\u03BC",_small_number_suffix_9:"n",_small_number_suffix_12:"p",_small_number_suffix_15:"f",_small_number_suffix_18:"a",_small_number_suffix_21:"z",_small_number_suffix_24:"y",_byte_suffix_B:"B",_byte_suffix_KB:"KB",_byte_suffix_MB:"MB",_byte_suffix_GB:"GB",_byte_suffix_TB:"TB",_byte_suffix_PB:"PB",_date_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_millisecond_second:"ss.SSS",_duration_millisecond_minute:"mm:ss SSS",_duration_millisecond_hour:"hh:mm:ss SSS",_duration_millisecond_day:"d'd' mm:ss SSS",_duration_millisecond_week:"d'd' mm:ss SSS",_duration_millisecond_month:"M'm' dd'd' mm:ss SSS",_duration_millisecond_year:"y'y' MM'm' dd'd' mm:ss SSS",_duration_second:"ss",_duration_second_minute:"mm:ss",_duration_second_hour:"hh:mm:ss",_duration_second_day:"d'd' hh:mm:ss",_duration_second_week:"d'd' hh:mm:ss",_duration_second_month:"M'm' dd'd' hh:mm:ss",_duration_second_year:"y'y' MM'm' dd'd' hh:mm:ss",_duration_minute:"mm",_duration_minute_hour:"hh:mm",_duration_minute_day:"d'd' hh:mm",_duration_minute_week:"d'd' hh:mm",_duration_minute_month:"M'm' dd'd' hh:mm",_duration_minute_year:"y'y' MM'm' dd'd' hh:mm",_duration_hour:"hh'h'",_duration_hour_day:"d'd' hh'h'",_duration_hour_week:"d'd' hh'h'",_duration_hour_month:"M'm' dd'd' hh'h'",_duration_hour_year:"y'y' MM'm' dd'd' hh'h'",_duration_day:"d'd'",_duration_day_week:"d'd'",_duration_day_month:"M'm' dd'd'",_duration_day_year:"y'y' MM'm' dd'd'",_duration_week:"w'w'",_duration_week_month:"w'w'",_duration_week_year:"w'w'",_duration_month:"M'm'",_duration_month_year:"y'y' MM'm'",_duration_year:"y'y'",_era_ad:"AD",_era_bc:"BC",A:"A",P:"P",AM:"AM",PM:"PM","A.M.":"A.M.","P.M.":"P.M.",January:"Janvier",February:"F\xE9vrier",March:"Mars",April:"Avril",May:"Mai",June:"Juin",July:"Juillet",August:"Ao\xFBt",September:"Septembre",October:"Octobre",November:"Novembre",December:"D\xE9cembre",Jan:"Jan",Feb:"F\xE9v",Mar:"Mar",Apr:"Avr","May(short)":"Mai",Jun:"Jui",Jul:"Jul",Aug:"Ao\xFB",Sep:"Sep",Oct:"Oct",Nov:"Nov",Dec:"D\xE9c",Sunday:"Dimanche",Monday:"Lundi",Tuesday:"Mardi",Wednesday:"Mercredi",Thursday:"Jeudi",Friday:"Vendredi",Saturday:"Samedi",Sun:"Dim",Mon:"Lun",Tue:"Mar",Wed:"Mer",Thu:"Jeu",Fri:"Ven",Sat:"Sam",_dateOrd:function(e){let r="e";if(e<11||e>13)switch(e%10){case 1:r="er";break}return r},"Zoom Out":"Zoom Arri\xE8re",Play:"Joue",Stop:"Arr\xEAte",Legend:"L\xE9gende","Press ENTER to toggle":"cliquez, appuyez ou appuyez sur entr\xE9e pour basculer",Loading:"Charger",Home:"Accueil",Chart:"Graphique","Serial chart":"Graphique s\xE9rial","X/Y chart":"Graphique X/Y","Pie chart":"Camembert","Gauge chart":"Jauge graphique","Radar chart":"Carte radar","Sankey diagram":"Graphique Sankey","Flow diagram":"repr\xE9sentation sch\xE9matique","Chord diagram":"diagramme d'accord","TreeMap chart":"carte de l'arbre","Sliced chart":"graphique en tranches",Series:"S\xE9ries","Candlestick Series":"S\xE9ries chandelier","OHLC Series":"S\xE9ries OHLC","Column Series":"S\xE9ries de colonnes","Line Series":"S\xE9rie de lignes","Pie Slice Series":"Tarte tranche S\xE9ries","Funnel Series":"S\xE9ries d'entonnoir","Pyramid Series":"S\xE9ries pyramidale","X/Y Series":"S\xE9ries X/Y",Map:"Mappe","Press ENTER to zoom in":"Appuyez sur ENTER pour zoomer","Press ENTER to zoom out":"Appuyez sur ENTER pour effectuer un zoom arri\xE8re","Use arrow keys to zoom in and out":"Utilisez les touches fl\xE9ch\xE9es pour zoomer et d\xE9zoomer","Use plus and minus keys on your keyboard to zoom in and out":"Utilisez les touches plus et moins de votre clavier pour effectuer un zoom avant ou arri\xE8re",Export:"Exporter",Image:"Image",Data:"Data",Print:"Imprimer","Press ENTER to open":"Cliquez, appuyez ou appuyez sur ENTER pour ouvrir","Press ENTER to print.":"Cliquez, appuyez ou appuyez sur ENTER pour imprimer","Press ENTER to export as %1.":"Cliquez, appuyez ou appuyez sur ENTER pour exporter comme %1","(Press ESC to close this message)":"(Appuyez sur ESC pour fermer ce message)","Image Export Complete":"Exportation d'image termin\xE9e","Export operation took longer than expected. Something might have gone wrong.":"L'exportation a pris plus de temps que pr\xE9vu. Quelque chose aurait mal tourn\xE9.","Saved from":"Enregistr\xE9 de",PNG:"",JPG:"",GIF:"",SVG:"",PDF:"",JSON:"",CSV:"",XLSX:"",HTML:"","Use TAB to select grip buttons or left and right arrows to change selection":"Utilisez la touche TAB pour s\xE9lectionner les boutons des poign\xE9es ou les fl\xE8ches gauche et droite pour modifier la s\xE9lection.","Use left and right arrows to move selection":"Utilisez les fl\xE8ches gauche et droite pour d\xE9placer la s\xE9lection","Use left and right arrows to move left selection":"Utilisez les fl\xE8ches gauche et droite pour d\xE9placer la s\xE9lection gauche","Use left and right arrows to move right selection":"Utilisez les fl\xE8ches gauche et droite pour d\xE9placer la s\xE9lection droite","Use TAB select grip buttons or up and down arrows to change selection":"Utilisez les boutons de s\xE9lection TAB ou les fl\xE8ches vers le haut et le bas pour modifier la s\xE9lection.","Use up and down arrows to move selection":"Utilisez les fl\xE8ches haut et bas pour d\xE9placer la s\xE9lection","Use up and down arrows to move lower selection":"Utilisez les fl\xE8ches haut et bas pour d\xE9placer la s\xE9lection inf\xE9rieure","Use up and down arrows to move upper selection":"Utilisez les fl\xE8ches haut et bas pour d\xE9placer la s\xE9lection sup\xE9rieure","From %1 to %2":"De %1 \xE0 %2","From %1":"De %1","To %1":"\xE0 %1","No parser available for file: %1":"Aucun analyseur disponible pour le fichier: %1","Error parsing file: %1":"Erreur d'analyse du fichier: %1","Unable to load file: %1":"Impossible de charger le fichier: %1","Invalid date":"Date invalide",Close:"",Minimize:"",Confirm:""};export{o as default};
3
+ v5.0.0-next.113 */
4
+ import"./HFWJBUUX.js";var o={_decimalSeparator:",",_thousandSeparator:" ",_percentPrefix:null,_percentSuffix:"%",_big_number_suffix_3:"k",_big_number_suffix_6:"M",_big_number_suffix_9:"G",_big_number_suffix_12:"T",_big_number_suffix_15:"P",_big_number_suffix_18:"E",_big_number_suffix_21:"Z",_big_number_suffix_24:"Y",_small_number_suffix_3:"m",_small_number_suffix_6:"\u03BC",_small_number_suffix_9:"n",_small_number_suffix_12:"p",_small_number_suffix_15:"f",_small_number_suffix_18:"a",_small_number_suffix_21:"z",_small_number_suffix_24:"y",_byte_suffix_B:"B",_byte_suffix_KB:"KB",_byte_suffix_MB:"MB",_byte_suffix_GB:"GB",_byte_suffix_TB:"TB",_byte_suffix_PB:"PB",_date_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_millisecond_second:"ss.SSS",_duration_millisecond_minute:"mm:ss SSS",_duration_millisecond_hour:"hh:mm:ss SSS",_duration_millisecond_day:"d'd' mm:ss SSS",_duration_millisecond_week:"d'd' mm:ss SSS",_duration_millisecond_month:"M'm' dd'd' mm:ss SSS",_duration_millisecond_year:"y'y' MM'm' dd'd' mm:ss SSS",_duration_second:"ss",_duration_second_minute:"mm:ss",_duration_second_hour:"hh:mm:ss",_duration_second_day:"d'd' hh:mm:ss",_duration_second_week:"d'd' hh:mm:ss",_duration_second_month:"M'm' dd'd' hh:mm:ss",_duration_second_year:"y'y' MM'm' dd'd' hh:mm:ss",_duration_minute:"mm",_duration_minute_hour:"hh:mm",_duration_minute_day:"d'd' hh:mm",_duration_minute_week:"d'd' hh:mm",_duration_minute_month:"M'm' dd'd' hh:mm",_duration_minute_year:"y'y' MM'm' dd'd' hh:mm",_duration_hour:"hh'h'",_duration_hour_day:"d'd' hh'h'",_duration_hour_week:"d'd' hh'h'",_duration_hour_month:"M'm' dd'd' hh'h'",_duration_hour_year:"y'y' MM'm' dd'd' hh'h'",_duration_day:"d'd'",_duration_day_week:"d'd'",_duration_day_month:"M'm' dd'd'",_duration_day_year:"y'y' MM'm' dd'd'",_duration_week:"w'w'",_duration_week_month:"w'w'",_duration_week_year:"w'w'",_duration_month:"M'm'",_duration_month_year:"y'y' MM'm'",_duration_year:"y'y'",_era_ad:"AD",_era_bc:"BC",A:"A",P:"P",AM:"AM",PM:"PM","A.M.":"A.M.","P.M.":"P.M.",January:"Janvier",February:"F\xE9vrier",March:"Mars",April:"Avril",May:"Mai",June:"Juin",July:"Juillet",August:"Ao\xFBt",September:"Septembre",October:"Octobre",November:"Novembre",December:"D\xE9cembre",Jan:"Jan",Feb:"F\xE9v",Mar:"Mar",Apr:"Avr","May(short)":"Mai",Jun:"Jui",Jul:"Jul",Aug:"Ao\xFB",Sep:"Sep",Oct:"Oct",Nov:"Nov",Dec:"D\xE9c",Sunday:"Dimanche",Monday:"Lundi",Tuesday:"Mardi",Wednesday:"Mercredi",Thursday:"Jeudi",Friday:"Vendredi",Saturday:"Samedi",Sun:"Dim",Mon:"Lun",Tue:"Mar",Wed:"Mer",Thu:"Jeu",Fri:"Ven",Sat:"Sam",_dateOrd:function(e){let r="e";if(e<11||e>13)switch(e%10){case 1:r="er";break}return r},"Zoom Out":"Zoom Arri\xE8re",Play:"Joue",Stop:"Arr\xEAte",Legend:"L\xE9gende","Press ENTER to toggle":"cliquez, appuyez ou appuyez sur entr\xE9e pour basculer",Loading:"Charger",Home:"Accueil",Chart:"Graphique","Serial chart":"Graphique s\xE9rial","X/Y chart":"Graphique X/Y","Pie chart":"Camembert","Gauge chart":"Jauge graphique","Radar chart":"Carte radar","Sankey diagram":"Graphique Sankey","Flow diagram":"repr\xE9sentation sch\xE9matique","Chord diagram":"diagramme d'accord","TreeMap chart":"carte de l'arbre","Sliced chart":"graphique en tranches",Series:"S\xE9ries","Candlestick Series":"S\xE9ries chandelier","OHLC Series":"S\xE9ries OHLC","Column Series":"S\xE9ries de colonnes","Line Series":"S\xE9rie de lignes","Pie Slice Series":"Tarte tranche S\xE9ries","Funnel Series":"S\xE9ries d'entonnoir","Pyramid Series":"S\xE9ries pyramidale","X/Y Series":"S\xE9ries X/Y",Map:"Mappe","Press ENTER to zoom in":"Appuyez sur ENTER pour zoomer","Press ENTER to zoom out":"Appuyez sur ENTER pour effectuer un zoom arri\xE8re","Use arrow keys to zoom in and out":"Utilisez les touches fl\xE9ch\xE9es pour zoomer et d\xE9zoomer","Use plus and minus keys on your keyboard to zoom in and out":"Utilisez les touches plus et moins de votre clavier pour effectuer un zoom avant ou arri\xE8re",Export:"Exporter",Image:"Image",Data:"Data",Print:"Imprimer","Press ENTER to open":"Cliquez, appuyez ou appuyez sur ENTER pour ouvrir","Press ENTER to print.":"Cliquez, appuyez ou appuyez sur ENTER pour imprimer","Press ENTER to export as %1.":"Cliquez, appuyez ou appuyez sur ENTER pour exporter comme %1","(Press ESC to close this message)":"(Appuyez sur ESC pour fermer ce message)","Image Export Complete":"Exportation d'image termin\xE9e","Export operation took longer than expected. Something might have gone wrong.":"L'exportation a pris plus de temps que pr\xE9vu. Quelque chose aurait mal tourn\xE9.","Saved from":"Enregistr\xE9 de",PNG:"",JPG:"",GIF:"",SVG:"",PDF:"",JSON:"",CSV:"",XLSX:"",HTML:"","Use TAB to select grip buttons or left and right arrows to change selection":"Utilisez la touche TAB pour s\xE9lectionner les boutons des poign\xE9es ou les fl\xE8ches gauche et droite pour modifier la s\xE9lection.","Use left and right arrows to move selection":"Utilisez les fl\xE8ches gauche et droite pour d\xE9placer la s\xE9lection","Use left and right arrows to move left selection":"Utilisez les fl\xE8ches gauche et droite pour d\xE9placer la s\xE9lection gauche","Use left and right arrows to move right selection":"Utilisez les fl\xE8ches gauche et droite pour d\xE9placer la s\xE9lection droite","Use TAB select grip buttons or up and down arrows to change selection":"Utilisez les boutons de s\xE9lection TAB ou les fl\xE8ches vers le haut et le bas pour modifier la s\xE9lection.","Use up and down arrows to move selection":"Utilisez les fl\xE8ches haut et bas pour d\xE9placer la s\xE9lection","Use up and down arrows to move lower selection":"Utilisez les fl\xE8ches haut et bas pour d\xE9placer la s\xE9lection inf\xE9rieure","Use up and down arrows to move upper selection":"Utilisez les fl\xE8ches haut et bas pour d\xE9placer la s\xE9lection sup\xE9rieure","From %1 to %2":"De %1 \xE0 %2","From %1":"De %1","To %1":"\xE0 %1","No parser available for file: %1":"Aucun analyseur disponible pour le fichier: %1","Error parsing file: %1":"Erreur d'analyse du fichier: %1","Unable to load file: %1":"Impossible de charger le fichier: %1","Invalid date":"Date invalide",Close:"",Minimize:"",Confirm:""};export{o as default};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.112 */
4
- import"./25TVKQGR.js";var r={_decimalSeparator:".",_thousandSeparator:",",_percentPrefix:null,_percentSuffix:"%",_big_number_suffix_3:"k",_big_number_suffix_6:"M",_big_number_suffix_9:"G",_big_number_suffix_12:"T",_big_number_suffix_15:"P",_big_number_suffix_18:"E",_big_number_suffix_21:"Z",_big_number_suffix_24:"Y",_small_number_suffix_3:"m",_small_number_suffix_6:"\u03BC",_small_number_suffix_9:"n",_small_number_suffix_12:"p",_small_number_suffix_15:"f",_small_number_suffix_18:"a",_small_number_suffix_21:"z",_small_number_suffix_24:"y",_byte_suffix_B:"B",_byte_suffix_KB:"KB",_byte_suffix_MB:"MB",_byte_suffix_GB:"GB",_byte_suffix_TB:"TB",_byte_suffix_PB:"PB",_date:"yyyy-MM-dd",_date_millisecond:"mm:ss SSS",_date_millisecond_full:"HH:mm:ss SSS",_date_second:"HH:mm:ss",_date_second_full:"HH:mm:ss",_date_minute:"HH:mm",_date_minute_full:"HH:mm - MMM dd, yyyy",_date_hour:"HH:mm",_date_hour_short:"HH",_date_hour_full:"HH:mm - MMM dd, yyyy",_date_day:"MMM dd",_date_day_full:"MMM dd, yyyy",_date_week:"ww",_date_week_full:"MMM dd, yyyy",_date_month:"MMM",_date_month_full:"MMM, yyyy",_date_year:"yyyy",_duration_millisecond:"SSS",_duration_millisecond_second:"ss.SSS",_duration_millisecond_minute:"mm:ss SSS",_duration_millisecond_hour:"hh:mm:ss SSS",_duration_millisecond_day:"d'd' mm:ss SSS",_duration_millisecond_week:"d'd' mm:ss SSS",_duration_millisecond_month:"M'm' dd'd' mm:ss SSS",_duration_millisecond_year:"y'y' MM'm' dd'd' mm:ss SSS",_duration_second:"ss",_duration_second_minute:"mm:ss",_duration_second_hour:"hh:mm:ss",_duration_second_day:"d'd' hh:mm:ss",_duration_second_week:"d'd' hh:mm:ss",_duration_second_month:"M'm' dd'd' hh:mm:ss",_duration_second_year:"y'y' MM'm' dd'd' hh:mm:ss",_duration_minute:"mm",_duration_minute_hour:"hh:mm",_duration_minute_day:"d'd' hh:mm",_duration_minute_week:"d'd' hh:mm",_duration_minute_month:"M'm' dd'd' hh:mm",_duration_minute_year:"y'y' MM'm' dd'd' hh:mm",_duration_hour:"hh'h'",_duration_hour_day:"d'd' hh'h'",_duration_hour_week:"d'd' hh'h'",_duration_hour_month:"M'm' dd'd' hh'h'",_duration_hour_year:"y'y' MM'm' dd'd' hh'h'",_duration_day:"d'd'",_duration_day_week:"d'd'",_duration_day_month:"M'm' dd'd'",_duration_day_year:"y'y' MM'm' dd'd'",_duration_week:"w'w'",_duration_week_month:"w'w'",_duration_week_year:"w'w'",_duration_month:"M'm'",_duration_month_year:"y'y' MM'm'",_duration_year:"y'y'",_era_ad:"AD",_era_bc:"BC",A:"AM",P:"PM",AM:"AM",PM:"PM","A.M.":"\uC624\uC804","P.M.":"\uC624\uD6C4",January:"1\uC6D4",February:"2\uC6D4",March:"3\uC6D4",April:"4\uC6D4",May:"5\uC6D4",June:"6\uC6D4",July:"7\uC6D4",August:"8\uC6D4",September:"9\uC6D4",October:"10\uC6D4",November:"11\uC6D4",December:"12\uC6D4",Jan:"1\uC6D4",Feb:"2\uC6D4",Mar:"3\uC6D4",Apr:"4\uC6D4","May(short)":"5\uC6D4",Jun:"6\uC6D4",Jul:"7\uC6D4",Aug:"8\uC6D4",Sep:"9\uC6D4",Oct:"10\uC6D4",Nov:"11\uC6D4",Dec:"12\uC6D4",Sunday:"\uC77C\uC694\uC77C",Monday:"\uC6D4\uC694\uC77C",Tuesday:"\uD654\uC694\uC77C",Wednesday:"\uC218\uC694\uC77C",Thursday:"\uBAA9\uC694\uC77C",Friday:"\uAE08\uC694\uC77C",Saturday:"\uD1A0\uC694\uC77C",Sun:"\uC77C",Mon:"\uC6D4",Tue:"\uD654",Wed:"\uC218",Thu:"\uBAA9",Fri:"\uAE08",Sat:"\uD1A0",_dateOrd:function(_){let e="\uC77C";if(_<11||_>13)switch(_%10){case 1:e="\uC77C";break;case 2:e="\uC77C";break;case 3:e="\uC77C";break}return e},"Zoom Out":"\uCD95\uC18C",Play:"\uC2DC\uC791",Stop:"\uC815\uC9C0",Legend:"\uBC94\uB840","Press ENTER to toggle":"\uCF1C\uACE0 \uB044\uB824\uBA74 \uD074\uB9AD, \uD0ED \uD639\uC740 \uC5D4\uD130\uB97C \uB20C\uB7EC\uC8FC\uC138\uC694.",Loading:"\uBD88\uB7EC\uC624\uB294 \uC911",Home:"\uD648",Chart:"\uCC28\uD2B8","Serial chart":"\uC2DC\uB9AC\uC5BC \uCC28\uD2B8","X/Y chart":"X/Y \uCC28\uD2B8","Pie chart":"\uD30C\uC774 \uCC28\uD2B8","Gauge chart":"\uAC8C\uC774\uC9C0 \uCC28\uD2B8","Radar chart":"\uB808\uC774\uB354 \uCC28\uD2B8","Sankey diagram":"\uC0DD\uD0A4 \uB2E4\uC774\uC5B4\uADF8\uB7A8","Flow diagram":"\uD50C\uB85C\uC6B0 \uB2E4\uC774\uC5B4\uADF8\uB7A8","Chord diagram":"\uCF54\uB4DC \uB2E4\uC774\uC5B4\uADF8\uB7A8","TreeMap chart":"\uD2B8\uB9AC\uB9F5 \uCC28\uD2B8","Force directed tree":"\uD3EC\uC2A4 \uB514\uB809\uD2F0\uB4DC \uD2B8\uB9AC","Sliced chart":"\uC2AC\uB77C\uC774\uC2A4 \uCC28\uD2B8",Series:"\uC2DC\uB9AC\uC988","Candlestick Series":"\uCE94\uB4E4\uC2A4\uD2F1 \uC2DC\uB9AC\uC988","OHLC Series":"OHLC \uC2DC\uB9AC\uC988","Column Series":"\uCEEC\uB7FC \uC2DC\uB9AC\uC988","Line Series":"\uB77C\uC778 \uC2DC\uB9AC\uC988","Pie Slice Series":"\uD30C\uC774 \uC2AC\uB77C\uC774\uC2A4 \uC2DC\uB9AC\uC988","Funnel Series":"\uD37C\uB110 \uC2DC\uB9AC\uC988","Pyramid Series":"\uD53C\uB77C\uBBF8\uB4DC \uC2DC\uB9AC\uC988","X/Y Series":"X/Y \uC2DC\uB9AC\uC988",Map:"\uB9F5","Press ENTER to zoom in":"\uD655\uB300\uD558\uB824\uBA74 \uC5D4\uD130\uB97C \uB204\uB974\uC138\uC694.","Press ENTER to zoom out":"\uCD95\uC18C\uD558\uB824\uBA74 \uC5D4\uD130\uB97C \uB204\uB974\uC138\uC694.","Use arrow keys to zoom in and out":"\uD655\uB300 \uD639\uC740 \uCD95\uC18C\uD558\uB824\uBA74 \uBC29\uD5A5\uD0A4\uB97C \uC774\uC6A9\uD558\uC138\uC694.","Use plus and minus keys on your keyboard to zoom in and out":"\uD655\uB300 \uD639\uC740 \uCD95\uC18C\uD558\uB824\uBA74 \uD0A4\uBCF4\uB4DC\uC758 +/- \uD0A4\uB97C \uC774\uC6A9\uD558\uC138\uC694.",Export:"\uB0B4\uBCF4\uB0B4\uAE30",Image:"\uC774\uBBF8\uC9C0",Data:"\uB370\uC774\uD130",Print:"\uC778\uC1C4","Press ENTER to open":"\uC5F4\uB824\uBA74, \uD074\uB9AD, \uD0ED \uB610\uB294 \uC5D4\uD130\uB97C \uB204\uB974\uC138\uC694.","Press ENTER to print.":"\uCD9C\uB825\uD558\uB824\uBA74, \uD074\uB9AD, \uD0ED \uB610\uB294 \uC5D4\uD130\uB97C \uB204\uB974\uC138\uC694.","Press ENTER to export as %1.":"%1(\uC73C)\uB85C \uB0B4\uBCF4\uB0B4\uB824\uBA74 \uD074\uB9AD, \uD0ED \uB610\uB294 \uC5D4\uD130\uB97C \uB204\uB974\uC138\uC694.","(Press ESC to close this message)":"(\uC774 \uBA54\uC2DC\uC9C0\uB97C \uB044\uB824\uBA74 ESC\uB97C \uB204\uB974\uC138\uC694.)","Image Export Complete":"\uC774\uBBF8\uC9C0 \uB0B4\uBCF4\uB0B4\uAE30 \uC644\uB8CC","Export operation took longer than expected. Something might have gone wrong.":"\uB0B4\uBCF4\uB0B4\uAE30\uAC00 \uC9C0\uC5F0\uB418\uACE0 \uC788\uC2B5\uB2C8\uB2E4. \uBB38\uC81C\uAC00 \uC5C6\uB294\uC9C0 \uD655\uC778\uC774 \uD544\uC694\uD569\uB2C8\uB2E4.","Saved from":"\uB2E4\uC74C\uC73C\uB85C\uBD80\uD130 \uC800\uC7A5\uB428: ",PNG:"",JPG:"",GIF:"",SVG:"",PDF:"",JSON:"",CSV:"",XLSX:"",HTML:"","Use TAB to select grip buttons or left and right arrows to change selection":"\uC120\uD0DD \uBC94\uC704\uB97C \uBCC0\uACBD\uD558\uB824\uBA74 \uC120\uD0DD \uBC84\uD2BC\uC774\uB098 \uC88C\uC6B0 \uD654\uC0B4\uD45C\uB97C \uC774\uC6A9\uD558\uC138\uC694.","Use left and right arrows to move selection":"\uC120\uD0DD \uBC94\uC704\uB97C \uC6C0\uC9C1\uC774\uB824\uBA74 \uC88C\uC6B0 \uD654\uC0B4\uD45C\uB97C \uC774\uC6A9\uD558\uC138\uC694.","Use left and right arrows to move left selection":"\uC67C\uCABD \uC120\uD0DD \uBC94\uC704\uB97C \uC6C0\uC9C1\uC774\uB824\uBA74 \uC88C\uC6B0 \uD654\uC0B4\uD45C\uB97C \uC774\uC6A9\uD558\uC138\uC694.","Use left and right arrows to move right selection":"\uC624\uB978\uCABD \uC120\uD0DD \uBC94\uC704\uB97C \uC6C0\uC9C1\uC774\uB824\uBA74 \uC88C\uC6B0 \uD654\uC0B4\uD45C\uB97C \uC774\uC6A9\uD558\uC138\uC694.","Use TAB select grip buttons or up and down arrows to change selection":"\uC120\uD0DD \uBC94\uC704\uB97C \uBCC0\uACBD\uD558\uB824\uBA74 \uC120\uD0DD \uBC84\uD2BC\uC774\uB098 \uC0C1\uD558 \uD654\uC0B4\uD45C\uB97C \uC774\uC6A9\uD558\uC138\uC694.","Use up and down arrows to move selection":"\uC120\uD0DD \uBC94\uC704\uB97C \uC6C0\uC9C1\uC774\uB824\uBA74 \uC0C1\uD558 \uD654\uC0B4\uD45C\uB97C \uC774\uC6A9\uD558\uC138\uC694.","Use up and down arrows to move lower selection":"\uD558\uB2E8 \uC120\uD0DD \uBC94\uC704\uB97C \uC6C0\uC9C1\uC774\uB824\uBA74 \uC0C1\uD558 \uD654\uC0B4\uD45C\uB97C \uC774\uC6A9\uD558\uC138\uC694.","Use up and down arrows to move upper selection":"\uC0C1\uB2E8 \uC120\uD0DD \uBC94\uC704\uB97C \uC6C0\uC9C1\uC774\uB824\uBA74 \uC0C1\uD558 \uD654\uC0B4\uD45C\uB97C \uC774\uC6A9\uD558\uC138\uC694.","From %1 to %2":"%1 \uBD80\uD130 %2 \uAE4C\uC9C0","From %1":"%1 \uBD80\uD130","To %1":"%1 \uAE4C\uC9C0","No parser available for file: %1":"\uD30C\uC77C \uD30C\uC2F1 \uBD88\uAC00\uB2A5: %1","Error parsing file: %1":"\uD30C\uC77C \uD30C\uC2F1 \uC624\uB958: %1","Unable to load file: %1":"\uD30C\uC77C \uB85C\uB4DC \uBD88\uAC00\uB2A5: %1","Invalid date":"\uB0A0\uC9DC \uC62C\uBC14\uB974\uC9C0 \uC54A\uC74C",Close:"",Minimize:"",Confirm:""};export{r as default};
3
+ v5.0.0-next.113 */
4
+ import"./HFWJBUUX.js";var r={_decimalSeparator:".",_thousandSeparator:",",_percentPrefix:null,_percentSuffix:"%",_big_number_suffix_3:"k",_big_number_suffix_6:"M",_big_number_suffix_9:"G",_big_number_suffix_12:"T",_big_number_suffix_15:"P",_big_number_suffix_18:"E",_big_number_suffix_21:"Z",_big_number_suffix_24:"Y",_small_number_suffix_3:"m",_small_number_suffix_6:"\u03BC",_small_number_suffix_9:"n",_small_number_suffix_12:"p",_small_number_suffix_15:"f",_small_number_suffix_18:"a",_small_number_suffix_21:"z",_small_number_suffix_24:"y",_byte_suffix_B:"B",_byte_suffix_KB:"KB",_byte_suffix_MB:"MB",_byte_suffix_GB:"GB",_byte_suffix_TB:"TB",_byte_suffix_PB:"PB",_date:"yyyy-MM-dd",_date_millisecond:"mm:ss SSS",_date_millisecond_full:"HH:mm:ss SSS",_date_second:"HH:mm:ss",_date_second_full:"HH:mm:ss",_date_minute:"HH:mm",_date_minute_full:"HH:mm - MMM dd, yyyy",_date_hour:"HH:mm",_date_hour_short:"HH",_date_hour_full:"HH:mm - MMM dd, yyyy",_date_day:"MMM dd",_date_day_full:"MMM dd, yyyy",_date_week:"ww",_date_week_full:"MMM dd, yyyy",_date_month:"MMM",_date_month_full:"MMM, yyyy",_date_year:"yyyy",_duration_millisecond:"SSS",_duration_millisecond_second:"ss.SSS",_duration_millisecond_minute:"mm:ss SSS",_duration_millisecond_hour:"hh:mm:ss SSS",_duration_millisecond_day:"d'd' mm:ss SSS",_duration_millisecond_week:"d'd' mm:ss SSS",_duration_millisecond_month:"M'm' dd'd' mm:ss SSS",_duration_millisecond_year:"y'y' MM'm' dd'd' mm:ss SSS",_duration_second:"ss",_duration_second_minute:"mm:ss",_duration_second_hour:"hh:mm:ss",_duration_second_day:"d'd' hh:mm:ss",_duration_second_week:"d'd' hh:mm:ss",_duration_second_month:"M'm' dd'd' hh:mm:ss",_duration_second_year:"y'y' MM'm' dd'd' hh:mm:ss",_duration_minute:"mm",_duration_minute_hour:"hh:mm",_duration_minute_day:"d'd' hh:mm",_duration_minute_week:"d'd' hh:mm",_duration_minute_month:"M'm' dd'd' hh:mm",_duration_minute_year:"y'y' MM'm' dd'd' hh:mm",_duration_hour:"hh'h'",_duration_hour_day:"d'd' hh'h'",_duration_hour_week:"d'd' hh'h'",_duration_hour_month:"M'm' dd'd' hh'h'",_duration_hour_year:"y'y' MM'm' dd'd' hh'h'",_duration_day:"d'd'",_duration_day_week:"d'd'",_duration_day_month:"M'm' dd'd'",_duration_day_year:"y'y' MM'm' dd'd'",_duration_week:"w'w'",_duration_week_month:"w'w'",_duration_week_year:"w'w'",_duration_month:"M'm'",_duration_month_year:"y'y' MM'm'",_duration_year:"y'y'",_era_ad:"AD",_era_bc:"BC",A:"AM",P:"PM",AM:"AM",PM:"PM","A.M.":"\uC624\uC804","P.M.":"\uC624\uD6C4",January:"1\uC6D4",February:"2\uC6D4",March:"3\uC6D4",April:"4\uC6D4",May:"5\uC6D4",June:"6\uC6D4",July:"7\uC6D4",August:"8\uC6D4",September:"9\uC6D4",October:"10\uC6D4",November:"11\uC6D4",December:"12\uC6D4",Jan:"1\uC6D4",Feb:"2\uC6D4",Mar:"3\uC6D4",Apr:"4\uC6D4","May(short)":"5\uC6D4",Jun:"6\uC6D4",Jul:"7\uC6D4",Aug:"8\uC6D4",Sep:"9\uC6D4",Oct:"10\uC6D4",Nov:"11\uC6D4",Dec:"12\uC6D4",Sunday:"\uC77C\uC694\uC77C",Monday:"\uC6D4\uC694\uC77C",Tuesday:"\uD654\uC694\uC77C",Wednesday:"\uC218\uC694\uC77C",Thursday:"\uBAA9\uC694\uC77C",Friday:"\uAE08\uC694\uC77C",Saturday:"\uD1A0\uC694\uC77C",Sun:"\uC77C",Mon:"\uC6D4",Tue:"\uD654",Wed:"\uC218",Thu:"\uBAA9",Fri:"\uAE08",Sat:"\uD1A0",_dateOrd:function(_){let e="\uC77C";if(_<11||_>13)switch(_%10){case 1:e="\uC77C";break;case 2:e="\uC77C";break;case 3:e="\uC77C";break}return e},"Zoom Out":"\uCD95\uC18C",Play:"\uC2DC\uC791",Stop:"\uC815\uC9C0",Legend:"\uBC94\uB840","Press ENTER to toggle":"\uCF1C\uACE0 \uB044\uB824\uBA74 \uD074\uB9AD, \uD0ED \uD639\uC740 \uC5D4\uD130\uB97C \uB20C\uB7EC\uC8FC\uC138\uC694.",Loading:"\uBD88\uB7EC\uC624\uB294 \uC911",Home:"\uD648",Chart:"\uCC28\uD2B8","Serial chart":"\uC2DC\uB9AC\uC5BC \uCC28\uD2B8","X/Y chart":"X/Y \uCC28\uD2B8","Pie chart":"\uD30C\uC774 \uCC28\uD2B8","Gauge chart":"\uAC8C\uC774\uC9C0 \uCC28\uD2B8","Radar chart":"\uB808\uC774\uB354 \uCC28\uD2B8","Sankey diagram":"\uC0DD\uD0A4 \uB2E4\uC774\uC5B4\uADF8\uB7A8","Flow diagram":"\uD50C\uB85C\uC6B0 \uB2E4\uC774\uC5B4\uADF8\uB7A8","Chord diagram":"\uCF54\uB4DC \uB2E4\uC774\uC5B4\uADF8\uB7A8","TreeMap chart":"\uD2B8\uB9AC\uB9F5 \uCC28\uD2B8","Force directed tree":"\uD3EC\uC2A4 \uB514\uB809\uD2F0\uB4DC \uD2B8\uB9AC","Sliced chart":"\uC2AC\uB77C\uC774\uC2A4 \uCC28\uD2B8",Series:"\uC2DC\uB9AC\uC988","Candlestick Series":"\uCE94\uB4E4\uC2A4\uD2F1 \uC2DC\uB9AC\uC988","OHLC Series":"OHLC \uC2DC\uB9AC\uC988","Column Series":"\uCEEC\uB7FC \uC2DC\uB9AC\uC988","Line Series":"\uB77C\uC778 \uC2DC\uB9AC\uC988","Pie Slice Series":"\uD30C\uC774 \uC2AC\uB77C\uC774\uC2A4 \uC2DC\uB9AC\uC988","Funnel Series":"\uD37C\uB110 \uC2DC\uB9AC\uC988","Pyramid Series":"\uD53C\uB77C\uBBF8\uB4DC \uC2DC\uB9AC\uC988","X/Y Series":"X/Y \uC2DC\uB9AC\uC988",Map:"\uB9F5","Press ENTER to zoom in":"\uD655\uB300\uD558\uB824\uBA74 \uC5D4\uD130\uB97C \uB204\uB974\uC138\uC694.","Press ENTER to zoom out":"\uCD95\uC18C\uD558\uB824\uBA74 \uC5D4\uD130\uB97C \uB204\uB974\uC138\uC694.","Use arrow keys to zoom in and out":"\uD655\uB300 \uD639\uC740 \uCD95\uC18C\uD558\uB824\uBA74 \uBC29\uD5A5\uD0A4\uB97C \uC774\uC6A9\uD558\uC138\uC694.","Use plus and minus keys on your keyboard to zoom in and out":"\uD655\uB300 \uD639\uC740 \uCD95\uC18C\uD558\uB824\uBA74 \uD0A4\uBCF4\uB4DC\uC758 +/- \uD0A4\uB97C \uC774\uC6A9\uD558\uC138\uC694.",Export:"\uB0B4\uBCF4\uB0B4\uAE30",Image:"\uC774\uBBF8\uC9C0",Data:"\uB370\uC774\uD130",Print:"\uC778\uC1C4","Press ENTER to open":"\uC5F4\uB824\uBA74, \uD074\uB9AD, \uD0ED \uB610\uB294 \uC5D4\uD130\uB97C \uB204\uB974\uC138\uC694.","Press ENTER to print.":"\uCD9C\uB825\uD558\uB824\uBA74, \uD074\uB9AD, \uD0ED \uB610\uB294 \uC5D4\uD130\uB97C \uB204\uB974\uC138\uC694.","Press ENTER to export as %1.":"%1(\uC73C)\uB85C \uB0B4\uBCF4\uB0B4\uB824\uBA74 \uD074\uB9AD, \uD0ED \uB610\uB294 \uC5D4\uD130\uB97C \uB204\uB974\uC138\uC694.","(Press ESC to close this message)":"(\uC774 \uBA54\uC2DC\uC9C0\uB97C \uB044\uB824\uBA74 ESC\uB97C \uB204\uB974\uC138\uC694.)","Image Export Complete":"\uC774\uBBF8\uC9C0 \uB0B4\uBCF4\uB0B4\uAE30 \uC644\uB8CC","Export operation took longer than expected. Something might have gone wrong.":"\uB0B4\uBCF4\uB0B4\uAE30\uAC00 \uC9C0\uC5F0\uB418\uACE0 \uC788\uC2B5\uB2C8\uB2E4. \uBB38\uC81C\uAC00 \uC5C6\uB294\uC9C0 \uD655\uC778\uC774 \uD544\uC694\uD569\uB2C8\uB2E4.","Saved from":"\uB2E4\uC74C\uC73C\uB85C\uBD80\uD130 \uC800\uC7A5\uB428: ",PNG:"",JPG:"",GIF:"",SVG:"",PDF:"",JSON:"",CSV:"",XLSX:"",HTML:"","Use TAB to select grip buttons or left and right arrows to change selection":"\uC120\uD0DD \uBC94\uC704\uB97C \uBCC0\uACBD\uD558\uB824\uBA74 \uC120\uD0DD \uBC84\uD2BC\uC774\uB098 \uC88C\uC6B0 \uD654\uC0B4\uD45C\uB97C \uC774\uC6A9\uD558\uC138\uC694.","Use left and right arrows to move selection":"\uC120\uD0DD \uBC94\uC704\uB97C \uC6C0\uC9C1\uC774\uB824\uBA74 \uC88C\uC6B0 \uD654\uC0B4\uD45C\uB97C \uC774\uC6A9\uD558\uC138\uC694.","Use left and right arrows to move left selection":"\uC67C\uCABD \uC120\uD0DD \uBC94\uC704\uB97C \uC6C0\uC9C1\uC774\uB824\uBA74 \uC88C\uC6B0 \uD654\uC0B4\uD45C\uB97C \uC774\uC6A9\uD558\uC138\uC694.","Use left and right arrows to move right selection":"\uC624\uB978\uCABD \uC120\uD0DD \uBC94\uC704\uB97C \uC6C0\uC9C1\uC774\uB824\uBA74 \uC88C\uC6B0 \uD654\uC0B4\uD45C\uB97C \uC774\uC6A9\uD558\uC138\uC694.","Use TAB select grip buttons or up and down arrows to change selection":"\uC120\uD0DD \uBC94\uC704\uB97C \uBCC0\uACBD\uD558\uB824\uBA74 \uC120\uD0DD \uBC84\uD2BC\uC774\uB098 \uC0C1\uD558 \uD654\uC0B4\uD45C\uB97C \uC774\uC6A9\uD558\uC138\uC694.","Use up and down arrows to move selection":"\uC120\uD0DD \uBC94\uC704\uB97C \uC6C0\uC9C1\uC774\uB824\uBA74 \uC0C1\uD558 \uD654\uC0B4\uD45C\uB97C \uC774\uC6A9\uD558\uC138\uC694.","Use up and down arrows to move lower selection":"\uD558\uB2E8 \uC120\uD0DD \uBC94\uC704\uB97C \uC6C0\uC9C1\uC774\uB824\uBA74 \uC0C1\uD558 \uD654\uC0B4\uD45C\uB97C \uC774\uC6A9\uD558\uC138\uC694.","Use up and down arrows to move upper selection":"\uC0C1\uB2E8 \uC120\uD0DD \uBC94\uC704\uB97C \uC6C0\uC9C1\uC774\uB824\uBA74 \uC0C1\uD558 \uD654\uC0B4\uD45C\uB97C \uC774\uC6A9\uD558\uC138\uC694.","From %1 to %2":"%1 \uBD80\uD130 %2 \uAE4C\uC9C0","From %1":"%1 \uBD80\uD130","To %1":"%1 \uAE4C\uC9C0","No parser available for file: %1":"\uD30C\uC77C \uD30C\uC2F1 \uBD88\uAC00\uB2A5: %1","Error parsing file: %1":"\uD30C\uC77C \uD30C\uC2F1 \uC624\uB958: %1","Unable to load file: %1":"\uD30C\uC77C \uB85C\uB4DC \uBD88\uAC00\uB2A5: %1","Invalid date":"\uB0A0\uC9DC \uC62C\uBC14\uB974\uC9C0 \uC54A\uC74C",Close:"",Minimize:"",Confirm:""};export{r as default};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.112 */
4
- import{a as p}from"./GNLZ4HML.js";import"./RIS6P2XR.js";import"./2XQJJYPB.js";import"./YGY35OTX.js";import{N as c,O as r,T as h,a as n,b as t}from"./XJLMKLXL.js";import"./25TVKQGR.js";export default $arcgis.t(([{watch:l}])=>{var u=n`.arcgis-print__advanced-options-container{padding:var(--calcite-spacing-xxs);display:flex;flex-direction:column;gap:var(--calcite-spacing-xs)}`,m="arcgis-print",g={advancedOptionsContainer:`${m}__advanced-options-container`},v=["catalog-footprint","geojson","csv","graphics","kml","map-notes","stream"];function w(i){if(!i)return!1;let{map:e,graphics:d}=i;return d?.length?!0:e?.allLayers.some(a=>{if(a.type==="feature"&&"source"in a){let{type:o}=a.source;return o!=="feature-layer"&&o!=="ogc-feature"}return v.includes(a.type)})??!1}function b(i){let e=i?.map;return!!e&&e.tables.length>0}var s=class extends c{constructor(){super(...arguments),this._handles=p("disconnect"),this.autoPopulateAuthor=!1}static{this.properties={_selectedTemplate:16,_showAuthorInput:16,_showCopyrightInput:16,_showLegendInput:16,_showNorthArrowInput:16,_showScaleBarInput:16,_showForceFeatureAttributes:16,_showTablesInput:16,autoPopulateAuthor:5,viewModel:0,messages:0}}static{this.styles=u}loaded(){this.manager.onLifecycle(()=>[l(()=>this.viewModel.templateOptions.id,e=>{this._handles.removeHandles("template-handle"),this._selectedTemplate=e?this.viewModel.getLayoutTemplateById(e)??void 0:void 0,this._handles.addHandles(l(()=>[this._selectedTemplate?.layoutTemplateInfo?.layoutOptions?.hasAuthorText,this._selectedTemplate?.layoutTemplateInfo?.layoutOptions?.hasCopyrightText,this._selectedTemplate?.layoutTemplateInfo?.layoutOptions?.hasLegend,this._selectedTemplate?.mapSurroundInfoOptions?.northArrow?.length,this._selectedTemplate?.mapSurroundInfoOptions?.scaleBar?.length],()=>{this._showAuthorInput=this._selectedTemplate?.layoutTemplateInfo?.layoutOptions?.hasAuthorText??!0,this._showCopyrightInput=this._selectedTemplate?.layoutTemplateInfo?.layoutOptions?.hasCopyrightText??!0,this._showLegendInput=this._selectedTemplate?.layoutTemplateInfo?.layoutOptions?.hasLegend??!0,this._showNorthArrowInput=!!this._selectedTemplate?.mapSurroundInfoOptions?.northArrow.length,this._showScaleBarInput=!!this._selectedTemplate?.mapSurroundInfoOptions?.scaleBar.length,this._showForceFeatureAttributes=w(this.viewModel.view)&&!!this._selectedTemplate?.layoutItem?.id,this._showTablesInput=b(this.viewModel.view)&&!!this._selectedTemplate?.layoutItem?.id},{initial:!0}),"template-handle")},{initial:!0}),l(()=>[this.viewModel.portal?.user,this.autoPopulateAuthor],()=>{!this.viewModel.templateOptions.author&&this.autoPopulateAuthor&&this.viewModel.portal?.user?.username&&(this.viewModel.templateOptions.author=this.viewModel.portal.user.username,this.requestUpdate())},{initial:!0})])}render(){return t`<div aria-labelledby=${`${this.el.id}__advancedOptionsForLayout`} class=${r(g.advancedOptionsContainer)}>${this._renderScaleSection()}${this._renderAuthorSection()}${this._renderCopyrightSection()}${this._renderDpiSection()}${this._renderOutSpatialReferenceSection()}${this._renderCustomTextElementSection()}${this._renderLegendSection()}${this._renderNorthArrowSection()}${this._renderScaleBarSection()}${this._renderForceFeatureAttributesSection()}${this._renderIncludeTablesSection()}</div>`}_renderScaleSection(){return t`<arcgis-print-scale-section .messages=${this.messages} .viewModel=${this.viewModel}></arcgis-print-scale-section>`}_renderAuthorSection(){return this._showAuthorInput?t`<div><calcite-label>${this.messages.author}<calcite-input .value=${this.viewModel.templateOptions.author??""} @calciteInputInput=${e=>this.viewModel.templateOptions.author=e.target.value}></calcite-input></calcite-label></div>`:null}_renderCopyrightSection(){return this._showCopyrightInput?t`<div><calcite-label>${this.messages.copyright}<calcite-input .value=${this.viewModel.templateOptions.copyright??""} @calciteInputInput=${e=>this.viewModel.templateOptions.copyright=e.target.value}></calcite-input></calcite-label></div>`:null}_renderDpiSection(){return t`<arcgis-print-dpi-input .messages=${this.messages} .viewModel=${this.viewModel}></arcgis-print-dpi-input>`}_renderOutSpatialReferenceSection(){return t`<arcgis-print-out-spatial-reference-input .messages=${this.messages} .viewModel=${this.viewModel}></arcgis-print-out-spatial-reference-input>`}_renderCustomTextElementSection(){return t`<arcgis-print-custom-text-elements .viewModel=${this.viewModel}></arcgis-print-custom-text-elements>`}_renderLegendSection(){return this._showLegendInput?t`<div><calcite-label layout=inline><calcite-checkbox .checked=${!!this.viewModel.templateOptions.legendEnabled} @calciteCheckboxChange=${e=>this.viewModel.templateOptions.legendEnabled=e.target.checked}></calcite-checkbox>${this.messages.legend}</calcite-label>${this.viewModel.templateOptions.legendEnabled?t`<calcite-label layout=inline><calcite-checkbox .checked=${!!this.viewModel.templateOptions.dynamicLegendEnabled} @calciteCheckboxChange=${e=>this.viewModel.templateOptions.dynamicLegendEnabled=e.target.checked}></calcite-checkbox>${this.messages.dynamicLegend}</calcite-label>`:null}</div>`:null}_renderNorthArrowSection(){return this._showNorthArrowInput?t`<div><calcite-label layout=inline><calcite-checkbox .checked=${!!this.viewModel.templateOptions.northArrowEnabled} @calciteCheckboxChange=${e=>this.viewModel.templateOptions.northArrowEnabled=e.target.checked}></calcite-checkbox>${this.messages.northArrow}</calcite-label></div>`:null}_renderScaleBarSection(){return this._showScaleBarInput?t`<div><calcite-label layout=inline><calcite-checkbox .checked=${!!this.viewModel.templateOptions.scaleBarEnabled} @calciteCheckboxChange=${e=>this.viewModel.templateOptions.scaleBarEnabled=e.target.checked}></calcite-checkbox>${this.messages.scaleBar}</calcite-label>${this.viewModel.templateOptions.scaleBarEnabled?t`<calcite-label>${this.messages.scaleBarUnit}<calcite-select label="Scale bar unit" .value=${this.viewModel.templateOptions.scaleBarUnit||void 0} @calciteSelectChange=${e=>{this.viewModel.templateOptions.scaleBarUnit=e.target.value}}><calcite-option value=miles>Miles</calcite-option><calcite-option value=kilometers>Kilometers</calcite-option><calcite-option value=meters>Meters</calcite-option><calcite-option value=feet>Feet</calcite-option></calcite-select></calcite-label>`:null}</div>`:null}_renderForceFeatureAttributesSection(){return this._showForceFeatureAttributes?t`<div><calcite-label layout=inline><calcite-checkbox .checked=${!!this.viewModel.templateOptions.forceFeatureAttributes} @calciteCheckboxChange=${e=>this.viewModel.templateOptions.forceFeatureAttributes=e.target.checked}></calcite-checkbox>${this.messages.forceFeatureAttributes}</calcite-label></div>`:null}_renderIncludeTablesSection(){return this._showTablesInput?t`<div><calcite-label layout=inline><calcite-checkbox .checked=${!!this.viewModel.templateOptions.includeTables} @calciteCheckboxChange=${e=>this.viewModel.templateOptions.includeTables=e.target.checked}></calcite-checkbox>${this.messages.includeTables}</calcite-label></div>`:null}};h("arcgis-print-layout-advanced-options",s);return s},"core/reactiveUtils")
3
+ v5.0.0-next.113 */
4
+ import{a as p}from"./27IC3H52.js";import"./2WQ475IE.js";import"./6ECDGXCK.js";import"./NG7W6LLR.js";import{N as c,O as r,T as h,a as n,b as t}from"./RILBE66Z.js";import"./HFWJBUUX.js";export default $arcgis.t(([{watch:l}])=>{var u=n`.arcgis-print__advanced-options-container{padding:var(--calcite-spacing-xxs);display:flex;flex-direction:column;gap:var(--calcite-spacing-xs)}`,m="arcgis-print",g={advancedOptionsContainer:`${m}__advanced-options-container`},v=["catalog-footprint","geojson","csv","graphics","kml","map-notes","stream"];function w(i){if(!i)return!1;let{map:e,graphics:d}=i;return d?.length?!0:e?.allLayers.some(a=>{if(a.type==="feature"&&"source"in a){let{type:o}=a.source;return o!=="feature-layer"&&o!=="ogc-feature"}return v.includes(a.type)})??!1}function b(i){let e=i?.map;return!!e&&e.tables.length>0}var s=class extends c{constructor(){super(...arguments),this._handles=p("disconnect"),this.autoPopulateAuthor=!1}static{this.properties={_selectedTemplate:16,_showAuthorInput:16,_showCopyrightInput:16,_showLegendInput:16,_showNorthArrowInput:16,_showScaleBarInput:16,_showForceFeatureAttributes:16,_showTablesInput:16,autoPopulateAuthor:5,viewModel:0,messages:0}}static{this.styles=u}loaded(){this.manager.onLifecycle(()=>[l(()=>this.viewModel.templateOptions.id,e=>{this._handles.removeHandles("template-handle"),this._selectedTemplate=e?this.viewModel.getLayoutTemplateById(e)??void 0:void 0,this._handles.addHandles(l(()=>[this._selectedTemplate?.layoutTemplateInfo?.layoutOptions?.hasAuthorText,this._selectedTemplate?.layoutTemplateInfo?.layoutOptions?.hasCopyrightText,this._selectedTemplate?.layoutTemplateInfo?.layoutOptions?.hasLegend,this._selectedTemplate?.mapSurroundInfoOptions?.northArrow?.length,this._selectedTemplate?.mapSurroundInfoOptions?.scaleBar?.length],()=>{this._showAuthorInput=this._selectedTemplate?.layoutTemplateInfo?.layoutOptions?.hasAuthorText??!0,this._showCopyrightInput=this._selectedTemplate?.layoutTemplateInfo?.layoutOptions?.hasCopyrightText??!0,this._showLegendInput=this._selectedTemplate?.layoutTemplateInfo?.layoutOptions?.hasLegend??!0,this._showNorthArrowInput=!!this._selectedTemplate?.mapSurroundInfoOptions?.northArrow.length,this._showScaleBarInput=!!this._selectedTemplate?.mapSurroundInfoOptions?.scaleBar.length,this._showForceFeatureAttributes=w(this.viewModel.view)&&!!this._selectedTemplate?.layoutItem?.id,this._showTablesInput=b(this.viewModel.view)&&!!this._selectedTemplate?.layoutItem?.id},{initial:!0}),"template-handle")},{initial:!0}),l(()=>[this.viewModel.portal?.user,this.autoPopulateAuthor],()=>{!this.viewModel.templateOptions.author&&this.autoPopulateAuthor&&this.viewModel.portal?.user?.username&&(this.viewModel.templateOptions.author=this.viewModel.portal.user.username,this.requestUpdate())},{initial:!0})])}render(){return t`<div aria-labelledby=${`${this.el.id}__advancedOptionsForLayout`} class=${r(g.advancedOptionsContainer)}>${this._renderScaleSection()}${this._renderAuthorSection()}${this._renderCopyrightSection()}${this._renderDpiSection()}${this._renderOutSpatialReferenceSection()}${this._renderCustomTextElementSection()}${this._renderLegendSection()}${this._renderNorthArrowSection()}${this._renderScaleBarSection()}${this._renderForceFeatureAttributesSection()}${this._renderIncludeTablesSection()}</div>`}_renderScaleSection(){return t`<arcgis-print-scale-section .messages=${this.messages} .viewModel=${this.viewModel}></arcgis-print-scale-section>`}_renderAuthorSection(){return this._showAuthorInput?t`<div><calcite-label>${this.messages.author}<calcite-input .value=${this.viewModel.templateOptions.author??""} @calciteInputInput=${e=>this.viewModel.templateOptions.author=e.target.value}></calcite-input></calcite-label></div>`:null}_renderCopyrightSection(){return this._showCopyrightInput?t`<div><calcite-label>${this.messages.copyright}<calcite-input .value=${this.viewModel.templateOptions.copyright??""} @calciteInputInput=${e=>this.viewModel.templateOptions.copyright=e.target.value}></calcite-input></calcite-label></div>`:null}_renderDpiSection(){return t`<arcgis-print-dpi-input .messages=${this.messages} .viewModel=${this.viewModel}></arcgis-print-dpi-input>`}_renderOutSpatialReferenceSection(){return t`<arcgis-print-out-spatial-reference-input .messages=${this.messages} .viewModel=${this.viewModel}></arcgis-print-out-spatial-reference-input>`}_renderCustomTextElementSection(){return t`<arcgis-print-custom-text-elements .viewModel=${this.viewModel}></arcgis-print-custom-text-elements>`}_renderLegendSection(){return this._showLegendInput?t`<div><calcite-label layout=inline><calcite-checkbox .checked=${!!this.viewModel.templateOptions.legendEnabled} @calciteCheckboxChange=${e=>this.viewModel.templateOptions.legendEnabled=e.target.checked}></calcite-checkbox>${this.messages.legend}</calcite-label>${this.viewModel.templateOptions.legendEnabled?t`<calcite-label layout=inline><calcite-checkbox .checked=${!!this.viewModel.templateOptions.dynamicLegendEnabled} @calciteCheckboxChange=${e=>this.viewModel.templateOptions.dynamicLegendEnabled=e.target.checked}></calcite-checkbox>${this.messages.dynamicLegend}</calcite-label>`:null}</div>`:null}_renderNorthArrowSection(){return this._showNorthArrowInput?t`<div><calcite-label layout=inline><calcite-checkbox .checked=${!!this.viewModel.templateOptions.northArrowEnabled} @calciteCheckboxChange=${e=>this.viewModel.templateOptions.northArrowEnabled=e.target.checked}></calcite-checkbox>${this.messages.northArrow}</calcite-label></div>`:null}_renderScaleBarSection(){return this._showScaleBarInput?t`<div><calcite-label layout=inline><calcite-checkbox .checked=${!!this.viewModel.templateOptions.scaleBarEnabled} @calciteCheckboxChange=${e=>this.viewModel.templateOptions.scaleBarEnabled=e.target.checked}></calcite-checkbox>${this.messages.scaleBar}</calcite-label>${this.viewModel.templateOptions.scaleBarEnabled?t`<calcite-label>${this.messages.scaleBarUnit}<calcite-select label="Scale bar unit" .value=${this.viewModel.templateOptions.scaleBarUnit||void 0} @calciteSelectChange=${e=>{this.viewModel.templateOptions.scaleBarUnit=e.target.value}}><calcite-option value=miles>Miles</calcite-option><calcite-option value=kilometers>Kilometers</calcite-option><calcite-option value=meters>Meters</calcite-option><calcite-option value=feet>Feet</calcite-option></calcite-select></calcite-label>`:null}</div>`:null}_renderForceFeatureAttributesSection(){return this._showForceFeatureAttributes?t`<div><calcite-label layout=inline><calcite-checkbox .checked=${!!this.viewModel.templateOptions.forceFeatureAttributes} @calciteCheckboxChange=${e=>this.viewModel.templateOptions.forceFeatureAttributes=e.target.checked}></calcite-checkbox>${this.messages.forceFeatureAttributes}</calcite-label></div>`:null}_renderIncludeTablesSection(){return this._showTablesInput?t`<div><calcite-label layout=inline><calcite-checkbox .checked=${!!this.viewModel.templateOptions.includeTables} @calciteCheckboxChange=${e=>this.viewModel.templateOptions.includeTables=e.target.checked}></calcite-checkbox>${this.messages.includeTables}</calcite-label></div>`:null}};h("arcgis-print-layout-advanced-options",s);return s},"core/reactiveUtils")
@@ -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.112 */
4
- import{a as f}from"./Z2TSI7BE.js";import a from"./QLWXRLT4.js";import{a as M}from"./W4VWTV5O.js";import{b as E}from"./YGY35OTX.js";import{L as Q,M as j,N as k,O as h,R,T as B,a as D,b as o}from"./XJLMKLXL.js";import"./25TVKQGR.js";export default $arcgis.t(([{templateHasKey:H,stripHTML:K},{isRelatableFeatureSupportedLayer:U,findRelatedLayer:X},{substitute:Y,formatNumber:T},{watch:F,on:ee},Z,W,{ignoreAbortErrors:N},te,{h:V}])=>{var re=D`:host{position:relative;flex:1 1 auto}.arcgis-feature-relationship__list{min-height:var(--calcite-spacing-xxxl)}.arcgis-feature-relationship__list-item--hidden{display:none}.arcgis-feature-relationship__feature-observer{position:relative;bottom:var(--calcite-spacing-xxl);z-index:2;text-align:center}.arcgis-feature-relationship__sticky-loading-container{display:flex;position:sticky;bottom:var(--calcite-spacing-sm);align-items:center;justify-content:center;z-index:2;margin:0;padding:0;height:var(--calcite-spacing-xxxl);pointer-events:none}`,ie=_=>{let e=[];if(_.formTemplate){let{description:t,title:r}=_.formTemplate;_.fields?.forEach(i=>{let s=r&&H(r,i.name),a=t&&H(t,i.name);(s||a)&&e.push(i.name)})}return e},O=100,se="arcgis-feature",c=`${se}-relationship`,u={base:c,listContainer:`${c}__list`,listItem:`${c}__list-item`,listItemHidden:`${c}__list-item--hidden`,listContainerQuerying:`${c}__list--querying`,featureObserver:`${c}__feature-observer`,stickySpinnerContainer:`${c}__sticky-loading-container`,loadingSpinnerContainer:`${c}__loading-container`},x=class extends k{constructor(){super(...arguments),this._increaseFeaturePage=()=>{let{state:e,showAllEnabled:t,relatedFeatures:r,featuresPerPage:i,featurePage:s}=this;e==="ready"&&t&&r.length>=i*s&&this.featurePage++},this._relatedFeatureIntersectionObserver=new IntersectionObserver(([e])=>{e?.isIntersecting&&this._increaseFeaturePage()},{root:window.document}),this._featurePage=1,this._cancelQuery=()=>{let{_queryAbortController:e}=this;e&&e.abort(),this._queryAbortController=null},this._cancelQueryFeatureCount=()=>{let{_queryFeatureCountAbortController:e}=this;e&&e.abort(),this._queryFeatureCountAbortController=null},this._cancelQueryPage=()=>{let{_queryPageAbortController:e}=this;e&&e.abort(),this._queryPageAbortController=null},this._queryController=async()=>{this._cancelQuery();let e=new AbortController;this._queryAbortController=e,await N(this._query()),this._queryAbortController===e&&(this._queryAbortController=null)},this._queryFeatureCountController=async()=>{this._loaded=!1,this._cancelQueryFeatureCount();let e=new AbortController;this._queryFeatureCountAbortController=e,await N(this._queryFeatureCount()),this._queryFeatureCountAbortController===e&&(this._queryFeatureCountAbortController=null),this._loaded=!0},this._queryPageController=async()=>{let e=new AbortController;this._queryPageAbortController=e,await N(this._queryPage()),this._queryPageAbortController===e&&(this._queryPageAbortController=null)},this._queryDebounced=f(this._queryController,O),this._queryFeatureCountDebounced=f(this._queryFeatureCountController,O),this._queryPageDebounced=f(this._queryPageController,O),this._query=async()=>{let{_queryAbortController:e,relatedFeatures:t}=this;!this.featureCount||this.relatedLayer?.type==="subtype-group"&&!this.activeCategory||(this.relatedFeatureViewModels.destroyAll(),this.featurePage=1,t.destroyAll(),t.addMany(this._sliceFeatures(await this._queryRelatedFeatures({signal:e?.signal}))))},this._addFlowItem=e=>{e&&this.flowItems?.push(e)},this._relatedFeatureIntersectionObserverNode=Q(),this.relatedFeatures=new Z,this._queryAbortController=null,this._queryPageAbortController=null,this._queryFeatureCountAbortController=null,this.featureCount=0,this._loaded=!1,this.relatedFeatureViewModels=new Z,this.autoDestroyDisabled=!1,this.featuresPerPage=10,this.flowType="feature-relationship",this.headingLevel=2,this.hideHeading=!1,this.hideDescription=!1,this.showAllEnabled=!1}static{this.properties={allCategories:16,_queryAbortController:16,_queryPageAbortController:16,_queryFeatureCountAbortController:16,featureCount:16,_loaded:16,canLoad:16,canQuery:16,displayShowAllButton:16,displayListItems:16,categories:16,itemDescriptionFieldName:16,relatedFeatureViewModels:16,state:16,autoDestroyDisabled:5,allItemsDescription:32,featurePage:9,featuresPerPage:9,flowItems:0,flowType:1,headingLevel:9,messages:0,heading:1,description:1,values:0,activeCategory:0,hideHeading:5,hideDescription:5,displayCount:9,graphic:0,layer:0,map:0,view:0,spatialReference:0,timeZone:1,orderByFields:0,relationshipId:9,showAllEnabled:5,label:3}}static{this.styles=re}get orderByFieldsFixedCasing(){let{orderByFields:e,relatedLayer:t}=this;return e&&t?.loaded?e.map(r=>{let i=r.clone();return i.field=V(r.field,t),i}):e??[]}get supportsCacheHint(){return!!this.layer?.capabilities?.queryRelated?.supportsCacheHint}get allCategoriesCount(){return this.allCategories?.length??0}get objectId(){return(this.objectIdField&&this.graphic?.attributes?.[this.objectIdField])??null}get objectIdField(){return this.layer?.objectIdField||null}get relatedLayer(){let{layer:e,map:t,relationship:r}=this;if(!e?.loaded||!t||!r)return null;let i=e.type==="subtype-sublayer"&&e.parent&&U(e.parent)?e.parent:e;return X(t,i,r)??null}get relatedLayerKeyField(){let{relatedLayer:e,relationshipId:t}=this;return e?.loaded&&t!=null?e.relationships?.find(r=>r.id===t)?.keyField:null}get relatedLayerKeyFields(){let{relatedLayer:e}=this;return e?.loaded?e.relationships?.map(t=>t.keyField).filter(t=>t!=null)??[]:[]}get relationship(){let{relationshipId:e,layer:t}=this;return e!=null&&t?.loaded?t.relationships?.find(({id:r})=>r===e)??null:null}get relationshipKey(){let{relationshipKeyField:e}=this;return(e&&this.graphic?.attributes?.[e])??null}get relationshipKeyField(){return this.relationship?.keyField||null}get canLoad(){return!!this.map&&this.relationshipId!=null&&typeof this.objectId=="number"}get canQuery(){let e=this.layer?.capabilities?.queryRelated;return!!this.relatedLayer&&!!this.relationship&&this.relationshipId!=null&&this.objectId!=null&&!!e?.supportsCount&&e?.supportsPagination}get displayShowAllButton(){let{showAllEnabled:e,featureCount:t,displayCount:r,state:i,allCategoriesCount:s}=this,a=!!s&&(s>r||r===0),n=!!t&&(t>r||r===0);return!e&&i==="ready"&&(a||n)}get displayListItems(){let{relatedFeatures:e,allCategoriesCount:t}=this;return this.displayShowAllButton||!!e.length||!!t}get categories(){let{allCategories:e}=this;return this.showAllEnabled?e:e?.slice(0,this.displayCount)??null}get itemDescriptionFieldName(){return this.orderByFieldsFixedCasing[0]?.field||null}get state(){let{_queryAbortController:e,_queryFeatureCountAbortController:t,_queryPageAbortController:r,canQuery:i,_loaded:s,canLoad:a}=this;return t||a&&!s?"loading":e||r?"querying":i?"ready":"disabled"}get allItemsDescription(){let{messages:e,featureCount:t,allCategories:r,allCategoriesCount:i}=this;return Y(e?.numberRecords??"",{number:T(r?i:t)})}get featurePage(){return this._featurePage}set featurePage(e){let{featuresPerPage:t,featureCount:r}=this,i=1,s=Math.ceil(r/t)||1;this._featurePage=Math.min(Math.max(e,i),s)}get heading(){let{activeCategory:e}=this;return this._heading??e?.name}set heading(e){this._heading=e}get displayCount(){return this._displayCount??3}set displayCount(e){this._displayCount=Math.min(Math.max(e??3,0),10)}async destroy(){await this.manager.destroy()}loaded(){this.manager.onLifecycle(()=>[F(()=>[this.displayCount,this.graphic,this.layer,this.layer?.loaded,this.map,this.orderByFields,this.relationshipId,this.featuresPerPage,this.showAllEnabled,this.canQuery,this.featureCount,this.activeCategory],()=>this._queryDebounced(),{initial:!0}),F(()=>[this.featurePage,this.showAllEnabled],()=>this._queryPageDebounced()),F(()=>[this.layer,this.relationshipId,this.objectId,this.canQuery,this.activeCategory],()=>this._queryFeatureCountDebounced(),{initial:!0}),F(()=>[this.state,this.showAllEnabled,this._relatedFeatureIntersectionObserverNode],()=>this._handleRelatedFeatureObserverChange()),ee(()=>this.relatedFeatures,"change",()=>this._setRelatedFeaturesViewModels())]),this.manager.onDestroy(()=>{this.relatedFeatureViewModels.destroyAll(),this.relatedFeatures.destroyAll(),this._cancelQuery(),this._cancelQueryFeatureCount(),this._cancelQueryPage(),this._unobserveRelatedFeatureObserver()})}async _queryFeatureCount(){let{layer:e,relatedLayer:t}=this;await e?.load(),await t?.load();let{_queryFeatureCountAbortController:r,activeCategory:i,canQuery:s,objectId:a,relatedLayerKeyField:n,relationshipId:l,relationshipKey:g,supportsCacheHint:v}=this;if(!s||!e||!t||a==null){this.featureCount=0,this.allCategories=void 0;return}if(t?.type==="subtype-group"&&!i){if(this.featureCount=0,this.relatedFeatureViewModels.destroyAll(),this.featurePage=1,this.relatedFeatures.destroyAll(),n&&g!=null){let{default:$}=await $arcgis.t(m=>m[0],"smartMapping/statistics/uniqueValues"),{uniqueValueInfos:A}=await $({layer:t,sqlWhere:`${n} = '${g}'`,field:t.subtypeField??void 0,signal:r?.signal}),q=A.map(({count:y,value:m})=>{let C=t.subtypes?.find(L=>L.code===m)?.name;return m!=null&&C?{count:y,value:m,name:C}:void 0}).filter(y=>y!=null);this.allCategories=q}return}let{historicMoment:b,gdbVersion:w}=e,I=new W({cacheHint:v,gdbVersion:w,historicMoment:b,relationshipId:l,returnGeometry:!1,objectIds:[a],where:this._getRelationshipWhereClause(t)}),p=await e.queryRelatedFeaturesCount(I,{signal:r?.signal});this.allCategories=void 0,this.featureCount=p[a]||0}_getRelationshipWhereClause(e){let{activeCategory:t}=this,r=e.createQuery(),i="subtypeField"in e?e.subtypeField:void 0,s=t&&i?`${i} = ${t.value}`:void 0,a=r.where;return a&&s?`(${a}) AND (${s})`:a??s}_sliceFeatures(e){let{showAllEnabled:t,displayCount:r}=this;return t?e:r?e.slice(0,r):[]}async _queryPage(){let{relatedFeatures:e,featurePage:t,showAllEnabled:r,_queryPageAbortController:i,featureCount:s}=this;!r||t<2||!s||this.relatedLayer?.type==="subtype-group"&&!this.activeCategory||e.addMany(await this._queryRelatedFeatures({signal:i?.signal}))}async _queryRelatedFeatures(e){let{displayCount:t,featureCount:r,featurePage:i,featuresPerPage:s,layer:a,orderByFieldsFixedCasing:n,relatedLayer:l,relatedLayerKeyFields:g,relationshipId:v,showAllEnabled:b,supportsCacheHint:w}=this,{canQuery:I,objectId:p}=this;if(!I||!a||!l||p==null)return[];let $=b?((i-1)*s+r)%r:0,A=b?s:t,q=l.objectIdField,y="subtypeField"in l?l.subtypeField:void 0,m=[...n.map(d=>d.field),...ie(l),...g,q,y].filter(d=>d!=null),C=n.map(d=>`${d.field} ${d.order}`),{historicMoment:L,gdbVersion:z}=a,G=new W({orderByFields:C,start:$,num:A,outFields:m,cacheHint:w,historicMoment:L,gdbVersion:z,relationshipId:v,returnGeometry:!1,objectIds:[p],where:this._getRelationshipWhereClause(l)}),P=(await a.queryRelatedFeatures(G,{signal:e?.signal}))[p]?.features||[];return l.type==="subtype-group"&&y?P.forEach(d=>{let J=d.attributes[y],S=l.findSublayerForSubtypeCode?.(J);d.sourceLayer=S,d.layer=S}):P.forEach(d=>{d.sourceLayer=l,d.layer=l}),P}_selectCategory(e){let{flowItems:t}=this;t&&this._addRelationshipFlowItem({showAllEnabled:!0,activeCategory:e})}_selectRecord(e){let{flowItems:t}=this;t&&this._addFlowItem(R(M(e,o`<arcgis-feature .flowItems=${t} .flowType=${this.flowType} .graphic=${e.graphic} .map=${this.map} show-relationship-content .spatialReference=${this.spatialReference} .timeZone=${this.timeZone} .view=${this.view}></arcgis-feature>`)))}_addRelationshipFlowItem({showAllEnabled:e=!1,activeCategory:t}){this._addFlowItem(R(M(t,o`<arcgis-feature-relationship .messages=${this.messages} .activeCategory=${t} .displayCount=${this.displayCount} .flowItems=${this.flowItems} .flowType=${this.flowType} .graphic=${this.graphic} .heading=${this.heading} hide-description .showAllEnabled=${e} hide-heading .layer=${this.layer} .map=${this.map} .orderByFields=${this.orderByFields} .relationshipId=${this.relationshipId} .spatialReference=${this.spatialReference} .values=${this.values} .view=${this.view}></arcgis-feature-relationship>`)))}_showAllRecords(){let{flowItems:e}=this;e&&this._addRelationshipFlowItem({showAllEnabled:!0})}_handleRelatedFeatureObserverChange(){this._unobserveRelatedFeatureObserver();let{state:e,showAllEnabled:t}=this;this._relatedFeatureIntersectionObserverNode.value&&e==="ready"&&t&&this._relatedFeatureIntersectionObserver.observe(this._relatedFeatureIntersectionObserverNode.value)}_unobserveRelatedFeatureObserver(){this._relatedFeatureIntersectionObserverNode.value&&this._relatedFeatureIntersectionObserver.unobserve(this._relatedFeatureIntersectionObserverNode.value)}_matchesFeature(e,t){let r=e?.graphic?.getObjectId(),i=t?.getObjectId();return r!=null&&i!=null&&r===i}_setRelatedFeaturesViewModels(){let{relatedFeatures:e,relatedFeatureViewModels:t,map:r,view:i,spatialReference:s,timeZone:a}=this;e?.filter(Boolean).forEach(n=>{t.some(l=>this._matchesFeature(l,n))||t.add(new te({abilities:{relationshipContent:!1},map:r,view:i,spatialReference:s,timeZone:a,graphic:n}))}),t.forEach(n=>{e?.find(l=>this._matchesFeature(n,l))||t.remove(n)})}render(){let{state:e}=this;return o`<div class=${h(u.base)}><arcgis-feature-element-info .heading=${this.heading} .headingLevel=${this.headingLevel} .description=${this.description}></arcgis-feature-element-info>${e==="loading"?this._renderLoading():e==="disabled"?this._renderRelationshipNotFound():this._renderRelatedFeatures()}</div>`}_renderStickyLoading(){return this.state==="querying"?o`<div class=${h(u.stickySpinnerContainer)}>${this._renderLoadingIcon()}</div>`:null}_renderLoadingIcon(){return o`<calcite-loader inline label></calcite-loader>`}_renderLoading(){return o`<div class=${h(u.loadingSpinnerContainer)}>${this._renderLoadingIcon()}</div>`}_renderShowAllIconNode(){return o`<calcite-icon icon=list scale=s slot=content-end></calcite-icon>`}_renderChevronIconNode(){return o`<calcite-icon flip-rtl icon=chevron-right scale=s slot=content-end></calcite-icon>`}_renderCategory(e){let{count:t,name:r}=e,i=T(t);return o`<calcite-list-item class=${h(u.listItem)} .disabled=${!t} .label=${r} @calciteListItemSelect=${()=>this._selectCategory(e)}><calcite-chip .label=${i} scale=s slot=content-end>${i}</calcite-chip>${this._renderChevronIconNode()}</calcite-list-item>`}_renderRelatedFeature(e){let{itemDescriptionFieldName:t,values:r}=this,{formattedAttributes:i,state:s,title:a}=e,n={...i?.global,...r},l=(t&&n?.[t])??"",g=s==="loading";return o`<calcite-list-item class=${h(E(u.listItem,{[u.listItemHidden]:g}))} .description=${K(l.toString())} .label=${K(a)} @calciteListItemSelect=${()=>this._selectRecord(e)}>${this._renderChevronIconNode()}</calcite-list-item>`}_renderShowAllListItem(){return this.displayShowAllButton?o`<calcite-list-item .description=${this.allItemsDescription} .label=${this.messages?.showAll} @calciteListItemSelect=${()=>this._showAllRecords()}>${this._renderShowAllIconNode()}</calcite-list-item>`:null}_renderNoRelatedFeaturesMessage(){return o`<calcite-notice icon=information kind=brand open scale=s width=full><div slot=message>${this.messages?.noRelatedFeatures}</div></calcite-notice>`}_renderFeatureObserver(){return o`<div class=${h(u.featureObserver)} ${j(this._relatedFeatureIntersectionObserverNode)}></div>`}_renderList(){let{relatedFeatureViewModels:e,categories:t}=this;return o`<calcite-list display-mode=flat .label=${this.messages?.relatedFeaturesList??""}>${t?.map(r=>this._renderCategory(r))??e.toArray().map(r=>this._renderRelatedFeature(r))}${this._renderShowAllListItem()}</calcite-list>`}_renderRelatedFeatures(){let{displayListItems:e}=this,{state:t}=this;return o`<div class=${h(E(u.listContainer,{[u.listContainerQuerying]:t==="querying"}))}>${e?this._renderList():t==="ready"?this._renderNoRelatedFeaturesMessage():null}${this._renderStickyLoading()}${this._renderFeatureObserver()}</div>`}_renderRelationshipNotFound(){return o`<calcite-notice icon=exclamation-mark-triangle kind=danger open scale=s width=full><div slot=message>${this.messages?.relationshipNotFound}</div></calcite-notice>`}};B("arcgis-feature-relationship",x);return x},"applications/Components/stringUtils","applications/Components/featureUtils","intl","core/reactiveUtils","core/Collection","rest/support/RelationshipQuery","core/promiseUtils","widgets/Feature/FeatureViewModel",a)
3
+ v5.0.0-next.113 */
4
+ import{a as f}from"./K5FO4RN2.js";import a from"./42EMYFHF.js";import{a as M}from"./PKNW4SHC.js";import{b as E}from"./NG7W6LLR.js";import{L as Q,M as j,N as k,O as h,R,T as B,a as D,b as o}from"./RILBE66Z.js";import"./HFWJBUUX.js";export default $arcgis.t(([{templateHasKey:H,stripHTML:K},{isRelatableFeatureSupportedLayer:U,findRelatedLayer:X},{substitute:Y,formatNumber:T},{watch:F,on:ee},Z,W,{ignoreAbortErrors:N},te,{h:V}])=>{var re=D`:host{position:relative;flex:1 1 auto}.arcgis-feature-relationship__list{min-height:var(--calcite-spacing-xxxl)}.arcgis-feature-relationship__list-item--hidden{display:none}.arcgis-feature-relationship__feature-observer{position:relative;bottom:var(--calcite-spacing-xxl);z-index:2;text-align:center}.arcgis-feature-relationship__sticky-loading-container{display:flex;position:sticky;bottom:var(--calcite-spacing-sm);align-items:center;justify-content:center;z-index:2;margin:0;padding:0;height:var(--calcite-spacing-xxxl);pointer-events:none}`,ie=_=>{let e=[];if(_.formTemplate){let{description:t,title:r}=_.formTemplate;_.fields?.forEach(i=>{let s=r&&H(r,i.name),a=t&&H(t,i.name);(s||a)&&e.push(i.name)})}return e},O=100,se="arcgis-feature",c=`${se}-relationship`,u={base:c,listContainer:`${c}__list`,listItem:`${c}__list-item`,listItemHidden:`${c}__list-item--hidden`,listContainerQuerying:`${c}__list--querying`,featureObserver:`${c}__feature-observer`,stickySpinnerContainer:`${c}__sticky-loading-container`,loadingSpinnerContainer:`${c}__loading-container`},x=class extends k{constructor(){super(...arguments),this._increaseFeaturePage=()=>{let{state:e,showAllEnabled:t,relatedFeatures:r,featuresPerPage:i,featurePage:s}=this;e==="ready"&&t&&r.length>=i*s&&this.featurePage++},this._relatedFeatureIntersectionObserver=new IntersectionObserver(([e])=>{e?.isIntersecting&&this._increaseFeaturePage()},{root:window.document}),this._featurePage=1,this._cancelQuery=()=>{let{_queryAbortController:e}=this;e&&e.abort(),this._queryAbortController=null},this._cancelQueryFeatureCount=()=>{let{_queryFeatureCountAbortController:e}=this;e&&e.abort(),this._queryFeatureCountAbortController=null},this._cancelQueryPage=()=>{let{_queryPageAbortController:e}=this;e&&e.abort(),this._queryPageAbortController=null},this._queryController=async()=>{this._cancelQuery();let e=new AbortController;this._queryAbortController=e,await N(this._query()),this._queryAbortController===e&&(this._queryAbortController=null)},this._queryFeatureCountController=async()=>{this._loaded=!1,this._cancelQueryFeatureCount();let e=new AbortController;this._queryFeatureCountAbortController=e,await N(this._queryFeatureCount()),this._queryFeatureCountAbortController===e&&(this._queryFeatureCountAbortController=null),this._loaded=!0},this._queryPageController=async()=>{let e=new AbortController;this._queryPageAbortController=e,await N(this._queryPage()),this._queryPageAbortController===e&&(this._queryPageAbortController=null)},this._queryDebounced=f(this._queryController,O),this._queryFeatureCountDebounced=f(this._queryFeatureCountController,O),this._queryPageDebounced=f(this._queryPageController,O),this._query=async()=>{let{_queryAbortController:e,relatedFeatures:t}=this;!this.featureCount||this.relatedLayer?.type==="subtype-group"&&!this.activeCategory||(this.relatedFeatureViewModels.destroyAll(),this.featurePage=1,t.destroyAll(),t.addMany(this._sliceFeatures(await this._queryRelatedFeatures({signal:e?.signal}))))},this._addFlowItem=e=>{e&&this.flowItems?.push(e)},this._relatedFeatureIntersectionObserverNode=Q(),this.relatedFeatures=new Z,this._queryAbortController=null,this._queryPageAbortController=null,this._queryFeatureCountAbortController=null,this.featureCount=0,this._loaded=!1,this.relatedFeatureViewModels=new Z,this.autoDestroyDisabled=!1,this.featuresPerPage=10,this.flowType="feature-relationship",this.headingLevel=2,this.hideHeading=!1,this.hideDescription=!1,this.showAllEnabled=!1}static{this.properties={allCategories:16,_queryAbortController:16,_queryPageAbortController:16,_queryFeatureCountAbortController:16,featureCount:16,_loaded:16,canLoad:16,canQuery:16,displayShowAllButton:16,displayListItems:16,categories:16,itemDescriptionFieldName:16,relatedFeatureViewModels:16,state:16,autoDestroyDisabled:5,allItemsDescription:32,featurePage:9,featuresPerPage:9,flowItems:0,flowType:1,headingLevel:9,messages:0,heading:1,description:1,values:0,activeCategory:0,hideHeading:5,hideDescription:5,displayCount:9,graphic:0,layer:0,map:0,view:0,spatialReference:0,timeZone:1,orderByFields:0,relationshipId:9,showAllEnabled:5,label:3}}static{this.styles=re}get orderByFieldsFixedCasing(){let{orderByFields:e,relatedLayer:t}=this;return e&&t?.loaded?e.map(r=>{let i=r.clone();return i.field=V(r.field,t),i}):e??[]}get supportsCacheHint(){return!!this.layer?.capabilities?.queryRelated?.supportsCacheHint}get allCategoriesCount(){return this.allCategories?.length??0}get objectId(){return(this.objectIdField&&this.graphic?.attributes?.[this.objectIdField])??null}get objectIdField(){return this.layer?.objectIdField||null}get relatedLayer(){let{layer:e,map:t,relationship:r}=this;if(!e?.loaded||!t||!r)return null;let i=e.type==="subtype-sublayer"&&e.parent&&U(e.parent)?e.parent:e;return X(t,i,r)??null}get relatedLayerKeyField(){let{relatedLayer:e,relationshipId:t}=this;return e?.loaded&&t!=null?e.relationships?.find(r=>r.id===t)?.keyField:null}get relatedLayerKeyFields(){let{relatedLayer:e}=this;return e?.loaded?e.relationships?.map(t=>t.keyField).filter(t=>t!=null)??[]:[]}get relationship(){let{relationshipId:e,layer:t}=this;return e!=null&&t?.loaded?t.relationships?.find(({id:r})=>r===e)??null:null}get relationshipKey(){let{relationshipKeyField:e}=this;return(e&&this.graphic?.attributes?.[e])??null}get relationshipKeyField(){return this.relationship?.keyField||null}get canLoad(){return!!this.map&&this.relationshipId!=null&&typeof this.objectId=="number"}get canQuery(){let e=this.layer?.capabilities?.queryRelated;return!!this.relatedLayer&&!!this.relationship&&this.relationshipId!=null&&this.objectId!=null&&!!e?.supportsCount&&e?.supportsPagination}get displayShowAllButton(){let{showAllEnabled:e,featureCount:t,displayCount:r,state:i,allCategoriesCount:s}=this,a=!!s&&(s>r||r===0),n=!!t&&(t>r||r===0);return!e&&i==="ready"&&(a||n)}get displayListItems(){let{relatedFeatures:e,allCategoriesCount:t}=this;return this.displayShowAllButton||!!e.length||!!t}get categories(){let{allCategories:e}=this;return this.showAllEnabled?e:e?.slice(0,this.displayCount)??null}get itemDescriptionFieldName(){return this.orderByFieldsFixedCasing[0]?.field||null}get state(){let{_queryAbortController:e,_queryFeatureCountAbortController:t,_queryPageAbortController:r,canQuery:i,_loaded:s,canLoad:a}=this;return t||a&&!s?"loading":e||r?"querying":i?"ready":"disabled"}get allItemsDescription(){let{messages:e,featureCount:t,allCategories:r,allCategoriesCount:i}=this;return Y(e?.numberRecords??"",{number:T(r?i:t)})}get featurePage(){return this._featurePage}set featurePage(e){let{featuresPerPage:t,featureCount:r}=this,i=1,s=Math.ceil(r/t)||1;this._featurePage=Math.min(Math.max(e,i),s)}get heading(){let{activeCategory:e}=this;return this._heading??e?.name}set heading(e){this._heading=e}get displayCount(){return this._displayCount??3}set displayCount(e){this._displayCount=Math.min(Math.max(e??3,0),10)}async destroy(){await this.manager.destroy()}loaded(){this.manager.onLifecycle(()=>[F(()=>[this.displayCount,this.graphic,this.layer,this.layer?.loaded,this.map,this.orderByFields,this.relationshipId,this.featuresPerPage,this.showAllEnabled,this.canQuery,this.featureCount,this.activeCategory],()=>this._queryDebounced(),{initial:!0}),F(()=>[this.featurePage,this.showAllEnabled],()=>this._queryPageDebounced()),F(()=>[this.layer,this.relationshipId,this.objectId,this.canQuery,this.activeCategory],()=>this._queryFeatureCountDebounced(),{initial:!0}),F(()=>[this.state,this.showAllEnabled,this._relatedFeatureIntersectionObserverNode],()=>this._handleRelatedFeatureObserverChange()),ee(()=>this.relatedFeatures,"change",()=>this._setRelatedFeaturesViewModels())]),this.manager.onDestroy(()=>{this.relatedFeatureViewModels.destroyAll(),this.relatedFeatures.destroyAll(),this._cancelQuery(),this._cancelQueryFeatureCount(),this._cancelQueryPage(),this._unobserveRelatedFeatureObserver()})}async _queryFeatureCount(){let{layer:e,relatedLayer:t}=this;await e?.load(),await t?.load();let{_queryFeatureCountAbortController:r,activeCategory:i,canQuery:s,objectId:a,relatedLayerKeyField:n,relationshipId:l,relationshipKey:g,supportsCacheHint:v}=this;if(!s||!e||!t||a==null){this.featureCount=0,this.allCategories=void 0;return}if(t?.type==="subtype-group"&&!i){if(this.featureCount=0,this.relatedFeatureViewModels.destroyAll(),this.featurePage=1,this.relatedFeatures.destroyAll(),n&&g!=null){let{default:$}=await $arcgis.t(m=>m[0],"smartMapping/statistics/uniqueValues"),{uniqueValueInfos:A}=await $({layer:t,sqlWhere:`${n} = '${g}'`,field:t.subtypeField??void 0,signal:r?.signal}),q=A.map(({count:y,value:m})=>{let C=t.subtypes?.find(L=>L.code===m)?.name;return m!=null&&C?{count:y,value:m,name:C}:void 0}).filter(y=>y!=null);this.allCategories=q}return}let{historicMoment:b,gdbVersion:w}=e,I=new W({cacheHint:v,gdbVersion:w,historicMoment:b,relationshipId:l,returnGeometry:!1,objectIds:[a],where:this._getRelationshipWhereClause(t)}),p=await e.queryRelatedFeaturesCount(I,{signal:r?.signal});this.allCategories=void 0,this.featureCount=p[a]||0}_getRelationshipWhereClause(e){let{activeCategory:t}=this,r=e.createQuery(),i="subtypeField"in e?e.subtypeField:void 0,s=t&&i?`${i} = ${t.value}`:void 0,a=r.where;return a&&s?`(${a}) AND (${s})`:a??s}_sliceFeatures(e){let{showAllEnabled:t,displayCount:r}=this;return t?e:r?e.slice(0,r):[]}async _queryPage(){let{relatedFeatures:e,featurePage:t,showAllEnabled:r,_queryPageAbortController:i,featureCount:s}=this;!r||t<2||!s||this.relatedLayer?.type==="subtype-group"&&!this.activeCategory||e.addMany(await this._queryRelatedFeatures({signal:i?.signal}))}async _queryRelatedFeatures(e){let{displayCount:t,featureCount:r,featurePage:i,featuresPerPage:s,layer:a,orderByFieldsFixedCasing:n,relatedLayer:l,relatedLayerKeyFields:g,relationshipId:v,showAllEnabled:b,supportsCacheHint:w}=this,{canQuery:I,objectId:p}=this;if(!I||!a||!l||p==null)return[];let $=b?((i-1)*s+r)%r:0,A=b?s:t,q=l.objectIdField,y="subtypeField"in l?l.subtypeField:void 0,m=[...n.map(d=>d.field),...ie(l),...g,q,y].filter(d=>d!=null),C=n.map(d=>`${d.field} ${d.order}`),{historicMoment:L,gdbVersion:z}=a,G=new W({orderByFields:C,start:$,num:A,outFields:m,cacheHint:w,historicMoment:L,gdbVersion:z,relationshipId:v,returnGeometry:!1,objectIds:[p],where:this._getRelationshipWhereClause(l)}),P=(await a.queryRelatedFeatures(G,{signal:e?.signal}))[p]?.features||[];return l.type==="subtype-group"&&y?P.forEach(d=>{let J=d.attributes[y],S=l.findSublayerForSubtypeCode?.(J);d.sourceLayer=S,d.layer=S}):P.forEach(d=>{d.sourceLayer=l,d.layer=l}),P}_selectCategory(e){let{flowItems:t}=this;t&&this._addRelationshipFlowItem({showAllEnabled:!0,activeCategory:e})}_selectRecord(e){let{flowItems:t}=this;t&&this._addFlowItem(R(M(e,o`<arcgis-feature .flowItems=${t} .flowType=${this.flowType} .graphic=${e.graphic} .map=${this.map} show-relationship-content .spatialReference=${this.spatialReference} .timeZone=${this.timeZone} .view=${this.view}></arcgis-feature>`)))}_addRelationshipFlowItem({showAllEnabled:e=!1,activeCategory:t}){this._addFlowItem(R(M(t,o`<arcgis-feature-relationship .messages=${this.messages} .activeCategory=${t} .displayCount=${this.displayCount} .flowItems=${this.flowItems} .flowType=${this.flowType} .graphic=${this.graphic} .heading=${this.heading} hide-description .showAllEnabled=${e} hide-heading .layer=${this.layer} .map=${this.map} .orderByFields=${this.orderByFields} .relationshipId=${this.relationshipId} .spatialReference=${this.spatialReference} .values=${this.values} .view=${this.view}></arcgis-feature-relationship>`)))}_showAllRecords(){let{flowItems:e}=this;e&&this._addRelationshipFlowItem({showAllEnabled:!0})}_handleRelatedFeatureObserverChange(){this._unobserveRelatedFeatureObserver();let{state:e,showAllEnabled:t}=this;this._relatedFeatureIntersectionObserverNode.value&&e==="ready"&&t&&this._relatedFeatureIntersectionObserver.observe(this._relatedFeatureIntersectionObserverNode.value)}_unobserveRelatedFeatureObserver(){this._relatedFeatureIntersectionObserverNode.value&&this._relatedFeatureIntersectionObserver.unobserve(this._relatedFeatureIntersectionObserverNode.value)}_matchesFeature(e,t){let r=e?.graphic?.getObjectId(),i=t?.getObjectId();return r!=null&&i!=null&&r===i}_setRelatedFeaturesViewModels(){let{relatedFeatures:e,relatedFeatureViewModels:t,map:r,view:i,spatialReference:s,timeZone:a}=this;e?.filter(Boolean).forEach(n=>{t.some(l=>this._matchesFeature(l,n))||t.add(new te({abilities:{relationshipContent:!1},map:r,view:i,spatialReference:s,timeZone:a,graphic:n}))}),t.forEach(n=>{e?.find(l=>this._matchesFeature(n,l))||t.remove(n)})}render(){let{state:e}=this;return o`<div class=${h(u.base)}><arcgis-feature-element-info .heading=${this.heading} .headingLevel=${this.headingLevel} .description=${this.description}></arcgis-feature-element-info>${e==="loading"?this._renderLoading():e==="disabled"?this._renderRelationshipNotFound():this._renderRelatedFeatures()}</div>`}_renderStickyLoading(){return this.state==="querying"?o`<div class=${h(u.stickySpinnerContainer)}>${this._renderLoadingIcon()}</div>`:null}_renderLoadingIcon(){return o`<calcite-loader inline label></calcite-loader>`}_renderLoading(){return o`<div class=${h(u.loadingSpinnerContainer)}>${this._renderLoadingIcon()}</div>`}_renderShowAllIconNode(){return o`<calcite-icon icon=list scale=s slot=content-end></calcite-icon>`}_renderChevronIconNode(){return o`<calcite-icon flip-rtl icon=chevron-right scale=s slot=content-end></calcite-icon>`}_renderCategory(e){let{count:t,name:r}=e,i=T(t);return o`<calcite-list-item class=${h(u.listItem)} .disabled=${!t} .label=${r} @calciteListItemSelect=${()=>this._selectCategory(e)}><calcite-chip .label=${i} scale=s slot=content-end>${i}</calcite-chip>${this._renderChevronIconNode()}</calcite-list-item>`}_renderRelatedFeature(e){let{itemDescriptionFieldName:t,values:r}=this,{formattedAttributes:i,state:s,title:a}=e,n={...i?.global,...r},l=(t&&n?.[t])??"",g=s==="loading";return o`<calcite-list-item class=${h(E(u.listItem,{[u.listItemHidden]:g}))} .description=${K(l.toString())} .label=${K(a)} @calciteListItemSelect=${()=>this._selectRecord(e)}>${this._renderChevronIconNode()}</calcite-list-item>`}_renderShowAllListItem(){return this.displayShowAllButton?o`<calcite-list-item .description=${this.allItemsDescription} .label=${this.messages?.showAll} @calciteListItemSelect=${()=>this._showAllRecords()}>${this._renderShowAllIconNode()}</calcite-list-item>`:null}_renderNoRelatedFeaturesMessage(){return o`<calcite-notice icon=information kind=brand open scale=s width=full><div slot=message>${this.messages?.noRelatedFeatures}</div></calcite-notice>`}_renderFeatureObserver(){return o`<div class=${h(u.featureObserver)} ${j(this._relatedFeatureIntersectionObserverNode)}></div>`}_renderList(){let{relatedFeatureViewModels:e,categories:t}=this;return o`<calcite-list display-mode=flat .label=${this.messages?.relatedFeaturesList??""}>${t?.map(r=>this._renderCategory(r))??e.toArray().map(r=>this._renderRelatedFeature(r))}${this._renderShowAllListItem()}</calcite-list>`}_renderRelatedFeatures(){let{displayListItems:e}=this,{state:t}=this;return o`<div class=${h(E(u.listContainer,{[u.listContainerQuerying]:t==="querying"}))}>${e?this._renderList():t==="ready"?this._renderNoRelatedFeaturesMessage():null}${this._renderStickyLoading()}${this._renderFeatureObserver()}</div>`}_renderRelationshipNotFound(){return o`<calcite-notice icon=exclamation-mark-triangle kind=danger open scale=s width=full><div slot=message>${this.messages?.relationshipNotFound}</div></calcite-notice>`}};B("arcgis-feature-relationship",x);return x},"applications/Components/stringUtils","applications/Components/featureUtils","intl","core/reactiveUtils","core/Collection","rest/support/RelationshipQuery","core/promiseUtils","widgets/Feature/FeatureViewModel",a)